From 97523cc5c591b0751df130ca32b5378bbf1e5346 Mon Sep 17 00:00:00 2001 From: VRCCat Date: Sun, 16 Jan 2022 18:58:57 +0000 Subject: [PATCH 001/102] Upgrade Python SDK to spec 1.6.6 --- .openapi-generator/FILES | 2 + docs/InviteApi.md | 21 +- docs/InviteRequest.md | 1 + docs/RequestInviteRequest.md | 12 + package-lock.json | 110 ++++---- package.json | 2 +- setup.py | 4 +- vrchatapi/__init__.py | 2 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/invite_api.py | 14 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 +- vrchatapi/exceptions.py | 2 +- vrchatapi/model/add_favorite_request.py | 2 +- vrchatapi/model/api_config.py | 2 +- vrchatapi/model/api_event_config.py | 2 +- vrchatapi/model/api_health.py | 2 +- vrchatapi/model/avatar.py | 2 +- vrchatapi/model/avatar_id.py | 2 +- .../model/avatar_unity_package_url_object.py | 2 +- vrchatapi/model/create_avatar_request.py | 2 +- vrchatapi/model/create_file_request.py | 2 +- .../model/create_file_version_request.py | 2 +- vrchatapi/model/create_world_request.py | 2 +- vrchatapi/model/current_user.py | 2 +- vrchatapi/model/deployment_group.py | 2 +- vrchatapi/model/developer_type.py | 2 +- vrchatapi/model/download_url_list.py | 2 +- vrchatapi/model/dynamic_content_row.py | 2 +- vrchatapi/model/error.py | 2 +- vrchatapi/model/favorite.py | 2 +- vrchatapi/model/favorite_group.py | 2 +- vrchatapi/model/favorite_group_id.py | 2 +- vrchatapi/model/favorite_group_visibility.py | 2 +- vrchatapi/model/favorite_id.py | 2 +- vrchatapi/model/favorite_type.py | 2 +- vrchatapi/model/file.py | 2 +- vrchatapi/model/file_data.py | 2 +- vrchatapi/model/file_id.py | 2 +- vrchatapi/model/file_status.py | 2 +- vrchatapi/model/file_upload_url.py | 2 +- vrchatapi/model/file_version.py | 2 +- vrchatapi/model/file_version_upload_status.py | 2 +- .../model/finish_file_data_upload_request.py | 2 +- vrchatapi/model/friend_status.py | 2 +- vrchatapi/model/info_push.py | 2 +- vrchatapi/model/info_push_data.py | 2 +- vrchatapi/model/info_push_data_article.py | 2 +- .../model/info_push_data_article_content.py | 2 +- vrchatapi/model/info_push_data_clickable.py | 2 +- vrchatapi/model/instance.py | 2 +- vrchatapi/model/instance_id.py | 2 +- vrchatapi/model/instance_platforms.py | 2 +- vrchatapi/model/instance_type.py | 2 +- vrchatapi/model/invite_message.py | 2 +- vrchatapi/model/invite_message_id.py | 2 +- vrchatapi/model/invite_message_type.py | 2 +- vrchatapi/model/invite_request.py | 10 +- vrchatapi/model/invite_response.py | 2 +- vrchatapi/model/license.py | 2 +- vrchatapi/model/license_action.py | 2 +- vrchatapi/model/license_group.py | 2 +- vrchatapi/model/license_group_id.py | 2 +- vrchatapi/model/license_type.py | 2 +- vrchatapi/model/limited_unity_package.py | 2 +- vrchatapi/model/limited_user.py | 2 +- vrchatapi/model/limited_world.py | 2 +- vrchatapi/model/mime_type.py | 2 +- vrchatapi/model/moderate_user_request.py | 2 +- vrchatapi/model/notification.py | 2 +- vrchatapi/model/notification_type.py | 2 +- vrchatapi/model/past_display_name.py | 2 +- vrchatapi/model/permission.py | 2 +- vrchatapi/model/permission_id.py | 2 +- vrchatapi/model/player_moderation.py | 2 +- vrchatapi/model/player_moderation_id.py | 2 +- vrchatapi/model/player_moderation_type.py | 2 +- vrchatapi/model/public_announcement.py | 2 +- vrchatapi/model/region.py | 2 +- vrchatapi/model/release_status.py | 2 +- vrchatapi/model/request_invite_request.py | 259 ++++++++++++++++++ vrchatapi/model/response.py | 2 +- vrchatapi/model/subscription.py | 2 +- vrchatapi/model/subscription_period.py | 2 +- vrchatapi/model/success.py | 2 +- vrchatapi/model/tag.py | 2 +- vrchatapi/model/transaction.py | 2 +- vrchatapi/model/transaction_agreement.py | 2 +- vrchatapi/model/transaction_id.py | 2 +- vrchatapi/model/transaction_status.py | 2 +- vrchatapi/model/transaction_steam_info.py | 2 +- .../model/transaction_steam_wallet_info.py | 2 +- vrchatapi/model/two_factor_auth_code.py | 2 +- vrchatapi/model/unity_package.py | 2 +- vrchatapi/model/unity_package_id.py | 2 +- vrchatapi/model/update_avatar_request.py | 2 +- .../model/update_favorite_group_request.py | 2 +- .../model/update_invite_message_request.py | 2 +- vrchatapi/model/update_user_request.py | 2 +- vrchatapi/model/update_world_request.py | 2 +- vrchatapi/model/user.py | 2 +- vrchatapi/model/user_exists.py | 2 +- vrchatapi/model/user_state.py | 2 +- vrchatapi/model/user_status.py | 2 +- vrchatapi/model/user_subscription.py | 2 +- vrchatapi/model/verify2_fa_result.py | 2 +- vrchatapi/model/verify_auth_token_result.py | 2 +- vrchatapi/model/world.py | 2 +- vrchatapi/model/world_id.py | 2 +- vrchatapi/model/world_metadata.py | 2 +- vrchatapi/model/world_publish_status.py | 2 +- vrchatapi/model_utils.py | 2 +- vrchatapi/models/__init__.py | 1 + vrchatapi/rest.py | 2 +- 126 files changed, 485 insertions(+), 183 deletions(-) create mode 100644 docs/RequestInviteRequest.md create mode 100644 vrchatapi/model/request_invite_request.py diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 49696aa3..f568eb74 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -77,6 +77,7 @@ docs/PlayermoderationApi.md docs/PublicAnnouncement.md docs/Region.md docs/ReleaseStatus.md +docs/RequestInviteRequest.md docs/Response.md docs/Subscription.md docs/SubscriptionPeriod.md @@ -204,6 +205,7 @@ vrchatapi/model/player_moderation_type.py vrchatapi/model/public_announcement.py vrchatapi/model/region.py vrchatapi/model/release_status.py +vrchatapi/model/request_invite_request.py vrchatapi/model/response.py vrchatapi/model/subscription.py vrchatapi/model/subscription_period.py diff --git a/docs/InviteApi.md b/docs/InviteApi.md index b8f5b9c1..f9a61884 100644 --- a/docs/InviteApi.md +++ b/docs/InviteApi.md @@ -246,6 +246,7 @@ with vrchatapi.ApiClient(configuration) as api_client: user_id = "userId_example" # str | invite_request = InviteRequest( instance_id=InstanceID("wrld_ba913a96-fac4-4048-a062-9aa5db092812:12345~hidden(usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469)~region(eu)~nonce(27e8414a-59a0-4f3d-af1f-f27557eb49a2)"), + message_slot=0, ) # InviteRequest | Slot number of the Invite Message to use when inviting a user. (optional) # example passing only required values which don't have defaults set @@ -315,6 +316,7 @@ import vrchatapi from vrchatapi.api import invite_api from vrchatapi.model.notification import Notification from vrchatapi.model.error import Error +from vrchatapi.model.request_invite_request import RequestInviteRequest from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -344,6 +346,9 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = invite_api.InviteApi(api_client) user_id = "userId_example" # str | + request_invite_request = RequestInviteRequest( + message_slot=0, + ) # RequestInviteRequest | Slot number of the Request Message to use when request an invite. (optional) # example passing only required values which don't have defaults set try: @@ -352,6 +357,15 @@ with vrchatapi.ApiClient(configuration) as api_client: pprint(api_response) except vrchatapi.ApiException as e: print("Exception when calling InviteApi->request_invite: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Request Invite + api_response = api_instance.request_invite(user_id, request_invite_request=request_invite_request) + pprint(api_response) + except vrchatapi.ApiException as e: + print("Exception when calling InviteApi->request_invite: %s\n" % e) ``` @@ -360,6 +374,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **user_id** | **str**| | + **request_invite_request** | [**RequestInviteRequest**](RequestInviteRequest.md)| Slot number of the Request Message to use when request an invite. | [optional] ### Return type @@ -371,7 +386,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json @@ -528,7 +543,7 @@ with vrchatapi.ApiClient(configuration) as api_client: notification_id = "notificationId_example" # str | invite_response = InviteResponse( response_slot=0, - ) # InviteResponse | Instance ID when inviting a user. (optional) + ) # InviteResponse | Slot number of the Response Message to use when responding to a user. (optional) # example passing only required values which don't have defaults set try: @@ -554,7 +569,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **notification_id** | **str**| | - **invite_response** | [**InviteResponse**](InviteResponse.md)| Instance ID when inviting a user. | [optional] + **invite_response** | [**InviteResponse**](InviteResponse.md)| Slot number of the Response Message to use when responding to a user. | [optional] ### Return type diff --git a/docs/InviteRequest.md b/docs/InviteRequest.md index d7694756..fa40af41 100644 --- a/docs/InviteRequest.md +++ b/docs/InviteRequest.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **instance_id** | [**InstanceID**](InstanceID.md) | | +**message_slot** | **int** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/RequestInviteRequest.md b/docs/RequestInviteRequest.md new file mode 100644 index 00000000..f36a2399 --- /dev/null +++ b/docs/RequestInviteRequest.md @@ -0,0 +1,12 @@ +# RequestInviteRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**message_slot** | **int** | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/package-lock.json b/package-lock.json index 18e35ecf..d30c3f3d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,13 +5,13 @@ "packages": { "": { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.4.21" + "@openapitools/openapi-generator-cli": "^2.4.25" } }, "node_modules/@nestjs/common": { - "version": "8.2.4", - "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-8.2.4.tgz", - "integrity": "sha512-zb6Y//Rd7tRsMsY2qDvX7qk/msr6sBid7V9YNvdePzGNYfMOvtwgNoqtHgbq2F6V4kCtMO7slmmM4/zptSghiQ==", + "version": "8.2.5", + "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-8.2.5.tgz", + "integrity": "sha512-8VOZmHcCyhBtfvxehDfudsCrNghUoqDpZA5W8d/PUhMgz4Y1eT0M2ENBIuxr3C3j1vLypFOo30La2ymfQlOC8Q==", "dependencies": { "axios": "0.24.0", "iterare": "1.2.1", @@ -42,9 +42,9 @@ } }, "node_modules/@nestjs/core": { - "version": "8.2.4", - "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-8.2.4.tgz", - "integrity": "sha512-CWyS5Rj5tUxwtTGKkGei+ii6CvkGNhuo5hbKGBkCK3McfAMwpCq2pYDjSEFAqn6R2ylL4H3U5H9WU6OWJD1cVw==", + "version": "8.2.5", + "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-8.2.5.tgz", + "integrity": "sha512-R0vp0VlAQFP7qBTZMzMspwOCO6MpsMJON/MsrfHVGgZS5Sd5DInfboWhe2COPnAr+VAT0o4FAKObW08Pdb5hMg==", "hasInstallScript": true, "dependencies": { "@nuxtjs/opencollective": "0.3.2", @@ -97,13 +97,13 @@ } }, "node_modules/@openapitools/openapi-generator-cli": { - "version": "2.4.21", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.4.21.tgz", - "integrity": "sha512-YMCenkvusNFYGMCHnl4pAhxMjdn/w5R0bz1ayI6Pi+ASgnRF2IzPdVdOaPc9Q2fGJ52c2c4B2YdaftIzwecMTw==", + "version": "2.4.25", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.4.25.tgz", + "integrity": "sha512-n2RExPLkscjgjryEW+SbhJNs22LHsCLIlBtD5FaZsW84tTcii2YcbyHOIfz9xAoNKbpshk2hgxjtnXqTK92mGg==", "hasInstallScript": true, "dependencies": { - "@nestjs/common": "8.2.4", - "@nestjs/core": "8.2.4", + "@nestjs/common": "8.2.5", + "@nestjs/core": "8.2.5", "@nuxtjs/opencollective": "0.3.2", "chalk": "4.1.2", "commander": "8.3.0", @@ -115,7 +115,7 @@ "inquirer": "8.2.0", "lodash": "4.17.21", "reflect-metadata": "0.1.13", - "rxjs": "7.4.0", + "rxjs": "7.5.2", "tslib": "2.0.3" }, "bin": { @@ -495,9 +495,9 @@ } }, "node_modules/follow-redirects": { - "version": "1.14.6", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.6.tgz", - "integrity": "sha512-fhUl5EwSJbbl8AR+uYL2KQDxLkdSjZGR36xy46AO7cOMTrCMON6Sa28FmAnC2tRTDbd/Uuzz3aJBv7EBN7JH8A==", + "version": "1.14.7", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.7.tgz", + "integrity": "sha512-+hbxoLbFMbRKDwohX8GkTataGqO6Jb7jGwpAlwgy2bIz25XtRm7KEzJM76R1WiNT5SwZkX4Y75SwBolkpmE7iQ==", "funding": [ { "type": "individual", @@ -730,14 +730,22 @@ "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==" }, "node_modules/node-fetch": { - "version": "2.6.6", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.6.tgz", - "integrity": "sha512-Z8/6vRlTUChSdIgMa51jxQ4lrw/Jy5SOW10ObaA47/RElsAN2c5Pn8bTgFGWn/ibwzXTE8qwr1Yzx28vsecXEA==", + "version": "2.6.7", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", + "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", "dependencies": { "whatwg-url": "^5.0.0" }, "engines": { "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } } }, "node_modules/object-hash": { @@ -860,18 +868,13 @@ } }, "node_modules/rxjs": { - "version": "7.4.0", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.4.0.tgz", - "integrity": "sha512-7SQDi7xeTMCJpqViXh8gL/lebcwlp3d831F05+9B44A4B0WfsEwUQHR64gsH1kvJ+Ep/J9K2+n1hVl1CsGN23w==", + "version": "7.5.2", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.5.2.tgz", + "integrity": "sha512-PwDt186XaL3QN5qXj/H9DGyHhP3/RYYgZZwqBv9Tv8rsAaiwFH1IsJJlcgD37J7UW5a6O67qX0KWKS3/pu0m4w==", "dependencies": { - "tslib": "~2.1.0" + "tslib": "^2.1.0" } }, - "node_modules/rxjs/node_modules/tslib": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz", - "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==" - }, "node_modules/safe-buffer": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", @@ -1094,9 +1097,9 @@ }, "dependencies": { "@nestjs/common": { - "version": "8.2.4", - "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-8.2.4.tgz", - "integrity": "sha512-zb6Y//Rd7tRsMsY2qDvX7qk/msr6sBid7V9YNvdePzGNYfMOvtwgNoqtHgbq2F6V4kCtMO7slmmM4/zptSghiQ==", + "version": "8.2.5", + "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-8.2.5.tgz", + "integrity": "sha512-8VOZmHcCyhBtfvxehDfudsCrNghUoqDpZA5W8d/PUhMgz4Y1eT0M2ENBIuxr3C3j1vLypFOo30La2ymfQlOC8Q==", "requires": { "axios": "0.24.0", "iterare": "1.2.1", @@ -1105,9 +1108,9 @@ } }, "@nestjs/core": { - "version": "8.2.4", - "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-8.2.4.tgz", - "integrity": "sha512-CWyS5Rj5tUxwtTGKkGei+ii6CvkGNhuo5hbKGBkCK3McfAMwpCq2pYDjSEFAqn6R2ylL4H3U5H9WU6OWJD1cVw==", + "version": "8.2.5", + "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-8.2.5.tgz", + "integrity": "sha512-R0vp0VlAQFP7qBTZMzMspwOCO6MpsMJON/MsrfHVGgZS5Sd5DInfboWhe2COPnAr+VAT0o4FAKObW08Pdb5hMg==", "requires": { "@nuxtjs/opencollective": "0.3.2", "fast-safe-stringify": "2.1.1", @@ -1129,12 +1132,12 @@ } }, "@openapitools/openapi-generator-cli": { - "version": "2.4.21", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.4.21.tgz", - "integrity": "sha512-YMCenkvusNFYGMCHnl4pAhxMjdn/w5R0bz1ayI6Pi+ASgnRF2IzPdVdOaPc9Q2fGJ52c2c4B2YdaftIzwecMTw==", + "version": "2.4.25", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.4.25.tgz", + "integrity": "sha512-n2RExPLkscjgjryEW+SbhJNs22LHsCLIlBtD5FaZsW84tTcii2YcbyHOIfz9xAoNKbpshk2hgxjtnXqTK92mGg==", "requires": { - "@nestjs/common": "8.2.4", - "@nestjs/core": "8.2.4", + "@nestjs/common": "8.2.5", + "@nestjs/core": "8.2.5", "@nuxtjs/opencollective": "0.3.2", "chalk": "4.1.2", "commander": "8.3.0", @@ -1146,7 +1149,7 @@ "inquirer": "8.2.0", "lodash": "4.17.21", "reflect-metadata": "0.1.13", - "rxjs": "7.4.0", + "rxjs": "7.5.2", "tslib": "2.0.3" }, "dependencies": { @@ -1410,9 +1413,9 @@ } }, "follow-redirects": { - "version": "1.14.6", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.6.tgz", - "integrity": "sha512-fhUl5EwSJbbl8AR+uYL2KQDxLkdSjZGR36xy46AO7cOMTrCMON6Sa28FmAnC2tRTDbd/Uuzz3aJBv7EBN7JH8A==" + "version": "1.14.7", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.7.tgz", + "integrity": "sha512-+hbxoLbFMbRKDwohX8GkTataGqO6Jb7jGwpAlwgy2bIz25XtRm7KEzJM76R1WiNT5SwZkX4Y75SwBolkpmE7iQ==" }, "fs-extra": { "version": "10.0.0", @@ -1567,9 +1570,9 @@ "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==" }, "node-fetch": { - "version": "2.6.6", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.6.tgz", - "integrity": "sha512-Z8/6vRlTUChSdIgMa51jxQ4lrw/Jy5SOW10ObaA47/RElsAN2c5Pn8bTgFGWn/ibwzXTE8qwr1Yzx28vsecXEA==", + "version": "2.6.7", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", + "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", "requires": { "whatwg-url": "^5.0.0" } @@ -1661,18 +1664,11 @@ "integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==" }, "rxjs": { - "version": "7.4.0", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.4.0.tgz", - "integrity": "sha512-7SQDi7xeTMCJpqViXh8gL/lebcwlp3d831F05+9B44A4B0WfsEwUQHR64gsH1kvJ+Ep/J9K2+n1hVl1CsGN23w==", + "version": "7.5.2", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.5.2.tgz", + "integrity": "sha512-PwDt186XaL3QN5qXj/H9DGyHhP3/RYYgZZwqBv9Tv8rsAaiwFH1IsJJlcgD37J7UW5a6O67qX0KWKS3/pu0m4w==", "requires": { - "tslib": "~2.1.0" - }, - "dependencies": { - "tslib": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz", - "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==" - } + "tslib": "^2.1.0" } }, "safe-buffer": { diff --git a/package.json b/package.json index ad3cad8e..79e12e89 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.4.21" + "@openapitools/openapi-generator-cli": "^2.4.25" } } diff --git a/setup.py b/setup.py index a6b58c9a..9583fe5b 100644 --- a/setup.py +++ b/setup.py @@ -64,7 +64,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ @@ -73,7 +73,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.6.5" +VERSION = "1.6.6" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index b1daf64a..d204f473 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index 3f951572..9e5d8437 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index 8070d1bc..fe8686e1 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 59b4f047..04a5b1a6 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index 3e3ae936..c01907a1 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index d788e2d5..b24e9a53 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index 46b1bb56..1c7e22c3 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 13994095..2c3a4b68 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index a786a418..8ec95439 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ @@ -26,6 +26,7 @@ from vrchatapi.model.invite_request import InviteRequest from vrchatapi.model.invite_response import InviteResponse from vrchatapi.model.notification import Notification +from vrchatapi.model.request_invite_request import RequestInviteRequest from vrchatapi.model.update_invite_message_request import UpdateInviteMessageRequest @@ -257,6 +258,7 @@ def __init__(self, api_client=None): params_map={ 'all': [ 'user_id', + 'request_invite_request', ], 'required': [ 'user_id', @@ -276,12 +278,15 @@ def __init__(self, api_client=None): 'openapi_types': { 'user_id': (str,), + 'request_invite_request': + (RequestInviteRequest,), }, 'attribute_map': { 'user_id': 'userId', }, 'location_map': { 'user_id': 'path', + 'request_invite_request': 'body', }, 'collection_format_map': { } @@ -290,7 +295,9 @@ def __init__(self, api_client=None): 'accept': [ 'application/json' ], - 'content_type': [], + 'content_type': [ + 'application/json' + ] }, api_client=api_client ) @@ -744,6 +751,7 @@ def request_invite( user_id (str): Keyword Args: + request_invite_request (RequestInviteRequest): Slot number of the Request Message to use when request an invite.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -884,7 +892,7 @@ def respond_invite( notification_id (str): Keyword Args: - invite_response (InviteResponse): Instance ID when inviting a user.. [optional] + invite_response (InviteResponse): Slot number of the Response Message to use when responding to a user.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index 85523adc..d0ec0fb3 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index 1da2b619..de66a449 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index b7f86460..8e2e7f23 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index 0a3f2e9a..303a8bfe 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index 97318891..77d71e20 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 84312ed1..e17a3a7e 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index d6cf585b..de6d99e3 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index acc5dac8..872d9ec9 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ @@ -455,7 +455,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.6.5\n"\ + "Version of the API: 1.6.6\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index 5d6564e2..76331144 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/add_favorite_request.py b/vrchatapi/model/add_favorite_request.py index d14681f2..ed28dfd8 100644 --- a/vrchatapi/model/add_favorite_request.py +++ b/vrchatapi/model/add_favorite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_config.py b/vrchatapi/model/api_config.py index 3cc7c86d..4c928686 100644 --- a/vrchatapi/model/api_config.py +++ b/vrchatapi/model/api_config.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_event_config.py b/vrchatapi/model/api_event_config.py index 8e961646..95520212 100644 --- a/vrchatapi/model/api_event_config.py +++ b/vrchatapi/model/api_event_config.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_health.py b/vrchatapi/model/api_health.py index 70b56f7c..ba64d26c 100644 --- a/vrchatapi/model/api_health.py +++ b/vrchatapi/model/api_health.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar.py b/vrchatapi/model/avatar.py index d703f17e..cfc9bdc6 100644 --- a/vrchatapi/model/avatar.py +++ b/vrchatapi/model/avatar.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar_id.py b/vrchatapi/model/avatar_id.py index 47be7e28..cedafdb0 100644 --- a/vrchatapi/model/avatar_id.py +++ b/vrchatapi/model/avatar_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar_unity_package_url_object.py b/vrchatapi/model/avatar_unity_package_url_object.py index c41e2418..9353ad45 100644 --- a/vrchatapi/model/avatar_unity_package_url_object.py +++ b/vrchatapi/model/avatar_unity_package_url_object.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_avatar_request.py b/vrchatapi/model/create_avatar_request.py index b8c3d46e..e9edab76 100644 --- a/vrchatapi/model/create_avatar_request.py +++ b/vrchatapi/model/create_avatar_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_file_request.py b/vrchatapi/model/create_file_request.py index f9727347..7561007c 100644 --- a/vrchatapi/model/create_file_request.py +++ b/vrchatapi/model/create_file_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_file_version_request.py b/vrchatapi/model/create_file_version_request.py index f0a38fb0..4b06d9d1 100644 --- a/vrchatapi/model/create_file_version_request.py +++ b/vrchatapi/model/create_file_version_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_world_request.py b/vrchatapi/model/create_world_request.py index fc04daa1..5941c138 100644 --- a/vrchatapi/model/create_world_request.py +++ b/vrchatapi/model/create_world_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/current_user.py b/vrchatapi/model/current_user.py index b4d6736f..10158ec3 100644 --- a/vrchatapi/model/current_user.py +++ b/vrchatapi/model/current_user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/deployment_group.py b/vrchatapi/model/deployment_group.py index 482f872c..31576ff4 100644 --- a/vrchatapi/model/deployment_group.py +++ b/vrchatapi/model/deployment_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/developer_type.py b/vrchatapi/model/developer_type.py index acd01293..1139ac10 100644 --- a/vrchatapi/model/developer_type.py +++ b/vrchatapi/model/developer_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/download_url_list.py b/vrchatapi/model/download_url_list.py index 9be990c3..b34f4e49 100644 --- a/vrchatapi/model/download_url_list.py +++ b/vrchatapi/model/download_url_list.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/dynamic_content_row.py b/vrchatapi/model/dynamic_content_row.py index aa897136..a8b29a99 100644 --- a/vrchatapi/model/dynamic_content_row.py +++ b/vrchatapi/model/dynamic_content_row.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/error.py b/vrchatapi/model/error.py index b98eaf99..9f4d6ed2 100644 --- a/vrchatapi/model/error.py +++ b/vrchatapi/model/error.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite.py b/vrchatapi/model/favorite.py index 6f304fcb..1d72a1fe 100644 --- a/vrchatapi/model/favorite.py +++ b/vrchatapi/model/favorite.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group.py b/vrchatapi/model/favorite_group.py index f374ed55..0f67de7a 100644 --- a/vrchatapi/model/favorite_group.py +++ b/vrchatapi/model/favorite_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group_id.py b/vrchatapi/model/favorite_group_id.py index f7ad7950..d34553d2 100644 --- a/vrchatapi/model/favorite_group_id.py +++ b/vrchatapi/model/favorite_group_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group_visibility.py b/vrchatapi/model/favorite_group_visibility.py index dee1be84..2bfc1567 100644 --- a/vrchatapi/model/favorite_group_visibility.py +++ b/vrchatapi/model/favorite_group_visibility.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_id.py b/vrchatapi/model/favorite_id.py index 2f80e37b..3ce2ed9c 100644 --- a/vrchatapi/model/favorite_id.py +++ b/vrchatapi/model/favorite_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_type.py b/vrchatapi/model/favorite_type.py index 57e65d1c..7a309ca2 100644 --- a/vrchatapi/model/favorite_type.py +++ b/vrchatapi/model/favorite_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file.py b/vrchatapi/model/file.py index 6deff6cb..aecca8b5 100644 --- a/vrchatapi/model/file.py +++ b/vrchatapi/model/file.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_data.py b/vrchatapi/model/file_data.py index 71c6d3a4..36911767 100644 --- a/vrchatapi/model/file_data.py +++ b/vrchatapi/model/file_data.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_id.py b/vrchatapi/model/file_id.py index dd280890..ca5506e8 100644 --- a/vrchatapi/model/file_id.py +++ b/vrchatapi/model/file_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_status.py b/vrchatapi/model/file_status.py index 4a91ba46..0237e05f 100644 --- a/vrchatapi/model/file_status.py +++ b/vrchatapi/model/file_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_upload_url.py b/vrchatapi/model/file_upload_url.py index 84caec61..216d3a66 100644 --- a/vrchatapi/model/file_upload_url.py +++ b/vrchatapi/model/file_upload_url.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_version.py b/vrchatapi/model/file_version.py index e97f8fdf..8f0f1c09 100644 --- a/vrchatapi/model/file_version.py +++ b/vrchatapi/model/file_version.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_version_upload_status.py b/vrchatapi/model/file_version_upload_status.py index 5c4663cd..c85a24c7 100644 --- a/vrchatapi/model/file_version_upload_status.py +++ b/vrchatapi/model/file_version_upload_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/finish_file_data_upload_request.py b/vrchatapi/model/finish_file_data_upload_request.py index c4ffb6f6..45c04e6d 100644 --- a/vrchatapi/model/finish_file_data_upload_request.py +++ b/vrchatapi/model/finish_file_data_upload_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/friend_status.py b/vrchatapi/model/friend_status.py index 6ed499bc..b772c071 100644 --- a/vrchatapi/model/friend_status.py +++ b/vrchatapi/model/friend_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push.py b/vrchatapi/model/info_push.py index 9edfe7ea..c5891be4 100644 --- a/vrchatapi/model/info_push.py +++ b/vrchatapi/model/info_push.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data.py b/vrchatapi/model/info_push_data.py index 12366576..fac5eeb5 100644 --- a/vrchatapi/model/info_push_data.py +++ b/vrchatapi/model/info_push_data.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_article.py b/vrchatapi/model/info_push_data_article.py index 4ea0aaa4..dcba0cdb 100644 --- a/vrchatapi/model/info_push_data_article.py +++ b/vrchatapi/model/info_push_data_article.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_article_content.py b/vrchatapi/model/info_push_data_article_content.py index ad708aba..7f497945 100644 --- a/vrchatapi/model/info_push_data_article_content.py +++ b/vrchatapi/model/info_push_data_article_content.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_clickable.py b/vrchatapi/model/info_push_data_clickable.py index 9365650c..f46cc412 100644 --- a/vrchatapi/model/info_push_data_clickable.py +++ b/vrchatapi/model/info_push_data_clickable.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance.py b/vrchatapi/model/instance.py index 5c5fe5cc..b4ee2148 100644 --- a/vrchatapi/model/instance.py +++ b/vrchatapi/model/instance.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_id.py b/vrchatapi/model/instance_id.py index 860902b0..223048a3 100644 --- a/vrchatapi/model/instance_id.py +++ b/vrchatapi/model/instance_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_platforms.py b/vrchatapi/model/instance_platforms.py index ef541032..77562fc7 100644 --- a/vrchatapi/model/instance_platforms.py +++ b/vrchatapi/model/instance_platforms.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_type.py b/vrchatapi/model/instance_type.py index 4c19963d..364d7f19 100644 --- a/vrchatapi/model/instance_type.py +++ b/vrchatapi/model/instance_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message.py b/vrchatapi/model/invite_message.py index 984ac913..c4a1cb25 100644 --- a/vrchatapi/model/invite_message.py +++ b/vrchatapi/model/invite_message.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message_id.py b/vrchatapi/model/invite_message_id.py index 163d35ae..67ee5cc5 100644 --- a/vrchatapi/model/invite_message_id.py +++ b/vrchatapi/model/invite_message_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message_type.py b/vrchatapi/model/invite_message_type.py index 75fea370..b118b141 100644 --- a/vrchatapi/model/invite_message_type.py +++ b/vrchatapi/model/invite_message_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_request.py b/vrchatapi/model/invite_request.py index ae06cd34..8cbc6ffe 100644 --- a/vrchatapi/model/invite_request.py +++ b/vrchatapi/model/invite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ @@ -62,6 +62,10 @@ class InviteRequest(ModelNormal): } validations = { + ('message_slot',): { + 'inclusive_maximum': 11, + 'inclusive_minimum': 0, + }, } @cached_property @@ -88,6 +92,7 @@ def openapi_types(): lazy_import() return { 'instance_id': (InstanceID,), # noqa: E501 + 'message_slot': (int,), # noqa: E501 } @cached_property @@ -97,6 +102,7 @@ def discriminator(): attribute_map = { 'instance_id': 'instanceId', # noqa: E501 + 'message_slot': 'messageSlot', # noqa: E501 } read_only_vars = { @@ -143,6 +149,7 @@ def _from_openapi_data(cls, instance_id, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + message_slot (int): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -228,6 +235,7 @@ def __init__(self, instance_id, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + message_slot (int): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/vrchatapi/model/invite_response.py b/vrchatapi/model/invite_response.py index 450cc447..0da067a8 100644 --- a/vrchatapi/model/invite_response.py +++ b/vrchatapi/model/invite_response.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license.py b/vrchatapi/model/license.py index b71f164b..547f91e3 100644 --- a/vrchatapi/model/license.py +++ b/vrchatapi/model/license.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_action.py b/vrchatapi/model/license_action.py index 7acafc4a..c8eca659 100644 --- a/vrchatapi/model/license_action.py +++ b/vrchatapi/model/license_action.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_group.py b/vrchatapi/model/license_group.py index d83872fe..1aae6ec9 100644 --- a/vrchatapi/model/license_group.py +++ b/vrchatapi/model/license_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_group_id.py b/vrchatapi/model/license_group_id.py index ca1474a7..716b2b47 100644 --- a/vrchatapi/model/license_group_id.py +++ b/vrchatapi/model/license_group_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_type.py b/vrchatapi/model/license_type.py index 281de369..55a5424f 100644 --- a/vrchatapi/model/license_type.py +++ b/vrchatapi/model/license_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_unity_package.py b/vrchatapi/model/limited_unity_package.py index 620104b8..8ce4825c 100644 --- a/vrchatapi/model/limited_unity_package.py +++ b/vrchatapi/model/limited_unity_package.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_user.py b/vrchatapi/model/limited_user.py index 21199ad2..4adab8df 100644 --- a/vrchatapi/model/limited_user.py +++ b/vrchatapi/model/limited_user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_world.py b/vrchatapi/model/limited_world.py index 0afb6203..344b70d1 100644 --- a/vrchatapi/model/limited_world.py +++ b/vrchatapi/model/limited_world.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/mime_type.py b/vrchatapi/model/mime_type.py index c3709f6e..8afe417b 100644 --- a/vrchatapi/model/mime_type.py +++ b/vrchatapi/model/mime_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/moderate_user_request.py b/vrchatapi/model/moderate_user_request.py index d6bd2691..56e9fde4 100644 --- a/vrchatapi/model/moderate_user_request.py +++ b/vrchatapi/model/moderate_user_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/notification.py b/vrchatapi/model/notification.py index 6c0abbe3..efa59f3c 100644 --- a/vrchatapi/model/notification.py +++ b/vrchatapi/model/notification.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/notification_type.py b/vrchatapi/model/notification_type.py index bed2d899..2fc42f98 100644 --- a/vrchatapi/model/notification_type.py +++ b/vrchatapi/model/notification_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/past_display_name.py b/vrchatapi/model/past_display_name.py index 17e5e203..79a85a3a 100644 --- a/vrchatapi/model/past_display_name.py +++ b/vrchatapi/model/past_display_name.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/permission.py b/vrchatapi/model/permission.py index dc0b0b5f..b17a5e7b 100644 --- a/vrchatapi/model/permission.py +++ b/vrchatapi/model/permission.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/permission_id.py b/vrchatapi/model/permission_id.py index 2dbf360b..563c2b4f 100644 --- a/vrchatapi/model/permission_id.py +++ b/vrchatapi/model/permission_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation.py b/vrchatapi/model/player_moderation.py index ee32a3b9..52480797 100644 --- a/vrchatapi/model/player_moderation.py +++ b/vrchatapi/model/player_moderation.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation_id.py b/vrchatapi/model/player_moderation_id.py index 93a637ef..d6777670 100644 --- a/vrchatapi/model/player_moderation_id.py +++ b/vrchatapi/model/player_moderation_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation_type.py b/vrchatapi/model/player_moderation_type.py index a8e39311..640aad74 100644 --- a/vrchatapi/model/player_moderation_type.py +++ b/vrchatapi/model/player_moderation_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/public_announcement.py b/vrchatapi/model/public_announcement.py index 92de91a9..afd1653a 100644 --- a/vrchatapi/model/public_announcement.py +++ b/vrchatapi/model/public_announcement.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/region.py b/vrchatapi/model/region.py index a83283fc..03c67251 100644 --- a/vrchatapi/model/region.py +++ b/vrchatapi/model/region.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/release_status.py b/vrchatapi/model/release_status.py index 913166f8..49e5ff55 100644 --- a/vrchatapi/model/release_status.py +++ b/vrchatapi/model/release_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/request_invite_request.py b/vrchatapi/model/request_invite_request.py new file mode 100644 index 00000000..e870c055 --- /dev/null +++ b/vrchatapi/model/request_invite_request.py @@ -0,0 +1,259 @@ +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.6.6 + Contact: me@ruby.js.org + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from vrchatapi.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, +) +from ..model_utils import OpenApiModel +from vrchatapi.exceptions import ApiAttributeError + + + +class RequestInviteRequest(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + ('message_slot',): { + 'inclusive_maximum': 11, + 'inclusive_minimum': 0, + }, + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'message_slot': (int,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'message_slot': 'messageSlot', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """RequestInviteRequest - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + message_slot (int): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """RequestInviteRequest - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + message_slot (int): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/vrchatapi/model/response.py b/vrchatapi/model/response.py index 4b29bf55..895d05ed 100644 --- a/vrchatapi/model/response.py +++ b/vrchatapi/model/response.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/subscription.py b/vrchatapi/model/subscription.py index e99ec01a..84999d7f 100644 --- a/vrchatapi/model/subscription.py +++ b/vrchatapi/model/subscription.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/subscription_period.py b/vrchatapi/model/subscription_period.py index 114dc76e..adf07296 100644 --- a/vrchatapi/model/subscription_period.py +++ b/vrchatapi/model/subscription_period.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/success.py b/vrchatapi/model/success.py index bdf45336..36f5be42 100644 --- a/vrchatapi/model/success.py +++ b/vrchatapi/model/success.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/tag.py b/vrchatapi/model/tag.py index ba6fad2c..61e999c7 100644 --- a/vrchatapi/model/tag.py +++ b/vrchatapi/model/tag.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction.py b/vrchatapi/model/transaction.py index 42f5ea6a..abf4d74d 100644 --- a/vrchatapi/model/transaction.py +++ b/vrchatapi/model/transaction.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_agreement.py b/vrchatapi/model/transaction_agreement.py index 17251dd2..d5602c6a 100644 --- a/vrchatapi/model/transaction_agreement.py +++ b/vrchatapi/model/transaction_agreement.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_id.py b/vrchatapi/model/transaction_id.py index ff11e563..7ab5b5cb 100644 --- a/vrchatapi/model/transaction_id.py +++ b/vrchatapi/model/transaction_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_status.py b/vrchatapi/model/transaction_status.py index ff2e372b..23f2115e 100644 --- a/vrchatapi/model/transaction_status.py +++ b/vrchatapi/model/transaction_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_steam_info.py b/vrchatapi/model/transaction_steam_info.py index 0d6f779c..5bbfe0aa 100644 --- a/vrchatapi/model/transaction_steam_info.py +++ b/vrchatapi/model/transaction_steam_info.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_steam_wallet_info.py b/vrchatapi/model/transaction_steam_wallet_info.py index 071f6c56..8aad4b70 100644 --- a/vrchatapi/model/transaction_steam_wallet_info.py +++ b/vrchatapi/model/transaction_steam_wallet_info.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/two_factor_auth_code.py b/vrchatapi/model/two_factor_auth_code.py index e8bf5ba1..0be0b445 100644 --- a/vrchatapi/model/two_factor_auth_code.py +++ b/vrchatapi/model/two_factor_auth_code.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/unity_package.py b/vrchatapi/model/unity_package.py index 14e0bf10..274ab0f1 100644 --- a/vrchatapi/model/unity_package.py +++ b/vrchatapi/model/unity_package.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/unity_package_id.py b/vrchatapi/model/unity_package_id.py index 319256cd..04c03bbd 100644 --- a/vrchatapi/model/unity_package_id.py +++ b/vrchatapi/model/unity_package_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_avatar_request.py b/vrchatapi/model/update_avatar_request.py index 7a2a92a9..286013c8 100644 --- a/vrchatapi/model/update_avatar_request.py +++ b/vrchatapi/model/update_avatar_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_favorite_group_request.py b/vrchatapi/model/update_favorite_group_request.py index 374de1e6..8d4690d0 100644 --- a/vrchatapi/model/update_favorite_group_request.py +++ b/vrchatapi/model/update_favorite_group_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_invite_message_request.py b/vrchatapi/model/update_invite_message_request.py index c384e868..515bff74 100644 --- a/vrchatapi/model/update_invite_message_request.py +++ b/vrchatapi/model/update_invite_message_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_user_request.py b/vrchatapi/model/update_user_request.py index 8d55c898..44993158 100644 --- a/vrchatapi/model/update_user_request.py +++ b/vrchatapi/model/update_user_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_world_request.py b/vrchatapi/model/update_world_request.py index aceae499..bda1e4fe 100644 --- a/vrchatapi/model/update_world_request.py +++ b/vrchatapi/model/update_world_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user.py b/vrchatapi/model/user.py index ad22b57f..5922f35b 100644 --- a/vrchatapi/model/user.py +++ b/vrchatapi/model/user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_exists.py b/vrchatapi/model/user_exists.py index 269740b9..240c1f18 100644 --- a/vrchatapi/model/user_exists.py +++ b/vrchatapi/model/user_exists.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_state.py b/vrchatapi/model/user_state.py index 06b8c6f3..b5874502 100644 --- a/vrchatapi/model/user_state.py +++ b/vrchatapi/model/user_state.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_status.py b/vrchatapi/model/user_status.py index a47074f8..94644d74 100644 --- a/vrchatapi/model/user_status.py +++ b/vrchatapi/model/user_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_subscription.py b/vrchatapi/model/user_subscription.py index 6a41fbda..4b4b3b74 100644 --- a/vrchatapi/model/user_subscription.py +++ b/vrchatapi/model/user_subscription.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/verify2_fa_result.py b/vrchatapi/model/verify2_fa_result.py index d5b47c74..4c10531c 100644 --- a/vrchatapi/model/verify2_fa_result.py +++ b/vrchatapi/model/verify2_fa_result.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/verify_auth_token_result.py b/vrchatapi/model/verify_auth_token_result.py index 9c50001c..bd8865f0 100644 --- a/vrchatapi/model/verify_auth_token_result.py +++ b/vrchatapi/model/verify_auth_token_result.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world.py b/vrchatapi/model/world.py index 1372836a..aa5ed3f0 100644 --- a/vrchatapi/model/world.py +++ b/vrchatapi/model/world.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_id.py b/vrchatapi/model/world_id.py index 392fb679..cb55cbf9 100644 --- a/vrchatapi/model/world_id.py +++ b/vrchatapi/model/world_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_metadata.py b/vrchatapi/model/world_metadata.py index 17a8a3aa..2f0d98b0 100644 --- a/vrchatapi/model/world_metadata.py +++ b/vrchatapi/model/world_metadata.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_publish_status.py b/vrchatapi/model/world_publish_status.py index 69d45014..c1f4d46f 100644 --- a/vrchatapi/model/world_publish_status.py +++ b/vrchatapi/model/world_publish_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model_utils.py b/vrchatapi/model_utils.py index b5547fac..aa64be6e 100644 --- a/vrchatapi/model_utils.py +++ b/vrchatapi/model_utils.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index 54b5c309..c23c7b5f 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -76,6 +76,7 @@ from vrchatapi.model.public_announcement import PublicAnnouncement from vrchatapi.model.region import Region from vrchatapi.model.release_status import ReleaseStatus +from vrchatapi.model.request_invite_request import RequestInviteRequest from vrchatapi.model.response import Response from vrchatapi.model.subscription import Subscription from vrchatapi.model.subscription_period import SubscriptionPeriod diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index bae349cc..10d90987 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.5 + The version of the OpenAPI document: 1.6.6 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ From 996b7ddf2914059f1fd4e5def5e3555e678634c0 Mon Sep 17 00:00:00 2001 From: VRCCat Date: Thu, 20 Jan 2022 17:53:28 +0000 Subject: [PATCH 002/102] Upgrade Python SDK to spec 1.6.7 --- docs/FileStatus.md | 2 +- docs/FilesApi.md | 17 +++++++++++++---- setup.py | 4 ++-- vrchatapi/__init__.py | 2 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 10 +++------- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 ++-- vrchatapi/exceptions.py | 2 +- vrchatapi/model/add_favorite_request.py | 2 +- vrchatapi/model/api_config.py | 2 +- vrchatapi/model/api_event_config.py | 2 +- vrchatapi/model/api_health.py | 2 +- vrchatapi/model/avatar.py | 2 +- vrchatapi/model/avatar_id.py | 2 +- .../model/avatar_unity_package_url_object.py | 2 +- vrchatapi/model/create_avatar_request.py | 2 +- vrchatapi/model/create_file_request.py | 2 +- vrchatapi/model/create_file_version_request.py | 2 +- vrchatapi/model/create_world_request.py | 2 +- vrchatapi/model/current_user.py | 2 +- vrchatapi/model/deployment_group.py | 2 +- vrchatapi/model/developer_type.py | 2 +- vrchatapi/model/download_url_list.py | 2 +- vrchatapi/model/dynamic_content_row.py | 2 +- vrchatapi/model/error.py | 2 +- vrchatapi/model/favorite.py | 2 +- vrchatapi/model/favorite_group.py | 2 +- vrchatapi/model/favorite_group_id.py | 2 +- vrchatapi/model/favorite_group_visibility.py | 2 +- vrchatapi/model/favorite_id.py | 2 +- vrchatapi/model/favorite_type.py | 2 +- vrchatapi/model/file.py | 2 +- vrchatapi/model/file_data.py | 2 +- vrchatapi/model/file_id.py | 2 +- vrchatapi/model/file_status.py | 11 ++++++----- vrchatapi/model/file_upload_url.py | 2 +- vrchatapi/model/file_version.py | 2 +- vrchatapi/model/file_version_upload_status.py | 2 +- .../model/finish_file_data_upload_request.py | 2 +- vrchatapi/model/friend_status.py | 2 +- vrchatapi/model/info_push.py | 2 +- vrchatapi/model/info_push_data.py | 2 +- vrchatapi/model/info_push_data_article.py | 2 +- .../model/info_push_data_article_content.py | 2 +- vrchatapi/model/info_push_data_clickable.py | 2 +- vrchatapi/model/instance.py | 2 +- vrchatapi/model/instance_id.py | 2 +- vrchatapi/model/instance_platforms.py | 2 +- vrchatapi/model/instance_type.py | 2 +- vrchatapi/model/invite_message.py | 2 +- vrchatapi/model/invite_message_id.py | 2 +- vrchatapi/model/invite_message_type.py | 2 +- vrchatapi/model/invite_request.py | 2 +- vrchatapi/model/invite_response.py | 2 +- vrchatapi/model/license.py | 2 +- vrchatapi/model/license_action.py | 2 +- vrchatapi/model/license_group.py | 2 +- vrchatapi/model/license_group_id.py | 2 +- vrchatapi/model/license_type.py | 2 +- vrchatapi/model/limited_unity_package.py | 2 +- vrchatapi/model/limited_user.py | 2 +- vrchatapi/model/limited_world.py | 2 +- vrchatapi/model/mime_type.py | 2 +- vrchatapi/model/moderate_user_request.py | 2 +- vrchatapi/model/notification.py | 2 +- vrchatapi/model/notification_type.py | 2 +- vrchatapi/model/past_display_name.py | 2 +- vrchatapi/model/permission.py | 2 +- vrchatapi/model/permission_id.py | 2 +- vrchatapi/model/player_moderation.py | 2 +- vrchatapi/model/player_moderation_id.py | 2 +- vrchatapi/model/player_moderation_type.py | 2 +- vrchatapi/model/public_announcement.py | 2 +- vrchatapi/model/region.py | 2 +- vrchatapi/model/release_status.py | 2 +- vrchatapi/model/request_invite_request.py | 2 +- vrchatapi/model/response.py | 2 +- vrchatapi/model/subscription.py | 2 +- vrchatapi/model/subscription_period.py | 2 +- vrchatapi/model/success.py | 2 +- vrchatapi/model/tag.py | 2 +- vrchatapi/model/transaction.py | 2 +- vrchatapi/model/transaction_agreement.py | 2 +- vrchatapi/model/transaction_id.py | 2 +- vrchatapi/model/transaction_status.py | 2 +- vrchatapi/model/transaction_steam_info.py | 2 +- .../model/transaction_steam_wallet_info.py | 2 +- vrchatapi/model/two_factor_auth_code.py | 2 +- vrchatapi/model/unity_package.py | 2 +- vrchatapi/model/unity_package_id.py | 2 +- vrchatapi/model/update_avatar_request.py | 2 +- .../model/update_favorite_group_request.py | 2 +- .../model/update_invite_message_request.py | 2 +- vrchatapi/model/update_user_request.py | 2 +- vrchatapi/model/update_world_request.py | 2 +- vrchatapi/model/user.py | 2 +- vrchatapi/model/user_exists.py | 2 +- vrchatapi/model/user_state.py | 2 +- vrchatapi/model/user_status.py | 2 +- vrchatapi/model/user_subscription.py | 2 +- vrchatapi/model/verify2_fa_result.py | 2 +- vrchatapi/model/verify_auth_token_result.py | 2 +- vrchatapi/model/world.py | 2 +- vrchatapi/model/world_id.py | 2 +- vrchatapi/model/world_metadata.py | 2 +- vrchatapi/model/world_publish_status.py | 2 +- vrchatapi/model_utils.py | 2 +- vrchatapi/rest.py | 2 +- 121 files changed, 142 insertions(+), 136 deletions(-) diff --git a/docs/FileStatus.md b/docs/FileStatus.md index 25672d7d..c91a9ba6 100644 --- a/docs/FileStatus.md +++ b/docs/FileStatus.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | **str** | | defaults to "waiting", must be one of ["waiting", "complete", "none", ] +**value** | **str** | | defaults to "waiting", must be one of ["waiting", "complete", "none", "queued", ] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FilesApi.md b/docs/FilesApi.md index 29d00be3..fc486095 100644 --- a/docs/FilesApi.md +++ b/docs/FilesApi.md @@ -850,7 +850,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **start_file_data_upload** -> FileUploadURL start_file_data_upload(file_id, version_id, file_type, part_number) +> FileUploadURL start_file_data_upload(file_id, version_id, file_type) Start FileData Upload @@ -898,12 +898,21 @@ with vrchatapi.ApiClient(configuration) as api_client: file_id = "file_00000000-0000-0000-0000-000000000000" # str | version_id = 1 # int | file_type = "file" # str | - part_number = 1 # int | + part_number = 1 # int | (optional) # example passing only required values which don't have defaults set try: # Start FileData Upload - api_response = api_instance.start_file_data_upload(file_id, version_id, file_type, part_number) + api_response = api_instance.start_file_data_upload(file_id, version_id, file_type) + pprint(api_response) + except vrchatapi.ApiException as e: + print("Exception when calling FilesApi->start_file_data_upload: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Start FileData Upload + api_response = api_instance.start_file_data_upload(file_id, version_id, file_type, part_number=part_number) pprint(api_response) except vrchatapi.ApiException as e: print("Exception when calling FilesApi->start_file_data_upload: %s\n" % e) @@ -917,7 +926,7 @@ Name | Type | Description | Notes **file_id** | **str**| | **version_id** | **int**| | **file_type** | **str**| | - **part_number** | **int**| | + **part_number** | **int**| | [optional] ### Return type diff --git a/setup.py b/setup.py index 9583fe5b..b60083b4 100644 --- a/setup.py +++ b/setup.py @@ -64,7 +64,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ @@ -73,7 +73,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.6.6" +VERSION = "1.6.7" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index d204f473..341ac911 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index 9e5d8437..8a9ba587 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index fe8686e1..b449ed56 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 04a5b1a6..65b90016 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index c01907a1..a677871a 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index b24e9a53..f9287dcc 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ @@ -690,7 +690,6 @@ def __init__(self, api_client=None): 'file_id', 'version_id', 'file_type', - 'part_number', ], 'nullable': [ ], @@ -1382,7 +1381,6 @@ def start_file_data_upload( file_id, version_id, file_type, - part_number, **kwargs ): """Start FileData Upload # noqa: E501 @@ -1391,16 +1389,16 @@ def start_file_data_upload( This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.start_file_data_upload(file_id, version_id, file_type, part_number, async_req=True) + >>> thread = api.start_file_data_upload(file_id, version_id, file_type, async_req=True) >>> result = thread.get() Args: file_id (str): version_id (int): file_type (str): - part_number (int): Keyword Args: + part_number (int): [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -1451,7 +1449,5 @@ def start_file_data_upload( version_id kwargs['file_type'] = \ file_type - kwargs['part_number'] = \ - part_number return self.start_file_data_upload_endpoint.call_with_http_info(**kwargs) diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index 1c7e22c3..ee995154 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 2c3a4b68..1f4b13ed 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index 8ec95439..3cb628e9 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index d0ec0fb3..4031efa8 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index de66a449..467911bf 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index 8e2e7f23..a8621409 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index 303a8bfe..0756edb0 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index 77d71e20..636ead3c 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index e17a3a7e..1f06a0be 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index de6d99e3..61cd9081 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index 872d9ec9..3409361b 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ @@ -455,7 +455,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.6.6\n"\ + "Version of the API: 1.6.7\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index 76331144..09eb8419 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/add_favorite_request.py b/vrchatapi/model/add_favorite_request.py index ed28dfd8..ac20c7b9 100644 --- a/vrchatapi/model/add_favorite_request.py +++ b/vrchatapi/model/add_favorite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_config.py b/vrchatapi/model/api_config.py index 4c928686..737ec87e 100644 --- a/vrchatapi/model/api_config.py +++ b/vrchatapi/model/api_config.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_event_config.py b/vrchatapi/model/api_event_config.py index 95520212..7782d508 100644 --- a/vrchatapi/model/api_event_config.py +++ b/vrchatapi/model/api_event_config.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_health.py b/vrchatapi/model/api_health.py index ba64d26c..d32627a6 100644 --- a/vrchatapi/model/api_health.py +++ b/vrchatapi/model/api_health.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar.py b/vrchatapi/model/avatar.py index cfc9bdc6..d2ccc2ca 100644 --- a/vrchatapi/model/avatar.py +++ b/vrchatapi/model/avatar.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar_id.py b/vrchatapi/model/avatar_id.py index cedafdb0..7dedbec6 100644 --- a/vrchatapi/model/avatar_id.py +++ b/vrchatapi/model/avatar_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar_unity_package_url_object.py b/vrchatapi/model/avatar_unity_package_url_object.py index 9353ad45..3be7392c 100644 --- a/vrchatapi/model/avatar_unity_package_url_object.py +++ b/vrchatapi/model/avatar_unity_package_url_object.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_avatar_request.py b/vrchatapi/model/create_avatar_request.py index e9edab76..1db56ca6 100644 --- a/vrchatapi/model/create_avatar_request.py +++ b/vrchatapi/model/create_avatar_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_file_request.py b/vrchatapi/model/create_file_request.py index 7561007c..74f00118 100644 --- a/vrchatapi/model/create_file_request.py +++ b/vrchatapi/model/create_file_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_file_version_request.py b/vrchatapi/model/create_file_version_request.py index 4b06d9d1..c20a3ead 100644 --- a/vrchatapi/model/create_file_version_request.py +++ b/vrchatapi/model/create_file_version_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_world_request.py b/vrchatapi/model/create_world_request.py index 5941c138..6512d4f6 100644 --- a/vrchatapi/model/create_world_request.py +++ b/vrchatapi/model/create_world_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/current_user.py b/vrchatapi/model/current_user.py index 10158ec3..542ece06 100644 --- a/vrchatapi/model/current_user.py +++ b/vrchatapi/model/current_user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/deployment_group.py b/vrchatapi/model/deployment_group.py index 31576ff4..8b0380b9 100644 --- a/vrchatapi/model/deployment_group.py +++ b/vrchatapi/model/deployment_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/developer_type.py b/vrchatapi/model/developer_type.py index 1139ac10..512a7955 100644 --- a/vrchatapi/model/developer_type.py +++ b/vrchatapi/model/developer_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/download_url_list.py b/vrchatapi/model/download_url_list.py index b34f4e49..3c999fda 100644 --- a/vrchatapi/model/download_url_list.py +++ b/vrchatapi/model/download_url_list.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/dynamic_content_row.py b/vrchatapi/model/dynamic_content_row.py index a8b29a99..f90edd32 100644 --- a/vrchatapi/model/dynamic_content_row.py +++ b/vrchatapi/model/dynamic_content_row.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/error.py b/vrchatapi/model/error.py index 9f4d6ed2..bf838e28 100644 --- a/vrchatapi/model/error.py +++ b/vrchatapi/model/error.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite.py b/vrchatapi/model/favorite.py index 1d72a1fe..1dd52bd6 100644 --- a/vrchatapi/model/favorite.py +++ b/vrchatapi/model/favorite.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group.py b/vrchatapi/model/favorite_group.py index 0f67de7a..c767fd71 100644 --- a/vrchatapi/model/favorite_group.py +++ b/vrchatapi/model/favorite_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group_id.py b/vrchatapi/model/favorite_group_id.py index d34553d2..cfa10014 100644 --- a/vrchatapi/model/favorite_group_id.py +++ b/vrchatapi/model/favorite_group_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group_visibility.py b/vrchatapi/model/favorite_group_visibility.py index 2bfc1567..bc5bcfa7 100644 --- a/vrchatapi/model/favorite_group_visibility.py +++ b/vrchatapi/model/favorite_group_visibility.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_id.py b/vrchatapi/model/favorite_id.py index 3ce2ed9c..aec11473 100644 --- a/vrchatapi/model/favorite_id.py +++ b/vrchatapi/model/favorite_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_type.py b/vrchatapi/model/favorite_type.py index 7a309ca2..b35fe93b 100644 --- a/vrchatapi/model/favorite_type.py +++ b/vrchatapi/model/favorite_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file.py b/vrchatapi/model/file.py index aecca8b5..8b185031 100644 --- a/vrchatapi/model/file.py +++ b/vrchatapi/model/file.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_data.py b/vrchatapi/model/file_data.py index 36911767..de7f19f4 100644 --- a/vrchatapi/model/file_data.py +++ b/vrchatapi/model/file_data.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_id.py b/vrchatapi/model/file_id.py index ca5506e8..ccfbaa34 100644 --- a/vrchatapi/model/file_id.py +++ b/vrchatapi/model/file_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_status.py b/vrchatapi/model/file_status.py index 0237e05f..404f7c52 100644 --- a/vrchatapi/model/file_status.py +++ b/vrchatapi/model/file_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ @@ -55,6 +55,7 @@ class FileStatus(ModelSimple): 'WAITING': "waiting", 'COMPLETE': "complete", 'NONE': "none", + 'QUEUED': "queued", }, } @@ -106,10 +107,10 @@ def __init__(self, *args, **kwargs): Note that value can be passed either in args or in kwargs, but not in both. Args: - args[0] (str): if omitted defaults to "waiting", must be one of ["waiting", "complete", "none", ] # noqa: E501 + args[0] (str): if omitted defaults to "waiting", must be one of ["waiting", "complete", "none", "queued", ] # noqa: E501 Keyword Args: - value (str): if omitted defaults to "waiting", must be one of ["waiting", "complete", "none", ] # noqa: E501 + value (str): if omitted defaults to "waiting", must be one of ["waiting", "complete", "none", "queued", ] # noqa: E501 _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. @@ -192,10 +193,10 @@ def _from_openapi_data(cls, *args, **kwargs): Note that value can be passed either in args or in kwargs, but not in both. Args: - args[0] (str): if omitted defaults to "waiting", must be one of ["waiting", "complete", "none", ] # noqa: E501 + args[0] (str): if omitted defaults to "waiting", must be one of ["waiting", "complete", "none", "queued", ] # noqa: E501 Keyword Args: - value (str): if omitted defaults to "waiting", must be one of ["waiting", "complete", "none", ] # noqa: E501 + value (str): if omitted defaults to "waiting", must be one of ["waiting", "complete", "none", "queued", ] # noqa: E501 _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. diff --git a/vrchatapi/model/file_upload_url.py b/vrchatapi/model/file_upload_url.py index 216d3a66..c66d08fc 100644 --- a/vrchatapi/model/file_upload_url.py +++ b/vrchatapi/model/file_upload_url.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_version.py b/vrchatapi/model/file_version.py index 8f0f1c09..871aaa46 100644 --- a/vrchatapi/model/file_version.py +++ b/vrchatapi/model/file_version.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_version_upload_status.py b/vrchatapi/model/file_version_upload_status.py index c85a24c7..47024c33 100644 --- a/vrchatapi/model/file_version_upload_status.py +++ b/vrchatapi/model/file_version_upload_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/finish_file_data_upload_request.py b/vrchatapi/model/finish_file_data_upload_request.py index 45c04e6d..a4276828 100644 --- a/vrchatapi/model/finish_file_data_upload_request.py +++ b/vrchatapi/model/finish_file_data_upload_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/friend_status.py b/vrchatapi/model/friend_status.py index b772c071..723d0bd7 100644 --- a/vrchatapi/model/friend_status.py +++ b/vrchatapi/model/friend_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push.py b/vrchatapi/model/info_push.py index c5891be4..680f4eb2 100644 --- a/vrchatapi/model/info_push.py +++ b/vrchatapi/model/info_push.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data.py b/vrchatapi/model/info_push_data.py index fac5eeb5..765f08c3 100644 --- a/vrchatapi/model/info_push_data.py +++ b/vrchatapi/model/info_push_data.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_article.py b/vrchatapi/model/info_push_data_article.py index dcba0cdb..55109b76 100644 --- a/vrchatapi/model/info_push_data_article.py +++ b/vrchatapi/model/info_push_data_article.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_article_content.py b/vrchatapi/model/info_push_data_article_content.py index 7f497945..d90d3575 100644 --- a/vrchatapi/model/info_push_data_article_content.py +++ b/vrchatapi/model/info_push_data_article_content.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_clickable.py b/vrchatapi/model/info_push_data_clickable.py index f46cc412..14665c3e 100644 --- a/vrchatapi/model/info_push_data_clickable.py +++ b/vrchatapi/model/info_push_data_clickable.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance.py b/vrchatapi/model/instance.py index b4ee2148..6f147d46 100644 --- a/vrchatapi/model/instance.py +++ b/vrchatapi/model/instance.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_id.py b/vrchatapi/model/instance_id.py index 223048a3..21d51004 100644 --- a/vrchatapi/model/instance_id.py +++ b/vrchatapi/model/instance_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_platforms.py b/vrchatapi/model/instance_platforms.py index 77562fc7..e8aa6e0b 100644 --- a/vrchatapi/model/instance_platforms.py +++ b/vrchatapi/model/instance_platforms.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_type.py b/vrchatapi/model/instance_type.py index 364d7f19..fab8f499 100644 --- a/vrchatapi/model/instance_type.py +++ b/vrchatapi/model/instance_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message.py b/vrchatapi/model/invite_message.py index c4a1cb25..ded5b6c0 100644 --- a/vrchatapi/model/invite_message.py +++ b/vrchatapi/model/invite_message.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message_id.py b/vrchatapi/model/invite_message_id.py index 67ee5cc5..e33024b1 100644 --- a/vrchatapi/model/invite_message_id.py +++ b/vrchatapi/model/invite_message_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message_type.py b/vrchatapi/model/invite_message_type.py index b118b141..661b353a 100644 --- a/vrchatapi/model/invite_message_type.py +++ b/vrchatapi/model/invite_message_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_request.py b/vrchatapi/model/invite_request.py index 8cbc6ffe..7b218ccd 100644 --- a/vrchatapi/model/invite_request.py +++ b/vrchatapi/model/invite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_response.py b/vrchatapi/model/invite_response.py index 0da067a8..fee3f3b4 100644 --- a/vrchatapi/model/invite_response.py +++ b/vrchatapi/model/invite_response.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license.py b/vrchatapi/model/license.py index 547f91e3..955b0113 100644 --- a/vrchatapi/model/license.py +++ b/vrchatapi/model/license.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_action.py b/vrchatapi/model/license_action.py index c8eca659..0b6e2a3f 100644 --- a/vrchatapi/model/license_action.py +++ b/vrchatapi/model/license_action.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_group.py b/vrchatapi/model/license_group.py index 1aae6ec9..d1ce7573 100644 --- a/vrchatapi/model/license_group.py +++ b/vrchatapi/model/license_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_group_id.py b/vrchatapi/model/license_group_id.py index 716b2b47..91f47a4c 100644 --- a/vrchatapi/model/license_group_id.py +++ b/vrchatapi/model/license_group_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_type.py b/vrchatapi/model/license_type.py index 55a5424f..6858fd59 100644 --- a/vrchatapi/model/license_type.py +++ b/vrchatapi/model/license_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_unity_package.py b/vrchatapi/model/limited_unity_package.py index 8ce4825c..4d0f4f62 100644 --- a/vrchatapi/model/limited_unity_package.py +++ b/vrchatapi/model/limited_unity_package.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_user.py b/vrchatapi/model/limited_user.py index 4adab8df..0903c4d6 100644 --- a/vrchatapi/model/limited_user.py +++ b/vrchatapi/model/limited_user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_world.py b/vrchatapi/model/limited_world.py index 344b70d1..b03fcd32 100644 --- a/vrchatapi/model/limited_world.py +++ b/vrchatapi/model/limited_world.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/mime_type.py b/vrchatapi/model/mime_type.py index 8afe417b..2a4dd7a6 100644 --- a/vrchatapi/model/mime_type.py +++ b/vrchatapi/model/mime_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/moderate_user_request.py b/vrchatapi/model/moderate_user_request.py index 56e9fde4..e7a4be46 100644 --- a/vrchatapi/model/moderate_user_request.py +++ b/vrchatapi/model/moderate_user_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/notification.py b/vrchatapi/model/notification.py index efa59f3c..2ead1e61 100644 --- a/vrchatapi/model/notification.py +++ b/vrchatapi/model/notification.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/notification_type.py b/vrchatapi/model/notification_type.py index 2fc42f98..0d10438d 100644 --- a/vrchatapi/model/notification_type.py +++ b/vrchatapi/model/notification_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/past_display_name.py b/vrchatapi/model/past_display_name.py index 79a85a3a..ea20ed75 100644 --- a/vrchatapi/model/past_display_name.py +++ b/vrchatapi/model/past_display_name.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/permission.py b/vrchatapi/model/permission.py index b17a5e7b..23d29cfa 100644 --- a/vrchatapi/model/permission.py +++ b/vrchatapi/model/permission.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/permission_id.py b/vrchatapi/model/permission_id.py index 563c2b4f..49b29020 100644 --- a/vrchatapi/model/permission_id.py +++ b/vrchatapi/model/permission_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation.py b/vrchatapi/model/player_moderation.py index 52480797..4b5d3601 100644 --- a/vrchatapi/model/player_moderation.py +++ b/vrchatapi/model/player_moderation.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation_id.py b/vrchatapi/model/player_moderation_id.py index d6777670..b15e04e2 100644 --- a/vrchatapi/model/player_moderation_id.py +++ b/vrchatapi/model/player_moderation_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation_type.py b/vrchatapi/model/player_moderation_type.py index 640aad74..c7ea440b 100644 --- a/vrchatapi/model/player_moderation_type.py +++ b/vrchatapi/model/player_moderation_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/public_announcement.py b/vrchatapi/model/public_announcement.py index afd1653a..1ac25efa 100644 --- a/vrchatapi/model/public_announcement.py +++ b/vrchatapi/model/public_announcement.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/region.py b/vrchatapi/model/region.py index 03c67251..8462815f 100644 --- a/vrchatapi/model/region.py +++ b/vrchatapi/model/region.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/release_status.py b/vrchatapi/model/release_status.py index 49e5ff55..ccc1c1f7 100644 --- a/vrchatapi/model/release_status.py +++ b/vrchatapi/model/release_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/request_invite_request.py b/vrchatapi/model/request_invite_request.py index e870c055..63de876b 100644 --- a/vrchatapi/model/request_invite_request.py +++ b/vrchatapi/model/request_invite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/response.py b/vrchatapi/model/response.py index 895d05ed..91452125 100644 --- a/vrchatapi/model/response.py +++ b/vrchatapi/model/response.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/subscription.py b/vrchatapi/model/subscription.py index 84999d7f..9259449c 100644 --- a/vrchatapi/model/subscription.py +++ b/vrchatapi/model/subscription.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/subscription_period.py b/vrchatapi/model/subscription_period.py index adf07296..80c9861b 100644 --- a/vrchatapi/model/subscription_period.py +++ b/vrchatapi/model/subscription_period.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/success.py b/vrchatapi/model/success.py index 36f5be42..61e35968 100644 --- a/vrchatapi/model/success.py +++ b/vrchatapi/model/success.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/tag.py b/vrchatapi/model/tag.py index 61e999c7..72b4a4b0 100644 --- a/vrchatapi/model/tag.py +++ b/vrchatapi/model/tag.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction.py b/vrchatapi/model/transaction.py index abf4d74d..8481a79c 100644 --- a/vrchatapi/model/transaction.py +++ b/vrchatapi/model/transaction.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_agreement.py b/vrchatapi/model/transaction_agreement.py index d5602c6a..9b304b64 100644 --- a/vrchatapi/model/transaction_agreement.py +++ b/vrchatapi/model/transaction_agreement.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_id.py b/vrchatapi/model/transaction_id.py index 7ab5b5cb..16a8d116 100644 --- a/vrchatapi/model/transaction_id.py +++ b/vrchatapi/model/transaction_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_status.py b/vrchatapi/model/transaction_status.py index 23f2115e..2f954dea 100644 --- a/vrchatapi/model/transaction_status.py +++ b/vrchatapi/model/transaction_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_steam_info.py b/vrchatapi/model/transaction_steam_info.py index 5bbfe0aa..6b10b013 100644 --- a/vrchatapi/model/transaction_steam_info.py +++ b/vrchatapi/model/transaction_steam_info.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_steam_wallet_info.py b/vrchatapi/model/transaction_steam_wallet_info.py index 8aad4b70..4b5b93d8 100644 --- a/vrchatapi/model/transaction_steam_wallet_info.py +++ b/vrchatapi/model/transaction_steam_wallet_info.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/two_factor_auth_code.py b/vrchatapi/model/two_factor_auth_code.py index 0be0b445..3c6c58b9 100644 --- a/vrchatapi/model/two_factor_auth_code.py +++ b/vrchatapi/model/two_factor_auth_code.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/unity_package.py b/vrchatapi/model/unity_package.py index 274ab0f1..87dcbd11 100644 --- a/vrchatapi/model/unity_package.py +++ b/vrchatapi/model/unity_package.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/unity_package_id.py b/vrchatapi/model/unity_package_id.py index 04c03bbd..c21853a5 100644 --- a/vrchatapi/model/unity_package_id.py +++ b/vrchatapi/model/unity_package_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_avatar_request.py b/vrchatapi/model/update_avatar_request.py index 286013c8..55b46ef3 100644 --- a/vrchatapi/model/update_avatar_request.py +++ b/vrchatapi/model/update_avatar_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_favorite_group_request.py b/vrchatapi/model/update_favorite_group_request.py index 8d4690d0..e9a402f3 100644 --- a/vrchatapi/model/update_favorite_group_request.py +++ b/vrchatapi/model/update_favorite_group_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_invite_message_request.py b/vrchatapi/model/update_invite_message_request.py index 515bff74..1e8002fa 100644 --- a/vrchatapi/model/update_invite_message_request.py +++ b/vrchatapi/model/update_invite_message_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_user_request.py b/vrchatapi/model/update_user_request.py index 44993158..cea642d6 100644 --- a/vrchatapi/model/update_user_request.py +++ b/vrchatapi/model/update_user_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_world_request.py b/vrchatapi/model/update_world_request.py index bda1e4fe..8a307967 100644 --- a/vrchatapi/model/update_world_request.py +++ b/vrchatapi/model/update_world_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user.py b/vrchatapi/model/user.py index 5922f35b..e61b3012 100644 --- a/vrchatapi/model/user.py +++ b/vrchatapi/model/user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_exists.py b/vrchatapi/model/user_exists.py index 240c1f18..01c9ca65 100644 --- a/vrchatapi/model/user_exists.py +++ b/vrchatapi/model/user_exists.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_state.py b/vrchatapi/model/user_state.py index b5874502..82dba14b 100644 --- a/vrchatapi/model/user_state.py +++ b/vrchatapi/model/user_state.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_status.py b/vrchatapi/model/user_status.py index 94644d74..7d3c183b 100644 --- a/vrchatapi/model/user_status.py +++ b/vrchatapi/model/user_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_subscription.py b/vrchatapi/model/user_subscription.py index 4b4b3b74..968561bc 100644 --- a/vrchatapi/model/user_subscription.py +++ b/vrchatapi/model/user_subscription.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/verify2_fa_result.py b/vrchatapi/model/verify2_fa_result.py index 4c10531c..0f7d84dc 100644 --- a/vrchatapi/model/verify2_fa_result.py +++ b/vrchatapi/model/verify2_fa_result.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/verify_auth_token_result.py b/vrchatapi/model/verify_auth_token_result.py index bd8865f0..d6b196fd 100644 --- a/vrchatapi/model/verify_auth_token_result.py +++ b/vrchatapi/model/verify_auth_token_result.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world.py b/vrchatapi/model/world.py index aa5ed3f0..75a444e0 100644 --- a/vrchatapi/model/world.py +++ b/vrchatapi/model/world.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_id.py b/vrchatapi/model/world_id.py index cb55cbf9..ab899187 100644 --- a/vrchatapi/model/world_id.py +++ b/vrchatapi/model/world_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_metadata.py b/vrchatapi/model/world_metadata.py index 2f0d98b0..e832e3db 100644 --- a/vrchatapi/model/world_metadata.py +++ b/vrchatapi/model/world_metadata.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_publish_status.py b/vrchatapi/model/world_publish_status.py index c1f4d46f..c188c9c1 100644 --- a/vrchatapi/model/world_publish_status.py +++ b/vrchatapi/model/world_publish_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model_utils.py b/vrchatapi/model_utils.py index aa64be6e..9fa89922 100644 --- a/vrchatapi/model_utils.py +++ b/vrchatapi/model_utils.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index 10d90987..602b1300 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.6 + The version of the OpenAPI document: 1.6.7 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ From afe5ec9fda298723e7408358473aafe343e27d18 Mon Sep 17 00:00:00 2001 From: VRCCat Date: Sat, 22 Jan 2022 00:07:03 +0000 Subject: [PATCH 003/102] Upgrade Python SDK to spec 1.6.8 --- docs/InstanceID.md | 4 ++-- setup.py | 4 ++-- vrchatapi/__init__.py | 2 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 ++-- vrchatapi/exceptions.py | 2 +- vrchatapi/model/add_favorite_request.py | 2 +- vrchatapi/model/api_config.py | 2 +- vrchatapi/model/api_event_config.py | 2 +- vrchatapi/model/api_health.py | 2 +- vrchatapi/model/avatar.py | 2 +- vrchatapi/model/avatar_id.py | 2 +- vrchatapi/model/avatar_unity_package_url_object.py | 2 +- vrchatapi/model/create_avatar_request.py | 2 +- vrchatapi/model/create_file_request.py | 2 +- vrchatapi/model/create_file_version_request.py | 2 +- vrchatapi/model/create_world_request.py | 2 +- vrchatapi/model/current_user.py | 2 +- vrchatapi/model/deployment_group.py | 2 +- vrchatapi/model/developer_type.py | 2 +- vrchatapi/model/download_url_list.py | 2 +- vrchatapi/model/dynamic_content_row.py | 2 +- vrchatapi/model/error.py | 2 +- vrchatapi/model/favorite.py | 2 +- vrchatapi/model/favorite_group.py | 2 +- vrchatapi/model/favorite_group_id.py | 2 +- vrchatapi/model/favorite_group_visibility.py | 2 +- vrchatapi/model/favorite_id.py | 2 +- vrchatapi/model/favorite_type.py | 2 +- vrchatapi/model/file.py | 2 +- vrchatapi/model/file_data.py | 2 +- vrchatapi/model/file_id.py | 2 +- vrchatapi/model/file_status.py | 2 +- vrchatapi/model/file_upload_url.py | 2 +- vrchatapi/model/file_version.py | 2 +- vrchatapi/model/file_version_upload_status.py | 2 +- vrchatapi/model/finish_file_data_upload_request.py | 2 +- vrchatapi/model/friend_status.py | 2 +- vrchatapi/model/info_push.py | 2 +- vrchatapi/model/info_push_data.py | 2 +- vrchatapi/model/info_push_data_article.py | 2 +- vrchatapi/model/info_push_data_article_content.py | 2 +- vrchatapi/model/info_push_data_clickable.py | 2 +- vrchatapi/model/instance.py | 2 +- vrchatapi/model/instance_id.py | 10 +++++----- vrchatapi/model/instance_platforms.py | 2 +- vrchatapi/model/instance_type.py | 2 +- vrchatapi/model/invite_message.py | 2 +- vrchatapi/model/invite_message_id.py | 2 +- vrchatapi/model/invite_message_type.py | 2 +- vrchatapi/model/invite_request.py | 2 +- vrchatapi/model/invite_response.py | 2 +- vrchatapi/model/license.py | 2 +- vrchatapi/model/license_action.py | 2 +- vrchatapi/model/license_group.py | 2 +- vrchatapi/model/license_group_id.py | 2 +- vrchatapi/model/license_type.py | 2 +- vrchatapi/model/limited_unity_package.py | 2 +- vrchatapi/model/limited_user.py | 2 +- vrchatapi/model/limited_world.py | 2 +- vrchatapi/model/mime_type.py | 2 +- vrchatapi/model/moderate_user_request.py | 2 +- vrchatapi/model/notification.py | 2 +- vrchatapi/model/notification_type.py | 2 +- vrchatapi/model/past_display_name.py | 2 +- vrchatapi/model/permission.py | 2 +- vrchatapi/model/permission_id.py | 2 +- vrchatapi/model/player_moderation.py | 2 +- vrchatapi/model/player_moderation_id.py | 2 +- vrchatapi/model/player_moderation_type.py | 2 +- vrchatapi/model/public_announcement.py | 2 +- vrchatapi/model/region.py | 2 +- vrchatapi/model/release_status.py | 2 +- vrchatapi/model/request_invite_request.py | 2 +- vrchatapi/model/response.py | 2 +- vrchatapi/model/subscription.py | 2 +- vrchatapi/model/subscription_period.py | 2 +- vrchatapi/model/success.py | 2 +- vrchatapi/model/tag.py | 2 +- vrchatapi/model/transaction.py | 2 +- vrchatapi/model/transaction_agreement.py | 2 +- vrchatapi/model/transaction_id.py | 2 +- vrchatapi/model/transaction_status.py | 2 +- vrchatapi/model/transaction_steam_info.py | 2 +- vrchatapi/model/transaction_steam_wallet_info.py | 2 +- vrchatapi/model/two_factor_auth_code.py | 2 +- vrchatapi/model/unity_package.py | 2 +- vrchatapi/model/unity_package_id.py | 2 +- vrchatapi/model/update_avatar_request.py | 2 +- vrchatapi/model/update_favorite_group_request.py | 2 +- vrchatapi/model/update_invite_message_request.py | 2 +- vrchatapi/model/update_user_request.py | 2 +- vrchatapi/model/update_world_request.py | 2 +- vrchatapi/model/user.py | 2 +- vrchatapi/model/user_exists.py | 2 +- vrchatapi/model/user_state.py | 2 +- vrchatapi/model/user_status.py | 2 +- vrchatapi/model/user_subscription.py | 2 +- vrchatapi/model/verify2_fa_result.py | 2 +- vrchatapi/model/verify_auth_token_result.py | 2 +- vrchatapi/model/world.py | 2 +- vrchatapi/model/world_id.py | 2 +- vrchatapi/model/world_metadata.py | 2 +- vrchatapi/model/world_publish_status.py | 2 +- vrchatapi/model_utils.py | 2 +- vrchatapi/rest.py | 2 +- 120 files changed, 127 insertions(+), 127 deletions(-) diff --git a/docs/InstanceID.md b/docs/InstanceID.md index 2c6087c8..4a8b29d2 100644 --- a/docs/InstanceID.md +++ b/docs/InstanceID.md @@ -1,11 +1,11 @@ # InstanceID -InstanceID be \"offline\" on User profiles if you are not friends with that user. +InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | **str** | InstanceID be \"offline\" on User profiles if you are not friends with that user. | +**value** | **str** | InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/setup.py b/setup.py index b60083b4..f4698b8c 100644 --- a/setup.py +++ b/setup.py @@ -64,7 +64,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ @@ -73,7 +73,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.6.7" +VERSION = "1.6.8" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 341ac911..dfbd81a9 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index 8a9ba587..55e19439 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index b449ed56..e7e0d6c1 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 65b90016..12dd8364 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index a677871a..7d51a7de 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index f9287dcc..781c2fc8 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index ee995154..364f4d46 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 1f4b13ed..03a5262c 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index 3cb628e9..6ad9797b 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index 4031efa8..89947a3f 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index 467911bf..d8939bd5 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index a8621409..4389976c 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index 0756edb0..2c68d6eb 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index 636ead3c..8dcb541e 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 1f06a0be..7904e76f 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index 61cd9081..174bda41 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index 3409361b..5bc5f88b 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ @@ -455,7 +455,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.6.7\n"\ + "Version of the API: 1.6.8\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index 09eb8419..a6e60442 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/add_favorite_request.py b/vrchatapi/model/add_favorite_request.py index ac20c7b9..8ee8202c 100644 --- a/vrchatapi/model/add_favorite_request.py +++ b/vrchatapi/model/add_favorite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_config.py b/vrchatapi/model/api_config.py index 737ec87e..8c157019 100644 --- a/vrchatapi/model/api_config.py +++ b/vrchatapi/model/api_config.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_event_config.py b/vrchatapi/model/api_event_config.py index 7782d508..60391ace 100644 --- a/vrchatapi/model/api_event_config.py +++ b/vrchatapi/model/api_event_config.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_health.py b/vrchatapi/model/api_health.py index d32627a6..97181a62 100644 --- a/vrchatapi/model/api_health.py +++ b/vrchatapi/model/api_health.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar.py b/vrchatapi/model/avatar.py index d2ccc2ca..02fcfee5 100644 --- a/vrchatapi/model/avatar.py +++ b/vrchatapi/model/avatar.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar_id.py b/vrchatapi/model/avatar_id.py index 7dedbec6..652c4e9f 100644 --- a/vrchatapi/model/avatar_id.py +++ b/vrchatapi/model/avatar_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar_unity_package_url_object.py b/vrchatapi/model/avatar_unity_package_url_object.py index 3be7392c..6a527e65 100644 --- a/vrchatapi/model/avatar_unity_package_url_object.py +++ b/vrchatapi/model/avatar_unity_package_url_object.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_avatar_request.py b/vrchatapi/model/create_avatar_request.py index 1db56ca6..1aefec24 100644 --- a/vrchatapi/model/create_avatar_request.py +++ b/vrchatapi/model/create_avatar_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_file_request.py b/vrchatapi/model/create_file_request.py index 74f00118..f249287d 100644 --- a/vrchatapi/model/create_file_request.py +++ b/vrchatapi/model/create_file_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_file_version_request.py b/vrchatapi/model/create_file_version_request.py index c20a3ead..785ffffc 100644 --- a/vrchatapi/model/create_file_version_request.py +++ b/vrchatapi/model/create_file_version_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_world_request.py b/vrchatapi/model/create_world_request.py index 6512d4f6..f70f1b41 100644 --- a/vrchatapi/model/create_world_request.py +++ b/vrchatapi/model/create_world_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/current_user.py b/vrchatapi/model/current_user.py index 542ece06..ddb6e8ba 100644 --- a/vrchatapi/model/current_user.py +++ b/vrchatapi/model/current_user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/deployment_group.py b/vrchatapi/model/deployment_group.py index 8b0380b9..87532217 100644 --- a/vrchatapi/model/deployment_group.py +++ b/vrchatapi/model/deployment_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/developer_type.py b/vrchatapi/model/developer_type.py index 512a7955..ca9822fe 100644 --- a/vrchatapi/model/developer_type.py +++ b/vrchatapi/model/developer_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/download_url_list.py b/vrchatapi/model/download_url_list.py index 3c999fda..edabbab5 100644 --- a/vrchatapi/model/download_url_list.py +++ b/vrchatapi/model/download_url_list.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/dynamic_content_row.py b/vrchatapi/model/dynamic_content_row.py index f90edd32..fa77bb0d 100644 --- a/vrchatapi/model/dynamic_content_row.py +++ b/vrchatapi/model/dynamic_content_row.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/error.py b/vrchatapi/model/error.py index bf838e28..f8f6db82 100644 --- a/vrchatapi/model/error.py +++ b/vrchatapi/model/error.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite.py b/vrchatapi/model/favorite.py index 1dd52bd6..e09609ec 100644 --- a/vrchatapi/model/favorite.py +++ b/vrchatapi/model/favorite.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group.py b/vrchatapi/model/favorite_group.py index c767fd71..52bb470c 100644 --- a/vrchatapi/model/favorite_group.py +++ b/vrchatapi/model/favorite_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group_id.py b/vrchatapi/model/favorite_group_id.py index cfa10014..2b19e22e 100644 --- a/vrchatapi/model/favorite_group_id.py +++ b/vrchatapi/model/favorite_group_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group_visibility.py b/vrchatapi/model/favorite_group_visibility.py index bc5bcfa7..4c8f7052 100644 --- a/vrchatapi/model/favorite_group_visibility.py +++ b/vrchatapi/model/favorite_group_visibility.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_id.py b/vrchatapi/model/favorite_id.py index aec11473..ab69db78 100644 --- a/vrchatapi/model/favorite_id.py +++ b/vrchatapi/model/favorite_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_type.py b/vrchatapi/model/favorite_type.py index b35fe93b..ad705f43 100644 --- a/vrchatapi/model/favorite_type.py +++ b/vrchatapi/model/favorite_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file.py b/vrchatapi/model/file.py index 8b185031..7c05ce9d 100644 --- a/vrchatapi/model/file.py +++ b/vrchatapi/model/file.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_data.py b/vrchatapi/model/file_data.py index de7f19f4..17198b8f 100644 --- a/vrchatapi/model/file_data.py +++ b/vrchatapi/model/file_data.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_id.py b/vrchatapi/model/file_id.py index ccfbaa34..aa677be7 100644 --- a/vrchatapi/model/file_id.py +++ b/vrchatapi/model/file_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_status.py b/vrchatapi/model/file_status.py index 404f7c52..ef8d5754 100644 --- a/vrchatapi/model/file_status.py +++ b/vrchatapi/model/file_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_upload_url.py b/vrchatapi/model/file_upload_url.py index c66d08fc..53f40566 100644 --- a/vrchatapi/model/file_upload_url.py +++ b/vrchatapi/model/file_upload_url.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_version.py b/vrchatapi/model/file_version.py index 871aaa46..78972362 100644 --- a/vrchatapi/model/file_version.py +++ b/vrchatapi/model/file_version.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_version_upload_status.py b/vrchatapi/model/file_version_upload_status.py index 47024c33..dc331ae2 100644 --- a/vrchatapi/model/file_version_upload_status.py +++ b/vrchatapi/model/file_version_upload_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/finish_file_data_upload_request.py b/vrchatapi/model/finish_file_data_upload_request.py index a4276828..c7ad671f 100644 --- a/vrchatapi/model/finish_file_data_upload_request.py +++ b/vrchatapi/model/finish_file_data_upload_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/friend_status.py b/vrchatapi/model/friend_status.py index 723d0bd7..43badff4 100644 --- a/vrchatapi/model/friend_status.py +++ b/vrchatapi/model/friend_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push.py b/vrchatapi/model/info_push.py index 680f4eb2..d9cfec9e 100644 --- a/vrchatapi/model/info_push.py +++ b/vrchatapi/model/info_push.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data.py b/vrchatapi/model/info_push_data.py index 765f08c3..990ef838 100644 --- a/vrchatapi/model/info_push_data.py +++ b/vrchatapi/model/info_push_data.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_article.py b/vrchatapi/model/info_push_data_article.py index 55109b76..c3652f10 100644 --- a/vrchatapi/model/info_push_data_article.py +++ b/vrchatapi/model/info_push_data_article.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_article_content.py b/vrchatapi/model/info_push_data_article_content.py index d90d3575..8c97d43a 100644 --- a/vrchatapi/model/info_push_data_article_content.py +++ b/vrchatapi/model/info_push_data_article_content.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_clickable.py b/vrchatapi/model/info_push_data_clickable.py index 14665c3e..4a00e0dd 100644 --- a/vrchatapi/model/info_push_data_clickable.py +++ b/vrchatapi/model/info_push_data_clickable.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance.py b/vrchatapi/model/instance.py index 6f147d46..142cd64b 100644 --- a/vrchatapi/model/instance.py +++ b/vrchatapi/model/instance.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_id.py b/vrchatapi/model/instance_id.py index 21d51004..2bdedbda 100644 --- a/vrchatapi/model/instance_id.py +++ b/vrchatapi/model/instance_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ @@ -107,10 +107,10 @@ def __init__(self, *args, **kwargs): Note that value can be passed either in args or in kwargs, but not in both. Args: - args[0] (str): InstanceID be \"offline\" on User profiles if you are not friends with that user.. # noqa: E501 + args[0] (str): InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance.. # noqa: E501 Keyword Args: - value (str): InstanceID be \"offline\" on User profiles if you are not friends with that user.. # noqa: E501 + value (str): InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance.. # noqa: E501 _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. @@ -197,10 +197,10 @@ def _from_openapi_data(cls, *args, **kwargs): Note that value can be passed either in args or in kwargs, but not in both. Args: - args[0] (str): InstanceID be \"offline\" on User profiles if you are not friends with that user.. # noqa: E501 + args[0] (str): InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance.. # noqa: E501 Keyword Args: - value (str): InstanceID be \"offline\" on User profiles if you are not friends with that user.. # noqa: E501 + value (str): InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance.. # noqa: E501 _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. diff --git a/vrchatapi/model/instance_platforms.py b/vrchatapi/model/instance_platforms.py index e8aa6e0b..35d2c518 100644 --- a/vrchatapi/model/instance_platforms.py +++ b/vrchatapi/model/instance_platforms.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_type.py b/vrchatapi/model/instance_type.py index fab8f499..3e9d74bd 100644 --- a/vrchatapi/model/instance_type.py +++ b/vrchatapi/model/instance_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message.py b/vrchatapi/model/invite_message.py index ded5b6c0..feec8c09 100644 --- a/vrchatapi/model/invite_message.py +++ b/vrchatapi/model/invite_message.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message_id.py b/vrchatapi/model/invite_message_id.py index e33024b1..4367b7ed 100644 --- a/vrchatapi/model/invite_message_id.py +++ b/vrchatapi/model/invite_message_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message_type.py b/vrchatapi/model/invite_message_type.py index 661b353a..d304da7d 100644 --- a/vrchatapi/model/invite_message_type.py +++ b/vrchatapi/model/invite_message_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_request.py b/vrchatapi/model/invite_request.py index 7b218ccd..93b9887f 100644 --- a/vrchatapi/model/invite_request.py +++ b/vrchatapi/model/invite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_response.py b/vrchatapi/model/invite_response.py index fee3f3b4..58c4a768 100644 --- a/vrchatapi/model/invite_response.py +++ b/vrchatapi/model/invite_response.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license.py b/vrchatapi/model/license.py index 955b0113..73c7a167 100644 --- a/vrchatapi/model/license.py +++ b/vrchatapi/model/license.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_action.py b/vrchatapi/model/license_action.py index 0b6e2a3f..9cb20ad7 100644 --- a/vrchatapi/model/license_action.py +++ b/vrchatapi/model/license_action.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_group.py b/vrchatapi/model/license_group.py index d1ce7573..f9e904ac 100644 --- a/vrchatapi/model/license_group.py +++ b/vrchatapi/model/license_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_group_id.py b/vrchatapi/model/license_group_id.py index 91f47a4c..dd43457a 100644 --- a/vrchatapi/model/license_group_id.py +++ b/vrchatapi/model/license_group_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_type.py b/vrchatapi/model/license_type.py index 6858fd59..827f92a9 100644 --- a/vrchatapi/model/license_type.py +++ b/vrchatapi/model/license_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_unity_package.py b/vrchatapi/model/limited_unity_package.py index 4d0f4f62..3102cedf 100644 --- a/vrchatapi/model/limited_unity_package.py +++ b/vrchatapi/model/limited_unity_package.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_user.py b/vrchatapi/model/limited_user.py index 0903c4d6..db249312 100644 --- a/vrchatapi/model/limited_user.py +++ b/vrchatapi/model/limited_user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_world.py b/vrchatapi/model/limited_world.py index b03fcd32..6106682a 100644 --- a/vrchatapi/model/limited_world.py +++ b/vrchatapi/model/limited_world.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/mime_type.py b/vrchatapi/model/mime_type.py index 2a4dd7a6..1970017b 100644 --- a/vrchatapi/model/mime_type.py +++ b/vrchatapi/model/mime_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/moderate_user_request.py b/vrchatapi/model/moderate_user_request.py index e7a4be46..caec844a 100644 --- a/vrchatapi/model/moderate_user_request.py +++ b/vrchatapi/model/moderate_user_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/notification.py b/vrchatapi/model/notification.py index 2ead1e61..f8e61bf3 100644 --- a/vrchatapi/model/notification.py +++ b/vrchatapi/model/notification.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/notification_type.py b/vrchatapi/model/notification_type.py index 0d10438d..6beb896e 100644 --- a/vrchatapi/model/notification_type.py +++ b/vrchatapi/model/notification_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/past_display_name.py b/vrchatapi/model/past_display_name.py index ea20ed75..9c64a773 100644 --- a/vrchatapi/model/past_display_name.py +++ b/vrchatapi/model/past_display_name.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/permission.py b/vrchatapi/model/permission.py index 23d29cfa..43f36c8f 100644 --- a/vrchatapi/model/permission.py +++ b/vrchatapi/model/permission.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/permission_id.py b/vrchatapi/model/permission_id.py index 49b29020..0f527f26 100644 --- a/vrchatapi/model/permission_id.py +++ b/vrchatapi/model/permission_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation.py b/vrchatapi/model/player_moderation.py index 4b5d3601..da392482 100644 --- a/vrchatapi/model/player_moderation.py +++ b/vrchatapi/model/player_moderation.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation_id.py b/vrchatapi/model/player_moderation_id.py index b15e04e2..0316e887 100644 --- a/vrchatapi/model/player_moderation_id.py +++ b/vrchatapi/model/player_moderation_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation_type.py b/vrchatapi/model/player_moderation_type.py index c7ea440b..87ed279b 100644 --- a/vrchatapi/model/player_moderation_type.py +++ b/vrchatapi/model/player_moderation_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/public_announcement.py b/vrchatapi/model/public_announcement.py index 1ac25efa..dada51d6 100644 --- a/vrchatapi/model/public_announcement.py +++ b/vrchatapi/model/public_announcement.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/region.py b/vrchatapi/model/region.py index 8462815f..d6dd85b6 100644 --- a/vrchatapi/model/region.py +++ b/vrchatapi/model/region.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/release_status.py b/vrchatapi/model/release_status.py index ccc1c1f7..d971f0cc 100644 --- a/vrchatapi/model/release_status.py +++ b/vrchatapi/model/release_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/request_invite_request.py b/vrchatapi/model/request_invite_request.py index 63de876b..e1dbf31b 100644 --- a/vrchatapi/model/request_invite_request.py +++ b/vrchatapi/model/request_invite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/response.py b/vrchatapi/model/response.py index 91452125..0f16ce55 100644 --- a/vrchatapi/model/response.py +++ b/vrchatapi/model/response.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/subscription.py b/vrchatapi/model/subscription.py index 9259449c..2e443d9d 100644 --- a/vrchatapi/model/subscription.py +++ b/vrchatapi/model/subscription.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/subscription_period.py b/vrchatapi/model/subscription_period.py index 80c9861b..47dc7e3d 100644 --- a/vrchatapi/model/subscription_period.py +++ b/vrchatapi/model/subscription_period.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/success.py b/vrchatapi/model/success.py index 61e35968..e8f11240 100644 --- a/vrchatapi/model/success.py +++ b/vrchatapi/model/success.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/tag.py b/vrchatapi/model/tag.py index 72b4a4b0..b0028d8e 100644 --- a/vrchatapi/model/tag.py +++ b/vrchatapi/model/tag.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction.py b/vrchatapi/model/transaction.py index 8481a79c..7c32c86e 100644 --- a/vrchatapi/model/transaction.py +++ b/vrchatapi/model/transaction.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_agreement.py b/vrchatapi/model/transaction_agreement.py index 9b304b64..c5c1be93 100644 --- a/vrchatapi/model/transaction_agreement.py +++ b/vrchatapi/model/transaction_agreement.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_id.py b/vrchatapi/model/transaction_id.py index 16a8d116..ed776c1a 100644 --- a/vrchatapi/model/transaction_id.py +++ b/vrchatapi/model/transaction_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_status.py b/vrchatapi/model/transaction_status.py index 2f954dea..d728ba83 100644 --- a/vrchatapi/model/transaction_status.py +++ b/vrchatapi/model/transaction_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_steam_info.py b/vrchatapi/model/transaction_steam_info.py index 6b10b013..8ac582a3 100644 --- a/vrchatapi/model/transaction_steam_info.py +++ b/vrchatapi/model/transaction_steam_info.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_steam_wallet_info.py b/vrchatapi/model/transaction_steam_wallet_info.py index 4b5b93d8..2f6e6729 100644 --- a/vrchatapi/model/transaction_steam_wallet_info.py +++ b/vrchatapi/model/transaction_steam_wallet_info.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/two_factor_auth_code.py b/vrchatapi/model/two_factor_auth_code.py index 3c6c58b9..f6695dd5 100644 --- a/vrchatapi/model/two_factor_auth_code.py +++ b/vrchatapi/model/two_factor_auth_code.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/unity_package.py b/vrchatapi/model/unity_package.py index 87dcbd11..ff917a4b 100644 --- a/vrchatapi/model/unity_package.py +++ b/vrchatapi/model/unity_package.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/unity_package_id.py b/vrchatapi/model/unity_package_id.py index c21853a5..30dac3fc 100644 --- a/vrchatapi/model/unity_package_id.py +++ b/vrchatapi/model/unity_package_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_avatar_request.py b/vrchatapi/model/update_avatar_request.py index 55b46ef3..7fdeb1eb 100644 --- a/vrchatapi/model/update_avatar_request.py +++ b/vrchatapi/model/update_avatar_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_favorite_group_request.py b/vrchatapi/model/update_favorite_group_request.py index e9a402f3..3d9b1ddf 100644 --- a/vrchatapi/model/update_favorite_group_request.py +++ b/vrchatapi/model/update_favorite_group_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_invite_message_request.py b/vrchatapi/model/update_invite_message_request.py index 1e8002fa..0d7188cb 100644 --- a/vrchatapi/model/update_invite_message_request.py +++ b/vrchatapi/model/update_invite_message_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_user_request.py b/vrchatapi/model/update_user_request.py index cea642d6..4834020c 100644 --- a/vrchatapi/model/update_user_request.py +++ b/vrchatapi/model/update_user_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_world_request.py b/vrchatapi/model/update_world_request.py index 8a307967..371977f2 100644 --- a/vrchatapi/model/update_world_request.py +++ b/vrchatapi/model/update_world_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user.py b/vrchatapi/model/user.py index e61b3012..b19b2eb8 100644 --- a/vrchatapi/model/user.py +++ b/vrchatapi/model/user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_exists.py b/vrchatapi/model/user_exists.py index 01c9ca65..e6413b61 100644 --- a/vrchatapi/model/user_exists.py +++ b/vrchatapi/model/user_exists.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_state.py b/vrchatapi/model/user_state.py index 82dba14b..3fc017ed 100644 --- a/vrchatapi/model/user_state.py +++ b/vrchatapi/model/user_state.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_status.py b/vrchatapi/model/user_status.py index 7d3c183b..a2618b24 100644 --- a/vrchatapi/model/user_status.py +++ b/vrchatapi/model/user_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_subscription.py b/vrchatapi/model/user_subscription.py index 968561bc..ef0ed1d1 100644 --- a/vrchatapi/model/user_subscription.py +++ b/vrchatapi/model/user_subscription.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/verify2_fa_result.py b/vrchatapi/model/verify2_fa_result.py index 0f7d84dc..f29574bf 100644 --- a/vrchatapi/model/verify2_fa_result.py +++ b/vrchatapi/model/verify2_fa_result.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/verify_auth_token_result.py b/vrchatapi/model/verify_auth_token_result.py index d6b196fd..08afa54c 100644 --- a/vrchatapi/model/verify_auth_token_result.py +++ b/vrchatapi/model/verify_auth_token_result.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world.py b/vrchatapi/model/world.py index 75a444e0..d1446ab2 100644 --- a/vrchatapi/model/world.py +++ b/vrchatapi/model/world.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_id.py b/vrchatapi/model/world_id.py index ab899187..160900c4 100644 --- a/vrchatapi/model/world_id.py +++ b/vrchatapi/model/world_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_metadata.py b/vrchatapi/model/world_metadata.py index e832e3db..a19ce4d8 100644 --- a/vrchatapi/model/world_metadata.py +++ b/vrchatapi/model/world_metadata.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_publish_status.py b/vrchatapi/model/world_publish_status.py index c188c9c1..8d2449cd 100644 --- a/vrchatapi/model/world_publish_status.py +++ b/vrchatapi/model/world_publish_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model_utils.py b/vrchatapi/model_utils.py index 9fa89922..1e95a770 100644 --- a/vrchatapi/model_utils.py +++ b/vrchatapi/model_utils.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index 602b1300..b9cc0667 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.7 + The version of the OpenAPI document: 1.6.8 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ From f50d37eeeacbe3875c1cb80c20b059b9d4f236b3 Mon Sep 17 00:00:00 2001 From: VRCCat Date: Thu, 27 Jan 2022 00:04:42 +0000 Subject: [PATCH 004/102] Upgrade Python SDK to spec 1.6.9 --- setup.py | 4 ++-- vrchatapi/__init__.py | 2 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 ++-- vrchatapi/exceptions.py | 2 +- vrchatapi/model/add_favorite_request.py | 2 +- vrchatapi/model/api_config.py | 2 +- vrchatapi/model/api_event_config.py | 2 +- vrchatapi/model/api_health.py | 2 +- vrchatapi/model/avatar.py | 2 +- vrchatapi/model/avatar_id.py | 2 +- vrchatapi/model/avatar_unity_package_url_object.py | 2 +- vrchatapi/model/create_avatar_request.py | 2 +- vrchatapi/model/create_file_request.py | 2 +- vrchatapi/model/create_file_version_request.py | 2 +- vrchatapi/model/create_world_request.py | 2 +- vrchatapi/model/current_user.py | 2 +- vrchatapi/model/deployment_group.py | 2 +- vrchatapi/model/developer_type.py | 2 +- vrchatapi/model/download_url_list.py | 2 +- vrchatapi/model/dynamic_content_row.py | 2 +- vrchatapi/model/error.py | 2 +- vrchatapi/model/favorite.py | 2 +- vrchatapi/model/favorite_group.py | 2 +- vrchatapi/model/favorite_group_id.py | 2 +- vrchatapi/model/favorite_group_visibility.py | 2 +- vrchatapi/model/favorite_id.py | 2 +- vrchatapi/model/favorite_type.py | 2 +- vrchatapi/model/file.py | 2 +- vrchatapi/model/file_data.py | 2 +- vrchatapi/model/file_id.py | 2 +- vrchatapi/model/file_status.py | 2 +- vrchatapi/model/file_upload_url.py | 2 +- vrchatapi/model/file_version.py | 2 +- vrchatapi/model/file_version_upload_status.py | 2 +- vrchatapi/model/finish_file_data_upload_request.py | 2 +- vrchatapi/model/friend_status.py | 2 +- vrchatapi/model/info_push.py | 2 +- vrchatapi/model/info_push_data.py | 2 +- vrchatapi/model/info_push_data_article.py | 2 +- vrchatapi/model/info_push_data_article_content.py | 2 +- vrchatapi/model/info_push_data_clickable.py | 2 +- vrchatapi/model/instance.py | 2 +- vrchatapi/model/instance_id.py | 3 +-- vrchatapi/model/instance_platforms.py | 2 +- vrchatapi/model/instance_type.py | 2 +- vrchatapi/model/invite_message.py | 2 +- vrchatapi/model/invite_message_id.py | 2 +- vrchatapi/model/invite_message_type.py | 2 +- vrchatapi/model/invite_request.py | 2 +- vrchatapi/model/invite_response.py | 2 +- vrchatapi/model/license.py | 2 +- vrchatapi/model/license_action.py | 2 +- vrchatapi/model/license_group.py | 2 +- vrchatapi/model/license_group_id.py | 2 +- vrchatapi/model/license_type.py | 2 +- vrchatapi/model/limited_unity_package.py | 2 +- vrchatapi/model/limited_user.py | 2 +- vrchatapi/model/limited_world.py | 2 +- vrchatapi/model/mime_type.py | 2 +- vrchatapi/model/moderate_user_request.py | 2 +- vrchatapi/model/notification.py | 2 +- vrchatapi/model/notification_type.py | 2 +- vrchatapi/model/past_display_name.py | 2 +- vrchatapi/model/permission.py | 2 +- vrchatapi/model/permission_id.py | 2 +- vrchatapi/model/player_moderation.py | 2 +- vrchatapi/model/player_moderation_id.py | 2 +- vrchatapi/model/player_moderation_type.py | 2 +- vrchatapi/model/public_announcement.py | 2 +- vrchatapi/model/region.py | 2 +- vrchatapi/model/release_status.py | 2 +- vrchatapi/model/request_invite_request.py | 2 +- vrchatapi/model/response.py | 2 +- vrchatapi/model/subscription.py | 2 +- vrchatapi/model/subscription_period.py | 2 +- vrchatapi/model/success.py | 2 +- vrchatapi/model/tag.py | 2 +- vrchatapi/model/transaction.py | 2 +- vrchatapi/model/transaction_agreement.py | 2 +- vrchatapi/model/transaction_id.py | 2 +- vrchatapi/model/transaction_status.py | 2 +- vrchatapi/model/transaction_steam_info.py | 2 +- vrchatapi/model/transaction_steam_wallet_info.py | 2 +- vrchatapi/model/two_factor_auth_code.py | 2 +- vrchatapi/model/unity_package.py | 2 +- vrchatapi/model/unity_package_id.py | 2 +- vrchatapi/model/update_avatar_request.py | 2 +- vrchatapi/model/update_favorite_group_request.py | 2 +- vrchatapi/model/update_invite_message_request.py | 2 +- vrchatapi/model/update_user_request.py | 2 +- vrchatapi/model/update_world_request.py | 2 +- vrchatapi/model/user.py | 2 +- vrchatapi/model/user_exists.py | 2 +- vrchatapi/model/user_state.py | 2 +- vrchatapi/model/user_status.py | 2 +- vrchatapi/model/user_subscription.py | 2 +- vrchatapi/model/verify2_fa_result.py | 2 +- vrchatapi/model/verify_auth_token_result.py | 2 +- vrchatapi/model/world.py | 2 +- vrchatapi/model/world_id.py | 2 +- vrchatapi/model/world_metadata.py | 2 +- vrchatapi/model/world_publish_status.py | 2 +- vrchatapi/model_utils.py | 2 +- vrchatapi/rest.py | 2 +- 119 files changed, 121 insertions(+), 122 deletions(-) diff --git a/setup.py b/setup.py index f4698b8c..c0b29b75 100644 --- a/setup.py +++ b/setup.py @@ -64,7 +64,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ @@ -73,7 +73,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.6.8" +VERSION = "1.6.9" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index dfbd81a9..5b756763 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index 55e19439..41e33d2a 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index e7e0d6c1..fc4d7688 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 12dd8364..5e26273f 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index 7d51a7de..568df868 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index 781c2fc8..fc627b38 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index 364f4d46..43f66bd4 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 03a5262c..c608f46f 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index 6ad9797b..a42066c6 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index 89947a3f..0f624185 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index d8939bd5..2ba95d00 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index 4389976c..08618252 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index 2c68d6eb..59731431 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index 8dcb541e..347dfc16 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 7904e76f..6801d365 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index 174bda41..d2cecec8 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index 5bc5f88b..99847ff7 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ @@ -455,7 +455,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.6.8\n"\ + "Version of the API: 1.6.9\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index a6e60442..dca448ff 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/add_favorite_request.py b/vrchatapi/model/add_favorite_request.py index 8ee8202c..4c4c768b 100644 --- a/vrchatapi/model/add_favorite_request.py +++ b/vrchatapi/model/add_favorite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_config.py b/vrchatapi/model/api_config.py index 8c157019..4e855fb7 100644 --- a/vrchatapi/model/api_config.py +++ b/vrchatapi/model/api_config.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_event_config.py b/vrchatapi/model/api_event_config.py index 60391ace..bac82572 100644 --- a/vrchatapi/model/api_event_config.py +++ b/vrchatapi/model/api_event_config.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_health.py b/vrchatapi/model/api_health.py index 97181a62..cc5a3e0f 100644 --- a/vrchatapi/model/api_health.py +++ b/vrchatapi/model/api_health.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar.py b/vrchatapi/model/avatar.py index 02fcfee5..5d928337 100644 --- a/vrchatapi/model/avatar.py +++ b/vrchatapi/model/avatar.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar_id.py b/vrchatapi/model/avatar_id.py index 652c4e9f..b2fe5f84 100644 --- a/vrchatapi/model/avatar_id.py +++ b/vrchatapi/model/avatar_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar_unity_package_url_object.py b/vrchatapi/model/avatar_unity_package_url_object.py index 6a527e65..d76c9f78 100644 --- a/vrchatapi/model/avatar_unity_package_url_object.py +++ b/vrchatapi/model/avatar_unity_package_url_object.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_avatar_request.py b/vrchatapi/model/create_avatar_request.py index 1aefec24..b1754e86 100644 --- a/vrchatapi/model/create_avatar_request.py +++ b/vrchatapi/model/create_avatar_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_file_request.py b/vrchatapi/model/create_file_request.py index f249287d..02c4edcf 100644 --- a/vrchatapi/model/create_file_request.py +++ b/vrchatapi/model/create_file_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_file_version_request.py b/vrchatapi/model/create_file_version_request.py index 785ffffc..bdc42f2d 100644 --- a/vrchatapi/model/create_file_version_request.py +++ b/vrchatapi/model/create_file_version_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_world_request.py b/vrchatapi/model/create_world_request.py index f70f1b41..89e1b5c3 100644 --- a/vrchatapi/model/create_world_request.py +++ b/vrchatapi/model/create_world_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/current_user.py b/vrchatapi/model/current_user.py index ddb6e8ba..6a8c16cd 100644 --- a/vrchatapi/model/current_user.py +++ b/vrchatapi/model/current_user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/deployment_group.py b/vrchatapi/model/deployment_group.py index 87532217..4d9caa96 100644 --- a/vrchatapi/model/deployment_group.py +++ b/vrchatapi/model/deployment_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/developer_type.py b/vrchatapi/model/developer_type.py index ca9822fe..78586849 100644 --- a/vrchatapi/model/developer_type.py +++ b/vrchatapi/model/developer_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/download_url_list.py b/vrchatapi/model/download_url_list.py index edabbab5..9541e50f 100644 --- a/vrchatapi/model/download_url_list.py +++ b/vrchatapi/model/download_url_list.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/dynamic_content_row.py b/vrchatapi/model/dynamic_content_row.py index fa77bb0d..e49dc9e9 100644 --- a/vrchatapi/model/dynamic_content_row.py +++ b/vrchatapi/model/dynamic_content_row.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/error.py b/vrchatapi/model/error.py index f8f6db82..9f795ccf 100644 --- a/vrchatapi/model/error.py +++ b/vrchatapi/model/error.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite.py b/vrchatapi/model/favorite.py index e09609ec..56829483 100644 --- a/vrchatapi/model/favorite.py +++ b/vrchatapi/model/favorite.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group.py b/vrchatapi/model/favorite_group.py index 52bb470c..eb341a90 100644 --- a/vrchatapi/model/favorite_group.py +++ b/vrchatapi/model/favorite_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group_id.py b/vrchatapi/model/favorite_group_id.py index 2b19e22e..e18d7dee 100644 --- a/vrchatapi/model/favorite_group_id.py +++ b/vrchatapi/model/favorite_group_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group_visibility.py b/vrchatapi/model/favorite_group_visibility.py index 4c8f7052..dfb4c92c 100644 --- a/vrchatapi/model/favorite_group_visibility.py +++ b/vrchatapi/model/favorite_group_visibility.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_id.py b/vrchatapi/model/favorite_id.py index ab69db78..bcca06ef 100644 --- a/vrchatapi/model/favorite_id.py +++ b/vrchatapi/model/favorite_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_type.py b/vrchatapi/model/favorite_type.py index ad705f43..92cdca7e 100644 --- a/vrchatapi/model/favorite_type.py +++ b/vrchatapi/model/favorite_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file.py b/vrchatapi/model/file.py index 7c05ce9d..c45165ee 100644 --- a/vrchatapi/model/file.py +++ b/vrchatapi/model/file.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_data.py b/vrchatapi/model/file_data.py index 17198b8f..b1d4f2d2 100644 --- a/vrchatapi/model/file_data.py +++ b/vrchatapi/model/file_data.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_id.py b/vrchatapi/model/file_id.py index aa677be7..7441cdb0 100644 --- a/vrchatapi/model/file_id.py +++ b/vrchatapi/model/file_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_status.py b/vrchatapi/model/file_status.py index ef8d5754..c544ffe0 100644 --- a/vrchatapi/model/file_status.py +++ b/vrchatapi/model/file_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_upload_url.py b/vrchatapi/model/file_upload_url.py index 53f40566..52da40f3 100644 --- a/vrchatapi/model/file_upload_url.py +++ b/vrchatapi/model/file_upload_url.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_version.py b/vrchatapi/model/file_version.py index 78972362..0db39023 100644 --- a/vrchatapi/model/file_version.py +++ b/vrchatapi/model/file_version.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_version_upload_status.py b/vrchatapi/model/file_version_upload_status.py index dc331ae2..01c2cacc 100644 --- a/vrchatapi/model/file_version_upload_status.py +++ b/vrchatapi/model/file_version_upload_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/finish_file_data_upload_request.py b/vrchatapi/model/finish_file_data_upload_request.py index c7ad671f..7a14a616 100644 --- a/vrchatapi/model/finish_file_data_upload_request.py +++ b/vrchatapi/model/finish_file_data_upload_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/friend_status.py b/vrchatapi/model/friend_status.py index 43badff4..6c468a00 100644 --- a/vrchatapi/model/friend_status.py +++ b/vrchatapi/model/friend_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push.py b/vrchatapi/model/info_push.py index d9cfec9e..1527b6cd 100644 --- a/vrchatapi/model/info_push.py +++ b/vrchatapi/model/info_push.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data.py b/vrchatapi/model/info_push_data.py index 990ef838..9c6b876b 100644 --- a/vrchatapi/model/info_push_data.py +++ b/vrchatapi/model/info_push_data.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_article.py b/vrchatapi/model/info_push_data_article.py index c3652f10..9fc707e6 100644 --- a/vrchatapi/model/info_push_data_article.py +++ b/vrchatapi/model/info_push_data_article.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_article_content.py b/vrchatapi/model/info_push_data_article_content.py index 8c97d43a..2bcff938 100644 --- a/vrchatapi/model/info_push_data_article_content.py +++ b/vrchatapi/model/info_push_data_article_content.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_clickable.py b/vrchatapi/model/info_push_data_clickable.py index 4a00e0dd..c0e434b4 100644 --- a/vrchatapi/model/info_push_data_clickable.py +++ b/vrchatapi/model/info_push_data_clickable.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance.py b/vrchatapi/model/instance.py index 142cd64b..b7669ff1 100644 --- a/vrchatapi/model/instance.py +++ b/vrchatapi/model/instance.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_id.py b/vrchatapi/model/instance_id.py index 2bdedbda..a3902d2a 100644 --- a/vrchatapi/model/instance_id.py +++ b/vrchatapi/model/instance_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ @@ -55,7 +55,6 @@ class InstanceID(ModelSimple): validations = { ('value',): { - 'min_length': 41, 'regex': { 'pattern': r'', # noqa: E501 }, diff --git a/vrchatapi/model/instance_platforms.py b/vrchatapi/model/instance_platforms.py index 35d2c518..8bb41a4f 100644 --- a/vrchatapi/model/instance_platforms.py +++ b/vrchatapi/model/instance_platforms.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_type.py b/vrchatapi/model/instance_type.py index 3e9d74bd..293c71df 100644 --- a/vrchatapi/model/instance_type.py +++ b/vrchatapi/model/instance_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message.py b/vrchatapi/model/invite_message.py index feec8c09..0bd16ae3 100644 --- a/vrchatapi/model/invite_message.py +++ b/vrchatapi/model/invite_message.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message_id.py b/vrchatapi/model/invite_message_id.py index 4367b7ed..08b4e78f 100644 --- a/vrchatapi/model/invite_message_id.py +++ b/vrchatapi/model/invite_message_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message_type.py b/vrchatapi/model/invite_message_type.py index d304da7d..c3860c09 100644 --- a/vrchatapi/model/invite_message_type.py +++ b/vrchatapi/model/invite_message_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_request.py b/vrchatapi/model/invite_request.py index 93b9887f..ead07a88 100644 --- a/vrchatapi/model/invite_request.py +++ b/vrchatapi/model/invite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_response.py b/vrchatapi/model/invite_response.py index 58c4a768..e6f7974c 100644 --- a/vrchatapi/model/invite_response.py +++ b/vrchatapi/model/invite_response.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license.py b/vrchatapi/model/license.py index 73c7a167..5ce5be3a 100644 --- a/vrchatapi/model/license.py +++ b/vrchatapi/model/license.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_action.py b/vrchatapi/model/license_action.py index 9cb20ad7..df290811 100644 --- a/vrchatapi/model/license_action.py +++ b/vrchatapi/model/license_action.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_group.py b/vrchatapi/model/license_group.py index f9e904ac..96480205 100644 --- a/vrchatapi/model/license_group.py +++ b/vrchatapi/model/license_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_group_id.py b/vrchatapi/model/license_group_id.py index dd43457a..ac1717f7 100644 --- a/vrchatapi/model/license_group_id.py +++ b/vrchatapi/model/license_group_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_type.py b/vrchatapi/model/license_type.py index 827f92a9..9e0d751c 100644 --- a/vrchatapi/model/license_type.py +++ b/vrchatapi/model/license_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_unity_package.py b/vrchatapi/model/limited_unity_package.py index 3102cedf..ee32aa95 100644 --- a/vrchatapi/model/limited_unity_package.py +++ b/vrchatapi/model/limited_unity_package.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_user.py b/vrchatapi/model/limited_user.py index db249312..05266095 100644 --- a/vrchatapi/model/limited_user.py +++ b/vrchatapi/model/limited_user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_world.py b/vrchatapi/model/limited_world.py index 6106682a..3d40ece5 100644 --- a/vrchatapi/model/limited_world.py +++ b/vrchatapi/model/limited_world.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/mime_type.py b/vrchatapi/model/mime_type.py index 1970017b..85f8d8ff 100644 --- a/vrchatapi/model/mime_type.py +++ b/vrchatapi/model/mime_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/moderate_user_request.py b/vrchatapi/model/moderate_user_request.py index caec844a..94f9d72a 100644 --- a/vrchatapi/model/moderate_user_request.py +++ b/vrchatapi/model/moderate_user_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/notification.py b/vrchatapi/model/notification.py index f8e61bf3..c3aa18e6 100644 --- a/vrchatapi/model/notification.py +++ b/vrchatapi/model/notification.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/notification_type.py b/vrchatapi/model/notification_type.py index 6beb896e..c4be0aca 100644 --- a/vrchatapi/model/notification_type.py +++ b/vrchatapi/model/notification_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/past_display_name.py b/vrchatapi/model/past_display_name.py index 9c64a773..1a972284 100644 --- a/vrchatapi/model/past_display_name.py +++ b/vrchatapi/model/past_display_name.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/permission.py b/vrchatapi/model/permission.py index 43f36c8f..a83e0490 100644 --- a/vrchatapi/model/permission.py +++ b/vrchatapi/model/permission.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/permission_id.py b/vrchatapi/model/permission_id.py index 0f527f26..9ada6bf6 100644 --- a/vrchatapi/model/permission_id.py +++ b/vrchatapi/model/permission_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation.py b/vrchatapi/model/player_moderation.py index da392482..71065373 100644 --- a/vrchatapi/model/player_moderation.py +++ b/vrchatapi/model/player_moderation.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation_id.py b/vrchatapi/model/player_moderation_id.py index 0316e887..731c5bb8 100644 --- a/vrchatapi/model/player_moderation_id.py +++ b/vrchatapi/model/player_moderation_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation_type.py b/vrchatapi/model/player_moderation_type.py index 87ed279b..f6467d27 100644 --- a/vrchatapi/model/player_moderation_type.py +++ b/vrchatapi/model/player_moderation_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/public_announcement.py b/vrchatapi/model/public_announcement.py index dada51d6..36efdf1b 100644 --- a/vrchatapi/model/public_announcement.py +++ b/vrchatapi/model/public_announcement.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/region.py b/vrchatapi/model/region.py index d6dd85b6..8a36b235 100644 --- a/vrchatapi/model/region.py +++ b/vrchatapi/model/region.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/release_status.py b/vrchatapi/model/release_status.py index d971f0cc..55ceddee 100644 --- a/vrchatapi/model/release_status.py +++ b/vrchatapi/model/release_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/request_invite_request.py b/vrchatapi/model/request_invite_request.py index e1dbf31b..a0732533 100644 --- a/vrchatapi/model/request_invite_request.py +++ b/vrchatapi/model/request_invite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/response.py b/vrchatapi/model/response.py index 0f16ce55..a6fa73f7 100644 --- a/vrchatapi/model/response.py +++ b/vrchatapi/model/response.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/subscription.py b/vrchatapi/model/subscription.py index 2e443d9d..0b122bde 100644 --- a/vrchatapi/model/subscription.py +++ b/vrchatapi/model/subscription.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/subscription_period.py b/vrchatapi/model/subscription_period.py index 47dc7e3d..8363d7c1 100644 --- a/vrchatapi/model/subscription_period.py +++ b/vrchatapi/model/subscription_period.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/success.py b/vrchatapi/model/success.py index e8f11240..de1238af 100644 --- a/vrchatapi/model/success.py +++ b/vrchatapi/model/success.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/tag.py b/vrchatapi/model/tag.py index b0028d8e..e7e2b0ae 100644 --- a/vrchatapi/model/tag.py +++ b/vrchatapi/model/tag.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction.py b/vrchatapi/model/transaction.py index 7c32c86e..49536ff5 100644 --- a/vrchatapi/model/transaction.py +++ b/vrchatapi/model/transaction.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_agreement.py b/vrchatapi/model/transaction_agreement.py index c5c1be93..14dc25e5 100644 --- a/vrchatapi/model/transaction_agreement.py +++ b/vrchatapi/model/transaction_agreement.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_id.py b/vrchatapi/model/transaction_id.py index ed776c1a..0d16b33f 100644 --- a/vrchatapi/model/transaction_id.py +++ b/vrchatapi/model/transaction_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_status.py b/vrchatapi/model/transaction_status.py index d728ba83..769704a4 100644 --- a/vrchatapi/model/transaction_status.py +++ b/vrchatapi/model/transaction_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_steam_info.py b/vrchatapi/model/transaction_steam_info.py index 8ac582a3..86c707b6 100644 --- a/vrchatapi/model/transaction_steam_info.py +++ b/vrchatapi/model/transaction_steam_info.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_steam_wallet_info.py b/vrchatapi/model/transaction_steam_wallet_info.py index 2f6e6729..b419d786 100644 --- a/vrchatapi/model/transaction_steam_wallet_info.py +++ b/vrchatapi/model/transaction_steam_wallet_info.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/two_factor_auth_code.py b/vrchatapi/model/two_factor_auth_code.py index f6695dd5..0247cf6a 100644 --- a/vrchatapi/model/two_factor_auth_code.py +++ b/vrchatapi/model/two_factor_auth_code.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/unity_package.py b/vrchatapi/model/unity_package.py index ff917a4b..94eac2a0 100644 --- a/vrchatapi/model/unity_package.py +++ b/vrchatapi/model/unity_package.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/unity_package_id.py b/vrchatapi/model/unity_package_id.py index 30dac3fc..43e2f0e5 100644 --- a/vrchatapi/model/unity_package_id.py +++ b/vrchatapi/model/unity_package_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_avatar_request.py b/vrchatapi/model/update_avatar_request.py index 7fdeb1eb..ecc6d456 100644 --- a/vrchatapi/model/update_avatar_request.py +++ b/vrchatapi/model/update_avatar_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_favorite_group_request.py b/vrchatapi/model/update_favorite_group_request.py index 3d9b1ddf..d00ea0c7 100644 --- a/vrchatapi/model/update_favorite_group_request.py +++ b/vrchatapi/model/update_favorite_group_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_invite_message_request.py b/vrchatapi/model/update_invite_message_request.py index 0d7188cb..d7ce358d 100644 --- a/vrchatapi/model/update_invite_message_request.py +++ b/vrchatapi/model/update_invite_message_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_user_request.py b/vrchatapi/model/update_user_request.py index 4834020c..a8ef6728 100644 --- a/vrchatapi/model/update_user_request.py +++ b/vrchatapi/model/update_user_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_world_request.py b/vrchatapi/model/update_world_request.py index 371977f2..4cc09c94 100644 --- a/vrchatapi/model/update_world_request.py +++ b/vrchatapi/model/update_world_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user.py b/vrchatapi/model/user.py index b19b2eb8..12ae2a56 100644 --- a/vrchatapi/model/user.py +++ b/vrchatapi/model/user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_exists.py b/vrchatapi/model/user_exists.py index e6413b61..6eabfa11 100644 --- a/vrchatapi/model/user_exists.py +++ b/vrchatapi/model/user_exists.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_state.py b/vrchatapi/model/user_state.py index 3fc017ed..5f32cae2 100644 --- a/vrchatapi/model/user_state.py +++ b/vrchatapi/model/user_state.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_status.py b/vrchatapi/model/user_status.py index a2618b24..a4426adf 100644 --- a/vrchatapi/model/user_status.py +++ b/vrchatapi/model/user_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_subscription.py b/vrchatapi/model/user_subscription.py index ef0ed1d1..9f21c4bc 100644 --- a/vrchatapi/model/user_subscription.py +++ b/vrchatapi/model/user_subscription.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/verify2_fa_result.py b/vrchatapi/model/verify2_fa_result.py index f29574bf..66bd032e 100644 --- a/vrchatapi/model/verify2_fa_result.py +++ b/vrchatapi/model/verify2_fa_result.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/verify_auth_token_result.py b/vrchatapi/model/verify_auth_token_result.py index 08afa54c..b73eb76b 100644 --- a/vrchatapi/model/verify_auth_token_result.py +++ b/vrchatapi/model/verify_auth_token_result.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world.py b/vrchatapi/model/world.py index d1446ab2..76385a97 100644 --- a/vrchatapi/model/world.py +++ b/vrchatapi/model/world.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_id.py b/vrchatapi/model/world_id.py index 160900c4..9eea4c32 100644 --- a/vrchatapi/model/world_id.py +++ b/vrchatapi/model/world_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_metadata.py b/vrchatapi/model/world_metadata.py index a19ce4d8..30f76de2 100644 --- a/vrchatapi/model/world_metadata.py +++ b/vrchatapi/model/world_metadata.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_publish_status.py b/vrchatapi/model/world_publish_status.py index 8d2449cd..50e07b1f 100644 --- a/vrchatapi/model/world_publish_status.py +++ b/vrchatapi/model/world_publish_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model_utils.py b/vrchatapi/model_utils.py index 1e95a770..143eb441 100644 --- a/vrchatapi/model_utils.py +++ b/vrchatapi/model_utils.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index b9cc0667..b431bbb2 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.8 + The version of the OpenAPI document: 1.6.9 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ From 42ef2ad158f107c51ed9a538a12ad2bd6ede545d Mon Sep 17 00:00:00 2001 From: VRCCat Date: Sat, 9 Apr 2022 04:15:04 +0000 Subject: [PATCH 005/102] Upgrade Python SDK to spec 1.6.10 --- docs/CurrentUser.md | 1 + docs/Region.md | 2 +- package-lock.json | 58 +++++++++---------- package.json | 2 +- setup.py | 4 +- vrchatapi/__init__.py | 2 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 +- vrchatapi/exceptions.py | 2 +- vrchatapi/model/add_favorite_request.py | 2 +- vrchatapi/model/api_config.py | 2 +- vrchatapi/model/api_event_config.py | 2 +- vrchatapi/model/api_health.py | 2 +- vrchatapi/model/avatar.py | 2 +- vrchatapi/model/avatar_id.py | 2 +- .../model/avatar_unity_package_url_object.py | 2 +- vrchatapi/model/create_avatar_request.py | 2 +- vrchatapi/model/create_file_request.py | 2 +- .../model/create_file_version_request.py | 2 +- vrchatapi/model/create_world_request.py | 2 +- vrchatapi/model/current_user.py | 12 +++- vrchatapi/model/deployment_group.py | 2 +- vrchatapi/model/developer_type.py | 2 +- vrchatapi/model/download_url_list.py | 2 +- vrchatapi/model/dynamic_content_row.py | 2 +- vrchatapi/model/error.py | 2 +- vrchatapi/model/favorite.py | 2 +- vrchatapi/model/favorite_group.py | 2 +- vrchatapi/model/favorite_group_id.py | 2 +- vrchatapi/model/favorite_group_visibility.py | 2 +- vrchatapi/model/favorite_id.py | 2 +- vrchatapi/model/favorite_type.py | 2 +- vrchatapi/model/file.py | 2 +- vrchatapi/model/file_data.py | 2 +- vrchatapi/model/file_id.py | 2 +- vrchatapi/model/file_status.py | 2 +- vrchatapi/model/file_upload_url.py | 2 +- vrchatapi/model/file_version.py | 2 +- vrchatapi/model/file_version_upload_status.py | 2 +- .../model/finish_file_data_upload_request.py | 2 +- vrchatapi/model/friend_status.py | 2 +- vrchatapi/model/info_push.py | 2 +- vrchatapi/model/info_push_data.py | 2 +- vrchatapi/model/info_push_data_article.py | 2 +- .../model/info_push_data_article_content.py | 2 +- vrchatapi/model/info_push_data_clickable.py | 2 +- vrchatapi/model/instance.py | 2 +- vrchatapi/model/instance_id.py | 2 +- vrchatapi/model/instance_platforms.py | 2 +- vrchatapi/model/instance_type.py | 2 +- vrchatapi/model/invite_message.py | 2 +- vrchatapi/model/invite_message_id.py | 2 +- vrchatapi/model/invite_message_type.py | 2 +- vrchatapi/model/invite_request.py | 2 +- vrchatapi/model/invite_response.py | 2 +- vrchatapi/model/license.py | 2 +- vrchatapi/model/license_action.py | 2 +- vrchatapi/model/license_group.py | 2 +- vrchatapi/model/license_group_id.py | 2 +- vrchatapi/model/license_type.py | 2 +- vrchatapi/model/limited_unity_package.py | 2 +- vrchatapi/model/limited_user.py | 2 +- vrchatapi/model/limited_world.py | 2 +- vrchatapi/model/mime_type.py | 2 +- vrchatapi/model/moderate_user_request.py | 2 +- vrchatapi/model/notification.py | 2 +- vrchatapi/model/notification_type.py | 2 +- vrchatapi/model/past_display_name.py | 2 +- vrchatapi/model/permission.py | 2 +- vrchatapi/model/permission_id.py | 2 +- vrchatapi/model/player_moderation.py | 2 +- vrchatapi/model/player_moderation_id.py | 2 +- vrchatapi/model/player_moderation_type.py | 2 +- vrchatapi/model/public_announcement.py | 2 +- vrchatapi/model/region.py | 11 ++-- vrchatapi/model/release_status.py | 2 +- vrchatapi/model/request_invite_request.py | 2 +- vrchatapi/model/response.py | 2 +- vrchatapi/model/subscription.py | 2 +- vrchatapi/model/subscription_period.py | 2 +- vrchatapi/model/success.py | 2 +- vrchatapi/model/tag.py | 2 +- vrchatapi/model/transaction.py | 2 +- vrchatapi/model/transaction_agreement.py | 2 +- vrchatapi/model/transaction_id.py | 2 +- vrchatapi/model/transaction_status.py | 2 +- vrchatapi/model/transaction_steam_info.py | 2 +- .../model/transaction_steam_wallet_info.py | 2 +- vrchatapi/model/two_factor_auth_code.py | 2 +- vrchatapi/model/unity_package.py | 2 +- vrchatapi/model/unity_package_id.py | 2 +- vrchatapi/model/update_avatar_request.py | 2 +- .../model/update_favorite_group_request.py | 2 +- .../model/update_invite_message_request.py | 2 +- vrchatapi/model/update_user_request.py | 2 +- vrchatapi/model/update_world_request.py | 2 +- vrchatapi/model/user.py | 2 +- vrchatapi/model/user_exists.py | 2 +- vrchatapi/model/user_state.py | 2 +- vrchatapi/model/user_status.py | 2 +- vrchatapi/model/user_subscription.py | 2 +- vrchatapi/model/verify2_fa_result.py | 2 +- vrchatapi/model/verify_auth_token_result.py | 2 +- vrchatapi/model/world.py | 2 +- vrchatapi/model/world_id.py | 2 +- vrchatapi/model/world_metadata.py | 2 +- vrchatapi/model/world_publish_status.py | 2 +- vrchatapi/model_utils.py | 2 +- vrchatapi/rest.py | 2 +- 123 files changed, 166 insertions(+), 158 deletions(-) diff --git a/docs/CurrentUser.md b/docs/CurrentUser.md index a19a626e..604ee1d9 100644 --- a/docs/CurrentUser.md +++ b/docs/CurrentUser.md @@ -41,6 +41,7 @@ Name | Type | Description | Notes **steam_id** | **str** | | **tags** | [**[Tag]**](Tag.md) | | **two_factor_auth_enabled** | **bool** | | +**two_factor_auth_enabled_date** | **datetime** | | **unsubscribe** | **bool** | | **user_icon** | **str** | | **username** | **str** | | diff --git a/docs/Region.md b/docs/Region.md index 24e78d66..36c41106 100644 --- a/docs/Region.md +++ b/docs/Region.md @@ -5,7 +5,7 @@ API/Photon region. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | **str** | API/Photon region. | defaults to "us", must be one of ["us", "use", "eu", "jp", "unknown", ] +**value** | **str** | API/Photon region. | defaults to "us", must be one of ["us", "use", "usw", "eu", "jp", "unknown", ] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/package-lock.json b/package-lock.json index d30c3f3d..af90a804 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,13 +5,13 @@ "packages": { "": { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.4.25" + "@openapitools/openapi-generator-cli": "^2.4.26" } }, "node_modules/@nestjs/common": { - "version": "8.2.5", - "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-8.2.5.tgz", - "integrity": "sha512-8VOZmHcCyhBtfvxehDfudsCrNghUoqDpZA5W8d/PUhMgz4Y1eT0M2ENBIuxr3C3j1vLypFOo30La2ymfQlOC8Q==", + "version": "8.2.6", + "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-8.2.6.tgz", + "integrity": "sha512-flLYSXunxcKyjbYddrhwbc49uE705MxBt85rS3mHyhDbAIPSGGeZEqME44YyAzCg1NTfJSNe7ztmOce5kNkb9A==", "dependencies": { "axios": "0.24.0", "iterare": "1.2.1", @@ -42,9 +42,9 @@ } }, "node_modules/@nestjs/core": { - "version": "8.2.5", - "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-8.2.5.tgz", - "integrity": "sha512-R0vp0VlAQFP7qBTZMzMspwOCO6MpsMJON/MsrfHVGgZS5Sd5DInfboWhe2COPnAr+VAT0o4FAKObW08Pdb5hMg==", + "version": "8.2.6", + "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-8.2.6.tgz", + "integrity": "sha512-NwPcEIMmCsucs3QaDlQvkoU1FlFM2wm/WjaqLQhkSoIEmAR1gNtBo88f5io5cpMwCo1k5xYhqGlaSl6TfngwWQ==", "hasInstallScript": true, "dependencies": { "@nuxtjs/opencollective": "0.3.2", @@ -97,13 +97,13 @@ } }, "node_modules/@openapitools/openapi-generator-cli": { - "version": "2.4.25", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.4.25.tgz", - "integrity": "sha512-n2RExPLkscjgjryEW+SbhJNs22LHsCLIlBtD5FaZsW84tTcii2YcbyHOIfz9xAoNKbpshk2hgxjtnXqTK92mGg==", + "version": "2.4.26", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.4.26.tgz", + "integrity": "sha512-O42H9q1HWGoIpcpMaUu318b6bmOgcjP3MieHwOrFdoG3KyttceBGlbLf9Kbf7WM91WSNCDXum7cnEKASuoGjAg==", "hasInstallScript": true, "dependencies": { - "@nestjs/common": "8.2.5", - "@nestjs/core": "8.2.5", + "@nestjs/common": "8.2.6", + "@nestjs/core": "8.2.6", "@nuxtjs/opencollective": "0.3.2", "chalk": "4.1.2", "commander": "8.3.0", @@ -495,9 +495,9 @@ } }, "node_modules/follow-redirects": { - "version": "1.14.7", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.7.tgz", - "integrity": "sha512-+hbxoLbFMbRKDwohX8GkTataGqO6Jb7jGwpAlwgy2bIz25XtRm7KEzJM76R1WiNT5SwZkX4Y75SwBolkpmE7iQ==", + "version": "1.14.9", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.9.tgz", + "integrity": "sha512-MQDfihBQYMcyy5dhRDJUHcw7lb2Pv/TuE6xP1vyraLukNDHKbDxDNaOE3NbCAdKQApno+GPRyo1YAp89yCjK4w==", "funding": [ { "type": "individual", @@ -1097,9 +1097,9 @@ }, "dependencies": { "@nestjs/common": { - "version": "8.2.5", - "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-8.2.5.tgz", - "integrity": "sha512-8VOZmHcCyhBtfvxehDfudsCrNghUoqDpZA5W8d/PUhMgz4Y1eT0M2ENBIuxr3C3j1vLypFOo30La2ymfQlOC8Q==", + "version": "8.2.6", + "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-8.2.6.tgz", + "integrity": "sha512-flLYSXunxcKyjbYddrhwbc49uE705MxBt85rS3mHyhDbAIPSGGeZEqME44YyAzCg1NTfJSNe7ztmOce5kNkb9A==", "requires": { "axios": "0.24.0", "iterare": "1.2.1", @@ -1108,9 +1108,9 @@ } }, "@nestjs/core": { - "version": "8.2.5", - "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-8.2.5.tgz", - "integrity": "sha512-R0vp0VlAQFP7qBTZMzMspwOCO6MpsMJON/MsrfHVGgZS5Sd5DInfboWhe2COPnAr+VAT0o4FAKObW08Pdb5hMg==", + "version": "8.2.6", + "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-8.2.6.tgz", + "integrity": "sha512-NwPcEIMmCsucs3QaDlQvkoU1FlFM2wm/WjaqLQhkSoIEmAR1gNtBo88f5io5cpMwCo1k5xYhqGlaSl6TfngwWQ==", "requires": { "@nuxtjs/opencollective": "0.3.2", "fast-safe-stringify": "2.1.1", @@ -1132,12 +1132,12 @@ } }, "@openapitools/openapi-generator-cli": { - "version": "2.4.25", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.4.25.tgz", - "integrity": "sha512-n2RExPLkscjgjryEW+SbhJNs22LHsCLIlBtD5FaZsW84tTcii2YcbyHOIfz9xAoNKbpshk2hgxjtnXqTK92mGg==", + "version": "2.4.26", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.4.26.tgz", + "integrity": "sha512-O42H9q1HWGoIpcpMaUu318b6bmOgcjP3MieHwOrFdoG3KyttceBGlbLf9Kbf7WM91WSNCDXum7cnEKASuoGjAg==", "requires": { - "@nestjs/common": "8.2.5", - "@nestjs/core": "8.2.5", + "@nestjs/common": "8.2.6", + "@nestjs/core": "8.2.6", "@nuxtjs/opencollective": "0.3.2", "chalk": "4.1.2", "commander": "8.3.0", @@ -1413,9 +1413,9 @@ } }, "follow-redirects": { - "version": "1.14.7", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.7.tgz", - "integrity": "sha512-+hbxoLbFMbRKDwohX8GkTataGqO6Jb7jGwpAlwgy2bIz25XtRm7KEzJM76R1WiNT5SwZkX4Y75SwBolkpmE7iQ==" + "version": "1.14.9", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.9.tgz", + "integrity": "sha512-MQDfihBQYMcyy5dhRDJUHcw7lb2Pv/TuE6xP1vyraLukNDHKbDxDNaOE3NbCAdKQApno+GPRyo1YAp89yCjK4w==" }, "fs-extra": { "version": "10.0.0", diff --git a/package.json b/package.json index 79e12e89..0c08931f 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.4.25" + "@openapitools/openapi-generator-cli": "^2.4.26" } } diff --git a/setup.py b/setup.py index c0b29b75..11cf3e2c 100644 --- a/setup.py +++ b/setup.py @@ -64,7 +64,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ @@ -73,7 +73,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.6.9" +VERSION = "1.6.10" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 5b756763..2208de51 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index 41e33d2a..9424835b 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index fc4d7688..676fec6a 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 5e26273f..dc4feba3 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index 568df868..32c6a7da 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index fc627b38..812568c2 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index 43f66bd4..b2fe3f77 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index c608f46f..23c20a62 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index a42066c6..44b3bf06 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index 0f624185..6ce2c467 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index 2ba95d00..a670aae3 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index 08618252..c9acc888 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index 59731431..ce6a5dd2 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index 347dfc16..5a0caf91 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 6801d365..866fc7c8 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index d2cecec8..95c524b0 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index 99847ff7..1a66773f 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ @@ -455,7 +455,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.6.9\n"\ + "Version of the API: 1.6.10\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index dca448ff..fd19301d 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/add_favorite_request.py b/vrchatapi/model/add_favorite_request.py index 4c4c768b..cbd5ca35 100644 --- a/vrchatapi/model/add_favorite_request.py +++ b/vrchatapi/model/add_favorite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_config.py b/vrchatapi/model/api_config.py index 4e855fb7..8d84bec1 100644 --- a/vrchatapi/model/api_config.py +++ b/vrchatapi/model/api_config.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_event_config.py b/vrchatapi/model/api_event_config.py index bac82572..5c223488 100644 --- a/vrchatapi/model/api_event_config.py +++ b/vrchatapi/model/api_event_config.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_health.py b/vrchatapi/model/api_health.py index cc5a3e0f..27d58e48 100644 --- a/vrchatapi/model/api_health.py +++ b/vrchatapi/model/api_health.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar.py b/vrchatapi/model/avatar.py index 5d928337..2b87c7b3 100644 --- a/vrchatapi/model/avatar.py +++ b/vrchatapi/model/avatar.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar_id.py b/vrchatapi/model/avatar_id.py index b2fe5f84..06eeb4c0 100644 --- a/vrchatapi/model/avatar_id.py +++ b/vrchatapi/model/avatar_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar_unity_package_url_object.py b/vrchatapi/model/avatar_unity_package_url_object.py index d76c9f78..aa4d3cfc 100644 --- a/vrchatapi/model/avatar_unity_package_url_object.py +++ b/vrchatapi/model/avatar_unity_package_url_object.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_avatar_request.py b/vrchatapi/model/create_avatar_request.py index b1754e86..9b7bd047 100644 --- a/vrchatapi/model/create_avatar_request.py +++ b/vrchatapi/model/create_avatar_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_file_request.py b/vrchatapi/model/create_file_request.py index 02c4edcf..66d2fb65 100644 --- a/vrchatapi/model/create_file_request.py +++ b/vrchatapi/model/create_file_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_file_version_request.py b/vrchatapi/model/create_file_version_request.py index bdc42f2d..04a6d881 100644 --- a/vrchatapi/model/create_file_version_request.py +++ b/vrchatapi/model/create_file_version_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_world_request.py b/vrchatapi/model/create_world_request.py index 89e1b5c3..48f59911 100644 --- a/vrchatapi/model/create_world_request.py +++ b/vrchatapi/model/create_world_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/current_user.py b/vrchatapi/model/current_user.py index 6a8c16cd..efd697de 100644 --- a/vrchatapi/model/current_user.py +++ b/vrchatapi/model/current_user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ @@ -140,6 +140,7 @@ def openapi_types(): 'steam_id': (str,), # noqa: E501 'tags': ([Tag],), # noqa: E501 'two_factor_auth_enabled': (bool,), # noqa: E501 + 'two_factor_auth_enabled_date': (datetime,), # noqa: E501 'unsubscribe': (bool,), # noqa: E501 'user_icon': (str,), # noqa: E501 'username': (str,), # noqa: E501 @@ -194,6 +195,7 @@ def discriminator(): 'steam_id': 'steamId', # noqa: E501 'tags': 'tags', # noqa: E501 'two_factor_auth_enabled': 'twoFactorAuthEnabled', # noqa: E501 + 'two_factor_auth_enabled_date': 'twoFactorAuthEnabledDate', # noqa: E501 'unsubscribe': 'unsubscribe', # noqa: E501 'user_icon': 'userIcon', # noqa: E501 'username': 'username', # noqa: E501 @@ -211,7 +213,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, accepted_tos_version, allow_avatar_copying, bio, bio_links, current_avatar, current_avatar_asset_url, current_avatar_image_url, current_avatar_thumbnail_image_url, date_joined, developer_type, display_name, email_verified, friend_group_names, friend_key, friends, has_birthday, has_email, has_logged_in_from_client, has_pending_email, home_location, id, last_login, last_platform, obfuscated_email, obfuscated_pending_email, oculus_id, past_display_names, profile_pic_override, state, status, status_description, status_first_time, status_history, steam_details, steam_id, tags, two_factor_auth_enabled, unsubscribe, user_icon, username, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, accepted_tos_version, allow_avatar_copying, bio, bio_links, current_avatar, current_avatar_asset_url, current_avatar_image_url, current_avatar_thumbnail_image_url, date_joined, developer_type, display_name, email_verified, friend_group_names, friend_key, friends, has_birthday, has_email, has_logged_in_from_client, has_pending_email, home_location, id, last_login, last_platform, obfuscated_email, obfuscated_pending_email, oculus_id, past_display_names, profile_pic_override, state, status, status_description, status_first_time, status_history, steam_details, steam_id, tags, two_factor_auth_enabled, two_factor_auth_enabled_date, unsubscribe, user_icon, username, *args, **kwargs): # noqa: E501 """CurrentUser - a model defined in OpenAPI Args: @@ -252,6 +254,7 @@ def _from_openapi_data(cls, accepted_tos_version, allow_avatar_copying, bio, bio steam_id (str): tags ([Tag]): two_factor_auth_enabled (bool): + two_factor_auth_enabled_date (datetime): unsubscribe (bool): user_icon (str): username (str): @@ -359,6 +362,7 @@ def _from_openapi_data(cls, accepted_tos_version, allow_avatar_copying, bio, bio self.steam_id = steam_id self.tags = tags self.two_factor_auth_enabled = two_factor_auth_enabled + self.two_factor_auth_enabled_date = two_factor_auth_enabled_date self.unsubscribe = unsubscribe self.user_icon = user_icon self.username = username @@ -382,7 +386,7 @@ def _from_openapi_data(cls, accepted_tos_version, allow_avatar_copying, bio, bio ]) @convert_js_args_to_python_args - def __init__(self, accepted_tos_version, allow_avatar_copying, bio, bio_links, current_avatar, current_avatar_asset_url, current_avatar_image_url, current_avatar_thumbnail_image_url, date_joined, developer_type, display_name, email_verified, friend_group_names, friend_key, friends, has_birthday, has_email, has_logged_in_from_client, has_pending_email, home_location, id, last_login, last_platform, obfuscated_email, obfuscated_pending_email, oculus_id, past_display_names, profile_pic_override, state, status, status_description, status_first_time, status_history, steam_details, steam_id, tags, two_factor_auth_enabled, unsubscribe, user_icon, username, *args, **kwargs): # noqa: E501 + def __init__(self, accepted_tos_version, allow_avatar_copying, bio, bio_links, current_avatar, current_avatar_asset_url, current_avatar_image_url, current_avatar_thumbnail_image_url, date_joined, developer_type, display_name, email_verified, friend_group_names, friend_key, friends, has_birthday, has_email, has_logged_in_from_client, has_pending_email, home_location, id, last_login, last_platform, obfuscated_email, obfuscated_pending_email, oculus_id, past_display_names, profile_pic_override, state, status, status_description, status_first_time, status_history, steam_details, steam_id, tags, two_factor_auth_enabled, two_factor_auth_enabled_date, unsubscribe, user_icon, username, *args, **kwargs): # noqa: E501 """CurrentUser - a model defined in OpenAPI Args: @@ -423,6 +427,7 @@ def __init__(self, accepted_tos_version, allow_avatar_copying, bio, bio_links, c steam_id (str): tags ([Tag]): two_factor_auth_enabled (bool): + two_factor_auth_enabled_date (datetime): unsubscribe (bool): user_icon (str): username (str): @@ -528,6 +533,7 @@ def __init__(self, accepted_tos_version, allow_avatar_copying, bio, bio_links, c self.steam_id = steam_id self.tags = tags self.two_factor_auth_enabled = two_factor_auth_enabled + self.two_factor_auth_enabled_date = two_factor_auth_enabled_date self.unsubscribe = unsubscribe self.user_icon = user_icon self.username = username diff --git a/vrchatapi/model/deployment_group.py b/vrchatapi/model/deployment_group.py index 4d9caa96..6da29e9a 100644 --- a/vrchatapi/model/deployment_group.py +++ b/vrchatapi/model/deployment_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/developer_type.py b/vrchatapi/model/developer_type.py index 78586849..16029090 100644 --- a/vrchatapi/model/developer_type.py +++ b/vrchatapi/model/developer_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/download_url_list.py b/vrchatapi/model/download_url_list.py index 9541e50f..0bf3f19f 100644 --- a/vrchatapi/model/download_url_list.py +++ b/vrchatapi/model/download_url_list.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/dynamic_content_row.py b/vrchatapi/model/dynamic_content_row.py index e49dc9e9..d850c681 100644 --- a/vrchatapi/model/dynamic_content_row.py +++ b/vrchatapi/model/dynamic_content_row.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/error.py b/vrchatapi/model/error.py index 9f795ccf..1f416b8b 100644 --- a/vrchatapi/model/error.py +++ b/vrchatapi/model/error.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite.py b/vrchatapi/model/favorite.py index 56829483..1ff1facf 100644 --- a/vrchatapi/model/favorite.py +++ b/vrchatapi/model/favorite.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group.py b/vrchatapi/model/favorite_group.py index eb341a90..0b91b636 100644 --- a/vrchatapi/model/favorite_group.py +++ b/vrchatapi/model/favorite_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group_id.py b/vrchatapi/model/favorite_group_id.py index e18d7dee..ed1f164d 100644 --- a/vrchatapi/model/favorite_group_id.py +++ b/vrchatapi/model/favorite_group_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group_visibility.py b/vrchatapi/model/favorite_group_visibility.py index dfb4c92c..f168e486 100644 --- a/vrchatapi/model/favorite_group_visibility.py +++ b/vrchatapi/model/favorite_group_visibility.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_id.py b/vrchatapi/model/favorite_id.py index bcca06ef..248f0c73 100644 --- a/vrchatapi/model/favorite_id.py +++ b/vrchatapi/model/favorite_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_type.py b/vrchatapi/model/favorite_type.py index 92cdca7e..4d4853e5 100644 --- a/vrchatapi/model/favorite_type.py +++ b/vrchatapi/model/favorite_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file.py b/vrchatapi/model/file.py index c45165ee..c4421c8e 100644 --- a/vrchatapi/model/file.py +++ b/vrchatapi/model/file.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_data.py b/vrchatapi/model/file_data.py index b1d4f2d2..64c6d41d 100644 --- a/vrchatapi/model/file_data.py +++ b/vrchatapi/model/file_data.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_id.py b/vrchatapi/model/file_id.py index 7441cdb0..e5319a31 100644 --- a/vrchatapi/model/file_id.py +++ b/vrchatapi/model/file_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_status.py b/vrchatapi/model/file_status.py index c544ffe0..f48702cc 100644 --- a/vrchatapi/model/file_status.py +++ b/vrchatapi/model/file_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_upload_url.py b/vrchatapi/model/file_upload_url.py index 52da40f3..6d39332e 100644 --- a/vrchatapi/model/file_upload_url.py +++ b/vrchatapi/model/file_upload_url.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_version.py b/vrchatapi/model/file_version.py index 0db39023..878bb834 100644 --- a/vrchatapi/model/file_version.py +++ b/vrchatapi/model/file_version.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_version_upload_status.py b/vrchatapi/model/file_version_upload_status.py index 01c2cacc..9acb4d7e 100644 --- a/vrchatapi/model/file_version_upload_status.py +++ b/vrchatapi/model/file_version_upload_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/finish_file_data_upload_request.py b/vrchatapi/model/finish_file_data_upload_request.py index 7a14a616..a2bc9b1f 100644 --- a/vrchatapi/model/finish_file_data_upload_request.py +++ b/vrchatapi/model/finish_file_data_upload_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/friend_status.py b/vrchatapi/model/friend_status.py index 6c468a00..7bfebef0 100644 --- a/vrchatapi/model/friend_status.py +++ b/vrchatapi/model/friend_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push.py b/vrchatapi/model/info_push.py index 1527b6cd..199c552d 100644 --- a/vrchatapi/model/info_push.py +++ b/vrchatapi/model/info_push.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data.py b/vrchatapi/model/info_push_data.py index 9c6b876b..569d75b6 100644 --- a/vrchatapi/model/info_push_data.py +++ b/vrchatapi/model/info_push_data.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_article.py b/vrchatapi/model/info_push_data_article.py index 9fc707e6..b9e4ca6b 100644 --- a/vrchatapi/model/info_push_data_article.py +++ b/vrchatapi/model/info_push_data_article.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_article_content.py b/vrchatapi/model/info_push_data_article_content.py index 2bcff938..a65d13ca 100644 --- a/vrchatapi/model/info_push_data_article_content.py +++ b/vrchatapi/model/info_push_data_article_content.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_clickable.py b/vrchatapi/model/info_push_data_clickable.py index c0e434b4..8e9d7045 100644 --- a/vrchatapi/model/info_push_data_clickable.py +++ b/vrchatapi/model/info_push_data_clickable.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance.py b/vrchatapi/model/instance.py index b7669ff1..9c858bb9 100644 --- a/vrchatapi/model/instance.py +++ b/vrchatapi/model/instance.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_id.py b/vrchatapi/model/instance_id.py index a3902d2a..a35b75ae 100644 --- a/vrchatapi/model/instance_id.py +++ b/vrchatapi/model/instance_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_platforms.py b/vrchatapi/model/instance_platforms.py index 8bb41a4f..3011424b 100644 --- a/vrchatapi/model/instance_platforms.py +++ b/vrchatapi/model/instance_platforms.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_type.py b/vrchatapi/model/instance_type.py index 293c71df..cda3ffbc 100644 --- a/vrchatapi/model/instance_type.py +++ b/vrchatapi/model/instance_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message.py b/vrchatapi/model/invite_message.py index 0bd16ae3..34e793f1 100644 --- a/vrchatapi/model/invite_message.py +++ b/vrchatapi/model/invite_message.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message_id.py b/vrchatapi/model/invite_message_id.py index 08b4e78f..60ac1ec8 100644 --- a/vrchatapi/model/invite_message_id.py +++ b/vrchatapi/model/invite_message_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message_type.py b/vrchatapi/model/invite_message_type.py index c3860c09..18ab306c 100644 --- a/vrchatapi/model/invite_message_type.py +++ b/vrchatapi/model/invite_message_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_request.py b/vrchatapi/model/invite_request.py index ead07a88..fe4934a2 100644 --- a/vrchatapi/model/invite_request.py +++ b/vrchatapi/model/invite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_response.py b/vrchatapi/model/invite_response.py index e6f7974c..c67d2f62 100644 --- a/vrchatapi/model/invite_response.py +++ b/vrchatapi/model/invite_response.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license.py b/vrchatapi/model/license.py index 5ce5be3a..58582092 100644 --- a/vrchatapi/model/license.py +++ b/vrchatapi/model/license.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_action.py b/vrchatapi/model/license_action.py index df290811..785021b5 100644 --- a/vrchatapi/model/license_action.py +++ b/vrchatapi/model/license_action.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_group.py b/vrchatapi/model/license_group.py index 96480205..154b4a97 100644 --- a/vrchatapi/model/license_group.py +++ b/vrchatapi/model/license_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_group_id.py b/vrchatapi/model/license_group_id.py index ac1717f7..dd02d12d 100644 --- a/vrchatapi/model/license_group_id.py +++ b/vrchatapi/model/license_group_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_type.py b/vrchatapi/model/license_type.py index 9e0d751c..69d072ad 100644 --- a/vrchatapi/model/license_type.py +++ b/vrchatapi/model/license_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_unity_package.py b/vrchatapi/model/limited_unity_package.py index ee32aa95..809be0d3 100644 --- a/vrchatapi/model/limited_unity_package.py +++ b/vrchatapi/model/limited_unity_package.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_user.py b/vrchatapi/model/limited_user.py index 05266095..e58c0e20 100644 --- a/vrchatapi/model/limited_user.py +++ b/vrchatapi/model/limited_user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_world.py b/vrchatapi/model/limited_world.py index 3d40ece5..e124fe5a 100644 --- a/vrchatapi/model/limited_world.py +++ b/vrchatapi/model/limited_world.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/mime_type.py b/vrchatapi/model/mime_type.py index 85f8d8ff..15359b2e 100644 --- a/vrchatapi/model/mime_type.py +++ b/vrchatapi/model/mime_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/moderate_user_request.py b/vrchatapi/model/moderate_user_request.py index 94f9d72a..525f4a2a 100644 --- a/vrchatapi/model/moderate_user_request.py +++ b/vrchatapi/model/moderate_user_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/notification.py b/vrchatapi/model/notification.py index c3aa18e6..d5e5fbce 100644 --- a/vrchatapi/model/notification.py +++ b/vrchatapi/model/notification.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/notification_type.py b/vrchatapi/model/notification_type.py index c4be0aca..9a6d3168 100644 --- a/vrchatapi/model/notification_type.py +++ b/vrchatapi/model/notification_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/past_display_name.py b/vrchatapi/model/past_display_name.py index 1a972284..e6eab845 100644 --- a/vrchatapi/model/past_display_name.py +++ b/vrchatapi/model/past_display_name.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/permission.py b/vrchatapi/model/permission.py index a83e0490..afd2c2da 100644 --- a/vrchatapi/model/permission.py +++ b/vrchatapi/model/permission.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/permission_id.py b/vrchatapi/model/permission_id.py index 9ada6bf6..f4ab66c0 100644 --- a/vrchatapi/model/permission_id.py +++ b/vrchatapi/model/permission_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation.py b/vrchatapi/model/player_moderation.py index 71065373..65588275 100644 --- a/vrchatapi/model/player_moderation.py +++ b/vrchatapi/model/player_moderation.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation_id.py b/vrchatapi/model/player_moderation_id.py index 731c5bb8..72ac0b9e 100644 --- a/vrchatapi/model/player_moderation_id.py +++ b/vrchatapi/model/player_moderation_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation_type.py b/vrchatapi/model/player_moderation_type.py index f6467d27..b9599b39 100644 --- a/vrchatapi/model/player_moderation_type.py +++ b/vrchatapi/model/player_moderation_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/public_announcement.py b/vrchatapi/model/public_announcement.py index 36efdf1b..611c21e1 100644 --- a/vrchatapi/model/public_announcement.py +++ b/vrchatapi/model/public_announcement.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/region.py b/vrchatapi/model/region.py index 8a36b235..898a6624 100644 --- a/vrchatapi/model/region.py +++ b/vrchatapi/model/region.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ @@ -54,6 +54,7 @@ class Region(ModelSimple): ('value',): { 'US': "us", 'USE': "use", + 'USW': "usw", 'EU': "eu", 'JP': "jp", 'UNKNOWN': "unknown", @@ -108,10 +109,10 @@ def __init__(self, *args, **kwargs): Note that value can be passed either in args or in kwargs, but not in both. Args: - args[0] (str): API/Photon region.. if omitted defaults to "us", must be one of ["us", "use", "eu", "jp", "unknown", ] # noqa: E501 + args[0] (str): API/Photon region.. if omitted defaults to "us", must be one of ["us", "use", "usw", "eu", "jp", "unknown", ] # noqa: E501 Keyword Args: - value (str): API/Photon region.. if omitted defaults to "us", must be one of ["us", "use", "eu", "jp", "unknown", ] # noqa: E501 + value (str): API/Photon region.. if omitted defaults to "us", must be one of ["us", "use", "usw", "eu", "jp", "unknown", ] # noqa: E501 _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. @@ -194,10 +195,10 @@ def _from_openapi_data(cls, *args, **kwargs): Note that value can be passed either in args or in kwargs, but not in both. Args: - args[0] (str): API/Photon region.. if omitted defaults to "us", must be one of ["us", "use", "eu", "jp", "unknown", ] # noqa: E501 + args[0] (str): API/Photon region.. if omitted defaults to "us", must be one of ["us", "use", "usw", "eu", "jp", "unknown", ] # noqa: E501 Keyword Args: - value (str): API/Photon region.. if omitted defaults to "us", must be one of ["us", "use", "eu", "jp", "unknown", ] # noqa: E501 + value (str): API/Photon region.. if omitted defaults to "us", must be one of ["us", "use", "usw", "eu", "jp", "unknown", ] # noqa: E501 _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. diff --git a/vrchatapi/model/release_status.py b/vrchatapi/model/release_status.py index 55ceddee..73e0c118 100644 --- a/vrchatapi/model/release_status.py +++ b/vrchatapi/model/release_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/request_invite_request.py b/vrchatapi/model/request_invite_request.py index a0732533..77a7e603 100644 --- a/vrchatapi/model/request_invite_request.py +++ b/vrchatapi/model/request_invite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/response.py b/vrchatapi/model/response.py index a6fa73f7..8f737d44 100644 --- a/vrchatapi/model/response.py +++ b/vrchatapi/model/response.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/subscription.py b/vrchatapi/model/subscription.py index 0b122bde..c734d238 100644 --- a/vrchatapi/model/subscription.py +++ b/vrchatapi/model/subscription.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/subscription_period.py b/vrchatapi/model/subscription_period.py index 8363d7c1..66fa1997 100644 --- a/vrchatapi/model/subscription_period.py +++ b/vrchatapi/model/subscription_period.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/success.py b/vrchatapi/model/success.py index de1238af..6fc00bc7 100644 --- a/vrchatapi/model/success.py +++ b/vrchatapi/model/success.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/tag.py b/vrchatapi/model/tag.py index e7e2b0ae..f122f862 100644 --- a/vrchatapi/model/tag.py +++ b/vrchatapi/model/tag.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction.py b/vrchatapi/model/transaction.py index 49536ff5..345232d9 100644 --- a/vrchatapi/model/transaction.py +++ b/vrchatapi/model/transaction.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_agreement.py b/vrchatapi/model/transaction_agreement.py index 14dc25e5..f0260f16 100644 --- a/vrchatapi/model/transaction_agreement.py +++ b/vrchatapi/model/transaction_agreement.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_id.py b/vrchatapi/model/transaction_id.py index 0d16b33f..a4bb5c85 100644 --- a/vrchatapi/model/transaction_id.py +++ b/vrchatapi/model/transaction_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_status.py b/vrchatapi/model/transaction_status.py index 769704a4..7ba76849 100644 --- a/vrchatapi/model/transaction_status.py +++ b/vrchatapi/model/transaction_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_steam_info.py b/vrchatapi/model/transaction_steam_info.py index 86c707b6..eff6ec38 100644 --- a/vrchatapi/model/transaction_steam_info.py +++ b/vrchatapi/model/transaction_steam_info.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_steam_wallet_info.py b/vrchatapi/model/transaction_steam_wallet_info.py index b419d786..687dbabe 100644 --- a/vrchatapi/model/transaction_steam_wallet_info.py +++ b/vrchatapi/model/transaction_steam_wallet_info.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/two_factor_auth_code.py b/vrchatapi/model/two_factor_auth_code.py index 0247cf6a..d172549f 100644 --- a/vrchatapi/model/two_factor_auth_code.py +++ b/vrchatapi/model/two_factor_auth_code.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/unity_package.py b/vrchatapi/model/unity_package.py index 94eac2a0..4532f17c 100644 --- a/vrchatapi/model/unity_package.py +++ b/vrchatapi/model/unity_package.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/unity_package_id.py b/vrchatapi/model/unity_package_id.py index 43e2f0e5..9ec414e0 100644 --- a/vrchatapi/model/unity_package_id.py +++ b/vrchatapi/model/unity_package_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_avatar_request.py b/vrchatapi/model/update_avatar_request.py index ecc6d456..b64f2ec8 100644 --- a/vrchatapi/model/update_avatar_request.py +++ b/vrchatapi/model/update_avatar_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_favorite_group_request.py b/vrchatapi/model/update_favorite_group_request.py index d00ea0c7..08c9dd2e 100644 --- a/vrchatapi/model/update_favorite_group_request.py +++ b/vrchatapi/model/update_favorite_group_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_invite_message_request.py b/vrchatapi/model/update_invite_message_request.py index d7ce358d..ea12b834 100644 --- a/vrchatapi/model/update_invite_message_request.py +++ b/vrchatapi/model/update_invite_message_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_user_request.py b/vrchatapi/model/update_user_request.py index a8ef6728..5ca04421 100644 --- a/vrchatapi/model/update_user_request.py +++ b/vrchatapi/model/update_user_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_world_request.py b/vrchatapi/model/update_world_request.py index 4cc09c94..81b31462 100644 --- a/vrchatapi/model/update_world_request.py +++ b/vrchatapi/model/update_world_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user.py b/vrchatapi/model/user.py index 12ae2a56..5a13f51f 100644 --- a/vrchatapi/model/user.py +++ b/vrchatapi/model/user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_exists.py b/vrchatapi/model/user_exists.py index 6eabfa11..a776edad 100644 --- a/vrchatapi/model/user_exists.py +++ b/vrchatapi/model/user_exists.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_state.py b/vrchatapi/model/user_state.py index 5f32cae2..ab9233d2 100644 --- a/vrchatapi/model/user_state.py +++ b/vrchatapi/model/user_state.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_status.py b/vrchatapi/model/user_status.py index a4426adf..8fc19a84 100644 --- a/vrchatapi/model/user_status.py +++ b/vrchatapi/model/user_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_subscription.py b/vrchatapi/model/user_subscription.py index 9f21c4bc..3acfc59c 100644 --- a/vrchatapi/model/user_subscription.py +++ b/vrchatapi/model/user_subscription.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/verify2_fa_result.py b/vrchatapi/model/verify2_fa_result.py index 66bd032e..b989b835 100644 --- a/vrchatapi/model/verify2_fa_result.py +++ b/vrchatapi/model/verify2_fa_result.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/verify_auth_token_result.py b/vrchatapi/model/verify_auth_token_result.py index b73eb76b..1c9fdd07 100644 --- a/vrchatapi/model/verify_auth_token_result.py +++ b/vrchatapi/model/verify_auth_token_result.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world.py b/vrchatapi/model/world.py index 76385a97..a2cdeca8 100644 --- a/vrchatapi/model/world.py +++ b/vrchatapi/model/world.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_id.py b/vrchatapi/model/world_id.py index 9eea4c32..57eb3e0e 100644 --- a/vrchatapi/model/world_id.py +++ b/vrchatapi/model/world_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_metadata.py b/vrchatapi/model/world_metadata.py index 30f76de2..b04dd0da 100644 --- a/vrchatapi/model/world_metadata.py +++ b/vrchatapi/model/world_metadata.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_publish_status.py b/vrchatapi/model/world_publish_status.py index 50e07b1f..83f7b3b7 100644 --- a/vrchatapi/model/world_publish_status.py +++ b/vrchatapi/model/world_publish_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model_utils.py b/vrchatapi/model_utils.py index 143eb441..5ac36808 100644 --- a/vrchatapi/model_utils.py +++ b/vrchatapi/model_utils.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index b431bbb2..c40e18fe 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.9 + The version of the OpenAPI document: 1.6.10 Contact: me@ruby.js.org Generated by: https://openapi-generator.tech """ From 6c6c81b37878fd3220e120edf340e95fa791e93c Mon Sep 17 00:00:00 2001 From: VRCCat Date: Fri, 15 Apr 2022 15:58:00 +0000 Subject: [PATCH 006/102] Upgrade Python SDK to spec 1.7.0 --- docs/CurrentUser.md | 2 +- docs/PlayerModerationType.md | 2 +- docs/PlayermoderationApi.md | 2 +- setup.py | 8 ++++---- vrchatapi/__init__.py | 4 ++-- vrchatapi/api/authentication_api.py | 4 ++-- vrchatapi/api/avatars_api.py | 4 ++-- vrchatapi/api/economy_api.py | 4 ++-- vrchatapi/api/favorites_api.py | 4 ++-- vrchatapi/api/files_api.py | 4 ++-- vrchatapi/api/friends_api.py | 4 ++-- vrchatapi/api/instances_api.py | 4 ++-- vrchatapi/api/invite_api.py | 4 ++-- vrchatapi/api/notifications_api.py | 4 ++-- vrchatapi/api/permissions_api.py | 4 ++-- vrchatapi/api/playermoderation_api.py | 6 +++--- vrchatapi/api/system_api.py | 4 ++-- vrchatapi/api/users_api.py | 4 ++-- vrchatapi/api/worlds_api.py | 4 ++-- vrchatapi/api_client.py | 4 ++-- vrchatapi/configuration.py | 6 +++--- vrchatapi/exceptions.py | 4 ++-- vrchatapi/model/add_favorite_request.py | 4 ++-- vrchatapi/model/api_config.py | 4 ++-- vrchatapi/model/api_event_config.py | 4 ++-- vrchatapi/model/api_health.py | 4 ++-- vrchatapi/model/avatar.py | 4 ++-- vrchatapi/model/avatar_id.py | 4 ++-- .../model/avatar_unity_package_url_object.py | 4 ++-- vrchatapi/model/create_avatar_request.py | 4 ++-- vrchatapi/model/create_file_request.py | 4 ++-- vrchatapi/model/create_file_version_request.py | 4 ++-- vrchatapi/model/create_world_request.py | 4 ++-- vrchatapi/model/current_user.py | 18 ++++++++---------- vrchatapi/model/deployment_group.py | 4 ++-- vrchatapi/model/developer_type.py | 4 ++-- vrchatapi/model/download_url_list.py | 4 ++-- vrchatapi/model/dynamic_content_row.py | 4 ++-- vrchatapi/model/error.py | 4 ++-- vrchatapi/model/favorite.py | 4 ++-- vrchatapi/model/favorite_group.py | 4 ++-- vrchatapi/model/favorite_group_id.py | 4 ++-- vrchatapi/model/favorite_group_visibility.py | 4 ++-- vrchatapi/model/favorite_id.py | 4 ++-- vrchatapi/model/favorite_type.py | 4 ++-- vrchatapi/model/file.py | 4 ++-- vrchatapi/model/file_data.py | 4 ++-- vrchatapi/model/file_id.py | 4 ++-- vrchatapi/model/file_status.py | 4 ++-- vrchatapi/model/file_upload_url.py | 4 ++-- vrchatapi/model/file_version.py | 4 ++-- vrchatapi/model/file_version_upload_status.py | 4 ++-- .../model/finish_file_data_upload_request.py | 4 ++-- vrchatapi/model/friend_status.py | 4 ++-- vrchatapi/model/info_push.py | 4 ++-- vrchatapi/model/info_push_data.py | 4 ++-- vrchatapi/model/info_push_data_article.py | 4 ++-- .../model/info_push_data_article_content.py | 4 ++-- vrchatapi/model/info_push_data_clickable.py | 4 ++-- vrchatapi/model/instance.py | 4 ++-- vrchatapi/model/instance_id.py | 4 ++-- vrchatapi/model/instance_platforms.py | 4 ++-- vrchatapi/model/instance_type.py | 4 ++-- vrchatapi/model/invite_message.py | 4 ++-- vrchatapi/model/invite_message_id.py | 4 ++-- vrchatapi/model/invite_message_type.py | 4 ++-- vrchatapi/model/invite_request.py | 4 ++-- vrchatapi/model/invite_response.py | 4 ++-- vrchatapi/model/license.py | 4 ++-- vrchatapi/model/license_action.py | 4 ++-- vrchatapi/model/license_group.py | 4 ++-- vrchatapi/model/license_group_id.py | 4 ++-- vrchatapi/model/license_type.py | 4 ++-- vrchatapi/model/limited_unity_package.py | 4 ++-- vrchatapi/model/limited_user.py | 4 ++-- vrchatapi/model/limited_world.py | 4 ++-- vrchatapi/model/mime_type.py | 4 ++-- vrchatapi/model/moderate_user_request.py | 4 ++-- vrchatapi/model/notification.py | 4 ++-- vrchatapi/model/notification_type.py | 4 ++-- vrchatapi/model/past_display_name.py | 4 ++-- vrchatapi/model/permission.py | 4 ++-- vrchatapi/model/permission_id.py | 4 ++-- vrchatapi/model/player_moderation.py | 4 ++-- vrchatapi/model/player_moderation_id.py | 4 ++-- vrchatapi/model/player_moderation_type.py | 14 ++++++++------ vrchatapi/model/public_announcement.py | 4 ++-- vrchatapi/model/region.py | 4 ++-- vrchatapi/model/release_status.py | 4 ++-- vrchatapi/model/request_invite_request.py | 4 ++-- vrchatapi/model/response.py | 4 ++-- vrchatapi/model/subscription.py | 4 ++-- vrchatapi/model/subscription_period.py | 4 ++-- vrchatapi/model/success.py | 4 ++-- vrchatapi/model/tag.py | 4 ++-- vrchatapi/model/transaction.py | 4 ++-- vrchatapi/model/transaction_agreement.py | 4 ++-- vrchatapi/model/transaction_id.py | 4 ++-- vrchatapi/model/transaction_status.py | 4 ++-- vrchatapi/model/transaction_steam_info.py | 4 ++-- .../model/transaction_steam_wallet_info.py | 4 ++-- vrchatapi/model/two_factor_auth_code.py | 4 ++-- vrchatapi/model/unity_package.py | 4 ++-- vrchatapi/model/unity_package_id.py | 4 ++-- vrchatapi/model/update_avatar_request.py | 4 ++-- .../model/update_favorite_group_request.py | 4 ++-- .../model/update_invite_message_request.py | 4 ++-- vrchatapi/model/update_user_request.py | 4 ++-- vrchatapi/model/update_world_request.py | 4 ++-- vrchatapi/model/user.py | 4 ++-- vrchatapi/model/user_exists.py | 4 ++-- vrchatapi/model/user_state.py | 4 ++-- vrchatapi/model/user_status.py | 4 ++-- vrchatapi/model/user_subscription.py | 4 ++-- vrchatapi/model/verify2_fa_result.py | 4 ++-- vrchatapi/model/verify_auth_token_result.py | 4 ++-- vrchatapi/model/world.py | 4 ++-- vrchatapi/model/world_id.py | 4 ++-- vrchatapi/model/world_metadata.py | 4 ++-- vrchatapi/model/world_publish_status.py | 4 ++-- vrchatapi/model_utils.py | 4 ++-- vrchatapi/rest.py | 4 ++-- 122 files changed, 257 insertions(+), 257 deletions(-) diff --git a/docs/CurrentUser.md b/docs/CurrentUser.md index 604ee1d9..0e700bf9 100644 --- a/docs/CurrentUser.md +++ b/docs/CurrentUser.md @@ -41,7 +41,6 @@ Name | Type | Description | Notes **steam_id** | **str** | | **tags** | [**[Tag]**](Tag.md) | | **two_factor_auth_enabled** | **bool** | | -**two_factor_auth_enabled_date** | **datetime** | | **unsubscribe** | **bool** | | **user_icon** | **str** | | **username** | **str** | | @@ -51,6 +50,7 @@ Name | Type | Description | Notes **fallback_avatar** | [**AvatarID**](AvatarID.md) | | [optional] **offline_friends** | **[str]** | | [optional] **online_friends** | **[str]** | | [optional] +**two_factor_auth_enabled_date** | **datetime** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PlayerModerationType.md b/docs/PlayerModerationType.md index 7d7ac254..e6d6d482 100644 --- a/docs/PlayerModerationType.md +++ b/docs/PlayerModerationType.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | **str** | | defaults to "showAvatar", must be one of ["mute", "unmute", "block", "unblock", "hideAvatar", "showAvatar", ] +**value** | **str** | | defaults to "showAvatar", must be one of ["mute", "unmute", "block", "unblock", "hideAvatar", "showAvatar", "interactOn", "interactOff", ] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PlayermoderationApi.md b/docs/PlayermoderationApi.md index 35909252..cce36a0f 100644 --- a/docs/PlayermoderationApi.md +++ b/docs/PlayermoderationApi.md @@ -366,7 +366,7 @@ Name | Type | Description | Notes Moderate User -Moderate a user, e.g. unmute them or show their avatar. +Moderate a user, e.g. unmute them or show their avatar. Please see the [Player Moderation docs](https://vrchatapi.github.io/docs/api/#tag--playermoderation) on what playerModerations are, and how they differ from staff moderations. ### Example diff --git a/setup.py b/setup.py index 11cf3e2c..7b99bfb4 100644 --- a/setup.py +++ b/setup.py @@ -64,8 +64,8 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -73,7 +73,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.6.10" +VERSION = "1.7.0" # To install the library, run the following # # python setup.py install @@ -91,7 +91,7 @@ version=VERSION, description="VRChat API Library for Python", author="Unofficial VRChat API Documentation Project", - author_email="me@ruby.js.org", + author_email="me@ariesclark.com", url="", keywords=["vrchat", "vrchatapi", "vrc"], python_requires=">=3.6", diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 2208de51..66e7f733 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index 9424835b..11e65397 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index 676fec6a..254ff457 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index dc4feba3..bec4548e 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index 32c6a7da..0c35a1f8 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index 812568c2..1d297527 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index b2fe3f77..0926c224 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 23c20a62..277dc2b0 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index 44b3bf06..c2d844c7 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index 6ce2c467..f7d367cc 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index a670aae3..7fcb728d 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index c9acc888..fca7079a 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -607,7 +607,7 @@ def moderate_user( ): """Moderate User # noqa: E501 - Moderate a user, e.g. unmute them or show their avatar. # noqa: E501 + Moderate a user, e.g. unmute them or show their avatar. Please see the [Player Moderation docs](https://vrchatapi.github.io/docs/api/#tag--playermoderation) on what playerModerations are, and how they differ from staff moderations. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index ce6a5dd2..43c17281 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index 5a0caf91..7e85f2b2 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 866fc7c8..8ed1c6ad 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index 95c524b0..6bcaf9fa 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index 1a66773f..b1ced82f 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -455,7 +455,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.6.10\n"\ + "Version of the API: 1.7.0\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index fd19301d..c135d0d4 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/add_favorite_request.py b/vrchatapi/model/add_favorite_request.py index cbd5ca35..42f533eb 100644 --- a/vrchatapi/model/add_favorite_request.py +++ b/vrchatapi/model/add_favorite_request.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_config.py b/vrchatapi/model/api_config.py index 8d84bec1..8f5d93f1 100644 --- a/vrchatapi/model/api_config.py +++ b/vrchatapi/model/api_config.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_event_config.py b/vrchatapi/model/api_event_config.py index 5c223488..56cde7b9 100644 --- a/vrchatapi/model/api_event_config.py +++ b/vrchatapi/model/api_event_config.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_health.py b/vrchatapi/model/api_health.py index 27d58e48..e4714ac8 100644 --- a/vrchatapi/model/api_health.py +++ b/vrchatapi/model/api_health.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar.py b/vrchatapi/model/avatar.py index 2b87c7b3..4a21fd27 100644 --- a/vrchatapi/model/avatar.py +++ b/vrchatapi/model/avatar.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar_id.py b/vrchatapi/model/avatar_id.py index 06eeb4c0..ad7bcd16 100644 --- a/vrchatapi/model/avatar_id.py +++ b/vrchatapi/model/avatar_id.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar_unity_package_url_object.py b/vrchatapi/model/avatar_unity_package_url_object.py index aa4d3cfc..b1f1bae5 100644 --- a/vrchatapi/model/avatar_unity_package_url_object.py +++ b/vrchatapi/model/avatar_unity_package_url_object.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_avatar_request.py b/vrchatapi/model/create_avatar_request.py index 9b7bd047..7cdc499c 100644 --- a/vrchatapi/model/create_avatar_request.py +++ b/vrchatapi/model/create_avatar_request.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_file_request.py b/vrchatapi/model/create_file_request.py index 66d2fb65..ecffe36e 100644 --- a/vrchatapi/model/create_file_request.py +++ b/vrchatapi/model/create_file_request.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_file_version_request.py b/vrchatapi/model/create_file_version_request.py index 04a6d881..409ff13f 100644 --- a/vrchatapi/model/create_file_version_request.py +++ b/vrchatapi/model/create_file_version_request.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_world_request.py b/vrchatapi/model/create_world_request.py index 48f59911..fc76506d 100644 --- a/vrchatapi/model/create_world_request.py +++ b/vrchatapi/model/create_world_request.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/current_user.py b/vrchatapi/model/current_user.py index efd697de..63447fd6 100644 --- a/vrchatapi/model/current_user.py +++ b/vrchatapi/model/current_user.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -140,7 +140,6 @@ def openapi_types(): 'steam_id': (str,), # noqa: E501 'tags': ([Tag],), # noqa: E501 'two_factor_auth_enabled': (bool,), # noqa: E501 - 'two_factor_auth_enabled_date': (datetime,), # noqa: E501 'unsubscribe': (bool,), # noqa: E501 'user_icon': (str,), # noqa: E501 'username': (str,), # noqa: E501 @@ -149,6 +148,7 @@ def openapi_types(): 'fallback_avatar': (AvatarID,), # noqa: E501 'offline_friends': ([str],), # noqa: E501 'online_friends': ([str],), # noqa: E501 + 'two_factor_auth_enabled_date': (datetime,), # noqa: E501 } @cached_property @@ -195,7 +195,6 @@ def discriminator(): 'steam_id': 'steamId', # noqa: E501 'tags': 'tags', # noqa: E501 'two_factor_auth_enabled': 'twoFactorAuthEnabled', # noqa: E501 - 'two_factor_auth_enabled_date': 'twoFactorAuthEnabledDate', # noqa: E501 'unsubscribe': 'unsubscribe', # noqa: E501 'user_icon': 'userIcon', # noqa: E501 'username': 'username', # noqa: E501 @@ -204,6 +203,7 @@ def discriminator(): 'fallback_avatar': 'fallbackAvatar', # noqa: E501 'offline_friends': 'offlineFriends', # noqa: E501 'online_friends': 'onlineFriends', # noqa: E501 + 'two_factor_auth_enabled_date': 'twoFactorAuthEnabledDate', # noqa: E501 } read_only_vars = { @@ -213,7 +213,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, accepted_tos_version, allow_avatar_copying, bio, bio_links, current_avatar, current_avatar_asset_url, current_avatar_image_url, current_avatar_thumbnail_image_url, date_joined, developer_type, display_name, email_verified, friend_group_names, friend_key, friends, has_birthday, has_email, has_logged_in_from_client, has_pending_email, home_location, id, last_login, last_platform, obfuscated_email, obfuscated_pending_email, oculus_id, past_display_names, profile_pic_override, state, status, status_description, status_first_time, status_history, steam_details, steam_id, tags, two_factor_auth_enabled, two_factor_auth_enabled_date, unsubscribe, user_icon, username, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, accepted_tos_version, allow_avatar_copying, bio, bio_links, current_avatar, current_avatar_asset_url, current_avatar_image_url, current_avatar_thumbnail_image_url, date_joined, developer_type, display_name, email_verified, friend_group_names, friend_key, friends, has_birthday, has_email, has_logged_in_from_client, has_pending_email, home_location, id, last_login, last_platform, obfuscated_email, obfuscated_pending_email, oculus_id, past_display_names, profile_pic_override, state, status, status_description, status_first_time, status_history, steam_details, steam_id, tags, two_factor_auth_enabled, unsubscribe, user_icon, username, *args, **kwargs): # noqa: E501 """CurrentUser - a model defined in OpenAPI Args: @@ -254,7 +254,6 @@ def _from_openapi_data(cls, accepted_tos_version, allow_avatar_copying, bio, bio steam_id (str): tags ([Tag]): two_factor_auth_enabled (bool): - two_factor_auth_enabled_date (datetime): unsubscribe (bool): user_icon (str): username (str): @@ -296,6 +295,7 @@ def _from_openapi_data(cls, accepted_tos_version, allow_avatar_copying, bio, bio fallback_avatar (AvatarID): [optional] # noqa: E501 offline_friends ([str]): [optional] # noqa: E501 online_friends ([str]): [optional] # noqa: E501 + two_factor_auth_enabled_date (datetime): [optional] # noqa: E501 """ is_friend = kwargs.get('is_friend', False) @@ -362,7 +362,6 @@ def _from_openapi_data(cls, accepted_tos_version, allow_avatar_copying, bio, bio self.steam_id = steam_id self.tags = tags self.two_factor_auth_enabled = two_factor_auth_enabled - self.two_factor_auth_enabled_date = two_factor_auth_enabled_date self.unsubscribe = unsubscribe self.user_icon = user_icon self.username = username @@ -386,7 +385,7 @@ def _from_openapi_data(cls, accepted_tos_version, allow_avatar_copying, bio, bio ]) @convert_js_args_to_python_args - def __init__(self, accepted_tos_version, allow_avatar_copying, bio, bio_links, current_avatar, current_avatar_asset_url, current_avatar_image_url, current_avatar_thumbnail_image_url, date_joined, developer_type, display_name, email_verified, friend_group_names, friend_key, friends, has_birthday, has_email, has_logged_in_from_client, has_pending_email, home_location, id, last_login, last_platform, obfuscated_email, obfuscated_pending_email, oculus_id, past_display_names, profile_pic_override, state, status, status_description, status_first_time, status_history, steam_details, steam_id, tags, two_factor_auth_enabled, two_factor_auth_enabled_date, unsubscribe, user_icon, username, *args, **kwargs): # noqa: E501 + def __init__(self, accepted_tos_version, allow_avatar_copying, bio, bio_links, current_avatar, current_avatar_asset_url, current_avatar_image_url, current_avatar_thumbnail_image_url, date_joined, developer_type, display_name, email_verified, friend_group_names, friend_key, friends, has_birthday, has_email, has_logged_in_from_client, has_pending_email, home_location, id, last_login, last_platform, obfuscated_email, obfuscated_pending_email, oculus_id, past_display_names, profile_pic_override, state, status, status_description, status_first_time, status_history, steam_details, steam_id, tags, two_factor_auth_enabled, unsubscribe, user_icon, username, *args, **kwargs): # noqa: E501 """CurrentUser - a model defined in OpenAPI Args: @@ -427,7 +426,6 @@ def __init__(self, accepted_tos_version, allow_avatar_copying, bio, bio_links, c steam_id (str): tags ([Tag]): two_factor_auth_enabled (bool): - two_factor_auth_enabled_date (datetime): unsubscribe (bool): user_icon (str): username (str): @@ -469,6 +467,7 @@ def __init__(self, accepted_tos_version, allow_avatar_copying, bio, bio_links, c fallback_avatar (AvatarID): [optional] # noqa: E501 offline_friends ([str]): [optional] # noqa: E501 online_friends ([str]): [optional] # noqa: E501 + two_factor_auth_enabled_date (datetime): [optional] # noqa: E501 """ is_friend = kwargs.get('is_friend', False) @@ -533,7 +532,6 @@ def __init__(self, accepted_tos_version, allow_avatar_copying, bio, bio_links, c self.steam_id = steam_id self.tags = tags self.two_factor_auth_enabled = two_factor_auth_enabled - self.two_factor_auth_enabled_date = two_factor_auth_enabled_date self.unsubscribe = unsubscribe self.user_icon = user_icon self.username = username diff --git a/vrchatapi/model/deployment_group.py b/vrchatapi/model/deployment_group.py index 6da29e9a..9129f0f8 100644 --- a/vrchatapi/model/deployment_group.py +++ b/vrchatapi/model/deployment_group.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/developer_type.py b/vrchatapi/model/developer_type.py index 16029090..859edc25 100644 --- a/vrchatapi/model/developer_type.py +++ b/vrchatapi/model/developer_type.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/download_url_list.py b/vrchatapi/model/download_url_list.py index 0bf3f19f..8956f0fd 100644 --- a/vrchatapi/model/download_url_list.py +++ b/vrchatapi/model/download_url_list.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/dynamic_content_row.py b/vrchatapi/model/dynamic_content_row.py index d850c681..91df6770 100644 --- a/vrchatapi/model/dynamic_content_row.py +++ b/vrchatapi/model/dynamic_content_row.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/error.py b/vrchatapi/model/error.py index 1f416b8b..0f2685df 100644 --- a/vrchatapi/model/error.py +++ b/vrchatapi/model/error.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite.py b/vrchatapi/model/favorite.py index 1ff1facf..86bb3525 100644 --- a/vrchatapi/model/favorite.py +++ b/vrchatapi/model/favorite.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group.py b/vrchatapi/model/favorite_group.py index 0b91b636..56e624ee 100644 --- a/vrchatapi/model/favorite_group.py +++ b/vrchatapi/model/favorite_group.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group_id.py b/vrchatapi/model/favorite_group_id.py index ed1f164d..79849284 100644 --- a/vrchatapi/model/favorite_group_id.py +++ b/vrchatapi/model/favorite_group_id.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group_visibility.py b/vrchatapi/model/favorite_group_visibility.py index f168e486..397e7163 100644 --- a/vrchatapi/model/favorite_group_visibility.py +++ b/vrchatapi/model/favorite_group_visibility.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_id.py b/vrchatapi/model/favorite_id.py index 248f0c73..9685b166 100644 --- a/vrchatapi/model/favorite_id.py +++ b/vrchatapi/model/favorite_id.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_type.py b/vrchatapi/model/favorite_type.py index 4d4853e5..7203cbda 100644 --- a/vrchatapi/model/favorite_type.py +++ b/vrchatapi/model/favorite_type.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file.py b/vrchatapi/model/file.py index c4421c8e..f5ed8b0e 100644 --- a/vrchatapi/model/file.py +++ b/vrchatapi/model/file.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_data.py b/vrchatapi/model/file_data.py index 64c6d41d..0aef48db 100644 --- a/vrchatapi/model/file_data.py +++ b/vrchatapi/model/file_data.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_id.py b/vrchatapi/model/file_id.py index e5319a31..fd5a9352 100644 --- a/vrchatapi/model/file_id.py +++ b/vrchatapi/model/file_id.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_status.py b/vrchatapi/model/file_status.py index f48702cc..1bd6979f 100644 --- a/vrchatapi/model/file_status.py +++ b/vrchatapi/model/file_status.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_upload_url.py b/vrchatapi/model/file_upload_url.py index 6d39332e..84bef3f3 100644 --- a/vrchatapi/model/file_upload_url.py +++ b/vrchatapi/model/file_upload_url.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_version.py b/vrchatapi/model/file_version.py index 878bb834..ca1f5544 100644 --- a/vrchatapi/model/file_version.py +++ b/vrchatapi/model/file_version.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_version_upload_status.py b/vrchatapi/model/file_version_upload_status.py index 9acb4d7e..68d37e0d 100644 --- a/vrchatapi/model/file_version_upload_status.py +++ b/vrchatapi/model/file_version_upload_status.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/finish_file_data_upload_request.py b/vrchatapi/model/finish_file_data_upload_request.py index a2bc9b1f..76ddcdc7 100644 --- a/vrchatapi/model/finish_file_data_upload_request.py +++ b/vrchatapi/model/finish_file_data_upload_request.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/friend_status.py b/vrchatapi/model/friend_status.py index 7bfebef0..b315ac0f 100644 --- a/vrchatapi/model/friend_status.py +++ b/vrchatapi/model/friend_status.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push.py b/vrchatapi/model/info_push.py index 199c552d..e1044478 100644 --- a/vrchatapi/model/info_push.py +++ b/vrchatapi/model/info_push.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data.py b/vrchatapi/model/info_push_data.py index 569d75b6..fc016e8d 100644 --- a/vrchatapi/model/info_push_data.py +++ b/vrchatapi/model/info_push_data.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_article.py b/vrchatapi/model/info_push_data_article.py index b9e4ca6b..520ba984 100644 --- a/vrchatapi/model/info_push_data_article.py +++ b/vrchatapi/model/info_push_data_article.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_article_content.py b/vrchatapi/model/info_push_data_article_content.py index a65d13ca..397e22be 100644 --- a/vrchatapi/model/info_push_data_article_content.py +++ b/vrchatapi/model/info_push_data_article_content.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_clickable.py b/vrchatapi/model/info_push_data_clickable.py index 8e9d7045..c2f8b404 100644 --- a/vrchatapi/model/info_push_data_clickable.py +++ b/vrchatapi/model/info_push_data_clickable.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance.py b/vrchatapi/model/instance.py index 9c858bb9..169d941d 100644 --- a/vrchatapi/model/instance.py +++ b/vrchatapi/model/instance.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_id.py b/vrchatapi/model/instance_id.py index a35b75ae..bca90703 100644 --- a/vrchatapi/model/instance_id.py +++ b/vrchatapi/model/instance_id.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_platforms.py b/vrchatapi/model/instance_platforms.py index 3011424b..78f48f77 100644 --- a/vrchatapi/model/instance_platforms.py +++ b/vrchatapi/model/instance_platforms.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_type.py b/vrchatapi/model/instance_type.py index cda3ffbc..dc70160b 100644 --- a/vrchatapi/model/instance_type.py +++ b/vrchatapi/model/instance_type.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message.py b/vrchatapi/model/invite_message.py index 34e793f1..254828cf 100644 --- a/vrchatapi/model/invite_message.py +++ b/vrchatapi/model/invite_message.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message_id.py b/vrchatapi/model/invite_message_id.py index 60ac1ec8..6a3e48c0 100644 --- a/vrchatapi/model/invite_message_id.py +++ b/vrchatapi/model/invite_message_id.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message_type.py b/vrchatapi/model/invite_message_type.py index 18ab306c..41f27813 100644 --- a/vrchatapi/model/invite_message_type.py +++ b/vrchatapi/model/invite_message_type.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_request.py b/vrchatapi/model/invite_request.py index fe4934a2..a429cd7d 100644 --- a/vrchatapi/model/invite_request.py +++ b/vrchatapi/model/invite_request.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_response.py b/vrchatapi/model/invite_response.py index c67d2f62..23e06e94 100644 --- a/vrchatapi/model/invite_response.py +++ b/vrchatapi/model/invite_response.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license.py b/vrchatapi/model/license.py index 58582092..4621c3d5 100644 --- a/vrchatapi/model/license.py +++ b/vrchatapi/model/license.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_action.py b/vrchatapi/model/license_action.py index 785021b5..2843c611 100644 --- a/vrchatapi/model/license_action.py +++ b/vrchatapi/model/license_action.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_group.py b/vrchatapi/model/license_group.py index 154b4a97..d7951ccb 100644 --- a/vrchatapi/model/license_group.py +++ b/vrchatapi/model/license_group.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_group_id.py b/vrchatapi/model/license_group_id.py index dd02d12d..036fed17 100644 --- a/vrchatapi/model/license_group_id.py +++ b/vrchatapi/model/license_group_id.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_type.py b/vrchatapi/model/license_type.py index 69d072ad..f4a84716 100644 --- a/vrchatapi/model/license_type.py +++ b/vrchatapi/model/license_type.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_unity_package.py b/vrchatapi/model/limited_unity_package.py index 809be0d3..2ff05033 100644 --- a/vrchatapi/model/limited_unity_package.py +++ b/vrchatapi/model/limited_unity_package.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_user.py b/vrchatapi/model/limited_user.py index e58c0e20..08f11f2b 100644 --- a/vrchatapi/model/limited_user.py +++ b/vrchatapi/model/limited_user.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_world.py b/vrchatapi/model/limited_world.py index e124fe5a..db7b7213 100644 --- a/vrchatapi/model/limited_world.py +++ b/vrchatapi/model/limited_world.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/mime_type.py b/vrchatapi/model/mime_type.py index 15359b2e..ae68504e 100644 --- a/vrchatapi/model/mime_type.py +++ b/vrchatapi/model/mime_type.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/moderate_user_request.py b/vrchatapi/model/moderate_user_request.py index 525f4a2a..11f5a22e 100644 --- a/vrchatapi/model/moderate_user_request.py +++ b/vrchatapi/model/moderate_user_request.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/notification.py b/vrchatapi/model/notification.py index d5e5fbce..ca887801 100644 --- a/vrchatapi/model/notification.py +++ b/vrchatapi/model/notification.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/notification_type.py b/vrchatapi/model/notification_type.py index 9a6d3168..73dc93c6 100644 --- a/vrchatapi/model/notification_type.py +++ b/vrchatapi/model/notification_type.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/past_display_name.py b/vrchatapi/model/past_display_name.py index e6eab845..243075b9 100644 --- a/vrchatapi/model/past_display_name.py +++ b/vrchatapi/model/past_display_name.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/permission.py b/vrchatapi/model/permission.py index afd2c2da..94155f58 100644 --- a/vrchatapi/model/permission.py +++ b/vrchatapi/model/permission.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/permission_id.py b/vrchatapi/model/permission_id.py index f4ab66c0..78fd6fc9 100644 --- a/vrchatapi/model/permission_id.py +++ b/vrchatapi/model/permission_id.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation.py b/vrchatapi/model/player_moderation.py index 65588275..14c0922d 100644 --- a/vrchatapi/model/player_moderation.py +++ b/vrchatapi/model/player_moderation.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation_id.py b/vrchatapi/model/player_moderation_id.py index 72ac0b9e..c54c76b2 100644 --- a/vrchatapi/model/player_moderation_id.py +++ b/vrchatapi/model/player_moderation_id.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation_type.py b/vrchatapi/model/player_moderation_type.py index b9599b39..3bc47a6b 100644 --- a/vrchatapi/model/player_moderation_type.py +++ b/vrchatapi/model/player_moderation_type.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -58,6 +58,8 @@ class PlayerModerationType(ModelSimple): 'UNBLOCK': "unblock", 'HIDEAVATAR': "hideAvatar", 'SHOWAVATAR': "showAvatar", + 'INTERACTON': "interactOn", + 'INTERACTOFF': "interactOff", }, } @@ -109,10 +111,10 @@ def __init__(self, *args, **kwargs): Note that value can be passed either in args or in kwargs, but not in both. Args: - args[0] (str): if omitted defaults to "showAvatar", must be one of ["mute", "unmute", "block", "unblock", "hideAvatar", "showAvatar", ] # noqa: E501 + args[0] (str): if omitted defaults to "showAvatar", must be one of ["mute", "unmute", "block", "unblock", "hideAvatar", "showAvatar", "interactOn", "interactOff", ] # noqa: E501 Keyword Args: - value (str): if omitted defaults to "showAvatar", must be one of ["mute", "unmute", "block", "unblock", "hideAvatar", "showAvatar", ] # noqa: E501 + value (str): if omitted defaults to "showAvatar", must be one of ["mute", "unmute", "block", "unblock", "hideAvatar", "showAvatar", "interactOn", "interactOff", ] # noqa: E501 _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. @@ -195,10 +197,10 @@ def _from_openapi_data(cls, *args, **kwargs): Note that value can be passed either in args or in kwargs, but not in both. Args: - args[0] (str): if omitted defaults to "showAvatar", must be one of ["mute", "unmute", "block", "unblock", "hideAvatar", "showAvatar", ] # noqa: E501 + args[0] (str): if omitted defaults to "showAvatar", must be one of ["mute", "unmute", "block", "unblock", "hideAvatar", "showAvatar", "interactOn", "interactOff", ] # noqa: E501 Keyword Args: - value (str): if omitted defaults to "showAvatar", must be one of ["mute", "unmute", "block", "unblock", "hideAvatar", "showAvatar", ] # noqa: E501 + value (str): if omitted defaults to "showAvatar", must be one of ["mute", "unmute", "block", "unblock", "hideAvatar", "showAvatar", "interactOn", "interactOff", ] # noqa: E501 _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. diff --git a/vrchatapi/model/public_announcement.py b/vrchatapi/model/public_announcement.py index 611c21e1..64d6b868 100644 --- a/vrchatapi/model/public_announcement.py +++ b/vrchatapi/model/public_announcement.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/region.py b/vrchatapi/model/region.py index 898a6624..337d8487 100644 --- a/vrchatapi/model/region.py +++ b/vrchatapi/model/region.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/release_status.py b/vrchatapi/model/release_status.py index 73e0c118..ad27f64d 100644 --- a/vrchatapi/model/release_status.py +++ b/vrchatapi/model/release_status.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/request_invite_request.py b/vrchatapi/model/request_invite_request.py index 77a7e603..2e52fa03 100644 --- a/vrchatapi/model/request_invite_request.py +++ b/vrchatapi/model/request_invite_request.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/response.py b/vrchatapi/model/response.py index 8f737d44..cfd78c51 100644 --- a/vrchatapi/model/response.py +++ b/vrchatapi/model/response.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/subscription.py b/vrchatapi/model/subscription.py index c734d238..b205bb24 100644 --- a/vrchatapi/model/subscription.py +++ b/vrchatapi/model/subscription.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/subscription_period.py b/vrchatapi/model/subscription_period.py index 66fa1997..dd350457 100644 --- a/vrchatapi/model/subscription_period.py +++ b/vrchatapi/model/subscription_period.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/success.py b/vrchatapi/model/success.py index 6fc00bc7..f63fe4bd 100644 --- a/vrchatapi/model/success.py +++ b/vrchatapi/model/success.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/tag.py b/vrchatapi/model/tag.py index f122f862..db8d6f89 100644 --- a/vrchatapi/model/tag.py +++ b/vrchatapi/model/tag.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction.py b/vrchatapi/model/transaction.py index 345232d9..a78f482f 100644 --- a/vrchatapi/model/transaction.py +++ b/vrchatapi/model/transaction.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_agreement.py b/vrchatapi/model/transaction_agreement.py index f0260f16..c8829d46 100644 --- a/vrchatapi/model/transaction_agreement.py +++ b/vrchatapi/model/transaction_agreement.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_id.py b/vrchatapi/model/transaction_id.py index a4bb5c85..07f61cd0 100644 --- a/vrchatapi/model/transaction_id.py +++ b/vrchatapi/model/transaction_id.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_status.py b/vrchatapi/model/transaction_status.py index 7ba76849..ca2d50a4 100644 --- a/vrchatapi/model/transaction_status.py +++ b/vrchatapi/model/transaction_status.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_steam_info.py b/vrchatapi/model/transaction_steam_info.py index eff6ec38..da93a59a 100644 --- a/vrchatapi/model/transaction_steam_info.py +++ b/vrchatapi/model/transaction_steam_info.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_steam_wallet_info.py b/vrchatapi/model/transaction_steam_wallet_info.py index 687dbabe..a787f03e 100644 --- a/vrchatapi/model/transaction_steam_wallet_info.py +++ b/vrchatapi/model/transaction_steam_wallet_info.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/two_factor_auth_code.py b/vrchatapi/model/two_factor_auth_code.py index d172549f..60b5d51e 100644 --- a/vrchatapi/model/two_factor_auth_code.py +++ b/vrchatapi/model/two_factor_auth_code.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/unity_package.py b/vrchatapi/model/unity_package.py index 4532f17c..6b3bcbd9 100644 --- a/vrchatapi/model/unity_package.py +++ b/vrchatapi/model/unity_package.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/unity_package_id.py b/vrchatapi/model/unity_package_id.py index 9ec414e0..052f2762 100644 --- a/vrchatapi/model/unity_package_id.py +++ b/vrchatapi/model/unity_package_id.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_avatar_request.py b/vrchatapi/model/update_avatar_request.py index b64f2ec8..d01dc303 100644 --- a/vrchatapi/model/update_avatar_request.py +++ b/vrchatapi/model/update_avatar_request.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_favorite_group_request.py b/vrchatapi/model/update_favorite_group_request.py index 08c9dd2e..a1337a61 100644 --- a/vrchatapi/model/update_favorite_group_request.py +++ b/vrchatapi/model/update_favorite_group_request.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_invite_message_request.py b/vrchatapi/model/update_invite_message_request.py index ea12b834..827e1a7d 100644 --- a/vrchatapi/model/update_invite_message_request.py +++ b/vrchatapi/model/update_invite_message_request.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_user_request.py b/vrchatapi/model/update_user_request.py index 5ca04421..314540fe 100644 --- a/vrchatapi/model/update_user_request.py +++ b/vrchatapi/model/update_user_request.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_world_request.py b/vrchatapi/model/update_world_request.py index 81b31462..8af076de 100644 --- a/vrchatapi/model/update_world_request.py +++ b/vrchatapi/model/update_world_request.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user.py b/vrchatapi/model/user.py index 5a13f51f..b83fc723 100644 --- a/vrchatapi/model/user.py +++ b/vrchatapi/model/user.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_exists.py b/vrchatapi/model/user_exists.py index a776edad..31372e95 100644 --- a/vrchatapi/model/user_exists.py +++ b/vrchatapi/model/user_exists.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_state.py b/vrchatapi/model/user_state.py index ab9233d2..b2de0027 100644 --- a/vrchatapi/model/user_state.py +++ b/vrchatapi/model/user_state.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_status.py b/vrchatapi/model/user_status.py index 8fc19a84..a352d212 100644 --- a/vrchatapi/model/user_status.py +++ b/vrchatapi/model/user_status.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_subscription.py b/vrchatapi/model/user_subscription.py index 3acfc59c..8ded3daf 100644 --- a/vrchatapi/model/user_subscription.py +++ b/vrchatapi/model/user_subscription.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/verify2_fa_result.py b/vrchatapi/model/verify2_fa_result.py index b989b835..5515497a 100644 --- a/vrchatapi/model/verify2_fa_result.py +++ b/vrchatapi/model/verify2_fa_result.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/verify_auth_token_result.py b/vrchatapi/model/verify_auth_token_result.py index 1c9fdd07..190fca97 100644 --- a/vrchatapi/model/verify_auth_token_result.py +++ b/vrchatapi/model/verify_auth_token_result.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world.py b/vrchatapi/model/world.py index a2cdeca8..80520d25 100644 --- a/vrchatapi/model/world.py +++ b/vrchatapi/model/world.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_id.py b/vrchatapi/model/world_id.py index 57eb3e0e..531ee7ee 100644 --- a/vrchatapi/model/world_id.py +++ b/vrchatapi/model/world_id.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_metadata.py b/vrchatapi/model/world_metadata.py index b04dd0da..a9af2e2a 100644 --- a/vrchatapi/model/world_metadata.py +++ b/vrchatapi/model/world_metadata.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_publish_status.py b/vrchatapi/model/world_publish_status.py index 83f7b3b7..c67c0b02 100644 --- a/vrchatapi/model/world_publish_status.py +++ b/vrchatapi/model/world_publish_status.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model_utils.py b/vrchatapi/model_utils.py index 5ac36808..d5000c8d 100644 --- a/vrchatapi/model_utils.py +++ b/vrchatapi/model_utils.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index c40e18fe..874a11e9 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -2,8 +2,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.6.10 - Contact: me@ruby.js.org + The version of the OpenAPI document: 1.7.0 + Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ From 48d6f437741c949ebf0fafae1724d13a98745a92 Mon Sep 17 00:00:00 2001 From: VRCCat Date: Wed, 27 Apr 2022 22:45:12 +0000 Subject: [PATCH 007/102] Upgrade Python SDK to spec 1.7.1 --- docs/CurrentUser.md | 2 +- package-lock.json | 176 +++++++++--------- package.json | 2 +- setup.py | 4 +- vrchatapi/__init__.py | 2 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 +- vrchatapi/exceptions.py | 2 +- vrchatapi/model/add_favorite_request.py | 2 +- vrchatapi/model/api_config.py | 2 +- vrchatapi/model/api_event_config.py | 2 +- vrchatapi/model/api_health.py | 2 +- vrchatapi/model/avatar.py | 2 +- vrchatapi/model/avatar_id.py | 2 +- .../model/avatar_unity_package_url_object.py | 2 +- vrchatapi/model/create_avatar_request.py | 2 +- vrchatapi/model/create_file_request.py | 2 +- .../model/create_file_version_request.py | 2 +- vrchatapi/model/create_world_request.py | 2 +- vrchatapi/model/current_user.py | 8 +- vrchatapi/model/deployment_group.py | 2 +- vrchatapi/model/developer_type.py | 2 +- vrchatapi/model/download_url_list.py | 2 +- vrchatapi/model/dynamic_content_row.py | 2 +- vrchatapi/model/error.py | 2 +- vrchatapi/model/favorite.py | 2 +- vrchatapi/model/favorite_group.py | 2 +- vrchatapi/model/favorite_group_id.py | 2 +- vrchatapi/model/favorite_group_visibility.py | 2 +- vrchatapi/model/favorite_id.py | 2 +- vrchatapi/model/favorite_type.py | 2 +- vrchatapi/model/file.py | 2 +- vrchatapi/model/file_data.py | 2 +- vrchatapi/model/file_id.py | 2 +- vrchatapi/model/file_status.py | 2 +- vrchatapi/model/file_upload_url.py | 2 +- vrchatapi/model/file_version.py | 2 +- vrchatapi/model/file_version_upload_status.py | 2 +- .../model/finish_file_data_upload_request.py | 2 +- vrchatapi/model/friend_status.py | 2 +- vrchatapi/model/info_push.py | 2 +- vrchatapi/model/info_push_data.py | 2 +- vrchatapi/model/info_push_data_article.py | 2 +- .../model/info_push_data_article_content.py | 2 +- vrchatapi/model/info_push_data_clickable.py | 2 +- vrchatapi/model/instance.py | 2 +- vrchatapi/model/instance_id.py | 2 +- vrchatapi/model/instance_platforms.py | 2 +- vrchatapi/model/instance_type.py | 2 +- vrchatapi/model/invite_message.py | 2 +- vrchatapi/model/invite_message_id.py | 2 +- vrchatapi/model/invite_message_type.py | 2 +- vrchatapi/model/invite_request.py | 2 +- vrchatapi/model/invite_response.py | 2 +- vrchatapi/model/license.py | 2 +- vrchatapi/model/license_action.py | 2 +- vrchatapi/model/license_group.py | 2 +- vrchatapi/model/license_group_id.py | 2 +- vrchatapi/model/license_type.py | 2 +- vrchatapi/model/limited_unity_package.py | 2 +- vrchatapi/model/limited_user.py | 2 +- vrchatapi/model/limited_world.py | 2 +- vrchatapi/model/mime_type.py | 2 +- vrchatapi/model/moderate_user_request.py | 2 +- vrchatapi/model/notification.py | 2 +- vrchatapi/model/notification_type.py | 2 +- vrchatapi/model/past_display_name.py | 2 +- vrchatapi/model/permission.py | 2 +- vrchatapi/model/permission_id.py | 2 +- vrchatapi/model/player_moderation.py | 2 +- vrchatapi/model/player_moderation_id.py | 2 +- vrchatapi/model/player_moderation_type.py | 2 +- vrchatapi/model/public_announcement.py | 2 +- vrchatapi/model/region.py | 2 +- vrchatapi/model/release_status.py | 2 +- vrchatapi/model/request_invite_request.py | 2 +- vrchatapi/model/response.py | 2 +- vrchatapi/model/subscription.py | 2 +- vrchatapi/model/subscription_period.py | 2 +- vrchatapi/model/success.py | 2 +- vrchatapi/model/tag.py | 2 +- vrchatapi/model/transaction.py | 2 +- vrchatapi/model/transaction_agreement.py | 2 +- vrchatapi/model/transaction_id.py | 2 +- vrchatapi/model/transaction_status.py | 2 +- vrchatapi/model/transaction_steam_info.py | 2 +- .../model/transaction_steam_wallet_info.py | 2 +- vrchatapi/model/two_factor_auth_code.py | 2 +- vrchatapi/model/unity_package.py | 2 +- vrchatapi/model/unity_package_id.py | 2 +- vrchatapi/model/update_avatar_request.py | 2 +- .../model/update_favorite_group_request.py | 2 +- .../model/update_invite_message_request.py | 2 +- vrchatapi/model/update_user_request.py | 2 +- vrchatapi/model/update_world_request.py | 2 +- vrchatapi/model/user.py | 2 +- vrchatapi/model/user_exists.py | 2 +- vrchatapi/model/user_state.py | 2 +- vrchatapi/model/user_status.py | 2 +- vrchatapi/model/user_subscription.py | 2 +- vrchatapi/model/verify2_fa_result.py | 2 +- vrchatapi/model/verify_auth_token_result.py | 2 +- vrchatapi/model/world.py | 2 +- vrchatapi/model/world_id.py | 2 +- vrchatapi/model/world_metadata.py | 2 +- vrchatapi/model/world_publish_status.py | 2 +- vrchatapi/model_utils.py | 2 +- vrchatapi/rest.py | 2 +- 122 files changed, 214 insertions(+), 214 deletions(-) diff --git a/docs/CurrentUser.md b/docs/CurrentUser.md index 0e700bf9..c1341ff2 100644 --- a/docs/CurrentUser.md +++ b/docs/CurrentUser.md @@ -50,7 +50,7 @@ Name | Type | Description | Notes **fallback_avatar** | [**AvatarID**](AvatarID.md) | | [optional] **offline_friends** | **[str]** | | [optional] **online_friends** | **[str]** | | [optional] -**two_factor_auth_enabled_date** | **datetime** | | [optional] +**two_factor_auth_enabled_date** | **datetime, none_type** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/package-lock.json b/package-lock.json index af90a804..8877416c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,15 +5,15 @@ "packages": { "": { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.4.26" + "@openapitools/openapi-generator-cli": "^2.5.1" } }, "node_modules/@nestjs/common": { - "version": "8.2.6", - "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-8.2.6.tgz", - "integrity": "sha512-flLYSXunxcKyjbYddrhwbc49uE705MxBt85rS3mHyhDbAIPSGGeZEqME44YyAzCg1NTfJSNe7ztmOce5kNkb9A==", + "version": "8.4.4", + "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-8.4.4.tgz", + "integrity": "sha512-QHi7QcgH/5Jinz+SCfIZJkFHc6Cch1YsAEGFEhi6wSp6MILb0sJMQ1CX06e9tCOAjSlBwaJj4PH0eFCVau5v9Q==", "dependencies": { - "axios": "0.24.0", + "axios": "0.26.1", "iterare": "1.2.1", "tslib": "2.3.1", "uuid": "8.3.2" @@ -42,15 +42,15 @@ } }, "node_modules/@nestjs/core": { - "version": "8.2.6", - "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-8.2.6.tgz", - "integrity": "sha512-NwPcEIMmCsucs3QaDlQvkoU1FlFM2wm/WjaqLQhkSoIEmAR1gNtBo88f5io5cpMwCo1k5xYhqGlaSl6TfngwWQ==", + "version": "8.4.4", + "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-8.4.4.tgz", + "integrity": "sha512-Ef3yJPuzAttpNfehnGqIV5kHIL9SHptB5F4ERxoU7pT61H3xiYpZw6hSjx68cJO7cc6rm7/N+b4zeuJvFHtvBg==", "hasInstallScript": true, "dependencies": { "@nuxtjs/opencollective": "0.3.2", "fast-safe-stringify": "2.1.1", "iterare": "1.2.1", - "object-hash": "2.2.0", + "object-hash": "3.0.0", "path-to-regexp": "3.2.0", "tslib": "2.3.1", "uuid": "8.3.2" @@ -97,25 +97,25 @@ } }, "node_modules/@openapitools/openapi-generator-cli": { - "version": "2.4.26", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.4.26.tgz", - "integrity": "sha512-O42H9q1HWGoIpcpMaUu318b6bmOgcjP3MieHwOrFdoG3KyttceBGlbLf9Kbf7WM91WSNCDXum7cnEKASuoGjAg==", + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.5.1.tgz", + "integrity": "sha512-WSRQBU0dCSVD+0Qv8iCsv0C4iMaZe/NpJ/CT4SmrEYLH3txoKTE8wEfbdj/kqShS8Or0YEGDPUzhSIKY151L0w==", "hasInstallScript": true, "dependencies": { - "@nestjs/common": "8.2.6", - "@nestjs/core": "8.2.6", + "@nestjs/common": "8.4.4", + "@nestjs/core": "8.4.4", "@nuxtjs/opencollective": "0.3.2", "chalk": "4.1.2", "commander": "8.3.0", - "compare-versions": "3.6.0", + "compare-versions": "4.1.3", "concurrently": "6.5.1", "console.table": "0.10.0", - "fs-extra": "10.0.0", + "fs-extra": "10.0.1", "glob": "7.1.6", - "inquirer": "8.2.0", + "inquirer": "8.2.2", "lodash": "4.17.21", "reflect-metadata": "0.1.13", - "rxjs": "7.5.2", + "rxjs": "7.5.5", "tslib": "2.0.3" }, "bin": { @@ -171,11 +171,11 @@ } }, "node_modules/axios": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.24.0.tgz", - "integrity": "sha512-Q6cWsys88HoPgAaFAVUb0WpPk0O8iTeisR9IMqy9G8AbO4NlpVknrnQS03zzF9PGAWgO3cgletO3VjV/P7VztA==", + "version": "0.26.1", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.26.1.tgz", + "integrity": "sha512-fPwcX4EvnSHuInCMItEhAGnaSEXRBjtzh9fOtsE6E1G6p7vl7edEeZe11QHf18+6+9gR5PbKV/sGKNaD8YaMeA==", "dependencies": { - "follow-redirects": "^1.14.4" + "follow-redirects": "^1.14.8" } }, "node_modules/balanced-match": { @@ -337,9 +337,9 @@ } }, "node_modules/compare-versions": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-3.6.0.tgz", - "integrity": "sha512-W6Af2Iw1z4CB7q4uU4hv646dW9GQuBM+YpC0UvUCWSD8w90SJjp+ujJuXaEMtAXBtSqGfMPuFOVn4/+FlaqfBA==" + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-4.1.3.tgz", + "integrity": "sha512-WQfnbDcrYnGr55UwbxKiQKASnTtNnaAWVi8jZyy8NTpVAXWACSne8lMD1iaIo9AiU6mnuLvSVshCzewVuWxHUg==" }, "node_modules/concat-map": { "version": "0.0.1", @@ -514,9 +514,9 @@ } }, "node_modules/fs-extra": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.0.0.tgz", - "integrity": "sha512-C5owb14u9eJwizKGdchcDUQeFtlSHHthBk8pbX9Vc1PFZrLombudjDnNns88aYslCyF6IY5SUw3Roz6xShcEIQ==", + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.0.1.tgz", + "integrity": "sha512-NbdoVMZso2Lsrn/QwLXOy6rm0ufY2zEOKCDzJR/0kBsb0E6qed0P3iYK+Ath3BfvXEeu4JhEtXLgILx5psUfag==", "dependencies": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", @@ -559,9 +559,9 @@ } }, "node_modules/graceful-fs": { - "version": "4.2.8", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz", - "integrity": "sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==" + "version": "4.2.10", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", + "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==" }, "node_modules/has-flag": { "version": "4.0.0", @@ -616,9 +616,9 @@ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" }, "node_modules/inquirer": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.0.tgz", - "integrity": "sha512-0crLweprevJ02tTuA6ThpoAERAGyVILC4sS74uib58Xf/zSr1/ZWtmm7D5CI+bSQEaA04f0K7idaHpQbSWgiVQ==", + "version": "8.2.2", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.2.tgz", + "integrity": "sha512-pG7I/si6K/0X7p1qU+rfWnpTE1UIkTONN1wxtzh0d+dHXtT/JG6qBgLxoyHVsQa8cFABxAPh0pD6uUUHiAoaow==", "dependencies": { "ansi-escapes": "^4.2.1", "chalk": "^4.1.1", @@ -630,13 +630,13 @@ "mute-stream": "0.0.8", "ora": "^5.4.1", "run-async": "^2.4.0", - "rxjs": "^7.2.0", + "rxjs": "^7.5.5", "string-width": "^4.1.0", "strip-ansi": "^6.0.0", "through": "^2.3.6" }, "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" } }, "node_modules/is-fullwidth-code-point": { @@ -749,9 +749,9 @@ } }, "node_modules/object-hash": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-2.2.0.tgz", - "integrity": "sha512-gScRMn0bS5fH+IuwyIFgnh9zBdo4DV+6GhygmWM9HyNJSgS0hScp1f5vjtm7oIIOiT9trXrShAkLFSc2IqKNgw==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", + "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==", "engines": { "node": ">= 6" } @@ -868,9 +868,9 @@ } }, "node_modules/rxjs": { - "version": "7.5.2", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.5.2.tgz", - "integrity": "sha512-PwDt186XaL3QN5qXj/H9DGyHhP3/RYYgZZwqBv9Tv8rsAaiwFH1IsJJlcgD37J7UW5a6O67qX0KWKS3/pu0m4w==", + "version": "7.5.5", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.5.5.tgz", + "integrity": "sha512-sy+H0pQofO95VDmFLzyaw9xNJU4KTRSwQIGM6+iG3SypAtCiLDzpeG8sJrNCWn2Up9km+KhkvTdbkrdy+yzZdw==", "dependencies": { "tslib": "^2.1.0" } @@ -900,9 +900,9 @@ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, "node_modules/signal-exit": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.5.tgz", - "integrity": "sha512-KWcOiKeQj6ZyXx7zq4YxSMgHRlod4czeBQZrPb8OKcohcqAXShm7E20kEMle9WBt26hFcAf0qLOcp5zmY7kOqQ==" + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" }, "node_modules/spawn-command": { "version": "0.0.2-1", @@ -1097,25 +1097,25 @@ }, "dependencies": { "@nestjs/common": { - "version": "8.2.6", - "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-8.2.6.tgz", - "integrity": "sha512-flLYSXunxcKyjbYddrhwbc49uE705MxBt85rS3mHyhDbAIPSGGeZEqME44YyAzCg1NTfJSNe7ztmOce5kNkb9A==", + "version": "8.4.4", + "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-8.4.4.tgz", + "integrity": "sha512-QHi7QcgH/5Jinz+SCfIZJkFHc6Cch1YsAEGFEhi6wSp6MILb0sJMQ1CX06e9tCOAjSlBwaJj4PH0eFCVau5v9Q==", "requires": { - "axios": "0.24.0", + "axios": "0.26.1", "iterare": "1.2.1", "tslib": "2.3.1", "uuid": "8.3.2" } }, "@nestjs/core": { - "version": "8.2.6", - "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-8.2.6.tgz", - "integrity": "sha512-NwPcEIMmCsucs3QaDlQvkoU1FlFM2wm/WjaqLQhkSoIEmAR1gNtBo88f5io5cpMwCo1k5xYhqGlaSl6TfngwWQ==", + "version": "8.4.4", + "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-8.4.4.tgz", + "integrity": "sha512-Ef3yJPuzAttpNfehnGqIV5kHIL9SHptB5F4ERxoU7pT61H3xiYpZw6hSjx68cJO7cc6rm7/N+b4zeuJvFHtvBg==", "requires": { "@nuxtjs/opencollective": "0.3.2", "fast-safe-stringify": "2.1.1", "iterare": "1.2.1", - "object-hash": "2.2.0", + "object-hash": "3.0.0", "path-to-regexp": "3.2.0", "tslib": "2.3.1", "uuid": "8.3.2" @@ -1132,24 +1132,24 @@ } }, "@openapitools/openapi-generator-cli": { - "version": "2.4.26", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.4.26.tgz", - "integrity": "sha512-O42H9q1HWGoIpcpMaUu318b6bmOgcjP3MieHwOrFdoG3KyttceBGlbLf9Kbf7WM91WSNCDXum7cnEKASuoGjAg==", + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.5.1.tgz", + "integrity": "sha512-WSRQBU0dCSVD+0Qv8iCsv0C4iMaZe/NpJ/CT4SmrEYLH3txoKTE8wEfbdj/kqShS8Or0YEGDPUzhSIKY151L0w==", "requires": { - "@nestjs/common": "8.2.6", - "@nestjs/core": "8.2.6", + "@nestjs/common": "8.4.4", + "@nestjs/core": "8.4.4", "@nuxtjs/opencollective": "0.3.2", "chalk": "4.1.2", "commander": "8.3.0", - "compare-versions": "3.6.0", + "compare-versions": "4.1.3", "concurrently": "6.5.1", "console.table": "0.10.0", - "fs-extra": "10.0.0", + "fs-extra": "10.0.1", "glob": "7.1.6", - "inquirer": "8.2.0", + "inquirer": "8.2.2", "lodash": "4.17.21", "reflect-metadata": "0.1.13", - "rxjs": "7.5.2", + "rxjs": "7.5.5", "tslib": "2.0.3" }, "dependencies": { @@ -1182,11 +1182,11 @@ } }, "axios": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.24.0.tgz", - "integrity": "sha512-Q6cWsys88HoPgAaFAVUb0WpPk0O8iTeisR9IMqy9G8AbO4NlpVknrnQS03zzF9PGAWgO3cgletO3VjV/P7VztA==", + "version": "0.26.1", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.26.1.tgz", + "integrity": "sha512-fPwcX4EvnSHuInCMItEhAGnaSEXRBjtzh9fOtsE6E1G6p7vl7edEeZe11QHf18+6+9gR5PbKV/sGKNaD8YaMeA==", "requires": { - "follow-redirects": "^1.14.4" + "follow-redirects": "^1.14.8" } }, "balanced-match": { @@ -1293,9 +1293,9 @@ "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==" }, "compare-versions": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-3.6.0.tgz", - "integrity": "sha512-W6Af2Iw1z4CB7q4uU4hv646dW9GQuBM+YpC0UvUCWSD8w90SJjp+ujJuXaEMtAXBtSqGfMPuFOVn4/+FlaqfBA==" + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-4.1.3.tgz", + "integrity": "sha512-WQfnbDcrYnGr55UwbxKiQKASnTtNnaAWVi8jZyy8NTpVAXWACSne8lMD1iaIo9AiU6mnuLvSVshCzewVuWxHUg==" }, "concat-map": { "version": "0.0.1", @@ -1418,9 +1418,9 @@ "integrity": "sha512-MQDfihBQYMcyy5dhRDJUHcw7lb2Pv/TuE6xP1vyraLukNDHKbDxDNaOE3NbCAdKQApno+GPRyo1YAp89yCjK4w==" }, "fs-extra": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.0.0.tgz", - "integrity": "sha512-C5owb14u9eJwizKGdchcDUQeFtlSHHthBk8pbX9Vc1PFZrLombudjDnNns88aYslCyF6IY5SUw3Roz6xShcEIQ==", + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.0.1.tgz", + "integrity": "sha512-NbdoVMZso2Lsrn/QwLXOy6rm0ufY2zEOKCDzJR/0kBsb0E6qed0P3iYK+Ath3BfvXEeu4JhEtXLgILx5psUfag==", "requires": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", @@ -1451,9 +1451,9 @@ } }, "graceful-fs": { - "version": "4.2.8", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz", - "integrity": "sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==" + "version": "4.2.10", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", + "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==" }, "has-flag": { "version": "4.0.0", @@ -1488,9 +1488,9 @@ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" }, "inquirer": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.0.tgz", - "integrity": "sha512-0crLweprevJ02tTuA6ThpoAERAGyVILC4sS74uib58Xf/zSr1/ZWtmm7D5CI+bSQEaA04f0K7idaHpQbSWgiVQ==", + "version": "8.2.2", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.2.tgz", + "integrity": "sha512-pG7I/si6K/0X7p1qU+rfWnpTE1UIkTONN1wxtzh0d+dHXtT/JG6qBgLxoyHVsQa8cFABxAPh0pD6uUUHiAoaow==", "requires": { "ansi-escapes": "^4.2.1", "chalk": "^4.1.1", @@ -1502,7 +1502,7 @@ "mute-stream": "0.0.8", "ora": "^5.4.1", "run-async": "^2.4.0", - "rxjs": "^7.2.0", + "rxjs": "^7.5.5", "string-width": "^4.1.0", "strip-ansi": "^6.0.0", "through": "^2.3.6" @@ -1578,9 +1578,9 @@ } }, "object-hash": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-2.2.0.tgz", - "integrity": "sha512-gScRMn0bS5fH+IuwyIFgnh9zBdo4DV+6GhygmWM9HyNJSgS0hScp1f5vjtm7oIIOiT9trXrShAkLFSc2IqKNgw==" + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", + "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==" }, "once": { "version": "1.4.0", @@ -1664,9 +1664,9 @@ "integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==" }, "rxjs": { - "version": "7.5.2", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.5.2.tgz", - "integrity": "sha512-PwDt186XaL3QN5qXj/H9DGyHhP3/RYYgZZwqBv9Tv8rsAaiwFH1IsJJlcgD37J7UW5a6O67qX0KWKS3/pu0m4w==", + "version": "7.5.5", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.5.5.tgz", + "integrity": "sha512-sy+H0pQofO95VDmFLzyaw9xNJU4KTRSwQIGM6+iG3SypAtCiLDzpeG8sJrNCWn2Up9km+KhkvTdbkrdy+yzZdw==", "requires": { "tslib": "^2.1.0" } @@ -1682,9 +1682,9 @@ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, "signal-exit": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.5.tgz", - "integrity": "sha512-KWcOiKeQj6ZyXx7zq4YxSMgHRlod4czeBQZrPb8OKcohcqAXShm7E20kEMle9WBt26hFcAf0qLOcp5zmY7kOqQ==" + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" }, "spawn-command": { "version": "0.0.2-1", diff --git a/package.json b/package.json index 0c08931f..e40c358f 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.4.26" + "@openapitools/openapi-generator-cli": "^2.5.1" } } diff --git a/setup.py b/setup.py index 7b99bfb4..187040b9 100644 --- a/setup.py +++ b/setup.py @@ -64,7 +64,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -73,7 +73,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.7.0" +VERSION = "1.7.1" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 66e7f733..40fce79f 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index 11e65397..ffa8f58e 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index 254ff457..a076900a 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index bec4548e..00b5c456 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index 0c35a1f8..8418251a 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index 1d297527..280add16 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index 0926c224..c4c24c68 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 277dc2b0..89693f97 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index c2d844c7..d27e366c 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index f7d367cc..d26fde1f 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index 7fcb728d..597a57c6 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index fca7079a..307c5401 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index 43c17281..d9b40ea1 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index 7e85f2b2..4dcdd05e 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 8ed1c6ad..78bf26a1 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index 6bcaf9fa..20deb6c6 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index b1ced82f..2c5cb203 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -455,7 +455,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.7.0\n"\ + "Version of the API: 1.7.1\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index c135d0d4..e72ea665 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/add_favorite_request.py b/vrchatapi/model/add_favorite_request.py index 42f533eb..46db9c59 100644 --- a/vrchatapi/model/add_favorite_request.py +++ b/vrchatapi/model/add_favorite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_config.py b/vrchatapi/model/api_config.py index 8f5d93f1..091c176f 100644 --- a/vrchatapi/model/api_config.py +++ b/vrchatapi/model/api_config.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_event_config.py b/vrchatapi/model/api_event_config.py index 56cde7b9..b3a88e57 100644 --- a/vrchatapi/model/api_event_config.py +++ b/vrchatapi/model/api_event_config.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_health.py b/vrchatapi/model/api_health.py index e4714ac8..f02fb43c 100644 --- a/vrchatapi/model/api_health.py +++ b/vrchatapi/model/api_health.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar.py b/vrchatapi/model/avatar.py index 4a21fd27..f79440e4 100644 --- a/vrchatapi/model/avatar.py +++ b/vrchatapi/model/avatar.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar_id.py b/vrchatapi/model/avatar_id.py index ad7bcd16..f313143b 100644 --- a/vrchatapi/model/avatar_id.py +++ b/vrchatapi/model/avatar_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar_unity_package_url_object.py b/vrchatapi/model/avatar_unity_package_url_object.py index b1f1bae5..b08de641 100644 --- a/vrchatapi/model/avatar_unity_package_url_object.py +++ b/vrchatapi/model/avatar_unity_package_url_object.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_avatar_request.py b/vrchatapi/model/create_avatar_request.py index 7cdc499c..a3b5f8c0 100644 --- a/vrchatapi/model/create_avatar_request.py +++ b/vrchatapi/model/create_avatar_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_file_request.py b/vrchatapi/model/create_file_request.py index ecffe36e..6fd8c57b 100644 --- a/vrchatapi/model/create_file_request.py +++ b/vrchatapi/model/create_file_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_file_version_request.py b/vrchatapi/model/create_file_version_request.py index 409ff13f..1d1b71c6 100644 --- a/vrchatapi/model/create_file_version_request.py +++ b/vrchatapi/model/create_file_version_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_world_request.py b/vrchatapi/model/create_world_request.py index fc76506d..37937120 100644 --- a/vrchatapi/model/create_world_request.py +++ b/vrchatapi/model/create_world_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/current_user.py b/vrchatapi/model/current_user.py index 63447fd6..b3689a25 100644 --- a/vrchatapi/model/current_user.py +++ b/vrchatapi/model/current_user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -148,7 +148,7 @@ def openapi_types(): 'fallback_avatar': (AvatarID,), # noqa: E501 'offline_friends': ([str],), # noqa: E501 'online_friends': ([str],), # noqa: E501 - 'two_factor_auth_enabled_date': (datetime,), # noqa: E501 + 'two_factor_auth_enabled_date': (datetime, none_type,), # noqa: E501 } @cached_property @@ -295,7 +295,7 @@ def _from_openapi_data(cls, accepted_tos_version, allow_avatar_copying, bio, bio fallback_avatar (AvatarID): [optional] # noqa: E501 offline_friends ([str]): [optional] # noqa: E501 online_friends ([str]): [optional] # noqa: E501 - two_factor_auth_enabled_date (datetime): [optional] # noqa: E501 + two_factor_auth_enabled_date (datetime, none_type): [optional] # noqa: E501 """ is_friend = kwargs.get('is_friend', False) @@ -467,7 +467,7 @@ def __init__(self, accepted_tos_version, allow_avatar_copying, bio, bio_links, c fallback_avatar (AvatarID): [optional] # noqa: E501 offline_friends ([str]): [optional] # noqa: E501 online_friends ([str]): [optional] # noqa: E501 - two_factor_auth_enabled_date (datetime): [optional] # noqa: E501 + two_factor_auth_enabled_date (datetime, none_type): [optional] # noqa: E501 """ is_friend = kwargs.get('is_friend', False) diff --git a/vrchatapi/model/deployment_group.py b/vrchatapi/model/deployment_group.py index 9129f0f8..f1ec8a5b 100644 --- a/vrchatapi/model/deployment_group.py +++ b/vrchatapi/model/deployment_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/developer_type.py b/vrchatapi/model/developer_type.py index 859edc25..c0eee180 100644 --- a/vrchatapi/model/developer_type.py +++ b/vrchatapi/model/developer_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/download_url_list.py b/vrchatapi/model/download_url_list.py index 8956f0fd..93b07030 100644 --- a/vrchatapi/model/download_url_list.py +++ b/vrchatapi/model/download_url_list.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/dynamic_content_row.py b/vrchatapi/model/dynamic_content_row.py index 91df6770..003c4029 100644 --- a/vrchatapi/model/dynamic_content_row.py +++ b/vrchatapi/model/dynamic_content_row.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/error.py b/vrchatapi/model/error.py index 0f2685df..66d3f492 100644 --- a/vrchatapi/model/error.py +++ b/vrchatapi/model/error.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite.py b/vrchatapi/model/favorite.py index 86bb3525..8e4c259a 100644 --- a/vrchatapi/model/favorite.py +++ b/vrchatapi/model/favorite.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group.py b/vrchatapi/model/favorite_group.py index 56e624ee..081e4d8a 100644 --- a/vrchatapi/model/favorite_group.py +++ b/vrchatapi/model/favorite_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group_id.py b/vrchatapi/model/favorite_group_id.py index 79849284..f6dd9be7 100644 --- a/vrchatapi/model/favorite_group_id.py +++ b/vrchatapi/model/favorite_group_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group_visibility.py b/vrchatapi/model/favorite_group_visibility.py index 397e7163..79dfa8b0 100644 --- a/vrchatapi/model/favorite_group_visibility.py +++ b/vrchatapi/model/favorite_group_visibility.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_id.py b/vrchatapi/model/favorite_id.py index 9685b166..788b557e 100644 --- a/vrchatapi/model/favorite_id.py +++ b/vrchatapi/model/favorite_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_type.py b/vrchatapi/model/favorite_type.py index 7203cbda..5698b0d1 100644 --- a/vrchatapi/model/favorite_type.py +++ b/vrchatapi/model/favorite_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file.py b/vrchatapi/model/file.py index f5ed8b0e..6ea3927d 100644 --- a/vrchatapi/model/file.py +++ b/vrchatapi/model/file.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_data.py b/vrchatapi/model/file_data.py index 0aef48db..b8054a94 100644 --- a/vrchatapi/model/file_data.py +++ b/vrchatapi/model/file_data.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_id.py b/vrchatapi/model/file_id.py index fd5a9352..039bb4d6 100644 --- a/vrchatapi/model/file_id.py +++ b/vrchatapi/model/file_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_status.py b/vrchatapi/model/file_status.py index 1bd6979f..b2fdead5 100644 --- a/vrchatapi/model/file_status.py +++ b/vrchatapi/model/file_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_upload_url.py b/vrchatapi/model/file_upload_url.py index 84bef3f3..aeac9174 100644 --- a/vrchatapi/model/file_upload_url.py +++ b/vrchatapi/model/file_upload_url.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_version.py b/vrchatapi/model/file_version.py index ca1f5544..8209d30a 100644 --- a/vrchatapi/model/file_version.py +++ b/vrchatapi/model/file_version.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_version_upload_status.py b/vrchatapi/model/file_version_upload_status.py index 68d37e0d..0c32e70e 100644 --- a/vrchatapi/model/file_version_upload_status.py +++ b/vrchatapi/model/file_version_upload_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/finish_file_data_upload_request.py b/vrchatapi/model/finish_file_data_upload_request.py index 76ddcdc7..405d4f1f 100644 --- a/vrchatapi/model/finish_file_data_upload_request.py +++ b/vrchatapi/model/finish_file_data_upload_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/friend_status.py b/vrchatapi/model/friend_status.py index b315ac0f..d8d09b6e 100644 --- a/vrchatapi/model/friend_status.py +++ b/vrchatapi/model/friend_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push.py b/vrchatapi/model/info_push.py index e1044478..5ae32e04 100644 --- a/vrchatapi/model/info_push.py +++ b/vrchatapi/model/info_push.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data.py b/vrchatapi/model/info_push_data.py index fc016e8d..73870b11 100644 --- a/vrchatapi/model/info_push_data.py +++ b/vrchatapi/model/info_push_data.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_article.py b/vrchatapi/model/info_push_data_article.py index 520ba984..71fd954d 100644 --- a/vrchatapi/model/info_push_data_article.py +++ b/vrchatapi/model/info_push_data_article.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_article_content.py b/vrchatapi/model/info_push_data_article_content.py index 397e22be..5d34a1d2 100644 --- a/vrchatapi/model/info_push_data_article_content.py +++ b/vrchatapi/model/info_push_data_article_content.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_clickable.py b/vrchatapi/model/info_push_data_clickable.py index c2f8b404..0de0a9d4 100644 --- a/vrchatapi/model/info_push_data_clickable.py +++ b/vrchatapi/model/info_push_data_clickable.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance.py b/vrchatapi/model/instance.py index 169d941d..cd532e31 100644 --- a/vrchatapi/model/instance.py +++ b/vrchatapi/model/instance.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_id.py b/vrchatapi/model/instance_id.py index bca90703..4090287f 100644 --- a/vrchatapi/model/instance_id.py +++ b/vrchatapi/model/instance_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_platforms.py b/vrchatapi/model/instance_platforms.py index 78f48f77..3026d6fd 100644 --- a/vrchatapi/model/instance_platforms.py +++ b/vrchatapi/model/instance_platforms.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_type.py b/vrchatapi/model/instance_type.py index dc70160b..a7b6b503 100644 --- a/vrchatapi/model/instance_type.py +++ b/vrchatapi/model/instance_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message.py b/vrchatapi/model/invite_message.py index 254828cf..ce4d79d7 100644 --- a/vrchatapi/model/invite_message.py +++ b/vrchatapi/model/invite_message.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message_id.py b/vrchatapi/model/invite_message_id.py index 6a3e48c0..713727b6 100644 --- a/vrchatapi/model/invite_message_id.py +++ b/vrchatapi/model/invite_message_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message_type.py b/vrchatapi/model/invite_message_type.py index 41f27813..e081aaa6 100644 --- a/vrchatapi/model/invite_message_type.py +++ b/vrchatapi/model/invite_message_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_request.py b/vrchatapi/model/invite_request.py index a429cd7d..5b49aac1 100644 --- a/vrchatapi/model/invite_request.py +++ b/vrchatapi/model/invite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_response.py b/vrchatapi/model/invite_response.py index 23e06e94..dff76ba1 100644 --- a/vrchatapi/model/invite_response.py +++ b/vrchatapi/model/invite_response.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license.py b/vrchatapi/model/license.py index 4621c3d5..8169c1e2 100644 --- a/vrchatapi/model/license.py +++ b/vrchatapi/model/license.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_action.py b/vrchatapi/model/license_action.py index 2843c611..1f3a3770 100644 --- a/vrchatapi/model/license_action.py +++ b/vrchatapi/model/license_action.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_group.py b/vrchatapi/model/license_group.py index d7951ccb..85fc74fc 100644 --- a/vrchatapi/model/license_group.py +++ b/vrchatapi/model/license_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_group_id.py b/vrchatapi/model/license_group_id.py index 036fed17..b5370422 100644 --- a/vrchatapi/model/license_group_id.py +++ b/vrchatapi/model/license_group_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_type.py b/vrchatapi/model/license_type.py index f4a84716..7112e920 100644 --- a/vrchatapi/model/license_type.py +++ b/vrchatapi/model/license_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_unity_package.py b/vrchatapi/model/limited_unity_package.py index 2ff05033..d7ea3d19 100644 --- a/vrchatapi/model/limited_unity_package.py +++ b/vrchatapi/model/limited_unity_package.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_user.py b/vrchatapi/model/limited_user.py index 08f11f2b..bedf2c6f 100644 --- a/vrchatapi/model/limited_user.py +++ b/vrchatapi/model/limited_user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_world.py b/vrchatapi/model/limited_world.py index db7b7213..5583a70d 100644 --- a/vrchatapi/model/limited_world.py +++ b/vrchatapi/model/limited_world.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/mime_type.py b/vrchatapi/model/mime_type.py index ae68504e..95deb52c 100644 --- a/vrchatapi/model/mime_type.py +++ b/vrchatapi/model/mime_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/moderate_user_request.py b/vrchatapi/model/moderate_user_request.py index 11f5a22e..3d61731f 100644 --- a/vrchatapi/model/moderate_user_request.py +++ b/vrchatapi/model/moderate_user_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/notification.py b/vrchatapi/model/notification.py index ca887801..8e743c7c 100644 --- a/vrchatapi/model/notification.py +++ b/vrchatapi/model/notification.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/notification_type.py b/vrchatapi/model/notification_type.py index 73dc93c6..8f8f3ff7 100644 --- a/vrchatapi/model/notification_type.py +++ b/vrchatapi/model/notification_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/past_display_name.py b/vrchatapi/model/past_display_name.py index 243075b9..24c554c6 100644 --- a/vrchatapi/model/past_display_name.py +++ b/vrchatapi/model/past_display_name.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/permission.py b/vrchatapi/model/permission.py index 94155f58..be1d271d 100644 --- a/vrchatapi/model/permission.py +++ b/vrchatapi/model/permission.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/permission_id.py b/vrchatapi/model/permission_id.py index 78fd6fc9..ea419a35 100644 --- a/vrchatapi/model/permission_id.py +++ b/vrchatapi/model/permission_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation.py b/vrchatapi/model/player_moderation.py index 14c0922d..c66775c7 100644 --- a/vrchatapi/model/player_moderation.py +++ b/vrchatapi/model/player_moderation.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation_id.py b/vrchatapi/model/player_moderation_id.py index c54c76b2..1a3e84fd 100644 --- a/vrchatapi/model/player_moderation_id.py +++ b/vrchatapi/model/player_moderation_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation_type.py b/vrchatapi/model/player_moderation_type.py index 3bc47a6b..cd2f06d5 100644 --- a/vrchatapi/model/player_moderation_type.py +++ b/vrchatapi/model/player_moderation_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/public_announcement.py b/vrchatapi/model/public_announcement.py index 64d6b868..4e8ae992 100644 --- a/vrchatapi/model/public_announcement.py +++ b/vrchatapi/model/public_announcement.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/region.py b/vrchatapi/model/region.py index 337d8487..730f0735 100644 --- a/vrchatapi/model/region.py +++ b/vrchatapi/model/region.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/release_status.py b/vrchatapi/model/release_status.py index ad27f64d..4947ffb0 100644 --- a/vrchatapi/model/release_status.py +++ b/vrchatapi/model/release_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/request_invite_request.py b/vrchatapi/model/request_invite_request.py index 2e52fa03..1ed80708 100644 --- a/vrchatapi/model/request_invite_request.py +++ b/vrchatapi/model/request_invite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/response.py b/vrchatapi/model/response.py index cfd78c51..183e9b94 100644 --- a/vrchatapi/model/response.py +++ b/vrchatapi/model/response.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/subscription.py b/vrchatapi/model/subscription.py index b205bb24..218f234a 100644 --- a/vrchatapi/model/subscription.py +++ b/vrchatapi/model/subscription.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/subscription_period.py b/vrchatapi/model/subscription_period.py index dd350457..82750937 100644 --- a/vrchatapi/model/subscription_period.py +++ b/vrchatapi/model/subscription_period.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/success.py b/vrchatapi/model/success.py index f63fe4bd..a39a708e 100644 --- a/vrchatapi/model/success.py +++ b/vrchatapi/model/success.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/tag.py b/vrchatapi/model/tag.py index db8d6f89..5cd9617b 100644 --- a/vrchatapi/model/tag.py +++ b/vrchatapi/model/tag.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction.py b/vrchatapi/model/transaction.py index a78f482f..8826b7c2 100644 --- a/vrchatapi/model/transaction.py +++ b/vrchatapi/model/transaction.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_agreement.py b/vrchatapi/model/transaction_agreement.py index c8829d46..9e846e6a 100644 --- a/vrchatapi/model/transaction_agreement.py +++ b/vrchatapi/model/transaction_agreement.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_id.py b/vrchatapi/model/transaction_id.py index 07f61cd0..e83ae917 100644 --- a/vrchatapi/model/transaction_id.py +++ b/vrchatapi/model/transaction_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_status.py b/vrchatapi/model/transaction_status.py index ca2d50a4..d6232183 100644 --- a/vrchatapi/model/transaction_status.py +++ b/vrchatapi/model/transaction_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_steam_info.py b/vrchatapi/model/transaction_steam_info.py index da93a59a..6eb8b2ef 100644 --- a/vrchatapi/model/transaction_steam_info.py +++ b/vrchatapi/model/transaction_steam_info.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_steam_wallet_info.py b/vrchatapi/model/transaction_steam_wallet_info.py index a787f03e..7fd4133b 100644 --- a/vrchatapi/model/transaction_steam_wallet_info.py +++ b/vrchatapi/model/transaction_steam_wallet_info.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/two_factor_auth_code.py b/vrchatapi/model/two_factor_auth_code.py index 60b5d51e..c06cdb21 100644 --- a/vrchatapi/model/two_factor_auth_code.py +++ b/vrchatapi/model/two_factor_auth_code.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/unity_package.py b/vrchatapi/model/unity_package.py index 6b3bcbd9..b1c844b3 100644 --- a/vrchatapi/model/unity_package.py +++ b/vrchatapi/model/unity_package.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/unity_package_id.py b/vrchatapi/model/unity_package_id.py index 052f2762..a2cdc6c4 100644 --- a/vrchatapi/model/unity_package_id.py +++ b/vrchatapi/model/unity_package_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_avatar_request.py b/vrchatapi/model/update_avatar_request.py index d01dc303..aca8c8e7 100644 --- a/vrchatapi/model/update_avatar_request.py +++ b/vrchatapi/model/update_avatar_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_favorite_group_request.py b/vrchatapi/model/update_favorite_group_request.py index a1337a61..a0538f22 100644 --- a/vrchatapi/model/update_favorite_group_request.py +++ b/vrchatapi/model/update_favorite_group_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_invite_message_request.py b/vrchatapi/model/update_invite_message_request.py index 827e1a7d..c62685bc 100644 --- a/vrchatapi/model/update_invite_message_request.py +++ b/vrchatapi/model/update_invite_message_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_user_request.py b/vrchatapi/model/update_user_request.py index 314540fe..7c146bd9 100644 --- a/vrchatapi/model/update_user_request.py +++ b/vrchatapi/model/update_user_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_world_request.py b/vrchatapi/model/update_world_request.py index 8af076de..5220a660 100644 --- a/vrchatapi/model/update_world_request.py +++ b/vrchatapi/model/update_world_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user.py b/vrchatapi/model/user.py index b83fc723..4f162618 100644 --- a/vrchatapi/model/user.py +++ b/vrchatapi/model/user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_exists.py b/vrchatapi/model/user_exists.py index 31372e95..9852681f 100644 --- a/vrchatapi/model/user_exists.py +++ b/vrchatapi/model/user_exists.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_state.py b/vrchatapi/model/user_state.py index b2de0027..579be91e 100644 --- a/vrchatapi/model/user_state.py +++ b/vrchatapi/model/user_state.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_status.py b/vrchatapi/model/user_status.py index a352d212..c146faa7 100644 --- a/vrchatapi/model/user_status.py +++ b/vrchatapi/model/user_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_subscription.py b/vrchatapi/model/user_subscription.py index 8ded3daf..f33ecbc4 100644 --- a/vrchatapi/model/user_subscription.py +++ b/vrchatapi/model/user_subscription.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/verify2_fa_result.py b/vrchatapi/model/verify2_fa_result.py index 5515497a..5b2045e9 100644 --- a/vrchatapi/model/verify2_fa_result.py +++ b/vrchatapi/model/verify2_fa_result.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/verify_auth_token_result.py b/vrchatapi/model/verify_auth_token_result.py index 190fca97..cd6fe507 100644 --- a/vrchatapi/model/verify_auth_token_result.py +++ b/vrchatapi/model/verify_auth_token_result.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world.py b/vrchatapi/model/world.py index 80520d25..b38ed432 100644 --- a/vrchatapi/model/world.py +++ b/vrchatapi/model/world.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_id.py b/vrchatapi/model/world_id.py index 531ee7ee..8a1f9854 100644 --- a/vrchatapi/model/world_id.py +++ b/vrchatapi/model/world_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_metadata.py b/vrchatapi/model/world_metadata.py index a9af2e2a..40211bff 100644 --- a/vrchatapi/model/world_metadata.py +++ b/vrchatapi/model/world_metadata.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_publish_status.py b/vrchatapi/model/world_publish_status.py index c67c0b02..9d2c976d 100644 --- a/vrchatapi/model/world_publish_status.py +++ b/vrchatapi/model/world_publish_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model_utils.py b/vrchatapi/model_utils.py index d5000c8d..3d0c5524 100644 --- a/vrchatapi/model_utils.py +++ b/vrchatapi/model_utils.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index 874a11e9..aac58f34 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.0 + The version of the OpenAPI document: 1.7.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ From 7bc42cc9bd1cfc209a1e46c5c11a7193cd589b98 Mon Sep 17 00:00:00 2001 From: Katistix <33645731+Katistic@users.noreply.github.com> Date: Fri, 1 Jul 2022 15:16:12 +1000 Subject: [PATCH 008/102] Fix bools in url query params globally --- generate.sh | 3 ++ patches/bool_query_param.patch | 54 ++++++++++++++++++++++++++++++++++ vrchatapi/api_client.py | 13 ++++---- 3 files changed, 65 insertions(+), 5 deletions(-) create mode 100644 patches/bool_query_param.patch diff --git a/generate.sh b/generate.sh index b1f69be6..3d276df3 100644 --- a/generate.sh +++ b/generate.sh @@ -21,6 +21,9 @@ sed -i 's/if _preload_content/abcdefvrc\n\n if _preload_content/g' ./vrch sed -i '/abcdefvrc/r patches/cookiejar_extract.py' ./vrchatapi/rest.py sed -i 's/ abcdefvrc//g' ./vrchatapi/rest.py +# Fix bools with url query params +patch ./vrchatapi/api_client.py < ./patches/bool_query_param.patch + # Fix description, keywords, etc... # Echo to trim whitespace VERSION=`echo $(cat setup.py | grep "The version of the OpenAPI document" | cut -d ":" -f 2)` diff --git a/patches/bool_query_param.patch b/patches/bool_query_param.patch new file mode 100644 index 00000000..ba1668dc --- /dev/null +++ b/patches/bool_query_param.patch @@ -0,0 +1,54 @@ +diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py +index 20deb6c..02c7e54 100644 +--- a/vrchatapi/api_client.py ++++ b/vrchatapi/api_client.py +@@ -160,7 +160,7 @@ class ApiClient(object): + + # query parameters + if query_params: +- query_params = self.sanitize_for_serialization(query_params) ++ query_params = self.sanitize_for_serialization(query_params, True) + query_params = self.parameters_to_tuples(query_params, + collection_formats) + +@@ -255,7 +255,7 @@ class ApiClient(object): + return new_params + + @classmethod +- def sanitize_for_serialization(cls, obj): ++ def sanitize_for_serialization(cls, obj, query=False): + """Prepares data for transmission before it is sent with the rest client + If obj is None, return None. + If obj is str, int, long, float, bool, return directly. +@@ -265,6 +265,7 @@ class ApiClient(object): + If obj is dict, return the dict. + If obj is OpenAPI model, return the properties dict. + If obj is io.IOBase, return the bytes ++ If obj is bool and query is true, return str + :param obj: The data to serialize. + :return: The serialized form of data. + """ +@@ -272,6 +273,8 @@ class ApiClient(object): + return { + key: cls.sanitize_for_serialization(val) for key, val in model_to_dict(obj, serialize=True).items() + } ++ elif isinstance(obj, bool) and query: ++ return str(obj).lower() + elif isinstance(obj, io.IOBase): + return cls.get_file_data_and_close_file(obj) + elif isinstance(obj, (str, int, float, none_type, bool)): +@@ -279,11 +282,11 @@ class ApiClient(object): + elif isinstance(obj, (datetime, date)): + return obj.isoformat() + elif isinstance(obj, ModelSimple): +- return cls.sanitize_for_serialization(obj.value) ++ return cls.sanitize_for_serialization(obj.value, query) + elif isinstance(obj, (list, tuple)): +- return [cls.sanitize_for_serialization(item) for item in obj] ++ return [cls.sanitize_for_serialization(item, query) for item in obj] + if isinstance(obj, dict): +- return {key: cls.sanitize_for_serialization(val) for key, val in obj.items()} ++ return {key: cls.sanitize_for_serialization(val, query) for key, val in obj.items()} + raise ApiValueError('Unable to prepare type {} for serialization'.format(obj.__class__.__name__)) + + def deserialize(self, response, response_type, _check_type): diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index 20deb6c6..02c7e542 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -160,7 +160,7 @@ def __call_api( # query parameters if query_params: - query_params = self.sanitize_for_serialization(query_params) + query_params = self.sanitize_for_serialization(query_params, True) query_params = self.parameters_to_tuples(query_params, collection_formats) @@ -255,7 +255,7 @@ def parameters_to_multipart(self, params, collection_types): return new_params @classmethod - def sanitize_for_serialization(cls, obj): + def sanitize_for_serialization(cls, obj, query=False): """Prepares data for transmission before it is sent with the rest client If obj is None, return None. If obj is str, int, long, float, bool, return directly. @@ -265,6 +265,7 @@ def sanitize_for_serialization(cls, obj): If obj is dict, return the dict. If obj is OpenAPI model, return the properties dict. If obj is io.IOBase, return the bytes + If obj is bool and query is true, return str :param obj: The data to serialize. :return: The serialized form of data. """ @@ -272,6 +273,8 @@ def sanitize_for_serialization(cls, obj): return { key: cls.sanitize_for_serialization(val) for key, val in model_to_dict(obj, serialize=True).items() } + elif isinstance(obj, bool) and query: + return str(obj).lower() elif isinstance(obj, io.IOBase): return cls.get_file_data_and_close_file(obj) elif isinstance(obj, (str, int, float, none_type, bool)): @@ -279,11 +282,11 @@ def sanitize_for_serialization(cls, obj): elif isinstance(obj, (datetime, date)): return obj.isoformat() elif isinstance(obj, ModelSimple): - return cls.sanitize_for_serialization(obj.value) + return cls.sanitize_for_serialization(obj.value, query) elif isinstance(obj, (list, tuple)): - return [cls.sanitize_for_serialization(item) for item in obj] + return [cls.sanitize_for_serialization(item, query) for item in obj] if isinstance(obj, dict): - return {key: cls.sanitize_for_serialization(val) for key, val in obj.items()} + return {key: cls.sanitize_for_serialization(val, query) for key, val in obj.items()} raise ApiValueError('Unable to prepare type {} for serialization'.format(obj.__class__.__name__)) def deserialize(self, response, response_type, _check_type): From a16784c01b0e65c9c51a46146ee4f02a4e1a079f Mon Sep 17 00:00:00 2001 From: VRCCat Date: Wed, 6 Jul 2022 17:39:36 +0000 Subject: [PATCH 009/102] Upgrade Python SDK to spec 1.7.2 --- docs/AvatarsApi.md | 8 +- docs/WorldsApi.md | 16 +- setup.py | 4 +- vrchatapi/__init__.py | 2 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 10 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 18 +- vrchatapi/api_client.py | 2 +- vrchatapi/api_client.py.orig | 850 ++++++++++++++++++ vrchatapi/configuration.py | 4 +- vrchatapi/exceptions.py | 2 +- vrchatapi/model/add_favorite_request.py | 2 +- vrchatapi/model/api_config.py | 2 +- vrchatapi/model/api_event_config.py | 2 +- vrchatapi/model/api_health.py | 2 +- vrchatapi/model/avatar.py | 2 +- vrchatapi/model/avatar_id.py | 2 +- .../model/avatar_unity_package_url_object.py | 2 +- vrchatapi/model/create_avatar_request.py | 2 +- vrchatapi/model/create_file_request.py | 2 +- .../model/create_file_version_request.py | 2 +- vrchatapi/model/create_world_request.py | 2 +- vrchatapi/model/current_user.py | 2 +- vrchatapi/model/deployment_group.py | 2 +- vrchatapi/model/developer_type.py | 2 +- vrchatapi/model/download_url_list.py | 2 +- vrchatapi/model/dynamic_content_row.py | 2 +- vrchatapi/model/error.py | 2 +- vrchatapi/model/favorite.py | 2 +- vrchatapi/model/favorite_group.py | 2 +- vrchatapi/model/favorite_group_id.py | 2 +- vrchatapi/model/favorite_group_visibility.py | 2 +- vrchatapi/model/favorite_id.py | 2 +- vrchatapi/model/favorite_type.py | 2 +- vrchatapi/model/file.py | 2 +- vrchatapi/model/file_data.py | 2 +- vrchatapi/model/file_id.py | 2 +- vrchatapi/model/file_status.py | 2 +- vrchatapi/model/file_upload_url.py | 2 +- vrchatapi/model/file_version.py | 2 +- vrchatapi/model/file_version_upload_status.py | 2 +- .../model/finish_file_data_upload_request.py | 2 +- vrchatapi/model/friend_status.py | 2 +- vrchatapi/model/info_push.py | 2 +- vrchatapi/model/info_push_data.py | 2 +- vrchatapi/model/info_push_data_article.py | 2 +- .../model/info_push_data_article_content.py | 2 +- vrchatapi/model/info_push_data_clickable.py | 2 +- vrchatapi/model/instance.py | 2 +- vrchatapi/model/instance_id.py | 2 +- vrchatapi/model/instance_platforms.py | 2 +- vrchatapi/model/instance_type.py | 2 +- vrchatapi/model/invite_message.py | 2 +- vrchatapi/model/invite_message_id.py | 2 +- vrchatapi/model/invite_message_type.py | 2 +- vrchatapi/model/invite_request.py | 2 +- vrchatapi/model/invite_response.py | 2 +- vrchatapi/model/license.py | 2 +- vrchatapi/model/license_action.py | 2 +- vrchatapi/model/license_group.py | 2 +- vrchatapi/model/license_group_id.py | 2 +- vrchatapi/model/license_type.py | 2 +- vrchatapi/model/limited_unity_package.py | 2 +- vrchatapi/model/limited_user.py | 2 +- vrchatapi/model/limited_world.py | 2 +- vrchatapi/model/mime_type.py | 2 +- vrchatapi/model/moderate_user_request.py | 2 +- vrchatapi/model/notification.py | 2 +- vrchatapi/model/notification_type.py | 2 +- vrchatapi/model/past_display_name.py | 2 +- vrchatapi/model/permission.py | 2 +- vrchatapi/model/permission_id.py | 2 +- vrchatapi/model/player_moderation.py | 2 +- vrchatapi/model/player_moderation_id.py | 2 +- vrchatapi/model/player_moderation_type.py | 2 +- vrchatapi/model/public_announcement.py | 2 +- vrchatapi/model/region.py | 2 +- vrchatapi/model/release_status.py | 2 +- vrchatapi/model/request_invite_request.py | 2 +- vrchatapi/model/response.py | 2 +- vrchatapi/model/subscription.py | 2 +- vrchatapi/model/subscription_period.py | 2 +- vrchatapi/model/success.py | 2 +- vrchatapi/model/tag.py | 2 +- vrchatapi/model/transaction.py | 2 +- vrchatapi/model/transaction_agreement.py | 2 +- vrchatapi/model/transaction_id.py | 2 +- vrchatapi/model/transaction_status.py | 2 +- vrchatapi/model/transaction_steam_info.py | 2 +- .../model/transaction_steam_wallet_info.py | 2 +- vrchatapi/model/two_factor_auth_code.py | 2 +- vrchatapi/model/unity_package.py | 2 +- vrchatapi/model/unity_package_id.py | 2 +- vrchatapi/model/update_avatar_request.py | 2 +- .../model/update_favorite_group_request.py | 2 +- .../model/update_invite_message_request.py | 2 +- vrchatapi/model/update_user_request.py | 2 +- vrchatapi/model/update_world_request.py | 2 +- vrchatapi/model/user.py | 2 +- vrchatapi/model/user_exists.py | 2 +- vrchatapi/model/user_state.py | 2 +- vrchatapi/model/user_status.py | 2 +- vrchatapi/model/user_subscription.py | 2 +- vrchatapi/model/verify2_fa_result.py | 2 +- vrchatapi/model/verify_auth_token_result.py | 2 +- vrchatapi/model/world.py | 2 +- vrchatapi/model/world_id.py | 2 +- vrchatapi/model/world_metadata.py | 2 +- vrchatapi/model/world_publish_status.py | 2 +- vrchatapi/model_utils.py | 2 +- vrchatapi/rest.py | 2 +- 122 files changed, 995 insertions(+), 145 deletions(-) create mode 100644 vrchatapi/api_client.py.orig diff --git a/docs/AvatarsApi.md b/docs/AvatarsApi.md index 58c2e147..f2bcdbb2 100644 --- a/docs/AvatarsApi.md +++ b/docs/AvatarsApi.md @@ -337,7 +337,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = avatars_api.AvatarsApi(api_client) - featured = "featured_example" # str | Filters on featured results. (optional) + featured = True # bool | Filters on featured results. (optional) sort = "popularity" # str | (optional) if omitted the server will use the default value of "popularity" n = 60 # int | The number of objects to return. (optional) if omitted the server will use the default value of 60 order = "descending" # str | (optional) if omitted the server will use the default value of "descending" @@ -366,7 +366,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **featured** | **str**| Filters on featured results. | [optional] + **featured** | **bool**| Filters on featured results. | [optional] **sort** | **str**| | [optional] if omitted the server will use the default value of "popularity" **n** | **int**| The number of objects to return. | [optional] if omitted the server will use the default value of 60 **order** | **str**| | [optional] if omitted the server will use the default value of "descending" @@ -450,7 +450,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = avatars_api.AvatarsApi(api_client) - featured = "featured_example" # str | Filters on featured results. (optional) + featured = True # bool | Filters on featured results. (optional) sort = "popularity" # str | (optional) if omitted the server will use the default value of "popularity" user = "me" # str | Set to `me` for searching own avatars. (optional) if omitted the server will use the default value of "me" user_id = "userId_example" # str | Filter by UserID. (optional) @@ -479,7 +479,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **featured** | **str**| Filters on featured results. | [optional] + **featured** | **bool**| Filters on featured results. | [optional] **sort** | **str**| | [optional] if omitted the server will use the default value of "popularity" **user** | **str**| Set to `me` for searching own avatars. | [optional] if omitted the server will use the default value of "me" **user_id** | **str**| Filter by UserID. | [optional] diff --git a/docs/WorldsApi.md b/docs/WorldsApi.md index 6996c9f4..7d02022d 100644 --- a/docs/WorldsApi.md +++ b/docs/WorldsApi.md @@ -240,7 +240,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = worlds_api.WorldsApi(api_client) - featured = "featured_example" # str | Filters on featured results. (optional) + featured = True # bool | Filters on featured results. (optional) sort = "popularity" # str | (optional) if omitted the server will use the default value of "popularity" n = 60 # int | The number of objects to return. (optional) if omitted the server will use the default value of 60 order = "descending" # str | (optional) if omitted the server will use the default value of "descending" @@ -268,7 +268,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **featured** | **str**| Filters on featured results. | [optional] + **featured** | **bool**| Filters on featured results. | [optional] **sort** | **str**| | [optional] if omitted the server will use the default value of "popularity" **n** | **int**| The number of objects to return. | [optional] if omitted the server will use the default value of 60 **order** | **str**| | [optional] if omitted the server will use the default value of "descending" @@ -350,7 +350,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = worlds_api.WorldsApi(api_client) - featured = "featured_example" # str | Filters on featured results. (optional) + featured = True # bool | Filters on featured results. (optional) sort = "popularity" # str | (optional) if omitted the server will use the default value of "popularity" n = 60 # int | The number of objects to return. (optional) if omitted the server will use the default value of 60 order = "descending" # str | (optional) if omitted the server will use the default value of "descending" @@ -379,7 +379,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **featured** | **str**| Filters on featured results. | [optional] + **featured** | **bool**| Filters on featured results. | [optional] **sort** | **str**| | [optional] if omitted the server will use the default value of "popularity" **n** | **int**| The number of objects to return. | [optional] if omitted the server will use the default value of 60 **order** | **str**| | [optional] if omitted the server will use the default value of "descending" @@ -463,7 +463,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = worlds_api.WorldsApi(api_client) - featured = "featured_example" # str | Filters on featured results. (optional) + featured = True # bool | Filters on featured results. (optional) sort = "popularity" # str | (optional) if omitted the server will use the default value of "popularity" n = 60 # int | The number of objects to return. (optional) if omitted the server will use the default value of 60 order = "descending" # str | (optional) if omitted the server will use the default value of "descending" @@ -492,7 +492,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **featured** | **str**| Filters on featured results. | [optional] + **featured** | **bool**| Filters on featured results. | [optional] **sort** | **str**| | [optional] if omitted the server will use the default value of "popularity" **n** | **int**| The number of objects to return. | [optional] if omitted the server will use the default value of 60 **order** | **str**| | [optional] if omitted the server will use the default value of "descending" @@ -1006,7 +1006,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = worlds_api.WorldsApi(api_client) - featured = "featured_example" # str | Filters on featured results. (optional) + featured = True # bool | Filters on featured results. (optional) sort = "popularity" # str | (optional) if omitted the server will use the default value of "popularity" user = "me" # str | Set to `me` for searching own worlds. (optional) if omitted the server will use the default value of "me" user_id = "userId_example" # str | Filter by UserID. (optional) @@ -1036,7 +1036,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **featured** | **str**| Filters on featured results. | [optional] + **featured** | **bool**| Filters on featured results. | [optional] **sort** | **str**| | [optional] if omitted the server will use the default value of "popularity" **user** | **str**| Set to `me` for searching own worlds. | [optional] if omitted the server will use the default value of "me" **user_id** | **str**| Filter by UserID. | [optional] diff --git a/setup.py b/setup.py index 187040b9..aaf7e705 100644 --- a/setup.py +++ b/setup.py @@ -64,7 +64,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -73,7 +73,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.7.1" +VERSION = "1.7.2" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 40fce79f..69eb729f 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index ffa8f58e..fe11dd61 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index a076900a..c3412c11 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -284,7 +284,7 @@ def __init__(self, api_client=None): }, 'openapi_types': { 'featured': - (str,), + (bool,), 'sort': (str,), 'n': @@ -446,7 +446,7 @@ def __init__(self, api_client=None): }, 'openapi_types': { 'featured': - (str,), + (bool,), 'sort': (str,), 'user': @@ -885,7 +885,7 @@ def get_favorited_avatars( Keyword Args: - featured (str): Filters on featured results.. [optional] + featured (bool): Filters on featured results.. [optional] sort (str): [optional] if omitted the server will use the default value of "popularity" n (int): The number of objects to return.. [optional] if omitted the server will use the default value of 60 order (str): [optional] if omitted the server will use the default value of "descending" @@ -959,7 +959,7 @@ def search_avatars( Keyword Args: - featured (str): Filters on featured results.. [optional] + featured (bool): Filters on featured results.. [optional] sort (str): [optional] if omitted the server will use the default value of "popularity" user (str): Set to `me` for searching own avatars.. [optional] if omitted the server will use the default value of "me" user_id (str): Filter by UserID.. [optional] diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 00b5c456..a0d97fbb 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index 8418251a..f0cda17c 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index 280add16..9f46ace0 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index c4c24c68..682635cb 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 89693f97..55c4dc68 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index d27e366c..4463893d 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index d26fde1f..f6ea7ce2 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index 597a57c6..1df992da 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index 307c5401..e880bf7b 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index d9b40ea1..31e99479 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index 4dcdd05e..fe726210 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 78bf26a1..2fd26e83 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -231,7 +231,7 @@ def __init__(self, api_client=None): }, 'openapi_types': { 'featured': - (str,), + (bool,), 'sort': (str,), 'n': @@ -384,7 +384,7 @@ def __init__(self, api_client=None): }, 'openapi_types': { 'featured': - (str,), + (bool,), 'sort': (str,), 'n': @@ -541,7 +541,7 @@ def __init__(self, api_client=None): }, 'openapi_types': { 'featured': - (str,), + (bool,), 'sort': (str,), 'n': @@ -969,7 +969,7 @@ def __init__(self, api_client=None): }, 'openapi_types': { 'featured': - (str,), + (bool,), 'sort': (str,), 'user': @@ -1294,7 +1294,7 @@ def get_active_worlds( Keyword Args: - featured (str): Filters on featured results.. [optional] + featured (bool): Filters on featured results.. [optional] sort (str): [optional] if omitted the server will use the default value of "popularity" n (int): The number of objects to return.. [optional] if omitted the server will use the default value of 60 order (str): [optional] if omitted the server will use the default value of "descending" @@ -1367,7 +1367,7 @@ def get_favorited_worlds( Keyword Args: - featured (str): Filters on featured results.. [optional] + featured (bool): Filters on featured results.. [optional] sort (str): [optional] if omitted the server will use the default value of "popularity" n (int): The number of objects to return.. [optional] if omitted the server will use the default value of 60 order (str): [optional] if omitted the server will use the default value of "descending" @@ -1441,7 +1441,7 @@ def get_recent_worlds( Keyword Args: - featured (str): Filters on featured results.. [optional] + featured (bool): Filters on featured results.. [optional] sort (str): [optional] if omitted the server will use the default value of "popularity" n (int): The number of objects to return.. [optional] if omitted the server will use the default value of 60 order (str): [optional] if omitted the server will use the default value of "descending" @@ -1849,7 +1849,7 @@ def search_worlds( Keyword Args: - featured (str): Filters on featured results.. [optional] + featured (bool): Filters on featured results.. [optional] sort (str): [optional] if omitted the server will use the default value of "popularity" user (str): Set to `me` for searching own worlds.. [optional] if omitted the server will use the default value of "me" user_id (str): Filter by UserID.. [optional] diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index 02c7e542..861426da 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py.orig b/vrchatapi/api_client.py.orig new file mode 100644 index 00000000..9a797cf8 --- /dev/null +++ b/vrchatapi/api_client.py.orig @@ -0,0 +1,850 @@ +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.7.2 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +import json +import atexit +import mimetypes +from multiprocessing.pool import ThreadPool +import io +import os +import re +import typing +from urllib.parse import quote +from urllib3.fields import RequestField + + +from vrchatapi import rest +from vrchatapi.configuration import Configuration +from vrchatapi.exceptions import ApiTypeError, ApiValueError, ApiException +from vrchatapi.model_utils import ( + ModelNormal, + ModelSimple, + ModelComposed, + check_allowed_values, + check_validations, + date, + datetime, + deserialize_file, + file_type, + model_to_dict, + none_type, + validate_and_convert_types +) + + +class ApiClient(object): + """Generic API client for OpenAPI client library builds. + + OpenAPI generic API client. This client handles the client- + server communication, and is invariant across implementations. Specifics of + the methods and models for each application are generated from the OpenAPI + templates. + + NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + Do not edit the class manually. + + :param configuration: .Configuration object for this client + :param header_name: a header to pass when making calls to the API. + :param header_value: a header value to pass when making calls to + the API. + :param cookie: a cookie to include in the header when making calls + to the API + :param pool_threads: The number of threads to use for async requests + to the API. More threads means more concurrent API requests. + """ + + _pool = None + + def __init__(self, configuration=None, header_name=None, header_value=None, + cookie=None, pool_threads=1): + if configuration is None: + configuration = Configuration.get_default_copy() + self.configuration = configuration + self.pool_threads = pool_threads + + self.rest_client = rest.RESTClientObject(configuration) + self.default_headers = {} + if header_name is not None: + self.default_headers[header_name] = header_value + self.cookie = cookie + # Set default User-Agent. + self.user_agent = 'vrchatapi-py' + + def __enter__(self): + return self + + def __exit__(self, exc_type, exc_value, traceback): + self.close() + + def close(self): + if self._pool: + self._pool.close() + self._pool.join() + self._pool = None + if hasattr(atexit, 'unregister'): + atexit.unregister(self.close) + + @property + def pool(self): + """Create thread pool on first request + avoids instantiating unused threadpool for blocking clients. + """ + if self._pool is None: + atexit.register(self.close) + self._pool = ThreadPool(self.pool_threads) + return self._pool + + @property + def user_agent(self): + """User agent for this API client""" + return self.default_headers['User-Agent'] + + @user_agent.setter + def user_agent(self, value): + self.default_headers['User-Agent'] = value + + def set_default_header(self, header_name, header_value): + self.default_headers[header_name] = header_value + + def __call_api( + self, + resource_path: str, + method: str, + path_params: typing.Optional[typing.Dict[str, typing.Any]] = None, + query_params: typing.Optional[typing.List[typing.Tuple[str, typing.Any]]] = None, + header_params: typing.Optional[typing.Dict[str, typing.Any]] = None, + body: typing.Optional[typing.Any] = None, + post_params: typing.Optional[typing.List[typing.Tuple[str, typing.Any]]] = None, + files: typing.Optional[typing.Dict[str, typing.List[io.IOBase]]] = None, + response_type: typing.Optional[typing.Tuple[typing.Any]] = None, + auth_settings: typing.Optional[typing.List[str]] = None, + _return_http_data_only: typing.Optional[bool] = None, + collection_formats: typing.Optional[typing.Dict[str, str]] = None, + _preload_content: bool = True, + _request_timeout: typing.Optional[typing.Union[int, float, typing.Tuple]] = None, + _host: typing.Optional[str] = None, + _check_type: typing.Optional[bool] = None + ): + + config = self.configuration + + # header parameters + header_params = header_params or {} + header_params.update(self.default_headers) + if self.cookie: + header_params['Cookie'] = self.cookie + if header_params: + header_params = self.sanitize_for_serialization(header_params) + header_params = dict(self.parameters_to_tuples(header_params, + collection_formats)) + + # path parameters + if path_params: + path_params = self.sanitize_for_serialization(path_params) + path_params = self.parameters_to_tuples(path_params, + collection_formats) + for k, v in path_params: + # specified safe chars, encode everything + resource_path = resource_path.replace( + '{%s}' % k, + quote(str(v), safe=config.safe_chars_for_path_param) + ) + + # query parameters + if query_params: + query_params = self.sanitize_for_serialization(query_params) + query_params = self.parameters_to_tuples(query_params, + collection_formats) + + # post parameters + if post_params or files: + post_params = post_params if post_params else [] + post_params = self.sanitize_for_serialization(post_params) + post_params = self.parameters_to_tuples(post_params, + collection_formats) + post_params.extend(self.files_parameters(files)) + if header_params['Content-Type'].startswith("multipart"): + post_params = self.parameters_to_multipart(post_params, + (dict) ) + + # body + if body: + body = self.sanitize_for_serialization(body) + + # auth setting + self.update_params_for_auth(header_params, query_params, + auth_settings, resource_path, method, body) + + # request url + if _host is None: + url = self.configuration.host + resource_path + else: + # use server/host defined in path or operation instead + url = _host + resource_path + + try: + # perform request and return response + response_data = self.request( + method, url, query_params=query_params, headers=header_params, + post_params=post_params, body=body, + _preload_content=_preload_content, + _request_timeout=_request_timeout) + except ApiException as e: + e.body = e.body.decode('utf-8') + raise e + + self.last_response = response_data + + return_data = response_data + + if not _preload_content: + return (return_data) + return return_data + + # deserialize response data + if response_type: + if response_type != (file_type,): + encoding = "utf-8" + content_type = response_data.getheader('content-type') + if content_type is not None: + match = re.search(r"charset=([a-zA-Z\-\d]+)[\s\;]?", content_type) + if match: + encoding = match.group(1) + response_data.data = response_data.data.decode(encoding) + + return_data = self.deserialize( + response_data, + response_type, + _check_type + ) + else: + return_data = None + + if _return_http_data_only: + return (return_data) + else: + return (return_data, response_data.status, + response_data.getheaders()) + + def parameters_to_multipart(self, params, collection_types): + """Get parameters as list of tuples, formatting as json if value is collection_types + + :param params: Parameters as list of two-tuples + :param dict collection_types: Parameter collection types + :return: Parameters as list of tuple or urllib3.fields.RequestField + """ + new_params = [] + if collection_types is None: + collection_types = (dict) + for k, v in params.items() if isinstance(params, dict) else params: # noqa: E501 + if isinstance(v, collection_types): # v is instance of collection_type, formatting as application/json + v = json.dumps(v, ensure_ascii=False).encode("utf-8") + field = RequestField(k, v) + field.make_multipart(content_type="application/json; charset=utf-8") + new_params.append(field) + else: + new_params.append((k, v)) + return new_params + + @classmethod + def sanitize_for_serialization(cls, obj): + """Prepares data for transmission before it is sent with the rest client + If obj is None, return None. + If obj is str, int, long, float, bool, return directly. + If obj is datetime.datetime, datetime.date + convert to string in iso8601 format. + If obj is list, sanitize each element in the list. + If obj is dict, return the dict. + If obj is OpenAPI model, return the properties dict. + If obj is io.IOBase, return the bytes + :param obj: The data to serialize. + :return: The serialized form of data. + """ + if isinstance(obj, (ModelNormal, ModelComposed)): + return { + key: cls.sanitize_for_serialization(val) for key, val in model_to_dict(obj, serialize=True).items() + } + elif isinstance(obj, io.IOBase): + return cls.get_file_data_and_close_file(obj) + elif isinstance(obj, (str, int, float, none_type, bool)): + return obj + elif isinstance(obj, (datetime, date)): + return obj.isoformat() + elif isinstance(obj, ModelSimple): + return cls.sanitize_for_serialization(obj.value) + elif isinstance(obj, (list, tuple)): + return [cls.sanitize_for_serialization(item) for item in obj] + if isinstance(obj, dict): + return {key: cls.sanitize_for_serialization(val) for key, val in obj.items()} + raise ApiValueError('Unable to prepare type {} for serialization'.format(obj.__class__.__name__)) + + def deserialize(self, response, response_type, _check_type): + """Deserializes response into an object. + + :param response: RESTResponse object to be deserialized. + :param response_type: For the response, a tuple containing: + valid classes + a list containing valid classes (for list schemas) + a dict containing a tuple of valid classes as the value + Example values: + (str,) + (Pet,) + (float, none_type) + ([int, none_type],) + ({str: (bool, str, int, float, date, datetime, str, none_type)},) + :param _check_type: boolean, whether to check the types of the data + received from the server + :type _check_type: bool + + :return: deserialized object. + """ + # handle file downloading + # save response body into a tmp file and return the instance + if response_type == (file_type,): + content_disposition = response.getheader("Content-Disposition") + return deserialize_file(response.data, self.configuration, + content_disposition=content_disposition) + + # fetch data from response object + try: + received_data = json.loads(response.data) + except ValueError: + received_data = response.data + + # store our data under the key of 'received_data' so users have some + # context if they are deserializing a string and the data type is wrong + deserialized_data = validate_and_convert_types( + received_data, + response_type, + ['received_data'], + True, + _check_type, + configuration=self.configuration + ) + return deserialized_data + + def call_api( + self, + resource_path: str, + method: str, + path_params: typing.Optional[typing.Dict[str, typing.Any]] = None, + query_params: typing.Optional[typing.List[typing.Tuple[str, typing.Any]]] = None, + header_params: typing.Optional[typing.Dict[str, typing.Any]] = None, + body: typing.Optional[typing.Any] = None, + post_params: typing.Optional[typing.List[typing.Tuple[str, typing.Any]]] = None, + files: typing.Optional[typing.Dict[str, typing.List[io.IOBase]]] = None, + response_type: typing.Optional[typing.Tuple[typing.Any]] = None, + auth_settings: typing.Optional[typing.List[str]] = None, + async_req: typing.Optional[bool] = None, + _return_http_data_only: typing.Optional[bool] = None, + collection_formats: typing.Optional[typing.Dict[str, str]] = None, + _preload_content: bool = True, + _request_timeout: typing.Optional[typing.Union[int, float, typing.Tuple]] = None, + _host: typing.Optional[str] = None, + _check_type: typing.Optional[bool] = None + ): + """Makes the HTTP request (synchronous) and returns deserialized data. + + To make an async_req request, set the async_req parameter. + + :param resource_path: Path to method endpoint. + :param method: Method to call. + :param path_params: Path parameters in the url. + :param query_params: Query parameters in the url. + :param header_params: Header parameters to be + placed in the request header. + :param body: Request body. + :param post_params dict: Request post form parameters, + for `application/x-www-form-urlencoded`, `multipart/form-data`. + :param auth_settings list: Auth Settings names for the request. + :param response_type: For the response, a tuple containing: + valid classes + a list containing valid classes (for list schemas) + a dict containing a tuple of valid classes as the value + Example values: + (str,) + (Pet,) + (float, none_type) + ([int, none_type],) + ({str: (bool, str, int, float, date, datetime, str, none_type)},) + :param files: key -> field name, value -> a list of open file + objects for `multipart/form-data`. + :type files: dict + :param async_req bool: execute request asynchronously + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param collection_formats: dict of collection formats for path, query, + header, and post parameters. + :type collection_formats: dict, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _check_type: boolean describing if the data back from the server + should have its type checked. + :type _check_type: bool, optional + :return: + If async_req parameter is True, + the request will be called asynchronously. + The method will return the request thread. + If parameter async_req is False or missing, + then the method will return the response directly. + """ + if not async_req: + return self.__call_api(resource_path, method, + path_params, query_params, header_params, + body, post_params, files, + response_type, auth_settings, + _return_http_data_only, collection_formats, + _preload_content, _request_timeout, _host, + _check_type) + + return self.pool.apply_async(self.__call_api, (resource_path, + method, path_params, + query_params, + header_params, body, + post_params, files, + response_type, + auth_settings, + _return_http_data_only, + collection_formats, + _preload_content, + _request_timeout, + _host, _check_type)) + + def request(self, method, url, query_params=None, headers=None, + post_params=None, body=None, _preload_content=True, + _request_timeout=None): + """Makes the HTTP request using RESTClient.""" + if method == "GET": + return self.rest_client.GET(url, + query_params=query_params, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + headers=headers) + elif method == "HEAD": + return self.rest_client.HEAD(url, + query_params=query_params, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + headers=headers) + elif method == "OPTIONS": + return self.rest_client.OPTIONS(url, + query_params=query_params, + headers=headers, + post_params=post_params, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + body=body) + elif method == "POST": + return self.rest_client.POST(url, + query_params=query_params, + headers=headers, + post_params=post_params, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + body=body) + elif method == "PUT": + return self.rest_client.PUT(url, + query_params=query_params, + headers=headers, + post_params=post_params, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + body=body) + elif method == "PATCH": + return self.rest_client.PATCH(url, + query_params=query_params, + headers=headers, + post_params=post_params, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + body=body) + elif method == "DELETE": + return self.rest_client.DELETE(url, + query_params=query_params, + headers=headers, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + body=body) + else: + raise ApiValueError( + "http method must be `GET`, `HEAD`, `OPTIONS`," + " `POST`, `PATCH`, `PUT` or `DELETE`." + ) + + def parameters_to_tuples(self, params, collection_formats): + """Get parameters as list of tuples, formatting collections. + + :param params: Parameters as dict or list of two-tuples + :param dict collection_formats: Parameter collection formats + :return: Parameters as list of tuples, collections formatted + """ + new_params = [] + if collection_formats is None: + collection_formats = {} + for k, v in params.items() if isinstance(params, dict) else params: # noqa: E501 + if k in collection_formats: + collection_format = collection_formats[k] + if collection_format == 'multi': + new_params.extend((k, value) for value in v) + else: + if collection_format == 'ssv': + delimiter = ' ' + elif collection_format == 'tsv': + delimiter = '\t' + elif collection_format == 'pipes': + delimiter = '|' + else: # csv is the default + delimiter = ',' + new_params.append( + (k, delimiter.join(str(value) for value in v))) + else: + new_params.append((k, v)) + return new_params + + @staticmethod + def get_file_data_and_close_file(file_instance: io.IOBase) -> bytes: + file_data = file_instance.read() + file_instance.close() + return file_data + + def files_parameters(self, files: typing.Optional[typing.Dict[str, typing.List[io.IOBase]]] = None): + """Builds form parameters. + + :param files: None or a dict with key=param_name and + value is a list of open file objects + :return: List of tuples of form parameters with file data + """ + if files is None: + return [] + + params = [] + for param_name, file_instances in files.items(): + if file_instances is None: + # if the file field is nullable, skip None values + continue + for file_instance in file_instances: + if file_instance is None: + # if the file field is nullable, skip None values + continue + if file_instance.closed is True: + raise ApiValueError( + "Cannot read a closed file. The passed in file_type " + "for %s must be open." % param_name + ) + filename = os.path.basename(file_instance.name) + filedata = self.get_file_data_and_close_file(file_instance) + mimetype = (mimetypes.guess_type(filename)[0] or + 'application/octet-stream') + params.append( + tuple([param_name, tuple([filename, filedata, mimetype])])) + + return params + + def select_header_accept(self, accepts): + """Returns `Accept` based on an array of accepts provided. + + :param accepts: List of headers. + :return: Accept (e.g. application/json). + """ + if not accepts: + return + + accepts = [x.lower() for x in accepts] + + if 'application/json' in accepts: + return 'application/json' + else: + return ', '.join(accepts) + + def select_header_content_type(self, content_types): + """Returns `Content-Type` based on an array of content_types provided. + + :param content_types: List of content-types. + :return: Content-Type (e.g. application/json). + """ + if not content_types: + return 'application/json' + + content_types = [x.lower() for x in content_types] + + if 'application/json' in content_types or '*/*' in content_types: + return 'application/json' + else: + return content_types[0] + + def update_params_for_auth(self, headers, queries, auth_settings, + resource_path, method, body): + """Updates header and query params based on authentication setting. + + :param headers: Header parameters dict to be updated. + :param queries: Query parameters tuple list to be updated. + :param auth_settings: Authentication setting identifiers list. + :param resource_path: A string representation of the HTTP request resource path. + :param method: A string representation of the HTTP request method. + :param body: A object representing the body of the HTTP request. + The object type is the return value of _encoder.default(). + """ + if not auth_settings: + return + + for auth in auth_settings: + auth_setting = self.configuration.auth_settings().get(auth) + if auth_setting: + if auth_setting['in'] == 'cookie': + headers['Cookie'] = auth_setting['value'] + elif auth_setting['in'] == 'header': + if auth_setting['type'] != 'http-signature': + headers[auth_setting['key']] = auth_setting['value'] + elif auth_setting['in'] == 'query': + queries.append((auth_setting['key'], auth_setting['value'])) + else: + raise ApiValueError( + 'Authentication token must be in `query` or `header`' + ) + + +class Endpoint(object): + def __init__(self, settings=None, params_map=None, root_map=None, + headers_map=None, api_client=None, callable=None): + """Creates an endpoint + + Args: + settings (dict): see below key value pairs + 'response_type' (tuple/None): response type + 'auth' (list): a list of auth type keys + 'endpoint_path' (str): the endpoint path + 'operation_id' (str): endpoint string identifier + 'http_method' (str): POST/PUT/PATCH/GET etc + 'servers' (list): list of str servers that this endpoint is at + params_map (dict): see below key value pairs + 'all' (list): list of str endpoint parameter names + 'required' (list): list of required parameter names + 'nullable' (list): list of nullable parameter names + 'enum' (list): list of parameters with enum values + 'validation' (list): list of parameters with validations + root_map + 'validations' (dict): the dict mapping endpoint parameter tuple + paths to their validation dictionaries + 'allowed_values' (dict): the dict mapping endpoint parameter + tuple paths to their allowed_values (enum) dictionaries + 'openapi_types' (dict): param_name to openapi type + 'attribute_map' (dict): param_name to camelCase name + 'location_map' (dict): param_name to 'body', 'file', 'form', + 'header', 'path', 'query' + collection_format_map (dict): param_name to `csv` etc. + headers_map (dict): see below key value pairs + 'accept' (list): list of Accept header strings + 'content_type' (list): list of Content-Type header strings + api_client (ApiClient) api client instance + callable (function): the function which is invoked when the + Endpoint is called + """ + self.settings = settings + self.params_map = params_map + self.params_map['all'].extend([ + 'async_req', + '_host_index', + '_preload_content', + '_request_timeout', + '_return_http_data_only', + '_check_input_type', + '_check_return_type' + ]) + self.params_map['nullable'].extend(['_request_timeout']) + self.validations = root_map['validations'] + self.allowed_values = root_map['allowed_values'] + self.openapi_types = root_map['openapi_types'] + extra_types = { + 'async_req': (bool,), + '_host_index': (none_type, int), + '_preload_content': (bool,), + '_request_timeout': (none_type, float, (float,), [float], int, (int,), [int]), + '_return_http_data_only': (bool,), + '_check_input_type': (bool,), + '_check_return_type': (bool,) + } + self.openapi_types.update(extra_types) + self.attribute_map = root_map['attribute_map'] + self.location_map = root_map['location_map'] + self.collection_format_map = root_map['collection_format_map'] + self.headers_map = headers_map + self.api_client = api_client + self.callable = callable + + def __validate_inputs(self, kwargs): + for param in self.params_map['enum']: + if param in kwargs: + check_allowed_values( + self.allowed_values, + (param,), + kwargs[param] + ) + + for param in self.params_map['validation']: + if param in kwargs: + check_validations( + self.validations, + (param,), + kwargs[param], + configuration=self.api_client.configuration + ) + + if kwargs['_check_input_type'] is False: + return + + for key, value in kwargs.items(): + fixed_val = validate_and_convert_types( + value, + self.openapi_types[key], + [key], + False, + kwargs['_check_input_type'], + configuration=self.api_client.configuration + ) + kwargs[key] = fixed_val + + def __gather_params(self, kwargs): + params = { + 'body': None, + 'collection_format': {}, + 'file': {}, + 'form': [], + 'header': {}, + 'path': {}, + 'query': [] + } + + for param_name, param_value in kwargs.items(): + param_location = self.location_map.get(param_name) + if param_location is None: + continue + if param_location: + if param_location == 'body': + params['body'] = param_value + continue + base_name = self.attribute_map[param_name] + if (param_location == 'form' and + self.openapi_types[param_name] == (file_type,)): + params['file'][param_name] = [param_value] + elif (param_location == 'form' and + self.openapi_types[param_name] == ([file_type],)): + # param_value is already a list + params['file'][param_name] = param_value + elif param_location in {'form', 'query'}: + param_value_full = (base_name, param_value) + params[param_location].append(param_value_full) + if param_location not in {'form', 'query'}: + params[param_location][base_name] = param_value + collection_format = self.collection_format_map.get(param_name) + if collection_format: + params['collection_format'][base_name] = collection_format + + return params + + def __call__(self, *args, **kwargs): + """ This method is invoked when endpoints are called + Example: + + api_instance = AuthenticationApi() + api_instance.check_user_exists # this is an instance of the class Endpoint + api_instance.check_user_exists() # this invokes api_instance.check_user_exists.__call__() + which then invokes the callable functions stored in that endpoint at + api_instance.check_user_exists.callable or self.callable in this class + + """ + return self.callable(self, *args, **kwargs) + + def call_with_http_info(self, **kwargs): + + try: + index = self.api_client.configuration.server_operation_index.get( + self.settings['operation_id'], self.api_client.configuration.server_index + ) if kwargs['_host_index'] is None else kwargs['_host_index'] + server_variables = self.api_client.configuration.server_operation_variables.get( + self.settings['operation_id'], self.api_client.configuration.server_variables + ) + _host = self.api_client.configuration.get_host_from_settings( + index, variables=server_variables, servers=self.settings['servers'] + ) + except IndexError: + if self.settings['servers']: + raise ApiValueError( + "Invalid host index. Must be 0 <= index < %s" % + len(self.settings['servers']) + ) + _host = None + + for key, value in kwargs.items(): + if key not in self.params_map['all']: + raise ApiTypeError( + "Got an unexpected parameter '%s'" + " to method `%s`" % + (key, self.settings['operation_id']) + ) + # only throw this nullable ApiValueError if _check_input_type + # is False, if _check_input_type==True we catch this case + # in self.__validate_inputs + if (key not in self.params_map['nullable'] and value is None + and kwargs['_check_input_type'] is False): + raise ApiValueError( + "Value may not be None for non-nullable parameter `%s`" + " when calling `%s`" % + (key, self.settings['operation_id']) + ) + + for key in self.params_map['required']: + if key not in kwargs.keys(): + raise ApiValueError( + "Missing the required parameter `%s` when calling " + "`%s`" % (key, self.settings['operation_id']) + ) + + self.__validate_inputs(kwargs) + + params = self.__gather_params(kwargs) + + accept_headers_list = self.headers_map['accept'] + if accept_headers_list: + params['header']['Accept'] = self.api_client.select_header_accept( + accept_headers_list) + + content_type_headers_list = self.headers_map['content_type'] + if content_type_headers_list: + if params['body'] != "": + header_list = self.api_client.select_header_content_type( + content_type_headers_list) + params['header']['Content-Type'] = header_list + + return self.api_client.call_api( + self.settings['endpoint_path'], self.settings['http_method'], + params['path'], + params['query'], + params['header'], + body=params['body'], + post_params=params['form'], + files=params['file'], + response_type=self.settings['response_type'], + auth_settings=self.settings['auth'], + async_req=kwargs['async_req'], + _check_type=kwargs['_check_return_type'], + _return_http_data_only=kwargs['_return_http_data_only'], + _preload_content=kwargs['_preload_content'], + _request_timeout=kwargs['_request_timeout'], + _host=_host, + collection_formats=params['collection_format']) diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index 2c5cb203..b0996eaa 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -455,7 +455,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.7.1\n"\ + "Version of the API: 1.7.2\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index e72ea665..38877b9b 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/add_favorite_request.py b/vrchatapi/model/add_favorite_request.py index 46db9c59..ca34fcbc 100644 --- a/vrchatapi/model/add_favorite_request.py +++ b/vrchatapi/model/add_favorite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_config.py b/vrchatapi/model/api_config.py index 091c176f..21c7eaa4 100644 --- a/vrchatapi/model/api_config.py +++ b/vrchatapi/model/api_config.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_event_config.py b/vrchatapi/model/api_event_config.py index b3a88e57..db4ed8ee 100644 --- a/vrchatapi/model/api_event_config.py +++ b/vrchatapi/model/api_event_config.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_health.py b/vrchatapi/model/api_health.py index f02fb43c..b922f2b2 100644 --- a/vrchatapi/model/api_health.py +++ b/vrchatapi/model/api_health.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar.py b/vrchatapi/model/avatar.py index f79440e4..eccfcc9e 100644 --- a/vrchatapi/model/avatar.py +++ b/vrchatapi/model/avatar.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar_id.py b/vrchatapi/model/avatar_id.py index f313143b..07eaf6a4 100644 --- a/vrchatapi/model/avatar_id.py +++ b/vrchatapi/model/avatar_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar_unity_package_url_object.py b/vrchatapi/model/avatar_unity_package_url_object.py index b08de641..bef0ca97 100644 --- a/vrchatapi/model/avatar_unity_package_url_object.py +++ b/vrchatapi/model/avatar_unity_package_url_object.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_avatar_request.py b/vrchatapi/model/create_avatar_request.py index a3b5f8c0..3aaba153 100644 --- a/vrchatapi/model/create_avatar_request.py +++ b/vrchatapi/model/create_avatar_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_file_request.py b/vrchatapi/model/create_file_request.py index 6fd8c57b..0d7601c4 100644 --- a/vrchatapi/model/create_file_request.py +++ b/vrchatapi/model/create_file_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_file_version_request.py b/vrchatapi/model/create_file_version_request.py index 1d1b71c6..d6080b76 100644 --- a/vrchatapi/model/create_file_version_request.py +++ b/vrchatapi/model/create_file_version_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_world_request.py b/vrchatapi/model/create_world_request.py index 37937120..2bd676ee 100644 --- a/vrchatapi/model/create_world_request.py +++ b/vrchatapi/model/create_world_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/current_user.py b/vrchatapi/model/current_user.py index b3689a25..fb15c9fd 100644 --- a/vrchatapi/model/current_user.py +++ b/vrchatapi/model/current_user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/deployment_group.py b/vrchatapi/model/deployment_group.py index f1ec8a5b..f1cf8cd7 100644 --- a/vrchatapi/model/deployment_group.py +++ b/vrchatapi/model/deployment_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/developer_type.py b/vrchatapi/model/developer_type.py index c0eee180..7416d20c 100644 --- a/vrchatapi/model/developer_type.py +++ b/vrchatapi/model/developer_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/download_url_list.py b/vrchatapi/model/download_url_list.py index 93b07030..8fbb0135 100644 --- a/vrchatapi/model/download_url_list.py +++ b/vrchatapi/model/download_url_list.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/dynamic_content_row.py b/vrchatapi/model/dynamic_content_row.py index 003c4029..3689d186 100644 --- a/vrchatapi/model/dynamic_content_row.py +++ b/vrchatapi/model/dynamic_content_row.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/error.py b/vrchatapi/model/error.py index 66d3f492..771f893f 100644 --- a/vrchatapi/model/error.py +++ b/vrchatapi/model/error.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite.py b/vrchatapi/model/favorite.py index 8e4c259a..4fdc8485 100644 --- a/vrchatapi/model/favorite.py +++ b/vrchatapi/model/favorite.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group.py b/vrchatapi/model/favorite_group.py index 081e4d8a..de4d36f3 100644 --- a/vrchatapi/model/favorite_group.py +++ b/vrchatapi/model/favorite_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group_id.py b/vrchatapi/model/favorite_group_id.py index f6dd9be7..054cb602 100644 --- a/vrchatapi/model/favorite_group_id.py +++ b/vrchatapi/model/favorite_group_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group_visibility.py b/vrchatapi/model/favorite_group_visibility.py index 79dfa8b0..5a238718 100644 --- a/vrchatapi/model/favorite_group_visibility.py +++ b/vrchatapi/model/favorite_group_visibility.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_id.py b/vrchatapi/model/favorite_id.py index 788b557e..ae73a570 100644 --- a/vrchatapi/model/favorite_id.py +++ b/vrchatapi/model/favorite_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_type.py b/vrchatapi/model/favorite_type.py index 5698b0d1..252f3d2f 100644 --- a/vrchatapi/model/favorite_type.py +++ b/vrchatapi/model/favorite_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file.py b/vrchatapi/model/file.py index 6ea3927d..1c90176c 100644 --- a/vrchatapi/model/file.py +++ b/vrchatapi/model/file.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_data.py b/vrchatapi/model/file_data.py index b8054a94..4eb2922f 100644 --- a/vrchatapi/model/file_data.py +++ b/vrchatapi/model/file_data.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_id.py b/vrchatapi/model/file_id.py index 039bb4d6..3521990f 100644 --- a/vrchatapi/model/file_id.py +++ b/vrchatapi/model/file_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_status.py b/vrchatapi/model/file_status.py index b2fdead5..a1322c66 100644 --- a/vrchatapi/model/file_status.py +++ b/vrchatapi/model/file_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_upload_url.py b/vrchatapi/model/file_upload_url.py index aeac9174..eba49638 100644 --- a/vrchatapi/model/file_upload_url.py +++ b/vrchatapi/model/file_upload_url.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_version.py b/vrchatapi/model/file_version.py index 8209d30a..6046aab3 100644 --- a/vrchatapi/model/file_version.py +++ b/vrchatapi/model/file_version.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_version_upload_status.py b/vrchatapi/model/file_version_upload_status.py index 0c32e70e..3f2de7b8 100644 --- a/vrchatapi/model/file_version_upload_status.py +++ b/vrchatapi/model/file_version_upload_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/finish_file_data_upload_request.py b/vrchatapi/model/finish_file_data_upload_request.py index 405d4f1f..ed828f07 100644 --- a/vrchatapi/model/finish_file_data_upload_request.py +++ b/vrchatapi/model/finish_file_data_upload_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/friend_status.py b/vrchatapi/model/friend_status.py index d8d09b6e..a98aebb5 100644 --- a/vrchatapi/model/friend_status.py +++ b/vrchatapi/model/friend_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push.py b/vrchatapi/model/info_push.py index 5ae32e04..2283d4f9 100644 --- a/vrchatapi/model/info_push.py +++ b/vrchatapi/model/info_push.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data.py b/vrchatapi/model/info_push_data.py index 73870b11..b7f069b5 100644 --- a/vrchatapi/model/info_push_data.py +++ b/vrchatapi/model/info_push_data.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_article.py b/vrchatapi/model/info_push_data_article.py index 71fd954d..c1ec383b 100644 --- a/vrchatapi/model/info_push_data_article.py +++ b/vrchatapi/model/info_push_data_article.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_article_content.py b/vrchatapi/model/info_push_data_article_content.py index 5d34a1d2..281f10f9 100644 --- a/vrchatapi/model/info_push_data_article_content.py +++ b/vrchatapi/model/info_push_data_article_content.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_clickable.py b/vrchatapi/model/info_push_data_clickable.py index 0de0a9d4..c7e4ae35 100644 --- a/vrchatapi/model/info_push_data_clickable.py +++ b/vrchatapi/model/info_push_data_clickable.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance.py b/vrchatapi/model/instance.py index cd532e31..5069d4b6 100644 --- a/vrchatapi/model/instance.py +++ b/vrchatapi/model/instance.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_id.py b/vrchatapi/model/instance_id.py index 4090287f..8f4248ea 100644 --- a/vrchatapi/model/instance_id.py +++ b/vrchatapi/model/instance_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_platforms.py b/vrchatapi/model/instance_platforms.py index 3026d6fd..6c2d9b45 100644 --- a/vrchatapi/model/instance_platforms.py +++ b/vrchatapi/model/instance_platforms.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_type.py b/vrchatapi/model/instance_type.py index a7b6b503..daa51cbe 100644 --- a/vrchatapi/model/instance_type.py +++ b/vrchatapi/model/instance_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message.py b/vrchatapi/model/invite_message.py index ce4d79d7..ba2a786a 100644 --- a/vrchatapi/model/invite_message.py +++ b/vrchatapi/model/invite_message.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message_id.py b/vrchatapi/model/invite_message_id.py index 713727b6..29c8a933 100644 --- a/vrchatapi/model/invite_message_id.py +++ b/vrchatapi/model/invite_message_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message_type.py b/vrchatapi/model/invite_message_type.py index e081aaa6..7ac3c9cd 100644 --- a/vrchatapi/model/invite_message_type.py +++ b/vrchatapi/model/invite_message_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_request.py b/vrchatapi/model/invite_request.py index 5b49aac1..b446c9c4 100644 --- a/vrchatapi/model/invite_request.py +++ b/vrchatapi/model/invite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_response.py b/vrchatapi/model/invite_response.py index dff76ba1..28fbc3eb 100644 --- a/vrchatapi/model/invite_response.py +++ b/vrchatapi/model/invite_response.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license.py b/vrchatapi/model/license.py index 8169c1e2..e57a23ec 100644 --- a/vrchatapi/model/license.py +++ b/vrchatapi/model/license.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_action.py b/vrchatapi/model/license_action.py index 1f3a3770..4d0745eb 100644 --- a/vrchatapi/model/license_action.py +++ b/vrchatapi/model/license_action.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_group.py b/vrchatapi/model/license_group.py index 85fc74fc..f2441ed9 100644 --- a/vrchatapi/model/license_group.py +++ b/vrchatapi/model/license_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_group_id.py b/vrchatapi/model/license_group_id.py index b5370422..12e7af95 100644 --- a/vrchatapi/model/license_group_id.py +++ b/vrchatapi/model/license_group_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_type.py b/vrchatapi/model/license_type.py index 7112e920..d9a1338b 100644 --- a/vrchatapi/model/license_type.py +++ b/vrchatapi/model/license_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_unity_package.py b/vrchatapi/model/limited_unity_package.py index d7ea3d19..29182ce3 100644 --- a/vrchatapi/model/limited_unity_package.py +++ b/vrchatapi/model/limited_unity_package.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_user.py b/vrchatapi/model/limited_user.py index bedf2c6f..6930bf91 100644 --- a/vrchatapi/model/limited_user.py +++ b/vrchatapi/model/limited_user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_world.py b/vrchatapi/model/limited_world.py index 5583a70d..57b18562 100644 --- a/vrchatapi/model/limited_world.py +++ b/vrchatapi/model/limited_world.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/mime_type.py b/vrchatapi/model/mime_type.py index 95deb52c..e15a6c8d 100644 --- a/vrchatapi/model/mime_type.py +++ b/vrchatapi/model/mime_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/moderate_user_request.py b/vrchatapi/model/moderate_user_request.py index 3d61731f..2bc8586c 100644 --- a/vrchatapi/model/moderate_user_request.py +++ b/vrchatapi/model/moderate_user_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/notification.py b/vrchatapi/model/notification.py index 8e743c7c..910ed932 100644 --- a/vrchatapi/model/notification.py +++ b/vrchatapi/model/notification.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/notification_type.py b/vrchatapi/model/notification_type.py index 8f8f3ff7..0b7e94e5 100644 --- a/vrchatapi/model/notification_type.py +++ b/vrchatapi/model/notification_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/past_display_name.py b/vrchatapi/model/past_display_name.py index 24c554c6..26fd03a8 100644 --- a/vrchatapi/model/past_display_name.py +++ b/vrchatapi/model/past_display_name.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/permission.py b/vrchatapi/model/permission.py index be1d271d..f6f2f074 100644 --- a/vrchatapi/model/permission.py +++ b/vrchatapi/model/permission.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/permission_id.py b/vrchatapi/model/permission_id.py index ea419a35..a2f98335 100644 --- a/vrchatapi/model/permission_id.py +++ b/vrchatapi/model/permission_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation.py b/vrchatapi/model/player_moderation.py index c66775c7..6cf252e2 100644 --- a/vrchatapi/model/player_moderation.py +++ b/vrchatapi/model/player_moderation.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation_id.py b/vrchatapi/model/player_moderation_id.py index 1a3e84fd..92249afa 100644 --- a/vrchatapi/model/player_moderation_id.py +++ b/vrchatapi/model/player_moderation_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation_type.py b/vrchatapi/model/player_moderation_type.py index cd2f06d5..6e21ddbd 100644 --- a/vrchatapi/model/player_moderation_type.py +++ b/vrchatapi/model/player_moderation_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/public_announcement.py b/vrchatapi/model/public_announcement.py index 4e8ae992..8cd5db8f 100644 --- a/vrchatapi/model/public_announcement.py +++ b/vrchatapi/model/public_announcement.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/region.py b/vrchatapi/model/region.py index 730f0735..e41c6d1e 100644 --- a/vrchatapi/model/region.py +++ b/vrchatapi/model/region.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/release_status.py b/vrchatapi/model/release_status.py index 4947ffb0..944adfb6 100644 --- a/vrchatapi/model/release_status.py +++ b/vrchatapi/model/release_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/request_invite_request.py b/vrchatapi/model/request_invite_request.py index 1ed80708..0b0d0b1a 100644 --- a/vrchatapi/model/request_invite_request.py +++ b/vrchatapi/model/request_invite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/response.py b/vrchatapi/model/response.py index 183e9b94..c6049094 100644 --- a/vrchatapi/model/response.py +++ b/vrchatapi/model/response.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/subscription.py b/vrchatapi/model/subscription.py index 218f234a..7295ec45 100644 --- a/vrchatapi/model/subscription.py +++ b/vrchatapi/model/subscription.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/subscription_period.py b/vrchatapi/model/subscription_period.py index 82750937..e5fb4a00 100644 --- a/vrchatapi/model/subscription_period.py +++ b/vrchatapi/model/subscription_period.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/success.py b/vrchatapi/model/success.py index a39a708e..325b40cd 100644 --- a/vrchatapi/model/success.py +++ b/vrchatapi/model/success.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/tag.py b/vrchatapi/model/tag.py index 5cd9617b..afa059e7 100644 --- a/vrchatapi/model/tag.py +++ b/vrchatapi/model/tag.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction.py b/vrchatapi/model/transaction.py index 8826b7c2..bc95acb3 100644 --- a/vrchatapi/model/transaction.py +++ b/vrchatapi/model/transaction.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_agreement.py b/vrchatapi/model/transaction_agreement.py index 9e846e6a..29f53e2f 100644 --- a/vrchatapi/model/transaction_agreement.py +++ b/vrchatapi/model/transaction_agreement.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_id.py b/vrchatapi/model/transaction_id.py index e83ae917..56d83de4 100644 --- a/vrchatapi/model/transaction_id.py +++ b/vrchatapi/model/transaction_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_status.py b/vrchatapi/model/transaction_status.py index d6232183..886e50bf 100644 --- a/vrchatapi/model/transaction_status.py +++ b/vrchatapi/model/transaction_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_steam_info.py b/vrchatapi/model/transaction_steam_info.py index 6eb8b2ef..5513b01a 100644 --- a/vrchatapi/model/transaction_steam_info.py +++ b/vrchatapi/model/transaction_steam_info.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_steam_wallet_info.py b/vrchatapi/model/transaction_steam_wallet_info.py index 7fd4133b..f010fab2 100644 --- a/vrchatapi/model/transaction_steam_wallet_info.py +++ b/vrchatapi/model/transaction_steam_wallet_info.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/two_factor_auth_code.py b/vrchatapi/model/two_factor_auth_code.py index c06cdb21..9233239d 100644 --- a/vrchatapi/model/two_factor_auth_code.py +++ b/vrchatapi/model/two_factor_auth_code.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/unity_package.py b/vrchatapi/model/unity_package.py index b1c844b3..40dd4f2b 100644 --- a/vrchatapi/model/unity_package.py +++ b/vrchatapi/model/unity_package.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/unity_package_id.py b/vrchatapi/model/unity_package_id.py index a2cdc6c4..d1982510 100644 --- a/vrchatapi/model/unity_package_id.py +++ b/vrchatapi/model/unity_package_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_avatar_request.py b/vrchatapi/model/update_avatar_request.py index aca8c8e7..75ba5951 100644 --- a/vrchatapi/model/update_avatar_request.py +++ b/vrchatapi/model/update_avatar_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_favorite_group_request.py b/vrchatapi/model/update_favorite_group_request.py index a0538f22..bfaacdbf 100644 --- a/vrchatapi/model/update_favorite_group_request.py +++ b/vrchatapi/model/update_favorite_group_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_invite_message_request.py b/vrchatapi/model/update_invite_message_request.py index c62685bc..d29e974f 100644 --- a/vrchatapi/model/update_invite_message_request.py +++ b/vrchatapi/model/update_invite_message_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_user_request.py b/vrchatapi/model/update_user_request.py index 7c146bd9..50b9c135 100644 --- a/vrchatapi/model/update_user_request.py +++ b/vrchatapi/model/update_user_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_world_request.py b/vrchatapi/model/update_world_request.py index 5220a660..ac50e01f 100644 --- a/vrchatapi/model/update_world_request.py +++ b/vrchatapi/model/update_world_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user.py b/vrchatapi/model/user.py index 4f162618..3c0979c5 100644 --- a/vrchatapi/model/user.py +++ b/vrchatapi/model/user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_exists.py b/vrchatapi/model/user_exists.py index 9852681f..d17fd8c6 100644 --- a/vrchatapi/model/user_exists.py +++ b/vrchatapi/model/user_exists.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_state.py b/vrchatapi/model/user_state.py index 579be91e..c29654c7 100644 --- a/vrchatapi/model/user_state.py +++ b/vrchatapi/model/user_state.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_status.py b/vrchatapi/model/user_status.py index c146faa7..78ad4622 100644 --- a/vrchatapi/model/user_status.py +++ b/vrchatapi/model/user_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_subscription.py b/vrchatapi/model/user_subscription.py index f33ecbc4..c25405d8 100644 --- a/vrchatapi/model/user_subscription.py +++ b/vrchatapi/model/user_subscription.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/verify2_fa_result.py b/vrchatapi/model/verify2_fa_result.py index 5b2045e9..983db7d6 100644 --- a/vrchatapi/model/verify2_fa_result.py +++ b/vrchatapi/model/verify2_fa_result.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/verify_auth_token_result.py b/vrchatapi/model/verify_auth_token_result.py index cd6fe507..0560d5d7 100644 --- a/vrchatapi/model/verify_auth_token_result.py +++ b/vrchatapi/model/verify_auth_token_result.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world.py b/vrchatapi/model/world.py index b38ed432..c511c307 100644 --- a/vrchatapi/model/world.py +++ b/vrchatapi/model/world.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_id.py b/vrchatapi/model/world_id.py index 8a1f9854..2777b457 100644 --- a/vrchatapi/model/world_id.py +++ b/vrchatapi/model/world_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_metadata.py b/vrchatapi/model/world_metadata.py index 40211bff..62423ab2 100644 --- a/vrchatapi/model/world_metadata.py +++ b/vrchatapi/model/world_metadata.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_publish_status.py b/vrchatapi/model/world_publish_status.py index 9d2c976d..5913f73f 100644 --- a/vrchatapi/model/world_publish_status.py +++ b/vrchatapi/model/world_publish_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model_utils.py b/vrchatapi/model_utils.py index 3d0c5524..0bbff74a 100644 --- a/vrchatapi/model_utils.py +++ b/vrchatapi/model_utils.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index aac58f34..59013a61 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.1 + The version of the OpenAPI document: 1.7.2 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ From b9c5ba5a844fd63a3dfafca2b6d588c9a2447e96 Mon Sep 17 00:00:00 2001 From: VRCCat Date: Sat, 3 Sep 2022 10:13:42 +0000 Subject: [PATCH 010/102] Upgrade Python SDK to spec 1.7.3 --- .openapi-generator/FILES | 4 + docs/APIConfig.md | 4 +- docs/InstancesApi.md | 89 +++++ docs/InviteApi.md | 113 ++++++- docs/InviteMyselfToRequest.md | 12 + docs/SentNotification.md | 19 ++ docs/User.md | 6 + docs/World.md | 3 - setup.py | 4 +- vrchatapi/__init__.py | 2 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/instances_api.py | 120 ++++++- vrchatapi/api/invite_api.py | 143 +++++++- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/api_client.py.orig | 2 +- vrchatapi/configuration.py | 4 +- vrchatapi/exceptions.py | 2 +- vrchatapi/model/add_favorite_request.py | 2 +- vrchatapi/model/api_config.py | 34 +- vrchatapi/model/api_event_config.py | 2 +- vrchatapi/model/api_health.py | 2 +- vrchatapi/model/avatar.py | 2 +- vrchatapi/model/avatar_id.py | 2 +- .../model/avatar_unity_package_url_object.py | 2 +- vrchatapi/model/create_avatar_request.py | 2 +- vrchatapi/model/create_file_request.py | 2 +- .../model/create_file_version_request.py | 2 +- vrchatapi/model/create_world_request.py | 2 +- vrchatapi/model/current_user.py | 2 +- vrchatapi/model/deployment_group.py | 2 +- vrchatapi/model/developer_type.py | 2 +- vrchatapi/model/download_url_list.py | 2 +- vrchatapi/model/dynamic_content_row.py | 2 +- vrchatapi/model/error.py | 2 +- vrchatapi/model/favorite.py | 2 +- vrchatapi/model/favorite_group.py | 2 +- vrchatapi/model/favorite_group_id.py | 2 +- vrchatapi/model/favorite_group_visibility.py | 2 +- vrchatapi/model/favorite_id.py | 2 +- vrchatapi/model/favorite_type.py | 2 +- vrchatapi/model/file.py | 2 +- vrchatapi/model/file_data.py | 2 +- vrchatapi/model/file_id.py | 2 +- vrchatapi/model/file_status.py | 2 +- vrchatapi/model/file_upload_url.py | 2 +- vrchatapi/model/file_version.py | 2 +- vrchatapi/model/file_version_upload_status.py | 2 +- .../model/finish_file_data_upload_request.py | 2 +- vrchatapi/model/friend_status.py | 2 +- vrchatapi/model/info_push.py | 2 +- vrchatapi/model/info_push_data.py | 2 +- vrchatapi/model/info_push_data_article.py | 2 +- .../model/info_push_data_article_content.py | 2 +- vrchatapi/model/info_push_data_clickable.py | 2 +- vrchatapi/model/instance.py | 2 +- vrchatapi/model/instance_id.py | 2 +- vrchatapi/model/instance_platforms.py | 2 +- vrchatapi/model/instance_type.py | 2 +- vrchatapi/model/invite_message.py | 2 +- vrchatapi/model/invite_message_id.py | 2 +- vrchatapi/model/invite_message_type.py | 2 +- vrchatapi/model/invite_myself_to_request.py | 261 ++++++++++++++ vrchatapi/model/invite_request.py | 2 +- vrchatapi/model/invite_response.py | 2 +- vrchatapi/model/license.py | 2 +- vrchatapi/model/license_action.py | 2 +- vrchatapi/model/license_group.py | 2 +- vrchatapi/model/license_group_id.py | 2 +- vrchatapi/model/license_type.py | 2 +- vrchatapi/model/limited_unity_package.py | 2 +- vrchatapi/model/limited_user.py | 2 +- vrchatapi/model/limited_world.py | 2 +- vrchatapi/model/mime_type.py | 2 +- vrchatapi/model/moderate_user_request.py | 2 +- vrchatapi/model/notification.py | 2 +- vrchatapi/model/notification_type.py | 2 +- vrchatapi/model/past_display_name.py | 2 +- vrchatapi/model/permission.py | 2 +- vrchatapi/model/permission_id.py | 2 +- vrchatapi/model/player_moderation.py | 2 +- vrchatapi/model/player_moderation_id.py | 2 +- vrchatapi/model/player_moderation_type.py | 2 +- vrchatapi/model/public_announcement.py | 2 +- vrchatapi/model/region.py | 2 +- vrchatapi/model/release_status.py | 2 +- vrchatapi/model/request_invite_request.py | 2 +- vrchatapi/model/response.py | 2 +- vrchatapi/model/sent_notification.py | 317 ++++++++++++++++++ vrchatapi/model/subscription.py | 2 +- vrchatapi/model/subscription_period.py | 2 +- vrchatapi/model/success.py | 2 +- vrchatapi/model/tag.py | 2 +- vrchatapi/model/transaction.py | 2 +- vrchatapi/model/transaction_agreement.py | 2 +- vrchatapi/model/transaction_id.py | 2 +- vrchatapi/model/transaction_status.py | 2 +- vrchatapi/model/transaction_steam_info.py | 2 +- .../model/transaction_steam_wallet_info.py | 2 +- vrchatapi/model/two_factor_auth_code.py | 2 +- vrchatapi/model/unity_package.py | 2 +- vrchatapi/model/unity_package_id.py | 2 +- vrchatapi/model/update_avatar_request.py | 2 +- .../model/update_favorite_group_request.py | 2 +- .../model/update_invite_message_request.py | 2 +- vrchatapi/model/update_user_request.py | 2 +- vrchatapi/model/update_world_request.py | 2 +- vrchatapi/model/user.py | 34 +- vrchatapi/model/user_exists.py | 2 +- vrchatapi/model/user_state.py | 2 +- vrchatapi/model/user_status.py | 2 +- vrchatapi/model/user_subscription.py | 2 +- vrchatapi/model/verify2_fa_result.py | 2 +- vrchatapi/model/verify_auth_token_result.py | 2 +- vrchatapi/model/world.py | 24 +- vrchatapi/model/world_id.py | 2 +- vrchatapi/model/world_metadata.py | 2 +- vrchatapi/model/world_publish_status.py | 2 +- vrchatapi/model_utils.py | 2 +- vrchatapi/models/__init__.py | 2 + vrchatapi/rest.py | 2 +- 131 files changed, 1248 insertions(+), 171 deletions(-) create mode 100644 docs/InviteMyselfToRequest.md create mode 100644 docs/SentNotification.md create mode 100644 vrchatapi/model/invite_myself_to_request.py create mode 100644 vrchatapi/model/sent_notification.py diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index f568eb74..1efe5812 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -51,6 +51,7 @@ docs/InviteApi.md docs/InviteMessage.md docs/InviteMessageID.md docs/InviteMessageType.md +docs/InviteMyselfToRequest.md docs/InviteRequest.md docs/InviteResponse.md docs/License.md @@ -79,6 +80,7 @@ docs/Region.md docs/ReleaseStatus.md docs/RequestInviteRequest.md docs/Response.md +docs/SentNotification.md docs/Subscription.md docs/SubscriptionPeriod.md docs/Success.md @@ -182,6 +184,7 @@ vrchatapi/model/instance_type.py vrchatapi/model/invite_message.py vrchatapi/model/invite_message_id.py vrchatapi/model/invite_message_type.py +vrchatapi/model/invite_myself_to_request.py vrchatapi/model/invite_request.py vrchatapi/model/invite_response.py vrchatapi/model/license.py @@ -207,6 +210,7 @@ vrchatapi/model/region.py vrchatapi/model/release_status.py vrchatapi/model/request_invite_request.py vrchatapi/model/response.py +vrchatapi/model/sent_notification.py vrchatapi/model/subscription.py vrchatapi/model/subscription_period.py vrchatapi/model/success.py diff --git a/docs/APIConfig.md b/docs/APIConfig.md index a523c0cb..e1d28fed 100644 --- a/docs/APIConfig.md +++ b/docs/APIConfig.md @@ -58,8 +58,8 @@ Name | Type | Description | Notes **vive_windows_url** | **str** | Download link for game on the Steam website. | **white_listed_asset_urls** | **[str]** | List of allowed URLs that are allowed to host avatar assets | **world_update_period** | **int** | Unknown | -**youtubedl_hash** | **str** | Currently used youtube-dl.exe hash in SHA-256-delimited format | -**youtubedl_version** | **str** | Currently used youtube-dl.exe version | +**player_url_resolver_hash** | **str** | Currently used youtube-dl.exe hash in SHA-256-delimited format | +**player_url_resolver_version** | **str** | Currently used youtube-dl.exe version | **voice_enable_degradation** | **bool** | Unknown, probably voice optimization testing | defaults to False **voice_enable_receiver_limiting** | **bool** | Unknown, probably voice optimization testing | defaults to True **app_name** | **str** | Game name | defaults to "VrChat" diff --git a/docs/InstancesApi.md b/docs/InstancesApi.md index ce0595ff..5d9dfb72 100644 --- a/docs/InstancesApi.md +++ b/docs/InstancesApi.md @@ -5,6 +5,7 @@ All URIs are relative to *https://api.vrchat.cloud/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- [**get_instance**](InstancesApi.md#get_instance) | **GET** /instances/{worldId}:{instanceId} | Get Instance +[**get_instance_by_short_name**](InstancesApi.md#get_instance_by_short_name) | **GET** /instances/s/{shortName} | Get Instance By Short Name [**get_short_name**](InstancesApi.md#get_short_name) | **GET** /instances/{worldId}:{instanceId}/shortName | Get Instance Short Name [**send_self_invite**](InstancesApi.md#send_self_invite) | **POST** /instances/{worldId}:{instanceId}/invite | Send Self Invite @@ -98,6 +99,94 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_instance_by_short_name** +> Instance get_instance_by_short_name(short_name) + +Get Instance By Short Name + +Returns an instance. Please read [Instances Tutorial](https://vrchatapi.github.io/tutorials/instances/) for more information on Instances. + +### Example + +* Api Key Authentication (apiKeyCookie): +* Api Key Authentication (authCookie): + +```python +import time +import vrchatapi +from vrchatapi.api import instances_api +from vrchatapi.model.error import Error +from vrchatapi.model.instance import Instance +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instances_api.InstancesApi(api_client) + short_name = "shortName_example" # str | + + # example passing only required values which don't have defaults set + try: + # Get Instance By Short Name + api_response = api_instance.get_instance_by_short_name(short_name) + pprint(api_response) + except vrchatapi.ApiException as e: + print("Exception when calling InstancesApi->get_instance_by_short_name: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **short_name** | **str**| | + +### Return type + +[**Instance**](Instance.md) + +### Authorization + +[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single Instance object. | - | +**401** | Error response due to missing apiKey or auth cookie. | - | +**404** | Error response due to non existant instance | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_short_name** > str get_short_name(world_id, instance_id) diff --git a/docs/InviteApi.md b/docs/InviteApi.md index f9a61884..1ab3f840 100644 --- a/docs/InviteApi.md +++ b/docs/InviteApi.md @@ -6,6 +6,7 @@ Method | HTTP request | Description ------------- | ------------- | ------------- [**get_invite_message**](InviteApi.md#get_invite_message) | **GET** /message/{userId}/{messageType}/{slot} | Get Invite Message [**get_invite_messages**](InviteApi.md#get_invite_messages) | **GET** /message/{userId}/{messageType} | List Invite Messages +[**invite_myself_to**](InviteApi.md#invite_myself_to) | **POST** /invite/myself/to/{worldId}:{instanceId} | Invite Myself To Instance [**invite_user**](InviteApi.md#invite_user) | **POST** /invite/{userId} | Invite User [**request_invite**](InviteApi.md#request_invite) | **POST** /requestInvite/{userId} | Request Invite [**reset_invite_message**](InviteApi.md#reset_invite_message) | **DELETE** /message/{userId}/{messageType}/{slot} | Reset Invite Message @@ -196,8 +197,112 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **invite_myself_to** +> SentNotification invite_myself_to(world_id, instance_id) + +Invite Myself To Instance + +Sends self an invite to an instance + +### Example + +* Api Key Authentication (apiKeyCookie): +* Api Key Authentication (authCookie): + +```python +import time +import vrchatapi +from vrchatapi.api import invite_api +from vrchatapi.model.sent_notification import SentNotification +from vrchatapi.model.invite_myself_to_request import InviteMyselfToRequest +from vrchatapi.model.error import Error +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = invite_api.InviteApi(api_client) + world_id = "worldId_example" # str | + instance_id = "instanceId_example" # str | + invite_myself_to_request = InviteMyselfToRequest( + short_name="short_name_example", + ) # InviteMyselfToRequest | (optional) + + # example passing only required values which don't have defaults set + try: + # Invite Myself To Instance + api_response = api_instance.invite_myself_to(world_id, instance_id) + pprint(api_response) + except vrchatapi.ApiException as e: + print("Exception when calling InviteApi->invite_myself_to: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Invite Myself To Instance + api_response = api_instance.invite_myself_to(world_id, instance_id, invite_myself_to_request=invite_myself_to_request) + pprint(api_response) + except vrchatapi.ApiException as e: + print("Exception when calling InviteApi->invite_myself_to: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **world_id** | **str**| | + **instance_id** | **str**| | + **invite_myself_to_request** | [**InviteMyselfToRequest**](InviteMyselfToRequest.md)| | [optional] + +### Return type + +[**SentNotification**](SentNotification.md) + +### Authorization + +[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single SentNotifcation object. | - | +**401** | Error response due to missing apiKey or auth cookie. | - | +**404** | Error response due to non existant instance | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **invite_user** -> Notification invite_user(user_id) +> SentNotification invite_user(user_id) Invite User @@ -212,7 +317,7 @@ Sends an invite to a user. Returns the Notification of type `invite` that was se import time import vrchatapi from vrchatapi.api import invite_api -from vrchatapi.model.notification import Notification +from vrchatapi.model.sent_notification import SentNotification from vrchatapi.model.invite_request import InviteRequest from vrchatapi.model.error import Error from pprint import pprint @@ -277,7 +382,7 @@ Name | Type | Description | Notes ### Return type -[**Notification**](Notification.md) +[**SentNotification**](SentNotification.md) ### Authorization @@ -293,7 +398,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a single Notifcation object. | - | +**200** | Returns a single SentNotifcation object. | - | **403** | Error response when trying to invite someome whom you are not friends with. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/InviteMyselfToRequest.md b/docs/InviteMyselfToRequest.md new file mode 100644 index 00000000..541dc673 --- /dev/null +++ b/docs/InviteMyselfToRequest.md @@ -0,0 +1,12 @@ +# InviteMyselfToRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**short_name** | **str** | Short Name of the Instance; can be retrieved from the Get Instance Short Name endpoint. | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SentNotification.md b/docs/SentNotification.md new file mode 100644 index 00000000..d3b1132f --- /dev/null +++ b/docs/SentNotification.md @@ -0,0 +1,19 @@ +# SentNotification + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**created_at** | **datetime** | | +**id** | **str** | | +**message** | **str** | | +**reciever_user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**sender_user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**sender_username** | **str** | | +**type** | [**NotificationType**](NotificationType.md) | | +**details** | **str** | **NOTICE:** This is not a JSON object, this is a json **encoded** object, meaning you have to json-de-encode to get the NotificationDetail object depending on the NotificationType. | defaults to "{}" +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/User.md b/docs/User.md index 9531509f..85879a58 100644 --- a/docs/User.md +++ b/docs/User.md @@ -12,8 +12,10 @@ Name | Type | Description | Notes **developer_type** | [**DeveloperType**](DeveloperType.md) | | **display_name** | **str** | A users visual display name. This is what shows up in-game, and can different from their `username`. Changing display name is restricted to a cooldown period. | **friend_key** | **str** | | +**friend_request_status** | **str** | | **id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | **is_friend** | **bool** | Either their `friendKey`, or empty string if you are not friends. Unknown usage. | +**last_activity** | **str** | Either a date-time or empty string. | **last_login** | **str** | Either a date-time or empty string. | **last_platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | **profile_pic_override** | **str** | | @@ -26,6 +28,10 @@ Name | Type | Description | Notes **allow_avatar_copying** | **bool** | | defaults to True **instance_id** | [**InstanceID**](InstanceID.md) | | [optional] **location** | [**WorldID**](WorldID.md) | | [optional] +**note** | **str** | | [optional] +**traveling_to_instance** | **str** | | [optional] +**traveling_to_location** | **str** | | [optional] +**traveling_to_world** | **str** | | [optional] **world_id** | [**WorldID**](WorldID.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/docs/World.md b/docs/World.md index d3f8d19f..df673f48 100644 --- a/docs/World.md +++ b/docs/World.md @@ -5,7 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **asset_url** | **str** | Empty if unauthenticated. | -**asset_url_object** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | **author_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | **author_name** | **str** | | **capacity** | **int** | | @@ -16,12 +15,10 @@ Name | Type | Description | Notes **labs_publication_date** | **str** | | **name** | **str** | | **namespace** | **str** | | -**plugin_url_object** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | **publication_date** | **str** | | **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | **tags** | [**[Tag]**](Tag.md) | | **thumbnail_image_url** | **str** | | -**unity_package_url_object** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | **unity_packages** | [**[UnityPackage]**](UnityPackage.md) | Empty if unauthenticated. | **updated_at** | **datetime** | | **featured** | **bool** | | defaults to False diff --git a/setup.py b/setup.py index aaf7e705..949d86e8 100644 --- a/setup.py +++ b/setup.py @@ -64,7 +64,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -73,7 +73,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.7.2" +VERSION = "1.7.3" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 69eb729f..40f2518f 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index fe11dd61..5c5c9f19 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index c3412c11..b08b05ee 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index a0d97fbb..7be35aa1 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index f0cda17c..fbf038c2 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index 9f46ace0..776c37a7 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index 682635cb..63b8b05f 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 55c4dc68..54b0461d 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -95,6 +95,58 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.get_instance_by_short_name_endpoint = _Endpoint( + settings={ + 'response_type': (Instance,), + 'auth': [ + 'apiKeyCookie', + 'authCookie' + ], + 'endpoint_path': '/instances/s/{shortName}', + 'operation_id': 'get_instance_by_short_name', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'short_name', + ], + 'required': [ + 'short_name', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'short_name': + (str,), + }, + 'attribute_map': { + 'short_name': 'shortName', + }, + 'location_map': { + 'short_name': 'path', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) self.get_short_name_endpoint = _Endpoint( settings={ 'response_type': (str,), @@ -283,6 +335,72 @@ def get_instance( instance_id return self.get_instance_endpoint.call_with_http_info(**kwargs) + def get_instance_by_short_name( + self, + short_name, + **kwargs + ): + """Get Instance By Short Name # noqa: E501 + + Returns an instance. Please read [Instances Tutorial](https://vrchatapi.github.io/tutorials/instances/) for more information on Instances. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_instance_by_short_name(short_name, async_req=True) + >>> result = thread.get() + + Args: + short_name (str): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + Instance + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['short_name'] = \ + short_name + return self.get_instance_by_short_name_endpoint.call_with_http_info(**kwargs) + def get_short_name( self, world_id, diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index 4463893d..15965954 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -23,10 +23,12 @@ ) from vrchatapi.model.error import Error from vrchatapi.model.invite_message import InviteMessage +from vrchatapi.model.invite_myself_to_request import InviteMyselfToRequest from vrchatapi.model.invite_request import InviteRequest from vrchatapi.model.invite_response import InviteResponse from vrchatapi.model.notification import Notification from vrchatapi.model.request_invite_request import RequestInviteRequest +from vrchatapi.model.sent_notification import SentNotification from vrchatapi.model.update_invite_message_request import UpdateInviteMessageRequest @@ -185,9 +187,73 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.invite_myself_to_endpoint = _Endpoint( + settings={ + 'response_type': (SentNotification,), + 'auth': [ + 'apiKeyCookie', + 'authCookie' + ], + 'endpoint_path': '/invite/myself/to/{worldId}:{instanceId}', + 'operation_id': 'invite_myself_to', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'world_id', + 'instance_id', + 'invite_myself_to_request', + ], + 'required': [ + 'world_id', + 'instance_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'world_id': + (str,), + 'instance_id': + (str,), + 'invite_myself_to_request': + (InviteMyselfToRequest,), + }, + 'attribute_map': { + 'world_id': 'worldId', + 'instance_id': 'instanceId', + }, + 'location_map': { + 'world_id': 'path', + 'instance_id': 'path', + 'invite_myself_to_request': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) self.invite_user_endpoint = _Endpoint( settings={ - 'response_type': (Notification,), + 'response_type': (SentNotification,), 'auth': [ 'apiKeyCookie', 'authCookie' @@ -666,6 +732,77 @@ def get_invite_messages( message_type return self.get_invite_messages_endpoint.call_with_http_info(**kwargs) + def invite_myself_to( + self, + world_id, + instance_id, + **kwargs + ): + """Invite Myself To Instance # noqa: E501 + + Sends self an invite to an instance # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.invite_myself_to(world_id, instance_id, async_req=True) + >>> result = thread.get() + + Args: + world_id (str): + instance_id (str): + + Keyword Args: + invite_myself_to_request (InviteMyselfToRequest): [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + SentNotification + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['world_id'] = \ + world_id + kwargs['instance_id'] = \ + instance_id + return self.invite_myself_to_endpoint.call_with_http_info(**kwargs) + def invite_user( self, user_id, @@ -706,7 +843,7 @@ def invite_user( async_req (bool): execute request asynchronously Returns: - Notification + SentNotification If the method is called asynchronously, returns the request thread. """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index f6ea7ce2..5646f96b 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index 1df992da..38a52762 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index e880bf7b..bef6baff 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index 31e99479..91edbc03 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index fe726210..0a6ae423 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 2fd26e83..1d51ebeb 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index 861426da..bc714806 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py.orig b/vrchatapi/api_client.py.orig index 9a797cf8..f39b20da 100644 --- a/vrchatapi/api_client.py.orig +++ b/vrchatapi/api_client.py.orig @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index b0996eaa..cb42766a 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -455,7 +455,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.7.2\n"\ + "Version of the API: 1.7.3\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index 38877b9b..f759e0e4 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/add_favorite_request.py b/vrchatapi/model/add_favorite_request.py index ca34fcbc..91f2c522 100644 --- a/vrchatapi/model/add_favorite_request.py +++ b/vrchatapi/model/add_favorite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_config.py b/vrchatapi/model/api_config.py index 21c7eaa4..b86af2d3 100644 --- a/vrchatapi/model/api_config.py +++ b/vrchatapi/model/api_config.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -176,10 +176,10 @@ class APIConfig(ModelNormal): ('vive_windows_url',): { 'min_length': 1, }, - ('youtubedl_hash',): { + ('player_url_resolver_hash',): { 'min_length': 1, }, - ('youtubedl_version',): { + ('player_url_resolver_version',): { 'min_length': 1, }, } @@ -285,8 +285,8 @@ def openapi_types(): 'vive_windows_url': (str,), # noqa: E501 'white_listed_asset_urls': ([str],), # noqa: E501 'world_update_period': (int,), # noqa: E501 - 'youtubedl_hash': (str,), # noqa: E501 - 'youtubedl_version': (str,), # noqa: E501 + 'player_url_resolver_hash': (str,), # noqa: E501 + 'player_url_resolver_version': (str,), # noqa: E501 } @cached_property @@ -373,8 +373,8 @@ def discriminator(): 'vive_windows_url': 'viveWindowsUrl', # noqa: E501 'white_listed_asset_urls': 'whiteListedAssetUrls', # noqa: E501 'world_update_period': 'worldUpdatePeriod', # noqa: E501 - 'youtubedl_hash': 'youtubedl-hash', # noqa: E501 - 'youtubedl_version': 'youtubedl-version', # noqa: E501 + 'player_url_resolver_hash': 'player-url-resolver-hash', # noqa: E501 + 'player_url_resolver_version': 'player-url-resolver-version', # noqa: E501 } read_only_vars = { @@ -384,7 +384,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, address, announcements, api_key, build_version_tag, client_api_key, contact_email, copyright_email, current_tos_version, default_avatar, deployment_group, dev_app_version_standalone, dev_download_link_windows, dev_sdk_url, dev_sdk_version, dev_server_version_standalone, dis_countdown, download_link_windows, download_urls, dynamic_world_rows, events, gear_demo_room_id, home_world_id, hub_world_id, jobs_email, message_of_the_day, moderation_email, moderation_query_period, not_allowed_to_select_avatar_in_private_world_message, plugin, release_app_version_standalone, release_sdk_url, release_sdk_version, release_server_version_standalone, sdk_developer_faq_url, sdk_discord_url, sdk_not_allowed_to_publish_message, sdk_unity_version, server_name, support_email, time_out_world_id, tutorial_world_id, update_rate_ms_maximum, update_rate_ms_minimum, update_rate_ms_normal, update_rate_ms_udon_manual, upload_analysis_percent, url_list, user_update_period, user_verification_delay, user_verification_retry, user_verification_timeout, vive_windows_url, white_listed_asset_urls, world_update_period, youtubedl_hash, youtubedl_version, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, address, announcements, api_key, build_version_tag, client_api_key, contact_email, copyright_email, current_tos_version, default_avatar, deployment_group, dev_app_version_standalone, dev_download_link_windows, dev_sdk_url, dev_sdk_version, dev_server_version_standalone, dis_countdown, download_link_windows, download_urls, dynamic_world_rows, events, gear_demo_room_id, home_world_id, hub_world_id, jobs_email, message_of_the_day, moderation_email, moderation_query_period, not_allowed_to_select_avatar_in_private_world_message, plugin, release_app_version_standalone, release_sdk_url, release_sdk_version, release_server_version_standalone, sdk_developer_faq_url, sdk_discord_url, sdk_not_allowed_to_publish_message, sdk_unity_version, server_name, support_email, time_out_world_id, tutorial_world_id, update_rate_ms_maximum, update_rate_ms_minimum, update_rate_ms_normal, update_rate_ms_udon_manual, upload_analysis_percent, url_list, user_update_period, user_verification_delay, user_verification_retry, user_verification_timeout, vive_windows_url, white_listed_asset_urls, world_update_period, player_url_resolver_hash, player_url_resolver_version, *args, **kwargs): # noqa: E501 """APIConfig - a model defined in OpenAPI Args: @@ -442,8 +442,8 @@ def _from_openapi_data(cls, address, announcements, api_key, build_version_tag, vive_windows_url (str): Download link for game on the Steam website. white_listed_asset_urls ([str]): List of allowed URLs that are allowed to host avatar assets world_update_period (int): Unknown - youtubedl_hash (str): Currently used youtube-dl.exe hash in SHA-256-delimited format - youtubedl_version (str): Currently used youtube-dl.exe version + player_url_resolver_hash (str): Currently used youtube-dl.exe hash in SHA-256-delimited format + player_url_resolver_version (str): Currently used youtube-dl.exe version Keyword Args: voice_enable_degradation (bool): Unknown, probably voice optimization testing. defaults to False # noqa: E501 @@ -629,8 +629,8 @@ def _from_openapi_data(cls, address, announcements, api_key, build_version_tag, self.vive_windows_url = vive_windows_url self.white_listed_asset_urls = white_listed_asset_urls self.world_update_period = world_update_period - self.youtubedl_hash = youtubedl_hash - self.youtubedl_version = youtubedl_version + self.player_url_resolver_hash = player_url_resolver_hash + self.player_url_resolver_version = player_url_resolver_version for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -651,7 +651,7 @@ def _from_openapi_data(cls, address, announcements, api_key, build_version_tag, ]) @convert_js_args_to_python_args - def __init__(self, address, announcements, api_key, build_version_tag, client_api_key, contact_email, copyright_email, current_tos_version, default_avatar, deployment_group, dev_app_version_standalone, dev_download_link_windows, dev_sdk_url, dev_sdk_version, dev_server_version_standalone, dis_countdown, download_link_windows, download_urls, dynamic_world_rows, events, gear_demo_room_id, home_world_id, hub_world_id, jobs_email, message_of_the_day, moderation_email, moderation_query_period, not_allowed_to_select_avatar_in_private_world_message, plugin, release_app_version_standalone, release_sdk_url, release_sdk_version, release_server_version_standalone, sdk_developer_faq_url, sdk_discord_url, sdk_not_allowed_to_publish_message, sdk_unity_version, server_name, support_email, time_out_world_id, tutorial_world_id, update_rate_ms_maximum, update_rate_ms_minimum, update_rate_ms_normal, update_rate_ms_udon_manual, upload_analysis_percent, url_list, user_update_period, user_verification_delay, user_verification_retry, user_verification_timeout, vive_windows_url, white_listed_asset_urls, world_update_period, youtubedl_hash, youtubedl_version, *args, **kwargs): # noqa: E501 + def __init__(self, address, announcements, api_key, build_version_tag, client_api_key, contact_email, copyright_email, current_tos_version, default_avatar, deployment_group, dev_app_version_standalone, dev_download_link_windows, dev_sdk_url, dev_sdk_version, dev_server_version_standalone, dis_countdown, download_link_windows, download_urls, dynamic_world_rows, events, gear_demo_room_id, home_world_id, hub_world_id, jobs_email, message_of_the_day, moderation_email, moderation_query_period, not_allowed_to_select_avatar_in_private_world_message, plugin, release_app_version_standalone, release_sdk_url, release_sdk_version, release_server_version_standalone, sdk_developer_faq_url, sdk_discord_url, sdk_not_allowed_to_publish_message, sdk_unity_version, server_name, support_email, time_out_world_id, tutorial_world_id, update_rate_ms_maximum, update_rate_ms_minimum, update_rate_ms_normal, update_rate_ms_udon_manual, upload_analysis_percent, url_list, user_update_period, user_verification_delay, user_verification_retry, user_verification_timeout, vive_windows_url, white_listed_asset_urls, world_update_period, player_url_resolver_hash, player_url_resolver_version, *args, **kwargs): # noqa: E501 """APIConfig - a model defined in OpenAPI Args: @@ -709,8 +709,8 @@ def __init__(self, address, announcements, api_key, build_version_tag, client_ap vive_windows_url (str): Download link for game on the Steam website. white_listed_asset_urls ([str]): List of allowed URLs that are allowed to host avatar assets world_update_period (int): Unknown - youtubedl_hash (str): Currently used youtube-dl.exe hash in SHA-256-delimited format - youtubedl_version (str): Currently used youtube-dl.exe version + player_url_resolver_hash (str): Currently used youtube-dl.exe hash in SHA-256-delimited format + player_url_resolver_version (str): Currently used youtube-dl.exe version Keyword Args: voice_enable_degradation (bool): Unknown, probably voice optimization testing. defaults to False # noqa: E501 @@ -894,8 +894,8 @@ def __init__(self, address, announcements, api_key, build_version_tag, client_ap self.vive_windows_url = vive_windows_url self.white_listed_asset_urls = white_listed_asset_urls self.world_update_period = world_update_period - self.youtubedl_hash = youtubedl_hash - self.youtubedl_version = youtubedl_version + self.player_url_resolver_hash = player_url_resolver_hash + self.player_url_resolver_version = player_url_resolver_version for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/vrchatapi/model/api_event_config.py b/vrchatapi/model/api_event_config.py index db4ed8ee..d035aa10 100644 --- a/vrchatapi/model/api_event_config.py +++ b/vrchatapi/model/api_event_config.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_health.py b/vrchatapi/model/api_health.py index b922f2b2..c77d30ee 100644 --- a/vrchatapi/model/api_health.py +++ b/vrchatapi/model/api_health.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar.py b/vrchatapi/model/avatar.py index eccfcc9e..bacf9f7d 100644 --- a/vrchatapi/model/avatar.py +++ b/vrchatapi/model/avatar.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar_id.py b/vrchatapi/model/avatar_id.py index 07eaf6a4..8411e7d4 100644 --- a/vrchatapi/model/avatar_id.py +++ b/vrchatapi/model/avatar_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar_unity_package_url_object.py b/vrchatapi/model/avatar_unity_package_url_object.py index bef0ca97..fadf4240 100644 --- a/vrchatapi/model/avatar_unity_package_url_object.py +++ b/vrchatapi/model/avatar_unity_package_url_object.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_avatar_request.py b/vrchatapi/model/create_avatar_request.py index 3aaba153..064c8113 100644 --- a/vrchatapi/model/create_avatar_request.py +++ b/vrchatapi/model/create_avatar_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_file_request.py b/vrchatapi/model/create_file_request.py index 0d7601c4..e4fe2f20 100644 --- a/vrchatapi/model/create_file_request.py +++ b/vrchatapi/model/create_file_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_file_version_request.py b/vrchatapi/model/create_file_version_request.py index d6080b76..23c8c967 100644 --- a/vrchatapi/model/create_file_version_request.py +++ b/vrchatapi/model/create_file_version_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_world_request.py b/vrchatapi/model/create_world_request.py index 2bd676ee..f248ad89 100644 --- a/vrchatapi/model/create_world_request.py +++ b/vrchatapi/model/create_world_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/current_user.py b/vrchatapi/model/current_user.py index fb15c9fd..170d2928 100644 --- a/vrchatapi/model/current_user.py +++ b/vrchatapi/model/current_user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/deployment_group.py b/vrchatapi/model/deployment_group.py index f1cf8cd7..e1e4a29c 100644 --- a/vrchatapi/model/deployment_group.py +++ b/vrchatapi/model/deployment_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/developer_type.py b/vrchatapi/model/developer_type.py index 7416d20c..5f9cb0e1 100644 --- a/vrchatapi/model/developer_type.py +++ b/vrchatapi/model/developer_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/download_url_list.py b/vrchatapi/model/download_url_list.py index 8fbb0135..90c7052b 100644 --- a/vrchatapi/model/download_url_list.py +++ b/vrchatapi/model/download_url_list.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/dynamic_content_row.py b/vrchatapi/model/dynamic_content_row.py index 3689d186..dcf6b491 100644 --- a/vrchatapi/model/dynamic_content_row.py +++ b/vrchatapi/model/dynamic_content_row.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/error.py b/vrchatapi/model/error.py index 771f893f..919d1ef5 100644 --- a/vrchatapi/model/error.py +++ b/vrchatapi/model/error.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite.py b/vrchatapi/model/favorite.py index 4fdc8485..42f02439 100644 --- a/vrchatapi/model/favorite.py +++ b/vrchatapi/model/favorite.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group.py b/vrchatapi/model/favorite_group.py index de4d36f3..acbbdfc1 100644 --- a/vrchatapi/model/favorite_group.py +++ b/vrchatapi/model/favorite_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group_id.py b/vrchatapi/model/favorite_group_id.py index 054cb602..05f9054a 100644 --- a/vrchatapi/model/favorite_group_id.py +++ b/vrchatapi/model/favorite_group_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group_visibility.py b/vrchatapi/model/favorite_group_visibility.py index 5a238718..222e3d5c 100644 --- a/vrchatapi/model/favorite_group_visibility.py +++ b/vrchatapi/model/favorite_group_visibility.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_id.py b/vrchatapi/model/favorite_id.py index ae73a570..83857be3 100644 --- a/vrchatapi/model/favorite_id.py +++ b/vrchatapi/model/favorite_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_type.py b/vrchatapi/model/favorite_type.py index 252f3d2f..c07d652b 100644 --- a/vrchatapi/model/favorite_type.py +++ b/vrchatapi/model/favorite_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file.py b/vrchatapi/model/file.py index 1c90176c..359e7dc2 100644 --- a/vrchatapi/model/file.py +++ b/vrchatapi/model/file.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_data.py b/vrchatapi/model/file_data.py index 4eb2922f..2a80b10a 100644 --- a/vrchatapi/model/file_data.py +++ b/vrchatapi/model/file_data.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_id.py b/vrchatapi/model/file_id.py index 3521990f..1637d5f1 100644 --- a/vrchatapi/model/file_id.py +++ b/vrchatapi/model/file_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_status.py b/vrchatapi/model/file_status.py index a1322c66..4de6aa15 100644 --- a/vrchatapi/model/file_status.py +++ b/vrchatapi/model/file_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_upload_url.py b/vrchatapi/model/file_upload_url.py index eba49638..ad749c6e 100644 --- a/vrchatapi/model/file_upload_url.py +++ b/vrchatapi/model/file_upload_url.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_version.py b/vrchatapi/model/file_version.py index 6046aab3..9a0c8d16 100644 --- a/vrchatapi/model/file_version.py +++ b/vrchatapi/model/file_version.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_version_upload_status.py b/vrchatapi/model/file_version_upload_status.py index 3f2de7b8..f888a22d 100644 --- a/vrchatapi/model/file_version_upload_status.py +++ b/vrchatapi/model/file_version_upload_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/finish_file_data_upload_request.py b/vrchatapi/model/finish_file_data_upload_request.py index ed828f07..769cc1fc 100644 --- a/vrchatapi/model/finish_file_data_upload_request.py +++ b/vrchatapi/model/finish_file_data_upload_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/friend_status.py b/vrchatapi/model/friend_status.py index a98aebb5..e132c59b 100644 --- a/vrchatapi/model/friend_status.py +++ b/vrchatapi/model/friend_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push.py b/vrchatapi/model/info_push.py index 2283d4f9..296bb606 100644 --- a/vrchatapi/model/info_push.py +++ b/vrchatapi/model/info_push.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data.py b/vrchatapi/model/info_push_data.py index b7f069b5..b605cd08 100644 --- a/vrchatapi/model/info_push_data.py +++ b/vrchatapi/model/info_push_data.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_article.py b/vrchatapi/model/info_push_data_article.py index c1ec383b..67fc1a20 100644 --- a/vrchatapi/model/info_push_data_article.py +++ b/vrchatapi/model/info_push_data_article.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_article_content.py b/vrchatapi/model/info_push_data_article_content.py index 281f10f9..50f64bc3 100644 --- a/vrchatapi/model/info_push_data_article_content.py +++ b/vrchatapi/model/info_push_data_article_content.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_clickable.py b/vrchatapi/model/info_push_data_clickable.py index c7e4ae35..9e020617 100644 --- a/vrchatapi/model/info_push_data_clickable.py +++ b/vrchatapi/model/info_push_data_clickable.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance.py b/vrchatapi/model/instance.py index 5069d4b6..3cf34c15 100644 --- a/vrchatapi/model/instance.py +++ b/vrchatapi/model/instance.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_id.py b/vrchatapi/model/instance_id.py index 8f4248ea..f2a8b0ed 100644 --- a/vrchatapi/model/instance_id.py +++ b/vrchatapi/model/instance_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_platforms.py b/vrchatapi/model/instance_platforms.py index 6c2d9b45..d5f72102 100644 --- a/vrchatapi/model/instance_platforms.py +++ b/vrchatapi/model/instance_platforms.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_type.py b/vrchatapi/model/instance_type.py index daa51cbe..5ed34492 100644 --- a/vrchatapi/model/instance_type.py +++ b/vrchatapi/model/instance_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message.py b/vrchatapi/model/invite_message.py index ba2a786a..ab6c8b8a 100644 --- a/vrchatapi/model/invite_message.py +++ b/vrchatapi/model/invite_message.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message_id.py b/vrchatapi/model/invite_message_id.py index 29c8a933..706c1aea 100644 --- a/vrchatapi/model/invite_message_id.py +++ b/vrchatapi/model/invite_message_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message_type.py b/vrchatapi/model/invite_message_type.py index 7ac3c9cd..b9f4b617 100644 --- a/vrchatapi/model/invite_message_type.py +++ b/vrchatapi/model/invite_message_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_myself_to_request.py b/vrchatapi/model/invite_myself_to_request.py new file mode 100644 index 00000000..d84d01f0 --- /dev/null +++ b/vrchatapi/model/invite_myself_to_request.py @@ -0,0 +1,261 @@ +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.7.3 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from vrchatapi.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, +) +from ..model_utils import OpenApiModel +from vrchatapi.exceptions import ApiAttributeError + + + +class InviteMyselfToRequest(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'short_name': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'short_name': 'shortName', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, short_name, *args, **kwargs): # noqa: E501 + """InviteMyselfToRequest - a model defined in OpenAPI + + Args: + short_name (str): Short Name of the Instance; can be retrieved from the Get Instance Short Name endpoint. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.short_name = short_name + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, short_name, *args, **kwargs): # noqa: E501 + """InviteMyselfToRequest - a model defined in OpenAPI + + Args: + short_name (str): Short Name of the Instance; can be retrieved from the Get Instance Short Name endpoint. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.short_name = short_name + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/vrchatapi/model/invite_request.py b/vrchatapi/model/invite_request.py index b446c9c4..b7f10fce 100644 --- a/vrchatapi/model/invite_request.py +++ b/vrchatapi/model/invite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_response.py b/vrchatapi/model/invite_response.py index 28fbc3eb..c1bf4ba6 100644 --- a/vrchatapi/model/invite_response.py +++ b/vrchatapi/model/invite_response.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license.py b/vrchatapi/model/license.py index e57a23ec..5e65c7d5 100644 --- a/vrchatapi/model/license.py +++ b/vrchatapi/model/license.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_action.py b/vrchatapi/model/license_action.py index 4d0745eb..101c206b 100644 --- a/vrchatapi/model/license_action.py +++ b/vrchatapi/model/license_action.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_group.py b/vrchatapi/model/license_group.py index f2441ed9..68bf01b0 100644 --- a/vrchatapi/model/license_group.py +++ b/vrchatapi/model/license_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_group_id.py b/vrchatapi/model/license_group_id.py index 12e7af95..152bafb7 100644 --- a/vrchatapi/model/license_group_id.py +++ b/vrchatapi/model/license_group_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_type.py b/vrchatapi/model/license_type.py index d9a1338b..9166004c 100644 --- a/vrchatapi/model/license_type.py +++ b/vrchatapi/model/license_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_unity_package.py b/vrchatapi/model/limited_unity_package.py index 29182ce3..8c7a248e 100644 --- a/vrchatapi/model/limited_unity_package.py +++ b/vrchatapi/model/limited_unity_package.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_user.py b/vrchatapi/model/limited_user.py index 6930bf91..5bc74cce 100644 --- a/vrchatapi/model/limited_user.py +++ b/vrchatapi/model/limited_user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_world.py b/vrchatapi/model/limited_world.py index 57b18562..7d7e67ae 100644 --- a/vrchatapi/model/limited_world.py +++ b/vrchatapi/model/limited_world.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/mime_type.py b/vrchatapi/model/mime_type.py index e15a6c8d..4608a5ef 100644 --- a/vrchatapi/model/mime_type.py +++ b/vrchatapi/model/mime_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/moderate_user_request.py b/vrchatapi/model/moderate_user_request.py index 2bc8586c..813e05aa 100644 --- a/vrchatapi/model/moderate_user_request.py +++ b/vrchatapi/model/moderate_user_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/notification.py b/vrchatapi/model/notification.py index 910ed932..495cfcae 100644 --- a/vrchatapi/model/notification.py +++ b/vrchatapi/model/notification.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/notification_type.py b/vrchatapi/model/notification_type.py index 0b7e94e5..26a6d84b 100644 --- a/vrchatapi/model/notification_type.py +++ b/vrchatapi/model/notification_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/past_display_name.py b/vrchatapi/model/past_display_name.py index 26fd03a8..0a4f118b 100644 --- a/vrchatapi/model/past_display_name.py +++ b/vrchatapi/model/past_display_name.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/permission.py b/vrchatapi/model/permission.py index f6f2f074..11a87b3d 100644 --- a/vrchatapi/model/permission.py +++ b/vrchatapi/model/permission.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/permission_id.py b/vrchatapi/model/permission_id.py index a2f98335..20689e38 100644 --- a/vrchatapi/model/permission_id.py +++ b/vrchatapi/model/permission_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation.py b/vrchatapi/model/player_moderation.py index 6cf252e2..68d8e13c 100644 --- a/vrchatapi/model/player_moderation.py +++ b/vrchatapi/model/player_moderation.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation_id.py b/vrchatapi/model/player_moderation_id.py index 92249afa..12978584 100644 --- a/vrchatapi/model/player_moderation_id.py +++ b/vrchatapi/model/player_moderation_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation_type.py b/vrchatapi/model/player_moderation_type.py index 6e21ddbd..5825fd5c 100644 --- a/vrchatapi/model/player_moderation_type.py +++ b/vrchatapi/model/player_moderation_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/public_announcement.py b/vrchatapi/model/public_announcement.py index 8cd5db8f..6b36ef27 100644 --- a/vrchatapi/model/public_announcement.py +++ b/vrchatapi/model/public_announcement.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/region.py b/vrchatapi/model/region.py index e41c6d1e..1d5c6f90 100644 --- a/vrchatapi/model/region.py +++ b/vrchatapi/model/region.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/release_status.py b/vrchatapi/model/release_status.py index 944adfb6..464daf12 100644 --- a/vrchatapi/model/release_status.py +++ b/vrchatapi/model/release_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/request_invite_request.py b/vrchatapi/model/request_invite_request.py index 0b0d0b1a..cd54040b 100644 --- a/vrchatapi/model/request_invite_request.py +++ b/vrchatapi/model/request_invite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/response.py b/vrchatapi/model/response.py index c6049094..c700b0f1 100644 --- a/vrchatapi/model/response.py +++ b/vrchatapi/model/response.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/sent_notification.py b/vrchatapi/model/sent_notification.py new file mode 100644 index 00000000..20d56d00 --- /dev/null +++ b/vrchatapi/model/sent_notification.py @@ -0,0 +1,317 @@ +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.7.3 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from vrchatapi.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, +) +from ..model_utils import OpenApiModel +from vrchatapi.exceptions import ApiAttributeError + + +def lazy_import(): + from vrchatapi.model.notification_type import NotificationType + globals()['NotificationType'] = NotificationType + + +class SentNotification(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + ('id',): { + 'min_length': 1, + }, + ('sender_username',): { + 'min_length': 1, + }, + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'created_at': (datetime,), # noqa: E501 + 'details': (str,), # noqa: E501 + 'id': (str,), # noqa: E501 + 'message': (str,), # noqa: E501 + 'reciever_user_id': (str,), # noqa: E501 + 'sender_user_id': (str,), # noqa: E501 + 'sender_username': (str,), # noqa: E501 + 'type': (NotificationType,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'created_at': 'created_at', # noqa: E501 + 'details': 'details', # noqa: E501 + 'id': 'id', # noqa: E501 + 'message': 'message', # noqa: E501 + 'reciever_user_id': 'recieverUserId', # noqa: E501 + 'sender_user_id': 'senderUserId', # noqa: E501 + 'sender_username': 'senderUsername', # noqa: E501 + 'type': 'type', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, created_at, id, message, reciever_user_id, sender_user_id, sender_username, type, *args, **kwargs): # noqa: E501 + """SentNotification - a model defined in OpenAPI + + Args: + created_at (datetime): + id (str): + message (str): + reciever_user_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. + sender_user_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. + sender_username (str): + type (NotificationType): + + Keyword Args: + details (str): **NOTICE:** This is not a JSON object, this is a json **encoded** object, meaning you have to json-de-encode to get the NotificationDetail object depending on the NotificationType.. defaults to "{}" # noqa: E501 + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + details = kwargs.get('details', "{}") + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.created_at = created_at + self.details = details + self.id = id + self.message = message + self.reciever_user_id = reciever_user_id + self.sender_user_id = sender_user_id + self.sender_username = sender_username + self.type = type + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, created_at, id, message, reciever_user_id, sender_user_id, sender_username, type, *args, **kwargs): # noqa: E501 + """SentNotification - a model defined in OpenAPI + + Args: + created_at (datetime): + id (str): + message (str): + reciever_user_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. + sender_user_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. + sender_username (str): + type (NotificationType): + + Keyword Args: + details (str): **NOTICE:** This is not a JSON object, this is a json **encoded** object, meaning you have to json-de-encode to get the NotificationDetail object depending on the NotificationType.. defaults to "{}" # noqa: E501 + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + details = kwargs.get('details', "{}") + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.created_at = created_at + self.details = details + self.id = id + self.message = message + self.reciever_user_id = reciever_user_id + self.sender_user_id = sender_user_id + self.sender_username = sender_username + self.type = type + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/vrchatapi/model/subscription.py b/vrchatapi/model/subscription.py index 7295ec45..74476fcd 100644 --- a/vrchatapi/model/subscription.py +++ b/vrchatapi/model/subscription.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/subscription_period.py b/vrchatapi/model/subscription_period.py index e5fb4a00..c19a0997 100644 --- a/vrchatapi/model/subscription_period.py +++ b/vrchatapi/model/subscription_period.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/success.py b/vrchatapi/model/success.py index 325b40cd..421e2e58 100644 --- a/vrchatapi/model/success.py +++ b/vrchatapi/model/success.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/tag.py b/vrchatapi/model/tag.py index afa059e7..180a19e1 100644 --- a/vrchatapi/model/tag.py +++ b/vrchatapi/model/tag.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction.py b/vrchatapi/model/transaction.py index bc95acb3..5b189ead 100644 --- a/vrchatapi/model/transaction.py +++ b/vrchatapi/model/transaction.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_agreement.py b/vrchatapi/model/transaction_agreement.py index 29f53e2f..04e2d7f8 100644 --- a/vrchatapi/model/transaction_agreement.py +++ b/vrchatapi/model/transaction_agreement.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_id.py b/vrchatapi/model/transaction_id.py index 56d83de4..8b15d706 100644 --- a/vrchatapi/model/transaction_id.py +++ b/vrchatapi/model/transaction_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_status.py b/vrchatapi/model/transaction_status.py index 886e50bf..496cb20f 100644 --- a/vrchatapi/model/transaction_status.py +++ b/vrchatapi/model/transaction_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_steam_info.py b/vrchatapi/model/transaction_steam_info.py index 5513b01a..426bbaf8 100644 --- a/vrchatapi/model/transaction_steam_info.py +++ b/vrchatapi/model/transaction_steam_info.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_steam_wallet_info.py b/vrchatapi/model/transaction_steam_wallet_info.py index f010fab2..c6b44900 100644 --- a/vrchatapi/model/transaction_steam_wallet_info.py +++ b/vrchatapi/model/transaction_steam_wallet_info.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/two_factor_auth_code.py b/vrchatapi/model/two_factor_auth_code.py index 9233239d..2ac7ce8e 100644 --- a/vrchatapi/model/two_factor_auth_code.py +++ b/vrchatapi/model/two_factor_auth_code.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/unity_package.py b/vrchatapi/model/unity_package.py index 40dd4f2b..c861dca8 100644 --- a/vrchatapi/model/unity_package.py +++ b/vrchatapi/model/unity_package.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/unity_package_id.py b/vrchatapi/model/unity_package_id.py index d1982510..513604e3 100644 --- a/vrchatapi/model/unity_package_id.py +++ b/vrchatapi/model/unity_package_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_avatar_request.py b/vrchatapi/model/update_avatar_request.py index 75ba5951..8bbd98db 100644 --- a/vrchatapi/model/update_avatar_request.py +++ b/vrchatapi/model/update_avatar_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_favorite_group_request.py b/vrchatapi/model/update_favorite_group_request.py index bfaacdbf..ed31907f 100644 --- a/vrchatapi/model/update_favorite_group_request.py +++ b/vrchatapi/model/update_favorite_group_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_invite_message_request.py b/vrchatapi/model/update_invite_message_request.py index d29e974f..75806ae4 100644 --- a/vrchatapi/model/update_invite_message_request.py +++ b/vrchatapi/model/update_invite_message_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_user_request.py b/vrchatapi/model/update_user_request.py index 50b9c135..0d992764 100644 --- a/vrchatapi/model/update_user_request.py +++ b/vrchatapi/model/update_user_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_world_request.py b/vrchatapi/model/update_world_request.py index ac50e01f..dfccd863 100644 --- a/vrchatapi/model/update_world_request.py +++ b/vrchatapi/model/update_world_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user.py b/vrchatapi/model/user.py index 3c0979c5..476fd2b5 100644 --- a/vrchatapi/model/user.py +++ b/vrchatapi/model/user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -110,8 +110,10 @@ def openapi_types(): 'developer_type': (DeveloperType,), # noqa: E501 'display_name': (str,), # noqa: E501 'friend_key': (str,), # noqa: E501 + 'friend_request_status': (str,), # noqa: E501 'id': (str,), # noqa: E501 'is_friend': (bool,), # noqa: E501 + 'last_activity': (str,), # noqa: E501 'last_login': (str,), # noqa: E501 'last_platform': (str,), # noqa: E501 'profile_pic_override': (str,), # noqa: E501 @@ -123,6 +125,10 @@ def openapi_types(): 'username': (str,), # noqa: E501 'instance_id': (InstanceID,), # noqa: E501 'location': (WorldID,), # noqa: E501 + 'note': (str,), # noqa: E501 + 'traveling_to_instance': (str,), # noqa: E501 + 'traveling_to_location': (str,), # noqa: E501 + 'traveling_to_world': (str,), # noqa: E501 'world_id': (WorldID,), # noqa: E501 } @@ -141,8 +147,10 @@ def discriminator(): 'developer_type': 'developerType', # noqa: E501 'display_name': 'displayName', # noqa: E501 'friend_key': 'friendKey', # noqa: E501 + 'friend_request_status': 'friendRequestStatus', # noqa: E501 'id': 'id', # noqa: E501 'is_friend': 'isFriend', # noqa: E501 + 'last_activity': 'last_activity', # noqa: E501 'last_login': 'last_login', # noqa: E501 'last_platform': 'last_platform', # noqa: E501 'profile_pic_override': 'profilePicOverride', # noqa: E501 @@ -154,6 +162,10 @@ def discriminator(): 'username': 'username', # noqa: E501 'instance_id': 'instanceId', # noqa: E501 'location': 'location', # noqa: E501 + 'note': 'note', # noqa: E501 + 'traveling_to_instance': 'travelingToInstance', # noqa: E501 + 'traveling_to_location': 'travelingToLocation', # noqa: E501 + 'traveling_to_world': 'travelingToWorld', # noqa: E501 'world_id': 'worldId', # noqa: E501 } @@ -164,7 +176,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, bio, bio_links, current_avatar_image_url, current_avatar_thumbnail_image_url, date_joined, developer_type, display_name, friend_key, id, is_friend, last_login, last_platform, profile_pic_override, state, status, status_description, tags, user_icon, username, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, bio, bio_links, current_avatar_image_url, current_avatar_thumbnail_image_url, date_joined, developer_type, display_name, friend_key, friend_request_status, id, is_friend, last_activity, last_login, last_platform, profile_pic_override, state, status, status_description, tags, user_icon, username, *args, **kwargs): # noqa: E501 """User - a model defined in OpenAPI Args: @@ -176,8 +188,10 @@ def _from_openapi_data(cls, bio, bio_links, current_avatar_image_url, current_av developer_type (DeveloperType): display_name (str): A users visual display name. This is what shows up in-game, and can different from their `username`. Changing display name is restricted to a cooldown period. friend_key (str): + friend_request_status (str): id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. is_friend (bool): Either their `friendKey`, or empty string if you are not friends. Unknown usage. + last_activity (str): Either a date-time or empty string. last_login (str): Either a date-time or empty string. last_platform (str): This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. profile_pic_override (str): @@ -222,6 +236,10 @@ def _from_openapi_data(cls, bio, bio_links, current_avatar_image_url, current_av _visited_composed_classes = (Animal,) instance_id (InstanceID): [optional] # noqa: E501 location (WorldID): [optional] # noqa: E501 + note (str): [optional] # noqa: E501 + traveling_to_instance (str): [optional] # noqa: E501 + traveling_to_location (str): [optional] # noqa: E501 + traveling_to_world (str): [optional] # noqa: E501 world_id (WorldID): [optional] # noqa: E501 """ @@ -260,8 +278,10 @@ def _from_openapi_data(cls, bio, bio_links, current_avatar_image_url, current_av self.developer_type = developer_type self.display_name = display_name self.friend_key = friend_key + self.friend_request_status = friend_request_status self.id = id self.is_friend = is_friend + self.last_activity = last_activity self.last_login = last_login self.last_platform = last_platform self.profile_pic_override = profile_pic_override @@ -291,7 +311,7 @@ def _from_openapi_data(cls, bio, bio_links, current_avatar_image_url, current_av ]) @convert_js_args_to_python_args - def __init__(self, bio, bio_links, current_avatar_image_url, current_avatar_thumbnail_image_url, date_joined, developer_type, display_name, friend_key, id, is_friend, last_login, last_platform, profile_pic_override, state, status, status_description, tags, user_icon, username, *args, **kwargs): # noqa: E501 + def __init__(self, bio, bio_links, current_avatar_image_url, current_avatar_thumbnail_image_url, date_joined, developer_type, display_name, friend_key, friend_request_status, id, is_friend, last_activity, last_login, last_platform, profile_pic_override, state, status, status_description, tags, user_icon, username, *args, **kwargs): # noqa: E501 """User - a model defined in OpenAPI Args: @@ -303,8 +323,10 @@ def __init__(self, bio, bio_links, current_avatar_image_url, current_avatar_thum developer_type (DeveloperType): display_name (str): A users visual display name. This is what shows up in-game, and can different from their `username`. Changing display name is restricted to a cooldown period. friend_key (str): + friend_request_status (str): id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. is_friend (bool): Either their `friendKey`, or empty string if you are not friends. Unknown usage. + last_activity (str): Either a date-time or empty string. last_login (str): Either a date-time or empty string. last_platform (str): This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. profile_pic_override (str): @@ -349,6 +371,10 @@ def __init__(self, bio, bio_links, current_avatar_image_url, current_avatar_thum _visited_composed_classes = (Animal,) instance_id (InstanceID): [optional] # noqa: E501 location (WorldID): [optional] # noqa: E501 + note (str): [optional] # noqa: E501 + traveling_to_instance (str): [optional] # noqa: E501 + traveling_to_location (str): [optional] # noqa: E501 + traveling_to_world (str): [optional] # noqa: E501 world_id (WorldID): [optional] # noqa: E501 """ @@ -385,8 +411,10 @@ def __init__(self, bio, bio_links, current_avatar_image_url, current_avatar_thum self.developer_type = developer_type self.display_name = display_name self.friend_key = friend_key + self.friend_request_status = friend_request_status self.id = id self.is_friend = is_friend + self.last_activity = last_activity self.last_login = last_login self.last_platform = last_platform self.profile_pic_override = profile_pic_override diff --git a/vrchatapi/model/user_exists.py b/vrchatapi/model/user_exists.py index d17fd8c6..d4f4eec5 100644 --- a/vrchatapi/model/user_exists.py +++ b/vrchatapi/model/user_exists.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_state.py b/vrchatapi/model/user_state.py index c29654c7..117c3546 100644 --- a/vrchatapi/model/user_state.py +++ b/vrchatapi/model/user_state.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_status.py b/vrchatapi/model/user_status.py index 78ad4622..17053099 100644 --- a/vrchatapi/model/user_status.py +++ b/vrchatapi/model/user_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_subscription.py b/vrchatapi/model/user_subscription.py index c25405d8..5884f5d4 100644 --- a/vrchatapi/model/user_subscription.py +++ b/vrchatapi/model/user_subscription.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/verify2_fa_result.py b/vrchatapi/model/verify2_fa_result.py index 983db7d6..54a2fcc0 100644 --- a/vrchatapi/model/verify2_fa_result.py +++ b/vrchatapi/model/verify2_fa_result.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/verify_auth_token_result.py b/vrchatapi/model/verify_auth_token_result.py index 0560d5d7..139da17b 100644 --- a/vrchatapi/model/verify_auth_token_result.py +++ b/vrchatapi/model/verify_auth_token_result.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world.py b/vrchatapi/model/world.py index c511c307..bc2175ea 100644 --- a/vrchatapi/model/world.py +++ b/vrchatapi/model/world.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -146,7 +146,6 @@ def openapi_types(): lazy_import() return { 'asset_url': (str,), # noqa: E501 - 'asset_url_object': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 'author_id': (str,), # noqa: E501 'author_name': (str,), # noqa: E501 'capacity': (int,), # noqa: E501 @@ -160,13 +159,11 @@ def openapi_types(): 'name': (str,), # noqa: E501 'namespace': (str,), # noqa: E501 'organization': (str,), # noqa: E501 - 'plugin_url_object': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 'popularity': (int,), # noqa: E501 'publication_date': (str,), # noqa: E501 'release_status': (ReleaseStatus,), # noqa: E501 'tags': ([Tag],), # noqa: E501 'thumbnail_image_url': (str,), # noqa: E501 - 'unity_package_url_object': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 'unity_packages': ([UnityPackage],), # noqa: E501 'updated_at': (datetime,), # noqa: E501 'version': (int,), # noqa: E501 @@ -186,7 +183,6 @@ def discriminator(): attribute_map = { 'asset_url': 'assetUrl', # noqa: E501 - 'asset_url_object': 'assetUrlObject', # noqa: E501 'author_id': 'authorId', # noqa: E501 'author_name': 'authorName', # noqa: E501 'capacity': 'capacity', # noqa: E501 @@ -200,13 +196,11 @@ def discriminator(): 'name': 'name', # noqa: E501 'namespace': 'namespace', # noqa: E501 'organization': 'organization', # noqa: E501 - 'plugin_url_object': 'pluginUrlObject', # noqa: E501 'popularity': 'popularity', # noqa: E501 'publication_date': 'publicationDate', # noqa: E501 'release_status': 'releaseStatus', # noqa: E501 'tags': 'tags', # noqa: E501 'thumbnail_image_url': 'thumbnailImageUrl', # noqa: E501 - 'unity_package_url_object': 'unityPackageUrlObject', # noqa: E501 'unity_packages': 'unityPackages', # noqa: E501 'updated_at': 'updated_at', # noqa: E501 'version': 'version', # noqa: E501 @@ -226,12 +220,11 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, asset_url, asset_url_object, author_id, author_name, capacity, created_at, description, id, image_url, labs_publication_date, name, namespace, plugin_url_object, publication_date, release_status, tags, thumbnail_image_url, unity_package_url_object, unity_packages, updated_at, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, asset_url, author_id, author_name, capacity, created_at, description, id, image_url, labs_publication_date, name, namespace, publication_date, release_status, tags, thumbnail_image_url, unity_packages, updated_at, *args, **kwargs): # noqa: E501 """World - a model defined in OpenAPI Args: asset_url (str): Empty if unauthenticated. - asset_url_object ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): author_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. author_name (str): capacity (int): @@ -242,12 +235,10 @@ def _from_openapi_data(cls, asset_url, asset_url_object, author_id, author_name, labs_publication_date (str): name (str): namespace (str): - plugin_url_object ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): publication_date (str): release_status (ReleaseStatus): tags ([Tag]): thumbnail_image_url (str): - unity_package_url_object ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): unity_packages ([UnityPackage]): Empty if unauthenticated. updated_at (datetime): @@ -328,7 +319,6 @@ def _from_openapi_data(cls, asset_url, asset_url_object, author_id, author_name, self._visited_composed_classes = _visited_composed_classes + (self.__class__,) self.asset_url = asset_url - self.asset_url_object = asset_url_object self.author_id = author_id self.author_name = author_name self.capacity = capacity @@ -342,13 +332,11 @@ def _from_openapi_data(cls, asset_url, asset_url_object, author_id, author_name, self.name = name self.namespace = namespace self.organization = organization - self.plugin_url_object = plugin_url_object self.popularity = popularity self.publication_date = publication_date self.release_status = release_status self.tags = tags self.thumbnail_image_url = thumbnail_image_url - self.unity_package_url_object = unity_package_url_object self.unity_packages = unity_packages self.updated_at = updated_at self.version = version @@ -373,12 +361,11 @@ def _from_openapi_data(cls, asset_url, asset_url_object, author_id, author_name, ]) @convert_js_args_to_python_args - def __init__(self, asset_url, asset_url_object, author_id, author_name, capacity, created_at, description, id, image_url, labs_publication_date, name, namespace, plugin_url_object, publication_date, release_status, tags, thumbnail_image_url, unity_package_url_object, unity_packages, updated_at, *args, **kwargs): # noqa: E501 + def __init__(self, asset_url, author_id, author_name, capacity, created_at, description, id, image_url, labs_publication_date, name, namespace, publication_date, release_status, tags, thumbnail_image_url, unity_packages, updated_at, *args, **kwargs): # noqa: E501 """World - a model defined in OpenAPI Args: asset_url (str): Empty if unauthenticated. - asset_url_object ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): author_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. author_name (str): capacity (int): @@ -389,12 +376,10 @@ def __init__(self, asset_url, asset_url_object, author_id, author_name, capacity labs_publication_date (str): name (str): namespace (str): - plugin_url_object ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): publication_date (str): release_status (ReleaseStatus): tags ([Tag]): thumbnail_image_url (str): - unity_package_url_object ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): unity_packages ([UnityPackage]): Empty if unauthenticated. updated_at (datetime): @@ -473,7 +458,6 @@ def __init__(self, asset_url, asset_url_object, author_id, author_name, capacity self._visited_composed_classes = _visited_composed_classes + (self.__class__,) self.asset_url = asset_url - self.asset_url_object = asset_url_object self.author_id = author_id self.author_name = author_name self.capacity = capacity @@ -487,13 +471,11 @@ def __init__(self, asset_url, asset_url_object, author_id, author_name, capacity self.name = name self.namespace = namespace self.organization = organization - self.plugin_url_object = plugin_url_object self.popularity = popularity self.publication_date = publication_date self.release_status = release_status self.tags = tags self.thumbnail_image_url = thumbnail_image_url - self.unity_package_url_object = unity_package_url_object self.unity_packages = unity_packages self.updated_at = updated_at self.version = version diff --git a/vrchatapi/model/world_id.py b/vrchatapi/model/world_id.py index 2777b457..155e8c06 100644 --- a/vrchatapi/model/world_id.py +++ b/vrchatapi/model/world_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_metadata.py b/vrchatapi/model/world_metadata.py index 62423ab2..0eee7c55 100644 --- a/vrchatapi/model/world_metadata.py +++ b/vrchatapi/model/world_metadata.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_publish_status.py b/vrchatapi/model/world_publish_status.py index 5913f73f..8697bc1a 100644 --- a/vrchatapi/model/world_publish_status.py +++ b/vrchatapi/model/world_publish_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model_utils.py b/vrchatapi/model_utils.py index 0bbff74a..d6e29872 100644 --- a/vrchatapi/model_utils.py +++ b/vrchatapi/model_utils.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index c23c7b5f..0b6595a9 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -53,6 +53,7 @@ from vrchatapi.model.invite_message import InviteMessage from vrchatapi.model.invite_message_id import InviteMessageID from vrchatapi.model.invite_message_type import InviteMessageType +from vrchatapi.model.invite_myself_to_request import InviteMyselfToRequest from vrchatapi.model.invite_request import InviteRequest from vrchatapi.model.invite_response import InviteResponse from vrchatapi.model.license import License @@ -78,6 +79,7 @@ from vrchatapi.model.release_status import ReleaseStatus from vrchatapi.model.request_invite_request import RequestInviteRequest from vrchatapi.model.response import Response +from vrchatapi.model.sent_notification import SentNotification from vrchatapi.model.subscription import Subscription from vrchatapi.model.subscription_period import SubscriptionPeriod from vrchatapi.model.success import Success diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index 59013a61..9501809e 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.2 + The version of the OpenAPI document: 1.7.3 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ From cb070f03ca56efe12647e6d22a3636440d0c5dd9 Mon Sep 17 00:00:00 2001 From: Katistix <33645731+Katistic@users.noreply.github.com> Date: Fri, 9 Sep 2022 08:19:38 +1000 Subject: [PATCH 011/102] Make 2fa required error readable (#2) --- generate.sh | 5 ++++- patches/error_2fa_verify_readable.patch | 15 +++++++++++++++ vrchatapi/rest.py | 4 ++++ 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 patches/error_2fa_verify_readable.patch diff --git a/generate.sh b/generate.sh index 3d276df3..2df90f1a 100644 --- a/generate.sh +++ b/generate.sh @@ -38,4 +38,7 @@ sed -i 's/abcdefvrc//g' ./setup.py sed -i '/license/a long_description_content_type="text/markdown",' ./setup.py # Remove messily pasted markdown at top of every file -find vrchatapi -type f -exec sed -i '/VRChat API Banner/d' {} \; \ No newline at end of file +find vrchatapi -type f -exec sed -i '/VRChat API Banner/d' {} \; + +# Make 2fa required error readable +patch ./vrchatapi/rest.py < ./patches/error_2fa_verify_readable.patch \ No newline at end of file diff --git a/patches/error_2fa_verify_readable.patch b/patches/error_2fa_verify_readable.patch new file mode 100644 index 00000000..2646b9c3 --- /dev/null +++ b/patches/error_2fa_verify_readable.patch @@ -0,0 +1,15 @@ +diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py +index aac58f3..703ae1b 100644 +--- a/vrchatapi/rest.py ++++ b/vrchatapi/rest.py +@@ -239,6 +239,10 @@ class RESTClientObject(object): + + raise ApiException(http_resp=r) + ++ if re.match(b'{"\w{21}":\["totp","otp"]}', r.data) is not None: ++ r.reason = "2 Factor Authentication verification is required" ++ raise UnauthorizedException(http_resp=r) ++ + return r + + def GET(self, url, headers=None, query_params=None, _preload_content=True, diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index 9501809e..141cf4b0 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -239,6 +239,10 @@ def request(self, method, url, query_params=None, headers=None, raise ApiException(http_resp=r) + if re.match(b'{"\w{21}":\["totp","otp"]}', r.data) is not None: + r.reason = "2 Factor Authentication verification is required" + raise UnauthorizedException(http_resp=r) + return r def GET(self, url, headers=None, query_params=None, _preload_content=True, From 0b17bb731e81f68e7914d6a2f55e91e6baa8a3f0 Mon Sep 17 00:00:00 2001 From: VRCCat Date: Thu, 8 Sep 2022 22:35:36 +0000 Subject: [PATCH 012/102] Upgrade Python SDK to spec 1.7.4 --- .openapi-generator/FILES | 4 +-- docs/Instance.md | 3 +- ...equest.md => InstanceShortNameResponse.md} | 5 ++-- docs/InstancesApi.md | 7 +++-- docs/InviteApi.md | 16 +--------- package-lock.json | 14 ++++----- package.json | 2 +- setup.py | 4 +-- vrchatapi/__init__.py | 2 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/instances_api.py | 7 +++-- vrchatapi/api/invite_api.py | 12 ++------ vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/api_client.py.orig | 2 +- vrchatapi/configuration.py | 4 +-- vrchatapi/exceptions.py | 2 +- vrchatapi/model/add_favorite_request.py | 2 +- vrchatapi/model/api_config.py | 2 +- vrchatapi/model/api_event_config.py | 2 +- vrchatapi/model/api_health.py | 2 +- vrchatapi/model/avatar.py | 2 +- vrchatapi/model/avatar_id.py | 2 +- .../model/avatar_unity_package_url_object.py | 2 +- vrchatapi/model/create_avatar_request.py | 2 +- vrchatapi/model/create_file_request.py | 2 +- .../model/create_file_version_request.py | 2 +- vrchatapi/model/create_world_request.py | 2 +- vrchatapi/model/current_user.py | 2 +- vrchatapi/model/deployment_group.py | 2 +- vrchatapi/model/developer_type.py | 2 +- vrchatapi/model/download_url_list.py | 2 +- vrchatapi/model/dynamic_content_row.py | 2 +- vrchatapi/model/error.py | 2 +- vrchatapi/model/favorite.py | 2 +- vrchatapi/model/favorite_group.py | 2 +- vrchatapi/model/favorite_group_id.py | 2 +- vrchatapi/model/favorite_group_visibility.py | 2 +- vrchatapi/model/favorite_id.py | 2 +- vrchatapi/model/favorite_type.py | 2 +- vrchatapi/model/file.py | 2 +- vrchatapi/model/file_data.py | 2 +- vrchatapi/model/file_id.py | 2 +- vrchatapi/model/file_status.py | 2 +- vrchatapi/model/file_upload_url.py | 2 +- vrchatapi/model/file_version.py | 2 +- vrchatapi/model/file_version_upload_status.py | 2 +- .../model/finish_file_data_upload_request.py | 2 +- vrchatapi/model/friend_status.py | 2 +- vrchatapi/model/info_push.py | 2 +- vrchatapi/model/info_push_data.py | 2 +- vrchatapi/model/info_push_data_article.py | 2 +- .../model/info_push_data_article_content.py | 2 +- vrchatapi/model/info_push_data_clickable.py | 2 +- vrchatapi/model/instance.py | 25 ++++++++++------ vrchatapi/model/instance_id.py | 2 +- vrchatapi/model/instance_platforms.py | 2 +- ...est.py => instance_short_name_response.py} | 30 ++++++++++++------- vrchatapi/model/instance_type.py | 2 +- vrchatapi/model/invite_message.py | 2 +- vrchatapi/model/invite_message_id.py | 2 +- vrchatapi/model/invite_message_type.py | 2 +- vrchatapi/model/invite_request.py | 2 +- vrchatapi/model/invite_response.py | 2 +- vrchatapi/model/license.py | 2 +- vrchatapi/model/license_action.py | 2 +- vrchatapi/model/license_group.py | 2 +- vrchatapi/model/license_group_id.py | 2 +- vrchatapi/model/license_type.py | 2 +- vrchatapi/model/limited_unity_package.py | 2 +- vrchatapi/model/limited_user.py | 2 +- vrchatapi/model/limited_world.py | 2 +- vrchatapi/model/mime_type.py | 2 +- vrchatapi/model/moderate_user_request.py | 2 +- vrchatapi/model/notification.py | 2 +- vrchatapi/model/notification_type.py | 2 +- vrchatapi/model/past_display_name.py | 2 +- vrchatapi/model/permission.py | 2 +- vrchatapi/model/permission_id.py | 2 +- vrchatapi/model/player_moderation.py | 2 +- vrchatapi/model/player_moderation_id.py | 2 +- vrchatapi/model/player_moderation_type.py | 2 +- vrchatapi/model/public_announcement.py | 2 +- vrchatapi/model/region.py | 2 +- vrchatapi/model/release_status.py | 2 +- vrchatapi/model/request_invite_request.py | 2 +- vrchatapi/model/response.py | 2 +- vrchatapi/model/sent_notification.py | 2 +- vrchatapi/model/subscription.py | 2 +- vrchatapi/model/subscription_period.py | 2 +- vrchatapi/model/success.py | 2 +- vrchatapi/model/tag.py | 2 +- vrchatapi/model/transaction.py | 2 +- vrchatapi/model/transaction_agreement.py | 2 +- vrchatapi/model/transaction_id.py | 2 +- vrchatapi/model/transaction_status.py | 2 +- vrchatapi/model/transaction_steam_info.py | 2 +- .../model/transaction_steam_wallet_info.py | 2 +- vrchatapi/model/two_factor_auth_code.py | 2 +- vrchatapi/model/unity_package.py | 2 +- vrchatapi/model/unity_package_id.py | 2 +- vrchatapi/model/update_avatar_request.py | 2 +- .../model/update_favorite_group_request.py | 2 +- .../model/update_invite_message_request.py | 2 +- vrchatapi/model/update_user_request.py | 2 +- vrchatapi/model/update_world_request.py | 2 +- vrchatapi/model/user.py | 2 +- vrchatapi/model/user_exists.py | 2 +- vrchatapi/model/user_state.py | 2 +- vrchatapi/model/user_status.py | 2 +- vrchatapi/model/user_subscription.py | 2 +- vrchatapi/model/verify2_fa_result.py | 2 +- vrchatapi/model/verify_auth_token_result.py | 2 +- vrchatapi/model/world.py | 2 +- vrchatapi/model/world_id.py | 2 +- vrchatapi/model/world_metadata.py | 2 +- vrchatapi/model/world_publish_status.py | 2 +- vrchatapi/model_utils.py | 2 +- vrchatapi/models/__init__.py | 2 +- vrchatapi/rest.py | 2 +- 130 files changed, 183 insertions(+), 184 deletions(-) rename docs/{InviteMyselfToRequest.md => InstanceShortNameResponse.md} (75%) rename vrchatapi/model/{invite_myself_to_request.py => instance_short_name_response.py} (92%) diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 1efe5812..fd62a286 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -45,13 +45,13 @@ docs/InfoPushDataClickable.md docs/Instance.md docs/InstanceID.md docs/InstancePlatforms.md +docs/InstanceShortNameResponse.md docs/InstanceType.md docs/InstancesApi.md docs/InviteApi.md docs/InviteMessage.md docs/InviteMessageID.md docs/InviteMessageType.md -docs/InviteMyselfToRequest.md docs/InviteRequest.md docs/InviteResponse.md docs/License.md @@ -180,11 +180,11 @@ vrchatapi/model/info_push_data_clickable.py vrchatapi/model/instance.py vrchatapi/model/instance_id.py vrchatapi/model/instance_platforms.py +vrchatapi/model/instance_short_name_response.py vrchatapi/model/instance_type.py vrchatapi/model/invite_message.py vrchatapi/model/invite_message_id.py vrchatapi/model/invite_message_type.py -vrchatapi/model/invite_myself_to_request.py vrchatapi/model/invite_request.py vrchatapi/model/invite_response.py vrchatapi/model/license.py diff --git a/docs/Instance.md b/docs/Instance.md index c9c32ab7..06815cfd 100644 --- a/docs/Instance.md +++ b/docs/Instance.md @@ -15,7 +15,7 @@ Name | Type | Description | Notes **photon_region** | [**Region**](Region.md) | | **platforms** | [**InstancePlatforms**](InstancePlatforms.md) | | **region** | [**Region**](Region.md) | | -**short_name** | **str** | | +**secure_name** | **str** | | **tags** | [**[Tag]**](Tag.md) | The tags array on Instances usually contain the language tags of the people in the instance. | **type** | [**InstanceType**](InstanceType.md) | | **world_id** | [**WorldID**](WorldID.md) | | @@ -24,6 +24,7 @@ Name | Type | Description | Notes **full** | **bool** | | defaults to False **permanent** | **bool** | | defaults to False **owner_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] +**short_name** | **str** | | [optional] **hidden** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] **friends** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] **private** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] diff --git a/docs/InviteMyselfToRequest.md b/docs/InstanceShortNameResponse.md similarity index 75% rename from docs/InviteMyselfToRequest.md rename to docs/InstanceShortNameResponse.md index 541dc673..5abf628a 100644 --- a/docs/InviteMyselfToRequest.md +++ b/docs/InstanceShortNameResponse.md @@ -1,10 +1,11 @@ -# InviteMyselfToRequest +# InstanceShortNameResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**short_name** | **str** | Short Name of the Instance; can be retrieved from the Get Instance Short Name endpoint. | +**secure_name** | **str** | | +**short_name** | **str** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InstancesApi.md b/docs/InstancesApi.md index 5d9dfb72..30afb29d 100644 --- a/docs/InstancesApi.md +++ b/docs/InstancesApi.md @@ -188,7 +188,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_short_name** -> str get_short_name(world_id, instance_id) +> InstanceShortNameResponse get_short_name(world_id, instance_id) Get Instance Short Name @@ -203,6 +203,7 @@ Returns an instance short name. import time import vrchatapi from vrchatapi.api import instances_api +from vrchatapi.model.instance_short_name_response import InstanceShortNameResponse from vrchatapi.model.error import Error from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 @@ -254,7 +255,7 @@ Name | Type | Description | Notes ### Return type -**str** +[**InstanceShortNameResponse**](InstanceShortNameResponse.md) ### Authorization @@ -270,7 +271,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns an instance short name. | - | +**200** | Returns an instance secureName and/or shortName. | - | **401** | Error response due to missing apiKey or auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/InviteApi.md b/docs/InviteApi.md index 1ab3f840..1f3f38b6 100644 --- a/docs/InviteApi.md +++ b/docs/InviteApi.md @@ -214,7 +214,6 @@ import time import vrchatapi from vrchatapi.api import invite_api from vrchatapi.model.sent_notification import SentNotification -from vrchatapi.model.invite_myself_to_request import InviteMyselfToRequest from vrchatapi.model.error import Error from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 @@ -246,9 +245,6 @@ with vrchatapi.ApiClient(configuration) as api_client: api_instance = invite_api.InviteApi(api_client) world_id = "worldId_example" # str | instance_id = "instanceId_example" # str | - invite_myself_to_request = InviteMyselfToRequest( - short_name="short_name_example", - ) # InviteMyselfToRequest | (optional) # example passing only required values which don't have defaults set try: @@ -257,15 +253,6 @@ with vrchatapi.ApiClient(configuration) as api_client: pprint(api_response) except vrchatapi.ApiException as e: print("Exception when calling InviteApi->invite_myself_to: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Invite Myself To Instance - api_response = api_instance.invite_myself_to(world_id, instance_id, invite_myself_to_request=invite_myself_to_request) - pprint(api_response) - except vrchatapi.ApiException as e: - print("Exception when calling InviteApi->invite_myself_to: %s\n" % e) ``` @@ -275,7 +262,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **world_id** | **str**| | **instance_id** | **str**| | - **invite_myself_to_request** | [**InviteMyselfToRequest**](InviteMyselfToRequest.md)| | [optional] ### Return type @@ -287,7 +273,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json diff --git a/package-lock.json b/package-lock.json index 8877416c..9671fc07 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.5.1" + "@openapitools/openapi-generator-cli": "^2.5.2" } }, "node_modules/@nestjs/common": { @@ -97,9 +97,9 @@ } }, "node_modules/@openapitools/openapi-generator-cli": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.5.1.tgz", - "integrity": "sha512-WSRQBU0dCSVD+0Qv8iCsv0C4iMaZe/NpJ/CT4SmrEYLH3txoKTE8wEfbdj/kqShS8Or0YEGDPUzhSIKY151L0w==", + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.5.2.tgz", + "integrity": "sha512-FLgkjzpDiHVsH821db0VDSElDoA6TcspGyq3RD4zLBJaJhbSsRwr4u87sNoyuHKBg4OMJbZMT4iJxAhkosKrzw==", "hasInstallScript": true, "dependencies": { "@nestjs/common": "8.4.4", @@ -1132,9 +1132,9 @@ } }, "@openapitools/openapi-generator-cli": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.5.1.tgz", - "integrity": "sha512-WSRQBU0dCSVD+0Qv8iCsv0C4iMaZe/NpJ/CT4SmrEYLH3txoKTE8wEfbdj/kqShS8Or0YEGDPUzhSIKY151L0w==", + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.5.2.tgz", + "integrity": "sha512-FLgkjzpDiHVsH821db0VDSElDoA6TcspGyq3RD4zLBJaJhbSsRwr4u87sNoyuHKBg4OMJbZMT4iJxAhkosKrzw==", "requires": { "@nestjs/common": "8.4.4", "@nestjs/core": "8.4.4", diff --git a/package.json b/package.json index e40c358f..65806327 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.5.1" + "@openapitools/openapi-generator-cli": "^2.5.2" } } diff --git a/setup.py b/setup.py index 949d86e8..d6a78d81 100644 --- a/setup.py +++ b/setup.py @@ -64,7 +64,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -73,7 +73,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.7.3" +VERSION = "1.7.4" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 40f2518f..c0134e7d 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index 5c5c9f19..252a4cbf 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index b08b05ee..6fba642f 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 7be35aa1..a8de134e 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index fbf038c2..2b51c334 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index 776c37a7..fef4a88a 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index 63b8b05f..d7ef9f91 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 54b0461d..53481dd0 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -23,6 +23,7 @@ ) from vrchatapi.model.error import Error from vrchatapi.model.instance import Instance +from vrchatapi.model.instance_short_name_response import InstanceShortNameResponse from vrchatapi.model.success import Success @@ -149,7 +150,7 @@ def __init__(self, api_client=None): ) self.get_short_name_endpoint = _Endpoint( settings={ - 'response_type': (str,), + 'response_type': (InstanceShortNameResponse,), 'auth': [ 'apiKeyCookie', 'authCookie' @@ -442,7 +443,7 @@ def get_short_name( async_req (bool): execute request asynchronously Returns: - str + InstanceShortNameResponse If the method is called asynchronously, returns the request thread. """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index 15965954..a3103a88 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -23,7 +23,6 @@ ) from vrchatapi.model.error import Error from vrchatapi.model.invite_message import InviteMessage -from vrchatapi.model.invite_myself_to_request import InviteMyselfToRequest from vrchatapi.model.invite_request import InviteRequest from vrchatapi.model.invite_response import InviteResponse from vrchatapi.model.notification import Notification @@ -203,7 +202,6 @@ def __init__(self, api_client=None): 'all': [ 'world_id', 'instance_id', - 'invite_myself_to_request', ], 'required': [ 'world_id', @@ -226,8 +224,6 @@ def __init__(self, api_client=None): (str,), 'instance_id': (str,), - 'invite_myself_to_request': - (InviteMyselfToRequest,), }, 'attribute_map': { 'world_id': 'worldId', @@ -236,7 +232,6 @@ def __init__(self, api_client=None): 'location_map': { 'world_id': 'path', 'instance_id': 'path', - 'invite_myself_to_request': 'body', }, 'collection_format_map': { } @@ -245,9 +240,7 @@ def __init__(self, api_client=None): 'accept': [ 'application/json' ], - 'content_type': [ - 'application/json' - ] + 'content_type': [], }, api_client=api_client ) @@ -752,7 +745,6 @@ def invite_myself_to( instance_id (str): Keyword Args: - invite_myself_to_request (InviteMyselfToRequest): [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index 5646f96b..fa5fc473 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index 38a52762..09656494 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index bef6baff..b208ee22 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index 91edbc03..5860fb96 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index 0a6ae423..67210735 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 1d51ebeb..abd89911 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index bc714806..a8973e3a 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py.orig b/vrchatapi/api_client.py.orig index f39b20da..0111a2c4 100644 --- a/vrchatapi/api_client.py.orig +++ b/vrchatapi/api_client.py.orig @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index cb42766a..d35b2741 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -455,7 +455,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.7.3\n"\ + "Version of the API: 1.7.4\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index f759e0e4..62ffac25 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/add_favorite_request.py b/vrchatapi/model/add_favorite_request.py index 91f2c522..f9131fe9 100644 --- a/vrchatapi/model/add_favorite_request.py +++ b/vrchatapi/model/add_favorite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_config.py b/vrchatapi/model/api_config.py index b86af2d3..e3de3fcf 100644 --- a/vrchatapi/model/api_config.py +++ b/vrchatapi/model/api_config.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_event_config.py b/vrchatapi/model/api_event_config.py index d035aa10..4955094c 100644 --- a/vrchatapi/model/api_event_config.py +++ b/vrchatapi/model/api_event_config.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_health.py b/vrchatapi/model/api_health.py index c77d30ee..87abee07 100644 --- a/vrchatapi/model/api_health.py +++ b/vrchatapi/model/api_health.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar.py b/vrchatapi/model/avatar.py index bacf9f7d..0b91ce44 100644 --- a/vrchatapi/model/avatar.py +++ b/vrchatapi/model/avatar.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar_id.py b/vrchatapi/model/avatar_id.py index 8411e7d4..f049efac 100644 --- a/vrchatapi/model/avatar_id.py +++ b/vrchatapi/model/avatar_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar_unity_package_url_object.py b/vrchatapi/model/avatar_unity_package_url_object.py index fadf4240..3c3d5a69 100644 --- a/vrchatapi/model/avatar_unity_package_url_object.py +++ b/vrchatapi/model/avatar_unity_package_url_object.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_avatar_request.py b/vrchatapi/model/create_avatar_request.py index 064c8113..66e937f2 100644 --- a/vrchatapi/model/create_avatar_request.py +++ b/vrchatapi/model/create_avatar_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_file_request.py b/vrchatapi/model/create_file_request.py index e4fe2f20..29d92376 100644 --- a/vrchatapi/model/create_file_request.py +++ b/vrchatapi/model/create_file_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_file_version_request.py b/vrchatapi/model/create_file_version_request.py index 23c8c967..e4be9799 100644 --- a/vrchatapi/model/create_file_version_request.py +++ b/vrchatapi/model/create_file_version_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_world_request.py b/vrchatapi/model/create_world_request.py index f248ad89..f7f2f104 100644 --- a/vrchatapi/model/create_world_request.py +++ b/vrchatapi/model/create_world_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/current_user.py b/vrchatapi/model/current_user.py index 170d2928..83c485c9 100644 --- a/vrchatapi/model/current_user.py +++ b/vrchatapi/model/current_user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/deployment_group.py b/vrchatapi/model/deployment_group.py index e1e4a29c..c342c519 100644 --- a/vrchatapi/model/deployment_group.py +++ b/vrchatapi/model/deployment_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/developer_type.py b/vrchatapi/model/developer_type.py index 5f9cb0e1..b37316be 100644 --- a/vrchatapi/model/developer_type.py +++ b/vrchatapi/model/developer_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/download_url_list.py b/vrchatapi/model/download_url_list.py index 90c7052b..cbb01451 100644 --- a/vrchatapi/model/download_url_list.py +++ b/vrchatapi/model/download_url_list.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/dynamic_content_row.py b/vrchatapi/model/dynamic_content_row.py index dcf6b491..1ecc89a8 100644 --- a/vrchatapi/model/dynamic_content_row.py +++ b/vrchatapi/model/dynamic_content_row.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/error.py b/vrchatapi/model/error.py index 919d1ef5..21a61c9a 100644 --- a/vrchatapi/model/error.py +++ b/vrchatapi/model/error.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite.py b/vrchatapi/model/favorite.py index 42f02439..a62d6b56 100644 --- a/vrchatapi/model/favorite.py +++ b/vrchatapi/model/favorite.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group.py b/vrchatapi/model/favorite_group.py index acbbdfc1..99d542f6 100644 --- a/vrchatapi/model/favorite_group.py +++ b/vrchatapi/model/favorite_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group_id.py b/vrchatapi/model/favorite_group_id.py index 05f9054a..5d4f2880 100644 --- a/vrchatapi/model/favorite_group_id.py +++ b/vrchatapi/model/favorite_group_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group_visibility.py b/vrchatapi/model/favorite_group_visibility.py index 222e3d5c..6d61b59d 100644 --- a/vrchatapi/model/favorite_group_visibility.py +++ b/vrchatapi/model/favorite_group_visibility.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_id.py b/vrchatapi/model/favorite_id.py index 83857be3..374a4053 100644 --- a/vrchatapi/model/favorite_id.py +++ b/vrchatapi/model/favorite_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_type.py b/vrchatapi/model/favorite_type.py index c07d652b..2dab1b2b 100644 --- a/vrchatapi/model/favorite_type.py +++ b/vrchatapi/model/favorite_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file.py b/vrchatapi/model/file.py index 359e7dc2..c8d6c31c 100644 --- a/vrchatapi/model/file.py +++ b/vrchatapi/model/file.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_data.py b/vrchatapi/model/file_data.py index 2a80b10a..6e6984ec 100644 --- a/vrchatapi/model/file_data.py +++ b/vrchatapi/model/file_data.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_id.py b/vrchatapi/model/file_id.py index 1637d5f1..289ee13b 100644 --- a/vrchatapi/model/file_id.py +++ b/vrchatapi/model/file_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_status.py b/vrchatapi/model/file_status.py index 4de6aa15..b03c2cd9 100644 --- a/vrchatapi/model/file_status.py +++ b/vrchatapi/model/file_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_upload_url.py b/vrchatapi/model/file_upload_url.py index ad749c6e..91338652 100644 --- a/vrchatapi/model/file_upload_url.py +++ b/vrchatapi/model/file_upload_url.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_version.py b/vrchatapi/model/file_version.py index 9a0c8d16..35185f13 100644 --- a/vrchatapi/model/file_version.py +++ b/vrchatapi/model/file_version.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_version_upload_status.py b/vrchatapi/model/file_version_upload_status.py index f888a22d..ef4da805 100644 --- a/vrchatapi/model/file_version_upload_status.py +++ b/vrchatapi/model/file_version_upload_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/finish_file_data_upload_request.py b/vrchatapi/model/finish_file_data_upload_request.py index 769cc1fc..c68d9930 100644 --- a/vrchatapi/model/finish_file_data_upload_request.py +++ b/vrchatapi/model/finish_file_data_upload_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/friend_status.py b/vrchatapi/model/friend_status.py index e132c59b..8466314e 100644 --- a/vrchatapi/model/friend_status.py +++ b/vrchatapi/model/friend_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push.py b/vrchatapi/model/info_push.py index 296bb606..93d005a9 100644 --- a/vrchatapi/model/info_push.py +++ b/vrchatapi/model/info_push.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data.py b/vrchatapi/model/info_push_data.py index b605cd08..167e9ced 100644 --- a/vrchatapi/model/info_push_data.py +++ b/vrchatapi/model/info_push_data.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_article.py b/vrchatapi/model/info_push_data_article.py index 67fc1a20..a11f1174 100644 --- a/vrchatapi/model/info_push_data_article.py +++ b/vrchatapi/model/info_push_data_article.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_article_content.py b/vrchatapi/model/info_push_data_article_content.py index 50f64bc3..eae59000 100644 --- a/vrchatapi/model/info_push_data_article_content.py +++ b/vrchatapi/model/info_push_data_article_content.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_clickable.py b/vrchatapi/model/info_push_data_clickable.py index 9e020617..95de3fb2 100644 --- a/vrchatapi/model/info_push_data_clickable.py +++ b/vrchatapi/model/info_push_data_clickable.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance.py b/vrchatapi/model/instance.py index 3cf34c15..348e8635 100644 --- a/vrchatapi/model/instance.py +++ b/vrchatapi/model/instance.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -87,6 +87,9 @@ class Instance(ModelNormal): ('name',): { 'min_length': 1, }, + ('secure_name',): { + 'min_length': 1, + }, ('short_name',): { 'min_length': 1, }, @@ -129,11 +132,12 @@ def openapi_types(): 'photon_region': (Region,), # noqa: E501 'platforms': (InstancePlatforms,), # noqa: E501 'region': (Region,), # noqa: E501 - 'short_name': (str,), # noqa: E501 + 'secure_name': (str,), # noqa: E501 'tags': ([Tag],), # noqa: E501 'type': (InstanceType,), # noqa: E501 'world_id': (WorldID,), # noqa: E501 'owner_id': (str,), # noqa: E501 + 'short_name': (str,), # noqa: E501 'hidden': (str,), # noqa: E501 'friends': (str,), # noqa: E501 'private': (str,), # noqa: E501 @@ -159,11 +163,12 @@ def discriminator(): 'photon_region': 'photonRegion', # noqa: E501 'platforms': 'platforms', # noqa: E501 'region': 'region', # noqa: E501 - 'short_name': 'shortName', # noqa: E501 + 'secure_name': 'secureName', # noqa: E501 'tags': 'tags', # noqa: E501 'type': 'type', # noqa: E501 'world_id': 'worldId', # noqa: E501 'owner_id': 'ownerId', # noqa: E501 + 'short_name': 'shortName', # noqa: E501 'hidden': 'hidden', # noqa: E501 'friends': 'friends', # noqa: E501 'private': 'private', # noqa: E501 @@ -176,7 +181,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, capacity, client_number, id, instance_id, location, n_users, name, photon_region, platforms, region, short_name, tags, type, world_id, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, capacity, client_number, id, instance_id, location, n_users, name, photon_region, platforms, region, secure_name, tags, type, world_id, *args, **kwargs): # noqa: E501 """Instance - a model defined in OpenAPI Args: @@ -190,7 +195,7 @@ def _from_openapi_data(cls, capacity, client_number, id, instance_id, location, photon_region (Region): platforms (InstancePlatforms): region (Region): - short_name (str): + secure_name (str): tags ([Tag]): The tags array on Instances usually contain the language tags of the people in the instance. type (InstanceType): world_id (WorldID): @@ -231,6 +236,7 @@ def _from_openapi_data(cls, capacity, client_number, id, instance_id, location, through its discriminator because we passed in _visited_composed_classes = (Animal,) owner_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed.. [optional] # noqa: E501 + short_name (str): [optional] # noqa: E501 hidden (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed.. [optional] # noqa: E501 friends (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed.. [optional] # noqa: E501 private (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed.. [optional] # noqa: E501 @@ -279,7 +285,7 @@ def _from_openapi_data(cls, capacity, client_number, id, instance_id, location, self.photon_region = photon_region self.platforms = platforms self.region = region - self.short_name = short_name + self.secure_name = secure_name self.tags = tags self.type = type self.world_id = world_id @@ -303,7 +309,7 @@ def _from_openapi_data(cls, capacity, client_number, id, instance_id, location, ]) @convert_js_args_to_python_args - def __init__(self, capacity, client_number, id, instance_id, location, n_users, name, photon_region, platforms, region, short_name, tags, type, world_id, *args, **kwargs): # noqa: E501 + def __init__(self, capacity, client_number, id, instance_id, location, n_users, name, photon_region, platforms, region, secure_name, tags, type, world_id, *args, **kwargs): # noqa: E501 """Instance - a model defined in OpenAPI Args: @@ -317,7 +323,7 @@ def __init__(self, capacity, client_number, id, instance_id, location, n_users, photon_region (Region): platforms (InstancePlatforms): region (Region): - short_name (str): + secure_name (str): tags ([Tag]): The tags array on Instances usually contain the language tags of the people in the instance. type (InstanceType): world_id (WorldID): @@ -358,6 +364,7 @@ def __init__(self, capacity, client_number, id, instance_id, location, n_users, through its discriminator because we passed in _visited_composed_classes = (Animal,) owner_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed.. [optional] # noqa: E501 + short_name (str): [optional] # noqa: E501 hidden (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed.. [optional] # noqa: E501 friends (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed.. [optional] # noqa: E501 private (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed.. [optional] # noqa: E501 @@ -404,7 +411,7 @@ def __init__(self, capacity, client_number, id, instance_id, location, n_users, self.photon_region = photon_region self.platforms = platforms self.region = region - self.short_name = short_name + self.secure_name = secure_name self.tags = tags self.type = type self.world_id = world_id diff --git a/vrchatapi/model/instance_id.py b/vrchatapi/model/instance_id.py index f2a8b0ed..3f5dcaeb 100644 --- a/vrchatapi/model/instance_id.py +++ b/vrchatapi/model/instance_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_platforms.py b/vrchatapi/model/instance_platforms.py index d5f72102..7e46e28a 100644 --- a/vrchatapi/model/instance_platforms.py +++ b/vrchatapi/model/instance_platforms.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_myself_to_request.py b/vrchatapi/model/instance_short_name_response.py similarity index 92% rename from vrchatapi/model/invite_myself_to_request.py rename to vrchatapi/model/instance_short_name_response.py index d84d01f0..90ae51fd 100644 --- a/vrchatapi/model/invite_myself_to_request.py +++ b/vrchatapi/model/instance_short_name_response.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -30,7 +30,7 @@ -class InviteMyselfToRequest(ModelNormal): +class InstanceShortNameResponse(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -58,6 +58,12 @@ class InviteMyselfToRequest(ModelNormal): } validations = { + ('secure_name',): { + 'min_length': 1, + }, + ('short_name',): { + 'min_length': 1, + }, } @cached_property @@ -81,6 +87,7 @@ def openapi_types(): and the value is attribute type. """ return { + 'secure_name': (str,), # noqa: E501 'short_name': (str,), # noqa: E501 } @@ -90,6 +97,7 @@ def discriminator(): attribute_map = { + 'secure_name': 'secureName', # noqa: E501 'short_name': 'shortName', # noqa: E501 } @@ -100,11 +108,11 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, short_name, *args, **kwargs): # noqa: E501 - """InviteMyselfToRequest - a model defined in OpenAPI + def _from_openapi_data(cls, secure_name, *args, **kwargs): # noqa: E501 + """InstanceShortNameResponse - a model defined in OpenAPI Args: - short_name (str): Short Name of the Instance; can be retrieved from the Get Instance Short Name endpoint. + secure_name (str): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -137,6 +145,7 @@ def _from_openapi_data(cls, short_name, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + short_name (str): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -164,7 +173,7 @@ def _from_openapi_data(cls, short_name, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.short_name = short_name + self.secure_name = secure_name for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -185,11 +194,11 @@ def _from_openapi_data(cls, short_name, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, short_name, *args, **kwargs): # noqa: E501 - """InviteMyselfToRequest - a model defined in OpenAPI + def __init__(self, secure_name, *args, **kwargs): # noqa: E501 + """InstanceShortNameResponse - a model defined in OpenAPI Args: - short_name (str): Short Name of the Instance; can be retrieved from the Get Instance Short Name endpoint. + secure_name (str): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -222,6 +231,7 @@ def __init__(self, short_name, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + short_name (str): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -247,7 +257,7 @@ def __init__(self, short_name, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.short_name = short_name + self.secure_name = secure_name for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/vrchatapi/model/instance_type.py b/vrchatapi/model/instance_type.py index 5ed34492..9bdced5f 100644 --- a/vrchatapi/model/instance_type.py +++ b/vrchatapi/model/instance_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message.py b/vrchatapi/model/invite_message.py index ab6c8b8a..f1f551cf 100644 --- a/vrchatapi/model/invite_message.py +++ b/vrchatapi/model/invite_message.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message_id.py b/vrchatapi/model/invite_message_id.py index 706c1aea..da67ac08 100644 --- a/vrchatapi/model/invite_message_id.py +++ b/vrchatapi/model/invite_message_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message_type.py b/vrchatapi/model/invite_message_type.py index b9f4b617..368a8bfd 100644 --- a/vrchatapi/model/invite_message_type.py +++ b/vrchatapi/model/invite_message_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_request.py b/vrchatapi/model/invite_request.py index b7f10fce..73955b73 100644 --- a/vrchatapi/model/invite_request.py +++ b/vrchatapi/model/invite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_response.py b/vrchatapi/model/invite_response.py index c1bf4ba6..359a58e2 100644 --- a/vrchatapi/model/invite_response.py +++ b/vrchatapi/model/invite_response.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license.py b/vrchatapi/model/license.py index 5e65c7d5..67aa55ae 100644 --- a/vrchatapi/model/license.py +++ b/vrchatapi/model/license.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_action.py b/vrchatapi/model/license_action.py index 101c206b..14cb7c5f 100644 --- a/vrchatapi/model/license_action.py +++ b/vrchatapi/model/license_action.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_group.py b/vrchatapi/model/license_group.py index 68bf01b0..5545c8f5 100644 --- a/vrchatapi/model/license_group.py +++ b/vrchatapi/model/license_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_group_id.py b/vrchatapi/model/license_group_id.py index 152bafb7..0acea482 100644 --- a/vrchatapi/model/license_group_id.py +++ b/vrchatapi/model/license_group_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_type.py b/vrchatapi/model/license_type.py index 9166004c..431572df 100644 --- a/vrchatapi/model/license_type.py +++ b/vrchatapi/model/license_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_unity_package.py b/vrchatapi/model/limited_unity_package.py index 8c7a248e..234d95a1 100644 --- a/vrchatapi/model/limited_unity_package.py +++ b/vrchatapi/model/limited_unity_package.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_user.py b/vrchatapi/model/limited_user.py index 5bc74cce..10450c9d 100644 --- a/vrchatapi/model/limited_user.py +++ b/vrchatapi/model/limited_user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_world.py b/vrchatapi/model/limited_world.py index 7d7e67ae..207d4ac0 100644 --- a/vrchatapi/model/limited_world.py +++ b/vrchatapi/model/limited_world.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/mime_type.py b/vrchatapi/model/mime_type.py index 4608a5ef..14b4e102 100644 --- a/vrchatapi/model/mime_type.py +++ b/vrchatapi/model/mime_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/moderate_user_request.py b/vrchatapi/model/moderate_user_request.py index 813e05aa..9aad0a98 100644 --- a/vrchatapi/model/moderate_user_request.py +++ b/vrchatapi/model/moderate_user_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/notification.py b/vrchatapi/model/notification.py index 495cfcae..987fc75b 100644 --- a/vrchatapi/model/notification.py +++ b/vrchatapi/model/notification.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/notification_type.py b/vrchatapi/model/notification_type.py index 26a6d84b..5b389d3a 100644 --- a/vrchatapi/model/notification_type.py +++ b/vrchatapi/model/notification_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/past_display_name.py b/vrchatapi/model/past_display_name.py index 0a4f118b..ff6a35f8 100644 --- a/vrchatapi/model/past_display_name.py +++ b/vrchatapi/model/past_display_name.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/permission.py b/vrchatapi/model/permission.py index 11a87b3d..33fd7639 100644 --- a/vrchatapi/model/permission.py +++ b/vrchatapi/model/permission.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/permission_id.py b/vrchatapi/model/permission_id.py index 20689e38..1c59c610 100644 --- a/vrchatapi/model/permission_id.py +++ b/vrchatapi/model/permission_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation.py b/vrchatapi/model/player_moderation.py index 68d8e13c..7d32bf82 100644 --- a/vrchatapi/model/player_moderation.py +++ b/vrchatapi/model/player_moderation.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation_id.py b/vrchatapi/model/player_moderation_id.py index 12978584..03deec72 100644 --- a/vrchatapi/model/player_moderation_id.py +++ b/vrchatapi/model/player_moderation_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation_type.py b/vrchatapi/model/player_moderation_type.py index 5825fd5c..4b909913 100644 --- a/vrchatapi/model/player_moderation_type.py +++ b/vrchatapi/model/player_moderation_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/public_announcement.py b/vrchatapi/model/public_announcement.py index 6b36ef27..3aad6de6 100644 --- a/vrchatapi/model/public_announcement.py +++ b/vrchatapi/model/public_announcement.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/region.py b/vrchatapi/model/region.py index 1d5c6f90..753f5e52 100644 --- a/vrchatapi/model/region.py +++ b/vrchatapi/model/region.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/release_status.py b/vrchatapi/model/release_status.py index 464daf12..19a3fabe 100644 --- a/vrchatapi/model/release_status.py +++ b/vrchatapi/model/release_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/request_invite_request.py b/vrchatapi/model/request_invite_request.py index cd54040b..9bb26c73 100644 --- a/vrchatapi/model/request_invite_request.py +++ b/vrchatapi/model/request_invite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/response.py b/vrchatapi/model/response.py index c700b0f1..62f10a85 100644 --- a/vrchatapi/model/response.py +++ b/vrchatapi/model/response.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/sent_notification.py b/vrchatapi/model/sent_notification.py index 20d56d00..677ddf10 100644 --- a/vrchatapi/model/sent_notification.py +++ b/vrchatapi/model/sent_notification.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/subscription.py b/vrchatapi/model/subscription.py index 74476fcd..6c09ff0d 100644 --- a/vrchatapi/model/subscription.py +++ b/vrchatapi/model/subscription.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/subscription_period.py b/vrchatapi/model/subscription_period.py index c19a0997..53543c15 100644 --- a/vrchatapi/model/subscription_period.py +++ b/vrchatapi/model/subscription_period.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/success.py b/vrchatapi/model/success.py index 421e2e58..ef013443 100644 --- a/vrchatapi/model/success.py +++ b/vrchatapi/model/success.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/tag.py b/vrchatapi/model/tag.py index 180a19e1..319a9f4c 100644 --- a/vrchatapi/model/tag.py +++ b/vrchatapi/model/tag.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction.py b/vrchatapi/model/transaction.py index 5b189ead..36e17ce0 100644 --- a/vrchatapi/model/transaction.py +++ b/vrchatapi/model/transaction.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_agreement.py b/vrchatapi/model/transaction_agreement.py index 04e2d7f8..b4b34aa7 100644 --- a/vrchatapi/model/transaction_agreement.py +++ b/vrchatapi/model/transaction_agreement.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_id.py b/vrchatapi/model/transaction_id.py index 8b15d706..c529980f 100644 --- a/vrchatapi/model/transaction_id.py +++ b/vrchatapi/model/transaction_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_status.py b/vrchatapi/model/transaction_status.py index 496cb20f..02751d9f 100644 --- a/vrchatapi/model/transaction_status.py +++ b/vrchatapi/model/transaction_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_steam_info.py b/vrchatapi/model/transaction_steam_info.py index 426bbaf8..87f049a1 100644 --- a/vrchatapi/model/transaction_steam_info.py +++ b/vrchatapi/model/transaction_steam_info.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_steam_wallet_info.py b/vrchatapi/model/transaction_steam_wallet_info.py index c6b44900..e34dc1ae 100644 --- a/vrchatapi/model/transaction_steam_wallet_info.py +++ b/vrchatapi/model/transaction_steam_wallet_info.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/two_factor_auth_code.py b/vrchatapi/model/two_factor_auth_code.py index 2ac7ce8e..2e63a34f 100644 --- a/vrchatapi/model/two_factor_auth_code.py +++ b/vrchatapi/model/two_factor_auth_code.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/unity_package.py b/vrchatapi/model/unity_package.py index c861dca8..e0205657 100644 --- a/vrchatapi/model/unity_package.py +++ b/vrchatapi/model/unity_package.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/unity_package_id.py b/vrchatapi/model/unity_package_id.py index 513604e3..b42be944 100644 --- a/vrchatapi/model/unity_package_id.py +++ b/vrchatapi/model/unity_package_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_avatar_request.py b/vrchatapi/model/update_avatar_request.py index 8bbd98db..77787690 100644 --- a/vrchatapi/model/update_avatar_request.py +++ b/vrchatapi/model/update_avatar_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_favorite_group_request.py b/vrchatapi/model/update_favorite_group_request.py index ed31907f..fab4d925 100644 --- a/vrchatapi/model/update_favorite_group_request.py +++ b/vrchatapi/model/update_favorite_group_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_invite_message_request.py b/vrchatapi/model/update_invite_message_request.py index 75806ae4..e964c378 100644 --- a/vrchatapi/model/update_invite_message_request.py +++ b/vrchatapi/model/update_invite_message_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_user_request.py b/vrchatapi/model/update_user_request.py index 0d992764..7d8cb7ce 100644 --- a/vrchatapi/model/update_user_request.py +++ b/vrchatapi/model/update_user_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_world_request.py b/vrchatapi/model/update_world_request.py index dfccd863..1d1dda65 100644 --- a/vrchatapi/model/update_world_request.py +++ b/vrchatapi/model/update_world_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user.py b/vrchatapi/model/user.py index 476fd2b5..03d30e1a 100644 --- a/vrchatapi/model/user.py +++ b/vrchatapi/model/user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_exists.py b/vrchatapi/model/user_exists.py index d4f4eec5..cb29aefd 100644 --- a/vrchatapi/model/user_exists.py +++ b/vrchatapi/model/user_exists.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_state.py b/vrchatapi/model/user_state.py index 117c3546..f2cf6a3e 100644 --- a/vrchatapi/model/user_state.py +++ b/vrchatapi/model/user_state.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_status.py b/vrchatapi/model/user_status.py index 17053099..a56473ec 100644 --- a/vrchatapi/model/user_status.py +++ b/vrchatapi/model/user_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_subscription.py b/vrchatapi/model/user_subscription.py index 5884f5d4..68e7f4b1 100644 --- a/vrchatapi/model/user_subscription.py +++ b/vrchatapi/model/user_subscription.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/verify2_fa_result.py b/vrchatapi/model/verify2_fa_result.py index 54a2fcc0..4fe323ca 100644 --- a/vrchatapi/model/verify2_fa_result.py +++ b/vrchatapi/model/verify2_fa_result.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/verify_auth_token_result.py b/vrchatapi/model/verify_auth_token_result.py index 139da17b..d06b4d3b 100644 --- a/vrchatapi/model/verify_auth_token_result.py +++ b/vrchatapi/model/verify_auth_token_result.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world.py b/vrchatapi/model/world.py index bc2175ea..9d66167b 100644 --- a/vrchatapi/model/world.py +++ b/vrchatapi/model/world.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_id.py b/vrchatapi/model/world_id.py index 155e8c06..b6605fd3 100644 --- a/vrchatapi/model/world_id.py +++ b/vrchatapi/model/world_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_metadata.py b/vrchatapi/model/world_metadata.py index 0eee7c55..b83d01ae 100644 --- a/vrchatapi/model/world_metadata.py +++ b/vrchatapi/model/world_metadata.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_publish_status.py b/vrchatapi/model/world_publish_status.py index 8697bc1a..85d2ad89 100644 --- a/vrchatapi/model/world_publish_status.py +++ b/vrchatapi/model/world_publish_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model_utils.py b/vrchatapi/model_utils.py index d6e29872..d73436dc 100644 --- a/vrchatapi/model_utils.py +++ b/vrchatapi/model_utils.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index 0b6595a9..28ea7700 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -49,11 +49,11 @@ from vrchatapi.model.instance import Instance from vrchatapi.model.instance_id import InstanceID from vrchatapi.model.instance_platforms import InstancePlatforms +from vrchatapi.model.instance_short_name_response import InstanceShortNameResponse from vrchatapi.model.instance_type import InstanceType from vrchatapi.model.invite_message import InviteMessage from vrchatapi.model.invite_message_id import InviteMessageID from vrchatapi.model.invite_message_type import InviteMessageType -from vrchatapi.model.invite_myself_to_request import InviteMyselfToRequest from vrchatapi.model.invite_request import InviteRequest from vrchatapi.model.invite_response import InviteResponse from vrchatapi.model.license import License diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index 141cf4b0..044cc2bf 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.3 + The version of the OpenAPI document: 1.7.4 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ From c300eea2ef3bc7bd5b353358dc06b8a1453417c5 Mon Sep 17 00:00:00 2001 From: VRCCat Date: Mon, 10 Oct 2022 09:15:02 +0000 Subject: [PATCH 013/102] Upgrade Python SDK to spec 1.7.5 --- docs/AuthenticationApi.md | 2 +- docs/World.md | 3 +-- setup.py | 4 ++-- vrchatapi/__init__.py | 2 +- vrchatapi/api/authentication_api.py | 4 ++-- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/api_client.py.orig | 2 +- vrchatapi/configuration.py | 4 ++-- vrchatapi/exceptions.py | 2 +- vrchatapi/model/add_favorite_request.py | 2 +- vrchatapi/model/api_config.py | 2 +- vrchatapi/model/api_event_config.py | 2 +- vrchatapi/model/api_health.py | 2 +- vrchatapi/model/avatar.py | 2 +- vrchatapi/model/avatar_id.py | 2 +- .../model/avatar_unity_package_url_object.py | 2 +- vrchatapi/model/create_avatar_request.py | 2 +- vrchatapi/model/create_file_request.py | 2 +- vrchatapi/model/create_file_version_request.py | 2 +- vrchatapi/model/create_world_request.py | 2 +- vrchatapi/model/current_user.py | 2 +- vrchatapi/model/deployment_group.py | 2 +- vrchatapi/model/developer_type.py | 2 +- vrchatapi/model/download_url_list.py | 2 +- vrchatapi/model/dynamic_content_row.py | 2 +- vrchatapi/model/error.py | 2 +- vrchatapi/model/favorite.py | 2 +- vrchatapi/model/favorite_group.py | 2 +- vrchatapi/model/favorite_group_id.py | 2 +- vrchatapi/model/favorite_group_visibility.py | 2 +- vrchatapi/model/favorite_id.py | 2 +- vrchatapi/model/favorite_type.py | 2 +- vrchatapi/model/file.py | 2 +- vrchatapi/model/file_data.py | 2 +- vrchatapi/model/file_id.py | 2 +- vrchatapi/model/file_status.py | 2 +- vrchatapi/model/file_upload_url.py | 2 +- vrchatapi/model/file_version.py | 2 +- vrchatapi/model/file_version_upload_status.py | 2 +- .../model/finish_file_data_upload_request.py | 2 +- vrchatapi/model/friend_status.py | 2 +- vrchatapi/model/info_push.py | 2 +- vrchatapi/model/info_push_data.py | 2 +- vrchatapi/model/info_push_data_article.py | 2 +- .../model/info_push_data_article_content.py | 2 +- vrchatapi/model/info_push_data_clickable.py | 2 +- vrchatapi/model/instance.py | 2 +- vrchatapi/model/instance_id.py | 2 +- vrchatapi/model/instance_platforms.py | 2 +- .../model/instance_short_name_response.py | 2 +- vrchatapi/model/instance_type.py | 2 +- vrchatapi/model/invite_message.py | 2 +- vrchatapi/model/invite_message_id.py | 2 +- vrchatapi/model/invite_message_type.py | 2 +- vrchatapi/model/invite_request.py | 2 +- vrchatapi/model/invite_response.py | 2 +- vrchatapi/model/license.py | 2 +- vrchatapi/model/license_action.py | 2 +- vrchatapi/model/license_group.py | 2 +- vrchatapi/model/license_group_id.py | 2 +- vrchatapi/model/license_type.py | 2 +- vrchatapi/model/limited_unity_package.py | 2 +- vrchatapi/model/limited_user.py | 2 +- vrchatapi/model/limited_world.py | 2 +- vrchatapi/model/mime_type.py | 2 +- vrchatapi/model/moderate_user_request.py | 2 +- vrchatapi/model/notification.py | 2 +- vrchatapi/model/notification_type.py | 2 +- vrchatapi/model/past_display_name.py | 2 +- vrchatapi/model/permission.py | 2 +- vrchatapi/model/permission_id.py | 2 +- vrchatapi/model/player_moderation.py | 2 +- vrchatapi/model/player_moderation_id.py | 2 +- vrchatapi/model/player_moderation_type.py | 2 +- vrchatapi/model/public_announcement.py | 2 +- vrchatapi/model/region.py | 2 +- vrchatapi/model/release_status.py | 2 +- vrchatapi/model/request_invite_request.py | 2 +- vrchatapi/model/response.py | 2 +- vrchatapi/model/sent_notification.py | 2 +- vrchatapi/model/subscription.py | 2 +- vrchatapi/model/subscription_period.py | 2 +- vrchatapi/model/success.py | 2 +- vrchatapi/model/tag.py | 2 +- vrchatapi/model/transaction.py | 2 +- vrchatapi/model/transaction_agreement.py | 2 +- vrchatapi/model/transaction_id.py | 2 +- vrchatapi/model/transaction_status.py | 2 +- vrchatapi/model/transaction_steam_info.py | 2 +- .../model/transaction_steam_wallet_info.py | 2 +- vrchatapi/model/two_factor_auth_code.py | 2 +- vrchatapi/model/unity_package.py | 2 +- vrchatapi/model/unity_package_id.py | 2 +- vrchatapi/model/update_avatar_request.py | 2 +- .../model/update_favorite_group_request.py | 2 +- .../model/update_invite_message_request.py | 2 +- vrchatapi/model/update_user_request.py | 2 +- vrchatapi/model/update_world_request.py | 2 +- vrchatapi/model/user.py | 2 +- vrchatapi/model/user_exists.py | 2 +- vrchatapi/model/user_state.py | 2 +- vrchatapi/model/user_status.py | 2 +- vrchatapi/model/user_subscription.py | 2 +- vrchatapi/model/verify2_fa_result.py | 2 +- vrchatapi/model/verify_auth_token_result.py | 2 +- vrchatapi/model/world.py | 18 ++++++------------ vrchatapi/model/world_id.py | 2 +- vrchatapi/model/world_metadata.py | 2 +- vrchatapi/model/world_publish_status.py | 2 +- vrchatapi/model_utils.py | 2 +- vrchatapi/rest.py | 2 +- 124 files changed, 132 insertions(+), 139 deletions(-) diff --git a/docs/AuthenticationApi.md b/docs/AuthenticationApi.md index d8405837..c9c6952d 100644 --- a/docs/AuthenticationApi.md +++ b/docs/AuthenticationApi.md @@ -192,7 +192,7 @@ Name | Type | Description | Notes Login and/or Get Current User Info -This endpoint does the following two operations: 1) Checks if you are already logged in by looking for a valid `auth` cookie. If you are have a valid auth cookie then no additional auth-related actions are taken. If you are **not** logged in then it will log you in with the `Authorization` header and set the `auth` cookie. The `auth` cookie will only be sent once. 2) If logged in, this function will also return the CurrentUser object containing detailed information about the currently logged in user. **WARNING: Session Limit:** Each authentication with login credentials counts as a separate session, out of which you have a limited amount. Make sure to save and reuse the `auth` cookie if you are often restarting the program. The provided API libraries automatically save cookies during runtime, but does not persist during restart. While it can be fine to use username/password during development, expect in production to very fast run into the rate-limit and be temporarily blocked from making new sessions until older ones expire. The exact number of simultaneous sessions is unknown/undisclosed. +This endpoint does the following two operations: 1) Checks if you are already logged in by looking for a valid `auth` cookie. If you are have a valid auth cookie then no additional auth-related actions are taken. If you are **not** logged in then it will log you in with the `Authorization` header and set the `auth` cookie. The `auth` cookie will only be sent once. 2) If logged in, this function will also return the CurrentUser object containing detailed information about the currently logged in user. The auth string after `Authorization: Basic {string}` is a base64-encoded string of the username and password, both individually url-encoded, and then joined with a colon. > base64(urlencode(username):urlencode(password)) **WARNING: Session Limit:** Each authentication with login credentials counts as a separate session, out of which you have a limited amount. Make sure to save and reuse the `auth` cookie if you are often restarting the program. The provided API libraries automatically save cookies during runtime, but does not persist during restart. While it can be fine to use username/password during development, expect in production to very fast run into the rate-limit and be temporarily blocked from making new sessions until older ones expire. The exact number of simultaneous sessions is unknown/undisclosed. ### Example diff --git a/docs/World.md b/docs/World.md index df673f48..453f2ff0 100644 --- a/docs/World.md +++ b/docs/World.md @@ -4,7 +4,6 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**asset_url** | **str** | Empty if unauthenticated. | **author_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | **author_name** | **str** | | **capacity** | **int** | | @@ -28,7 +27,7 @@ Name | Type | Description | Notes **version** | **int** | | defaults to 0 **visits** | **int** | | defaults to 0 **favorites** | **int** | | [optional] if omitted the server will use the default value of 0 -**instances** | **[[bool, date, datetime, dict, float, int, list, str, none_type]]** | | [optional] +**instances** | **[[{str: (bool, date, datetime, dict, float, int, list, str, none_type)}]]** | | [optional] **occupants** | **int** | | [optional] if omitted the server will use the default value of 0 **preview_youtube_id** | **str, none_type** | | [optional] **private_occupants** | **int** | | [optional] if omitted the server will use the default value of 0 diff --git a/setup.py b/setup.py index d6a78d81..506da3e4 100644 --- a/setup.py +++ b/setup.py @@ -64,7 +64,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -73,7 +73,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.7.4" +VERSION = "1.7.5" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index c0134e7d..9eb9d6c0 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index 252a4cbf..0e88fc18 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -529,7 +529,7 @@ def get_current_user( ): """Login and/or Get Current User Info # noqa: E501 - This endpoint does the following two operations: 1) Checks if you are already logged in by looking for a valid `auth` cookie. If you are have a valid auth cookie then no additional auth-related actions are taken. If you are **not** logged in then it will log you in with the `Authorization` header and set the `auth` cookie. The `auth` cookie will only be sent once. 2) If logged in, this function will also return the CurrentUser object containing detailed information about the currently logged in user. **WARNING: Session Limit:** Each authentication with login credentials counts as a separate session, out of which you have a limited amount. Make sure to save and reuse the `auth` cookie if you are often restarting the program. The provided API libraries automatically save cookies during runtime, but does not persist during restart. While it can be fine to use username/password during development, expect in production to very fast run into the rate-limit and be temporarily blocked from making new sessions until older ones expire. The exact number of simultaneous sessions is unknown/undisclosed. # noqa: E501 + This endpoint does the following two operations: 1) Checks if you are already logged in by looking for a valid `auth` cookie. If you are have a valid auth cookie then no additional auth-related actions are taken. If you are **not** logged in then it will log you in with the `Authorization` header and set the `auth` cookie. The `auth` cookie will only be sent once. 2) If logged in, this function will also return the CurrentUser object containing detailed information about the currently logged in user. The auth string after `Authorization: Basic {string}` is a base64-encoded string of the username and password, both individually url-encoded, and then joined with a colon. > base64(urlencode(username):urlencode(password)) **WARNING: Session Limit:** Each authentication with login credentials counts as a separate session, out of which you have a limited amount. Make sure to save and reuse the `auth` cookie if you are often restarting the program. The provided API libraries automatically save cookies during runtime, but does not persist during restart. While it can be fine to use username/password during development, expect in production to very fast run into the rate-limit and be temporarily blocked from making new sessions until older ones expire. The exact number of simultaneous sessions is unknown/undisclosed. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index 6fba642f..d82f4203 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index a8de134e..d1c241c8 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index 2b51c334..5b706f6e 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index fef4a88a..4fab2845 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index d7ef9f91..fa89c767 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 53481dd0..5dacb82b 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index a3103a88..ceacf279 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index fa5fc473..20c48dad 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index 09656494..41c1b08e 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index b208ee22..83e11d7d 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index 5860fb96..0db9bf9b 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index 67210735..ecc29419 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index abd89911..caa6ad7d 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index a8973e3a..c82455a9 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py.orig b/vrchatapi/api_client.py.orig index 0111a2c4..c11dec0d 100644 --- a/vrchatapi/api_client.py.orig +++ b/vrchatapi/api_client.py.orig @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index d35b2741..069b2a2b 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -455,7 +455,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.7.4\n"\ + "Version of the API: 1.7.5\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index 62ffac25..8fc3a8e3 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/add_favorite_request.py b/vrchatapi/model/add_favorite_request.py index f9131fe9..dcf0588c 100644 --- a/vrchatapi/model/add_favorite_request.py +++ b/vrchatapi/model/add_favorite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_config.py b/vrchatapi/model/api_config.py index e3de3fcf..2f32f5f8 100644 --- a/vrchatapi/model/api_config.py +++ b/vrchatapi/model/api_config.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_event_config.py b/vrchatapi/model/api_event_config.py index 4955094c..e4ac2a23 100644 --- a/vrchatapi/model/api_event_config.py +++ b/vrchatapi/model/api_event_config.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_health.py b/vrchatapi/model/api_health.py index 87abee07..a3e611b5 100644 --- a/vrchatapi/model/api_health.py +++ b/vrchatapi/model/api_health.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar.py b/vrchatapi/model/avatar.py index 0b91ce44..f9f53517 100644 --- a/vrchatapi/model/avatar.py +++ b/vrchatapi/model/avatar.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar_id.py b/vrchatapi/model/avatar_id.py index f049efac..b431121e 100644 --- a/vrchatapi/model/avatar_id.py +++ b/vrchatapi/model/avatar_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar_unity_package_url_object.py b/vrchatapi/model/avatar_unity_package_url_object.py index 3c3d5a69..8c8494b2 100644 --- a/vrchatapi/model/avatar_unity_package_url_object.py +++ b/vrchatapi/model/avatar_unity_package_url_object.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_avatar_request.py b/vrchatapi/model/create_avatar_request.py index 66e937f2..4f7f229f 100644 --- a/vrchatapi/model/create_avatar_request.py +++ b/vrchatapi/model/create_avatar_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_file_request.py b/vrchatapi/model/create_file_request.py index 29d92376..c9c35325 100644 --- a/vrchatapi/model/create_file_request.py +++ b/vrchatapi/model/create_file_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_file_version_request.py b/vrchatapi/model/create_file_version_request.py index e4be9799..0e64118c 100644 --- a/vrchatapi/model/create_file_version_request.py +++ b/vrchatapi/model/create_file_version_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_world_request.py b/vrchatapi/model/create_world_request.py index f7f2f104..bdd0eb43 100644 --- a/vrchatapi/model/create_world_request.py +++ b/vrchatapi/model/create_world_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/current_user.py b/vrchatapi/model/current_user.py index 83c485c9..4eb248f4 100644 --- a/vrchatapi/model/current_user.py +++ b/vrchatapi/model/current_user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/deployment_group.py b/vrchatapi/model/deployment_group.py index c342c519..c4518951 100644 --- a/vrchatapi/model/deployment_group.py +++ b/vrchatapi/model/deployment_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/developer_type.py b/vrchatapi/model/developer_type.py index b37316be..0d98ce19 100644 --- a/vrchatapi/model/developer_type.py +++ b/vrchatapi/model/developer_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/download_url_list.py b/vrchatapi/model/download_url_list.py index cbb01451..cff10bbe 100644 --- a/vrchatapi/model/download_url_list.py +++ b/vrchatapi/model/download_url_list.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/dynamic_content_row.py b/vrchatapi/model/dynamic_content_row.py index 1ecc89a8..7d119fa2 100644 --- a/vrchatapi/model/dynamic_content_row.py +++ b/vrchatapi/model/dynamic_content_row.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/error.py b/vrchatapi/model/error.py index 21a61c9a..4569850d 100644 --- a/vrchatapi/model/error.py +++ b/vrchatapi/model/error.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite.py b/vrchatapi/model/favorite.py index a62d6b56..758eac67 100644 --- a/vrchatapi/model/favorite.py +++ b/vrchatapi/model/favorite.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group.py b/vrchatapi/model/favorite_group.py index 99d542f6..35c7d5d5 100644 --- a/vrchatapi/model/favorite_group.py +++ b/vrchatapi/model/favorite_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group_id.py b/vrchatapi/model/favorite_group_id.py index 5d4f2880..8521649b 100644 --- a/vrchatapi/model/favorite_group_id.py +++ b/vrchatapi/model/favorite_group_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group_visibility.py b/vrchatapi/model/favorite_group_visibility.py index 6d61b59d..80c33890 100644 --- a/vrchatapi/model/favorite_group_visibility.py +++ b/vrchatapi/model/favorite_group_visibility.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_id.py b/vrchatapi/model/favorite_id.py index 374a4053..055e3661 100644 --- a/vrchatapi/model/favorite_id.py +++ b/vrchatapi/model/favorite_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_type.py b/vrchatapi/model/favorite_type.py index 2dab1b2b..acad262e 100644 --- a/vrchatapi/model/favorite_type.py +++ b/vrchatapi/model/favorite_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file.py b/vrchatapi/model/file.py index c8d6c31c..97defd53 100644 --- a/vrchatapi/model/file.py +++ b/vrchatapi/model/file.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_data.py b/vrchatapi/model/file_data.py index 6e6984ec..e232014f 100644 --- a/vrchatapi/model/file_data.py +++ b/vrchatapi/model/file_data.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_id.py b/vrchatapi/model/file_id.py index 289ee13b..45c676fc 100644 --- a/vrchatapi/model/file_id.py +++ b/vrchatapi/model/file_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_status.py b/vrchatapi/model/file_status.py index b03c2cd9..5c59430e 100644 --- a/vrchatapi/model/file_status.py +++ b/vrchatapi/model/file_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_upload_url.py b/vrchatapi/model/file_upload_url.py index 91338652..b14aa091 100644 --- a/vrchatapi/model/file_upload_url.py +++ b/vrchatapi/model/file_upload_url.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_version.py b/vrchatapi/model/file_version.py index 35185f13..79038d22 100644 --- a/vrchatapi/model/file_version.py +++ b/vrchatapi/model/file_version.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_version_upload_status.py b/vrchatapi/model/file_version_upload_status.py index ef4da805..12f45b41 100644 --- a/vrchatapi/model/file_version_upload_status.py +++ b/vrchatapi/model/file_version_upload_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/finish_file_data_upload_request.py b/vrchatapi/model/finish_file_data_upload_request.py index c68d9930..a8098657 100644 --- a/vrchatapi/model/finish_file_data_upload_request.py +++ b/vrchatapi/model/finish_file_data_upload_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/friend_status.py b/vrchatapi/model/friend_status.py index 8466314e..c492e7b0 100644 --- a/vrchatapi/model/friend_status.py +++ b/vrchatapi/model/friend_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push.py b/vrchatapi/model/info_push.py index 93d005a9..452dc255 100644 --- a/vrchatapi/model/info_push.py +++ b/vrchatapi/model/info_push.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data.py b/vrchatapi/model/info_push_data.py index 167e9ced..9852f826 100644 --- a/vrchatapi/model/info_push_data.py +++ b/vrchatapi/model/info_push_data.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_article.py b/vrchatapi/model/info_push_data_article.py index a11f1174..f038e6c2 100644 --- a/vrchatapi/model/info_push_data_article.py +++ b/vrchatapi/model/info_push_data_article.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_article_content.py b/vrchatapi/model/info_push_data_article_content.py index eae59000..2f94afc5 100644 --- a/vrchatapi/model/info_push_data_article_content.py +++ b/vrchatapi/model/info_push_data_article_content.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_clickable.py b/vrchatapi/model/info_push_data_clickable.py index 95de3fb2..3dd66858 100644 --- a/vrchatapi/model/info_push_data_clickable.py +++ b/vrchatapi/model/info_push_data_clickable.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance.py b/vrchatapi/model/instance.py index 348e8635..65394f61 100644 --- a/vrchatapi/model/instance.py +++ b/vrchatapi/model/instance.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_id.py b/vrchatapi/model/instance_id.py index 3f5dcaeb..d348522e 100644 --- a/vrchatapi/model/instance_id.py +++ b/vrchatapi/model/instance_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_platforms.py b/vrchatapi/model/instance_platforms.py index 7e46e28a..28db7e9c 100644 --- a/vrchatapi/model/instance_platforms.py +++ b/vrchatapi/model/instance_platforms.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_short_name_response.py b/vrchatapi/model/instance_short_name_response.py index 90ae51fd..378be3ae 100644 --- a/vrchatapi/model/instance_short_name_response.py +++ b/vrchatapi/model/instance_short_name_response.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_type.py b/vrchatapi/model/instance_type.py index 9bdced5f..e43575bf 100644 --- a/vrchatapi/model/instance_type.py +++ b/vrchatapi/model/instance_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message.py b/vrchatapi/model/invite_message.py index f1f551cf..d35e4e0d 100644 --- a/vrchatapi/model/invite_message.py +++ b/vrchatapi/model/invite_message.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message_id.py b/vrchatapi/model/invite_message_id.py index da67ac08..c8988c67 100644 --- a/vrchatapi/model/invite_message_id.py +++ b/vrchatapi/model/invite_message_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message_type.py b/vrchatapi/model/invite_message_type.py index 368a8bfd..b09b6cc6 100644 --- a/vrchatapi/model/invite_message_type.py +++ b/vrchatapi/model/invite_message_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_request.py b/vrchatapi/model/invite_request.py index 73955b73..be225bb6 100644 --- a/vrchatapi/model/invite_request.py +++ b/vrchatapi/model/invite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_response.py b/vrchatapi/model/invite_response.py index 359a58e2..f867d611 100644 --- a/vrchatapi/model/invite_response.py +++ b/vrchatapi/model/invite_response.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license.py b/vrchatapi/model/license.py index 67aa55ae..d99df4ff 100644 --- a/vrchatapi/model/license.py +++ b/vrchatapi/model/license.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_action.py b/vrchatapi/model/license_action.py index 14cb7c5f..90ef8572 100644 --- a/vrchatapi/model/license_action.py +++ b/vrchatapi/model/license_action.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_group.py b/vrchatapi/model/license_group.py index 5545c8f5..87ae70f2 100644 --- a/vrchatapi/model/license_group.py +++ b/vrchatapi/model/license_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_group_id.py b/vrchatapi/model/license_group_id.py index 0acea482..68e3629e 100644 --- a/vrchatapi/model/license_group_id.py +++ b/vrchatapi/model/license_group_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_type.py b/vrchatapi/model/license_type.py index 431572df..4ce976c0 100644 --- a/vrchatapi/model/license_type.py +++ b/vrchatapi/model/license_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_unity_package.py b/vrchatapi/model/limited_unity_package.py index 234d95a1..469b39ee 100644 --- a/vrchatapi/model/limited_unity_package.py +++ b/vrchatapi/model/limited_unity_package.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_user.py b/vrchatapi/model/limited_user.py index 10450c9d..2d7db183 100644 --- a/vrchatapi/model/limited_user.py +++ b/vrchatapi/model/limited_user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_world.py b/vrchatapi/model/limited_world.py index 207d4ac0..6596f17b 100644 --- a/vrchatapi/model/limited_world.py +++ b/vrchatapi/model/limited_world.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/mime_type.py b/vrchatapi/model/mime_type.py index 14b4e102..5dc34c78 100644 --- a/vrchatapi/model/mime_type.py +++ b/vrchatapi/model/mime_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/moderate_user_request.py b/vrchatapi/model/moderate_user_request.py index 9aad0a98..4aad2904 100644 --- a/vrchatapi/model/moderate_user_request.py +++ b/vrchatapi/model/moderate_user_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/notification.py b/vrchatapi/model/notification.py index 987fc75b..8c10a0d4 100644 --- a/vrchatapi/model/notification.py +++ b/vrchatapi/model/notification.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/notification_type.py b/vrchatapi/model/notification_type.py index 5b389d3a..3066a5cc 100644 --- a/vrchatapi/model/notification_type.py +++ b/vrchatapi/model/notification_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/past_display_name.py b/vrchatapi/model/past_display_name.py index ff6a35f8..4de1b11b 100644 --- a/vrchatapi/model/past_display_name.py +++ b/vrchatapi/model/past_display_name.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/permission.py b/vrchatapi/model/permission.py index 33fd7639..2caaa3bb 100644 --- a/vrchatapi/model/permission.py +++ b/vrchatapi/model/permission.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/permission_id.py b/vrchatapi/model/permission_id.py index 1c59c610..0e2ce342 100644 --- a/vrchatapi/model/permission_id.py +++ b/vrchatapi/model/permission_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation.py b/vrchatapi/model/player_moderation.py index 7d32bf82..f83d1a34 100644 --- a/vrchatapi/model/player_moderation.py +++ b/vrchatapi/model/player_moderation.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation_id.py b/vrchatapi/model/player_moderation_id.py index 03deec72..bf30dff6 100644 --- a/vrchatapi/model/player_moderation_id.py +++ b/vrchatapi/model/player_moderation_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation_type.py b/vrchatapi/model/player_moderation_type.py index 4b909913..14002585 100644 --- a/vrchatapi/model/player_moderation_type.py +++ b/vrchatapi/model/player_moderation_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/public_announcement.py b/vrchatapi/model/public_announcement.py index 3aad6de6..4ae74aba 100644 --- a/vrchatapi/model/public_announcement.py +++ b/vrchatapi/model/public_announcement.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/region.py b/vrchatapi/model/region.py index 753f5e52..917820bc 100644 --- a/vrchatapi/model/region.py +++ b/vrchatapi/model/region.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/release_status.py b/vrchatapi/model/release_status.py index 19a3fabe..fb619f31 100644 --- a/vrchatapi/model/release_status.py +++ b/vrchatapi/model/release_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/request_invite_request.py b/vrchatapi/model/request_invite_request.py index 9bb26c73..ae207ee7 100644 --- a/vrchatapi/model/request_invite_request.py +++ b/vrchatapi/model/request_invite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/response.py b/vrchatapi/model/response.py index 62f10a85..05d34862 100644 --- a/vrchatapi/model/response.py +++ b/vrchatapi/model/response.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/sent_notification.py b/vrchatapi/model/sent_notification.py index 677ddf10..ee72f3cf 100644 --- a/vrchatapi/model/sent_notification.py +++ b/vrchatapi/model/sent_notification.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/subscription.py b/vrchatapi/model/subscription.py index 6c09ff0d..45c7ad81 100644 --- a/vrchatapi/model/subscription.py +++ b/vrchatapi/model/subscription.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/subscription_period.py b/vrchatapi/model/subscription_period.py index 53543c15..5444f3dd 100644 --- a/vrchatapi/model/subscription_period.py +++ b/vrchatapi/model/subscription_period.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/success.py b/vrchatapi/model/success.py index ef013443..76b02f5e 100644 --- a/vrchatapi/model/success.py +++ b/vrchatapi/model/success.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/tag.py b/vrchatapi/model/tag.py index 319a9f4c..fa86d8af 100644 --- a/vrchatapi/model/tag.py +++ b/vrchatapi/model/tag.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction.py b/vrchatapi/model/transaction.py index 36e17ce0..605051e9 100644 --- a/vrchatapi/model/transaction.py +++ b/vrchatapi/model/transaction.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_agreement.py b/vrchatapi/model/transaction_agreement.py index b4b34aa7..11e2fcad 100644 --- a/vrchatapi/model/transaction_agreement.py +++ b/vrchatapi/model/transaction_agreement.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_id.py b/vrchatapi/model/transaction_id.py index c529980f..a81f442d 100644 --- a/vrchatapi/model/transaction_id.py +++ b/vrchatapi/model/transaction_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_status.py b/vrchatapi/model/transaction_status.py index 02751d9f..cdef1698 100644 --- a/vrchatapi/model/transaction_status.py +++ b/vrchatapi/model/transaction_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_steam_info.py b/vrchatapi/model/transaction_steam_info.py index 87f049a1..ceb75e81 100644 --- a/vrchatapi/model/transaction_steam_info.py +++ b/vrchatapi/model/transaction_steam_info.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_steam_wallet_info.py b/vrchatapi/model/transaction_steam_wallet_info.py index e34dc1ae..a4ac30a4 100644 --- a/vrchatapi/model/transaction_steam_wallet_info.py +++ b/vrchatapi/model/transaction_steam_wallet_info.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/two_factor_auth_code.py b/vrchatapi/model/two_factor_auth_code.py index 2e63a34f..6b184dd7 100644 --- a/vrchatapi/model/two_factor_auth_code.py +++ b/vrchatapi/model/two_factor_auth_code.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/unity_package.py b/vrchatapi/model/unity_package.py index e0205657..67684d68 100644 --- a/vrchatapi/model/unity_package.py +++ b/vrchatapi/model/unity_package.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/unity_package_id.py b/vrchatapi/model/unity_package_id.py index b42be944..c5c27e18 100644 --- a/vrchatapi/model/unity_package_id.py +++ b/vrchatapi/model/unity_package_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_avatar_request.py b/vrchatapi/model/update_avatar_request.py index 77787690..b4e787c4 100644 --- a/vrchatapi/model/update_avatar_request.py +++ b/vrchatapi/model/update_avatar_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_favorite_group_request.py b/vrchatapi/model/update_favorite_group_request.py index fab4d925..2039976e 100644 --- a/vrchatapi/model/update_favorite_group_request.py +++ b/vrchatapi/model/update_favorite_group_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_invite_message_request.py b/vrchatapi/model/update_invite_message_request.py index e964c378..f6846984 100644 --- a/vrchatapi/model/update_invite_message_request.py +++ b/vrchatapi/model/update_invite_message_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_user_request.py b/vrchatapi/model/update_user_request.py index 7d8cb7ce..75ac9d5c 100644 --- a/vrchatapi/model/update_user_request.py +++ b/vrchatapi/model/update_user_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_world_request.py b/vrchatapi/model/update_world_request.py index 1d1dda65..14860e87 100644 --- a/vrchatapi/model/update_world_request.py +++ b/vrchatapi/model/update_world_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user.py b/vrchatapi/model/user.py index 03d30e1a..8b791b08 100644 --- a/vrchatapi/model/user.py +++ b/vrchatapi/model/user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_exists.py b/vrchatapi/model/user_exists.py index cb29aefd..4effb555 100644 --- a/vrchatapi/model/user_exists.py +++ b/vrchatapi/model/user_exists.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_state.py b/vrchatapi/model/user_state.py index f2cf6a3e..c56a1647 100644 --- a/vrchatapi/model/user_state.py +++ b/vrchatapi/model/user_state.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_status.py b/vrchatapi/model/user_status.py index a56473ec..19eba3cc 100644 --- a/vrchatapi/model/user_status.py +++ b/vrchatapi/model/user_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_subscription.py b/vrchatapi/model/user_subscription.py index 68e7f4b1..3a5e6a8d 100644 --- a/vrchatapi/model/user_subscription.py +++ b/vrchatapi/model/user_subscription.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/verify2_fa_result.py b/vrchatapi/model/verify2_fa_result.py index 4fe323ca..980c7aab 100644 --- a/vrchatapi/model/verify2_fa_result.py +++ b/vrchatapi/model/verify2_fa_result.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/verify_auth_token_result.py b/vrchatapi/model/verify_auth_token_result.py index d06b4d3b..2424638c 100644 --- a/vrchatapi/model/verify_auth_token_result.py +++ b/vrchatapi/model/verify_auth_token_result.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world.py b/vrchatapi/model/world.py index 9d66167b..955ef870 100644 --- a/vrchatapi/model/world.py +++ b/vrchatapi/model/world.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -145,7 +145,6 @@ def openapi_types(): """ lazy_import() return { - 'asset_url': (str,), # noqa: E501 'author_id': (str,), # noqa: E501 'author_name': (str,), # noqa: E501 'capacity': (int,), # noqa: E501 @@ -169,7 +168,7 @@ def openapi_types(): 'version': (int,), # noqa: E501 'visits': (int,), # noqa: E501 'favorites': (int,), # noqa: E501 - 'instances': ([[bool, date, datetime, dict, float, int, list, str, none_type]],), # noqa: E501 + 'instances': ([[{str: (bool, date, datetime, dict, float, int, list, str, none_type)}]],), # noqa: E501 'occupants': (int,), # noqa: E501 'preview_youtube_id': (str, none_type,), # noqa: E501 'private_occupants': (int,), # noqa: E501 @@ -182,7 +181,6 @@ def discriminator(): attribute_map = { - 'asset_url': 'assetUrl', # noqa: E501 'author_id': 'authorId', # noqa: E501 'author_name': 'authorName', # noqa: E501 'capacity': 'capacity', # noqa: E501 @@ -220,11 +218,10 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, asset_url, author_id, author_name, capacity, created_at, description, id, image_url, labs_publication_date, name, namespace, publication_date, release_status, tags, thumbnail_image_url, unity_packages, updated_at, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, author_id, author_name, capacity, created_at, description, id, image_url, labs_publication_date, name, namespace, publication_date, release_status, tags, thumbnail_image_url, unity_packages, updated_at, *args, **kwargs): # noqa: E501 """World - a model defined in OpenAPI Args: - asset_url (str): Empty if unauthenticated. author_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. author_name (str): capacity (int): @@ -280,7 +277,7 @@ def _from_openapi_data(cls, asset_url, author_id, author_name, capacity, created through its discriminator because we passed in _visited_composed_classes = (Animal,) favorites (int): [optional] if omitted the server will use the default value of 0 # noqa: E501 - instances ([[bool, date, datetime, dict, float, int, list, str, none_type]]): [optional] # noqa: E501 + instances ([[{str: (bool, date, datetime, dict, float, int, list, str, none_type)}]]): [optional] # noqa: E501 occupants (int): [optional] if omitted the server will use the default value of 0 # noqa: E501 preview_youtube_id (str, none_type): [optional] # noqa: E501 private_occupants (int): [optional] if omitted the server will use the default value of 0 # noqa: E501 @@ -318,7 +315,6 @@ def _from_openapi_data(cls, asset_url, author_id, author_name, capacity, created self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.asset_url = asset_url self.author_id = author_id self.author_name = author_name self.capacity = capacity @@ -361,11 +357,10 @@ def _from_openapi_data(cls, asset_url, author_id, author_name, capacity, created ]) @convert_js_args_to_python_args - def __init__(self, asset_url, author_id, author_name, capacity, created_at, description, id, image_url, labs_publication_date, name, namespace, publication_date, release_status, tags, thumbnail_image_url, unity_packages, updated_at, *args, **kwargs): # noqa: E501 + def __init__(self, author_id, author_name, capacity, created_at, description, id, image_url, labs_publication_date, name, namespace, publication_date, release_status, tags, thumbnail_image_url, unity_packages, updated_at, *args, **kwargs): # noqa: E501 """World - a model defined in OpenAPI Args: - asset_url (str): Empty if unauthenticated. author_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. author_name (str): capacity (int): @@ -421,7 +416,7 @@ def __init__(self, asset_url, author_id, author_name, capacity, created_at, desc through its discriminator because we passed in _visited_composed_classes = (Animal,) favorites (int): [optional] if omitted the server will use the default value of 0 # noqa: E501 - instances ([[bool, date, datetime, dict, float, int, list, str, none_type]]): [optional] # noqa: E501 + instances ([[{str: (bool, date, datetime, dict, float, int, list, str, none_type)}]]): [optional] # noqa: E501 occupants (int): [optional] if omitted the server will use the default value of 0 # noqa: E501 preview_youtube_id (str, none_type): [optional] # noqa: E501 private_occupants (int): [optional] if omitted the server will use the default value of 0 # noqa: E501 @@ -457,7 +452,6 @@ def __init__(self, asset_url, author_id, author_name, capacity, created_at, desc self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.asset_url = asset_url self.author_id = author_id self.author_name = author_name self.capacity = capacity diff --git a/vrchatapi/model/world_id.py b/vrchatapi/model/world_id.py index b6605fd3..4acea11d 100644 --- a/vrchatapi/model/world_id.py +++ b/vrchatapi/model/world_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_metadata.py b/vrchatapi/model/world_metadata.py index b83d01ae..985d3806 100644 --- a/vrchatapi/model/world_metadata.py +++ b/vrchatapi/model/world_metadata.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_publish_status.py b/vrchatapi/model/world_publish_status.py index 85d2ad89..3dd379aa 100644 --- a/vrchatapi/model/world_publish_status.py +++ b/vrchatapi/model/world_publish_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model_utils.py b/vrchatapi/model_utils.py index d73436dc..9178f8d6 100644 --- a/vrchatapi/model_utils.py +++ b/vrchatapi/model_utils.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index 044cc2bf..f8e07bc1 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.4 + The version of the OpenAPI document: 1.7.5 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ From 94f2583a9442f8d01f85ad04634c12ef50d72fc2 Mon Sep 17 00:00:00 2001 From: VRCCat Date: Tue, 11 Oct 2022 21:17:36 +0000 Subject: [PATCH 014/102] Upgrade Python SDK to spec 1.7.6 --- docs/World.md | 2 +- setup.py | 4 ++-- vrchatapi/__init__.py | 2 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/api_client.py.orig | 2 +- vrchatapi/configuration.py | 4 ++-- vrchatapi/exceptions.py | 2 +- vrchatapi/model/add_favorite_request.py | 2 +- vrchatapi/model/api_config.py | 2 +- vrchatapi/model/api_event_config.py | 2 +- vrchatapi/model/api_health.py | 2 +- vrchatapi/model/avatar.py | 2 +- vrchatapi/model/avatar_id.py | 2 +- vrchatapi/model/avatar_unity_package_url_object.py | 2 +- vrchatapi/model/create_avatar_request.py | 2 +- vrchatapi/model/create_file_request.py | 2 +- vrchatapi/model/create_file_version_request.py | 2 +- vrchatapi/model/create_world_request.py | 2 +- vrchatapi/model/current_user.py | 2 +- vrchatapi/model/deployment_group.py | 2 +- vrchatapi/model/developer_type.py | 2 +- vrchatapi/model/download_url_list.py | 2 +- vrchatapi/model/dynamic_content_row.py | 2 +- vrchatapi/model/error.py | 2 +- vrchatapi/model/favorite.py | 2 +- vrchatapi/model/favorite_group.py | 2 +- vrchatapi/model/favorite_group_id.py | 2 +- vrchatapi/model/favorite_group_visibility.py | 2 +- vrchatapi/model/favorite_id.py | 2 +- vrchatapi/model/favorite_type.py | 2 +- vrchatapi/model/file.py | 2 +- vrchatapi/model/file_data.py | 2 +- vrchatapi/model/file_id.py | 2 +- vrchatapi/model/file_status.py | 2 +- vrchatapi/model/file_upload_url.py | 2 +- vrchatapi/model/file_version.py | 2 +- vrchatapi/model/file_version_upload_status.py | 2 +- vrchatapi/model/finish_file_data_upload_request.py | 2 +- vrchatapi/model/friend_status.py | 2 +- vrchatapi/model/info_push.py | 2 +- vrchatapi/model/info_push_data.py | 2 +- vrchatapi/model/info_push_data_article.py | 2 +- vrchatapi/model/info_push_data_article_content.py | 2 +- vrchatapi/model/info_push_data_clickable.py | 2 +- vrchatapi/model/instance.py | 2 +- vrchatapi/model/instance_id.py | 2 +- vrchatapi/model/instance_platforms.py | 2 +- vrchatapi/model/instance_short_name_response.py | 2 +- vrchatapi/model/instance_type.py | 2 +- vrchatapi/model/invite_message.py | 2 +- vrchatapi/model/invite_message_id.py | 2 +- vrchatapi/model/invite_message_type.py | 2 +- vrchatapi/model/invite_request.py | 2 +- vrchatapi/model/invite_response.py | 2 +- vrchatapi/model/license.py | 2 +- vrchatapi/model/license_action.py | 2 +- vrchatapi/model/license_group.py | 2 +- vrchatapi/model/license_group_id.py | 2 +- vrchatapi/model/license_type.py | 2 +- vrchatapi/model/limited_unity_package.py | 2 +- vrchatapi/model/limited_user.py | 2 +- vrchatapi/model/limited_world.py | 2 +- vrchatapi/model/mime_type.py | 2 +- vrchatapi/model/moderate_user_request.py | 2 +- vrchatapi/model/notification.py | 2 +- vrchatapi/model/notification_type.py | 2 +- vrchatapi/model/past_display_name.py | 2 +- vrchatapi/model/permission.py | 2 +- vrchatapi/model/permission_id.py | 2 +- vrchatapi/model/player_moderation.py | 2 +- vrchatapi/model/player_moderation_id.py | 2 +- vrchatapi/model/player_moderation_type.py | 2 +- vrchatapi/model/public_announcement.py | 2 +- vrchatapi/model/region.py | 2 +- vrchatapi/model/release_status.py | 2 +- vrchatapi/model/request_invite_request.py | 2 +- vrchatapi/model/response.py | 2 +- vrchatapi/model/sent_notification.py | 2 +- vrchatapi/model/subscription.py | 2 +- vrchatapi/model/subscription_period.py | 2 +- vrchatapi/model/success.py | 2 +- vrchatapi/model/tag.py | 2 +- vrchatapi/model/transaction.py | 2 +- vrchatapi/model/transaction_agreement.py | 2 +- vrchatapi/model/transaction_id.py | 2 +- vrchatapi/model/transaction_status.py | 2 +- vrchatapi/model/transaction_steam_info.py | 2 +- vrchatapi/model/transaction_steam_wallet_info.py | 2 +- vrchatapi/model/two_factor_auth_code.py | 2 +- vrchatapi/model/unity_package.py | 2 +- vrchatapi/model/unity_package_id.py | 2 +- vrchatapi/model/update_avatar_request.py | 2 +- vrchatapi/model/update_favorite_group_request.py | 2 +- vrchatapi/model/update_invite_message_request.py | 2 +- vrchatapi/model/update_user_request.py | 2 +- vrchatapi/model/update_world_request.py | 2 +- vrchatapi/model/user.py | 2 +- vrchatapi/model/user_exists.py | 2 +- vrchatapi/model/user_state.py | 2 +- vrchatapi/model/user_status.py | 2 +- vrchatapi/model/user_subscription.py | 2 +- vrchatapi/model/verify2_fa_result.py | 2 +- vrchatapi/model/verify_auth_token_result.py | 2 +- vrchatapi/model/world.py | 8 ++++---- vrchatapi/model/world_id.py | 2 +- vrchatapi/model/world_metadata.py | 2 +- vrchatapi/model/world_publish_status.py | 2 +- vrchatapi/model_utils.py | 2 +- vrchatapi/rest.py | 2 +- 123 files changed, 128 insertions(+), 128 deletions(-) diff --git a/docs/World.md b/docs/World.md index 453f2ff0..35b591bf 100644 --- a/docs/World.md +++ b/docs/World.md @@ -27,7 +27,7 @@ Name | Type | Description | Notes **version** | **int** | | defaults to 0 **visits** | **int** | | defaults to 0 **favorites** | **int** | | [optional] if omitted the server will use the default value of 0 -**instances** | **[[{str: (bool, date, datetime, dict, float, int, list, str, none_type)}]]** | | [optional] +**instances** | **[[bool, date, datetime, dict, float, int, list, str, none_type]]** | | [optional] **occupants** | **int** | | [optional] if omitted the server will use the default value of 0 **preview_youtube_id** | **str, none_type** | | [optional] **private_occupants** | **int** | | [optional] if omitted the server will use the default value of 0 diff --git a/setup.py b/setup.py index 506da3e4..eab1b9d3 100644 --- a/setup.py +++ b/setup.py @@ -64,7 +64,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -73,7 +73,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.7.5" +VERSION = "1.7.6" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 9eb9d6c0..e5955c92 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index 0e88fc18..526505dc 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index d82f4203..eed50c67 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index d1c241c8..8172cdf6 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index 5b706f6e..4125d76f 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index 4fab2845..c8ab738b 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index fa89c767..7de558c0 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 5dacb82b..34eb4028 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index ceacf279..bc089229 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index 20c48dad..609acab8 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index 41c1b08e..35d4e60a 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index 83e11d7d..e92efc87 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index 0db9bf9b..500c9304 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index ecc29419..bbe50cbc 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index caa6ad7d..67e98ca9 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index c82455a9..2b0f545d 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py.orig b/vrchatapi/api_client.py.orig index c11dec0d..d0f6e568 100644 --- a/vrchatapi/api_client.py.orig +++ b/vrchatapi/api_client.py.orig @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index 069b2a2b..5c2d66e9 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -455,7 +455,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.7.5\n"\ + "Version of the API: 1.7.6\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index 8fc3a8e3..caf4af65 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/add_favorite_request.py b/vrchatapi/model/add_favorite_request.py index dcf0588c..c6f4bae5 100644 --- a/vrchatapi/model/add_favorite_request.py +++ b/vrchatapi/model/add_favorite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_config.py b/vrchatapi/model/api_config.py index 2f32f5f8..6e0cbf47 100644 --- a/vrchatapi/model/api_config.py +++ b/vrchatapi/model/api_config.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_event_config.py b/vrchatapi/model/api_event_config.py index e4ac2a23..cdeb35b3 100644 --- a/vrchatapi/model/api_event_config.py +++ b/vrchatapi/model/api_event_config.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_health.py b/vrchatapi/model/api_health.py index a3e611b5..d1719fce 100644 --- a/vrchatapi/model/api_health.py +++ b/vrchatapi/model/api_health.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar.py b/vrchatapi/model/avatar.py index f9f53517..c338e711 100644 --- a/vrchatapi/model/avatar.py +++ b/vrchatapi/model/avatar.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar_id.py b/vrchatapi/model/avatar_id.py index b431121e..48f5a557 100644 --- a/vrchatapi/model/avatar_id.py +++ b/vrchatapi/model/avatar_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar_unity_package_url_object.py b/vrchatapi/model/avatar_unity_package_url_object.py index 8c8494b2..76164e48 100644 --- a/vrchatapi/model/avatar_unity_package_url_object.py +++ b/vrchatapi/model/avatar_unity_package_url_object.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_avatar_request.py b/vrchatapi/model/create_avatar_request.py index 4f7f229f..6ac21ed5 100644 --- a/vrchatapi/model/create_avatar_request.py +++ b/vrchatapi/model/create_avatar_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_file_request.py b/vrchatapi/model/create_file_request.py index c9c35325..0ea41058 100644 --- a/vrchatapi/model/create_file_request.py +++ b/vrchatapi/model/create_file_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_file_version_request.py b/vrchatapi/model/create_file_version_request.py index 0e64118c..4f3d76a6 100644 --- a/vrchatapi/model/create_file_version_request.py +++ b/vrchatapi/model/create_file_version_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_world_request.py b/vrchatapi/model/create_world_request.py index bdd0eb43..219acf9a 100644 --- a/vrchatapi/model/create_world_request.py +++ b/vrchatapi/model/create_world_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/current_user.py b/vrchatapi/model/current_user.py index 4eb248f4..55ea98a0 100644 --- a/vrchatapi/model/current_user.py +++ b/vrchatapi/model/current_user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/deployment_group.py b/vrchatapi/model/deployment_group.py index c4518951..8c9fc9e3 100644 --- a/vrchatapi/model/deployment_group.py +++ b/vrchatapi/model/deployment_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/developer_type.py b/vrchatapi/model/developer_type.py index 0d98ce19..ca24a59f 100644 --- a/vrchatapi/model/developer_type.py +++ b/vrchatapi/model/developer_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/download_url_list.py b/vrchatapi/model/download_url_list.py index cff10bbe..19b04adf 100644 --- a/vrchatapi/model/download_url_list.py +++ b/vrchatapi/model/download_url_list.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/dynamic_content_row.py b/vrchatapi/model/dynamic_content_row.py index 7d119fa2..cd6c1d1f 100644 --- a/vrchatapi/model/dynamic_content_row.py +++ b/vrchatapi/model/dynamic_content_row.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/error.py b/vrchatapi/model/error.py index 4569850d..381a95d4 100644 --- a/vrchatapi/model/error.py +++ b/vrchatapi/model/error.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite.py b/vrchatapi/model/favorite.py index 758eac67..e81f6468 100644 --- a/vrchatapi/model/favorite.py +++ b/vrchatapi/model/favorite.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group.py b/vrchatapi/model/favorite_group.py index 35c7d5d5..66b0e671 100644 --- a/vrchatapi/model/favorite_group.py +++ b/vrchatapi/model/favorite_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group_id.py b/vrchatapi/model/favorite_group_id.py index 8521649b..66bb3f25 100644 --- a/vrchatapi/model/favorite_group_id.py +++ b/vrchatapi/model/favorite_group_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group_visibility.py b/vrchatapi/model/favorite_group_visibility.py index 80c33890..04a6f376 100644 --- a/vrchatapi/model/favorite_group_visibility.py +++ b/vrchatapi/model/favorite_group_visibility.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_id.py b/vrchatapi/model/favorite_id.py index 055e3661..171f0981 100644 --- a/vrchatapi/model/favorite_id.py +++ b/vrchatapi/model/favorite_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_type.py b/vrchatapi/model/favorite_type.py index acad262e..51fc5260 100644 --- a/vrchatapi/model/favorite_type.py +++ b/vrchatapi/model/favorite_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file.py b/vrchatapi/model/file.py index 97defd53..6d16a718 100644 --- a/vrchatapi/model/file.py +++ b/vrchatapi/model/file.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_data.py b/vrchatapi/model/file_data.py index e232014f..85ae1499 100644 --- a/vrchatapi/model/file_data.py +++ b/vrchatapi/model/file_data.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_id.py b/vrchatapi/model/file_id.py index 45c676fc..337ac138 100644 --- a/vrchatapi/model/file_id.py +++ b/vrchatapi/model/file_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_status.py b/vrchatapi/model/file_status.py index 5c59430e..f1a1ce82 100644 --- a/vrchatapi/model/file_status.py +++ b/vrchatapi/model/file_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_upload_url.py b/vrchatapi/model/file_upload_url.py index b14aa091..989b6487 100644 --- a/vrchatapi/model/file_upload_url.py +++ b/vrchatapi/model/file_upload_url.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_version.py b/vrchatapi/model/file_version.py index 79038d22..908364ee 100644 --- a/vrchatapi/model/file_version.py +++ b/vrchatapi/model/file_version.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_version_upload_status.py b/vrchatapi/model/file_version_upload_status.py index 12f45b41..579d3153 100644 --- a/vrchatapi/model/file_version_upload_status.py +++ b/vrchatapi/model/file_version_upload_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/finish_file_data_upload_request.py b/vrchatapi/model/finish_file_data_upload_request.py index a8098657..5e8575cf 100644 --- a/vrchatapi/model/finish_file_data_upload_request.py +++ b/vrchatapi/model/finish_file_data_upload_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/friend_status.py b/vrchatapi/model/friend_status.py index c492e7b0..0450d091 100644 --- a/vrchatapi/model/friend_status.py +++ b/vrchatapi/model/friend_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push.py b/vrchatapi/model/info_push.py index 452dc255..43dcf98f 100644 --- a/vrchatapi/model/info_push.py +++ b/vrchatapi/model/info_push.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data.py b/vrchatapi/model/info_push_data.py index 9852f826..ef24741a 100644 --- a/vrchatapi/model/info_push_data.py +++ b/vrchatapi/model/info_push_data.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_article.py b/vrchatapi/model/info_push_data_article.py index f038e6c2..33f21756 100644 --- a/vrchatapi/model/info_push_data_article.py +++ b/vrchatapi/model/info_push_data_article.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_article_content.py b/vrchatapi/model/info_push_data_article_content.py index 2f94afc5..d67d39b1 100644 --- a/vrchatapi/model/info_push_data_article_content.py +++ b/vrchatapi/model/info_push_data_article_content.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_clickable.py b/vrchatapi/model/info_push_data_clickable.py index 3dd66858..1baa68a4 100644 --- a/vrchatapi/model/info_push_data_clickable.py +++ b/vrchatapi/model/info_push_data_clickable.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance.py b/vrchatapi/model/instance.py index 65394f61..a6278d97 100644 --- a/vrchatapi/model/instance.py +++ b/vrchatapi/model/instance.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_id.py b/vrchatapi/model/instance_id.py index d348522e..fd972207 100644 --- a/vrchatapi/model/instance_id.py +++ b/vrchatapi/model/instance_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_platforms.py b/vrchatapi/model/instance_platforms.py index 28db7e9c..5bf855af 100644 --- a/vrchatapi/model/instance_platforms.py +++ b/vrchatapi/model/instance_platforms.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_short_name_response.py b/vrchatapi/model/instance_short_name_response.py index 378be3ae..a90d6db0 100644 --- a/vrchatapi/model/instance_short_name_response.py +++ b/vrchatapi/model/instance_short_name_response.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_type.py b/vrchatapi/model/instance_type.py index e43575bf..277c3c4d 100644 --- a/vrchatapi/model/instance_type.py +++ b/vrchatapi/model/instance_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message.py b/vrchatapi/model/invite_message.py index d35e4e0d..85cf5187 100644 --- a/vrchatapi/model/invite_message.py +++ b/vrchatapi/model/invite_message.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message_id.py b/vrchatapi/model/invite_message_id.py index c8988c67..5b23f2d7 100644 --- a/vrchatapi/model/invite_message_id.py +++ b/vrchatapi/model/invite_message_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message_type.py b/vrchatapi/model/invite_message_type.py index b09b6cc6..a0056766 100644 --- a/vrchatapi/model/invite_message_type.py +++ b/vrchatapi/model/invite_message_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_request.py b/vrchatapi/model/invite_request.py index be225bb6..a43a66ce 100644 --- a/vrchatapi/model/invite_request.py +++ b/vrchatapi/model/invite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_response.py b/vrchatapi/model/invite_response.py index f867d611..3f6c45f7 100644 --- a/vrchatapi/model/invite_response.py +++ b/vrchatapi/model/invite_response.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license.py b/vrchatapi/model/license.py index d99df4ff..3463576a 100644 --- a/vrchatapi/model/license.py +++ b/vrchatapi/model/license.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_action.py b/vrchatapi/model/license_action.py index 90ef8572..ac08a638 100644 --- a/vrchatapi/model/license_action.py +++ b/vrchatapi/model/license_action.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_group.py b/vrchatapi/model/license_group.py index 87ae70f2..bfb2c6fc 100644 --- a/vrchatapi/model/license_group.py +++ b/vrchatapi/model/license_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_group_id.py b/vrchatapi/model/license_group_id.py index 68e3629e..b514ca2c 100644 --- a/vrchatapi/model/license_group_id.py +++ b/vrchatapi/model/license_group_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_type.py b/vrchatapi/model/license_type.py index 4ce976c0..e9fdb1f0 100644 --- a/vrchatapi/model/license_type.py +++ b/vrchatapi/model/license_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_unity_package.py b/vrchatapi/model/limited_unity_package.py index 469b39ee..4792c26e 100644 --- a/vrchatapi/model/limited_unity_package.py +++ b/vrchatapi/model/limited_unity_package.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_user.py b/vrchatapi/model/limited_user.py index 2d7db183..de7fe97b 100644 --- a/vrchatapi/model/limited_user.py +++ b/vrchatapi/model/limited_user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_world.py b/vrchatapi/model/limited_world.py index 6596f17b..09193390 100644 --- a/vrchatapi/model/limited_world.py +++ b/vrchatapi/model/limited_world.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/mime_type.py b/vrchatapi/model/mime_type.py index 5dc34c78..78ea938d 100644 --- a/vrchatapi/model/mime_type.py +++ b/vrchatapi/model/mime_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/moderate_user_request.py b/vrchatapi/model/moderate_user_request.py index 4aad2904..d30f1e47 100644 --- a/vrchatapi/model/moderate_user_request.py +++ b/vrchatapi/model/moderate_user_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/notification.py b/vrchatapi/model/notification.py index 8c10a0d4..a2d89515 100644 --- a/vrchatapi/model/notification.py +++ b/vrchatapi/model/notification.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/notification_type.py b/vrchatapi/model/notification_type.py index 3066a5cc..047e31eb 100644 --- a/vrchatapi/model/notification_type.py +++ b/vrchatapi/model/notification_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/past_display_name.py b/vrchatapi/model/past_display_name.py index 4de1b11b..2b1aee3f 100644 --- a/vrchatapi/model/past_display_name.py +++ b/vrchatapi/model/past_display_name.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/permission.py b/vrchatapi/model/permission.py index 2caaa3bb..a3a2bc01 100644 --- a/vrchatapi/model/permission.py +++ b/vrchatapi/model/permission.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/permission_id.py b/vrchatapi/model/permission_id.py index 0e2ce342..7c3f21c7 100644 --- a/vrchatapi/model/permission_id.py +++ b/vrchatapi/model/permission_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation.py b/vrchatapi/model/player_moderation.py index f83d1a34..f2feee29 100644 --- a/vrchatapi/model/player_moderation.py +++ b/vrchatapi/model/player_moderation.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation_id.py b/vrchatapi/model/player_moderation_id.py index bf30dff6..068af5c4 100644 --- a/vrchatapi/model/player_moderation_id.py +++ b/vrchatapi/model/player_moderation_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation_type.py b/vrchatapi/model/player_moderation_type.py index 14002585..c18b2002 100644 --- a/vrchatapi/model/player_moderation_type.py +++ b/vrchatapi/model/player_moderation_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/public_announcement.py b/vrchatapi/model/public_announcement.py index 4ae74aba..60172a9e 100644 --- a/vrchatapi/model/public_announcement.py +++ b/vrchatapi/model/public_announcement.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/region.py b/vrchatapi/model/region.py index 917820bc..ee34361f 100644 --- a/vrchatapi/model/region.py +++ b/vrchatapi/model/region.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/release_status.py b/vrchatapi/model/release_status.py index fb619f31..5277a1e1 100644 --- a/vrchatapi/model/release_status.py +++ b/vrchatapi/model/release_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/request_invite_request.py b/vrchatapi/model/request_invite_request.py index ae207ee7..697b4ba4 100644 --- a/vrchatapi/model/request_invite_request.py +++ b/vrchatapi/model/request_invite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/response.py b/vrchatapi/model/response.py index 05d34862..e67d5b92 100644 --- a/vrchatapi/model/response.py +++ b/vrchatapi/model/response.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/sent_notification.py b/vrchatapi/model/sent_notification.py index ee72f3cf..77fa40a8 100644 --- a/vrchatapi/model/sent_notification.py +++ b/vrchatapi/model/sent_notification.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/subscription.py b/vrchatapi/model/subscription.py index 45c7ad81..27fc5f4b 100644 --- a/vrchatapi/model/subscription.py +++ b/vrchatapi/model/subscription.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/subscription_period.py b/vrchatapi/model/subscription_period.py index 5444f3dd..548e60d6 100644 --- a/vrchatapi/model/subscription_period.py +++ b/vrchatapi/model/subscription_period.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/success.py b/vrchatapi/model/success.py index 76b02f5e..376943c2 100644 --- a/vrchatapi/model/success.py +++ b/vrchatapi/model/success.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/tag.py b/vrchatapi/model/tag.py index fa86d8af..d9349bf4 100644 --- a/vrchatapi/model/tag.py +++ b/vrchatapi/model/tag.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction.py b/vrchatapi/model/transaction.py index 605051e9..bbb779ee 100644 --- a/vrchatapi/model/transaction.py +++ b/vrchatapi/model/transaction.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_agreement.py b/vrchatapi/model/transaction_agreement.py index 11e2fcad..412bf895 100644 --- a/vrchatapi/model/transaction_agreement.py +++ b/vrchatapi/model/transaction_agreement.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_id.py b/vrchatapi/model/transaction_id.py index a81f442d..00695b00 100644 --- a/vrchatapi/model/transaction_id.py +++ b/vrchatapi/model/transaction_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_status.py b/vrchatapi/model/transaction_status.py index cdef1698..e0a1e032 100644 --- a/vrchatapi/model/transaction_status.py +++ b/vrchatapi/model/transaction_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_steam_info.py b/vrchatapi/model/transaction_steam_info.py index ceb75e81..681af373 100644 --- a/vrchatapi/model/transaction_steam_info.py +++ b/vrchatapi/model/transaction_steam_info.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_steam_wallet_info.py b/vrchatapi/model/transaction_steam_wallet_info.py index a4ac30a4..92980c72 100644 --- a/vrchatapi/model/transaction_steam_wallet_info.py +++ b/vrchatapi/model/transaction_steam_wallet_info.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/two_factor_auth_code.py b/vrchatapi/model/two_factor_auth_code.py index 6b184dd7..0705f7ec 100644 --- a/vrchatapi/model/two_factor_auth_code.py +++ b/vrchatapi/model/two_factor_auth_code.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/unity_package.py b/vrchatapi/model/unity_package.py index 67684d68..92a5afd6 100644 --- a/vrchatapi/model/unity_package.py +++ b/vrchatapi/model/unity_package.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/unity_package_id.py b/vrchatapi/model/unity_package_id.py index c5c27e18..ca2ee52c 100644 --- a/vrchatapi/model/unity_package_id.py +++ b/vrchatapi/model/unity_package_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_avatar_request.py b/vrchatapi/model/update_avatar_request.py index b4e787c4..6e4c4f8b 100644 --- a/vrchatapi/model/update_avatar_request.py +++ b/vrchatapi/model/update_avatar_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_favorite_group_request.py b/vrchatapi/model/update_favorite_group_request.py index 2039976e..33a69bd7 100644 --- a/vrchatapi/model/update_favorite_group_request.py +++ b/vrchatapi/model/update_favorite_group_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_invite_message_request.py b/vrchatapi/model/update_invite_message_request.py index f6846984..47672479 100644 --- a/vrchatapi/model/update_invite_message_request.py +++ b/vrchatapi/model/update_invite_message_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_user_request.py b/vrchatapi/model/update_user_request.py index 75ac9d5c..068949a5 100644 --- a/vrchatapi/model/update_user_request.py +++ b/vrchatapi/model/update_user_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_world_request.py b/vrchatapi/model/update_world_request.py index 14860e87..e0a7b7ea 100644 --- a/vrchatapi/model/update_world_request.py +++ b/vrchatapi/model/update_world_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user.py b/vrchatapi/model/user.py index 8b791b08..498dedd3 100644 --- a/vrchatapi/model/user.py +++ b/vrchatapi/model/user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_exists.py b/vrchatapi/model/user_exists.py index 4effb555..fd0efc32 100644 --- a/vrchatapi/model/user_exists.py +++ b/vrchatapi/model/user_exists.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_state.py b/vrchatapi/model/user_state.py index c56a1647..4eb11bfb 100644 --- a/vrchatapi/model/user_state.py +++ b/vrchatapi/model/user_state.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_status.py b/vrchatapi/model/user_status.py index 19eba3cc..3e553af7 100644 --- a/vrchatapi/model/user_status.py +++ b/vrchatapi/model/user_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_subscription.py b/vrchatapi/model/user_subscription.py index 3a5e6a8d..f04bb9a0 100644 --- a/vrchatapi/model/user_subscription.py +++ b/vrchatapi/model/user_subscription.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/verify2_fa_result.py b/vrchatapi/model/verify2_fa_result.py index 980c7aab..908519a4 100644 --- a/vrchatapi/model/verify2_fa_result.py +++ b/vrchatapi/model/verify2_fa_result.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/verify_auth_token_result.py b/vrchatapi/model/verify_auth_token_result.py index 2424638c..5ba039c8 100644 --- a/vrchatapi/model/verify_auth_token_result.py +++ b/vrchatapi/model/verify_auth_token_result.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world.py b/vrchatapi/model/world.py index 955ef870..36c0a0bc 100644 --- a/vrchatapi/model/world.py +++ b/vrchatapi/model/world.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -168,7 +168,7 @@ def openapi_types(): 'version': (int,), # noqa: E501 'visits': (int,), # noqa: E501 'favorites': (int,), # noqa: E501 - 'instances': ([[{str: (bool, date, datetime, dict, float, int, list, str, none_type)}]],), # noqa: E501 + 'instances': ([[bool, date, datetime, dict, float, int, list, str, none_type]],), # noqa: E501 'occupants': (int,), # noqa: E501 'preview_youtube_id': (str, none_type,), # noqa: E501 'private_occupants': (int,), # noqa: E501 @@ -277,7 +277,7 @@ def _from_openapi_data(cls, author_id, author_name, capacity, created_at, descri through its discriminator because we passed in _visited_composed_classes = (Animal,) favorites (int): [optional] if omitted the server will use the default value of 0 # noqa: E501 - instances ([[{str: (bool, date, datetime, dict, float, int, list, str, none_type)}]]): [optional] # noqa: E501 + instances ([[bool, date, datetime, dict, float, int, list, str, none_type]]): [optional] # noqa: E501 occupants (int): [optional] if omitted the server will use the default value of 0 # noqa: E501 preview_youtube_id (str, none_type): [optional] # noqa: E501 private_occupants (int): [optional] if omitted the server will use the default value of 0 # noqa: E501 @@ -416,7 +416,7 @@ def __init__(self, author_id, author_name, capacity, created_at, description, id through its discriminator because we passed in _visited_composed_classes = (Animal,) favorites (int): [optional] if omitted the server will use the default value of 0 # noqa: E501 - instances ([[{str: (bool, date, datetime, dict, float, int, list, str, none_type)}]]): [optional] # noqa: E501 + instances ([[bool, date, datetime, dict, float, int, list, str, none_type]]): [optional] # noqa: E501 occupants (int): [optional] if omitted the server will use the default value of 0 # noqa: E501 preview_youtube_id (str, none_type): [optional] # noqa: E501 private_occupants (int): [optional] if omitted the server will use the default value of 0 # noqa: E501 diff --git a/vrchatapi/model/world_id.py b/vrchatapi/model/world_id.py index 4acea11d..c4b754a9 100644 --- a/vrchatapi/model/world_id.py +++ b/vrchatapi/model/world_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_metadata.py b/vrchatapi/model/world_metadata.py index 985d3806..339c40c9 100644 --- a/vrchatapi/model/world_metadata.py +++ b/vrchatapi/model/world_metadata.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_publish_status.py b/vrchatapi/model/world_publish_status.py index 3dd379aa..bc1cb9f2 100644 --- a/vrchatapi/model/world_publish_status.py +++ b/vrchatapi/model/world_publish_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model_utils.py b/vrchatapi/model_utils.py index 9178f8d6..423e03ba 100644 --- a/vrchatapi/model_utils.py +++ b/vrchatapi/model_utils.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index f8e07bc1..d728864a 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.5 + The version of the OpenAPI document: 1.7.6 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ From 4653a5cc50f307595a11e97e2f7bca5850a80565 Mon Sep 17 00:00:00 2001 From: VRCCat Date: Sun, 16 Oct 2022 00:28:10 +0000 Subject: [PATCH 015/102] Upgrade Python SDK to spec 1.7.7 --- docs/NotificationsApi.md | 4 ++-- docs/World.md | 8 ++++---- docs/WorldsApi.md | 2 +- setup.py | 4 ++-- vrchatapi/__init__.py | 2 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/notifications_api.py | 4 ++-- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 4 ++-- vrchatapi/api_client.py | 2 +- vrchatapi/api_client.py.orig | 2 +- vrchatapi/configuration.py | 4 ++-- vrchatapi/exceptions.py | 2 +- vrchatapi/model/add_favorite_request.py | 2 +- vrchatapi/model/api_config.py | 2 +- vrchatapi/model/api_event_config.py | 2 +- vrchatapi/model/api_health.py | 2 +- vrchatapi/model/avatar.py | 2 +- vrchatapi/model/avatar_id.py | 2 +- .../model/avatar_unity_package_url_object.py | 2 +- vrchatapi/model/create_avatar_request.py | 2 +- vrchatapi/model/create_file_request.py | 2 +- vrchatapi/model/create_file_version_request.py | 2 +- vrchatapi/model/create_world_request.py | 2 +- vrchatapi/model/current_user.py | 2 +- vrchatapi/model/deployment_group.py | 2 +- vrchatapi/model/developer_type.py | 2 +- vrchatapi/model/download_url_list.py | 2 +- vrchatapi/model/dynamic_content_row.py | 2 +- vrchatapi/model/error.py | 2 +- vrchatapi/model/favorite.py | 2 +- vrchatapi/model/favorite_group.py | 2 +- vrchatapi/model/favorite_group_id.py | 2 +- vrchatapi/model/favorite_group_visibility.py | 2 +- vrchatapi/model/favorite_id.py | 2 +- vrchatapi/model/favorite_type.py | 2 +- vrchatapi/model/file.py | 2 +- vrchatapi/model/file_data.py | 2 +- vrchatapi/model/file_id.py | 2 +- vrchatapi/model/file_status.py | 2 +- vrchatapi/model/file_upload_url.py | 2 +- vrchatapi/model/file_version.py | 2 +- vrchatapi/model/file_version_upload_status.py | 2 +- .../model/finish_file_data_upload_request.py | 2 +- vrchatapi/model/friend_status.py | 2 +- vrchatapi/model/info_push.py | 2 +- vrchatapi/model/info_push_data.py | 2 +- vrchatapi/model/info_push_data_article.py | 2 +- .../model/info_push_data_article_content.py | 2 +- vrchatapi/model/info_push_data_clickable.py | 2 +- vrchatapi/model/instance.py | 2 +- vrchatapi/model/instance_id.py | 2 +- vrchatapi/model/instance_platforms.py | 2 +- .../model/instance_short_name_response.py | 2 +- vrchatapi/model/instance_type.py | 2 +- vrchatapi/model/invite_message.py | 2 +- vrchatapi/model/invite_message_id.py | 2 +- vrchatapi/model/invite_message_type.py | 2 +- vrchatapi/model/invite_request.py | 2 +- vrchatapi/model/invite_response.py | 2 +- vrchatapi/model/license.py | 2 +- vrchatapi/model/license_action.py | 2 +- vrchatapi/model/license_group.py | 2 +- vrchatapi/model/license_group_id.py | 2 +- vrchatapi/model/license_type.py | 2 +- vrchatapi/model/limited_unity_package.py | 2 +- vrchatapi/model/limited_user.py | 2 +- vrchatapi/model/limited_world.py | 2 +- vrchatapi/model/mime_type.py | 2 +- vrchatapi/model/moderate_user_request.py | 2 +- vrchatapi/model/notification.py | 2 +- vrchatapi/model/notification_type.py | 2 +- vrchatapi/model/past_display_name.py | 2 +- vrchatapi/model/permission.py | 2 +- vrchatapi/model/permission_id.py | 2 +- vrchatapi/model/player_moderation.py | 2 +- vrchatapi/model/player_moderation_id.py | 2 +- vrchatapi/model/player_moderation_type.py | 2 +- vrchatapi/model/public_announcement.py | 2 +- vrchatapi/model/region.py | 2 +- vrchatapi/model/release_status.py | 2 +- vrchatapi/model/request_invite_request.py | 2 +- vrchatapi/model/response.py | 2 +- vrchatapi/model/sent_notification.py | 2 +- vrchatapi/model/subscription.py | 2 +- vrchatapi/model/subscription_period.py | 2 +- vrchatapi/model/success.py | 2 +- vrchatapi/model/tag.py | 2 +- vrchatapi/model/transaction.py | 2 +- vrchatapi/model/transaction_agreement.py | 2 +- vrchatapi/model/transaction_id.py | 2 +- vrchatapi/model/transaction_status.py | 2 +- vrchatapi/model/transaction_steam_info.py | 2 +- .../model/transaction_steam_wallet_info.py | 2 +- vrchatapi/model/two_factor_auth_code.py | 2 +- vrchatapi/model/unity_package.py | 2 +- vrchatapi/model/unity_package_id.py | 2 +- vrchatapi/model/update_avatar_request.py | 2 +- .../model/update_favorite_group_request.py | 2 +- .../model/update_invite_message_request.py | 2 +- vrchatapi/model/update_user_request.py | 2 +- vrchatapi/model/update_world_request.py | 2 +- vrchatapi/model/user.py | 2 +- vrchatapi/model/user_exists.py | 2 +- vrchatapi/model/user_state.py | 2 +- vrchatapi/model/user_status.py | 2 +- vrchatapi/model/user_subscription.py | 2 +- vrchatapi/model/verify2_fa_result.py | 2 +- vrchatapi/model/verify_auth_token_result.py | 2 +- vrchatapi/model/world.py | 18 +++++++++--------- vrchatapi/model/world_id.py | 2 +- vrchatapi/model/world_metadata.py | 2 +- vrchatapi/model/world_publish_status.py | 2 +- vrchatapi/model_utils.py | 2 +- vrchatapi/rest.py | 2 +- 125 files changed, 141 insertions(+), 141 deletions(-) diff --git a/docs/NotificationsApi.md b/docs/NotificationsApi.md index 3e16c3b2..486be3de 100644 --- a/docs/NotificationsApi.md +++ b/docs/NotificationsApi.md @@ -315,7 +315,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = notifications_api.NotificationsApi(api_client) - type = "all" # str | Only send notifications of this type (can use `all` for all). (optional) + type = "all" # str | Only send notifications of this type (can use `all` for all). This parameter no longer does anything, and is deprecated. (optional) sent = True # bool | Return notifications sent by the user. Must be false or omitted. (optional) hidden = True # bool | Whether to return hidden or non-hidden notifications. True only allowed on type `friendRequest`. (optional) after = "five_minutes_ago" # str | Only return notifications sent after this Date. Ignored if type is `friendRequest`. (optional) @@ -337,7 +337,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **type** | **str**| Only send notifications of this type (can use `all` for all). | [optional] + **type** | **str**| Only send notifications of this type (can use `all` for all). This parameter no longer does anything, and is deprecated. | [optional] **sent** | **bool**| Return notifications sent by the user. Must be false or omitted. | [optional] **hidden** | **bool**| Whether to return hidden or non-hidden notifications. True only allowed on type `friendRequest`. | [optional] **after** | **str**| Only return notifications sent after this Date. Ignored if type is `friendRequest`. | [optional] diff --git a/docs/World.md b/docs/World.md index 35b591bf..ecada392 100644 --- a/docs/World.md +++ b/docs/World.md @@ -27,11 +27,11 @@ Name | Type | Description | Notes **version** | **int** | | defaults to 0 **visits** | **int** | | defaults to 0 **favorites** | **int** | | [optional] if omitted the server will use the default value of 0 -**instances** | **[[bool, date, datetime, dict, float, int, list, str, none_type]]** | | [optional] -**occupants** | **int** | | [optional] if omitted the server will use the default value of 0 +**instances** | **[[bool, date, datetime, dict, float, int, list, str, none_type]]** | Will always be an empty list when unauthenticated. | [optional] +**occupants** | **int** | Will always be `0` when unauthenticated. | [optional] if omitted the server will use the default value of 0 **preview_youtube_id** | **str, none_type** | | [optional] -**private_occupants** | **int** | | [optional] if omitted the server will use the default value of 0 -**public_occupants** | **int** | | [optional] if omitted the server will use the default value of 0 +**private_occupants** | **int** | Will always be `0` when unauthenticated. | [optional] if omitted the server will use the default value of 0 +**public_occupants** | **int** | Will always be `0` when unauthenticated. | [optional] if omitted the server will use the default value of 0 **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WorldsApi.md b/docs/WorldsApi.md index 7d02022d..55f98be1 100644 --- a/docs/WorldsApi.md +++ b/docs/WorldsApi.md @@ -535,7 +535,7 @@ Name | Type | Description | Notes Get World by ID -Get information about a specific World. +Get information about a specific World. Works unauthenticated but when so will always return `0` for certain fields. ### Example diff --git a/setup.py b/setup.py index eab1b9d3..9d1c6f31 100644 --- a/setup.py +++ b/setup.py @@ -64,7 +64,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -73,7 +73,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.7.6" +VERSION = "1.7.7" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index e5955c92..de28af8b 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index 526505dc..3b46ac84 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index eed50c67..e6fbad06 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 8172cdf6..2371392b 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index 4125d76f..a81c880f 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index c8ab738b..6e3a66a3 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index 7de558c0..627ce96a 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 34eb4028..79a881b1 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index bc089229..0cbdb347 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index 609acab8..3098f354 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -533,7 +533,7 @@ def get_notifications( Keyword Args: - type (str): Only send notifications of this type (can use `all` for all).. [optional] + type (str): Only send notifications of this type (can use `all` for all). This parameter no longer does anything, and is deprecated.. [optional] sent (bool): Return notifications sent by the user. Must be false or omitted.. [optional] hidden (bool): Whether to return hidden or non-hidden notifications. True only allowed on type `friendRequest`.. [optional] after (str): Only return notifications sent after this Date. Ignored if type is `friendRequest`.. [optional] diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index 35d4e60a..85b6cc89 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index e92efc87..4ddce968 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index 500c9304..6283e737 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index bbe50cbc..4fee83b1 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 67e98ca9..6e059c49 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -1507,7 +1507,7 @@ def get_world( ): """Get World by ID # noqa: E501 - Get information about a specific World. # noqa: E501 + Get information about a specific World. Works unauthenticated but when so will always return `0` for certain fields. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index 2b0f545d..d673d6e2 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py.orig b/vrchatapi/api_client.py.orig index d0f6e568..218f5d14 100644 --- a/vrchatapi/api_client.py.orig +++ b/vrchatapi/api_client.py.orig @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index 5c2d66e9..0871ad97 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -455,7 +455,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.7.6\n"\ + "Version of the API: 1.7.7\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index caf4af65..295e8798 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/add_favorite_request.py b/vrchatapi/model/add_favorite_request.py index c6f4bae5..e73ec88a 100644 --- a/vrchatapi/model/add_favorite_request.py +++ b/vrchatapi/model/add_favorite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_config.py b/vrchatapi/model/api_config.py index 6e0cbf47..a17bd32c 100644 --- a/vrchatapi/model/api_config.py +++ b/vrchatapi/model/api_config.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_event_config.py b/vrchatapi/model/api_event_config.py index cdeb35b3..d74d81f3 100644 --- a/vrchatapi/model/api_event_config.py +++ b/vrchatapi/model/api_event_config.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_health.py b/vrchatapi/model/api_health.py index d1719fce..9073bd47 100644 --- a/vrchatapi/model/api_health.py +++ b/vrchatapi/model/api_health.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar.py b/vrchatapi/model/avatar.py index c338e711..51c0dfba 100644 --- a/vrchatapi/model/avatar.py +++ b/vrchatapi/model/avatar.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar_id.py b/vrchatapi/model/avatar_id.py index 48f5a557..75d2d87f 100644 --- a/vrchatapi/model/avatar_id.py +++ b/vrchatapi/model/avatar_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar_unity_package_url_object.py b/vrchatapi/model/avatar_unity_package_url_object.py index 76164e48..e963871c 100644 --- a/vrchatapi/model/avatar_unity_package_url_object.py +++ b/vrchatapi/model/avatar_unity_package_url_object.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_avatar_request.py b/vrchatapi/model/create_avatar_request.py index 6ac21ed5..b1206975 100644 --- a/vrchatapi/model/create_avatar_request.py +++ b/vrchatapi/model/create_avatar_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_file_request.py b/vrchatapi/model/create_file_request.py index 0ea41058..4d97cf08 100644 --- a/vrchatapi/model/create_file_request.py +++ b/vrchatapi/model/create_file_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_file_version_request.py b/vrchatapi/model/create_file_version_request.py index 4f3d76a6..ec30decc 100644 --- a/vrchatapi/model/create_file_version_request.py +++ b/vrchatapi/model/create_file_version_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_world_request.py b/vrchatapi/model/create_world_request.py index 219acf9a..0efff79e 100644 --- a/vrchatapi/model/create_world_request.py +++ b/vrchatapi/model/create_world_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/current_user.py b/vrchatapi/model/current_user.py index 55ea98a0..8ce004fb 100644 --- a/vrchatapi/model/current_user.py +++ b/vrchatapi/model/current_user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/deployment_group.py b/vrchatapi/model/deployment_group.py index 8c9fc9e3..331d75ad 100644 --- a/vrchatapi/model/deployment_group.py +++ b/vrchatapi/model/deployment_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/developer_type.py b/vrchatapi/model/developer_type.py index ca24a59f..96f48309 100644 --- a/vrchatapi/model/developer_type.py +++ b/vrchatapi/model/developer_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/download_url_list.py b/vrchatapi/model/download_url_list.py index 19b04adf..4054203e 100644 --- a/vrchatapi/model/download_url_list.py +++ b/vrchatapi/model/download_url_list.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/dynamic_content_row.py b/vrchatapi/model/dynamic_content_row.py index cd6c1d1f..e04021f7 100644 --- a/vrchatapi/model/dynamic_content_row.py +++ b/vrchatapi/model/dynamic_content_row.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/error.py b/vrchatapi/model/error.py index 381a95d4..167367f4 100644 --- a/vrchatapi/model/error.py +++ b/vrchatapi/model/error.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite.py b/vrchatapi/model/favorite.py index e81f6468..def85288 100644 --- a/vrchatapi/model/favorite.py +++ b/vrchatapi/model/favorite.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group.py b/vrchatapi/model/favorite_group.py index 66b0e671..9a049d9c 100644 --- a/vrchatapi/model/favorite_group.py +++ b/vrchatapi/model/favorite_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group_id.py b/vrchatapi/model/favorite_group_id.py index 66bb3f25..c359da56 100644 --- a/vrchatapi/model/favorite_group_id.py +++ b/vrchatapi/model/favorite_group_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group_visibility.py b/vrchatapi/model/favorite_group_visibility.py index 04a6f376..ec4ad172 100644 --- a/vrchatapi/model/favorite_group_visibility.py +++ b/vrchatapi/model/favorite_group_visibility.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_id.py b/vrchatapi/model/favorite_id.py index 171f0981..999b2167 100644 --- a/vrchatapi/model/favorite_id.py +++ b/vrchatapi/model/favorite_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_type.py b/vrchatapi/model/favorite_type.py index 51fc5260..18d45cc3 100644 --- a/vrchatapi/model/favorite_type.py +++ b/vrchatapi/model/favorite_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file.py b/vrchatapi/model/file.py index 6d16a718..7066480b 100644 --- a/vrchatapi/model/file.py +++ b/vrchatapi/model/file.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_data.py b/vrchatapi/model/file_data.py index 85ae1499..978bde66 100644 --- a/vrchatapi/model/file_data.py +++ b/vrchatapi/model/file_data.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_id.py b/vrchatapi/model/file_id.py index 337ac138..9dd58d36 100644 --- a/vrchatapi/model/file_id.py +++ b/vrchatapi/model/file_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_status.py b/vrchatapi/model/file_status.py index f1a1ce82..22815076 100644 --- a/vrchatapi/model/file_status.py +++ b/vrchatapi/model/file_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_upload_url.py b/vrchatapi/model/file_upload_url.py index 989b6487..5fa3bd7f 100644 --- a/vrchatapi/model/file_upload_url.py +++ b/vrchatapi/model/file_upload_url.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_version.py b/vrchatapi/model/file_version.py index 908364ee..fbf6990b 100644 --- a/vrchatapi/model/file_version.py +++ b/vrchatapi/model/file_version.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_version_upload_status.py b/vrchatapi/model/file_version_upload_status.py index 579d3153..fcce68b5 100644 --- a/vrchatapi/model/file_version_upload_status.py +++ b/vrchatapi/model/file_version_upload_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/finish_file_data_upload_request.py b/vrchatapi/model/finish_file_data_upload_request.py index 5e8575cf..f01df7eb 100644 --- a/vrchatapi/model/finish_file_data_upload_request.py +++ b/vrchatapi/model/finish_file_data_upload_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/friend_status.py b/vrchatapi/model/friend_status.py index 0450d091..b0f419ef 100644 --- a/vrchatapi/model/friend_status.py +++ b/vrchatapi/model/friend_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push.py b/vrchatapi/model/info_push.py index 43dcf98f..5d533d8e 100644 --- a/vrchatapi/model/info_push.py +++ b/vrchatapi/model/info_push.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data.py b/vrchatapi/model/info_push_data.py index ef24741a..3ba2ab19 100644 --- a/vrchatapi/model/info_push_data.py +++ b/vrchatapi/model/info_push_data.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_article.py b/vrchatapi/model/info_push_data_article.py index 33f21756..3fcef04f 100644 --- a/vrchatapi/model/info_push_data_article.py +++ b/vrchatapi/model/info_push_data_article.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_article_content.py b/vrchatapi/model/info_push_data_article_content.py index d67d39b1..3a3f78f5 100644 --- a/vrchatapi/model/info_push_data_article_content.py +++ b/vrchatapi/model/info_push_data_article_content.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_clickable.py b/vrchatapi/model/info_push_data_clickable.py index 1baa68a4..92c7ea46 100644 --- a/vrchatapi/model/info_push_data_clickable.py +++ b/vrchatapi/model/info_push_data_clickable.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance.py b/vrchatapi/model/instance.py index a6278d97..a290bd5a 100644 --- a/vrchatapi/model/instance.py +++ b/vrchatapi/model/instance.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_id.py b/vrchatapi/model/instance_id.py index fd972207..62a56c56 100644 --- a/vrchatapi/model/instance_id.py +++ b/vrchatapi/model/instance_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_platforms.py b/vrchatapi/model/instance_platforms.py index 5bf855af..b9dab86b 100644 --- a/vrchatapi/model/instance_platforms.py +++ b/vrchatapi/model/instance_platforms.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_short_name_response.py b/vrchatapi/model/instance_short_name_response.py index a90d6db0..1cd12c32 100644 --- a/vrchatapi/model/instance_short_name_response.py +++ b/vrchatapi/model/instance_short_name_response.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_type.py b/vrchatapi/model/instance_type.py index 277c3c4d..fdff3acb 100644 --- a/vrchatapi/model/instance_type.py +++ b/vrchatapi/model/instance_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message.py b/vrchatapi/model/invite_message.py index 85cf5187..276e4fc3 100644 --- a/vrchatapi/model/invite_message.py +++ b/vrchatapi/model/invite_message.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message_id.py b/vrchatapi/model/invite_message_id.py index 5b23f2d7..222532cb 100644 --- a/vrchatapi/model/invite_message_id.py +++ b/vrchatapi/model/invite_message_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message_type.py b/vrchatapi/model/invite_message_type.py index a0056766..eb3d9297 100644 --- a/vrchatapi/model/invite_message_type.py +++ b/vrchatapi/model/invite_message_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_request.py b/vrchatapi/model/invite_request.py index a43a66ce..6256e165 100644 --- a/vrchatapi/model/invite_request.py +++ b/vrchatapi/model/invite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_response.py b/vrchatapi/model/invite_response.py index 3f6c45f7..0a2174b1 100644 --- a/vrchatapi/model/invite_response.py +++ b/vrchatapi/model/invite_response.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license.py b/vrchatapi/model/license.py index 3463576a..4fcc42c2 100644 --- a/vrchatapi/model/license.py +++ b/vrchatapi/model/license.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_action.py b/vrchatapi/model/license_action.py index ac08a638..7ef3f8e5 100644 --- a/vrchatapi/model/license_action.py +++ b/vrchatapi/model/license_action.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_group.py b/vrchatapi/model/license_group.py index bfb2c6fc..4de4f6b2 100644 --- a/vrchatapi/model/license_group.py +++ b/vrchatapi/model/license_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_group_id.py b/vrchatapi/model/license_group_id.py index b514ca2c..b032d4c8 100644 --- a/vrchatapi/model/license_group_id.py +++ b/vrchatapi/model/license_group_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_type.py b/vrchatapi/model/license_type.py index e9fdb1f0..f6821823 100644 --- a/vrchatapi/model/license_type.py +++ b/vrchatapi/model/license_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_unity_package.py b/vrchatapi/model/limited_unity_package.py index 4792c26e..3b33b3ee 100644 --- a/vrchatapi/model/limited_unity_package.py +++ b/vrchatapi/model/limited_unity_package.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_user.py b/vrchatapi/model/limited_user.py index de7fe97b..bcaebb39 100644 --- a/vrchatapi/model/limited_user.py +++ b/vrchatapi/model/limited_user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_world.py b/vrchatapi/model/limited_world.py index 09193390..ea46e48d 100644 --- a/vrchatapi/model/limited_world.py +++ b/vrchatapi/model/limited_world.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/mime_type.py b/vrchatapi/model/mime_type.py index 78ea938d..6362f114 100644 --- a/vrchatapi/model/mime_type.py +++ b/vrchatapi/model/mime_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/moderate_user_request.py b/vrchatapi/model/moderate_user_request.py index d30f1e47..097e011d 100644 --- a/vrchatapi/model/moderate_user_request.py +++ b/vrchatapi/model/moderate_user_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/notification.py b/vrchatapi/model/notification.py index a2d89515..ae55e17a 100644 --- a/vrchatapi/model/notification.py +++ b/vrchatapi/model/notification.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/notification_type.py b/vrchatapi/model/notification_type.py index 047e31eb..3709f09c 100644 --- a/vrchatapi/model/notification_type.py +++ b/vrchatapi/model/notification_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/past_display_name.py b/vrchatapi/model/past_display_name.py index 2b1aee3f..01bbfd83 100644 --- a/vrchatapi/model/past_display_name.py +++ b/vrchatapi/model/past_display_name.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/permission.py b/vrchatapi/model/permission.py index a3a2bc01..03713ada 100644 --- a/vrchatapi/model/permission.py +++ b/vrchatapi/model/permission.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/permission_id.py b/vrchatapi/model/permission_id.py index 7c3f21c7..d09d6e1b 100644 --- a/vrchatapi/model/permission_id.py +++ b/vrchatapi/model/permission_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation.py b/vrchatapi/model/player_moderation.py index f2feee29..fb396a86 100644 --- a/vrchatapi/model/player_moderation.py +++ b/vrchatapi/model/player_moderation.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation_id.py b/vrchatapi/model/player_moderation_id.py index 068af5c4..45bbaa6b 100644 --- a/vrchatapi/model/player_moderation_id.py +++ b/vrchatapi/model/player_moderation_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation_type.py b/vrchatapi/model/player_moderation_type.py index c18b2002..0f1271d0 100644 --- a/vrchatapi/model/player_moderation_type.py +++ b/vrchatapi/model/player_moderation_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/public_announcement.py b/vrchatapi/model/public_announcement.py index 60172a9e..f1a0c440 100644 --- a/vrchatapi/model/public_announcement.py +++ b/vrchatapi/model/public_announcement.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/region.py b/vrchatapi/model/region.py index ee34361f..c820967a 100644 --- a/vrchatapi/model/region.py +++ b/vrchatapi/model/region.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/release_status.py b/vrchatapi/model/release_status.py index 5277a1e1..0b248f9a 100644 --- a/vrchatapi/model/release_status.py +++ b/vrchatapi/model/release_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/request_invite_request.py b/vrchatapi/model/request_invite_request.py index 697b4ba4..10d071ca 100644 --- a/vrchatapi/model/request_invite_request.py +++ b/vrchatapi/model/request_invite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/response.py b/vrchatapi/model/response.py index e67d5b92..2422e337 100644 --- a/vrchatapi/model/response.py +++ b/vrchatapi/model/response.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/sent_notification.py b/vrchatapi/model/sent_notification.py index 77fa40a8..2575b5a5 100644 --- a/vrchatapi/model/sent_notification.py +++ b/vrchatapi/model/sent_notification.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/subscription.py b/vrchatapi/model/subscription.py index 27fc5f4b..7501d7d7 100644 --- a/vrchatapi/model/subscription.py +++ b/vrchatapi/model/subscription.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/subscription_period.py b/vrchatapi/model/subscription_period.py index 548e60d6..2d2a1f75 100644 --- a/vrchatapi/model/subscription_period.py +++ b/vrchatapi/model/subscription_period.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/success.py b/vrchatapi/model/success.py index 376943c2..acdfd7f0 100644 --- a/vrchatapi/model/success.py +++ b/vrchatapi/model/success.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/tag.py b/vrchatapi/model/tag.py index d9349bf4..5cdda693 100644 --- a/vrchatapi/model/tag.py +++ b/vrchatapi/model/tag.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction.py b/vrchatapi/model/transaction.py index bbb779ee..d89338a9 100644 --- a/vrchatapi/model/transaction.py +++ b/vrchatapi/model/transaction.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_agreement.py b/vrchatapi/model/transaction_agreement.py index 412bf895..85bb4151 100644 --- a/vrchatapi/model/transaction_agreement.py +++ b/vrchatapi/model/transaction_agreement.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_id.py b/vrchatapi/model/transaction_id.py index 00695b00..706034d5 100644 --- a/vrchatapi/model/transaction_id.py +++ b/vrchatapi/model/transaction_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_status.py b/vrchatapi/model/transaction_status.py index e0a1e032..db8e77db 100644 --- a/vrchatapi/model/transaction_status.py +++ b/vrchatapi/model/transaction_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_steam_info.py b/vrchatapi/model/transaction_steam_info.py index 681af373..748311b3 100644 --- a/vrchatapi/model/transaction_steam_info.py +++ b/vrchatapi/model/transaction_steam_info.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_steam_wallet_info.py b/vrchatapi/model/transaction_steam_wallet_info.py index 92980c72..96359de6 100644 --- a/vrchatapi/model/transaction_steam_wallet_info.py +++ b/vrchatapi/model/transaction_steam_wallet_info.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/two_factor_auth_code.py b/vrchatapi/model/two_factor_auth_code.py index 0705f7ec..fe8755fe 100644 --- a/vrchatapi/model/two_factor_auth_code.py +++ b/vrchatapi/model/two_factor_auth_code.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/unity_package.py b/vrchatapi/model/unity_package.py index 92a5afd6..902c24de 100644 --- a/vrchatapi/model/unity_package.py +++ b/vrchatapi/model/unity_package.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/unity_package_id.py b/vrchatapi/model/unity_package_id.py index ca2ee52c..b29d7bd9 100644 --- a/vrchatapi/model/unity_package_id.py +++ b/vrchatapi/model/unity_package_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_avatar_request.py b/vrchatapi/model/update_avatar_request.py index 6e4c4f8b..1019ac88 100644 --- a/vrchatapi/model/update_avatar_request.py +++ b/vrchatapi/model/update_avatar_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_favorite_group_request.py b/vrchatapi/model/update_favorite_group_request.py index 33a69bd7..eee650fe 100644 --- a/vrchatapi/model/update_favorite_group_request.py +++ b/vrchatapi/model/update_favorite_group_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_invite_message_request.py b/vrchatapi/model/update_invite_message_request.py index 47672479..bc1a340a 100644 --- a/vrchatapi/model/update_invite_message_request.py +++ b/vrchatapi/model/update_invite_message_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_user_request.py b/vrchatapi/model/update_user_request.py index 068949a5..d7809a76 100644 --- a/vrchatapi/model/update_user_request.py +++ b/vrchatapi/model/update_user_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_world_request.py b/vrchatapi/model/update_world_request.py index e0a7b7ea..d635056d 100644 --- a/vrchatapi/model/update_world_request.py +++ b/vrchatapi/model/update_world_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user.py b/vrchatapi/model/user.py index 498dedd3..ac660d6f 100644 --- a/vrchatapi/model/user.py +++ b/vrchatapi/model/user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_exists.py b/vrchatapi/model/user_exists.py index fd0efc32..a7aec211 100644 --- a/vrchatapi/model/user_exists.py +++ b/vrchatapi/model/user_exists.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_state.py b/vrchatapi/model/user_state.py index 4eb11bfb..b14993c0 100644 --- a/vrchatapi/model/user_state.py +++ b/vrchatapi/model/user_state.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_status.py b/vrchatapi/model/user_status.py index 3e553af7..c5f47177 100644 --- a/vrchatapi/model/user_status.py +++ b/vrchatapi/model/user_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_subscription.py b/vrchatapi/model/user_subscription.py index f04bb9a0..e79777e4 100644 --- a/vrchatapi/model/user_subscription.py +++ b/vrchatapi/model/user_subscription.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/verify2_fa_result.py b/vrchatapi/model/verify2_fa_result.py index 908519a4..30199902 100644 --- a/vrchatapi/model/verify2_fa_result.py +++ b/vrchatapi/model/verify2_fa_result.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/verify_auth_token_result.py b/vrchatapi/model/verify_auth_token_result.py index 5ba039c8..10178d07 100644 --- a/vrchatapi/model/verify_auth_token_result.py +++ b/vrchatapi/model/verify_auth_token_result.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world.py b/vrchatapi/model/world.py index 36c0a0bc..c4bedea2 100644 --- a/vrchatapi/model/world.py +++ b/vrchatapi/model/world.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -277,11 +277,11 @@ def _from_openapi_data(cls, author_id, author_name, capacity, created_at, descri through its discriminator because we passed in _visited_composed_classes = (Animal,) favorites (int): [optional] if omitted the server will use the default value of 0 # noqa: E501 - instances ([[bool, date, datetime, dict, float, int, list, str, none_type]]): [optional] # noqa: E501 - occupants (int): [optional] if omitted the server will use the default value of 0 # noqa: E501 + instances ([[bool, date, datetime, dict, float, int, list, str, none_type]]): Will always be an empty list when unauthenticated.. [optional] # noqa: E501 + occupants (int): Will always be `0` when unauthenticated.. [optional] if omitted the server will use the default value of 0 # noqa: E501 preview_youtube_id (str, none_type): [optional] # noqa: E501 - private_occupants (int): [optional] if omitted the server will use the default value of 0 # noqa: E501 - public_occupants (int): [optional] if omitted the server will use the default value of 0 # noqa: E501 + private_occupants (int): Will always be `0` when unauthenticated.. [optional] if omitted the server will use the default value of 0 # noqa: E501 + public_occupants (int): Will always be `0` when unauthenticated.. [optional] if omitted the server will use the default value of 0 # noqa: E501 """ featured = kwargs.get('featured', False) @@ -416,11 +416,11 @@ def __init__(self, author_id, author_name, capacity, created_at, description, id through its discriminator because we passed in _visited_composed_classes = (Animal,) favorites (int): [optional] if omitted the server will use the default value of 0 # noqa: E501 - instances ([[bool, date, datetime, dict, float, int, list, str, none_type]]): [optional] # noqa: E501 - occupants (int): [optional] if omitted the server will use the default value of 0 # noqa: E501 + instances ([[bool, date, datetime, dict, float, int, list, str, none_type]]): Will always be an empty list when unauthenticated.. [optional] # noqa: E501 + occupants (int): Will always be `0` when unauthenticated.. [optional] if omitted the server will use the default value of 0 # noqa: E501 preview_youtube_id (str, none_type): [optional] # noqa: E501 - private_occupants (int): [optional] if omitted the server will use the default value of 0 # noqa: E501 - public_occupants (int): [optional] if omitted the server will use the default value of 0 # noqa: E501 + private_occupants (int): Will always be `0` when unauthenticated.. [optional] if omitted the server will use the default value of 0 # noqa: E501 + public_occupants (int): Will always be `0` when unauthenticated.. [optional] if omitted the server will use the default value of 0 # noqa: E501 """ featured = kwargs.get('featured', False) diff --git a/vrchatapi/model/world_id.py b/vrchatapi/model/world_id.py index c4b754a9..c4b089a5 100644 --- a/vrchatapi/model/world_id.py +++ b/vrchatapi/model/world_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_metadata.py b/vrchatapi/model/world_metadata.py index 339c40c9..558070aa 100644 --- a/vrchatapi/model/world_metadata.py +++ b/vrchatapi/model/world_metadata.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_publish_status.py b/vrchatapi/model/world_publish_status.py index bc1cb9f2..fbf6725d 100644 --- a/vrchatapi/model/world_publish_status.py +++ b/vrchatapi/model/world_publish_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model_utils.py b/vrchatapi/model_utils.py index 423e03ba..e0e16222 100644 --- a/vrchatapi/model_utils.py +++ b/vrchatapi/model_utils.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index d728864a..21d2c63a 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.6 + The version of the OpenAPI document: 1.7.7 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ From ea85fa8b1cddd0ea67e97fdb55cfe7b000ecf26a Mon Sep 17 00:00:00 2001 From: VRCCat Date: Fri, 4 Nov 2022 02:04:58 +0000 Subject: [PATCH 016/102] Upgrade Python SDK to spec 1.8.0 --- docs/CurrentUser.md | 2 +- docs/LimitedUser.md | 2 +- docs/Notification.md | 2 +- docs/SentNotification.md | 2 +- docs/User.md | 2 +- docs/UsersApi.md | 2 +- setup.py | 4 ++-- vrchatapi/__init__.py | 2 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 4 ++-- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/api_client.py.orig | 2 +- vrchatapi/configuration.py | 4 ++-- vrchatapi/exceptions.py | 2 +- vrchatapi/model/add_favorite_request.py | 2 +- vrchatapi/model/api_config.py | 4 ++-- vrchatapi/model/api_event_config.py | 2 +- vrchatapi/model/api_health.py | 2 +- vrchatapi/model/avatar.py | 2 +- vrchatapi/model/avatar_id.py | 2 +- .../model/avatar_unity_package_url_object.py | 2 +- vrchatapi/model/create_avatar_request.py | 2 +- vrchatapi/model/create_file_request.py | 2 +- vrchatapi/model/create_file_version_request.py | 2 +- vrchatapi/model/create_world_request.py | 2 +- vrchatapi/model/current_user.py | 16 +++++++--------- vrchatapi/model/deployment_group.py | 2 +- vrchatapi/model/developer_type.py | 2 +- vrchatapi/model/download_url_list.py | 2 +- vrchatapi/model/dynamic_content_row.py | 2 +- vrchatapi/model/error.py | 2 +- vrchatapi/model/favorite.py | 2 +- vrchatapi/model/favorite_group.py | 2 +- vrchatapi/model/favorite_group_id.py | 2 +- vrchatapi/model/favorite_group_visibility.py | 2 +- vrchatapi/model/favorite_id.py | 2 +- vrchatapi/model/favorite_type.py | 2 +- vrchatapi/model/file.py | 2 +- vrchatapi/model/file_data.py | 2 +- vrchatapi/model/file_id.py | 2 +- vrchatapi/model/file_status.py | 2 +- vrchatapi/model/file_upload_url.py | 2 +- vrchatapi/model/file_version.py | 2 +- vrchatapi/model/file_version_upload_status.py | 2 +- .../model/finish_file_data_upload_request.py | 2 +- vrchatapi/model/friend_status.py | 2 +- vrchatapi/model/info_push.py | 2 +- vrchatapi/model/info_push_data.py | 2 +- vrchatapi/model/info_push_data_article.py | 2 +- .../model/info_push_data_article_content.py | 2 +- vrchatapi/model/info_push_data_clickable.py | 2 +- vrchatapi/model/instance.py | 2 +- vrchatapi/model/instance_id.py | 2 +- vrchatapi/model/instance_platforms.py | 2 +- vrchatapi/model/instance_short_name_response.py | 2 +- vrchatapi/model/instance_type.py | 2 +- vrchatapi/model/invite_message.py | 2 +- vrchatapi/model/invite_message_id.py | 2 +- vrchatapi/model/invite_message_type.py | 2 +- vrchatapi/model/invite_request.py | 2 +- vrchatapi/model/invite_response.py | 2 +- vrchatapi/model/license.py | 2 +- vrchatapi/model/license_action.py | 2 +- vrchatapi/model/license_group.py | 2 +- vrchatapi/model/license_group_id.py | 2 +- vrchatapi/model/license_type.py | 2 +- vrchatapi/model/limited_unity_package.py | 2 +- vrchatapi/model/limited_user.py | 16 +++++++--------- vrchatapi/model/limited_world.py | 2 +- vrchatapi/model/mime_type.py | 2 +- vrchatapi/model/moderate_user_request.py | 2 +- vrchatapi/model/notification.py | 16 +++++++--------- vrchatapi/model/notification_type.py | 2 +- vrchatapi/model/past_display_name.py | 2 +- vrchatapi/model/permission.py | 2 +- vrchatapi/model/permission_id.py | 2 +- vrchatapi/model/player_moderation.py | 2 +- vrchatapi/model/player_moderation_id.py | 2 +- vrchatapi/model/player_moderation_type.py | 2 +- vrchatapi/model/public_announcement.py | 2 +- vrchatapi/model/region.py | 2 +- vrchatapi/model/release_status.py | 2 +- vrchatapi/model/request_invite_request.py | 2 +- vrchatapi/model/response.py | 2 +- vrchatapi/model/sent_notification.py | 16 +++++++--------- vrchatapi/model/subscription.py | 2 +- vrchatapi/model/subscription_period.py | 2 +- vrchatapi/model/success.py | 2 +- vrchatapi/model/tag.py | 2 +- vrchatapi/model/transaction.py | 2 +- vrchatapi/model/transaction_agreement.py | 2 +- vrchatapi/model/transaction_id.py | 2 +- vrchatapi/model/transaction_status.py | 2 +- vrchatapi/model/transaction_steam_info.py | 2 +- vrchatapi/model/transaction_steam_wallet_info.py | 2 +- vrchatapi/model/two_factor_auth_code.py | 2 +- vrchatapi/model/unity_package.py | 2 +- vrchatapi/model/unity_package_id.py | 2 +- vrchatapi/model/update_avatar_request.py | 2 +- vrchatapi/model/update_favorite_group_request.py | 2 +- vrchatapi/model/update_invite_message_request.py | 2 +- vrchatapi/model/update_user_request.py | 2 +- vrchatapi/model/update_world_request.py | 2 +- vrchatapi/model/user.py | 16 +++++++--------- vrchatapi/model/user_exists.py | 2 +- vrchatapi/model/user_state.py | 2 +- vrchatapi/model/user_status.py | 2 +- vrchatapi/model/user_subscription.py | 2 +- vrchatapi/model/verify2_fa_result.py | 2 +- vrchatapi/model/verify_auth_token_result.py | 2 +- vrchatapi/model/world.py | 2 +- vrchatapi/model/world_id.py | 2 +- vrchatapi/model/world_metadata.py | 2 +- vrchatapi/model/world_publish_status.py | 2 +- vrchatapi/model_utils.py | 2 +- vrchatapi/rest.py | 2 +- 128 files changed, 162 insertions(+), 172 deletions(-) diff --git a/docs/CurrentUser.md b/docs/CurrentUser.md index c1341ff2..ee812c8f 100644 --- a/docs/CurrentUser.md +++ b/docs/CurrentUser.md @@ -43,7 +43,6 @@ Name | Type | Description | Notes **two_factor_auth_enabled** | **bool** | | **unsubscribe** | **bool** | | **user_icon** | **str** | | -**username** | **str** | | **is_friend** | **bool** | | defaults to False **account_deletion_date** | **date, none_type** | | [optional] **active_friends** | **[str]** | | [optional] @@ -51,6 +50,7 @@ Name | Type | Description | Notes **offline_friends** | **[str]** | | [optional] **online_friends** | **[str]** | | [optional] **two_factor_auth_enabled_date** | **datetime, none_type** | | [optional] +**username** | **str** | -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/LimitedUser.md b/docs/LimitedUser.md index 21763104..58c2f03b 100644 --- a/docs/LimitedUser.md +++ b/docs/LimitedUser.md @@ -17,8 +17,8 @@ Name | Type | Description | Notes **status_description** | **str** | | **tags** | [**[Tag]**](Tag.md) | <- Always empty. | **user_icon** | **str** | | -**username** | **str** | | **bio** | **str** | | [optional] +**username** | **str** | -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). | [optional] **location** | **str** | | [optional] **friend_key** | **str** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/docs/Notification.md b/docs/Notification.md index 4a5baec2..95bbdf40 100644 --- a/docs/Notification.md +++ b/docs/Notification.md @@ -8,10 +8,10 @@ Name | Type | Description | Notes **id** | **str** | | **message** | **str** | | **sender_user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | -**sender_username** | **str** | | **type** | [**NotificationType**](NotificationType.md) | | **details** | **str** | **NOTICE:** This is not a JSON object, this is a json **encoded** object, meaning you have to json-de-encode to get the NotificationDetail object depending on the NotificationType. | defaults to "{}" **seen** | **bool** | | defaults to False +**sender_username** | **str** | -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SentNotification.md b/docs/SentNotification.md index d3b1132f..7d951224 100644 --- a/docs/SentNotification.md +++ b/docs/SentNotification.md @@ -9,9 +9,9 @@ Name | Type | Description | Notes **message** | **str** | | **reciever_user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | **sender_user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | -**sender_username** | **str** | | **type** | [**NotificationType**](NotificationType.md) | | **details** | **str** | **NOTICE:** This is not a JSON object, this is a json **encoded** object, meaning you have to json-de-encode to get the NotificationDetail object depending on the NotificationType. | defaults to "{}" +**sender_username** | **str** | -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/User.md b/docs/User.md index 85879a58..68940570 100644 --- a/docs/User.md +++ b/docs/User.md @@ -24,7 +24,6 @@ Name | Type | Description | Notes **status_description** | **str** | | **tags** | [**[Tag]**](Tag.md) | | **user_icon** | **str** | | -**username** | **str** | A users unique name, used during login. This is different from `displayName` which is what shows up in-game. A users `username` can never be changed. | **allow_avatar_copying** | **bool** | | defaults to True **instance_id** | [**InstanceID**](InstanceID.md) | | [optional] **location** | [**WorldID**](WorldID.md) | | [optional] @@ -32,6 +31,7 @@ Name | Type | Description | Notes **traveling_to_instance** | **str** | | [optional] **traveling_to_location** | **str** | | [optional] **traveling_to_world** | **str** | | [optional] +**username** | **str** | -| A users unique name, used during login. This is different from `displayName` which is what shows up in-game. A users `username` can never be changed.' **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). | [optional] **world_id** | [**WorldID**](WorldID.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/docs/UsersApi.md b/docs/UsersApi.md index 5849d86e..778c48ea 100644 --- a/docs/UsersApi.md +++ b/docs/UsersApi.md @@ -102,7 +102,7 @@ Name | Type | Description | Notes Get User by Username -Get public user information about a specific user using their name. +~~Get public user information about a specific user using their name.~~ **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). This endpoint now require Admin Credentials. ### Example diff --git a/setup.py b/setup.py index 9d1c6f31..eb50a833 100644 --- a/setup.py +++ b/setup.py @@ -64,7 +64,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -73,7 +73,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.7.7" +VERSION = "1.8.0" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index de28af8b..c1e90eb1 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index 3b46ac84..e74661a4 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index e6fbad06..a78af727 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 2371392b..21d95184 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index a81c880f..3c6ec8a6 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index 6e3a66a3..e855f5b3 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index 627ce96a..0b371377 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 79a881b1..0bfed340 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index 0cbdb347..82fe0cbf 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index 3098f354..bc61151f 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index 85b6cc89..9b8efc35 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index 4ddce968..beaa4fec 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index 6283e737..a1e01a9c 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index 4fee83b1..699f3665 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -356,7 +356,7 @@ def get_user_by_name( ): """Get User by Username # noqa: E501 - Get public user information about a specific user using their name. # noqa: E501 + ~~Get public user information about a specific user using their name.~~ **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). This endpoint now require Admin Credentials. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 6e059c49..f0666693 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index d673d6e2..5b600d98 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py.orig b/vrchatapi/api_client.py.orig index 218f5d14..0b7e776b 100644 --- a/vrchatapi/api_client.py.orig +++ b/vrchatapi/api_client.py.orig @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index 0871ad97..82afc577 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -455,7 +455,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.7.7\n"\ + "Version of the API: 1.8.0\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index 295e8798..a2f75c5a 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/add_favorite_request.py b/vrchatapi/model/add_favorite_request.py index e73ec88a..a8cf3672 100644 --- a/vrchatapi/model/add_favorite_request.py +++ b/vrchatapi/model/add_favorite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_config.py b/vrchatapi/model/api_config.py index a17bd32c..b665316e 100644 --- a/vrchatapi/model/api_config.py +++ b/vrchatapi/model/api_config.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -78,7 +78,7 @@ class APIConfig(ModelNormal): 'min_length': 1, }, ('announcements',): { - 'min_items': 1, + 'min_items': 0, }, ('api_key',): { 'min_length': 1, diff --git a/vrchatapi/model/api_event_config.py b/vrchatapi/model/api_event_config.py index d74d81f3..a973d8c2 100644 --- a/vrchatapi/model/api_event_config.py +++ b/vrchatapi/model/api_event_config.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_health.py b/vrchatapi/model/api_health.py index 9073bd47..08c8e3a2 100644 --- a/vrchatapi/model/api_health.py +++ b/vrchatapi/model/api_health.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar.py b/vrchatapi/model/avatar.py index 51c0dfba..5947cb4c 100644 --- a/vrchatapi/model/avatar.py +++ b/vrchatapi/model/avatar.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar_id.py b/vrchatapi/model/avatar_id.py index 75d2d87f..34c2aa4b 100644 --- a/vrchatapi/model/avatar_id.py +++ b/vrchatapi/model/avatar_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar_unity_package_url_object.py b/vrchatapi/model/avatar_unity_package_url_object.py index e963871c..582c2ed3 100644 --- a/vrchatapi/model/avatar_unity_package_url_object.py +++ b/vrchatapi/model/avatar_unity_package_url_object.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_avatar_request.py b/vrchatapi/model/create_avatar_request.py index b1206975..8981a4c2 100644 --- a/vrchatapi/model/create_avatar_request.py +++ b/vrchatapi/model/create_avatar_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_file_request.py b/vrchatapi/model/create_file_request.py index 4d97cf08..08212a3d 100644 --- a/vrchatapi/model/create_file_request.py +++ b/vrchatapi/model/create_file_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_file_version_request.py b/vrchatapi/model/create_file_version_request.py index ec30decc..91da3697 100644 --- a/vrchatapi/model/create_file_version_request.py +++ b/vrchatapi/model/create_file_version_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_world_request.py b/vrchatapi/model/create_world_request.py index 0efff79e..45834a58 100644 --- a/vrchatapi/model/create_world_request.py +++ b/vrchatapi/model/create_world_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/current_user.py b/vrchatapi/model/current_user.py index 8ce004fb..d1ed944c 100644 --- a/vrchatapi/model/current_user.py +++ b/vrchatapi/model/current_user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -142,13 +142,13 @@ def openapi_types(): 'two_factor_auth_enabled': (bool,), # noqa: E501 'unsubscribe': (bool,), # noqa: E501 'user_icon': (str,), # noqa: E501 - 'username': (str,), # noqa: E501 'account_deletion_date': (date, none_type,), # noqa: E501 'active_friends': ([str],), # noqa: E501 'fallback_avatar': (AvatarID,), # noqa: E501 'offline_friends': ([str],), # noqa: E501 'online_friends': ([str],), # noqa: E501 'two_factor_auth_enabled_date': (datetime, none_type,), # noqa: E501 + 'username': (str,), # noqa: E501 } @cached_property @@ -197,13 +197,13 @@ def discriminator(): 'two_factor_auth_enabled': 'twoFactorAuthEnabled', # noqa: E501 'unsubscribe': 'unsubscribe', # noqa: E501 'user_icon': 'userIcon', # noqa: E501 - 'username': 'username', # noqa: E501 'account_deletion_date': 'accountDeletionDate', # noqa: E501 'active_friends': 'activeFriends', # noqa: E501 'fallback_avatar': 'fallbackAvatar', # noqa: E501 'offline_friends': 'offlineFriends', # noqa: E501 'online_friends': 'onlineFriends', # noqa: E501 'two_factor_auth_enabled_date': 'twoFactorAuthEnabledDate', # noqa: E501 + 'username': 'username', # noqa: E501 } read_only_vars = { @@ -213,7 +213,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, accepted_tos_version, allow_avatar_copying, bio, bio_links, current_avatar, current_avatar_asset_url, current_avatar_image_url, current_avatar_thumbnail_image_url, date_joined, developer_type, display_name, email_verified, friend_group_names, friend_key, friends, has_birthday, has_email, has_logged_in_from_client, has_pending_email, home_location, id, last_login, last_platform, obfuscated_email, obfuscated_pending_email, oculus_id, past_display_names, profile_pic_override, state, status, status_description, status_first_time, status_history, steam_details, steam_id, tags, two_factor_auth_enabled, unsubscribe, user_icon, username, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, accepted_tos_version, allow_avatar_copying, bio, bio_links, current_avatar, current_avatar_asset_url, current_avatar_image_url, current_avatar_thumbnail_image_url, date_joined, developer_type, display_name, email_verified, friend_group_names, friend_key, friends, has_birthday, has_email, has_logged_in_from_client, has_pending_email, home_location, id, last_login, last_platform, obfuscated_email, obfuscated_pending_email, oculus_id, past_display_names, profile_pic_override, state, status, status_description, status_first_time, status_history, steam_details, steam_id, tags, two_factor_auth_enabled, unsubscribe, user_icon, *args, **kwargs): # noqa: E501 """CurrentUser - a model defined in OpenAPI Args: @@ -256,7 +256,6 @@ def _from_openapi_data(cls, accepted_tos_version, allow_avatar_copying, bio, bio two_factor_auth_enabled (bool): unsubscribe (bool): user_icon (str): - username (str): Keyword Args: is_friend (bool): defaults to False # noqa: E501 @@ -296,6 +295,7 @@ def _from_openapi_data(cls, accepted_tos_version, allow_avatar_copying, bio, bio offline_friends ([str]): [optional] # noqa: E501 online_friends ([str]): [optional] # noqa: E501 two_factor_auth_enabled_date (datetime, none_type): [optional] # noqa: E501 + username (str): -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429).. [optional] # noqa: E501 """ is_friend = kwargs.get('is_friend', False) @@ -364,7 +364,6 @@ def _from_openapi_data(cls, accepted_tos_version, allow_avatar_copying, bio, bio self.two_factor_auth_enabled = two_factor_auth_enabled self.unsubscribe = unsubscribe self.user_icon = user_icon - self.username = username for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -385,7 +384,7 @@ def _from_openapi_data(cls, accepted_tos_version, allow_avatar_copying, bio, bio ]) @convert_js_args_to_python_args - def __init__(self, accepted_tos_version, allow_avatar_copying, bio, bio_links, current_avatar, current_avatar_asset_url, current_avatar_image_url, current_avatar_thumbnail_image_url, date_joined, developer_type, display_name, email_verified, friend_group_names, friend_key, friends, has_birthday, has_email, has_logged_in_from_client, has_pending_email, home_location, id, last_login, last_platform, obfuscated_email, obfuscated_pending_email, oculus_id, past_display_names, profile_pic_override, state, status, status_description, status_first_time, status_history, steam_details, steam_id, tags, two_factor_auth_enabled, unsubscribe, user_icon, username, *args, **kwargs): # noqa: E501 + def __init__(self, accepted_tos_version, allow_avatar_copying, bio, bio_links, current_avatar, current_avatar_asset_url, current_avatar_image_url, current_avatar_thumbnail_image_url, date_joined, developer_type, display_name, email_verified, friend_group_names, friend_key, friends, has_birthday, has_email, has_logged_in_from_client, has_pending_email, home_location, id, last_login, last_platform, obfuscated_email, obfuscated_pending_email, oculus_id, past_display_names, profile_pic_override, state, status, status_description, status_first_time, status_history, steam_details, steam_id, tags, two_factor_auth_enabled, unsubscribe, user_icon, *args, **kwargs): # noqa: E501 """CurrentUser - a model defined in OpenAPI Args: @@ -428,7 +427,6 @@ def __init__(self, accepted_tos_version, allow_avatar_copying, bio, bio_links, c two_factor_auth_enabled (bool): unsubscribe (bool): user_icon (str): - username (str): Keyword Args: is_friend (bool): defaults to False # noqa: E501 @@ -468,6 +466,7 @@ def __init__(self, accepted_tos_version, allow_avatar_copying, bio, bio_links, c offline_friends ([str]): [optional] # noqa: E501 online_friends ([str]): [optional] # noqa: E501 two_factor_auth_enabled_date (datetime, none_type): [optional] # noqa: E501 + username (str): -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429).. [optional] # noqa: E501 """ is_friend = kwargs.get('is_friend', False) @@ -534,7 +533,6 @@ def __init__(self, accepted_tos_version, allow_avatar_copying, bio, bio_links, c self.two_factor_auth_enabled = two_factor_auth_enabled self.unsubscribe = unsubscribe self.user_icon = user_icon - self.username = username for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/vrchatapi/model/deployment_group.py b/vrchatapi/model/deployment_group.py index 331d75ad..f0d0877b 100644 --- a/vrchatapi/model/deployment_group.py +++ b/vrchatapi/model/deployment_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/developer_type.py b/vrchatapi/model/developer_type.py index 96f48309..e8421ed8 100644 --- a/vrchatapi/model/developer_type.py +++ b/vrchatapi/model/developer_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/download_url_list.py b/vrchatapi/model/download_url_list.py index 4054203e..185db948 100644 --- a/vrchatapi/model/download_url_list.py +++ b/vrchatapi/model/download_url_list.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/dynamic_content_row.py b/vrchatapi/model/dynamic_content_row.py index e04021f7..5cd8c677 100644 --- a/vrchatapi/model/dynamic_content_row.py +++ b/vrchatapi/model/dynamic_content_row.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/error.py b/vrchatapi/model/error.py index 167367f4..fcce87c7 100644 --- a/vrchatapi/model/error.py +++ b/vrchatapi/model/error.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite.py b/vrchatapi/model/favorite.py index def85288..4bbbffcb 100644 --- a/vrchatapi/model/favorite.py +++ b/vrchatapi/model/favorite.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group.py b/vrchatapi/model/favorite_group.py index 9a049d9c..74bc9244 100644 --- a/vrchatapi/model/favorite_group.py +++ b/vrchatapi/model/favorite_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group_id.py b/vrchatapi/model/favorite_group_id.py index c359da56..51ed33be 100644 --- a/vrchatapi/model/favorite_group_id.py +++ b/vrchatapi/model/favorite_group_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group_visibility.py b/vrchatapi/model/favorite_group_visibility.py index ec4ad172..4c968696 100644 --- a/vrchatapi/model/favorite_group_visibility.py +++ b/vrchatapi/model/favorite_group_visibility.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_id.py b/vrchatapi/model/favorite_id.py index 999b2167..24ee658f 100644 --- a/vrchatapi/model/favorite_id.py +++ b/vrchatapi/model/favorite_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_type.py b/vrchatapi/model/favorite_type.py index 18d45cc3..da1f3503 100644 --- a/vrchatapi/model/favorite_type.py +++ b/vrchatapi/model/favorite_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file.py b/vrchatapi/model/file.py index 7066480b..22ed5217 100644 --- a/vrchatapi/model/file.py +++ b/vrchatapi/model/file.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_data.py b/vrchatapi/model/file_data.py index 978bde66..e8e03333 100644 --- a/vrchatapi/model/file_data.py +++ b/vrchatapi/model/file_data.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_id.py b/vrchatapi/model/file_id.py index 9dd58d36..230e39e3 100644 --- a/vrchatapi/model/file_id.py +++ b/vrchatapi/model/file_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_status.py b/vrchatapi/model/file_status.py index 22815076..8c3abf43 100644 --- a/vrchatapi/model/file_status.py +++ b/vrchatapi/model/file_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_upload_url.py b/vrchatapi/model/file_upload_url.py index 5fa3bd7f..3d33e38f 100644 --- a/vrchatapi/model/file_upload_url.py +++ b/vrchatapi/model/file_upload_url.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_version.py b/vrchatapi/model/file_version.py index fbf6990b..d260088f 100644 --- a/vrchatapi/model/file_version.py +++ b/vrchatapi/model/file_version.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_version_upload_status.py b/vrchatapi/model/file_version_upload_status.py index fcce68b5..1de05e21 100644 --- a/vrchatapi/model/file_version_upload_status.py +++ b/vrchatapi/model/file_version_upload_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/finish_file_data_upload_request.py b/vrchatapi/model/finish_file_data_upload_request.py index f01df7eb..9b5a21ed 100644 --- a/vrchatapi/model/finish_file_data_upload_request.py +++ b/vrchatapi/model/finish_file_data_upload_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/friend_status.py b/vrchatapi/model/friend_status.py index b0f419ef..6bd7c63b 100644 --- a/vrchatapi/model/friend_status.py +++ b/vrchatapi/model/friend_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push.py b/vrchatapi/model/info_push.py index 5d533d8e..3e2ff102 100644 --- a/vrchatapi/model/info_push.py +++ b/vrchatapi/model/info_push.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data.py b/vrchatapi/model/info_push_data.py index 3ba2ab19..f9010139 100644 --- a/vrchatapi/model/info_push_data.py +++ b/vrchatapi/model/info_push_data.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_article.py b/vrchatapi/model/info_push_data_article.py index 3fcef04f..bdc71ef0 100644 --- a/vrchatapi/model/info_push_data_article.py +++ b/vrchatapi/model/info_push_data_article.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_article_content.py b/vrchatapi/model/info_push_data_article_content.py index 3a3f78f5..f01045b6 100644 --- a/vrchatapi/model/info_push_data_article_content.py +++ b/vrchatapi/model/info_push_data_article_content.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_clickable.py b/vrchatapi/model/info_push_data_clickable.py index 92c7ea46..05da6102 100644 --- a/vrchatapi/model/info_push_data_clickable.py +++ b/vrchatapi/model/info_push_data_clickable.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance.py b/vrchatapi/model/instance.py index a290bd5a..3ab71292 100644 --- a/vrchatapi/model/instance.py +++ b/vrchatapi/model/instance.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_id.py b/vrchatapi/model/instance_id.py index 62a56c56..577fb217 100644 --- a/vrchatapi/model/instance_id.py +++ b/vrchatapi/model/instance_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_platforms.py b/vrchatapi/model/instance_platforms.py index b9dab86b..cd73780e 100644 --- a/vrchatapi/model/instance_platforms.py +++ b/vrchatapi/model/instance_platforms.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_short_name_response.py b/vrchatapi/model/instance_short_name_response.py index 1cd12c32..f9d07812 100644 --- a/vrchatapi/model/instance_short_name_response.py +++ b/vrchatapi/model/instance_short_name_response.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_type.py b/vrchatapi/model/instance_type.py index fdff3acb..e94ad4b5 100644 --- a/vrchatapi/model/instance_type.py +++ b/vrchatapi/model/instance_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message.py b/vrchatapi/model/invite_message.py index 276e4fc3..50d3a09d 100644 --- a/vrchatapi/model/invite_message.py +++ b/vrchatapi/model/invite_message.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message_id.py b/vrchatapi/model/invite_message_id.py index 222532cb..e170108e 100644 --- a/vrchatapi/model/invite_message_id.py +++ b/vrchatapi/model/invite_message_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message_type.py b/vrchatapi/model/invite_message_type.py index eb3d9297..93a787f4 100644 --- a/vrchatapi/model/invite_message_type.py +++ b/vrchatapi/model/invite_message_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_request.py b/vrchatapi/model/invite_request.py index 6256e165..89ef5c02 100644 --- a/vrchatapi/model/invite_request.py +++ b/vrchatapi/model/invite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_response.py b/vrchatapi/model/invite_response.py index 0a2174b1..053213f1 100644 --- a/vrchatapi/model/invite_response.py +++ b/vrchatapi/model/invite_response.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license.py b/vrchatapi/model/license.py index 4fcc42c2..1db6a945 100644 --- a/vrchatapi/model/license.py +++ b/vrchatapi/model/license.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_action.py b/vrchatapi/model/license_action.py index 7ef3f8e5..7d4124e1 100644 --- a/vrchatapi/model/license_action.py +++ b/vrchatapi/model/license_action.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_group.py b/vrchatapi/model/license_group.py index 4de4f6b2..3ccbafbc 100644 --- a/vrchatapi/model/license_group.py +++ b/vrchatapi/model/license_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_group_id.py b/vrchatapi/model/license_group_id.py index b032d4c8..d7603d7a 100644 --- a/vrchatapi/model/license_group_id.py +++ b/vrchatapi/model/license_group_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_type.py b/vrchatapi/model/license_type.py index f6821823..1d54dd3b 100644 --- a/vrchatapi/model/license_type.py +++ b/vrchatapi/model/license_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_unity_package.py b/vrchatapi/model/limited_unity_package.py index 3b33b3ee..371a23e1 100644 --- a/vrchatapi/model/limited_unity_package.py +++ b/vrchatapi/model/limited_unity_package.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_user.py b/vrchatapi/model/limited_user.py index bcaebb39..b696b32c 100644 --- a/vrchatapi/model/limited_user.py +++ b/vrchatapi/model/limited_user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -106,8 +106,8 @@ def openapi_types(): 'status_description': (str,), # noqa: E501 'tags': ([Tag],), # noqa: E501 'user_icon': (str,), # noqa: E501 - 'username': (str,), # noqa: E501 'bio': (str,), # noqa: E501 + 'username': (str,), # noqa: E501 'location': (str,), # noqa: E501 'friend_key': (str,), # noqa: E501 } @@ -131,8 +131,8 @@ def discriminator(): 'status_description': 'statusDescription', # noqa: E501 'tags': 'tags', # noqa: E501 'user_icon': 'userIcon', # noqa: E501 - 'username': 'username', # noqa: E501 'bio': 'bio', # noqa: E501 + 'username': 'username', # noqa: E501 'location': 'location', # noqa: E501 'friend_key': 'friendKey', # noqa: E501 } @@ -144,7 +144,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, current_avatar_image_url, current_avatar_thumbnail_image_url, developer_type, display_name, fallback_avatar, id, is_friend, last_platform, profile_pic_override, status, status_description, tags, user_icon, username, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, current_avatar_image_url, current_avatar_thumbnail_image_url, developer_type, display_name, fallback_avatar, id, is_friend, last_platform, profile_pic_override, status, status_description, tags, user_icon, *args, **kwargs): # noqa: E501 """LimitedUser - a model defined in OpenAPI Args: @@ -161,7 +161,6 @@ def _from_openapi_data(cls, current_avatar_image_url, current_avatar_thumbnail_i status_description (str): tags ([Tag]): <- Always empty. user_icon (str): - username (str): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -195,6 +194,7 @@ def _from_openapi_data(cls, current_avatar_image_url, current_avatar_thumbnail_i through its discriminator because we passed in _visited_composed_classes = (Animal,) bio (str): [optional] # noqa: E501 + username (str): -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429).. [optional] # noqa: E501 location (str): [optional] # noqa: E501 friend_key (str): [optional] # noqa: E501 """ @@ -237,7 +237,6 @@ def _from_openapi_data(cls, current_avatar_image_url, current_avatar_thumbnail_i self.status_description = status_description self.tags = tags self.user_icon = user_icon - self.username = username for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -258,7 +257,7 @@ def _from_openapi_data(cls, current_avatar_image_url, current_avatar_thumbnail_i ]) @convert_js_args_to_python_args - def __init__(self, current_avatar_image_url, current_avatar_thumbnail_image_url, developer_type, display_name, fallback_avatar, id, is_friend, last_platform, profile_pic_override, status, status_description, tags, user_icon, username, *args, **kwargs): # noqa: E501 + def __init__(self, current_avatar_image_url, current_avatar_thumbnail_image_url, developer_type, display_name, fallback_avatar, id, is_friend, last_platform, profile_pic_override, status, status_description, tags, user_icon, *args, **kwargs): # noqa: E501 """LimitedUser - a model defined in OpenAPI Args: @@ -275,7 +274,6 @@ def __init__(self, current_avatar_image_url, current_avatar_thumbnail_image_url, status_description (str): tags ([Tag]): <- Always empty. user_icon (str): - username (str): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -309,6 +307,7 @@ def __init__(self, current_avatar_image_url, current_avatar_thumbnail_image_url, through its discriminator because we passed in _visited_composed_classes = (Animal,) bio (str): [optional] # noqa: E501 + username (str): -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429).. [optional] # noqa: E501 location (str): [optional] # noqa: E501 friend_key (str): [optional] # noqa: E501 """ @@ -349,7 +348,6 @@ def __init__(self, current_avatar_image_url, current_avatar_thumbnail_image_url, self.status_description = status_description self.tags = tags self.user_icon = user_icon - self.username = username for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/vrchatapi/model/limited_world.py b/vrchatapi/model/limited_world.py index ea46e48d..d7c2f477 100644 --- a/vrchatapi/model/limited_world.py +++ b/vrchatapi/model/limited_world.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/mime_type.py b/vrchatapi/model/mime_type.py index 6362f114..df8cbbe0 100644 --- a/vrchatapi/model/mime_type.py +++ b/vrchatapi/model/mime_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/moderate_user_request.py b/vrchatapi/model/moderate_user_request.py index 097e011d..031ae821 100644 --- a/vrchatapi/model/moderate_user_request.py +++ b/vrchatapi/model/moderate_user_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/notification.py b/vrchatapi/model/notification.py index ae55e17a..f42df545 100644 --- a/vrchatapi/model/notification.py +++ b/vrchatapi/model/notification.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -99,8 +99,8 @@ def openapi_types(): 'message': (str,), # noqa: E501 'seen': (bool,), # noqa: E501 'sender_user_id': (str,), # noqa: E501 - 'sender_username': (str,), # noqa: E501 'type': (NotificationType,), # noqa: E501 + 'sender_username': (str,), # noqa: E501 } @cached_property @@ -115,8 +115,8 @@ def discriminator(): 'message': 'message', # noqa: E501 'seen': 'seen', # noqa: E501 'sender_user_id': 'senderUserId', # noqa: E501 - 'sender_username': 'senderUsername', # noqa: E501 'type': 'type', # noqa: E501 + 'sender_username': 'senderUsername', # noqa: E501 } read_only_vars = { @@ -126,7 +126,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, created_at, id, message, sender_user_id, sender_username, type, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, created_at, id, message, sender_user_id, type, *args, **kwargs): # noqa: E501 """Notification - a model defined in OpenAPI Args: @@ -134,7 +134,6 @@ def _from_openapi_data(cls, created_at, id, message, sender_user_id, sender_user id (str): message (str): sender_user_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. - sender_username (str): type (NotificationType): Keyword Args: @@ -170,6 +169,7 @@ def _from_openapi_data(cls, created_at, id, message, sender_user_id, sender_user Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + sender_username (str): -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429).. [optional] # noqa: E501 """ details = kwargs.get('details', "{}") @@ -205,7 +205,6 @@ def _from_openapi_data(cls, created_at, id, message, sender_user_id, sender_user self.message = message self.seen = seen self.sender_user_id = sender_user_id - self.sender_username = sender_username self.type = type for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ @@ -227,7 +226,7 @@ def _from_openapi_data(cls, created_at, id, message, sender_user_id, sender_user ]) @convert_js_args_to_python_args - def __init__(self, created_at, id, message, sender_user_id, sender_username, type, *args, **kwargs): # noqa: E501 + def __init__(self, created_at, id, message, sender_user_id, type, *args, **kwargs): # noqa: E501 """Notification - a model defined in OpenAPI Args: @@ -235,7 +234,6 @@ def __init__(self, created_at, id, message, sender_user_id, sender_username, typ id (str): message (str): sender_user_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. - sender_username (str): type (NotificationType): Keyword Args: @@ -271,6 +269,7 @@ def __init__(self, created_at, id, message, sender_user_id, sender_username, typ Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + sender_username (str): -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429).. [optional] # noqa: E501 """ details = kwargs.get('details', "{}") @@ -304,7 +303,6 @@ def __init__(self, created_at, id, message, sender_user_id, sender_username, typ self.message = message self.seen = seen self.sender_user_id = sender_user_id - self.sender_username = sender_username self.type = type for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ diff --git a/vrchatapi/model/notification_type.py b/vrchatapi/model/notification_type.py index 3709f09c..2167e6c9 100644 --- a/vrchatapi/model/notification_type.py +++ b/vrchatapi/model/notification_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/past_display_name.py b/vrchatapi/model/past_display_name.py index 01bbfd83..ad818cfe 100644 --- a/vrchatapi/model/past_display_name.py +++ b/vrchatapi/model/past_display_name.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/permission.py b/vrchatapi/model/permission.py index 03713ada..e6e46dcb 100644 --- a/vrchatapi/model/permission.py +++ b/vrchatapi/model/permission.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/permission_id.py b/vrchatapi/model/permission_id.py index d09d6e1b..e375fc19 100644 --- a/vrchatapi/model/permission_id.py +++ b/vrchatapi/model/permission_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation.py b/vrchatapi/model/player_moderation.py index fb396a86..cadb804d 100644 --- a/vrchatapi/model/player_moderation.py +++ b/vrchatapi/model/player_moderation.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation_id.py b/vrchatapi/model/player_moderation_id.py index 45bbaa6b..cfa9f140 100644 --- a/vrchatapi/model/player_moderation_id.py +++ b/vrchatapi/model/player_moderation_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation_type.py b/vrchatapi/model/player_moderation_type.py index 0f1271d0..593210c4 100644 --- a/vrchatapi/model/player_moderation_type.py +++ b/vrchatapi/model/player_moderation_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/public_announcement.py b/vrchatapi/model/public_announcement.py index f1a0c440..a58c3065 100644 --- a/vrchatapi/model/public_announcement.py +++ b/vrchatapi/model/public_announcement.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/region.py b/vrchatapi/model/region.py index c820967a..42a0cc27 100644 --- a/vrchatapi/model/region.py +++ b/vrchatapi/model/region.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/release_status.py b/vrchatapi/model/release_status.py index 0b248f9a..5353cc18 100644 --- a/vrchatapi/model/release_status.py +++ b/vrchatapi/model/release_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/request_invite_request.py b/vrchatapi/model/request_invite_request.py index 10d071ca..8b59f60d 100644 --- a/vrchatapi/model/request_invite_request.py +++ b/vrchatapi/model/request_invite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/response.py b/vrchatapi/model/response.py index 2422e337..fb451a5c 100644 --- a/vrchatapi/model/response.py +++ b/vrchatapi/model/response.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/sent_notification.py b/vrchatapi/model/sent_notification.py index 2575b5a5..3c589e52 100644 --- a/vrchatapi/model/sent_notification.py +++ b/vrchatapi/model/sent_notification.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -99,8 +99,8 @@ def openapi_types(): 'message': (str,), # noqa: E501 'reciever_user_id': (str,), # noqa: E501 'sender_user_id': (str,), # noqa: E501 - 'sender_username': (str,), # noqa: E501 'type': (NotificationType,), # noqa: E501 + 'sender_username': (str,), # noqa: E501 } @cached_property @@ -115,8 +115,8 @@ def discriminator(): 'message': 'message', # noqa: E501 'reciever_user_id': 'recieverUserId', # noqa: E501 'sender_user_id': 'senderUserId', # noqa: E501 - 'sender_username': 'senderUsername', # noqa: E501 'type': 'type', # noqa: E501 + 'sender_username': 'senderUsername', # noqa: E501 } read_only_vars = { @@ -126,7 +126,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, created_at, id, message, reciever_user_id, sender_user_id, sender_username, type, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, created_at, id, message, reciever_user_id, sender_user_id, type, *args, **kwargs): # noqa: E501 """SentNotification - a model defined in OpenAPI Args: @@ -135,7 +135,6 @@ def _from_openapi_data(cls, created_at, id, message, reciever_user_id, sender_us message (str): reciever_user_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. sender_user_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. - sender_username (str): type (NotificationType): Keyword Args: @@ -170,6 +169,7 @@ def _from_openapi_data(cls, created_at, id, message, reciever_user_id, sender_us Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + sender_username (str): -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429).. [optional] # noqa: E501 """ details = kwargs.get('details', "{}") @@ -204,7 +204,6 @@ def _from_openapi_data(cls, created_at, id, message, reciever_user_id, sender_us self.message = message self.reciever_user_id = reciever_user_id self.sender_user_id = sender_user_id - self.sender_username = sender_username self.type = type for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ @@ -226,7 +225,7 @@ def _from_openapi_data(cls, created_at, id, message, reciever_user_id, sender_us ]) @convert_js_args_to_python_args - def __init__(self, created_at, id, message, reciever_user_id, sender_user_id, sender_username, type, *args, **kwargs): # noqa: E501 + def __init__(self, created_at, id, message, reciever_user_id, sender_user_id, type, *args, **kwargs): # noqa: E501 """SentNotification - a model defined in OpenAPI Args: @@ -235,7 +234,6 @@ def __init__(self, created_at, id, message, reciever_user_id, sender_user_id, se message (str): reciever_user_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. sender_user_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. - sender_username (str): type (NotificationType): Keyword Args: @@ -270,6 +268,7 @@ def __init__(self, created_at, id, message, reciever_user_id, sender_user_id, se Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + sender_username (str): -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429).. [optional] # noqa: E501 """ details = kwargs.get('details', "{}") @@ -302,7 +301,6 @@ def __init__(self, created_at, id, message, reciever_user_id, sender_user_id, se self.message = message self.reciever_user_id = reciever_user_id self.sender_user_id = sender_user_id - self.sender_username = sender_username self.type = type for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ diff --git a/vrchatapi/model/subscription.py b/vrchatapi/model/subscription.py index 7501d7d7..0d9f2da9 100644 --- a/vrchatapi/model/subscription.py +++ b/vrchatapi/model/subscription.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/subscription_period.py b/vrchatapi/model/subscription_period.py index 2d2a1f75..833e7d8a 100644 --- a/vrchatapi/model/subscription_period.py +++ b/vrchatapi/model/subscription_period.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/success.py b/vrchatapi/model/success.py index acdfd7f0..c7109564 100644 --- a/vrchatapi/model/success.py +++ b/vrchatapi/model/success.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/tag.py b/vrchatapi/model/tag.py index 5cdda693..d53a96ef 100644 --- a/vrchatapi/model/tag.py +++ b/vrchatapi/model/tag.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction.py b/vrchatapi/model/transaction.py index d89338a9..c8310a15 100644 --- a/vrchatapi/model/transaction.py +++ b/vrchatapi/model/transaction.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_agreement.py b/vrchatapi/model/transaction_agreement.py index 85bb4151..84630877 100644 --- a/vrchatapi/model/transaction_agreement.py +++ b/vrchatapi/model/transaction_agreement.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_id.py b/vrchatapi/model/transaction_id.py index 706034d5..83bc32ae 100644 --- a/vrchatapi/model/transaction_id.py +++ b/vrchatapi/model/transaction_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_status.py b/vrchatapi/model/transaction_status.py index db8e77db..1251ff30 100644 --- a/vrchatapi/model/transaction_status.py +++ b/vrchatapi/model/transaction_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_steam_info.py b/vrchatapi/model/transaction_steam_info.py index 748311b3..d98bde89 100644 --- a/vrchatapi/model/transaction_steam_info.py +++ b/vrchatapi/model/transaction_steam_info.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_steam_wallet_info.py b/vrchatapi/model/transaction_steam_wallet_info.py index 96359de6..932db08c 100644 --- a/vrchatapi/model/transaction_steam_wallet_info.py +++ b/vrchatapi/model/transaction_steam_wallet_info.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/two_factor_auth_code.py b/vrchatapi/model/two_factor_auth_code.py index fe8755fe..1c57858d 100644 --- a/vrchatapi/model/two_factor_auth_code.py +++ b/vrchatapi/model/two_factor_auth_code.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/unity_package.py b/vrchatapi/model/unity_package.py index 902c24de..49bb0463 100644 --- a/vrchatapi/model/unity_package.py +++ b/vrchatapi/model/unity_package.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/unity_package_id.py b/vrchatapi/model/unity_package_id.py index b29d7bd9..01285c1a 100644 --- a/vrchatapi/model/unity_package_id.py +++ b/vrchatapi/model/unity_package_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_avatar_request.py b/vrchatapi/model/update_avatar_request.py index 1019ac88..0be1abed 100644 --- a/vrchatapi/model/update_avatar_request.py +++ b/vrchatapi/model/update_avatar_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_favorite_group_request.py b/vrchatapi/model/update_favorite_group_request.py index eee650fe..42c192ed 100644 --- a/vrchatapi/model/update_favorite_group_request.py +++ b/vrchatapi/model/update_favorite_group_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_invite_message_request.py b/vrchatapi/model/update_invite_message_request.py index bc1a340a..7ebbec60 100644 --- a/vrchatapi/model/update_invite_message_request.py +++ b/vrchatapi/model/update_invite_message_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_user_request.py b/vrchatapi/model/update_user_request.py index d7809a76..7d626a1f 100644 --- a/vrchatapi/model/update_user_request.py +++ b/vrchatapi/model/update_user_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_world_request.py b/vrchatapi/model/update_world_request.py index d635056d..75e749fe 100644 --- a/vrchatapi/model/update_world_request.py +++ b/vrchatapi/model/update_world_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user.py b/vrchatapi/model/user.py index ac660d6f..96434eee 100644 --- a/vrchatapi/model/user.py +++ b/vrchatapi/model/user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -122,13 +122,13 @@ def openapi_types(): 'status_description': (str,), # noqa: E501 'tags': ([Tag],), # noqa: E501 'user_icon': (str,), # noqa: E501 - 'username': (str,), # noqa: E501 'instance_id': (InstanceID,), # noqa: E501 'location': (WorldID,), # noqa: E501 'note': (str,), # noqa: E501 'traveling_to_instance': (str,), # noqa: E501 'traveling_to_location': (str,), # noqa: E501 'traveling_to_world': (str,), # noqa: E501 + 'username': (str,), # noqa: E501 'world_id': (WorldID,), # noqa: E501 } @@ -159,13 +159,13 @@ def discriminator(): 'status_description': 'statusDescription', # noqa: E501 'tags': 'tags', # noqa: E501 'user_icon': 'userIcon', # noqa: E501 - 'username': 'username', # noqa: E501 'instance_id': 'instanceId', # noqa: E501 'location': 'location', # noqa: E501 'note': 'note', # noqa: E501 'traveling_to_instance': 'travelingToInstance', # noqa: E501 'traveling_to_location': 'travelingToLocation', # noqa: E501 'traveling_to_world': 'travelingToWorld', # noqa: E501 + 'username': 'username', # noqa: E501 'world_id': 'worldId', # noqa: E501 } @@ -176,7 +176,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, bio, bio_links, current_avatar_image_url, current_avatar_thumbnail_image_url, date_joined, developer_type, display_name, friend_key, friend_request_status, id, is_friend, last_activity, last_login, last_platform, profile_pic_override, state, status, status_description, tags, user_icon, username, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, bio, bio_links, current_avatar_image_url, current_avatar_thumbnail_image_url, date_joined, developer_type, display_name, friend_key, friend_request_status, id, is_friend, last_activity, last_login, last_platform, profile_pic_override, state, status, status_description, tags, user_icon, *args, **kwargs): # noqa: E501 """User - a model defined in OpenAPI Args: @@ -200,7 +200,6 @@ def _from_openapi_data(cls, bio, bio_links, current_avatar_image_url, current_av status_description (str): tags ([Tag]): user_icon (str): - username (str): A users unique name, used during login. This is different from `displayName` which is what shows up in-game. A users `username` can never be changed. Keyword Args: allow_avatar_copying (bool): defaults to True # noqa: E501 @@ -240,6 +239,7 @@ def _from_openapi_data(cls, bio, bio_links, current_avatar_image_url, current_av traveling_to_instance (str): [optional] # noqa: E501 traveling_to_location (str): [optional] # noqa: E501 traveling_to_world (str): [optional] # noqa: E501 + username (str): -| A users unique name, used during login. This is different from `displayName` which is what shows up in-game. A users `username` can never be changed.' **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429).. [optional] # noqa: E501 world_id (WorldID): [optional] # noqa: E501 """ @@ -290,7 +290,6 @@ def _from_openapi_data(cls, bio, bio_links, current_avatar_image_url, current_av self.status_description = status_description self.tags = tags self.user_icon = user_icon - self.username = username for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -311,7 +310,7 @@ def _from_openapi_data(cls, bio, bio_links, current_avatar_image_url, current_av ]) @convert_js_args_to_python_args - def __init__(self, bio, bio_links, current_avatar_image_url, current_avatar_thumbnail_image_url, date_joined, developer_type, display_name, friend_key, friend_request_status, id, is_friend, last_activity, last_login, last_platform, profile_pic_override, state, status, status_description, tags, user_icon, username, *args, **kwargs): # noqa: E501 + def __init__(self, bio, bio_links, current_avatar_image_url, current_avatar_thumbnail_image_url, date_joined, developer_type, display_name, friend_key, friend_request_status, id, is_friend, last_activity, last_login, last_platform, profile_pic_override, state, status, status_description, tags, user_icon, *args, **kwargs): # noqa: E501 """User - a model defined in OpenAPI Args: @@ -335,7 +334,6 @@ def __init__(self, bio, bio_links, current_avatar_image_url, current_avatar_thum status_description (str): tags ([Tag]): user_icon (str): - username (str): A users unique name, used during login. This is different from `displayName` which is what shows up in-game. A users `username` can never be changed. Keyword Args: allow_avatar_copying (bool): defaults to True # noqa: E501 @@ -375,6 +373,7 @@ def __init__(self, bio, bio_links, current_avatar_image_url, current_avatar_thum traveling_to_instance (str): [optional] # noqa: E501 traveling_to_location (str): [optional] # noqa: E501 traveling_to_world (str): [optional] # noqa: E501 + username (str): -| A users unique name, used during login. This is different from `displayName` which is what shows up in-game. A users `username` can never be changed.' **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429).. [optional] # noqa: E501 world_id (WorldID): [optional] # noqa: E501 """ @@ -423,7 +422,6 @@ def __init__(self, bio, bio_links, current_avatar_image_url, current_avatar_thum self.status_description = status_description self.tags = tags self.user_icon = user_icon - self.username = username for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/vrchatapi/model/user_exists.py b/vrchatapi/model/user_exists.py index a7aec211..6e43aa79 100644 --- a/vrchatapi/model/user_exists.py +++ b/vrchatapi/model/user_exists.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_state.py b/vrchatapi/model/user_state.py index b14993c0..916774cd 100644 --- a/vrchatapi/model/user_state.py +++ b/vrchatapi/model/user_state.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_status.py b/vrchatapi/model/user_status.py index c5f47177..3bbd7561 100644 --- a/vrchatapi/model/user_status.py +++ b/vrchatapi/model/user_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_subscription.py b/vrchatapi/model/user_subscription.py index e79777e4..486b4ae2 100644 --- a/vrchatapi/model/user_subscription.py +++ b/vrchatapi/model/user_subscription.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/verify2_fa_result.py b/vrchatapi/model/verify2_fa_result.py index 30199902..7b9e1bb9 100644 --- a/vrchatapi/model/verify2_fa_result.py +++ b/vrchatapi/model/verify2_fa_result.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/verify_auth_token_result.py b/vrchatapi/model/verify_auth_token_result.py index 10178d07..9fb4f07c 100644 --- a/vrchatapi/model/verify_auth_token_result.py +++ b/vrchatapi/model/verify_auth_token_result.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world.py b/vrchatapi/model/world.py index c4bedea2..d7de8176 100644 --- a/vrchatapi/model/world.py +++ b/vrchatapi/model/world.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_id.py b/vrchatapi/model/world_id.py index c4b089a5..6ee11b15 100644 --- a/vrchatapi/model/world_id.py +++ b/vrchatapi/model/world_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_metadata.py b/vrchatapi/model/world_metadata.py index 558070aa..41be56b0 100644 --- a/vrchatapi/model/world_metadata.py +++ b/vrchatapi/model/world_metadata.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_publish_status.py b/vrchatapi/model/world_publish_status.py index fbf6725d..c2f0644c 100644 --- a/vrchatapi/model/world_publish_status.py +++ b/vrchatapi/model/world_publish_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model_utils.py b/vrchatapi/model_utils.py index e0e16222..f7a1f209 100644 --- a/vrchatapi/model_utils.py +++ b/vrchatapi/model_utils.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index 21d2c63a..46ae64ee 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.7.7 + The version of the OpenAPI document: 1.8.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ From d5b5d6f43c1346ac9826e02ade4b5f1da11d1780 Mon Sep 17 00:00:00 2001 From: Katistix <33645731+Katistic@users.noreply.github.com> Date: Thu, 10 Nov 2022 06:21:02 +1100 Subject: [PATCH 017/102] Include 2FA verification in getting started (#3) * users_api is never used * Include 2FA verification in getting started --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bf10b0c8..5ae98bdd 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,9 @@ Below is an example on how to login to the API and fetch your own user informati ```python # Step 1. We begin with creating a Configuration, which contains the username and password for authentication. import vrchatapi -from vrchatapi.api import authentication_api, users_api +from vrchatapi.api import authentication_api +from vrchatapi.exceptions import UnauthorizedException +from vrchatapi.model.two_factor_auth_code import TwoFactorAuthCode configuration = vrchatapi.Configuration( username = 'username', @@ -47,9 +49,17 @@ with vrchatapi.ApiClient(configuration) as api_client: try: # Step 3. Calling getCurrentUser on Authentication API logs you in if the user isn't already logged in. current_user = auth_api.get_current_user() - print("Logged in as:", current_user.display_name) + except UnauthorizedException as e: + if UnauthorizedException.status == 200: + # Step 3.5. Calling verify2fa if the account has 2FA enabled + auth_api.verify2_fa(two_factor_auth_code=TwoFactorAuthCode(input("2FA Code: "))) + current_user = auth_api.get_current_user() + else: + print("Exception when calling API: %s\n", e) except vrchatapi.ApiException as e: print("Exception when calling API: %s\n", e) + + print("Logged in as:", current_user.display_name) ``` See [example.py](https://github.com/vrchatapi/vrchatapi-python/blob/main/example.py) for more example usage on getting started. From f1b42ea630530f522606de19ef1decb99f5a7bd6 Mon Sep 17 00:00:00 2001 From: VRCCat Date: Thu, 17 Nov 2022 21:21:56 +0000 Subject: [PATCH 018/102] Upgrade Python SDK to spec 1.9.0 --- docs/AvatarsApi.md | 89 +++++++++++++ docs/PlayerModerationType.md | 2 +- docs/PlayermoderationApi.md | 4 +- setup.py | 32 ++++- vrchatapi/__init__.py | 2 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 120 +++++++++++++++++- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/api_client.py.orig | 2 +- vrchatapi/configuration.py | 4 +- vrchatapi/exceptions.py | 2 +- vrchatapi/model/add_favorite_request.py | 2 +- vrchatapi/model/api_config.py | 2 +- vrchatapi/model/api_event_config.py | 2 +- vrchatapi/model/api_health.py | 2 +- vrchatapi/model/avatar.py | 2 +- vrchatapi/model/avatar_id.py | 2 +- .../model/avatar_unity_package_url_object.py | 2 +- vrchatapi/model/create_avatar_request.py | 2 +- vrchatapi/model/create_file_request.py | 2 +- .../model/create_file_version_request.py | 2 +- vrchatapi/model/create_world_request.py | 2 +- vrchatapi/model/current_user.py | 2 +- vrchatapi/model/deployment_group.py | 2 +- vrchatapi/model/developer_type.py | 2 +- vrchatapi/model/download_url_list.py | 2 +- vrchatapi/model/dynamic_content_row.py | 2 +- vrchatapi/model/error.py | 2 +- vrchatapi/model/favorite.py | 2 +- vrchatapi/model/favorite_group.py | 2 +- vrchatapi/model/favorite_group_id.py | 2 +- vrchatapi/model/favorite_group_visibility.py | 2 +- vrchatapi/model/favorite_id.py | 2 +- vrchatapi/model/favorite_type.py | 2 +- vrchatapi/model/file.py | 2 +- vrchatapi/model/file_data.py | 2 +- vrchatapi/model/file_id.py | 2 +- vrchatapi/model/file_status.py | 2 +- vrchatapi/model/file_upload_url.py | 2 +- vrchatapi/model/file_version.py | 2 +- vrchatapi/model/file_version_upload_status.py | 2 +- .../model/finish_file_data_upload_request.py | 2 +- vrchatapi/model/friend_status.py | 2 +- vrchatapi/model/info_push.py | 2 +- vrchatapi/model/info_push_data.py | 2 +- vrchatapi/model/info_push_data_article.py | 2 +- .../model/info_push_data_article_content.py | 2 +- vrchatapi/model/info_push_data_clickable.py | 2 +- vrchatapi/model/instance.py | 2 +- vrchatapi/model/instance_id.py | 2 +- vrchatapi/model/instance_platforms.py | 2 +- .../model/instance_short_name_response.py | 2 +- vrchatapi/model/instance_type.py | 2 +- vrchatapi/model/invite_message.py | 2 +- vrchatapi/model/invite_message_id.py | 2 +- vrchatapi/model/invite_message_type.py | 2 +- vrchatapi/model/invite_request.py | 2 +- vrchatapi/model/invite_response.py | 2 +- vrchatapi/model/license.py | 2 +- vrchatapi/model/license_action.py | 2 +- vrchatapi/model/license_group.py | 2 +- vrchatapi/model/license_group_id.py | 2 +- vrchatapi/model/license_type.py | 2 +- vrchatapi/model/limited_unity_package.py | 2 +- vrchatapi/model/limited_user.py | 2 +- vrchatapi/model/limited_world.py | 2 +- vrchatapi/model/mime_type.py | 2 +- vrchatapi/model/moderate_user_request.py | 2 +- vrchatapi/model/notification.py | 2 +- vrchatapi/model/notification_type.py | 2 +- vrchatapi/model/past_display_name.py | 2 +- vrchatapi/model/permission.py | 2 +- vrchatapi/model/permission_id.py | 2 +- vrchatapi/model/player_moderation.py | 2 +- vrchatapi/model/player_moderation_id.py | 2 +- vrchatapi/model/player_moderation_type.py | 16 +-- vrchatapi/model/public_announcement.py | 2 +- vrchatapi/model/region.py | 2 +- vrchatapi/model/release_status.py | 2 +- vrchatapi/model/request_invite_request.py | 2 +- vrchatapi/model/response.py | 2 +- vrchatapi/model/sent_notification.py | 2 +- vrchatapi/model/subscription.py | 2 +- vrchatapi/model/subscription_period.py | 2 +- vrchatapi/model/success.py | 2 +- vrchatapi/model/tag.py | 2 +- vrchatapi/model/transaction.py | 2 +- vrchatapi/model/transaction_agreement.py | 2 +- vrchatapi/model/transaction_id.py | 2 +- vrchatapi/model/transaction_status.py | 2 +- vrchatapi/model/transaction_steam_info.py | 2 +- .../model/transaction_steam_wallet_info.py | 2 +- vrchatapi/model/two_factor_auth_code.py | 2 +- vrchatapi/model/unity_package.py | 2 +- vrchatapi/model/unity_package_id.py | 2 +- vrchatapi/model/update_avatar_request.py | 2 +- .../model/update_favorite_group_request.py | 2 +- .../model/update_invite_message_request.py | 2 +- vrchatapi/model/update_user_request.py | 2 +- vrchatapi/model/update_world_request.py | 2 +- vrchatapi/model/user.py | 2 +- vrchatapi/model/user_exists.py | 2 +- vrchatapi/model/user_state.py | 2 +- vrchatapi/model/user_status.py | 2 +- vrchatapi/model/user_subscription.py | 2 +- vrchatapi/model/verify2_fa_result.py | 2 +- vrchatapi/model/verify_auth_token_result.py | 2 +- vrchatapi/model/world.py | 2 +- vrchatapi/model/world_id.py | 2 +- vrchatapi/model/world_metadata.py | 2 +- vrchatapi/model/world_publish_status.py | 2 +- vrchatapi/model_utils.py | 2 +- vrchatapi/rest.py | 2 +- 125 files changed, 364 insertions(+), 139 deletions(-) diff --git a/docs/AvatarsApi.md b/docs/AvatarsApi.md index f2bcdbb2..9ac4e0aa 100644 --- a/docs/AvatarsApi.md +++ b/docs/AvatarsApi.md @@ -8,6 +8,7 @@ Method | HTTP request | Description [**delete_avatar**](AvatarsApi.md#delete_avatar) | **DELETE** /avatars/{avatarId} | Delete Avatar [**get_avatar**](AvatarsApi.md#get_avatar) | **GET** /avatars/{avatarId} | Get Avatar [**get_favorited_avatars**](AvatarsApi.md#get_favorited_avatars) | **GET** /avatars/favorites | List Favorited Avatars +[**get_own_avatar**](AvatarsApi.md#get_own_avatar) | **GET** /users/{userId}/avatar | Get Own Avatar [**search_avatars**](AvatarsApi.md#search_avatars) | **GET** /avatars | Search Avatars [**select_avatar**](AvatarsApi.md#select_avatar) | **PUT** /avatars/{avatarId}/select | Select Avatar [**select_fallback_avatar**](AvatarsApi.md#select_fallback_avatar) | **PUT** /avatars/{avatarId}/selectFallback | Select Fallback Avatar @@ -404,6 +405,94 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_own_avatar** +> Avatar get_own_avatar(user_id) + +Get Own Avatar + +Get the current avatar for the user. This will return an error for any other user than the one logged in. + +### Example + +* Api Key Authentication (apiKeyCookie): +* Api Key Authentication (authCookie): + +```python +import time +import vrchatapi +from vrchatapi.api import avatars_api +from vrchatapi.model.avatar import Avatar +from vrchatapi.model.error import Error +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = avatars_api.AvatarsApi(api_client) + user_id = "userId_example" # str | + + # example passing only required values which don't have defaults set + try: + # Get Own Avatar + api_response = api_instance.get_own_avatar(user_id) + pprint(api_response) + except vrchatapi.ApiException as e: + print("Exception when calling AvatarsApi->get_own_avatar: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| | + +### Return type + +[**Avatar**](Avatar.md) + +### Authorization + +[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single Avatar object. | - | +**401** | Error response due to missing apiKey or auth cookie. | - | +**403** | Error response when trying to see another users current avatar without sufficient admin permissions. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **search_avatars** > [Avatar] search_avatars() diff --git a/docs/PlayerModerationType.md b/docs/PlayerModerationType.md index e6d6d482..13c2e842 100644 --- a/docs/PlayerModerationType.md +++ b/docs/PlayerModerationType.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | **str** | | defaults to "showAvatar", must be one of ["mute", "unmute", "block", "unblock", "hideAvatar", "showAvatar", "interactOn", "interactOff", ] +**value** | **str** | | defaults to "unmute", must be one of ["mute", "unmute", "block", "unblock", "interactOn", "interactOff", ] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PlayermoderationApi.md b/docs/PlayermoderationApi.md index cce36a0f..c045ff32 100644 --- a/docs/PlayermoderationApi.md +++ b/docs/PlayermoderationApi.md @@ -410,7 +410,7 @@ with vrchatapi.ApiClient(configuration) as api_client: api_instance = playermoderation_api.PlayermoderationApi(api_client) moderate_user_request = ModerateUserRequest( moderated="usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469", - type=PlayerModerationType("showAvatar"), + type=PlayerModerationType("unmute"), ) # ModerateUserRequest | (optional) # example passing only required values which don't have defaults set @@ -502,7 +502,7 @@ with vrchatapi.ApiClient(configuration) as api_client: api_instance = playermoderation_api.PlayermoderationApi(api_client) moderate_user_request = ModerateUserRequest( moderated="usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469", - type=PlayerModerationType("showAvatar"), + type=PlayerModerationType("unmute"), ) # ModerateUserRequest | (optional) # example passing only required values which don't have defaults set diff --git a/setup.py b/setup.py index eb50a833..97305c37 100644 --- a/setup.py +++ b/setup.py @@ -32,7 +32,9 @@ ```python # Step 1. We begin with creating a Configuration, which contains the username and password for authentication. import vrchatapi -from vrchatapi.api import authentication_api, users_api +from vrchatapi.api import authentication_api +from vrchatapi.exceptions import UnauthorizedException +from vrchatapi.model.two_factor_auth_code import TwoFactorAuthCode configuration = vrchatapi.Configuration( username = 'username', @@ -51,9 +53,17 @@ try: # Step 3. Calling getCurrentUser on Authentication API logs you in if the user isn't already logged in. current_user = auth_api.get_current_user() - print("Logged in as:", current_user.display_name) + except UnauthorizedException as e: + if UnauthorizedException.status == 200: + # Step 3.5. Calling verify2fa if the account has 2FA enabled + auth_api.verify2_fa(two_factor_auth_code=TwoFactorAuthCode(input("2FA Code: "))) + current_user = auth_api.get_current_user() + else: + print("Exception when calling API: %s\n", e) except vrchatapi.ApiException as e: print("Exception when calling API: %s\n", e) + + print("Logged in as:", current_user.display_name) ``` See [example.py](https://github.com/vrchatapi/vrchatapi-python/blob/main/example.py) for more example usage on getting started. @@ -64,7 +74,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -73,7 +83,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.8.0" +VERSION = "1.9.0" # To install the library, run the following # # python setup.py install @@ -132,7 +142,9 @@ ```python # Step 1. We begin with creating a Configuration, which contains the username and password for authentication. import vrchatapi -from vrchatapi.api import authentication_api, users_api +from vrchatapi.api import authentication_api +from vrchatapi.exceptions import UnauthorizedException +from vrchatapi.model.two_factor_auth_code import TwoFactorAuthCode configuration = vrchatapi.Configuration( username = 'username', @@ -151,9 +163,17 @@ try: # Step 3. Calling getCurrentUser on Authentication API logs you in if the user isn't already logged in. current_user = auth_api.get_current_user() - print("Logged in as:", current_user.display_name) + except UnauthorizedException as e: + if UnauthorizedException.status == 200: + # Step 3.5. Calling verify2fa if the account has 2FA enabled + auth_api.verify2_fa(two_factor_auth_code=TwoFactorAuthCode(input("2FA Code: "))) + current_user = auth_api.get_current_user() + else: + print("Exception when calling API: %s\n", e) except vrchatapi.ApiException as e: print("Exception when calling API: %s\n", e) + + print("Logged in as:", current_user.display_name) ``` See [example.py](https://github.com/vrchatapi/vrchatapi-python/blob/main/example.py) for more example usage on getting started. diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index c1e90eb1..72d703f7 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index e74661a4..10477a1e 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index a78af727..03149345 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -351,6 +351,58 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.get_own_avatar_endpoint = _Endpoint( + settings={ + 'response_type': (Avatar,), + 'auth': [ + 'apiKeyCookie', + 'authCookie' + ], + 'endpoint_path': '/users/{userId}/avatar', + 'operation_id': 'get_own_avatar', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'user_id', + ], + 'required': [ + 'user_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'user_id': + (str,), + }, + 'attribute_map': { + 'user_id': 'userId', + }, + 'location_map': { + 'user_id': 'path', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) self.search_avatars_endpoint = _Endpoint( settings={ 'response_type': ([Avatar],), @@ -944,6 +996,72 @@ def get_favorited_avatars( kwargs['_host_index'] = kwargs.get('_host_index') return self.get_favorited_avatars_endpoint.call_with_http_info(**kwargs) + def get_own_avatar( + self, + user_id, + **kwargs + ): + """Get Own Avatar # noqa: E501 + + Get the current avatar for the user. This will return an error for any other user than the one logged in. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_own_avatar(user_id, async_req=True) + >>> result = thread.get() + + Args: + user_id (str): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + Avatar + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['user_id'] = \ + user_id + return self.get_own_avatar_endpoint.call_with_http_info(**kwargs) + def search_avatars( self, **kwargs diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 21d95184..711cd055 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index 3c6ec8a6..64e71ff0 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index e855f5b3..88a15045 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index 0b371377..3e02879e 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 0bfed340..2649e2ea 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index 82fe0cbf..f1a9b15f 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index bc61151f..1d57a4ae 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index 9b8efc35..958f214e 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index beaa4fec..3b72ae7e 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index a1e01a9c..1b203fa4 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index 699f3665..c424b4d4 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index f0666693..d50bcb72 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index 5b600d98..cd54fa43 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py.orig b/vrchatapi/api_client.py.orig index 0b7e776b..e52406e4 100644 --- a/vrchatapi/api_client.py.orig +++ b/vrchatapi/api_client.py.orig @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index 82afc577..eb4e825a 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -455,7 +455,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.8.0\n"\ + "Version of the API: 1.9.0\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index a2f75c5a..4490117b 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/add_favorite_request.py b/vrchatapi/model/add_favorite_request.py index a8cf3672..06f322de 100644 --- a/vrchatapi/model/add_favorite_request.py +++ b/vrchatapi/model/add_favorite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_config.py b/vrchatapi/model/api_config.py index b665316e..7366c68d 100644 --- a/vrchatapi/model/api_config.py +++ b/vrchatapi/model/api_config.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_event_config.py b/vrchatapi/model/api_event_config.py index a973d8c2..254b390d 100644 --- a/vrchatapi/model/api_event_config.py +++ b/vrchatapi/model/api_event_config.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_health.py b/vrchatapi/model/api_health.py index 08c8e3a2..511aa835 100644 --- a/vrchatapi/model/api_health.py +++ b/vrchatapi/model/api_health.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar.py b/vrchatapi/model/avatar.py index 5947cb4c..f0454cdb 100644 --- a/vrchatapi/model/avatar.py +++ b/vrchatapi/model/avatar.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar_id.py b/vrchatapi/model/avatar_id.py index 34c2aa4b..86f3c0e6 100644 --- a/vrchatapi/model/avatar_id.py +++ b/vrchatapi/model/avatar_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar_unity_package_url_object.py b/vrchatapi/model/avatar_unity_package_url_object.py index 582c2ed3..e1eb96cf 100644 --- a/vrchatapi/model/avatar_unity_package_url_object.py +++ b/vrchatapi/model/avatar_unity_package_url_object.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_avatar_request.py b/vrchatapi/model/create_avatar_request.py index 8981a4c2..83336c1a 100644 --- a/vrchatapi/model/create_avatar_request.py +++ b/vrchatapi/model/create_avatar_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_file_request.py b/vrchatapi/model/create_file_request.py index 08212a3d..784d5eea 100644 --- a/vrchatapi/model/create_file_request.py +++ b/vrchatapi/model/create_file_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_file_version_request.py b/vrchatapi/model/create_file_version_request.py index 91da3697..4b30730b 100644 --- a/vrchatapi/model/create_file_version_request.py +++ b/vrchatapi/model/create_file_version_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_world_request.py b/vrchatapi/model/create_world_request.py index 45834a58..c7f7f34e 100644 --- a/vrchatapi/model/create_world_request.py +++ b/vrchatapi/model/create_world_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/current_user.py b/vrchatapi/model/current_user.py index d1ed944c..4efcedb4 100644 --- a/vrchatapi/model/current_user.py +++ b/vrchatapi/model/current_user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/deployment_group.py b/vrchatapi/model/deployment_group.py index f0d0877b..8bdc45ab 100644 --- a/vrchatapi/model/deployment_group.py +++ b/vrchatapi/model/deployment_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/developer_type.py b/vrchatapi/model/developer_type.py index e8421ed8..772a211b 100644 --- a/vrchatapi/model/developer_type.py +++ b/vrchatapi/model/developer_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/download_url_list.py b/vrchatapi/model/download_url_list.py index 185db948..cbf2243e 100644 --- a/vrchatapi/model/download_url_list.py +++ b/vrchatapi/model/download_url_list.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/dynamic_content_row.py b/vrchatapi/model/dynamic_content_row.py index 5cd8c677..d5910d0b 100644 --- a/vrchatapi/model/dynamic_content_row.py +++ b/vrchatapi/model/dynamic_content_row.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/error.py b/vrchatapi/model/error.py index fcce87c7..68198248 100644 --- a/vrchatapi/model/error.py +++ b/vrchatapi/model/error.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite.py b/vrchatapi/model/favorite.py index 4bbbffcb..e116380e 100644 --- a/vrchatapi/model/favorite.py +++ b/vrchatapi/model/favorite.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group.py b/vrchatapi/model/favorite_group.py index 74bc9244..ffa8b469 100644 --- a/vrchatapi/model/favorite_group.py +++ b/vrchatapi/model/favorite_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group_id.py b/vrchatapi/model/favorite_group_id.py index 51ed33be..a64d0e04 100644 --- a/vrchatapi/model/favorite_group_id.py +++ b/vrchatapi/model/favorite_group_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group_visibility.py b/vrchatapi/model/favorite_group_visibility.py index 4c968696..0ee684db 100644 --- a/vrchatapi/model/favorite_group_visibility.py +++ b/vrchatapi/model/favorite_group_visibility.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_id.py b/vrchatapi/model/favorite_id.py index 24ee658f..105a3572 100644 --- a/vrchatapi/model/favorite_id.py +++ b/vrchatapi/model/favorite_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_type.py b/vrchatapi/model/favorite_type.py index da1f3503..91819998 100644 --- a/vrchatapi/model/favorite_type.py +++ b/vrchatapi/model/favorite_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file.py b/vrchatapi/model/file.py index 22ed5217..15848d85 100644 --- a/vrchatapi/model/file.py +++ b/vrchatapi/model/file.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_data.py b/vrchatapi/model/file_data.py index e8e03333..84d4757d 100644 --- a/vrchatapi/model/file_data.py +++ b/vrchatapi/model/file_data.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_id.py b/vrchatapi/model/file_id.py index 230e39e3..34a05cf9 100644 --- a/vrchatapi/model/file_id.py +++ b/vrchatapi/model/file_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_status.py b/vrchatapi/model/file_status.py index 8c3abf43..d7fe8f63 100644 --- a/vrchatapi/model/file_status.py +++ b/vrchatapi/model/file_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_upload_url.py b/vrchatapi/model/file_upload_url.py index 3d33e38f..7f9aabca 100644 --- a/vrchatapi/model/file_upload_url.py +++ b/vrchatapi/model/file_upload_url.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_version.py b/vrchatapi/model/file_version.py index d260088f..486f2730 100644 --- a/vrchatapi/model/file_version.py +++ b/vrchatapi/model/file_version.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_version_upload_status.py b/vrchatapi/model/file_version_upload_status.py index 1de05e21..b25b510d 100644 --- a/vrchatapi/model/file_version_upload_status.py +++ b/vrchatapi/model/file_version_upload_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/finish_file_data_upload_request.py b/vrchatapi/model/finish_file_data_upload_request.py index 9b5a21ed..6527ff96 100644 --- a/vrchatapi/model/finish_file_data_upload_request.py +++ b/vrchatapi/model/finish_file_data_upload_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/friend_status.py b/vrchatapi/model/friend_status.py index 6bd7c63b..beb6e9f2 100644 --- a/vrchatapi/model/friend_status.py +++ b/vrchatapi/model/friend_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push.py b/vrchatapi/model/info_push.py index 3e2ff102..73ff75d7 100644 --- a/vrchatapi/model/info_push.py +++ b/vrchatapi/model/info_push.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data.py b/vrchatapi/model/info_push_data.py index f9010139..584c8daa 100644 --- a/vrchatapi/model/info_push_data.py +++ b/vrchatapi/model/info_push_data.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_article.py b/vrchatapi/model/info_push_data_article.py index bdc71ef0..9da49bcd 100644 --- a/vrchatapi/model/info_push_data_article.py +++ b/vrchatapi/model/info_push_data_article.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_article_content.py b/vrchatapi/model/info_push_data_article_content.py index f01045b6..9d75ed2c 100644 --- a/vrchatapi/model/info_push_data_article_content.py +++ b/vrchatapi/model/info_push_data_article_content.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_clickable.py b/vrchatapi/model/info_push_data_clickable.py index 05da6102..a466c9a7 100644 --- a/vrchatapi/model/info_push_data_clickable.py +++ b/vrchatapi/model/info_push_data_clickable.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance.py b/vrchatapi/model/instance.py index 3ab71292..662e6fd0 100644 --- a/vrchatapi/model/instance.py +++ b/vrchatapi/model/instance.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_id.py b/vrchatapi/model/instance_id.py index 577fb217..54e26eb9 100644 --- a/vrchatapi/model/instance_id.py +++ b/vrchatapi/model/instance_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_platforms.py b/vrchatapi/model/instance_platforms.py index cd73780e..c9d4f1ae 100644 --- a/vrchatapi/model/instance_platforms.py +++ b/vrchatapi/model/instance_platforms.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_short_name_response.py b/vrchatapi/model/instance_short_name_response.py index f9d07812..604d6a5d 100644 --- a/vrchatapi/model/instance_short_name_response.py +++ b/vrchatapi/model/instance_short_name_response.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_type.py b/vrchatapi/model/instance_type.py index e94ad4b5..c0ceea6e 100644 --- a/vrchatapi/model/instance_type.py +++ b/vrchatapi/model/instance_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message.py b/vrchatapi/model/invite_message.py index 50d3a09d..48362369 100644 --- a/vrchatapi/model/invite_message.py +++ b/vrchatapi/model/invite_message.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message_id.py b/vrchatapi/model/invite_message_id.py index e170108e..7dc82c9e 100644 --- a/vrchatapi/model/invite_message_id.py +++ b/vrchatapi/model/invite_message_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message_type.py b/vrchatapi/model/invite_message_type.py index 93a787f4..b4b78780 100644 --- a/vrchatapi/model/invite_message_type.py +++ b/vrchatapi/model/invite_message_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_request.py b/vrchatapi/model/invite_request.py index 89ef5c02..f80bcde8 100644 --- a/vrchatapi/model/invite_request.py +++ b/vrchatapi/model/invite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_response.py b/vrchatapi/model/invite_response.py index 053213f1..7a1d2f2a 100644 --- a/vrchatapi/model/invite_response.py +++ b/vrchatapi/model/invite_response.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license.py b/vrchatapi/model/license.py index 1db6a945..3fa09106 100644 --- a/vrchatapi/model/license.py +++ b/vrchatapi/model/license.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_action.py b/vrchatapi/model/license_action.py index 7d4124e1..24dc6fa5 100644 --- a/vrchatapi/model/license_action.py +++ b/vrchatapi/model/license_action.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_group.py b/vrchatapi/model/license_group.py index 3ccbafbc..4fa4f055 100644 --- a/vrchatapi/model/license_group.py +++ b/vrchatapi/model/license_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_group_id.py b/vrchatapi/model/license_group_id.py index d7603d7a..28f7d324 100644 --- a/vrchatapi/model/license_group_id.py +++ b/vrchatapi/model/license_group_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_type.py b/vrchatapi/model/license_type.py index 1d54dd3b..ee2b4f66 100644 --- a/vrchatapi/model/license_type.py +++ b/vrchatapi/model/license_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_unity_package.py b/vrchatapi/model/limited_unity_package.py index 371a23e1..b4e9c2ef 100644 --- a/vrchatapi/model/limited_unity_package.py +++ b/vrchatapi/model/limited_unity_package.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_user.py b/vrchatapi/model/limited_user.py index b696b32c..581ae2cd 100644 --- a/vrchatapi/model/limited_user.py +++ b/vrchatapi/model/limited_user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_world.py b/vrchatapi/model/limited_world.py index d7c2f477..9230e79b 100644 --- a/vrchatapi/model/limited_world.py +++ b/vrchatapi/model/limited_world.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/mime_type.py b/vrchatapi/model/mime_type.py index df8cbbe0..b1f35e62 100644 --- a/vrchatapi/model/mime_type.py +++ b/vrchatapi/model/mime_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/moderate_user_request.py b/vrchatapi/model/moderate_user_request.py index 031ae821..328f36dc 100644 --- a/vrchatapi/model/moderate_user_request.py +++ b/vrchatapi/model/moderate_user_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/notification.py b/vrchatapi/model/notification.py index f42df545..58ce9b55 100644 --- a/vrchatapi/model/notification.py +++ b/vrchatapi/model/notification.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/notification_type.py b/vrchatapi/model/notification_type.py index 2167e6c9..d95d1c0f 100644 --- a/vrchatapi/model/notification_type.py +++ b/vrchatapi/model/notification_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/past_display_name.py b/vrchatapi/model/past_display_name.py index ad818cfe..0054f4fd 100644 --- a/vrchatapi/model/past_display_name.py +++ b/vrchatapi/model/past_display_name.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/permission.py b/vrchatapi/model/permission.py index e6e46dcb..ef8d983f 100644 --- a/vrchatapi/model/permission.py +++ b/vrchatapi/model/permission.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/permission_id.py b/vrchatapi/model/permission_id.py index e375fc19..1ca2cb47 100644 --- a/vrchatapi/model/permission_id.py +++ b/vrchatapi/model/permission_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation.py b/vrchatapi/model/player_moderation.py index cadb804d..b6eb9376 100644 --- a/vrchatapi/model/player_moderation.py +++ b/vrchatapi/model/player_moderation.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation_id.py b/vrchatapi/model/player_moderation_id.py index cfa9f140..55d62bde 100644 --- a/vrchatapi/model/player_moderation_id.py +++ b/vrchatapi/model/player_moderation_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation_type.py b/vrchatapi/model/player_moderation_type.py index 593210c4..c156615d 100644 --- a/vrchatapi/model/player_moderation_type.py +++ b/vrchatapi/model/player_moderation_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -56,8 +56,6 @@ class PlayerModerationType(ModelSimple): 'UNMUTE': "unmute", 'BLOCK': "block", 'UNBLOCK': "unblock", - 'HIDEAVATAR': "hideAvatar", - 'SHOWAVATAR': "showAvatar", 'INTERACTON': "interactOn", 'INTERACTOFF': "interactOff", }, @@ -111,10 +109,10 @@ def __init__(self, *args, **kwargs): Note that value can be passed either in args or in kwargs, but not in both. Args: - args[0] (str): if omitted defaults to "showAvatar", must be one of ["mute", "unmute", "block", "unblock", "hideAvatar", "showAvatar", "interactOn", "interactOff", ] # noqa: E501 + args[0] (str): if omitted defaults to "unmute", must be one of ["mute", "unmute", "block", "unblock", "interactOn", "interactOff", ] # noqa: E501 Keyword Args: - value (str): if omitted defaults to "showAvatar", must be one of ["mute", "unmute", "block", "unblock", "hideAvatar", "showAvatar", "interactOn", "interactOff", ] # noqa: E501 + value (str): if omitted defaults to "unmute", must be one of ["mute", "unmute", "block", "unblock", "interactOn", "interactOff", ] # noqa: E501 _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. @@ -155,7 +153,7 @@ def __init__(self, *args, **kwargs): args = list(args) value = args.pop(0) else: - value = "showAvatar" + value = "unmute" _check_type = kwargs.pop('_check_type', True) _spec_property_naming = kwargs.pop('_spec_property_naming', False) @@ -197,10 +195,10 @@ def _from_openapi_data(cls, *args, **kwargs): Note that value can be passed either in args or in kwargs, but not in both. Args: - args[0] (str): if omitted defaults to "showAvatar", must be one of ["mute", "unmute", "block", "unblock", "hideAvatar", "showAvatar", "interactOn", "interactOff", ] # noqa: E501 + args[0] (str): if omitted defaults to "unmute", must be one of ["mute", "unmute", "block", "unblock", "interactOn", "interactOff", ] # noqa: E501 Keyword Args: - value (str): if omitted defaults to "showAvatar", must be one of ["mute", "unmute", "block", "unblock", "hideAvatar", "showAvatar", "interactOn", "interactOff", ] # noqa: E501 + value (str): if omitted defaults to "unmute", must be one of ["mute", "unmute", "block", "unblock", "interactOn", "interactOff", ] # noqa: E501 _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. @@ -243,7 +241,7 @@ def _from_openapi_data(cls, *args, **kwargs): args = list(args) value = args.pop(0) else: - value = "showAvatar" + value = "unmute" _check_type = kwargs.pop('_check_type', True) _spec_property_naming = kwargs.pop('_spec_property_naming', False) diff --git a/vrchatapi/model/public_announcement.py b/vrchatapi/model/public_announcement.py index a58c3065..c725d0b5 100644 --- a/vrchatapi/model/public_announcement.py +++ b/vrchatapi/model/public_announcement.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/region.py b/vrchatapi/model/region.py index 42a0cc27..48eae5aa 100644 --- a/vrchatapi/model/region.py +++ b/vrchatapi/model/region.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/release_status.py b/vrchatapi/model/release_status.py index 5353cc18..af2f643d 100644 --- a/vrchatapi/model/release_status.py +++ b/vrchatapi/model/release_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/request_invite_request.py b/vrchatapi/model/request_invite_request.py index 8b59f60d..eafea59f 100644 --- a/vrchatapi/model/request_invite_request.py +++ b/vrchatapi/model/request_invite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/response.py b/vrchatapi/model/response.py index fb451a5c..f8714a7d 100644 --- a/vrchatapi/model/response.py +++ b/vrchatapi/model/response.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/sent_notification.py b/vrchatapi/model/sent_notification.py index 3c589e52..44ece5b0 100644 --- a/vrchatapi/model/sent_notification.py +++ b/vrchatapi/model/sent_notification.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/subscription.py b/vrchatapi/model/subscription.py index 0d9f2da9..25122651 100644 --- a/vrchatapi/model/subscription.py +++ b/vrchatapi/model/subscription.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/subscription_period.py b/vrchatapi/model/subscription_period.py index 833e7d8a..33a06c03 100644 --- a/vrchatapi/model/subscription_period.py +++ b/vrchatapi/model/subscription_period.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/success.py b/vrchatapi/model/success.py index c7109564..61a5f4a5 100644 --- a/vrchatapi/model/success.py +++ b/vrchatapi/model/success.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/tag.py b/vrchatapi/model/tag.py index d53a96ef..d439fa5b 100644 --- a/vrchatapi/model/tag.py +++ b/vrchatapi/model/tag.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction.py b/vrchatapi/model/transaction.py index c8310a15..d029836e 100644 --- a/vrchatapi/model/transaction.py +++ b/vrchatapi/model/transaction.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_agreement.py b/vrchatapi/model/transaction_agreement.py index 84630877..5543c6ec 100644 --- a/vrchatapi/model/transaction_agreement.py +++ b/vrchatapi/model/transaction_agreement.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_id.py b/vrchatapi/model/transaction_id.py index 83bc32ae..6e004826 100644 --- a/vrchatapi/model/transaction_id.py +++ b/vrchatapi/model/transaction_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_status.py b/vrchatapi/model/transaction_status.py index 1251ff30..0217afec 100644 --- a/vrchatapi/model/transaction_status.py +++ b/vrchatapi/model/transaction_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_steam_info.py b/vrchatapi/model/transaction_steam_info.py index d98bde89..212267b1 100644 --- a/vrchatapi/model/transaction_steam_info.py +++ b/vrchatapi/model/transaction_steam_info.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_steam_wallet_info.py b/vrchatapi/model/transaction_steam_wallet_info.py index 932db08c..5d33c398 100644 --- a/vrchatapi/model/transaction_steam_wallet_info.py +++ b/vrchatapi/model/transaction_steam_wallet_info.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/two_factor_auth_code.py b/vrchatapi/model/two_factor_auth_code.py index 1c57858d..916ab9df 100644 --- a/vrchatapi/model/two_factor_auth_code.py +++ b/vrchatapi/model/two_factor_auth_code.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/unity_package.py b/vrchatapi/model/unity_package.py index 49bb0463..8c6ea5a0 100644 --- a/vrchatapi/model/unity_package.py +++ b/vrchatapi/model/unity_package.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/unity_package_id.py b/vrchatapi/model/unity_package_id.py index 01285c1a..13442758 100644 --- a/vrchatapi/model/unity_package_id.py +++ b/vrchatapi/model/unity_package_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_avatar_request.py b/vrchatapi/model/update_avatar_request.py index 0be1abed..0a4853fa 100644 --- a/vrchatapi/model/update_avatar_request.py +++ b/vrchatapi/model/update_avatar_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_favorite_group_request.py b/vrchatapi/model/update_favorite_group_request.py index 42c192ed..c260fbfd 100644 --- a/vrchatapi/model/update_favorite_group_request.py +++ b/vrchatapi/model/update_favorite_group_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_invite_message_request.py b/vrchatapi/model/update_invite_message_request.py index 7ebbec60..cdaa08b1 100644 --- a/vrchatapi/model/update_invite_message_request.py +++ b/vrchatapi/model/update_invite_message_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_user_request.py b/vrchatapi/model/update_user_request.py index 7d626a1f..e6ef85fd 100644 --- a/vrchatapi/model/update_user_request.py +++ b/vrchatapi/model/update_user_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_world_request.py b/vrchatapi/model/update_world_request.py index 75e749fe..72ae7524 100644 --- a/vrchatapi/model/update_world_request.py +++ b/vrchatapi/model/update_world_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user.py b/vrchatapi/model/user.py index 96434eee..c27ca1c4 100644 --- a/vrchatapi/model/user.py +++ b/vrchatapi/model/user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_exists.py b/vrchatapi/model/user_exists.py index 6e43aa79..bd6b3797 100644 --- a/vrchatapi/model/user_exists.py +++ b/vrchatapi/model/user_exists.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_state.py b/vrchatapi/model/user_state.py index 916774cd..2468d415 100644 --- a/vrchatapi/model/user_state.py +++ b/vrchatapi/model/user_state.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_status.py b/vrchatapi/model/user_status.py index 3bbd7561..6499c359 100644 --- a/vrchatapi/model/user_status.py +++ b/vrchatapi/model/user_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_subscription.py b/vrchatapi/model/user_subscription.py index 486b4ae2..8ca403cf 100644 --- a/vrchatapi/model/user_subscription.py +++ b/vrchatapi/model/user_subscription.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/verify2_fa_result.py b/vrchatapi/model/verify2_fa_result.py index 7b9e1bb9..2c32835f 100644 --- a/vrchatapi/model/verify2_fa_result.py +++ b/vrchatapi/model/verify2_fa_result.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/verify_auth_token_result.py b/vrchatapi/model/verify_auth_token_result.py index 9fb4f07c..df945525 100644 --- a/vrchatapi/model/verify_auth_token_result.py +++ b/vrchatapi/model/verify_auth_token_result.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world.py b/vrchatapi/model/world.py index d7de8176..73e1dddb 100644 --- a/vrchatapi/model/world.py +++ b/vrchatapi/model/world.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_id.py b/vrchatapi/model/world_id.py index 6ee11b15..7719565a 100644 --- a/vrchatapi/model/world_id.py +++ b/vrchatapi/model/world_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_metadata.py b/vrchatapi/model/world_metadata.py index 41be56b0..c2b80af4 100644 --- a/vrchatapi/model/world_metadata.py +++ b/vrchatapi/model/world_metadata.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_publish_status.py b/vrchatapi/model/world_publish_status.py index c2f0644c..763f39c4 100644 --- a/vrchatapi/model/world_publish_status.py +++ b/vrchatapi/model/world_publish_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model_utils.py b/vrchatapi/model_utils.py index f7a1f209..22d7aef6 100644 --- a/vrchatapi/model_utils.py +++ b/vrchatapi/model_utils.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index 46ae64ee..94c03491 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.8.0 + The version of the OpenAPI document: 1.9.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ From e29470b9d1db794bbb113bfd0b873e255afb52a8 Mon Sep 17 00:00:00 2001 From: VRCCat Date: Thu, 17 Nov 2022 23:00:56 +0000 Subject: [PATCH 019/102] Upgrade Python SDK to spec 1.9.1 --- docs/User.md | 2 +- setup.py | 4 ++-- vrchatapi/__init__.py | 2 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/api_client.py.orig | 2 +- vrchatapi/configuration.py | 4 ++-- vrchatapi/exceptions.py | 2 +- vrchatapi/model/add_favorite_request.py | 2 +- vrchatapi/model/api_config.py | 2 +- vrchatapi/model/api_event_config.py | 2 +- vrchatapi/model/api_health.py | 2 +- vrchatapi/model/avatar.py | 2 +- vrchatapi/model/avatar_id.py | 2 +- .../model/avatar_unity_package_url_object.py | 2 +- vrchatapi/model/create_avatar_request.py | 2 +- vrchatapi/model/create_file_request.py | 2 +- vrchatapi/model/create_file_version_request.py | 2 +- vrchatapi/model/create_world_request.py | 2 +- vrchatapi/model/current_user.py | 2 +- vrchatapi/model/deployment_group.py | 2 +- vrchatapi/model/developer_type.py | 2 +- vrchatapi/model/download_url_list.py | 2 +- vrchatapi/model/dynamic_content_row.py | 2 +- vrchatapi/model/error.py | 2 +- vrchatapi/model/favorite.py | 2 +- vrchatapi/model/favorite_group.py | 2 +- vrchatapi/model/favorite_group_id.py | 2 +- vrchatapi/model/favorite_group_visibility.py | 2 +- vrchatapi/model/favorite_id.py | 2 +- vrchatapi/model/favorite_type.py | 2 +- vrchatapi/model/file.py | 2 +- vrchatapi/model/file_data.py | 2 +- vrchatapi/model/file_id.py | 2 +- vrchatapi/model/file_status.py | 2 +- vrchatapi/model/file_upload_url.py | 2 +- vrchatapi/model/file_version.py | 2 +- vrchatapi/model/file_version_upload_status.py | 2 +- .../model/finish_file_data_upload_request.py | 2 +- vrchatapi/model/friend_status.py | 2 +- vrchatapi/model/info_push.py | 2 +- vrchatapi/model/info_push_data.py | 2 +- vrchatapi/model/info_push_data_article.py | 2 +- .../model/info_push_data_article_content.py | 2 +- vrchatapi/model/info_push_data_clickable.py | 2 +- vrchatapi/model/instance.py | 2 +- vrchatapi/model/instance_id.py | 2 +- vrchatapi/model/instance_platforms.py | 2 +- vrchatapi/model/instance_short_name_response.py | 2 +- vrchatapi/model/instance_type.py | 2 +- vrchatapi/model/invite_message.py | 2 +- vrchatapi/model/invite_message_id.py | 2 +- vrchatapi/model/invite_message_type.py | 2 +- vrchatapi/model/invite_request.py | 2 +- vrchatapi/model/invite_response.py | 2 +- vrchatapi/model/license.py | 2 +- vrchatapi/model/license_action.py | 2 +- vrchatapi/model/license_group.py | 2 +- vrchatapi/model/license_group_id.py | 2 +- vrchatapi/model/license_type.py | 2 +- vrchatapi/model/limited_unity_package.py | 2 +- vrchatapi/model/limited_user.py | 2 +- vrchatapi/model/limited_world.py | 2 +- vrchatapi/model/mime_type.py | 2 +- vrchatapi/model/moderate_user_request.py | 2 +- vrchatapi/model/notification.py | 2 +- vrchatapi/model/notification_type.py | 2 +- vrchatapi/model/past_display_name.py | 2 +- vrchatapi/model/permission.py | 2 +- vrchatapi/model/permission_id.py | 2 +- vrchatapi/model/player_moderation.py | 2 +- vrchatapi/model/player_moderation_id.py | 2 +- vrchatapi/model/player_moderation_type.py | 2 +- vrchatapi/model/public_announcement.py | 2 +- vrchatapi/model/region.py | 2 +- vrchatapi/model/release_status.py | 2 +- vrchatapi/model/request_invite_request.py | 2 +- vrchatapi/model/response.py | 2 +- vrchatapi/model/sent_notification.py | 2 +- vrchatapi/model/subscription.py | 2 +- vrchatapi/model/subscription_period.py | 2 +- vrchatapi/model/success.py | 2 +- vrchatapi/model/tag.py | 2 +- vrchatapi/model/transaction.py | 2 +- vrchatapi/model/transaction_agreement.py | 2 +- vrchatapi/model/transaction_id.py | 2 +- vrchatapi/model/transaction_status.py | 2 +- vrchatapi/model/transaction_steam_info.py | 2 +- vrchatapi/model/transaction_steam_wallet_info.py | 2 +- vrchatapi/model/two_factor_auth_code.py | 2 +- vrchatapi/model/unity_package.py | 2 +- vrchatapi/model/unity_package_id.py | 2 +- vrchatapi/model/update_avatar_request.py | 2 +- vrchatapi/model/update_favorite_group_request.py | 2 +- vrchatapi/model/update_invite_message_request.py | 2 +- vrchatapi/model/update_user_request.py | 2 +- vrchatapi/model/update_world_request.py | 2 +- vrchatapi/model/user.py | 16 +++++++--------- vrchatapi/model/user_exists.py | 2 +- vrchatapi/model/user_state.py | 2 +- vrchatapi/model/user_status.py | 2 +- vrchatapi/model/user_subscription.py | 2 +- vrchatapi/model/verify2_fa_result.py | 2 +- vrchatapi/model/verify_auth_token_result.py | 2 +- vrchatapi/model/world.py | 2 +- vrchatapi/model/world_id.py | 2 +- vrchatapi/model/world_metadata.py | 2 +- vrchatapi/model/world_publish_status.py | 2 +- vrchatapi/model_utils.py | 2 +- vrchatapi/rest.py | 2 +- 123 files changed, 131 insertions(+), 133 deletions(-) diff --git a/docs/User.md b/docs/User.md index 68940570..d5f5940c 100644 --- a/docs/User.md +++ b/docs/User.md @@ -12,7 +12,6 @@ Name | Type | Description | Notes **developer_type** | [**DeveloperType**](DeveloperType.md) | | **display_name** | **str** | A users visual display name. This is what shows up in-game, and can different from their `username`. Changing display name is restricted to a cooldown period. | **friend_key** | **str** | | -**friend_request_status** | **str** | | **id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | **is_friend** | **bool** | Either their `friendKey`, or empty string if you are not friends. Unknown usage. | **last_activity** | **str** | Either a date-time or empty string. | @@ -25,6 +24,7 @@ Name | Type | Description | Notes **tags** | [**[Tag]**](Tag.md) | | **user_icon** | **str** | | **allow_avatar_copying** | **bool** | | defaults to True +**friend_request_status** | **str** | | [optional] **instance_id** | [**InstanceID**](InstanceID.md) | | [optional] **location** | [**WorldID**](WorldID.md) | | [optional] **note** | **str** | | [optional] diff --git a/setup.py b/setup.py index 97305c37..7de01f44 100644 --- a/setup.py +++ b/setup.py @@ -74,7 +74,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -83,7 +83,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.9.0" +VERSION = "1.9.1" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 72d703f7..22fe57a2 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index 10477a1e..32f22e97 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index 03149345..a0a3b8c8 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 711cd055..d5b0ba15 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index 64e71ff0..8229e944 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index 88a15045..c0bf014c 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index 3e02879e..ea991deb 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 2649e2ea..4f1320d9 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index f1a9b15f..465177e3 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index 1d57a4ae..a6f42d3b 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index 958f214e..5619ad56 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index 3b72ae7e..3e5436f3 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index 1b203fa4..e07ae233 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index c424b4d4..a7c87489 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index d50bcb72..6673ec96 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index cd54fa43..0ab3d6d6 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py.orig b/vrchatapi/api_client.py.orig index e52406e4..ba26ee37 100644 --- a/vrchatapi/api_client.py.orig +++ b/vrchatapi/api_client.py.orig @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index eb4e825a..b101e907 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -455,7 +455,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.9.0\n"\ + "Version of the API: 1.9.1\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index 4490117b..8af8d166 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/add_favorite_request.py b/vrchatapi/model/add_favorite_request.py index 06f322de..8839d278 100644 --- a/vrchatapi/model/add_favorite_request.py +++ b/vrchatapi/model/add_favorite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_config.py b/vrchatapi/model/api_config.py index 7366c68d..24681d49 100644 --- a/vrchatapi/model/api_config.py +++ b/vrchatapi/model/api_config.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_event_config.py b/vrchatapi/model/api_event_config.py index 254b390d..be9ef8fc 100644 --- a/vrchatapi/model/api_event_config.py +++ b/vrchatapi/model/api_event_config.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/api_health.py b/vrchatapi/model/api_health.py index 511aa835..fd5b6429 100644 --- a/vrchatapi/model/api_health.py +++ b/vrchatapi/model/api_health.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar.py b/vrchatapi/model/avatar.py index f0454cdb..24d7fe4a 100644 --- a/vrchatapi/model/avatar.py +++ b/vrchatapi/model/avatar.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar_id.py b/vrchatapi/model/avatar_id.py index 86f3c0e6..36a9738e 100644 --- a/vrchatapi/model/avatar_id.py +++ b/vrchatapi/model/avatar_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/avatar_unity_package_url_object.py b/vrchatapi/model/avatar_unity_package_url_object.py index e1eb96cf..94175738 100644 --- a/vrchatapi/model/avatar_unity_package_url_object.py +++ b/vrchatapi/model/avatar_unity_package_url_object.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_avatar_request.py b/vrchatapi/model/create_avatar_request.py index 83336c1a..25d6ae94 100644 --- a/vrchatapi/model/create_avatar_request.py +++ b/vrchatapi/model/create_avatar_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_file_request.py b/vrchatapi/model/create_file_request.py index 784d5eea..a6e8ac3d 100644 --- a/vrchatapi/model/create_file_request.py +++ b/vrchatapi/model/create_file_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_file_version_request.py b/vrchatapi/model/create_file_version_request.py index 4b30730b..19479bea 100644 --- a/vrchatapi/model/create_file_version_request.py +++ b/vrchatapi/model/create_file_version_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/create_world_request.py b/vrchatapi/model/create_world_request.py index c7f7f34e..3f9a501d 100644 --- a/vrchatapi/model/create_world_request.py +++ b/vrchatapi/model/create_world_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/current_user.py b/vrchatapi/model/current_user.py index 4efcedb4..faea8722 100644 --- a/vrchatapi/model/current_user.py +++ b/vrchatapi/model/current_user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/deployment_group.py b/vrchatapi/model/deployment_group.py index 8bdc45ab..75af56c1 100644 --- a/vrchatapi/model/deployment_group.py +++ b/vrchatapi/model/deployment_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/developer_type.py b/vrchatapi/model/developer_type.py index 772a211b..695ff7dc 100644 --- a/vrchatapi/model/developer_type.py +++ b/vrchatapi/model/developer_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/download_url_list.py b/vrchatapi/model/download_url_list.py index cbf2243e..8bc2be8c 100644 --- a/vrchatapi/model/download_url_list.py +++ b/vrchatapi/model/download_url_list.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/dynamic_content_row.py b/vrchatapi/model/dynamic_content_row.py index d5910d0b..bdc8cb8e 100644 --- a/vrchatapi/model/dynamic_content_row.py +++ b/vrchatapi/model/dynamic_content_row.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/error.py b/vrchatapi/model/error.py index 68198248..65eaacd4 100644 --- a/vrchatapi/model/error.py +++ b/vrchatapi/model/error.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite.py b/vrchatapi/model/favorite.py index e116380e..389a79d9 100644 --- a/vrchatapi/model/favorite.py +++ b/vrchatapi/model/favorite.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group.py b/vrchatapi/model/favorite_group.py index ffa8b469..7b098228 100644 --- a/vrchatapi/model/favorite_group.py +++ b/vrchatapi/model/favorite_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group_id.py b/vrchatapi/model/favorite_group_id.py index a64d0e04..d51cae27 100644 --- a/vrchatapi/model/favorite_group_id.py +++ b/vrchatapi/model/favorite_group_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_group_visibility.py b/vrchatapi/model/favorite_group_visibility.py index 0ee684db..f153544a 100644 --- a/vrchatapi/model/favorite_group_visibility.py +++ b/vrchatapi/model/favorite_group_visibility.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_id.py b/vrchatapi/model/favorite_id.py index 105a3572..9b7b8b5f 100644 --- a/vrchatapi/model/favorite_id.py +++ b/vrchatapi/model/favorite_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/favorite_type.py b/vrchatapi/model/favorite_type.py index 91819998..b2ce5810 100644 --- a/vrchatapi/model/favorite_type.py +++ b/vrchatapi/model/favorite_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file.py b/vrchatapi/model/file.py index 15848d85..728ef4d8 100644 --- a/vrchatapi/model/file.py +++ b/vrchatapi/model/file.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_data.py b/vrchatapi/model/file_data.py index 84d4757d..04ad9401 100644 --- a/vrchatapi/model/file_data.py +++ b/vrchatapi/model/file_data.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_id.py b/vrchatapi/model/file_id.py index 34a05cf9..a54958d8 100644 --- a/vrchatapi/model/file_id.py +++ b/vrchatapi/model/file_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_status.py b/vrchatapi/model/file_status.py index d7fe8f63..b0d88104 100644 --- a/vrchatapi/model/file_status.py +++ b/vrchatapi/model/file_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_upload_url.py b/vrchatapi/model/file_upload_url.py index 7f9aabca..cfab4c05 100644 --- a/vrchatapi/model/file_upload_url.py +++ b/vrchatapi/model/file_upload_url.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_version.py b/vrchatapi/model/file_version.py index 486f2730..fac56258 100644 --- a/vrchatapi/model/file_version.py +++ b/vrchatapi/model/file_version.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/file_version_upload_status.py b/vrchatapi/model/file_version_upload_status.py index b25b510d..1951083b 100644 --- a/vrchatapi/model/file_version_upload_status.py +++ b/vrchatapi/model/file_version_upload_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/finish_file_data_upload_request.py b/vrchatapi/model/finish_file_data_upload_request.py index 6527ff96..94641b36 100644 --- a/vrchatapi/model/finish_file_data_upload_request.py +++ b/vrchatapi/model/finish_file_data_upload_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/friend_status.py b/vrchatapi/model/friend_status.py index beb6e9f2..7e0ecfb8 100644 --- a/vrchatapi/model/friend_status.py +++ b/vrchatapi/model/friend_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push.py b/vrchatapi/model/info_push.py index 73ff75d7..8191dd19 100644 --- a/vrchatapi/model/info_push.py +++ b/vrchatapi/model/info_push.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data.py b/vrchatapi/model/info_push_data.py index 584c8daa..8533636d 100644 --- a/vrchatapi/model/info_push_data.py +++ b/vrchatapi/model/info_push_data.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_article.py b/vrchatapi/model/info_push_data_article.py index 9da49bcd..f8495d04 100644 --- a/vrchatapi/model/info_push_data_article.py +++ b/vrchatapi/model/info_push_data_article.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_article_content.py b/vrchatapi/model/info_push_data_article_content.py index 9d75ed2c..fa73bb95 100644 --- a/vrchatapi/model/info_push_data_article_content.py +++ b/vrchatapi/model/info_push_data_article_content.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/info_push_data_clickable.py b/vrchatapi/model/info_push_data_clickable.py index a466c9a7..0a4d1093 100644 --- a/vrchatapi/model/info_push_data_clickable.py +++ b/vrchatapi/model/info_push_data_clickable.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance.py b/vrchatapi/model/instance.py index 662e6fd0..de6fef28 100644 --- a/vrchatapi/model/instance.py +++ b/vrchatapi/model/instance.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_id.py b/vrchatapi/model/instance_id.py index 54e26eb9..de425cdf 100644 --- a/vrchatapi/model/instance_id.py +++ b/vrchatapi/model/instance_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_platforms.py b/vrchatapi/model/instance_platforms.py index c9d4f1ae..683cf426 100644 --- a/vrchatapi/model/instance_platforms.py +++ b/vrchatapi/model/instance_platforms.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_short_name_response.py b/vrchatapi/model/instance_short_name_response.py index 604d6a5d..2054a58c 100644 --- a/vrchatapi/model/instance_short_name_response.py +++ b/vrchatapi/model/instance_short_name_response.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/instance_type.py b/vrchatapi/model/instance_type.py index c0ceea6e..d10deb4b 100644 --- a/vrchatapi/model/instance_type.py +++ b/vrchatapi/model/instance_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message.py b/vrchatapi/model/invite_message.py index 48362369..c65ebf28 100644 --- a/vrchatapi/model/invite_message.py +++ b/vrchatapi/model/invite_message.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message_id.py b/vrchatapi/model/invite_message_id.py index 7dc82c9e..4554cdc1 100644 --- a/vrchatapi/model/invite_message_id.py +++ b/vrchatapi/model/invite_message_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_message_type.py b/vrchatapi/model/invite_message_type.py index b4b78780..a78282ad 100644 --- a/vrchatapi/model/invite_message_type.py +++ b/vrchatapi/model/invite_message_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_request.py b/vrchatapi/model/invite_request.py index f80bcde8..5ccfd88b 100644 --- a/vrchatapi/model/invite_request.py +++ b/vrchatapi/model/invite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/invite_response.py b/vrchatapi/model/invite_response.py index 7a1d2f2a..6737e50f 100644 --- a/vrchatapi/model/invite_response.py +++ b/vrchatapi/model/invite_response.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license.py b/vrchatapi/model/license.py index 3fa09106..85588ae1 100644 --- a/vrchatapi/model/license.py +++ b/vrchatapi/model/license.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_action.py b/vrchatapi/model/license_action.py index 24dc6fa5..4ef1be28 100644 --- a/vrchatapi/model/license_action.py +++ b/vrchatapi/model/license_action.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_group.py b/vrchatapi/model/license_group.py index 4fa4f055..bb331bce 100644 --- a/vrchatapi/model/license_group.py +++ b/vrchatapi/model/license_group.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_group_id.py b/vrchatapi/model/license_group_id.py index 28f7d324..cb2c0a30 100644 --- a/vrchatapi/model/license_group_id.py +++ b/vrchatapi/model/license_group_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/license_type.py b/vrchatapi/model/license_type.py index ee2b4f66..ca244526 100644 --- a/vrchatapi/model/license_type.py +++ b/vrchatapi/model/license_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_unity_package.py b/vrchatapi/model/limited_unity_package.py index b4e9c2ef..0d154eb9 100644 --- a/vrchatapi/model/limited_unity_package.py +++ b/vrchatapi/model/limited_unity_package.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_user.py b/vrchatapi/model/limited_user.py index 581ae2cd..0e0d23d6 100644 --- a/vrchatapi/model/limited_user.py +++ b/vrchatapi/model/limited_user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/limited_world.py b/vrchatapi/model/limited_world.py index 9230e79b..a9db436b 100644 --- a/vrchatapi/model/limited_world.py +++ b/vrchatapi/model/limited_world.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/mime_type.py b/vrchatapi/model/mime_type.py index b1f35e62..4aae063d 100644 --- a/vrchatapi/model/mime_type.py +++ b/vrchatapi/model/mime_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/moderate_user_request.py b/vrchatapi/model/moderate_user_request.py index 328f36dc..00d9042f 100644 --- a/vrchatapi/model/moderate_user_request.py +++ b/vrchatapi/model/moderate_user_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/notification.py b/vrchatapi/model/notification.py index 58ce9b55..9a3426bb 100644 --- a/vrchatapi/model/notification.py +++ b/vrchatapi/model/notification.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/notification_type.py b/vrchatapi/model/notification_type.py index d95d1c0f..8bba5a77 100644 --- a/vrchatapi/model/notification_type.py +++ b/vrchatapi/model/notification_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/past_display_name.py b/vrchatapi/model/past_display_name.py index 0054f4fd..2645352a 100644 --- a/vrchatapi/model/past_display_name.py +++ b/vrchatapi/model/past_display_name.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/permission.py b/vrchatapi/model/permission.py index ef8d983f..b4a3a1fb 100644 --- a/vrchatapi/model/permission.py +++ b/vrchatapi/model/permission.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/permission_id.py b/vrchatapi/model/permission_id.py index 1ca2cb47..8ec26c04 100644 --- a/vrchatapi/model/permission_id.py +++ b/vrchatapi/model/permission_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation.py b/vrchatapi/model/player_moderation.py index b6eb9376..6d48a19f 100644 --- a/vrchatapi/model/player_moderation.py +++ b/vrchatapi/model/player_moderation.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation_id.py b/vrchatapi/model/player_moderation_id.py index 55d62bde..912d866c 100644 --- a/vrchatapi/model/player_moderation_id.py +++ b/vrchatapi/model/player_moderation_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/player_moderation_type.py b/vrchatapi/model/player_moderation_type.py index c156615d..644ed330 100644 --- a/vrchatapi/model/player_moderation_type.py +++ b/vrchatapi/model/player_moderation_type.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/public_announcement.py b/vrchatapi/model/public_announcement.py index c725d0b5..105eb4c5 100644 --- a/vrchatapi/model/public_announcement.py +++ b/vrchatapi/model/public_announcement.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/region.py b/vrchatapi/model/region.py index 48eae5aa..df78af5c 100644 --- a/vrchatapi/model/region.py +++ b/vrchatapi/model/region.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/release_status.py b/vrchatapi/model/release_status.py index af2f643d..54f09fc3 100644 --- a/vrchatapi/model/release_status.py +++ b/vrchatapi/model/release_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/request_invite_request.py b/vrchatapi/model/request_invite_request.py index eafea59f..2a81eea2 100644 --- a/vrchatapi/model/request_invite_request.py +++ b/vrchatapi/model/request_invite_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/response.py b/vrchatapi/model/response.py index f8714a7d..35e8502b 100644 --- a/vrchatapi/model/response.py +++ b/vrchatapi/model/response.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/sent_notification.py b/vrchatapi/model/sent_notification.py index 44ece5b0..840999e6 100644 --- a/vrchatapi/model/sent_notification.py +++ b/vrchatapi/model/sent_notification.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/subscription.py b/vrchatapi/model/subscription.py index 25122651..b1b7706c 100644 --- a/vrchatapi/model/subscription.py +++ b/vrchatapi/model/subscription.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/subscription_period.py b/vrchatapi/model/subscription_period.py index 33a06c03..a885a162 100644 --- a/vrchatapi/model/subscription_period.py +++ b/vrchatapi/model/subscription_period.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/success.py b/vrchatapi/model/success.py index 61a5f4a5..624cb7e4 100644 --- a/vrchatapi/model/success.py +++ b/vrchatapi/model/success.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/tag.py b/vrchatapi/model/tag.py index d439fa5b..21e8ba76 100644 --- a/vrchatapi/model/tag.py +++ b/vrchatapi/model/tag.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction.py b/vrchatapi/model/transaction.py index d029836e..35245395 100644 --- a/vrchatapi/model/transaction.py +++ b/vrchatapi/model/transaction.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_agreement.py b/vrchatapi/model/transaction_agreement.py index 5543c6ec..2b9f6714 100644 --- a/vrchatapi/model/transaction_agreement.py +++ b/vrchatapi/model/transaction_agreement.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_id.py b/vrchatapi/model/transaction_id.py index 6e004826..ae645339 100644 --- a/vrchatapi/model/transaction_id.py +++ b/vrchatapi/model/transaction_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_status.py b/vrchatapi/model/transaction_status.py index 0217afec..afc8d957 100644 --- a/vrchatapi/model/transaction_status.py +++ b/vrchatapi/model/transaction_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_steam_info.py b/vrchatapi/model/transaction_steam_info.py index 212267b1..d5a47f1b 100644 --- a/vrchatapi/model/transaction_steam_info.py +++ b/vrchatapi/model/transaction_steam_info.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/transaction_steam_wallet_info.py b/vrchatapi/model/transaction_steam_wallet_info.py index 5d33c398..cf242b41 100644 --- a/vrchatapi/model/transaction_steam_wallet_info.py +++ b/vrchatapi/model/transaction_steam_wallet_info.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/two_factor_auth_code.py b/vrchatapi/model/two_factor_auth_code.py index 916ab9df..8e88f911 100644 --- a/vrchatapi/model/two_factor_auth_code.py +++ b/vrchatapi/model/two_factor_auth_code.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/unity_package.py b/vrchatapi/model/unity_package.py index 8c6ea5a0..7d563cf2 100644 --- a/vrchatapi/model/unity_package.py +++ b/vrchatapi/model/unity_package.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/unity_package_id.py b/vrchatapi/model/unity_package_id.py index 13442758..ef76452e 100644 --- a/vrchatapi/model/unity_package_id.py +++ b/vrchatapi/model/unity_package_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_avatar_request.py b/vrchatapi/model/update_avatar_request.py index 0a4853fa..c5468707 100644 --- a/vrchatapi/model/update_avatar_request.py +++ b/vrchatapi/model/update_avatar_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_favorite_group_request.py b/vrchatapi/model/update_favorite_group_request.py index c260fbfd..51639bdd 100644 --- a/vrchatapi/model/update_favorite_group_request.py +++ b/vrchatapi/model/update_favorite_group_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_invite_message_request.py b/vrchatapi/model/update_invite_message_request.py index cdaa08b1..52980deb 100644 --- a/vrchatapi/model/update_invite_message_request.py +++ b/vrchatapi/model/update_invite_message_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_user_request.py b/vrchatapi/model/update_user_request.py index e6ef85fd..2dfe9f3c 100644 --- a/vrchatapi/model/update_user_request.py +++ b/vrchatapi/model/update_user_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/update_world_request.py b/vrchatapi/model/update_world_request.py index 72ae7524..6e7b53fc 100644 --- a/vrchatapi/model/update_world_request.py +++ b/vrchatapi/model/update_world_request.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user.py b/vrchatapi/model/user.py index c27ca1c4..3554b833 100644 --- a/vrchatapi/model/user.py +++ b/vrchatapi/model/user.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -110,7 +110,6 @@ def openapi_types(): 'developer_type': (DeveloperType,), # noqa: E501 'display_name': (str,), # noqa: E501 'friend_key': (str,), # noqa: E501 - 'friend_request_status': (str,), # noqa: E501 'id': (str,), # noqa: E501 'is_friend': (bool,), # noqa: E501 'last_activity': (str,), # noqa: E501 @@ -122,6 +121,7 @@ def openapi_types(): 'status_description': (str,), # noqa: E501 'tags': ([Tag],), # noqa: E501 'user_icon': (str,), # noqa: E501 + 'friend_request_status': (str,), # noqa: E501 'instance_id': (InstanceID,), # noqa: E501 'location': (WorldID,), # noqa: E501 'note': (str,), # noqa: E501 @@ -147,7 +147,6 @@ def discriminator(): 'developer_type': 'developerType', # noqa: E501 'display_name': 'displayName', # noqa: E501 'friend_key': 'friendKey', # noqa: E501 - 'friend_request_status': 'friendRequestStatus', # noqa: E501 'id': 'id', # noqa: E501 'is_friend': 'isFriend', # noqa: E501 'last_activity': 'last_activity', # noqa: E501 @@ -159,6 +158,7 @@ def discriminator(): 'status_description': 'statusDescription', # noqa: E501 'tags': 'tags', # noqa: E501 'user_icon': 'userIcon', # noqa: E501 + 'friend_request_status': 'friendRequestStatus', # noqa: E501 'instance_id': 'instanceId', # noqa: E501 'location': 'location', # noqa: E501 'note': 'note', # noqa: E501 @@ -176,7 +176,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, bio, bio_links, current_avatar_image_url, current_avatar_thumbnail_image_url, date_joined, developer_type, display_name, friend_key, friend_request_status, id, is_friend, last_activity, last_login, last_platform, profile_pic_override, state, status, status_description, tags, user_icon, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, bio, bio_links, current_avatar_image_url, current_avatar_thumbnail_image_url, date_joined, developer_type, display_name, friend_key, id, is_friend, last_activity, last_login, last_platform, profile_pic_override, state, status, status_description, tags, user_icon, *args, **kwargs): # noqa: E501 """User - a model defined in OpenAPI Args: @@ -188,7 +188,6 @@ def _from_openapi_data(cls, bio, bio_links, current_avatar_image_url, current_av developer_type (DeveloperType): display_name (str): A users visual display name. This is what shows up in-game, and can different from their `username`. Changing display name is restricted to a cooldown period. friend_key (str): - friend_request_status (str): id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. is_friend (bool): Either their `friendKey`, or empty string if you are not friends. Unknown usage. last_activity (str): Either a date-time or empty string. @@ -233,6 +232,7 @@ def _from_openapi_data(cls, bio, bio_links, current_avatar_image_url, current_av Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + friend_request_status (str): [optional] # noqa: E501 instance_id (InstanceID): [optional] # noqa: E501 location (WorldID): [optional] # noqa: E501 note (str): [optional] # noqa: E501 @@ -278,7 +278,6 @@ def _from_openapi_data(cls, bio, bio_links, current_avatar_image_url, current_av self.developer_type = developer_type self.display_name = display_name self.friend_key = friend_key - self.friend_request_status = friend_request_status self.id = id self.is_friend = is_friend self.last_activity = last_activity @@ -310,7 +309,7 @@ def _from_openapi_data(cls, bio, bio_links, current_avatar_image_url, current_av ]) @convert_js_args_to_python_args - def __init__(self, bio, bio_links, current_avatar_image_url, current_avatar_thumbnail_image_url, date_joined, developer_type, display_name, friend_key, friend_request_status, id, is_friend, last_activity, last_login, last_platform, profile_pic_override, state, status, status_description, tags, user_icon, *args, **kwargs): # noqa: E501 + def __init__(self, bio, bio_links, current_avatar_image_url, current_avatar_thumbnail_image_url, date_joined, developer_type, display_name, friend_key, id, is_friend, last_activity, last_login, last_platform, profile_pic_override, state, status, status_description, tags, user_icon, *args, **kwargs): # noqa: E501 """User - a model defined in OpenAPI Args: @@ -322,7 +321,6 @@ def __init__(self, bio, bio_links, current_avatar_image_url, current_avatar_thum developer_type (DeveloperType): display_name (str): A users visual display name. This is what shows up in-game, and can different from their `username`. Changing display name is restricted to a cooldown period. friend_key (str): - friend_request_status (str): id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. is_friend (bool): Either their `friendKey`, or empty string if you are not friends. Unknown usage. last_activity (str): Either a date-time or empty string. @@ -367,6 +365,7 @@ def __init__(self, bio, bio_links, current_avatar_image_url, current_avatar_thum Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + friend_request_status (str): [optional] # noqa: E501 instance_id (InstanceID): [optional] # noqa: E501 location (WorldID): [optional] # noqa: E501 note (str): [optional] # noqa: E501 @@ -410,7 +409,6 @@ def __init__(self, bio, bio_links, current_avatar_image_url, current_avatar_thum self.developer_type = developer_type self.display_name = display_name self.friend_key = friend_key - self.friend_request_status = friend_request_status self.id = id self.is_friend = is_friend self.last_activity = last_activity diff --git a/vrchatapi/model/user_exists.py b/vrchatapi/model/user_exists.py index bd6b3797..519027fa 100644 --- a/vrchatapi/model/user_exists.py +++ b/vrchatapi/model/user_exists.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_state.py b/vrchatapi/model/user_state.py index 2468d415..c5fdc96f 100644 --- a/vrchatapi/model/user_state.py +++ b/vrchatapi/model/user_state.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_status.py b/vrchatapi/model/user_status.py index 6499c359..133beef9 100644 --- a/vrchatapi/model/user_status.py +++ b/vrchatapi/model/user_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/user_subscription.py b/vrchatapi/model/user_subscription.py index 8ca403cf..72ddf589 100644 --- a/vrchatapi/model/user_subscription.py +++ b/vrchatapi/model/user_subscription.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/verify2_fa_result.py b/vrchatapi/model/verify2_fa_result.py index 2c32835f..ca746301 100644 --- a/vrchatapi/model/verify2_fa_result.py +++ b/vrchatapi/model/verify2_fa_result.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/verify_auth_token_result.py b/vrchatapi/model/verify_auth_token_result.py index df945525..b3db7286 100644 --- a/vrchatapi/model/verify_auth_token_result.py +++ b/vrchatapi/model/verify_auth_token_result.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world.py b/vrchatapi/model/world.py index 73e1dddb..ea500fc8 100644 --- a/vrchatapi/model/world.py +++ b/vrchatapi/model/world.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_id.py b/vrchatapi/model/world_id.py index 7719565a..df3b06fe 100644 --- a/vrchatapi/model/world_id.py +++ b/vrchatapi/model/world_id.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_metadata.py b/vrchatapi/model/world_metadata.py index c2b80af4..1c8c5729 100644 --- a/vrchatapi/model/world_metadata.py +++ b/vrchatapi/model/world_metadata.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model/world_publish_status.py b/vrchatapi/model/world_publish_status.py index 763f39c4..7efd2741 100644 --- a/vrchatapi/model/world_publish_status.py +++ b/vrchatapi/model/world_publish_status.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/model_utils.py b/vrchatapi/model_utils.py index 22d7aef6..c6fd96a7 100644 --- a/vrchatapi/model_utils.py +++ b/vrchatapi/model_utils.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index 94c03491..4db3906d 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -2,7 +2,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.0 + The version of the OpenAPI document: 1.9.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ From 6c0042eed61d1453f703b45250f54f38b4f5d3a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Foorack=20/=20Max=20Fax=C3=A4lv?= Date: Sun, 4 Dec 2022 21:21:25 +0100 Subject: [PATCH 020/102] Upgrade openapi-generator from 5.3.0 to 6.2.1 and keep python-legacy --- .gitignore | 6 +- .gitlab-ci.yml | 29 +- .openapi-generator/FILES | 203 +- .openapi-generator/VERSION | 2 +- docs/APIConfig.md | 68 +- docs/APIEventConfig.md | 1 - docs/APIHealth.md | 1 - docs/AddFavoriteRequest.md | 3 +- docs/AuthenticationApi.md | 288 +- docs/Avatar.md | 16 +- docs/AvatarID.md | 11 - docs/AvatarUnityPackageUrlObject.md | 1 - docs/AvatarsApi.md | 720 ++- docs/CreateAvatarRequest.md | 11 +- docs/CreateFileRequest.md | 3 +- docs/CreateFileVersionRequest.md | 1 - docs/CreateWorldRequest.md | 11 +- docs/CurrentUser.md | 33 +- docs/DeploymentGroup.md | 1 - docs/DeveloperType.md | 1 - docs/DownloadURLList.md | 1 - docs/DynamicContentRow.md | 3 +- docs/EconomyApi.md | 308 +- docs/Error.md | 1 - docs/Favorite.md | 6 +- docs/FavoriteGroup.md | 6 +- docs/FavoriteGroupID.md | 11 - docs/FavoriteGroupVisibility.md | 1 - docs/FavoriteID.md | 11 - docs/FavoriteType.md | 1 - docs/FavoritesApi.md | 580 ++- docs/File.md | 8 +- docs/FileData.md | 6 +- docs/FileID.md | 11 - docs/FileStatus.md | 1 - docs/FileUploadURL.md | 2 +- docs/FileVersion.md | 8 +- docs/FileVersionUploadStatus.md | 6 +- docs/FilesApi.md | 718 ++- docs/FinishFileDataUploadRequest.md | 8 +- docs/FriendStatus.md | 7 +- docs/FriendsApi.md | 320 +- docs/InfoPush.md | 6 +- docs/InfoPushData.md | 2 +- docs/InfoPushDataArticle.md | 1 - docs/InfoPushDataArticleContent.md | 1 - docs/InfoPushDataClickable.md | 3 +- docs/Instance.md | 21 +- docs/InstanceID.md | 12 - docs/InstancePlatforms.md | 1 - docs/InstanceShortNameResponse.md | 1 - docs/InstanceType.md | 2 +- docs/InstancesApi.md | 259 +- docs/InviteApi.md | 587 ++- docs/InviteMessage.md | 8 +- docs/InviteMessageID.md | 11 - docs/InviteMessageType.md | 2 +- docs/InviteRequest.md | 3 +- docs/InviteResponse.md | 1 - docs/License.md | 1 - docs/LicenseAction.md | 1 - docs/LicenseGroup.md | 6 +- docs/LicenseGroupID.md | 11 - docs/LicenseType.md | 1 - docs/LimitedUnityPackage.md | 2 +- docs/LimitedUser.md | 8 +- docs/LimitedWorld.md | 18 +- docs/MIMEType.md | 1 - docs/Notification.md | 8 +- docs/NotificationType.md | 1 - docs/NotificationsApi.md | 334 +- docs/PastDisplayName.md | 1 - docs/Permission.md | 6 +- docs/PermissionID.md | 11 - docs/PermissionsApi.md | 123 +- docs/PlayerModeration.md | 3 +- docs/PlayerModerationID.md | 11 - docs/PlayerModerationType.md | 1 - docs/PlayermoderationApi.md | 391 +- docs/PublicAnnouncement.md | 1 - docs/Region.md | 1 - docs/ReleaseStatus.md | 1 - docs/RequestInviteRequest.md | 1 - docs/Response.md | 3 +- docs/SentNotification.md | 6 +- docs/Subscription.md | 2 +- docs/SubscriptionPeriod.md | 1 - docs/Success.md | 1 - docs/SystemApi.md | 132 +- docs/Tag.md | 12 - docs/Transaction.md | 8 +- docs/TransactionAgreement.md | 2 +- docs/TransactionID.md | 11 - docs/TransactionStatus.md | 1 - docs/TransactionSteamInfo.md | 2 +- docs/TransactionSteamWalletInfo.md | 6 +- docs/TwoFactorAuthCode.md | 1 - docs/UnityPackage.md | 14 +- docs/UnityPackageID.md | 11 - docs/UpdateAvatarRequest.md | 7 +- docs/UpdateFavoriteGroupRequest.md | 3 +- docs/UpdateInviteMessageRequest.md | 1 - docs/UpdateUserRequest.md | 5 +- docs/UpdateWorldRequest.md | 5 +- docs/User.md | 19 +- docs/UserExists.md | 3 +- docs/UserState.md | 1 - docs/UserStatus.md | 1 - docs/UserSubscription.md | 12 +- docs/UsersApi.md | 290 +- docs/Verify2FAResult.md | 1 - docs/VerifyAuthTokenResult.md | 1 - docs/World.md | 32 +- docs/WorldID.md | 12 - docs/WorldMetadata.md | 4 +- docs/WorldPublishStatus.md | 2 +- docs/WorldsApi.md | 1016 +++-- generate.sh | 5 +- openapitools.json | 2 +- patches/bool_query_param.patch | 54 - requirements.txt | 2 + setup.py | 9 +- test-requirements.txt | 3 + tox.ini | 2 +- vrchatapi/__init__.py | 115 +- vrchatapi/api/__init__.py | 22 +- vrchatapi/api/authentication_api.py | 1619 ++++--- vrchatapi/api/avatars_api.py | 2560 ++++++----- vrchatapi/api/economy_api.py | 1131 ++--- vrchatapi/api/favorites_api.py | 2126 ++++----- vrchatapi/api/files_api.py | 2778 ++++++------ vrchatapi/api/friends_api.py | 1240 +++--- vrchatapi/api/instances_api.py | 1022 +++-- vrchatapi/api/invite_api.py | 2219 +++++----- vrchatapi/api/notifications_api.py | 1251 +++--- vrchatapi/api/permissions_api.py | 466 +- vrchatapi/api/playermoderation_api.py | 1412 +++--- vrchatapi/api/system_api.py | 1562 ++++--- vrchatapi/api/users_api.py | 1036 +++-- vrchatapi/api/worlds_api.py | 3921 +++++++++-------- vrchatapi/api_client.py | 745 ++-- vrchatapi/api_client.py.orig | 850 ---- vrchatapi/apis/__init__.py | 30 - vrchatapi/configuration.py | 26 +- vrchatapi/exceptions.py | 6 +- vrchatapi/model/__init__.py | 5 - vrchatapi/model/add_favorite_request.py | 281 -- vrchatapi/model/api_config.py | 909 ---- vrchatapi/model/api_event_config.py | 315 -- vrchatapi/model/api_health.py | 279 -- vrchatapi/model/avatar.py | 401 -- vrchatapi/model/avatar_id.py | 283 -- .../model/avatar_unity_package_url_object.py | 255 -- vrchatapi/model/create_avatar_request.py | 317 -- vrchatapi/model/create_file_request.py | 291 -- .../model/create_file_version_request.py | 281 -- vrchatapi/model/create_world_request.py | 352 -- vrchatapi/model/current_user.py | 546 --- vrchatapi/model/deployment_group.py | 276 -- vrchatapi/model/developer_type.py | 276 -- vrchatapi/model/download_url_list.py | 282 -- vrchatapi/model/dynamic_content_row.py | 318 -- vrchatapi/model/error.py | 261 -- vrchatapi/model/favorite.py | 289 -- vrchatapi/model/favorite_group.py | 324 -- vrchatapi/model/favorite_group_id.py | 283 -- vrchatapi/model/favorite_group_visibility.py | 275 -- vrchatapi/model/favorite_id.py | 283 -- vrchatapi/model/favorite_type.py | 275 -- vrchatapi/model/file.py | 318 -- vrchatapi/model/file_data.py | 330 -- vrchatapi/model/file_id.py | 283 -- vrchatapi/model/file_status.py | 276 -- vrchatapi/model/file_upload_url.py | 264 -- vrchatapi/model/file_version.py | 302 -- vrchatapi/model/file_version_upload_status.py | 309 -- .../model/finish_file_data_upload_request.py | 292 -- vrchatapi/model/friend_status.py | 279 -- vrchatapi/model/info_push.py | 335 -- vrchatapi/model/info_push_data.py | 299 -- vrchatapi/model/info_push_data_article.py | 261 -- .../model/info_push_data_article_content.py | 269 -- vrchatapi/model/info_push_data_clickable.py | 274 -- vrchatapi/model/instance.py | 428 -- vrchatapi/model/instance_id.py | 283 -- vrchatapi/model/instance_platforms.py | 273 -- .../model/instance_short_name_response.py | 271 -- vrchatapi/model/instance_type.py | 284 -- vrchatapi/model/invite_message.py | 319 -- vrchatapi/model/invite_message_id.py | 283 -- vrchatapi/model/invite_message_type.py | 276 -- vrchatapi/model/invite_request.py | 275 -- vrchatapi/model/invite_response.py | 265 -- vrchatapi/model/license.py | 296 -- vrchatapi/model/license_action.py | 274 -- vrchatapi/model/license_group.py | 290 -- vrchatapi/model/license_group_id.py | 283 -- vrchatapi/model/license_type.py | 276 -- vrchatapi/model/limited_unity_package.py | 270 -- vrchatapi/model/limited_user.py | 361 -- vrchatapi/model/limited_world.py | 431 -- vrchatapi/model/mime_type.py | 286 -- vrchatapi/model/moderate_user_request.py | 266 -- vrchatapi/model/notification.py | 317 -- vrchatapi/model/notification_type.py | 278 -- vrchatapi/model/past_display_name.py | 270 -- vrchatapi/model/permission.py | 286 -- vrchatapi/model/permission_id.py | 283 -- vrchatapi/model/player_moderation.py | 311 -- vrchatapi/model/player_moderation_id.py | 283 -- vrchatapi/model/player_moderation_type.py | 278 -- vrchatapi/model/public_announcement.py | 273 -- vrchatapi/model/region.py | 278 -- vrchatapi/model/release_status.py | 275 -- vrchatapi/model/request_invite_request.py | 259 -- vrchatapi/model/response.py | 271 -- vrchatapi/model/sent_notification.py | 315 -- vrchatapi/model/subscription.py | 303 -- vrchatapi/model/subscription_period.py | 277 -- vrchatapi/model/success.py | 261 -- vrchatapi/model/tag.py | 281 -- vrchatapi/model/transaction.py | 321 -- vrchatapi/model/transaction_agreement.py | 387 -- vrchatapi/model/transaction_id.py | 283 -- vrchatapi/model/transaction_status.py | 276 -- vrchatapi/model/transaction_steam_info.py | 300 -- .../model/transaction_steam_wallet_info.py | 292 -- vrchatapi/model/two_factor_auth_code.py | 261 -- vrchatapi/model/unity_package.py | 323 -- vrchatapi/model/unity_package_id.py | 283 -- vrchatapi/model/update_avatar_request.py | 309 -- .../model/update_favorite_group_request.py | 271 -- .../model/update_invite_message_request.py | 261 -- vrchatapi/model/update_user_request.py | 301 -- vrchatapi/model/update_world_request.py | 336 -- vrchatapi/model/user.py | 433 -- vrchatapi/model/user_exists.py | 263 -- vrchatapi/model/user_state.py | 275 -- vrchatapi/model/user_status.py | 277 -- vrchatapi/model/user_subscription.py | 368 -- vrchatapi/model/verify2_fa_result.py | 261 -- vrchatapi/model/verify_auth_token_result.py | 270 -- vrchatapi/model/world.py | 487 -- vrchatapi/model/world_id.py | 283 -- vrchatapi/model/world_metadata.py | 266 -- vrchatapi/model/world_publish_status.py | 257 -- vrchatapi/model_utils.py | 2033 --------- vrchatapi/models/__init__.py | 208 +- vrchatapi/models/add_favorite_request.py | 190 + vrchatapi/models/api_config.py | 2540 +++++++++++ vrchatapi/models/api_event_config.py | 395 ++ vrchatapi/models/api_health.py | 192 + vrchatapi/models/avatar.py | 624 +++ .../models/avatar_unity_package_url_object.py | 131 + vrchatapi/models/create_avatar_request.py | 358 ++ vrchatapi/models/create_file_request.py | 220 + .../models/create_file_version_request.py | 217 + vrchatapi/models/create_world_request.py | 510 +++ vrchatapi/models/current_user.py | 1393 ++++++ vrchatapi/models/deployment_group.py | 113 + vrchatapi/models/developer_type.py | 113 + vrchatapi/models/download_url_list.py | 201 + vrchatapi/models/dynamic_content_row.py | 345 ++ vrchatapi/models/error.py | 131 + vrchatapi/models/favorite.py | 220 + vrchatapi/models/favorite_group.py | 337 ++ vrchatapi/models/favorite_group_visibility.py | 112 + vrchatapi/models/favorite_type.py | 112 + vrchatapi/models/file.py | 314 ++ vrchatapi/models/file_data.py | 315 ++ vrchatapi/models/file_status.py | 113 + vrchatapi/models/file_upload_url.py | 137 + vrchatapi/models/file_version.py | 297 ++ .../models/file_version_upload_status.py | 287 ++ .../models/finish_file_data_upload_request.py | 212 + vrchatapi/models/friend_status.py | 186 + vrchatapi/models/info_push.py | 412 ++ vrchatapi/models/info_push_data.py | 319 ++ vrchatapi/models/info_push_data_article.py | 131 + .../models/info_push_data_article_content.py | 183 + vrchatapi/models/info_push_data_clickable.py | 166 + vrchatapi/models/instance.py | 769 ++++ vrchatapi/models/instance_platforms.py | 165 + .../models/instance_short_name_response.py | 164 + vrchatapi/models/instance_type.py | 113 + vrchatapi/models/invite_message.py | 311 ++ vrchatapi/models/invite_message_type.py | 113 + vrchatapi/models/invite_request.py | 169 + vrchatapi/models/invite_response.py | 138 + vrchatapi/models/license.py | 224 + vrchatapi/models/license_action.py | 111 + vrchatapi/models/license_group.py | 219 + vrchatapi/models/license_type.py | 113 + vrchatapi/models/limited_unity_package.py | 164 + vrchatapi/models/limited_user.py | 575 +++ vrchatapi/models/limited_world.py | 671 +++ vrchatapi/models/mime_type.py | 123 + vrchatapi/models/moderate_user_request.py | 161 + vrchatapi/models/notification.py | 334 ++ vrchatapi/models/notification_type.py | 115 + vrchatapi/models/past_display_name.py | 162 + vrchatapi/models/permission.py | 220 + vrchatapi/models/player_moderation.py | 307 ++ vrchatapi/models/player_moderation_type.py | 115 + vrchatapi/models/public_announcement.py | 169 + vrchatapi/models/region.py | 115 + vrchatapi/models/release_status.py | 112 + vrchatapi/models/request_invite_request.py | 137 + vrchatapi/models/response.py | 164 + vrchatapi/models/sent_notification.py | 336 ++ vrchatapi/models/subscription.py | 273 ++ vrchatapi/models/subscription_period.py | 114 + vrchatapi/models/success.py | 131 + vrchatapi/models/transaction.py | 349 ++ vrchatapi/models/transaction_agreement.py | 596 +++ vrchatapi/models/transaction_status.py | 113 + vrchatapi/models/transaction_steam_info.py | 257 ++ .../models/transaction_steam_wallet_info.py | 222 + vrchatapi/models/two_factor_auth_code.py | 132 + vrchatapi/models/unity_package.py | 386 ++ vrchatapi/models/update_avatar_request.py | 356 ++ .../models/update_favorite_group_request.py | 185 + .../models/update_invite_message_request.py | 132 + vrchatapi/models/update_user_request.py | 349 ++ vrchatapi/models/update_world_request.py | 476 ++ vrchatapi/models/user.py | 920 ++++ vrchatapi/models/user_exists.py | 134 + vrchatapi/models/user_state.py | 112 + vrchatapi/models/user_status.py | 114 + vrchatapi/models/user_subscription.py | 523 +++ vrchatapi/models/verify2_fa_result.py | 132 + vrchatapi/models/verify_auth_token_result.py | 162 + vrchatapi/models/world.py | 927 ++++ vrchatapi/models/world_metadata.py | 164 + vrchatapi/models/world_publish_status.py | 132 + vrchatapi/rest.py | 18 +- 336 files changed, 43842 insertions(+), 47544 deletions(-) delete mode 100644 docs/AvatarID.md delete mode 100644 docs/FavoriteGroupID.md delete mode 100644 docs/FavoriteID.md delete mode 100644 docs/FileID.md delete mode 100644 docs/InstanceID.md delete mode 100644 docs/InviteMessageID.md delete mode 100644 docs/LicenseGroupID.md delete mode 100644 docs/PermissionID.md delete mode 100644 docs/PlayerModerationID.md delete mode 100644 docs/Tag.md delete mode 100644 docs/TransactionID.md delete mode 100644 docs/UnityPackageID.md delete mode 100644 docs/WorldID.md mode change 100644 => 100755 generate.sh delete mode 100644 patches/bool_query_param.patch delete mode 100644 vrchatapi/api_client.py.orig delete mode 100644 vrchatapi/apis/__init__.py delete mode 100644 vrchatapi/model/__init__.py delete mode 100644 vrchatapi/model/add_favorite_request.py delete mode 100644 vrchatapi/model/api_config.py delete mode 100644 vrchatapi/model/api_event_config.py delete mode 100644 vrchatapi/model/api_health.py delete mode 100644 vrchatapi/model/avatar.py delete mode 100644 vrchatapi/model/avatar_id.py delete mode 100644 vrchatapi/model/avatar_unity_package_url_object.py delete mode 100644 vrchatapi/model/create_avatar_request.py delete mode 100644 vrchatapi/model/create_file_request.py delete mode 100644 vrchatapi/model/create_file_version_request.py delete mode 100644 vrchatapi/model/create_world_request.py delete mode 100644 vrchatapi/model/current_user.py delete mode 100644 vrchatapi/model/deployment_group.py delete mode 100644 vrchatapi/model/developer_type.py delete mode 100644 vrchatapi/model/download_url_list.py delete mode 100644 vrchatapi/model/dynamic_content_row.py delete mode 100644 vrchatapi/model/error.py delete mode 100644 vrchatapi/model/favorite.py delete mode 100644 vrchatapi/model/favorite_group.py delete mode 100644 vrchatapi/model/favorite_group_id.py delete mode 100644 vrchatapi/model/favorite_group_visibility.py delete mode 100644 vrchatapi/model/favorite_id.py delete mode 100644 vrchatapi/model/favorite_type.py delete mode 100644 vrchatapi/model/file.py delete mode 100644 vrchatapi/model/file_data.py delete mode 100644 vrchatapi/model/file_id.py delete mode 100644 vrchatapi/model/file_status.py delete mode 100644 vrchatapi/model/file_upload_url.py delete mode 100644 vrchatapi/model/file_version.py delete mode 100644 vrchatapi/model/file_version_upload_status.py delete mode 100644 vrchatapi/model/finish_file_data_upload_request.py delete mode 100644 vrchatapi/model/friend_status.py delete mode 100644 vrchatapi/model/info_push.py delete mode 100644 vrchatapi/model/info_push_data.py delete mode 100644 vrchatapi/model/info_push_data_article.py delete mode 100644 vrchatapi/model/info_push_data_article_content.py delete mode 100644 vrchatapi/model/info_push_data_clickable.py delete mode 100644 vrchatapi/model/instance.py delete mode 100644 vrchatapi/model/instance_id.py delete mode 100644 vrchatapi/model/instance_platforms.py delete mode 100644 vrchatapi/model/instance_short_name_response.py delete mode 100644 vrchatapi/model/instance_type.py delete mode 100644 vrchatapi/model/invite_message.py delete mode 100644 vrchatapi/model/invite_message_id.py delete mode 100644 vrchatapi/model/invite_message_type.py delete mode 100644 vrchatapi/model/invite_request.py delete mode 100644 vrchatapi/model/invite_response.py delete mode 100644 vrchatapi/model/license.py delete mode 100644 vrchatapi/model/license_action.py delete mode 100644 vrchatapi/model/license_group.py delete mode 100644 vrchatapi/model/license_group_id.py delete mode 100644 vrchatapi/model/license_type.py delete mode 100644 vrchatapi/model/limited_unity_package.py delete mode 100644 vrchatapi/model/limited_user.py delete mode 100644 vrchatapi/model/limited_world.py delete mode 100644 vrchatapi/model/mime_type.py delete mode 100644 vrchatapi/model/moderate_user_request.py delete mode 100644 vrchatapi/model/notification.py delete mode 100644 vrchatapi/model/notification_type.py delete mode 100644 vrchatapi/model/past_display_name.py delete mode 100644 vrchatapi/model/permission.py delete mode 100644 vrchatapi/model/permission_id.py delete mode 100644 vrchatapi/model/player_moderation.py delete mode 100644 vrchatapi/model/player_moderation_id.py delete mode 100644 vrchatapi/model/player_moderation_type.py delete mode 100644 vrchatapi/model/public_announcement.py delete mode 100644 vrchatapi/model/region.py delete mode 100644 vrchatapi/model/release_status.py delete mode 100644 vrchatapi/model/request_invite_request.py delete mode 100644 vrchatapi/model/response.py delete mode 100644 vrchatapi/model/sent_notification.py delete mode 100644 vrchatapi/model/subscription.py delete mode 100644 vrchatapi/model/subscription_period.py delete mode 100644 vrchatapi/model/success.py delete mode 100644 vrchatapi/model/tag.py delete mode 100644 vrchatapi/model/transaction.py delete mode 100644 vrchatapi/model/transaction_agreement.py delete mode 100644 vrchatapi/model/transaction_id.py delete mode 100644 vrchatapi/model/transaction_status.py delete mode 100644 vrchatapi/model/transaction_steam_info.py delete mode 100644 vrchatapi/model/transaction_steam_wallet_info.py delete mode 100644 vrchatapi/model/two_factor_auth_code.py delete mode 100644 vrchatapi/model/unity_package.py delete mode 100644 vrchatapi/model/unity_package_id.py delete mode 100644 vrchatapi/model/update_avatar_request.py delete mode 100644 vrchatapi/model/update_favorite_group_request.py delete mode 100644 vrchatapi/model/update_invite_message_request.py delete mode 100644 vrchatapi/model/update_user_request.py delete mode 100644 vrchatapi/model/update_world_request.py delete mode 100644 vrchatapi/model/user.py delete mode 100644 vrchatapi/model/user_exists.py delete mode 100644 vrchatapi/model/user_state.py delete mode 100644 vrchatapi/model/user_status.py delete mode 100644 vrchatapi/model/user_subscription.py delete mode 100644 vrchatapi/model/verify2_fa_result.py delete mode 100644 vrchatapi/model/verify_auth_token_result.py delete mode 100644 vrchatapi/model/world.py delete mode 100644 vrchatapi/model/world_id.py delete mode 100644 vrchatapi/model/world_metadata.py delete mode 100644 vrchatapi/model/world_publish_status.py delete mode 100644 vrchatapi/model_utils.py create mode 100644 vrchatapi/models/add_favorite_request.py create mode 100644 vrchatapi/models/api_config.py create mode 100644 vrchatapi/models/api_event_config.py create mode 100644 vrchatapi/models/api_health.py create mode 100644 vrchatapi/models/avatar.py create mode 100644 vrchatapi/models/avatar_unity_package_url_object.py create mode 100644 vrchatapi/models/create_avatar_request.py create mode 100644 vrchatapi/models/create_file_request.py create mode 100644 vrchatapi/models/create_file_version_request.py create mode 100644 vrchatapi/models/create_world_request.py create mode 100644 vrchatapi/models/current_user.py create mode 100644 vrchatapi/models/deployment_group.py create mode 100644 vrchatapi/models/developer_type.py create mode 100644 vrchatapi/models/download_url_list.py create mode 100644 vrchatapi/models/dynamic_content_row.py create mode 100644 vrchatapi/models/error.py create mode 100644 vrchatapi/models/favorite.py create mode 100644 vrchatapi/models/favorite_group.py create mode 100644 vrchatapi/models/favorite_group_visibility.py create mode 100644 vrchatapi/models/favorite_type.py create mode 100644 vrchatapi/models/file.py create mode 100644 vrchatapi/models/file_data.py create mode 100644 vrchatapi/models/file_status.py create mode 100644 vrchatapi/models/file_upload_url.py create mode 100644 vrchatapi/models/file_version.py create mode 100644 vrchatapi/models/file_version_upload_status.py create mode 100644 vrchatapi/models/finish_file_data_upload_request.py create mode 100644 vrchatapi/models/friend_status.py create mode 100644 vrchatapi/models/info_push.py create mode 100644 vrchatapi/models/info_push_data.py create mode 100644 vrchatapi/models/info_push_data_article.py create mode 100644 vrchatapi/models/info_push_data_article_content.py create mode 100644 vrchatapi/models/info_push_data_clickable.py create mode 100644 vrchatapi/models/instance.py create mode 100644 vrchatapi/models/instance_platforms.py create mode 100644 vrchatapi/models/instance_short_name_response.py create mode 100644 vrchatapi/models/instance_type.py create mode 100644 vrchatapi/models/invite_message.py create mode 100644 vrchatapi/models/invite_message_type.py create mode 100644 vrchatapi/models/invite_request.py create mode 100644 vrchatapi/models/invite_response.py create mode 100644 vrchatapi/models/license.py create mode 100644 vrchatapi/models/license_action.py create mode 100644 vrchatapi/models/license_group.py create mode 100644 vrchatapi/models/license_type.py create mode 100644 vrchatapi/models/limited_unity_package.py create mode 100644 vrchatapi/models/limited_user.py create mode 100644 vrchatapi/models/limited_world.py create mode 100644 vrchatapi/models/mime_type.py create mode 100644 vrchatapi/models/moderate_user_request.py create mode 100644 vrchatapi/models/notification.py create mode 100644 vrchatapi/models/notification_type.py create mode 100644 vrchatapi/models/past_display_name.py create mode 100644 vrchatapi/models/permission.py create mode 100644 vrchatapi/models/player_moderation.py create mode 100644 vrchatapi/models/player_moderation_type.py create mode 100644 vrchatapi/models/public_announcement.py create mode 100644 vrchatapi/models/region.py create mode 100644 vrchatapi/models/release_status.py create mode 100644 vrchatapi/models/request_invite_request.py create mode 100644 vrchatapi/models/response.py create mode 100644 vrchatapi/models/sent_notification.py create mode 100644 vrchatapi/models/subscription.py create mode 100644 vrchatapi/models/subscription_period.py create mode 100644 vrchatapi/models/success.py create mode 100644 vrchatapi/models/transaction.py create mode 100644 vrchatapi/models/transaction_agreement.py create mode 100644 vrchatapi/models/transaction_status.py create mode 100644 vrchatapi/models/transaction_steam_info.py create mode 100644 vrchatapi/models/transaction_steam_wallet_info.py create mode 100644 vrchatapi/models/two_factor_auth_code.py create mode 100644 vrchatapi/models/unity_package.py create mode 100644 vrchatapi/models/update_avatar_request.py create mode 100644 vrchatapi/models/update_favorite_group_request.py create mode 100644 vrchatapi/models/update_invite_message_request.py create mode 100644 vrchatapi/models/update_user_request.py create mode 100644 vrchatapi/models/update_world_request.py create mode 100644 vrchatapi/models/user.py create mode 100644 vrchatapi/models/user_exists.py create mode 100644 vrchatapi/models/user_state.py create mode 100644 vrchatapi/models/user_status.py create mode 100644 vrchatapi/models/user_subscription.py create mode 100644 vrchatapi/models/verify2_fa_result.py create mode 100644 vrchatapi/models/verify_auth_token_result.py create mode 100644 vrchatapi/models/world.py create mode 100644 vrchatapi/models/world_metadata.py create mode 100644 vrchatapi/models/world_publish_status.py diff --git a/.gitignore b/.gitignore index bbd55cb3..7c6e8997 100644 --- a/.gitignore +++ b/.gitignore @@ -66,4 +66,8 @@ target/ .ipynb_checkpoints # Dependency directory -node_modules \ No newline at end of file +node_modules + +# Patch leftovers +*.orig +*.rej \ No newline at end of file diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2b01cb06..2f18a67a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,22 +3,31 @@ stages: - test -.tests: +.nosetest: stage: test script: - pip install -r requirements.txt - pip install -r test-requirements.txt - pytest --cov=vrchatapi -test-3.6: - extends: .tests +nosetest-2.7: + extends: .nosetest + image: python:2.7-alpine +nosetest-3.3: + extends: .nosetest + image: python:3.3-alpine +nosetest-3.4: + extends: .nosetest + image: python:3.4-alpine +nosetest-3.5: + extends: .nosetest + image: python:3.5-alpine +nosetest-3.6: + extends: .nosetest image: python:3.6-alpine -test-3.7: - extends: .tests +nosetest-3.7: + extends: .nosetest image: python:3.7-alpine -test-3.8: - extends: .tests +nosetest-3.8: + extends: .nosetest image: python:3.8-alpine -test-3.9: - extends: .tests - image: python:3.9-alpine diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index fd62a286..60380c35 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -5,7 +5,6 @@ docs/APIHealth.md docs/AddFavoriteRequest.md docs/AuthenticationApi.md docs/Avatar.md -docs/AvatarID.md docs/AvatarUnityPackageUrlObject.md docs/AvatarsApi.md docs/CreateAvatarRequest.md @@ -21,14 +20,11 @@ docs/EconomyApi.md docs/Error.md docs/Favorite.md docs/FavoriteGroup.md -docs/FavoriteGroupID.md docs/FavoriteGroupVisibility.md -docs/FavoriteID.md docs/FavoriteType.md docs/FavoritesApi.md docs/File.md docs/FileData.md -docs/FileID.md docs/FileStatus.md docs/FileUploadURL.md docs/FileVersion.md @@ -43,21 +39,18 @@ docs/InfoPushDataArticle.md docs/InfoPushDataArticleContent.md docs/InfoPushDataClickable.md docs/Instance.md -docs/InstanceID.md docs/InstancePlatforms.md docs/InstanceShortNameResponse.md docs/InstanceType.md docs/InstancesApi.md docs/InviteApi.md docs/InviteMessage.md -docs/InviteMessageID.md docs/InviteMessageType.md docs/InviteRequest.md docs/InviteResponse.md docs/License.md docs/LicenseAction.md docs/LicenseGroup.md -docs/LicenseGroupID.md docs/LicenseType.md docs/LimitedUnityPackage.md docs/LimitedUser.md @@ -69,10 +62,8 @@ docs/NotificationType.md docs/NotificationsApi.md docs/PastDisplayName.md docs/Permission.md -docs/PermissionID.md docs/PermissionsApi.md docs/PlayerModeration.md -docs/PlayerModerationID.md docs/PlayerModerationType.md docs/PlayermoderationApi.md docs/PublicAnnouncement.md @@ -85,16 +76,13 @@ docs/Subscription.md docs/SubscriptionPeriod.md docs/Success.md docs/SystemApi.md -docs/Tag.md docs/Transaction.md docs/TransactionAgreement.md -docs/TransactionID.md docs/TransactionStatus.md docs/TransactionSteamInfo.md docs/TransactionSteamWalletInfo.md docs/TwoFactorAuthCode.md docs/UnityPackage.md -docs/UnityPackageID.md docs/UpdateAvatarRequest.md docs/UpdateFavoriteGroupRequest.md docs/UpdateInviteMessageRequest.md @@ -109,7 +97,6 @@ docs/UsersApi.md docs/Verify2FAResult.md docs/VerifyAuthTokenResult.md docs/World.md -docs/WorldID.md docs/WorldMetadata.md docs/WorldPublishStatus.md docs/WorldsApi.md @@ -136,110 +123,94 @@ vrchatapi/api/system_api.py vrchatapi/api/users_api.py vrchatapi/api/worlds_api.py vrchatapi/api_client.py -vrchatapi/apis/__init__.py vrchatapi/configuration.py vrchatapi/exceptions.py -vrchatapi/model/__init__.py -vrchatapi/model/add_favorite_request.py -vrchatapi/model/api_config.py -vrchatapi/model/api_event_config.py -vrchatapi/model/api_health.py -vrchatapi/model/avatar.py -vrchatapi/model/avatar_id.py -vrchatapi/model/avatar_unity_package_url_object.py -vrchatapi/model/create_avatar_request.py -vrchatapi/model/create_file_request.py -vrchatapi/model/create_file_version_request.py -vrchatapi/model/create_world_request.py -vrchatapi/model/current_user.py -vrchatapi/model/deployment_group.py -vrchatapi/model/developer_type.py -vrchatapi/model/download_url_list.py -vrchatapi/model/dynamic_content_row.py -vrchatapi/model/error.py -vrchatapi/model/favorite.py -vrchatapi/model/favorite_group.py -vrchatapi/model/favorite_group_id.py -vrchatapi/model/favorite_group_visibility.py -vrchatapi/model/favorite_id.py -vrchatapi/model/favorite_type.py -vrchatapi/model/file.py -vrchatapi/model/file_data.py -vrchatapi/model/file_id.py -vrchatapi/model/file_status.py -vrchatapi/model/file_upload_url.py -vrchatapi/model/file_version.py -vrchatapi/model/file_version_upload_status.py -vrchatapi/model/finish_file_data_upload_request.py -vrchatapi/model/friend_status.py -vrchatapi/model/info_push.py -vrchatapi/model/info_push_data.py -vrchatapi/model/info_push_data_article.py -vrchatapi/model/info_push_data_article_content.py -vrchatapi/model/info_push_data_clickable.py -vrchatapi/model/instance.py -vrchatapi/model/instance_id.py -vrchatapi/model/instance_platforms.py -vrchatapi/model/instance_short_name_response.py -vrchatapi/model/instance_type.py -vrchatapi/model/invite_message.py -vrchatapi/model/invite_message_id.py -vrchatapi/model/invite_message_type.py -vrchatapi/model/invite_request.py -vrchatapi/model/invite_response.py -vrchatapi/model/license.py -vrchatapi/model/license_action.py -vrchatapi/model/license_group.py -vrchatapi/model/license_group_id.py -vrchatapi/model/license_type.py -vrchatapi/model/limited_unity_package.py -vrchatapi/model/limited_user.py -vrchatapi/model/limited_world.py -vrchatapi/model/mime_type.py -vrchatapi/model/moderate_user_request.py -vrchatapi/model/notification.py -vrchatapi/model/notification_type.py -vrchatapi/model/past_display_name.py -vrchatapi/model/permission.py -vrchatapi/model/permission_id.py -vrchatapi/model/player_moderation.py -vrchatapi/model/player_moderation_id.py -vrchatapi/model/player_moderation_type.py -vrchatapi/model/public_announcement.py -vrchatapi/model/region.py -vrchatapi/model/release_status.py -vrchatapi/model/request_invite_request.py -vrchatapi/model/response.py -vrchatapi/model/sent_notification.py -vrchatapi/model/subscription.py -vrchatapi/model/subscription_period.py -vrchatapi/model/success.py -vrchatapi/model/tag.py -vrchatapi/model/transaction.py -vrchatapi/model/transaction_agreement.py -vrchatapi/model/transaction_id.py -vrchatapi/model/transaction_status.py -vrchatapi/model/transaction_steam_info.py -vrchatapi/model/transaction_steam_wallet_info.py -vrchatapi/model/two_factor_auth_code.py -vrchatapi/model/unity_package.py -vrchatapi/model/unity_package_id.py -vrchatapi/model/update_avatar_request.py -vrchatapi/model/update_favorite_group_request.py -vrchatapi/model/update_invite_message_request.py -vrchatapi/model/update_user_request.py -vrchatapi/model/update_world_request.py -vrchatapi/model/user.py -vrchatapi/model/user_exists.py -vrchatapi/model/user_state.py -vrchatapi/model/user_status.py -vrchatapi/model/user_subscription.py -vrchatapi/model/verify2_fa_result.py -vrchatapi/model/verify_auth_token_result.py -vrchatapi/model/world.py -vrchatapi/model/world_id.py -vrchatapi/model/world_metadata.py -vrchatapi/model/world_publish_status.py -vrchatapi/model_utils.py vrchatapi/models/__init__.py +vrchatapi/models/add_favorite_request.py +vrchatapi/models/api_config.py +vrchatapi/models/api_event_config.py +vrchatapi/models/api_health.py +vrchatapi/models/avatar.py +vrchatapi/models/avatar_unity_package_url_object.py +vrchatapi/models/create_avatar_request.py +vrchatapi/models/create_file_request.py +vrchatapi/models/create_file_version_request.py +vrchatapi/models/create_world_request.py +vrchatapi/models/current_user.py +vrchatapi/models/deployment_group.py +vrchatapi/models/developer_type.py +vrchatapi/models/download_url_list.py +vrchatapi/models/dynamic_content_row.py +vrchatapi/models/error.py +vrchatapi/models/favorite.py +vrchatapi/models/favorite_group.py +vrchatapi/models/favorite_group_visibility.py +vrchatapi/models/favorite_type.py +vrchatapi/models/file.py +vrchatapi/models/file_data.py +vrchatapi/models/file_status.py +vrchatapi/models/file_upload_url.py +vrchatapi/models/file_version.py +vrchatapi/models/file_version_upload_status.py +vrchatapi/models/finish_file_data_upload_request.py +vrchatapi/models/friend_status.py +vrchatapi/models/info_push.py +vrchatapi/models/info_push_data.py +vrchatapi/models/info_push_data_article.py +vrchatapi/models/info_push_data_article_content.py +vrchatapi/models/info_push_data_clickable.py +vrchatapi/models/instance.py +vrchatapi/models/instance_platforms.py +vrchatapi/models/instance_short_name_response.py +vrchatapi/models/instance_type.py +vrchatapi/models/invite_message.py +vrchatapi/models/invite_message_type.py +vrchatapi/models/invite_request.py +vrchatapi/models/invite_response.py +vrchatapi/models/license.py +vrchatapi/models/license_action.py +vrchatapi/models/license_group.py +vrchatapi/models/license_type.py +vrchatapi/models/limited_unity_package.py +vrchatapi/models/limited_user.py +vrchatapi/models/limited_world.py +vrchatapi/models/mime_type.py +vrchatapi/models/moderate_user_request.py +vrchatapi/models/notification.py +vrchatapi/models/notification_type.py +vrchatapi/models/past_display_name.py +vrchatapi/models/permission.py +vrchatapi/models/player_moderation.py +vrchatapi/models/player_moderation_type.py +vrchatapi/models/public_announcement.py +vrchatapi/models/region.py +vrchatapi/models/release_status.py +vrchatapi/models/request_invite_request.py +vrchatapi/models/response.py +vrchatapi/models/sent_notification.py +vrchatapi/models/subscription.py +vrchatapi/models/subscription_period.py +vrchatapi/models/success.py +vrchatapi/models/transaction.py +vrchatapi/models/transaction_agreement.py +vrchatapi/models/transaction_status.py +vrchatapi/models/transaction_steam_info.py +vrchatapi/models/transaction_steam_wallet_info.py +vrchatapi/models/two_factor_auth_code.py +vrchatapi/models/unity_package.py +vrchatapi/models/update_avatar_request.py +vrchatapi/models/update_favorite_group_request.py +vrchatapi/models/update_invite_message_request.py +vrchatapi/models/update_user_request.py +vrchatapi/models/update_world_request.py +vrchatapi/models/user.py +vrchatapi/models/user_exists.py +vrchatapi/models/user_state.py +vrchatapi/models/user_status.py +vrchatapi/models/user_subscription.py +vrchatapi/models/verify2_fa_result.py +vrchatapi/models/verify_auth_token_result.py +vrchatapi/models/world.py +vrchatapi/models/world_metadata.py +vrchatapi/models/world_publish_status.py vrchatapi/rest.py diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION index e230c839..0df17dd0 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -5.3.0 \ No newline at end of file +6.2.1 \ No newline at end of file diff --git a/docs/APIConfig.md b/docs/APIConfig.md index e1d28fed..c6db83f8 100644 --- a/docs/APIConfig.md +++ b/docs/APIConfig.md @@ -1,18 +1,26 @@ # APIConfig + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**voice_enable_degradation** | **bool** | Unknown, probably voice optimization testing | [default to False] +**voice_enable_receiver_limiting** | **bool** | Unknown, probably voice optimization testing | [default to True] **address** | **str** | VRChat's office address | -**announcements** | [**[PublicAnnouncement]**](PublicAnnouncement.md) | Public Announcements | +**announcements** | [**list[PublicAnnouncement]**](PublicAnnouncement.md) | Public Announcements | **api_key** | **str** | apiKey to be used for all other requests | +**app_name** | **str** | Game name | [default to 'VrChat'] **build_version_tag** | **str** | Build tag of the API server | **client_api_key** | **str** | apiKey to be used for all other requests | +**client_bps_ceiling** | **int** | Unknown | [default to 18432] +**client_disconnect_timeout** | **int** | Unknown | [default to 30000] +**client_reserved_player_bps** | **int** | Unknown | [default to 7168] +**client_sent_count_allowance** | **int** | Unknown | [default to 15] **contact_email** | **str** | VRChat's contact email | **copyright_email** | **str** | VRChat's copyright-issues-related email | **current_tos_version** | **int** | Current version number of the Terms of Service | -**default_avatar** | [**AvatarID**](AvatarID.md) | | +**default_avatar** | **str** | | **deployment_group** | [**DeploymentGroup**](DeploymentGroup.md) | | **dev_app_version_standalone** | **str** | Version number for game development build | **dev_download_link_windows** | **str** | Developer Download link | @@ -20,13 +28,29 @@ Name | Type | Description | Notes **dev_sdk_version** | **str** | Version of the development SDK | **dev_server_version_standalone** | **str** | Version number for server development build | **dis_countdown** | **datetime** | Unknown, \"dis\" maybe for disconnect? | +**disable_avatar_copying** | **bool** | Toggles if copying avatars should be disabled | [default to False] +**disable_avatar_gating** | **bool** | Toggles if avatar gating should be disabled. Avatar gating restricts uploading of avatars to people with the `system_avatar_access` Tag or `admin_avatar_access` Tag | [default to False] +**disable_community_labs** | **bool** | Toggles if the Community Labs should be disabled | [default to False] +**disable_community_labs_promotion** | **bool** | Toggles if promotion out of Community Labs should be disabled | [default to False] +**disable_email** | **bool** | Unknown | [default to False] +**disable_event_stream** | **bool** | Toggles if Analytics should be disabled. | [default to False] +**disable_feedback_gating** | **bool** | Toggles if feedback gating should be disabled. Feedback gating restricts submission of feedback (reporting a World or User) to people with the `system_feedback_access` Tag. | [default to False] +**disable_frontend_builds** | **bool** | Unknown, probably toggles compilation of frontend web builds? So internal flag? | [default to False] +**disable_hello** | **bool** | Unknown | [default to False] +**disable_oculus_subs** | **bool** | Toggles if signing up for Subscriptions in Oculus is disabled or not. | [default to False] +**disable_registration** | **bool** | Toggles if new user account registration should be disabled. | [default to False] +**disable_steam_networking** | **bool** | Toggles if Steam Networking should be disabled. VRChat these days uses Photon Unity Networking (PUN) instead. | [default to True] +**disable_two_factor_auth** | **bool** | Toggles if 2FA should be disabled. | [default to False] +**disable_udon** | **bool** | Toggles if Udon should be universally disabled in-game. | [default to False] +**disable_upgrade_account** | **bool** | Toggles if account upgrading \"linking with Steam/Oculus\" should be disabled. | [default to False] **download_link_windows** | **str** | Download link for game on the Oculus Rift website. | **download_urls** | [**DownloadURLList**](DownloadURLList.md) | | -**dynamic_world_rows** | [**[DynamicContentRow]**](DynamicContentRow.md) | Array of DynamicWorldRow objects, used by the game to display the list of world rows | +**dynamic_world_rows** | [**list[DynamicContentRow]**](DynamicContentRow.md) | Array of DynamicWorldRow objects, used by the game to display the list of world rows | **events** | [**APIEventConfig**](APIEventConfig.md) | | **gear_demo_room_id** | **str** | Unknown | -**home_world_id** | [**WorldID**](WorldID.md) | | -**hub_world_id** | [**WorldID**](WorldID.md) | | +**home_world_id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | +**homepage_redirect_target** | **str** | Redirect target if you try to open the base API domain in your browser | [default to 'https://hello.vrchat.com'] +**hub_world_id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | **jobs_email** | **str** | VRChat's job application email | **message_of_the_day** | **str** | MOTD | **moderation_email** | **str** | VRChat's moderation related email | @@ -43,48 +67,24 @@ Name | Type | Description | Notes **sdk_unity_version** | **str** | Unity version supported by the SDK | **server_name** | **str** | Server name of the API server currently responding | **support_email** | **str** | VRChat's support email | -**time_out_world_id** | [**WorldID**](WorldID.md) | | -**tutorial_world_id** | [**WorldID**](WorldID.md) | | +**time_out_world_id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | +**tutorial_world_id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | **update_rate_ms_maximum** | **int** | Unknown | **update_rate_ms_minimum** | **int** | Unknown | **update_rate_ms_normal** | **int** | Unknown | **update_rate_ms_udon_manual** | **int** | Unknown | **upload_analysis_percent** | **int** | Unknown | -**url_list** | **[str]** | List of allowed URLs that bypass the \"Allow untrusted URL's\" setting in-game | +**url_list** | **list[str]** | List of allowed URLs that bypass the \"Allow untrusted URL's\" setting in-game | +**use_reliable_udp_for_voice** | **bool** | Unknown | [default to False] **user_update_period** | **int** | Unknown | **user_verification_delay** | **int** | Unknown | **user_verification_retry** | **int** | Unknown | **user_verification_timeout** | **int** | Unknown | **vive_windows_url** | **str** | Download link for game on the Steam website. | -**white_listed_asset_urls** | **[str]** | List of allowed URLs that are allowed to host avatar assets | +**white_listed_asset_urls** | **list[str]** | List of allowed URLs that are allowed to host avatar assets | **world_update_period** | **int** | Unknown | **player_url_resolver_hash** | **str** | Currently used youtube-dl.exe hash in SHA-256-delimited format | **player_url_resolver_version** | **str** | Currently used youtube-dl.exe version | -**voice_enable_degradation** | **bool** | Unknown, probably voice optimization testing | defaults to False -**voice_enable_receiver_limiting** | **bool** | Unknown, probably voice optimization testing | defaults to True -**app_name** | **str** | Game name | defaults to "VrChat" -**client_bps_ceiling** | **int** | Unknown | defaults to 18432 -**client_disconnect_timeout** | **int** | Unknown | defaults to 30000 -**client_reserved_player_bps** | **int** | Unknown | defaults to 7168 -**client_sent_count_allowance** | **int** | Unknown | defaults to 15 -**disable_avatar_copying** | **bool** | Toggles if copying avatars should be disabled | defaults to False -**disable_avatar_gating** | **bool** | Toggles if avatar gating should be disabled. Avatar gating restricts uploading of avatars to people with the `system_avatar_access` Tag or `admin_avatar_access` Tag | defaults to False -**disable_community_labs** | **bool** | Toggles if the Community Labs should be disabled | defaults to False -**disable_community_labs_promotion** | **bool** | Toggles if promotion out of Community Labs should be disabled | defaults to False -**disable_email** | **bool** | Unknown | defaults to False -**disable_event_stream** | **bool** | Toggles if Analytics should be disabled. | defaults to False -**disable_feedback_gating** | **bool** | Toggles if feedback gating should be disabled. Feedback gating restricts submission of feedback (reporting a World or User) to people with the `system_feedback_access` Tag. | defaults to False -**disable_frontend_builds** | **bool** | Unknown, probably toggles compilation of frontend web builds? So internal flag? | defaults to False -**disable_hello** | **bool** | Unknown | defaults to False -**disable_oculus_subs** | **bool** | Toggles if signing up for Subscriptions in Oculus is disabled or not. | defaults to False -**disable_registration** | **bool** | Toggles if new user account registration should be disabled. | defaults to False -**disable_steam_networking** | **bool** | Toggles if Steam Networking should be disabled. VRChat these days uses Photon Unity Networking (PUN) instead. | defaults to True -**disable_two_factor_auth** | **bool** | Toggles if 2FA should be disabled. | defaults to False -**disable_udon** | **bool** | Toggles if Udon should be universally disabled in-game. | defaults to False -**disable_upgrade_account** | **bool** | Toggles if account upgrading \"linking with Steam/Oculus\" should be disabled. | defaults to False -**homepage_redirect_target** | **str** | Redirect target if you try to open the base API domain in your browser | defaults to "https://hello.vrchat.com" -**use_reliable_udp_for_voice** | **bool** | Unknown | defaults to False -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/APIEventConfig.md b/docs/APIEventConfig.md index 1b186f1d..e771784d 100644 --- a/docs/APIEventConfig.md +++ b/docs/APIEventConfig.md @@ -14,7 +14,6 @@ Name | Type | Description | Notes **player_order_factor** | **int** | Unknown | **slow_update_factor_threshold** | **int** | Unknown | **view_segment_length** | **int** | Unknown | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/APIHealth.md b/docs/APIHealth.md index e58c7b0b..8b9db7ae 100644 --- a/docs/APIHealth.md +++ b/docs/APIHealth.md @@ -7,7 +7,6 @@ Name | Type | Description | Notes **ok** | **bool** | | **server_name** | **str** | | **build_version_tag** | **str** | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/AddFavoriteRequest.md b/docs/AddFavoriteRequest.md index 59abc147..08a293f0 100644 --- a/docs/AddFavoriteRequest.md +++ b/docs/AddFavoriteRequest.md @@ -6,8 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | [**FavoriteType**](FavoriteType.md) | | **favorite_id** | **str** | Must be either AvatarID, WorldID or UserID. | -**tags** | [**[Tag]**](Tag.md) | Tags indicate which group this favorite belongs to. Adding multiple groups makes it show up in all. Removing it from one in that case removes it from all. | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] +**tags** | **list[str]** | Tags indicate which group this favorite belongs to. Adding multiple groups makes it show up in all. Removing it from one in that case removes it from all. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/AuthenticationApi.md b/docs/AuthenticationApi.md index c9c6952d..48b5e9de 100644 --- a/docs/AuthenticationApi.md +++ b/docs/AuthenticationApi.md @@ -14,7 +14,7 @@ Method | HTTP request | Description # **check_user_exists** -> UserExists check_user_exists() +> UserExists check_user_exists(email=email, display_name=display_name, user_id=user_id, exclude_user_id=exclude_user_id) Check User Exists @@ -23,13 +23,11 @@ Checks if a user by a given `username`, `displayName` or `email` exist. This is ### Example * Api Key Authentication (apiKeyCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import authentication_api -from vrchatapi.model.error import Error -from vrchatapi.model.user_exists import UserExists +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -51,31 +49,28 @@ configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = authentication_api.AuthenticationApi(api_client) - email = "email_example" # str | Filter by email. (optional) - display_name = "displayName_example" # str | Filter by displayName. (optional) - user_id = "userId_example" # str | Filter by UserID. (optional) - exclude_user_id = "excludeUserId_example" # str | Exclude by UserID. (optional) - - # example passing only required values which don't have defaults set - # and optional values + api_instance = vrchatapi.AuthenticationApi(api_client) + email = 'email_example' # str | Filter by email. (optional) +display_name = 'display_name_example' # str | Filter by displayName. (optional) +user_id = 'user_id_example' # str | Filter by UserID. (optional) +exclude_user_id = 'exclude_user_id_example' # str | Exclude by UserID. (optional) + try: # Check User Exists api_response = api_instance.check_user_exists(email=email, display_name=display_name, user_id=user_id, exclude_user_id=exclude_user_id) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling AuthenticationApi->check_user_exists: %s\n" % e) ``` - ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **email** | **str**| Filter by email. | [optional] - **display_name** | **str**| Filter by displayName. | [optional] - **user_id** | **str**| Filter by UserID. | [optional] - **exclude_user_id** | **str**| Exclude by UserID. | [optional] + **email** | **str**| Filter by email. | [optional] + **display_name** | **str**| Filter by displayName. | [optional] + **user_id** | **str**| Filter by UserID. | [optional] + **exclude_user_id** | **str**| Exclude by UserID. | [optional] ### Return type @@ -90,9 +85,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a response if a user exists or not. | - | @@ -110,14 +103,11 @@ Deletes the account with given ID. Normal users only have permission to delete t ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import authentication_api -from vrchatapi.model.current_user import CurrentUser -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -145,24 +135,66 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = authentication_api.AuthenticationApi(api_client) - user_id = "userId_example" # str | + api_instance = vrchatapi.AuthenticationApi(api_client) + user_id = 'user_id_example' # str | - # example passing only required values which don't have defaults set try: # Delete User api_response = api_instance.delete_user(user_id) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling AuthenticationApi->delete_user: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.AuthenticationApi(api_client) + user_id = 'user_id_example' # str | + + try: + # Delete User + api_response = api_instance.delete_user(user_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling AuthenticationApi->delete_user: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | + **user_id** | **str**| | ### Return type @@ -177,9 +209,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | @@ -197,15 +227,11 @@ This endpoint does the following two operations: 1) Checks if you are already ### Example * Api Key Authentication (authCookie): -* Basic Authentication (authHeader): -* Api Key Authentication (twoFactorAuthCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import authentication_api -from vrchatapi.model.current_user import CurrentUser -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -239,17 +265,113 @@ configuration.api_key['twoFactorAuthCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = authentication_api.AuthenticationApi(api_client) + api_instance = vrchatapi.AuthenticationApi(api_client) + + try: + # Login and/or Get Current User Info + api_response = api_instance.get_current_user() + pprint(api_response) + except ApiException as e: + print("Exception when calling AuthenticationApi->get_current_user: %s\n" % e) +``` + +* Basic Authentication (authHeader): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' - # example, this endpoint has no required or optional parameters +# Configure HTTP basic authorization: authHeader +configuration = vrchatapi.Configuration( + username = 'YOUR_USERNAME', + password = 'YOUR_PASSWORD' +) + +# Configure API key authorization: twoFactorAuthCookie +configuration.api_key['twoFactorAuthCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['twoFactorAuthCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.AuthenticationApi(api_client) + try: # Login and/or Get Current User Info api_response = api_instance.get_current_user() pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling AuthenticationApi->get_current_user: %s\n" % e) ``` +* Api Key Authentication (twoFactorAuthCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Configure HTTP basic authorization: authHeader +configuration = vrchatapi.Configuration( + username = 'YOUR_USERNAME', + password = 'YOUR_PASSWORD' +) + +# Configure API key authorization: twoFactorAuthCookie +configuration.api_key['twoFactorAuthCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['twoFactorAuthCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.AuthenticationApi(api_client) + + try: + # Login and/or Get Current User Info + api_response = api_instance.get_current_user() + pprint(api_response) + except ApiException as e: + print("Exception when calling AuthenticationApi->get_current_user: %s\n" % e) +``` ### Parameters This endpoint does not need any parameter. @@ -267,9 +389,7 @@ This endpoint does not need any parameter. - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | * Set-Cookie - Successful authentication returns an `auth` cookie.
* \0Set-Cookie - This endpoint **always** sets the `apiKey` irrespective if it is already set.
| @@ -287,13 +407,11 @@ Invalidates the login session. ### Example * Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import authentication_api -from vrchatapi.model.success import Success -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -315,18 +433,16 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = authentication_api.AuthenticationApi(api_client) - - # example, this endpoint has no required or optional parameters + api_instance = vrchatapi.AuthenticationApi(api_client) + try: # Logout api_response = api_instance.logout() pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling AuthenticationApi->logout: %s\n" % e) ``` - ### Parameters This endpoint does not need any parameter. @@ -343,9 +459,7 @@ This endpoint does not need any parameter. - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | * Set-Cookie - Clears the `auth` cookie.
* \0Set-Cookie - Clears the `age` cookie.
* \0\0Set-Cookie - Clears the `tos` cookie.
| @@ -354,7 +468,7 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **verify2_fa** -> Verify2FAResult verify2_fa() +> Verify2FAResult verify2_fa(two_factor_auth_code=two_factor_auth_code) Verify 2FA code @@ -363,14 +477,11 @@ Finishes the login sequence with a normal 2FA-generated code for accounts with 2 ### Example * Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import authentication_api -from vrchatapi.model.two_factor_auth_code import TwoFactorAuthCode -from vrchatapi.model.verify2_fa_result import Verify2FAResult -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -392,27 +503,22 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = authentication_api.AuthenticationApi(api_client) - two_factor_auth_code = TwoFactorAuthCode( - code="code_example", - ) # TwoFactorAuthCode | (optional) + api_instance = vrchatapi.AuthenticationApi(api_client) + two_factor_auth_code = vrchatapi.TwoFactorAuthCode() # TwoFactorAuthCode | (optional) - # example passing only required values which don't have defaults set - # and optional values try: # Verify 2FA code api_response = api_instance.verify2_fa(two_factor_auth_code=two_factor_auth_code) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling AuthenticationApi->verify2_fa: %s\n" % e) ``` - ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **two_factor_auth_code** | [**TwoFactorAuthCode**](TwoFactorAuthCode.md)| | [optional] + **two_factor_auth_code** | [**TwoFactorAuthCode**](TwoFactorAuthCode.md)| | [optional] ### Return type @@ -427,9 +533,7 @@ Name | Type | Description | Notes - **Content-Type**: application/json - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | * Set-Cookie - Provides a `twoFactorAuth` cookie, which can be used to bypasses the 2FA requirement for future logins on the same device.
| @@ -447,13 +551,11 @@ Verify whether the currently provided Auth Token is valid. ### Example * Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import authentication_api -from vrchatapi.model.verify_auth_token_result import VerifyAuthTokenResult -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -475,18 +577,16 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = authentication_api.AuthenticationApi(api_client) - - # example, this endpoint has no required or optional parameters + api_instance = vrchatapi.AuthenticationApi(api_client) + try: # Verify Auth Token api_response = api_instance.verify_auth_token() pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling AuthenticationApi->verify_auth_token: %s\n" % e) ``` - ### Parameters This endpoint does not need any parameter. @@ -503,9 +603,7 @@ This endpoint does not need any parameter. - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns wether a provided auth token is valid or not. | - | @@ -514,7 +612,7 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **verify_recovery_code** -> Verify2FAResult verify_recovery_code() +> Verify2FAResult verify_recovery_code(two_factor_auth_code=two_factor_auth_code) Verify 2FA code with Recovery code @@ -523,14 +621,11 @@ Finishes the login sequence with an OTP (One Time Password) recovery code for ac ### Example * Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import authentication_api -from vrchatapi.model.two_factor_auth_code import TwoFactorAuthCode -from vrchatapi.model.verify2_fa_result import Verify2FAResult -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -552,27 +647,22 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = authentication_api.AuthenticationApi(api_client) - two_factor_auth_code = TwoFactorAuthCode( - code="code_example", - ) # TwoFactorAuthCode | (optional) + api_instance = vrchatapi.AuthenticationApi(api_client) + two_factor_auth_code = vrchatapi.TwoFactorAuthCode() # TwoFactorAuthCode | (optional) - # example passing only required values which don't have defaults set - # and optional values try: # Verify 2FA code with Recovery code api_response = api_instance.verify_recovery_code(two_factor_auth_code=two_factor_auth_code) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling AuthenticationApi->verify_recovery_code: %s\n" % e) ``` - ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **two_factor_auth_code** | [**TwoFactorAuthCode**](TwoFactorAuthCode.md)| | [optional] + **two_factor_auth_code** | [**TwoFactorAuthCode**](TwoFactorAuthCode.md)| | [optional] ### Return type @@ -587,9 +677,7 @@ Name | Type | Description | Notes - **Content-Type**: application/json - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | * Set-Cookie - Provides a `twoFactorAuth` cookie, which can be used to bypasses the 2FA requirement for future logins on the same device.
| diff --git a/docs/Avatar.md b/docs/Avatar.md index 74fd1ffa..0afd8341 100644 --- a/docs/Avatar.md +++ b/docs/Avatar.md @@ -1,28 +1,28 @@ # Avatar + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**asset_url** | **str** | Not present from general serach `/avatars`, only on specific requests `/avatars/{avatarId}`. | [optional] +**asset_url_object** | **object** | Not present from general serach `/avatars`, only on specific requests `/avatars/{avatarId}`. **Deprecation:** `Object` has unknown usage/fields, and is always empty. Use normal `Url` field instead. | [optional] **author_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | **author_name** | **str** | | **created_at** | **datetime** | | **description** | **str** | | -**id** | [**AvatarID**](AvatarID.md) | | +**featured** | **bool** | | [default to False] +**id** | **str** | | **image_url** | **str** | | **name** | **str** | | **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | -**tags** | [**[Tag]**](Tag.md) | | +**tags** | **list[str]** | | **thumbnail_image_url** | **str** | | **unity_package_url** | **str** | | **unity_package_url_object** | [**AvatarUnityPackageUrlObject**](AvatarUnityPackageUrlObject.md) | | -**unity_packages** | [**[UnityPackage]**](UnityPackage.md) | | +**unity_packages** | [**list[UnityPackage]**](UnityPackage.md) | | **updated_at** | **datetime** | | -**featured** | **bool** | | defaults to False -**version** | **int** | | defaults to 0 -**asset_url** | **str** | Not present from general serach `/avatars`, only on specific requests `/avatars/{avatarId}`. | [optional] -**asset_url_object** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | Not present from general serach `/avatars`, only on specific requests `/avatars/{avatarId}`. **Deprecation:** `Object` has unknown usage/fields, and is always empty. Use normal `Url` field instead. | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] +**version** | **int** | | [default to 0] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/AvatarID.md b/docs/AvatarID.md deleted file mode 100644 index cca03eac..00000000 --- a/docs/AvatarID.md +++ /dev/null @@ -1,11 +0,0 @@ -# AvatarID - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | **str** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/AvatarUnityPackageUrlObject.md b/docs/AvatarUnityPackageUrlObject.md index e2006635..979d609e 100644 --- a/docs/AvatarUnityPackageUrlObject.md +++ b/docs/AvatarUnityPackageUrlObject.md @@ -6,7 +6,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **unity_package_url** | **str** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/AvatarsApi.md b/docs/AvatarsApi.md index 9ac4e0aa..ec981502 100644 --- a/docs/AvatarsApi.md +++ b/docs/AvatarsApi.md @@ -16,7 +16,7 @@ Method | HTTP request | Description # **create_avatar** -> Avatar create_avatar() +> Avatar create_avatar(create_avatar_request=create_avatar_request) Create Avatar @@ -25,15 +25,11 @@ Create an avatar. It's possible to optionally specify a ID if you want a custom ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import avatars_api -from vrchatapi.model.create_avatar_request import CreateAvatarRequest -from vrchatapi.model.avatar import Avatar -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -61,37 +57,66 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = avatars_api.AvatarsApi(api_client) - create_avatar_request = CreateAvatarRequest( - asset_url="asset_url_example", - id=AvatarID("avtr_912d66a4-4714-43b8-8407-7de2cafbf55b"), - name="name_example", - description="description_example", - tags=[ - Tag("tags_example"), - ], - image_url="image_url_example", - release_status=ReleaseStatus("public"), - version=1, - unity_package_url="unity_package_url_example", - ) # CreateAvatarRequest | (optional) - - # example passing only required values which don't have defaults set - # and optional values + api_instance = vrchatapi.AvatarsApi(api_client) + create_avatar_request = vrchatapi.CreateAvatarRequest() # CreateAvatarRequest | (optional) + try: # Create Avatar api_response = api_instance.create_avatar(create_avatar_request=create_avatar_request) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling AvatarsApi->create_avatar: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.AvatarsApi(api_client) + create_avatar_request = vrchatapi.CreateAvatarRequest() # CreateAvatarRequest | (optional) + + try: + # Create Avatar + api_response = api_instance.create_avatar(create_avatar_request=create_avatar_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling AvatarsApi->create_avatar: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **create_avatar_request** | [**CreateAvatarRequest**](CreateAvatarRequest.md)| | [optional] + **create_avatar_request** | [**CreateAvatarRequest**](CreateAvatarRequest.md)| | [optional] ### Return type @@ -106,9 +131,7 @@ Name | Type | Description | Notes - **Content-Type**: application/json - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single Avatar object. | - | @@ -126,14 +149,11 @@ Delete an avatar. Notice an avatar is never fully \"deleted\", only its ReleaseS ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import avatars_api -from vrchatapi.model.avatar import Avatar -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -161,24 +181,66 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = avatars_api.AvatarsApi(api_client) - avatar_id = "avatarId_example" # str | + api_instance = vrchatapi.AvatarsApi(api_client) + avatar_id = 'avatar_id_example' # str | - # example passing only required values which don't have defaults set try: # Delete Avatar api_response = api_instance.delete_avatar(avatar_id) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling AvatarsApi->delete_avatar: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.AvatarsApi(api_client) + avatar_id = 'avatar_id_example' # str | + + try: + # Delete Avatar + api_response = api_instance.delete_avatar(avatar_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling AvatarsApi->delete_avatar: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **avatar_id** | **str**| | + **avatar_id** | **str**| | ### Return type @@ -193,9 +255,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single Avatar object. | - | @@ -214,14 +274,11 @@ Get information about a specific Avatar. ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import avatars_api -from vrchatapi.model.avatar import Avatar -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -249,24 +306,66 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = avatars_api.AvatarsApi(api_client) - avatar_id = "avatarId_example" # str | + api_instance = vrchatapi.AvatarsApi(api_client) + avatar_id = 'avatar_id_example' # str | - # example passing only required values which don't have defaults set try: # Get Avatar api_response = api_instance.get_avatar(avatar_id) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling AvatarsApi->get_avatar: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.AvatarsApi(api_client) + avatar_id = 'avatar_id_example' # str | + + try: + # Get Avatar + api_response = api_instance.get_avatar(avatar_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling AvatarsApi->get_avatar: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **avatar_id** | **str**| | + **avatar_id** | **str**| | ### Return type @@ -281,9 +380,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single Avatar object. | - | @@ -293,7 +390,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_favorited_avatars** -> [Avatar] get_favorited_avatars() +> list[Avatar] get_favorited_avatars(featured=featured, sort=sort, n=n, order=order, offset=offset, search=search, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform, user_id=user_id) List Favorited Avatars @@ -302,14 +399,11 @@ Search and list favorited avatars by query filters. ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import avatars_api -from vrchatapi.model.avatar import Avatar -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -337,53 +431,106 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = avatars_api.AvatarsApi(api_client) + api_instance = vrchatapi.AvatarsApi(api_client) featured = True # bool | Filters on featured results. (optional) - sort = "popularity" # str | (optional) if omitted the server will use the default value of "popularity" - n = 60 # int | The number of objects to return. (optional) if omitted the server will use the default value of 60 - order = "descending" # str | (optional) if omitted the server will use the default value of "descending" - offset = 0 # int | A zero-based offset from the default object sorting from where search results start. (optional) - search = "search_example" # str | Filters by world name. (optional) - tag = "tag_example" # str | Tags to include (comma-separated). Any of the tags needs to be present. (optional) - notag = "notag_example" # str | Tags to exclude (comma-separated). (optional) - release_status = "public" # str | Filter by ReleaseStatus. (optional) if omitted the server will use the default value of "public" - max_unity_version = "maxUnityVersion_example" # str | The maximum Unity version supported by the asset. (optional) - min_unity_version = "minUnityVersion_example" # str | The minimum Unity version supported by the asset. (optional) - platform = "platform_example" # str | The platform the asset supports. (optional) - user_id = "userId_example" # str | Target user to see information on, admin-only. (optional) - - # example passing only required values which don't have defaults set - # and optional values +sort = 'popularity' # str | (optional) (default to 'popularity') +n = 60 # int | The number of objects to return. (optional) (default to 60) +order = 'descending' # str | (optional) (default to 'descending') +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) +search = 'search_example' # str | Filters by world name. (optional) +tag = 'tag_example' # str | Tags to include (comma-separated). Any of the tags needs to be present. (optional) +notag = 'notag_example' # str | Tags to exclude (comma-separated). (optional) +release_status = 'public' # str | Filter by ReleaseStatus. (optional) (default to 'public') +max_unity_version = 'max_unity_version_example' # str | The maximum Unity version supported by the asset. (optional) +min_unity_version = 'min_unity_version_example' # str | The minimum Unity version supported by the asset. (optional) +platform = 'platform_example' # str | The platform the asset supports. (optional) +user_id = 'user_id_example' # str | Target user to see information on, admin-only. (optional) + try: # List Favorited Avatars api_response = api_instance.get_favorited_avatars(featured=featured, sort=sort, n=n, order=order, offset=offset, search=search, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform, user_id=user_id) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling AvatarsApi->get_favorited_avatars: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.AvatarsApi(api_client) + featured = True # bool | Filters on featured results. (optional) +sort = 'popularity' # str | (optional) (default to 'popularity') +n = 60 # int | The number of objects to return. (optional) (default to 60) +order = 'descending' # str | (optional) (default to 'descending') +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) +search = 'search_example' # str | Filters by world name. (optional) +tag = 'tag_example' # str | Tags to include (comma-separated). Any of the tags needs to be present. (optional) +notag = 'notag_example' # str | Tags to exclude (comma-separated). (optional) +release_status = 'public' # str | Filter by ReleaseStatus. (optional) (default to 'public') +max_unity_version = 'max_unity_version_example' # str | The maximum Unity version supported by the asset. (optional) +min_unity_version = 'min_unity_version_example' # str | The minimum Unity version supported by the asset. (optional) +platform = 'platform_example' # str | The platform the asset supports. (optional) +user_id = 'user_id_example' # str | Target user to see information on, admin-only. (optional) + + try: + # List Favorited Avatars + api_response = api_instance.get_favorited_avatars(featured=featured, sort=sort, n=n, order=order, offset=offset, search=search, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform, user_id=user_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling AvatarsApi->get_favorited_avatars: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **featured** | **bool**| Filters on featured results. | [optional] - **sort** | **str**| | [optional] if omitted the server will use the default value of "popularity" - **n** | **int**| The number of objects to return. | [optional] if omitted the server will use the default value of 60 - **order** | **str**| | [optional] if omitted the server will use the default value of "descending" - **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] - **search** | **str**| Filters by world name. | [optional] - **tag** | **str**| Tags to include (comma-separated). Any of the tags needs to be present. | [optional] - **notag** | **str**| Tags to exclude (comma-separated). | [optional] - **release_status** | **str**| Filter by ReleaseStatus. | [optional] if omitted the server will use the default value of "public" - **max_unity_version** | **str**| The maximum Unity version supported by the asset. | [optional] - **min_unity_version** | **str**| The minimum Unity version supported by the asset. | [optional] - **platform** | **str**| The platform the asset supports. | [optional] - **user_id** | **str**| Target user to see information on, admin-only. | [optional] + **featured** | **bool**| Filters on featured results. | [optional] + **sort** | **str**| | [optional] [default to 'popularity'] + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **order** | **str**| | [optional] [default to 'descending'] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + **search** | **str**| Filters by world name. | [optional] + **tag** | **str**| Tags to include (comma-separated). Any of the tags needs to be present. | [optional] + **notag** | **str**| Tags to exclude (comma-separated). | [optional] + **release_status** | **str**| Filter by ReleaseStatus. | [optional] [default to 'public'] + **max_unity_version** | **str**| The maximum Unity version supported by the asset. | [optional] + **min_unity_version** | **str**| The minimum Unity version supported by the asset. | [optional] + **platform** | **str**| The platform the asset supports. | [optional] + **user_id** | **str**| Target user to see information on, admin-only. | [optional] ### Return type -[**[Avatar]**](Avatar.md) +[**list[Avatar]**](Avatar.md) ### Authorization @@ -394,9 +541,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of Avatar objects. | - | @@ -415,14 +560,11 @@ Get the current avatar for the user. This will return an error for any other use ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import avatars_api -from vrchatapi.model.avatar import Avatar -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -450,24 +592,66 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = avatars_api.AvatarsApi(api_client) - user_id = "userId_example" # str | + api_instance = vrchatapi.AvatarsApi(api_client) + user_id = 'user_id_example' # str | - # example passing only required values which don't have defaults set try: # Get Own Avatar api_response = api_instance.get_own_avatar(user_id) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling AvatarsApi->get_own_avatar: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.AvatarsApi(api_client) + user_id = 'user_id_example' # str | + + try: + # Get Own Avatar + api_response = api_instance.get_own_avatar(user_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling AvatarsApi->get_own_avatar: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | + **user_id** | **str**| | ### Return type @@ -482,9 +666,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single Avatar object. | - | @@ -494,7 +676,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **search_avatars** -> [Avatar] search_avatars() +> list[Avatar] search_avatars(featured=featured, sort=sort, user=user, user_id=user_id, n=n, order=order, offset=offset, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform) Search Avatars @@ -503,14 +685,11 @@ Search and list avatars by query filters. You can only search your own or featur ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import avatars_api -from vrchatapi.model.avatar import Avatar -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -538,53 +717,106 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = avatars_api.AvatarsApi(api_client) + api_instance = vrchatapi.AvatarsApi(api_client) featured = True # bool | Filters on featured results. (optional) - sort = "popularity" # str | (optional) if omitted the server will use the default value of "popularity" - user = "me" # str | Set to `me` for searching own avatars. (optional) if omitted the server will use the default value of "me" - user_id = "userId_example" # str | Filter by UserID. (optional) - n = 60 # int | The number of objects to return. (optional) if omitted the server will use the default value of 60 - order = "descending" # str | (optional) if omitted the server will use the default value of "descending" - offset = 0 # int | A zero-based offset from the default object sorting from where search results start. (optional) - tag = "tag_example" # str | Tags to include (comma-separated). Any of the tags needs to be present. (optional) - notag = "notag_example" # str | Tags to exclude (comma-separated). (optional) - release_status = "public" # str | Filter by ReleaseStatus. (optional) if omitted the server will use the default value of "public" - max_unity_version = "maxUnityVersion_example" # str | The maximum Unity version supported by the asset. (optional) - min_unity_version = "minUnityVersion_example" # str | The minimum Unity version supported by the asset. (optional) - platform = "platform_example" # str | The platform the asset supports. (optional) - - # example passing only required values which don't have defaults set - # and optional values +sort = 'popularity' # str | (optional) (default to 'popularity') +user = 'user_example' # str | Set to `me` for searching own avatars. (optional) +user_id = 'user_id_example' # str | Filter by UserID. (optional) +n = 60 # int | The number of objects to return. (optional) (default to 60) +order = 'descending' # str | (optional) (default to 'descending') +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) +tag = 'tag_example' # str | Tags to include (comma-separated). Any of the tags needs to be present. (optional) +notag = 'notag_example' # str | Tags to exclude (comma-separated). (optional) +release_status = 'public' # str | Filter by ReleaseStatus. (optional) (default to 'public') +max_unity_version = 'max_unity_version_example' # str | The maximum Unity version supported by the asset. (optional) +min_unity_version = 'min_unity_version_example' # str | The minimum Unity version supported by the asset. (optional) +platform = 'platform_example' # str | The platform the asset supports. (optional) + try: # Search Avatars api_response = api_instance.search_avatars(featured=featured, sort=sort, user=user, user_id=user_id, n=n, order=order, offset=offset, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling AvatarsApi->search_avatars: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.AvatarsApi(api_client) + featured = True # bool | Filters on featured results. (optional) +sort = 'popularity' # str | (optional) (default to 'popularity') +user = 'user_example' # str | Set to `me` for searching own avatars. (optional) +user_id = 'user_id_example' # str | Filter by UserID. (optional) +n = 60 # int | The number of objects to return. (optional) (default to 60) +order = 'descending' # str | (optional) (default to 'descending') +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) +tag = 'tag_example' # str | Tags to include (comma-separated). Any of the tags needs to be present. (optional) +notag = 'notag_example' # str | Tags to exclude (comma-separated). (optional) +release_status = 'public' # str | Filter by ReleaseStatus. (optional) (default to 'public') +max_unity_version = 'max_unity_version_example' # str | The maximum Unity version supported by the asset. (optional) +min_unity_version = 'min_unity_version_example' # str | The minimum Unity version supported by the asset. (optional) +platform = 'platform_example' # str | The platform the asset supports. (optional) + + try: + # Search Avatars + api_response = api_instance.search_avatars(featured=featured, sort=sort, user=user, user_id=user_id, n=n, order=order, offset=offset, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform) + pprint(api_response) + except ApiException as e: + print("Exception when calling AvatarsApi->search_avatars: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **featured** | **bool**| Filters on featured results. | [optional] - **sort** | **str**| | [optional] if omitted the server will use the default value of "popularity" - **user** | **str**| Set to `me` for searching own avatars. | [optional] if omitted the server will use the default value of "me" - **user_id** | **str**| Filter by UserID. | [optional] - **n** | **int**| The number of objects to return. | [optional] if omitted the server will use the default value of 60 - **order** | **str**| | [optional] if omitted the server will use the default value of "descending" - **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] - **tag** | **str**| Tags to include (comma-separated). Any of the tags needs to be present. | [optional] - **notag** | **str**| Tags to exclude (comma-separated). | [optional] - **release_status** | **str**| Filter by ReleaseStatus. | [optional] if omitted the server will use the default value of "public" - **max_unity_version** | **str**| The maximum Unity version supported by the asset. | [optional] - **min_unity_version** | **str**| The minimum Unity version supported by the asset. | [optional] - **platform** | **str**| The platform the asset supports. | [optional] + **featured** | **bool**| Filters on featured results. | [optional] + **sort** | **str**| | [optional] [default to 'popularity'] + **user** | **str**| Set to `me` for searching own avatars. | [optional] + **user_id** | **str**| Filter by UserID. | [optional] + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **order** | **str**| | [optional] [default to 'descending'] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + **tag** | **str**| Tags to include (comma-separated). Any of the tags needs to be present. | [optional] + **notag** | **str**| Tags to exclude (comma-separated). | [optional] + **release_status** | **str**| Filter by ReleaseStatus. | [optional] [default to 'public'] + **max_unity_version** | **str**| The maximum Unity version supported by the asset. | [optional] + **min_unity_version** | **str**| The minimum Unity version supported by the asset. | [optional] + **platform** | **str**| The platform the asset supports. | [optional] ### Return type -[**[Avatar]**](Avatar.md) +[**list[Avatar]**](Avatar.md) ### Authorization @@ -595,9 +827,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of Avatar objects. | - | @@ -615,14 +845,11 @@ Switches into that avatar. ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import avatars_api -from vrchatapi.model.current_user import CurrentUser -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -650,24 +877,66 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = avatars_api.AvatarsApi(api_client) - avatar_id = "avatarId_example" # str | + api_instance = vrchatapi.AvatarsApi(api_client) + avatar_id = 'avatar_id_example' # str | - # example passing only required values which don't have defaults set try: # Select Avatar api_response = api_instance.select_avatar(avatar_id) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling AvatarsApi->select_avatar: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.AvatarsApi(api_client) + avatar_id = 'avatar_id_example' # str | + + try: + # Select Avatar + api_response = api_instance.select_avatar(avatar_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling AvatarsApi->select_avatar: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **avatar_id** | **str**| | + **avatar_id** | **str**| | ### Return type @@ -682,9 +951,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single CurrentUser object. | - | @@ -703,14 +970,11 @@ Switches into that avatar as your fallback avatar. ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import avatars_api -from vrchatapi.model.current_user import CurrentUser -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -738,24 +1002,66 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = avatars_api.AvatarsApi(api_client) - avatar_id = "avatarId_example" # str | + api_instance = vrchatapi.AvatarsApi(api_client) + avatar_id = 'avatar_id_example' # str | - # example passing only required values which don't have defaults set try: # Select Fallback Avatar api_response = api_instance.select_fallback_avatar(avatar_id) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling AvatarsApi->select_fallback_avatar: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.AvatarsApi(api_client) + avatar_id = 'avatar_id_example' # str | + + try: + # Select Fallback Avatar + api_response = api_instance.select_fallback_avatar(avatar_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling AvatarsApi->select_fallback_avatar: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **avatar_id** | **str**| | + **avatar_id** | **str**| | ### Return type @@ -770,9 +1076,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single CurrentUser object. | - | @@ -783,7 +1087,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **update_avatar** -> Avatar update_avatar(avatar_id) +> Avatar update_avatar(avatar_id, update_avatar_request=update_avatar_request) Update Avatar @@ -792,15 +1096,11 @@ Update information about a specific avatar. ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import avatars_api -from vrchatapi.model.avatar import Avatar -from vrchatapi.model.update_avatar_request import UpdateAvatarRequest -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -828,47 +1128,69 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = avatars_api.AvatarsApi(api_client) - avatar_id = "avatarId_example" # str | - update_avatar_request = UpdateAvatarRequest( - asset_url="asset_url_example", - id=AvatarID("avtr_912d66a4-4714-43b8-8407-7de2cafbf55b"), - name="name_example", - description="description_example", - tags=[ - Tag("tags_example"), - ], - image_url="image_url_example", - release_status=ReleaseStatus("public"), - version=1, - unity_package_url="unity_package_url_example", - ) # UpdateAvatarRequest | (optional) - - # example passing only required values which don't have defaults set + api_instance = vrchatapi.AvatarsApi(api_client) + avatar_id = 'avatar_id_example' # str | +update_avatar_request = vrchatapi.UpdateAvatarRequest() # UpdateAvatarRequest | (optional) + try: # Update Avatar - api_response = api_instance.update_avatar(avatar_id) + api_response = api_instance.update_avatar(avatar_id, update_avatar_request=update_avatar_request) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling AvatarsApi->update_avatar: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.AvatarsApi(api_client) + avatar_id = 'avatar_id_example' # str | +update_avatar_request = vrchatapi.UpdateAvatarRequest() # UpdateAvatarRequest | (optional) - # example passing only required values which don't have defaults set - # and optional values try: # Update Avatar api_response = api_instance.update_avatar(avatar_id, update_avatar_request=update_avatar_request) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling AvatarsApi->update_avatar: %s\n" % e) ``` - ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **avatar_id** | **str**| | - **update_avatar_request** | [**UpdateAvatarRequest**](UpdateAvatarRequest.md)| | [optional] + **avatar_id** | **str**| | + **update_avatar_request** | [**UpdateAvatarRequest**](UpdateAvatarRequest.md)| | [optional] ### Return type @@ -883,9 +1205,7 @@ Name | Type | Description | Notes - **Content-Type**: application/json - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single Avatar object. | - | diff --git a/docs/CreateAvatarRequest.md b/docs/CreateAvatarRequest.md index 4bb8585f..6290b0fc 100644 --- a/docs/CreateAvatarRequest.md +++ b/docs/CreateAvatarRequest.md @@ -4,16 +4,15 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**name** | **str** | | -**image_url** | **str** | | **asset_url** | **str** | | [optional] -**id** | [**AvatarID**](AvatarID.md) | | [optional] +**id** | **str** | | [optional] +**name** | **str** | | **description** | **str** | | [optional] -**tags** | [**[Tag]**](Tag.md) | | [optional] +**tags** | **list[str]** | | [optional] +**image_url** | **str** | | **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | [optional] -**version** | **float** | | [optional] if omitted the server will use the default value of 1 +**version** | **float** | | [optional] [default to 1] **unity_package_url** | **str** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreateFileRequest.md b/docs/CreateFileRequest.md index 334086c7..2da93660 100644 --- a/docs/CreateFileRequest.md +++ b/docs/CreateFileRequest.md @@ -7,8 +7,7 @@ Name | Type | Description | Notes **name** | **str** | | **mime_type** | [**MIMEType**](MIMEType.md) | | **extension** | **str** | | -**tags** | [**[Tag]**](Tag.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] +**tags** | **list[str]** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreateFileVersionRequest.md b/docs/CreateFileVersionRequest.md index e3e81ada..ecd8d416 100644 --- a/docs/CreateFileVersionRequest.md +++ b/docs/CreateFileVersionRequest.md @@ -8,7 +8,6 @@ Name | Type | Description | Notes **signature_size_in_bytes** | **float** | | **file_md5** | **str** | | [optional] **file_size_in_bytes** | **float** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreateWorldRequest.md b/docs/CreateWorldRequest.md index d1b7fd68..03ad3edd 100644 --- a/docs/CreateWorldRequest.md +++ b/docs/CreateWorldRequest.md @@ -5,20 +5,19 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **asset_url** | **str** | | -**image_url** | **str** | | -**name** | **str** | | **asset_version** | **int** | | [optional] **author_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] **author_name** | **str** | | [optional] **capacity** | **int** | | [optional] **description** | **str** | | [optional] -**id** | [**WorldID**](WorldID.md) | | [optional] +**id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | [optional] +**image_url** | **str** | | +**name** | **str** | | **platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | [optional] **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | [optional] -**tags** | [**[Tag]**](Tag.md) | | [optional] +**tags** | **list[str]** | | [optional] **unity_package_url** | **str** | | [optional] -**unity_version** | **str** | | [optional] if omitted the server will use the default value of "5.3.4p1" -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] +**unity_version** | **str** | | [optional] [default to '5.3.4p1'] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CurrentUser.md b/docs/CurrentUser.md index ee812c8f..3b2b0072 100644 --- a/docs/CurrentUser.md +++ b/docs/CurrentUser.md @@ -5,10 +5,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **accepted_tos_version** | **int** | | +**account_deletion_date** | **date** | | [optional] +**active_friends** | **list[str]** | | [optional] **allow_avatar_copying** | **bool** | | **bio** | **str** | | -**bio_links** | **[str]** | | -**current_avatar** | [**AvatarID**](AvatarID.md) | | +**bio_links** | **list[str]** | | +**current_avatar** | **str** | | **current_avatar_asset_url** | **str** | | **current_avatar_image_url** | **str** | When profilePicOverride is not empty, use it instead. | **current_avatar_thumbnail_image_url** | **str** | When profilePicOverride is not empty, use it instead. | @@ -16,42 +18,39 @@ Name | Type | Description | Notes **developer_type** | [**DeveloperType**](DeveloperType.md) | | **display_name** | **str** | | **email_verified** | **bool** | | -**friend_group_names** | **[str]** | Always empty array. | +**fallback_avatar** | **str** | | [optional] +**friend_group_names** | **list[str]** | Always empty array. | **friend_key** | **str** | | -**friends** | **[str]** | | +**friends** | **list[str]** | | **has_birthday** | **bool** | | **has_email** | **bool** | | **has_logged_in_from_client** | **bool** | | **has_pending_email** | **bool** | | -**home_location** | [**WorldID**](WorldID.md) | | +**home_location** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | **id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**is_friend** | **bool** | | [default to False] **last_login** | **datetime** | | **last_platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | **obfuscated_email** | **str** | | **obfuscated_pending_email** | **str** | | **oculus_id** | **str** | | -**past_display_names** | [**[PastDisplayName]**](PastDisplayName.md) | | +**offline_friends** | **list[str]** | | [optional] +**online_friends** | **list[str]** | | [optional] +**past_display_names** | [**list[PastDisplayName]**](PastDisplayName.md) | | **profile_pic_override** | **str** | | **state** | [**UserState**](UserState.md) | | **status** | [**UserStatus**](UserStatus.md) | | **status_description** | **str** | | **status_first_time** | **bool** | | -**status_history** | **[str]** | | -**steam_details** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | +**status_history** | **list[str]** | | +**steam_details** | **object** | | **steam_id** | **str** | | -**tags** | [**[Tag]**](Tag.md) | | +**tags** | **list[str]** | | **two_factor_auth_enabled** | **bool** | | +**two_factor_auth_enabled_date** | **datetime** | | [optional] **unsubscribe** | **bool** | | **user_icon** | **str** | | -**is_friend** | **bool** | | defaults to False -**account_deletion_date** | **date, none_type** | | [optional] -**active_friends** | **[str]** | | [optional] -**fallback_avatar** | [**AvatarID**](AvatarID.md) | | [optional] -**offline_friends** | **[str]** | | [optional] -**online_friends** | **[str]** | | [optional] -**two_factor_auth_enabled_date** | **datetime, none_type** | | [optional] **username** | **str** | -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DeploymentGroup.md b/docs/DeploymentGroup.md index 4fd737be..0db2a3e8 100644 --- a/docs/DeploymentGroup.md +++ b/docs/DeploymentGroup.md @@ -5,7 +5,6 @@ Used to identify which API deployment cluster is currently responding. `blue` a ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | **str** | Used to identify which API deployment cluster is currently responding. `blue` and `green` are used by Production. `grape`and `cherry` are used during Development. [Blue Green Deployment by Martin Fowler](https://martinfowler.com/bliki/BlueGreenDeployment.html) | defaults to "blue", must be one of ["blue", "green", "grape", "cherry", ] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DeveloperType.md b/docs/DeveloperType.md index 588a7d10..79b7f9c7 100644 --- a/docs/DeveloperType.md +++ b/docs/DeveloperType.md @@ -5,7 +5,6 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | **str** | \"none\" User is a normal user \"trusted\" Unknown \"internal\" Is a VRChat Developer \"moderator\" Is a VRChat Moderator Staff can hide their developerType at will. | defaults to "none", must be one of ["none", "trusted", "internal", "moderator", ] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DownloadURLList.md b/docs/DownloadURLList.md index 9d79a01d..499c54d7 100644 --- a/docs/DownloadURLList.md +++ b/docs/DownloadURLList.md @@ -8,7 +8,6 @@ Name | Type | Description | Notes **sdk2** | **str** | Download link for legacy SDK2 | **sdk3_avatars** | **str** | Download link for SDK3 for Avatars | **sdk3_worlds** | **str** | Download link for SDK3 for Worlds | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DynamicContentRow.md b/docs/DynamicContentRow.md index 40c53b09..f9bb0760 100644 --- a/docs/DynamicContentRow.md +++ b/docs/DynamicContentRow.md @@ -4,15 +4,14 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**index** | **int** | | [optional] **name** | **str** | | **platform** | **str** | Usually \"ThisPlatformSupported\", but can also be other values such as \"all\" or platform specific identifiers. | **sort_heading** | **str** | | **sort_order** | **str** | | **sort_ownership** | **str** | | -**index** | **int** | | [optional] **tag** | **str** | Tag to filter content for this row. | [optional] **type** | **str** | Type is not present if it is a world. | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EconomyApi.md b/docs/EconomyApi.md index 5049fb22..544cb173 100644 --- a/docs/EconomyApi.md +++ b/docs/EconomyApi.md @@ -12,7 +12,7 @@ Method | HTTP request | Description # **get_current_subscriptions** -> [UserSubscription] get_current_subscriptions() +> list[UserSubscription] get_current_subscriptions() Get Current Subscriptions @@ -21,14 +21,11 @@ Get a list of all current user subscriptions. ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import economy_api -from vrchatapi.model.user_subscription import UserSubscription -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -56,24 +53,65 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = economy_api.EconomyApi(api_client) - - # example, this endpoint has no required or optional parameters + api_instance = vrchatapi.EconomyApi(api_client) + try: # Get Current Subscriptions api_response = api_instance.get_current_subscriptions() pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling EconomyApi->get_current_subscriptions: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.EconomyApi(api_client) + + try: + # Get Current Subscriptions + api_response = api_instance.get_current_subscriptions() + pprint(api_response) + except ApiException as e: + print("Exception when calling EconomyApi->get_current_subscriptions: %s\n" % e) +``` ### Parameters This endpoint does not need any parameter. ### Return type -[**[UserSubscription]**](UserSubscription.md) +[**list[UserSubscription]**](UserSubscription.md) ### Authorization @@ -84,9 +122,7 @@ This endpoint does not need any parameter. - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of UserSubscription objects. | - | @@ -104,14 +140,11 @@ Get a single License Group by given ID. ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import economy_api -from vrchatapi.model.license_group import LicenseGroup -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -139,24 +172,66 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = economy_api.EconomyApi(api_client) - license_group_id = "licenseGroupId_example" # str | + api_instance = vrchatapi.EconomyApi(api_client) + license_group_id = 'license_group_id_example' # str | - # example passing only required values which don't have defaults set try: # Get License Group api_response = api_instance.get_license_group(license_group_id) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling EconomyApi->get_license_group: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.EconomyApi(api_client) + license_group_id = 'license_group_id_example' # str | + + try: + # Get License Group + api_response = api_instance.get_license_group(license_group_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling EconomyApi->get_license_group: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **license_group_id** | **str**| | + **license_group_id** | **str**| | ### Return type @@ -171,9 +246,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single LicenseGroup object. | - | @@ -191,14 +264,11 @@ Get a single Steam transactions by ID. This returns the exact same information a ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import economy_api -from vrchatapi.model.error import Error -from vrchatapi.model.transaction import Transaction +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -226,24 +296,66 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = economy_api.EconomyApi(api_client) - transaction_id = "transactionId_example" # str | + api_instance = vrchatapi.EconomyApi(api_client) + transaction_id = 'transaction_id_example' # str | - # example passing only required values which don't have defaults set try: # Get Steam Transaction api_response = api_instance.get_steam_transaction(transaction_id) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling EconomyApi->get_steam_transaction: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.EconomyApi(api_client) + transaction_id = 'transaction_id_example' # str | + + try: + # Get Steam Transaction + api_response = api_instance.get_steam_transaction(transaction_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling EconomyApi->get_steam_transaction: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **transaction_id** | **str**| | + **transaction_id** | **str**| | ### Return type @@ -258,9 +370,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single Transaction object. | - | @@ -269,7 +379,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_steam_transactions** -> [Transaction] get_steam_transactions() +> list[Transaction] get_steam_transactions() List Steam Transactions @@ -278,14 +388,11 @@ Get all own Steam transactions. ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import economy_api -from vrchatapi.model.error import Error -from vrchatapi.model.transaction import Transaction +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -313,24 +420,65 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = economy_api.EconomyApi(api_client) - - # example, this endpoint has no required or optional parameters + api_instance = vrchatapi.EconomyApi(api_client) + try: # List Steam Transactions api_response = api_instance.get_steam_transactions() pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling EconomyApi->get_steam_transactions: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.EconomyApi(api_client) + + try: + # List Steam Transactions + api_response = api_instance.get_steam_transactions() + pprint(api_response) + except ApiException as e: + print("Exception when calling EconomyApi->get_steam_transactions: %s\n" % e) +``` ### Parameters This endpoint does not need any parameter. ### Return type -[**[Transaction]**](Transaction.md) +[**list[Transaction]**](Transaction.md) ### Authorization @@ -341,9 +489,7 @@ This endpoint does not need any parameter. - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of Transaction objects. | - | @@ -352,7 +498,7 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_subscriptions** -> [Subscription] get_subscriptions() +> list[Subscription] get_subscriptions() List Subscriptions @@ -361,14 +507,11 @@ List all existing Subscriptions. For example, \"vrchatplus-monthly\" and \"vrcha ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import economy_api -from vrchatapi.model.subscription import Subscription -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -396,24 +539,65 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = economy_api.EconomyApi(api_client) - - # example, this endpoint has no required or optional parameters + api_instance = vrchatapi.EconomyApi(api_client) + try: # List Subscriptions api_response = api_instance.get_subscriptions() pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling EconomyApi->get_subscriptions: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.EconomyApi(api_client) + + try: + # List Subscriptions + api_response = api_instance.get_subscriptions() + pprint(api_response) + except ApiException as e: + print("Exception when calling EconomyApi->get_subscriptions: %s\n" % e) +``` ### Parameters This endpoint does not need any parameter. ### Return type -[**[Subscription]**](Subscription.md) +[**list[Subscription]**](Subscription.md) ### Authorization @@ -424,9 +608,7 @@ This endpoint does not need any parameter. - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of Subscription objects. | - | diff --git a/docs/Error.md b/docs/Error.md index 26018862..faecaf0b 100644 --- a/docs/Error.md +++ b/docs/Error.md @@ -5,7 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **error** | [**Response**](Response.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Favorite.md b/docs/Favorite.md index 9f41f40a..cea8966e 100644 --- a/docs/Favorite.md +++ b/docs/Favorite.md @@ -1,14 +1,14 @@ # Favorite + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **favorite_id** | **str** | MUST be either AvatarID, UserID or WorldID. | -**id** | [**FavoriteID**](FavoriteID.md) | | -**tags** | [**[Tag]**](Tag.md) | | +**id** | **str** | | +**tags** | **list[str]** | | **type** | [**FavoriteType**](FavoriteType.md) | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FavoriteGroup.md b/docs/FavoriteGroup.md index b5ed2c6f..ab7b7d02 100644 --- a/docs/FavoriteGroup.md +++ b/docs/FavoriteGroup.md @@ -1,18 +1,18 @@ # FavoriteGroup + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **display_name** | **str** | | -**id** | [**FavoriteGroupID**](FavoriteGroupID.md) | | +**id** | **str** | | **name** | **str** | | **owner_display_name** | **str** | | **owner_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | -**tags** | [**[Tag]**](Tag.md) | | +**tags** | **list[str]** | | **type** | [**FavoriteType**](FavoriteType.md) | | **visibility** | [**FavoriteGroupVisibility**](FavoriteGroupVisibility.md) | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FavoriteGroupID.md b/docs/FavoriteGroupID.md deleted file mode 100644 index 7d5a967b..00000000 --- a/docs/FavoriteGroupID.md +++ /dev/null @@ -1,11 +0,0 @@ -# FavoriteGroupID - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | **str** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/FavoriteGroupVisibility.md b/docs/FavoriteGroupVisibility.md index 4bf9ee03..60ef20a8 100644 --- a/docs/FavoriteGroupVisibility.md +++ b/docs/FavoriteGroupVisibility.md @@ -4,7 +4,6 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | **str** | | defaults to "private", must be one of ["private", "friends", "public", ] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FavoriteID.md b/docs/FavoriteID.md deleted file mode 100644 index eb155249..00000000 --- a/docs/FavoriteID.md +++ /dev/null @@ -1,11 +0,0 @@ -# FavoriteID - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | **str** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/FavoriteType.md b/docs/FavoriteType.md index c32a8b95..8af10297 100644 --- a/docs/FavoriteType.md +++ b/docs/FavoriteType.md @@ -4,7 +4,6 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | **str** | | defaults to "friend", must be one of ["world", "friend", "avatar", ] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FavoritesApi.md b/docs/FavoritesApi.md index d15f76b5..4468fbc5 100644 --- a/docs/FavoritesApi.md +++ b/docs/FavoritesApi.md @@ -15,7 +15,7 @@ Method | HTTP request | Description # **add_favorite** -> Favorite add_favorite() +> Favorite add_favorite(add_favorite_request=add_favorite_request) Add Favorite @@ -24,15 +24,11 @@ Add a new favorite. Friend groups are named `group_0` through `group_3`. Avatar ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import favorites_api -from vrchatapi.model.error import Error -from vrchatapi.model.favorite import Favorite -from vrchatapi.model.add_favorite_request import AddFavoriteRequest +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -60,31 +56,66 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = favorites_api.FavoritesApi(api_client) - add_favorite_request = AddFavoriteRequest( - type=FavoriteType("friend"), - favorite_id="favorite_id_example", - tags=[ - Tag("tags_example"), - ], - ) # AddFavoriteRequest | (optional) - - # example passing only required values which don't have defaults set - # and optional values + api_instance = vrchatapi.FavoritesApi(api_client) + add_favorite_request = {"type":"friend","favoriteId":"usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469","tags":["group_0"]} # AddFavoriteRequest | (optional) + try: # Add Favorite api_response = api_instance.add_favorite(add_favorite_request=add_favorite_request) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling FavoritesApi->add_favorite: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.FavoritesApi(api_client) + add_favorite_request = {"type":"friend","favoriteId":"usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469","tags":["group_0"]} # AddFavoriteRequest | (optional) + + try: + # Add Favorite + api_response = api_instance.add_favorite(add_favorite_request=add_favorite_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling FavoritesApi->add_favorite: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **add_favorite_request** | [**AddFavoriteRequest**](AddFavoriteRequest.md)| | [optional] + **add_favorite_request** | [**AddFavoriteRequest**](AddFavoriteRequest.md)| | [optional] ### Return type @@ -99,9 +130,7 @@ Name | Type | Description | Notes - **Content-Type**: application/json - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single Favorite object. | - | @@ -120,13 +149,11 @@ Clear ALL contents of a specific favorite group. ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import favorites_api -from vrchatapi.model.success import Success +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -154,28 +181,72 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = favorites_api.FavoritesApi(api_client) - favorite_group_type = "world" # str | The type of group to fetch, must be a valid FavoriteType. - favorite_group_name = "favoriteGroupName_example" # str | - user_id = "userId_example" # str | + api_instance = vrchatapi.FavoritesApi(api_client) + favorite_group_type = 'favorite_group_type_example' # str | The type of group to fetch, must be a valid FavoriteType. +favorite_group_name = 'favorite_group_name_example' # str | +user_id = 'user_id_example' # str | - # example passing only required values which don't have defaults set try: # Clear Favorite Group api_response = api_instance.clear_favorite_group(favorite_group_type, favorite_group_name, user_id) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling FavoritesApi->clear_favorite_group: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.FavoritesApi(api_client) + favorite_group_type = 'favorite_group_type_example' # str | The type of group to fetch, must be a valid FavoriteType. +favorite_group_name = 'favorite_group_name_example' # str | +user_id = 'user_id_example' # str | + + try: + # Clear Favorite Group + api_response = api_instance.clear_favorite_group(favorite_group_type, favorite_group_name, user_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling FavoritesApi->clear_favorite_group: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **favorite_group_type** | **str**| The type of group to fetch, must be a valid FavoriteType. | - **favorite_group_name** | **str**| | - **user_id** | **str**| | + **favorite_group_type** | **str**| The type of group to fetch, must be a valid FavoriteType. | + **favorite_group_name** | **str**| | + **user_id** | **str**| | ### Return type @@ -190,9 +261,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Success response after clearing a favorite group. | - | @@ -209,14 +278,11 @@ Return information about a specific Favorite. ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import favorites_api -from vrchatapi.model.error import Error -from vrchatapi.model.favorite import Favorite +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -244,24 +310,66 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = favorites_api.FavoritesApi(api_client) - favorite_id = "favoriteId_example" # str | + api_instance = vrchatapi.FavoritesApi(api_client) + favorite_id = 'favorite_id_example' # str | - # example passing only required values which don't have defaults set try: # Show Favorite api_response = api_instance.get_favorite(favorite_id) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling FavoritesApi->get_favorite: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.FavoritesApi(api_client) + favorite_id = 'favorite_id_example' # str | + + try: + # Show Favorite + api_response = api_instance.get_favorite(favorite_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling FavoritesApi->get_favorite: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **favorite_id** | **str**| | + **favorite_id** | **str**| | ### Return type @@ -276,9 +384,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single Favorite object. | - | @@ -297,13 +403,11 @@ Fetch information about a specific favorite group. ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import favorites_api -from vrchatapi.model.favorite_group import FavoriteGroup +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -331,28 +435,72 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = favorites_api.FavoritesApi(api_client) - favorite_group_type = "world" # str | The type of group to fetch, must be a valid FavoriteType. - favorite_group_name = "favoriteGroupName_example" # str | - user_id = "userId_example" # str | + api_instance = vrchatapi.FavoritesApi(api_client) + favorite_group_type = 'favorite_group_type_example' # str | The type of group to fetch, must be a valid FavoriteType. +favorite_group_name = 'favorite_group_name_example' # str | +user_id = 'user_id_example' # str | - # example passing only required values which don't have defaults set try: # Show Favorite Group api_response = api_instance.get_favorite_group(favorite_group_type, favorite_group_name, user_id) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling FavoritesApi->get_favorite_group: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.FavoritesApi(api_client) + favorite_group_type = 'favorite_group_type_example' # str | The type of group to fetch, must be a valid FavoriteType. +favorite_group_name = 'favorite_group_name_example' # str | +user_id = 'user_id_example' # str | + + try: + # Show Favorite Group + api_response = api_instance.get_favorite_group(favorite_group_type, favorite_group_name, user_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling FavoritesApi->get_favorite_group: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **favorite_group_type** | **str**| The type of group to fetch, must be a valid FavoriteType. | - **favorite_group_name** | **str**| | - **user_id** | **str**| | + **favorite_group_type** | **str**| The type of group to fetch, must be a valid FavoriteType. | + **favorite_group_name** | **str**| | + **user_id** | **str**| | ### Return type @@ -367,9 +515,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single FavoriteGroup object. | - | @@ -377,7 +523,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_favorite_groups** -> [FavoriteGroup] get_favorite_groups() +> list[FavoriteGroup] get_favorite_groups(n=n, offset=offset, owner_id=owner_id) List Favorite Groups @@ -386,14 +532,11 @@ Return a list of favorite groups owned by a user. Returns the same information a ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import favorites_api -from vrchatapi.model.favorite_group import FavoriteGroup -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -421,33 +564,76 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = favorites_api.FavoritesApi(api_client) - n = 60 # int | The number of objects to return. (optional) if omitted the server will use the default value of 60 - offset = 0 # int | A zero-based offset from the default object sorting from where search results start. (optional) - owner_id = "ownerId_example" # str | The owner of whoms favorite groups to return. Must be a UserID. (optional) + api_instance = vrchatapi.FavoritesApi(api_client) + n = 60 # int | The number of objects to return. (optional) (default to 60) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) +owner_id = 'owner_id_example' # str | The owner of whoms favorite groups to return. Must be a UserID. (optional) - # example passing only required values which don't have defaults set - # and optional values try: # List Favorite Groups api_response = api_instance.get_favorite_groups(n=n, offset=offset, owner_id=owner_id) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling FavoritesApi->get_favorite_groups: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.FavoritesApi(api_client) + n = 60 # int | The number of objects to return. (optional) (default to 60) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) +owner_id = 'owner_id_example' # str | The owner of whoms favorite groups to return. Must be a UserID. (optional) + + try: + # List Favorite Groups + api_response = api_instance.get_favorite_groups(n=n, offset=offset, owner_id=owner_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling FavoritesApi->get_favorite_groups: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **n** | **int**| The number of objects to return. | [optional] if omitted the server will use the default value of 60 - **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] - **owner_id** | **str**| The owner of whoms favorite groups to return. Must be a UserID. | [optional] + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + **owner_id** | **str**| The owner of whoms favorite groups to return. Must be a UserID. | [optional] ### Return type -[**[FavoriteGroup]**](FavoriteGroup.md) +[**list[FavoriteGroup]**](FavoriteGroup.md) ### Authorization @@ -458,9 +644,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of FavoriteGroup objects. | - | @@ -469,7 +653,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_favorites** -> [Favorite] get_favorites() +> list[Favorite] get_favorites(n=n, offset=offset, type=type, tag=tag) List Favorites @@ -478,14 +662,11 @@ Returns a list of favorites. ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import favorites_api -from vrchatapi.model.error import Error -from vrchatapi.model.favorite import Favorite +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -513,35 +694,79 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = favorites_api.FavoritesApi(api_client) - n = 60 # int | The number of objects to return. (optional) if omitted the server will use the default value of 60 - offset = 0 # int | A zero-based offset from the default object sorting from where search results start. (optional) - type = "type_example" # str | The type of favorites to return, FavoriteType. (optional) - tag = "tag_example" # str | Tags to include (comma-separated). Any of the tags needs to be present. (optional) - - # example passing only required values which don't have defaults set - # and optional values + api_instance = vrchatapi.FavoritesApi(api_client) + n = 60 # int | The number of objects to return. (optional) (default to 60) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) +type = 'type_example' # str | The type of favorites to return, FavoriteType. (optional) +tag = 'tag_example' # str | Tags to include (comma-separated). Any of the tags needs to be present. (optional) + try: # List Favorites api_response = api_instance.get_favorites(n=n, offset=offset, type=type, tag=tag) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling FavoritesApi->get_favorites: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.FavoritesApi(api_client) + n = 60 # int | The number of objects to return. (optional) (default to 60) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) +type = 'type_example' # str | The type of favorites to return, FavoriteType. (optional) +tag = 'tag_example' # str | Tags to include (comma-separated). Any of the tags needs to be present. (optional) + + try: + # List Favorites + api_response = api_instance.get_favorites(n=n, offset=offset, type=type, tag=tag) + pprint(api_response) + except ApiException as e: + print("Exception when calling FavoritesApi->get_favorites: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **n** | **int**| The number of objects to return. | [optional] if omitted the server will use the default value of 60 - **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] - **type** | **str**| The type of favorites to return, FavoriteType. | [optional] - **tag** | **str**| Tags to include (comma-separated). Any of the tags needs to be present. | [optional] + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + **type** | **str**| The type of favorites to return, FavoriteType. | [optional] + **tag** | **str**| Tags to include (comma-separated). Any of the tags needs to be present. | [optional] ### Return type -[**[Favorite]**](Favorite.md) +[**list[Favorite]**](Favorite.md) ### Authorization @@ -552,9 +777,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of Favorite objects. | - | @@ -572,14 +795,11 @@ Remove a favorite from your favorites list. ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import favorites_api -from vrchatapi.model.success import Success -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -607,24 +827,66 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = favorites_api.FavoritesApi(api_client) - favorite_id = "favoriteId_example" # str | + api_instance = vrchatapi.FavoritesApi(api_client) + favorite_id = 'favorite_id_example' # str | - # example passing only required values which don't have defaults set try: # Remove Favorite api_response = api_instance.remove_favorite(favorite_id) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling FavoritesApi->remove_favorite: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.FavoritesApi(api_client) + favorite_id = 'favorite_id_example' # str | + + try: + # Remove Favorite + api_response = api_instance.remove_favorite(favorite_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling FavoritesApi->remove_favorite: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **favorite_id** | **str**| | + **favorite_id** | **str**| | ### Return type @@ -639,9 +901,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Success response after removing a favorite. | - | @@ -651,7 +911,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **update_favorite_group** -> update_favorite_group(favorite_group_type, favorite_group_name, user_id) +> update_favorite_group(favorite_group_type, favorite_group_name, user_id, update_favorite_group_request=update_favorite_group_request) Update Favorite Group @@ -660,13 +920,11 @@ Update information about a specific favorite group. ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import favorites_api -from vrchatapi.model.update_favorite_group_request import UpdateFavoriteGroupRequest +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -694,43 +952,73 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = favorites_api.FavoritesApi(api_client) - favorite_group_type = "world" # str | The type of group to fetch, must be a valid FavoriteType. - favorite_group_name = "favoriteGroupName_example" # str | - user_id = "userId_example" # str | - update_favorite_group_request = UpdateFavoriteGroupRequest( - display_name="display_name_example", - visibility=FavoriteGroupVisibility("private"), - tags=[ - Tag("tags_example"), - ], - ) # UpdateFavoriteGroupRequest | (optional) - - # example passing only required values which don't have defaults set + api_instance = vrchatapi.FavoritesApi(api_client) + favorite_group_type = 'favorite_group_type_example' # str | The type of group to fetch, must be a valid FavoriteType. +favorite_group_name = 'favorite_group_name_example' # str | +user_id = 'user_id_example' # str | +update_favorite_group_request = vrchatapi.UpdateFavoriteGroupRequest() # UpdateFavoriteGroupRequest | (optional) + try: # Update Favorite Group - api_instance.update_favorite_group(favorite_group_type, favorite_group_name, user_id) - except vrchatapi.ApiException as e: + api_instance.update_favorite_group(favorite_group_type, favorite_group_name, user_id, update_favorite_group_request=update_favorite_group_request) + except ApiException as e: print("Exception when calling FavoritesApi->update_favorite_group: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.FavoritesApi(api_client) + favorite_group_type = 'favorite_group_type_example' # str | The type of group to fetch, must be a valid FavoriteType. +favorite_group_name = 'favorite_group_name_example' # str | +user_id = 'user_id_example' # str | +update_favorite_group_request = vrchatapi.UpdateFavoriteGroupRequest() # UpdateFavoriteGroupRequest | (optional) - # example passing only required values which don't have defaults set - # and optional values try: # Update Favorite Group api_instance.update_favorite_group(favorite_group_type, favorite_group_name, user_id, update_favorite_group_request=update_favorite_group_request) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling FavoritesApi->update_favorite_group: %s\n" % e) ``` - ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **favorite_group_type** | **str**| The type of group to fetch, must be a valid FavoriteType. | - **favorite_group_name** | **str**| | - **user_id** | **str**| | - **update_favorite_group_request** | [**UpdateFavoriteGroupRequest**](UpdateFavoriteGroupRequest.md)| | [optional] + **favorite_group_type** | **str**| The type of group to fetch, must be a valid FavoriteType. | + **favorite_group_name** | **str**| | + **user_id** | **str**| | + **update_favorite_group_request** | [**UpdateFavoriteGroupRequest**](UpdateFavoriteGroupRequest.md)| | [optional] ### Return type @@ -745,9 +1033,7 @@ void (empty response body) - **Content-Type**: application/json - **Accept**: Not defined - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | diff --git a/docs/File.md b/docs/File.md index b86ae54b..665755b3 100644 --- a/docs/File.md +++ b/docs/File.md @@ -1,17 +1,17 @@ # File + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **extension** | **str** | | -**id** | [**FileID**](FileID.md) | | +**id** | **str** | | **mime_type** | [**MIMEType**](MIMEType.md) | | **name** | **str** | | **owner_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | -**tags** | [**[Tag]**](Tag.md) | | -**versions** | [**[FileVersion]**](FileVersion.md) | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] +**tags** | **list[str]** | | +**versions** | [**list[FileVersion]**](FileVersion.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FileData.md b/docs/FileData.md index a1f60698..139fdd42 100644 --- a/docs/FileData.md +++ b/docs/FileData.md @@ -1,17 +1,17 @@ # FileData + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**category** | **str** | | [default to 'queued'] **file_name** | **str** | | **md5** | **str** | | **size_in_bytes** | **int** | | **status** | [**FileStatus**](FileStatus.md) | | +**upload_id** | **str** | | [default to ''] **url** | **str** | | -**category** | **str** | | defaults to "queued" -**upload_id** | **str** | | defaults to "" -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FileID.md b/docs/FileID.md deleted file mode 100644 index b1121a45..00000000 --- a/docs/FileID.md +++ /dev/null @@ -1,11 +0,0 @@ -# FileID - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | **str** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/FileStatus.md b/docs/FileStatus.md index c91a9ba6..986bc8b2 100644 --- a/docs/FileStatus.md +++ b/docs/FileStatus.md @@ -4,7 +4,6 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | **str** | | defaults to "waiting", must be one of ["waiting", "complete", "none", "queued", ] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FileUploadURL.md b/docs/FileUploadURL.md index f5534969..798b137f 100644 --- a/docs/FileUploadURL.md +++ b/docs/FileUploadURL.md @@ -1,11 +1,11 @@ # FileUploadURL + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **url** | **str** | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FileVersion.md b/docs/FileVersion.md index 9ec0ff36..5f60276b 100644 --- a/docs/FileVersion.md +++ b/docs/FileVersion.md @@ -1,17 +1,17 @@ # FileVersion + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **created_at** | **datetime** | | -**status** | [**FileStatus**](FileStatus.md) | | -**version** | **int** | Incremental version counter, can only be increased. | defaults to 0 -**deleted** | **bool** | Usually only present if `true` | [optional] if omitted the server will use the default value of True +**deleted** | **bool** | Usually only present if `true` | [optional] [default to True] **delta** | [**FileData**](FileData.md) | | [optional] **file** | [**FileData**](FileData.md) | | [optional] **signature** | [**FileData**](FileData.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] +**status** | [**FileStatus**](FileStatus.md) | | +**version** | **int** | Incremental version counter, can only be increased. | [default to 0] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FileVersionUploadStatus.md b/docs/FileVersionUploadStatus.md index e8c600c4..d3c4bdf3 100644 --- a/docs/FileVersionUploadStatus.md +++ b/docs/FileVersionUploadStatus.md @@ -1,6 +1,7 @@ # FileVersionUploadStatus + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- @@ -8,9 +9,8 @@ Name | Type | Description | Notes **file_name** | **str** | | **next_part_number** | **float** | | **max_parts** | **float** | | -**parts** | **[{str: (bool, date, datetime, dict, float, int, list, str, none_type)}]** | | -**etags** | **[{str: (bool, date, datetime, dict, float, int, list, str, none_type)}]** | Unknown | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] +**parts** | **list[object]** | | +**etags** | **list[object]** | Unknown | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FilesApi.md b/docs/FilesApi.md index fc486095..4df4bb22 100644 --- a/docs/FilesApi.md +++ b/docs/FilesApi.md @@ -17,7 +17,7 @@ Method | HTTP request | Description # **create_file** -> File create_file() +> File create_file(create_file_request=create_file_request) Create File @@ -26,14 +26,11 @@ Creates a new File object ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import files_api -from vrchatapi.model.file import File -from vrchatapi.model.create_file_request import CreateFileRequest +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -61,32 +58,66 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = files_api.FilesApi(api_client) - create_file_request = CreateFileRequest( - name="name_example", - mime_type=MIMEType("image/jpeg"), - extension="extension_example", - tags=[ - Tag("tags_example"), - ], - ) # CreateFileRequest | (optional) - - # example passing only required values which don't have defaults set - # and optional values + api_instance = vrchatapi.FilesApi(api_client) + create_file_request = vrchatapi.CreateFileRequest() # CreateFileRequest | (optional) + try: # Create File api_response = api_instance.create_file(create_file_request=create_file_request) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling FilesApi->create_file: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.FilesApi(api_client) + create_file_request = vrchatapi.CreateFileRequest() # CreateFileRequest | (optional) + + try: + # Create File + api_response = api_instance.create_file(create_file_request=create_file_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling FilesApi->create_file: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **create_file_request** | [**CreateFileRequest**](CreateFileRequest.md)| | [optional] + **create_file_request** | [**CreateFileRequest**](CreateFileRequest.md)| | [optional] ### Return type @@ -101,9 +132,7 @@ Name | Type | Description | Notes - **Content-Type**: application/json - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single File object. | - | @@ -111,7 +140,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **create_file_version** -> File create_file_version(file_id) +> File create_file_version(file_id, create_file_version_request=create_file_version_request) Create File Version @@ -120,14 +149,11 @@ Creates a new FileVersion. Once a Version has been created, proceed to the `/fil ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import files_api -from vrchatapi.model.file import File -from vrchatapi.model.create_file_version_request import CreateFileVersionRequest +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -155,40 +181,69 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = files_api.FilesApi(api_client) - file_id = "file_00000000-0000-0000-0000-000000000000" # str | - create_file_version_request = CreateFileVersionRequest( - signature_md5="signature_md5_example", - signature_size_in_bytes=3.14, - file_md5="file_md5_example", - file_size_in_bytes=3.14, - ) # CreateFileVersionRequest | (optional) - - # example passing only required values which don't have defaults set + api_instance = vrchatapi.FilesApi(api_client) + file_id = 'file_00000000-0000-0000-0000-000000000000' # str | +create_file_version_request = vrchatapi.CreateFileVersionRequest() # CreateFileVersionRequest | (optional) + try: # Create File Version - api_response = api_instance.create_file_version(file_id) + api_response = api_instance.create_file_version(file_id, create_file_version_request=create_file_version_request) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling FilesApi->create_file_version: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.FilesApi(api_client) + file_id = 'file_00000000-0000-0000-0000-000000000000' # str | +create_file_version_request = vrchatapi.CreateFileVersionRequest() # CreateFileVersionRequest | (optional) - # example passing only required values which don't have defaults set - # and optional values try: # Create File Version api_response = api_instance.create_file_version(file_id, create_file_version_request=create_file_version_request) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling FilesApi->create_file_version: %s\n" % e) ``` - ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **file_id** | **str**| | - **create_file_version_request** | [**CreateFileVersionRequest**](CreateFileVersionRequest.md)| | [optional] + **file_id** | **str**| | + **create_file_version_request** | [**CreateFileVersionRequest**](CreateFileVersionRequest.md)| | [optional] ### Return type @@ -203,9 +258,7 @@ Name | Type | Description | Notes - **Content-Type**: application/json - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single File object. | - | @@ -222,14 +275,11 @@ Deletes a File object. ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import files_api -from vrchatapi.model.success import Success -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -257,24 +307,66 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = files_api.FilesApi(api_client) - file_id = "file_00000000-0000-0000-0000-000000000000" # str | + api_instance = vrchatapi.FilesApi(api_client) + file_id = 'file_00000000-0000-0000-0000-000000000000' # str | - # example passing only required values which don't have defaults set try: # Delete File api_response = api_instance.delete_file(file_id) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling FilesApi->delete_file: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.FilesApi(api_client) + file_id = 'file_00000000-0000-0000-0000-000000000000' # str | + + try: + # Delete File + api_response = api_instance.delete_file(file_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling FilesApi->delete_file: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **file_id** | **str**| | + **file_id** | **str**| | ### Return type @@ -289,9 +381,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Successful response after deleting a File. | - | @@ -309,14 +399,11 @@ Delete a specific version of a file. You can only delete the latest version. ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import files_api -from vrchatapi.model.file import File -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -344,26 +431,69 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = files_api.FilesApi(api_client) - file_id = "file_00000000-0000-0000-0000-000000000000" # str | - version_id = 1 # int | + api_instance = vrchatapi.FilesApi(api_client) + file_id = 'file_00000000-0000-0000-0000-000000000000' # str | +version_id = 1 # int | - # example passing only required values which don't have defaults set try: # Delete File Version api_response = api_instance.delete_file_version(file_id, version_id) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling FilesApi->delete_file_version: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.FilesApi(api_client) + file_id = 'file_00000000-0000-0000-0000-000000000000' # str | +version_id = 1 # int | + + try: + # Delete File Version + api_response = api_instance.delete_file_version(file_id, version_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling FilesApi->delete_file_version: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **file_id** | **str**| | - **version_id** | **int**| | + **file_id** | **str**| | + **version_id** | **int**| | ### Return type @@ -378,9 +508,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single File object. | - | @@ -399,12 +527,11 @@ Downloads the file with the provided version number. **Version Note:** Version ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import files_api +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -432,25 +559,67 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = files_api.FilesApi(api_client) - file_id = "file_00000000-0000-0000-0000-000000000000" # str | - version_id = 1 # int | + api_instance = vrchatapi.FilesApi(api_client) + file_id = 'file_00000000-0000-0000-0000-000000000000' # str | +version_id = 1 # int | - # example passing only required values which don't have defaults set try: # Download File Version api_instance.download_file_version(file_id, version_id) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling FilesApi->download_file_version: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.FilesApi(api_client) + file_id = 'file_00000000-0000-0000-0000-000000000000' # str | +version_id = 1 # int | + + try: + # Download File Version + api_instance.download_file_version(file_id, version_id) + except ApiException as e: + print("Exception when calling FilesApi->download_file_version: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **file_id** | **str**| | - **version_id** | **int**| | + **file_id** | **str**| | + **version_id** | **int**| | ### Return type @@ -465,9 +634,7 @@ void (empty response body) - **Content-Type**: Not defined - **Accept**: Not defined - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Raw file | - | @@ -475,7 +642,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **finish_file_data_upload** -> File finish_file_data_upload(file_id, version_id, file_type) +> File finish_file_data_upload(file_id, version_id, file_type, finish_file_data_upload_request=finish_file_data_upload_request) Finish FileData Upload @@ -484,14 +651,11 @@ Finish an upload of a FileData. This will mark it as \"complete\". After uploadi ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import files_api -from vrchatapi.model.file import File -from vrchatapi.model.finish_file_data_upload_request import FinishFileDataUploadRequest +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -519,45 +683,75 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = files_api.FilesApi(api_client) - file_id = "file_00000000-0000-0000-0000-000000000000" # str | - version_id = 1 # int | - file_type = "file" # str | - finish_file_data_upload_request = FinishFileDataUploadRequest( - etags=[ - "etags_example", - ], - next_part_number="0", - max_parts="0", - ) # FinishFileDataUploadRequest | Please see documentation on ETag's: [https://teppen.io/2018/06/23/aws_s3_etags/](https://teppen.io/2018/06/23/aws_s3_etags/) ETag's should NOT be present when uploading a `signature`. (optional) - - # example passing only required values which don't have defaults set + api_instance = vrchatapi.FilesApi(api_client) + file_id = 'file_00000000-0000-0000-0000-000000000000' # str | +version_id = 1 # int | +file_type = 'file' # str | +finish_file_data_upload_request = {"etags":["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy"],"nextPartNumber":"0","maxParts":"0"} # FinishFileDataUploadRequest | Please see documentation on ETag's: [https://teppen.io/2018/06/23/aws_s3_etags/](https://teppen.io/2018/06/23/aws_s3_etags/) ETag's should NOT be present when uploading a `signature`. (optional) + try: # Finish FileData Upload - api_response = api_instance.finish_file_data_upload(file_id, version_id, file_type) + api_response = api_instance.finish_file_data_upload(file_id, version_id, file_type, finish_file_data_upload_request=finish_file_data_upload_request) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling FilesApi->finish_file_data_upload: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.FilesApi(api_client) + file_id = 'file_00000000-0000-0000-0000-000000000000' # str | +version_id = 1 # int | +file_type = 'file' # str | +finish_file_data_upload_request = {"etags":["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy"],"nextPartNumber":"0","maxParts":"0"} # FinishFileDataUploadRequest | Please see documentation on ETag's: [https://teppen.io/2018/06/23/aws_s3_etags/](https://teppen.io/2018/06/23/aws_s3_etags/) ETag's should NOT be present when uploading a `signature`. (optional) - # example passing only required values which don't have defaults set - # and optional values try: # Finish FileData Upload api_response = api_instance.finish_file_data_upload(file_id, version_id, file_type, finish_file_data_upload_request=finish_file_data_upload_request) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling FilesApi->finish_file_data_upload: %s\n" % e) ``` - ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **file_id** | **str**| | - **version_id** | **int**| | - **file_type** | **str**| | - **finish_file_data_upload_request** | [**FinishFileDataUploadRequest**](FinishFileDataUploadRequest.md)| Please see documentation on ETag's: [https://teppen.io/2018/06/23/aws_s3_etags/](https://teppen.io/2018/06/23/aws_s3_etags/) ETag's should NOT be present when uploading a `signature`. | [optional] + **file_id** | **str**| | + **version_id** | **int**| | + **file_type** | **str**| | + **finish_file_data_upload_request** | [**FinishFileDataUploadRequest**](FinishFileDataUploadRequest.md)| Please see documentation on ETag's: [https://teppen.io/2018/06/23/aws_s3_etags/](https://teppen.io/2018/06/23/aws_s3_etags/) ETag's should NOT be present when uploading a `signature`. | [optional] ### Return type @@ -572,9 +766,7 @@ Name | Type | Description | Notes - **Content-Type**: application/json - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single File object. | - | @@ -591,14 +783,11 @@ Shows general information about the \"File\" object. Each File can have several ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import files_api -from vrchatapi.model.file import File -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -626,24 +815,66 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = files_api.FilesApi(api_client) - file_id = "file_00000000-0000-0000-0000-000000000000" # str | + api_instance = vrchatapi.FilesApi(api_client) + file_id = 'file_00000000-0000-0000-0000-000000000000' # str | - # example passing only required values which don't have defaults set try: # Show File api_response = api_instance.get_file(file_id) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling FilesApi->get_file: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.FilesApi(api_client) + file_id = 'file_00000000-0000-0000-0000-000000000000' # str | + + try: + # Show File + api_response = api_instance.get_file(file_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling FilesApi->get_file: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **file_id** | **str**| | + **file_id** | **str**| | ### Return type @@ -658,9 +889,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single File object. | - | @@ -678,13 +907,11 @@ Retrieves the upload status for file upload. Can currently only be accessed when ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import files_api -from vrchatapi.model.file_version_upload_status import FileVersionUploadStatus +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -712,28 +939,72 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = files_api.FilesApi(api_client) - file_id = "file_00000000-0000-0000-0000-000000000000" # str | - version_id = 1 # int | - file_type = "file" # str | + api_instance = vrchatapi.FilesApi(api_client) + file_id = 'file_00000000-0000-0000-0000-000000000000' # str | +version_id = 1 # int | +file_type = 'file' # str | - # example passing only required values which don't have defaults set try: # Check FileData Upload Status api_response = api_instance.get_file_data_upload_status(file_id, version_id, file_type) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling FilesApi->get_file_data_upload_status: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.FilesApi(api_client) + file_id = 'file_00000000-0000-0000-0000-000000000000' # str | +version_id = 1 # int | +file_type = 'file' # str | + + try: + # Check FileData Upload Status + api_response = api_instance.get_file_data_upload_status(file_id, version_id, file_type) + pprint(api_response) + except ApiException as e: + print("Exception when calling FilesApi->get_file_data_upload_status: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **file_id** | **str**| | - **version_id** | **int**| | - **file_type** | **str**| | + **file_id** | **str**| | + **version_id** | **int**| | + **file_type** | **str**| | ### Return type @@ -748,9 +1019,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Current FileVersion upload status. Contains the uploadId needed for uploading, as well as the already uploaded parts. | - | @@ -758,7 +1027,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_files** -> [File] get_files() +> list[File] get_files(tag=tag, user_id=user_id, n=n, offset=offset) List Files @@ -767,13 +1036,11 @@ Returns a list of files ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import files_api -from vrchatapi.model.file import File +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -801,35 +1068,79 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = files_api.FilesApi(api_client) - tag = "tag_example" # str | Tag, for example \"icon\" or \"gallery\", not included by default. (optional) - user_id = "userId_example" # str | UserID, will always generate a 500 permission error. (optional) - n = 60 # int | The number of objects to return. (optional) if omitted the server will use the default value of 60 - offset = 0 # int | A zero-based offset from the default object sorting from where search results start. (optional) - - # example passing only required values which don't have defaults set - # and optional values + api_instance = vrchatapi.FilesApi(api_client) + tag = 'tag_example' # str | Tag, for example \"icon\" or \"gallery\", not included by default. (optional) +user_id = 'user_id_example' # str | UserID, will always generate a 500 permission error. (optional) +n = 60 # int | The number of objects to return. (optional) (default to 60) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) + try: # List Files api_response = api_instance.get_files(tag=tag, user_id=user_id, n=n, offset=offset) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling FilesApi->get_files: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.FilesApi(api_client) + tag = 'tag_example' # str | Tag, for example \"icon\" or \"gallery\", not included by default. (optional) +user_id = 'user_id_example' # str | UserID, will always generate a 500 permission error. (optional) +n = 60 # int | The number of objects to return. (optional) (default to 60) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) + + try: + # List Files + api_response = api_instance.get_files(tag=tag, user_id=user_id, n=n, offset=offset) + pprint(api_response) + except ApiException as e: + print("Exception when calling FilesApi->get_files: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **tag** | **str**| Tag, for example \"icon\" or \"gallery\", not included by default. | [optional] - **user_id** | **str**| UserID, will always generate a 500 permission error. | [optional] - **n** | **int**| The number of objects to return. | [optional] if omitted the server will use the default value of 60 - **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + **tag** | **str**| Tag, for example \"icon\" or \"gallery\", not included by default. | [optional] + **user_id** | **str**| UserID, will always generate a 500 permission error. | [optional] + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] ### Return type -[**[File]**](File.md) +[**list[File]**](File.md) ### Authorization @@ -840,9 +1151,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of File objects. | - | @@ -850,7 +1159,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **start_file_data_upload** -> FileUploadURL start_file_data_upload(file_id, version_id, file_type) +> FileUploadURL start_file_data_upload(file_id, version_id, file_type, part_number=part_number) Start FileData Upload @@ -859,14 +1168,11 @@ Starts an upload of a specific FilePart. This endpoint will return an AWS URL wh ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import files_api -from vrchatapi.model.file_upload_url import FileUploadURL -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -894,39 +1200,75 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = files_api.FilesApi(api_client) - file_id = "file_00000000-0000-0000-0000-000000000000" # str | - version_id = 1 # int | - file_type = "file" # str | - part_number = 1 # int | (optional) + api_instance = vrchatapi.FilesApi(api_client) + file_id = 'file_00000000-0000-0000-0000-000000000000' # str | +version_id = 1 # int | +file_type = 'file' # str | +part_number = 1 # int | (optional) - # example passing only required values which don't have defaults set try: # Start FileData Upload - api_response = api_instance.start_file_data_upload(file_id, version_id, file_type) + api_response = api_instance.start_file_data_upload(file_id, version_id, file_type, part_number=part_number) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling FilesApi->start_file_data_upload: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.FilesApi(api_client) + file_id = 'file_00000000-0000-0000-0000-000000000000' # str | +version_id = 1 # int | +file_type = 'file' # str | +part_number = 1 # int | (optional) - # example passing only required values which don't have defaults set - # and optional values try: # Start FileData Upload api_response = api_instance.start_file_data_upload(file_id, version_id, file_type, part_number=part_number) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling FilesApi->start_file_data_upload: %s\n" % e) ``` - ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **file_id** | **str**| | - **version_id** | **int**| | - **file_type** | **str**| | - **part_number** | **int**| | [optional] + **file_id** | **str**| | + **version_id** | **int**| | + **file_type** | **str**| | + **part_number** | **int**| | [optional] ### Return type @@ -941,9 +1283,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | See [https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html](AWS REST docs - PUT Object) | - | diff --git a/docs/FinishFileDataUploadRequest.md b/docs/FinishFileDataUploadRequest.md index 886d5baf..e89dc552 100644 --- a/docs/FinishFileDataUploadRequest.md +++ b/docs/FinishFileDataUploadRequest.md @@ -1,13 +1,13 @@ # FinishFileDataUploadRequest + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**next_part_number** | **str** | Always a zero in string form, despite how many parts uploaded. | defaults to "0" -**max_parts** | **str** | Always a zero in string form, despite how many parts uploaded. | defaults to "0" -**etags** | **[str]** | Array of ETags uploaded. | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] +**etags** | **list[str]** | Array of ETags uploaded. | [optional] +**next_part_number** | **str** | Always a zero in string form, despite how many parts uploaded. | [default to '0'] +**max_parts** | **str** | Always a zero in string form, despite how many parts uploaded. | [default to '0'] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FriendStatus.md b/docs/FriendStatus.md index 931de7ac..1faea373 100644 --- a/docs/FriendStatus.md +++ b/docs/FriendStatus.md @@ -4,10 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**incoming_request** | **bool** | | defaults to False -**is_friend** | **bool** | | defaults to False -**outgoing_request** | **bool** | | defaults to False -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] +**incoming_request** | **bool** | | [default to False] +**is_friend** | **bool** | | [default to False] +**outgoing_request** | **bool** | | [default to False] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FriendsApi.md b/docs/FriendsApi.md index 3d374372..79781124 100644 --- a/docs/FriendsApi.md +++ b/docs/FriendsApi.md @@ -21,14 +21,11 @@ Deletes an outgoing pending friend request to another user. To delete an incomin ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import friends_api -from vrchatapi.model.success import Success -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -56,24 +53,66 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = friends_api.FriendsApi(api_client) - user_id = "userId_example" # str | + api_instance = vrchatapi.FriendsApi(api_client) + user_id = 'user_id_example' # str | - # example passing only required values which don't have defaults set try: # Delete Friend Request api_response = api_instance.delete_friend_request(user_id) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling FriendsApi->delete_friend_request: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.FriendsApi(api_client) + user_id = 'user_id_example' # str | + + try: + # Delete Friend Request + api_response = api_instance.delete_friend_request(user_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling FriendsApi->delete_friend_request: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | + **user_id** | **str**| | ### Return type @@ -88,9 +127,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Successful response after cancelling a friend request. | - | @@ -109,14 +146,11 @@ Send a friend request to another user. ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import friends_api -from vrchatapi.model.notification import Notification -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -144,24 +178,66 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = friends_api.FriendsApi(api_client) - user_id = "userId_example" # str | + api_instance = vrchatapi.FriendsApi(api_client) + user_id = 'user_id_example' # str | - # example passing only required values which don't have defaults set try: # Send Friend Request api_response = api_instance.friend(user_id) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling FriendsApi->friend: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.FriendsApi(api_client) + user_id = 'user_id_example' # str | + + try: + # Send Friend Request + api_response = api_instance.friend(user_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling FriendsApi->friend: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | + **user_id** | **str**| | ### Return type @@ -176,9 +252,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single Notifcation object. | - | @@ -197,14 +271,11 @@ Retrieve if the user is currently a friend with a given user, if they have an ou ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import friends_api -from vrchatapi.model.friend_status import FriendStatus -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -232,24 +303,66 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = friends_api.FriendsApi(api_client) - user_id = "userId_example" # str | + api_instance = vrchatapi.FriendsApi(api_client) + user_id = 'user_id_example' # str | - # example passing only required values which don't have defaults set try: # Check Friend Status api_response = api_instance.get_friend_status(user_id) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling FriendsApi->get_friend_status: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.FriendsApi(api_client) + user_id = 'user_id_example' # str | + + try: + # Check Friend Status + api_response = api_instance.get_friend_status(user_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling FriendsApi->get_friend_status: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | + **user_id** | **str**| | ### Return type @@ -264,9 +377,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a users Friend Status. | - | @@ -275,7 +386,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_friends** -> [LimitedUser] get_friends() +> list[LimitedUser] get_friends(offset=offset, n=n, offline=offline) List Friends @@ -284,14 +395,11 @@ List information about friends. ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import friends_api -from vrchatapi.model.limited_user import LimitedUser -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -319,33 +427,76 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = friends_api.FriendsApi(api_client) - offset = 0 # int | A zero-based offset from the default object sorting from where search results start. (optional) - n = 60 # int | The number of objects to return. (optional) if omitted the server will use the default value of 60 - offline = True # bool | Returns *only* offline users if true, returns only online and active users if false (optional) + api_instance = vrchatapi.FriendsApi(api_client) + offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) +n = 60 # int | The number of objects to return. (optional) (default to 60) +offline = True # bool | Returns *only* offline users if true, returns only online and active users if false (optional) - # example passing only required values which don't have defaults set - # and optional values try: # List Friends api_response = api_instance.get_friends(offset=offset, n=n, offline=offline) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling FriendsApi->get_friends: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.FriendsApi(api_client) + offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) +n = 60 # int | The number of objects to return. (optional) (default to 60) +offline = True # bool | Returns *only* offline users if true, returns only online and active users if false (optional) + + try: + # List Friends + api_response = api_instance.get_friends(offset=offset, n=n, offline=offline) + pprint(api_response) + except ApiException as e: + print("Exception when calling FriendsApi->get_friends: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] - **n** | **int**| The number of objects to return. | [optional] if omitted the server will use the default value of 60 - **offline** | **bool**| Returns *only* offline users if true, returns only online and active users if false | [optional] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **offline** | **bool**| Returns *only* offline users if true, returns only online and active users if false | [optional] ### Return type -[**[LimitedUser]**](LimitedUser.md) +[**list[LimitedUser]**](LimitedUser.md) ### Authorization @@ -356,9 +507,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of LimitedUser objects. | - | @@ -376,14 +525,11 @@ Unfriend a user by ID. ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import friends_api -from vrchatapi.model.success import Success -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -411,24 +557,66 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = friends_api.FriendsApi(api_client) - user_id = "userId_example" # str | + api_instance = vrchatapi.FriendsApi(api_client) + user_id = 'user_id_example' # str | - # example passing only required values which don't have defaults set try: # Unfriend api_response = api_instance.unfriend(user_id) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling FriendsApi->unfriend: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.FriendsApi(api_client) + user_id = 'user_id_example' # str | + + try: + # Unfriend + api_response = api_instance.unfriend(user_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling FriendsApi->unfriend: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | + **user_id** | **str**| | ### Return type @@ -443,9 +631,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Successful response after unfriending a user. | - | diff --git a/docs/InfoPush.md b/docs/InfoPush.md index 9031b2ac..f6500fce 100644 --- a/docs/InfoPush.md +++ b/docs/InfoPush.md @@ -1,21 +1,21 @@ # InfoPush + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **str** | | +**is_enabled** | **bool** | | [default to True] **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | **priority** | **int** | | -**tags** | [**[Tag]**](Tag.md) | | +**tags** | **list[str]** | | **data** | [**InfoPushData**](InfoPushData.md) | | **hash** | **str** | Unknown usage, MD5 | **created_at** | **datetime** | | **updated_at** | **datetime** | | -**is_enabled** | **bool** | | defaults to True **start_date** | **datetime** | | [optional] **end_date** | **datetime** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InfoPushData.md b/docs/InfoPushData.md index 614c9bce..26891523 100644 --- a/docs/InfoPushData.md +++ b/docs/InfoPushData.md @@ -1,6 +1,7 @@ # InfoPushData + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- @@ -12,7 +13,6 @@ Name | Type | Description | Notes **template** | **str** | | [optional] **version** | **str** | | [optional] **article** | [**InfoPushDataArticle**](InfoPushDataArticle.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InfoPushDataArticle.md b/docs/InfoPushDataArticle.md index 50afeff5..3b772137 100644 --- a/docs/InfoPushDataArticle.md +++ b/docs/InfoPushDataArticle.md @@ -5,7 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **content** | [**InfoPushDataArticleContent**](InfoPushDataArticleContent.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InfoPushDataArticleContent.md b/docs/InfoPushDataArticleContent.md index ffb69858..10bb7ddf 100644 --- a/docs/InfoPushDataArticleContent.md +++ b/docs/InfoPushDataArticleContent.md @@ -7,7 +7,6 @@ Name | Type | Description | Notes **text** | **str** | | [optional] **image_url** | **str** | | [optional] **on_pressed** | [**InfoPushDataClickable**](InfoPushDataClickable.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InfoPushDataClickable.md b/docs/InfoPushDataClickable.md index b43760cc..238f821c 100644 --- a/docs/InfoPushDataClickable.md +++ b/docs/InfoPushDataClickable.md @@ -5,8 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **command** | **str** | | -**parameters** | **[str]** | In case of OpenURL, this would contain the link. | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] +**parameters** | **list[str]** | In case of OpenURL, this would contain the link. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Instance.md b/docs/Instance.md index 06815cfd..979fd136 100644 --- a/docs/Instance.md +++ b/docs/Instance.md @@ -5,30 +5,29 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**active** | **bool** | | [default to True] +**can_request_invite** | **bool** | | [default to True] **capacity** | **int** | | **client_number** | **str** | Always returns \"unknown\". | -**id** | [**InstanceID**](InstanceID.md) | | +**full** | **bool** | | [default to False] +**id** | **str** | InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. | **instance_id** | **str** | | -**location** | [**InstanceID**](InstanceID.md) | | +**location** | **str** | InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. | **n_users** | **int** | | **name** | **str** | | +**owner_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] +**permanent** | **bool** | | [default to False] **photon_region** | [**Region**](Region.md) | | **platforms** | [**InstancePlatforms**](InstancePlatforms.md) | | **region** | [**Region**](Region.md) | | **secure_name** | **str** | | -**tags** | [**[Tag]**](Tag.md) | The tags array on Instances usually contain the language tags of the people in the instance. | -**type** | [**InstanceType**](InstanceType.md) | | -**world_id** | [**WorldID**](WorldID.md) | | -**active** | **bool** | | defaults to True -**can_request_invite** | **bool** | | defaults to True -**full** | **bool** | | defaults to False -**permanent** | **bool** | | defaults to False -**owner_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] **short_name** | **str** | | [optional] +**tags** | **list[str]** | The tags array on Instances usually contain the language tags of the people in the instance. | +**type** | [**InstanceType**](InstanceType.md) | | +**world_id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | **hidden** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] **friends** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] **private** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InstanceID.md b/docs/InstanceID.md deleted file mode 100644 index 4a8b29d2..00000000 --- a/docs/InstanceID.md +++ /dev/null @@ -1,12 +0,0 @@ -# InstanceID - -InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | **str** | InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/InstancePlatforms.md b/docs/InstancePlatforms.md index 6757d243..c875587a 100644 --- a/docs/InstancePlatforms.md +++ b/docs/InstancePlatforms.md @@ -6,7 +6,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **android** | **int** | | **standalonewindows** | **int** | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InstanceShortNameResponse.md b/docs/InstanceShortNameResponse.md index 5abf628a..4d258451 100644 --- a/docs/InstanceShortNameResponse.md +++ b/docs/InstanceShortNameResponse.md @@ -6,7 +6,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **secure_name** | **str** | | **short_name** | **str** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InstanceType.md b/docs/InstanceType.md index b215466d..2b332526 100644 --- a/docs/InstanceType.md +++ b/docs/InstanceType.md @@ -1,10 +1,10 @@ # InstanceType + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | **str** | | must be one of ["public", "hidden", "friends", "private", ] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InstancesApi.md b/docs/InstancesApi.md index 30afb29d..edb4fcb7 100644 --- a/docs/InstancesApi.md +++ b/docs/InstancesApi.md @@ -20,14 +20,11 @@ Returns an instance. Please read [Instances Tutorial](https://vrchatapi.github.i ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import instances_api -from vrchatapi.model.error import Error -from vrchatapi.model.instance import Instance +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -55,26 +52,69 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = instances_api.InstancesApi(api_client) - world_id = "worldId_example" # str | - instance_id = "instanceId_example" # str | + api_instance = vrchatapi.InstancesApi(api_client) + world_id = 'world_id_example' # str | +instance_id = 'instance_id_example' # str | - # example passing only required values which don't have defaults set try: # Get Instance api_response = api_instance.get_instance(world_id, instance_id) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling InstancesApi->get_instance: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.InstancesApi(api_client) + world_id = 'world_id_example' # str | +instance_id = 'instance_id_example' # str | + + try: + # Get Instance + api_response = api_instance.get_instance(world_id, instance_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling InstancesApi->get_instance: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **world_id** | **str**| | - **instance_id** | **str**| | + **world_id** | **str**| | + **instance_id** | **str**| | ### Return type @@ -89,9 +129,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single Instance object. | - | @@ -109,14 +147,11 @@ Returns an instance. Please read [Instances Tutorial](https://vrchatapi.github.i ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import instances_api -from vrchatapi.model.error import Error -from vrchatapi.model.instance import Instance +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -144,24 +179,66 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = instances_api.InstancesApi(api_client) - short_name = "shortName_example" # str | + api_instance = vrchatapi.InstancesApi(api_client) + short_name = 'short_name_example' # str | - # example passing only required values which don't have defaults set try: # Get Instance By Short Name api_response = api_instance.get_instance_by_short_name(short_name) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling InstancesApi->get_instance_by_short_name: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.InstancesApi(api_client) + short_name = 'short_name_example' # str | + + try: + # Get Instance By Short Name + api_response = api_instance.get_instance_by_short_name(short_name) + pprint(api_response) + except ApiException as e: + print("Exception when calling InstancesApi->get_instance_by_short_name: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **short_name** | **str**| | + **short_name** | **str**| | ### Return type @@ -176,9 +253,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single Instance object. | - | @@ -197,14 +272,11 @@ Returns an instance short name. ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import instances_api -from vrchatapi.model.instance_short_name_response import InstanceShortNameResponse -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -232,26 +304,69 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = instances_api.InstancesApi(api_client) - world_id = "worldId_example" # str | - instance_id = "instanceId_example" # str | + api_instance = vrchatapi.InstancesApi(api_client) + world_id = 'world_id_example' # str | +instance_id = 'instance_id_example' # str | - # example passing only required values which don't have defaults set try: # Get Instance Short Name api_response = api_instance.get_short_name(world_id, instance_id) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling InstancesApi->get_short_name: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.InstancesApi(api_client) + world_id = 'world_id_example' # str | +instance_id = 'instance_id_example' # str | + + try: + # Get Instance Short Name + api_response = api_instance.get_short_name(world_id, instance_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling InstancesApi->get_short_name: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **world_id** | **str**| | - **instance_id** | **str**| | + **world_id** | **str**| | + **instance_id** | **str**| | ### Return type @@ -266,9 +381,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: text/plain, application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns an instance secureName and/or shortName. | - | @@ -286,14 +399,11 @@ Sends an invite to the instance to yourself. ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import instances_api -from vrchatapi.model.success import Success -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -321,26 +431,69 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = instances_api.InstancesApi(api_client) - world_id = "worldId_example" # str | - instance_id = "instanceId_example" # str | + api_instance = vrchatapi.InstancesApi(api_client) + world_id = 'world_id_example' # str | +instance_id = 'instance_id_example' # str | - # example passing only required values which don't have defaults set try: # Send Self Invite api_response = api_instance.send_self_invite(world_id, instance_id) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling InstancesApi->send_self_invite: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.InstancesApi(api_client) + world_id = 'world_id_example' # str | +instance_id = 'instance_id_example' # str | + + try: + # Send Self Invite + api_response = api_instance.send_self_invite(world_id, instance_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling InstancesApi->send_self_invite: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **world_id** | **str**| | - **instance_id** | **str**| | + **world_id** | **str**| | + **instance_id** | **str**| | ### Return type @@ -355,9 +508,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Success response after sending an invite to yourself to the instance. | - | diff --git a/docs/InviteApi.md b/docs/InviteApi.md index 1f3f38b6..ac6b4175 100644 --- a/docs/InviteApi.md +++ b/docs/InviteApi.md @@ -24,14 +24,11 @@ Returns a single Invite Message. This returns the exact same information but les ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import invite_api -from vrchatapi.model.invite_message import InviteMessage -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -59,28 +56,72 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = invite_api.InviteApi(api_client) - user_id = "userId_example" # str | - message_type = "message" # str | - slot = 0 # int | + api_instance = vrchatapi.InviteApi(api_client) + user_id = 'user_id_example' # str | +message_type = 'message_type_example' # str | +slot = 56 # int | - # example passing only required values which don't have defaults set try: # Get Invite Message api_response = api_instance.get_invite_message(user_id, message_type, slot) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling InviteApi->get_invite_message: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.InviteApi(api_client) + user_id = 'user_id_example' # str | +message_type = 'message_type_example' # str | +slot = 56 # int | + + try: + # Get Invite Message + api_response = api_instance.get_invite_message(user_id, message_type, slot) + pprint(api_response) + except ApiException as e: + print("Exception when calling InviteApi->get_invite_message: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | - **message_type** | **str**| | - **slot** | **int**| | + **user_id** | **str**| | + **message_type** | **str**| | + **slot** | **int**| | ### Return type @@ -95,9 +136,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single InviteMessage object. | - | @@ -108,7 +147,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_invite_messages** -> [InviteMessage] get_invite_messages(user_id, message_type) +> list[InviteMessage] get_invite_messages(user_id, message_type) List Invite Messages @@ -117,14 +156,11 @@ Returns a list of all the users Invite Messages. Admin Credentials are required ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import invite_api -from vrchatapi.model.invite_message import InviteMessage -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -152,30 +188,73 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = invite_api.InviteApi(api_client) - user_id = "userId_example" # str | - message_type = "message" # str | + api_instance = vrchatapi.InviteApi(api_client) + user_id = 'user_id_example' # str | +message_type = 'message_type_example' # str | - # example passing only required values which don't have defaults set try: # List Invite Messages api_response = api_instance.get_invite_messages(user_id, message_type) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling InviteApi->get_invite_messages: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.InviteApi(api_client) + user_id = 'user_id_example' # str | +message_type = 'message_type_example' # str | + + try: + # List Invite Messages + api_response = api_instance.get_invite_messages(user_id, message_type) + pprint(api_response) + except ApiException as e: + print("Exception when calling InviteApi->get_invite_messages: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | - **message_type** | **str**| | + **user_id** | **str**| | + **message_type** | **str**| | ### Return type -[**[InviteMessage]**](InviteMessage.md) +[**list[InviteMessage]**](InviteMessage.md) ### Authorization @@ -186,9 +265,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of InviteMessage objects. | - | @@ -207,14 +284,11 @@ Sends self an invite to an instance ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import invite_api -from vrchatapi.model.sent_notification import SentNotification -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -242,26 +316,69 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = invite_api.InviteApi(api_client) - world_id = "worldId_example" # str | - instance_id = "instanceId_example" # str | + api_instance = vrchatapi.InviteApi(api_client) + world_id = 'world_id_example' # str | +instance_id = 'instance_id_example' # str | - # example passing only required values which don't have defaults set try: # Invite Myself To Instance api_response = api_instance.invite_myself_to(world_id, instance_id) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling InviteApi->invite_myself_to: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.InviteApi(api_client) + world_id = 'world_id_example' # str | +instance_id = 'instance_id_example' # str | + + try: + # Invite Myself To Instance + api_response = api_instance.invite_myself_to(world_id, instance_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling InviteApi->invite_myself_to: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **world_id** | **str**| | - **instance_id** | **str**| | + **world_id** | **str**| | + **instance_id** | **str**| | ### Return type @@ -276,9 +393,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single SentNotifcation object. | - | @@ -288,7 +403,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **invite_user** -> SentNotification invite_user(user_id) +> SentNotification invite_user(user_id, invite_request=invite_request) Invite User @@ -297,15 +412,11 @@ Sends an invite to a user. Returns the Notification of type `invite` that was se ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import invite_api -from vrchatapi.model.sent_notification import SentNotification -from vrchatapi.model.invite_request import InviteRequest -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -333,38 +444,69 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = invite_api.InviteApi(api_client) - user_id = "userId_example" # str | - invite_request = InviteRequest( - instance_id=InstanceID("wrld_ba913a96-fac4-4048-a062-9aa5db092812:12345~hidden(usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469)~region(eu)~nonce(27e8414a-59a0-4f3d-af1f-f27557eb49a2)"), - message_slot=0, - ) # InviteRequest | Slot number of the Invite Message to use when inviting a user. (optional) - - # example passing only required values which don't have defaults set + api_instance = vrchatapi.InviteApi(api_client) + user_id = 'user_id_example' # str | +invite_request = vrchatapi.InviteRequest() # InviteRequest | Slot number of the Invite Message to use when inviting a user. (optional) + try: # Invite User - api_response = api_instance.invite_user(user_id) + api_response = api_instance.invite_user(user_id, invite_request=invite_request) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling InviteApi->invite_user: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.InviteApi(api_client) + user_id = 'user_id_example' # str | +invite_request = vrchatapi.InviteRequest() # InviteRequest | Slot number of the Invite Message to use when inviting a user. (optional) - # example passing only required values which don't have defaults set - # and optional values try: # Invite User api_response = api_instance.invite_user(user_id, invite_request=invite_request) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling InviteApi->invite_user: %s\n" % e) ``` - ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | - **invite_request** | [**InviteRequest**](InviteRequest.md)| Slot number of the Invite Message to use when inviting a user. | [optional] + **user_id** | **str**| | + **invite_request** | [**InviteRequest**](InviteRequest.md)| Slot number of the Invite Message to use when inviting a user. | [optional] ### Return type @@ -379,9 +521,7 @@ Name | Type | Description | Notes - **Content-Type**: application/json - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single SentNotifcation object. | - | @@ -390,7 +530,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **request_invite** -> Notification request_invite(user_id) +> Notification request_invite(user_id, request_invite_request=request_invite_request) Request Invite @@ -399,15 +539,11 @@ Requests an invite from a user. Returns the Notification of type `requestInvite` ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import invite_api -from vrchatapi.model.notification import Notification -from vrchatapi.model.error import Error -from vrchatapi.model.request_invite_request import RequestInviteRequest +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -435,37 +571,69 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = invite_api.InviteApi(api_client) - user_id = "userId_example" # str | - request_invite_request = RequestInviteRequest( - message_slot=0, - ) # RequestInviteRequest | Slot number of the Request Message to use when request an invite. (optional) + api_instance = vrchatapi.InviteApi(api_client) + user_id = 'user_id_example' # str | +request_invite_request = vrchatapi.RequestInviteRequest() # RequestInviteRequest | Slot number of the Request Message to use when request an invite. (optional) - # example passing only required values which don't have defaults set try: # Request Invite - api_response = api_instance.request_invite(user_id) + api_response = api_instance.request_invite(user_id, request_invite_request=request_invite_request) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling InviteApi->request_invite: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.InviteApi(api_client) + user_id = 'user_id_example' # str | +request_invite_request = vrchatapi.RequestInviteRequest() # RequestInviteRequest | Slot number of the Request Message to use when request an invite. (optional) - # example passing only required values which don't have defaults set - # and optional values try: # Request Invite api_response = api_instance.request_invite(user_id, request_invite_request=request_invite_request) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling InviteApi->request_invite: %s\n" % e) ``` - ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | - **request_invite_request** | [**RequestInviteRequest**](RequestInviteRequest.md)| Slot number of the Request Message to use when request an invite. | [optional] + **user_id** | **str**| | + **request_invite_request** | [**RequestInviteRequest**](RequestInviteRequest.md)| Slot number of the Request Message to use when request an invite. | [optional] ### Return type @@ -480,9 +648,7 @@ Name | Type | Description | Notes - **Content-Type**: application/json - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single Notifcation object. | - | @@ -491,7 +657,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **reset_invite_message** -> [InviteMessage] reset_invite_message(user_id, message_type, slot) +> list[InviteMessage] reset_invite_message(user_id, message_type, slot) Reset Invite Message @@ -500,14 +666,11 @@ Resets a single Invite Message back to its original message, and then returns a ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import invite_api -from vrchatapi.model.invite_message import InviteMessage -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -535,32 +698,76 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = invite_api.InviteApi(api_client) - user_id = "userId_example" # str | - message_type = "message" # str | - slot = 0 # int | + api_instance = vrchatapi.InviteApi(api_client) + user_id = 'user_id_example' # str | +message_type = 'message_type_example' # str | +slot = 56 # int | - # example passing only required values which don't have defaults set try: # Reset Invite Message api_response = api_instance.reset_invite_message(user_id, message_type, slot) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling InviteApi->reset_invite_message: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.InviteApi(api_client) + user_id = 'user_id_example' # str | +message_type = 'message_type_example' # str | +slot = 56 # int | + + try: + # Reset Invite Message + api_response = api_instance.reset_invite_message(user_id, message_type, slot) + pprint(api_response) + except ApiException as e: + print("Exception when calling InviteApi->reset_invite_message: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | - **message_type** | **str**| | - **slot** | **int**| | + **user_id** | **str**| | + **message_type** | **str**| | + **slot** | **int**| | ### Return type -[**[InviteMessage]**](InviteMessage.md) +[**list[InviteMessage]**](InviteMessage.md) ### Authorization @@ -571,9 +778,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of InviteMessage objects. | - | @@ -585,7 +790,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **respond_invite** -> Notification respond_invite(notification_id) +> Notification respond_invite(notification_id, invite_response=invite_response) Respond Invite @@ -594,15 +799,11 @@ Respond to an invite request by sending a world invite to the requesting user. ` ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import invite_api -from vrchatapi.model.notification import Notification -from vrchatapi.model.invite_response import InviteResponse -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -630,37 +831,69 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = invite_api.InviteApi(api_client) - notification_id = "notificationId_example" # str | - invite_response = InviteResponse( - response_slot=0, - ) # InviteResponse | Slot number of the Response Message to use when responding to a user. (optional) + api_instance = vrchatapi.InviteApi(api_client) + notification_id = 'notification_id_example' # str | +invite_response = vrchatapi.InviteResponse() # InviteResponse | Slot number of the Response Message to use when responding to a user. (optional) - # example passing only required values which don't have defaults set try: # Respond Invite - api_response = api_instance.respond_invite(notification_id) + api_response = api_instance.respond_invite(notification_id, invite_response=invite_response) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling InviteApi->respond_invite: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.InviteApi(api_client) + notification_id = 'notification_id_example' # str | +invite_response = vrchatapi.InviteResponse() # InviteResponse | Slot number of the Response Message to use when responding to a user. (optional) - # example passing only required values which don't have defaults set - # and optional values try: # Respond Invite api_response = api_instance.respond_invite(notification_id, invite_response=invite_response) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling InviteApi->respond_invite: %s\n" % e) ``` - ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **notification_id** | **str**| | - **invite_response** | [**InviteResponse**](InviteResponse.md)| Slot number of the Response Message to use when responding to a user. | [optional] + **notification_id** | **str**| | + **invite_response** | [**InviteResponse**](InviteResponse.md)| Slot number of the Response Message to use when responding to a user. | [optional] ### Return type @@ -675,9 +908,7 @@ Name | Type | Description | Notes - **Content-Type**: application/json - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single Notifcation object. | - | @@ -686,7 +917,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **update_invite_message** -> [InviteMessage] update_invite_message(user_id, message_type, slot) +> list[InviteMessage] update_invite_message(user_id, message_type, slot, update_invite_message_request=update_invite_message_request) Update Invite Message @@ -695,15 +926,11 @@ Updates a single Invite Message and then returns a list of all of them. Admin Cr ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import invite_api -from vrchatapi.model.update_invite_message_request import UpdateInviteMessageRequest -from vrchatapi.model.invite_message import InviteMessage -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -731,45 +958,79 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = invite_api.InviteApi(api_client) - user_id = "userId_example" # str | - message_type = "message" # str | - slot = 0 # int | - update_invite_message_request = UpdateInviteMessageRequest( - message="message_example", - ) # UpdateInviteMessageRequest | Message of what to set the invite message to. (optional) - - # example passing only required values which don't have defaults set + api_instance = vrchatapi.InviteApi(api_client) + user_id = 'user_id_example' # str | +message_type = 'message_type_example' # str | +slot = 56 # int | +update_invite_message_request = vrchatapi.UpdateInviteMessageRequest() # UpdateInviteMessageRequest | Message of what to set the invite message to. (optional) + try: # Update Invite Message - api_response = api_instance.update_invite_message(user_id, message_type, slot) + api_response = api_instance.update_invite_message(user_id, message_type, slot, update_invite_message_request=update_invite_message_request) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling InviteApi->update_invite_message: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.InviteApi(api_client) + user_id = 'user_id_example' # str | +message_type = 'message_type_example' # str | +slot = 56 # int | +update_invite_message_request = vrchatapi.UpdateInviteMessageRequest() # UpdateInviteMessageRequest | Message of what to set the invite message to. (optional) - # example passing only required values which don't have defaults set - # and optional values try: # Update Invite Message api_response = api_instance.update_invite_message(user_id, message_type, slot, update_invite_message_request=update_invite_message_request) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling InviteApi->update_invite_message: %s\n" % e) ``` - ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | - **message_type** | **str**| | - **slot** | **int**| | - **update_invite_message_request** | [**UpdateInviteMessageRequest**](UpdateInviteMessageRequest.md)| Message of what to set the invite message to. | [optional] + **user_id** | **str**| | + **message_type** | **str**| | + **slot** | **int**| | + **update_invite_message_request** | [**UpdateInviteMessageRequest**](UpdateInviteMessageRequest.md)| Message of what to set the invite message to. | [optional] ### Return type -[**[InviteMessage]**](InviteMessage.md) +[**list[InviteMessage]**](InviteMessage.md) ### Authorization @@ -780,9 +1041,7 @@ Name | Type | Description | Notes - **Content-Type**: application/json - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of InviteMessage objects. | - | diff --git a/docs/InviteMessage.md b/docs/InviteMessage.md index 2243d559..2620174b 100644 --- a/docs/InviteMessage.md +++ b/docs/InviteMessage.md @@ -1,17 +1,17 @@ # InviteMessage + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | [**InviteMessageID**](InviteMessageID.md) | | +**can_be_updated** | **bool** | | [default to True] +**id** | **str** | | **message** | **str** | | **message_type** | [**InviteMessageType**](InviteMessageType.md) | | +**remaining_cooldown_minutes** | **int** | Changes to 60 when updated, although probably server-side configurable. | [default to 0] **slot** | **int** | | **updated_at** | **datetime** | | -**can_be_updated** | **bool** | | defaults to True -**remaining_cooldown_minutes** | **int** | Changes to 60 when updated, although probably server-side configurable. | defaults to 0 -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InviteMessageID.md b/docs/InviteMessageID.md deleted file mode 100644 index 740a7b4b..00000000 --- a/docs/InviteMessageID.md +++ /dev/null @@ -1,11 +0,0 @@ -# InviteMessageID - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | **str** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/InviteMessageType.md b/docs/InviteMessageType.md index 17233f36..7283c51f 100644 --- a/docs/InviteMessageType.md +++ b/docs/InviteMessageType.md @@ -1,10 +1,10 @@ # InviteMessageType + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | **str** | | defaults to "message", must be one of ["message", "response", "request", "requestResponse", ] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InviteRequest.md b/docs/InviteRequest.md index fa40af41..731010af 100644 --- a/docs/InviteRequest.md +++ b/docs/InviteRequest.md @@ -4,9 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**instance_id** | [**InstanceID**](InstanceID.md) | | +**instance_id** | **str** | InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. | **message_slot** | **int** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InviteResponse.md b/docs/InviteResponse.md index c073c16f..dbba5c62 100644 --- a/docs/InviteResponse.md +++ b/docs/InviteResponse.md @@ -5,7 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **response_slot** | **int** | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/License.md b/docs/License.md index a4497bef..e6e18258 100644 --- a/docs/License.md +++ b/docs/License.md @@ -8,7 +8,6 @@ Name | Type | Description | Notes **for_type** | [**LicenseType**](LicenseType.md) | | **for_name** | **str** | | **for_action** | [**LicenseAction**](LicenseAction.md) | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/LicenseAction.md b/docs/LicenseAction.md index 0a3e864e..472a1eef 100644 --- a/docs/LicenseAction.md +++ b/docs/LicenseAction.md @@ -4,7 +4,6 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | **str** | | defaults to "have", must be one of ["wear", "have", ] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/LicenseGroup.md b/docs/LicenseGroup.md index 0b52a65b..71f89aa5 100644 --- a/docs/LicenseGroup.md +++ b/docs/LicenseGroup.md @@ -1,14 +1,14 @@ # LicenseGroup + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | [**LicenseGroupID**](LicenseGroupID.md) | | +**id** | **str** | | **name** | **str** | | **description** | **str** | | -**licenses** | [**[License]**](License.md) | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] +**licenses** | [**list[License]**](License.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/LicenseGroupID.md b/docs/LicenseGroupID.md deleted file mode 100644 index d3c775d8..00000000 --- a/docs/LicenseGroupID.md +++ /dev/null @@ -1,11 +0,0 @@ -# LicenseGroupID - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | **str** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/LicenseType.md b/docs/LicenseType.md index e8d5631b..ea56b24f 100644 --- a/docs/LicenseType.md +++ b/docs/LicenseType.md @@ -4,7 +4,6 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | **str** | | defaults to "permission", must be one of ["avatar", "licenseGroup", "permission", "product", ] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/LimitedUnityPackage.md b/docs/LimitedUnityPackage.md index e7c93e3f..3c6a2299 100644 --- a/docs/LimitedUnityPackage.md +++ b/docs/LimitedUnityPackage.md @@ -1,12 +1,12 @@ # LimitedUnityPackage + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | **unity_version** | **str** | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/LimitedUser.md b/docs/LimitedUser.md index 58c2f03b..a4febad2 100644 --- a/docs/LimitedUser.md +++ b/docs/LimitedUser.md @@ -1,27 +1,27 @@ # LimitedUser + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**bio** | **str** | | [optional] **current_avatar_image_url** | **str** | When profilePicOverride is not empty, use it instead. | **current_avatar_thumbnail_image_url** | **str** | When profilePicOverride is not empty, use it instead. | **developer_type** | [**DeveloperType**](DeveloperType.md) | | **display_name** | **str** | | -**fallback_avatar** | [**AvatarID**](AvatarID.md) | | +**fallback_avatar** | **str** | | **id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | **is_friend** | **bool** | | **last_platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | **profile_pic_override** | **str** | | **status** | [**UserStatus**](UserStatus.md) | | **status_description** | **str** | | -**tags** | [**[Tag]**](Tag.md) | <- Always empty. | +**tags** | **list[str]** | <- Always empty. | **user_icon** | **str** | | -**bio** | **str** | | [optional] **username** | **str** | -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). | [optional] **location** | **str** | | [optional] **friend_key** | **str** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/LimitedWorld.md b/docs/LimitedWorld.md index 581d23c1..9e768d87 100644 --- a/docs/LimitedWorld.md +++ b/docs/LimitedWorld.md @@ -1,6 +1,7 @@ # LimitedWorld + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- @@ -8,22 +9,21 @@ Name | Type | Description | Notes **author_name** | **str** | | **capacity** | **int** | | **created_at** | **datetime** | | -**id** | [**WorldID**](WorldID.md) | | +**favorites** | **int** | | [default to 0] +**heat** | **int** | | [default to 0] +**id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | **image_url** | **str** | | **labs_publication_date** | **str** | | **name** | **str** | | +**occupants** | **int** | | [default to 0] +**organization** | **str** | | [default to 'vrchat'] +**popularity** | **int** | | [default to 0] **publication_date** | **str** | | **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | -**tags** | [**[Tag]**](Tag.md) | | +**tags** | **list[str]** | | **thumbnail_image_url** | **str** | | -**unity_packages** | [**[LimitedUnityPackage]**](LimitedUnityPackage.md) | | +**unity_packages** | [**list[LimitedUnityPackage]**](LimitedUnityPackage.md) | | **updated_at** | **datetime** | | -**favorites** | **int** | | defaults to 0 -**heat** | **int** | | defaults to 0 -**occupants** | **int** | | defaults to 0 -**organization** | **str** | | defaults to "vrchat" -**popularity** | **int** | | defaults to 0 -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/MIMEType.md b/docs/MIMEType.md index f43e9c06..b8225029 100644 --- a/docs/MIMEType.md +++ b/docs/MIMEType.md @@ -4,7 +4,6 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | **str** | | defaults to "image/jpeg", must be one of ["image/jpeg", "image/jpg", "image/png", "image/webp", "image/gif", "image/bmp", "image/svg+xml", "image/tiff", "application/x-avatar", "application/x-world", "application/gzip", "application/x-rsync-signature", "application/x-rsync-delta", "application/octet-stream", ] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Notification.md b/docs/Notification.md index 95bbdf40..a65c1615 100644 --- a/docs/Notification.md +++ b/docs/Notification.md @@ -1,18 +1,18 @@ # Notification + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **created_at** | **datetime** | | +**details** | **str** | **NOTICE:** This is not a JSON object, this is a json **encoded** object, meaning you have to json-de-encode to get the NotificationDetail object depending on the NotificationType. | [default to '{}'] **id** | **str** | | **message** | **str** | | +**seen** | **bool** | | [default to False] **sender_user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | -**type** | [**NotificationType**](NotificationType.md) | | -**details** | **str** | **NOTICE:** This is not a JSON object, this is a json **encoded** object, meaning you have to json-de-encode to get the NotificationDetail object depending on the NotificationType. | defaults to "{}" -**seen** | **bool** | | defaults to False **sender_username** | **str** | -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] +**type** | [**NotificationType**](NotificationType.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/NotificationType.md b/docs/NotificationType.md index bd311844..8af1de1a 100644 --- a/docs/NotificationType.md +++ b/docs/NotificationType.md @@ -4,7 +4,6 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | **str** | | defaults to "friendRequest", must be one of ["friendRequest", "invite", "inviteResponse", "requestInvite", "requestInviteResponse", "votetokick", ] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/NotificationsApi.md b/docs/NotificationsApi.md index 486be3de..03ae5f3a 100644 --- a/docs/NotificationsApi.md +++ b/docs/NotificationsApi.md @@ -21,14 +21,11 @@ Accept a friend request by notification `frq_` ID. Friend requests can be found ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import notifications_api -from vrchatapi.model.success import Success -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -56,24 +53,66 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = notifications_api.NotificationsApi(api_client) - notification_id = "notificationId_example" # str | + api_instance = vrchatapi.NotificationsApi(api_client) + notification_id = 'notification_id_example' # str | - # example passing only required values which don't have defaults set try: # Accept Friend Request api_response = api_instance.accept_friend_request(notification_id) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling NotificationsApi->accept_friend_request: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.NotificationsApi(api_client) + notification_id = 'notification_id_example' # str | + + try: + # Accept Friend Request + api_response = api_instance.accept_friend_request(notification_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling NotificationsApi->accept_friend_request: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **notification_id** | **str**| | + **notification_id** | **str**| | ### Return type @@ -88,9 +127,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Successful response after friending a user. | - | @@ -109,14 +146,11 @@ Clear **all** notifications. ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import notifications_api -from vrchatapi.model.success import Success -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -144,17 +178,58 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = notifications_api.NotificationsApi(api_client) - - # example, this endpoint has no required or optional parameters + api_instance = vrchatapi.NotificationsApi(api_client) + try: # Clear All Notifications api_response = api_instance.clear_notifications() pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling NotificationsApi->clear_notifications: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.NotificationsApi(api_client) + + try: + # Clear All Notifications + api_response = api_instance.clear_notifications() + pprint(api_response) + except ApiException as e: + print("Exception when calling NotificationsApi->clear_notifications: %s\n" % e) +``` ### Parameters This endpoint does not need any parameter. @@ -172,9 +247,7 @@ This endpoint does not need any parameter. - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Successful response after clearing all notifications. | - | @@ -192,14 +265,11 @@ Delete a notification. ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import notifications_api -from vrchatapi.model.notification import Notification -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -227,24 +297,66 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = notifications_api.NotificationsApi(api_client) - notification_id = "notificationId_example" # str | + api_instance = vrchatapi.NotificationsApi(api_client) + notification_id = 'notification_id_example' # str | - # example passing only required values which don't have defaults set try: # Delete Notification api_response = api_instance.delete_notification(notification_id) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling NotificationsApi->delete_notification: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.NotificationsApi(api_client) + notification_id = 'notification_id_example' # str | + + try: + # Delete Notification + api_response = api_instance.delete_notification(notification_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling NotificationsApi->delete_notification: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **notification_id** | **str**| | + **notification_id** | **str**| | ### Return type @@ -259,9 +371,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single Notifcation object. | - | @@ -270,7 +380,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_notifications** -> [Notification] get_notifications() +> list[Notification] get_notifications(type=type, sent=sent, hidden=hidden, after=after, n=n, offset=offset) List Notifications @@ -279,14 +389,11 @@ Retrieve all of the current user's notifications. ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import notifications_api -from vrchatapi.model.notification import Notification -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -314,39 +421,85 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = notifications_api.NotificationsApi(api_client) - type = "all" # str | Only send notifications of this type (can use `all` for all). This parameter no longer does anything, and is deprecated. (optional) - sent = True # bool | Return notifications sent by the user. Must be false or omitted. (optional) - hidden = True # bool | Whether to return hidden or non-hidden notifications. True only allowed on type `friendRequest`. (optional) - after = "five_minutes_ago" # str | Only return notifications sent after this Date. Ignored if type is `friendRequest`. (optional) - n = 60 # int | The number of objects to return. (optional) if omitted the server will use the default value of 60 - offset = 0 # int | A zero-based offset from the default object sorting from where search results start. (optional) - - # example passing only required values which don't have defaults set - # and optional values + api_instance = vrchatapi.NotificationsApi(api_client) + type = 'all' # str | Only send notifications of this type (can use `all` for all). This parameter no longer does anything, and is deprecated. (optional) +sent = True # bool | Return notifications sent by the user. Must be false or omitted. (optional) +hidden = True # bool | Whether to return hidden or non-hidden notifications. True only allowed on type `friendRequest`. (optional) +after = 'five_minutes_ago' # str | Only return notifications sent after this Date. Ignored if type is `friendRequest`. (optional) +n = 60 # int | The number of objects to return. (optional) (default to 60) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) + try: # List Notifications api_response = api_instance.get_notifications(type=type, sent=sent, hidden=hidden, after=after, n=n, offset=offset) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling NotificationsApi->get_notifications: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.NotificationsApi(api_client) + type = 'all' # str | Only send notifications of this type (can use `all` for all). This parameter no longer does anything, and is deprecated. (optional) +sent = True # bool | Return notifications sent by the user. Must be false or omitted. (optional) +hidden = True # bool | Whether to return hidden or non-hidden notifications. True only allowed on type `friendRequest`. (optional) +after = 'five_minutes_ago' # str | Only return notifications sent after this Date. Ignored if type is `friendRequest`. (optional) +n = 60 # int | The number of objects to return. (optional) (default to 60) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) + + try: + # List Notifications + api_response = api_instance.get_notifications(type=type, sent=sent, hidden=hidden, after=after, n=n, offset=offset) + pprint(api_response) + except ApiException as e: + print("Exception when calling NotificationsApi->get_notifications: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **type** | **str**| Only send notifications of this type (can use `all` for all). This parameter no longer does anything, and is deprecated. | [optional] - **sent** | **bool**| Return notifications sent by the user. Must be false or omitted. | [optional] - **hidden** | **bool**| Whether to return hidden or non-hidden notifications. True only allowed on type `friendRequest`. | [optional] - **after** | **str**| Only return notifications sent after this Date. Ignored if type is `friendRequest`. | [optional] - **n** | **int**| The number of objects to return. | [optional] if omitted the server will use the default value of 60 - **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + **type** | **str**| Only send notifications of this type (can use `all` for all). This parameter no longer does anything, and is deprecated. | [optional] + **sent** | **bool**| Return notifications sent by the user. Must be false or omitted. | [optional] + **hidden** | **bool**| Whether to return hidden or non-hidden notifications. True only allowed on type `friendRequest`. | [optional] + **after** | **str**| Only return notifications sent after this Date. Ignored if type is `friendRequest`. | [optional] + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] ### Return type -[**[Notification]**](Notification.md) +[**list[Notification]**](Notification.md) ### Authorization @@ -357,9 +510,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of Notifcation objects. | - | @@ -377,14 +528,11 @@ Mark a notification as seen. ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import notifications_api -from vrchatapi.model.notification import Notification -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -412,24 +560,66 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = notifications_api.NotificationsApi(api_client) - notification_id = "notificationId_example" # str | + api_instance = vrchatapi.NotificationsApi(api_client) + notification_id = 'notification_id_example' # str | - # example passing only required values which don't have defaults set try: # Mark Notification As Read api_response = api_instance.mark_notification_as_read(notification_id) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling NotificationsApi->mark_notification_as_read: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.NotificationsApi(api_client) + notification_id = 'notification_id_example' # str | + + try: + # Mark Notification As Read + api_response = api_instance.mark_notification_as_read(notification_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling NotificationsApi->mark_notification_as_read: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **notification_id** | **str**| | + **notification_id** | **str**| | ### Return type @@ -444,9 +634,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single Notifcation object. | - | diff --git a/docs/PastDisplayName.md b/docs/PastDisplayName.md index 5792d375..27857cdd 100644 --- a/docs/PastDisplayName.md +++ b/docs/PastDisplayName.md @@ -6,7 +6,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **display_name** | **str** | | **updated_at** | **datetime** | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Permission.md b/docs/Permission.md index 11b8e169..c02d66e4 100644 --- a/docs/Permission.md +++ b/docs/Permission.md @@ -1,14 +1,14 @@ # Permission + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | [**PermissionID**](PermissionID.md) | | +**id** | **str** | | **name** | **str** | | **owner_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | -**data** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] +**data** | **object** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PermissionID.md b/docs/PermissionID.md deleted file mode 100644 index 734ebd8c..00000000 --- a/docs/PermissionID.md +++ /dev/null @@ -1,11 +0,0 @@ -# PermissionID - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | **str** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/PermissionsApi.md b/docs/PermissionsApi.md index 27cec138..3db0810e 100644 --- a/docs/PermissionsApi.md +++ b/docs/PermissionsApi.md @@ -9,7 +9,7 @@ Method | HTTP request | Description # **get_assigned_permissions** -> [Permission] get_assigned_permissions() +> list[Permission] get_assigned_permissions() Get Assigned Permissions @@ -18,14 +18,11 @@ Returns a list of all permissions currently granted by the user. Permissions are ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import permissions_api -from vrchatapi.model.error import Error -from vrchatapi.model.permission import Permission +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -53,24 +50,65 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = permissions_api.PermissionsApi(api_client) - - # example, this endpoint has no required or optional parameters + api_instance = vrchatapi.PermissionsApi(api_client) + try: # Get Assigned Permissions api_response = api_instance.get_assigned_permissions() pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling PermissionsApi->get_assigned_permissions: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.PermissionsApi(api_client) + + try: + # Get Assigned Permissions + api_response = api_instance.get_assigned_permissions() + pprint(api_response) + except ApiException as e: + print("Exception when calling PermissionsApi->get_assigned_permissions: %s\n" % e) +``` ### Parameters This endpoint does not need any parameter. ### Return type -[**[Permission]**](Permission.md) +[**list[Permission]**](Permission.md) ### Authorization @@ -81,9 +119,7 @@ This endpoint does not need any parameter. - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of Permission objects. | - | @@ -101,14 +137,11 @@ Returns a single permission. This endpoint is pretty useless, as it returns the ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import permissions_api -from vrchatapi.model.error import Error -from vrchatapi.model.permission import Permission +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -136,24 +169,66 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = permissions_api.PermissionsApi(api_client) - permission_id = "permissionId_example" # str | + api_instance = vrchatapi.PermissionsApi(api_client) + permission_id = 'permission_id_example' # str | - # example passing only required values which don't have defaults set try: # Get Permission api_response = api_instance.get_permission(permission_id) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling PermissionsApi->get_permission: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.PermissionsApi(api_client) + permission_id = 'permission_id_example' # str | + + try: + # Get Permission + api_response = api_instance.get_permission(permission_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling PermissionsApi->get_permission: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **permission_id** | **str**| | + **permission_id** | **str**| | ### Return type @@ -168,9 +243,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single Permission object. | - | diff --git a/docs/PlayerModeration.md b/docs/PlayerModeration.md index 3451d328..d1ac82e9 100644 --- a/docs/PlayerModeration.md +++ b/docs/PlayerModeration.md @@ -5,13 +5,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **created** | **datetime** | | -**id** | [**PlayerModerationID**](PlayerModerationID.md) | | +**id** | **str** | | **source_display_name** | **str** | | **source_user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | **target_display_name** | **str** | | **target_user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | **type** | [**PlayerModerationType**](PlayerModerationType.md) | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PlayerModerationID.md b/docs/PlayerModerationID.md deleted file mode 100644 index 77b3013f..00000000 --- a/docs/PlayerModerationID.md +++ /dev/null @@ -1,11 +0,0 @@ -# PlayerModerationID - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | **str** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/PlayerModerationType.md b/docs/PlayerModerationType.md index 13c2e842..6f942a46 100644 --- a/docs/PlayerModerationType.md +++ b/docs/PlayerModerationType.md @@ -4,7 +4,6 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | **str** | | defaults to "unmute", must be one of ["mute", "unmute", "block", "unblock", "interactOn", "interactOff", ] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PlayermoderationApi.md b/docs/PlayermoderationApi.md index c045ff32..e7ad3642 100644 --- a/docs/PlayermoderationApi.md +++ b/docs/PlayermoderationApi.md @@ -22,14 +22,11 @@ Clear All Player Moderations ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import playermoderation_api -from vrchatapi.model.success import Success -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -57,17 +54,58 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = playermoderation_api.PlayermoderationApi(api_client) - - # example, this endpoint has no required or optional parameters + api_instance = vrchatapi.PlayermoderationApi(api_client) + try: # Clear All Player Moderations api_response = api_instance.clear_all_player_moderations() pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling PlayermoderationApi->clear_all_player_moderations: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.PlayermoderationApi(api_client) + + try: + # Clear All Player Moderations + api_response = api_instance.clear_all_player_moderations() + pprint(api_response) + except ApiException as e: + print("Exception when calling PlayermoderationApi->clear_all_player_moderations: %s\n" % e) +``` ### Parameters This endpoint does not need any parameter. @@ -85,9 +123,7 @@ This endpoint does not need any parameter. - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Success response after e.g. clearing all player moderations. | - | @@ -105,14 +141,11 @@ Deletes a specific player moderation based on it's `pmod_` ID. The website uses ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import playermoderation_api -from vrchatapi.model.success import Success -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -140,24 +173,66 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = playermoderation_api.PlayermoderationApi(api_client) - player_moderation_id = "playerModerationId_example" # str | + api_instance = vrchatapi.PlayermoderationApi(api_client) + player_moderation_id = 'player_moderation_id_example' # str | - # example passing only required values which don't have defaults set try: # Delete Player Moderation api_response = api_instance.delete_player_moderation(player_moderation_id) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling PlayermoderationApi->delete_player_moderation: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.PlayermoderationApi(api_client) + player_moderation_id = 'player_moderation_id_example' # str | + + try: + # Delete Player Moderation + api_response = api_instance.delete_player_moderation(player_moderation_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling PlayermoderationApi->delete_player_moderation: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **player_moderation_id** | **str**| | + **player_moderation_id** | **str**| | ### Return type @@ -172,9 +247,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Success response after removing a PlayerModeration by ID. | - | @@ -193,14 +266,11 @@ Returns a single Player Moderation. This returns the exact same amount of inform ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import playermoderation_api -from vrchatapi.model.player_moderation import PlayerModeration -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -228,24 +298,66 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = playermoderation_api.PlayermoderationApi(api_client) - player_moderation_id = "playerModerationId_example" # str | + api_instance = vrchatapi.PlayermoderationApi(api_client) + player_moderation_id = 'player_moderation_id_example' # str | - # example passing only required values which don't have defaults set try: # Get Player Moderation api_response = api_instance.get_player_moderation(player_moderation_id) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling PlayermoderationApi->get_player_moderation: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.PlayermoderationApi(api_client) + player_moderation_id = 'player_moderation_id_example' # str | + + try: + # Get Player Moderation + api_response = api_instance.get_player_moderation(player_moderation_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling PlayermoderationApi->get_player_moderation: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **player_moderation_id** | **str**| | + **player_moderation_id** | **str**| | ### Return type @@ -260,9 +372,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single PlayerModeration object. | - | @@ -272,7 +382,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_player_moderations** -> [PlayerModeration] get_player_moderations() +> list[PlayerModeration] get_player_moderations(type=type, target_user_id=target_user_id) Search Player Moderations @@ -281,14 +391,11 @@ Returns a list of all player moderations made by **you**. This endpoint does no ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import playermoderation_api -from vrchatapi.model.player_moderation import PlayerModeration -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -316,31 +423,73 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = playermoderation_api.PlayermoderationApi(api_client) - type = "type_example" # str | Must be one of PlayerModerationType, except unblock. Unblocking simply removes a block. (optional) - target_user_id = "targetUserId_example" # str | Must be valid UserID. (optional) + api_instance = vrchatapi.PlayermoderationApi(api_client) + type = 'type_example' # str | Must be one of PlayerModerationType, except unblock. Unblocking simply removes a block. (optional) +target_user_id = 'target_user_id_example' # str | Must be valid UserID. (optional) - # example passing only required values which don't have defaults set - # and optional values try: # Search Player Moderations api_response = api_instance.get_player_moderations(type=type, target_user_id=target_user_id) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling PlayermoderationApi->get_player_moderations: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.PlayermoderationApi(api_client) + type = 'type_example' # str | Must be one of PlayerModerationType, except unblock. Unblocking simply removes a block. (optional) +target_user_id = 'target_user_id_example' # str | Must be valid UserID. (optional) + + try: + # Search Player Moderations + api_response = api_instance.get_player_moderations(type=type, target_user_id=target_user_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling PlayermoderationApi->get_player_moderations: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **type** | **str**| Must be one of PlayerModerationType, except unblock. Unblocking simply removes a block. | [optional] - **target_user_id** | **str**| Must be valid UserID. | [optional] + **type** | **str**| Must be one of PlayerModerationType, except unblock. Unblocking simply removes a block. | [optional] + **target_user_id** | **str**| Must be valid UserID. | [optional] ### Return type -[**[PlayerModeration]**](PlayerModeration.md) +[**list[PlayerModeration]**](PlayerModeration.md) ### Authorization @@ -351,9 +500,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of PlayerModeration objects. | - | @@ -362,7 +509,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **moderate_user** -> PlayerModeration moderate_user() +> PlayerModeration moderate_user(moderate_user_request=moderate_user_request) Moderate User @@ -371,15 +518,11 @@ Moderate a user, e.g. unmute them or show their avatar. Please see the [Player ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import playermoderation_api -from vrchatapi.model.player_moderation import PlayerModeration -from vrchatapi.model.moderate_user_request import ModerateUserRequest -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -407,28 +550,66 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = playermoderation_api.PlayermoderationApi(api_client) - moderate_user_request = ModerateUserRequest( - moderated="usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469", - type=PlayerModerationType("unmute"), - ) # ModerateUserRequest | (optional) - - # example passing only required values which don't have defaults set - # and optional values + api_instance = vrchatapi.PlayermoderationApi(api_client) + moderate_user_request = vrchatapi.ModerateUserRequest() # ModerateUserRequest | (optional) + try: # Moderate User api_response = api_instance.moderate_user(moderate_user_request=moderate_user_request) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling PlayermoderationApi->moderate_user: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.PlayermoderationApi(api_client) + moderate_user_request = vrchatapi.ModerateUserRequest() # ModerateUserRequest | (optional) + + try: + # Moderate User + api_response = api_instance.moderate_user(moderate_user_request=moderate_user_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling PlayermoderationApi->moderate_user: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **moderate_user_request** | [**ModerateUserRequest**](ModerateUserRequest.md)| | [optional] + **moderate_user_request** | [**ModerateUserRequest**](ModerateUserRequest.md)| | [optional] ### Return type @@ -443,9 +624,7 @@ Name | Type | Description | Notes - **Content-Type**: application/json - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single PlayerModeration object. | - | @@ -454,7 +633,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **unmoderate_user** -> Success unmoderate_user() +> Success unmoderate_user(moderate_user_request=moderate_user_request) Unmoderate User @@ -463,15 +642,11 @@ Removes a player moderation previously added through `moderateUser`. E.g if you ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import playermoderation_api -from vrchatapi.model.success import Success -from vrchatapi.model.moderate_user_request import ModerateUserRequest -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -499,28 +674,66 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = playermoderation_api.PlayermoderationApi(api_client) - moderate_user_request = ModerateUserRequest( - moderated="usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469", - type=PlayerModerationType("unmute"), - ) # ModerateUserRequest | (optional) - - # example passing only required values which don't have defaults set - # and optional values + api_instance = vrchatapi.PlayermoderationApi(api_client) + moderate_user_request = vrchatapi.ModerateUserRequest() # ModerateUserRequest | (optional) + try: # Unmoderate User api_response = api_instance.unmoderate_user(moderate_user_request=moderate_user_request) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling PlayermoderationApi->unmoderate_user: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.PlayermoderationApi(api_client) + moderate_user_request = vrchatapi.ModerateUserRequest() # ModerateUserRequest | (optional) + + try: + # Unmoderate User + api_response = api_instance.unmoderate_user(moderate_user_request=moderate_user_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling PlayermoderationApi->unmoderate_user: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **moderate_user_request** | [**ModerateUserRequest**](ModerateUserRequest.md)| | [optional] + **moderate_user_request** | [**ModerateUserRequest**](ModerateUserRequest.md)| | [optional] ### Return type @@ -535,9 +748,7 @@ Name | Type | Description | Notes - **Content-Type**: application/json - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Success response after unmoderating a player moderation. | - | diff --git a/docs/PublicAnnouncement.md b/docs/PublicAnnouncement.md index 4106232b..94c4e845 100644 --- a/docs/PublicAnnouncement.md +++ b/docs/PublicAnnouncement.md @@ -7,7 +7,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **str** | Announcement name | **text** | **str** | Announcement text | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Region.md b/docs/Region.md index 36c41106..6c2ec5b7 100644 --- a/docs/Region.md +++ b/docs/Region.md @@ -5,7 +5,6 @@ API/Photon region. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | **str** | API/Photon region. | defaults to "us", must be one of ["us", "use", "usw", "eu", "jp", "unknown", ] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ReleaseStatus.md b/docs/ReleaseStatus.md index 96d2b12a..429a147c 100644 --- a/docs/ReleaseStatus.md +++ b/docs/ReleaseStatus.md @@ -4,7 +4,6 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | **str** | | defaults to "public", must be one of ["public", "private", "hidden", ] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/RequestInviteRequest.md b/docs/RequestInviteRequest.md index f36a2399..af165072 100644 --- a/docs/RequestInviteRequest.md +++ b/docs/RequestInviteRequest.md @@ -5,7 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **message_slot** | **int** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Response.md b/docs/Response.md index 83221569..f661cd16 100644 --- a/docs/Response.md +++ b/docs/Response.md @@ -4,9 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**status_code** | **int** | | **message** | **str** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] +**status_code** | **int** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SentNotification.md b/docs/SentNotification.md index 7d951224..cf248521 100644 --- a/docs/SentNotification.md +++ b/docs/SentNotification.md @@ -1,18 +1,18 @@ # SentNotification + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **created_at** | **datetime** | | +**details** | **str** | **NOTICE:** This is not a JSON object, this is a json **encoded** object, meaning you have to json-de-encode to get the NotificationDetail object depending on the NotificationType. | [default to '{}'] **id** | **str** | | **message** | **str** | | **reciever_user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | **sender_user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | -**type** | [**NotificationType**](NotificationType.md) | | -**details** | **str** | **NOTICE:** This is not a JSON object, this is a json **encoded** object, meaning you have to json-de-encode to get the NotificationDetail object depending on the NotificationType. | defaults to "{}" **sender_username** | **str** | -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] +**type** | [**NotificationType**](NotificationType.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Subscription.md b/docs/Subscription.md index 39ff3a1c..2f3b3ab0 100644 --- a/docs/Subscription.md +++ b/docs/Subscription.md @@ -1,6 +1,7 @@ # Subscription + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- @@ -10,7 +11,6 @@ Name | Type | Description | Notes **description** | **str** | | **period** | [**SubscriptionPeriod**](SubscriptionPeriod.md) | | **tier** | **float** | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SubscriptionPeriod.md b/docs/SubscriptionPeriod.md index 4166bf71..86e1da95 100644 --- a/docs/SubscriptionPeriod.md +++ b/docs/SubscriptionPeriod.md @@ -4,7 +4,6 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | **str** | | defaults to "month", must be one of ["hour", "day", "week", "month", "year", ] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Success.md b/docs/Success.md index a30d11f8..d50764e9 100644 --- a/docs/Success.md +++ b/docs/Success.md @@ -5,7 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **success** | [**Response**](Response.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SystemApi.md b/docs/SystemApi.md index c55a69ee..494ffea1 100644 --- a/docs/SystemApi.md +++ b/docs/SystemApi.md @@ -22,12 +22,11 @@ API config contains configuration that the clients needs to work properly. Curr ### Example - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import system_api -from vrchatapi.model.api_config import APIConfig +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -39,18 +38,16 @@ configuration = vrchatapi.Configuration( # Enter a context with an instance of the API client with vrchatapi.ApiClient() as api_client: # Create an instance of the API class - api_instance = system_api.SystemApi(api_client) - - # example, this endpoint has no required or optional parameters + api_instance = vrchatapi.SystemApi(api_client) + try: # Fetch API Config api_response = api_instance.get_config() pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling SystemApi->get_config: %s\n" % e) ``` - ### Parameters This endpoint does not need any parameter. @@ -67,9 +64,7 @@ No authorization required - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns the API's config. | * Set-Cookie -
| @@ -77,7 +72,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_css** -> str get_css() +> str get_css(variant=variant, branch=branch) Download CSS @@ -85,12 +80,11 @@ Fetches the CSS code to the frontend React website. ### Example - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import system_api -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -102,27 +96,24 @@ configuration = vrchatapi.Configuration( # Enter a context with an instance of the API client with vrchatapi.ApiClient() as api_client: # Create an instance of the API class - api_instance = system_api.SystemApi(api_client) - variant = "public" # str | Specifies which `variant` of the site. Public is the end-user site, while `internal` is the staff-only site with special pages for moderation and management. (optional) if omitted the server will use the default value of "public" - branch = "main" # str | Specifies which git branch the site should load frontend source code from. (optional) if omitted the server will use the default value of "main" + api_instance = vrchatapi.SystemApi(api_client) + variant = 'public' # str | Specifies which `variant` of the site. Public is the end-user site, while `internal` is the staff-only site with special pages for moderation and management. (optional) (default to 'public') +branch = 'main' # str | Specifies which git branch the site should load frontend source code from. (optional) (default to 'main') - # example passing only required values which don't have defaults set - # and optional values try: # Download CSS api_response = api_instance.get_css(variant=variant, branch=branch) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling SystemApi->get_css: %s\n" % e) ``` - ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **variant** | **str**| Specifies which `variant` of the site. Public is the end-user site, while `internal` is the staff-only site with special pages for moderation and management. | [optional] if omitted the server will use the default value of "public" - **branch** | **str**| Specifies which git branch the site should load frontend source code from. | [optional] if omitted the server will use the default value of "main" + **variant** | **str**| Specifies which `variant` of the site. Public is the end-user site, while `internal` is the staff-only site with special pages for moderation and management. | [optional] [default to 'public'] + **branch** | **str**| Specifies which git branch the site should load frontend source code from. | [optional] [default to 'main'] ### Return type @@ -137,9 +128,7 @@ No authorization required - **Content-Type**: Not defined - **Accept**: text/css, application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | **Note:** VRChat uses 302 Redirect to Cloudfront. The implementing library **must** support and follow redirects natively. | - | @@ -156,11 +145,11 @@ Returns the current number of online users. **NOTE:** The response type is not ### Example - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import system_api +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -172,18 +161,16 @@ configuration = vrchatapi.Configuration( # Enter a context with an instance of the API client with vrchatapi.ApiClient() as api_client: # Create an instance of the API class - api_instance = system_api.SystemApi(api_client) - - # example, this endpoint has no required or optional parameters + api_instance = vrchatapi.SystemApi(api_client) + try: # Current Online Users api_response = api_instance.get_current_online_users() pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling SystemApi->get_current_online_users: %s\n" % e) ``` - ### Parameters This endpoint does not need any parameter. @@ -200,9 +187,7 @@ No authorization required - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | @@ -218,12 +203,11 @@ Check API Health ### Example - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import system_api -from vrchatapi.model.api_health import APIHealth +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -235,18 +219,16 @@ configuration = vrchatapi.Configuration( # Enter a context with an instance of the API client with vrchatapi.ApiClient() as api_client: # Create an instance of the API class - api_instance = system_api.SystemApi(api_client) - - # example, this endpoint has no required or optional parameters + api_instance = vrchatapi.SystemApi(api_client) + try: # Check API Health api_response = api_instance.get_health() pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling SystemApi->get_health: %s\n" % e) ``` - ### Parameters This endpoint does not need any parameter. @@ -263,9 +245,7 @@ No authorization required - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns the API's health. | - | @@ -273,7 +253,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_info_push** -> [InfoPush] get_info_push() +> list[InfoPush] get_info_push(require=require, include=include) Show Information Notices @@ -281,12 +261,11 @@ IPS (Info Push System) is a system for VRChat to push out dynamic information to ### Example - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import system_api -from vrchatapi.model.info_push import InfoPush +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -298,31 +277,28 @@ configuration = vrchatapi.Configuration( # Enter a context with an instance of the API client with vrchatapi.ApiClient() as api_client: # Create an instance of the API class - api_instance = system_api.SystemApi(api_client) - require = "require_example" # str | Tags to include (comma-separated). All of the tags needs to be present. (optional) - include = "include_example" # str | Tags to include (comma-separated). Any of the tags needs to be present. (optional) + api_instance = vrchatapi.SystemApi(api_client) + require = 'require_example' # str | Tags to include (comma-separated). All of the tags needs to be present. (optional) +include = 'include_example' # str | Tags to include (comma-separated). Any of the tags needs to be present. (optional) - # example passing only required values which don't have defaults set - # and optional values try: # Show Information Notices api_response = api_instance.get_info_push(require=require, include=include) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling SystemApi->get_info_push: %s\n" % e) ``` - ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **require** | **str**| Tags to include (comma-separated). All of the tags needs to be present. | [optional] - **include** | **str**| Tags to include (comma-separated). Any of the tags needs to be present. | [optional] + **require** | **str**| Tags to include (comma-separated). All of the tags needs to be present. | [optional] + **include** | **str**| Tags to include (comma-separated). Any of the tags needs to be present. | [optional] ### Return type -[**[InfoPush]**](InfoPush.md) +[**list[InfoPush]**](InfoPush.md) ### Authorization @@ -333,9 +309,7 @@ No authorization required - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of InfoPush objects. | - | @@ -343,7 +317,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_java_script** -> str get_java_script() +> str get_java_script(variant=variant, branch=branch) Download JavaScript @@ -351,12 +325,11 @@ Fetches the JavaScript code to the frontend React website. ### Example - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import system_api -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -368,27 +341,24 @@ configuration = vrchatapi.Configuration( # Enter a context with an instance of the API client with vrchatapi.ApiClient() as api_client: # Create an instance of the API class - api_instance = system_api.SystemApi(api_client) - variant = "public" # str | Specifies which `variant` of the site. Public is the end-user site, while `internal` is the staff-only site with special pages for moderation and management. (optional) if omitted the server will use the default value of "public" - branch = "main" # str | Specifies which git branch the site should load frontend source code from. (optional) if omitted the server will use the default value of "main" + api_instance = vrchatapi.SystemApi(api_client) + variant = 'public' # str | Specifies which `variant` of the site. Public is the end-user site, while `internal` is the staff-only site with special pages for moderation and management. (optional) (default to 'public') +branch = 'main' # str | Specifies which git branch the site should load frontend source code from. (optional) (default to 'main') - # example passing only required values which don't have defaults set - # and optional values try: # Download JavaScript api_response = api_instance.get_java_script(variant=variant, branch=branch) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling SystemApi->get_java_script: %s\n" % e) ``` - ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **variant** | **str**| Specifies which `variant` of the site. Public is the end-user site, while `internal` is the staff-only site with special pages for moderation and management. | [optional] if omitted the server will use the default value of "public" - **branch** | **str**| Specifies which git branch the site should load frontend source code from. | [optional] if omitted the server will use the default value of "main" + **variant** | **str**| Specifies which `variant` of the site. Public is the end-user site, while `internal` is the staff-only site with special pages for moderation and management. | [optional] [default to 'public'] + **branch** | **str**| Specifies which git branch the site should load frontend source code from. | [optional] [default to 'main'] ### Return type @@ -403,9 +373,7 @@ No authorization required - **Content-Type**: Not defined - **Accept**: application/javascript, application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | **Note:** VRChat uses 302 Redirect to Cloudfront. The implementing library **must** support and follow redirects natively. | - | @@ -422,11 +390,11 @@ Returns the current time of the API server. **NOTE:** The response type is not ### Example - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import system_api +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -438,18 +406,16 @@ configuration = vrchatapi.Configuration( # Enter a context with an instance of the API client with vrchatapi.ApiClient() as api_client: # Create an instance of the API class - api_instance = system_api.SystemApi(api_client) - - # example, this endpoint has no required or optional parameters + api_instance = vrchatapi.SystemApi(api_client) + try: # Current System Time api_response = api_instance.get_system_time() pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling SystemApi->get_system_time: %s\n" % e) ``` - ### Parameters This endpoint does not need any parameter. @@ -466,9 +432,7 @@ No authorization required - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | diff --git a/docs/Tag.md b/docs/Tag.md deleted file mode 100644 index 0c2a7f8d..00000000 --- a/docs/Tag.md +++ /dev/null @@ -1,12 +0,0 @@ -# Tag - -Tags are a way to grant various access, assign restrictions or other kinds of metadata to various to objects such as worlds, users and avatars. System tags starting with `system_` are granted automatically by the system, while admin tags with `admin_` are granted manually. More prefixes such as `language_ ` (to indicate that a player can speak the tagged language), and `author_tag_` (provided by a world author for search and sorting) exist as well. - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | **str** | Tags are a way to grant various access, assign restrictions or other kinds of metadata to various to objects such as worlds, users and avatars. System tags starting with `system_` are granted automatically by the system, while admin tags with `admin_` are granted manually. More prefixes such as `language_ ` (to indicate that a player can speak the tagged language), and `author_tag_` (provided by a world author for search and sorting) exist as well. | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/Transaction.md b/docs/Transaction.md index f453127c..7359375d 100644 --- a/docs/Transaction.md +++ b/docs/Transaction.md @@ -1,19 +1,19 @@ # Transaction + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | [**TransactionID**](TransactionID.md) | | +**id** | **str** | | **status** | [**TransactionStatus**](TransactionStatus.md) | | **subscription** | [**Subscription**](Subscription.md) | | +**sandbox** | **bool** | | [default to False] **created_at** | **datetime** | | **updated_at** | **datetime** | | -**error** | **str** | | -**sandbox** | **bool** | | defaults to False **steam** | [**TransactionSteamInfo**](TransactionSteamInfo.md) | | [optional] **agreement** | [**TransactionAgreement**](TransactionAgreement.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] +**error** | **str** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/TransactionAgreement.md b/docs/TransactionAgreement.md index eab5a0e6..5ec065c1 100644 --- a/docs/TransactionAgreement.md +++ b/docs/TransactionAgreement.md @@ -1,6 +1,7 @@ # TransactionAgreement + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- @@ -21,7 +22,6 @@ Name | Type | Description | Notes **last_amount_vat** | **float** | | **outstanding** | **float** | | **failed_attempts** | **float** | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/TransactionID.md b/docs/TransactionID.md deleted file mode 100644 index aaf7a31b..00000000 --- a/docs/TransactionID.md +++ /dev/null @@ -1,11 +0,0 @@ -# TransactionID - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | **str** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/TransactionStatus.md b/docs/TransactionStatus.md index 0e6b36e3..3ae8a46b 100644 --- a/docs/TransactionStatus.md +++ b/docs/TransactionStatus.md @@ -4,7 +4,6 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | **str** | | defaults to "active", must be one of ["active", "failed", "expired", "chargeback", ] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/TransactionSteamInfo.md b/docs/TransactionSteamInfo.md index 99169233..0facfdf8 100644 --- a/docs/TransactionSteamInfo.md +++ b/docs/TransactionSteamInfo.md @@ -1,6 +1,7 @@ # TransactionSteamInfo + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- @@ -9,7 +10,6 @@ Name | Type | Description | Notes **order_id** | **str** | Steam Order ID | **steam_url** | **str** | Empty | **trans_id** | **str** | Steam Transaction ID, NOT the same as VRChat TransactionID | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/TransactionSteamWalletInfo.md b/docs/TransactionSteamWalletInfo.md index 12f1cb10..5bc682fa 100644 --- a/docs/TransactionSteamWalletInfo.md +++ b/docs/TransactionSteamWalletInfo.md @@ -1,14 +1,14 @@ # TransactionSteamWalletInfo + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **state** | **str** | | +**country** | **str** | | [default to 'US'] +**currency** | **str** | | [default to 'USD'] **status** | **str** | | -**country** | **str** | | defaults to "US" -**currency** | **str** | | defaults to "USD" -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/TwoFactorAuthCode.md b/docs/TwoFactorAuthCode.md index 12d6f2c8..6eac744c 100644 --- a/docs/TwoFactorAuthCode.md +++ b/docs/TwoFactorAuthCode.md @@ -5,7 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **code** | **str** | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UnityPackage.md b/docs/UnityPackage.md index 56cdda66..d1b96b23 100644 --- a/docs/UnityPackage.md +++ b/docs/UnityPackage.md @@ -1,20 +1,20 @@ # UnityPackage + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**asset_version** | **int** | | -**id** | [**UnityPackageID**](UnityPackageID.md) | | -**platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | -**unity_version** | **str** | | defaults to "5.3.4p1" **asset_url** | **str** | | [optional] -**asset_url_object** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional] +**asset_url_object** | **object** | | [optional] +**asset_version** | **int** | | **created_at** | **datetime** | | [optional] +**id** | **str** | | +**platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | **plugin_url** | **str** | | [optional] -**plugin_url_object** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional] +**plugin_url_object** | **object** | | [optional] **unity_sort_number** | **int** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] +**unity_version** | **str** | | [default to '5.3.4p1'] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UnityPackageID.md b/docs/UnityPackageID.md deleted file mode 100644 index b29ab08f..00000000 --- a/docs/UnityPackageID.md +++ /dev/null @@ -1,11 +0,0 @@ -# UnityPackageID - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | **str** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/UpdateAvatarRequest.md b/docs/UpdateAvatarRequest.md index a4b2757e..e2540d7d 100644 --- a/docs/UpdateAvatarRequest.md +++ b/docs/UpdateAvatarRequest.md @@ -5,15 +5,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **asset_url** | **str** | | [optional] -**id** | [**AvatarID**](AvatarID.md) | | [optional] +**id** | **str** | | [optional] **name** | **str** | | [optional] **description** | **str** | | [optional] -**tags** | [**[Tag]**](Tag.md) | | [optional] +**tags** | **list[str]** | | [optional] **image_url** | **str** | | [optional] **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | [optional] -**version** | **float** | | [optional] if omitted the server will use the default value of 1 +**version** | **float** | | [optional] [default to 1] **unity_package_url** | **str** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UpdateFavoriteGroupRequest.md b/docs/UpdateFavoriteGroupRequest.md index 0c56a637..d4824d64 100644 --- a/docs/UpdateFavoriteGroupRequest.md +++ b/docs/UpdateFavoriteGroupRequest.md @@ -6,8 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **display_name** | **str** | | [optional] **visibility** | [**FavoriteGroupVisibility**](FavoriteGroupVisibility.md) | | [optional] -**tags** | [**[Tag]**](Tag.md) | Tags on FavoriteGroups are believed to do nothing. | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] +**tags** | **list[str]** | Tags on FavoriteGroups are believed to do nothing. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UpdateInviteMessageRequest.md b/docs/UpdateInviteMessageRequest.md index f28d69a2..b55dc0eb 100644 --- a/docs/UpdateInviteMessageRequest.md +++ b/docs/UpdateInviteMessageRequest.md @@ -5,7 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **message** | **str** | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UpdateUserRequest.md b/docs/UpdateUserRequest.md index 2b54ad53..f5806be7 100644 --- a/docs/UpdateUserRequest.md +++ b/docs/UpdateUserRequest.md @@ -7,13 +7,12 @@ Name | Type | Description | Notes **email** | **str** | | [optional] **birthday** | **date** | | [optional] **accepted_tos_version** | **float** | | [optional] -**tags** | [**[Tag]**](Tag.md) | | [optional] +**tags** | **list[str]** | | [optional] **status** | [**UserStatus**](UserStatus.md) | | [optional] **status_description** | **str** | | [optional] **bio** | **str** | | [optional] -**bio_links** | **[str]** | | [optional] +**bio_links** | **list[str]** | | [optional] **user_icon** | **str** | MUST be a valid VRChat /file/ url. | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UpdateWorldRequest.md b/docs/UpdateWorldRequest.md index b4dcde91..968fed3a 100644 --- a/docs/UpdateWorldRequest.md +++ b/docs/UpdateWorldRequest.md @@ -14,10 +14,9 @@ Name | Type | Description | Notes **name** | **str** | | [optional] **platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | [optional] **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | [optional] -**tags** | [**[Tag]**](Tag.md) | | [optional] +**tags** | **list[str]** | | [optional] **unity_package_url** | **str** | | [optional] -**unity_version** | **str** | | [optional] if omitted the server will use the default value of "5.3.4p1" -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] +**unity_version** | **str** | | [optional] [default to '5.3.4p1'] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/User.md b/docs/User.md index d5f5940c..6740390d 100644 --- a/docs/User.md +++ b/docs/User.md @@ -4,36 +4,35 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**allow_avatar_copying** | **bool** | | [default to True] **bio** | **str** | | -**bio_links** | **[str]** | | +**bio_links** | **list[str]** | | **current_avatar_image_url** | **str** | When profilePicOverride is not empty, use it instead. | **current_avatar_thumbnail_image_url** | **str** | When profilePicOverride is not empty, use it instead. | **date_joined** | **date** | | **developer_type** | [**DeveloperType**](DeveloperType.md) | | **display_name** | **str** | A users visual display name. This is what shows up in-game, and can different from their `username`. Changing display name is restricted to a cooldown period. | **friend_key** | **str** | | +**friend_request_status** | **str** | | [optional] **id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**instance_id** | **str** | InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. | [optional] **is_friend** | **bool** | Either their `friendKey`, or empty string if you are not friends. Unknown usage. | **last_activity** | **str** | Either a date-time or empty string. | **last_login** | **str** | Either a date-time or empty string. | **last_platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | +**location** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | [optional] +**note** | **str** | | [optional] **profile_pic_override** | **str** | | **state** | [**UserState**](UserState.md) | | **status** | [**UserStatus**](UserStatus.md) | | **status_description** | **str** | | -**tags** | [**[Tag]**](Tag.md) | | -**user_icon** | **str** | | -**allow_avatar_copying** | **bool** | | defaults to True -**friend_request_status** | **str** | | [optional] -**instance_id** | [**InstanceID**](InstanceID.md) | | [optional] -**location** | [**WorldID**](WorldID.md) | | [optional] -**note** | **str** | | [optional] +**tags** | **list[str]** | | **traveling_to_instance** | **str** | | [optional] **traveling_to_location** | **str** | | [optional] **traveling_to_world** | **str** | | [optional] +**user_icon** | **str** | | **username** | **str** | -| A users unique name, used during login. This is different from `displayName` which is what shows up in-game. A users `username` can never be changed.' **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). | [optional] -**world_id** | [**WorldID**](WorldID.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] +**world_id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserExists.md b/docs/UserExists.md index d8e885ee..339b5cd8 100644 --- a/docs/UserExists.md +++ b/docs/UserExists.md @@ -5,8 +5,7 @@ Status object representing if a queried user by username or userId exists or not ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**user_exists** | **bool** | Status if a user exist with that username or userId. | defaults to False -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] +**user_exists** | **bool** | Status if a user exist with that username or userId. | [default to False] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserState.md b/docs/UserState.md index e977a771..a36c279c 100644 --- a/docs/UserState.md +++ b/docs/UserState.md @@ -5,7 +5,6 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | **str** | * \"online\" User is online in VRChat * \"active\" User is online, but not in VRChat * \"offline\" User is offline Always offline when returned through `getCurrentUser` (/auth/user). | defaults to "offline", must be one of ["offline", "active", "online", ] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserStatus.md b/docs/UserStatus.md index a7320a81..5b5f65b4 100644 --- a/docs/UserStatus.md +++ b/docs/UserStatus.md @@ -5,7 +5,6 @@ Defines the User's current status, for example \"ask me\", \"join me\" or \"offl ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | **str** | Defines the User's current status, for example \"ask me\", \"join me\" or \"offline. This status is a combined indicator of their online activity and privacy preference. | defaults to "offline", must be one of ["active", "join me", "ask me", "busy", "offline", ] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserSubscription.md b/docs/UserSubscription.md index 660a216c..fc71ddc0 100644 --- a/docs/UserSubscription.md +++ b/docs/UserSubscription.md @@ -1,25 +1,25 @@ # UserSubscription + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **str** | | -**transaction_id** | [**TransactionID**](TransactionID.md) | | +**transaction_id** | **str** | | **store** | **str** | Which \"Store\" it came from. Right now only Stores are \"Steam\" and \"Admin\". | +**steam_item_id** | **str** | | [optional] **amount** | **float** | | **description** | **str** | | **period** | [**SubscriptionPeriod**](SubscriptionPeriod.md) | | **tier** | **float** | | +**active** | **bool** | | [default to True] **status** | [**TransactionStatus**](TransactionStatus.md) | | **expires** | **datetime** | | **created_at** | **datetime** | | **updated_at** | **datetime** | | -**license_groups** | [**[LicenseGroupID]**](LicenseGroupID.md) | | -**active** | **bool** | | defaults to True -**is_gift** | **bool** | | defaults to False -**steam_item_id** | **str** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] +**license_groups** | **list[str]** | | +**is_gift** | **bool** | | [default to False] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsersApi.md b/docs/UsersApi.md index 778c48ea..b53c0321 100644 --- a/docs/UsersApi.md +++ b/docs/UsersApi.md @@ -20,14 +20,11 @@ Get public user information about a specific user using their ID. ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import users_api -from vrchatapi.model.user import User -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -55,24 +52,66 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = users_api.UsersApi(api_client) - user_id = "userId_example" # str | + api_instance = vrchatapi.UsersApi(api_client) + user_id = 'user_id_example' # str | - # example passing only required values which don't have defaults set try: # Get User by ID api_response = api_instance.get_user(user_id) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling UsersApi->get_user: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.UsersApi(api_client) + user_id = 'user_id_example' # str | + + try: + # Get User by ID + api_response = api_instance.get_user(user_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling UsersApi->get_user: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | + **user_id** | **str**| | ### Return type @@ -87,9 +126,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single User object. | - | @@ -107,14 +144,11 @@ Get User by Username ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import users_api -from vrchatapi.model.user import User -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -142,24 +176,66 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = users_api.UsersApi(api_client) - username = "username_example" # str | + api_instance = vrchatapi.UsersApi(api_client) + username = 'username_example' # str | - # example passing only required values which don't have defaults set try: # Get User by Username api_response = api_instance.get_user_by_name(username) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling UsersApi->get_user_by_name: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.UsersApi(api_client) + username = 'username_example' # str | + + try: + # Get User by Username + api_response = api_instance.get_user_by_name(username) + pprint(api_response) + except ApiException as e: + print("Exception when calling UsersApi->get_user_by_name: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **str**| | + **username** | **str**| | ### Return type @@ -174,9 +250,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single User object. | - | @@ -185,7 +259,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **search_users** -> [LimitedUser] search_users() +> list[LimitedUser] search_users(search=search, developer_type=developer_type, n=n, offset=offset) Search All Users @@ -194,14 +268,11 @@ Search and list any users by text query ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import users_api -from vrchatapi.model.limited_user import LimitedUser -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -229,35 +300,79 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = users_api.UsersApi(api_client) - search = "search_example" # str | Searches by `displayName`. Will return empty array if search query is empty or missing. (optional) - developer_type = "developerType_example" # str | Active user by developer type, none for normal users and internal for moderators (optional) - n = 60 # int | The number of objects to return. (optional) if omitted the server will use the default value of 60 - offset = 0 # int | A zero-based offset from the default object sorting from where search results start. (optional) - - # example passing only required values which don't have defaults set - # and optional values + api_instance = vrchatapi.UsersApi(api_client) + search = 'search_example' # str | Searches by `displayName`. Will return empty array if search query is empty or missing. (optional) +developer_type = 'developer_type_example' # str | Active user by developer type, none for normal users and internal for moderators (optional) +n = 60 # int | The number of objects to return. (optional) (default to 60) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) + try: # Search All Users api_response = api_instance.search_users(search=search, developer_type=developer_type, n=n, offset=offset) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling UsersApi->search_users: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.UsersApi(api_client) + search = 'search_example' # str | Searches by `displayName`. Will return empty array if search query is empty or missing. (optional) +developer_type = 'developer_type_example' # str | Active user by developer type, none for normal users and internal for moderators (optional) +n = 60 # int | The number of objects to return. (optional) (default to 60) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) + + try: + # Search All Users + api_response = api_instance.search_users(search=search, developer_type=developer_type, n=n, offset=offset) + pprint(api_response) + except ApiException as e: + print("Exception when calling UsersApi->search_users: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **search** | **str**| Searches by `displayName`. Will return empty array if search query is empty or missing. | [optional] - **developer_type** | **str**| Active user by developer type, none for normal users and internal for moderators | [optional] - **n** | **int**| The number of objects to return. | [optional] if omitted the server will use the default value of 60 - **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + **search** | **str**| Searches by `displayName`. Will return empty array if search query is empty or missing. | [optional] + **developer_type** | **str**| Active user by developer type, none for normal users and internal for moderators | [optional] + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] ### Return type -[**[LimitedUser]**](LimitedUser.md) +[**list[LimitedUser]**](LimitedUser.md) ### Authorization @@ -268,9 +383,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of LimitedUser objects. | - | @@ -280,7 +393,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **update_user** -> CurrentUser update_user(user_id) +> CurrentUser update_user(user_id, update_user_request=update_user_request) Update User Info @@ -289,14 +402,11 @@ Update a users information such as the email and birthday. ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import users_api -from vrchatapi.model.current_user import CurrentUser -from vrchatapi.model.update_user_request import UpdateUserRequest +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -324,49 +434,69 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = users_api.UsersApi(api_client) - user_id = "userId_example" # str | - update_user_request = UpdateUserRequest( - email="email_example", - birthday=dateutil_parser('1970-01-01').date(), - accepted_tos_version=3.14, - tags=[ - Tag("tags_example"), - ], - status=UserStatus("offline"), - status_description="status_description_example", - bio="bio_example", - bio_links=[ - "bio_links_example", - ], - user_icon="https://api.vrchat.cloud/api/1/file/file_76dc2964-0ce8-41df-b2e7-8edf994fee31/1", - ) # UpdateUserRequest | (optional) - - # example passing only required values which don't have defaults set + api_instance = vrchatapi.UsersApi(api_client) + user_id = 'user_id_example' # str | +update_user_request = vrchatapi.UpdateUserRequest() # UpdateUserRequest | (optional) + try: # Update User Info - api_response = api_instance.update_user(user_id) + api_response = api_instance.update_user(user_id, update_user_request=update_user_request) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling UsersApi->update_user: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.UsersApi(api_client) + user_id = 'user_id_example' # str | +update_user_request = vrchatapi.UpdateUserRequest() # UpdateUserRequest | (optional) - # example passing only required values which don't have defaults set - # and optional values try: # Update User Info api_response = api_instance.update_user(user_id, update_user_request=update_user_request) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling UsersApi->update_user: %s\n" % e) ``` - ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | - **update_user_request** | [**UpdateUserRequest**](UpdateUserRequest.md)| | [optional] + **user_id** | **str**| | + **update_user_request** | [**UpdateUserRequest**](UpdateUserRequest.md)| | [optional] ### Return type @@ -381,9 +511,7 @@ Name | Type | Description | Notes - **Content-Type**: application/json - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single CurrentUser object. | - | diff --git a/docs/Verify2FAResult.md b/docs/Verify2FAResult.md index 5c6ace6e..2407f4a5 100644 --- a/docs/Verify2FAResult.md +++ b/docs/Verify2FAResult.md @@ -5,7 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **verified** | **bool** | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/VerifyAuthTokenResult.md b/docs/VerifyAuthTokenResult.md index 4b242f35..66a08b25 100644 --- a/docs/VerifyAuthTokenResult.md +++ b/docs/VerifyAuthTokenResult.md @@ -6,7 +6,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ok** | **bool** | | **token** | **str** | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/World.md b/docs/World.md index ecada392..f1ab2456 100644 --- a/docs/World.md +++ b/docs/World.md @@ -1,6 +1,7 @@ # World + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- @@ -9,30 +10,29 @@ Name | Type | Description | Notes **capacity** | **int** | | **created_at** | **datetime** | | **description** | **str** | | -**id** | [**WorldID**](WorldID.md) | | +**favorites** | **int** | | [optional] [default to 0] +**featured** | **bool** | | [default to False] +**heat** | **int** | | [default to 0] +**id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | **image_url** | **str** | | +**instances** | **list[list[object]]** | Will always be an empty list when unauthenticated. | [optional] **labs_publication_date** | **str** | | **name** | **str** | | **namespace** | **str** | | +**occupants** | **int** | Will always be `0` when unauthenticated. | [optional] [default to 0] +**organization** | **str** | | [default to 'vrchat'] +**popularity** | **int** | | [default to 0] +**preview_youtube_id** | **str** | | [optional] +**private_occupants** | **int** | Will always be `0` when unauthenticated. | [optional] [default to 0] +**public_occupants** | **int** | Will always be `0` when unauthenticated. | [optional] [default to 0] **publication_date** | **str** | | **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | -**tags** | [**[Tag]**](Tag.md) | | +**tags** | **list[str]** | | **thumbnail_image_url** | **str** | | -**unity_packages** | [**[UnityPackage]**](UnityPackage.md) | Empty if unauthenticated. | +**unity_packages** | [**list[UnityPackage]**](UnityPackage.md) | Empty if unauthenticated. | **updated_at** | **datetime** | | -**featured** | **bool** | | defaults to False -**heat** | **int** | | defaults to 0 -**organization** | **str** | | defaults to "vrchat" -**popularity** | **int** | | defaults to 0 -**version** | **int** | | defaults to 0 -**visits** | **int** | | defaults to 0 -**favorites** | **int** | | [optional] if omitted the server will use the default value of 0 -**instances** | **[[bool, date, datetime, dict, float, int, list, str, none_type]]** | Will always be an empty list when unauthenticated. | [optional] -**occupants** | **int** | Will always be `0` when unauthenticated. | [optional] if omitted the server will use the default value of 0 -**preview_youtube_id** | **str, none_type** | | [optional] -**private_occupants** | **int** | Will always be `0` when unauthenticated. | [optional] if omitted the server will use the default value of 0 -**public_occupants** | **int** | Will always be `0` when unauthenticated. | [optional] if omitted the server will use the default value of 0 -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] +**version** | **int** | | [default to 0] +**visits** | **int** | | [default to 0] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WorldID.md b/docs/WorldID.md deleted file mode 100644 index 2b75d887..00000000 --- a/docs/WorldID.md +++ /dev/null @@ -1,12 +0,0 @@ -# WorldID - -WorldID be \"offline\" on User profiles if you are not friends with that user. - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/WorldMetadata.md b/docs/WorldMetadata.md index d27d0f9f..4897d1a2 100644 --- a/docs/WorldMetadata.md +++ b/docs/WorldMetadata.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | [**WorldID**](WorldID.md) | | -**metadata** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | +**id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | +**metadata** | **object** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WorldPublishStatus.md b/docs/WorldPublishStatus.md index 6407ecef..debdb208 100644 --- a/docs/WorldPublishStatus.md +++ b/docs/WorldPublishStatus.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**can_pubilsh** | **bool** | | defaults to True +**can_pubilsh** | **bool** | | [default to True] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WorldsApi.md b/docs/WorldsApi.md index 55f98be1..6e5bf14b 100644 --- a/docs/WorldsApi.md +++ b/docs/WorldsApi.md @@ -20,7 +20,7 @@ Method | HTTP request | Description # **create_world** -> World create_world() +> World create_world(create_world_request=create_world_request) Create World @@ -28,14 +28,11 @@ Create a new world. This endpoint requires `assetUrl` to be a valid File object ### Example - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import worlds_api -from vrchatapi.model.world import World -from vrchatapi.model.create_world_request import CreateWorldRequest -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -47,42 +44,22 @@ configuration = vrchatapi.Configuration( # Enter a context with an instance of the API client with vrchatapi.ApiClient() as api_client: # Create an instance of the API class - api_instance = worlds_api.WorldsApi(api_client) - create_world_request = CreateWorldRequest( - asset_url="asset_url_example", - asset_version=0, - author_id="usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469", - author_name="author_name_example", - capacity=8, - description="description_example", - id=WorldID("wrld_ba913a96-fac4-4048-a062-9aa5db092812"), - image_url="image_url_example", - name="name_example", - platform="standalonewindows", - release_status=ReleaseStatus("public"), - tags=[ - Tag("tags_example"), - ], - unity_package_url="unity_package_url_example", - unity_version="2018.4.20f1", - ) # CreateWorldRequest | (optional) - - # example passing only required values which don't have defaults set - # and optional values + api_instance = vrchatapi.WorldsApi(api_client) + create_world_request = vrchatapi.CreateWorldRequest() # CreateWorldRequest | (optional) + try: # Create World api_response = api_instance.create_world(create_world_request=create_world_request) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling WorldsApi->create_world: %s\n" % e) ``` - ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **create_world_request** | [**CreateWorldRequest**](CreateWorldRequest.md)| | [optional] + **create_world_request** | [**CreateWorldRequest**](CreateWorldRequest.md)| | [optional] ### Return type @@ -97,9 +74,7 @@ No authorization required - **Content-Type**: application/json - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single World object. | - | @@ -118,13 +93,11 @@ Delete a world. Notice a world is never fully \"deleted\", only its ReleaseStatu ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import worlds_api -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -152,23 +125,64 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = worlds_api.WorldsApi(api_client) - world_id = "worldId_example" # str | + api_instance = vrchatapi.WorldsApi(api_client) + world_id = 'world_id_example' # str | - # example passing only required values which don't have defaults set try: # Delete World api_instance.delete_world(world_id) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling WorldsApi->delete_world: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.WorldsApi(api_client) + world_id = 'world_id_example' # str | + + try: + # Delete World + api_instance.delete_world(world_id) + except ApiException as e: + print("Exception when calling WorldsApi->delete_world: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **world_id** | **str**| | + **world_id** | **str**| | ### Return type @@ -183,9 +197,7 @@ void (empty response body) - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | @@ -195,7 +207,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_active_worlds** -> [LimitedWorld] get_active_worlds() +> list[LimitedWorld] get_active_worlds(featured=featured, sort=sort, n=n, order=order, offset=offset, search=search, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform) List Active Worlds @@ -204,14 +216,11 @@ Search and list currently Active worlds by query filters. ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import worlds_api -from vrchatapi.model.limited_world import LimitedWorld -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -239,51 +248,103 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = worlds_api.WorldsApi(api_client) + api_instance = vrchatapi.WorldsApi(api_client) featured = True # bool | Filters on featured results. (optional) - sort = "popularity" # str | (optional) if omitted the server will use the default value of "popularity" - n = 60 # int | The number of objects to return. (optional) if omitted the server will use the default value of 60 - order = "descending" # str | (optional) if omitted the server will use the default value of "descending" - offset = 0 # int | A zero-based offset from the default object sorting from where search results start. (optional) - search = "search_example" # str | Filters by world name. (optional) - tag = "tag_example" # str | Tags to include (comma-separated). Any of the tags needs to be present. (optional) - notag = "notag_example" # str | Tags to exclude (comma-separated). (optional) - release_status = "public" # str | Filter by ReleaseStatus. (optional) if omitted the server will use the default value of "public" - max_unity_version = "maxUnityVersion_example" # str | The maximum Unity version supported by the asset. (optional) - min_unity_version = "minUnityVersion_example" # str | The minimum Unity version supported by the asset. (optional) - platform = "platform_example" # str | The platform the asset supports. (optional) - - # example passing only required values which don't have defaults set - # and optional values +sort = 'popularity' # str | (optional) (default to 'popularity') +n = 60 # int | The number of objects to return. (optional) (default to 60) +order = 'descending' # str | (optional) (default to 'descending') +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) +search = 'search_example' # str | Filters by world name. (optional) +tag = 'tag_example' # str | Tags to include (comma-separated). Any of the tags needs to be present. (optional) +notag = 'notag_example' # str | Tags to exclude (comma-separated). (optional) +release_status = 'public' # str | Filter by ReleaseStatus. (optional) (default to 'public') +max_unity_version = 'max_unity_version_example' # str | The maximum Unity version supported by the asset. (optional) +min_unity_version = 'min_unity_version_example' # str | The minimum Unity version supported by the asset. (optional) +platform = 'platform_example' # str | The platform the asset supports. (optional) + try: # List Active Worlds api_response = api_instance.get_active_worlds(featured=featured, sort=sort, n=n, order=order, offset=offset, search=search, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling WorldsApi->get_active_worlds: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.WorldsApi(api_client) + featured = True # bool | Filters on featured results. (optional) +sort = 'popularity' # str | (optional) (default to 'popularity') +n = 60 # int | The number of objects to return. (optional) (default to 60) +order = 'descending' # str | (optional) (default to 'descending') +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) +search = 'search_example' # str | Filters by world name. (optional) +tag = 'tag_example' # str | Tags to include (comma-separated). Any of the tags needs to be present. (optional) +notag = 'notag_example' # str | Tags to exclude (comma-separated). (optional) +release_status = 'public' # str | Filter by ReleaseStatus. (optional) (default to 'public') +max_unity_version = 'max_unity_version_example' # str | The maximum Unity version supported by the asset. (optional) +min_unity_version = 'min_unity_version_example' # str | The minimum Unity version supported by the asset. (optional) +platform = 'platform_example' # str | The platform the asset supports. (optional) + + try: + # List Active Worlds + api_response = api_instance.get_active_worlds(featured=featured, sort=sort, n=n, order=order, offset=offset, search=search, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform) + pprint(api_response) + except ApiException as e: + print("Exception when calling WorldsApi->get_active_worlds: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **featured** | **bool**| Filters on featured results. | [optional] - **sort** | **str**| | [optional] if omitted the server will use the default value of "popularity" - **n** | **int**| The number of objects to return. | [optional] if omitted the server will use the default value of 60 - **order** | **str**| | [optional] if omitted the server will use the default value of "descending" - **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] - **search** | **str**| Filters by world name. | [optional] - **tag** | **str**| Tags to include (comma-separated). Any of the tags needs to be present. | [optional] - **notag** | **str**| Tags to exclude (comma-separated). | [optional] - **release_status** | **str**| Filter by ReleaseStatus. | [optional] if omitted the server will use the default value of "public" - **max_unity_version** | **str**| The maximum Unity version supported by the asset. | [optional] - **min_unity_version** | **str**| The minimum Unity version supported by the asset. | [optional] - **platform** | **str**| The platform the asset supports. | [optional] + **featured** | **bool**| Filters on featured results. | [optional] + **sort** | **str**| | [optional] [default to 'popularity'] + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **order** | **str**| | [optional] [default to 'descending'] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + **search** | **str**| Filters by world name. | [optional] + **tag** | **str**| Tags to include (comma-separated). Any of the tags needs to be present. | [optional] + **notag** | **str**| Tags to exclude (comma-separated). | [optional] + **release_status** | **str**| Filter by ReleaseStatus. | [optional] [default to 'public'] + **max_unity_version** | **str**| The maximum Unity version supported by the asset. | [optional] + **min_unity_version** | **str**| The minimum Unity version supported by the asset. | [optional] + **platform** | **str**| The platform the asset supports. | [optional] ### Return type -[**[LimitedWorld]**](LimitedWorld.md) +[**list[LimitedWorld]**](LimitedWorld.md) ### Authorization @@ -294,9 +355,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of LimitedWorld objects. | - | @@ -305,7 +364,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_favorited_worlds** -> [LimitedWorld] get_favorited_worlds() +> list[LimitedWorld] get_favorited_worlds(featured=featured, sort=sort, n=n, order=order, offset=offset, search=search, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform, user_id=user_id) List Favorited Worlds @@ -314,14 +373,11 @@ Search and list favorited worlds by query filters. ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import worlds_api -from vrchatapi.model.limited_world import LimitedWorld -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -349,53 +405,106 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = worlds_api.WorldsApi(api_client) + api_instance = vrchatapi.WorldsApi(api_client) featured = True # bool | Filters on featured results. (optional) - sort = "popularity" # str | (optional) if omitted the server will use the default value of "popularity" - n = 60 # int | The number of objects to return. (optional) if omitted the server will use the default value of 60 - order = "descending" # str | (optional) if omitted the server will use the default value of "descending" - offset = 0 # int | A zero-based offset from the default object sorting from where search results start. (optional) - search = "search_example" # str | Filters by world name. (optional) - tag = "tag_example" # str | Tags to include (comma-separated). Any of the tags needs to be present. (optional) - notag = "notag_example" # str | Tags to exclude (comma-separated). (optional) - release_status = "public" # str | Filter by ReleaseStatus. (optional) if omitted the server will use the default value of "public" - max_unity_version = "maxUnityVersion_example" # str | The maximum Unity version supported by the asset. (optional) - min_unity_version = "minUnityVersion_example" # str | The minimum Unity version supported by the asset. (optional) - platform = "platform_example" # str | The platform the asset supports. (optional) - user_id = "userId_example" # str | Target user to see information on, admin-only. (optional) - - # example passing only required values which don't have defaults set - # and optional values +sort = 'popularity' # str | (optional) (default to 'popularity') +n = 60 # int | The number of objects to return. (optional) (default to 60) +order = 'descending' # str | (optional) (default to 'descending') +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) +search = 'search_example' # str | Filters by world name. (optional) +tag = 'tag_example' # str | Tags to include (comma-separated). Any of the tags needs to be present. (optional) +notag = 'notag_example' # str | Tags to exclude (comma-separated). (optional) +release_status = 'public' # str | Filter by ReleaseStatus. (optional) (default to 'public') +max_unity_version = 'max_unity_version_example' # str | The maximum Unity version supported by the asset. (optional) +min_unity_version = 'min_unity_version_example' # str | The minimum Unity version supported by the asset. (optional) +platform = 'platform_example' # str | The platform the asset supports. (optional) +user_id = 'user_id_example' # str | Target user to see information on, admin-only. (optional) + try: # List Favorited Worlds api_response = api_instance.get_favorited_worlds(featured=featured, sort=sort, n=n, order=order, offset=offset, search=search, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform, user_id=user_id) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling WorldsApi->get_favorited_worlds: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.WorldsApi(api_client) + featured = True # bool | Filters on featured results. (optional) +sort = 'popularity' # str | (optional) (default to 'popularity') +n = 60 # int | The number of objects to return. (optional) (default to 60) +order = 'descending' # str | (optional) (default to 'descending') +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) +search = 'search_example' # str | Filters by world name. (optional) +tag = 'tag_example' # str | Tags to include (comma-separated). Any of the tags needs to be present. (optional) +notag = 'notag_example' # str | Tags to exclude (comma-separated). (optional) +release_status = 'public' # str | Filter by ReleaseStatus. (optional) (default to 'public') +max_unity_version = 'max_unity_version_example' # str | The maximum Unity version supported by the asset. (optional) +min_unity_version = 'min_unity_version_example' # str | The minimum Unity version supported by the asset. (optional) +platform = 'platform_example' # str | The platform the asset supports. (optional) +user_id = 'user_id_example' # str | Target user to see information on, admin-only. (optional) + + try: + # List Favorited Worlds + api_response = api_instance.get_favorited_worlds(featured=featured, sort=sort, n=n, order=order, offset=offset, search=search, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform, user_id=user_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling WorldsApi->get_favorited_worlds: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **featured** | **bool**| Filters on featured results. | [optional] - **sort** | **str**| | [optional] if omitted the server will use the default value of "popularity" - **n** | **int**| The number of objects to return. | [optional] if omitted the server will use the default value of 60 - **order** | **str**| | [optional] if omitted the server will use the default value of "descending" - **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] - **search** | **str**| Filters by world name. | [optional] - **tag** | **str**| Tags to include (comma-separated). Any of the tags needs to be present. | [optional] - **notag** | **str**| Tags to exclude (comma-separated). | [optional] - **release_status** | **str**| Filter by ReleaseStatus. | [optional] if omitted the server will use the default value of "public" - **max_unity_version** | **str**| The maximum Unity version supported by the asset. | [optional] - **min_unity_version** | **str**| The minimum Unity version supported by the asset. | [optional] - **platform** | **str**| The platform the asset supports. | [optional] - **user_id** | **str**| Target user to see information on, admin-only. | [optional] + **featured** | **bool**| Filters on featured results. | [optional] + **sort** | **str**| | [optional] [default to 'popularity'] + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **order** | **str**| | [optional] [default to 'descending'] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + **search** | **str**| Filters by world name. | [optional] + **tag** | **str**| Tags to include (comma-separated). Any of the tags needs to be present. | [optional] + **notag** | **str**| Tags to exclude (comma-separated). | [optional] + **release_status** | **str**| Filter by ReleaseStatus. | [optional] [default to 'public'] + **max_unity_version** | **str**| The maximum Unity version supported by the asset. | [optional] + **min_unity_version** | **str**| The minimum Unity version supported by the asset. | [optional] + **platform** | **str**| The platform the asset supports. | [optional] + **user_id** | **str**| Target user to see information on, admin-only. | [optional] ### Return type -[**[LimitedWorld]**](LimitedWorld.md) +[**list[LimitedWorld]**](LimitedWorld.md) ### Authorization @@ -406,9 +515,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of LimitedWorld objects. | - | @@ -418,7 +525,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_recent_worlds** -> [LimitedWorld] get_recent_worlds() +> list[LimitedWorld] get_recent_worlds(featured=featured, sort=sort, n=n, order=order, offset=offset, search=search, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform, user_id=user_id) List Recent Worlds @@ -427,14 +534,11 @@ Search and list recently visited worlds by query filters. ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import worlds_api -from vrchatapi.model.limited_world import LimitedWorld -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -462,53 +566,106 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = worlds_api.WorldsApi(api_client) + api_instance = vrchatapi.WorldsApi(api_client) featured = True # bool | Filters on featured results. (optional) - sort = "popularity" # str | (optional) if omitted the server will use the default value of "popularity" - n = 60 # int | The number of objects to return. (optional) if omitted the server will use the default value of 60 - order = "descending" # str | (optional) if omitted the server will use the default value of "descending" - offset = 0 # int | A zero-based offset from the default object sorting from where search results start. (optional) - search = "search_example" # str | Filters by world name. (optional) - tag = "tag_example" # str | Tags to include (comma-separated). Any of the tags needs to be present. (optional) - notag = "notag_example" # str | Tags to exclude (comma-separated). (optional) - release_status = "public" # str | Filter by ReleaseStatus. (optional) if omitted the server will use the default value of "public" - max_unity_version = "maxUnityVersion_example" # str | The maximum Unity version supported by the asset. (optional) - min_unity_version = "minUnityVersion_example" # str | The minimum Unity version supported by the asset. (optional) - platform = "platform_example" # str | The platform the asset supports. (optional) - user_id = "userId_example" # str | Target user to see information on, admin-only. (optional) - - # example passing only required values which don't have defaults set - # and optional values +sort = 'popularity' # str | (optional) (default to 'popularity') +n = 60 # int | The number of objects to return. (optional) (default to 60) +order = 'descending' # str | (optional) (default to 'descending') +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) +search = 'search_example' # str | Filters by world name. (optional) +tag = 'tag_example' # str | Tags to include (comma-separated). Any of the tags needs to be present. (optional) +notag = 'notag_example' # str | Tags to exclude (comma-separated). (optional) +release_status = 'public' # str | Filter by ReleaseStatus. (optional) (default to 'public') +max_unity_version = 'max_unity_version_example' # str | The maximum Unity version supported by the asset. (optional) +min_unity_version = 'min_unity_version_example' # str | The minimum Unity version supported by the asset. (optional) +platform = 'platform_example' # str | The platform the asset supports. (optional) +user_id = 'user_id_example' # str | Target user to see information on, admin-only. (optional) + try: # List Recent Worlds api_response = api_instance.get_recent_worlds(featured=featured, sort=sort, n=n, order=order, offset=offset, search=search, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform, user_id=user_id) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling WorldsApi->get_recent_worlds: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.WorldsApi(api_client) + featured = True # bool | Filters on featured results. (optional) +sort = 'popularity' # str | (optional) (default to 'popularity') +n = 60 # int | The number of objects to return. (optional) (default to 60) +order = 'descending' # str | (optional) (default to 'descending') +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) +search = 'search_example' # str | Filters by world name. (optional) +tag = 'tag_example' # str | Tags to include (comma-separated). Any of the tags needs to be present. (optional) +notag = 'notag_example' # str | Tags to exclude (comma-separated). (optional) +release_status = 'public' # str | Filter by ReleaseStatus. (optional) (default to 'public') +max_unity_version = 'max_unity_version_example' # str | The maximum Unity version supported by the asset. (optional) +min_unity_version = 'min_unity_version_example' # str | The minimum Unity version supported by the asset. (optional) +platform = 'platform_example' # str | The platform the asset supports. (optional) +user_id = 'user_id_example' # str | Target user to see information on, admin-only. (optional) + + try: + # List Recent Worlds + api_response = api_instance.get_recent_worlds(featured=featured, sort=sort, n=n, order=order, offset=offset, search=search, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform, user_id=user_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling WorldsApi->get_recent_worlds: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **featured** | **bool**| Filters on featured results. | [optional] - **sort** | **str**| | [optional] if omitted the server will use the default value of "popularity" - **n** | **int**| The number of objects to return. | [optional] if omitted the server will use the default value of 60 - **order** | **str**| | [optional] if omitted the server will use the default value of "descending" - **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] - **search** | **str**| Filters by world name. | [optional] - **tag** | **str**| Tags to include (comma-separated). Any of the tags needs to be present. | [optional] - **notag** | **str**| Tags to exclude (comma-separated). | [optional] - **release_status** | **str**| Filter by ReleaseStatus. | [optional] if omitted the server will use the default value of "public" - **max_unity_version** | **str**| The maximum Unity version supported by the asset. | [optional] - **min_unity_version** | **str**| The minimum Unity version supported by the asset. | [optional] - **platform** | **str**| The platform the asset supports. | [optional] - **user_id** | **str**| Target user to see information on, admin-only. | [optional] + **featured** | **bool**| Filters on featured results. | [optional] + **sort** | **str**| | [optional] [default to 'popularity'] + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **order** | **str**| | [optional] [default to 'descending'] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + **search** | **str**| Filters by world name. | [optional] + **tag** | **str**| Tags to include (comma-separated). Any of the tags needs to be present. | [optional] + **notag** | **str**| Tags to exclude (comma-separated). | [optional] + **release_status** | **str**| Filter by ReleaseStatus. | [optional] [default to 'public'] + **max_unity_version** | **str**| The maximum Unity version supported by the asset. | [optional] + **min_unity_version** | **str**| The minimum Unity version supported by the asset. | [optional] + **platform** | **str**| The platform the asset supports. | [optional] + **user_id** | **str**| Target user to see information on, admin-only. | [optional] ### Return type -[**[LimitedWorld]**](LimitedWorld.md) +[**list[LimitedWorld]**](LimitedWorld.md) ### Authorization @@ -519,9 +676,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of LimitedWorld objects. | - | @@ -540,13 +695,11 @@ Get information about a specific World. Works unauthenticated but when so will a ### Example * Api Key Authentication (apiKeyCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import worlds_api -from vrchatapi.model.world import World -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -568,24 +721,22 @@ configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = worlds_api.WorldsApi(api_client) - world_id = "worldId_example" # str | + api_instance = vrchatapi.WorldsApi(api_client) + world_id = 'world_id_example' # str | - # example passing only required values which don't have defaults set try: # Get World by ID api_response = api_instance.get_world(world_id) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling WorldsApi->get_world: %s\n" % e) ``` - ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **world_id** | **str**| | + **world_id** | **str**| | ### Return type @@ -600,9 +751,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single World object. | - | @@ -620,14 +769,11 @@ Returns a worlds instance. ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import worlds_api -from vrchatapi.model.error import Error -from vrchatapi.model.instance import Instance +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -655,26 +801,69 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = worlds_api.WorldsApi(api_client) - world_id = "worldId_example" # str | - instance_id = "instanceId_example" # str | + api_instance = vrchatapi.WorldsApi(api_client) + world_id = 'world_id_example' # str | +instance_id = 'instance_id_example' # str | - # example passing only required values which don't have defaults set try: # Get World Instance api_response = api_instance.get_world_instance(world_id, instance_id) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling WorldsApi->get_world_instance: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.WorldsApi(api_client) + world_id = 'world_id_example' # str | +instance_id = 'instance_id_example' # str | + + try: + # Get World Instance + api_response = api_instance.get_world_instance(world_id, instance_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling WorldsApi->get_world_instance: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **world_id** | **str**| | - **instance_id** | **str**| | + **world_id** | **str**| | + **instance_id** | **str**| | ### Return type @@ -689,9 +878,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single Instance object. | - | @@ -709,14 +896,11 @@ Return a worlds custom metadata. This is currently believed to be unused. Metada ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import worlds_api -from vrchatapi.model.world_metadata import WorldMetadata -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -744,24 +928,66 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = worlds_api.WorldsApi(api_client) - world_id = "worldId_example" # str | + api_instance = vrchatapi.WorldsApi(api_client) + world_id = 'world_id_example' # str | - # example passing only required values which don't have defaults set try: # Get World Metadata api_response = api_instance.get_world_metadata(world_id) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling WorldsApi->get_world_metadata: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.WorldsApi(api_client) + world_id = 'world_id_example' # str | + + try: + # Get World Metadata + api_response = api_instance.get_world_metadata(world_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling WorldsApi->get_world_metadata: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **world_id** | **str**| | + **world_id** | **str**| | ### Return type @@ -776,9 +1002,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | @@ -796,14 +1020,11 @@ Returns a worlds publish status. ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import worlds_api -from vrchatapi.model.world_publish_status import WorldPublishStatus -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -831,24 +1052,66 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = worlds_api.WorldsApi(api_client) - world_id = "worldId_example" # str | + api_instance = vrchatapi.WorldsApi(api_client) + world_id = 'world_id_example' # str | - # example passing only required values which don't have defaults set try: # Get World Publish Status api_response = api_instance.get_world_publish_status(world_id) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling WorldsApi->get_world_publish_status: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.WorldsApi(api_client) + world_id = 'world_id_example' # str | + + try: + # Get World Publish Status + api_response = api_instance.get_world_publish_status(world_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling WorldsApi->get_world_publish_status: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **world_id** | **str**| | + **world_id** | **str**| | ### Return type @@ -863,9 +1126,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single WorldPublishStatus object. | - | @@ -884,13 +1145,11 @@ Publish a world. You can only publish one world per week. ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import worlds_api -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -918,23 +1177,64 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = worlds_api.WorldsApi(api_client) - world_id = "worldId_example" # str | + api_instance = vrchatapi.WorldsApi(api_client) + world_id = 'world_id_example' # str | - # example passing only required values which don't have defaults set try: # Publish World api_instance.publish_world(world_id) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling WorldsApi->publish_world: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.WorldsApi(api_client) + world_id = 'world_id_example' # str | + + try: + # Publish World + api_instance.publish_world(world_id) + except ApiException as e: + print("Exception when calling WorldsApi->publish_world: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **world_id** | **str**| | + **world_id** | **str**| | ### Return type @@ -949,9 +1249,7 @@ void (empty response body) - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | TODO | - | @@ -961,7 +1259,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **search_worlds** -> [LimitedWorld] search_worlds() +> list[LimitedWorld] search_worlds(featured=featured, sort=sort, user=user, user_id=user_id, n=n, order=order, offset=offset, search=search, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform) Search All Worlds @@ -970,14 +1268,11 @@ Search and list any worlds by query filters. ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import worlds_api -from vrchatapi.model.limited_world import LimitedWorld -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -1005,55 +1300,109 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = worlds_api.WorldsApi(api_client) + api_instance = vrchatapi.WorldsApi(api_client) featured = True # bool | Filters on featured results. (optional) - sort = "popularity" # str | (optional) if omitted the server will use the default value of "popularity" - user = "me" # str | Set to `me` for searching own worlds. (optional) if omitted the server will use the default value of "me" - user_id = "userId_example" # str | Filter by UserID. (optional) - n = 60 # int | The number of objects to return. (optional) if omitted the server will use the default value of 60 - order = "descending" # str | (optional) if omitted the server will use the default value of "descending" - offset = 0 # int | A zero-based offset from the default object sorting from where search results start. (optional) - search = "search_example" # str | Filters by world name. (optional) - tag = "tag_example" # str | Tags to include (comma-separated). Any of the tags needs to be present. (optional) - notag = "notag_example" # str | Tags to exclude (comma-separated). (optional) - release_status = "public" # str | Filter by ReleaseStatus. (optional) if omitted the server will use the default value of "public" - max_unity_version = "maxUnityVersion_example" # str | The maximum Unity version supported by the asset. (optional) - min_unity_version = "minUnityVersion_example" # str | The minimum Unity version supported by the asset. (optional) - platform = "platform_example" # str | The platform the asset supports. (optional) - - # example passing only required values which don't have defaults set - # and optional values +sort = 'popularity' # str | (optional) (default to 'popularity') +user = 'user_example' # str | Set to `me` for searching own worlds. (optional) +user_id = 'user_id_example' # str | Filter by UserID. (optional) +n = 60 # int | The number of objects to return. (optional) (default to 60) +order = 'descending' # str | (optional) (default to 'descending') +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) +search = 'search_example' # str | Filters by world name. (optional) +tag = 'tag_example' # str | Tags to include (comma-separated). Any of the tags needs to be present. (optional) +notag = 'notag_example' # str | Tags to exclude (comma-separated). (optional) +release_status = 'public' # str | Filter by ReleaseStatus. (optional) (default to 'public') +max_unity_version = 'max_unity_version_example' # str | The maximum Unity version supported by the asset. (optional) +min_unity_version = 'min_unity_version_example' # str | The minimum Unity version supported by the asset. (optional) +platform = 'platform_example' # str | The platform the asset supports. (optional) + try: # Search All Worlds api_response = api_instance.search_worlds(featured=featured, sort=sort, user=user, user_id=user_id, n=n, order=order, offset=offset, search=search, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling WorldsApi->search_worlds: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.WorldsApi(api_client) + featured = True # bool | Filters on featured results. (optional) +sort = 'popularity' # str | (optional) (default to 'popularity') +user = 'user_example' # str | Set to `me` for searching own worlds. (optional) +user_id = 'user_id_example' # str | Filter by UserID. (optional) +n = 60 # int | The number of objects to return. (optional) (default to 60) +order = 'descending' # str | (optional) (default to 'descending') +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) +search = 'search_example' # str | Filters by world name. (optional) +tag = 'tag_example' # str | Tags to include (comma-separated). Any of the tags needs to be present. (optional) +notag = 'notag_example' # str | Tags to exclude (comma-separated). (optional) +release_status = 'public' # str | Filter by ReleaseStatus. (optional) (default to 'public') +max_unity_version = 'max_unity_version_example' # str | The maximum Unity version supported by the asset. (optional) +min_unity_version = 'min_unity_version_example' # str | The minimum Unity version supported by the asset. (optional) +platform = 'platform_example' # str | The platform the asset supports. (optional) + + try: + # Search All Worlds + api_response = api_instance.search_worlds(featured=featured, sort=sort, user=user, user_id=user_id, n=n, order=order, offset=offset, search=search, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform) + pprint(api_response) + except ApiException as e: + print("Exception when calling WorldsApi->search_worlds: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **featured** | **bool**| Filters on featured results. | [optional] - **sort** | **str**| | [optional] if omitted the server will use the default value of "popularity" - **user** | **str**| Set to `me` for searching own worlds. | [optional] if omitted the server will use the default value of "me" - **user_id** | **str**| Filter by UserID. | [optional] - **n** | **int**| The number of objects to return. | [optional] if omitted the server will use the default value of 60 - **order** | **str**| | [optional] if omitted the server will use the default value of "descending" - **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] - **search** | **str**| Filters by world name. | [optional] - **tag** | **str**| Tags to include (comma-separated). Any of the tags needs to be present. | [optional] - **notag** | **str**| Tags to exclude (comma-separated). | [optional] - **release_status** | **str**| Filter by ReleaseStatus. | [optional] if omitted the server will use the default value of "public" - **max_unity_version** | **str**| The maximum Unity version supported by the asset. | [optional] - **min_unity_version** | **str**| The minimum Unity version supported by the asset. | [optional] - **platform** | **str**| The platform the asset supports. | [optional] + **featured** | **bool**| Filters on featured results. | [optional] + **sort** | **str**| | [optional] [default to 'popularity'] + **user** | **str**| Set to `me` for searching own worlds. | [optional] + **user_id** | **str**| Filter by UserID. | [optional] + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **order** | **str**| | [optional] [default to 'descending'] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + **search** | **str**| Filters by world name. | [optional] + **tag** | **str**| Tags to include (comma-separated). Any of the tags needs to be present. | [optional] + **notag** | **str**| Tags to exclude (comma-separated). | [optional] + **release_status** | **str**| Filter by ReleaseStatus. | [optional] [default to 'public'] + **max_unity_version** | **str**| The maximum Unity version supported by the asset. | [optional] + **min_unity_version** | **str**| The minimum Unity version supported by the asset. | [optional] + **platform** | **str**| The platform the asset supports. | [optional] ### Return type -[**[LimitedWorld]**](LimitedWorld.md) +[**list[LimitedWorld]**](LimitedWorld.md) ### Authorization @@ -1064,9 +1413,7 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of LimitedWorld objects. | - | @@ -1084,13 +1431,11 @@ Unpublish a world. ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import worlds_api -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -1118,23 +1463,64 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = worlds_api.WorldsApi(api_client) - world_id = "worldId_example" # str | + api_instance = vrchatapi.WorldsApi(api_client) + world_id = 'world_id_example' # str | - # example passing only required values which don't have defaults set try: # Unpublish World api_instance.unpublish_world(world_id) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling WorldsApi->unpublish_world: %s\n" % e) ``` +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.WorldsApi(api_client) + world_id = 'world_id_example' # str | + + try: + # Unpublish World + api_instance.unpublish_world(world_id) + except ApiException as e: + print("Exception when calling WorldsApi->unpublish_world: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **world_id** | **str**| | + **world_id** | **str**| | ### Return type @@ -1149,9 +1535,7 @@ void (empty response body) - **Content-Type**: Not defined - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | @@ -1161,7 +1545,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **update_world** -> World update_world(world_id) +> World update_world(world_id, update_world_request=update_world_request) Update World @@ -1170,15 +1554,11 @@ Update information about a specific World. ### Example * Api Key Authentication (apiKeyCookie): -* Api Key Authentication (authCookie): - ```python +from __future__ import print_function import time import vrchatapi -from vrchatapi.api import worlds_api -from vrchatapi.model.update_world_request import UpdateWorldRequest -from vrchatapi.model.world import World -from vrchatapi.model.error import Error +from vrchatapi.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. @@ -1206,51 +1586,69 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = worlds_api.WorldsApi(api_client) - world_id = "worldId_example" # str | - update_world_request = UpdateWorldRequest( - asset_url="asset_url_example", - asset_version="asset_version_example", - author_id="usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469", - author_name="author_name_example", - capacity=8, - description="description_example", - image_url="image_url_example", - name="name_example", - platform="standalonewindows", - release_status=ReleaseStatus("public"), - tags=[ - Tag("tags_example"), - ], - unity_package_url="unity_package_url_example", - unity_version="2018.4.20f1", - ) # UpdateWorldRequest | (optional) - - # example passing only required values which don't have defaults set + api_instance = vrchatapi.WorldsApi(api_client) + world_id = 'world_id_example' # str | +update_world_request = vrchatapi.UpdateWorldRequest() # UpdateWorldRequest | (optional) + try: # Update World - api_response = api_instance.update_world(world_id) + api_response = api_instance.update_world(world_id, update_world_request=update_world_request) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling WorldsApi->update_world: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.WorldsApi(api_client) + world_id = 'world_id_example' # str | +update_world_request = vrchatapi.UpdateWorldRequest() # UpdateWorldRequest | (optional) - # example passing only required values which don't have defaults set - # and optional values try: # Update World api_response = api_instance.update_world(world_id, update_world_request=update_world_request) pprint(api_response) - except vrchatapi.ApiException as e: + except ApiException as e: print("Exception when calling WorldsApi->update_world: %s\n" % e) ``` - ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **world_id** | **str**| | - **update_world_request** | [**UpdateWorldRequest**](UpdateWorldRequest.md)| | [optional] + **world_id** | **str**| | + **update_world_request** | [**UpdateWorldRequest**](UpdateWorldRequest.md)| | [optional] ### Return type @@ -1265,9 +1663,7 @@ Name | Type | Description | Notes - **Content-Type**: application/json - **Accept**: application/json - ### HTTP response details - | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single World object. | - | diff --git a/generate.sh b/generate.sh old mode 100644 new mode 100755 index 2df90f1a..db463c21 --- a/generate.sh +++ b/generate.sh @@ -5,7 +5,7 @@ npm install @openapitools/openapi-generator-cli rm vrchatapi docs -rf ./node_modules/\@openapitools/openapi-generator-cli/main.js generate \ --g python \ +-g python-legacy \ --additional-properties=packageName=vrchatapi,projectName=vrchatapi \ --git-user-id=vrchatapi \ --git-repo-id=vrchatapi-python \ @@ -21,9 +21,6 @@ sed -i 's/if _preload_content/abcdefvrc\n\n if _preload_content/g' ./vrch sed -i '/abcdefvrc/r patches/cookiejar_extract.py' ./vrchatapi/rest.py sed -i 's/ abcdefvrc//g' ./vrchatapi/rest.py -# Fix bools with url query params -patch ./vrchatapi/api_client.py < ./patches/bool_query_param.patch - # Fix description, keywords, etc... # Echo to trim whitespace VERSION=`echo $(cat setup.py | grep "The version of the OpenAPI document" | cut -d ":" -f 2)` diff --git a/openapitools.json b/openapitools.json index 3b40e47a..f5f966a1 100644 --- a/openapitools.json +++ b/openapitools.json @@ -2,6 +2,6 @@ "$schema": "node_modules/@openapitools/openapi-generator-cli/config.schema.json", "spaces": 2, "generator-cli": { - "version": "5.3.0" + "version": "6.2.1" } } diff --git a/patches/bool_query_param.patch b/patches/bool_query_param.patch deleted file mode 100644 index ba1668dc..00000000 --- a/patches/bool_query_param.patch +++ /dev/null @@ -1,54 +0,0 @@ -diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py -index 20deb6c..02c7e54 100644 ---- a/vrchatapi/api_client.py -+++ b/vrchatapi/api_client.py -@@ -160,7 +160,7 @@ class ApiClient(object): - - # query parameters - if query_params: -- query_params = self.sanitize_for_serialization(query_params) -+ query_params = self.sanitize_for_serialization(query_params, True) - query_params = self.parameters_to_tuples(query_params, - collection_formats) - -@@ -255,7 +255,7 @@ class ApiClient(object): - return new_params - - @classmethod -- def sanitize_for_serialization(cls, obj): -+ def sanitize_for_serialization(cls, obj, query=False): - """Prepares data for transmission before it is sent with the rest client - If obj is None, return None. - If obj is str, int, long, float, bool, return directly. -@@ -265,6 +265,7 @@ class ApiClient(object): - If obj is dict, return the dict. - If obj is OpenAPI model, return the properties dict. - If obj is io.IOBase, return the bytes -+ If obj is bool and query is true, return str - :param obj: The data to serialize. - :return: The serialized form of data. - """ -@@ -272,6 +273,8 @@ class ApiClient(object): - return { - key: cls.sanitize_for_serialization(val) for key, val in model_to_dict(obj, serialize=True).items() - } -+ elif isinstance(obj, bool) and query: -+ return str(obj).lower() - elif isinstance(obj, io.IOBase): - return cls.get_file_data_and_close_file(obj) - elif isinstance(obj, (str, int, float, none_type, bool)): -@@ -279,11 +282,11 @@ class ApiClient(object): - elif isinstance(obj, (datetime, date)): - return obj.isoformat() - elif isinstance(obj, ModelSimple): -- return cls.sanitize_for_serialization(obj.value) -+ return cls.sanitize_for_serialization(obj.value, query) - elif isinstance(obj, (list, tuple)): -- return [cls.sanitize_for_serialization(item) for item in obj] -+ return [cls.sanitize_for_serialization(item, query) for item in obj] - if isinstance(obj, dict): -- return {key: cls.sanitize_for_serialization(val) for key, val in obj.items()} -+ return {key: cls.sanitize_for_serialization(val, query) for key, val in obj.items()} - raise ApiValueError('Unable to prepare type {} for serialization'.format(obj.__class__.__name__)) - - def deserialize(self, response, response_type, _check_type): diff --git a/requirements.txt b/requirements.txt index 96947f60..d0518ec8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,5 @@ +future; python_version<="2.7" +six >= 1.10 python_dateutil >= 2.5.3 setuptools >= 21.0.0 urllib3 >= 1.25.3 diff --git a/setup.py b/setup.py index 7de01f44..f302a054 100644 --- a/setup.py +++ b/setup.py @@ -1,3 +1,5 @@ +# coding: utf-8 + """ VRChat API Documentation @@ -91,10 +93,7 @@ # prerequisite: setuptools # http://pypi.python.org/pypi/setuptools -REQUIRES = [ - "urllib3 >= 1.25.3", - "python-dateutil", -] +REQUIRES = ["urllib3 >= 1.25.3", "six >= 1.10", "python-dateutil"] setup( name=NAME, @@ -104,12 +103,12 @@ author_email="me@ariesclark.com", url="", keywords=["vrchat", "vrchatapi", "vrc"], - python_requires=">=3.6", install_requires=REQUIRES, packages=find_packages(exclude=["test", "tests"]), include_package_data=True, license="The MIT License (MIT)", long_description_content_type="text/markdown", + long_description_content_type='text/markdown', long_description="""\ ![](https://github.com/vrchatapi/vrchatapi.github.io/blob/main/static/assets/img/lang/lang_python_banner_1500x300.png?raw=true) diff --git a/test-requirements.txt b/test-requirements.txt index bb4f22bb..96e37c87 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1 +1,4 @@ +pytest~=4.6.7 # needed for python 2.7+3.4 pytest-cov>=2.8.1 +pytest-randomly==1.2.3 # needed for python 2.7+3.4 +mock; python_version<'3.0' diff --git a/tox.ini b/tox.ini index 49b8d458..8f4850bc 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py3 +envlist = py27, py3 [testenv] deps=-r{toxinidir}/requirements.txt diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 22fe57a2..5ab345bc 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -1,3 +1,5 @@ +# coding: utf-8 + # flake8: noqa """ @@ -10,18 +12,121 @@ """ +from __future__ import absolute_import + __version__ = "1.0.0" +# import apis into sdk package +from vrchatapi.api.authentication_api import AuthenticationApi +from vrchatapi.api.avatars_api import AvatarsApi +from vrchatapi.api.economy_api import EconomyApi +from vrchatapi.api.favorites_api import FavoritesApi +from vrchatapi.api.files_api import FilesApi +from vrchatapi.api.friends_api import FriendsApi +from vrchatapi.api.instances_api import InstancesApi +from vrchatapi.api.invite_api import InviteApi +from vrchatapi.api.notifications_api import NotificationsApi +from vrchatapi.api.permissions_api import PermissionsApi +from vrchatapi.api.playermoderation_api import PlayermoderationApi +from vrchatapi.api.system_api import SystemApi +from vrchatapi.api.users_api import UsersApi +from vrchatapi.api.worlds_api import WorldsApi + # import ApiClient from vrchatapi.api_client import ApiClient - -# import Configuration from vrchatapi.configuration import Configuration - -# import exceptions from vrchatapi.exceptions import OpenApiException -from vrchatapi.exceptions import ApiAttributeError from vrchatapi.exceptions import ApiTypeError from vrchatapi.exceptions import ApiValueError from vrchatapi.exceptions import ApiKeyError +from vrchatapi.exceptions import ApiAttributeError from vrchatapi.exceptions import ApiException +# import models into sdk package +from vrchatapi.models.api_config import APIConfig +from vrchatapi.models.api_event_config import APIEventConfig +from vrchatapi.models.api_health import APIHealth +from vrchatapi.models.add_favorite_request import AddFavoriteRequest +from vrchatapi.models.avatar import Avatar +from vrchatapi.models.avatar_unity_package_url_object import AvatarUnityPackageUrlObject +from vrchatapi.models.create_avatar_request import CreateAvatarRequest +from vrchatapi.models.create_file_request import CreateFileRequest +from vrchatapi.models.create_file_version_request import CreateFileVersionRequest +from vrchatapi.models.create_world_request import CreateWorldRequest +from vrchatapi.models.current_user import CurrentUser +from vrchatapi.models.deployment_group import DeploymentGroup +from vrchatapi.models.developer_type import DeveloperType +from vrchatapi.models.download_url_list import DownloadURLList +from vrchatapi.models.dynamic_content_row import DynamicContentRow +from vrchatapi.models.error import Error +from vrchatapi.models.favorite import Favorite +from vrchatapi.models.favorite_group import FavoriteGroup +from vrchatapi.models.favorite_group_visibility import FavoriteGroupVisibility +from vrchatapi.models.favorite_type import FavoriteType +from vrchatapi.models.file import File +from vrchatapi.models.file_data import FileData +from vrchatapi.models.file_status import FileStatus +from vrchatapi.models.file_upload_url import FileUploadURL +from vrchatapi.models.file_version import FileVersion +from vrchatapi.models.file_version_upload_status import FileVersionUploadStatus +from vrchatapi.models.finish_file_data_upload_request import FinishFileDataUploadRequest +from vrchatapi.models.friend_status import FriendStatus +from vrchatapi.models.info_push import InfoPush +from vrchatapi.models.info_push_data import InfoPushData +from vrchatapi.models.info_push_data_article import InfoPushDataArticle +from vrchatapi.models.info_push_data_article_content import InfoPushDataArticleContent +from vrchatapi.models.info_push_data_clickable import InfoPushDataClickable +from vrchatapi.models.instance import Instance +from vrchatapi.models.instance_platforms import InstancePlatforms +from vrchatapi.models.instance_short_name_response import InstanceShortNameResponse +from vrchatapi.models.instance_type import InstanceType +from vrchatapi.models.invite_message import InviteMessage +from vrchatapi.models.invite_message_type import InviteMessageType +from vrchatapi.models.invite_request import InviteRequest +from vrchatapi.models.invite_response import InviteResponse +from vrchatapi.models.license import License +from vrchatapi.models.license_action import LicenseAction +from vrchatapi.models.license_group import LicenseGroup +from vrchatapi.models.license_type import LicenseType +from vrchatapi.models.limited_unity_package import LimitedUnityPackage +from vrchatapi.models.limited_user import LimitedUser +from vrchatapi.models.limited_world import LimitedWorld +from vrchatapi.models.mime_type import MIMEType +from vrchatapi.models.moderate_user_request import ModerateUserRequest +from vrchatapi.models.notification import Notification +from vrchatapi.models.notification_type import NotificationType +from vrchatapi.models.past_display_name import PastDisplayName +from vrchatapi.models.permission import Permission +from vrchatapi.models.player_moderation import PlayerModeration +from vrchatapi.models.player_moderation_type import PlayerModerationType +from vrchatapi.models.public_announcement import PublicAnnouncement +from vrchatapi.models.region import Region +from vrchatapi.models.release_status import ReleaseStatus +from vrchatapi.models.request_invite_request import RequestInviteRequest +from vrchatapi.models.response import Response +from vrchatapi.models.sent_notification import SentNotification +from vrchatapi.models.subscription import Subscription +from vrchatapi.models.subscription_period import SubscriptionPeriod +from vrchatapi.models.success import Success +from vrchatapi.models.transaction import Transaction +from vrchatapi.models.transaction_agreement import TransactionAgreement +from vrchatapi.models.transaction_status import TransactionStatus +from vrchatapi.models.transaction_steam_info import TransactionSteamInfo +from vrchatapi.models.transaction_steam_wallet_info import TransactionSteamWalletInfo +from vrchatapi.models.two_factor_auth_code import TwoFactorAuthCode +from vrchatapi.models.unity_package import UnityPackage +from vrchatapi.models.update_avatar_request import UpdateAvatarRequest +from vrchatapi.models.update_favorite_group_request import UpdateFavoriteGroupRequest +from vrchatapi.models.update_invite_message_request import UpdateInviteMessageRequest +from vrchatapi.models.update_user_request import UpdateUserRequest +from vrchatapi.models.update_world_request import UpdateWorldRequest +from vrchatapi.models.user import User +from vrchatapi.models.user_exists import UserExists +from vrchatapi.models.user_state import UserState +from vrchatapi.models.user_status import UserStatus +from vrchatapi.models.user_subscription import UserSubscription +from vrchatapi.models.verify2_fa_result import Verify2FAResult +from vrchatapi.models.verify_auth_token_result import VerifyAuthTokenResult +from vrchatapi.models.world import World +from vrchatapi.models.world_metadata import WorldMetadata +from vrchatapi.models.world_publish_status import WorldPublishStatus + diff --git a/vrchatapi/api/__init__.py b/vrchatapi/api/__init__.py index 370f3589..4453a93f 100644 --- a/vrchatapi/api/__init__.py +++ b/vrchatapi/api/__init__.py @@ -1,3 +1,19 @@ -# do not import all apis into this module because that uses a lot of memory and stack frames -# if you need the ability to import all apis from one package, import them with -# from vrchatapi.apis import AuthenticationApi +from __future__ import absolute_import + +# flake8: noqa + +# import apis into api package +from vrchatapi.api.authentication_api import AuthenticationApi +from vrchatapi.api.avatars_api import AvatarsApi +from vrchatapi.api.economy_api import EconomyApi +from vrchatapi.api.favorites_api import FavoritesApi +from vrchatapi.api.files_api import FilesApi +from vrchatapi.api.friends_api import FriendsApi +from vrchatapi.api.instances_api import InstancesApi +from vrchatapi.api.invite_api import InviteApi +from vrchatapi.api.notifications_api import NotificationsApi +from vrchatapi.api.permissions_api import PermissionsApi +from vrchatapi.api.playermoderation_api import PlayermoderationApi +from vrchatapi.api.system_api import SystemApi +from vrchatapi.api.users_api import UsersApi +from vrchatapi.api.worlds_api import WorldsApi diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index 32f22e97..f49f2f4f 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -1,3 +1,5 @@ +# coding: utf-8 + """ VRChat API Documentation @@ -8,26 +10,18 @@ """ +from __future__ import absolute_import + import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.api_client import ApiClient, Endpoint as _Endpoint -from vrchatapi.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types + +# python 2 and python 3 compatibility library +import six + +from vrchatapi.api_client import ApiClient +from vrchatapi.exceptions import ( # noqa: F401 + ApiTypeError, + ApiValueError ) -from vrchatapi.model.current_user import CurrentUser -from vrchatapi.model.error import Error -from vrchatapi.model.success import Success -from vrchatapi.model.two_factor_auth_code import TwoFactorAuthCode -from vrchatapi.model.user_exists import UserExists -from vrchatapi.model.verify2_fa_result import Verify2FAResult -from vrchatapi.model.verify_auth_token_result import VerifyAuthTokenResult class AuthenticationApi(object): @@ -41,361 +35,8 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client - self.check_user_exists_endpoint = _Endpoint( - settings={ - 'response_type': (UserExists,), - 'auth': [ - 'apiKeyCookie' - ], - 'endpoint_path': '/auth/exists', - 'operation_id': 'check_user_exists', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'email', - 'display_name', - 'user_id', - 'exclude_user_id', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'email': - (str,), - 'display_name': - (str,), - 'user_id': - (str,), - 'exclude_user_id': - (str,), - }, - 'attribute_map': { - 'email': 'email', - 'display_name': 'displayName', - 'user_id': 'userId', - 'exclude_user_id': 'excludeUserId', - }, - 'location_map': { - 'email': 'query', - 'display_name': 'query', - 'user_id': 'query', - 'exclude_user_id': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.delete_user_endpoint = _Endpoint( - settings={ - 'response_type': (CurrentUser,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/user/{userId}/delete', - 'operation_id': 'delete_user', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'user_id', - ], - 'required': [ - 'user_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'user_id': - (str,), - }, - 'attribute_map': { - 'user_id': 'userId', - }, - 'location_map': { - 'user_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_current_user_endpoint = _Endpoint( - settings={ - 'response_type': (CurrentUser,), - 'auth': [ - 'authCookie', - 'authHeader', - 'twoFactorAuthCookie' - ], - 'endpoint_path': '/auth/user', - 'operation_id': 'get_current_user', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - }, - 'attribute_map': { - }, - 'location_map': { - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.logout_endpoint = _Endpoint( - settings={ - 'response_type': (Success,), - 'auth': [ - 'authCookie' - ], - 'endpoint_path': '/logout', - 'operation_id': 'logout', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - }, - 'attribute_map': { - }, - 'location_map': { - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.verify2_fa_endpoint = _Endpoint( - settings={ - 'response_type': (Verify2FAResult,), - 'auth': [ - 'authCookie' - ], - 'endpoint_path': '/auth/twofactorauth/totp/verify', - 'operation_id': 'verify2_fa', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'two_factor_auth_code', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'two_factor_auth_code': - (TwoFactorAuthCode,), - }, - 'attribute_map': { - }, - 'location_map': { - 'two_factor_auth_code': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.verify_auth_token_endpoint = _Endpoint( - settings={ - 'response_type': (VerifyAuthTokenResult,), - 'auth': [ - 'authCookie' - ], - 'endpoint_path': '/auth', - 'operation_id': 'verify_auth_token', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - }, - 'attribute_map': { - }, - 'location_map': { - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.verify_recovery_code_endpoint = _Endpoint( - settings={ - 'response_type': (Verify2FAResult,), - 'auth': [ - 'authCookie' - ], - 'endpoint_path': '/auth/twofactorauth/otp/verify', - 'operation_id': 'verify_recovery_code', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'two_factor_auth_code', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'two_factor_auth_code': - (TwoFactorAuthCode,), - }, - 'attribute_map': { - }, - 'location_map': { - 'two_factor_auth_code': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - def check_user_exists( - self, - **kwargs - ): + def check_user_exists(self, **kwargs): # noqa: E501 """Check User Exists # noqa: E501 Checks if a user by a given `username`, `displayName` or `email` exist. This is used during registration to check if a username has already been taken, during change of displayName to check if a displayName is available, and during change of email to check if the email is already used. In the later two cases the `excludeUserId` is used to exclude oneself, otherwise the result would always be true. It is **REQUIRED** to include **AT LEAST** `username`, `displayName` **or** `email` query parameter. Although they can be combined - in addition with `excludeUserId` (generally to exclude yourself) - to further fine-tune the search. # noqa: E501 @@ -405,63 +46,153 @@ def check_user_exists( >>> thread = api.check_user_exists(async_req=True) >>> result = thread.get() + :param email: Filter by email. + :type email: str + :param display_name: Filter by displayName. + :type display_name: str + :param user_id: Filter by UserID. + :type user_id: str + :param exclude_user_id: Exclude by UserID. + :type exclude_user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: UserExists + """ + kwargs['_return_http_data_only'] = True + return self.check_user_exists_with_http_info(**kwargs) # noqa: E501 + + def check_user_exists_with_http_info(self, **kwargs): # noqa: E501 + """Check User Exists # noqa: E501 + + Checks if a user by a given `username`, `displayName` or `email` exist. This is used during registration to check if a username has already been taken, during change of displayName to check if a displayName is available, and during change of email to check if the email is already used. In the later two cases the `excludeUserId` is used to exclude oneself, otherwise the result would always be true. It is **REQUIRED** to include **AT LEAST** `username`, `displayName` **or** `email` query parameter. Although they can be combined - in addition with `excludeUserId` (generally to exclude yourself) - to further fine-tune the search. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.check_user_exists_with_http_info(async_req=True) + >>> result = thread.get() - Keyword Args: - email (str): Filter by email.. [optional] - display_name (str): Filter by displayName.. [optional] - user_id (str): Filter by UserID.. [optional] - exclude_user_id (str): Exclude by UserID.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - UserExists - If the method is called asynchronously, returns the request - thread. + :param email: Filter by email. + :type email: str + :param display_name: Filter by displayName. + :type display_name: str + :param user_id: Filter by UserID. + :type user_id: str + :param exclude_user_id: Exclude by UserID. + :type exclude_user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(UserExists, status_code(int), headers(HTTPHeaderDict)) """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.check_user_exists_endpoint.call_with_http_info(**kwargs) - - def delete_user( - self, - user_id, - **kwargs - ): + + local_var_params = locals() + + all_params = [ + 'email', + 'display_name', + 'user_id', + 'exclude_user_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method check_user_exists" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if local_var_params.get('email') is not None: # noqa: E501 + query_params.append(('email', local_var_params['email'])) # noqa: E501 + if local_var_params.get('display_name') is not None: # noqa: E501 + query_params.append(('displayName', local_var_params['display_name'])) # noqa: E501 + if local_var_params.get('user_id') is not None: # noqa: E501 + query_params.append(('userId', local_var_params['user_id'])) # noqa: E501 + if local_var_params.get('exclude_user_id') is not None: # noqa: E501 + query_params.append(('excludeUserId', local_var_params['exclude_user_id'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie'] # noqa: E501 + + response_types_map = { + 200: "UserExists", + 400: "Error", + } + + return self.api_client.call_api( + '/auth/exists', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def delete_user(self, user_id, **kwargs): # noqa: E501 """Delete User # noqa: E501 Deletes the account with given ID. Normal users only have permission to delete their own account. Account deletion is 14 days from this request, and will be cancelled if you do an authenticated request with the account afterwards. **VRC+ NOTE:** Despite the 14-days cooldown, any VRC+ subscription will be cancelled **immediately**. **METHOD NOTE:** Despite this being a Delete action, the method type required is PUT. # noqa: E501 @@ -471,62 +202,135 @@ def delete_user( >>> thread = api.delete_user(user_id, async_req=True) >>> result = thread.get() - Args: - user_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - CurrentUser - If the method is called asynchronously, returns the request - thread. + :param user_id: (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: CurrentUser """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['user_id'] = \ - user_id - return self.delete_user_endpoint.call_with_http_info(**kwargs) - - def get_current_user( - self, - **kwargs - ): + kwargs['_return_http_data_only'] = True + return self.delete_user_with_http_info(user_id, **kwargs) # noqa: E501 + + def delete_user_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Delete User # noqa: E501 + + Deletes the account with given ID. Normal users only have permission to delete their own account. Account deletion is 14 days from this request, and will be cancelled if you do an authenticated request with the account afterwards. **VRC+ NOTE:** Despite the 14-days cooldown, any VRC+ subscription will be cancelled **immediately**. **METHOD NOTE:** Despite this being a Delete action, the method type required is PUT. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_user_with_http_info(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(CurrentUser, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_user" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `delete_user`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "CurrentUser", + 401: "Error", + } + + return self.api_client.call_api( + '/user/{userId}/delete', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_current_user(self, **kwargs): # noqa: E501 """Login and/or Get Current User Info # noqa: E501 This endpoint does the following two operations: 1) Checks if you are already logged in by looking for a valid `auth` cookie. If you are have a valid auth cookie then no additional auth-related actions are taken. If you are **not** logged in then it will log you in with the `Authorization` header and set the `auth` cookie. The `auth` cookie will only be sent once. 2) If logged in, this function will also return the CurrentUser object containing detailed information about the currently logged in user. The auth string after `Authorization: Basic {string}` is a base64-encoded string of the username and password, both individually url-encoded, and then joined with a colon. > base64(urlencode(username):urlencode(password)) **WARNING: Session Limit:** Each authentication with login credentials counts as a separate session, out of which you have a limited amount. Make sure to save and reuse the `auth` cookie if you are often restarting the program. The provided API libraries automatically save cookies during runtime, but does not persist during restart. While it can be fine to use username/password during development, expect in production to very fast run into the rate-limit and be temporarily blocked from making new sessions until older ones expire. The exact number of simultaneous sessions is unknown/undisclosed. # noqa: E501 @@ -536,58 +340,125 @@ def get_current_user( >>> thread = api.get_current_user(async_req=True) >>> result = thread.get() + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: CurrentUser + """ + kwargs['_return_http_data_only'] = True + return self.get_current_user_with_http_info(**kwargs) # noqa: E501 + + def get_current_user_with_http_info(self, **kwargs): # noqa: E501 + """Login and/or Get Current User Info # noqa: E501 + + This endpoint does the following two operations: 1) Checks if you are already logged in by looking for a valid `auth` cookie. If you are have a valid auth cookie then no additional auth-related actions are taken. If you are **not** logged in then it will log you in with the `Authorization` header and set the `auth` cookie. The `auth` cookie will only be sent once. 2) If logged in, this function will also return the CurrentUser object containing detailed information about the currently logged in user. The auth string after `Authorization: Basic {string}` is a base64-encoded string of the username and password, both individually url-encoded, and then joined with a colon. > base64(urlencode(username):urlencode(password)) **WARNING: Session Limit:** Each authentication with login credentials counts as a separate session, out of which you have a limited amount. Make sure to save and reuse the `auth` cookie if you are often restarting the program. The provided API libraries automatically save cookies during runtime, but does not persist during restart. While it can be fine to use username/password during development, expect in production to very fast run into the rate-limit and be temporarily blocked from making new sessions until older ones expire. The exact number of simultaneous sessions is unknown/undisclosed. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_current_user_with_http_info(async_req=True) + >>> result = thread.get() - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - CurrentUser - If the method is called asynchronously, returns the request - thread. + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(CurrentUser, status_code(int), headers(HTTPHeaderDict)) """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.get_current_user_endpoint.call_with_http_info(**kwargs) - def logout( - self, - **kwargs - ): + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_current_user" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie', 'authHeader', 'twoFactorAuthCookie'] # noqa: E501 + + response_types_map = { + 200: "CurrentUser", + 401: "Error", + } + + return self.api_client.call_api( + '/auth/user', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def logout(self, **kwargs): # noqa: E501 """Logout # noqa: E501 Invalidates the login session. # noqa: E501 @@ -597,58 +468,125 @@ def logout( >>> thread = api.logout(async_req=True) >>> result = thread.get() + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Success + """ + kwargs['_return_http_data_only'] = True + return self.logout_with_http_info(**kwargs) # noqa: E501 - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Success - If the method is called asynchronously, returns the request - thread. + def logout_with_http_info(self, **kwargs): # noqa: E501 + """Logout # noqa: E501 + + Invalidates the login session. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.logout_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Success, status_code(int), headers(HTTPHeaderDict)) """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.logout_endpoint.call_with_http_info(**kwargs) - def verify2_fa( - self, - **kwargs - ): + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method logout" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "Success", + 401: "Error", + } + + return self.api_client.call_api( + '/logout', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def verify2_fa(self, **kwargs): # noqa: E501 """Verify 2FA code # noqa: E501 Finishes the login sequence with a normal 2FA-generated code for accounts with 2FA-protection enabled. # noqa: E501 @@ -658,59 +596,140 @@ def verify2_fa( >>> thread = api.verify2_fa(async_req=True) >>> result = thread.get() + :param two_factor_auth_code: + :type two_factor_auth_code: TwoFactorAuthCode + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Verify2FAResult + """ + kwargs['_return_http_data_only'] = True + return self.verify2_fa_with_http_info(**kwargs) # noqa: E501 + + def verify2_fa_with_http_info(self, **kwargs): # noqa: E501 + """Verify 2FA code # noqa: E501 + + Finishes the login sequence with a normal 2FA-generated code for accounts with 2FA-protection enabled. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.verify2_fa_with_http_info(async_req=True) + >>> result = thread.get() - Keyword Args: - two_factor_auth_code (TwoFactorAuthCode): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Verify2FAResult - If the method is called asynchronously, returns the request - thread. + :param two_factor_auth_code: + :type two_factor_auth_code: TwoFactorAuthCode + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Verify2FAResult, status_code(int), headers(HTTPHeaderDict)) """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.verify2_fa_endpoint.call_with_http_info(**kwargs) - def verify_auth_token( - self, - **kwargs - ): + local_var_params = locals() + + all_params = [ + 'two_factor_auth_code' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method verify2_fa" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'two_factor_auth_code' in local_var_params: + body_params = local_var_params['two_factor_auth_code'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "Verify2FAResult", + 401: "Error", + } + + return self.api_client.call_api( + '/auth/twofactorauth/totp/verify', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def verify_auth_token(self, **kwargs): # noqa: E501 """Verify Auth Token # noqa: E501 Verify whether the currently provided Auth Token is valid. # noqa: E501 @@ -720,58 +739,125 @@ def verify_auth_token( >>> thread = api.verify_auth_token(async_req=True) >>> result = thread.get() + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: VerifyAuthTokenResult + """ + kwargs['_return_http_data_only'] = True + return self.verify_auth_token_with_http_info(**kwargs) # noqa: E501 - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - VerifyAuthTokenResult - If the method is called asynchronously, returns the request - thread. + def verify_auth_token_with_http_info(self, **kwargs): # noqa: E501 + """Verify Auth Token # noqa: E501 + + Verify whether the currently provided Auth Token is valid. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.verify_auth_token_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(VerifyAuthTokenResult, status_code(int), headers(HTTPHeaderDict)) """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.verify_auth_token_endpoint.call_with_http_info(**kwargs) - def verify_recovery_code( - self, - **kwargs - ): + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method verify_auth_token" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "VerifyAuthTokenResult", + 401: "Error", + } + + return self.api_client.call_api( + '/auth', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def verify_recovery_code(self, **kwargs): # noqa: E501 """Verify 2FA code with Recovery code # noqa: E501 Finishes the login sequence with an OTP (One Time Password) recovery code for accounts with 2FA-protection enabled. # noqa: E501 @@ -781,52 +867,135 @@ def verify_recovery_code( >>> thread = api.verify_recovery_code(async_req=True) >>> result = thread.get() + :param two_factor_auth_code: + :type two_factor_auth_code: TwoFactorAuthCode + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Verify2FAResult + """ + kwargs['_return_http_data_only'] = True + return self.verify_recovery_code_with_http_info(**kwargs) # noqa: E501 - Keyword Args: - two_factor_auth_code (TwoFactorAuthCode): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Verify2FAResult - If the method is called asynchronously, returns the request - thread. + def verify_recovery_code_with_http_info(self, **kwargs): # noqa: E501 + """Verify 2FA code with Recovery code # noqa: E501 + + Finishes the login sequence with an OTP (One Time Password) recovery code for accounts with 2FA-protection enabled. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.verify_recovery_code_with_http_info(async_req=True) + >>> result = thread.get() + + :param two_factor_auth_code: + :type two_factor_auth_code: TwoFactorAuthCode + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Verify2FAResult, status_code(int), headers(HTTPHeaderDict)) """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.verify_recovery_code_endpoint.call_with_http_info(**kwargs) + local_var_params = locals() + + all_params = [ + 'two_factor_auth_code' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method verify_recovery_code" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'two_factor_auth_code' in local_var_params: + body_params = local_var_params['two_factor_auth_code'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "Verify2FAResult", + 401: "Error", + } + + return self.api_client.call_api( + '/auth/twofactorauth/otp/verify', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index a0a3b8c8..6651dbaf 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -1,3 +1,5 @@ +# coding: utf-8 + """ VRChat API Documentation @@ -8,24 +10,18 @@ """ +from __future__ import absolute_import + import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.api_client import ApiClient, Endpoint as _Endpoint -from vrchatapi.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types + +# python 2 and python 3 compatibility library +import six + +from vrchatapi.api_client import ApiClient +from vrchatapi.exceptions import ( # noqa: F401 + ApiTypeError, + ApiValueError ) -from vrchatapi.model.avatar import Avatar -from vrchatapi.model.create_avatar_request import CreateAvatarRequest -from vrchatapi.model.current_user import CurrentUser -from vrchatapi.model.error import Error -from vrchatapi.model.update_avatar_request import UpdateAvatarRequest class AvatarsApi(object): @@ -39,699 +35,8 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client - self.create_avatar_endpoint = _Endpoint( - settings={ - 'response_type': (Avatar,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/avatars', - 'operation_id': 'create_avatar', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'create_avatar_request', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'create_avatar_request': - (CreateAvatarRequest,), - }, - 'attribute_map': { - }, - 'location_map': { - 'create_avatar_request': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.delete_avatar_endpoint = _Endpoint( - settings={ - 'response_type': (Avatar,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/avatars/{avatarId}', - 'operation_id': 'delete_avatar', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'avatar_id', - ], - 'required': [ - 'avatar_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'avatar_id': - (str,), - }, - 'attribute_map': { - 'avatar_id': 'avatarId', - }, - 'location_map': { - 'avatar_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_avatar_endpoint = _Endpoint( - settings={ - 'response_type': (Avatar,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/avatars/{avatarId}', - 'operation_id': 'get_avatar', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'avatar_id', - ], - 'required': [ - 'avatar_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'avatar_id': - (str,), - }, - 'attribute_map': { - 'avatar_id': 'avatarId', - }, - 'location_map': { - 'avatar_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_favorited_avatars_endpoint = _Endpoint( - settings={ - 'response_type': ([Avatar],), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/avatars/favorites', - 'operation_id': 'get_favorited_avatars', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'featured', - 'sort', - 'n', - 'order', - 'offset', - 'search', - 'tag', - 'notag', - 'release_status', - 'max_unity_version', - 'min_unity_version', - 'platform', - 'user_id', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - 'sort', - 'order', - 'release_status', - ], - 'validation': [ - 'n', - 'offset', - ] - }, - root_map={ - 'validations': { - ('n',): { - - 'inclusive_maximum': 100, - 'inclusive_minimum': 1, - }, - ('offset',): { - - 'inclusive_minimum': 0, - }, - }, - 'allowed_values': { - ('sort',): { - - "POPULARITY": "popularity", - "HEAT": "heat", - "TRUST": "trust", - "SHUFFLE": "shuffle", - "RANDOM": "random", - "FAVORITES": "favorites", - "REPORTSCORE": "reportScore", - "REPORTCOUNT": "reportCount", - "PUBLICATIONDATE": "publicationDate", - "LABSPUBLICATIONDATE": "labsPublicationDate", - "CREATED": "created", - "_CREATED_AT": "_created_at", - "UPDATED": "updated", - "_UPDATED_AT": "_updated_at", - "ORDER": "order", - "RELEVANCE": "relevance", - "MAGIC": "magic", - "NAME": "name" - }, - ('order',): { - - "ASCENDING": "ascending", - "DESCENDING": "descending" - }, - ('release_status',): { - - "PUBLIC": "public", - "PRIVATE": "private", - "HIDDEN": "hidden", - "ALL": "all" - }, - }, - 'openapi_types': { - 'featured': - (bool,), - 'sort': - (str,), - 'n': - (int,), - 'order': - (str,), - 'offset': - (int,), - 'search': - (str,), - 'tag': - (str,), - 'notag': - (str,), - 'release_status': - (str,), - 'max_unity_version': - (str,), - 'min_unity_version': - (str,), - 'platform': - (str,), - 'user_id': - (str,), - }, - 'attribute_map': { - 'featured': 'featured', - 'sort': 'sort', - 'n': 'n', - 'order': 'order', - 'offset': 'offset', - 'search': 'search', - 'tag': 'tag', - 'notag': 'notag', - 'release_status': 'releaseStatus', - 'max_unity_version': 'maxUnityVersion', - 'min_unity_version': 'minUnityVersion', - 'platform': 'platform', - 'user_id': 'userId', - }, - 'location_map': { - 'featured': 'query', - 'sort': 'query', - 'n': 'query', - 'order': 'query', - 'offset': 'query', - 'search': 'query', - 'tag': 'query', - 'notag': 'query', - 'release_status': 'query', - 'max_unity_version': 'query', - 'min_unity_version': 'query', - 'platform': 'query', - 'user_id': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_own_avatar_endpoint = _Endpoint( - settings={ - 'response_type': (Avatar,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/users/{userId}/avatar', - 'operation_id': 'get_own_avatar', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'user_id', - ], - 'required': [ - 'user_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'user_id': - (str,), - }, - 'attribute_map': { - 'user_id': 'userId', - }, - 'location_map': { - 'user_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.search_avatars_endpoint = _Endpoint( - settings={ - 'response_type': ([Avatar],), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/avatars', - 'operation_id': 'search_avatars', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'featured', - 'sort', - 'user', - 'user_id', - 'n', - 'order', - 'offset', - 'tag', - 'notag', - 'release_status', - 'max_unity_version', - 'min_unity_version', - 'platform', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - 'sort', - 'user', - 'order', - 'release_status', - ], - 'validation': [ - 'n', - 'offset', - ] - }, - root_map={ - 'validations': { - ('n',): { - - 'inclusive_maximum': 100, - 'inclusive_minimum': 1, - }, - ('offset',): { - - 'inclusive_minimum': 0, - }, - }, - 'allowed_values': { - ('sort',): { - - "POPULARITY": "popularity", - "HEAT": "heat", - "TRUST": "trust", - "SHUFFLE": "shuffle", - "RANDOM": "random", - "FAVORITES": "favorites", - "REPORTSCORE": "reportScore", - "REPORTCOUNT": "reportCount", - "PUBLICATIONDATE": "publicationDate", - "LABSPUBLICATIONDATE": "labsPublicationDate", - "CREATED": "created", - "_CREATED_AT": "_created_at", - "UPDATED": "updated", - "_UPDATED_AT": "_updated_at", - "ORDER": "order", - "RELEVANCE": "relevance", - "MAGIC": "magic", - "NAME": "name" - }, - ('user',): { - - "ME": "me" - }, - ('order',): { - - "ASCENDING": "ascending", - "DESCENDING": "descending" - }, - ('release_status',): { - - "PUBLIC": "public", - "PRIVATE": "private", - "HIDDEN": "hidden", - "ALL": "all" - }, - }, - 'openapi_types': { - 'featured': - (bool,), - 'sort': - (str,), - 'user': - (str,), - 'user_id': - (str,), - 'n': - (int,), - 'order': - (str,), - 'offset': - (int,), - 'tag': - (str,), - 'notag': - (str,), - 'release_status': - (str,), - 'max_unity_version': - (str,), - 'min_unity_version': - (str,), - 'platform': - (str,), - }, - 'attribute_map': { - 'featured': 'featured', - 'sort': 'sort', - 'user': 'user', - 'user_id': 'userId', - 'n': 'n', - 'order': 'order', - 'offset': 'offset', - 'tag': 'tag', - 'notag': 'notag', - 'release_status': 'releaseStatus', - 'max_unity_version': 'maxUnityVersion', - 'min_unity_version': 'minUnityVersion', - 'platform': 'platform', - }, - 'location_map': { - 'featured': 'query', - 'sort': 'query', - 'user': 'query', - 'user_id': 'query', - 'n': 'query', - 'order': 'query', - 'offset': 'query', - 'tag': 'query', - 'notag': 'query', - 'release_status': 'query', - 'max_unity_version': 'query', - 'min_unity_version': 'query', - 'platform': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.select_avatar_endpoint = _Endpoint( - settings={ - 'response_type': (CurrentUser,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/avatars/{avatarId}/select', - 'operation_id': 'select_avatar', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'avatar_id', - ], - 'required': [ - 'avatar_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'avatar_id': - (str,), - }, - 'attribute_map': { - 'avatar_id': 'avatarId', - }, - 'location_map': { - 'avatar_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.select_fallback_avatar_endpoint = _Endpoint( - settings={ - 'response_type': (CurrentUser,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/avatars/{avatarId}/selectFallback', - 'operation_id': 'select_fallback_avatar', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'avatar_id', - ], - 'required': [ - 'avatar_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'avatar_id': - (str,), - }, - 'attribute_map': { - 'avatar_id': 'avatarId', - }, - 'location_map': { - 'avatar_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.update_avatar_endpoint = _Endpoint( - settings={ - 'response_type': (Avatar,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/avatars/{avatarId}', - 'operation_id': 'update_avatar', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'avatar_id', - 'update_avatar_request', - ], - 'required': [ - 'avatar_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'avatar_id': - (str,), - 'update_avatar_request': - (UpdateAvatarRequest,), - }, - 'attribute_map': { - 'avatar_id': 'avatarId', - }, - 'location_map': { - 'avatar_id': 'path', - 'update_avatar_request': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - def create_avatar( - self, - **kwargs - ): + def create_avatar(self, **kwargs): # noqa: E501 """Create Avatar # noqa: E501 Create an avatar. It's possible to optionally specify a ID if you want a custom one. Attempting to create an Avatar with an already claimed ID will result in a DB error. # noqa: E501 @@ -741,60 +46,140 @@ def create_avatar( >>> thread = api.create_avatar(async_req=True) >>> result = thread.get() + :param create_avatar_request: + :type create_avatar_request: CreateAvatarRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Avatar + """ + kwargs['_return_http_data_only'] = True + return self.create_avatar_with_http_info(**kwargs) # noqa: E501 + + def create_avatar_with_http_info(self, **kwargs): # noqa: E501 + """Create Avatar # noqa: E501 + + Create an avatar. It's possible to optionally specify a ID if you want a custom one. Attempting to create an Avatar with an already claimed ID will result in a DB error. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True - Keyword Args: - create_avatar_request (CreateAvatarRequest): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Avatar - If the method is called asynchronously, returns the request - thread. + >>> thread = api.create_avatar_with_http_info(async_req=True) + >>> result = thread.get() + + :param create_avatar_request: + :type create_avatar_request: CreateAvatarRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Avatar, status_code(int), headers(HTTPHeaderDict)) """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True + + local_var_params = locals() + + all_params = [ + 'create_avatar_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.create_avatar_endpoint.call_with_http_info(**kwargs) - - def delete_avatar( - self, - avatar_id, - **kwargs - ): + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method create_avatar" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'create_avatar_request' in local_var_params: + body_params = local_var_params['create_avatar_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "Avatar", + 401: "Error", + } + + return self.api_client.call_api( + '/avatars', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def delete_avatar(self, avatar_id, **kwargs): # noqa: E501 """Delete Avatar # noqa: E501 Delete an avatar. Notice an avatar is never fully \"deleted\", only its ReleaseStatus is set to \"hidden\" and the linked Files are deleted. The AvatarID is permanently reserved. # noqa: E501 @@ -804,63 +189,136 @@ def delete_avatar( >>> thread = api.delete_avatar(avatar_id, async_req=True) >>> result = thread.get() - Args: - avatar_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Avatar - If the method is called asynchronously, returns the request - thread. + :param avatar_id: (required) + :type avatar_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Avatar """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True + kwargs['_return_http_data_only'] = True + return self.delete_avatar_with_http_info(avatar_id, **kwargs) # noqa: E501 + + def delete_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 + """Delete Avatar # noqa: E501 + + Delete an avatar. Notice an avatar is never fully \"deleted\", only its ReleaseStatus is set to \"hidden\" and the linked Files are deleted. The AvatarID is permanently reserved. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_avatar_with_http_info(avatar_id, async_req=True) + >>> result = thread.get() + + :param avatar_id: (required) + :type avatar_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Avatar, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'avatar_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['avatar_id'] = \ - avatar_id - return self.delete_avatar_endpoint.call_with_http_info(**kwargs) - - def get_avatar( - self, - avatar_id, - **kwargs - ): + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_avatar" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'avatar_id' is set + if self.api_client.client_side_validation and local_var_params.get('avatar_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `avatar_id` when calling `delete_avatar`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'avatar_id' in local_var_params: + path_params['avatarId'] = local_var_params['avatar_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "Avatar", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/avatars/{avatarId}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_avatar(self, avatar_id, **kwargs): # noqa: E501 """Get Avatar # noqa: E501 Get information about a specific Avatar. # noqa: E501 @@ -870,62 +328,136 @@ def get_avatar( >>> thread = api.get_avatar(avatar_id, async_req=True) >>> result = thread.get() - Args: - avatar_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Avatar - If the method is called asynchronously, returns the request - thread. + :param avatar_id: (required) + :type avatar_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Avatar """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True + kwargs['_return_http_data_only'] = True + return self.get_avatar_with_http_info(avatar_id, **kwargs) # noqa: E501 + + def get_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 + """Get Avatar # noqa: E501 + + Get information about a specific Avatar. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_avatar_with_http_info(avatar_id, async_req=True) + >>> result = thread.get() + + :param avatar_id: (required) + :type avatar_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Avatar, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'avatar_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['avatar_id'] = \ - avatar_id - return self.get_avatar_endpoint.call_with_http_info(**kwargs) - - def get_favorited_avatars( - self, - **kwargs - ): + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_avatar" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'avatar_id' is set + if self.api_client.client_side_validation and local_var_params.get('avatar_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `avatar_id` when calling `get_avatar`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'avatar_id' in local_var_params: + path_params['avatarId'] = local_var_params['avatar_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "Avatar", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/avatars/{avatarId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_favorited_avatars(self, **kwargs): # noqa: E501 """List Favorited Avatars # noqa: E501 Search and list favorited avatars by query filters. # noqa: E501 @@ -935,72 +467,223 @@ def get_favorited_avatars( >>> thread = api.get_favorited_avatars(async_req=True) >>> result = thread.get() + :param featured: Filters on featured results. + :type featured: bool + :param sort: + :type sort: str + :param n: The number of objects to return. + :type n: int + :param order: + :type order: str + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param search: Filters by world name. + :type search: str + :param tag: Tags to include (comma-separated). Any of the tags needs to be present. + :type tag: str + :param notag: Tags to exclude (comma-separated). + :type notag: str + :param release_status: Filter by ReleaseStatus. + :type release_status: str + :param max_unity_version: The maximum Unity version supported by the asset. + :type max_unity_version: str + :param min_unity_version: The minimum Unity version supported by the asset. + :type min_unity_version: str + :param platform: The platform the asset supports. + :type platform: str + :param user_id: Target user to see information on, admin-only. + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[Avatar] + """ + kwargs['_return_http_data_only'] = True + return self.get_favorited_avatars_with_http_info(**kwargs) # noqa: E501 + + def get_favorited_avatars_with_http_info(self, **kwargs): # noqa: E501 + """List Favorited Avatars # noqa: E501 + + Search and list favorited avatars by query filters. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_favorited_avatars_with_http_info(async_req=True) + >>> result = thread.get() - Keyword Args: - featured (bool): Filters on featured results.. [optional] - sort (str): [optional] if omitted the server will use the default value of "popularity" - n (int): The number of objects to return.. [optional] if omitted the server will use the default value of 60 - order (str): [optional] if omitted the server will use the default value of "descending" - offset (int): A zero-based offset from the default object sorting from where search results start.. [optional] - search (str): Filters by world name.. [optional] - tag (str): Tags to include (comma-separated). Any of the tags needs to be present.. [optional] - notag (str): Tags to exclude (comma-separated).. [optional] - release_status (str): Filter by ReleaseStatus.. [optional] if omitted the server will use the default value of "public" - max_unity_version (str): The maximum Unity version supported by the asset.. [optional] - min_unity_version (str): The minimum Unity version supported by the asset.. [optional] - platform (str): The platform the asset supports.. [optional] - user_id (str): Target user to see information on, admin-only.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - [Avatar] - If the method is called asynchronously, returns the request - thread. + :param featured: Filters on featured results. + :type featured: bool + :param sort: + :type sort: str + :param n: The number of objects to return. + :type n: int + :param order: + :type order: str + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param search: Filters by world name. + :type search: str + :param tag: Tags to include (comma-separated). Any of the tags needs to be present. + :type tag: str + :param notag: Tags to exclude (comma-separated). + :type notag: str + :param release_status: Filter by ReleaseStatus. + :type release_status: str + :param max_unity_version: The maximum Unity version supported by the asset. + :type max_unity_version: str + :param min_unity_version: The minimum Unity version supported by the asset. + :type min_unity_version: str + :param platform: The platform the asset supports. + :type platform: str + :param user_id: Target user to see information on, admin-only. + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[Avatar], status_code(int), headers(HTTPHeaderDict)) """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True + + local_var_params = locals() + + all_params = [ + 'featured', + 'sort', + 'n', + 'order', + 'offset', + 'search', + 'tag', + 'notag', + 'release_status', + 'max_unity_version', + 'min_unity_version', + 'platform', + 'user_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.get_favorited_avatars_endpoint.call_with_http_info(**kwargs) - - def get_own_avatar( - self, - user_id, - **kwargs - ): + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_favorited_avatars" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_favorited_avatars`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_favorited_avatars`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_favorited_avatars`, must be a value greater than or equal to `0`") # noqa: E501 + collection_formats = {} + + path_params = {} + + query_params = [] + if local_var_params.get('featured') is not None: # noqa: E501 + query_params.append(('featured', local_var_params['featured'])) # noqa: E501 + if local_var_params.get('sort') is not None: # noqa: E501 + query_params.append(('sort', local_var_params['sort'])) # noqa: E501 + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('order') is not None: # noqa: E501 + query_params.append(('order', local_var_params['order'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + if local_var_params.get('search') is not None: # noqa: E501 + query_params.append(('search', local_var_params['search'])) # noqa: E501 + if local_var_params.get('tag') is not None: # noqa: E501 + query_params.append(('tag', local_var_params['tag'])) # noqa: E501 + if local_var_params.get('notag') is not None: # noqa: E501 + query_params.append(('notag', local_var_params['notag'])) # noqa: E501 + if local_var_params.get('release_status') is not None: # noqa: E501 + query_params.append(('releaseStatus', local_var_params['release_status'])) # noqa: E501 + if local_var_params.get('max_unity_version') is not None: # noqa: E501 + query_params.append(('maxUnityVersion', local_var_params['max_unity_version'])) # noqa: E501 + if local_var_params.get('min_unity_version') is not None: # noqa: E501 + query_params.append(('minUnityVersion', local_var_params['min_unity_version'])) # noqa: E501 + if local_var_params.get('platform') is not None: # noqa: E501 + query_params.append(('platform', local_var_params['platform'])) # noqa: E501 + if local_var_params.get('user_id') is not None: # noqa: E501 + query_params.append(('userId', local_var_params['user_id'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[Avatar]", + 401: "Error", + 403: "Error", + } + + return self.api_client.call_api( + '/avatars/favorites', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_own_avatar(self, user_id, **kwargs): # noqa: E501 """Get Own Avatar # noqa: E501 Get the current avatar for the user. This will return an error for any other user than the one logged in. # noqa: E501 @@ -1010,62 +693,136 @@ def get_own_avatar( >>> thread = api.get_own_avatar(user_id, async_req=True) >>> result = thread.get() - Args: - user_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Avatar - If the method is called asynchronously, returns the request - thread. + :param user_id: (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Avatar """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True + kwargs['_return_http_data_only'] = True + return self.get_own_avatar_with_http_info(user_id, **kwargs) # noqa: E501 + + def get_own_avatar_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get Own Avatar # noqa: E501 + + Get the current avatar for the user. This will return an error for any other user than the one logged in. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_own_avatar_with_http_info(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Avatar, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['user_id'] = \ - user_id - return self.get_own_avatar_endpoint.call_with_http_info(**kwargs) - - def search_avatars( - self, - **kwargs - ): + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_own_avatar" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_own_avatar`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "Avatar", + 401: "Error", + 403: "Error", + } + + return self.api_client.call_api( + '/users/{userId}/avatar', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def search_avatars(self, **kwargs): # noqa: E501 """Search Avatars # noqa: E501 Search and list avatars by query filters. You can only search your own or featured avatars. It is not possible as a normal user to search other peoples avatars. # noqa: E501 @@ -1075,72 +832,222 @@ def search_avatars( >>> thread = api.search_avatars(async_req=True) >>> result = thread.get() + :param featured: Filters on featured results. + :type featured: bool + :param sort: + :type sort: str + :param user: Set to `me` for searching own avatars. + :type user: str + :param user_id: Filter by UserID. + :type user_id: str + :param n: The number of objects to return. + :type n: int + :param order: + :type order: str + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param tag: Tags to include (comma-separated). Any of the tags needs to be present. + :type tag: str + :param notag: Tags to exclude (comma-separated). + :type notag: str + :param release_status: Filter by ReleaseStatus. + :type release_status: str + :param max_unity_version: The maximum Unity version supported by the asset. + :type max_unity_version: str + :param min_unity_version: The minimum Unity version supported by the asset. + :type min_unity_version: str + :param platform: The platform the asset supports. + :type platform: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[Avatar] + """ + kwargs['_return_http_data_only'] = True + return self.search_avatars_with_http_info(**kwargs) # noqa: E501 + + def search_avatars_with_http_info(self, **kwargs): # noqa: E501 + """Search Avatars # noqa: E501 - Keyword Args: - featured (bool): Filters on featured results.. [optional] - sort (str): [optional] if omitted the server will use the default value of "popularity" - user (str): Set to `me` for searching own avatars.. [optional] if omitted the server will use the default value of "me" - user_id (str): Filter by UserID.. [optional] - n (int): The number of objects to return.. [optional] if omitted the server will use the default value of 60 - order (str): [optional] if omitted the server will use the default value of "descending" - offset (int): A zero-based offset from the default object sorting from where search results start.. [optional] - tag (str): Tags to include (comma-separated). Any of the tags needs to be present.. [optional] - notag (str): Tags to exclude (comma-separated).. [optional] - release_status (str): Filter by ReleaseStatus.. [optional] if omitted the server will use the default value of "public" - max_unity_version (str): The maximum Unity version supported by the asset.. [optional] - min_unity_version (str): The minimum Unity version supported by the asset.. [optional] - platform (str): The platform the asset supports.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - [Avatar] - If the method is called asynchronously, returns the request - thread. + Search and list avatars by query filters. You can only search your own or featured avatars. It is not possible as a normal user to search other peoples avatars. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.search_avatars_with_http_info(async_req=True) + >>> result = thread.get() + + :param featured: Filters on featured results. + :type featured: bool + :param sort: + :type sort: str + :param user: Set to `me` for searching own avatars. + :type user: str + :param user_id: Filter by UserID. + :type user_id: str + :param n: The number of objects to return. + :type n: int + :param order: + :type order: str + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param tag: Tags to include (comma-separated). Any of the tags needs to be present. + :type tag: str + :param notag: Tags to exclude (comma-separated). + :type notag: str + :param release_status: Filter by ReleaseStatus. + :type release_status: str + :param max_unity_version: The maximum Unity version supported by the asset. + :type max_unity_version: str + :param min_unity_version: The minimum Unity version supported by the asset. + :type min_unity_version: str + :param platform: The platform the asset supports. + :type platform: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[Avatar], status_code(int), headers(HTTPHeaderDict)) """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True + + local_var_params = locals() + + all_params = [ + 'featured', + 'sort', + 'user', + 'user_id', + 'n', + 'order', + 'offset', + 'tag', + 'notag', + 'release_status', + 'max_unity_version', + 'min_unity_version', + 'platform' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.search_avatars_endpoint.call_with_http_info(**kwargs) - - def select_avatar( - self, - avatar_id, - **kwargs - ): + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method search_avatars" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `search_avatars`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `search_avatars`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `search_avatars`, must be a value greater than or equal to `0`") # noqa: E501 + collection_formats = {} + + path_params = {} + + query_params = [] + if local_var_params.get('featured') is not None: # noqa: E501 + query_params.append(('featured', local_var_params['featured'])) # noqa: E501 + if local_var_params.get('sort') is not None: # noqa: E501 + query_params.append(('sort', local_var_params['sort'])) # noqa: E501 + if local_var_params.get('user') is not None: # noqa: E501 + query_params.append(('user', local_var_params['user'])) # noqa: E501 + if local_var_params.get('user_id') is not None: # noqa: E501 + query_params.append(('userId', local_var_params['user_id'])) # noqa: E501 + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('order') is not None: # noqa: E501 + query_params.append(('order', local_var_params['order'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + if local_var_params.get('tag') is not None: # noqa: E501 + query_params.append(('tag', local_var_params['tag'])) # noqa: E501 + if local_var_params.get('notag') is not None: # noqa: E501 + query_params.append(('notag', local_var_params['notag'])) # noqa: E501 + if local_var_params.get('release_status') is not None: # noqa: E501 + query_params.append(('releaseStatus', local_var_params['release_status'])) # noqa: E501 + if local_var_params.get('max_unity_version') is not None: # noqa: E501 + query_params.append(('maxUnityVersion', local_var_params['max_unity_version'])) # noqa: E501 + if local_var_params.get('min_unity_version') is not None: # noqa: E501 + query_params.append(('minUnityVersion', local_var_params['min_unity_version'])) # noqa: E501 + if local_var_params.get('platform') is not None: # noqa: E501 + query_params.append(('platform', local_var_params['platform'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[Avatar]", + 401: "Error", + } + + return self.api_client.call_api( + '/avatars', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def select_avatar(self, avatar_id, **kwargs): # noqa: E501 """Select Avatar # noqa: E501 Switches into that avatar. # noqa: E501 @@ -1150,63 +1057,136 @@ def select_avatar( >>> thread = api.select_avatar(avatar_id, async_req=True) >>> result = thread.get() - Args: - avatar_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - CurrentUser - If the method is called asynchronously, returns the request - thread. + :param avatar_id: (required) + :type avatar_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: CurrentUser """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True + kwargs['_return_http_data_only'] = True + return self.select_avatar_with_http_info(avatar_id, **kwargs) # noqa: E501 + + def select_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 + """Select Avatar # noqa: E501 + + Switches into that avatar. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.select_avatar_with_http_info(avatar_id, async_req=True) + >>> result = thread.get() + + :param avatar_id: (required) + :type avatar_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(CurrentUser, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'avatar_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['avatar_id'] = \ - avatar_id - return self.select_avatar_endpoint.call_with_http_info(**kwargs) - - def select_fallback_avatar( - self, - avatar_id, - **kwargs - ): + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method select_avatar" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'avatar_id' is set + if self.api_client.client_side_validation and local_var_params.get('avatar_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `avatar_id` when calling `select_avatar`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'avatar_id' in local_var_params: + path_params['avatarId'] = local_var_params['avatar_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "CurrentUser", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/avatars/{avatarId}/select', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def select_fallback_avatar(self, avatar_id, **kwargs): # noqa: E501 """Select Fallback Avatar # noqa: E501 Switches into that avatar as your fallback avatar. # noqa: E501 @@ -1216,63 +1196,137 @@ def select_fallback_avatar( >>> thread = api.select_fallback_avatar(avatar_id, async_req=True) >>> result = thread.get() - Args: - avatar_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - CurrentUser - If the method is called asynchronously, returns the request - thread. + :param avatar_id: (required) + :type avatar_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: CurrentUser """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True + kwargs['_return_http_data_only'] = True + return self.select_fallback_avatar_with_http_info(avatar_id, **kwargs) # noqa: E501 + + def select_fallback_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 + """Select Fallback Avatar # noqa: E501 + + Switches into that avatar as your fallback avatar. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.select_fallback_avatar_with_http_info(avatar_id, async_req=True) + >>> result = thread.get() + + :param avatar_id: (required) + :type avatar_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(CurrentUser, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'avatar_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['avatar_id'] = \ - avatar_id - return self.select_fallback_avatar_endpoint.call_with_http_info(**kwargs) - - def update_avatar( - self, - avatar_id, - **kwargs - ): + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method select_fallback_avatar" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'avatar_id' is set + if self.api_client.client_side_validation and local_var_params.get('avatar_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `avatar_id` when calling `select_fallback_avatar`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'avatar_id' in local_var_params: + path_params['avatarId'] = local_var_params['avatar_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "CurrentUser", + 401: "Error", + 403: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/avatars/{avatarId}/selectFallback', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def update_avatar(self, avatar_id, **kwargs): # noqa: E501 """Update Avatar # noqa: E501 Update information about a specific avatar. # noqa: E501 @@ -1282,56 +1336,146 @@ def update_avatar( >>> thread = api.update_avatar(avatar_id, async_req=True) >>> result = thread.get() - Args: - avatar_id (str): - - Keyword Args: - update_avatar_request (UpdateAvatarRequest): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Avatar - If the method is called asynchronously, returns the request - thread. + :param avatar_id: (required) + :type avatar_id: str + :param update_avatar_request: + :type update_avatar_request: UpdateAvatarRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Avatar """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True + kwargs['_return_http_data_only'] = True + return self.update_avatar_with_http_info(avatar_id, **kwargs) # noqa: E501 + + def update_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 + """Update Avatar # noqa: E501 + + Update information about a specific avatar. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_avatar_with_http_info(avatar_id, async_req=True) + >>> result = thread.get() + + :param avatar_id: (required) + :type avatar_id: str + :param update_avatar_request: + :type update_avatar_request: UpdateAvatarRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Avatar, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'avatar_id', + 'update_avatar_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['avatar_id'] = \ - avatar_id - return self.update_avatar_endpoint.call_with_http_info(**kwargs) + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method update_avatar" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'avatar_id' is set + if self.api_client.client_side_validation and local_var_params.get('avatar_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `avatar_id` when calling `update_avatar`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'avatar_id' in local_var_params: + path_params['avatarId'] = local_var_params['avatar_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'update_avatar_request' in local_var_params: + body_params = local_var_params['update_avatar_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'PUT', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "Avatar", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/avatars/{avatarId}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index d5b0ba15..d142eb7a 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -1,3 +1,5 @@ +# coding: utf-8 + """ VRChat API Documentation @@ -8,24 +10,18 @@ """ +from __future__ import absolute_import + import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.api_client import ApiClient, Endpoint as _Endpoint -from vrchatapi.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types + +# python 2 and python 3 compatibility library +import six + +from vrchatapi.api_client import ApiClient +from vrchatapi.exceptions import ( # noqa: F401 + ApiTypeError, + ApiValueError ) -from vrchatapi.model.error import Error -from vrchatapi.model.license_group import LicenseGroup -from vrchatapi.model.subscription import Subscription -from vrchatapi.model.transaction import Transaction -from vrchatapi.model.user_subscription import UserSubscription class EconomyApi(object): @@ -39,250 +35,8 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client - self.get_current_subscriptions_endpoint = _Endpoint( - settings={ - 'response_type': ([UserSubscription],), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/auth/user/subscription', - 'operation_id': 'get_current_subscriptions', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - }, - 'attribute_map': { - }, - 'location_map': { - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_license_group_endpoint = _Endpoint( - settings={ - 'response_type': (LicenseGroup,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/licenseGroups/{licenseGroupId}', - 'operation_id': 'get_license_group', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'license_group_id', - ], - 'required': [ - 'license_group_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'license_group_id': - (str,), - }, - 'attribute_map': { - 'license_group_id': 'licenseGroupId', - }, - 'location_map': { - 'license_group_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_steam_transaction_endpoint = _Endpoint( - settings={ - 'response_type': (Transaction,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/Steam/transactions/{transactionId}', - 'operation_id': 'get_steam_transaction', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'transaction_id', - ], - 'required': [ - 'transaction_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'transaction_id': - (str,), - }, - 'attribute_map': { - 'transaction_id': 'transactionId', - }, - 'location_map': { - 'transaction_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_steam_transactions_endpoint = _Endpoint( - settings={ - 'response_type': ([Transaction],), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/Steam/transactions', - 'operation_id': 'get_steam_transactions', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - }, - 'attribute_map': { - }, - 'location_map': { - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_subscriptions_endpoint = _Endpoint( - settings={ - 'response_type': ([Subscription],), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/subscriptions', - 'operation_id': 'get_subscriptions', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - }, - 'attribute_map': { - }, - 'location_map': { - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - def get_current_subscriptions( - self, - **kwargs - ): + def get_current_subscriptions(self, **kwargs): # noqa: E501 """Get Current Subscriptions # noqa: E501 Get a list of all current user subscriptions. # noqa: E501 @@ -292,59 +46,125 @@ def get_current_subscriptions( >>> thread = api.get_current_subscriptions(async_req=True) >>> result = thread.get() + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[UserSubscription] + """ + kwargs['_return_http_data_only'] = True + return self.get_current_subscriptions_with_http_info(**kwargs) # noqa: E501 + + def get_current_subscriptions_with_http_info(self, **kwargs): # noqa: E501 + """Get Current Subscriptions # noqa: E501 - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - [UserSubscription] - If the method is called asynchronously, returns the request - thread. + Get a list of all current user subscriptions. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_current_subscriptions_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[UserSubscription], status_code(int), headers(HTTPHeaderDict)) """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.get_current_subscriptions_endpoint.call_with_http_info(**kwargs) - - def get_license_group( - self, - license_group_id, - **kwargs - ): + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_current_subscriptions" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[UserSubscription]", + 401: "Error", + } + + return self.api_client.call_api( + '/auth/user/subscription', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_license_group(self, license_group_id, **kwargs): # noqa: E501 """Get License Group # noqa: E501 Get a single License Group by given ID. # noqa: E501 @@ -354,63 +174,135 @@ def get_license_group( >>> thread = api.get_license_group(license_group_id, async_req=True) >>> result = thread.get() - Args: - license_group_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - LicenseGroup - If the method is called asynchronously, returns the request - thread. + :param license_group_id: (required) + :type license_group_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: LicenseGroup """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['license_group_id'] = \ - license_group_id - return self.get_license_group_endpoint.call_with_http_info(**kwargs) - - def get_steam_transaction( - self, - transaction_id, - **kwargs - ): + kwargs['_return_http_data_only'] = True + return self.get_license_group_with_http_info(license_group_id, **kwargs) # noqa: E501 + + def get_license_group_with_http_info(self, license_group_id, **kwargs): # noqa: E501 + """Get License Group # noqa: E501 + + Get a single License Group by given ID. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_license_group_with_http_info(license_group_id, async_req=True) + >>> result = thread.get() + + :param license_group_id: (required) + :type license_group_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(LicenseGroup, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'license_group_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_license_group" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'license_group_id' is set + if self.api_client.client_side_validation and local_var_params.get('license_group_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `license_group_id` when calling `get_license_group`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'license_group_id' in local_var_params: + path_params['licenseGroupId'] = local_var_params['license_group_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "LicenseGroup", + 401: "Error", + } + + return self.api_client.call_api( + '/licenseGroups/{licenseGroupId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_steam_transaction(self, transaction_id, **kwargs): # noqa: E501 """Get Steam Transaction # noqa: E501 Get a single Steam transactions by ID. This returns the exact same information as `getSteamTransactions`, so no point in using this endpoint. # noqa: E501 @@ -420,62 +312,135 @@ def get_steam_transaction( >>> thread = api.get_steam_transaction(transaction_id, async_req=True) >>> result = thread.get() - Args: - transaction_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Transaction - If the method is called asynchronously, returns the request - thread. + :param transaction_id: (required) + :type transaction_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Transaction """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['transaction_id'] = \ - transaction_id - return self.get_steam_transaction_endpoint.call_with_http_info(**kwargs) - - def get_steam_transactions( - self, - **kwargs - ): + kwargs['_return_http_data_only'] = True + return self.get_steam_transaction_with_http_info(transaction_id, **kwargs) # noqa: E501 + + def get_steam_transaction_with_http_info(self, transaction_id, **kwargs): # noqa: E501 + """Get Steam Transaction # noqa: E501 + + Get a single Steam transactions by ID. This returns the exact same information as `getSteamTransactions`, so no point in using this endpoint. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_steam_transaction_with_http_info(transaction_id, async_req=True) + >>> result = thread.get() + + :param transaction_id: (required) + :type transaction_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Transaction, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'transaction_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_steam_transaction" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'transaction_id' is set + if self.api_client.client_side_validation and local_var_params.get('transaction_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `transaction_id` when calling `get_steam_transaction`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'transaction_id' in local_var_params: + path_params['transactionId'] = local_var_params['transaction_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "Transaction", + 401: "Error", + } + + return self.api_client.call_api( + '/Steam/transactions/{transactionId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_steam_transactions(self, **kwargs): # noqa: E501 """List Steam Transactions # noqa: E501 Get all own Steam transactions. # noqa: E501 @@ -485,58 +450,125 @@ def get_steam_transactions( >>> thread = api.get_steam_transactions(async_req=True) >>> result = thread.get() + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[Transaction] + """ + kwargs['_return_http_data_only'] = True + return self.get_steam_transactions_with_http_info(**kwargs) # noqa: E501 + + def get_steam_transactions_with_http_info(self, **kwargs): # noqa: E501 + """List Steam Transactions # noqa: E501 + + Get all own Steam transactions. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_steam_transactions_with_http_info(async_req=True) + >>> result = thread.get() - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - [Transaction] - If the method is called asynchronously, returns the request - thread. + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[Transaction], status_code(int), headers(HTTPHeaderDict)) """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.get_steam_transactions_endpoint.call_with_http_info(**kwargs) - def get_subscriptions( - self, - **kwargs - ): + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_steam_transactions" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[Transaction]", + 401: "Error", + } + + return self.api_client.call_api( + '/Steam/transactions', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_subscriptions(self, **kwargs): # noqa: E501 """List Subscriptions # noqa: E501 List all existing Subscriptions. For example, \"vrchatplus-monthly\" and \"vrchatplus-yearly\". # noqa: E501 @@ -546,51 +578,120 @@ def get_subscriptions( >>> thread = api.get_subscriptions(async_req=True) >>> result = thread.get() + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[Subscription] + """ + kwargs['_return_http_data_only'] = True + return self.get_subscriptions_with_http_info(**kwargs) # noqa: E501 + + def get_subscriptions_with_http_info(self, **kwargs): # noqa: E501 + """List Subscriptions # noqa: E501 + + List all existing Subscriptions. For example, \"vrchatplus-monthly\" and \"vrchatplus-yearly\". # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - [Subscription] - If the method is called asynchronously, returns the request - thread. + >>> thread = api.get_subscriptions_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[Subscription], status_code(int), headers(HTTPHeaderDict)) """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.get_subscriptions_endpoint.call_with_http_info(**kwargs) + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_subscriptions" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[Subscription]", + 401: "Error", + } + + return self.api_client.call_api( + '/subscriptions', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index 8229e944..cd688dda 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -1,3 +1,5 @@ +# coding: utf-8 + """ VRChat API Documentation @@ -8,25 +10,18 @@ """ +from __future__ import absolute_import + import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.api_client import ApiClient, Endpoint as _Endpoint -from vrchatapi.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types + +# python 2 and python 3 compatibility library +import six + +from vrchatapi.api_client import ApiClient +from vrchatapi.exceptions import ( # noqa: F401 + ApiTypeError, + ApiValueError ) -from vrchatapi.model.add_favorite_request import AddFavoriteRequest -from vrchatapi.model.error import Error -from vrchatapi.model.favorite import Favorite -from vrchatapi.model.favorite_group import FavoriteGroup -from vrchatapi.model.success import Success -from vrchatapi.model.update_favorite_group_request import UpdateFavoriteGroupRequest class FavoritesApi(object): @@ -40,530 +35,8 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client - self.add_favorite_endpoint = _Endpoint( - settings={ - 'response_type': (Favorite,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/favorites', - 'operation_id': 'add_favorite', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'add_favorite_request', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'add_favorite_request': - (AddFavoriteRequest,), - }, - 'attribute_map': { - }, - 'location_map': { - 'add_favorite_request': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.clear_favorite_group_endpoint = _Endpoint( - settings={ - 'response_type': (Success,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/favorite/group/{favoriteGroupType}/{favoriteGroupName}/{userId}', - 'operation_id': 'clear_favorite_group', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'favorite_group_type', - 'favorite_group_name', - 'user_id', - ], - 'required': [ - 'favorite_group_type', - 'favorite_group_name', - 'user_id', - ], - 'nullable': [ - ], - 'enum': [ - 'favorite_group_type', - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - ('favorite_group_type',): { - - "WORLD": "world", - "FRIEND": "friend", - "AVATAR": "avatar" - }, - }, - 'openapi_types': { - 'favorite_group_type': - (str,), - 'favorite_group_name': - (str,), - 'user_id': - (str,), - }, - 'attribute_map': { - 'favorite_group_type': 'favoriteGroupType', - 'favorite_group_name': 'favoriteGroupName', - 'user_id': 'userId', - }, - 'location_map': { - 'favorite_group_type': 'path', - 'favorite_group_name': 'path', - 'user_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_favorite_endpoint = _Endpoint( - settings={ - 'response_type': (Favorite,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/favorites/{favoriteId}', - 'operation_id': 'get_favorite', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'favorite_id', - ], - 'required': [ - 'favorite_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'favorite_id': - (str,), - }, - 'attribute_map': { - 'favorite_id': 'favoriteId', - }, - 'location_map': { - 'favorite_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_favorite_group_endpoint = _Endpoint( - settings={ - 'response_type': (FavoriteGroup,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/favorite/group/{favoriteGroupType}/{favoriteGroupName}/{userId}', - 'operation_id': 'get_favorite_group', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'favorite_group_type', - 'favorite_group_name', - 'user_id', - ], - 'required': [ - 'favorite_group_type', - 'favorite_group_name', - 'user_id', - ], - 'nullable': [ - ], - 'enum': [ - 'favorite_group_type', - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - ('favorite_group_type',): { - - "WORLD": "world", - "FRIEND": "friend", - "AVATAR": "avatar" - }, - }, - 'openapi_types': { - 'favorite_group_type': - (str,), - 'favorite_group_name': - (str,), - 'user_id': - (str,), - }, - 'attribute_map': { - 'favorite_group_type': 'favoriteGroupType', - 'favorite_group_name': 'favoriteGroupName', - 'user_id': 'userId', - }, - 'location_map': { - 'favorite_group_type': 'path', - 'favorite_group_name': 'path', - 'user_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_favorite_groups_endpoint = _Endpoint( - settings={ - 'response_type': ([FavoriteGroup],), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/favorite/groups', - 'operation_id': 'get_favorite_groups', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'n', - 'offset', - 'owner_id', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'n', - 'offset', - ] - }, - root_map={ - 'validations': { - ('n',): { - - 'inclusive_maximum': 100, - 'inclusive_minimum': 1, - }, - ('offset',): { - - 'inclusive_minimum': 0, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'n': - (int,), - 'offset': - (int,), - 'owner_id': - (str,), - }, - 'attribute_map': { - 'n': 'n', - 'offset': 'offset', - 'owner_id': 'ownerId', - }, - 'location_map': { - 'n': 'query', - 'offset': 'query', - 'owner_id': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_favorites_endpoint = _Endpoint( - settings={ - 'response_type': ([Favorite],), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/favorites', - 'operation_id': 'get_favorites', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'n', - 'offset', - 'type', - 'tag', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'n', - 'offset', - ] - }, - root_map={ - 'validations': { - ('n',): { - - 'inclusive_maximum': 100, - 'inclusive_minimum': 1, - }, - ('offset',): { - - 'inclusive_minimum': 0, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'n': - (int,), - 'offset': - (int,), - 'type': - (str,), - 'tag': - (str,), - }, - 'attribute_map': { - 'n': 'n', - 'offset': 'offset', - 'type': 'type', - 'tag': 'tag', - }, - 'location_map': { - 'n': 'query', - 'offset': 'query', - 'type': 'query', - 'tag': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.remove_favorite_endpoint = _Endpoint( - settings={ - 'response_type': (Success,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/favorites/{favoriteId}', - 'operation_id': 'remove_favorite', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'favorite_id', - ], - 'required': [ - 'favorite_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'favorite_id': - (str,), - }, - 'attribute_map': { - 'favorite_id': 'favoriteId', - }, - 'location_map': { - 'favorite_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.update_favorite_group_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/favorite/group/{favoriteGroupType}/{favoriteGroupName}/{userId}', - 'operation_id': 'update_favorite_group', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'favorite_group_type', - 'favorite_group_name', - 'user_id', - 'update_favorite_group_request', - ], - 'required': [ - 'favorite_group_type', - 'favorite_group_name', - 'user_id', - ], - 'nullable': [ - ], - 'enum': [ - 'favorite_group_type', - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - ('favorite_group_type',): { - - "WORLD": "world", - "FRIEND": "friend", - "AVATAR": "avatar" - }, - }, - 'openapi_types': { - 'favorite_group_type': - (str,), - 'favorite_group_name': - (str,), - 'user_id': - (str,), - 'update_favorite_group_request': - (UpdateFavoriteGroupRequest,), - }, - 'attribute_map': { - 'favorite_group_type': 'favoriteGroupType', - 'favorite_group_name': 'favoriteGroupName', - 'user_id': 'userId', - }, - 'location_map': { - 'favorite_group_type': 'path', - 'favorite_group_name': 'path', - 'user_id': 'path', - 'update_favorite_group_request': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - def add_favorite( - self, - **kwargs - ): + def add_favorite(self, **kwargs): # noqa: E501 """Add Favorite # noqa: E501 Add a new favorite. Friend groups are named `group_0` through `group_3`. Avatar and World groups are named `avatars1` to `avatars4` and `worlds1` to `worlds4`. You cannot add people whom you are not friends with to your friends list. Destroying a friendship removes the person as favorite on both sides. # noqa: E501 @@ -573,62 +46,141 @@ def add_favorite( >>> thread = api.add_favorite(async_req=True) >>> result = thread.get() + :param add_favorite_request: + :type add_favorite_request: AddFavoriteRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Favorite + """ + kwargs['_return_http_data_only'] = True + return self.add_favorite_with_http_info(**kwargs) # noqa: E501 + + def add_favorite_with_http_info(self, **kwargs): # noqa: E501 + """Add Favorite # noqa: E501 + + Add a new favorite. Friend groups are named `group_0` through `group_3`. Avatar and World groups are named `avatars1` to `avatars4` and `worlds1` to `worlds4`. You cannot add people whom you are not friends with to your friends list. Destroying a friendship removes the person as favorite on both sides. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.add_favorite_with_http_info(async_req=True) + >>> result = thread.get() - Keyword Args: - add_favorite_request (AddFavoriteRequest): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Favorite - If the method is called asynchronously, returns the request - thread. + :param add_favorite_request: + :type add_favorite_request: AddFavoriteRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Favorite, status_code(int), headers(HTTPHeaderDict)) """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True + + local_var_params = locals() + + all_params = [ + 'add_favorite_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.add_favorite_endpoint.call_with_http_info(**kwargs) - - def clear_favorite_group( - self, - favorite_group_type, - favorite_group_name, - user_id, - **kwargs - ): + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method add_favorite" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'add_favorite_request' in local_var_params: + body_params = local_var_params['add_favorite_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "Favorite", + 400: "Error", + 403: "Error", + } + + return self.api_client.call_api( + '/favorites', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def clear_favorite_group(self, favorite_group_type, favorite_group_name, user_id, **kwargs): # noqa: E501 """Clear Favorite Group # noqa: E501 Clear ALL contents of a specific favorite group. # noqa: E501 @@ -638,69 +190,154 @@ def clear_favorite_group( >>> thread = api.clear_favorite_group(favorite_group_type, favorite_group_name, user_id, async_req=True) >>> result = thread.get() - Args: - favorite_group_type (str): The type of group to fetch, must be a valid FavoriteType. - favorite_group_name (str): - user_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Success - If the method is called asynchronously, returns the request - thread. + :param favorite_group_type: The type of group to fetch, must be a valid FavoriteType. (required) + :type favorite_group_type: str + :param favorite_group_name: (required) + :type favorite_group_name: str + :param user_id: (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Success """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True + kwargs['_return_http_data_only'] = True + return self.clear_favorite_group_with_http_info(favorite_group_type, favorite_group_name, user_id, **kwargs) # noqa: E501 + + def clear_favorite_group_with_http_info(self, favorite_group_type, favorite_group_name, user_id, **kwargs): # noqa: E501 + """Clear Favorite Group # noqa: E501 + + Clear ALL contents of a specific favorite group. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.clear_favorite_group_with_http_info(favorite_group_type, favorite_group_name, user_id, async_req=True) + >>> result = thread.get() + + :param favorite_group_type: The type of group to fetch, must be a valid FavoriteType. (required) + :type favorite_group_type: str + :param favorite_group_name: (required) + :type favorite_group_name: str + :param user_id: (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Success, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'favorite_group_type', + 'favorite_group_name', + 'user_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['favorite_group_type'] = \ - favorite_group_type - kwargs['favorite_group_name'] = \ - favorite_group_name - kwargs['user_id'] = \ - user_id - return self.clear_favorite_group_endpoint.call_with_http_info(**kwargs) - - def get_favorite( - self, - favorite_id, - **kwargs - ): + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method clear_favorite_group" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'favorite_group_type' is set + if self.api_client.client_side_validation and local_var_params.get('favorite_group_type') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `favorite_group_type` when calling `clear_favorite_group`") # noqa: E501 + # verify the required parameter 'favorite_group_name' is set + if self.api_client.client_side_validation and local_var_params.get('favorite_group_name') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `favorite_group_name` when calling `clear_favorite_group`") # noqa: E501 + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `clear_favorite_group`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'favorite_group_type' in local_var_params: + path_params['favoriteGroupType'] = local_var_params['favorite_group_type'] # noqa: E501 + if 'favorite_group_name' in local_var_params: + path_params['favoriteGroupName'] = local_var_params['favorite_group_name'] # noqa: E501 + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "Success", + } + + return self.api_client.call_api( + '/favorite/group/{favoriteGroupType}/{favoriteGroupName}/{userId}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_favorite(self, favorite_id, **kwargs): # noqa: E501 """Show Favorite # noqa: E501 Return information about a specific Favorite. # noqa: E501 @@ -710,65 +347,136 @@ def get_favorite( >>> thread = api.get_favorite(favorite_id, async_req=True) >>> result = thread.get() - Args: - favorite_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Favorite - If the method is called asynchronously, returns the request - thread. + :param favorite_id: (required) + :type favorite_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Favorite """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True + kwargs['_return_http_data_only'] = True + return self.get_favorite_with_http_info(favorite_id, **kwargs) # noqa: E501 + + def get_favorite_with_http_info(self, favorite_id, **kwargs): # noqa: E501 + """Show Favorite # noqa: E501 + + Return information about a specific Favorite. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_favorite_with_http_info(favorite_id, async_req=True) + >>> result = thread.get() + + :param favorite_id: (required) + :type favorite_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Favorite, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'favorite_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['favorite_id'] = \ - favorite_id - return self.get_favorite_endpoint.call_with_http_info(**kwargs) - - def get_favorite_group( - self, - favorite_group_type, - favorite_group_name, - user_id, - **kwargs - ): + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_favorite" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'favorite_id' is set + if self.api_client.client_side_validation and local_var_params.get('favorite_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `favorite_id` when calling `get_favorite`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'favorite_id' in local_var_params: + path_params['favoriteId'] = local_var_params['favorite_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "Favorite", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/favorites/{favoriteId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_favorite_group(self, favorite_group_type, favorite_group_name, user_id, **kwargs): # noqa: E501 """Show Favorite Group # noqa: E501 Fetch information about a specific favorite group. # noqa: E501 @@ -778,68 +486,154 @@ def get_favorite_group( >>> thread = api.get_favorite_group(favorite_group_type, favorite_group_name, user_id, async_req=True) >>> result = thread.get() - Args: - favorite_group_type (str): The type of group to fetch, must be a valid FavoriteType. - favorite_group_name (str): - user_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - FavoriteGroup - If the method is called asynchronously, returns the request - thread. + :param favorite_group_type: The type of group to fetch, must be a valid FavoriteType. (required) + :type favorite_group_type: str + :param favorite_group_name: (required) + :type favorite_group_name: str + :param user_id: (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: FavoriteGroup """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True + kwargs['_return_http_data_only'] = True + return self.get_favorite_group_with_http_info(favorite_group_type, favorite_group_name, user_id, **kwargs) # noqa: E501 + + def get_favorite_group_with_http_info(self, favorite_group_type, favorite_group_name, user_id, **kwargs): # noqa: E501 + """Show Favorite Group # noqa: E501 + + Fetch information about a specific favorite group. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_favorite_group_with_http_info(favorite_group_type, favorite_group_name, user_id, async_req=True) + >>> result = thread.get() + + :param favorite_group_type: The type of group to fetch, must be a valid FavoriteType. (required) + :type favorite_group_type: str + :param favorite_group_name: (required) + :type favorite_group_name: str + :param user_id: (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(FavoriteGroup, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'favorite_group_type', + 'favorite_group_name', + 'user_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['favorite_group_type'] = \ - favorite_group_type - kwargs['favorite_group_name'] = \ - favorite_group_name - kwargs['user_id'] = \ - user_id - return self.get_favorite_group_endpoint.call_with_http_info(**kwargs) - - def get_favorite_groups( - self, - **kwargs - ): + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_favorite_group" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'favorite_group_type' is set + if self.api_client.client_side_validation and local_var_params.get('favorite_group_type') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `favorite_group_type` when calling `get_favorite_group`") # noqa: E501 + # verify the required parameter 'favorite_group_name' is set + if self.api_client.client_side_validation and local_var_params.get('favorite_group_name') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `favorite_group_name` when calling `get_favorite_group`") # noqa: E501 + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_favorite_group`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'favorite_group_type' in local_var_params: + path_params['favoriteGroupType'] = local_var_params['favorite_group_type'] # noqa: E501 + if 'favorite_group_name' in local_var_params: + path_params['favoriteGroupName'] = local_var_params['favorite_group_name'] # noqa: E501 + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "FavoriteGroup", + } + + return self.api_client.call_api( + '/favorite/group/{favoriteGroupType}/{favoriteGroupName}/{userId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_favorite_groups(self, **kwargs): # noqa: E501 """List Favorite Groups # noqa: E501 Return a list of favorite groups owned by a user. Returns the same information as `getFavoriteGroups`. # noqa: E501 @@ -849,61 +643,152 @@ def get_favorite_groups( >>> thread = api.get_favorite_groups(async_req=True) >>> result = thread.get() + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param owner_id: The owner of whoms favorite groups to return. Must be a UserID. + :type owner_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[FavoriteGroup] + """ + kwargs['_return_http_data_only'] = True + return self.get_favorite_groups_with_http_info(**kwargs) # noqa: E501 + + def get_favorite_groups_with_http_info(self, **kwargs): # noqa: E501 + """List Favorite Groups # noqa: E501 + + Return a list of favorite groups owned by a user. Returns the same information as `getFavoriteGroups`. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True - Keyword Args: - n (int): The number of objects to return.. [optional] if omitted the server will use the default value of 60 - offset (int): A zero-based offset from the default object sorting from where search results start.. [optional] - owner_id (str): The owner of whoms favorite groups to return. Must be a UserID.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - [FavoriteGroup] - If the method is called asynchronously, returns the request - thread. + >>> thread = api.get_favorite_groups_with_http_info(async_req=True) + >>> result = thread.get() + + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param owner_id: The owner of whoms favorite groups to return. Must be a UserID. + :type owner_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[FavoriteGroup], status_code(int), headers(HTTPHeaderDict)) """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True + + local_var_params = locals() + + all_params = [ + 'n', + 'offset', + 'owner_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.get_favorite_groups_endpoint.call_with_http_info(**kwargs) - def get_favorites( - self, - **kwargs - ): + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_favorite_groups" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_favorite_groups`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_favorite_groups`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_favorite_groups`, must be a value greater than or equal to `0`") # noqa: E501 + collection_formats = {} + + path_params = {} + + query_params = [] + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + if local_var_params.get('owner_id') is not None: # noqa: E501 + query_params.append(('ownerId', local_var_params['owner_id'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[FavoriteGroup]", + 401: "Error", + } + + return self.api_client.call_api( + '/favorite/groups', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_favorites(self, **kwargs): # noqa: E501 """List Favorites # noqa: E501 Returns a list of favorites. # noqa: E501 @@ -913,63 +798,159 @@ def get_favorites( >>> thread = api.get_favorites(async_req=True) >>> result = thread.get() + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param type: The type of favorites to return, FavoriteType. + :type type: str + :param tag: Tags to include (comma-separated). Any of the tags needs to be present. + :type tag: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[Favorite] + """ + kwargs['_return_http_data_only'] = True + return self.get_favorites_with_http_info(**kwargs) # noqa: E501 + + def get_favorites_with_http_info(self, **kwargs): # noqa: E501 + """List Favorites # noqa: E501 + + Returns a list of favorites. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_favorites_with_http_info(async_req=True) + >>> result = thread.get() - Keyword Args: - n (int): The number of objects to return.. [optional] if omitted the server will use the default value of 60 - offset (int): A zero-based offset from the default object sorting from where search results start.. [optional] - type (str): The type of favorites to return, FavoriteType.. [optional] - tag (str): Tags to include (comma-separated). Any of the tags needs to be present.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - [Favorite] - If the method is called asynchronously, returns the request - thread. + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param type: The type of favorites to return, FavoriteType. + :type type: str + :param tag: Tags to include (comma-separated). Any of the tags needs to be present. + :type tag: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[Favorite], status_code(int), headers(HTTPHeaderDict)) """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True + + local_var_params = locals() + + all_params = [ + 'n', + 'offset', + 'type', + 'tag' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.get_favorites_endpoint.call_with_http_info(**kwargs) - - def remove_favorite( - self, - favorite_id, - **kwargs - ): + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_favorites" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_favorites`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_favorites`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_favorites`, must be a value greater than or equal to `0`") # noqa: E501 + collection_formats = {} + + path_params = {} + + query_params = [] + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + if local_var_params.get('type') is not None: # noqa: E501 + query_params.append(('type', local_var_params['type'])) # noqa: E501 + if local_var_params.get('tag') is not None: # noqa: E501 + query_params.append(('tag', local_var_params['tag'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[Favorite]", + 401: "Error", + } + + return self.api_client.call_api( + '/favorites', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def remove_favorite(self, favorite_id, **kwargs): # noqa: E501 """Remove Favorite # noqa: E501 Remove a favorite from your favorites list. # noqa: E501 @@ -979,65 +960,136 @@ def remove_favorite( >>> thread = api.remove_favorite(favorite_id, async_req=True) >>> result = thread.get() - Args: - favorite_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Success - If the method is called asynchronously, returns the request - thread. + :param favorite_id: (required) + :type favorite_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Success """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True + kwargs['_return_http_data_only'] = True + return self.remove_favorite_with_http_info(favorite_id, **kwargs) # noqa: E501 + + def remove_favorite_with_http_info(self, favorite_id, **kwargs): # noqa: E501 + """Remove Favorite # noqa: E501 + + Remove a favorite from your favorites list. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.remove_favorite_with_http_info(favorite_id, async_req=True) + >>> result = thread.get() + + :param favorite_id: (required) + :type favorite_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Success, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'favorite_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['favorite_id'] = \ - favorite_id - return self.remove_favorite_endpoint.call_with_http_info(**kwargs) - - def update_favorite_group( - self, - favorite_group_type, - favorite_group_name, - user_id, - **kwargs - ): + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method remove_favorite" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'favorite_id' is set + if self.api_client.client_side_validation and local_var_params.get('favorite_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `favorite_id` when calling `remove_favorite`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'favorite_id' in local_var_params: + path_params['favoriteId'] = local_var_params['favorite_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "Success", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/favorites/{favoriteId}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def update_favorite_group(self, favorite_group_type, favorite_group_name, user_id, **kwargs): # noqa: E501 """Update Favorite Group # noqa: E501 Update information about a specific favorite group. # noqa: E501 @@ -1047,62 +1099,158 @@ def update_favorite_group( >>> thread = api.update_favorite_group(favorite_group_type, favorite_group_name, user_id, async_req=True) >>> result = thread.get() - Args: - favorite_group_type (str): The type of group to fetch, must be a valid FavoriteType. - favorite_group_name (str): - user_id (str): - - Keyword Args: - update_favorite_group_request (UpdateFavoriteGroupRequest): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. + :param favorite_group_type: The type of group to fetch, must be a valid FavoriteType. (required) + :type favorite_group_type: str + :param favorite_group_name: (required) + :type favorite_group_name: str + :param user_id: (required) + :type user_id: str + :param update_favorite_group_request: + :type update_favorite_group_request: UpdateFavoriteGroupRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True + kwargs['_return_http_data_only'] = True + return self.update_favorite_group_with_http_info(favorite_group_type, favorite_group_name, user_id, **kwargs) # noqa: E501 + + def update_favorite_group_with_http_info(self, favorite_group_type, favorite_group_name, user_id, **kwargs): # noqa: E501 + """Update Favorite Group # noqa: E501 + + Update information about a specific favorite group. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_favorite_group_with_http_info(favorite_group_type, favorite_group_name, user_id, async_req=True) + >>> result = thread.get() + + :param favorite_group_type: The type of group to fetch, must be a valid FavoriteType. (required) + :type favorite_group_type: str + :param favorite_group_name: (required) + :type favorite_group_name: str + :param user_id: (required) + :type user_id: str + :param update_favorite_group_request: + :type update_favorite_group_request: UpdateFavoriteGroupRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + + local_var_params = locals() + + all_params = [ + 'favorite_group_type', + 'favorite_group_name', + 'user_id', + 'update_favorite_group_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['favorite_group_type'] = \ - favorite_group_type - kwargs['favorite_group_name'] = \ - favorite_group_name - kwargs['user_id'] = \ - user_id - return self.update_favorite_group_endpoint.call_with_http_info(**kwargs) + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method update_favorite_group" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'favorite_group_type' is set + if self.api_client.client_side_validation and local_var_params.get('favorite_group_type') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `favorite_group_type` when calling `update_favorite_group`") # noqa: E501 + # verify the required parameter 'favorite_group_name' is set + if self.api_client.client_side_validation and local_var_params.get('favorite_group_name') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `favorite_group_name` when calling `update_favorite_group`") # noqa: E501 + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `update_favorite_group`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'favorite_group_type' in local_var_params: + path_params['favoriteGroupType'] = local_var_params['favorite_group_type'] # noqa: E501 + if 'favorite_group_name' in local_var_params: + path_params['favoriteGroupName'] = local_var_params['favorite_group_name'] # noqa: E501 + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'update_favorite_group_request' in local_var_params: + body_params = local_var_params['update_favorite_group_request'] + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'PUT', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = {} + + return self.api_client.call_api( + '/favorite/group/{favoriteGroupType}/{favoriteGroupName}/{userId}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index c0bf014c..d95fc775 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -1,3 +1,5 @@ +# coding: utf-8 + """ VRChat API Documentation @@ -8,27 +10,18 @@ """ +from __future__ import absolute_import + import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.api_client import ApiClient, Endpoint as _Endpoint -from vrchatapi.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types + +# python 2 and python 3 compatibility library +import six + +from vrchatapi.api_client import ApiClient +from vrchatapi.exceptions import ( # noqa: F401 + ApiTypeError, + ApiValueError ) -from vrchatapi.model.create_file_request import CreateFileRequest -from vrchatapi.model.create_file_version_request import CreateFileVersionRequest -from vrchatapi.model.error import Error -from vrchatapi.model.file import File -from vrchatapi.model.file_upload_url import FileUploadURL -from vrchatapi.model.file_version_upload_status import FileVersionUploadStatus -from vrchatapi.model.finish_file_data_upload_request import FinishFileDataUploadRequest -from vrchatapi.model.success import Success class FilesApi(object): @@ -42,729 +35,8 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client - self.create_file_endpoint = _Endpoint( - settings={ - 'response_type': (File,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/file', - 'operation_id': 'create_file', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'create_file_request', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'create_file_request': - (CreateFileRequest,), - }, - 'attribute_map': { - }, - 'location_map': { - 'create_file_request': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.create_file_version_endpoint = _Endpoint( - settings={ - 'response_type': (File,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/file/{fileId}', - 'operation_id': 'create_file_version', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'file_id', - 'create_file_version_request', - ], - 'required': [ - 'file_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'file_id', - ] - }, - root_map={ - 'validations': { - ('file_id',): { - - 'regex': { - 'pattern': r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'file_id': - (str,), - 'create_file_version_request': - (CreateFileVersionRequest,), - }, - 'attribute_map': { - 'file_id': 'fileId', - }, - 'location_map': { - 'file_id': 'path', - 'create_file_version_request': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.delete_file_endpoint = _Endpoint( - settings={ - 'response_type': (Success,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/file/{fileId}', - 'operation_id': 'delete_file', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'file_id', - ], - 'required': [ - 'file_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'file_id', - ] - }, - root_map={ - 'validations': { - ('file_id',): { - - 'regex': { - 'pattern': r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'file_id': - (str,), - }, - 'attribute_map': { - 'file_id': 'fileId', - }, - 'location_map': { - 'file_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.delete_file_version_endpoint = _Endpoint( - settings={ - 'response_type': (File,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/file/{fileId}/{versionId}', - 'operation_id': 'delete_file_version', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'file_id', - 'version_id', - ], - 'required': [ - 'file_id', - 'version_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'file_id', - 'version_id', - ] - }, - root_map={ - 'validations': { - ('file_id',): { - - 'regex': { - 'pattern': r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', # noqa: E501 - }, - }, - ('version_id',): { - - 'inclusive_minimum': 1, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'file_id': - (str,), - 'version_id': - (int,), - }, - 'attribute_map': { - 'file_id': 'fileId', - 'version_id': 'versionId', - }, - 'location_map': { - 'file_id': 'path', - 'version_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.download_file_version_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/file/{fileId}/{versionId}', - 'operation_id': 'download_file_version', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'file_id', - 'version_id', - ], - 'required': [ - 'file_id', - 'version_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'file_id', - 'version_id', - ] - }, - root_map={ - 'validations': { - ('file_id',): { - - 'regex': { - 'pattern': r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', # noqa: E501 - }, - }, - ('version_id',): { - - 'inclusive_minimum': 1, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'file_id': - (str,), - 'version_id': - (int,), - }, - 'attribute_map': { - 'file_id': 'fileId', - 'version_id': 'versionId', - }, - 'location_map': { - 'file_id': 'path', - 'version_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.finish_file_data_upload_endpoint = _Endpoint( - settings={ - 'response_type': (File,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/file/{fileId}/{versionId}/{fileType}/finish', - 'operation_id': 'finish_file_data_upload', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'file_id', - 'version_id', - 'file_type', - 'finish_file_data_upload_request', - ], - 'required': [ - 'file_id', - 'version_id', - 'file_type', - ], - 'nullable': [ - ], - 'enum': [ - 'file_type', - ], - 'validation': [ - 'file_id', - 'version_id', - ] - }, - root_map={ - 'validations': { - ('file_id',): { - - 'regex': { - 'pattern': r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', # noqa: E501 - }, - }, - ('version_id',): { - - 'inclusive_minimum': 1, - }, - }, - 'allowed_values': { - ('file_type',): { - - "FILE": "file", - "SIGNATURE": "signature", - "DELTA": "delta" - }, - }, - 'openapi_types': { - 'file_id': - (str,), - 'version_id': - (int,), - 'file_type': - (str,), - 'finish_file_data_upload_request': - (FinishFileDataUploadRequest,), - }, - 'attribute_map': { - 'file_id': 'fileId', - 'version_id': 'versionId', - 'file_type': 'fileType', - }, - 'location_map': { - 'file_id': 'path', - 'version_id': 'path', - 'file_type': 'path', - 'finish_file_data_upload_request': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.get_file_endpoint = _Endpoint( - settings={ - 'response_type': (File,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/file/{fileId}', - 'operation_id': 'get_file', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'file_id', - ], - 'required': [ - 'file_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'file_id', - ] - }, - root_map={ - 'validations': { - ('file_id',): { - - 'regex': { - 'pattern': r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'file_id': - (str,), - }, - 'attribute_map': { - 'file_id': 'fileId', - }, - 'location_map': { - 'file_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_file_data_upload_status_endpoint = _Endpoint( - settings={ - 'response_type': (FileVersionUploadStatus,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/file/{fileId}/{versionId}/{fileType}/status', - 'operation_id': 'get_file_data_upload_status', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'file_id', - 'version_id', - 'file_type', - ], - 'required': [ - 'file_id', - 'version_id', - 'file_type', - ], - 'nullable': [ - ], - 'enum': [ - 'file_type', - ], - 'validation': [ - 'file_id', - 'version_id', - ] - }, - root_map={ - 'validations': { - ('file_id',): { - - 'regex': { - 'pattern': r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', # noqa: E501 - }, - }, - ('version_id',): { - - 'inclusive_minimum': 1, - }, - }, - 'allowed_values': { - ('file_type',): { - - "FILE": "file", - "SIGNATURE": "signature", - "DELTA": "delta" - }, - }, - 'openapi_types': { - 'file_id': - (str,), - 'version_id': - (int,), - 'file_type': - (str,), - }, - 'attribute_map': { - 'file_id': 'fileId', - 'version_id': 'versionId', - 'file_type': 'fileType', - }, - 'location_map': { - 'file_id': 'path', - 'version_id': 'path', - 'file_type': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_files_endpoint = _Endpoint( - settings={ - 'response_type': ([File],), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/files', - 'operation_id': 'get_files', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'tag', - 'user_id', - 'n', - 'offset', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'tag', - 'n', - 'offset', - ] - }, - root_map={ - 'validations': { - ('tag',): { - - 'min_length': 1, - }, - ('n',): { - - 'inclusive_maximum': 100, - 'inclusive_minimum': 1, - }, - ('offset',): { - - 'inclusive_minimum': 0, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'tag': - (str,), - 'user_id': - (str,), - 'n': - (int,), - 'offset': - (int,), - }, - 'attribute_map': { - 'tag': 'tag', - 'user_id': 'userId', - 'n': 'n', - 'offset': 'offset', - }, - 'location_map': { - 'tag': 'query', - 'user_id': 'query', - 'n': 'query', - 'offset': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.start_file_data_upload_endpoint = _Endpoint( - settings={ - 'response_type': (FileUploadURL,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/file/{fileId}/{versionId}/{fileType}/start', - 'operation_id': 'start_file_data_upload', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'file_id', - 'version_id', - 'file_type', - 'part_number', - ], - 'required': [ - 'file_id', - 'version_id', - 'file_type', - ], - 'nullable': [ - ], - 'enum': [ - 'file_type', - ], - 'validation': [ - 'file_id', - 'version_id', - 'part_number', - ] - }, - root_map={ - 'validations': { - ('file_id',): { - - 'regex': { - 'pattern': r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', # noqa: E501 - }, - }, - ('version_id',): { - - 'inclusive_minimum': 1, - }, - ('part_number',): { - - 'inclusive_minimum': 0, - }, - }, - 'allowed_values': { - ('file_type',): { - - "FILE": "file", - "SIGNATURE": "signature", - "DELTA": "delta" - }, - }, - 'openapi_types': { - 'file_id': - (str,), - 'version_id': - (int,), - 'file_type': - (str,), - 'part_number': - (int,), - }, - 'attribute_map': { - 'file_id': 'fileId', - 'version_id': 'versionId', - 'file_type': 'fileType', - 'part_number': 'partNumber', - }, - 'location_map': { - 'file_id': 'path', - 'version_id': 'path', - 'file_type': 'path', - 'part_number': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - def create_file( - self, - **kwargs - ): + def create_file(self, **kwargs): # noqa: E501 """Create File # noqa: E501 Creates a new File object # noqa: E501 @@ -774,60 +46,139 @@ def create_file( >>> thread = api.create_file(async_req=True) >>> result = thread.get() + :param create_file_request: + :type create_file_request: CreateFileRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: File + """ + kwargs['_return_http_data_only'] = True + return self.create_file_with_http_info(**kwargs) # noqa: E501 + + def create_file_with_http_info(self, **kwargs): # noqa: E501 + """Create File # noqa: E501 + + Creates a new File object # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.create_file_with_http_info(async_req=True) + >>> result = thread.get() - Keyword Args: - create_file_request (CreateFileRequest): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - File - If the method is called asynchronously, returns the request - thread. + :param create_file_request: + :type create_file_request: CreateFileRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(File, status_code(int), headers(HTTPHeaderDict)) """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.create_file_endpoint.call_with_http_info(**kwargs) - - def create_file_version( - self, - file_id, - **kwargs - ): + + local_var_params = locals() + + all_params = [ + 'create_file_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method create_file" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'create_file_request' in local_var_params: + body_params = local_var_params['create_file_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "File", + } + + return self.api_client.call_api( + '/file', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def create_file_version(self, file_id, **kwargs): # noqa: E501 """Create File Version # noqa: E501 Creates a new FileVersion. Once a Version has been created, proceed to the `/file/{fileId}/{versionId}/file/start` endpoint to start a file upload. # noqa: E501 @@ -837,64 +188,151 @@ def create_file_version( >>> thread = api.create_file_version(file_id, async_req=True) >>> result = thread.get() - Args: - file_id (str): - - Keyword Args: - create_file_version_request (CreateFileVersionRequest): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - File - If the method is called asynchronously, returns the request - thread. + :param file_id: (required) + :type file_id: str + :param create_file_version_request: + :type create_file_version_request: CreateFileVersionRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: File """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['file_id'] = \ - file_id - return self.create_file_version_endpoint.call_with_http_info(**kwargs) - - def delete_file( - self, - file_id, - **kwargs - ): + kwargs['_return_http_data_only'] = True + return self.create_file_version_with_http_info(file_id, **kwargs) # noqa: E501 + + def create_file_version_with_http_info(self, file_id, **kwargs): # noqa: E501 + """Create File Version # noqa: E501 + + Creates a new FileVersion. Once a Version has been created, proceed to the `/file/{fileId}/{versionId}/file/start` endpoint to start a file upload. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.create_file_version_with_http_info(file_id, async_req=True) + >>> result = thread.get() + + :param file_id: (required) + :type file_id: str + :param create_file_version_request: + :type create_file_version_request: CreateFileVersionRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(File, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'file_id', + 'create_file_version_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method create_file_version" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'file_id' is set + if self.api_client.client_side_validation and local_var_params.get('file_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `file_id` when calling `create_file_version`") # noqa: E501 + + if self.api_client.client_side_validation and 'file_id' in local_var_params and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['file_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `file_id` when calling `create_file_version`, must conform to the pattern `/file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'file_id' in local_var_params: + path_params['fileId'] = local_var_params['file_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'create_file_version_request' in local_var_params: + body_params = local_var_params['create_file_version_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "File", + } + + return self.api_client.call_api( + '/file/{fileId}', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def delete_file(self, file_id, **kwargs): # noqa: E501 """Delete File # noqa: E501 Deletes a File object. # noqa: E501 @@ -904,64 +342,137 @@ def delete_file( >>> thread = api.delete_file(file_id, async_req=True) >>> result = thread.get() - Args: - file_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Success - If the method is called asynchronously, returns the request - thread. + :param file_id: (required) + :type file_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Success """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['file_id'] = \ - file_id - return self.delete_file_endpoint.call_with_http_info(**kwargs) - - def delete_file_version( - self, - file_id, - version_id, - **kwargs - ): + kwargs['_return_http_data_only'] = True + return self.delete_file_with_http_info(file_id, **kwargs) # noqa: E501 + + def delete_file_with_http_info(self, file_id, **kwargs): # noqa: E501 + """Delete File # noqa: E501 + + Deletes a File object. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_file_with_http_info(file_id, async_req=True) + >>> result = thread.get() + + :param file_id: (required) + :type file_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Success, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'file_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_file" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'file_id' is set + if self.api_client.client_side_validation and local_var_params.get('file_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `file_id` when calling `delete_file`") # noqa: E501 + + if self.api_client.client_side_validation and 'file_id' in local_var_params and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['file_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `file_id` when calling `delete_file`, must conform to the pattern `/file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'file_id' in local_var_params: + path_params['fileId'] = local_var_params['file_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "Success", + 404: "Error", + } + + return self.api_client.call_api( + '/file/{fileId}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def delete_file_version(self, file_id, version_id, **kwargs): # noqa: E501 """Delete File Version # noqa: E501 Delete a specific version of a file. You can only delete the latest version. # noqa: E501 @@ -971,67 +482,150 @@ def delete_file_version( >>> thread = api.delete_file_version(file_id, version_id, async_req=True) >>> result = thread.get() - Args: - file_id (str): - version_id (int): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - File - If the method is called asynchronously, returns the request - thread. + :param file_id: (required) + :type file_id: str + :param version_id: (required) + :type version_id: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: File """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['file_id'] = \ - file_id - kwargs['version_id'] = \ - version_id - return self.delete_file_version_endpoint.call_with_http_info(**kwargs) - - def download_file_version( - self, - file_id, - version_id, - **kwargs - ): + kwargs['_return_http_data_only'] = True + return self.delete_file_version_with_http_info(file_id, version_id, **kwargs) # noqa: E501 + + def delete_file_version_with_http_info(self, file_id, version_id, **kwargs): # noqa: E501 + """Delete File Version # noqa: E501 + + Delete a specific version of a file. You can only delete the latest version. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_file_version_with_http_info(file_id, version_id, async_req=True) + >>> result = thread.get() + + :param file_id: (required) + :type file_id: str + :param version_id: (required) + :type version_id: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(File, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'file_id', + 'version_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_file_version" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'file_id' is set + if self.api_client.client_side_validation and local_var_params.get('file_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `file_id` when calling `delete_file_version`") # noqa: E501 + # verify the required parameter 'version_id' is set + if self.api_client.client_side_validation and local_var_params.get('version_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `version_id` when calling `delete_file_version`") # noqa: E501 + + if self.api_client.client_side_validation and 'file_id' in local_var_params and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['file_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `file_id` when calling `delete_file_version`, must conform to the pattern `/file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + if self.api_client.client_side_validation and 'version_id' in local_var_params and local_var_params['version_id'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `version_id` when calling `delete_file_version`, must be a value greater than or equal to `1`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'file_id' in local_var_params: + path_params['fileId'] = local_var_params['file_id'] # noqa: E501 + if 'version_id' in local_var_params: + path_params['versionId'] = local_var_params['version_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "File", + 400: "Error", + 500: "Error", + } + + return self.api_client.call_api( + '/file/{fileId}/{versionId}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def download_file_version(self, file_id, version_id, **kwargs): # noqa: E501 """Download File Version # noqa: E501 Downloads the file with the provided version number. **Version Note:** Version 0 is always when the file was created. The real data is usually always located in version 1 and up. **Extension Note:** Files are not guaranteed to have a file extensions. UnityPackage files tends to have it, images through this endpoint do not. You are responsible for appending file extension from the `extension` field when neccesary. # noqa: E501 @@ -1041,68 +635,142 @@ def download_file_version( >>> thread = api.download_file_version(file_id, version_id, async_req=True) >>> result = thread.get() - Args: - file_id (str): - version_id (int): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. + :param file_id: (required) + :type file_id: str + :param version_id: (required) + :type version_id: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['file_id'] = \ - file_id - kwargs['version_id'] = \ - version_id - return self.download_file_version_endpoint.call_with_http_info(**kwargs) - - def finish_file_data_upload( - self, - file_id, - version_id, - file_type, - **kwargs - ): + kwargs['_return_http_data_only'] = True + return self.download_file_version_with_http_info(file_id, version_id, **kwargs) # noqa: E501 + + def download_file_version_with_http_info(self, file_id, version_id, **kwargs): # noqa: E501 + """Download File Version # noqa: E501 + + Downloads the file with the provided version number. **Version Note:** Version 0 is always when the file was created. The real data is usually always located in version 1 and up. **Extension Note:** Files are not guaranteed to have a file extensions. UnityPackage files tends to have it, images through this endpoint do not. You are responsible for appending file extension from the `extension` field when neccesary. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.download_file_version_with_http_info(file_id, version_id, async_req=True) + >>> result = thread.get() + + :param file_id: (required) + :type file_id: str + :param version_id: (required) + :type version_id: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + + local_var_params = locals() + + all_params = [ + 'file_id', + 'version_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method download_file_version" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'file_id' is set + if self.api_client.client_side_validation and local_var_params.get('file_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `file_id` when calling `download_file_version`") # noqa: E501 + # verify the required parameter 'version_id' is set + if self.api_client.client_side_validation and local_var_params.get('version_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `version_id` when calling `download_file_version`") # noqa: E501 + + if self.api_client.client_side_validation and 'file_id' in local_var_params and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['file_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `file_id` when calling `download_file_version`, must conform to the pattern `/file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + if self.api_client.client_side_validation and 'version_id' in local_var_params and local_var_params['version_id'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `version_id` when calling `download_file_version`, must be a value greater than or equal to `1`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'file_id' in local_var_params: + path_params['fileId'] = local_var_params['file_id'] # noqa: E501 + if 'version_id' in local_var_params: + path_params['versionId'] = local_var_params['version_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = {} + + return self.api_client.call_api( + '/file/{fileId}/{versionId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def finish_file_data_upload(self, file_id, version_id, file_type, **kwargs): # noqa: E501 """Finish FileData Upload # noqa: E501 Finish an upload of a FileData. This will mark it as \"complete\". After uploading the `file` for Avatars and Worlds you then have to upload a `signature` file. # noqa: E501 @@ -1112,70 +780,173 @@ def finish_file_data_upload( >>> thread = api.finish_file_data_upload(file_id, version_id, file_type, async_req=True) >>> result = thread.get() - Args: - file_id (str): - version_id (int): - file_type (str): - - Keyword Args: - finish_file_data_upload_request (FinishFileDataUploadRequest): Please see documentation on ETag's: [https://teppen.io/2018/06/23/aws_s3_etags/](https://teppen.io/2018/06/23/aws_s3_etags/) ETag's should NOT be present when uploading a `signature`.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - File - If the method is called asynchronously, returns the request - thread. + :param file_id: (required) + :type file_id: str + :param version_id: (required) + :type version_id: int + :param file_type: (required) + :type file_type: str + :param finish_file_data_upload_request: Please see documentation on ETag's: [https://teppen.io/2018/06/23/aws_s3_etags/](https://teppen.io/2018/06/23/aws_s3_etags/) ETag's should NOT be present when uploading a `signature`. + :type finish_file_data_upload_request: FinishFileDataUploadRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: File """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['file_id'] = \ - file_id - kwargs['version_id'] = \ - version_id - kwargs['file_type'] = \ - file_type - return self.finish_file_data_upload_endpoint.call_with_http_info(**kwargs) - - def get_file( - self, - file_id, - **kwargs - ): + kwargs['_return_http_data_only'] = True + return self.finish_file_data_upload_with_http_info(file_id, version_id, file_type, **kwargs) # noqa: E501 + + def finish_file_data_upload_with_http_info(self, file_id, version_id, file_type, **kwargs): # noqa: E501 + """Finish FileData Upload # noqa: E501 + + Finish an upload of a FileData. This will mark it as \"complete\". After uploading the `file` for Avatars and Worlds you then have to upload a `signature` file. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.finish_file_data_upload_with_http_info(file_id, version_id, file_type, async_req=True) + >>> result = thread.get() + + :param file_id: (required) + :type file_id: str + :param version_id: (required) + :type version_id: int + :param file_type: (required) + :type file_type: str + :param finish_file_data_upload_request: Please see documentation on ETag's: [https://teppen.io/2018/06/23/aws_s3_etags/](https://teppen.io/2018/06/23/aws_s3_etags/) ETag's should NOT be present when uploading a `signature`. + :type finish_file_data_upload_request: FinishFileDataUploadRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(File, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'file_id', + 'version_id', + 'file_type', + 'finish_file_data_upload_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method finish_file_data_upload" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'file_id' is set + if self.api_client.client_side_validation and local_var_params.get('file_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `file_id` when calling `finish_file_data_upload`") # noqa: E501 + # verify the required parameter 'version_id' is set + if self.api_client.client_side_validation and local_var_params.get('version_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `version_id` when calling `finish_file_data_upload`") # noqa: E501 + # verify the required parameter 'file_type' is set + if self.api_client.client_side_validation and local_var_params.get('file_type') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `file_type` when calling `finish_file_data_upload`") # noqa: E501 + + if self.api_client.client_side_validation and 'file_id' in local_var_params and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['file_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `file_id` when calling `finish_file_data_upload`, must conform to the pattern `/file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + if self.api_client.client_side_validation and 'version_id' in local_var_params and local_var_params['version_id'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `version_id` when calling `finish_file_data_upload`, must be a value greater than or equal to `1`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'file_id' in local_var_params: + path_params['fileId'] = local_var_params['file_id'] # noqa: E501 + if 'version_id' in local_var_params: + path_params['versionId'] = local_var_params['version_id'] # noqa: E501 + if 'file_type' in local_var_params: + path_params['fileType'] = local_var_params['file_type'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'finish_file_data_upload_request' in local_var_params: + body_params = local_var_params['finish_file_data_upload_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'PUT', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "File", + } + + return self.api_client.call_api( + '/file/{fileId}/{versionId}/{fileType}/finish', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_file(self, file_id, **kwargs): # noqa: E501 """Show File # noqa: E501 Shows general information about the \"File\" object. Each File can have several \"Version\"'s, and each Version can have multiple real files or \"Data\" blobs. # noqa: E501 @@ -1185,65 +956,137 @@ def get_file( >>> thread = api.get_file(file_id, async_req=True) >>> result = thread.get() - Args: - file_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - File - If the method is called asynchronously, returns the request - thread. + :param file_id: (required) + :type file_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: File """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['file_id'] = \ - file_id - return self.get_file_endpoint.call_with_http_info(**kwargs) - - def get_file_data_upload_status( - self, - file_id, - version_id, - file_type, - **kwargs - ): + kwargs['_return_http_data_only'] = True + return self.get_file_with_http_info(file_id, **kwargs) # noqa: E501 + + def get_file_with_http_info(self, file_id, **kwargs): # noqa: E501 + """Show File # noqa: E501 + + Shows general information about the \"File\" object. Each File can have several \"Version\"'s, and each Version can have multiple real files or \"Data\" blobs. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_file_with_http_info(file_id, async_req=True) + >>> result = thread.get() + + :param file_id: (required) + :type file_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(File, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'file_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_file" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'file_id' is set + if self.api_client.client_side_validation and local_var_params.get('file_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `file_id` when calling `get_file`") # noqa: E501 + + if self.api_client.client_side_validation and 'file_id' in local_var_params and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['file_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `file_id` when calling `get_file`, must conform to the pattern `/file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'file_id' in local_var_params: + path_params['fileId'] = local_var_params['file_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "File", + 404: "Error", + } + + return self.api_client.call_api( + '/file/{fileId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_file_data_upload_status(self, file_id, version_id, file_type, **kwargs): # noqa: E501 """Check FileData Upload Status # noqa: E501 Retrieves the upload status for file upload. Can currently only be accessed when `status` is `waiting`. Trying to access it on a file version already uploaded currently times out. # noqa: E501 @@ -1253,68 +1096,158 @@ def get_file_data_upload_status( >>> thread = api.get_file_data_upload_status(file_id, version_id, file_type, async_req=True) >>> result = thread.get() - Args: - file_id (str): - version_id (int): - file_type (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - FileVersionUploadStatus - If the method is called asynchronously, returns the request - thread. + :param file_id: (required) + :type file_id: str + :param version_id: (required) + :type version_id: int + :param file_type: (required) + :type file_type: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: FileVersionUploadStatus """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['file_id'] = \ - file_id - kwargs['version_id'] = \ - version_id - kwargs['file_type'] = \ - file_type - return self.get_file_data_upload_status_endpoint.call_with_http_info(**kwargs) - - def get_files( - self, - **kwargs - ): + kwargs['_return_http_data_only'] = True + return self.get_file_data_upload_status_with_http_info(file_id, version_id, file_type, **kwargs) # noqa: E501 + + def get_file_data_upload_status_with_http_info(self, file_id, version_id, file_type, **kwargs): # noqa: E501 + """Check FileData Upload Status # noqa: E501 + + Retrieves the upload status for file upload. Can currently only be accessed when `status` is `waiting`. Trying to access it on a file version already uploaded currently times out. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_file_data_upload_status_with_http_info(file_id, version_id, file_type, async_req=True) + >>> result = thread.get() + + :param file_id: (required) + :type file_id: str + :param version_id: (required) + :type version_id: int + :param file_type: (required) + :type file_type: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(FileVersionUploadStatus, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'file_id', + 'version_id', + 'file_type' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_file_data_upload_status" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'file_id' is set + if self.api_client.client_side_validation and local_var_params.get('file_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `file_id` when calling `get_file_data_upload_status`") # noqa: E501 + # verify the required parameter 'version_id' is set + if self.api_client.client_side_validation and local_var_params.get('version_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `version_id` when calling `get_file_data_upload_status`") # noqa: E501 + # verify the required parameter 'file_type' is set + if self.api_client.client_side_validation and local_var_params.get('file_type') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `file_type` when calling `get_file_data_upload_status`") # noqa: E501 + + if self.api_client.client_side_validation and 'file_id' in local_var_params and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['file_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `file_id` when calling `get_file_data_upload_status`, must conform to the pattern `/file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + if self.api_client.client_side_validation and 'version_id' in local_var_params and local_var_params['version_id'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `version_id` when calling `get_file_data_upload_status`, must be a value greater than or equal to `1`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'file_id' in local_var_params: + path_params['fileId'] = local_var_params['file_id'] # noqa: E501 + if 'version_id' in local_var_params: + path_params['versionId'] = local_var_params['version_id'] # noqa: E501 + if 'file_type' in local_var_params: + path_params['fileType'] = local_var_params['file_type'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "FileVersionUploadStatus", + } + + return self.api_client.call_api( + '/file/{fileId}/{versionId}/{fileType}/status', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_files(self, **kwargs): # noqa: E501 """List Files # noqa: E501 Returns a list of files # noqa: E501 @@ -1324,65 +1257,161 @@ def get_files( >>> thread = api.get_files(async_req=True) >>> result = thread.get() + :param tag: Tag, for example \"icon\" or \"gallery\", not included by default. + :type tag: str + :param user_id: UserID, will always generate a 500 permission error. + :type user_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[File] + """ + kwargs['_return_http_data_only'] = True + return self.get_files_with_http_info(**kwargs) # noqa: E501 + + def get_files_with_http_info(self, **kwargs): # noqa: E501 + """List Files # noqa: E501 - Keyword Args: - tag (str): Tag, for example \"icon\" or \"gallery\", not included by default.. [optional] - user_id (str): UserID, will always generate a 500 permission error.. [optional] - n (int): The number of objects to return.. [optional] if omitted the server will use the default value of 60 - offset (int): A zero-based offset from the default object sorting from where search results start.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - [File] - If the method is called asynchronously, returns the request - thread. + Returns a list of files # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_files_with_http_info(async_req=True) + >>> result = thread.get() + + :param tag: Tag, for example \"icon\" or \"gallery\", not included by default. + :type tag: str + :param user_id: UserID, will always generate a 500 permission error. + :type user_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[File], status_code(int), headers(HTTPHeaderDict)) """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.get_files_endpoint.call_with_http_info(**kwargs) - - def start_file_data_upload( - self, - file_id, - version_id, - file_type, - **kwargs - ): + + local_var_params = locals() + + all_params = [ + 'tag', + 'user_id', + 'n', + 'offset' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_files" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + if self.api_client.client_side_validation and ('tag' in local_var_params and # noqa: E501 + len(local_var_params['tag']) < 1): # noqa: E501 + raise ApiValueError("Invalid value for parameter `tag` when calling `get_files`, length must be greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_files`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_files`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_files`, must be a value greater than or equal to `0`") # noqa: E501 + collection_formats = {} + + path_params = {} + + query_params = [] + if local_var_params.get('tag') is not None: # noqa: E501 + query_params.append(('tag', local_var_params['tag'])) # noqa: E501 + if local_var_params.get('user_id') is not None: # noqa: E501 + query_params.append(('userId', local_var_params['user_id'])) # noqa: E501 + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[File]", + } + + return self.api_client.call_api( + '/files', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def start_file_data_upload(self, file_id, version_id, file_type, **kwargs): # noqa: E501 """Start FileData Upload # noqa: E501 Starts an upload of a specific FilePart. This endpoint will return an AWS URL which you can PUT data to. You need to call this and receive a new AWS API URL for each `partNumber`. Please see AWS's REST documentation on \"PUT Object to S3\" on how to upload. Once all parts has been uploaded, proceed to `/finish` endpoint. **Note:** `nextPartNumber` seems like it is always ignored. Despite it returning 0, first partNumber is always 1. # noqa: E501 @@ -1392,62 +1421,163 @@ def start_file_data_upload( >>> thread = api.start_file_data_upload(file_id, version_id, file_type, async_req=True) >>> result = thread.get() - Args: - file_id (str): - version_id (int): - file_type (str): - - Keyword Args: - part_number (int): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - FileUploadURL - If the method is called asynchronously, returns the request - thread. + :param file_id: (required) + :type file_id: str + :param version_id: (required) + :type version_id: int + :param file_type: (required) + :type file_type: str + :param part_number: + :type part_number: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: FileUploadURL + """ + kwargs['_return_http_data_only'] = True + return self.start_file_data_upload_with_http_info(file_id, version_id, file_type, **kwargs) # noqa: E501 + + def start_file_data_upload_with_http_info(self, file_id, version_id, file_type, **kwargs): # noqa: E501 + """Start FileData Upload # noqa: E501 + + Starts an upload of a specific FilePart. This endpoint will return an AWS URL which you can PUT data to. You need to call this and receive a new AWS API URL for each `partNumber`. Please see AWS's REST documentation on \"PUT Object to S3\" on how to upload. Once all parts has been uploaded, proceed to `/finish` endpoint. **Note:** `nextPartNumber` seems like it is always ignored. Despite it returning 0, first partNumber is always 1. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.start_file_data_upload_with_http_info(file_id, version_id, file_type, async_req=True) + >>> result = thread.get() + + :param file_id: (required) + :type file_id: str + :param version_id: (required) + :type version_id: int + :param file_type: (required) + :type file_type: str + :param part_number: + :type part_number: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(FileUploadURL, status_code(int), headers(HTTPHeaderDict)) """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['file_id'] = \ - file_id - kwargs['version_id'] = \ - version_id - kwargs['file_type'] = \ - file_type - return self.start_file_data_upload_endpoint.call_with_http_info(**kwargs) + local_var_params = locals() + + all_params = [ + 'file_id', + 'version_id', + 'file_type', + 'part_number' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method start_file_data_upload" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'file_id' is set + if self.api_client.client_side_validation and local_var_params.get('file_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `file_id` when calling `start_file_data_upload`") # noqa: E501 + # verify the required parameter 'version_id' is set + if self.api_client.client_side_validation and local_var_params.get('version_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `version_id` when calling `start_file_data_upload`") # noqa: E501 + # verify the required parameter 'file_type' is set + if self.api_client.client_side_validation and local_var_params.get('file_type') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `file_type` when calling `start_file_data_upload`") # noqa: E501 + + if self.api_client.client_side_validation and 'file_id' in local_var_params and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['file_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `file_id` when calling `start_file_data_upload`, must conform to the pattern `/file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + if self.api_client.client_side_validation and 'version_id' in local_var_params and local_var_params['version_id'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `version_id` when calling `start_file_data_upload`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'part_number' in local_var_params and local_var_params['part_number'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `part_number` when calling `start_file_data_upload`, must be a value greater than or equal to `0`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'file_id' in local_var_params: + path_params['fileId'] = local_var_params['file_id'] # noqa: E501 + if 'version_id' in local_var_params: + path_params['versionId'] = local_var_params['version_id'] # noqa: E501 + if 'file_type' in local_var_params: + path_params['fileType'] = local_var_params['file_type'] # noqa: E501 + + query_params = [] + if local_var_params.get('part_number') is not None: # noqa: E501 + query_params.append(('partNumber', local_var_params['part_number'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "FileUploadURL", + 400: "Error", + } + + return self.api_client.call_api( + '/file/{fileId}/{versionId}/{fileType}/start', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index ea991deb..7ccf2b8d 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -1,3 +1,5 @@ +# coding: utf-8 + """ VRChat API Documentation @@ -8,24 +10,18 @@ """ +from __future__ import absolute_import + import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.api_client import ApiClient, Endpoint as _Endpoint -from vrchatapi.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types + +# python 2 and python 3 compatibility library +import six + +from vrchatapi.api_client import ApiClient +from vrchatapi.exceptions import ( # noqa: F401 + ApiTypeError, + ApiValueError ) -from vrchatapi.model.error import Error -from vrchatapi.model.friend_status import FriendStatus -from vrchatapi.model.limited_user import LimitedUser -from vrchatapi.model.notification import Notification -from vrchatapi.model.success import Success class FriendsApi(object): @@ -39,291 +35,8 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client - self.delete_friend_request_endpoint = _Endpoint( - settings={ - 'response_type': (Success,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/user/{userId}/friendRequest', - 'operation_id': 'delete_friend_request', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'user_id', - ], - 'required': [ - 'user_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'user_id': - (str,), - }, - 'attribute_map': { - 'user_id': 'userId', - }, - 'location_map': { - 'user_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.friend_endpoint = _Endpoint( - settings={ - 'response_type': (Notification,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/user/{userId}/friendRequest', - 'operation_id': 'friend', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'user_id', - ], - 'required': [ - 'user_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'user_id': - (str,), - }, - 'attribute_map': { - 'user_id': 'userId', - }, - 'location_map': { - 'user_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_friend_status_endpoint = _Endpoint( - settings={ - 'response_type': (FriendStatus,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/user/{userId}/friendStatus', - 'operation_id': 'get_friend_status', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'user_id', - ], - 'required': [ - 'user_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'user_id': - (str,), - }, - 'attribute_map': { - 'user_id': 'userId', - }, - 'location_map': { - 'user_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_friends_endpoint = _Endpoint( - settings={ - 'response_type': ([LimitedUser],), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/auth/user/friends', - 'operation_id': 'get_friends', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'offset', - 'n', - 'offline', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'offset', - 'n', - ] - }, - root_map={ - 'validations': { - ('offset',): { - - 'inclusive_minimum': 0, - }, - ('n',): { - - 'inclusive_maximum': 100, - 'inclusive_minimum': 1, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'offset': - (int,), - 'n': - (int,), - 'offline': - (bool,), - }, - 'attribute_map': { - 'offset': 'offset', - 'n': 'n', - 'offline': 'offline', - }, - 'location_map': { - 'offset': 'query', - 'n': 'query', - 'offline': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.unfriend_endpoint = _Endpoint( - settings={ - 'response_type': (Success,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/auth/user/friends/{userId}', - 'operation_id': 'unfriend', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'user_id', - ], - 'required': [ - 'user_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'user_id': - (str,), - }, - 'attribute_map': { - 'user_id': 'userId', - }, - 'location_map': { - 'user_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - def delete_friend_request( - self, - user_id, - **kwargs - ): + def delete_friend_request(self, user_id, **kwargs): # noqa: E501 """Delete Friend Request # noqa: E501 Deletes an outgoing pending friend request to another user. To delete an incoming friend request, use the `deleteNotification` endpoint instead. # noqa: E501 @@ -333,63 +46,136 @@ def delete_friend_request( >>> thread = api.delete_friend_request(user_id, async_req=True) >>> result = thread.get() - Args: - user_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Success - If the method is called asynchronously, returns the request - thread. + :param user_id: (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Success """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['user_id'] = \ - user_id - return self.delete_friend_request_endpoint.call_with_http_info(**kwargs) - - def friend( - self, - user_id, - **kwargs - ): + kwargs['_return_http_data_only'] = True + return self.delete_friend_request_with_http_info(user_id, **kwargs) # noqa: E501 + + def delete_friend_request_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Delete Friend Request # noqa: E501 + + Deletes an outgoing pending friend request to another user. To delete an incoming friend request, use the `deleteNotification` endpoint instead. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_friend_request_with_http_info(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Success, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_friend_request" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `delete_friend_request`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "Success", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/user/{userId}/friendRequest', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def friend(self, user_id, **kwargs): # noqa: E501 """Send Friend Request # noqa: E501 Send a friend request to another user. # noqa: E501 @@ -399,63 +185,136 @@ def friend( >>> thread = api.friend(user_id, async_req=True) >>> result = thread.get() - Args: - user_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Notification - If the method is called asynchronously, returns the request - thread. + :param user_id: (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Notification """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['user_id'] = \ - user_id - return self.friend_endpoint.call_with_http_info(**kwargs) - - def get_friend_status( - self, - user_id, - **kwargs - ): + kwargs['_return_http_data_only'] = True + return self.friend_with_http_info(user_id, **kwargs) # noqa: E501 + + def friend_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Send Friend Request # noqa: E501 + + Send a friend request to another user. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.friend_with_http_info(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Notification, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method friend" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `friend`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "Notification", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/user/{userId}/friendRequest', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_friend_status(self, user_id, **kwargs): # noqa: E501 """Check Friend Status # noqa: E501 Retrieve if the user is currently a friend with a given user, if they have an outgoing friend request, and if they have an incoming friend request. The proper way to receive and accept friend request is by checking if the user has an incoming `Notification` of type `friendRequest`, and then accepting that notification. # noqa: E501 @@ -465,62 +324,135 @@ def get_friend_status( >>> thread = api.get_friend_status(user_id, async_req=True) >>> result = thread.get() - Args: - user_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - FriendStatus - If the method is called asynchronously, returns the request - thread. + :param user_id: (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: FriendStatus """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['user_id'] = \ - user_id - return self.get_friend_status_endpoint.call_with_http_info(**kwargs) - - def get_friends( - self, - **kwargs - ): + kwargs['_return_http_data_only'] = True + return self.get_friend_status_with_http_info(user_id, **kwargs) # noqa: E501 + + def get_friend_status_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Check Friend Status # noqa: E501 + + Retrieve if the user is currently a friend with a given user, if they have an outgoing friend request, and if they have an incoming friend request. The proper way to receive and accept friend request is by checking if the user has an incoming `Notification` of type `friendRequest`, and then accepting that notification. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_friend_status_with_http_info(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(FriendStatus, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_friend_status" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_friend_status`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "FriendStatus", + 401: "Error", + } + + return self.api_client.call_api( + '/user/{userId}/friendStatus', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_friends(self, **kwargs): # noqa: E501 """List Friends # noqa: E501 List information about friends. # noqa: E501 @@ -530,62 +462,152 @@ def get_friends( >>> thread = api.get_friends(async_req=True) >>> result = thread.get() + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param n: The number of objects to return. + :type n: int + :param offline: Returns *only* offline users if true, returns only online and active users if false + :type offline: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[LimitedUser] + """ + kwargs['_return_http_data_only'] = True + return self.get_friends_with_http_info(**kwargs) # noqa: E501 + + def get_friends_with_http_info(self, **kwargs): # noqa: E501 + """List Friends # noqa: E501 + + List information about friends. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_friends_with_http_info(async_req=True) + >>> result = thread.get() - Keyword Args: - offset (int): A zero-based offset from the default object sorting from where search results start.. [optional] - n (int): The number of objects to return.. [optional] if omitted the server will use the default value of 60 - offline (bool): Returns *only* offline users if true, returns only online and active users if false. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - [LimitedUser] - If the method is called asynchronously, returns the request - thread. + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param n: The number of objects to return. + :type n: int + :param offline: Returns *only* offline users if true, returns only online and active users if false + :type offline: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[LimitedUser], status_code(int), headers(HTTPHeaderDict)) """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.get_friends_endpoint.call_with_http_info(**kwargs) - - def unfriend( - self, - user_id, - **kwargs - ): + + local_var_params = locals() + + all_params = [ + 'offset', + 'n', + 'offline' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_friends" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_friends`, must be a value greater than or equal to `0`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_friends`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_friends`, must be a value greater than or equal to `1`") # noqa: E501 + collection_formats = {} + + path_params = {} + + query_params = [] + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('offline') is not None: # noqa: E501 + query_params.append(('offline', local_var_params['offline'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[LimitedUser]", + 401: "Error", + } + + return self.api_client.call_api( + '/auth/user/friends', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def unfriend(self, user_id, **kwargs): # noqa: E501 """Unfriend # noqa: E501 Unfriend a user by ID. # noqa: E501 @@ -595,55 +617,131 @@ def unfriend( >>> thread = api.unfriend(user_id, async_req=True) >>> result = thread.get() - Args: - user_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Success - If the method is called asynchronously, returns the request - thread. + :param user_id: (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Success + """ + kwargs['_return_http_data_only'] = True + return self.unfriend_with_http_info(user_id, **kwargs) # noqa: E501 + + def unfriend_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Unfriend # noqa: E501 + + Unfriend a user by ID. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.unfriend_with_http_info(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Success, status_code(int), headers(HTTPHeaderDict)) """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['user_id'] = \ - user_id - return self.unfriend_endpoint.call_with_http_info(**kwargs) + local_var_params = locals() + + all_params = [ + 'user_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method unfriend" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `unfriend`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "Success", + 400: "Error", + 401: "Error", + } + + return self.api_client.call_api( + '/auth/user/friends/{userId}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 4f1320d9..39e57642 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -1,3 +1,5 @@ +# coding: utf-8 + """ VRChat API Documentation @@ -8,23 +10,18 @@ """ +from __future__ import absolute_import + import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.api_client import ApiClient, Endpoint as _Endpoint -from vrchatapi.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types + +# python 2 and python 3 compatibility library +import six + +from vrchatapi.api_client import ApiClient +from vrchatapi.exceptions import ( # noqa: F401 + ApiTypeError, + ApiValueError ) -from vrchatapi.model.error import Error -from vrchatapi.model.instance import Instance -from vrchatapi.model.instance_short_name_response import InstanceShortNameResponse -from vrchatapi.model.success import Success class InstancesApi(object): @@ -38,240 +35,8 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client - self.get_instance_endpoint = _Endpoint( - settings={ - 'response_type': (Instance,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/instances/{worldId}:{instanceId}', - 'operation_id': 'get_instance', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'world_id', - 'instance_id', - ], - 'required': [ - 'world_id', - 'instance_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'world_id': - (str,), - 'instance_id': - (str,), - }, - 'attribute_map': { - 'world_id': 'worldId', - 'instance_id': 'instanceId', - }, - 'location_map': { - 'world_id': 'path', - 'instance_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_instance_by_short_name_endpoint = _Endpoint( - settings={ - 'response_type': (Instance,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/instances/s/{shortName}', - 'operation_id': 'get_instance_by_short_name', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'short_name', - ], - 'required': [ - 'short_name', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'short_name': - (str,), - }, - 'attribute_map': { - 'short_name': 'shortName', - }, - 'location_map': { - 'short_name': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_short_name_endpoint = _Endpoint( - settings={ - 'response_type': (InstanceShortNameResponse,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/instances/{worldId}:{instanceId}/shortName', - 'operation_id': 'get_short_name', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'world_id', - 'instance_id', - ], - 'required': [ - 'world_id', - 'instance_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'world_id': - (str,), - 'instance_id': - (str,), - }, - 'attribute_map': { - 'world_id': 'worldId', - 'instance_id': 'instanceId', - }, - 'location_map': { - 'world_id': 'path', - 'instance_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'text/plain', - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.send_self_invite_endpoint = _Endpoint( - settings={ - 'response_type': (Success,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/instances/{worldId}:{instanceId}/invite', - 'operation_id': 'send_self_invite', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'world_id', - 'instance_id', - ], - 'required': [ - 'world_id', - 'instance_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'world_id': - (str,), - 'instance_id': - (str,), - }, - 'attribute_map': { - 'world_id': 'worldId', - 'instance_id': 'instanceId', - }, - 'location_map': { - 'world_id': 'path', - 'instance_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - def get_instance( - self, - world_id, - instance_id, - **kwargs - ): + def get_instance(self, world_id, instance_id, **kwargs): # noqa: E501 """Get Instance # noqa: E501 Returns an instance. Please read [Instances Tutorial](https://vrchatapi.github.io/tutorials/instances/) for more information on Instances. If an invalid instanceId is provided, this endpoint will simply return \"null\"! # noqa: E501 @@ -281,66 +46,145 @@ def get_instance( >>> thread = api.get_instance(world_id, instance_id, async_req=True) >>> result = thread.get() - Args: - world_id (str): - instance_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Instance - If the method is called asynchronously, returns the request - thread. + :param world_id: (required) + :type world_id: str + :param instance_id: (required) + :type instance_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Instance """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True + kwargs['_return_http_data_only'] = True + return self.get_instance_with_http_info(world_id, instance_id, **kwargs) # noqa: E501 + + def get_instance_with_http_info(self, world_id, instance_id, **kwargs): # noqa: E501 + """Get Instance # noqa: E501 + + Returns an instance. Please read [Instances Tutorial](https://vrchatapi.github.io/tutorials/instances/) for more information on Instances. If an invalid instanceId is provided, this endpoint will simply return \"null\"! # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_instance_with_http_info(world_id, instance_id, async_req=True) + >>> result = thread.get() + + :param world_id: (required) + :type world_id: str + :param instance_id: (required) + :type instance_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Instance, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'world_id', + 'instance_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['world_id'] = \ - world_id - kwargs['instance_id'] = \ - instance_id - return self.get_instance_endpoint.call_with_http_info(**kwargs) - - def get_instance_by_short_name( - self, - short_name, - **kwargs - ): + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_instance" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'world_id' is set + if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `world_id` when calling `get_instance`") # noqa: E501 + # verify the required parameter 'instance_id' is set + if self.api_client.client_side_validation and local_var_params.get('instance_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `instance_id` when calling `get_instance`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'world_id' in local_var_params: + path_params['worldId'] = local_var_params['world_id'] # noqa: E501 + if 'instance_id' in local_var_params: + path_params['instanceId'] = local_var_params['instance_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "Instance", + 401: "Error", + } + + return self.api_client.call_api( + '/instances/{worldId}:{instanceId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_instance_by_short_name(self, short_name, **kwargs): # noqa: E501 """Get Instance By Short Name # noqa: E501 Returns an instance. Please read [Instances Tutorial](https://vrchatapi.github.io/tutorials/instances/) for more information on Instances. # noqa: E501 @@ -350,64 +194,136 @@ def get_instance_by_short_name( >>> thread = api.get_instance_by_short_name(short_name, async_req=True) >>> result = thread.get() - Args: - short_name (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Instance - If the method is called asynchronously, returns the request - thread. + :param short_name: (required) + :type short_name: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Instance """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True + kwargs['_return_http_data_only'] = True + return self.get_instance_by_short_name_with_http_info(short_name, **kwargs) # noqa: E501 + + def get_instance_by_short_name_with_http_info(self, short_name, **kwargs): # noqa: E501 + """Get Instance By Short Name # noqa: E501 + + Returns an instance. Please read [Instances Tutorial](https://vrchatapi.github.io/tutorials/instances/) for more information on Instances. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_instance_by_short_name_with_http_info(short_name, async_req=True) + >>> result = thread.get() + + :param short_name: (required) + :type short_name: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Instance, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'short_name' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['short_name'] = \ - short_name - return self.get_instance_by_short_name_endpoint.call_with_http_info(**kwargs) - - def get_short_name( - self, - world_id, - instance_id, - **kwargs - ): + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_instance_by_short_name" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'short_name' is set + if self.api_client.client_side_validation and local_var_params.get('short_name') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `short_name` when calling `get_instance_by_short_name`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'short_name' in local_var_params: + path_params['shortName'] = local_var_params['short_name'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "Instance", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/instances/s/{shortName}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_short_name(self, world_id, instance_id, **kwargs): # noqa: E501 """Get Instance Short Name # noqa: E501 Returns an instance short name. # noqa: E501 @@ -417,67 +333,145 @@ def get_short_name( >>> thread = api.get_short_name(world_id, instance_id, async_req=True) >>> result = thread.get() - Args: - world_id (str): - instance_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - InstanceShortNameResponse - If the method is called asynchronously, returns the request - thread. + :param world_id: (required) + :type world_id: str + :param instance_id: (required) + :type instance_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: InstanceShortNameResponse """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True + kwargs['_return_http_data_only'] = True + return self.get_short_name_with_http_info(world_id, instance_id, **kwargs) # noqa: E501 + + def get_short_name_with_http_info(self, world_id, instance_id, **kwargs): # noqa: E501 + """Get Instance Short Name # noqa: E501 + + Returns an instance short name. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_short_name_with_http_info(world_id, instance_id, async_req=True) + >>> result = thread.get() + + :param world_id: (required) + :type world_id: str + :param instance_id: (required) + :type instance_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(InstanceShortNameResponse, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'world_id', + 'instance_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['world_id'] = \ - world_id - kwargs['instance_id'] = \ - instance_id - return self.get_short_name_endpoint.call_with_http_info(**kwargs) - - def send_self_invite( - self, - world_id, - instance_id, - **kwargs - ): + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_short_name" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'world_id' is set + if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `world_id` when calling `get_short_name`") # noqa: E501 + # verify the required parameter 'instance_id' is set + if self.api_client.client_side_validation and local_var_params.get('instance_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `instance_id` when calling `get_short_name`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'world_id' in local_var_params: + path_params['worldId'] = local_var_params['world_id'] # noqa: E501 + if 'instance_id' in local_var_params: + path_params['instanceId'] = local_var_params['instance_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['text/plain', 'application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "InstanceShortNameResponse", + 401: "Error", + } + + return self.api_client.call_api( + '/instances/{worldId}:{instanceId}/shortName', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def send_self_invite(self, world_id, instance_id, **kwargs): # noqa: E501 """Send Self Invite # noqa: E501 Sends an invite to the instance to yourself. # noqa: E501 @@ -487,58 +481,140 @@ def send_self_invite( >>> thread = api.send_self_invite(world_id, instance_id, async_req=True) >>> result = thread.get() - Args: - world_id (str): - instance_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Success - If the method is called asynchronously, returns the request - thread. + :param world_id: (required) + :type world_id: str + :param instance_id: (required) + :type instance_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Success """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True + kwargs['_return_http_data_only'] = True + return self.send_self_invite_with_http_info(world_id, instance_id, **kwargs) # noqa: E501 + + def send_self_invite_with_http_info(self, world_id, instance_id, **kwargs): # noqa: E501 + """Send Self Invite # noqa: E501 + + Sends an invite to the instance to yourself. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.send_self_invite_with_http_info(world_id, instance_id, async_req=True) + >>> result = thread.get() + + :param world_id: (required) + :type world_id: str + :param instance_id: (required) + :type instance_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Success, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'world_id', + 'instance_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['world_id'] = \ - world_id - kwargs['instance_id'] = \ - instance_id - return self.send_self_invite_endpoint.call_with_http_info(**kwargs) + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method send_self_invite" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'world_id' is set + if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `world_id` when calling `send_self_invite`") # noqa: E501 + # verify the required parameter 'instance_id' is set + if self.api_client.client_side_validation and local_var_params.get('instance_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `instance_id` when calling `send_self_invite`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'world_id' in local_var_params: + path_params['worldId'] = local_var_params['world_id'] # noqa: E501 + if 'instance_id' in local_var_params: + path_params['instanceId'] = local_var_params['instance_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "Success", + 401: "Error", + } + + return self.api_client.call_api( + '/instances/{worldId}:{instanceId}/invite', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index 465177e3..4409b114 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -1,3 +1,5 @@ +# coding: utf-8 + """ VRChat API Documentation @@ -8,27 +10,18 @@ """ +from __future__ import absolute_import + import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.api_client import ApiClient, Endpoint as _Endpoint -from vrchatapi.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types + +# python 2 and python 3 compatibility library +import six + +from vrchatapi.api_client import ApiClient +from vrchatapi.exceptions import ( # noqa: F401 + ApiTypeError, + ApiValueError ) -from vrchatapi.model.error import Error -from vrchatapi.model.invite_message import InviteMessage -from vrchatapi.model.invite_request import InviteRequest -from vrchatapi.model.invite_response import InviteResponse -from vrchatapi.model.notification import Notification -from vrchatapi.model.request_invite_request import RequestInviteRequest -from vrchatapi.model.sent_notification import SentNotification -from vrchatapi.model.update_invite_message_request import UpdateInviteMessageRequest class InviteApi(object): @@ -42,552 +35,8 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client - self.get_invite_message_endpoint = _Endpoint( - settings={ - 'response_type': (InviteMessage,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/message/{userId}/{messageType}/{slot}', - 'operation_id': 'get_invite_message', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'user_id', - 'message_type', - 'slot', - ], - 'required': [ - 'user_id', - 'message_type', - 'slot', - ], - 'nullable': [ - ], - 'enum': [ - 'message_type', - ], - 'validation': [ - 'slot', - ] - }, - root_map={ - 'validations': { - ('slot',): { - - 'inclusive_maximum': 11, - 'inclusive_minimum': 0, - }, - }, - 'allowed_values': { - ('message_type',): { - - "MESSAGE": "message", - "RESPONSE": "response", - "REQUEST": "request", - "REQUESTRESPONSE": "requestResponse" - }, - }, - 'openapi_types': { - 'user_id': - (str,), - 'message_type': - (str,), - 'slot': - (int,), - }, - 'attribute_map': { - 'user_id': 'userId', - 'message_type': 'messageType', - 'slot': 'slot', - }, - 'location_map': { - 'user_id': 'path', - 'message_type': 'path', - 'slot': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_invite_messages_endpoint = _Endpoint( - settings={ - 'response_type': ([InviteMessage],), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/message/{userId}/{messageType}', - 'operation_id': 'get_invite_messages', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'user_id', - 'message_type', - ], - 'required': [ - 'user_id', - 'message_type', - ], - 'nullable': [ - ], - 'enum': [ - 'message_type', - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - ('message_type',): { - - "MESSAGE": "message", - "RESPONSE": "response", - "REQUEST": "request", - "REQUESTRESPONSE": "requestResponse" - }, - }, - 'openapi_types': { - 'user_id': - (str,), - 'message_type': - (str,), - }, - 'attribute_map': { - 'user_id': 'userId', - 'message_type': 'messageType', - }, - 'location_map': { - 'user_id': 'path', - 'message_type': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.invite_myself_to_endpoint = _Endpoint( - settings={ - 'response_type': (SentNotification,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/invite/myself/to/{worldId}:{instanceId}', - 'operation_id': 'invite_myself_to', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'world_id', - 'instance_id', - ], - 'required': [ - 'world_id', - 'instance_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'world_id': - (str,), - 'instance_id': - (str,), - }, - 'attribute_map': { - 'world_id': 'worldId', - 'instance_id': 'instanceId', - }, - 'location_map': { - 'world_id': 'path', - 'instance_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.invite_user_endpoint = _Endpoint( - settings={ - 'response_type': (SentNotification,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/invite/{userId}', - 'operation_id': 'invite_user', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'user_id', - 'invite_request', - ], - 'required': [ - 'user_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'user_id': - (str,), - 'invite_request': - (InviteRequest,), - }, - 'attribute_map': { - 'user_id': 'userId', - }, - 'location_map': { - 'user_id': 'path', - 'invite_request': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.request_invite_endpoint = _Endpoint( - settings={ - 'response_type': (Notification,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/requestInvite/{userId}', - 'operation_id': 'request_invite', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'user_id', - 'request_invite_request', - ], - 'required': [ - 'user_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'user_id': - (str,), - 'request_invite_request': - (RequestInviteRequest,), - }, - 'attribute_map': { - 'user_id': 'userId', - }, - 'location_map': { - 'user_id': 'path', - 'request_invite_request': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.reset_invite_message_endpoint = _Endpoint( - settings={ - 'response_type': ([InviteMessage],), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/message/{userId}/{messageType}/{slot}', - 'operation_id': 'reset_invite_message', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'user_id', - 'message_type', - 'slot', - ], - 'required': [ - 'user_id', - 'message_type', - 'slot', - ], - 'nullable': [ - ], - 'enum': [ - 'message_type', - ], - 'validation': [ - 'slot', - ] - }, - root_map={ - 'validations': { - ('slot',): { - - 'inclusive_maximum': 11, - 'inclusive_minimum': 0, - }, - }, - 'allowed_values': { - ('message_type',): { - - "MESSAGE": "message", - "RESPONSE": "response", - "REQUEST": "request", - "REQUESTRESPONSE": "requestResponse" - }, - }, - 'openapi_types': { - 'user_id': - (str,), - 'message_type': - (str,), - 'slot': - (int,), - }, - 'attribute_map': { - 'user_id': 'userId', - 'message_type': 'messageType', - 'slot': 'slot', - }, - 'location_map': { - 'user_id': 'path', - 'message_type': 'path', - 'slot': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.respond_invite_endpoint = _Endpoint( - settings={ - 'response_type': (Notification,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/invite/{notificationId}/response', - 'operation_id': 'respond_invite', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'notification_id', - 'invite_response', - ], - 'required': [ - 'notification_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'notification_id': - (str,), - 'invite_response': - (InviteResponse,), - }, - 'attribute_map': { - 'notification_id': 'notificationId', - }, - 'location_map': { - 'notification_id': 'path', - 'invite_response': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.update_invite_message_endpoint = _Endpoint( - settings={ - 'response_type': ([InviteMessage],), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/message/{userId}/{messageType}/{slot}', - 'operation_id': 'update_invite_message', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'user_id', - 'message_type', - 'slot', - 'update_invite_message_request', - ], - 'required': [ - 'user_id', - 'message_type', - 'slot', - ], - 'nullable': [ - ], - 'enum': [ - 'message_type', - ], - 'validation': [ - 'slot', - ] - }, - root_map={ - 'validations': { - ('slot',): { - - 'inclusive_maximum': 11, - 'inclusive_minimum': 0, - }, - }, - 'allowed_values': { - ('message_type',): { - - "MESSAGE": "message", - "RESPONSE": "response", - "REQUEST": "request", - "REQUESTRESPONSE": "requestResponse" - }, - }, - 'openapi_types': { - 'user_id': - (str,), - 'message_type': - (str,), - 'slot': - (int,), - 'update_invite_message_request': - (UpdateInviteMessageRequest,), - }, - 'attribute_map': { - 'user_id': 'userId', - 'message_type': 'messageType', - 'slot': 'slot', - }, - 'location_map': { - 'user_id': 'path', - 'message_type': 'path', - 'slot': 'path', - 'update_invite_message_request': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - def get_invite_message( - self, - user_id, - message_type, - slot, - **kwargs - ): + def get_invite_message(self, user_id, message_type, slot, **kwargs): # noqa: E501 """Get Invite Message # noqa: E501 Returns a single Invite Message. This returns the exact same information but less than `getInviteMessages`. Admin Credentials are required to view messages of other users! Message type refers to a different collection of messages, used during different types of responses. * `message` = Message during a normal invite * `response` = Message when replying to a message * `request` = Message when requesting an invite * `requestResponse` = Message when replying to a request for invite # noqa: E501 @@ -597,70 +46,161 @@ def get_invite_message( >>> thread = api.get_invite_message(user_id, message_type, slot, async_req=True) >>> result = thread.get() - Args: - user_id (str): - message_type (str): - slot (int): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - InviteMessage - If the method is called asynchronously, returns the request - thread. + :param user_id: (required) + :type user_id: str + :param message_type: (required) + :type message_type: str + :param slot: (required) + :type slot: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: InviteMessage """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True + kwargs['_return_http_data_only'] = True + return self.get_invite_message_with_http_info(user_id, message_type, slot, **kwargs) # noqa: E501 + + def get_invite_message_with_http_info(self, user_id, message_type, slot, **kwargs): # noqa: E501 + """Get Invite Message # noqa: E501 + + Returns a single Invite Message. This returns the exact same information but less than `getInviteMessages`. Admin Credentials are required to view messages of other users! Message type refers to a different collection of messages, used during different types of responses. * `message` = Message during a normal invite * `response` = Message when replying to a message * `request` = Message when requesting an invite * `requestResponse` = Message when replying to a request for invite # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_invite_message_with_http_info(user_id, message_type, slot, async_req=True) + >>> result = thread.get() + + :param user_id: (required) + :type user_id: str + :param message_type: (required) + :type message_type: str + :param slot: (required) + :type slot: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(InviteMessage, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_id', + 'message_type', + 'slot' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['user_id'] = \ - user_id - kwargs['message_type'] = \ - message_type - kwargs['slot'] = \ - slot - return self.get_invite_message_endpoint.call_with_http_info(**kwargs) - - def get_invite_messages( - self, - user_id, - message_type, - **kwargs - ): + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_invite_message" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_invite_message`") # noqa: E501 + # verify the required parameter 'message_type' is set + if self.api_client.client_side_validation and local_var_params.get('message_type') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `message_type` when calling `get_invite_message`") # noqa: E501 + # verify the required parameter 'slot' is set + if self.api_client.client_side_validation and local_var_params.get('slot') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `slot` when calling `get_invite_message`") # noqa: E501 + + if self.api_client.client_side_validation and 'slot' in local_var_params and local_var_params['slot'] > 11: # noqa: E501 + raise ApiValueError("Invalid value for parameter `slot` when calling `get_invite_message`, must be a value less than or equal to `11`") # noqa: E501 + if self.api_client.client_side_validation and 'slot' in local_var_params and local_var_params['slot'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `slot` when calling `get_invite_message`, must be a value greater than or equal to `0`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + if 'message_type' in local_var_params: + path_params['messageType'] = local_var_params['message_type'] # noqa: E501 + if 'slot' in local_var_params: + path_params['slot'] = local_var_params['slot'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "InviteMessage", + 400: "Error", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/message/{userId}/{messageType}/{slot}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_invite_messages(self, user_id, message_type, **kwargs): # noqa: E501 """List Invite Messages # noqa: E501 Returns a list of all the users Invite Messages. Admin Credentials are required to view messages of other users! Message type refers to a different collection of messages, used during different types of responses. * `message` = Message during a normal invite * `response` = Message when replying to a message * `request` = Message when requesting an invite * `requestResponse` = Message when replying to a request for invite # noqa: E501 @@ -670,67 +210,146 @@ def get_invite_messages( >>> thread = api.get_invite_messages(user_id, message_type, async_req=True) >>> result = thread.get() - Args: - user_id (str): - message_type (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - [InviteMessage] - If the method is called asynchronously, returns the request - thread. + :param user_id: (required) + :type user_id: str + :param message_type: (required) + :type message_type: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[InviteMessage] """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True + kwargs['_return_http_data_only'] = True + return self.get_invite_messages_with_http_info(user_id, message_type, **kwargs) # noqa: E501 + + def get_invite_messages_with_http_info(self, user_id, message_type, **kwargs): # noqa: E501 + """List Invite Messages # noqa: E501 + + Returns a list of all the users Invite Messages. Admin Credentials are required to view messages of other users! Message type refers to a different collection of messages, used during different types of responses. * `message` = Message during a normal invite * `response` = Message when replying to a message * `request` = Message when requesting an invite * `requestResponse` = Message when replying to a request for invite # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_invite_messages_with_http_info(user_id, message_type, async_req=True) + >>> result = thread.get() + + :param user_id: (required) + :type user_id: str + :param message_type: (required) + :type message_type: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[InviteMessage], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_id', + 'message_type' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['user_id'] = \ - user_id - kwargs['message_type'] = \ - message_type - return self.get_invite_messages_endpoint.call_with_http_info(**kwargs) - - def invite_myself_to( - self, - world_id, - instance_id, - **kwargs - ): + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_invite_messages" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_invite_messages`") # noqa: E501 + # verify the required parameter 'message_type' is set + if self.api_client.client_side_validation and local_var_params.get('message_type') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `message_type` when calling `get_invite_messages`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + if 'message_type' in local_var_params: + path_params['messageType'] = local_var_params['message_type'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[InviteMessage]", + 400: "Error", + 401: "Error", + } + + return self.api_client.call_api( + '/message/{userId}/{messageType}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def invite_myself_to(self, world_id, instance_id, **kwargs): # noqa: E501 """Invite Myself To Instance # noqa: E501 Sends self an invite to an instance # noqa: E501 @@ -740,66 +359,146 @@ def invite_myself_to( >>> thread = api.invite_myself_to(world_id, instance_id, async_req=True) >>> result = thread.get() - Args: - world_id (str): - instance_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - SentNotification - If the method is called asynchronously, returns the request - thread. + :param world_id: (required) + :type world_id: str + :param instance_id: (required) + :type instance_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: SentNotification """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True + kwargs['_return_http_data_only'] = True + return self.invite_myself_to_with_http_info(world_id, instance_id, **kwargs) # noqa: E501 + + def invite_myself_to_with_http_info(self, world_id, instance_id, **kwargs): # noqa: E501 + """Invite Myself To Instance # noqa: E501 + + Sends self an invite to an instance # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.invite_myself_to_with_http_info(world_id, instance_id, async_req=True) + >>> result = thread.get() + + :param world_id: (required) + :type world_id: str + :param instance_id: (required) + :type instance_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(SentNotification, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'world_id', + 'instance_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['world_id'] = \ - world_id - kwargs['instance_id'] = \ - instance_id - return self.invite_myself_to_endpoint.call_with_http_info(**kwargs) - - def invite_user( - self, - user_id, - **kwargs - ): + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method invite_myself_to" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'world_id' is set + if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `world_id` when calling `invite_myself_to`") # noqa: E501 + # verify the required parameter 'instance_id' is set + if self.api_client.client_side_validation and local_var_params.get('instance_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `instance_id` when calling `invite_myself_to`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'world_id' in local_var_params: + path_params['worldId'] = local_var_params['world_id'] # noqa: E501 + if 'instance_id' in local_var_params: + path_params['instanceId'] = local_var_params['instance_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "SentNotification", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/invite/myself/to/{worldId}:{instanceId}', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def invite_user(self, user_id, **kwargs): # noqa: E501 """Invite User # noqa: E501 Sends an invite to a user. Returns the Notification of type `invite` that was sent. # noqa: E501 @@ -809,64 +508,150 @@ def invite_user( >>> thread = api.invite_user(user_id, async_req=True) >>> result = thread.get() - Args: - user_id (str): - - Keyword Args: - invite_request (InviteRequest): Slot number of the Invite Message to use when inviting a user.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - SentNotification - If the method is called asynchronously, returns the request - thread. + :param user_id: (required) + :type user_id: str + :param invite_request: Slot number of the Invite Message to use when inviting a user. + :type invite_request: InviteRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: SentNotification """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True + kwargs['_return_http_data_only'] = True + return self.invite_user_with_http_info(user_id, **kwargs) # noqa: E501 + + def invite_user_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Invite User # noqa: E501 + + Sends an invite to a user. Returns the Notification of type `invite` that was sent. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.invite_user_with_http_info(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: (required) + :type user_id: str + :param invite_request: Slot number of the Invite Message to use when inviting a user. + :type invite_request: InviteRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(SentNotification, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_id', + 'invite_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['user_id'] = \ - user_id - return self.invite_user_endpoint.call_with_http_info(**kwargs) - - def request_invite( - self, - user_id, - **kwargs - ): + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method invite_user" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `invite_user`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'invite_request' in local_var_params: + body_params = local_var_params['invite_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "SentNotification", + 403: "Error", + } + + return self.api_client.call_api( + '/invite/{userId}', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def request_invite(self, user_id, **kwargs): # noqa: E501 """Request Invite # noqa: E501 Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent. # noqa: E501 @@ -876,66 +661,150 @@ def request_invite( >>> thread = api.request_invite(user_id, async_req=True) >>> result = thread.get() - Args: - user_id (str): - - Keyword Args: - request_invite_request (RequestInviteRequest): Slot number of the Request Message to use when request an invite.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Notification - If the method is called asynchronously, returns the request - thread. + :param user_id: (required) + :type user_id: str + :param request_invite_request: Slot number of the Request Message to use when request an invite. + :type request_invite_request: RequestInviteRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Notification """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True + kwargs['_return_http_data_only'] = True + return self.request_invite_with_http_info(user_id, **kwargs) # noqa: E501 + + def request_invite_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Request Invite # noqa: E501 + + Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.request_invite_with_http_info(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: (required) + :type user_id: str + :param request_invite_request: Slot number of the Request Message to use when request an invite. + :type request_invite_request: RequestInviteRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Notification, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_id', + 'request_invite_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['user_id'] = \ - user_id - return self.request_invite_endpoint.call_with_http_info(**kwargs) - - def reset_invite_message( - self, - user_id, - message_type, - slot, - **kwargs - ): + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method request_invite" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `request_invite`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'request_invite_request' in local_var_params: + body_params = local_var_params['request_invite_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "Notification", + 403: "Error", + } + + return self.api_client.call_api( + '/requestInvite/{userId}', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def reset_invite_message(self, user_id, message_type, slot, **kwargs): # noqa: E501 """Reset Invite Message # noqa: E501 Resets a single Invite Message back to its original message, and then returns a list of all of them. Admin Credentials are required to update messages of other users! Resetting a message respects the rate-limit, so it is not possible to reset within the 60 minutes countdown. Resetting it does however not set the rate-limit to 60 like when editing it. It is possible to edit it right after resetting it. Trying to edit a message before the cooldown timer expires results in a 429 \"Too Fast Error\". Message type refers to a different collection of messages, used during different types of responses. * `message` = Message during a normal invite * `response` = Message when replying to a message * `request` = Message when requesting an invite * `requestResponse` = Message when replying to a request for invite The DELETE endpoint does not have/require any request body. # noqa: E501 @@ -945,69 +814,162 @@ def reset_invite_message( >>> thread = api.reset_invite_message(user_id, message_type, slot, async_req=True) >>> result = thread.get() - Args: - user_id (str): - message_type (str): - slot (int): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - [InviteMessage] - If the method is called asynchronously, returns the request - thread. + :param user_id: (required) + :type user_id: str + :param message_type: (required) + :type message_type: str + :param slot: (required) + :type slot: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[InviteMessage] """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True + kwargs['_return_http_data_only'] = True + return self.reset_invite_message_with_http_info(user_id, message_type, slot, **kwargs) # noqa: E501 + + def reset_invite_message_with_http_info(self, user_id, message_type, slot, **kwargs): # noqa: E501 + """Reset Invite Message # noqa: E501 + + Resets a single Invite Message back to its original message, and then returns a list of all of them. Admin Credentials are required to update messages of other users! Resetting a message respects the rate-limit, so it is not possible to reset within the 60 minutes countdown. Resetting it does however not set the rate-limit to 60 like when editing it. It is possible to edit it right after resetting it. Trying to edit a message before the cooldown timer expires results in a 429 \"Too Fast Error\". Message type refers to a different collection of messages, used during different types of responses. * `message` = Message during a normal invite * `response` = Message when replying to a message * `request` = Message when requesting an invite * `requestResponse` = Message when replying to a request for invite The DELETE endpoint does not have/require any request body. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.reset_invite_message_with_http_info(user_id, message_type, slot, async_req=True) + >>> result = thread.get() + + :param user_id: (required) + :type user_id: str + :param message_type: (required) + :type message_type: str + :param slot: (required) + :type slot: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[InviteMessage], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_id', + 'message_type', + 'slot' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['user_id'] = \ - user_id - kwargs['message_type'] = \ - message_type - kwargs['slot'] = \ - slot - return self.reset_invite_message_endpoint.call_with_http_info(**kwargs) - - def respond_invite( - self, - notification_id, - **kwargs - ): + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method reset_invite_message" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `reset_invite_message`") # noqa: E501 + # verify the required parameter 'message_type' is set + if self.api_client.client_side_validation and local_var_params.get('message_type') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `message_type` when calling `reset_invite_message`") # noqa: E501 + # verify the required parameter 'slot' is set + if self.api_client.client_side_validation and local_var_params.get('slot') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `slot` when calling `reset_invite_message`") # noqa: E501 + + if self.api_client.client_side_validation and 'slot' in local_var_params and local_var_params['slot'] > 11: # noqa: E501 + raise ApiValueError("Invalid value for parameter `slot` when calling `reset_invite_message`, must be a value less than or equal to `11`") # noqa: E501 + if self.api_client.client_side_validation and 'slot' in local_var_params and local_var_params['slot'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `slot` when calling `reset_invite_message`, must be a value greater than or equal to `0`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + if 'message_type' in local_var_params: + path_params['messageType'] = local_var_params['message_type'] # noqa: E501 + if 'slot' in local_var_params: + path_params['slot'] = local_var_params['slot'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[InviteMessage]", + 400: "Error", + 401: "Error", + 404: "Error", + 429: "Error", + } + + return self.api_client.call_api( + '/message/{userId}/{messageType}/{slot}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def respond_invite(self, notification_id, **kwargs): # noqa: E501 """Respond Invite # noqa: E501 Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification. # noqa: E501 @@ -1017,66 +979,150 @@ def respond_invite( >>> thread = api.respond_invite(notification_id, async_req=True) >>> result = thread.get() - Args: - notification_id (str): - - Keyword Args: - invite_response (InviteResponse): Slot number of the Response Message to use when responding to a user.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Notification - If the method is called asynchronously, returns the request - thread. + :param notification_id: (required) + :type notification_id: str + :param invite_response: Slot number of the Response Message to use when responding to a user. + :type invite_response: InviteResponse + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Notification """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True + kwargs['_return_http_data_only'] = True + return self.respond_invite_with_http_info(notification_id, **kwargs) # noqa: E501 + + def respond_invite_with_http_info(self, notification_id, **kwargs): # noqa: E501 + """Respond Invite # noqa: E501 + + Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.respond_invite_with_http_info(notification_id, async_req=True) + >>> result = thread.get() + + :param notification_id: (required) + :type notification_id: str + :param invite_response: Slot number of the Response Message to use when responding to a user. + :type invite_response: InviteResponse + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Notification, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'notification_id', + 'invite_response' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['notification_id'] = \ - notification_id - return self.respond_invite_endpoint.call_with_http_info(**kwargs) - - def update_invite_message( - self, - user_id, - message_type, - slot, - **kwargs - ): + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method respond_invite" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'notification_id' is set + if self.api_client.client_side_validation and local_var_params.get('notification_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `notification_id` when calling `respond_invite`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'notification_id' in local_var_params: + path_params['notificationId'] = local_var_params['notification_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'invite_response' in local_var_params: + body_params = local_var_params['invite_response'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "Notification", + 400: "Error", + } + + return self.api_client.call_api( + '/invite/{notificationId}/response', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def update_invite_message(self, user_id, message_type, slot, **kwargs): # noqa: E501 """Update Invite Message # noqa: E501 Updates a single Invite Message and then returns a list of all of them. Admin Credentials are required to update messages of other users! Updating a message automatically sets the cooldown timer to 60 minutes. Trying to edit a message before the cooldown timer expires results in a 429 \"Too Fast Error\". Message type refers to a different collection of messages, used during different types of responses. * `message` = Message during a normal invite * `response` = Message when replying to a message * `request` = Message when requesting an invite * `requestResponse` = Message when replying to a request for invite # noqa: E501 @@ -1086,62 +1132,171 @@ def update_invite_message( >>> thread = api.update_invite_message(user_id, message_type, slot, async_req=True) >>> result = thread.get() - Args: - user_id (str): - message_type (str): - slot (int): - - Keyword Args: - update_invite_message_request (UpdateInviteMessageRequest): Message of what to set the invite message to.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - [InviteMessage] - If the method is called asynchronously, returns the request - thread. + :param user_id: (required) + :type user_id: str + :param message_type: (required) + :type message_type: str + :param slot: (required) + :type slot: int + :param update_invite_message_request: Message of what to set the invite message to. + :type update_invite_message_request: UpdateInviteMessageRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[InviteMessage] """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True + kwargs['_return_http_data_only'] = True + return self.update_invite_message_with_http_info(user_id, message_type, slot, **kwargs) # noqa: E501 + + def update_invite_message_with_http_info(self, user_id, message_type, slot, **kwargs): # noqa: E501 + """Update Invite Message # noqa: E501 + + Updates a single Invite Message and then returns a list of all of them. Admin Credentials are required to update messages of other users! Updating a message automatically sets the cooldown timer to 60 minutes. Trying to edit a message before the cooldown timer expires results in a 429 \"Too Fast Error\". Message type refers to a different collection of messages, used during different types of responses. * `message` = Message during a normal invite * `response` = Message when replying to a message * `request` = Message when requesting an invite * `requestResponse` = Message when replying to a request for invite # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_invite_message_with_http_info(user_id, message_type, slot, async_req=True) + >>> result = thread.get() + + :param user_id: (required) + :type user_id: str + :param message_type: (required) + :type message_type: str + :param slot: (required) + :type slot: int + :param update_invite_message_request: Message of what to set the invite message to. + :type update_invite_message_request: UpdateInviteMessageRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[InviteMessage], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_id', + 'message_type', + 'slot', + 'update_invite_message_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['user_id'] = \ - user_id - kwargs['message_type'] = \ - message_type - kwargs['slot'] = \ - slot - return self.update_invite_message_endpoint.call_with_http_info(**kwargs) + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method update_invite_message" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `update_invite_message`") # noqa: E501 + # verify the required parameter 'message_type' is set + if self.api_client.client_side_validation and local_var_params.get('message_type') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `message_type` when calling `update_invite_message`") # noqa: E501 + # verify the required parameter 'slot' is set + if self.api_client.client_side_validation and local_var_params.get('slot') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `slot` when calling `update_invite_message`") # noqa: E501 + + if self.api_client.client_side_validation and 'slot' in local_var_params and local_var_params['slot'] > 11: # noqa: E501 + raise ApiValueError("Invalid value for parameter `slot` when calling `update_invite_message`, must be a value less than or equal to `11`") # noqa: E501 + if self.api_client.client_side_validation and 'slot' in local_var_params and local_var_params['slot'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `slot` when calling `update_invite_message`, must be a value greater than or equal to `0`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + if 'message_type' in local_var_params: + path_params['messageType'] = local_var_params['message_type'] # noqa: E501 + if 'slot' in local_var_params: + path_params['slot'] = local_var_params['slot'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'update_invite_message_request' in local_var_params: + body_params = local_var_params['update_invite_message_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'PUT', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[InviteMessage]", + 400: "Error", + 401: "Error", + 429: "Error", + } + + return self.api_client.call_api( + '/message/{userId}/{messageType}/{slot}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index a6f42d3b..e7269fe7 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -1,3 +1,5 @@ +# coding: utf-8 + """ VRChat API Documentation @@ -8,22 +10,18 @@ """ +from __future__ import absolute_import + import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.api_client import ApiClient, Endpoint as _Endpoint -from vrchatapi.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types + +# python 2 and python 3 compatibility library +import six + +from vrchatapi.api_client import ApiClient +from vrchatapi.exceptions import ( # noqa: F401 + ApiTypeError, + ApiValueError ) -from vrchatapi.model.error import Error -from vrchatapi.model.notification import Notification -from vrchatapi.model.success import Success class NotificationsApi(object): @@ -37,299 +35,8 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client - self.accept_friend_request_endpoint = _Endpoint( - settings={ - 'response_type': (Success,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/auth/user/notifications/{notificationId}/accept', - 'operation_id': 'accept_friend_request', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'notification_id', - ], - 'required': [ - 'notification_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'notification_id': - (str,), - }, - 'attribute_map': { - 'notification_id': 'notificationId', - }, - 'location_map': { - 'notification_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.clear_notifications_endpoint = _Endpoint( - settings={ - 'response_type': (Success,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/auth/user/notifications/clear', - 'operation_id': 'clear_notifications', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - }, - 'attribute_map': { - }, - 'location_map': { - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.delete_notification_endpoint = _Endpoint( - settings={ - 'response_type': (Notification,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/auth/user/notifications/{notificationId}/hide', - 'operation_id': 'delete_notification', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'notification_id', - ], - 'required': [ - 'notification_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'notification_id': - (str,), - }, - 'attribute_map': { - 'notification_id': 'notificationId', - }, - 'location_map': { - 'notification_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_notifications_endpoint = _Endpoint( - settings={ - 'response_type': ([Notification],), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/auth/user/notifications', - 'operation_id': 'get_notifications', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'type', - 'sent', - 'hidden', - 'after', - 'n', - 'offset', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'n', - 'offset', - ] - }, - root_map={ - 'validations': { - ('n',): { - - 'inclusive_maximum': 100, - 'inclusive_minimum': 1, - }, - ('offset',): { - - 'inclusive_minimum': 0, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'type': - (str,), - 'sent': - (bool,), - 'hidden': - (bool,), - 'after': - (str,), - 'n': - (int,), - 'offset': - (int,), - }, - 'attribute_map': { - 'type': 'type', - 'sent': 'sent', - 'hidden': 'hidden', - 'after': 'after', - 'n': 'n', - 'offset': 'offset', - }, - 'location_map': { - 'type': 'query', - 'sent': 'query', - 'hidden': 'query', - 'after': 'query', - 'n': 'query', - 'offset': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.mark_notification_as_read_endpoint = _Endpoint( - settings={ - 'response_type': (Notification,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/auth/user/notifications/{notificationId}/see', - 'operation_id': 'mark_notification_as_read', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'notification_id', - ], - 'required': [ - 'notification_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'notification_id': - (str,), - }, - 'attribute_map': { - 'notification_id': 'notificationId', - }, - 'location_map': { - 'notification_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - def accept_friend_request( - self, - notification_id, - **kwargs - ): + def accept_friend_request(self, notification_id, **kwargs): # noqa: E501 """Accept Friend Request # noqa: E501 Accept a friend request by notification `frq_` ID. Friend requests can be found using the NotificationsAPI `getNotifications` by filtering of type `friendRequest`. # noqa: E501 @@ -339,62 +46,136 @@ def accept_friend_request( >>> thread = api.accept_friend_request(notification_id, async_req=True) >>> result = thread.get() - Args: - notification_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Success - If the method is called asynchronously, returns the request - thread. + :param notification_id: (required) + :type notification_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Success """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['notification_id'] = \ - notification_id - return self.accept_friend_request_endpoint.call_with_http_info(**kwargs) - - def clear_notifications( - self, - **kwargs - ): + kwargs['_return_http_data_only'] = True + return self.accept_friend_request_with_http_info(notification_id, **kwargs) # noqa: E501 + + def accept_friend_request_with_http_info(self, notification_id, **kwargs): # noqa: E501 + """Accept Friend Request # noqa: E501 + + Accept a friend request by notification `frq_` ID. Friend requests can be found using the NotificationsAPI `getNotifications` by filtering of type `friendRequest`. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.accept_friend_request_with_http_info(notification_id, async_req=True) + >>> result = thread.get() + + :param notification_id: (required) + :type notification_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Success, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'notification_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method accept_friend_request" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'notification_id' is set + if self.api_client.client_side_validation and local_var_params.get('notification_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `notification_id` when calling `accept_friend_request`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'notification_id' in local_var_params: + path_params['notificationId'] = local_var_params['notification_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "Success", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/auth/user/notifications/{notificationId}/accept', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def clear_notifications(self, **kwargs): # noqa: E501 """Clear All Notifications # noqa: E501 Clear **all** notifications. # noqa: E501 @@ -404,59 +185,125 @@ def clear_notifications( >>> thread = api.clear_notifications(async_req=True) >>> result = thread.get() + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Success + """ + kwargs['_return_http_data_only'] = True + return self.clear_notifications_with_http_info(**kwargs) # noqa: E501 + + def clear_notifications_with_http_info(self, **kwargs): # noqa: E501 + """Clear All Notifications # noqa: E501 + + Clear **all** notifications. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.clear_notifications_with_http_info(async_req=True) + >>> result = thread.get() - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Success - If the method is called asynchronously, returns the request - thread. + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Success, status_code(int), headers(HTTPHeaderDict)) """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.clear_notifications_endpoint.call_with_http_info(**kwargs) - - def delete_notification( - self, - notification_id, - **kwargs - ): + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method clear_notifications" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "Success", + 401: "Error", + } + + return self.api_client.call_api( + '/auth/user/notifications/clear', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def delete_notification(self, notification_id, **kwargs): # noqa: E501 """Delete Notification # noqa: E501 Delete a notification. # noqa: E501 @@ -466,62 +313,135 @@ def delete_notification( >>> thread = api.delete_notification(notification_id, async_req=True) >>> result = thread.get() - Args: - notification_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Notification - If the method is called asynchronously, returns the request - thread. + :param notification_id: (required) + :type notification_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Notification """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['notification_id'] = \ - notification_id - return self.delete_notification_endpoint.call_with_http_info(**kwargs) - - def get_notifications( - self, - **kwargs - ): + kwargs['_return_http_data_only'] = True + return self.delete_notification_with_http_info(notification_id, **kwargs) # noqa: E501 + + def delete_notification_with_http_info(self, notification_id, **kwargs): # noqa: E501 + """Delete Notification # noqa: E501 + + Delete a notification. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_notification_with_http_info(notification_id, async_req=True) + >>> result = thread.get() + + :param notification_id: (required) + :type notification_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Notification, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'notification_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_notification" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'notification_id' is set + if self.api_client.client_side_validation and local_var_params.get('notification_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `notification_id` when calling `delete_notification`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'notification_id' in local_var_params: + path_params['notificationId'] = local_var_params['notification_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "Notification", + 401: "Error", + } + + return self.api_client.call_api( + '/auth/user/notifications/{notificationId}/hide', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_notifications(self, **kwargs): # noqa: E501 """List Notifications # noqa: E501 Retrieve all of the current user's notifications. # noqa: E501 @@ -531,65 +451,173 @@ def get_notifications( >>> thread = api.get_notifications(async_req=True) >>> result = thread.get() + :param type: Only send notifications of this type (can use `all` for all). This parameter no longer does anything, and is deprecated. + :type type: str + :param sent: Return notifications sent by the user. Must be false or omitted. + :type sent: bool + :param hidden: Whether to return hidden or non-hidden notifications. True only allowed on type `friendRequest`. + :type hidden: bool + :param after: Only return notifications sent after this Date. Ignored if type is `friendRequest`. + :type after: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[Notification] + """ + kwargs['_return_http_data_only'] = True + return self.get_notifications_with_http_info(**kwargs) # noqa: E501 + + def get_notifications_with_http_info(self, **kwargs): # noqa: E501 + """List Notifications # noqa: E501 - Keyword Args: - type (str): Only send notifications of this type (can use `all` for all). This parameter no longer does anything, and is deprecated.. [optional] - sent (bool): Return notifications sent by the user. Must be false or omitted.. [optional] - hidden (bool): Whether to return hidden or non-hidden notifications. True only allowed on type `friendRequest`.. [optional] - after (str): Only return notifications sent after this Date. Ignored if type is `friendRequest`.. [optional] - n (int): The number of objects to return.. [optional] if omitted the server will use the default value of 60 - offset (int): A zero-based offset from the default object sorting from where search results start.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - [Notification] - If the method is called asynchronously, returns the request - thread. + Retrieve all of the current user's notifications. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_notifications_with_http_info(async_req=True) + >>> result = thread.get() + + :param type: Only send notifications of this type (can use `all` for all). This parameter no longer does anything, and is deprecated. + :type type: str + :param sent: Return notifications sent by the user. Must be false or omitted. + :type sent: bool + :param hidden: Whether to return hidden or non-hidden notifications. True only allowed on type `friendRequest`. + :type hidden: bool + :param after: Only return notifications sent after this Date. Ignored if type is `friendRequest`. + :type after: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[Notification], status_code(int), headers(HTTPHeaderDict)) """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.get_notifications_endpoint.call_with_http_info(**kwargs) - - def mark_notification_as_read( - self, - notification_id, - **kwargs - ): + + local_var_params = locals() + + all_params = [ + 'type', + 'sent', + 'hidden', + 'after', + 'n', + 'offset' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_notifications" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_notifications`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_notifications`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_notifications`, must be a value greater than or equal to `0`") # noqa: E501 + collection_formats = {} + + path_params = {} + + query_params = [] + if local_var_params.get('type') is not None: # noqa: E501 + query_params.append(('type', local_var_params['type'])) # noqa: E501 + if local_var_params.get('sent') is not None: # noqa: E501 + query_params.append(('sent', local_var_params['sent'])) # noqa: E501 + if local_var_params.get('hidden') is not None: # noqa: E501 + query_params.append(('hidden', local_var_params['hidden'])) # noqa: E501 + if local_var_params.get('after') is not None: # noqa: E501 + query_params.append(('after', local_var_params['after'])) # noqa: E501 + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[Notification]", + 401: "Error", + } + + return self.api_client.call_api( + '/auth/user/notifications', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def mark_notification_as_read(self, notification_id, **kwargs): # noqa: E501 """Mark Notification As Read # noqa: E501 Mark a notification as seen. # noqa: E501 @@ -599,55 +627,130 @@ def mark_notification_as_read( >>> thread = api.mark_notification_as_read(notification_id, async_req=True) >>> result = thread.get() - Args: - notification_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Notification - If the method is called asynchronously, returns the request - thread. + :param notification_id: (required) + :type notification_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Notification + """ + kwargs['_return_http_data_only'] = True + return self.mark_notification_as_read_with_http_info(notification_id, **kwargs) # noqa: E501 + + def mark_notification_as_read_with_http_info(self, notification_id, **kwargs): # noqa: E501 + """Mark Notification As Read # noqa: E501 + + Mark a notification as seen. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.mark_notification_as_read_with_http_info(notification_id, async_req=True) + >>> result = thread.get() + + :param notification_id: (required) + :type notification_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Notification, status_code(int), headers(HTTPHeaderDict)) """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['notification_id'] = \ - notification_id - return self.mark_notification_as_read_endpoint.call_with_http_info(**kwargs) + local_var_params = locals() + + all_params = [ + 'notification_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method mark_notification_as_read" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'notification_id' is set + if self.api_client.client_side_validation and local_var_params.get('notification_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `notification_id` when calling `mark_notification_as_read`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'notification_id' in local_var_params: + path_params['notificationId'] = local_var_params['notification_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "Notification", + 401: "Error", + } + + return self.api_client.call_api( + '/auth/user/notifications/{notificationId}/see', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index 5619ad56..0c9b6d57 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -1,3 +1,5 @@ +# coding: utf-8 + """ VRChat API Documentation @@ -8,21 +10,18 @@ """ +from __future__ import absolute_import + import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.api_client import ApiClient, Endpoint as _Endpoint -from vrchatapi.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types + +# python 2 and python 3 compatibility library +import six + +from vrchatapi.api_client import ApiClient +from vrchatapi.exceptions import ( # noqa: F401 + ApiTypeError, + ApiValueError ) -from vrchatapi.model.error import Error -from vrchatapi.model.permission import Permission class PermissionsApi(object): @@ -36,108 +35,8 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client - self.get_assigned_permissions_endpoint = _Endpoint( - settings={ - 'response_type': ([Permission],), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/auth/permissions', - 'operation_id': 'get_assigned_permissions', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - }, - 'attribute_map': { - }, - 'location_map': { - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_permission_endpoint = _Endpoint( - settings={ - 'response_type': (Permission,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/permissions/{permissionId}', - 'operation_id': 'get_permission', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'permission_id', - ], - 'required': [ - 'permission_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'permission_id': - (str,), - }, - 'attribute_map': { - 'permission_id': 'permissionId', - }, - 'location_map': { - 'permission_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - def get_assigned_permissions( - self, - **kwargs - ): + def get_assigned_permissions(self, **kwargs): # noqa: E501 """Get Assigned Permissions # noqa: E501 Returns a list of all permissions currently granted by the user. Permissions are assigned e.g. by subscribing to VRC+. # noqa: E501 @@ -147,59 +46,125 @@ def get_assigned_permissions( >>> thread = api.get_assigned_permissions(async_req=True) >>> result = thread.get() + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[Permission] + """ + kwargs['_return_http_data_only'] = True + return self.get_assigned_permissions_with_http_info(**kwargs) # noqa: E501 + + def get_assigned_permissions_with_http_info(self, **kwargs): # noqa: E501 + """Get Assigned Permissions # noqa: E501 + + Returns a list of all permissions currently granted by the user. Permissions are assigned e.g. by subscribing to VRC+. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_assigned_permissions_with_http_info(async_req=True) + >>> result = thread.get() - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - [Permission] - If the method is called asynchronously, returns the request - thread. + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[Permission], status_code(int), headers(HTTPHeaderDict)) """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.get_assigned_permissions_endpoint.call_with_http_info(**kwargs) - - def get_permission( - self, - permission_id, - **kwargs - ): + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_assigned_permissions" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[Permission]", + 401: "Error", + } + + return self.api_client.call_api( + '/auth/permissions', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_permission(self, permission_id, **kwargs): # noqa: E501 """Get Permission # noqa: E501 Returns a single permission. This endpoint is pretty useless, as it returns the exact same information as `/auth/permissions`. # noqa: E501 @@ -209,55 +174,130 @@ def get_permission( >>> thread = api.get_permission(permission_id, async_req=True) >>> result = thread.get() - Args: - permission_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Permission - If the method is called asynchronously, returns the request - thread. + :param permission_id: (required) + :type permission_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Permission """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True + kwargs['_return_http_data_only'] = True + return self.get_permission_with_http_info(permission_id, **kwargs) # noqa: E501 + + def get_permission_with_http_info(self, permission_id, **kwargs): # noqa: E501 + """Get Permission # noqa: E501 + + Returns a single permission. This endpoint is pretty useless, as it returns the exact same information as `/auth/permissions`. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_permission_with_http_info(permission_id, async_req=True) + >>> result = thread.get() + + :param permission_id: (required) + :type permission_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Permission, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'permission_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['permission_id'] = \ - permission_id - return self.get_permission_endpoint.call_with_http_info(**kwargs) + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_permission" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'permission_id' is set + if self.api_client.client_side_validation and local_var_params.get('permission_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `permission_id` when calling `get_permission`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'permission_id' in local_var_params: + path_params['permissionId'] = local_var_params['permission_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "Permission", + 401: "Error", + } + + return self.api_client.call_api( + '/permissions/{permissionId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index 3e5436f3..399a6422 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -1,3 +1,5 @@ +# coding: utf-8 + """ VRChat API Documentation @@ -8,23 +10,18 @@ """ +from __future__ import absolute_import + import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.api_client import ApiClient, Endpoint as _Endpoint -from vrchatapi.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types + +# python 2 and python 3 compatibility library +import six + +from vrchatapi.api_client import ApiClient +from vrchatapi.exceptions import ( # noqa: F401 + ApiTypeError, + ApiValueError ) -from vrchatapi.model.error import Error -from vrchatapi.model.moderate_user_request import ModerateUserRequest -from vrchatapi.model.player_moderation import PlayerModeration -from vrchatapi.model.success import Success class PlayermoderationApi(object): @@ -38,317 +35,8 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client - self.clear_all_player_moderations_endpoint = _Endpoint( - settings={ - 'response_type': (Success,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/auth/user/playermoderations', - 'operation_id': 'clear_all_player_moderations', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - }, - 'attribute_map': { - }, - 'location_map': { - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.delete_player_moderation_endpoint = _Endpoint( - settings={ - 'response_type': (Success,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/auth/user/playermoderations/{playerModerationId}', - 'operation_id': 'delete_player_moderation', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'player_moderation_id', - ], - 'required': [ - 'player_moderation_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'player_moderation_id': - (str,), - }, - 'attribute_map': { - 'player_moderation_id': 'playerModerationId', - }, - 'location_map': { - 'player_moderation_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_player_moderation_endpoint = _Endpoint( - settings={ - 'response_type': (PlayerModeration,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/auth/user/playermoderations/{playerModerationId}', - 'operation_id': 'get_player_moderation', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'player_moderation_id', - ], - 'required': [ - 'player_moderation_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'player_moderation_id': - (str,), - }, - 'attribute_map': { - 'player_moderation_id': 'playerModerationId', - }, - 'location_map': { - 'player_moderation_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_player_moderations_endpoint = _Endpoint( - settings={ - 'response_type': ([PlayerModeration],), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/auth/user/playermoderations', - 'operation_id': 'get_player_moderations', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'type', - 'target_user_id', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'type': - (str,), - 'target_user_id': - (str,), - }, - 'attribute_map': { - 'type': 'type', - 'target_user_id': 'targetUserId', - }, - 'location_map': { - 'type': 'query', - 'target_user_id': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.moderate_user_endpoint = _Endpoint( - settings={ - 'response_type': (PlayerModeration,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/auth/user/playermoderations', - 'operation_id': 'moderate_user', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'moderate_user_request', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'moderate_user_request': - (ModerateUserRequest,), - }, - 'attribute_map': { - }, - 'location_map': { - 'moderate_user_request': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.unmoderate_user_endpoint = _Endpoint( - settings={ - 'response_type': (Success,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/auth/user/unplayermoderate', - 'operation_id': 'unmoderate_user', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'moderate_user_request', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'moderate_user_request': - (ModerateUserRequest,), - }, - 'attribute_map': { - }, - 'location_map': { - 'moderate_user_request': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - def clear_all_player_moderations( - self, - **kwargs - ): + def clear_all_player_moderations(self, **kwargs): # noqa: E501 """Clear All Player Moderations # noqa: E501 ⚠️ **This will delete every single player moderation you've ever made.** # noqa: E501 @@ -358,59 +46,125 @@ def clear_all_player_moderations( >>> thread = api.clear_all_player_moderations(async_req=True) >>> result = thread.get() + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Success + """ + kwargs['_return_http_data_only'] = True + return self.clear_all_player_moderations_with_http_info(**kwargs) # noqa: E501 - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Success - If the method is called asynchronously, returns the request - thread. + def clear_all_player_moderations_with_http_info(self, **kwargs): # noqa: E501 + """Clear All Player Moderations # noqa: E501 + + ⚠️ **This will delete every single player moderation you've ever made.** # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.clear_all_player_moderations_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Success, status_code(int), headers(HTTPHeaderDict)) """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.clear_all_player_moderations_endpoint.call_with_http_info(**kwargs) - - def delete_player_moderation( - self, - player_moderation_id, - **kwargs - ): + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method clear_all_player_moderations" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "Success", + 401: "Error", + } + + return self.api_client.call_api( + '/auth/user/playermoderations', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def delete_player_moderation(self, player_moderation_id, **kwargs): # noqa: E501 """Delete Player Moderation # noqa: E501 Deletes a specific player moderation based on it's `pmod_` ID. The website uses `unmoderateUser` instead. You can delete the same player moderation multiple times successfully. # noqa: E501 @@ -420,63 +174,136 @@ def delete_player_moderation( >>> thread = api.delete_player_moderation(player_moderation_id, async_req=True) >>> result = thread.get() - Args: - player_moderation_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Success - If the method is called asynchronously, returns the request - thread. + :param player_moderation_id: (required) + :type player_moderation_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Success """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['player_moderation_id'] = \ - player_moderation_id - return self.delete_player_moderation_endpoint.call_with_http_info(**kwargs) - - def get_player_moderation( - self, - player_moderation_id, - **kwargs - ): + kwargs['_return_http_data_only'] = True + return self.delete_player_moderation_with_http_info(player_moderation_id, **kwargs) # noqa: E501 + + def delete_player_moderation_with_http_info(self, player_moderation_id, **kwargs): # noqa: E501 + """Delete Player Moderation # noqa: E501 + + Deletes a specific player moderation based on it's `pmod_` ID. The website uses `unmoderateUser` instead. You can delete the same player moderation multiple times successfully. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_player_moderation_with_http_info(player_moderation_id, async_req=True) + >>> result = thread.get() + + :param player_moderation_id: (required) + :type player_moderation_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Success, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'player_moderation_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_player_moderation" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'player_moderation_id' is set + if self.api_client.client_side_validation and local_var_params.get('player_moderation_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `player_moderation_id` when calling `delete_player_moderation`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'player_moderation_id' in local_var_params: + path_params['playerModerationId'] = local_var_params['player_moderation_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "Success", + 401: "Error", + 403: "Error", + } + + return self.api_client.call_api( + '/auth/user/playermoderations/{playerModerationId}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_player_moderation(self, player_moderation_id, **kwargs): # noqa: E501 """Get Player Moderation # noqa: E501 Returns a single Player Moderation. This returns the exact same amount of information as the more generalised `getPlayerModerations`. # noqa: E501 @@ -486,62 +313,136 @@ def get_player_moderation( >>> thread = api.get_player_moderation(player_moderation_id, async_req=True) >>> result = thread.get() - Args: - player_moderation_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - PlayerModeration - If the method is called asynchronously, returns the request - thread. + :param player_moderation_id: (required) + :type player_moderation_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: PlayerModeration """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['player_moderation_id'] = \ - player_moderation_id - return self.get_player_moderation_endpoint.call_with_http_info(**kwargs) - - def get_player_moderations( - self, - **kwargs - ): + kwargs['_return_http_data_only'] = True + return self.get_player_moderation_with_http_info(player_moderation_id, **kwargs) # noqa: E501 + + def get_player_moderation_with_http_info(self, player_moderation_id, **kwargs): # noqa: E501 + """Get Player Moderation # noqa: E501 + + Returns a single Player Moderation. This returns the exact same amount of information as the more generalised `getPlayerModerations`. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_player_moderation_with_http_info(player_moderation_id, async_req=True) + >>> result = thread.get() + + :param player_moderation_id: (required) + :type player_moderation_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(PlayerModeration, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'player_moderation_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_player_moderation" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'player_moderation_id' is set + if self.api_client.client_side_validation and local_var_params.get('player_moderation_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `player_moderation_id` when calling `get_player_moderation`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'player_moderation_id' in local_var_params: + path_params['playerModerationId'] = local_var_params['player_moderation_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "PlayerModeration", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/auth/user/playermoderations/{playerModerationId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_player_moderations(self, **kwargs): # noqa: E501 """Search Player Moderations # noqa: E501 Returns a list of all player moderations made by **you**. This endpoint does not have pagination, and will return *all* results. Use query parameters to limit your query if needed. # noqa: E501 @@ -551,60 +452,139 @@ def get_player_moderations( >>> thread = api.get_player_moderations(async_req=True) >>> result = thread.get() + :param type: Must be one of PlayerModerationType, except unblock. Unblocking simply removes a block. + :type type: str + :param target_user_id: Must be valid UserID. + :type target_user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[PlayerModeration] + """ + kwargs['_return_http_data_only'] = True + return self.get_player_moderations_with_http_info(**kwargs) # noqa: E501 + + def get_player_moderations_with_http_info(self, **kwargs): # noqa: E501 + """Search Player Moderations # noqa: E501 + + Returns a list of all player moderations made by **you**. This endpoint does not have pagination, and will return *all* results. Use query parameters to limit your query if needed. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_player_moderations_with_http_info(async_req=True) + >>> result = thread.get() - Keyword Args: - type (str): Must be one of PlayerModerationType, except unblock. Unblocking simply removes a block.. [optional] - target_user_id (str): Must be valid UserID.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - [PlayerModeration] - If the method is called asynchronously, returns the request - thread. + :param type: Must be one of PlayerModerationType, except unblock. Unblocking simply removes a block. + :type type: str + :param target_user_id: Must be valid UserID. + :type target_user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[PlayerModeration], status_code(int), headers(HTTPHeaderDict)) """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.get_player_moderations_endpoint.call_with_http_info(**kwargs) - def moderate_user( - self, - **kwargs - ): + local_var_params = locals() + + all_params = [ + 'type', + 'target_user_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_player_moderations" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if local_var_params.get('type') is not None: # noqa: E501 + query_params.append(('type', local_var_params['type'])) # noqa: E501 + if local_var_params.get('target_user_id') is not None: # noqa: E501 + query_params.append(('targetUserId', local_var_params['target_user_id'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[PlayerModeration]", + 401: "Error", + } + + return self.api_client.call_api( + '/auth/user/playermoderations', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def moderate_user(self, **kwargs): # noqa: E501 """Moderate User # noqa: E501 Moderate a user, e.g. unmute them or show their avatar. Please see the [Player Moderation docs](https://vrchatapi.github.io/docs/api/#tag--playermoderation) on what playerModerations are, and how they differ from staff moderations. # noqa: E501 @@ -614,59 +594,140 @@ def moderate_user( >>> thread = api.moderate_user(async_req=True) >>> result = thread.get() + :param moderate_user_request: + :type moderate_user_request: ModerateUserRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: PlayerModeration + """ + kwargs['_return_http_data_only'] = True + return self.moderate_user_with_http_info(**kwargs) # noqa: E501 + + def moderate_user_with_http_info(self, **kwargs): # noqa: E501 + """Moderate User # noqa: E501 + + Moderate a user, e.g. unmute them or show their avatar. Please see the [Player Moderation docs](https://vrchatapi.github.io/docs/api/#tag--playermoderation) on what playerModerations are, and how they differ from staff moderations. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True - Keyword Args: - moderate_user_request (ModerateUserRequest): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - PlayerModeration - If the method is called asynchronously, returns the request - thread. + >>> thread = api.moderate_user_with_http_info(async_req=True) + >>> result = thread.get() + + :param moderate_user_request: + :type moderate_user_request: ModerateUserRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(PlayerModeration, status_code(int), headers(HTTPHeaderDict)) """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.moderate_user_endpoint.call_with_http_info(**kwargs) - def unmoderate_user( - self, - **kwargs - ): + local_var_params = locals() + + all_params = [ + 'moderate_user_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method moderate_user" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'moderate_user_request' in local_var_params: + body_params = local_var_params['moderate_user_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "PlayerModeration", + 401: "Error", + } + + return self.api_client.call_api( + '/auth/user/playermoderations', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def unmoderate_user(self, **kwargs): # noqa: E501 """Unmoderate User # noqa: E501 Removes a player moderation previously added through `moderateUser`. E.g if you previously have shown their avatar, but now want to reset it to default. # noqa: E501 @@ -676,52 +737,135 @@ def unmoderate_user( >>> thread = api.unmoderate_user(async_req=True) >>> result = thread.get() + :param moderate_user_request: + :type moderate_user_request: ModerateUserRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Success + """ + kwargs['_return_http_data_only'] = True + return self.unmoderate_user_with_http_info(**kwargs) # noqa: E501 + + def unmoderate_user_with_http_info(self, **kwargs): # noqa: E501 + """Unmoderate User # noqa: E501 + + Removes a player moderation previously added through `moderateUser`. E.g if you previously have shown their avatar, but now want to reset it to default. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.unmoderate_user_with_http_info(async_req=True) + >>> result = thread.get() - Keyword Args: - moderate_user_request (ModerateUserRequest): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Success - If the method is called asynchronously, returns the request - thread. + :param moderate_user_request: + :type moderate_user_request: ModerateUserRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Success, status_code(int), headers(HTTPHeaderDict)) """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.unmoderate_user_endpoint.call_with_http_info(**kwargs) + local_var_params = locals() + + all_params = [ + 'moderate_user_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method unmoderate_user" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'moderate_user_request' in local_var_params: + body_params = local_var_params['moderate_user_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'PUT', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "Success", + 401: "Error", + } + + return self.api_client.call_api( + '/auth/user/unplayermoderate', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index e07ae233..5897d19a 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -1,3 +1,5 @@ +# coding: utf-8 + """ VRChat API Documentation @@ -8,23 +10,18 @@ """ +from __future__ import absolute_import + import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.api_client import ApiClient, Endpoint as _Endpoint -from vrchatapi.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types + +# python 2 and python 3 compatibility library +import six + +from vrchatapi.api_client import ApiClient +from vrchatapi.exceptions import ( # noqa: F401 + ApiTypeError, + ApiValueError ) -from vrchatapi.model.api_config import APIConfig -from vrchatapi.model.api_health import APIHealth -from vrchatapi.model.error import Error -from vrchatapi.model.info_push import InfoPush class SystemApi(object): @@ -38,349 +35,8 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client - self.get_config_endpoint = _Endpoint( - settings={ - 'response_type': (APIConfig,), - 'auth': [], - 'endpoint_path': '/config', - 'operation_id': 'get_config', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - }, - 'attribute_map': { - }, - 'location_map': { - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_css_endpoint = _Endpoint( - settings={ - 'response_type': (str,), - 'auth': [], - 'endpoint_path': '/css/app.css', - 'operation_id': 'get_css', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'variant', - 'branch', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - 'variant', - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - ('variant',): { - - "PUBLIC": "public", - "INTERNAL": "internal" - }, - }, - 'openapi_types': { - 'variant': - (str,), - 'branch': - (str,), - }, - 'attribute_map': { - 'variant': 'variant', - 'branch': 'branch', - }, - 'location_map': { - 'variant': 'query', - 'branch': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'text/css', - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_current_online_users_endpoint = _Endpoint( - settings={ - 'response_type': (int,), - 'auth': [], - 'endpoint_path': '/visits', - 'operation_id': 'get_current_online_users', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - }, - 'attribute_map': { - }, - 'location_map': { - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_health_endpoint = _Endpoint( - settings={ - 'response_type': (APIHealth,), - 'auth': [], - 'endpoint_path': '/health', - 'operation_id': 'get_health', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - }, - 'attribute_map': { - }, - 'location_map': { - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_info_push_endpoint = _Endpoint( - settings={ - 'response_type': ([InfoPush],), - 'auth': [], - 'endpoint_path': '/infoPush', - 'operation_id': 'get_info_push', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'require', - 'include', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'require': - (str,), - 'include': - (str,), - }, - 'attribute_map': { - 'require': 'require', - 'include': 'include', - }, - 'location_map': { - 'require': 'query', - 'include': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_java_script_endpoint = _Endpoint( - settings={ - 'response_type': (str,), - 'auth': [], - 'endpoint_path': '/js/app.js', - 'operation_id': 'get_java_script', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'variant', - 'branch', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - 'variant', - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - ('variant',): { - - "PUBLIC": "public", - "INTERNAL": "internal" - }, - }, - 'openapi_types': { - 'variant': - (str,), - 'branch': - (str,), - }, - 'attribute_map': { - 'variant': 'variant', - 'branch': 'branch', - }, - 'location_map': { - 'variant': 'query', - 'branch': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/javascript', - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_system_time_endpoint = _Endpoint( - settings={ - 'response_type': (datetime,), - 'auth': [], - 'endpoint_path': '/time', - 'operation_id': 'get_system_time', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - }, - 'attribute_map': { - }, - 'location_map': { - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - def get_config( - self, - **kwargs - ): + def get_config(self, **kwargs): # noqa: E501 """Fetch API Config # noqa: E501 API config contains configuration that the clients needs to work properly. Currently the most important value here is `clientApiKey` which is used for all other API endpoints. # noqa: E501 @@ -390,58 +46,124 @@ def get_config( >>> thread = api.get_config(async_req=True) >>> result = thread.get() + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: APIConfig + """ + kwargs['_return_http_data_only'] = True + return self.get_config_with_http_info(**kwargs) # noqa: E501 - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - APIConfig - If the method is called asynchronously, returns the request - thread. + def get_config_with_http_info(self, **kwargs): # noqa: E501 + """Fetch API Config # noqa: E501 + + API config contains configuration that the clients needs to work properly. Currently the most important value here is `clientApiKey` which is used for all other API endpoints. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_config_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(APIConfig, status_code(int), headers(HTTPHeaderDict)) """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.get_config_endpoint.call_with_http_info(**kwargs) - def get_css( - self, - **kwargs - ): + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_config" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + response_types_map = { + 200: "APIConfig", + } + + return self.api_client.call_api( + '/config', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_css(self, **kwargs): # noqa: E501 """Download CSS # noqa: E501 Fetches the CSS code to the frontend React website. # noqa: E501 @@ -451,60 +173,139 @@ def get_css( >>> thread = api.get_css(async_req=True) >>> result = thread.get() + :param variant: Specifies which `variant` of the site. Public is the end-user site, while `internal` is the staff-only site with special pages for moderation and management. + :type variant: str + :param branch: Specifies which git branch the site should load frontend source code from. + :type branch: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: str + """ + kwargs['_return_http_data_only'] = True + return self.get_css_with_http_info(**kwargs) # noqa: E501 + + def get_css_with_http_info(self, **kwargs): # noqa: E501 + """Download CSS # noqa: E501 + + Fetches the CSS code to the frontend React website. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_css_with_http_info(async_req=True) + >>> result = thread.get() - Keyword Args: - variant (str): Specifies which `variant` of the site. Public is the end-user site, while `internal` is the staff-only site with special pages for moderation and management.. [optional] if omitted the server will use the default value of "public" - branch (str): Specifies which git branch the site should load frontend source code from.. [optional] if omitted the server will use the default value of "main" - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - str - If the method is called asynchronously, returns the request - thread. + :param variant: Specifies which `variant` of the site. Public is the end-user site, while `internal` is the staff-only site with special pages for moderation and management. + :type variant: str + :param branch: Specifies which git branch the site should load frontend source code from. + :type branch: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(str, status_code(int), headers(HTTPHeaderDict)) """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.get_css_endpoint.call_with_http_info(**kwargs) - def get_current_online_users( - self, - **kwargs - ): + local_var_params = locals() + + all_params = [ + 'variant', + 'branch' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_css" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if local_var_params.get('variant') is not None: # noqa: E501 + query_params.append(('variant', local_var_params['variant'])) # noqa: E501 + if local_var_params.get('branch') is not None: # noqa: E501 + query_params.append(('branch', local_var_params['branch'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['text/css', 'application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + response_types_map = { + 200: "str", + 400: "Error", + } + + return self.api_client.call_api( + '/css/app.css', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_current_online_users(self, **kwargs): # noqa: E501 """Current Online Users # noqa: E501 Returns the current number of online users. **NOTE:** The response type is not a JSON object, but a simple JSON integer. # noqa: E501 @@ -514,58 +315,124 @@ def get_current_online_users( >>> thread = api.get_current_online_users(async_req=True) >>> result = thread.get() + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: int + """ + kwargs['_return_http_data_only'] = True + return self.get_current_online_users_with_http_info(**kwargs) # noqa: E501 + + def get_current_online_users_with_http_info(self, **kwargs): # noqa: E501 + """Current Online Users # noqa: E501 - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - int - If the method is called asynchronously, returns the request - thread. + Returns the current number of online users. **NOTE:** The response type is not a JSON object, but a simple JSON integer. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_current_online_users_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(int, status_code(int), headers(HTTPHeaderDict)) """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.get_current_online_users_endpoint.call_with_http_info(**kwargs) - def get_health( - self, - **kwargs - ): + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_current_online_users" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + response_types_map = { + 200: "int", + } + + return self.api_client.call_api( + '/visits', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_health(self, **kwargs): # noqa: E501 """Check API Health # noqa: E501 ~~Gets the overall health status, the server name, and the current build version tag of the API.~~ **DEPRECATED:** VRChat has suddenly restricted this endpoint for unknown reasons, and now always return 401 Unauthorized. # noqa: E501 @@ -575,58 +442,124 @@ def get_health( >>> thread = api.get_health(async_req=True) >>> result = thread.get() + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: APIHealth + """ + kwargs['_return_http_data_only'] = True + return self.get_health_with_http_info(**kwargs) # noqa: E501 + + def get_health_with_http_info(self, **kwargs): # noqa: E501 + """Check API Health # noqa: E501 + + ~~Gets the overall health status, the server name, and the current build version tag of the API.~~ **DEPRECATED:** VRChat has suddenly restricted this endpoint for unknown reasons, and now always return 401 Unauthorized. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_health_with_http_info(async_req=True) + >>> result = thread.get() - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - APIHealth - If the method is called asynchronously, returns the request - thread. + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(APIHealth, status_code(int), headers(HTTPHeaderDict)) """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.get_health_endpoint.call_with_http_info(**kwargs) - def get_info_push( - self, - **kwargs - ): + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_health" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + response_types_map = { + 200: "APIHealth", + } + + return self.api_client.call_api( + '/health', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_info_push(self, **kwargs): # noqa: E501 """Show Information Notices # noqa: E501 IPS (Info Push System) is a system for VRChat to push out dynamic information to the client. This is primarily used by the Quick-Menu info banners, but can also be used to e.g. alert you to update your game to the latest version. `include` is used to query what Information Pushes should be included in the response. If include is missing or empty, then no notices will normally be returned. This is an \"any of\" search. `require` is used to limit what Information Pushes should be included in the response. This is usually used in combination with `include`, and is an \"all of\" search. # noqa: E501 @@ -636,60 +569,138 @@ def get_info_push( >>> thread = api.get_info_push(async_req=True) >>> result = thread.get() + :param require: Tags to include (comma-separated). All of the tags needs to be present. + :type require: str + :param include: Tags to include (comma-separated). Any of the tags needs to be present. + :type include: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[InfoPush] + """ + kwargs['_return_http_data_only'] = True + return self.get_info_push_with_http_info(**kwargs) # noqa: E501 - Keyword Args: - require (str): Tags to include (comma-separated). All of the tags needs to be present.. [optional] - include (str): Tags to include (comma-separated). Any of the tags needs to be present.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - [InfoPush] - If the method is called asynchronously, returns the request - thread. + def get_info_push_with_http_info(self, **kwargs): # noqa: E501 + """Show Information Notices # noqa: E501 + + IPS (Info Push System) is a system for VRChat to push out dynamic information to the client. This is primarily used by the Quick-Menu info banners, but can also be used to e.g. alert you to update your game to the latest version. `include` is used to query what Information Pushes should be included in the response. If include is missing or empty, then no notices will normally be returned. This is an \"any of\" search. `require` is used to limit what Information Pushes should be included in the response. This is usually used in combination with `include`, and is an \"all of\" search. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_info_push_with_http_info(async_req=True) + >>> result = thread.get() + + :param require: Tags to include (comma-separated). All of the tags needs to be present. + :type require: str + :param include: Tags to include (comma-separated). Any of the tags needs to be present. + :type include: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[InfoPush], status_code(int), headers(HTTPHeaderDict)) """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.get_info_push_endpoint.call_with_http_info(**kwargs) - def get_java_script( - self, - **kwargs - ): + local_var_params = locals() + + all_params = [ + 'require', + 'include' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_info_push" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if local_var_params.get('require') is not None: # noqa: E501 + query_params.append(('require', local_var_params['require'])) # noqa: E501 + if local_var_params.get('include') is not None: # noqa: E501 + query_params.append(('include', local_var_params['include'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + response_types_map = { + 200: "list[InfoPush]", + } + + return self.api_client.call_api( + '/infoPush', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_java_script(self, **kwargs): # noqa: E501 """Download JavaScript # noqa: E501 Fetches the JavaScript code to the frontend React website. # noqa: E501 @@ -699,60 +710,139 @@ def get_java_script( >>> thread = api.get_java_script(async_req=True) >>> result = thread.get() + :param variant: Specifies which `variant` of the site. Public is the end-user site, while `internal` is the staff-only site with special pages for moderation and management. + :type variant: str + :param branch: Specifies which git branch the site should load frontend source code from. + :type branch: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: str + """ + kwargs['_return_http_data_only'] = True + return self.get_java_script_with_http_info(**kwargs) # noqa: E501 + + def get_java_script_with_http_info(self, **kwargs): # noqa: E501 + """Download JavaScript # noqa: E501 + + Fetches the JavaScript code to the frontend React website. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_java_script_with_http_info(async_req=True) + >>> result = thread.get() - Keyword Args: - variant (str): Specifies which `variant` of the site. Public is the end-user site, while `internal` is the staff-only site with special pages for moderation and management.. [optional] if omitted the server will use the default value of "public" - branch (str): Specifies which git branch the site should load frontend source code from.. [optional] if omitted the server will use the default value of "main" - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - str - If the method is called asynchronously, returns the request - thread. + :param variant: Specifies which `variant` of the site. Public is the end-user site, while `internal` is the staff-only site with special pages for moderation and management. + :type variant: str + :param branch: Specifies which git branch the site should load frontend source code from. + :type branch: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(str, status_code(int), headers(HTTPHeaderDict)) """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.get_java_script_endpoint.call_with_http_info(**kwargs) - def get_system_time( - self, - **kwargs - ): + local_var_params = locals() + + all_params = [ + 'variant', + 'branch' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_java_script" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if local_var_params.get('variant') is not None: # noqa: E501 + query_params.append(('variant', local_var_params['variant'])) # noqa: E501 + if local_var_params.get('branch') is not None: # noqa: E501 + query_params.append(('branch', local_var_params['branch'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/javascript', 'application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + response_types_map = { + 200: "str", + 400: "Error", + } + + return self.api_client.call_api( + '/js/app.js', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_system_time(self, **kwargs): # noqa: E501 """Current System Time # noqa: E501 Returns the current time of the API server. **NOTE:** The response type is not a JSON object, but a simple JSON string. # noqa: E501 @@ -762,51 +852,119 @@ def get_system_time( >>> thread = api.get_system_time(async_req=True) >>> result = thread.get() + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: datetime + """ + kwargs['_return_http_data_only'] = True + return self.get_system_time_with_http_info(**kwargs) # noqa: E501 - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - datetime - If the method is called asynchronously, returns the request - thread. + def get_system_time_with_http_info(self, **kwargs): # noqa: E501 + """Current System Time # noqa: E501 + + Returns the current time of the API server. **NOTE:** The response type is not a JSON object, but a simple JSON string. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_system_time_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(datetime, status_code(int), headers(HTTPHeaderDict)) """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.get_system_time_endpoint.call_with_http_info(**kwargs) + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_system_time" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + response_types_map = { + 200: "datetime", + } + + return self.api_client.call_api( + '/time', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index a7c87489..deade187 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -1,3 +1,5 @@ +# coding: utf-8 + """ VRChat API Documentation @@ -8,24 +10,18 @@ """ +from __future__ import absolute_import + import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.api_client import ApiClient, Endpoint as _Endpoint -from vrchatapi.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types + +# python 2 and python 3 compatibility library +import six + +from vrchatapi.api_client import ApiClient +from vrchatapi.exceptions import ( # noqa: F401 + ApiTypeError, + ApiValueError ) -from vrchatapi.model.current_user import CurrentUser -from vrchatapi.model.error import Error -from vrchatapi.model.limited_user import LimitedUser -from vrchatapi.model.update_user_request import UpdateUserRequest -from vrchatapi.model.user import User class UsersApi(object): @@ -39,255 +35,8 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client - self.get_user_endpoint = _Endpoint( - settings={ - 'response_type': (User,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/users/{userId}', - 'operation_id': 'get_user', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'user_id', - ], - 'required': [ - 'user_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'user_id': - (str,), - }, - 'attribute_map': { - 'user_id': 'userId', - }, - 'location_map': { - 'user_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_user_by_name_endpoint = _Endpoint( - settings={ - 'response_type': (User,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/users/{username}/name', - 'operation_id': 'get_user_by_name', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'username', - ], - 'required': [ - 'username', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'username': - (str,), - }, - 'attribute_map': { - 'username': 'username', - }, - 'location_map': { - 'username': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.search_users_endpoint = _Endpoint( - settings={ - 'response_type': ([LimitedUser],), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/users', - 'operation_id': 'search_users', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'search', - 'developer_type', - 'n', - 'offset', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'search', - 'n', - 'offset', - ] - }, - root_map={ - 'validations': { - ('search',): { - - 'min_length': 0, - }, - ('n',): { - - 'inclusive_maximum': 100, - 'inclusive_minimum': 1, - }, - ('offset',): { - - 'inclusive_minimum': 0, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'search': - (str,), - 'developer_type': - (str,), - 'n': - (int,), - 'offset': - (int,), - }, - 'attribute_map': { - 'search': 'search', - 'developer_type': 'developerType', - 'n': 'n', - 'offset': 'offset', - }, - 'location_map': { - 'search': 'query', - 'developer_type': 'query', - 'n': 'query', - 'offset': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.update_user_endpoint = _Endpoint( - settings={ - 'response_type': (CurrentUser,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/users/{userId}', - 'operation_id': 'update_user', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'user_id', - 'update_user_request', - ], - 'required': [ - 'user_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'user_id': - (str,), - 'update_user_request': - (UpdateUserRequest,), - }, - 'attribute_map': { - 'user_id': 'userId', - }, - 'location_map': { - 'user_id': 'path', - 'update_user_request': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - def get_user( - self, - user_id, - **kwargs - ): + def get_user(self, user_id, **kwargs): # noqa: E501 """Get User by ID # noqa: E501 Get public user information about a specific user using their ID. # noqa: E501 @@ -297,63 +46,135 @@ def get_user( >>> thread = api.get_user(user_id, async_req=True) >>> result = thread.get() - Args: - user_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - User - If the method is called asynchronously, returns the request - thread. + :param user_id: (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: User """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True + kwargs['_return_http_data_only'] = True + return self.get_user_with_http_info(user_id, **kwargs) # noqa: E501 + + def get_user_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get User by ID # noqa: E501 + + Get public user information about a specific user using their ID. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_user_with_http_info(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(User, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['user_id'] = \ - user_id - return self.get_user_endpoint.call_with_http_info(**kwargs) - - def get_user_by_name( - self, - username, - **kwargs - ): + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_user" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_user`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "User", + 401: "Error", + } + + return self.api_client.call_api( + '/users/{userId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_user_by_name(self, username, **kwargs): # noqa: E501 """Get User by Username # noqa: E501 ~~Get public user information about a specific user using their name.~~ **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). This endpoint now require Admin Credentials. # noqa: E501 @@ -363,62 +184,135 @@ def get_user_by_name( >>> thread = api.get_user_by_name(username, async_req=True) >>> result = thread.get() - Args: - username (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - User - If the method is called asynchronously, returns the request - thread. + :param username: (required) + :type username: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: User """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True + kwargs['_return_http_data_only'] = True + return self.get_user_by_name_with_http_info(username, **kwargs) # noqa: E501 + + def get_user_by_name_with_http_info(self, username, **kwargs): # noqa: E501 + """Get User by Username # noqa: E501 + + ~~Get public user information about a specific user using their name.~~ **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). This endpoint now require Admin Credentials. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_user_by_name_with_http_info(username, async_req=True) + >>> result = thread.get() + + :param username: (required) + :type username: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(User, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'username' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['username'] = \ - username - return self.get_user_by_name_endpoint.call_with_http_info(**kwargs) - - def search_users( - self, - **kwargs - ): + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_user_by_name" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'username' is set + if self.api_client.client_side_validation and local_var_params.get('username') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `username` when calling `get_user_by_name`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'username' in local_var_params: + path_params['username'] = local_var_params['username'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "User", + 401: "Error", + } + + return self.api_client.call_api( + '/users/{username}/name', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def search_users(self, **kwargs): # noqa: E501 """Search All Users # noqa: E501 Search and list any users by text query # noqa: E501 @@ -428,63 +322,163 @@ def search_users( >>> thread = api.search_users(async_req=True) >>> result = thread.get() + :param search: Searches by `displayName`. Will return empty array if search query is empty or missing. + :type search: str + :param developer_type: Active user by developer type, none for normal users and internal for moderators + :type developer_type: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[LimitedUser] + """ + kwargs['_return_http_data_only'] = True + return self.search_users_with_http_info(**kwargs) # noqa: E501 + + def search_users_with_http_info(self, **kwargs): # noqa: E501 + """Search All Users # noqa: E501 - Keyword Args: - search (str): Searches by `displayName`. Will return empty array if search query is empty or missing.. [optional] - developer_type (str): Active user by developer type, none for normal users and internal for moderators. [optional] - n (int): The number of objects to return.. [optional] if omitted the server will use the default value of 60 - offset (int): A zero-based offset from the default object sorting from where search results start.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - [LimitedUser] - If the method is called asynchronously, returns the request - thread. + Search and list any users by text query # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.search_users_with_http_info(async_req=True) + >>> result = thread.get() + + :param search: Searches by `displayName`. Will return empty array if search query is empty or missing. + :type search: str + :param developer_type: Active user by developer type, none for normal users and internal for moderators + :type developer_type: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[LimitedUser], status_code(int), headers(HTTPHeaderDict)) """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True + + local_var_params = locals() + + all_params = [ + 'search', + 'developer_type', + 'n', + 'offset' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.search_users_endpoint.call_with_http_info(**kwargs) - - def update_user( - self, - user_id, - **kwargs - ): + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method search_users" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + if self.api_client.client_side_validation and ('search' in local_var_params and # noqa: E501 + len(local_var_params['search']) < 0): # noqa: E501 + raise ApiValueError("Invalid value for parameter `search` when calling `search_users`, length must be greater than or equal to `0`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `search_users`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `search_users`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `search_users`, must be a value greater than or equal to `0`") # noqa: E501 + collection_formats = {} + + path_params = {} + + query_params = [] + if local_var_params.get('search') is not None: # noqa: E501 + query_params.append(('search', local_var_params['search'])) # noqa: E501 + if local_var_params.get('developer_type') is not None: # noqa: E501 + query_params.append(('developerType', local_var_params['developer_type'])) # noqa: E501 + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[LimitedUser]", + 400: "Error", + 401: "Error", + } + + return self.api_client.call_api( + '/users', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def update_user(self, user_id, **kwargs): # noqa: E501 """Update User Info # noqa: E501 Update a users information such as the email and birthday. # noqa: E501 @@ -494,56 +488,144 @@ def update_user( >>> thread = api.update_user(user_id, async_req=True) >>> result = thread.get() - Args: - user_id (str): - - Keyword Args: - update_user_request (UpdateUserRequest): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - CurrentUser - If the method is called asynchronously, returns the request - thread. + :param user_id: (required) + :type user_id: str + :param update_user_request: + :type update_user_request: UpdateUserRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: CurrentUser """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True + kwargs['_return_http_data_only'] = True + return self.update_user_with_http_info(user_id, **kwargs) # noqa: E501 + + def update_user_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Update User Info # noqa: E501 + + Update a users information such as the email and birthday. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_user_with_http_info(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: (required) + :type user_id: str + :param update_user_request: + :type update_user_request: UpdateUserRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(CurrentUser, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_id', + 'update_user_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['user_id'] = \ - user_id - return self.update_user_endpoint.call_with_http_info(**kwargs) + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method update_user" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `update_user`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'update_user_request' in local_var_params: + body_params = local_var_params['update_user_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'PUT', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "CurrentUser", + } + + return self.api_client.call_api( + '/users/{userId}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 6673ec96..30df6635 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -1,3 +1,5 @@ +# coding: utf-8 + """ VRChat API Documentation @@ -8,27 +10,18 @@ """ +from __future__ import absolute_import + import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.api_client import ApiClient, Endpoint as _Endpoint -from vrchatapi.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types + +# python 2 and python 3 compatibility library +import six + +from vrchatapi.api_client import ApiClient +from vrchatapi.exceptions import ( # noqa: F401 + ApiTypeError, + ApiValueError ) -from vrchatapi.model.create_world_request import CreateWorldRequest -from vrchatapi.model.error import Error -from vrchatapi.model.instance import Instance -from vrchatapi.model.limited_world import LimitedWorld -from vrchatapi.model.update_world_request import UpdateWorldRequest -from vrchatapi.model.world import World -from vrchatapi.model.world_metadata import WorldMetadata -from vrchatapi.model.world_publish_status import WorldPublishStatus class WorldsApi(object): @@ -42,1119 +35,8 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client - self.create_world_endpoint = _Endpoint( - settings={ - 'response_type': (World,), - 'auth': [], - 'endpoint_path': '/worlds', - 'operation_id': 'create_world', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'create_world_request', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'create_world_request': - (CreateWorldRequest,), - }, - 'attribute_map': { - }, - 'location_map': { - 'create_world_request': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.delete_world_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/worlds/{worldId}', - 'operation_id': 'delete_world', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'world_id', - ], - 'required': [ - 'world_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'world_id': - (str,), - }, - 'attribute_map': { - 'world_id': 'worldId', - }, - 'location_map': { - 'world_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_active_worlds_endpoint = _Endpoint( - settings={ - 'response_type': ([LimitedWorld],), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/worlds/active', - 'operation_id': 'get_active_worlds', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'featured', - 'sort', - 'n', - 'order', - 'offset', - 'search', - 'tag', - 'notag', - 'release_status', - 'max_unity_version', - 'min_unity_version', - 'platform', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - 'sort', - 'order', - 'release_status', - ], - 'validation': [ - 'n', - 'offset', - ] - }, - root_map={ - 'validations': { - ('n',): { - - 'inclusive_maximum': 100, - 'inclusive_minimum': 1, - }, - ('offset',): { - - 'inclusive_minimum': 0, - }, - }, - 'allowed_values': { - ('sort',): { - - "POPULARITY": "popularity", - "HEAT": "heat", - "TRUST": "trust", - "SHUFFLE": "shuffle", - "RANDOM": "random", - "FAVORITES": "favorites", - "REPORTSCORE": "reportScore", - "REPORTCOUNT": "reportCount", - "PUBLICATIONDATE": "publicationDate", - "LABSPUBLICATIONDATE": "labsPublicationDate", - "CREATED": "created", - "_CREATED_AT": "_created_at", - "UPDATED": "updated", - "_UPDATED_AT": "_updated_at", - "ORDER": "order", - "RELEVANCE": "relevance", - "MAGIC": "magic", - "NAME": "name" - }, - ('order',): { - - "ASCENDING": "ascending", - "DESCENDING": "descending" - }, - ('release_status',): { - - "PUBLIC": "public", - "PRIVATE": "private", - "HIDDEN": "hidden", - "ALL": "all" - }, - }, - 'openapi_types': { - 'featured': - (bool,), - 'sort': - (str,), - 'n': - (int,), - 'order': - (str,), - 'offset': - (int,), - 'search': - (str,), - 'tag': - (str,), - 'notag': - (str,), - 'release_status': - (str,), - 'max_unity_version': - (str,), - 'min_unity_version': - (str,), - 'platform': - (str,), - }, - 'attribute_map': { - 'featured': 'featured', - 'sort': 'sort', - 'n': 'n', - 'order': 'order', - 'offset': 'offset', - 'search': 'search', - 'tag': 'tag', - 'notag': 'notag', - 'release_status': 'releaseStatus', - 'max_unity_version': 'maxUnityVersion', - 'min_unity_version': 'minUnityVersion', - 'platform': 'platform', - }, - 'location_map': { - 'featured': 'query', - 'sort': 'query', - 'n': 'query', - 'order': 'query', - 'offset': 'query', - 'search': 'query', - 'tag': 'query', - 'notag': 'query', - 'release_status': 'query', - 'max_unity_version': 'query', - 'min_unity_version': 'query', - 'platform': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_favorited_worlds_endpoint = _Endpoint( - settings={ - 'response_type': ([LimitedWorld],), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/worlds/favorites', - 'operation_id': 'get_favorited_worlds', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'featured', - 'sort', - 'n', - 'order', - 'offset', - 'search', - 'tag', - 'notag', - 'release_status', - 'max_unity_version', - 'min_unity_version', - 'platform', - 'user_id', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - 'sort', - 'order', - 'release_status', - ], - 'validation': [ - 'n', - 'offset', - ] - }, - root_map={ - 'validations': { - ('n',): { - - 'inclusive_maximum': 100, - 'inclusive_minimum': 1, - }, - ('offset',): { - - 'inclusive_minimum': 0, - }, - }, - 'allowed_values': { - ('sort',): { - - "POPULARITY": "popularity", - "HEAT": "heat", - "TRUST": "trust", - "SHUFFLE": "shuffle", - "RANDOM": "random", - "FAVORITES": "favorites", - "REPORTSCORE": "reportScore", - "REPORTCOUNT": "reportCount", - "PUBLICATIONDATE": "publicationDate", - "LABSPUBLICATIONDATE": "labsPublicationDate", - "CREATED": "created", - "_CREATED_AT": "_created_at", - "UPDATED": "updated", - "_UPDATED_AT": "_updated_at", - "ORDER": "order", - "RELEVANCE": "relevance", - "MAGIC": "magic", - "NAME": "name" - }, - ('order',): { - - "ASCENDING": "ascending", - "DESCENDING": "descending" - }, - ('release_status',): { - - "PUBLIC": "public", - "PRIVATE": "private", - "HIDDEN": "hidden", - "ALL": "all" - }, - }, - 'openapi_types': { - 'featured': - (bool,), - 'sort': - (str,), - 'n': - (int,), - 'order': - (str,), - 'offset': - (int,), - 'search': - (str,), - 'tag': - (str,), - 'notag': - (str,), - 'release_status': - (str,), - 'max_unity_version': - (str,), - 'min_unity_version': - (str,), - 'platform': - (str,), - 'user_id': - (str,), - }, - 'attribute_map': { - 'featured': 'featured', - 'sort': 'sort', - 'n': 'n', - 'order': 'order', - 'offset': 'offset', - 'search': 'search', - 'tag': 'tag', - 'notag': 'notag', - 'release_status': 'releaseStatus', - 'max_unity_version': 'maxUnityVersion', - 'min_unity_version': 'minUnityVersion', - 'platform': 'platform', - 'user_id': 'userId', - }, - 'location_map': { - 'featured': 'query', - 'sort': 'query', - 'n': 'query', - 'order': 'query', - 'offset': 'query', - 'search': 'query', - 'tag': 'query', - 'notag': 'query', - 'release_status': 'query', - 'max_unity_version': 'query', - 'min_unity_version': 'query', - 'platform': 'query', - 'user_id': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_recent_worlds_endpoint = _Endpoint( - settings={ - 'response_type': ([LimitedWorld],), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/worlds/recent', - 'operation_id': 'get_recent_worlds', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'featured', - 'sort', - 'n', - 'order', - 'offset', - 'search', - 'tag', - 'notag', - 'release_status', - 'max_unity_version', - 'min_unity_version', - 'platform', - 'user_id', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - 'sort', - 'order', - 'release_status', - ], - 'validation': [ - 'n', - 'offset', - ] - }, - root_map={ - 'validations': { - ('n',): { - - 'inclusive_maximum': 100, - 'inclusive_minimum': 1, - }, - ('offset',): { - - 'inclusive_minimum': 0, - }, - }, - 'allowed_values': { - ('sort',): { - - "POPULARITY": "popularity", - "HEAT": "heat", - "TRUST": "trust", - "SHUFFLE": "shuffle", - "RANDOM": "random", - "FAVORITES": "favorites", - "REPORTSCORE": "reportScore", - "REPORTCOUNT": "reportCount", - "PUBLICATIONDATE": "publicationDate", - "LABSPUBLICATIONDATE": "labsPublicationDate", - "CREATED": "created", - "_CREATED_AT": "_created_at", - "UPDATED": "updated", - "_UPDATED_AT": "_updated_at", - "ORDER": "order", - "RELEVANCE": "relevance", - "MAGIC": "magic", - "NAME": "name" - }, - ('order',): { - - "ASCENDING": "ascending", - "DESCENDING": "descending" - }, - ('release_status',): { - - "PUBLIC": "public", - "PRIVATE": "private", - "HIDDEN": "hidden", - "ALL": "all" - }, - }, - 'openapi_types': { - 'featured': - (bool,), - 'sort': - (str,), - 'n': - (int,), - 'order': - (str,), - 'offset': - (int,), - 'search': - (str,), - 'tag': - (str,), - 'notag': - (str,), - 'release_status': - (str,), - 'max_unity_version': - (str,), - 'min_unity_version': - (str,), - 'platform': - (str,), - 'user_id': - (str,), - }, - 'attribute_map': { - 'featured': 'featured', - 'sort': 'sort', - 'n': 'n', - 'order': 'order', - 'offset': 'offset', - 'search': 'search', - 'tag': 'tag', - 'notag': 'notag', - 'release_status': 'releaseStatus', - 'max_unity_version': 'maxUnityVersion', - 'min_unity_version': 'minUnityVersion', - 'platform': 'platform', - 'user_id': 'userId', - }, - 'location_map': { - 'featured': 'query', - 'sort': 'query', - 'n': 'query', - 'order': 'query', - 'offset': 'query', - 'search': 'query', - 'tag': 'query', - 'notag': 'query', - 'release_status': 'query', - 'max_unity_version': 'query', - 'min_unity_version': 'query', - 'platform': 'query', - 'user_id': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_world_endpoint = _Endpoint( - settings={ - 'response_type': (World,), - 'auth': [ - 'apiKeyCookie' - ], - 'endpoint_path': '/worlds/{worldId}', - 'operation_id': 'get_world', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'world_id', - ], - 'required': [ - 'world_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'world_id': - (str,), - }, - 'attribute_map': { - 'world_id': 'worldId', - }, - 'location_map': { - 'world_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_world_instance_endpoint = _Endpoint( - settings={ - 'response_type': (Instance,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/worlds/{worldId}/{instanceId}', - 'operation_id': 'get_world_instance', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'world_id', - 'instance_id', - ], - 'required': [ - 'world_id', - 'instance_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'world_id': - (str,), - 'instance_id': - (str,), - }, - 'attribute_map': { - 'world_id': 'worldId', - 'instance_id': 'instanceId', - }, - 'location_map': { - 'world_id': 'path', - 'instance_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_world_metadata_endpoint = _Endpoint( - settings={ - 'response_type': (WorldMetadata,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/worlds/{worldId}/metadata', - 'operation_id': 'get_world_metadata', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'world_id', - ], - 'required': [ - 'world_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'world_id': - (str,), - }, - 'attribute_map': { - 'world_id': 'worldId', - }, - 'location_map': { - 'world_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_world_publish_status_endpoint = _Endpoint( - settings={ - 'response_type': (WorldPublishStatus,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/worlds/{worldId}/publish', - 'operation_id': 'get_world_publish_status', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'world_id', - ], - 'required': [ - 'world_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'world_id': - (str,), - }, - 'attribute_map': { - 'world_id': 'worldId', - }, - 'location_map': { - 'world_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.publish_world_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/worlds/{worldId}/publish', - 'operation_id': 'publish_world', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'world_id', - ], - 'required': [ - 'world_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'world_id': - (str,), - }, - 'attribute_map': { - 'world_id': 'worldId', - }, - 'location_map': { - 'world_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.search_worlds_endpoint = _Endpoint( - settings={ - 'response_type': ([LimitedWorld],), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/worlds', - 'operation_id': 'search_worlds', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'featured', - 'sort', - 'user', - 'user_id', - 'n', - 'order', - 'offset', - 'search', - 'tag', - 'notag', - 'release_status', - 'max_unity_version', - 'min_unity_version', - 'platform', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - 'sort', - 'user', - 'order', - 'release_status', - ], - 'validation': [ - 'n', - 'offset', - ] - }, - root_map={ - 'validations': { - ('n',): { - - 'inclusive_maximum': 100, - 'inclusive_minimum': 1, - }, - ('offset',): { - - 'inclusive_minimum': 0, - }, - }, - 'allowed_values': { - ('sort',): { - - "POPULARITY": "popularity", - "HEAT": "heat", - "TRUST": "trust", - "SHUFFLE": "shuffle", - "RANDOM": "random", - "FAVORITES": "favorites", - "REPORTSCORE": "reportScore", - "REPORTCOUNT": "reportCount", - "PUBLICATIONDATE": "publicationDate", - "LABSPUBLICATIONDATE": "labsPublicationDate", - "CREATED": "created", - "_CREATED_AT": "_created_at", - "UPDATED": "updated", - "_UPDATED_AT": "_updated_at", - "ORDER": "order", - "RELEVANCE": "relevance", - "MAGIC": "magic", - "NAME": "name" - }, - ('user',): { - - "ME": "me" - }, - ('order',): { - - "ASCENDING": "ascending", - "DESCENDING": "descending" - }, - ('release_status',): { - - "PUBLIC": "public", - "PRIVATE": "private", - "HIDDEN": "hidden", - "ALL": "all" - }, - }, - 'openapi_types': { - 'featured': - (bool,), - 'sort': - (str,), - 'user': - (str,), - 'user_id': - (str,), - 'n': - (int,), - 'order': - (str,), - 'offset': - (int,), - 'search': - (str,), - 'tag': - (str,), - 'notag': - (str,), - 'release_status': - (str,), - 'max_unity_version': - (str,), - 'min_unity_version': - (str,), - 'platform': - (str,), - }, - 'attribute_map': { - 'featured': 'featured', - 'sort': 'sort', - 'user': 'user', - 'user_id': 'userId', - 'n': 'n', - 'order': 'order', - 'offset': 'offset', - 'search': 'search', - 'tag': 'tag', - 'notag': 'notag', - 'release_status': 'releaseStatus', - 'max_unity_version': 'maxUnityVersion', - 'min_unity_version': 'minUnityVersion', - 'platform': 'platform', - }, - 'location_map': { - 'featured': 'query', - 'sort': 'query', - 'user': 'query', - 'user_id': 'query', - 'n': 'query', - 'order': 'query', - 'offset': 'query', - 'search': 'query', - 'tag': 'query', - 'notag': 'query', - 'release_status': 'query', - 'max_unity_version': 'query', - 'min_unity_version': 'query', - 'platform': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.unpublish_world_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/worlds/{worldId}/publish', - 'operation_id': 'unpublish_world', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'world_id', - ], - 'required': [ - 'world_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'world_id': - (str,), - }, - 'attribute_map': { - 'world_id': 'worldId', - }, - 'location_map': { - 'world_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.update_world_endpoint = _Endpoint( - settings={ - 'response_type': (World,), - 'auth': [ - 'apiKeyCookie', - 'authCookie' - ], - 'endpoint_path': '/worlds/{worldId}', - 'operation_id': 'update_world', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'world_id', - 'update_world_request', - ], - 'required': [ - 'world_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'world_id': - (str,), - 'update_world_request': - (UpdateWorldRequest,), - }, - 'attribute_map': { - 'world_id': 'worldId', - }, - 'location_map': { - 'world_id': 'path', - 'update_world_request': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - def create_world( - self, - **kwargs - ): + def create_world(self, **kwargs): # noqa: E501 """Create World # noqa: E501 Create a new world. This endpoint requires `assetUrl` to be a valid File object with `.vrcw` file extension, and `imageUrl` to be a valid File object with an image file extension. # noqa: E501 @@ -1164,60 +46,141 @@ def create_world( >>> thread = api.create_world(async_req=True) >>> result = thread.get() + :param create_world_request: + :type create_world_request: CreateWorldRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: World + """ + kwargs['_return_http_data_only'] = True + return self.create_world_with_http_info(**kwargs) # noqa: E501 + + def create_world_with_http_info(self, **kwargs): # noqa: E501 + """Create World # noqa: E501 + + Create a new world. This endpoint requires `assetUrl` to be a valid File object with `.vrcw` file extension, and `imageUrl` to be a valid File object with an image file extension. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.create_world_with_http_info(async_req=True) + >>> result = thread.get() - Keyword Args: - create_world_request (CreateWorldRequest): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - World - If the method is called asynchronously, returns the request - thread. + :param create_world_request: + :type create_world_request: CreateWorldRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(World, status_code(int), headers(HTTPHeaderDict)) """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.create_world_endpoint.call_with_http_info(**kwargs) - - def delete_world( - self, - world_id, - **kwargs - ): + + local_var_params = locals() + + all_params = [ + 'create_world_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method create_world" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'create_world_request' in local_var_params: + body_params = local_var_params['create_world_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = [] # noqa: E501 + + response_types_map = { + 200: "World", + 400: "Error", + 401: "Error", + } + + return self.api_client.call_api( + '/worlds', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def delete_world(self, world_id, **kwargs): # noqa: E501 """Delete World # noqa: E501 Delete a world. Notice a world is never fully \"deleted\", only its ReleaseStatus is set to \"hidden\" and the linked Files are deleted. The WorldID is permanently reserved. # noqa: E501 @@ -1227,62 +190,132 @@ def delete_world( >>> thread = api.delete_world(world_id, async_req=True) >>> result = thread.get() - Args: - world_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. + :param world_id: (required) + :type world_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['world_id'] = \ - world_id - return self.delete_world_endpoint.call_with_http_info(**kwargs) - - def get_active_worlds( - self, - **kwargs - ): + kwargs['_return_http_data_only'] = True + return self.delete_world_with_http_info(world_id, **kwargs) # noqa: E501 + + def delete_world_with_http_info(self, world_id, **kwargs): # noqa: E501 + """Delete World # noqa: E501 + + Delete a world. Notice a world is never fully \"deleted\", only its ReleaseStatus is set to \"hidden\" and the linked Files are deleted. The WorldID is permanently reserved. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_world_with_http_info(world_id, async_req=True) + >>> result = thread.get() + + :param world_id: (required) + :type world_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + + local_var_params = locals() + + all_params = [ + 'world_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_world" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'world_id' is set + if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `world_id` when calling `delete_world`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'world_id' in local_var_params: + path_params['worldId'] = local_var_params['world_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = {} + + return self.api_client.call_api( + '/worlds/{worldId}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_active_worlds(self, **kwargs): # noqa: E501 """List Active Worlds # noqa: E501 Search and list currently Active worlds by query filters. # noqa: E501 @@ -1292,70 +325,215 @@ def get_active_worlds( >>> thread = api.get_active_worlds(async_req=True) >>> result = thread.get() + :param featured: Filters on featured results. + :type featured: bool + :param sort: + :type sort: str + :param n: The number of objects to return. + :type n: int + :param order: + :type order: str + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param search: Filters by world name. + :type search: str + :param tag: Tags to include (comma-separated). Any of the tags needs to be present. + :type tag: str + :param notag: Tags to exclude (comma-separated). + :type notag: str + :param release_status: Filter by ReleaseStatus. + :type release_status: str + :param max_unity_version: The maximum Unity version supported by the asset. + :type max_unity_version: str + :param min_unity_version: The minimum Unity version supported by the asset. + :type min_unity_version: str + :param platform: The platform the asset supports. + :type platform: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[LimitedWorld] + """ + kwargs['_return_http_data_only'] = True + return self.get_active_worlds_with_http_info(**kwargs) # noqa: E501 + + def get_active_worlds_with_http_info(self, **kwargs): # noqa: E501 + """List Active Worlds # noqa: E501 - Keyword Args: - featured (bool): Filters on featured results.. [optional] - sort (str): [optional] if omitted the server will use the default value of "popularity" - n (int): The number of objects to return.. [optional] if omitted the server will use the default value of 60 - order (str): [optional] if omitted the server will use the default value of "descending" - offset (int): A zero-based offset from the default object sorting from where search results start.. [optional] - search (str): Filters by world name.. [optional] - tag (str): Tags to include (comma-separated). Any of the tags needs to be present.. [optional] - notag (str): Tags to exclude (comma-separated).. [optional] - release_status (str): Filter by ReleaseStatus.. [optional] if omitted the server will use the default value of "public" - max_unity_version (str): The maximum Unity version supported by the asset.. [optional] - min_unity_version (str): The minimum Unity version supported by the asset.. [optional] - platform (str): The platform the asset supports.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - [LimitedWorld] - If the method is called asynchronously, returns the request - thread. + Search and list currently Active worlds by query filters. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_active_worlds_with_http_info(async_req=True) + >>> result = thread.get() + + :param featured: Filters on featured results. + :type featured: bool + :param sort: + :type sort: str + :param n: The number of objects to return. + :type n: int + :param order: + :type order: str + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param search: Filters by world name. + :type search: str + :param tag: Tags to include (comma-separated). Any of the tags needs to be present. + :type tag: str + :param notag: Tags to exclude (comma-separated). + :type notag: str + :param release_status: Filter by ReleaseStatus. + :type release_status: str + :param max_unity_version: The maximum Unity version supported by the asset. + :type max_unity_version: str + :param min_unity_version: The minimum Unity version supported by the asset. + :type min_unity_version: str + :param platform: The platform the asset supports. + :type platform: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[LimitedWorld], status_code(int), headers(HTTPHeaderDict)) """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.get_active_worlds_endpoint.call_with_http_info(**kwargs) - def get_favorited_worlds( - self, - **kwargs - ): + local_var_params = locals() + + all_params = [ + 'featured', + 'sort', + 'n', + 'order', + 'offset', + 'search', + 'tag', + 'notag', + 'release_status', + 'max_unity_version', + 'min_unity_version', + 'platform' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_active_worlds" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_active_worlds`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_active_worlds`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_active_worlds`, must be a value greater than or equal to `0`") # noqa: E501 + collection_formats = {} + + path_params = {} + + query_params = [] + if local_var_params.get('featured') is not None: # noqa: E501 + query_params.append(('featured', local_var_params['featured'])) # noqa: E501 + if local_var_params.get('sort') is not None: # noqa: E501 + query_params.append(('sort', local_var_params['sort'])) # noqa: E501 + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('order') is not None: # noqa: E501 + query_params.append(('order', local_var_params['order'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + if local_var_params.get('search') is not None: # noqa: E501 + query_params.append(('search', local_var_params['search'])) # noqa: E501 + if local_var_params.get('tag') is not None: # noqa: E501 + query_params.append(('tag', local_var_params['tag'])) # noqa: E501 + if local_var_params.get('notag') is not None: # noqa: E501 + query_params.append(('notag', local_var_params['notag'])) # noqa: E501 + if local_var_params.get('release_status') is not None: # noqa: E501 + query_params.append(('releaseStatus', local_var_params['release_status'])) # noqa: E501 + if local_var_params.get('max_unity_version') is not None: # noqa: E501 + query_params.append(('maxUnityVersion', local_var_params['max_unity_version'])) # noqa: E501 + if local_var_params.get('min_unity_version') is not None: # noqa: E501 + query_params.append(('minUnityVersion', local_var_params['min_unity_version'])) # noqa: E501 + if local_var_params.get('platform') is not None: # noqa: E501 + query_params.append(('platform', local_var_params['platform'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[LimitedWorld]", + 401: "Error", + } + + return self.api_client.call_api( + '/worlds/active', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_favorited_worlds(self, **kwargs): # noqa: E501 """List Favorited Worlds # noqa: E501 Search and list favorited worlds by query filters. # noqa: E501 @@ -1365,71 +543,223 @@ def get_favorited_worlds( >>> thread = api.get_favorited_worlds(async_req=True) >>> result = thread.get() + :param featured: Filters on featured results. + :type featured: bool + :param sort: + :type sort: str + :param n: The number of objects to return. + :type n: int + :param order: + :type order: str + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param search: Filters by world name. + :type search: str + :param tag: Tags to include (comma-separated). Any of the tags needs to be present. + :type tag: str + :param notag: Tags to exclude (comma-separated). + :type notag: str + :param release_status: Filter by ReleaseStatus. + :type release_status: str + :param max_unity_version: The maximum Unity version supported by the asset. + :type max_unity_version: str + :param min_unity_version: The minimum Unity version supported by the asset. + :type min_unity_version: str + :param platform: The platform the asset supports. + :type platform: str + :param user_id: Target user to see information on, admin-only. + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[LimitedWorld] + """ + kwargs['_return_http_data_only'] = True + return self.get_favorited_worlds_with_http_info(**kwargs) # noqa: E501 - Keyword Args: - featured (bool): Filters on featured results.. [optional] - sort (str): [optional] if omitted the server will use the default value of "popularity" - n (int): The number of objects to return.. [optional] if omitted the server will use the default value of 60 - order (str): [optional] if omitted the server will use the default value of "descending" - offset (int): A zero-based offset from the default object sorting from where search results start.. [optional] - search (str): Filters by world name.. [optional] - tag (str): Tags to include (comma-separated). Any of the tags needs to be present.. [optional] - notag (str): Tags to exclude (comma-separated).. [optional] - release_status (str): Filter by ReleaseStatus.. [optional] if omitted the server will use the default value of "public" - max_unity_version (str): The maximum Unity version supported by the asset.. [optional] - min_unity_version (str): The minimum Unity version supported by the asset.. [optional] - platform (str): The platform the asset supports.. [optional] - user_id (str): Target user to see information on, admin-only.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - [LimitedWorld] - If the method is called asynchronously, returns the request - thread. + def get_favorited_worlds_with_http_info(self, **kwargs): # noqa: E501 + """List Favorited Worlds # noqa: E501 + + Search and list favorited worlds by query filters. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_favorited_worlds_with_http_info(async_req=True) + >>> result = thread.get() + + :param featured: Filters on featured results. + :type featured: bool + :param sort: + :type sort: str + :param n: The number of objects to return. + :type n: int + :param order: + :type order: str + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param search: Filters by world name. + :type search: str + :param tag: Tags to include (comma-separated). Any of the tags needs to be present. + :type tag: str + :param notag: Tags to exclude (comma-separated). + :type notag: str + :param release_status: Filter by ReleaseStatus. + :type release_status: str + :param max_unity_version: The maximum Unity version supported by the asset. + :type max_unity_version: str + :param min_unity_version: The minimum Unity version supported by the asset. + :type min_unity_version: str + :param platform: The platform the asset supports. + :type platform: str + :param user_id: Target user to see information on, admin-only. + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[LimitedWorld], status_code(int), headers(HTTPHeaderDict)) """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.get_favorited_worlds_endpoint.call_with_http_info(**kwargs) - def get_recent_worlds( - self, - **kwargs - ): + local_var_params = locals() + + all_params = [ + 'featured', + 'sort', + 'n', + 'order', + 'offset', + 'search', + 'tag', + 'notag', + 'release_status', + 'max_unity_version', + 'min_unity_version', + 'platform', + 'user_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_favorited_worlds" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_favorited_worlds`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_favorited_worlds`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_favorited_worlds`, must be a value greater than or equal to `0`") # noqa: E501 + collection_formats = {} + + path_params = {} + + query_params = [] + if local_var_params.get('featured') is not None: # noqa: E501 + query_params.append(('featured', local_var_params['featured'])) # noqa: E501 + if local_var_params.get('sort') is not None: # noqa: E501 + query_params.append(('sort', local_var_params['sort'])) # noqa: E501 + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('order') is not None: # noqa: E501 + query_params.append(('order', local_var_params['order'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + if local_var_params.get('search') is not None: # noqa: E501 + query_params.append(('search', local_var_params['search'])) # noqa: E501 + if local_var_params.get('tag') is not None: # noqa: E501 + query_params.append(('tag', local_var_params['tag'])) # noqa: E501 + if local_var_params.get('notag') is not None: # noqa: E501 + query_params.append(('notag', local_var_params['notag'])) # noqa: E501 + if local_var_params.get('release_status') is not None: # noqa: E501 + query_params.append(('releaseStatus', local_var_params['release_status'])) # noqa: E501 + if local_var_params.get('max_unity_version') is not None: # noqa: E501 + query_params.append(('maxUnityVersion', local_var_params['max_unity_version'])) # noqa: E501 + if local_var_params.get('min_unity_version') is not None: # noqa: E501 + query_params.append(('minUnityVersion', local_var_params['min_unity_version'])) # noqa: E501 + if local_var_params.get('platform') is not None: # noqa: E501 + query_params.append(('platform', local_var_params['platform'])) # noqa: E501 + if local_var_params.get('user_id') is not None: # noqa: E501 + query_params.append(('userId', local_var_params['user_id'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[LimitedWorld]", + 401: "Error", + 403: "Error", + } + + return self.api_client.call_api( + '/worlds/favorites', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_recent_worlds(self, **kwargs): # noqa: E501 """List Recent Worlds # noqa: E501 Search and list recently visited worlds by query filters. # noqa: E501 @@ -1439,72 +769,223 @@ def get_recent_worlds( >>> thread = api.get_recent_worlds(async_req=True) >>> result = thread.get() + :param featured: Filters on featured results. + :type featured: bool + :param sort: + :type sort: str + :param n: The number of objects to return. + :type n: int + :param order: + :type order: str + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param search: Filters by world name. + :type search: str + :param tag: Tags to include (comma-separated). Any of the tags needs to be present. + :type tag: str + :param notag: Tags to exclude (comma-separated). + :type notag: str + :param release_status: Filter by ReleaseStatus. + :type release_status: str + :param max_unity_version: The maximum Unity version supported by the asset. + :type max_unity_version: str + :param min_unity_version: The minimum Unity version supported by the asset. + :type min_unity_version: str + :param platform: The platform the asset supports. + :type platform: str + :param user_id: Target user to see information on, admin-only. + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[LimitedWorld] + """ + kwargs['_return_http_data_only'] = True + return self.get_recent_worlds_with_http_info(**kwargs) # noqa: E501 + + def get_recent_worlds_with_http_info(self, **kwargs): # noqa: E501 + """List Recent Worlds # noqa: E501 + + Search and list recently visited worlds by query filters. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True - Keyword Args: - featured (bool): Filters on featured results.. [optional] - sort (str): [optional] if omitted the server will use the default value of "popularity" - n (int): The number of objects to return.. [optional] if omitted the server will use the default value of 60 - order (str): [optional] if omitted the server will use the default value of "descending" - offset (int): A zero-based offset from the default object sorting from where search results start.. [optional] - search (str): Filters by world name.. [optional] - tag (str): Tags to include (comma-separated). Any of the tags needs to be present.. [optional] - notag (str): Tags to exclude (comma-separated).. [optional] - release_status (str): Filter by ReleaseStatus.. [optional] if omitted the server will use the default value of "public" - max_unity_version (str): The maximum Unity version supported by the asset.. [optional] - min_unity_version (str): The minimum Unity version supported by the asset.. [optional] - platform (str): The platform the asset supports.. [optional] - user_id (str): Target user to see information on, admin-only.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - [LimitedWorld] - If the method is called asynchronously, returns the request - thread. + >>> thread = api.get_recent_worlds_with_http_info(async_req=True) + >>> result = thread.get() + + :param featured: Filters on featured results. + :type featured: bool + :param sort: + :type sort: str + :param n: The number of objects to return. + :type n: int + :param order: + :type order: str + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param search: Filters by world name. + :type search: str + :param tag: Tags to include (comma-separated). Any of the tags needs to be present. + :type tag: str + :param notag: Tags to exclude (comma-separated). + :type notag: str + :param release_status: Filter by ReleaseStatus. + :type release_status: str + :param max_unity_version: The maximum Unity version supported by the asset. + :type max_unity_version: str + :param min_unity_version: The minimum Unity version supported by the asset. + :type min_unity_version: str + :param platform: The platform the asset supports. + :type platform: str + :param user_id: Target user to see information on, admin-only. + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[LimitedWorld], status_code(int), headers(HTTPHeaderDict)) """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.get_recent_worlds_endpoint.call_with_http_info(**kwargs) - - def get_world( - self, - world_id, - **kwargs - ): + + local_var_params = locals() + + all_params = [ + 'featured', + 'sort', + 'n', + 'order', + 'offset', + 'search', + 'tag', + 'notag', + 'release_status', + 'max_unity_version', + 'min_unity_version', + 'platform', + 'user_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_recent_worlds" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_recent_worlds`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_recent_worlds`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_recent_worlds`, must be a value greater than or equal to `0`") # noqa: E501 + collection_formats = {} + + path_params = {} + + query_params = [] + if local_var_params.get('featured') is not None: # noqa: E501 + query_params.append(('featured', local_var_params['featured'])) # noqa: E501 + if local_var_params.get('sort') is not None: # noqa: E501 + query_params.append(('sort', local_var_params['sort'])) # noqa: E501 + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('order') is not None: # noqa: E501 + query_params.append(('order', local_var_params['order'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + if local_var_params.get('search') is not None: # noqa: E501 + query_params.append(('search', local_var_params['search'])) # noqa: E501 + if local_var_params.get('tag') is not None: # noqa: E501 + query_params.append(('tag', local_var_params['tag'])) # noqa: E501 + if local_var_params.get('notag') is not None: # noqa: E501 + query_params.append(('notag', local_var_params['notag'])) # noqa: E501 + if local_var_params.get('release_status') is not None: # noqa: E501 + query_params.append(('releaseStatus', local_var_params['release_status'])) # noqa: E501 + if local_var_params.get('max_unity_version') is not None: # noqa: E501 + query_params.append(('maxUnityVersion', local_var_params['max_unity_version'])) # noqa: E501 + if local_var_params.get('min_unity_version') is not None: # noqa: E501 + query_params.append(('minUnityVersion', local_var_params['min_unity_version'])) # noqa: E501 + if local_var_params.get('platform') is not None: # noqa: E501 + query_params.append(('platform', local_var_params['platform'])) # noqa: E501 + if local_var_params.get('user_id') is not None: # noqa: E501 + query_params.append(('userId', local_var_params['user_id'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[LimitedWorld]", + 401: "Error", + 403: "Error", + } + + return self.api_client.call_api( + '/worlds/recent', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_world(self, world_id, **kwargs): # noqa: E501 """Get World by ID # noqa: E501 Get information about a specific World. Works unauthenticated but when so will always return `0` for certain fields. # noqa: E501 @@ -1514,64 +995,135 @@ def get_world( >>> thread = api.get_world(world_id, async_req=True) >>> result = thread.get() - Args: - world_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - World - If the method is called asynchronously, returns the request - thread. + :param world_id: (required) + :type world_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: World """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['world_id'] = \ - world_id - return self.get_world_endpoint.call_with_http_info(**kwargs) - - def get_world_instance( - self, - world_id, - instance_id, - **kwargs - ): + kwargs['_return_http_data_only'] = True + return self.get_world_with_http_info(world_id, **kwargs) # noqa: E501 + + def get_world_with_http_info(self, world_id, **kwargs): # noqa: E501 + """Get World by ID # noqa: E501 + + Get information about a specific World. Works unauthenticated but when so will always return `0` for certain fields. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_world_with_http_info(world_id, async_req=True) + >>> result = thread.get() + + :param world_id: (required) + :type world_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(World, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'world_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_world" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'world_id' is set + if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `world_id` when calling `get_world`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'world_id' in local_var_params: + path_params['worldId'] = local_var_params['world_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie'] # noqa: E501 + + response_types_map = { + 200: "World", + 404: "Error", + } + + return self.api_client.call_api( + '/worlds/{worldId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_world_instance(self, world_id, instance_id, **kwargs): # noqa: E501 """Get World Instance # noqa: E501 Returns a worlds instance. # noqa: E501 @@ -1581,66 +1133,145 @@ def get_world_instance( >>> thread = api.get_world_instance(world_id, instance_id, async_req=True) >>> result = thread.get() - Args: - world_id (str): - instance_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Instance - If the method is called asynchronously, returns the request - thread. + :param world_id: (required) + :type world_id: str + :param instance_id: (required) + :type instance_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Instance """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['world_id'] = \ - world_id - kwargs['instance_id'] = \ - instance_id - return self.get_world_instance_endpoint.call_with_http_info(**kwargs) - - def get_world_metadata( - self, - world_id, - **kwargs - ): + kwargs['_return_http_data_only'] = True + return self.get_world_instance_with_http_info(world_id, instance_id, **kwargs) # noqa: E501 + + def get_world_instance_with_http_info(self, world_id, instance_id, **kwargs): # noqa: E501 + """Get World Instance # noqa: E501 + + Returns a worlds instance. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_world_instance_with_http_info(world_id, instance_id, async_req=True) + >>> result = thread.get() + + :param world_id: (required) + :type world_id: str + :param instance_id: (required) + :type instance_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Instance, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'world_id', + 'instance_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_world_instance" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'world_id' is set + if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `world_id` when calling `get_world_instance`") # noqa: E501 + # verify the required parameter 'instance_id' is set + if self.api_client.client_side_validation and local_var_params.get('instance_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `instance_id` when calling `get_world_instance`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'world_id' in local_var_params: + path_params['worldId'] = local_var_params['world_id'] # noqa: E501 + if 'instance_id' in local_var_params: + path_params['instanceId'] = local_var_params['instance_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "Instance", + 401: "Error", + } + + return self.api_client.call_api( + '/worlds/{worldId}/{instanceId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_world_metadata(self, world_id, **kwargs): # noqa: E501 """Get World Metadata # noqa: E501 Return a worlds custom metadata. This is currently believed to be unused. Metadata can be set with `updateWorld` and can be any arbitrary object. # noqa: E501 @@ -1650,63 +1281,135 @@ def get_world_metadata( >>> thread = api.get_world_metadata(world_id, async_req=True) >>> result = thread.get() - Args: - world_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - WorldMetadata - If the method is called asynchronously, returns the request - thread. + :param world_id: (required) + :type world_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: WorldMetadata """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['world_id'] = \ - world_id - return self.get_world_metadata_endpoint.call_with_http_info(**kwargs) - - def get_world_publish_status( - self, - world_id, - **kwargs - ): + kwargs['_return_http_data_only'] = True + return self.get_world_metadata_with_http_info(world_id, **kwargs) # noqa: E501 + + def get_world_metadata_with_http_info(self, world_id, **kwargs): # noqa: E501 + """Get World Metadata # noqa: E501 + + Return a worlds custom metadata. This is currently believed to be unused. Metadata can be set with `updateWorld` and can be any arbitrary object. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_world_metadata_with_http_info(world_id, async_req=True) + >>> result = thread.get() + + :param world_id: (required) + :type world_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(WorldMetadata, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'world_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_world_metadata" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'world_id' is set + if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `world_id` when calling `get_world_metadata`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'world_id' in local_var_params: + path_params['worldId'] = local_var_params['world_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "WorldMetadata", + 404: "Error", + } + + return self.api_client.call_api( + '/worlds/{worldId}/metadata', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_world_publish_status(self, world_id, **kwargs): # noqa: E501 """Get World Publish Status # noqa: E501 Returns a worlds publish status. # noqa: E501 @@ -1716,63 +1419,136 @@ def get_world_publish_status( >>> thread = api.get_world_publish_status(world_id, async_req=True) >>> result = thread.get() - Args: - world_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - WorldPublishStatus - If the method is called asynchronously, returns the request - thread. + :param world_id: (required) + :type world_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: WorldPublishStatus """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['world_id'] = \ - world_id - return self.get_world_publish_status_endpoint.call_with_http_info(**kwargs) - - def publish_world( - self, - world_id, - **kwargs - ): + kwargs['_return_http_data_only'] = True + return self.get_world_publish_status_with_http_info(world_id, **kwargs) # noqa: E501 + + def get_world_publish_status_with_http_info(self, world_id, **kwargs): # noqa: E501 + """Get World Publish Status # noqa: E501 + + Returns a worlds publish status. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_world_publish_status_with_http_info(world_id, async_req=True) + >>> result = thread.get() + + :param world_id: (required) + :type world_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(WorldPublishStatus, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'world_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_world_publish_status" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'world_id' is set + if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `world_id` when calling `get_world_publish_status`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'world_id' in local_var_params: + path_params['worldId'] = local_var_params['world_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "WorldPublishStatus", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/worlds/{worldId}/publish', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def publish_world(self, world_id, **kwargs): # noqa: E501 """Publish World # noqa: E501 Publish a world. You can only publish one world per week. # noqa: E501 @@ -1782,62 +1558,132 @@ def publish_world( >>> thread = api.publish_world(world_id, async_req=True) >>> result = thread.get() - Args: - world_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. + :param world_id: (required) + :type world_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['world_id'] = \ - world_id - return self.publish_world_endpoint.call_with_http_info(**kwargs) - - def search_worlds( - self, - **kwargs - ): + kwargs['_return_http_data_only'] = True + return self.publish_world_with_http_info(world_id, **kwargs) # noqa: E501 + + def publish_world_with_http_info(self, world_id, **kwargs): # noqa: E501 + """Publish World # noqa: E501 + + Publish a world. You can only publish one world per week. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.publish_world_with_http_info(world_id, async_req=True) + >>> result = thread.get() + + :param world_id: (required) + :type world_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + + local_var_params = locals() + + all_params = [ + 'world_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method publish_world" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'world_id' is set + if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `world_id` when calling `publish_world`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'world_id' in local_var_params: + path_params['worldId'] = local_var_params['world_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = {} + + return self.api_client.call_api( + '/worlds/{worldId}/publish', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def search_worlds(self, **kwargs): # noqa: E501 """Search All Worlds # noqa: E501 Search and list any worlds by query filters. # noqa: E501 @@ -1847,73 +1693,229 @@ def search_worlds( >>> thread = api.search_worlds(async_req=True) >>> result = thread.get() + :param featured: Filters on featured results. + :type featured: bool + :param sort: + :type sort: str + :param user: Set to `me` for searching own worlds. + :type user: str + :param user_id: Filter by UserID. + :type user_id: str + :param n: The number of objects to return. + :type n: int + :param order: + :type order: str + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param search: Filters by world name. + :type search: str + :param tag: Tags to include (comma-separated). Any of the tags needs to be present. + :type tag: str + :param notag: Tags to exclude (comma-separated). + :type notag: str + :param release_status: Filter by ReleaseStatus. + :type release_status: str + :param max_unity_version: The maximum Unity version supported by the asset. + :type max_unity_version: str + :param min_unity_version: The minimum Unity version supported by the asset. + :type min_unity_version: str + :param platform: The platform the asset supports. + :type platform: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[LimitedWorld] + """ + kwargs['_return_http_data_only'] = True + return self.search_worlds_with_http_info(**kwargs) # noqa: E501 + + def search_worlds_with_http_info(self, **kwargs): # noqa: E501 + """Search All Worlds # noqa: E501 + + Search and list any worlds by query filters. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True - Keyword Args: - featured (bool): Filters on featured results.. [optional] - sort (str): [optional] if omitted the server will use the default value of "popularity" - user (str): Set to `me` for searching own worlds.. [optional] if omitted the server will use the default value of "me" - user_id (str): Filter by UserID.. [optional] - n (int): The number of objects to return.. [optional] if omitted the server will use the default value of 60 - order (str): [optional] if omitted the server will use the default value of "descending" - offset (int): A zero-based offset from the default object sorting from where search results start.. [optional] - search (str): Filters by world name.. [optional] - tag (str): Tags to include (comma-separated). Any of the tags needs to be present.. [optional] - notag (str): Tags to exclude (comma-separated).. [optional] - release_status (str): Filter by ReleaseStatus.. [optional] if omitted the server will use the default value of "public" - max_unity_version (str): The maximum Unity version supported by the asset.. [optional] - min_unity_version (str): The minimum Unity version supported by the asset.. [optional] - platform (str): The platform the asset supports.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - [LimitedWorld] - If the method is called asynchronously, returns the request - thread. + >>> thread = api.search_worlds_with_http_info(async_req=True) + >>> result = thread.get() + + :param featured: Filters on featured results. + :type featured: bool + :param sort: + :type sort: str + :param user: Set to `me` for searching own worlds. + :type user: str + :param user_id: Filter by UserID. + :type user_id: str + :param n: The number of objects to return. + :type n: int + :param order: + :type order: str + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param search: Filters by world name. + :type search: str + :param tag: Tags to include (comma-separated). Any of the tags needs to be present. + :type tag: str + :param notag: Tags to exclude (comma-separated). + :type notag: str + :param release_status: Filter by ReleaseStatus. + :type release_status: str + :param max_unity_version: The maximum Unity version supported by the asset. + :type max_unity_version: str + :param min_unity_version: The minimum Unity version supported by the asset. + :type min_unity_version: str + :param platform: The platform the asset supports. + :type platform: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[LimitedWorld], status_code(int), headers(HTTPHeaderDict)) """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.search_worlds_endpoint.call_with_http_info(**kwargs) - - def unpublish_world( - self, - world_id, - **kwargs - ): + + local_var_params = locals() + + all_params = [ + 'featured', + 'sort', + 'user', + 'user_id', + 'n', + 'order', + 'offset', + 'search', + 'tag', + 'notag', + 'release_status', + 'max_unity_version', + 'min_unity_version', + 'platform' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method search_worlds" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `search_worlds`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `search_worlds`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `search_worlds`, must be a value greater than or equal to `0`") # noqa: E501 + collection_formats = {} + + path_params = {} + + query_params = [] + if local_var_params.get('featured') is not None: # noqa: E501 + query_params.append(('featured', local_var_params['featured'])) # noqa: E501 + if local_var_params.get('sort') is not None: # noqa: E501 + query_params.append(('sort', local_var_params['sort'])) # noqa: E501 + if local_var_params.get('user') is not None: # noqa: E501 + query_params.append(('user', local_var_params['user'])) # noqa: E501 + if local_var_params.get('user_id') is not None: # noqa: E501 + query_params.append(('userId', local_var_params['user_id'])) # noqa: E501 + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('order') is not None: # noqa: E501 + query_params.append(('order', local_var_params['order'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + if local_var_params.get('search') is not None: # noqa: E501 + query_params.append(('search', local_var_params['search'])) # noqa: E501 + if local_var_params.get('tag') is not None: # noqa: E501 + query_params.append(('tag', local_var_params['tag'])) # noqa: E501 + if local_var_params.get('notag') is not None: # noqa: E501 + query_params.append(('notag', local_var_params['notag'])) # noqa: E501 + if local_var_params.get('release_status') is not None: # noqa: E501 + query_params.append(('releaseStatus', local_var_params['release_status'])) # noqa: E501 + if local_var_params.get('max_unity_version') is not None: # noqa: E501 + query_params.append(('maxUnityVersion', local_var_params['max_unity_version'])) # noqa: E501 + if local_var_params.get('min_unity_version') is not None: # noqa: E501 + query_params.append(('minUnityVersion', local_var_params['min_unity_version'])) # noqa: E501 + if local_var_params.get('platform') is not None: # noqa: E501 + query_params.append(('platform', local_var_params['platform'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[LimitedWorld]", + 401: "Error", + } + + return self.api_client.call_api( + '/worlds', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def unpublish_world(self, world_id, **kwargs): # noqa: E501 """Unpublish World # noqa: E501 Unpublish a world. # noqa: E501 @@ -1923,63 +1925,132 @@ def unpublish_world( >>> thread = api.unpublish_world(world_id, async_req=True) >>> result = thread.get() - Args: - world_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. + :param world_id: (required) + :type world_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['world_id'] = \ - world_id - return self.unpublish_world_endpoint.call_with_http_info(**kwargs) - - def update_world( - self, - world_id, - **kwargs - ): + kwargs['_return_http_data_only'] = True + return self.unpublish_world_with_http_info(world_id, **kwargs) # noqa: E501 + + def unpublish_world_with_http_info(self, world_id, **kwargs): # noqa: E501 + """Unpublish World # noqa: E501 + + Unpublish a world. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.unpublish_world_with_http_info(world_id, async_req=True) + >>> result = thread.get() + + :param world_id: (required) + :type world_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + + local_var_params = locals() + + all_params = [ + 'world_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method unpublish_world" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'world_id' is set + if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `world_id` when calling `unpublish_world`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'world_id' in local_var_params: + path_params['worldId'] = local_var_params['world_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = {} + + return self.api_client.call_api( + '/worlds/{worldId}/publish', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def update_world(self, world_id, **kwargs): # noqa: E501 """Update World # noqa: E501 Update information about a specific World. # noqa: E501 @@ -1989,56 +2060,146 @@ def update_world( >>> thread = api.update_world(world_id, async_req=True) >>> result = thread.get() - Args: - world_id (str): - - Keyword Args: - update_world_request (UpdateWorldRequest): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - World - If the method is called asynchronously, returns the request - thread. + :param world_id: (required) + :type world_id: str + :param update_world_request: + :type update_world_request: UpdateWorldRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: World + """ + kwargs['_return_http_data_only'] = True + return self.update_world_with_http_info(world_id, **kwargs) # noqa: E501 + + def update_world_with_http_info(self, world_id, **kwargs): # noqa: E501 + """Update World # noqa: E501 + + Update information about a specific World. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_world_with_http_info(world_id, async_req=True) + >>> result = thread.get() + + :param world_id: (required) + :type world_id: str + :param update_world_request: + :type update_world_request: UpdateWorldRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(World, status_code(int), headers(HTTPHeaderDict)) """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['world_id'] = \ - world_id - return self.update_world_endpoint.call_with_http_info(**kwargs) + local_var_params = locals() + + all_params = [ + 'world_id', + 'update_world_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method update_world" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'world_id' is set + if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `world_id` when calling `update_world`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'world_id' in local_var_params: + path_params['worldId'] = local_var_params['world_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'update_world_request' in local_var_params: + body_params = local_var_params['update_world_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'PUT', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "World", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/worlds/{worldId}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index 0ab3d6d6..bc843966 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -1,3 +1,4 @@ +# coding: utf-8 """ VRChat API Documentation @@ -7,36 +8,26 @@ Generated by: https://openapi-generator.tech """ +from __future__ import absolute_import -import json import atexit +import datetime +from dateutil.parser import parse +import json import mimetypes from multiprocessing.pool import ThreadPool -import io import os import re -import typing -from urllib.parse import quote -from urllib3.fields import RequestField +import tempfile +# python 2 and python 3 compatibility library +import six +from six.moves.urllib.parse import quote -from vrchatapi import rest from vrchatapi.configuration import Configuration -from vrchatapi.exceptions import ApiTypeError, ApiValueError, ApiException -from vrchatapi.model_utils import ( - ModelNormal, - ModelSimple, - ModelComposed, - check_allowed_values, - check_validations, - date, - datetime, - deserialize_file, - file_type, - model_to_dict, - none_type, - validate_and_convert_types -) +import vrchatapi.models +from vrchatapi import rest +from vrchatapi.exceptions import ApiValueError, ApiException class ApiClient(object): @@ -61,6 +52,17 @@ class ApiClient(object): to the API. More threads means more concurrent API requests. """ + PRIMITIVE_TYPES = (float, bool, bytes, six.text_type) + six.integer_types + NATIVE_TYPES_MAPPING = { + 'int': int, + 'long': int if six.PY3 else long, # noqa: F821 + 'float': float, + 'str': str, + 'bool': bool, + 'date': datetime.date, + 'datetime': datetime.datetime, + 'object': object, + } _pool = None def __init__(self, configuration=None, header_name=None, header_value=None, @@ -77,6 +79,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.cookie = cookie # Set default User-Agent. self.user_agent = 'vrchatapi-py' + self.client_side_validation = configuration.client_side_validation def __enter__(self): return self @@ -115,24 +118,12 @@ def set_default_header(self, header_name, header_value): self.default_headers[header_name] = header_value def __call_api( - self, - resource_path: str, - method: str, - path_params: typing.Optional[typing.Dict[str, typing.Any]] = None, - query_params: typing.Optional[typing.List[typing.Tuple[str, typing.Any]]] = None, - header_params: typing.Optional[typing.Dict[str, typing.Any]] = None, - body: typing.Optional[typing.Any] = None, - post_params: typing.Optional[typing.List[typing.Tuple[str, typing.Any]]] = None, - files: typing.Optional[typing.Dict[str, typing.List[io.IOBase]]] = None, - response_type: typing.Optional[typing.Tuple[typing.Any]] = None, - auth_settings: typing.Optional[typing.List[str]] = None, - _return_http_data_only: typing.Optional[bool] = None, - collection_formats: typing.Optional[typing.Dict[str, str]] = None, - _preload_content: bool = True, - _request_timeout: typing.Optional[typing.Union[int, float, typing.Tuple]] = None, - _host: typing.Optional[str] = None, - _check_type: typing.Optional[bool] = None - ): + self, resource_path, method, path_params=None, + query_params=None, header_params=None, body=None, post_params=None, + files=None, response_types_map=None, auth_settings=None, + _return_http_data_only=None, collection_formats=None, + _preload_content=True, _request_timeout=None, _host=None, + _request_auth=None): config = self.configuration @@ -160,7 +151,7 @@ def __call_api( # query parameters if query_params: - query_params = self.sanitize_for_serialization(query_params, True) + query_params = self.sanitize_for_serialization(query_params) query_params = self.parameters_to_tuples(query_params, collection_formats) @@ -171,18 +162,16 @@ def __call_api( post_params = self.parameters_to_tuples(post_params, collection_formats) post_params.extend(self.files_parameters(files)) - if header_params['Content-Type'].startswith("multipart"): - post_params = self.parameters_to_multipart(post_params, - (dict) ) + + # auth setting + self.update_params_for_auth( + header_params, query_params, auth_settings, + request_auth=_request_auth) # body if body: body = self.sanitize_for_serialization(body) - # auth setting - self.update_params_for_auth(header_params, query_params, - auth_settings, resource_path, method, body) - # request url if _host is None: url = self.configuration.host + resource_path @@ -198,7 +187,7 @@ def __call_api( _preload_content=_preload_content, _request_timeout=_request_timeout) except ApiException as e: - e.body = e.body.decode('utf-8') + e.body = e.body.decode('utf-8') if six.PY3 else e.body raise e self.last_response = response_data @@ -206,25 +195,22 @@ def __call_api( return_data = response_data if not _preload_content: - return (return_data) return return_data + response_type = response_types_map.get(response_data.status, None) + + if six.PY3 and response_type not in ["file", "bytes"]: + match = None + content_type = response_data.getheader('content-type') + if content_type is not None: + match = re.search(r"charset=([a-zA-Z\-\d]+)[\s\;]?", content_type) + encoding = match.group(1) if match else "utf-8" + response_data.data = response_data.data.decode(encoding) + # deserialize response data + if response_type: - if response_type != (file_type,): - encoding = "utf-8" - content_type = response_data.getheader('content-type') - if content_type is not None: - match = re.search(r"charset=([a-zA-Z\-\d]+)[\s\;]?", content_type) - if match: - encoding = match.group(1) - response_data.data = response_data.data.decode(encoding) - - return_data = self.deserialize( - response_data, - response_type, - _check_type - ) + return_data = self.deserialize(response_data, response_type) else: return_data = None @@ -234,29 +220,9 @@ def __call_api( return (return_data, response_data.status, response_data.getheaders()) - def parameters_to_multipart(self, params, collection_types): - """Get parameters as list of tuples, formatting as json if value is collection_types - - :param params: Parameters as list of two-tuples - :param dict collection_types: Parameter collection types - :return: Parameters as list of tuple or urllib3.fields.RequestField - """ - new_params = [] - if collection_types is None: - collection_types = (dict) - for k, v in params.items() if isinstance(params, dict) else params: # noqa: E501 - if isinstance(v, collection_types): # v is instance of collection_type, formatting as application/json - v = json.dumps(v, ensure_ascii=False).encode("utf-8") - field = RequestField(k, v) - field.make_multipart(content_type="application/json; charset=utf-8") - new_params.append(field) - else: - new_params.append((k, v)) - return new_params + def sanitize_for_serialization(self, obj): + """Builds a JSON POST object. - @classmethod - def sanitize_for_serialization(cls, obj, query=False): - """Prepares data for transmission before it is sent with the rest client If obj is None, return None. If obj is str, int, long, float, bool, return directly. If obj is datetime.datetime, datetime.date @@ -264,96 +230,106 @@ def sanitize_for_serialization(cls, obj, query=False): If obj is list, sanitize each element in the list. If obj is dict, return the dict. If obj is OpenAPI model, return the properties dict. - If obj is io.IOBase, return the bytes - If obj is bool and query is true, return str + :param obj: The data to serialize. :return: The serialized form of data. """ - if isinstance(obj, (ModelNormal, ModelComposed)): - return { - key: cls.sanitize_for_serialization(val) for key, val in model_to_dict(obj, serialize=True).items() - } - elif isinstance(obj, bool) and query: - return str(obj).lower() - elif isinstance(obj, io.IOBase): - return cls.get_file_data_and_close_file(obj) - elif isinstance(obj, (str, int, float, none_type, bool)): + if obj is None: + return None + elif isinstance(obj, self.PRIMITIVE_TYPES): return obj - elif isinstance(obj, (datetime, date)): + elif isinstance(obj, list): + return [self.sanitize_for_serialization(sub_obj) + for sub_obj in obj] + elif isinstance(obj, tuple): + return tuple(self.sanitize_for_serialization(sub_obj) + for sub_obj in obj) + elif isinstance(obj, (datetime.datetime, datetime.date)): return obj.isoformat() - elif isinstance(obj, ModelSimple): - return cls.sanitize_for_serialization(obj.value, query) - elif isinstance(obj, (list, tuple)): - return [cls.sanitize_for_serialization(item, query) for item in obj] - if isinstance(obj, dict): - return {key: cls.sanitize_for_serialization(val, query) for key, val in obj.items()} - raise ApiValueError('Unable to prepare type {} for serialization'.format(obj.__class__.__name__)) - def deserialize(self, response, response_type, _check_type): + if isinstance(obj, dict): + obj_dict = obj + else: + # Convert model obj to dict except + # attributes `openapi_types`, `attribute_map` + # and attributes which value is not None. + # Convert attribute name to json key in + # model definition for request. + obj_dict = {obj.attribute_map[attr]: getattr(obj, attr) + for attr, _ in six.iteritems(obj.openapi_types) + if getattr(obj, attr) is not None} + + return {key: self.sanitize_for_serialization(val) + for key, val in six.iteritems(obj_dict)} + + def deserialize(self, response, response_type): """Deserializes response into an object. :param response: RESTResponse object to be deserialized. - :param response_type: For the response, a tuple containing: - valid classes - a list containing valid classes (for list schemas) - a dict containing a tuple of valid classes as the value - Example values: - (str,) - (Pet,) - (float, none_type) - ([int, none_type],) - ({str: (bool, str, int, float, date, datetime, str, none_type)},) - :param _check_type: boolean, whether to check the types of the data - received from the server - :type _check_type: bool + :param response_type: class literal for + deserialized object, or string of class name. :return: deserialized object. """ # handle file downloading # save response body into a tmp file and return the instance - if response_type == (file_type,): - content_disposition = response.getheader("Content-Disposition") - return deserialize_file(response.data, self.configuration, - content_disposition=content_disposition) + if response_type == "file": + return self.__deserialize_file(response) # fetch data from response object try: - received_data = json.loads(response.data) + data = json.loads(response.data) except ValueError: - received_data = response.data - - # store our data under the key of 'received_data' so users have some - # context if they are deserializing a string and the data type is wrong - deserialized_data = validate_and_convert_types( - received_data, - response_type, - ['received_data'], - True, - _check_type, - configuration=self.configuration - ) - return deserialized_data - - def call_api( - self, - resource_path: str, - method: str, - path_params: typing.Optional[typing.Dict[str, typing.Any]] = None, - query_params: typing.Optional[typing.List[typing.Tuple[str, typing.Any]]] = None, - header_params: typing.Optional[typing.Dict[str, typing.Any]] = None, - body: typing.Optional[typing.Any] = None, - post_params: typing.Optional[typing.List[typing.Tuple[str, typing.Any]]] = None, - files: typing.Optional[typing.Dict[str, typing.List[io.IOBase]]] = None, - response_type: typing.Optional[typing.Tuple[typing.Any]] = None, - auth_settings: typing.Optional[typing.List[str]] = None, - async_req: typing.Optional[bool] = None, - _return_http_data_only: typing.Optional[bool] = None, - collection_formats: typing.Optional[typing.Dict[str, str]] = None, - _preload_content: bool = True, - _request_timeout: typing.Optional[typing.Union[int, float, typing.Tuple]] = None, - _host: typing.Optional[str] = None, - _check_type: typing.Optional[bool] = None - ): + data = response.data + + return self.__deserialize(data, response_type) + + def __deserialize(self, data, klass): + """Deserializes dict, list, str into an object. + + :param data: dict, list or str. + :param klass: class literal, or string of class name. + + :return: object. + """ + if data is None: + return None + + if type(klass) == str: + if klass.startswith('list['): + sub_kls = re.match(r'list\[(.*)\]', klass).group(1) + return [self.__deserialize(sub_data, sub_kls) + for sub_data in data] + + if klass.startswith('dict('): + sub_kls = re.match(r'dict\(([^,]*), (.*)\)', klass).group(2) + return {k: self.__deserialize(v, sub_kls) + for k, v in six.iteritems(data)} + + # convert str to class + if klass in self.NATIVE_TYPES_MAPPING: + klass = self.NATIVE_TYPES_MAPPING[klass] + else: + klass = getattr(vrchatapi.models, klass) + + if klass in self.PRIMITIVE_TYPES: + return self.__deserialize_primitive(data, klass) + elif klass == object: + return self.__deserialize_object(data) + elif klass == datetime.date: + return self.__deserialize_date(data) + elif klass == datetime.datetime: + return self.__deserialize_datetime(data) + else: + return self.__deserialize_model(data, klass) + + def call_api(self, resource_path, method, + path_params=None, query_params=None, header_params=None, + body=None, post_params=None, files=None, + response_types_map=None, auth_settings=None, + async_req=None, _return_http_data_only=None, + collection_formats=None,_preload_content=True, + _request_timeout=None, _host=None, _request_auth=None): """Makes the HTTP request (synchronous) and returns deserialized data. To make an async_req request, set the async_req parameter. @@ -368,38 +344,25 @@ def call_api( :param post_params dict: Request post form parameters, for `application/x-www-form-urlencoded`, `multipart/form-data`. :param auth_settings list: Auth Settings names for the request. - :param response_type: For the response, a tuple containing: - valid classes - a list containing valid classes (for list schemas) - a dict containing a tuple of valid classes as the value - Example values: - (str,) - (Pet,) - (float, none_type) - ([int, none_type],) - ({str: (bool, str, int, float, date, datetime, str, none_type)},) - :param files: key -> field name, value -> a list of open file - objects for `multipart/form-data`. - :type files: dict + :param response: Response data type. + :param files dict: key -> filename, value -> filepath, + for `multipart/form-data`. :param async_req bool: execute request asynchronously - :type async_req: bool, optional :param _return_http_data_only: response data without head status code and headers - :type _return_http_data_only: bool, optional :param collection_formats: dict of collection formats for path, query, header, and post parameters. - :type collection_formats: dict, optional :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. - :type _preload_content: bool, optional :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :param _check_type: boolean describing if the data back from the server - should have its type checked. - :type _check_type: bool, optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_token: dict, optional :return: If async_req parameter is True, the request will be called asynchronously. @@ -411,23 +374,23 @@ def call_api( return self.__call_api(resource_path, method, path_params, query_params, header_params, body, post_params, files, - response_type, auth_settings, + response_types_map, auth_settings, _return_http_data_only, collection_formats, _preload_content, _request_timeout, _host, - _check_type) + _request_auth) return self.pool.apply_async(self.__call_api, (resource_path, method, path_params, query_params, header_params, body, post_params, files, - response_type, + response_types_map, auth_settings, _return_http_data_only, collection_formats, _preload_content, _request_timeout, - _host, _check_type)) + _host, _request_auth)) def request(self, method, url, query_params=None, headers=None, post_params=None, body=None, _preload_content=True, @@ -449,10 +412,8 @@ def request(self, method, url, query_params=None, headers=None, return self.rest_client.OPTIONS(url, query_params=query_params, headers=headers, - post_params=post_params, _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) + _request_timeout=_request_timeout) elif method == "POST": return self.rest_client.POST(url, query_params=query_params, @@ -500,7 +461,7 @@ def parameters_to_tuples(self, params, collection_formats): new_params = [] if collection_formats is None: collection_formats = {} - for k, v in params.items() if isinstance(params, dict) else params: # noqa: E501 + for k, v in six.iteritems(params) if isinstance(params, dict) else params: # noqa: E501 if k in collection_formats: collection_format = collection_formats[k] if collection_format == 'multi': @@ -520,42 +481,27 @@ def parameters_to_tuples(self, params, collection_formats): new_params.append((k, v)) return new_params - @staticmethod - def get_file_data_and_close_file(file_instance: io.IOBase) -> bytes: - file_data = file_instance.read() - file_instance.close() - return file_data - - def files_parameters(self, files: typing.Optional[typing.Dict[str, typing.List[io.IOBase]]] = None): + def files_parameters(self, files=None): """Builds form parameters. - :param files: None or a dict with key=param_name and - value is a list of open file objects - :return: List of tuples of form parameters with file data + :param files: File parameters. + :return: Form parameters with files. """ - if files is None: - return [] - params = [] - for param_name, file_instances in files.items(): - if file_instances is None: - # if the file field is nullable, skip None values - continue - for file_instance in file_instances: - if file_instance is None: - # if the file field is nullable, skip None values + + if files: + for k, v in six.iteritems(files): + if not v: continue - if file_instance.closed is True: - raise ApiValueError( - "Cannot read a closed file. The passed in file_type " - "for %s must be open." % param_name - ) - filename = os.path.basename(file_instance.name) - filedata = self.get_file_data_and_close_file(file_instance) - mimetype = (mimetypes.guess_type(filename)[0] or - 'application/octet-stream') - params.append( - tuple([param_name, tuple([filename, filedata, mimetype])])) + file_names = v if type(v) is list else [v] + for n in file_names: + with open(n, 'rb') as f: + filename = os.path.basename(f.name) + filedata = f.read() + mimetype = (mimetypes.guess_type(filename)[0] or + 'application/octet-stream') + params.append( + tuple([k, tuple([filename, filedata, mimetype])])) return params @@ -575,279 +521,180 @@ def select_header_accept(self, accepts): else: return ', '.join(accepts) - def select_header_content_type(self, content_types): + def select_header_content_type(self, content_types, method=None, body=None): """Returns `Content-Type` based on an array of content_types provided. :param content_types: List of content-types. + :param method: http method (e.g. POST, PATCH). + :param body: http body to send. :return: Content-Type (e.g. application/json). """ if not content_types: - return 'application/json' + return None content_types = [x.lower() for x in content_types] + if (method == 'PATCH' and + 'application/json-patch+json' in content_types and + isinstance(body, list)): + return 'application/json-patch+json' + if 'application/json' in content_types or '*/*' in content_types: return 'application/json' else: return content_types[0] def update_params_for_auth(self, headers, queries, auth_settings, - resource_path, method, body): + request_auth=None): """Updates header and query params based on authentication setting. :param headers: Header parameters dict to be updated. :param queries: Query parameters tuple list to be updated. :param auth_settings: Authentication setting identifiers list. - :param resource_path: A string representation of the HTTP request resource path. - :param method: A string representation of the HTTP request method. - :param body: A object representing the body of the HTTP request. - The object type is the return value of _encoder.default(). + :param request_auth: if set, the provided settings will + override the token in the configuration. """ if not auth_settings: return + if request_auth: + self._apply_auth_params(headers, queries, request_auth) + return + for auth in auth_settings: auth_setting = self.configuration.auth_settings().get(auth) if auth_setting: - if auth_setting['in'] == 'cookie': - headers['Cookie'] = auth_setting['value'] - elif auth_setting['in'] == 'header': - if auth_setting['type'] != 'http-signature': - headers[auth_setting['key']] = auth_setting['value'] - elif auth_setting['in'] == 'query': - queries.append((auth_setting['key'], auth_setting['value'])) - else: - raise ApiValueError( - 'Authentication token must be in `query` or `header`' - ) - - -class Endpoint(object): - def __init__(self, settings=None, params_map=None, root_map=None, - headers_map=None, api_client=None, callable=None): - """Creates an endpoint - - Args: - settings (dict): see below key value pairs - 'response_type' (tuple/None): response type - 'auth' (list): a list of auth type keys - 'endpoint_path' (str): the endpoint path - 'operation_id' (str): endpoint string identifier - 'http_method' (str): POST/PUT/PATCH/GET etc - 'servers' (list): list of str servers that this endpoint is at - params_map (dict): see below key value pairs - 'all' (list): list of str endpoint parameter names - 'required' (list): list of required parameter names - 'nullable' (list): list of nullable parameter names - 'enum' (list): list of parameters with enum values - 'validation' (list): list of parameters with validations - root_map - 'validations' (dict): the dict mapping endpoint parameter tuple - paths to their validation dictionaries - 'allowed_values' (dict): the dict mapping endpoint parameter - tuple paths to their allowed_values (enum) dictionaries - 'openapi_types' (dict): param_name to openapi type - 'attribute_map' (dict): param_name to camelCase name - 'location_map' (dict): param_name to 'body', 'file', 'form', - 'header', 'path', 'query' - collection_format_map (dict): param_name to `csv` etc. - headers_map (dict): see below key value pairs - 'accept' (list): list of Accept header strings - 'content_type' (list): list of Content-Type header strings - api_client (ApiClient) api client instance - callable (function): the function which is invoked when the - Endpoint is called + self._apply_auth_params(headers, queries, auth_setting) + + def _apply_auth_params(self, headers, queries, auth_setting): + """Updates the request parameters based on a single auth_setting + + :param headers: Header parameters dict to be updated. + :param queries: Query parameters tuple list to be updated. + :param auth_setting: auth settings for the endpoint """ - self.settings = settings - self.params_map = params_map - self.params_map['all'].extend([ - 'async_req', - '_host_index', - '_preload_content', - '_request_timeout', - '_return_http_data_only', - '_check_input_type', - '_check_return_type' - ]) - self.params_map['nullable'].extend(['_request_timeout']) - self.validations = root_map['validations'] - self.allowed_values = root_map['allowed_values'] - self.openapi_types = root_map['openapi_types'] - extra_types = { - 'async_req': (bool,), - '_host_index': (none_type, int), - '_preload_content': (bool,), - '_request_timeout': (none_type, float, (float,), [float], int, (int,), [int]), - '_return_http_data_only': (bool,), - '_check_input_type': (bool,), - '_check_return_type': (bool,) - } - self.openapi_types.update(extra_types) - self.attribute_map = root_map['attribute_map'] - self.location_map = root_map['location_map'] - self.collection_format_map = root_map['collection_format_map'] - self.headers_map = headers_map - self.api_client = api_client - self.callable = callable - - def __validate_inputs(self, kwargs): - for param in self.params_map['enum']: - if param in kwargs: - check_allowed_values( - self.allowed_values, - (param,), - kwargs[param] - ) + if auth_setting['in'] == 'cookie': + headers['Cookie'] = auth_setting['value'] + elif auth_setting['in'] == 'header': + headers[auth_setting['key']] = auth_setting['value'] + elif auth_setting['in'] == 'query': + queries.append((auth_setting['key'], auth_setting['value'])) + else: + raise ApiValueError( + 'Authentication token must be in `query` or `header`' + ) - for param in self.params_map['validation']: - if param in kwargs: - check_validations( - self.validations, - (param,), - kwargs[param], - configuration=self.api_client.configuration - ) + def __deserialize_file(self, response): + """Deserializes body to file - if kwargs['_check_input_type'] is False: - return + Saves response body into a file in a temporary folder, + using the filename from the `Content-Disposition` header if provided. - for key, value in kwargs.items(): - fixed_val = validate_and_convert_types( - value, - self.openapi_types[key], - [key], - False, - kwargs['_check_input_type'], - configuration=self.api_client.configuration - ) - kwargs[key] = fixed_val - - def __gather_params(self, kwargs): - params = { - 'body': None, - 'collection_format': {}, - 'file': {}, - 'form': [], - 'header': {}, - 'path': {}, - 'query': [] - } - - for param_name, param_value in kwargs.items(): - param_location = self.location_map.get(param_name) - if param_location is None: - continue - if param_location: - if param_location == 'body': - params['body'] = param_value - continue - base_name = self.attribute_map[param_name] - if (param_location == 'form' and - self.openapi_types[param_name] == (file_type,)): - params['file'][param_name] = [param_value] - elif (param_location == 'form' and - self.openapi_types[param_name] == ([file_type],)): - # param_value is already a list - params['file'][param_name] = param_value - elif param_location in {'form', 'query'}: - param_value_full = (base_name, param_value) - params[param_location].append(param_value_full) - if param_location not in {'form', 'query'}: - params[param_location][base_name] = param_value - collection_format = self.collection_format_map.get(param_name) - if collection_format: - params['collection_format'][base_name] = collection_format + :param response: RESTResponse. + :return: file path. + """ + fd, path = tempfile.mkstemp(dir=self.configuration.temp_folder_path) + os.close(fd) + os.remove(path) - return params + content_disposition = response.getheader("Content-Disposition") + if content_disposition: + filename = re.search(r'filename=[\'"]?([^\'"\s]+)[\'"]?', + content_disposition).group(1) + path = os.path.join(os.path.dirname(path), filename) + + with open(path, "wb") as f: + f.write(response.data) - def __call__(self, *args, **kwargs): - """ This method is invoked when endpoints are called - Example: + return path - api_instance = AuthenticationApi() - api_instance.check_user_exists # this is an instance of the class Endpoint - api_instance.check_user_exists() # this invokes api_instance.check_user_exists.__call__() - which then invokes the callable functions stored in that endpoint at - api_instance.check_user_exists.callable or self.callable in this class + def __deserialize_primitive(self, data, klass): + """Deserializes string to primitive type. + :param data: str. + :param klass: class literal. + + :return: int, long, float, str, bool. """ - return self.callable(self, *args, **kwargs) + try: + return klass(data) + except UnicodeEncodeError: + return six.text_type(data) + except TypeError: + return data - def call_with_http_info(self, **kwargs): + def __deserialize_object(self, value): + """Return an original value. + :return: object. + """ + return value + + def __deserialize_date(self, string): + """Deserializes string to date. + + :param string: str. + :return: date. + """ try: - index = self.api_client.configuration.server_operation_index.get( - self.settings['operation_id'], self.api_client.configuration.server_index - ) if kwargs['_host_index'] is None else kwargs['_host_index'] - server_variables = self.api_client.configuration.server_operation_variables.get( - self.settings['operation_id'], self.api_client.configuration.server_variables - ) - _host = self.api_client.configuration.get_host_from_settings( - index, variables=server_variables, servers=self.settings['servers'] + return parse(string).date() + except ImportError: + return string + except ValueError: + raise rest.ApiException( + status=0, + reason="Failed to parse `{0}` as date object".format(string) ) - except IndexError: - if self.settings['servers']: - raise ApiValueError( - "Invalid host index. Must be 0 <= index < %s" % - len(self.settings['servers']) - ) - _host = None - - for key, value in kwargs.items(): - if key not in self.params_map['all']: - raise ApiTypeError( - "Got an unexpected parameter '%s'" - " to method `%s`" % - (key, self.settings['operation_id']) - ) - # only throw this nullable ApiValueError if _check_input_type - # is False, if _check_input_type==True we catch this case - # in self.__validate_inputs - if (key not in self.params_map['nullable'] and value is None - and kwargs['_check_input_type'] is False): - raise ApiValueError( - "Value may not be None for non-nullable parameter `%s`" - " when calling `%s`" % - (key, self.settings['operation_id']) - ) - for key in self.params_map['required']: - if key not in kwargs.keys(): - raise ApiValueError( - "Missing the required parameter `%s` when calling " - "`%s`" % (key, self.settings['operation_id']) + def __deserialize_datetime(self, string): + """Deserializes string to datetime. + + The string should be in iso8601 datetime format. + + :param string: str. + :return: datetime. + """ + try: + return parse(string) + except ImportError: + return string + except ValueError: + raise rest.ApiException( + status=0, + reason=( + "Failed to parse `{0}` as datetime object" + .format(string) ) + ) - self.__validate_inputs(kwargs) - - params = self.__gather_params(kwargs) - - accept_headers_list = self.headers_map['accept'] - if accept_headers_list: - params['header']['Accept'] = self.api_client.select_header_accept( - accept_headers_list) - - content_type_headers_list = self.headers_map['content_type'] - if content_type_headers_list: - if params['body'] != "": - header_list = self.api_client.select_header_content_type( - content_type_headers_list) - params['header']['Content-Type'] = header_list - - return self.api_client.call_api( - self.settings['endpoint_path'], self.settings['http_method'], - params['path'], - params['query'], - params['header'], - body=params['body'], - post_params=params['form'], - files=params['file'], - response_type=self.settings['response_type'], - auth_settings=self.settings['auth'], - async_req=kwargs['async_req'], - _check_type=kwargs['_check_return_type'], - _return_http_data_only=kwargs['_return_http_data_only'], - _preload_content=kwargs['_preload_content'], - _request_timeout=kwargs['_request_timeout'], - _host=_host, - collection_formats=params['collection_format']) + def __deserialize_model(self, data, klass): + """Deserializes list or dict to model. + + :param data: dict, list. + :param klass: class literal. + :return: model object. + """ + has_discriminator = False + if (hasattr(klass, 'get_real_child_model') + and klass.discriminator_value_class_map): + has_discriminator = True + + if not klass.openapi_types and has_discriminator is False: + return data + + kwargs = {} + if (data is not None and + klass.openapi_types is not None and + isinstance(data, (list, dict))): + for attr, attr_type in six.iteritems(klass.openapi_types): + if klass.attribute_map[attr] in data: + value = data[klass.attribute_map[attr]] + kwargs[attr] = self.__deserialize(value, attr_type) + + instance = klass(**kwargs) + + if has_discriminator: + klass_name = instance.get_real_child_model(data) + if klass_name: + instance = self.__deserialize(data, klass_name) + return instance diff --git a/vrchatapi/api_client.py.orig b/vrchatapi/api_client.py.orig deleted file mode 100644 index ba26ee37..00000000 --- a/vrchatapi/api_client.py.orig +++ /dev/null @@ -1,850 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import json -import atexit -import mimetypes -from multiprocessing.pool import ThreadPool -import io -import os -import re -import typing -from urllib.parse import quote -from urllib3.fields import RequestField - - -from vrchatapi import rest -from vrchatapi.configuration import Configuration -from vrchatapi.exceptions import ApiTypeError, ApiValueError, ApiException -from vrchatapi.model_utils import ( - ModelNormal, - ModelSimple, - ModelComposed, - check_allowed_values, - check_validations, - date, - datetime, - deserialize_file, - file_type, - model_to_dict, - none_type, - validate_and_convert_types -) - - -class ApiClient(object): - """Generic API client for OpenAPI client library builds. - - OpenAPI generic API client. This client handles the client- - server communication, and is invariant across implementations. Specifics of - the methods and models for each application are generated from the OpenAPI - templates. - - NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - Do not edit the class manually. - - :param configuration: .Configuration object for this client - :param header_name: a header to pass when making calls to the API. - :param header_value: a header value to pass when making calls to - the API. - :param cookie: a cookie to include in the header when making calls - to the API - :param pool_threads: The number of threads to use for async requests - to the API. More threads means more concurrent API requests. - """ - - _pool = None - - def __init__(self, configuration=None, header_name=None, header_value=None, - cookie=None, pool_threads=1): - if configuration is None: - configuration = Configuration.get_default_copy() - self.configuration = configuration - self.pool_threads = pool_threads - - self.rest_client = rest.RESTClientObject(configuration) - self.default_headers = {} - if header_name is not None: - self.default_headers[header_name] = header_value - self.cookie = cookie - # Set default User-Agent. - self.user_agent = 'vrchatapi-py' - - def __enter__(self): - return self - - def __exit__(self, exc_type, exc_value, traceback): - self.close() - - def close(self): - if self._pool: - self._pool.close() - self._pool.join() - self._pool = None - if hasattr(atexit, 'unregister'): - atexit.unregister(self.close) - - @property - def pool(self): - """Create thread pool on first request - avoids instantiating unused threadpool for blocking clients. - """ - if self._pool is None: - atexit.register(self.close) - self._pool = ThreadPool(self.pool_threads) - return self._pool - - @property - def user_agent(self): - """User agent for this API client""" - return self.default_headers['User-Agent'] - - @user_agent.setter - def user_agent(self, value): - self.default_headers['User-Agent'] = value - - def set_default_header(self, header_name, header_value): - self.default_headers[header_name] = header_value - - def __call_api( - self, - resource_path: str, - method: str, - path_params: typing.Optional[typing.Dict[str, typing.Any]] = None, - query_params: typing.Optional[typing.List[typing.Tuple[str, typing.Any]]] = None, - header_params: typing.Optional[typing.Dict[str, typing.Any]] = None, - body: typing.Optional[typing.Any] = None, - post_params: typing.Optional[typing.List[typing.Tuple[str, typing.Any]]] = None, - files: typing.Optional[typing.Dict[str, typing.List[io.IOBase]]] = None, - response_type: typing.Optional[typing.Tuple[typing.Any]] = None, - auth_settings: typing.Optional[typing.List[str]] = None, - _return_http_data_only: typing.Optional[bool] = None, - collection_formats: typing.Optional[typing.Dict[str, str]] = None, - _preload_content: bool = True, - _request_timeout: typing.Optional[typing.Union[int, float, typing.Tuple]] = None, - _host: typing.Optional[str] = None, - _check_type: typing.Optional[bool] = None - ): - - config = self.configuration - - # header parameters - header_params = header_params or {} - header_params.update(self.default_headers) - if self.cookie: - header_params['Cookie'] = self.cookie - if header_params: - header_params = self.sanitize_for_serialization(header_params) - header_params = dict(self.parameters_to_tuples(header_params, - collection_formats)) - - # path parameters - if path_params: - path_params = self.sanitize_for_serialization(path_params) - path_params = self.parameters_to_tuples(path_params, - collection_formats) - for k, v in path_params: - # specified safe chars, encode everything - resource_path = resource_path.replace( - '{%s}' % k, - quote(str(v), safe=config.safe_chars_for_path_param) - ) - - # query parameters - if query_params: - query_params = self.sanitize_for_serialization(query_params) - query_params = self.parameters_to_tuples(query_params, - collection_formats) - - # post parameters - if post_params or files: - post_params = post_params if post_params else [] - post_params = self.sanitize_for_serialization(post_params) - post_params = self.parameters_to_tuples(post_params, - collection_formats) - post_params.extend(self.files_parameters(files)) - if header_params['Content-Type'].startswith("multipart"): - post_params = self.parameters_to_multipart(post_params, - (dict) ) - - # body - if body: - body = self.sanitize_for_serialization(body) - - # auth setting - self.update_params_for_auth(header_params, query_params, - auth_settings, resource_path, method, body) - - # request url - if _host is None: - url = self.configuration.host + resource_path - else: - # use server/host defined in path or operation instead - url = _host + resource_path - - try: - # perform request and return response - response_data = self.request( - method, url, query_params=query_params, headers=header_params, - post_params=post_params, body=body, - _preload_content=_preload_content, - _request_timeout=_request_timeout) - except ApiException as e: - e.body = e.body.decode('utf-8') - raise e - - self.last_response = response_data - - return_data = response_data - - if not _preload_content: - return (return_data) - return return_data - - # deserialize response data - if response_type: - if response_type != (file_type,): - encoding = "utf-8" - content_type = response_data.getheader('content-type') - if content_type is not None: - match = re.search(r"charset=([a-zA-Z\-\d]+)[\s\;]?", content_type) - if match: - encoding = match.group(1) - response_data.data = response_data.data.decode(encoding) - - return_data = self.deserialize( - response_data, - response_type, - _check_type - ) - else: - return_data = None - - if _return_http_data_only: - return (return_data) - else: - return (return_data, response_data.status, - response_data.getheaders()) - - def parameters_to_multipart(self, params, collection_types): - """Get parameters as list of tuples, formatting as json if value is collection_types - - :param params: Parameters as list of two-tuples - :param dict collection_types: Parameter collection types - :return: Parameters as list of tuple or urllib3.fields.RequestField - """ - new_params = [] - if collection_types is None: - collection_types = (dict) - for k, v in params.items() if isinstance(params, dict) else params: # noqa: E501 - if isinstance(v, collection_types): # v is instance of collection_type, formatting as application/json - v = json.dumps(v, ensure_ascii=False).encode("utf-8") - field = RequestField(k, v) - field.make_multipart(content_type="application/json; charset=utf-8") - new_params.append(field) - else: - new_params.append((k, v)) - return new_params - - @classmethod - def sanitize_for_serialization(cls, obj): - """Prepares data for transmission before it is sent with the rest client - If obj is None, return None. - If obj is str, int, long, float, bool, return directly. - If obj is datetime.datetime, datetime.date - convert to string in iso8601 format. - If obj is list, sanitize each element in the list. - If obj is dict, return the dict. - If obj is OpenAPI model, return the properties dict. - If obj is io.IOBase, return the bytes - :param obj: The data to serialize. - :return: The serialized form of data. - """ - if isinstance(obj, (ModelNormal, ModelComposed)): - return { - key: cls.sanitize_for_serialization(val) for key, val in model_to_dict(obj, serialize=True).items() - } - elif isinstance(obj, io.IOBase): - return cls.get_file_data_and_close_file(obj) - elif isinstance(obj, (str, int, float, none_type, bool)): - return obj - elif isinstance(obj, (datetime, date)): - return obj.isoformat() - elif isinstance(obj, ModelSimple): - return cls.sanitize_for_serialization(obj.value) - elif isinstance(obj, (list, tuple)): - return [cls.sanitize_for_serialization(item) for item in obj] - if isinstance(obj, dict): - return {key: cls.sanitize_for_serialization(val) for key, val in obj.items()} - raise ApiValueError('Unable to prepare type {} for serialization'.format(obj.__class__.__name__)) - - def deserialize(self, response, response_type, _check_type): - """Deserializes response into an object. - - :param response: RESTResponse object to be deserialized. - :param response_type: For the response, a tuple containing: - valid classes - a list containing valid classes (for list schemas) - a dict containing a tuple of valid classes as the value - Example values: - (str,) - (Pet,) - (float, none_type) - ([int, none_type],) - ({str: (bool, str, int, float, date, datetime, str, none_type)},) - :param _check_type: boolean, whether to check the types of the data - received from the server - :type _check_type: bool - - :return: deserialized object. - """ - # handle file downloading - # save response body into a tmp file and return the instance - if response_type == (file_type,): - content_disposition = response.getheader("Content-Disposition") - return deserialize_file(response.data, self.configuration, - content_disposition=content_disposition) - - # fetch data from response object - try: - received_data = json.loads(response.data) - except ValueError: - received_data = response.data - - # store our data under the key of 'received_data' so users have some - # context if they are deserializing a string and the data type is wrong - deserialized_data = validate_and_convert_types( - received_data, - response_type, - ['received_data'], - True, - _check_type, - configuration=self.configuration - ) - return deserialized_data - - def call_api( - self, - resource_path: str, - method: str, - path_params: typing.Optional[typing.Dict[str, typing.Any]] = None, - query_params: typing.Optional[typing.List[typing.Tuple[str, typing.Any]]] = None, - header_params: typing.Optional[typing.Dict[str, typing.Any]] = None, - body: typing.Optional[typing.Any] = None, - post_params: typing.Optional[typing.List[typing.Tuple[str, typing.Any]]] = None, - files: typing.Optional[typing.Dict[str, typing.List[io.IOBase]]] = None, - response_type: typing.Optional[typing.Tuple[typing.Any]] = None, - auth_settings: typing.Optional[typing.List[str]] = None, - async_req: typing.Optional[bool] = None, - _return_http_data_only: typing.Optional[bool] = None, - collection_formats: typing.Optional[typing.Dict[str, str]] = None, - _preload_content: bool = True, - _request_timeout: typing.Optional[typing.Union[int, float, typing.Tuple]] = None, - _host: typing.Optional[str] = None, - _check_type: typing.Optional[bool] = None - ): - """Makes the HTTP request (synchronous) and returns deserialized data. - - To make an async_req request, set the async_req parameter. - - :param resource_path: Path to method endpoint. - :param method: Method to call. - :param path_params: Path parameters in the url. - :param query_params: Query parameters in the url. - :param header_params: Header parameters to be - placed in the request header. - :param body: Request body. - :param post_params dict: Request post form parameters, - for `application/x-www-form-urlencoded`, `multipart/form-data`. - :param auth_settings list: Auth Settings names for the request. - :param response_type: For the response, a tuple containing: - valid classes - a list containing valid classes (for list schemas) - a dict containing a tuple of valid classes as the value - Example values: - (str,) - (Pet,) - (float, none_type) - ([int, none_type],) - ({str: (bool, str, int, float, date, datetime, str, none_type)},) - :param files: key -> field name, value -> a list of open file - objects for `multipart/form-data`. - :type files: dict - :param async_req bool: execute request asynchronously - :type async_req: bool, optional - :param _return_http_data_only: response data without head status code - and headers - :type _return_http_data_only: bool, optional - :param collection_formats: dict of collection formats for path, query, - header, and post parameters. - :type collection_formats: dict, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _check_type: boolean describing if the data back from the server - should have its type checked. - :type _check_type: bool, optional - :return: - If async_req parameter is True, - the request will be called asynchronously. - The method will return the request thread. - If parameter async_req is False or missing, - then the method will return the response directly. - """ - if not async_req: - return self.__call_api(resource_path, method, - path_params, query_params, header_params, - body, post_params, files, - response_type, auth_settings, - _return_http_data_only, collection_formats, - _preload_content, _request_timeout, _host, - _check_type) - - return self.pool.apply_async(self.__call_api, (resource_path, - method, path_params, - query_params, - header_params, body, - post_params, files, - response_type, - auth_settings, - _return_http_data_only, - collection_formats, - _preload_content, - _request_timeout, - _host, _check_type)) - - def request(self, method, url, query_params=None, headers=None, - post_params=None, body=None, _preload_content=True, - _request_timeout=None): - """Makes the HTTP request using RESTClient.""" - if method == "GET": - return self.rest_client.GET(url, - query_params=query_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - headers=headers) - elif method == "HEAD": - return self.rest_client.HEAD(url, - query_params=query_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - headers=headers) - elif method == "OPTIONS": - return self.rest_client.OPTIONS(url, - query_params=query_params, - headers=headers, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - elif method == "POST": - return self.rest_client.POST(url, - query_params=query_params, - headers=headers, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - elif method == "PUT": - return self.rest_client.PUT(url, - query_params=query_params, - headers=headers, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - elif method == "PATCH": - return self.rest_client.PATCH(url, - query_params=query_params, - headers=headers, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - elif method == "DELETE": - return self.rest_client.DELETE(url, - query_params=query_params, - headers=headers, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - else: - raise ApiValueError( - "http method must be `GET`, `HEAD`, `OPTIONS`," - " `POST`, `PATCH`, `PUT` or `DELETE`." - ) - - def parameters_to_tuples(self, params, collection_formats): - """Get parameters as list of tuples, formatting collections. - - :param params: Parameters as dict or list of two-tuples - :param dict collection_formats: Parameter collection formats - :return: Parameters as list of tuples, collections formatted - """ - new_params = [] - if collection_formats is None: - collection_formats = {} - for k, v in params.items() if isinstance(params, dict) else params: # noqa: E501 - if k in collection_formats: - collection_format = collection_formats[k] - if collection_format == 'multi': - new_params.extend((k, value) for value in v) - else: - if collection_format == 'ssv': - delimiter = ' ' - elif collection_format == 'tsv': - delimiter = '\t' - elif collection_format == 'pipes': - delimiter = '|' - else: # csv is the default - delimiter = ',' - new_params.append( - (k, delimiter.join(str(value) for value in v))) - else: - new_params.append((k, v)) - return new_params - - @staticmethod - def get_file_data_and_close_file(file_instance: io.IOBase) -> bytes: - file_data = file_instance.read() - file_instance.close() - return file_data - - def files_parameters(self, files: typing.Optional[typing.Dict[str, typing.List[io.IOBase]]] = None): - """Builds form parameters. - - :param files: None or a dict with key=param_name and - value is a list of open file objects - :return: List of tuples of form parameters with file data - """ - if files is None: - return [] - - params = [] - for param_name, file_instances in files.items(): - if file_instances is None: - # if the file field is nullable, skip None values - continue - for file_instance in file_instances: - if file_instance is None: - # if the file field is nullable, skip None values - continue - if file_instance.closed is True: - raise ApiValueError( - "Cannot read a closed file. The passed in file_type " - "for %s must be open." % param_name - ) - filename = os.path.basename(file_instance.name) - filedata = self.get_file_data_and_close_file(file_instance) - mimetype = (mimetypes.guess_type(filename)[0] or - 'application/octet-stream') - params.append( - tuple([param_name, tuple([filename, filedata, mimetype])])) - - return params - - def select_header_accept(self, accepts): - """Returns `Accept` based on an array of accepts provided. - - :param accepts: List of headers. - :return: Accept (e.g. application/json). - """ - if not accepts: - return - - accepts = [x.lower() for x in accepts] - - if 'application/json' in accepts: - return 'application/json' - else: - return ', '.join(accepts) - - def select_header_content_type(self, content_types): - """Returns `Content-Type` based on an array of content_types provided. - - :param content_types: List of content-types. - :return: Content-Type (e.g. application/json). - """ - if not content_types: - return 'application/json' - - content_types = [x.lower() for x in content_types] - - if 'application/json' in content_types or '*/*' in content_types: - return 'application/json' - else: - return content_types[0] - - def update_params_for_auth(self, headers, queries, auth_settings, - resource_path, method, body): - """Updates header and query params based on authentication setting. - - :param headers: Header parameters dict to be updated. - :param queries: Query parameters tuple list to be updated. - :param auth_settings: Authentication setting identifiers list. - :param resource_path: A string representation of the HTTP request resource path. - :param method: A string representation of the HTTP request method. - :param body: A object representing the body of the HTTP request. - The object type is the return value of _encoder.default(). - """ - if not auth_settings: - return - - for auth in auth_settings: - auth_setting = self.configuration.auth_settings().get(auth) - if auth_setting: - if auth_setting['in'] == 'cookie': - headers['Cookie'] = auth_setting['value'] - elif auth_setting['in'] == 'header': - if auth_setting['type'] != 'http-signature': - headers[auth_setting['key']] = auth_setting['value'] - elif auth_setting['in'] == 'query': - queries.append((auth_setting['key'], auth_setting['value'])) - else: - raise ApiValueError( - 'Authentication token must be in `query` or `header`' - ) - - -class Endpoint(object): - def __init__(self, settings=None, params_map=None, root_map=None, - headers_map=None, api_client=None, callable=None): - """Creates an endpoint - - Args: - settings (dict): see below key value pairs - 'response_type' (tuple/None): response type - 'auth' (list): a list of auth type keys - 'endpoint_path' (str): the endpoint path - 'operation_id' (str): endpoint string identifier - 'http_method' (str): POST/PUT/PATCH/GET etc - 'servers' (list): list of str servers that this endpoint is at - params_map (dict): see below key value pairs - 'all' (list): list of str endpoint parameter names - 'required' (list): list of required parameter names - 'nullable' (list): list of nullable parameter names - 'enum' (list): list of parameters with enum values - 'validation' (list): list of parameters with validations - root_map - 'validations' (dict): the dict mapping endpoint parameter tuple - paths to their validation dictionaries - 'allowed_values' (dict): the dict mapping endpoint parameter - tuple paths to their allowed_values (enum) dictionaries - 'openapi_types' (dict): param_name to openapi type - 'attribute_map' (dict): param_name to camelCase name - 'location_map' (dict): param_name to 'body', 'file', 'form', - 'header', 'path', 'query' - collection_format_map (dict): param_name to `csv` etc. - headers_map (dict): see below key value pairs - 'accept' (list): list of Accept header strings - 'content_type' (list): list of Content-Type header strings - api_client (ApiClient) api client instance - callable (function): the function which is invoked when the - Endpoint is called - """ - self.settings = settings - self.params_map = params_map - self.params_map['all'].extend([ - 'async_req', - '_host_index', - '_preload_content', - '_request_timeout', - '_return_http_data_only', - '_check_input_type', - '_check_return_type' - ]) - self.params_map['nullable'].extend(['_request_timeout']) - self.validations = root_map['validations'] - self.allowed_values = root_map['allowed_values'] - self.openapi_types = root_map['openapi_types'] - extra_types = { - 'async_req': (bool,), - '_host_index': (none_type, int), - '_preload_content': (bool,), - '_request_timeout': (none_type, float, (float,), [float], int, (int,), [int]), - '_return_http_data_only': (bool,), - '_check_input_type': (bool,), - '_check_return_type': (bool,) - } - self.openapi_types.update(extra_types) - self.attribute_map = root_map['attribute_map'] - self.location_map = root_map['location_map'] - self.collection_format_map = root_map['collection_format_map'] - self.headers_map = headers_map - self.api_client = api_client - self.callable = callable - - def __validate_inputs(self, kwargs): - for param in self.params_map['enum']: - if param in kwargs: - check_allowed_values( - self.allowed_values, - (param,), - kwargs[param] - ) - - for param in self.params_map['validation']: - if param in kwargs: - check_validations( - self.validations, - (param,), - kwargs[param], - configuration=self.api_client.configuration - ) - - if kwargs['_check_input_type'] is False: - return - - for key, value in kwargs.items(): - fixed_val = validate_and_convert_types( - value, - self.openapi_types[key], - [key], - False, - kwargs['_check_input_type'], - configuration=self.api_client.configuration - ) - kwargs[key] = fixed_val - - def __gather_params(self, kwargs): - params = { - 'body': None, - 'collection_format': {}, - 'file': {}, - 'form': [], - 'header': {}, - 'path': {}, - 'query': [] - } - - for param_name, param_value in kwargs.items(): - param_location = self.location_map.get(param_name) - if param_location is None: - continue - if param_location: - if param_location == 'body': - params['body'] = param_value - continue - base_name = self.attribute_map[param_name] - if (param_location == 'form' and - self.openapi_types[param_name] == (file_type,)): - params['file'][param_name] = [param_value] - elif (param_location == 'form' and - self.openapi_types[param_name] == ([file_type],)): - # param_value is already a list - params['file'][param_name] = param_value - elif param_location in {'form', 'query'}: - param_value_full = (base_name, param_value) - params[param_location].append(param_value_full) - if param_location not in {'form', 'query'}: - params[param_location][base_name] = param_value - collection_format = self.collection_format_map.get(param_name) - if collection_format: - params['collection_format'][base_name] = collection_format - - return params - - def __call__(self, *args, **kwargs): - """ This method is invoked when endpoints are called - Example: - - api_instance = AuthenticationApi() - api_instance.check_user_exists # this is an instance of the class Endpoint - api_instance.check_user_exists() # this invokes api_instance.check_user_exists.__call__() - which then invokes the callable functions stored in that endpoint at - api_instance.check_user_exists.callable or self.callable in this class - - """ - return self.callable(self, *args, **kwargs) - - def call_with_http_info(self, **kwargs): - - try: - index = self.api_client.configuration.server_operation_index.get( - self.settings['operation_id'], self.api_client.configuration.server_index - ) if kwargs['_host_index'] is None else kwargs['_host_index'] - server_variables = self.api_client.configuration.server_operation_variables.get( - self.settings['operation_id'], self.api_client.configuration.server_variables - ) - _host = self.api_client.configuration.get_host_from_settings( - index, variables=server_variables, servers=self.settings['servers'] - ) - except IndexError: - if self.settings['servers']: - raise ApiValueError( - "Invalid host index. Must be 0 <= index < %s" % - len(self.settings['servers']) - ) - _host = None - - for key, value in kwargs.items(): - if key not in self.params_map['all']: - raise ApiTypeError( - "Got an unexpected parameter '%s'" - " to method `%s`" % - (key, self.settings['operation_id']) - ) - # only throw this nullable ApiValueError if _check_input_type - # is False, if _check_input_type==True we catch this case - # in self.__validate_inputs - if (key not in self.params_map['nullable'] and value is None - and kwargs['_check_input_type'] is False): - raise ApiValueError( - "Value may not be None for non-nullable parameter `%s`" - " when calling `%s`" % - (key, self.settings['operation_id']) - ) - - for key in self.params_map['required']: - if key not in kwargs.keys(): - raise ApiValueError( - "Missing the required parameter `%s` when calling " - "`%s`" % (key, self.settings['operation_id']) - ) - - self.__validate_inputs(kwargs) - - params = self.__gather_params(kwargs) - - accept_headers_list = self.headers_map['accept'] - if accept_headers_list: - params['header']['Accept'] = self.api_client.select_header_accept( - accept_headers_list) - - content_type_headers_list = self.headers_map['content_type'] - if content_type_headers_list: - if params['body'] != "": - header_list = self.api_client.select_header_content_type( - content_type_headers_list) - params['header']['Content-Type'] = header_list - - return self.api_client.call_api( - self.settings['endpoint_path'], self.settings['http_method'], - params['path'], - params['query'], - params['header'], - body=params['body'], - post_params=params['form'], - files=params['file'], - response_type=self.settings['response_type'], - auth_settings=self.settings['auth'], - async_req=kwargs['async_req'], - _check_type=kwargs['_check_return_type'], - _return_http_data_only=kwargs['_return_http_data_only'], - _preload_content=kwargs['_preload_content'], - _request_timeout=kwargs['_request_timeout'], - _host=_host, - collection_formats=params['collection_format']) diff --git a/vrchatapi/apis/__init__.py b/vrchatapi/apis/__init__.py deleted file mode 100644 index cf93b6fb..00000000 --- a/vrchatapi/apis/__init__.py +++ /dev/null @@ -1,30 +0,0 @@ - -# flake8: noqa - -# Import all APIs into this package. -# If you have many APIs here with many many models used in each API this may -# raise a `RecursionError`. -# In order to avoid this, import only the API that you directly need like: -# -# from .api.authentication_api import AuthenticationApi -# -# or import this package, but before doing it, use: -# -# import sys -# sys.setrecursionlimit(n) - -# Import APIs into API package: -from vrchatapi.api.authentication_api import AuthenticationApi -from vrchatapi.api.avatars_api import AvatarsApi -from vrchatapi.api.economy_api import EconomyApi -from vrchatapi.api.favorites_api import FavoritesApi -from vrchatapi.api.files_api import FilesApi -from vrchatapi.api.friends_api import FriendsApi -from vrchatapi.api.instances_api import InstancesApi -from vrchatapi.api.invite_api import InviteApi -from vrchatapi.api.notifications_api import NotificationsApi -from vrchatapi.api.permissions_api import PermissionsApi -from vrchatapi.api.playermoderation_api import PlayermoderationApi -from vrchatapi.api.system_api import SystemApi -from vrchatapi.api.users_api import UsersApi -from vrchatapi.api.worlds_api import WorldsApi diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index b101e907..10f1606a 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -1,3 +1,5 @@ +# coding: utf-8 + """ VRChat API Documentation @@ -8,13 +10,16 @@ """ +from __future__ import absolute_import + import copy import logging import multiprocessing import sys import urllib3 -from http import client as http_client +import six +from six.moves import http_client as httplib from vrchatapi.exceptions import ApiValueError @@ -118,7 +123,6 @@ class Configuration(object): def __init__(self, host=None, api_key=None, api_key_prefix=None, - access_token=None, username=None, password=None, discard_unknown_keys=False, disabled_client_side_validations="", @@ -143,7 +147,6 @@ def __init__(self, host=None, """Temp file folder for downloading files """ # Authentication Settings - self.access_token = access_token self.api_key = {} if api_key: self.api_key = api_key @@ -227,8 +230,9 @@ def __init__(self, host=None, # Enable client side validation self.client_side_validation = True - # Options to pass down to the underlying urllib3 socket self.socket_options = None + """Options to pass down to the underlying urllib3 socket + """ def __deepcopy__(self, memo): cls = self.__class__ @@ -307,7 +311,7 @@ def logger_file(self, value): # then add file handler and remove stream handler. self.logger_file_handler = logging.FileHandler(self.__logger_file) self.logger_file_handler.setFormatter(self.logger_formatter) - for _, logger in self.logger.items(): + for _, logger in six.iteritems(self.logger): logger.addHandler(self.logger_file_handler) @property @@ -329,17 +333,17 @@ def debug(self, value): self.__debug = value if self.__debug: # if debug status is True, turn on debug logging - for _, logger in self.logger.items(): + for _, logger in six.iteritems(self.logger): logger.setLevel(logging.DEBUG) - # turn on http_client debug - http_client.HTTPConnection.debuglevel = 1 + # turn on httplib debug + httplib.HTTPConnection.debuglevel = 1 else: # if debug status is False, turn off debug logging, # setting log level to default `logging.WARNING` - for _, logger in self.logger.items(): + for _, logger in six.iteritems(self.logger): logger.setLevel(logging.WARNING) - # turn off http_client debug - http_client.HTTPConnection.debuglevel = 0 + # turn off httplib debug + httplib.HTTPConnection.debuglevel = 0 @property def logger_format(self): diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index 8af8d166..40a4c8f8 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -1,3 +1,5 @@ +# coding: utf-8 + """ VRChat API Documentation @@ -8,6 +10,8 @@ """ +import six + class OpenApiException(Exception): """The base exception class for all OpenAPIExceptions""" @@ -152,7 +156,7 @@ def render_path(path_to_item): """Returns a string representation of a path""" result = "" for pth in path_to_item: - if isinstance(pth, int): + if isinstance(pth, six.integer_types): result += "[{0}]".format(pth) else: result += "['{0}']".format(pth) diff --git a/vrchatapi/model/__init__.py b/vrchatapi/model/__init__.py deleted file mode 100644 index cfe32b78..00000000 --- a/vrchatapi/model/__init__.py +++ /dev/null @@ -1,5 +0,0 @@ -# we can not import model classes here because that would create a circular -# reference which would not work in python2 -# do not import all models into this module because that uses a lot of memory and stack frames -# if you need the ability to import all models from one package, import them with -# from {{packageName}.models import ModelA, ModelB diff --git a/vrchatapi/model/add_favorite_request.py b/vrchatapi/model/add_favorite_request.py deleted file mode 100644 index 8839d278..00000000 --- a/vrchatapi/model/add_favorite_request.py +++ /dev/null @@ -1,281 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - -def lazy_import(): - from vrchatapi.model.favorite_type import FavoriteType - from vrchatapi.model.tag import Tag - globals()['FavoriteType'] = FavoriteType - globals()['Tag'] = Tag - - -class AddFavoriteRequest(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'type': (FavoriteType,), # noqa: E501 - 'favorite_id': (str,), # noqa: E501 - 'tags': ([Tag],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'type': 'type', # noqa: E501 - 'favorite_id': 'favoriteId', # noqa: E501 - 'tags': 'tags', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, type, favorite_id, tags, *args, **kwargs): # noqa: E501 - """AddFavoriteRequest - a model defined in OpenAPI - - Args: - type (FavoriteType): - favorite_id (str): Must be either AvatarID, WorldID or UserID. - tags ([Tag]): Tags indicate which group this favorite belongs to. Adding multiple groups makes it show up in all. Removing it from one in that case removes it from all. - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.type = type - self.favorite_id = favorite_id - self.tags = tags - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, type, favorite_id, tags, *args, **kwargs): # noqa: E501 - """AddFavoriteRequest - a model defined in OpenAPI - - Args: - type (FavoriteType): - favorite_id (str): Must be either AvatarID, WorldID or UserID. - tags ([Tag]): Tags indicate which group this favorite belongs to. Adding multiple groups makes it show up in all. Removing it from one in that case removes it from all. - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.type = type - self.favorite_id = favorite_id - self.tags = tags - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/api_config.py b/vrchatapi/model/api_config.py deleted file mode 100644 index 24681d49..00000000 --- a/vrchatapi/model/api_config.py +++ /dev/null @@ -1,909 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - -def lazy_import(): - from vrchatapi.model.api_event_config import APIEventConfig - from vrchatapi.model.avatar_id import AvatarID - from vrchatapi.model.deployment_group import DeploymentGroup - from vrchatapi.model.download_url_list import DownloadURLList - from vrchatapi.model.dynamic_content_row import DynamicContentRow - from vrchatapi.model.public_announcement import PublicAnnouncement - from vrchatapi.model.world_id import WorldID - globals()['APIEventConfig'] = APIEventConfig - globals()['AvatarID'] = AvatarID - globals()['DeploymentGroup'] = DeploymentGroup - globals()['DownloadURLList'] = DownloadURLList - globals()['DynamicContentRow'] = DynamicContentRow - globals()['PublicAnnouncement'] = PublicAnnouncement - globals()['WorldID'] = WorldID - - -class APIConfig(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('address',): { - 'min_length': 1, - }, - ('announcements',): { - 'min_items': 0, - }, - ('api_key',): { - 'min_length': 1, - }, - ('app_name',): { - 'min_length': 1, - }, - ('build_version_tag',): { - 'min_length': 1, - }, - ('client_api_key',): { - 'min_length': 1, - }, - ('contact_email',): { - 'min_length': 1, - }, - ('copyright_email',): { - 'min_length': 1, - }, - ('current_tos_version',): { - 'inclusive_minimum': 0, - }, - ('dev_app_version_standalone',): { - 'min_length': 1, - }, - ('dev_download_link_windows',): { - 'min_length': 1, - }, - ('dev_sdk_url',): { - 'min_length': 1, - }, - ('dev_sdk_version',): { - 'min_length': 1, - }, - ('dev_server_version_standalone',): { - 'min_length': 1, - }, - ('download_link_windows',): { - 'min_length': 1, - }, - ('dynamic_world_rows',): { - 'min_items': 1, - }, - ('gear_demo_room_id',): { - 'min_length': 1, - }, - ('homepage_redirect_target',): { - 'min_length': 1, - }, - ('jobs_email',): { - 'min_length': 1, - }, - ('message_of_the_day',): { - 'min_length': 1, - }, - ('moderation_email',): { - 'min_length': 1, - }, - ('not_allowed_to_select_avatar_in_private_world_message',): { - 'min_length': 1, - }, - ('plugin',): { - 'min_length': 1, - }, - ('release_app_version_standalone',): { - 'min_length': 1, - }, - ('release_sdk_url',): { - 'min_length': 1, - }, - ('release_sdk_version',): { - 'min_length': 1, - }, - ('release_server_version_standalone',): { - 'min_length': 1, - }, - ('sdk_developer_faq_url',): { - 'min_length': 1, - }, - ('sdk_discord_url',): { - 'min_length': 1, - }, - ('sdk_not_allowed_to_publish_message',): { - 'min_length': 1, - }, - ('sdk_unity_version',): { - 'min_length': 1, - }, - ('server_name',): { - 'min_length': 1, - }, - ('support_email',): { - 'min_length': 1, - }, - ('vive_windows_url',): { - 'min_length': 1, - }, - ('player_url_resolver_hash',): { - 'min_length': 1, - }, - ('player_url_resolver_version',): { - 'min_length': 1, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'voice_enable_degradation': (bool,), # noqa: E501 - 'voice_enable_receiver_limiting': (bool,), # noqa: E501 - 'address': (str,), # noqa: E501 - 'announcements': ([PublicAnnouncement],), # noqa: E501 - 'api_key': (str,), # noqa: E501 - 'app_name': (str,), # noqa: E501 - 'build_version_tag': (str,), # noqa: E501 - 'client_api_key': (str,), # noqa: E501 - 'client_bps_ceiling': (int,), # noqa: E501 - 'client_disconnect_timeout': (int,), # noqa: E501 - 'client_reserved_player_bps': (int,), # noqa: E501 - 'client_sent_count_allowance': (int,), # noqa: E501 - 'contact_email': (str,), # noqa: E501 - 'copyright_email': (str,), # noqa: E501 - 'current_tos_version': (int,), # noqa: E501 - 'default_avatar': (AvatarID,), # noqa: E501 - 'deployment_group': (DeploymentGroup,), # noqa: E501 - 'dev_app_version_standalone': (str,), # noqa: E501 - 'dev_download_link_windows': (str,), # noqa: E501 - 'dev_sdk_url': (str,), # noqa: E501 - 'dev_sdk_version': (str,), # noqa: E501 - 'dev_server_version_standalone': (str,), # noqa: E501 - 'dis_countdown': (datetime,), # noqa: E501 - 'disable_avatar_copying': (bool,), # noqa: E501 - 'disable_avatar_gating': (bool,), # noqa: E501 - 'disable_community_labs': (bool,), # noqa: E501 - 'disable_community_labs_promotion': (bool,), # noqa: E501 - 'disable_email': (bool,), # noqa: E501 - 'disable_event_stream': (bool,), # noqa: E501 - 'disable_feedback_gating': (bool,), # noqa: E501 - 'disable_frontend_builds': (bool,), # noqa: E501 - 'disable_hello': (bool,), # noqa: E501 - 'disable_oculus_subs': (bool,), # noqa: E501 - 'disable_registration': (bool,), # noqa: E501 - 'disable_steam_networking': (bool,), # noqa: E501 - 'disable_two_factor_auth': (bool,), # noqa: E501 - 'disable_udon': (bool,), # noqa: E501 - 'disable_upgrade_account': (bool,), # noqa: E501 - 'download_link_windows': (str,), # noqa: E501 - 'download_urls': (DownloadURLList,), # noqa: E501 - 'dynamic_world_rows': ([DynamicContentRow],), # noqa: E501 - 'events': (APIEventConfig,), # noqa: E501 - 'gear_demo_room_id': (str,), # noqa: E501 - 'home_world_id': (WorldID,), # noqa: E501 - 'homepage_redirect_target': (str,), # noqa: E501 - 'hub_world_id': (WorldID,), # noqa: E501 - 'jobs_email': (str,), # noqa: E501 - 'message_of_the_day': (str,), # noqa: E501 - 'moderation_email': (str,), # noqa: E501 - 'moderation_query_period': (int,), # noqa: E501 - 'not_allowed_to_select_avatar_in_private_world_message': (str,), # noqa: E501 - 'plugin': (str,), # noqa: E501 - 'release_app_version_standalone': (str,), # noqa: E501 - 'release_sdk_url': (str,), # noqa: E501 - 'release_sdk_version': (str,), # noqa: E501 - 'release_server_version_standalone': (str,), # noqa: E501 - 'sdk_developer_faq_url': (str,), # noqa: E501 - 'sdk_discord_url': (str,), # noqa: E501 - 'sdk_not_allowed_to_publish_message': (str,), # noqa: E501 - 'sdk_unity_version': (str,), # noqa: E501 - 'server_name': (str,), # noqa: E501 - 'support_email': (str,), # noqa: E501 - 'time_out_world_id': (WorldID,), # noqa: E501 - 'tutorial_world_id': (WorldID,), # noqa: E501 - 'update_rate_ms_maximum': (int,), # noqa: E501 - 'update_rate_ms_minimum': (int,), # noqa: E501 - 'update_rate_ms_normal': (int,), # noqa: E501 - 'update_rate_ms_udon_manual': (int,), # noqa: E501 - 'upload_analysis_percent': (int,), # noqa: E501 - 'url_list': ([str],), # noqa: E501 - 'use_reliable_udp_for_voice': (bool,), # noqa: E501 - 'user_update_period': (int,), # noqa: E501 - 'user_verification_delay': (int,), # noqa: E501 - 'user_verification_retry': (int,), # noqa: E501 - 'user_verification_timeout': (int,), # noqa: E501 - 'vive_windows_url': (str,), # noqa: E501 - 'white_listed_asset_urls': ([str],), # noqa: E501 - 'world_update_period': (int,), # noqa: E501 - 'player_url_resolver_hash': (str,), # noqa: E501 - 'player_url_resolver_version': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'voice_enable_degradation': 'VoiceEnableDegradation', # noqa: E501 - 'voice_enable_receiver_limiting': 'VoiceEnableReceiverLimiting', # noqa: E501 - 'address': 'address', # noqa: E501 - 'announcements': 'announcements', # noqa: E501 - 'api_key': 'apiKey', # noqa: E501 - 'app_name': 'appName', # noqa: E501 - 'build_version_tag': 'buildVersionTag', # noqa: E501 - 'client_api_key': 'clientApiKey', # noqa: E501 - 'client_bps_ceiling': 'clientBPSCeiling', # noqa: E501 - 'client_disconnect_timeout': 'clientDisconnectTimeout', # noqa: E501 - 'client_reserved_player_bps': 'clientReservedPlayerBPS', # noqa: E501 - 'client_sent_count_allowance': 'clientSentCountAllowance', # noqa: E501 - 'contact_email': 'contactEmail', # noqa: E501 - 'copyright_email': 'copyrightEmail', # noqa: E501 - 'current_tos_version': 'currentTOSVersion', # noqa: E501 - 'default_avatar': 'defaultAvatar', # noqa: E501 - 'deployment_group': 'deploymentGroup', # noqa: E501 - 'dev_app_version_standalone': 'devAppVersionStandalone', # noqa: E501 - 'dev_download_link_windows': 'devDownloadLinkWindows', # noqa: E501 - 'dev_sdk_url': 'devSdkUrl', # noqa: E501 - 'dev_sdk_version': 'devSdkVersion', # noqa: E501 - 'dev_server_version_standalone': 'devServerVersionStandalone', # noqa: E501 - 'dis_countdown': 'dis-countdown', # noqa: E501 - 'disable_avatar_copying': 'disableAvatarCopying', # noqa: E501 - 'disable_avatar_gating': 'disableAvatarGating', # noqa: E501 - 'disable_community_labs': 'disableCommunityLabs', # noqa: E501 - 'disable_community_labs_promotion': 'disableCommunityLabsPromotion', # noqa: E501 - 'disable_email': 'disableEmail', # noqa: E501 - 'disable_event_stream': 'disableEventStream', # noqa: E501 - 'disable_feedback_gating': 'disableFeedbackGating', # noqa: E501 - 'disable_frontend_builds': 'disableFrontendBuilds', # noqa: E501 - 'disable_hello': 'disableHello', # noqa: E501 - 'disable_oculus_subs': 'disableOculusSubs', # noqa: E501 - 'disable_registration': 'disableRegistration', # noqa: E501 - 'disable_steam_networking': 'disableSteamNetworking', # noqa: E501 - 'disable_two_factor_auth': 'disableTwoFactorAuth', # noqa: E501 - 'disable_udon': 'disableUdon', # noqa: E501 - 'disable_upgrade_account': 'disableUpgradeAccount', # noqa: E501 - 'download_link_windows': 'downloadLinkWindows', # noqa: E501 - 'download_urls': 'downloadUrls', # noqa: E501 - 'dynamic_world_rows': 'dynamicWorldRows', # noqa: E501 - 'events': 'events', # noqa: E501 - 'gear_demo_room_id': 'gearDemoRoomId', # noqa: E501 - 'home_world_id': 'homeWorldId', # noqa: E501 - 'homepage_redirect_target': 'homepageRedirectTarget', # noqa: E501 - 'hub_world_id': 'hubWorldId', # noqa: E501 - 'jobs_email': 'jobsEmail', # noqa: E501 - 'message_of_the_day': 'messageOfTheDay', # noqa: E501 - 'moderation_email': 'moderationEmail', # noqa: E501 - 'moderation_query_period': 'moderationQueryPeriod', # noqa: E501 - 'not_allowed_to_select_avatar_in_private_world_message': 'notAllowedToSelectAvatarInPrivateWorldMessage', # noqa: E501 - 'plugin': 'plugin', # noqa: E501 - 'release_app_version_standalone': 'releaseAppVersionStandalone', # noqa: E501 - 'release_sdk_url': 'releaseSdkUrl', # noqa: E501 - 'release_sdk_version': 'releaseSdkVersion', # noqa: E501 - 'release_server_version_standalone': 'releaseServerVersionStandalone', # noqa: E501 - 'sdk_developer_faq_url': 'sdkDeveloperFaqUrl', # noqa: E501 - 'sdk_discord_url': 'sdkDiscordUrl', # noqa: E501 - 'sdk_not_allowed_to_publish_message': 'sdkNotAllowedToPublishMessage', # noqa: E501 - 'sdk_unity_version': 'sdkUnityVersion', # noqa: E501 - 'server_name': 'serverName', # noqa: E501 - 'support_email': 'supportEmail', # noqa: E501 - 'time_out_world_id': 'timeOutWorldId', # noqa: E501 - 'tutorial_world_id': 'tutorialWorldId', # noqa: E501 - 'update_rate_ms_maximum': 'updateRateMsMaximum', # noqa: E501 - 'update_rate_ms_minimum': 'updateRateMsMinimum', # noqa: E501 - 'update_rate_ms_normal': 'updateRateMsNormal', # noqa: E501 - 'update_rate_ms_udon_manual': 'updateRateMsUdonManual', # noqa: E501 - 'upload_analysis_percent': 'uploadAnalysisPercent', # noqa: E501 - 'url_list': 'urlList', # noqa: E501 - 'use_reliable_udp_for_voice': 'useReliableUdpForVoice', # noqa: E501 - 'user_update_period': 'userUpdatePeriod', # noqa: E501 - 'user_verification_delay': 'userVerificationDelay', # noqa: E501 - 'user_verification_retry': 'userVerificationRetry', # noqa: E501 - 'user_verification_timeout': 'userVerificationTimeout', # noqa: E501 - 'vive_windows_url': 'viveWindowsUrl', # noqa: E501 - 'white_listed_asset_urls': 'whiteListedAssetUrls', # noqa: E501 - 'world_update_period': 'worldUpdatePeriod', # noqa: E501 - 'player_url_resolver_hash': 'player-url-resolver-hash', # noqa: E501 - 'player_url_resolver_version': 'player-url-resolver-version', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, address, announcements, api_key, build_version_tag, client_api_key, contact_email, copyright_email, current_tos_version, default_avatar, deployment_group, dev_app_version_standalone, dev_download_link_windows, dev_sdk_url, dev_sdk_version, dev_server_version_standalone, dis_countdown, download_link_windows, download_urls, dynamic_world_rows, events, gear_demo_room_id, home_world_id, hub_world_id, jobs_email, message_of_the_day, moderation_email, moderation_query_period, not_allowed_to_select_avatar_in_private_world_message, plugin, release_app_version_standalone, release_sdk_url, release_sdk_version, release_server_version_standalone, sdk_developer_faq_url, sdk_discord_url, sdk_not_allowed_to_publish_message, sdk_unity_version, server_name, support_email, time_out_world_id, tutorial_world_id, update_rate_ms_maximum, update_rate_ms_minimum, update_rate_ms_normal, update_rate_ms_udon_manual, upload_analysis_percent, url_list, user_update_period, user_verification_delay, user_verification_retry, user_verification_timeout, vive_windows_url, white_listed_asset_urls, world_update_period, player_url_resolver_hash, player_url_resolver_version, *args, **kwargs): # noqa: E501 - """APIConfig - a model defined in OpenAPI - - Args: - address (str): VRChat's office address - announcements ([PublicAnnouncement]): Public Announcements - api_key (str): apiKey to be used for all other requests - build_version_tag (str): Build tag of the API server - client_api_key (str): apiKey to be used for all other requests - contact_email (str): VRChat's contact email - copyright_email (str): VRChat's copyright-issues-related email - current_tos_version (int): Current version number of the Terms of Service - default_avatar (AvatarID): - deployment_group (DeploymentGroup): - dev_app_version_standalone (str): Version number for game development build - dev_download_link_windows (str): Developer Download link - dev_sdk_url (str): Link to download the development SDK, use downloadUrls instead - dev_sdk_version (str): Version of the development SDK - dev_server_version_standalone (str): Version number for server development build - dis_countdown (datetime): Unknown, \"dis\" maybe for disconnect? - download_link_windows (str): Download link for game on the Oculus Rift website. - download_urls (DownloadURLList): - dynamic_world_rows ([DynamicContentRow]): Array of DynamicWorldRow objects, used by the game to display the list of world rows - events (APIEventConfig): - gear_demo_room_id (str): Unknown - home_world_id (WorldID): - hub_world_id (WorldID): - jobs_email (str): VRChat's job application email - message_of_the_day (str): MOTD - moderation_email (str): VRChat's moderation related email - moderation_query_period (int): Unknown - not_allowed_to_select_avatar_in_private_world_message (str): Used in-game to notify a user they aren't allowed to select avatars in private worlds - plugin (str): Extra [plugin](https://doc.photonengine.com/en-us/server/current/plugins/manual) to run in each instance - release_app_version_standalone (str): Version number for game release build - release_sdk_url (str): Link to download the release SDK - release_sdk_version (str): Version of the release SDK - release_server_version_standalone (str): Version number for server release build - sdk_developer_faq_url (str): Link to the developer FAQ - sdk_discord_url (str): Link to the official VRChat Discord - sdk_not_allowed_to_publish_message (str): Used in the SDK to notify a user they aren't allowed to upload avatars/worlds yet - sdk_unity_version (str): Unity version supported by the SDK - server_name (str): Server name of the API server currently responding - support_email (str): VRChat's support email - time_out_world_id (WorldID): - tutorial_world_id (WorldID): - update_rate_ms_maximum (int): Unknown - update_rate_ms_minimum (int): Unknown - update_rate_ms_normal (int): Unknown - update_rate_ms_udon_manual (int): Unknown - upload_analysis_percent (int): Unknown - url_list ([str]): List of allowed URLs that bypass the \"Allow untrusted URL's\" setting in-game - user_update_period (int): Unknown - user_verification_delay (int): Unknown - user_verification_retry (int): Unknown - user_verification_timeout (int): Unknown - vive_windows_url (str): Download link for game on the Steam website. - white_listed_asset_urls ([str]): List of allowed URLs that are allowed to host avatar assets - world_update_period (int): Unknown - player_url_resolver_hash (str): Currently used youtube-dl.exe hash in SHA-256-delimited format - player_url_resolver_version (str): Currently used youtube-dl.exe version - - Keyword Args: - voice_enable_degradation (bool): Unknown, probably voice optimization testing. defaults to False # noqa: E501 - voice_enable_receiver_limiting (bool): Unknown, probably voice optimization testing. defaults to True # noqa: E501 - app_name (str): Game name. defaults to "VrChat" # noqa: E501 - client_bps_ceiling (int): Unknown. defaults to 18432 # noqa: E501 - client_disconnect_timeout (int): Unknown. defaults to 30000 # noqa: E501 - client_reserved_player_bps (int): Unknown. defaults to 7168 # noqa: E501 - client_sent_count_allowance (int): Unknown. defaults to 15 # noqa: E501 - disable_avatar_copying (bool): Toggles if copying avatars should be disabled. defaults to False # noqa: E501 - disable_avatar_gating (bool): Toggles if avatar gating should be disabled. Avatar gating restricts uploading of avatars to people with the `system_avatar_access` Tag or `admin_avatar_access` Tag. defaults to False # noqa: E501 - disable_community_labs (bool): Toggles if the Community Labs should be disabled. defaults to False # noqa: E501 - disable_community_labs_promotion (bool): Toggles if promotion out of Community Labs should be disabled. defaults to False # noqa: E501 - disable_email (bool): Unknown. defaults to False # noqa: E501 - disable_event_stream (bool): Toggles if Analytics should be disabled.. defaults to False # noqa: E501 - disable_feedback_gating (bool): Toggles if feedback gating should be disabled. Feedback gating restricts submission of feedback (reporting a World or User) to people with the `system_feedback_access` Tag.. defaults to False # noqa: E501 - disable_frontend_builds (bool): Unknown, probably toggles compilation of frontend web builds? So internal flag?. defaults to False # noqa: E501 - disable_hello (bool): Unknown. defaults to False # noqa: E501 - disable_oculus_subs (bool): Toggles if signing up for Subscriptions in Oculus is disabled or not.. defaults to False # noqa: E501 - disable_registration (bool): Toggles if new user account registration should be disabled.. defaults to False # noqa: E501 - disable_steam_networking (bool): Toggles if Steam Networking should be disabled. VRChat these days uses Photon Unity Networking (PUN) instead.. defaults to True # noqa: E501 - disable_two_factor_auth (bool): Toggles if 2FA should be disabled.. defaults to False # noqa: E501 - disable_udon (bool): Toggles if Udon should be universally disabled in-game.. defaults to False # noqa: E501 - disable_upgrade_account (bool): Toggles if account upgrading \"linking with Steam/Oculus\" should be disabled.. defaults to False # noqa: E501 - homepage_redirect_target (str): Redirect target if you try to open the base API domain in your browser. defaults to "https://hello.vrchat.com" # noqa: E501 - use_reliable_udp_for_voice (bool): Unknown. defaults to False # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - voice_enable_degradation = kwargs.get('voice_enable_degradation', False) - voice_enable_receiver_limiting = kwargs.get('voice_enable_receiver_limiting', True) - app_name = kwargs.get('app_name', "VrChat") - client_bps_ceiling = kwargs.get('client_bps_ceiling', 18432) - client_disconnect_timeout = kwargs.get('client_disconnect_timeout', 30000) - client_reserved_player_bps = kwargs.get('client_reserved_player_bps', 7168) - client_sent_count_allowance = kwargs.get('client_sent_count_allowance', 15) - disable_avatar_copying = kwargs.get('disable_avatar_copying', False) - disable_avatar_gating = kwargs.get('disable_avatar_gating', False) - disable_community_labs = kwargs.get('disable_community_labs', False) - disable_community_labs_promotion = kwargs.get('disable_community_labs_promotion', False) - disable_email = kwargs.get('disable_email', False) - disable_event_stream = kwargs.get('disable_event_stream', False) - disable_feedback_gating = kwargs.get('disable_feedback_gating', False) - disable_frontend_builds = kwargs.get('disable_frontend_builds', False) - disable_hello = kwargs.get('disable_hello', False) - disable_oculus_subs = kwargs.get('disable_oculus_subs', False) - disable_registration = kwargs.get('disable_registration', False) - disable_steam_networking = kwargs.get('disable_steam_networking', True) - disable_two_factor_auth = kwargs.get('disable_two_factor_auth', False) - disable_udon = kwargs.get('disable_udon', False) - disable_upgrade_account = kwargs.get('disable_upgrade_account', False) - homepage_redirect_target = kwargs.get('homepage_redirect_target', "https://hello.vrchat.com") - use_reliable_udp_for_voice = kwargs.get('use_reliable_udp_for_voice', False) - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.voice_enable_degradation = voice_enable_degradation - self.voice_enable_receiver_limiting = voice_enable_receiver_limiting - self.address = address - self.announcements = announcements - self.api_key = api_key - self.app_name = app_name - self.build_version_tag = build_version_tag - self.client_api_key = client_api_key - self.client_bps_ceiling = client_bps_ceiling - self.client_disconnect_timeout = client_disconnect_timeout - self.client_reserved_player_bps = client_reserved_player_bps - self.client_sent_count_allowance = client_sent_count_allowance - self.contact_email = contact_email - self.copyright_email = copyright_email - self.current_tos_version = current_tos_version - self.default_avatar = default_avatar - self.deployment_group = deployment_group - self.dev_app_version_standalone = dev_app_version_standalone - self.dev_download_link_windows = dev_download_link_windows - self.dev_sdk_url = dev_sdk_url - self.dev_sdk_version = dev_sdk_version - self.dev_server_version_standalone = dev_server_version_standalone - self.dis_countdown = dis_countdown - self.disable_avatar_copying = disable_avatar_copying - self.disable_avatar_gating = disable_avatar_gating - self.disable_community_labs = disable_community_labs - self.disable_community_labs_promotion = disable_community_labs_promotion - self.disable_email = disable_email - self.disable_event_stream = disable_event_stream - self.disable_feedback_gating = disable_feedback_gating - self.disable_frontend_builds = disable_frontend_builds - self.disable_hello = disable_hello - self.disable_oculus_subs = disable_oculus_subs - self.disable_registration = disable_registration - self.disable_steam_networking = disable_steam_networking - self.disable_two_factor_auth = disable_two_factor_auth - self.disable_udon = disable_udon - self.disable_upgrade_account = disable_upgrade_account - self.download_link_windows = download_link_windows - self.download_urls = download_urls - self.dynamic_world_rows = dynamic_world_rows - self.events = events - self.gear_demo_room_id = gear_demo_room_id - self.home_world_id = home_world_id - self.homepage_redirect_target = homepage_redirect_target - self.hub_world_id = hub_world_id - self.jobs_email = jobs_email - self.message_of_the_day = message_of_the_day - self.moderation_email = moderation_email - self.moderation_query_period = moderation_query_period - self.not_allowed_to_select_avatar_in_private_world_message = not_allowed_to_select_avatar_in_private_world_message - self.plugin = plugin - self.release_app_version_standalone = release_app_version_standalone - self.release_sdk_url = release_sdk_url - self.release_sdk_version = release_sdk_version - self.release_server_version_standalone = release_server_version_standalone - self.sdk_developer_faq_url = sdk_developer_faq_url - self.sdk_discord_url = sdk_discord_url - self.sdk_not_allowed_to_publish_message = sdk_not_allowed_to_publish_message - self.sdk_unity_version = sdk_unity_version - self.server_name = server_name - self.support_email = support_email - self.time_out_world_id = time_out_world_id - self.tutorial_world_id = tutorial_world_id - self.update_rate_ms_maximum = update_rate_ms_maximum - self.update_rate_ms_minimum = update_rate_ms_minimum - self.update_rate_ms_normal = update_rate_ms_normal - self.update_rate_ms_udon_manual = update_rate_ms_udon_manual - self.upload_analysis_percent = upload_analysis_percent - self.url_list = url_list - self.use_reliable_udp_for_voice = use_reliable_udp_for_voice - self.user_update_period = user_update_period - self.user_verification_delay = user_verification_delay - self.user_verification_retry = user_verification_retry - self.user_verification_timeout = user_verification_timeout - self.vive_windows_url = vive_windows_url - self.white_listed_asset_urls = white_listed_asset_urls - self.world_update_period = world_update_period - self.player_url_resolver_hash = player_url_resolver_hash - self.player_url_resolver_version = player_url_resolver_version - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, address, announcements, api_key, build_version_tag, client_api_key, contact_email, copyright_email, current_tos_version, default_avatar, deployment_group, dev_app_version_standalone, dev_download_link_windows, dev_sdk_url, dev_sdk_version, dev_server_version_standalone, dis_countdown, download_link_windows, download_urls, dynamic_world_rows, events, gear_demo_room_id, home_world_id, hub_world_id, jobs_email, message_of_the_day, moderation_email, moderation_query_period, not_allowed_to_select_avatar_in_private_world_message, plugin, release_app_version_standalone, release_sdk_url, release_sdk_version, release_server_version_standalone, sdk_developer_faq_url, sdk_discord_url, sdk_not_allowed_to_publish_message, sdk_unity_version, server_name, support_email, time_out_world_id, tutorial_world_id, update_rate_ms_maximum, update_rate_ms_minimum, update_rate_ms_normal, update_rate_ms_udon_manual, upload_analysis_percent, url_list, user_update_period, user_verification_delay, user_verification_retry, user_verification_timeout, vive_windows_url, white_listed_asset_urls, world_update_period, player_url_resolver_hash, player_url_resolver_version, *args, **kwargs): # noqa: E501 - """APIConfig - a model defined in OpenAPI - - Args: - address (str): VRChat's office address - announcements ([PublicAnnouncement]): Public Announcements - api_key (str): apiKey to be used for all other requests - build_version_tag (str): Build tag of the API server - client_api_key (str): apiKey to be used for all other requests - contact_email (str): VRChat's contact email - copyright_email (str): VRChat's copyright-issues-related email - current_tos_version (int): Current version number of the Terms of Service - default_avatar (AvatarID): - deployment_group (DeploymentGroup): - dev_app_version_standalone (str): Version number for game development build - dev_download_link_windows (str): Developer Download link - dev_sdk_url (str): Link to download the development SDK, use downloadUrls instead - dev_sdk_version (str): Version of the development SDK - dev_server_version_standalone (str): Version number for server development build - dis_countdown (datetime): Unknown, \"dis\" maybe for disconnect? - download_link_windows (str): Download link for game on the Oculus Rift website. - download_urls (DownloadURLList): - dynamic_world_rows ([DynamicContentRow]): Array of DynamicWorldRow objects, used by the game to display the list of world rows - events (APIEventConfig): - gear_demo_room_id (str): Unknown - home_world_id (WorldID): - hub_world_id (WorldID): - jobs_email (str): VRChat's job application email - message_of_the_day (str): MOTD - moderation_email (str): VRChat's moderation related email - moderation_query_period (int): Unknown - not_allowed_to_select_avatar_in_private_world_message (str): Used in-game to notify a user they aren't allowed to select avatars in private worlds - plugin (str): Extra [plugin](https://doc.photonengine.com/en-us/server/current/plugins/manual) to run in each instance - release_app_version_standalone (str): Version number for game release build - release_sdk_url (str): Link to download the release SDK - release_sdk_version (str): Version of the release SDK - release_server_version_standalone (str): Version number for server release build - sdk_developer_faq_url (str): Link to the developer FAQ - sdk_discord_url (str): Link to the official VRChat Discord - sdk_not_allowed_to_publish_message (str): Used in the SDK to notify a user they aren't allowed to upload avatars/worlds yet - sdk_unity_version (str): Unity version supported by the SDK - server_name (str): Server name of the API server currently responding - support_email (str): VRChat's support email - time_out_world_id (WorldID): - tutorial_world_id (WorldID): - update_rate_ms_maximum (int): Unknown - update_rate_ms_minimum (int): Unknown - update_rate_ms_normal (int): Unknown - update_rate_ms_udon_manual (int): Unknown - upload_analysis_percent (int): Unknown - url_list ([str]): List of allowed URLs that bypass the \"Allow untrusted URL's\" setting in-game - user_update_period (int): Unknown - user_verification_delay (int): Unknown - user_verification_retry (int): Unknown - user_verification_timeout (int): Unknown - vive_windows_url (str): Download link for game on the Steam website. - white_listed_asset_urls ([str]): List of allowed URLs that are allowed to host avatar assets - world_update_period (int): Unknown - player_url_resolver_hash (str): Currently used youtube-dl.exe hash in SHA-256-delimited format - player_url_resolver_version (str): Currently used youtube-dl.exe version - - Keyword Args: - voice_enable_degradation (bool): Unknown, probably voice optimization testing. defaults to False # noqa: E501 - voice_enable_receiver_limiting (bool): Unknown, probably voice optimization testing. defaults to True # noqa: E501 - app_name (str): Game name. defaults to "VrChat" # noqa: E501 - client_bps_ceiling (int): Unknown. defaults to 18432 # noqa: E501 - client_disconnect_timeout (int): Unknown. defaults to 30000 # noqa: E501 - client_reserved_player_bps (int): Unknown. defaults to 7168 # noqa: E501 - client_sent_count_allowance (int): Unknown. defaults to 15 # noqa: E501 - disable_avatar_copying (bool): Toggles if copying avatars should be disabled. defaults to False # noqa: E501 - disable_avatar_gating (bool): Toggles if avatar gating should be disabled. Avatar gating restricts uploading of avatars to people with the `system_avatar_access` Tag or `admin_avatar_access` Tag. defaults to False # noqa: E501 - disable_community_labs (bool): Toggles if the Community Labs should be disabled. defaults to False # noqa: E501 - disable_community_labs_promotion (bool): Toggles if promotion out of Community Labs should be disabled. defaults to False # noqa: E501 - disable_email (bool): Unknown. defaults to False # noqa: E501 - disable_event_stream (bool): Toggles if Analytics should be disabled.. defaults to False # noqa: E501 - disable_feedback_gating (bool): Toggles if feedback gating should be disabled. Feedback gating restricts submission of feedback (reporting a World or User) to people with the `system_feedback_access` Tag.. defaults to False # noqa: E501 - disable_frontend_builds (bool): Unknown, probably toggles compilation of frontend web builds? So internal flag?. defaults to False # noqa: E501 - disable_hello (bool): Unknown. defaults to False # noqa: E501 - disable_oculus_subs (bool): Toggles if signing up for Subscriptions in Oculus is disabled or not.. defaults to False # noqa: E501 - disable_registration (bool): Toggles if new user account registration should be disabled.. defaults to False # noqa: E501 - disable_steam_networking (bool): Toggles if Steam Networking should be disabled. VRChat these days uses Photon Unity Networking (PUN) instead.. defaults to True # noqa: E501 - disable_two_factor_auth (bool): Toggles if 2FA should be disabled.. defaults to False # noqa: E501 - disable_udon (bool): Toggles if Udon should be universally disabled in-game.. defaults to False # noqa: E501 - disable_upgrade_account (bool): Toggles if account upgrading \"linking with Steam/Oculus\" should be disabled.. defaults to False # noqa: E501 - homepage_redirect_target (str): Redirect target if you try to open the base API domain in your browser. defaults to "https://hello.vrchat.com" # noqa: E501 - use_reliable_udp_for_voice (bool): Unknown. defaults to False # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - voice_enable_degradation = kwargs.get('voice_enable_degradation', False) - voice_enable_receiver_limiting = kwargs.get('voice_enable_receiver_limiting', True) - app_name = kwargs.get('app_name', "VrChat") - client_bps_ceiling = kwargs.get('client_bps_ceiling', 18432) - client_disconnect_timeout = kwargs.get('client_disconnect_timeout', 30000) - client_reserved_player_bps = kwargs.get('client_reserved_player_bps', 7168) - client_sent_count_allowance = kwargs.get('client_sent_count_allowance', 15) - disable_avatar_copying = kwargs.get('disable_avatar_copying', False) - disable_avatar_gating = kwargs.get('disable_avatar_gating', False) - disable_community_labs = kwargs.get('disable_community_labs', False) - disable_community_labs_promotion = kwargs.get('disable_community_labs_promotion', False) - disable_email = kwargs.get('disable_email', False) - disable_event_stream = kwargs.get('disable_event_stream', False) - disable_feedback_gating = kwargs.get('disable_feedback_gating', False) - disable_frontend_builds = kwargs.get('disable_frontend_builds', False) - disable_hello = kwargs.get('disable_hello', False) - disable_oculus_subs = kwargs.get('disable_oculus_subs', False) - disable_registration = kwargs.get('disable_registration', False) - disable_steam_networking = kwargs.get('disable_steam_networking', True) - disable_two_factor_auth = kwargs.get('disable_two_factor_auth', False) - disable_udon = kwargs.get('disable_udon', False) - disable_upgrade_account = kwargs.get('disable_upgrade_account', False) - homepage_redirect_target = kwargs.get('homepage_redirect_target', "https://hello.vrchat.com") - use_reliable_udp_for_voice = kwargs.get('use_reliable_udp_for_voice', False) - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.voice_enable_degradation = voice_enable_degradation - self.voice_enable_receiver_limiting = voice_enable_receiver_limiting - self.address = address - self.announcements = announcements - self.api_key = api_key - self.app_name = app_name - self.build_version_tag = build_version_tag - self.client_api_key = client_api_key - self.client_bps_ceiling = client_bps_ceiling - self.client_disconnect_timeout = client_disconnect_timeout - self.client_reserved_player_bps = client_reserved_player_bps - self.client_sent_count_allowance = client_sent_count_allowance - self.contact_email = contact_email - self.copyright_email = copyright_email - self.current_tos_version = current_tos_version - self.default_avatar = default_avatar - self.deployment_group = deployment_group - self.dev_app_version_standalone = dev_app_version_standalone - self.dev_download_link_windows = dev_download_link_windows - self.dev_sdk_url = dev_sdk_url - self.dev_sdk_version = dev_sdk_version - self.dev_server_version_standalone = dev_server_version_standalone - self.dis_countdown = dis_countdown - self.disable_avatar_copying = disable_avatar_copying - self.disable_avatar_gating = disable_avatar_gating - self.disable_community_labs = disable_community_labs - self.disable_community_labs_promotion = disable_community_labs_promotion - self.disable_email = disable_email - self.disable_event_stream = disable_event_stream - self.disable_feedback_gating = disable_feedback_gating - self.disable_frontend_builds = disable_frontend_builds - self.disable_hello = disable_hello - self.disable_oculus_subs = disable_oculus_subs - self.disable_registration = disable_registration - self.disable_steam_networking = disable_steam_networking - self.disable_two_factor_auth = disable_two_factor_auth - self.disable_udon = disable_udon - self.disable_upgrade_account = disable_upgrade_account - self.download_link_windows = download_link_windows - self.download_urls = download_urls - self.dynamic_world_rows = dynamic_world_rows - self.events = events - self.gear_demo_room_id = gear_demo_room_id - self.home_world_id = home_world_id - self.homepage_redirect_target = homepage_redirect_target - self.hub_world_id = hub_world_id - self.jobs_email = jobs_email - self.message_of_the_day = message_of_the_day - self.moderation_email = moderation_email - self.moderation_query_period = moderation_query_period - self.not_allowed_to_select_avatar_in_private_world_message = not_allowed_to_select_avatar_in_private_world_message - self.plugin = plugin - self.release_app_version_standalone = release_app_version_standalone - self.release_sdk_url = release_sdk_url - self.release_sdk_version = release_sdk_version - self.release_server_version_standalone = release_server_version_standalone - self.sdk_developer_faq_url = sdk_developer_faq_url - self.sdk_discord_url = sdk_discord_url - self.sdk_not_allowed_to_publish_message = sdk_not_allowed_to_publish_message - self.sdk_unity_version = sdk_unity_version - self.server_name = server_name - self.support_email = support_email - self.time_out_world_id = time_out_world_id - self.tutorial_world_id = tutorial_world_id - self.update_rate_ms_maximum = update_rate_ms_maximum - self.update_rate_ms_minimum = update_rate_ms_minimum - self.update_rate_ms_normal = update_rate_ms_normal - self.update_rate_ms_udon_manual = update_rate_ms_udon_manual - self.upload_analysis_percent = upload_analysis_percent - self.url_list = url_list - self.use_reliable_udp_for_voice = use_reliable_udp_for_voice - self.user_update_period = user_update_period - self.user_verification_delay = user_verification_delay - self.user_verification_retry = user_verification_retry - self.user_verification_timeout = user_verification_timeout - self.vive_windows_url = vive_windows_url - self.white_listed_asset_urls = white_listed_asset_urls - self.world_update_period = world_update_period - self.player_url_resolver_hash = player_url_resolver_hash - self.player_url_resolver_version = player_url_resolver_version - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/api_event_config.py b/vrchatapi/model/api_event_config.py deleted file mode 100644 index be9ef8fc..00000000 --- a/vrchatapi/model/api_event_config.py +++ /dev/null @@ -1,315 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class APIEventConfig(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'distance_close': (int,), # noqa: E501 - 'distance_factor': (int,), # noqa: E501 - 'distance_far': (int,), # noqa: E501 - 'group_distance': (int,), # noqa: E501 - 'maximum_bunch_size': (int,), # noqa: E501 - 'not_visible_factor': (int,), # noqa: E501 - 'player_order_bucket_size': (int,), # noqa: E501 - 'player_order_factor': (int,), # noqa: E501 - 'slow_update_factor_threshold': (int,), # noqa: E501 - 'view_segment_length': (int,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'distance_close': 'distanceClose', # noqa: E501 - 'distance_factor': 'distanceFactor', # noqa: E501 - 'distance_far': 'distanceFar', # noqa: E501 - 'group_distance': 'groupDistance', # noqa: E501 - 'maximum_bunch_size': 'maximumBunchSize', # noqa: E501 - 'not_visible_factor': 'notVisibleFactor', # noqa: E501 - 'player_order_bucket_size': 'playerOrderBucketSize', # noqa: E501 - 'player_order_factor': 'playerOrderFactor', # noqa: E501 - 'slow_update_factor_threshold': 'slowUpdateFactorThreshold', # noqa: E501 - 'view_segment_length': 'viewSegmentLength', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, distance_close, distance_factor, distance_far, group_distance, maximum_bunch_size, not_visible_factor, player_order_bucket_size, player_order_factor, slow_update_factor_threshold, view_segment_length, *args, **kwargs): # noqa: E501 - """APIEventConfig - a model defined in OpenAPI - - Args: - distance_close (int): Unknown - distance_factor (int): Unknown - distance_far (int): Unknown - group_distance (int): Unknown - maximum_bunch_size (int): Unknown - not_visible_factor (int): Unknown - player_order_bucket_size (int): Unknown - player_order_factor (int): Unknown - slow_update_factor_threshold (int): Unknown - view_segment_length (int): Unknown - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.distance_close = distance_close - self.distance_factor = distance_factor - self.distance_far = distance_far - self.group_distance = group_distance - self.maximum_bunch_size = maximum_bunch_size - self.not_visible_factor = not_visible_factor - self.player_order_bucket_size = player_order_bucket_size - self.player_order_factor = player_order_factor - self.slow_update_factor_threshold = slow_update_factor_threshold - self.view_segment_length = view_segment_length - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, distance_close, distance_factor, distance_far, group_distance, maximum_bunch_size, not_visible_factor, player_order_bucket_size, player_order_factor, slow_update_factor_threshold, view_segment_length, *args, **kwargs): # noqa: E501 - """APIEventConfig - a model defined in OpenAPI - - Args: - distance_close (int): Unknown - distance_factor (int): Unknown - distance_far (int): Unknown - group_distance (int): Unknown - maximum_bunch_size (int): Unknown - not_visible_factor (int): Unknown - player_order_bucket_size (int): Unknown - player_order_factor (int): Unknown - slow_update_factor_threshold (int): Unknown - view_segment_length (int): Unknown - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.distance_close = distance_close - self.distance_factor = distance_factor - self.distance_far = distance_far - self.group_distance = group_distance - self.maximum_bunch_size = maximum_bunch_size - self.not_visible_factor = not_visible_factor - self.player_order_bucket_size = player_order_bucket_size - self.player_order_factor = player_order_factor - self.slow_update_factor_threshold = slow_update_factor_threshold - self.view_segment_length = view_segment_length - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/api_health.py b/vrchatapi/model/api_health.py deleted file mode 100644 index fd5b6429..00000000 --- a/vrchatapi/model/api_health.py +++ /dev/null @@ -1,279 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class APIHealth(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('server_name',): { - 'min_length': 1, - }, - ('build_version_tag',): { - 'min_length': 1, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'ok': (bool,), # noqa: E501 - 'server_name': (str,), # noqa: E501 - 'build_version_tag': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'ok': 'ok', # noqa: E501 - 'server_name': 'serverName', # noqa: E501 - 'build_version_tag': 'buildVersionTag', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, ok, server_name, build_version_tag, *args, **kwargs): # noqa: E501 - """APIHealth - a model defined in OpenAPI - - Args: - ok (bool): - server_name (str): - build_version_tag (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.ok = ok - self.server_name = server_name - self.build_version_tag = build_version_tag - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, ok, server_name, build_version_tag, *args, **kwargs): # noqa: E501 - """APIHealth - a model defined in OpenAPI - - Args: - ok (bool): - server_name (str): - build_version_tag (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.ok = ok - self.server_name = server_name - self.build_version_tag = build_version_tag - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/avatar.py b/vrchatapi/model/avatar.py deleted file mode 100644 index 24d7fe4a..00000000 --- a/vrchatapi/model/avatar.py +++ /dev/null @@ -1,401 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - -def lazy_import(): - from vrchatapi.model.avatar_id import AvatarID - from vrchatapi.model.avatar_unity_package_url_object import AvatarUnityPackageUrlObject - from vrchatapi.model.release_status import ReleaseStatus - from vrchatapi.model.tag import Tag - from vrchatapi.model.unity_package import UnityPackage - globals()['AvatarID'] = AvatarID - globals()['AvatarUnityPackageUrlObject'] = AvatarUnityPackageUrlObject - globals()['ReleaseStatus'] = ReleaseStatus - globals()['Tag'] = Tag - globals()['UnityPackage'] = UnityPackage - - -class Avatar(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('author_name',): { - 'min_length': 1, - }, - ('description',): { - 'min_length': 0, - }, - ('image_url',): { - 'min_length': 1, - }, - ('name',): { - 'min_length': 1, - }, - ('thumbnail_image_url',): { - 'min_length': 1, - }, - ('unity_packages',): { - 'min_items': 1, - }, - ('version',): { - 'inclusive_minimum': 0, - }, - ('asset_url',): { - 'min_length': 1, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'author_id': (str,), # noqa: E501 - 'author_name': (str,), # noqa: E501 - 'created_at': (datetime,), # noqa: E501 - 'description': (str,), # noqa: E501 - 'featured': (bool,), # noqa: E501 - 'id': (AvatarID,), # noqa: E501 - 'image_url': (str,), # noqa: E501 - 'name': (str,), # noqa: E501 - 'release_status': (ReleaseStatus,), # noqa: E501 - 'tags': ([Tag],), # noqa: E501 - 'thumbnail_image_url': (str,), # noqa: E501 - 'unity_package_url': (str,), # noqa: E501 - 'unity_package_url_object': (AvatarUnityPackageUrlObject,), # noqa: E501 - 'unity_packages': ([UnityPackage],), # noqa: E501 - 'updated_at': (datetime,), # noqa: E501 - 'version': (int,), # noqa: E501 - 'asset_url': (str,), # noqa: E501 - 'asset_url_object': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'author_id': 'authorId', # noqa: E501 - 'author_name': 'authorName', # noqa: E501 - 'created_at': 'created_at', # noqa: E501 - 'description': 'description', # noqa: E501 - 'featured': 'featured', # noqa: E501 - 'id': 'id', # noqa: E501 - 'image_url': 'imageUrl', # noqa: E501 - 'name': 'name', # noqa: E501 - 'release_status': 'releaseStatus', # noqa: E501 - 'tags': 'tags', # noqa: E501 - 'thumbnail_image_url': 'thumbnailImageUrl', # noqa: E501 - 'unity_package_url': 'unityPackageUrl', # noqa: E501 - 'unity_package_url_object': 'unityPackageUrlObject', # noqa: E501 - 'unity_packages': 'unityPackages', # noqa: E501 - 'updated_at': 'updated_at', # noqa: E501 - 'version': 'version', # noqa: E501 - 'asset_url': 'assetUrl', # noqa: E501 - 'asset_url_object': 'assetUrlObject', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, author_id, author_name, created_at, description, id, image_url, name, release_status, tags, thumbnail_image_url, unity_package_url, unity_package_url_object, unity_packages, updated_at, *args, **kwargs): # noqa: E501 - """Avatar - a model defined in OpenAPI - - Args: - author_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. - author_name (str): - created_at (datetime): - description (str): - id (AvatarID): - image_url (str): - name (str): - release_status (ReleaseStatus): - tags ([Tag]): - thumbnail_image_url (str): - unity_package_url (str): - unity_package_url_object (AvatarUnityPackageUrlObject): - unity_packages ([UnityPackage]): - updated_at (datetime): - - Keyword Args: - featured (bool): defaults to False # noqa: E501 - version (int): defaults to 0 # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - asset_url (str): Not present from general serach `/avatars`, only on specific requests `/avatars/{avatarId}`.. [optional] # noqa: E501 - asset_url_object ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): Not present from general serach `/avatars`, only on specific requests `/avatars/{avatarId}`. **Deprecation:** `Object` has unknown usage/fields, and is always empty. Use normal `Url` field instead.. [optional] # noqa: E501 - """ - - featured = kwargs.get('featured', False) - version = kwargs.get('version', 0) - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.author_id = author_id - self.author_name = author_name - self.created_at = created_at - self.description = description - self.featured = featured - self.id = id - self.image_url = image_url - self.name = name - self.release_status = release_status - self.tags = tags - self.thumbnail_image_url = thumbnail_image_url - self.unity_package_url = unity_package_url - self.unity_package_url_object = unity_package_url_object - self.unity_packages = unity_packages - self.updated_at = updated_at - self.version = version - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, author_id, author_name, created_at, description, id, image_url, name, release_status, tags, thumbnail_image_url, unity_package_url, unity_package_url_object, unity_packages, updated_at, *args, **kwargs): # noqa: E501 - """Avatar - a model defined in OpenAPI - - Args: - author_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. - author_name (str): - created_at (datetime): - description (str): - id (AvatarID): - image_url (str): - name (str): - release_status (ReleaseStatus): - tags ([Tag]): - thumbnail_image_url (str): - unity_package_url (str): - unity_package_url_object (AvatarUnityPackageUrlObject): - unity_packages ([UnityPackage]): - updated_at (datetime): - - Keyword Args: - featured (bool): defaults to False # noqa: E501 - version (int): defaults to 0 # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - asset_url (str): Not present from general serach `/avatars`, only on specific requests `/avatars/{avatarId}`.. [optional] # noqa: E501 - asset_url_object ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): Not present from general serach `/avatars`, only on specific requests `/avatars/{avatarId}`. **Deprecation:** `Object` has unknown usage/fields, and is always empty. Use normal `Url` field instead.. [optional] # noqa: E501 - """ - - featured = kwargs.get('featured', False) - version = kwargs.get('version', 0) - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.author_id = author_id - self.author_name = author_name - self.created_at = created_at - self.description = description - self.featured = featured - self.id = id - self.image_url = image_url - self.name = name - self.release_status = release_status - self.tags = tags - self.thumbnail_image_url = thumbnail_image_url - self.unity_package_url = unity_package_url - self.unity_package_url_object = unity_package_url_object - self.unity_packages = unity_packages - self.updated_at = updated_at - self.version = version - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/avatar_id.py b/vrchatapi/model/avatar_id.py deleted file mode 100644 index 36a9738e..00000000 --- a/vrchatapi/model/avatar_id.py +++ /dev/null @@ -1,283 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class AvatarID(ModelSimple): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('value',): { - 'regex': { - 'pattern': r'', # noqa: E501 - }, - }, - } - - additional_properties_type = None - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'value': (str,), - } - - @cached_property - def discriminator(): - return None - - - attribute_map = {} - - read_only_vars = set() - - _composed_schemas = None - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): - """AvatarID - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): # noqa: E501 - - Keyword Args: - value (str): # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - raise ApiTypeError( - "value is required, but not passed in args or kwargs and doesn't have default", - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): - """AvatarID - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): # noqa: E501 - - Keyword Args: - value (str): # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - raise ApiTypeError( - "value is required, but not passed in args or kwargs and doesn't have default", - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - return self diff --git a/vrchatapi/model/avatar_unity_package_url_object.py b/vrchatapi/model/avatar_unity_package_url_object.py deleted file mode 100644 index 94175738..00000000 --- a/vrchatapi/model/avatar_unity_package_url_object.py +++ /dev/null @@ -1,255 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class AvatarUnityPackageUrlObject(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'unity_package_url': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'unity_package_url': 'unityPackageUrl', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """AvatarUnityPackageUrlObject - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - unity_package_url (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """AvatarUnityPackageUrlObject - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - unity_package_url (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/create_avatar_request.py b/vrchatapi/model/create_avatar_request.py deleted file mode 100644 index 25d6ae94..00000000 --- a/vrchatapi/model/create_avatar_request.py +++ /dev/null @@ -1,317 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - -def lazy_import(): - from vrchatapi.model.avatar_id import AvatarID - from vrchatapi.model.release_status import ReleaseStatus - from vrchatapi.model.tag import Tag - globals()['AvatarID'] = AvatarID - globals()['ReleaseStatus'] = ReleaseStatus - globals()['Tag'] = Tag - - -class CreateAvatarRequest(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('name',): { - 'min_length': 1, - }, - ('image_url',): { - 'min_length': 1, - }, - ('description',): { - 'min_length': 1, - }, - ('version',): { - 'inclusive_minimum': 0, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'name': (str,), # noqa: E501 - 'image_url': (str,), # noqa: E501 - 'asset_url': (str,), # noqa: E501 - 'id': (AvatarID,), # noqa: E501 - 'description': (str,), # noqa: E501 - 'tags': ([Tag],), # noqa: E501 - 'release_status': (ReleaseStatus,), # noqa: E501 - 'version': (float,), # noqa: E501 - 'unity_package_url': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'name': 'name', # noqa: E501 - 'image_url': 'imageUrl', # noqa: E501 - 'asset_url': 'assetUrl', # noqa: E501 - 'id': 'id', # noqa: E501 - 'description': 'description', # noqa: E501 - 'tags': 'tags', # noqa: E501 - 'release_status': 'releaseStatus', # noqa: E501 - 'version': 'version', # noqa: E501 - 'unity_package_url': 'unityPackageUrl', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, name, image_url, *args, **kwargs): # noqa: E501 - """CreateAvatarRequest - a model defined in OpenAPI - - Args: - name (str): - image_url (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - asset_url (str): [optional] # noqa: E501 - id (AvatarID): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - tags ([Tag]): [optional] # noqa: E501 - release_status (ReleaseStatus): [optional] # noqa: E501 - version (float): [optional] if omitted the server will use the default value of 1 # noqa: E501 - unity_package_url (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.name = name - self.image_url = image_url - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, name, image_url, *args, **kwargs): # noqa: E501 - """CreateAvatarRequest - a model defined in OpenAPI - - Args: - name (str): - image_url (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - asset_url (str): [optional] # noqa: E501 - id (AvatarID): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - tags ([Tag]): [optional] # noqa: E501 - release_status (ReleaseStatus): [optional] # noqa: E501 - version (float): [optional] if omitted the server will use the default value of 1 # noqa: E501 - unity_package_url (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.name = name - self.image_url = image_url - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/create_file_request.py b/vrchatapi/model/create_file_request.py deleted file mode 100644 index a6e8ac3d..00000000 --- a/vrchatapi/model/create_file_request.py +++ /dev/null @@ -1,291 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - -def lazy_import(): - from vrchatapi.model.mime_type import MIMEType - from vrchatapi.model.tag import Tag - globals()['MIMEType'] = MIMEType - globals()['Tag'] = Tag - - -class CreateFileRequest(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('name',): { - 'min_length': 0, - }, - ('extension',): { - 'min_length': 1, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'name': (str,), # noqa: E501 - 'mime_type': (MIMEType,), # noqa: E501 - 'extension': (str,), # noqa: E501 - 'tags': ([Tag],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'name': 'name', # noqa: E501 - 'mime_type': 'mimeType', # noqa: E501 - 'extension': 'extension', # noqa: E501 - 'tags': 'tags', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, name, mime_type, extension, *args, **kwargs): # noqa: E501 - """CreateFileRequest - a model defined in OpenAPI - - Args: - name (str): - mime_type (MIMEType): - extension (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - tags ([Tag]): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.name = name - self.mime_type = mime_type - self.extension = extension - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, name, mime_type, extension, *args, **kwargs): # noqa: E501 - """CreateFileRequest - a model defined in OpenAPI - - Args: - name (str): - mime_type (MIMEType): - extension (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - tags ([Tag]): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.name = name - self.mime_type = mime_type - self.extension = extension - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/create_file_version_request.py b/vrchatapi/model/create_file_version_request.py deleted file mode 100644 index 19479bea..00000000 --- a/vrchatapi/model/create_file_version_request.py +++ /dev/null @@ -1,281 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class CreateFileVersionRequest(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('signature_md5',): { - 'min_length': 1, - }, - ('file_md5',): { - 'min_length': 1, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'signature_md5': (str,), # noqa: E501 - 'signature_size_in_bytes': (float,), # noqa: E501 - 'file_md5': (str,), # noqa: E501 - 'file_size_in_bytes': (float,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'signature_md5': 'signatureMd5', # noqa: E501 - 'signature_size_in_bytes': 'signatureSizeInBytes', # noqa: E501 - 'file_md5': 'fileMd5', # noqa: E501 - 'file_size_in_bytes': 'fileSizeInBytes', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, signature_md5, signature_size_in_bytes, *args, **kwargs): # noqa: E501 - """CreateFileVersionRequest - a model defined in OpenAPI - - Args: - signature_md5 (str): - signature_size_in_bytes (float): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - file_md5 (str): [optional] # noqa: E501 - file_size_in_bytes (float): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.signature_md5 = signature_md5 - self.signature_size_in_bytes = signature_size_in_bytes - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, signature_md5, signature_size_in_bytes, *args, **kwargs): # noqa: E501 - """CreateFileVersionRequest - a model defined in OpenAPI - - Args: - signature_md5 (str): - signature_size_in_bytes (float): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - file_md5 (str): [optional] # noqa: E501 - file_size_in_bytes (float): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.signature_md5 = signature_md5 - self.signature_size_in_bytes = signature_size_in_bytes - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/create_world_request.py b/vrchatapi/model/create_world_request.py deleted file mode 100644 index 3f9a501d..00000000 --- a/vrchatapi/model/create_world_request.py +++ /dev/null @@ -1,352 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - -def lazy_import(): - from vrchatapi.model.release_status import ReleaseStatus - from vrchatapi.model.tag import Tag - from vrchatapi.model.world_id import WorldID - globals()['ReleaseStatus'] = ReleaseStatus - globals()['Tag'] = Tag - globals()['WorldID'] = WorldID - - -class CreateWorldRequest(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('asset_url',): { - 'min_length': 1, - }, - ('image_url',): { - 'min_length': 1, - }, - ('name',): { - 'min_length': 1, - }, - ('asset_version',): { - 'inclusive_minimum': 0, - }, - ('author_name',): { - 'min_length': 1, - }, - ('capacity',): { - 'inclusive_maximum': 40, - 'inclusive_minimum': 0, - }, - ('unity_package_url',): { - 'min_length': 1, - }, - ('unity_version',): { - 'min_length': 1, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'asset_url': (str,), # noqa: E501 - 'image_url': (str,), # noqa: E501 - 'name': (str,), # noqa: E501 - 'asset_version': (int,), # noqa: E501 - 'author_id': (str,), # noqa: E501 - 'author_name': (str,), # noqa: E501 - 'capacity': (int,), # noqa: E501 - 'description': (str,), # noqa: E501 - 'id': (WorldID,), # noqa: E501 - 'platform': (str,), # noqa: E501 - 'release_status': (ReleaseStatus,), # noqa: E501 - 'tags': ([Tag],), # noqa: E501 - 'unity_package_url': (str,), # noqa: E501 - 'unity_version': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'asset_url': 'assetUrl', # noqa: E501 - 'image_url': 'imageUrl', # noqa: E501 - 'name': 'name', # noqa: E501 - 'asset_version': 'assetVersion', # noqa: E501 - 'author_id': 'authorId', # noqa: E501 - 'author_name': 'authorName', # noqa: E501 - 'capacity': 'capacity', # noqa: E501 - 'description': 'description', # noqa: E501 - 'id': 'id', # noqa: E501 - 'platform': 'platform', # noqa: E501 - 'release_status': 'releaseStatus', # noqa: E501 - 'tags': 'tags', # noqa: E501 - 'unity_package_url': 'unityPackageUrl', # noqa: E501 - 'unity_version': 'unityVersion', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, asset_url, image_url, name, *args, **kwargs): # noqa: E501 - """CreateWorldRequest - a model defined in OpenAPI - - Args: - asset_url (str): - image_url (str): - name (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - asset_version (int): [optional] # noqa: E501 - author_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed.. [optional] # noqa: E501 - author_name (str): [optional] # noqa: E501 - capacity (int): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - id (WorldID): [optional] # noqa: E501 - platform (str): This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`.. [optional] # noqa: E501 - release_status (ReleaseStatus): [optional] # noqa: E501 - tags ([Tag]): [optional] # noqa: E501 - unity_package_url (str): [optional] # noqa: E501 - unity_version (str): [optional] if omitted the server will use the default value of "5.3.4p1" # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.asset_url = asset_url - self.image_url = image_url - self.name = name - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, asset_url, image_url, name, *args, **kwargs): # noqa: E501 - """CreateWorldRequest - a model defined in OpenAPI - - Args: - asset_url (str): - image_url (str): - name (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - asset_version (int): [optional] # noqa: E501 - author_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed.. [optional] # noqa: E501 - author_name (str): [optional] # noqa: E501 - capacity (int): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - id (WorldID): [optional] # noqa: E501 - platform (str): This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`.. [optional] # noqa: E501 - release_status (ReleaseStatus): [optional] # noqa: E501 - tags ([Tag]): [optional] # noqa: E501 - unity_package_url (str): [optional] # noqa: E501 - unity_version (str): [optional] if omitted the server will use the default value of "5.3.4p1" # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.asset_url = asset_url - self.image_url = image_url - self.name = name - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/current_user.py b/vrchatapi/model/current_user.py deleted file mode 100644 index faea8722..00000000 --- a/vrchatapi/model/current_user.py +++ /dev/null @@ -1,546 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - -def lazy_import(): - from vrchatapi.model.avatar_id import AvatarID - from vrchatapi.model.developer_type import DeveloperType - from vrchatapi.model.past_display_name import PastDisplayName - from vrchatapi.model.tag import Tag - from vrchatapi.model.user_state import UserState - from vrchatapi.model.user_status import UserStatus - from vrchatapi.model.world_id import WorldID - globals()['AvatarID'] = AvatarID - globals()['DeveloperType'] = DeveloperType - globals()['PastDisplayName'] = PastDisplayName - globals()['Tag'] = Tag - globals()['UserState'] = UserState - globals()['UserStatus'] = UserStatus - globals()['WorldID'] = WorldID - - -class CurrentUser(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('accepted_tos_version',): { - 'inclusive_minimum': 0, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'accepted_tos_version': (int,), # noqa: E501 - 'allow_avatar_copying': (bool,), # noqa: E501 - 'bio': (str,), # noqa: E501 - 'bio_links': ([str],), # noqa: E501 - 'current_avatar': (AvatarID,), # noqa: E501 - 'current_avatar_asset_url': (str,), # noqa: E501 - 'current_avatar_image_url': (str,), # noqa: E501 - 'current_avatar_thumbnail_image_url': (str,), # noqa: E501 - 'date_joined': (date,), # noqa: E501 - 'developer_type': (DeveloperType,), # noqa: E501 - 'display_name': (str,), # noqa: E501 - 'email_verified': (bool,), # noqa: E501 - 'friend_group_names': ([str],), # noqa: E501 - 'friend_key': (str,), # noqa: E501 - 'friends': ([str],), # noqa: E501 - 'has_birthday': (bool,), # noqa: E501 - 'has_email': (bool,), # noqa: E501 - 'has_logged_in_from_client': (bool,), # noqa: E501 - 'has_pending_email': (bool,), # noqa: E501 - 'home_location': (WorldID,), # noqa: E501 - 'id': (str,), # noqa: E501 - 'is_friend': (bool,), # noqa: E501 - 'last_login': (datetime,), # noqa: E501 - 'last_platform': (str,), # noqa: E501 - 'obfuscated_email': (str,), # noqa: E501 - 'obfuscated_pending_email': (str,), # noqa: E501 - 'oculus_id': (str,), # noqa: E501 - 'past_display_names': ([PastDisplayName],), # noqa: E501 - 'profile_pic_override': (str,), # noqa: E501 - 'state': (UserState,), # noqa: E501 - 'status': (UserStatus,), # noqa: E501 - 'status_description': (str,), # noqa: E501 - 'status_first_time': (bool,), # noqa: E501 - 'status_history': ([str],), # noqa: E501 - 'steam_details': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 - 'steam_id': (str,), # noqa: E501 - 'tags': ([Tag],), # noqa: E501 - 'two_factor_auth_enabled': (bool,), # noqa: E501 - 'unsubscribe': (bool,), # noqa: E501 - 'user_icon': (str,), # noqa: E501 - 'account_deletion_date': (date, none_type,), # noqa: E501 - 'active_friends': ([str],), # noqa: E501 - 'fallback_avatar': (AvatarID,), # noqa: E501 - 'offline_friends': ([str],), # noqa: E501 - 'online_friends': ([str],), # noqa: E501 - 'two_factor_auth_enabled_date': (datetime, none_type,), # noqa: E501 - 'username': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'accepted_tos_version': 'acceptedTOSVersion', # noqa: E501 - 'allow_avatar_copying': 'allowAvatarCopying', # noqa: E501 - 'bio': 'bio', # noqa: E501 - 'bio_links': 'bioLinks', # noqa: E501 - 'current_avatar': 'currentAvatar', # noqa: E501 - 'current_avatar_asset_url': 'currentAvatarAssetUrl', # noqa: E501 - 'current_avatar_image_url': 'currentAvatarImageUrl', # noqa: E501 - 'current_avatar_thumbnail_image_url': 'currentAvatarThumbnailImageUrl', # noqa: E501 - 'date_joined': 'date_joined', # noqa: E501 - 'developer_type': 'developerType', # noqa: E501 - 'display_name': 'displayName', # noqa: E501 - 'email_verified': 'emailVerified', # noqa: E501 - 'friend_group_names': 'friendGroupNames', # noqa: E501 - 'friend_key': 'friendKey', # noqa: E501 - 'friends': 'friends', # noqa: E501 - 'has_birthday': 'hasBirthday', # noqa: E501 - 'has_email': 'hasEmail', # noqa: E501 - 'has_logged_in_from_client': 'hasLoggedInFromClient', # noqa: E501 - 'has_pending_email': 'hasPendingEmail', # noqa: E501 - 'home_location': 'homeLocation', # noqa: E501 - 'id': 'id', # noqa: E501 - 'is_friend': 'isFriend', # noqa: E501 - 'last_login': 'last_login', # noqa: E501 - 'last_platform': 'last_platform', # noqa: E501 - 'obfuscated_email': 'obfuscatedEmail', # noqa: E501 - 'obfuscated_pending_email': 'obfuscatedPendingEmail', # noqa: E501 - 'oculus_id': 'oculusId', # noqa: E501 - 'past_display_names': 'pastDisplayNames', # noqa: E501 - 'profile_pic_override': 'profilePicOverride', # noqa: E501 - 'state': 'state', # noqa: E501 - 'status': 'status', # noqa: E501 - 'status_description': 'statusDescription', # noqa: E501 - 'status_first_time': 'statusFirstTime', # noqa: E501 - 'status_history': 'statusHistory', # noqa: E501 - 'steam_details': 'steamDetails', # noqa: E501 - 'steam_id': 'steamId', # noqa: E501 - 'tags': 'tags', # noqa: E501 - 'two_factor_auth_enabled': 'twoFactorAuthEnabled', # noqa: E501 - 'unsubscribe': 'unsubscribe', # noqa: E501 - 'user_icon': 'userIcon', # noqa: E501 - 'account_deletion_date': 'accountDeletionDate', # noqa: E501 - 'active_friends': 'activeFriends', # noqa: E501 - 'fallback_avatar': 'fallbackAvatar', # noqa: E501 - 'offline_friends': 'offlineFriends', # noqa: E501 - 'online_friends': 'onlineFriends', # noqa: E501 - 'two_factor_auth_enabled_date': 'twoFactorAuthEnabledDate', # noqa: E501 - 'username': 'username', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, accepted_tos_version, allow_avatar_copying, bio, bio_links, current_avatar, current_avatar_asset_url, current_avatar_image_url, current_avatar_thumbnail_image_url, date_joined, developer_type, display_name, email_verified, friend_group_names, friend_key, friends, has_birthday, has_email, has_logged_in_from_client, has_pending_email, home_location, id, last_login, last_platform, obfuscated_email, obfuscated_pending_email, oculus_id, past_display_names, profile_pic_override, state, status, status_description, status_first_time, status_history, steam_details, steam_id, tags, two_factor_auth_enabled, unsubscribe, user_icon, *args, **kwargs): # noqa: E501 - """CurrentUser - a model defined in OpenAPI - - Args: - accepted_tos_version (int): - allow_avatar_copying (bool): - bio (str): - bio_links ([str]): - current_avatar (AvatarID): - current_avatar_asset_url (str): - current_avatar_image_url (str): When profilePicOverride is not empty, use it instead. - current_avatar_thumbnail_image_url (str): When profilePicOverride is not empty, use it instead. - date_joined (date): - developer_type (DeveloperType): - display_name (str): - email_verified (bool): - friend_group_names ([str]): Always empty array. - friend_key (str): - friends ([str]): - has_birthday (bool): - has_email (bool): - has_logged_in_from_client (bool): - has_pending_email (bool): - home_location (WorldID): - id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. - last_login (datetime): - last_platform (str): This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. - obfuscated_email (str): - obfuscated_pending_email (str): - oculus_id (str): - past_display_names ([PastDisplayName]): - profile_pic_override (str): - state (UserState): - status (UserStatus): - status_description (str): - status_first_time (bool): - status_history ([str]): - steam_details ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): - steam_id (str): - tags ([Tag]): - two_factor_auth_enabled (bool): - unsubscribe (bool): - user_icon (str): - - Keyword Args: - is_friend (bool): defaults to False # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - account_deletion_date (date, none_type): [optional] # noqa: E501 - active_friends ([str]): [optional] # noqa: E501 - fallback_avatar (AvatarID): [optional] # noqa: E501 - offline_friends ([str]): [optional] # noqa: E501 - online_friends ([str]): [optional] # noqa: E501 - two_factor_auth_enabled_date (datetime, none_type): [optional] # noqa: E501 - username (str): -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429).. [optional] # noqa: E501 - """ - - is_friend = kwargs.get('is_friend', False) - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.accepted_tos_version = accepted_tos_version - self.allow_avatar_copying = allow_avatar_copying - self.bio = bio - self.bio_links = bio_links - self.current_avatar = current_avatar - self.current_avatar_asset_url = current_avatar_asset_url - self.current_avatar_image_url = current_avatar_image_url - self.current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url - self.date_joined = date_joined - self.developer_type = developer_type - self.display_name = display_name - self.email_verified = email_verified - self.friend_group_names = friend_group_names - self.friend_key = friend_key - self.friends = friends - self.has_birthday = has_birthday - self.has_email = has_email - self.has_logged_in_from_client = has_logged_in_from_client - self.has_pending_email = has_pending_email - self.home_location = home_location - self.id = id - self.is_friend = is_friend - self.last_login = last_login - self.last_platform = last_platform - self.obfuscated_email = obfuscated_email - self.obfuscated_pending_email = obfuscated_pending_email - self.oculus_id = oculus_id - self.past_display_names = past_display_names - self.profile_pic_override = profile_pic_override - self.state = state - self.status = status - self.status_description = status_description - self.status_first_time = status_first_time - self.status_history = status_history - self.steam_details = steam_details - self.steam_id = steam_id - self.tags = tags - self.two_factor_auth_enabled = two_factor_auth_enabled - self.unsubscribe = unsubscribe - self.user_icon = user_icon - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, accepted_tos_version, allow_avatar_copying, bio, bio_links, current_avatar, current_avatar_asset_url, current_avatar_image_url, current_avatar_thumbnail_image_url, date_joined, developer_type, display_name, email_verified, friend_group_names, friend_key, friends, has_birthday, has_email, has_logged_in_from_client, has_pending_email, home_location, id, last_login, last_platform, obfuscated_email, obfuscated_pending_email, oculus_id, past_display_names, profile_pic_override, state, status, status_description, status_first_time, status_history, steam_details, steam_id, tags, two_factor_auth_enabled, unsubscribe, user_icon, *args, **kwargs): # noqa: E501 - """CurrentUser - a model defined in OpenAPI - - Args: - accepted_tos_version (int): - allow_avatar_copying (bool): - bio (str): - bio_links ([str]): - current_avatar (AvatarID): - current_avatar_asset_url (str): - current_avatar_image_url (str): When profilePicOverride is not empty, use it instead. - current_avatar_thumbnail_image_url (str): When profilePicOverride is not empty, use it instead. - date_joined (date): - developer_type (DeveloperType): - display_name (str): - email_verified (bool): - friend_group_names ([str]): Always empty array. - friend_key (str): - friends ([str]): - has_birthday (bool): - has_email (bool): - has_logged_in_from_client (bool): - has_pending_email (bool): - home_location (WorldID): - id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. - last_login (datetime): - last_platform (str): This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. - obfuscated_email (str): - obfuscated_pending_email (str): - oculus_id (str): - past_display_names ([PastDisplayName]): - profile_pic_override (str): - state (UserState): - status (UserStatus): - status_description (str): - status_first_time (bool): - status_history ([str]): - steam_details ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): - steam_id (str): - tags ([Tag]): - two_factor_auth_enabled (bool): - unsubscribe (bool): - user_icon (str): - - Keyword Args: - is_friend (bool): defaults to False # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - account_deletion_date (date, none_type): [optional] # noqa: E501 - active_friends ([str]): [optional] # noqa: E501 - fallback_avatar (AvatarID): [optional] # noqa: E501 - offline_friends ([str]): [optional] # noqa: E501 - online_friends ([str]): [optional] # noqa: E501 - two_factor_auth_enabled_date (datetime, none_type): [optional] # noqa: E501 - username (str): -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429).. [optional] # noqa: E501 - """ - - is_friend = kwargs.get('is_friend', False) - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.accepted_tos_version = accepted_tos_version - self.allow_avatar_copying = allow_avatar_copying - self.bio = bio - self.bio_links = bio_links - self.current_avatar = current_avatar - self.current_avatar_asset_url = current_avatar_asset_url - self.current_avatar_image_url = current_avatar_image_url - self.current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url - self.date_joined = date_joined - self.developer_type = developer_type - self.display_name = display_name - self.email_verified = email_verified - self.friend_group_names = friend_group_names - self.friend_key = friend_key - self.friends = friends - self.has_birthday = has_birthday - self.has_email = has_email - self.has_logged_in_from_client = has_logged_in_from_client - self.has_pending_email = has_pending_email - self.home_location = home_location - self.id = id - self.is_friend = is_friend - self.last_login = last_login - self.last_platform = last_platform - self.obfuscated_email = obfuscated_email - self.obfuscated_pending_email = obfuscated_pending_email - self.oculus_id = oculus_id - self.past_display_names = past_display_names - self.profile_pic_override = profile_pic_override - self.state = state - self.status = status - self.status_description = status_description - self.status_first_time = status_first_time - self.status_history = status_history - self.steam_details = steam_details - self.steam_id = steam_id - self.tags = tags - self.two_factor_auth_enabled = two_factor_auth_enabled - self.unsubscribe = unsubscribe - self.user_icon = user_icon - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/deployment_group.py b/vrchatapi/model/deployment_group.py deleted file mode 100644 index 75af56c1..00000000 --- a/vrchatapi/model/deployment_group.py +++ /dev/null @@ -1,276 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class DeploymentGroup(ModelSimple): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - ('value',): { - 'BLUE': "blue", - 'GREEN': "green", - 'GRAPE': "grape", - 'CHERRY': "cherry", - }, - } - - validations = { - } - - additional_properties_type = None - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'value': (str,), - } - - @cached_property - def discriminator(): - return None - - - attribute_map = {} - - read_only_vars = set() - - _composed_schemas = None - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): - """DeploymentGroup - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): Used to identify which API deployment cluster is currently responding. `blue` and `green` are used by Production. `grape`and `cherry` are used during Development. [Blue Green Deployment by Martin Fowler](https://martinfowler.com/bliki/BlueGreenDeployment.html). if omitted defaults to "blue", must be one of ["blue", "green", "grape", "cherry", ] # noqa: E501 - - Keyword Args: - value (str): Used to identify which API deployment cluster is currently responding. `blue` and `green` are used by Production. `grape`and `cherry` are used during Development. [Blue Green Deployment by Martin Fowler](https://martinfowler.com/bliki/BlueGreenDeployment.html). if omitted defaults to "blue", must be one of ["blue", "green", "grape", "cherry", ] # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - value = "blue" - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): - """DeploymentGroup - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): Used to identify which API deployment cluster is currently responding. `blue` and `green` are used by Production. `grape`and `cherry` are used during Development. [Blue Green Deployment by Martin Fowler](https://martinfowler.com/bliki/BlueGreenDeployment.html). if omitted defaults to "blue", must be one of ["blue", "green", "grape", "cherry", ] # noqa: E501 - - Keyword Args: - value (str): Used to identify which API deployment cluster is currently responding. `blue` and `green` are used by Production. `grape`and `cherry` are used during Development. [Blue Green Deployment by Martin Fowler](https://martinfowler.com/bliki/BlueGreenDeployment.html). if omitted defaults to "blue", must be one of ["blue", "green", "grape", "cherry", ] # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - value = "blue" - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - return self diff --git a/vrchatapi/model/developer_type.py b/vrchatapi/model/developer_type.py deleted file mode 100644 index 695ff7dc..00000000 --- a/vrchatapi/model/developer_type.py +++ /dev/null @@ -1,276 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class DeveloperType(ModelSimple): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - ('value',): { - 'NONE': "none", - 'TRUSTED': "trusted", - 'INTERNAL': "internal", - 'MODERATOR': "moderator", - }, - } - - validations = { - } - - additional_properties_type = None - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'value': (str,), - } - - @cached_property - def discriminator(): - return None - - - attribute_map = {} - - read_only_vars = set() - - _composed_schemas = None - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): - """DeveloperType - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): \"none\" User is a normal user \"trusted\" Unknown \"internal\" Is a VRChat Developer \"moderator\" Is a VRChat Moderator Staff can hide their developerType at will.. if omitted defaults to "none", must be one of ["none", "trusted", "internal", "moderator", ] # noqa: E501 - - Keyword Args: - value (str): \"none\" User is a normal user \"trusted\" Unknown \"internal\" Is a VRChat Developer \"moderator\" Is a VRChat Moderator Staff can hide their developerType at will.. if omitted defaults to "none", must be one of ["none", "trusted", "internal", "moderator", ] # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - value = "none" - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): - """DeveloperType - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): \"none\" User is a normal user \"trusted\" Unknown \"internal\" Is a VRChat Developer \"moderator\" Is a VRChat Moderator Staff can hide their developerType at will.. if omitted defaults to "none", must be one of ["none", "trusted", "internal", "moderator", ] # noqa: E501 - - Keyword Args: - value (str): \"none\" User is a normal user \"trusted\" Unknown \"internal\" Is a VRChat Developer \"moderator\" Is a VRChat Moderator Staff can hide their developerType at will.. if omitted defaults to "none", must be one of ["none", "trusted", "internal", "moderator", ] # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - value = "none" - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - return self diff --git a/vrchatapi/model/download_url_list.py b/vrchatapi/model/download_url_list.py deleted file mode 100644 index 8bc2be8c..00000000 --- a/vrchatapi/model/download_url_list.py +++ /dev/null @@ -1,282 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class DownloadURLList(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('sdk2',): { - 'min_length': 1, - }, - ('sdk3_avatars',): { - 'min_length': 1, - }, - ('sdk3_worlds',): { - 'min_length': 1, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'sdk2': (str,), # noqa: E501 - 'sdk3_avatars': (str,), # noqa: E501 - 'sdk3_worlds': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'sdk2': 'sdk2', # noqa: E501 - 'sdk3_avatars': 'sdk3-avatars', # noqa: E501 - 'sdk3_worlds': 'sdk3-worlds', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, sdk2, sdk3_avatars, sdk3_worlds, *args, **kwargs): # noqa: E501 - """DownloadURLList - a model defined in OpenAPI - - Args: - sdk2 (str): Download link for legacy SDK2 - sdk3_avatars (str): Download link for SDK3 for Avatars - sdk3_worlds (str): Download link for SDK3 for Worlds - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.sdk2 = sdk2 - self.sdk3_avatars = sdk3_avatars - self.sdk3_worlds = sdk3_worlds - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, sdk2, sdk3_avatars, sdk3_worlds, *args, **kwargs): # noqa: E501 - """DownloadURLList - a model defined in OpenAPI - - Args: - sdk2 (str): Download link for legacy SDK2 - sdk3_avatars (str): Download link for SDK3 for Avatars - sdk3_worlds (str): Download link for SDK3 for Worlds - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.sdk2 = sdk2 - self.sdk3_avatars = sdk3_avatars - self.sdk3_worlds = sdk3_worlds - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/dynamic_content_row.py b/vrchatapi/model/dynamic_content_row.py deleted file mode 100644 index bdc8cb8e..00000000 --- a/vrchatapi/model/dynamic_content_row.py +++ /dev/null @@ -1,318 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class DynamicContentRow(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('name',): { - 'min_length': 1, - }, - ('platform',): { - 'min_length': 1, - }, - ('sort_heading',): { - 'min_length': 1, - }, - ('sort_order',): { - 'min_length': 1, - }, - ('sort_ownership',): { - 'min_length': 1, - }, - ('index',): { - 'inclusive_minimum': 0, - }, - ('tag',): { - 'min_length': 1, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'name': (str,), # noqa: E501 - 'platform': (str,), # noqa: E501 - 'sort_heading': (str,), # noqa: E501 - 'sort_order': (str,), # noqa: E501 - 'sort_ownership': (str,), # noqa: E501 - 'index': (int,), # noqa: E501 - 'tag': (str,), # noqa: E501 - 'type': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'name': 'name', # noqa: E501 - 'platform': 'platform', # noqa: E501 - 'sort_heading': 'sortHeading', # noqa: E501 - 'sort_order': 'sortOrder', # noqa: E501 - 'sort_ownership': 'sortOwnership', # noqa: E501 - 'index': 'index', # noqa: E501 - 'tag': 'tag', # noqa: E501 - 'type': 'type', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, name, platform, sort_heading, sort_order, sort_ownership, *args, **kwargs): # noqa: E501 - """DynamicContentRow - a model defined in OpenAPI - - Args: - name (str): - platform (str): Usually \"ThisPlatformSupported\", but can also be other values such as \"all\" or platform specific identifiers. - sort_heading (str): - sort_order (str): - sort_ownership (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - index (int): [optional] # noqa: E501 - tag (str): Tag to filter content for this row.. [optional] # noqa: E501 - type (str): Type is not present if it is a world.. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.name = name - self.platform = platform - self.sort_heading = sort_heading - self.sort_order = sort_order - self.sort_ownership = sort_ownership - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, name, platform, sort_heading, sort_order, sort_ownership, *args, **kwargs): # noqa: E501 - """DynamicContentRow - a model defined in OpenAPI - - Args: - name (str): - platform (str): Usually \"ThisPlatformSupported\", but can also be other values such as \"all\" or platform specific identifiers. - sort_heading (str): - sort_order (str): - sort_ownership (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - index (int): [optional] # noqa: E501 - tag (str): Tag to filter content for this row.. [optional] # noqa: E501 - type (str): Type is not present if it is a world.. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.name = name - self.platform = platform - self.sort_heading = sort_heading - self.sort_order = sort_order - self.sort_ownership = sort_ownership - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/error.py b/vrchatapi/model/error.py deleted file mode 100644 index 65eaacd4..00000000 --- a/vrchatapi/model/error.py +++ /dev/null @@ -1,261 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - -def lazy_import(): - from vrchatapi.model.response import Response - globals()['Response'] = Response - - -class Error(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'error': (Response,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'error': 'error', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """Error - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - error (Response): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """Error - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - error (Response): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/favorite.py b/vrchatapi/model/favorite.py deleted file mode 100644 index 389a79d9..00000000 --- a/vrchatapi/model/favorite.py +++ /dev/null @@ -1,289 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - -def lazy_import(): - from vrchatapi.model.favorite_id import FavoriteID - from vrchatapi.model.favorite_type import FavoriteType - from vrchatapi.model.tag import Tag - globals()['FavoriteID'] = FavoriteID - globals()['FavoriteType'] = FavoriteType - globals()['Tag'] = Tag - - -class Favorite(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'favorite_id': (str,), # noqa: E501 - 'id': (FavoriteID,), # noqa: E501 - 'tags': ([Tag],), # noqa: E501 - 'type': (FavoriteType,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'favorite_id': 'favoriteId', # noqa: E501 - 'id': 'id', # noqa: E501 - 'tags': 'tags', # noqa: E501 - 'type': 'type', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, favorite_id, id, tags, type, *args, **kwargs): # noqa: E501 - """Favorite - a model defined in OpenAPI - - Args: - favorite_id (str): MUST be either AvatarID, UserID or WorldID. - id (FavoriteID): - tags ([Tag]): - type (FavoriteType): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.favorite_id = favorite_id - self.id = id - self.tags = tags - self.type = type - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, favorite_id, id, tags, type, *args, **kwargs): # noqa: E501 - """Favorite - a model defined in OpenAPI - - Args: - favorite_id (str): MUST be either AvatarID, UserID or WorldID. - id (FavoriteID): - tags ([Tag]): - type (FavoriteType): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.favorite_id = favorite_id - self.id = id - self.tags = tags - self.type = type - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/favorite_group.py b/vrchatapi/model/favorite_group.py deleted file mode 100644 index 7b098228..00000000 --- a/vrchatapi/model/favorite_group.py +++ /dev/null @@ -1,324 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - -def lazy_import(): - from vrchatapi.model.favorite_group_id import FavoriteGroupID - from vrchatapi.model.favorite_group_visibility import FavoriteGroupVisibility - from vrchatapi.model.favorite_type import FavoriteType - from vrchatapi.model.tag import Tag - globals()['FavoriteGroupID'] = FavoriteGroupID - globals()['FavoriteGroupVisibility'] = FavoriteGroupVisibility - globals()['FavoriteType'] = FavoriteType - globals()['Tag'] = Tag - - -class FavoriteGroup(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('display_name',): { - 'min_length': 1, - }, - ('name',): { - 'min_length': 1, - }, - ('owner_display_name',): { - 'min_length': 1, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'display_name': (str,), # noqa: E501 - 'id': (FavoriteGroupID,), # noqa: E501 - 'name': (str,), # noqa: E501 - 'owner_display_name': (str,), # noqa: E501 - 'owner_id': (str,), # noqa: E501 - 'tags': ([Tag],), # noqa: E501 - 'type': (FavoriteType,), # noqa: E501 - 'visibility': (FavoriteGroupVisibility,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'display_name': 'displayName', # noqa: E501 - 'id': 'id', # noqa: E501 - 'name': 'name', # noqa: E501 - 'owner_display_name': 'ownerDisplayName', # noqa: E501 - 'owner_id': 'ownerId', # noqa: E501 - 'tags': 'tags', # noqa: E501 - 'type': 'type', # noqa: E501 - 'visibility': 'visibility', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, display_name, id, name, owner_display_name, owner_id, tags, type, visibility, *args, **kwargs): # noqa: E501 - """FavoriteGroup - a model defined in OpenAPI - - Args: - display_name (str): - id (FavoriteGroupID): - name (str): - owner_display_name (str): - owner_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. - tags ([Tag]): - type (FavoriteType): - visibility (FavoriteGroupVisibility): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.display_name = display_name - self.id = id - self.name = name - self.owner_display_name = owner_display_name - self.owner_id = owner_id - self.tags = tags - self.type = type - self.visibility = visibility - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, display_name, id, name, owner_display_name, owner_id, tags, type, visibility, *args, **kwargs): # noqa: E501 - """FavoriteGroup - a model defined in OpenAPI - - Args: - display_name (str): - id (FavoriteGroupID): - name (str): - owner_display_name (str): - owner_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. - tags ([Tag]): - type (FavoriteType): - visibility (FavoriteGroupVisibility): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.display_name = display_name - self.id = id - self.name = name - self.owner_display_name = owner_display_name - self.owner_id = owner_id - self.tags = tags - self.type = type - self.visibility = visibility - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/favorite_group_id.py b/vrchatapi/model/favorite_group_id.py deleted file mode 100644 index d51cae27..00000000 --- a/vrchatapi/model/favorite_group_id.py +++ /dev/null @@ -1,283 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class FavoriteGroupID(ModelSimple): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('value',): { - 'regex': { - 'pattern': r'', # noqa: E501 - }, - }, - } - - additional_properties_type = None - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'value': (str,), - } - - @cached_property - def discriminator(): - return None - - - attribute_map = {} - - read_only_vars = set() - - _composed_schemas = None - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): - """FavoriteGroupID - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): # noqa: E501 - - Keyword Args: - value (str): # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - raise ApiTypeError( - "value is required, but not passed in args or kwargs and doesn't have default", - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): - """FavoriteGroupID - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): # noqa: E501 - - Keyword Args: - value (str): # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - raise ApiTypeError( - "value is required, but not passed in args or kwargs and doesn't have default", - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - return self diff --git a/vrchatapi/model/favorite_group_visibility.py b/vrchatapi/model/favorite_group_visibility.py deleted file mode 100644 index f153544a..00000000 --- a/vrchatapi/model/favorite_group_visibility.py +++ /dev/null @@ -1,275 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class FavoriteGroupVisibility(ModelSimple): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - ('value',): { - 'PRIVATE': "private", - 'FRIENDS': "friends", - 'PUBLIC': "public", - }, - } - - validations = { - } - - additional_properties_type = None - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'value': (str,), - } - - @cached_property - def discriminator(): - return None - - - attribute_map = {} - - read_only_vars = set() - - _composed_schemas = None - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): - """FavoriteGroupVisibility - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): if omitted defaults to "private", must be one of ["private", "friends", "public", ] # noqa: E501 - - Keyword Args: - value (str): if omitted defaults to "private", must be one of ["private", "friends", "public", ] # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - value = "private" - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): - """FavoriteGroupVisibility - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): if omitted defaults to "private", must be one of ["private", "friends", "public", ] # noqa: E501 - - Keyword Args: - value (str): if omitted defaults to "private", must be one of ["private", "friends", "public", ] # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - value = "private" - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - return self diff --git a/vrchatapi/model/favorite_id.py b/vrchatapi/model/favorite_id.py deleted file mode 100644 index 9b7b8b5f..00000000 --- a/vrchatapi/model/favorite_id.py +++ /dev/null @@ -1,283 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class FavoriteID(ModelSimple): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('value',): { - 'regex': { - 'pattern': r'', # noqa: E501 - }, - }, - } - - additional_properties_type = None - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'value': (str,), - } - - @cached_property - def discriminator(): - return None - - - attribute_map = {} - - read_only_vars = set() - - _composed_schemas = None - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): - """FavoriteID - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): # noqa: E501 - - Keyword Args: - value (str): # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - raise ApiTypeError( - "value is required, but not passed in args or kwargs and doesn't have default", - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): - """FavoriteID - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): # noqa: E501 - - Keyword Args: - value (str): # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - raise ApiTypeError( - "value is required, but not passed in args or kwargs and doesn't have default", - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - return self diff --git a/vrchatapi/model/favorite_type.py b/vrchatapi/model/favorite_type.py deleted file mode 100644 index b2ce5810..00000000 --- a/vrchatapi/model/favorite_type.py +++ /dev/null @@ -1,275 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class FavoriteType(ModelSimple): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - ('value',): { - 'WORLD': "world", - 'FRIEND': "friend", - 'AVATAR': "avatar", - }, - } - - validations = { - } - - additional_properties_type = None - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'value': (str,), - } - - @cached_property - def discriminator(): - return None - - - attribute_map = {} - - read_only_vars = set() - - _composed_schemas = None - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): - """FavoriteType - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): if omitted defaults to "friend", must be one of ["world", "friend", "avatar", ] # noqa: E501 - - Keyword Args: - value (str): if omitted defaults to "friend", must be one of ["world", "friend", "avatar", ] # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - value = "friend" - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): - """FavoriteType - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): if omitted defaults to "friend", must be one of ["world", "friend", "avatar", ] # noqa: E501 - - Keyword Args: - value (str): if omitted defaults to "friend", must be one of ["world", "friend", "avatar", ] # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - value = "friend" - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - return self diff --git a/vrchatapi/model/file.py b/vrchatapi/model/file.py deleted file mode 100644 index 728ef4d8..00000000 --- a/vrchatapi/model/file.py +++ /dev/null @@ -1,318 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - -def lazy_import(): - from vrchatapi.model.file_id import FileID - from vrchatapi.model.file_version import FileVersion - from vrchatapi.model.mime_type import MIMEType - from vrchatapi.model.tag import Tag - globals()['FileID'] = FileID - globals()['FileVersion'] = FileVersion - globals()['MIMEType'] = MIMEType - globals()['Tag'] = Tag - - -class File(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('extension',): { - 'min_length': 1, - }, - ('name',): { - 'min_length': 0, - }, - ('versions',): { - 'min_items': 1, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'extension': (str,), # noqa: E501 - 'id': (FileID,), # noqa: E501 - 'mime_type': (MIMEType,), # noqa: E501 - 'name': (str,), # noqa: E501 - 'owner_id': (str,), # noqa: E501 - 'tags': ([Tag],), # noqa: E501 - 'versions': ([FileVersion],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'extension': 'extension', # noqa: E501 - 'id': 'id', # noqa: E501 - 'mime_type': 'mimeType', # noqa: E501 - 'name': 'name', # noqa: E501 - 'owner_id': 'ownerId', # noqa: E501 - 'tags': 'tags', # noqa: E501 - 'versions': 'versions', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, extension, id, mime_type, name, owner_id, tags, versions, *args, **kwargs): # noqa: E501 - """File - a model defined in OpenAPI - - Args: - extension (str): - id (FileID): - mime_type (MIMEType): - name (str): - owner_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. - tags ([Tag]): - versions ([FileVersion]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.extension = extension - self.id = id - self.mime_type = mime_type - self.name = name - self.owner_id = owner_id - self.tags = tags - self.versions = versions - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, extension, id, mime_type, name, owner_id, tags, versions, *args, **kwargs): # noqa: E501 - """File - a model defined in OpenAPI - - Args: - extension (str): - id (FileID): - mime_type (MIMEType): - name (str): - owner_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. - tags ([Tag]): - versions ([FileVersion]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.extension = extension - self.id = id - self.mime_type = mime_type - self.name = name - self.owner_id = owner_id - self.tags = tags - self.versions = versions - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/file_data.py b/vrchatapi/model/file_data.py deleted file mode 100644 index 04ad9401..00000000 --- a/vrchatapi/model/file_data.py +++ /dev/null @@ -1,330 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - -def lazy_import(): - from vrchatapi.model.file_status import FileStatus - globals()['FileStatus'] = FileStatus - - -class FileData(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - ('category',): { - 'MULTIPART': "multipart", - 'QUEUED': "queued", - 'SIMPLE': "simple", - }, - } - - validations = { - ('category',): { - 'min_length': 1, - }, - ('file_name',): { - 'min_length': 1, - }, - ('md5',): { - 'min_length': 0, - }, - ('size_in_bytes',): { - 'inclusive_minimum': 0, - }, - ('upload_id',): { - 'min_length': 0, - }, - ('url',): { - 'min_length': 1, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'category': (str,), # noqa: E501 - 'file_name': (str,), # noqa: E501 - 'md5': (str,), # noqa: E501 - 'size_in_bytes': (int,), # noqa: E501 - 'status': (FileStatus,), # noqa: E501 - 'upload_id': (str,), # noqa: E501 - 'url': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'category': 'category', # noqa: E501 - 'file_name': 'fileName', # noqa: E501 - 'md5': 'md5', # noqa: E501 - 'size_in_bytes': 'sizeInBytes', # noqa: E501 - 'status': 'status', # noqa: E501 - 'upload_id': 'uploadId', # noqa: E501 - 'url': 'url', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, file_name, md5, size_in_bytes, status, url, *args, **kwargs): # noqa: E501 - """FileData - a model defined in OpenAPI - - Args: - file_name (str): - md5 (str): - size_in_bytes (int): - status (FileStatus): - url (str): - - Keyword Args: - category (str): defaults to "queued", must be one of ["multipart", "queued", "simple", ] # noqa: E501 - upload_id (str): defaults to "" # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - category = kwargs.get('category', "queued") - upload_id = kwargs.get('upload_id', "") - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.category = category - self.file_name = file_name - self.md5 = md5 - self.size_in_bytes = size_in_bytes - self.status = status - self.upload_id = upload_id - self.url = url - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, file_name, md5, size_in_bytes, status, url, *args, **kwargs): # noqa: E501 - """FileData - a model defined in OpenAPI - - Args: - file_name (str): - md5 (str): - size_in_bytes (int): - status (FileStatus): - url (str): - - Keyword Args: - category (str): defaults to "queued", must be one of ["multipart", "queued", "simple", ] # noqa: E501 - upload_id (str): defaults to "" # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - category = kwargs.get('category', "queued") - upload_id = kwargs.get('upload_id', "") - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.category = category - self.file_name = file_name - self.md5 = md5 - self.size_in_bytes = size_in_bytes - self.status = status - self.upload_id = upload_id - self.url = url - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/file_id.py b/vrchatapi/model/file_id.py deleted file mode 100644 index a54958d8..00000000 --- a/vrchatapi/model/file_id.py +++ /dev/null @@ -1,283 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class FileID(ModelSimple): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('value',): { - 'regex': { - 'pattern': r'', # noqa: E501 - }, - }, - } - - additional_properties_type = None - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'value': (str,), - } - - @cached_property - def discriminator(): - return None - - - attribute_map = {} - - read_only_vars = set() - - _composed_schemas = None - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): - """FileID - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): # noqa: E501 - - Keyword Args: - value (str): # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - raise ApiTypeError( - "value is required, but not passed in args or kwargs and doesn't have default", - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): - """FileID - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): # noqa: E501 - - Keyword Args: - value (str): # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - raise ApiTypeError( - "value is required, but not passed in args or kwargs and doesn't have default", - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - return self diff --git a/vrchatapi/model/file_status.py b/vrchatapi/model/file_status.py deleted file mode 100644 index b0d88104..00000000 --- a/vrchatapi/model/file_status.py +++ /dev/null @@ -1,276 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class FileStatus(ModelSimple): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - ('value',): { - 'WAITING': "waiting", - 'COMPLETE': "complete", - 'NONE': "none", - 'QUEUED': "queued", - }, - } - - validations = { - } - - additional_properties_type = None - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'value': (str,), - } - - @cached_property - def discriminator(): - return None - - - attribute_map = {} - - read_only_vars = set() - - _composed_schemas = None - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): - """FileStatus - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): if omitted defaults to "waiting", must be one of ["waiting", "complete", "none", "queued", ] # noqa: E501 - - Keyword Args: - value (str): if omitted defaults to "waiting", must be one of ["waiting", "complete", "none", "queued", ] # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - value = "waiting" - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): - """FileStatus - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): if omitted defaults to "waiting", must be one of ["waiting", "complete", "none", "queued", ] # noqa: E501 - - Keyword Args: - value (str): if omitted defaults to "waiting", must be one of ["waiting", "complete", "none", "queued", ] # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - value = "waiting" - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - return self diff --git a/vrchatapi/model/file_upload_url.py b/vrchatapi/model/file_upload_url.py deleted file mode 100644 index cfab4c05..00000000 --- a/vrchatapi/model/file_upload_url.py +++ /dev/null @@ -1,264 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class FileUploadURL(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('url',): { - 'min_length': 1, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'url': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'url': 'url', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, url, *args, **kwargs): # noqa: E501 - """FileUploadURL - a model defined in OpenAPI - - Args: - url (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.url = url - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, url, *args, **kwargs): # noqa: E501 - """FileUploadURL - a model defined in OpenAPI - - Args: - url (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.url = url - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/file_version.py b/vrchatapi/model/file_version.py deleted file mode 100644 index fac56258..00000000 --- a/vrchatapi/model/file_version.py +++ /dev/null @@ -1,302 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - -def lazy_import(): - from vrchatapi.model.file_data import FileData - from vrchatapi.model.file_status import FileStatus - globals()['FileData'] = FileData - globals()['FileStatus'] = FileStatus - - -class FileVersion(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('version',): { - 'inclusive_minimum': 0, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'created_at': (datetime,), # noqa: E501 - 'status': (FileStatus,), # noqa: E501 - 'version': (int,), # noqa: E501 - 'deleted': (bool,), # noqa: E501 - 'delta': (FileData,), # noqa: E501 - 'file': (FileData,), # noqa: E501 - 'signature': (FileData,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'created_at': 'created_at', # noqa: E501 - 'status': 'status', # noqa: E501 - 'version': 'version', # noqa: E501 - 'deleted': 'deleted', # noqa: E501 - 'delta': 'delta', # noqa: E501 - 'file': 'file', # noqa: E501 - 'signature': 'signature', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, created_at, status, *args, **kwargs): # noqa: E501 - """FileVersion - a model defined in OpenAPI - - Args: - created_at (datetime): - status (FileStatus): - - Keyword Args: - version (int): Incremental version counter, can only be increased.. defaults to 0 # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - deleted (bool): Usually only present if `true`. [optional] if omitted the server will use the default value of True # noqa: E501 - delta (FileData): [optional] # noqa: E501 - file (FileData): [optional] # noqa: E501 - signature (FileData): [optional] # noqa: E501 - """ - - version = kwargs.get('version', 0) - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.created_at = created_at - self.status = status - self.version = version - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, created_at, status, *args, **kwargs): # noqa: E501 - """FileVersion - a model defined in OpenAPI - - Args: - created_at (datetime): - status (FileStatus): - - Keyword Args: - version (int): Incremental version counter, can only be increased.. defaults to 0 # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - deleted (bool): Usually only present if `true`. [optional] if omitted the server will use the default value of True # noqa: E501 - delta (FileData): [optional] # noqa: E501 - file (FileData): [optional] # noqa: E501 - signature (FileData): [optional] # noqa: E501 - """ - - version = kwargs.get('version', 0) - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.created_at = created_at - self.status = status - self.version = version - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/file_version_upload_status.py b/vrchatapi/model/file_version_upload_status.py deleted file mode 100644 index 1951083b..00000000 --- a/vrchatapi/model/file_version_upload_status.py +++ /dev/null @@ -1,309 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class FileVersionUploadStatus(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('upload_id',): { - 'min_length': 1, - }, - ('file_name',): { - 'min_length': 1, - }, - ('next_part_number',): { - 'inclusive_minimum': 0, - }, - ('max_parts',): { - 'inclusive_minimum': 1, - }, - ('parts',): { - 'min_items': 0, - }, - ('etags',): { - 'min_items': 0, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'upload_id': (str,), # noqa: E501 - 'file_name': (str,), # noqa: E501 - 'next_part_number': (float,), # noqa: E501 - 'max_parts': (float,), # noqa: E501 - 'parts': ([{str: (bool, date, datetime, dict, float, int, list, str, none_type)}],), # noqa: E501 - 'etags': ([{str: (bool, date, datetime, dict, float, int, list, str, none_type)}],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'upload_id': 'uploadId', # noqa: E501 - 'file_name': 'fileName', # noqa: E501 - 'next_part_number': 'nextPartNumber', # noqa: E501 - 'max_parts': 'maxParts', # noqa: E501 - 'parts': 'parts', # noqa: E501 - 'etags': 'etags', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, upload_id, file_name, next_part_number, max_parts, parts, etags, *args, **kwargs): # noqa: E501 - """FileVersionUploadStatus - a model defined in OpenAPI - - Args: - upload_id (str): - file_name (str): - next_part_number (float): - max_parts (float): - parts ([{str: (bool, date, datetime, dict, float, int, list, str, none_type)}]): - etags ([{str: (bool, date, datetime, dict, float, int, list, str, none_type)}]): Unknown - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.upload_id = upload_id - self.file_name = file_name - self.next_part_number = next_part_number - self.max_parts = max_parts - self.parts = parts - self.etags = etags - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, upload_id, file_name, next_part_number, max_parts, parts, etags, *args, **kwargs): # noqa: E501 - """FileVersionUploadStatus - a model defined in OpenAPI - - Args: - upload_id (str): - file_name (str): - next_part_number (float): - max_parts (float): - parts ([{str: (bool, date, datetime, dict, float, int, list, str, none_type)}]): - etags ([{str: (bool, date, datetime, dict, float, int, list, str, none_type)}]): Unknown - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.upload_id = upload_id - self.file_name = file_name - self.next_part_number = next_part_number - self.max_parts = max_parts - self.parts = parts - self.etags = etags - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/finish_file_data_upload_request.py b/vrchatapi/model/finish_file_data_upload_request.py deleted file mode 100644 index 94641b36..00000000 --- a/vrchatapi/model/finish_file_data_upload_request.py +++ /dev/null @@ -1,292 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class FinishFileDataUploadRequest(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('next_part_number',): { - 'max_length': 1, - 'min_length': 1, - 'regex': { - 'pattern': r'0', # noqa: E501 - }, - }, - ('max_parts',): { - 'max_length': 1, - 'min_length': 1, - 'regex': { - 'pattern': r'0', # noqa: E501 - }, - }, - ('etags',): { - 'min_items': 1, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'next_part_number': (str,), # noqa: E501 - 'max_parts': (str,), # noqa: E501 - 'etags': ([str],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'next_part_number': 'nextPartNumber', # noqa: E501 - 'max_parts': 'maxParts', # noqa: E501 - 'etags': 'etags', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """FinishFileDataUploadRequest - a model defined in OpenAPI - - Args: - - Keyword Args: - next_part_number (str): Always a zero in string form, despite how many parts uploaded.. defaults to "0" # noqa: E501 - max_parts (str): Always a zero in string form, despite how many parts uploaded.. defaults to "0" # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - etags ([str]): Array of ETags uploaded.. [optional] # noqa: E501 - """ - - next_part_number = kwargs.get('next_part_number', "0") - max_parts = kwargs.get('max_parts', "0") - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.next_part_number = next_part_number - self.max_parts = max_parts - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """FinishFileDataUploadRequest - a model defined in OpenAPI - - Args: - - Keyword Args: - next_part_number (str): Always a zero in string form, despite how many parts uploaded.. defaults to "0" # noqa: E501 - max_parts (str): Always a zero in string form, despite how many parts uploaded.. defaults to "0" # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - etags ([str]): Array of ETags uploaded.. [optional] # noqa: E501 - """ - - next_part_number = kwargs.get('next_part_number', "0") - max_parts = kwargs.get('max_parts', "0") - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.next_part_number = next_part_number - self.max_parts = max_parts - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/friend_status.py b/vrchatapi/model/friend_status.py deleted file mode 100644 index 7e0ecfb8..00000000 --- a/vrchatapi/model/friend_status.py +++ /dev/null @@ -1,279 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class FriendStatus(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'incoming_request': (bool,), # noqa: E501 - 'is_friend': (bool,), # noqa: E501 - 'outgoing_request': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'incoming_request': 'incomingRequest', # noqa: E501 - 'is_friend': 'isFriend', # noqa: E501 - 'outgoing_request': 'outgoingRequest', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """FriendStatus - a model defined in OpenAPI - - Args: - - Keyword Args: - incoming_request (bool): defaults to False # noqa: E501 - is_friend (bool): defaults to False # noqa: E501 - outgoing_request (bool): defaults to False # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - incoming_request = kwargs.get('incoming_request', False) - is_friend = kwargs.get('is_friend', False) - outgoing_request = kwargs.get('outgoing_request', False) - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.incoming_request = incoming_request - self.is_friend = is_friend - self.outgoing_request = outgoing_request - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """FriendStatus - a model defined in OpenAPI - - Args: - - Keyword Args: - incoming_request (bool): defaults to False # noqa: E501 - is_friend (bool): defaults to False # noqa: E501 - outgoing_request (bool): defaults to False # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - incoming_request = kwargs.get('incoming_request', False) - is_friend = kwargs.get('is_friend', False) - outgoing_request = kwargs.get('outgoing_request', False) - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.incoming_request = incoming_request - self.is_friend = is_friend - self.outgoing_request = outgoing_request - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/info_push.py b/vrchatapi/model/info_push.py deleted file mode 100644 index 8191dd19..00000000 --- a/vrchatapi/model/info_push.py +++ /dev/null @@ -1,335 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - -def lazy_import(): - from vrchatapi.model.info_push_data import InfoPushData - from vrchatapi.model.release_status import ReleaseStatus - from vrchatapi.model.tag import Tag - globals()['InfoPushData'] = InfoPushData - globals()['ReleaseStatus'] = ReleaseStatus - globals()['Tag'] = Tag - - -class InfoPush(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('id',): { - 'min_length': 1, - }, - ('hash',): { - 'min_length': 1, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'is_enabled': (bool,), # noqa: E501 - 'release_status': (ReleaseStatus,), # noqa: E501 - 'priority': (int,), # noqa: E501 - 'tags': ([Tag],), # noqa: E501 - 'data': (InfoPushData,), # noqa: E501 - 'hash': (str,), # noqa: E501 - 'created_at': (datetime,), # noqa: E501 - 'updated_at': (datetime,), # noqa: E501 - 'start_date': (datetime,), # noqa: E501 - 'end_date': (datetime,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'is_enabled': 'isEnabled', # noqa: E501 - 'release_status': 'releaseStatus', # noqa: E501 - 'priority': 'priority', # noqa: E501 - 'tags': 'tags', # noqa: E501 - 'data': 'data', # noqa: E501 - 'hash': 'hash', # noqa: E501 - 'created_at': 'createdAt', # noqa: E501 - 'updated_at': 'updatedAt', # noqa: E501 - 'start_date': 'startDate', # noqa: E501 - 'end_date': 'endDate', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, id, release_status, priority, tags, data, hash, created_at, updated_at, *args, **kwargs): # noqa: E501 - """InfoPush - a model defined in OpenAPI - - Args: - id (str): - release_status (ReleaseStatus): - priority (int): - tags ([Tag]): - data (InfoPushData): - hash (str): Unknown usage, MD5 - created_at (datetime): - updated_at (datetime): - - Keyword Args: - is_enabled (bool): defaults to True # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - start_date (datetime): [optional] # noqa: E501 - end_date (datetime): [optional] # noqa: E501 - """ - - is_enabled = kwargs.get('is_enabled', True) - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - self.is_enabled = is_enabled - self.release_status = release_status - self.priority = priority - self.tags = tags - self.data = data - self.hash = hash - self.created_at = created_at - self.updated_at = updated_at - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, id, release_status, priority, tags, data, hash, created_at, updated_at, *args, **kwargs): # noqa: E501 - """InfoPush - a model defined in OpenAPI - - Args: - id (str): - release_status (ReleaseStatus): - priority (int): - tags ([Tag]): - data (InfoPushData): - hash (str): Unknown usage, MD5 - created_at (datetime): - updated_at (datetime): - - Keyword Args: - is_enabled (bool): defaults to True # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - start_date (datetime): [optional] # noqa: E501 - end_date (datetime): [optional] # noqa: E501 - """ - - is_enabled = kwargs.get('is_enabled', True) - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - self.is_enabled = is_enabled - self.release_status = release_status - self.priority = priority - self.tags = tags - self.data = data - self.hash = hash - self.created_at = created_at - self.updated_at = updated_at - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/info_push_data.py b/vrchatapi/model/info_push_data.py deleted file mode 100644 index 8533636d..00000000 --- a/vrchatapi/model/info_push_data.py +++ /dev/null @@ -1,299 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - -def lazy_import(): - from vrchatapi.model.dynamic_content_row import DynamicContentRow - from vrchatapi.model.info_push_data_article import InfoPushDataArticle - from vrchatapi.model.info_push_data_clickable import InfoPushDataClickable - globals()['DynamicContentRow'] = DynamicContentRow - globals()['InfoPushDataArticle'] = InfoPushDataArticle - globals()['InfoPushDataClickable'] = InfoPushDataClickable - - -class InfoPushData(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('image_url',): { - 'min_length': 1, - }, - ('version',): { - 'min_length': 1, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'content_list': (DynamicContentRow,), # noqa: E501 - 'description': (str,), # noqa: E501 - 'image_url': (str,), # noqa: E501 - 'name': (str,), # noqa: E501 - 'on_pressed': (InfoPushDataClickable,), # noqa: E501 - 'template': (str,), # noqa: E501 - 'version': (str,), # noqa: E501 - 'article': (InfoPushDataArticle,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'content_list': 'contentList', # noqa: E501 - 'description': 'description', # noqa: E501 - 'image_url': 'imageUrl', # noqa: E501 - 'name': 'name', # noqa: E501 - 'on_pressed': 'onPressed', # noqa: E501 - 'template': 'template', # noqa: E501 - 'version': 'version', # noqa: E501 - 'article': 'article', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """InfoPushData - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - content_list (DynamicContentRow): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - image_url (str): [optional] # noqa: E501 - name (str): [optional] # noqa: E501 - on_pressed (InfoPushDataClickable): [optional] # noqa: E501 - template (str): [optional] # noqa: E501 - version (str): [optional] # noqa: E501 - article (InfoPushDataArticle): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """InfoPushData - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - content_list (DynamicContentRow): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - image_url (str): [optional] # noqa: E501 - name (str): [optional] # noqa: E501 - on_pressed (InfoPushDataClickable): [optional] # noqa: E501 - template (str): [optional] # noqa: E501 - version (str): [optional] # noqa: E501 - article (InfoPushDataArticle): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/info_push_data_article.py b/vrchatapi/model/info_push_data_article.py deleted file mode 100644 index f8495d04..00000000 --- a/vrchatapi/model/info_push_data_article.py +++ /dev/null @@ -1,261 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - -def lazy_import(): - from vrchatapi.model.info_push_data_article_content import InfoPushDataArticleContent - globals()['InfoPushDataArticleContent'] = InfoPushDataArticleContent - - -class InfoPushDataArticle(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'content': (InfoPushDataArticleContent,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'content': 'content', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """InfoPushDataArticle - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - content (InfoPushDataArticleContent): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """InfoPushDataArticle - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - content (InfoPushDataArticleContent): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/info_push_data_article_content.py b/vrchatapi/model/info_push_data_article_content.py deleted file mode 100644 index fa73bb95..00000000 --- a/vrchatapi/model/info_push_data_article_content.py +++ /dev/null @@ -1,269 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - -def lazy_import(): - from vrchatapi.model.info_push_data_clickable import InfoPushDataClickable - globals()['InfoPushDataClickable'] = InfoPushDataClickable - - -class InfoPushDataArticleContent(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'text': (str,), # noqa: E501 - 'image_url': (str,), # noqa: E501 - 'on_pressed': (InfoPushDataClickable,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'text': 'text', # noqa: E501 - 'image_url': 'imageUrl', # noqa: E501 - 'on_pressed': 'onPressed', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """InfoPushDataArticleContent - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - text (str): [optional] # noqa: E501 - image_url (str): [optional] # noqa: E501 - on_pressed (InfoPushDataClickable): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """InfoPushDataArticleContent - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - text (str): [optional] # noqa: E501 - image_url (str): [optional] # noqa: E501 - on_pressed (InfoPushDataClickable): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/info_push_data_clickable.py b/vrchatapi/model/info_push_data_clickable.py deleted file mode 100644 index 0a4d1093..00000000 --- a/vrchatapi/model/info_push_data_clickable.py +++ /dev/null @@ -1,274 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class InfoPushDataClickable(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - ('command',): { - 'OPENURL': "OpenURL", - 'OPENVRCPLUSMENU': "OpenVRCPlusMenu", - 'OPENSAFETYMENU': "OpenSafetyMenu", - 'CANNEDWORLDSEARCH': "CannedWorldSearch", - }, - } - - validations = { - ('command',): { - 'min_length': 1, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'command': (str,), # noqa: E501 - 'parameters': ([str],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'command': 'command', # noqa: E501 - 'parameters': 'parameters', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, command, *args, **kwargs): # noqa: E501 - """InfoPushDataClickable - a model defined in OpenAPI - - Args: - command (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - parameters ([str]): In case of OpenURL, this would contain the link.. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.command = command - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, command, *args, **kwargs): # noqa: E501 - """InfoPushDataClickable - a model defined in OpenAPI - - Args: - command (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - parameters ([str]): In case of OpenURL, this would contain the link.. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.command = command - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/instance.py b/vrchatapi/model/instance.py deleted file mode 100644 index de6fef28..00000000 --- a/vrchatapi/model/instance.py +++ /dev/null @@ -1,428 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - -def lazy_import(): - from vrchatapi.model.instance_id import InstanceID - from vrchatapi.model.instance_platforms import InstancePlatforms - from vrchatapi.model.instance_type import InstanceType - from vrchatapi.model.region import Region - from vrchatapi.model.tag import Tag - from vrchatapi.model.world_id import WorldID - globals()['InstanceID'] = InstanceID - globals()['InstancePlatforms'] = InstancePlatforms - globals()['InstanceType'] = InstanceType - globals()['Region'] = Region - globals()['Tag'] = Tag - globals()['WorldID'] = WorldID - - -class Instance(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('capacity',): { - 'inclusive_minimum': 0, - }, - ('client_number',): { - 'min_length': 1, - }, - ('instance_id',): { - 'min_length': 1, - }, - ('n_users',): { - 'inclusive_minimum': 0, - }, - ('name',): { - 'min_length': 1, - }, - ('secure_name',): { - 'min_length': 1, - }, - ('short_name',): { - 'min_length': 1, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'active': (bool,), # noqa: E501 - 'can_request_invite': (bool,), # noqa: E501 - 'capacity': (int,), # noqa: E501 - 'client_number': (str,), # noqa: E501 - 'full': (bool,), # noqa: E501 - 'id': (InstanceID,), # noqa: E501 - 'instance_id': (str,), # noqa: E501 - 'location': (InstanceID,), # noqa: E501 - 'n_users': (int,), # noqa: E501 - 'name': (str,), # noqa: E501 - 'permanent': (bool,), # noqa: E501 - 'photon_region': (Region,), # noqa: E501 - 'platforms': (InstancePlatforms,), # noqa: E501 - 'region': (Region,), # noqa: E501 - 'secure_name': (str,), # noqa: E501 - 'tags': ([Tag],), # noqa: E501 - 'type': (InstanceType,), # noqa: E501 - 'world_id': (WorldID,), # noqa: E501 - 'owner_id': (str,), # noqa: E501 - 'short_name': (str,), # noqa: E501 - 'hidden': (str,), # noqa: E501 - 'friends': (str,), # noqa: E501 - 'private': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'active': 'active', # noqa: E501 - 'can_request_invite': 'canRequestInvite', # noqa: E501 - 'capacity': 'capacity', # noqa: E501 - 'client_number': 'clientNumber', # noqa: E501 - 'full': 'full', # noqa: E501 - 'id': 'id', # noqa: E501 - 'instance_id': 'instanceId', # noqa: E501 - 'location': 'location', # noqa: E501 - 'n_users': 'n_users', # noqa: E501 - 'name': 'name', # noqa: E501 - 'permanent': 'permanent', # noqa: E501 - 'photon_region': 'photonRegion', # noqa: E501 - 'platforms': 'platforms', # noqa: E501 - 'region': 'region', # noqa: E501 - 'secure_name': 'secureName', # noqa: E501 - 'tags': 'tags', # noqa: E501 - 'type': 'type', # noqa: E501 - 'world_id': 'worldId', # noqa: E501 - 'owner_id': 'ownerId', # noqa: E501 - 'short_name': 'shortName', # noqa: E501 - 'hidden': 'hidden', # noqa: E501 - 'friends': 'friends', # noqa: E501 - 'private': 'private', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, capacity, client_number, id, instance_id, location, n_users, name, photon_region, platforms, region, secure_name, tags, type, world_id, *args, **kwargs): # noqa: E501 - """Instance - a model defined in OpenAPI - - Args: - capacity (int): - client_number (str): Always returns \"unknown\". - id (InstanceID): - instance_id (str): - location (InstanceID): - n_users (int): - name (str): - photon_region (Region): - platforms (InstancePlatforms): - region (Region): - secure_name (str): - tags ([Tag]): The tags array on Instances usually contain the language tags of the people in the instance. - type (InstanceType): - world_id (WorldID): - - Keyword Args: - active (bool): defaults to True # noqa: E501 - can_request_invite (bool): defaults to True # noqa: E501 - full (bool): defaults to False # noqa: E501 - permanent (bool): defaults to False # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - owner_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed.. [optional] # noqa: E501 - short_name (str): [optional] # noqa: E501 - hidden (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed.. [optional] # noqa: E501 - friends (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed.. [optional] # noqa: E501 - private (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed.. [optional] # noqa: E501 - """ - - active = kwargs.get('active', True) - can_request_invite = kwargs.get('can_request_invite', True) - full = kwargs.get('full', False) - permanent = kwargs.get('permanent', False) - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.active = active - self.can_request_invite = can_request_invite - self.capacity = capacity - self.client_number = client_number - self.full = full - self.id = id - self.instance_id = instance_id - self.location = location - self.n_users = n_users - self.name = name - self.permanent = permanent - self.photon_region = photon_region - self.platforms = platforms - self.region = region - self.secure_name = secure_name - self.tags = tags - self.type = type - self.world_id = world_id - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, capacity, client_number, id, instance_id, location, n_users, name, photon_region, platforms, region, secure_name, tags, type, world_id, *args, **kwargs): # noqa: E501 - """Instance - a model defined in OpenAPI - - Args: - capacity (int): - client_number (str): Always returns \"unknown\". - id (InstanceID): - instance_id (str): - location (InstanceID): - n_users (int): - name (str): - photon_region (Region): - platforms (InstancePlatforms): - region (Region): - secure_name (str): - tags ([Tag]): The tags array on Instances usually contain the language tags of the people in the instance. - type (InstanceType): - world_id (WorldID): - - Keyword Args: - active (bool): defaults to True # noqa: E501 - can_request_invite (bool): defaults to True # noqa: E501 - full (bool): defaults to False # noqa: E501 - permanent (bool): defaults to False # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - owner_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed.. [optional] # noqa: E501 - short_name (str): [optional] # noqa: E501 - hidden (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed.. [optional] # noqa: E501 - friends (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed.. [optional] # noqa: E501 - private (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed.. [optional] # noqa: E501 - """ - - active = kwargs.get('active', True) - can_request_invite = kwargs.get('can_request_invite', True) - full = kwargs.get('full', False) - permanent = kwargs.get('permanent', False) - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.active = active - self.can_request_invite = can_request_invite - self.capacity = capacity - self.client_number = client_number - self.full = full - self.id = id - self.instance_id = instance_id - self.location = location - self.n_users = n_users - self.name = name - self.permanent = permanent - self.photon_region = photon_region - self.platforms = platforms - self.region = region - self.secure_name = secure_name - self.tags = tags - self.type = type - self.world_id = world_id - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/instance_id.py b/vrchatapi/model/instance_id.py deleted file mode 100644 index de425cdf..00000000 --- a/vrchatapi/model/instance_id.py +++ /dev/null @@ -1,283 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class InstanceID(ModelSimple): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('value',): { - 'regex': { - 'pattern': r'', # noqa: E501 - }, - }, - } - - additional_properties_type = None - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'value': (str,), - } - - @cached_property - def discriminator(): - return None - - - attribute_map = {} - - read_only_vars = set() - - _composed_schemas = None - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): - """InstanceID - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance.. # noqa: E501 - - Keyword Args: - value (str): InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance.. # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - raise ApiTypeError( - "value is required, but not passed in args or kwargs and doesn't have default", - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): - """InstanceID - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance.. # noqa: E501 - - Keyword Args: - value (str): InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance.. # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - raise ApiTypeError( - "value is required, but not passed in args or kwargs and doesn't have default", - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - return self diff --git a/vrchatapi/model/instance_platforms.py b/vrchatapi/model/instance_platforms.py deleted file mode 100644 index 683cf426..00000000 --- a/vrchatapi/model/instance_platforms.py +++ /dev/null @@ -1,273 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class InstancePlatforms(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('android',): { - 'inclusive_minimum': 0, - }, - ('standalonewindows',): { - 'inclusive_minimum': 0, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'android': (int,), # noqa: E501 - 'standalonewindows': (int,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'android': 'android', # noqa: E501 - 'standalonewindows': 'standalonewindows', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, android, standalonewindows, *args, **kwargs): # noqa: E501 - """InstancePlatforms - a model defined in OpenAPI - - Args: - android (int): - standalonewindows (int): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.android = android - self.standalonewindows = standalonewindows - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, android, standalonewindows, *args, **kwargs): # noqa: E501 - """InstancePlatforms - a model defined in OpenAPI - - Args: - android (int): - standalonewindows (int): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.android = android - self.standalonewindows = standalonewindows - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/instance_short_name_response.py b/vrchatapi/model/instance_short_name_response.py deleted file mode 100644 index 2054a58c..00000000 --- a/vrchatapi/model/instance_short_name_response.py +++ /dev/null @@ -1,271 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class InstanceShortNameResponse(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('secure_name',): { - 'min_length': 1, - }, - ('short_name',): { - 'min_length': 1, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'secure_name': (str,), # noqa: E501 - 'short_name': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'secure_name': 'secureName', # noqa: E501 - 'short_name': 'shortName', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, secure_name, *args, **kwargs): # noqa: E501 - """InstanceShortNameResponse - a model defined in OpenAPI - - Args: - secure_name (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - short_name (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.secure_name = secure_name - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, secure_name, *args, **kwargs): # noqa: E501 - """InstanceShortNameResponse - a model defined in OpenAPI - - Args: - secure_name (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - short_name (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.secure_name = secure_name - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/instance_type.py b/vrchatapi/model/instance_type.py deleted file mode 100644 index d10deb4b..00000000 --- a/vrchatapi/model/instance_type.py +++ /dev/null @@ -1,284 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class InstanceType(ModelSimple): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - ('value',): { - 'PUBLIC': "public", - 'HIDDEN': "hidden", - 'FRIENDS': "friends", - 'PRIVATE': "private", - }, - } - - validations = { - } - - additional_properties_type = None - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'value': (str,), - } - - @cached_property - def discriminator(): - return None - - - attribute_map = {} - - read_only_vars = set() - - _composed_schemas = None - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): - """InstanceType - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str):, must be one of ["public", "hidden", "friends", "private", ] # noqa: E501 - - Keyword Args: - value (str):, must be one of ["public", "hidden", "friends", "private", ] # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - raise ApiTypeError( - "value is required, but not passed in args or kwargs and doesn't have default", - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): - """InstanceType - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str):, must be one of ["public", "hidden", "friends", "private", ] # noqa: E501 - - Keyword Args: - value (str):, must be one of ["public", "hidden", "friends", "private", ] # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - raise ApiTypeError( - "value is required, but not passed in args or kwargs and doesn't have default", - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - return self diff --git a/vrchatapi/model/invite_message.py b/vrchatapi/model/invite_message.py deleted file mode 100644 index c65ebf28..00000000 --- a/vrchatapi/model/invite_message.py +++ /dev/null @@ -1,319 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - -def lazy_import(): - from vrchatapi.model.invite_message_id import InviteMessageID - from vrchatapi.model.invite_message_type import InviteMessageType - globals()['InviteMessageID'] = InviteMessageID - globals()['InviteMessageType'] = InviteMessageType - - -class InviteMessage(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('message',): { - 'min_length': 1, - }, - ('remaining_cooldown_minutes',): { - 'inclusive_minimum': 0, - }, - ('slot',): { - 'inclusive_maximum': 11, - 'inclusive_minimum': 0, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'can_be_updated': (bool,), # noqa: E501 - 'id': (InviteMessageID,), # noqa: E501 - 'message': (str,), # noqa: E501 - 'message_type': (InviteMessageType,), # noqa: E501 - 'remaining_cooldown_minutes': (int,), # noqa: E501 - 'slot': (int,), # noqa: E501 - 'updated_at': (datetime,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'can_be_updated': 'canBeUpdated', # noqa: E501 - 'id': 'id', # noqa: E501 - 'message': 'message', # noqa: E501 - 'message_type': 'messageType', # noqa: E501 - 'remaining_cooldown_minutes': 'remainingCooldownMinutes', # noqa: E501 - 'slot': 'slot', # noqa: E501 - 'updated_at': 'updatedAt', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, id, message, message_type, slot, updated_at, *args, **kwargs): # noqa: E501 - """InviteMessage - a model defined in OpenAPI - - Args: - id (InviteMessageID): - message (str): - message_type (InviteMessageType): - slot (int): - updated_at (datetime): - - Keyword Args: - can_be_updated (bool): defaults to True # noqa: E501 - remaining_cooldown_minutes (int): Changes to 60 when updated, although probably server-side configurable.. defaults to 0 # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - can_be_updated = kwargs.get('can_be_updated', True) - remaining_cooldown_minutes = kwargs.get('remaining_cooldown_minutes', 0) - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.can_be_updated = can_be_updated - self.id = id - self.message = message - self.message_type = message_type - self.remaining_cooldown_minutes = remaining_cooldown_minutes - self.slot = slot - self.updated_at = updated_at - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, id, message, message_type, slot, updated_at, *args, **kwargs): # noqa: E501 - """InviteMessage - a model defined in OpenAPI - - Args: - id (InviteMessageID): - message (str): - message_type (InviteMessageType): - slot (int): - updated_at (datetime): - - Keyword Args: - can_be_updated (bool): defaults to True # noqa: E501 - remaining_cooldown_minutes (int): Changes to 60 when updated, although probably server-side configurable.. defaults to 0 # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - can_be_updated = kwargs.get('can_be_updated', True) - remaining_cooldown_minutes = kwargs.get('remaining_cooldown_minutes', 0) - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.can_be_updated = can_be_updated - self.id = id - self.message = message - self.message_type = message_type - self.remaining_cooldown_minutes = remaining_cooldown_minutes - self.slot = slot - self.updated_at = updated_at - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/invite_message_id.py b/vrchatapi/model/invite_message_id.py deleted file mode 100644 index 4554cdc1..00000000 --- a/vrchatapi/model/invite_message_id.py +++ /dev/null @@ -1,283 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class InviteMessageID(ModelSimple): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('value',): { - 'regex': { - 'pattern': r'', # noqa: E501 - }, - }, - } - - additional_properties_type = None - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'value': (str,), - } - - @cached_property - def discriminator(): - return None - - - attribute_map = {} - - read_only_vars = set() - - _composed_schemas = None - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): - """InviteMessageID - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): # noqa: E501 - - Keyword Args: - value (str): # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - raise ApiTypeError( - "value is required, but not passed in args or kwargs and doesn't have default", - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): - """InviteMessageID - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): # noqa: E501 - - Keyword Args: - value (str): # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - raise ApiTypeError( - "value is required, but not passed in args or kwargs and doesn't have default", - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - return self diff --git a/vrchatapi/model/invite_message_type.py b/vrchatapi/model/invite_message_type.py deleted file mode 100644 index a78282ad..00000000 --- a/vrchatapi/model/invite_message_type.py +++ /dev/null @@ -1,276 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class InviteMessageType(ModelSimple): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - ('value',): { - 'MESSAGE': "message", - 'RESPONSE': "response", - 'REQUEST': "request", - 'REQUESTRESPONSE': "requestResponse", - }, - } - - validations = { - } - - additional_properties_type = None - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'value': (str,), - } - - @cached_property - def discriminator(): - return None - - - attribute_map = {} - - read_only_vars = set() - - _composed_schemas = None - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): - """InviteMessageType - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): if omitted defaults to "message", must be one of ["message", "response", "request", "requestResponse", ] # noqa: E501 - - Keyword Args: - value (str): if omitted defaults to "message", must be one of ["message", "response", "request", "requestResponse", ] # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - value = "message" - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): - """InviteMessageType - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): if omitted defaults to "message", must be one of ["message", "response", "request", "requestResponse", ] # noqa: E501 - - Keyword Args: - value (str): if omitted defaults to "message", must be one of ["message", "response", "request", "requestResponse", ] # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - value = "message" - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - return self diff --git a/vrchatapi/model/invite_request.py b/vrchatapi/model/invite_request.py deleted file mode 100644 index 5ccfd88b..00000000 --- a/vrchatapi/model/invite_request.py +++ /dev/null @@ -1,275 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - -def lazy_import(): - from vrchatapi.model.instance_id import InstanceID - globals()['InstanceID'] = InstanceID - - -class InviteRequest(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('message_slot',): { - 'inclusive_maximum': 11, - 'inclusive_minimum': 0, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'instance_id': (InstanceID,), # noqa: E501 - 'message_slot': (int,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'instance_id': 'instanceId', # noqa: E501 - 'message_slot': 'messageSlot', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, instance_id, *args, **kwargs): # noqa: E501 - """InviteRequest - a model defined in OpenAPI - - Args: - instance_id (InstanceID): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - message_slot (int): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.instance_id = instance_id - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, instance_id, *args, **kwargs): # noqa: E501 - """InviteRequest - a model defined in OpenAPI - - Args: - instance_id (InstanceID): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - message_slot (int): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.instance_id = instance_id - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/invite_response.py b/vrchatapi/model/invite_response.py deleted file mode 100644 index 6737e50f..00000000 --- a/vrchatapi/model/invite_response.py +++ /dev/null @@ -1,265 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class InviteResponse(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('response_slot',): { - 'inclusive_maximum': 11, - 'inclusive_minimum': 0, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'response_slot': (int,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'response_slot': 'responseSlot', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, response_slot, *args, **kwargs): # noqa: E501 - """InviteResponse - a model defined in OpenAPI - - Args: - response_slot (int): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.response_slot = response_slot - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, response_slot, *args, **kwargs): # noqa: E501 - """InviteResponse - a model defined in OpenAPI - - Args: - response_slot (int): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.response_slot = response_slot - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/license.py b/vrchatapi/model/license.py deleted file mode 100644 index 85588ae1..00000000 --- a/vrchatapi/model/license.py +++ /dev/null @@ -1,296 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - -def lazy_import(): - from vrchatapi.model.license_action import LicenseAction - from vrchatapi.model.license_type import LicenseType - globals()['LicenseAction'] = LicenseAction - globals()['LicenseType'] = LicenseType - - -class License(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('for_id',): { - 'min_length': 1, - 'regex': { - 'pattern': r'(avtr|lgrp|prms|prod)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', # noqa: E501 - }, - }, - ('for_name',): { - 'min_length': 1, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'for_id': (str,), # noqa: E501 - 'for_type': (LicenseType,), # noqa: E501 - 'for_name': (str,), # noqa: E501 - 'for_action': (LicenseAction,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'for_id': 'forId', # noqa: E501 - 'for_type': 'forType', # noqa: E501 - 'for_name': 'forName', # noqa: E501 - 'for_action': 'forAction', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, for_id, for_type, for_name, for_action, *args, **kwargs): # noqa: E501 - """License - a model defined in OpenAPI - - Args: - for_id (str): Either a AvatarID, LicenseGroupID, PermissionID or ProductID. This depends on the `forType` field. - for_type (LicenseType): - for_name (str): - for_action (LicenseAction): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.for_id = for_id - self.for_type = for_type - self.for_name = for_name - self.for_action = for_action - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, for_id, for_type, for_name, for_action, *args, **kwargs): # noqa: E501 - """License - a model defined in OpenAPI - - Args: - for_id (str): Either a AvatarID, LicenseGroupID, PermissionID or ProductID. This depends on the `forType` field. - for_type (LicenseType): - for_name (str): - for_action (LicenseAction): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.for_id = for_id - self.for_type = for_type - self.for_name = for_name - self.for_action = for_action - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/license_action.py b/vrchatapi/model/license_action.py deleted file mode 100644 index 4ef1be28..00000000 --- a/vrchatapi/model/license_action.py +++ /dev/null @@ -1,274 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class LicenseAction(ModelSimple): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - ('value',): { - 'WEAR': "wear", - 'HAVE': "have", - }, - } - - validations = { - } - - additional_properties_type = None - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'value': (str,), - } - - @cached_property - def discriminator(): - return None - - - attribute_map = {} - - read_only_vars = set() - - _composed_schemas = None - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): - """LicenseAction - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): if omitted defaults to "have", must be one of ["wear", "have", ] # noqa: E501 - - Keyword Args: - value (str): if omitted defaults to "have", must be one of ["wear", "have", ] # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - value = "have" - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): - """LicenseAction - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): if omitted defaults to "have", must be one of ["wear", "have", ] # noqa: E501 - - Keyword Args: - value (str): if omitted defaults to "have", must be one of ["wear", "have", ] # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - value = "have" - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - return self diff --git a/vrchatapi/model/license_group.py b/vrchatapi/model/license_group.py deleted file mode 100644 index bb331bce..00000000 --- a/vrchatapi/model/license_group.py +++ /dev/null @@ -1,290 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - -def lazy_import(): - from vrchatapi.model.license import License - from vrchatapi.model.license_group_id import LicenseGroupID - globals()['License'] = License - globals()['LicenseGroupID'] = LicenseGroupID - - -class LicenseGroup(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('name',): { - 'min_length': 1, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (LicenseGroupID,), # noqa: E501 - 'name': (str,), # noqa: E501 - 'description': (str,), # noqa: E501 - 'licenses': ([License],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'name': 'name', # noqa: E501 - 'description': 'description', # noqa: E501 - 'licenses': 'licenses', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, id, name, description, licenses, *args, **kwargs): # noqa: E501 - """LicenseGroup - a model defined in OpenAPI - - Args: - id (LicenseGroupID): - name (str): - description (str): - licenses ([License]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - self.name = name - self.description = description - self.licenses = licenses - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, id, name, description, licenses, *args, **kwargs): # noqa: E501 - """LicenseGroup - a model defined in OpenAPI - - Args: - id (LicenseGroupID): - name (str): - description (str): - licenses ([License]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - self.name = name - self.description = description - self.licenses = licenses - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/license_group_id.py b/vrchatapi/model/license_group_id.py deleted file mode 100644 index cb2c0a30..00000000 --- a/vrchatapi/model/license_group_id.py +++ /dev/null @@ -1,283 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class LicenseGroupID(ModelSimple): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('value',): { - 'regex': { - 'pattern': r'', # noqa: E501 - }, - }, - } - - additional_properties_type = None - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'value': (str,), - } - - @cached_property - def discriminator(): - return None - - - attribute_map = {} - - read_only_vars = set() - - _composed_schemas = None - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): - """LicenseGroupID - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): # noqa: E501 - - Keyword Args: - value (str): # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - raise ApiTypeError( - "value is required, but not passed in args or kwargs and doesn't have default", - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): - """LicenseGroupID - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): # noqa: E501 - - Keyword Args: - value (str): # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - raise ApiTypeError( - "value is required, but not passed in args or kwargs and doesn't have default", - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - return self diff --git a/vrchatapi/model/license_type.py b/vrchatapi/model/license_type.py deleted file mode 100644 index ca244526..00000000 --- a/vrchatapi/model/license_type.py +++ /dev/null @@ -1,276 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class LicenseType(ModelSimple): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - ('value',): { - 'AVATAR': "avatar", - 'LICENSEGROUP': "licenseGroup", - 'PERMISSION': "permission", - 'PRODUCT': "product", - }, - } - - validations = { - } - - additional_properties_type = None - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'value': (str,), - } - - @cached_property - def discriminator(): - return None - - - attribute_map = {} - - read_only_vars = set() - - _composed_schemas = None - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): - """LicenseType - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): if omitted defaults to "permission", must be one of ["avatar", "licenseGroup", "permission", "product", ] # noqa: E501 - - Keyword Args: - value (str): if omitted defaults to "permission", must be one of ["avatar", "licenseGroup", "permission", "product", ] # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - value = "permission" - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): - """LicenseType - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): if omitted defaults to "permission", must be one of ["avatar", "licenseGroup", "permission", "product", ] # noqa: E501 - - Keyword Args: - value (str): if omitted defaults to "permission", must be one of ["avatar", "licenseGroup", "permission", "product", ] # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - value = "permission" - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - return self diff --git a/vrchatapi/model/limited_unity_package.py b/vrchatapi/model/limited_unity_package.py deleted file mode 100644 index 0d154eb9..00000000 --- a/vrchatapi/model/limited_unity_package.py +++ /dev/null @@ -1,270 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class LimitedUnityPackage(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('unity_version',): { - 'min_length': 1, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'platform': (str,), # noqa: E501 - 'unity_version': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'platform': 'platform', # noqa: E501 - 'unity_version': 'unityVersion', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, platform, unity_version, *args, **kwargs): # noqa: E501 - """LimitedUnityPackage - a model defined in OpenAPI - - Args: - platform (str): This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. - unity_version (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.platform = platform - self.unity_version = unity_version - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, platform, unity_version, *args, **kwargs): # noqa: E501 - """LimitedUnityPackage - a model defined in OpenAPI - - Args: - platform (str): This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. - unity_version (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.platform = platform - self.unity_version = unity_version - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/limited_user.py b/vrchatapi/model/limited_user.py deleted file mode 100644 index 0e0d23d6..00000000 --- a/vrchatapi/model/limited_user.py +++ /dev/null @@ -1,361 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - -def lazy_import(): - from vrchatapi.model.avatar_id import AvatarID - from vrchatapi.model.developer_type import DeveloperType - from vrchatapi.model.tag import Tag - from vrchatapi.model.user_status import UserStatus - globals()['AvatarID'] = AvatarID - globals()['DeveloperType'] = DeveloperType - globals()['Tag'] = Tag - globals()['UserStatus'] = UserStatus - - -class LimitedUser(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'current_avatar_image_url': (str,), # noqa: E501 - 'current_avatar_thumbnail_image_url': (str,), # noqa: E501 - 'developer_type': (DeveloperType,), # noqa: E501 - 'display_name': (str,), # noqa: E501 - 'fallback_avatar': (AvatarID,), # noqa: E501 - 'id': (str,), # noqa: E501 - 'is_friend': (bool,), # noqa: E501 - 'last_platform': (str,), # noqa: E501 - 'profile_pic_override': (str,), # noqa: E501 - 'status': (UserStatus,), # noqa: E501 - 'status_description': (str,), # noqa: E501 - 'tags': ([Tag],), # noqa: E501 - 'user_icon': (str,), # noqa: E501 - 'bio': (str,), # noqa: E501 - 'username': (str,), # noqa: E501 - 'location': (str,), # noqa: E501 - 'friend_key': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'current_avatar_image_url': 'currentAvatarImageUrl', # noqa: E501 - 'current_avatar_thumbnail_image_url': 'currentAvatarThumbnailImageUrl', # noqa: E501 - 'developer_type': 'developerType', # noqa: E501 - 'display_name': 'displayName', # noqa: E501 - 'fallback_avatar': 'fallbackAvatar', # noqa: E501 - 'id': 'id', # noqa: E501 - 'is_friend': 'isFriend', # noqa: E501 - 'last_platform': 'last_platform', # noqa: E501 - 'profile_pic_override': 'profilePicOverride', # noqa: E501 - 'status': 'status', # noqa: E501 - 'status_description': 'statusDescription', # noqa: E501 - 'tags': 'tags', # noqa: E501 - 'user_icon': 'userIcon', # noqa: E501 - 'bio': 'bio', # noqa: E501 - 'username': 'username', # noqa: E501 - 'location': 'location', # noqa: E501 - 'friend_key': 'friendKey', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, current_avatar_image_url, current_avatar_thumbnail_image_url, developer_type, display_name, fallback_avatar, id, is_friend, last_platform, profile_pic_override, status, status_description, tags, user_icon, *args, **kwargs): # noqa: E501 - """LimitedUser - a model defined in OpenAPI - - Args: - current_avatar_image_url (str): When profilePicOverride is not empty, use it instead. - current_avatar_thumbnail_image_url (str): When profilePicOverride is not empty, use it instead. - developer_type (DeveloperType): - display_name (str): - fallback_avatar (AvatarID): - id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. - is_friend (bool): - last_platform (str): This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. - profile_pic_override (str): - status (UserStatus): - status_description (str): - tags ([Tag]): <- Always empty. - user_icon (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - bio (str): [optional] # noqa: E501 - username (str): -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429).. [optional] # noqa: E501 - location (str): [optional] # noqa: E501 - friend_key (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.current_avatar_image_url = current_avatar_image_url - self.current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url - self.developer_type = developer_type - self.display_name = display_name - self.fallback_avatar = fallback_avatar - self.id = id - self.is_friend = is_friend - self.last_platform = last_platform - self.profile_pic_override = profile_pic_override - self.status = status - self.status_description = status_description - self.tags = tags - self.user_icon = user_icon - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, current_avatar_image_url, current_avatar_thumbnail_image_url, developer_type, display_name, fallback_avatar, id, is_friend, last_platform, profile_pic_override, status, status_description, tags, user_icon, *args, **kwargs): # noqa: E501 - """LimitedUser - a model defined in OpenAPI - - Args: - current_avatar_image_url (str): When profilePicOverride is not empty, use it instead. - current_avatar_thumbnail_image_url (str): When profilePicOverride is not empty, use it instead. - developer_type (DeveloperType): - display_name (str): - fallback_avatar (AvatarID): - id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. - is_friend (bool): - last_platform (str): This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. - profile_pic_override (str): - status (UserStatus): - status_description (str): - tags ([Tag]): <- Always empty. - user_icon (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - bio (str): [optional] # noqa: E501 - username (str): -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429).. [optional] # noqa: E501 - location (str): [optional] # noqa: E501 - friend_key (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.current_avatar_image_url = current_avatar_image_url - self.current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url - self.developer_type = developer_type - self.display_name = display_name - self.fallback_avatar = fallback_avatar - self.id = id - self.is_friend = is_friend - self.last_platform = last_platform - self.profile_pic_override = profile_pic_override - self.status = status - self.status_description = status_description - self.tags = tags - self.user_icon = user_icon - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/limited_world.py b/vrchatapi/model/limited_world.py deleted file mode 100644 index a9db436b..00000000 --- a/vrchatapi/model/limited_world.py +++ /dev/null @@ -1,431 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - -def lazy_import(): - from vrchatapi.model.limited_unity_package import LimitedUnityPackage - from vrchatapi.model.release_status import ReleaseStatus - from vrchatapi.model.tag import Tag - from vrchatapi.model.world_id import WorldID - globals()['LimitedUnityPackage'] = LimitedUnityPackage - globals()['ReleaseStatus'] = ReleaseStatus - globals()['Tag'] = Tag - globals()['WorldID'] = WorldID - - -class LimitedWorld(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('author_name',): { - 'min_length': 1, - }, - ('capacity',): { - 'inclusive_maximum': 40, - 'inclusive_minimum': 0, - }, - ('favorites',): { - 'inclusive_minimum': 0, - }, - ('heat',): { - 'inclusive_minimum': 0, - }, - ('image_url',): { - 'min_length': 1, - }, - ('labs_publication_date',): { - 'min_length': 1, - }, - ('name',): { - 'min_length': 1, - }, - ('occupants',): { - 'inclusive_minimum': 0, - }, - ('organization',): { - 'min_length': 1, - }, - ('popularity',): { - 'inclusive_minimum': 0, - }, - ('publication_date',): { - 'min_length': 1, - }, - ('thumbnail_image_url',): { - 'min_length': 1, - }, - ('unity_packages',): { - 'min_items': 1, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'author_id': (str,), # noqa: E501 - 'author_name': (str,), # noqa: E501 - 'capacity': (int,), # noqa: E501 - 'created_at': (datetime,), # noqa: E501 - 'favorites': (int,), # noqa: E501 - 'heat': (int,), # noqa: E501 - 'id': (WorldID,), # noqa: E501 - 'image_url': (str,), # noqa: E501 - 'labs_publication_date': (str,), # noqa: E501 - 'name': (str,), # noqa: E501 - 'occupants': (int,), # noqa: E501 - 'organization': (str,), # noqa: E501 - 'popularity': (int,), # noqa: E501 - 'publication_date': (str,), # noqa: E501 - 'release_status': (ReleaseStatus,), # noqa: E501 - 'tags': ([Tag],), # noqa: E501 - 'thumbnail_image_url': (str,), # noqa: E501 - 'unity_packages': ([LimitedUnityPackage],), # noqa: E501 - 'updated_at': (datetime,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'author_id': 'authorId', # noqa: E501 - 'author_name': 'authorName', # noqa: E501 - 'capacity': 'capacity', # noqa: E501 - 'created_at': 'created_at', # noqa: E501 - 'favorites': 'favorites', # noqa: E501 - 'heat': 'heat', # noqa: E501 - 'id': 'id', # noqa: E501 - 'image_url': 'imageUrl', # noqa: E501 - 'labs_publication_date': 'labsPublicationDate', # noqa: E501 - 'name': 'name', # noqa: E501 - 'occupants': 'occupants', # noqa: E501 - 'organization': 'organization', # noqa: E501 - 'popularity': 'popularity', # noqa: E501 - 'publication_date': 'publicationDate', # noqa: E501 - 'release_status': 'releaseStatus', # noqa: E501 - 'tags': 'tags', # noqa: E501 - 'thumbnail_image_url': 'thumbnailImageUrl', # noqa: E501 - 'unity_packages': 'unityPackages', # noqa: E501 - 'updated_at': 'updated_at', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, author_id, author_name, capacity, created_at, id, image_url, labs_publication_date, name, publication_date, release_status, tags, thumbnail_image_url, unity_packages, updated_at, *args, **kwargs): # noqa: E501 - """LimitedWorld - a model defined in OpenAPI - - Args: - author_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. - author_name (str): - capacity (int): - created_at (datetime): - id (WorldID): - image_url (str): - labs_publication_date (str): - name (str): - publication_date (str): - release_status (ReleaseStatus): - tags ([Tag]): - thumbnail_image_url (str): - unity_packages ([LimitedUnityPackage]): - updated_at (datetime): - - Keyword Args: - favorites (int): defaults to 0 # noqa: E501 - heat (int): defaults to 0 # noqa: E501 - occupants (int): defaults to 0 # noqa: E501 - organization (str): defaults to "vrchat" # noqa: E501 - popularity (int): defaults to 0 # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - favorites = kwargs.get('favorites', 0) - heat = kwargs.get('heat', 0) - occupants = kwargs.get('occupants', 0) - organization = kwargs.get('organization', "vrchat") - popularity = kwargs.get('popularity', 0) - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.author_id = author_id - self.author_name = author_name - self.capacity = capacity - self.created_at = created_at - self.favorites = favorites - self.heat = heat - self.id = id - self.image_url = image_url - self.labs_publication_date = labs_publication_date - self.name = name - self.occupants = occupants - self.organization = organization - self.popularity = popularity - self.publication_date = publication_date - self.release_status = release_status - self.tags = tags - self.thumbnail_image_url = thumbnail_image_url - self.unity_packages = unity_packages - self.updated_at = updated_at - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, author_id, author_name, capacity, created_at, id, image_url, labs_publication_date, name, publication_date, release_status, tags, thumbnail_image_url, unity_packages, updated_at, *args, **kwargs): # noqa: E501 - """LimitedWorld - a model defined in OpenAPI - - Args: - author_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. - author_name (str): - capacity (int): - created_at (datetime): - id (WorldID): - image_url (str): - labs_publication_date (str): - name (str): - publication_date (str): - release_status (ReleaseStatus): - tags ([Tag]): - thumbnail_image_url (str): - unity_packages ([LimitedUnityPackage]): - updated_at (datetime): - - Keyword Args: - favorites (int): defaults to 0 # noqa: E501 - heat (int): defaults to 0 # noqa: E501 - occupants (int): defaults to 0 # noqa: E501 - organization (str): defaults to "vrchat" # noqa: E501 - popularity (int): defaults to 0 # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - favorites = kwargs.get('favorites', 0) - heat = kwargs.get('heat', 0) - occupants = kwargs.get('occupants', 0) - organization = kwargs.get('organization', "vrchat") - popularity = kwargs.get('popularity', 0) - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.author_id = author_id - self.author_name = author_name - self.capacity = capacity - self.created_at = created_at - self.favorites = favorites - self.heat = heat - self.id = id - self.image_url = image_url - self.labs_publication_date = labs_publication_date - self.name = name - self.occupants = occupants - self.organization = organization - self.popularity = popularity - self.publication_date = publication_date - self.release_status = release_status - self.tags = tags - self.thumbnail_image_url = thumbnail_image_url - self.unity_packages = unity_packages - self.updated_at = updated_at - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/mime_type.py b/vrchatapi/model/mime_type.py deleted file mode 100644 index 4aae063d..00000000 --- a/vrchatapi/model/mime_type.py +++ /dev/null @@ -1,286 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class MIMEType(ModelSimple): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - ('value',): { - 'IMAGE/JPEG': "image/jpeg", - 'IMAGE/JPG': "image/jpg", - 'IMAGE/PNG': "image/png", - 'IMAGE/WEBP': "image/webp", - 'IMAGE/GIF': "image/gif", - 'IMAGE/BMP': "image/bmp", - 'IMAGE/SVG+XML': "image/svg+xml", - 'IMAGE/TIFF': "image/tiff", - 'APPLICATION/X-AVATAR': "application/x-avatar", - 'APPLICATION/X-WORLD': "application/x-world", - 'APPLICATION/GZIP': "application/gzip", - 'APPLICATION/X-RSYNC-SIGNATURE': "application/x-rsync-signature", - 'APPLICATION/X-RSYNC-DELTA': "application/x-rsync-delta", - 'APPLICATION/OCTET-STREAM': "application/octet-stream", - }, - } - - validations = { - } - - additional_properties_type = None - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'value': (str,), - } - - @cached_property - def discriminator(): - return None - - - attribute_map = {} - - read_only_vars = set() - - _composed_schemas = None - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): - """MIMEType - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): if omitted defaults to "image/jpeg", must be one of ["image/jpeg", "image/jpg", "image/png", "image/webp", "image/gif", "image/bmp", "image/svg+xml", "image/tiff", "application/x-avatar", "application/x-world", "application/gzip", "application/x-rsync-signature", "application/x-rsync-delta", "application/octet-stream", ] # noqa: E501 - - Keyword Args: - value (str): if omitted defaults to "image/jpeg", must be one of ["image/jpeg", "image/jpg", "image/png", "image/webp", "image/gif", "image/bmp", "image/svg+xml", "image/tiff", "application/x-avatar", "application/x-world", "application/gzip", "application/x-rsync-signature", "application/x-rsync-delta", "application/octet-stream", ] # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - value = "image/jpeg" - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): - """MIMEType - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): if omitted defaults to "image/jpeg", must be one of ["image/jpeg", "image/jpg", "image/png", "image/webp", "image/gif", "image/bmp", "image/svg+xml", "image/tiff", "application/x-avatar", "application/x-world", "application/gzip", "application/x-rsync-signature", "application/x-rsync-delta", "application/octet-stream", ] # noqa: E501 - - Keyword Args: - value (str): if omitted defaults to "image/jpeg", must be one of ["image/jpeg", "image/jpg", "image/png", "image/webp", "image/gif", "image/bmp", "image/svg+xml", "image/tiff", "application/x-avatar", "application/x-world", "application/gzip", "application/x-rsync-signature", "application/x-rsync-delta", "application/octet-stream", ] # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - value = "image/jpeg" - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - return self diff --git a/vrchatapi/model/moderate_user_request.py b/vrchatapi/model/moderate_user_request.py deleted file mode 100644 index 00d9042f..00000000 --- a/vrchatapi/model/moderate_user_request.py +++ /dev/null @@ -1,266 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - -def lazy_import(): - from vrchatapi.model.player_moderation_type import PlayerModerationType - globals()['PlayerModerationType'] = PlayerModerationType - - -class ModerateUserRequest(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - additional_properties_type = None - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'moderated': (str,), # noqa: E501 - 'type': (PlayerModerationType,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'moderated': 'moderated', # noqa: E501 - 'type': 'type', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, moderated, type, *args, **kwargs): # noqa: E501 - """ModerateUserRequest - a model defined in OpenAPI - - Args: - moderated (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. - type (PlayerModerationType): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.moderated = moderated - self.type = type - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, moderated, type, *args, **kwargs): # noqa: E501 - """ModerateUserRequest - a model defined in OpenAPI - - Args: - moderated (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. - type (PlayerModerationType): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.moderated = moderated - self.type = type - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/notification.py b/vrchatapi/model/notification.py deleted file mode 100644 index 9a3426bb..00000000 --- a/vrchatapi/model/notification.py +++ /dev/null @@ -1,317 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - -def lazy_import(): - from vrchatapi.model.notification_type import NotificationType - globals()['NotificationType'] = NotificationType - - -class Notification(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('id',): { - 'min_length': 1, - }, - ('sender_username',): { - 'min_length': 1, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'created_at': (datetime,), # noqa: E501 - 'details': (str,), # noqa: E501 - 'id': (str,), # noqa: E501 - 'message': (str,), # noqa: E501 - 'seen': (bool,), # noqa: E501 - 'sender_user_id': (str,), # noqa: E501 - 'type': (NotificationType,), # noqa: E501 - 'sender_username': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'created_at': 'created_at', # noqa: E501 - 'details': 'details', # noqa: E501 - 'id': 'id', # noqa: E501 - 'message': 'message', # noqa: E501 - 'seen': 'seen', # noqa: E501 - 'sender_user_id': 'senderUserId', # noqa: E501 - 'type': 'type', # noqa: E501 - 'sender_username': 'senderUsername', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, created_at, id, message, sender_user_id, type, *args, **kwargs): # noqa: E501 - """Notification - a model defined in OpenAPI - - Args: - created_at (datetime): - id (str): - message (str): - sender_user_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. - type (NotificationType): - - Keyword Args: - details (str): **NOTICE:** This is not a JSON object, this is a json **encoded** object, meaning you have to json-de-encode to get the NotificationDetail object depending on the NotificationType.. defaults to "{}" # noqa: E501 - seen (bool): defaults to False # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - sender_username (str): -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429).. [optional] # noqa: E501 - """ - - details = kwargs.get('details', "{}") - seen = kwargs.get('seen', False) - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.created_at = created_at - self.details = details - self.id = id - self.message = message - self.seen = seen - self.sender_user_id = sender_user_id - self.type = type - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, created_at, id, message, sender_user_id, type, *args, **kwargs): # noqa: E501 - """Notification - a model defined in OpenAPI - - Args: - created_at (datetime): - id (str): - message (str): - sender_user_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. - type (NotificationType): - - Keyword Args: - details (str): **NOTICE:** This is not a JSON object, this is a json **encoded** object, meaning you have to json-de-encode to get the NotificationDetail object depending on the NotificationType.. defaults to "{}" # noqa: E501 - seen (bool): defaults to False # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - sender_username (str): -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429).. [optional] # noqa: E501 - """ - - details = kwargs.get('details', "{}") - seen = kwargs.get('seen', False) - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.created_at = created_at - self.details = details - self.id = id - self.message = message - self.seen = seen - self.sender_user_id = sender_user_id - self.type = type - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/notification_type.py b/vrchatapi/model/notification_type.py deleted file mode 100644 index 8bba5a77..00000000 --- a/vrchatapi/model/notification_type.py +++ /dev/null @@ -1,278 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class NotificationType(ModelSimple): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - ('value',): { - 'FRIENDREQUEST': "friendRequest", - 'INVITE': "invite", - 'INVITERESPONSE': "inviteResponse", - 'REQUESTINVITE': "requestInvite", - 'REQUESTINVITERESPONSE': "requestInviteResponse", - 'VOTETOKICK': "votetokick", - }, - } - - validations = { - } - - additional_properties_type = None - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'value': (str,), - } - - @cached_property - def discriminator(): - return None - - - attribute_map = {} - - read_only_vars = set() - - _composed_schemas = None - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): - """NotificationType - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): if omitted defaults to "friendRequest", must be one of ["friendRequest", "invite", "inviteResponse", "requestInvite", "requestInviteResponse", "votetokick", ] # noqa: E501 - - Keyword Args: - value (str): if omitted defaults to "friendRequest", must be one of ["friendRequest", "invite", "inviteResponse", "requestInvite", "requestInviteResponse", "votetokick", ] # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - value = "friendRequest" - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): - """NotificationType - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): if omitted defaults to "friendRequest", must be one of ["friendRequest", "invite", "inviteResponse", "requestInvite", "requestInviteResponse", "votetokick", ] # noqa: E501 - - Keyword Args: - value (str): if omitted defaults to "friendRequest", must be one of ["friendRequest", "invite", "inviteResponse", "requestInvite", "requestInviteResponse", "votetokick", ] # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - value = "friendRequest" - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - return self diff --git a/vrchatapi/model/past_display_name.py b/vrchatapi/model/past_display_name.py deleted file mode 100644 index 2645352a..00000000 --- a/vrchatapi/model/past_display_name.py +++ /dev/null @@ -1,270 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class PastDisplayName(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('display_name',): { - 'min_length': 1, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'display_name': (str,), # noqa: E501 - 'updated_at': (datetime,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'display_name': 'displayName', # noqa: E501 - 'updated_at': 'updated_at', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, display_name, updated_at, *args, **kwargs): # noqa: E501 - """PastDisplayName - a model defined in OpenAPI - - Args: - display_name (str): - updated_at (datetime): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.display_name = display_name - self.updated_at = updated_at - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, display_name, updated_at, *args, **kwargs): # noqa: E501 - """PastDisplayName - a model defined in OpenAPI - - Args: - display_name (str): - updated_at (datetime): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.display_name = display_name - self.updated_at = updated_at - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/permission.py b/vrchatapi/model/permission.py deleted file mode 100644 index b4a3a1fb..00000000 --- a/vrchatapi/model/permission.py +++ /dev/null @@ -1,286 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - -def lazy_import(): - from vrchatapi.model.permission_id import PermissionID - globals()['PermissionID'] = PermissionID - - -class Permission(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('name',): { - 'min_length': 1, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (PermissionID,), # noqa: E501 - 'name': (str,), # noqa: E501 - 'owner_id': (str,), # noqa: E501 - 'data': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'name': 'name', # noqa: E501 - 'owner_id': 'ownerId', # noqa: E501 - 'data': 'data', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, id, name, owner_id, *args, **kwargs): # noqa: E501 - """Permission - a model defined in OpenAPI - - Args: - id (PermissionID): - name (str): - owner_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - data ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - self.name = name - self.owner_id = owner_id - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, id, name, owner_id, *args, **kwargs): # noqa: E501 - """Permission - a model defined in OpenAPI - - Args: - id (PermissionID): - name (str): - owner_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - data ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - self.name = name - self.owner_id = owner_id - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/permission_id.py b/vrchatapi/model/permission_id.py deleted file mode 100644 index 8ec26c04..00000000 --- a/vrchatapi/model/permission_id.py +++ /dev/null @@ -1,283 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class PermissionID(ModelSimple): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('value',): { - 'regex': { - 'pattern': r'', # noqa: E501 - }, - }, - } - - additional_properties_type = None - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'value': (str,), - } - - @cached_property - def discriminator(): - return None - - - attribute_map = {} - - read_only_vars = set() - - _composed_schemas = None - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): - """PermissionID - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): # noqa: E501 - - Keyword Args: - value (str): # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - raise ApiTypeError( - "value is required, but not passed in args or kwargs and doesn't have default", - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): - """PermissionID - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): # noqa: E501 - - Keyword Args: - value (str): # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - raise ApiTypeError( - "value is required, but not passed in args or kwargs and doesn't have default", - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - return self diff --git a/vrchatapi/model/player_moderation.py b/vrchatapi/model/player_moderation.py deleted file mode 100644 index 6d48a19f..00000000 --- a/vrchatapi/model/player_moderation.py +++ /dev/null @@ -1,311 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - -def lazy_import(): - from vrchatapi.model.player_moderation_id import PlayerModerationID - from vrchatapi.model.player_moderation_type import PlayerModerationType - globals()['PlayerModerationID'] = PlayerModerationID - globals()['PlayerModerationType'] = PlayerModerationType - - -class PlayerModeration(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('source_display_name',): { - 'min_length': 1, - }, - ('target_display_name',): { - 'min_length': 1, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'created': (datetime,), # noqa: E501 - 'id': (PlayerModerationID,), # noqa: E501 - 'source_display_name': (str,), # noqa: E501 - 'source_user_id': (str,), # noqa: E501 - 'target_display_name': (str,), # noqa: E501 - 'target_user_id': (str,), # noqa: E501 - 'type': (PlayerModerationType,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'created': 'created', # noqa: E501 - 'id': 'id', # noqa: E501 - 'source_display_name': 'sourceDisplayName', # noqa: E501 - 'source_user_id': 'sourceUserId', # noqa: E501 - 'target_display_name': 'targetDisplayName', # noqa: E501 - 'target_user_id': 'targetUserId', # noqa: E501 - 'type': 'type', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, created, id, source_display_name, source_user_id, target_display_name, target_user_id, type, *args, **kwargs): # noqa: E501 - """PlayerModeration - a model defined in OpenAPI - - Args: - created (datetime): - id (PlayerModerationID): - source_display_name (str): - source_user_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. - target_display_name (str): - target_user_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. - type (PlayerModerationType): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.created = created - self.id = id - self.source_display_name = source_display_name - self.source_user_id = source_user_id - self.target_display_name = target_display_name - self.target_user_id = target_user_id - self.type = type - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, created, id, source_display_name, source_user_id, target_display_name, target_user_id, type, *args, **kwargs): # noqa: E501 - """PlayerModeration - a model defined in OpenAPI - - Args: - created (datetime): - id (PlayerModerationID): - source_display_name (str): - source_user_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. - target_display_name (str): - target_user_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. - type (PlayerModerationType): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.created = created - self.id = id - self.source_display_name = source_display_name - self.source_user_id = source_user_id - self.target_display_name = target_display_name - self.target_user_id = target_user_id - self.type = type - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/player_moderation_id.py b/vrchatapi/model/player_moderation_id.py deleted file mode 100644 index 912d866c..00000000 --- a/vrchatapi/model/player_moderation_id.py +++ /dev/null @@ -1,283 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class PlayerModerationID(ModelSimple): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('value',): { - 'regex': { - 'pattern': r'', # noqa: E501 - }, - }, - } - - additional_properties_type = None - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'value': (str,), - } - - @cached_property - def discriminator(): - return None - - - attribute_map = {} - - read_only_vars = set() - - _composed_schemas = None - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): - """PlayerModerationID - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): # noqa: E501 - - Keyword Args: - value (str): # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - raise ApiTypeError( - "value is required, but not passed in args or kwargs and doesn't have default", - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): - """PlayerModerationID - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): # noqa: E501 - - Keyword Args: - value (str): # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - raise ApiTypeError( - "value is required, but not passed in args or kwargs and doesn't have default", - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - return self diff --git a/vrchatapi/model/player_moderation_type.py b/vrchatapi/model/player_moderation_type.py deleted file mode 100644 index 644ed330..00000000 --- a/vrchatapi/model/player_moderation_type.py +++ /dev/null @@ -1,278 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class PlayerModerationType(ModelSimple): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - ('value',): { - 'MUTE': "mute", - 'UNMUTE': "unmute", - 'BLOCK': "block", - 'UNBLOCK': "unblock", - 'INTERACTON': "interactOn", - 'INTERACTOFF': "interactOff", - }, - } - - validations = { - } - - additional_properties_type = None - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'value': (str,), - } - - @cached_property - def discriminator(): - return None - - - attribute_map = {} - - read_only_vars = set() - - _composed_schemas = None - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): - """PlayerModerationType - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): if omitted defaults to "unmute", must be one of ["mute", "unmute", "block", "unblock", "interactOn", "interactOff", ] # noqa: E501 - - Keyword Args: - value (str): if omitted defaults to "unmute", must be one of ["mute", "unmute", "block", "unblock", "interactOn", "interactOff", ] # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - value = "unmute" - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): - """PlayerModerationType - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): if omitted defaults to "unmute", must be one of ["mute", "unmute", "block", "unblock", "interactOn", "interactOff", ] # noqa: E501 - - Keyword Args: - value (str): if omitted defaults to "unmute", must be one of ["mute", "unmute", "block", "unblock", "interactOn", "interactOff", ] # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - value = "unmute" - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - return self diff --git a/vrchatapi/model/public_announcement.py b/vrchatapi/model/public_announcement.py deleted file mode 100644 index 105eb4c5..00000000 --- a/vrchatapi/model/public_announcement.py +++ /dev/null @@ -1,273 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class PublicAnnouncement(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('name',): { - 'min_length': 1, - }, - ('text',): { - 'min_length': 1, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'name': (str,), # noqa: E501 - 'text': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'name': 'name', # noqa: E501 - 'text': 'text', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, name, text, *args, **kwargs): # noqa: E501 - """PublicAnnouncement - a model defined in OpenAPI - - Args: - name (str): Announcement name - text (str): Announcement text - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.name = name - self.text = text - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, name, text, *args, **kwargs): # noqa: E501 - """PublicAnnouncement - a model defined in OpenAPI - - Args: - name (str): Announcement name - text (str): Announcement text - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.name = name - self.text = text - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/region.py b/vrchatapi/model/region.py deleted file mode 100644 index df78af5c..00000000 --- a/vrchatapi/model/region.py +++ /dev/null @@ -1,278 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class Region(ModelSimple): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - ('value',): { - 'US': "us", - 'USE': "use", - 'USW': "usw", - 'EU': "eu", - 'JP': "jp", - 'UNKNOWN': "unknown", - }, - } - - validations = { - } - - additional_properties_type = None - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'value': (str,), - } - - @cached_property - def discriminator(): - return None - - - attribute_map = {} - - read_only_vars = set() - - _composed_schemas = None - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): - """Region - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): API/Photon region.. if omitted defaults to "us", must be one of ["us", "use", "usw", "eu", "jp", "unknown", ] # noqa: E501 - - Keyword Args: - value (str): API/Photon region.. if omitted defaults to "us", must be one of ["us", "use", "usw", "eu", "jp", "unknown", ] # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - value = "us" - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): - """Region - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): API/Photon region.. if omitted defaults to "us", must be one of ["us", "use", "usw", "eu", "jp", "unknown", ] # noqa: E501 - - Keyword Args: - value (str): API/Photon region.. if omitted defaults to "us", must be one of ["us", "use", "usw", "eu", "jp", "unknown", ] # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - value = "us" - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - return self diff --git a/vrchatapi/model/release_status.py b/vrchatapi/model/release_status.py deleted file mode 100644 index 54f09fc3..00000000 --- a/vrchatapi/model/release_status.py +++ /dev/null @@ -1,275 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class ReleaseStatus(ModelSimple): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - ('value',): { - 'PUBLIC': "public", - 'PRIVATE': "private", - 'HIDDEN': "hidden", - }, - } - - validations = { - } - - additional_properties_type = None - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'value': (str,), - } - - @cached_property - def discriminator(): - return None - - - attribute_map = {} - - read_only_vars = set() - - _composed_schemas = None - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): - """ReleaseStatus - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): if omitted defaults to "public", must be one of ["public", "private", "hidden", ] # noqa: E501 - - Keyword Args: - value (str): if omitted defaults to "public", must be one of ["public", "private", "hidden", ] # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - value = "public" - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): - """ReleaseStatus - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): if omitted defaults to "public", must be one of ["public", "private", "hidden", ] # noqa: E501 - - Keyword Args: - value (str): if omitted defaults to "public", must be one of ["public", "private", "hidden", ] # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - value = "public" - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - return self diff --git a/vrchatapi/model/request_invite_request.py b/vrchatapi/model/request_invite_request.py deleted file mode 100644 index 2a81eea2..00000000 --- a/vrchatapi/model/request_invite_request.py +++ /dev/null @@ -1,259 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class RequestInviteRequest(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('message_slot',): { - 'inclusive_maximum': 11, - 'inclusive_minimum': 0, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'message_slot': (int,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'message_slot': 'messageSlot', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """RequestInviteRequest - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - message_slot (int): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """RequestInviteRequest - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - message_slot (int): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/response.py b/vrchatapi/model/response.py deleted file mode 100644 index 35e8502b..00000000 --- a/vrchatapi/model/response.py +++ /dev/null @@ -1,271 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class Response(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('status_code',): { - 'inclusive_minimum': 100, - }, - ('message',): { - 'min_length': 1, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'status_code': (int,), # noqa: E501 - 'message': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'status_code': 'status_code', # noqa: E501 - 'message': 'message', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, status_code, *args, **kwargs): # noqa: E501 - """Response - a model defined in OpenAPI - - Args: - status_code (int): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - message (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.status_code = status_code - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, status_code, *args, **kwargs): # noqa: E501 - """Response - a model defined in OpenAPI - - Args: - status_code (int): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - message (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.status_code = status_code - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/sent_notification.py b/vrchatapi/model/sent_notification.py deleted file mode 100644 index 840999e6..00000000 --- a/vrchatapi/model/sent_notification.py +++ /dev/null @@ -1,315 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - -def lazy_import(): - from vrchatapi.model.notification_type import NotificationType - globals()['NotificationType'] = NotificationType - - -class SentNotification(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('id',): { - 'min_length': 1, - }, - ('sender_username',): { - 'min_length': 1, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'created_at': (datetime,), # noqa: E501 - 'details': (str,), # noqa: E501 - 'id': (str,), # noqa: E501 - 'message': (str,), # noqa: E501 - 'reciever_user_id': (str,), # noqa: E501 - 'sender_user_id': (str,), # noqa: E501 - 'type': (NotificationType,), # noqa: E501 - 'sender_username': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'created_at': 'created_at', # noqa: E501 - 'details': 'details', # noqa: E501 - 'id': 'id', # noqa: E501 - 'message': 'message', # noqa: E501 - 'reciever_user_id': 'recieverUserId', # noqa: E501 - 'sender_user_id': 'senderUserId', # noqa: E501 - 'type': 'type', # noqa: E501 - 'sender_username': 'senderUsername', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, created_at, id, message, reciever_user_id, sender_user_id, type, *args, **kwargs): # noqa: E501 - """SentNotification - a model defined in OpenAPI - - Args: - created_at (datetime): - id (str): - message (str): - reciever_user_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. - sender_user_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. - type (NotificationType): - - Keyword Args: - details (str): **NOTICE:** This is not a JSON object, this is a json **encoded** object, meaning you have to json-de-encode to get the NotificationDetail object depending on the NotificationType.. defaults to "{}" # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - sender_username (str): -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429).. [optional] # noqa: E501 - """ - - details = kwargs.get('details', "{}") - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.created_at = created_at - self.details = details - self.id = id - self.message = message - self.reciever_user_id = reciever_user_id - self.sender_user_id = sender_user_id - self.type = type - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, created_at, id, message, reciever_user_id, sender_user_id, type, *args, **kwargs): # noqa: E501 - """SentNotification - a model defined in OpenAPI - - Args: - created_at (datetime): - id (str): - message (str): - reciever_user_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. - sender_user_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. - type (NotificationType): - - Keyword Args: - details (str): **NOTICE:** This is not a JSON object, this is a json **encoded** object, meaning you have to json-de-encode to get the NotificationDetail object depending on the NotificationType.. defaults to "{}" # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - sender_username (str): -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429).. [optional] # noqa: E501 - """ - - details = kwargs.get('details', "{}") - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.created_at = created_at - self.details = details - self.id = id - self.message = message - self.reciever_user_id = reciever_user_id - self.sender_user_id = sender_user_id - self.type = type - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/subscription.py b/vrchatapi/model/subscription.py deleted file mode 100644 index b1b7706c..00000000 --- a/vrchatapi/model/subscription.py +++ /dev/null @@ -1,303 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - -def lazy_import(): - from vrchatapi.model.subscription_period import SubscriptionPeriod - globals()['SubscriptionPeriod'] = SubscriptionPeriod - - -class Subscription(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('id',): { - 'min_length': 1, - }, - ('steam_item_id',): { - 'min_length': 1, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'steam_item_id': (str,), # noqa: E501 - 'amount': (float,), # noqa: E501 - 'description': (str,), # noqa: E501 - 'period': (SubscriptionPeriod,), # noqa: E501 - 'tier': (float,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'steam_item_id': 'steamItemId', # noqa: E501 - 'amount': 'amount', # noqa: E501 - 'description': 'description', # noqa: E501 - 'period': 'period', # noqa: E501 - 'tier': 'tier', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, id, steam_item_id, amount, description, period, tier, *args, **kwargs): # noqa: E501 - """Subscription - a model defined in OpenAPI - - Args: - id (str): - steam_item_id (str): - amount (float): - description (str): - period (SubscriptionPeriod): - tier (float): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - self.steam_item_id = steam_item_id - self.amount = amount - self.description = description - self.period = period - self.tier = tier - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, id, steam_item_id, amount, description, period, tier, *args, **kwargs): # noqa: E501 - """Subscription - a model defined in OpenAPI - - Args: - id (str): - steam_item_id (str): - amount (float): - description (str): - period (SubscriptionPeriod): - tier (float): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - self.steam_item_id = steam_item_id - self.amount = amount - self.description = description - self.period = period - self.tier = tier - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/subscription_period.py b/vrchatapi/model/subscription_period.py deleted file mode 100644 index a885a162..00000000 --- a/vrchatapi/model/subscription_period.py +++ /dev/null @@ -1,277 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class SubscriptionPeriod(ModelSimple): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - ('value',): { - 'HOUR': "hour", - 'DAY': "day", - 'WEEK': "week", - 'MONTH': "month", - 'YEAR': "year", - }, - } - - validations = { - } - - additional_properties_type = None - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'value': (str,), - } - - @cached_property - def discriminator(): - return None - - - attribute_map = {} - - read_only_vars = set() - - _composed_schemas = None - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): - """SubscriptionPeriod - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): if omitted defaults to "month", must be one of ["hour", "day", "week", "month", "year", ] # noqa: E501 - - Keyword Args: - value (str): if omitted defaults to "month", must be one of ["hour", "day", "week", "month", "year", ] # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - value = "month" - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): - """SubscriptionPeriod - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): if omitted defaults to "month", must be one of ["hour", "day", "week", "month", "year", ] # noqa: E501 - - Keyword Args: - value (str): if omitted defaults to "month", must be one of ["hour", "day", "week", "month", "year", ] # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - value = "month" - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - return self diff --git a/vrchatapi/model/success.py b/vrchatapi/model/success.py deleted file mode 100644 index 624cb7e4..00000000 --- a/vrchatapi/model/success.py +++ /dev/null @@ -1,261 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - -def lazy_import(): - from vrchatapi.model.response import Response - globals()['Response'] = Response - - -class Success(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'success': (Response,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'success': 'success', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """Success - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - success (Response): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """Success - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - success (Response): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/tag.py b/vrchatapi/model/tag.py deleted file mode 100644 index 21e8ba76..00000000 --- a/vrchatapi/model/tag.py +++ /dev/null @@ -1,281 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class Tag(ModelSimple): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('value',): { - 'min_length': 1, - }, - } - - additional_properties_type = None - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'value': (str,), - } - - @cached_property - def discriminator(): - return None - - - attribute_map = {} - - read_only_vars = set() - - _composed_schemas = None - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): - """Tag - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): Tags are a way to grant various access, assign restrictions or other kinds of metadata to various to objects such as worlds, users and avatars. System tags starting with `system_` are granted automatically by the system, while admin tags with `admin_` are granted manually. More prefixes such as `language_ ` (to indicate that a player can speak the tagged language), and `author_tag_` (provided by a world author for search and sorting) exist as well.. # noqa: E501 - - Keyword Args: - value (str): Tags are a way to grant various access, assign restrictions or other kinds of metadata to various to objects such as worlds, users and avatars. System tags starting with `system_` are granted automatically by the system, while admin tags with `admin_` are granted manually. More prefixes such as `language_ ` (to indicate that a player can speak the tagged language), and `author_tag_` (provided by a world author for search and sorting) exist as well.. # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - raise ApiTypeError( - "value is required, but not passed in args or kwargs and doesn't have default", - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): - """Tag - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): Tags are a way to grant various access, assign restrictions or other kinds of metadata to various to objects such as worlds, users and avatars. System tags starting with `system_` are granted automatically by the system, while admin tags with `admin_` are granted manually. More prefixes such as `language_ ` (to indicate that a player can speak the tagged language), and `author_tag_` (provided by a world author for search and sorting) exist as well.. # noqa: E501 - - Keyword Args: - value (str): Tags are a way to grant various access, assign restrictions or other kinds of metadata to various to objects such as worlds, users and avatars. System tags starting with `system_` are granted automatically by the system, while admin tags with `admin_` are granted manually. More prefixes such as `language_ ` (to indicate that a player can speak the tagged language), and `author_tag_` (provided by a world author for search and sorting) exist as well.. # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - raise ApiTypeError( - "value is required, but not passed in args or kwargs and doesn't have default", - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - return self diff --git a/vrchatapi/model/transaction.py b/vrchatapi/model/transaction.py deleted file mode 100644 index 35245395..00000000 --- a/vrchatapi/model/transaction.py +++ /dev/null @@ -1,321 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - -def lazy_import(): - from vrchatapi.model.subscription import Subscription - from vrchatapi.model.transaction_agreement import TransactionAgreement - from vrchatapi.model.transaction_id import TransactionID - from vrchatapi.model.transaction_status import TransactionStatus - from vrchatapi.model.transaction_steam_info import TransactionSteamInfo - globals()['Subscription'] = Subscription - globals()['TransactionAgreement'] = TransactionAgreement - globals()['TransactionID'] = TransactionID - globals()['TransactionStatus'] = TransactionStatus - globals()['TransactionSteamInfo'] = TransactionSteamInfo - - -class Transaction(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (TransactionID,), # noqa: E501 - 'status': (TransactionStatus,), # noqa: E501 - 'subscription': (Subscription,), # noqa: E501 - 'sandbox': (bool,), # noqa: E501 - 'created_at': (datetime,), # noqa: E501 - 'updated_at': (datetime,), # noqa: E501 - 'error': (str,), # noqa: E501 - 'steam': (TransactionSteamInfo,), # noqa: E501 - 'agreement': (TransactionAgreement,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'status': 'status', # noqa: E501 - 'subscription': 'subscription', # noqa: E501 - 'sandbox': 'sandbox', # noqa: E501 - 'created_at': 'created_at', # noqa: E501 - 'updated_at': 'updated_at', # noqa: E501 - 'error': 'error', # noqa: E501 - 'steam': 'steam', # noqa: E501 - 'agreement': 'agreement', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, id, status, subscription, created_at, updated_at, error, *args, **kwargs): # noqa: E501 - """Transaction - a model defined in OpenAPI - - Args: - id (TransactionID): - status (TransactionStatus): - subscription (Subscription): - created_at (datetime): - updated_at (datetime): - error (str): - - Keyword Args: - sandbox (bool): defaults to False # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - steam (TransactionSteamInfo): [optional] # noqa: E501 - agreement (TransactionAgreement): [optional] # noqa: E501 - """ - - sandbox = kwargs.get('sandbox', False) - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - self.status = status - self.subscription = subscription - self.sandbox = sandbox - self.created_at = created_at - self.updated_at = updated_at - self.error = error - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, id, status, subscription, created_at, updated_at, error, *args, **kwargs): # noqa: E501 - """Transaction - a model defined in OpenAPI - - Args: - id (TransactionID): - status (TransactionStatus): - subscription (Subscription): - created_at (datetime): - updated_at (datetime): - error (str): - - Keyword Args: - sandbox (bool): defaults to False # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - steam (TransactionSteamInfo): [optional] # noqa: E501 - agreement (TransactionAgreement): [optional] # noqa: E501 - """ - - sandbox = kwargs.get('sandbox', False) - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - self.status = status - self.subscription = subscription - self.sandbox = sandbox - self.created_at = created_at - self.updated_at = updated_at - self.error = error - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/transaction_agreement.py b/vrchatapi/model/transaction_agreement.py deleted file mode 100644 index 2b9f6714..00000000 --- a/vrchatapi/model/transaction_agreement.py +++ /dev/null @@ -1,387 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class TransactionAgreement(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('agreement_id',): { - 'min_length': 1, - }, - ('status',): { - 'min_length': 1, - }, - ('period',): { - 'min_length': 1, - }, - ('billing_type',): { - 'min_length': 1, - }, - ('start_date',): { - 'min_length': 1, - }, - ('end_date',): { - 'min_length': 1, - }, - ('currency',): { - 'min_length': 1, - }, - ('time_created',): { - 'min_length': 1, - }, - ('next_payment',): { - 'min_length': 1, - }, - ('last_payment',): { - 'min_length': 1, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'agreement_id': (str,), # noqa: E501 - 'item_id': (float,), # noqa: E501 - 'status': (str,), # noqa: E501 - 'period': (str,), # noqa: E501 - 'frequency': (float,), # noqa: E501 - 'billing_type': (str,), # noqa: E501 - 'start_date': (str,), # noqa: E501 - 'end_date': (str,), # noqa: E501 - 'recurring_amt': (float,), # noqa: E501 - 'currency': (str,), # noqa: E501 - 'time_created': (str,), # noqa: E501 - 'next_payment': (str,), # noqa: E501 - 'last_payment': (str,), # noqa: E501 - 'last_amount': (float,), # noqa: E501 - 'last_amount_vat': (float,), # noqa: E501 - 'outstanding': (float,), # noqa: E501 - 'failed_attempts': (float,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'agreement_id': 'agreementId', # noqa: E501 - 'item_id': 'itemId', # noqa: E501 - 'status': 'status', # noqa: E501 - 'period': 'period', # noqa: E501 - 'frequency': 'frequency', # noqa: E501 - 'billing_type': 'billingType', # noqa: E501 - 'start_date': 'startDate', # noqa: E501 - 'end_date': 'endDate', # noqa: E501 - 'recurring_amt': 'recurringAmt', # noqa: E501 - 'currency': 'currency', # noqa: E501 - 'time_created': 'timeCreated', # noqa: E501 - 'next_payment': 'nextPayment', # noqa: E501 - 'last_payment': 'lastPayment', # noqa: E501 - 'last_amount': 'lastAmount', # noqa: E501 - 'last_amount_vat': 'lastAmountVat', # noqa: E501 - 'outstanding': 'outstanding', # noqa: E501 - 'failed_attempts': 'failedAttempts', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, agreement_id, item_id, status, period, frequency, billing_type, start_date, end_date, recurring_amt, currency, time_created, next_payment, last_payment, last_amount, last_amount_vat, outstanding, failed_attempts, *args, **kwargs): # noqa: E501 - """TransactionAgreement - a model defined in OpenAPI - - Args: - agreement_id (str): - item_id (float): - status (str): This is NOT TransactionStatus, but whatever Steam return. - period (str): - frequency (float): - billing_type (str): - start_date (str): - end_date (str): - recurring_amt (float): - currency (str): - time_created (str): - next_payment (str): - last_payment (str): - last_amount (float): - last_amount_vat (float): - outstanding (float): - failed_attempts (float): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.agreement_id = agreement_id - self.item_id = item_id - self.status = status - self.period = period - self.frequency = frequency - self.billing_type = billing_type - self.start_date = start_date - self.end_date = end_date - self.recurring_amt = recurring_amt - self.currency = currency - self.time_created = time_created - self.next_payment = next_payment - self.last_payment = last_payment - self.last_amount = last_amount - self.last_amount_vat = last_amount_vat - self.outstanding = outstanding - self.failed_attempts = failed_attempts - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, agreement_id, item_id, status, period, frequency, billing_type, start_date, end_date, recurring_amt, currency, time_created, next_payment, last_payment, last_amount, last_amount_vat, outstanding, failed_attempts, *args, **kwargs): # noqa: E501 - """TransactionAgreement - a model defined in OpenAPI - - Args: - agreement_id (str): - item_id (float): - status (str): This is NOT TransactionStatus, but whatever Steam return. - period (str): - frequency (float): - billing_type (str): - start_date (str): - end_date (str): - recurring_amt (float): - currency (str): - time_created (str): - next_payment (str): - last_payment (str): - last_amount (float): - last_amount_vat (float): - outstanding (float): - failed_attempts (float): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.agreement_id = agreement_id - self.item_id = item_id - self.status = status - self.period = period - self.frequency = frequency - self.billing_type = billing_type - self.start_date = start_date - self.end_date = end_date - self.recurring_amt = recurring_amt - self.currency = currency - self.time_created = time_created - self.next_payment = next_payment - self.last_payment = last_payment - self.last_amount = last_amount - self.last_amount_vat = last_amount_vat - self.outstanding = outstanding - self.failed_attempts = failed_attempts - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/transaction_id.py b/vrchatapi/model/transaction_id.py deleted file mode 100644 index ae645339..00000000 --- a/vrchatapi/model/transaction_id.py +++ /dev/null @@ -1,283 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class TransactionID(ModelSimple): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('value',): { - 'regex': { - 'pattern': r'', # noqa: E501 - }, - }, - } - - additional_properties_type = None - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'value': (str,), - } - - @cached_property - def discriminator(): - return None - - - attribute_map = {} - - read_only_vars = set() - - _composed_schemas = None - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): - """TransactionID - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): # noqa: E501 - - Keyword Args: - value (str): # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - raise ApiTypeError( - "value is required, but not passed in args or kwargs and doesn't have default", - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): - """TransactionID - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): # noqa: E501 - - Keyword Args: - value (str): # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - raise ApiTypeError( - "value is required, but not passed in args or kwargs and doesn't have default", - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - return self diff --git a/vrchatapi/model/transaction_status.py b/vrchatapi/model/transaction_status.py deleted file mode 100644 index afc8d957..00000000 --- a/vrchatapi/model/transaction_status.py +++ /dev/null @@ -1,276 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class TransactionStatus(ModelSimple): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - ('value',): { - 'ACTIVE': "active", - 'FAILED': "failed", - 'EXPIRED': "expired", - 'CHARGEBACK': "chargeback", - }, - } - - validations = { - } - - additional_properties_type = None - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'value': (str,), - } - - @cached_property - def discriminator(): - return None - - - attribute_map = {} - - read_only_vars = set() - - _composed_schemas = None - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): - """TransactionStatus - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): if omitted defaults to "active", must be one of ["active", "failed", "expired", "chargeback", ] # noqa: E501 - - Keyword Args: - value (str): if omitted defaults to "active", must be one of ["active", "failed", "expired", "chargeback", ] # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - value = "active" - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): - """TransactionStatus - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): if omitted defaults to "active", must be one of ["active", "failed", "expired", "chargeback", ] # noqa: E501 - - Keyword Args: - value (str): if omitted defaults to "active", must be one of ["active", "failed", "expired", "chargeback", ] # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - value = "active" - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - return self diff --git a/vrchatapi/model/transaction_steam_info.py b/vrchatapi/model/transaction_steam_info.py deleted file mode 100644 index d5a47f1b..00000000 --- a/vrchatapi/model/transaction_steam_info.py +++ /dev/null @@ -1,300 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - -def lazy_import(): - from vrchatapi.model.transaction_steam_wallet_info import TransactionSteamWalletInfo - globals()['TransactionSteamWalletInfo'] = TransactionSteamWalletInfo - - -class TransactionSteamInfo(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('steam_id',): { - 'min_length': 1, - }, - ('order_id',): { - 'min_length': 1, - }, - ('trans_id',): { - 'min_length': 1, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'wallet_info': (TransactionSteamWalletInfo,), # noqa: E501 - 'steam_id': (str,), # noqa: E501 - 'order_id': (str,), # noqa: E501 - 'steam_url': (str,), # noqa: E501 - 'trans_id': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'wallet_info': 'walletInfo', # noqa: E501 - 'steam_id': 'steamId', # noqa: E501 - 'order_id': 'orderId', # noqa: E501 - 'steam_url': 'steamUrl', # noqa: E501 - 'trans_id': 'transId', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, wallet_info, steam_id, order_id, steam_url, trans_id, *args, **kwargs): # noqa: E501 - """TransactionSteamInfo - a model defined in OpenAPI - - Args: - wallet_info (TransactionSteamWalletInfo): - steam_id (str): Steam User ID - order_id (str): Steam Order ID - steam_url (str): Empty - trans_id (str): Steam Transaction ID, NOT the same as VRChat TransactionID - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.wallet_info = wallet_info - self.steam_id = steam_id - self.order_id = order_id - self.steam_url = steam_url - self.trans_id = trans_id - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, wallet_info, steam_id, order_id, steam_url, trans_id, *args, **kwargs): # noqa: E501 - """TransactionSteamInfo - a model defined in OpenAPI - - Args: - wallet_info (TransactionSteamWalletInfo): - steam_id (str): Steam User ID - order_id (str): Steam Order ID - steam_url (str): Empty - trans_id (str): Steam Transaction ID, NOT the same as VRChat TransactionID - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.wallet_info = wallet_info - self.steam_id = steam_id - self.order_id = order_id - self.steam_url = steam_url - self.trans_id = trans_id - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/transaction_steam_wallet_info.py b/vrchatapi/model/transaction_steam_wallet_info.py deleted file mode 100644 index cf242b41..00000000 --- a/vrchatapi/model/transaction_steam_wallet_info.py +++ /dev/null @@ -1,292 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class TransactionSteamWalletInfo(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('country',): { - 'min_length': 2, - }, - ('currency',): { - 'min_length': 3, - }, - ('status',): { - 'min_length': 1, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'state': (str,), # noqa: E501 - 'country': (str,), # noqa: E501 - 'currency': (str,), # noqa: E501 - 'status': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'state': 'state', # noqa: E501 - 'country': 'country', # noqa: E501 - 'currency': 'currency', # noqa: E501 - 'status': 'status', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, state, status, *args, **kwargs): # noqa: E501 - """TransactionSteamWalletInfo - a model defined in OpenAPI - - Args: - state (str): - status (str): - - Keyword Args: - country (str): defaults to "US" # noqa: E501 - currency (str): defaults to "USD" # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - country = kwargs.get('country', "US") - currency = kwargs.get('currency', "USD") - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.state = state - self.country = country - self.currency = currency - self.status = status - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, state, status, *args, **kwargs): # noqa: E501 - """TransactionSteamWalletInfo - a model defined in OpenAPI - - Args: - state (str): - status (str): - - Keyword Args: - country (str): defaults to "US" # noqa: E501 - currency (str): defaults to "USD" # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - country = kwargs.get('country', "US") - currency = kwargs.get('currency', "USD") - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.state = state - self.country = country - self.currency = currency - self.status = status - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/two_factor_auth_code.py b/vrchatapi/model/two_factor_auth_code.py deleted file mode 100644 index 8e88f911..00000000 --- a/vrchatapi/model/two_factor_auth_code.py +++ /dev/null @@ -1,261 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class TwoFactorAuthCode(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'code': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'code': 'code', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, code, *args, **kwargs): # noqa: E501 - """TwoFactorAuthCode - a model defined in OpenAPI - - Args: - code (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.code = code - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, code, *args, **kwargs): # noqa: E501 - """TwoFactorAuthCode - a model defined in OpenAPI - - Args: - code (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.code = code - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/unity_package.py b/vrchatapi/model/unity_package.py deleted file mode 100644 index 7d563cf2..00000000 --- a/vrchatapi/model/unity_package.py +++ /dev/null @@ -1,323 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - -def lazy_import(): - from vrchatapi.model.unity_package_id import UnityPackageID - globals()['UnityPackageID'] = UnityPackageID - - -class UnityPackage(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('asset_version',): { - 'inclusive_minimum': 0, - }, - ('unity_version',): { - 'min_length': 1, - }, - ('asset_url',): { - 'min_length': 1, - }, - ('unity_sort_number',): { - 'inclusive_minimum': 0, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'asset_version': (int,), # noqa: E501 - 'id': (UnityPackageID,), # noqa: E501 - 'platform': (str,), # noqa: E501 - 'unity_version': (str,), # noqa: E501 - 'asset_url': (str,), # noqa: E501 - 'asset_url_object': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 - 'created_at': (datetime,), # noqa: E501 - 'plugin_url': (str,), # noqa: E501 - 'plugin_url_object': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 - 'unity_sort_number': (int,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'asset_version': 'assetVersion', # noqa: E501 - 'id': 'id', # noqa: E501 - 'platform': 'platform', # noqa: E501 - 'unity_version': 'unityVersion', # noqa: E501 - 'asset_url': 'assetUrl', # noqa: E501 - 'asset_url_object': 'assetUrlObject', # noqa: E501 - 'created_at': 'created_at', # noqa: E501 - 'plugin_url': 'pluginUrl', # noqa: E501 - 'plugin_url_object': 'pluginUrlObject', # noqa: E501 - 'unity_sort_number': 'unitySortNumber', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, asset_version, id, platform, *args, **kwargs): # noqa: E501 - """UnityPackage - a model defined in OpenAPI - - Args: - asset_version (int): - id (UnityPackageID): - platform (str): This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. - - Keyword Args: - unity_version (str): defaults to "5.3.4p1" # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - asset_url (str): [optional] # noqa: E501 - asset_url_object ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 - plugin_url (str): [optional] # noqa: E501 - plugin_url_object ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - unity_sort_number (int): [optional] # noqa: E501 - """ - - unity_version = kwargs.get('unity_version', "5.3.4p1") - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.asset_version = asset_version - self.id = id - self.platform = platform - self.unity_version = unity_version - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, asset_version, id, platform, *args, **kwargs): # noqa: E501 - """UnityPackage - a model defined in OpenAPI - - Args: - asset_version (int): - id (UnityPackageID): - platform (str): This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. - - Keyword Args: - unity_version (str): defaults to "5.3.4p1" # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - asset_url (str): [optional] # noqa: E501 - asset_url_object ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 - plugin_url (str): [optional] # noqa: E501 - plugin_url_object ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - unity_sort_number (int): [optional] # noqa: E501 - """ - - unity_version = kwargs.get('unity_version', "5.3.4p1") - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.asset_version = asset_version - self.id = id - self.platform = platform - self.unity_version = unity_version - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/unity_package_id.py b/vrchatapi/model/unity_package_id.py deleted file mode 100644 index ef76452e..00000000 --- a/vrchatapi/model/unity_package_id.py +++ /dev/null @@ -1,283 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class UnityPackageID(ModelSimple): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('value',): { - 'regex': { - 'pattern': r'', # noqa: E501 - }, - }, - } - - additional_properties_type = None - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'value': (str,), - } - - @cached_property - def discriminator(): - return None - - - attribute_map = {} - - read_only_vars = set() - - _composed_schemas = None - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): - """UnityPackageID - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): # noqa: E501 - - Keyword Args: - value (str): # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - raise ApiTypeError( - "value is required, but not passed in args or kwargs and doesn't have default", - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): - """UnityPackageID - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): # noqa: E501 - - Keyword Args: - value (str): # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - raise ApiTypeError( - "value is required, but not passed in args or kwargs and doesn't have default", - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - return self diff --git a/vrchatapi/model/update_avatar_request.py b/vrchatapi/model/update_avatar_request.py deleted file mode 100644 index c5468707..00000000 --- a/vrchatapi/model/update_avatar_request.py +++ /dev/null @@ -1,309 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - -def lazy_import(): - from vrchatapi.model.avatar_id import AvatarID - from vrchatapi.model.release_status import ReleaseStatus - from vrchatapi.model.tag import Tag - globals()['AvatarID'] = AvatarID - globals()['ReleaseStatus'] = ReleaseStatus - globals()['Tag'] = Tag - - -class UpdateAvatarRequest(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('name',): { - 'min_length': 1, - }, - ('description',): { - 'min_length': 1, - }, - ('image_url',): { - 'min_length': 1, - }, - ('version',): { - 'inclusive_minimum': 0, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'asset_url': (str,), # noqa: E501 - 'id': (AvatarID,), # noqa: E501 - 'name': (str,), # noqa: E501 - 'description': (str,), # noqa: E501 - 'tags': ([Tag],), # noqa: E501 - 'image_url': (str,), # noqa: E501 - 'release_status': (ReleaseStatus,), # noqa: E501 - 'version': (float,), # noqa: E501 - 'unity_package_url': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'asset_url': 'assetUrl', # noqa: E501 - 'id': 'id', # noqa: E501 - 'name': 'name', # noqa: E501 - 'description': 'description', # noqa: E501 - 'tags': 'tags', # noqa: E501 - 'image_url': 'imageUrl', # noqa: E501 - 'release_status': 'releaseStatus', # noqa: E501 - 'version': 'version', # noqa: E501 - 'unity_package_url': 'unityPackageUrl', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """UpdateAvatarRequest - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - asset_url (str): [optional] # noqa: E501 - id (AvatarID): [optional] # noqa: E501 - name (str): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - tags ([Tag]): [optional] # noqa: E501 - image_url (str): [optional] # noqa: E501 - release_status (ReleaseStatus): [optional] # noqa: E501 - version (float): [optional] if omitted the server will use the default value of 1 # noqa: E501 - unity_package_url (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """UpdateAvatarRequest - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - asset_url (str): [optional] # noqa: E501 - id (AvatarID): [optional] # noqa: E501 - name (str): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - tags ([Tag]): [optional] # noqa: E501 - image_url (str): [optional] # noqa: E501 - release_status (ReleaseStatus): [optional] # noqa: E501 - version (float): [optional] if omitted the server will use the default value of 1 # noqa: E501 - unity_package_url (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/update_favorite_group_request.py b/vrchatapi/model/update_favorite_group_request.py deleted file mode 100644 index 51639bdd..00000000 --- a/vrchatapi/model/update_favorite_group_request.py +++ /dev/null @@ -1,271 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - -def lazy_import(): - from vrchatapi.model.favorite_group_visibility import FavoriteGroupVisibility - from vrchatapi.model.tag import Tag - globals()['FavoriteGroupVisibility'] = FavoriteGroupVisibility - globals()['Tag'] = Tag - - -class UpdateFavoriteGroupRequest(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'display_name': (str,), # noqa: E501 - 'visibility': (FavoriteGroupVisibility,), # noqa: E501 - 'tags': ([Tag],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'display_name': 'displayName', # noqa: E501 - 'visibility': 'visibility', # noqa: E501 - 'tags': 'tags', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """UpdateFavoriteGroupRequest - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - display_name (str): [optional] # noqa: E501 - visibility (FavoriteGroupVisibility): [optional] # noqa: E501 - tags ([Tag]): Tags on FavoriteGroups are believed to do nothing.. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """UpdateFavoriteGroupRequest - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - display_name (str): [optional] # noqa: E501 - visibility (FavoriteGroupVisibility): [optional] # noqa: E501 - tags ([Tag]): Tags on FavoriteGroups are believed to do nothing.. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/update_invite_message_request.py b/vrchatapi/model/update_invite_message_request.py deleted file mode 100644 index 52980deb..00000000 --- a/vrchatapi/model/update_invite_message_request.py +++ /dev/null @@ -1,261 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class UpdateInviteMessageRequest(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'message': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'message': 'message', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, message, *args, **kwargs): # noqa: E501 - """UpdateInviteMessageRequest - a model defined in OpenAPI - - Args: - message (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.message = message - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, message, *args, **kwargs): # noqa: E501 - """UpdateInviteMessageRequest - a model defined in OpenAPI - - Args: - message (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.message = message - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/update_user_request.py b/vrchatapi/model/update_user_request.py deleted file mode 100644 index 2dfe9f3c..00000000 --- a/vrchatapi/model/update_user_request.py +++ /dev/null @@ -1,301 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - -def lazy_import(): - from vrchatapi.model.tag import Tag - from vrchatapi.model.user_status import UserStatus - globals()['Tag'] = Tag - globals()['UserStatus'] = UserStatus - - -class UpdateUserRequest(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('bio',): { - 'min_length': 0, - }, - ('user_icon',): { - 'min_length': 0, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'email': (str,), # noqa: E501 - 'birthday': (date,), # noqa: E501 - 'accepted_tos_version': (float,), # noqa: E501 - 'tags': ([Tag],), # noqa: E501 - 'status': (UserStatus,), # noqa: E501 - 'status_description': (str,), # noqa: E501 - 'bio': (str,), # noqa: E501 - 'bio_links': ([str],), # noqa: E501 - 'user_icon': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'email': 'email', # noqa: E501 - 'birthday': 'birthday', # noqa: E501 - 'accepted_tos_version': 'acceptedTOSVersion', # noqa: E501 - 'tags': 'tags', # noqa: E501 - 'status': 'status', # noqa: E501 - 'status_description': 'statusDescription', # noqa: E501 - 'bio': 'bio', # noqa: E501 - 'bio_links': 'bioLinks', # noqa: E501 - 'user_icon': 'userIcon', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """UpdateUserRequest - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - email (str): [optional] # noqa: E501 - birthday (date): [optional] # noqa: E501 - accepted_tos_version (float): [optional] # noqa: E501 - tags ([Tag]): [optional] # noqa: E501 - status (UserStatus): [optional] # noqa: E501 - status_description (str): [optional] # noqa: E501 - bio (str): [optional] # noqa: E501 - bio_links ([str]): [optional] # noqa: E501 - user_icon (str): MUST be a valid VRChat /file/ url.. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """UpdateUserRequest - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - email (str): [optional] # noqa: E501 - birthday (date): [optional] # noqa: E501 - accepted_tos_version (float): [optional] # noqa: E501 - tags ([Tag]): [optional] # noqa: E501 - status (UserStatus): [optional] # noqa: E501 - status_description (str): [optional] # noqa: E501 - bio (str): [optional] # noqa: E501 - bio_links ([str]): [optional] # noqa: E501 - user_icon (str): MUST be a valid VRChat /file/ url.. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/update_world_request.py b/vrchatapi/model/update_world_request.py deleted file mode 100644 index 6e7b53fc..00000000 --- a/vrchatapi/model/update_world_request.py +++ /dev/null @@ -1,336 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - -def lazy_import(): - from vrchatapi.model.release_status import ReleaseStatus - from vrchatapi.model.tag import Tag - globals()['ReleaseStatus'] = ReleaseStatus - globals()['Tag'] = Tag - - -class UpdateWorldRequest(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('asset_url',): { - 'min_length': 1, - }, - ('asset_version',): { - 'min_length': 1, - }, - ('author_name',): { - 'min_length': 1, - }, - ('capacity',): { - 'inclusive_maximum': 40, - 'inclusive_minimum': 0, - }, - ('image_url',): { - 'min_length': 1, - }, - ('name',): { - 'min_length': 1, - }, - ('unity_package_url',): { - 'min_length': 1, - }, - ('unity_version',): { - 'min_length': 1, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'asset_url': (str,), # noqa: E501 - 'asset_version': (str,), # noqa: E501 - 'author_id': (str,), # noqa: E501 - 'author_name': (str,), # noqa: E501 - 'capacity': (int,), # noqa: E501 - 'description': (str,), # noqa: E501 - 'image_url': (str,), # noqa: E501 - 'name': (str,), # noqa: E501 - 'platform': (str,), # noqa: E501 - 'release_status': (ReleaseStatus,), # noqa: E501 - 'tags': ([Tag],), # noqa: E501 - 'unity_package_url': (str,), # noqa: E501 - 'unity_version': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'asset_url': 'assetUrl', # noqa: E501 - 'asset_version': 'assetVersion', # noqa: E501 - 'author_id': 'authorId', # noqa: E501 - 'author_name': 'authorName', # noqa: E501 - 'capacity': 'capacity', # noqa: E501 - 'description': 'description', # noqa: E501 - 'image_url': 'imageUrl', # noqa: E501 - 'name': 'name', # noqa: E501 - 'platform': 'platform', # noqa: E501 - 'release_status': 'releaseStatus', # noqa: E501 - 'tags': 'tags', # noqa: E501 - 'unity_package_url': 'unityPackageUrl', # noqa: E501 - 'unity_version': 'unityVersion', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """UpdateWorldRequest - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - asset_url (str): [optional] # noqa: E501 - asset_version (str): [optional] # noqa: E501 - author_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed.. [optional] # noqa: E501 - author_name (str): [optional] # noqa: E501 - capacity (int): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - image_url (str): [optional] # noqa: E501 - name (str): [optional] # noqa: E501 - platform (str): This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`.. [optional] # noqa: E501 - release_status (ReleaseStatus): [optional] # noqa: E501 - tags ([Tag]): [optional] # noqa: E501 - unity_package_url (str): [optional] # noqa: E501 - unity_version (str): [optional] if omitted the server will use the default value of "5.3.4p1" # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """UpdateWorldRequest - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - asset_url (str): [optional] # noqa: E501 - asset_version (str): [optional] # noqa: E501 - author_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed.. [optional] # noqa: E501 - author_name (str): [optional] # noqa: E501 - capacity (int): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - image_url (str): [optional] # noqa: E501 - name (str): [optional] # noqa: E501 - platform (str): This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`.. [optional] # noqa: E501 - release_status (ReleaseStatus): [optional] # noqa: E501 - tags ([Tag]): [optional] # noqa: E501 - unity_package_url (str): [optional] # noqa: E501 - unity_version (str): [optional] if omitted the server will use the default value of "5.3.4p1" # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/user.py b/vrchatapi/model/user.py deleted file mode 100644 index 3554b833..00000000 --- a/vrchatapi/model/user.py +++ /dev/null @@ -1,433 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - -def lazy_import(): - from vrchatapi.model.developer_type import DeveloperType - from vrchatapi.model.instance_id import InstanceID - from vrchatapi.model.tag import Tag - from vrchatapi.model.user_state import UserState - from vrchatapi.model.user_status import UserStatus - from vrchatapi.model.world_id import WorldID - globals()['DeveloperType'] = DeveloperType - globals()['InstanceID'] = InstanceID - globals()['Tag'] = Tag - globals()['UserState'] = UserState - globals()['UserStatus'] = UserStatus - globals()['WorldID'] = WorldID - - -class User(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('bio',): { - 'max_length': 512, - 'min_length': 0, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'allow_avatar_copying': (bool,), # noqa: E501 - 'bio': (str,), # noqa: E501 - 'bio_links': ([str],), # noqa: E501 - 'current_avatar_image_url': (str,), # noqa: E501 - 'current_avatar_thumbnail_image_url': (str,), # noqa: E501 - 'date_joined': (date,), # noqa: E501 - 'developer_type': (DeveloperType,), # noqa: E501 - 'display_name': (str,), # noqa: E501 - 'friend_key': (str,), # noqa: E501 - 'id': (str,), # noqa: E501 - 'is_friend': (bool,), # noqa: E501 - 'last_activity': (str,), # noqa: E501 - 'last_login': (str,), # noqa: E501 - 'last_platform': (str,), # noqa: E501 - 'profile_pic_override': (str,), # noqa: E501 - 'state': (UserState,), # noqa: E501 - 'status': (UserStatus,), # noqa: E501 - 'status_description': (str,), # noqa: E501 - 'tags': ([Tag],), # noqa: E501 - 'user_icon': (str,), # noqa: E501 - 'friend_request_status': (str,), # noqa: E501 - 'instance_id': (InstanceID,), # noqa: E501 - 'location': (WorldID,), # noqa: E501 - 'note': (str,), # noqa: E501 - 'traveling_to_instance': (str,), # noqa: E501 - 'traveling_to_location': (str,), # noqa: E501 - 'traveling_to_world': (str,), # noqa: E501 - 'username': (str,), # noqa: E501 - 'world_id': (WorldID,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'allow_avatar_copying': 'allowAvatarCopying', # noqa: E501 - 'bio': 'bio', # noqa: E501 - 'bio_links': 'bioLinks', # noqa: E501 - 'current_avatar_image_url': 'currentAvatarImageUrl', # noqa: E501 - 'current_avatar_thumbnail_image_url': 'currentAvatarThumbnailImageUrl', # noqa: E501 - 'date_joined': 'date_joined', # noqa: E501 - 'developer_type': 'developerType', # noqa: E501 - 'display_name': 'displayName', # noqa: E501 - 'friend_key': 'friendKey', # noqa: E501 - 'id': 'id', # noqa: E501 - 'is_friend': 'isFriend', # noqa: E501 - 'last_activity': 'last_activity', # noqa: E501 - 'last_login': 'last_login', # noqa: E501 - 'last_platform': 'last_platform', # noqa: E501 - 'profile_pic_override': 'profilePicOverride', # noqa: E501 - 'state': 'state', # noqa: E501 - 'status': 'status', # noqa: E501 - 'status_description': 'statusDescription', # noqa: E501 - 'tags': 'tags', # noqa: E501 - 'user_icon': 'userIcon', # noqa: E501 - 'friend_request_status': 'friendRequestStatus', # noqa: E501 - 'instance_id': 'instanceId', # noqa: E501 - 'location': 'location', # noqa: E501 - 'note': 'note', # noqa: E501 - 'traveling_to_instance': 'travelingToInstance', # noqa: E501 - 'traveling_to_location': 'travelingToLocation', # noqa: E501 - 'traveling_to_world': 'travelingToWorld', # noqa: E501 - 'username': 'username', # noqa: E501 - 'world_id': 'worldId', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, bio, bio_links, current_avatar_image_url, current_avatar_thumbnail_image_url, date_joined, developer_type, display_name, friend_key, id, is_friend, last_activity, last_login, last_platform, profile_pic_override, state, status, status_description, tags, user_icon, *args, **kwargs): # noqa: E501 - """User - a model defined in OpenAPI - - Args: - bio (str): - bio_links ([str]): - current_avatar_image_url (str): When profilePicOverride is not empty, use it instead. - current_avatar_thumbnail_image_url (str): When profilePicOverride is not empty, use it instead. - date_joined (date): - developer_type (DeveloperType): - display_name (str): A users visual display name. This is what shows up in-game, and can different from their `username`. Changing display name is restricted to a cooldown period. - friend_key (str): - id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. - is_friend (bool): Either their `friendKey`, or empty string if you are not friends. Unknown usage. - last_activity (str): Either a date-time or empty string. - last_login (str): Either a date-time or empty string. - last_platform (str): This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. - profile_pic_override (str): - state (UserState): - status (UserStatus): - status_description (str): - tags ([Tag]): - user_icon (str): - - Keyword Args: - allow_avatar_copying (bool): defaults to True # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - friend_request_status (str): [optional] # noqa: E501 - instance_id (InstanceID): [optional] # noqa: E501 - location (WorldID): [optional] # noqa: E501 - note (str): [optional] # noqa: E501 - traveling_to_instance (str): [optional] # noqa: E501 - traveling_to_location (str): [optional] # noqa: E501 - traveling_to_world (str): [optional] # noqa: E501 - username (str): -| A users unique name, used during login. This is different from `displayName` which is what shows up in-game. A users `username` can never be changed.' **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429).. [optional] # noqa: E501 - world_id (WorldID): [optional] # noqa: E501 - """ - - allow_avatar_copying = kwargs.get('allow_avatar_copying', True) - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.allow_avatar_copying = allow_avatar_copying - self.bio = bio - self.bio_links = bio_links - self.current_avatar_image_url = current_avatar_image_url - self.current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url - self.date_joined = date_joined - self.developer_type = developer_type - self.display_name = display_name - self.friend_key = friend_key - self.id = id - self.is_friend = is_friend - self.last_activity = last_activity - self.last_login = last_login - self.last_platform = last_platform - self.profile_pic_override = profile_pic_override - self.state = state - self.status = status - self.status_description = status_description - self.tags = tags - self.user_icon = user_icon - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, bio, bio_links, current_avatar_image_url, current_avatar_thumbnail_image_url, date_joined, developer_type, display_name, friend_key, id, is_friend, last_activity, last_login, last_platform, profile_pic_override, state, status, status_description, tags, user_icon, *args, **kwargs): # noqa: E501 - """User - a model defined in OpenAPI - - Args: - bio (str): - bio_links ([str]): - current_avatar_image_url (str): When profilePicOverride is not empty, use it instead. - current_avatar_thumbnail_image_url (str): When profilePicOverride is not empty, use it instead. - date_joined (date): - developer_type (DeveloperType): - display_name (str): A users visual display name. This is what shows up in-game, and can different from their `username`. Changing display name is restricted to a cooldown period. - friend_key (str): - id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. - is_friend (bool): Either their `friendKey`, or empty string if you are not friends. Unknown usage. - last_activity (str): Either a date-time or empty string. - last_login (str): Either a date-time or empty string. - last_platform (str): This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. - profile_pic_override (str): - state (UserState): - status (UserStatus): - status_description (str): - tags ([Tag]): - user_icon (str): - - Keyword Args: - allow_avatar_copying (bool): defaults to True # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - friend_request_status (str): [optional] # noqa: E501 - instance_id (InstanceID): [optional] # noqa: E501 - location (WorldID): [optional] # noqa: E501 - note (str): [optional] # noqa: E501 - traveling_to_instance (str): [optional] # noqa: E501 - traveling_to_location (str): [optional] # noqa: E501 - traveling_to_world (str): [optional] # noqa: E501 - username (str): -| A users unique name, used during login. This is different from `displayName` which is what shows up in-game. A users `username` can never be changed.' **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429).. [optional] # noqa: E501 - world_id (WorldID): [optional] # noqa: E501 - """ - - allow_avatar_copying = kwargs.get('allow_avatar_copying', True) - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.allow_avatar_copying = allow_avatar_copying - self.bio = bio - self.bio_links = bio_links - self.current_avatar_image_url = current_avatar_image_url - self.current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url - self.date_joined = date_joined - self.developer_type = developer_type - self.display_name = display_name - self.friend_key = friend_key - self.id = id - self.is_friend = is_friend - self.last_activity = last_activity - self.last_login = last_login - self.last_platform = last_platform - self.profile_pic_override = profile_pic_override - self.state = state - self.status = status - self.status_description = status_description - self.tags = tags - self.user_icon = user_icon - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/user_exists.py b/vrchatapi/model/user_exists.py deleted file mode 100644 index 519027fa..00000000 --- a/vrchatapi/model/user_exists.py +++ /dev/null @@ -1,263 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class UserExists(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'user_exists': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'user_exists': 'userExists', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """UserExists - a model defined in OpenAPI - - Args: - - Keyword Args: - user_exists (bool): Status if a user exist with that username or userId.. defaults to False # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - user_exists = kwargs.get('user_exists', False) - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.user_exists = user_exists - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """UserExists - a model defined in OpenAPI - - Args: - - Keyword Args: - user_exists (bool): Status if a user exist with that username or userId.. defaults to False # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - user_exists = kwargs.get('user_exists', False) - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.user_exists = user_exists - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/user_state.py b/vrchatapi/model/user_state.py deleted file mode 100644 index c5fdc96f..00000000 --- a/vrchatapi/model/user_state.py +++ /dev/null @@ -1,275 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class UserState(ModelSimple): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - ('value',): { - 'OFFLINE': "offline", - 'ACTIVE': "active", - 'ONLINE': "online", - }, - } - - validations = { - } - - additional_properties_type = None - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'value': (str,), - } - - @cached_property - def discriminator(): - return None - - - attribute_map = {} - - read_only_vars = set() - - _composed_schemas = None - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): - """UserState - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): * \"online\" User is online in VRChat * \"active\" User is online, but not in VRChat * \"offline\" User is offline Always offline when returned through `getCurrentUser` (/auth/user).. if omitted defaults to "offline", must be one of ["offline", "active", "online", ] # noqa: E501 - - Keyword Args: - value (str): * \"online\" User is online in VRChat * \"active\" User is online, but not in VRChat * \"offline\" User is offline Always offline when returned through `getCurrentUser` (/auth/user).. if omitted defaults to "offline", must be one of ["offline", "active", "online", ] # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - value = "offline" - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): - """UserState - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): * \"online\" User is online in VRChat * \"active\" User is online, but not in VRChat * \"offline\" User is offline Always offline when returned through `getCurrentUser` (/auth/user).. if omitted defaults to "offline", must be one of ["offline", "active", "online", ] # noqa: E501 - - Keyword Args: - value (str): * \"online\" User is online in VRChat * \"active\" User is online, but not in VRChat * \"offline\" User is offline Always offline when returned through `getCurrentUser` (/auth/user).. if omitted defaults to "offline", must be one of ["offline", "active", "online", ] # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - value = "offline" - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - return self diff --git a/vrchatapi/model/user_status.py b/vrchatapi/model/user_status.py deleted file mode 100644 index 133beef9..00000000 --- a/vrchatapi/model/user_status.py +++ /dev/null @@ -1,277 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class UserStatus(ModelSimple): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - ('value',): { - 'ACTIVE': "active", - 'JOIN_ME': "join me", - 'ASK_ME': "ask me", - 'BUSY': "busy", - 'OFFLINE': "offline", - }, - } - - validations = { - } - - additional_properties_type = None - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'value': (str,), - } - - @cached_property - def discriminator(): - return None - - - attribute_map = {} - - read_only_vars = set() - - _composed_schemas = None - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): - """UserStatus - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): Defines the User's current status, for example \"ask me\", \"join me\" or \"offline. This status is a combined indicator of their online activity and privacy preference.. if omitted defaults to "offline", must be one of ["active", "join me", "ask me", "busy", "offline", ] # noqa: E501 - - Keyword Args: - value (str): Defines the User's current status, for example \"ask me\", \"join me\" or \"offline. This status is a combined indicator of their online activity and privacy preference.. if omitted defaults to "offline", must be one of ["active", "join me", "ask me", "busy", "offline", ] # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - value = "offline" - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): - """UserStatus - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): Defines the User's current status, for example \"ask me\", \"join me\" or \"offline. This status is a combined indicator of their online activity and privacy preference.. if omitted defaults to "offline", must be one of ["active", "join me", "ask me", "busy", "offline", ] # noqa: E501 - - Keyword Args: - value (str): Defines the User's current status, for example \"ask me\", \"join me\" or \"offline. This status is a combined indicator of their online activity and privacy preference.. if omitted defaults to "offline", must be one of ["active", "join me", "ask me", "busy", "offline", ] # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - value = "offline" - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - return self diff --git a/vrchatapi/model/user_subscription.py b/vrchatapi/model/user_subscription.py deleted file mode 100644 index 72ddf589..00000000 --- a/vrchatapi/model/user_subscription.py +++ /dev/null @@ -1,368 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - -def lazy_import(): - from vrchatapi.model.license_group_id import LicenseGroupID - from vrchatapi.model.subscription_period import SubscriptionPeriod - from vrchatapi.model.transaction_id import TransactionID - from vrchatapi.model.transaction_status import TransactionStatus - globals()['LicenseGroupID'] = LicenseGroupID - globals()['SubscriptionPeriod'] = SubscriptionPeriod - globals()['TransactionID'] = TransactionID - globals()['TransactionStatus'] = TransactionStatus - - -class UserSubscription(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('id',): { - 'min_length': 1, - }, - ('store',): { - 'min_length': 1, - }, - ('steam_item_id',): { - 'min_length': 1, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'transaction_id': (TransactionID,), # noqa: E501 - 'store': (str,), # noqa: E501 - 'amount': (float,), # noqa: E501 - 'description': (str,), # noqa: E501 - 'period': (SubscriptionPeriod,), # noqa: E501 - 'tier': (float,), # noqa: E501 - 'active': (bool,), # noqa: E501 - 'status': (TransactionStatus,), # noqa: E501 - 'expires': (datetime,), # noqa: E501 - 'created_at': (datetime,), # noqa: E501 - 'updated_at': (datetime,), # noqa: E501 - 'license_groups': ([LicenseGroupID],), # noqa: E501 - 'is_gift': (bool,), # noqa: E501 - 'steam_item_id': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'transaction_id': 'transactionId', # noqa: E501 - 'store': 'store', # noqa: E501 - 'amount': 'amount', # noqa: E501 - 'description': 'description', # noqa: E501 - 'period': 'period', # noqa: E501 - 'tier': 'tier', # noqa: E501 - 'active': 'active', # noqa: E501 - 'status': 'status', # noqa: E501 - 'expires': 'expires', # noqa: E501 - 'created_at': 'created_at', # noqa: E501 - 'updated_at': 'updated_at', # noqa: E501 - 'license_groups': 'licenseGroups', # noqa: E501 - 'is_gift': 'isGift', # noqa: E501 - 'steam_item_id': 'steamItemId', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, id, transaction_id, store, amount, description, period, tier, status, expires, created_at, updated_at, license_groups, *args, **kwargs): # noqa: E501 - """UserSubscription - a model defined in OpenAPI - - Args: - id (str): - transaction_id (TransactionID): - store (str): Which \"Store\" it came from. Right now only Stores are \"Steam\" and \"Admin\". - amount (float): - description (str): - period (SubscriptionPeriod): - tier (float): - status (TransactionStatus): - expires (datetime): - created_at (datetime): - updated_at (datetime): - license_groups ([LicenseGroupID]): - - Keyword Args: - active (bool): defaults to True # noqa: E501 - is_gift (bool): defaults to False # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - steam_item_id (str): [optional] # noqa: E501 - """ - - active = kwargs.get('active', True) - is_gift = kwargs.get('is_gift', False) - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - self.transaction_id = transaction_id - self.store = store - self.amount = amount - self.description = description - self.period = period - self.tier = tier - self.active = active - self.status = status - self.expires = expires - self.created_at = created_at - self.updated_at = updated_at - self.license_groups = license_groups - self.is_gift = is_gift - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, id, transaction_id, store, amount, description, period, tier, status, expires, created_at, updated_at, license_groups, *args, **kwargs): # noqa: E501 - """UserSubscription - a model defined in OpenAPI - - Args: - id (str): - transaction_id (TransactionID): - store (str): Which \"Store\" it came from. Right now only Stores are \"Steam\" and \"Admin\". - amount (float): - description (str): - period (SubscriptionPeriod): - tier (float): - status (TransactionStatus): - expires (datetime): - created_at (datetime): - updated_at (datetime): - license_groups ([LicenseGroupID]): - - Keyword Args: - active (bool): defaults to True # noqa: E501 - is_gift (bool): defaults to False # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - steam_item_id (str): [optional] # noqa: E501 - """ - - active = kwargs.get('active', True) - is_gift = kwargs.get('is_gift', False) - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - self.transaction_id = transaction_id - self.store = store - self.amount = amount - self.description = description - self.period = period - self.tier = tier - self.active = active - self.status = status - self.expires = expires - self.created_at = created_at - self.updated_at = updated_at - self.license_groups = license_groups - self.is_gift = is_gift - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/verify2_fa_result.py b/vrchatapi/model/verify2_fa_result.py deleted file mode 100644 index ca746301..00000000 --- a/vrchatapi/model/verify2_fa_result.py +++ /dev/null @@ -1,261 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class Verify2FAResult(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'verified': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'verified': 'verified', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, verified, *args, **kwargs): # noqa: E501 - """Verify2FAResult - a model defined in OpenAPI - - Args: - verified (bool): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.verified = verified - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, verified, *args, **kwargs): # noqa: E501 - """Verify2FAResult - a model defined in OpenAPI - - Args: - verified (bool): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.verified = verified - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/verify_auth_token_result.py b/vrchatapi/model/verify_auth_token_result.py deleted file mode 100644 index b3db7286..00000000 --- a/vrchatapi/model/verify_auth_token_result.py +++ /dev/null @@ -1,270 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class VerifyAuthTokenResult(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('token',): { - 'min_length': 1, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'ok': (bool,), # noqa: E501 - 'token': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'ok': 'ok', # noqa: E501 - 'token': 'token', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, ok, token, *args, **kwargs): # noqa: E501 - """VerifyAuthTokenResult - a model defined in OpenAPI - - Args: - ok (bool): - token (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.ok = ok - self.token = token - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, ok, token, *args, **kwargs): # noqa: E501 - """VerifyAuthTokenResult - a model defined in OpenAPI - - Args: - ok (bool): - token (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.ok = ok - self.token = token - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/world.py b/vrchatapi/model/world.py deleted file mode 100644 index ea500fc8..00000000 --- a/vrchatapi/model/world.py +++ /dev/null @@ -1,487 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - -def lazy_import(): - from vrchatapi.model.release_status import ReleaseStatus - from vrchatapi.model.tag import Tag - from vrchatapi.model.unity_package import UnityPackage - from vrchatapi.model.world_id import WorldID - globals()['ReleaseStatus'] = ReleaseStatus - globals()['Tag'] = Tag - globals()['UnityPackage'] = UnityPackage - globals()['WorldID'] = WorldID - - -class World(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('author_name',): { - 'min_length': 1, - }, - ('capacity',): { - 'inclusive_maximum': 40, - 'inclusive_minimum': 0, - }, - ('description',): { - 'min_length': 0, - }, - ('heat',): { - 'inclusive_minimum': 0, - }, - ('image_url',): { - 'min_length': 1, - }, - ('labs_publication_date',): { - 'min_length': 1, - }, - ('name',): { - 'min_length': 1, - }, - ('organization',): { - 'min_length': 1, - }, - ('popularity',): { - 'inclusive_minimum': 0, - }, - ('publication_date',): { - 'min_length': 1, - }, - ('thumbnail_image_url',): { - 'min_length': 1, - }, - ('version',): { - 'inclusive_minimum': 0, - }, - ('visits',): { - 'inclusive_minimum': 0, - }, - ('favorites',): { - 'inclusive_minimum': 0, - }, - ('occupants',): { - 'inclusive_minimum': 0, - }, - ('private_occupants',): { - 'inclusive_minimum': 0, - }, - ('public_occupants',): { - 'inclusive_minimum': 0, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'author_id': (str,), # noqa: E501 - 'author_name': (str,), # noqa: E501 - 'capacity': (int,), # noqa: E501 - 'created_at': (datetime,), # noqa: E501 - 'description': (str,), # noqa: E501 - 'featured': (bool,), # noqa: E501 - 'heat': (int,), # noqa: E501 - 'id': (WorldID,), # noqa: E501 - 'image_url': (str,), # noqa: E501 - 'labs_publication_date': (str,), # noqa: E501 - 'name': (str,), # noqa: E501 - 'namespace': (str,), # noqa: E501 - 'organization': (str,), # noqa: E501 - 'popularity': (int,), # noqa: E501 - 'publication_date': (str,), # noqa: E501 - 'release_status': (ReleaseStatus,), # noqa: E501 - 'tags': ([Tag],), # noqa: E501 - 'thumbnail_image_url': (str,), # noqa: E501 - 'unity_packages': ([UnityPackage],), # noqa: E501 - 'updated_at': (datetime,), # noqa: E501 - 'version': (int,), # noqa: E501 - 'visits': (int,), # noqa: E501 - 'favorites': (int,), # noqa: E501 - 'instances': ([[bool, date, datetime, dict, float, int, list, str, none_type]],), # noqa: E501 - 'occupants': (int,), # noqa: E501 - 'preview_youtube_id': (str, none_type,), # noqa: E501 - 'private_occupants': (int,), # noqa: E501 - 'public_occupants': (int,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'author_id': 'authorId', # noqa: E501 - 'author_name': 'authorName', # noqa: E501 - 'capacity': 'capacity', # noqa: E501 - 'created_at': 'created_at', # noqa: E501 - 'description': 'description', # noqa: E501 - 'featured': 'featured', # noqa: E501 - 'heat': 'heat', # noqa: E501 - 'id': 'id', # noqa: E501 - 'image_url': 'imageUrl', # noqa: E501 - 'labs_publication_date': 'labsPublicationDate', # noqa: E501 - 'name': 'name', # noqa: E501 - 'namespace': 'namespace', # noqa: E501 - 'organization': 'organization', # noqa: E501 - 'popularity': 'popularity', # noqa: E501 - 'publication_date': 'publicationDate', # noqa: E501 - 'release_status': 'releaseStatus', # noqa: E501 - 'tags': 'tags', # noqa: E501 - 'thumbnail_image_url': 'thumbnailImageUrl', # noqa: E501 - 'unity_packages': 'unityPackages', # noqa: E501 - 'updated_at': 'updated_at', # noqa: E501 - 'version': 'version', # noqa: E501 - 'visits': 'visits', # noqa: E501 - 'favorites': 'favorites', # noqa: E501 - 'instances': 'instances', # noqa: E501 - 'occupants': 'occupants', # noqa: E501 - 'preview_youtube_id': 'previewYoutubeId', # noqa: E501 - 'private_occupants': 'privateOccupants', # noqa: E501 - 'public_occupants': 'publicOccupants', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, author_id, author_name, capacity, created_at, description, id, image_url, labs_publication_date, name, namespace, publication_date, release_status, tags, thumbnail_image_url, unity_packages, updated_at, *args, **kwargs): # noqa: E501 - """World - a model defined in OpenAPI - - Args: - author_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. - author_name (str): - capacity (int): - created_at (datetime): - description (str): - id (WorldID): - image_url (str): - labs_publication_date (str): - name (str): - namespace (str): - publication_date (str): - release_status (ReleaseStatus): - tags ([Tag]): - thumbnail_image_url (str): - unity_packages ([UnityPackage]): Empty if unauthenticated. - updated_at (datetime): - - Keyword Args: - featured (bool): defaults to False # noqa: E501 - heat (int): defaults to 0 # noqa: E501 - organization (str): defaults to "vrchat" # noqa: E501 - popularity (int): defaults to 0 # noqa: E501 - version (int): defaults to 0 # noqa: E501 - visits (int): defaults to 0 # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - favorites (int): [optional] if omitted the server will use the default value of 0 # noqa: E501 - instances ([[bool, date, datetime, dict, float, int, list, str, none_type]]): Will always be an empty list when unauthenticated.. [optional] # noqa: E501 - occupants (int): Will always be `0` when unauthenticated.. [optional] if omitted the server will use the default value of 0 # noqa: E501 - preview_youtube_id (str, none_type): [optional] # noqa: E501 - private_occupants (int): Will always be `0` when unauthenticated.. [optional] if omitted the server will use the default value of 0 # noqa: E501 - public_occupants (int): Will always be `0` when unauthenticated.. [optional] if omitted the server will use the default value of 0 # noqa: E501 - """ - - featured = kwargs.get('featured', False) - heat = kwargs.get('heat', 0) - organization = kwargs.get('organization', "vrchat") - popularity = kwargs.get('popularity', 0) - version = kwargs.get('version', 0) - visits = kwargs.get('visits', 0) - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.author_id = author_id - self.author_name = author_name - self.capacity = capacity - self.created_at = created_at - self.description = description - self.featured = featured - self.heat = heat - self.id = id - self.image_url = image_url - self.labs_publication_date = labs_publication_date - self.name = name - self.namespace = namespace - self.organization = organization - self.popularity = popularity - self.publication_date = publication_date - self.release_status = release_status - self.tags = tags - self.thumbnail_image_url = thumbnail_image_url - self.unity_packages = unity_packages - self.updated_at = updated_at - self.version = version - self.visits = visits - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, author_id, author_name, capacity, created_at, description, id, image_url, labs_publication_date, name, namespace, publication_date, release_status, tags, thumbnail_image_url, unity_packages, updated_at, *args, **kwargs): # noqa: E501 - """World - a model defined in OpenAPI - - Args: - author_id (str): A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. - author_name (str): - capacity (int): - created_at (datetime): - description (str): - id (WorldID): - image_url (str): - labs_publication_date (str): - name (str): - namespace (str): - publication_date (str): - release_status (ReleaseStatus): - tags ([Tag]): - thumbnail_image_url (str): - unity_packages ([UnityPackage]): Empty if unauthenticated. - updated_at (datetime): - - Keyword Args: - featured (bool): defaults to False # noqa: E501 - heat (int): defaults to 0 # noqa: E501 - organization (str): defaults to "vrchat" # noqa: E501 - popularity (int): defaults to 0 # noqa: E501 - version (int): defaults to 0 # noqa: E501 - visits (int): defaults to 0 # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - favorites (int): [optional] if omitted the server will use the default value of 0 # noqa: E501 - instances ([[bool, date, datetime, dict, float, int, list, str, none_type]]): Will always be an empty list when unauthenticated.. [optional] # noqa: E501 - occupants (int): Will always be `0` when unauthenticated.. [optional] if omitted the server will use the default value of 0 # noqa: E501 - preview_youtube_id (str, none_type): [optional] # noqa: E501 - private_occupants (int): Will always be `0` when unauthenticated.. [optional] if omitted the server will use the default value of 0 # noqa: E501 - public_occupants (int): Will always be `0` when unauthenticated.. [optional] if omitted the server will use the default value of 0 # noqa: E501 - """ - - featured = kwargs.get('featured', False) - heat = kwargs.get('heat', 0) - organization = kwargs.get('organization', "vrchat") - popularity = kwargs.get('popularity', 0) - version = kwargs.get('version', 0) - visits = kwargs.get('visits', 0) - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.author_id = author_id - self.author_name = author_name - self.capacity = capacity - self.created_at = created_at - self.description = description - self.featured = featured - self.heat = heat - self.id = id - self.image_url = image_url - self.labs_publication_date = labs_publication_date - self.name = name - self.namespace = namespace - self.organization = organization - self.popularity = popularity - self.publication_date = publication_date - self.release_status = release_status - self.tags = tags - self.thumbnail_image_url = thumbnail_image_url - self.unity_packages = unity_packages - self.updated_at = updated_at - self.version = version - self.visits = visits - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/world_id.py b/vrchatapi/model/world_id.py deleted file mode 100644 index df3b06fe..00000000 --- a/vrchatapi/model/world_id.py +++ /dev/null @@ -1,283 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class WorldID(ModelSimple): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('value',): { - 'regex': { - 'pattern': r'', # noqa: E501 - }, - }, - } - - additional_properties_type = None - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'value': (str,), - } - - @cached_property - def discriminator(): - return None - - - attribute_map = {} - - read_only_vars = set() - - _composed_schemas = None - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): - """WorldID - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): WorldID be \"offline\" on User profiles if you are not friends with that user.. # noqa: E501 - - Keyword Args: - value (str): WorldID be \"offline\" on User profiles if you are not friends with that user.. # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - raise ApiTypeError( - "value is required, but not passed in args or kwargs and doesn't have default", - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): - """WorldID - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] (str): WorldID be \"offline\" on User profiles if you are not friends with that user.. # noqa: E501 - - Keyword Args: - value (str): WorldID be \"offline\" on User profiles if you are not friends with that user.. # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - raise ApiTypeError( - "value is required, but not passed in args or kwargs and doesn't have default", - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - return self diff --git a/vrchatapi/model/world_metadata.py b/vrchatapi/model/world_metadata.py deleted file mode 100644 index 1c8c5729..00000000 --- a/vrchatapi/model/world_metadata.py +++ /dev/null @@ -1,266 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - -def lazy_import(): - from vrchatapi.model.world_id import WorldID - globals()['WorldID'] = WorldID - - -class WorldMetadata(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - additional_properties_type = None - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (WorldID,), # noqa: E501 - 'metadata': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'metadata': 'metadata', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, id, metadata, *args, **kwargs): # noqa: E501 - """WorldMetadata - a model defined in OpenAPI - - Args: - id (WorldID): - metadata ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - self.metadata = metadata - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, id, metadata, *args, **kwargs): # noqa: E501 - """WorldMetadata - a model defined in OpenAPI - - Args: - id (WorldID): - metadata ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - self.metadata = metadata - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model/world_publish_status.py b/vrchatapi/model/world_publish_status.py deleted file mode 100644 index 7efd2741..00000000 --- a/vrchatapi/model/world_publish_status.py +++ /dev/null @@ -1,257 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from vrchatapi.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from vrchatapi.exceptions import ApiAttributeError - - - -class WorldPublishStatus(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - additional_properties_type = None - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'can_pubilsh': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'can_pubilsh': 'canPubilsh', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """WorldPublishStatus - a model defined in OpenAPI - - Args: - - Keyword Args: - can_pubilsh (bool): defaults to True # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - can_pubilsh = kwargs.get('can_pubilsh', True) - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.can_pubilsh = can_pubilsh - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """WorldPublishStatus - a model defined in OpenAPI - - Args: - - Keyword Args: - can_pubilsh (bool): defaults to True # noqa: E501 - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - can_pubilsh = kwargs.get('can_pubilsh', True) - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.can_pubilsh = can_pubilsh - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/vrchatapi/model_utils.py b/vrchatapi/model_utils.py deleted file mode 100644 index c6fd96a7..00000000 --- a/vrchatapi/model_utils.py +++ /dev/null @@ -1,2033 +0,0 @@ -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.9.1 - Contact: me@ariesclark.com - Generated by: https://openapi-generator.tech -""" - - -from datetime import date, datetime # noqa: F401 -from copy import deepcopy -import inspect -import io -import os -import pprint -import re -import tempfile - -from dateutil.parser import parse - -from vrchatapi.exceptions import ( - ApiKeyError, - ApiAttributeError, - ApiTypeError, - ApiValueError, -) - -none_type = type(None) -file_type = io.IOBase - - -def convert_js_args_to_python_args(fn): - from functools import wraps - @wraps(fn) - def wrapped_init(_self, *args, **kwargs): - """ - An attribute named `self` received from the api will conflicts with the reserved `self` - parameter of a class method. During generation, `self` attributes are mapped - to `_self` in models. Here, we name `_self` instead of `self` to avoid conflicts. - """ - spec_property_naming = kwargs.get('_spec_property_naming', False) - if spec_property_naming: - kwargs = change_keys_js_to_python(kwargs, _self if isinstance(_self, type) else _self.__class__) - return fn(_self, *args, **kwargs) - return wrapped_init - - -class cached_property(object): - # this caches the result of the function call for fn with no inputs - # use this as a decorator on function methods that you want converted - # into cached properties - result_key = '_results' - - def __init__(self, fn): - self._fn = fn - - def __get__(self, instance, cls=None): - if self.result_key in vars(self): - return vars(self)[self.result_key] - else: - result = self._fn() - setattr(self, self.result_key, result) - return result - - -PRIMITIVE_TYPES = (list, float, int, bool, datetime, date, str, file_type) - -def allows_single_value_input(cls): - """ - This function returns True if the input composed schema model or any - descendant model allows a value only input - This is true for cases where oneOf contains items like: - oneOf: - - float - - NumberWithValidation - - StringEnum - - ArrayModel - - null - TODO: lru_cache this - """ - if ( - issubclass(cls, ModelSimple) or - cls in PRIMITIVE_TYPES - ): - return True - elif issubclass(cls, ModelComposed): - if not cls._composed_schemas['oneOf']: - return False - return any(allows_single_value_input(c) for c in cls._composed_schemas['oneOf']) - return False - -def composed_model_input_classes(cls): - """ - This function returns a list of the possible models that can be accepted as - inputs. - TODO: lru_cache this - """ - if issubclass(cls, ModelSimple) or cls in PRIMITIVE_TYPES: - return [cls] - elif issubclass(cls, ModelNormal): - if cls.discriminator is None: - return [cls] - else: - return get_discriminated_classes(cls) - elif issubclass(cls, ModelComposed): - if not cls._composed_schemas['oneOf']: - return [] - if cls.discriminator is None: - input_classes = [] - for c in cls._composed_schemas['oneOf']: - input_classes.extend(composed_model_input_classes(c)) - return input_classes - else: - return get_discriminated_classes(cls) - return [] - - -class OpenApiModel(object): - """The base class for all OpenAPIModels""" - - def set_attribute(self, name, value): - # this is only used to set properties on self - - path_to_item = [] - if self._path_to_item: - path_to_item.extend(self._path_to_item) - path_to_item.append(name) - - if name in self.openapi_types: - required_types_mixed = self.openapi_types[name] - elif self.additional_properties_type is None: - raise ApiAttributeError( - "{0} has no attribute '{1}'".format( - type(self).__name__, name), - path_to_item - ) - elif self.additional_properties_type is not None: - required_types_mixed = self.additional_properties_type - - if get_simple_class(name) != str: - error_msg = type_error_message( - var_name=name, - var_value=name, - valid_classes=(str,), - key_type=True - ) - raise ApiTypeError( - error_msg, - path_to_item=path_to_item, - valid_classes=(str,), - key_type=True - ) - - if self._check_type: - value = validate_and_convert_types( - value, required_types_mixed, path_to_item, self._spec_property_naming, - self._check_type, configuration=self._configuration) - if (name,) in self.allowed_values: - check_allowed_values( - self.allowed_values, - (name,), - value - ) - if (name,) in self.validations: - check_validations( - self.validations, - (name,), - value, - self._configuration - ) - self.__dict__['_data_store'][name] = value - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other - - def __setattr__(self, attr, value): - """set the value of an attribute using dot notation: `instance.attr = val`""" - self[attr] = value - - def __getattr__(self, attr): - """get the value of an attribute using dot notation: `instance.attr`""" - return self.__getitem__(attr) - - def __copy__(self): - cls = self.__class__ - if self.get("_spec_property_naming", False): - return cls._new_from_openapi_data(**self.__dict__) - else: - return new_cls.__new__(cls, **self.__dict__) - - def __deepcopy__(self, memo): - cls = self.__class__ - - if self.get("_spec_property_naming", False): - new_inst = cls._new_from_openapi_data() - else: - new_inst = cls.__new__(cls) - - for k, v in self.__dict__.items(): - setattr(new_inst, k, deepcopy(v, memo)) - return new_inst - - - def __new__(cls, *args, **kwargs): - # this function uses the discriminator to - # pick a new schema/class to instantiate because a discriminator - # propertyName value was passed in - - if len(args) == 1: - arg = args[0] - if arg is None and is_type_nullable(cls): - # The input data is the 'null' value and the type is nullable. - return None - - if issubclass(cls, ModelComposed) and allows_single_value_input(cls): - model_kwargs = {} - oneof_instance = get_oneof_instance(cls, model_kwargs, kwargs, model_arg=arg) - return oneof_instance - - - visited_composed_classes = kwargs.get('_visited_composed_classes', ()) - if ( - cls.discriminator is None or - cls in visited_composed_classes - ): - # Use case 1: this openapi schema (cls) does not have a discriminator - # Use case 2: we have already visited this class before and are sure that we - # want to instantiate it this time. We have visited this class deserializing - # a payload with a discriminator. During that process we traveled through - # this class but did not make an instance of it. Now we are making an - # instance of a composed class which contains cls in it, so this time make an instance of cls. - # - # Here's an example of use case 2: If Animal has a discriminator - # petType and we pass in "Dog", and the class Dog - # allOf includes Animal, we move through Animal - # once using the discriminator, and pick Dog. - # Then in the composed schema dog Dog, we will make an instance of the - # Animal class (because Dal has allOf: Animal) but this time we won't travel - # through Animal's discriminator because we passed in - # _visited_composed_classes = (Animal,) - - return super(OpenApiModel, cls).__new__(cls) - - # Get the name and value of the discriminator property. - # The discriminator name is obtained from the discriminator meta-data - # and the discriminator value is obtained from the input data. - discr_propertyname_py = list(cls.discriminator.keys())[0] - discr_propertyname_js = cls.attribute_map[discr_propertyname_py] - if discr_propertyname_js in kwargs: - discr_value = kwargs[discr_propertyname_js] - elif discr_propertyname_py in kwargs: - discr_value = kwargs[discr_propertyname_py] - else: - # The input data does not contain the discriminator property. - path_to_item = kwargs.get('_path_to_item', ()) - raise ApiValueError( - "Cannot deserialize input data due to missing discriminator. " - "The discriminator property '%s' is missing at path: %s" % - (discr_propertyname_js, path_to_item) - ) - - # Implementation note: the last argument to get_discriminator_class - # is a list of visited classes. get_discriminator_class may recursively - # call itself and update the list of visited classes, and the initial - # value must be an empty list. Hence not using 'visited_composed_classes' - new_cls = get_discriminator_class( - cls, discr_propertyname_py, discr_value, []) - if new_cls is None: - path_to_item = kwargs.get('_path_to_item', ()) - disc_prop_value = kwargs.get( - discr_propertyname_js, kwargs.get(discr_propertyname_py)) - raise ApiValueError( - "Cannot deserialize input data due to invalid discriminator " - "value. The OpenAPI document has no mapping for discriminator " - "property '%s'='%s' at path: %s" % - (discr_propertyname_js, disc_prop_value, path_to_item) - ) - - if new_cls in visited_composed_classes: - # if we are making an instance of a composed schema Descendent - # which allOf includes Ancestor, then Ancestor contains - # a discriminator that includes Descendent. - # So if we make an instance of Descendent, we have to make an - # instance of Ancestor to hold the allOf properties. - # This code detects that use case and makes the instance of Ancestor - # For example: - # When making an instance of Dog, _visited_composed_classes = (Dog,) - # then we make an instance of Animal to include in dog._composed_instances - # so when we are here, cls is Animal - # cls.discriminator != None - # cls not in _visited_composed_classes - # new_cls = Dog - # but we know we know that we already have Dog - # because it is in visited_composed_classes - # so make Animal here - return super(OpenApiModel, cls).__new__(cls) - - # Build a list containing all oneOf and anyOf descendants. - oneof_anyof_classes = None - if cls._composed_schemas is not None: - oneof_anyof_classes = ( - cls._composed_schemas.get('oneOf', ()) + - cls._composed_schemas.get('anyOf', ())) - oneof_anyof_child = new_cls in oneof_anyof_classes - kwargs['_visited_composed_classes'] = visited_composed_classes + (cls,) - - if cls._composed_schemas.get('allOf') and oneof_anyof_child: - # Validate that we can make self because when we make the - # new_cls it will not include the allOf validations in self - self_inst = super(OpenApiModel, cls).__new__(cls) - self_inst.__init__(*args, **kwargs) - - if kwargs.get("_spec_property_naming", False): - # when true, implies new is from deserialization - new_inst = new_cls._new_from_openapi_data(*args, **kwargs) - else: - new_inst = new_cls.__new__(new_cls, *args, **kwargs) - new_inst.__init__(*args, **kwargs) - - return new_inst - - - @classmethod - @convert_js_args_to_python_args - def _new_from_openapi_data(cls, *args, **kwargs): - # this function uses the discriminator to - # pick a new schema/class to instantiate because a discriminator - # propertyName value was passed in - - if len(args) == 1: - arg = args[0] - if arg is None and is_type_nullable(cls): - # The input data is the 'null' value and the type is nullable. - return None - - if issubclass(cls, ModelComposed) and allows_single_value_input(cls): - model_kwargs = {} - oneof_instance = get_oneof_instance(cls, model_kwargs, kwargs, model_arg=arg) - return oneof_instance - - - visited_composed_classes = kwargs.get('_visited_composed_classes', ()) - if ( - cls.discriminator is None or - cls in visited_composed_classes - ): - # Use case 1: this openapi schema (cls) does not have a discriminator - # Use case 2: we have already visited this class before and are sure that we - # want to instantiate it this time. We have visited this class deserializing - # a payload with a discriminator. During that process we traveled through - # this class but did not make an instance of it. Now we are making an - # instance of a composed class which contains cls in it, so this time make an instance of cls. - # - # Here's an example of use case 2: If Animal has a discriminator - # petType and we pass in "Dog", and the class Dog - # allOf includes Animal, we move through Animal - # once using the discriminator, and pick Dog. - # Then in the composed schema dog Dog, we will make an instance of the - # Animal class (because Dal has allOf: Animal) but this time we won't travel - # through Animal's discriminator because we passed in - # _visited_composed_classes = (Animal,) - - return cls._from_openapi_data(*args, **kwargs) - - # Get the name and value of the discriminator property. - # The discriminator name is obtained from the discriminator meta-data - # and the discriminator value is obtained from the input data. - discr_propertyname_py = list(cls.discriminator.keys())[0] - discr_propertyname_js = cls.attribute_map[discr_propertyname_py] - if discr_propertyname_js in kwargs: - discr_value = kwargs[discr_propertyname_js] - elif discr_propertyname_py in kwargs: - discr_value = kwargs[discr_propertyname_py] - else: - # The input data does not contain the discriminator property. - path_to_item = kwargs.get('_path_to_item', ()) - raise ApiValueError( - "Cannot deserialize input data due to missing discriminator. " - "The discriminator property '%s' is missing at path: %s" % - (discr_propertyname_js, path_to_item) - ) - - # Implementation note: the last argument to get_discriminator_class - # is a list of visited classes. get_discriminator_class may recursively - # call itself and update the list of visited classes, and the initial - # value must be an empty list. Hence not using 'visited_composed_classes' - new_cls = get_discriminator_class( - cls, discr_propertyname_py, discr_value, []) - if new_cls is None: - path_to_item = kwargs.get('_path_to_item', ()) - disc_prop_value = kwargs.get( - discr_propertyname_js, kwargs.get(discr_propertyname_py)) - raise ApiValueError( - "Cannot deserialize input data due to invalid discriminator " - "value. The OpenAPI document has no mapping for discriminator " - "property '%s'='%s' at path: %s" % - (discr_propertyname_js, disc_prop_value, path_to_item) - ) - - if new_cls in visited_composed_classes: - # if we are making an instance of a composed schema Descendent - # which allOf includes Ancestor, then Ancestor contains - # a discriminator that includes Descendent. - # So if we make an instance of Descendent, we have to make an - # instance of Ancestor to hold the allOf properties. - # This code detects that use case and makes the instance of Ancestor - # For example: - # When making an instance of Dog, _visited_composed_classes = (Dog,) - # then we make an instance of Animal to include in dog._composed_instances - # so when we are here, cls is Animal - # cls.discriminator != None - # cls not in _visited_composed_classes - # new_cls = Dog - # but we know we know that we already have Dog - # because it is in visited_composed_classes - # so make Animal here - return cls._from_openapi_data(*args, **kwargs) - - # Build a list containing all oneOf and anyOf descendants. - oneof_anyof_classes = None - if cls._composed_schemas is not None: - oneof_anyof_classes = ( - cls._composed_schemas.get('oneOf', ()) + - cls._composed_schemas.get('anyOf', ())) - oneof_anyof_child = new_cls in oneof_anyof_classes - kwargs['_visited_composed_classes'] = visited_composed_classes + (cls,) - - if cls._composed_schemas.get('allOf') and oneof_anyof_child: - # Validate that we can make self because when we make the - # new_cls it will not include the allOf validations in self - self_inst = cls._from_openapi_data(*args, **kwargs) - - - new_inst = new_cls._new_from_openapi_data(*args, **kwargs) - return new_inst - - -class ModelSimple(OpenApiModel): - """the parent class of models whose type != object in their - swagger/openapi""" - - def __setitem__(self, name, value): - """set the value of an attribute using square-bracket notation: `instance[attr] = val`""" - if name in self.required_properties: - self.__dict__[name] = value - return - - self.set_attribute(name, value) - - def get(self, name, default=None): - """returns the value of an attribute or some default value if the attribute was not set""" - if name in self.required_properties: - return self.__dict__[name] - - return self.__dict__['_data_store'].get(name, default) - - def __getitem__(self, name): - """get the value of an attribute using square-bracket notation: `instance[attr]`""" - if name in self: - return self.get(name) - - raise ApiAttributeError( - "{0} has no attribute '{1}'".format( - type(self).__name__, name), - [e for e in [self._path_to_item, name] if e] - ) - - def __contains__(self, name): - """used by `in` operator to check if an attribute value was set in an instance: `'attr' in instance`""" - if name in self.required_properties: - return name in self.__dict__ - - return name in self.__dict__['_data_store'] - - def to_str(self): - """Returns the string representation of the model""" - return str(self.value) - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, self.__class__): - return False - - this_val = self._data_store['value'] - that_val = other._data_store['value'] - types = set() - types.add(this_val.__class__) - types.add(that_val.__class__) - vals_equal = this_val == that_val - return vals_equal - - -class ModelNormal(OpenApiModel): - """the parent class of models whose type == object in their - swagger/openapi""" - - def __setitem__(self, name, value): - """set the value of an attribute using square-bracket notation: `instance[attr] = val`""" - if name in self.required_properties: - self.__dict__[name] = value - return - - self.set_attribute(name, value) - - def get(self, name, default=None): - """returns the value of an attribute or some default value if the attribute was not set""" - if name in self.required_properties: - return self.__dict__[name] - - return self.__dict__['_data_store'].get(name, default) - - def __getitem__(self, name): - """get the value of an attribute using square-bracket notation: `instance[attr]`""" - if name in self: - return self.get(name) - - raise ApiAttributeError( - "{0} has no attribute '{1}'".format( - type(self).__name__, name), - [e for e in [self._path_to_item, name] if e] - ) - - def __contains__(self, name): - """used by `in` operator to check if an attribute value was set in an instance: `'attr' in instance`""" - if name in self.required_properties: - return name in self.__dict__ - - return name in self.__dict__['_data_store'] - - def to_dict(self): - """Returns the model properties as a dict""" - return model_to_dict(self, serialize=False) - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, self.__class__): - return False - - if not set(self._data_store.keys()) == set(other._data_store.keys()): - return False - for _var_name, this_val in self._data_store.items(): - that_val = other._data_store[_var_name] - types = set() - types.add(this_val.__class__) - types.add(that_val.__class__) - vals_equal = this_val == that_val - if not vals_equal: - return False - return True - - -class ModelComposed(OpenApiModel): - """the parent class of models whose type == object in their - swagger/openapi and have oneOf/allOf/anyOf - - When one sets a property we use var_name_to_model_instances to store the value in - the correct class instances + run any type checking + validation code. - When one gets a property we use var_name_to_model_instances to get the value - from the correct class instances. - This allows multiple composed schemas to contain the same property with additive - constraints on the value. - - _composed_schemas (dict) stores the anyOf/allOf/oneOf classes - key (str): allOf/oneOf/anyOf - value (list): the classes in the XOf definition. - Note: none_type can be included when the openapi document version >= 3.1.0 - _composed_instances (list): stores a list of instances of the composed schemas - defined in _composed_schemas. When properties are accessed in the self instance, - they are returned from the self._data_store or the data stores in the instances - in self._composed_schemas - _var_name_to_model_instances (dict): maps between a variable name on self and - the composed instances (self included) which contain that data - key (str): property name - value (list): list of class instances, self or instances in _composed_instances - which contain the value that the key is referring to. - """ - - def __setitem__(self, name, value): - """set the value of an attribute using square-bracket notation: `instance[attr] = val`""" - if name in self.required_properties: - self.__dict__[name] = value - return - - """ - Use cases: - 1. additional_properties_type is None (additionalProperties == False in spec) - Check for property presence in self.openapi_types - if not present then throw an error - if present set in self, set attribute - always set on composed schemas - 2. additional_properties_type exists - set attribute on self - always set on composed schemas - """ - if self.additional_properties_type is None: - """ - For an attribute to exist on a composed schema it must: - - fulfill schema_requirements in the self composed schema not considering oneOf/anyOf/allOf schemas AND - - fulfill schema_requirements in each oneOf/anyOf/allOf schemas - - schema_requirements: - For an attribute to exist on a schema it must: - - be present in properties at the schema OR - - have additionalProperties unset (defaults additionalProperties = any type) OR - - have additionalProperties set - """ - if name not in self.openapi_types: - raise ApiAttributeError( - "{0} has no attribute '{1}'".format( - type(self).__name__, name), - [e for e in [self._path_to_item, name] if e] - ) - # attribute must be set on self and composed instances - self.set_attribute(name, value) - for model_instance in self._composed_instances: - setattr(model_instance, name, value) - if name not in self._var_name_to_model_instances: - # we assigned an additional property - self.__dict__['_var_name_to_model_instances'][name] = self._composed_instances + [self] - return None - - __unset_attribute_value__ = object() - - def get(self, name, default=None): - """returns the value of an attribute or some default value if the attribute was not set""" - if name in self.required_properties: - return self.__dict__[name] - - # get the attribute from the correct instance - model_instances = self._var_name_to_model_instances.get(name) - values = [] - # A composed model stores self and child (oneof/anyOf/allOf) models under - # self._var_name_to_model_instances. - # Any property must exist in self and all model instances - # The value stored in all model instances must be the same - if model_instances: - for model_instance in model_instances: - if name in model_instance._data_store: - v = model_instance._data_store[name] - if v not in values: - values.append(v) - len_values = len(values) - if len_values == 0: - return default - elif len_values == 1: - return values[0] - elif len_values > 1: - raise ApiValueError( - "Values stored for property {0} in {1} differ when looking " - "at self and self's composed instances. All values must be " - "the same".format(name, type(self).__name__), - [e for e in [self._path_to_item, name] if e] - ) - - def __getitem__(self, name): - """get the value of an attribute using square-bracket notation: `instance[attr]`""" - value = self.get(name, self.__unset_attribute_value__) - if value is self.__unset_attribute_value__: - raise ApiAttributeError( - "{0} has no attribute '{1}'".format( - type(self).__name__, name), - [e for e in [self._path_to_item, name] if e] - ) - return value - - def __contains__(self, name): - """used by `in` operator to check if an attribute value was set in an instance: `'attr' in instance`""" - - if name in self.required_properties: - return name in self.__dict__ - - model_instances = self._var_name_to_model_instances.get( - name, self._additional_properties_model_instances) - - if model_instances: - for model_instance in model_instances: - if name in model_instance._data_store: - return True - - return False - - def to_dict(self): - """Returns the model properties as a dict""" - return model_to_dict(self, serialize=False) - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, self.__class__): - return False - - if not set(self._data_store.keys()) == set(other._data_store.keys()): - return False - for _var_name, this_val in self._data_store.items(): - that_val = other._data_store[_var_name] - types = set() - types.add(this_val.__class__) - types.add(that_val.__class__) - vals_equal = this_val == that_val - if not vals_equal: - return False - return True - - -COERCION_INDEX_BY_TYPE = { - ModelComposed: 0, - ModelNormal: 1, - ModelSimple: 2, - none_type: 3, # The type of 'None'. - list: 4, - dict: 5, - float: 6, - int: 7, - bool: 8, - datetime: 9, - date: 10, - str: 11, - file_type: 12, # 'file_type' is an alias for the built-in 'file' or 'io.IOBase' type. -} - -# these are used to limit what type conversions we try to do -# when we have a valid type already and we want to try converting -# to another type -UPCONVERSION_TYPE_PAIRS = ( - (str, datetime), - (str, date), - (int, float), # A float may be serialized as an integer, e.g. '3' is a valid serialized float. - (list, ModelComposed), - (dict, ModelComposed), - (str, ModelComposed), - (int, ModelComposed), - (float, ModelComposed), - (list, ModelComposed), - (list, ModelNormal), - (dict, ModelNormal), - (str, ModelSimple), - (int, ModelSimple), - (float, ModelSimple), - (list, ModelSimple), -) - -COERCIBLE_TYPE_PAIRS = { - False: ( # client instantiation of a model with client data - # (dict, ModelComposed), - # (list, ModelComposed), - # (dict, ModelNormal), - # (list, ModelNormal), - # (str, ModelSimple), - # (int, ModelSimple), - # (float, ModelSimple), - # (list, ModelSimple), - # (str, int), - # (str, float), - # (str, datetime), - # (str, date), - # (int, str), - # (float, str), - ), - True: ( # server -> client data - (dict, ModelComposed), - (list, ModelComposed), - (dict, ModelNormal), - (list, ModelNormal), - (str, ModelSimple), - (int, ModelSimple), - (float, ModelSimple), - (list, ModelSimple), - # (str, int), - # (str, float), - (str, datetime), - (str, date), - # (int, str), - # (float, str), - (str, file_type) - ), -} - - -def get_simple_class(input_value): - """Returns an input_value's simple class that we will use for type checking - Python2: - float and int will return int, where int is the python3 int backport - str and unicode will return str, where str is the python3 str backport - Note: float and int ARE both instances of int backport - Note: str_py2 and unicode_py2 are NOT both instances of str backport - - Args: - input_value (class/class_instance): the item for which we will return - the simple class - """ - if isinstance(input_value, type): - # input_value is a class - return input_value - elif isinstance(input_value, tuple): - return tuple - elif isinstance(input_value, list): - return list - elif isinstance(input_value, dict): - return dict - elif isinstance(input_value, none_type): - return none_type - elif isinstance(input_value, file_type): - return file_type - elif isinstance(input_value, bool): - # this must be higher than the int check because - # isinstance(True, int) == True - return bool - elif isinstance(input_value, int): - return int - elif isinstance(input_value, datetime): - # this must be higher than the date check because - # isinstance(datetime_instance, date) == True - return datetime - elif isinstance(input_value, date): - return date - elif isinstance(input_value, str): - return str - return type(input_value) - - -def check_allowed_values(allowed_values, input_variable_path, input_values): - """Raises an exception if the input_values are not allowed - - Args: - allowed_values (dict): the allowed_values dict - input_variable_path (tuple): the path to the input variable - input_values (list/str/int/float/date/datetime): the values that we - are checking to see if they are in allowed_values - """ - these_allowed_values = list(allowed_values[input_variable_path].values()) - if (isinstance(input_values, list) - and not set(input_values).issubset( - set(these_allowed_values))): - invalid_values = ", ".join( - map(str, set(input_values) - set(these_allowed_values))), - raise ApiValueError( - "Invalid values for `%s` [%s], must be a subset of [%s]" % - ( - input_variable_path[0], - invalid_values, - ", ".join(map(str, these_allowed_values)) - ) - ) - elif (isinstance(input_values, dict) - and not set( - input_values.keys()).issubset(set(these_allowed_values))): - invalid_values = ", ".join( - map(str, set(input_values.keys()) - set(these_allowed_values))) - raise ApiValueError( - "Invalid keys in `%s` [%s], must be a subset of [%s]" % - ( - input_variable_path[0], - invalid_values, - ", ".join(map(str, these_allowed_values)) - ) - ) - elif (not isinstance(input_values, (list, dict)) - and input_values not in these_allowed_values): - raise ApiValueError( - "Invalid value for `%s` (%s), must be one of %s" % - ( - input_variable_path[0], - input_values, - these_allowed_values - ) - ) - - -def is_json_validation_enabled(schema_keyword, configuration=None): - """Returns true if JSON schema validation is enabled for the specified - validation keyword. This can be used to skip JSON schema structural validation - as requested in the configuration. - - Args: - schema_keyword (string): the name of a JSON schema validation keyword. - configuration (Configuration): the configuration class. - """ - - return (configuration is None or - not hasattr(configuration, '_disabled_client_side_validations') or - schema_keyword not in configuration._disabled_client_side_validations) - - -def check_validations( - validations, input_variable_path, input_values, - configuration=None): - """Raises an exception if the input_values are invalid - - Args: - validations (dict): the validation dictionary. - input_variable_path (tuple): the path to the input variable. - input_values (list/str/int/float/date/datetime): the values that we - are checking. - configuration (Configuration): the configuration class. - """ - - if input_values is None: - return - - current_validations = validations[input_variable_path] - if (is_json_validation_enabled('multipleOf', configuration) and - 'multiple_of' in current_validations and - isinstance(input_values, (int, float)) and - not (float(input_values) / current_validations['multiple_of']).is_integer()): - # Note 'multipleOf' will be as good as the floating point arithmetic. - raise ApiValueError( - "Invalid value for `%s`, value must be a multiple of " - "`%s`" % ( - input_variable_path[0], - current_validations['multiple_of'] - ) - ) - - if (is_json_validation_enabled('maxLength', configuration) and - 'max_length' in current_validations and - len(input_values) > current_validations['max_length']): - raise ApiValueError( - "Invalid value for `%s`, length must be less than or equal to " - "`%s`" % ( - input_variable_path[0], - current_validations['max_length'] - ) - ) - - if (is_json_validation_enabled('minLength', configuration) and - 'min_length' in current_validations and - len(input_values) < current_validations['min_length']): - raise ApiValueError( - "Invalid value for `%s`, length must be greater than or equal to " - "`%s`" % ( - input_variable_path[0], - current_validations['min_length'] - ) - ) - - if (is_json_validation_enabled('maxItems', configuration) and - 'max_items' in current_validations and - len(input_values) > current_validations['max_items']): - raise ApiValueError( - "Invalid value for `%s`, number of items must be less than or " - "equal to `%s`" % ( - input_variable_path[0], - current_validations['max_items'] - ) - ) - - if (is_json_validation_enabled('minItems', configuration) and - 'min_items' in current_validations and - len(input_values) < current_validations['min_items']): - raise ValueError( - "Invalid value for `%s`, number of items must be greater than or " - "equal to `%s`" % ( - input_variable_path[0], - current_validations['min_items'] - ) - ) - - items = ('exclusive_maximum', 'inclusive_maximum', 'exclusive_minimum', - 'inclusive_minimum') - if (any(item in current_validations for item in items)): - if isinstance(input_values, list): - max_val = max(input_values) - min_val = min(input_values) - elif isinstance(input_values, dict): - max_val = max(input_values.values()) - min_val = min(input_values.values()) - else: - max_val = input_values - min_val = input_values - - if (is_json_validation_enabled('exclusiveMaximum', configuration) and - 'exclusive_maximum' in current_validations and - max_val >= current_validations['exclusive_maximum']): - raise ApiValueError( - "Invalid value for `%s`, must be a value less than `%s`" % ( - input_variable_path[0], - current_validations['exclusive_maximum'] - ) - ) - - if (is_json_validation_enabled('maximum', configuration) and - 'inclusive_maximum' in current_validations and - max_val > current_validations['inclusive_maximum']): - raise ApiValueError( - "Invalid value for `%s`, must be a value less than or equal to " - "`%s`" % ( - input_variable_path[0], - current_validations['inclusive_maximum'] - ) - ) - - if (is_json_validation_enabled('exclusiveMinimum', configuration) and - 'exclusive_minimum' in current_validations and - min_val <= current_validations['exclusive_minimum']): - raise ApiValueError( - "Invalid value for `%s`, must be a value greater than `%s`" % - ( - input_variable_path[0], - current_validations['exclusive_maximum'] - ) - ) - - if (is_json_validation_enabled('minimum', configuration) and - 'inclusive_minimum' in current_validations and - min_val < current_validations['inclusive_minimum']): - raise ApiValueError( - "Invalid value for `%s`, must be a value greater than or equal " - "to `%s`" % ( - input_variable_path[0], - current_validations['inclusive_minimum'] - ) - ) - flags = current_validations.get('regex', {}).get('flags', 0) - if (is_json_validation_enabled('pattern', configuration) and - 'regex' in current_validations and - not re.search(current_validations['regex']['pattern'], - input_values, flags=flags)): - err_msg = r"Invalid value for `%s`, must match regular expression `%s`" % ( - input_variable_path[0], - current_validations['regex']['pattern'] - ) - if flags != 0: - # Don't print the regex flags if the flags are not - # specified in the OAS document. - err_msg = r"%s with flags=`%s`" % (err_msg, flags) - raise ApiValueError(err_msg) - - -def order_response_types(required_types): - """Returns the required types sorted in coercion order - - Args: - required_types (list/tuple): collection of classes or instance of - list or dict with class information inside it. - - Returns: - (list): coercion order sorted collection of classes or instance - of list or dict with class information inside it. - """ - - def index_getter(class_or_instance): - if isinstance(class_or_instance, list): - return COERCION_INDEX_BY_TYPE[list] - elif isinstance(class_or_instance, dict): - return COERCION_INDEX_BY_TYPE[dict] - elif (inspect.isclass(class_or_instance) - and issubclass(class_or_instance, ModelComposed)): - return COERCION_INDEX_BY_TYPE[ModelComposed] - elif (inspect.isclass(class_or_instance) - and issubclass(class_or_instance, ModelNormal)): - return COERCION_INDEX_BY_TYPE[ModelNormal] - elif (inspect.isclass(class_or_instance) - and issubclass(class_or_instance, ModelSimple)): - return COERCION_INDEX_BY_TYPE[ModelSimple] - elif class_or_instance in COERCION_INDEX_BY_TYPE: - return COERCION_INDEX_BY_TYPE[class_or_instance] - raise ApiValueError("Unsupported type: %s" % class_or_instance) - - sorted_types = sorted( - required_types, - key=lambda class_or_instance: index_getter(class_or_instance) - ) - return sorted_types - - -def remove_uncoercible(required_types_classes, current_item, spec_property_naming, - must_convert=True): - """Only keeps the type conversions that are possible - - Args: - required_types_classes (tuple): tuple of classes that are required - these should be ordered by COERCION_INDEX_BY_TYPE - spec_property_naming (bool): True if the variable names in the input - data are serialized names as specified in the OpenAPI document. - False if the variables names in the input data are python - variable names in PEP-8 snake case. - current_item (any): the current item (input data) to be converted - - Keyword Args: - must_convert (bool): if True the item to convert is of the wrong - type and we want a big list of coercibles - if False, we want a limited list of coercibles - - Returns: - (list): the remaining coercible required types, classes only - """ - current_type_simple = get_simple_class(current_item) - - results_classes = [] - for required_type_class in required_types_classes: - # convert our models to OpenApiModel - required_type_class_simplified = required_type_class - if isinstance(required_type_class_simplified, type): - if issubclass(required_type_class_simplified, ModelComposed): - required_type_class_simplified = ModelComposed - elif issubclass(required_type_class_simplified, ModelNormal): - required_type_class_simplified = ModelNormal - elif issubclass(required_type_class_simplified, ModelSimple): - required_type_class_simplified = ModelSimple - - if required_type_class_simplified == current_type_simple: - # don't consider converting to one's own class - continue - - class_pair = (current_type_simple, required_type_class_simplified) - if must_convert and class_pair in COERCIBLE_TYPE_PAIRS[spec_property_naming]: - results_classes.append(required_type_class) - elif class_pair in UPCONVERSION_TYPE_PAIRS: - results_classes.append(required_type_class) - return results_classes - -def get_discriminated_classes(cls): - """ - Returns all the classes that a discriminator converts to - TODO: lru_cache this - """ - possible_classes = [] - key = list(cls.discriminator.keys())[0] - if is_type_nullable(cls): - possible_classes.append(cls) - for discr_cls in cls.discriminator[key].values(): - if hasattr(discr_cls, 'discriminator') and discr_cls.discriminator is not None: - possible_classes.extend(get_discriminated_classes(discr_cls)) - else: - possible_classes.append(discr_cls) - return possible_classes - - -def get_possible_classes(cls, from_server_context): - # TODO: lru_cache this - possible_classes = [cls] - if from_server_context: - return possible_classes - if hasattr(cls, 'discriminator') and cls.discriminator is not None: - possible_classes = [] - possible_classes.extend(get_discriminated_classes(cls)) - elif issubclass(cls, ModelComposed): - possible_classes.extend(composed_model_input_classes(cls)) - return possible_classes - - -def get_required_type_classes(required_types_mixed, spec_property_naming): - """Converts the tuple required_types into a tuple and a dict described - below - - Args: - required_types_mixed (tuple/list): will contain either classes or - instance of list or dict - spec_property_naming (bool): if True these values came from the - server, and we use the data types in our endpoints. - If False, we are client side and we need to include - oneOf and discriminator classes inside the data types in our endpoints - - Returns: - (valid_classes, dict_valid_class_to_child_types_mixed): - valid_classes (tuple): the valid classes that the current item - should be - dict_valid_class_to_child_types_mixed (dict): - valid_class (class): this is the key - child_types_mixed (list/dict/tuple): describes the valid child - types - """ - valid_classes = [] - child_req_types_by_current_type = {} - for required_type in required_types_mixed: - if isinstance(required_type, list): - valid_classes.append(list) - child_req_types_by_current_type[list] = required_type - elif isinstance(required_type, tuple): - valid_classes.append(tuple) - child_req_types_by_current_type[tuple] = required_type - elif isinstance(required_type, dict): - valid_classes.append(dict) - child_req_types_by_current_type[dict] = required_type[str] - else: - valid_classes.extend(get_possible_classes(required_type, spec_property_naming)) - return tuple(valid_classes), child_req_types_by_current_type - - -def change_keys_js_to_python(input_dict, model_class): - """ - Converts from javascript_key keys in the input_dict to python_keys in - the output dict using the mapping in model_class. - If the input_dict contains a key which does not declared in the model_class, - the key is added to the output dict as is. The assumption is the model_class - may have undeclared properties (additionalProperties attribute in the OAS - document). - """ - - if getattr(model_class, 'attribute_map', None) is None: - return input_dict - output_dict = {} - reversed_attr_map = {value: key for key, value in - model_class.attribute_map.items()} - for javascript_key, value in input_dict.items(): - python_key = reversed_attr_map.get(javascript_key) - if python_key is None: - # if the key is unknown, it is in error or it is an - # additionalProperties variable - python_key = javascript_key - output_dict[python_key] = value - return output_dict - - -def get_type_error(var_value, path_to_item, valid_classes, key_type=False): - error_msg = type_error_message( - var_name=path_to_item[-1], - var_value=var_value, - valid_classes=valid_classes, - key_type=key_type - ) - return ApiTypeError( - error_msg, - path_to_item=path_to_item, - valid_classes=valid_classes, - key_type=key_type - ) - - -def deserialize_primitive(data, klass, path_to_item): - """Deserializes string to primitive type. - - :param data: str/int/float - :param klass: str/class the class to convert to - - :return: int, float, str, bool, date, datetime - """ - additional_message = "" - try: - if klass in {datetime, date}: - additional_message = ( - "If you need your parameter to have a fallback " - "string value, please set its type as `type: {}` in your " - "spec. That allows the value to be any type. " - ) - if klass == datetime: - if len(data) < 8: - raise ValueError("This is not a datetime") - # The string should be in iso8601 datetime format. - parsed_datetime = parse(data) - date_only = ( - parsed_datetime.hour == 0 and - parsed_datetime.minute == 0 and - parsed_datetime.second == 0 and - parsed_datetime.tzinfo is None and - 8 <= len(data) <= 10 - ) - if date_only: - raise ValueError("This is a date, not a datetime") - return parsed_datetime - elif klass == date: - if len(data) < 8: - raise ValueError("This is not a date") - return parse(data).date() - else: - converted_value = klass(data) - if isinstance(data, str) and klass == float: - if str(converted_value) != data: - # '7' -> 7.0 -> '7.0' != '7' - raise ValueError('This is not a float') - return converted_value - except (OverflowError, ValueError) as ex: - # parse can raise OverflowError - raise ApiValueError( - "{0}Failed to parse {1} as {2}".format( - additional_message, repr(data), klass.__name__ - ), - path_to_item=path_to_item - ) from ex - - -def get_discriminator_class(model_class, - discr_name, - discr_value, cls_visited): - """Returns the child class specified by the discriminator. - - Args: - model_class (OpenApiModel): the model class. - discr_name (string): the name of the discriminator property. - discr_value (any): the discriminator value. - cls_visited (list): list of model classes that have been visited. - Used to determine the discriminator class without - visiting circular references indefinitely. - - Returns: - used_model_class (class/None): the chosen child class that will be used - to deserialize the data, for example dog.Dog. - If a class is not found, None is returned. - """ - - if model_class in cls_visited: - # The class has already been visited and no suitable class was found. - return None - cls_visited.append(model_class) - used_model_class = None - if discr_name in model_class.discriminator: - class_name_to_discr_class = model_class.discriminator[discr_name] - used_model_class = class_name_to_discr_class.get(discr_value) - if used_model_class is None: - # We didn't find a discriminated class in class_name_to_discr_class. - # So look in the ancestor or descendant discriminators - # The discriminator mapping may exist in a descendant (anyOf, oneOf) - # or ancestor (allOf). - # Ancestor example: in the GrandparentAnimal -> ParentPet -> ChildCat - # hierarchy, the discriminator mappings may be defined at any level - # in the hierarchy. - # Descendant example: mammal -> whale/zebra/Pig -> BasquePig/DanishPig - # if we try to make BasquePig from mammal, we need to travel through - # the oneOf descendant discriminators to find BasquePig - descendant_classes = model_class._composed_schemas.get('oneOf', ()) + \ - model_class._composed_schemas.get('anyOf', ()) - ancestor_classes = model_class._composed_schemas.get('allOf', ()) - possible_classes = descendant_classes + ancestor_classes - for cls in possible_classes: - # Check if the schema has inherited discriminators. - if hasattr(cls, 'discriminator') and cls.discriminator is not None: - used_model_class = get_discriminator_class( - cls, discr_name, discr_value, cls_visited) - if used_model_class is not None: - return used_model_class - return used_model_class - - -def deserialize_model(model_data, model_class, path_to_item, check_type, - configuration, spec_property_naming): - """Deserializes model_data to model instance. - - Args: - model_data (int/str/float/bool/none_type/list/dict): data to instantiate the model - model_class (OpenApiModel): the model class - path_to_item (list): path to the model in the received data - check_type (bool): whether to check the data tupe for the values in - the model - configuration (Configuration): the instance to use to convert files - spec_property_naming (bool): True if the variable names in the input - data are serialized names as specified in the OpenAPI document. - False if the variables names in the input data are python - variable names in PEP-8 snake case. - - Returns: - model instance - - Raise: - ApiTypeError - ApiValueError - ApiKeyError - """ - - kw_args = dict(_check_type=check_type, - _path_to_item=path_to_item, - _configuration=configuration, - _spec_property_naming=spec_property_naming) - - if issubclass(model_class, ModelSimple): - return model_class._new_from_openapi_data(model_data, **kw_args) - elif isinstance(model_data, list): - return model_class._new_from_openapi_data(*model_data, **kw_args) - if isinstance(model_data, dict): - kw_args.update(model_data) - return model_class._new_from_openapi_data(**kw_args) - elif isinstance(model_data, PRIMITIVE_TYPES): - return model_class._new_from_openapi_data(model_data, **kw_args) - - -def deserialize_file(response_data, configuration, content_disposition=None): - """Deserializes body to file - - Saves response body into a file in a temporary folder, - using the filename from the `Content-Disposition` header if provided. - - Args: - param response_data (str): the file data to write - configuration (Configuration): the instance to use to convert files - - Keyword Args: - content_disposition (str): the value of the Content-Disposition - header - - Returns: - (file_type): the deserialized file which is open - The user is responsible for closing and reading the file - """ - fd, path = tempfile.mkstemp(dir=configuration.temp_folder_path) - os.close(fd) - os.remove(path) - - if content_disposition: - filename = re.search(r'filename=[\'"]?([^\'"\s]+)[\'"]?', - content_disposition).group(1) - path = os.path.join(os.path.dirname(path), filename) - - with open(path, "wb") as f: - if isinstance(response_data, str): - # change str to bytes so we can write it - response_data = response_data.encode('utf-8') - f.write(response_data) - - f = open(path, "rb") - return f - - -def attempt_convert_item(input_value, valid_classes, path_to_item, - configuration, spec_property_naming, key_type=False, - must_convert=False, check_type=True): - """ - Args: - input_value (any): the data to convert - valid_classes (any): the classes that are valid - path_to_item (list): the path to the item to convert - configuration (Configuration): the instance to use to convert files - spec_property_naming (bool): True if the variable names in the input - data are serialized names as specified in the OpenAPI document. - False if the variables names in the input data are python - variable names in PEP-8 snake case. - key_type (bool): if True we need to convert a key type (not supported) - must_convert (bool): if True we must convert - check_type (bool): if True we check the type or the returned data in - ModelComposed/ModelNormal/ModelSimple instances - - Returns: - instance (any) the fixed item - - Raises: - ApiTypeError - ApiValueError - ApiKeyError - """ - valid_classes_ordered = order_response_types(valid_classes) - valid_classes_coercible = remove_uncoercible( - valid_classes_ordered, input_value, spec_property_naming) - if not valid_classes_coercible or key_type: - # we do not handle keytype errors, json will take care - # of this for us - if configuration is None or not configuration.discard_unknown_keys: - raise get_type_error(input_value, path_to_item, valid_classes, - key_type=key_type) - for valid_class in valid_classes_coercible: - try: - if issubclass(valid_class, OpenApiModel): - return deserialize_model(input_value, valid_class, - path_to_item, check_type, - configuration, spec_property_naming) - elif valid_class == file_type: - return deserialize_file(input_value, configuration) - return deserialize_primitive(input_value, valid_class, - path_to_item) - except (ApiTypeError, ApiValueError, ApiKeyError) as conversion_exc: - if must_convert: - raise conversion_exc - # if we have conversion errors when must_convert == False - # we ignore the exception and move on to the next class - continue - # we were unable to convert, must_convert == False - return input_value - - -def is_type_nullable(input_type): - """ - Returns true if None is an allowed value for the specified input_type. - - A type is nullable if at least one of the following conditions is true: - 1. The OAS 'nullable' attribute has been specified, - 1. The type is the 'null' type, - 1. The type is a anyOf/oneOf composed schema, and a child schema is - the 'null' type. - Args: - input_type (type): the class of the input_value that we are - checking - Returns: - bool - """ - if input_type is none_type: - return True - if issubclass(input_type, OpenApiModel) and input_type._nullable: - return True - if issubclass(input_type, ModelComposed): - # If oneOf/anyOf, check if the 'null' type is one of the allowed types. - for t in input_type._composed_schemas.get('oneOf', ()): - if is_type_nullable(t): return True - for t in input_type._composed_schemas.get('anyOf', ()): - if is_type_nullable(t): return True - return False - - -def is_valid_type(input_class_simple, valid_classes): - """ - Args: - input_class_simple (class): the class of the input_value that we are - checking - valid_classes (tuple): the valid classes that the current item - should be - Returns: - bool - """ - if issubclass(input_class_simple, OpenApiModel) and \ - valid_classes == (bool, date, datetime, dict, float, int, list, str, none_type,): - return True - valid_type = input_class_simple in valid_classes - if not valid_type and ( - issubclass(input_class_simple, OpenApiModel) or - input_class_simple is none_type): - for valid_class in valid_classes: - if input_class_simple is none_type and is_type_nullable(valid_class): - # Schema is oneOf/anyOf and the 'null' type is one of the allowed types. - return True - if not (issubclass(valid_class, OpenApiModel) and valid_class.discriminator): - continue - discr_propertyname_py = list(valid_class.discriminator.keys())[0] - discriminator_classes = ( - valid_class.discriminator[discr_propertyname_py].values() - ) - valid_type = is_valid_type(input_class_simple, discriminator_classes) - if valid_type: - return True - return valid_type - - -def validate_and_convert_types(input_value, required_types_mixed, path_to_item, - spec_property_naming, _check_type, configuration=None): - """Raises a TypeError is there is a problem, otherwise returns value - - Args: - input_value (any): the data to validate/convert - required_types_mixed (list/dict/tuple): A list of - valid classes, or a list tuples of valid classes, or a dict where - the value is a tuple of value classes - path_to_item: (list) the path to the data being validated - this stores a list of keys or indices to get to the data being - validated - spec_property_naming (bool): True if the variable names in the input - data are serialized names as specified in the OpenAPI document. - False if the variables names in the input data are python - variable names in PEP-8 snake case. - _check_type: (boolean) if true, type will be checked and conversion - will be attempted. - configuration: (Configuration): the configuration class to use - when converting file_type items. - If passed, conversion will be attempted when possible - If not passed, no conversions will be attempted and - exceptions will be raised - - Returns: - the correctly typed value - - Raises: - ApiTypeError - """ - results = get_required_type_classes(required_types_mixed, spec_property_naming) - valid_classes, child_req_types_by_current_type = results - - input_class_simple = get_simple_class(input_value) - valid_type = is_valid_type(input_class_simple, valid_classes) - if not valid_type: - if configuration: - # if input_value is not valid_type try to convert it - converted_instance = attempt_convert_item( - input_value, - valid_classes, - path_to_item, - configuration, - spec_property_naming, - key_type=False, - must_convert=True, - check_type=_check_type - ) - return converted_instance - else: - raise get_type_error(input_value, path_to_item, valid_classes, - key_type=False) - - # input_value's type is in valid_classes - if len(valid_classes) > 1 and configuration: - # there are valid classes which are not the current class - valid_classes_coercible = remove_uncoercible( - valid_classes, input_value, spec_property_naming, must_convert=False) - if valid_classes_coercible: - converted_instance = attempt_convert_item( - input_value, - valid_classes_coercible, - path_to_item, - configuration, - spec_property_naming, - key_type=False, - must_convert=False, - check_type=_check_type - ) - return converted_instance - - if child_req_types_by_current_type == {}: - # all types are of the required types and there are no more inner - # variables left to look at - return input_value - inner_required_types = child_req_types_by_current_type.get( - type(input_value) - ) - if inner_required_types is None: - # for this type, there are not more inner variables left to look at - return input_value - if isinstance(input_value, list): - if input_value == []: - # allow an empty list - return input_value - for index, inner_value in enumerate(input_value): - inner_path = list(path_to_item) - inner_path.append(index) - input_value[index] = validate_and_convert_types( - inner_value, - inner_required_types, - inner_path, - spec_property_naming, - _check_type, - configuration=configuration - ) - elif isinstance(input_value, dict): - if input_value == {}: - # allow an empty dict - return input_value - for inner_key, inner_val in input_value.items(): - inner_path = list(path_to_item) - inner_path.append(inner_key) - if get_simple_class(inner_key) != str: - raise get_type_error(inner_key, inner_path, valid_classes, - key_type=True) - input_value[inner_key] = validate_and_convert_types( - inner_val, - inner_required_types, - inner_path, - spec_property_naming, - _check_type, - configuration=configuration - ) - return input_value - - -def model_to_dict(model_instance, serialize=True): - """Returns the model properties as a dict - - Args: - model_instance (one of your model instances): the model instance that - will be converted to a dict. - - Keyword Args: - serialize (bool): if True, the keys in the dict will be values from - attribute_map - """ - result = {} - - model_instances = [model_instance] - if model_instance._composed_schemas: - model_instances.extend(model_instance._composed_instances) - seen_json_attribute_names = set() - used_fallback_python_attribute_names = set() - py_to_json_map = {} - for model_instance in model_instances: - for attr, value in model_instance._data_store.items(): - if serialize: - # we use get here because additional property key names do not - # exist in attribute_map - try: - attr = model_instance.attribute_map[attr] - py_to_json_map.update(model_instance.attribute_map) - seen_json_attribute_names.add(attr) - except KeyError: - used_fallback_python_attribute_names.add(attr) - if isinstance(value, list): - if not value: - # empty list or None - result[attr] = value - else: - res = [] - for v in value: - if isinstance(v, PRIMITIVE_TYPES) or v is None: - res.append(v) - elif isinstance(v, ModelSimple): - res.append(v.value) - else: - res.append(model_to_dict(v, serialize=serialize)) - result[attr] = res - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], - model_to_dict(item[1], serialize=serialize)) - if hasattr(item[1], '_data_store') else item, - value.items() - )) - elif isinstance(value, ModelSimple): - result[attr] = value.value - elif hasattr(value, '_data_store'): - result[attr] = model_to_dict(value, serialize=serialize) - else: - result[attr] = value - if serialize: - for python_key in used_fallback_python_attribute_names: - json_key = py_to_json_map.get(python_key) - if json_key is None: - continue - if python_key == json_key: - continue - json_key_assigned_no_need_for_python_key = json_key in seen_json_attribute_names - if json_key_assigned_no_need_for_python_key: - del result[python_key] - - return result - - -def type_error_message(var_value=None, var_name=None, valid_classes=None, - key_type=None): - """ - Keyword Args: - var_value (any): the variable which has the type_error - var_name (str): the name of the variable which has the typ error - valid_classes (tuple): the accepted classes for current_item's - value - key_type (bool): False if our value is a value in a dict - True if it is a key in a dict - False if our item is an item in a list - """ - key_or_value = 'value' - if key_type: - key_or_value = 'key' - valid_classes_phrase = get_valid_classes_phrase(valid_classes) - msg = ( - "Invalid type for variable '{0}'. Required {1} type {2} and " - "passed type was {3}".format( - var_name, - key_or_value, - valid_classes_phrase, - type(var_value).__name__, - ) - ) - return msg - - -def get_valid_classes_phrase(input_classes): - """Returns a string phrase describing what types are allowed - """ - all_classes = list(input_classes) - all_classes = sorted(all_classes, key=lambda cls: cls.__name__) - all_class_names = [cls.__name__ for cls in all_classes] - if len(all_class_names) == 1: - return 'is {0}'.format(all_class_names[0]) - return "is one of [{0}]".format(", ".join(all_class_names)) - - -def get_allof_instances(self, model_args, constant_args): - """ - Args: - self: the class we are handling - model_args (dict): var_name to var_value - used to make instances - constant_args (dict): - metadata arguments: - _check_type - _path_to_item - _spec_property_naming - _configuration - _visited_composed_classes - - Returns - composed_instances (list) - """ - composed_instances = [] - for allof_class in self._composed_schemas['allOf']: - - try: - if constant_args.get('_spec_property_naming'): - allof_instance = allof_class._from_openapi_data(**model_args, **constant_args) - else: - allof_instance = allof_class(**model_args, **constant_args) - composed_instances.append(allof_instance) - except Exception as ex: - raise ApiValueError( - "Invalid inputs given to generate an instance of '%s'. The " - "input data was invalid for the allOf schema '%s' in the composed " - "schema '%s'. Error=%s" % ( - allof_class.__name__, - allof_class.__name__, - self.__class__.__name__, - str(ex) - ) - ) from ex - return composed_instances - - -def get_oneof_instance(cls, model_kwargs, constant_kwargs, model_arg=None): - """ - Find the oneOf schema that matches the input data (e.g. payload). - If exactly one schema matches the input data, an instance of that schema - is returned. - If zero or more than one schema match the input data, an exception is raised. - In OAS 3.x, the payload MUST, by validation, match exactly one of the - schemas described by oneOf. - - Args: - cls: the class we are handling - model_kwargs (dict): var_name to var_value - The input data, e.g. the payload that must match a oneOf schema - in the OpenAPI document. - constant_kwargs (dict): var_name to var_value - args that every model requires, including configuration, server - and path to item. - - Kwargs: - model_arg: (int, float, bool, str, date, datetime, ModelSimple, None): - the value to assign to a primitive class or ModelSimple class - Notes: - - this is only passed in when oneOf includes types which are not object - - None is used to suppress handling of model_arg, nullable models are handled in __new__ - - Returns - oneof_instance (instance) - """ - if len(cls._composed_schemas['oneOf']) == 0: - return None - - oneof_instances = [] - # Iterate over each oneOf schema and determine if the input data - # matches the oneOf schemas. - for oneof_class in cls._composed_schemas['oneOf']: - # The composed oneOf schema allows the 'null' type and the input data - # is the null value. This is a OAS >= 3.1 feature. - if oneof_class is none_type: - # skip none_types because we are deserializing dict data. - # none_type deserialization is handled in the __new__ method - continue - - single_value_input = allows_single_value_input(oneof_class) - - try: - if not single_value_input: - if constant_kwargs.get('_spec_property_naming'): - oneof_instance = oneof_class._from_openapi_data(**model_kwargs, **constant_kwargs) - else: - oneof_instance = oneof_class(**model_kwargs, **constant_kwargs) - else: - if issubclass(oneof_class, ModelSimple): - if constant_kwargs.get('_spec_property_naming'): - oneof_instance = oneof_class._from_openapi_data(model_arg, **constant_kwargs) - else: - oneof_instance = oneof_class(model_arg, **constant_kwargs) - elif oneof_class in PRIMITIVE_TYPES: - oneof_instance = validate_and_convert_types( - model_arg, - (oneof_class,), - constant_kwargs['_path_to_item'], - constant_kwargs['_spec_property_naming'], - constant_kwargs['_check_type'], - configuration=constant_kwargs['_configuration'] - ) - oneof_instances.append(oneof_instance) - except Exception: - pass - if len(oneof_instances) == 0: - raise ApiValueError( - "Invalid inputs given to generate an instance of %s. None " - "of the oneOf schemas matched the input data." % - cls.__name__ - ) - elif len(oneof_instances) > 1: - raise ApiValueError( - "Invalid inputs given to generate an instance of %s. Multiple " - "oneOf schemas matched the inputs, but a max of one is allowed." % - cls.__name__ - ) - return oneof_instances[0] - - -def get_anyof_instances(self, model_args, constant_args): - """ - Args: - self: the class we are handling - model_args (dict): var_name to var_value - The input data, e.g. the payload that must match at least one - anyOf child schema in the OpenAPI document. - constant_args (dict): var_name to var_value - args that every model requires, including configuration, server - and path to item. - - Returns - anyof_instances (list) - """ - anyof_instances = [] - if len(self._composed_schemas['anyOf']) == 0: - return anyof_instances - - for anyof_class in self._composed_schemas['anyOf']: - # The composed oneOf schema allows the 'null' type and the input data - # is the null value. This is a OAS >= 3.1 feature. - if anyof_class is none_type: - # skip none_types because we are deserializing dict data. - # none_type deserialization is handled in the __new__ method - continue - - try: - if constant_args.get('_spec_property_naming'): - anyof_instance = anyof_class._from_openapi_data(**model_args, **constant_args) - else: - anyof_instance = anyof_class(**model_args, **constant_args) - anyof_instances.append(anyof_instance) - except Exception: - pass - if len(anyof_instances) == 0: - raise ApiValueError( - "Invalid inputs given to generate an instance of %s. None of the " - "anyOf schemas matched the inputs." % - self.__class__.__name__ - ) - return anyof_instances - - -def get_discarded_args(self, composed_instances, model_args): - """ - Gathers the args that were discarded by configuration.discard_unknown_keys - """ - model_arg_keys = model_args.keys() - discarded_args = set() - # arguments passed to self were already converted to python names - # before __init__ was called - for instance in composed_instances: - if instance.__class__ in self._composed_schemas['allOf']: - try: - keys = instance.to_dict().keys() - discarded_keys = model_args - keys - discarded_args.update(discarded_keys) - except Exception: - # allOf integer schema will throw exception - pass - else: - try: - all_keys = set(model_to_dict(instance, serialize=False).keys()) - js_keys = model_to_dict(instance, serialize=True).keys() - all_keys.update(js_keys) - discarded_keys = model_arg_keys - all_keys - discarded_args.update(discarded_keys) - except Exception: - # allOf integer schema will throw exception - pass - return discarded_args - - -def validate_get_composed_info(constant_args, model_args, self): - """ - For composed schemas, generate schema instances for - all schemas in the oneOf/anyOf/allOf definition. If additional - properties are allowed, also assign those properties on - all matched schemas that contain additionalProperties. - Openapi schemas are python classes. - - Exceptions are raised if: - - 0 or > 1 oneOf schema matches the model_args input data - - no anyOf schema matches the model_args input data - - any of the allOf schemas do not match the model_args input data - - Args: - constant_args (dict): these are the args that every model requires - model_args (dict): these are the required and optional spec args that - were passed in to make this model - self (class): the class that we are instantiating - This class contains self._composed_schemas - - Returns: - composed_info (list): length three - composed_instances (list): the composed instances which are not - self - var_name_to_model_instances (dict): a dict going from var_name - to the model_instance which holds that var_name - the model_instance may be self or an instance of one of the - classes in self.composed_instances() - additional_properties_model_instances (list): a list of the - model instances which have the property - additional_properties_type. This list can include self - """ - # create composed_instances - composed_instances = [] - allof_instances = get_allof_instances(self, model_args, constant_args) - composed_instances.extend(allof_instances) - oneof_instance = get_oneof_instance(self.__class__, model_args, constant_args) - if oneof_instance is not None: - composed_instances.append(oneof_instance) - anyof_instances = get_anyof_instances(self, model_args, constant_args) - composed_instances.extend(anyof_instances) - """ - set additional_properties_model_instances - additional properties must be evaluated at the schema level - so self's additional properties are most important - If self is a composed schema with: - - no properties defined in self - - additionalProperties: False - Then for object payloads every property is an additional property - and they are not allowed, so only empty dict is allowed - - Properties must be set on all matching schemas - so when a property is assigned toa composed instance, it must be set on all - composed instances regardless of additionalProperties presence - keeping it to prevent breaking changes in v5.0.1 - TODO remove cls._additional_properties_model_instances in 6.0.0 - """ - additional_properties_model_instances = [] - if self.additional_properties_type is not None: - additional_properties_model_instances = [self] - - """ - no need to set properties on self in here, they will be set in __init__ - By here all composed schema oneOf/anyOf/allOf instances have their properties set using - model_args - """ - discarded_args = get_discarded_args(self, composed_instances, model_args) - - # map variable names to composed_instances - var_name_to_model_instances = {} - for prop_name in model_args: - if prop_name not in discarded_args: - var_name_to_model_instances[prop_name] = [self] + composed_instances - - return [ - composed_instances, - var_name_to_model_instances, - additional_properties_model_instances, - discarded_args - ] diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index 28ea7700..67de296e 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -1,111 +1,103 @@ +# coding: utf-8 + # flake8: noqa +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + -# import all models into this package -# if you have many models here with many references from one model to another this may -# raise a RecursionError -# to avoid this, import only the models that you directly need like: -# from from vrchatapi.model.pet import Pet -# or import this package, but before doing it, use: -# import sys -# sys.setrecursionlimit(n) +from __future__ import absolute_import -from vrchatapi.model.api_config import APIConfig -from vrchatapi.model.api_event_config import APIEventConfig -from vrchatapi.model.api_health import APIHealth -from vrchatapi.model.add_favorite_request import AddFavoriteRequest -from vrchatapi.model.avatar import Avatar -from vrchatapi.model.avatar_id import AvatarID -from vrchatapi.model.avatar_unity_package_url_object import AvatarUnityPackageUrlObject -from vrchatapi.model.create_avatar_request import CreateAvatarRequest -from vrchatapi.model.create_file_request import CreateFileRequest -from vrchatapi.model.create_file_version_request import CreateFileVersionRequest -from vrchatapi.model.create_world_request import CreateWorldRequest -from vrchatapi.model.current_user import CurrentUser -from vrchatapi.model.deployment_group import DeploymentGroup -from vrchatapi.model.developer_type import DeveloperType -from vrchatapi.model.download_url_list import DownloadURLList -from vrchatapi.model.dynamic_content_row import DynamicContentRow -from vrchatapi.model.error import Error -from vrchatapi.model.favorite import Favorite -from vrchatapi.model.favorite_group import FavoriteGroup -from vrchatapi.model.favorite_group_id import FavoriteGroupID -from vrchatapi.model.favorite_group_visibility import FavoriteGroupVisibility -from vrchatapi.model.favorite_id import FavoriteID -from vrchatapi.model.favorite_type import FavoriteType -from vrchatapi.model.file import File -from vrchatapi.model.file_data import FileData -from vrchatapi.model.file_id import FileID -from vrchatapi.model.file_status import FileStatus -from vrchatapi.model.file_upload_url import FileUploadURL -from vrchatapi.model.file_version import FileVersion -from vrchatapi.model.file_version_upload_status import FileVersionUploadStatus -from vrchatapi.model.finish_file_data_upload_request import FinishFileDataUploadRequest -from vrchatapi.model.friend_status import FriendStatus -from vrchatapi.model.info_push import InfoPush -from vrchatapi.model.info_push_data import InfoPushData -from vrchatapi.model.info_push_data_article import InfoPushDataArticle -from vrchatapi.model.info_push_data_article_content import InfoPushDataArticleContent -from vrchatapi.model.info_push_data_clickable import InfoPushDataClickable -from vrchatapi.model.instance import Instance -from vrchatapi.model.instance_id import InstanceID -from vrchatapi.model.instance_platforms import InstancePlatforms -from vrchatapi.model.instance_short_name_response import InstanceShortNameResponse -from vrchatapi.model.instance_type import InstanceType -from vrchatapi.model.invite_message import InviteMessage -from vrchatapi.model.invite_message_id import InviteMessageID -from vrchatapi.model.invite_message_type import InviteMessageType -from vrchatapi.model.invite_request import InviteRequest -from vrchatapi.model.invite_response import InviteResponse -from vrchatapi.model.license import License -from vrchatapi.model.license_action import LicenseAction -from vrchatapi.model.license_group import LicenseGroup -from vrchatapi.model.license_group_id import LicenseGroupID -from vrchatapi.model.license_type import LicenseType -from vrchatapi.model.limited_unity_package import LimitedUnityPackage -from vrchatapi.model.limited_user import LimitedUser -from vrchatapi.model.limited_world import LimitedWorld -from vrchatapi.model.mime_type import MIMEType -from vrchatapi.model.moderate_user_request import ModerateUserRequest -from vrchatapi.model.notification import Notification -from vrchatapi.model.notification_type import NotificationType -from vrchatapi.model.past_display_name import PastDisplayName -from vrchatapi.model.permission import Permission -from vrchatapi.model.permission_id import PermissionID -from vrchatapi.model.player_moderation import PlayerModeration -from vrchatapi.model.player_moderation_id import PlayerModerationID -from vrchatapi.model.player_moderation_type import PlayerModerationType -from vrchatapi.model.public_announcement import PublicAnnouncement -from vrchatapi.model.region import Region -from vrchatapi.model.release_status import ReleaseStatus -from vrchatapi.model.request_invite_request import RequestInviteRequest -from vrchatapi.model.response import Response -from vrchatapi.model.sent_notification import SentNotification -from vrchatapi.model.subscription import Subscription -from vrchatapi.model.subscription_period import SubscriptionPeriod -from vrchatapi.model.success import Success -from vrchatapi.model.tag import Tag -from vrchatapi.model.transaction import Transaction -from vrchatapi.model.transaction_agreement import TransactionAgreement -from vrchatapi.model.transaction_id import TransactionID -from vrchatapi.model.transaction_status import TransactionStatus -from vrchatapi.model.transaction_steam_info import TransactionSteamInfo -from vrchatapi.model.transaction_steam_wallet_info import TransactionSteamWalletInfo -from vrchatapi.model.two_factor_auth_code import TwoFactorAuthCode -from vrchatapi.model.unity_package import UnityPackage -from vrchatapi.model.unity_package_id import UnityPackageID -from vrchatapi.model.update_avatar_request import UpdateAvatarRequest -from vrchatapi.model.update_favorite_group_request import UpdateFavoriteGroupRequest -from vrchatapi.model.update_invite_message_request import UpdateInviteMessageRequest -from vrchatapi.model.update_user_request import UpdateUserRequest -from vrchatapi.model.update_world_request import UpdateWorldRequest -from vrchatapi.model.user import User -from vrchatapi.model.user_exists import UserExists -from vrchatapi.model.user_state import UserState -from vrchatapi.model.user_status import UserStatus -from vrchatapi.model.user_subscription import UserSubscription -from vrchatapi.model.verify2_fa_result import Verify2FAResult -from vrchatapi.model.verify_auth_token_result import VerifyAuthTokenResult -from vrchatapi.model.world import World -from vrchatapi.model.world_id import WorldID -from vrchatapi.model.world_metadata import WorldMetadata -from vrchatapi.model.world_publish_status import WorldPublishStatus +# import models into model package +from vrchatapi.models.api_config import APIConfig +from vrchatapi.models.api_event_config import APIEventConfig +from vrchatapi.models.api_health import APIHealth +from vrchatapi.models.add_favorite_request import AddFavoriteRequest +from vrchatapi.models.avatar import Avatar +from vrchatapi.models.avatar_unity_package_url_object import AvatarUnityPackageUrlObject +from vrchatapi.models.create_avatar_request import CreateAvatarRequest +from vrchatapi.models.create_file_request import CreateFileRequest +from vrchatapi.models.create_file_version_request import CreateFileVersionRequest +from vrchatapi.models.create_world_request import CreateWorldRequest +from vrchatapi.models.current_user import CurrentUser +from vrchatapi.models.deployment_group import DeploymentGroup +from vrchatapi.models.developer_type import DeveloperType +from vrchatapi.models.download_url_list import DownloadURLList +from vrchatapi.models.dynamic_content_row import DynamicContentRow +from vrchatapi.models.error import Error +from vrchatapi.models.favorite import Favorite +from vrchatapi.models.favorite_group import FavoriteGroup +from vrchatapi.models.favorite_group_visibility import FavoriteGroupVisibility +from vrchatapi.models.favorite_type import FavoriteType +from vrchatapi.models.file import File +from vrchatapi.models.file_data import FileData +from vrchatapi.models.file_status import FileStatus +from vrchatapi.models.file_upload_url import FileUploadURL +from vrchatapi.models.file_version import FileVersion +from vrchatapi.models.file_version_upload_status import FileVersionUploadStatus +from vrchatapi.models.finish_file_data_upload_request import FinishFileDataUploadRequest +from vrchatapi.models.friend_status import FriendStatus +from vrchatapi.models.info_push import InfoPush +from vrchatapi.models.info_push_data import InfoPushData +from vrchatapi.models.info_push_data_article import InfoPushDataArticle +from vrchatapi.models.info_push_data_article_content import InfoPushDataArticleContent +from vrchatapi.models.info_push_data_clickable import InfoPushDataClickable +from vrchatapi.models.instance import Instance +from vrchatapi.models.instance_platforms import InstancePlatforms +from vrchatapi.models.instance_short_name_response import InstanceShortNameResponse +from vrchatapi.models.instance_type import InstanceType +from vrchatapi.models.invite_message import InviteMessage +from vrchatapi.models.invite_message_type import InviteMessageType +from vrchatapi.models.invite_request import InviteRequest +from vrchatapi.models.invite_response import InviteResponse +from vrchatapi.models.license import License +from vrchatapi.models.license_action import LicenseAction +from vrchatapi.models.license_group import LicenseGroup +from vrchatapi.models.license_type import LicenseType +from vrchatapi.models.limited_unity_package import LimitedUnityPackage +from vrchatapi.models.limited_user import LimitedUser +from vrchatapi.models.limited_world import LimitedWorld +from vrchatapi.models.mime_type import MIMEType +from vrchatapi.models.moderate_user_request import ModerateUserRequest +from vrchatapi.models.notification import Notification +from vrchatapi.models.notification_type import NotificationType +from vrchatapi.models.past_display_name import PastDisplayName +from vrchatapi.models.permission import Permission +from vrchatapi.models.player_moderation import PlayerModeration +from vrchatapi.models.player_moderation_type import PlayerModerationType +from vrchatapi.models.public_announcement import PublicAnnouncement +from vrchatapi.models.region import Region +from vrchatapi.models.release_status import ReleaseStatus +from vrchatapi.models.request_invite_request import RequestInviteRequest +from vrchatapi.models.response import Response +from vrchatapi.models.sent_notification import SentNotification +from vrchatapi.models.subscription import Subscription +from vrchatapi.models.subscription_period import SubscriptionPeriod +from vrchatapi.models.success import Success +from vrchatapi.models.transaction import Transaction +from vrchatapi.models.transaction_agreement import TransactionAgreement +from vrchatapi.models.transaction_status import TransactionStatus +from vrchatapi.models.transaction_steam_info import TransactionSteamInfo +from vrchatapi.models.transaction_steam_wallet_info import TransactionSteamWalletInfo +from vrchatapi.models.two_factor_auth_code import TwoFactorAuthCode +from vrchatapi.models.unity_package import UnityPackage +from vrchatapi.models.update_avatar_request import UpdateAvatarRequest +from vrchatapi.models.update_favorite_group_request import UpdateFavoriteGroupRequest +from vrchatapi.models.update_invite_message_request import UpdateInviteMessageRequest +from vrchatapi.models.update_user_request import UpdateUserRequest +from vrchatapi.models.update_world_request import UpdateWorldRequest +from vrchatapi.models.user import User +from vrchatapi.models.user_exists import UserExists +from vrchatapi.models.user_state import UserState +from vrchatapi.models.user_status import UserStatus +from vrchatapi.models.user_subscription import UserSubscription +from vrchatapi.models.verify2_fa_result import Verify2FAResult +from vrchatapi.models.verify_auth_token_result import VerifyAuthTokenResult +from vrchatapi.models.world import World +from vrchatapi.models.world_metadata import WorldMetadata +from vrchatapi.models.world_publish_status import WorldPublishStatus diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py new file mode 100644 index 00000000..0fc727a6 --- /dev/null +++ b/vrchatapi/models/add_favorite_request.py @@ -0,0 +1,190 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class AddFavoriteRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'type': 'FavoriteType', + 'favorite_id': 'str', + 'tags': 'list[str]' + } + + attribute_map = { + 'type': 'type', + 'favorite_id': 'favoriteId', + 'tags': 'tags' + } + + def __init__(self, type=None, favorite_id=None, tags=None, local_vars_configuration=None): # noqa: E501 + """AddFavoriteRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._type = None + self._favorite_id = None + self._tags = None + self.discriminator = None + + self.type = type + self.favorite_id = favorite_id + self.tags = tags + + @property + def type(self): + """Gets the type of this AddFavoriteRequest. # noqa: E501 + + + :return: The type of this AddFavoriteRequest. # noqa: E501 + :rtype: FavoriteType + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this AddFavoriteRequest. + + + :param type: The type of this AddFavoriteRequest. # noqa: E501 + :type type: FavoriteType + """ + if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501 + raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 + + self._type = type + + @property + def favorite_id(self): + """Gets the favorite_id of this AddFavoriteRequest. # noqa: E501 + + Must be either AvatarID, WorldID or UserID. # noqa: E501 + + :return: The favorite_id of this AddFavoriteRequest. # noqa: E501 + :rtype: str + """ + return self._favorite_id + + @favorite_id.setter + def favorite_id(self, favorite_id): + """Sets the favorite_id of this AddFavoriteRequest. + + Must be either AvatarID, WorldID or UserID. # noqa: E501 + + :param favorite_id: The favorite_id of this AddFavoriteRequest. # noqa: E501 + :type favorite_id: str + """ + if self.local_vars_configuration.client_side_validation and favorite_id is None: # noqa: E501 + raise ValueError("Invalid value for `favorite_id`, must not be `None`") # noqa: E501 + + self._favorite_id = favorite_id + + @property + def tags(self): + """Gets the tags of this AddFavoriteRequest. # noqa: E501 + + Tags indicate which group this favorite belongs to. Adding multiple groups makes it show up in all. Removing it from one in that case removes it from all. # noqa: E501 + + :return: The tags of this AddFavoriteRequest. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this AddFavoriteRequest. + + Tags indicate which group this favorite belongs to. Adding multiple groups makes it show up in all. Removing it from one in that case removes it from all. # noqa: E501 + + :param tags: The tags of this AddFavoriteRequest. # noqa: E501 + :type tags: list[str] + """ + if self.local_vars_configuration.client_side_validation and tags is None: # noqa: E501 + raise ValueError("Invalid value for `tags`, must not be `None`") # noqa: E501 + + self._tags = tags + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AddFavoriteRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, AddFavoriteRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py new file mode 100644 index 00000000..d4a3a4c6 --- /dev/null +++ b/vrchatapi/models/api_config.py @@ -0,0 +1,2540 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class APIConfig(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'voice_enable_degradation': 'bool', + 'voice_enable_receiver_limiting': 'bool', + 'address': 'str', + 'announcements': 'list[PublicAnnouncement]', + 'api_key': 'str', + 'app_name': 'str', + 'build_version_tag': 'str', + 'client_api_key': 'str', + 'client_bps_ceiling': 'int', + 'client_disconnect_timeout': 'int', + 'client_reserved_player_bps': 'int', + 'client_sent_count_allowance': 'int', + 'contact_email': 'str', + 'copyright_email': 'str', + 'current_tos_version': 'int', + 'default_avatar': 'str', + 'deployment_group': 'DeploymentGroup', + 'dev_app_version_standalone': 'str', + 'dev_download_link_windows': 'str', + 'dev_sdk_url': 'str', + 'dev_sdk_version': 'str', + 'dev_server_version_standalone': 'str', + 'dis_countdown': 'datetime', + 'disable_avatar_copying': 'bool', + 'disable_avatar_gating': 'bool', + 'disable_community_labs': 'bool', + 'disable_community_labs_promotion': 'bool', + 'disable_email': 'bool', + 'disable_event_stream': 'bool', + 'disable_feedback_gating': 'bool', + 'disable_frontend_builds': 'bool', + 'disable_hello': 'bool', + 'disable_oculus_subs': 'bool', + 'disable_registration': 'bool', + 'disable_steam_networking': 'bool', + 'disable_two_factor_auth': 'bool', + 'disable_udon': 'bool', + 'disable_upgrade_account': 'bool', + 'download_link_windows': 'str', + 'download_urls': 'DownloadURLList', + 'dynamic_world_rows': 'list[DynamicContentRow]', + 'events': 'APIEventConfig', + 'gear_demo_room_id': 'str', + 'home_world_id': 'str', + 'homepage_redirect_target': 'str', + 'hub_world_id': 'str', + 'jobs_email': 'str', + 'message_of_the_day': 'str', + 'moderation_email': 'str', + 'moderation_query_period': 'int', + 'not_allowed_to_select_avatar_in_private_world_message': 'str', + 'plugin': 'str', + 'release_app_version_standalone': 'str', + 'release_sdk_url': 'str', + 'release_sdk_version': 'str', + 'release_server_version_standalone': 'str', + 'sdk_developer_faq_url': 'str', + 'sdk_discord_url': 'str', + 'sdk_not_allowed_to_publish_message': 'str', + 'sdk_unity_version': 'str', + 'server_name': 'str', + 'support_email': 'str', + 'time_out_world_id': 'str', + 'tutorial_world_id': 'str', + 'update_rate_ms_maximum': 'int', + 'update_rate_ms_minimum': 'int', + 'update_rate_ms_normal': 'int', + 'update_rate_ms_udon_manual': 'int', + 'upload_analysis_percent': 'int', + 'url_list': 'list[str]', + 'use_reliable_udp_for_voice': 'bool', + 'user_update_period': 'int', + 'user_verification_delay': 'int', + 'user_verification_retry': 'int', + 'user_verification_timeout': 'int', + 'vive_windows_url': 'str', + 'white_listed_asset_urls': 'list[str]', + 'world_update_period': 'int', + 'player_url_resolver_hash': 'str', + 'player_url_resolver_version': 'str' + } + + attribute_map = { + 'voice_enable_degradation': 'VoiceEnableDegradation', + 'voice_enable_receiver_limiting': 'VoiceEnableReceiverLimiting', + 'address': 'address', + 'announcements': 'announcements', + 'api_key': 'apiKey', + 'app_name': 'appName', + 'build_version_tag': 'buildVersionTag', + 'client_api_key': 'clientApiKey', + 'client_bps_ceiling': 'clientBPSCeiling', + 'client_disconnect_timeout': 'clientDisconnectTimeout', + 'client_reserved_player_bps': 'clientReservedPlayerBPS', + 'client_sent_count_allowance': 'clientSentCountAllowance', + 'contact_email': 'contactEmail', + 'copyright_email': 'copyrightEmail', + 'current_tos_version': 'currentTOSVersion', + 'default_avatar': 'defaultAvatar', + 'deployment_group': 'deploymentGroup', + 'dev_app_version_standalone': 'devAppVersionStandalone', + 'dev_download_link_windows': 'devDownloadLinkWindows', + 'dev_sdk_url': 'devSdkUrl', + 'dev_sdk_version': 'devSdkVersion', + 'dev_server_version_standalone': 'devServerVersionStandalone', + 'dis_countdown': 'dis-countdown', + 'disable_avatar_copying': 'disableAvatarCopying', + 'disable_avatar_gating': 'disableAvatarGating', + 'disable_community_labs': 'disableCommunityLabs', + 'disable_community_labs_promotion': 'disableCommunityLabsPromotion', + 'disable_email': 'disableEmail', + 'disable_event_stream': 'disableEventStream', + 'disable_feedback_gating': 'disableFeedbackGating', + 'disable_frontend_builds': 'disableFrontendBuilds', + 'disable_hello': 'disableHello', + 'disable_oculus_subs': 'disableOculusSubs', + 'disable_registration': 'disableRegistration', + 'disable_steam_networking': 'disableSteamNetworking', + 'disable_two_factor_auth': 'disableTwoFactorAuth', + 'disable_udon': 'disableUdon', + 'disable_upgrade_account': 'disableUpgradeAccount', + 'download_link_windows': 'downloadLinkWindows', + 'download_urls': 'downloadUrls', + 'dynamic_world_rows': 'dynamicWorldRows', + 'events': 'events', + 'gear_demo_room_id': 'gearDemoRoomId', + 'home_world_id': 'homeWorldId', + 'homepage_redirect_target': 'homepageRedirectTarget', + 'hub_world_id': 'hubWorldId', + 'jobs_email': 'jobsEmail', + 'message_of_the_day': 'messageOfTheDay', + 'moderation_email': 'moderationEmail', + 'moderation_query_period': 'moderationQueryPeriod', + 'not_allowed_to_select_avatar_in_private_world_message': 'notAllowedToSelectAvatarInPrivateWorldMessage', + 'plugin': 'plugin', + 'release_app_version_standalone': 'releaseAppVersionStandalone', + 'release_sdk_url': 'releaseSdkUrl', + 'release_sdk_version': 'releaseSdkVersion', + 'release_server_version_standalone': 'releaseServerVersionStandalone', + 'sdk_developer_faq_url': 'sdkDeveloperFaqUrl', + 'sdk_discord_url': 'sdkDiscordUrl', + 'sdk_not_allowed_to_publish_message': 'sdkNotAllowedToPublishMessage', + 'sdk_unity_version': 'sdkUnityVersion', + 'server_name': 'serverName', + 'support_email': 'supportEmail', + 'time_out_world_id': 'timeOutWorldId', + 'tutorial_world_id': 'tutorialWorldId', + 'update_rate_ms_maximum': 'updateRateMsMaximum', + 'update_rate_ms_minimum': 'updateRateMsMinimum', + 'update_rate_ms_normal': 'updateRateMsNormal', + 'update_rate_ms_udon_manual': 'updateRateMsUdonManual', + 'upload_analysis_percent': 'uploadAnalysisPercent', + 'url_list': 'urlList', + 'use_reliable_udp_for_voice': 'useReliableUdpForVoice', + 'user_update_period': 'userUpdatePeriod', + 'user_verification_delay': 'userVerificationDelay', + 'user_verification_retry': 'userVerificationRetry', + 'user_verification_timeout': 'userVerificationTimeout', + 'vive_windows_url': 'viveWindowsUrl', + 'white_listed_asset_urls': 'whiteListedAssetUrls', + 'world_update_period': 'worldUpdatePeriod', + 'player_url_resolver_hash': 'player-url-resolver-hash', + 'player_url_resolver_version': 'player-url-resolver-version' + } + + def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limiting=True, address=None, announcements=None, api_key=None, app_name='VrChat', build_version_tag=None, client_api_key=None, client_bps_ceiling=18432, client_disconnect_timeout=30000, client_reserved_player_bps=7168, client_sent_count_allowance=15, contact_email=None, copyright_email=None, current_tos_version=None, default_avatar=None, deployment_group=None, dev_app_version_standalone=None, dev_download_link_windows=None, dev_sdk_url=None, dev_sdk_version=None, dev_server_version_standalone=None, dis_countdown=None, disable_avatar_copying=False, disable_avatar_gating=False, disable_community_labs=False, disable_community_labs_promotion=False, disable_email=False, disable_event_stream=False, disable_feedback_gating=False, disable_frontend_builds=False, disable_hello=False, disable_oculus_subs=False, disable_registration=False, disable_steam_networking=True, disable_two_factor_auth=False, disable_udon=False, disable_upgrade_account=False, download_link_windows=None, download_urls=None, dynamic_world_rows=None, events=None, gear_demo_room_id=None, home_world_id=None, homepage_redirect_target='https://hello.vrchat.com', hub_world_id=None, jobs_email=None, message_of_the_day=None, moderation_email=None, moderation_query_period=None, not_allowed_to_select_avatar_in_private_world_message=None, plugin=None, release_app_version_standalone=None, release_sdk_url=None, release_sdk_version=None, release_server_version_standalone=None, sdk_developer_faq_url=None, sdk_discord_url=None, sdk_not_allowed_to_publish_message=None, sdk_unity_version=None, server_name=None, support_email=None, time_out_world_id=None, tutorial_world_id=None, update_rate_ms_maximum=None, update_rate_ms_minimum=None, update_rate_ms_normal=None, update_rate_ms_udon_manual=None, upload_analysis_percent=None, url_list=None, use_reliable_udp_for_voice=False, user_update_period=None, user_verification_delay=None, user_verification_retry=None, user_verification_timeout=None, vive_windows_url=None, white_listed_asset_urls=None, world_update_period=None, player_url_resolver_hash=None, player_url_resolver_version=None, local_vars_configuration=None): # noqa: E501 + """APIConfig - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._voice_enable_degradation = None + self._voice_enable_receiver_limiting = None + self._address = None + self._announcements = None + self._api_key = None + self._app_name = None + self._build_version_tag = None + self._client_api_key = None + self._client_bps_ceiling = None + self._client_disconnect_timeout = None + self._client_reserved_player_bps = None + self._client_sent_count_allowance = None + self._contact_email = None + self._copyright_email = None + self._current_tos_version = None + self._default_avatar = None + self._deployment_group = None + self._dev_app_version_standalone = None + self._dev_download_link_windows = None + self._dev_sdk_url = None + self._dev_sdk_version = None + self._dev_server_version_standalone = None + self._dis_countdown = None + self._disable_avatar_copying = None + self._disable_avatar_gating = None + self._disable_community_labs = None + self._disable_community_labs_promotion = None + self._disable_email = None + self._disable_event_stream = None + self._disable_feedback_gating = None + self._disable_frontend_builds = None + self._disable_hello = None + self._disable_oculus_subs = None + self._disable_registration = None + self._disable_steam_networking = None + self._disable_two_factor_auth = None + self._disable_udon = None + self._disable_upgrade_account = None + self._download_link_windows = None + self._download_urls = None + self._dynamic_world_rows = None + self._events = None + self._gear_demo_room_id = None + self._home_world_id = None + self._homepage_redirect_target = None + self._hub_world_id = None + self._jobs_email = None + self._message_of_the_day = None + self._moderation_email = None + self._moderation_query_period = None + self._not_allowed_to_select_avatar_in_private_world_message = None + self._plugin = None + self._release_app_version_standalone = None + self._release_sdk_url = None + self._release_sdk_version = None + self._release_server_version_standalone = None + self._sdk_developer_faq_url = None + self._sdk_discord_url = None + self._sdk_not_allowed_to_publish_message = None + self._sdk_unity_version = None + self._server_name = None + self._support_email = None + self._time_out_world_id = None + self._tutorial_world_id = None + self._update_rate_ms_maximum = None + self._update_rate_ms_minimum = None + self._update_rate_ms_normal = None + self._update_rate_ms_udon_manual = None + self._upload_analysis_percent = None + self._url_list = None + self._use_reliable_udp_for_voice = None + self._user_update_period = None + self._user_verification_delay = None + self._user_verification_retry = None + self._user_verification_timeout = None + self._vive_windows_url = None + self._white_listed_asset_urls = None + self._world_update_period = None + self._player_url_resolver_hash = None + self._player_url_resolver_version = None + self.discriminator = None + + self.voice_enable_degradation = voice_enable_degradation + self.voice_enable_receiver_limiting = voice_enable_receiver_limiting + self.address = address + self.announcements = announcements + self.api_key = api_key + self.app_name = app_name + self.build_version_tag = build_version_tag + self.client_api_key = client_api_key + self.client_bps_ceiling = client_bps_ceiling + self.client_disconnect_timeout = client_disconnect_timeout + self.client_reserved_player_bps = client_reserved_player_bps + self.client_sent_count_allowance = client_sent_count_allowance + self.contact_email = contact_email + self.copyright_email = copyright_email + self.current_tos_version = current_tos_version + self.default_avatar = default_avatar + self.deployment_group = deployment_group + self.dev_app_version_standalone = dev_app_version_standalone + self.dev_download_link_windows = dev_download_link_windows + self.dev_sdk_url = dev_sdk_url + self.dev_sdk_version = dev_sdk_version + self.dev_server_version_standalone = dev_server_version_standalone + self.dis_countdown = dis_countdown + self.disable_avatar_copying = disable_avatar_copying + self.disable_avatar_gating = disable_avatar_gating + self.disable_community_labs = disable_community_labs + self.disable_community_labs_promotion = disable_community_labs_promotion + self.disable_email = disable_email + self.disable_event_stream = disable_event_stream + self.disable_feedback_gating = disable_feedback_gating + self.disable_frontend_builds = disable_frontend_builds + self.disable_hello = disable_hello + self.disable_oculus_subs = disable_oculus_subs + self.disable_registration = disable_registration + self.disable_steam_networking = disable_steam_networking + self.disable_two_factor_auth = disable_two_factor_auth + self.disable_udon = disable_udon + self.disable_upgrade_account = disable_upgrade_account + self.download_link_windows = download_link_windows + self.download_urls = download_urls + self.dynamic_world_rows = dynamic_world_rows + self.events = events + self.gear_demo_room_id = gear_demo_room_id + self.home_world_id = home_world_id + self.homepage_redirect_target = homepage_redirect_target + self.hub_world_id = hub_world_id + self.jobs_email = jobs_email + self.message_of_the_day = message_of_the_day + self.moderation_email = moderation_email + self.moderation_query_period = moderation_query_period + self.not_allowed_to_select_avatar_in_private_world_message = not_allowed_to_select_avatar_in_private_world_message + self.plugin = plugin + self.release_app_version_standalone = release_app_version_standalone + self.release_sdk_url = release_sdk_url + self.release_sdk_version = release_sdk_version + self.release_server_version_standalone = release_server_version_standalone + self.sdk_developer_faq_url = sdk_developer_faq_url + self.sdk_discord_url = sdk_discord_url + self.sdk_not_allowed_to_publish_message = sdk_not_allowed_to_publish_message + self.sdk_unity_version = sdk_unity_version + self.server_name = server_name + self.support_email = support_email + self.time_out_world_id = time_out_world_id + self.tutorial_world_id = tutorial_world_id + self.update_rate_ms_maximum = update_rate_ms_maximum + self.update_rate_ms_minimum = update_rate_ms_minimum + self.update_rate_ms_normal = update_rate_ms_normal + self.update_rate_ms_udon_manual = update_rate_ms_udon_manual + self.upload_analysis_percent = upload_analysis_percent + self.url_list = url_list + self.use_reliable_udp_for_voice = use_reliable_udp_for_voice + self.user_update_period = user_update_period + self.user_verification_delay = user_verification_delay + self.user_verification_retry = user_verification_retry + self.user_verification_timeout = user_verification_timeout + self.vive_windows_url = vive_windows_url + self.white_listed_asset_urls = white_listed_asset_urls + self.world_update_period = world_update_period + self.player_url_resolver_hash = player_url_resolver_hash + self.player_url_resolver_version = player_url_resolver_version + + @property + def voice_enable_degradation(self): + """Gets the voice_enable_degradation of this APIConfig. # noqa: E501 + + Unknown, probably voice optimization testing # noqa: E501 + + :return: The voice_enable_degradation of this APIConfig. # noqa: E501 + :rtype: bool + """ + return self._voice_enable_degradation + + @voice_enable_degradation.setter + def voice_enable_degradation(self, voice_enable_degradation): + """Sets the voice_enable_degradation of this APIConfig. + + Unknown, probably voice optimization testing # noqa: E501 + + :param voice_enable_degradation: The voice_enable_degradation of this APIConfig. # noqa: E501 + :type voice_enable_degradation: bool + """ + if self.local_vars_configuration.client_side_validation and voice_enable_degradation is None: # noqa: E501 + raise ValueError("Invalid value for `voice_enable_degradation`, must not be `None`") # noqa: E501 + + self._voice_enable_degradation = voice_enable_degradation + + @property + def voice_enable_receiver_limiting(self): + """Gets the voice_enable_receiver_limiting of this APIConfig. # noqa: E501 + + Unknown, probably voice optimization testing # noqa: E501 + + :return: The voice_enable_receiver_limiting of this APIConfig. # noqa: E501 + :rtype: bool + """ + return self._voice_enable_receiver_limiting + + @voice_enable_receiver_limiting.setter + def voice_enable_receiver_limiting(self, voice_enable_receiver_limiting): + """Sets the voice_enable_receiver_limiting of this APIConfig. + + Unknown, probably voice optimization testing # noqa: E501 + + :param voice_enable_receiver_limiting: The voice_enable_receiver_limiting of this APIConfig. # noqa: E501 + :type voice_enable_receiver_limiting: bool + """ + if self.local_vars_configuration.client_side_validation and voice_enable_receiver_limiting is None: # noqa: E501 + raise ValueError("Invalid value for `voice_enable_receiver_limiting`, must not be `None`") # noqa: E501 + + self._voice_enable_receiver_limiting = voice_enable_receiver_limiting + + @property + def address(self): + """Gets the address of this APIConfig. # noqa: E501 + + VRChat's office address # noqa: E501 + + :return: The address of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._address + + @address.setter + def address(self, address): + """Sets the address of this APIConfig. + + VRChat's office address # noqa: E501 + + :param address: The address of this APIConfig. # noqa: E501 + :type address: str + """ + if self.local_vars_configuration.client_side_validation and address is None: # noqa: E501 + raise ValueError("Invalid value for `address`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + address is not None and len(address) < 1): + raise ValueError("Invalid value for `address`, length must be greater than or equal to `1`") # noqa: E501 + + self._address = address + + @property + def announcements(self): + """Gets the announcements of this APIConfig. # noqa: E501 + + Public Announcements # noqa: E501 + + :return: The announcements of this APIConfig. # noqa: E501 + :rtype: list[PublicAnnouncement] + """ + return self._announcements + + @announcements.setter + def announcements(self, announcements): + """Sets the announcements of this APIConfig. + + Public Announcements # noqa: E501 + + :param announcements: The announcements of this APIConfig. # noqa: E501 + :type announcements: list[PublicAnnouncement] + """ + if self.local_vars_configuration.client_side_validation and announcements is None: # noqa: E501 + raise ValueError("Invalid value for `announcements`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + announcements is not None and len(announcements) < 0): + raise ValueError("Invalid value for `announcements`, number of items must be greater than or equal to `0`") # noqa: E501 + + self._announcements = announcements + + @property + def api_key(self): + """Gets the api_key of this APIConfig. # noqa: E501 + + apiKey to be used for all other requests # noqa: E501 + + :return: The api_key of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._api_key + + @api_key.setter + def api_key(self, api_key): + """Sets the api_key of this APIConfig. + + apiKey to be used for all other requests # noqa: E501 + + :param api_key: The api_key of this APIConfig. # noqa: E501 + :type api_key: str + """ + if self.local_vars_configuration.client_side_validation and api_key is None: # noqa: E501 + raise ValueError("Invalid value for `api_key`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + api_key is not None and len(api_key) < 1): + raise ValueError("Invalid value for `api_key`, length must be greater than or equal to `1`") # noqa: E501 + + self._api_key = api_key + + @property + def app_name(self): + """Gets the app_name of this APIConfig. # noqa: E501 + + Game name # noqa: E501 + + :return: The app_name of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._app_name + + @app_name.setter + def app_name(self, app_name): + """Sets the app_name of this APIConfig. + + Game name # noqa: E501 + + :param app_name: The app_name of this APIConfig. # noqa: E501 + :type app_name: str + """ + if self.local_vars_configuration.client_side_validation and app_name is None: # noqa: E501 + raise ValueError("Invalid value for `app_name`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + app_name is not None and len(app_name) < 1): + raise ValueError("Invalid value for `app_name`, length must be greater than or equal to `1`") # noqa: E501 + + self._app_name = app_name + + @property + def build_version_tag(self): + """Gets the build_version_tag of this APIConfig. # noqa: E501 + + Build tag of the API server # noqa: E501 + + :return: The build_version_tag of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._build_version_tag + + @build_version_tag.setter + def build_version_tag(self, build_version_tag): + """Sets the build_version_tag of this APIConfig. + + Build tag of the API server # noqa: E501 + + :param build_version_tag: The build_version_tag of this APIConfig. # noqa: E501 + :type build_version_tag: str + """ + if self.local_vars_configuration.client_side_validation and build_version_tag is None: # noqa: E501 + raise ValueError("Invalid value for `build_version_tag`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + build_version_tag is not None and len(build_version_tag) < 1): + raise ValueError("Invalid value for `build_version_tag`, length must be greater than or equal to `1`") # noqa: E501 + + self._build_version_tag = build_version_tag + + @property + def client_api_key(self): + """Gets the client_api_key of this APIConfig. # noqa: E501 + + apiKey to be used for all other requests # noqa: E501 + + :return: The client_api_key of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._client_api_key + + @client_api_key.setter + def client_api_key(self, client_api_key): + """Sets the client_api_key of this APIConfig. + + apiKey to be used for all other requests # noqa: E501 + + :param client_api_key: The client_api_key of this APIConfig. # noqa: E501 + :type client_api_key: str + """ + if self.local_vars_configuration.client_side_validation and client_api_key is None: # noqa: E501 + raise ValueError("Invalid value for `client_api_key`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + client_api_key is not None and len(client_api_key) < 1): + raise ValueError("Invalid value for `client_api_key`, length must be greater than or equal to `1`") # noqa: E501 + + self._client_api_key = client_api_key + + @property + def client_bps_ceiling(self): + """Gets the client_bps_ceiling of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The client_bps_ceiling of this APIConfig. # noqa: E501 + :rtype: int + """ + return self._client_bps_ceiling + + @client_bps_ceiling.setter + def client_bps_ceiling(self, client_bps_ceiling): + """Sets the client_bps_ceiling of this APIConfig. + + Unknown # noqa: E501 + + :param client_bps_ceiling: The client_bps_ceiling of this APIConfig. # noqa: E501 + :type client_bps_ceiling: int + """ + if self.local_vars_configuration.client_side_validation and client_bps_ceiling is None: # noqa: E501 + raise ValueError("Invalid value for `client_bps_ceiling`, must not be `None`") # noqa: E501 + + self._client_bps_ceiling = client_bps_ceiling + + @property + def client_disconnect_timeout(self): + """Gets the client_disconnect_timeout of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The client_disconnect_timeout of this APIConfig. # noqa: E501 + :rtype: int + """ + return self._client_disconnect_timeout + + @client_disconnect_timeout.setter + def client_disconnect_timeout(self, client_disconnect_timeout): + """Sets the client_disconnect_timeout of this APIConfig. + + Unknown # noqa: E501 + + :param client_disconnect_timeout: The client_disconnect_timeout of this APIConfig. # noqa: E501 + :type client_disconnect_timeout: int + """ + if self.local_vars_configuration.client_side_validation and client_disconnect_timeout is None: # noqa: E501 + raise ValueError("Invalid value for `client_disconnect_timeout`, must not be `None`") # noqa: E501 + + self._client_disconnect_timeout = client_disconnect_timeout + + @property + def client_reserved_player_bps(self): + """Gets the client_reserved_player_bps of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The client_reserved_player_bps of this APIConfig. # noqa: E501 + :rtype: int + """ + return self._client_reserved_player_bps + + @client_reserved_player_bps.setter + def client_reserved_player_bps(self, client_reserved_player_bps): + """Sets the client_reserved_player_bps of this APIConfig. + + Unknown # noqa: E501 + + :param client_reserved_player_bps: The client_reserved_player_bps of this APIConfig. # noqa: E501 + :type client_reserved_player_bps: int + """ + if self.local_vars_configuration.client_side_validation and client_reserved_player_bps is None: # noqa: E501 + raise ValueError("Invalid value for `client_reserved_player_bps`, must not be `None`") # noqa: E501 + + self._client_reserved_player_bps = client_reserved_player_bps + + @property + def client_sent_count_allowance(self): + """Gets the client_sent_count_allowance of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The client_sent_count_allowance of this APIConfig. # noqa: E501 + :rtype: int + """ + return self._client_sent_count_allowance + + @client_sent_count_allowance.setter + def client_sent_count_allowance(self, client_sent_count_allowance): + """Sets the client_sent_count_allowance of this APIConfig. + + Unknown # noqa: E501 + + :param client_sent_count_allowance: The client_sent_count_allowance of this APIConfig. # noqa: E501 + :type client_sent_count_allowance: int + """ + if self.local_vars_configuration.client_side_validation and client_sent_count_allowance is None: # noqa: E501 + raise ValueError("Invalid value for `client_sent_count_allowance`, must not be `None`") # noqa: E501 + + self._client_sent_count_allowance = client_sent_count_allowance + + @property + def contact_email(self): + """Gets the contact_email of this APIConfig. # noqa: E501 + + VRChat's contact email # noqa: E501 + + :return: The contact_email of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._contact_email + + @contact_email.setter + def contact_email(self, contact_email): + """Sets the contact_email of this APIConfig. + + VRChat's contact email # noqa: E501 + + :param contact_email: The contact_email of this APIConfig. # noqa: E501 + :type contact_email: str + """ + if self.local_vars_configuration.client_side_validation and contact_email is None: # noqa: E501 + raise ValueError("Invalid value for `contact_email`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + contact_email is not None and len(contact_email) < 1): + raise ValueError("Invalid value for `contact_email`, length must be greater than or equal to `1`") # noqa: E501 + + self._contact_email = contact_email + + @property + def copyright_email(self): + """Gets the copyright_email of this APIConfig. # noqa: E501 + + VRChat's copyright-issues-related email # noqa: E501 + + :return: The copyright_email of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._copyright_email + + @copyright_email.setter + def copyright_email(self, copyright_email): + """Sets the copyright_email of this APIConfig. + + VRChat's copyright-issues-related email # noqa: E501 + + :param copyright_email: The copyright_email of this APIConfig. # noqa: E501 + :type copyright_email: str + """ + if self.local_vars_configuration.client_side_validation and copyright_email is None: # noqa: E501 + raise ValueError("Invalid value for `copyright_email`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + copyright_email is not None and len(copyright_email) < 1): + raise ValueError("Invalid value for `copyright_email`, length must be greater than or equal to `1`") # noqa: E501 + + self._copyright_email = copyright_email + + @property + def current_tos_version(self): + """Gets the current_tos_version of this APIConfig. # noqa: E501 + + Current version number of the Terms of Service # noqa: E501 + + :return: The current_tos_version of this APIConfig. # noqa: E501 + :rtype: int + """ + return self._current_tos_version + + @current_tos_version.setter + def current_tos_version(self, current_tos_version): + """Sets the current_tos_version of this APIConfig. + + Current version number of the Terms of Service # noqa: E501 + + :param current_tos_version: The current_tos_version of this APIConfig. # noqa: E501 + :type current_tos_version: int + """ + if self.local_vars_configuration.client_side_validation and current_tos_version is None: # noqa: E501 + raise ValueError("Invalid value for `current_tos_version`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + current_tos_version is not None and current_tos_version < 0): # noqa: E501 + raise ValueError("Invalid value for `current_tos_version`, must be a value greater than or equal to `0`") # noqa: E501 + + self._current_tos_version = current_tos_version + + @property + def default_avatar(self): + """Gets the default_avatar of this APIConfig. # noqa: E501 + + + :return: The default_avatar of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._default_avatar + + @default_avatar.setter + def default_avatar(self, default_avatar): + """Sets the default_avatar of this APIConfig. + + + :param default_avatar: The default_avatar of this APIConfig. # noqa: E501 + :type default_avatar: str + """ + if self.local_vars_configuration.client_side_validation and default_avatar is None: # noqa: E501 + raise ValueError("Invalid value for `default_avatar`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + default_avatar is not None and not re.search(r'avtr_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', default_avatar)): # noqa: E501 + raise ValueError(r"Invalid value for `default_avatar`, must be a follow pattern or equal to `/avtr_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + + self._default_avatar = default_avatar + + @property + def deployment_group(self): + """Gets the deployment_group of this APIConfig. # noqa: E501 + + + :return: The deployment_group of this APIConfig. # noqa: E501 + :rtype: DeploymentGroup + """ + return self._deployment_group + + @deployment_group.setter + def deployment_group(self, deployment_group): + """Sets the deployment_group of this APIConfig. + + + :param deployment_group: The deployment_group of this APIConfig. # noqa: E501 + :type deployment_group: DeploymentGroup + """ + if self.local_vars_configuration.client_side_validation and deployment_group is None: # noqa: E501 + raise ValueError("Invalid value for `deployment_group`, must not be `None`") # noqa: E501 + + self._deployment_group = deployment_group + + @property + def dev_app_version_standalone(self): + """Gets the dev_app_version_standalone of this APIConfig. # noqa: E501 + + Version number for game development build # noqa: E501 + + :return: The dev_app_version_standalone of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._dev_app_version_standalone + + @dev_app_version_standalone.setter + def dev_app_version_standalone(self, dev_app_version_standalone): + """Sets the dev_app_version_standalone of this APIConfig. + + Version number for game development build # noqa: E501 + + :param dev_app_version_standalone: The dev_app_version_standalone of this APIConfig. # noqa: E501 + :type dev_app_version_standalone: str + """ + if self.local_vars_configuration.client_side_validation and dev_app_version_standalone is None: # noqa: E501 + raise ValueError("Invalid value for `dev_app_version_standalone`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + dev_app_version_standalone is not None and len(dev_app_version_standalone) < 1): + raise ValueError("Invalid value for `dev_app_version_standalone`, length must be greater than or equal to `1`") # noqa: E501 + + self._dev_app_version_standalone = dev_app_version_standalone + + @property + def dev_download_link_windows(self): + """Gets the dev_download_link_windows of this APIConfig. # noqa: E501 + + Developer Download link # noqa: E501 + + :return: The dev_download_link_windows of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._dev_download_link_windows + + @dev_download_link_windows.setter + def dev_download_link_windows(self, dev_download_link_windows): + """Sets the dev_download_link_windows of this APIConfig. + + Developer Download link # noqa: E501 + + :param dev_download_link_windows: The dev_download_link_windows of this APIConfig. # noqa: E501 + :type dev_download_link_windows: str + """ + if self.local_vars_configuration.client_side_validation and dev_download_link_windows is None: # noqa: E501 + raise ValueError("Invalid value for `dev_download_link_windows`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + dev_download_link_windows is not None and len(dev_download_link_windows) < 1): + raise ValueError("Invalid value for `dev_download_link_windows`, length must be greater than or equal to `1`") # noqa: E501 + + self._dev_download_link_windows = dev_download_link_windows + + @property + def dev_sdk_url(self): + """Gets the dev_sdk_url of this APIConfig. # noqa: E501 + + Link to download the development SDK, use downloadUrls instead # noqa: E501 + + :return: The dev_sdk_url of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._dev_sdk_url + + @dev_sdk_url.setter + def dev_sdk_url(self, dev_sdk_url): + """Sets the dev_sdk_url of this APIConfig. + + Link to download the development SDK, use downloadUrls instead # noqa: E501 + + :param dev_sdk_url: The dev_sdk_url of this APIConfig. # noqa: E501 + :type dev_sdk_url: str + """ + if self.local_vars_configuration.client_side_validation and dev_sdk_url is None: # noqa: E501 + raise ValueError("Invalid value for `dev_sdk_url`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + dev_sdk_url is not None and len(dev_sdk_url) < 1): + raise ValueError("Invalid value for `dev_sdk_url`, length must be greater than or equal to `1`") # noqa: E501 + + self._dev_sdk_url = dev_sdk_url + + @property + def dev_sdk_version(self): + """Gets the dev_sdk_version of this APIConfig. # noqa: E501 + + Version of the development SDK # noqa: E501 + + :return: The dev_sdk_version of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._dev_sdk_version + + @dev_sdk_version.setter + def dev_sdk_version(self, dev_sdk_version): + """Sets the dev_sdk_version of this APIConfig. + + Version of the development SDK # noqa: E501 + + :param dev_sdk_version: The dev_sdk_version of this APIConfig. # noqa: E501 + :type dev_sdk_version: str + """ + if self.local_vars_configuration.client_side_validation and dev_sdk_version is None: # noqa: E501 + raise ValueError("Invalid value for `dev_sdk_version`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + dev_sdk_version is not None and len(dev_sdk_version) < 1): + raise ValueError("Invalid value for `dev_sdk_version`, length must be greater than or equal to `1`") # noqa: E501 + + self._dev_sdk_version = dev_sdk_version + + @property + def dev_server_version_standalone(self): + """Gets the dev_server_version_standalone of this APIConfig. # noqa: E501 + + Version number for server development build # noqa: E501 + + :return: The dev_server_version_standalone of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._dev_server_version_standalone + + @dev_server_version_standalone.setter + def dev_server_version_standalone(self, dev_server_version_standalone): + """Sets the dev_server_version_standalone of this APIConfig. + + Version number for server development build # noqa: E501 + + :param dev_server_version_standalone: The dev_server_version_standalone of this APIConfig. # noqa: E501 + :type dev_server_version_standalone: str + """ + if self.local_vars_configuration.client_side_validation and dev_server_version_standalone is None: # noqa: E501 + raise ValueError("Invalid value for `dev_server_version_standalone`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + dev_server_version_standalone is not None and len(dev_server_version_standalone) < 1): + raise ValueError("Invalid value for `dev_server_version_standalone`, length must be greater than or equal to `1`") # noqa: E501 + + self._dev_server_version_standalone = dev_server_version_standalone + + @property + def dis_countdown(self): + """Gets the dis_countdown of this APIConfig. # noqa: E501 + + Unknown, \"dis\" maybe for disconnect? # noqa: E501 + + :return: The dis_countdown of this APIConfig. # noqa: E501 + :rtype: datetime + """ + return self._dis_countdown + + @dis_countdown.setter + def dis_countdown(self, dis_countdown): + """Sets the dis_countdown of this APIConfig. + + Unknown, \"dis\" maybe for disconnect? # noqa: E501 + + :param dis_countdown: The dis_countdown of this APIConfig. # noqa: E501 + :type dis_countdown: datetime + """ + if self.local_vars_configuration.client_side_validation and dis_countdown is None: # noqa: E501 + raise ValueError("Invalid value for `dis_countdown`, must not be `None`") # noqa: E501 + + self._dis_countdown = dis_countdown + + @property + def disable_avatar_copying(self): + """Gets the disable_avatar_copying of this APIConfig. # noqa: E501 + + Toggles if copying avatars should be disabled # noqa: E501 + + :return: The disable_avatar_copying of this APIConfig. # noqa: E501 + :rtype: bool + """ + return self._disable_avatar_copying + + @disable_avatar_copying.setter + def disable_avatar_copying(self, disable_avatar_copying): + """Sets the disable_avatar_copying of this APIConfig. + + Toggles if copying avatars should be disabled # noqa: E501 + + :param disable_avatar_copying: The disable_avatar_copying of this APIConfig. # noqa: E501 + :type disable_avatar_copying: bool + """ + if self.local_vars_configuration.client_side_validation and disable_avatar_copying is None: # noqa: E501 + raise ValueError("Invalid value for `disable_avatar_copying`, must not be `None`") # noqa: E501 + + self._disable_avatar_copying = disable_avatar_copying + + @property + def disable_avatar_gating(self): + """Gets the disable_avatar_gating of this APIConfig. # noqa: E501 + + Toggles if avatar gating should be disabled. Avatar gating restricts uploading of avatars to people with the `system_avatar_access` Tag or `admin_avatar_access` Tag # noqa: E501 + + :return: The disable_avatar_gating of this APIConfig. # noqa: E501 + :rtype: bool + """ + return self._disable_avatar_gating + + @disable_avatar_gating.setter + def disable_avatar_gating(self, disable_avatar_gating): + """Sets the disable_avatar_gating of this APIConfig. + + Toggles if avatar gating should be disabled. Avatar gating restricts uploading of avatars to people with the `system_avatar_access` Tag or `admin_avatar_access` Tag # noqa: E501 + + :param disable_avatar_gating: The disable_avatar_gating of this APIConfig. # noqa: E501 + :type disable_avatar_gating: bool + """ + if self.local_vars_configuration.client_side_validation and disable_avatar_gating is None: # noqa: E501 + raise ValueError("Invalid value for `disable_avatar_gating`, must not be `None`") # noqa: E501 + + self._disable_avatar_gating = disable_avatar_gating + + @property + def disable_community_labs(self): + """Gets the disable_community_labs of this APIConfig. # noqa: E501 + + Toggles if the Community Labs should be disabled # noqa: E501 + + :return: The disable_community_labs of this APIConfig. # noqa: E501 + :rtype: bool + """ + return self._disable_community_labs + + @disable_community_labs.setter + def disable_community_labs(self, disable_community_labs): + """Sets the disable_community_labs of this APIConfig. + + Toggles if the Community Labs should be disabled # noqa: E501 + + :param disable_community_labs: The disable_community_labs of this APIConfig. # noqa: E501 + :type disable_community_labs: bool + """ + if self.local_vars_configuration.client_side_validation and disable_community_labs is None: # noqa: E501 + raise ValueError("Invalid value for `disable_community_labs`, must not be `None`") # noqa: E501 + + self._disable_community_labs = disable_community_labs + + @property + def disable_community_labs_promotion(self): + """Gets the disable_community_labs_promotion of this APIConfig. # noqa: E501 + + Toggles if promotion out of Community Labs should be disabled # noqa: E501 + + :return: The disable_community_labs_promotion of this APIConfig. # noqa: E501 + :rtype: bool + """ + return self._disable_community_labs_promotion + + @disable_community_labs_promotion.setter + def disable_community_labs_promotion(self, disable_community_labs_promotion): + """Sets the disable_community_labs_promotion of this APIConfig. + + Toggles if promotion out of Community Labs should be disabled # noqa: E501 + + :param disable_community_labs_promotion: The disable_community_labs_promotion of this APIConfig. # noqa: E501 + :type disable_community_labs_promotion: bool + """ + if self.local_vars_configuration.client_side_validation and disable_community_labs_promotion is None: # noqa: E501 + raise ValueError("Invalid value for `disable_community_labs_promotion`, must not be `None`") # noqa: E501 + + self._disable_community_labs_promotion = disable_community_labs_promotion + + @property + def disable_email(self): + """Gets the disable_email of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The disable_email of this APIConfig. # noqa: E501 + :rtype: bool + """ + return self._disable_email + + @disable_email.setter + def disable_email(self, disable_email): + """Sets the disable_email of this APIConfig. + + Unknown # noqa: E501 + + :param disable_email: The disable_email of this APIConfig. # noqa: E501 + :type disable_email: bool + """ + if self.local_vars_configuration.client_side_validation and disable_email is None: # noqa: E501 + raise ValueError("Invalid value for `disable_email`, must not be `None`") # noqa: E501 + + self._disable_email = disable_email + + @property + def disable_event_stream(self): + """Gets the disable_event_stream of this APIConfig. # noqa: E501 + + Toggles if Analytics should be disabled. # noqa: E501 + + :return: The disable_event_stream of this APIConfig. # noqa: E501 + :rtype: bool + """ + return self._disable_event_stream + + @disable_event_stream.setter + def disable_event_stream(self, disable_event_stream): + """Sets the disable_event_stream of this APIConfig. + + Toggles if Analytics should be disabled. # noqa: E501 + + :param disable_event_stream: The disable_event_stream of this APIConfig. # noqa: E501 + :type disable_event_stream: bool + """ + if self.local_vars_configuration.client_side_validation and disable_event_stream is None: # noqa: E501 + raise ValueError("Invalid value for `disable_event_stream`, must not be `None`") # noqa: E501 + + self._disable_event_stream = disable_event_stream + + @property + def disable_feedback_gating(self): + """Gets the disable_feedback_gating of this APIConfig. # noqa: E501 + + Toggles if feedback gating should be disabled. Feedback gating restricts submission of feedback (reporting a World or User) to people with the `system_feedback_access` Tag. # noqa: E501 + + :return: The disable_feedback_gating of this APIConfig. # noqa: E501 + :rtype: bool + """ + return self._disable_feedback_gating + + @disable_feedback_gating.setter + def disable_feedback_gating(self, disable_feedback_gating): + """Sets the disable_feedback_gating of this APIConfig. + + Toggles if feedback gating should be disabled. Feedback gating restricts submission of feedback (reporting a World or User) to people with the `system_feedback_access` Tag. # noqa: E501 + + :param disable_feedback_gating: The disable_feedback_gating of this APIConfig. # noqa: E501 + :type disable_feedback_gating: bool + """ + if self.local_vars_configuration.client_side_validation and disable_feedback_gating is None: # noqa: E501 + raise ValueError("Invalid value for `disable_feedback_gating`, must not be `None`") # noqa: E501 + + self._disable_feedback_gating = disable_feedback_gating + + @property + def disable_frontend_builds(self): + """Gets the disable_frontend_builds of this APIConfig. # noqa: E501 + + Unknown, probably toggles compilation of frontend web builds? So internal flag? # noqa: E501 + + :return: The disable_frontend_builds of this APIConfig. # noqa: E501 + :rtype: bool + """ + return self._disable_frontend_builds + + @disable_frontend_builds.setter + def disable_frontend_builds(self, disable_frontend_builds): + """Sets the disable_frontend_builds of this APIConfig. + + Unknown, probably toggles compilation of frontend web builds? So internal flag? # noqa: E501 + + :param disable_frontend_builds: The disable_frontend_builds of this APIConfig. # noqa: E501 + :type disable_frontend_builds: bool + """ + if self.local_vars_configuration.client_side_validation and disable_frontend_builds is None: # noqa: E501 + raise ValueError("Invalid value for `disable_frontend_builds`, must not be `None`") # noqa: E501 + + self._disable_frontend_builds = disable_frontend_builds + + @property + def disable_hello(self): + """Gets the disable_hello of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The disable_hello of this APIConfig. # noqa: E501 + :rtype: bool + """ + return self._disable_hello + + @disable_hello.setter + def disable_hello(self, disable_hello): + """Sets the disable_hello of this APIConfig. + + Unknown # noqa: E501 + + :param disable_hello: The disable_hello of this APIConfig. # noqa: E501 + :type disable_hello: bool + """ + if self.local_vars_configuration.client_side_validation and disable_hello is None: # noqa: E501 + raise ValueError("Invalid value for `disable_hello`, must not be `None`") # noqa: E501 + + self._disable_hello = disable_hello + + @property + def disable_oculus_subs(self): + """Gets the disable_oculus_subs of this APIConfig. # noqa: E501 + + Toggles if signing up for Subscriptions in Oculus is disabled or not. # noqa: E501 + + :return: The disable_oculus_subs of this APIConfig. # noqa: E501 + :rtype: bool + """ + return self._disable_oculus_subs + + @disable_oculus_subs.setter + def disable_oculus_subs(self, disable_oculus_subs): + """Sets the disable_oculus_subs of this APIConfig. + + Toggles if signing up for Subscriptions in Oculus is disabled or not. # noqa: E501 + + :param disable_oculus_subs: The disable_oculus_subs of this APIConfig. # noqa: E501 + :type disable_oculus_subs: bool + """ + if self.local_vars_configuration.client_side_validation and disable_oculus_subs is None: # noqa: E501 + raise ValueError("Invalid value for `disable_oculus_subs`, must not be `None`") # noqa: E501 + + self._disable_oculus_subs = disable_oculus_subs + + @property + def disable_registration(self): + """Gets the disable_registration of this APIConfig. # noqa: E501 + + Toggles if new user account registration should be disabled. # noqa: E501 + + :return: The disable_registration of this APIConfig. # noqa: E501 + :rtype: bool + """ + return self._disable_registration + + @disable_registration.setter + def disable_registration(self, disable_registration): + """Sets the disable_registration of this APIConfig. + + Toggles if new user account registration should be disabled. # noqa: E501 + + :param disable_registration: The disable_registration of this APIConfig. # noqa: E501 + :type disable_registration: bool + """ + if self.local_vars_configuration.client_side_validation and disable_registration is None: # noqa: E501 + raise ValueError("Invalid value for `disable_registration`, must not be `None`") # noqa: E501 + + self._disable_registration = disable_registration + + @property + def disable_steam_networking(self): + """Gets the disable_steam_networking of this APIConfig. # noqa: E501 + + Toggles if Steam Networking should be disabled. VRChat these days uses Photon Unity Networking (PUN) instead. # noqa: E501 + + :return: The disable_steam_networking of this APIConfig. # noqa: E501 + :rtype: bool + """ + return self._disable_steam_networking + + @disable_steam_networking.setter + def disable_steam_networking(self, disable_steam_networking): + """Sets the disable_steam_networking of this APIConfig. + + Toggles if Steam Networking should be disabled. VRChat these days uses Photon Unity Networking (PUN) instead. # noqa: E501 + + :param disable_steam_networking: The disable_steam_networking of this APIConfig. # noqa: E501 + :type disable_steam_networking: bool + """ + if self.local_vars_configuration.client_side_validation and disable_steam_networking is None: # noqa: E501 + raise ValueError("Invalid value for `disable_steam_networking`, must not be `None`") # noqa: E501 + + self._disable_steam_networking = disable_steam_networking + + @property + def disable_two_factor_auth(self): + """Gets the disable_two_factor_auth of this APIConfig. # noqa: E501 + + Toggles if 2FA should be disabled. # noqa: E501 + + :return: The disable_two_factor_auth of this APIConfig. # noqa: E501 + :rtype: bool + """ + return self._disable_two_factor_auth + + @disable_two_factor_auth.setter + def disable_two_factor_auth(self, disable_two_factor_auth): + """Sets the disable_two_factor_auth of this APIConfig. + + Toggles if 2FA should be disabled. # noqa: E501 + + :param disable_two_factor_auth: The disable_two_factor_auth of this APIConfig. # noqa: E501 + :type disable_two_factor_auth: bool + """ + if self.local_vars_configuration.client_side_validation and disable_two_factor_auth is None: # noqa: E501 + raise ValueError("Invalid value for `disable_two_factor_auth`, must not be `None`") # noqa: E501 + + self._disable_two_factor_auth = disable_two_factor_auth + + @property + def disable_udon(self): + """Gets the disable_udon of this APIConfig. # noqa: E501 + + Toggles if Udon should be universally disabled in-game. # noqa: E501 + + :return: The disable_udon of this APIConfig. # noqa: E501 + :rtype: bool + """ + return self._disable_udon + + @disable_udon.setter + def disable_udon(self, disable_udon): + """Sets the disable_udon of this APIConfig. + + Toggles if Udon should be universally disabled in-game. # noqa: E501 + + :param disable_udon: The disable_udon of this APIConfig. # noqa: E501 + :type disable_udon: bool + """ + if self.local_vars_configuration.client_side_validation and disable_udon is None: # noqa: E501 + raise ValueError("Invalid value for `disable_udon`, must not be `None`") # noqa: E501 + + self._disable_udon = disable_udon + + @property + def disable_upgrade_account(self): + """Gets the disable_upgrade_account of this APIConfig. # noqa: E501 + + Toggles if account upgrading \"linking with Steam/Oculus\" should be disabled. # noqa: E501 + + :return: The disable_upgrade_account of this APIConfig. # noqa: E501 + :rtype: bool + """ + return self._disable_upgrade_account + + @disable_upgrade_account.setter + def disable_upgrade_account(self, disable_upgrade_account): + """Sets the disable_upgrade_account of this APIConfig. + + Toggles if account upgrading \"linking with Steam/Oculus\" should be disabled. # noqa: E501 + + :param disable_upgrade_account: The disable_upgrade_account of this APIConfig. # noqa: E501 + :type disable_upgrade_account: bool + """ + if self.local_vars_configuration.client_side_validation and disable_upgrade_account is None: # noqa: E501 + raise ValueError("Invalid value for `disable_upgrade_account`, must not be `None`") # noqa: E501 + + self._disable_upgrade_account = disable_upgrade_account + + @property + def download_link_windows(self): + """Gets the download_link_windows of this APIConfig. # noqa: E501 + + Download link for game on the Oculus Rift website. # noqa: E501 + + :return: The download_link_windows of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._download_link_windows + + @download_link_windows.setter + def download_link_windows(self, download_link_windows): + """Sets the download_link_windows of this APIConfig. + + Download link for game on the Oculus Rift website. # noqa: E501 + + :param download_link_windows: The download_link_windows of this APIConfig. # noqa: E501 + :type download_link_windows: str + """ + if self.local_vars_configuration.client_side_validation and download_link_windows is None: # noqa: E501 + raise ValueError("Invalid value for `download_link_windows`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + download_link_windows is not None and len(download_link_windows) < 1): + raise ValueError("Invalid value for `download_link_windows`, length must be greater than or equal to `1`") # noqa: E501 + + self._download_link_windows = download_link_windows + + @property + def download_urls(self): + """Gets the download_urls of this APIConfig. # noqa: E501 + + + :return: The download_urls of this APIConfig. # noqa: E501 + :rtype: DownloadURLList + """ + return self._download_urls + + @download_urls.setter + def download_urls(self, download_urls): + """Sets the download_urls of this APIConfig. + + + :param download_urls: The download_urls of this APIConfig. # noqa: E501 + :type download_urls: DownloadURLList + """ + if self.local_vars_configuration.client_side_validation and download_urls is None: # noqa: E501 + raise ValueError("Invalid value for `download_urls`, must not be `None`") # noqa: E501 + + self._download_urls = download_urls + + @property + def dynamic_world_rows(self): + """Gets the dynamic_world_rows of this APIConfig. # noqa: E501 + + Array of DynamicWorldRow objects, used by the game to display the list of world rows # noqa: E501 + + :return: The dynamic_world_rows of this APIConfig. # noqa: E501 + :rtype: list[DynamicContentRow] + """ + return self._dynamic_world_rows + + @dynamic_world_rows.setter + def dynamic_world_rows(self, dynamic_world_rows): + """Sets the dynamic_world_rows of this APIConfig. + + Array of DynamicWorldRow objects, used by the game to display the list of world rows # noqa: E501 + + :param dynamic_world_rows: The dynamic_world_rows of this APIConfig. # noqa: E501 + :type dynamic_world_rows: list[DynamicContentRow] + """ + if self.local_vars_configuration.client_side_validation and dynamic_world_rows is None: # noqa: E501 + raise ValueError("Invalid value for `dynamic_world_rows`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + dynamic_world_rows is not None and len(dynamic_world_rows) < 1): + raise ValueError("Invalid value for `dynamic_world_rows`, number of items must be greater than or equal to `1`") # noqa: E501 + + self._dynamic_world_rows = dynamic_world_rows + + @property + def events(self): + """Gets the events of this APIConfig. # noqa: E501 + + + :return: The events of this APIConfig. # noqa: E501 + :rtype: APIEventConfig + """ + return self._events + + @events.setter + def events(self, events): + """Sets the events of this APIConfig. + + + :param events: The events of this APIConfig. # noqa: E501 + :type events: APIEventConfig + """ + if self.local_vars_configuration.client_side_validation and events is None: # noqa: E501 + raise ValueError("Invalid value for `events`, must not be `None`") # noqa: E501 + + self._events = events + + @property + def gear_demo_room_id(self): + """Gets the gear_demo_room_id of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The gear_demo_room_id of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._gear_demo_room_id + + @gear_demo_room_id.setter + def gear_demo_room_id(self, gear_demo_room_id): + """Sets the gear_demo_room_id of this APIConfig. + + Unknown # noqa: E501 + + :param gear_demo_room_id: The gear_demo_room_id of this APIConfig. # noqa: E501 + :type gear_demo_room_id: str + """ + if self.local_vars_configuration.client_side_validation and gear_demo_room_id is None: # noqa: E501 + raise ValueError("Invalid value for `gear_demo_room_id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + gear_demo_room_id is not None and len(gear_demo_room_id) < 1): + raise ValueError("Invalid value for `gear_demo_room_id`, length must be greater than or equal to `1`") # noqa: E501 + + self._gear_demo_room_id = gear_demo_room_id + + @property + def home_world_id(self): + """Gets the home_world_id of this APIConfig. # noqa: E501 + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :return: The home_world_id of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._home_world_id + + @home_world_id.setter + def home_world_id(self, home_world_id): + """Sets the home_world_id of this APIConfig. + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :param home_world_id: The home_world_id of this APIConfig. # noqa: E501 + :type home_world_id: str + """ + if self.local_vars_configuration.client_side_validation and home_world_id is None: # noqa: E501 + raise ValueError("Invalid value for `home_world_id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + home_world_id is not None and not re.search(r'(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})', home_world_id)): # noqa: E501 + raise ValueError(r"Invalid value for `home_world_id`, must be a follow pattern or equal to `/(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})/`") # noqa: E501 + + self._home_world_id = home_world_id + + @property + def homepage_redirect_target(self): + """Gets the homepage_redirect_target of this APIConfig. # noqa: E501 + + Redirect target if you try to open the base API domain in your browser # noqa: E501 + + :return: The homepage_redirect_target of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._homepage_redirect_target + + @homepage_redirect_target.setter + def homepage_redirect_target(self, homepage_redirect_target): + """Sets the homepage_redirect_target of this APIConfig. + + Redirect target if you try to open the base API domain in your browser # noqa: E501 + + :param homepage_redirect_target: The homepage_redirect_target of this APIConfig. # noqa: E501 + :type homepage_redirect_target: str + """ + if self.local_vars_configuration.client_side_validation and homepage_redirect_target is None: # noqa: E501 + raise ValueError("Invalid value for `homepage_redirect_target`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + homepage_redirect_target is not None and len(homepage_redirect_target) < 1): + raise ValueError("Invalid value for `homepage_redirect_target`, length must be greater than or equal to `1`") # noqa: E501 + + self._homepage_redirect_target = homepage_redirect_target + + @property + def hub_world_id(self): + """Gets the hub_world_id of this APIConfig. # noqa: E501 + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :return: The hub_world_id of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._hub_world_id + + @hub_world_id.setter + def hub_world_id(self, hub_world_id): + """Sets the hub_world_id of this APIConfig. + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :param hub_world_id: The hub_world_id of this APIConfig. # noqa: E501 + :type hub_world_id: str + """ + if self.local_vars_configuration.client_side_validation and hub_world_id is None: # noqa: E501 + raise ValueError("Invalid value for `hub_world_id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + hub_world_id is not None and not re.search(r'(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})', hub_world_id)): # noqa: E501 + raise ValueError(r"Invalid value for `hub_world_id`, must be a follow pattern or equal to `/(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})/`") # noqa: E501 + + self._hub_world_id = hub_world_id + + @property + def jobs_email(self): + """Gets the jobs_email of this APIConfig. # noqa: E501 + + VRChat's job application email # noqa: E501 + + :return: The jobs_email of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._jobs_email + + @jobs_email.setter + def jobs_email(self, jobs_email): + """Sets the jobs_email of this APIConfig. + + VRChat's job application email # noqa: E501 + + :param jobs_email: The jobs_email of this APIConfig. # noqa: E501 + :type jobs_email: str + """ + if self.local_vars_configuration.client_side_validation and jobs_email is None: # noqa: E501 + raise ValueError("Invalid value for `jobs_email`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + jobs_email is not None and len(jobs_email) < 1): + raise ValueError("Invalid value for `jobs_email`, length must be greater than or equal to `1`") # noqa: E501 + + self._jobs_email = jobs_email + + @property + def message_of_the_day(self): + """Gets the message_of_the_day of this APIConfig. # noqa: E501 + + MOTD # noqa: E501 + + :return: The message_of_the_day of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._message_of_the_day + + @message_of_the_day.setter + def message_of_the_day(self, message_of_the_day): + """Sets the message_of_the_day of this APIConfig. + + MOTD # noqa: E501 + + :param message_of_the_day: The message_of_the_day of this APIConfig. # noqa: E501 + :type message_of_the_day: str + """ + if self.local_vars_configuration.client_side_validation and message_of_the_day is None: # noqa: E501 + raise ValueError("Invalid value for `message_of_the_day`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + message_of_the_day is not None and len(message_of_the_day) < 1): + raise ValueError("Invalid value for `message_of_the_day`, length must be greater than or equal to `1`") # noqa: E501 + + self._message_of_the_day = message_of_the_day + + @property + def moderation_email(self): + """Gets the moderation_email of this APIConfig. # noqa: E501 + + VRChat's moderation related email # noqa: E501 + + :return: The moderation_email of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._moderation_email + + @moderation_email.setter + def moderation_email(self, moderation_email): + """Sets the moderation_email of this APIConfig. + + VRChat's moderation related email # noqa: E501 + + :param moderation_email: The moderation_email of this APIConfig. # noqa: E501 + :type moderation_email: str + """ + if self.local_vars_configuration.client_side_validation and moderation_email is None: # noqa: E501 + raise ValueError("Invalid value for `moderation_email`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + moderation_email is not None and len(moderation_email) < 1): + raise ValueError("Invalid value for `moderation_email`, length must be greater than or equal to `1`") # noqa: E501 + + self._moderation_email = moderation_email + + @property + def moderation_query_period(self): + """Gets the moderation_query_period of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The moderation_query_period of this APIConfig. # noqa: E501 + :rtype: int + """ + return self._moderation_query_period + + @moderation_query_period.setter + def moderation_query_period(self, moderation_query_period): + """Sets the moderation_query_period of this APIConfig. + + Unknown # noqa: E501 + + :param moderation_query_period: The moderation_query_period of this APIConfig. # noqa: E501 + :type moderation_query_period: int + """ + if self.local_vars_configuration.client_side_validation and moderation_query_period is None: # noqa: E501 + raise ValueError("Invalid value for `moderation_query_period`, must not be `None`") # noqa: E501 + + self._moderation_query_period = moderation_query_period + + @property + def not_allowed_to_select_avatar_in_private_world_message(self): + """Gets the not_allowed_to_select_avatar_in_private_world_message of this APIConfig. # noqa: E501 + + Used in-game to notify a user they aren't allowed to select avatars in private worlds # noqa: E501 + + :return: The not_allowed_to_select_avatar_in_private_world_message of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._not_allowed_to_select_avatar_in_private_world_message + + @not_allowed_to_select_avatar_in_private_world_message.setter + def not_allowed_to_select_avatar_in_private_world_message(self, not_allowed_to_select_avatar_in_private_world_message): + """Sets the not_allowed_to_select_avatar_in_private_world_message of this APIConfig. + + Used in-game to notify a user they aren't allowed to select avatars in private worlds # noqa: E501 + + :param not_allowed_to_select_avatar_in_private_world_message: The not_allowed_to_select_avatar_in_private_world_message of this APIConfig. # noqa: E501 + :type not_allowed_to_select_avatar_in_private_world_message: str + """ + if self.local_vars_configuration.client_side_validation and not_allowed_to_select_avatar_in_private_world_message is None: # noqa: E501 + raise ValueError("Invalid value for `not_allowed_to_select_avatar_in_private_world_message`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + not_allowed_to_select_avatar_in_private_world_message is not None and len(not_allowed_to_select_avatar_in_private_world_message) < 1): + raise ValueError("Invalid value for `not_allowed_to_select_avatar_in_private_world_message`, length must be greater than or equal to `1`") # noqa: E501 + + self._not_allowed_to_select_avatar_in_private_world_message = not_allowed_to_select_avatar_in_private_world_message + + @property + def plugin(self): + """Gets the plugin of this APIConfig. # noqa: E501 + + Extra [plugin](https://doc.photonengine.com/en-us/server/current/plugins/manual) to run in each instance # noqa: E501 + + :return: The plugin of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._plugin + + @plugin.setter + def plugin(self, plugin): + """Sets the plugin of this APIConfig. + + Extra [plugin](https://doc.photonengine.com/en-us/server/current/plugins/manual) to run in each instance # noqa: E501 + + :param plugin: The plugin of this APIConfig. # noqa: E501 + :type plugin: str + """ + if self.local_vars_configuration.client_side_validation and plugin is None: # noqa: E501 + raise ValueError("Invalid value for `plugin`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + plugin is not None and len(plugin) < 1): + raise ValueError("Invalid value for `plugin`, length must be greater than or equal to `1`") # noqa: E501 + + self._plugin = plugin + + @property + def release_app_version_standalone(self): + """Gets the release_app_version_standalone of this APIConfig. # noqa: E501 + + Version number for game release build # noqa: E501 + + :return: The release_app_version_standalone of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._release_app_version_standalone + + @release_app_version_standalone.setter + def release_app_version_standalone(self, release_app_version_standalone): + """Sets the release_app_version_standalone of this APIConfig. + + Version number for game release build # noqa: E501 + + :param release_app_version_standalone: The release_app_version_standalone of this APIConfig. # noqa: E501 + :type release_app_version_standalone: str + """ + if self.local_vars_configuration.client_side_validation and release_app_version_standalone is None: # noqa: E501 + raise ValueError("Invalid value for `release_app_version_standalone`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + release_app_version_standalone is not None and len(release_app_version_standalone) < 1): + raise ValueError("Invalid value for `release_app_version_standalone`, length must be greater than or equal to `1`") # noqa: E501 + + self._release_app_version_standalone = release_app_version_standalone + + @property + def release_sdk_url(self): + """Gets the release_sdk_url of this APIConfig. # noqa: E501 + + Link to download the release SDK # noqa: E501 + + :return: The release_sdk_url of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._release_sdk_url + + @release_sdk_url.setter + def release_sdk_url(self, release_sdk_url): + """Sets the release_sdk_url of this APIConfig. + + Link to download the release SDK # noqa: E501 + + :param release_sdk_url: The release_sdk_url of this APIConfig. # noqa: E501 + :type release_sdk_url: str + """ + if self.local_vars_configuration.client_side_validation and release_sdk_url is None: # noqa: E501 + raise ValueError("Invalid value for `release_sdk_url`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + release_sdk_url is not None and len(release_sdk_url) < 1): + raise ValueError("Invalid value for `release_sdk_url`, length must be greater than or equal to `1`") # noqa: E501 + + self._release_sdk_url = release_sdk_url + + @property + def release_sdk_version(self): + """Gets the release_sdk_version of this APIConfig. # noqa: E501 + + Version of the release SDK # noqa: E501 + + :return: The release_sdk_version of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._release_sdk_version + + @release_sdk_version.setter + def release_sdk_version(self, release_sdk_version): + """Sets the release_sdk_version of this APIConfig. + + Version of the release SDK # noqa: E501 + + :param release_sdk_version: The release_sdk_version of this APIConfig. # noqa: E501 + :type release_sdk_version: str + """ + if self.local_vars_configuration.client_side_validation and release_sdk_version is None: # noqa: E501 + raise ValueError("Invalid value for `release_sdk_version`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + release_sdk_version is not None and len(release_sdk_version) < 1): + raise ValueError("Invalid value for `release_sdk_version`, length must be greater than or equal to `1`") # noqa: E501 + + self._release_sdk_version = release_sdk_version + + @property + def release_server_version_standalone(self): + """Gets the release_server_version_standalone of this APIConfig. # noqa: E501 + + Version number for server release build # noqa: E501 + + :return: The release_server_version_standalone of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._release_server_version_standalone + + @release_server_version_standalone.setter + def release_server_version_standalone(self, release_server_version_standalone): + """Sets the release_server_version_standalone of this APIConfig. + + Version number for server release build # noqa: E501 + + :param release_server_version_standalone: The release_server_version_standalone of this APIConfig. # noqa: E501 + :type release_server_version_standalone: str + """ + if self.local_vars_configuration.client_side_validation and release_server_version_standalone is None: # noqa: E501 + raise ValueError("Invalid value for `release_server_version_standalone`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + release_server_version_standalone is not None and len(release_server_version_standalone) < 1): + raise ValueError("Invalid value for `release_server_version_standalone`, length must be greater than or equal to `1`") # noqa: E501 + + self._release_server_version_standalone = release_server_version_standalone + + @property + def sdk_developer_faq_url(self): + """Gets the sdk_developer_faq_url of this APIConfig. # noqa: E501 + + Link to the developer FAQ # noqa: E501 + + :return: The sdk_developer_faq_url of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._sdk_developer_faq_url + + @sdk_developer_faq_url.setter + def sdk_developer_faq_url(self, sdk_developer_faq_url): + """Sets the sdk_developer_faq_url of this APIConfig. + + Link to the developer FAQ # noqa: E501 + + :param sdk_developer_faq_url: The sdk_developer_faq_url of this APIConfig. # noqa: E501 + :type sdk_developer_faq_url: str + """ + if self.local_vars_configuration.client_side_validation and sdk_developer_faq_url is None: # noqa: E501 + raise ValueError("Invalid value for `sdk_developer_faq_url`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + sdk_developer_faq_url is not None and len(sdk_developer_faq_url) < 1): + raise ValueError("Invalid value for `sdk_developer_faq_url`, length must be greater than or equal to `1`") # noqa: E501 + + self._sdk_developer_faq_url = sdk_developer_faq_url + + @property + def sdk_discord_url(self): + """Gets the sdk_discord_url of this APIConfig. # noqa: E501 + + Link to the official VRChat Discord # noqa: E501 + + :return: The sdk_discord_url of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._sdk_discord_url + + @sdk_discord_url.setter + def sdk_discord_url(self, sdk_discord_url): + """Sets the sdk_discord_url of this APIConfig. + + Link to the official VRChat Discord # noqa: E501 + + :param sdk_discord_url: The sdk_discord_url of this APIConfig. # noqa: E501 + :type sdk_discord_url: str + """ + if self.local_vars_configuration.client_side_validation and sdk_discord_url is None: # noqa: E501 + raise ValueError("Invalid value for `sdk_discord_url`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + sdk_discord_url is not None and len(sdk_discord_url) < 1): + raise ValueError("Invalid value for `sdk_discord_url`, length must be greater than or equal to `1`") # noqa: E501 + + self._sdk_discord_url = sdk_discord_url + + @property + def sdk_not_allowed_to_publish_message(self): + """Gets the sdk_not_allowed_to_publish_message of this APIConfig. # noqa: E501 + + Used in the SDK to notify a user they aren't allowed to upload avatars/worlds yet # noqa: E501 + + :return: The sdk_not_allowed_to_publish_message of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._sdk_not_allowed_to_publish_message + + @sdk_not_allowed_to_publish_message.setter + def sdk_not_allowed_to_publish_message(self, sdk_not_allowed_to_publish_message): + """Sets the sdk_not_allowed_to_publish_message of this APIConfig. + + Used in the SDK to notify a user they aren't allowed to upload avatars/worlds yet # noqa: E501 + + :param sdk_not_allowed_to_publish_message: The sdk_not_allowed_to_publish_message of this APIConfig. # noqa: E501 + :type sdk_not_allowed_to_publish_message: str + """ + if self.local_vars_configuration.client_side_validation and sdk_not_allowed_to_publish_message is None: # noqa: E501 + raise ValueError("Invalid value for `sdk_not_allowed_to_publish_message`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + sdk_not_allowed_to_publish_message is not None and len(sdk_not_allowed_to_publish_message) < 1): + raise ValueError("Invalid value for `sdk_not_allowed_to_publish_message`, length must be greater than or equal to `1`") # noqa: E501 + + self._sdk_not_allowed_to_publish_message = sdk_not_allowed_to_publish_message + + @property + def sdk_unity_version(self): + """Gets the sdk_unity_version of this APIConfig. # noqa: E501 + + Unity version supported by the SDK # noqa: E501 + + :return: The sdk_unity_version of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._sdk_unity_version + + @sdk_unity_version.setter + def sdk_unity_version(self, sdk_unity_version): + """Sets the sdk_unity_version of this APIConfig. + + Unity version supported by the SDK # noqa: E501 + + :param sdk_unity_version: The sdk_unity_version of this APIConfig. # noqa: E501 + :type sdk_unity_version: str + """ + if self.local_vars_configuration.client_side_validation and sdk_unity_version is None: # noqa: E501 + raise ValueError("Invalid value for `sdk_unity_version`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + sdk_unity_version is not None and len(sdk_unity_version) < 1): + raise ValueError("Invalid value for `sdk_unity_version`, length must be greater than or equal to `1`") # noqa: E501 + + self._sdk_unity_version = sdk_unity_version + + @property + def server_name(self): + """Gets the server_name of this APIConfig. # noqa: E501 + + Server name of the API server currently responding # noqa: E501 + + :return: The server_name of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._server_name + + @server_name.setter + def server_name(self, server_name): + """Sets the server_name of this APIConfig. + + Server name of the API server currently responding # noqa: E501 + + :param server_name: The server_name of this APIConfig. # noqa: E501 + :type server_name: str + """ + if self.local_vars_configuration.client_side_validation and server_name is None: # noqa: E501 + raise ValueError("Invalid value for `server_name`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + server_name is not None and len(server_name) < 1): + raise ValueError("Invalid value for `server_name`, length must be greater than or equal to `1`") # noqa: E501 + + self._server_name = server_name + + @property + def support_email(self): + """Gets the support_email of this APIConfig. # noqa: E501 + + VRChat's support email # noqa: E501 + + :return: The support_email of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._support_email + + @support_email.setter + def support_email(self, support_email): + """Sets the support_email of this APIConfig. + + VRChat's support email # noqa: E501 + + :param support_email: The support_email of this APIConfig. # noqa: E501 + :type support_email: str + """ + if self.local_vars_configuration.client_side_validation and support_email is None: # noqa: E501 + raise ValueError("Invalid value for `support_email`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + support_email is not None and len(support_email) < 1): + raise ValueError("Invalid value for `support_email`, length must be greater than or equal to `1`") # noqa: E501 + + self._support_email = support_email + + @property + def time_out_world_id(self): + """Gets the time_out_world_id of this APIConfig. # noqa: E501 + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :return: The time_out_world_id of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._time_out_world_id + + @time_out_world_id.setter + def time_out_world_id(self, time_out_world_id): + """Sets the time_out_world_id of this APIConfig. + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :param time_out_world_id: The time_out_world_id of this APIConfig. # noqa: E501 + :type time_out_world_id: str + """ + if self.local_vars_configuration.client_side_validation and time_out_world_id is None: # noqa: E501 + raise ValueError("Invalid value for `time_out_world_id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + time_out_world_id is not None and not re.search(r'(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})', time_out_world_id)): # noqa: E501 + raise ValueError(r"Invalid value for `time_out_world_id`, must be a follow pattern or equal to `/(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})/`") # noqa: E501 + + self._time_out_world_id = time_out_world_id + + @property + def tutorial_world_id(self): + """Gets the tutorial_world_id of this APIConfig. # noqa: E501 + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :return: The tutorial_world_id of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._tutorial_world_id + + @tutorial_world_id.setter + def tutorial_world_id(self, tutorial_world_id): + """Sets the tutorial_world_id of this APIConfig. + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :param tutorial_world_id: The tutorial_world_id of this APIConfig. # noqa: E501 + :type tutorial_world_id: str + """ + if self.local_vars_configuration.client_side_validation and tutorial_world_id is None: # noqa: E501 + raise ValueError("Invalid value for `tutorial_world_id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + tutorial_world_id is not None and not re.search(r'(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})', tutorial_world_id)): # noqa: E501 + raise ValueError(r"Invalid value for `tutorial_world_id`, must be a follow pattern or equal to `/(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})/`") # noqa: E501 + + self._tutorial_world_id = tutorial_world_id + + @property + def update_rate_ms_maximum(self): + """Gets the update_rate_ms_maximum of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The update_rate_ms_maximum of this APIConfig. # noqa: E501 + :rtype: int + """ + return self._update_rate_ms_maximum + + @update_rate_ms_maximum.setter + def update_rate_ms_maximum(self, update_rate_ms_maximum): + """Sets the update_rate_ms_maximum of this APIConfig. + + Unknown # noqa: E501 + + :param update_rate_ms_maximum: The update_rate_ms_maximum of this APIConfig. # noqa: E501 + :type update_rate_ms_maximum: int + """ + if self.local_vars_configuration.client_side_validation and update_rate_ms_maximum is None: # noqa: E501 + raise ValueError("Invalid value for `update_rate_ms_maximum`, must not be `None`") # noqa: E501 + + self._update_rate_ms_maximum = update_rate_ms_maximum + + @property + def update_rate_ms_minimum(self): + """Gets the update_rate_ms_minimum of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The update_rate_ms_minimum of this APIConfig. # noqa: E501 + :rtype: int + """ + return self._update_rate_ms_minimum + + @update_rate_ms_minimum.setter + def update_rate_ms_minimum(self, update_rate_ms_minimum): + """Sets the update_rate_ms_minimum of this APIConfig. + + Unknown # noqa: E501 + + :param update_rate_ms_minimum: The update_rate_ms_minimum of this APIConfig. # noqa: E501 + :type update_rate_ms_minimum: int + """ + if self.local_vars_configuration.client_side_validation and update_rate_ms_minimum is None: # noqa: E501 + raise ValueError("Invalid value for `update_rate_ms_minimum`, must not be `None`") # noqa: E501 + + self._update_rate_ms_minimum = update_rate_ms_minimum + + @property + def update_rate_ms_normal(self): + """Gets the update_rate_ms_normal of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The update_rate_ms_normal of this APIConfig. # noqa: E501 + :rtype: int + """ + return self._update_rate_ms_normal + + @update_rate_ms_normal.setter + def update_rate_ms_normal(self, update_rate_ms_normal): + """Sets the update_rate_ms_normal of this APIConfig. + + Unknown # noqa: E501 + + :param update_rate_ms_normal: The update_rate_ms_normal of this APIConfig. # noqa: E501 + :type update_rate_ms_normal: int + """ + if self.local_vars_configuration.client_side_validation and update_rate_ms_normal is None: # noqa: E501 + raise ValueError("Invalid value for `update_rate_ms_normal`, must not be `None`") # noqa: E501 + + self._update_rate_ms_normal = update_rate_ms_normal + + @property + def update_rate_ms_udon_manual(self): + """Gets the update_rate_ms_udon_manual of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The update_rate_ms_udon_manual of this APIConfig. # noqa: E501 + :rtype: int + """ + return self._update_rate_ms_udon_manual + + @update_rate_ms_udon_manual.setter + def update_rate_ms_udon_manual(self, update_rate_ms_udon_manual): + """Sets the update_rate_ms_udon_manual of this APIConfig. + + Unknown # noqa: E501 + + :param update_rate_ms_udon_manual: The update_rate_ms_udon_manual of this APIConfig. # noqa: E501 + :type update_rate_ms_udon_manual: int + """ + if self.local_vars_configuration.client_side_validation and update_rate_ms_udon_manual is None: # noqa: E501 + raise ValueError("Invalid value for `update_rate_ms_udon_manual`, must not be `None`") # noqa: E501 + + self._update_rate_ms_udon_manual = update_rate_ms_udon_manual + + @property + def upload_analysis_percent(self): + """Gets the upload_analysis_percent of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The upload_analysis_percent of this APIConfig. # noqa: E501 + :rtype: int + """ + return self._upload_analysis_percent + + @upload_analysis_percent.setter + def upload_analysis_percent(self, upload_analysis_percent): + """Sets the upload_analysis_percent of this APIConfig. + + Unknown # noqa: E501 + + :param upload_analysis_percent: The upload_analysis_percent of this APIConfig. # noqa: E501 + :type upload_analysis_percent: int + """ + if self.local_vars_configuration.client_side_validation and upload_analysis_percent is None: # noqa: E501 + raise ValueError("Invalid value for `upload_analysis_percent`, must not be `None`") # noqa: E501 + + self._upload_analysis_percent = upload_analysis_percent + + @property + def url_list(self): + """Gets the url_list of this APIConfig. # noqa: E501 + + List of allowed URLs that bypass the \"Allow untrusted URL's\" setting in-game # noqa: E501 + + :return: The url_list of this APIConfig. # noqa: E501 + :rtype: list[str] + """ + return self._url_list + + @url_list.setter + def url_list(self, url_list): + """Sets the url_list of this APIConfig. + + List of allowed URLs that bypass the \"Allow untrusted URL's\" setting in-game # noqa: E501 + + :param url_list: The url_list of this APIConfig. # noqa: E501 + :type url_list: list[str] + """ + if self.local_vars_configuration.client_side_validation and url_list is None: # noqa: E501 + raise ValueError("Invalid value for `url_list`, must not be `None`") # noqa: E501 + + self._url_list = url_list + + @property + def use_reliable_udp_for_voice(self): + """Gets the use_reliable_udp_for_voice of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The use_reliable_udp_for_voice of this APIConfig. # noqa: E501 + :rtype: bool + """ + return self._use_reliable_udp_for_voice + + @use_reliable_udp_for_voice.setter + def use_reliable_udp_for_voice(self, use_reliable_udp_for_voice): + """Sets the use_reliable_udp_for_voice of this APIConfig. + + Unknown # noqa: E501 + + :param use_reliable_udp_for_voice: The use_reliable_udp_for_voice of this APIConfig. # noqa: E501 + :type use_reliable_udp_for_voice: bool + """ + if self.local_vars_configuration.client_side_validation and use_reliable_udp_for_voice is None: # noqa: E501 + raise ValueError("Invalid value for `use_reliable_udp_for_voice`, must not be `None`") # noqa: E501 + + self._use_reliable_udp_for_voice = use_reliable_udp_for_voice + + @property + def user_update_period(self): + """Gets the user_update_period of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The user_update_period of this APIConfig. # noqa: E501 + :rtype: int + """ + return self._user_update_period + + @user_update_period.setter + def user_update_period(self, user_update_period): + """Sets the user_update_period of this APIConfig. + + Unknown # noqa: E501 + + :param user_update_period: The user_update_period of this APIConfig. # noqa: E501 + :type user_update_period: int + """ + if self.local_vars_configuration.client_side_validation and user_update_period is None: # noqa: E501 + raise ValueError("Invalid value for `user_update_period`, must not be `None`") # noqa: E501 + + self._user_update_period = user_update_period + + @property + def user_verification_delay(self): + """Gets the user_verification_delay of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The user_verification_delay of this APIConfig. # noqa: E501 + :rtype: int + """ + return self._user_verification_delay + + @user_verification_delay.setter + def user_verification_delay(self, user_verification_delay): + """Sets the user_verification_delay of this APIConfig. + + Unknown # noqa: E501 + + :param user_verification_delay: The user_verification_delay of this APIConfig. # noqa: E501 + :type user_verification_delay: int + """ + if self.local_vars_configuration.client_side_validation and user_verification_delay is None: # noqa: E501 + raise ValueError("Invalid value for `user_verification_delay`, must not be `None`") # noqa: E501 + + self._user_verification_delay = user_verification_delay + + @property + def user_verification_retry(self): + """Gets the user_verification_retry of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The user_verification_retry of this APIConfig. # noqa: E501 + :rtype: int + """ + return self._user_verification_retry + + @user_verification_retry.setter + def user_verification_retry(self, user_verification_retry): + """Sets the user_verification_retry of this APIConfig. + + Unknown # noqa: E501 + + :param user_verification_retry: The user_verification_retry of this APIConfig. # noqa: E501 + :type user_verification_retry: int + """ + if self.local_vars_configuration.client_side_validation and user_verification_retry is None: # noqa: E501 + raise ValueError("Invalid value for `user_verification_retry`, must not be `None`") # noqa: E501 + + self._user_verification_retry = user_verification_retry + + @property + def user_verification_timeout(self): + """Gets the user_verification_timeout of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The user_verification_timeout of this APIConfig. # noqa: E501 + :rtype: int + """ + return self._user_verification_timeout + + @user_verification_timeout.setter + def user_verification_timeout(self, user_verification_timeout): + """Sets the user_verification_timeout of this APIConfig. + + Unknown # noqa: E501 + + :param user_verification_timeout: The user_verification_timeout of this APIConfig. # noqa: E501 + :type user_verification_timeout: int + """ + if self.local_vars_configuration.client_side_validation and user_verification_timeout is None: # noqa: E501 + raise ValueError("Invalid value for `user_verification_timeout`, must not be `None`") # noqa: E501 + + self._user_verification_timeout = user_verification_timeout + + @property + def vive_windows_url(self): + """Gets the vive_windows_url of this APIConfig. # noqa: E501 + + Download link for game on the Steam website. # noqa: E501 + + :return: The vive_windows_url of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._vive_windows_url + + @vive_windows_url.setter + def vive_windows_url(self, vive_windows_url): + """Sets the vive_windows_url of this APIConfig. + + Download link for game on the Steam website. # noqa: E501 + + :param vive_windows_url: The vive_windows_url of this APIConfig. # noqa: E501 + :type vive_windows_url: str + """ + if self.local_vars_configuration.client_side_validation and vive_windows_url is None: # noqa: E501 + raise ValueError("Invalid value for `vive_windows_url`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + vive_windows_url is not None and len(vive_windows_url) < 1): + raise ValueError("Invalid value for `vive_windows_url`, length must be greater than or equal to `1`") # noqa: E501 + + self._vive_windows_url = vive_windows_url + + @property + def white_listed_asset_urls(self): + """Gets the white_listed_asset_urls of this APIConfig. # noqa: E501 + + List of allowed URLs that are allowed to host avatar assets # noqa: E501 + + :return: The white_listed_asset_urls of this APIConfig. # noqa: E501 + :rtype: list[str] + """ + return self._white_listed_asset_urls + + @white_listed_asset_urls.setter + def white_listed_asset_urls(self, white_listed_asset_urls): + """Sets the white_listed_asset_urls of this APIConfig. + + List of allowed URLs that are allowed to host avatar assets # noqa: E501 + + :param white_listed_asset_urls: The white_listed_asset_urls of this APIConfig. # noqa: E501 + :type white_listed_asset_urls: list[str] + """ + if self.local_vars_configuration.client_side_validation and white_listed_asset_urls is None: # noqa: E501 + raise ValueError("Invalid value for `white_listed_asset_urls`, must not be `None`") # noqa: E501 + + self._white_listed_asset_urls = white_listed_asset_urls + + @property + def world_update_period(self): + """Gets the world_update_period of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The world_update_period of this APIConfig. # noqa: E501 + :rtype: int + """ + return self._world_update_period + + @world_update_period.setter + def world_update_period(self, world_update_period): + """Sets the world_update_period of this APIConfig. + + Unknown # noqa: E501 + + :param world_update_period: The world_update_period of this APIConfig. # noqa: E501 + :type world_update_period: int + """ + if self.local_vars_configuration.client_side_validation and world_update_period is None: # noqa: E501 + raise ValueError("Invalid value for `world_update_period`, must not be `None`") # noqa: E501 + + self._world_update_period = world_update_period + + @property + def player_url_resolver_hash(self): + """Gets the player_url_resolver_hash of this APIConfig. # noqa: E501 + + Currently used youtube-dl.exe hash in SHA-256-delimited format # noqa: E501 + + :return: The player_url_resolver_hash of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._player_url_resolver_hash + + @player_url_resolver_hash.setter + def player_url_resolver_hash(self, player_url_resolver_hash): + """Sets the player_url_resolver_hash of this APIConfig. + + Currently used youtube-dl.exe hash in SHA-256-delimited format # noqa: E501 + + :param player_url_resolver_hash: The player_url_resolver_hash of this APIConfig. # noqa: E501 + :type player_url_resolver_hash: str + """ + if self.local_vars_configuration.client_side_validation and player_url_resolver_hash is None: # noqa: E501 + raise ValueError("Invalid value for `player_url_resolver_hash`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + player_url_resolver_hash is not None and len(player_url_resolver_hash) < 1): + raise ValueError("Invalid value for `player_url_resolver_hash`, length must be greater than or equal to `1`") # noqa: E501 + + self._player_url_resolver_hash = player_url_resolver_hash + + @property + def player_url_resolver_version(self): + """Gets the player_url_resolver_version of this APIConfig. # noqa: E501 + + Currently used youtube-dl.exe version # noqa: E501 + + :return: The player_url_resolver_version of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._player_url_resolver_version + + @player_url_resolver_version.setter + def player_url_resolver_version(self, player_url_resolver_version): + """Sets the player_url_resolver_version of this APIConfig. + + Currently used youtube-dl.exe version # noqa: E501 + + :param player_url_resolver_version: The player_url_resolver_version of this APIConfig. # noqa: E501 + :type player_url_resolver_version: str + """ + if self.local_vars_configuration.client_side_validation and player_url_resolver_version is None: # noqa: E501 + raise ValueError("Invalid value for `player_url_resolver_version`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + player_url_resolver_version is not None and len(player_url_resolver_version) < 1): + raise ValueError("Invalid value for `player_url_resolver_version`, length must be greater than or equal to `1`") # noqa: E501 + + self._player_url_resolver_version = player_url_resolver_version + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, APIConfig): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, APIConfig): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/api_event_config.py b/vrchatapi/models/api_event_config.py new file mode 100644 index 00000000..d1dec0e1 --- /dev/null +++ b/vrchatapi/models/api_event_config.py @@ -0,0 +1,395 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class APIEventConfig(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'distance_close': 'int', + 'distance_factor': 'int', + 'distance_far': 'int', + 'group_distance': 'int', + 'maximum_bunch_size': 'int', + 'not_visible_factor': 'int', + 'player_order_bucket_size': 'int', + 'player_order_factor': 'int', + 'slow_update_factor_threshold': 'int', + 'view_segment_length': 'int' + } + + attribute_map = { + 'distance_close': 'distanceClose', + 'distance_factor': 'distanceFactor', + 'distance_far': 'distanceFar', + 'group_distance': 'groupDistance', + 'maximum_bunch_size': 'maximumBunchSize', + 'not_visible_factor': 'notVisibleFactor', + 'player_order_bucket_size': 'playerOrderBucketSize', + 'player_order_factor': 'playerOrderFactor', + 'slow_update_factor_threshold': 'slowUpdateFactorThreshold', + 'view_segment_length': 'viewSegmentLength' + } + + def __init__(self, distance_close=None, distance_factor=None, distance_far=None, group_distance=None, maximum_bunch_size=None, not_visible_factor=None, player_order_bucket_size=None, player_order_factor=None, slow_update_factor_threshold=None, view_segment_length=None, local_vars_configuration=None): # noqa: E501 + """APIEventConfig - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._distance_close = None + self._distance_factor = None + self._distance_far = None + self._group_distance = None + self._maximum_bunch_size = None + self._not_visible_factor = None + self._player_order_bucket_size = None + self._player_order_factor = None + self._slow_update_factor_threshold = None + self._view_segment_length = None + self.discriminator = None + + self.distance_close = distance_close + self.distance_factor = distance_factor + self.distance_far = distance_far + self.group_distance = group_distance + self.maximum_bunch_size = maximum_bunch_size + self.not_visible_factor = not_visible_factor + self.player_order_bucket_size = player_order_bucket_size + self.player_order_factor = player_order_factor + self.slow_update_factor_threshold = slow_update_factor_threshold + self.view_segment_length = view_segment_length + + @property + def distance_close(self): + """Gets the distance_close of this APIEventConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The distance_close of this APIEventConfig. # noqa: E501 + :rtype: int + """ + return self._distance_close + + @distance_close.setter + def distance_close(self, distance_close): + """Sets the distance_close of this APIEventConfig. + + Unknown # noqa: E501 + + :param distance_close: The distance_close of this APIEventConfig. # noqa: E501 + :type distance_close: int + """ + if self.local_vars_configuration.client_side_validation and distance_close is None: # noqa: E501 + raise ValueError("Invalid value for `distance_close`, must not be `None`") # noqa: E501 + + self._distance_close = distance_close + + @property + def distance_factor(self): + """Gets the distance_factor of this APIEventConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The distance_factor of this APIEventConfig. # noqa: E501 + :rtype: int + """ + return self._distance_factor + + @distance_factor.setter + def distance_factor(self, distance_factor): + """Sets the distance_factor of this APIEventConfig. + + Unknown # noqa: E501 + + :param distance_factor: The distance_factor of this APIEventConfig. # noqa: E501 + :type distance_factor: int + """ + if self.local_vars_configuration.client_side_validation and distance_factor is None: # noqa: E501 + raise ValueError("Invalid value for `distance_factor`, must not be `None`") # noqa: E501 + + self._distance_factor = distance_factor + + @property + def distance_far(self): + """Gets the distance_far of this APIEventConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The distance_far of this APIEventConfig. # noqa: E501 + :rtype: int + """ + return self._distance_far + + @distance_far.setter + def distance_far(self, distance_far): + """Sets the distance_far of this APIEventConfig. + + Unknown # noqa: E501 + + :param distance_far: The distance_far of this APIEventConfig. # noqa: E501 + :type distance_far: int + """ + if self.local_vars_configuration.client_side_validation and distance_far is None: # noqa: E501 + raise ValueError("Invalid value for `distance_far`, must not be `None`") # noqa: E501 + + self._distance_far = distance_far + + @property + def group_distance(self): + """Gets the group_distance of this APIEventConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The group_distance of this APIEventConfig. # noqa: E501 + :rtype: int + """ + return self._group_distance + + @group_distance.setter + def group_distance(self, group_distance): + """Sets the group_distance of this APIEventConfig. + + Unknown # noqa: E501 + + :param group_distance: The group_distance of this APIEventConfig. # noqa: E501 + :type group_distance: int + """ + if self.local_vars_configuration.client_side_validation and group_distance is None: # noqa: E501 + raise ValueError("Invalid value for `group_distance`, must not be `None`") # noqa: E501 + + self._group_distance = group_distance + + @property + def maximum_bunch_size(self): + """Gets the maximum_bunch_size of this APIEventConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The maximum_bunch_size of this APIEventConfig. # noqa: E501 + :rtype: int + """ + return self._maximum_bunch_size + + @maximum_bunch_size.setter + def maximum_bunch_size(self, maximum_bunch_size): + """Sets the maximum_bunch_size of this APIEventConfig. + + Unknown # noqa: E501 + + :param maximum_bunch_size: The maximum_bunch_size of this APIEventConfig. # noqa: E501 + :type maximum_bunch_size: int + """ + if self.local_vars_configuration.client_side_validation and maximum_bunch_size is None: # noqa: E501 + raise ValueError("Invalid value for `maximum_bunch_size`, must not be `None`") # noqa: E501 + + self._maximum_bunch_size = maximum_bunch_size + + @property + def not_visible_factor(self): + """Gets the not_visible_factor of this APIEventConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The not_visible_factor of this APIEventConfig. # noqa: E501 + :rtype: int + """ + return self._not_visible_factor + + @not_visible_factor.setter + def not_visible_factor(self, not_visible_factor): + """Sets the not_visible_factor of this APIEventConfig. + + Unknown # noqa: E501 + + :param not_visible_factor: The not_visible_factor of this APIEventConfig. # noqa: E501 + :type not_visible_factor: int + """ + if self.local_vars_configuration.client_side_validation and not_visible_factor is None: # noqa: E501 + raise ValueError("Invalid value for `not_visible_factor`, must not be `None`") # noqa: E501 + + self._not_visible_factor = not_visible_factor + + @property + def player_order_bucket_size(self): + """Gets the player_order_bucket_size of this APIEventConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The player_order_bucket_size of this APIEventConfig. # noqa: E501 + :rtype: int + """ + return self._player_order_bucket_size + + @player_order_bucket_size.setter + def player_order_bucket_size(self, player_order_bucket_size): + """Sets the player_order_bucket_size of this APIEventConfig. + + Unknown # noqa: E501 + + :param player_order_bucket_size: The player_order_bucket_size of this APIEventConfig. # noqa: E501 + :type player_order_bucket_size: int + """ + if self.local_vars_configuration.client_side_validation and player_order_bucket_size is None: # noqa: E501 + raise ValueError("Invalid value for `player_order_bucket_size`, must not be `None`") # noqa: E501 + + self._player_order_bucket_size = player_order_bucket_size + + @property + def player_order_factor(self): + """Gets the player_order_factor of this APIEventConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The player_order_factor of this APIEventConfig. # noqa: E501 + :rtype: int + """ + return self._player_order_factor + + @player_order_factor.setter + def player_order_factor(self, player_order_factor): + """Sets the player_order_factor of this APIEventConfig. + + Unknown # noqa: E501 + + :param player_order_factor: The player_order_factor of this APIEventConfig. # noqa: E501 + :type player_order_factor: int + """ + if self.local_vars_configuration.client_side_validation and player_order_factor is None: # noqa: E501 + raise ValueError("Invalid value for `player_order_factor`, must not be `None`") # noqa: E501 + + self._player_order_factor = player_order_factor + + @property + def slow_update_factor_threshold(self): + """Gets the slow_update_factor_threshold of this APIEventConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The slow_update_factor_threshold of this APIEventConfig. # noqa: E501 + :rtype: int + """ + return self._slow_update_factor_threshold + + @slow_update_factor_threshold.setter + def slow_update_factor_threshold(self, slow_update_factor_threshold): + """Sets the slow_update_factor_threshold of this APIEventConfig. + + Unknown # noqa: E501 + + :param slow_update_factor_threshold: The slow_update_factor_threshold of this APIEventConfig. # noqa: E501 + :type slow_update_factor_threshold: int + """ + if self.local_vars_configuration.client_side_validation and slow_update_factor_threshold is None: # noqa: E501 + raise ValueError("Invalid value for `slow_update_factor_threshold`, must not be `None`") # noqa: E501 + + self._slow_update_factor_threshold = slow_update_factor_threshold + + @property + def view_segment_length(self): + """Gets the view_segment_length of this APIEventConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The view_segment_length of this APIEventConfig. # noqa: E501 + :rtype: int + """ + return self._view_segment_length + + @view_segment_length.setter + def view_segment_length(self, view_segment_length): + """Sets the view_segment_length of this APIEventConfig. + + Unknown # noqa: E501 + + :param view_segment_length: The view_segment_length of this APIEventConfig. # noqa: E501 + :type view_segment_length: int + """ + if self.local_vars_configuration.client_side_validation and view_segment_length is None: # noqa: E501 + raise ValueError("Invalid value for `view_segment_length`, must not be `None`") # noqa: E501 + + self._view_segment_length = view_segment_length + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, APIEventConfig): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, APIEventConfig): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py new file mode 100644 index 00000000..9afa725e --- /dev/null +++ b/vrchatapi/models/api_health.py @@ -0,0 +1,192 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class APIHealth(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'ok': 'bool', + 'server_name': 'str', + 'build_version_tag': 'str' + } + + attribute_map = { + 'ok': 'ok', + 'server_name': 'serverName', + 'build_version_tag': 'buildVersionTag' + } + + def __init__(self, ok=None, server_name=None, build_version_tag=None, local_vars_configuration=None): # noqa: E501 + """APIHealth - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._ok = None + self._server_name = None + self._build_version_tag = None + self.discriminator = None + + self.ok = ok + self.server_name = server_name + self.build_version_tag = build_version_tag + + @property + def ok(self): + """Gets the ok of this APIHealth. # noqa: E501 + + + :return: The ok of this APIHealth. # noqa: E501 + :rtype: bool + """ + return self._ok + + @ok.setter + def ok(self, ok): + """Sets the ok of this APIHealth. + + + :param ok: The ok of this APIHealth. # noqa: E501 + :type ok: bool + """ + if self.local_vars_configuration.client_side_validation and ok is None: # noqa: E501 + raise ValueError("Invalid value for `ok`, must not be `None`") # noqa: E501 + + self._ok = ok + + @property + def server_name(self): + """Gets the server_name of this APIHealth. # noqa: E501 + + + :return: The server_name of this APIHealth. # noqa: E501 + :rtype: str + """ + return self._server_name + + @server_name.setter + def server_name(self, server_name): + """Sets the server_name of this APIHealth. + + + :param server_name: The server_name of this APIHealth. # noqa: E501 + :type server_name: str + """ + if self.local_vars_configuration.client_side_validation and server_name is None: # noqa: E501 + raise ValueError("Invalid value for `server_name`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + server_name is not None and len(server_name) < 1): + raise ValueError("Invalid value for `server_name`, length must be greater than or equal to `1`") # noqa: E501 + + self._server_name = server_name + + @property + def build_version_tag(self): + """Gets the build_version_tag of this APIHealth. # noqa: E501 + + + :return: The build_version_tag of this APIHealth. # noqa: E501 + :rtype: str + """ + return self._build_version_tag + + @build_version_tag.setter + def build_version_tag(self, build_version_tag): + """Sets the build_version_tag of this APIHealth. + + + :param build_version_tag: The build_version_tag of this APIHealth. # noqa: E501 + :type build_version_tag: str + """ + if self.local_vars_configuration.client_side_validation and build_version_tag is None: # noqa: E501 + raise ValueError("Invalid value for `build_version_tag`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + build_version_tag is not None and len(build_version_tag) < 1): + raise ValueError("Invalid value for `build_version_tag`, length must be greater than or equal to `1`") # noqa: E501 + + self._build_version_tag = build_version_tag + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, APIHealth): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, APIHealth): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py new file mode 100644 index 00000000..aa787562 --- /dev/null +++ b/vrchatapi/models/avatar.py @@ -0,0 +1,624 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class Avatar(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'asset_url': 'str', + 'asset_url_object': 'object', + 'author_id': 'str', + 'author_name': 'str', + 'created_at': 'datetime', + 'description': 'str', + 'featured': 'bool', + 'id': 'str', + 'image_url': 'str', + 'name': 'str', + 'release_status': 'ReleaseStatus', + 'tags': 'list[str]', + 'thumbnail_image_url': 'str', + 'unity_package_url': 'str', + 'unity_package_url_object': 'AvatarUnityPackageUrlObject', + 'unity_packages': 'list[UnityPackage]', + 'updated_at': 'datetime', + 'version': 'int' + } + + attribute_map = { + 'asset_url': 'assetUrl', + 'asset_url_object': 'assetUrlObject', + 'author_id': 'authorId', + 'author_name': 'authorName', + 'created_at': 'created_at', + 'description': 'description', + 'featured': 'featured', + 'id': 'id', + 'image_url': 'imageUrl', + 'name': 'name', + 'release_status': 'releaseStatus', + 'tags': 'tags', + 'thumbnail_image_url': 'thumbnailImageUrl', + 'unity_package_url': 'unityPackageUrl', + 'unity_package_url_object': 'unityPackageUrlObject', + 'unity_packages': 'unityPackages', + 'updated_at': 'updated_at', + 'version': 'version' + } + + def __init__(self, asset_url=None, asset_url_object=None, author_id=None, author_name=None, created_at=None, description=None, featured=False, id=None, image_url=None, name=None, release_status=None, tags=None, thumbnail_image_url=None, unity_package_url=None, unity_package_url_object=None, unity_packages=None, updated_at=None, version=0, local_vars_configuration=None): # noqa: E501 + """Avatar - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._asset_url = None + self._asset_url_object = None + self._author_id = None + self._author_name = None + self._created_at = None + self._description = None + self._featured = None + self._id = None + self._image_url = None + self._name = None + self._release_status = None + self._tags = None + self._thumbnail_image_url = None + self._unity_package_url = None + self._unity_package_url_object = None + self._unity_packages = None + self._updated_at = None + self._version = None + self.discriminator = None + + if asset_url is not None: + self.asset_url = asset_url + if asset_url_object is not None: + self.asset_url_object = asset_url_object + self.author_id = author_id + self.author_name = author_name + self.created_at = created_at + self.description = description + self.featured = featured + self.id = id + self.image_url = image_url + self.name = name + self.release_status = release_status + self.tags = tags + self.thumbnail_image_url = thumbnail_image_url + self.unity_package_url = unity_package_url + self.unity_package_url_object = unity_package_url_object + self.unity_packages = unity_packages + self.updated_at = updated_at + self.version = version + + @property + def asset_url(self): + """Gets the asset_url of this Avatar. # noqa: E501 + + Not present from general serach `/avatars`, only on specific requests `/avatars/{avatarId}`. # noqa: E501 + + :return: The asset_url of this Avatar. # noqa: E501 + :rtype: str + """ + return self._asset_url + + @asset_url.setter + def asset_url(self, asset_url): + """Sets the asset_url of this Avatar. + + Not present from general serach `/avatars`, only on specific requests `/avatars/{avatarId}`. # noqa: E501 + + :param asset_url: The asset_url of this Avatar. # noqa: E501 + :type asset_url: str + """ + if (self.local_vars_configuration.client_side_validation and + asset_url is not None and len(asset_url) < 1): + raise ValueError("Invalid value for `asset_url`, length must be greater than or equal to `1`") # noqa: E501 + + self._asset_url = asset_url + + @property + def asset_url_object(self): + """Gets the asset_url_object of this Avatar. # noqa: E501 + + Not present from general serach `/avatars`, only on specific requests `/avatars/{avatarId}`. **Deprecation:** `Object` has unknown usage/fields, and is always empty. Use normal `Url` field instead. # noqa: E501 + + :return: The asset_url_object of this Avatar. # noqa: E501 + :rtype: object + """ + return self._asset_url_object + + @asset_url_object.setter + def asset_url_object(self, asset_url_object): + """Sets the asset_url_object of this Avatar. + + Not present from general serach `/avatars`, only on specific requests `/avatars/{avatarId}`. **Deprecation:** `Object` has unknown usage/fields, and is always empty. Use normal `Url` field instead. # noqa: E501 + + :param asset_url_object: The asset_url_object of this Avatar. # noqa: E501 + :type asset_url_object: object + """ + + self._asset_url_object = asset_url_object + + @property + def author_id(self): + """Gets the author_id of this Avatar. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The author_id of this Avatar. # noqa: E501 + :rtype: str + """ + return self._author_id + + @author_id.setter + def author_id(self, author_id): + """Sets the author_id of this Avatar. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param author_id: The author_id of this Avatar. # noqa: E501 + :type author_id: str + """ + if self.local_vars_configuration.client_side_validation and author_id is None: # noqa: E501 + raise ValueError("Invalid value for `author_id`, must not be `None`") # noqa: E501 + + self._author_id = author_id + + @property + def author_name(self): + """Gets the author_name of this Avatar. # noqa: E501 + + + :return: The author_name of this Avatar. # noqa: E501 + :rtype: str + """ + return self._author_name + + @author_name.setter + def author_name(self, author_name): + """Sets the author_name of this Avatar. + + + :param author_name: The author_name of this Avatar. # noqa: E501 + :type author_name: str + """ + if self.local_vars_configuration.client_side_validation and author_name is None: # noqa: E501 + raise ValueError("Invalid value for `author_name`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + author_name is not None and len(author_name) < 1): + raise ValueError("Invalid value for `author_name`, length must be greater than or equal to `1`") # noqa: E501 + + self._author_name = author_name + + @property + def created_at(self): + """Gets the created_at of this Avatar. # noqa: E501 + + + :return: The created_at of this Avatar. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this Avatar. + + + :param created_at: The created_at of this Avatar. # noqa: E501 + :type created_at: datetime + """ + if self.local_vars_configuration.client_side_validation and created_at is None: # noqa: E501 + raise ValueError("Invalid value for `created_at`, must not be `None`") # noqa: E501 + + self._created_at = created_at + + @property + def description(self): + """Gets the description of this Avatar. # noqa: E501 + + + :return: The description of this Avatar. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this Avatar. + + + :param description: The description of this Avatar. # noqa: E501 + :type description: str + """ + if self.local_vars_configuration.client_side_validation and description is None: # noqa: E501 + raise ValueError("Invalid value for `description`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + description is not None and len(description) < 0): + raise ValueError("Invalid value for `description`, length must be greater than or equal to `0`") # noqa: E501 + + self._description = description + + @property + def featured(self): + """Gets the featured of this Avatar. # noqa: E501 + + + :return: The featured of this Avatar. # noqa: E501 + :rtype: bool + """ + return self._featured + + @featured.setter + def featured(self, featured): + """Sets the featured of this Avatar. + + + :param featured: The featured of this Avatar. # noqa: E501 + :type featured: bool + """ + if self.local_vars_configuration.client_side_validation and featured is None: # noqa: E501 + raise ValueError("Invalid value for `featured`, must not be `None`") # noqa: E501 + + self._featured = featured + + @property + def id(self): + """Gets the id of this Avatar. # noqa: E501 + + + :return: The id of this Avatar. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this Avatar. + + + :param id: The id of this Avatar. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + id is not None and not re.search(r'avtr_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', id)): # noqa: E501 + raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/avtr_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + + self._id = id + + @property + def image_url(self): + """Gets the image_url of this Avatar. # noqa: E501 + + + :return: The image_url of this Avatar. # noqa: E501 + :rtype: str + """ + return self._image_url + + @image_url.setter + def image_url(self, image_url): + """Sets the image_url of this Avatar. + + + :param image_url: The image_url of this Avatar. # noqa: E501 + :type image_url: str + """ + if self.local_vars_configuration.client_side_validation and image_url is None: # noqa: E501 + raise ValueError("Invalid value for `image_url`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + image_url is not None and len(image_url) < 1): + raise ValueError("Invalid value for `image_url`, length must be greater than or equal to `1`") # noqa: E501 + + self._image_url = image_url + + @property + def name(self): + """Gets the name of this Avatar. # noqa: E501 + + + :return: The name of this Avatar. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this Avatar. + + + :param name: The name of this Avatar. # noqa: E501 + :type name: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + name is not None and len(name) < 1): + raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 + + self._name = name + + @property + def release_status(self): + """Gets the release_status of this Avatar. # noqa: E501 + + + :return: The release_status of this Avatar. # noqa: E501 + :rtype: ReleaseStatus + """ + return self._release_status + + @release_status.setter + def release_status(self, release_status): + """Sets the release_status of this Avatar. + + + :param release_status: The release_status of this Avatar. # noqa: E501 + :type release_status: ReleaseStatus + """ + if self.local_vars_configuration.client_side_validation and release_status is None: # noqa: E501 + raise ValueError("Invalid value for `release_status`, must not be `None`") # noqa: E501 + + self._release_status = release_status + + @property + def tags(self): + """Gets the tags of this Avatar. # noqa: E501 + + # noqa: E501 + + :return: The tags of this Avatar. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this Avatar. + + # noqa: E501 + + :param tags: The tags of this Avatar. # noqa: E501 + :type tags: list[str] + """ + if self.local_vars_configuration.client_side_validation and tags is None: # noqa: E501 + raise ValueError("Invalid value for `tags`, must not be `None`") # noqa: E501 + + self._tags = tags + + @property + def thumbnail_image_url(self): + """Gets the thumbnail_image_url of this Avatar. # noqa: E501 + + + :return: The thumbnail_image_url of this Avatar. # noqa: E501 + :rtype: str + """ + return self._thumbnail_image_url + + @thumbnail_image_url.setter + def thumbnail_image_url(self, thumbnail_image_url): + """Sets the thumbnail_image_url of this Avatar. + + + :param thumbnail_image_url: The thumbnail_image_url of this Avatar. # noqa: E501 + :type thumbnail_image_url: str + """ + if self.local_vars_configuration.client_side_validation and thumbnail_image_url is None: # noqa: E501 + raise ValueError("Invalid value for `thumbnail_image_url`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + thumbnail_image_url is not None and len(thumbnail_image_url) < 1): + raise ValueError("Invalid value for `thumbnail_image_url`, length must be greater than or equal to `1`") # noqa: E501 + + self._thumbnail_image_url = thumbnail_image_url + + @property + def unity_package_url(self): + """Gets the unity_package_url of this Avatar. # noqa: E501 + + + :return: The unity_package_url of this Avatar. # noqa: E501 + :rtype: str + """ + return self._unity_package_url + + @unity_package_url.setter + def unity_package_url(self, unity_package_url): + """Sets the unity_package_url of this Avatar. + + + :param unity_package_url: The unity_package_url of this Avatar. # noqa: E501 + :type unity_package_url: str + """ + if self.local_vars_configuration.client_side_validation and unity_package_url is None: # noqa: E501 + raise ValueError("Invalid value for `unity_package_url`, must not be `None`") # noqa: E501 + + self._unity_package_url = unity_package_url + + @property + def unity_package_url_object(self): + """Gets the unity_package_url_object of this Avatar. # noqa: E501 + + + :return: The unity_package_url_object of this Avatar. # noqa: E501 + :rtype: AvatarUnityPackageUrlObject + """ + return self._unity_package_url_object + + @unity_package_url_object.setter + def unity_package_url_object(self, unity_package_url_object): + """Sets the unity_package_url_object of this Avatar. + + + :param unity_package_url_object: The unity_package_url_object of this Avatar. # noqa: E501 + :type unity_package_url_object: AvatarUnityPackageUrlObject + """ + if self.local_vars_configuration.client_side_validation and unity_package_url_object is None: # noqa: E501 + raise ValueError("Invalid value for `unity_package_url_object`, must not be `None`") # noqa: E501 + + self._unity_package_url_object = unity_package_url_object + + @property + def unity_packages(self): + """Gets the unity_packages of this Avatar. # noqa: E501 + + + :return: The unity_packages of this Avatar. # noqa: E501 + :rtype: list[UnityPackage] + """ + return self._unity_packages + + @unity_packages.setter + def unity_packages(self, unity_packages): + """Sets the unity_packages of this Avatar. + + + :param unity_packages: The unity_packages of this Avatar. # noqa: E501 + :type unity_packages: list[UnityPackage] + """ + if self.local_vars_configuration.client_side_validation and unity_packages is None: # noqa: E501 + raise ValueError("Invalid value for `unity_packages`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + unity_packages is not None and len(unity_packages) < 1): + raise ValueError("Invalid value for `unity_packages`, number of items must be greater than or equal to `1`") # noqa: E501 + + self._unity_packages = unity_packages + + @property + def updated_at(self): + """Gets the updated_at of this Avatar. # noqa: E501 + + + :return: The updated_at of this Avatar. # noqa: E501 + :rtype: datetime + """ + return self._updated_at + + @updated_at.setter + def updated_at(self, updated_at): + """Sets the updated_at of this Avatar. + + + :param updated_at: The updated_at of this Avatar. # noqa: E501 + :type updated_at: datetime + """ + if self.local_vars_configuration.client_side_validation and updated_at is None: # noqa: E501 + raise ValueError("Invalid value for `updated_at`, must not be `None`") # noqa: E501 + + self._updated_at = updated_at + + @property + def version(self): + """Gets the version of this Avatar. # noqa: E501 + + + :return: The version of this Avatar. # noqa: E501 + :rtype: int + """ + return self._version + + @version.setter + def version(self, version): + """Sets the version of this Avatar. + + + :param version: The version of this Avatar. # noqa: E501 + :type version: int + """ + if self.local_vars_configuration.client_side_validation and version is None: # noqa: E501 + raise ValueError("Invalid value for `version`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + version is not None and version < 0): # noqa: E501 + raise ValueError("Invalid value for `version`, must be a value greater than or equal to `0`") # noqa: E501 + + self._version = version + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, Avatar): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, Avatar): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py new file mode 100644 index 00000000..f584284b --- /dev/null +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -0,0 +1,131 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class AvatarUnityPackageUrlObject(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'unity_package_url': 'str' + } + + attribute_map = { + 'unity_package_url': 'unityPackageUrl' + } + + def __init__(self, unity_package_url=None, local_vars_configuration=None): # noqa: E501 + """AvatarUnityPackageUrlObject - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._unity_package_url = None + self.discriminator = None + + if unity_package_url is not None: + self.unity_package_url = unity_package_url + + @property + def unity_package_url(self): + """Gets the unity_package_url of this AvatarUnityPackageUrlObject. # noqa: E501 + + + :return: The unity_package_url of this AvatarUnityPackageUrlObject. # noqa: E501 + :rtype: str + """ + return self._unity_package_url + + @unity_package_url.setter + def unity_package_url(self, unity_package_url): + """Sets the unity_package_url of this AvatarUnityPackageUrlObject. + + + :param unity_package_url: The unity_package_url of this AvatarUnityPackageUrlObject. # noqa: E501 + :type unity_package_url: str + """ + + self._unity_package_url = unity_package_url + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AvatarUnityPackageUrlObject): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, AvatarUnityPackageUrlObject): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py new file mode 100644 index 00000000..e1ff01f5 --- /dev/null +++ b/vrchatapi/models/create_avatar_request.py @@ -0,0 +1,358 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class CreateAvatarRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'asset_url': 'str', + 'id': 'str', + 'name': 'str', + 'description': 'str', + 'tags': 'list[str]', + 'image_url': 'str', + 'release_status': 'ReleaseStatus', + 'version': 'float', + 'unity_package_url': 'str' + } + + attribute_map = { + 'asset_url': 'assetUrl', + 'id': 'id', + 'name': 'name', + 'description': 'description', + 'tags': 'tags', + 'image_url': 'imageUrl', + 'release_status': 'releaseStatus', + 'version': 'version', + 'unity_package_url': 'unityPackageUrl' + } + + def __init__(self, asset_url=None, id=None, name=None, description=None, tags=None, image_url=None, release_status=None, version=1, unity_package_url=None, local_vars_configuration=None): # noqa: E501 + """CreateAvatarRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._asset_url = None + self._id = None + self._name = None + self._description = None + self._tags = None + self._image_url = None + self._release_status = None + self._version = None + self._unity_package_url = None + self.discriminator = None + + if asset_url is not None: + self.asset_url = asset_url + if id is not None: + self.id = id + self.name = name + if description is not None: + self.description = description + if tags is not None: + self.tags = tags + self.image_url = image_url + if release_status is not None: + self.release_status = release_status + if version is not None: + self.version = version + if unity_package_url is not None: + self.unity_package_url = unity_package_url + + @property + def asset_url(self): + """Gets the asset_url of this CreateAvatarRequest. # noqa: E501 + + + :return: The asset_url of this CreateAvatarRequest. # noqa: E501 + :rtype: str + """ + return self._asset_url + + @asset_url.setter + def asset_url(self, asset_url): + """Sets the asset_url of this CreateAvatarRequest. + + + :param asset_url: The asset_url of this CreateAvatarRequest. # noqa: E501 + :type asset_url: str + """ + + self._asset_url = asset_url + + @property + def id(self): + """Gets the id of this CreateAvatarRequest. # noqa: E501 + + + :return: The id of this CreateAvatarRequest. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this CreateAvatarRequest. + + + :param id: The id of this CreateAvatarRequest. # noqa: E501 + :type id: str + """ + if (self.local_vars_configuration.client_side_validation and + id is not None and not re.search(r'avtr_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', id)): # noqa: E501 + raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/avtr_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + + self._id = id + + @property + def name(self): + """Gets the name of this CreateAvatarRequest. # noqa: E501 + + + :return: The name of this CreateAvatarRequest. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this CreateAvatarRequest. + + + :param name: The name of this CreateAvatarRequest. # noqa: E501 + :type name: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + name is not None and len(name) < 1): + raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 + + self._name = name + + @property + def description(self): + """Gets the description of this CreateAvatarRequest. # noqa: E501 + + + :return: The description of this CreateAvatarRequest. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this CreateAvatarRequest. + + + :param description: The description of this CreateAvatarRequest. # noqa: E501 + :type description: str + """ + if (self.local_vars_configuration.client_side_validation and + description is not None and len(description) < 1): + raise ValueError("Invalid value for `description`, length must be greater than or equal to `1`") # noqa: E501 + + self._description = description + + @property + def tags(self): + """Gets the tags of this CreateAvatarRequest. # noqa: E501 + + # noqa: E501 + + :return: The tags of this CreateAvatarRequest. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this CreateAvatarRequest. + + # noqa: E501 + + :param tags: The tags of this CreateAvatarRequest. # noqa: E501 + :type tags: list[str] + """ + + self._tags = tags + + @property + def image_url(self): + """Gets the image_url of this CreateAvatarRequest. # noqa: E501 + + + :return: The image_url of this CreateAvatarRequest. # noqa: E501 + :rtype: str + """ + return self._image_url + + @image_url.setter + def image_url(self, image_url): + """Sets the image_url of this CreateAvatarRequest. + + + :param image_url: The image_url of this CreateAvatarRequest. # noqa: E501 + :type image_url: str + """ + if self.local_vars_configuration.client_side_validation and image_url is None: # noqa: E501 + raise ValueError("Invalid value for `image_url`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + image_url is not None and len(image_url) < 1): + raise ValueError("Invalid value for `image_url`, length must be greater than or equal to `1`") # noqa: E501 + + self._image_url = image_url + + @property + def release_status(self): + """Gets the release_status of this CreateAvatarRequest. # noqa: E501 + + + :return: The release_status of this CreateAvatarRequest. # noqa: E501 + :rtype: ReleaseStatus + """ + return self._release_status + + @release_status.setter + def release_status(self, release_status): + """Sets the release_status of this CreateAvatarRequest. + + + :param release_status: The release_status of this CreateAvatarRequest. # noqa: E501 + :type release_status: ReleaseStatus + """ + + self._release_status = release_status + + @property + def version(self): + """Gets the version of this CreateAvatarRequest. # noqa: E501 + + + :return: The version of this CreateAvatarRequest. # noqa: E501 + :rtype: float + """ + return self._version + + @version.setter + def version(self, version): + """Sets the version of this CreateAvatarRequest. + + + :param version: The version of this CreateAvatarRequest. # noqa: E501 + :type version: float + """ + if (self.local_vars_configuration.client_side_validation and + version is not None and version < 0): # noqa: E501 + raise ValueError("Invalid value for `version`, must be a value greater than or equal to `0`") # noqa: E501 + + self._version = version + + @property + def unity_package_url(self): + """Gets the unity_package_url of this CreateAvatarRequest. # noqa: E501 + + + :return: The unity_package_url of this CreateAvatarRequest. # noqa: E501 + :rtype: str + """ + return self._unity_package_url + + @unity_package_url.setter + def unity_package_url(self, unity_package_url): + """Sets the unity_package_url of this CreateAvatarRequest. + + + :param unity_package_url: The unity_package_url of this CreateAvatarRequest. # noqa: E501 + :type unity_package_url: str + """ + + self._unity_package_url = unity_package_url + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CreateAvatarRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, CreateAvatarRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py new file mode 100644 index 00000000..c49dd146 --- /dev/null +++ b/vrchatapi/models/create_file_request.py @@ -0,0 +1,220 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class CreateFileRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'name': 'str', + 'mime_type': 'MIMEType', + 'extension': 'str', + 'tags': 'list[str]' + } + + attribute_map = { + 'name': 'name', + 'mime_type': 'mimeType', + 'extension': 'extension', + 'tags': 'tags' + } + + def __init__(self, name=None, mime_type=None, extension=None, tags=None, local_vars_configuration=None): # noqa: E501 + """CreateFileRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._name = None + self._mime_type = None + self._extension = None + self._tags = None + self.discriminator = None + + self.name = name + self.mime_type = mime_type + self.extension = extension + if tags is not None: + self.tags = tags + + @property + def name(self): + """Gets the name of this CreateFileRequest. # noqa: E501 + + + :return: The name of this CreateFileRequest. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this CreateFileRequest. + + + :param name: The name of this CreateFileRequest. # noqa: E501 + :type name: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + name is not None and len(name) < 0): + raise ValueError("Invalid value for `name`, length must be greater than or equal to `0`") # noqa: E501 + + self._name = name + + @property + def mime_type(self): + """Gets the mime_type of this CreateFileRequest. # noqa: E501 + + + :return: The mime_type of this CreateFileRequest. # noqa: E501 + :rtype: MIMEType + """ + return self._mime_type + + @mime_type.setter + def mime_type(self, mime_type): + """Sets the mime_type of this CreateFileRequest. + + + :param mime_type: The mime_type of this CreateFileRequest. # noqa: E501 + :type mime_type: MIMEType + """ + if self.local_vars_configuration.client_side_validation and mime_type is None: # noqa: E501 + raise ValueError("Invalid value for `mime_type`, must not be `None`") # noqa: E501 + + self._mime_type = mime_type + + @property + def extension(self): + """Gets the extension of this CreateFileRequest. # noqa: E501 + + + :return: The extension of this CreateFileRequest. # noqa: E501 + :rtype: str + """ + return self._extension + + @extension.setter + def extension(self, extension): + """Sets the extension of this CreateFileRequest. + + + :param extension: The extension of this CreateFileRequest. # noqa: E501 + :type extension: str + """ + if self.local_vars_configuration.client_side_validation and extension is None: # noqa: E501 + raise ValueError("Invalid value for `extension`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + extension is not None and len(extension) < 1): + raise ValueError("Invalid value for `extension`, length must be greater than or equal to `1`") # noqa: E501 + + self._extension = extension + + @property + def tags(self): + """Gets the tags of this CreateFileRequest. # noqa: E501 + + # noqa: E501 + + :return: The tags of this CreateFileRequest. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this CreateFileRequest. + + # noqa: E501 + + :param tags: The tags of this CreateFileRequest. # noqa: E501 + :type tags: list[str] + """ + + self._tags = tags + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CreateFileRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, CreateFileRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py new file mode 100644 index 00000000..1be003e7 --- /dev/null +++ b/vrchatapi/models/create_file_version_request.py @@ -0,0 +1,217 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class CreateFileVersionRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'signature_md5': 'str', + 'signature_size_in_bytes': 'float', + 'file_md5': 'str', + 'file_size_in_bytes': 'float' + } + + attribute_map = { + 'signature_md5': 'signatureMd5', + 'signature_size_in_bytes': 'signatureSizeInBytes', + 'file_md5': 'fileMd5', + 'file_size_in_bytes': 'fileSizeInBytes' + } + + def __init__(self, signature_md5=None, signature_size_in_bytes=None, file_md5=None, file_size_in_bytes=None, local_vars_configuration=None): # noqa: E501 + """CreateFileVersionRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._signature_md5 = None + self._signature_size_in_bytes = None + self._file_md5 = None + self._file_size_in_bytes = None + self.discriminator = None + + self.signature_md5 = signature_md5 + self.signature_size_in_bytes = signature_size_in_bytes + if file_md5 is not None: + self.file_md5 = file_md5 + if file_size_in_bytes is not None: + self.file_size_in_bytes = file_size_in_bytes + + @property + def signature_md5(self): + """Gets the signature_md5 of this CreateFileVersionRequest. # noqa: E501 + + + :return: The signature_md5 of this CreateFileVersionRequest. # noqa: E501 + :rtype: str + """ + return self._signature_md5 + + @signature_md5.setter + def signature_md5(self, signature_md5): + """Sets the signature_md5 of this CreateFileVersionRequest. + + + :param signature_md5: The signature_md5 of this CreateFileVersionRequest. # noqa: E501 + :type signature_md5: str + """ + if self.local_vars_configuration.client_side_validation and signature_md5 is None: # noqa: E501 + raise ValueError("Invalid value for `signature_md5`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + signature_md5 is not None and len(signature_md5) < 1): + raise ValueError("Invalid value for `signature_md5`, length must be greater than or equal to `1`") # noqa: E501 + + self._signature_md5 = signature_md5 + + @property + def signature_size_in_bytes(self): + """Gets the signature_size_in_bytes of this CreateFileVersionRequest. # noqa: E501 + + + :return: The signature_size_in_bytes of this CreateFileVersionRequest. # noqa: E501 + :rtype: float + """ + return self._signature_size_in_bytes + + @signature_size_in_bytes.setter + def signature_size_in_bytes(self, signature_size_in_bytes): + """Sets the signature_size_in_bytes of this CreateFileVersionRequest. + + + :param signature_size_in_bytes: The signature_size_in_bytes of this CreateFileVersionRequest. # noqa: E501 + :type signature_size_in_bytes: float + """ + if self.local_vars_configuration.client_side_validation and signature_size_in_bytes is None: # noqa: E501 + raise ValueError("Invalid value for `signature_size_in_bytes`, must not be `None`") # noqa: E501 + + self._signature_size_in_bytes = signature_size_in_bytes + + @property + def file_md5(self): + """Gets the file_md5 of this CreateFileVersionRequest. # noqa: E501 + + + :return: The file_md5 of this CreateFileVersionRequest. # noqa: E501 + :rtype: str + """ + return self._file_md5 + + @file_md5.setter + def file_md5(self, file_md5): + """Sets the file_md5 of this CreateFileVersionRequest. + + + :param file_md5: The file_md5 of this CreateFileVersionRequest. # noqa: E501 + :type file_md5: str + """ + if (self.local_vars_configuration.client_side_validation and + file_md5 is not None and len(file_md5) < 1): + raise ValueError("Invalid value for `file_md5`, length must be greater than or equal to `1`") # noqa: E501 + + self._file_md5 = file_md5 + + @property + def file_size_in_bytes(self): + """Gets the file_size_in_bytes of this CreateFileVersionRequest. # noqa: E501 + + + :return: The file_size_in_bytes of this CreateFileVersionRequest. # noqa: E501 + :rtype: float + """ + return self._file_size_in_bytes + + @file_size_in_bytes.setter + def file_size_in_bytes(self, file_size_in_bytes): + """Sets the file_size_in_bytes of this CreateFileVersionRequest. + + + :param file_size_in_bytes: The file_size_in_bytes of this CreateFileVersionRequest. # noqa: E501 + :type file_size_in_bytes: float + """ + + self._file_size_in_bytes = file_size_in_bytes + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CreateFileVersionRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, CreateFileVersionRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py new file mode 100644 index 00000000..0ebc4ea5 --- /dev/null +++ b/vrchatapi/models/create_world_request.py @@ -0,0 +1,510 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class CreateWorldRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'asset_url': 'str', + 'asset_version': 'int', + 'author_id': 'str', + 'author_name': 'str', + 'capacity': 'int', + 'description': 'str', + 'id': 'str', + 'image_url': 'str', + 'name': 'str', + 'platform': 'str', + 'release_status': 'ReleaseStatus', + 'tags': 'list[str]', + 'unity_package_url': 'str', + 'unity_version': 'str' + } + + attribute_map = { + 'asset_url': 'assetUrl', + 'asset_version': 'assetVersion', + 'author_id': 'authorId', + 'author_name': 'authorName', + 'capacity': 'capacity', + 'description': 'description', + 'id': 'id', + 'image_url': 'imageUrl', + 'name': 'name', + 'platform': 'platform', + 'release_status': 'releaseStatus', + 'tags': 'tags', + 'unity_package_url': 'unityPackageUrl', + 'unity_version': 'unityVersion' + } + + def __init__(self, asset_url=None, asset_version=None, author_id=None, author_name=None, capacity=None, description=None, id=None, image_url=None, name=None, platform=None, release_status=None, tags=None, unity_package_url=None, unity_version='5.3.4p1', local_vars_configuration=None): # noqa: E501 + """CreateWorldRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._asset_url = None + self._asset_version = None + self._author_id = None + self._author_name = None + self._capacity = None + self._description = None + self._id = None + self._image_url = None + self._name = None + self._platform = None + self._release_status = None + self._tags = None + self._unity_package_url = None + self._unity_version = None + self.discriminator = None + + self.asset_url = asset_url + if asset_version is not None: + self.asset_version = asset_version + if author_id is not None: + self.author_id = author_id + if author_name is not None: + self.author_name = author_name + if capacity is not None: + self.capacity = capacity + if description is not None: + self.description = description + if id is not None: + self.id = id + self.image_url = image_url + self.name = name + if platform is not None: + self.platform = platform + if release_status is not None: + self.release_status = release_status + if tags is not None: + self.tags = tags + if unity_package_url is not None: + self.unity_package_url = unity_package_url + if unity_version is not None: + self.unity_version = unity_version + + @property + def asset_url(self): + """Gets the asset_url of this CreateWorldRequest. # noqa: E501 + + + :return: The asset_url of this CreateWorldRequest. # noqa: E501 + :rtype: str + """ + return self._asset_url + + @asset_url.setter + def asset_url(self, asset_url): + """Sets the asset_url of this CreateWorldRequest. + + + :param asset_url: The asset_url of this CreateWorldRequest. # noqa: E501 + :type asset_url: str + """ + if self.local_vars_configuration.client_side_validation and asset_url is None: # noqa: E501 + raise ValueError("Invalid value for `asset_url`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + asset_url is not None and len(asset_url) < 1): + raise ValueError("Invalid value for `asset_url`, length must be greater than or equal to `1`") # noqa: E501 + + self._asset_url = asset_url + + @property + def asset_version(self): + """Gets the asset_version of this CreateWorldRequest. # noqa: E501 + + + :return: The asset_version of this CreateWorldRequest. # noqa: E501 + :rtype: int + """ + return self._asset_version + + @asset_version.setter + def asset_version(self, asset_version): + """Sets the asset_version of this CreateWorldRequest. + + + :param asset_version: The asset_version of this CreateWorldRequest. # noqa: E501 + :type asset_version: int + """ + if (self.local_vars_configuration.client_side_validation and + asset_version is not None and asset_version < 0): # noqa: E501 + raise ValueError("Invalid value for `asset_version`, must be a value greater than or equal to `0`") # noqa: E501 + + self._asset_version = asset_version + + @property + def author_id(self): + """Gets the author_id of this CreateWorldRequest. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The author_id of this CreateWorldRequest. # noqa: E501 + :rtype: str + """ + return self._author_id + + @author_id.setter + def author_id(self, author_id): + """Sets the author_id of this CreateWorldRequest. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param author_id: The author_id of this CreateWorldRequest. # noqa: E501 + :type author_id: str + """ + + self._author_id = author_id + + @property + def author_name(self): + """Gets the author_name of this CreateWorldRequest. # noqa: E501 + + + :return: The author_name of this CreateWorldRequest. # noqa: E501 + :rtype: str + """ + return self._author_name + + @author_name.setter + def author_name(self, author_name): + """Sets the author_name of this CreateWorldRequest. + + + :param author_name: The author_name of this CreateWorldRequest. # noqa: E501 + :type author_name: str + """ + if (self.local_vars_configuration.client_side_validation and + author_name is not None and len(author_name) < 1): + raise ValueError("Invalid value for `author_name`, length must be greater than or equal to `1`") # noqa: E501 + + self._author_name = author_name + + @property + def capacity(self): + """Gets the capacity of this CreateWorldRequest. # noqa: E501 + + + :return: The capacity of this CreateWorldRequest. # noqa: E501 + :rtype: int + """ + return self._capacity + + @capacity.setter + def capacity(self, capacity): + """Sets the capacity of this CreateWorldRequest. + + + :param capacity: The capacity of this CreateWorldRequest. # noqa: E501 + :type capacity: int + """ + if (self.local_vars_configuration.client_side_validation and + capacity is not None and capacity > 40): # noqa: E501 + raise ValueError("Invalid value for `capacity`, must be a value less than or equal to `40`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + capacity is not None and capacity < 0): # noqa: E501 + raise ValueError("Invalid value for `capacity`, must be a value greater than or equal to `0`") # noqa: E501 + + self._capacity = capacity + + @property + def description(self): + """Gets the description of this CreateWorldRequest. # noqa: E501 + + + :return: The description of this CreateWorldRequest. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this CreateWorldRequest. + + + :param description: The description of this CreateWorldRequest. # noqa: E501 + :type description: str + """ + + self._description = description + + @property + def id(self): + """Gets the id of this CreateWorldRequest. # noqa: E501 + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :return: The id of this CreateWorldRequest. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this CreateWorldRequest. + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :param id: The id of this CreateWorldRequest. # noqa: E501 + :type id: str + """ + if (self.local_vars_configuration.client_side_validation and + id is not None and not re.search(r'(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})', id)): # noqa: E501 + raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})/`") # noqa: E501 + + self._id = id + + @property + def image_url(self): + """Gets the image_url of this CreateWorldRequest. # noqa: E501 + + + :return: The image_url of this CreateWorldRequest. # noqa: E501 + :rtype: str + """ + return self._image_url + + @image_url.setter + def image_url(self, image_url): + """Sets the image_url of this CreateWorldRequest. + + + :param image_url: The image_url of this CreateWorldRequest. # noqa: E501 + :type image_url: str + """ + if self.local_vars_configuration.client_side_validation and image_url is None: # noqa: E501 + raise ValueError("Invalid value for `image_url`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + image_url is not None and len(image_url) < 1): + raise ValueError("Invalid value for `image_url`, length must be greater than or equal to `1`") # noqa: E501 + + self._image_url = image_url + + @property + def name(self): + """Gets the name of this CreateWorldRequest. # noqa: E501 + + + :return: The name of this CreateWorldRequest. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this CreateWorldRequest. + + + :param name: The name of this CreateWorldRequest. # noqa: E501 + :type name: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + name is not None and len(name) < 1): + raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 + + self._name = name + + @property + def platform(self): + """Gets the platform of this CreateWorldRequest. # noqa: E501 + + This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + + :return: The platform of this CreateWorldRequest. # noqa: E501 + :rtype: str + """ + return self._platform + + @platform.setter + def platform(self, platform): + """Sets the platform of this CreateWorldRequest. + + This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + + :param platform: The platform of this CreateWorldRequest. # noqa: E501 + :type platform: str + """ + + self._platform = platform + + @property + def release_status(self): + """Gets the release_status of this CreateWorldRequest. # noqa: E501 + + + :return: The release_status of this CreateWorldRequest. # noqa: E501 + :rtype: ReleaseStatus + """ + return self._release_status + + @release_status.setter + def release_status(self, release_status): + """Sets the release_status of this CreateWorldRequest. + + + :param release_status: The release_status of this CreateWorldRequest. # noqa: E501 + :type release_status: ReleaseStatus + """ + + self._release_status = release_status + + @property + def tags(self): + """Gets the tags of this CreateWorldRequest. # noqa: E501 + + # noqa: E501 + + :return: The tags of this CreateWorldRequest. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this CreateWorldRequest. + + # noqa: E501 + + :param tags: The tags of this CreateWorldRequest. # noqa: E501 + :type tags: list[str] + """ + + self._tags = tags + + @property + def unity_package_url(self): + """Gets the unity_package_url of this CreateWorldRequest. # noqa: E501 + + + :return: The unity_package_url of this CreateWorldRequest. # noqa: E501 + :rtype: str + """ + return self._unity_package_url + + @unity_package_url.setter + def unity_package_url(self, unity_package_url): + """Sets the unity_package_url of this CreateWorldRequest. + + + :param unity_package_url: The unity_package_url of this CreateWorldRequest. # noqa: E501 + :type unity_package_url: str + """ + if (self.local_vars_configuration.client_side_validation and + unity_package_url is not None and len(unity_package_url) < 1): + raise ValueError("Invalid value for `unity_package_url`, length must be greater than or equal to `1`") # noqa: E501 + + self._unity_package_url = unity_package_url + + @property + def unity_version(self): + """Gets the unity_version of this CreateWorldRequest. # noqa: E501 + + + :return: The unity_version of this CreateWorldRequest. # noqa: E501 + :rtype: str + """ + return self._unity_version + + @unity_version.setter + def unity_version(self, unity_version): + """Sets the unity_version of this CreateWorldRequest. + + + :param unity_version: The unity_version of this CreateWorldRequest. # noqa: E501 + :type unity_version: str + """ + if (self.local_vars_configuration.client_side_validation and + unity_version is not None and len(unity_version) < 1): + raise ValueError("Invalid value for `unity_version`, length must be greater than or equal to `1`") # noqa: E501 + + self._unity_version = unity_version + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CreateWorldRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, CreateWorldRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py new file mode 100644 index 00000000..84c04d8d --- /dev/null +++ b/vrchatapi/models/current_user.py @@ -0,0 +1,1393 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class CurrentUser(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'accepted_tos_version': 'int', + 'account_deletion_date': 'date', + 'active_friends': 'list[str]', + 'allow_avatar_copying': 'bool', + 'bio': 'str', + 'bio_links': 'list[str]', + 'current_avatar': 'str', + 'current_avatar_asset_url': 'str', + 'current_avatar_image_url': 'str', + 'current_avatar_thumbnail_image_url': 'str', + 'date_joined': 'date', + 'developer_type': 'DeveloperType', + 'display_name': 'str', + 'email_verified': 'bool', + 'fallback_avatar': 'str', + 'friend_group_names': 'list[str]', + 'friend_key': 'str', + 'friends': 'list[str]', + 'has_birthday': 'bool', + 'has_email': 'bool', + 'has_logged_in_from_client': 'bool', + 'has_pending_email': 'bool', + 'home_location': 'str', + 'id': 'str', + 'is_friend': 'bool', + 'last_login': 'datetime', + 'last_platform': 'str', + 'obfuscated_email': 'str', + 'obfuscated_pending_email': 'str', + 'oculus_id': 'str', + 'offline_friends': 'list[str]', + 'online_friends': 'list[str]', + 'past_display_names': 'list[PastDisplayName]', + 'profile_pic_override': 'str', + 'state': 'UserState', + 'status': 'UserStatus', + 'status_description': 'str', + 'status_first_time': 'bool', + 'status_history': 'list[str]', + 'steam_details': 'object', + 'steam_id': 'str', + 'tags': 'list[str]', + 'two_factor_auth_enabled': 'bool', + 'two_factor_auth_enabled_date': 'datetime', + 'unsubscribe': 'bool', + 'user_icon': 'str', + 'username': 'str' + } + + attribute_map = { + 'accepted_tos_version': 'acceptedTOSVersion', + 'account_deletion_date': 'accountDeletionDate', + 'active_friends': 'activeFriends', + 'allow_avatar_copying': 'allowAvatarCopying', + 'bio': 'bio', + 'bio_links': 'bioLinks', + 'current_avatar': 'currentAvatar', + 'current_avatar_asset_url': 'currentAvatarAssetUrl', + 'current_avatar_image_url': 'currentAvatarImageUrl', + 'current_avatar_thumbnail_image_url': 'currentAvatarThumbnailImageUrl', + 'date_joined': 'date_joined', + 'developer_type': 'developerType', + 'display_name': 'displayName', + 'email_verified': 'emailVerified', + 'fallback_avatar': 'fallbackAvatar', + 'friend_group_names': 'friendGroupNames', + 'friend_key': 'friendKey', + 'friends': 'friends', + 'has_birthday': 'hasBirthday', + 'has_email': 'hasEmail', + 'has_logged_in_from_client': 'hasLoggedInFromClient', + 'has_pending_email': 'hasPendingEmail', + 'home_location': 'homeLocation', + 'id': 'id', + 'is_friend': 'isFriend', + 'last_login': 'last_login', + 'last_platform': 'last_platform', + 'obfuscated_email': 'obfuscatedEmail', + 'obfuscated_pending_email': 'obfuscatedPendingEmail', + 'oculus_id': 'oculusId', + 'offline_friends': 'offlineFriends', + 'online_friends': 'onlineFriends', + 'past_display_names': 'pastDisplayNames', + 'profile_pic_override': 'profilePicOverride', + 'state': 'state', + 'status': 'status', + 'status_description': 'statusDescription', + 'status_first_time': 'statusFirstTime', + 'status_history': 'statusHistory', + 'steam_details': 'steamDetails', + 'steam_id': 'steamId', + 'tags': 'tags', + 'two_factor_auth_enabled': 'twoFactorAuthEnabled', + 'two_factor_auth_enabled_date': 'twoFactorAuthEnabledDate', + 'unsubscribe': 'unsubscribe', + 'user_icon': 'userIcon', + 'username': 'username' + } + + def __init__(self, accepted_tos_version=None, account_deletion_date=None, active_friends=None, allow_avatar_copying=None, bio=None, bio_links=None, current_avatar=None, current_avatar_asset_url=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, date_joined=None, developer_type=None, display_name=None, email_verified=None, fallback_avatar=None, friend_group_names=None, friend_key=None, friends=None, has_birthday=None, has_email=None, has_logged_in_from_client=None, has_pending_email=None, home_location=None, id=None, is_friend=False, last_login=None, last_platform=None, obfuscated_email=None, obfuscated_pending_email=None, oculus_id=None, offline_friends=None, online_friends=None, past_display_names=None, profile_pic_override=None, state=None, status=None, status_description=None, status_first_time=None, status_history=None, steam_details=None, steam_id=None, tags=None, two_factor_auth_enabled=None, two_factor_auth_enabled_date=None, unsubscribe=None, user_icon=None, username=None, local_vars_configuration=None): # noqa: E501 + """CurrentUser - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._accepted_tos_version = None + self._account_deletion_date = None + self._active_friends = None + self._allow_avatar_copying = None + self._bio = None + self._bio_links = None + self._current_avatar = None + self._current_avatar_asset_url = None + self._current_avatar_image_url = None + self._current_avatar_thumbnail_image_url = None + self._date_joined = None + self._developer_type = None + self._display_name = None + self._email_verified = None + self._fallback_avatar = None + self._friend_group_names = None + self._friend_key = None + self._friends = None + self._has_birthday = None + self._has_email = None + self._has_logged_in_from_client = None + self._has_pending_email = None + self._home_location = None + self._id = None + self._is_friend = None + self._last_login = None + self._last_platform = None + self._obfuscated_email = None + self._obfuscated_pending_email = None + self._oculus_id = None + self._offline_friends = None + self._online_friends = None + self._past_display_names = None + self._profile_pic_override = None + self._state = None + self._status = None + self._status_description = None + self._status_first_time = None + self._status_history = None + self._steam_details = None + self._steam_id = None + self._tags = None + self._two_factor_auth_enabled = None + self._two_factor_auth_enabled_date = None + self._unsubscribe = None + self._user_icon = None + self._username = None + self.discriminator = None + + self.accepted_tos_version = accepted_tos_version + self.account_deletion_date = account_deletion_date + if active_friends is not None: + self.active_friends = active_friends + self.allow_avatar_copying = allow_avatar_copying + self.bio = bio + self.bio_links = bio_links + self.current_avatar = current_avatar + self.current_avatar_asset_url = current_avatar_asset_url + self.current_avatar_image_url = current_avatar_image_url + self.current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url + self.date_joined = date_joined + self.developer_type = developer_type + self.display_name = display_name + self.email_verified = email_verified + if fallback_avatar is not None: + self.fallback_avatar = fallback_avatar + self.friend_group_names = friend_group_names + self.friend_key = friend_key + self.friends = friends + self.has_birthday = has_birthday + self.has_email = has_email + self.has_logged_in_from_client = has_logged_in_from_client + self.has_pending_email = has_pending_email + self.home_location = home_location + self.id = id + self.is_friend = is_friend + self.last_login = last_login + self.last_platform = last_platform + self.obfuscated_email = obfuscated_email + self.obfuscated_pending_email = obfuscated_pending_email + self.oculus_id = oculus_id + if offline_friends is not None: + self.offline_friends = offline_friends + if online_friends is not None: + self.online_friends = online_friends + self.past_display_names = past_display_names + self.profile_pic_override = profile_pic_override + self.state = state + self.status = status + self.status_description = status_description + self.status_first_time = status_first_time + self.status_history = status_history + self.steam_details = steam_details + self.steam_id = steam_id + self.tags = tags + self.two_factor_auth_enabled = two_factor_auth_enabled + self.two_factor_auth_enabled_date = two_factor_auth_enabled_date + self.unsubscribe = unsubscribe + self.user_icon = user_icon + if username is not None: + self.username = username + + @property + def accepted_tos_version(self): + """Gets the accepted_tos_version of this CurrentUser. # noqa: E501 + + + :return: The accepted_tos_version of this CurrentUser. # noqa: E501 + :rtype: int + """ + return self._accepted_tos_version + + @accepted_tos_version.setter + def accepted_tos_version(self, accepted_tos_version): + """Sets the accepted_tos_version of this CurrentUser. + + + :param accepted_tos_version: The accepted_tos_version of this CurrentUser. # noqa: E501 + :type accepted_tos_version: int + """ + if self.local_vars_configuration.client_side_validation and accepted_tos_version is None: # noqa: E501 + raise ValueError("Invalid value for `accepted_tos_version`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + accepted_tos_version is not None and accepted_tos_version < 0): # noqa: E501 + raise ValueError("Invalid value for `accepted_tos_version`, must be a value greater than or equal to `0`") # noqa: E501 + + self._accepted_tos_version = accepted_tos_version + + @property + def account_deletion_date(self): + """Gets the account_deletion_date of this CurrentUser. # noqa: E501 + + + :return: The account_deletion_date of this CurrentUser. # noqa: E501 + :rtype: date + """ + return self._account_deletion_date + + @account_deletion_date.setter + def account_deletion_date(self, account_deletion_date): + """Sets the account_deletion_date of this CurrentUser. + + + :param account_deletion_date: The account_deletion_date of this CurrentUser. # noqa: E501 + :type account_deletion_date: date + """ + + self._account_deletion_date = account_deletion_date + + @property + def active_friends(self): + """Gets the active_friends of this CurrentUser. # noqa: E501 + + + :return: The active_friends of this CurrentUser. # noqa: E501 + :rtype: list[str] + """ + return self._active_friends + + @active_friends.setter + def active_friends(self, active_friends): + """Sets the active_friends of this CurrentUser. + + + :param active_friends: The active_friends of this CurrentUser. # noqa: E501 + :type active_friends: list[str] + """ + + self._active_friends = active_friends + + @property + def allow_avatar_copying(self): + """Gets the allow_avatar_copying of this CurrentUser. # noqa: E501 + + + :return: The allow_avatar_copying of this CurrentUser. # noqa: E501 + :rtype: bool + """ + return self._allow_avatar_copying + + @allow_avatar_copying.setter + def allow_avatar_copying(self, allow_avatar_copying): + """Sets the allow_avatar_copying of this CurrentUser. + + + :param allow_avatar_copying: The allow_avatar_copying of this CurrentUser. # noqa: E501 + :type allow_avatar_copying: bool + """ + if self.local_vars_configuration.client_side_validation and allow_avatar_copying is None: # noqa: E501 + raise ValueError("Invalid value for `allow_avatar_copying`, must not be `None`") # noqa: E501 + + self._allow_avatar_copying = allow_avatar_copying + + @property + def bio(self): + """Gets the bio of this CurrentUser. # noqa: E501 + + + :return: The bio of this CurrentUser. # noqa: E501 + :rtype: str + """ + return self._bio + + @bio.setter + def bio(self, bio): + """Sets the bio of this CurrentUser. + + + :param bio: The bio of this CurrentUser. # noqa: E501 + :type bio: str + """ + if self.local_vars_configuration.client_side_validation and bio is None: # noqa: E501 + raise ValueError("Invalid value for `bio`, must not be `None`") # noqa: E501 + + self._bio = bio + + @property + def bio_links(self): + """Gets the bio_links of this CurrentUser. # noqa: E501 + + + :return: The bio_links of this CurrentUser. # noqa: E501 + :rtype: list[str] + """ + return self._bio_links + + @bio_links.setter + def bio_links(self, bio_links): + """Sets the bio_links of this CurrentUser. + + + :param bio_links: The bio_links of this CurrentUser. # noqa: E501 + :type bio_links: list[str] + """ + if self.local_vars_configuration.client_side_validation and bio_links is None: # noqa: E501 + raise ValueError("Invalid value for `bio_links`, must not be `None`") # noqa: E501 + + self._bio_links = bio_links + + @property + def current_avatar(self): + """Gets the current_avatar of this CurrentUser. # noqa: E501 + + + :return: The current_avatar of this CurrentUser. # noqa: E501 + :rtype: str + """ + return self._current_avatar + + @current_avatar.setter + def current_avatar(self, current_avatar): + """Sets the current_avatar of this CurrentUser. + + + :param current_avatar: The current_avatar of this CurrentUser. # noqa: E501 + :type current_avatar: str + """ + if self.local_vars_configuration.client_side_validation and current_avatar is None: # noqa: E501 + raise ValueError("Invalid value for `current_avatar`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + current_avatar is not None and not re.search(r'avtr_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', current_avatar)): # noqa: E501 + raise ValueError(r"Invalid value for `current_avatar`, must be a follow pattern or equal to `/avtr_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + + self._current_avatar = current_avatar + + @property + def current_avatar_asset_url(self): + """Gets the current_avatar_asset_url of this CurrentUser. # noqa: E501 + + + :return: The current_avatar_asset_url of this CurrentUser. # noqa: E501 + :rtype: str + """ + return self._current_avatar_asset_url + + @current_avatar_asset_url.setter + def current_avatar_asset_url(self, current_avatar_asset_url): + """Sets the current_avatar_asset_url of this CurrentUser. + + + :param current_avatar_asset_url: The current_avatar_asset_url of this CurrentUser. # noqa: E501 + :type current_avatar_asset_url: str + """ + if self.local_vars_configuration.client_side_validation and current_avatar_asset_url is None: # noqa: E501 + raise ValueError("Invalid value for `current_avatar_asset_url`, must not be `None`") # noqa: E501 + + self._current_avatar_asset_url = current_avatar_asset_url + + @property + def current_avatar_image_url(self): + """Gets the current_avatar_image_url of this CurrentUser. # noqa: E501 + + When profilePicOverride is not empty, use it instead. # noqa: E501 + + :return: The current_avatar_image_url of this CurrentUser. # noqa: E501 + :rtype: str + """ + return self._current_avatar_image_url + + @current_avatar_image_url.setter + def current_avatar_image_url(self, current_avatar_image_url): + """Sets the current_avatar_image_url of this CurrentUser. + + When profilePicOverride is not empty, use it instead. # noqa: E501 + + :param current_avatar_image_url: The current_avatar_image_url of this CurrentUser. # noqa: E501 + :type current_avatar_image_url: str + """ + if self.local_vars_configuration.client_side_validation and current_avatar_image_url is None: # noqa: E501 + raise ValueError("Invalid value for `current_avatar_image_url`, must not be `None`") # noqa: E501 + + self._current_avatar_image_url = current_avatar_image_url + + @property + def current_avatar_thumbnail_image_url(self): + """Gets the current_avatar_thumbnail_image_url of this CurrentUser. # noqa: E501 + + When profilePicOverride is not empty, use it instead. # noqa: E501 + + :return: The current_avatar_thumbnail_image_url of this CurrentUser. # noqa: E501 + :rtype: str + """ + return self._current_avatar_thumbnail_image_url + + @current_avatar_thumbnail_image_url.setter + def current_avatar_thumbnail_image_url(self, current_avatar_thumbnail_image_url): + """Sets the current_avatar_thumbnail_image_url of this CurrentUser. + + When profilePicOverride is not empty, use it instead. # noqa: E501 + + :param current_avatar_thumbnail_image_url: The current_avatar_thumbnail_image_url of this CurrentUser. # noqa: E501 + :type current_avatar_thumbnail_image_url: str + """ + if self.local_vars_configuration.client_side_validation and current_avatar_thumbnail_image_url is None: # noqa: E501 + raise ValueError("Invalid value for `current_avatar_thumbnail_image_url`, must not be `None`") # noqa: E501 + + self._current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url + + @property + def date_joined(self): + """Gets the date_joined of this CurrentUser. # noqa: E501 + + + :return: The date_joined of this CurrentUser. # noqa: E501 + :rtype: date + """ + return self._date_joined + + @date_joined.setter + def date_joined(self, date_joined): + """Sets the date_joined of this CurrentUser. + + + :param date_joined: The date_joined of this CurrentUser. # noqa: E501 + :type date_joined: date + """ + if self.local_vars_configuration.client_side_validation and date_joined is None: # noqa: E501 + raise ValueError("Invalid value for `date_joined`, must not be `None`") # noqa: E501 + + self._date_joined = date_joined + + @property + def developer_type(self): + """Gets the developer_type of this CurrentUser. # noqa: E501 + + + :return: The developer_type of this CurrentUser. # noqa: E501 + :rtype: DeveloperType + """ + return self._developer_type + + @developer_type.setter + def developer_type(self, developer_type): + """Sets the developer_type of this CurrentUser. + + + :param developer_type: The developer_type of this CurrentUser. # noqa: E501 + :type developer_type: DeveloperType + """ + if self.local_vars_configuration.client_side_validation and developer_type is None: # noqa: E501 + raise ValueError("Invalid value for `developer_type`, must not be `None`") # noqa: E501 + + self._developer_type = developer_type + + @property + def display_name(self): + """Gets the display_name of this CurrentUser. # noqa: E501 + + + :return: The display_name of this CurrentUser. # noqa: E501 + :rtype: str + """ + return self._display_name + + @display_name.setter + def display_name(self, display_name): + """Sets the display_name of this CurrentUser. + + + :param display_name: The display_name of this CurrentUser. # noqa: E501 + :type display_name: str + """ + if self.local_vars_configuration.client_side_validation and display_name is None: # noqa: E501 + raise ValueError("Invalid value for `display_name`, must not be `None`") # noqa: E501 + + self._display_name = display_name + + @property + def email_verified(self): + """Gets the email_verified of this CurrentUser. # noqa: E501 + + + :return: The email_verified of this CurrentUser. # noqa: E501 + :rtype: bool + """ + return self._email_verified + + @email_verified.setter + def email_verified(self, email_verified): + """Sets the email_verified of this CurrentUser. + + + :param email_verified: The email_verified of this CurrentUser. # noqa: E501 + :type email_verified: bool + """ + if self.local_vars_configuration.client_side_validation and email_verified is None: # noqa: E501 + raise ValueError("Invalid value for `email_verified`, must not be `None`") # noqa: E501 + + self._email_verified = email_verified + + @property + def fallback_avatar(self): + """Gets the fallback_avatar of this CurrentUser. # noqa: E501 + + + :return: The fallback_avatar of this CurrentUser. # noqa: E501 + :rtype: str + """ + return self._fallback_avatar + + @fallback_avatar.setter + def fallback_avatar(self, fallback_avatar): + """Sets the fallback_avatar of this CurrentUser. + + + :param fallback_avatar: The fallback_avatar of this CurrentUser. # noqa: E501 + :type fallback_avatar: str + """ + if (self.local_vars_configuration.client_side_validation and + fallback_avatar is not None and not re.search(r'avtr_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', fallback_avatar)): # noqa: E501 + raise ValueError(r"Invalid value for `fallback_avatar`, must be a follow pattern or equal to `/avtr_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + + self._fallback_avatar = fallback_avatar + + @property + def friend_group_names(self): + """Gets the friend_group_names of this CurrentUser. # noqa: E501 + + Always empty array. # noqa: E501 + + :return: The friend_group_names of this CurrentUser. # noqa: E501 + :rtype: list[str] + """ + return self._friend_group_names + + @friend_group_names.setter + def friend_group_names(self, friend_group_names): + """Sets the friend_group_names of this CurrentUser. + + Always empty array. # noqa: E501 + + :param friend_group_names: The friend_group_names of this CurrentUser. # noqa: E501 + :type friend_group_names: list[str] + """ + if self.local_vars_configuration.client_side_validation and friend_group_names is None: # noqa: E501 + raise ValueError("Invalid value for `friend_group_names`, must not be `None`") # noqa: E501 + + self._friend_group_names = friend_group_names + + @property + def friend_key(self): + """Gets the friend_key of this CurrentUser. # noqa: E501 + + + :return: The friend_key of this CurrentUser. # noqa: E501 + :rtype: str + """ + return self._friend_key + + @friend_key.setter + def friend_key(self, friend_key): + """Sets the friend_key of this CurrentUser. + + + :param friend_key: The friend_key of this CurrentUser. # noqa: E501 + :type friend_key: str + """ + if self.local_vars_configuration.client_side_validation and friend_key is None: # noqa: E501 + raise ValueError("Invalid value for `friend_key`, must not be `None`") # noqa: E501 + + self._friend_key = friend_key + + @property + def friends(self): + """Gets the friends of this CurrentUser. # noqa: E501 + + + :return: The friends of this CurrentUser. # noqa: E501 + :rtype: list[str] + """ + return self._friends + + @friends.setter + def friends(self, friends): + """Sets the friends of this CurrentUser. + + + :param friends: The friends of this CurrentUser. # noqa: E501 + :type friends: list[str] + """ + if self.local_vars_configuration.client_side_validation and friends is None: # noqa: E501 + raise ValueError("Invalid value for `friends`, must not be `None`") # noqa: E501 + + self._friends = friends + + @property + def has_birthday(self): + """Gets the has_birthday of this CurrentUser. # noqa: E501 + + + :return: The has_birthday of this CurrentUser. # noqa: E501 + :rtype: bool + """ + return self._has_birthday + + @has_birthday.setter + def has_birthday(self, has_birthday): + """Sets the has_birthday of this CurrentUser. + + + :param has_birthday: The has_birthday of this CurrentUser. # noqa: E501 + :type has_birthday: bool + """ + if self.local_vars_configuration.client_side_validation and has_birthday is None: # noqa: E501 + raise ValueError("Invalid value for `has_birthday`, must not be `None`") # noqa: E501 + + self._has_birthday = has_birthday + + @property + def has_email(self): + """Gets the has_email of this CurrentUser. # noqa: E501 + + + :return: The has_email of this CurrentUser. # noqa: E501 + :rtype: bool + """ + return self._has_email + + @has_email.setter + def has_email(self, has_email): + """Sets the has_email of this CurrentUser. + + + :param has_email: The has_email of this CurrentUser. # noqa: E501 + :type has_email: bool + """ + if self.local_vars_configuration.client_side_validation and has_email is None: # noqa: E501 + raise ValueError("Invalid value for `has_email`, must not be `None`") # noqa: E501 + + self._has_email = has_email + + @property + def has_logged_in_from_client(self): + """Gets the has_logged_in_from_client of this CurrentUser. # noqa: E501 + + + :return: The has_logged_in_from_client of this CurrentUser. # noqa: E501 + :rtype: bool + """ + return self._has_logged_in_from_client + + @has_logged_in_from_client.setter + def has_logged_in_from_client(self, has_logged_in_from_client): + """Sets the has_logged_in_from_client of this CurrentUser. + + + :param has_logged_in_from_client: The has_logged_in_from_client of this CurrentUser. # noqa: E501 + :type has_logged_in_from_client: bool + """ + if self.local_vars_configuration.client_side_validation and has_logged_in_from_client is None: # noqa: E501 + raise ValueError("Invalid value for `has_logged_in_from_client`, must not be `None`") # noqa: E501 + + self._has_logged_in_from_client = has_logged_in_from_client + + @property + def has_pending_email(self): + """Gets the has_pending_email of this CurrentUser. # noqa: E501 + + + :return: The has_pending_email of this CurrentUser. # noqa: E501 + :rtype: bool + """ + return self._has_pending_email + + @has_pending_email.setter + def has_pending_email(self, has_pending_email): + """Sets the has_pending_email of this CurrentUser. + + + :param has_pending_email: The has_pending_email of this CurrentUser. # noqa: E501 + :type has_pending_email: bool + """ + if self.local_vars_configuration.client_side_validation and has_pending_email is None: # noqa: E501 + raise ValueError("Invalid value for `has_pending_email`, must not be `None`") # noqa: E501 + + self._has_pending_email = has_pending_email + + @property + def home_location(self): + """Gets the home_location of this CurrentUser. # noqa: E501 + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :return: The home_location of this CurrentUser. # noqa: E501 + :rtype: str + """ + return self._home_location + + @home_location.setter + def home_location(self, home_location): + """Sets the home_location of this CurrentUser. + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :param home_location: The home_location of this CurrentUser. # noqa: E501 + :type home_location: str + """ + if self.local_vars_configuration.client_side_validation and home_location is None: # noqa: E501 + raise ValueError("Invalid value for `home_location`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + home_location is not None and not re.search(r'(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})', home_location)): # noqa: E501 + raise ValueError(r"Invalid value for `home_location`, must be a follow pattern or equal to `/(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})/`") # noqa: E501 + + self._home_location = home_location + + @property + def id(self): + """Gets the id of this CurrentUser. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The id of this CurrentUser. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this CurrentUser. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param id: The id of this CurrentUser. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + + self._id = id + + @property + def is_friend(self): + """Gets the is_friend of this CurrentUser. # noqa: E501 + + + :return: The is_friend of this CurrentUser. # noqa: E501 + :rtype: bool + """ + return self._is_friend + + @is_friend.setter + def is_friend(self, is_friend): + """Sets the is_friend of this CurrentUser. + + + :param is_friend: The is_friend of this CurrentUser. # noqa: E501 + :type is_friend: bool + """ + if self.local_vars_configuration.client_side_validation and is_friend is None: # noqa: E501 + raise ValueError("Invalid value for `is_friend`, must not be `None`") # noqa: E501 + + self._is_friend = is_friend + + @property + def last_login(self): + """Gets the last_login of this CurrentUser. # noqa: E501 + + + :return: The last_login of this CurrentUser. # noqa: E501 + :rtype: datetime + """ + return self._last_login + + @last_login.setter + def last_login(self, last_login): + """Sets the last_login of this CurrentUser. + + + :param last_login: The last_login of this CurrentUser. # noqa: E501 + :type last_login: datetime + """ + if self.local_vars_configuration.client_side_validation and last_login is None: # noqa: E501 + raise ValueError("Invalid value for `last_login`, must not be `None`") # noqa: E501 + + self._last_login = last_login + + @property + def last_platform(self): + """Gets the last_platform of this CurrentUser. # noqa: E501 + + This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + + :return: The last_platform of this CurrentUser. # noqa: E501 + :rtype: str + """ + return self._last_platform + + @last_platform.setter + def last_platform(self, last_platform): + """Sets the last_platform of this CurrentUser. + + This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + + :param last_platform: The last_platform of this CurrentUser. # noqa: E501 + :type last_platform: str + """ + if self.local_vars_configuration.client_side_validation and last_platform is None: # noqa: E501 + raise ValueError("Invalid value for `last_platform`, must not be `None`") # noqa: E501 + + self._last_platform = last_platform + + @property + def obfuscated_email(self): + """Gets the obfuscated_email of this CurrentUser. # noqa: E501 + + + :return: The obfuscated_email of this CurrentUser. # noqa: E501 + :rtype: str + """ + return self._obfuscated_email + + @obfuscated_email.setter + def obfuscated_email(self, obfuscated_email): + """Sets the obfuscated_email of this CurrentUser. + + + :param obfuscated_email: The obfuscated_email of this CurrentUser. # noqa: E501 + :type obfuscated_email: str + """ + if self.local_vars_configuration.client_side_validation and obfuscated_email is None: # noqa: E501 + raise ValueError("Invalid value for `obfuscated_email`, must not be `None`") # noqa: E501 + + self._obfuscated_email = obfuscated_email + + @property + def obfuscated_pending_email(self): + """Gets the obfuscated_pending_email of this CurrentUser. # noqa: E501 + + + :return: The obfuscated_pending_email of this CurrentUser. # noqa: E501 + :rtype: str + """ + return self._obfuscated_pending_email + + @obfuscated_pending_email.setter + def obfuscated_pending_email(self, obfuscated_pending_email): + """Sets the obfuscated_pending_email of this CurrentUser. + + + :param obfuscated_pending_email: The obfuscated_pending_email of this CurrentUser. # noqa: E501 + :type obfuscated_pending_email: str + """ + if self.local_vars_configuration.client_side_validation and obfuscated_pending_email is None: # noqa: E501 + raise ValueError("Invalid value for `obfuscated_pending_email`, must not be `None`") # noqa: E501 + + self._obfuscated_pending_email = obfuscated_pending_email + + @property + def oculus_id(self): + """Gets the oculus_id of this CurrentUser. # noqa: E501 + + + :return: The oculus_id of this CurrentUser. # noqa: E501 + :rtype: str + """ + return self._oculus_id + + @oculus_id.setter + def oculus_id(self, oculus_id): + """Sets the oculus_id of this CurrentUser. + + + :param oculus_id: The oculus_id of this CurrentUser. # noqa: E501 + :type oculus_id: str + """ + if self.local_vars_configuration.client_side_validation and oculus_id is None: # noqa: E501 + raise ValueError("Invalid value for `oculus_id`, must not be `None`") # noqa: E501 + + self._oculus_id = oculus_id + + @property + def offline_friends(self): + """Gets the offline_friends of this CurrentUser. # noqa: E501 + + + :return: The offline_friends of this CurrentUser. # noqa: E501 + :rtype: list[str] + """ + return self._offline_friends + + @offline_friends.setter + def offline_friends(self, offline_friends): + """Sets the offline_friends of this CurrentUser. + + + :param offline_friends: The offline_friends of this CurrentUser. # noqa: E501 + :type offline_friends: list[str] + """ + + self._offline_friends = offline_friends + + @property + def online_friends(self): + """Gets the online_friends of this CurrentUser. # noqa: E501 + + + :return: The online_friends of this CurrentUser. # noqa: E501 + :rtype: list[str] + """ + return self._online_friends + + @online_friends.setter + def online_friends(self, online_friends): + """Sets the online_friends of this CurrentUser. + + + :param online_friends: The online_friends of this CurrentUser. # noqa: E501 + :type online_friends: list[str] + """ + + self._online_friends = online_friends + + @property + def past_display_names(self): + """Gets the past_display_names of this CurrentUser. # noqa: E501 + + # noqa: E501 + + :return: The past_display_names of this CurrentUser. # noqa: E501 + :rtype: list[PastDisplayName] + """ + return self._past_display_names + + @past_display_names.setter + def past_display_names(self, past_display_names): + """Sets the past_display_names of this CurrentUser. + + # noqa: E501 + + :param past_display_names: The past_display_names of this CurrentUser. # noqa: E501 + :type past_display_names: list[PastDisplayName] + """ + if self.local_vars_configuration.client_side_validation and past_display_names is None: # noqa: E501 + raise ValueError("Invalid value for `past_display_names`, must not be `None`") # noqa: E501 + + self._past_display_names = past_display_names + + @property + def profile_pic_override(self): + """Gets the profile_pic_override of this CurrentUser. # noqa: E501 + + + :return: The profile_pic_override of this CurrentUser. # noqa: E501 + :rtype: str + """ + return self._profile_pic_override + + @profile_pic_override.setter + def profile_pic_override(self, profile_pic_override): + """Sets the profile_pic_override of this CurrentUser. + + + :param profile_pic_override: The profile_pic_override of this CurrentUser. # noqa: E501 + :type profile_pic_override: str + """ + if self.local_vars_configuration.client_side_validation and profile_pic_override is None: # noqa: E501 + raise ValueError("Invalid value for `profile_pic_override`, must not be `None`") # noqa: E501 + + self._profile_pic_override = profile_pic_override + + @property + def state(self): + """Gets the state of this CurrentUser. # noqa: E501 + + + :return: The state of this CurrentUser. # noqa: E501 + :rtype: UserState + """ + return self._state + + @state.setter + def state(self, state): + """Sets the state of this CurrentUser. + + + :param state: The state of this CurrentUser. # noqa: E501 + :type state: UserState + """ + if self.local_vars_configuration.client_side_validation and state is None: # noqa: E501 + raise ValueError("Invalid value for `state`, must not be `None`") # noqa: E501 + + self._state = state + + @property + def status(self): + """Gets the status of this CurrentUser. # noqa: E501 + + + :return: The status of this CurrentUser. # noqa: E501 + :rtype: UserStatus + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this CurrentUser. + + + :param status: The status of this CurrentUser. # noqa: E501 + :type status: UserStatus + """ + if self.local_vars_configuration.client_side_validation and status is None: # noqa: E501 + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 + + self._status = status + + @property + def status_description(self): + """Gets the status_description of this CurrentUser. # noqa: E501 + + + :return: The status_description of this CurrentUser. # noqa: E501 + :rtype: str + """ + return self._status_description + + @status_description.setter + def status_description(self, status_description): + """Sets the status_description of this CurrentUser. + + + :param status_description: The status_description of this CurrentUser. # noqa: E501 + :type status_description: str + """ + if self.local_vars_configuration.client_side_validation and status_description is None: # noqa: E501 + raise ValueError("Invalid value for `status_description`, must not be `None`") # noqa: E501 + + self._status_description = status_description + + @property + def status_first_time(self): + """Gets the status_first_time of this CurrentUser. # noqa: E501 + + + :return: The status_first_time of this CurrentUser. # noqa: E501 + :rtype: bool + """ + return self._status_first_time + + @status_first_time.setter + def status_first_time(self, status_first_time): + """Sets the status_first_time of this CurrentUser. + + + :param status_first_time: The status_first_time of this CurrentUser. # noqa: E501 + :type status_first_time: bool + """ + if self.local_vars_configuration.client_side_validation and status_first_time is None: # noqa: E501 + raise ValueError("Invalid value for `status_first_time`, must not be `None`") # noqa: E501 + + self._status_first_time = status_first_time + + @property + def status_history(self): + """Gets the status_history of this CurrentUser. # noqa: E501 + + + :return: The status_history of this CurrentUser. # noqa: E501 + :rtype: list[str] + """ + return self._status_history + + @status_history.setter + def status_history(self, status_history): + """Sets the status_history of this CurrentUser. + + + :param status_history: The status_history of this CurrentUser. # noqa: E501 + :type status_history: list[str] + """ + if self.local_vars_configuration.client_side_validation and status_history is None: # noqa: E501 + raise ValueError("Invalid value for `status_history`, must not be `None`") # noqa: E501 + + self._status_history = status_history + + @property + def steam_details(self): + """Gets the steam_details of this CurrentUser. # noqa: E501 + + + :return: The steam_details of this CurrentUser. # noqa: E501 + :rtype: object + """ + return self._steam_details + + @steam_details.setter + def steam_details(self, steam_details): + """Sets the steam_details of this CurrentUser. + + + :param steam_details: The steam_details of this CurrentUser. # noqa: E501 + :type steam_details: object + """ + if self.local_vars_configuration.client_side_validation and steam_details is None: # noqa: E501 + raise ValueError("Invalid value for `steam_details`, must not be `None`") # noqa: E501 + + self._steam_details = steam_details + + @property + def steam_id(self): + """Gets the steam_id of this CurrentUser. # noqa: E501 + + + :return: The steam_id of this CurrentUser. # noqa: E501 + :rtype: str + """ + return self._steam_id + + @steam_id.setter + def steam_id(self, steam_id): + """Sets the steam_id of this CurrentUser. + + + :param steam_id: The steam_id of this CurrentUser. # noqa: E501 + :type steam_id: str + """ + if self.local_vars_configuration.client_side_validation and steam_id is None: # noqa: E501 + raise ValueError("Invalid value for `steam_id`, must not be `None`") # noqa: E501 + + self._steam_id = steam_id + + @property + def tags(self): + """Gets the tags of this CurrentUser. # noqa: E501 + + + :return: The tags of this CurrentUser. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this CurrentUser. + + + :param tags: The tags of this CurrentUser. # noqa: E501 + :type tags: list[str] + """ + if self.local_vars_configuration.client_side_validation and tags is None: # noqa: E501 + raise ValueError("Invalid value for `tags`, must not be `None`") # noqa: E501 + + self._tags = tags + + @property + def two_factor_auth_enabled(self): + """Gets the two_factor_auth_enabled of this CurrentUser. # noqa: E501 + + + :return: The two_factor_auth_enabled of this CurrentUser. # noqa: E501 + :rtype: bool + """ + return self._two_factor_auth_enabled + + @two_factor_auth_enabled.setter + def two_factor_auth_enabled(self, two_factor_auth_enabled): + """Sets the two_factor_auth_enabled of this CurrentUser. + + + :param two_factor_auth_enabled: The two_factor_auth_enabled of this CurrentUser. # noqa: E501 + :type two_factor_auth_enabled: bool + """ + if self.local_vars_configuration.client_side_validation and two_factor_auth_enabled is None: # noqa: E501 + raise ValueError("Invalid value for `two_factor_auth_enabled`, must not be `None`") # noqa: E501 + + self._two_factor_auth_enabled = two_factor_auth_enabled + + @property + def two_factor_auth_enabled_date(self): + """Gets the two_factor_auth_enabled_date of this CurrentUser. # noqa: E501 + + + :return: The two_factor_auth_enabled_date of this CurrentUser. # noqa: E501 + :rtype: datetime + """ + return self._two_factor_auth_enabled_date + + @two_factor_auth_enabled_date.setter + def two_factor_auth_enabled_date(self, two_factor_auth_enabled_date): + """Sets the two_factor_auth_enabled_date of this CurrentUser. + + + :param two_factor_auth_enabled_date: The two_factor_auth_enabled_date of this CurrentUser. # noqa: E501 + :type two_factor_auth_enabled_date: datetime + """ + + self._two_factor_auth_enabled_date = two_factor_auth_enabled_date + + @property + def unsubscribe(self): + """Gets the unsubscribe of this CurrentUser. # noqa: E501 + + + :return: The unsubscribe of this CurrentUser. # noqa: E501 + :rtype: bool + """ + return self._unsubscribe + + @unsubscribe.setter + def unsubscribe(self, unsubscribe): + """Sets the unsubscribe of this CurrentUser. + + + :param unsubscribe: The unsubscribe of this CurrentUser. # noqa: E501 + :type unsubscribe: bool + """ + if self.local_vars_configuration.client_side_validation and unsubscribe is None: # noqa: E501 + raise ValueError("Invalid value for `unsubscribe`, must not be `None`") # noqa: E501 + + self._unsubscribe = unsubscribe + + @property + def user_icon(self): + """Gets the user_icon of this CurrentUser. # noqa: E501 + + + :return: The user_icon of this CurrentUser. # noqa: E501 + :rtype: str + """ + return self._user_icon + + @user_icon.setter + def user_icon(self, user_icon): + """Sets the user_icon of this CurrentUser. + + + :param user_icon: The user_icon of this CurrentUser. # noqa: E501 + :type user_icon: str + """ + if self.local_vars_configuration.client_side_validation and user_icon is None: # noqa: E501 + raise ValueError("Invalid value for `user_icon`, must not be `None`") # noqa: E501 + + self._user_icon = user_icon + + @property + def username(self): + """Gets the username of this CurrentUser. # noqa: E501 + + -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). # noqa: E501 + + :return: The username of this CurrentUser. # noqa: E501 + :rtype: str + """ + return self._username + + @username.setter + def username(self, username): + """Sets the username of this CurrentUser. + + -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). # noqa: E501 + + :param username: The username of this CurrentUser. # noqa: E501 + :type username: str + """ + + self._username = username + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CurrentUser): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, CurrentUser): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/deployment_group.py b/vrchatapi/models/deployment_group.py new file mode 100644 index 00000000..840879ae --- /dev/null +++ b/vrchatapi/models/deployment_group.py @@ -0,0 +1,113 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class DeploymentGroup(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + BLUE = "blue" + GREEN = "green" + GRAPE = "grape" + CHERRY = "cherry" + + allowable_values = [BLUE, GREEN, GRAPE, CHERRY] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """DeploymentGroup - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, DeploymentGroup): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, DeploymentGroup): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py new file mode 100644 index 00000000..84da0451 --- /dev/null +++ b/vrchatapi/models/developer_type.py @@ -0,0 +1,113 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class DeveloperType(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + NONE = "none" + TRUSTED = "trusted" + INTERNAL = "internal" + MODERATOR = "moderator" + + allowable_values = [NONE, TRUSTED, INTERNAL, MODERATOR] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """DeveloperType - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, DeveloperType): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, DeveloperType): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/download_url_list.py b/vrchatapi/models/download_url_list.py new file mode 100644 index 00000000..692e54ae --- /dev/null +++ b/vrchatapi/models/download_url_list.py @@ -0,0 +1,201 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class DownloadURLList(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'sdk2': 'str', + 'sdk3_avatars': 'str', + 'sdk3_worlds': 'str' + } + + attribute_map = { + 'sdk2': 'sdk2', + 'sdk3_avatars': 'sdk3-avatars', + 'sdk3_worlds': 'sdk3-worlds' + } + + def __init__(self, sdk2=None, sdk3_avatars=None, sdk3_worlds=None, local_vars_configuration=None): # noqa: E501 + """DownloadURLList - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._sdk2 = None + self._sdk3_avatars = None + self._sdk3_worlds = None + self.discriminator = None + + self.sdk2 = sdk2 + self.sdk3_avatars = sdk3_avatars + self.sdk3_worlds = sdk3_worlds + + @property + def sdk2(self): + """Gets the sdk2 of this DownloadURLList. # noqa: E501 + + Download link for legacy SDK2 # noqa: E501 + + :return: The sdk2 of this DownloadURLList. # noqa: E501 + :rtype: str + """ + return self._sdk2 + + @sdk2.setter + def sdk2(self, sdk2): + """Sets the sdk2 of this DownloadURLList. + + Download link for legacy SDK2 # noqa: E501 + + :param sdk2: The sdk2 of this DownloadURLList. # noqa: E501 + :type sdk2: str + """ + if self.local_vars_configuration.client_side_validation and sdk2 is None: # noqa: E501 + raise ValueError("Invalid value for `sdk2`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + sdk2 is not None and len(sdk2) < 1): + raise ValueError("Invalid value for `sdk2`, length must be greater than or equal to `1`") # noqa: E501 + + self._sdk2 = sdk2 + + @property + def sdk3_avatars(self): + """Gets the sdk3_avatars of this DownloadURLList. # noqa: E501 + + Download link for SDK3 for Avatars # noqa: E501 + + :return: The sdk3_avatars of this DownloadURLList. # noqa: E501 + :rtype: str + """ + return self._sdk3_avatars + + @sdk3_avatars.setter + def sdk3_avatars(self, sdk3_avatars): + """Sets the sdk3_avatars of this DownloadURLList. + + Download link for SDK3 for Avatars # noqa: E501 + + :param sdk3_avatars: The sdk3_avatars of this DownloadURLList. # noqa: E501 + :type sdk3_avatars: str + """ + if self.local_vars_configuration.client_side_validation and sdk3_avatars is None: # noqa: E501 + raise ValueError("Invalid value for `sdk3_avatars`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + sdk3_avatars is not None and len(sdk3_avatars) < 1): + raise ValueError("Invalid value for `sdk3_avatars`, length must be greater than or equal to `1`") # noqa: E501 + + self._sdk3_avatars = sdk3_avatars + + @property + def sdk3_worlds(self): + """Gets the sdk3_worlds of this DownloadURLList. # noqa: E501 + + Download link for SDK3 for Worlds # noqa: E501 + + :return: The sdk3_worlds of this DownloadURLList. # noqa: E501 + :rtype: str + """ + return self._sdk3_worlds + + @sdk3_worlds.setter + def sdk3_worlds(self, sdk3_worlds): + """Sets the sdk3_worlds of this DownloadURLList. + + Download link for SDK3 for Worlds # noqa: E501 + + :param sdk3_worlds: The sdk3_worlds of this DownloadURLList. # noqa: E501 + :type sdk3_worlds: str + """ + if self.local_vars_configuration.client_side_validation and sdk3_worlds is None: # noqa: E501 + raise ValueError("Invalid value for `sdk3_worlds`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + sdk3_worlds is not None and len(sdk3_worlds) < 1): + raise ValueError("Invalid value for `sdk3_worlds`, length must be greater than or equal to `1`") # noqa: E501 + + self._sdk3_worlds = sdk3_worlds + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, DownloadURLList): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, DownloadURLList): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py new file mode 100644 index 00000000..f8ec02a1 --- /dev/null +++ b/vrchatapi/models/dynamic_content_row.py @@ -0,0 +1,345 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class DynamicContentRow(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'index': 'int', + 'name': 'str', + 'platform': 'str', + 'sort_heading': 'str', + 'sort_order': 'str', + 'sort_ownership': 'str', + 'tag': 'str', + 'type': 'str' + } + + attribute_map = { + 'index': 'index', + 'name': 'name', + 'platform': 'platform', + 'sort_heading': 'sortHeading', + 'sort_order': 'sortOrder', + 'sort_ownership': 'sortOwnership', + 'tag': 'tag', + 'type': 'type' + } + + def __init__(self, index=None, name=None, platform=None, sort_heading=None, sort_order=None, sort_ownership=None, tag=None, type=None, local_vars_configuration=None): # noqa: E501 + """DynamicContentRow - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._index = None + self._name = None + self._platform = None + self._sort_heading = None + self._sort_order = None + self._sort_ownership = None + self._tag = None + self._type = None + self.discriminator = None + + if index is not None: + self.index = index + self.name = name + self.platform = platform + self.sort_heading = sort_heading + self.sort_order = sort_order + self.sort_ownership = sort_ownership + if tag is not None: + self.tag = tag + if type is not None: + self.type = type + + @property + def index(self): + """Gets the index of this DynamicContentRow. # noqa: E501 + + + :return: The index of this DynamicContentRow. # noqa: E501 + :rtype: int + """ + return self._index + + @index.setter + def index(self, index): + """Sets the index of this DynamicContentRow. + + + :param index: The index of this DynamicContentRow. # noqa: E501 + :type index: int + """ + if (self.local_vars_configuration.client_side_validation and + index is not None and index < 0): # noqa: E501 + raise ValueError("Invalid value for `index`, must be a value greater than or equal to `0`") # noqa: E501 + + self._index = index + + @property + def name(self): + """Gets the name of this DynamicContentRow. # noqa: E501 + + + :return: The name of this DynamicContentRow. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this DynamicContentRow. + + + :param name: The name of this DynamicContentRow. # noqa: E501 + :type name: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + name is not None and len(name) < 1): + raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 + + self._name = name + + @property + def platform(self): + """Gets the platform of this DynamicContentRow. # noqa: E501 + + Usually \"ThisPlatformSupported\", but can also be other values such as \"all\" or platform specific identifiers. # noqa: E501 + + :return: The platform of this DynamicContentRow. # noqa: E501 + :rtype: str + """ + return self._platform + + @platform.setter + def platform(self, platform): + """Sets the platform of this DynamicContentRow. + + Usually \"ThisPlatformSupported\", but can also be other values such as \"all\" or platform specific identifiers. # noqa: E501 + + :param platform: The platform of this DynamicContentRow. # noqa: E501 + :type platform: str + """ + if self.local_vars_configuration.client_side_validation and platform is None: # noqa: E501 + raise ValueError("Invalid value for `platform`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + platform is not None and len(platform) < 1): + raise ValueError("Invalid value for `platform`, length must be greater than or equal to `1`") # noqa: E501 + + self._platform = platform + + @property + def sort_heading(self): + """Gets the sort_heading of this DynamicContentRow. # noqa: E501 + + + :return: The sort_heading of this DynamicContentRow. # noqa: E501 + :rtype: str + """ + return self._sort_heading + + @sort_heading.setter + def sort_heading(self, sort_heading): + """Sets the sort_heading of this DynamicContentRow. + + + :param sort_heading: The sort_heading of this DynamicContentRow. # noqa: E501 + :type sort_heading: str + """ + if self.local_vars_configuration.client_side_validation and sort_heading is None: # noqa: E501 + raise ValueError("Invalid value for `sort_heading`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + sort_heading is not None and len(sort_heading) < 1): + raise ValueError("Invalid value for `sort_heading`, length must be greater than or equal to `1`") # noqa: E501 + + self._sort_heading = sort_heading + + @property + def sort_order(self): + """Gets the sort_order of this DynamicContentRow. # noqa: E501 + + + :return: The sort_order of this DynamicContentRow. # noqa: E501 + :rtype: str + """ + return self._sort_order + + @sort_order.setter + def sort_order(self, sort_order): + """Sets the sort_order of this DynamicContentRow. + + + :param sort_order: The sort_order of this DynamicContentRow. # noqa: E501 + :type sort_order: str + """ + if self.local_vars_configuration.client_side_validation and sort_order is None: # noqa: E501 + raise ValueError("Invalid value for `sort_order`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + sort_order is not None and len(sort_order) < 1): + raise ValueError("Invalid value for `sort_order`, length must be greater than or equal to `1`") # noqa: E501 + + self._sort_order = sort_order + + @property + def sort_ownership(self): + """Gets the sort_ownership of this DynamicContentRow. # noqa: E501 + + + :return: The sort_ownership of this DynamicContentRow. # noqa: E501 + :rtype: str + """ + return self._sort_ownership + + @sort_ownership.setter + def sort_ownership(self, sort_ownership): + """Sets the sort_ownership of this DynamicContentRow. + + + :param sort_ownership: The sort_ownership of this DynamicContentRow. # noqa: E501 + :type sort_ownership: str + """ + if self.local_vars_configuration.client_side_validation and sort_ownership is None: # noqa: E501 + raise ValueError("Invalid value for `sort_ownership`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + sort_ownership is not None and len(sort_ownership) < 1): + raise ValueError("Invalid value for `sort_ownership`, length must be greater than or equal to `1`") # noqa: E501 + + self._sort_ownership = sort_ownership + + @property + def tag(self): + """Gets the tag of this DynamicContentRow. # noqa: E501 + + Tag to filter content for this row. # noqa: E501 + + :return: The tag of this DynamicContentRow. # noqa: E501 + :rtype: str + """ + return self._tag + + @tag.setter + def tag(self, tag): + """Sets the tag of this DynamicContentRow. + + Tag to filter content for this row. # noqa: E501 + + :param tag: The tag of this DynamicContentRow. # noqa: E501 + :type tag: str + """ + if (self.local_vars_configuration.client_side_validation and + tag is not None and len(tag) < 1): + raise ValueError("Invalid value for `tag`, length must be greater than or equal to `1`") # noqa: E501 + + self._tag = tag + + @property + def type(self): + """Gets the type of this DynamicContentRow. # noqa: E501 + + Type is not present if it is a world. # noqa: E501 + + :return: The type of this DynamicContentRow. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this DynamicContentRow. + + Type is not present if it is a world. # noqa: E501 + + :param type: The type of this DynamicContentRow. # noqa: E501 + :type type: str + """ + + self._type = type + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, DynamicContentRow): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, DynamicContentRow): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py new file mode 100644 index 00000000..36db8ae9 --- /dev/null +++ b/vrchatapi/models/error.py @@ -0,0 +1,131 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class Error(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'error': 'Response' + } + + attribute_map = { + 'error': 'error' + } + + def __init__(self, error=None, local_vars_configuration=None): # noqa: E501 + """Error - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._error = None + self.discriminator = None + + if error is not None: + self.error = error + + @property + def error(self): + """Gets the error of this Error. # noqa: E501 + + + :return: The error of this Error. # noqa: E501 + :rtype: Response + """ + return self._error + + @error.setter + def error(self, error): + """Sets the error of this Error. + + + :param error: The error of this Error. # noqa: E501 + :type error: Response + """ + + self._error = error + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, Error): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, Error): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py new file mode 100644 index 00000000..608533e7 --- /dev/null +++ b/vrchatapi/models/favorite.py @@ -0,0 +1,220 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class Favorite(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'favorite_id': 'str', + 'id': 'str', + 'tags': 'list[str]', + 'type': 'FavoriteType' + } + + attribute_map = { + 'favorite_id': 'favoriteId', + 'id': 'id', + 'tags': 'tags', + 'type': 'type' + } + + def __init__(self, favorite_id=None, id=None, tags=None, type=None, local_vars_configuration=None): # noqa: E501 + """Favorite - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._favorite_id = None + self._id = None + self._tags = None + self._type = None + self.discriminator = None + + self.favorite_id = favorite_id + self.id = id + self.tags = tags + self.type = type + + @property + def favorite_id(self): + """Gets the favorite_id of this Favorite. # noqa: E501 + + MUST be either AvatarID, UserID or WorldID. # noqa: E501 + + :return: The favorite_id of this Favorite. # noqa: E501 + :rtype: str + """ + return self._favorite_id + + @favorite_id.setter + def favorite_id(self, favorite_id): + """Sets the favorite_id of this Favorite. + + MUST be either AvatarID, UserID or WorldID. # noqa: E501 + + :param favorite_id: The favorite_id of this Favorite. # noqa: E501 + :type favorite_id: str + """ + if self.local_vars_configuration.client_side_validation and favorite_id is None: # noqa: E501 + raise ValueError("Invalid value for `favorite_id`, must not be `None`") # noqa: E501 + + self._favorite_id = favorite_id + + @property + def id(self): + """Gets the id of this Favorite. # noqa: E501 + + + :return: The id of this Favorite. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this Favorite. + + + :param id: The id of this Favorite. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + id is not None and not re.search(r'fvrt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', id)): # noqa: E501 + raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/fvrt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + + self._id = id + + @property + def tags(self): + """Gets the tags of this Favorite. # noqa: E501 + + # noqa: E501 + + :return: The tags of this Favorite. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this Favorite. + + # noqa: E501 + + :param tags: The tags of this Favorite. # noqa: E501 + :type tags: list[str] + """ + if self.local_vars_configuration.client_side_validation and tags is None: # noqa: E501 + raise ValueError("Invalid value for `tags`, must not be `None`") # noqa: E501 + + self._tags = tags + + @property + def type(self): + """Gets the type of this Favorite. # noqa: E501 + + + :return: The type of this Favorite. # noqa: E501 + :rtype: FavoriteType + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this Favorite. + + + :param type: The type of this Favorite. # noqa: E501 + :type type: FavoriteType + """ + if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501 + raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 + + self._type = type + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, Favorite): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, Favorite): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py new file mode 100644 index 00000000..f8c25c48 --- /dev/null +++ b/vrchatapi/models/favorite_group.py @@ -0,0 +1,337 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class FavoriteGroup(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'display_name': 'str', + 'id': 'str', + 'name': 'str', + 'owner_display_name': 'str', + 'owner_id': 'str', + 'tags': 'list[str]', + 'type': 'FavoriteType', + 'visibility': 'FavoriteGroupVisibility' + } + + attribute_map = { + 'display_name': 'displayName', + 'id': 'id', + 'name': 'name', + 'owner_display_name': 'ownerDisplayName', + 'owner_id': 'ownerId', + 'tags': 'tags', + 'type': 'type', + 'visibility': 'visibility' + } + + def __init__(self, display_name=None, id=None, name=None, owner_display_name=None, owner_id=None, tags=None, type=None, visibility=None, local_vars_configuration=None): # noqa: E501 + """FavoriteGroup - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._display_name = None + self._id = None + self._name = None + self._owner_display_name = None + self._owner_id = None + self._tags = None + self._type = None + self._visibility = None + self.discriminator = None + + self.display_name = display_name + self.id = id + self.name = name + self.owner_display_name = owner_display_name + self.owner_id = owner_id + self.tags = tags + self.type = type + self.visibility = visibility + + @property + def display_name(self): + """Gets the display_name of this FavoriteGroup. # noqa: E501 + + + :return: The display_name of this FavoriteGroup. # noqa: E501 + :rtype: str + """ + return self._display_name + + @display_name.setter + def display_name(self, display_name): + """Sets the display_name of this FavoriteGroup. + + + :param display_name: The display_name of this FavoriteGroup. # noqa: E501 + :type display_name: str + """ + if self.local_vars_configuration.client_side_validation and display_name is None: # noqa: E501 + raise ValueError("Invalid value for `display_name`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + display_name is not None and len(display_name) < 1): + raise ValueError("Invalid value for `display_name`, length must be greater than or equal to `1`") # noqa: E501 + + self._display_name = display_name + + @property + def id(self): + """Gets the id of this FavoriteGroup. # noqa: E501 + + + :return: The id of this FavoriteGroup. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this FavoriteGroup. + + + :param id: The id of this FavoriteGroup. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + id is not None and not re.search(r'fvgrp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', id)): # noqa: E501 + raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/fvgrp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + + self._id = id + + @property + def name(self): + """Gets the name of this FavoriteGroup. # noqa: E501 + + + :return: The name of this FavoriteGroup. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this FavoriteGroup. + + + :param name: The name of this FavoriteGroup. # noqa: E501 + :type name: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + name is not None and len(name) < 1): + raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 + + self._name = name + + @property + def owner_display_name(self): + """Gets the owner_display_name of this FavoriteGroup. # noqa: E501 + + + :return: The owner_display_name of this FavoriteGroup. # noqa: E501 + :rtype: str + """ + return self._owner_display_name + + @owner_display_name.setter + def owner_display_name(self, owner_display_name): + """Sets the owner_display_name of this FavoriteGroup. + + + :param owner_display_name: The owner_display_name of this FavoriteGroup. # noqa: E501 + :type owner_display_name: str + """ + if self.local_vars_configuration.client_side_validation and owner_display_name is None: # noqa: E501 + raise ValueError("Invalid value for `owner_display_name`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + owner_display_name is not None and len(owner_display_name) < 1): + raise ValueError("Invalid value for `owner_display_name`, length must be greater than or equal to `1`") # noqa: E501 + + self._owner_display_name = owner_display_name + + @property + def owner_id(self): + """Gets the owner_id of this FavoriteGroup. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The owner_id of this FavoriteGroup. # noqa: E501 + :rtype: str + """ + return self._owner_id + + @owner_id.setter + def owner_id(self, owner_id): + """Sets the owner_id of this FavoriteGroup. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param owner_id: The owner_id of this FavoriteGroup. # noqa: E501 + :type owner_id: str + """ + if self.local_vars_configuration.client_side_validation and owner_id is None: # noqa: E501 + raise ValueError("Invalid value for `owner_id`, must not be `None`") # noqa: E501 + + self._owner_id = owner_id + + @property + def tags(self): + """Gets the tags of this FavoriteGroup. # noqa: E501 + + # noqa: E501 + + :return: The tags of this FavoriteGroup. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this FavoriteGroup. + + # noqa: E501 + + :param tags: The tags of this FavoriteGroup. # noqa: E501 + :type tags: list[str] + """ + if self.local_vars_configuration.client_side_validation and tags is None: # noqa: E501 + raise ValueError("Invalid value for `tags`, must not be `None`") # noqa: E501 + + self._tags = tags + + @property + def type(self): + """Gets the type of this FavoriteGroup. # noqa: E501 + + + :return: The type of this FavoriteGroup. # noqa: E501 + :rtype: FavoriteType + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this FavoriteGroup. + + + :param type: The type of this FavoriteGroup. # noqa: E501 + :type type: FavoriteType + """ + if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501 + raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 + + self._type = type + + @property + def visibility(self): + """Gets the visibility of this FavoriteGroup. # noqa: E501 + + + :return: The visibility of this FavoriteGroup. # noqa: E501 + :rtype: FavoriteGroupVisibility + """ + return self._visibility + + @visibility.setter + def visibility(self, visibility): + """Sets the visibility of this FavoriteGroup. + + + :param visibility: The visibility of this FavoriteGroup. # noqa: E501 + :type visibility: FavoriteGroupVisibility + """ + if self.local_vars_configuration.client_side_validation and visibility is None: # noqa: E501 + raise ValueError("Invalid value for `visibility`, must not be `None`") # noqa: E501 + + self._visibility = visibility + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, FavoriteGroup): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, FavoriteGroup): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py new file mode 100644 index 00000000..bbeec7da --- /dev/null +++ b/vrchatapi/models/favorite_group_visibility.py @@ -0,0 +1,112 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class FavoriteGroupVisibility(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + PRIVATE = "private" + FRIENDS = "friends" + PUBLIC = "public" + + allowable_values = [PRIVATE, FRIENDS, PUBLIC] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """FavoriteGroupVisibility - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, FavoriteGroupVisibility): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, FavoriteGroupVisibility): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py new file mode 100644 index 00000000..427fd1eb --- /dev/null +++ b/vrchatapi/models/favorite_type.py @@ -0,0 +1,112 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class FavoriteType(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + WORLD = "world" + FRIEND = "friend" + AVATAR = "avatar" + + allowable_values = [WORLD, FRIEND, AVATAR] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """FavoriteType - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, FavoriteType): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, FavoriteType): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py new file mode 100644 index 00000000..d81005b8 --- /dev/null +++ b/vrchatapi/models/file.py @@ -0,0 +1,314 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class File(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'extension': 'str', + 'id': 'str', + 'mime_type': 'MIMEType', + 'name': 'str', + 'owner_id': 'str', + 'tags': 'list[str]', + 'versions': 'list[FileVersion]' + } + + attribute_map = { + 'extension': 'extension', + 'id': 'id', + 'mime_type': 'mimeType', + 'name': 'name', + 'owner_id': 'ownerId', + 'tags': 'tags', + 'versions': 'versions' + } + + def __init__(self, extension=None, id=None, mime_type=None, name=None, owner_id=None, tags=None, versions=None, local_vars_configuration=None): # noqa: E501 + """File - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._extension = None + self._id = None + self._mime_type = None + self._name = None + self._owner_id = None + self._tags = None + self._versions = None + self.discriminator = None + + self.extension = extension + self.id = id + self.mime_type = mime_type + self.name = name + self.owner_id = owner_id + self.tags = tags + self.versions = versions + + @property + def extension(self): + """Gets the extension of this File. # noqa: E501 + + + :return: The extension of this File. # noqa: E501 + :rtype: str + """ + return self._extension + + @extension.setter + def extension(self, extension): + """Sets the extension of this File. + + + :param extension: The extension of this File. # noqa: E501 + :type extension: str + """ + if self.local_vars_configuration.client_side_validation and extension is None: # noqa: E501 + raise ValueError("Invalid value for `extension`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + extension is not None and len(extension) < 1): + raise ValueError("Invalid value for `extension`, length must be greater than or equal to `1`") # noqa: E501 + + self._extension = extension + + @property + def id(self): + """Gets the id of this File. # noqa: E501 + + + :return: The id of this File. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this File. + + + :param id: The id of this File. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + id is not None and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', id)): # noqa: E501 + raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + + self._id = id + + @property + def mime_type(self): + """Gets the mime_type of this File. # noqa: E501 + + + :return: The mime_type of this File. # noqa: E501 + :rtype: MIMEType + """ + return self._mime_type + + @mime_type.setter + def mime_type(self, mime_type): + """Sets the mime_type of this File. + + + :param mime_type: The mime_type of this File. # noqa: E501 + :type mime_type: MIMEType + """ + if self.local_vars_configuration.client_side_validation and mime_type is None: # noqa: E501 + raise ValueError("Invalid value for `mime_type`, must not be `None`") # noqa: E501 + + self._mime_type = mime_type + + @property + def name(self): + """Gets the name of this File. # noqa: E501 + + # noqa: E501 + + :return: The name of this File. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this File. + + # noqa: E501 + + :param name: The name of this File. # noqa: E501 + :type name: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + name is not None and len(name) < 0): + raise ValueError("Invalid value for `name`, length must be greater than or equal to `0`") # noqa: E501 + + self._name = name + + @property + def owner_id(self): + """Gets the owner_id of this File. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The owner_id of this File. # noqa: E501 + :rtype: str + """ + return self._owner_id + + @owner_id.setter + def owner_id(self, owner_id): + """Sets the owner_id of this File. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param owner_id: The owner_id of this File. # noqa: E501 + :type owner_id: str + """ + if self.local_vars_configuration.client_side_validation and owner_id is None: # noqa: E501 + raise ValueError("Invalid value for `owner_id`, must not be `None`") # noqa: E501 + + self._owner_id = owner_id + + @property + def tags(self): + """Gets the tags of this File. # noqa: E501 + + # noqa: E501 + + :return: The tags of this File. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this File. + + # noqa: E501 + + :param tags: The tags of this File. # noqa: E501 + :type tags: list[str] + """ + if self.local_vars_configuration.client_side_validation and tags is None: # noqa: E501 + raise ValueError("Invalid value for `tags`, must not be `None`") # noqa: E501 + + self._tags = tags + + @property + def versions(self): + """Gets the versions of this File. # noqa: E501 + + # noqa: E501 + + :return: The versions of this File. # noqa: E501 + :rtype: list[FileVersion] + """ + return self._versions + + @versions.setter + def versions(self, versions): + """Sets the versions of this File. + + # noqa: E501 + + :param versions: The versions of this File. # noqa: E501 + :type versions: list[FileVersion] + """ + if self.local_vars_configuration.client_side_validation and versions is None: # noqa: E501 + raise ValueError("Invalid value for `versions`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + versions is not None and len(versions) < 1): + raise ValueError("Invalid value for `versions`, number of items must be greater than or equal to `1`") # noqa: E501 + + self._versions = versions + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, File): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, File): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py new file mode 100644 index 00000000..07e0bf84 --- /dev/null +++ b/vrchatapi/models/file_data.py @@ -0,0 +1,315 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class FileData(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'category': 'str', + 'file_name': 'str', + 'md5': 'str', + 'size_in_bytes': 'int', + 'status': 'FileStatus', + 'upload_id': 'str', + 'url': 'str' + } + + attribute_map = { + 'category': 'category', + 'file_name': 'fileName', + 'md5': 'md5', + 'size_in_bytes': 'sizeInBytes', + 'status': 'status', + 'upload_id': 'uploadId', + 'url': 'url' + } + + def __init__(self, category='queued', file_name=None, md5=None, size_in_bytes=None, status=None, upload_id='', url=None, local_vars_configuration=None): # noqa: E501 + """FileData - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._category = None + self._file_name = None + self._md5 = None + self._size_in_bytes = None + self._status = None + self._upload_id = None + self._url = None + self.discriminator = None + + self.category = category + self.file_name = file_name + self.md5 = md5 + self.size_in_bytes = size_in_bytes + self.status = status + self.upload_id = upload_id + self.url = url + + @property + def category(self): + """Gets the category of this FileData. # noqa: E501 + + + :return: The category of this FileData. # noqa: E501 + :rtype: str + """ + return self._category + + @category.setter + def category(self, category): + """Sets the category of this FileData. + + + :param category: The category of this FileData. # noqa: E501 + :type category: str + """ + if self.local_vars_configuration.client_side_validation and category is None: # noqa: E501 + raise ValueError("Invalid value for `category`, must not be `None`") # noqa: E501 + allowed_values = ["multipart", "queued", "simple"] # noqa: E501 + if self.local_vars_configuration.client_side_validation and category not in allowed_values: # noqa: E501 + raise ValueError( + "Invalid value for `category` ({0}), must be one of {1}" # noqa: E501 + .format(category, allowed_values) + ) + + self._category = category + + @property + def file_name(self): + """Gets the file_name of this FileData. # noqa: E501 + + + :return: The file_name of this FileData. # noqa: E501 + :rtype: str + """ + return self._file_name + + @file_name.setter + def file_name(self, file_name): + """Sets the file_name of this FileData. + + + :param file_name: The file_name of this FileData. # noqa: E501 + :type file_name: str + """ + if self.local_vars_configuration.client_side_validation and file_name is None: # noqa: E501 + raise ValueError("Invalid value for `file_name`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + file_name is not None and len(file_name) < 1): + raise ValueError("Invalid value for `file_name`, length must be greater than or equal to `1`") # noqa: E501 + + self._file_name = file_name + + @property + def md5(self): + """Gets the md5 of this FileData. # noqa: E501 + + + :return: The md5 of this FileData. # noqa: E501 + :rtype: str + """ + return self._md5 + + @md5.setter + def md5(self, md5): + """Sets the md5 of this FileData. + + + :param md5: The md5 of this FileData. # noqa: E501 + :type md5: str + """ + if self.local_vars_configuration.client_side_validation and md5 is None: # noqa: E501 + raise ValueError("Invalid value for `md5`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + md5 is not None and len(md5) < 0): + raise ValueError("Invalid value for `md5`, length must be greater than or equal to `0`") # noqa: E501 + + self._md5 = md5 + + @property + def size_in_bytes(self): + """Gets the size_in_bytes of this FileData. # noqa: E501 + + + :return: The size_in_bytes of this FileData. # noqa: E501 + :rtype: int + """ + return self._size_in_bytes + + @size_in_bytes.setter + def size_in_bytes(self, size_in_bytes): + """Sets the size_in_bytes of this FileData. + + + :param size_in_bytes: The size_in_bytes of this FileData. # noqa: E501 + :type size_in_bytes: int + """ + if self.local_vars_configuration.client_side_validation and size_in_bytes is None: # noqa: E501 + raise ValueError("Invalid value for `size_in_bytes`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + size_in_bytes is not None and size_in_bytes < 0): # noqa: E501 + raise ValueError("Invalid value for `size_in_bytes`, must be a value greater than or equal to `0`") # noqa: E501 + + self._size_in_bytes = size_in_bytes + + @property + def status(self): + """Gets the status of this FileData. # noqa: E501 + + + :return: The status of this FileData. # noqa: E501 + :rtype: FileStatus + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this FileData. + + + :param status: The status of this FileData. # noqa: E501 + :type status: FileStatus + """ + if self.local_vars_configuration.client_side_validation and status is None: # noqa: E501 + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 + + self._status = status + + @property + def upload_id(self): + """Gets the upload_id of this FileData. # noqa: E501 + + + :return: The upload_id of this FileData. # noqa: E501 + :rtype: str + """ + return self._upload_id + + @upload_id.setter + def upload_id(self, upload_id): + """Sets the upload_id of this FileData. + + + :param upload_id: The upload_id of this FileData. # noqa: E501 + :type upload_id: str + """ + if self.local_vars_configuration.client_side_validation and upload_id is None: # noqa: E501 + raise ValueError("Invalid value for `upload_id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + upload_id is not None and len(upload_id) < 0): + raise ValueError("Invalid value for `upload_id`, length must be greater than or equal to `0`") # noqa: E501 + + self._upload_id = upload_id + + @property + def url(self): + """Gets the url of this FileData. # noqa: E501 + + + :return: The url of this FileData. # noqa: E501 + :rtype: str + """ + return self._url + + @url.setter + def url(self, url): + """Sets the url of this FileData. + + + :param url: The url of this FileData. # noqa: E501 + :type url: str + """ + if self.local_vars_configuration.client_side_validation and url is None: # noqa: E501 + raise ValueError("Invalid value for `url`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + url is not None and len(url) < 1): + raise ValueError("Invalid value for `url`, length must be greater than or equal to `1`") # noqa: E501 + + self._url = url + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, FileData): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, FileData): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py new file mode 100644 index 00000000..c760a09a --- /dev/null +++ b/vrchatapi/models/file_status.py @@ -0,0 +1,113 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class FileStatus(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + WAITING = "waiting" + COMPLETE = "complete" + NONE = "none" + QUEUED = "queued" + + allowable_values = [WAITING, COMPLETE, NONE, QUEUED] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """FileStatus - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, FileStatus): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, FileStatus): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py new file mode 100644 index 00000000..7c176045 --- /dev/null +++ b/vrchatapi/models/file_upload_url.py @@ -0,0 +1,137 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class FileUploadURL(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'url': 'str' + } + + attribute_map = { + 'url': 'url' + } + + def __init__(self, url=None, local_vars_configuration=None): # noqa: E501 + """FileUploadURL - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._url = None + self.discriminator = None + + self.url = url + + @property + def url(self): + """Gets the url of this FileUploadURL. # noqa: E501 + + # noqa: E501 + + :return: The url of this FileUploadURL. # noqa: E501 + :rtype: str + """ + return self._url + + @url.setter + def url(self, url): + """Sets the url of this FileUploadURL. + + # noqa: E501 + + :param url: The url of this FileUploadURL. # noqa: E501 + :type url: str + """ + if self.local_vars_configuration.client_side_validation and url is None: # noqa: E501 + raise ValueError("Invalid value for `url`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + url is not None and len(url) < 1): + raise ValueError("Invalid value for `url`, length must be greater than or equal to `1`") # noqa: E501 + + self._url = url + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, FileUploadURL): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, FileUploadURL): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py new file mode 100644 index 00000000..132ed16f --- /dev/null +++ b/vrchatapi/models/file_version.py @@ -0,0 +1,297 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class FileVersion(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'created_at': 'datetime', + 'deleted': 'bool', + 'delta': 'FileData', + 'file': 'FileData', + 'signature': 'FileData', + 'status': 'FileStatus', + 'version': 'int' + } + + attribute_map = { + 'created_at': 'created_at', + 'deleted': 'deleted', + 'delta': 'delta', + 'file': 'file', + 'signature': 'signature', + 'status': 'status', + 'version': 'version' + } + + def __init__(self, created_at=None, deleted=True, delta=None, file=None, signature=None, status=None, version=0, local_vars_configuration=None): # noqa: E501 + """FileVersion - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._created_at = None + self._deleted = None + self._delta = None + self._file = None + self._signature = None + self._status = None + self._version = None + self.discriminator = None + + self.created_at = created_at + if deleted is not None: + self.deleted = deleted + if delta is not None: + self.delta = delta + if file is not None: + self.file = file + if signature is not None: + self.signature = signature + self.status = status + self.version = version + + @property + def created_at(self): + """Gets the created_at of this FileVersion. # noqa: E501 + + + :return: The created_at of this FileVersion. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this FileVersion. + + + :param created_at: The created_at of this FileVersion. # noqa: E501 + :type created_at: datetime + """ + if self.local_vars_configuration.client_side_validation and created_at is None: # noqa: E501 + raise ValueError("Invalid value for `created_at`, must not be `None`") # noqa: E501 + + self._created_at = created_at + + @property + def deleted(self): + """Gets the deleted of this FileVersion. # noqa: E501 + + Usually only present if `true` # noqa: E501 + + :return: The deleted of this FileVersion. # noqa: E501 + :rtype: bool + """ + return self._deleted + + @deleted.setter + def deleted(self, deleted): + """Sets the deleted of this FileVersion. + + Usually only present if `true` # noqa: E501 + + :param deleted: The deleted of this FileVersion. # noqa: E501 + :type deleted: bool + """ + + self._deleted = deleted + + @property + def delta(self): + """Gets the delta of this FileVersion. # noqa: E501 + + + :return: The delta of this FileVersion. # noqa: E501 + :rtype: FileData + """ + return self._delta + + @delta.setter + def delta(self, delta): + """Sets the delta of this FileVersion. + + + :param delta: The delta of this FileVersion. # noqa: E501 + :type delta: FileData + """ + + self._delta = delta + + @property + def file(self): + """Gets the file of this FileVersion. # noqa: E501 + + + :return: The file of this FileVersion. # noqa: E501 + :rtype: FileData + """ + return self._file + + @file.setter + def file(self, file): + """Sets the file of this FileVersion. + + + :param file: The file of this FileVersion. # noqa: E501 + :type file: FileData + """ + + self._file = file + + @property + def signature(self): + """Gets the signature of this FileVersion. # noqa: E501 + + + :return: The signature of this FileVersion. # noqa: E501 + :rtype: FileData + """ + return self._signature + + @signature.setter + def signature(self, signature): + """Sets the signature of this FileVersion. + + + :param signature: The signature of this FileVersion. # noqa: E501 + :type signature: FileData + """ + + self._signature = signature + + @property + def status(self): + """Gets the status of this FileVersion. # noqa: E501 + + + :return: The status of this FileVersion. # noqa: E501 + :rtype: FileStatus + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this FileVersion. + + + :param status: The status of this FileVersion. # noqa: E501 + :type status: FileStatus + """ + if self.local_vars_configuration.client_side_validation and status is None: # noqa: E501 + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 + + self._status = status + + @property + def version(self): + """Gets the version of this FileVersion. # noqa: E501 + + Incremental version counter, can only be increased. # noqa: E501 + + :return: The version of this FileVersion. # noqa: E501 + :rtype: int + """ + return self._version + + @version.setter + def version(self, version): + """Sets the version of this FileVersion. + + Incremental version counter, can only be increased. # noqa: E501 + + :param version: The version of this FileVersion. # noqa: E501 + :type version: int + """ + if self.local_vars_configuration.client_side_validation and version is None: # noqa: E501 + raise ValueError("Invalid value for `version`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + version is not None and version < 0): # noqa: E501 + raise ValueError("Invalid value for `version`, must be a value greater than or equal to `0`") # noqa: E501 + + self._version = version + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, FileVersion): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, FileVersion): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py new file mode 100644 index 00000000..3066c323 --- /dev/null +++ b/vrchatapi/models/file_version_upload_status.py @@ -0,0 +1,287 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class FileVersionUploadStatus(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'upload_id': 'str', + 'file_name': 'str', + 'next_part_number': 'float', + 'max_parts': 'float', + 'parts': 'list[object]', + 'etags': 'list[object]' + } + + attribute_map = { + 'upload_id': 'uploadId', + 'file_name': 'fileName', + 'next_part_number': 'nextPartNumber', + 'max_parts': 'maxParts', + 'parts': 'parts', + 'etags': 'etags' + } + + def __init__(self, upload_id=None, file_name=None, next_part_number=None, max_parts=None, parts=None, etags=None, local_vars_configuration=None): # noqa: E501 + """FileVersionUploadStatus - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._upload_id = None + self._file_name = None + self._next_part_number = None + self._max_parts = None + self._parts = None + self._etags = None + self.discriminator = None + + self.upload_id = upload_id + self.file_name = file_name + self.next_part_number = next_part_number + self.max_parts = max_parts + self.parts = parts + self.etags = etags + + @property + def upload_id(self): + """Gets the upload_id of this FileVersionUploadStatus. # noqa: E501 + + + :return: The upload_id of this FileVersionUploadStatus. # noqa: E501 + :rtype: str + """ + return self._upload_id + + @upload_id.setter + def upload_id(self, upload_id): + """Sets the upload_id of this FileVersionUploadStatus. + + + :param upload_id: The upload_id of this FileVersionUploadStatus. # noqa: E501 + :type upload_id: str + """ + if self.local_vars_configuration.client_side_validation and upload_id is None: # noqa: E501 + raise ValueError("Invalid value for `upload_id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + upload_id is not None and len(upload_id) < 1): + raise ValueError("Invalid value for `upload_id`, length must be greater than or equal to `1`") # noqa: E501 + + self._upload_id = upload_id + + @property + def file_name(self): + """Gets the file_name of this FileVersionUploadStatus. # noqa: E501 + + + :return: The file_name of this FileVersionUploadStatus. # noqa: E501 + :rtype: str + """ + return self._file_name + + @file_name.setter + def file_name(self, file_name): + """Sets the file_name of this FileVersionUploadStatus. + + + :param file_name: The file_name of this FileVersionUploadStatus. # noqa: E501 + :type file_name: str + """ + if self.local_vars_configuration.client_side_validation and file_name is None: # noqa: E501 + raise ValueError("Invalid value for `file_name`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + file_name is not None and len(file_name) < 1): + raise ValueError("Invalid value for `file_name`, length must be greater than or equal to `1`") # noqa: E501 + + self._file_name = file_name + + @property + def next_part_number(self): + """Gets the next_part_number of this FileVersionUploadStatus. # noqa: E501 + + + :return: The next_part_number of this FileVersionUploadStatus. # noqa: E501 + :rtype: float + """ + return self._next_part_number + + @next_part_number.setter + def next_part_number(self, next_part_number): + """Sets the next_part_number of this FileVersionUploadStatus. + + + :param next_part_number: The next_part_number of this FileVersionUploadStatus. # noqa: E501 + :type next_part_number: float + """ + if self.local_vars_configuration.client_side_validation and next_part_number is None: # noqa: E501 + raise ValueError("Invalid value for `next_part_number`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + next_part_number is not None and next_part_number < 0): # noqa: E501 + raise ValueError("Invalid value for `next_part_number`, must be a value greater than or equal to `0`") # noqa: E501 + + self._next_part_number = next_part_number + + @property + def max_parts(self): + """Gets the max_parts of this FileVersionUploadStatus. # noqa: E501 + + + :return: The max_parts of this FileVersionUploadStatus. # noqa: E501 + :rtype: float + """ + return self._max_parts + + @max_parts.setter + def max_parts(self, max_parts): + """Sets the max_parts of this FileVersionUploadStatus. + + + :param max_parts: The max_parts of this FileVersionUploadStatus. # noqa: E501 + :type max_parts: float + """ + if self.local_vars_configuration.client_side_validation and max_parts is None: # noqa: E501 + raise ValueError("Invalid value for `max_parts`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + max_parts is not None and max_parts < 1): # noqa: E501 + raise ValueError("Invalid value for `max_parts`, must be a value greater than or equal to `1`") # noqa: E501 + + self._max_parts = max_parts + + @property + def parts(self): + """Gets the parts of this FileVersionUploadStatus. # noqa: E501 + + + :return: The parts of this FileVersionUploadStatus. # noqa: E501 + :rtype: list[object] + """ + return self._parts + + @parts.setter + def parts(self, parts): + """Sets the parts of this FileVersionUploadStatus. + + + :param parts: The parts of this FileVersionUploadStatus. # noqa: E501 + :type parts: list[object] + """ + if self.local_vars_configuration.client_side_validation and parts is None: # noqa: E501 + raise ValueError("Invalid value for `parts`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + parts is not None and len(parts) < 0): + raise ValueError("Invalid value for `parts`, number of items must be greater than or equal to `0`") # noqa: E501 + + self._parts = parts + + @property + def etags(self): + """Gets the etags of this FileVersionUploadStatus. # noqa: E501 + + Unknown # noqa: E501 + + :return: The etags of this FileVersionUploadStatus. # noqa: E501 + :rtype: list[object] + """ + return self._etags + + @etags.setter + def etags(self, etags): + """Sets the etags of this FileVersionUploadStatus. + + Unknown # noqa: E501 + + :param etags: The etags of this FileVersionUploadStatus. # noqa: E501 + :type etags: list[object] + """ + if self.local_vars_configuration.client_side_validation and etags is None: # noqa: E501 + raise ValueError("Invalid value for `etags`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + etags is not None and len(etags) < 0): + raise ValueError("Invalid value for `etags`, number of items must be greater than or equal to `0`") # noqa: E501 + + self._etags = etags + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, FileVersionUploadStatus): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, FileVersionUploadStatus): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py new file mode 100644 index 00000000..afec5e54 --- /dev/null +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -0,0 +1,212 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class FinishFileDataUploadRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'etags': 'list[str]', + 'next_part_number': 'str', + 'max_parts': 'str' + } + + attribute_map = { + 'etags': 'etags', + 'next_part_number': 'nextPartNumber', + 'max_parts': 'maxParts' + } + + def __init__(self, etags=None, next_part_number='0', max_parts='0', local_vars_configuration=None): # noqa: E501 + """FinishFileDataUploadRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._etags = None + self._next_part_number = None + self._max_parts = None + self.discriminator = None + + if etags is not None: + self.etags = etags + self.next_part_number = next_part_number + self.max_parts = max_parts + + @property + def etags(self): + """Gets the etags of this FinishFileDataUploadRequest. # noqa: E501 + + Array of ETags uploaded. # noqa: E501 + + :return: The etags of this FinishFileDataUploadRequest. # noqa: E501 + :rtype: list[str] + """ + return self._etags + + @etags.setter + def etags(self, etags): + """Sets the etags of this FinishFileDataUploadRequest. + + Array of ETags uploaded. # noqa: E501 + + :param etags: The etags of this FinishFileDataUploadRequest. # noqa: E501 + :type etags: list[str] + """ + if (self.local_vars_configuration.client_side_validation and + etags is not None and len(etags) < 1): + raise ValueError("Invalid value for `etags`, number of items must be greater than or equal to `1`") # noqa: E501 + + self._etags = etags + + @property + def next_part_number(self): + """Gets the next_part_number of this FinishFileDataUploadRequest. # noqa: E501 + + Always a zero in string form, despite how many parts uploaded. # noqa: E501 + + :return: The next_part_number of this FinishFileDataUploadRequest. # noqa: E501 + :rtype: str + """ + return self._next_part_number + + @next_part_number.setter + def next_part_number(self, next_part_number): + """Sets the next_part_number of this FinishFileDataUploadRequest. + + Always a zero in string form, despite how many parts uploaded. # noqa: E501 + + :param next_part_number: The next_part_number of this FinishFileDataUploadRequest. # noqa: E501 + :type next_part_number: str + """ + if self.local_vars_configuration.client_side_validation and next_part_number is None: # noqa: E501 + raise ValueError("Invalid value for `next_part_number`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + next_part_number is not None and len(next_part_number) > 1): + raise ValueError("Invalid value for `next_part_number`, length must be less than or equal to `1`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + next_part_number is not None and len(next_part_number) < 1): + raise ValueError("Invalid value for `next_part_number`, length must be greater than or equal to `1`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + next_part_number is not None and not re.search(r'0', next_part_number)): # noqa: E501 + raise ValueError(r"Invalid value for `next_part_number`, must be a follow pattern or equal to `/0/`") # noqa: E501 + + self._next_part_number = next_part_number + + @property + def max_parts(self): + """Gets the max_parts of this FinishFileDataUploadRequest. # noqa: E501 + + Always a zero in string form, despite how many parts uploaded. # noqa: E501 + + :return: The max_parts of this FinishFileDataUploadRequest. # noqa: E501 + :rtype: str + """ + return self._max_parts + + @max_parts.setter + def max_parts(self, max_parts): + """Sets the max_parts of this FinishFileDataUploadRequest. + + Always a zero in string form, despite how many parts uploaded. # noqa: E501 + + :param max_parts: The max_parts of this FinishFileDataUploadRequest. # noqa: E501 + :type max_parts: str + """ + if self.local_vars_configuration.client_side_validation and max_parts is None: # noqa: E501 + raise ValueError("Invalid value for `max_parts`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + max_parts is not None and len(max_parts) > 1): + raise ValueError("Invalid value for `max_parts`, length must be less than or equal to `1`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + max_parts is not None and len(max_parts) < 1): + raise ValueError("Invalid value for `max_parts`, length must be greater than or equal to `1`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + max_parts is not None and not re.search(r'0', max_parts)): # noqa: E501 + raise ValueError(r"Invalid value for `max_parts`, must be a follow pattern or equal to `/0/`") # noqa: E501 + + self._max_parts = max_parts + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, FinishFileDataUploadRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, FinishFileDataUploadRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py new file mode 100644 index 00000000..a17fcfcd --- /dev/null +++ b/vrchatapi/models/friend_status.py @@ -0,0 +1,186 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class FriendStatus(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'incoming_request': 'bool', + 'is_friend': 'bool', + 'outgoing_request': 'bool' + } + + attribute_map = { + 'incoming_request': 'incomingRequest', + 'is_friend': 'isFriend', + 'outgoing_request': 'outgoingRequest' + } + + def __init__(self, incoming_request=False, is_friend=False, outgoing_request=False, local_vars_configuration=None): # noqa: E501 + """FriendStatus - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._incoming_request = None + self._is_friend = None + self._outgoing_request = None + self.discriminator = None + + self.incoming_request = incoming_request + self.is_friend = is_friend + self.outgoing_request = outgoing_request + + @property + def incoming_request(self): + """Gets the incoming_request of this FriendStatus. # noqa: E501 + + + :return: The incoming_request of this FriendStatus. # noqa: E501 + :rtype: bool + """ + return self._incoming_request + + @incoming_request.setter + def incoming_request(self, incoming_request): + """Sets the incoming_request of this FriendStatus. + + + :param incoming_request: The incoming_request of this FriendStatus. # noqa: E501 + :type incoming_request: bool + """ + if self.local_vars_configuration.client_side_validation and incoming_request is None: # noqa: E501 + raise ValueError("Invalid value for `incoming_request`, must not be `None`") # noqa: E501 + + self._incoming_request = incoming_request + + @property + def is_friend(self): + """Gets the is_friend of this FriendStatus. # noqa: E501 + + + :return: The is_friend of this FriendStatus. # noqa: E501 + :rtype: bool + """ + return self._is_friend + + @is_friend.setter + def is_friend(self, is_friend): + """Sets the is_friend of this FriendStatus. + + + :param is_friend: The is_friend of this FriendStatus. # noqa: E501 + :type is_friend: bool + """ + if self.local_vars_configuration.client_side_validation and is_friend is None: # noqa: E501 + raise ValueError("Invalid value for `is_friend`, must not be `None`") # noqa: E501 + + self._is_friend = is_friend + + @property + def outgoing_request(self): + """Gets the outgoing_request of this FriendStatus. # noqa: E501 + + + :return: The outgoing_request of this FriendStatus. # noqa: E501 + :rtype: bool + """ + return self._outgoing_request + + @outgoing_request.setter + def outgoing_request(self, outgoing_request): + """Sets the outgoing_request of this FriendStatus. + + + :param outgoing_request: The outgoing_request of this FriendStatus. # noqa: E501 + :type outgoing_request: bool + """ + if self.local_vars_configuration.client_side_validation and outgoing_request is None: # noqa: E501 + raise ValueError("Invalid value for `outgoing_request`, must not be `None`") # noqa: E501 + + self._outgoing_request = outgoing_request + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, FriendStatus): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, FriendStatus): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py new file mode 100644 index 00000000..2781503e --- /dev/null +++ b/vrchatapi/models/info_push.py @@ -0,0 +1,412 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class InfoPush(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'id': 'str', + 'is_enabled': 'bool', + 'release_status': 'ReleaseStatus', + 'priority': 'int', + 'tags': 'list[str]', + 'data': 'InfoPushData', + 'hash': 'str', + 'created_at': 'datetime', + 'updated_at': 'datetime', + 'start_date': 'datetime', + 'end_date': 'datetime' + } + + attribute_map = { + 'id': 'id', + 'is_enabled': 'isEnabled', + 'release_status': 'releaseStatus', + 'priority': 'priority', + 'tags': 'tags', + 'data': 'data', + 'hash': 'hash', + 'created_at': 'createdAt', + 'updated_at': 'updatedAt', + 'start_date': 'startDate', + 'end_date': 'endDate' + } + + def __init__(self, id=None, is_enabled=True, release_status=None, priority=None, tags=None, data=None, hash=None, created_at=None, updated_at=None, start_date=None, end_date=None, local_vars_configuration=None): # noqa: E501 + """InfoPush - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._id = None + self._is_enabled = None + self._release_status = None + self._priority = None + self._tags = None + self._data = None + self._hash = None + self._created_at = None + self._updated_at = None + self._start_date = None + self._end_date = None + self.discriminator = None + + self.id = id + self.is_enabled = is_enabled + self.release_status = release_status + self.priority = priority + self.tags = tags + self.data = data + self.hash = hash + self.created_at = created_at + self.updated_at = updated_at + if start_date is not None: + self.start_date = start_date + if end_date is not None: + self.end_date = end_date + + @property + def id(self): + """Gets the id of this InfoPush. # noqa: E501 + + + :return: The id of this InfoPush. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this InfoPush. + + + :param id: The id of this InfoPush. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + id is not None and len(id) < 1): + raise ValueError("Invalid value for `id`, length must be greater than or equal to `1`") # noqa: E501 + + self._id = id + + @property + def is_enabled(self): + """Gets the is_enabled of this InfoPush. # noqa: E501 + + + :return: The is_enabled of this InfoPush. # noqa: E501 + :rtype: bool + """ + return self._is_enabled + + @is_enabled.setter + def is_enabled(self, is_enabled): + """Sets the is_enabled of this InfoPush. + + + :param is_enabled: The is_enabled of this InfoPush. # noqa: E501 + :type is_enabled: bool + """ + if self.local_vars_configuration.client_side_validation and is_enabled is None: # noqa: E501 + raise ValueError("Invalid value for `is_enabled`, must not be `None`") # noqa: E501 + + self._is_enabled = is_enabled + + @property + def release_status(self): + """Gets the release_status of this InfoPush. # noqa: E501 + + + :return: The release_status of this InfoPush. # noqa: E501 + :rtype: ReleaseStatus + """ + return self._release_status + + @release_status.setter + def release_status(self, release_status): + """Sets the release_status of this InfoPush. + + + :param release_status: The release_status of this InfoPush. # noqa: E501 + :type release_status: ReleaseStatus + """ + if self.local_vars_configuration.client_side_validation and release_status is None: # noqa: E501 + raise ValueError("Invalid value for `release_status`, must not be `None`") # noqa: E501 + + self._release_status = release_status + + @property + def priority(self): + """Gets the priority of this InfoPush. # noqa: E501 + + + :return: The priority of this InfoPush. # noqa: E501 + :rtype: int + """ + return self._priority + + @priority.setter + def priority(self, priority): + """Sets the priority of this InfoPush. + + + :param priority: The priority of this InfoPush. # noqa: E501 + :type priority: int + """ + if self.local_vars_configuration.client_side_validation and priority is None: # noqa: E501 + raise ValueError("Invalid value for `priority`, must not be `None`") # noqa: E501 + + self._priority = priority + + @property + def tags(self): + """Gets the tags of this InfoPush. # noqa: E501 + + # noqa: E501 + + :return: The tags of this InfoPush. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this InfoPush. + + # noqa: E501 + + :param tags: The tags of this InfoPush. # noqa: E501 + :type tags: list[str] + """ + if self.local_vars_configuration.client_side_validation and tags is None: # noqa: E501 + raise ValueError("Invalid value for `tags`, must not be `None`") # noqa: E501 + + self._tags = tags + + @property + def data(self): + """Gets the data of this InfoPush. # noqa: E501 + + + :return: The data of this InfoPush. # noqa: E501 + :rtype: InfoPushData + """ + return self._data + + @data.setter + def data(self, data): + """Sets the data of this InfoPush. + + + :param data: The data of this InfoPush. # noqa: E501 + :type data: InfoPushData + """ + if self.local_vars_configuration.client_side_validation and data is None: # noqa: E501 + raise ValueError("Invalid value for `data`, must not be `None`") # noqa: E501 + + self._data = data + + @property + def hash(self): + """Gets the hash of this InfoPush. # noqa: E501 + + Unknown usage, MD5 # noqa: E501 + + :return: The hash of this InfoPush. # noqa: E501 + :rtype: str + """ + return self._hash + + @hash.setter + def hash(self, hash): + """Sets the hash of this InfoPush. + + Unknown usage, MD5 # noqa: E501 + + :param hash: The hash of this InfoPush. # noqa: E501 + :type hash: str + """ + if self.local_vars_configuration.client_side_validation and hash is None: # noqa: E501 + raise ValueError("Invalid value for `hash`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + hash is not None and len(hash) < 1): + raise ValueError("Invalid value for `hash`, length must be greater than or equal to `1`") # noqa: E501 + + self._hash = hash + + @property + def created_at(self): + """Gets the created_at of this InfoPush. # noqa: E501 + + + :return: The created_at of this InfoPush. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this InfoPush. + + + :param created_at: The created_at of this InfoPush. # noqa: E501 + :type created_at: datetime + """ + if self.local_vars_configuration.client_side_validation and created_at is None: # noqa: E501 + raise ValueError("Invalid value for `created_at`, must not be `None`") # noqa: E501 + + self._created_at = created_at + + @property + def updated_at(self): + """Gets the updated_at of this InfoPush. # noqa: E501 + + + :return: The updated_at of this InfoPush. # noqa: E501 + :rtype: datetime + """ + return self._updated_at + + @updated_at.setter + def updated_at(self, updated_at): + """Sets the updated_at of this InfoPush. + + + :param updated_at: The updated_at of this InfoPush. # noqa: E501 + :type updated_at: datetime + """ + if self.local_vars_configuration.client_side_validation and updated_at is None: # noqa: E501 + raise ValueError("Invalid value for `updated_at`, must not be `None`") # noqa: E501 + + self._updated_at = updated_at + + @property + def start_date(self): + """Gets the start_date of this InfoPush. # noqa: E501 + + # noqa: E501 + + :return: The start_date of this InfoPush. # noqa: E501 + :rtype: datetime + """ + return self._start_date + + @start_date.setter + def start_date(self, start_date): + """Sets the start_date of this InfoPush. + + # noqa: E501 + + :param start_date: The start_date of this InfoPush. # noqa: E501 + :type start_date: datetime + """ + + self._start_date = start_date + + @property + def end_date(self): + """Gets the end_date of this InfoPush. # noqa: E501 + + + :return: The end_date of this InfoPush. # noqa: E501 + :rtype: datetime + """ + return self._end_date + + @end_date.setter + def end_date(self, end_date): + """Sets the end_date of this InfoPush. + + + :param end_date: The end_date of this InfoPush. # noqa: E501 + :type end_date: datetime + """ + + self._end_date = end_date + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InfoPush): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, InfoPush): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py new file mode 100644 index 00000000..0710fa87 --- /dev/null +++ b/vrchatapi/models/info_push_data.py @@ -0,0 +1,319 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class InfoPushData(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'content_list': 'DynamicContentRow', + 'description': 'str', + 'image_url': 'str', + 'name': 'str', + 'on_pressed': 'InfoPushDataClickable', + 'template': 'str', + 'version': 'str', + 'article': 'InfoPushDataArticle' + } + + attribute_map = { + 'content_list': 'contentList', + 'description': 'description', + 'image_url': 'imageUrl', + 'name': 'name', + 'on_pressed': 'onPressed', + 'template': 'template', + 'version': 'version', + 'article': 'article' + } + + def __init__(self, content_list=None, description=None, image_url=None, name=None, on_pressed=None, template=None, version=None, article=None, local_vars_configuration=None): # noqa: E501 + """InfoPushData - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._content_list = None + self._description = None + self._image_url = None + self._name = None + self._on_pressed = None + self._template = None + self._version = None + self._article = None + self.discriminator = None + + if content_list is not None: + self.content_list = content_list + if description is not None: + self.description = description + if image_url is not None: + self.image_url = image_url + if name is not None: + self.name = name + if on_pressed is not None: + self.on_pressed = on_pressed + if template is not None: + self.template = template + if version is not None: + self.version = version + if article is not None: + self.article = article + + @property + def content_list(self): + """Gets the content_list of this InfoPushData. # noqa: E501 + + + :return: The content_list of this InfoPushData. # noqa: E501 + :rtype: DynamicContentRow + """ + return self._content_list + + @content_list.setter + def content_list(self, content_list): + """Sets the content_list of this InfoPushData. + + + :param content_list: The content_list of this InfoPushData. # noqa: E501 + :type content_list: DynamicContentRow + """ + + self._content_list = content_list + + @property + def description(self): + """Gets the description of this InfoPushData. # noqa: E501 + + + :return: The description of this InfoPushData. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this InfoPushData. + + + :param description: The description of this InfoPushData. # noqa: E501 + :type description: str + """ + + self._description = description + + @property + def image_url(self): + """Gets the image_url of this InfoPushData. # noqa: E501 + + + :return: The image_url of this InfoPushData. # noqa: E501 + :rtype: str + """ + return self._image_url + + @image_url.setter + def image_url(self, image_url): + """Sets the image_url of this InfoPushData. + + + :param image_url: The image_url of this InfoPushData. # noqa: E501 + :type image_url: str + """ + if (self.local_vars_configuration.client_side_validation and + image_url is not None and len(image_url) < 1): + raise ValueError("Invalid value for `image_url`, length must be greater than or equal to `1`") # noqa: E501 + + self._image_url = image_url + + @property + def name(self): + """Gets the name of this InfoPushData. # noqa: E501 + + + :return: The name of this InfoPushData. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this InfoPushData. + + + :param name: The name of this InfoPushData. # noqa: E501 + :type name: str + """ + + self._name = name + + @property + def on_pressed(self): + """Gets the on_pressed of this InfoPushData. # noqa: E501 + + + :return: The on_pressed of this InfoPushData. # noqa: E501 + :rtype: InfoPushDataClickable + """ + return self._on_pressed + + @on_pressed.setter + def on_pressed(self, on_pressed): + """Sets the on_pressed of this InfoPushData. + + + :param on_pressed: The on_pressed of this InfoPushData. # noqa: E501 + :type on_pressed: InfoPushDataClickable + """ + + self._on_pressed = on_pressed + + @property + def template(self): + """Gets the template of this InfoPushData. # noqa: E501 + + + :return: The template of this InfoPushData. # noqa: E501 + :rtype: str + """ + return self._template + + @template.setter + def template(self, template): + """Sets the template of this InfoPushData. + + + :param template: The template of this InfoPushData. # noqa: E501 + :type template: str + """ + + self._template = template + + @property + def version(self): + """Gets the version of this InfoPushData. # noqa: E501 + + + :return: The version of this InfoPushData. # noqa: E501 + :rtype: str + """ + return self._version + + @version.setter + def version(self, version): + """Sets the version of this InfoPushData. + + + :param version: The version of this InfoPushData. # noqa: E501 + :type version: str + """ + if (self.local_vars_configuration.client_side_validation and + version is not None and len(version) < 1): + raise ValueError("Invalid value for `version`, length must be greater than or equal to `1`") # noqa: E501 + + self._version = version + + @property + def article(self): + """Gets the article of this InfoPushData. # noqa: E501 + + + :return: The article of this InfoPushData. # noqa: E501 + :rtype: InfoPushDataArticle + """ + return self._article + + @article.setter + def article(self, article): + """Sets the article of this InfoPushData. + + + :param article: The article of this InfoPushData. # noqa: E501 + :type article: InfoPushDataArticle + """ + + self._article = article + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InfoPushData): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, InfoPushData): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py new file mode 100644 index 00000000..ec067a0a --- /dev/null +++ b/vrchatapi/models/info_push_data_article.py @@ -0,0 +1,131 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class InfoPushDataArticle(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'content': 'InfoPushDataArticleContent' + } + + attribute_map = { + 'content': 'content' + } + + def __init__(self, content=None, local_vars_configuration=None): # noqa: E501 + """InfoPushDataArticle - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._content = None + self.discriminator = None + + if content is not None: + self.content = content + + @property + def content(self): + """Gets the content of this InfoPushDataArticle. # noqa: E501 + + + :return: The content of this InfoPushDataArticle. # noqa: E501 + :rtype: InfoPushDataArticleContent + """ + return self._content + + @content.setter + def content(self, content): + """Sets the content of this InfoPushDataArticle. + + + :param content: The content of this InfoPushDataArticle. # noqa: E501 + :type content: InfoPushDataArticleContent + """ + + self._content = content + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InfoPushDataArticle): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, InfoPushDataArticle): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py new file mode 100644 index 00000000..0c8a133f --- /dev/null +++ b/vrchatapi/models/info_push_data_article_content.py @@ -0,0 +1,183 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class InfoPushDataArticleContent(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'text': 'str', + 'image_url': 'str', + 'on_pressed': 'InfoPushDataClickable' + } + + attribute_map = { + 'text': 'text', + 'image_url': 'imageUrl', + 'on_pressed': 'onPressed' + } + + def __init__(self, text=None, image_url=None, on_pressed=None, local_vars_configuration=None): # noqa: E501 + """InfoPushDataArticleContent - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._text = None + self._image_url = None + self._on_pressed = None + self.discriminator = None + + if text is not None: + self.text = text + if image_url is not None: + self.image_url = image_url + if on_pressed is not None: + self.on_pressed = on_pressed + + @property + def text(self): + """Gets the text of this InfoPushDataArticleContent. # noqa: E501 + + + :return: The text of this InfoPushDataArticleContent. # noqa: E501 + :rtype: str + """ + return self._text + + @text.setter + def text(self, text): + """Sets the text of this InfoPushDataArticleContent. + + + :param text: The text of this InfoPushDataArticleContent. # noqa: E501 + :type text: str + """ + + self._text = text + + @property + def image_url(self): + """Gets the image_url of this InfoPushDataArticleContent. # noqa: E501 + + + :return: The image_url of this InfoPushDataArticleContent. # noqa: E501 + :rtype: str + """ + return self._image_url + + @image_url.setter + def image_url(self, image_url): + """Sets the image_url of this InfoPushDataArticleContent. + + + :param image_url: The image_url of this InfoPushDataArticleContent. # noqa: E501 + :type image_url: str + """ + + self._image_url = image_url + + @property + def on_pressed(self): + """Gets the on_pressed of this InfoPushDataArticleContent. # noqa: E501 + + + :return: The on_pressed of this InfoPushDataArticleContent. # noqa: E501 + :rtype: InfoPushDataClickable + """ + return self._on_pressed + + @on_pressed.setter + def on_pressed(self, on_pressed): + """Sets the on_pressed of this InfoPushDataArticleContent. + + + :param on_pressed: The on_pressed of this InfoPushDataArticleContent. # noqa: E501 + :type on_pressed: InfoPushDataClickable + """ + + self._on_pressed = on_pressed + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InfoPushDataArticleContent): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, InfoPushDataArticleContent): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py new file mode 100644 index 00000000..a99b9978 --- /dev/null +++ b/vrchatapi/models/info_push_data_clickable.py @@ -0,0 +1,166 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class InfoPushDataClickable(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'command': 'str', + 'parameters': 'list[str]' + } + + attribute_map = { + 'command': 'command', + 'parameters': 'parameters' + } + + def __init__(self, command=None, parameters=None, local_vars_configuration=None): # noqa: E501 + """InfoPushDataClickable - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._command = None + self._parameters = None + self.discriminator = None + + self.command = command + if parameters is not None: + self.parameters = parameters + + @property + def command(self): + """Gets the command of this InfoPushDataClickable. # noqa: E501 + + + :return: The command of this InfoPushDataClickable. # noqa: E501 + :rtype: str + """ + return self._command + + @command.setter + def command(self, command): + """Sets the command of this InfoPushDataClickable. + + + :param command: The command of this InfoPushDataClickable. # noqa: E501 + :type command: str + """ + if self.local_vars_configuration.client_side_validation and command is None: # noqa: E501 + raise ValueError("Invalid value for `command`, must not be `None`") # noqa: E501 + allowed_values = ["OpenURL", "OpenVRCPlusMenu", "OpenSafetyMenu", "CannedWorldSearch"] # noqa: E501 + if self.local_vars_configuration.client_side_validation and command not in allowed_values: # noqa: E501 + raise ValueError( + "Invalid value for `command` ({0}), must be one of {1}" # noqa: E501 + .format(command, allowed_values) + ) + + self._command = command + + @property + def parameters(self): + """Gets the parameters of this InfoPushDataClickable. # noqa: E501 + + In case of OpenURL, this would contain the link. # noqa: E501 + + :return: The parameters of this InfoPushDataClickable. # noqa: E501 + :rtype: list[str] + """ + return self._parameters + + @parameters.setter + def parameters(self, parameters): + """Sets the parameters of this InfoPushDataClickable. + + In case of OpenURL, this would contain the link. # noqa: E501 + + :param parameters: The parameters of this InfoPushDataClickable. # noqa: E501 + :type parameters: list[str] + """ + + self._parameters = parameters + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InfoPushDataClickable): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, InfoPushDataClickable): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py new file mode 100644 index 00000000..9e7dafcd --- /dev/null +++ b/vrchatapi/models/instance.py @@ -0,0 +1,769 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class Instance(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'active': 'bool', + 'can_request_invite': 'bool', + 'capacity': 'int', + 'client_number': 'str', + 'full': 'bool', + 'id': 'str', + 'instance_id': 'str', + 'location': 'str', + 'n_users': 'int', + 'name': 'str', + 'owner_id': 'str', + 'permanent': 'bool', + 'photon_region': 'Region', + 'platforms': 'InstancePlatforms', + 'region': 'Region', + 'secure_name': 'str', + 'short_name': 'str', + 'tags': 'list[str]', + 'type': 'InstanceType', + 'world_id': 'str', + 'hidden': 'str', + 'friends': 'str', + 'private': 'str' + } + + attribute_map = { + 'active': 'active', + 'can_request_invite': 'canRequestInvite', + 'capacity': 'capacity', + 'client_number': 'clientNumber', + 'full': 'full', + 'id': 'id', + 'instance_id': 'instanceId', + 'location': 'location', + 'n_users': 'n_users', + 'name': 'name', + 'owner_id': 'ownerId', + 'permanent': 'permanent', + 'photon_region': 'photonRegion', + 'platforms': 'platforms', + 'region': 'region', + 'secure_name': 'secureName', + 'short_name': 'shortName', + 'tags': 'tags', + 'type': 'type', + 'world_id': 'worldId', + 'hidden': 'hidden', + 'friends': 'friends', + 'private': 'private' + } + + def __init__(self, active=True, can_request_invite=True, capacity=None, client_number=None, full=False, id=None, instance_id=None, location=None, n_users=None, name=None, owner_id=None, permanent=False, photon_region=None, platforms=None, region=None, secure_name=None, short_name=None, tags=None, type=None, world_id=None, hidden=None, friends=None, private=None, local_vars_configuration=None): # noqa: E501 + """Instance - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._active = None + self._can_request_invite = None + self._capacity = None + self._client_number = None + self._full = None + self._id = None + self._instance_id = None + self._location = None + self._n_users = None + self._name = None + self._owner_id = None + self._permanent = None + self._photon_region = None + self._platforms = None + self._region = None + self._secure_name = None + self._short_name = None + self._tags = None + self._type = None + self._world_id = None + self._hidden = None + self._friends = None + self._private = None + self.discriminator = None + + self.active = active + self.can_request_invite = can_request_invite + self.capacity = capacity + self.client_number = client_number + self.full = full + self.id = id + self.instance_id = instance_id + self.location = location + self.n_users = n_users + self.name = name + if owner_id is not None: + self.owner_id = owner_id + self.permanent = permanent + self.photon_region = photon_region + self.platforms = platforms + self.region = region + self.secure_name = secure_name + if short_name is not None: + self.short_name = short_name + self.tags = tags + self.type = type + self.world_id = world_id + if hidden is not None: + self.hidden = hidden + if friends is not None: + self.friends = friends + if private is not None: + self.private = private + + @property + def active(self): + """Gets the active of this Instance. # noqa: E501 + + + :return: The active of this Instance. # noqa: E501 + :rtype: bool + """ + return self._active + + @active.setter + def active(self, active): + """Sets the active of this Instance. + + + :param active: The active of this Instance. # noqa: E501 + :type active: bool + """ + if self.local_vars_configuration.client_side_validation and active is None: # noqa: E501 + raise ValueError("Invalid value for `active`, must not be `None`") # noqa: E501 + + self._active = active + + @property + def can_request_invite(self): + """Gets the can_request_invite of this Instance. # noqa: E501 + + + :return: The can_request_invite of this Instance. # noqa: E501 + :rtype: bool + """ + return self._can_request_invite + + @can_request_invite.setter + def can_request_invite(self, can_request_invite): + """Sets the can_request_invite of this Instance. + + + :param can_request_invite: The can_request_invite of this Instance. # noqa: E501 + :type can_request_invite: bool + """ + if self.local_vars_configuration.client_side_validation and can_request_invite is None: # noqa: E501 + raise ValueError("Invalid value for `can_request_invite`, must not be `None`") # noqa: E501 + + self._can_request_invite = can_request_invite + + @property + def capacity(self): + """Gets the capacity of this Instance. # noqa: E501 + + + :return: The capacity of this Instance. # noqa: E501 + :rtype: int + """ + return self._capacity + + @capacity.setter + def capacity(self, capacity): + """Sets the capacity of this Instance. + + + :param capacity: The capacity of this Instance. # noqa: E501 + :type capacity: int + """ + if self.local_vars_configuration.client_side_validation and capacity is None: # noqa: E501 + raise ValueError("Invalid value for `capacity`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + capacity is not None and capacity < 0): # noqa: E501 + raise ValueError("Invalid value for `capacity`, must be a value greater than or equal to `0`") # noqa: E501 + + self._capacity = capacity + + @property + def client_number(self): + """Gets the client_number of this Instance. # noqa: E501 + + Always returns \"unknown\". # noqa: E501 + + :return: The client_number of this Instance. # noqa: E501 + :rtype: str + """ + return self._client_number + + @client_number.setter + def client_number(self, client_number): + """Sets the client_number of this Instance. + + Always returns \"unknown\". # noqa: E501 + + :param client_number: The client_number of this Instance. # noqa: E501 + :type client_number: str + """ + if self.local_vars_configuration.client_side_validation and client_number is None: # noqa: E501 + raise ValueError("Invalid value for `client_number`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + client_number is not None and len(client_number) < 1): + raise ValueError("Invalid value for `client_number`, length must be greater than or equal to `1`") # noqa: E501 + + self._client_number = client_number + + @property + def full(self): + """Gets the full of this Instance. # noqa: E501 + + + :return: The full of this Instance. # noqa: E501 + :rtype: bool + """ + return self._full + + @full.setter + def full(self, full): + """Sets the full of this Instance. + + + :param full: The full of this Instance. # noqa: E501 + :type full: bool + """ + if self.local_vars_configuration.client_side_validation and full is None: # noqa: E501 + raise ValueError("Invalid value for `full`, must not be `None`") # noqa: E501 + + self._full = full + + @property + def id(self): + """Gets the id of this Instance. # noqa: E501 + + InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. # noqa: E501 + + :return: The id of this Instance. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this Instance. + + InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. # noqa: E501 + + :param id: The id of this Instance. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + id is not None and not re.search(r'(private|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}:(\d+)(~region\(([\w]+)\))?(~([\w]+)\(usr_([\w-]+)\)((\~canRequestInvite)?)(~region\(([\w].+)\))?~nonce\((.+)\))?)', id)): # noqa: E501 + raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/(private|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}:(\d+)(~region\(([\w]+)\))?(~([\w]+)\(usr_([\w-]+)\)((\~canRequestInvite)?)(~region\(([\w].+)\))?~nonce\((.+)\))?)/`") # noqa: E501 + + self._id = id + + @property + def instance_id(self): + """Gets the instance_id of this Instance. # noqa: E501 + + + :return: The instance_id of this Instance. # noqa: E501 + :rtype: str + """ + return self._instance_id + + @instance_id.setter + def instance_id(self, instance_id): + """Sets the instance_id of this Instance. + + + :param instance_id: The instance_id of this Instance. # noqa: E501 + :type instance_id: str + """ + if self.local_vars_configuration.client_side_validation and instance_id is None: # noqa: E501 + raise ValueError("Invalid value for `instance_id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + instance_id is not None and len(instance_id) < 1): + raise ValueError("Invalid value for `instance_id`, length must be greater than or equal to `1`") # noqa: E501 + + self._instance_id = instance_id + + @property + def location(self): + """Gets the location of this Instance. # noqa: E501 + + InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. # noqa: E501 + + :return: The location of this Instance. # noqa: E501 + :rtype: str + """ + return self._location + + @location.setter + def location(self, location): + """Sets the location of this Instance. + + InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. # noqa: E501 + + :param location: The location of this Instance. # noqa: E501 + :type location: str + """ + if self.local_vars_configuration.client_side_validation and location is None: # noqa: E501 + raise ValueError("Invalid value for `location`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + location is not None and not re.search(r'(private|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}:(\d+)(~region\(([\w]+)\))?(~([\w]+)\(usr_([\w-]+)\)((\~canRequestInvite)?)(~region\(([\w].+)\))?~nonce\((.+)\))?)', location)): # noqa: E501 + raise ValueError(r"Invalid value for `location`, must be a follow pattern or equal to `/(private|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}:(\d+)(~region\(([\w]+)\))?(~([\w]+)\(usr_([\w-]+)\)((\~canRequestInvite)?)(~region\(([\w].+)\))?~nonce\((.+)\))?)/`") # noqa: E501 + + self._location = location + + @property + def n_users(self): + """Gets the n_users of this Instance. # noqa: E501 + + + :return: The n_users of this Instance. # noqa: E501 + :rtype: int + """ + return self._n_users + + @n_users.setter + def n_users(self, n_users): + """Sets the n_users of this Instance. + + + :param n_users: The n_users of this Instance. # noqa: E501 + :type n_users: int + """ + if self.local_vars_configuration.client_side_validation and n_users is None: # noqa: E501 + raise ValueError("Invalid value for `n_users`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + n_users is not None and n_users < 0): # noqa: E501 + raise ValueError("Invalid value for `n_users`, must be a value greater than or equal to `0`") # noqa: E501 + + self._n_users = n_users + + @property + def name(self): + """Gets the name of this Instance. # noqa: E501 + + + :return: The name of this Instance. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this Instance. + + + :param name: The name of this Instance. # noqa: E501 + :type name: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + name is not None and len(name) < 1): + raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 + + self._name = name + + @property + def owner_id(self): + """Gets the owner_id of this Instance. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The owner_id of this Instance. # noqa: E501 + :rtype: str + """ + return self._owner_id + + @owner_id.setter + def owner_id(self, owner_id): + """Sets the owner_id of this Instance. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param owner_id: The owner_id of this Instance. # noqa: E501 + :type owner_id: str + """ + + self._owner_id = owner_id + + @property + def permanent(self): + """Gets the permanent of this Instance. # noqa: E501 + + + :return: The permanent of this Instance. # noqa: E501 + :rtype: bool + """ + return self._permanent + + @permanent.setter + def permanent(self, permanent): + """Sets the permanent of this Instance. + + + :param permanent: The permanent of this Instance. # noqa: E501 + :type permanent: bool + """ + if self.local_vars_configuration.client_side_validation and permanent is None: # noqa: E501 + raise ValueError("Invalid value for `permanent`, must not be `None`") # noqa: E501 + + self._permanent = permanent + + @property + def photon_region(self): + """Gets the photon_region of this Instance. # noqa: E501 + + + :return: The photon_region of this Instance. # noqa: E501 + :rtype: Region + """ + return self._photon_region + + @photon_region.setter + def photon_region(self, photon_region): + """Sets the photon_region of this Instance. + + + :param photon_region: The photon_region of this Instance. # noqa: E501 + :type photon_region: Region + """ + if self.local_vars_configuration.client_side_validation and photon_region is None: # noqa: E501 + raise ValueError("Invalid value for `photon_region`, must not be `None`") # noqa: E501 + + self._photon_region = photon_region + + @property + def platforms(self): + """Gets the platforms of this Instance. # noqa: E501 + + + :return: The platforms of this Instance. # noqa: E501 + :rtype: InstancePlatforms + """ + return self._platforms + + @platforms.setter + def platforms(self, platforms): + """Sets the platforms of this Instance. + + + :param platforms: The platforms of this Instance. # noqa: E501 + :type platforms: InstancePlatforms + """ + if self.local_vars_configuration.client_side_validation and platforms is None: # noqa: E501 + raise ValueError("Invalid value for `platforms`, must not be `None`") # noqa: E501 + + self._platforms = platforms + + @property + def region(self): + """Gets the region of this Instance. # noqa: E501 + + + :return: The region of this Instance. # noqa: E501 + :rtype: Region + """ + return self._region + + @region.setter + def region(self, region): + """Sets the region of this Instance. + + + :param region: The region of this Instance. # noqa: E501 + :type region: Region + """ + if self.local_vars_configuration.client_side_validation and region is None: # noqa: E501 + raise ValueError("Invalid value for `region`, must not be `None`") # noqa: E501 + + self._region = region + + @property + def secure_name(self): + """Gets the secure_name of this Instance. # noqa: E501 + + + :return: The secure_name of this Instance. # noqa: E501 + :rtype: str + """ + return self._secure_name + + @secure_name.setter + def secure_name(self, secure_name): + """Sets the secure_name of this Instance. + + + :param secure_name: The secure_name of this Instance. # noqa: E501 + :type secure_name: str + """ + if self.local_vars_configuration.client_side_validation and secure_name is None: # noqa: E501 + raise ValueError("Invalid value for `secure_name`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + secure_name is not None and len(secure_name) < 1): + raise ValueError("Invalid value for `secure_name`, length must be greater than or equal to `1`") # noqa: E501 + + self._secure_name = secure_name + + @property + def short_name(self): + """Gets the short_name of this Instance. # noqa: E501 + + + :return: The short_name of this Instance. # noqa: E501 + :rtype: str + """ + return self._short_name + + @short_name.setter + def short_name(self, short_name): + """Sets the short_name of this Instance. + + + :param short_name: The short_name of this Instance. # noqa: E501 + :type short_name: str + """ + if (self.local_vars_configuration.client_side_validation and + short_name is not None and len(short_name) < 1): + raise ValueError("Invalid value for `short_name`, length must be greater than or equal to `1`") # noqa: E501 + + self._short_name = short_name + + @property + def tags(self): + """Gets the tags of this Instance. # noqa: E501 + + The tags array on Instances usually contain the language tags of the people in the instance. # noqa: E501 + + :return: The tags of this Instance. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this Instance. + + The tags array on Instances usually contain the language tags of the people in the instance. # noqa: E501 + + :param tags: The tags of this Instance. # noqa: E501 + :type tags: list[str] + """ + if self.local_vars_configuration.client_side_validation and tags is None: # noqa: E501 + raise ValueError("Invalid value for `tags`, must not be `None`") # noqa: E501 + + self._tags = tags + + @property + def type(self): + """Gets the type of this Instance. # noqa: E501 + + + :return: The type of this Instance. # noqa: E501 + :rtype: InstanceType + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this Instance. + + + :param type: The type of this Instance. # noqa: E501 + :type type: InstanceType + """ + if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501 + raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 + + self._type = type + + @property + def world_id(self): + """Gets the world_id of this Instance. # noqa: E501 + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :return: The world_id of this Instance. # noqa: E501 + :rtype: str + """ + return self._world_id + + @world_id.setter + def world_id(self, world_id): + """Sets the world_id of this Instance. + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :param world_id: The world_id of this Instance. # noqa: E501 + :type world_id: str + """ + if self.local_vars_configuration.client_side_validation and world_id is None: # noqa: E501 + raise ValueError("Invalid value for `world_id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + world_id is not None and not re.search(r'(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})', world_id)): # noqa: E501 + raise ValueError(r"Invalid value for `world_id`, must be a follow pattern or equal to `/(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})/`") # noqa: E501 + + self._world_id = world_id + + @property + def hidden(self): + """Gets the hidden of this Instance. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The hidden of this Instance. # noqa: E501 + :rtype: str + """ + return self._hidden + + @hidden.setter + def hidden(self, hidden): + """Sets the hidden of this Instance. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param hidden: The hidden of this Instance. # noqa: E501 + :type hidden: str + """ + + self._hidden = hidden + + @property + def friends(self): + """Gets the friends of this Instance. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The friends of this Instance. # noqa: E501 + :rtype: str + """ + return self._friends + + @friends.setter + def friends(self, friends): + """Sets the friends of this Instance. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param friends: The friends of this Instance. # noqa: E501 + :type friends: str + """ + + self._friends = friends + + @property + def private(self): + """Gets the private of this Instance. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The private of this Instance. # noqa: E501 + :rtype: str + """ + return self._private + + @private.setter + def private(self, private): + """Sets the private of this Instance. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param private: The private of this Instance. # noqa: E501 + :type private: str + """ + + self._private = private + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, Instance): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, Instance): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py new file mode 100644 index 00000000..67adc682 --- /dev/null +++ b/vrchatapi/models/instance_platforms.py @@ -0,0 +1,165 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class InstancePlatforms(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'android': 'int', + 'standalonewindows': 'int' + } + + attribute_map = { + 'android': 'android', + 'standalonewindows': 'standalonewindows' + } + + def __init__(self, android=None, standalonewindows=None, local_vars_configuration=None): # noqa: E501 + """InstancePlatforms - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._android = None + self._standalonewindows = None + self.discriminator = None + + self.android = android + self.standalonewindows = standalonewindows + + @property + def android(self): + """Gets the android of this InstancePlatforms. # noqa: E501 + + + :return: The android of this InstancePlatforms. # noqa: E501 + :rtype: int + """ + return self._android + + @android.setter + def android(self, android): + """Sets the android of this InstancePlatforms. + + + :param android: The android of this InstancePlatforms. # noqa: E501 + :type android: int + """ + if self.local_vars_configuration.client_side_validation and android is None: # noqa: E501 + raise ValueError("Invalid value for `android`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + android is not None and android < 0): # noqa: E501 + raise ValueError("Invalid value for `android`, must be a value greater than or equal to `0`") # noqa: E501 + + self._android = android + + @property + def standalonewindows(self): + """Gets the standalonewindows of this InstancePlatforms. # noqa: E501 + + + :return: The standalonewindows of this InstancePlatforms. # noqa: E501 + :rtype: int + """ + return self._standalonewindows + + @standalonewindows.setter + def standalonewindows(self, standalonewindows): + """Sets the standalonewindows of this InstancePlatforms. + + + :param standalonewindows: The standalonewindows of this InstancePlatforms. # noqa: E501 + :type standalonewindows: int + """ + if self.local_vars_configuration.client_side_validation and standalonewindows is None: # noqa: E501 + raise ValueError("Invalid value for `standalonewindows`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + standalonewindows is not None and standalonewindows < 0): # noqa: E501 + raise ValueError("Invalid value for `standalonewindows`, must be a value greater than or equal to `0`") # noqa: E501 + + self._standalonewindows = standalonewindows + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InstancePlatforms): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, InstancePlatforms): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py new file mode 100644 index 00000000..79acf5e8 --- /dev/null +++ b/vrchatapi/models/instance_short_name_response.py @@ -0,0 +1,164 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class InstanceShortNameResponse(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'secure_name': 'str', + 'short_name': 'str' + } + + attribute_map = { + 'secure_name': 'secureName', + 'short_name': 'shortName' + } + + def __init__(self, secure_name=None, short_name=None, local_vars_configuration=None): # noqa: E501 + """InstanceShortNameResponse - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._secure_name = None + self._short_name = None + self.discriminator = None + + self.secure_name = secure_name + if short_name is not None: + self.short_name = short_name + + @property + def secure_name(self): + """Gets the secure_name of this InstanceShortNameResponse. # noqa: E501 + + + :return: The secure_name of this InstanceShortNameResponse. # noqa: E501 + :rtype: str + """ + return self._secure_name + + @secure_name.setter + def secure_name(self, secure_name): + """Sets the secure_name of this InstanceShortNameResponse. + + + :param secure_name: The secure_name of this InstanceShortNameResponse. # noqa: E501 + :type secure_name: str + """ + if self.local_vars_configuration.client_side_validation and secure_name is None: # noqa: E501 + raise ValueError("Invalid value for `secure_name`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + secure_name is not None and len(secure_name) < 1): + raise ValueError("Invalid value for `secure_name`, length must be greater than or equal to `1`") # noqa: E501 + + self._secure_name = secure_name + + @property + def short_name(self): + """Gets the short_name of this InstanceShortNameResponse. # noqa: E501 + + + :return: The short_name of this InstanceShortNameResponse. # noqa: E501 + :rtype: str + """ + return self._short_name + + @short_name.setter + def short_name(self, short_name): + """Sets the short_name of this InstanceShortNameResponse. + + + :param short_name: The short_name of this InstanceShortNameResponse. # noqa: E501 + :type short_name: str + """ + if (self.local_vars_configuration.client_side_validation and + short_name is not None and len(short_name) < 1): + raise ValueError("Invalid value for `short_name`, length must be greater than or equal to `1`") # noqa: E501 + + self._short_name = short_name + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InstanceShortNameResponse): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, InstanceShortNameResponse): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py new file mode 100644 index 00000000..023b00d3 --- /dev/null +++ b/vrchatapi/models/instance_type.py @@ -0,0 +1,113 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class InstanceType(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + PUBLIC = "public" + HIDDEN = "hidden" + FRIENDS = "friends" + PRIVATE = "private" + + allowable_values = [PUBLIC, HIDDEN, FRIENDS, PRIVATE] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """InstanceType - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InstanceType): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, InstanceType): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py new file mode 100644 index 00000000..3fcf2bcd --- /dev/null +++ b/vrchatapi/models/invite_message.py @@ -0,0 +1,311 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class InviteMessage(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'can_be_updated': 'bool', + 'id': 'str', + 'message': 'str', + 'message_type': 'InviteMessageType', + 'remaining_cooldown_minutes': 'int', + 'slot': 'int', + 'updated_at': 'datetime' + } + + attribute_map = { + 'can_be_updated': 'canBeUpdated', + 'id': 'id', + 'message': 'message', + 'message_type': 'messageType', + 'remaining_cooldown_minutes': 'remainingCooldownMinutes', + 'slot': 'slot', + 'updated_at': 'updatedAt' + } + + def __init__(self, can_be_updated=True, id=None, message=None, message_type=None, remaining_cooldown_minutes=0, slot=None, updated_at=None, local_vars_configuration=None): # noqa: E501 + """InviteMessage - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._can_be_updated = None + self._id = None + self._message = None + self._message_type = None + self._remaining_cooldown_minutes = None + self._slot = None + self._updated_at = None + self.discriminator = None + + self.can_be_updated = can_be_updated + self.id = id + self.message = message + self.message_type = message_type + self.remaining_cooldown_minutes = remaining_cooldown_minutes + self.slot = slot + self.updated_at = updated_at + + @property + def can_be_updated(self): + """Gets the can_be_updated of this InviteMessage. # noqa: E501 + + + :return: The can_be_updated of this InviteMessage. # noqa: E501 + :rtype: bool + """ + return self._can_be_updated + + @can_be_updated.setter + def can_be_updated(self, can_be_updated): + """Sets the can_be_updated of this InviteMessage. + + + :param can_be_updated: The can_be_updated of this InviteMessage. # noqa: E501 + :type can_be_updated: bool + """ + if self.local_vars_configuration.client_side_validation and can_be_updated is None: # noqa: E501 + raise ValueError("Invalid value for `can_be_updated`, must not be `None`") # noqa: E501 + + self._can_be_updated = can_be_updated + + @property + def id(self): + """Gets the id of this InviteMessage. # noqa: E501 + + + :return: The id of this InviteMessage. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this InviteMessage. + + + :param id: The id of this InviteMessage. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + id is not None and not re.search(r'(default|invm_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})', id)): # noqa: E501 + raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/(default|invm_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})/`") # noqa: E501 + + self._id = id + + @property + def message(self): + """Gets the message of this InviteMessage. # noqa: E501 + + + :return: The message of this InviteMessage. # noqa: E501 + :rtype: str + """ + return self._message + + @message.setter + def message(self, message): + """Sets the message of this InviteMessage. + + + :param message: The message of this InviteMessage. # noqa: E501 + :type message: str + """ + if self.local_vars_configuration.client_side_validation and message is None: # noqa: E501 + raise ValueError("Invalid value for `message`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + message is not None and len(message) < 1): + raise ValueError("Invalid value for `message`, length must be greater than or equal to `1`") # noqa: E501 + + self._message = message + + @property + def message_type(self): + """Gets the message_type of this InviteMessage. # noqa: E501 + + + :return: The message_type of this InviteMessage. # noqa: E501 + :rtype: InviteMessageType + """ + return self._message_type + + @message_type.setter + def message_type(self, message_type): + """Sets the message_type of this InviteMessage. + + + :param message_type: The message_type of this InviteMessage. # noqa: E501 + :type message_type: InviteMessageType + """ + if self.local_vars_configuration.client_side_validation and message_type is None: # noqa: E501 + raise ValueError("Invalid value for `message_type`, must not be `None`") # noqa: E501 + + self._message_type = message_type + + @property + def remaining_cooldown_minutes(self): + """Gets the remaining_cooldown_minutes of this InviteMessage. # noqa: E501 + + Changes to 60 when updated, although probably server-side configurable. # noqa: E501 + + :return: The remaining_cooldown_minutes of this InviteMessage. # noqa: E501 + :rtype: int + """ + return self._remaining_cooldown_minutes + + @remaining_cooldown_minutes.setter + def remaining_cooldown_minutes(self, remaining_cooldown_minutes): + """Sets the remaining_cooldown_minutes of this InviteMessage. + + Changes to 60 when updated, although probably server-side configurable. # noqa: E501 + + :param remaining_cooldown_minutes: The remaining_cooldown_minutes of this InviteMessage. # noqa: E501 + :type remaining_cooldown_minutes: int + """ + if self.local_vars_configuration.client_side_validation and remaining_cooldown_minutes is None: # noqa: E501 + raise ValueError("Invalid value for `remaining_cooldown_minutes`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + remaining_cooldown_minutes is not None and remaining_cooldown_minutes < 0): # noqa: E501 + raise ValueError("Invalid value for `remaining_cooldown_minutes`, must be a value greater than or equal to `0`") # noqa: E501 + + self._remaining_cooldown_minutes = remaining_cooldown_minutes + + @property + def slot(self): + """Gets the slot of this InviteMessage. # noqa: E501 + + + :return: The slot of this InviteMessage. # noqa: E501 + :rtype: int + """ + return self._slot + + @slot.setter + def slot(self, slot): + """Sets the slot of this InviteMessage. + + + :param slot: The slot of this InviteMessage. # noqa: E501 + :type slot: int + """ + if self.local_vars_configuration.client_side_validation and slot is None: # noqa: E501 + raise ValueError("Invalid value for `slot`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + slot is not None and slot > 11): # noqa: E501 + raise ValueError("Invalid value for `slot`, must be a value less than or equal to `11`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + slot is not None and slot < 0): # noqa: E501 + raise ValueError("Invalid value for `slot`, must be a value greater than or equal to `0`") # noqa: E501 + + self._slot = slot + + @property + def updated_at(self): + """Gets the updated_at of this InviteMessage. # noqa: E501 + + + :return: The updated_at of this InviteMessage. # noqa: E501 + :rtype: datetime + """ + return self._updated_at + + @updated_at.setter + def updated_at(self, updated_at): + """Sets the updated_at of this InviteMessage. + + + :param updated_at: The updated_at of this InviteMessage. # noqa: E501 + :type updated_at: datetime + """ + if self.local_vars_configuration.client_side_validation and updated_at is None: # noqa: E501 + raise ValueError("Invalid value for `updated_at`, must not be `None`") # noqa: E501 + + self._updated_at = updated_at + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InviteMessage): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, InviteMessage): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py new file mode 100644 index 00000000..6eb2427f --- /dev/null +++ b/vrchatapi/models/invite_message_type.py @@ -0,0 +1,113 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class InviteMessageType(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + MESSAGE = "message" + RESPONSE = "response" + REQUEST = "request" + REQUESTRESPONSE = "requestResponse" + + allowable_values = [MESSAGE, RESPONSE, REQUEST, REQUESTRESPONSE] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """InviteMessageType - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InviteMessageType): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, InviteMessageType): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py new file mode 100644 index 00000000..a0ec9b22 --- /dev/null +++ b/vrchatapi/models/invite_request.py @@ -0,0 +1,169 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class InviteRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'instance_id': 'str', + 'message_slot': 'int' + } + + attribute_map = { + 'instance_id': 'instanceId', + 'message_slot': 'messageSlot' + } + + def __init__(self, instance_id=None, message_slot=None, local_vars_configuration=None): # noqa: E501 + """InviteRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._instance_id = None + self._message_slot = None + self.discriminator = None + + self.instance_id = instance_id + if message_slot is not None: + self.message_slot = message_slot + + @property + def instance_id(self): + """Gets the instance_id of this InviteRequest. # noqa: E501 + + InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. # noqa: E501 + + :return: The instance_id of this InviteRequest. # noqa: E501 + :rtype: str + """ + return self._instance_id + + @instance_id.setter + def instance_id(self, instance_id): + """Sets the instance_id of this InviteRequest. + + InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. # noqa: E501 + + :param instance_id: The instance_id of this InviteRequest. # noqa: E501 + :type instance_id: str + """ + if self.local_vars_configuration.client_side_validation and instance_id is None: # noqa: E501 + raise ValueError("Invalid value for `instance_id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + instance_id is not None and not re.search(r'(private|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}:(\d+)(~region\(([\w]+)\))?(~([\w]+)\(usr_([\w-]+)\)((\~canRequestInvite)?)(~region\(([\w].+)\))?~nonce\((.+)\))?)', instance_id)): # noqa: E501 + raise ValueError(r"Invalid value for `instance_id`, must be a follow pattern or equal to `/(private|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}:(\d+)(~region\(([\w]+)\))?(~([\w]+)\(usr_([\w-]+)\)((\~canRequestInvite)?)(~region\(([\w].+)\))?~nonce\((.+)\))?)/`") # noqa: E501 + + self._instance_id = instance_id + + @property + def message_slot(self): + """Gets the message_slot of this InviteRequest. # noqa: E501 + + + :return: The message_slot of this InviteRequest. # noqa: E501 + :rtype: int + """ + return self._message_slot + + @message_slot.setter + def message_slot(self, message_slot): + """Sets the message_slot of this InviteRequest. + + + :param message_slot: The message_slot of this InviteRequest. # noqa: E501 + :type message_slot: int + """ + if (self.local_vars_configuration.client_side_validation and + message_slot is not None and message_slot > 11): # noqa: E501 + raise ValueError("Invalid value for `message_slot`, must be a value less than or equal to `11`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + message_slot is not None and message_slot < 0): # noqa: E501 + raise ValueError("Invalid value for `message_slot`, must be a value greater than or equal to `0`") # noqa: E501 + + self._message_slot = message_slot + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InviteRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, InviteRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py new file mode 100644 index 00000000..6d030b27 --- /dev/null +++ b/vrchatapi/models/invite_response.py @@ -0,0 +1,138 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class InviteResponse(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'response_slot': 'int' + } + + attribute_map = { + 'response_slot': 'responseSlot' + } + + def __init__(self, response_slot=None, local_vars_configuration=None): # noqa: E501 + """InviteResponse - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._response_slot = None + self.discriminator = None + + self.response_slot = response_slot + + @property + def response_slot(self): + """Gets the response_slot of this InviteResponse. # noqa: E501 + + + :return: The response_slot of this InviteResponse. # noqa: E501 + :rtype: int + """ + return self._response_slot + + @response_slot.setter + def response_slot(self, response_slot): + """Sets the response_slot of this InviteResponse. + + + :param response_slot: The response_slot of this InviteResponse. # noqa: E501 + :type response_slot: int + """ + if self.local_vars_configuration.client_side_validation and response_slot is None: # noqa: E501 + raise ValueError("Invalid value for `response_slot`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + response_slot is not None and response_slot > 11): # noqa: E501 + raise ValueError("Invalid value for `response_slot`, must be a value less than or equal to `11`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + response_slot is not None and response_slot < 0): # noqa: E501 + raise ValueError("Invalid value for `response_slot`, must be a value greater than or equal to `0`") # noqa: E501 + + self._response_slot = response_slot + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InviteResponse): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, InviteResponse): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py new file mode 100644 index 00000000..a9f6406a --- /dev/null +++ b/vrchatapi/models/license.py @@ -0,0 +1,224 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class License(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'for_id': 'str', + 'for_type': 'LicenseType', + 'for_name': 'str', + 'for_action': 'LicenseAction' + } + + attribute_map = { + 'for_id': 'forId', + 'for_type': 'forType', + 'for_name': 'forName', + 'for_action': 'forAction' + } + + def __init__(self, for_id=None, for_type=None, for_name=None, for_action=None, local_vars_configuration=None): # noqa: E501 + """License - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._for_id = None + self._for_type = None + self._for_name = None + self._for_action = None + self.discriminator = None + + self.for_id = for_id + self.for_type = for_type + self.for_name = for_name + self.for_action = for_action + + @property + def for_id(self): + """Gets the for_id of this License. # noqa: E501 + + Either a AvatarID, LicenseGroupID, PermissionID or ProductID. This depends on the `forType` field. # noqa: E501 + + :return: The for_id of this License. # noqa: E501 + :rtype: str + """ + return self._for_id + + @for_id.setter + def for_id(self, for_id): + """Sets the for_id of this License. + + Either a AvatarID, LicenseGroupID, PermissionID or ProductID. This depends on the `forType` field. # noqa: E501 + + :param for_id: The for_id of this License. # noqa: E501 + :type for_id: str + """ + if self.local_vars_configuration.client_side_validation and for_id is None: # noqa: E501 + raise ValueError("Invalid value for `for_id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + for_id is not None and len(for_id) < 1): + raise ValueError("Invalid value for `for_id`, length must be greater than or equal to `1`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + for_id is not None and not re.search(r'(avtr|lgrp|prms|prod)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', for_id)): # noqa: E501 + raise ValueError(r"Invalid value for `for_id`, must be a follow pattern or equal to `/(avtr|lgrp|prms|prod)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + + self._for_id = for_id + + @property + def for_type(self): + """Gets the for_type of this License. # noqa: E501 + + + :return: The for_type of this License. # noqa: E501 + :rtype: LicenseType + """ + return self._for_type + + @for_type.setter + def for_type(self, for_type): + """Sets the for_type of this License. + + + :param for_type: The for_type of this License. # noqa: E501 + :type for_type: LicenseType + """ + if self.local_vars_configuration.client_side_validation and for_type is None: # noqa: E501 + raise ValueError("Invalid value for `for_type`, must not be `None`") # noqa: E501 + + self._for_type = for_type + + @property + def for_name(self): + """Gets the for_name of this License. # noqa: E501 + + + :return: The for_name of this License. # noqa: E501 + :rtype: str + """ + return self._for_name + + @for_name.setter + def for_name(self, for_name): + """Sets the for_name of this License. + + + :param for_name: The for_name of this License. # noqa: E501 + :type for_name: str + """ + if self.local_vars_configuration.client_side_validation and for_name is None: # noqa: E501 + raise ValueError("Invalid value for `for_name`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + for_name is not None and len(for_name) < 1): + raise ValueError("Invalid value for `for_name`, length must be greater than or equal to `1`") # noqa: E501 + + self._for_name = for_name + + @property + def for_action(self): + """Gets the for_action of this License. # noqa: E501 + + + :return: The for_action of this License. # noqa: E501 + :rtype: LicenseAction + """ + return self._for_action + + @for_action.setter + def for_action(self, for_action): + """Sets the for_action of this License. + + + :param for_action: The for_action of this License. # noqa: E501 + :type for_action: LicenseAction + """ + if self.local_vars_configuration.client_side_validation and for_action is None: # noqa: E501 + raise ValueError("Invalid value for `for_action`, must not be `None`") # noqa: E501 + + self._for_action = for_action + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, License): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, License): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py new file mode 100644 index 00000000..754002f6 --- /dev/null +++ b/vrchatapi/models/license_action.py @@ -0,0 +1,111 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class LicenseAction(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + WEAR = "wear" + HAVE = "have" + + allowable_values = [WEAR, HAVE] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """LicenseAction - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, LicenseAction): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, LicenseAction): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py new file mode 100644 index 00000000..a0725e1d --- /dev/null +++ b/vrchatapi/models/license_group.py @@ -0,0 +1,219 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class LicenseGroup(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'id': 'str', + 'name': 'str', + 'description': 'str', + 'licenses': 'list[License]' + } + + attribute_map = { + 'id': 'id', + 'name': 'name', + 'description': 'description', + 'licenses': 'licenses' + } + + def __init__(self, id=None, name=None, description=None, licenses=None, local_vars_configuration=None): # noqa: E501 + """LicenseGroup - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._id = None + self._name = None + self._description = None + self._licenses = None + self.discriminator = None + + self.id = id + self.name = name + self.description = description + self.licenses = licenses + + @property + def id(self): + """Gets the id of this LicenseGroup. # noqa: E501 + + + :return: The id of this LicenseGroup. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this LicenseGroup. + + + :param id: The id of this LicenseGroup. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + id is not None and not re.search(r'lgrp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', id)): # noqa: E501 + raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/lgrp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + + self._id = id + + @property + def name(self): + """Gets the name of this LicenseGroup. # noqa: E501 + + + :return: The name of this LicenseGroup. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this LicenseGroup. + + + :param name: The name of this LicenseGroup. # noqa: E501 + :type name: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + name is not None and len(name) < 1): + raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 + + self._name = name + + @property + def description(self): + """Gets the description of this LicenseGroup. # noqa: E501 + + + :return: The description of this LicenseGroup. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this LicenseGroup. + + + :param description: The description of this LicenseGroup. # noqa: E501 + :type description: str + """ + if self.local_vars_configuration.client_side_validation and description is None: # noqa: E501 + raise ValueError("Invalid value for `description`, must not be `None`") # noqa: E501 + + self._description = description + + @property + def licenses(self): + """Gets the licenses of this LicenseGroup. # noqa: E501 + + + :return: The licenses of this LicenseGroup. # noqa: E501 + :rtype: list[License] + """ + return self._licenses + + @licenses.setter + def licenses(self, licenses): + """Sets the licenses of this LicenseGroup. + + + :param licenses: The licenses of this LicenseGroup. # noqa: E501 + :type licenses: list[License] + """ + if self.local_vars_configuration.client_side_validation and licenses is None: # noqa: E501 + raise ValueError("Invalid value for `licenses`, must not be `None`") # noqa: E501 + + self._licenses = licenses + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, LicenseGroup): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, LicenseGroup): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py new file mode 100644 index 00000000..60484c84 --- /dev/null +++ b/vrchatapi/models/license_type.py @@ -0,0 +1,113 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class LicenseType(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + AVATAR = "avatar" + LICENSEGROUP = "licenseGroup" + PERMISSION = "permission" + PRODUCT = "product" + + allowable_values = [AVATAR, LICENSEGROUP, PERMISSION, PRODUCT] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """LicenseType - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, LicenseType): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, LicenseType): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py new file mode 100644 index 00000000..4f605f21 --- /dev/null +++ b/vrchatapi/models/limited_unity_package.py @@ -0,0 +1,164 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class LimitedUnityPackage(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'platform': 'str', + 'unity_version': 'str' + } + + attribute_map = { + 'platform': 'platform', + 'unity_version': 'unityVersion' + } + + def __init__(self, platform=None, unity_version=None, local_vars_configuration=None): # noqa: E501 + """LimitedUnityPackage - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._platform = None + self._unity_version = None + self.discriminator = None + + self.platform = platform + self.unity_version = unity_version + + @property + def platform(self): + """Gets the platform of this LimitedUnityPackage. # noqa: E501 + + This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + + :return: The platform of this LimitedUnityPackage. # noqa: E501 + :rtype: str + """ + return self._platform + + @platform.setter + def platform(self, platform): + """Sets the platform of this LimitedUnityPackage. + + This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + + :param platform: The platform of this LimitedUnityPackage. # noqa: E501 + :type platform: str + """ + if self.local_vars_configuration.client_side_validation and platform is None: # noqa: E501 + raise ValueError("Invalid value for `platform`, must not be `None`") # noqa: E501 + + self._platform = platform + + @property + def unity_version(self): + """Gets the unity_version of this LimitedUnityPackage. # noqa: E501 + + + :return: The unity_version of this LimitedUnityPackage. # noqa: E501 + :rtype: str + """ + return self._unity_version + + @unity_version.setter + def unity_version(self, unity_version): + """Sets the unity_version of this LimitedUnityPackage. + + + :param unity_version: The unity_version of this LimitedUnityPackage. # noqa: E501 + :type unity_version: str + """ + if self.local_vars_configuration.client_side_validation and unity_version is None: # noqa: E501 + raise ValueError("Invalid value for `unity_version`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + unity_version is not None and len(unity_version) < 1): + raise ValueError("Invalid value for `unity_version`, length must be greater than or equal to `1`") # noqa: E501 + + self._unity_version = unity_version + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, LimitedUnityPackage): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, LimitedUnityPackage): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/limited_user.py b/vrchatapi/models/limited_user.py new file mode 100644 index 00000000..260b3bd6 --- /dev/null +++ b/vrchatapi/models/limited_user.py @@ -0,0 +1,575 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class LimitedUser(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'bio': 'str', + 'current_avatar_image_url': 'str', + 'current_avatar_thumbnail_image_url': 'str', + 'developer_type': 'DeveloperType', + 'display_name': 'str', + 'fallback_avatar': 'str', + 'id': 'str', + 'is_friend': 'bool', + 'last_platform': 'str', + 'profile_pic_override': 'str', + 'status': 'UserStatus', + 'status_description': 'str', + 'tags': 'list[str]', + 'user_icon': 'str', + 'username': 'str', + 'location': 'str', + 'friend_key': 'str' + } + + attribute_map = { + 'bio': 'bio', + 'current_avatar_image_url': 'currentAvatarImageUrl', + 'current_avatar_thumbnail_image_url': 'currentAvatarThumbnailImageUrl', + 'developer_type': 'developerType', + 'display_name': 'displayName', + 'fallback_avatar': 'fallbackAvatar', + 'id': 'id', + 'is_friend': 'isFriend', + 'last_platform': 'last_platform', + 'profile_pic_override': 'profilePicOverride', + 'status': 'status', + 'status_description': 'statusDescription', + 'tags': 'tags', + 'user_icon': 'userIcon', + 'username': 'username', + 'location': 'location', + 'friend_key': 'friendKey' + } + + def __init__(self, bio=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, developer_type=None, display_name=None, fallback_avatar=None, id=None, is_friend=None, last_platform=None, profile_pic_override=None, status=None, status_description=None, tags=None, user_icon=None, username=None, location=None, friend_key=None, local_vars_configuration=None): # noqa: E501 + """LimitedUser - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._bio = None + self._current_avatar_image_url = None + self._current_avatar_thumbnail_image_url = None + self._developer_type = None + self._display_name = None + self._fallback_avatar = None + self._id = None + self._is_friend = None + self._last_platform = None + self._profile_pic_override = None + self._status = None + self._status_description = None + self._tags = None + self._user_icon = None + self._username = None + self._location = None + self._friend_key = None + self.discriminator = None + + if bio is not None: + self.bio = bio + self.current_avatar_image_url = current_avatar_image_url + self.current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url + self.developer_type = developer_type + self.display_name = display_name + self.fallback_avatar = fallback_avatar + self.id = id + self.is_friend = is_friend + self.last_platform = last_platform + self.profile_pic_override = profile_pic_override + self.status = status + self.status_description = status_description + self.tags = tags + self.user_icon = user_icon + if username is not None: + self.username = username + if location is not None: + self.location = location + if friend_key is not None: + self.friend_key = friend_key + + @property + def bio(self): + """Gets the bio of this LimitedUser. # noqa: E501 + + + :return: The bio of this LimitedUser. # noqa: E501 + :rtype: str + """ + return self._bio + + @bio.setter + def bio(self, bio): + """Sets the bio of this LimitedUser. + + + :param bio: The bio of this LimitedUser. # noqa: E501 + :type bio: str + """ + + self._bio = bio + + @property + def current_avatar_image_url(self): + """Gets the current_avatar_image_url of this LimitedUser. # noqa: E501 + + When profilePicOverride is not empty, use it instead. # noqa: E501 + + :return: The current_avatar_image_url of this LimitedUser. # noqa: E501 + :rtype: str + """ + return self._current_avatar_image_url + + @current_avatar_image_url.setter + def current_avatar_image_url(self, current_avatar_image_url): + """Sets the current_avatar_image_url of this LimitedUser. + + When profilePicOverride is not empty, use it instead. # noqa: E501 + + :param current_avatar_image_url: The current_avatar_image_url of this LimitedUser. # noqa: E501 + :type current_avatar_image_url: str + """ + if self.local_vars_configuration.client_side_validation and current_avatar_image_url is None: # noqa: E501 + raise ValueError("Invalid value for `current_avatar_image_url`, must not be `None`") # noqa: E501 + + self._current_avatar_image_url = current_avatar_image_url + + @property + def current_avatar_thumbnail_image_url(self): + """Gets the current_avatar_thumbnail_image_url of this LimitedUser. # noqa: E501 + + When profilePicOverride is not empty, use it instead. # noqa: E501 + + :return: The current_avatar_thumbnail_image_url of this LimitedUser. # noqa: E501 + :rtype: str + """ + return self._current_avatar_thumbnail_image_url + + @current_avatar_thumbnail_image_url.setter + def current_avatar_thumbnail_image_url(self, current_avatar_thumbnail_image_url): + """Sets the current_avatar_thumbnail_image_url of this LimitedUser. + + When profilePicOverride is not empty, use it instead. # noqa: E501 + + :param current_avatar_thumbnail_image_url: The current_avatar_thumbnail_image_url of this LimitedUser. # noqa: E501 + :type current_avatar_thumbnail_image_url: str + """ + if self.local_vars_configuration.client_side_validation and current_avatar_thumbnail_image_url is None: # noqa: E501 + raise ValueError("Invalid value for `current_avatar_thumbnail_image_url`, must not be `None`") # noqa: E501 + + self._current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url + + @property + def developer_type(self): + """Gets the developer_type of this LimitedUser. # noqa: E501 + + + :return: The developer_type of this LimitedUser. # noqa: E501 + :rtype: DeveloperType + """ + return self._developer_type + + @developer_type.setter + def developer_type(self, developer_type): + """Sets the developer_type of this LimitedUser. + + + :param developer_type: The developer_type of this LimitedUser. # noqa: E501 + :type developer_type: DeveloperType + """ + if self.local_vars_configuration.client_side_validation and developer_type is None: # noqa: E501 + raise ValueError("Invalid value for `developer_type`, must not be `None`") # noqa: E501 + + self._developer_type = developer_type + + @property + def display_name(self): + """Gets the display_name of this LimitedUser. # noqa: E501 + + + :return: The display_name of this LimitedUser. # noqa: E501 + :rtype: str + """ + return self._display_name + + @display_name.setter + def display_name(self, display_name): + """Sets the display_name of this LimitedUser. + + + :param display_name: The display_name of this LimitedUser. # noqa: E501 + :type display_name: str + """ + if self.local_vars_configuration.client_side_validation and display_name is None: # noqa: E501 + raise ValueError("Invalid value for `display_name`, must not be `None`") # noqa: E501 + + self._display_name = display_name + + @property + def fallback_avatar(self): + """Gets the fallback_avatar of this LimitedUser. # noqa: E501 + + + :return: The fallback_avatar of this LimitedUser. # noqa: E501 + :rtype: str + """ + return self._fallback_avatar + + @fallback_avatar.setter + def fallback_avatar(self, fallback_avatar): + """Sets the fallback_avatar of this LimitedUser. + + + :param fallback_avatar: The fallback_avatar of this LimitedUser. # noqa: E501 + :type fallback_avatar: str + """ + if self.local_vars_configuration.client_side_validation and fallback_avatar is None: # noqa: E501 + raise ValueError("Invalid value for `fallback_avatar`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + fallback_avatar is not None and not re.search(r'avtr_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', fallback_avatar)): # noqa: E501 + raise ValueError(r"Invalid value for `fallback_avatar`, must be a follow pattern or equal to `/avtr_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + + self._fallback_avatar = fallback_avatar + + @property + def id(self): + """Gets the id of this LimitedUser. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The id of this LimitedUser. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this LimitedUser. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param id: The id of this LimitedUser. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + + self._id = id + + @property + def is_friend(self): + """Gets the is_friend of this LimitedUser. # noqa: E501 + + + :return: The is_friend of this LimitedUser. # noqa: E501 + :rtype: bool + """ + return self._is_friend + + @is_friend.setter + def is_friend(self, is_friend): + """Sets the is_friend of this LimitedUser. + + + :param is_friend: The is_friend of this LimitedUser. # noqa: E501 + :type is_friend: bool + """ + if self.local_vars_configuration.client_side_validation and is_friend is None: # noqa: E501 + raise ValueError("Invalid value for `is_friend`, must not be `None`") # noqa: E501 + + self._is_friend = is_friend + + @property + def last_platform(self): + """Gets the last_platform of this LimitedUser. # noqa: E501 + + This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + + :return: The last_platform of this LimitedUser. # noqa: E501 + :rtype: str + """ + return self._last_platform + + @last_platform.setter + def last_platform(self, last_platform): + """Sets the last_platform of this LimitedUser. + + This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + + :param last_platform: The last_platform of this LimitedUser. # noqa: E501 + :type last_platform: str + """ + if self.local_vars_configuration.client_side_validation and last_platform is None: # noqa: E501 + raise ValueError("Invalid value for `last_platform`, must not be `None`") # noqa: E501 + + self._last_platform = last_platform + + @property + def profile_pic_override(self): + """Gets the profile_pic_override of this LimitedUser. # noqa: E501 + + + :return: The profile_pic_override of this LimitedUser. # noqa: E501 + :rtype: str + """ + return self._profile_pic_override + + @profile_pic_override.setter + def profile_pic_override(self, profile_pic_override): + """Sets the profile_pic_override of this LimitedUser. + + + :param profile_pic_override: The profile_pic_override of this LimitedUser. # noqa: E501 + :type profile_pic_override: str + """ + if self.local_vars_configuration.client_side_validation and profile_pic_override is None: # noqa: E501 + raise ValueError("Invalid value for `profile_pic_override`, must not be `None`") # noqa: E501 + + self._profile_pic_override = profile_pic_override + + @property + def status(self): + """Gets the status of this LimitedUser. # noqa: E501 + + + :return: The status of this LimitedUser. # noqa: E501 + :rtype: UserStatus + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this LimitedUser. + + + :param status: The status of this LimitedUser. # noqa: E501 + :type status: UserStatus + """ + if self.local_vars_configuration.client_side_validation and status is None: # noqa: E501 + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 + + self._status = status + + @property + def status_description(self): + """Gets the status_description of this LimitedUser. # noqa: E501 + + + :return: The status_description of this LimitedUser. # noqa: E501 + :rtype: str + """ + return self._status_description + + @status_description.setter + def status_description(self, status_description): + """Sets the status_description of this LimitedUser. + + + :param status_description: The status_description of this LimitedUser. # noqa: E501 + :type status_description: str + """ + if self.local_vars_configuration.client_side_validation and status_description is None: # noqa: E501 + raise ValueError("Invalid value for `status_description`, must not be `None`") # noqa: E501 + + self._status_description = status_description + + @property + def tags(self): + """Gets the tags of this LimitedUser. # noqa: E501 + + <- Always empty. # noqa: E501 + + :return: The tags of this LimitedUser. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this LimitedUser. + + <- Always empty. # noqa: E501 + + :param tags: The tags of this LimitedUser. # noqa: E501 + :type tags: list[str] + """ + if self.local_vars_configuration.client_side_validation and tags is None: # noqa: E501 + raise ValueError("Invalid value for `tags`, must not be `None`") # noqa: E501 + + self._tags = tags + + @property + def user_icon(self): + """Gets the user_icon of this LimitedUser. # noqa: E501 + + + :return: The user_icon of this LimitedUser. # noqa: E501 + :rtype: str + """ + return self._user_icon + + @user_icon.setter + def user_icon(self, user_icon): + """Sets the user_icon of this LimitedUser. + + + :param user_icon: The user_icon of this LimitedUser. # noqa: E501 + :type user_icon: str + """ + if self.local_vars_configuration.client_side_validation and user_icon is None: # noqa: E501 + raise ValueError("Invalid value for `user_icon`, must not be `None`") # noqa: E501 + + self._user_icon = user_icon + + @property + def username(self): + """Gets the username of this LimitedUser. # noqa: E501 + + -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). # noqa: E501 + + :return: The username of this LimitedUser. # noqa: E501 + :rtype: str + """ + return self._username + + @username.setter + def username(self, username): + """Sets the username of this LimitedUser. + + -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). # noqa: E501 + + :param username: The username of this LimitedUser. # noqa: E501 + :type username: str + """ + + self._username = username + + @property + def location(self): + """Gets the location of this LimitedUser. # noqa: E501 + + + :return: The location of this LimitedUser. # noqa: E501 + :rtype: str + """ + return self._location + + @location.setter + def location(self, location): + """Sets the location of this LimitedUser. + + + :param location: The location of this LimitedUser. # noqa: E501 + :type location: str + """ + + self._location = location + + @property + def friend_key(self): + """Gets the friend_key of this LimitedUser. # noqa: E501 + + + :return: The friend_key of this LimitedUser. # noqa: E501 + :rtype: str + """ + return self._friend_key + + @friend_key.setter + def friend_key(self, friend_key): + """Sets the friend_key of this LimitedUser. + + + :param friend_key: The friend_key of this LimitedUser. # noqa: E501 + :type friend_key: str + """ + + self._friend_key = friend_key + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, LimitedUser): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, LimitedUser): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py new file mode 100644 index 00000000..f702b559 --- /dev/null +++ b/vrchatapi/models/limited_world.py @@ -0,0 +1,671 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class LimitedWorld(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'author_id': 'str', + 'author_name': 'str', + 'capacity': 'int', + 'created_at': 'datetime', + 'favorites': 'int', + 'heat': 'int', + 'id': 'str', + 'image_url': 'str', + 'labs_publication_date': 'str', + 'name': 'str', + 'occupants': 'int', + 'organization': 'str', + 'popularity': 'int', + 'publication_date': 'str', + 'release_status': 'ReleaseStatus', + 'tags': 'list[str]', + 'thumbnail_image_url': 'str', + 'unity_packages': 'list[LimitedUnityPackage]', + 'updated_at': 'datetime' + } + + attribute_map = { + 'author_id': 'authorId', + 'author_name': 'authorName', + 'capacity': 'capacity', + 'created_at': 'created_at', + 'favorites': 'favorites', + 'heat': 'heat', + 'id': 'id', + 'image_url': 'imageUrl', + 'labs_publication_date': 'labsPublicationDate', + 'name': 'name', + 'occupants': 'occupants', + 'organization': 'organization', + 'popularity': 'popularity', + 'publication_date': 'publicationDate', + 'release_status': 'releaseStatus', + 'tags': 'tags', + 'thumbnail_image_url': 'thumbnailImageUrl', + 'unity_packages': 'unityPackages', + 'updated_at': 'updated_at' + } + + def __init__(self, author_id=None, author_name=None, capacity=None, created_at=None, favorites=0, heat=0, id=None, image_url=None, labs_publication_date=None, name=None, occupants=0, organization='vrchat', popularity=0, publication_date=None, release_status=None, tags=None, thumbnail_image_url=None, unity_packages=None, updated_at=None, local_vars_configuration=None): # noqa: E501 + """LimitedWorld - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._author_id = None + self._author_name = None + self._capacity = None + self._created_at = None + self._favorites = None + self._heat = None + self._id = None + self._image_url = None + self._labs_publication_date = None + self._name = None + self._occupants = None + self._organization = None + self._popularity = None + self._publication_date = None + self._release_status = None + self._tags = None + self._thumbnail_image_url = None + self._unity_packages = None + self._updated_at = None + self.discriminator = None + + self.author_id = author_id + self.author_name = author_name + self.capacity = capacity + self.created_at = created_at + self.favorites = favorites + self.heat = heat + self.id = id + self.image_url = image_url + self.labs_publication_date = labs_publication_date + self.name = name + self.occupants = occupants + self.organization = organization + self.popularity = popularity + self.publication_date = publication_date + self.release_status = release_status + self.tags = tags + self.thumbnail_image_url = thumbnail_image_url + self.unity_packages = unity_packages + self.updated_at = updated_at + + @property + def author_id(self): + """Gets the author_id of this LimitedWorld. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The author_id of this LimitedWorld. # noqa: E501 + :rtype: str + """ + return self._author_id + + @author_id.setter + def author_id(self, author_id): + """Sets the author_id of this LimitedWorld. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param author_id: The author_id of this LimitedWorld. # noqa: E501 + :type author_id: str + """ + if self.local_vars_configuration.client_side_validation and author_id is None: # noqa: E501 + raise ValueError("Invalid value for `author_id`, must not be `None`") # noqa: E501 + + self._author_id = author_id + + @property + def author_name(self): + """Gets the author_name of this LimitedWorld. # noqa: E501 + + + :return: The author_name of this LimitedWorld. # noqa: E501 + :rtype: str + """ + return self._author_name + + @author_name.setter + def author_name(self, author_name): + """Sets the author_name of this LimitedWorld. + + + :param author_name: The author_name of this LimitedWorld. # noqa: E501 + :type author_name: str + """ + if self.local_vars_configuration.client_side_validation and author_name is None: # noqa: E501 + raise ValueError("Invalid value for `author_name`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + author_name is not None and len(author_name) < 1): + raise ValueError("Invalid value for `author_name`, length must be greater than or equal to `1`") # noqa: E501 + + self._author_name = author_name + + @property + def capacity(self): + """Gets the capacity of this LimitedWorld. # noqa: E501 + + + :return: The capacity of this LimitedWorld. # noqa: E501 + :rtype: int + """ + return self._capacity + + @capacity.setter + def capacity(self, capacity): + """Sets the capacity of this LimitedWorld. + + + :param capacity: The capacity of this LimitedWorld. # noqa: E501 + :type capacity: int + """ + if self.local_vars_configuration.client_side_validation and capacity is None: # noqa: E501 + raise ValueError("Invalid value for `capacity`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + capacity is not None and capacity > 40): # noqa: E501 + raise ValueError("Invalid value for `capacity`, must be a value less than or equal to `40`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + capacity is not None and capacity < 0): # noqa: E501 + raise ValueError("Invalid value for `capacity`, must be a value greater than or equal to `0`") # noqa: E501 + + self._capacity = capacity + + @property + def created_at(self): + """Gets the created_at of this LimitedWorld. # noqa: E501 + + + :return: The created_at of this LimitedWorld. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this LimitedWorld. + + + :param created_at: The created_at of this LimitedWorld. # noqa: E501 + :type created_at: datetime + """ + if self.local_vars_configuration.client_side_validation and created_at is None: # noqa: E501 + raise ValueError("Invalid value for `created_at`, must not be `None`") # noqa: E501 + + self._created_at = created_at + + @property + def favorites(self): + """Gets the favorites of this LimitedWorld. # noqa: E501 + + + :return: The favorites of this LimitedWorld. # noqa: E501 + :rtype: int + """ + return self._favorites + + @favorites.setter + def favorites(self, favorites): + """Sets the favorites of this LimitedWorld. + + + :param favorites: The favorites of this LimitedWorld. # noqa: E501 + :type favorites: int + """ + if self.local_vars_configuration.client_side_validation and favorites is None: # noqa: E501 + raise ValueError("Invalid value for `favorites`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + favorites is not None and favorites < 0): # noqa: E501 + raise ValueError("Invalid value for `favorites`, must be a value greater than or equal to `0`") # noqa: E501 + + self._favorites = favorites + + @property + def heat(self): + """Gets the heat of this LimitedWorld. # noqa: E501 + + + :return: The heat of this LimitedWorld. # noqa: E501 + :rtype: int + """ + return self._heat + + @heat.setter + def heat(self, heat): + """Sets the heat of this LimitedWorld. + + + :param heat: The heat of this LimitedWorld. # noqa: E501 + :type heat: int + """ + if self.local_vars_configuration.client_side_validation and heat is None: # noqa: E501 + raise ValueError("Invalid value for `heat`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + heat is not None and heat < 0): # noqa: E501 + raise ValueError("Invalid value for `heat`, must be a value greater than or equal to `0`") # noqa: E501 + + self._heat = heat + + @property + def id(self): + """Gets the id of this LimitedWorld. # noqa: E501 + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :return: The id of this LimitedWorld. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this LimitedWorld. + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :param id: The id of this LimitedWorld. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + id is not None and not re.search(r'(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})', id)): # noqa: E501 + raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})/`") # noqa: E501 + + self._id = id + + @property + def image_url(self): + """Gets the image_url of this LimitedWorld. # noqa: E501 + + + :return: The image_url of this LimitedWorld. # noqa: E501 + :rtype: str + """ + return self._image_url + + @image_url.setter + def image_url(self, image_url): + """Sets the image_url of this LimitedWorld. + + + :param image_url: The image_url of this LimitedWorld. # noqa: E501 + :type image_url: str + """ + if self.local_vars_configuration.client_side_validation and image_url is None: # noqa: E501 + raise ValueError("Invalid value for `image_url`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + image_url is not None and len(image_url) < 1): + raise ValueError("Invalid value for `image_url`, length must be greater than or equal to `1`") # noqa: E501 + + self._image_url = image_url + + @property + def labs_publication_date(self): + """Gets the labs_publication_date of this LimitedWorld. # noqa: E501 + + + :return: The labs_publication_date of this LimitedWorld. # noqa: E501 + :rtype: str + """ + return self._labs_publication_date + + @labs_publication_date.setter + def labs_publication_date(self, labs_publication_date): + """Sets the labs_publication_date of this LimitedWorld. + + + :param labs_publication_date: The labs_publication_date of this LimitedWorld. # noqa: E501 + :type labs_publication_date: str + """ + if self.local_vars_configuration.client_side_validation and labs_publication_date is None: # noqa: E501 + raise ValueError("Invalid value for `labs_publication_date`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + labs_publication_date is not None and len(labs_publication_date) < 1): + raise ValueError("Invalid value for `labs_publication_date`, length must be greater than or equal to `1`") # noqa: E501 + + self._labs_publication_date = labs_publication_date + + @property + def name(self): + """Gets the name of this LimitedWorld. # noqa: E501 + + + :return: The name of this LimitedWorld. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this LimitedWorld. + + + :param name: The name of this LimitedWorld. # noqa: E501 + :type name: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + name is not None and len(name) < 1): + raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 + + self._name = name + + @property + def occupants(self): + """Gets the occupants of this LimitedWorld. # noqa: E501 + + + :return: The occupants of this LimitedWorld. # noqa: E501 + :rtype: int + """ + return self._occupants + + @occupants.setter + def occupants(self, occupants): + """Sets the occupants of this LimitedWorld. + + + :param occupants: The occupants of this LimitedWorld. # noqa: E501 + :type occupants: int + """ + if self.local_vars_configuration.client_side_validation and occupants is None: # noqa: E501 + raise ValueError("Invalid value for `occupants`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + occupants is not None and occupants < 0): # noqa: E501 + raise ValueError("Invalid value for `occupants`, must be a value greater than or equal to `0`") # noqa: E501 + + self._occupants = occupants + + @property + def organization(self): + """Gets the organization of this LimitedWorld. # noqa: E501 + + + :return: The organization of this LimitedWorld. # noqa: E501 + :rtype: str + """ + return self._organization + + @organization.setter + def organization(self, organization): + """Sets the organization of this LimitedWorld. + + + :param organization: The organization of this LimitedWorld. # noqa: E501 + :type organization: str + """ + if self.local_vars_configuration.client_side_validation and organization is None: # noqa: E501 + raise ValueError("Invalid value for `organization`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + organization is not None and len(organization) < 1): + raise ValueError("Invalid value for `organization`, length must be greater than or equal to `1`") # noqa: E501 + + self._organization = organization + + @property + def popularity(self): + """Gets the popularity of this LimitedWorld. # noqa: E501 + + + :return: The popularity of this LimitedWorld. # noqa: E501 + :rtype: int + """ + return self._popularity + + @popularity.setter + def popularity(self, popularity): + """Sets the popularity of this LimitedWorld. + + + :param popularity: The popularity of this LimitedWorld. # noqa: E501 + :type popularity: int + """ + if self.local_vars_configuration.client_side_validation and popularity is None: # noqa: E501 + raise ValueError("Invalid value for `popularity`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + popularity is not None and popularity < 0): # noqa: E501 + raise ValueError("Invalid value for `popularity`, must be a value greater than or equal to `0`") # noqa: E501 + + self._popularity = popularity + + @property + def publication_date(self): + """Gets the publication_date of this LimitedWorld. # noqa: E501 + + + :return: The publication_date of this LimitedWorld. # noqa: E501 + :rtype: str + """ + return self._publication_date + + @publication_date.setter + def publication_date(self, publication_date): + """Sets the publication_date of this LimitedWorld. + + + :param publication_date: The publication_date of this LimitedWorld. # noqa: E501 + :type publication_date: str + """ + if self.local_vars_configuration.client_side_validation and publication_date is None: # noqa: E501 + raise ValueError("Invalid value for `publication_date`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + publication_date is not None and len(publication_date) < 1): + raise ValueError("Invalid value for `publication_date`, length must be greater than or equal to `1`") # noqa: E501 + + self._publication_date = publication_date + + @property + def release_status(self): + """Gets the release_status of this LimitedWorld. # noqa: E501 + + + :return: The release_status of this LimitedWorld. # noqa: E501 + :rtype: ReleaseStatus + """ + return self._release_status + + @release_status.setter + def release_status(self, release_status): + """Sets the release_status of this LimitedWorld. + + + :param release_status: The release_status of this LimitedWorld. # noqa: E501 + :type release_status: ReleaseStatus + """ + if self.local_vars_configuration.client_side_validation and release_status is None: # noqa: E501 + raise ValueError("Invalid value for `release_status`, must not be `None`") # noqa: E501 + + self._release_status = release_status + + @property + def tags(self): + """Gets the tags of this LimitedWorld. # noqa: E501 + + # noqa: E501 + + :return: The tags of this LimitedWorld. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this LimitedWorld. + + # noqa: E501 + + :param tags: The tags of this LimitedWorld. # noqa: E501 + :type tags: list[str] + """ + if self.local_vars_configuration.client_side_validation and tags is None: # noqa: E501 + raise ValueError("Invalid value for `tags`, must not be `None`") # noqa: E501 + + self._tags = tags + + @property + def thumbnail_image_url(self): + """Gets the thumbnail_image_url of this LimitedWorld. # noqa: E501 + + + :return: The thumbnail_image_url of this LimitedWorld. # noqa: E501 + :rtype: str + """ + return self._thumbnail_image_url + + @thumbnail_image_url.setter + def thumbnail_image_url(self, thumbnail_image_url): + """Sets the thumbnail_image_url of this LimitedWorld. + + + :param thumbnail_image_url: The thumbnail_image_url of this LimitedWorld. # noqa: E501 + :type thumbnail_image_url: str + """ + if self.local_vars_configuration.client_side_validation and thumbnail_image_url is None: # noqa: E501 + raise ValueError("Invalid value for `thumbnail_image_url`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + thumbnail_image_url is not None and len(thumbnail_image_url) < 1): + raise ValueError("Invalid value for `thumbnail_image_url`, length must be greater than or equal to `1`") # noqa: E501 + + self._thumbnail_image_url = thumbnail_image_url + + @property + def unity_packages(self): + """Gets the unity_packages of this LimitedWorld. # noqa: E501 + + # noqa: E501 + + :return: The unity_packages of this LimitedWorld. # noqa: E501 + :rtype: list[LimitedUnityPackage] + """ + return self._unity_packages + + @unity_packages.setter + def unity_packages(self, unity_packages): + """Sets the unity_packages of this LimitedWorld. + + # noqa: E501 + + :param unity_packages: The unity_packages of this LimitedWorld. # noqa: E501 + :type unity_packages: list[LimitedUnityPackage] + """ + if self.local_vars_configuration.client_side_validation and unity_packages is None: # noqa: E501 + raise ValueError("Invalid value for `unity_packages`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + unity_packages is not None and len(unity_packages) < 1): + raise ValueError("Invalid value for `unity_packages`, number of items must be greater than or equal to `1`") # noqa: E501 + + self._unity_packages = unity_packages + + @property + def updated_at(self): + """Gets the updated_at of this LimitedWorld. # noqa: E501 + + + :return: The updated_at of this LimitedWorld. # noqa: E501 + :rtype: datetime + """ + return self._updated_at + + @updated_at.setter + def updated_at(self, updated_at): + """Sets the updated_at of this LimitedWorld. + + + :param updated_at: The updated_at of this LimitedWorld. # noqa: E501 + :type updated_at: datetime + """ + if self.local_vars_configuration.client_side_validation and updated_at is None: # noqa: E501 + raise ValueError("Invalid value for `updated_at`, must not be `None`") # noqa: E501 + + self._updated_at = updated_at + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, LimitedWorld): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, LimitedWorld): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py new file mode 100644 index 00000000..019c1836 --- /dev/null +++ b/vrchatapi/models/mime_type.py @@ -0,0 +1,123 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class MIMEType(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + IMAGE_JPEG = "image/jpeg" + IMAGE_JPG = "image/jpg" + IMAGE_PNG = "image/png" + IMAGE_WEBP = "image/webp" + IMAGE_GIF = "image/gif" + IMAGE_BMP = "image/bmp" + IMAGE_SVG_XML = "image/svg+xml" + IMAGE_TIFF = "image/tiff" + APPLICATION_X_AVATAR = "application/x-avatar" + APPLICATION_X_WORLD = "application/x-world" + APPLICATION_GZIP = "application/gzip" + APPLICATION_X_RSYNC_SIGNATURE = "application/x-rsync-signature" + APPLICATION_X_RSYNC_DELTA = "application/x-rsync-delta" + APPLICATION_OCTET_STREAM = "application/octet-stream" + + allowable_values = [IMAGE_JPEG, IMAGE_JPG, IMAGE_PNG, IMAGE_WEBP, IMAGE_GIF, IMAGE_BMP, IMAGE_SVG_XML, IMAGE_TIFF, APPLICATION_X_AVATAR, APPLICATION_X_WORLD, APPLICATION_GZIP, APPLICATION_X_RSYNC_SIGNATURE, APPLICATION_X_RSYNC_DELTA, APPLICATION_OCTET_STREAM] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """MIMEType - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, MIMEType): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, MIMEType): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py new file mode 100644 index 00000000..37eae254 --- /dev/null +++ b/vrchatapi/models/moderate_user_request.py @@ -0,0 +1,161 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class ModerateUserRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'moderated': 'str', + 'type': 'PlayerModerationType' + } + + attribute_map = { + 'moderated': 'moderated', + 'type': 'type' + } + + def __init__(self, moderated=None, type=None, local_vars_configuration=None): # noqa: E501 + """ModerateUserRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._moderated = None + self._type = None + self.discriminator = None + + self.moderated = moderated + self.type = type + + @property + def moderated(self): + """Gets the moderated of this ModerateUserRequest. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The moderated of this ModerateUserRequest. # noqa: E501 + :rtype: str + """ + return self._moderated + + @moderated.setter + def moderated(self, moderated): + """Sets the moderated of this ModerateUserRequest. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param moderated: The moderated of this ModerateUserRequest. # noqa: E501 + :type moderated: str + """ + if self.local_vars_configuration.client_side_validation and moderated is None: # noqa: E501 + raise ValueError("Invalid value for `moderated`, must not be `None`") # noqa: E501 + + self._moderated = moderated + + @property + def type(self): + """Gets the type of this ModerateUserRequest. # noqa: E501 + + + :return: The type of this ModerateUserRequest. # noqa: E501 + :rtype: PlayerModerationType + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this ModerateUserRequest. + + + :param type: The type of this ModerateUserRequest. # noqa: E501 + :type type: PlayerModerationType + """ + if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501 + raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 + + self._type = type + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ModerateUserRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ModerateUserRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py new file mode 100644 index 00000000..2c7da51d --- /dev/null +++ b/vrchatapi/models/notification.py @@ -0,0 +1,334 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class Notification(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'created_at': 'datetime', + 'details': 'str', + 'id': 'str', + 'message': 'str', + 'seen': 'bool', + 'sender_user_id': 'str', + 'sender_username': 'str', + 'type': 'NotificationType' + } + + attribute_map = { + 'created_at': 'created_at', + 'details': 'details', + 'id': 'id', + 'message': 'message', + 'seen': 'seen', + 'sender_user_id': 'senderUserId', + 'sender_username': 'senderUsername', + 'type': 'type' + } + + def __init__(self, created_at=None, details='{}', id=None, message=None, seen=False, sender_user_id=None, sender_username=None, type=None, local_vars_configuration=None): # noqa: E501 + """Notification - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._created_at = None + self._details = None + self._id = None + self._message = None + self._seen = None + self._sender_user_id = None + self._sender_username = None + self._type = None + self.discriminator = None + + self.created_at = created_at + self.details = details + self.id = id + self.message = message + self.seen = seen + self.sender_user_id = sender_user_id + if sender_username is not None: + self.sender_username = sender_username + self.type = type + + @property + def created_at(self): + """Gets the created_at of this Notification. # noqa: E501 + + + :return: The created_at of this Notification. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this Notification. + + + :param created_at: The created_at of this Notification. # noqa: E501 + :type created_at: datetime + """ + if self.local_vars_configuration.client_side_validation and created_at is None: # noqa: E501 + raise ValueError("Invalid value for `created_at`, must not be `None`") # noqa: E501 + + self._created_at = created_at + + @property + def details(self): + """Gets the details of this Notification. # noqa: E501 + + **NOTICE:** This is not a JSON object, this is a json **encoded** object, meaning you have to json-de-encode to get the NotificationDetail object depending on the NotificationType. # noqa: E501 + + :return: The details of this Notification. # noqa: E501 + :rtype: str + """ + return self._details + + @details.setter + def details(self, details): + """Sets the details of this Notification. + + **NOTICE:** This is not a JSON object, this is a json **encoded** object, meaning you have to json-de-encode to get the NotificationDetail object depending on the NotificationType. # noqa: E501 + + :param details: The details of this Notification. # noqa: E501 + :type details: str + """ + if self.local_vars_configuration.client_side_validation and details is None: # noqa: E501 + raise ValueError("Invalid value for `details`, must not be `None`") # noqa: E501 + + self._details = details + + @property + def id(self): + """Gets the id of this Notification. # noqa: E501 + + + :return: The id of this Notification. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this Notification. + + + :param id: The id of this Notification. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + id is not None and len(id) < 1): + raise ValueError("Invalid value for `id`, length must be greater than or equal to `1`") # noqa: E501 + + self._id = id + + @property + def message(self): + """Gets the message of this Notification. # noqa: E501 + + # noqa: E501 + + :return: The message of this Notification. # noqa: E501 + :rtype: str + """ + return self._message + + @message.setter + def message(self, message): + """Sets the message of this Notification. + + # noqa: E501 + + :param message: The message of this Notification. # noqa: E501 + :type message: str + """ + if self.local_vars_configuration.client_side_validation and message is None: # noqa: E501 + raise ValueError("Invalid value for `message`, must not be `None`") # noqa: E501 + + self._message = message + + @property + def seen(self): + """Gets the seen of this Notification. # noqa: E501 + + + :return: The seen of this Notification. # noqa: E501 + :rtype: bool + """ + return self._seen + + @seen.setter + def seen(self, seen): + """Sets the seen of this Notification. + + + :param seen: The seen of this Notification. # noqa: E501 + :type seen: bool + """ + if self.local_vars_configuration.client_side_validation and seen is None: # noqa: E501 + raise ValueError("Invalid value for `seen`, must not be `None`") # noqa: E501 + + self._seen = seen + + @property + def sender_user_id(self): + """Gets the sender_user_id of this Notification. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The sender_user_id of this Notification. # noqa: E501 + :rtype: str + """ + return self._sender_user_id + + @sender_user_id.setter + def sender_user_id(self, sender_user_id): + """Sets the sender_user_id of this Notification. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param sender_user_id: The sender_user_id of this Notification. # noqa: E501 + :type sender_user_id: str + """ + if self.local_vars_configuration.client_side_validation and sender_user_id is None: # noqa: E501 + raise ValueError("Invalid value for `sender_user_id`, must not be `None`") # noqa: E501 + + self._sender_user_id = sender_user_id + + @property + def sender_username(self): + """Gets the sender_username of this Notification. # noqa: E501 + + -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). # noqa: E501 + + :return: The sender_username of this Notification. # noqa: E501 + :rtype: str + """ + return self._sender_username + + @sender_username.setter + def sender_username(self, sender_username): + """Sets the sender_username of this Notification. + + -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). # noqa: E501 + + :param sender_username: The sender_username of this Notification. # noqa: E501 + :type sender_username: str + """ + if (self.local_vars_configuration.client_side_validation and + sender_username is not None and len(sender_username) < 1): + raise ValueError("Invalid value for `sender_username`, length must be greater than or equal to `1`") # noqa: E501 + + self._sender_username = sender_username + + @property + def type(self): + """Gets the type of this Notification. # noqa: E501 + + + :return: The type of this Notification. # noqa: E501 + :rtype: NotificationType + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this Notification. + + + :param type: The type of this Notification. # noqa: E501 + :type type: NotificationType + """ + if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501 + raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 + + self._type = type + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, Notification): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, Notification): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py new file mode 100644 index 00000000..0fa71cf0 --- /dev/null +++ b/vrchatapi/models/notification_type.py @@ -0,0 +1,115 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class NotificationType(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + FRIENDREQUEST = "friendRequest" + INVITE = "invite" + INVITERESPONSE = "inviteResponse" + REQUESTINVITE = "requestInvite" + REQUESTINVITERESPONSE = "requestInviteResponse" + VOTETOKICK = "votetokick" + + allowable_values = [FRIENDREQUEST, INVITE, INVITERESPONSE, REQUESTINVITE, REQUESTINVITERESPONSE, VOTETOKICK] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """NotificationType - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, NotificationType): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, NotificationType): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py new file mode 100644 index 00000000..7945539a --- /dev/null +++ b/vrchatapi/models/past_display_name.py @@ -0,0 +1,162 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class PastDisplayName(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'display_name': 'str', + 'updated_at': 'datetime' + } + + attribute_map = { + 'display_name': 'displayName', + 'updated_at': 'updated_at' + } + + def __init__(self, display_name=None, updated_at=None, local_vars_configuration=None): # noqa: E501 + """PastDisplayName - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._display_name = None + self._updated_at = None + self.discriminator = None + + self.display_name = display_name + self.updated_at = updated_at + + @property + def display_name(self): + """Gets the display_name of this PastDisplayName. # noqa: E501 + + + :return: The display_name of this PastDisplayName. # noqa: E501 + :rtype: str + """ + return self._display_name + + @display_name.setter + def display_name(self, display_name): + """Sets the display_name of this PastDisplayName. + + + :param display_name: The display_name of this PastDisplayName. # noqa: E501 + :type display_name: str + """ + if self.local_vars_configuration.client_side_validation and display_name is None: # noqa: E501 + raise ValueError("Invalid value for `display_name`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + display_name is not None and len(display_name) < 1): + raise ValueError("Invalid value for `display_name`, length must be greater than or equal to `1`") # noqa: E501 + + self._display_name = display_name + + @property + def updated_at(self): + """Gets the updated_at of this PastDisplayName. # noqa: E501 + + + :return: The updated_at of this PastDisplayName. # noqa: E501 + :rtype: datetime + """ + return self._updated_at + + @updated_at.setter + def updated_at(self, updated_at): + """Sets the updated_at of this PastDisplayName. + + + :param updated_at: The updated_at of this PastDisplayName. # noqa: E501 + :type updated_at: datetime + """ + if self.local_vars_configuration.client_side_validation and updated_at is None: # noqa: E501 + raise ValueError("Invalid value for `updated_at`, must not be `None`") # noqa: E501 + + self._updated_at = updated_at + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, PastDisplayName): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, PastDisplayName): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py new file mode 100644 index 00000000..8c5eb0ff --- /dev/null +++ b/vrchatapi/models/permission.py @@ -0,0 +1,220 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class Permission(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'id': 'str', + 'name': 'str', + 'owner_id': 'str', + 'data': 'object' + } + + attribute_map = { + 'id': 'id', + 'name': 'name', + 'owner_id': 'ownerId', + 'data': 'data' + } + + def __init__(self, id=None, name=None, owner_id=None, data=None, local_vars_configuration=None): # noqa: E501 + """Permission - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._id = None + self._name = None + self._owner_id = None + self._data = None + self.discriminator = None + + self.id = id + self.name = name + self.owner_id = owner_id + if data is not None: + self.data = data + + @property + def id(self): + """Gets the id of this Permission. # noqa: E501 + + + :return: The id of this Permission. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this Permission. + + + :param id: The id of this Permission. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + id is not None and not re.search(r'prms_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', id)): # noqa: E501 + raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/prms_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + + self._id = id + + @property + def name(self): + """Gets the name of this Permission. # noqa: E501 + + + :return: The name of this Permission. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this Permission. + + + :param name: The name of this Permission. # noqa: E501 + :type name: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + name is not None and len(name) < 1): + raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 + + self._name = name + + @property + def owner_id(self): + """Gets the owner_id of this Permission. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The owner_id of this Permission. # noqa: E501 + :rtype: str + """ + return self._owner_id + + @owner_id.setter + def owner_id(self, owner_id): + """Sets the owner_id of this Permission. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param owner_id: The owner_id of this Permission. # noqa: E501 + :type owner_id: str + """ + if self.local_vars_configuration.client_side_validation and owner_id is None: # noqa: E501 + raise ValueError("Invalid value for `owner_id`, must not be `None`") # noqa: E501 + + self._owner_id = owner_id + + @property + def data(self): + """Gets the data of this Permission. # noqa: E501 + + + :return: The data of this Permission. # noqa: E501 + :rtype: object + """ + return self._data + + @data.setter + def data(self, data): + """Sets the data of this Permission. + + + :param data: The data of this Permission. # noqa: E501 + :type data: object + """ + + self._data = data + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, Permission): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, Permission): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py new file mode 100644 index 00000000..ac514bbd --- /dev/null +++ b/vrchatapi/models/player_moderation.py @@ -0,0 +1,307 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class PlayerModeration(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'created': 'datetime', + 'id': 'str', + 'source_display_name': 'str', + 'source_user_id': 'str', + 'target_display_name': 'str', + 'target_user_id': 'str', + 'type': 'PlayerModerationType' + } + + attribute_map = { + 'created': 'created', + 'id': 'id', + 'source_display_name': 'sourceDisplayName', + 'source_user_id': 'sourceUserId', + 'target_display_name': 'targetDisplayName', + 'target_user_id': 'targetUserId', + 'type': 'type' + } + + def __init__(self, created=None, id=None, source_display_name=None, source_user_id=None, target_display_name=None, target_user_id=None, type=None, local_vars_configuration=None): # noqa: E501 + """PlayerModeration - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._created = None + self._id = None + self._source_display_name = None + self._source_user_id = None + self._target_display_name = None + self._target_user_id = None + self._type = None + self.discriminator = None + + self.created = created + self.id = id + self.source_display_name = source_display_name + self.source_user_id = source_user_id + self.target_display_name = target_display_name + self.target_user_id = target_user_id + self.type = type + + @property + def created(self): + """Gets the created of this PlayerModeration. # noqa: E501 + + + :return: The created of this PlayerModeration. # noqa: E501 + :rtype: datetime + """ + return self._created + + @created.setter + def created(self, created): + """Sets the created of this PlayerModeration. + + + :param created: The created of this PlayerModeration. # noqa: E501 + :type created: datetime + """ + if self.local_vars_configuration.client_side_validation and created is None: # noqa: E501 + raise ValueError("Invalid value for `created`, must not be `None`") # noqa: E501 + + self._created = created + + @property + def id(self): + """Gets the id of this PlayerModeration. # noqa: E501 + + + :return: The id of this PlayerModeration. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this PlayerModeration. + + + :param id: The id of this PlayerModeration. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + id is not None and not re.search(r'pmod_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', id)): # noqa: E501 + raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/pmod_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + + self._id = id + + @property + def source_display_name(self): + """Gets the source_display_name of this PlayerModeration. # noqa: E501 + + + :return: The source_display_name of this PlayerModeration. # noqa: E501 + :rtype: str + """ + return self._source_display_name + + @source_display_name.setter + def source_display_name(self, source_display_name): + """Sets the source_display_name of this PlayerModeration. + + + :param source_display_name: The source_display_name of this PlayerModeration. # noqa: E501 + :type source_display_name: str + """ + if self.local_vars_configuration.client_side_validation and source_display_name is None: # noqa: E501 + raise ValueError("Invalid value for `source_display_name`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + source_display_name is not None and len(source_display_name) < 1): + raise ValueError("Invalid value for `source_display_name`, length must be greater than or equal to `1`") # noqa: E501 + + self._source_display_name = source_display_name + + @property + def source_user_id(self): + """Gets the source_user_id of this PlayerModeration. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The source_user_id of this PlayerModeration. # noqa: E501 + :rtype: str + """ + return self._source_user_id + + @source_user_id.setter + def source_user_id(self, source_user_id): + """Sets the source_user_id of this PlayerModeration. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param source_user_id: The source_user_id of this PlayerModeration. # noqa: E501 + :type source_user_id: str + """ + if self.local_vars_configuration.client_side_validation and source_user_id is None: # noqa: E501 + raise ValueError("Invalid value for `source_user_id`, must not be `None`") # noqa: E501 + + self._source_user_id = source_user_id + + @property + def target_display_name(self): + """Gets the target_display_name of this PlayerModeration. # noqa: E501 + + + :return: The target_display_name of this PlayerModeration. # noqa: E501 + :rtype: str + """ + return self._target_display_name + + @target_display_name.setter + def target_display_name(self, target_display_name): + """Sets the target_display_name of this PlayerModeration. + + + :param target_display_name: The target_display_name of this PlayerModeration. # noqa: E501 + :type target_display_name: str + """ + if self.local_vars_configuration.client_side_validation and target_display_name is None: # noqa: E501 + raise ValueError("Invalid value for `target_display_name`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + target_display_name is not None and len(target_display_name) < 1): + raise ValueError("Invalid value for `target_display_name`, length must be greater than or equal to `1`") # noqa: E501 + + self._target_display_name = target_display_name + + @property + def target_user_id(self): + """Gets the target_user_id of this PlayerModeration. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The target_user_id of this PlayerModeration. # noqa: E501 + :rtype: str + """ + return self._target_user_id + + @target_user_id.setter + def target_user_id(self, target_user_id): + """Sets the target_user_id of this PlayerModeration. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param target_user_id: The target_user_id of this PlayerModeration. # noqa: E501 + :type target_user_id: str + """ + if self.local_vars_configuration.client_side_validation and target_user_id is None: # noqa: E501 + raise ValueError("Invalid value for `target_user_id`, must not be `None`") # noqa: E501 + + self._target_user_id = target_user_id + + @property + def type(self): + """Gets the type of this PlayerModeration. # noqa: E501 + + + :return: The type of this PlayerModeration. # noqa: E501 + :rtype: PlayerModerationType + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this PlayerModeration. + + + :param type: The type of this PlayerModeration. # noqa: E501 + :type type: PlayerModerationType + """ + if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501 + raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 + + self._type = type + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, PlayerModeration): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, PlayerModeration): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py new file mode 100644 index 00000000..4fd914e9 --- /dev/null +++ b/vrchatapi/models/player_moderation_type.py @@ -0,0 +1,115 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class PlayerModerationType(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + MUTE = "mute" + UNMUTE = "unmute" + BLOCK = "block" + UNBLOCK = "unblock" + INTERACTON = "interactOn" + INTERACTOFF = "interactOff" + + allowable_values = [MUTE, UNMUTE, BLOCK, UNBLOCK, INTERACTON, INTERACTOFF] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """PlayerModerationType - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, PlayerModerationType): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, PlayerModerationType): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/public_announcement.py b/vrchatapi/models/public_announcement.py new file mode 100644 index 00000000..2ce25e95 --- /dev/null +++ b/vrchatapi/models/public_announcement.py @@ -0,0 +1,169 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class PublicAnnouncement(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'name': 'str', + 'text': 'str' + } + + attribute_map = { + 'name': 'name', + 'text': 'text' + } + + def __init__(self, name=None, text=None, local_vars_configuration=None): # noqa: E501 + """PublicAnnouncement - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._name = None + self._text = None + self.discriminator = None + + self.name = name + self.text = text + + @property + def name(self): + """Gets the name of this PublicAnnouncement. # noqa: E501 + + Announcement name # noqa: E501 + + :return: The name of this PublicAnnouncement. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this PublicAnnouncement. + + Announcement name # noqa: E501 + + :param name: The name of this PublicAnnouncement. # noqa: E501 + :type name: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + name is not None and len(name) < 1): + raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 + + self._name = name + + @property + def text(self): + """Gets the text of this PublicAnnouncement. # noqa: E501 + + Announcement text # noqa: E501 + + :return: The text of this PublicAnnouncement. # noqa: E501 + :rtype: str + """ + return self._text + + @text.setter + def text(self, text): + """Sets the text of this PublicAnnouncement. + + Announcement text # noqa: E501 + + :param text: The text of this PublicAnnouncement. # noqa: E501 + :type text: str + """ + if self.local_vars_configuration.client_side_validation and text is None: # noqa: E501 + raise ValueError("Invalid value for `text`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + text is not None and len(text) < 1): + raise ValueError("Invalid value for `text`, length must be greater than or equal to `1`") # noqa: E501 + + self._text = text + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, PublicAnnouncement): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, PublicAnnouncement): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py new file mode 100644 index 00000000..b7cbf534 --- /dev/null +++ b/vrchatapi/models/region.py @@ -0,0 +1,115 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class Region(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + US = "us" + USE = "use" + USW = "usw" + EU = "eu" + JP = "jp" + UNKNOWN = "unknown" + + allowable_values = [US, USE, USW, EU, JP, UNKNOWN] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """Region - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, Region): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, Region): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py new file mode 100644 index 00000000..eb7438c0 --- /dev/null +++ b/vrchatapi/models/release_status.py @@ -0,0 +1,112 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class ReleaseStatus(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + PUBLIC = "public" + PRIVATE = "private" + HIDDEN = "hidden" + + allowable_values = [PUBLIC, PRIVATE, HIDDEN] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """ReleaseStatus - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ReleaseStatus): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ReleaseStatus): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py new file mode 100644 index 00000000..8c3fed2d --- /dev/null +++ b/vrchatapi/models/request_invite_request.py @@ -0,0 +1,137 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class RequestInviteRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'message_slot': 'int' + } + + attribute_map = { + 'message_slot': 'messageSlot' + } + + def __init__(self, message_slot=None, local_vars_configuration=None): # noqa: E501 + """RequestInviteRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._message_slot = None + self.discriminator = None + + if message_slot is not None: + self.message_slot = message_slot + + @property + def message_slot(self): + """Gets the message_slot of this RequestInviteRequest. # noqa: E501 + + + :return: The message_slot of this RequestInviteRequest. # noqa: E501 + :rtype: int + """ + return self._message_slot + + @message_slot.setter + def message_slot(self, message_slot): + """Sets the message_slot of this RequestInviteRequest. + + + :param message_slot: The message_slot of this RequestInviteRequest. # noqa: E501 + :type message_slot: int + """ + if (self.local_vars_configuration.client_side_validation and + message_slot is not None and message_slot > 11): # noqa: E501 + raise ValueError("Invalid value for `message_slot`, must be a value less than or equal to `11`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + message_slot is not None and message_slot < 0): # noqa: E501 + raise ValueError("Invalid value for `message_slot`, must be a value greater than or equal to `0`") # noqa: E501 + + self._message_slot = message_slot + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, RequestInviteRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, RequestInviteRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py new file mode 100644 index 00000000..361ca2af --- /dev/null +++ b/vrchatapi/models/response.py @@ -0,0 +1,164 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class Response(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'message': 'str', + 'status_code': 'int' + } + + attribute_map = { + 'message': 'message', + 'status_code': 'status_code' + } + + def __init__(self, message=None, status_code=None, local_vars_configuration=None): # noqa: E501 + """Response - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._message = None + self._status_code = None + self.discriminator = None + + if message is not None: + self.message = message + self.status_code = status_code + + @property + def message(self): + """Gets the message of this Response. # noqa: E501 + + + :return: The message of this Response. # noqa: E501 + :rtype: str + """ + return self._message + + @message.setter + def message(self, message): + """Sets the message of this Response. + + + :param message: The message of this Response. # noqa: E501 + :type message: str + """ + if (self.local_vars_configuration.client_side_validation and + message is not None and len(message) < 1): + raise ValueError("Invalid value for `message`, length must be greater than or equal to `1`") # noqa: E501 + + self._message = message + + @property + def status_code(self): + """Gets the status_code of this Response. # noqa: E501 + + + :return: The status_code of this Response. # noqa: E501 + :rtype: int + """ + return self._status_code + + @status_code.setter + def status_code(self, status_code): + """Sets the status_code of this Response. + + + :param status_code: The status_code of this Response. # noqa: E501 + :type status_code: int + """ + if self.local_vars_configuration.client_side_validation and status_code is None: # noqa: E501 + raise ValueError("Invalid value for `status_code`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + status_code is not None and status_code < 100): # noqa: E501 + raise ValueError("Invalid value for `status_code`, must be a value greater than or equal to `100`") # noqa: E501 + + self._status_code = status_code + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, Response): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, Response): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py new file mode 100644 index 00000000..98176338 --- /dev/null +++ b/vrchatapi/models/sent_notification.py @@ -0,0 +1,336 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class SentNotification(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'created_at': 'datetime', + 'details': 'str', + 'id': 'str', + 'message': 'str', + 'reciever_user_id': 'str', + 'sender_user_id': 'str', + 'sender_username': 'str', + 'type': 'NotificationType' + } + + attribute_map = { + 'created_at': 'created_at', + 'details': 'details', + 'id': 'id', + 'message': 'message', + 'reciever_user_id': 'recieverUserId', + 'sender_user_id': 'senderUserId', + 'sender_username': 'senderUsername', + 'type': 'type' + } + + def __init__(self, created_at=None, details='{}', id=None, message=None, reciever_user_id=None, sender_user_id=None, sender_username=None, type=None, local_vars_configuration=None): # noqa: E501 + """SentNotification - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._created_at = None + self._details = None + self._id = None + self._message = None + self._reciever_user_id = None + self._sender_user_id = None + self._sender_username = None + self._type = None + self.discriminator = None + + self.created_at = created_at + self.details = details + self.id = id + self.message = message + self.reciever_user_id = reciever_user_id + self.sender_user_id = sender_user_id + if sender_username is not None: + self.sender_username = sender_username + self.type = type + + @property + def created_at(self): + """Gets the created_at of this SentNotification. # noqa: E501 + + + :return: The created_at of this SentNotification. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this SentNotification. + + + :param created_at: The created_at of this SentNotification. # noqa: E501 + :type created_at: datetime + """ + if self.local_vars_configuration.client_side_validation and created_at is None: # noqa: E501 + raise ValueError("Invalid value for `created_at`, must not be `None`") # noqa: E501 + + self._created_at = created_at + + @property + def details(self): + """Gets the details of this SentNotification. # noqa: E501 + + **NOTICE:** This is not a JSON object, this is a json **encoded** object, meaning you have to json-de-encode to get the NotificationDetail object depending on the NotificationType. # noqa: E501 + + :return: The details of this SentNotification. # noqa: E501 + :rtype: str + """ + return self._details + + @details.setter + def details(self, details): + """Sets the details of this SentNotification. + + **NOTICE:** This is not a JSON object, this is a json **encoded** object, meaning you have to json-de-encode to get the NotificationDetail object depending on the NotificationType. # noqa: E501 + + :param details: The details of this SentNotification. # noqa: E501 + :type details: str + """ + if self.local_vars_configuration.client_side_validation and details is None: # noqa: E501 + raise ValueError("Invalid value for `details`, must not be `None`") # noqa: E501 + + self._details = details + + @property + def id(self): + """Gets the id of this SentNotification. # noqa: E501 + + + :return: The id of this SentNotification. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this SentNotification. + + + :param id: The id of this SentNotification. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + id is not None and len(id) < 1): + raise ValueError("Invalid value for `id`, length must be greater than or equal to `1`") # noqa: E501 + + self._id = id + + @property + def message(self): + """Gets the message of this SentNotification. # noqa: E501 + + # noqa: E501 + + :return: The message of this SentNotification. # noqa: E501 + :rtype: str + """ + return self._message + + @message.setter + def message(self, message): + """Sets the message of this SentNotification. + + # noqa: E501 + + :param message: The message of this SentNotification. # noqa: E501 + :type message: str + """ + if self.local_vars_configuration.client_side_validation and message is None: # noqa: E501 + raise ValueError("Invalid value for `message`, must not be `None`") # noqa: E501 + + self._message = message + + @property + def reciever_user_id(self): + """Gets the reciever_user_id of this SentNotification. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The reciever_user_id of this SentNotification. # noqa: E501 + :rtype: str + """ + return self._reciever_user_id + + @reciever_user_id.setter + def reciever_user_id(self, reciever_user_id): + """Sets the reciever_user_id of this SentNotification. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param reciever_user_id: The reciever_user_id of this SentNotification. # noqa: E501 + :type reciever_user_id: str + """ + if self.local_vars_configuration.client_side_validation and reciever_user_id is None: # noqa: E501 + raise ValueError("Invalid value for `reciever_user_id`, must not be `None`") # noqa: E501 + + self._reciever_user_id = reciever_user_id + + @property + def sender_user_id(self): + """Gets the sender_user_id of this SentNotification. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The sender_user_id of this SentNotification. # noqa: E501 + :rtype: str + """ + return self._sender_user_id + + @sender_user_id.setter + def sender_user_id(self, sender_user_id): + """Sets the sender_user_id of this SentNotification. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param sender_user_id: The sender_user_id of this SentNotification. # noqa: E501 + :type sender_user_id: str + """ + if self.local_vars_configuration.client_side_validation and sender_user_id is None: # noqa: E501 + raise ValueError("Invalid value for `sender_user_id`, must not be `None`") # noqa: E501 + + self._sender_user_id = sender_user_id + + @property + def sender_username(self): + """Gets the sender_username of this SentNotification. # noqa: E501 + + -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). # noqa: E501 + + :return: The sender_username of this SentNotification. # noqa: E501 + :rtype: str + """ + return self._sender_username + + @sender_username.setter + def sender_username(self, sender_username): + """Sets the sender_username of this SentNotification. + + -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). # noqa: E501 + + :param sender_username: The sender_username of this SentNotification. # noqa: E501 + :type sender_username: str + """ + if (self.local_vars_configuration.client_side_validation and + sender_username is not None and len(sender_username) < 1): + raise ValueError("Invalid value for `sender_username`, length must be greater than or equal to `1`") # noqa: E501 + + self._sender_username = sender_username + + @property + def type(self): + """Gets the type of this SentNotification. # noqa: E501 + + + :return: The type of this SentNotification. # noqa: E501 + :rtype: NotificationType + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this SentNotification. + + + :param type: The type of this SentNotification. # noqa: E501 + :type type: NotificationType + """ + if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501 + raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 + + self._type = type + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, SentNotification): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, SentNotification): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py new file mode 100644 index 00000000..ac4293d4 --- /dev/null +++ b/vrchatapi/models/subscription.py @@ -0,0 +1,273 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class Subscription(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'id': 'str', + 'steam_item_id': 'str', + 'amount': 'float', + 'description': 'str', + 'period': 'SubscriptionPeriod', + 'tier': 'float' + } + + attribute_map = { + 'id': 'id', + 'steam_item_id': 'steamItemId', + 'amount': 'amount', + 'description': 'description', + 'period': 'period', + 'tier': 'tier' + } + + def __init__(self, id=None, steam_item_id=None, amount=None, description=None, period=None, tier=None, local_vars_configuration=None): # noqa: E501 + """Subscription - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._id = None + self._steam_item_id = None + self._amount = None + self._description = None + self._period = None + self._tier = None + self.discriminator = None + + self.id = id + self.steam_item_id = steam_item_id + self.amount = amount + self.description = description + self.period = period + self.tier = tier + + @property + def id(self): + """Gets the id of this Subscription. # noqa: E501 + + + :return: The id of this Subscription. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this Subscription. + + + :param id: The id of this Subscription. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + id is not None and len(id) < 1): + raise ValueError("Invalid value for `id`, length must be greater than or equal to `1`") # noqa: E501 + + self._id = id + + @property + def steam_item_id(self): + """Gets the steam_item_id of this Subscription. # noqa: E501 + + + :return: The steam_item_id of this Subscription. # noqa: E501 + :rtype: str + """ + return self._steam_item_id + + @steam_item_id.setter + def steam_item_id(self, steam_item_id): + """Sets the steam_item_id of this Subscription. + + + :param steam_item_id: The steam_item_id of this Subscription. # noqa: E501 + :type steam_item_id: str + """ + if self.local_vars_configuration.client_side_validation and steam_item_id is None: # noqa: E501 + raise ValueError("Invalid value for `steam_item_id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + steam_item_id is not None and len(steam_item_id) < 1): + raise ValueError("Invalid value for `steam_item_id`, length must be greater than or equal to `1`") # noqa: E501 + + self._steam_item_id = steam_item_id + + @property + def amount(self): + """Gets the amount of this Subscription. # noqa: E501 + + + :return: The amount of this Subscription. # noqa: E501 + :rtype: float + """ + return self._amount + + @amount.setter + def amount(self, amount): + """Sets the amount of this Subscription. + + + :param amount: The amount of this Subscription. # noqa: E501 + :type amount: float + """ + if self.local_vars_configuration.client_side_validation and amount is None: # noqa: E501 + raise ValueError("Invalid value for `amount`, must not be `None`") # noqa: E501 + + self._amount = amount + + @property + def description(self): + """Gets the description of this Subscription. # noqa: E501 + + + :return: The description of this Subscription. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this Subscription. + + + :param description: The description of this Subscription. # noqa: E501 + :type description: str + """ + if self.local_vars_configuration.client_side_validation and description is None: # noqa: E501 + raise ValueError("Invalid value for `description`, must not be `None`") # noqa: E501 + + self._description = description + + @property + def period(self): + """Gets the period of this Subscription. # noqa: E501 + + + :return: The period of this Subscription. # noqa: E501 + :rtype: SubscriptionPeriod + """ + return self._period + + @period.setter + def period(self, period): + """Sets the period of this Subscription. + + + :param period: The period of this Subscription. # noqa: E501 + :type period: SubscriptionPeriod + """ + if self.local_vars_configuration.client_side_validation and period is None: # noqa: E501 + raise ValueError("Invalid value for `period`, must not be `None`") # noqa: E501 + + self._period = period + + @property + def tier(self): + """Gets the tier of this Subscription. # noqa: E501 + + + :return: The tier of this Subscription. # noqa: E501 + :rtype: float + """ + return self._tier + + @tier.setter + def tier(self, tier): + """Sets the tier of this Subscription. + + + :param tier: The tier of this Subscription. # noqa: E501 + :type tier: float + """ + if self.local_vars_configuration.client_side_validation and tier is None: # noqa: E501 + raise ValueError("Invalid value for `tier`, must not be `None`") # noqa: E501 + + self._tier = tier + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, Subscription): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, Subscription): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py new file mode 100644 index 00000000..b49fb22f --- /dev/null +++ b/vrchatapi/models/subscription_period.py @@ -0,0 +1,114 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class SubscriptionPeriod(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + HOUR = "hour" + DAY = "day" + WEEK = "week" + MONTH = "month" + YEAR = "year" + + allowable_values = [HOUR, DAY, WEEK, MONTH, YEAR] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """SubscriptionPeriod - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, SubscriptionPeriod): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, SubscriptionPeriod): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py new file mode 100644 index 00000000..49ead271 --- /dev/null +++ b/vrchatapi/models/success.py @@ -0,0 +1,131 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class Success(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'success': 'Response' + } + + attribute_map = { + 'success': 'success' + } + + def __init__(self, success=None, local_vars_configuration=None): # noqa: E501 + """Success - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._success = None + self.discriminator = None + + if success is not None: + self.success = success + + @property + def success(self): + """Gets the success of this Success. # noqa: E501 + + + :return: The success of this Success. # noqa: E501 + :rtype: Response + """ + return self._success + + @success.setter + def success(self, success): + """Sets the success of this Success. + + + :param success: The success of this Success. # noqa: E501 + :type success: Response + """ + + self._success = success + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, Success): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, Success): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py new file mode 100644 index 00000000..5cc5e64e --- /dev/null +++ b/vrchatapi/models/transaction.py @@ -0,0 +1,349 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class Transaction(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'id': 'str', + 'status': 'TransactionStatus', + 'subscription': 'Subscription', + 'sandbox': 'bool', + 'created_at': 'datetime', + 'updated_at': 'datetime', + 'steam': 'TransactionSteamInfo', + 'agreement': 'TransactionAgreement', + 'error': 'str' + } + + attribute_map = { + 'id': 'id', + 'status': 'status', + 'subscription': 'subscription', + 'sandbox': 'sandbox', + 'created_at': 'created_at', + 'updated_at': 'updated_at', + 'steam': 'steam', + 'agreement': 'agreement', + 'error': 'error' + } + + def __init__(self, id=None, status=None, subscription=None, sandbox=False, created_at=None, updated_at=None, steam=None, agreement=None, error=None, local_vars_configuration=None): # noqa: E501 + """Transaction - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._id = None + self._status = None + self._subscription = None + self._sandbox = None + self._created_at = None + self._updated_at = None + self._steam = None + self._agreement = None + self._error = None + self.discriminator = None + + self.id = id + self.status = status + self.subscription = subscription + self.sandbox = sandbox + self.created_at = created_at + self.updated_at = updated_at + if steam is not None: + self.steam = steam + if agreement is not None: + self.agreement = agreement + self.error = error + + @property + def id(self): + """Gets the id of this Transaction. # noqa: E501 + + + :return: The id of this Transaction. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this Transaction. + + + :param id: The id of this Transaction. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + id is not None and not re.search(r'txn_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', id)): # noqa: E501 + raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/txn_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + + self._id = id + + @property + def status(self): + """Gets the status of this Transaction. # noqa: E501 + + + :return: The status of this Transaction. # noqa: E501 + :rtype: TransactionStatus + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this Transaction. + + + :param status: The status of this Transaction. # noqa: E501 + :type status: TransactionStatus + """ + if self.local_vars_configuration.client_side_validation and status is None: # noqa: E501 + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 + + self._status = status + + @property + def subscription(self): + """Gets the subscription of this Transaction. # noqa: E501 + + + :return: The subscription of this Transaction. # noqa: E501 + :rtype: Subscription + """ + return self._subscription + + @subscription.setter + def subscription(self, subscription): + """Sets the subscription of this Transaction. + + + :param subscription: The subscription of this Transaction. # noqa: E501 + :type subscription: Subscription + """ + if self.local_vars_configuration.client_side_validation and subscription is None: # noqa: E501 + raise ValueError("Invalid value for `subscription`, must not be `None`") # noqa: E501 + + self._subscription = subscription + + @property + def sandbox(self): + """Gets the sandbox of this Transaction. # noqa: E501 + + + :return: The sandbox of this Transaction. # noqa: E501 + :rtype: bool + """ + return self._sandbox + + @sandbox.setter + def sandbox(self, sandbox): + """Sets the sandbox of this Transaction. + + + :param sandbox: The sandbox of this Transaction. # noqa: E501 + :type sandbox: bool + """ + if self.local_vars_configuration.client_side_validation and sandbox is None: # noqa: E501 + raise ValueError("Invalid value for `sandbox`, must not be `None`") # noqa: E501 + + self._sandbox = sandbox + + @property + def created_at(self): + """Gets the created_at of this Transaction. # noqa: E501 + + + :return: The created_at of this Transaction. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this Transaction. + + + :param created_at: The created_at of this Transaction. # noqa: E501 + :type created_at: datetime + """ + if self.local_vars_configuration.client_side_validation and created_at is None: # noqa: E501 + raise ValueError("Invalid value for `created_at`, must not be `None`") # noqa: E501 + + self._created_at = created_at + + @property + def updated_at(self): + """Gets the updated_at of this Transaction. # noqa: E501 + + + :return: The updated_at of this Transaction. # noqa: E501 + :rtype: datetime + """ + return self._updated_at + + @updated_at.setter + def updated_at(self, updated_at): + """Sets the updated_at of this Transaction. + + + :param updated_at: The updated_at of this Transaction. # noqa: E501 + :type updated_at: datetime + """ + if self.local_vars_configuration.client_side_validation and updated_at is None: # noqa: E501 + raise ValueError("Invalid value for `updated_at`, must not be `None`") # noqa: E501 + + self._updated_at = updated_at + + @property + def steam(self): + """Gets the steam of this Transaction. # noqa: E501 + + + :return: The steam of this Transaction. # noqa: E501 + :rtype: TransactionSteamInfo + """ + return self._steam + + @steam.setter + def steam(self, steam): + """Sets the steam of this Transaction. + + + :param steam: The steam of this Transaction. # noqa: E501 + :type steam: TransactionSteamInfo + """ + + self._steam = steam + + @property + def agreement(self): + """Gets the agreement of this Transaction. # noqa: E501 + + + :return: The agreement of this Transaction. # noqa: E501 + :rtype: TransactionAgreement + """ + return self._agreement + + @agreement.setter + def agreement(self, agreement): + """Sets the agreement of this Transaction. + + + :param agreement: The agreement of this Transaction. # noqa: E501 + :type agreement: TransactionAgreement + """ + + self._agreement = agreement + + @property + def error(self): + """Gets the error of this Transaction. # noqa: E501 + + + :return: The error of this Transaction. # noqa: E501 + :rtype: str + """ + return self._error + + @error.setter + def error(self, error): + """Sets the error of this Transaction. + + + :param error: The error of this Transaction. # noqa: E501 + :type error: str + """ + if self.local_vars_configuration.client_side_validation and error is None: # noqa: E501 + raise ValueError("Invalid value for `error`, must not be `None`") # noqa: E501 + + self._error = error + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, Transaction): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, Transaction): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py new file mode 100644 index 00000000..65f61c73 --- /dev/null +++ b/vrchatapi/models/transaction_agreement.py @@ -0,0 +1,596 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class TransactionAgreement(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'agreement_id': 'str', + 'item_id': 'float', + 'status': 'str', + 'period': 'str', + 'frequency': 'float', + 'billing_type': 'str', + 'start_date': 'str', + 'end_date': 'str', + 'recurring_amt': 'float', + 'currency': 'str', + 'time_created': 'str', + 'next_payment': 'str', + 'last_payment': 'str', + 'last_amount': 'float', + 'last_amount_vat': 'float', + 'outstanding': 'float', + 'failed_attempts': 'float' + } + + attribute_map = { + 'agreement_id': 'agreementId', + 'item_id': 'itemId', + 'status': 'status', + 'period': 'period', + 'frequency': 'frequency', + 'billing_type': 'billingType', + 'start_date': 'startDate', + 'end_date': 'endDate', + 'recurring_amt': 'recurringAmt', + 'currency': 'currency', + 'time_created': 'timeCreated', + 'next_payment': 'nextPayment', + 'last_payment': 'lastPayment', + 'last_amount': 'lastAmount', + 'last_amount_vat': 'lastAmountVat', + 'outstanding': 'outstanding', + 'failed_attempts': 'failedAttempts' + } + + def __init__(self, agreement_id=None, item_id=None, status=None, period=None, frequency=None, billing_type=None, start_date=None, end_date=None, recurring_amt=None, currency=None, time_created=None, next_payment=None, last_payment=None, last_amount=None, last_amount_vat=None, outstanding=None, failed_attempts=None, local_vars_configuration=None): # noqa: E501 + """TransactionAgreement - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._agreement_id = None + self._item_id = None + self._status = None + self._period = None + self._frequency = None + self._billing_type = None + self._start_date = None + self._end_date = None + self._recurring_amt = None + self._currency = None + self._time_created = None + self._next_payment = None + self._last_payment = None + self._last_amount = None + self._last_amount_vat = None + self._outstanding = None + self._failed_attempts = None + self.discriminator = None + + self.agreement_id = agreement_id + self.item_id = item_id + self.status = status + self.period = period + self.frequency = frequency + self.billing_type = billing_type + self.start_date = start_date + self.end_date = end_date + self.recurring_amt = recurring_amt + self.currency = currency + self.time_created = time_created + self.next_payment = next_payment + self.last_payment = last_payment + self.last_amount = last_amount + self.last_amount_vat = last_amount_vat + self.outstanding = outstanding + self.failed_attempts = failed_attempts + + @property + def agreement_id(self): + """Gets the agreement_id of this TransactionAgreement. # noqa: E501 + + + :return: The agreement_id of this TransactionAgreement. # noqa: E501 + :rtype: str + """ + return self._agreement_id + + @agreement_id.setter + def agreement_id(self, agreement_id): + """Sets the agreement_id of this TransactionAgreement. + + + :param agreement_id: The agreement_id of this TransactionAgreement. # noqa: E501 + :type agreement_id: str + """ + if self.local_vars_configuration.client_side_validation and agreement_id is None: # noqa: E501 + raise ValueError("Invalid value for `agreement_id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + agreement_id is not None and len(agreement_id) < 1): + raise ValueError("Invalid value for `agreement_id`, length must be greater than or equal to `1`") # noqa: E501 + + self._agreement_id = agreement_id + + @property + def item_id(self): + """Gets the item_id of this TransactionAgreement. # noqa: E501 + + + :return: The item_id of this TransactionAgreement. # noqa: E501 + :rtype: float + """ + return self._item_id + + @item_id.setter + def item_id(self, item_id): + """Sets the item_id of this TransactionAgreement. + + + :param item_id: The item_id of this TransactionAgreement. # noqa: E501 + :type item_id: float + """ + if self.local_vars_configuration.client_side_validation and item_id is None: # noqa: E501 + raise ValueError("Invalid value for `item_id`, must not be `None`") # noqa: E501 + + self._item_id = item_id + + @property + def status(self): + """Gets the status of this TransactionAgreement. # noqa: E501 + + This is NOT TransactionStatus, but whatever Steam return. # noqa: E501 + + :return: The status of this TransactionAgreement. # noqa: E501 + :rtype: str + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this TransactionAgreement. + + This is NOT TransactionStatus, but whatever Steam return. # noqa: E501 + + :param status: The status of this TransactionAgreement. # noqa: E501 + :type status: str + """ + if self.local_vars_configuration.client_side_validation and status is None: # noqa: E501 + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + status is not None and len(status) < 1): + raise ValueError("Invalid value for `status`, length must be greater than or equal to `1`") # noqa: E501 + + self._status = status + + @property + def period(self): + """Gets the period of this TransactionAgreement. # noqa: E501 + + + :return: The period of this TransactionAgreement. # noqa: E501 + :rtype: str + """ + return self._period + + @period.setter + def period(self, period): + """Sets the period of this TransactionAgreement. + + + :param period: The period of this TransactionAgreement. # noqa: E501 + :type period: str + """ + if self.local_vars_configuration.client_side_validation and period is None: # noqa: E501 + raise ValueError("Invalid value for `period`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + period is not None and len(period) < 1): + raise ValueError("Invalid value for `period`, length must be greater than or equal to `1`") # noqa: E501 + + self._period = period + + @property + def frequency(self): + """Gets the frequency of this TransactionAgreement. # noqa: E501 + + + :return: The frequency of this TransactionAgreement. # noqa: E501 + :rtype: float + """ + return self._frequency + + @frequency.setter + def frequency(self, frequency): + """Sets the frequency of this TransactionAgreement. + + + :param frequency: The frequency of this TransactionAgreement. # noqa: E501 + :type frequency: float + """ + if self.local_vars_configuration.client_side_validation and frequency is None: # noqa: E501 + raise ValueError("Invalid value for `frequency`, must not be `None`") # noqa: E501 + + self._frequency = frequency + + @property + def billing_type(self): + """Gets the billing_type of this TransactionAgreement. # noqa: E501 + + + :return: The billing_type of this TransactionAgreement. # noqa: E501 + :rtype: str + """ + return self._billing_type + + @billing_type.setter + def billing_type(self, billing_type): + """Sets the billing_type of this TransactionAgreement. + + + :param billing_type: The billing_type of this TransactionAgreement. # noqa: E501 + :type billing_type: str + """ + if self.local_vars_configuration.client_side_validation and billing_type is None: # noqa: E501 + raise ValueError("Invalid value for `billing_type`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + billing_type is not None and len(billing_type) < 1): + raise ValueError("Invalid value for `billing_type`, length must be greater than or equal to `1`") # noqa: E501 + + self._billing_type = billing_type + + @property + def start_date(self): + """Gets the start_date of this TransactionAgreement. # noqa: E501 + + + :return: The start_date of this TransactionAgreement. # noqa: E501 + :rtype: str + """ + return self._start_date + + @start_date.setter + def start_date(self, start_date): + """Sets the start_date of this TransactionAgreement. + + + :param start_date: The start_date of this TransactionAgreement. # noqa: E501 + :type start_date: str + """ + if self.local_vars_configuration.client_side_validation and start_date is None: # noqa: E501 + raise ValueError("Invalid value for `start_date`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + start_date is not None and len(start_date) < 1): + raise ValueError("Invalid value for `start_date`, length must be greater than or equal to `1`") # noqa: E501 + + self._start_date = start_date + + @property + def end_date(self): + """Gets the end_date of this TransactionAgreement. # noqa: E501 + + + :return: The end_date of this TransactionAgreement. # noqa: E501 + :rtype: str + """ + return self._end_date + + @end_date.setter + def end_date(self, end_date): + """Sets the end_date of this TransactionAgreement. + + + :param end_date: The end_date of this TransactionAgreement. # noqa: E501 + :type end_date: str + """ + if self.local_vars_configuration.client_side_validation and end_date is None: # noqa: E501 + raise ValueError("Invalid value for `end_date`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + end_date is not None and len(end_date) < 1): + raise ValueError("Invalid value for `end_date`, length must be greater than or equal to `1`") # noqa: E501 + + self._end_date = end_date + + @property + def recurring_amt(self): + """Gets the recurring_amt of this TransactionAgreement. # noqa: E501 + + + :return: The recurring_amt of this TransactionAgreement. # noqa: E501 + :rtype: float + """ + return self._recurring_amt + + @recurring_amt.setter + def recurring_amt(self, recurring_amt): + """Sets the recurring_amt of this TransactionAgreement. + + + :param recurring_amt: The recurring_amt of this TransactionAgreement. # noqa: E501 + :type recurring_amt: float + """ + if self.local_vars_configuration.client_side_validation and recurring_amt is None: # noqa: E501 + raise ValueError("Invalid value for `recurring_amt`, must not be `None`") # noqa: E501 + + self._recurring_amt = recurring_amt + + @property + def currency(self): + """Gets the currency of this TransactionAgreement. # noqa: E501 + + + :return: The currency of this TransactionAgreement. # noqa: E501 + :rtype: str + """ + return self._currency + + @currency.setter + def currency(self, currency): + """Sets the currency of this TransactionAgreement. + + + :param currency: The currency of this TransactionAgreement. # noqa: E501 + :type currency: str + """ + if self.local_vars_configuration.client_side_validation and currency is None: # noqa: E501 + raise ValueError("Invalid value for `currency`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + currency is not None and len(currency) < 1): + raise ValueError("Invalid value for `currency`, length must be greater than or equal to `1`") # noqa: E501 + + self._currency = currency + + @property + def time_created(self): + """Gets the time_created of this TransactionAgreement. # noqa: E501 + + + :return: The time_created of this TransactionAgreement. # noqa: E501 + :rtype: str + """ + return self._time_created + + @time_created.setter + def time_created(self, time_created): + """Sets the time_created of this TransactionAgreement. + + + :param time_created: The time_created of this TransactionAgreement. # noqa: E501 + :type time_created: str + """ + if self.local_vars_configuration.client_side_validation and time_created is None: # noqa: E501 + raise ValueError("Invalid value for `time_created`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + time_created is not None and len(time_created) < 1): + raise ValueError("Invalid value for `time_created`, length must be greater than or equal to `1`") # noqa: E501 + + self._time_created = time_created + + @property + def next_payment(self): + """Gets the next_payment of this TransactionAgreement. # noqa: E501 + + + :return: The next_payment of this TransactionAgreement. # noqa: E501 + :rtype: str + """ + return self._next_payment + + @next_payment.setter + def next_payment(self, next_payment): + """Sets the next_payment of this TransactionAgreement. + + + :param next_payment: The next_payment of this TransactionAgreement. # noqa: E501 + :type next_payment: str + """ + if self.local_vars_configuration.client_side_validation and next_payment is None: # noqa: E501 + raise ValueError("Invalid value for `next_payment`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + next_payment is not None and len(next_payment) < 1): + raise ValueError("Invalid value for `next_payment`, length must be greater than or equal to `1`") # noqa: E501 + + self._next_payment = next_payment + + @property + def last_payment(self): + """Gets the last_payment of this TransactionAgreement. # noqa: E501 + + + :return: The last_payment of this TransactionAgreement. # noqa: E501 + :rtype: str + """ + return self._last_payment + + @last_payment.setter + def last_payment(self, last_payment): + """Sets the last_payment of this TransactionAgreement. + + + :param last_payment: The last_payment of this TransactionAgreement. # noqa: E501 + :type last_payment: str + """ + if self.local_vars_configuration.client_side_validation and last_payment is None: # noqa: E501 + raise ValueError("Invalid value for `last_payment`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + last_payment is not None and len(last_payment) < 1): + raise ValueError("Invalid value for `last_payment`, length must be greater than or equal to `1`") # noqa: E501 + + self._last_payment = last_payment + + @property + def last_amount(self): + """Gets the last_amount of this TransactionAgreement. # noqa: E501 + + + :return: The last_amount of this TransactionAgreement. # noqa: E501 + :rtype: float + """ + return self._last_amount + + @last_amount.setter + def last_amount(self, last_amount): + """Sets the last_amount of this TransactionAgreement. + + + :param last_amount: The last_amount of this TransactionAgreement. # noqa: E501 + :type last_amount: float + """ + if self.local_vars_configuration.client_side_validation and last_amount is None: # noqa: E501 + raise ValueError("Invalid value for `last_amount`, must not be `None`") # noqa: E501 + + self._last_amount = last_amount + + @property + def last_amount_vat(self): + """Gets the last_amount_vat of this TransactionAgreement. # noqa: E501 + + + :return: The last_amount_vat of this TransactionAgreement. # noqa: E501 + :rtype: float + """ + return self._last_amount_vat + + @last_amount_vat.setter + def last_amount_vat(self, last_amount_vat): + """Sets the last_amount_vat of this TransactionAgreement. + + + :param last_amount_vat: The last_amount_vat of this TransactionAgreement. # noqa: E501 + :type last_amount_vat: float + """ + if self.local_vars_configuration.client_side_validation and last_amount_vat is None: # noqa: E501 + raise ValueError("Invalid value for `last_amount_vat`, must not be `None`") # noqa: E501 + + self._last_amount_vat = last_amount_vat + + @property + def outstanding(self): + """Gets the outstanding of this TransactionAgreement. # noqa: E501 + + + :return: The outstanding of this TransactionAgreement. # noqa: E501 + :rtype: float + """ + return self._outstanding + + @outstanding.setter + def outstanding(self, outstanding): + """Sets the outstanding of this TransactionAgreement. + + + :param outstanding: The outstanding of this TransactionAgreement. # noqa: E501 + :type outstanding: float + """ + if self.local_vars_configuration.client_side_validation and outstanding is None: # noqa: E501 + raise ValueError("Invalid value for `outstanding`, must not be `None`") # noqa: E501 + + self._outstanding = outstanding + + @property + def failed_attempts(self): + """Gets the failed_attempts of this TransactionAgreement. # noqa: E501 + + + :return: The failed_attempts of this TransactionAgreement. # noqa: E501 + :rtype: float + """ + return self._failed_attempts + + @failed_attempts.setter + def failed_attempts(self, failed_attempts): + """Sets the failed_attempts of this TransactionAgreement. + + + :param failed_attempts: The failed_attempts of this TransactionAgreement. # noqa: E501 + :type failed_attempts: float + """ + if self.local_vars_configuration.client_side_validation and failed_attempts is None: # noqa: E501 + raise ValueError("Invalid value for `failed_attempts`, must not be `None`") # noqa: E501 + + self._failed_attempts = failed_attempts + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, TransactionAgreement): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, TransactionAgreement): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py new file mode 100644 index 00000000..9beb9a38 --- /dev/null +++ b/vrchatapi/models/transaction_status.py @@ -0,0 +1,113 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class TransactionStatus(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + ACTIVE = "active" + FAILED = "failed" + EXPIRED = "expired" + CHARGEBACK = "chargeback" + + allowable_values = [ACTIVE, FAILED, EXPIRED, CHARGEBACK] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """TransactionStatus - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, TransactionStatus): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, TransactionStatus): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py new file mode 100644 index 00000000..5fc4fd43 --- /dev/null +++ b/vrchatapi/models/transaction_steam_info.py @@ -0,0 +1,257 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class TransactionSteamInfo(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'wallet_info': 'TransactionSteamWalletInfo', + 'steam_id': 'str', + 'order_id': 'str', + 'steam_url': 'str', + 'trans_id': 'str' + } + + attribute_map = { + 'wallet_info': 'walletInfo', + 'steam_id': 'steamId', + 'order_id': 'orderId', + 'steam_url': 'steamUrl', + 'trans_id': 'transId' + } + + def __init__(self, wallet_info=None, steam_id=None, order_id=None, steam_url=None, trans_id=None, local_vars_configuration=None): # noqa: E501 + """TransactionSteamInfo - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._wallet_info = None + self._steam_id = None + self._order_id = None + self._steam_url = None + self._trans_id = None + self.discriminator = None + + self.wallet_info = wallet_info + self.steam_id = steam_id + self.order_id = order_id + self.steam_url = steam_url + self.trans_id = trans_id + + @property + def wallet_info(self): + """Gets the wallet_info of this TransactionSteamInfo. # noqa: E501 + + + :return: The wallet_info of this TransactionSteamInfo. # noqa: E501 + :rtype: TransactionSteamWalletInfo + """ + return self._wallet_info + + @wallet_info.setter + def wallet_info(self, wallet_info): + """Sets the wallet_info of this TransactionSteamInfo. + + + :param wallet_info: The wallet_info of this TransactionSteamInfo. # noqa: E501 + :type wallet_info: TransactionSteamWalletInfo + """ + if self.local_vars_configuration.client_side_validation and wallet_info is None: # noqa: E501 + raise ValueError("Invalid value for `wallet_info`, must not be `None`") # noqa: E501 + + self._wallet_info = wallet_info + + @property + def steam_id(self): + """Gets the steam_id of this TransactionSteamInfo. # noqa: E501 + + Steam User ID # noqa: E501 + + :return: The steam_id of this TransactionSteamInfo. # noqa: E501 + :rtype: str + """ + return self._steam_id + + @steam_id.setter + def steam_id(self, steam_id): + """Sets the steam_id of this TransactionSteamInfo. + + Steam User ID # noqa: E501 + + :param steam_id: The steam_id of this TransactionSteamInfo. # noqa: E501 + :type steam_id: str + """ + if self.local_vars_configuration.client_side_validation and steam_id is None: # noqa: E501 + raise ValueError("Invalid value for `steam_id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + steam_id is not None and len(steam_id) < 1): + raise ValueError("Invalid value for `steam_id`, length must be greater than or equal to `1`") # noqa: E501 + + self._steam_id = steam_id + + @property + def order_id(self): + """Gets the order_id of this TransactionSteamInfo. # noqa: E501 + + Steam Order ID # noqa: E501 + + :return: The order_id of this TransactionSteamInfo. # noqa: E501 + :rtype: str + """ + return self._order_id + + @order_id.setter + def order_id(self, order_id): + """Sets the order_id of this TransactionSteamInfo. + + Steam Order ID # noqa: E501 + + :param order_id: The order_id of this TransactionSteamInfo. # noqa: E501 + :type order_id: str + """ + if self.local_vars_configuration.client_side_validation and order_id is None: # noqa: E501 + raise ValueError("Invalid value for `order_id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + order_id is not None and len(order_id) < 1): + raise ValueError("Invalid value for `order_id`, length must be greater than or equal to `1`") # noqa: E501 + + self._order_id = order_id + + @property + def steam_url(self): + """Gets the steam_url of this TransactionSteamInfo. # noqa: E501 + + Empty # noqa: E501 + + :return: The steam_url of this TransactionSteamInfo. # noqa: E501 + :rtype: str + """ + return self._steam_url + + @steam_url.setter + def steam_url(self, steam_url): + """Sets the steam_url of this TransactionSteamInfo. + + Empty # noqa: E501 + + :param steam_url: The steam_url of this TransactionSteamInfo. # noqa: E501 + :type steam_url: str + """ + if self.local_vars_configuration.client_side_validation and steam_url is None: # noqa: E501 + raise ValueError("Invalid value for `steam_url`, must not be `None`") # noqa: E501 + + self._steam_url = steam_url + + @property + def trans_id(self): + """Gets the trans_id of this TransactionSteamInfo. # noqa: E501 + + Steam Transaction ID, NOT the same as VRChat TransactionID # noqa: E501 + + :return: The trans_id of this TransactionSteamInfo. # noqa: E501 + :rtype: str + """ + return self._trans_id + + @trans_id.setter + def trans_id(self, trans_id): + """Sets the trans_id of this TransactionSteamInfo. + + Steam Transaction ID, NOT the same as VRChat TransactionID # noqa: E501 + + :param trans_id: The trans_id of this TransactionSteamInfo. # noqa: E501 + :type trans_id: str + """ + if self.local_vars_configuration.client_side_validation and trans_id is None: # noqa: E501 + raise ValueError("Invalid value for `trans_id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + trans_id is not None and len(trans_id) < 1): + raise ValueError("Invalid value for `trans_id`, length must be greater than or equal to `1`") # noqa: E501 + + self._trans_id = trans_id + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, TransactionSteamInfo): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, TransactionSteamInfo): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py new file mode 100644 index 00000000..8844dc4d --- /dev/null +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -0,0 +1,222 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class TransactionSteamWalletInfo(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'state': 'str', + 'country': 'str', + 'currency': 'str', + 'status': 'str' + } + + attribute_map = { + 'state': 'state', + 'country': 'country', + 'currency': 'currency', + 'status': 'status' + } + + def __init__(self, state=None, country='US', currency='USD', status=None, local_vars_configuration=None): # noqa: E501 + """TransactionSteamWalletInfo - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._state = None + self._country = None + self._currency = None + self._status = None + self.discriminator = None + + self.state = state + self.country = country + self.currency = currency + self.status = status + + @property + def state(self): + """Gets the state of this TransactionSteamWalletInfo. # noqa: E501 + + + :return: The state of this TransactionSteamWalletInfo. # noqa: E501 + :rtype: str + """ + return self._state + + @state.setter + def state(self, state): + """Sets the state of this TransactionSteamWalletInfo. + + + :param state: The state of this TransactionSteamWalletInfo. # noqa: E501 + :type state: str + """ + if self.local_vars_configuration.client_side_validation and state is None: # noqa: E501 + raise ValueError("Invalid value for `state`, must not be `None`") # noqa: E501 + + self._state = state + + @property + def country(self): + """Gets the country of this TransactionSteamWalletInfo. # noqa: E501 + + + :return: The country of this TransactionSteamWalletInfo. # noqa: E501 + :rtype: str + """ + return self._country + + @country.setter + def country(self, country): + """Sets the country of this TransactionSteamWalletInfo. + + + :param country: The country of this TransactionSteamWalletInfo. # noqa: E501 + :type country: str + """ + if self.local_vars_configuration.client_side_validation and country is None: # noqa: E501 + raise ValueError("Invalid value for `country`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + country is not None and len(country) < 2): + raise ValueError("Invalid value for `country`, length must be greater than or equal to `2`") # noqa: E501 + + self._country = country + + @property + def currency(self): + """Gets the currency of this TransactionSteamWalletInfo. # noqa: E501 + + + :return: The currency of this TransactionSteamWalletInfo. # noqa: E501 + :rtype: str + """ + return self._currency + + @currency.setter + def currency(self, currency): + """Sets the currency of this TransactionSteamWalletInfo. + + + :param currency: The currency of this TransactionSteamWalletInfo. # noqa: E501 + :type currency: str + """ + if self.local_vars_configuration.client_side_validation and currency is None: # noqa: E501 + raise ValueError("Invalid value for `currency`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + currency is not None and len(currency) < 3): + raise ValueError("Invalid value for `currency`, length must be greater than or equal to `3`") # noqa: E501 + + self._currency = currency + + @property + def status(self): + """Gets the status of this TransactionSteamWalletInfo. # noqa: E501 + + + :return: The status of this TransactionSteamWalletInfo. # noqa: E501 + :rtype: str + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this TransactionSteamWalletInfo. + + + :param status: The status of this TransactionSteamWalletInfo. # noqa: E501 + :type status: str + """ + if self.local_vars_configuration.client_side_validation and status is None: # noqa: E501 + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + status is not None and len(status) < 1): + raise ValueError("Invalid value for `status`, length must be greater than or equal to `1`") # noqa: E501 + + self._status = status + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, TransactionSteamWalletInfo): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, TransactionSteamWalletInfo): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py new file mode 100644 index 00000000..8320cd3c --- /dev/null +++ b/vrchatapi/models/two_factor_auth_code.py @@ -0,0 +1,132 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class TwoFactorAuthCode(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'code': 'str' + } + + attribute_map = { + 'code': 'code' + } + + def __init__(self, code=None, local_vars_configuration=None): # noqa: E501 + """TwoFactorAuthCode - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._code = None + self.discriminator = None + + self.code = code + + @property + def code(self): + """Gets the code of this TwoFactorAuthCode. # noqa: E501 + + + :return: The code of this TwoFactorAuthCode. # noqa: E501 + :rtype: str + """ + return self._code + + @code.setter + def code(self, code): + """Sets the code of this TwoFactorAuthCode. + + + :param code: The code of this TwoFactorAuthCode. # noqa: E501 + :type code: str + """ + if self.local_vars_configuration.client_side_validation and code is None: # noqa: E501 + raise ValueError("Invalid value for `code`, must not be `None`") # noqa: E501 + + self._code = code + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, TwoFactorAuthCode): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, TwoFactorAuthCode): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py new file mode 100644 index 00000000..af5ee125 --- /dev/null +++ b/vrchatapi/models/unity_package.py @@ -0,0 +1,386 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class UnityPackage(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'asset_url': 'str', + 'asset_url_object': 'object', + 'asset_version': 'int', + 'created_at': 'datetime', + 'id': 'str', + 'platform': 'str', + 'plugin_url': 'str', + 'plugin_url_object': 'object', + 'unity_sort_number': 'int', + 'unity_version': 'str' + } + + attribute_map = { + 'asset_url': 'assetUrl', + 'asset_url_object': 'assetUrlObject', + 'asset_version': 'assetVersion', + 'created_at': 'created_at', + 'id': 'id', + 'platform': 'platform', + 'plugin_url': 'pluginUrl', + 'plugin_url_object': 'pluginUrlObject', + 'unity_sort_number': 'unitySortNumber', + 'unity_version': 'unityVersion' + } + + def __init__(self, asset_url=None, asset_url_object=None, asset_version=None, created_at=None, id=None, platform=None, plugin_url=None, plugin_url_object=None, unity_sort_number=None, unity_version='5.3.4p1', local_vars_configuration=None): # noqa: E501 + """UnityPackage - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._asset_url = None + self._asset_url_object = None + self._asset_version = None + self._created_at = None + self._id = None + self._platform = None + self._plugin_url = None + self._plugin_url_object = None + self._unity_sort_number = None + self._unity_version = None + self.discriminator = None + + if asset_url is not None: + self.asset_url = asset_url + if asset_url_object is not None: + self.asset_url_object = asset_url_object + self.asset_version = asset_version + if created_at is not None: + self.created_at = created_at + self.id = id + self.platform = platform + if plugin_url is not None: + self.plugin_url = plugin_url + if plugin_url_object is not None: + self.plugin_url_object = plugin_url_object + if unity_sort_number is not None: + self.unity_sort_number = unity_sort_number + self.unity_version = unity_version + + @property + def asset_url(self): + """Gets the asset_url of this UnityPackage. # noqa: E501 + + + :return: The asset_url of this UnityPackage. # noqa: E501 + :rtype: str + """ + return self._asset_url + + @asset_url.setter + def asset_url(self, asset_url): + """Sets the asset_url of this UnityPackage. + + + :param asset_url: The asset_url of this UnityPackage. # noqa: E501 + :type asset_url: str + """ + if (self.local_vars_configuration.client_side_validation and + asset_url is not None and len(asset_url) < 1): + raise ValueError("Invalid value for `asset_url`, length must be greater than or equal to `1`") # noqa: E501 + + self._asset_url = asset_url + + @property + def asset_url_object(self): + """Gets the asset_url_object of this UnityPackage. # noqa: E501 + + + :return: The asset_url_object of this UnityPackage. # noqa: E501 + :rtype: object + """ + return self._asset_url_object + + @asset_url_object.setter + def asset_url_object(self, asset_url_object): + """Sets the asset_url_object of this UnityPackage. + + + :param asset_url_object: The asset_url_object of this UnityPackage. # noqa: E501 + :type asset_url_object: object + """ + + self._asset_url_object = asset_url_object + + @property + def asset_version(self): + """Gets the asset_version of this UnityPackage. # noqa: E501 + + + :return: The asset_version of this UnityPackage. # noqa: E501 + :rtype: int + """ + return self._asset_version + + @asset_version.setter + def asset_version(self, asset_version): + """Sets the asset_version of this UnityPackage. + + + :param asset_version: The asset_version of this UnityPackage. # noqa: E501 + :type asset_version: int + """ + if self.local_vars_configuration.client_side_validation and asset_version is None: # noqa: E501 + raise ValueError("Invalid value for `asset_version`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + asset_version is not None and asset_version < 0): # noqa: E501 + raise ValueError("Invalid value for `asset_version`, must be a value greater than or equal to `0`") # noqa: E501 + + self._asset_version = asset_version + + @property + def created_at(self): + """Gets the created_at of this UnityPackage. # noqa: E501 + + + :return: The created_at of this UnityPackage. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this UnityPackage. + + + :param created_at: The created_at of this UnityPackage. # noqa: E501 + :type created_at: datetime + """ + + self._created_at = created_at + + @property + def id(self): + """Gets the id of this UnityPackage. # noqa: E501 + + + :return: The id of this UnityPackage. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this UnityPackage. + + + :param id: The id of this UnityPackage. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + id is not None and not re.search(r'(unp)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', id)): # noqa: E501 + raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/(unp)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + + self._id = id + + @property + def platform(self): + """Gets the platform of this UnityPackage. # noqa: E501 + + This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + + :return: The platform of this UnityPackage. # noqa: E501 + :rtype: str + """ + return self._platform + + @platform.setter + def platform(self, platform): + """Sets the platform of this UnityPackage. + + This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + + :param platform: The platform of this UnityPackage. # noqa: E501 + :type platform: str + """ + if self.local_vars_configuration.client_side_validation and platform is None: # noqa: E501 + raise ValueError("Invalid value for `platform`, must not be `None`") # noqa: E501 + + self._platform = platform + + @property + def plugin_url(self): + """Gets the plugin_url of this UnityPackage. # noqa: E501 + + + :return: The plugin_url of this UnityPackage. # noqa: E501 + :rtype: str + """ + return self._plugin_url + + @plugin_url.setter + def plugin_url(self, plugin_url): + """Sets the plugin_url of this UnityPackage. + + + :param plugin_url: The plugin_url of this UnityPackage. # noqa: E501 + :type plugin_url: str + """ + + self._plugin_url = plugin_url + + @property + def plugin_url_object(self): + """Gets the plugin_url_object of this UnityPackage. # noqa: E501 + + + :return: The plugin_url_object of this UnityPackage. # noqa: E501 + :rtype: object + """ + return self._plugin_url_object + + @plugin_url_object.setter + def plugin_url_object(self, plugin_url_object): + """Sets the plugin_url_object of this UnityPackage. + + + :param plugin_url_object: The plugin_url_object of this UnityPackage. # noqa: E501 + :type plugin_url_object: object + """ + + self._plugin_url_object = plugin_url_object + + @property + def unity_sort_number(self): + """Gets the unity_sort_number of this UnityPackage. # noqa: E501 + + + :return: The unity_sort_number of this UnityPackage. # noqa: E501 + :rtype: int + """ + return self._unity_sort_number + + @unity_sort_number.setter + def unity_sort_number(self, unity_sort_number): + """Sets the unity_sort_number of this UnityPackage. + + + :param unity_sort_number: The unity_sort_number of this UnityPackage. # noqa: E501 + :type unity_sort_number: int + """ + if (self.local_vars_configuration.client_side_validation and + unity_sort_number is not None and unity_sort_number < 0): # noqa: E501 + raise ValueError("Invalid value for `unity_sort_number`, must be a value greater than or equal to `0`") # noqa: E501 + + self._unity_sort_number = unity_sort_number + + @property + def unity_version(self): + """Gets the unity_version of this UnityPackage. # noqa: E501 + + + :return: The unity_version of this UnityPackage. # noqa: E501 + :rtype: str + """ + return self._unity_version + + @unity_version.setter + def unity_version(self, unity_version): + """Sets the unity_version of this UnityPackage. + + + :param unity_version: The unity_version of this UnityPackage. # noqa: E501 + :type unity_version: str + """ + if self.local_vars_configuration.client_side_validation and unity_version is None: # noqa: E501 + raise ValueError("Invalid value for `unity_version`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + unity_version is not None and len(unity_version) < 1): + raise ValueError("Invalid value for `unity_version`, length must be greater than or equal to `1`") # noqa: E501 + + self._unity_version = unity_version + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, UnityPackage): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, UnityPackage): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py new file mode 100644 index 00000000..cfe53d4c --- /dev/null +++ b/vrchatapi/models/update_avatar_request.py @@ -0,0 +1,356 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class UpdateAvatarRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'asset_url': 'str', + 'id': 'str', + 'name': 'str', + 'description': 'str', + 'tags': 'list[str]', + 'image_url': 'str', + 'release_status': 'ReleaseStatus', + 'version': 'float', + 'unity_package_url': 'str' + } + + attribute_map = { + 'asset_url': 'assetUrl', + 'id': 'id', + 'name': 'name', + 'description': 'description', + 'tags': 'tags', + 'image_url': 'imageUrl', + 'release_status': 'releaseStatus', + 'version': 'version', + 'unity_package_url': 'unityPackageUrl' + } + + def __init__(self, asset_url=None, id=None, name=None, description=None, tags=None, image_url=None, release_status=None, version=1, unity_package_url=None, local_vars_configuration=None): # noqa: E501 + """UpdateAvatarRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._asset_url = None + self._id = None + self._name = None + self._description = None + self._tags = None + self._image_url = None + self._release_status = None + self._version = None + self._unity_package_url = None + self.discriminator = None + + if asset_url is not None: + self.asset_url = asset_url + if id is not None: + self.id = id + if name is not None: + self.name = name + if description is not None: + self.description = description + if tags is not None: + self.tags = tags + if image_url is not None: + self.image_url = image_url + if release_status is not None: + self.release_status = release_status + if version is not None: + self.version = version + if unity_package_url is not None: + self.unity_package_url = unity_package_url + + @property + def asset_url(self): + """Gets the asset_url of this UpdateAvatarRequest. # noqa: E501 + + + :return: The asset_url of this UpdateAvatarRequest. # noqa: E501 + :rtype: str + """ + return self._asset_url + + @asset_url.setter + def asset_url(self, asset_url): + """Sets the asset_url of this UpdateAvatarRequest. + + + :param asset_url: The asset_url of this UpdateAvatarRequest. # noqa: E501 + :type asset_url: str + """ + + self._asset_url = asset_url + + @property + def id(self): + """Gets the id of this UpdateAvatarRequest. # noqa: E501 + + + :return: The id of this UpdateAvatarRequest. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this UpdateAvatarRequest. + + + :param id: The id of this UpdateAvatarRequest. # noqa: E501 + :type id: str + """ + if (self.local_vars_configuration.client_side_validation and + id is not None and not re.search(r'avtr_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', id)): # noqa: E501 + raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/avtr_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + + self._id = id + + @property + def name(self): + """Gets the name of this UpdateAvatarRequest. # noqa: E501 + + + :return: The name of this UpdateAvatarRequest. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this UpdateAvatarRequest. + + + :param name: The name of this UpdateAvatarRequest. # noqa: E501 + :type name: str + """ + if (self.local_vars_configuration.client_side_validation and + name is not None and len(name) < 1): + raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 + + self._name = name + + @property + def description(self): + """Gets the description of this UpdateAvatarRequest. # noqa: E501 + + + :return: The description of this UpdateAvatarRequest. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this UpdateAvatarRequest. + + + :param description: The description of this UpdateAvatarRequest. # noqa: E501 + :type description: str + """ + if (self.local_vars_configuration.client_side_validation and + description is not None and len(description) < 1): + raise ValueError("Invalid value for `description`, length must be greater than or equal to `1`") # noqa: E501 + + self._description = description + + @property + def tags(self): + """Gets the tags of this UpdateAvatarRequest. # noqa: E501 + + # noqa: E501 + + :return: The tags of this UpdateAvatarRequest. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this UpdateAvatarRequest. + + # noqa: E501 + + :param tags: The tags of this UpdateAvatarRequest. # noqa: E501 + :type tags: list[str] + """ + + self._tags = tags + + @property + def image_url(self): + """Gets the image_url of this UpdateAvatarRequest. # noqa: E501 + + + :return: The image_url of this UpdateAvatarRequest. # noqa: E501 + :rtype: str + """ + return self._image_url + + @image_url.setter + def image_url(self, image_url): + """Sets the image_url of this UpdateAvatarRequest. + + + :param image_url: The image_url of this UpdateAvatarRequest. # noqa: E501 + :type image_url: str + """ + if (self.local_vars_configuration.client_side_validation and + image_url is not None and len(image_url) < 1): + raise ValueError("Invalid value for `image_url`, length must be greater than or equal to `1`") # noqa: E501 + + self._image_url = image_url + + @property + def release_status(self): + """Gets the release_status of this UpdateAvatarRequest. # noqa: E501 + + + :return: The release_status of this UpdateAvatarRequest. # noqa: E501 + :rtype: ReleaseStatus + """ + return self._release_status + + @release_status.setter + def release_status(self, release_status): + """Sets the release_status of this UpdateAvatarRequest. + + + :param release_status: The release_status of this UpdateAvatarRequest. # noqa: E501 + :type release_status: ReleaseStatus + """ + + self._release_status = release_status + + @property + def version(self): + """Gets the version of this UpdateAvatarRequest. # noqa: E501 + + + :return: The version of this UpdateAvatarRequest. # noqa: E501 + :rtype: float + """ + return self._version + + @version.setter + def version(self, version): + """Sets the version of this UpdateAvatarRequest. + + + :param version: The version of this UpdateAvatarRequest. # noqa: E501 + :type version: float + """ + if (self.local_vars_configuration.client_side_validation and + version is not None and version < 0): # noqa: E501 + raise ValueError("Invalid value for `version`, must be a value greater than or equal to `0`") # noqa: E501 + + self._version = version + + @property + def unity_package_url(self): + """Gets the unity_package_url of this UpdateAvatarRequest. # noqa: E501 + + + :return: The unity_package_url of this UpdateAvatarRequest. # noqa: E501 + :rtype: str + """ + return self._unity_package_url + + @unity_package_url.setter + def unity_package_url(self, unity_package_url): + """Sets the unity_package_url of this UpdateAvatarRequest. + + + :param unity_package_url: The unity_package_url of this UpdateAvatarRequest. # noqa: E501 + :type unity_package_url: str + """ + + self._unity_package_url = unity_package_url + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, UpdateAvatarRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, UpdateAvatarRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py new file mode 100644 index 00000000..b60bb668 --- /dev/null +++ b/vrchatapi/models/update_favorite_group_request.py @@ -0,0 +1,185 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class UpdateFavoriteGroupRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'display_name': 'str', + 'visibility': 'FavoriteGroupVisibility', + 'tags': 'list[str]' + } + + attribute_map = { + 'display_name': 'displayName', + 'visibility': 'visibility', + 'tags': 'tags' + } + + def __init__(self, display_name=None, visibility=None, tags=None, local_vars_configuration=None): # noqa: E501 + """UpdateFavoriteGroupRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._display_name = None + self._visibility = None + self._tags = None + self.discriminator = None + + if display_name is not None: + self.display_name = display_name + if visibility is not None: + self.visibility = visibility + if tags is not None: + self.tags = tags + + @property + def display_name(self): + """Gets the display_name of this UpdateFavoriteGroupRequest. # noqa: E501 + + + :return: The display_name of this UpdateFavoriteGroupRequest. # noqa: E501 + :rtype: str + """ + return self._display_name + + @display_name.setter + def display_name(self, display_name): + """Sets the display_name of this UpdateFavoriteGroupRequest. + + + :param display_name: The display_name of this UpdateFavoriteGroupRequest. # noqa: E501 + :type display_name: str + """ + + self._display_name = display_name + + @property + def visibility(self): + """Gets the visibility of this UpdateFavoriteGroupRequest. # noqa: E501 + + + :return: The visibility of this UpdateFavoriteGroupRequest. # noqa: E501 + :rtype: FavoriteGroupVisibility + """ + return self._visibility + + @visibility.setter + def visibility(self, visibility): + """Sets the visibility of this UpdateFavoriteGroupRequest. + + + :param visibility: The visibility of this UpdateFavoriteGroupRequest. # noqa: E501 + :type visibility: FavoriteGroupVisibility + """ + + self._visibility = visibility + + @property + def tags(self): + """Gets the tags of this UpdateFavoriteGroupRequest. # noqa: E501 + + Tags on FavoriteGroups are believed to do nothing. # noqa: E501 + + :return: The tags of this UpdateFavoriteGroupRequest. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this UpdateFavoriteGroupRequest. + + Tags on FavoriteGroups are believed to do nothing. # noqa: E501 + + :param tags: The tags of this UpdateFavoriteGroupRequest. # noqa: E501 + :type tags: list[str] + """ + + self._tags = tags + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, UpdateFavoriteGroupRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, UpdateFavoriteGroupRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py new file mode 100644 index 00000000..358fe1bc --- /dev/null +++ b/vrchatapi/models/update_invite_message_request.py @@ -0,0 +1,132 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class UpdateInviteMessageRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'message': 'str' + } + + attribute_map = { + 'message': 'message' + } + + def __init__(self, message=None, local_vars_configuration=None): # noqa: E501 + """UpdateInviteMessageRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._message = None + self.discriminator = None + + self.message = message + + @property + def message(self): + """Gets the message of this UpdateInviteMessageRequest. # noqa: E501 + + + :return: The message of this UpdateInviteMessageRequest. # noqa: E501 + :rtype: str + """ + return self._message + + @message.setter + def message(self, message): + """Sets the message of this UpdateInviteMessageRequest. + + + :param message: The message of this UpdateInviteMessageRequest. # noqa: E501 + :type message: str + """ + if self.local_vars_configuration.client_side_validation and message is None: # noqa: E501 + raise ValueError("Invalid value for `message`, must not be `None`") # noqa: E501 + + self._message = message + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, UpdateInviteMessageRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, UpdateInviteMessageRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py new file mode 100644 index 00000000..20a5c61d --- /dev/null +++ b/vrchatapi/models/update_user_request.py @@ -0,0 +1,349 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class UpdateUserRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'email': 'str', + 'birthday': 'date', + 'accepted_tos_version': 'float', + 'tags': 'list[str]', + 'status': 'UserStatus', + 'status_description': 'str', + 'bio': 'str', + 'bio_links': 'list[str]', + 'user_icon': 'str' + } + + attribute_map = { + 'email': 'email', + 'birthday': 'birthday', + 'accepted_tos_version': 'acceptedTOSVersion', + 'tags': 'tags', + 'status': 'status', + 'status_description': 'statusDescription', + 'bio': 'bio', + 'bio_links': 'bioLinks', + 'user_icon': 'userIcon' + } + + def __init__(self, email=None, birthday=None, accepted_tos_version=None, tags=None, status=None, status_description=None, bio=None, bio_links=None, user_icon=None, local_vars_configuration=None): # noqa: E501 + """UpdateUserRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._email = None + self._birthday = None + self._accepted_tos_version = None + self._tags = None + self._status = None + self._status_description = None + self._bio = None + self._bio_links = None + self._user_icon = None + self.discriminator = None + + if email is not None: + self.email = email + if birthday is not None: + self.birthday = birthday + if accepted_tos_version is not None: + self.accepted_tos_version = accepted_tos_version + if tags is not None: + self.tags = tags + if status is not None: + self.status = status + if status_description is not None: + self.status_description = status_description + if bio is not None: + self.bio = bio + if bio_links is not None: + self.bio_links = bio_links + if user_icon is not None: + self.user_icon = user_icon + + @property + def email(self): + """Gets the email of this UpdateUserRequest. # noqa: E501 + + + :return: The email of this UpdateUserRequest. # noqa: E501 + :rtype: str + """ + return self._email + + @email.setter + def email(self, email): + """Sets the email of this UpdateUserRequest. + + + :param email: The email of this UpdateUserRequest. # noqa: E501 + :type email: str + """ + + self._email = email + + @property + def birthday(self): + """Gets the birthday of this UpdateUserRequest. # noqa: E501 + + + :return: The birthday of this UpdateUserRequest. # noqa: E501 + :rtype: date + """ + return self._birthday + + @birthday.setter + def birthday(self, birthday): + """Sets the birthday of this UpdateUserRequest. + + + :param birthday: The birthday of this UpdateUserRequest. # noqa: E501 + :type birthday: date + """ + + self._birthday = birthday + + @property + def accepted_tos_version(self): + """Gets the accepted_tos_version of this UpdateUserRequest. # noqa: E501 + + + :return: The accepted_tos_version of this UpdateUserRequest. # noqa: E501 + :rtype: float + """ + return self._accepted_tos_version + + @accepted_tos_version.setter + def accepted_tos_version(self, accepted_tos_version): + """Sets the accepted_tos_version of this UpdateUserRequest. + + + :param accepted_tos_version: The accepted_tos_version of this UpdateUserRequest. # noqa: E501 + :type accepted_tos_version: float + """ + + self._accepted_tos_version = accepted_tos_version + + @property + def tags(self): + """Gets the tags of this UpdateUserRequest. # noqa: E501 + + # noqa: E501 + + :return: The tags of this UpdateUserRequest. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this UpdateUserRequest. + + # noqa: E501 + + :param tags: The tags of this UpdateUserRequest. # noqa: E501 + :type tags: list[str] + """ + + self._tags = tags + + @property + def status(self): + """Gets the status of this UpdateUserRequest. # noqa: E501 + + + :return: The status of this UpdateUserRequest. # noqa: E501 + :rtype: UserStatus + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this UpdateUserRequest. + + + :param status: The status of this UpdateUserRequest. # noqa: E501 + :type status: UserStatus + """ + + self._status = status + + @property + def status_description(self): + """Gets the status_description of this UpdateUserRequest. # noqa: E501 + + + :return: The status_description of this UpdateUserRequest. # noqa: E501 + :rtype: str + """ + return self._status_description + + @status_description.setter + def status_description(self, status_description): + """Sets the status_description of this UpdateUserRequest. + + + :param status_description: The status_description of this UpdateUserRequest. # noqa: E501 + :type status_description: str + """ + + self._status_description = status_description + + @property + def bio(self): + """Gets the bio of this UpdateUserRequest. # noqa: E501 + + + :return: The bio of this UpdateUserRequest. # noqa: E501 + :rtype: str + """ + return self._bio + + @bio.setter + def bio(self, bio): + """Sets the bio of this UpdateUserRequest. + + + :param bio: The bio of this UpdateUserRequest. # noqa: E501 + :type bio: str + """ + if (self.local_vars_configuration.client_side_validation and + bio is not None and len(bio) < 0): + raise ValueError("Invalid value for `bio`, length must be greater than or equal to `0`") # noqa: E501 + + self._bio = bio + + @property + def bio_links(self): + """Gets the bio_links of this UpdateUserRequest. # noqa: E501 + + + :return: The bio_links of this UpdateUserRequest. # noqa: E501 + :rtype: list[str] + """ + return self._bio_links + + @bio_links.setter + def bio_links(self, bio_links): + """Sets the bio_links of this UpdateUserRequest. + + + :param bio_links: The bio_links of this UpdateUserRequest. # noqa: E501 + :type bio_links: list[str] + """ + + self._bio_links = bio_links + + @property + def user_icon(self): + """Gets the user_icon of this UpdateUserRequest. # noqa: E501 + + MUST be a valid VRChat /file/ url. # noqa: E501 + + :return: The user_icon of this UpdateUserRequest. # noqa: E501 + :rtype: str + """ + return self._user_icon + + @user_icon.setter + def user_icon(self, user_icon): + """Sets the user_icon of this UpdateUserRequest. + + MUST be a valid VRChat /file/ url. # noqa: E501 + + :param user_icon: The user_icon of this UpdateUserRequest. # noqa: E501 + :type user_icon: str + """ + if (self.local_vars_configuration.client_side_validation and + user_icon is not None and len(user_icon) < 0): + raise ValueError("Invalid value for `user_icon`, length must be greater than or equal to `0`") # noqa: E501 + + self._user_icon = user_icon + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, UpdateUserRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, UpdateUserRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py new file mode 100644 index 00000000..5422d27e --- /dev/null +++ b/vrchatapi/models/update_world_request.py @@ -0,0 +1,476 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class UpdateWorldRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'asset_url': 'str', + 'asset_version': 'str', + 'author_id': 'str', + 'author_name': 'str', + 'capacity': 'int', + 'description': 'str', + 'image_url': 'str', + 'name': 'str', + 'platform': 'str', + 'release_status': 'ReleaseStatus', + 'tags': 'list[str]', + 'unity_package_url': 'str', + 'unity_version': 'str' + } + + attribute_map = { + 'asset_url': 'assetUrl', + 'asset_version': 'assetVersion', + 'author_id': 'authorId', + 'author_name': 'authorName', + 'capacity': 'capacity', + 'description': 'description', + 'image_url': 'imageUrl', + 'name': 'name', + 'platform': 'platform', + 'release_status': 'releaseStatus', + 'tags': 'tags', + 'unity_package_url': 'unityPackageUrl', + 'unity_version': 'unityVersion' + } + + def __init__(self, asset_url=None, asset_version=None, author_id=None, author_name=None, capacity=None, description=None, image_url=None, name=None, platform=None, release_status=None, tags=None, unity_package_url=None, unity_version='5.3.4p1', local_vars_configuration=None): # noqa: E501 + """UpdateWorldRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._asset_url = None + self._asset_version = None + self._author_id = None + self._author_name = None + self._capacity = None + self._description = None + self._image_url = None + self._name = None + self._platform = None + self._release_status = None + self._tags = None + self._unity_package_url = None + self._unity_version = None + self.discriminator = None + + if asset_url is not None: + self.asset_url = asset_url + if asset_version is not None: + self.asset_version = asset_version + if author_id is not None: + self.author_id = author_id + if author_name is not None: + self.author_name = author_name + if capacity is not None: + self.capacity = capacity + if description is not None: + self.description = description + if image_url is not None: + self.image_url = image_url + if name is not None: + self.name = name + if platform is not None: + self.platform = platform + if release_status is not None: + self.release_status = release_status + if tags is not None: + self.tags = tags + if unity_package_url is not None: + self.unity_package_url = unity_package_url + if unity_version is not None: + self.unity_version = unity_version + + @property + def asset_url(self): + """Gets the asset_url of this UpdateWorldRequest. # noqa: E501 + + + :return: The asset_url of this UpdateWorldRequest. # noqa: E501 + :rtype: str + """ + return self._asset_url + + @asset_url.setter + def asset_url(self, asset_url): + """Sets the asset_url of this UpdateWorldRequest. + + + :param asset_url: The asset_url of this UpdateWorldRequest. # noqa: E501 + :type asset_url: str + """ + if (self.local_vars_configuration.client_side_validation and + asset_url is not None and len(asset_url) < 1): + raise ValueError("Invalid value for `asset_url`, length must be greater than or equal to `1`") # noqa: E501 + + self._asset_url = asset_url + + @property + def asset_version(self): + """Gets the asset_version of this UpdateWorldRequest. # noqa: E501 + + + :return: The asset_version of this UpdateWorldRequest. # noqa: E501 + :rtype: str + """ + return self._asset_version + + @asset_version.setter + def asset_version(self, asset_version): + """Sets the asset_version of this UpdateWorldRequest. + + + :param asset_version: The asset_version of this UpdateWorldRequest. # noqa: E501 + :type asset_version: str + """ + if (self.local_vars_configuration.client_side_validation and + asset_version is not None and len(asset_version) < 1): + raise ValueError("Invalid value for `asset_version`, length must be greater than or equal to `1`") # noqa: E501 + + self._asset_version = asset_version + + @property + def author_id(self): + """Gets the author_id of this UpdateWorldRequest. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The author_id of this UpdateWorldRequest. # noqa: E501 + :rtype: str + """ + return self._author_id + + @author_id.setter + def author_id(self, author_id): + """Sets the author_id of this UpdateWorldRequest. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param author_id: The author_id of this UpdateWorldRequest. # noqa: E501 + :type author_id: str + """ + + self._author_id = author_id + + @property + def author_name(self): + """Gets the author_name of this UpdateWorldRequest. # noqa: E501 + + + :return: The author_name of this UpdateWorldRequest. # noqa: E501 + :rtype: str + """ + return self._author_name + + @author_name.setter + def author_name(self, author_name): + """Sets the author_name of this UpdateWorldRequest. + + + :param author_name: The author_name of this UpdateWorldRequest. # noqa: E501 + :type author_name: str + """ + if (self.local_vars_configuration.client_side_validation and + author_name is not None and len(author_name) < 1): + raise ValueError("Invalid value for `author_name`, length must be greater than or equal to `1`") # noqa: E501 + + self._author_name = author_name + + @property + def capacity(self): + """Gets the capacity of this UpdateWorldRequest. # noqa: E501 + + + :return: The capacity of this UpdateWorldRequest. # noqa: E501 + :rtype: int + """ + return self._capacity + + @capacity.setter + def capacity(self, capacity): + """Sets the capacity of this UpdateWorldRequest. + + + :param capacity: The capacity of this UpdateWorldRequest. # noqa: E501 + :type capacity: int + """ + if (self.local_vars_configuration.client_side_validation and + capacity is not None and capacity > 40): # noqa: E501 + raise ValueError("Invalid value for `capacity`, must be a value less than or equal to `40`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + capacity is not None and capacity < 0): # noqa: E501 + raise ValueError("Invalid value for `capacity`, must be a value greater than or equal to `0`") # noqa: E501 + + self._capacity = capacity + + @property + def description(self): + """Gets the description of this UpdateWorldRequest. # noqa: E501 + + + :return: The description of this UpdateWorldRequest. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this UpdateWorldRequest. + + + :param description: The description of this UpdateWorldRequest. # noqa: E501 + :type description: str + """ + + self._description = description + + @property + def image_url(self): + """Gets the image_url of this UpdateWorldRequest. # noqa: E501 + + + :return: The image_url of this UpdateWorldRequest. # noqa: E501 + :rtype: str + """ + return self._image_url + + @image_url.setter + def image_url(self, image_url): + """Sets the image_url of this UpdateWorldRequest. + + + :param image_url: The image_url of this UpdateWorldRequest. # noqa: E501 + :type image_url: str + """ + if (self.local_vars_configuration.client_side_validation and + image_url is not None and len(image_url) < 1): + raise ValueError("Invalid value for `image_url`, length must be greater than or equal to `1`") # noqa: E501 + + self._image_url = image_url + + @property + def name(self): + """Gets the name of this UpdateWorldRequest. # noqa: E501 + + + :return: The name of this UpdateWorldRequest. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this UpdateWorldRequest. + + + :param name: The name of this UpdateWorldRequest. # noqa: E501 + :type name: str + """ + if (self.local_vars_configuration.client_side_validation and + name is not None and len(name) < 1): + raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 + + self._name = name + + @property + def platform(self): + """Gets the platform of this UpdateWorldRequest. # noqa: E501 + + This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + + :return: The platform of this UpdateWorldRequest. # noqa: E501 + :rtype: str + """ + return self._platform + + @platform.setter + def platform(self, platform): + """Sets the platform of this UpdateWorldRequest. + + This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + + :param platform: The platform of this UpdateWorldRequest. # noqa: E501 + :type platform: str + """ + + self._platform = platform + + @property + def release_status(self): + """Gets the release_status of this UpdateWorldRequest. # noqa: E501 + + + :return: The release_status of this UpdateWorldRequest. # noqa: E501 + :rtype: ReleaseStatus + """ + return self._release_status + + @release_status.setter + def release_status(self, release_status): + """Sets the release_status of this UpdateWorldRequest. + + + :param release_status: The release_status of this UpdateWorldRequest. # noqa: E501 + :type release_status: ReleaseStatus + """ + + self._release_status = release_status + + @property + def tags(self): + """Gets the tags of this UpdateWorldRequest. # noqa: E501 + + # noqa: E501 + + :return: The tags of this UpdateWorldRequest. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this UpdateWorldRequest. + + # noqa: E501 + + :param tags: The tags of this UpdateWorldRequest. # noqa: E501 + :type tags: list[str] + """ + + self._tags = tags + + @property + def unity_package_url(self): + """Gets the unity_package_url of this UpdateWorldRequest. # noqa: E501 + + + :return: The unity_package_url of this UpdateWorldRequest. # noqa: E501 + :rtype: str + """ + return self._unity_package_url + + @unity_package_url.setter + def unity_package_url(self, unity_package_url): + """Sets the unity_package_url of this UpdateWorldRequest. + + + :param unity_package_url: The unity_package_url of this UpdateWorldRequest. # noqa: E501 + :type unity_package_url: str + """ + if (self.local_vars_configuration.client_side_validation and + unity_package_url is not None and len(unity_package_url) < 1): + raise ValueError("Invalid value for `unity_package_url`, length must be greater than or equal to `1`") # noqa: E501 + + self._unity_package_url = unity_package_url + + @property + def unity_version(self): + """Gets the unity_version of this UpdateWorldRequest. # noqa: E501 + + + :return: The unity_version of this UpdateWorldRequest. # noqa: E501 + :rtype: str + """ + return self._unity_version + + @unity_version.setter + def unity_version(self, unity_version): + """Sets the unity_version of this UpdateWorldRequest. + + + :param unity_version: The unity_version of this UpdateWorldRequest. # noqa: E501 + :type unity_version: str + """ + if (self.local_vars_configuration.client_side_validation and + unity_version is not None and len(unity_version) < 1): + raise ValueError("Invalid value for `unity_version`, length must be greater than or equal to `1`") # noqa: E501 + + self._unity_version = unity_version + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, UpdateWorldRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, UpdateWorldRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py new file mode 100644 index 00000000..4b1423df --- /dev/null +++ b/vrchatapi/models/user.py @@ -0,0 +1,920 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class User(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'allow_avatar_copying': 'bool', + 'bio': 'str', + 'bio_links': 'list[str]', + 'current_avatar_image_url': 'str', + 'current_avatar_thumbnail_image_url': 'str', + 'date_joined': 'date', + 'developer_type': 'DeveloperType', + 'display_name': 'str', + 'friend_key': 'str', + 'friend_request_status': 'str', + 'id': 'str', + 'instance_id': 'str', + 'is_friend': 'bool', + 'last_activity': 'str', + 'last_login': 'str', + 'last_platform': 'str', + 'location': 'str', + 'note': 'str', + 'profile_pic_override': 'str', + 'state': 'UserState', + 'status': 'UserStatus', + 'status_description': 'str', + 'tags': 'list[str]', + 'traveling_to_instance': 'str', + 'traveling_to_location': 'str', + 'traveling_to_world': 'str', + 'user_icon': 'str', + 'username': 'str', + 'world_id': 'str' + } + + attribute_map = { + 'allow_avatar_copying': 'allowAvatarCopying', + 'bio': 'bio', + 'bio_links': 'bioLinks', + 'current_avatar_image_url': 'currentAvatarImageUrl', + 'current_avatar_thumbnail_image_url': 'currentAvatarThumbnailImageUrl', + 'date_joined': 'date_joined', + 'developer_type': 'developerType', + 'display_name': 'displayName', + 'friend_key': 'friendKey', + 'friend_request_status': 'friendRequestStatus', + 'id': 'id', + 'instance_id': 'instanceId', + 'is_friend': 'isFriend', + 'last_activity': 'last_activity', + 'last_login': 'last_login', + 'last_platform': 'last_platform', + 'location': 'location', + 'note': 'note', + 'profile_pic_override': 'profilePicOverride', + 'state': 'state', + 'status': 'status', + 'status_description': 'statusDescription', + 'tags': 'tags', + 'traveling_to_instance': 'travelingToInstance', + 'traveling_to_location': 'travelingToLocation', + 'traveling_to_world': 'travelingToWorld', + 'user_icon': 'userIcon', + 'username': 'username', + 'world_id': 'worldId' + } + + def __init__(self, allow_avatar_copying=True, bio=None, bio_links=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, date_joined=None, developer_type=None, display_name=None, friend_key=None, friend_request_status=None, id=None, instance_id=None, is_friend=None, last_activity=None, last_login=None, last_platform=None, location=None, note=None, profile_pic_override=None, state=None, status=None, status_description=None, tags=None, traveling_to_instance=None, traveling_to_location=None, traveling_to_world=None, user_icon=None, username=None, world_id=None, local_vars_configuration=None): # noqa: E501 + """User - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._allow_avatar_copying = None + self._bio = None + self._bio_links = None + self._current_avatar_image_url = None + self._current_avatar_thumbnail_image_url = None + self._date_joined = None + self._developer_type = None + self._display_name = None + self._friend_key = None + self._friend_request_status = None + self._id = None + self._instance_id = None + self._is_friend = None + self._last_activity = None + self._last_login = None + self._last_platform = None + self._location = None + self._note = None + self._profile_pic_override = None + self._state = None + self._status = None + self._status_description = None + self._tags = None + self._traveling_to_instance = None + self._traveling_to_location = None + self._traveling_to_world = None + self._user_icon = None + self._username = None + self._world_id = None + self.discriminator = None + + self.allow_avatar_copying = allow_avatar_copying + self.bio = bio + self.bio_links = bio_links + self.current_avatar_image_url = current_avatar_image_url + self.current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url + self.date_joined = date_joined + self.developer_type = developer_type + self.display_name = display_name + self.friend_key = friend_key + if friend_request_status is not None: + self.friend_request_status = friend_request_status + self.id = id + if instance_id is not None: + self.instance_id = instance_id + self.is_friend = is_friend + self.last_activity = last_activity + self.last_login = last_login + self.last_platform = last_platform + if location is not None: + self.location = location + if note is not None: + self.note = note + self.profile_pic_override = profile_pic_override + self.state = state + self.status = status + self.status_description = status_description + self.tags = tags + if traveling_to_instance is not None: + self.traveling_to_instance = traveling_to_instance + if traveling_to_location is not None: + self.traveling_to_location = traveling_to_location + if traveling_to_world is not None: + self.traveling_to_world = traveling_to_world + self.user_icon = user_icon + if username is not None: + self.username = username + if world_id is not None: + self.world_id = world_id + + @property + def allow_avatar_copying(self): + """Gets the allow_avatar_copying of this User. # noqa: E501 + + + :return: The allow_avatar_copying of this User. # noqa: E501 + :rtype: bool + """ + return self._allow_avatar_copying + + @allow_avatar_copying.setter + def allow_avatar_copying(self, allow_avatar_copying): + """Sets the allow_avatar_copying of this User. + + + :param allow_avatar_copying: The allow_avatar_copying of this User. # noqa: E501 + :type allow_avatar_copying: bool + """ + if self.local_vars_configuration.client_side_validation and allow_avatar_copying is None: # noqa: E501 + raise ValueError("Invalid value for `allow_avatar_copying`, must not be `None`") # noqa: E501 + + self._allow_avatar_copying = allow_avatar_copying + + @property + def bio(self): + """Gets the bio of this User. # noqa: E501 + + + :return: The bio of this User. # noqa: E501 + :rtype: str + """ + return self._bio + + @bio.setter + def bio(self, bio): + """Sets the bio of this User. + + + :param bio: The bio of this User. # noqa: E501 + :type bio: str + """ + if self.local_vars_configuration.client_side_validation and bio is None: # noqa: E501 + raise ValueError("Invalid value for `bio`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + bio is not None and len(bio) > 512): + raise ValueError("Invalid value for `bio`, length must be less than or equal to `512`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + bio is not None and len(bio) < 0): + raise ValueError("Invalid value for `bio`, length must be greater than or equal to `0`") # noqa: E501 + + self._bio = bio + + @property + def bio_links(self): + """Gets the bio_links of this User. # noqa: E501 + + + :return: The bio_links of this User. # noqa: E501 + :rtype: list[str] + """ + return self._bio_links + + @bio_links.setter + def bio_links(self, bio_links): + """Sets the bio_links of this User. + + + :param bio_links: The bio_links of this User. # noqa: E501 + :type bio_links: list[str] + """ + if self.local_vars_configuration.client_side_validation and bio_links is None: # noqa: E501 + raise ValueError("Invalid value for `bio_links`, must not be `None`") # noqa: E501 + + self._bio_links = bio_links + + @property + def current_avatar_image_url(self): + """Gets the current_avatar_image_url of this User. # noqa: E501 + + When profilePicOverride is not empty, use it instead. # noqa: E501 + + :return: The current_avatar_image_url of this User. # noqa: E501 + :rtype: str + """ + return self._current_avatar_image_url + + @current_avatar_image_url.setter + def current_avatar_image_url(self, current_avatar_image_url): + """Sets the current_avatar_image_url of this User. + + When profilePicOverride is not empty, use it instead. # noqa: E501 + + :param current_avatar_image_url: The current_avatar_image_url of this User. # noqa: E501 + :type current_avatar_image_url: str + """ + if self.local_vars_configuration.client_side_validation and current_avatar_image_url is None: # noqa: E501 + raise ValueError("Invalid value for `current_avatar_image_url`, must not be `None`") # noqa: E501 + + self._current_avatar_image_url = current_avatar_image_url + + @property + def current_avatar_thumbnail_image_url(self): + """Gets the current_avatar_thumbnail_image_url of this User. # noqa: E501 + + When profilePicOverride is not empty, use it instead. # noqa: E501 + + :return: The current_avatar_thumbnail_image_url of this User. # noqa: E501 + :rtype: str + """ + return self._current_avatar_thumbnail_image_url + + @current_avatar_thumbnail_image_url.setter + def current_avatar_thumbnail_image_url(self, current_avatar_thumbnail_image_url): + """Sets the current_avatar_thumbnail_image_url of this User. + + When profilePicOverride is not empty, use it instead. # noqa: E501 + + :param current_avatar_thumbnail_image_url: The current_avatar_thumbnail_image_url of this User. # noqa: E501 + :type current_avatar_thumbnail_image_url: str + """ + if self.local_vars_configuration.client_side_validation and current_avatar_thumbnail_image_url is None: # noqa: E501 + raise ValueError("Invalid value for `current_avatar_thumbnail_image_url`, must not be `None`") # noqa: E501 + + self._current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url + + @property + def date_joined(self): + """Gets the date_joined of this User. # noqa: E501 + + + :return: The date_joined of this User. # noqa: E501 + :rtype: date + """ + return self._date_joined + + @date_joined.setter + def date_joined(self, date_joined): + """Sets the date_joined of this User. + + + :param date_joined: The date_joined of this User. # noqa: E501 + :type date_joined: date + """ + if self.local_vars_configuration.client_side_validation and date_joined is None: # noqa: E501 + raise ValueError("Invalid value for `date_joined`, must not be `None`") # noqa: E501 + + self._date_joined = date_joined + + @property + def developer_type(self): + """Gets the developer_type of this User. # noqa: E501 + + + :return: The developer_type of this User. # noqa: E501 + :rtype: DeveloperType + """ + return self._developer_type + + @developer_type.setter + def developer_type(self, developer_type): + """Sets the developer_type of this User. + + + :param developer_type: The developer_type of this User. # noqa: E501 + :type developer_type: DeveloperType + """ + if self.local_vars_configuration.client_side_validation and developer_type is None: # noqa: E501 + raise ValueError("Invalid value for `developer_type`, must not be `None`") # noqa: E501 + + self._developer_type = developer_type + + @property + def display_name(self): + """Gets the display_name of this User. # noqa: E501 + + A users visual display name. This is what shows up in-game, and can different from their `username`. Changing display name is restricted to a cooldown period. # noqa: E501 + + :return: The display_name of this User. # noqa: E501 + :rtype: str + """ + return self._display_name + + @display_name.setter + def display_name(self, display_name): + """Sets the display_name of this User. + + A users visual display name. This is what shows up in-game, and can different from their `username`. Changing display name is restricted to a cooldown period. # noqa: E501 + + :param display_name: The display_name of this User. # noqa: E501 + :type display_name: str + """ + if self.local_vars_configuration.client_side_validation and display_name is None: # noqa: E501 + raise ValueError("Invalid value for `display_name`, must not be `None`") # noqa: E501 + + self._display_name = display_name + + @property + def friend_key(self): + """Gets the friend_key of this User. # noqa: E501 + + + :return: The friend_key of this User. # noqa: E501 + :rtype: str + """ + return self._friend_key + + @friend_key.setter + def friend_key(self, friend_key): + """Sets the friend_key of this User. + + + :param friend_key: The friend_key of this User. # noqa: E501 + :type friend_key: str + """ + if self.local_vars_configuration.client_side_validation and friend_key is None: # noqa: E501 + raise ValueError("Invalid value for `friend_key`, must not be `None`") # noqa: E501 + + self._friend_key = friend_key + + @property + def friend_request_status(self): + """Gets the friend_request_status of this User. # noqa: E501 + + + :return: The friend_request_status of this User. # noqa: E501 + :rtype: str + """ + return self._friend_request_status + + @friend_request_status.setter + def friend_request_status(self, friend_request_status): + """Sets the friend_request_status of this User. + + + :param friend_request_status: The friend_request_status of this User. # noqa: E501 + :type friend_request_status: str + """ + + self._friend_request_status = friend_request_status + + @property + def id(self): + """Gets the id of this User. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The id of this User. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this User. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param id: The id of this User. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + + self._id = id + + @property + def instance_id(self): + """Gets the instance_id of this User. # noqa: E501 + + InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. # noqa: E501 + + :return: The instance_id of this User. # noqa: E501 + :rtype: str + """ + return self._instance_id + + @instance_id.setter + def instance_id(self, instance_id): + """Sets the instance_id of this User. + + InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. # noqa: E501 + + :param instance_id: The instance_id of this User. # noqa: E501 + :type instance_id: str + """ + if (self.local_vars_configuration.client_side_validation and + instance_id is not None and not re.search(r'(private|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}:(\d+)(~region\(([\w]+)\))?(~([\w]+)\(usr_([\w-]+)\)((\~canRequestInvite)?)(~region\(([\w].+)\))?~nonce\((.+)\))?)', instance_id)): # noqa: E501 + raise ValueError(r"Invalid value for `instance_id`, must be a follow pattern or equal to `/(private|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}:(\d+)(~region\(([\w]+)\))?(~([\w]+)\(usr_([\w-]+)\)((\~canRequestInvite)?)(~region\(([\w].+)\))?~nonce\((.+)\))?)/`") # noqa: E501 + + self._instance_id = instance_id + + @property + def is_friend(self): + """Gets the is_friend of this User. # noqa: E501 + + Either their `friendKey`, or empty string if you are not friends. Unknown usage. # noqa: E501 + + :return: The is_friend of this User. # noqa: E501 + :rtype: bool + """ + return self._is_friend + + @is_friend.setter + def is_friend(self, is_friend): + """Sets the is_friend of this User. + + Either their `friendKey`, or empty string if you are not friends. Unknown usage. # noqa: E501 + + :param is_friend: The is_friend of this User. # noqa: E501 + :type is_friend: bool + """ + if self.local_vars_configuration.client_side_validation and is_friend is None: # noqa: E501 + raise ValueError("Invalid value for `is_friend`, must not be `None`") # noqa: E501 + + self._is_friend = is_friend + + @property + def last_activity(self): + """Gets the last_activity of this User. # noqa: E501 + + Either a date-time or empty string. # noqa: E501 + + :return: The last_activity of this User. # noqa: E501 + :rtype: str + """ + return self._last_activity + + @last_activity.setter + def last_activity(self, last_activity): + """Sets the last_activity of this User. + + Either a date-time or empty string. # noqa: E501 + + :param last_activity: The last_activity of this User. # noqa: E501 + :type last_activity: str + """ + if self.local_vars_configuration.client_side_validation and last_activity is None: # noqa: E501 + raise ValueError("Invalid value for `last_activity`, must not be `None`") # noqa: E501 + + self._last_activity = last_activity + + @property + def last_login(self): + """Gets the last_login of this User. # noqa: E501 + + Either a date-time or empty string. # noqa: E501 + + :return: The last_login of this User. # noqa: E501 + :rtype: str + """ + return self._last_login + + @last_login.setter + def last_login(self, last_login): + """Sets the last_login of this User. + + Either a date-time or empty string. # noqa: E501 + + :param last_login: The last_login of this User. # noqa: E501 + :type last_login: str + """ + if self.local_vars_configuration.client_side_validation and last_login is None: # noqa: E501 + raise ValueError("Invalid value for `last_login`, must not be `None`") # noqa: E501 + + self._last_login = last_login + + @property + def last_platform(self): + """Gets the last_platform of this User. # noqa: E501 + + This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + + :return: The last_platform of this User. # noqa: E501 + :rtype: str + """ + return self._last_platform + + @last_platform.setter + def last_platform(self, last_platform): + """Sets the last_platform of this User. + + This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + + :param last_platform: The last_platform of this User. # noqa: E501 + :type last_platform: str + """ + if self.local_vars_configuration.client_side_validation and last_platform is None: # noqa: E501 + raise ValueError("Invalid value for `last_platform`, must not be `None`") # noqa: E501 + + self._last_platform = last_platform + + @property + def location(self): + """Gets the location of this User. # noqa: E501 + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :return: The location of this User. # noqa: E501 + :rtype: str + """ + return self._location + + @location.setter + def location(self, location): + """Sets the location of this User. + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :param location: The location of this User. # noqa: E501 + :type location: str + """ + if (self.local_vars_configuration.client_side_validation and + location is not None and not re.search(r'(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})', location)): # noqa: E501 + raise ValueError(r"Invalid value for `location`, must be a follow pattern or equal to `/(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})/`") # noqa: E501 + + self._location = location + + @property + def note(self): + """Gets the note of this User. # noqa: E501 + + + :return: The note of this User. # noqa: E501 + :rtype: str + """ + return self._note + + @note.setter + def note(self, note): + """Sets the note of this User. + + + :param note: The note of this User. # noqa: E501 + :type note: str + """ + + self._note = note + + @property + def profile_pic_override(self): + """Gets the profile_pic_override of this User. # noqa: E501 + + + :return: The profile_pic_override of this User. # noqa: E501 + :rtype: str + """ + return self._profile_pic_override + + @profile_pic_override.setter + def profile_pic_override(self, profile_pic_override): + """Sets the profile_pic_override of this User. + + + :param profile_pic_override: The profile_pic_override of this User. # noqa: E501 + :type profile_pic_override: str + """ + if self.local_vars_configuration.client_side_validation and profile_pic_override is None: # noqa: E501 + raise ValueError("Invalid value for `profile_pic_override`, must not be `None`") # noqa: E501 + + self._profile_pic_override = profile_pic_override + + @property + def state(self): + """Gets the state of this User. # noqa: E501 + + + :return: The state of this User. # noqa: E501 + :rtype: UserState + """ + return self._state + + @state.setter + def state(self, state): + """Sets the state of this User. + + + :param state: The state of this User. # noqa: E501 + :type state: UserState + """ + if self.local_vars_configuration.client_side_validation and state is None: # noqa: E501 + raise ValueError("Invalid value for `state`, must not be `None`") # noqa: E501 + + self._state = state + + @property + def status(self): + """Gets the status of this User. # noqa: E501 + + + :return: The status of this User. # noqa: E501 + :rtype: UserStatus + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this User. + + + :param status: The status of this User. # noqa: E501 + :type status: UserStatus + """ + if self.local_vars_configuration.client_side_validation and status is None: # noqa: E501 + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 + + self._status = status + + @property + def status_description(self): + """Gets the status_description of this User. # noqa: E501 + + + :return: The status_description of this User. # noqa: E501 + :rtype: str + """ + return self._status_description + + @status_description.setter + def status_description(self, status_description): + """Sets the status_description of this User. + + + :param status_description: The status_description of this User. # noqa: E501 + :type status_description: str + """ + if self.local_vars_configuration.client_side_validation and status_description is None: # noqa: E501 + raise ValueError("Invalid value for `status_description`, must not be `None`") # noqa: E501 + + self._status_description = status_description + + @property + def tags(self): + """Gets the tags of this User. # noqa: E501 + + # noqa: E501 + + :return: The tags of this User. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this User. + + # noqa: E501 + + :param tags: The tags of this User. # noqa: E501 + :type tags: list[str] + """ + if self.local_vars_configuration.client_side_validation and tags is None: # noqa: E501 + raise ValueError("Invalid value for `tags`, must not be `None`") # noqa: E501 + + self._tags = tags + + @property + def traveling_to_instance(self): + """Gets the traveling_to_instance of this User. # noqa: E501 + + + :return: The traveling_to_instance of this User. # noqa: E501 + :rtype: str + """ + return self._traveling_to_instance + + @traveling_to_instance.setter + def traveling_to_instance(self, traveling_to_instance): + """Sets the traveling_to_instance of this User. + + + :param traveling_to_instance: The traveling_to_instance of this User. # noqa: E501 + :type traveling_to_instance: str + """ + + self._traveling_to_instance = traveling_to_instance + + @property + def traveling_to_location(self): + """Gets the traveling_to_location of this User. # noqa: E501 + + + :return: The traveling_to_location of this User. # noqa: E501 + :rtype: str + """ + return self._traveling_to_location + + @traveling_to_location.setter + def traveling_to_location(self, traveling_to_location): + """Sets the traveling_to_location of this User. + + + :param traveling_to_location: The traveling_to_location of this User. # noqa: E501 + :type traveling_to_location: str + """ + + self._traveling_to_location = traveling_to_location + + @property + def traveling_to_world(self): + """Gets the traveling_to_world of this User. # noqa: E501 + + + :return: The traveling_to_world of this User. # noqa: E501 + :rtype: str + """ + return self._traveling_to_world + + @traveling_to_world.setter + def traveling_to_world(self, traveling_to_world): + """Sets the traveling_to_world of this User. + + + :param traveling_to_world: The traveling_to_world of this User. # noqa: E501 + :type traveling_to_world: str + """ + + self._traveling_to_world = traveling_to_world + + @property + def user_icon(self): + """Gets the user_icon of this User. # noqa: E501 + + + :return: The user_icon of this User. # noqa: E501 + :rtype: str + """ + return self._user_icon + + @user_icon.setter + def user_icon(self, user_icon): + """Sets the user_icon of this User. + + + :param user_icon: The user_icon of this User. # noqa: E501 + :type user_icon: str + """ + if self.local_vars_configuration.client_side_validation and user_icon is None: # noqa: E501 + raise ValueError("Invalid value for `user_icon`, must not be `None`") # noqa: E501 + + self._user_icon = user_icon + + @property + def username(self): + """Gets the username of this User. # noqa: E501 + + -| A users unique name, used during login. This is different from `displayName` which is what shows up in-game. A users `username` can never be changed.' **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). # noqa: E501 + + :return: The username of this User. # noqa: E501 + :rtype: str + """ + return self._username + + @username.setter + def username(self, username): + """Sets the username of this User. + + -| A users unique name, used during login. This is different from `displayName` which is what shows up in-game. A users `username` can never be changed.' **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). # noqa: E501 + + :param username: The username of this User. # noqa: E501 + :type username: str + """ + + self._username = username + + @property + def world_id(self): + """Gets the world_id of this User. # noqa: E501 + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :return: The world_id of this User. # noqa: E501 + :rtype: str + """ + return self._world_id + + @world_id.setter + def world_id(self, world_id): + """Sets the world_id of this User. + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :param world_id: The world_id of this User. # noqa: E501 + :type world_id: str + """ + if (self.local_vars_configuration.client_side_validation and + world_id is not None and not re.search(r'(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})', world_id)): # noqa: E501 + raise ValueError(r"Invalid value for `world_id`, must be a follow pattern or equal to `/(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})/`") # noqa: E501 + + self._world_id = world_id + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, User): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, User): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py new file mode 100644 index 00000000..afc42630 --- /dev/null +++ b/vrchatapi/models/user_exists.py @@ -0,0 +1,134 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class UserExists(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'user_exists': 'bool' + } + + attribute_map = { + 'user_exists': 'userExists' + } + + def __init__(self, user_exists=False, local_vars_configuration=None): # noqa: E501 + """UserExists - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._user_exists = None + self.discriminator = None + + self.user_exists = user_exists + + @property + def user_exists(self): + """Gets the user_exists of this UserExists. # noqa: E501 + + Status if a user exist with that username or userId. # noqa: E501 + + :return: The user_exists of this UserExists. # noqa: E501 + :rtype: bool + """ + return self._user_exists + + @user_exists.setter + def user_exists(self, user_exists): + """Sets the user_exists of this UserExists. + + Status if a user exist with that username or userId. # noqa: E501 + + :param user_exists: The user_exists of this UserExists. # noqa: E501 + :type user_exists: bool + """ + if self.local_vars_configuration.client_side_validation and user_exists is None: # noqa: E501 + raise ValueError("Invalid value for `user_exists`, must not be `None`") # noqa: E501 + + self._user_exists = user_exists + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, UserExists): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, UserExists): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py new file mode 100644 index 00000000..4bc51b54 --- /dev/null +++ b/vrchatapi/models/user_state.py @@ -0,0 +1,112 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class UserState(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + OFFLINE = "offline" + ACTIVE = "active" + ONLINE = "online" + + allowable_values = [OFFLINE, ACTIVE, ONLINE] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """UserState - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, UserState): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, UserState): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py new file mode 100644 index 00000000..4213bde5 --- /dev/null +++ b/vrchatapi/models/user_status.py @@ -0,0 +1,114 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class UserStatus(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + ACTIVE = "active" + JOIN_ME = "join me" + ASK_ME = "ask me" + BUSY = "busy" + OFFLINE = "offline" + + allowable_values = [ACTIVE, JOIN_ME, ASK_ME, BUSY, OFFLINE] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """UserStatus - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, UserStatus): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, UserStatus): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py new file mode 100644 index 00000000..3dd353b2 --- /dev/null +++ b/vrchatapi/models/user_subscription.py @@ -0,0 +1,523 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class UserSubscription(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'id': 'str', + 'transaction_id': 'str', + 'store': 'str', + 'steam_item_id': 'str', + 'amount': 'float', + 'description': 'str', + 'period': 'SubscriptionPeriod', + 'tier': 'float', + 'active': 'bool', + 'status': 'TransactionStatus', + 'expires': 'datetime', + 'created_at': 'datetime', + 'updated_at': 'datetime', + 'license_groups': 'list[str]', + 'is_gift': 'bool' + } + + attribute_map = { + 'id': 'id', + 'transaction_id': 'transactionId', + 'store': 'store', + 'steam_item_id': 'steamItemId', + 'amount': 'amount', + 'description': 'description', + 'period': 'period', + 'tier': 'tier', + 'active': 'active', + 'status': 'status', + 'expires': 'expires', + 'created_at': 'created_at', + 'updated_at': 'updated_at', + 'license_groups': 'licenseGroups', + 'is_gift': 'isGift' + } + + def __init__(self, id=None, transaction_id=None, store=None, steam_item_id=None, amount=None, description=None, period=None, tier=None, active=True, status=None, expires=None, created_at=None, updated_at=None, license_groups=None, is_gift=False, local_vars_configuration=None): # noqa: E501 + """UserSubscription - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._id = None + self._transaction_id = None + self._store = None + self._steam_item_id = None + self._amount = None + self._description = None + self._period = None + self._tier = None + self._active = None + self._status = None + self._expires = None + self._created_at = None + self._updated_at = None + self._license_groups = None + self._is_gift = None + self.discriminator = None + + self.id = id + self.transaction_id = transaction_id + self.store = store + if steam_item_id is not None: + self.steam_item_id = steam_item_id + self.amount = amount + self.description = description + self.period = period + self.tier = tier + self.active = active + self.status = status + self.expires = expires + self.created_at = created_at + self.updated_at = updated_at + self.license_groups = license_groups + self.is_gift = is_gift + + @property + def id(self): + """Gets the id of this UserSubscription. # noqa: E501 + + + :return: The id of this UserSubscription. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this UserSubscription. + + + :param id: The id of this UserSubscription. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + id is not None and len(id) < 1): + raise ValueError("Invalid value for `id`, length must be greater than or equal to `1`") # noqa: E501 + + self._id = id + + @property + def transaction_id(self): + """Gets the transaction_id of this UserSubscription. # noqa: E501 + + + :return: The transaction_id of this UserSubscription. # noqa: E501 + :rtype: str + """ + return self._transaction_id + + @transaction_id.setter + def transaction_id(self, transaction_id): + """Sets the transaction_id of this UserSubscription. + + + :param transaction_id: The transaction_id of this UserSubscription. # noqa: E501 + :type transaction_id: str + """ + if self.local_vars_configuration.client_side_validation and transaction_id is None: # noqa: E501 + raise ValueError("Invalid value for `transaction_id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + transaction_id is not None and not re.search(r'txn_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', transaction_id)): # noqa: E501 + raise ValueError(r"Invalid value for `transaction_id`, must be a follow pattern or equal to `/txn_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + + self._transaction_id = transaction_id + + @property + def store(self): + """Gets the store of this UserSubscription. # noqa: E501 + + Which \"Store\" it came from. Right now only Stores are \"Steam\" and \"Admin\". # noqa: E501 + + :return: The store of this UserSubscription. # noqa: E501 + :rtype: str + """ + return self._store + + @store.setter + def store(self, store): + """Sets the store of this UserSubscription. + + Which \"Store\" it came from. Right now only Stores are \"Steam\" and \"Admin\". # noqa: E501 + + :param store: The store of this UserSubscription. # noqa: E501 + :type store: str + """ + if self.local_vars_configuration.client_side_validation and store is None: # noqa: E501 + raise ValueError("Invalid value for `store`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + store is not None and len(store) < 1): + raise ValueError("Invalid value for `store`, length must be greater than or equal to `1`") # noqa: E501 + + self._store = store + + @property + def steam_item_id(self): + """Gets the steam_item_id of this UserSubscription. # noqa: E501 + + + :return: The steam_item_id of this UserSubscription. # noqa: E501 + :rtype: str + """ + return self._steam_item_id + + @steam_item_id.setter + def steam_item_id(self, steam_item_id): + """Sets the steam_item_id of this UserSubscription. + + + :param steam_item_id: The steam_item_id of this UserSubscription. # noqa: E501 + :type steam_item_id: str + """ + if (self.local_vars_configuration.client_side_validation and + steam_item_id is not None and len(steam_item_id) < 1): + raise ValueError("Invalid value for `steam_item_id`, length must be greater than or equal to `1`") # noqa: E501 + + self._steam_item_id = steam_item_id + + @property + def amount(self): + """Gets the amount of this UserSubscription. # noqa: E501 + + + :return: The amount of this UserSubscription. # noqa: E501 + :rtype: float + """ + return self._amount + + @amount.setter + def amount(self, amount): + """Sets the amount of this UserSubscription. + + + :param amount: The amount of this UserSubscription. # noqa: E501 + :type amount: float + """ + if self.local_vars_configuration.client_side_validation and amount is None: # noqa: E501 + raise ValueError("Invalid value for `amount`, must not be `None`") # noqa: E501 + + self._amount = amount + + @property + def description(self): + """Gets the description of this UserSubscription. # noqa: E501 + + + :return: The description of this UserSubscription. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this UserSubscription. + + + :param description: The description of this UserSubscription. # noqa: E501 + :type description: str + """ + if self.local_vars_configuration.client_side_validation and description is None: # noqa: E501 + raise ValueError("Invalid value for `description`, must not be `None`") # noqa: E501 + + self._description = description + + @property + def period(self): + """Gets the period of this UserSubscription. # noqa: E501 + + + :return: The period of this UserSubscription. # noqa: E501 + :rtype: SubscriptionPeriod + """ + return self._period + + @period.setter + def period(self, period): + """Sets the period of this UserSubscription. + + + :param period: The period of this UserSubscription. # noqa: E501 + :type period: SubscriptionPeriod + """ + if self.local_vars_configuration.client_side_validation and period is None: # noqa: E501 + raise ValueError("Invalid value for `period`, must not be `None`") # noqa: E501 + + self._period = period + + @property + def tier(self): + """Gets the tier of this UserSubscription. # noqa: E501 + + + :return: The tier of this UserSubscription. # noqa: E501 + :rtype: float + """ + return self._tier + + @tier.setter + def tier(self, tier): + """Sets the tier of this UserSubscription. + + + :param tier: The tier of this UserSubscription. # noqa: E501 + :type tier: float + """ + if self.local_vars_configuration.client_side_validation and tier is None: # noqa: E501 + raise ValueError("Invalid value for `tier`, must not be `None`") # noqa: E501 + + self._tier = tier + + @property + def active(self): + """Gets the active of this UserSubscription. # noqa: E501 + + + :return: The active of this UserSubscription. # noqa: E501 + :rtype: bool + """ + return self._active + + @active.setter + def active(self, active): + """Sets the active of this UserSubscription. + + + :param active: The active of this UserSubscription. # noqa: E501 + :type active: bool + """ + if self.local_vars_configuration.client_side_validation and active is None: # noqa: E501 + raise ValueError("Invalid value for `active`, must not be `None`") # noqa: E501 + + self._active = active + + @property + def status(self): + """Gets the status of this UserSubscription. # noqa: E501 + + + :return: The status of this UserSubscription. # noqa: E501 + :rtype: TransactionStatus + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this UserSubscription. + + + :param status: The status of this UserSubscription. # noqa: E501 + :type status: TransactionStatus + """ + if self.local_vars_configuration.client_side_validation and status is None: # noqa: E501 + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 + + self._status = status + + @property + def expires(self): + """Gets the expires of this UserSubscription. # noqa: E501 + + + :return: The expires of this UserSubscription. # noqa: E501 + :rtype: datetime + """ + return self._expires + + @expires.setter + def expires(self, expires): + """Sets the expires of this UserSubscription. + + + :param expires: The expires of this UserSubscription. # noqa: E501 + :type expires: datetime + """ + if self.local_vars_configuration.client_side_validation and expires is None: # noqa: E501 + raise ValueError("Invalid value for `expires`, must not be `None`") # noqa: E501 + + self._expires = expires + + @property + def created_at(self): + """Gets the created_at of this UserSubscription. # noqa: E501 + + + :return: The created_at of this UserSubscription. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this UserSubscription. + + + :param created_at: The created_at of this UserSubscription. # noqa: E501 + :type created_at: datetime + """ + if self.local_vars_configuration.client_side_validation and created_at is None: # noqa: E501 + raise ValueError("Invalid value for `created_at`, must not be `None`") # noqa: E501 + + self._created_at = created_at + + @property + def updated_at(self): + """Gets the updated_at of this UserSubscription. # noqa: E501 + + + :return: The updated_at of this UserSubscription. # noqa: E501 + :rtype: datetime + """ + return self._updated_at + + @updated_at.setter + def updated_at(self, updated_at): + """Sets the updated_at of this UserSubscription. + + + :param updated_at: The updated_at of this UserSubscription. # noqa: E501 + :type updated_at: datetime + """ + if self.local_vars_configuration.client_side_validation and updated_at is None: # noqa: E501 + raise ValueError("Invalid value for `updated_at`, must not be `None`") # noqa: E501 + + self._updated_at = updated_at + + @property + def license_groups(self): + """Gets the license_groups of this UserSubscription. # noqa: E501 + + + :return: The license_groups of this UserSubscription. # noqa: E501 + :rtype: list[str] + """ + return self._license_groups + + @license_groups.setter + def license_groups(self, license_groups): + """Sets the license_groups of this UserSubscription. + + + :param license_groups: The license_groups of this UserSubscription. # noqa: E501 + :type license_groups: list[str] + """ + if self.local_vars_configuration.client_side_validation and license_groups is None: # noqa: E501 + raise ValueError("Invalid value for `license_groups`, must not be `None`") # noqa: E501 + + self._license_groups = license_groups + + @property + def is_gift(self): + """Gets the is_gift of this UserSubscription. # noqa: E501 + + + :return: The is_gift of this UserSubscription. # noqa: E501 + :rtype: bool + """ + return self._is_gift + + @is_gift.setter + def is_gift(self, is_gift): + """Sets the is_gift of this UserSubscription. + + + :param is_gift: The is_gift of this UserSubscription. # noqa: E501 + :type is_gift: bool + """ + if self.local_vars_configuration.client_side_validation and is_gift is None: # noqa: E501 + raise ValueError("Invalid value for `is_gift`, must not be `None`") # noqa: E501 + + self._is_gift = is_gift + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, UserSubscription): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, UserSubscription): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py new file mode 100644 index 00000000..de2b6ba7 --- /dev/null +++ b/vrchatapi/models/verify2_fa_result.py @@ -0,0 +1,132 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class Verify2FAResult(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'verified': 'bool' + } + + attribute_map = { + 'verified': 'verified' + } + + def __init__(self, verified=None, local_vars_configuration=None): # noqa: E501 + """Verify2FAResult - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._verified = None + self.discriminator = None + + self.verified = verified + + @property + def verified(self): + """Gets the verified of this Verify2FAResult. # noqa: E501 + + + :return: The verified of this Verify2FAResult. # noqa: E501 + :rtype: bool + """ + return self._verified + + @verified.setter + def verified(self, verified): + """Sets the verified of this Verify2FAResult. + + + :param verified: The verified of this Verify2FAResult. # noqa: E501 + :type verified: bool + """ + if self.local_vars_configuration.client_side_validation and verified is None: # noqa: E501 + raise ValueError("Invalid value for `verified`, must not be `None`") # noqa: E501 + + self._verified = verified + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, Verify2FAResult): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, Verify2FAResult): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py new file mode 100644 index 00000000..5847029a --- /dev/null +++ b/vrchatapi/models/verify_auth_token_result.py @@ -0,0 +1,162 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class VerifyAuthTokenResult(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'ok': 'bool', + 'token': 'str' + } + + attribute_map = { + 'ok': 'ok', + 'token': 'token' + } + + def __init__(self, ok=None, token=None, local_vars_configuration=None): # noqa: E501 + """VerifyAuthTokenResult - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._ok = None + self._token = None + self.discriminator = None + + self.ok = ok + self.token = token + + @property + def ok(self): + """Gets the ok of this VerifyAuthTokenResult. # noqa: E501 + + + :return: The ok of this VerifyAuthTokenResult. # noqa: E501 + :rtype: bool + """ + return self._ok + + @ok.setter + def ok(self, ok): + """Sets the ok of this VerifyAuthTokenResult. + + + :param ok: The ok of this VerifyAuthTokenResult. # noqa: E501 + :type ok: bool + """ + if self.local_vars_configuration.client_side_validation and ok is None: # noqa: E501 + raise ValueError("Invalid value for `ok`, must not be `None`") # noqa: E501 + + self._ok = ok + + @property + def token(self): + """Gets the token of this VerifyAuthTokenResult. # noqa: E501 + + + :return: The token of this VerifyAuthTokenResult. # noqa: E501 + :rtype: str + """ + return self._token + + @token.setter + def token(self, token): + """Sets the token of this VerifyAuthTokenResult. + + + :param token: The token of this VerifyAuthTokenResult. # noqa: E501 + :type token: str + """ + if self.local_vars_configuration.client_side_validation and token is None: # noqa: E501 + raise ValueError("Invalid value for `token`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + token is not None and len(token) < 1): + raise ValueError("Invalid value for `token`, length must be greater than or equal to `1`") # noqa: E501 + + self._token = token + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, VerifyAuthTokenResult): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, VerifyAuthTokenResult): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py new file mode 100644 index 00000000..f36b1037 --- /dev/null +++ b/vrchatapi/models/world.py @@ -0,0 +1,927 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class World(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'author_id': 'str', + 'author_name': 'str', + 'capacity': 'int', + 'created_at': 'datetime', + 'description': 'str', + 'favorites': 'int', + 'featured': 'bool', + 'heat': 'int', + 'id': 'str', + 'image_url': 'str', + 'instances': 'list[list[object]]', + 'labs_publication_date': 'str', + 'name': 'str', + 'namespace': 'str', + 'occupants': 'int', + 'organization': 'str', + 'popularity': 'int', + 'preview_youtube_id': 'str', + 'private_occupants': 'int', + 'public_occupants': 'int', + 'publication_date': 'str', + 'release_status': 'ReleaseStatus', + 'tags': 'list[str]', + 'thumbnail_image_url': 'str', + 'unity_packages': 'list[UnityPackage]', + 'updated_at': 'datetime', + 'version': 'int', + 'visits': 'int' + } + + attribute_map = { + 'author_id': 'authorId', + 'author_name': 'authorName', + 'capacity': 'capacity', + 'created_at': 'created_at', + 'description': 'description', + 'favorites': 'favorites', + 'featured': 'featured', + 'heat': 'heat', + 'id': 'id', + 'image_url': 'imageUrl', + 'instances': 'instances', + 'labs_publication_date': 'labsPublicationDate', + 'name': 'name', + 'namespace': 'namespace', + 'occupants': 'occupants', + 'organization': 'organization', + 'popularity': 'popularity', + 'preview_youtube_id': 'previewYoutubeId', + 'private_occupants': 'privateOccupants', + 'public_occupants': 'publicOccupants', + 'publication_date': 'publicationDate', + 'release_status': 'releaseStatus', + 'tags': 'tags', + 'thumbnail_image_url': 'thumbnailImageUrl', + 'unity_packages': 'unityPackages', + 'updated_at': 'updated_at', + 'version': 'version', + 'visits': 'visits' + } + + def __init__(self, author_id=None, author_name=None, capacity=None, created_at=None, description=None, favorites=0, featured=False, heat=0, id=None, image_url=None, instances=None, labs_publication_date=None, name=None, namespace=None, occupants=0, organization='vrchat', popularity=0, preview_youtube_id=None, private_occupants=0, public_occupants=0, publication_date=None, release_status=None, tags=None, thumbnail_image_url=None, unity_packages=None, updated_at=None, version=0, visits=0, local_vars_configuration=None): # noqa: E501 + """World - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._author_id = None + self._author_name = None + self._capacity = None + self._created_at = None + self._description = None + self._favorites = None + self._featured = None + self._heat = None + self._id = None + self._image_url = None + self._instances = None + self._labs_publication_date = None + self._name = None + self._namespace = None + self._occupants = None + self._organization = None + self._popularity = None + self._preview_youtube_id = None + self._private_occupants = None + self._public_occupants = None + self._publication_date = None + self._release_status = None + self._tags = None + self._thumbnail_image_url = None + self._unity_packages = None + self._updated_at = None + self._version = None + self._visits = None + self.discriminator = None + + self.author_id = author_id + self.author_name = author_name + self.capacity = capacity + self.created_at = created_at + self.description = description + if favorites is not None: + self.favorites = favorites + self.featured = featured + self.heat = heat + self.id = id + self.image_url = image_url + if instances is not None: + self.instances = instances + self.labs_publication_date = labs_publication_date + self.name = name + self.namespace = namespace + if occupants is not None: + self.occupants = occupants + self.organization = organization + self.popularity = popularity + self.preview_youtube_id = preview_youtube_id + if private_occupants is not None: + self.private_occupants = private_occupants + if public_occupants is not None: + self.public_occupants = public_occupants + self.publication_date = publication_date + self.release_status = release_status + self.tags = tags + self.thumbnail_image_url = thumbnail_image_url + self.unity_packages = unity_packages + self.updated_at = updated_at + self.version = version + self.visits = visits + + @property + def author_id(self): + """Gets the author_id of this World. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The author_id of this World. # noqa: E501 + :rtype: str + """ + return self._author_id + + @author_id.setter + def author_id(self, author_id): + """Sets the author_id of this World. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param author_id: The author_id of this World. # noqa: E501 + :type author_id: str + """ + if self.local_vars_configuration.client_side_validation and author_id is None: # noqa: E501 + raise ValueError("Invalid value for `author_id`, must not be `None`") # noqa: E501 + + self._author_id = author_id + + @property + def author_name(self): + """Gets the author_name of this World. # noqa: E501 + + + :return: The author_name of this World. # noqa: E501 + :rtype: str + """ + return self._author_name + + @author_name.setter + def author_name(self, author_name): + """Sets the author_name of this World. + + + :param author_name: The author_name of this World. # noqa: E501 + :type author_name: str + """ + if self.local_vars_configuration.client_side_validation and author_name is None: # noqa: E501 + raise ValueError("Invalid value for `author_name`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + author_name is not None and len(author_name) < 1): + raise ValueError("Invalid value for `author_name`, length must be greater than or equal to `1`") # noqa: E501 + + self._author_name = author_name + + @property + def capacity(self): + """Gets the capacity of this World. # noqa: E501 + + + :return: The capacity of this World. # noqa: E501 + :rtype: int + """ + return self._capacity + + @capacity.setter + def capacity(self, capacity): + """Sets the capacity of this World. + + + :param capacity: The capacity of this World. # noqa: E501 + :type capacity: int + """ + if self.local_vars_configuration.client_side_validation and capacity is None: # noqa: E501 + raise ValueError("Invalid value for `capacity`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + capacity is not None and capacity > 40): # noqa: E501 + raise ValueError("Invalid value for `capacity`, must be a value less than or equal to `40`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + capacity is not None and capacity < 0): # noqa: E501 + raise ValueError("Invalid value for `capacity`, must be a value greater than or equal to `0`") # noqa: E501 + + self._capacity = capacity + + @property + def created_at(self): + """Gets the created_at of this World. # noqa: E501 + + + :return: The created_at of this World. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this World. + + + :param created_at: The created_at of this World. # noqa: E501 + :type created_at: datetime + """ + if self.local_vars_configuration.client_side_validation and created_at is None: # noqa: E501 + raise ValueError("Invalid value for `created_at`, must not be `None`") # noqa: E501 + + self._created_at = created_at + + @property + def description(self): + """Gets the description of this World. # noqa: E501 + + + :return: The description of this World. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this World. + + + :param description: The description of this World. # noqa: E501 + :type description: str + """ + if self.local_vars_configuration.client_side_validation and description is None: # noqa: E501 + raise ValueError("Invalid value for `description`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + description is not None and len(description) < 0): + raise ValueError("Invalid value for `description`, length must be greater than or equal to `0`") # noqa: E501 + + self._description = description + + @property + def favorites(self): + """Gets the favorites of this World. # noqa: E501 + + + :return: The favorites of this World. # noqa: E501 + :rtype: int + """ + return self._favorites + + @favorites.setter + def favorites(self, favorites): + """Sets the favorites of this World. + + + :param favorites: The favorites of this World. # noqa: E501 + :type favorites: int + """ + if (self.local_vars_configuration.client_side_validation and + favorites is not None and favorites < 0): # noqa: E501 + raise ValueError("Invalid value for `favorites`, must be a value greater than or equal to `0`") # noqa: E501 + + self._favorites = favorites + + @property + def featured(self): + """Gets the featured of this World. # noqa: E501 + + + :return: The featured of this World. # noqa: E501 + :rtype: bool + """ + return self._featured + + @featured.setter + def featured(self, featured): + """Sets the featured of this World. + + + :param featured: The featured of this World. # noqa: E501 + :type featured: bool + """ + if self.local_vars_configuration.client_side_validation and featured is None: # noqa: E501 + raise ValueError("Invalid value for `featured`, must not be `None`") # noqa: E501 + + self._featured = featured + + @property + def heat(self): + """Gets the heat of this World. # noqa: E501 + + + :return: The heat of this World. # noqa: E501 + :rtype: int + """ + return self._heat + + @heat.setter + def heat(self, heat): + """Sets the heat of this World. + + + :param heat: The heat of this World. # noqa: E501 + :type heat: int + """ + if self.local_vars_configuration.client_side_validation and heat is None: # noqa: E501 + raise ValueError("Invalid value for `heat`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + heat is not None and heat < 0): # noqa: E501 + raise ValueError("Invalid value for `heat`, must be a value greater than or equal to `0`") # noqa: E501 + + self._heat = heat + + @property + def id(self): + """Gets the id of this World. # noqa: E501 + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :return: The id of this World. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this World. + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :param id: The id of this World. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + id is not None and not re.search(r'(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})', id)): # noqa: E501 + raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})/`") # noqa: E501 + + self._id = id + + @property + def image_url(self): + """Gets the image_url of this World. # noqa: E501 + + + :return: The image_url of this World. # noqa: E501 + :rtype: str + """ + return self._image_url + + @image_url.setter + def image_url(self, image_url): + """Sets the image_url of this World. + + + :param image_url: The image_url of this World. # noqa: E501 + :type image_url: str + """ + if self.local_vars_configuration.client_side_validation and image_url is None: # noqa: E501 + raise ValueError("Invalid value for `image_url`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + image_url is not None and len(image_url) < 1): + raise ValueError("Invalid value for `image_url`, length must be greater than or equal to `1`") # noqa: E501 + + self._image_url = image_url + + @property + def instances(self): + """Gets the instances of this World. # noqa: E501 + + Will always be an empty list when unauthenticated. # noqa: E501 + + :return: The instances of this World. # noqa: E501 + :rtype: list[list[object]] + """ + return self._instances + + @instances.setter + def instances(self, instances): + """Sets the instances of this World. + + Will always be an empty list when unauthenticated. # noqa: E501 + + :param instances: The instances of this World. # noqa: E501 + :type instances: list[list[object]] + """ + + self._instances = instances + + @property + def labs_publication_date(self): + """Gets the labs_publication_date of this World. # noqa: E501 + + + :return: The labs_publication_date of this World. # noqa: E501 + :rtype: str + """ + return self._labs_publication_date + + @labs_publication_date.setter + def labs_publication_date(self, labs_publication_date): + """Sets the labs_publication_date of this World. + + + :param labs_publication_date: The labs_publication_date of this World. # noqa: E501 + :type labs_publication_date: str + """ + if self.local_vars_configuration.client_side_validation and labs_publication_date is None: # noqa: E501 + raise ValueError("Invalid value for `labs_publication_date`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + labs_publication_date is not None and len(labs_publication_date) < 1): + raise ValueError("Invalid value for `labs_publication_date`, length must be greater than or equal to `1`") # noqa: E501 + + self._labs_publication_date = labs_publication_date + + @property + def name(self): + """Gets the name of this World. # noqa: E501 + + + :return: The name of this World. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this World. + + + :param name: The name of this World. # noqa: E501 + :type name: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + name is not None and len(name) < 1): + raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 + + self._name = name + + @property + def namespace(self): + """Gets the namespace of this World. # noqa: E501 + + + :return: The namespace of this World. # noqa: E501 + :rtype: str + """ + return self._namespace + + @namespace.setter + def namespace(self, namespace): + """Sets the namespace of this World. + + + :param namespace: The namespace of this World. # noqa: E501 + :type namespace: str + """ + if self.local_vars_configuration.client_side_validation and namespace is None: # noqa: E501 + raise ValueError("Invalid value for `namespace`, must not be `None`") # noqa: E501 + + self._namespace = namespace + + @property + def occupants(self): + """Gets the occupants of this World. # noqa: E501 + + Will always be `0` when unauthenticated. # noqa: E501 + + :return: The occupants of this World. # noqa: E501 + :rtype: int + """ + return self._occupants + + @occupants.setter + def occupants(self, occupants): + """Sets the occupants of this World. + + Will always be `0` when unauthenticated. # noqa: E501 + + :param occupants: The occupants of this World. # noqa: E501 + :type occupants: int + """ + if (self.local_vars_configuration.client_side_validation and + occupants is not None and occupants < 0): # noqa: E501 + raise ValueError("Invalid value for `occupants`, must be a value greater than or equal to `0`") # noqa: E501 + + self._occupants = occupants + + @property + def organization(self): + """Gets the organization of this World. # noqa: E501 + + + :return: The organization of this World. # noqa: E501 + :rtype: str + """ + return self._organization + + @organization.setter + def organization(self, organization): + """Sets the organization of this World. + + + :param organization: The organization of this World. # noqa: E501 + :type organization: str + """ + if self.local_vars_configuration.client_side_validation and organization is None: # noqa: E501 + raise ValueError("Invalid value for `organization`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + organization is not None and len(organization) < 1): + raise ValueError("Invalid value for `organization`, length must be greater than or equal to `1`") # noqa: E501 + + self._organization = organization + + @property + def popularity(self): + """Gets the popularity of this World. # noqa: E501 + + + :return: The popularity of this World. # noqa: E501 + :rtype: int + """ + return self._popularity + + @popularity.setter + def popularity(self, popularity): + """Sets the popularity of this World. + + + :param popularity: The popularity of this World. # noqa: E501 + :type popularity: int + """ + if self.local_vars_configuration.client_side_validation and popularity is None: # noqa: E501 + raise ValueError("Invalid value for `popularity`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + popularity is not None and popularity < 0): # noqa: E501 + raise ValueError("Invalid value for `popularity`, must be a value greater than or equal to `0`") # noqa: E501 + + self._popularity = popularity + + @property + def preview_youtube_id(self): + """Gets the preview_youtube_id of this World. # noqa: E501 + + + :return: The preview_youtube_id of this World. # noqa: E501 + :rtype: str + """ + return self._preview_youtube_id + + @preview_youtube_id.setter + def preview_youtube_id(self, preview_youtube_id): + """Sets the preview_youtube_id of this World. + + + :param preview_youtube_id: The preview_youtube_id of this World. # noqa: E501 + :type preview_youtube_id: str + """ + + self._preview_youtube_id = preview_youtube_id + + @property + def private_occupants(self): + """Gets the private_occupants of this World. # noqa: E501 + + Will always be `0` when unauthenticated. # noqa: E501 + + :return: The private_occupants of this World. # noqa: E501 + :rtype: int + """ + return self._private_occupants + + @private_occupants.setter + def private_occupants(self, private_occupants): + """Sets the private_occupants of this World. + + Will always be `0` when unauthenticated. # noqa: E501 + + :param private_occupants: The private_occupants of this World. # noqa: E501 + :type private_occupants: int + """ + if (self.local_vars_configuration.client_side_validation and + private_occupants is not None and private_occupants < 0): # noqa: E501 + raise ValueError("Invalid value for `private_occupants`, must be a value greater than or equal to `0`") # noqa: E501 + + self._private_occupants = private_occupants + + @property + def public_occupants(self): + """Gets the public_occupants of this World. # noqa: E501 + + Will always be `0` when unauthenticated. # noqa: E501 + + :return: The public_occupants of this World. # noqa: E501 + :rtype: int + """ + return self._public_occupants + + @public_occupants.setter + def public_occupants(self, public_occupants): + """Sets the public_occupants of this World. + + Will always be `0` when unauthenticated. # noqa: E501 + + :param public_occupants: The public_occupants of this World. # noqa: E501 + :type public_occupants: int + """ + if (self.local_vars_configuration.client_side_validation and + public_occupants is not None and public_occupants < 0): # noqa: E501 + raise ValueError("Invalid value for `public_occupants`, must be a value greater than or equal to `0`") # noqa: E501 + + self._public_occupants = public_occupants + + @property + def publication_date(self): + """Gets the publication_date of this World. # noqa: E501 + + + :return: The publication_date of this World. # noqa: E501 + :rtype: str + """ + return self._publication_date + + @publication_date.setter + def publication_date(self, publication_date): + """Sets the publication_date of this World. + + + :param publication_date: The publication_date of this World. # noqa: E501 + :type publication_date: str + """ + if self.local_vars_configuration.client_side_validation and publication_date is None: # noqa: E501 + raise ValueError("Invalid value for `publication_date`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + publication_date is not None and len(publication_date) < 1): + raise ValueError("Invalid value for `publication_date`, length must be greater than or equal to `1`") # noqa: E501 + + self._publication_date = publication_date + + @property + def release_status(self): + """Gets the release_status of this World. # noqa: E501 + + + :return: The release_status of this World. # noqa: E501 + :rtype: ReleaseStatus + """ + return self._release_status + + @release_status.setter + def release_status(self, release_status): + """Sets the release_status of this World. + + + :param release_status: The release_status of this World. # noqa: E501 + :type release_status: ReleaseStatus + """ + if self.local_vars_configuration.client_side_validation and release_status is None: # noqa: E501 + raise ValueError("Invalid value for `release_status`, must not be `None`") # noqa: E501 + + self._release_status = release_status + + @property + def tags(self): + """Gets the tags of this World. # noqa: E501 + + # noqa: E501 + + :return: The tags of this World. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this World. + + # noqa: E501 + + :param tags: The tags of this World. # noqa: E501 + :type tags: list[str] + """ + if self.local_vars_configuration.client_side_validation and tags is None: # noqa: E501 + raise ValueError("Invalid value for `tags`, must not be `None`") # noqa: E501 + + self._tags = tags + + @property + def thumbnail_image_url(self): + """Gets the thumbnail_image_url of this World. # noqa: E501 + + + :return: The thumbnail_image_url of this World. # noqa: E501 + :rtype: str + """ + return self._thumbnail_image_url + + @thumbnail_image_url.setter + def thumbnail_image_url(self, thumbnail_image_url): + """Sets the thumbnail_image_url of this World. + + + :param thumbnail_image_url: The thumbnail_image_url of this World. # noqa: E501 + :type thumbnail_image_url: str + """ + if self.local_vars_configuration.client_side_validation and thumbnail_image_url is None: # noqa: E501 + raise ValueError("Invalid value for `thumbnail_image_url`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + thumbnail_image_url is not None and len(thumbnail_image_url) < 1): + raise ValueError("Invalid value for `thumbnail_image_url`, length must be greater than or equal to `1`") # noqa: E501 + + self._thumbnail_image_url = thumbnail_image_url + + @property + def unity_packages(self): + """Gets the unity_packages of this World. # noqa: E501 + + Empty if unauthenticated. # noqa: E501 + + :return: The unity_packages of this World. # noqa: E501 + :rtype: list[UnityPackage] + """ + return self._unity_packages + + @unity_packages.setter + def unity_packages(self, unity_packages): + """Sets the unity_packages of this World. + + Empty if unauthenticated. # noqa: E501 + + :param unity_packages: The unity_packages of this World. # noqa: E501 + :type unity_packages: list[UnityPackage] + """ + if self.local_vars_configuration.client_side_validation and unity_packages is None: # noqa: E501 + raise ValueError("Invalid value for `unity_packages`, must not be `None`") # noqa: E501 + + self._unity_packages = unity_packages + + @property + def updated_at(self): + """Gets the updated_at of this World. # noqa: E501 + + + :return: The updated_at of this World. # noqa: E501 + :rtype: datetime + """ + return self._updated_at + + @updated_at.setter + def updated_at(self, updated_at): + """Sets the updated_at of this World. + + + :param updated_at: The updated_at of this World. # noqa: E501 + :type updated_at: datetime + """ + if self.local_vars_configuration.client_side_validation and updated_at is None: # noqa: E501 + raise ValueError("Invalid value for `updated_at`, must not be `None`") # noqa: E501 + + self._updated_at = updated_at + + @property + def version(self): + """Gets the version of this World. # noqa: E501 + + + :return: The version of this World. # noqa: E501 + :rtype: int + """ + return self._version + + @version.setter + def version(self, version): + """Sets the version of this World. + + + :param version: The version of this World. # noqa: E501 + :type version: int + """ + if self.local_vars_configuration.client_side_validation and version is None: # noqa: E501 + raise ValueError("Invalid value for `version`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + version is not None and version < 0): # noqa: E501 + raise ValueError("Invalid value for `version`, must be a value greater than or equal to `0`") # noqa: E501 + + self._version = version + + @property + def visits(self): + """Gets the visits of this World. # noqa: E501 + + + :return: The visits of this World. # noqa: E501 + :rtype: int + """ + return self._visits + + @visits.setter + def visits(self, visits): + """Sets the visits of this World. + + + :param visits: The visits of this World. # noqa: E501 + :type visits: int + """ + if self.local_vars_configuration.client_side_validation and visits is None: # noqa: E501 + raise ValueError("Invalid value for `visits`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + visits is not None and visits < 0): # noqa: E501 + raise ValueError("Invalid value for `visits`, must be a value greater than or equal to `0`") # noqa: E501 + + self._visits = visits + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, World): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, World): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py new file mode 100644 index 00000000..d588d3f0 --- /dev/null +++ b/vrchatapi/models/world_metadata.py @@ -0,0 +1,164 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class WorldMetadata(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'id': 'str', + 'metadata': 'object' + } + + attribute_map = { + 'id': 'id', + 'metadata': 'metadata' + } + + def __init__(self, id=None, metadata=None, local_vars_configuration=None): # noqa: E501 + """WorldMetadata - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._id = None + self._metadata = None + self.discriminator = None + + self.id = id + self.metadata = metadata + + @property + def id(self): + """Gets the id of this WorldMetadata. # noqa: E501 + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :return: The id of this WorldMetadata. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this WorldMetadata. + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :param id: The id of this WorldMetadata. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + id is not None and not re.search(r'(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})', id)): # noqa: E501 + raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})/`") # noqa: E501 + + self._id = id + + @property + def metadata(self): + """Gets the metadata of this WorldMetadata. # noqa: E501 + + + :return: The metadata of this WorldMetadata. # noqa: E501 + :rtype: object + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this WorldMetadata. + + + :param metadata: The metadata of this WorldMetadata. # noqa: E501 + :type metadata: object + """ + if self.local_vars_configuration.client_side_validation and metadata is None: # noqa: E501 + raise ValueError("Invalid value for `metadata`, must not be `None`") # noqa: E501 + + self._metadata = metadata + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, WorldMetadata): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, WorldMetadata): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py new file mode 100644 index 00000000..cf5d4b61 --- /dev/null +++ b/vrchatapi/models/world_publish_status.py @@ -0,0 +1,132 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class WorldPublishStatus(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'can_pubilsh': 'bool' + } + + attribute_map = { + 'can_pubilsh': 'canPubilsh' + } + + def __init__(self, can_pubilsh=True, local_vars_configuration=None): # noqa: E501 + """WorldPublishStatus - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._can_pubilsh = None + self.discriminator = None + + self.can_pubilsh = can_pubilsh + + @property + def can_pubilsh(self): + """Gets the can_pubilsh of this WorldPublishStatus. # noqa: E501 + + + :return: The can_pubilsh of this WorldPublishStatus. # noqa: E501 + :rtype: bool + """ + return self._can_pubilsh + + @can_pubilsh.setter + def can_pubilsh(self, can_pubilsh): + """Sets the can_pubilsh of this WorldPublishStatus. + + + :param can_pubilsh: The can_pubilsh of this WorldPublishStatus. # noqa: E501 + :type can_pubilsh: bool + """ + if self.local_vars_configuration.client_side_validation and can_pubilsh is None: # noqa: E501 + raise ValueError("Invalid value for `can_pubilsh`, must not be `None`") # noqa: E501 + + self._can_pubilsh = can_pubilsh + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, WorldPublishStatus): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, WorldPublishStatus): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index 4db3906d..2cd73c1a 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -1,3 +1,5 @@ +# coding: utf-8 + """ VRChat API Documentation @@ -8,13 +10,17 @@ """ +from __future__ import absolute_import + import io import json import logging import re import ssl -from urllib.parse import urlencode +# python 2 and python 3 compatibility library +import six +from six.moves.urllib.parse import urlencode import urllib3 from vrchatapi.exceptions import ApiException, UnauthorizedException, ForbiddenException, NotFoundException, ServiceException, ApiValueError @@ -141,22 +147,22 @@ def request(self, method, url, query_params=None, headers=None, timeout = None if _request_timeout: - if isinstance(_request_timeout, (int, float)): # noqa: E501,F821 + if isinstance(_request_timeout, six.integer_types + (float, )): # noqa: E501,F821 timeout = urllib3.Timeout(total=_request_timeout) elif (isinstance(_request_timeout, tuple) and len(_request_timeout) == 2): timeout = urllib3.Timeout( connect=_request_timeout[0], read=_request_timeout[1]) + if 'Content-Type' not in headers: + headers['Content-Type'] = 'application/json' + try: # For `POST`, `PUT`, `PATCH`, `OPTIONS`, `DELETE` if method in ['POST', 'PUT', 'PATCH', 'OPTIONS', 'DELETE']: - # Only set a default Content-Type for POST, PUT, PATCH and OPTIONS requests - if (method != 'DELETE') and ('Content-Type' not in headers): - headers['Content-Type'] = 'application/json' if query_params: url += '?' + urlencode(query_params) - if ('Content-Type' not in headers) or (re.search('json', headers['Content-Type'], re.IGNORECASE)): + if re.search('json', headers['Content-Type'], re.IGNORECASE): request_body = None if body is not None: request_body = json.dumps(body) From 3b21c17929df8760ac954cf29c90fd734a635aed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Foorack=20/=20Max=20Fax=C3=A4lv?= Date: Sun, 4 Dec 2022 21:23:48 +0100 Subject: [PATCH 021/102] Update generate.sh --- generate.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/generate.sh b/generate.sh index db463c21..7b6e9432 100755 --- a/generate.sh +++ b/generate.sh @@ -32,7 +32,6 @@ sed -i 's/keywords=\["OpenAPI", "OpenAPI-Generator", "VRChat API Documentation"\ sed -i 's/.*VRChat API Banner.*/abcdefvrc/g' ./setup.py sed -i '/abcdefvrc/r README.md' ./setup.py sed -i 's/abcdefvrc//g' ./setup.py -sed -i '/license/a long_description_content_type="text/markdown",' ./setup.py # Remove messily pasted markdown at top of every file find vrchatapi -type f -exec sed -i '/VRChat API Banner/d' {} \; From 35df23c402255f1b5abb2002373fcc37d0ebbf55 Mon Sep 17 00:00:00 2001 From: VRCCat Date: Sun, 4 Dec 2022 22:36:05 +0000 Subject: [PATCH 022/102] Upgrade Python SDK to spec 1.9.1 --- .openapi-generator/FILES | 76 +- .openapi-generator/VERSION | 2 +- docs/APIConfig.md | 7 +- ...nouncement.md => APIConfigAnnouncement.md} | 2 +- ...URLList.md => APIConfigDownloadURLList.md} | 2 +- .../{APIEventConfig.md => APIConfigEvents.md} | 2 +- docs/AddGroupGalleryImageRequest.md | 11 + docs/AuthenticationApi.md | 6 +- docs/Avatar.md | 3 +- docs/AvatarsApi.md | 72 +- docs/BanGroupMemberRequest.md | 11 + docs/CreateAvatarRequest.md | 2 +- docs/CreateFileRequest.md | 2 +- docs/CreateGroupAnnouncementRequest.md | 14 + docs/CreateGroupGalleryRequest.md | 17 + docs/CreateGroupInviteRequest.md | 12 + docs/CreateGroupRequest.md | 18 + docs/CreateGroupRoleRequest.md | 15 + docs/CreateWorldRequest.md | 2 +- docs/CurrentUser.md | 2 +- docs/EconomyApi.md | 12 +- docs/Favorite.md | 3 +- docs/FavoriteGroup.md | 3 +- docs/FavoritesApi.md | 48 +- docs/File.md | 5 +- docs/FileData.md | 1 - docs/FileUploadURL.md | 1 - docs/FileVersion.md | 1 - docs/FileVersionUploadStatus.md | 1 - docs/FilesApi.md | 102 +- docs/FinishFileDataUploadRequest.md | 1 - docs/FriendsApi.md | 24 +- docs/Group.md | 35 + docs/GroupAnnouncement.md | 19 + docs/GroupAuditLogEntry.md | 19 + docs/GroupGallery.md | 20 + docs/GroupGalleryImage.md | 20 + docs/GroupJoinState.md | 10 + docs/GroupLimitedMember.md | 14 + docs/GroupMember.md | 23 + docs/GroupMemberLimitedUser.md | 15 + docs/GroupMemberStatus.md | 10 + docs/GroupMyMember.md | 23 + docs/GroupPermission.md | 16 + docs/GroupPrivacy.md | 10 + docs/GroupRole.md | 22 + docs/GroupRoleTemplate.md | 10 + docs/GroupUserVisibility.md | 10 + docs/GroupsApi.md | 4660 ++++++++++++++ docs/InfoPush.md | 3 +- docs/InfoPushData.md | 1 - docs/InstanceType.md | 1 - docs/InstancesApi.md | 42 +- docs/InviteApi.md | 96 +- docs/InviteMessage.md | 1 - docs/InviteMessageType.md | 1 - docs/LicenseGroup.md | 1 - docs/LimitedUnityPackage.md | 1 - docs/LimitedUser.md | 1 - docs/LimitedWorld.md | 5 +- docs/Notification.md | 6 +- docs/NotificationsApi.md | 18 +- docs/OrderOption.md | 10 + docs/PaginatedGroupAuditLogEntryList.md | 13 + docs/Permission.md | 1 - docs/PermissionsApi.md | 6 +- docs/PlayermoderationApi.md | 12 +- docs/RespondGroupJoinRequest.md | 11 + docs/SentNotification.md | 1 - docs/SortOption.md | 10 + docs/Subscription.md | 1 - docs/Transaction.md | 1 - docs/TransactionAgreement.md | 1 - docs/TransactionSteamInfo.md | 1 - docs/TransactionSteamWalletInfo.md | 1 - docs/UnityPackage.md | 1 - docs/UpdateAvatarRequest.md | 2 +- docs/UpdateGroupGalleryRequest.md | 17 + docs/UpdateGroupMemberRequest.md | 13 + docs/UpdateGroupRequest.md | 20 + docs/UpdateGroupRoleRequest.md | 15 + docs/UpdateUserRequest.md | 2 +- docs/UpdateWorldRequest.md | 2 +- docs/User.md | 2 +- docs/UserSubscription.md | 1 - docs/UsersApi.md | 269 +- docs/World.md | 3 +- docs/WorldsApi.md | 124 +- openapitools.json | 2 +- setup.py | 2 - test-requirements.txt | 1 - vrchatapi/__init__.py | 38 +- vrchatapi/api/__init__.py | 1 + vrchatapi/api/authentication_api.py | 80 +- vrchatapi/api/avatars_api.py | 213 +- vrchatapi/api/economy_api.py | 49 +- vrchatapi/api/favorites_api.py | 155 +- vrchatapi/api/files_api.py | 220 +- vrchatapi/api/friends_api.py | 69 +- vrchatapi/api/groups_api.py | 5465 +++++++++++++++++ vrchatapi/api/instances_api.py | 77 +- vrchatapi/api/invite_api.py | 216 +- vrchatapi/api/notifications_api.py | 68 +- vrchatapi/api/permissions_api.py | 21 +- vrchatapi/api/playermoderation_api.py | 80 +- vrchatapi/api/system_api.py | 61 +- vrchatapi/api/users_api.py | 338 +- vrchatapi/api/worlds_api.py | 358 +- vrchatapi/api_client.py | 11 +- vrchatapi/models/__init__.py | 37 +- .../models/add_group_gallery_image_request.py | 135 + vrchatapi/models/api_config.py | 18 +- ...uncement.py => api_config_announcement.py} | 24 +- ...ist.py => api_config_download_url_list.py} | 32 +- ...i_event_config.py => api_config_events.py} | 88 +- vrchatapi/models/avatar.py | 2 - vrchatapi/models/ban_group_member_request.py | 134 + vrchatapi/models/create_avatar_request.py | 2 - vrchatapi/models/create_file_request.py | 2 - .../create_group_announcement_request.py | 225 + .../models/create_group_gallery_request.py | 296 + .../models/create_group_invite_request.py | 160 + vrchatapi/models/create_group_request.py | 332 + vrchatapi/models/create_group_role_request.py | 235 + vrchatapi/models/create_world_request.py | 2 - vrchatapi/models/current_user.py | 2 - vrchatapi/models/favorite.py | 2 - vrchatapi/models/favorite_group.py | 2 - vrchatapi/models/file.py | 6 - vrchatapi/models/file_upload_url.py | 2 - vrchatapi/models/group.py | 762 +++ vrchatapi/models/group_announcement.py | 345 ++ vrchatapi/models/group_audit_log_entry.py | 355 ++ vrchatapi/models/group_gallery.py | 376 ++ vrchatapi/models/group_gallery_image.py | 381 ++ vrchatapi/models/group_join_state.py | 113 + vrchatapi/models/group_limited_member.py | 217 + vrchatapi/models/group_member.py | 456 ++ vrchatapi/models/group_member_limited_user.py | 211 + vrchatapi/models/group_member_status.py | 113 + vrchatapi/models/group_my_member.py | 450 ++ vrchatapi/models/group_permission.py | 245 + vrchatapi/models/group_privacy.py | 111 + vrchatapi/models/group_role.py | 423 ++ vrchatapi/models/group_role_template.py | 113 + vrchatapi/models/group_user_visibility.py | 112 + vrchatapi/models/info_push.py | 4 - vrchatapi/models/limited_world.py | 4 - vrchatapi/models/notification.py | 43 +- vrchatapi/models/order_option.py | 111 + .../paginated_group_audit_log_entry_list.py | 187 + .../models/respond_group_join_request.py | 131 + vrchatapi/models/sent_notification.py | 2 - vrchatapi/models/sort_option.py | 127 + vrchatapi/models/update_avatar_request.py | 2 - .../models/update_group_gallery_request.py | 295 + .../models/update_group_member_request.py | 183 + vrchatapi/models/update_group_request.py | 389 ++ vrchatapi/models/update_group_role_request.py | 235 + vrchatapi/models/update_user_request.py | 2 - vrchatapi/models/update_world_request.py | 2 - vrchatapi/models/user.py | 2 - vrchatapi/models/world.py | 2 - 163 files changed, 20397 insertions(+), 1503 deletions(-) rename docs/{PublicAnnouncement.md => APIConfigAnnouncement.md} (94%) rename docs/{DownloadURLList.md => APIConfigDownloadURLList.md} (94%) rename docs/{APIEventConfig.md => APIConfigEvents.md} (97%) create mode 100644 docs/AddGroupGalleryImageRequest.md create mode 100644 docs/BanGroupMemberRequest.md create mode 100644 docs/CreateGroupAnnouncementRequest.md create mode 100644 docs/CreateGroupGalleryRequest.md create mode 100644 docs/CreateGroupInviteRequest.md create mode 100644 docs/CreateGroupRequest.md create mode 100644 docs/CreateGroupRoleRequest.md create mode 100644 docs/Group.md create mode 100644 docs/GroupAnnouncement.md create mode 100644 docs/GroupAuditLogEntry.md create mode 100644 docs/GroupGallery.md create mode 100644 docs/GroupGalleryImage.md create mode 100644 docs/GroupJoinState.md create mode 100644 docs/GroupLimitedMember.md create mode 100644 docs/GroupMember.md create mode 100644 docs/GroupMemberLimitedUser.md create mode 100644 docs/GroupMemberStatus.md create mode 100644 docs/GroupMyMember.md create mode 100644 docs/GroupPermission.md create mode 100644 docs/GroupPrivacy.md create mode 100644 docs/GroupRole.md create mode 100644 docs/GroupRoleTemplate.md create mode 100644 docs/GroupUserVisibility.md create mode 100644 docs/GroupsApi.md create mode 100644 docs/OrderOption.md create mode 100644 docs/PaginatedGroupAuditLogEntryList.md create mode 100644 docs/RespondGroupJoinRequest.md create mode 100644 docs/SortOption.md create mode 100644 docs/UpdateGroupGalleryRequest.md create mode 100644 docs/UpdateGroupMemberRequest.md create mode 100644 docs/UpdateGroupRequest.md create mode 100644 docs/UpdateGroupRoleRequest.md create mode 100644 vrchatapi/api/groups_api.py create mode 100644 vrchatapi/models/add_group_gallery_image_request.py rename vrchatapi/models/{public_announcement.py => api_config_announcement.py} (85%) rename vrchatapi/models/{download_url_list.py => api_config_download_url_list.py} (82%) rename vrchatapi/models/{api_event_config.py => api_config_events.py} (79%) create mode 100644 vrchatapi/models/ban_group_member_request.py create mode 100644 vrchatapi/models/create_group_announcement_request.py create mode 100644 vrchatapi/models/create_group_gallery_request.py create mode 100644 vrchatapi/models/create_group_invite_request.py create mode 100644 vrchatapi/models/create_group_request.py create mode 100644 vrchatapi/models/create_group_role_request.py create mode 100644 vrchatapi/models/group.py create mode 100644 vrchatapi/models/group_announcement.py create mode 100644 vrchatapi/models/group_audit_log_entry.py create mode 100644 vrchatapi/models/group_gallery.py create mode 100644 vrchatapi/models/group_gallery_image.py create mode 100644 vrchatapi/models/group_join_state.py create mode 100644 vrchatapi/models/group_limited_member.py create mode 100644 vrchatapi/models/group_member.py create mode 100644 vrchatapi/models/group_member_limited_user.py create mode 100644 vrchatapi/models/group_member_status.py create mode 100644 vrchatapi/models/group_my_member.py create mode 100644 vrchatapi/models/group_permission.py create mode 100644 vrchatapi/models/group_privacy.py create mode 100644 vrchatapi/models/group_role.py create mode 100644 vrchatapi/models/group_role_template.py create mode 100644 vrchatapi/models/group_user_visibility.py create mode 100644 vrchatapi/models/order_option.py create mode 100644 vrchatapi/models/paginated_group_audit_log_entry_list.py create mode 100644 vrchatapi/models/respond_group_join_request.py create mode 100644 vrchatapi/models/sort_option.py create mode 100644 vrchatapi/models/update_group_gallery_request.py create mode 100644 vrchatapi/models/update_group_member_request.py create mode 100644 vrchatapi/models/update_group_request.py create mode 100644 vrchatapi/models/update_group_role_request.py diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 60380c35..81543631 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -1,20 +1,28 @@ .gitlab-ci.yml docs/APIConfig.md -docs/APIEventConfig.md +docs/APIConfigAnnouncement.md +docs/APIConfigDownloadURLList.md +docs/APIConfigEvents.md docs/APIHealth.md docs/AddFavoriteRequest.md +docs/AddGroupGalleryImageRequest.md docs/AuthenticationApi.md docs/Avatar.md docs/AvatarUnityPackageUrlObject.md docs/AvatarsApi.md +docs/BanGroupMemberRequest.md docs/CreateAvatarRequest.md docs/CreateFileRequest.md docs/CreateFileVersionRequest.md +docs/CreateGroupAnnouncementRequest.md +docs/CreateGroupGalleryRequest.md +docs/CreateGroupInviteRequest.md +docs/CreateGroupRequest.md +docs/CreateGroupRoleRequest.md docs/CreateWorldRequest.md docs/CurrentUser.md docs/DeploymentGroup.md docs/DeveloperType.md -docs/DownloadURLList.md docs/DynamicContentRow.md docs/EconomyApi.md docs/Error.md @@ -33,6 +41,23 @@ docs/FilesApi.md docs/FinishFileDataUploadRequest.md docs/FriendStatus.md docs/FriendsApi.md +docs/Group.md +docs/GroupAnnouncement.md +docs/GroupAuditLogEntry.md +docs/GroupGallery.md +docs/GroupGalleryImage.md +docs/GroupJoinState.md +docs/GroupLimitedMember.md +docs/GroupMember.md +docs/GroupMemberLimitedUser.md +docs/GroupMemberStatus.md +docs/GroupMyMember.md +docs/GroupPermission.md +docs/GroupPrivacy.md +docs/GroupRole.md +docs/GroupRoleTemplate.md +docs/GroupUserVisibility.md +docs/GroupsApi.md docs/InfoPush.md docs/InfoPushData.md docs/InfoPushDataArticle.md @@ -60,18 +85,21 @@ docs/ModerateUserRequest.md docs/Notification.md docs/NotificationType.md docs/NotificationsApi.md +docs/OrderOption.md +docs/PaginatedGroupAuditLogEntryList.md docs/PastDisplayName.md docs/Permission.md docs/PermissionsApi.md docs/PlayerModeration.md docs/PlayerModerationType.md docs/PlayermoderationApi.md -docs/PublicAnnouncement.md docs/Region.md docs/ReleaseStatus.md docs/RequestInviteRequest.md +docs/RespondGroupJoinRequest.md docs/Response.md docs/SentNotification.md +docs/SortOption.md docs/Subscription.md docs/SubscriptionPeriod.md docs/Success.md @@ -85,6 +113,10 @@ docs/TwoFactorAuthCode.md docs/UnityPackage.md docs/UpdateAvatarRequest.md docs/UpdateFavoriteGroupRequest.md +docs/UpdateGroupGalleryRequest.md +docs/UpdateGroupMemberRequest.md +docs/UpdateGroupRequest.md +docs/UpdateGroupRoleRequest.md docs/UpdateInviteMessageRequest.md docs/UpdateUserRequest.md docs/UpdateWorldRequest.md @@ -114,6 +146,7 @@ vrchatapi/api/economy_api.py vrchatapi/api/favorites_api.py vrchatapi/api/files_api.py vrchatapi/api/friends_api.py +vrchatapi/api/groups_api.py vrchatapi/api/instances_api.py vrchatapi/api/invite_api.py vrchatapi/api/notifications_api.py @@ -127,19 +160,27 @@ vrchatapi/configuration.py vrchatapi/exceptions.py vrchatapi/models/__init__.py vrchatapi/models/add_favorite_request.py +vrchatapi/models/add_group_gallery_image_request.py vrchatapi/models/api_config.py -vrchatapi/models/api_event_config.py +vrchatapi/models/api_config_announcement.py +vrchatapi/models/api_config_download_url_list.py +vrchatapi/models/api_config_events.py vrchatapi/models/api_health.py vrchatapi/models/avatar.py vrchatapi/models/avatar_unity_package_url_object.py +vrchatapi/models/ban_group_member_request.py vrchatapi/models/create_avatar_request.py vrchatapi/models/create_file_request.py vrchatapi/models/create_file_version_request.py +vrchatapi/models/create_group_announcement_request.py +vrchatapi/models/create_group_gallery_request.py +vrchatapi/models/create_group_invite_request.py +vrchatapi/models/create_group_request.py +vrchatapi/models/create_group_role_request.py vrchatapi/models/create_world_request.py vrchatapi/models/current_user.py vrchatapi/models/deployment_group.py vrchatapi/models/developer_type.py -vrchatapi/models/download_url_list.py vrchatapi/models/dynamic_content_row.py vrchatapi/models/error.py vrchatapi/models/favorite.py @@ -154,6 +195,22 @@ vrchatapi/models/file_version.py vrchatapi/models/file_version_upload_status.py vrchatapi/models/finish_file_data_upload_request.py vrchatapi/models/friend_status.py +vrchatapi/models/group.py +vrchatapi/models/group_announcement.py +vrchatapi/models/group_audit_log_entry.py +vrchatapi/models/group_gallery.py +vrchatapi/models/group_gallery_image.py +vrchatapi/models/group_join_state.py +vrchatapi/models/group_limited_member.py +vrchatapi/models/group_member.py +vrchatapi/models/group_member_limited_user.py +vrchatapi/models/group_member_status.py +vrchatapi/models/group_my_member.py +vrchatapi/models/group_permission.py +vrchatapi/models/group_privacy.py +vrchatapi/models/group_role.py +vrchatapi/models/group_role_template.py +vrchatapi/models/group_user_visibility.py vrchatapi/models/info_push.py vrchatapi/models/info_push_data.py vrchatapi/models/info_push_data_article.py @@ -178,16 +235,19 @@ vrchatapi/models/mime_type.py vrchatapi/models/moderate_user_request.py vrchatapi/models/notification.py vrchatapi/models/notification_type.py +vrchatapi/models/order_option.py +vrchatapi/models/paginated_group_audit_log_entry_list.py vrchatapi/models/past_display_name.py vrchatapi/models/permission.py vrchatapi/models/player_moderation.py vrchatapi/models/player_moderation_type.py -vrchatapi/models/public_announcement.py vrchatapi/models/region.py vrchatapi/models/release_status.py vrchatapi/models/request_invite_request.py +vrchatapi/models/respond_group_join_request.py vrchatapi/models/response.py vrchatapi/models/sent_notification.py +vrchatapi/models/sort_option.py vrchatapi/models/subscription.py vrchatapi/models/subscription_period.py vrchatapi/models/success.py @@ -200,6 +260,10 @@ vrchatapi/models/two_factor_auth_code.py vrchatapi/models/unity_package.py vrchatapi/models/update_avatar_request.py vrchatapi/models/update_favorite_group_request.py +vrchatapi/models/update_group_gallery_request.py +vrchatapi/models/update_group_member_request.py +vrchatapi/models/update_group_request.py +vrchatapi/models/update_group_role_request.py vrchatapi/models/update_invite_message_request.py vrchatapi/models/update_user_request.py vrchatapi/models/update_world_request.py diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION index 0df17dd0..e230c839 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -6.2.1 \ No newline at end of file +5.3.0 \ No newline at end of file diff --git a/docs/APIConfig.md b/docs/APIConfig.md index c6db83f8..206b466d 100644 --- a/docs/APIConfig.md +++ b/docs/APIConfig.md @@ -1,14 +1,13 @@ # APIConfig - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **voice_enable_degradation** | **bool** | Unknown, probably voice optimization testing | [default to False] **voice_enable_receiver_limiting** | **bool** | Unknown, probably voice optimization testing | [default to True] **address** | **str** | VRChat's office address | -**announcements** | [**list[PublicAnnouncement]**](PublicAnnouncement.md) | Public Announcements | +**announcements** | [**list[APIConfigAnnouncement]**](APIConfigAnnouncement.md) | Public Announcements | **api_key** | **str** | apiKey to be used for all other requests | **app_name** | **str** | Game name | [default to 'VrChat'] **build_version_tag** | **str** | Build tag of the API server | @@ -44,9 +43,9 @@ Name | Type | Description | Notes **disable_udon** | **bool** | Toggles if Udon should be universally disabled in-game. | [default to False] **disable_upgrade_account** | **bool** | Toggles if account upgrading \"linking with Steam/Oculus\" should be disabled. | [default to False] **download_link_windows** | **str** | Download link for game on the Oculus Rift website. | -**download_urls** | [**DownloadURLList**](DownloadURLList.md) | | +**download_urls** | [**APIConfigDownloadURLList**](APIConfigDownloadURLList.md) | | **dynamic_world_rows** | [**list[DynamicContentRow]**](DynamicContentRow.md) | Array of DynamicWorldRow objects, used by the game to display the list of world rows | -**events** | [**APIEventConfig**](APIEventConfig.md) | | +**events** | [**APIConfigEvents**](APIConfigEvents.md) | | **gear_demo_room_id** | **str** | Unknown | **home_world_id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | **homepage_redirect_target** | **str** | Redirect target if you try to open the base API domain in your browser | [default to 'https://hello.vrchat.com'] diff --git a/docs/PublicAnnouncement.md b/docs/APIConfigAnnouncement.md similarity index 94% rename from docs/PublicAnnouncement.md rename to docs/APIConfigAnnouncement.md index 94c4e845..fa6b04da 100644 --- a/docs/PublicAnnouncement.md +++ b/docs/APIConfigAnnouncement.md @@ -1,4 +1,4 @@ -# PublicAnnouncement +# APIConfigAnnouncement Public Announcement diff --git a/docs/DownloadURLList.md b/docs/APIConfigDownloadURLList.md similarity index 94% rename from docs/DownloadURLList.md rename to docs/APIConfigDownloadURLList.md index 499c54d7..4110308d 100644 --- a/docs/DownloadURLList.md +++ b/docs/APIConfigDownloadURLList.md @@ -1,4 +1,4 @@ -# DownloadURLList +# APIConfigDownloadURLList Download links for various development assets. diff --git a/docs/APIEventConfig.md b/docs/APIConfigEvents.md similarity index 97% rename from docs/APIEventConfig.md rename to docs/APIConfigEvents.md index e771784d..8e0d08a1 100644 --- a/docs/APIEventConfig.md +++ b/docs/APIConfigEvents.md @@ -1,4 +1,4 @@ -# APIEventConfig +# APIConfigEvents ## Properties diff --git a/docs/AddGroupGalleryImageRequest.md b/docs/AddGroupGalleryImageRequest.md new file mode 100644 index 00000000..b658c934 --- /dev/null +++ b/docs/AddGroupGalleryImageRequest.md @@ -0,0 +1,11 @@ +# AddGroupGalleryImageRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**file_id** | **str** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AuthenticationApi.md b/docs/AuthenticationApi.md index 48b5e9de..8bdde8a1 100644 --- a/docs/AuthenticationApi.md +++ b/docs/AuthenticationApi.md @@ -136,7 +136,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.AuthenticationApi(api_client) - user_id = 'user_id_example' # str | + user_id = 'user_id_example' # str | Must be a valid user ID. try: # Delete User @@ -180,7 +180,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.AuthenticationApi(api_client) - user_id = 'user_id_example' # str | + user_id = 'user_id_example' # str | Must be a valid user ID. try: # Delete User @@ -194,7 +194,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | + **user_id** | **str**| Must be a valid user ID. | ### Return type diff --git a/docs/Avatar.md b/docs/Avatar.md index 0afd8341..30bd7b18 100644 --- a/docs/Avatar.md +++ b/docs/Avatar.md @@ -1,7 +1,6 @@ # Avatar - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- @@ -16,7 +15,7 @@ Name | Type | Description | Notes **image_url** | **str** | | **name** | **str** | | **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | -**tags** | **list[str]** | | +**tags** | **list[str]** | | **thumbnail_image_url** | **str** | | **unity_package_url** | **str** | | **unity_package_url_object** | [**AvatarUnityPackageUrlObject**](AvatarUnityPackageUrlObject.md) | | diff --git a/docs/AvatarsApi.md b/docs/AvatarsApi.md index ec981502..7c8f12ce 100644 --- a/docs/AvatarsApi.md +++ b/docs/AvatarsApi.md @@ -182,7 +182,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.AvatarsApi(api_client) - avatar_id = 'avatar_id_example' # str | + avatar_id = 'avatar_id_example' # str | Must be a valid avatar ID. try: # Delete Avatar @@ -226,7 +226,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.AvatarsApi(api_client) - avatar_id = 'avatar_id_example' # str | + avatar_id = 'avatar_id_example' # str | Must be a valid avatar ID. try: # Delete Avatar @@ -240,7 +240,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **avatar_id** | **str**| | + **avatar_id** | **str**| Must be a valid avatar ID. | ### Return type @@ -307,7 +307,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.AvatarsApi(api_client) - avatar_id = 'avatar_id_example' # str | + avatar_id = 'avatar_id_example' # str | Must be a valid avatar ID. try: # Get Avatar @@ -351,7 +351,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.AvatarsApi(api_client) - avatar_id = 'avatar_id_example' # str | + avatar_id = 'avatar_id_example' # str | Must be a valid avatar ID. try: # Get Avatar @@ -365,7 +365,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **avatar_id** | **str**| | + **avatar_id** | **str**| Must be a valid avatar ID. | ### Return type @@ -433,14 +433,14 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.AvatarsApi(api_client) featured = True # bool | Filters on featured results. (optional) -sort = 'popularity' # str | (optional) (default to 'popularity') +sort = vrchatapi.SortOption() # SortOption | The sort order of the results. (optional) n = 60 # int | The number of objects to return. (optional) (default to 60) -order = 'descending' # str | (optional) (default to 'descending') +order = vrchatapi.OrderOption() # OrderOption | Result ordering (optional) offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) search = 'search_example' # str | Filters by world name. (optional) tag = 'tag_example' # str | Tags to include (comma-separated). Any of the tags needs to be present. (optional) notag = 'notag_example' # str | Tags to exclude (comma-separated). (optional) -release_status = 'public' # str | Filter by ReleaseStatus. (optional) (default to 'public') +release_status = vrchatapi.ReleaseStatus() # ReleaseStatus | Filter by ReleaseStatus. (optional) max_unity_version = 'max_unity_version_example' # str | The maximum Unity version supported by the asset. (optional) min_unity_version = 'min_unity_version_example' # str | The minimum Unity version supported by the asset. (optional) platform = 'platform_example' # str | The platform the asset supports. (optional) @@ -489,14 +489,14 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.AvatarsApi(api_client) featured = True # bool | Filters on featured results. (optional) -sort = 'popularity' # str | (optional) (default to 'popularity') +sort = vrchatapi.SortOption() # SortOption | The sort order of the results. (optional) n = 60 # int | The number of objects to return. (optional) (default to 60) -order = 'descending' # str | (optional) (default to 'descending') +order = vrchatapi.OrderOption() # OrderOption | Result ordering (optional) offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) search = 'search_example' # str | Filters by world name. (optional) tag = 'tag_example' # str | Tags to include (comma-separated). Any of the tags needs to be present. (optional) notag = 'notag_example' # str | Tags to exclude (comma-separated). (optional) -release_status = 'public' # str | Filter by ReleaseStatus. (optional) (default to 'public') +release_status = vrchatapi.ReleaseStatus() # ReleaseStatus | Filter by ReleaseStatus. (optional) max_unity_version = 'max_unity_version_example' # str | The maximum Unity version supported by the asset. (optional) min_unity_version = 'min_unity_version_example' # str | The minimum Unity version supported by the asset. (optional) platform = 'platform_example' # str | The platform the asset supports. (optional) @@ -515,14 +515,14 @@ user_id = 'user_id_example' # str | Target user to see information on, admin-onl Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **featured** | **bool**| Filters on featured results. | [optional] - **sort** | **str**| | [optional] [default to 'popularity'] + **sort** | [**SortOption**](.md)| The sort order of the results. | [optional] **n** | **int**| The number of objects to return. | [optional] [default to 60] - **order** | **str**| | [optional] [default to 'descending'] + **order** | [**OrderOption**](.md)| Result ordering | [optional] **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] **search** | **str**| Filters by world name. | [optional] **tag** | **str**| Tags to include (comma-separated). Any of the tags needs to be present. | [optional] **notag** | **str**| Tags to exclude (comma-separated). | [optional] - **release_status** | **str**| Filter by ReleaseStatus. | [optional] [default to 'public'] + **release_status** | [**ReleaseStatus**](.md)| Filter by ReleaseStatus. | [optional] **max_unity_version** | **str**| The maximum Unity version supported by the asset. | [optional] **min_unity_version** | **str**| The minimum Unity version supported by the asset. | [optional] **platform** | **str**| The platform the asset supports. | [optional] @@ -593,7 +593,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.AvatarsApi(api_client) - user_id = 'user_id_example' # str | + user_id = 'user_id_example' # str | Must be a valid user ID. try: # Get Own Avatar @@ -637,7 +637,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.AvatarsApi(api_client) - user_id = 'user_id_example' # str | + user_id = 'user_id_example' # str | Must be a valid user ID. try: # Get Own Avatar @@ -651,7 +651,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | + **user_id** | **str**| Must be a valid user ID. | ### Return type @@ -719,15 +719,15 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.AvatarsApi(api_client) featured = True # bool | Filters on featured results. (optional) -sort = 'popularity' # str | (optional) (default to 'popularity') +sort = vrchatapi.SortOption() # SortOption | The sort order of the results. (optional) user = 'user_example' # str | Set to `me` for searching own avatars. (optional) user_id = 'user_id_example' # str | Filter by UserID. (optional) n = 60 # int | The number of objects to return. (optional) (default to 60) -order = 'descending' # str | (optional) (default to 'descending') +order = vrchatapi.OrderOption() # OrderOption | Result ordering (optional) offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) tag = 'tag_example' # str | Tags to include (comma-separated). Any of the tags needs to be present. (optional) notag = 'notag_example' # str | Tags to exclude (comma-separated). (optional) -release_status = 'public' # str | Filter by ReleaseStatus. (optional) (default to 'public') +release_status = vrchatapi.ReleaseStatus() # ReleaseStatus | Filter by ReleaseStatus. (optional) max_unity_version = 'max_unity_version_example' # str | The maximum Unity version supported by the asset. (optional) min_unity_version = 'min_unity_version_example' # str | The minimum Unity version supported by the asset. (optional) platform = 'platform_example' # str | The platform the asset supports. (optional) @@ -775,15 +775,15 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.AvatarsApi(api_client) featured = True # bool | Filters on featured results. (optional) -sort = 'popularity' # str | (optional) (default to 'popularity') +sort = vrchatapi.SortOption() # SortOption | The sort order of the results. (optional) user = 'user_example' # str | Set to `me` for searching own avatars. (optional) user_id = 'user_id_example' # str | Filter by UserID. (optional) n = 60 # int | The number of objects to return. (optional) (default to 60) -order = 'descending' # str | (optional) (default to 'descending') +order = vrchatapi.OrderOption() # OrderOption | Result ordering (optional) offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) tag = 'tag_example' # str | Tags to include (comma-separated). Any of the tags needs to be present. (optional) notag = 'notag_example' # str | Tags to exclude (comma-separated). (optional) -release_status = 'public' # str | Filter by ReleaseStatus. (optional) (default to 'public') +release_status = vrchatapi.ReleaseStatus() # ReleaseStatus | Filter by ReleaseStatus. (optional) max_unity_version = 'max_unity_version_example' # str | The maximum Unity version supported by the asset. (optional) min_unity_version = 'min_unity_version_example' # str | The minimum Unity version supported by the asset. (optional) platform = 'platform_example' # str | The platform the asset supports. (optional) @@ -801,15 +801,15 @@ platform = 'platform_example' # str | The platform the asset supports. (optional Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **featured** | **bool**| Filters on featured results. | [optional] - **sort** | **str**| | [optional] [default to 'popularity'] + **sort** | [**SortOption**](.md)| The sort order of the results. | [optional] **user** | **str**| Set to `me` for searching own avatars. | [optional] **user_id** | **str**| Filter by UserID. | [optional] **n** | **int**| The number of objects to return. | [optional] [default to 60] - **order** | **str**| | [optional] [default to 'descending'] + **order** | [**OrderOption**](.md)| Result ordering | [optional] **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] **tag** | **str**| Tags to include (comma-separated). Any of the tags needs to be present. | [optional] **notag** | **str**| Tags to exclude (comma-separated). | [optional] - **release_status** | **str**| Filter by ReleaseStatus. | [optional] [default to 'public'] + **release_status** | [**ReleaseStatus**](.md)| Filter by ReleaseStatus. | [optional] **max_unity_version** | **str**| The maximum Unity version supported by the asset. | [optional] **min_unity_version** | **str**| The minimum Unity version supported by the asset. | [optional] **platform** | **str**| The platform the asset supports. | [optional] @@ -878,7 +878,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.AvatarsApi(api_client) - avatar_id = 'avatar_id_example' # str | + avatar_id = 'avatar_id_example' # str | Must be a valid avatar ID. try: # Select Avatar @@ -922,7 +922,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.AvatarsApi(api_client) - avatar_id = 'avatar_id_example' # str | + avatar_id = 'avatar_id_example' # str | Must be a valid avatar ID. try: # Select Avatar @@ -936,7 +936,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **avatar_id** | **str**| | + **avatar_id** | **str**| Must be a valid avatar ID. | ### Return type @@ -1003,7 +1003,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.AvatarsApi(api_client) - avatar_id = 'avatar_id_example' # str | + avatar_id = 'avatar_id_example' # str | Must be a valid avatar ID. try: # Select Fallback Avatar @@ -1047,7 +1047,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.AvatarsApi(api_client) - avatar_id = 'avatar_id_example' # str | + avatar_id = 'avatar_id_example' # str | Must be a valid avatar ID. try: # Select Fallback Avatar @@ -1061,7 +1061,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **avatar_id** | **str**| | + **avatar_id** | **str**| Must be a valid avatar ID. | ### Return type @@ -1129,7 +1129,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.AvatarsApi(api_client) - avatar_id = 'avatar_id_example' # str | + avatar_id = 'avatar_id_example' # str | Must be a valid avatar ID. update_avatar_request = vrchatapi.UpdateAvatarRequest() # UpdateAvatarRequest | (optional) try: @@ -1174,7 +1174,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.AvatarsApi(api_client) - avatar_id = 'avatar_id_example' # str | + avatar_id = 'avatar_id_example' # str | Must be a valid avatar ID. update_avatar_request = vrchatapi.UpdateAvatarRequest() # UpdateAvatarRequest | (optional) try: @@ -1189,7 +1189,7 @@ update_avatar_request = vrchatapi.UpdateAvatarRequest() # UpdateAvatarRequest | Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **avatar_id** | **str**| | + **avatar_id** | **str**| Must be a valid avatar ID. | **update_avatar_request** | [**UpdateAvatarRequest**](UpdateAvatarRequest.md)| | [optional] ### Return type diff --git a/docs/BanGroupMemberRequest.md b/docs/BanGroupMemberRequest.md new file mode 100644 index 00000000..ac827a59 --- /dev/null +++ b/docs/BanGroupMemberRequest.md @@ -0,0 +1,11 @@ +# BanGroupMemberRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CreateAvatarRequest.md b/docs/CreateAvatarRequest.md index 6290b0fc..9667185f 100644 --- a/docs/CreateAvatarRequest.md +++ b/docs/CreateAvatarRequest.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **id** | **str** | | [optional] **name** | **str** | | **description** | **str** | | [optional] -**tags** | **list[str]** | | [optional] +**tags** | **list[str]** | | [optional] **image_url** | **str** | | **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | [optional] **version** | **float** | | [optional] [default to 1] diff --git a/docs/CreateFileRequest.md b/docs/CreateFileRequest.md index 2da93660..d4369331 100644 --- a/docs/CreateFileRequest.md +++ b/docs/CreateFileRequest.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **name** | **str** | | **mime_type** | [**MIMEType**](MIMEType.md) | | **extension** | **str** | | -**tags** | **list[str]** | | [optional] +**tags** | **list[str]** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreateGroupAnnouncementRequest.md b/docs/CreateGroupAnnouncementRequest.md new file mode 100644 index 00000000..c4554425 --- /dev/null +++ b/docs/CreateGroupAnnouncementRequest.md @@ -0,0 +1,14 @@ +# CreateGroupAnnouncementRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**title** | **str** | Announcement title | +**text** | **str** | Announcement text | [optional] +**image_id** | **str** | | [optional] +**send_notification** | **bool** | Send notification to group members. | [optional] [default to False] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CreateGroupGalleryRequest.md b/docs/CreateGroupGalleryRequest.md new file mode 100644 index 00000000..a5f5691b --- /dev/null +++ b/docs/CreateGroupGalleryRequest.md @@ -0,0 +1,17 @@ +# CreateGroupGalleryRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **str** | Name of the gallery. | +**description** | **str** | Description of the gallery. | [optional] +**members_only** | **bool** | Whether the gallery is members only. | [optional] [default to False] +**role_ids_to_view** | **list[str]** | | [optional] +**role_ids_to_submit** | **list[str]** | | [optional] +**role_ids_to_auto_approve** | **list[str]** | | [optional] +**role_ids_to_manage** | **list[str]** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CreateGroupInviteRequest.md b/docs/CreateGroupInviteRequest.md new file mode 100644 index 00000000..a9cd2269 --- /dev/null +++ b/docs/CreateGroupInviteRequest.md @@ -0,0 +1,12 @@ +# CreateGroupInviteRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**confirm_override_block** | **bool** | | [optional] [default to True] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CreateGroupRequest.md b/docs/CreateGroupRequest.md new file mode 100644 index 00000000..9a04d0f2 --- /dev/null +++ b/docs/CreateGroupRequest.md @@ -0,0 +1,18 @@ +# CreateGroupRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **str** | | +**short_code** | **str** | | +**description** | **str** | | [optional] +**join_state** | [**GroupJoinState**](GroupJoinState.md) | | [optional] +**icon_id** | **str** | | [optional] [default to 'null'] +**banner_id** | **str** | | [optional] [default to 'null'] +**privacy** | [**GroupPrivacy**](GroupPrivacy.md) | | [optional] +**role_template** | [**GroupRoleTemplate**](GroupRoleTemplate.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CreateGroupRoleRequest.md b/docs/CreateGroupRoleRequest.md new file mode 100644 index 00000000..b8dc17af --- /dev/null +++ b/docs/CreateGroupRoleRequest.md @@ -0,0 +1,15 @@ +# CreateGroupRoleRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | | [optional] +**name** | **str** | | [optional] +**description** | **str** | | [optional] +**is_self_assignable** | **bool** | | [optional] [default to False] +**permissions** | **list[str]** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CreateWorldRequest.md b/docs/CreateWorldRequest.md index 03ad3edd..d01094cc 100644 --- a/docs/CreateWorldRequest.md +++ b/docs/CreateWorldRequest.md @@ -15,7 +15,7 @@ Name | Type | Description | Notes **name** | **str** | | **platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | [optional] **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | [optional] -**tags** | **list[str]** | | [optional] +**tags** | **list[str]** | | [optional] **unity_package_url** | **str** | | [optional] **unity_version** | **str** | | [optional] [default to '5.3.4p1'] diff --git a/docs/CurrentUser.md b/docs/CurrentUser.md index 3b2b0072..356865ca 100644 --- a/docs/CurrentUser.md +++ b/docs/CurrentUser.md @@ -36,7 +36,7 @@ Name | Type | Description | Notes **oculus_id** | **str** | | **offline_friends** | **list[str]** | | [optional] **online_friends** | **list[str]** | | [optional] -**past_display_names** | [**list[PastDisplayName]**](PastDisplayName.md) | | +**past_display_names** | [**list[PastDisplayName]**](PastDisplayName.md) | | **profile_pic_override** | **str** | | **state** | [**UserState**](UserState.md) | | **status** | [**UserStatus**](UserStatus.md) | | diff --git a/docs/EconomyApi.md b/docs/EconomyApi.md index 544cb173..83ec651e 100644 --- a/docs/EconomyApi.md +++ b/docs/EconomyApi.md @@ -173,7 +173,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.EconomyApi(api_client) - license_group_id = 'license_group_id_example' # str | + license_group_id = 'license_group_id_example' # str | Must be a valid license group ID. try: # Get License Group @@ -217,7 +217,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.EconomyApi(api_client) - license_group_id = 'license_group_id_example' # str | + license_group_id = 'license_group_id_example' # str | Must be a valid license group ID. try: # Get License Group @@ -231,7 +231,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **license_group_id** | **str**| | + **license_group_id** | **str**| Must be a valid license group ID. | ### Return type @@ -297,7 +297,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.EconomyApi(api_client) - transaction_id = 'transaction_id_example' # str | + transaction_id = 'transaction_id_example' # str | Must be a valid transaction ID. try: # Get Steam Transaction @@ -341,7 +341,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.EconomyApi(api_client) - transaction_id = 'transaction_id_example' # str | + transaction_id = 'transaction_id_example' # str | Must be a valid transaction ID. try: # Get Steam Transaction @@ -355,7 +355,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **transaction_id** | **str**| | + **transaction_id** | **str**| Must be a valid transaction ID. | ### Return type diff --git a/docs/Favorite.md b/docs/Favorite.md index cea8966e..ce094c55 100644 --- a/docs/Favorite.md +++ b/docs/Favorite.md @@ -1,13 +1,12 @@ # Favorite - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **favorite_id** | **str** | MUST be either AvatarID, UserID or WorldID. | **id** | **str** | | -**tags** | **list[str]** | | +**tags** | **list[str]** | | **type** | [**FavoriteType**](FavoriteType.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FavoriteGroup.md b/docs/FavoriteGroup.md index ab7b7d02..00844f63 100644 --- a/docs/FavoriteGroup.md +++ b/docs/FavoriteGroup.md @@ -1,7 +1,6 @@ # FavoriteGroup - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- @@ -10,7 +9,7 @@ Name | Type | Description | Notes **name** | **str** | | **owner_display_name** | **str** | | **owner_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | -**tags** | **list[str]** | | +**tags** | **list[str]** | | **type** | [**FavoriteType**](FavoriteType.md) | | **visibility** | [**FavoriteGroupVisibility**](FavoriteGroupVisibility.md) | | diff --git a/docs/FavoritesApi.md b/docs/FavoritesApi.md index 4468fbc5..aac4f2b5 100644 --- a/docs/FavoritesApi.md +++ b/docs/FavoritesApi.md @@ -183,8 +183,8 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FavoritesApi(api_client) favorite_group_type = 'favorite_group_type_example' # str | The type of group to fetch, must be a valid FavoriteType. -favorite_group_name = 'favorite_group_name_example' # str | -user_id = 'user_id_example' # str | +favorite_group_name = 'favorite_group_name_example' # str | The name of the group to fetch, must be a name of a FavoriteGroup. +user_id = 'user_id_example' # str | Must be a valid user ID. try: # Clear Favorite Group @@ -229,8 +229,8 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FavoritesApi(api_client) favorite_group_type = 'favorite_group_type_example' # str | The type of group to fetch, must be a valid FavoriteType. -favorite_group_name = 'favorite_group_name_example' # str | -user_id = 'user_id_example' # str | +favorite_group_name = 'favorite_group_name_example' # str | The name of the group to fetch, must be a name of a FavoriteGroup. +user_id = 'user_id_example' # str | Must be a valid user ID. try: # Clear Favorite Group @@ -245,8 +245,8 @@ user_id = 'user_id_example' # str | Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **favorite_group_type** | **str**| The type of group to fetch, must be a valid FavoriteType. | - **favorite_group_name** | **str**| | - **user_id** | **str**| | + **favorite_group_name** | **str**| The name of the group to fetch, must be a name of a FavoriteGroup. | + **user_id** | **str**| Must be a valid user ID. | ### Return type @@ -311,7 +311,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FavoritesApi(api_client) - favorite_id = 'favorite_id_example' # str | + favorite_id = 'favorite_id_example' # str | Must be a valid favorite ID. try: # Show Favorite @@ -355,7 +355,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FavoritesApi(api_client) - favorite_id = 'favorite_id_example' # str | + favorite_id = 'favorite_id_example' # str | Must be a valid favorite ID. try: # Show Favorite @@ -369,7 +369,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **favorite_id** | **str**| | + **favorite_id** | **str**| Must be a valid favorite ID. | ### Return type @@ -437,8 +437,8 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FavoritesApi(api_client) favorite_group_type = 'favorite_group_type_example' # str | The type of group to fetch, must be a valid FavoriteType. -favorite_group_name = 'favorite_group_name_example' # str | -user_id = 'user_id_example' # str | +favorite_group_name = 'favorite_group_name_example' # str | The name of the group to fetch, must be a name of a FavoriteGroup. +user_id = 'user_id_example' # str | Must be a valid user ID. try: # Show Favorite Group @@ -483,8 +483,8 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FavoritesApi(api_client) favorite_group_type = 'favorite_group_type_example' # str | The type of group to fetch, must be a valid FavoriteType. -favorite_group_name = 'favorite_group_name_example' # str | -user_id = 'user_id_example' # str | +favorite_group_name = 'favorite_group_name_example' # str | The name of the group to fetch, must be a name of a FavoriteGroup. +user_id = 'user_id_example' # str | Must be a valid user ID. try: # Show Favorite Group @@ -499,8 +499,8 @@ user_id = 'user_id_example' # str | Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **favorite_group_type** | **str**| The type of group to fetch, must be a valid FavoriteType. | - **favorite_group_name** | **str**| | - **user_id** | **str**| | + **favorite_group_name** | **str**| The name of the group to fetch, must be a name of a FavoriteGroup. | + **user_id** | **str**| Must be a valid user ID. | ### Return type @@ -828,7 +828,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FavoritesApi(api_client) - favorite_id = 'favorite_id_example' # str | + favorite_id = 'favorite_id_example' # str | Must be a valid favorite ID. try: # Remove Favorite @@ -872,7 +872,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FavoritesApi(api_client) - favorite_id = 'favorite_id_example' # str | + favorite_id = 'favorite_id_example' # str | Must be a valid favorite ID. try: # Remove Favorite @@ -886,7 +886,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **favorite_id** | **str**| | + **favorite_id** | **str**| Must be a valid favorite ID. | ### Return type @@ -954,8 +954,8 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FavoritesApi(api_client) favorite_group_type = 'favorite_group_type_example' # str | The type of group to fetch, must be a valid FavoriteType. -favorite_group_name = 'favorite_group_name_example' # str | -user_id = 'user_id_example' # str | +favorite_group_name = 'favorite_group_name_example' # str | The name of the group to fetch, must be a name of a FavoriteGroup. +user_id = 'user_id_example' # str | Must be a valid user ID. update_favorite_group_request = vrchatapi.UpdateFavoriteGroupRequest() # UpdateFavoriteGroupRequest | (optional) try: @@ -1000,8 +1000,8 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FavoritesApi(api_client) favorite_group_type = 'favorite_group_type_example' # str | The type of group to fetch, must be a valid FavoriteType. -favorite_group_name = 'favorite_group_name_example' # str | -user_id = 'user_id_example' # str | +favorite_group_name = 'favorite_group_name_example' # str | The name of the group to fetch, must be a name of a FavoriteGroup. +user_id = 'user_id_example' # str | Must be a valid user ID. update_favorite_group_request = vrchatapi.UpdateFavoriteGroupRequest() # UpdateFavoriteGroupRequest | (optional) try: @@ -1016,8 +1016,8 @@ update_favorite_group_request = vrchatapi.UpdateFavoriteGroupRequest() # UpdateF Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **favorite_group_type** | **str**| The type of group to fetch, must be a valid FavoriteType. | - **favorite_group_name** | **str**| | - **user_id** | **str**| | + **favorite_group_name** | **str**| The name of the group to fetch, must be a name of a FavoriteGroup. | + **user_id** | **str**| Must be a valid user ID. | **update_favorite_group_request** | [**UpdateFavoriteGroupRequest**](UpdateFavoriteGroupRequest.md)| | [optional] ### Return type diff --git a/docs/File.md b/docs/File.md index 665755b3..509e8c32 100644 --- a/docs/File.md +++ b/docs/File.md @@ -1,7 +1,6 @@ # File - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- @@ -10,8 +9,8 @@ Name | Type | Description | Notes **mime_type** | [**MIMEType**](MIMEType.md) | | **name** | **str** | | **owner_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | -**tags** | **list[str]** | | -**versions** | [**list[FileVersion]**](FileVersion.md) | | +**tags** | **list[str]** | | +**versions** | [**list[FileVersion]**](FileVersion.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FileData.md b/docs/FileData.md index 139fdd42..e853c1f2 100644 --- a/docs/FileData.md +++ b/docs/FileData.md @@ -1,7 +1,6 @@ # FileData - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/FileUploadURL.md b/docs/FileUploadURL.md index 798b137f..dd7a5f28 100644 --- a/docs/FileUploadURL.md +++ b/docs/FileUploadURL.md @@ -1,7 +1,6 @@ # FileUploadURL - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/FileVersion.md b/docs/FileVersion.md index 5f60276b..fa09600b 100644 --- a/docs/FileVersion.md +++ b/docs/FileVersion.md @@ -1,7 +1,6 @@ # FileVersion - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/FileVersionUploadStatus.md b/docs/FileVersionUploadStatus.md index d3c4bdf3..9cb851f3 100644 --- a/docs/FileVersionUploadStatus.md +++ b/docs/FileVersionUploadStatus.md @@ -1,7 +1,6 @@ # FileVersionUploadStatus - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/FilesApi.md b/docs/FilesApi.md index 4df4bb22..19deebb1 100644 --- a/docs/FilesApi.md +++ b/docs/FilesApi.md @@ -182,7 +182,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FilesApi(api_client) - file_id = 'file_00000000-0000-0000-0000-000000000000' # str | + file_id = 'file_00000000-0000-0000-0000-000000000000' # str | Must be a valid file ID. create_file_version_request = vrchatapi.CreateFileVersionRequest() # CreateFileVersionRequest | (optional) try: @@ -227,7 +227,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FilesApi(api_client) - file_id = 'file_00000000-0000-0000-0000-000000000000' # str | + file_id = 'file_00000000-0000-0000-0000-000000000000' # str | Must be a valid file ID. create_file_version_request = vrchatapi.CreateFileVersionRequest() # CreateFileVersionRequest | (optional) try: @@ -242,7 +242,7 @@ create_file_version_request = vrchatapi.CreateFileVersionRequest() # CreateFileV Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **file_id** | **str**| | + **file_id** | **str**| Must be a valid file ID. | **create_file_version_request** | [**CreateFileVersionRequest**](CreateFileVersionRequest.md)| | [optional] ### Return type @@ -308,7 +308,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FilesApi(api_client) - file_id = 'file_00000000-0000-0000-0000-000000000000' # str | + file_id = 'file_00000000-0000-0000-0000-000000000000' # str | Must be a valid file ID. try: # Delete File @@ -352,7 +352,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FilesApi(api_client) - file_id = 'file_00000000-0000-0000-0000-000000000000' # str | + file_id = 'file_00000000-0000-0000-0000-000000000000' # str | Must be a valid file ID. try: # Delete File @@ -366,7 +366,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **file_id** | **str**| | + **file_id** | **str**| Must be a valid file ID. | ### Return type @@ -432,8 +432,8 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FilesApi(api_client) - file_id = 'file_00000000-0000-0000-0000-000000000000' # str | -version_id = 1 # int | + file_id = 'file_00000000-0000-0000-0000-000000000000' # str | Must be a valid file ID. +version_id = 1 # int | Version ID of the asset. try: # Delete File Version @@ -477,8 +477,8 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FilesApi(api_client) - file_id = 'file_00000000-0000-0000-0000-000000000000' # str | -version_id = 1 # int | + file_id = 'file_00000000-0000-0000-0000-000000000000' # str | Must be a valid file ID. +version_id = 1 # int | Version ID of the asset. try: # Delete File Version @@ -492,8 +492,8 @@ version_id = 1 # int | Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **file_id** | **str**| | - **version_id** | **int**| | + **file_id** | **str**| Must be a valid file ID. | + **version_id** | **int**| Version ID of the asset. | ### Return type @@ -560,8 +560,8 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FilesApi(api_client) - file_id = 'file_00000000-0000-0000-0000-000000000000' # str | -version_id = 1 # int | + file_id = 'file_00000000-0000-0000-0000-000000000000' # str | Must be a valid file ID. +version_id = 1 # int | Version ID of the asset. try: # Download File Version @@ -604,8 +604,8 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FilesApi(api_client) - file_id = 'file_00000000-0000-0000-0000-000000000000' # str | -version_id = 1 # int | + file_id = 'file_00000000-0000-0000-0000-000000000000' # str | Must be a valid file ID. +version_id = 1 # int | Version ID of the asset. try: # Download File Version @@ -618,8 +618,8 @@ version_id = 1 # int | Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **file_id** | **str**| | - **version_id** | **int**| | + **file_id** | **str**| Must be a valid file ID. | + **version_id** | **int**| Version ID of the asset. | ### Return type @@ -684,9 +684,9 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FilesApi(api_client) - file_id = 'file_00000000-0000-0000-0000-000000000000' # str | -version_id = 1 # int | -file_type = 'file' # str | + file_id = 'file_00000000-0000-0000-0000-000000000000' # str | Must be a valid file ID. +version_id = 1 # int | Version ID of the asset. +file_type = 'file' # str | Type of file. finish_file_data_upload_request = {"etags":["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy"],"nextPartNumber":"0","maxParts":"0"} # FinishFileDataUploadRequest | Please see documentation on ETag's: [https://teppen.io/2018/06/23/aws_s3_etags/](https://teppen.io/2018/06/23/aws_s3_etags/) ETag's should NOT be present when uploading a `signature`. (optional) try: @@ -731,9 +731,9 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FilesApi(api_client) - file_id = 'file_00000000-0000-0000-0000-000000000000' # str | -version_id = 1 # int | -file_type = 'file' # str | + file_id = 'file_00000000-0000-0000-0000-000000000000' # str | Must be a valid file ID. +version_id = 1 # int | Version ID of the asset. +file_type = 'file' # str | Type of file. finish_file_data_upload_request = {"etags":["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy"],"nextPartNumber":"0","maxParts":"0"} # FinishFileDataUploadRequest | Please see documentation on ETag's: [https://teppen.io/2018/06/23/aws_s3_etags/](https://teppen.io/2018/06/23/aws_s3_etags/) ETag's should NOT be present when uploading a `signature`. (optional) try: @@ -748,9 +748,9 @@ finish_file_data_upload_request = {"etags":["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"," Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **file_id** | **str**| | - **version_id** | **int**| | - **file_type** | **str**| | + **file_id** | **str**| Must be a valid file ID. | + **version_id** | **int**| Version ID of the asset. | + **file_type** | **str**| Type of file. | **finish_file_data_upload_request** | [**FinishFileDataUploadRequest**](FinishFileDataUploadRequest.md)| Please see documentation on ETag's: [https://teppen.io/2018/06/23/aws_s3_etags/](https://teppen.io/2018/06/23/aws_s3_etags/) ETag's should NOT be present when uploading a `signature`. | [optional] ### Return type @@ -816,7 +816,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FilesApi(api_client) - file_id = 'file_00000000-0000-0000-0000-000000000000' # str | + file_id = 'file_00000000-0000-0000-0000-000000000000' # str | Must be a valid file ID. try: # Show File @@ -860,7 +860,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FilesApi(api_client) - file_id = 'file_00000000-0000-0000-0000-000000000000' # str | + file_id = 'file_00000000-0000-0000-0000-000000000000' # str | Must be a valid file ID. try: # Show File @@ -874,7 +874,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **file_id** | **str**| | + **file_id** | **str**| Must be a valid file ID. | ### Return type @@ -940,9 +940,9 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FilesApi(api_client) - file_id = 'file_00000000-0000-0000-0000-000000000000' # str | -version_id = 1 # int | -file_type = 'file' # str | + file_id = 'file_00000000-0000-0000-0000-000000000000' # str | Must be a valid file ID. +version_id = 1 # int | Version ID of the asset. +file_type = 'file' # str | Type of file. try: # Check FileData Upload Status @@ -986,9 +986,9 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FilesApi(api_client) - file_id = 'file_00000000-0000-0000-0000-000000000000' # str | -version_id = 1 # int | -file_type = 'file' # str | + file_id = 'file_00000000-0000-0000-0000-000000000000' # str | Must be a valid file ID. +version_id = 1 # int | Version ID of the asset. +file_type = 'file' # str | Type of file. try: # Check FileData Upload Status @@ -1002,9 +1002,9 @@ file_type = 'file' # str | Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **file_id** | **str**| | - **version_id** | **int**| | - **file_type** | **str**| | + **file_id** | **str**| Must be a valid file ID. | + **version_id** | **int**| Version ID of the asset. | + **file_type** | **str**| Type of file. | ### Return type @@ -1201,10 +1201,10 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FilesApi(api_client) - file_id = 'file_00000000-0000-0000-0000-000000000000' # str | -version_id = 1 # int | -file_type = 'file' # str | -part_number = 1 # int | (optional) + file_id = 'file_00000000-0000-0000-0000-000000000000' # str | Must be a valid file ID. +version_id = 1 # int | Version ID of the asset. +file_type = 'file' # str | Type of file. +part_number = 1 # int | The part number to start uploading. If not provided, the first part will be started. (optional) try: # Start FileData Upload @@ -1248,10 +1248,10 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FilesApi(api_client) - file_id = 'file_00000000-0000-0000-0000-000000000000' # str | -version_id = 1 # int | -file_type = 'file' # str | -part_number = 1 # int | (optional) + file_id = 'file_00000000-0000-0000-0000-000000000000' # str | Must be a valid file ID. +version_id = 1 # int | Version ID of the asset. +file_type = 'file' # str | Type of file. +part_number = 1 # int | The part number to start uploading. If not provided, the first part will be started. (optional) try: # Start FileData Upload @@ -1265,10 +1265,10 @@ part_number = 1 # int | (optional) Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **file_id** | **str**| | - **version_id** | **int**| | - **file_type** | **str**| | - **part_number** | **int**| | [optional] + **file_id** | **str**| Must be a valid file ID. | + **version_id** | **int**| Version ID of the asset. | + **file_type** | **str**| Type of file. | + **part_number** | **int**| The part number to start uploading. If not provided, the first part will be started. | [optional] ### Return type diff --git a/docs/FinishFileDataUploadRequest.md b/docs/FinishFileDataUploadRequest.md index e89dc552..6320e7e7 100644 --- a/docs/FinishFileDataUploadRequest.md +++ b/docs/FinishFileDataUploadRequest.md @@ -1,7 +1,6 @@ # FinishFileDataUploadRequest - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/FriendsApi.md b/docs/FriendsApi.md index 79781124..bb89ba30 100644 --- a/docs/FriendsApi.md +++ b/docs/FriendsApi.md @@ -54,7 +54,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FriendsApi(api_client) - user_id = 'user_id_example' # str | + user_id = 'user_id_example' # str | Must be a valid user ID. try: # Delete Friend Request @@ -98,7 +98,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FriendsApi(api_client) - user_id = 'user_id_example' # str | + user_id = 'user_id_example' # str | Must be a valid user ID. try: # Delete Friend Request @@ -112,7 +112,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | + **user_id** | **str**| Must be a valid user ID. | ### Return type @@ -179,7 +179,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FriendsApi(api_client) - user_id = 'user_id_example' # str | + user_id = 'user_id_example' # str | Must be a valid user ID. try: # Send Friend Request @@ -223,7 +223,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FriendsApi(api_client) - user_id = 'user_id_example' # str | + user_id = 'user_id_example' # str | Must be a valid user ID. try: # Send Friend Request @@ -237,7 +237,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | + **user_id** | **str**| Must be a valid user ID. | ### Return type @@ -304,7 +304,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FriendsApi(api_client) - user_id = 'user_id_example' # str | + user_id = 'user_id_example' # str | Must be a valid user ID. try: # Check Friend Status @@ -348,7 +348,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FriendsApi(api_client) - user_id = 'user_id_example' # str | + user_id = 'user_id_example' # str | Must be a valid user ID. try: # Check Friend Status @@ -362,7 +362,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | + **user_id** | **str**| Must be a valid user ID. | ### Return type @@ -558,7 +558,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FriendsApi(api_client) - user_id = 'user_id_example' # str | + user_id = 'user_id_example' # str | Must be a valid user ID. try: # Unfriend @@ -602,7 +602,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FriendsApi(api_client) - user_id = 'user_id_example' # str | + user_id = 'user_id_example' # str | Must be a valid user ID. try: # Unfriend @@ -616,7 +616,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | + **user_id** | **str**| Must be a valid user ID. | ### Return type diff --git a/docs/Group.md b/docs/Group.md new file mode 100644 index 00000000..9c897977 --- /dev/null +++ b/docs/Group.md @@ -0,0 +1,35 @@ +# Group + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | | [optional] +**name** | **str** | | [optional] +**short_code** | **str** | | [optional] +**discriminator** | **str** | | [optional] +**description** | **str** | | [optional] +**icon_url** | **str** | | [optional] +**banner_url** | **str** | | [optional] +**privacy** | [**GroupPrivacy**](GroupPrivacy.md) | | [optional] +**owner_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] +**rules** | **str** | | [optional] +**links** | **list[str]** | | [optional] +**languages** | **list[str]** | | [optional] +**icon_id** | **str** | | [optional] +**banner_id** | **str** | | [optional] +**member_count** | **int** | | [optional] +**member_count_synced_at** | **datetime** | | [optional] +**is_verified** | **bool** | | [optional] [default to False] +**join_state** | [**GroupJoinState**](GroupJoinState.md) | | [optional] +**tags** | **list[str]** | | [optional] +**galleries** | [**list[GroupGallery]**](GroupGallery.md) | | [optional] +**created_at** | **datetime** | | [optional] +**online_member_count** | **int** | | [optional] +**membership_status** | [**GroupMemberStatus**](GroupMemberStatus.md) | | [optional] +**my_member** | [**GroupMyMember**](GroupMyMember.md) | | [optional] +**roles** | [**list[GroupRole]**](GroupRole.md) | Only returned if ?includeRoles=true is specified. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GroupAnnouncement.md b/docs/GroupAnnouncement.md new file mode 100644 index 00000000..be38e6b7 --- /dev/null +++ b/docs/GroupAnnouncement.md @@ -0,0 +1,19 @@ +# GroupAnnouncement + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | | [optional] +**group_id** | **str** | | [optional] +**author_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] +**title** | **str** | | [optional] +**text** | **str** | | [optional] +**image_id** | **str** | | [optional] +**image_url** | **str** | | [optional] +**created_at** | **datetime** | | [optional] +**updated_at** | **datetime** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GroupAuditLogEntry.md b/docs/GroupAuditLogEntry.md new file mode 100644 index 00000000..61a6a698 --- /dev/null +++ b/docs/GroupAuditLogEntry.md @@ -0,0 +1,19 @@ +# GroupAuditLogEntry + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | | [optional] +**created_at** | **datetime** | | [optional] +**group_id** | **str** | | [optional] +**actor_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] +**actor_displayname** | **str** | | [optional] +**target_id** | **str** | Typically GroupID or GroupRoleID, but could be other types of IDs. | [optional] +**event_type** | **str** | The type of event that occurred. This is a string that is prefixed with the type of object that the event occurred on. For example, a group role update event would be prefixed with `group.role`. | [optional] [default to 'group.update'] +**description** | **str** | A human-readable description of the event. | [optional] +**data** | **object** | The data associated with the event. The format of this data is dependent on the event type. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GroupGallery.md b/docs/GroupGallery.md new file mode 100644 index 00000000..9c787efe --- /dev/null +++ b/docs/GroupGallery.md @@ -0,0 +1,20 @@ +# GroupGallery + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | | [optional] +**name** | **str** | Name of the gallery. | [optional] +**description** | **str** | Description of the gallery. | [optional] +**members_only** | **bool** | Whether the gallery is members only. | [optional] [default to False] +**role_ids_to_view** | **list[str]** | | [optional] +**role_ids_to_submit** | **list[str]** | | [optional] +**role_ids_to_auto_approve** | **list[str]** | | [optional] +**role_ids_to_manage** | **list[str]** | | [optional] +**created_at** | **datetime** | | [optional] +**updated_at** | **datetime** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GroupGalleryImage.md b/docs/GroupGalleryImage.md new file mode 100644 index 00000000..eb061839 --- /dev/null +++ b/docs/GroupGalleryImage.md @@ -0,0 +1,20 @@ +# GroupGalleryImage + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | | [optional] +**group_id** | **str** | | [optional] +**gallery_id** | **str** | | [optional] +**file_id** | **str** | | [optional] +**image_url** | **str** | | [optional] +**created_at** | **datetime** | | [optional] +**submitted_by_user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] +**approved** | **bool** | | [optional] [default to False] +**approved_by_user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] +**approved_at** | **datetime** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GroupJoinState.md b/docs/GroupJoinState.md new file mode 100644 index 00000000..3132bd55 --- /dev/null +++ b/docs/GroupJoinState.md @@ -0,0 +1,10 @@ +# GroupJoinState + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GroupLimitedMember.md b/docs/GroupLimitedMember.md new file mode 100644 index 00000000..cb85fb2c --- /dev/null +++ b/docs/GroupLimitedMember.md @@ -0,0 +1,14 @@ +# GroupLimitedMember + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | | [optional] +**group_id** | **str** | | [optional] +**user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] +**is_representing** | **bool** | | [optional] [default to False] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GroupMember.md b/docs/GroupMember.md new file mode 100644 index 00000000..06ef408c --- /dev/null +++ b/docs/GroupMember.md @@ -0,0 +1,23 @@ +# GroupMember + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | | [optional] +**group_id** | **str** | | [optional] +**user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] +**is_representing** | **bool** | Whether the user is representing the group. This makes the group show up above the name tag in-game. | [optional] [default to False] +**user** | [**GroupMemberLimitedUser**](GroupMemberLimitedUser.md) | | [optional] +**role_ids** | **list[str]** | | [optional] +**joined_at** | **datetime** | | [optional] +**membership_status** | **str** | | [optional] +**visibility** | **str** | | [optional] +**is_subscribed_to_announcements** | **bool** | | [optional] [default to False] +**created_at** | **datetime** | Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. | [optional] +**banned_at** | **datetime** | Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. | [optional] +**manager_notes** | **str** | Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GroupMemberLimitedUser.md b/docs/GroupMemberLimitedUser.md new file mode 100644 index 00000000..02cea0a7 --- /dev/null +++ b/docs/GroupMemberLimitedUser.md @@ -0,0 +1,15 @@ +# GroupMemberLimitedUser + +Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] +**display_name** | **str** | | [optional] +**thumbnail_url** | **str** | | [optional] +**icon_url** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GroupMemberStatus.md b/docs/GroupMemberStatus.md new file mode 100644 index 00000000..639d33f9 --- /dev/null +++ b/docs/GroupMemberStatus.md @@ -0,0 +1,10 @@ +# GroupMemberStatus + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GroupMyMember.md b/docs/GroupMyMember.md new file mode 100644 index 00000000..770068ea --- /dev/null +++ b/docs/GroupMyMember.md @@ -0,0 +1,23 @@ +# GroupMyMember + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | | [optional] +**group_id** | **str** | | [optional] +**user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] +**role_ids** | **list[str]** | | [optional] +**manager_notes** | **str** | | [optional] +**membership_status** | **str** | | [optional] +**is_subscribed_to_announcements** | **bool** | | [optional] [default to True] +**visibility** | **str** | | [optional] +**is_representing** | **bool** | | [optional] [default to False] +**joined_at** | **datetime** | | [optional] +**banned_at** | **str** | | [optional] +**has2_fa** | **bool** | | [optional] [default to False] +**permissions** | **list[str]** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GroupPermission.md b/docs/GroupPermission.md new file mode 100644 index 00000000..a00fdcfc --- /dev/null +++ b/docs/GroupPermission.md @@ -0,0 +1,16 @@ +# GroupPermission + +A permission that can be granted to a role in a group. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **str** | The name of the permission. | [optional] +**display_name** | **str** | The display name of the permission. | [optional] +**help** | **str** | Human-readable description of the permission. | [optional] +**is_management_permission** | **bool** | Whether this permission is a \"management\" permission. | [optional] [default to False] +**allowed_to_add** | **bool** | Whether the user is allowed to add this permission to a role. | [optional] [default to False] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GroupPrivacy.md b/docs/GroupPrivacy.md new file mode 100644 index 00000000..5f544f90 --- /dev/null +++ b/docs/GroupPrivacy.md @@ -0,0 +1,10 @@ +# GroupPrivacy + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GroupRole.md b/docs/GroupRole.md new file mode 100644 index 00000000..7f28463c --- /dev/null +++ b/docs/GroupRole.md @@ -0,0 +1,22 @@ +# GroupRole + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | | [optional] +**group_id** | **str** | | [optional] +**name** | **str** | | [optional] +**description** | **str** | | [optional] +**is_self_assignable** | **bool** | | [optional] [default to False] +**permissions** | **list[str]** | | [optional] +**is_management_role** | **bool** | | [optional] [default to False] +**requires_two_factor** | **bool** | | [optional] [default to False] +**requires_purchase** | **bool** | | [optional] [default to False] +**order** | **int** | | [optional] +**created_at** | **datetime** | | [optional] +**updated_at** | **datetime** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GroupRoleTemplate.md b/docs/GroupRoleTemplate.md new file mode 100644 index 00000000..4a444edf --- /dev/null +++ b/docs/GroupRoleTemplate.md @@ -0,0 +1,10 @@ +# GroupRoleTemplate + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GroupUserVisibility.md b/docs/GroupUserVisibility.md new file mode 100644 index 00000000..9b379637 --- /dev/null +++ b/docs/GroupUserVisibility.md @@ -0,0 +1,10 @@ +# GroupUserVisibility + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GroupsApi.md b/docs/GroupsApi.md new file mode 100644 index 00000000..6bfe271e --- /dev/null +++ b/docs/GroupsApi.md @@ -0,0 +1,4660 @@ +# vrchatapi.GroupsApi + +All URIs are relative to *https://api.vrchat.cloud/api/1* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**add_group_gallery_image**](GroupsApi.md#add_group_gallery_image) | **POST** /groups/{groupId}/galleries/{groupGalleryId}/images | Add Group Gallery Image +[**add_group_member_role**](GroupsApi.md#add_group_member_role) | **PUT** /groups/{groupId}/members/{userId}/roles/{groupRoleId} | Add Role to GroupMember +[**ban_group_member**](GroupsApi.md#ban_group_member) | **POST** /groups/{groupId}/bans | Ban Group Member +[**cancel_group_request**](GroupsApi.md#cancel_group_request) | **DELETE** /groups/{groupId}/requests | Cancel Group Join Request +[**create_group**](GroupsApi.md#create_group) | **POST** /groups | Create Group +[**create_group_announcement**](GroupsApi.md#create_group_announcement) | **POST** /groups/{groupId}/announcement | Create Group Announcement +[**create_group_gallery**](GroupsApi.md#create_group_gallery) | **POST** /groups/{groupId}/galleries | Create Group Gallery +[**create_group_invite**](GroupsApi.md#create_group_invite) | **POST** /groups/{groupId}/invites | Invite User to Group +[**create_group_role**](GroupsApi.md#create_group_role) | **POST** /groups/{groupId}/roles | Create GroupRole +[**delete_group**](GroupsApi.md#delete_group) | **DELETE** /groups/{groupId} | Delete Group +[**delete_group_announcement**](GroupsApi.md#delete_group_announcement) | **DELETE** /groups/{groupId}/announcement | Delete Group Announcement +[**delete_group_gallery**](GroupsApi.md#delete_group_gallery) | **DELETE** /groups/{groupId}/galleries/{groupGalleryId} | Delete Group Gallery +[**delete_group_gallery_image**](GroupsApi.md#delete_group_gallery_image) | **DELETE** /groups/{groupId}/galleries/{groupGalleryId}/images/{groupGalleryImageId} | Delete Group Gallery Image +[**delete_group_invite**](GroupsApi.md#delete_group_invite) | **DELETE** /groups/{groupId}/invites/{userId} | Delete User Invite +[**delete_group_role**](GroupsApi.md#delete_group_role) | **DELETE** /groups/{groupId}/roles/{groupRoleId} | Delete Group Role +[**get_group**](GroupsApi.md#get_group) | **GET** /groups/{groupId} | Get Group by ID +[**get_group_announcements**](GroupsApi.md#get_group_announcements) | **GET** /groups/{groupId}/announcement | Get Group Announcement +[**get_group_audit_logs**](GroupsApi.md#get_group_audit_logs) | **GET** /groups/{groupId}/auditLogs | Get Group Audit Logs +[**get_group_bans**](GroupsApi.md#get_group_bans) | **GET** /groups/{groupId}/bans | Get Group Bans +[**get_group_gallery_images**](GroupsApi.md#get_group_gallery_images) | **GET** /groups/{groupId}/galleries/{groupGalleryId} | Get Group Gallery Images +[**get_group_invites**](GroupsApi.md#get_group_invites) | **GET** /groups/{groupId}/invites | Get Group Invites Sent +[**get_group_member**](GroupsApi.md#get_group_member) | **GET** /groups/{groupId}/members/{userId} | Get Group Member +[**get_group_members**](GroupsApi.md#get_group_members) | **GET** /groups/{groupId}/members | List Group Members +[**get_group_permissions**](GroupsApi.md#get_group_permissions) | **GET** /groups/{groupId}/permissions | List Group Permissions +[**get_group_requests**](GroupsApi.md#get_group_requests) | **GET** /groups/{groupId}/requests | Get Group Join Requests +[**get_group_roles**](GroupsApi.md#get_group_roles) | **GET** /groups/{groupId}/roles | Get Group Roles +[**join_group**](GroupsApi.md#join_group) | **POST** /groups/{groupId}/join | Join Group +[**kick_group_member**](GroupsApi.md#kick_group_member) | **DELETE** /groups/{groupId}/members/{userId} | Kick Group Member +[**leave_group**](GroupsApi.md#leave_group) | **POST** /groups/{groupId}/leave | Leave Group +[**remove_group_member_role**](GroupsApi.md#remove_group_member_role) | **DELETE** /groups/{groupId}/members/{userId}/roles/{groupRoleId} | Remove Role from GroupMember +[**respond_group_join_request**](GroupsApi.md#respond_group_join_request) | **PUT** /groups/{groupId}/requests/{userId} | Respond Group Join request +[**unban_group_member**](GroupsApi.md#unban_group_member) | **DELETE** /groups/{groupId}/bans/{userId} | Unban Group Member +[**update_group**](GroupsApi.md#update_group) | **PUT** /groups/{groupId} | Update Group +[**update_group_gallery**](GroupsApi.md#update_group_gallery) | **PUT** /groups/{groupId}/galleries/{groupGalleryId} | Update Group Gallery +[**update_group_member**](GroupsApi.md#update_group_member) | **PUT** /groups/{groupId}/members/{userId} | Update Group Member +[**update_group_role**](GroupsApi.md#update_group_role) | **PUT** /groups/{groupId}/roles/{groupRoleId} | Update Group Role + + +# **add_group_gallery_image** +> GroupGalleryImage add_group_gallery_image(group_id, group_gallery_id, add_group_gallery_image_request=add_group_gallery_image_request) + +Add Group Gallery Image + +Adds an image to a Group gallery. + +### Example + +* Api Key Authentication (apiKeyCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +group_gallery_id = 'ggal_00000000-0000-0000-0000-000000000000' # str | Must be a valid group gallery ID. +add_group_gallery_image_request = vrchatapi.AddGroupGalleryImageRequest() # AddGroupGalleryImageRequest | (optional) + + try: + # Add Group Gallery Image + api_response = api_instance.add_group_gallery_image(group_id, group_gallery_id, add_group_gallery_image_request=add_group_gallery_image_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->add_group_gallery_image: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +group_gallery_id = 'ggal_00000000-0000-0000-0000-000000000000' # str | Must be a valid group gallery ID. +add_group_gallery_image_request = vrchatapi.AddGroupGalleryImageRequest() # AddGroupGalleryImageRequest | (optional) + + try: + # Add Group Gallery Image + api_response = api_instance.add_group_gallery_image(group_id, group_gallery_id, add_group_gallery_image_request=add_group_gallery_image_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->add_group_gallery_image: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **group_gallery_id** | **str**| Must be a valid group gallery ID. | + **add_group_gallery_image_request** | [**AddGroupGalleryImageRequest**](AddGroupGalleryImageRequest.md)| | [optional] + +### Return type + +[**GroupGalleryImage**](GroupGalleryImage.md) + +### Authorization + +[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single GroupGalleryImage object. | - | +**401** | Error response due to missing apiKey or auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **add_group_member_role** +> list[str] add_group_member_role(group_id, user_id, group_role_id) + +Add Role to GroupMember + +Adds a Role to a Group Member + +### Example + +* Api Key Authentication (apiKeyCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +user_id = 'user_id_example' # str | Must be a valid user ID. +group_role_id = 'grol_00000000-0000-0000-0000-000000000000' # str | Must be a valid group role ID. + + try: + # Add Role to GroupMember + api_response = api_instance.add_group_member_role(group_id, user_id, group_role_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->add_group_member_role: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +user_id = 'user_id_example' # str | Must be a valid user ID. +group_role_id = 'grol_00000000-0000-0000-0000-000000000000' # str | Must be a valid group role ID. + + try: + # Add Role to GroupMember + api_response = api_instance.add_group_member_role(group_id, user_id, group_role_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->add_group_member_role: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **user_id** | **str**| Must be a valid user ID. | + **group_role_id** | **str**| Must be a valid group role ID. | + +### Return type + +**list[str]** + +### Authorization + +[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of GroupRoleID objects. | - | +**401** | Error response due to missing apiKey or auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **ban_group_member** +> GroupMember ban_group_member(group_id, ban_group_member_request=ban_group_member_request) + +Ban Group Member + +Bans a user from a Group. + +### Example + +* Api Key Authentication (apiKeyCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +ban_group_member_request = vrchatapi.BanGroupMemberRequest() # BanGroupMemberRequest | (optional) + + try: + # Ban Group Member + api_response = api_instance.ban_group_member(group_id, ban_group_member_request=ban_group_member_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->ban_group_member: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +ban_group_member_request = vrchatapi.BanGroupMemberRequest() # BanGroupMemberRequest | (optional) + + try: + # Ban Group Member + api_response = api_instance.ban_group_member(group_id, ban_group_member_request=ban_group_member_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->ban_group_member: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **ban_group_member_request** | [**BanGroupMemberRequest**](BanGroupMemberRequest.md)| | [optional] + +### Return type + +[**GroupMember**](GroupMember.md) + +### Authorization + +[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of GroupMember objects. | - | +**401** | Error response due to missing apiKey or auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **cancel_group_request** +> cancel_group_request(group_id) + +Cancel Group Join Request + +Cancels a request sent to join the group. + +### Example + +* Api Key Authentication (apiKeyCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + + try: + # Cancel Group Join Request + api_instance.cancel_group_request(group_id) + except ApiException as e: + print("Exception when calling GroupsApi->cancel_group_request: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + + try: + # Cancel Group Join Request + api_instance.cancel_group_request(group_id) + except ApiException as e: + print("Exception when calling GroupsApi->cancel_group_request: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + +### Return type + +void (empty response body) + +### Authorization + +[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**400** | You can't cancel a join request if you didn't request to join․ | - | +**403** | Error response when trying to perform operations on a group you are not member of. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **create_group** +> Group create_group(create_group_request=create_group_request) + +Create Group + +Creates a Group and returns a Group object. **Requires VRC+ Subscription.** + +### Example + +* Api Key Authentication (apiKeyCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + create_group_request = vrchatapi.CreateGroupRequest() # CreateGroupRequest | (optional) + + try: + # Create Group + api_response = api_instance.create_group(create_group_request=create_group_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->create_group: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + create_group_request = vrchatapi.CreateGroupRequest() # CreateGroupRequest | (optional) + + try: + # Create Group + api_response = api_instance.create_group(create_group_request=create_group_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->create_group: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **create_group_request** | [**CreateGroupRequest**](CreateGroupRequest.md)| | [optional] + +### Return type + +[**Group**](Group.md) + +### Authorization + +[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single Group object. | - | +**401** | Error response due to missing apiKey or auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **create_group_announcement** +> GroupAnnouncement create_group_announcement(group_id, create_group_announcement_request=create_group_announcement_request) + +Create Group Announcement + +Creates an Announcement for a Group. + +### Example + +* Api Key Authentication (apiKeyCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +create_group_announcement_request = vrchatapi.CreateGroupAnnouncementRequest() # CreateGroupAnnouncementRequest | (optional) + + try: + # Create Group Announcement + api_response = api_instance.create_group_announcement(group_id, create_group_announcement_request=create_group_announcement_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->create_group_announcement: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +create_group_announcement_request = vrchatapi.CreateGroupAnnouncementRequest() # CreateGroupAnnouncementRequest | (optional) + + try: + # Create Group Announcement + api_response = api_instance.create_group_announcement(group_id, create_group_announcement_request=create_group_announcement_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->create_group_announcement: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **create_group_announcement_request** | [**CreateGroupAnnouncementRequest**](CreateGroupAnnouncementRequest.md)| | [optional] + +### Return type + +[**GroupAnnouncement**](GroupAnnouncement.md) + +### Authorization + +[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single GroupAnnouncement object. | - | +**401** | Error response due to missing apiKey or auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **create_group_gallery** +> GroupGallery create_group_gallery(group_id, create_group_gallery_request=create_group_gallery_request) + +Create Group Gallery + +Creates a gallery for a Group. + +### Example + +* Api Key Authentication (apiKeyCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +create_group_gallery_request = vrchatapi.CreateGroupGalleryRequest() # CreateGroupGalleryRequest | (optional) + + try: + # Create Group Gallery + api_response = api_instance.create_group_gallery(group_id, create_group_gallery_request=create_group_gallery_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->create_group_gallery: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +create_group_gallery_request = vrchatapi.CreateGroupGalleryRequest() # CreateGroupGalleryRequest | (optional) + + try: + # Create Group Gallery + api_response = api_instance.create_group_gallery(group_id, create_group_gallery_request=create_group_gallery_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->create_group_gallery: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **create_group_gallery_request** | [**CreateGroupGalleryRequest**](CreateGroupGalleryRequest.md)| | [optional] + +### Return type + +[**GroupGallery**](GroupGallery.md) + +### Authorization + +[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single GroupGallery object. | - | +**401** | Error response due to missing apiKey or auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **create_group_invite** +> create_group_invite(group_id, create_group_invite_request=create_group_invite_request) + +Invite User to Group + +Sends an invite to a user to join the group. + +### Example + +* Api Key Authentication (apiKeyCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +create_group_invite_request = vrchatapi.CreateGroupInviteRequest() # CreateGroupInviteRequest | (optional) + + try: + # Invite User to Group + api_instance.create_group_invite(group_id, create_group_invite_request=create_group_invite_request) + except ApiException as e: + print("Exception when calling GroupsApi->create_group_invite: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +create_group_invite_request = vrchatapi.CreateGroupInviteRequest() # CreateGroupInviteRequest | (optional) + + try: + # Invite User to Group + api_instance.create_group_invite(group_id, create_group_invite_request=create_group_invite_request) + except ApiException as e: + print("Exception when calling GroupsApi->create_group_invite: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **create_group_invite_request** | [**CreateGroupInviteRequest**](CreateGroupInviteRequest.md)| | [optional] + +### Return type + +void (empty response body) + +### Authorization + +[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**400** | User <displayName> is already invited | - | +**401** | Error response due to missing apiKey or auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **create_group_role** +> GroupRole create_group_role(group_id, create_group_role_request=create_group_role_request) + +Create GroupRole + +Create a Group role. + +### Example + +* Api Key Authentication (apiKeyCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +create_group_role_request = vrchatapi.CreateGroupRoleRequest() # CreateGroupRoleRequest | (optional) + + try: + # Create GroupRole + api_response = api_instance.create_group_role(group_id, create_group_role_request=create_group_role_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->create_group_role: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +create_group_role_request = vrchatapi.CreateGroupRoleRequest() # CreateGroupRoleRequest | (optional) + + try: + # Create GroupRole + api_response = api_instance.create_group_role(group_id, create_group_role_request=create_group_role_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->create_group_role: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **create_group_role_request** | [**CreateGroupRoleRequest**](CreateGroupRoleRequest.md)| | [optional] + +### Return type + +[**GroupRole**](GroupRole.md) + +### Authorization + +[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single GroupRole object. | - | +**401** | Error response due to missing apiKey or auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_group** +> Success delete_group(group_id) + +Delete Group + +Deletes a Group. + +### Example + +* Api Key Authentication (apiKeyCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + + try: + # Delete Group + api_response = api_instance.delete_group(group_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->delete_group: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + + try: + # Delete Group + api_response = api_instance.delete_group(group_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->delete_group: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + +### Return type + +[**Success**](Success.md) + +### Authorization + +[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response after deleting a Group. | - | +**401** | Error response due to missing apiKey or auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_group_announcement** +> Success delete_group_announcement(group_id) + +Delete Group Announcement + +Deletes the announcement for a Group. + +### Example + +* Api Key Authentication (apiKeyCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + + try: + # Delete Group Announcement + api_response = api_instance.delete_group_announcement(group_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->delete_group_announcement: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + + try: + # Delete Group Announcement + api_response = api_instance.delete_group_announcement(group_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->delete_group_announcement: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + +### Return type + +[**Success**](Success.md) + +### Authorization + +[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response after deleting/clearing the group announcement. | - | +**401** | Error response due to missing apiKey or auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_group_gallery** +> Success delete_group_gallery(group_id, group_gallery_id) + +Delete Group Gallery + +Deletes a gallery for a Group. + +### Example + +* Api Key Authentication (apiKeyCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +group_gallery_id = 'ggal_00000000-0000-0000-0000-000000000000' # str | Must be a valid group gallery ID. + + try: + # Delete Group Gallery + api_response = api_instance.delete_group_gallery(group_id, group_gallery_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->delete_group_gallery: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +group_gallery_id = 'ggal_00000000-0000-0000-0000-000000000000' # str | Must be a valid group gallery ID. + + try: + # Delete Group Gallery + api_response = api_instance.delete_group_gallery(group_id, group_gallery_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->delete_group_gallery: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **group_gallery_id** | **str**| Must be a valid group gallery ID. | + +### Return type + +[**Success**](Success.md) + +### Authorization + +[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response after deleting a group gallery. | - | +**401** | Error response due to missing apiKey or auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_group_gallery_image** +> Success delete_group_gallery_image(group_id, group_gallery_id, group_gallery_image_id) + +Delete Group Gallery Image + +Deletes an image from a Group gallery. + +### Example + +* Api Key Authentication (apiKeyCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +group_gallery_id = 'ggal_00000000-0000-0000-0000-000000000000' # str | Must be a valid group gallery ID. +group_gallery_image_id = 'ggim_00000000-0000-0000-0000-000000000000' # str | Must be a valid group gallery image ID. + + try: + # Delete Group Gallery Image + api_response = api_instance.delete_group_gallery_image(group_id, group_gallery_id, group_gallery_image_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->delete_group_gallery_image: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +group_gallery_id = 'ggal_00000000-0000-0000-0000-000000000000' # str | Must be a valid group gallery ID. +group_gallery_image_id = 'ggim_00000000-0000-0000-0000-000000000000' # str | Must be a valid group gallery image ID. + + try: + # Delete Group Gallery Image + api_response = api_instance.delete_group_gallery_image(group_id, group_gallery_id, group_gallery_image_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->delete_group_gallery_image: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **group_gallery_id** | **str**| Must be a valid group gallery ID. | + **group_gallery_image_id** | **str**| Must be a valid group gallery image ID. | + +### Return type + +[**Success**](Success.md) + +### Authorization + +[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response after deleting a group gallery image. | - | +**401** | Error response due to missing apiKey or auth cookie. | - | +**403** | Error response when trying to delete a submission to a group's gallery when the user does not have permission to do so. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_group_invite** +> delete_group_invite(group_id, user_id) + +Delete User Invite + +Deletes an Group invite sent to a User + +### Example + +* Api Key Authentication (apiKeyCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +user_id = 'user_id_example' # str | Must be a valid user ID. + + try: + # Delete User Invite + api_instance.delete_group_invite(group_id, user_id) + except ApiException as e: + print("Exception when calling GroupsApi->delete_group_invite: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +user_id = 'user_id_example' # str | Must be a valid user ID. + + try: + # Delete User Invite + api_instance.delete_group_invite(group_id, user_id) + except ApiException as e: + print("Exception when calling GroupsApi->delete_group_invite: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **user_id** | **str**| Must be a valid user ID. | + +### Return type + +void (empty response body) + +### Authorization + +[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Error response due to missing apiKey or auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_group_role** +> list[GroupRole] delete_group_role(group_id, group_role_id) + +Delete Group Role + +Deletes a Group Role by ID and returns the remaining roles. + +### Example + +* Api Key Authentication (apiKeyCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +group_role_id = 'grol_00000000-0000-0000-0000-000000000000' # str | Must be a valid group role ID. + + try: + # Delete Group Role + api_response = api_instance.delete_group_role(group_id, group_role_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->delete_group_role: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +group_role_id = 'grol_00000000-0000-0000-0000-000000000000' # str | Must be a valid group role ID. + + try: + # Delete Group Role + api_response = api_instance.delete_group_role(group_id, group_role_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->delete_group_role: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **group_role_id** | **str**| Must be a valid group role ID. | + +### Return type + +[**list[GroupRole]**](GroupRole.md) + +### Authorization + +[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of GroupRole objects. | - | +**401** | Error response due to missing apiKey or auth cookie. | - | +**404** | Error response when trying to perform operations on a group you are not member of. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_group** +> Group get_group(group_id, include_roles=include_roles) + +Get Group by ID + +Returns a single Group by ID. + +### Example + +* Api Key Authentication (apiKeyCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +include_roles = True # bool | Include roles for the Group object. Defaults to false. (optional) + + try: + # Get Group by ID + api_response = api_instance.get_group(group_id, include_roles=include_roles) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->get_group: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +include_roles = True # bool | Include roles for the Group object. Defaults to false. (optional) + + try: + # Get Group by ID + api_response = api_instance.get_group(group_id, include_roles=include_roles) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->get_group: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **include_roles** | **bool**| Include roles for the Group object. Defaults to false. | [optional] + +### Return type + +[**Group**](Group.md) + +### Authorization + +[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single Group object. | - | +**401** | Error response due to missing apiKey or auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_group_announcements** +> GroupAnnouncement get_group_announcements(group_id) + +Get Group Announcement + +Returns the announcement for a Group. If no announcement has been made, then it returns **empty object**. If an announcement exists, then it will always return all fields except `imageId` and `imageUrl` which may be null. + +### Example + +* Api Key Authentication (apiKeyCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + + try: + # Get Group Announcement + api_response = api_instance.get_group_announcements(group_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->get_group_announcements: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + + try: + # Get Group Announcement + api_response = api_instance.get_group_announcements(group_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->get_group_announcements: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + +### Return type + +[**GroupAnnouncement**](GroupAnnouncement.md) + +### Authorization + +[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single GroupAnnouncement object. | - | +**401** | Error response due to missing apiKey or auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_group_audit_logs** +> PaginatedGroupAuditLogEntryList get_group_audit_logs(group_id, n=n, offset=offset, start_date=start_date, end_date=end_date) + +Get Group Audit Logs + +Returns a list of audit logs for a Group. + +### Example + +* Api Key Authentication (apiKeyCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +n = 60 # int | The number of objects to return. (optional) (default to 60) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) +start_date = '2013-10-20T19:20:30+01:00' # datetime | The start date of the search range. (optional) +end_date = '2013-10-20T19:20:30+01:00' # datetime | The end date of the search range. (optional) + + try: + # Get Group Audit Logs + api_response = api_instance.get_group_audit_logs(group_id, n=n, offset=offset, start_date=start_date, end_date=end_date) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->get_group_audit_logs: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +n = 60 # int | The number of objects to return. (optional) (default to 60) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) +start_date = '2013-10-20T19:20:30+01:00' # datetime | The start date of the search range. (optional) +end_date = '2013-10-20T19:20:30+01:00' # datetime | The end date of the search range. (optional) + + try: + # Get Group Audit Logs + api_response = api_instance.get_group_audit_logs(group_id, n=n, offset=offset, start_date=start_date, end_date=end_date) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->get_group_audit_logs: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + **start_date** | **datetime**| The start date of the search range. | [optional] + **end_date** | **datetime**| The end date of the search range. | [optional] + +### Return type + +[**PaginatedGroupAuditLogEntryList**](PaginatedGroupAuditLogEntryList.md) + +### Authorization + +[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of GroupAudit objects, wrapped in new pagination format. | - | +**401** | Error response due to missing apiKey or auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_group_bans** +> list[GroupMember] get_group_bans(group_id, n=n, offset=offset) + +Get Group Bans + +Returns a list of banned users for a Group. + +### Example + +* Api Key Authentication (apiKeyCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +n = 60 # int | The number of objects to return. (optional) (default to 60) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) + + try: + # Get Group Bans + api_response = api_instance.get_group_bans(group_id, n=n, offset=offset) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->get_group_bans: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +n = 60 # int | The number of objects to return. (optional) (default to 60) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) + + try: + # Get Group Bans + api_response = api_instance.get_group_bans(group_id, n=n, offset=offset) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->get_group_bans: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + +### Return type + +[**list[GroupMember]**](GroupMember.md) + +### Authorization + +[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of GroupMember objects. | - | +**401** | Error response due to missing apiKey or auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_group_gallery_images** +> list[GroupGalleryImage] get_group_gallery_images(group_id, group_gallery_id, n=n, offset=offset, approved=approved) + +Get Group Gallery Images + +Returns a list of images for a Group gallery. + +### Example + +* Api Key Authentication (apiKeyCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +group_gallery_id = 'ggal_00000000-0000-0000-0000-000000000000' # str | Must be a valid group gallery ID. +n = 60 # int | The number of objects to return. (optional) (default to 60) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) +approved = True # bool | If specified, only returns images that have been approved or not approved. (optional) + + try: + # Get Group Gallery Images + api_response = api_instance.get_group_gallery_images(group_id, group_gallery_id, n=n, offset=offset, approved=approved) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->get_group_gallery_images: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +group_gallery_id = 'ggal_00000000-0000-0000-0000-000000000000' # str | Must be a valid group gallery ID. +n = 60 # int | The number of objects to return. (optional) (default to 60) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) +approved = True # bool | If specified, only returns images that have been approved or not approved. (optional) + + try: + # Get Group Gallery Images + api_response = api_instance.get_group_gallery_images(group_id, group_gallery_id, n=n, offset=offset, approved=approved) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->get_group_gallery_images: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **group_gallery_id** | **str**| Must be a valid group gallery ID. | + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + **approved** | **bool**| If specified, only returns images that have been approved or not approved. | [optional] + +### Return type + +[**list[GroupGalleryImage]**](GroupGalleryImage.md) + +### Authorization + +[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of GroupGalleryImage objects. | - | +**401** | Error response due to missing apiKey or auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_group_invites** +> list[GroupMember] get_group_invites(group_id) + +Get Group Invites Sent + +Returns a list of members that have been invited to the Group. + +### Example + +* Api Key Authentication (apiKeyCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + + try: + # Get Group Invites Sent + api_response = api_instance.get_group_invites(group_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->get_group_invites: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + + try: + # Get Group Invites Sent + api_response = api_instance.get_group_invites(group_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->get_group_invites: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + +### Return type + +[**list[GroupMember]**](GroupMember.md) + +### Authorization + +[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of GroupMember objects. | - | +**401** | Error response due to missing apiKey or auth cookie. | - | +**403** | Error response when trying to perform operations on a group you are not member of. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_group_member** +> GroupLimitedMember get_group_member(group_id, user_id) + +Get Group Member + +Returns a LimitedGroup Member. + +### Example + +* Api Key Authentication (apiKeyCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +user_id = 'user_id_example' # str | Must be a valid user ID. + + try: + # Get Group Member + api_response = api_instance.get_group_member(group_id, user_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->get_group_member: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +user_id = 'user_id_example' # str | Must be a valid user ID. + + try: + # Get Group Member + api_response = api_instance.get_group_member(group_id, user_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->get_group_member: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **user_id** | **str**| Must be a valid user ID. | + +### Return type + +[**GroupLimitedMember**](GroupLimitedMember.md) + +### Authorization + +[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of GroupMember objects. | - | +**401** | Error response due to missing apiKey or auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_group_members** +> list[GroupMember] get_group_members(group_id, n=n, offset=offset) + +List Group Members + +Returns a List of all **other** Group Members. This endpoint will never return the user calling the endpoint. Information about the user calling the endpoint must be found in the `myMember` field of the Group object. + +### Example + +* Api Key Authentication (apiKeyCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +n = 60 # int | The number of objects to return. (optional) (default to 60) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) + + try: + # List Group Members + api_response = api_instance.get_group_members(group_id, n=n, offset=offset) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->get_group_members: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +n = 60 # int | The number of objects to return. (optional) (default to 60) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) + + try: + # List Group Members + api_response = api_instance.get_group_members(group_id, n=n, offset=offset) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->get_group_members: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + +### Return type + +[**list[GroupMember]**](GroupMember.md) + +### Authorization + +[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of GroupMember objects. | - | +**400** | Error response when trying to search list of users with an invalid request. | - | +**401** | Error response due to missing apiKey or auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_group_permissions** +> list[GroupPermission] get_group_permissions(group_id) + +List Group Permissions + +Returns a List of all possible/available permissions for a Group. + +### Example + +* Api Key Authentication (apiKeyCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + + try: + # List Group Permissions + api_response = api_instance.get_group_permissions(group_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->get_group_permissions: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + + try: + # List Group Permissions + api_response = api_instance.get_group_permissions(group_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->get_group_permissions: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + +### Return type + +[**list[GroupPermission]**](GroupPermission.md) + +### Authorization + +[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of GroupPermission objects. | - | +**400** | Error response when trying to search list of users with an invalid request. | - | +**401** | Error response due to missing apiKey or auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_group_requests** +> list[GroupMember] get_group_requests(group_id) + +Get Group Join Requests + +Returns a list of members that have requested to join the Group. + +### Example + +* Api Key Authentication (apiKeyCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + + try: + # Get Group Join Requests + api_response = api_instance.get_group_requests(group_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->get_group_requests: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + + try: + # Get Group Join Requests + api_response = api_instance.get_group_requests(group_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->get_group_requests: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + +### Return type + +[**list[GroupMember]**](GroupMember.md) + +### Authorization + +[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of GroupMember objects. | - | +**403** | Error response when trying to perform operations on a group you are not member of. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_group_roles** +> list[GroupRole] get_group_roles(group_id) + +Get Group Roles + +Returns a Group Role by ID. + +### Example + +* Api Key Authentication (apiKeyCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + + try: + # Get Group Roles + api_response = api_instance.get_group_roles(group_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->get_group_roles: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + + try: + # Get Group Roles + api_response = api_instance.get_group_roles(group_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->get_group_roles: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + +### Return type + +[**list[GroupRole]**](GroupRole.md) + +### Authorization + +[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of GroupRole objects. | - | +**401** | Error response due to missing apiKey or auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **join_group** +> Group join_group(group_id) + +Join Group + +Join a Group by ID and returns the joined Group. + +### Example + +* Api Key Authentication (apiKeyCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + + try: + # Join Group + api_response = api_instance.join_group(group_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->join_group: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + + try: + # Join Group + api_response = api_instance.join_group(group_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->join_group: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + +### Return type + +[**Group**](Group.md) + +### Authorization + +[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single Group object. | - | +**400** | Error response when trying to join a group that the user is already a member of. | - | +**401** | Error response due to missing apiKey or auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **kick_group_member** +> kick_group_member(group_id, user_id) + +Kick Group Member + +Kicks a Group Member from the Group. The current user must have the \"Remove Group Members\" permission. + +### Example + +* Api Key Authentication (apiKeyCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +user_id = 'user_id_example' # str | Must be a valid user ID. + + try: + # Kick Group Member + api_instance.kick_group_member(group_id, user_id) + except ApiException as e: + print("Exception when calling GroupsApi->kick_group_member: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +user_id = 'user_id_example' # str | Must be a valid user ID. + + try: + # Kick Group Member + api_instance.kick_group_member(group_id, user_id) + except ApiException as e: + print("Exception when calling GroupsApi->kick_group_member: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **user_id** | **str**| Must be a valid user ID. | + +### Return type + +void (empty response body) + +### Authorization + +[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Error response due to missing apiKey or auth cookie. | - | +**403** | Error response when trying to perform operations on a group you are not member of. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **leave_group** +> leave_group(group_id) + +Leave Group + +Leave a group by ID. + +### Example + +* Api Key Authentication (apiKeyCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + + try: + # Leave Group + api_instance.leave_group(group_id) + except ApiException as e: + print("Exception when calling GroupsApi->leave_group: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + + try: + # Leave Group + api_instance.leave_group(group_id) + except ApiException as e: + print("Exception when calling GroupsApi->leave_group: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + +### Return type + +void (empty response body) + +### Authorization + +[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**403** | Error response when trying to perform operations on a group you are not member of. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **remove_group_member_role** +> list[str] remove_group_member_role(group_id, user_id, group_role_id) + +Remove Role from GroupMember + +Removes a Role from a Group Member + +### Example + +* Api Key Authentication (apiKeyCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +user_id = 'user_id_example' # str | Must be a valid user ID. +group_role_id = 'grol_00000000-0000-0000-0000-000000000000' # str | Must be a valid group role ID. + + try: + # Remove Role from GroupMember + api_response = api_instance.remove_group_member_role(group_id, user_id, group_role_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->remove_group_member_role: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +user_id = 'user_id_example' # str | Must be a valid user ID. +group_role_id = 'grol_00000000-0000-0000-0000-000000000000' # str | Must be a valid group role ID. + + try: + # Remove Role from GroupMember + api_response = api_instance.remove_group_member_role(group_id, user_id, group_role_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->remove_group_member_role: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **user_id** | **str**| Must be a valid user ID. | + **group_role_id** | **str**| Must be a valid group role ID. | + +### Return type + +**list[str]** + +### Authorization + +[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of GroupRoleID objects. | - | +**401** | Error response due to missing apiKey or auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **respond_group_join_request** +> respond_group_join_request(group_id, user_id, respond_group_join_request=respond_group_join_request) + +Respond Group Join request + +Responds to a Group Join Request with Accept/Deny + +### Example + +* Api Key Authentication (apiKeyCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +user_id = 'user_id_example' # str | Must be a valid user ID. +respond_group_join_request = vrchatapi.RespondGroupJoinRequest() # RespondGroupJoinRequest | (optional) + + try: + # Respond Group Join request + api_instance.respond_group_join_request(group_id, user_id, respond_group_join_request=respond_group_join_request) + except ApiException as e: + print("Exception when calling GroupsApi->respond_group_join_request: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +user_id = 'user_id_example' # str | Must be a valid user ID. +respond_group_join_request = vrchatapi.RespondGroupJoinRequest() # RespondGroupJoinRequest | (optional) + + try: + # Respond Group Join request + api_instance.respond_group_join_request(group_id, user_id, respond_group_join_request=respond_group_join_request) + except ApiException as e: + print("Exception when calling GroupsApi->respond_group_join_request: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **user_id** | **str**| Must be a valid user ID. | + **respond_group_join_request** | [**RespondGroupJoinRequest**](RespondGroupJoinRequest.md)| | [optional] + +### Return type + +void (empty response body) + +### Authorization + +[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Error response due to missing apiKey or auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **unban_group_member** +> GroupMember unban_group_member(group_id, user_id) + +Unban Group Member + +Unbans a user from a Group. + +### Example + +* Api Key Authentication (apiKeyCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +user_id = 'user_id_example' # str | Must be a valid user ID. + + try: + # Unban Group Member + api_response = api_instance.unban_group_member(group_id, user_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->unban_group_member: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +user_id = 'user_id_example' # str | Must be a valid user ID. + + try: + # Unban Group Member + api_response = api_instance.unban_group_member(group_id, user_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->unban_group_member: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **user_id** | **str**| Must be a valid user ID. | + +### Return type + +[**GroupMember**](GroupMember.md) + +### Authorization + +[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of GroupMember objects. | - | +**401** | Error response due to missing apiKey or auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **update_group** +> Group update_group(group_id, update_group_request=update_group_request) + +Update Group + +Updates a Group and returns it. + +### Example + +* Api Key Authentication (apiKeyCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +update_group_request = vrchatapi.UpdateGroupRequest() # UpdateGroupRequest | (optional) + + try: + # Update Group + api_response = api_instance.update_group(group_id, update_group_request=update_group_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->update_group: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +update_group_request = vrchatapi.UpdateGroupRequest() # UpdateGroupRequest | (optional) + + try: + # Update Group + api_response = api_instance.update_group(group_id, update_group_request=update_group_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->update_group: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **update_group_request** | [**UpdateGroupRequest**](UpdateGroupRequest.md)| | [optional] + +### Return type + +[**Group**](Group.md) + +### Authorization + +[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single Group object. | - | +**401** | Error response due to missing apiKey or auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **update_group_gallery** +> GroupGallery update_group_gallery(group_id, group_gallery_id, update_group_gallery_request=update_group_gallery_request) + +Update Group Gallery + +Updates a gallery for a Group. + +### Example + +* Api Key Authentication (apiKeyCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +group_gallery_id = 'ggal_00000000-0000-0000-0000-000000000000' # str | Must be a valid group gallery ID. +update_group_gallery_request = vrchatapi.UpdateGroupGalleryRequest() # UpdateGroupGalleryRequest | (optional) + + try: + # Update Group Gallery + api_response = api_instance.update_group_gallery(group_id, group_gallery_id, update_group_gallery_request=update_group_gallery_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->update_group_gallery: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +group_gallery_id = 'ggal_00000000-0000-0000-0000-000000000000' # str | Must be a valid group gallery ID. +update_group_gallery_request = vrchatapi.UpdateGroupGalleryRequest() # UpdateGroupGalleryRequest | (optional) + + try: + # Update Group Gallery + api_response = api_instance.update_group_gallery(group_id, group_gallery_id, update_group_gallery_request=update_group_gallery_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->update_group_gallery: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **group_gallery_id** | **str**| Must be a valid group gallery ID. | + **update_group_gallery_request** | [**UpdateGroupGalleryRequest**](UpdateGroupGalleryRequest.md)| | [optional] + +### Return type + +[**GroupGallery**](GroupGallery.md) + +### Authorization + +[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single GroupGallery object. | - | +**401** | Error response due to missing apiKey or auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **update_group_member** +> GroupLimitedMember update_group_member(group_id, user_id, update_group_member_request=update_group_member_request) + +Update Group Member + +Updates a Group Member + +### Example + +* Api Key Authentication (apiKeyCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +user_id = 'user_id_example' # str | Must be a valid user ID. +update_group_member_request = vrchatapi.UpdateGroupMemberRequest() # UpdateGroupMemberRequest | (optional) + + try: + # Update Group Member + api_response = api_instance.update_group_member(group_id, user_id, update_group_member_request=update_group_member_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->update_group_member: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +user_id = 'user_id_example' # str | Must be a valid user ID. +update_group_member_request = vrchatapi.UpdateGroupMemberRequest() # UpdateGroupMemberRequest | (optional) + + try: + # Update Group Member + api_response = api_instance.update_group_member(group_id, user_id, update_group_member_request=update_group_member_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->update_group_member: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **user_id** | **str**| Must be a valid user ID. | + **update_group_member_request** | [**UpdateGroupMemberRequest**](UpdateGroupMemberRequest.md)| | [optional] + +### Return type + +[**GroupLimitedMember**](GroupLimitedMember.md) + +### Authorization + +[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of GroupMember objects. | - | +**401** | Error response due to missing apiKey or auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **update_group_role** +> list[GroupRole] update_group_role(group_id, group_role_id, update_group_role_request=update_group_role_request) + +Update Group Role + +Updates a group role by ID. + +### Example + +* Api Key Authentication (apiKeyCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +group_role_id = 'grol_00000000-0000-0000-0000-000000000000' # str | Must be a valid group role ID. +update_group_role_request = vrchatapi.UpdateGroupRoleRequest() # UpdateGroupRoleRequest | (optional) + + try: + # Update Group Role + api_response = api_instance.update_group_role(group_id, group_role_id, update_group_role_request=update_group_role_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->update_group_role: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +group_role_id = 'grol_00000000-0000-0000-0000-000000000000' # str | Must be a valid group role ID. +update_group_role_request = vrchatapi.UpdateGroupRoleRequest() # UpdateGroupRoleRequest | (optional) + + try: + # Update Group Role + api_response = api_instance.update_group_role(group_id, group_role_id, update_group_role_request=update_group_role_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->update_group_role: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **group_role_id** | **str**| Must be a valid group role ID. | + **update_group_role_request** | [**UpdateGroupRoleRequest**](UpdateGroupRoleRequest.md)| | [optional] + +### Return type + +[**list[GroupRole]**](GroupRole.md) + +### Authorization + +[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of GroupRole objects. | - | +**401** | Error response due to missing apiKey or auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/InfoPush.md b/docs/InfoPush.md index f6500fce..101c6cce 100644 --- a/docs/InfoPush.md +++ b/docs/InfoPush.md @@ -1,7 +1,6 @@ # InfoPush - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- @@ -9,7 +8,7 @@ Name | Type | Description | Notes **is_enabled** | **bool** | | [default to True] **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | **priority** | **int** | | -**tags** | **list[str]** | | +**tags** | **list[str]** | | **data** | [**InfoPushData**](InfoPushData.md) | | **hash** | **str** | Unknown usage, MD5 | **created_at** | **datetime** | | diff --git a/docs/InfoPushData.md b/docs/InfoPushData.md index 26891523..b4073f4a 100644 --- a/docs/InfoPushData.md +++ b/docs/InfoPushData.md @@ -1,7 +1,6 @@ # InfoPushData - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/InstanceType.md b/docs/InstanceType.md index 2b332526..6bdd6968 100644 --- a/docs/InstanceType.md +++ b/docs/InstanceType.md @@ -1,7 +1,6 @@ # InstanceType - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/InstancesApi.md b/docs/InstancesApi.md index edb4fcb7..8a63b0c2 100644 --- a/docs/InstancesApi.md +++ b/docs/InstancesApi.md @@ -53,8 +53,8 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.InstancesApi(api_client) - world_id = 'world_id_example' # str | -instance_id = 'instance_id_example' # str | + world_id = 'world_id_example' # str | Must be a valid world ID. +instance_id = 'instance_id_example' # str | Must be a valid instance ID. try: # Get Instance @@ -98,8 +98,8 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.InstancesApi(api_client) - world_id = 'world_id_example' # str | -instance_id = 'instance_id_example' # str | + world_id = 'world_id_example' # str | Must be a valid world ID. +instance_id = 'instance_id_example' # str | Must be a valid instance ID. try: # Get Instance @@ -113,8 +113,8 @@ instance_id = 'instance_id_example' # str | Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **world_id** | **str**| | - **instance_id** | **str**| | + **world_id** | **str**| Must be a valid world ID. | + **instance_id** | **str**| Must be a valid instance ID. | ### Return type @@ -180,7 +180,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.InstancesApi(api_client) - short_name = 'short_name_example' # str | + short_name = 'short_name_example' # str | Must be a valid instance short name. try: # Get Instance By Short Name @@ -224,7 +224,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.InstancesApi(api_client) - short_name = 'short_name_example' # str | + short_name = 'short_name_example' # str | Must be a valid instance short name. try: # Get Instance By Short Name @@ -238,7 +238,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **short_name** | **str**| | + **short_name** | **str**| Must be a valid instance short name. | ### Return type @@ -305,8 +305,8 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.InstancesApi(api_client) - world_id = 'world_id_example' # str | -instance_id = 'instance_id_example' # str | + world_id = 'world_id_example' # str | Must be a valid world ID. +instance_id = 'instance_id_example' # str | Must be a valid instance ID. try: # Get Instance Short Name @@ -350,8 +350,8 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.InstancesApi(api_client) - world_id = 'world_id_example' # str | -instance_id = 'instance_id_example' # str | + world_id = 'world_id_example' # str | Must be a valid world ID. +instance_id = 'instance_id_example' # str | Must be a valid instance ID. try: # Get Instance Short Name @@ -365,8 +365,8 @@ instance_id = 'instance_id_example' # str | Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **world_id** | **str**| | - **instance_id** | **str**| | + **world_id** | **str**| Must be a valid world ID. | + **instance_id** | **str**| Must be a valid instance ID. | ### Return type @@ -432,8 +432,8 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.InstancesApi(api_client) - world_id = 'world_id_example' # str | -instance_id = 'instance_id_example' # str | + world_id = 'world_id_example' # str | Must be a valid world ID. +instance_id = 'instance_id_example' # str | Must be a valid instance ID. try: # Send Self Invite @@ -477,8 +477,8 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.InstancesApi(api_client) - world_id = 'world_id_example' # str | -instance_id = 'instance_id_example' # str | + world_id = 'world_id_example' # str | Must be a valid world ID. +instance_id = 'instance_id_example' # str | Must be a valid instance ID. try: # Send Self Invite @@ -492,8 +492,8 @@ instance_id = 'instance_id_example' # str | Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **world_id** | **str**| | - **instance_id** | **str**| | + **world_id** | **str**| Must be a valid world ID. | + **instance_id** | **str**| Must be a valid instance ID. | ### Return type diff --git a/docs/InviteApi.md b/docs/InviteApi.md index ac6b4175..4a0c9b81 100644 --- a/docs/InviteApi.md +++ b/docs/InviteApi.md @@ -57,9 +57,9 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.InviteApi(api_client) - user_id = 'user_id_example' # str | -message_type = 'message_type_example' # str | -slot = 56 # int | + user_id = 'user_id_example' # str | Must be a valid user ID. +message_type = vrchatapi.InviteMessageType() # InviteMessageType | The type of message to fetch, must be a valid InviteMessageType. +slot = 56 # int | The message slot to fetch of a given message type. try: # Get Invite Message @@ -103,9 +103,9 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.InviteApi(api_client) - user_id = 'user_id_example' # str | -message_type = 'message_type_example' # str | -slot = 56 # int | + user_id = 'user_id_example' # str | Must be a valid user ID. +message_type = vrchatapi.InviteMessageType() # InviteMessageType | The type of message to fetch, must be a valid InviteMessageType. +slot = 56 # int | The message slot to fetch of a given message type. try: # Get Invite Message @@ -119,9 +119,9 @@ slot = 56 # int | Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | - **message_type** | **str**| | - **slot** | **int**| | + **user_id** | **str**| Must be a valid user ID. | + **message_type** | [**InviteMessageType**](.md)| The type of message to fetch, must be a valid InviteMessageType. | + **slot** | **int**| The message slot to fetch of a given message type. | ### Return type @@ -189,8 +189,8 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.InviteApi(api_client) - user_id = 'user_id_example' # str | -message_type = 'message_type_example' # str | + user_id = 'user_id_example' # str | Must be a valid user ID. +message_type = vrchatapi.InviteMessageType() # InviteMessageType | The type of message to fetch, must be a valid InviteMessageType. try: # List Invite Messages @@ -234,8 +234,8 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.InviteApi(api_client) - user_id = 'user_id_example' # str | -message_type = 'message_type_example' # str | + user_id = 'user_id_example' # str | Must be a valid user ID. +message_type = vrchatapi.InviteMessageType() # InviteMessageType | The type of message to fetch, must be a valid InviteMessageType. try: # List Invite Messages @@ -249,8 +249,8 @@ message_type = 'message_type_example' # str | Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | - **message_type** | **str**| | + **user_id** | **str**| Must be a valid user ID. | + **message_type** | [**InviteMessageType**](.md)| The type of message to fetch, must be a valid InviteMessageType. | ### Return type @@ -317,8 +317,8 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.InviteApi(api_client) - world_id = 'world_id_example' # str | -instance_id = 'instance_id_example' # str | + world_id = 'world_id_example' # str | Must be a valid world ID. +instance_id = 'instance_id_example' # str | Must be a valid instance ID. try: # Invite Myself To Instance @@ -362,8 +362,8 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.InviteApi(api_client) - world_id = 'world_id_example' # str | -instance_id = 'instance_id_example' # str | + world_id = 'world_id_example' # str | Must be a valid world ID. +instance_id = 'instance_id_example' # str | Must be a valid instance ID. try: # Invite Myself To Instance @@ -377,8 +377,8 @@ instance_id = 'instance_id_example' # str | Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **world_id** | **str**| | - **instance_id** | **str**| | + **world_id** | **str**| Must be a valid world ID. | + **instance_id** | **str**| Must be a valid instance ID. | ### Return type @@ -445,7 +445,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.InviteApi(api_client) - user_id = 'user_id_example' # str | + user_id = 'user_id_example' # str | Must be a valid user ID. invite_request = vrchatapi.InviteRequest() # InviteRequest | Slot number of the Invite Message to use when inviting a user. (optional) try: @@ -490,7 +490,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.InviteApi(api_client) - user_id = 'user_id_example' # str | + user_id = 'user_id_example' # str | Must be a valid user ID. invite_request = vrchatapi.InviteRequest() # InviteRequest | Slot number of the Invite Message to use when inviting a user. (optional) try: @@ -505,7 +505,7 @@ invite_request = vrchatapi.InviteRequest() # InviteRequest | Slot number of the Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | + **user_id** | **str**| Must be a valid user ID. | **invite_request** | [**InviteRequest**](InviteRequest.md)| Slot number of the Invite Message to use when inviting a user. | [optional] ### Return type @@ -572,7 +572,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.InviteApi(api_client) - user_id = 'user_id_example' # str | + user_id = 'user_id_example' # str | Must be a valid user ID. request_invite_request = vrchatapi.RequestInviteRequest() # RequestInviteRequest | Slot number of the Request Message to use when request an invite. (optional) try: @@ -617,7 +617,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.InviteApi(api_client) - user_id = 'user_id_example' # str | + user_id = 'user_id_example' # str | Must be a valid user ID. request_invite_request = vrchatapi.RequestInviteRequest() # RequestInviteRequest | Slot number of the Request Message to use when request an invite. (optional) try: @@ -632,7 +632,7 @@ request_invite_request = vrchatapi.RequestInviteRequest() # RequestInviteRequest Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | + **user_id** | **str**| Must be a valid user ID. | **request_invite_request** | [**RequestInviteRequest**](RequestInviteRequest.md)| Slot number of the Request Message to use when request an invite. | [optional] ### Return type @@ -699,9 +699,9 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.InviteApi(api_client) - user_id = 'user_id_example' # str | -message_type = 'message_type_example' # str | -slot = 56 # int | + user_id = 'user_id_example' # str | Must be a valid user ID. +message_type = vrchatapi.InviteMessageType() # InviteMessageType | The type of message to fetch, must be a valid InviteMessageType. +slot = 56 # int | The message slot to fetch of a given message type. try: # Reset Invite Message @@ -745,9 +745,9 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.InviteApi(api_client) - user_id = 'user_id_example' # str | -message_type = 'message_type_example' # str | -slot = 56 # int | + user_id = 'user_id_example' # str | Must be a valid user ID. +message_type = vrchatapi.InviteMessageType() # InviteMessageType | The type of message to fetch, must be a valid InviteMessageType. +slot = 56 # int | The message slot to fetch of a given message type. try: # Reset Invite Message @@ -761,9 +761,9 @@ slot = 56 # int | Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | - **message_type** | **str**| | - **slot** | **int**| | + **user_id** | **str**| Must be a valid user ID. | + **message_type** | [**InviteMessageType**](.md)| The type of message to fetch, must be a valid InviteMessageType. | + **slot** | **int**| The message slot to fetch of a given message type. | ### Return type @@ -832,7 +832,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.InviteApi(api_client) - notification_id = 'notification_id_example' # str | + notification_id = 'notification_id_example' # str | Must be a valid notification ID. invite_response = vrchatapi.InviteResponse() # InviteResponse | Slot number of the Response Message to use when responding to a user. (optional) try: @@ -877,7 +877,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.InviteApi(api_client) - notification_id = 'notification_id_example' # str | + notification_id = 'notification_id_example' # str | Must be a valid notification ID. invite_response = vrchatapi.InviteResponse() # InviteResponse | Slot number of the Response Message to use when responding to a user. (optional) try: @@ -892,7 +892,7 @@ invite_response = vrchatapi.InviteResponse() # InviteResponse | Slot number of t Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **notification_id** | **str**| | + **notification_id** | **str**| Must be a valid notification ID. | **invite_response** | [**InviteResponse**](InviteResponse.md)| Slot number of the Response Message to use when responding to a user. | [optional] ### Return type @@ -959,9 +959,9 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.InviteApi(api_client) - user_id = 'user_id_example' # str | -message_type = 'message_type_example' # str | -slot = 56 # int | + user_id = 'user_id_example' # str | Must be a valid user ID. +message_type = vrchatapi.InviteMessageType() # InviteMessageType | The type of message to fetch, must be a valid InviteMessageType. +slot = 56 # int | The message slot to fetch of a given message type. update_invite_message_request = vrchatapi.UpdateInviteMessageRequest() # UpdateInviteMessageRequest | Message of what to set the invite message to. (optional) try: @@ -1006,9 +1006,9 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.InviteApi(api_client) - user_id = 'user_id_example' # str | -message_type = 'message_type_example' # str | -slot = 56 # int | + user_id = 'user_id_example' # str | Must be a valid user ID. +message_type = vrchatapi.InviteMessageType() # InviteMessageType | The type of message to fetch, must be a valid InviteMessageType. +slot = 56 # int | The message slot to fetch of a given message type. update_invite_message_request = vrchatapi.UpdateInviteMessageRequest() # UpdateInviteMessageRequest | Message of what to set the invite message to. (optional) try: @@ -1023,9 +1023,9 @@ update_invite_message_request = vrchatapi.UpdateInviteMessageRequest() # UpdateI Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | - **message_type** | **str**| | - **slot** | **int**| | + **user_id** | **str**| Must be a valid user ID. | + **message_type** | [**InviteMessageType**](.md)| The type of message to fetch, must be a valid InviteMessageType. | + **slot** | **int**| The message slot to fetch of a given message type. | **update_invite_message_request** | [**UpdateInviteMessageRequest**](UpdateInviteMessageRequest.md)| Message of what to set the invite message to. | [optional] ### Return type diff --git a/docs/InviteMessage.md b/docs/InviteMessage.md index 2620174b..a636209d 100644 --- a/docs/InviteMessage.md +++ b/docs/InviteMessage.md @@ -1,7 +1,6 @@ # InviteMessage - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/InviteMessageType.md b/docs/InviteMessageType.md index 7283c51f..0a48c36a 100644 --- a/docs/InviteMessageType.md +++ b/docs/InviteMessageType.md @@ -1,7 +1,6 @@ # InviteMessageType - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/LicenseGroup.md b/docs/LicenseGroup.md index 71f89aa5..83d8a4f2 100644 --- a/docs/LicenseGroup.md +++ b/docs/LicenseGroup.md @@ -1,7 +1,6 @@ # LicenseGroup - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/LimitedUnityPackage.md b/docs/LimitedUnityPackage.md index 3c6a2299..77edbf5f 100644 --- a/docs/LimitedUnityPackage.md +++ b/docs/LimitedUnityPackage.md @@ -1,7 +1,6 @@ # LimitedUnityPackage - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/LimitedUser.md b/docs/LimitedUser.md index a4febad2..008fd394 100644 --- a/docs/LimitedUser.md +++ b/docs/LimitedUser.md @@ -1,7 +1,6 @@ # LimitedUser - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/LimitedWorld.md b/docs/LimitedWorld.md index 9e768d87..f6472a5c 100644 --- a/docs/LimitedWorld.md +++ b/docs/LimitedWorld.md @@ -1,7 +1,6 @@ # LimitedWorld - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- @@ -20,9 +19,9 @@ Name | Type | Description | Notes **popularity** | **int** | | [default to 0] **publication_date** | **str** | | **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | -**tags** | **list[str]** | | +**tags** | **list[str]** | | **thumbnail_image_url** | **str** | | -**unity_packages** | [**list[LimitedUnityPackage]**](LimitedUnityPackage.md) | | +**unity_packages** | [**list[LimitedUnityPackage]**](LimitedUnityPackage.md) | | **updated_at** | **datetime** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Notification.md b/docs/Notification.md index a65c1615..a289142c 100644 --- a/docs/Notification.md +++ b/docs/Notification.md @@ -1,15 +1,15 @@ # Notification - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **created_at** | **datetime** | | -**details** | **str** | **NOTICE:** This is not a JSON object, this is a json **encoded** object, meaning you have to json-de-encode to get the NotificationDetail object depending on the NotificationType. | [default to '{}'] +**details** | **str** | **NOTICE:** This is not a JSON object when received from the REST API, but it is when received from the Websocket API. When received from the REST API, this is a json **encoded** object, meaning you have to json-de-encode to get the NotificationDetail object depending on the NotificationType. | [default to '{}'] **id** | **str** | | **message** | **str** | | -**seen** | **bool** | | [default to False] +**seen** | **bool** | Not included in notification objects received from the Websocket API | [optional] [default to False] +**receiver_user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] **sender_user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | **sender_username** | **str** | -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). | [optional] **type** | [**NotificationType**](NotificationType.md) | | diff --git a/docs/NotificationsApi.md b/docs/NotificationsApi.md index 03ae5f3a..e9156553 100644 --- a/docs/NotificationsApi.md +++ b/docs/NotificationsApi.md @@ -54,7 +54,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.NotificationsApi(api_client) - notification_id = 'notification_id_example' # str | + notification_id = 'notification_id_example' # str | Must be a valid notification ID. try: # Accept Friend Request @@ -98,7 +98,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.NotificationsApi(api_client) - notification_id = 'notification_id_example' # str | + notification_id = 'notification_id_example' # str | Must be a valid notification ID. try: # Accept Friend Request @@ -112,7 +112,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **notification_id** | **str**| | + **notification_id** | **str**| Must be a valid notification ID. | ### Return type @@ -298,7 +298,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.NotificationsApi(api_client) - notification_id = 'notification_id_example' # str | + notification_id = 'notification_id_example' # str | Must be a valid notification ID. try: # Delete Notification @@ -342,7 +342,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.NotificationsApi(api_client) - notification_id = 'notification_id_example' # str | + notification_id = 'notification_id_example' # str | Must be a valid notification ID. try: # Delete Notification @@ -356,7 +356,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **notification_id** | **str**| | + **notification_id** | **str**| Must be a valid notification ID. | ### Return type @@ -561,7 +561,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.NotificationsApi(api_client) - notification_id = 'notification_id_example' # str | + notification_id = 'notification_id_example' # str | Must be a valid notification ID. try: # Mark Notification As Read @@ -605,7 +605,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.NotificationsApi(api_client) - notification_id = 'notification_id_example' # str | + notification_id = 'notification_id_example' # str | Must be a valid notification ID. try: # Mark Notification As Read @@ -619,7 +619,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **notification_id** | **str**| | + **notification_id** | **str**| Must be a valid notification ID. | ### Return type diff --git a/docs/OrderOption.md b/docs/OrderOption.md new file mode 100644 index 00000000..7fb4f1ec --- /dev/null +++ b/docs/OrderOption.md @@ -0,0 +1,10 @@ +# OrderOption + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/PaginatedGroupAuditLogEntryList.md b/docs/PaginatedGroupAuditLogEntryList.md new file mode 100644 index 00000000..e244c64c --- /dev/null +++ b/docs/PaginatedGroupAuditLogEntryList.md @@ -0,0 +1,13 @@ +# PaginatedGroupAuditLogEntryList + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**results** | [**list[GroupAuditLogEntry]**](GroupAuditLogEntry.md) | | [optional] +**total_count** | **int** | The total number of results that the query would return if there were no pagination. | [optional] +**has_next** | **bool** | Whether there are more results after this page. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Permission.md b/docs/Permission.md index c02d66e4..308db5bb 100644 --- a/docs/Permission.md +++ b/docs/Permission.md @@ -1,7 +1,6 @@ # Permission - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/PermissionsApi.md b/docs/PermissionsApi.md index 3db0810e..13b34b1e 100644 --- a/docs/PermissionsApi.md +++ b/docs/PermissionsApi.md @@ -170,7 +170,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.PermissionsApi(api_client) - permission_id = 'permission_id_example' # str | + permission_id = 'permission_id_example' # str | Must be a valid permission ID. try: # Get Permission @@ -214,7 +214,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.PermissionsApi(api_client) - permission_id = 'permission_id_example' # str | + permission_id = 'permission_id_example' # str | Must be a valid permission ID. try: # Get Permission @@ -228,7 +228,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **permission_id** | **str**| | + **permission_id** | **str**| Must be a valid permission ID. | ### Return type diff --git a/docs/PlayermoderationApi.md b/docs/PlayermoderationApi.md index e7ad3642..56825f97 100644 --- a/docs/PlayermoderationApi.md +++ b/docs/PlayermoderationApi.md @@ -174,7 +174,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.PlayermoderationApi(api_client) - player_moderation_id = 'player_moderation_id_example' # str | + player_moderation_id = 'player_moderation_id_example' # str | Must be a valid `pmod_` ID. try: # Delete Player Moderation @@ -218,7 +218,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.PlayermoderationApi(api_client) - player_moderation_id = 'player_moderation_id_example' # str | + player_moderation_id = 'player_moderation_id_example' # str | Must be a valid `pmod_` ID. try: # Delete Player Moderation @@ -232,7 +232,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **player_moderation_id** | **str**| | + **player_moderation_id** | **str**| Must be a valid `pmod_` ID. | ### Return type @@ -299,7 +299,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.PlayermoderationApi(api_client) - player_moderation_id = 'player_moderation_id_example' # str | + player_moderation_id = 'player_moderation_id_example' # str | Must be a valid `pmod_` ID. try: # Get Player Moderation @@ -343,7 +343,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.PlayermoderationApi(api_client) - player_moderation_id = 'player_moderation_id_example' # str | + player_moderation_id = 'player_moderation_id_example' # str | Must be a valid `pmod_` ID. try: # Get Player Moderation @@ -357,7 +357,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **player_moderation_id** | **str**| | + **player_moderation_id** | **str**| Must be a valid `pmod_` ID. | ### Return type diff --git a/docs/RespondGroupJoinRequest.md b/docs/RespondGroupJoinRequest.md new file mode 100644 index 00000000..530aee2a --- /dev/null +++ b/docs/RespondGroupJoinRequest.md @@ -0,0 +1,11 @@ +# RespondGroupJoinRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**action** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SentNotification.md b/docs/SentNotification.md index cf248521..d86a9c8b 100644 --- a/docs/SentNotification.md +++ b/docs/SentNotification.md @@ -1,7 +1,6 @@ # SentNotification - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/SortOption.md b/docs/SortOption.md new file mode 100644 index 00000000..41f79b93 --- /dev/null +++ b/docs/SortOption.md @@ -0,0 +1,10 @@ +# SortOption + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Subscription.md b/docs/Subscription.md index 2f3b3ab0..54e54f9b 100644 --- a/docs/Subscription.md +++ b/docs/Subscription.md @@ -1,7 +1,6 @@ # Subscription - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/Transaction.md b/docs/Transaction.md index 7359375d..b069fedf 100644 --- a/docs/Transaction.md +++ b/docs/Transaction.md @@ -1,7 +1,6 @@ # Transaction - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/TransactionAgreement.md b/docs/TransactionAgreement.md index 5ec065c1..b86a09c7 100644 --- a/docs/TransactionAgreement.md +++ b/docs/TransactionAgreement.md @@ -1,7 +1,6 @@ # TransactionAgreement - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/TransactionSteamInfo.md b/docs/TransactionSteamInfo.md index 0facfdf8..0c50fdfa 100644 --- a/docs/TransactionSteamInfo.md +++ b/docs/TransactionSteamInfo.md @@ -1,7 +1,6 @@ # TransactionSteamInfo - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/TransactionSteamWalletInfo.md b/docs/TransactionSteamWalletInfo.md index 5bc682fa..31fe89e0 100644 --- a/docs/TransactionSteamWalletInfo.md +++ b/docs/TransactionSteamWalletInfo.md @@ -1,7 +1,6 @@ # TransactionSteamWalletInfo - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/UnityPackage.md b/docs/UnityPackage.md index d1b96b23..bc04cad4 100644 --- a/docs/UnityPackage.md +++ b/docs/UnityPackage.md @@ -1,7 +1,6 @@ # UnityPackage - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/UpdateAvatarRequest.md b/docs/UpdateAvatarRequest.md index e2540d7d..57592058 100644 --- a/docs/UpdateAvatarRequest.md +++ b/docs/UpdateAvatarRequest.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **id** | **str** | | [optional] **name** | **str** | | [optional] **description** | **str** | | [optional] -**tags** | **list[str]** | | [optional] +**tags** | **list[str]** | | [optional] **image_url** | **str** | | [optional] **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | [optional] **version** | **float** | | [optional] [default to 1] diff --git a/docs/UpdateGroupGalleryRequest.md b/docs/UpdateGroupGalleryRequest.md new file mode 100644 index 00000000..df44716e --- /dev/null +++ b/docs/UpdateGroupGalleryRequest.md @@ -0,0 +1,17 @@ +# UpdateGroupGalleryRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **str** | Name of the gallery. | [optional] +**description** | **str** | Description of the gallery. | [optional] +**members_only** | **bool** | Whether the gallery is members only. | [optional] [default to False] +**role_ids_to_view** | **list[str]** | | [optional] +**role_ids_to_submit** | **list[str]** | | [optional] +**role_ids_to_auto_approve** | **list[str]** | | [optional] +**role_ids_to_manage** | **list[str]** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/UpdateGroupMemberRequest.md b/docs/UpdateGroupMemberRequest.md new file mode 100644 index 00000000..6b491ed5 --- /dev/null +++ b/docs/UpdateGroupMemberRequest.md @@ -0,0 +1,13 @@ +# UpdateGroupMemberRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**visibility** | [**GroupUserVisibility**](GroupUserVisibility.md) | | [optional] +**is_subscribed_to_announcements** | **bool** | | [optional] +**manager_notes** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/UpdateGroupRequest.md b/docs/UpdateGroupRequest.md new file mode 100644 index 00000000..cdce7a24 --- /dev/null +++ b/docs/UpdateGroupRequest.md @@ -0,0 +1,20 @@ +# UpdateGroupRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **str** | | [optional] +**short_code** | **str** | | [optional] +**description** | **str** | | [optional] +**join_state** | [**GroupJoinState**](GroupJoinState.md) | | [optional] +**icon_id** | **str** | | [optional] [default to 'null'] +**banner_id** | **str** | | [optional] [default to 'null'] +**languages** | **list[str]** | 3 letter language code | [optional] +**links** | **list[str]** | | [optional] +**rules** | **str** | | [optional] +**tags** | **list[str]** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/UpdateGroupRoleRequest.md b/docs/UpdateGroupRoleRequest.md new file mode 100644 index 00000000..5a0638c4 --- /dev/null +++ b/docs/UpdateGroupRoleRequest.md @@ -0,0 +1,15 @@ +# UpdateGroupRoleRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **str** | | [optional] +**description** | **str** | | [optional] +**is_self_assignable** | **bool** | | [optional] [default to False] +**permissions** | **list[str]** | | [optional] +**order** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/UpdateUserRequest.md b/docs/UpdateUserRequest.md index f5806be7..a3d2a72b 100644 --- a/docs/UpdateUserRequest.md +++ b/docs/UpdateUserRequest.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **email** | **str** | | [optional] **birthday** | **date** | | [optional] **accepted_tos_version** | **float** | | [optional] -**tags** | **list[str]** | | [optional] +**tags** | **list[str]** | | [optional] **status** | [**UserStatus**](UserStatus.md) | | [optional] **status_description** | **str** | | [optional] **bio** | **str** | | [optional] diff --git a/docs/UpdateWorldRequest.md b/docs/UpdateWorldRequest.md index 968fed3a..2c57a4f8 100644 --- a/docs/UpdateWorldRequest.md +++ b/docs/UpdateWorldRequest.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes **name** | **str** | | [optional] **platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | [optional] **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | [optional] -**tags** | **list[str]** | | [optional] +**tags** | **list[str]** | | [optional] **unity_package_url** | **str** | | [optional] **unity_version** | **str** | | [optional] [default to '5.3.4p1'] diff --git a/docs/User.md b/docs/User.md index 6740390d..fc84c438 100644 --- a/docs/User.md +++ b/docs/User.md @@ -26,7 +26,7 @@ Name | Type | Description | Notes **state** | [**UserState**](UserState.md) | | **status** | [**UserStatus**](UserStatus.md) | | **status_description** | **str** | | -**tags** | **list[str]** | | +**tags** | **list[str]** | | **traveling_to_instance** | **str** | | [optional] **traveling_to_location** | **str** | | [optional] **traveling_to_world** | **str** | | [optional] diff --git a/docs/UserSubscription.md b/docs/UserSubscription.md index fc71ddc0..8170af1e 100644 --- a/docs/UserSubscription.md +++ b/docs/UserSubscription.md @@ -1,7 +1,6 @@ # UserSubscription - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/UsersApi.md b/docs/UsersApi.md index b53c0321..d0443435 100644 --- a/docs/UsersApi.md +++ b/docs/UsersApi.md @@ -6,6 +6,8 @@ Method | HTTP request | Description ------------- | ------------- | ------------- [**get_user**](UsersApi.md#get_user) | **GET** /users/{userId} | Get User by ID [**get_user_by_name**](UsersApi.md#get_user_by_name) | **GET** /users/{username}/name | Get User by Username +[**get_user_group_requests**](UsersApi.md#get_user_group_requests) | **GET** /users/{userId}/groups/requested | Get User Group Requests +[**get_user_groups**](UsersApi.md#get_user_groups) | **GET** /users/{userId}/groups | Get User Groups [**search_users**](UsersApi.md#search_users) | **GET** /users | Search All Users [**update_user**](UsersApi.md#update_user) | **PUT** /users/{userId} | Update User Info @@ -53,7 +55,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.UsersApi(api_client) - user_id = 'user_id_example' # str | + user_id = 'user_id_example' # str | Must be a valid user ID. try: # Get User by ID @@ -97,7 +99,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.UsersApi(api_client) - user_id = 'user_id_example' # str | + user_id = 'user_id_example' # str | Must be a valid user ID. try: # Get User by ID @@ -111,7 +113,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | + **user_id** | **str**| Must be a valid user ID. | ### Return type @@ -177,7 +179,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.UsersApi(api_client) - username = 'username_example' # str | + username = 'username_example' # str | Username of the user try: # Get User by Username @@ -221,7 +223,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.UsersApi(api_client) - username = 'username_example' # str | + username = 'username_example' # str | Username of the user try: # Get User by Username @@ -235,7 +237,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **str**| | + **username** | **str**| Username of the user | ### Return type @@ -258,6 +260,254 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_user_group_requests** +> list[Group] get_user_group_requests(user_id) + +Get User Group Requests + +Returns a list of Groups the user has requested to be invited into. + +### Example + +* Api Key Authentication (apiKeyCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.UsersApi(api_client) + user_id = 'user_id_example' # str | Must be a valid user ID. + + try: + # Get User Group Requests + api_response = api_instance.get_user_group_requests(user_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling UsersApi->get_user_group_requests: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.UsersApi(api_client) + user_id = 'user_id_example' # str | Must be a valid user ID. + + try: + # Get User Group Requests + api_response = api_instance.get_user_group_requests(user_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling UsersApi->get_user_group_requests: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | + +### Return type + +[**list[Group]**](Group.md) + +### Authorization + +[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of Group objects. | - | +**401** | Error response due to missing apiKey or auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_user_groups** +> list[Group] get_user_groups(user_id) + +Get User Groups + +Get user's public groups + +### Example + +* Api Key Authentication (apiKeyCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.UsersApi(api_client) + user_id = 'user_id_example' # str | Must be a valid user ID. + + try: + # Get User Groups + api_response = api_instance.get_user_groups(user_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling UsersApi->get_user_groups: %s\n" % e) +``` + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: apiKeyCookie +configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.UsersApi(api_client) + user_id = 'user_id_example' # str | Must be a valid user ID. + + try: + # Get User Groups + api_response = api_instance.get_user_groups(user_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling UsersApi->get_user_groups: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | + +### Return type + +[**list[Group]**](Group.md) + +### Authorization + +[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of Group objects. | - | +**401** | Error response due to missing apiKey or auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **search_users** > list[LimitedUser] search_users(search=search, developer_type=developer_type, n=n, offset=offset) @@ -435,7 +685,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.UsersApi(api_client) - user_id = 'user_id_example' # str | + user_id = 'user_id_example' # str | Must be a valid user ID. update_user_request = vrchatapi.UpdateUserRequest() # UpdateUserRequest | (optional) try: @@ -480,7 +730,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.UsersApi(api_client) - user_id = 'user_id_example' # str | + user_id = 'user_id_example' # str | Must be a valid user ID. update_user_request = vrchatapi.UpdateUserRequest() # UpdateUserRequest | (optional) try: @@ -495,7 +745,7 @@ update_user_request = vrchatapi.UpdateUserRequest() # UpdateUserRequest | (opti Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | + **user_id** | **str**| Must be a valid user ID. | **update_user_request** | [**UpdateUserRequest**](UpdateUserRequest.md)| | [optional] ### Return type @@ -515,6 +765,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single CurrentUser object. | - | +**401** | Error response due to missing apiKey or auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/World.md b/docs/World.md index f1ab2456..03c09bab 100644 --- a/docs/World.md +++ b/docs/World.md @@ -1,7 +1,6 @@ # World - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- @@ -27,7 +26,7 @@ Name | Type | Description | Notes **public_occupants** | **int** | Will always be `0` when unauthenticated. | [optional] [default to 0] **publication_date** | **str** | | **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | -**tags** | **list[str]** | | +**tags** | **list[str]** | | **thumbnail_image_url** | **str** | | **unity_packages** | [**list[UnityPackage]**](UnityPackage.md) | Empty if unauthenticated. | **updated_at** | **datetime** | | diff --git a/docs/WorldsApi.md b/docs/WorldsApi.md index 6e5bf14b..26b600fd 100644 --- a/docs/WorldsApi.md +++ b/docs/WorldsApi.md @@ -126,7 +126,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.WorldsApi(api_client) - world_id = 'world_id_example' # str | + world_id = 'world_id_example' # str | Must be a valid world ID. try: # Delete World @@ -169,7 +169,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.WorldsApi(api_client) - world_id = 'world_id_example' # str | + world_id = 'world_id_example' # str | Must be a valid world ID. try: # Delete World @@ -182,7 +182,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **world_id** | **str**| | + **world_id** | **str**| Must be a valid world ID. | ### Return type @@ -250,14 +250,14 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.WorldsApi(api_client) featured = True # bool | Filters on featured results. (optional) -sort = 'popularity' # str | (optional) (default to 'popularity') +sort = vrchatapi.SortOption() # SortOption | The sort order of the results. (optional) n = 60 # int | The number of objects to return. (optional) (default to 60) -order = 'descending' # str | (optional) (default to 'descending') +order = vrchatapi.OrderOption() # OrderOption | Result ordering (optional) offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) search = 'search_example' # str | Filters by world name. (optional) tag = 'tag_example' # str | Tags to include (comma-separated). Any of the tags needs to be present. (optional) notag = 'notag_example' # str | Tags to exclude (comma-separated). (optional) -release_status = 'public' # str | Filter by ReleaseStatus. (optional) (default to 'public') +release_status = vrchatapi.ReleaseStatus() # ReleaseStatus | Filter by ReleaseStatus. (optional) max_unity_version = 'max_unity_version_example' # str | The maximum Unity version supported by the asset. (optional) min_unity_version = 'min_unity_version_example' # str | The minimum Unity version supported by the asset. (optional) platform = 'platform_example' # str | The platform the asset supports. (optional) @@ -305,14 +305,14 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.WorldsApi(api_client) featured = True # bool | Filters on featured results. (optional) -sort = 'popularity' # str | (optional) (default to 'popularity') +sort = vrchatapi.SortOption() # SortOption | The sort order of the results. (optional) n = 60 # int | The number of objects to return. (optional) (default to 60) -order = 'descending' # str | (optional) (default to 'descending') +order = vrchatapi.OrderOption() # OrderOption | Result ordering (optional) offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) search = 'search_example' # str | Filters by world name. (optional) tag = 'tag_example' # str | Tags to include (comma-separated). Any of the tags needs to be present. (optional) notag = 'notag_example' # str | Tags to exclude (comma-separated). (optional) -release_status = 'public' # str | Filter by ReleaseStatus. (optional) (default to 'public') +release_status = vrchatapi.ReleaseStatus() # ReleaseStatus | Filter by ReleaseStatus. (optional) max_unity_version = 'max_unity_version_example' # str | The maximum Unity version supported by the asset. (optional) min_unity_version = 'min_unity_version_example' # str | The minimum Unity version supported by the asset. (optional) platform = 'platform_example' # str | The platform the asset supports. (optional) @@ -330,14 +330,14 @@ platform = 'platform_example' # str | The platform the asset supports. (optional Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **featured** | **bool**| Filters on featured results. | [optional] - **sort** | **str**| | [optional] [default to 'popularity'] + **sort** | [**SortOption**](.md)| The sort order of the results. | [optional] **n** | **int**| The number of objects to return. | [optional] [default to 60] - **order** | **str**| | [optional] [default to 'descending'] + **order** | [**OrderOption**](.md)| Result ordering | [optional] **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] **search** | **str**| Filters by world name. | [optional] **tag** | **str**| Tags to include (comma-separated). Any of the tags needs to be present. | [optional] **notag** | **str**| Tags to exclude (comma-separated). | [optional] - **release_status** | **str**| Filter by ReleaseStatus. | [optional] [default to 'public'] + **release_status** | [**ReleaseStatus**](.md)| Filter by ReleaseStatus. | [optional] **max_unity_version** | **str**| The maximum Unity version supported by the asset. | [optional] **min_unity_version** | **str**| The minimum Unity version supported by the asset. | [optional] **platform** | **str**| The platform the asset supports. | [optional] @@ -407,14 +407,14 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.WorldsApi(api_client) featured = True # bool | Filters on featured results. (optional) -sort = 'popularity' # str | (optional) (default to 'popularity') +sort = vrchatapi.SortOption() # SortOption | The sort order of the results. (optional) n = 60 # int | The number of objects to return. (optional) (default to 60) -order = 'descending' # str | (optional) (default to 'descending') +order = vrchatapi.OrderOption() # OrderOption | Result ordering (optional) offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) search = 'search_example' # str | Filters by world name. (optional) tag = 'tag_example' # str | Tags to include (comma-separated). Any of the tags needs to be present. (optional) notag = 'notag_example' # str | Tags to exclude (comma-separated). (optional) -release_status = 'public' # str | Filter by ReleaseStatus. (optional) (default to 'public') +release_status = vrchatapi.ReleaseStatus() # ReleaseStatus | Filter by ReleaseStatus. (optional) max_unity_version = 'max_unity_version_example' # str | The maximum Unity version supported by the asset. (optional) min_unity_version = 'min_unity_version_example' # str | The minimum Unity version supported by the asset. (optional) platform = 'platform_example' # str | The platform the asset supports. (optional) @@ -463,14 +463,14 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.WorldsApi(api_client) featured = True # bool | Filters on featured results. (optional) -sort = 'popularity' # str | (optional) (default to 'popularity') +sort = vrchatapi.SortOption() # SortOption | The sort order of the results. (optional) n = 60 # int | The number of objects to return. (optional) (default to 60) -order = 'descending' # str | (optional) (default to 'descending') +order = vrchatapi.OrderOption() # OrderOption | Result ordering (optional) offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) search = 'search_example' # str | Filters by world name. (optional) tag = 'tag_example' # str | Tags to include (comma-separated). Any of the tags needs to be present. (optional) notag = 'notag_example' # str | Tags to exclude (comma-separated). (optional) -release_status = 'public' # str | Filter by ReleaseStatus. (optional) (default to 'public') +release_status = vrchatapi.ReleaseStatus() # ReleaseStatus | Filter by ReleaseStatus. (optional) max_unity_version = 'max_unity_version_example' # str | The maximum Unity version supported by the asset. (optional) min_unity_version = 'min_unity_version_example' # str | The minimum Unity version supported by the asset. (optional) platform = 'platform_example' # str | The platform the asset supports. (optional) @@ -489,14 +489,14 @@ user_id = 'user_id_example' # str | Target user to see information on, admin-onl Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **featured** | **bool**| Filters on featured results. | [optional] - **sort** | **str**| | [optional] [default to 'popularity'] + **sort** | [**SortOption**](.md)| The sort order of the results. | [optional] **n** | **int**| The number of objects to return. | [optional] [default to 60] - **order** | **str**| | [optional] [default to 'descending'] + **order** | [**OrderOption**](.md)| Result ordering | [optional] **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] **search** | **str**| Filters by world name. | [optional] **tag** | **str**| Tags to include (comma-separated). Any of the tags needs to be present. | [optional] **notag** | **str**| Tags to exclude (comma-separated). | [optional] - **release_status** | **str**| Filter by ReleaseStatus. | [optional] [default to 'public'] + **release_status** | [**ReleaseStatus**](.md)| Filter by ReleaseStatus. | [optional] **max_unity_version** | **str**| The maximum Unity version supported by the asset. | [optional] **min_unity_version** | **str**| The minimum Unity version supported by the asset. | [optional] **platform** | **str**| The platform the asset supports. | [optional] @@ -568,14 +568,14 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.WorldsApi(api_client) featured = True # bool | Filters on featured results. (optional) -sort = 'popularity' # str | (optional) (default to 'popularity') +sort = vrchatapi.SortOption() # SortOption | The sort order of the results. (optional) n = 60 # int | The number of objects to return. (optional) (default to 60) -order = 'descending' # str | (optional) (default to 'descending') +order = vrchatapi.OrderOption() # OrderOption | Result ordering (optional) offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) search = 'search_example' # str | Filters by world name. (optional) tag = 'tag_example' # str | Tags to include (comma-separated). Any of the tags needs to be present. (optional) notag = 'notag_example' # str | Tags to exclude (comma-separated). (optional) -release_status = 'public' # str | Filter by ReleaseStatus. (optional) (default to 'public') +release_status = vrchatapi.ReleaseStatus() # ReleaseStatus | Filter by ReleaseStatus. (optional) max_unity_version = 'max_unity_version_example' # str | The maximum Unity version supported by the asset. (optional) min_unity_version = 'min_unity_version_example' # str | The minimum Unity version supported by the asset. (optional) platform = 'platform_example' # str | The platform the asset supports. (optional) @@ -624,14 +624,14 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.WorldsApi(api_client) featured = True # bool | Filters on featured results. (optional) -sort = 'popularity' # str | (optional) (default to 'popularity') +sort = vrchatapi.SortOption() # SortOption | The sort order of the results. (optional) n = 60 # int | The number of objects to return. (optional) (default to 60) -order = 'descending' # str | (optional) (default to 'descending') +order = vrchatapi.OrderOption() # OrderOption | Result ordering (optional) offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) search = 'search_example' # str | Filters by world name. (optional) tag = 'tag_example' # str | Tags to include (comma-separated). Any of the tags needs to be present. (optional) notag = 'notag_example' # str | Tags to exclude (comma-separated). (optional) -release_status = 'public' # str | Filter by ReleaseStatus. (optional) (default to 'public') +release_status = vrchatapi.ReleaseStatus() # ReleaseStatus | Filter by ReleaseStatus. (optional) max_unity_version = 'max_unity_version_example' # str | The maximum Unity version supported by the asset. (optional) min_unity_version = 'min_unity_version_example' # str | The minimum Unity version supported by the asset. (optional) platform = 'platform_example' # str | The platform the asset supports. (optional) @@ -650,14 +650,14 @@ user_id = 'user_id_example' # str | Target user to see information on, admin-onl Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **featured** | **bool**| Filters on featured results. | [optional] - **sort** | **str**| | [optional] [default to 'popularity'] + **sort** | [**SortOption**](.md)| The sort order of the results. | [optional] **n** | **int**| The number of objects to return. | [optional] [default to 60] - **order** | **str**| | [optional] [default to 'descending'] + **order** | [**OrderOption**](.md)| Result ordering | [optional] **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] **search** | **str**| Filters by world name. | [optional] **tag** | **str**| Tags to include (comma-separated). Any of the tags needs to be present. | [optional] **notag** | **str**| Tags to exclude (comma-separated). | [optional] - **release_status** | **str**| Filter by ReleaseStatus. | [optional] [default to 'public'] + **release_status** | [**ReleaseStatus**](.md)| Filter by ReleaseStatus. | [optional] **max_unity_version** | **str**| The maximum Unity version supported by the asset. | [optional] **min_unity_version** | **str**| The minimum Unity version supported by the asset. | [optional] **platform** | **str**| The platform the asset supports. | [optional] @@ -722,7 +722,7 @@ configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.WorldsApi(api_client) - world_id = 'world_id_example' # str | + world_id = 'world_id_example' # str | Must be a valid world ID. try: # Get World by ID @@ -736,7 +736,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **world_id** | **str**| | + **world_id** | **str**| Must be a valid world ID. | ### Return type @@ -802,8 +802,8 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.WorldsApi(api_client) - world_id = 'world_id_example' # str | -instance_id = 'instance_id_example' # str | + world_id = 'world_id_example' # str | Must be a valid world ID. +instance_id = 'instance_id_example' # str | Must be a valid instance ID. try: # Get World Instance @@ -847,8 +847,8 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.WorldsApi(api_client) - world_id = 'world_id_example' # str | -instance_id = 'instance_id_example' # str | + world_id = 'world_id_example' # str | Must be a valid world ID. +instance_id = 'instance_id_example' # str | Must be a valid instance ID. try: # Get World Instance @@ -862,8 +862,8 @@ instance_id = 'instance_id_example' # str | Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **world_id** | **str**| | - **instance_id** | **str**| | + **world_id** | **str**| Must be a valid world ID. | + **instance_id** | **str**| Must be a valid instance ID. | ### Return type @@ -929,7 +929,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.WorldsApi(api_client) - world_id = 'world_id_example' # str | + world_id = 'world_id_example' # str | Must be a valid world ID. try: # Get World Metadata @@ -973,7 +973,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.WorldsApi(api_client) - world_id = 'world_id_example' # str | + world_id = 'world_id_example' # str | Must be a valid world ID. try: # Get World Metadata @@ -987,7 +987,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **world_id** | **str**| | + **world_id** | **str**| Must be a valid world ID. | ### Return type @@ -1053,7 +1053,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.WorldsApi(api_client) - world_id = 'world_id_example' # str | + world_id = 'world_id_example' # str | Must be a valid world ID. try: # Get World Publish Status @@ -1097,7 +1097,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.WorldsApi(api_client) - world_id = 'world_id_example' # str | + world_id = 'world_id_example' # str | Must be a valid world ID. try: # Get World Publish Status @@ -1111,7 +1111,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **world_id** | **str**| | + **world_id** | **str**| Must be a valid world ID. | ### Return type @@ -1178,7 +1178,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.WorldsApi(api_client) - world_id = 'world_id_example' # str | + world_id = 'world_id_example' # str | Must be a valid world ID. try: # Publish World @@ -1221,7 +1221,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.WorldsApi(api_client) - world_id = 'world_id_example' # str | + world_id = 'world_id_example' # str | Must be a valid world ID. try: # Publish World @@ -1234,7 +1234,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **world_id** | **str**| | + **world_id** | **str**| Must be a valid world ID. | ### Return type @@ -1302,16 +1302,16 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.WorldsApi(api_client) featured = True # bool | Filters on featured results. (optional) -sort = 'popularity' # str | (optional) (default to 'popularity') +sort = vrchatapi.SortOption() # SortOption | The sort order of the results. (optional) user = 'user_example' # str | Set to `me` for searching own worlds. (optional) user_id = 'user_id_example' # str | Filter by UserID. (optional) n = 60 # int | The number of objects to return. (optional) (default to 60) -order = 'descending' # str | (optional) (default to 'descending') +order = vrchatapi.OrderOption() # OrderOption | Result ordering (optional) offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) search = 'search_example' # str | Filters by world name. (optional) tag = 'tag_example' # str | Tags to include (comma-separated). Any of the tags needs to be present. (optional) notag = 'notag_example' # str | Tags to exclude (comma-separated). (optional) -release_status = 'public' # str | Filter by ReleaseStatus. (optional) (default to 'public') +release_status = vrchatapi.ReleaseStatus() # ReleaseStatus | Filter by ReleaseStatus. (optional) max_unity_version = 'max_unity_version_example' # str | The maximum Unity version supported by the asset. (optional) min_unity_version = 'min_unity_version_example' # str | The minimum Unity version supported by the asset. (optional) platform = 'platform_example' # str | The platform the asset supports. (optional) @@ -1359,16 +1359,16 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.WorldsApi(api_client) featured = True # bool | Filters on featured results. (optional) -sort = 'popularity' # str | (optional) (default to 'popularity') +sort = vrchatapi.SortOption() # SortOption | The sort order of the results. (optional) user = 'user_example' # str | Set to `me` for searching own worlds. (optional) user_id = 'user_id_example' # str | Filter by UserID. (optional) n = 60 # int | The number of objects to return. (optional) (default to 60) -order = 'descending' # str | (optional) (default to 'descending') +order = vrchatapi.OrderOption() # OrderOption | Result ordering (optional) offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) search = 'search_example' # str | Filters by world name. (optional) tag = 'tag_example' # str | Tags to include (comma-separated). Any of the tags needs to be present. (optional) notag = 'notag_example' # str | Tags to exclude (comma-separated). (optional) -release_status = 'public' # str | Filter by ReleaseStatus. (optional) (default to 'public') +release_status = vrchatapi.ReleaseStatus() # ReleaseStatus | Filter by ReleaseStatus. (optional) max_unity_version = 'max_unity_version_example' # str | The maximum Unity version supported by the asset. (optional) min_unity_version = 'min_unity_version_example' # str | The minimum Unity version supported by the asset. (optional) platform = 'platform_example' # str | The platform the asset supports. (optional) @@ -1386,16 +1386,16 @@ platform = 'platform_example' # str | The platform the asset supports. (optional Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **featured** | **bool**| Filters on featured results. | [optional] - **sort** | **str**| | [optional] [default to 'popularity'] + **sort** | [**SortOption**](.md)| The sort order of the results. | [optional] **user** | **str**| Set to `me` for searching own worlds. | [optional] **user_id** | **str**| Filter by UserID. | [optional] **n** | **int**| The number of objects to return. | [optional] [default to 60] - **order** | **str**| | [optional] [default to 'descending'] + **order** | [**OrderOption**](.md)| Result ordering | [optional] **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] **search** | **str**| Filters by world name. | [optional] **tag** | **str**| Tags to include (comma-separated). Any of the tags needs to be present. | [optional] **notag** | **str**| Tags to exclude (comma-separated). | [optional] - **release_status** | **str**| Filter by ReleaseStatus. | [optional] [default to 'public'] + **release_status** | [**ReleaseStatus**](.md)| Filter by ReleaseStatus. | [optional] **max_unity_version** | **str**| The maximum Unity version supported by the asset. | [optional] **min_unity_version** | **str**| The minimum Unity version supported by the asset. | [optional] **platform** | **str**| The platform the asset supports. | [optional] @@ -1464,7 +1464,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.WorldsApi(api_client) - world_id = 'world_id_example' # str | + world_id = 'world_id_example' # str | Must be a valid world ID. try: # Unpublish World @@ -1507,7 +1507,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.WorldsApi(api_client) - world_id = 'world_id_example' # str | + world_id = 'world_id_example' # str | Must be a valid world ID. try: # Unpublish World @@ -1520,7 +1520,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **world_id** | **str**| | + **world_id** | **str**| Must be a valid world ID. | ### Return type @@ -1587,7 +1587,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.WorldsApi(api_client) - world_id = 'world_id_example' # str | + world_id = 'world_id_example' # str | Must be a valid world ID. update_world_request = vrchatapi.UpdateWorldRequest() # UpdateWorldRequest | (optional) try: @@ -1632,7 +1632,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.WorldsApi(api_client) - world_id = 'world_id_example' # str | + world_id = 'world_id_example' # str | Must be a valid world ID. update_world_request = vrchatapi.UpdateWorldRequest() # UpdateWorldRequest | (optional) try: @@ -1647,7 +1647,7 @@ update_world_request = vrchatapi.UpdateWorldRequest() # UpdateWorldRequest | (o Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **world_id** | **str**| | + **world_id** | **str**| Must be a valid world ID. | **update_world_request** | [**UpdateWorldRequest**](UpdateWorldRequest.md)| | [optional] ### Return type diff --git a/openapitools.json b/openapitools.json index f5f966a1..3b40e47a 100644 --- a/openapitools.json +++ b/openapitools.json @@ -2,6 +2,6 @@ "$schema": "node_modules/@openapitools/openapi-generator-cli/config.schema.json", "spaces": 2, "generator-cli": { - "version": "6.2.1" + "version": "5.3.0" } } diff --git a/setup.py b/setup.py index f302a054..7c2ecabe 100644 --- a/setup.py +++ b/setup.py @@ -107,8 +107,6 @@ packages=find_packages(exclude=["test", "tests"]), include_package_data=True, license="The MIT License (MIT)", -long_description_content_type="text/markdown", - long_description_content_type='text/markdown', long_description="""\ ![](https://github.com/vrchatapi/vrchatapi.github.io/blob/main/static/assets/img/lang/lang_python_banner_1500x300.png?raw=true) diff --git a/test-requirements.txt b/test-requirements.txt index 96e37c87..4ed3991c 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,4 +1,3 @@ pytest~=4.6.7 # needed for python 2.7+3.4 pytest-cov>=2.8.1 pytest-randomly==1.2.3 # needed for python 2.7+3.4 -mock; python_version<'3.0' diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 5ab345bc..05f9035a 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -23,6 +23,7 @@ from vrchatapi.api.favorites_api import FavoritesApi from vrchatapi.api.files_api import FilesApi from vrchatapi.api.friends_api import FriendsApi +from vrchatapi.api.groups_api import GroupsApi from vrchatapi.api.instances_api import InstancesApi from vrchatapi.api.invite_api import InviteApi from vrchatapi.api.notifications_api import NotificationsApi @@ -43,19 +44,27 @@ from vrchatapi.exceptions import ApiException # import models into sdk package from vrchatapi.models.api_config import APIConfig -from vrchatapi.models.api_event_config import APIEventConfig +from vrchatapi.models.api_config_announcement import APIConfigAnnouncement +from vrchatapi.models.api_config_download_url_list import APIConfigDownloadURLList +from vrchatapi.models.api_config_events import APIConfigEvents from vrchatapi.models.api_health import APIHealth from vrchatapi.models.add_favorite_request import AddFavoriteRequest +from vrchatapi.models.add_group_gallery_image_request import AddGroupGalleryImageRequest from vrchatapi.models.avatar import Avatar from vrchatapi.models.avatar_unity_package_url_object import AvatarUnityPackageUrlObject +from vrchatapi.models.ban_group_member_request import BanGroupMemberRequest from vrchatapi.models.create_avatar_request import CreateAvatarRequest from vrchatapi.models.create_file_request import CreateFileRequest from vrchatapi.models.create_file_version_request import CreateFileVersionRequest +from vrchatapi.models.create_group_announcement_request import CreateGroupAnnouncementRequest +from vrchatapi.models.create_group_gallery_request import CreateGroupGalleryRequest +from vrchatapi.models.create_group_invite_request import CreateGroupInviteRequest +from vrchatapi.models.create_group_request import CreateGroupRequest +from vrchatapi.models.create_group_role_request import CreateGroupRoleRequest from vrchatapi.models.create_world_request import CreateWorldRequest from vrchatapi.models.current_user import CurrentUser from vrchatapi.models.deployment_group import DeploymentGroup from vrchatapi.models.developer_type import DeveloperType -from vrchatapi.models.download_url_list import DownloadURLList from vrchatapi.models.dynamic_content_row import DynamicContentRow from vrchatapi.models.error import Error from vrchatapi.models.favorite import Favorite @@ -70,6 +79,22 @@ from vrchatapi.models.file_version_upload_status import FileVersionUploadStatus from vrchatapi.models.finish_file_data_upload_request import FinishFileDataUploadRequest from vrchatapi.models.friend_status import FriendStatus +from vrchatapi.models.group import Group +from vrchatapi.models.group_announcement import GroupAnnouncement +from vrchatapi.models.group_audit_log_entry import GroupAuditLogEntry +from vrchatapi.models.group_gallery import GroupGallery +from vrchatapi.models.group_gallery_image import GroupGalleryImage +from vrchatapi.models.group_join_state import GroupJoinState +from vrchatapi.models.group_limited_member import GroupLimitedMember +from vrchatapi.models.group_member import GroupMember +from vrchatapi.models.group_member_limited_user import GroupMemberLimitedUser +from vrchatapi.models.group_member_status import GroupMemberStatus +from vrchatapi.models.group_my_member import GroupMyMember +from vrchatapi.models.group_permission import GroupPermission +from vrchatapi.models.group_privacy import GroupPrivacy +from vrchatapi.models.group_role import GroupRole +from vrchatapi.models.group_role_template import GroupRoleTemplate +from vrchatapi.models.group_user_visibility import GroupUserVisibility from vrchatapi.models.info_push import InfoPush from vrchatapi.models.info_push_data import InfoPushData from vrchatapi.models.info_push_data_article import InfoPushDataArticle @@ -94,16 +119,19 @@ from vrchatapi.models.moderate_user_request import ModerateUserRequest from vrchatapi.models.notification import Notification from vrchatapi.models.notification_type import NotificationType +from vrchatapi.models.order_option import OrderOption +from vrchatapi.models.paginated_group_audit_log_entry_list import PaginatedGroupAuditLogEntryList from vrchatapi.models.past_display_name import PastDisplayName from vrchatapi.models.permission import Permission from vrchatapi.models.player_moderation import PlayerModeration from vrchatapi.models.player_moderation_type import PlayerModerationType -from vrchatapi.models.public_announcement import PublicAnnouncement from vrchatapi.models.region import Region from vrchatapi.models.release_status import ReleaseStatus from vrchatapi.models.request_invite_request import RequestInviteRequest +from vrchatapi.models.respond_group_join_request import RespondGroupJoinRequest from vrchatapi.models.response import Response from vrchatapi.models.sent_notification import SentNotification +from vrchatapi.models.sort_option import SortOption from vrchatapi.models.subscription import Subscription from vrchatapi.models.subscription_period import SubscriptionPeriod from vrchatapi.models.success import Success @@ -116,6 +144,10 @@ from vrchatapi.models.unity_package import UnityPackage from vrchatapi.models.update_avatar_request import UpdateAvatarRequest from vrchatapi.models.update_favorite_group_request import UpdateFavoriteGroupRequest +from vrchatapi.models.update_group_gallery_request import UpdateGroupGalleryRequest +from vrchatapi.models.update_group_member_request import UpdateGroupMemberRequest +from vrchatapi.models.update_group_request import UpdateGroupRequest +from vrchatapi.models.update_group_role_request import UpdateGroupRoleRequest from vrchatapi.models.update_invite_message_request import UpdateInviteMessageRequest from vrchatapi.models.update_user_request import UpdateUserRequest from vrchatapi.models.update_world_request import UpdateWorldRequest diff --git a/vrchatapi/api/__init__.py b/vrchatapi/api/__init__.py index 4453a93f..30ac81f9 100644 --- a/vrchatapi/api/__init__.py +++ b/vrchatapi/api/__init__.py @@ -9,6 +9,7 @@ from vrchatapi.api.favorites_api import FavoritesApi from vrchatapi.api.files_api import FilesApi from vrchatapi.api.friends_api import FriendsApi +from vrchatapi.api.groups_api import GroupsApi from vrchatapi.api.instances_api import InstancesApi from vrchatapi.api.invite_api import InviteApi from vrchatapi.api.notifications_api import NotificationsApi diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index f49f2f4f..0ab4a862 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -107,7 +107,6 @@ def check_user_exists_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -128,9 +127,7 @@ def check_user_exists_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -148,16 +145,16 @@ def check_user_exists_with_http_info(self, **kwargs): # noqa: E501 path_params = {} query_params = [] - if local_var_params.get('email') is not None: # noqa: E501 + if 'email' in local_var_params and local_var_params['email'] is not None: # noqa: E501 query_params.append(('email', local_var_params['email'])) # noqa: E501 - if local_var_params.get('display_name') is not None: # noqa: E501 + if 'display_name' in local_var_params and local_var_params['display_name'] is not None: # noqa: E501 query_params.append(('displayName', local_var_params['display_name'])) # noqa: E501 - if local_var_params.get('user_id') is not None: # noqa: E501 + if 'user_id' in local_var_params and local_var_params['user_id'] is not None: # noqa: E501 query_params.append(('userId', local_var_params['user_id'])) # noqa: E501 - if local_var_params.get('exclude_user_id') is not None: # noqa: E501 + if 'exclude_user_id' in local_var_params and local_var_params['exclude_user_id'] is not None: # noqa: E501 query_params.append(('excludeUserId', local_var_params['exclude_user_id'])) # noqa: E501 - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -202,7 +199,7 @@ def delete_user(self, user_id, **kwargs): # noqa: E501 >>> thread = api.delete_user(user_id, async_req=True) >>> result = thread.get() - :param user_id: (required) + :param user_id: Must be a valid user ID. (required) :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -232,7 +229,7 @@ def delete_user_with_http_info(self, user_id, **kwargs): # noqa: E501 >>> thread = api.delete_user_with_http_info(user_id, async_req=True) >>> result = thread.get() - :param user_id: (required) + :param user_id: Must be a valid user ID. (required) :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -251,7 +248,6 @@ def delete_user_with_http_info(self, user_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -269,9 +265,7 @@ def delete_user_with_http_info(self, user_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -284,7 +278,8 @@ def delete_user_with_http_info(self, user_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 + local_var_params['user_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `delete_user`") # noqa: E501 collection_formats = {} @@ -295,7 +290,7 @@ def delete_user_with_http_info(self, user_id, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -385,7 +380,6 @@ def get_current_user_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -402,9 +396,7 @@ def get_current_user_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -423,7 +415,7 @@ def get_current_user_with_http_info(self, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -513,7 +505,6 @@ def logout_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -530,9 +521,7 @@ def logout_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -551,7 +540,7 @@ def logout_with_http_info(self, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -645,7 +634,6 @@ def verify2_fa_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -663,9 +651,7 @@ def verify2_fa_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -684,7 +670,7 @@ def verify2_fa_with_http_info(self, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -697,12 +683,8 @@ def verify2_fa_with_http_info(self, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # HTTP header `Content-Type` - content_types_list = local_var_params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'], - 'POST', body_params)) # noqa: E501 - if content_types_list: - header_params['Content-Type'] = content_types_list + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 # Authentication setting auth_settings = ['authCookie'] # noqa: E501 @@ -784,7 +766,6 @@ def verify_auth_token_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -801,9 +782,7 @@ def verify_auth_token_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -822,7 +801,7 @@ def verify_auth_token_with_http_info(self, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -916,7 +895,6 @@ def verify_recovery_code_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -934,9 +912,7 @@ def verify_recovery_code_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -955,7 +931,7 @@ def verify_recovery_code_with_http_info(self, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -968,12 +944,8 @@ def verify_recovery_code_with_http_info(self, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # HTTP header `Content-Type` - content_types_list = local_var_params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'], - 'POST', body_params)) # noqa: E501 - if content_types_list: - header_params['Content-Type'] = content_types_list + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 # Authentication setting auth_settings = ['authCookie'] # noqa: E501 diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index 6651dbaf..8d92b9d4 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -95,7 +95,6 @@ def create_avatar_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -113,9 +112,7 @@ def create_avatar_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -134,7 +131,7 @@ def create_avatar_with_http_info(self, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -147,12 +144,8 @@ def create_avatar_with_http_info(self, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # HTTP header `Content-Type` - content_types_list = local_var_params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'], - 'POST', body_params)) # noqa: E501 - if content_types_list: - header_params['Content-Type'] = content_types_list + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 # Authentication setting auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 @@ -189,7 +182,7 @@ def delete_avatar(self, avatar_id, **kwargs): # noqa: E501 >>> thread = api.delete_avatar(avatar_id, async_req=True) >>> result = thread.get() - :param avatar_id: (required) + :param avatar_id: Must be a valid avatar ID. (required) :type avatar_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -219,7 +212,7 @@ def delete_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 >>> thread = api.delete_avatar_with_http_info(avatar_id, async_req=True) >>> result = thread.get() - :param avatar_id: (required) + :param avatar_id: Must be a valid avatar ID. (required) :type avatar_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -238,7 +231,6 @@ def delete_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -256,9 +248,7 @@ def delete_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -271,7 +261,8 @@ def delete_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'avatar_id' is set - if self.api_client.client_side_validation and local_var_params.get('avatar_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('avatar_id' not in local_var_params or # noqa: E501 + local_var_params['avatar_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `avatar_id` when calling `delete_avatar`") # noqa: E501 collection_formats = {} @@ -282,7 +273,7 @@ def delete_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -328,7 +319,7 @@ def get_avatar(self, avatar_id, **kwargs): # noqa: E501 >>> thread = api.get_avatar(avatar_id, async_req=True) >>> result = thread.get() - :param avatar_id: (required) + :param avatar_id: Must be a valid avatar ID. (required) :type avatar_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -358,7 +349,7 @@ def get_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 >>> thread = api.get_avatar_with_http_info(avatar_id, async_req=True) >>> result = thread.get() - :param avatar_id: (required) + :param avatar_id: Must be a valid avatar ID. (required) :type avatar_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -377,7 +368,6 @@ def get_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -395,9 +385,7 @@ def get_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -410,7 +398,8 @@ def get_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'avatar_id' is set - if self.api_client.client_side_validation and local_var_params.get('avatar_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('avatar_id' not in local_var_params or # noqa: E501 + local_var_params['avatar_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `avatar_id` when calling `get_avatar`") # noqa: E501 collection_formats = {} @@ -421,7 +410,7 @@ def get_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -469,12 +458,12 @@ def get_favorited_avatars(self, **kwargs): # noqa: E501 :param featured: Filters on featured results. :type featured: bool - :param sort: - :type sort: str + :param sort: The sort order of the results. + :type sort: SortOption :param n: The number of objects to return. :type n: int - :param order: - :type order: str + :param order: Result ordering + :type order: OrderOption :param offset: A zero-based offset from the default object sorting from where search results start. :type offset: int :param search: Filters by world name. @@ -484,7 +473,7 @@ def get_favorited_avatars(self, **kwargs): # noqa: E501 :param notag: Tags to exclude (comma-separated). :type notag: str :param release_status: Filter by ReleaseStatus. - :type release_status: str + :type release_status: ReleaseStatus :param max_unity_version: The maximum Unity version supported by the asset. :type max_unity_version: str :param min_unity_version: The minimum Unity version supported by the asset. @@ -523,12 +512,12 @@ def get_favorited_avatars_with_http_info(self, **kwargs): # noqa: E501 :param featured: Filters on featured results. :type featured: bool - :param sort: - :type sort: str + :param sort: The sort order of the results. + :type sort: SortOption :param n: The number of objects to return. :type n: int - :param order: - :type order: str + :param order: Result ordering + :type order: OrderOption :param offset: A zero-based offset from the default object sorting from where search results start. :type offset: int :param search: Filters by world name. @@ -538,7 +527,7 @@ def get_favorited_avatars_with_http_info(self, **kwargs): # noqa: E501 :param notag: Tags to exclude (comma-separated). :type notag: str :param release_status: Filter by ReleaseStatus. - :type release_status: str + :type release_status: ReleaseStatus :param max_unity_version: The maximum Unity version supported by the asset. :type max_unity_version: str :param min_unity_version: The minimum Unity version supported by the asset. @@ -564,7 +553,6 @@ def get_favorited_avatars_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -594,9 +582,7 @@ def get_favorited_avatars_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -620,34 +606,34 @@ def get_favorited_avatars_with_http_info(self, **kwargs): # noqa: E501 path_params = {} query_params = [] - if local_var_params.get('featured') is not None: # noqa: E501 + if 'featured' in local_var_params and local_var_params['featured'] is not None: # noqa: E501 query_params.append(('featured', local_var_params['featured'])) # noqa: E501 - if local_var_params.get('sort') is not None: # noqa: E501 + if 'sort' in local_var_params and local_var_params['sort'] is not None: # noqa: E501 query_params.append(('sort', local_var_params['sort'])) # noqa: E501 - if local_var_params.get('n') is not None: # noqa: E501 + if 'n' in local_var_params and local_var_params['n'] is not None: # noqa: E501 query_params.append(('n', local_var_params['n'])) # noqa: E501 - if local_var_params.get('order') is not None: # noqa: E501 + if 'order' in local_var_params and local_var_params['order'] is not None: # noqa: E501 query_params.append(('order', local_var_params['order'])) # noqa: E501 - if local_var_params.get('offset') is not None: # noqa: E501 + if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501 query_params.append(('offset', local_var_params['offset'])) # noqa: E501 - if local_var_params.get('search') is not None: # noqa: E501 + if 'search' in local_var_params and local_var_params['search'] is not None: # noqa: E501 query_params.append(('search', local_var_params['search'])) # noqa: E501 - if local_var_params.get('tag') is not None: # noqa: E501 + if 'tag' in local_var_params and local_var_params['tag'] is not None: # noqa: E501 query_params.append(('tag', local_var_params['tag'])) # noqa: E501 - if local_var_params.get('notag') is not None: # noqa: E501 + if 'notag' in local_var_params and local_var_params['notag'] is not None: # noqa: E501 query_params.append(('notag', local_var_params['notag'])) # noqa: E501 - if local_var_params.get('release_status') is not None: # noqa: E501 + if 'release_status' in local_var_params and local_var_params['release_status'] is not None: # noqa: E501 query_params.append(('releaseStatus', local_var_params['release_status'])) # noqa: E501 - if local_var_params.get('max_unity_version') is not None: # noqa: E501 + if 'max_unity_version' in local_var_params and local_var_params['max_unity_version'] is not None: # noqa: E501 query_params.append(('maxUnityVersion', local_var_params['max_unity_version'])) # noqa: E501 - if local_var_params.get('min_unity_version') is not None: # noqa: E501 + if 'min_unity_version' in local_var_params and local_var_params['min_unity_version'] is not None: # noqa: E501 query_params.append(('minUnityVersion', local_var_params['min_unity_version'])) # noqa: E501 - if local_var_params.get('platform') is not None: # noqa: E501 + if 'platform' in local_var_params and local_var_params['platform'] is not None: # noqa: E501 query_params.append(('platform', local_var_params['platform'])) # noqa: E501 - if local_var_params.get('user_id') is not None: # noqa: E501 + if 'user_id' in local_var_params and local_var_params['user_id'] is not None: # noqa: E501 query_params.append(('userId', local_var_params['user_id'])) # noqa: E501 - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -693,7 +679,7 @@ def get_own_avatar(self, user_id, **kwargs): # noqa: E501 >>> thread = api.get_own_avatar(user_id, async_req=True) >>> result = thread.get() - :param user_id: (required) + :param user_id: Must be a valid user ID. (required) :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -723,7 +709,7 @@ def get_own_avatar_with_http_info(self, user_id, **kwargs): # noqa: E501 >>> thread = api.get_own_avatar_with_http_info(user_id, async_req=True) >>> result = thread.get() - :param user_id: (required) + :param user_id: Must be a valid user ID. (required) :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -742,7 +728,6 @@ def get_own_avatar_with_http_info(self, user_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -760,9 +745,7 @@ def get_own_avatar_with_http_info(self, user_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -775,7 +758,8 @@ def get_own_avatar_with_http_info(self, user_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 + local_var_params['user_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `get_own_avatar`") # noqa: E501 collection_formats = {} @@ -786,7 +770,7 @@ def get_own_avatar_with_http_info(self, user_id, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -834,16 +818,16 @@ def search_avatars(self, **kwargs): # noqa: E501 :param featured: Filters on featured results. :type featured: bool - :param sort: - :type sort: str + :param sort: The sort order of the results. + :type sort: SortOption :param user: Set to `me` for searching own avatars. :type user: str :param user_id: Filter by UserID. :type user_id: str :param n: The number of objects to return. :type n: int - :param order: - :type order: str + :param order: Result ordering + :type order: OrderOption :param offset: A zero-based offset from the default object sorting from where search results start. :type offset: int :param tag: Tags to include (comma-separated). Any of the tags needs to be present. @@ -851,7 +835,7 @@ def search_avatars(self, **kwargs): # noqa: E501 :param notag: Tags to exclude (comma-separated). :type notag: str :param release_status: Filter by ReleaseStatus. - :type release_status: str + :type release_status: ReleaseStatus :param max_unity_version: The maximum Unity version supported by the asset. :type max_unity_version: str :param min_unity_version: The minimum Unity version supported by the asset. @@ -888,16 +872,16 @@ def search_avatars_with_http_info(self, **kwargs): # noqa: E501 :param featured: Filters on featured results. :type featured: bool - :param sort: - :type sort: str + :param sort: The sort order of the results. + :type sort: SortOption :param user: Set to `me` for searching own avatars. :type user: str :param user_id: Filter by UserID. :type user_id: str :param n: The number of objects to return. :type n: int - :param order: - :type order: str + :param order: Result ordering + :type order: OrderOption :param offset: A zero-based offset from the default object sorting from where search results start. :type offset: int :param tag: Tags to include (comma-separated). Any of the tags needs to be present. @@ -905,7 +889,7 @@ def search_avatars_with_http_info(self, **kwargs): # noqa: E501 :param notag: Tags to exclude (comma-separated). :type notag: str :param release_status: Filter by ReleaseStatus. - :type release_status: str + :type release_status: ReleaseStatus :param max_unity_version: The maximum Unity version supported by the asset. :type max_unity_version: str :param min_unity_version: The minimum Unity version supported by the asset. @@ -929,7 +913,6 @@ def search_avatars_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -959,9 +942,7 @@ def search_avatars_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -985,34 +966,34 @@ def search_avatars_with_http_info(self, **kwargs): # noqa: E501 path_params = {} query_params = [] - if local_var_params.get('featured') is not None: # noqa: E501 + if 'featured' in local_var_params and local_var_params['featured'] is not None: # noqa: E501 query_params.append(('featured', local_var_params['featured'])) # noqa: E501 - if local_var_params.get('sort') is not None: # noqa: E501 + if 'sort' in local_var_params and local_var_params['sort'] is not None: # noqa: E501 query_params.append(('sort', local_var_params['sort'])) # noqa: E501 - if local_var_params.get('user') is not None: # noqa: E501 + if 'user' in local_var_params and local_var_params['user'] is not None: # noqa: E501 query_params.append(('user', local_var_params['user'])) # noqa: E501 - if local_var_params.get('user_id') is not None: # noqa: E501 + if 'user_id' in local_var_params and local_var_params['user_id'] is not None: # noqa: E501 query_params.append(('userId', local_var_params['user_id'])) # noqa: E501 - if local_var_params.get('n') is not None: # noqa: E501 + if 'n' in local_var_params and local_var_params['n'] is not None: # noqa: E501 query_params.append(('n', local_var_params['n'])) # noqa: E501 - if local_var_params.get('order') is not None: # noqa: E501 + if 'order' in local_var_params and local_var_params['order'] is not None: # noqa: E501 query_params.append(('order', local_var_params['order'])) # noqa: E501 - if local_var_params.get('offset') is not None: # noqa: E501 + if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501 query_params.append(('offset', local_var_params['offset'])) # noqa: E501 - if local_var_params.get('tag') is not None: # noqa: E501 + if 'tag' in local_var_params and local_var_params['tag'] is not None: # noqa: E501 query_params.append(('tag', local_var_params['tag'])) # noqa: E501 - if local_var_params.get('notag') is not None: # noqa: E501 + if 'notag' in local_var_params and local_var_params['notag'] is not None: # noqa: E501 query_params.append(('notag', local_var_params['notag'])) # noqa: E501 - if local_var_params.get('release_status') is not None: # noqa: E501 + if 'release_status' in local_var_params and local_var_params['release_status'] is not None: # noqa: E501 query_params.append(('releaseStatus', local_var_params['release_status'])) # noqa: E501 - if local_var_params.get('max_unity_version') is not None: # noqa: E501 + if 'max_unity_version' in local_var_params and local_var_params['max_unity_version'] is not None: # noqa: E501 query_params.append(('maxUnityVersion', local_var_params['max_unity_version'])) # noqa: E501 - if local_var_params.get('min_unity_version') is not None: # noqa: E501 + if 'min_unity_version' in local_var_params and local_var_params['min_unity_version'] is not None: # noqa: E501 query_params.append(('minUnityVersion', local_var_params['min_unity_version'])) # noqa: E501 - if local_var_params.get('platform') is not None: # noqa: E501 + if 'platform' in local_var_params and local_var_params['platform'] is not None: # noqa: E501 query_params.append(('platform', local_var_params['platform'])) # noqa: E501 - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -1057,7 +1038,7 @@ def select_avatar(self, avatar_id, **kwargs): # noqa: E501 >>> thread = api.select_avatar(avatar_id, async_req=True) >>> result = thread.get() - :param avatar_id: (required) + :param avatar_id: Must be a valid avatar ID. (required) :type avatar_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -1087,7 +1068,7 @@ def select_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 >>> thread = api.select_avatar_with_http_info(avatar_id, async_req=True) >>> result = thread.get() - :param avatar_id: (required) + :param avatar_id: Must be a valid avatar ID. (required) :type avatar_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -1106,7 +1087,6 @@ def select_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -1124,9 +1104,7 @@ def select_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -1139,7 +1117,8 @@ def select_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'avatar_id' is set - if self.api_client.client_side_validation and local_var_params.get('avatar_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('avatar_id' not in local_var_params or # noqa: E501 + local_var_params['avatar_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `avatar_id` when calling `select_avatar`") # noqa: E501 collection_formats = {} @@ -1150,7 +1129,7 @@ def select_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -1196,7 +1175,7 @@ def select_fallback_avatar(self, avatar_id, **kwargs): # noqa: E501 >>> thread = api.select_fallback_avatar(avatar_id, async_req=True) >>> result = thread.get() - :param avatar_id: (required) + :param avatar_id: Must be a valid avatar ID. (required) :type avatar_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -1226,7 +1205,7 @@ def select_fallback_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E >>> thread = api.select_fallback_avatar_with_http_info(avatar_id, async_req=True) >>> result = thread.get() - :param avatar_id: (required) + :param avatar_id: Must be a valid avatar ID. (required) :type avatar_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -1245,7 +1224,6 @@ def select_fallback_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -1263,9 +1241,7 @@ def select_fallback_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -1278,7 +1254,8 @@ def select_fallback_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'avatar_id' is set - if self.api_client.client_side_validation and local_var_params.get('avatar_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('avatar_id' not in local_var_params or # noqa: E501 + local_var_params['avatar_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `avatar_id` when calling `select_fallback_avatar`") # noqa: E501 collection_formats = {} @@ -1289,7 +1266,7 @@ def select_fallback_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -1336,7 +1313,7 @@ def update_avatar(self, avatar_id, **kwargs): # noqa: E501 >>> thread = api.update_avatar(avatar_id, async_req=True) >>> result = thread.get() - :param avatar_id: (required) + :param avatar_id: Must be a valid avatar ID. (required) :type avatar_id: str :param update_avatar_request: :type update_avatar_request: UpdateAvatarRequest @@ -1368,7 +1345,7 @@ def update_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 >>> thread = api.update_avatar_with_http_info(avatar_id, async_req=True) >>> result = thread.get() - :param avatar_id: (required) + :param avatar_id: Must be a valid avatar ID. (required) :type avatar_id: str :param update_avatar_request: :type update_avatar_request: UpdateAvatarRequest @@ -1389,7 +1366,6 @@ def update_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -1408,9 +1384,7 @@ def update_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -1423,7 +1397,8 @@ def update_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'avatar_id' is set - if self.api_client.client_side_validation and local_var_params.get('avatar_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('avatar_id' not in local_var_params or # noqa: E501 + local_var_params['avatar_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `avatar_id` when calling `update_avatar`") # noqa: E501 collection_formats = {} @@ -1434,7 +1409,7 @@ def update_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -1447,12 +1422,8 @@ def update_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # HTTP header `Content-Type` - content_types_list = local_var_params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'], - 'PUT', body_params)) # noqa: E501 - if content_types_list: - header_params['Content-Type'] = content_types_list + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 # Authentication setting auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index d142eb7a..b976790e 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -91,7 +91,6 @@ def get_current_subscriptions_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -108,9 +107,7 @@ def get_current_subscriptions_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -129,7 +126,7 @@ def get_current_subscriptions_with_http_info(self, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -174,7 +171,7 @@ def get_license_group(self, license_group_id, **kwargs): # noqa: E501 >>> thread = api.get_license_group(license_group_id, async_req=True) >>> result = thread.get() - :param license_group_id: (required) + :param license_group_id: Must be a valid license group ID. (required) :type license_group_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -204,7 +201,7 @@ def get_license_group_with_http_info(self, license_group_id, **kwargs): # noqa: >>> thread = api.get_license_group_with_http_info(license_group_id, async_req=True) >>> result = thread.get() - :param license_group_id: (required) + :param license_group_id: Must be a valid license group ID. (required) :type license_group_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -223,7 +220,6 @@ def get_license_group_with_http_info(self, license_group_id, **kwargs): # noqa: request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -241,9 +237,7 @@ def get_license_group_with_http_info(self, license_group_id, **kwargs): # noqa: '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -256,7 +250,8 @@ def get_license_group_with_http_info(self, license_group_id, **kwargs): # noqa: local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'license_group_id' is set - if self.api_client.client_side_validation and local_var_params.get('license_group_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('license_group_id' not in local_var_params or # noqa: E501 + local_var_params['license_group_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `license_group_id` when calling `get_license_group`") # noqa: E501 collection_formats = {} @@ -267,7 +262,7 @@ def get_license_group_with_http_info(self, license_group_id, **kwargs): # noqa: query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -312,7 +307,7 @@ def get_steam_transaction(self, transaction_id, **kwargs): # noqa: E501 >>> thread = api.get_steam_transaction(transaction_id, async_req=True) >>> result = thread.get() - :param transaction_id: (required) + :param transaction_id: Must be a valid transaction ID. (required) :type transaction_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -342,7 +337,7 @@ def get_steam_transaction_with_http_info(self, transaction_id, **kwargs): # noq >>> thread = api.get_steam_transaction_with_http_info(transaction_id, async_req=True) >>> result = thread.get() - :param transaction_id: (required) + :param transaction_id: Must be a valid transaction ID. (required) :type transaction_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -361,7 +356,6 @@ def get_steam_transaction_with_http_info(self, transaction_id, **kwargs): # noq request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -379,9 +373,7 @@ def get_steam_transaction_with_http_info(self, transaction_id, **kwargs): # noq '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -394,7 +386,8 @@ def get_steam_transaction_with_http_info(self, transaction_id, **kwargs): # noq local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'transaction_id' is set - if self.api_client.client_side_validation and local_var_params.get('transaction_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('transaction_id' not in local_var_params or # noqa: E501 + local_var_params['transaction_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `transaction_id` when calling `get_steam_transaction`") # noqa: E501 collection_formats = {} @@ -405,7 +398,7 @@ def get_steam_transaction_with_http_info(self, transaction_id, **kwargs): # noq query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -495,7 +488,6 @@ def get_steam_transactions_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -512,9 +504,7 @@ def get_steam_transactions_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -533,7 +523,7 @@ def get_steam_transactions_with_http_info(self, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -623,7 +613,6 @@ def get_subscriptions_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -640,9 +629,7 @@ def get_subscriptions_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -661,7 +648,7 @@ def get_subscriptions_with_http_info(self, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index cd688dda..bc74aa53 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -46,7 +46,7 @@ def add_favorite(self, **kwargs): # noqa: E501 >>> thread = api.add_favorite(async_req=True) >>> result = thread.get() - :param add_favorite_request: + :param add_favorite_request: :type add_favorite_request: AddFavoriteRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -76,7 +76,7 @@ def add_favorite_with_http_info(self, **kwargs): # noqa: E501 >>> thread = api.add_favorite_with_http_info(async_req=True) >>> result = thread.get() - :param add_favorite_request: + :param add_favorite_request: :type add_favorite_request: AddFavoriteRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -95,7 +95,6 @@ def add_favorite_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -113,9 +112,7 @@ def add_favorite_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -134,7 +131,7 @@ def add_favorite_with_http_info(self, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -147,12 +144,8 @@ def add_favorite_with_http_info(self, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # HTTP header `Content-Type` - content_types_list = local_var_params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'], - 'POST', body_params)) # noqa: E501 - if content_types_list: - header_params['Content-Type'] = content_types_list + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 # Authentication setting auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 @@ -192,9 +185,9 @@ def clear_favorite_group(self, favorite_group_type, favorite_group_name, user_id :param favorite_group_type: The type of group to fetch, must be a valid FavoriteType. (required) :type favorite_group_type: str - :param favorite_group_name: (required) + :param favorite_group_name: The name of the group to fetch, must be a name of a FavoriteGroup. (required) :type favorite_group_name: str - :param user_id: (required) + :param user_id: Must be a valid user ID. (required) :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -226,9 +219,9 @@ def clear_favorite_group_with_http_info(self, favorite_group_type, favorite_grou :param favorite_group_type: The type of group to fetch, must be a valid FavoriteType. (required) :type favorite_group_type: str - :param favorite_group_name: (required) + :param favorite_group_name: The name of the group to fetch, must be a name of a FavoriteGroup. (required) :type favorite_group_name: str - :param user_id: (required) + :param user_id: Must be a valid user ID. (required) :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -247,7 +240,6 @@ def clear_favorite_group_with_http_info(self, favorite_group_type, favorite_grou request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -267,9 +259,7 @@ def clear_favorite_group_with_http_info(self, favorite_group_type, favorite_grou '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -282,13 +272,16 @@ def clear_favorite_group_with_http_info(self, favorite_group_type, favorite_grou local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'favorite_group_type' is set - if self.api_client.client_side_validation and local_var_params.get('favorite_group_type') is None: # noqa: E501 + if self.api_client.client_side_validation and ('favorite_group_type' not in local_var_params or # noqa: E501 + local_var_params['favorite_group_type'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `favorite_group_type` when calling `clear_favorite_group`") # noqa: E501 # verify the required parameter 'favorite_group_name' is set - if self.api_client.client_side_validation and local_var_params.get('favorite_group_name') is None: # noqa: E501 + if self.api_client.client_side_validation and ('favorite_group_name' not in local_var_params or # noqa: E501 + local_var_params['favorite_group_name'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `favorite_group_name` when calling `clear_favorite_group`") # noqa: E501 # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 + local_var_params['user_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `clear_favorite_group`") # noqa: E501 collection_formats = {} @@ -303,7 +296,7 @@ def clear_favorite_group_with_http_info(self, favorite_group_type, favorite_grou query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -347,7 +340,7 @@ def get_favorite(self, favorite_id, **kwargs): # noqa: E501 >>> thread = api.get_favorite(favorite_id, async_req=True) >>> result = thread.get() - :param favorite_id: (required) + :param favorite_id: Must be a valid favorite ID. (required) :type favorite_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -377,7 +370,7 @@ def get_favorite_with_http_info(self, favorite_id, **kwargs): # noqa: E501 >>> thread = api.get_favorite_with_http_info(favorite_id, async_req=True) >>> result = thread.get() - :param favorite_id: (required) + :param favorite_id: Must be a valid favorite ID. (required) :type favorite_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -396,7 +389,6 @@ def get_favorite_with_http_info(self, favorite_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -414,9 +406,7 @@ def get_favorite_with_http_info(self, favorite_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -429,7 +419,8 @@ def get_favorite_with_http_info(self, favorite_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'favorite_id' is set - if self.api_client.client_side_validation and local_var_params.get('favorite_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('favorite_id' not in local_var_params or # noqa: E501 + local_var_params['favorite_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `favorite_id` when calling `get_favorite`") # noqa: E501 collection_formats = {} @@ -440,7 +431,7 @@ def get_favorite_with_http_info(self, favorite_id, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -488,9 +479,9 @@ def get_favorite_group(self, favorite_group_type, favorite_group_name, user_id, :param favorite_group_type: The type of group to fetch, must be a valid FavoriteType. (required) :type favorite_group_type: str - :param favorite_group_name: (required) + :param favorite_group_name: The name of the group to fetch, must be a name of a FavoriteGroup. (required) :type favorite_group_name: str - :param user_id: (required) + :param user_id: Must be a valid user ID. (required) :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -522,9 +513,9 @@ def get_favorite_group_with_http_info(self, favorite_group_type, favorite_group_ :param favorite_group_type: The type of group to fetch, must be a valid FavoriteType. (required) :type favorite_group_type: str - :param favorite_group_name: (required) + :param favorite_group_name: The name of the group to fetch, must be a name of a FavoriteGroup. (required) :type favorite_group_name: str - :param user_id: (required) + :param user_id: Must be a valid user ID. (required) :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -543,7 +534,6 @@ def get_favorite_group_with_http_info(self, favorite_group_type, favorite_group_ request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -563,9 +553,7 @@ def get_favorite_group_with_http_info(self, favorite_group_type, favorite_group_ '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -578,13 +566,16 @@ def get_favorite_group_with_http_info(self, favorite_group_type, favorite_group_ local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'favorite_group_type' is set - if self.api_client.client_side_validation and local_var_params.get('favorite_group_type') is None: # noqa: E501 + if self.api_client.client_side_validation and ('favorite_group_type' not in local_var_params or # noqa: E501 + local_var_params['favorite_group_type'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `favorite_group_type` when calling `get_favorite_group`") # noqa: E501 # verify the required parameter 'favorite_group_name' is set - if self.api_client.client_side_validation and local_var_params.get('favorite_group_name') is None: # noqa: E501 + if self.api_client.client_side_validation and ('favorite_group_name' not in local_var_params or # noqa: E501 + local_var_params['favorite_group_name'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `favorite_group_name` when calling `get_favorite_group`") # noqa: E501 # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 + local_var_params['user_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `get_favorite_group`") # noqa: E501 collection_formats = {} @@ -599,7 +590,7 @@ def get_favorite_group_with_http_info(self, favorite_group_type, favorite_group_ query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -700,7 +691,6 @@ def get_favorite_groups_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -720,9 +710,7 @@ def get_favorite_groups_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -746,14 +734,14 @@ def get_favorite_groups_with_http_info(self, **kwargs): # noqa: E501 path_params = {} query_params = [] - if local_var_params.get('n') is not None: # noqa: E501 + if 'n' in local_var_params and local_var_params['n'] is not None: # noqa: E501 query_params.append(('n', local_var_params['n'])) # noqa: E501 - if local_var_params.get('offset') is not None: # noqa: E501 + if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501 query_params.append(('offset', local_var_params['offset'])) # noqa: E501 - if local_var_params.get('owner_id') is not None: # noqa: E501 + if 'owner_id' in local_var_params and local_var_params['owner_id'] is not None: # noqa: E501 query_params.append(('ownerId', local_var_params['owner_id'])) # noqa: E501 - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -859,7 +847,6 @@ def get_favorites_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -880,9 +867,7 @@ def get_favorites_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -906,16 +891,16 @@ def get_favorites_with_http_info(self, **kwargs): # noqa: E501 path_params = {} query_params = [] - if local_var_params.get('n') is not None: # noqa: E501 + if 'n' in local_var_params and local_var_params['n'] is not None: # noqa: E501 query_params.append(('n', local_var_params['n'])) # noqa: E501 - if local_var_params.get('offset') is not None: # noqa: E501 + if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501 query_params.append(('offset', local_var_params['offset'])) # noqa: E501 - if local_var_params.get('type') is not None: # noqa: E501 + if 'type' in local_var_params and local_var_params['type'] is not None: # noqa: E501 query_params.append(('type', local_var_params['type'])) # noqa: E501 - if local_var_params.get('tag') is not None: # noqa: E501 + if 'tag' in local_var_params and local_var_params['tag'] is not None: # noqa: E501 query_params.append(('tag', local_var_params['tag'])) # noqa: E501 - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -960,7 +945,7 @@ def remove_favorite(self, favorite_id, **kwargs): # noqa: E501 >>> thread = api.remove_favorite(favorite_id, async_req=True) >>> result = thread.get() - :param favorite_id: (required) + :param favorite_id: Must be a valid favorite ID. (required) :type favorite_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -990,7 +975,7 @@ def remove_favorite_with_http_info(self, favorite_id, **kwargs): # noqa: E501 >>> thread = api.remove_favorite_with_http_info(favorite_id, async_req=True) >>> result = thread.get() - :param favorite_id: (required) + :param favorite_id: Must be a valid favorite ID. (required) :type favorite_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -1009,7 +994,6 @@ def remove_favorite_with_http_info(self, favorite_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -1027,9 +1011,7 @@ def remove_favorite_with_http_info(self, favorite_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -1042,7 +1024,8 @@ def remove_favorite_with_http_info(self, favorite_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'favorite_id' is set - if self.api_client.client_side_validation and local_var_params.get('favorite_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('favorite_id' not in local_var_params or # noqa: E501 + local_var_params['favorite_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `favorite_id` when calling `remove_favorite`") # noqa: E501 collection_formats = {} @@ -1053,7 +1036,7 @@ def remove_favorite_with_http_info(self, favorite_id, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -1101,9 +1084,9 @@ def update_favorite_group(self, favorite_group_type, favorite_group_name, user_i :param favorite_group_type: The type of group to fetch, must be a valid FavoriteType. (required) :type favorite_group_type: str - :param favorite_group_name: (required) + :param favorite_group_name: The name of the group to fetch, must be a name of a FavoriteGroup. (required) :type favorite_group_name: str - :param user_id: (required) + :param user_id: Must be a valid user ID. (required) :type user_id: str :param update_favorite_group_request: :type update_favorite_group_request: UpdateFavoriteGroupRequest @@ -1137,9 +1120,9 @@ def update_favorite_group_with_http_info(self, favorite_group_type, favorite_gro :param favorite_group_type: The type of group to fetch, must be a valid FavoriteType. (required) :type favorite_group_type: str - :param favorite_group_name: (required) + :param favorite_group_name: The name of the group to fetch, must be a name of a FavoriteGroup. (required) :type favorite_group_name: str - :param user_id: (required) + :param user_id: Must be a valid user ID. (required) :type user_id: str :param update_favorite_group_request: :type update_favorite_group_request: UpdateFavoriteGroupRequest @@ -1160,7 +1143,6 @@ def update_favorite_group_with_http_info(self, favorite_group_type, favorite_gro request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -1181,9 +1163,7 @@ def update_favorite_group_with_http_info(self, favorite_group_type, favorite_gro '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -1196,13 +1176,16 @@ def update_favorite_group_with_http_info(self, favorite_group_type, favorite_gro local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'favorite_group_type' is set - if self.api_client.client_side_validation and local_var_params.get('favorite_group_type') is None: # noqa: E501 + if self.api_client.client_side_validation and ('favorite_group_type' not in local_var_params or # noqa: E501 + local_var_params['favorite_group_type'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `favorite_group_type` when calling `update_favorite_group`") # noqa: E501 # verify the required parameter 'favorite_group_name' is set - if self.api_client.client_side_validation and local_var_params.get('favorite_group_name') is None: # noqa: E501 + if self.api_client.client_side_validation and ('favorite_group_name' not in local_var_params or # noqa: E501 + local_var_params['favorite_group_name'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `favorite_group_name` when calling `update_favorite_group`") # noqa: E501 # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 + local_var_params['user_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `update_favorite_group`") # noqa: E501 collection_formats = {} @@ -1217,7 +1200,7 @@ def update_favorite_group_with_http_info(self, favorite_group_type, favorite_gro query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -1226,12 +1209,8 @@ def update_favorite_group_with_http_info(self, favorite_group_type, favorite_gro if 'update_favorite_group_request' in local_var_params: body_params = local_var_params['update_favorite_group_request'] # HTTP header `Content-Type` - content_types_list = local_var_params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'], - 'PUT', body_params)) # noqa: E501 - if content_types_list: - header_params['Content-Type'] = content_types_list + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 # Authentication setting auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index d95fc775..09938262 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -95,7 +95,6 @@ def create_file_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -113,9 +112,7 @@ def create_file_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -134,7 +131,7 @@ def create_file_with_http_info(self, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -147,12 +144,8 @@ def create_file_with_http_info(self, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # HTTP header `Content-Type` - content_types_list = local_var_params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'], - 'POST', body_params)) # noqa: E501 - if content_types_list: - header_params['Content-Type'] = content_types_list + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 # Authentication setting auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 @@ -188,7 +181,7 @@ def create_file_version(self, file_id, **kwargs): # noqa: E501 >>> thread = api.create_file_version(file_id, async_req=True) >>> result = thread.get() - :param file_id: (required) + :param file_id: Must be a valid file ID. (required) :type file_id: str :param create_file_version_request: :type create_file_version_request: CreateFileVersionRequest @@ -220,7 +213,7 @@ def create_file_version_with_http_info(self, file_id, **kwargs): # noqa: E501 >>> thread = api.create_file_version_with_http_info(file_id, async_req=True) >>> result = thread.get() - :param file_id: (required) + :param file_id: Must be a valid file ID. (required) :type file_id: str :param create_file_version_request: :type create_file_version_request: CreateFileVersionRequest @@ -241,7 +234,6 @@ def create_file_version_with_http_info(self, file_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -260,9 +252,7 @@ def create_file_version_with_http_info(self, file_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -275,7 +265,8 @@ def create_file_version_with_http_info(self, file_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'file_id' is set - if self.api_client.client_side_validation and local_var_params.get('file_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('file_id' not in local_var_params or # noqa: E501 + local_var_params['file_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `file_id` when calling `create_file_version`") # noqa: E501 if self.api_client.client_side_validation and 'file_id' in local_var_params and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['file_id']): # noqa: E501 @@ -288,7 +279,7 @@ def create_file_version_with_http_info(self, file_id, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -301,12 +292,8 @@ def create_file_version_with_http_info(self, file_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # HTTP header `Content-Type` - content_types_list = local_var_params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'], - 'POST', body_params)) # noqa: E501 - if content_types_list: - header_params['Content-Type'] = content_types_list + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 # Authentication setting auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 @@ -342,7 +329,7 @@ def delete_file(self, file_id, **kwargs): # noqa: E501 >>> thread = api.delete_file(file_id, async_req=True) >>> result = thread.get() - :param file_id: (required) + :param file_id: Must be a valid file ID. (required) :type file_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -372,7 +359,7 @@ def delete_file_with_http_info(self, file_id, **kwargs): # noqa: E501 >>> thread = api.delete_file_with_http_info(file_id, async_req=True) >>> result = thread.get() - :param file_id: (required) + :param file_id: Must be a valid file ID. (required) :type file_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -391,7 +378,6 @@ def delete_file_with_http_info(self, file_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -409,9 +395,7 @@ def delete_file_with_http_info(self, file_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -424,7 +408,8 @@ def delete_file_with_http_info(self, file_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'file_id' is set - if self.api_client.client_side_validation and local_var_params.get('file_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('file_id' not in local_var_params or # noqa: E501 + local_var_params['file_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `file_id` when calling `delete_file`") # noqa: E501 if self.api_client.client_side_validation and 'file_id' in local_var_params and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['file_id']): # noqa: E501 @@ -437,7 +422,7 @@ def delete_file_with_http_info(self, file_id, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -482,9 +467,9 @@ def delete_file_version(self, file_id, version_id, **kwargs): # noqa: E501 >>> thread = api.delete_file_version(file_id, version_id, async_req=True) >>> result = thread.get() - :param file_id: (required) + :param file_id: Must be a valid file ID. (required) :type file_id: str - :param version_id: (required) + :param version_id: Version ID of the asset. (required) :type version_id: int :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -514,9 +499,9 @@ def delete_file_version_with_http_info(self, file_id, version_id, **kwargs): # >>> thread = api.delete_file_version_with_http_info(file_id, version_id, async_req=True) >>> result = thread.get() - :param file_id: (required) + :param file_id: Must be a valid file ID. (required) :type file_id: str - :param version_id: (required) + :param version_id: Version ID of the asset. (required) :type version_id: int :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -535,7 +520,6 @@ def delete_file_version_with_http_info(self, file_id, version_id, **kwargs): # request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -554,9 +538,7 @@ def delete_file_version_with_http_info(self, file_id, version_id, **kwargs): # '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -569,10 +551,12 @@ def delete_file_version_with_http_info(self, file_id, version_id, **kwargs): # local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'file_id' is set - if self.api_client.client_side_validation and local_var_params.get('file_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('file_id' not in local_var_params or # noqa: E501 + local_var_params['file_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `file_id` when calling `delete_file_version`") # noqa: E501 # verify the required parameter 'version_id' is set - if self.api_client.client_side_validation and local_var_params.get('version_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('version_id' not in local_var_params or # noqa: E501 + local_var_params['version_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `version_id` when calling `delete_file_version`") # noqa: E501 if self.api_client.client_side_validation and 'file_id' in local_var_params and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['file_id']): # noqa: E501 @@ -589,7 +573,7 @@ def delete_file_version_with_http_info(self, file_id, version_id, **kwargs): # query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -635,9 +619,9 @@ def download_file_version(self, file_id, version_id, **kwargs): # noqa: E501 >>> thread = api.download_file_version(file_id, version_id, async_req=True) >>> result = thread.get() - :param file_id: (required) + :param file_id: Must be a valid file ID. (required) :type file_id: str - :param version_id: (required) + :param version_id: Version ID of the asset. (required) :type version_id: int :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -667,9 +651,9 @@ def download_file_version_with_http_info(self, file_id, version_id, **kwargs): >>> thread = api.download_file_version_with_http_info(file_id, version_id, async_req=True) >>> result = thread.get() - :param file_id: (required) + :param file_id: Must be a valid file ID. (required) :type file_id: str - :param version_id: (required) + :param version_id: Version ID of the asset. (required) :type version_id: int :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -688,7 +672,6 @@ def download_file_version_with_http_info(self, file_id, version_id, **kwargs): request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -707,9 +690,7 @@ def download_file_version_with_http_info(self, file_id, version_id, **kwargs): '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -722,10 +703,12 @@ def download_file_version_with_http_info(self, file_id, version_id, **kwargs): local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'file_id' is set - if self.api_client.client_side_validation and local_var_params.get('file_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('file_id' not in local_var_params or # noqa: E501 + local_var_params['file_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `file_id` when calling `download_file_version`") # noqa: E501 # verify the required parameter 'version_id' is set - if self.api_client.client_side_validation and local_var_params.get('version_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('version_id' not in local_var_params or # noqa: E501 + local_var_params['version_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `version_id` when calling `download_file_version`") # noqa: E501 if self.api_client.client_side_validation and 'file_id' in local_var_params and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['file_id']): # noqa: E501 @@ -742,7 +725,7 @@ def download_file_version_with_http_info(self, file_id, version_id, **kwargs): query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -780,11 +763,11 @@ def finish_file_data_upload(self, file_id, version_id, file_type, **kwargs): # >>> thread = api.finish_file_data_upload(file_id, version_id, file_type, async_req=True) >>> result = thread.get() - :param file_id: (required) + :param file_id: Must be a valid file ID. (required) :type file_id: str - :param version_id: (required) + :param version_id: Version ID of the asset. (required) :type version_id: int - :param file_type: (required) + :param file_type: Type of file. (required) :type file_type: str :param finish_file_data_upload_request: Please see documentation on ETag's: [https://teppen.io/2018/06/23/aws_s3_etags/](https://teppen.io/2018/06/23/aws_s3_etags/) ETag's should NOT be present when uploading a `signature`. :type finish_file_data_upload_request: FinishFileDataUploadRequest @@ -816,11 +799,11 @@ def finish_file_data_upload_with_http_info(self, file_id, version_id, file_type, >>> thread = api.finish_file_data_upload_with_http_info(file_id, version_id, file_type, async_req=True) >>> result = thread.get() - :param file_id: (required) + :param file_id: Must be a valid file ID. (required) :type file_id: str - :param version_id: (required) + :param version_id: Version ID of the asset. (required) :type version_id: int - :param file_type: (required) + :param file_type: Type of file. (required) :type file_type: str :param finish_file_data_upload_request: Please see documentation on ETag's: [https://teppen.io/2018/06/23/aws_s3_etags/](https://teppen.io/2018/06/23/aws_s3_etags/) ETag's should NOT be present when uploading a `signature`. :type finish_file_data_upload_request: FinishFileDataUploadRequest @@ -841,7 +824,6 @@ def finish_file_data_upload_with_http_info(self, file_id, version_id, file_type, request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -862,9 +844,7 @@ def finish_file_data_upload_with_http_info(self, file_id, version_id, file_type, '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -877,13 +857,16 @@ def finish_file_data_upload_with_http_info(self, file_id, version_id, file_type, local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'file_id' is set - if self.api_client.client_side_validation and local_var_params.get('file_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('file_id' not in local_var_params or # noqa: E501 + local_var_params['file_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `file_id` when calling `finish_file_data_upload`") # noqa: E501 # verify the required parameter 'version_id' is set - if self.api_client.client_side_validation and local_var_params.get('version_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('version_id' not in local_var_params or # noqa: E501 + local_var_params['version_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `version_id` when calling `finish_file_data_upload`") # noqa: E501 # verify the required parameter 'file_type' is set - if self.api_client.client_side_validation and local_var_params.get('file_type') is None: # noqa: E501 + if self.api_client.client_side_validation and ('file_type' not in local_var_params or # noqa: E501 + local_var_params['file_type'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `file_type` when calling `finish_file_data_upload`") # noqa: E501 if self.api_client.client_side_validation and 'file_id' in local_var_params and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['file_id']): # noqa: E501 @@ -902,7 +885,7 @@ def finish_file_data_upload_with_http_info(self, file_id, version_id, file_type, query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -915,12 +898,8 @@ def finish_file_data_upload_with_http_info(self, file_id, version_id, file_type, ['application/json']) # noqa: E501 # HTTP header `Content-Type` - content_types_list = local_var_params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'], - 'PUT', body_params)) # noqa: E501 - if content_types_list: - header_params['Content-Type'] = content_types_list + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 # Authentication setting auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 @@ -956,7 +935,7 @@ def get_file(self, file_id, **kwargs): # noqa: E501 >>> thread = api.get_file(file_id, async_req=True) >>> result = thread.get() - :param file_id: (required) + :param file_id: Must be a valid file ID. (required) :type file_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -986,7 +965,7 @@ def get_file_with_http_info(self, file_id, **kwargs): # noqa: E501 >>> thread = api.get_file_with_http_info(file_id, async_req=True) >>> result = thread.get() - :param file_id: (required) + :param file_id: Must be a valid file ID. (required) :type file_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -1005,7 +984,6 @@ def get_file_with_http_info(self, file_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -1023,9 +1001,7 @@ def get_file_with_http_info(self, file_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -1038,7 +1014,8 @@ def get_file_with_http_info(self, file_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'file_id' is set - if self.api_client.client_side_validation and local_var_params.get('file_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('file_id' not in local_var_params or # noqa: E501 + local_var_params['file_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `file_id` when calling `get_file`") # noqa: E501 if self.api_client.client_side_validation and 'file_id' in local_var_params and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['file_id']): # noqa: E501 @@ -1051,7 +1028,7 @@ def get_file_with_http_info(self, file_id, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -1096,11 +1073,11 @@ def get_file_data_upload_status(self, file_id, version_id, file_type, **kwargs): >>> thread = api.get_file_data_upload_status(file_id, version_id, file_type, async_req=True) >>> result = thread.get() - :param file_id: (required) + :param file_id: Must be a valid file ID. (required) :type file_id: str - :param version_id: (required) + :param version_id: Version ID of the asset. (required) :type version_id: int - :param file_type: (required) + :param file_type: Type of file. (required) :type file_type: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -1130,11 +1107,11 @@ def get_file_data_upload_status_with_http_info(self, file_id, version_id, file_t >>> thread = api.get_file_data_upload_status_with_http_info(file_id, version_id, file_type, async_req=True) >>> result = thread.get() - :param file_id: (required) + :param file_id: Must be a valid file ID. (required) :type file_id: str - :param version_id: (required) + :param version_id: Version ID of the asset. (required) :type version_id: int - :param file_type: (required) + :param file_type: Type of file. (required) :type file_type: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -1153,7 +1130,6 @@ def get_file_data_upload_status_with_http_info(self, file_id, version_id, file_t request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -1173,9 +1149,7 @@ def get_file_data_upload_status_with_http_info(self, file_id, version_id, file_t '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -1188,13 +1162,16 @@ def get_file_data_upload_status_with_http_info(self, file_id, version_id, file_t local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'file_id' is set - if self.api_client.client_side_validation and local_var_params.get('file_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('file_id' not in local_var_params or # noqa: E501 + local_var_params['file_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `file_id` when calling `get_file_data_upload_status`") # noqa: E501 # verify the required parameter 'version_id' is set - if self.api_client.client_side_validation and local_var_params.get('version_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('version_id' not in local_var_params or # noqa: E501 + local_var_params['version_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `version_id` when calling `get_file_data_upload_status`") # noqa: E501 # verify the required parameter 'file_type' is set - if self.api_client.client_side_validation and local_var_params.get('file_type') is None: # noqa: E501 + if self.api_client.client_side_validation and ('file_type' not in local_var_params or # noqa: E501 + local_var_params['file_type'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `file_type` when calling `get_file_data_upload_status`") # noqa: E501 if self.api_client.client_side_validation and 'file_id' in local_var_params and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['file_id']): # noqa: E501 @@ -1213,7 +1190,7 @@ def get_file_data_upload_status_with_http_info(self, file_id, version_id, file_t query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -1318,7 +1295,6 @@ def get_files_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -1339,9 +1315,7 @@ def get_files_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -1368,16 +1342,16 @@ def get_files_with_http_info(self, **kwargs): # noqa: E501 path_params = {} query_params = [] - if local_var_params.get('tag') is not None: # noqa: E501 + if 'tag' in local_var_params and local_var_params['tag'] is not None: # noqa: E501 query_params.append(('tag', local_var_params['tag'])) # noqa: E501 - if local_var_params.get('user_id') is not None: # noqa: E501 + if 'user_id' in local_var_params and local_var_params['user_id'] is not None: # noqa: E501 query_params.append(('userId', local_var_params['user_id'])) # noqa: E501 - if local_var_params.get('n') is not None: # noqa: E501 + if 'n' in local_var_params and local_var_params['n'] is not None: # noqa: E501 query_params.append(('n', local_var_params['n'])) # noqa: E501 - if local_var_params.get('offset') is not None: # noqa: E501 + if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501 query_params.append(('offset', local_var_params['offset'])) # noqa: E501 - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -1421,13 +1395,13 @@ def start_file_data_upload(self, file_id, version_id, file_type, **kwargs): # n >>> thread = api.start_file_data_upload(file_id, version_id, file_type, async_req=True) >>> result = thread.get() - :param file_id: (required) + :param file_id: Must be a valid file ID. (required) :type file_id: str - :param version_id: (required) + :param version_id: Version ID of the asset. (required) :type version_id: int - :param file_type: (required) + :param file_type: Type of file. (required) :type file_type: str - :param part_number: + :param part_number: The part number to start uploading. If not provided, the first part will be started. :type part_number: int :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -1457,13 +1431,13 @@ def start_file_data_upload_with_http_info(self, file_id, version_id, file_type, >>> thread = api.start_file_data_upload_with_http_info(file_id, version_id, file_type, async_req=True) >>> result = thread.get() - :param file_id: (required) + :param file_id: Must be a valid file ID. (required) :type file_id: str - :param version_id: (required) + :param version_id: Version ID of the asset. (required) :type version_id: int - :param file_type: (required) + :param file_type: Type of file. (required) :type file_type: str - :param part_number: + :param part_number: The part number to start uploading. If not provided, the first part will be started. :type part_number: int :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -1482,7 +1456,6 @@ def start_file_data_upload_with_http_info(self, file_id, version_id, file_type, request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -1503,9 +1476,7 @@ def start_file_data_upload_with_http_info(self, file_id, version_id, file_type, '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -1518,13 +1489,16 @@ def start_file_data_upload_with_http_info(self, file_id, version_id, file_type, local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'file_id' is set - if self.api_client.client_side_validation and local_var_params.get('file_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('file_id' not in local_var_params or # noqa: E501 + local_var_params['file_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `file_id` when calling `start_file_data_upload`") # noqa: E501 # verify the required parameter 'version_id' is set - if self.api_client.client_side_validation and local_var_params.get('version_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('version_id' not in local_var_params or # noqa: E501 + local_var_params['version_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `version_id` when calling `start_file_data_upload`") # noqa: E501 # verify the required parameter 'file_type' is set - if self.api_client.client_side_validation and local_var_params.get('file_type') is None: # noqa: E501 + if self.api_client.client_side_validation and ('file_type' not in local_var_params or # noqa: E501 + local_var_params['file_type'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `file_type` when calling `start_file_data_upload`") # noqa: E501 if self.api_client.client_side_validation and 'file_id' in local_var_params and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['file_id']): # noqa: E501 @@ -1544,10 +1518,10 @@ def start_file_data_upload_with_http_info(self, file_id, version_id, file_type, path_params['fileType'] = local_var_params['file_type'] # noqa: E501 query_params = [] - if local_var_params.get('part_number') is not None: # noqa: E501 + if 'part_number' in local_var_params and local_var_params['part_number'] is not None: # noqa: E501 query_params.append(('partNumber', local_var_params['part_number'])) # noqa: E501 - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index 7ccf2b8d..efde4a62 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -46,7 +46,7 @@ def delete_friend_request(self, user_id, **kwargs): # noqa: E501 >>> thread = api.delete_friend_request(user_id, async_req=True) >>> result = thread.get() - :param user_id: (required) + :param user_id: Must be a valid user ID. (required) :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -76,7 +76,7 @@ def delete_friend_request_with_http_info(self, user_id, **kwargs): # noqa: E501 >>> thread = api.delete_friend_request_with_http_info(user_id, async_req=True) >>> result = thread.get() - :param user_id: (required) + :param user_id: Must be a valid user ID. (required) :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -95,7 +95,6 @@ def delete_friend_request_with_http_info(self, user_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -113,9 +112,7 @@ def delete_friend_request_with_http_info(self, user_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -128,7 +125,8 @@ def delete_friend_request_with_http_info(self, user_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 + local_var_params['user_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `delete_friend_request`") # noqa: E501 collection_formats = {} @@ -139,7 +137,7 @@ def delete_friend_request_with_http_info(self, user_id, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -185,7 +183,7 @@ def friend(self, user_id, **kwargs): # noqa: E501 >>> thread = api.friend(user_id, async_req=True) >>> result = thread.get() - :param user_id: (required) + :param user_id: Must be a valid user ID. (required) :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -215,7 +213,7 @@ def friend_with_http_info(self, user_id, **kwargs): # noqa: E501 >>> thread = api.friend_with_http_info(user_id, async_req=True) >>> result = thread.get() - :param user_id: (required) + :param user_id: Must be a valid user ID. (required) :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -234,7 +232,6 @@ def friend_with_http_info(self, user_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -252,9 +249,7 @@ def friend_with_http_info(self, user_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -267,7 +262,8 @@ def friend_with_http_info(self, user_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 + local_var_params['user_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `friend`") # noqa: E501 collection_formats = {} @@ -278,7 +274,7 @@ def friend_with_http_info(self, user_id, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -324,7 +320,7 @@ def get_friend_status(self, user_id, **kwargs): # noqa: E501 >>> thread = api.get_friend_status(user_id, async_req=True) >>> result = thread.get() - :param user_id: (required) + :param user_id: Must be a valid user ID. (required) :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -354,7 +350,7 @@ def get_friend_status_with_http_info(self, user_id, **kwargs): # noqa: E501 >>> thread = api.get_friend_status_with_http_info(user_id, async_req=True) >>> result = thread.get() - :param user_id: (required) + :param user_id: Must be a valid user ID. (required) :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -373,7 +369,6 @@ def get_friend_status_with_http_info(self, user_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -391,9 +386,7 @@ def get_friend_status_with_http_info(self, user_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -406,7 +399,8 @@ def get_friend_status_with_http_info(self, user_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 + local_var_params['user_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `get_friend_status`") # noqa: E501 collection_formats = {} @@ -417,7 +411,7 @@ def get_friend_status_with_http_info(self, user_id, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -519,7 +513,6 @@ def get_friends_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -539,9 +532,7 @@ def get_friends_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -565,14 +556,14 @@ def get_friends_with_http_info(self, **kwargs): # noqa: E501 path_params = {} query_params = [] - if local_var_params.get('offset') is not None: # noqa: E501 + if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501 query_params.append(('offset', local_var_params['offset'])) # noqa: E501 - if local_var_params.get('n') is not None: # noqa: E501 + if 'n' in local_var_params and local_var_params['n'] is not None: # noqa: E501 query_params.append(('n', local_var_params['n'])) # noqa: E501 - if local_var_params.get('offline') is not None: # noqa: E501 + if 'offline' in local_var_params and local_var_params['offline'] is not None: # noqa: E501 query_params.append(('offline', local_var_params['offline'])) # noqa: E501 - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -617,7 +608,7 @@ def unfriend(self, user_id, **kwargs): # noqa: E501 >>> thread = api.unfriend(user_id, async_req=True) >>> result = thread.get() - :param user_id: (required) + :param user_id: Must be a valid user ID. (required) :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -647,7 +638,7 @@ def unfriend_with_http_info(self, user_id, **kwargs): # noqa: E501 >>> thread = api.unfriend_with_http_info(user_id, async_req=True) >>> result = thread.get() - :param user_id: (required) + :param user_id: Must be a valid user ID. (required) :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -666,7 +657,6 @@ def unfriend_with_http_info(self, user_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -684,9 +674,7 @@ def unfriend_with_http_info(self, user_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -699,7 +687,8 @@ def unfriend_with_http_info(self, user_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 + local_var_params['user_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `unfriend`") # noqa: E501 collection_formats = {} @@ -710,7 +699,7 @@ def unfriend_with_http_info(self, user_id, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py new file mode 100644 index 00000000..c82baf8f --- /dev/null +++ b/vrchatapi/api/groups_api.py @@ -0,0 +1,5465 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from vrchatapi.api_client import ApiClient +from vrchatapi.exceptions import ( # noqa: F401 + ApiTypeError, + ApiValueError +) + + +class GroupsApi(object): + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def add_group_gallery_image(self, group_id, group_gallery_id, **kwargs): # noqa: E501 + """Add Group Gallery Image # noqa: E501 + + Adds an image to a Group gallery. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.add_group_gallery_image(group_id, group_gallery_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param group_gallery_id: Must be a valid group gallery ID. (required) + :type group_gallery_id: str + :param add_group_gallery_image_request: + :type add_group_gallery_image_request: AddGroupGalleryImageRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: GroupGalleryImage + """ + kwargs['_return_http_data_only'] = True + return self.add_group_gallery_image_with_http_info(group_id, group_gallery_id, **kwargs) # noqa: E501 + + def add_group_gallery_image_with_http_info(self, group_id, group_gallery_id, **kwargs): # noqa: E501 + """Add Group Gallery Image # noqa: E501 + + Adds an image to a Group gallery. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.add_group_gallery_image_with_http_info(group_id, group_gallery_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param group_gallery_id: Must be a valid group gallery ID. (required) + :type group_gallery_id: str + :param add_group_gallery_image_request: + :type add_group_gallery_image_request: AddGroupGalleryImageRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(GroupGalleryImage, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id', + 'group_gallery_id', + 'add_group_gallery_image_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method add_group_gallery_image" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 + local_var_params['group_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `add_group_gallery_image`") # noqa: E501 + # verify the required parameter 'group_gallery_id' is set + if self.api_client.client_side_validation and ('group_gallery_id' not in local_var_params or # noqa: E501 + local_var_params['group_gallery_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_gallery_id` when calling `add_group_gallery_image`") # noqa: E501 + + if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_id` when calling `add_group_gallery_image`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + if self.api_client.client_side_validation and 'group_gallery_id' in local_var_params and not re.search(r'ggal_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_gallery_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_gallery_id` when calling `add_group_gallery_image`, must conform to the pattern `/ggal_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + if 'group_gallery_id' in local_var_params: + path_params['groupGalleryId'] = local_var_params['group_gallery_id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'add_group_gallery_image_request' in local_var_params: + body_params = local_var_params['add_group_gallery_image_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "GroupGalleryImage", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/groups/{groupId}/galleries/{groupGalleryId}/images', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def add_group_member_role(self, group_id, user_id, group_role_id, **kwargs): # noqa: E501 + """Add Role to GroupMember # noqa: E501 + + Adds a Role to a Group Member # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.add_group_member_role(group_id, user_id, group_role_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param group_role_id: Must be a valid group role ID. (required) + :type group_role_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[str] + """ + kwargs['_return_http_data_only'] = True + return self.add_group_member_role_with_http_info(group_id, user_id, group_role_id, **kwargs) # noqa: E501 + + def add_group_member_role_with_http_info(self, group_id, user_id, group_role_id, **kwargs): # noqa: E501 + """Add Role to GroupMember # noqa: E501 + + Adds a Role to a Group Member # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.add_group_member_role_with_http_info(group_id, user_id, group_role_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param group_role_id: Must be a valid group role ID. (required) + :type group_role_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[str], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id', + 'user_id', + 'group_role_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method add_group_member_role" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 + local_var_params['group_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `add_group_member_role`") # noqa: E501 + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 + local_var_params['user_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `add_group_member_role`") # noqa: E501 + # verify the required parameter 'group_role_id' is set + if self.api_client.client_side_validation and ('group_role_id' not in local_var_params or # noqa: E501 + local_var_params['group_role_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_role_id` when calling `add_group_member_role`") # noqa: E501 + + if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_id` when calling `add_group_member_role`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + if self.api_client.client_side_validation and 'group_role_id' in local_var_params and not re.search(r'grol_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_role_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_role_id` when calling `add_group_member_role`, must conform to the pattern `/grol_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + if 'group_role_id' in local_var_params: + path_params['groupRoleId'] = local_var_params['group_role_id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[str]", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/groups/{groupId}/members/{userId}/roles/{groupRoleId}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def ban_group_member(self, group_id, **kwargs): # noqa: E501 + """Ban Group Member # noqa: E501 + + Bans a user from a Group. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.ban_group_member(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param ban_group_member_request: + :type ban_group_member_request: BanGroupMemberRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: GroupMember + """ + kwargs['_return_http_data_only'] = True + return self.ban_group_member_with_http_info(group_id, **kwargs) # noqa: E501 + + def ban_group_member_with_http_info(self, group_id, **kwargs): # noqa: E501 + """Ban Group Member # noqa: E501 + + Bans a user from a Group. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.ban_group_member_with_http_info(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param ban_group_member_request: + :type ban_group_member_request: BanGroupMemberRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(GroupMember, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id', + 'ban_group_member_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method ban_group_member" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 + local_var_params['group_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `ban_group_member`") # noqa: E501 + + if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_id` when calling `ban_group_member`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'ban_group_member_request' in local_var_params: + body_params = local_var_params['ban_group_member_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "GroupMember", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/groups/{groupId}/bans', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def cancel_group_request(self, group_id, **kwargs): # noqa: E501 + """Cancel Group Join Request # noqa: E501 + + Cancels a request sent to join the group. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.cancel_group_request(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + kwargs['_return_http_data_only'] = True + return self.cancel_group_request_with_http_info(group_id, **kwargs) # noqa: E501 + + def cancel_group_request_with_http_info(self, group_id, **kwargs): # noqa: E501 + """Cancel Group Join Request # noqa: E501 + + Cancels a request sent to join the group. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.cancel_group_request_with_http_info(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + + local_var_params = locals() + + all_params = [ + 'group_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method cancel_group_request" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 + local_var_params['group_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `cancel_group_request`") # noqa: E501 + + if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_id` when calling `cancel_group_request`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = {} + + return self.api_client.call_api( + '/groups/{groupId}/requests', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def create_group(self, **kwargs): # noqa: E501 + """Create Group # noqa: E501 + + Creates a Group and returns a Group object. **Requires VRC+ Subscription.** # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.create_group(async_req=True) + >>> result = thread.get() + + :param create_group_request: + :type create_group_request: CreateGroupRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Group + """ + kwargs['_return_http_data_only'] = True + return self.create_group_with_http_info(**kwargs) # noqa: E501 + + def create_group_with_http_info(self, **kwargs): # noqa: E501 + """Create Group # noqa: E501 + + Creates a Group and returns a Group object. **Requires VRC+ Subscription.** # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.create_group_with_http_info(async_req=True) + >>> result = thread.get() + + :param create_group_request: + :type create_group_request: CreateGroupRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Group, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'create_group_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method create_group" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'create_group_request' in local_var_params: + body_params = local_var_params['create_group_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "Group", + 401: "Error", + } + + return self.api_client.call_api( + '/groups', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def create_group_announcement(self, group_id, **kwargs): # noqa: E501 + """Create Group Announcement # noqa: E501 + + Creates an Announcement for a Group. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.create_group_announcement(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param create_group_announcement_request: + :type create_group_announcement_request: CreateGroupAnnouncementRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: GroupAnnouncement + """ + kwargs['_return_http_data_only'] = True + return self.create_group_announcement_with_http_info(group_id, **kwargs) # noqa: E501 + + def create_group_announcement_with_http_info(self, group_id, **kwargs): # noqa: E501 + """Create Group Announcement # noqa: E501 + + Creates an Announcement for a Group. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.create_group_announcement_with_http_info(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param create_group_announcement_request: + :type create_group_announcement_request: CreateGroupAnnouncementRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(GroupAnnouncement, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id', + 'create_group_announcement_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method create_group_announcement" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 + local_var_params['group_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `create_group_announcement`") # noqa: E501 + + if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_id` when calling `create_group_announcement`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'create_group_announcement_request' in local_var_params: + body_params = local_var_params['create_group_announcement_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "GroupAnnouncement", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/groups/{groupId}/announcement', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def create_group_gallery(self, group_id, **kwargs): # noqa: E501 + """Create Group Gallery # noqa: E501 + + Creates a gallery for a Group. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.create_group_gallery(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param create_group_gallery_request: + :type create_group_gallery_request: CreateGroupGalleryRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: GroupGallery + """ + kwargs['_return_http_data_only'] = True + return self.create_group_gallery_with_http_info(group_id, **kwargs) # noqa: E501 + + def create_group_gallery_with_http_info(self, group_id, **kwargs): # noqa: E501 + """Create Group Gallery # noqa: E501 + + Creates a gallery for a Group. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.create_group_gallery_with_http_info(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param create_group_gallery_request: + :type create_group_gallery_request: CreateGroupGalleryRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(GroupGallery, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id', + 'create_group_gallery_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method create_group_gallery" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 + local_var_params['group_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `create_group_gallery`") # noqa: E501 + + if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_id` when calling `create_group_gallery`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'create_group_gallery_request' in local_var_params: + body_params = local_var_params['create_group_gallery_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "GroupGallery", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/groups/{groupId}/galleries', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def create_group_invite(self, group_id, **kwargs): # noqa: E501 + """Invite User to Group # noqa: E501 + + Sends an invite to a user to join the group. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.create_group_invite(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param create_group_invite_request: + :type create_group_invite_request: CreateGroupInviteRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + kwargs['_return_http_data_only'] = True + return self.create_group_invite_with_http_info(group_id, **kwargs) # noqa: E501 + + def create_group_invite_with_http_info(self, group_id, **kwargs): # noqa: E501 + """Invite User to Group # noqa: E501 + + Sends an invite to a user to join the group. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.create_group_invite_with_http_info(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param create_group_invite_request: + :type create_group_invite_request: CreateGroupInviteRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + + local_var_params = locals() + + all_params = [ + 'group_id', + 'create_group_invite_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method create_group_invite" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 + local_var_params['group_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `create_group_invite`") # noqa: E501 + + if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_id` when calling `create_group_invite`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'create_group_invite_request' in local_var_params: + body_params = local_var_params['create_group_invite_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = {} + + return self.api_client.call_api( + '/groups/{groupId}/invites', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def create_group_role(self, group_id, **kwargs): # noqa: E501 + """Create GroupRole # noqa: E501 + + Create a Group role. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.create_group_role(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param create_group_role_request: + :type create_group_role_request: CreateGroupRoleRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: GroupRole + """ + kwargs['_return_http_data_only'] = True + return self.create_group_role_with_http_info(group_id, **kwargs) # noqa: E501 + + def create_group_role_with_http_info(self, group_id, **kwargs): # noqa: E501 + """Create GroupRole # noqa: E501 + + Create a Group role. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.create_group_role_with_http_info(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param create_group_role_request: + :type create_group_role_request: CreateGroupRoleRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(GroupRole, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id', + 'create_group_role_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method create_group_role" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 + local_var_params['group_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `create_group_role`") # noqa: E501 + + if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_id` when calling `create_group_role`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'create_group_role_request' in local_var_params: + body_params = local_var_params['create_group_role_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "GroupRole", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/groups/{groupId}/roles', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def delete_group(self, group_id, **kwargs): # noqa: E501 + """Delete Group # noqa: E501 + + Deletes a Group. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_group(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Success + """ + kwargs['_return_http_data_only'] = True + return self.delete_group_with_http_info(group_id, **kwargs) # noqa: E501 + + def delete_group_with_http_info(self, group_id, **kwargs): # noqa: E501 + """Delete Group # noqa: E501 + + Deletes a Group. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_group_with_http_info(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Success, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_group" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 + local_var_params['group_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `delete_group`") # noqa: E501 + + if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_id` when calling `delete_group`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "Success", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/groups/{groupId}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def delete_group_announcement(self, group_id, **kwargs): # noqa: E501 + """Delete Group Announcement # noqa: E501 + + Deletes the announcement for a Group. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_group_announcement(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Success + """ + kwargs['_return_http_data_only'] = True + return self.delete_group_announcement_with_http_info(group_id, **kwargs) # noqa: E501 + + def delete_group_announcement_with_http_info(self, group_id, **kwargs): # noqa: E501 + """Delete Group Announcement # noqa: E501 + + Deletes the announcement for a Group. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_group_announcement_with_http_info(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Success, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_group_announcement" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 + local_var_params['group_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `delete_group_announcement`") # noqa: E501 + + if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_id` when calling `delete_group_announcement`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "Success", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/groups/{groupId}/announcement', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def delete_group_gallery(self, group_id, group_gallery_id, **kwargs): # noqa: E501 + """Delete Group Gallery # noqa: E501 + + Deletes a gallery for a Group. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_group_gallery(group_id, group_gallery_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param group_gallery_id: Must be a valid group gallery ID. (required) + :type group_gallery_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Success + """ + kwargs['_return_http_data_only'] = True + return self.delete_group_gallery_with_http_info(group_id, group_gallery_id, **kwargs) # noqa: E501 + + def delete_group_gallery_with_http_info(self, group_id, group_gallery_id, **kwargs): # noqa: E501 + """Delete Group Gallery # noqa: E501 + + Deletes a gallery for a Group. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_group_gallery_with_http_info(group_id, group_gallery_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param group_gallery_id: Must be a valid group gallery ID. (required) + :type group_gallery_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Success, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id', + 'group_gallery_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_group_gallery" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 + local_var_params['group_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `delete_group_gallery`") # noqa: E501 + # verify the required parameter 'group_gallery_id' is set + if self.api_client.client_side_validation and ('group_gallery_id' not in local_var_params or # noqa: E501 + local_var_params['group_gallery_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_gallery_id` when calling `delete_group_gallery`") # noqa: E501 + + if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_id` when calling `delete_group_gallery`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + if self.api_client.client_side_validation and 'group_gallery_id' in local_var_params and not re.search(r'ggal_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_gallery_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_gallery_id` when calling `delete_group_gallery`, must conform to the pattern `/ggal_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + if 'group_gallery_id' in local_var_params: + path_params['groupGalleryId'] = local_var_params['group_gallery_id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "Success", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/groups/{groupId}/galleries/{groupGalleryId}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def delete_group_gallery_image(self, group_id, group_gallery_id, group_gallery_image_id, **kwargs): # noqa: E501 + """Delete Group Gallery Image # noqa: E501 + + Deletes an image from a Group gallery. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_group_gallery_image(group_id, group_gallery_id, group_gallery_image_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param group_gallery_id: Must be a valid group gallery ID. (required) + :type group_gallery_id: str + :param group_gallery_image_id: Must be a valid group gallery image ID. (required) + :type group_gallery_image_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Success + """ + kwargs['_return_http_data_only'] = True + return self.delete_group_gallery_image_with_http_info(group_id, group_gallery_id, group_gallery_image_id, **kwargs) # noqa: E501 + + def delete_group_gallery_image_with_http_info(self, group_id, group_gallery_id, group_gallery_image_id, **kwargs): # noqa: E501 + """Delete Group Gallery Image # noqa: E501 + + Deletes an image from a Group gallery. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_group_gallery_image_with_http_info(group_id, group_gallery_id, group_gallery_image_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param group_gallery_id: Must be a valid group gallery ID. (required) + :type group_gallery_id: str + :param group_gallery_image_id: Must be a valid group gallery image ID. (required) + :type group_gallery_image_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Success, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id', + 'group_gallery_id', + 'group_gallery_image_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_group_gallery_image" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 + local_var_params['group_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `delete_group_gallery_image`") # noqa: E501 + # verify the required parameter 'group_gallery_id' is set + if self.api_client.client_side_validation and ('group_gallery_id' not in local_var_params or # noqa: E501 + local_var_params['group_gallery_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_gallery_id` when calling `delete_group_gallery_image`") # noqa: E501 + # verify the required parameter 'group_gallery_image_id' is set + if self.api_client.client_side_validation and ('group_gallery_image_id' not in local_var_params or # noqa: E501 + local_var_params['group_gallery_image_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_gallery_image_id` when calling `delete_group_gallery_image`") # noqa: E501 + + if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_id` when calling `delete_group_gallery_image`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + if self.api_client.client_side_validation and 'group_gallery_id' in local_var_params and not re.search(r'ggal_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_gallery_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_gallery_id` when calling `delete_group_gallery_image`, must conform to the pattern `/ggal_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + if self.api_client.client_side_validation and 'group_gallery_image_id' in local_var_params and not re.search(r'ggim_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_gallery_image_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_gallery_image_id` when calling `delete_group_gallery_image`, must conform to the pattern `/ggim_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + if 'group_gallery_id' in local_var_params: + path_params['groupGalleryId'] = local_var_params['group_gallery_id'] # noqa: E501 + if 'group_gallery_image_id' in local_var_params: + path_params['groupGalleryImageId'] = local_var_params['group_gallery_image_id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "Success", + 401: "Error", + 403: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/groups/{groupId}/galleries/{groupGalleryId}/images/{groupGalleryImageId}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def delete_group_invite(self, group_id, user_id, **kwargs): # noqa: E501 + """Delete User Invite # noqa: E501 + + Deletes an Group invite sent to a User # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_group_invite(group_id, user_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + kwargs['_return_http_data_only'] = True + return self.delete_group_invite_with_http_info(group_id, user_id, **kwargs) # noqa: E501 + + def delete_group_invite_with_http_info(self, group_id, user_id, **kwargs): # noqa: E501 + """Delete User Invite # noqa: E501 + + Deletes an Group invite sent to a User # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_group_invite_with_http_info(group_id, user_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + + local_var_params = locals() + + all_params = [ + 'group_id', + 'user_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_group_invite" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 + local_var_params['group_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `delete_group_invite`") # noqa: E501 + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 + local_var_params['user_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `delete_group_invite`") # noqa: E501 + + if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_id` when calling `delete_group_invite`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = {} + + return self.api_client.call_api( + '/groups/{groupId}/invites/{userId}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def delete_group_role(self, group_id, group_role_id, **kwargs): # noqa: E501 + """Delete Group Role # noqa: E501 + + Deletes a Group Role by ID and returns the remaining roles. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_group_role(group_id, group_role_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param group_role_id: Must be a valid group role ID. (required) + :type group_role_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[GroupRole] + """ + kwargs['_return_http_data_only'] = True + return self.delete_group_role_with_http_info(group_id, group_role_id, **kwargs) # noqa: E501 + + def delete_group_role_with_http_info(self, group_id, group_role_id, **kwargs): # noqa: E501 + """Delete Group Role # noqa: E501 + + Deletes a Group Role by ID and returns the remaining roles. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_group_role_with_http_info(group_id, group_role_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param group_role_id: Must be a valid group role ID. (required) + :type group_role_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[GroupRole], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id', + 'group_role_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_group_role" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 + local_var_params['group_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `delete_group_role`") # noqa: E501 + # verify the required parameter 'group_role_id' is set + if self.api_client.client_side_validation and ('group_role_id' not in local_var_params or # noqa: E501 + local_var_params['group_role_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_role_id` when calling `delete_group_role`") # noqa: E501 + + if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_id` when calling `delete_group_role`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + if self.api_client.client_side_validation and 'group_role_id' in local_var_params and not re.search(r'grol_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_role_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_role_id` when calling `delete_group_role`, must conform to the pattern `/grol_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + if 'group_role_id' in local_var_params: + path_params['groupRoleId'] = local_var_params['group_role_id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[GroupRole]", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/groups/{groupId}/roles/{groupRoleId}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_group(self, group_id, **kwargs): # noqa: E501 + """Get Group by ID # noqa: E501 + + Returns a single Group by ID. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param include_roles: Include roles for the Group object. Defaults to false. + :type include_roles: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Group + """ + kwargs['_return_http_data_only'] = True + return self.get_group_with_http_info(group_id, **kwargs) # noqa: E501 + + def get_group_with_http_info(self, group_id, **kwargs): # noqa: E501 + """Get Group by ID # noqa: E501 + + Returns a single Group by ID. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_with_http_info(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param include_roles: Include roles for the Group object. Defaults to false. + :type include_roles: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Group, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id', + 'include_roles' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_group" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 + local_var_params['group_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `get_group`") # noqa: E501 + + if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_id` when calling `get_group`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + + query_params = [] + if 'include_roles' in local_var_params and local_var_params['include_roles'] is not None: # noqa: E501 + query_params.append(('includeRoles', local_var_params['include_roles'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "Group", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/groups/{groupId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_group_announcements(self, group_id, **kwargs): # noqa: E501 + """Get Group Announcement # noqa: E501 + + Returns the announcement for a Group. If no announcement has been made, then it returns **empty object**. If an announcement exists, then it will always return all fields except `imageId` and `imageUrl` which may be null. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_announcements(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: GroupAnnouncement + """ + kwargs['_return_http_data_only'] = True + return self.get_group_announcements_with_http_info(group_id, **kwargs) # noqa: E501 + + def get_group_announcements_with_http_info(self, group_id, **kwargs): # noqa: E501 + """Get Group Announcement # noqa: E501 + + Returns the announcement for a Group. If no announcement has been made, then it returns **empty object**. If an announcement exists, then it will always return all fields except `imageId` and `imageUrl` which may be null. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_announcements_with_http_info(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(GroupAnnouncement, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_group_announcements" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 + local_var_params['group_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_announcements`") # noqa: E501 + + if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_id` when calling `get_group_announcements`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "GroupAnnouncement", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/groups/{groupId}/announcement', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_group_audit_logs(self, group_id, **kwargs): # noqa: E501 + """Get Group Audit Logs # noqa: E501 + + Returns a list of audit logs for a Group. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_audit_logs(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param start_date: The start date of the search range. + :type start_date: datetime + :param end_date: The end date of the search range. + :type end_date: datetime + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: PaginatedGroupAuditLogEntryList + """ + kwargs['_return_http_data_only'] = True + return self.get_group_audit_logs_with_http_info(group_id, **kwargs) # noqa: E501 + + def get_group_audit_logs_with_http_info(self, group_id, **kwargs): # noqa: E501 + """Get Group Audit Logs # noqa: E501 + + Returns a list of audit logs for a Group. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_audit_logs_with_http_info(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param start_date: The start date of the search range. + :type start_date: datetime + :param end_date: The end date of the search range. + :type end_date: datetime + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(PaginatedGroupAuditLogEntryList, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id', + 'n', + 'offset', + 'start_date', + 'end_date' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_group_audit_logs" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 + local_var_params['group_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_audit_logs`") # noqa: E501 + + if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_id` when calling `get_group_audit_logs`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_group_audit_logs`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_group_audit_logs`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_group_audit_logs`, must be a value greater than or equal to `0`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + + query_params = [] + if 'n' in local_var_params and local_var_params['n'] is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + if 'start_date' in local_var_params and local_var_params['start_date'] is not None: # noqa: E501 + query_params.append(('startDate', local_var_params['start_date'])) # noqa: E501 + if 'end_date' in local_var_params and local_var_params['end_date'] is not None: # noqa: E501 + query_params.append(('endDate', local_var_params['end_date'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "PaginatedGroupAuditLogEntryList", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/groups/{groupId}/auditLogs', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_group_bans(self, group_id, **kwargs): # noqa: E501 + """Get Group Bans # noqa: E501 + + Returns a list of banned users for a Group. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_bans(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[GroupMember] + """ + kwargs['_return_http_data_only'] = True + return self.get_group_bans_with_http_info(group_id, **kwargs) # noqa: E501 + + def get_group_bans_with_http_info(self, group_id, **kwargs): # noqa: E501 + """Get Group Bans # noqa: E501 + + Returns a list of banned users for a Group. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_bans_with_http_info(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[GroupMember], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id', + 'n', + 'offset' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_group_bans" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 + local_var_params['group_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_bans`") # noqa: E501 + + if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_id` when calling `get_group_bans`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_group_bans`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_group_bans`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_group_bans`, must be a value greater than or equal to `0`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + + query_params = [] + if 'n' in local_var_params and local_var_params['n'] is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[GroupMember]", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/groups/{groupId}/bans', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_group_gallery_images(self, group_id, group_gallery_id, **kwargs): # noqa: E501 + """Get Group Gallery Images # noqa: E501 + + Returns a list of images for a Group gallery. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_gallery_images(group_id, group_gallery_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param group_gallery_id: Must be a valid group gallery ID. (required) + :type group_gallery_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param approved: If specified, only returns images that have been approved or not approved. + :type approved: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[GroupGalleryImage] + """ + kwargs['_return_http_data_only'] = True + return self.get_group_gallery_images_with_http_info(group_id, group_gallery_id, **kwargs) # noqa: E501 + + def get_group_gallery_images_with_http_info(self, group_id, group_gallery_id, **kwargs): # noqa: E501 + """Get Group Gallery Images # noqa: E501 + + Returns a list of images for a Group gallery. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_gallery_images_with_http_info(group_id, group_gallery_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param group_gallery_id: Must be a valid group gallery ID. (required) + :type group_gallery_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param approved: If specified, only returns images that have been approved or not approved. + :type approved: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[GroupGalleryImage], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id', + 'group_gallery_id', + 'n', + 'offset', + 'approved' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_group_gallery_images" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 + local_var_params['group_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_gallery_images`") # noqa: E501 + # verify the required parameter 'group_gallery_id' is set + if self.api_client.client_side_validation and ('group_gallery_id' not in local_var_params or # noqa: E501 + local_var_params['group_gallery_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_gallery_id` when calling `get_group_gallery_images`") # noqa: E501 + + if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_id` when calling `get_group_gallery_images`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + if self.api_client.client_side_validation and 'group_gallery_id' in local_var_params and not re.search(r'ggal_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_gallery_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_gallery_id` when calling `get_group_gallery_images`, must conform to the pattern `/ggal_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_group_gallery_images`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_group_gallery_images`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_group_gallery_images`, must be a value greater than or equal to `0`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + if 'group_gallery_id' in local_var_params: + path_params['groupGalleryId'] = local_var_params['group_gallery_id'] # noqa: E501 + + query_params = [] + if 'n' in local_var_params and local_var_params['n'] is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + if 'approved' in local_var_params and local_var_params['approved'] is not None: # noqa: E501 + query_params.append(('approved', local_var_params['approved'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[GroupGalleryImage]", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/groups/{groupId}/galleries/{groupGalleryId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_group_invites(self, group_id, **kwargs): # noqa: E501 + """Get Group Invites Sent # noqa: E501 + + Returns a list of members that have been invited to the Group. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_invites(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[GroupMember] + """ + kwargs['_return_http_data_only'] = True + return self.get_group_invites_with_http_info(group_id, **kwargs) # noqa: E501 + + def get_group_invites_with_http_info(self, group_id, **kwargs): # noqa: E501 + """Get Group Invites Sent # noqa: E501 + + Returns a list of members that have been invited to the Group. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_invites_with_http_info(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[GroupMember], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_group_invites" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 + local_var_params['group_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_invites`") # noqa: E501 + + if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_id` when calling `get_group_invites`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[GroupMember]", + 401: "Error", + 403: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/groups/{groupId}/invites', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_group_member(self, group_id, user_id, **kwargs): # noqa: E501 + """Get Group Member # noqa: E501 + + Returns a LimitedGroup Member. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_member(group_id, user_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: GroupLimitedMember + """ + kwargs['_return_http_data_only'] = True + return self.get_group_member_with_http_info(group_id, user_id, **kwargs) # noqa: E501 + + def get_group_member_with_http_info(self, group_id, user_id, **kwargs): # noqa: E501 + """Get Group Member # noqa: E501 + + Returns a LimitedGroup Member. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_member_with_http_info(group_id, user_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(GroupLimitedMember, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id', + 'user_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_group_member" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 + local_var_params['group_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_member`") # noqa: E501 + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 + local_var_params['user_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_group_member`") # noqa: E501 + + if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_id` when calling `get_group_member`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "GroupLimitedMember", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/groups/{groupId}/members/{userId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_group_members(self, group_id, **kwargs): # noqa: E501 + """List Group Members # noqa: E501 + + Returns a List of all **other** Group Members. This endpoint will never return the user calling the endpoint. Information about the user calling the endpoint must be found in the `myMember` field of the Group object. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_members(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[GroupMember] + """ + kwargs['_return_http_data_only'] = True + return self.get_group_members_with_http_info(group_id, **kwargs) # noqa: E501 + + def get_group_members_with_http_info(self, group_id, **kwargs): # noqa: E501 + """List Group Members # noqa: E501 + + Returns a List of all **other** Group Members. This endpoint will never return the user calling the endpoint. Information about the user calling the endpoint must be found in the `myMember` field of the Group object. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_members_with_http_info(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[GroupMember], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id', + 'n', + 'offset' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_group_members" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 + local_var_params['group_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_members`") # noqa: E501 + + if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_id` when calling `get_group_members`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_group_members`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_group_members`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_group_members`, must be a value greater than or equal to `0`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + + query_params = [] + if 'n' in local_var_params and local_var_params['n'] is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[GroupMember]", + 400: "Error", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/groups/{groupId}/members', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_group_permissions(self, group_id, **kwargs): # noqa: E501 + """List Group Permissions # noqa: E501 + + Returns a List of all possible/available permissions for a Group. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_permissions(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[GroupPermission] + """ + kwargs['_return_http_data_only'] = True + return self.get_group_permissions_with_http_info(group_id, **kwargs) # noqa: E501 + + def get_group_permissions_with_http_info(self, group_id, **kwargs): # noqa: E501 + """List Group Permissions # noqa: E501 + + Returns a List of all possible/available permissions for a Group. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_permissions_with_http_info(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[GroupPermission], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_group_permissions" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 + local_var_params['group_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_permissions`") # noqa: E501 + + if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_id` when calling `get_group_permissions`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[GroupPermission]", + 400: "Error", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/groups/{groupId}/permissions', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_group_requests(self, group_id, **kwargs): # noqa: E501 + """Get Group Join Requests # noqa: E501 + + Returns a list of members that have requested to join the Group. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_requests(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[GroupMember] + """ + kwargs['_return_http_data_only'] = True + return self.get_group_requests_with_http_info(group_id, **kwargs) # noqa: E501 + + def get_group_requests_with_http_info(self, group_id, **kwargs): # noqa: E501 + """Get Group Join Requests # noqa: E501 + + Returns a list of members that have requested to join the Group. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_requests_with_http_info(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[GroupMember], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_group_requests" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 + local_var_params['group_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_requests`") # noqa: E501 + + if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_id` when calling `get_group_requests`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[GroupMember]", + 403: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/groups/{groupId}/requests', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_group_roles(self, group_id, **kwargs): # noqa: E501 + """Get Group Roles # noqa: E501 + + Returns a Group Role by ID. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_roles(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[GroupRole] + """ + kwargs['_return_http_data_only'] = True + return self.get_group_roles_with_http_info(group_id, **kwargs) # noqa: E501 + + def get_group_roles_with_http_info(self, group_id, **kwargs): # noqa: E501 + """Get Group Roles # noqa: E501 + + Returns a Group Role by ID. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_roles_with_http_info(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[GroupRole], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_group_roles" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 + local_var_params['group_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_roles`") # noqa: E501 + + if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_id` when calling `get_group_roles`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[GroupRole]", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/groups/{groupId}/roles', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def join_group(self, group_id, **kwargs): # noqa: E501 + """Join Group # noqa: E501 + + Join a Group by ID and returns the joined Group. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.join_group(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Group + """ + kwargs['_return_http_data_only'] = True + return self.join_group_with_http_info(group_id, **kwargs) # noqa: E501 + + def join_group_with_http_info(self, group_id, **kwargs): # noqa: E501 + """Join Group # noqa: E501 + + Join a Group by ID and returns the joined Group. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.join_group_with_http_info(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Group, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method join_group" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 + local_var_params['group_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `join_group`") # noqa: E501 + + if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_id` when calling `join_group`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "Group", + 400: "Error", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/groups/{groupId}/join', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def kick_group_member(self, group_id, user_id, **kwargs): # noqa: E501 + """Kick Group Member # noqa: E501 + + Kicks a Group Member from the Group. The current user must have the \"Remove Group Members\" permission. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.kick_group_member(group_id, user_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + kwargs['_return_http_data_only'] = True + return self.kick_group_member_with_http_info(group_id, user_id, **kwargs) # noqa: E501 + + def kick_group_member_with_http_info(self, group_id, user_id, **kwargs): # noqa: E501 + """Kick Group Member # noqa: E501 + + Kicks a Group Member from the Group. The current user must have the \"Remove Group Members\" permission. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.kick_group_member_with_http_info(group_id, user_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + + local_var_params = locals() + + all_params = [ + 'group_id', + 'user_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method kick_group_member" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 + local_var_params['group_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `kick_group_member`") # noqa: E501 + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 + local_var_params['user_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `kick_group_member`") # noqa: E501 + + if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_id` when calling `kick_group_member`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = {} + + return self.api_client.call_api( + '/groups/{groupId}/members/{userId}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def leave_group(self, group_id, **kwargs): # noqa: E501 + """Leave Group # noqa: E501 + + Leave a group by ID. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.leave_group(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + kwargs['_return_http_data_only'] = True + return self.leave_group_with_http_info(group_id, **kwargs) # noqa: E501 + + def leave_group_with_http_info(self, group_id, **kwargs): # noqa: E501 + """Leave Group # noqa: E501 + + Leave a group by ID. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.leave_group_with_http_info(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + + local_var_params = locals() + + all_params = [ + 'group_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method leave_group" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 + local_var_params['group_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `leave_group`") # noqa: E501 + + if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_id` when calling `leave_group`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = {} + + return self.api_client.call_api( + '/groups/{groupId}/leave', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def remove_group_member_role(self, group_id, user_id, group_role_id, **kwargs): # noqa: E501 + """Remove Role from GroupMember # noqa: E501 + + Removes a Role from a Group Member # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.remove_group_member_role(group_id, user_id, group_role_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param group_role_id: Must be a valid group role ID. (required) + :type group_role_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[str] + """ + kwargs['_return_http_data_only'] = True + return self.remove_group_member_role_with_http_info(group_id, user_id, group_role_id, **kwargs) # noqa: E501 + + def remove_group_member_role_with_http_info(self, group_id, user_id, group_role_id, **kwargs): # noqa: E501 + """Remove Role from GroupMember # noqa: E501 + + Removes a Role from a Group Member # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.remove_group_member_role_with_http_info(group_id, user_id, group_role_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param group_role_id: Must be a valid group role ID. (required) + :type group_role_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[str], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id', + 'user_id', + 'group_role_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method remove_group_member_role" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 + local_var_params['group_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `remove_group_member_role`") # noqa: E501 + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 + local_var_params['user_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `remove_group_member_role`") # noqa: E501 + # verify the required parameter 'group_role_id' is set + if self.api_client.client_side_validation and ('group_role_id' not in local_var_params or # noqa: E501 + local_var_params['group_role_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_role_id` when calling `remove_group_member_role`") # noqa: E501 + + if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_id` when calling `remove_group_member_role`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + if self.api_client.client_side_validation and 'group_role_id' in local_var_params and not re.search(r'grol_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_role_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_role_id` when calling `remove_group_member_role`, must conform to the pattern `/grol_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + if 'group_role_id' in local_var_params: + path_params['groupRoleId'] = local_var_params['group_role_id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[str]", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/groups/{groupId}/members/{userId}/roles/{groupRoleId}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def respond_group_join_request(self, group_id, user_id, **kwargs): # noqa: E501 + """Respond Group Join request # noqa: E501 + + Responds to a Group Join Request with Accept/Deny # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.respond_group_join_request(group_id, user_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param respond_group_join_request: + :type respond_group_join_request: RespondGroupJoinRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + kwargs['_return_http_data_only'] = True + return self.respond_group_join_request_with_http_info(group_id, user_id, **kwargs) # noqa: E501 + + def respond_group_join_request_with_http_info(self, group_id, user_id, **kwargs): # noqa: E501 + """Respond Group Join request # noqa: E501 + + Responds to a Group Join Request with Accept/Deny # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.respond_group_join_request_with_http_info(group_id, user_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param respond_group_join_request: + :type respond_group_join_request: RespondGroupJoinRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + + local_var_params = locals() + + all_params = [ + 'group_id', + 'user_id', + 'respond_group_join_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method respond_group_join_request" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 + local_var_params['group_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `respond_group_join_request`") # noqa: E501 + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 + local_var_params['user_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `respond_group_join_request`") # noqa: E501 + + if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_id` when calling `respond_group_join_request`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'respond_group_join_request' in local_var_params: + body_params = local_var_params['respond_group_join_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = {} + + return self.api_client.call_api( + '/groups/{groupId}/requests/{userId}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def unban_group_member(self, group_id, user_id, **kwargs): # noqa: E501 + """Unban Group Member # noqa: E501 + + Unbans a user from a Group. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.unban_group_member(group_id, user_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: GroupMember + """ + kwargs['_return_http_data_only'] = True + return self.unban_group_member_with_http_info(group_id, user_id, **kwargs) # noqa: E501 + + def unban_group_member_with_http_info(self, group_id, user_id, **kwargs): # noqa: E501 + """Unban Group Member # noqa: E501 + + Unbans a user from a Group. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.unban_group_member_with_http_info(group_id, user_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(GroupMember, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id', + 'user_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method unban_group_member" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 + local_var_params['group_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `unban_group_member`") # noqa: E501 + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 + local_var_params['user_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `unban_group_member`") # noqa: E501 + + if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_id` when calling `unban_group_member`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "GroupMember", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/groups/{groupId}/bans/{userId}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def update_group(self, group_id, **kwargs): # noqa: E501 + """Update Group # noqa: E501 + + Updates a Group and returns it. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_group(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param update_group_request: + :type update_group_request: UpdateGroupRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Group + """ + kwargs['_return_http_data_only'] = True + return self.update_group_with_http_info(group_id, **kwargs) # noqa: E501 + + def update_group_with_http_info(self, group_id, **kwargs): # noqa: E501 + """Update Group # noqa: E501 + + Updates a Group and returns it. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_group_with_http_info(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param update_group_request: + :type update_group_request: UpdateGroupRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Group, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id', + 'update_group_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method update_group" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 + local_var_params['group_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `update_group`") # noqa: E501 + + if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_id` when calling `update_group`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'update_group_request' in local_var_params: + body_params = local_var_params['update_group_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "Group", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/groups/{groupId}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def update_group_gallery(self, group_id, group_gallery_id, **kwargs): # noqa: E501 + """Update Group Gallery # noqa: E501 + + Updates a gallery for a Group. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_group_gallery(group_id, group_gallery_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param group_gallery_id: Must be a valid group gallery ID. (required) + :type group_gallery_id: str + :param update_group_gallery_request: + :type update_group_gallery_request: UpdateGroupGalleryRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: GroupGallery + """ + kwargs['_return_http_data_only'] = True + return self.update_group_gallery_with_http_info(group_id, group_gallery_id, **kwargs) # noqa: E501 + + def update_group_gallery_with_http_info(self, group_id, group_gallery_id, **kwargs): # noqa: E501 + """Update Group Gallery # noqa: E501 + + Updates a gallery for a Group. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_group_gallery_with_http_info(group_id, group_gallery_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param group_gallery_id: Must be a valid group gallery ID. (required) + :type group_gallery_id: str + :param update_group_gallery_request: + :type update_group_gallery_request: UpdateGroupGalleryRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(GroupGallery, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id', + 'group_gallery_id', + 'update_group_gallery_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method update_group_gallery" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 + local_var_params['group_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `update_group_gallery`") # noqa: E501 + # verify the required parameter 'group_gallery_id' is set + if self.api_client.client_side_validation and ('group_gallery_id' not in local_var_params or # noqa: E501 + local_var_params['group_gallery_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_gallery_id` when calling `update_group_gallery`") # noqa: E501 + + if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_id` when calling `update_group_gallery`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + if self.api_client.client_side_validation and 'group_gallery_id' in local_var_params and not re.search(r'ggal_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_gallery_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_gallery_id` when calling `update_group_gallery`, must conform to the pattern `/ggal_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + if 'group_gallery_id' in local_var_params: + path_params['groupGalleryId'] = local_var_params['group_gallery_id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'update_group_gallery_request' in local_var_params: + body_params = local_var_params['update_group_gallery_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "GroupGallery", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/groups/{groupId}/galleries/{groupGalleryId}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def update_group_member(self, group_id, user_id, **kwargs): # noqa: E501 + """Update Group Member # noqa: E501 + + Updates a Group Member # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_group_member(group_id, user_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param update_group_member_request: + :type update_group_member_request: UpdateGroupMemberRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: GroupLimitedMember + """ + kwargs['_return_http_data_only'] = True + return self.update_group_member_with_http_info(group_id, user_id, **kwargs) # noqa: E501 + + def update_group_member_with_http_info(self, group_id, user_id, **kwargs): # noqa: E501 + """Update Group Member # noqa: E501 + + Updates a Group Member # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_group_member_with_http_info(group_id, user_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param update_group_member_request: + :type update_group_member_request: UpdateGroupMemberRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(GroupLimitedMember, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id', + 'user_id', + 'update_group_member_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method update_group_member" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 + local_var_params['group_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `update_group_member`") # noqa: E501 + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 + local_var_params['user_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `update_group_member`") # noqa: E501 + + if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_id` when calling `update_group_member`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'update_group_member_request' in local_var_params: + body_params = local_var_params['update_group_member_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "GroupLimitedMember", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/groups/{groupId}/members/{userId}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def update_group_role(self, group_id, group_role_id, **kwargs): # noqa: E501 + """Update Group Role # noqa: E501 + + Updates a group role by ID. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_group_role(group_id, group_role_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param group_role_id: Must be a valid group role ID. (required) + :type group_role_id: str + :param update_group_role_request: + :type update_group_role_request: UpdateGroupRoleRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[GroupRole] + """ + kwargs['_return_http_data_only'] = True + return self.update_group_role_with_http_info(group_id, group_role_id, **kwargs) # noqa: E501 + + def update_group_role_with_http_info(self, group_id, group_role_id, **kwargs): # noqa: E501 + """Update Group Role # noqa: E501 + + Updates a group role by ID. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_group_role_with_http_info(group_id, group_role_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param group_role_id: Must be a valid group role ID. (required) + :type group_role_id: str + :param update_group_role_request: + :type update_group_role_request: UpdateGroupRoleRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[GroupRole], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id', + 'group_role_id', + 'update_group_role_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method update_group_role" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 + local_var_params['group_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `update_group_role`") # noqa: E501 + # verify the required parameter 'group_role_id' is set + if self.api_client.client_side_validation and ('group_role_id' not in local_var_params or # noqa: E501 + local_var_params['group_role_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `group_role_id` when calling `update_group_role`") # noqa: E501 + + if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_id` when calling `update_group_role`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + if self.api_client.client_side_validation and 'group_role_id' in local_var_params and not re.search(r'grol_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_role_id']): # noqa: E501 + raise ApiValueError("Invalid value for parameter `group_role_id` when calling `update_group_role`, must conform to the pattern `/grol_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + if 'group_role_id' in local_var_params: + path_params['groupRoleId'] = local_var_params['group_role_id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'update_group_role_request' in local_var_params: + body_params = local_var_params['update_group_role_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[GroupRole]", + 401: "Error", + } + + return self.api_client.call_api( + '/groups/{groupId}/roles/{groupRoleId}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 39e57642..5257b0dc 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -46,9 +46,9 @@ def get_instance(self, world_id, instance_id, **kwargs): # noqa: E501 >>> thread = api.get_instance(world_id, instance_id, async_req=True) >>> result = thread.get() - :param world_id: (required) + :param world_id: Must be a valid world ID. (required) :type world_id: str - :param instance_id: (required) + :param instance_id: Must be a valid instance ID. (required) :type instance_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -78,9 +78,9 @@ def get_instance_with_http_info(self, world_id, instance_id, **kwargs): # noqa: >>> thread = api.get_instance_with_http_info(world_id, instance_id, async_req=True) >>> result = thread.get() - :param world_id: (required) + :param world_id: Must be a valid world ID. (required) :type world_id: str - :param instance_id: (required) + :param instance_id: Must be a valid instance ID. (required) :type instance_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -99,7 +99,6 @@ def get_instance_with_http_info(self, world_id, instance_id, **kwargs): # noqa: request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -118,9 +117,7 @@ def get_instance_with_http_info(self, world_id, instance_id, **kwargs): # noqa: '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -133,10 +130,12 @@ def get_instance_with_http_info(self, world_id, instance_id, **kwargs): # noqa: local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'world_id' is set - if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('world_id' not in local_var_params or # noqa: E501 + local_var_params['world_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `world_id` when calling `get_instance`") # noqa: E501 # verify the required parameter 'instance_id' is set - if self.api_client.client_side_validation and local_var_params.get('instance_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('instance_id' not in local_var_params or # noqa: E501 + local_var_params['instance_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `instance_id` when calling `get_instance`") # noqa: E501 collection_formats = {} @@ -149,7 +148,7 @@ def get_instance_with_http_info(self, world_id, instance_id, **kwargs): # noqa: query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -194,7 +193,7 @@ def get_instance_by_short_name(self, short_name, **kwargs): # noqa: E501 >>> thread = api.get_instance_by_short_name(short_name, async_req=True) >>> result = thread.get() - :param short_name: (required) + :param short_name: Must be a valid instance short name. (required) :type short_name: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -224,7 +223,7 @@ def get_instance_by_short_name_with_http_info(self, short_name, **kwargs): # no >>> thread = api.get_instance_by_short_name_with_http_info(short_name, async_req=True) >>> result = thread.get() - :param short_name: (required) + :param short_name: Must be a valid instance short name. (required) :type short_name: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -243,7 +242,6 @@ def get_instance_by_short_name_with_http_info(self, short_name, **kwargs): # no request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -261,9 +259,7 @@ def get_instance_by_short_name_with_http_info(self, short_name, **kwargs): # no '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -276,7 +272,8 @@ def get_instance_by_short_name_with_http_info(self, short_name, **kwargs): # no local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'short_name' is set - if self.api_client.client_side_validation and local_var_params.get('short_name') is None: # noqa: E501 + if self.api_client.client_side_validation and ('short_name' not in local_var_params or # noqa: E501 + local_var_params['short_name'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `short_name` when calling `get_instance_by_short_name`") # noqa: E501 collection_formats = {} @@ -287,7 +284,7 @@ def get_instance_by_short_name_with_http_info(self, short_name, **kwargs): # no query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -333,9 +330,9 @@ def get_short_name(self, world_id, instance_id, **kwargs): # noqa: E501 >>> thread = api.get_short_name(world_id, instance_id, async_req=True) >>> result = thread.get() - :param world_id: (required) + :param world_id: Must be a valid world ID. (required) :type world_id: str - :param instance_id: (required) + :param instance_id: Must be a valid instance ID. (required) :type instance_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -365,9 +362,9 @@ def get_short_name_with_http_info(self, world_id, instance_id, **kwargs): # noq >>> thread = api.get_short_name_with_http_info(world_id, instance_id, async_req=True) >>> result = thread.get() - :param world_id: (required) + :param world_id: Must be a valid world ID. (required) :type world_id: str - :param instance_id: (required) + :param instance_id: Must be a valid instance ID. (required) :type instance_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -386,7 +383,6 @@ def get_short_name_with_http_info(self, world_id, instance_id, **kwargs): # noq request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -405,9 +401,7 @@ def get_short_name_with_http_info(self, world_id, instance_id, **kwargs): # noq '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -420,10 +414,12 @@ def get_short_name_with_http_info(self, world_id, instance_id, **kwargs): # noq local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'world_id' is set - if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('world_id' not in local_var_params or # noqa: E501 + local_var_params['world_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `world_id` when calling `get_short_name`") # noqa: E501 # verify the required parameter 'instance_id' is set - if self.api_client.client_side_validation and local_var_params.get('instance_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('instance_id' not in local_var_params or # noqa: E501 + local_var_params['instance_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `instance_id` when calling `get_short_name`") # noqa: E501 collection_formats = {} @@ -436,7 +432,7 @@ def get_short_name_with_http_info(self, world_id, instance_id, **kwargs): # noq query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -481,9 +477,9 @@ def send_self_invite(self, world_id, instance_id, **kwargs): # noqa: E501 >>> thread = api.send_self_invite(world_id, instance_id, async_req=True) >>> result = thread.get() - :param world_id: (required) + :param world_id: Must be a valid world ID. (required) :type world_id: str - :param instance_id: (required) + :param instance_id: Must be a valid instance ID. (required) :type instance_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -513,9 +509,9 @@ def send_self_invite_with_http_info(self, world_id, instance_id, **kwargs): # n >>> thread = api.send_self_invite_with_http_info(world_id, instance_id, async_req=True) >>> result = thread.get() - :param world_id: (required) + :param world_id: Must be a valid world ID. (required) :type world_id: str - :param instance_id: (required) + :param instance_id: Must be a valid instance ID. (required) :type instance_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -534,7 +530,6 @@ def send_self_invite_with_http_info(self, world_id, instance_id, **kwargs): # n request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -553,9 +548,7 @@ def send_self_invite_with_http_info(self, world_id, instance_id, **kwargs): # n '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -568,10 +561,12 @@ def send_self_invite_with_http_info(self, world_id, instance_id, **kwargs): # n local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'world_id' is set - if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('world_id' not in local_var_params or # noqa: E501 + local_var_params['world_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `world_id` when calling `send_self_invite`") # noqa: E501 # verify the required parameter 'instance_id' is set - if self.api_client.client_side_validation and local_var_params.get('instance_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('instance_id' not in local_var_params or # noqa: E501 + local_var_params['instance_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `instance_id` when calling `send_self_invite`") # noqa: E501 collection_formats = {} @@ -584,7 +579,7 @@ def send_self_invite_with_http_info(self, world_id, instance_id, **kwargs): # n query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index 4409b114..463e3443 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -46,11 +46,11 @@ def get_invite_message(self, user_id, message_type, slot, **kwargs): # noqa: E5 >>> thread = api.get_invite_message(user_id, message_type, slot, async_req=True) >>> result = thread.get() - :param user_id: (required) + :param user_id: Must be a valid user ID. (required) :type user_id: str - :param message_type: (required) - :type message_type: str - :param slot: (required) + :param message_type: The type of message to fetch, must be a valid InviteMessageType. (required) + :type message_type: InviteMessageType + :param slot: The message slot to fetch of a given message type. (required) :type slot: int :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -80,11 +80,11 @@ def get_invite_message_with_http_info(self, user_id, message_type, slot, **kwarg >>> thread = api.get_invite_message_with_http_info(user_id, message_type, slot, async_req=True) >>> result = thread.get() - :param user_id: (required) + :param user_id: Must be a valid user ID. (required) :type user_id: str - :param message_type: (required) - :type message_type: str - :param slot: (required) + :param message_type: The type of message to fetch, must be a valid InviteMessageType. (required) + :type message_type: InviteMessageType + :param slot: The message slot to fetch of a given message type. (required) :type slot: int :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -103,7 +103,6 @@ def get_invite_message_with_http_info(self, user_id, message_type, slot, **kwarg request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -123,9 +122,7 @@ def get_invite_message_with_http_info(self, user_id, message_type, slot, **kwarg '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -138,13 +135,16 @@ def get_invite_message_with_http_info(self, user_id, message_type, slot, **kwarg local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 + local_var_params['user_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `get_invite_message`") # noqa: E501 # verify the required parameter 'message_type' is set - if self.api_client.client_side_validation and local_var_params.get('message_type') is None: # noqa: E501 + if self.api_client.client_side_validation and ('message_type' not in local_var_params or # noqa: E501 + local_var_params['message_type'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `message_type` when calling `get_invite_message`") # noqa: E501 # verify the required parameter 'slot' is set - if self.api_client.client_side_validation and local_var_params.get('slot') is None: # noqa: E501 + if self.api_client.client_side_validation and ('slot' not in local_var_params or # noqa: E501 + local_var_params['slot'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `slot` when calling `get_invite_message`") # noqa: E501 if self.api_client.client_side_validation and 'slot' in local_var_params and local_var_params['slot'] > 11: # noqa: E501 @@ -163,7 +163,7 @@ def get_invite_message_with_http_info(self, user_id, message_type, slot, **kwarg query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -210,10 +210,10 @@ def get_invite_messages(self, user_id, message_type, **kwargs): # noqa: E501 >>> thread = api.get_invite_messages(user_id, message_type, async_req=True) >>> result = thread.get() - :param user_id: (required) + :param user_id: Must be a valid user ID. (required) :type user_id: str - :param message_type: (required) - :type message_type: str + :param message_type: The type of message to fetch, must be a valid InviteMessageType. (required) + :type message_type: InviteMessageType :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -242,10 +242,10 @@ def get_invite_messages_with_http_info(self, user_id, message_type, **kwargs): >>> thread = api.get_invite_messages_with_http_info(user_id, message_type, async_req=True) >>> result = thread.get() - :param user_id: (required) + :param user_id: Must be a valid user ID. (required) :type user_id: str - :param message_type: (required) - :type message_type: str + :param message_type: The type of message to fetch, must be a valid InviteMessageType. (required) + :type message_type: InviteMessageType :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -263,7 +263,6 @@ def get_invite_messages_with_http_info(self, user_id, message_type, **kwargs): request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -282,9 +281,7 @@ def get_invite_messages_with_http_info(self, user_id, message_type, **kwargs): '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -297,10 +294,12 @@ def get_invite_messages_with_http_info(self, user_id, message_type, **kwargs): local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 + local_var_params['user_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `get_invite_messages`") # noqa: E501 # verify the required parameter 'message_type' is set - if self.api_client.client_side_validation and local_var_params.get('message_type') is None: # noqa: E501 + if self.api_client.client_side_validation and ('message_type' not in local_var_params or # noqa: E501 + local_var_params['message_type'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `message_type` when calling `get_invite_messages`") # noqa: E501 collection_formats = {} @@ -313,7 +312,7 @@ def get_invite_messages_with_http_info(self, user_id, message_type, **kwargs): query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -359,9 +358,9 @@ def invite_myself_to(self, world_id, instance_id, **kwargs): # noqa: E501 >>> thread = api.invite_myself_to(world_id, instance_id, async_req=True) >>> result = thread.get() - :param world_id: (required) + :param world_id: Must be a valid world ID. (required) :type world_id: str - :param instance_id: (required) + :param instance_id: Must be a valid instance ID. (required) :type instance_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -391,9 +390,9 @@ def invite_myself_to_with_http_info(self, world_id, instance_id, **kwargs): # n >>> thread = api.invite_myself_to_with_http_info(world_id, instance_id, async_req=True) >>> result = thread.get() - :param world_id: (required) + :param world_id: Must be a valid world ID. (required) :type world_id: str - :param instance_id: (required) + :param instance_id: Must be a valid instance ID. (required) :type instance_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -412,7 +411,6 @@ def invite_myself_to_with_http_info(self, world_id, instance_id, **kwargs): # n request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -431,9 +429,7 @@ def invite_myself_to_with_http_info(self, world_id, instance_id, **kwargs): # n '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -446,10 +442,12 @@ def invite_myself_to_with_http_info(self, world_id, instance_id, **kwargs): # n local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'world_id' is set - if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('world_id' not in local_var_params or # noqa: E501 + local_var_params['world_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `world_id` when calling `invite_myself_to`") # noqa: E501 # verify the required parameter 'instance_id' is set - if self.api_client.client_side_validation and local_var_params.get('instance_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('instance_id' not in local_var_params or # noqa: E501 + local_var_params['instance_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `instance_id` when calling `invite_myself_to`") # noqa: E501 collection_formats = {} @@ -462,7 +460,7 @@ def invite_myself_to_with_http_info(self, world_id, instance_id, **kwargs): # n query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -508,7 +506,7 @@ def invite_user(self, user_id, **kwargs): # noqa: E501 >>> thread = api.invite_user(user_id, async_req=True) >>> result = thread.get() - :param user_id: (required) + :param user_id: Must be a valid user ID. (required) :type user_id: str :param invite_request: Slot number of the Invite Message to use when inviting a user. :type invite_request: InviteRequest @@ -540,7 +538,7 @@ def invite_user_with_http_info(self, user_id, **kwargs): # noqa: E501 >>> thread = api.invite_user_with_http_info(user_id, async_req=True) >>> result = thread.get() - :param user_id: (required) + :param user_id: Must be a valid user ID. (required) :type user_id: str :param invite_request: Slot number of the Invite Message to use when inviting a user. :type invite_request: InviteRequest @@ -561,7 +559,6 @@ def invite_user_with_http_info(self, user_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -580,9 +577,7 @@ def invite_user_with_http_info(self, user_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -595,7 +590,8 @@ def invite_user_with_http_info(self, user_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 + local_var_params['user_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `invite_user`") # noqa: E501 collection_formats = {} @@ -606,7 +602,7 @@ def invite_user_with_http_info(self, user_id, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -619,12 +615,8 @@ def invite_user_with_http_info(self, user_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # HTTP header `Content-Type` - content_types_list = local_var_params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'], - 'POST', body_params)) # noqa: E501 - if content_types_list: - header_params['Content-Type'] = content_types_list + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 # Authentication setting auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 @@ -661,7 +653,7 @@ def request_invite(self, user_id, **kwargs): # noqa: E501 >>> thread = api.request_invite(user_id, async_req=True) >>> result = thread.get() - :param user_id: (required) + :param user_id: Must be a valid user ID. (required) :type user_id: str :param request_invite_request: Slot number of the Request Message to use when request an invite. :type request_invite_request: RequestInviteRequest @@ -693,7 +685,7 @@ def request_invite_with_http_info(self, user_id, **kwargs): # noqa: E501 >>> thread = api.request_invite_with_http_info(user_id, async_req=True) >>> result = thread.get() - :param user_id: (required) + :param user_id: Must be a valid user ID. (required) :type user_id: str :param request_invite_request: Slot number of the Request Message to use when request an invite. :type request_invite_request: RequestInviteRequest @@ -714,7 +706,6 @@ def request_invite_with_http_info(self, user_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -733,9 +724,7 @@ def request_invite_with_http_info(self, user_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -748,7 +737,8 @@ def request_invite_with_http_info(self, user_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 + local_var_params['user_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `request_invite`") # noqa: E501 collection_formats = {} @@ -759,7 +749,7 @@ def request_invite_with_http_info(self, user_id, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -772,12 +762,8 @@ def request_invite_with_http_info(self, user_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # HTTP header `Content-Type` - content_types_list = local_var_params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'], - 'POST', body_params)) # noqa: E501 - if content_types_list: - header_params['Content-Type'] = content_types_list + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 # Authentication setting auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 @@ -814,11 +800,11 @@ def reset_invite_message(self, user_id, message_type, slot, **kwargs): # noqa: >>> thread = api.reset_invite_message(user_id, message_type, slot, async_req=True) >>> result = thread.get() - :param user_id: (required) + :param user_id: Must be a valid user ID. (required) :type user_id: str - :param message_type: (required) - :type message_type: str - :param slot: (required) + :param message_type: The type of message to fetch, must be a valid InviteMessageType. (required) + :type message_type: InviteMessageType + :param slot: The message slot to fetch of a given message type. (required) :type slot: int :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -848,11 +834,11 @@ def reset_invite_message_with_http_info(self, user_id, message_type, slot, **kwa >>> thread = api.reset_invite_message_with_http_info(user_id, message_type, slot, async_req=True) >>> result = thread.get() - :param user_id: (required) + :param user_id: Must be a valid user ID. (required) :type user_id: str - :param message_type: (required) - :type message_type: str - :param slot: (required) + :param message_type: The type of message to fetch, must be a valid InviteMessageType. (required) + :type message_type: InviteMessageType + :param slot: The message slot to fetch of a given message type. (required) :type slot: int :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -871,7 +857,6 @@ def reset_invite_message_with_http_info(self, user_id, message_type, slot, **kwa request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -891,9 +876,7 @@ def reset_invite_message_with_http_info(self, user_id, message_type, slot, **kwa '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -906,13 +889,16 @@ def reset_invite_message_with_http_info(self, user_id, message_type, slot, **kwa local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 + local_var_params['user_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `reset_invite_message`") # noqa: E501 # verify the required parameter 'message_type' is set - if self.api_client.client_side_validation and local_var_params.get('message_type') is None: # noqa: E501 + if self.api_client.client_side_validation and ('message_type' not in local_var_params or # noqa: E501 + local_var_params['message_type'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `message_type` when calling `reset_invite_message`") # noqa: E501 # verify the required parameter 'slot' is set - if self.api_client.client_side_validation and local_var_params.get('slot') is None: # noqa: E501 + if self.api_client.client_side_validation and ('slot' not in local_var_params or # noqa: E501 + local_var_params['slot'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `slot` when calling `reset_invite_message`") # noqa: E501 if self.api_client.client_side_validation and 'slot' in local_var_params and local_var_params['slot'] > 11: # noqa: E501 @@ -931,7 +917,7 @@ def reset_invite_message_with_http_info(self, user_id, message_type, slot, **kwa query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -979,7 +965,7 @@ def respond_invite(self, notification_id, **kwargs): # noqa: E501 >>> thread = api.respond_invite(notification_id, async_req=True) >>> result = thread.get() - :param notification_id: (required) + :param notification_id: Must be a valid notification ID. (required) :type notification_id: str :param invite_response: Slot number of the Response Message to use when responding to a user. :type invite_response: InviteResponse @@ -1011,7 +997,7 @@ def respond_invite_with_http_info(self, notification_id, **kwargs): # noqa: E50 >>> thread = api.respond_invite_with_http_info(notification_id, async_req=True) >>> result = thread.get() - :param notification_id: (required) + :param notification_id: Must be a valid notification ID. (required) :type notification_id: str :param invite_response: Slot number of the Response Message to use when responding to a user. :type invite_response: InviteResponse @@ -1032,7 +1018,6 @@ def respond_invite_with_http_info(self, notification_id, **kwargs): # noqa: E50 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -1051,9 +1036,7 @@ def respond_invite_with_http_info(self, notification_id, **kwargs): # noqa: E50 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -1066,7 +1049,8 @@ def respond_invite_with_http_info(self, notification_id, **kwargs): # noqa: E50 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'notification_id' is set - if self.api_client.client_side_validation and local_var_params.get('notification_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('notification_id' not in local_var_params or # noqa: E501 + local_var_params['notification_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `notification_id` when calling `respond_invite`") # noqa: E501 collection_formats = {} @@ -1077,7 +1061,7 @@ def respond_invite_with_http_info(self, notification_id, **kwargs): # noqa: E50 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -1090,12 +1074,8 @@ def respond_invite_with_http_info(self, notification_id, **kwargs): # noqa: E50 ['application/json']) # noqa: E501 # HTTP header `Content-Type` - content_types_list = local_var_params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'], - 'POST', body_params)) # noqa: E501 - if content_types_list: - header_params['Content-Type'] = content_types_list + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 # Authentication setting auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 @@ -1132,11 +1112,11 @@ def update_invite_message(self, user_id, message_type, slot, **kwargs): # noqa: >>> thread = api.update_invite_message(user_id, message_type, slot, async_req=True) >>> result = thread.get() - :param user_id: (required) + :param user_id: Must be a valid user ID. (required) :type user_id: str - :param message_type: (required) - :type message_type: str - :param slot: (required) + :param message_type: The type of message to fetch, must be a valid InviteMessageType. (required) + :type message_type: InviteMessageType + :param slot: The message slot to fetch of a given message type. (required) :type slot: int :param update_invite_message_request: Message of what to set the invite message to. :type update_invite_message_request: UpdateInviteMessageRequest @@ -1168,11 +1148,11 @@ def update_invite_message_with_http_info(self, user_id, message_type, slot, **kw >>> thread = api.update_invite_message_with_http_info(user_id, message_type, slot, async_req=True) >>> result = thread.get() - :param user_id: (required) + :param user_id: Must be a valid user ID. (required) :type user_id: str - :param message_type: (required) - :type message_type: str - :param slot: (required) + :param message_type: The type of message to fetch, must be a valid InviteMessageType. (required) + :type message_type: InviteMessageType + :param slot: The message slot to fetch of a given message type. (required) :type slot: int :param update_invite_message_request: Message of what to set the invite message to. :type update_invite_message_request: UpdateInviteMessageRequest @@ -1193,7 +1173,6 @@ def update_invite_message_with_http_info(self, user_id, message_type, slot, **kw request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -1214,9 +1193,7 @@ def update_invite_message_with_http_info(self, user_id, message_type, slot, **kw '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -1229,13 +1206,16 @@ def update_invite_message_with_http_info(self, user_id, message_type, slot, **kw local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 + local_var_params['user_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `update_invite_message`") # noqa: E501 # verify the required parameter 'message_type' is set - if self.api_client.client_side_validation and local_var_params.get('message_type') is None: # noqa: E501 + if self.api_client.client_side_validation and ('message_type' not in local_var_params or # noqa: E501 + local_var_params['message_type'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `message_type` when calling `update_invite_message`") # noqa: E501 # verify the required parameter 'slot' is set - if self.api_client.client_side_validation and local_var_params.get('slot') is None: # noqa: E501 + if self.api_client.client_side_validation and ('slot' not in local_var_params or # noqa: E501 + local_var_params['slot'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `slot` when calling `update_invite_message`") # noqa: E501 if self.api_client.client_side_validation and 'slot' in local_var_params and local_var_params['slot'] > 11: # noqa: E501 @@ -1254,7 +1234,7 @@ def update_invite_message_with_http_info(self, user_id, message_type, slot, **kw query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -1267,12 +1247,8 @@ def update_invite_message_with_http_info(self, user_id, message_type, slot, **kw ['application/json']) # noqa: E501 # HTTP header `Content-Type` - content_types_list = local_var_params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'], - 'PUT', body_params)) # noqa: E501 - if content_types_list: - header_params['Content-Type'] = content_types_list + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 # Authentication setting auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index e7269fe7..05d93ffb 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -46,7 +46,7 @@ def accept_friend_request(self, notification_id, **kwargs): # noqa: E501 >>> thread = api.accept_friend_request(notification_id, async_req=True) >>> result = thread.get() - :param notification_id: (required) + :param notification_id: Must be a valid notification ID. (required) :type notification_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -76,7 +76,7 @@ def accept_friend_request_with_http_info(self, notification_id, **kwargs): # no >>> thread = api.accept_friend_request_with_http_info(notification_id, async_req=True) >>> result = thread.get() - :param notification_id: (required) + :param notification_id: Must be a valid notification ID. (required) :type notification_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -95,7 +95,6 @@ def accept_friend_request_with_http_info(self, notification_id, **kwargs): # no request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -113,9 +112,7 @@ def accept_friend_request_with_http_info(self, notification_id, **kwargs): # no '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -128,7 +125,8 @@ def accept_friend_request_with_http_info(self, notification_id, **kwargs): # no local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'notification_id' is set - if self.api_client.client_side_validation and local_var_params.get('notification_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('notification_id' not in local_var_params or # noqa: E501 + local_var_params['notification_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `notification_id` when calling `accept_friend_request`") # noqa: E501 collection_formats = {} @@ -139,7 +137,7 @@ def accept_friend_request_with_http_info(self, notification_id, **kwargs): # no query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -230,7 +228,6 @@ def clear_notifications_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -247,9 +244,7 @@ def clear_notifications_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -268,7 +263,7 @@ def clear_notifications_with_http_info(self, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -313,7 +308,7 @@ def delete_notification(self, notification_id, **kwargs): # noqa: E501 >>> thread = api.delete_notification(notification_id, async_req=True) >>> result = thread.get() - :param notification_id: (required) + :param notification_id: Must be a valid notification ID. (required) :type notification_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -343,7 +338,7 @@ def delete_notification_with_http_info(self, notification_id, **kwargs): # noqa >>> thread = api.delete_notification_with_http_info(notification_id, async_req=True) >>> result = thread.get() - :param notification_id: (required) + :param notification_id: Must be a valid notification ID. (required) :type notification_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -362,7 +357,6 @@ def delete_notification_with_http_info(self, notification_id, **kwargs): # noqa request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -380,9 +374,7 @@ def delete_notification_with_http_info(self, notification_id, **kwargs): # noqa '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -395,7 +387,8 @@ def delete_notification_with_http_info(self, notification_id, **kwargs): # noqa local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'notification_id' is set - if self.api_client.client_side_validation and local_var_params.get('notification_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('notification_id' not in local_var_params or # noqa: E501 + local_var_params['notification_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `notification_id` when calling `delete_notification`") # noqa: E501 collection_formats = {} @@ -406,7 +399,7 @@ def delete_notification_with_http_info(self, notification_id, **kwargs): # noqa query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -520,7 +513,6 @@ def get_notifications_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -543,9 +535,7 @@ def get_notifications_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -569,20 +559,20 @@ def get_notifications_with_http_info(self, **kwargs): # noqa: E501 path_params = {} query_params = [] - if local_var_params.get('type') is not None: # noqa: E501 + if 'type' in local_var_params and local_var_params['type'] is not None: # noqa: E501 query_params.append(('type', local_var_params['type'])) # noqa: E501 - if local_var_params.get('sent') is not None: # noqa: E501 + if 'sent' in local_var_params and local_var_params['sent'] is not None: # noqa: E501 query_params.append(('sent', local_var_params['sent'])) # noqa: E501 - if local_var_params.get('hidden') is not None: # noqa: E501 + if 'hidden' in local_var_params and local_var_params['hidden'] is not None: # noqa: E501 query_params.append(('hidden', local_var_params['hidden'])) # noqa: E501 - if local_var_params.get('after') is not None: # noqa: E501 + if 'after' in local_var_params and local_var_params['after'] is not None: # noqa: E501 query_params.append(('after', local_var_params['after'])) # noqa: E501 - if local_var_params.get('n') is not None: # noqa: E501 + if 'n' in local_var_params and local_var_params['n'] is not None: # noqa: E501 query_params.append(('n', local_var_params['n'])) # noqa: E501 - if local_var_params.get('offset') is not None: # noqa: E501 + if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501 query_params.append(('offset', local_var_params['offset'])) # noqa: E501 - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -627,7 +617,7 @@ def mark_notification_as_read(self, notification_id, **kwargs): # noqa: E501 >>> thread = api.mark_notification_as_read(notification_id, async_req=True) >>> result = thread.get() - :param notification_id: (required) + :param notification_id: Must be a valid notification ID. (required) :type notification_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -657,7 +647,7 @@ def mark_notification_as_read_with_http_info(self, notification_id, **kwargs): >>> thread = api.mark_notification_as_read_with_http_info(notification_id, async_req=True) >>> result = thread.get() - :param notification_id: (required) + :param notification_id: Must be a valid notification ID. (required) :type notification_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -676,7 +666,6 @@ def mark_notification_as_read_with_http_info(self, notification_id, **kwargs): request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -694,9 +683,7 @@ def mark_notification_as_read_with_http_info(self, notification_id, **kwargs): '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -709,7 +696,8 @@ def mark_notification_as_read_with_http_info(self, notification_id, **kwargs): local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'notification_id' is set - if self.api_client.client_side_validation and local_var_params.get('notification_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('notification_id' not in local_var_params or # noqa: E501 + local_var_params['notification_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `notification_id` when calling `mark_notification_as_read`") # noqa: E501 collection_formats = {} @@ -720,7 +708,7 @@ def mark_notification_as_read_with_http_info(self, notification_id, **kwargs): query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index 0c9b6d57..8cc18267 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -91,7 +91,6 @@ def get_assigned_permissions_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -108,9 +107,7 @@ def get_assigned_permissions_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -129,7 +126,7 @@ def get_assigned_permissions_with_http_info(self, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -174,7 +171,7 @@ def get_permission(self, permission_id, **kwargs): # noqa: E501 >>> thread = api.get_permission(permission_id, async_req=True) >>> result = thread.get() - :param permission_id: (required) + :param permission_id: Must be a valid permission ID. (required) :type permission_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -204,7 +201,7 @@ def get_permission_with_http_info(self, permission_id, **kwargs): # noqa: E501 >>> thread = api.get_permission_with_http_info(permission_id, async_req=True) >>> result = thread.get() - :param permission_id: (required) + :param permission_id: Must be a valid permission ID. (required) :type permission_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -223,7 +220,6 @@ def get_permission_with_http_info(self, permission_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -241,9 +237,7 @@ def get_permission_with_http_info(self, permission_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -256,7 +250,8 @@ def get_permission_with_http_info(self, permission_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'permission_id' is set - if self.api_client.client_side_validation and local_var_params.get('permission_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('permission_id' not in local_var_params or # noqa: E501 + local_var_params['permission_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `permission_id` when calling `get_permission`") # noqa: E501 collection_formats = {} @@ -267,7 +262,7 @@ def get_permission_with_http_info(self, permission_id, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index 399a6422..d7b1d334 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -91,7 +91,6 @@ def clear_all_player_moderations_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -108,9 +107,7 @@ def clear_all_player_moderations_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -129,7 +126,7 @@ def clear_all_player_moderations_with_http_info(self, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -174,7 +171,7 @@ def delete_player_moderation(self, player_moderation_id, **kwargs): # noqa: E50 >>> thread = api.delete_player_moderation(player_moderation_id, async_req=True) >>> result = thread.get() - :param player_moderation_id: (required) + :param player_moderation_id: Must be a valid `pmod_` ID. (required) :type player_moderation_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -204,7 +201,7 @@ def delete_player_moderation_with_http_info(self, player_moderation_id, **kwargs >>> thread = api.delete_player_moderation_with_http_info(player_moderation_id, async_req=True) >>> result = thread.get() - :param player_moderation_id: (required) + :param player_moderation_id: Must be a valid `pmod_` ID. (required) :type player_moderation_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -223,7 +220,6 @@ def delete_player_moderation_with_http_info(self, player_moderation_id, **kwargs request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -241,9 +237,7 @@ def delete_player_moderation_with_http_info(self, player_moderation_id, **kwargs '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -256,7 +250,8 @@ def delete_player_moderation_with_http_info(self, player_moderation_id, **kwargs local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'player_moderation_id' is set - if self.api_client.client_side_validation and local_var_params.get('player_moderation_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('player_moderation_id' not in local_var_params or # noqa: E501 + local_var_params['player_moderation_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `player_moderation_id` when calling `delete_player_moderation`") # noqa: E501 collection_formats = {} @@ -267,7 +262,7 @@ def delete_player_moderation_with_http_info(self, player_moderation_id, **kwargs query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -313,7 +308,7 @@ def get_player_moderation(self, player_moderation_id, **kwargs): # noqa: E501 >>> thread = api.get_player_moderation(player_moderation_id, async_req=True) >>> result = thread.get() - :param player_moderation_id: (required) + :param player_moderation_id: Must be a valid `pmod_` ID. (required) :type player_moderation_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -343,7 +338,7 @@ def get_player_moderation_with_http_info(self, player_moderation_id, **kwargs): >>> thread = api.get_player_moderation_with_http_info(player_moderation_id, async_req=True) >>> result = thread.get() - :param player_moderation_id: (required) + :param player_moderation_id: Must be a valid `pmod_` ID. (required) :type player_moderation_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -362,7 +357,6 @@ def get_player_moderation_with_http_info(self, player_moderation_id, **kwargs): request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -380,9 +374,7 @@ def get_player_moderation_with_http_info(self, player_moderation_id, **kwargs): '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -395,7 +387,8 @@ def get_player_moderation_with_http_info(self, player_moderation_id, **kwargs): local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'player_moderation_id' is set - if self.api_client.client_side_validation and local_var_params.get('player_moderation_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('player_moderation_id' not in local_var_params or # noqa: E501 + local_var_params['player_moderation_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `player_moderation_id` when calling `get_player_moderation`") # noqa: E501 collection_formats = {} @@ -406,7 +399,7 @@ def get_player_moderation_with_http_info(self, player_moderation_id, **kwargs): query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -505,7 +498,6 @@ def get_player_moderations_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -524,9 +516,7 @@ def get_player_moderations_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -544,12 +534,12 @@ def get_player_moderations_with_http_info(self, **kwargs): # noqa: E501 path_params = {} query_params = [] - if local_var_params.get('type') is not None: # noqa: E501 + if 'type' in local_var_params and local_var_params['type'] is not None: # noqa: E501 query_params.append(('type', local_var_params['type'])) # noqa: E501 - if local_var_params.get('target_user_id') is not None: # noqa: E501 + if 'target_user_id' in local_var_params and local_var_params['target_user_id'] is not None: # noqa: E501 query_params.append(('targetUserId', local_var_params['target_user_id'])) # noqa: E501 - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -594,7 +584,7 @@ def moderate_user(self, **kwargs): # noqa: E501 >>> thread = api.moderate_user(async_req=True) >>> result = thread.get() - :param moderate_user_request: + :param moderate_user_request: :type moderate_user_request: ModerateUserRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -624,7 +614,7 @@ def moderate_user_with_http_info(self, **kwargs): # noqa: E501 >>> thread = api.moderate_user_with_http_info(async_req=True) >>> result = thread.get() - :param moderate_user_request: + :param moderate_user_request: :type moderate_user_request: ModerateUserRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -643,7 +633,6 @@ def moderate_user_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -661,9 +650,7 @@ def moderate_user_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -682,7 +669,7 @@ def moderate_user_with_http_info(self, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -695,12 +682,8 @@ def moderate_user_with_http_info(self, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # HTTP header `Content-Type` - content_types_list = local_var_params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'], - 'POST', body_params)) # noqa: E501 - if content_types_list: - header_params['Content-Type'] = content_types_list + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 # Authentication setting auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 @@ -786,7 +769,6 @@ def unmoderate_user_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -804,9 +786,7 @@ def unmoderate_user_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -825,7 +805,7 @@ def unmoderate_user_with_http_info(self, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -838,12 +818,8 @@ def unmoderate_user_with_http_info(self, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # HTTP header `Content-Type` - content_types_list = local_var_params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'], - 'PUT', body_params)) # noqa: E501 - if content_types_list: - header_params['Content-Type'] = content_types_list + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 # Authentication setting auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index 5897d19a..cedf4f0d 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -91,7 +91,6 @@ def get_config_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -108,9 +107,7 @@ def get_config_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -129,7 +126,7 @@ def get_config_with_http_info(self, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -226,7 +223,6 @@ def get_css_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -245,9 +241,7 @@ def get_css_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -265,12 +259,12 @@ def get_css_with_http_info(self, **kwargs): # noqa: E501 path_params = {} query_params = [] - if local_var_params.get('variant') is not None: # noqa: E501 + if 'variant' in local_var_params and local_var_params['variant'] is not None: # noqa: E501 query_params.append(('variant', local_var_params['variant'])) # noqa: E501 - if local_var_params.get('branch') is not None: # noqa: E501 + if 'branch' in local_var_params and local_var_params['branch'] is not None: # noqa: E501 query_params.append(('branch', local_var_params['branch'])) # noqa: E501 - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -360,7 +354,6 @@ def get_current_online_users_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -377,9 +370,7 @@ def get_current_online_users_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -398,7 +389,7 @@ def get_current_online_users_with_http_info(self, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -487,7 +478,6 @@ def get_health_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -504,9 +494,7 @@ def get_health_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -525,7 +513,7 @@ def get_health_with_http_info(self, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -622,7 +610,6 @@ def get_info_push_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -641,9 +628,7 @@ def get_info_push_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -661,12 +646,12 @@ def get_info_push_with_http_info(self, **kwargs): # noqa: E501 path_params = {} query_params = [] - if local_var_params.get('require') is not None: # noqa: E501 + if 'require' in local_var_params and local_var_params['require'] is not None: # noqa: E501 query_params.append(('require', local_var_params['require'])) # noqa: E501 - if local_var_params.get('include') is not None: # noqa: E501 + if 'include' in local_var_params and local_var_params['include'] is not None: # noqa: E501 query_params.append(('include', local_var_params['include'])) # noqa: E501 - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -763,7 +748,6 @@ def get_java_script_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -782,9 +766,7 @@ def get_java_script_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -802,12 +784,12 @@ def get_java_script_with_http_info(self, **kwargs): # noqa: E501 path_params = {} query_params = [] - if local_var_params.get('variant') is not None: # noqa: E501 + if 'variant' in local_var_params and local_var_params['variant'] is not None: # noqa: E501 query_params.append(('variant', local_var_params['variant'])) # noqa: E501 - if local_var_params.get('branch') is not None: # noqa: E501 + if 'branch' in local_var_params and local_var_params['branch'] is not None: # noqa: E501 query_params.append(('branch', local_var_params['branch'])) # noqa: E501 - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -897,7 +879,6 @@ def get_system_time_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -914,9 +895,7 @@ def get_system_time_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -935,7 +914,7 @@ def get_system_time_with_http_info(self, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index deade187..a79fac0e 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -46,7 +46,7 @@ def get_user(self, user_id, **kwargs): # noqa: E501 >>> thread = api.get_user(user_id, async_req=True) >>> result = thread.get() - :param user_id: (required) + :param user_id: Must be a valid user ID. (required) :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -76,7 +76,7 @@ def get_user_with_http_info(self, user_id, **kwargs): # noqa: E501 >>> thread = api.get_user_with_http_info(user_id, async_req=True) >>> result = thread.get() - :param user_id: (required) + :param user_id: Must be a valid user ID. (required) :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -95,7 +95,6 @@ def get_user_with_http_info(self, user_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -113,9 +112,7 @@ def get_user_with_http_info(self, user_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -128,7 +125,8 @@ def get_user_with_http_info(self, user_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 + local_var_params['user_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `get_user`") # noqa: E501 collection_formats = {} @@ -139,7 +137,7 @@ def get_user_with_http_info(self, user_id, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -184,7 +182,7 @@ def get_user_by_name(self, username, **kwargs): # noqa: E501 >>> thread = api.get_user_by_name(username, async_req=True) >>> result = thread.get() - :param username: (required) + :param username: Username of the user (required) :type username: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -214,7 +212,7 @@ def get_user_by_name_with_http_info(self, username, **kwargs): # noqa: E501 >>> thread = api.get_user_by_name_with_http_info(username, async_req=True) >>> result = thread.get() - :param username: (required) + :param username: Username of the user (required) :type username: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -233,7 +231,6 @@ def get_user_by_name_with_http_info(self, username, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -251,9 +248,7 @@ def get_user_by_name_with_http_info(self, username, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -266,7 +261,8 @@ def get_user_by_name_with_http_info(self, username, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'username' is set - if self.api_client.client_side_validation and local_var_params.get('username') is None: # noqa: E501 + if self.api_client.client_side_validation and ('username' not in local_var_params or # noqa: E501 + local_var_params['username'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `username` when calling `get_user_by_name`") # noqa: E501 collection_formats = {} @@ -277,7 +273,7 @@ def get_user_by_name_with_http_info(self, username, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -312,6 +308,278 @@ def get_user_by_name_with_http_info(self, username, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def get_user_group_requests(self, user_id, **kwargs): # noqa: E501 + """Get User Group Requests # noqa: E501 + + Returns a list of Groups the user has requested to be invited into. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_user_group_requests(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[Group] + """ + kwargs['_return_http_data_only'] = True + return self.get_user_group_requests_with_http_info(user_id, **kwargs) # noqa: E501 + + def get_user_group_requests_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get User Group Requests # noqa: E501 + + Returns a list of Groups the user has requested to be invited into. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_user_group_requests_with_http_info(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[Group], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_user_group_requests" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 + local_var_params['user_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_user_group_requests`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[Group]", + 401: "Error", + } + + return self.api_client.call_api( + '/users/{userId}/groups/requested', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_user_groups(self, user_id, **kwargs): # noqa: E501 + """Get User Groups # noqa: E501 + + Get user's public groups # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_user_groups(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[Group] + """ + kwargs['_return_http_data_only'] = True + return self.get_user_groups_with_http_info(user_id, **kwargs) # noqa: E501 + + def get_user_groups_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get User Groups # noqa: E501 + + Get user's public groups # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_user_groups_with_http_info(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[Group], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_user_groups" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 + local_var_params['user_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_user_groups`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[Group]", + 401: "Error", + } + + return self.api_client.call_api( + '/users/{userId}/groups', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def search_users(self, **kwargs): # noqa: E501 """Search All Users # noqa: E501 @@ -383,7 +651,6 @@ def search_users_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -404,9 +671,7 @@ def search_users_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -433,16 +698,16 @@ def search_users_with_http_info(self, **kwargs): # noqa: E501 path_params = {} query_params = [] - if local_var_params.get('search') is not None: # noqa: E501 + if 'search' in local_var_params and local_var_params['search'] is not None: # noqa: E501 query_params.append(('search', local_var_params['search'])) # noqa: E501 - if local_var_params.get('developer_type') is not None: # noqa: E501 + if 'developer_type' in local_var_params and local_var_params['developer_type'] is not None: # noqa: E501 query_params.append(('developerType', local_var_params['developer_type'])) # noqa: E501 - if local_var_params.get('n') is not None: # noqa: E501 + if 'n' in local_var_params and local_var_params['n'] is not None: # noqa: E501 query_params.append(('n', local_var_params['n'])) # noqa: E501 - if local_var_params.get('offset') is not None: # noqa: E501 + if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501 query_params.append(('offset', local_var_params['offset'])) # noqa: E501 - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -488,7 +753,7 @@ def update_user(self, user_id, **kwargs): # noqa: E501 >>> thread = api.update_user(user_id, async_req=True) >>> result = thread.get() - :param user_id: (required) + :param user_id: Must be a valid user ID. (required) :type user_id: str :param update_user_request: :type update_user_request: UpdateUserRequest @@ -520,7 +785,7 @@ def update_user_with_http_info(self, user_id, **kwargs): # noqa: E501 >>> thread = api.update_user_with_http_info(user_id, async_req=True) >>> result = thread.get() - :param user_id: (required) + :param user_id: Must be a valid user ID. (required) :type user_id: str :param update_user_request: :type update_user_request: UpdateUserRequest @@ -541,7 +806,6 @@ def update_user_with_http_info(self, user_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -560,9 +824,7 @@ def update_user_with_http_info(self, user_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -575,7 +837,8 @@ def update_user_with_http_info(self, user_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 + local_var_params['user_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `update_user`") # noqa: E501 collection_formats = {} @@ -586,7 +849,7 @@ def update_user_with_http_info(self, user_id, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -599,18 +862,15 @@ def update_user_with_http_info(self, user_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # HTTP header `Content-Type` - content_types_list = local_var_params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'], - 'PUT', body_params)) # noqa: E501 - if content_types_list: - header_params['Content-Type'] = content_types_list + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 # Authentication setting auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 response_types_map = { 200: "CurrentUser", + 401: "Error", } return self.api_client.call_api( diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 30df6635..c3f2fc64 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -46,7 +46,7 @@ def create_world(self, **kwargs): # noqa: E501 >>> thread = api.create_world(async_req=True) >>> result = thread.get() - :param create_world_request: + :param create_world_request: :type create_world_request: CreateWorldRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -76,7 +76,7 @@ def create_world_with_http_info(self, **kwargs): # noqa: E501 >>> thread = api.create_world_with_http_info(async_req=True) >>> result = thread.get() - :param create_world_request: + :param create_world_request: :type create_world_request: CreateWorldRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -95,7 +95,6 @@ def create_world_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -113,9 +112,7 @@ def create_world_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -134,7 +131,7 @@ def create_world_with_http_info(self, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -147,12 +144,8 @@ def create_world_with_http_info(self, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # HTTP header `Content-Type` - content_types_list = local_var_params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'], - 'POST', body_params)) # noqa: E501 - if content_types_list: - header_params['Content-Type'] = content_types_list + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 # Authentication setting auth_settings = [] # noqa: E501 @@ -190,7 +183,7 @@ def delete_world(self, world_id, **kwargs): # noqa: E501 >>> thread = api.delete_world(world_id, async_req=True) >>> result = thread.get() - :param world_id: (required) + :param world_id: Must be a valid world ID. (required) :type world_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -220,7 +213,7 @@ def delete_world_with_http_info(self, world_id, **kwargs): # noqa: E501 >>> thread = api.delete_world_with_http_info(world_id, async_req=True) >>> result = thread.get() - :param world_id: (required) + :param world_id: Must be a valid world ID. (required) :type world_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -239,7 +232,6 @@ def delete_world_with_http_info(self, world_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -257,9 +249,7 @@ def delete_world_with_http_info(self, world_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -272,7 +262,8 @@ def delete_world_with_http_info(self, world_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'world_id' is set - if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('world_id' not in local_var_params or # noqa: E501 + local_var_params['world_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `world_id` when calling `delete_world`") # noqa: E501 collection_formats = {} @@ -283,7 +274,7 @@ def delete_world_with_http_info(self, world_id, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -327,12 +318,12 @@ def get_active_worlds(self, **kwargs): # noqa: E501 :param featured: Filters on featured results. :type featured: bool - :param sort: - :type sort: str + :param sort: The sort order of the results. + :type sort: SortOption :param n: The number of objects to return. :type n: int - :param order: - :type order: str + :param order: Result ordering + :type order: OrderOption :param offset: A zero-based offset from the default object sorting from where search results start. :type offset: int :param search: Filters by world name. @@ -342,7 +333,7 @@ def get_active_worlds(self, **kwargs): # noqa: E501 :param notag: Tags to exclude (comma-separated). :type notag: str :param release_status: Filter by ReleaseStatus. - :type release_status: str + :type release_status: ReleaseStatus :param max_unity_version: The maximum Unity version supported by the asset. :type max_unity_version: str :param min_unity_version: The minimum Unity version supported by the asset. @@ -379,12 +370,12 @@ def get_active_worlds_with_http_info(self, **kwargs): # noqa: E501 :param featured: Filters on featured results. :type featured: bool - :param sort: - :type sort: str + :param sort: The sort order of the results. + :type sort: SortOption :param n: The number of objects to return. :type n: int - :param order: - :type order: str + :param order: Result ordering + :type order: OrderOption :param offset: A zero-based offset from the default object sorting from where search results start. :type offset: int :param search: Filters by world name. @@ -394,7 +385,7 @@ def get_active_worlds_with_http_info(self, **kwargs): # noqa: E501 :param notag: Tags to exclude (comma-separated). :type notag: str :param release_status: Filter by ReleaseStatus. - :type release_status: str + :type release_status: ReleaseStatus :param max_unity_version: The maximum Unity version supported by the asset. :type max_unity_version: str :param min_unity_version: The minimum Unity version supported by the asset. @@ -418,7 +409,6 @@ def get_active_worlds_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -447,9 +437,7 @@ def get_active_worlds_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -473,32 +461,32 @@ def get_active_worlds_with_http_info(self, **kwargs): # noqa: E501 path_params = {} query_params = [] - if local_var_params.get('featured') is not None: # noqa: E501 + if 'featured' in local_var_params and local_var_params['featured'] is not None: # noqa: E501 query_params.append(('featured', local_var_params['featured'])) # noqa: E501 - if local_var_params.get('sort') is not None: # noqa: E501 + if 'sort' in local_var_params and local_var_params['sort'] is not None: # noqa: E501 query_params.append(('sort', local_var_params['sort'])) # noqa: E501 - if local_var_params.get('n') is not None: # noqa: E501 + if 'n' in local_var_params and local_var_params['n'] is not None: # noqa: E501 query_params.append(('n', local_var_params['n'])) # noqa: E501 - if local_var_params.get('order') is not None: # noqa: E501 + if 'order' in local_var_params and local_var_params['order'] is not None: # noqa: E501 query_params.append(('order', local_var_params['order'])) # noqa: E501 - if local_var_params.get('offset') is not None: # noqa: E501 + if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501 query_params.append(('offset', local_var_params['offset'])) # noqa: E501 - if local_var_params.get('search') is not None: # noqa: E501 + if 'search' in local_var_params and local_var_params['search'] is not None: # noqa: E501 query_params.append(('search', local_var_params['search'])) # noqa: E501 - if local_var_params.get('tag') is not None: # noqa: E501 + if 'tag' in local_var_params and local_var_params['tag'] is not None: # noqa: E501 query_params.append(('tag', local_var_params['tag'])) # noqa: E501 - if local_var_params.get('notag') is not None: # noqa: E501 + if 'notag' in local_var_params and local_var_params['notag'] is not None: # noqa: E501 query_params.append(('notag', local_var_params['notag'])) # noqa: E501 - if local_var_params.get('release_status') is not None: # noqa: E501 + if 'release_status' in local_var_params and local_var_params['release_status'] is not None: # noqa: E501 query_params.append(('releaseStatus', local_var_params['release_status'])) # noqa: E501 - if local_var_params.get('max_unity_version') is not None: # noqa: E501 + if 'max_unity_version' in local_var_params and local_var_params['max_unity_version'] is not None: # noqa: E501 query_params.append(('maxUnityVersion', local_var_params['max_unity_version'])) # noqa: E501 - if local_var_params.get('min_unity_version') is not None: # noqa: E501 + if 'min_unity_version' in local_var_params and local_var_params['min_unity_version'] is not None: # noqa: E501 query_params.append(('minUnityVersion', local_var_params['min_unity_version'])) # noqa: E501 - if local_var_params.get('platform') is not None: # noqa: E501 + if 'platform' in local_var_params and local_var_params['platform'] is not None: # noqa: E501 query_params.append(('platform', local_var_params['platform'])) # noqa: E501 - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -545,12 +533,12 @@ def get_favorited_worlds(self, **kwargs): # noqa: E501 :param featured: Filters on featured results. :type featured: bool - :param sort: - :type sort: str + :param sort: The sort order of the results. + :type sort: SortOption :param n: The number of objects to return. :type n: int - :param order: - :type order: str + :param order: Result ordering + :type order: OrderOption :param offset: A zero-based offset from the default object sorting from where search results start. :type offset: int :param search: Filters by world name. @@ -560,7 +548,7 @@ def get_favorited_worlds(self, **kwargs): # noqa: E501 :param notag: Tags to exclude (comma-separated). :type notag: str :param release_status: Filter by ReleaseStatus. - :type release_status: str + :type release_status: ReleaseStatus :param max_unity_version: The maximum Unity version supported by the asset. :type max_unity_version: str :param min_unity_version: The minimum Unity version supported by the asset. @@ -599,12 +587,12 @@ def get_favorited_worlds_with_http_info(self, **kwargs): # noqa: E501 :param featured: Filters on featured results. :type featured: bool - :param sort: - :type sort: str + :param sort: The sort order of the results. + :type sort: SortOption :param n: The number of objects to return. :type n: int - :param order: - :type order: str + :param order: Result ordering + :type order: OrderOption :param offset: A zero-based offset from the default object sorting from where search results start. :type offset: int :param search: Filters by world name. @@ -614,7 +602,7 @@ def get_favorited_worlds_with_http_info(self, **kwargs): # noqa: E501 :param notag: Tags to exclude (comma-separated). :type notag: str :param release_status: Filter by ReleaseStatus. - :type release_status: str + :type release_status: ReleaseStatus :param max_unity_version: The maximum Unity version supported by the asset. :type max_unity_version: str :param min_unity_version: The minimum Unity version supported by the asset. @@ -640,7 +628,6 @@ def get_favorited_worlds_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -670,9 +657,7 @@ def get_favorited_worlds_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -696,34 +681,34 @@ def get_favorited_worlds_with_http_info(self, **kwargs): # noqa: E501 path_params = {} query_params = [] - if local_var_params.get('featured') is not None: # noqa: E501 + if 'featured' in local_var_params and local_var_params['featured'] is not None: # noqa: E501 query_params.append(('featured', local_var_params['featured'])) # noqa: E501 - if local_var_params.get('sort') is not None: # noqa: E501 + if 'sort' in local_var_params and local_var_params['sort'] is not None: # noqa: E501 query_params.append(('sort', local_var_params['sort'])) # noqa: E501 - if local_var_params.get('n') is not None: # noqa: E501 + if 'n' in local_var_params and local_var_params['n'] is not None: # noqa: E501 query_params.append(('n', local_var_params['n'])) # noqa: E501 - if local_var_params.get('order') is not None: # noqa: E501 + if 'order' in local_var_params and local_var_params['order'] is not None: # noqa: E501 query_params.append(('order', local_var_params['order'])) # noqa: E501 - if local_var_params.get('offset') is not None: # noqa: E501 + if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501 query_params.append(('offset', local_var_params['offset'])) # noqa: E501 - if local_var_params.get('search') is not None: # noqa: E501 + if 'search' in local_var_params and local_var_params['search'] is not None: # noqa: E501 query_params.append(('search', local_var_params['search'])) # noqa: E501 - if local_var_params.get('tag') is not None: # noqa: E501 + if 'tag' in local_var_params and local_var_params['tag'] is not None: # noqa: E501 query_params.append(('tag', local_var_params['tag'])) # noqa: E501 - if local_var_params.get('notag') is not None: # noqa: E501 + if 'notag' in local_var_params and local_var_params['notag'] is not None: # noqa: E501 query_params.append(('notag', local_var_params['notag'])) # noqa: E501 - if local_var_params.get('release_status') is not None: # noqa: E501 + if 'release_status' in local_var_params and local_var_params['release_status'] is not None: # noqa: E501 query_params.append(('releaseStatus', local_var_params['release_status'])) # noqa: E501 - if local_var_params.get('max_unity_version') is not None: # noqa: E501 + if 'max_unity_version' in local_var_params and local_var_params['max_unity_version'] is not None: # noqa: E501 query_params.append(('maxUnityVersion', local_var_params['max_unity_version'])) # noqa: E501 - if local_var_params.get('min_unity_version') is not None: # noqa: E501 + if 'min_unity_version' in local_var_params and local_var_params['min_unity_version'] is not None: # noqa: E501 query_params.append(('minUnityVersion', local_var_params['min_unity_version'])) # noqa: E501 - if local_var_params.get('platform') is not None: # noqa: E501 + if 'platform' in local_var_params and local_var_params['platform'] is not None: # noqa: E501 query_params.append(('platform', local_var_params['platform'])) # noqa: E501 - if local_var_params.get('user_id') is not None: # noqa: E501 + if 'user_id' in local_var_params and local_var_params['user_id'] is not None: # noqa: E501 query_params.append(('userId', local_var_params['user_id'])) # noqa: E501 - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -771,12 +756,12 @@ def get_recent_worlds(self, **kwargs): # noqa: E501 :param featured: Filters on featured results. :type featured: bool - :param sort: - :type sort: str + :param sort: The sort order of the results. + :type sort: SortOption :param n: The number of objects to return. :type n: int - :param order: - :type order: str + :param order: Result ordering + :type order: OrderOption :param offset: A zero-based offset from the default object sorting from where search results start. :type offset: int :param search: Filters by world name. @@ -786,7 +771,7 @@ def get_recent_worlds(self, **kwargs): # noqa: E501 :param notag: Tags to exclude (comma-separated). :type notag: str :param release_status: Filter by ReleaseStatus. - :type release_status: str + :type release_status: ReleaseStatus :param max_unity_version: The maximum Unity version supported by the asset. :type max_unity_version: str :param min_unity_version: The minimum Unity version supported by the asset. @@ -825,12 +810,12 @@ def get_recent_worlds_with_http_info(self, **kwargs): # noqa: E501 :param featured: Filters on featured results. :type featured: bool - :param sort: - :type sort: str + :param sort: The sort order of the results. + :type sort: SortOption :param n: The number of objects to return. :type n: int - :param order: - :type order: str + :param order: Result ordering + :type order: OrderOption :param offset: A zero-based offset from the default object sorting from where search results start. :type offset: int :param search: Filters by world name. @@ -840,7 +825,7 @@ def get_recent_worlds_with_http_info(self, **kwargs): # noqa: E501 :param notag: Tags to exclude (comma-separated). :type notag: str :param release_status: Filter by ReleaseStatus. - :type release_status: str + :type release_status: ReleaseStatus :param max_unity_version: The maximum Unity version supported by the asset. :type max_unity_version: str :param min_unity_version: The minimum Unity version supported by the asset. @@ -866,7 +851,6 @@ def get_recent_worlds_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -896,9 +880,7 @@ def get_recent_worlds_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -922,34 +904,34 @@ def get_recent_worlds_with_http_info(self, **kwargs): # noqa: E501 path_params = {} query_params = [] - if local_var_params.get('featured') is not None: # noqa: E501 + if 'featured' in local_var_params and local_var_params['featured'] is not None: # noqa: E501 query_params.append(('featured', local_var_params['featured'])) # noqa: E501 - if local_var_params.get('sort') is not None: # noqa: E501 + if 'sort' in local_var_params and local_var_params['sort'] is not None: # noqa: E501 query_params.append(('sort', local_var_params['sort'])) # noqa: E501 - if local_var_params.get('n') is not None: # noqa: E501 + if 'n' in local_var_params and local_var_params['n'] is not None: # noqa: E501 query_params.append(('n', local_var_params['n'])) # noqa: E501 - if local_var_params.get('order') is not None: # noqa: E501 + if 'order' in local_var_params and local_var_params['order'] is not None: # noqa: E501 query_params.append(('order', local_var_params['order'])) # noqa: E501 - if local_var_params.get('offset') is not None: # noqa: E501 + if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501 query_params.append(('offset', local_var_params['offset'])) # noqa: E501 - if local_var_params.get('search') is not None: # noqa: E501 + if 'search' in local_var_params and local_var_params['search'] is not None: # noqa: E501 query_params.append(('search', local_var_params['search'])) # noqa: E501 - if local_var_params.get('tag') is not None: # noqa: E501 + if 'tag' in local_var_params and local_var_params['tag'] is not None: # noqa: E501 query_params.append(('tag', local_var_params['tag'])) # noqa: E501 - if local_var_params.get('notag') is not None: # noqa: E501 + if 'notag' in local_var_params and local_var_params['notag'] is not None: # noqa: E501 query_params.append(('notag', local_var_params['notag'])) # noqa: E501 - if local_var_params.get('release_status') is not None: # noqa: E501 + if 'release_status' in local_var_params and local_var_params['release_status'] is not None: # noqa: E501 query_params.append(('releaseStatus', local_var_params['release_status'])) # noqa: E501 - if local_var_params.get('max_unity_version') is not None: # noqa: E501 + if 'max_unity_version' in local_var_params and local_var_params['max_unity_version'] is not None: # noqa: E501 query_params.append(('maxUnityVersion', local_var_params['max_unity_version'])) # noqa: E501 - if local_var_params.get('min_unity_version') is not None: # noqa: E501 + if 'min_unity_version' in local_var_params and local_var_params['min_unity_version'] is not None: # noqa: E501 query_params.append(('minUnityVersion', local_var_params['min_unity_version'])) # noqa: E501 - if local_var_params.get('platform') is not None: # noqa: E501 + if 'platform' in local_var_params and local_var_params['platform'] is not None: # noqa: E501 query_params.append(('platform', local_var_params['platform'])) # noqa: E501 - if local_var_params.get('user_id') is not None: # noqa: E501 + if 'user_id' in local_var_params and local_var_params['user_id'] is not None: # noqa: E501 query_params.append(('userId', local_var_params['user_id'])) # noqa: E501 - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -995,7 +977,7 @@ def get_world(self, world_id, **kwargs): # noqa: E501 >>> thread = api.get_world(world_id, async_req=True) >>> result = thread.get() - :param world_id: (required) + :param world_id: Must be a valid world ID. (required) :type world_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -1025,7 +1007,7 @@ def get_world_with_http_info(self, world_id, **kwargs): # noqa: E501 >>> thread = api.get_world_with_http_info(world_id, async_req=True) >>> result = thread.get() - :param world_id: (required) + :param world_id: Must be a valid world ID. (required) :type world_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -1044,7 +1026,6 @@ def get_world_with_http_info(self, world_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -1062,9 +1043,7 @@ def get_world_with_http_info(self, world_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -1077,7 +1056,8 @@ def get_world_with_http_info(self, world_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'world_id' is set - if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('world_id' not in local_var_params or # noqa: E501 + local_var_params['world_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `world_id` when calling `get_world`") # noqa: E501 collection_formats = {} @@ -1088,7 +1068,7 @@ def get_world_with_http_info(self, world_id, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -1133,9 +1113,9 @@ def get_world_instance(self, world_id, instance_id, **kwargs): # noqa: E501 >>> thread = api.get_world_instance(world_id, instance_id, async_req=True) >>> result = thread.get() - :param world_id: (required) + :param world_id: Must be a valid world ID. (required) :type world_id: str - :param instance_id: (required) + :param instance_id: Must be a valid instance ID. (required) :type instance_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -1165,9 +1145,9 @@ def get_world_instance_with_http_info(self, world_id, instance_id, **kwargs): # >>> thread = api.get_world_instance_with_http_info(world_id, instance_id, async_req=True) >>> result = thread.get() - :param world_id: (required) + :param world_id: Must be a valid world ID. (required) :type world_id: str - :param instance_id: (required) + :param instance_id: Must be a valid instance ID. (required) :type instance_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -1186,7 +1166,6 @@ def get_world_instance_with_http_info(self, world_id, instance_id, **kwargs): # request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -1205,9 +1184,7 @@ def get_world_instance_with_http_info(self, world_id, instance_id, **kwargs): # '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -1220,10 +1197,12 @@ def get_world_instance_with_http_info(self, world_id, instance_id, **kwargs): # local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'world_id' is set - if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('world_id' not in local_var_params or # noqa: E501 + local_var_params['world_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `world_id` when calling `get_world_instance`") # noqa: E501 # verify the required parameter 'instance_id' is set - if self.api_client.client_side_validation and local_var_params.get('instance_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('instance_id' not in local_var_params or # noqa: E501 + local_var_params['instance_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `instance_id` when calling `get_world_instance`") # noqa: E501 collection_formats = {} @@ -1236,7 +1215,7 @@ def get_world_instance_with_http_info(self, world_id, instance_id, **kwargs): # query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -1281,7 +1260,7 @@ def get_world_metadata(self, world_id, **kwargs): # noqa: E501 >>> thread = api.get_world_metadata(world_id, async_req=True) >>> result = thread.get() - :param world_id: (required) + :param world_id: Must be a valid world ID. (required) :type world_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -1311,7 +1290,7 @@ def get_world_metadata_with_http_info(self, world_id, **kwargs): # noqa: E501 >>> thread = api.get_world_metadata_with_http_info(world_id, async_req=True) >>> result = thread.get() - :param world_id: (required) + :param world_id: Must be a valid world ID. (required) :type world_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -1330,7 +1309,6 @@ def get_world_metadata_with_http_info(self, world_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -1348,9 +1326,7 @@ def get_world_metadata_with_http_info(self, world_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -1363,7 +1339,8 @@ def get_world_metadata_with_http_info(self, world_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'world_id' is set - if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('world_id' not in local_var_params or # noqa: E501 + local_var_params['world_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `world_id` when calling `get_world_metadata`") # noqa: E501 collection_formats = {} @@ -1374,7 +1351,7 @@ def get_world_metadata_with_http_info(self, world_id, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -1419,7 +1396,7 @@ def get_world_publish_status(self, world_id, **kwargs): # noqa: E501 >>> thread = api.get_world_publish_status(world_id, async_req=True) >>> result = thread.get() - :param world_id: (required) + :param world_id: Must be a valid world ID. (required) :type world_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -1449,7 +1426,7 @@ def get_world_publish_status_with_http_info(self, world_id, **kwargs): # noqa: >>> thread = api.get_world_publish_status_with_http_info(world_id, async_req=True) >>> result = thread.get() - :param world_id: (required) + :param world_id: Must be a valid world ID. (required) :type world_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -1468,7 +1445,6 @@ def get_world_publish_status_with_http_info(self, world_id, **kwargs): # noqa: request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -1486,9 +1462,7 @@ def get_world_publish_status_with_http_info(self, world_id, **kwargs): # noqa: '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -1501,7 +1475,8 @@ def get_world_publish_status_with_http_info(self, world_id, **kwargs): # noqa: local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'world_id' is set - if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('world_id' not in local_var_params or # noqa: E501 + local_var_params['world_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `world_id` when calling `get_world_publish_status`") # noqa: E501 collection_formats = {} @@ -1512,7 +1487,7 @@ def get_world_publish_status_with_http_info(self, world_id, **kwargs): # noqa: query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -1558,7 +1533,7 @@ def publish_world(self, world_id, **kwargs): # noqa: E501 >>> thread = api.publish_world(world_id, async_req=True) >>> result = thread.get() - :param world_id: (required) + :param world_id: Must be a valid world ID. (required) :type world_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -1588,7 +1563,7 @@ def publish_world_with_http_info(self, world_id, **kwargs): # noqa: E501 >>> thread = api.publish_world_with_http_info(world_id, async_req=True) >>> result = thread.get() - :param world_id: (required) + :param world_id: Must be a valid world ID. (required) :type world_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -1607,7 +1582,6 @@ def publish_world_with_http_info(self, world_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -1625,9 +1599,7 @@ def publish_world_with_http_info(self, world_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -1640,7 +1612,8 @@ def publish_world_with_http_info(self, world_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'world_id' is set - if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('world_id' not in local_var_params or # noqa: E501 + local_var_params['world_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `world_id` when calling `publish_world`") # noqa: E501 collection_formats = {} @@ -1651,7 +1624,7 @@ def publish_world_with_http_info(self, world_id, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -1695,16 +1668,16 @@ def search_worlds(self, **kwargs): # noqa: E501 :param featured: Filters on featured results. :type featured: bool - :param sort: - :type sort: str + :param sort: The sort order of the results. + :type sort: SortOption :param user: Set to `me` for searching own worlds. :type user: str :param user_id: Filter by UserID. :type user_id: str :param n: The number of objects to return. :type n: int - :param order: - :type order: str + :param order: Result ordering + :type order: OrderOption :param offset: A zero-based offset from the default object sorting from where search results start. :type offset: int :param search: Filters by world name. @@ -1714,7 +1687,7 @@ def search_worlds(self, **kwargs): # noqa: E501 :param notag: Tags to exclude (comma-separated). :type notag: str :param release_status: Filter by ReleaseStatus. - :type release_status: str + :type release_status: ReleaseStatus :param max_unity_version: The maximum Unity version supported by the asset. :type max_unity_version: str :param min_unity_version: The minimum Unity version supported by the asset. @@ -1751,16 +1724,16 @@ def search_worlds_with_http_info(self, **kwargs): # noqa: E501 :param featured: Filters on featured results. :type featured: bool - :param sort: - :type sort: str + :param sort: The sort order of the results. + :type sort: SortOption :param user: Set to `me` for searching own worlds. :type user: str :param user_id: Filter by UserID. :type user_id: str :param n: The number of objects to return. :type n: int - :param order: - :type order: str + :param order: Result ordering + :type order: OrderOption :param offset: A zero-based offset from the default object sorting from where search results start. :type offset: int :param search: Filters by world name. @@ -1770,7 +1743,7 @@ def search_worlds_with_http_info(self, **kwargs): # noqa: E501 :param notag: Tags to exclude (comma-separated). :type notag: str :param release_status: Filter by ReleaseStatus. - :type release_status: str + :type release_status: ReleaseStatus :param max_unity_version: The maximum Unity version supported by the asset. :type max_unity_version: str :param min_unity_version: The minimum Unity version supported by the asset. @@ -1794,7 +1767,6 @@ def search_worlds_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -1825,9 +1797,7 @@ def search_worlds_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -1851,36 +1821,36 @@ def search_worlds_with_http_info(self, **kwargs): # noqa: E501 path_params = {} query_params = [] - if local_var_params.get('featured') is not None: # noqa: E501 + if 'featured' in local_var_params and local_var_params['featured'] is not None: # noqa: E501 query_params.append(('featured', local_var_params['featured'])) # noqa: E501 - if local_var_params.get('sort') is not None: # noqa: E501 + if 'sort' in local_var_params and local_var_params['sort'] is not None: # noqa: E501 query_params.append(('sort', local_var_params['sort'])) # noqa: E501 - if local_var_params.get('user') is not None: # noqa: E501 + if 'user' in local_var_params and local_var_params['user'] is not None: # noqa: E501 query_params.append(('user', local_var_params['user'])) # noqa: E501 - if local_var_params.get('user_id') is not None: # noqa: E501 + if 'user_id' in local_var_params and local_var_params['user_id'] is not None: # noqa: E501 query_params.append(('userId', local_var_params['user_id'])) # noqa: E501 - if local_var_params.get('n') is not None: # noqa: E501 + if 'n' in local_var_params and local_var_params['n'] is not None: # noqa: E501 query_params.append(('n', local_var_params['n'])) # noqa: E501 - if local_var_params.get('order') is not None: # noqa: E501 + if 'order' in local_var_params and local_var_params['order'] is not None: # noqa: E501 query_params.append(('order', local_var_params['order'])) # noqa: E501 - if local_var_params.get('offset') is not None: # noqa: E501 + if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501 query_params.append(('offset', local_var_params['offset'])) # noqa: E501 - if local_var_params.get('search') is not None: # noqa: E501 + if 'search' in local_var_params and local_var_params['search'] is not None: # noqa: E501 query_params.append(('search', local_var_params['search'])) # noqa: E501 - if local_var_params.get('tag') is not None: # noqa: E501 + if 'tag' in local_var_params and local_var_params['tag'] is not None: # noqa: E501 query_params.append(('tag', local_var_params['tag'])) # noqa: E501 - if local_var_params.get('notag') is not None: # noqa: E501 + if 'notag' in local_var_params and local_var_params['notag'] is not None: # noqa: E501 query_params.append(('notag', local_var_params['notag'])) # noqa: E501 - if local_var_params.get('release_status') is not None: # noqa: E501 + if 'release_status' in local_var_params and local_var_params['release_status'] is not None: # noqa: E501 query_params.append(('releaseStatus', local_var_params['release_status'])) # noqa: E501 - if local_var_params.get('max_unity_version') is not None: # noqa: E501 + if 'max_unity_version' in local_var_params and local_var_params['max_unity_version'] is not None: # noqa: E501 query_params.append(('maxUnityVersion', local_var_params['max_unity_version'])) # noqa: E501 - if local_var_params.get('min_unity_version') is not None: # noqa: E501 + if 'min_unity_version' in local_var_params and local_var_params['min_unity_version'] is not None: # noqa: E501 query_params.append(('minUnityVersion', local_var_params['min_unity_version'])) # noqa: E501 - if local_var_params.get('platform') is not None: # noqa: E501 + if 'platform' in local_var_params and local_var_params['platform'] is not None: # noqa: E501 query_params.append(('platform', local_var_params['platform'])) # noqa: E501 - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -1925,7 +1895,7 @@ def unpublish_world(self, world_id, **kwargs): # noqa: E501 >>> thread = api.unpublish_world(world_id, async_req=True) >>> result = thread.get() - :param world_id: (required) + :param world_id: Must be a valid world ID. (required) :type world_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -1955,7 +1925,7 @@ def unpublish_world_with_http_info(self, world_id, **kwargs): # noqa: E501 >>> thread = api.unpublish_world_with_http_info(world_id, async_req=True) >>> result = thread.get() - :param world_id: (required) + :param world_id: Must be a valid world ID. (required) :type world_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -1974,7 +1944,6 @@ def unpublish_world_with_http_info(self, world_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -1992,9 +1961,7 @@ def unpublish_world_with_http_info(self, world_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -2007,7 +1974,8 @@ def unpublish_world_with_http_info(self, world_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'world_id' is set - if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('world_id' not in local_var_params or # noqa: E501 + local_var_params['world_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `world_id` when calling `unpublish_world`") # noqa: E501 collection_formats = {} @@ -2018,7 +1986,7 @@ def unpublish_world_with_http_info(self, world_id, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -2060,7 +2028,7 @@ def update_world(self, world_id, **kwargs): # noqa: E501 >>> thread = api.update_world(world_id, async_req=True) >>> result = thread.get() - :param world_id: (required) + :param world_id: Must be a valid world ID. (required) :type world_id: str :param update_world_request: :type update_world_request: UpdateWorldRequest @@ -2092,7 +2060,7 @@ def update_world_with_http_info(self, world_id, **kwargs): # noqa: E501 >>> thread = api.update_world_with_http_info(world_id, async_req=True) >>> result = thread.get() - :param world_id: (required) + :param world_id: Must be a valid world ID. (required) :type world_id: str :param update_world_request: :type update_world_request: UpdateWorldRequest @@ -2113,7 +2081,6 @@ def update_world_with_http_info(self, world_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -2132,9 +2099,7 @@ def update_world_with_http_info(self, world_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth', - '_content_type', - '_headers' + '_request_auth' ] ) @@ -2147,7 +2112,8 @@ def update_world_with_http_info(self, world_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'world_id' is set - if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 + if self.api_client.client_side_validation and ('world_id' not in local_var_params or # noqa: E501 + local_var_params['world_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `world_id` when calling `update_world`") # noqa: E501 collection_formats = {} @@ -2158,7 +2124,7 @@ def update_world_with_http_info(self, world_id, **kwargs): # noqa: E501 query_params = [] - header_params = dict(local_var_params.get('_headers', {})) + header_params = {} form_params = [] local_var_files = {} @@ -2171,12 +2137,8 @@ def update_world_with_http_info(self, world_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # HTTP header `Content-Type` - content_types_list = local_var_params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'], - 'PUT', body_params)) # noqa: E501 - if content_types_list: - header_params['Content-Type'] = content_types_list + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 # Authentication setting auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index bc843966..60b711fe 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -521,24 +521,17 @@ def select_header_accept(self, accepts): else: return ', '.join(accepts) - def select_header_content_type(self, content_types, method=None, body=None): + def select_header_content_type(self, content_types): """Returns `Content-Type` based on an array of content_types provided. :param content_types: List of content-types. - :param method: http method (e.g. POST, PATCH). - :param body: http body to send. :return: Content-Type (e.g. application/json). """ if not content_types: - return None + return 'application/json' content_types = [x.lower() for x in content_types] - if (method == 'PATCH' and - 'application/json-patch+json' in content_types and - isinstance(body, list)): - return 'application/json-patch+json' - if 'application/json' in content_types or '*/*' in content_types: return 'application/json' else: diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index 67de296e..098db495 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -15,19 +15,27 @@ # import models into model package from vrchatapi.models.api_config import APIConfig -from vrchatapi.models.api_event_config import APIEventConfig +from vrchatapi.models.api_config_announcement import APIConfigAnnouncement +from vrchatapi.models.api_config_download_url_list import APIConfigDownloadURLList +from vrchatapi.models.api_config_events import APIConfigEvents from vrchatapi.models.api_health import APIHealth from vrchatapi.models.add_favorite_request import AddFavoriteRequest +from vrchatapi.models.add_group_gallery_image_request import AddGroupGalleryImageRequest from vrchatapi.models.avatar import Avatar from vrchatapi.models.avatar_unity_package_url_object import AvatarUnityPackageUrlObject +from vrchatapi.models.ban_group_member_request import BanGroupMemberRequest from vrchatapi.models.create_avatar_request import CreateAvatarRequest from vrchatapi.models.create_file_request import CreateFileRequest from vrchatapi.models.create_file_version_request import CreateFileVersionRequest +from vrchatapi.models.create_group_announcement_request import CreateGroupAnnouncementRequest +from vrchatapi.models.create_group_gallery_request import CreateGroupGalleryRequest +from vrchatapi.models.create_group_invite_request import CreateGroupInviteRequest +from vrchatapi.models.create_group_request import CreateGroupRequest +from vrchatapi.models.create_group_role_request import CreateGroupRoleRequest from vrchatapi.models.create_world_request import CreateWorldRequest from vrchatapi.models.current_user import CurrentUser from vrchatapi.models.deployment_group import DeploymentGroup from vrchatapi.models.developer_type import DeveloperType -from vrchatapi.models.download_url_list import DownloadURLList from vrchatapi.models.dynamic_content_row import DynamicContentRow from vrchatapi.models.error import Error from vrchatapi.models.favorite import Favorite @@ -42,6 +50,22 @@ from vrchatapi.models.file_version_upload_status import FileVersionUploadStatus from vrchatapi.models.finish_file_data_upload_request import FinishFileDataUploadRequest from vrchatapi.models.friend_status import FriendStatus +from vrchatapi.models.group import Group +from vrchatapi.models.group_announcement import GroupAnnouncement +from vrchatapi.models.group_audit_log_entry import GroupAuditLogEntry +from vrchatapi.models.group_gallery import GroupGallery +from vrchatapi.models.group_gallery_image import GroupGalleryImage +from vrchatapi.models.group_join_state import GroupJoinState +from vrchatapi.models.group_limited_member import GroupLimitedMember +from vrchatapi.models.group_member import GroupMember +from vrchatapi.models.group_member_limited_user import GroupMemberLimitedUser +from vrchatapi.models.group_member_status import GroupMemberStatus +from vrchatapi.models.group_my_member import GroupMyMember +from vrchatapi.models.group_permission import GroupPermission +from vrchatapi.models.group_privacy import GroupPrivacy +from vrchatapi.models.group_role import GroupRole +from vrchatapi.models.group_role_template import GroupRoleTemplate +from vrchatapi.models.group_user_visibility import GroupUserVisibility from vrchatapi.models.info_push import InfoPush from vrchatapi.models.info_push_data import InfoPushData from vrchatapi.models.info_push_data_article import InfoPushDataArticle @@ -66,16 +90,19 @@ from vrchatapi.models.moderate_user_request import ModerateUserRequest from vrchatapi.models.notification import Notification from vrchatapi.models.notification_type import NotificationType +from vrchatapi.models.order_option import OrderOption +from vrchatapi.models.paginated_group_audit_log_entry_list import PaginatedGroupAuditLogEntryList from vrchatapi.models.past_display_name import PastDisplayName from vrchatapi.models.permission import Permission from vrchatapi.models.player_moderation import PlayerModeration from vrchatapi.models.player_moderation_type import PlayerModerationType -from vrchatapi.models.public_announcement import PublicAnnouncement from vrchatapi.models.region import Region from vrchatapi.models.release_status import ReleaseStatus from vrchatapi.models.request_invite_request import RequestInviteRequest +from vrchatapi.models.respond_group_join_request import RespondGroupJoinRequest from vrchatapi.models.response import Response from vrchatapi.models.sent_notification import SentNotification +from vrchatapi.models.sort_option import SortOption from vrchatapi.models.subscription import Subscription from vrchatapi.models.subscription_period import SubscriptionPeriod from vrchatapi.models.success import Success @@ -88,6 +115,10 @@ from vrchatapi.models.unity_package import UnityPackage from vrchatapi.models.update_avatar_request import UpdateAvatarRequest from vrchatapi.models.update_favorite_group_request import UpdateFavoriteGroupRequest +from vrchatapi.models.update_group_gallery_request import UpdateGroupGalleryRequest +from vrchatapi.models.update_group_member_request import UpdateGroupMemberRequest +from vrchatapi.models.update_group_request import UpdateGroupRequest +from vrchatapi.models.update_group_role_request import UpdateGroupRoleRequest from vrchatapi.models.update_invite_message_request import UpdateInviteMessageRequest from vrchatapi.models.update_user_request import UpdateUserRequest from vrchatapi.models.update_world_request import UpdateWorldRequest diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py new file mode 100644 index 00000000..1df6a595 --- /dev/null +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -0,0 +1,135 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class AddGroupGalleryImageRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'file_id': 'str' + } + + attribute_map = { + 'file_id': 'fileId' + } + + def __init__(self, file_id=None, local_vars_configuration=None): # noqa: E501 + """AddGroupGalleryImageRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._file_id = None + self.discriminator = None + + self.file_id = file_id + + @property + def file_id(self): + """Gets the file_id of this AddGroupGalleryImageRequest. # noqa: E501 + + + :return: The file_id of this AddGroupGalleryImageRequest. # noqa: E501 + :rtype: str + """ + return self._file_id + + @file_id.setter + def file_id(self, file_id): + """Sets the file_id of this AddGroupGalleryImageRequest. + + + :param file_id: The file_id of this AddGroupGalleryImageRequest. # noqa: E501 + :type file_id: str + """ + if self.local_vars_configuration.client_side_validation and file_id is None: # noqa: E501 + raise ValueError("Invalid value for `file_id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + file_id is not None and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', file_id)): # noqa: E501 + raise ValueError(r"Invalid value for `file_id`, must be a follow pattern or equal to `/file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + + self._file_id = file_id + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AddGroupGalleryImageRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, AddGroupGalleryImageRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index d4a3a4c6..0f0ff4ac 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -39,7 +39,7 @@ class APIConfig(object): 'voice_enable_degradation': 'bool', 'voice_enable_receiver_limiting': 'bool', 'address': 'str', - 'announcements': 'list[PublicAnnouncement]', + 'announcements': 'list[APIConfigAnnouncement]', 'api_key': 'str', 'app_name': 'str', 'build_version_tag': 'str', @@ -75,9 +75,9 @@ class APIConfig(object): 'disable_udon': 'bool', 'disable_upgrade_account': 'bool', 'download_link_windows': 'str', - 'download_urls': 'DownloadURLList', + 'download_urls': 'APIConfigDownloadURLList', 'dynamic_world_rows': 'list[DynamicContentRow]', - 'events': 'APIEventConfig', + 'events': 'APIConfigEvents', 'gear_demo_room_id': 'str', 'home_world_id': 'str', 'homepage_redirect_target': 'str', @@ -455,7 +455,7 @@ def announcements(self): Public Announcements # noqa: E501 :return: The announcements of this APIConfig. # noqa: E501 - :rtype: list[PublicAnnouncement] + :rtype: list[APIConfigAnnouncement] """ return self._announcements @@ -466,7 +466,7 @@ def announcements(self, announcements): Public Announcements # noqa: E501 :param announcements: The announcements of this APIConfig. # noqa: E501 - :type announcements: list[PublicAnnouncement] + :type announcements: list[APIConfigAnnouncement] """ if self.local_vars_configuration.client_side_validation and announcements is None: # noqa: E501 raise ValueError("Invalid value for `announcements`, must not be `None`") # noqa: E501 @@ -1395,7 +1395,7 @@ def download_urls(self): :return: The download_urls of this APIConfig. # noqa: E501 - :rtype: DownloadURLList + :rtype: APIConfigDownloadURLList """ return self._download_urls @@ -1405,7 +1405,7 @@ def download_urls(self, download_urls): :param download_urls: The download_urls of this APIConfig. # noqa: E501 - :type download_urls: DownloadURLList + :type download_urls: APIConfigDownloadURLList """ if self.local_vars_configuration.client_side_validation and download_urls is None: # noqa: E501 raise ValueError("Invalid value for `download_urls`, must not be `None`") # noqa: E501 @@ -1446,7 +1446,7 @@ def events(self): :return: The events of this APIConfig. # noqa: E501 - :rtype: APIEventConfig + :rtype: APIConfigEvents """ return self._events @@ -1456,7 +1456,7 @@ def events(self, events): :param events: The events of this APIConfig. # noqa: E501 - :type events: APIEventConfig + :type events: APIConfigEvents """ if self.local_vars_configuration.client_side_validation and events is None: # noqa: E501 raise ValueError("Invalid value for `events`, must not be `None`") # noqa: E501 diff --git a/vrchatapi/models/public_announcement.py b/vrchatapi/models/api_config_announcement.py similarity index 85% rename from vrchatapi/models/public_announcement.py rename to vrchatapi/models/api_config_announcement.py index 2ce25e95..7aa21c06 100644 --- a/vrchatapi/models/public_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -21,7 +21,7 @@ from vrchatapi.configuration import Configuration -class PublicAnnouncement(object): +class APIConfigAnnouncement(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -46,7 +46,7 @@ class PublicAnnouncement(object): } def __init__(self, name=None, text=None, local_vars_configuration=None): # noqa: E501 - """PublicAnnouncement - a model defined in OpenAPI""" # noqa: E501 + """APIConfigAnnouncement - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration @@ -60,22 +60,22 @@ def __init__(self, name=None, text=None, local_vars_configuration=None): # noqa @property def name(self): - """Gets the name of this PublicAnnouncement. # noqa: E501 + """Gets the name of this APIConfigAnnouncement. # noqa: E501 Announcement name # noqa: E501 - :return: The name of this PublicAnnouncement. # noqa: E501 + :return: The name of this APIConfigAnnouncement. # noqa: E501 :rtype: str """ return self._name @name.setter def name(self, name): - """Sets the name of this PublicAnnouncement. + """Sets the name of this APIConfigAnnouncement. Announcement name # noqa: E501 - :param name: The name of this PublicAnnouncement. # noqa: E501 + :param name: The name of this APIConfigAnnouncement. # noqa: E501 :type name: str """ if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 @@ -88,22 +88,22 @@ def name(self, name): @property def text(self): - """Gets the text of this PublicAnnouncement. # noqa: E501 + """Gets the text of this APIConfigAnnouncement. # noqa: E501 Announcement text # noqa: E501 - :return: The text of this PublicAnnouncement. # noqa: E501 + :return: The text of this APIConfigAnnouncement. # noqa: E501 :rtype: str """ return self._text @text.setter def text(self, text): - """Sets the text of this PublicAnnouncement. + """Sets the text of this APIConfigAnnouncement. Announcement text # noqa: E501 - :param text: The text of this PublicAnnouncement. # noqa: E501 + :param text: The text of this APIConfigAnnouncement. # noqa: E501 :type text: str """ if self.local_vars_configuration.client_side_validation and text is None: # noqa: E501 @@ -156,14 +156,14 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, PublicAnnouncement): + if not isinstance(other, APIConfigAnnouncement): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, PublicAnnouncement): + if not isinstance(other, APIConfigAnnouncement): return True return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/download_url_list.py b/vrchatapi/models/api_config_download_url_list.py similarity index 82% rename from vrchatapi/models/download_url_list.py rename to vrchatapi/models/api_config_download_url_list.py index 692e54ae..3add272d 100644 --- a/vrchatapi/models/download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -21,7 +21,7 @@ from vrchatapi.configuration import Configuration -class DownloadURLList(object): +class APIConfigDownloadURLList(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -48,7 +48,7 @@ class DownloadURLList(object): } def __init__(self, sdk2=None, sdk3_avatars=None, sdk3_worlds=None, local_vars_configuration=None): # noqa: E501 - """DownloadURLList - a model defined in OpenAPI""" # noqa: E501 + """APIConfigDownloadURLList - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration @@ -64,22 +64,22 @@ def __init__(self, sdk2=None, sdk3_avatars=None, sdk3_worlds=None, local_vars_co @property def sdk2(self): - """Gets the sdk2 of this DownloadURLList. # noqa: E501 + """Gets the sdk2 of this APIConfigDownloadURLList. # noqa: E501 Download link for legacy SDK2 # noqa: E501 - :return: The sdk2 of this DownloadURLList. # noqa: E501 + :return: The sdk2 of this APIConfigDownloadURLList. # noqa: E501 :rtype: str """ return self._sdk2 @sdk2.setter def sdk2(self, sdk2): - """Sets the sdk2 of this DownloadURLList. + """Sets the sdk2 of this APIConfigDownloadURLList. Download link for legacy SDK2 # noqa: E501 - :param sdk2: The sdk2 of this DownloadURLList. # noqa: E501 + :param sdk2: The sdk2 of this APIConfigDownloadURLList. # noqa: E501 :type sdk2: str """ if self.local_vars_configuration.client_side_validation and sdk2 is None: # noqa: E501 @@ -92,22 +92,22 @@ def sdk2(self, sdk2): @property def sdk3_avatars(self): - """Gets the sdk3_avatars of this DownloadURLList. # noqa: E501 + """Gets the sdk3_avatars of this APIConfigDownloadURLList. # noqa: E501 Download link for SDK3 for Avatars # noqa: E501 - :return: The sdk3_avatars of this DownloadURLList. # noqa: E501 + :return: The sdk3_avatars of this APIConfigDownloadURLList. # noqa: E501 :rtype: str """ return self._sdk3_avatars @sdk3_avatars.setter def sdk3_avatars(self, sdk3_avatars): - """Sets the sdk3_avatars of this DownloadURLList. + """Sets the sdk3_avatars of this APIConfigDownloadURLList. Download link for SDK3 for Avatars # noqa: E501 - :param sdk3_avatars: The sdk3_avatars of this DownloadURLList. # noqa: E501 + :param sdk3_avatars: The sdk3_avatars of this APIConfigDownloadURLList. # noqa: E501 :type sdk3_avatars: str """ if self.local_vars_configuration.client_side_validation and sdk3_avatars is None: # noqa: E501 @@ -120,22 +120,22 @@ def sdk3_avatars(self, sdk3_avatars): @property def sdk3_worlds(self): - """Gets the sdk3_worlds of this DownloadURLList. # noqa: E501 + """Gets the sdk3_worlds of this APIConfigDownloadURLList. # noqa: E501 Download link for SDK3 for Worlds # noqa: E501 - :return: The sdk3_worlds of this DownloadURLList. # noqa: E501 + :return: The sdk3_worlds of this APIConfigDownloadURLList. # noqa: E501 :rtype: str """ return self._sdk3_worlds @sdk3_worlds.setter def sdk3_worlds(self, sdk3_worlds): - """Sets the sdk3_worlds of this DownloadURLList. + """Sets the sdk3_worlds of this APIConfigDownloadURLList. Download link for SDK3 for Worlds # noqa: E501 - :param sdk3_worlds: The sdk3_worlds of this DownloadURLList. # noqa: E501 + :param sdk3_worlds: The sdk3_worlds of this APIConfigDownloadURLList. # noqa: E501 :type sdk3_worlds: str """ if self.local_vars_configuration.client_side_validation and sdk3_worlds is None: # noqa: E501 @@ -188,14 +188,14 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, DownloadURLList): + if not isinstance(other, APIConfigDownloadURLList): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, DownloadURLList): + if not isinstance(other, APIConfigDownloadURLList): return True return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/api_event_config.py b/vrchatapi/models/api_config_events.py similarity index 79% rename from vrchatapi/models/api_event_config.py rename to vrchatapi/models/api_config_events.py index d1dec0e1..920bb231 100644 --- a/vrchatapi/models/api_event_config.py +++ b/vrchatapi/models/api_config_events.py @@ -21,7 +21,7 @@ from vrchatapi.configuration import Configuration -class APIEventConfig(object): +class APIConfigEvents(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -62,7 +62,7 @@ class APIEventConfig(object): } def __init__(self, distance_close=None, distance_factor=None, distance_far=None, group_distance=None, maximum_bunch_size=None, not_visible_factor=None, player_order_bucket_size=None, player_order_factor=None, slow_update_factor_threshold=None, view_segment_length=None, local_vars_configuration=None): # noqa: E501 - """APIEventConfig - a model defined in OpenAPI""" # noqa: E501 + """APIConfigEvents - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration @@ -92,22 +92,22 @@ def __init__(self, distance_close=None, distance_factor=None, distance_far=None, @property def distance_close(self): - """Gets the distance_close of this APIEventConfig. # noqa: E501 + """Gets the distance_close of this APIConfigEvents. # noqa: E501 Unknown # noqa: E501 - :return: The distance_close of this APIEventConfig. # noqa: E501 + :return: The distance_close of this APIConfigEvents. # noqa: E501 :rtype: int """ return self._distance_close @distance_close.setter def distance_close(self, distance_close): - """Sets the distance_close of this APIEventConfig. + """Sets the distance_close of this APIConfigEvents. Unknown # noqa: E501 - :param distance_close: The distance_close of this APIEventConfig. # noqa: E501 + :param distance_close: The distance_close of this APIConfigEvents. # noqa: E501 :type distance_close: int """ if self.local_vars_configuration.client_side_validation and distance_close is None: # noqa: E501 @@ -117,22 +117,22 @@ def distance_close(self, distance_close): @property def distance_factor(self): - """Gets the distance_factor of this APIEventConfig. # noqa: E501 + """Gets the distance_factor of this APIConfigEvents. # noqa: E501 Unknown # noqa: E501 - :return: The distance_factor of this APIEventConfig. # noqa: E501 + :return: The distance_factor of this APIConfigEvents. # noqa: E501 :rtype: int """ return self._distance_factor @distance_factor.setter def distance_factor(self, distance_factor): - """Sets the distance_factor of this APIEventConfig. + """Sets the distance_factor of this APIConfigEvents. Unknown # noqa: E501 - :param distance_factor: The distance_factor of this APIEventConfig. # noqa: E501 + :param distance_factor: The distance_factor of this APIConfigEvents. # noqa: E501 :type distance_factor: int """ if self.local_vars_configuration.client_side_validation and distance_factor is None: # noqa: E501 @@ -142,22 +142,22 @@ def distance_factor(self, distance_factor): @property def distance_far(self): - """Gets the distance_far of this APIEventConfig. # noqa: E501 + """Gets the distance_far of this APIConfigEvents. # noqa: E501 Unknown # noqa: E501 - :return: The distance_far of this APIEventConfig. # noqa: E501 + :return: The distance_far of this APIConfigEvents. # noqa: E501 :rtype: int """ return self._distance_far @distance_far.setter def distance_far(self, distance_far): - """Sets the distance_far of this APIEventConfig. + """Sets the distance_far of this APIConfigEvents. Unknown # noqa: E501 - :param distance_far: The distance_far of this APIEventConfig. # noqa: E501 + :param distance_far: The distance_far of this APIConfigEvents. # noqa: E501 :type distance_far: int """ if self.local_vars_configuration.client_side_validation and distance_far is None: # noqa: E501 @@ -167,22 +167,22 @@ def distance_far(self, distance_far): @property def group_distance(self): - """Gets the group_distance of this APIEventConfig. # noqa: E501 + """Gets the group_distance of this APIConfigEvents. # noqa: E501 Unknown # noqa: E501 - :return: The group_distance of this APIEventConfig. # noqa: E501 + :return: The group_distance of this APIConfigEvents. # noqa: E501 :rtype: int """ return self._group_distance @group_distance.setter def group_distance(self, group_distance): - """Sets the group_distance of this APIEventConfig. + """Sets the group_distance of this APIConfigEvents. Unknown # noqa: E501 - :param group_distance: The group_distance of this APIEventConfig. # noqa: E501 + :param group_distance: The group_distance of this APIConfigEvents. # noqa: E501 :type group_distance: int """ if self.local_vars_configuration.client_side_validation and group_distance is None: # noqa: E501 @@ -192,22 +192,22 @@ def group_distance(self, group_distance): @property def maximum_bunch_size(self): - """Gets the maximum_bunch_size of this APIEventConfig. # noqa: E501 + """Gets the maximum_bunch_size of this APIConfigEvents. # noqa: E501 Unknown # noqa: E501 - :return: The maximum_bunch_size of this APIEventConfig. # noqa: E501 + :return: The maximum_bunch_size of this APIConfigEvents. # noqa: E501 :rtype: int """ return self._maximum_bunch_size @maximum_bunch_size.setter def maximum_bunch_size(self, maximum_bunch_size): - """Sets the maximum_bunch_size of this APIEventConfig. + """Sets the maximum_bunch_size of this APIConfigEvents. Unknown # noqa: E501 - :param maximum_bunch_size: The maximum_bunch_size of this APIEventConfig. # noqa: E501 + :param maximum_bunch_size: The maximum_bunch_size of this APIConfigEvents. # noqa: E501 :type maximum_bunch_size: int """ if self.local_vars_configuration.client_side_validation and maximum_bunch_size is None: # noqa: E501 @@ -217,22 +217,22 @@ def maximum_bunch_size(self, maximum_bunch_size): @property def not_visible_factor(self): - """Gets the not_visible_factor of this APIEventConfig. # noqa: E501 + """Gets the not_visible_factor of this APIConfigEvents. # noqa: E501 Unknown # noqa: E501 - :return: The not_visible_factor of this APIEventConfig. # noqa: E501 + :return: The not_visible_factor of this APIConfigEvents. # noqa: E501 :rtype: int """ return self._not_visible_factor @not_visible_factor.setter def not_visible_factor(self, not_visible_factor): - """Sets the not_visible_factor of this APIEventConfig. + """Sets the not_visible_factor of this APIConfigEvents. Unknown # noqa: E501 - :param not_visible_factor: The not_visible_factor of this APIEventConfig. # noqa: E501 + :param not_visible_factor: The not_visible_factor of this APIConfigEvents. # noqa: E501 :type not_visible_factor: int """ if self.local_vars_configuration.client_side_validation and not_visible_factor is None: # noqa: E501 @@ -242,22 +242,22 @@ def not_visible_factor(self, not_visible_factor): @property def player_order_bucket_size(self): - """Gets the player_order_bucket_size of this APIEventConfig. # noqa: E501 + """Gets the player_order_bucket_size of this APIConfigEvents. # noqa: E501 Unknown # noqa: E501 - :return: The player_order_bucket_size of this APIEventConfig. # noqa: E501 + :return: The player_order_bucket_size of this APIConfigEvents. # noqa: E501 :rtype: int """ return self._player_order_bucket_size @player_order_bucket_size.setter def player_order_bucket_size(self, player_order_bucket_size): - """Sets the player_order_bucket_size of this APIEventConfig. + """Sets the player_order_bucket_size of this APIConfigEvents. Unknown # noqa: E501 - :param player_order_bucket_size: The player_order_bucket_size of this APIEventConfig. # noqa: E501 + :param player_order_bucket_size: The player_order_bucket_size of this APIConfigEvents. # noqa: E501 :type player_order_bucket_size: int """ if self.local_vars_configuration.client_side_validation and player_order_bucket_size is None: # noqa: E501 @@ -267,22 +267,22 @@ def player_order_bucket_size(self, player_order_bucket_size): @property def player_order_factor(self): - """Gets the player_order_factor of this APIEventConfig. # noqa: E501 + """Gets the player_order_factor of this APIConfigEvents. # noqa: E501 Unknown # noqa: E501 - :return: The player_order_factor of this APIEventConfig. # noqa: E501 + :return: The player_order_factor of this APIConfigEvents. # noqa: E501 :rtype: int """ return self._player_order_factor @player_order_factor.setter def player_order_factor(self, player_order_factor): - """Sets the player_order_factor of this APIEventConfig. + """Sets the player_order_factor of this APIConfigEvents. Unknown # noqa: E501 - :param player_order_factor: The player_order_factor of this APIEventConfig. # noqa: E501 + :param player_order_factor: The player_order_factor of this APIConfigEvents. # noqa: E501 :type player_order_factor: int """ if self.local_vars_configuration.client_side_validation and player_order_factor is None: # noqa: E501 @@ -292,22 +292,22 @@ def player_order_factor(self, player_order_factor): @property def slow_update_factor_threshold(self): - """Gets the slow_update_factor_threshold of this APIEventConfig. # noqa: E501 + """Gets the slow_update_factor_threshold of this APIConfigEvents. # noqa: E501 Unknown # noqa: E501 - :return: The slow_update_factor_threshold of this APIEventConfig. # noqa: E501 + :return: The slow_update_factor_threshold of this APIConfigEvents. # noqa: E501 :rtype: int """ return self._slow_update_factor_threshold @slow_update_factor_threshold.setter def slow_update_factor_threshold(self, slow_update_factor_threshold): - """Sets the slow_update_factor_threshold of this APIEventConfig. + """Sets the slow_update_factor_threshold of this APIConfigEvents. Unknown # noqa: E501 - :param slow_update_factor_threshold: The slow_update_factor_threshold of this APIEventConfig. # noqa: E501 + :param slow_update_factor_threshold: The slow_update_factor_threshold of this APIConfigEvents. # noqa: E501 :type slow_update_factor_threshold: int """ if self.local_vars_configuration.client_side_validation and slow_update_factor_threshold is None: # noqa: E501 @@ -317,22 +317,22 @@ def slow_update_factor_threshold(self, slow_update_factor_threshold): @property def view_segment_length(self): - """Gets the view_segment_length of this APIEventConfig. # noqa: E501 + """Gets the view_segment_length of this APIConfigEvents. # noqa: E501 Unknown # noqa: E501 - :return: The view_segment_length of this APIEventConfig. # noqa: E501 + :return: The view_segment_length of this APIConfigEvents. # noqa: E501 :rtype: int """ return self._view_segment_length @view_segment_length.setter def view_segment_length(self, view_segment_length): - """Sets the view_segment_length of this APIEventConfig. + """Sets the view_segment_length of this APIConfigEvents. Unknown # noqa: E501 - :param view_segment_length: The view_segment_length of this APIEventConfig. # noqa: E501 + :param view_segment_length: The view_segment_length of this APIConfigEvents. # noqa: E501 :type view_segment_length: int """ if self.local_vars_configuration.client_side_validation and view_segment_length is None: # noqa: E501 @@ -382,14 +382,14 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, APIEventConfig): + if not isinstance(other, APIConfigEvents): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, APIEventConfig): + if not isinstance(other, APIConfigEvents): return True return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index aa787562..ecffd130 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -401,7 +401,6 @@ def release_status(self, release_status): def tags(self): """Gets the tags of this Avatar. # noqa: E501 - # noqa: E501 :return: The tags of this Avatar. # noqa: E501 :rtype: list[str] @@ -412,7 +411,6 @@ def tags(self): def tags(self, tags): """Sets the tags of this Avatar. - # noqa: E501 :param tags: The tags of this Avatar. # noqa: E501 :type tags: list[str] diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py new file mode 100644 index 00000000..a276af22 --- /dev/null +++ b/vrchatapi/models/ban_group_member_request.py @@ -0,0 +1,134 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class BanGroupMemberRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'user_id': 'str' + } + + attribute_map = { + 'user_id': 'userId' + } + + def __init__(self, user_id=None, local_vars_configuration=None): # noqa: E501 + """BanGroupMemberRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._user_id = None + self.discriminator = None + + self.user_id = user_id + + @property + def user_id(self): + """Gets the user_id of this BanGroupMemberRequest. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The user_id of this BanGroupMemberRequest. # noqa: E501 + :rtype: str + """ + return self._user_id + + @user_id.setter + def user_id(self, user_id): + """Sets the user_id of this BanGroupMemberRequest. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param user_id: The user_id of this BanGroupMemberRequest. # noqa: E501 + :type user_id: str + """ + if self.local_vars_configuration.client_side_validation and user_id is None: # noqa: E501 + raise ValueError("Invalid value for `user_id`, must not be `None`") # noqa: E501 + + self._user_id = user_id + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, BanGroupMemberRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, BanGroupMemberRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index e1ff01f5..b8afafca 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -192,7 +192,6 @@ def description(self, description): def tags(self): """Gets the tags of this CreateAvatarRequest. # noqa: E501 - # noqa: E501 :return: The tags of this CreateAvatarRequest. # noqa: E501 :rtype: list[str] @@ -203,7 +202,6 @@ def tags(self): def tags(self, tags): """Sets the tags of this CreateAvatarRequest. - # noqa: E501 :param tags: The tags of this CreateAvatarRequest. # noqa: E501 :type tags: list[str] diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index c49dd146..ed45e27b 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -146,7 +146,6 @@ def extension(self, extension): def tags(self): """Gets the tags of this CreateFileRequest. # noqa: E501 - # noqa: E501 :return: The tags of this CreateFileRequest. # noqa: E501 :rtype: list[str] @@ -157,7 +156,6 @@ def tags(self): def tags(self, tags): """Sets the tags of this CreateFileRequest. - # noqa: E501 :param tags: The tags of this CreateFileRequest. # noqa: E501 :type tags: list[str] diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py new file mode 100644 index 00000000..b17c8e41 --- /dev/null +++ b/vrchatapi/models/create_group_announcement_request.py @@ -0,0 +1,225 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class CreateGroupAnnouncementRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'title': 'str', + 'text': 'str', + 'image_id': 'str', + 'send_notification': 'bool' + } + + attribute_map = { + 'title': 'title', + 'text': 'text', + 'image_id': 'imageId', + 'send_notification': 'sendNotification' + } + + def __init__(self, title=None, text=None, image_id=None, send_notification=False, local_vars_configuration=None): # noqa: E501 + """CreateGroupAnnouncementRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._title = None + self._text = None + self._image_id = None + self._send_notification = None + self.discriminator = None + + self.title = title + if text is not None: + self.text = text + if image_id is not None: + self.image_id = image_id + if send_notification is not None: + self.send_notification = send_notification + + @property + def title(self): + """Gets the title of this CreateGroupAnnouncementRequest. # noqa: E501 + + Announcement title # noqa: E501 + + :return: The title of this CreateGroupAnnouncementRequest. # noqa: E501 + :rtype: str + """ + return self._title + + @title.setter + def title(self, title): + """Sets the title of this CreateGroupAnnouncementRequest. + + Announcement title # noqa: E501 + + :param title: The title of this CreateGroupAnnouncementRequest. # noqa: E501 + :type title: str + """ + if self.local_vars_configuration.client_side_validation and title is None: # noqa: E501 + raise ValueError("Invalid value for `title`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + title is not None and len(title) < 1): + raise ValueError("Invalid value for `title`, length must be greater than or equal to `1`") # noqa: E501 + + self._title = title + + @property + def text(self): + """Gets the text of this CreateGroupAnnouncementRequest. # noqa: E501 + + Announcement text # noqa: E501 + + :return: The text of this CreateGroupAnnouncementRequest. # noqa: E501 + :rtype: str + """ + return self._text + + @text.setter + def text(self, text): + """Sets the text of this CreateGroupAnnouncementRequest. + + Announcement text # noqa: E501 + + :param text: The text of this CreateGroupAnnouncementRequest. # noqa: E501 + :type text: str + """ + if (self.local_vars_configuration.client_side_validation and + text is not None and len(text) < 1): + raise ValueError("Invalid value for `text`, length must be greater than or equal to `1`") # noqa: E501 + + self._text = text + + @property + def image_id(self): + """Gets the image_id of this CreateGroupAnnouncementRequest. # noqa: E501 + + + :return: The image_id of this CreateGroupAnnouncementRequest. # noqa: E501 + :rtype: str + """ + return self._image_id + + @image_id.setter + def image_id(self, image_id): + """Sets the image_id of this CreateGroupAnnouncementRequest. + + + :param image_id: The image_id of this CreateGroupAnnouncementRequest. # noqa: E501 + :type image_id: str + """ + if (self.local_vars_configuration.client_side_validation and + image_id is not None and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', image_id)): # noqa: E501 + raise ValueError(r"Invalid value for `image_id`, must be a follow pattern or equal to `/file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + + self._image_id = image_id + + @property + def send_notification(self): + """Gets the send_notification of this CreateGroupAnnouncementRequest. # noqa: E501 + + Send notification to group members. # noqa: E501 + + :return: The send_notification of this CreateGroupAnnouncementRequest. # noqa: E501 + :rtype: bool + """ + return self._send_notification + + @send_notification.setter + def send_notification(self, send_notification): + """Sets the send_notification of this CreateGroupAnnouncementRequest. + + Send notification to group members. # noqa: E501 + + :param send_notification: The send_notification of this CreateGroupAnnouncementRequest. # noqa: E501 + :type send_notification: bool + """ + + self._send_notification = send_notification + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CreateGroupAnnouncementRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, CreateGroupAnnouncementRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py new file mode 100644 index 00000000..9bd33fa6 --- /dev/null +++ b/vrchatapi/models/create_group_gallery_request.py @@ -0,0 +1,296 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class CreateGroupGalleryRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'name': 'str', + 'description': 'str', + 'members_only': 'bool', + 'role_ids_to_view': 'list[str]', + 'role_ids_to_submit': 'list[str]', + 'role_ids_to_auto_approve': 'list[str]', + 'role_ids_to_manage': 'list[str]' + } + + attribute_map = { + 'name': 'name', + 'description': 'description', + 'members_only': 'membersOnly', + 'role_ids_to_view': 'roleIdsToView', + 'role_ids_to_submit': 'roleIdsToSubmit', + 'role_ids_to_auto_approve': 'roleIdsToAutoApprove', + 'role_ids_to_manage': 'roleIdsToManage' + } + + def __init__(self, name=None, description=None, members_only=False, role_ids_to_view=None, role_ids_to_submit=None, role_ids_to_auto_approve=None, role_ids_to_manage=None, local_vars_configuration=None): # noqa: E501 + """CreateGroupGalleryRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._name = None + self._description = None + self._members_only = None + self._role_ids_to_view = None + self._role_ids_to_submit = None + self._role_ids_to_auto_approve = None + self._role_ids_to_manage = None + self.discriminator = None + + self.name = name + if description is not None: + self.description = description + if members_only is not None: + self.members_only = members_only + self.role_ids_to_view = role_ids_to_view + self.role_ids_to_submit = role_ids_to_submit + self.role_ids_to_auto_approve = role_ids_to_auto_approve + self.role_ids_to_manage = role_ids_to_manage + + @property + def name(self): + """Gets the name of this CreateGroupGalleryRequest. # noqa: E501 + + Name of the gallery. # noqa: E501 + + :return: The name of this CreateGroupGalleryRequest. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this CreateGroupGalleryRequest. + + Name of the gallery. # noqa: E501 + + :param name: The name of this CreateGroupGalleryRequest. # noqa: E501 + :type name: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + name is not None and len(name) < 1): + raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 + + self._name = name + + @property + def description(self): + """Gets the description of this CreateGroupGalleryRequest. # noqa: E501 + + Description of the gallery. # noqa: E501 + + :return: The description of this CreateGroupGalleryRequest. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this CreateGroupGalleryRequest. + + Description of the gallery. # noqa: E501 + + :param description: The description of this CreateGroupGalleryRequest. # noqa: E501 + :type description: str + """ + if (self.local_vars_configuration.client_side_validation and + description is not None and len(description) < 0): + raise ValueError("Invalid value for `description`, length must be greater than or equal to `0`") # noqa: E501 + + self._description = description + + @property + def members_only(self): + """Gets the members_only of this CreateGroupGalleryRequest. # noqa: E501 + + Whether the gallery is members only. # noqa: E501 + + :return: The members_only of this CreateGroupGalleryRequest. # noqa: E501 + :rtype: bool + """ + return self._members_only + + @members_only.setter + def members_only(self, members_only): + """Sets the members_only of this CreateGroupGalleryRequest. + + Whether the gallery is members only. # noqa: E501 + + :param members_only: The members_only of this CreateGroupGalleryRequest. # noqa: E501 + :type members_only: bool + """ + + self._members_only = members_only + + @property + def role_ids_to_view(self): + """Gets the role_ids_to_view of this CreateGroupGalleryRequest. # noqa: E501 + + + :return: The role_ids_to_view of this CreateGroupGalleryRequest. # noqa: E501 + :rtype: list[str] + """ + return self._role_ids_to_view + + @role_ids_to_view.setter + def role_ids_to_view(self, role_ids_to_view): + """Sets the role_ids_to_view of this CreateGroupGalleryRequest. + + + :param role_ids_to_view: The role_ids_to_view of this CreateGroupGalleryRequest. # noqa: E501 + :type role_ids_to_view: list[str] + """ + + self._role_ids_to_view = role_ids_to_view + + @property + def role_ids_to_submit(self): + """Gets the role_ids_to_submit of this CreateGroupGalleryRequest. # noqa: E501 + + + :return: The role_ids_to_submit of this CreateGroupGalleryRequest. # noqa: E501 + :rtype: list[str] + """ + return self._role_ids_to_submit + + @role_ids_to_submit.setter + def role_ids_to_submit(self, role_ids_to_submit): + """Sets the role_ids_to_submit of this CreateGroupGalleryRequest. + + + :param role_ids_to_submit: The role_ids_to_submit of this CreateGroupGalleryRequest. # noqa: E501 + :type role_ids_to_submit: list[str] + """ + + self._role_ids_to_submit = role_ids_to_submit + + @property + def role_ids_to_auto_approve(self): + """Gets the role_ids_to_auto_approve of this CreateGroupGalleryRequest. # noqa: E501 + + + :return: The role_ids_to_auto_approve of this CreateGroupGalleryRequest. # noqa: E501 + :rtype: list[str] + """ + return self._role_ids_to_auto_approve + + @role_ids_to_auto_approve.setter + def role_ids_to_auto_approve(self, role_ids_to_auto_approve): + """Sets the role_ids_to_auto_approve of this CreateGroupGalleryRequest. + + + :param role_ids_to_auto_approve: The role_ids_to_auto_approve of this CreateGroupGalleryRequest. # noqa: E501 + :type role_ids_to_auto_approve: list[str] + """ + + self._role_ids_to_auto_approve = role_ids_to_auto_approve + + @property + def role_ids_to_manage(self): + """Gets the role_ids_to_manage of this CreateGroupGalleryRequest. # noqa: E501 + + + :return: The role_ids_to_manage of this CreateGroupGalleryRequest. # noqa: E501 + :rtype: list[str] + """ + return self._role_ids_to_manage + + @role_ids_to_manage.setter + def role_ids_to_manage(self, role_ids_to_manage): + """Sets the role_ids_to_manage of this CreateGroupGalleryRequest. + + + :param role_ids_to_manage: The role_ids_to_manage of this CreateGroupGalleryRequest. # noqa: E501 + :type role_ids_to_manage: list[str] + """ + + self._role_ids_to_manage = role_ids_to_manage + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CreateGroupGalleryRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, CreateGroupGalleryRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py new file mode 100644 index 00000000..495dee4c --- /dev/null +++ b/vrchatapi/models/create_group_invite_request.py @@ -0,0 +1,160 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class CreateGroupInviteRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'user_id': 'str', + 'confirm_override_block': 'bool' + } + + attribute_map = { + 'user_id': 'userId', + 'confirm_override_block': 'confirmOverrideBlock' + } + + def __init__(self, user_id=None, confirm_override_block=True, local_vars_configuration=None): # noqa: E501 + """CreateGroupInviteRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._user_id = None + self._confirm_override_block = None + self.discriminator = None + + self.user_id = user_id + if confirm_override_block is not None: + self.confirm_override_block = confirm_override_block + + @property + def user_id(self): + """Gets the user_id of this CreateGroupInviteRequest. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The user_id of this CreateGroupInviteRequest. # noqa: E501 + :rtype: str + """ + return self._user_id + + @user_id.setter + def user_id(self, user_id): + """Sets the user_id of this CreateGroupInviteRequest. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param user_id: The user_id of this CreateGroupInviteRequest. # noqa: E501 + :type user_id: str + """ + if self.local_vars_configuration.client_side_validation and user_id is None: # noqa: E501 + raise ValueError("Invalid value for `user_id`, must not be `None`") # noqa: E501 + + self._user_id = user_id + + @property + def confirm_override_block(self): + """Gets the confirm_override_block of this CreateGroupInviteRequest. # noqa: E501 + + + :return: The confirm_override_block of this CreateGroupInviteRequest. # noqa: E501 + :rtype: bool + """ + return self._confirm_override_block + + @confirm_override_block.setter + def confirm_override_block(self, confirm_override_block): + """Sets the confirm_override_block of this CreateGroupInviteRequest. + + + :param confirm_override_block: The confirm_override_block of this CreateGroupInviteRequest. # noqa: E501 + :type confirm_override_block: bool + """ + + self._confirm_override_block = confirm_override_block + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CreateGroupInviteRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, CreateGroupInviteRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py new file mode 100644 index 00000000..c28e39f3 --- /dev/null +++ b/vrchatapi/models/create_group_request.py @@ -0,0 +1,332 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class CreateGroupRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'name': 'str', + 'short_code': 'str', + 'description': 'str', + 'join_state': 'GroupJoinState', + 'icon_id': 'str', + 'banner_id': 'str', + 'privacy': 'GroupPrivacy', + 'role_template': 'GroupRoleTemplate' + } + + attribute_map = { + 'name': 'name', + 'short_code': 'shortCode', + 'description': 'description', + 'join_state': 'joinState', + 'icon_id': 'iconId', + 'banner_id': 'bannerId', + 'privacy': 'privacy', + 'role_template': 'roleTemplate' + } + + def __init__(self, name=None, short_code=None, description=None, join_state=None, icon_id='null', banner_id='null', privacy=None, role_template=None, local_vars_configuration=None): # noqa: E501 + """CreateGroupRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._name = None + self._short_code = None + self._description = None + self._join_state = None + self._icon_id = None + self._banner_id = None + self._privacy = None + self._role_template = None + self.discriminator = None + + self.name = name + self.short_code = short_code + if description is not None: + self.description = description + if join_state is not None: + self.join_state = join_state + self.icon_id = icon_id + self.banner_id = banner_id + if privacy is not None: + self.privacy = privacy + self.role_template = role_template + + @property + def name(self): + """Gets the name of this CreateGroupRequest. # noqa: E501 + + + :return: The name of this CreateGroupRequest. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this CreateGroupRequest. + + + :param name: The name of this CreateGroupRequest. # noqa: E501 + :type name: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + name is not None and len(name) > 64): + raise ValueError("Invalid value for `name`, length must be less than or equal to `64`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + name is not None and len(name) < 3): + raise ValueError("Invalid value for `name`, length must be greater than or equal to `3`") # noqa: E501 + + self._name = name + + @property + def short_code(self): + """Gets the short_code of this CreateGroupRequest. # noqa: E501 + + + :return: The short_code of this CreateGroupRequest. # noqa: E501 + :rtype: str + """ + return self._short_code + + @short_code.setter + def short_code(self, short_code): + """Sets the short_code of this CreateGroupRequest. + + + :param short_code: The short_code of this CreateGroupRequest. # noqa: E501 + :type short_code: str + """ + if self.local_vars_configuration.client_side_validation and short_code is None: # noqa: E501 + raise ValueError("Invalid value for `short_code`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + short_code is not None and len(short_code) > 6): + raise ValueError("Invalid value for `short_code`, length must be less than or equal to `6`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + short_code is not None and len(short_code) < 3): + raise ValueError("Invalid value for `short_code`, length must be greater than or equal to `3`") # noqa: E501 + + self._short_code = short_code + + @property + def description(self): + """Gets the description of this CreateGroupRequest. # noqa: E501 + + + :return: The description of this CreateGroupRequest. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this CreateGroupRequest. + + + :param description: The description of this CreateGroupRequest. # noqa: E501 + :type description: str + """ + if (self.local_vars_configuration.client_side_validation and + description is not None and len(description) > 250): + raise ValueError("Invalid value for `description`, length must be less than or equal to `250`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + description is not None and len(description) < 0): + raise ValueError("Invalid value for `description`, length must be greater than or equal to `0`") # noqa: E501 + + self._description = description + + @property + def join_state(self): + """Gets the join_state of this CreateGroupRequest. # noqa: E501 + + + :return: The join_state of this CreateGroupRequest. # noqa: E501 + :rtype: GroupJoinState + """ + return self._join_state + + @join_state.setter + def join_state(self, join_state): + """Sets the join_state of this CreateGroupRequest. + + + :param join_state: The join_state of this CreateGroupRequest. # noqa: E501 + :type join_state: GroupJoinState + """ + + self._join_state = join_state + + @property + def icon_id(self): + """Gets the icon_id of this CreateGroupRequest. # noqa: E501 + + + :return: The icon_id of this CreateGroupRequest. # noqa: E501 + :rtype: str + """ + return self._icon_id + + @icon_id.setter + def icon_id(self, icon_id): + """Sets the icon_id of this CreateGroupRequest. + + + :param icon_id: The icon_id of this CreateGroupRequest. # noqa: E501 + :type icon_id: str + """ + + self._icon_id = icon_id + + @property + def banner_id(self): + """Gets the banner_id of this CreateGroupRequest. # noqa: E501 + + + :return: The banner_id of this CreateGroupRequest. # noqa: E501 + :rtype: str + """ + return self._banner_id + + @banner_id.setter + def banner_id(self, banner_id): + """Sets the banner_id of this CreateGroupRequest. + + + :param banner_id: The banner_id of this CreateGroupRequest. # noqa: E501 + :type banner_id: str + """ + + self._banner_id = banner_id + + @property + def privacy(self): + """Gets the privacy of this CreateGroupRequest. # noqa: E501 + + + :return: The privacy of this CreateGroupRequest. # noqa: E501 + :rtype: GroupPrivacy + """ + return self._privacy + + @privacy.setter + def privacy(self, privacy): + """Sets the privacy of this CreateGroupRequest. + + + :param privacy: The privacy of this CreateGroupRequest. # noqa: E501 + :type privacy: GroupPrivacy + """ + + self._privacy = privacy + + @property + def role_template(self): + """Gets the role_template of this CreateGroupRequest. # noqa: E501 + + + :return: The role_template of this CreateGroupRequest. # noqa: E501 + :rtype: GroupRoleTemplate + """ + return self._role_template + + @role_template.setter + def role_template(self, role_template): + """Sets the role_template of this CreateGroupRequest. + + + :param role_template: The role_template of this CreateGroupRequest. # noqa: E501 + :type role_template: GroupRoleTemplate + """ + if self.local_vars_configuration.client_side_validation and role_template is None: # noqa: E501 + raise ValueError("Invalid value for `role_template`, must not be `None`") # noqa: E501 + + self._role_template = role_template + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CreateGroupRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, CreateGroupRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py new file mode 100644 index 00000000..94b2438e --- /dev/null +++ b/vrchatapi/models/create_group_role_request.py @@ -0,0 +1,235 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class CreateGroupRoleRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'id': 'str', + 'name': 'str', + 'description': 'str', + 'is_self_assignable': 'bool', + 'permissions': 'list[str]' + } + + attribute_map = { + 'id': 'id', + 'name': 'name', + 'description': 'description', + 'is_self_assignable': 'isSelfAssignable', + 'permissions': 'permissions' + } + + def __init__(self, id=None, name=None, description=None, is_self_assignable=False, permissions=None, local_vars_configuration=None): # noqa: E501 + """CreateGroupRoleRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._id = None + self._name = None + self._description = None + self._is_self_assignable = None + self._permissions = None + self.discriminator = None + + if id is not None: + self.id = id + if name is not None: + self.name = name + if description is not None: + self.description = description + if is_self_assignable is not None: + self.is_self_assignable = is_self_assignable + if permissions is not None: + self.permissions = permissions + + @property + def id(self): + """Gets the id of this CreateGroupRoleRequest. # noqa: E501 + + + :return: The id of this CreateGroupRoleRequest. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this CreateGroupRoleRequest. + + + :param id: The id of this CreateGroupRoleRequest. # noqa: E501 + :type id: str + """ + + self._id = id + + @property + def name(self): + """Gets the name of this CreateGroupRoleRequest. # noqa: E501 + + + :return: The name of this CreateGroupRoleRequest. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this CreateGroupRoleRequest. + + + :param name: The name of this CreateGroupRoleRequest. # noqa: E501 + :type name: str + """ + + self._name = name + + @property + def description(self): + """Gets the description of this CreateGroupRoleRequest. # noqa: E501 + + + :return: The description of this CreateGroupRoleRequest. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this CreateGroupRoleRequest. + + + :param description: The description of this CreateGroupRoleRequest. # noqa: E501 + :type description: str + """ + + self._description = description + + @property + def is_self_assignable(self): + """Gets the is_self_assignable of this CreateGroupRoleRequest. # noqa: E501 + + + :return: The is_self_assignable of this CreateGroupRoleRequest. # noqa: E501 + :rtype: bool + """ + return self._is_self_assignable + + @is_self_assignable.setter + def is_self_assignable(self, is_self_assignable): + """Sets the is_self_assignable of this CreateGroupRoleRequest. + + + :param is_self_assignable: The is_self_assignable of this CreateGroupRoleRequest. # noqa: E501 + :type is_self_assignable: bool + """ + + self._is_self_assignable = is_self_assignable + + @property + def permissions(self): + """Gets the permissions of this CreateGroupRoleRequest. # noqa: E501 + + + :return: The permissions of this CreateGroupRoleRequest. # noqa: E501 + :rtype: list[str] + """ + return self._permissions + + @permissions.setter + def permissions(self, permissions): + """Sets the permissions of this CreateGroupRoleRequest. + + + :param permissions: The permissions of this CreateGroupRoleRequest. # noqa: E501 + :type permissions: list[str] + """ + + self._permissions = permissions + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CreateGroupRoleRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, CreateGroupRoleRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index 0ebc4ea5..898f462b 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -388,7 +388,6 @@ def release_status(self, release_status): def tags(self): """Gets the tags of this CreateWorldRequest. # noqa: E501 - # noqa: E501 :return: The tags of this CreateWorldRequest. # noqa: E501 :rtype: list[str] @@ -399,7 +398,6 @@ def tags(self): def tags(self, tags): """Sets the tags of this CreateWorldRequest. - # noqa: E501 :param tags: The tags of this CreateWorldRequest. # noqa: E501 :type tags: list[str] diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index 84c04d8d..8508a207 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -997,7 +997,6 @@ def online_friends(self, online_friends): def past_display_names(self): """Gets the past_display_names of this CurrentUser. # noqa: E501 - # noqa: E501 :return: The past_display_names of this CurrentUser. # noqa: E501 :rtype: list[PastDisplayName] @@ -1008,7 +1007,6 @@ def past_display_names(self): def past_display_names(self, past_display_names): """Sets the past_display_names of this CurrentUser. - # noqa: E501 :param past_display_names: The past_display_names of this CurrentUser. # noqa: E501 :type past_display_names: list[PastDisplayName] diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index 608533e7..9bddfe52 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -121,7 +121,6 @@ def id(self, id): def tags(self): """Gets the tags of this Favorite. # noqa: E501 - # noqa: E501 :return: The tags of this Favorite. # noqa: E501 :rtype: list[str] @@ -132,7 +131,6 @@ def tags(self): def tags(self, tags): """Sets the tags of this Favorite. - # noqa: E501 :param tags: The tags of this Favorite. # noqa: E501 :type tags: list[str] diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index f8c25c48..6646ee5a 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -215,7 +215,6 @@ def owner_id(self, owner_id): def tags(self): """Gets the tags of this FavoriteGroup. # noqa: E501 - # noqa: E501 :return: The tags of this FavoriteGroup. # noqa: E501 :rtype: list[str] @@ -226,7 +225,6 @@ def tags(self): def tags(self, tags): """Sets the tags of this FavoriteGroup. - # noqa: E501 :param tags: The tags of this FavoriteGroup. # noqa: E501 :type tags: list[str] diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index d81005b8..46dd6cd8 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -157,7 +157,6 @@ def mime_type(self, mime_type): def name(self): """Gets the name of this File. # noqa: E501 - # noqa: E501 :return: The name of this File. # noqa: E501 :rtype: str @@ -168,7 +167,6 @@ def name(self): def name(self, name): """Sets the name of this File. - # noqa: E501 :param name: The name of this File. # noqa: E501 :type name: str @@ -210,7 +208,6 @@ def owner_id(self, owner_id): def tags(self): """Gets the tags of this File. # noqa: E501 - # noqa: E501 :return: The tags of this File. # noqa: E501 :rtype: list[str] @@ -221,7 +218,6 @@ def tags(self): def tags(self, tags): """Sets the tags of this File. - # noqa: E501 :param tags: The tags of this File. # noqa: E501 :type tags: list[str] @@ -235,7 +231,6 @@ def tags(self, tags): def versions(self): """Gets the versions of this File. # noqa: E501 - # noqa: E501 :return: The versions of this File. # noqa: E501 :rtype: list[FileVersion] @@ -246,7 +241,6 @@ def versions(self): def versions(self, versions): """Sets the versions of this File. - # noqa: E501 :param versions: The versions of this File. # noqa: E501 :type versions: list[FileVersion] diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index 7c176045..a00a7d05 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -58,7 +58,6 @@ def __init__(self, url=None, local_vars_configuration=None): # noqa: E501 def url(self): """Gets the url of this FileUploadURL. # noqa: E501 - # noqa: E501 :return: The url of this FileUploadURL. # noqa: E501 :rtype: str @@ -69,7 +68,6 @@ def url(self): def url(self, url): """Sets the url of this FileUploadURL. - # noqa: E501 :param url: The url of this FileUploadURL. # noqa: E501 :type url: str diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py new file mode 100644 index 00000000..30ebacac --- /dev/null +++ b/vrchatapi/models/group.py @@ -0,0 +1,762 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class Group(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'id': 'str', + 'name': 'str', + 'short_code': 'str', + 'discriminator': 'str', + 'description': 'str', + 'icon_url': 'str', + 'banner_url': 'str', + 'privacy': 'GroupPrivacy', + 'owner_id': 'str', + 'rules': 'str', + 'links': 'list[str]', + 'languages': 'list[str]', + 'icon_id': 'str', + 'banner_id': 'str', + 'member_count': 'int', + 'member_count_synced_at': 'datetime', + 'is_verified': 'bool', + 'join_state': 'GroupJoinState', + 'tags': 'list[str]', + 'galleries': 'list[GroupGallery]', + 'created_at': 'datetime', + 'online_member_count': 'int', + 'membership_status': 'GroupMemberStatus', + 'my_member': 'GroupMyMember', + 'roles': 'list[GroupRole]' + } + + attribute_map = { + 'id': 'id', + 'name': 'name', + 'short_code': 'shortCode', + 'discriminator': 'discriminator', + 'description': 'description', + 'icon_url': 'iconUrl', + 'banner_url': 'bannerUrl', + 'privacy': 'privacy', + 'owner_id': 'ownerId', + 'rules': 'rules', + 'links': 'links', + 'languages': 'languages', + 'icon_id': 'iconId', + 'banner_id': 'bannerId', + 'member_count': 'memberCount', + 'member_count_synced_at': 'memberCountSyncedAt', + 'is_verified': 'isVerified', + 'join_state': 'joinState', + 'tags': 'tags', + 'galleries': 'galleries', + 'created_at': 'createdAt', + 'online_member_count': 'onlineMemberCount', + 'membership_status': 'membershipStatus', + 'my_member': 'myMember', + 'roles': 'roles' + } + + def __init__(self, id=None, name=None, short_code=None, discriminator=None, description=None, icon_url=None, banner_url=None, privacy=None, owner_id=None, rules=None, links=None, languages=None, icon_id=None, banner_id=None, member_count=None, member_count_synced_at=None, is_verified=False, join_state=None, tags=None, galleries=None, created_at=None, online_member_count=None, membership_status=None, my_member=None, roles=None, local_vars_configuration=None): # noqa: E501 + """Group - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._id = None + self._name = None + self._short_code = None + self._discriminator = None + self._description = None + self._icon_url = None + self._banner_url = None + self._privacy = None + self._owner_id = None + self._rules = None + self._links = None + self._languages = None + self._icon_id = None + self._banner_id = None + self._member_count = None + self._member_count_synced_at = None + self._is_verified = None + self._join_state = None + self._tags = None + self._galleries = None + self._created_at = None + self._online_member_count = None + self._membership_status = None + self._my_member = None + self._roles = None + self.discriminator = None + + if id is not None: + self.id = id + if name is not None: + self.name = name + if short_code is not None: + self.short_code = short_code + if discriminator is not None: + self.discriminator = discriminator + if description is not None: + self.description = description + self.icon_url = icon_url + self.banner_url = banner_url + if privacy is not None: + self.privacy = privacy + if owner_id is not None: + self.owner_id = owner_id + self.rules = rules + if links is not None: + self.links = links + if languages is not None: + self.languages = languages + self.icon_id = icon_id + self.banner_id = banner_id + if member_count is not None: + self.member_count = member_count + if member_count_synced_at is not None: + self.member_count_synced_at = member_count_synced_at + if is_verified is not None: + self.is_verified = is_verified + if join_state is not None: + self.join_state = join_state + if tags is not None: + self.tags = tags + if galleries is not None: + self.galleries = galleries + if created_at is not None: + self.created_at = created_at + if online_member_count is not None: + self.online_member_count = online_member_count + if membership_status is not None: + self.membership_status = membership_status + if my_member is not None: + self.my_member = my_member + self.roles = roles + + @property + def id(self): + """Gets the id of this Group. # noqa: E501 + + + :return: The id of this Group. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this Group. + + + :param id: The id of this Group. # noqa: E501 + :type id: str + """ + if (self.local_vars_configuration.client_side_validation and + id is not None and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', id)): # noqa: E501 + raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + + self._id = id + + @property + def name(self): + """Gets the name of this Group. # noqa: E501 + + + :return: The name of this Group. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this Group. + + + :param name: The name of this Group. # noqa: E501 + :type name: str + """ + + self._name = name + + @property + def short_code(self): + """Gets the short_code of this Group. # noqa: E501 + + + :return: The short_code of this Group. # noqa: E501 + :rtype: str + """ + return self._short_code + + @short_code.setter + def short_code(self, short_code): + """Sets the short_code of this Group. + + + :param short_code: The short_code of this Group. # noqa: E501 + :type short_code: str + """ + if (self.local_vars_configuration.client_side_validation and + short_code is not None and not re.search(r'^[A-Z0-9]{3,6}$', short_code)): # noqa: E501 + raise ValueError(r"Invalid value for `short_code`, must be a follow pattern or equal to `/^[A-Z0-9]{3,6}$/`") # noqa: E501 + + self._short_code = short_code + + @property + def discriminator(self): + """Gets the discriminator of this Group. # noqa: E501 + + + :return: The discriminator of this Group. # noqa: E501 + :rtype: str + """ + return self._discriminator + + @discriminator.setter + def discriminator(self, discriminator): + """Sets the discriminator of this Group. + + + :param discriminator: The discriminator of this Group. # noqa: E501 + :type discriminator: str + """ + if (self.local_vars_configuration.client_side_validation and + discriminator is not None and not re.search(r'^[0-9]{4}$', discriminator)): # noqa: E501 + raise ValueError(r"Invalid value for `discriminator`, must be a follow pattern or equal to `/^[0-9]{4}$/`") # noqa: E501 + + self._discriminator = discriminator + + @property + def description(self): + """Gets the description of this Group. # noqa: E501 + + + :return: The description of this Group. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this Group. + + + :param description: The description of this Group. # noqa: E501 + :type description: str + """ + + self._description = description + + @property + def icon_url(self): + """Gets the icon_url of this Group. # noqa: E501 + + + :return: The icon_url of this Group. # noqa: E501 + :rtype: str + """ + return self._icon_url + + @icon_url.setter + def icon_url(self, icon_url): + """Sets the icon_url of this Group. + + + :param icon_url: The icon_url of this Group. # noqa: E501 + :type icon_url: str + """ + + self._icon_url = icon_url + + @property + def banner_url(self): + """Gets the banner_url of this Group. # noqa: E501 + + + :return: The banner_url of this Group. # noqa: E501 + :rtype: str + """ + return self._banner_url + + @banner_url.setter + def banner_url(self, banner_url): + """Sets the banner_url of this Group. + + + :param banner_url: The banner_url of this Group. # noqa: E501 + :type banner_url: str + """ + + self._banner_url = banner_url + + @property + def privacy(self): + """Gets the privacy of this Group. # noqa: E501 + + + :return: The privacy of this Group. # noqa: E501 + :rtype: GroupPrivacy + """ + return self._privacy + + @privacy.setter + def privacy(self, privacy): + """Sets the privacy of this Group. + + + :param privacy: The privacy of this Group. # noqa: E501 + :type privacy: GroupPrivacy + """ + + self._privacy = privacy + + @property + def owner_id(self): + """Gets the owner_id of this Group. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The owner_id of this Group. # noqa: E501 + :rtype: str + """ + return self._owner_id + + @owner_id.setter + def owner_id(self, owner_id): + """Sets the owner_id of this Group. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param owner_id: The owner_id of this Group. # noqa: E501 + :type owner_id: str + """ + + self._owner_id = owner_id + + @property + def rules(self): + """Gets the rules of this Group. # noqa: E501 + + + :return: The rules of this Group. # noqa: E501 + :rtype: str + """ + return self._rules + + @rules.setter + def rules(self, rules): + """Sets the rules of this Group. + + + :param rules: The rules of this Group. # noqa: E501 + :type rules: str + """ + + self._rules = rules + + @property + def links(self): + """Gets the links of this Group. # noqa: E501 + + + :return: The links of this Group. # noqa: E501 + :rtype: list[str] + """ + return self._links + + @links.setter + def links(self, links): + """Sets the links of this Group. + + + :param links: The links of this Group. # noqa: E501 + :type links: list[str] + """ + + self._links = links + + @property + def languages(self): + """Gets the languages of this Group. # noqa: E501 + + + :return: The languages of this Group. # noqa: E501 + :rtype: list[str] + """ + return self._languages + + @languages.setter + def languages(self, languages): + """Sets the languages of this Group. + + + :param languages: The languages of this Group. # noqa: E501 + :type languages: list[str] + """ + + self._languages = languages + + @property + def icon_id(self): + """Gets the icon_id of this Group. # noqa: E501 + + + :return: The icon_id of this Group. # noqa: E501 + :rtype: str + """ + return self._icon_id + + @icon_id.setter + def icon_id(self, icon_id): + """Sets the icon_id of this Group. + + + :param icon_id: The icon_id of this Group. # noqa: E501 + :type icon_id: str + """ + + self._icon_id = icon_id + + @property + def banner_id(self): + """Gets the banner_id of this Group. # noqa: E501 + + + :return: The banner_id of this Group. # noqa: E501 + :rtype: str + """ + return self._banner_id + + @banner_id.setter + def banner_id(self, banner_id): + """Sets the banner_id of this Group. + + + :param banner_id: The banner_id of this Group. # noqa: E501 + :type banner_id: str + """ + + self._banner_id = banner_id + + @property + def member_count(self): + """Gets the member_count of this Group. # noqa: E501 + + + :return: The member_count of this Group. # noqa: E501 + :rtype: int + """ + return self._member_count + + @member_count.setter + def member_count(self, member_count): + """Sets the member_count of this Group. + + + :param member_count: The member_count of this Group. # noqa: E501 + :type member_count: int + """ + + self._member_count = member_count + + @property + def member_count_synced_at(self): + """Gets the member_count_synced_at of this Group. # noqa: E501 + + + :return: The member_count_synced_at of this Group. # noqa: E501 + :rtype: datetime + """ + return self._member_count_synced_at + + @member_count_synced_at.setter + def member_count_synced_at(self, member_count_synced_at): + """Sets the member_count_synced_at of this Group. + + + :param member_count_synced_at: The member_count_synced_at of this Group. # noqa: E501 + :type member_count_synced_at: datetime + """ + + self._member_count_synced_at = member_count_synced_at + + @property + def is_verified(self): + """Gets the is_verified of this Group. # noqa: E501 + + + :return: The is_verified of this Group. # noqa: E501 + :rtype: bool + """ + return self._is_verified + + @is_verified.setter + def is_verified(self, is_verified): + """Sets the is_verified of this Group. + + + :param is_verified: The is_verified of this Group. # noqa: E501 + :type is_verified: bool + """ + + self._is_verified = is_verified + + @property + def join_state(self): + """Gets the join_state of this Group. # noqa: E501 + + + :return: The join_state of this Group. # noqa: E501 + :rtype: GroupJoinState + """ + return self._join_state + + @join_state.setter + def join_state(self, join_state): + """Sets the join_state of this Group. + + + :param join_state: The join_state of this Group. # noqa: E501 + :type join_state: GroupJoinState + """ + + self._join_state = join_state + + @property + def tags(self): + """Gets the tags of this Group. # noqa: E501 + + + :return: The tags of this Group. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this Group. + + + :param tags: The tags of this Group. # noqa: E501 + :type tags: list[str] + """ + + self._tags = tags + + @property + def galleries(self): + """Gets the galleries of this Group. # noqa: E501 + + + :return: The galleries of this Group. # noqa: E501 + :rtype: list[GroupGallery] + """ + return self._galleries + + @galleries.setter + def galleries(self, galleries): + """Sets the galleries of this Group. + + + :param galleries: The galleries of this Group. # noqa: E501 + :type galleries: list[GroupGallery] + """ + + self._galleries = galleries + + @property + def created_at(self): + """Gets the created_at of this Group. # noqa: E501 + + + :return: The created_at of this Group. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this Group. + + + :param created_at: The created_at of this Group. # noqa: E501 + :type created_at: datetime + """ + + self._created_at = created_at + + @property + def online_member_count(self): + """Gets the online_member_count of this Group. # noqa: E501 + + + :return: The online_member_count of this Group. # noqa: E501 + :rtype: int + """ + return self._online_member_count + + @online_member_count.setter + def online_member_count(self, online_member_count): + """Sets the online_member_count of this Group. + + + :param online_member_count: The online_member_count of this Group. # noqa: E501 + :type online_member_count: int + """ + + self._online_member_count = online_member_count + + @property + def membership_status(self): + """Gets the membership_status of this Group. # noqa: E501 + + + :return: The membership_status of this Group. # noqa: E501 + :rtype: GroupMemberStatus + """ + return self._membership_status + + @membership_status.setter + def membership_status(self, membership_status): + """Sets the membership_status of this Group. + + + :param membership_status: The membership_status of this Group. # noqa: E501 + :type membership_status: GroupMemberStatus + """ + + self._membership_status = membership_status + + @property + def my_member(self): + """Gets the my_member of this Group. # noqa: E501 + + + :return: The my_member of this Group. # noqa: E501 + :rtype: GroupMyMember + """ + return self._my_member + + @my_member.setter + def my_member(self, my_member): + """Sets the my_member of this Group. + + + :param my_member: The my_member of this Group. # noqa: E501 + :type my_member: GroupMyMember + """ + + self._my_member = my_member + + @property + def roles(self): + """Gets the roles of this Group. # noqa: E501 + + Only returned if ?includeRoles=true is specified. # noqa: E501 + + :return: The roles of this Group. # noqa: E501 + :rtype: list[GroupRole] + """ + return self._roles + + @roles.setter + def roles(self, roles): + """Sets the roles of this Group. + + Only returned if ?includeRoles=true is specified. # noqa: E501 + + :param roles: The roles of this Group. # noqa: E501 + :type roles: list[GroupRole] + """ + + self._roles = roles + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, Group): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, Group): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py new file mode 100644 index 00000000..7f53eb57 --- /dev/null +++ b/vrchatapi/models/group_announcement.py @@ -0,0 +1,345 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class GroupAnnouncement(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'id': 'str', + 'group_id': 'str', + 'author_id': 'str', + 'title': 'str', + 'text': 'str', + 'image_id': 'str', + 'image_url': 'str', + 'created_at': 'datetime', + 'updated_at': 'datetime' + } + + attribute_map = { + 'id': 'id', + 'group_id': 'groupId', + 'author_id': 'authorId', + 'title': 'title', + 'text': 'text', + 'image_id': 'imageId', + 'image_url': 'imageUrl', + 'created_at': 'createdAt', + 'updated_at': 'updatedAt' + } + + def __init__(self, id=None, group_id=None, author_id=None, title=None, text=None, image_id=None, image_url=None, created_at=None, updated_at=None, local_vars_configuration=None): # noqa: E501 + """GroupAnnouncement - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._id = None + self._group_id = None + self._author_id = None + self._title = None + self._text = None + self._image_id = None + self._image_url = None + self._created_at = None + self._updated_at = None + self.discriminator = None + + if id is not None: + self.id = id + if group_id is not None: + self.group_id = group_id + if author_id is not None: + self.author_id = author_id + self.title = title + self.text = text + if image_id is not None: + self.image_id = image_id + self.image_url = image_url + self.created_at = created_at + self.updated_at = updated_at + + @property + def id(self): + """Gets the id of this GroupAnnouncement. # noqa: E501 + + + :return: The id of this GroupAnnouncement. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this GroupAnnouncement. + + + :param id: The id of this GroupAnnouncement. # noqa: E501 + :type id: str + """ + if (self.local_vars_configuration.client_side_validation and + id is not None and not re.search(r'gpos_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', id)): # noqa: E501 + raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/gpos_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + + self._id = id + + @property + def group_id(self): + """Gets the group_id of this GroupAnnouncement. # noqa: E501 + + + :return: The group_id of this GroupAnnouncement. # noqa: E501 + :rtype: str + """ + return self._group_id + + @group_id.setter + def group_id(self, group_id): + """Sets the group_id of this GroupAnnouncement. + + + :param group_id: The group_id of this GroupAnnouncement. # noqa: E501 + :type group_id: str + """ + if (self.local_vars_configuration.client_side_validation and + group_id is not None and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', group_id)): # noqa: E501 + raise ValueError(r"Invalid value for `group_id`, must be a follow pattern or equal to `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + + self._group_id = group_id + + @property + def author_id(self): + """Gets the author_id of this GroupAnnouncement. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The author_id of this GroupAnnouncement. # noqa: E501 + :rtype: str + """ + return self._author_id + + @author_id.setter + def author_id(self, author_id): + """Sets the author_id of this GroupAnnouncement. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param author_id: The author_id of this GroupAnnouncement. # noqa: E501 + :type author_id: str + """ + + self._author_id = author_id + + @property + def title(self): + """Gets the title of this GroupAnnouncement. # noqa: E501 + + + :return: The title of this GroupAnnouncement. # noqa: E501 + :rtype: str + """ + return self._title + + @title.setter + def title(self, title): + """Sets the title of this GroupAnnouncement. + + + :param title: The title of this GroupAnnouncement. # noqa: E501 + :type title: str + """ + + self._title = title + + @property + def text(self): + """Gets the text of this GroupAnnouncement. # noqa: E501 + + + :return: The text of this GroupAnnouncement. # noqa: E501 + :rtype: str + """ + return self._text + + @text.setter + def text(self, text): + """Sets the text of this GroupAnnouncement. + + + :param text: The text of this GroupAnnouncement. # noqa: E501 + :type text: str + """ + + self._text = text + + @property + def image_id(self): + """Gets the image_id of this GroupAnnouncement. # noqa: E501 + + + :return: The image_id of this GroupAnnouncement. # noqa: E501 + :rtype: str + """ + return self._image_id + + @image_id.setter + def image_id(self, image_id): + """Sets the image_id of this GroupAnnouncement. + + + :param image_id: The image_id of this GroupAnnouncement. # noqa: E501 + :type image_id: str + """ + if (self.local_vars_configuration.client_side_validation and + image_id is not None and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', image_id)): # noqa: E501 + raise ValueError(r"Invalid value for `image_id`, must be a follow pattern or equal to `/file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + + self._image_id = image_id + + @property + def image_url(self): + """Gets the image_url of this GroupAnnouncement. # noqa: E501 + + + :return: The image_url of this GroupAnnouncement. # noqa: E501 + :rtype: str + """ + return self._image_url + + @image_url.setter + def image_url(self, image_url): + """Sets the image_url of this GroupAnnouncement. + + + :param image_url: The image_url of this GroupAnnouncement. # noqa: E501 + :type image_url: str + """ + + self._image_url = image_url + + @property + def created_at(self): + """Gets the created_at of this GroupAnnouncement. # noqa: E501 + + + :return: The created_at of this GroupAnnouncement. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this GroupAnnouncement. + + + :param created_at: The created_at of this GroupAnnouncement. # noqa: E501 + :type created_at: datetime + """ + + self._created_at = created_at + + @property + def updated_at(self): + """Gets the updated_at of this GroupAnnouncement. # noqa: E501 + + + :return: The updated_at of this GroupAnnouncement. # noqa: E501 + :rtype: datetime + """ + return self._updated_at + + @updated_at.setter + def updated_at(self, updated_at): + """Sets the updated_at of this GroupAnnouncement. + + + :param updated_at: The updated_at of this GroupAnnouncement. # noqa: E501 + :type updated_at: datetime + """ + + self._updated_at = updated_at + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GroupAnnouncement): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GroupAnnouncement): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py new file mode 100644 index 00000000..2db7cec6 --- /dev/null +++ b/vrchatapi/models/group_audit_log_entry.py @@ -0,0 +1,355 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class GroupAuditLogEntry(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'id': 'str', + 'created_at': 'datetime', + 'group_id': 'str', + 'actor_id': 'str', + 'actor_displayname': 'str', + 'target_id': 'str', + 'event_type': 'str', + 'description': 'str', + 'data': 'object' + } + + attribute_map = { + 'id': 'id', + 'created_at': 'created_at', + 'group_id': 'groupId', + 'actor_id': 'actorId', + 'actor_displayname': 'actorDisplayname', + 'target_id': 'targetId', + 'event_type': 'eventType', + 'description': 'description', + 'data': 'data' + } + + def __init__(self, id=None, created_at=None, group_id=None, actor_id=None, actor_displayname=None, target_id=None, event_type='group.update', description=None, data=None, local_vars_configuration=None): # noqa: E501 + """GroupAuditLogEntry - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._id = None + self._created_at = None + self._group_id = None + self._actor_id = None + self._actor_displayname = None + self._target_id = None + self._event_type = None + self._description = None + self._data = None + self.discriminator = None + + if id is not None: + self.id = id + if created_at is not None: + self.created_at = created_at + if group_id is not None: + self.group_id = group_id + if actor_id is not None: + self.actor_id = actor_id + if actor_displayname is not None: + self.actor_displayname = actor_displayname + if target_id is not None: + self.target_id = target_id + if event_type is not None: + self.event_type = event_type + if description is not None: + self.description = description + if data is not None: + self.data = data + + @property + def id(self): + """Gets the id of this GroupAuditLogEntry. # noqa: E501 + + + :return: The id of this GroupAuditLogEntry. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this GroupAuditLogEntry. + + + :param id: The id of this GroupAuditLogEntry. # noqa: E501 + :type id: str + """ + if (self.local_vars_configuration.client_side_validation and + id is not None and not re.search(r'gaud_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', id)): # noqa: E501 + raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/gaud_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + + self._id = id + + @property + def created_at(self): + """Gets the created_at of this GroupAuditLogEntry. # noqa: E501 + + + :return: The created_at of this GroupAuditLogEntry. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this GroupAuditLogEntry. + + + :param created_at: The created_at of this GroupAuditLogEntry. # noqa: E501 + :type created_at: datetime + """ + + self._created_at = created_at + + @property + def group_id(self): + """Gets the group_id of this GroupAuditLogEntry. # noqa: E501 + + + :return: The group_id of this GroupAuditLogEntry. # noqa: E501 + :rtype: str + """ + return self._group_id + + @group_id.setter + def group_id(self, group_id): + """Sets the group_id of this GroupAuditLogEntry. + + + :param group_id: The group_id of this GroupAuditLogEntry. # noqa: E501 + :type group_id: str + """ + if (self.local_vars_configuration.client_side_validation and + group_id is not None and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', group_id)): # noqa: E501 + raise ValueError(r"Invalid value for `group_id`, must be a follow pattern or equal to `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + + self._group_id = group_id + + @property + def actor_id(self): + """Gets the actor_id of this GroupAuditLogEntry. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The actor_id of this GroupAuditLogEntry. # noqa: E501 + :rtype: str + """ + return self._actor_id + + @actor_id.setter + def actor_id(self, actor_id): + """Sets the actor_id of this GroupAuditLogEntry. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param actor_id: The actor_id of this GroupAuditLogEntry. # noqa: E501 + :type actor_id: str + """ + + self._actor_id = actor_id + + @property + def actor_displayname(self): + """Gets the actor_displayname of this GroupAuditLogEntry. # noqa: E501 + + + :return: The actor_displayname of this GroupAuditLogEntry. # noqa: E501 + :rtype: str + """ + return self._actor_displayname + + @actor_displayname.setter + def actor_displayname(self, actor_displayname): + """Sets the actor_displayname of this GroupAuditLogEntry. + + + :param actor_displayname: The actor_displayname of this GroupAuditLogEntry. # noqa: E501 + :type actor_displayname: str + """ + + self._actor_displayname = actor_displayname + + @property + def target_id(self): + """Gets the target_id of this GroupAuditLogEntry. # noqa: E501 + + Typically GroupID or GroupRoleID, but could be other types of IDs. # noqa: E501 + + :return: The target_id of this GroupAuditLogEntry. # noqa: E501 + :rtype: str + """ + return self._target_id + + @target_id.setter + def target_id(self, target_id): + """Sets the target_id of this GroupAuditLogEntry. + + Typically GroupID or GroupRoleID, but could be other types of IDs. # noqa: E501 + + :param target_id: The target_id of this GroupAuditLogEntry. # noqa: E501 + :type target_id: str + """ + + self._target_id = target_id + + @property + def event_type(self): + """Gets the event_type of this GroupAuditLogEntry. # noqa: E501 + + The type of event that occurred. This is a string that is prefixed with the type of object that the event occurred on. For example, a group role update event would be prefixed with `group.role`. # noqa: E501 + + :return: The event_type of this GroupAuditLogEntry. # noqa: E501 + :rtype: str + """ + return self._event_type + + @event_type.setter + def event_type(self, event_type): + """Sets the event_type of this GroupAuditLogEntry. + + The type of event that occurred. This is a string that is prefixed with the type of object that the event occurred on. For example, a group role update event would be prefixed with `group.role`. # noqa: E501 + + :param event_type: The event_type of this GroupAuditLogEntry. # noqa: E501 + :type event_type: str + """ + + self._event_type = event_type + + @property + def description(self): + """Gets the description of this GroupAuditLogEntry. # noqa: E501 + + A human-readable description of the event. # noqa: E501 + + :return: The description of this GroupAuditLogEntry. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this GroupAuditLogEntry. + + A human-readable description of the event. # noqa: E501 + + :param description: The description of this GroupAuditLogEntry. # noqa: E501 + :type description: str + """ + + self._description = description + + @property + def data(self): + """Gets the data of this GroupAuditLogEntry. # noqa: E501 + + The data associated with the event. The format of this data is dependent on the event type. # noqa: E501 + + :return: The data of this GroupAuditLogEntry. # noqa: E501 + :rtype: object + """ + return self._data + + @data.setter + def data(self, data): + """Sets the data of this GroupAuditLogEntry. + + The data associated with the event. The format of this data is dependent on the event type. # noqa: E501 + + :param data: The data of this GroupAuditLogEntry. # noqa: E501 + :type data: object + """ + + self._data = data + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GroupAuditLogEntry): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GroupAuditLogEntry): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py new file mode 100644 index 00000000..0aa4b6e3 --- /dev/null +++ b/vrchatapi/models/group_gallery.py @@ -0,0 +1,376 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class GroupGallery(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'id': 'str', + 'name': 'str', + 'description': 'str', + 'members_only': 'bool', + 'role_ids_to_view': 'list[str]', + 'role_ids_to_submit': 'list[str]', + 'role_ids_to_auto_approve': 'list[str]', + 'role_ids_to_manage': 'list[str]', + 'created_at': 'datetime', + 'updated_at': 'datetime' + } + + attribute_map = { + 'id': 'id', + 'name': 'name', + 'description': 'description', + 'members_only': 'membersOnly', + 'role_ids_to_view': 'roleIdsToView', + 'role_ids_to_submit': 'roleIdsToSubmit', + 'role_ids_to_auto_approve': 'roleIdsToAutoApprove', + 'role_ids_to_manage': 'roleIdsToManage', + 'created_at': 'createdAt', + 'updated_at': 'updatedAt' + } + + def __init__(self, id=None, name=None, description=None, members_only=False, role_ids_to_view=None, role_ids_to_submit=None, role_ids_to_auto_approve=None, role_ids_to_manage=None, created_at=None, updated_at=None, local_vars_configuration=None): # noqa: E501 + """GroupGallery - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._id = None + self._name = None + self._description = None + self._members_only = None + self._role_ids_to_view = None + self._role_ids_to_submit = None + self._role_ids_to_auto_approve = None + self._role_ids_to_manage = None + self._created_at = None + self._updated_at = None + self.discriminator = None + + if id is not None: + self.id = id + if name is not None: + self.name = name + if description is not None: + self.description = description + if members_only is not None: + self.members_only = members_only + self.role_ids_to_view = role_ids_to_view + self.role_ids_to_submit = role_ids_to_submit + self.role_ids_to_auto_approve = role_ids_to_auto_approve + self.role_ids_to_manage = role_ids_to_manage + if created_at is not None: + self.created_at = created_at + if updated_at is not None: + self.updated_at = updated_at + + @property + def id(self): + """Gets the id of this GroupGallery. # noqa: E501 + + + :return: The id of this GroupGallery. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this GroupGallery. + + + :param id: The id of this GroupGallery. # noqa: E501 + :type id: str + """ + if (self.local_vars_configuration.client_side_validation and + id is not None and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', id)): # noqa: E501 + raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + + self._id = id + + @property + def name(self): + """Gets the name of this GroupGallery. # noqa: E501 + + Name of the gallery. # noqa: E501 + + :return: The name of this GroupGallery. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this GroupGallery. + + Name of the gallery. # noqa: E501 + + :param name: The name of this GroupGallery. # noqa: E501 + :type name: str + """ + if (self.local_vars_configuration.client_side_validation and + name is not None and len(name) < 1): + raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 + + self._name = name + + @property + def description(self): + """Gets the description of this GroupGallery. # noqa: E501 + + Description of the gallery. # noqa: E501 + + :return: The description of this GroupGallery. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this GroupGallery. + + Description of the gallery. # noqa: E501 + + :param description: The description of this GroupGallery. # noqa: E501 + :type description: str + """ + if (self.local_vars_configuration.client_side_validation and + description is not None and len(description) < 0): + raise ValueError("Invalid value for `description`, length must be greater than or equal to `0`") # noqa: E501 + + self._description = description + + @property + def members_only(self): + """Gets the members_only of this GroupGallery. # noqa: E501 + + Whether the gallery is members only. # noqa: E501 + + :return: The members_only of this GroupGallery. # noqa: E501 + :rtype: bool + """ + return self._members_only + + @members_only.setter + def members_only(self, members_only): + """Sets the members_only of this GroupGallery. + + Whether the gallery is members only. # noqa: E501 + + :param members_only: The members_only of this GroupGallery. # noqa: E501 + :type members_only: bool + """ + + self._members_only = members_only + + @property + def role_ids_to_view(self): + """Gets the role_ids_to_view of this GroupGallery. # noqa: E501 + + + :return: The role_ids_to_view of this GroupGallery. # noqa: E501 + :rtype: list[str] + """ + return self._role_ids_to_view + + @role_ids_to_view.setter + def role_ids_to_view(self, role_ids_to_view): + """Sets the role_ids_to_view of this GroupGallery. + + + :param role_ids_to_view: The role_ids_to_view of this GroupGallery. # noqa: E501 + :type role_ids_to_view: list[str] + """ + + self._role_ids_to_view = role_ids_to_view + + @property + def role_ids_to_submit(self): + """Gets the role_ids_to_submit of this GroupGallery. # noqa: E501 + + + :return: The role_ids_to_submit of this GroupGallery. # noqa: E501 + :rtype: list[str] + """ + return self._role_ids_to_submit + + @role_ids_to_submit.setter + def role_ids_to_submit(self, role_ids_to_submit): + """Sets the role_ids_to_submit of this GroupGallery. + + + :param role_ids_to_submit: The role_ids_to_submit of this GroupGallery. # noqa: E501 + :type role_ids_to_submit: list[str] + """ + + self._role_ids_to_submit = role_ids_to_submit + + @property + def role_ids_to_auto_approve(self): + """Gets the role_ids_to_auto_approve of this GroupGallery. # noqa: E501 + + + :return: The role_ids_to_auto_approve of this GroupGallery. # noqa: E501 + :rtype: list[str] + """ + return self._role_ids_to_auto_approve + + @role_ids_to_auto_approve.setter + def role_ids_to_auto_approve(self, role_ids_to_auto_approve): + """Sets the role_ids_to_auto_approve of this GroupGallery. + + + :param role_ids_to_auto_approve: The role_ids_to_auto_approve of this GroupGallery. # noqa: E501 + :type role_ids_to_auto_approve: list[str] + """ + + self._role_ids_to_auto_approve = role_ids_to_auto_approve + + @property + def role_ids_to_manage(self): + """Gets the role_ids_to_manage of this GroupGallery. # noqa: E501 + + + :return: The role_ids_to_manage of this GroupGallery. # noqa: E501 + :rtype: list[str] + """ + return self._role_ids_to_manage + + @role_ids_to_manage.setter + def role_ids_to_manage(self, role_ids_to_manage): + """Sets the role_ids_to_manage of this GroupGallery. + + + :param role_ids_to_manage: The role_ids_to_manage of this GroupGallery. # noqa: E501 + :type role_ids_to_manage: list[str] + """ + + self._role_ids_to_manage = role_ids_to_manage + + @property + def created_at(self): + """Gets the created_at of this GroupGallery. # noqa: E501 + + + :return: The created_at of this GroupGallery. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this GroupGallery. + + + :param created_at: The created_at of this GroupGallery. # noqa: E501 + :type created_at: datetime + """ + + self._created_at = created_at + + @property + def updated_at(self): + """Gets the updated_at of this GroupGallery. # noqa: E501 + + + :return: The updated_at of this GroupGallery. # noqa: E501 + :rtype: datetime + """ + return self._updated_at + + @updated_at.setter + def updated_at(self, updated_at): + """Sets the updated_at of this GroupGallery. + + + :param updated_at: The updated_at of this GroupGallery. # noqa: E501 + :type updated_at: datetime + """ + + self._updated_at = updated_at + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GroupGallery): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GroupGallery): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py new file mode 100644 index 00000000..43da0a61 --- /dev/null +++ b/vrchatapi/models/group_gallery_image.py @@ -0,0 +1,381 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class GroupGalleryImage(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'id': 'str', + 'group_id': 'str', + 'gallery_id': 'str', + 'file_id': 'str', + 'image_url': 'str', + 'created_at': 'datetime', + 'submitted_by_user_id': 'str', + 'approved': 'bool', + 'approved_by_user_id': 'str', + 'approved_at': 'datetime' + } + + attribute_map = { + 'id': 'id', + 'group_id': 'groupId', + 'gallery_id': 'galleryId', + 'file_id': 'fileId', + 'image_url': 'imageUrl', + 'created_at': 'createdAt', + 'submitted_by_user_id': 'submittedByUserId', + 'approved': 'approved', + 'approved_by_user_id': 'approvedByUserId', + 'approved_at': 'approvedAt' + } + + def __init__(self, id=None, group_id=None, gallery_id=None, file_id=None, image_url=None, created_at=None, submitted_by_user_id=None, approved=False, approved_by_user_id=None, approved_at=None, local_vars_configuration=None): # noqa: E501 + """GroupGalleryImage - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._id = None + self._group_id = None + self._gallery_id = None + self._file_id = None + self._image_url = None + self._created_at = None + self._submitted_by_user_id = None + self._approved = None + self._approved_by_user_id = None + self._approved_at = None + self.discriminator = None + + if id is not None: + self.id = id + if group_id is not None: + self.group_id = group_id + if gallery_id is not None: + self.gallery_id = gallery_id + if file_id is not None: + self.file_id = file_id + if image_url is not None: + self.image_url = image_url + if created_at is not None: + self.created_at = created_at + if submitted_by_user_id is not None: + self.submitted_by_user_id = submitted_by_user_id + if approved is not None: + self.approved = approved + if approved_by_user_id is not None: + self.approved_by_user_id = approved_by_user_id + if approved_at is not None: + self.approved_at = approved_at + + @property + def id(self): + """Gets the id of this GroupGalleryImage. # noqa: E501 + + + :return: The id of this GroupGalleryImage. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this GroupGalleryImage. + + + :param id: The id of this GroupGalleryImage. # noqa: E501 + :type id: str + """ + if (self.local_vars_configuration.client_side_validation and + id is not None and not re.search(r'ggim_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', id)): # noqa: E501 + raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/ggim_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + + self._id = id + + @property + def group_id(self): + """Gets the group_id of this GroupGalleryImage. # noqa: E501 + + + :return: The group_id of this GroupGalleryImage. # noqa: E501 + :rtype: str + """ + return self._group_id + + @group_id.setter + def group_id(self, group_id): + """Sets the group_id of this GroupGalleryImage. + + + :param group_id: The group_id of this GroupGalleryImage. # noqa: E501 + :type group_id: str + """ + if (self.local_vars_configuration.client_side_validation and + group_id is not None and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', group_id)): # noqa: E501 + raise ValueError(r"Invalid value for `group_id`, must be a follow pattern or equal to `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + + self._group_id = group_id + + @property + def gallery_id(self): + """Gets the gallery_id of this GroupGalleryImage. # noqa: E501 + + + :return: The gallery_id of this GroupGalleryImage. # noqa: E501 + :rtype: str + """ + return self._gallery_id + + @gallery_id.setter + def gallery_id(self, gallery_id): + """Sets the gallery_id of this GroupGalleryImage. + + + :param gallery_id: The gallery_id of this GroupGalleryImage. # noqa: E501 + :type gallery_id: str + """ + if (self.local_vars_configuration.client_side_validation and + gallery_id is not None and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', gallery_id)): # noqa: E501 + raise ValueError(r"Invalid value for `gallery_id`, must be a follow pattern or equal to `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + + self._gallery_id = gallery_id + + @property + def file_id(self): + """Gets the file_id of this GroupGalleryImage. # noqa: E501 + + + :return: The file_id of this GroupGalleryImage. # noqa: E501 + :rtype: str + """ + return self._file_id + + @file_id.setter + def file_id(self, file_id): + """Sets the file_id of this GroupGalleryImage. + + + :param file_id: The file_id of this GroupGalleryImage. # noqa: E501 + :type file_id: str + """ + if (self.local_vars_configuration.client_side_validation and + file_id is not None and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', file_id)): # noqa: E501 + raise ValueError(r"Invalid value for `file_id`, must be a follow pattern or equal to `/file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + + self._file_id = file_id + + @property + def image_url(self): + """Gets the image_url of this GroupGalleryImage. # noqa: E501 + + + :return: The image_url of this GroupGalleryImage. # noqa: E501 + :rtype: str + """ + return self._image_url + + @image_url.setter + def image_url(self, image_url): + """Sets the image_url of this GroupGalleryImage. + + + :param image_url: The image_url of this GroupGalleryImage. # noqa: E501 + :type image_url: str + """ + + self._image_url = image_url + + @property + def created_at(self): + """Gets the created_at of this GroupGalleryImage. # noqa: E501 + + + :return: The created_at of this GroupGalleryImage. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this GroupGalleryImage. + + + :param created_at: The created_at of this GroupGalleryImage. # noqa: E501 + :type created_at: datetime + """ + + self._created_at = created_at + + @property + def submitted_by_user_id(self): + """Gets the submitted_by_user_id of this GroupGalleryImage. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The submitted_by_user_id of this GroupGalleryImage. # noqa: E501 + :rtype: str + """ + return self._submitted_by_user_id + + @submitted_by_user_id.setter + def submitted_by_user_id(self, submitted_by_user_id): + """Sets the submitted_by_user_id of this GroupGalleryImage. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param submitted_by_user_id: The submitted_by_user_id of this GroupGalleryImage. # noqa: E501 + :type submitted_by_user_id: str + """ + + self._submitted_by_user_id = submitted_by_user_id + + @property + def approved(self): + """Gets the approved of this GroupGalleryImage. # noqa: E501 + + + :return: The approved of this GroupGalleryImage. # noqa: E501 + :rtype: bool + """ + return self._approved + + @approved.setter + def approved(self, approved): + """Sets the approved of this GroupGalleryImage. + + + :param approved: The approved of this GroupGalleryImage. # noqa: E501 + :type approved: bool + """ + + self._approved = approved + + @property + def approved_by_user_id(self): + """Gets the approved_by_user_id of this GroupGalleryImage. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The approved_by_user_id of this GroupGalleryImage. # noqa: E501 + :rtype: str + """ + return self._approved_by_user_id + + @approved_by_user_id.setter + def approved_by_user_id(self, approved_by_user_id): + """Sets the approved_by_user_id of this GroupGalleryImage. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param approved_by_user_id: The approved_by_user_id of this GroupGalleryImage. # noqa: E501 + :type approved_by_user_id: str + """ + + self._approved_by_user_id = approved_by_user_id + + @property + def approved_at(self): + """Gets the approved_at of this GroupGalleryImage. # noqa: E501 + + + :return: The approved_at of this GroupGalleryImage. # noqa: E501 + :rtype: datetime + """ + return self._approved_at + + @approved_at.setter + def approved_at(self, approved_at): + """Sets the approved_at of this GroupGalleryImage. + + + :param approved_at: The approved_at of this GroupGalleryImage. # noqa: E501 + :type approved_at: datetime + """ + + self._approved_at = approved_at + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GroupGalleryImage): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GroupGalleryImage): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py new file mode 100644 index 00000000..b05f3363 --- /dev/null +++ b/vrchatapi/models/group_join_state.py @@ -0,0 +1,113 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class GroupJoinState(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + CLOSED = "closed" + INVITE = "invite" + REQUEST = "request" + OPEN = "open" + + allowable_values = [CLOSED, INVITE, REQUEST, OPEN] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """GroupJoinState - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GroupJoinState): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GroupJoinState): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py new file mode 100644 index 00000000..8eae808a --- /dev/null +++ b/vrchatapi/models/group_limited_member.py @@ -0,0 +1,217 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class GroupLimitedMember(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'id': 'str', + 'group_id': 'str', + 'user_id': 'str', + 'is_representing': 'bool' + } + + attribute_map = { + 'id': 'id', + 'group_id': 'groupId', + 'user_id': 'userId', + 'is_representing': 'isRepresenting' + } + + def __init__(self, id=None, group_id=None, user_id=None, is_representing=False, local_vars_configuration=None): # noqa: E501 + """GroupLimitedMember - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._id = None + self._group_id = None + self._user_id = None + self._is_representing = None + self.discriminator = None + + if id is not None: + self.id = id + if group_id is not None: + self.group_id = group_id + if user_id is not None: + self.user_id = user_id + if is_representing is not None: + self.is_representing = is_representing + + @property + def id(self): + """Gets the id of this GroupLimitedMember. # noqa: E501 + + + :return: The id of this GroupLimitedMember. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this GroupLimitedMember. + + + :param id: The id of this GroupLimitedMember. # noqa: E501 + :type id: str + """ + if (self.local_vars_configuration.client_side_validation and + id is not None and not re.search(r'gmem_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', id)): # noqa: E501 + raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/gmem_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + + self._id = id + + @property + def group_id(self): + """Gets the group_id of this GroupLimitedMember. # noqa: E501 + + + :return: The group_id of this GroupLimitedMember. # noqa: E501 + :rtype: str + """ + return self._group_id + + @group_id.setter + def group_id(self, group_id): + """Sets the group_id of this GroupLimitedMember. + + + :param group_id: The group_id of this GroupLimitedMember. # noqa: E501 + :type group_id: str + """ + if (self.local_vars_configuration.client_side_validation and + group_id is not None and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', group_id)): # noqa: E501 + raise ValueError(r"Invalid value for `group_id`, must be a follow pattern or equal to `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + + self._group_id = group_id + + @property + def user_id(self): + """Gets the user_id of this GroupLimitedMember. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The user_id of this GroupLimitedMember. # noqa: E501 + :rtype: str + """ + return self._user_id + + @user_id.setter + def user_id(self, user_id): + """Sets the user_id of this GroupLimitedMember. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param user_id: The user_id of this GroupLimitedMember. # noqa: E501 + :type user_id: str + """ + + self._user_id = user_id + + @property + def is_representing(self): + """Gets the is_representing of this GroupLimitedMember. # noqa: E501 + + + :return: The is_representing of this GroupLimitedMember. # noqa: E501 + :rtype: bool + """ + return self._is_representing + + @is_representing.setter + def is_representing(self, is_representing): + """Sets the is_representing of this GroupLimitedMember. + + + :param is_representing: The is_representing of this GroupLimitedMember. # noqa: E501 + :type is_representing: bool + """ + + self._is_representing = is_representing + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GroupLimitedMember): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GroupLimitedMember): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py new file mode 100644 index 00000000..c01f1cd0 --- /dev/null +++ b/vrchatapi/models/group_member.py @@ -0,0 +1,456 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class GroupMember(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'id': 'str', + 'group_id': 'str', + 'user_id': 'str', + 'is_representing': 'bool', + 'user': 'GroupMemberLimitedUser', + 'role_ids': 'list[str]', + 'joined_at': 'datetime', + 'membership_status': 'str', + 'visibility': 'str', + 'is_subscribed_to_announcements': 'bool', + 'created_at': 'datetime', + 'banned_at': 'datetime', + 'manager_notes': 'str' + } + + attribute_map = { + 'id': 'id', + 'group_id': 'groupId', + 'user_id': 'userId', + 'is_representing': 'isRepresenting', + 'user': 'user', + 'role_ids': 'roleIds', + 'joined_at': 'joinedAt', + 'membership_status': 'membershipStatus', + 'visibility': 'visibility', + 'is_subscribed_to_announcements': 'isSubscribedToAnnouncements', + 'created_at': 'createdAt', + 'banned_at': 'bannedAt', + 'manager_notes': 'managerNotes' + } + + def __init__(self, id=None, group_id=None, user_id=None, is_representing=False, user=None, role_ids=None, joined_at=None, membership_status=None, visibility=None, is_subscribed_to_announcements=False, created_at=None, banned_at=None, manager_notes=None, local_vars_configuration=None): # noqa: E501 + """GroupMember - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._id = None + self._group_id = None + self._user_id = None + self._is_representing = None + self._user = None + self._role_ids = None + self._joined_at = None + self._membership_status = None + self._visibility = None + self._is_subscribed_to_announcements = None + self._created_at = None + self._banned_at = None + self._manager_notes = None + self.discriminator = None + + if id is not None: + self.id = id + if group_id is not None: + self.group_id = group_id + if user_id is not None: + self.user_id = user_id + if is_representing is not None: + self.is_representing = is_representing + if user is not None: + self.user = user + if role_ids is not None: + self.role_ids = role_ids + if joined_at is not None: + self.joined_at = joined_at + if membership_status is not None: + self.membership_status = membership_status + if visibility is not None: + self.visibility = visibility + if is_subscribed_to_announcements is not None: + self.is_subscribed_to_announcements = is_subscribed_to_announcements + self.created_at = created_at + self.banned_at = banned_at + self.manager_notes = manager_notes + + @property + def id(self): + """Gets the id of this GroupMember. # noqa: E501 + + + :return: The id of this GroupMember. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this GroupMember. + + + :param id: The id of this GroupMember. # noqa: E501 + :type id: str + """ + if (self.local_vars_configuration.client_side_validation and + id is not None and not re.search(r'gmem_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', id)): # noqa: E501 + raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/gmem_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + + self._id = id + + @property + def group_id(self): + """Gets the group_id of this GroupMember. # noqa: E501 + + + :return: The group_id of this GroupMember. # noqa: E501 + :rtype: str + """ + return self._group_id + + @group_id.setter + def group_id(self, group_id): + """Sets the group_id of this GroupMember. + + + :param group_id: The group_id of this GroupMember. # noqa: E501 + :type group_id: str + """ + if (self.local_vars_configuration.client_side_validation and + group_id is not None and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', group_id)): # noqa: E501 + raise ValueError(r"Invalid value for `group_id`, must be a follow pattern or equal to `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + + self._group_id = group_id + + @property + def user_id(self): + """Gets the user_id of this GroupMember. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The user_id of this GroupMember. # noqa: E501 + :rtype: str + """ + return self._user_id + + @user_id.setter + def user_id(self, user_id): + """Sets the user_id of this GroupMember. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param user_id: The user_id of this GroupMember. # noqa: E501 + :type user_id: str + """ + + self._user_id = user_id + + @property + def is_representing(self): + """Gets the is_representing of this GroupMember. # noqa: E501 + + Whether the user is representing the group. This makes the group show up above the name tag in-game. # noqa: E501 + + :return: The is_representing of this GroupMember. # noqa: E501 + :rtype: bool + """ + return self._is_representing + + @is_representing.setter + def is_representing(self, is_representing): + """Sets the is_representing of this GroupMember. + + Whether the user is representing the group. This makes the group show up above the name tag in-game. # noqa: E501 + + :param is_representing: The is_representing of this GroupMember. # noqa: E501 + :type is_representing: bool + """ + + self._is_representing = is_representing + + @property + def user(self): + """Gets the user of this GroupMember. # noqa: E501 + + + :return: The user of this GroupMember. # noqa: E501 + :rtype: GroupMemberLimitedUser + """ + return self._user + + @user.setter + def user(self, user): + """Sets the user of this GroupMember. + + + :param user: The user of this GroupMember. # noqa: E501 + :type user: GroupMemberLimitedUser + """ + + self._user = user + + @property + def role_ids(self): + """Gets the role_ids of this GroupMember. # noqa: E501 + + + :return: The role_ids of this GroupMember. # noqa: E501 + :rtype: list[str] + """ + return self._role_ids + + @role_ids.setter + def role_ids(self, role_ids): + """Sets the role_ids of this GroupMember. + + + :param role_ids: The role_ids of this GroupMember. # noqa: E501 + :type role_ids: list[str] + """ + + self._role_ids = role_ids + + @property + def joined_at(self): + """Gets the joined_at of this GroupMember. # noqa: E501 + + + :return: The joined_at of this GroupMember. # noqa: E501 + :rtype: datetime + """ + return self._joined_at + + @joined_at.setter + def joined_at(self, joined_at): + """Sets the joined_at of this GroupMember. + + + :param joined_at: The joined_at of this GroupMember. # noqa: E501 + :type joined_at: datetime + """ + + self._joined_at = joined_at + + @property + def membership_status(self): + """Gets the membership_status of this GroupMember. # noqa: E501 + + + :return: The membership_status of this GroupMember. # noqa: E501 + :rtype: str + """ + return self._membership_status + + @membership_status.setter + def membership_status(self, membership_status): + """Sets the membership_status of this GroupMember. + + + :param membership_status: The membership_status of this GroupMember. # noqa: E501 + :type membership_status: str + """ + + self._membership_status = membership_status + + @property + def visibility(self): + """Gets the visibility of this GroupMember. # noqa: E501 + + + :return: The visibility of this GroupMember. # noqa: E501 + :rtype: str + """ + return self._visibility + + @visibility.setter + def visibility(self, visibility): + """Sets the visibility of this GroupMember. + + + :param visibility: The visibility of this GroupMember. # noqa: E501 + :type visibility: str + """ + + self._visibility = visibility + + @property + def is_subscribed_to_announcements(self): + """Gets the is_subscribed_to_announcements of this GroupMember. # noqa: E501 + + + :return: The is_subscribed_to_announcements of this GroupMember. # noqa: E501 + :rtype: bool + """ + return self._is_subscribed_to_announcements + + @is_subscribed_to_announcements.setter + def is_subscribed_to_announcements(self, is_subscribed_to_announcements): + """Sets the is_subscribed_to_announcements of this GroupMember. + + + :param is_subscribed_to_announcements: The is_subscribed_to_announcements of this GroupMember. # noqa: E501 + :type is_subscribed_to_announcements: bool + """ + + self._is_subscribed_to_announcements = is_subscribed_to_announcements + + @property + def created_at(self): + """Gets the created_at of this GroupMember. # noqa: E501 + + Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 + + :return: The created_at of this GroupMember. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this GroupMember. + + Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 + + :param created_at: The created_at of this GroupMember. # noqa: E501 + :type created_at: datetime + """ + + self._created_at = created_at + + @property + def banned_at(self): + """Gets the banned_at of this GroupMember. # noqa: E501 + + Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 + + :return: The banned_at of this GroupMember. # noqa: E501 + :rtype: datetime + """ + return self._banned_at + + @banned_at.setter + def banned_at(self, banned_at): + """Sets the banned_at of this GroupMember. + + Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 + + :param banned_at: The banned_at of this GroupMember. # noqa: E501 + :type banned_at: datetime + """ + + self._banned_at = banned_at + + @property + def manager_notes(self): + """Gets the manager_notes of this GroupMember. # noqa: E501 + + Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 + + :return: The manager_notes of this GroupMember. # noqa: E501 + :rtype: str + """ + return self._manager_notes + + @manager_notes.setter + def manager_notes(self, manager_notes): + """Sets the manager_notes of this GroupMember. + + Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 + + :param manager_notes: The manager_notes of this GroupMember. # noqa: E501 + :type manager_notes: str + """ + + self._manager_notes = manager_notes + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GroupMember): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GroupMember): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py new file mode 100644 index 00000000..498fb45d --- /dev/null +++ b/vrchatapi/models/group_member_limited_user.py @@ -0,0 +1,211 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class GroupMemberLimitedUser(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'id': 'str', + 'display_name': 'str', + 'thumbnail_url': 'str', + 'icon_url': 'str' + } + + attribute_map = { + 'id': 'id', + 'display_name': 'displayName', + 'thumbnail_url': 'thumbnailUrl', + 'icon_url': 'iconUrl' + } + + def __init__(self, id=None, display_name=None, thumbnail_url=None, icon_url=None, local_vars_configuration=None): # noqa: E501 + """GroupMemberLimitedUser - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._id = None + self._display_name = None + self._thumbnail_url = None + self._icon_url = None + self.discriminator = None + + if id is not None: + self.id = id + if display_name is not None: + self.display_name = display_name + if thumbnail_url is not None: + self.thumbnail_url = thumbnail_url + if icon_url is not None: + self.icon_url = icon_url + + @property + def id(self): + """Gets the id of this GroupMemberLimitedUser. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The id of this GroupMemberLimitedUser. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this GroupMemberLimitedUser. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param id: The id of this GroupMemberLimitedUser. # noqa: E501 + :type id: str + """ + + self._id = id + + @property + def display_name(self): + """Gets the display_name of this GroupMemberLimitedUser. # noqa: E501 + + + :return: The display_name of this GroupMemberLimitedUser. # noqa: E501 + :rtype: str + """ + return self._display_name + + @display_name.setter + def display_name(self, display_name): + """Sets the display_name of this GroupMemberLimitedUser. + + + :param display_name: The display_name of this GroupMemberLimitedUser. # noqa: E501 + :type display_name: str + """ + + self._display_name = display_name + + @property + def thumbnail_url(self): + """Gets the thumbnail_url of this GroupMemberLimitedUser. # noqa: E501 + + + :return: The thumbnail_url of this GroupMemberLimitedUser. # noqa: E501 + :rtype: str + """ + return self._thumbnail_url + + @thumbnail_url.setter + def thumbnail_url(self, thumbnail_url): + """Sets the thumbnail_url of this GroupMemberLimitedUser. + + + :param thumbnail_url: The thumbnail_url of this GroupMemberLimitedUser. # noqa: E501 + :type thumbnail_url: str + """ + + self._thumbnail_url = thumbnail_url + + @property + def icon_url(self): + """Gets the icon_url of this GroupMemberLimitedUser. # noqa: E501 + + + :return: The icon_url of this GroupMemberLimitedUser. # noqa: E501 + :rtype: str + """ + return self._icon_url + + @icon_url.setter + def icon_url(self, icon_url): + """Sets the icon_url of this GroupMemberLimitedUser. + + + :param icon_url: The icon_url of this GroupMemberLimitedUser. # noqa: E501 + :type icon_url: str + """ + + self._icon_url = icon_url + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GroupMemberLimitedUser): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GroupMemberLimitedUser): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py new file mode 100644 index 00000000..6b4f4347 --- /dev/null +++ b/vrchatapi/models/group_member_status.py @@ -0,0 +1,113 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class GroupMemberStatus(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + INACTIVE = "inactive" + MEMBER = "member" + REQUESTED = "requested" + INVITED = "invited" + + allowable_values = [INACTIVE, MEMBER, REQUESTED, INVITED] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """GroupMemberStatus - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GroupMemberStatus): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GroupMemberStatus): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py new file mode 100644 index 00000000..52a87551 --- /dev/null +++ b/vrchatapi/models/group_my_member.py @@ -0,0 +1,450 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class GroupMyMember(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'id': 'str', + 'group_id': 'str', + 'user_id': 'str', + 'role_ids': 'list[str]', + 'manager_notes': 'str', + 'membership_status': 'str', + 'is_subscribed_to_announcements': 'bool', + 'visibility': 'str', + 'is_representing': 'bool', + 'joined_at': 'datetime', + 'banned_at': 'str', + 'has2_fa': 'bool', + 'permissions': 'list[str]' + } + + attribute_map = { + 'id': 'id', + 'group_id': 'groupId', + 'user_id': 'userId', + 'role_ids': 'roleIds', + 'manager_notes': 'managerNotes', + 'membership_status': 'membershipStatus', + 'is_subscribed_to_announcements': 'isSubscribedToAnnouncements', + 'visibility': 'visibility', + 'is_representing': 'isRepresenting', + 'joined_at': 'joinedAt', + 'banned_at': 'bannedAt', + 'has2_fa': 'has2FA', + 'permissions': 'permissions' + } + + def __init__(self, id=None, group_id=None, user_id=None, role_ids=None, manager_notes=None, membership_status=None, is_subscribed_to_announcements=True, visibility=None, is_representing=False, joined_at=None, banned_at=None, has2_fa=False, permissions=None, local_vars_configuration=None): # noqa: E501 + """GroupMyMember - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._id = None + self._group_id = None + self._user_id = None + self._role_ids = None + self._manager_notes = None + self._membership_status = None + self._is_subscribed_to_announcements = None + self._visibility = None + self._is_representing = None + self._joined_at = None + self._banned_at = None + self._has2_fa = None + self._permissions = None + self.discriminator = None + + if id is not None: + self.id = id + if group_id is not None: + self.group_id = group_id + if user_id is not None: + self.user_id = user_id + if role_ids is not None: + self.role_ids = role_ids + if manager_notes is not None: + self.manager_notes = manager_notes + if membership_status is not None: + self.membership_status = membership_status + if is_subscribed_to_announcements is not None: + self.is_subscribed_to_announcements = is_subscribed_to_announcements + if visibility is not None: + self.visibility = visibility + if is_representing is not None: + self.is_representing = is_representing + if joined_at is not None: + self.joined_at = joined_at + self.banned_at = banned_at + if has2_fa is not None: + self.has2_fa = has2_fa + if permissions is not None: + self.permissions = permissions + + @property + def id(self): + """Gets the id of this GroupMyMember. # noqa: E501 + + + :return: The id of this GroupMyMember. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this GroupMyMember. + + + :param id: The id of this GroupMyMember. # noqa: E501 + :type id: str + """ + if (self.local_vars_configuration.client_side_validation and + id is not None and not re.search(r'gmem_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', id)): # noqa: E501 + raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/gmem_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + + self._id = id + + @property + def group_id(self): + """Gets the group_id of this GroupMyMember. # noqa: E501 + + + :return: The group_id of this GroupMyMember. # noqa: E501 + :rtype: str + """ + return self._group_id + + @group_id.setter + def group_id(self, group_id): + """Sets the group_id of this GroupMyMember. + + + :param group_id: The group_id of this GroupMyMember. # noqa: E501 + :type group_id: str + """ + if (self.local_vars_configuration.client_side_validation and + group_id is not None and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', group_id)): # noqa: E501 + raise ValueError(r"Invalid value for `group_id`, must be a follow pattern or equal to `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + + self._group_id = group_id + + @property + def user_id(self): + """Gets the user_id of this GroupMyMember. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The user_id of this GroupMyMember. # noqa: E501 + :rtype: str + """ + return self._user_id + + @user_id.setter + def user_id(self, user_id): + """Sets the user_id of this GroupMyMember. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param user_id: The user_id of this GroupMyMember. # noqa: E501 + :type user_id: str + """ + + self._user_id = user_id + + @property + def role_ids(self): + """Gets the role_ids of this GroupMyMember. # noqa: E501 + + + :return: The role_ids of this GroupMyMember. # noqa: E501 + :rtype: list[str] + """ + return self._role_ids + + @role_ids.setter + def role_ids(self, role_ids): + """Sets the role_ids of this GroupMyMember. + + + :param role_ids: The role_ids of this GroupMyMember. # noqa: E501 + :type role_ids: list[str] + """ + + self._role_ids = role_ids + + @property + def manager_notes(self): + """Gets the manager_notes of this GroupMyMember. # noqa: E501 + + + :return: The manager_notes of this GroupMyMember. # noqa: E501 + :rtype: str + """ + return self._manager_notes + + @manager_notes.setter + def manager_notes(self, manager_notes): + """Sets the manager_notes of this GroupMyMember. + + + :param manager_notes: The manager_notes of this GroupMyMember. # noqa: E501 + :type manager_notes: str + """ + + self._manager_notes = manager_notes + + @property + def membership_status(self): + """Gets the membership_status of this GroupMyMember. # noqa: E501 + + + :return: The membership_status of this GroupMyMember. # noqa: E501 + :rtype: str + """ + return self._membership_status + + @membership_status.setter + def membership_status(self, membership_status): + """Sets the membership_status of this GroupMyMember. + + + :param membership_status: The membership_status of this GroupMyMember. # noqa: E501 + :type membership_status: str + """ + + self._membership_status = membership_status + + @property + def is_subscribed_to_announcements(self): + """Gets the is_subscribed_to_announcements of this GroupMyMember. # noqa: E501 + + + :return: The is_subscribed_to_announcements of this GroupMyMember. # noqa: E501 + :rtype: bool + """ + return self._is_subscribed_to_announcements + + @is_subscribed_to_announcements.setter + def is_subscribed_to_announcements(self, is_subscribed_to_announcements): + """Sets the is_subscribed_to_announcements of this GroupMyMember. + + + :param is_subscribed_to_announcements: The is_subscribed_to_announcements of this GroupMyMember. # noqa: E501 + :type is_subscribed_to_announcements: bool + """ + + self._is_subscribed_to_announcements = is_subscribed_to_announcements + + @property + def visibility(self): + """Gets the visibility of this GroupMyMember. # noqa: E501 + + + :return: The visibility of this GroupMyMember. # noqa: E501 + :rtype: str + """ + return self._visibility + + @visibility.setter + def visibility(self, visibility): + """Sets the visibility of this GroupMyMember. + + + :param visibility: The visibility of this GroupMyMember. # noqa: E501 + :type visibility: str + """ + + self._visibility = visibility + + @property + def is_representing(self): + """Gets the is_representing of this GroupMyMember. # noqa: E501 + + + :return: The is_representing of this GroupMyMember. # noqa: E501 + :rtype: bool + """ + return self._is_representing + + @is_representing.setter + def is_representing(self, is_representing): + """Sets the is_representing of this GroupMyMember. + + + :param is_representing: The is_representing of this GroupMyMember. # noqa: E501 + :type is_representing: bool + """ + + self._is_representing = is_representing + + @property + def joined_at(self): + """Gets the joined_at of this GroupMyMember. # noqa: E501 + + + :return: The joined_at of this GroupMyMember. # noqa: E501 + :rtype: datetime + """ + return self._joined_at + + @joined_at.setter + def joined_at(self, joined_at): + """Sets the joined_at of this GroupMyMember. + + + :param joined_at: The joined_at of this GroupMyMember. # noqa: E501 + :type joined_at: datetime + """ + + self._joined_at = joined_at + + @property + def banned_at(self): + """Gets the banned_at of this GroupMyMember. # noqa: E501 + + + :return: The banned_at of this GroupMyMember. # noqa: E501 + :rtype: str + """ + return self._banned_at + + @banned_at.setter + def banned_at(self, banned_at): + """Sets the banned_at of this GroupMyMember. + + + :param banned_at: The banned_at of this GroupMyMember. # noqa: E501 + :type banned_at: str + """ + + self._banned_at = banned_at + + @property + def has2_fa(self): + """Gets the has2_fa of this GroupMyMember. # noqa: E501 + + + :return: The has2_fa of this GroupMyMember. # noqa: E501 + :rtype: bool + """ + return self._has2_fa + + @has2_fa.setter + def has2_fa(self, has2_fa): + """Sets the has2_fa of this GroupMyMember. + + + :param has2_fa: The has2_fa of this GroupMyMember. # noqa: E501 + :type has2_fa: bool + """ + + self._has2_fa = has2_fa + + @property + def permissions(self): + """Gets the permissions of this GroupMyMember. # noqa: E501 + + + :return: The permissions of this GroupMyMember. # noqa: E501 + :rtype: list[str] + """ + return self._permissions + + @permissions.setter + def permissions(self, permissions): + """Sets the permissions of this GroupMyMember. + + + :param permissions: The permissions of this GroupMyMember. # noqa: E501 + :type permissions: list[str] + """ + + self._permissions = permissions + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GroupMyMember): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GroupMyMember): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py new file mode 100644 index 00000000..42878d8e --- /dev/null +++ b/vrchatapi/models/group_permission.py @@ -0,0 +1,245 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class GroupPermission(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'name': 'str', + 'display_name': 'str', + 'help': 'str', + 'is_management_permission': 'bool', + 'allowed_to_add': 'bool' + } + + attribute_map = { + 'name': 'name', + 'display_name': 'displayName', + 'help': 'help', + 'is_management_permission': 'isManagementPermission', + 'allowed_to_add': 'allowedToAdd' + } + + def __init__(self, name=None, display_name=None, help=None, is_management_permission=False, allowed_to_add=False, local_vars_configuration=None): # noqa: E501 + """GroupPermission - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._name = None + self._display_name = None + self._help = None + self._is_management_permission = None + self._allowed_to_add = None + self.discriminator = None + + if name is not None: + self.name = name + if display_name is not None: + self.display_name = display_name + if help is not None: + self.help = help + if is_management_permission is not None: + self.is_management_permission = is_management_permission + if allowed_to_add is not None: + self.allowed_to_add = allowed_to_add + + @property + def name(self): + """Gets the name of this GroupPermission. # noqa: E501 + + The name of the permission. # noqa: E501 + + :return: The name of this GroupPermission. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this GroupPermission. + + The name of the permission. # noqa: E501 + + :param name: The name of this GroupPermission. # noqa: E501 + :type name: str + """ + + self._name = name + + @property + def display_name(self): + """Gets the display_name of this GroupPermission. # noqa: E501 + + The display name of the permission. # noqa: E501 + + :return: The display_name of this GroupPermission. # noqa: E501 + :rtype: str + """ + return self._display_name + + @display_name.setter + def display_name(self, display_name): + """Sets the display_name of this GroupPermission. + + The display name of the permission. # noqa: E501 + + :param display_name: The display_name of this GroupPermission. # noqa: E501 + :type display_name: str + """ + + self._display_name = display_name + + @property + def help(self): + """Gets the help of this GroupPermission. # noqa: E501 + + Human-readable description of the permission. # noqa: E501 + + :return: The help of this GroupPermission. # noqa: E501 + :rtype: str + """ + return self._help + + @help.setter + def help(self, help): + """Sets the help of this GroupPermission. + + Human-readable description of the permission. # noqa: E501 + + :param help: The help of this GroupPermission. # noqa: E501 + :type help: str + """ + + self._help = help + + @property + def is_management_permission(self): + """Gets the is_management_permission of this GroupPermission. # noqa: E501 + + Whether this permission is a \"management\" permission. # noqa: E501 + + :return: The is_management_permission of this GroupPermission. # noqa: E501 + :rtype: bool + """ + return self._is_management_permission + + @is_management_permission.setter + def is_management_permission(self, is_management_permission): + """Sets the is_management_permission of this GroupPermission. + + Whether this permission is a \"management\" permission. # noqa: E501 + + :param is_management_permission: The is_management_permission of this GroupPermission. # noqa: E501 + :type is_management_permission: bool + """ + + self._is_management_permission = is_management_permission + + @property + def allowed_to_add(self): + """Gets the allowed_to_add of this GroupPermission. # noqa: E501 + + Whether the user is allowed to add this permission to a role. # noqa: E501 + + :return: The allowed_to_add of this GroupPermission. # noqa: E501 + :rtype: bool + """ + return self._allowed_to_add + + @allowed_to_add.setter + def allowed_to_add(self, allowed_to_add): + """Sets the allowed_to_add of this GroupPermission. + + Whether the user is allowed to add this permission to a role. # noqa: E501 + + :param allowed_to_add: The allowed_to_add of this GroupPermission. # noqa: E501 + :type allowed_to_add: bool + """ + + self._allowed_to_add = allowed_to_add + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GroupPermission): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GroupPermission): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py new file mode 100644 index 00000000..70e9bf24 --- /dev/null +++ b/vrchatapi/models/group_privacy.py @@ -0,0 +1,111 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class GroupPrivacy(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + DEFAULT = "default" + PRIVATE = "private" + + allowable_values = [DEFAULT, PRIVATE] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """GroupPrivacy - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GroupPrivacy): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GroupPrivacy): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py new file mode 100644 index 00000000..e5438933 --- /dev/null +++ b/vrchatapi/models/group_role.py @@ -0,0 +1,423 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class GroupRole(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'id': 'str', + 'group_id': 'str', + 'name': 'str', + 'description': 'str', + 'is_self_assignable': 'bool', + 'permissions': 'list[str]', + 'is_management_role': 'bool', + 'requires_two_factor': 'bool', + 'requires_purchase': 'bool', + 'order': 'int', + 'created_at': 'datetime', + 'updated_at': 'datetime' + } + + attribute_map = { + 'id': 'id', + 'group_id': 'groupId', + 'name': 'name', + 'description': 'description', + 'is_self_assignable': 'isSelfAssignable', + 'permissions': 'permissions', + 'is_management_role': 'isManagementRole', + 'requires_two_factor': 'requiresTwoFactor', + 'requires_purchase': 'requiresPurchase', + 'order': 'order', + 'created_at': 'createdAt', + 'updated_at': 'updatedAt' + } + + def __init__(self, id=None, group_id=None, name=None, description=None, is_self_assignable=False, permissions=None, is_management_role=False, requires_two_factor=False, requires_purchase=False, order=None, created_at=None, updated_at=None, local_vars_configuration=None): # noqa: E501 + """GroupRole - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._id = None + self._group_id = None + self._name = None + self._description = None + self._is_self_assignable = None + self._permissions = None + self._is_management_role = None + self._requires_two_factor = None + self._requires_purchase = None + self._order = None + self._created_at = None + self._updated_at = None + self.discriminator = None + + if id is not None: + self.id = id + if group_id is not None: + self.group_id = group_id + if name is not None: + self.name = name + if description is not None: + self.description = description + if is_self_assignable is not None: + self.is_self_assignable = is_self_assignable + if permissions is not None: + self.permissions = permissions + if is_management_role is not None: + self.is_management_role = is_management_role + if requires_two_factor is not None: + self.requires_two_factor = requires_two_factor + if requires_purchase is not None: + self.requires_purchase = requires_purchase + if order is not None: + self.order = order + if created_at is not None: + self.created_at = created_at + if updated_at is not None: + self.updated_at = updated_at + + @property + def id(self): + """Gets the id of this GroupRole. # noqa: E501 + + + :return: The id of this GroupRole. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this GroupRole. + + + :param id: The id of this GroupRole. # noqa: E501 + :type id: str + """ + if (self.local_vars_configuration.client_side_validation and + id is not None and not re.search(r'grol_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', id)): # noqa: E501 + raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/grol_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + + self._id = id + + @property + def group_id(self): + """Gets the group_id of this GroupRole. # noqa: E501 + + + :return: The group_id of this GroupRole. # noqa: E501 + :rtype: str + """ + return self._group_id + + @group_id.setter + def group_id(self, group_id): + """Sets the group_id of this GroupRole. + + + :param group_id: The group_id of this GroupRole. # noqa: E501 + :type group_id: str + """ + if (self.local_vars_configuration.client_side_validation and + group_id is not None and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', group_id)): # noqa: E501 + raise ValueError(r"Invalid value for `group_id`, must be a follow pattern or equal to `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + + self._group_id = group_id + + @property + def name(self): + """Gets the name of this GroupRole. # noqa: E501 + + + :return: The name of this GroupRole. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this GroupRole. + + + :param name: The name of this GroupRole. # noqa: E501 + :type name: str + """ + + self._name = name + + @property + def description(self): + """Gets the description of this GroupRole. # noqa: E501 + + + :return: The description of this GroupRole. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this GroupRole. + + + :param description: The description of this GroupRole. # noqa: E501 + :type description: str + """ + + self._description = description + + @property + def is_self_assignable(self): + """Gets the is_self_assignable of this GroupRole. # noqa: E501 + + + :return: The is_self_assignable of this GroupRole. # noqa: E501 + :rtype: bool + """ + return self._is_self_assignable + + @is_self_assignable.setter + def is_self_assignable(self, is_self_assignable): + """Sets the is_self_assignable of this GroupRole. + + + :param is_self_assignable: The is_self_assignable of this GroupRole. # noqa: E501 + :type is_self_assignable: bool + """ + + self._is_self_assignable = is_self_assignable + + @property + def permissions(self): + """Gets the permissions of this GroupRole. # noqa: E501 + + + :return: The permissions of this GroupRole. # noqa: E501 + :rtype: list[str] + """ + return self._permissions + + @permissions.setter + def permissions(self, permissions): + """Sets the permissions of this GroupRole. + + + :param permissions: The permissions of this GroupRole. # noqa: E501 + :type permissions: list[str] + """ + + self._permissions = permissions + + @property + def is_management_role(self): + """Gets the is_management_role of this GroupRole. # noqa: E501 + + + :return: The is_management_role of this GroupRole. # noqa: E501 + :rtype: bool + """ + return self._is_management_role + + @is_management_role.setter + def is_management_role(self, is_management_role): + """Sets the is_management_role of this GroupRole. + + + :param is_management_role: The is_management_role of this GroupRole. # noqa: E501 + :type is_management_role: bool + """ + + self._is_management_role = is_management_role + + @property + def requires_two_factor(self): + """Gets the requires_two_factor of this GroupRole. # noqa: E501 + + + :return: The requires_two_factor of this GroupRole. # noqa: E501 + :rtype: bool + """ + return self._requires_two_factor + + @requires_two_factor.setter + def requires_two_factor(self, requires_two_factor): + """Sets the requires_two_factor of this GroupRole. + + + :param requires_two_factor: The requires_two_factor of this GroupRole. # noqa: E501 + :type requires_two_factor: bool + """ + + self._requires_two_factor = requires_two_factor + + @property + def requires_purchase(self): + """Gets the requires_purchase of this GroupRole. # noqa: E501 + + + :return: The requires_purchase of this GroupRole. # noqa: E501 + :rtype: bool + """ + return self._requires_purchase + + @requires_purchase.setter + def requires_purchase(self, requires_purchase): + """Sets the requires_purchase of this GroupRole. + + + :param requires_purchase: The requires_purchase of this GroupRole. # noqa: E501 + :type requires_purchase: bool + """ + + self._requires_purchase = requires_purchase + + @property + def order(self): + """Gets the order of this GroupRole. # noqa: E501 + + + :return: The order of this GroupRole. # noqa: E501 + :rtype: int + """ + return self._order + + @order.setter + def order(self, order): + """Sets the order of this GroupRole. + + + :param order: The order of this GroupRole. # noqa: E501 + :type order: int + """ + + self._order = order + + @property + def created_at(self): + """Gets the created_at of this GroupRole. # noqa: E501 + + + :return: The created_at of this GroupRole. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this GroupRole. + + + :param created_at: The created_at of this GroupRole. # noqa: E501 + :type created_at: datetime + """ + + self._created_at = created_at + + @property + def updated_at(self): + """Gets the updated_at of this GroupRole. # noqa: E501 + + + :return: The updated_at of this GroupRole. # noqa: E501 + :rtype: datetime + """ + return self._updated_at + + @updated_at.setter + def updated_at(self, updated_at): + """Sets the updated_at of this GroupRole. + + + :param updated_at: The updated_at of this GroupRole. # noqa: E501 + :type updated_at: datetime + """ + + self._updated_at = updated_at + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GroupRole): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GroupRole): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py new file mode 100644 index 00000000..e9333f4e --- /dev/null +++ b/vrchatapi/models/group_role_template.py @@ -0,0 +1,113 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class GroupRoleTemplate(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + DEFAULT = "default" + MANAGEDFREE = "managedFree" + MANAGEDINVITE = "managedInvite" + MANAGEDREQUEST = "managedRequest" + + allowable_values = [DEFAULT, MANAGEDFREE, MANAGEDINVITE, MANAGEDREQUEST] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """GroupRoleTemplate - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GroupRoleTemplate): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GroupRoleTemplate): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py new file mode 100644 index 00000000..48cfa268 --- /dev/null +++ b/vrchatapi/models/group_user_visibility.py @@ -0,0 +1,112 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class GroupUserVisibility(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + VISIBLE = "visible" + HIDDEN = "hidden" + FRIENDS = "friends" + + allowable_values = [VISIBLE, HIDDEN, FRIENDS] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """GroupUserVisibility - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GroupUserVisibility): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GroupUserVisibility): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index 2781503e..527ee3b9 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -195,7 +195,6 @@ def priority(self, priority): def tags(self): """Gets the tags of this InfoPush. # noqa: E501 - # noqa: E501 :return: The tags of this InfoPush. # noqa: E501 :rtype: list[str] @@ -206,7 +205,6 @@ def tags(self): def tags(self, tags): """Sets the tags of this InfoPush. - # noqa: E501 :param tags: The tags of this InfoPush. # noqa: E501 :type tags: list[str] @@ -317,7 +315,6 @@ def updated_at(self, updated_at): def start_date(self): """Gets the start_date of this InfoPush. # noqa: E501 - # noqa: E501 :return: The start_date of this InfoPush. # noqa: E501 :rtype: datetime @@ -328,7 +325,6 @@ def start_date(self): def start_date(self, start_date): """Sets the start_date of this InfoPush. - # noqa: E501 :param start_date: The start_date of this InfoPush. # noqa: E501 :type start_date: datetime diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index f702b559..58c2decd 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -518,7 +518,6 @@ def release_status(self, release_status): def tags(self): """Gets the tags of this LimitedWorld. # noqa: E501 - # noqa: E501 :return: The tags of this LimitedWorld. # noqa: E501 :rtype: list[str] @@ -529,7 +528,6 @@ def tags(self): def tags(self, tags): """Sets the tags of this LimitedWorld. - # noqa: E501 :param tags: The tags of this LimitedWorld. # noqa: E501 :type tags: list[str] @@ -569,7 +567,6 @@ def thumbnail_image_url(self, thumbnail_image_url): def unity_packages(self): """Gets the unity_packages of this LimitedWorld. # noqa: E501 - # noqa: E501 :return: The unity_packages of this LimitedWorld. # noqa: E501 :rtype: list[LimitedUnityPackage] @@ -580,7 +577,6 @@ def unity_packages(self): def unity_packages(self, unity_packages): """Sets the unity_packages of this LimitedWorld. - # noqa: E501 :param unity_packages: The unity_packages of this LimitedWorld. # noqa: E501 :type unity_packages: list[LimitedUnityPackage] diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index 2c7da51d..2d775b77 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -41,6 +41,7 @@ class Notification(object): 'id': 'str', 'message': 'str', 'seen': 'bool', + 'receiver_user_id': 'str', 'sender_user_id': 'str', 'sender_username': 'str', 'type': 'NotificationType' @@ -52,12 +53,13 @@ class Notification(object): 'id': 'id', 'message': 'message', 'seen': 'seen', + 'receiver_user_id': 'receiverUserId', 'sender_user_id': 'senderUserId', 'sender_username': 'senderUsername', 'type': 'type' } - def __init__(self, created_at=None, details='{}', id=None, message=None, seen=False, sender_user_id=None, sender_username=None, type=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, created_at=None, details='{}', id=None, message=None, seen=False, receiver_user_id=None, sender_user_id=None, sender_username=None, type=None, local_vars_configuration=None): # noqa: E501 """Notification - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -68,6 +70,7 @@ def __init__(self, created_at=None, details='{}', id=None, message=None, seen=Fa self._id = None self._message = None self._seen = None + self._receiver_user_id = None self._sender_user_id = None self._sender_username = None self._type = None @@ -77,7 +80,10 @@ def __init__(self, created_at=None, details='{}', id=None, message=None, seen=Fa self.details = details self.id = id self.message = message - self.seen = seen + if seen is not None: + self.seen = seen + if receiver_user_id is not None: + self.receiver_user_id = receiver_user_id self.sender_user_id = sender_user_id if sender_username is not None: self.sender_username = sender_username @@ -110,7 +116,7 @@ def created_at(self, created_at): def details(self): """Gets the details of this Notification. # noqa: E501 - **NOTICE:** This is not a JSON object, this is a json **encoded** object, meaning you have to json-de-encode to get the NotificationDetail object depending on the NotificationType. # noqa: E501 + **NOTICE:** This is not a JSON object when received from the REST API, but it is when received from the Websocket API. When received from the REST API, this is a json **encoded** object, meaning you have to json-de-encode to get the NotificationDetail object depending on the NotificationType. # noqa: E501 :return: The details of this Notification. # noqa: E501 :rtype: str @@ -121,7 +127,7 @@ def details(self): def details(self, details): """Sets the details of this Notification. - **NOTICE:** This is not a JSON object, this is a json **encoded** object, meaning you have to json-de-encode to get the NotificationDetail object depending on the NotificationType. # noqa: E501 + **NOTICE:** This is not a JSON object when received from the REST API, but it is when received from the Websocket API. When received from the REST API, this is a json **encoded** object, meaning you have to json-de-encode to get the NotificationDetail object depending on the NotificationType. # noqa: E501 :param details: The details of this Notification. # noqa: E501 :type details: str @@ -161,7 +167,6 @@ def id(self, id): def message(self): """Gets the message of this Notification. # noqa: E501 - # noqa: E501 :return: The message of this Notification. # noqa: E501 :rtype: str @@ -172,7 +177,6 @@ def message(self): def message(self, message): """Sets the message of this Notification. - # noqa: E501 :param message: The message of this Notification. # noqa: E501 :type message: str @@ -186,6 +190,7 @@ def message(self, message): def seen(self): """Gets the seen of this Notification. # noqa: E501 + Not included in notification objects received from the Websocket API # noqa: E501 :return: The seen of this Notification. # noqa: E501 :rtype: bool @@ -196,15 +201,37 @@ def seen(self): def seen(self, seen): """Sets the seen of this Notification. + Not included in notification objects received from the Websocket API # noqa: E501 :param seen: The seen of this Notification. # noqa: E501 :type seen: bool """ - if self.local_vars_configuration.client_side_validation and seen is None: # noqa: E501 - raise ValueError("Invalid value for `seen`, must not be `None`") # noqa: E501 self._seen = seen + @property + def receiver_user_id(self): + """Gets the receiver_user_id of this Notification. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The receiver_user_id of this Notification. # noqa: E501 + :rtype: str + """ + return self._receiver_user_id + + @receiver_user_id.setter + def receiver_user_id(self, receiver_user_id): + """Sets the receiver_user_id of this Notification. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param receiver_user_id: The receiver_user_id of this Notification. # noqa: E501 + :type receiver_user_id: str + """ + + self._receiver_user_id = receiver_user_id + @property def sender_user_id(self): """Gets the sender_user_id of this Notification. # noqa: E501 diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py new file mode 100644 index 00000000..a0c98cf7 --- /dev/null +++ b/vrchatapi/models/order_option.py @@ -0,0 +1,111 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class OrderOption(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + ASCENDING = "ascending" + DESCENDING = "descending" + + allowable_values = [ASCENDING, DESCENDING] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """OrderOption - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, OrderOption): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, OrderOption): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py new file mode 100644 index 00000000..50534df6 --- /dev/null +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -0,0 +1,187 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class PaginatedGroupAuditLogEntryList(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'results': 'list[GroupAuditLogEntry]', + 'total_count': 'int', + 'has_next': 'bool' + } + + attribute_map = { + 'results': 'results', + 'total_count': 'totalCount', + 'has_next': 'hasNext' + } + + def __init__(self, results=None, total_count=None, has_next=None, local_vars_configuration=None): # noqa: E501 + """PaginatedGroupAuditLogEntryList - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._results = None + self._total_count = None + self._has_next = None + self.discriminator = None + + if results is not None: + self.results = results + if total_count is not None: + self.total_count = total_count + if has_next is not None: + self.has_next = has_next + + @property + def results(self): + """Gets the results of this PaginatedGroupAuditLogEntryList. # noqa: E501 + + + :return: The results of this PaginatedGroupAuditLogEntryList. # noqa: E501 + :rtype: list[GroupAuditLogEntry] + """ + return self._results + + @results.setter + def results(self, results): + """Sets the results of this PaginatedGroupAuditLogEntryList. + + + :param results: The results of this PaginatedGroupAuditLogEntryList. # noqa: E501 + :type results: list[GroupAuditLogEntry] + """ + + self._results = results + + @property + def total_count(self): + """Gets the total_count of this PaginatedGroupAuditLogEntryList. # noqa: E501 + + The total number of results that the query would return if there were no pagination. # noqa: E501 + + :return: The total_count of this PaginatedGroupAuditLogEntryList. # noqa: E501 + :rtype: int + """ + return self._total_count + + @total_count.setter + def total_count(self, total_count): + """Sets the total_count of this PaginatedGroupAuditLogEntryList. + + The total number of results that the query would return if there were no pagination. # noqa: E501 + + :param total_count: The total_count of this PaginatedGroupAuditLogEntryList. # noqa: E501 + :type total_count: int + """ + + self._total_count = total_count + + @property + def has_next(self): + """Gets the has_next of this PaginatedGroupAuditLogEntryList. # noqa: E501 + + Whether there are more results after this page. # noqa: E501 + + :return: The has_next of this PaginatedGroupAuditLogEntryList. # noqa: E501 + :rtype: bool + """ + return self._has_next + + @has_next.setter + def has_next(self, has_next): + """Sets the has_next of this PaginatedGroupAuditLogEntryList. + + Whether there are more results after this page. # noqa: E501 + + :param has_next: The has_next of this PaginatedGroupAuditLogEntryList. # noqa: E501 + :type has_next: bool + """ + + self._has_next = has_next + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, PaginatedGroupAuditLogEntryList): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, PaginatedGroupAuditLogEntryList): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py new file mode 100644 index 00000000..f8333492 --- /dev/null +++ b/vrchatapi/models/respond_group_join_request.py @@ -0,0 +1,131 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class RespondGroupJoinRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'action': 'str' + } + + attribute_map = { + 'action': 'action' + } + + def __init__(self, action=None, local_vars_configuration=None): # noqa: E501 + """RespondGroupJoinRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._action = None + self.discriminator = None + + if action is not None: + self.action = action + + @property + def action(self): + """Gets the action of this RespondGroupJoinRequest. # noqa: E501 + + + :return: The action of this RespondGroupJoinRequest. # noqa: E501 + :rtype: str + """ + return self._action + + @action.setter + def action(self, action): + """Sets the action of this RespondGroupJoinRequest. + + + :param action: The action of this RespondGroupJoinRequest. # noqa: E501 + :type action: str + """ + + self._action = action + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, RespondGroupJoinRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, RespondGroupJoinRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index 98176338..9a27ea5f 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -161,7 +161,6 @@ def id(self, id): def message(self): """Gets the message of this SentNotification. # noqa: E501 - # noqa: E501 :return: The message of this SentNotification. # noqa: E501 :rtype: str @@ -172,7 +171,6 @@ def message(self): def message(self, message): """Sets the message of this SentNotification. - # noqa: E501 :param message: The message of this SentNotification. # noqa: E501 :type message: str diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py new file mode 100644 index 00000000..b7dd0910 --- /dev/null +++ b/vrchatapi/models/sort_option.py @@ -0,0 +1,127 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class SortOption(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + POPULARITY = "popularity" + HEAT = "heat" + TRUST = "trust" + SHUFFLE = "shuffle" + RANDOM = "random" + FAVORITES = "favorites" + REPORTSCORE = "reportScore" + REPORTCOUNT = "reportCount" + PUBLICATIONDATE = "publicationDate" + LABSPUBLICATIONDATE = "labsPublicationDate" + CREATED = "created" + _CREATED_AT = "_created_at" + UPDATED = "updated" + _UPDATED_AT = "_updated_at" + ORDER = "order" + RELEVANCE = "relevance" + MAGIC = "magic" + NAME = "name" + + allowable_values = [POPULARITY, HEAT, TRUST, SHUFFLE, RANDOM, FAVORITES, REPORTSCORE, REPORTCOUNT, PUBLICATIONDATE, LABSPUBLICATIONDATE, CREATED, _CREATED_AT, UPDATED, _UPDATED_AT, ORDER, RELEVANCE, MAGIC, NAME] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """SortOption - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, SortOption): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, SortOption): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index cfe53d4c..bc01d9af 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -192,7 +192,6 @@ def description(self, description): def tags(self): """Gets the tags of this UpdateAvatarRequest. # noqa: E501 - # noqa: E501 :return: The tags of this UpdateAvatarRequest. # noqa: E501 :rtype: list[str] @@ -203,7 +202,6 @@ def tags(self): def tags(self, tags): """Sets the tags of this UpdateAvatarRequest. - # noqa: E501 :param tags: The tags of this UpdateAvatarRequest. # noqa: E501 :type tags: list[str] diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py new file mode 100644 index 00000000..5dcc6eb2 --- /dev/null +++ b/vrchatapi/models/update_group_gallery_request.py @@ -0,0 +1,295 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class UpdateGroupGalleryRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'name': 'str', + 'description': 'str', + 'members_only': 'bool', + 'role_ids_to_view': 'list[str]', + 'role_ids_to_submit': 'list[str]', + 'role_ids_to_auto_approve': 'list[str]', + 'role_ids_to_manage': 'list[str]' + } + + attribute_map = { + 'name': 'name', + 'description': 'description', + 'members_only': 'membersOnly', + 'role_ids_to_view': 'roleIdsToView', + 'role_ids_to_submit': 'roleIdsToSubmit', + 'role_ids_to_auto_approve': 'roleIdsToAutoApprove', + 'role_ids_to_manage': 'roleIdsToManage' + } + + def __init__(self, name=None, description=None, members_only=False, role_ids_to_view=None, role_ids_to_submit=None, role_ids_to_auto_approve=None, role_ids_to_manage=None, local_vars_configuration=None): # noqa: E501 + """UpdateGroupGalleryRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._name = None + self._description = None + self._members_only = None + self._role_ids_to_view = None + self._role_ids_to_submit = None + self._role_ids_to_auto_approve = None + self._role_ids_to_manage = None + self.discriminator = None + + if name is not None: + self.name = name + if description is not None: + self.description = description + if members_only is not None: + self.members_only = members_only + self.role_ids_to_view = role_ids_to_view + self.role_ids_to_submit = role_ids_to_submit + self.role_ids_to_auto_approve = role_ids_to_auto_approve + self.role_ids_to_manage = role_ids_to_manage + + @property + def name(self): + """Gets the name of this UpdateGroupGalleryRequest. # noqa: E501 + + Name of the gallery. # noqa: E501 + + :return: The name of this UpdateGroupGalleryRequest. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this UpdateGroupGalleryRequest. + + Name of the gallery. # noqa: E501 + + :param name: The name of this UpdateGroupGalleryRequest. # noqa: E501 + :type name: str + """ + if (self.local_vars_configuration.client_side_validation and + name is not None and len(name) < 1): + raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 + + self._name = name + + @property + def description(self): + """Gets the description of this UpdateGroupGalleryRequest. # noqa: E501 + + Description of the gallery. # noqa: E501 + + :return: The description of this UpdateGroupGalleryRequest. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this UpdateGroupGalleryRequest. + + Description of the gallery. # noqa: E501 + + :param description: The description of this UpdateGroupGalleryRequest. # noqa: E501 + :type description: str + """ + if (self.local_vars_configuration.client_side_validation and + description is not None and len(description) < 0): + raise ValueError("Invalid value for `description`, length must be greater than or equal to `0`") # noqa: E501 + + self._description = description + + @property + def members_only(self): + """Gets the members_only of this UpdateGroupGalleryRequest. # noqa: E501 + + Whether the gallery is members only. # noqa: E501 + + :return: The members_only of this UpdateGroupGalleryRequest. # noqa: E501 + :rtype: bool + """ + return self._members_only + + @members_only.setter + def members_only(self, members_only): + """Sets the members_only of this UpdateGroupGalleryRequest. + + Whether the gallery is members only. # noqa: E501 + + :param members_only: The members_only of this UpdateGroupGalleryRequest. # noqa: E501 + :type members_only: bool + """ + + self._members_only = members_only + + @property + def role_ids_to_view(self): + """Gets the role_ids_to_view of this UpdateGroupGalleryRequest. # noqa: E501 + + + :return: The role_ids_to_view of this UpdateGroupGalleryRequest. # noqa: E501 + :rtype: list[str] + """ + return self._role_ids_to_view + + @role_ids_to_view.setter + def role_ids_to_view(self, role_ids_to_view): + """Sets the role_ids_to_view of this UpdateGroupGalleryRequest. + + + :param role_ids_to_view: The role_ids_to_view of this UpdateGroupGalleryRequest. # noqa: E501 + :type role_ids_to_view: list[str] + """ + + self._role_ids_to_view = role_ids_to_view + + @property + def role_ids_to_submit(self): + """Gets the role_ids_to_submit of this UpdateGroupGalleryRequest. # noqa: E501 + + + :return: The role_ids_to_submit of this UpdateGroupGalleryRequest. # noqa: E501 + :rtype: list[str] + """ + return self._role_ids_to_submit + + @role_ids_to_submit.setter + def role_ids_to_submit(self, role_ids_to_submit): + """Sets the role_ids_to_submit of this UpdateGroupGalleryRequest. + + + :param role_ids_to_submit: The role_ids_to_submit of this UpdateGroupGalleryRequest. # noqa: E501 + :type role_ids_to_submit: list[str] + """ + + self._role_ids_to_submit = role_ids_to_submit + + @property + def role_ids_to_auto_approve(self): + """Gets the role_ids_to_auto_approve of this UpdateGroupGalleryRequest. # noqa: E501 + + + :return: The role_ids_to_auto_approve of this UpdateGroupGalleryRequest. # noqa: E501 + :rtype: list[str] + """ + return self._role_ids_to_auto_approve + + @role_ids_to_auto_approve.setter + def role_ids_to_auto_approve(self, role_ids_to_auto_approve): + """Sets the role_ids_to_auto_approve of this UpdateGroupGalleryRequest. + + + :param role_ids_to_auto_approve: The role_ids_to_auto_approve of this UpdateGroupGalleryRequest. # noqa: E501 + :type role_ids_to_auto_approve: list[str] + """ + + self._role_ids_to_auto_approve = role_ids_to_auto_approve + + @property + def role_ids_to_manage(self): + """Gets the role_ids_to_manage of this UpdateGroupGalleryRequest. # noqa: E501 + + + :return: The role_ids_to_manage of this UpdateGroupGalleryRequest. # noqa: E501 + :rtype: list[str] + """ + return self._role_ids_to_manage + + @role_ids_to_manage.setter + def role_ids_to_manage(self, role_ids_to_manage): + """Sets the role_ids_to_manage of this UpdateGroupGalleryRequest. + + + :param role_ids_to_manage: The role_ids_to_manage of this UpdateGroupGalleryRequest. # noqa: E501 + :type role_ids_to_manage: list[str] + """ + + self._role_ids_to_manage = role_ids_to_manage + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, UpdateGroupGalleryRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, UpdateGroupGalleryRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py new file mode 100644 index 00000000..6f4ce2dc --- /dev/null +++ b/vrchatapi/models/update_group_member_request.py @@ -0,0 +1,183 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class UpdateGroupMemberRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'visibility': 'GroupUserVisibility', + 'is_subscribed_to_announcements': 'bool', + 'manager_notes': 'str' + } + + attribute_map = { + 'visibility': 'visibility', + 'is_subscribed_to_announcements': 'isSubscribedToAnnouncements', + 'manager_notes': 'managerNotes' + } + + def __init__(self, visibility=None, is_subscribed_to_announcements=None, manager_notes=None, local_vars_configuration=None): # noqa: E501 + """UpdateGroupMemberRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._visibility = None + self._is_subscribed_to_announcements = None + self._manager_notes = None + self.discriminator = None + + if visibility is not None: + self.visibility = visibility + if is_subscribed_to_announcements is not None: + self.is_subscribed_to_announcements = is_subscribed_to_announcements + if manager_notes is not None: + self.manager_notes = manager_notes + + @property + def visibility(self): + """Gets the visibility of this UpdateGroupMemberRequest. # noqa: E501 + + + :return: The visibility of this UpdateGroupMemberRequest. # noqa: E501 + :rtype: GroupUserVisibility + """ + return self._visibility + + @visibility.setter + def visibility(self, visibility): + """Sets the visibility of this UpdateGroupMemberRequest. + + + :param visibility: The visibility of this UpdateGroupMemberRequest. # noqa: E501 + :type visibility: GroupUserVisibility + """ + + self._visibility = visibility + + @property + def is_subscribed_to_announcements(self): + """Gets the is_subscribed_to_announcements of this UpdateGroupMemberRequest. # noqa: E501 + + + :return: The is_subscribed_to_announcements of this UpdateGroupMemberRequest. # noqa: E501 + :rtype: bool + """ + return self._is_subscribed_to_announcements + + @is_subscribed_to_announcements.setter + def is_subscribed_to_announcements(self, is_subscribed_to_announcements): + """Sets the is_subscribed_to_announcements of this UpdateGroupMemberRequest. + + + :param is_subscribed_to_announcements: The is_subscribed_to_announcements of this UpdateGroupMemberRequest. # noqa: E501 + :type is_subscribed_to_announcements: bool + """ + + self._is_subscribed_to_announcements = is_subscribed_to_announcements + + @property + def manager_notes(self): + """Gets the manager_notes of this UpdateGroupMemberRequest. # noqa: E501 + + + :return: The manager_notes of this UpdateGroupMemberRequest. # noqa: E501 + :rtype: str + """ + return self._manager_notes + + @manager_notes.setter + def manager_notes(self, manager_notes): + """Sets the manager_notes of this UpdateGroupMemberRequest. + + + :param manager_notes: The manager_notes of this UpdateGroupMemberRequest. # noqa: E501 + :type manager_notes: str + """ + + self._manager_notes = manager_notes + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, UpdateGroupMemberRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, UpdateGroupMemberRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py new file mode 100644 index 00000000..6a974216 --- /dev/null +++ b/vrchatapi/models/update_group_request.py @@ -0,0 +1,389 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class UpdateGroupRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'name': 'str', + 'short_code': 'str', + 'description': 'str', + 'join_state': 'GroupJoinState', + 'icon_id': 'str', + 'banner_id': 'str', + 'languages': 'list[str]', + 'links': 'list[str]', + 'rules': 'str', + 'tags': 'list[str]' + } + + attribute_map = { + 'name': 'name', + 'short_code': 'shortCode', + 'description': 'description', + 'join_state': 'joinState', + 'icon_id': 'iconId', + 'banner_id': 'bannerId', + 'languages': 'languages', + 'links': 'links', + 'rules': 'rules', + 'tags': 'tags' + } + + def __init__(self, name=None, short_code=None, description=None, join_state=None, icon_id='null', banner_id='null', languages=None, links=None, rules=None, tags=None, local_vars_configuration=None): # noqa: E501 + """UpdateGroupRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._name = None + self._short_code = None + self._description = None + self._join_state = None + self._icon_id = None + self._banner_id = None + self._languages = None + self._links = None + self._rules = None + self._tags = None + self.discriminator = None + + if name is not None: + self.name = name + if short_code is not None: + self.short_code = short_code + if description is not None: + self.description = description + if join_state is not None: + self.join_state = join_state + self.icon_id = icon_id + self.banner_id = banner_id + if languages is not None: + self.languages = languages + if links is not None: + self.links = links + if rules is not None: + self.rules = rules + if tags is not None: + self.tags = tags + + @property + def name(self): + """Gets the name of this UpdateGroupRequest. # noqa: E501 + + + :return: The name of this UpdateGroupRequest. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this UpdateGroupRequest. + + + :param name: The name of this UpdateGroupRequest. # noqa: E501 + :type name: str + """ + if (self.local_vars_configuration.client_side_validation and + name is not None and len(name) > 64): + raise ValueError("Invalid value for `name`, length must be less than or equal to `64`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + name is not None and len(name) < 3): + raise ValueError("Invalid value for `name`, length must be greater than or equal to `3`") # noqa: E501 + + self._name = name + + @property + def short_code(self): + """Gets the short_code of this UpdateGroupRequest. # noqa: E501 + + + :return: The short_code of this UpdateGroupRequest. # noqa: E501 + :rtype: str + """ + return self._short_code + + @short_code.setter + def short_code(self, short_code): + """Sets the short_code of this UpdateGroupRequest. + + + :param short_code: The short_code of this UpdateGroupRequest. # noqa: E501 + :type short_code: str + """ + if (self.local_vars_configuration.client_side_validation and + short_code is not None and len(short_code) > 6): + raise ValueError("Invalid value for `short_code`, length must be less than or equal to `6`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + short_code is not None and len(short_code) < 3): + raise ValueError("Invalid value for `short_code`, length must be greater than or equal to `3`") # noqa: E501 + + self._short_code = short_code + + @property + def description(self): + """Gets the description of this UpdateGroupRequest. # noqa: E501 + + + :return: The description of this UpdateGroupRequest. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this UpdateGroupRequest. + + + :param description: The description of this UpdateGroupRequest. # noqa: E501 + :type description: str + """ + if (self.local_vars_configuration.client_side_validation and + description is not None and len(description) > 250): + raise ValueError("Invalid value for `description`, length must be less than or equal to `250`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + description is not None and len(description) < 0): + raise ValueError("Invalid value for `description`, length must be greater than or equal to `0`") # noqa: E501 + + self._description = description + + @property + def join_state(self): + """Gets the join_state of this UpdateGroupRequest. # noqa: E501 + + + :return: The join_state of this UpdateGroupRequest. # noqa: E501 + :rtype: GroupJoinState + """ + return self._join_state + + @join_state.setter + def join_state(self, join_state): + """Sets the join_state of this UpdateGroupRequest. + + + :param join_state: The join_state of this UpdateGroupRequest. # noqa: E501 + :type join_state: GroupJoinState + """ + + self._join_state = join_state + + @property + def icon_id(self): + """Gets the icon_id of this UpdateGroupRequest. # noqa: E501 + + + :return: The icon_id of this UpdateGroupRequest. # noqa: E501 + :rtype: str + """ + return self._icon_id + + @icon_id.setter + def icon_id(self, icon_id): + """Sets the icon_id of this UpdateGroupRequest. + + + :param icon_id: The icon_id of this UpdateGroupRequest. # noqa: E501 + :type icon_id: str + """ + + self._icon_id = icon_id + + @property + def banner_id(self): + """Gets the banner_id of this UpdateGroupRequest. # noqa: E501 + + + :return: The banner_id of this UpdateGroupRequest. # noqa: E501 + :rtype: str + """ + return self._banner_id + + @banner_id.setter + def banner_id(self, banner_id): + """Sets the banner_id of this UpdateGroupRequest. + + + :param banner_id: The banner_id of this UpdateGroupRequest. # noqa: E501 + :type banner_id: str + """ + + self._banner_id = banner_id + + @property + def languages(self): + """Gets the languages of this UpdateGroupRequest. # noqa: E501 + + 3 letter language code # noqa: E501 + + :return: The languages of this UpdateGroupRequest. # noqa: E501 + :rtype: list[str] + """ + return self._languages + + @languages.setter + def languages(self, languages): + """Sets the languages of this UpdateGroupRequest. + + 3 letter language code # noqa: E501 + + :param languages: The languages of this UpdateGroupRequest. # noqa: E501 + :type languages: list[str] + """ + if (self.local_vars_configuration.client_side_validation and + languages is not None and len(languages) > 3): + raise ValueError("Invalid value for `languages`, number of items must be less than or equal to `3`") # noqa: E501 + + self._languages = languages + + @property + def links(self): + """Gets the links of this UpdateGroupRequest. # noqa: E501 + + + :return: The links of this UpdateGroupRequest. # noqa: E501 + :rtype: list[str] + """ + return self._links + + @links.setter + def links(self, links): + """Sets the links of this UpdateGroupRequest. + + + :param links: The links of this UpdateGroupRequest. # noqa: E501 + :type links: list[str] + """ + if (self.local_vars_configuration.client_side_validation and + links is not None and len(links) > 3): + raise ValueError("Invalid value for `links`, number of items must be less than or equal to `3`") # noqa: E501 + + self._links = links + + @property + def rules(self): + """Gets the rules of this UpdateGroupRequest. # noqa: E501 + + + :return: The rules of this UpdateGroupRequest. # noqa: E501 + :rtype: str + """ + return self._rules + + @rules.setter + def rules(self, rules): + """Sets the rules of this UpdateGroupRequest. + + + :param rules: The rules of this UpdateGroupRequest. # noqa: E501 + :type rules: str + """ + + self._rules = rules + + @property + def tags(self): + """Gets the tags of this UpdateGroupRequest. # noqa: E501 + + + :return: The tags of this UpdateGroupRequest. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this UpdateGroupRequest. + + + :param tags: The tags of this UpdateGroupRequest. # noqa: E501 + :type tags: list[str] + """ + + self._tags = tags + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, UpdateGroupRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, UpdateGroupRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py new file mode 100644 index 00000000..74adab43 --- /dev/null +++ b/vrchatapi/models/update_group_role_request.py @@ -0,0 +1,235 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.9.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class UpdateGroupRoleRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'name': 'str', + 'description': 'str', + 'is_self_assignable': 'bool', + 'permissions': 'list[str]', + 'order': 'int' + } + + attribute_map = { + 'name': 'name', + 'description': 'description', + 'is_self_assignable': 'isSelfAssignable', + 'permissions': 'permissions', + 'order': 'order' + } + + def __init__(self, name=None, description=None, is_self_assignable=False, permissions=None, order=None, local_vars_configuration=None): # noqa: E501 + """UpdateGroupRoleRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._name = None + self._description = None + self._is_self_assignable = None + self._permissions = None + self._order = None + self.discriminator = None + + if name is not None: + self.name = name + if description is not None: + self.description = description + if is_self_assignable is not None: + self.is_self_assignable = is_self_assignable + if permissions is not None: + self.permissions = permissions + if order is not None: + self.order = order + + @property + def name(self): + """Gets the name of this UpdateGroupRoleRequest. # noqa: E501 + + + :return: The name of this UpdateGroupRoleRequest. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this UpdateGroupRoleRequest. + + + :param name: The name of this UpdateGroupRoleRequest. # noqa: E501 + :type name: str + """ + + self._name = name + + @property + def description(self): + """Gets the description of this UpdateGroupRoleRequest. # noqa: E501 + + + :return: The description of this UpdateGroupRoleRequest. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this UpdateGroupRoleRequest. + + + :param description: The description of this UpdateGroupRoleRequest. # noqa: E501 + :type description: str + """ + + self._description = description + + @property + def is_self_assignable(self): + """Gets the is_self_assignable of this UpdateGroupRoleRequest. # noqa: E501 + + + :return: The is_self_assignable of this UpdateGroupRoleRequest. # noqa: E501 + :rtype: bool + """ + return self._is_self_assignable + + @is_self_assignable.setter + def is_self_assignable(self, is_self_assignable): + """Sets the is_self_assignable of this UpdateGroupRoleRequest. + + + :param is_self_assignable: The is_self_assignable of this UpdateGroupRoleRequest. # noqa: E501 + :type is_self_assignable: bool + """ + + self._is_self_assignable = is_self_assignable + + @property + def permissions(self): + """Gets the permissions of this UpdateGroupRoleRequest. # noqa: E501 + + + :return: The permissions of this UpdateGroupRoleRequest. # noqa: E501 + :rtype: list[str] + """ + return self._permissions + + @permissions.setter + def permissions(self, permissions): + """Sets the permissions of this UpdateGroupRoleRequest. + + + :param permissions: The permissions of this UpdateGroupRoleRequest. # noqa: E501 + :type permissions: list[str] + """ + + self._permissions = permissions + + @property + def order(self): + """Gets the order of this UpdateGroupRoleRequest. # noqa: E501 + + + :return: The order of this UpdateGroupRoleRequest. # noqa: E501 + :rtype: int + """ + return self._order + + @order.setter + def order(self, order): + """Sets the order of this UpdateGroupRoleRequest. + + + :param order: The order of this UpdateGroupRoleRequest. # noqa: E501 + :type order: int + """ + + self._order = order + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, UpdateGroupRoleRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, UpdateGroupRoleRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index 20a5c61d..15dce3a4 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -162,7 +162,6 @@ def accepted_tos_version(self, accepted_tos_version): def tags(self): """Gets the tags of this UpdateUserRequest. # noqa: E501 - # noqa: E501 :return: The tags of this UpdateUserRequest. # noqa: E501 :rtype: list[str] @@ -173,7 +172,6 @@ def tags(self): def tags(self, tags): """Sets the tags of this UpdateUserRequest. - # noqa: E501 :param tags: The tags of this UpdateUserRequest. # noqa: E501 :type tags: list[str] diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index 5422d27e..611132e6 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -354,7 +354,6 @@ def release_status(self, release_status): def tags(self): """Gets the tags of this UpdateWorldRequest. # noqa: E501 - # noqa: E501 :return: The tags of this UpdateWorldRequest. # noqa: E501 :rtype: list[str] @@ -365,7 +364,6 @@ def tags(self): def tags(self, tags): """Sets the tags of this UpdateWorldRequest. - # noqa: E501 :param tags: The tags of this UpdateWorldRequest. # noqa: E501 :type tags: list[str] diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index 4b1423df..7f92fb63 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -709,7 +709,6 @@ def status_description(self, status_description): def tags(self): """Gets the tags of this User. # noqa: E501 - # noqa: E501 :return: The tags of this User. # noqa: E501 :rtype: list[str] @@ -720,7 +719,6 @@ def tags(self): def tags(self, tags): """Sets the tags of this User. - # noqa: E501 :param tags: The tags of this User. # noqa: E501 :type tags: list[str] diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index f36b1037..5a79c755 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -725,7 +725,6 @@ def release_status(self, release_status): def tags(self): """Gets the tags of this World. # noqa: E501 - # noqa: E501 :return: The tags of this World. # noqa: E501 :rtype: list[str] @@ -736,7 +735,6 @@ def tags(self): def tags(self, tags): """Sets the tags of this World. - # noqa: E501 :param tags: The tags of this World. # noqa: E501 :type tags: list[str] From 51dc603213a088667071269e67d4f0224b5e7ab0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Foorack=20/=20Max=20Fax=C3=A4lv?= Date: Mon, 5 Dec 2022 00:00:19 +0100 Subject: [PATCH 023/102] Set OpenAPI version back to 6.2.1 and fix GitLab CI --- .github/workflows/ci.yaml | 4 +- .openapi-generator/VERSION | 2 +- docs/APIConfig.md | 1 + docs/Avatar.md | 3 +- docs/CreateAvatarRequest.md | 2 +- docs/CreateFileRequest.md | 2 +- docs/CreateGroupGalleryRequest.md | 8 +- docs/CreateGroupRequest.md | 4 +- docs/CreateWorldRequest.md | 2 +- docs/CurrentUser.md | 2 +- docs/Favorite.md | 3 +- docs/FavoriteGroup.md | 3 +- docs/File.md | 5 +- docs/FileData.md | 1 + docs/FileUploadURL.md | 1 + docs/FileVersion.md | 1 + docs/FileVersionUploadStatus.md | 1 + docs/FinishFileDataUploadRequest.md | 1 + docs/Group.md | 4 +- docs/GroupGallery.md | 8 +- docs/InfoPush.md | 3 +- docs/InfoPushData.md | 1 + docs/InstanceType.md | 1 + docs/InviteMessage.md | 1 + docs/InviteMessageType.md | 1 + docs/LicenseGroup.md | 1 + docs/LimitedUnityPackage.md | 1 + docs/LimitedUser.md | 1 + docs/LimitedWorld.md | 5 +- docs/Notification.md | 1 + docs/PaginatedGroupAuditLogEntryList.md | 2 +- docs/Permission.md | 1 + docs/SentNotification.md | 1 + docs/Subscription.md | 1 + docs/Transaction.md | 1 + docs/TransactionAgreement.md | 1 + docs/TransactionSteamInfo.md | 1 + docs/TransactionSteamWalletInfo.md | 1 + docs/UnityPackage.md | 1 + docs/UpdateAvatarRequest.md | 2 +- docs/UpdateGroupGalleryRequest.md | 8 +- docs/UpdateGroupRequest.md | 6 +- docs/UpdateUserRequest.md | 2 +- docs/UpdateWorldRequest.md | 2 +- docs/User.md | 2 +- docs/UserSubscription.md | 1 + docs/World.md | 3 +- openapitools.json | 2 +- setup.py | 1 + test-requirements.txt | 1 + vrchatapi/api/authentication_api.py | 76 ++- vrchatapi/api/avatars_api.py | 149 +++-- vrchatapi/api/economy_api.py | 41 +- vrchatapi/api/favorites_api.py | 123 ++-- vrchatapi/api/files_api.py | 152 ++--- vrchatapi/api/friends_api.py | 53 +- vrchatapi/api/groups_api.py | 531 +++++++++++------- vrchatapi/api/instances_api.py | 49 +- vrchatapi/api/invite_api.py | 136 +++-- vrchatapi/api/notifications_api.py | 56 +- vrchatapi/api/permissions_api.py | 17 +- vrchatapi/api/playermoderation_api.py | 72 ++- vrchatapi/api/system_api.py | 61 +- vrchatapi/api/users_api.py | 73 ++- vrchatapi/api/worlds_api.py | 242 ++++---- vrchatapi/api_client.py | 11 +- vrchatapi/models/avatar.py | 2 + vrchatapi/models/create_avatar_request.py | 2 + vrchatapi/models/create_file_request.py | 2 + .../models/create_group_gallery_request.py | 8 + vrchatapi/models/create_group_request.py | 2 +- vrchatapi/models/create_world_request.py | 2 + vrchatapi/models/current_user.py | 2 + vrchatapi/models/favorite.py | 2 + vrchatapi/models/favorite_group.py | 2 + vrchatapi/models/file.py | 6 + vrchatapi/models/file_upload_url.py | 2 + vrchatapi/models/group.py | 4 + vrchatapi/models/group_gallery.py | 8 + vrchatapi/models/info_push.py | 4 + vrchatapi/models/limited_world.py | 4 + vrchatapi/models/notification.py | 2 + .../paginated_group_audit_log_entry_list.py | 2 + vrchatapi/models/sent_notification.py | 2 + vrchatapi/models/update_avatar_request.py | 2 + .../models/update_group_gallery_request.py | 8 + vrchatapi/models/update_group_request.py | 4 +- vrchatapi/models/update_user_request.py | 2 + vrchatapi/models/update_world_request.py | 2 + vrchatapi/models/user.py | 2 + vrchatapi/models/world.py | 2 + 91 files changed, 1264 insertions(+), 772 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4b84b6c6..06bd6ef0 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -24,7 +24,7 @@ jobs: - name: Install OpenAPI Generator CLI run: npm install @openapitools/openapi-generator-cli - name: Set OpenAPI Generator version - run: ./node_modules/\@openapitools/openapi-generator-cli/main.js version-manager set 5.3.0 + run: ./node_modules/\@openapitools/openapi-generator-cli/main.js version-manager set 6.2.1 - name: Set up Python 3.9 uses: actions/setup-python@v1 with: @@ -47,7 +47,7 @@ jobs: - name: Build a binary wheel and a source tarball run: python -m build --sdist --wheel --outdir dist/ . - name: Publish SDK 📦 to PyPI - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: skip_existing: true password: ${{ secrets.PYPI_API_TOKEN }} \ No newline at end of file diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION index e230c839..0df17dd0 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -5.3.0 \ No newline at end of file +6.2.1 \ No newline at end of file diff --git a/docs/APIConfig.md b/docs/APIConfig.md index 206b466d..61c18afb 100644 --- a/docs/APIConfig.md +++ b/docs/APIConfig.md @@ -1,6 +1,7 @@ # APIConfig + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/Avatar.md b/docs/Avatar.md index 30bd7b18..0afd8341 100644 --- a/docs/Avatar.md +++ b/docs/Avatar.md @@ -1,6 +1,7 @@ # Avatar + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- @@ -15,7 +16,7 @@ Name | Type | Description | Notes **image_url** | **str** | | **name** | **str** | | **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | -**tags** | **list[str]** | | +**tags** | **list[str]** | | **thumbnail_image_url** | **str** | | **unity_package_url** | **str** | | **unity_package_url_object** | [**AvatarUnityPackageUrlObject**](AvatarUnityPackageUrlObject.md) | | diff --git a/docs/CreateAvatarRequest.md b/docs/CreateAvatarRequest.md index 9667185f..6290b0fc 100644 --- a/docs/CreateAvatarRequest.md +++ b/docs/CreateAvatarRequest.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **id** | **str** | | [optional] **name** | **str** | | **description** | **str** | | [optional] -**tags** | **list[str]** | | [optional] +**tags** | **list[str]** | | [optional] **image_url** | **str** | | **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | [optional] **version** | **float** | | [optional] [default to 1] diff --git a/docs/CreateFileRequest.md b/docs/CreateFileRequest.md index d4369331..2da93660 100644 --- a/docs/CreateFileRequest.md +++ b/docs/CreateFileRequest.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **name** | **str** | | **mime_type** | [**MIMEType**](MIMEType.md) | | **extension** | **str** | | -**tags** | **list[str]** | | [optional] +**tags** | **list[str]** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreateGroupGalleryRequest.md b/docs/CreateGroupGalleryRequest.md index a5f5691b..11007b24 100644 --- a/docs/CreateGroupGalleryRequest.md +++ b/docs/CreateGroupGalleryRequest.md @@ -7,10 +7,10 @@ Name | Type | Description | Notes **name** | **str** | Name of the gallery. | **description** | **str** | Description of the gallery. | [optional] **members_only** | **bool** | Whether the gallery is members only. | [optional] [default to False] -**role_ids_to_view** | **list[str]** | | [optional] -**role_ids_to_submit** | **list[str]** | | [optional] -**role_ids_to_auto_approve** | **list[str]** | | [optional] -**role_ids_to_manage** | **list[str]** | | [optional] +**role_ids_to_view** | **list[str]** | | [optional] +**role_ids_to_submit** | **list[str]** | | [optional] +**role_ids_to_auto_approve** | **list[str]** | | [optional] +**role_ids_to_manage** | **list[str]** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreateGroupRequest.md b/docs/CreateGroupRequest.md index 9a04d0f2..77ab7ac0 100644 --- a/docs/CreateGroupRequest.md +++ b/docs/CreateGroupRequest.md @@ -8,8 +8,8 @@ Name | Type | Description | Notes **short_code** | **str** | | **description** | **str** | | [optional] **join_state** | [**GroupJoinState**](GroupJoinState.md) | | [optional] -**icon_id** | **str** | | [optional] [default to 'null'] -**banner_id** | **str** | | [optional] [default to 'null'] +**icon_id** | **str** | | [optional] +**banner_id** | **str** | | [optional] **privacy** | [**GroupPrivacy**](GroupPrivacy.md) | | [optional] **role_template** | [**GroupRoleTemplate**](GroupRoleTemplate.md) | | diff --git a/docs/CreateWorldRequest.md b/docs/CreateWorldRequest.md index d01094cc..03ad3edd 100644 --- a/docs/CreateWorldRequest.md +++ b/docs/CreateWorldRequest.md @@ -15,7 +15,7 @@ Name | Type | Description | Notes **name** | **str** | | **platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | [optional] **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | [optional] -**tags** | **list[str]** | | [optional] +**tags** | **list[str]** | | [optional] **unity_package_url** | **str** | | [optional] **unity_version** | **str** | | [optional] [default to '5.3.4p1'] diff --git a/docs/CurrentUser.md b/docs/CurrentUser.md index 356865ca..3b2b0072 100644 --- a/docs/CurrentUser.md +++ b/docs/CurrentUser.md @@ -36,7 +36,7 @@ Name | Type | Description | Notes **oculus_id** | **str** | | **offline_friends** | **list[str]** | | [optional] **online_friends** | **list[str]** | | [optional] -**past_display_names** | [**list[PastDisplayName]**](PastDisplayName.md) | | +**past_display_names** | [**list[PastDisplayName]**](PastDisplayName.md) | | **profile_pic_override** | **str** | | **state** | [**UserState**](UserState.md) | | **status** | [**UserStatus**](UserStatus.md) | | diff --git a/docs/Favorite.md b/docs/Favorite.md index ce094c55..cea8966e 100644 --- a/docs/Favorite.md +++ b/docs/Favorite.md @@ -1,12 +1,13 @@ # Favorite + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **favorite_id** | **str** | MUST be either AvatarID, UserID or WorldID. | **id** | **str** | | -**tags** | **list[str]** | | +**tags** | **list[str]** | | **type** | [**FavoriteType**](FavoriteType.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FavoriteGroup.md b/docs/FavoriteGroup.md index 00844f63..ab7b7d02 100644 --- a/docs/FavoriteGroup.md +++ b/docs/FavoriteGroup.md @@ -1,6 +1,7 @@ # FavoriteGroup + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- @@ -9,7 +10,7 @@ Name | Type | Description | Notes **name** | **str** | | **owner_display_name** | **str** | | **owner_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | -**tags** | **list[str]** | | +**tags** | **list[str]** | | **type** | [**FavoriteType**](FavoriteType.md) | | **visibility** | [**FavoriteGroupVisibility**](FavoriteGroupVisibility.md) | | diff --git a/docs/File.md b/docs/File.md index 509e8c32..665755b3 100644 --- a/docs/File.md +++ b/docs/File.md @@ -1,6 +1,7 @@ # File + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- @@ -9,8 +10,8 @@ Name | Type | Description | Notes **mime_type** | [**MIMEType**](MIMEType.md) | | **name** | **str** | | **owner_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | -**tags** | **list[str]** | | -**versions** | [**list[FileVersion]**](FileVersion.md) | | +**tags** | **list[str]** | | +**versions** | [**list[FileVersion]**](FileVersion.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FileData.md b/docs/FileData.md index e853c1f2..139fdd42 100644 --- a/docs/FileData.md +++ b/docs/FileData.md @@ -1,6 +1,7 @@ # FileData + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/FileUploadURL.md b/docs/FileUploadURL.md index dd7a5f28..798b137f 100644 --- a/docs/FileUploadURL.md +++ b/docs/FileUploadURL.md @@ -1,6 +1,7 @@ # FileUploadURL + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/FileVersion.md b/docs/FileVersion.md index fa09600b..5f60276b 100644 --- a/docs/FileVersion.md +++ b/docs/FileVersion.md @@ -1,6 +1,7 @@ # FileVersion + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/FileVersionUploadStatus.md b/docs/FileVersionUploadStatus.md index 9cb851f3..d3c4bdf3 100644 --- a/docs/FileVersionUploadStatus.md +++ b/docs/FileVersionUploadStatus.md @@ -1,6 +1,7 @@ # FileVersionUploadStatus + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/FinishFileDataUploadRequest.md b/docs/FinishFileDataUploadRequest.md index 6320e7e7..e89dc552 100644 --- a/docs/FinishFileDataUploadRequest.md +++ b/docs/FinishFileDataUploadRequest.md @@ -1,6 +1,7 @@ # FinishFileDataUploadRequest + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/Group.md b/docs/Group.md index 9c897977..4f539dac 100644 --- a/docs/Group.md +++ b/docs/Group.md @@ -22,8 +22,8 @@ Name | Type | Description | Notes **member_count_synced_at** | **datetime** | | [optional] **is_verified** | **bool** | | [optional] [default to False] **join_state** | [**GroupJoinState**](GroupJoinState.md) | | [optional] -**tags** | **list[str]** | | [optional] -**galleries** | [**list[GroupGallery]**](GroupGallery.md) | | [optional] +**tags** | **list[str]** | | [optional] +**galleries** | [**list[GroupGallery]**](GroupGallery.md) | | [optional] **created_at** | **datetime** | | [optional] **online_member_count** | **int** | | [optional] **membership_status** | [**GroupMemberStatus**](GroupMemberStatus.md) | | [optional] diff --git a/docs/GroupGallery.md b/docs/GroupGallery.md index 9c787efe..25cc8958 100644 --- a/docs/GroupGallery.md +++ b/docs/GroupGallery.md @@ -8,10 +8,10 @@ Name | Type | Description | Notes **name** | **str** | Name of the gallery. | [optional] **description** | **str** | Description of the gallery. | [optional] **members_only** | **bool** | Whether the gallery is members only. | [optional] [default to False] -**role_ids_to_view** | **list[str]** | | [optional] -**role_ids_to_submit** | **list[str]** | | [optional] -**role_ids_to_auto_approve** | **list[str]** | | [optional] -**role_ids_to_manage** | **list[str]** | | [optional] +**role_ids_to_view** | **list[str]** | | [optional] +**role_ids_to_submit** | **list[str]** | | [optional] +**role_ids_to_auto_approve** | **list[str]** | | [optional] +**role_ids_to_manage** | **list[str]** | | [optional] **created_at** | **datetime** | | [optional] **updated_at** | **datetime** | | [optional] diff --git a/docs/InfoPush.md b/docs/InfoPush.md index 101c6cce..f6500fce 100644 --- a/docs/InfoPush.md +++ b/docs/InfoPush.md @@ -1,6 +1,7 @@ # InfoPush + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- @@ -8,7 +9,7 @@ Name | Type | Description | Notes **is_enabled** | **bool** | | [default to True] **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | **priority** | **int** | | -**tags** | **list[str]** | | +**tags** | **list[str]** | | **data** | [**InfoPushData**](InfoPushData.md) | | **hash** | **str** | Unknown usage, MD5 | **created_at** | **datetime** | | diff --git a/docs/InfoPushData.md b/docs/InfoPushData.md index b4073f4a..26891523 100644 --- a/docs/InfoPushData.md +++ b/docs/InfoPushData.md @@ -1,6 +1,7 @@ # InfoPushData + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/InstanceType.md b/docs/InstanceType.md index 6bdd6968..2b332526 100644 --- a/docs/InstanceType.md +++ b/docs/InstanceType.md @@ -1,6 +1,7 @@ # InstanceType + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/InviteMessage.md b/docs/InviteMessage.md index a636209d..2620174b 100644 --- a/docs/InviteMessage.md +++ b/docs/InviteMessage.md @@ -1,6 +1,7 @@ # InviteMessage + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/InviteMessageType.md b/docs/InviteMessageType.md index 0a48c36a..7283c51f 100644 --- a/docs/InviteMessageType.md +++ b/docs/InviteMessageType.md @@ -1,6 +1,7 @@ # InviteMessageType + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/LicenseGroup.md b/docs/LicenseGroup.md index 83d8a4f2..71f89aa5 100644 --- a/docs/LicenseGroup.md +++ b/docs/LicenseGroup.md @@ -1,6 +1,7 @@ # LicenseGroup + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/LimitedUnityPackage.md b/docs/LimitedUnityPackage.md index 77edbf5f..3c6a2299 100644 --- a/docs/LimitedUnityPackage.md +++ b/docs/LimitedUnityPackage.md @@ -1,6 +1,7 @@ # LimitedUnityPackage + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/LimitedUser.md b/docs/LimitedUser.md index 008fd394..a4febad2 100644 --- a/docs/LimitedUser.md +++ b/docs/LimitedUser.md @@ -1,6 +1,7 @@ # LimitedUser + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/LimitedWorld.md b/docs/LimitedWorld.md index f6472a5c..9e768d87 100644 --- a/docs/LimitedWorld.md +++ b/docs/LimitedWorld.md @@ -1,6 +1,7 @@ # LimitedWorld + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- @@ -19,9 +20,9 @@ Name | Type | Description | Notes **popularity** | **int** | | [default to 0] **publication_date** | **str** | | **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | -**tags** | **list[str]** | | +**tags** | **list[str]** | | **thumbnail_image_url** | **str** | | -**unity_packages** | [**list[LimitedUnityPackage]**](LimitedUnityPackage.md) | | +**unity_packages** | [**list[LimitedUnityPackage]**](LimitedUnityPackage.md) | | **updated_at** | **datetime** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Notification.md b/docs/Notification.md index a289142c..ffa47ac9 100644 --- a/docs/Notification.md +++ b/docs/Notification.md @@ -1,6 +1,7 @@ # Notification + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/PaginatedGroupAuditLogEntryList.md b/docs/PaginatedGroupAuditLogEntryList.md index e244c64c..3d20f1bd 100644 --- a/docs/PaginatedGroupAuditLogEntryList.md +++ b/docs/PaginatedGroupAuditLogEntryList.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**results** | [**list[GroupAuditLogEntry]**](GroupAuditLogEntry.md) | | [optional] +**results** | [**list[GroupAuditLogEntry]**](GroupAuditLogEntry.md) | | [optional] **total_count** | **int** | The total number of results that the query would return if there were no pagination. | [optional] **has_next** | **bool** | Whether there are more results after this page. | [optional] diff --git a/docs/Permission.md b/docs/Permission.md index 308db5bb..c02d66e4 100644 --- a/docs/Permission.md +++ b/docs/Permission.md @@ -1,6 +1,7 @@ # Permission + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/SentNotification.md b/docs/SentNotification.md index d86a9c8b..cf248521 100644 --- a/docs/SentNotification.md +++ b/docs/SentNotification.md @@ -1,6 +1,7 @@ # SentNotification + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/Subscription.md b/docs/Subscription.md index 54e54f9b..2f3b3ab0 100644 --- a/docs/Subscription.md +++ b/docs/Subscription.md @@ -1,6 +1,7 @@ # Subscription + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/Transaction.md b/docs/Transaction.md index b069fedf..7359375d 100644 --- a/docs/Transaction.md +++ b/docs/Transaction.md @@ -1,6 +1,7 @@ # Transaction + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/TransactionAgreement.md b/docs/TransactionAgreement.md index b86a09c7..5ec065c1 100644 --- a/docs/TransactionAgreement.md +++ b/docs/TransactionAgreement.md @@ -1,6 +1,7 @@ # TransactionAgreement + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/TransactionSteamInfo.md b/docs/TransactionSteamInfo.md index 0c50fdfa..0facfdf8 100644 --- a/docs/TransactionSteamInfo.md +++ b/docs/TransactionSteamInfo.md @@ -1,6 +1,7 @@ # TransactionSteamInfo + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/TransactionSteamWalletInfo.md b/docs/TransactionSteamWalletInfo.md index 31fe89e0..5bc682fa 100644 --- a/docs/TransactionSteamWalletInfo.md +++ b/docs/TransactionSteamWalletInfo.md @@ -1,6 +1,7 @@ # TransactionSteamWalletInfo + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/UnityPackage.md b/docs/UnityPackage.md index bc04cad4..d1b96b23 100644 --- a/docs/UnityPackage.md +++ b/docs/UnityPackage.md @@ -1,6 +1,7 @@ # UnityPackage + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/UpdateAvatarRequest.md b/docs/UpdateAvatarRequest.md index 57592058..e2540d7d 100644 --- a/docs/UpdateAvatarRequest.md +++ b/docs/UpdateAvatarRequest.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **id** | **str** | | [optional] **name** | **str** | | [optional] **description** | **str** | | [optional] -**tags** | **list[str]** | | [optional] +**tags** | **list[str]** | | [optional] **image_url** | **str** | | [optional] **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | [optional] **version** | **float** | | [optional] [default to 1] diff --git a/docs/UpdateGroupGalleryRequest.md b/docs/UpdateGroupGalleryRequest.md index df44716e..100559ce 100644 --- a/docs/UpdateGroupGalleryRequest.md +++ b/docs/UpdateGroupGalleryRequest.md @@ -7,10 +7,10 @@ Name | Type | Description | Notes **name** | **str** | Name of the gallery. | [optional] **description** | **str** | Description of the gallery. | [optional] **members_only** | **bool** | Whether the gallery is members only. | [optional] [default to False] -**role_ids_to_view** | **list[str]** | | [optional] -**role_ids_to_submit** | **list[str]** | | [optional] -**role_ids_to_auto_approve** | **list[str]** | | [optional] -**role_ids_to_manage** | **list[str]** | | [optional] +**role_ids_to_view** | **list[str]** | | [optional] +**role_ids_to_submit** | **list[str]** | | [optional] +**role_ids_to_auto_approve** | **list[str]** | | [optional] +**role_ids_to_manage** | **list[str]** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UpdateGroupRequest.md b/docs/UpdateGroupRequest.md index cdce7a24..ab2c9864 100644 --- a/docs/UpdateGroupRequest.md +++ b/docs/UpdateGroupRequest.md @@ -8,12 +8,12 @@ Name | Type | Description | Notes **short_code** | **str** | | [optional] **description** | **str** | | [optional] **join_state** | [**GroupJoinState**](GroupJoinState.md) | | [optional] -**icon_id** | **str** | | [optional] [default to 'null'] -**banner_id** | **str** | | [optional] [default to 'null'] +**icon_id** | **str** | | [optional] +**banner_id** | **str** | | [optional] **languages** | **list[str]** | 3 letter language code | [optional] **links** | **list[str]** | | [optional] **rules** | **str** | | [optional] -**tags** | **list[str]** | | [optional] +**tags** | **list[str]** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UpdateUserRequest.md b/docs/UpdateUserRequest.md index a3d2a72b..f5806be7 100644 --- a/docs/UpdateUserRequest.md +++ b/docs/UpdateUserRequest.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **email** | **str** | | [optional] **birthday** | **date** | | [optional] **accepted_tos_version** | **float** | | [optional] -**tags** | **list[str]** | | [optional] +**tags** | **list[str]** | | [optional] **status** | [**UserStatus**](UserStatus.md) | | [optional] **status_description** | **str** | | [optional] **bio** | **str** | | [optional] diff --git a/docs/UpdateWorldRequest.md b/docs/UpdateWorldRequest.md index 2c57a4f8..968fed3a 100644 --- a/docs/UpdateWorldRequest.md +++ b/docs/UpdateWorldRequest.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes **name** | **str** | | [optional] **platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | [optional] **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | [optional] -**tags** | **list[str]** | | [optional] +**tags** | **list[str]** | | [optional] **unity_package_url** | **str** | | [optional] **unity_version** | **str** | | [optional] [default to '5.3.4p1'] diff --git a/docs/User.md b/docs/User.md index fc84c438..6740390d 100644 --- a/docs/User.md +++ b/docs/User.md @@ -26,7 +26,7 @@ Name | Type | Description | Notes **state** | [**UserState**](UserState.md) | | **status** | [**UserStatus**](UserStatus.md) | | **status_description** | **str** | | -**tags** | **list[str]** | | +**tags** | **list[str]** | | **traveling_to_instance** | **str** | | [optional] **traveling_to_location** | **str** | | [optional] **traveling_to_world** | **str** | | [optional] diff --git a/docs/UserSubscription.md b/docs/UserSubscription.md index 8170af1e..fc71ddc0 100644 --- a/docs/UserSubscription.md +++ b/docs/UserSubscription.md @@ -1,6 +1,7 @@ # UserSubscription + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/World.md b/docs/World.md index 03c09bab..f1ab2456 100644 --- a/docs/World.md +++ b/docs/World.md @@ -1,6 +1,7 @@ # World + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- @@ -26,7 +27,7 @@ Name | Type | Description | Notes **public_occupants** | **int** | Will always be `0` when unauthenticated. | [optional] [default to 0] **publication_date** | **str** | | **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | -**tags** | **list[str]** | | +**tags** | **list[str]** | | **thumbnail_image_url** | **str** | | **unity_packages** | [**list[UnityPackage]**](UnityPackage.md) | Empty if unauthenticated. | **updated_at** | **datetime** | | diff --git a/openapitools.json b/openapitools.json index 3b40e47a..f5f966a1 100644 --- a/openapitools.json +++ b/openapitools.json @@ -2,6 +2,6 @@ "$schema": "node_modules/@openapitools/openapi-generator-cli/config.schema.json", "spaces": 2, "generator-cli": { - "version": "5.3.0" + "version": "6.2.1" } } diff --git a/setup.py b/setup.py index 7c2ecabe..9f09401e 100644 --- a/setup.py +++ b/setup.py @@ -107,6 +107,7 @@ packages=find_packages(exclude=["test", "tests"]), include_package_data=True, license="The MIT License (MIT)", + long_description_content_type='text/markdown', long_description="""\ ![](https://github.com/vrchatapi/vrchatapi.github.io/blob/main/static/assets/img/lang/lang_python_banner_1500x300.png?raw=true) diff --git a/test-requirements.txt b/test-requirements.txt index 4ed3991c..96e37c87 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,3 +1,4 @@ pytest~=4.6.7 # needed for python 2.7+3.4 pytest-cov>=2.8.1 pytest-randomly==1.2.3 # needed for python 2.7+3.4 +mock; python_version<'3.0' diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index 0ab4a862..24672b27 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -107,6 +107,7 @@ def check_user_exists_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -127,7 +128,9 @@ def check_user_exists_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -145,16 +148,16 @@ def check_user_exists_with_http_info(self, **kwargs): # noqa: E501 path_params = {} query_params = [] - if 'email' in local_var_params and local_var_params['email'] is not None: # noqa: E501 + if local_var_params.get('email') is not None: # noqa: E501 query_params.append(('email', local_var_params['email'])) # noqa: E501 - if 'display_name' in local_var_params and local_var_params['display_name'] is not None: # noqa: E501 + if local_var_params.get('display_name') is not None: # noqa: E501 query_params.append(('displayName', local_var_params['display_name'])) # noqa: E501 - if 'user_id' in local_var_params and local_var_params['user_id'] is not None: # noqa: E501 + if local_var_params.get('user_id') is not None: # noqa: E501 query_params.append(('userId', local_var_params['user_id'])) # noqa: E501 - if 'exclude_user_id' in local_var_params and local_var_params['exclude_user_id'] is not None: # noqa: E501 + if local_var_params.get('exclude_user_id') is not None: # noqa: E501 query_params.append(('excludeUserId', local_var_params['exclude_user_id'])) # noqa: E501 - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -248,6 +251,7 @@ def delete_user_with_http_info(self, user_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -265,7 +269,9 @@ def delete_user_with_http_info(self, user_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -278,8 +284,7 @@ def delete_user_with_http_info(self, user_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 - local_var_params['user_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `delete_user`") # noqa: E501 collection_formats = {} @@ -290,7 +295,7 @@ def delete_user_with_http_info(self, user_id, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -380,6 +385,7 @@ def get_current_user_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -396,7 +402,9 @@ def get_current_user_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -415,7 +423,7 @@ def get_current_user_with_http_info(self, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -505,6 +513,7 @@ def logout_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -521,7 +530,9 @@ def logout_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -540,7 +551,7 @@ def logout_with_http_info(self, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -634,6 +645,7 @@ def verify2_fa_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -651,7 +663,9 @@ def verify2_fa_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -670,7 +684,7 @@ def verify2_fa_with_http_info(self, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -683,8 +697,12 @@ def verify2_fa_with_http_info(self, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list # Authentication setting auth_settings = ['authCookie'] # noqa: E501 @@ -766,6 +784,7 @@ def verify_auth_token_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -782,7 +801,9 @@ def verify_auth_token_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -801,7 +822,7 @@ def verify_auth_token_with_http_info(self, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -895,6 +916,7 @@ def verify_recovery_code_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -912,7 +934,9 @@ def verify_recovery_code_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -931,7 +955,7 @@ def verify_recovery_code_with_http_info(self, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -944,8 +968,12 @@ def verify_recovery_code_with_http_info(self, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list # Authentication setting auth_settings = ['authCookie'] # noqa: E501 diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index 8d92b9d4..f3a232f0 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -95,6 +95,7 @@ def create_avatar_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -112,7 +113,9 @@ def create_avatar_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -131,7 +134,7 @@ def create_avatar_with_http_info(self, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -144,8 +147,12 @@ def create_avatar_with_http_info(self, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list # Authentication setting auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 @@ -231,6 +238,7 @@ def delete_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -248,7 +256,9 @@ def delete_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -261,8 +271,7 @@ def delete_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'avatar_id' is set - if self.api_client.client_side_validation and ('avatar_id' not in local_var_params or # noqa: E501 - local_var_params['avatar_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('avatar_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `avatar_id` when calling `delete_avatar`") # noqa: E501 collection_formats = {} @@ -273,7 +282,7 @@ def delete_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -368,6 +377,7 @@ def get_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -385,7 +395,9 @@ def get_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -398,8 +410,7 @@ def get_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'avatar_id' is set - if self.api_client.client_side_validation and ('avatar_id' not in local_var_params or # noqa: E501 - local_var_params['avatar_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('avatar_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `avatar_id` when calling `get_avatar`") # noqa: E501 collection_formats = {} @@ -410,7 +421,7 @@ def get_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -553,6 +564,7 @@ def get_favorited_avatars_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -582,7 +594,9 @@ def get_favorited_avatars_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -606,34 +620,34 @@ def get_favorited_avatars_with_http_info(self, **kwargs): # noqa: E501 path_params = {} query_params = [] - if 'featured' in local_var_params and local_var_params['featured'] is not None: # noqa: E501 + if local_var_params.get('featured') is not None: # noqa: E501 query_params.append(('featured', local_var_params['featured'])) # noqa: E501 - if 'sort' in local_var_params and local_var_params['sort'] is not None: # noqa: E501 + if local_var_params.get('sort') is not None: # noqa: E501 query_params.append(('sort', local_var_params['sort'])) # noqa: E501 - if 'n' in local_var_params and local_var_params['n'] is not None: # noqa: E501 + if local_var_params.get('n') is not None: # noqa: E501 query_params.append(('n', local_var_params['n'])) # noqa: E501 - if 'order' in local_var_params and local_var_params['order'] is not None: # noqa: E501 + if local_var_params.get('order') is not None: # noqa: E501 query_params.append(('order', local_var_params['order'])) # noqa: E501 - if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 query_params.append(('offset', local_var_params['offset'])) # noqa: E501 - if 'search' in local_var_params and local_var_params['search'] is not None: # noqa: E501 + if local_var_params.get('search') is not None: # noqa: E501 query_params.append(('search', local_var_params['search'])) # noqa: E501 - if 'tag' in local_var_params and local_var_params['tag'] is not None: # noqa: E501 + if local_var_params.get('tag') is not None: # noqa: E501 query_params.append(('tag', local_var_params['tag'])) # noqa: E501 - if 'notag' in local_var_params and local_var_params['notag'] is not None: # noqa: E501 + if local_var_params.get('notag') is not None: # noqa: E501 query_params.append(('notag', local_var_params['notag'])) # noqa: E501 - if 'release_status' in local_var_params and local_var_params['release_status'] is not None: # noqa: E501 + if local_var_params.get('release_status') is not None: # noqa: E501 query_params.append(('releaseStatus', local_var_params['release_status'])) # noqa: E501 - if 'max_unity_version' in local_var_params and local_var_params['max_unity_version'] is not None: # noqa: E501 + if local_var_params.get('max_unity_version') is not None: # noqa: E501 query_params.append(('maxUnityVersion', local_var_params['max_unity_version'])) # noqa: E501 - if 'min_unity_version' in local_var_params and local_var_params['min_unity_version'] is not None: # noqa: E501 + if local_var_params.get('min_unity_version') is not None: # noqa: E501 query_params.append(('minUnityVersion', local_var_params['min_unity_version'])) # noqa: E501 - if 'platform' in local_var_params and local_var_params['platform'] is not None: # noqa: E501 + if local_var_params.get('platform') is not None: # noqa: E501 query_params.append(('platform', local_var_params['platform'])) # noqa: E501 - if 'user_id' in local_var_params and local_var_params['user_id'] is not None: # noqa: E501 + if local_var_params.get('user_id') is not None: # noqa: E501 query_params.append(('userId', local_var_params['user_id'])) # noqa: E501 - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -728,6 +742,7 @@ def get_own_avatar_with_http_info(self, user_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -745,7 +760,9 @@ def get_own_avatar_with_http_info(self, user_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -758,8 +775,7 @@ def get_own_avatar_with_http_info(self, user_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 - local_var_params['user_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `get_own_avatar`") # noqa: E501 collection_formats = {} @@ -770,7 +786,7 @@ def get_own_avatar_with_http_info(self, user_id, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -913,6 +929,7 @@ def search_avatars_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -942,7 +959,9 @@ def search_avatars_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -966,34 +985,34 @@ def search_avatars_with_http_info(self, **kwargs): # noqa: E501 path_params = {} query_params = [] - if 'featured' in local_var_params and local_var_params['featured'] is not None: # noqa: E501 + if local_var_params.get('featured') is not None: # noqa: E501 query_params.append(('featured', local_var_params['featured'])) # noqa: E501 - if 'sort' in local_var_params and local_var_params['sort'] is not None: # noqa: E501 + if local_var_params.get('sort') is not None: # noqa: E501 query_params.append(('sort', local_var_params['sort'])) # noqa: E501 - if 'user' in local_var_params and local_var_params['user'] is not None: # noqa: E501 + if local_var_params.get('user') is not None: # noqa: E501 query_params.append(('user', local_var_params['user'])) # noqa: E501 - if 'user_id' in local_var_params and local_var_params['user_id'] is not None: # noqa: E501 + if local_var_params.get('user_id') is not None: # noqa: E501 query_params.append(('userId', local_var_params['user_id'])) # noqa: E501 - if 'n' in local_var_params and local_var_params['n'] is not None: # noqa: E501 + if local_var_params.get('n') is not None: # noqa: E501 query_params.append(('n', local_var_params['n'])) # noqa: E501 - if 'order' in local_var_params and local_var_params['order'] is not None: # noqa: E501 + if local_var_params.get('order') is not None: # noqa: E501 query_params.append(('order', local_var_params['order'])) # noqa: E501 - if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 query_params.append(('offset', local_var_params['offset'])) # noqa: E501 - if 'tag' in local_var_params and local_var_params['tag'] is not None: # noqa: E501 + if local_var_params.get('tag') is not None: # noqa: E501 query_params.append(('tag', local_var_params['tag'])) # noqa: E501 - if 'notag' in local_var_params and local_var_params['notag'] is not None: # noqa: E501 + if local_var_params.get('notag') is not None: # noqa: E501 query_params.append(('notag', local_var_params['notag'])) # noqa: E501 - if 'release_status' in local_var_params and local_var_params['release_status'] is not None: # noqa: E501 + if local_var_params.get('release_status') is not None: # noqa: E501 query_params.append(('releaseStatus', local_var_params['release_status'])) # noqa: E501 - if 'max_unity_version' in local_var_params and local_var_params['max_unity_version'] is not None: # noqa: E501 + if local_var_params.get('max_unity_version') is not None: # noqa: E501 query_params.append(('maxUnityVersion', local_var_params['max_unity_version'])) # noqa: E501 - if 'min_unity_version' in local_var_params and local_var_params['min_unity_version'] is not None: # noqa: E501 + if local_var_params.get('min_unity_version') is not None: # noqa: E501 query_params.append(('minUnityVersion', local_var_params['min_unity_version'])) # noqa: E501 - if 'platform' in local_var_params and local_var_params['platform'] is not None: # noqa: E501 + if local_var_params.get('platform') is not None: # noqa: E501 query_params.append(('platform', local_var_params['platform'])) # noqa: E501 - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -1087,6 +1106,7 @@ def select_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -1104,7 +1124,9 @@ def select_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -1117,8 +1139,7 @@ def select_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'avatar_id' is set - if self.api_client.client_side_validation and ('avatar_id' not in local_var_params or # noqa: E501 - local_var_params['avatar_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('avatar_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `avatar_id` when calling `select_avatar`") # noqa: E501 collection_formats = {} @@ -1129,7 +1150,7 @@ def select_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -1224,6 +1245,7 @@ def select_fallback_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -1241,7 +1263,9 @@ def select_fallback_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -1254,8 +1278,7 @@ def select_fallback_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'avatar_id' is set - if self.api_client.client_side_validation and ('avatar_id' not in local_var_params or # noqa: E501 - local_var_params['avatar_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('avatar_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `avatar_id` when calling `select_fallback_avatar`") # noqa: E501 collection_formats = {} @@ -1266,7 +1289,7 @@ def select_fallback_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -1366,6 +1389,7 @@ def update_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -1384,7 +1408,9 @@ def update_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -1397,8 +1423,7 @@ def update_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'avatar_id' is set - if self.api_client.client_side_validation and ('avatar_id' not in local_var_params or # noqa: E501 - local_var_params['avatar_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('avatar_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `avatar_id` when calling `update_avatar`") # noqa: E501 collection_formats = {} @@ -1409,7 +1434,7 @@ def update_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -1422,8 +1447,12 @@ def update_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'PUT', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list # Authentication setting auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index b976790e..8fe1bd0c 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -91,6 +91,7 @@ def get_current_subscriptions_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -107,7 +108,9 @@ def get_current_subscriptions_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -126,7 +129,7 @@ def get_current_subscriptions_with_http_info(self, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -220,6 +223,7 @@ def get_license_group_with_http_info(self, license_group_id, **kwargs): # noqa: request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -237,7 +241,9 @@ def get_license_group_with_http_info(self, license_group_id, **kwargs): # noqa: '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -250,8 +256,7 @@ def get_license_group_with_http_info(self, license_group_id, **kwargs): # noqa: local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'license_group_id' is set - if self.api_client.client_side_validation and ('license_group_id' not in local_var_params or # noqa: E501 - local_var_params['license_group_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('license_group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `license_group_id` when calling `get_license_group`") # noqa: E501 collection_formats = {} @@ -262,7 +267,7 @@ def get_license_group_with_http_info(self, license_group_id, **kwargs): # noqa: query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -356,6 +361,7 @@ def get_steam_transaction_with_http_info(self, transaction_id, **kwargs): # noq request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -373,7 +379,9 @@ def get_steam_transaction_with_http_info(self, transaction_id, **kwargs): # noq '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -386,8 +394,7 @@ def get_steam_transaction_with_http_info(self, transaction_id, **kwargs): # noq local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'transaction_id' is set - if self.api_client.client_side_validation and ('transaction_id' not in local_var_params or # noqa: E501 - local_var_params['transaction_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('transaction_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `transaction_id` when calling `get_steam_transaction`") # noqa: E501 collection_formats = {} @@ -398,7 +405,7 @@ def get_steam_transaction_with_http_info(self, transaction_id, **kwargs): # noq query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -488,6 +495,7 @@ def get_steam_transactions_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -504,7 +512,9 @@ def get_steam_transactions_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -523,7 +533,7 @@ def get_steam_transactions_with_http_info(self, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -613,6 +623,7 @@ def get_subscriptions_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -629,7 +640,9 @@ def get_subscriptions_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -648,7 +661,7 @@ def get_subscriptions_with_http_info(self, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index bc74aa53..56f2cc07 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -46,7 +46,7 @@ def add_favorite(self, **kwargs): # noqa: E501 >>> thread = api.add_favorite(async_req=True) >>> result = thread.get() - :param add_favorite_request: + :param add_favorite_request: :type add_favorite_request: AddFavoriteRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -76,7 +76,7 @@ def add_favorite_with_http_info(self, **kwargs): # noqa: E501 >>> thread = api.add_favorite_with_http_info(async_req=True) >>> result = thread.get() - :param add_favorite_request: + :param add_favorite_request: :type add_favorite_request: AddFavoriteRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -95,6 +95,7 @@ def add_favorite_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -112,7 +113,9 @@ def add_favorite_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -131,7 +134,7 @@ def add_favorite_with_http_info(self, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -144,8 +147,12 @@ def add_favorite_with_http_info(self, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list # Authentication setting auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 @@ -240,6 +247,7 @@ def clear_favorite_group_with_http_info(self, favorite_group_type, favorite_grou request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -259,7 +267,9 @@ def clear_favorite_group_with_http_info(self, favorite_group_type, favorite_grou '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -272,16 +282,13 @@ def clear_favorite_group_with_http_info(self, favorite_group_type, favorite_grou local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'favorite_group_type' is set - if self.api_client.client_side_validation and ('favorite_group_type' not in local_var_params or # noqa: E501 - local_var_params['favorite_group_type'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('favorite_group_type') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `favorite_group_type` when calling `clear_favorite_group`") # noqa: E501 # verify the required parameter 'favorite_group_name' is set - if self.api_client.client_side_validation and ('favorite_group_name' not in local_var_params or # noqa: E501 - local_var_params['favorite_group_name'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('favorite_group_name') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `favorite_group_name` when calling `clear_favorite_group`") # noqa: E501 # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 - local_var_params['user_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `clear_favorite_group`") # noqa: E501 collection_formats = {} @@ -296,7 +303,7 @@ def clear_favorite_group_with_http_info(self, favorite_group_type, favorite_grou query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -389,6 +396,7 @@ def get_favorite_with_http_info(self, favorite_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -406,7 +414,9 @@ def get_favorite_with_http_info(self, favorite_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -419,8 +429,7 @@ def get_favorite_with_http_info(self, favorite_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'favorite_id' is set - if self.api_client.client_side_validation and ('favorite_id' not in local_var_params or # noqa: E501 - local_var_params['favorite_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('favorite_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `favorite_id` when calling `get_favorite`") # noqa: E501 collection_formats = {} @@ -431,7 +440,7 @@ def get_favorite_with_http_info(self, favorite_id, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -534,6 +543,7 @@ def get_favorite_group_with_http_info(self, favorite_group_type, favorite_group_ request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -553,7 +563,9 @@ def get_favorite_group_with_http_info(self, favorite_group_type, favorite_group_ '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -566,16 +578,13 @@ def get_favorite_group_with_http_info(self, favorite_group_type, favorite_group_ local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'favorite_group_type' is set - if self.api_client.client_side_validation and ('favorite_group_type' not in local_var_params or # noqa: E501 - local_var_params['favorite_group_type'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('favorite_group_type') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `favorite_group_type` when calling `get_favorite_group`") # noqa: E501 # verify the required parameter 'favorite_group_name' is set - if self.api_client.client_side_validation and ('favorite_group_name' not in local_var_params or # noqa: E501 - local_var_params['favorite_group_name'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('favorite_group_name') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `favorite_group_name` when calling `get_favorite_group`") # noqa: E501 # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 - local_var_params['user_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `get_favorite_group`") # noqa: E501 collection_formats = {} @@ -590,7 +599,7 @@ def get_favorite_group_with_http_info(self, favorite_group_type, favorite_group_ query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -691,6 +700,7 @@ def get_favorite_groups_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -710,7 +720,9 @@ def get_favorite_groups_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -734,14 +746,14 @@ def get_favorite_groups_with_http_info(self, **kwargs): # noqa: E501 path_params = {} query_params = [] - if 'n' in local_var_params and local_var_params['n'] is not None: # noqa: E501 + if local_var_params.get('n') is not None: # noqa: E501 query_params.append(('n', local_var_params['n'])) # noqa: E501 - if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 query_params.append(('offset', local_var_params['offset'])) # noqa: E501 - if 'owner_id' in local_var_params and local_var_params['owner_id'] is not None: # noqa: E501 + if local_var_params.get('owner_id') is not None: # noqa: E501 query_params.append(('ownerId', local_var_params['owner_id'])) # noqa: E501 - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -847,6 +859,7 @@ def get_favorites_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -867,7 +880,9 @@ def get_favorites_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -891,16 +906,16 @@ def get_favorites_with_http_info(self, **kwargs): # noqa: E501 path_params = {} query_params = [] - if 'n' in local_var_params and local_var_params['n'] is not None: # noqa: E501 + if local_var_params.get('n') is not None: # noqa: E501 query_params.append(('n', local_var_params['n'])) # noqa: E501 - if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 query_params.append(('offset', local_var_params['offset'])) # noqa: E501 - if 'type' in local_var_params and local_var_params['type'] is not None: # noqa: E501 + if local_var_params.get('type') is not None: # noqa: E501 query_params.append(('type', local_var_params['type'])) # noqa: E501 - if 'tag' in local_var_params and local_var_params['tag'] is not None: # noqa: E501 + if local_var_params.get('tag') is not None: # noqa: E501 query_params.append(('tag', local_var_params['tag'])) # noqa: E501 - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -994,6 +1009,7 @@ def remove_favorite_with_http_info(self, favorite_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -1011,7 +1027,9 @@ def remove_favorite_with_http_info(self, favorite_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -1024,8 +1042,7 @@ def remove_favorite_with_http_info(self, favorite_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'favorite_id' is set - if self.api_client.client_side_validation and ('favorite_id' not in local_var_params or # noqa: E501 - local_var_params['favorite_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('favorite_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `favorite_id` when calling `remove_favorite`") # noqa: E501 collection_formats = {} @@ -1036,7 +1053,7 @@ def remove_favorite_with_http_info(self, favorite_id, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -1143,6 +1160,7 @@ def update_favorite_group_with_http_info(self, favorite_group_type, favorite_gro request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -1163,7 +1181,9 @@ def update_favorite_group_with_http_info(self, favorite_group_type, favorite_gro '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -1176,16 +1196,13 @@ def update_favorite_group_with_http_info(self, favorite_group_type, favorite_gro local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'favorite_group_type' is set - if self.api_client.client_side_validation and ('favorite_group_type' not in local_var_params or # noqa: E501 - local_var_params['favorite_group_type'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('favorite_group_type') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `favorite_group_type` when calling `update_favorite_group`") # noqa: E501 # verify the required parameter 'favorite_group_name' is set - if self.api_client.client_side_validation and ('favorite_group_name' not in local_var_params or # noqa: E501 - local_var_params['favorite_group_name'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('favorite_group_name') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `favorite_group_name` when calling `update_favorite_group`") # noqa: E501 # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 - local_var_params['user_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `update_favorite_group`") # noqa: E501 collection_formats = {} @@ -1200,7 +1217,7 @@ def update_favorite_group_with_http_info(self, favorite_group_type, favorite_gro query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -1209,8 +1226,12 @@ def update_favorite_group_with_http_info(self, favorite_group_type, favorite_gro if 'update_favorite_group_request' in local_var_params: body_params = local_var_params['update_favorite_group_request'] # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'PUT', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list # Authentication setting auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index 09938262..729ca563 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -95,6 +95,7 @@ def create_file_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -112,7 +113,9 @@ def create_file_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -131,7 +134,7 @@ def create_file_with_http_info(self, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -144,8 +147,12 @@ def create_file_with_http_info(self, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list # Authentication setting auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 @@ -234,6 +241,7 @@ def create_file_version_with_http_info(self, file_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -252,7 +260,9 @@ def create_file_version_with_http_info(self, file_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -265,8 +275,7 @@ def create_file_version_with_http_info(self, file_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'file_id' is set - if self.api_client.client_side_validation and ('file_id' not in local_var_params or # noqa: E501 - local_var_params['file_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('file_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `file_id` when calling `create_file_version`") # noqa: E501 if self.api_client.client_side_validation and 'file_id' in local_var_params and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['file_id']): # noqa: E501 @@ -279,7 +288,7 @@ def create_file_version_with_http_info(self, file_id, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -292,8 +301,12 @@ def create_file_version_with_http_info(self, file_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list # Authentication setting auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 @@ -378,6 +391,7 @@ def delete_file_with_http_info(self, file_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -395,7 +409,9 @@ def delete_file_with_http_info(self, file_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -408,8 +424,7 @@ def delete_file_with_http_info(self, file_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'file_id' is set - if self.api_client.client_side_validation and ('file_id' not in local_var_params or # noqa: E501 - local_var_params['file_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('file_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `file_id` when calling `delete_file`") # noqa: E501 if self.api_client.client_side_validation and 'file_id' in local_var_params and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['file_id']): # noqa: E501 @@ -422,7 +437,7 @@ def delete_file_with_http_info(self, file_id, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -520,6 +535,7 @@ def delete_file_version_with_http_info(self, file_id, version_id, **kwargs): # request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -538,7 +554,9 @@ def delete_file_version_with_http_info(self, file_id, version_id, **kwargs): # '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -551,12 +569,10 @@ def delete_file_version_with_http_info(self, file_id, version_id, **kwargs): # local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'file_id' is set - if self.api_client.client_side_validation and ('file_id' not in local_var_params or # noqa: E501 - local_var_params['file_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('file_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `file_id` when calling `delete_file_version`") # noqa: E501 # verify the required parameter 'version_id' is set - if self.api_client.client_side_validation and ('version_id' not in local_var_params or # noqa: E501 - local_var_params['version_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('version_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `version_id` when calling `delete_file_version`") # noqa: E501 if self.api_client.client_side_validation and 'file_id' in local_var_params and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['file_id']): # noqa: E501 @@ -573,7 +589,7 @@ def delete_file_version_with_http_info(self, file_id, version_id, **kwargs): # query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -672,6 +688,7 @@ def download_file_version_with_http_info(self, file_id, version_id, **kwargs): request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -690,7 +707,9 @@ def download_file_version_with_http_info(self, file_id, version_id, **kwargs): '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -703,12 +722,10 @@ def download_file_version_with_http_info(self, file_id, version_id, **kwargs): local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'file_id' is set - if self.api_client.client_side_validation and ('file_id' not in local_var_params or # noqa: E501 - local_var_params['file_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('file_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `file_id` when calling `download_file_version`") # noqa: E501 # verify the required parameter 'version_id' is set - if self.api_client.client_side_validation and ('version_id' not in local_var_params or # noqa: E501 - local_var_params['version_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('version_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `version_id` when calling `download_file_version`") # noqa: E501 if self.api_client.client_side_validation and 'file_id' in local_var_params and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['file_id']): # noqa: E501 @@ -725,7 +742,7 @@ def download_file_version_with_http_info(self, file_id, version_id, **kwargs): query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -824,6 +841,7 @@ def finish_file_data_upload_with_http_info(self, file_id, version_id, file_type, request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -844,7 +862,9 @@ def finish_file_data_upload_with_http_info(self, file_id, version_id, file_type, '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -857,16 +877,13 @@ def finish_file_data_upload_with_http_info(self, file_id, version_id, file_type, local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'file_id' is set - if self.api_client.client_side_validation and ('file_id' not in local_var_params or # noqa: E501 - local_var_params['file_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('file_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `file_id` when calling `finish_file_data_upload`") # noqa: E501 # verify the required parameter 'version_id' is set - if self.api_client.client_side_validation and ('version_id' not in local_var_params or # noqa: E501 - local_var_params['version_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('version_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `version_id` when calling `finish_file_data_upload`") # noqa: E501 # verify the required parameter 'file_type' is set - if self.api_client.client_side_validation and ('file_type' not in local_var_params or # noqa: E501 - local_var_params['file_type'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('file_type') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `file_type` when calling `finish_file_data_upload`") # noqa: E501 if self.api_client.client_side_validation and 'file_id' in local_var_params and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['file_id']): # noqa: E501 @@ -885,7 +902,7 @@ def finish_file_data_upload_with_http_info(self, file_id, version_id, file_type, query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -898,8 +915,12 @@ def finish_file_data_upload_with_http_info(self, file_id, version_id, file_type, ['application/json']) # noqa: E501 # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'PUT', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list # Authentication setting auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 @@ -984,6 +1005,7 @@ def get_file_with_http_info(self, file_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -1001,7 +1023,9 @@ def get_file_with_http_info(self, file_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -1014,8 +1038,7 @@ def get_file_with_http_info(self, file_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'file_id' is set - if self.api_client.client_side_validation and ('file_id' not in local_var_params or # noqa: E501 - local_var_params['file_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('file_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `file_id` when calling `get_file`") # noqa: E501 if self.api_client.client_side_validation and 'file_id' in local_var_params and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['file_id']): # noqa: E501 @@ -1028,7 +1051,7 @@ def get_file_with_http_info(self, file_id, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -1130,6 +1153,7 @@ def get_file_data_upload_status_with_http_info(self, file_id, version_id, file_t request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -1149,7 +1173,9 @@ def get_file_data_upload_status_with_http_info(self, file_id, version_id, file_t '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -1162,16 +1188,13 @@ def get_file_data_upload_status_with_http_info(self, file_id, version_id, file_t local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'file_id' is set - if self.api_client.client_side_validation and ('file_id' not in local_var_params or # noqa: E501 - local_var_params['file_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('file_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `file_id` when calling `get_file_data_upload_status`") # noqa: E501 # verify the required parameter 'version_id' is set - if self.api_client.client_side_validation and ('version_id' not in local_var_params or # noqa: E501 - local_var_params['version_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('version_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `version_id` when calling `get_file_data_upload_status`") # noqa: E501 # verify the required parameter 'file_type' is set - if self.api_client.client_side_validation and ('file_type' not in local_var_params or # noqa: E501 - local_var_params['file_type'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('file_type') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `file_type` when calling `get_file_data_upload_status`") # noqa: E501 if self.api_client.client_side_validation and 'file_id' in local_var_params and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['file_id']): # noqa: E501 @@ -1190,7 +1213,7 @@ def get_file_data_upload_status_with_http_info(self, file_id, version_id, file_t query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -1295,6 +1318,7 @@ def get_files_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -1315,7 +1339,9 @@ def get_files_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -1342,16 +1368,16 @@ def get_files_with_http_info(self, **kwargs): # noqa: E501 path_params = {} query_params = [] - if 'tag' in local_var_params and local_var_params['tag'] is not None: # noqa: E501 + if local_var_params.get('tag') is not None: # noqa: E501 query_params.append(('tag', local_var_params['tag'])) # noqa: E501 - if 'user_id' in local_var_params and local_var_params['user_id'] is not None: # noqa: E501 + if local_var_params.get('user_id') is not None: # noqa: E501 query_params.append(('userId', local_var_params['user_id'])) # noqa: E501 - if 'n' in local_var_params and local_var_params['n'] is not None: # noqa: E501 + if local_var_params.get('n') is not None: # noqa: E501 query_params.append(('n', local_var_params['n'])) # noqa: E501 - if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 query_params.append(('offset', local_var_params['offset'])) # noqa: E501 - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -1456,6 +1482,7 @@ def start_file_data_upload_with_http_info(self, file_id, version_id, file_type, request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -1476,7 +1503,9 @@ def start_file_data_upload_with_http_info(self, file_id, version_id, file_type, '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -1489,16 +1518,13 @@ def start_file_data_upload_with_http_info(self, file_id, version_id, file_type, local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'file_id' is set - if self.api_client.client_side_validation and ('file_id' not in local_var_params or # noqa: E501 - local_var_params['file_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('file_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `file_id` when calling `start_file_data_upload`") # noqa: E501 # verify the required parameter 'version_id' is set - if self.api_client.client_side_validation and ('version_id' not in local_var_params or # noqa: E501 - local_var_params['version_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('version_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `version_id` when calling `start_file_data_upload`") # noqa: E501 # verify the required parameter 'file_type' is set - if self.api_client.client_side_validation and ('file_type' not in local_var_params or # noqa: E501 - local_var_params['file_type'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('file_type') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `file_type` when calling `start_file_data_upload`") # noqa: E501 if self.api_client.client_side_validation and 'file_id' in local_var_params and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['file_id']): # noqa: E501 @@ -1518,10 +1544,10 @@ def start_file_data_upload_with_http_info(self, file_id, version_id, file_type, path_params['fileType'] = local_var_params['file_type'] # noqa: E501 query_params = [] - if 'part_number' in local_var_params and local_var_params['part_number'] is not None: # noqa: E501 + if local_var_params.get('part_number') is not None: # noqa: E501 query_params.append(('partNumber', local_var_params['part_number'])) # noqa: E501 - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index efde4a62..d1c2298b 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -95,6 +95,7 @@ def delete_friend_request_with_http_info(self, user_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -112,7 +113,9 @@ def delete_friend_request_with_http_info(self, user_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -125,8 +128,7 @@ def delete_friend_request_with_http_info(self, user_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 - local_var_params['user_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `delete_friend_request`") # noqa: E501 collection_formats = {} @@ -137,7 +139,7 @@ def delete_friend_request_with_http_info(self, user_id, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -232,6 +234,7 @@ def friend_with_http_info(self, user_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -249,7 +252,9 @@ def friend_with_http_info(self, user_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -262,8 +267,7 @@ def friend_with_http_info(self, user_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 - local_var_params['user_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `friend`") # noqa: E501 collection_formats = {} @@ -274,7 +278,7 @@ def friend_with_http_info(self, user_id, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -369,6 +373,7 @@ def get_friend_status_with_http_info(self, user_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -386,7 +391,9 @@ def get_friend_status_with_http_info(self, user_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -399,8 +406,7 @@ def get_friend_status_with_http_info(self, user_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 - local_var_params['user_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `get_friend_status`") # noqa: E501 collection_formats = {} @@ -411,7 +417,7 @@ def get_friend_status_with_http_info(self, user_id, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -513,6 +519,7 @@ def get_friends_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -532,7 +539,9 @@ def get_friends_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -556,14 +565,14 @@ def get_friends_with_http_info(self, **kwargs): # noqa: E501 path_params = {} query_params = [] - if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 query_params.append(('offset', local_var_params['offset'])) # noqa: E501 - if 'n' in local_var_params and local_var_params['n'] is not None: # noqa: E501 + if local_var_params.get('n') is not None: # noqa: E501 query_params.append(('n', local_var_params['n'])) # noqa: E501 - if 'offline' in local_var_params and local_var_params['offline'] is not None: # noqa: E501 + if local_var_params.get('offline') is not None: # noqa: E501 query_params.append(('offline', local_var_params['offline'])) # noqa: E501 - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -657,6 +666,7 @@ def unfriend_with_http_info(self, user_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -674,7 +684,9 @@ def unfriend_with_http_info(self, user_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -687,8 +699,7 @@ def unfriend_with_http_info(self, user_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 - local_var_params['user_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `unfriend`") # noqa: E501 collection_formats = {} @@ -699,7 +710,7 @@ def unfriend_with_http_info(self, user_id, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index c82baf8f..855e6abf 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -103,6 +103,7 @@ def add_group_gallery_image_with_http_info(self, group_id, group_gallery_id, **k request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -122,7 +123,9 @@ def add_group_gallery_image_with_http_info(self, group_id, group_gallery_id, **k '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -135,12 +138,10 @@ def add_group_gallery_image_with_http_info(self, group_id, group_gallery_id, **k local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set - if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 - local_var_params['group_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `add_group_gallery_image`") # noqa: E501 # verify the required parameter 'group_gallery_id' is set - if self.api_client.client_side_validation and ('group_gallery_id' not in local_var_params or # noqa: E501 - local_var_params['group_gallery_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_gallery_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_gallery_id` when calling `add_group_gallery_image`") # noqa: E501 if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 @@ -157,7 +158,7 @@ def add_group_gallery_image_with_http_info(self, group_id, group_gallery_id, **k query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -170,8 +171,12 @@ def add_group_gallery_image_with_http_info(self, group_id, group_gallery_id, **k ['application/json']) # noqa: E501 # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list # Authentication setting auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 @@ -266,6 +271,7 @@ def add_group_member_role_with_http_info(self, group_id, user_id, group_role_id, request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -285,7 +291,9 @@ def add_group_member_role_with_http_info(self, group_id, user_id, group_role_id, '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -298,16 +306,13 @@ def add_group_member_role_with_http_info(self, group_id, user_id, group_role_id, local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set - if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 - local_var_params['group_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `add_group_member_role`") # noqa: E501 # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 - local_var_params['user_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `add_group_member_role`") # noqa: E501 # verify the required parameter 'group_role_id' is set - if self.api_client.client_side_validation and ('group_role_id' not in local_var_params or # noqa: E501 - local_var_params['group_role_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_role_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_role_id` when calling `add_group_member_role`") # noqa: E501 if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 @@ -326,7 +331,7 @@ def add_group_member_role_with_http_info(self, group_id, user_id, group_role_id, query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -425,6 +430,7 @@ def ban_group_member_with_http_info(self, group_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -443,7 +449,9 @@ def ban_group_member_with_http_info(self, group_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -456,8 +464,7 @@ def ban_group_member_with_http_info(self, group_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set - if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 - local_var_params['group_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `ban_group_member`") # noqa: E501 if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 @@ -470,7 +477,7 @@ def ban_group_member_with_http_info(self, group_id, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -483,8 +490,12 @@ def ban_group_member_with_http_info(self, group_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list # Authentication setting auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 @@ -571,6 +582,7 @@ def cancel_group_request_with_http_info(self, group_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -588,7 +600,9 @@ def cancel_group_request_with_http_info(self, group_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -601,8 +615,7 @@ def cancel_group_request_with_http_info(self, group_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set - if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 - local_var_params['group_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `cancel_group_request`") # noqa: E501 if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 @@ -615,7 +628,7 @@ def cancel_group_request_with_http_info(self, group_id, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -706,6 +719,7 @@ def create_group_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -723,7 +737,9 @@ def create_group_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -742,7 +758,7 @@ def create_group_with_http_info(self, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -755,8 +771,12 @@ def create_group_with_http_info(self, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list # Authentication setting auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 @@ -846,6 +866,7 @@ def create_group_announcement_with_http_info(self, group_id, **kwargs): # noqa: request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -864,7 +885,9 @@ def create_group_announcement_with_http_info(self, group_id, **kwargs): # noqa: '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -877,8 +900,7 @@ def create_group_announcement_with_http_info(self, group_id, **kwargs): # noqa: local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set - if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 - local_var_params['group_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `create_group_announcement`") # noqa: E501 if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 @@ -891,7 +913,7 @@ def create_group_announcement_with_http_info(self, group_id, **kwargs): # noqa: query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -904,8 +926,12 @@ def create_group_announcement_with_http_info(self, group_id, **kwargs): # noqa: ['application/json']) # noqa: E501 # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list # Authentication setting auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 @@ -996,6 +1022,7 @@ def create_group_gallery_with_http_info(self, group_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -1014,7 +1041,9 @@ def create_group_gallery_with_http_info(self, group_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -1027,8 +1056,7 @@ def create_group_gallery_with_http_info(self, group_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set - if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 - local_var_params['group_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `create_group_gallery`") # noqa: E501 if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 @@ -1041,7 +1069,7 @@ def create_group_gallery_with_http_info(self, group_id, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -1054,8 +1082,12 @@ def create_group_gallery_with_http_info(self, group_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list # Authentication setting auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 @@ -1146,6 +1178,7 @@ def create_group_invite_with_http_info(self, group_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -1164,7 +1197,9 @@ def create_group_invite_with_http_info(self, group_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -1177,8 +1212,7 @@ def create_group_invite_with_http_info(self, group_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set - if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 - local_var_params['group_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `create_group_invite`") # noqa: E501 if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 @@ -1191,7 +1225,7 @@ def create_group_invite_with_http_info(self, group_id, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -1204,8 +1238,12 @@ def create_group_invite_with_http_info(self, group_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list # Authentication setting auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 @@ -1292,6 +1330,7 @@ def create_group_role_with_http_info(self, group_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -1310,7 +1349,9 @@ def create_group_role_with_http_info(self, group_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -1323,8 +1364,7 @@ def create_group_role_with_http_info(self, group_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set - if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 - local_var_params['group_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `create_group_role`") # noqa: E501 if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 @@ -1337,7 +1377,7 @@ def create_group_role_with_http_info(self, group_id, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -1350,8 +1390,12 @@ def create_group_role_with_http_info(self, group_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list # Authentication setting auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 @@ -1438,6 +1482,7 @@ def delete_group_with_http_info(self, group_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -1455,7 +1500,9 @@ def delete_group_with_http_info(self, group_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -1468,8 +1515,7 @@ def delete_group_with_http_info(self, group_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set - if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 - local_var_params['group_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `delete_group`") # noqa: E501 if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 @@ -1482,7 +1528,7 @@ def delete_group_with_http_info(self, group_id, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -1577,6 +1623,7 @@ def delete_group_announcement_with_http_info(self, group_id, **kwargs): # noqa: request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -1594,7 +1641,9 @@ def delete_group_announcement_with_http_info(self, group_id, **kwargs): # noqa: '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -1607,8 +1656,7 @@ def delete_group_announcement_with_http_info(self, group_id, **kwargs): # noqa: local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set - if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 - local_var_params['group_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `delete_group_announcement`") # noqa: E501 if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 @@ -1621,7 +1669,7 @@ def delete_group_announcement_with_http_info(self, group_id, **kwargs): # noqa: query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -1720,6 +1768,7 @@ def delete_group_gallery_with_http_info(self, group_id, group_gallery_id, **kwar request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -1738,7 +1787,9 @@ def delete_group_gallery_with_http_info(self, group_id, group_gallery_id, **kwar '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -1751,12 +1802,10 @@ def delete_group_gallery_with_http_info(self, group_id, group_gallery_id, **kwar local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set - if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 - local_var_params['group_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `delete_group_gallery`") # noqa: E501 # verify the required parameter 'group_gallery_id' is set - if self.api_client.client_side_validation and ('group_gallery_id' not in local_var_params or # noqa: E501 - local_var_params['group_gallery_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_gallery_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_gallery_id` when calling `delete_group_gallery`") # noqa: E501 if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 @@ -1773,7 +1822,7 @@ def delete_group_gallery_with_http_info(self, group_id, group_gallery_id, **kwar query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -1876,6 +1925,7 @@ def delete_group_gallery_image_with_http_info(self, group_id, group_gallery_id, request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -1895,7 +1945,9 @@ def delete_group_gallery_image_with_http_info(self, group_id, group_gallery_id, '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -1908,16 +1960,13 @@ def delete_group_gallery_image_with_http_info(self, group_id, group_gallery_id, local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set - if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 - local_var_params['group_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `delete_group_gallery_image`") # noqa: E501 # verify the required parameter 'group_gallery_id' is set - if self.api_client.client_side_validation and ('group_gallery_id' not in local_var_params or # noqa: E501 - local_var_params['group_gallery_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_gallery_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_gallery_id` when calling `delete_group_gallery_image`") # noqa: E501 # verify the required parameter 'group_gallery_image_id' is set - if self.api_client.client_side_validation and ('group_gallery_image_id' not in local_var_params or # noqa: E501 - local_var_params['group_gallery_image_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_gallery_image_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_gallery_image_id` when calling `delete_group_gallery_image`") # noqa: E501 if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 @@ -1938,7 +1987,7 @@ def delete_group_gallery_image_with_http_info(self, group_id, group_gallery_id, query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -2038,6 +2087,7 @@ def delete_group_invite_with_http_info(self, group_id, user_id, **kwargs): # no request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -2056,7 +2106,9 @@ def delete_group_invite_with_http_info(self, group_id, user_id, **kwargs): # no '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -2069,12 +2121,10 @@ def delete_group_invite_with_http_info(self, group_id, user_id, **kwargs): # no local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set - if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 - local_var_params['group_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `delete_group_invite`") # noqa: E501 # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 - local_var_params['user_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `delete_group_invite`") # noqa: E501 if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 @@ -2089,7 +2139,7 @@ def delete_group_invite_with_http_info(self, group_id, user_id, **kwargs): # no query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -2184,6 +2234,7 @@ def delete_group_role_with_http_info(self, group_id, group_role_id, **kwargs): request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -2202,7 +2253,9 @@ def delete_group_role_with_http_info(self, group_id, group_role_id, **kwargs): '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -2215,12 +2268,10 @@ def delete_group_role_with_http_info(self, group_id, group_role_id, **kwargs): local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set - if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 - local_var_params['group_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `delete_group_role`") # noqa: E501 # verify the required parameter 'group_role_id' is set - if self.api_client.client_side_validation and ('group_role_id' not in local_var_params or # noqa: E501 - local_var_params['group_role_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_role_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_role_id` when calling `delete_group_role`") # noqa: E501 if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 @@ -2237,7 +2288,7 @@ def delete_group_role_with_http_info(self, group_id, group_role_id, **kwargs): query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -2336,6 +2387,7 @@ def get_group_with_http_info(self, group_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -2354,7 +2406,9 @@ def get_group_with_http_info(self, group_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -2367,8 +2421,7 @@ def get_group_with_http_info(self, group_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set - if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 - local_var_params['group_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `get_group`") # noqa: E501 if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 @@ -2380,10 +2433,10 @@ def get_group_with_http_info(self, group_id, **kwargs): # noqa: E501 path_params['groupId'] = local_var_params['group_id'] # noqa: E501 query_params = [] - if 'include_roles' in local_var_params and local_var_params['include_roles'] is not None: # noqa: E501 + if local_var_params.get('include_roles') is not None: # noqa: E501 query_params.append(('includeRoles', local_var_params['include_roles'])) # noqa: E501 - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -2478,6 +2531,7 @@ def get_group_announcements_with_http_info(self, group_id, **kwargs): # noqa: E request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -2495,7 +2549,9 @@ def get_group_announcements_with_http_info(self, group_id, **kwargs): # noqa: E '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -2508,8 +2564,7 @@ def get_group_announcements_with_http_info(self, group_id, **kwargs): # noqa: E local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set - if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 - local_var_params['group_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_announcements`") # noqa: E501 if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 @@ -2522,7 +2577,7 @@ def get_group_announcements_with_http_info(self, group_id, **kwargs): # noqa: E query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -2633,6 +2688,7 @@ def get_group_audit_logs_with_http_info(self, group_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -2654,7 +2710,9 @@ def get_group_audit_logs_with_http_info(self, group_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -2667,8 +2725,7 @@ def get_group_audit_logs_with_http_info(self, group_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set - if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 - local_var_params['group_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_audit_logs`") # noqa: E501 if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 @@ -2686,16 +2743,16 @@ def get_group_audit_logs_with_http_info(self, group_id, **kwargs): # noqa: E501 path_params['groupId'] = local_var_params['group_id'] # noqa: E501 query_params = [] - if 'n' in local_var_params and local_var_params['n'] is not None: # noqa: E501 + if local_var_params.get('n') is not None: # noqa: E501 query_params.append(('n', local_var_params['n'])) # noqa: E501 - if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 query_params.append(('offset', local_var_params['offset'])) # noqa: E501 - if 'start_date' in local_var_params and local_var_params['start_date'] is not None: # noqa: E501 + if local_var_params.get('start_date') is not None: # noqa: E501 query_params.append(('startDate', local_var_params['start_date'])) # noqa: E501 - if 'end_date' in local_var_params and local_var_params['end_date'] is not None: # noqa: E501 + if local_var_params.get('end_date') is not None: # noqa: E501 query_params.append(('endDate', local_var_params['end_date'])) # noqa: E501 - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -2798,6 +2855,7 @@ def get_group_bans_with_http_info(self, group_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -2817,7 +2875,9 @@ def get_group_bans_with_http_info(self, group_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -2830,8 +2890,7 @@ def get_group_bans_with_http_info(self, group_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set - if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 - local_var_params['group_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_bans`") # noqa: E501 if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 @@ -2849,12 +2908,12 @@ def get_group_bans_with_http_info(self, group_id, **kwargs): # noqa: E501 path_params['groupId'] = local_var_params['group_id'] # noqa: E501 query_params = [] - if 'n' in local_var_params and local_var_params['n'] is not None: # noqa: E501 + if local_var_params.get('n') is not None: # noqa: E501 query_params.append(('n', local_var_params['n'])) # noqa: E501 - if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 query_params.append(('offset', local_var_params['offset'])) # noqa: E501 - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -2965,6 +3024,7 @@ def get_group_gallery_images_with_http_info(self, group_id, group_gallery_id, ** request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -2986,7 +3046,9 @@ def get_group_gallery_images_with_http_info(self, group_id, group_gallery_id, ** '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -2999,12 +3061,10 @@ def get_group_gallery_images_with_http_info(self, group_id, group_gallery_id, ** local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set - if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 - local_var_params['group_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_gallery_images`") # noqa: E501 # verify the required parameter 'group_gallery_id' is set - if self.api_client.client_side_validation and ('group_gallery_id' not in local_var_params or # noqa: E501 - local_var_params['group_gallery_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_gallery_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_gallery_id` when calling `get_group_gallery_images`") # noqa: E501 if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 @@ -3026,14 +3086,14 @@ def get_group_gallery_images_with_http_info(self, group_id, group_gallery_id, ** path_params['groupGalleryId'] = local_var_params['group_gallery_id'] # noqa: E501 query_params = [] - if 'n' in local_var_params and local_var_params['n'] is not None: # noqa: E501 + if local_var_params.get('n') is not None: # noqa: E501 query_params.append(('n', local_var_params['n'])) # noqa: E501 - if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 query_params.append(('offset', local_var_params['offset'])) # noqa: E501 - if 'approved' in local_var_params and local_var_params['approved'] is not None: # noqa: E501 + if local_var_params.get('approved') is not None: # noqa: E501 query_params.append(('approved', local_var_params['approved'])) # noqa: E501 - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -3128,6 +3188,7 @@ def get_group_invites_with_http_info(self, group_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -3145,7 +3206,9 @@ def get_group_invites_with_http_info(self, group_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -3158,8 +3221,7 @@ def get_group_invites_with_http_info(self, group_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set - if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 - local_var_params['group_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_invites`") # noqa: E501 if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 @@ -3172,7 +3234,7 @@ def get_group_invites_with_http_info(self, group_id, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -3272,6 +3334,7 @@ def get_group_member_with_http_info(self, group_id, user_id, **kwargs): # noqa: request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -3290,7 +3353,9 @@ def get_group_member_with_http_info(self, group_id, user_id, **kwargs): # noqa: '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -3303,12 +3368,10 @@ def get_group_member_with_http_info(self, group_id, user_id, **kwargs): # noqa: local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set - if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 - local_var_params['group_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_member`") # noqa: E501 # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 - local_var_params['user_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `get_group_member`") # noqa: E501 if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 @@ -3323,7 +3386,7 @@ def get_group_member_with_http_info(self, group_id, user_id, **kwargs): # noqa: query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -3426,6 +3489,7 @@ def get_group_members_with_http_info(self, group_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -3445,7 +3509,9 @@ def get_group_members_with_http_info(self, group_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -3458,8 +3524,7 @@ def get_group_members_with_http_info(self, group_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set - if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 - local_var_params['group_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_members`") # noqa: E501 if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 @@ -3477,12 +3542,12 @@ def get_group_members_with_http_info(self, group_id, **kwargs): # noqa: E501 path_params['groupId'] = local_var_params['group_id'] # noqa: E501 query_params = [] - if 'n' in local_var_params and local_var_params['n'] is not None: # noqa: E501 + if local_var_params.get('n') is not None: # noqa: E501 query_params.append(('n', local_var_params['n'])) # noqa: E501 - if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 query_params.append(('offset', local_var_params['offset'])) # noqa: E501 - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -3578,6 +3643,7 @@ def get_group_permissions_with_http_info(self, group_id, **kwargs): # noqa: E50 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -3595,7 +3661,9 @@ def get_group_permissions_with_http_info(self, group_id, **kwargs): # noqa: E50 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -3608,8 +3676,7 @@ def get_group_permissions_with_http_info(self, group_id, **kwargs): # noqa: E50 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set - if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 - local_var_params['group_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_permissions`") # noqa: E501 if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 @@ -3622,7 +3689,7 @@ def get_group_permissions_with_http_info(self, group_id, **kwargs): # noqa: E50 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -3718,6 +3785,7 @@ def get_group_requests_with_http_info(self, group_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -3735,7 +3803,9 @@ def get_group_requests_with_http_info(self, group_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -3748,8 +3818,7 @@ def get_group_requests_with_http_info(self, group_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set - if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 - local_var_params['group_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_requests`") # noqa: E501 if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 @@ -3762,7 +3831,7 @@ def get_group_requests_with_http_info(self, group_id, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -3857,6 +3926,7 @@ def get_group_roles_with_http_info(self, group_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -3874,7 +3944,9 @@ def get_group_roles_with_http_info(self, group_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -3887,8 +3959,7 @@ def get_group_roles_with_http_info(self, group_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set - if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 - local_var_params['group_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_roles`") # noqa: E501 if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 @@ -3901,7 +3972,7 @@ def get_group_roles_with_http_info(self, group_id, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -3996,6 +4067,7 @@ def join_group_with_http_info(self, group_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -4013,7 +4085,9 @@ def join_group_with_http_info(self, group_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -4026,8 +4100,7 @@ def join_group_with_http_info(self, group_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set - if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 - local_var_params['group_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `join_group`") # noqa: E501 if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 @@ -4040,7 +4113,7 @@ def join_group_with_http_info(self, group_id, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -4140,6 +4213,7 @@ def kick_group_member_with_http_info(self, group_id, user_id, **kwargs): # noqa request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -4158,7 +4232,9 @@ def kick_group_member_with_http_info(self, group_id, user_id, **kwargs): # noqa '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -4171,12 +4247,10 @@ def kick_group_member_with_http_info(self, group_id, user_id, **kwargs): # noqa local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set - if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 - local_var_params['group_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `kick_group_member`") # noqa: E501 # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 - local_var_params['user_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `kick_group_member`") # noqa: E501 if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 @@ -4191,7 +4265,7 @@ def kick_group_member_with_http_info(self, group_id, user_id, **kwargs): # noqa query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -4282,6 +4356,7 @@ def leave_group_with_http_info(self, group_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -4299,7 +4374,9 @@ def leave_group_with_http_info(self, group_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -4312,8 +4389,7 @@ def leave_group_with_http_info(self, group_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set - if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 - local_var_params['group_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `leave_group`") # noqa: E501 if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 @@ -4326,7 +4402,7 @@ def leave_group_with_http_info(self, group_id, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -4425,6 +4501,7 @@ def remove_group_member_role_with_http_info(self, group_id, user_id, group_role_ request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -4444,7 +4521,9 @@ def remove_group_member_role_with_http_info(self, group_id, user_id, group_role_ '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -4457,16 +4536,13 @@ def remove_group_member_role_with_http_info(self, group_id, user_id, group_role_ local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set - if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 - local_var_params['group_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `remove_group_member_role`") # noqa: E501 # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 - local_var_params['user_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `remove_group_member_role`") # noqa: E501 # verify the required parameter 'group_role_id' is set - if self.api_client.client_side_validation and ('group_role_id' not in local_var_params or # noqa: E501 - local_var_params['group_role_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_role_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_role_id` when calling `remove_group_member_role`") # noqa: E501 if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 @@ -4485,7 +4561,7 @@ def remove_group_member_role_with_http_info(self, group_id, user_id, group_role_ query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -4588,6 +4664,7 @@ def respond_group_join_request_with_http_info(self, group_id, user_id, **kwargs) request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -4607,7 +4684,9 @@ def respond_group_join_request_with_http_info(self, group_id, user_id, **kwargs) '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -4620,12 +4699,10 @@ def respond_group_join_request_with_http_info(self, group_id, user_id, **kwargs) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set - if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 - local_var_params['group_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `respond_group_join_request`") # noqa: E501 # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 - local_var_params['user_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `respond_group_join_request`") # noqa: E501 if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 @@ -4640,7 +4717,7 @@ def respond_group_join_request_with_http_info(self, group_id, user_id, **kwargs) query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -4653,8 +4730,12 @@ def respond_group_join_request_with_http_info(self, group_id, user_id, **kwargs) ['application/json']) # noqa: E501 # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'PUT', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list # Authentication setting auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 @@ -4741,6 +4822,7 @@ def unban_group_member_with_http_info(self, group_id, user_id, **kwargs): # noq request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -4759,7 +4841,9 @@ def unban_group_member_with_http_info(self, group_id, user_id, **kwargs): # noq '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -4772,12 +4856,10 @@ def unban_group_member_with_http_info(self, group_id, user_id, **kwargs): # noq local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set - if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 - local_var_params['group_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `unban_group_member`") # noqa: E501 # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 - local_var_params['user_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `unban_group_member`") # noqa: E501 if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 @@ -4792,7 +4874,7 @@ def unban_group_member_with_http_info(self, group_id, user_id, **kwargs): # noq query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -4891,6 +4973,7 @@ def update_group_with_http_info(self, group_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -4909,7 +4992,9 @@ def update_group_with_http_info(self, group_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -4922,8 +5007,7 @@ def update_group_with_http_info(self, group_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set - if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 - local_var_params['group_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `update_group`") # noqa: E501 if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 @@ -4936,7 +5020,7 @@ def update_group_with_http_info(self, group_id, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -4949,8 +5033,12 @@ def update_group_with_http_info(self, group_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'PUT', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list # Authentication setting auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 @@ -5045,6 +5133,7 @@ def update_group_gallery_with_http_info(self, group_id, group_gallery_id, **kwar request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -5064,7 +5153,9 @@ def update_group_gallery_with_http_info(self, group_id, group_gallery_id, **kwar '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -5077,12 +5168,10 @@ def update_group_gallery_with_http_info(self, group_id, group_gallery_id, **kwar local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set - if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 - local_var_params['group_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `update_group_gallery`") # noqa: E501 # verify the required parameter 'group_gallery_id' is set - if self.api_client.client_side_validation and ('group_gallery_id' not in local_var_params or # noqa: E501 - local_var_params['group_gallery_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_gallery_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_gallery_id` when calling `update_group_gallery`") # noqa: E501 if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 @@ -5099,7 +5188,7 @@ def update_group_gallery_with_http_info(self, group_id, group_gallery_id, **kwar query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -5112,8 +5201,12 @@ def update_group_gallery_with_http_info(self, group_id, group_gallery_id, **kwar ['application/json']) # noqa: E501 # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'PUT', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list # Authentication setting auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 @@ -5208,6 +5301,7 @@ def update_group_member_with_http_info(self, group_id, user_id, **kwargs): # no request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -5227,7 +5321,9 @@ def update_group_member_with_http_info(self, group_id, user_id, **kwargs): # no '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -5240,12 +5336,10 @@ def update_group_member_with_http_info(self, group_id, user_id, **kwargs): # no local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set - if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 - local_var_params['group_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `update_group_member`") # noqa: E501 # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 - local_var_params['user_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `update_group_member`") # noqa: E501 if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 @@ -5260,7 +5354,7 @@ def update_group_member_with_http_info(self, group_id, user_id, **kwargs): # no query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -5273,8 +5367,12 @@ def update_group_member_with_http_info(self, group_id, user_id, **kwargs): # no ['application/json']) # noqa: E501 # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'PUT', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list # Authentication setting auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 @@ -5369,6 +5467,7 @@ def update_group_role_with_http_info(self, group_id, group_role_id, **kwargs): request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -5388,7 +5487,9 @@ def update_group_role_with_http_info(self, group_id, group_role_id, **kwargs): '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -5401,12 +5502,10 @@ def update_group_role_with_http_info(self, group_id, group_role_id, **kwargs): local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set - if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501 - local_var_params['group_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `update_group_role`") # noqa: E501 # verify the required parameter 'group_role_id' is set - if self.api_client.client_side_validation and ('group_role_id' not in local_var_params or # noqa: E501 - local_var_params['group_role_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('group_role_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_role_id` when calling `update_group_role`") # noqa: E501 if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 @@ -5423,7 +5522,7 @@ def update_group_role_with_http_info(self, group_id, group_role_id, **kwargs): query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -5436,8 +5535,12 @@ def update_group_role_with_http_info(self, group_id, group_role_id, **kwargs): ['application/json']) # noqa: E501 # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'PUT', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list # Authentication setting auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 5257b0dc..a41b6b6a 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -99,6 +99,7 @@ def get_instance_with_http_info(self, world_id, instance_id, **kwargs): # noqa: request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -117,7 +118,9 @@ def get_instance_with_http_info(self, world_id, instance_id, **kwargs): # noqa: '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -130,12 +133,10 @@ def get_instance_with_http_info(self, world_id, instance_id, **kwargs): # noqa: local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'world_id' is set - if self.api_client.client_side_validation and ('world_id' not in local_var_params or # noqa: E501 - local_var_params['world_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `world_id` when calling `get_instance`") # noqa: E501 # verify the required parameter 'instance_id' is set - if self.api_client.client_side_validation and ('instance_id' not in local_var_params or # noqa: E501 - local_var_params['instance_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('instance_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `instance_id` when calling `get_instance`") # noqa: E501 collection_formats = {} @@ -148,7 +149,7 @@ def get_instance_with_http_info(self, world_id, instance_id, **kwargs): # noqa: query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -242,6 +243,7 @@ def get_instance_by_short_name_with_http_info(self, short_name, **kwargs): # no request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -259,7 +261,9 @@ def get_instance_by_short_name_with_http_info(self, short_name, **kwargs): # no '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -272,8 +276,7 @@ def get_instance_by_short_name_with_http_info(self, short_name, **kwargs): # no local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'short_name' is set - if self.api_client.client_side_validation and ('short_name' not in local_var_params or # noqa: E501 - local_var_params['short_name'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('short_name') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `short_name` when calling `get_instance_by_short_name`") # noqa: E501 collection_formats = {} @@ -284,7 +287,7 @@ def get_instance_by_short_name_with_http_info(self, short_name, **kwargs): # no query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -383,6 +386,7 @@ def get_short_name_with_http_info(self, world_id, instance_id, **kwargs): # noq request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -401,7 +405,9 @@ def get_short_name_with_http_info(self, world_id, instance_id, **kwargs): # noq '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -414,12 +420,10 @@ def get_short_name_with_http_info(self, world_id, instance_id, **kwargs): # noq local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'world_id' is set - if self.api_client.client_side_validation and ('world_id' not in local_var_params or # noqa: E501 - local_var_params['world_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `world_id` when calling `get_short_name`") # noqa: E501 # verify the required parameter 'instance_id' is set - if self.api_client.client_side_validation and ('instance_id' not in local_var_params or # noqa: E501 - local_var_params['instance_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('instance_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `instance_id` when calling `get_short_name`") # noqa: E501 collection_formats = {} @@ -432,7 +436,7 @@ def get_short_name_with_http_info(self, world_id, instance_id, **kwargs): # noq query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -530,6 +534,7 @@ def send_self_invite_with_http_info(self, world_id, instance_id, **kwargs): # n request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -548,7 +553,9 @@ def send_self_invite_with_http_info(self, world_id, instance_id, **kwargs): # n '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -561,12 +568,10 @@ def send_self_invite_with_http_info(self, world_id, instance_id, **kwargs): # n local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'world_id' is set - if self.api_client.client_side_validation and ('world_id' not in local_var_params or # noqa: E501 - local_var_params['world_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `world_id` when calling `send_self_invite`") # noqa: E501 # verify the required parameter 'instance_id' is set - if self.api_client.client_side_validation and ('instance_id' not in local_var_params or # noqa: E501 - local_var_params['instance_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('instance_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `instance_id` when calling `send_self_invite`") # noqa: E501 collection_formats = {} @@ -579,7 +584,7 @@ def send_self_invite_with_http_info(self, world_id, instance_id, **kwargs): # n query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index 463e3443..683a438e 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -103,6 +103,7 @@ def get_invite_message_with_http_info(self, user_id, message_type, slot, **kwarg request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -122,7 +123,9 @@ def get_invite_message_with_http_info(self, user_id, message_type, slot, **kwarg '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -135,16 +138,13 @@ def get_invite_message_with_http_info(self, user_id, message_type, slot, **kwarg local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 - local_var_params['user_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `get_invite_message`") # noqa: E501 # verify the required parameter 'message_type' is set - if self.api_client.client_side_validation and ('message_type' not in local_var_params or # noqa: E501 - local_var_params['message_type'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('message_type') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `message_type` when calling `get_invite_message`") # noqa: E501 # verify the required parameter 'slot' is set - if self.api_client.client_side_validation and ('slot' not in local_var_params or # noqa: E501 - local_var_params['slot'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('slot') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `slot` when calling `get_invite_message`") # noqa: E501 if self.api_client.client_side_validation and 'slot' in local_var_params and local_var_params['slot'] > 11: # noqa: E501 @@ -163,7 +163,7 @@ def get_invite_message_with_http_info(self, user_id, message_type, slot, **kwarg query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -263,6 +263,7 @@ def get_invite_messages_with_http_info(self, user_id, message_type, **kwargs): request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -281,7 +282,9 @@ def get_invite_messages_with_http_info(self, user_id, message_type, **kwargs): '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -294,12 +297,10 @@ def get_invite_messages_with_http_info(self, user_id, message_type, **kwargs): local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 - local_var_params['user_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `get_invite_messages`") # noqa: E501 # verify the required parameter 'message_type' is set - if self.api_client.client_side_validation and ('message_type' not in local_var_params or # noqa: E501 - local_var_params['message_type'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('message_type') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `message_type` when calling `get_invite_messages`") # noqa: E501 collection_formats = {} @@ -312,7 +313,7 @@ def get_invite_messages_with_http_info(self, user_id, message_type, **kwargs): query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -411,6 +412,7 @@ def invite_myself_to_with_http_info(self, world_id, instance_id, **kwargs): # n request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -429,7 +431,9 @@ def invite_myself_to_with_http_info(self, world_id, instance_id, **kwargs): # n '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -442,12 +446,10 @@ def invite_myself_to_with_http_info(self, world_id, instance_id, **kwargs): # n local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'world_id' is set - if self.api_client.client_side_validation and ('world_id' not in local_var_params or # noqa: E501 - local_var_params['world_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `world_id` when calling `invite_myself_to`") # noqa: E501 # verify the required parameter 'instance_id' is set - if self.api_client.client_side_validation and ('instance_id' not in local_var_params or # noqa: E501 - local_var_params['instance_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('instance_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `instance_id` when calling `invite_myself_to`") # noqa: E501 collection_formats = {} @@ -460,7 +462,7 @@ def invite_myself_to_with_http_info(self, world_id, instance_id, **kwargs): # n query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -559,6 +561,7 @@ def invite_user_with_http_info(self, user_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -577,7 +580,9 @@ def invite_user_with_http_info(self, user_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -590,8 +595,7 @@ def invite_user_with_http_info(self, user_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 - local_var_params['user_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `invite_user`") # noqa: E501 collection_formats = {} @@ -602,7 +606,7 @@ def invite_user_with_http_info(self, user_id, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -615,8 +619,12 @@ def invite_user_with_http_info(self, user_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list # Authentication setting auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 @@ -706,6 +714,7 @@ def request_invite_with_http_info(self, user_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -724,7 +733,9 @@ def request_invite_with_http_info(self, user_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -737,8 +748,7 @@ def request_invite_with_http_info(self, user_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 - local_var_params['user_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `request_invite`") # noqa: E501 collection_formats = {} @@ -749,7 +759,7 @@ def request_invite_with_http_info(self, user_id, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -762,8 +772,12 @@ def request_invite_with_http_info(self, user_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list # Authentication setting auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 @@ -857,6 +871,7 @@ def reset_invite_message_with_http_info(self, user_id, message_type, slot, **kwa request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -876,7 +891,9 @@ def reset_invite_message_with_http_info(self, user_id, message_type, slot, **kwa '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -889,16 +906,13 @@ def reset_invite_message_with_http_info(self, user_id, message_type, slot, **kwa local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 - local_var_params['user_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `reset_invite_message`") # noqa: E501 # verify the required parameter 'message_type' is set - if self.api_client.client_side_validation and ('message_type' not in local_var_params or # noqa: E501 - local_var_params['message_type'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('message_type') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `message_type` when calling `reset_invite_message`") # noqa: E501 # verify the required parameter 'slot' is set - if self.api_client.client_side_validation and ('slot' not in local_var_params or # noqa: E501 - local_var_params['slot'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('slot') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `slot` when calling `reset_invite_message`") # noqa: E501 if self.api_client.client_side_validation and 'slot' in local_var_params and local_var_params['slot'] > 11: # noqa: E501 @@ -917,7 +931,7 @@ def reset_invite_message_with_http_info(self, user_id, message_type, slot, **kwa query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -1018,6 +1032,7 @@ def respond_invite_with_http_info(self, notification_id, **kwargs): # noqa: E50 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -1036,7 +1051,9 @@ def respond_invite_with_http_info(self, notification_id, **kwargs): # noqa: E50 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -1049,8 +1066,7 @@ def respond_invite_with_http_info(self, notification_id, **kwargs): # noqa: E50 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'notification_id' is set - if self.api_client.client_side_validation and ('notification_id' not in local_var_params or # noqa: E501 - local_var_params['notification_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('notification_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `notification_id` when calling `respond_invite`") # noqa: E501 collection_formats = {} @@ -1061,7 +1077,7 @@ def respond_invite_with_http_info(self, notification_id, **kwargs): # noqa: E50 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -1074,8 +1090,12 @@ def respond_invite_with_http_info(self, notification_id, **kwargs): # noqa: E50 ['application/json']) # noqa: E501 # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list # Authentication setting auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 @@ -1173,6 +1193,7 @@ def update_invite_message_with_http_info(self, user_id, message_type, slot, **kw request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -1193,7 +1214,9 @@ def update_invite_message_with_http_info(self, user_id, message_type, slot, **kw '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -1206,16 +1229,13 @@ def update_invite_message_with_http_info(self, user_id, message_type, slot, **kw local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 - local_var_params['user_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `update_invite_message`") # noqa: E501 # verify the required parameter 'message_type' is set - if self.api_client.client_side_validation and ('message_type' not in local_var_params or # noqa: E501 - local_var_params['message_type'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('message_type') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `message_type` when calling `update_invite_message`") # noqa: E501 # verify the required parameter 'slot' is set - if self.api_client.client_side_validation and ('slot' not in local_var_params or # noqa: E501 - local_var_params['slot'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('slot') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `slot` when calling `update_invite_message`") # noqa: E501 if self.api_client.client_side_validation and 'slot' in local_var_params and local_var_params['slot'] > 11: # noqa: E501 @@ -1234,7 +1254,7 @@ def update_invite_message_with_http_info(self, user_id, message_type, slot, **kw query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -1247,8 +1267,12 @@ def update_invite_message_with_http_info(self, user_id, message_type, slot, **kw ['application/json']) # noqa: E501 # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'PUT', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list # Authentication setting auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index 05d93ffb..9fa5afc2 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -95,6 +95,7 @@ def accept_friend_request_with_http_info(self, notification_id, **kwargs): # no request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -112,7 +113,9 @@ def accept_friend_request_with_http_info(self, notification_id, **kwargs): # no '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -125,8 +128,7 @@ def accept_friend_request_with_http_info(self, notification_id, **kwargs): # no local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'notification_id' is set - if self.api_client.client_side_validation and ('notification_id' not in local_var_params or # noqa: E501 - local_var_params['notification_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('notification_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `notification_id` when calling `accept_friend_request`") # noqa: E501 collection_formats = {} @@ -137,7 +139,7 @@ def accept_friend_request_with_http_info(self, notification_id, **kwargs): # no query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -228,6 +230,7 @@ def clear_notifications_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -244,7 +247,9 @@ def clear_notifications_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -263,7 +268,7 @@ def clear_notifications_with_http_info(self, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -357,6 +362,7 @@ def delete_notification_with_http_info(self, notification_id, **kwargs): # noqa request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -374,7 +380,9 @@ def delete_notification_with_http_info(self, notification_id, **kwargs): # noqa '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -387,8 +395,7 @@ def delete_notification_with_http_info(self, notification_id, **kwargs): # noqa local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'notification_id' is set - if self.api_client.client_side_validation and ('notification_id' not in local_var_params or # noqa: E501 - local_var_params['notification_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('notification_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `notification_id` when calling `delete_notification`") # noqa: E501 collection_formats = {} @@ -399,7 +406,7 @@ def delete_notification_with_http_info(self, notification_id, **kwargs): # noqa query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -513,6 +520,7 @@ def get_notifications_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -535,7 +543,9 @@ def get_notifications_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -559,20 +569,20 @@ def get_notifications_with_http_info(self, **kwargs): # noqa: E501 path_params = {} query_params = [] - if 'type' in local_var_params and local_var_params['type'] is not None: # noqa: E501 + if local_var_params.get('type') is not None: # noqa: E501 query_params.append(('type', local_var_params['type'])) # noqa: E501 - if 'sent' in local_var_params and local_var_params['sent'] is not None: # noqa: E501 + if local_var_params.get('sent') is not None: # noqa: E501 query_params.append(('sent', local_var_params['sent'])) # noqa: E501 - if 'hidden' in local_var_params and local_var_params['hidden'] is not None: # noqa: E501 + if local_var_params.get('hidden') is not None: # noqa: E501 query_params.append(('hidden', local_var_params['hidden'])) # noqa: E501 - if 'after' in local_var_params and local_var_params['after'] is not None: # noqa: E501 + if local_var_params.get('after') is not None: # noqa: E501 query_params.append(('after', local_var_params['after'])) # noqa: E501 - if 'n' in local_var_params and local_var_params['n'] is not None: # noqa: E501 + if local_var_params.get('n') is not None: # noqa: E501 query_params.append(('n', local_var_params['n'])) # noqa: E501 - if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 query_params.append(('offset', local_var_params['offset'])) # noqa: E501 - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -666,6 +676,7 @@ def mark_notification_as_read_with_http_info(self, notification_id, **kwargs): request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -683,7 +694,9 @@ def mark_notification_as_read_with_http_info(self, notification_id, **kwargs): '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -696,8 +709,7 @@ def mark_notification_as_read_with_http_info(self, notification_id, **kwargs): local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'notification_id' is set - if self.api_client.client_side_validation and ('notification_id' not in local_var_params or # noqa: E501 - local_var_params['notification_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('notification_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `notification_id` when calling `mark_notification_as_read`") # noqa: E501 collection_formats = {} @@ -708,7 +720,7 @@ def mark_notification_as_read_with_http_info(self, notification_id, **kwargs): query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index 8cc18267..ebc875ca 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -91,6 +91,7 @@ def get_assigned_permissions_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -107,7 +108,9 @@ def get_assigned_permissions_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -126,7 +129,7 @@ def get_assigned_permissions_with_http_info(self, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -220,6 +223,7 @@ def get_permission_with_http_info(self, permission_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -237,7 +241,9 @@ def get_permission_with_http_info(self, permission_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -250,8 +256,7 @@ def get_permission_with_http_info(self, permission_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'permission_id' is set - if self.api_client.client_side_validation and ('permission_id' not in local_var_params or # noqa: E501 - local_var_params['permission_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('permission_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `permission_id` when calling `get_permission`") # noqa: E501 collection_formats = {} @@ -262,7 +267,7 @@ def get_permission_with_http_info(self, permission_id, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index d7b1d334..f399b993 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -91,6 +91,7 @@ def clear_all_player_moderations_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -107,7 +108,9 @@ def clear_all_player_moderations_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -126,7 +129,7 @@ def clear_all_player_moderations_with_http_info(self, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -220,6 +223,7 @@ def delete_player_moderation_with_http_info(self, player_moderation_id, **kwargs request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -237,7 +241,9 @@ def delete_player_moderation_with_http_info(self, player_moderation_id, **kwargs '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -250,8 +256,7 @@ def delete_player_moderation_with_http_info(self, player_moderation_id, **kwargs local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'player_moderation_id' is set - if self.api_client.client_side_validation and ('player_moderation_id' not in local_var_params or # noqa: E501 - local_var_params['player_moderation_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('player_moderation_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `player_moderation_id` when calling `delete_player_moderation`") # noqa: E501 collection_formats = {} @@ -262,7 +267,7 @@ def delete_player_moderation_with_http_info(self, player_moderation_id, **kwargs query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -357,6 +362,7 @@ def get_player_moderation_with_http_info(self, player_moderation_id, **kwargs): request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -374,7 +380,9 @@ def get_player_moderation_with_http_info(self, player_moderation_id, **kwargs): '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -387,8 +395,7 @@ def get_player_moderation_with_http_info(self, player_moderation_id, **kwargs): local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'player_moderation_id' is set - if self.api_client.client_side_validation and ('player_moderation_id' not in local_var_params or # noqa: E501 - local_var_params['player_moderation_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('player_moderation_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `player_moderation_id` when calling `get_player_moderation`") # noqa: E501 collection_formats = {} @@ -399,7 +406,7 @@ def get_player_moderation_with_http_info(self, player_moderation_id, **kwargs): query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -498,6 +505,7 @@ def get_player_moderations_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -516,7 +524,9 @@ def get_player_moderations_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -534,12 +544,12 @@ def get_player_moderations_with_http_info(self, **kwargs): # noqa: E501 path_params = {} query_params = [] - if 'type' in local_var_params and local_var_params['type'] is not None: # noqa: E501 + if local_var_params.get('type') is not None: # noqa: E501 query_params.append(('type', local_var_params['type'])) # noqa: E501 - if 'target_user_id' in local_var_params and local_var_params['target_user_id'] is not None: # noqa: E501 + if local_var_params.get('target_user_id') is not None: # noqa: E501 query_params.append(('targetUserId', local_var_params['target_user_id'])) # noqa: E501 - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -584,7 +594,7 @@ def moderate_user(self, **kwargs): # noqa: E501 >>> thread = api.moderate_user(async_req=True) >>> result = thread.get() - :param moderate_user_request: + :param moderate_user_request: :type moderate_user_request: ModerateUserRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -614,7 +624,7 @@ def moderate_user_with_http_info(self, **kwargs): # noqa: E501 >>> thread = api.moderate_user_with_http_info(async_req=True) >>> result = thread.get() - :param moderate_user_request: + :param moderate_user_request: :type moderate_user_request: ModerateUserRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -633,6 +643,7 @@ def moderate_user_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -650,7 +661,9 @@ def moderate_user_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -669,7 +682,7 @@ def moderate_user_with_http_info(self, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -682,8 +695,12 @@ def moderate_user_with_http_info(self, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list # Authentication setting auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 @@ -769,6 +786,7 @@ def unmoderate_user_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -786,7 +804,9 @@ def unmoderate_user_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -805,7 +825,7 @@ def unmoderate_user_with_http_info(self, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -818,8 +838,12 @@ def unmoderate_user_with_http_info(self, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'PUT', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list # Authentication setting auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index cedf4f0d..5897d19a 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -91,6 +91,7 @@ def get_config_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -107,7 +108,9 @@ def get_config_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -126,7 +129,7 @@ def get_config_with_http_info(self, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -223,6 +226,7 @@ def get_css_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -241,7 +245,9 @@ def get_css_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -259,12 +265,12 @@ def get_css_with_http_info(self, **kwargs): # noqa: E501 path_params = {} query_params = [] - if 'variant' in local_var_params and local_var_params['variant'] is not None: # noqa: E501 + if local_var_params.get('variant') is not None: # noqa: E501 query_params.append(('variant', local_var_params['variant'])) # noqa: E501 - if 'branch' in local_var_params and local_var_params['branch'] is not None: # noqa: E501 + if local_var_params.get('branch') is not None: # noqa: E501 query_params.append(('branch', local_var_params['branch'])) # noqa: E501 - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -354,6 +360,7 @@ def get_current_online_users_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -370,7 +377,9 @@ def get_current_online_users_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -389,7 +398,7 @@ def get_current_online_users_with_http_info(self, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -478,6 +487,7 @@ def get_health_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -494,7 +504,9 @@ def get_health_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -513,7 +525,7 @@ def get_health_with_http_info(self, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -610,6 +622,7 @@ def get_info_push_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -628,7 +641,9 @@ def get_info_push_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -646,12 +661,12 @@ def get_info_push_with_http_info(self, **kwargs): # noqa: E501 path_params = {} query_params = [] - if 'require' in local_var_params and local_var_params['require'] is not None: # noqa: E501 + if local_var_params.get('require') is not None: # noqa: E501 query_params.append(('require', local_var_params['require'])) # noqa: E501 - if 'include' in local_var_params and local_var_params['include'] is not None: # noqa: E501 + if local_var_params.get('include') is not None: # noqa: E501 query_params.append(('include', local_var_params['include'])) # noqa: E501 - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -748,6 +763,7 @@ def get_java_script_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -766,7 +782,9 @@ def get_java_script_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -784,12 +802,12 @@ def get_java_script_with_http_info(self, **kwargs): # noqa: E501 path_params = {} query_params = [] - if 'variant' in local_var_params and local_var_params['variant'] is not None: # noqa: E501 + if local_var_params.get('variant') is not None: # noqa: E501 query_params.append(('variant', local_var_params['variant'])) # noqa: E501 - if 'branch' in local_var_params and local_var_params['branch'] is not None: # noqa: E501 + if local_var_params.get('branch') is not None: # noqa: E501 query_params.append(('branch', local_var_params['branch'])) # noqa: E501 - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -879,6 +897,7 @@ def get_system_time_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -895,7 +914,9 @@ def get_system_time_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -914,7 +935,7 @@ def get_system_time_with_http_info(self, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index a79fac0e..01771813 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -95,6 +95,7 @@ def get_user_with_http_info(self, user_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -112,7 +113,9 @@ def get_user_with_http_info(self, user_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -125,8 +128,7 @@ def get_user_with_http_info(self, user_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 - local_var_params['user_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `get_user`") # noqa: E501 collection_formats = {} @@ -137,7 +139,7 @@ def get_user_with_http_info(self, user_id, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -231,6 +233,7 @@ def get_user_by_name_with_http_info(self, username, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -248,7 +251,9 @@ def get_user_by_name_with_http_info(self, username, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -261,8 +266,7 @@ def get_user_by_name_with_http_info(self, username, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'username' is set - if self.api_client.client_side_validation and ('username' not in local_var_params or # noqa: E501 - local_var_params['username'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('username') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `username` when calling `get_user_by_name`") # noqa: E501 collection_formats = {} @@ -273,7 +277,7 @@ def get_user_by_name_with_http_info(self, username, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -367,6 +371,7 @@ def get_user_group_requests_with_http_info(self, user_id, **kwargs): # noqa: E5 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -384,7 +389,9 @@ def get_user_group_requests_with_http_info(self, user_id, **kwargs): # noqa: E5 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -397,8 +404,7 @@ def get_user_group_requests_with_http_info(self, user_id, **kwargs): # noqa: E5 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 - local_var_params['user_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `get_user_group_requests`") # noqa: E501 collection_formats = {} @@ -409,7 +415,7 @@ def get_user_group_requests_with_http_info(self, user_id, **kwargs): # noqa: E5 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -503,6 +509,7 @@ def get_user_groups_with_http_info(self, user_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -520,7 +527,9 @@ def get_user_groups_with_http_info(self, user_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -533,8 +542,7 @@ def get_user_groups_with_http_info(self, user_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 - local_var_params['user_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `get_user_groups`") # noqa: E501 collection_formats = {} @@ -545,7 +553,7 @@ def get_user_groups_with_http_info(self, user_id, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -651,6 +659,7 @@ def search_users_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -671,7 +680,9 @@ def search_users_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -698,16 +709,16 @@ def search_users_with_http_info(self, **kwargs): # noqa: E501 path_params = {} query_params = [] - if 'search' in local_var_params and local_var_params['search'] is not None: # noqa: E501 + if local_var_params.get('search') is not None: # noqa: E501 query_params.append(('search', local_var_params['search'])) # noqa: E501 - if 'developer_type' in local_var_params and local_var_params['developer_type'] is not None: # noqa: E501 + if local_var_params.get('developer_type') is not None: # noqa: E501 query_params.append(('developerType', local_var_params['developer_type'])) # noqa: E501 - if 'n' in local_var_params and local_var_params['n'] is not None: # noqa: E501 + if local_var_params.get('n') is not None: # noqa: E501 query_params.append(('n', local_var_params['n'])) # noqa: E501 - if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 query_params.append(('offset', local_var_params['offset'])) # noqa: E501 - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -806,6 +817,7 @@ def update_user_with_http_info(self, user_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -824,7 +836,9 @@ def update_user_with_http_info(self, user_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -837,8 +851,7 @@ def update_user_with_http_info(self, user_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501 - local_var_params['user_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `update_user`") # noqa: E501 collection_formats = {} @@ -849,7 +862,7 @@ def update_user_with_http_info(self, user_id, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -862,8 +875,12 @@ def update_user_with_http_info(self, user_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'PUT', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list # Authentication setting auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index c3f2fc64..dd52c9d0 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -46,7 +46,7 @@ def create_world(self, **kwargs): # noqa: E501 >>> thread = api.create_world(async_req=True) >>> result = thread.get() - :param create_world_request: + :param create_world_request: :type create_world_request: CreateWorldRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -76,7 +76,7 @@ def create_world_with_http_info(self, **kwargs): # noqa: E501 >>> thread = api.create_world_with_http_info(async_req=True) >>> result = thread.get() - :param create_world_request: + :param create_world_request: :type create_world_request: CreateWorldRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -95,6 +95,7 @@ def create_world_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -112,7 +113,9 @@ def create_world_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -131,7 +134,7 @@ def create_world_with_http_info(self, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -144,8 +147,12 @@ def create_world_with_http_info(self, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list # Authentication setting auth_settings = [] # noqa: E501 @@ -232,6 +239,7 @@ def delete_world_with_http_info(self, world_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -249,7 +257,9 @@ def delete_world_with_http_info(self, world_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -262,8 +272,7 @@ def delete_world_with_http_info(self, world_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'world_id' is set - if self.api_client.client_side_validation and ('world_id' not in local_var_params or # noqa: E501 - local_var_params['world_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `world_id` when calling `delete_world`") # noqa: E501 collection_formats = {} @@ -274,7 +283,7 @@ def delete_world_with_http_info(self, world_id, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -409,6 +418,7 @@ def get_active_worlds_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -437,7 +447,9 @@ def get_active_worlds_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -461,32 +473,32 @@ def get_active_worlds_with_http_info(self, **kwargs): # noqa: E501 path_params = {} query_params = [] - if 'featured' in local_var_params and local_var_params['featured'] is not None: # noqa: E501 + if local_var_params.get('featured') is not None: # noqa: E501 query_params.append(('featured', local_var_params['featured'])) # noqa: E501 - if 'sort' in local_var_params and local_var_params['sort'] is not None: # noqa: E501 + if local_var_params.get('sort') is not None: # noqa: E501 query_params.append(('sort', local_var_params['sort'])) # noqa: E501 - if 'n' in local_var_params and local_var_params['n'] is not None: # noqa: E501 + if local_var_params.get('n') is not None: # noqa: E501 query_params.append(('n', local_var_params['n'])) # noqa: E501 - if 'order' in local_var_params and local_var_params['order'] is not None: # noqa: E501 + if local_var_params.get('order') is not None: # noqa: E501 query_params.append(('order', local_var_params['order'])) # noqa: E501 - if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 query_params.append(('offset', local_var_params['offset'])) # noqa: E501 - if 'search' in local_var_params and local_var_params['search'] is not None: # noqa: E501 + if local_var_params.get('search') is not None: # noqa: E501 query_params.append(('search', local_var_params['search'])) # noqa: E501 - if 'tag' in local_var_params and local_var_params['tag'] is not None: # noqa: E501 + if local_var_params.get('tag') is not None: # noqa: E501 query_params.append(('tag', local_var_params['tag'])) # noqa: E501 - if 'notag' in local_var_params and local_var_params['notag'] is not None: # noqa: E501 + if local_var_params.get('notag') is not None: # noqa: E501 query_params.append(('notag', local_var_params['notag'])) # noqa: E501 - if 'release_status' in local_var_params and local_var_params['release_status'] is not None: # noqa: E501 + if local_var_params.get('release_status') is not None: # noqa: E501 query_params.append(('releaseStatus', local_var_params['release_status'])) # noqa: E501 - if 'max_unity_version' in local_var_params and local_var_params['max_unity_version'] is not None: # noqa: E501 + if local_var_params.get('max_unity_version') is not None: # noqa: E501 query_params.append(('maxUnityVersion', local_var_params['max_unity_version'])) # noqa: E501 - if 'min_unity_version' in local_var_params and local_var_params['min_unity_version'] is not None: # noqa: E501 + if local_var_params.get('min_unity_version') is not None: # noqa: E501 query_params.append(('minUnityVersion', local_var_params['min_unity_version'])) # noqa: E501 - if 'platform' in local_var_params and local_var_params['platform'] is not None: # noqa: E501 + if local_var_params.get('platform') is not None: # noqa: E501 query_params.append(('platform', local_var_params['platform'])) # noqa: E501 - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -628,6 +640,7 @@ def get_favorited_worlds_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -657,7 +670,9 @@ def get_favorited_worlds_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -681,34 +696,34 @@ def get_favorited_worlds_with_http_info(self, **kwargs): # noqa: E501 path_params = {} query_params = [] - if 'featured' in local_var_params and local_var_params['featured'] is not None: # noqa: E501 + if local_var_params.get('featured') is not None: # noqa: E501 query_params.append(('featured', local_var_params['featured'])) # noqa: E501 - if 'sort' in local_var_params and local_var_params['sort'] is not None: # noqa: E501 + if local_var_params.get('sort') is not None: # noqa: E501 query_params.append(('sort', local_var_params['sort'])) # noqa: E501 - if 'n' in local_var_params and local_var_params['n'] is not None: # noqa: E501 + if local_var_params.get('n') is not None: # noqa: E501 query_params.append(('n', local_var_params['n'])) # noqa: E501 - if 'order' in local_var_params and local_var_params['order'] is not None: # noqa: E501 + if local_var_params.get('order') is not None: # noqa: E501 query_params.append(('order', local_var_params['order'])) # noqa: E501 - if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 query_params.append(('offset', local_var_params['offset'])) # noqa: E501 - if 'search' in local_var_params and local_var_params['search'] is not None: # noqa: E501 + if local_var_params.get('search') is not None: # noqa: E501 query_params.append(('search', local_var_params['search'])) # noqa: E501 - if 'tag' in local_var_params and local_var_params['tag'] is not None: # noqa: E501 + if local_var_params.get('tag') is not None: # noqa: E501 query_params.append(('tag', local_var_params['tag'])) # noqa: E501 - if 'notag' in local_var_params and local_var_params['notag'] is not None: # noqa: E501 + if local_var_params.get('notag') is not None: # noqa: E501 query_params.append(('notag', local_var_params['notag'])) # noqa: E501 - if 'release_status' in local_var_params and local_var_params['release_status'] is not None: # noqa: E501 + if local_var_params.get('release_status') is not None: # noqa: E501 query_params.append(('releaseStatus', local_var_params['release_status'])) # noqa: E501 - if 'max_unity_version' in local_var_params and local_var_params['max_unity_version'] is not None: # noqa: E501 + if local_var_params.get('max_unity_version') is not None: # noqa: E501 query_params.append(('maxUnityVersion', local_var_params['max_unity_version'])) # noqa: E501 - if 'min_unity_version' in local_var_params and local_var_params['min_unity_version'] is not None: # noqa: E501 + if local_var_params.get('min_unity_version') is not None: # noqa: E501 query_params.append(('minUnityVersion', local_var_params['min_unity_version'])) # noqa: E501 - if 'platform' in local_var_params and local_var_params['platform'] is not None: # noqa: E501 + if local_var_params.get('platform') is not None: # noqa: E501 query_params.append(('platform', local_var_params['platform'])) # noqa: E501 - if 'user_id' in local_var_params and local_var_params['user_id'] is not None: # noqa: E501 + if local_var_params.get('user_id') is not None: # noqa: E501 query_params.append(('userId', local_var_params['user_id'])) # noqa: E501 - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -851,6 +866,7 @@ def get_recent_worlds_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -880,7 +896,9 @@ def get_recent_worlds_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -904,34 +922,34 @@ def get_recent_worlds_with_http_info(self, **kwargs): # noqa: E501 path_params = {} query_params = [] - if 'featured' in local_var_params and local_var_params['featured'] is not None: # noqa: E501 + if local_var_params.get('featured') is not None: # noqa: E501 query_params.append(('featured', local_var_params['featured'])) # noqa: E501 - if 'sort' in local_var_params and local_var_params['sort'] is not None: # noqa: E501 + if local_var_params.get('sort') is not None: # noqa: E501 query_params.append(('sort', local_var_params['sort'])) # noqa: E501 - if 'n' in local_var_params and local_var_params['n'] is not None: # noqa: E501 + if local_var_params.get('n') is not None: # noqa: E501 query_params.append(('n', local_var_params['n'])) # noqa: E501 - if 'order' in local_var_params and local_var_params['order'] is not None: # noqa: E501 + if local_var_params.get('order') is not None: # noqa: E501 query_params.append(('order', local_var_params['order'])) # noqa: E501 - if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 query_params.append(('offset', local_var_params['offset'])) # noqa: E501 - if 'search' in local_var_params and local_var_params['search'] is not None: # noqa: E501 + if local_var_params.get('search') is not None: # noqa: E501 query_params.append(('search', local_var_params['search'])) # noqa: E501 - if 'tag' in local_var_params and local_var_params['tag'] is not None: # noqa: E501 + if local_var_params.get('tag') is not None: # noqa: E501 query_params.append(('tag', local_var_params['tag'])) # noqa: E501 - if 'notag' in local_var_params and local_var_params['notag'] is not None: # noqa: E501 + if local_var_params.get('notag') is not None: # noqa: E501 query_params.append(('notag', local_var_params['notag'])) # noqa: E501 - if 'release_status' in local_var_params and local_var_params['release_status'] is not None: # noqa: E501 + if local_var_params.get('release_status') is not None: # noqa: E501 query_params.append(('releaseStatus', local_var_params['release_status'])) # noqa: E501 - if 'max_unity_version' in local_var_params and local_var_params['max_unity_version'] is not None: # noqa: E501 + if local_var_params.get('max_unity_version') is not None: # noqa: E501 query_params.append(('maxUnityVersion', local_var_params['max_unity_version'])) # noqa: E501 - if 'min_unity_version' in local_var_params and local_var_params['min_unity_version'] is not None: # noqa: E501 + if local_var_params.get('min_unity_version') is not None: # noqa: E501 query_params.append(('minUnityVersion', local_var_params['min_unity_version'])) # noqa: E501 - if 'platform' in local_var_params and local_var_params['platform'] is not None: # noqa: E501 + if local_var_params.get('platform') is not None: # noqa: E501 query_params.append(('platform', local_var_params['platform'])) # noqa: E501 - if 'user_id' in local_var_params and local_var_params['user_id'] is not None: # noqa: E501 + if local_var_params.get('user_id') is not None: # noqa: E501 query_params.append(('userId', local_var_params['user_id'])) # noqa: E501 - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -1026,6 +1044,7 @@ def get_world_with_http_info(self, world_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -1043,7 +1062,9 @@ def get_world_with_http_info(self, world_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -1056,8 +1077,7 @@ def get_world_with_http_info(self, world_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'world_id' is set - if self.api_client.client_side_validation and ('world_id' not in local_var_params or # noqa: E501 - local_var_params['world_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `world_id` when calling `get_world`") # noqa: E501 collection_formats = {} @@ -1068,7 +1088,7 @@ def get_world_with_http_info(self, world_id, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -1166,6 +1186,7 @@ def get_world_instance_with_http_info(self, world_id, instance_id, **kwargs): # request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -1184,7 +1205,9 @@ def get_world_instance_with_http_info(self, world_id, instance_id, **kwargs): # '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -1197,12 +1220,10 @@ def get_world_instance_with_http_info(self, world_id, instance_id, **kwargs): # local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'world_id' is set - if self.api_client.client_side_validation and ('world_id' not in local_var_params or # noqa: E501 - local_var_params['world_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `world_id` when calling `get_world_instance`") # noqa: E501 # verify the required parameter 'instance_id' is set - if self.api_client.client_side_validation and ('instance_id' not in local_var_params or # noqa: E501 - local_var_params['instance_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('instance_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `instance_id` when calling `get_world_instance`") # noqa: E501 collection_formats = {} @@ -1215,7 +1236,7 @@ def get_world_instance_with_http_info(self, world_id, instance_id, **kwargs): # query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -1309,6 +1330,7 @@ def get_world_metadata_with_http_info(self, world_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -1326,7 +1348,9 @@ def get_world_metadata_with_http_info(self, world_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -1339,8 +1363,7 @@ def get_world_metadata_with_http_info(self, world_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'world_id' is set - if self.api_client.client_side_validation and ('world_id' not in local_var_params or # noqa: E501 - local_var_params['world_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `world_id` when calling `get_world_metadata`") # noqa: E501 collection_formats = {} @@ -1351,7 +1374,7 @@ def get_world_metadata_with_http_info(self, world_id, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -1445,6 +1468,7 @@ def get_world_publish_status_with_http_info(self, world_id, **kwargs): # noqa: request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -1462,7 +1486,9 @@ def get_world_publish_status_with_http_info(self, world_id, **kwargs): # noqa: '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -1475,8 +1501,7 @@ def get_world_publish_status_with_http_info(self, world_id, **kwargs): # noqa: local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'world_id' is set - if self.api_client.client_side_validation and ('world_id' not in local_var_params or # noqa: E501 - local_var_params['world_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `world_id` when calling `get_world_publish_status`") # noqa: E501 collection_formats = {} @@ -1487,7 +1512,7 @@ def get_world_publish_status_with_http_info(self, world_id, **kwargs): # noqa: query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -1582,6 +1607,7 @@ def publish_world_with_http_info(self, world_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -1599,7 +1625,9 @@ def publish_world_with_http_info(self, world_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -1612,8 +1640,7 @@ def publish_world_with_http_info(self, world_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'world_id' is set - if self.api_client.client_side_validation and ('world_id' not in local_var_params or # noqa: E501 - local_var_params['world_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `world_id` when calling `publish_world`") # noqa: E501 collection_formats = {} @@ -1624,7 +1651,7 @@ def publish_world_with_http_info(self, world_id, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -1767,6 +1794,7 @@ def search_worlds_with_http_info(self, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -1797,7 +1825,9 @@ def search_worlds_with_http_info(self, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -1821,36 +1851,36 @@ def search_worlds_with_http_info(self, **kwargs): # noqa: E501 path_params = {} query_params = [] - if 'featured' in local_var_params and local_var_params['featured'] is not None: # noqa: E501 + if local_var_params.get('featured') is not None: # noqa: E501 query_params.append(('featured', local_var_params['featured'])) # noqa: E501 - if 'sort' in local_var_params and local_var_params['sort'] is not None: # noqa: E501 + if local_var_params.get('sort') is not None: # noqa: E501 query_params.append(('sort', local_var_params['sort'])) # noqa: E501 - if 'user' in local_var_params and local_var_params['user'] is not None: # noqa: E501 + if local_var_params.get('user') is not None: # noqa: E501 query_params.append(('user', local_var_params['user'])) # noqa: E501 - if 'user_id' in local_var_params and local_var_params['user_id'] is not None: # noqa: E501 + if local_var_params.get('user_id') is not None: # noqa: E501 query_params.append(('userId', local_var_params['user_id'])) # noqa: E501 - if 'n' in local_var_params and local_var_params['n'] is not None: # noqa: E501 + if local_var_params.get('n') is not None: # noqa: E501 query_params.append(('n', local_var_params['n'])) # noqa: E501 - if 'order' in local_var_params and local_var_params['order'] is not None: # noqa: E501 + if local_var_params.get('order') is not None: # noqa: E501 query_params.append(('order', local_var_params['order'])) # noqa: E501 - if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 query_params.append(('offset', local_var_params['offset'])) # noqa: E501 - if 'search' in local_var_params and local_var_params['search'] is not None: # noqa: E501 + if local_var_params.get('search') is not None: # noqa: E501 query_params.append(('search', local_var_params['search'])) # noqa: E501 - if 'tag' in local_var_params and local_var_params['tag'] is not None: # noqa: E501 + if local_var_params.get('tag') is not None: # noqa: E501 query_params.append(('tag', local_var_params['tag'])) # noqa: E501 - if 'notag' in local_var_params and local_var_params['notag'] is not None: # noqa: E501 + if local_var_params.get('notag') is not None: # noqa: E501 query_params.append(('notag', local_var_params['notag'])) # noqa: E501 - if 'release_status' in local_var_params and local_var_params['release_status'] is not None: # noqa: E501 + if local_var_params.get('release_status') is not None: # noqa: E501 query_params.append(('releaseStatus', local_var_params['release_status'])) # noqa: E501 - if 'max_unity_version' in local_var_params and local_var_params['max_unity_version'] is not None: # noqa: E501 + if local_var_params.get('max_unity_version') is not None: # noqa: E501 query_params.append(('maxUnityVersion', local_var_params['max_unity_version'])) # noqa: E501 - if 'min_unity_version' in local_var_params and local_var_params['min_unity_version'] is not None: # noqa: E501 + if local_var_params.get('min_unity_version') is not None: # noqa: E501 query_params.append(('minUnityVersion', local_var_params['min_unity_version'])) # noqa: E501 - if 'platform' in local_var_params and local_var_params['platform'] is not None: # noqa: E501 + if local_var_params.get('platform') is not None: # noqa: E501 query_params.append(('platform', local_var_params['platform'])) # noqa: E501 - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -1944,6 +1974,7 @@ def unpublish_world_with_http_info(self, world_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -1961,7 +1992,9 @@ def unpublish_world_with_http_info(self, world_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -1974,8 +2007,7 @@ def unpublish_world_with_http_info(self, world_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'world_id' is set - if self.api_client.client_side_validation and ('world_id' not in local_var_params or # noqa: E501 - local_var_params['world_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `world_id` when calling `unpublish_world`") # noqa: E501 collection_formats = {} @@ -1986,7 +2018,7 @@ def unpublish_world_with_http_info(self, world_id, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -2081,6 +2113,7 @@ def update_world_with_http_info(self, world_id, **kwargs): # noqa: E501 request; this effectively ignores the authentication in the spec for a single request. :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request :return: Returns the result object. If the method is called asynchronously, returns the request thread. @@ -2099,7 +2132,9 @@ def update_world_with_http_info(self, world_id, **kwargs): # noqa: E501 '_return_http_data_only', '_preload_content', '_request_timeout', - '_request_auth' + '_request_auth', + '_content_type', + '_headers' ] ) @@ -2112,8 +2147,7 @@ def update_world_with_http_info(self, world_id, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'world_id' is set - if self.api_client.client_side_validation and ('world_id' not in local_var_params or # noqa: E501 - local_var_params['world_id'] is None): # noqa: E501 + if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `world_id` when calling `update_world`") # noqa: E501 collection_formats = {} @@ -2124,7 +2158,7 @@ def update_world_with_http_info(self, world_id, **kwargs): # noqa: E501 query_params = [] - header_params = {} + header_params = dict(local_var_params.get('_headers', {})) form_params = [] local_var_files = {} @@ -2137,8 +2171,12 @@ def update_world_with_http_info(self, world_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'PUT', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list # Authentication setting auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index 60b711fe..bc843966 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -521,17 +521,24 @@ def select_header_accept(self, accepts): else: return ', '.join(accepts) - def select_header_content_type(self, content_types): + def select_header_content_type(self, content_types, method=None, body=None): """Returns `Content-Type` based on an array of content_types provided. :param content_types: List of content-types. + :param method: http method (e.g. POST, PATCH). + :param body: http body to send. :return: Content-Type (e.g. application/json). """ if not content_types: - return 'application/json' + return None content_types = [x.lower() for x in content_types] + if (method == 'PATCH' and + 'application/json-patch+json' in content_types and + isinstance(body, list)): + return 'application/json-patch+json' + if 'application/json' in content_types or '*/*' in content_types: return 'application/json' else: diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index ecffd130..aa787562 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -401,6 +401,7 @@ def release_status(self, release_status): def tags(self): """Gets the tags of this Avatar. # noqa: E501 + # noqa: E501 :return: The tags of this Avatar. # noqa: E501 :rtype: list[str] @@ -411,6 +412,7 @@ def tags(self): def tags(self, tags): """Sets the tags of this Avatar. + # noqa: E501 :param tags: The tags of this Avatar. # noqa: E501 :type tags: list[str] diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index b8afafca..e1ff01f5 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -192,6 +192,7 @@ def description(self, description): def tags(self): """Gets the tags of this CreateAvatarRequest. # noqa: E501 + # noqa: E501 :return: The tags of this CreateAvatarRequest. # noqa: E501 :rtype: list[str] @@ -202,6 +203,7 @@ def tags(self): def tags(self, tags): """Sets the tags of this CreateAvatarRequest. + # noqa: E501 :param tags: The tags of this CreateAvatarRequest. # noqa: E501 :type tags: list[str] diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index ed45e27b..c49dd146 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -146,6 +146,7 @@ def extension(self, extension): def tags(self): """Gets the tags of this CreateFileRequest. # noqa: E501 + # noqa: E501 :return: The tags of this CreateFileRequest. # noqa: E501 :rtype: list[str] @@ -156,6 +157,7 @@ def tags(self): def tags(self, tags): """Sets the tags of this CreateFileRequest. + # noqa: E501 :param tags: The tags of this CreateFileRequest. # noqa: E501 :type tags: list[str] diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index 9bd33fa6..b59ab813 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -161,6 +161,7 @@ def members_only(self, members_only): def role_ids_to_view(self): """Gets the role_ids_to_view of this CreateGroupGalleryRequest. # noqa: E501 + # noqa: E501 :return: The role_ids_to_view of this CreateGroupGalleryRequest. # noqa: E501 :rtype: list[str] @@ -171,6 +172,7 @@ def role_ids_to_view(self): def role_ids_to_view(self, role_ids_to_view): """Sets the role_ids_to_view of this CreateGroupGalleryRequest. + # noqa: E501 :param role_ids_to_view: The role_ids_to_view of this CreateGroupGalleryRequest. # noqa: E501 :type role_ids_to_view: list[str] @@ -182,6 +184,7 @@ def role_ids_to_view(self, role_ids_to_view): def role_ids_to_submit(self): """Gets the role_ids_to_submit of this CreateGroupGalleryRequest. # noqa: E501 + # noqa: E501 :return: The role_ids_to_submit of this CreateGroupGalleryRequest. # noqa: E501 :rtype: list[str] @@ -192,6 +195,7 @@ def role_ids_to_submit(self): def role_ids_to_submit(self, role_ids_to_submit): """Sets the role_ids_to_submit of this CreateGroupGalleryRequest. + # noqa: E501 :param role_ids_to_submit: The role_ids_to_submit of this CreateGroupGalleryRequest. # noqa: E501 :type role_ids_to_submit: list[str] @@ -203,6 +207,7 @@ def role_ids_to_submit(self, role_ids_to_submit): def role_ids_to_auto_approve(self): """Gets the role_ids_to_auto_approve of this CreateGroupGalleryRequest. # noqa: E501 + # noqa: E501 :return: The role_ids_to_auto_approve of this CreateGroupGalleryRequest. # noqa: E501 :rtype: list[str] @@ -213,6 +218,7 @@ def role_ids_to_auto_approve(self): def role_ids_to_auto_approve(self, role_ids_to_auto_approve): """Sets the role_ids_to_auto_approve of this CreateGroupGalleryRequest. + # noqa: E501 :param role_ids_to_auto_approve: The role_ids_to_auto_approve of this CreateGroupGalleryRequest. # noqa: E501 :type role_ids_to_auto_approve: list[str] @@ -224,6 +230,7 @@ def role_ids_to_auto_approve(self, role_ids_to_auto_approve): def role_ids_to_manage(self): """Gets the role_ids_to_manage of this CreateGroupGalleryRequest. # noqa: E501 + # noqa: E501 :return: The role_ids_to_manage of this CreateGroupGalleryRequest. # noqa: E501 :rtype: list[str] @@ -234,6 +241,7 @@ def role_ids_to_manage(self): def role_ids_to_manage(self, role_ids_to_manage): """Sets the role_ids_to_manage of this CreateGroupGalleryRequest. + # noqa: E501 :param role_ids_to_manage: The role_ids_to_manage of this CreateGroupGalleryRequest. # noqa: E501 :type role_ids_to_manage: list[str] diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index c28e39f3..6a4775aa 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -57,7 +57,7 @@ class CreateGroupRequest(object): 'role_template': 'roleTemplate' } - def __init__(self, name=None, short_code=None, description=None, join_state=None, icon_id='null', banner_id='null', privacy=None, role_template=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, name=None, short_code=None, description=None, join_state=None, icon_id=None, banner_id=None, privacy=None, role_template=None, local_vars_configuration=None): # noqa: E501 """CreateGroupRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index 898f462b..0ebc4ea5 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -388,6 +388,7 @@ def release_status(self, release_status): def tags(self): """Gets the tags of this CreateWorldRequest. # noqa: E501 + # noqa: E501 :return: The tags of this CreateWorldRequest. # noqa: E501 :rtype: list[str] @@ -398,6 +399,7 @@ def tags(self): def tags(self, tags): """Sets the tags of this CreateWorldRequest. + # noqa: E501 :param tags: The tags of this CreateWorldRequest. # noqa: E501 :type tags: list[str] diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index 8508a207..84c04d8d 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -997,6 +997,7 @@ def online_friends(self, online_friends): def past_display_names(self): """Gets the past_display_names of this CurrentUser. # noqa: E501 + # noqa: E501 :return: The past_display_names of this CurrentUser. # noqa: E501 :rtype: list[PastDisplayName] @@ -1007,6 +1008,7 @@ def past_display_names(self): def past_display_names(self, past_display_names): """Sets the past_display_names of this CurrentUser. + # noqa: E501 :param past_display_names: The past_display_names of this CurrentUser. # noqa: E501 :type past_display_names: list[PastDisplayName] diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index 9bddfe52..608533e7 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -121,6 +121,7 @@ def id(self, id): def tags(self): """Gets the tags of this Favorite. # noqa: E501 + # noqa: E501 :return: The tags of this Favorite. # noqa: E501 :rtype: list[str] @@ -131,6 +132,7 @@ def tags(self): def tags(self, tags): """Sets the tags of this Favorite. + # noqa: E501 :param tags: The tags of this Favorite. # noqa: E501 :type tags: list[str] diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index 6646ee5a..f8c25c48 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -215,6 +215,7 @@ def owner_id(self, owner_id): def tags(self): """Gets the tags of this FavoriteGroup. # noqa: E501 + # noqa: E501 :return: The tags of this FavoriteGroup. # noqa: E501 :rtype: list[str] @@ -225,6 +226,7 @@ def tags(self): def tags(self, tags): """Sets the tags of this FavoriteGroup. + # noqa: E501 :param tags: The tags of this FavoriteGroup. # noqa: E501 :type tags: list[str] diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index 46dd6cd8..d81005b8 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -157,6 +157,7 @@ def mime_type(self, mime_type): def name(self): """Gets the name of this File. # noqa: E501 + # noqa: E501 :return: The name of this File. # noqa: E501 :rtype: str @@ -167,6 +168,7 @@ def name(self): def name(self, name): """Sets the name of this File. + # noqa: E501 :param name: The name of this File. # noqa: E501 :type name: str @@ -208,6 +210,7 @@ def owner_id(self, owner_id): def tags(self): """Gets the tags of this File. # noqa: E501 + # noqa: E501 :return: The tags of this File. # noqa: E501 :rtype: list[str] @@ -218,6 +221,7 @@ def tags(self): def tags(self, tags): """Sets the tags of this File. + # noqa: E501 :param tags: The tags of this File. # noqa: E501 :type tags: list[str] @@ -231,6 +235,7 @@ def tags(self, tags): def versions(self): """Gets the versions of this File. # noqa: E501 + # noqa: E501 :return: The versions of this File. # noqa: E501 :rtype: list[FileVersion] @@ -241,6 +246,7 @@ def versions(self): def versions(self, versions): """Sets the versions of this File. + # noqa: E501 :param versions: The versions of this File. # noqa: E501 :type versions: list[FileVersion] diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index a00a7d05..7c176045 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -58,6 +58,7 @@ def __init__(self, url=None, local_vars_configuration=None): # noqa: E501 def url(self): """Gets the url of this FileUploadURL. # noqa: E501 + # noqa: E501 :return: The url of this FileUploadURL. # noqa: E501 :rtype: str @@ -68,6 +69,7 @@ def url(self): def url(self, url): """Sets the url of this FileUploadURL. + # noqa: E501 :param url: The url of this FileUploadURL. # noqa: E501 :type url: str diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index 30ebacac..5d7be7a9 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -562,6 +562,7 @@ def join_state(self, join_state): def tags(self): """Gets the tags of this Group. # noqa: E501 + # noqa: E501 :return: The tags of this Group. # noqa: E501 :rtype: list[str] @@ -572,6 +573,7 @@ def tags(self): def tags(self, tags): """Sets the tags of this Group. + # noqa: E501 :param tags: The tags of this Group. # noqa: E501 :type tags: list[str] @@ -583,6 +585,7 @@ def tags(self, tags): def galleries(self): """Gets the galleries of this Group. # noqa: E501 + # noqa: E501 :return: The galleries of this Group. # noqa: E501 :rtype: list[GroupGallery] @@ -593,6 +596,7 @@ def galleries(self): def galleries(self, galleries): """Sets the galleries of this Group. + # noqa: E501 :param galleries: The galleries of this Group. # noqa: E501 :type galleries: list[GroupGallery] diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index 0aa4b6e3..62e509fc 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -199,6 +199,7 @@ def members_only(self, members_only): def role_ids_to_view(self): """Gets the role_ids_to_view of this GroupGallery. # noqa: E501 + # noqa: E501 :return: The role_ids_to_view of this GroupGallery. # noqa: E501 :rtype: list[str] @@ -209,6 +210,7 @@ def role_ids_to_view(self): def role_ids_to_view(self, role_ids_to_view): """Sets the role_ids_to_view of this GroupGallery. + # noqa: E501 :param role_ids_to_view: The role_ids_to_view of this GroupGallery. # noqa: E501 :type role_ids_to_view: list[str] @@ -220,6 +222,7 @@ def role_ids_to_view(self, role_ids_to_view): def role_ids_to_submit(self): """Gets the role_ids_to_submit of this GroupGallery. # noqa: E501 + # noqa: E501 :return: The role_ids_to_submit of this GroupGallery. # noqa: E501 :rtype: list[str] @@ -230,6 +233,7 @@ def role_ids_to_submit(self): def role_ids_to_submit(self, role_ids_to_submit): """Sets the role_ids_to_submit of this GroupGallery. + # noqa: E501 :param role_ids_to_submit: The role_ids_to_submit of this GroupGallery. # noqa: E501 :type role_ids_to_submit: list[str] @@ -241,6 +245,7 @@ def role_ids_to_submit(self, role_ids_to_submit): def role_ids_to_auto_approve(self): """Gets the role_ids_to_auto_approve of this GroupGallery. # noqa: E501 + # noqa: E501 :return: The role_ids_to_auto_approve of this GroupGallery. # noqa: E501 :rtype: list[str] @@ -251,6 +256,7 @@ def role_ids_to_auto_approve(self): def role_ids_to_auto_approve(self, role_ids_to_auto_approve): """Sets the role_ids_to_auto_approve of this GroupGallery. + # noqa: E501 :param role_ids_to_auto_approve: The role_ids_to_auto_approve of this GroupGallery. # noqa: E501 :type role_ids_to_auto_approve: list[str] @@ -262,6 +268,7 @@ def role_ids_to_auto_approve(self, role_ids_to_auto_approve): def role_ids_to_manage(self): """Gets the role_ids_to_manage of this GroupGallery. # noqa: E501 + # noqa: E501 :return: The role_ids_to_manage of this GroupGallery. # noqa: E501 :rtype: list[str] @@ -272,6 +279,7 @@ def role_ids_to_manage(self): def role_ids_to_manage(self, role_ids_to_manage): """Sets the role_ids_to_manage of this GroupGallery. + # noqa: E501 :param role_ids_to_manage: The role_ids_to_manage of this GroupGallery. # noqa: E501 :type role_ids_to_manage: list[str] diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index 527ee3b9..2781503e 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -195,6 +195,7 @@ def priority(self, priority): def tags(self): """Gets the tags of this InfoPush. # noqa: E501 + # noqa: E501 :return: The tags of this InfoPush. # noqa: E501 :rtype: list[str] @@ -205,6 +206,7 @@ def tags(self): def tags(self, tags): """Sets the tags of this InfoPush. + # noqa: E501 :param tags: The tags of this InfoPush. # noqa: E501 :type tags: list[str] @@ -315,6 +317,7 @@ def updated_at(self, updated_at): def start_date(self): """Gets the start_date of this InfoPush. # noqa: E501 + # noqa: E501 :return: The start_date of this InfoPush. # noqa: E501 :rtype: datetime @@ -325,6 +328,7 @@ def start_date(self): def start_date(self, start_date): """Sets the start_date of this InfoPush. + # noqa: E501 :param start_date: The start_date of this InfoPush. # noqa: E501 :type start_date: datetime diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index 58c2decd..f702b559 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -518,6 +518,7 @@ def release_status(self, release_status): def tags(self): """Gets the tags of this LimitedWorld. # noqa: E501 + # noqa: E501 :return: The tags of this LimitedWorld. # noqa: E501 :rtype: list[str] @@ -528,6 +529,7 @@ def tags(self): def tags(self, tags): """Sets the tags of this LimitedWorld. + # noqa: E501 :param tags: The tags of this LimitedWorld. # noqa: E501 :type tags: list[str] @@ -567,6 +569,7 @@ def thumbnail_image_url(self, thumbnail_image_url): def unity_packages(self): """Gets the unity_packages of this LimitedWorld. # noqa: E501 + # noqa: E501 :return: The unity_packages of this LimitedWorld. # noqa: E501 :rtype: list[LimitedUnityPackage] @@ -577,6 +580,7 @@ def unity_packages(self): def unity_packages(self, unity_packages): """Sets the unity_packages of this LimitedWorld. + # noqa: E501 :param unity_packages: The unity_packages of this LimitedWorld. # noqa: E501 :type unity_packages: list[LimitedUnityPackage] diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index 2d775b77..2b51a4f2 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -167,6 +167,7 @@ def id(self, id): def message(self): """Gets the message of this Notification. # noqa: E501 + # noqa: E501 :return: The message of this Notification. # noqa: E501 :rtype: str @@ -177,6 +178,7 @@ def message(self): def message(self, message): """Sets the message of this Notification. + # noqa: E501 :param message: The message of this Notification. # noqa: E501 :type message: str diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index 50534df6..1423ce32 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -69,6 +69,7 @@ def __init__(self, results=None, total_count=None, has_next=None, local_vars_con def results(self): """Gets the results of this PaginatedGroupAuditLogEntryList. # noqa: E501 + # noqa: E501 :return: The results of this PaginatedGroupAuditLogEntryList. # noqa: E501 :rtype: list[GroupAuditLogEntry] @@ -79,6 +80,7 @@ def results(self): def results(self, results): """Sets the results of this PaginatedGroupAuditLogEntryList. + # noqa: E501 :param results: The results of this PaginatedGroupAuditLogEntryList. # noqa: E501 :type results: list[GroupAuditLogEntry] diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index 9a27ea5f..98176338 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -161,6 +161,7 @@ def id(self, id): def message(self): """Gets the message of this SentNotification. # noqa: E501 + # noqa: E501 :return: The message of this SentNotification. # noqa: E501 :rtype: str @@ -171,6 +172,7 @@ def message(self): def message(self, message): """Sets the message of this SentNotification. + # noqa: E501 :param message: The message of this SentNotification. # noqa: E501 :type message: str diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index bc01d9af..cfe53d4c 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -192,6 +192,7 @@ def description(self, description): def tags(self): """Gets the tags of this UpdateAvatarRequest. # noqa: E501 + # noqa: E501 :return: The tags of this UpdateAvatarRequest. # noqa: E501 :rtype: list[str] @@ -202,6 +203,7 @@ def tags(self): def tags(self, tags): """Sets the tags of this UpdateAvatarRequest. + # noqa: E501 :param tags: The tags of this UpdateAvatarRequest. # noqa: E501 :type tags: list[str] diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index 5dcc6eb2..5d08f68d 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -160,6 +160,7 @@ def members_only(self, members_only): def role_ids_to_view(self): """Gets the role_ids_to_view of this UpdateGroupGalleryRequest. # noqa: E501 + # noqa: E501 :return: The role_ids_to_view of this UpdateGroupGalleryRequest. # noqa: E501 :rtype: list[str] @@ -170,6 +171,7 @@ def role_ids_to_view(self): def role_ids_to_view(self, role_ids_to_view): """Sets the role_ids_to_view of this UpdateGroupGalleryRequest. + # noqa: E501 :param role_ids_to_view: The role_ids_to_view of this UpdateGroupGalleryRequest. # noqa: E501 :type role_ids_to_view: list[str] @@ -181,6 +183,7 @@ def role_ids_to_view(self, role_ids_to_view): def role_ids_to_submit(self): """Gets the role_ids_to_submit of this UpdateGroupGalleryRequest. # noqa: E501 + # noqa: E501 :return: The role_ids_to_submit of this UpdateGroupGalleryRequest. # noqa: E501 :rtype: list[str] @@ -191,6 +194,7 @@ def role_ids_to_submit(self): def role_ids_to_submit(self, role_ids_to_submit): """Sets the role_ids_to_submit of this UpdateGroupGalleryRequest. + # noqa: E501 :param role_ids_to_submit: The role_ids_to_submit of this UpdateGroupGalleryRequest. # noqa: E501 :type role_ids_to_submit: list[str] @@ -202,6 +206,7 @@ def role_ids_to_submit(self, role_ids_to_submit): def role_ids_to_auto_approve(self): """Gets the role_ids_to_auto_approve of this UpdateGroupGalleryRequest. # noqa: E501 + # noqa: E501 :return: The role_ids_to_auto_approve of this UpdateGroupGalleryRequest. # noqa: E501 :rtype: list[str] @@ -212,6 +217,7 @@ def role_ids_to_auto_approve(self): def role_ids_to_auto_approve(self, role_ids_to_auto_approve): """Sets the role_ids_to_auto_approve of this UpdateGroupGalleryRequest. + # noqa: E501 :param role_ids_to_auto_approve: The role_ids_to_auto_approve of this UpdateGroupGalleryRequest. # noqa: E501 :type role_ids_to_auto_approve: list[str] @@ -223,6 +229,7 @@ def role_ids_to_auto_approve(self, role_ids_to_auto_approve): def role_ids_to_manage(self): """Gets the role_ids_to_manage of this UpdateGroupGalleryRequest. # noqa: E501 + # noqa: E501 :return: The role_ids_to_manage of this UpdateGroupGalleryRequest. # noqa: E501 :rtype: list[str] @@ -233,6 +240,7 @@ def role_ids_to_manage(self): def role_ids_to_manage(self, role_ids_to_manage): """Sets the role_ids_to_manage of this UpdateGroupGalleryRequest. + # noqa: E501 :param role_ids_to_manage: The role_ids_to_manage of this UpdateGroupGalleryRequest. # noqa: E501 :type role_ids_to_manage: list[str] diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index 6a974216..e43b7048 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -61,7 +61,7 @@ class UpdateGroupRequest(object): 'tags': 'tags' } - def __init__(self, name=None, short_code=None, description=None, join_state=None, icon_id='null', banner_id='null', languages=None, links=None, rules=None, tags=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, name=None, short_code=None, description=None, join_state=None, icon_id=None, banner_id=None, languages=None, links=None, rules=None, tags=None, local_vars_configuration=None): # noqa: E501 """UpdateGroupRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -317,6 +317,7 @@ def rules(self, rules): def tags(self): """Gets the tags of this UpdateGroupRequest. # noqa: E501 + # noqa: E501 :return: The tags of this UpdateGroupRequest. # noqa: E501 :rtype: list[str] @@ -327,6 +328,7 @@ def tags(self): def tags(self, tags): """Sets the tags of this UpdateGroupRequest. + # noqa: E501 :param tags: The tags of this UpdateGroupRequest. # noqa: E501 :type tags: list[str] diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index 15dce3a4..20a5c61d 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -162,6 +162,7 @@ def accepted_tos_version(self, accepted_tos_version): def tags(self): """Gets the tags of this UpdateUserRequest. # noqa: E501 + # noqa: E501 :return: The tags of this UpdateUserRequest. # noqa: E501 :rtype: list[str] @@ -172,6 +173,7 @@ def tags(self): def tags(self, tags): """Sets the tags of this UpdateUserRequest. + # noqa: E501 :param tags: The tags of this UpdateUserRequest. # noqa: E501 :type tags: list[str] diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index 611132e6..5422d27e 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -354,6 +354,7 @@ def release_status(self, release_status): def tags(self): """Gets the tags of this UpdateWorldRequest. # noqa: E501 + # noqa: E501 :return: The tags of this UpdateWorldRequest. # noqa: E501 :rtype: list[str] @@ -364,6 +365,7 @@ def tags(self): def tags(self, tags): """Sets the tags of this UpdateWorldRequest. + # noqa: E501 :param tags: The tags of this UpdateWorldRequest. # noqa: E501 :type tags: list[str] diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index 7f92fb63..4b1423df 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -709,6 +709,7 @@ def status_description(self, status_description): def tags(self): """Gets the tags of this User. # noqa: E501 + # noqa: E501 :return: The tags of this User. # noqa: E501 :rtype: list[str] @@ -719,6 +720,7 @@ def tags(self): def tags(self, tags): """Sets the tags of this User. + # noqa: E501 :param tags: The tags of this User. # noqa: E501 :type tags: list[str] diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index 5a79c755..f36b1037 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -725,6 +725,7 @@ def release_status(self, release_status): def tags(self): """Gets the tags of this World. # noqa: E501 + # noqa: E501 :return: The tags of this World. # noqa: E501 :rtype: list[str] @@ -735,6 +736,7 @@ def tags(self): def tags(self, tags): """Sets the tags of this World. + # noqa: E501 :param tags: The tags of this World. # noqa: E501 :type tags: list[str] From d267df6aae3c6419cfee717cb67bdccb6a08fb29 Mon Sep 17 00:00:00 2001 From: VRCCat Date: Mon, 5 Dec 2022 00:34:49 +0000 Subject: [PATCH 024/102] Upgrade Python SDK to spec 1.10.0 --- setup.py | 4 ++-- vrchatapi/__init__.py | 2 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/groups_api.py | 2 +- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 ++-- vrchatapi/exceptions.py | 2 +- vrchatapi/models/__init__.py | 2 +- vrchatapi/models/add_favorite_request.py | 2 +- vrchatapi/models/add_group_gallery_image_request.py | 2 +- vrchatapi/models/api_config.py | 2 +- vrchatapi/models/api_config_announcement.py | 2 +- vrchatapi/models/api_config_download_url_list.py | 2 +- vrchatapi/models/api_config_events.py | 2 +- vrchatapi/models/api_health.py | 2 +- vrchatapi/models/avatar.py | 2 +- vrchatapi/models/avatar_unity_package_url_object.py | 2 +- vrchatapi/models/ban_group_member_request.py | 2 +- vrchatapi/models/create_avatar_request.py | 2 +- vrchatapi/models/create_file_request.py | 2 +- vrchatapi/models/create_file_version_request.py | 2 +- vrchatapi/models/create_group_announcement_request.py | 2 +- vrchatapi/models/create_group_gallery_request.py | 2 +- vrchatapi/models/create_group_invite_request.py | 2 +- vrchatapi/models/create_group_request.py | 2 +- vrchatapi/models/create_group_role_request.py | 2 +- vrchatapi/models/create_world_request.py | 2 +- vrchatapi/models/current_user.py | 2 +- vrchatapi/models/deployment_group.py | 2 +- vrchatapi/models/developer_type.py | 2 +- vrchatapi/models/dynamic_content_row.py | 2 +- vrchatapi/models/error.py | 2 +- vrchatapi/models/favorite.py | 2 +- vrchatapi/models/favorite_group.py | 2 +- vrchatapi/models/favorite_group_visibility.py | 2 +- vrchatapi/models/favorite_type.py | 2 +- vrchatapi/models/file.py | 2 +- vrchatapi/models/file_data.py | 2 +- vrchatapi/models/file_status.py | 2 +- vrchatapi/models/file_upload_url.py | 2 +- vrchatapi/models/file_version.py | 2 +- vrchatapi/models/file_version_upload_status.py | 2 +- vrchatapi/models/finish_file_data_upload_request.py | 2 +- vrchatapi/models/friend_status.py | 2 +- vrchatapi/models/group.py | 2 +- vrchatapi/models/group_announcement.py | 2 +- vrchatapi/models/group_audit_log_entry.py | 2 +- vrchatapi/models/group_gallery.py | 2 +- vrchatapi/models/group_gallery_image.py | 2 +- vrchatapi/models/group_join_state.py | 2 +- vrchatapi/models/group_limited_member.py | 2 +- vrchatapi/models/group_member.py | 2 +- vrchatapi/models/group_member_limited_user.py | 2 +- vrchatapi/models/group_member_status.py | 2 +- vrchatapi/models/group_my_member.py | 2 +- vrchatapi/models/group_permission.py | 2 +- vrchatapi/models/group_privacy.py | 2 +- vrchatapi/models/group_role.py | 2 +- vrchatapi/models/group_role_template.py | 2 +- vrchatapi/models/group_user_visibility.py | 2 +- vrchatapi/models/info_push.py | 2 +- vrchatapi/models/info_push_data.py | 2 +- vrchatapi/models/info_push_data_article.py | 2 +- vrchatapi/models/info_push_data_article_content.py | 2 +- vrchatapi/models/info_push_data_clickable.py | 2 +- vrchatapi/models/instance.py | 2 +- vrchatapi/models/instance_platforms.py | 2 +- vrchatapi/models/instance_short_name_response.py | 2 +- vrchatapi/models/instance_type.py | 2 +- vrchatapi/models/invite_message.py | 2 +- vrchatapi/models/invite_message_type.py | 2 +- vrchatapi/models/invite_request.py | 2 +- vrchatapi/models/invite_response.py | 2 +- vrchatapi/models/license.py | 2 +- vrchatapi/models/license_action.py | 2 +- vrchatapi/models/license_group.py | 2 +- vrchatapi/models/license_type.py | 2 +- vrchatapi/models/limited_unity_package.py | 2 +- vrchatapi/models/limited_user.py | 2 +- vrchatapi/models/limited_world.py | 2 +- vrchatapi/models/mime_type.py | 2 +- vrchatapi/models/moderate_user_request.py | 2 +- vrchatapi/models/notification.py | 2 +- vrchatapi/models/notification_type.py | 2 +- vrchatapi/models/order_option.py | 2 +- vrchatapi/models/paginated_group_audit_log_entry_list.py | 2 +- vrchatapi/models/past_display_name.py | 2 +- vrchatapi/models/permission.py | 2 +- vrchatapi/models/player_moderation.py | 2 +- vrchatapi/models/player_moderation_type.py | 2 +- vrchatapi/models/region.py | 2 +- vrchatapi/models/release_status.py | 2 +- vrchatapi/models/request_invite_request.py | 2 +- vrchatapi/models/respond_group_join_request.py | 2 +- vrchatapi/models/response.py | 2 +- vrchatapi/models/sent_notification.py | 2 +- vrchatapi/models/sort_option.py | 2 +- vrchatapi/models/subscription.py | 2 +- vrchatapi/models/subscription_period.py | 2 +- vrchatapi/models/success.py | 2 +- vrchatapi/models/transaction.py | 2 +- vrchatapi/models/transaction_agreement.py | 2 +- vrchatapi/models/transaction_status.py | 2 +- vrchatapi/models/transaction_steam_info.py | 2 +- vrchatapi/models/transaction_steam_wallet_info.py | 2 +- vrchatapi/models/two_factor_auth_code.py | 2 +- vrchatapi/models/unity_package.py | 2 +- vrchatapi/models/update_avatar_request.py | 2 +- vrchatapi/models/update_favorite_group_request.py | 2 +- vrchatapi/models/update_group_gallery_request.py | 2 +- vrchatapi/models/update_group_member_request.py | 2 +- vrchatapi/models/update_group_request.py | 2 +- vrchatapi/models/update_group_role_request.py | 2 +- vrchatapi/models/update_invite_message_request.py | 2 +- vrchatapi/models/update_user_request.py | 2 +- vrchatapi/models/update_world_request.py | 2 +- vrchatapi/models/user.py | 2 +- vrchatapi/models/user_exists.py | 2 +- vrchatapi/models/user_state.py | 2 +- vrchatapi/models/user_status.py | 2 +- vrchatapi/models/user_subscription.py | 2 +- vrchatapi/models/verify2_fa_result.py | 2 +- vrchatapi/models/verify_auth_token_result.py | 2 +- vrchatapi/models/world.py | 2 +- vrchatapi/models/world_metadata.py | 2 +- vrchatapi/models/world_publish_status.py | 2 +- vrchatapi/rest.py | 2 +- 140 files changed, 142 insertions(+), 142 deletions(-) diff --git a/setup.py b/setup.py index 9f09401e..6ee960ad 100644 --- a/setup.py +++ b/setup.py @@ -76,7 +76,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -85,7 +85,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.9.1" +VERSION = "1.10.0" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 05f9035a..769e0b77 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,7 +6,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index 24672b27..cec9c31f 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index f3a232f0..2b330d03 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 8fe1bd0c..2a55ea54 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index 56f2cc07..12a0a88e 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index 729ca563..0c5334b0 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index d1c2298b..51a5a8cb 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index 855e6abf..7b40248e 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index a41b6b6a..bfb35ad6 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index 683a438e..0dfeb5d8 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index 9fa5afc2..c0615806 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index ebc875ca..1d3de85d 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index f399b993..f392e386 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index 5897d19a..35994e69 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index 01771813..770c9436 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index dd52c9d0..cd84c38e 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index bc843966..2d50be68 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,7 +3,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index 10f1606a..acba8813 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -459,7 +459,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.9.1\n"\ + "Version of the API: 1.10.0\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index 40a4c8f8..2ff40f3f 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index 098db495..c4543743 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,7 +5,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index 0fc727a6..2b0cc84e 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index 1df6a595..5595d6e4 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index 0f0ff4ac..90ac3ab7 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index 7aa21c06..147795ed 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index 3add272d..5c738ede 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index 920bb231..47807dad 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index 9afa725e..bc5690f0 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index aa787562..aec0642f 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index f584284b..36f0a0d0 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index a276af22..2a9eded3 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index e1ff01f5..01a731fb 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index c49dd146..b4ff9afc 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index 1be003e7..2e50488f 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index b17c8e41..49800742 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index b59ab813..11a7449f 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index 495dee4c..fbba8720 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index 6a4775aa..64e1c7bb 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index 94b2438e..3f019fc6 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index 0ebc4ea5..420f1cb4 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index 84c04d8d..117c6ad8 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/deployment_group.py b/vrchatapi/models/deployment_group.py index 840879ae..8be7eb97 100644 --- a/vrchatapi/models/deployment_group.py +++ b/vrchatapi/models/deployment_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index 84da0451..600fb24b 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index f8ec02a1..b45d4e32 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index 36db8ae9..1141cd06 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index 608533e7..14ce5b9a 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index f8c25c48..ed58b9ee 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index bbeec7da..4e9a401a 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index 427fd1eb..62a74227 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index d81005b8..d7cece54 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index 07e0bf84..f9f8e4ad 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index c760a09a..7936905b 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index 7c176045..1be9f310 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index 132ed16f..e9232a75 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index 3066c323..f9643108 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index afec5e54..147dcbe9 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index a17fcfcd..54363a56 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index 5d7be7a9..8eb62fc1 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index 7f53eb57..7edc2ff0 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index 2db7cec6..eb17e571 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index 62e509fc..c4fda49f 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index 43da0a61..c9eaa52d 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index b05f3363..9b12b8d8 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index 8eae808a..c9badb89 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index c01f1cd0..fded7577 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index 498fb45d..5b0eca9d 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index 6b4f4347..4a3dd163 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index 52a87551..1ea70cb8 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index 42878d8e..3fe39448 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index 70e9bf24..4a3729c8 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index e5438933..95b2af14 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index e9333f4e..17be0155 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index 48cfa268..69749fcd 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index 2781503e..fc3bcd01 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index 0710fa87..9554f8c5 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index ec067a0a..518cefc6 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index 0c8a133f..4c1d4c15 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index a99b9978..f48faf2b 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index 9e7dafcd..12d40695 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index 67adc682..b5f3ecde 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index 79acf5e8..e95c4054 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index 023b00d3..a69bf4be 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index 3fcf2bcd..834b8d22 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index 6eb2427f..f6d46a8d 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index a0ec9b22..8727ad43 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index 6d030b27..138f50a1 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index a9f6406a..5707d6c8 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index 754002f6..b69244dd 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index a0725e1d..ef580069 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index 60484c84..263b0838 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index 4f605f21..5eb52b8c 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user.py b/vrchatapi/models/limited_user.py index 260b3bd6..55a8f55e 100644 --- a/vrchatapi/models/limited_user.py +++ b/vrchatapi/models/limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index f702b559..c3cf3abd 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index 019c1836..2522f7e6 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index 37eae254..7b262f07 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index 2b51a4f2..4c77b78e 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index 0fa71cf0..00a76ae8 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index a0c98cf7..18c579e4 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index 1423ce32..adeafbfe 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index 7945539a..ebcd8d86 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index 8c5eb0ff..2f089a36 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index ac514bbd..3ec54ccd 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index 4fd914e9..a7c72d84 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index b7cbf534..d71a9aa5 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index eb7438c0..6ef021b7 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index 8c3fed2d..db07d73b 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index f8333492..2d388328 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index 361ca2af..a203ccdc 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index 98176338..d1b7aee6 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index b7dd0910..1444b8bc 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index ac4293d4..8ee244ed 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index b49fb22f..0730fbe6 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index 49ead271..0063319e 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index 5cc5e64e..54572f77 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index 65f61c73..62640ccc 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index 9beb9a38..38c83d2b 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index 5fc4fd43..7dc97ee3 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index 8844dc4d..539031dd 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index 8320cd3c..1267e6e7 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index af5ee125..eef1635d 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index cfe53d4c..e696cad2 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index b60bb668..20e45067 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index 5d08f68d..29447ef1 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index 6f4ce2dc..47d17ce4 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index e43b7048..4b73b7b2 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index 74adab43..9c52bb2b 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index 358fe1bc..a9caa04f 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index 20a5c61d..435d4d3b 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index 5422d27e..b3025dee 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index 4b1423df..3c3e7335 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index afc42630..d2ba8a05 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index 4bc51b54..58bb4540 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index 4213bde5..bbda32da 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index 3dd353b2..47dafd61 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index de2b6ba7..bbb3204a 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index 5847029a..2293be46 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index f36b1037..72598c81 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index d588d3f0..b32f3fc3 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index cf5d4b61..fcbfa56a 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index 2cd73c1a..226ccebe 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.9.1 + The version of the OpenAPI document: 1.10.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ From c1067373a67718566f14e3741bf68d7f560de413 Mon Sep 17 00:00:00 2001 From: VRCCat Date: Tue, 6 Dec 2022 08:32:55 +0000 Subject: [PATCH 025/102] Upgrade Python SDK to spec 1.10.1 --- .openapi-generator/FILES | 2 + docs/AccountDeletionLog.md | 13 ++ docs/CurrentUser.md | 5 +- setup.py | 4 +- vrchatapi/__init__.py | 3 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/groups_api.py | 2 +- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 +- vrchatapi/exceptions.py | 2 +- vrchatapi/models/__init__.py | 3 +- vrchatapi/models/account_deletion_log.py | 188 ++++++++++++++++++ vrchatapi/models/add_favorite_request.py | 2 +- .../models/add_group_gallery_image_request.py | 2 +- vrchatapi/models/api_config.py | 2 +- vrchatapi/models/api_config_announcement.py | 2 +- .../models/api_config_download_url_list.py | 2 +- vrchatapi/models/api_config_events.py | 2 +- vrchatapi/models/api_health.py | 2 +- vrchatapi/models/avatar.py | 2 +- .../models/avatar_unity_package_url_object.py | 2 +- vrchatapi/models/ban_group_member_request.py | 2 +- vrchatapi/models/create_avatar_request.py | 2 +- vrchatapi/models/create_file_request.py | 2 +- .../models/create_file_version_request.py | 2 +- .../create_group_announcement_request.py | 2 +- .../models/create_group_gallery_request.py | 2 +- .../models/create_group_invite_request.py | 2 +- vrchatapi/models/create_group_request.py | 2 +- vrchatapi/models/create_group_role_request.py | 2 +- vrchatapi/models/create_world_request.py | 2 +- vrchatapi/models/current_user.py | 36 +++- vrchatapi/models/deployment_group.py | 2 +- vrchatapi/models/developer_type.py | 2 +- vrchatapi/models/dynamic_content_row.py | 2 +- vrchatapi/models/error.py | 2 +- vrchatapi/models/favorite.py | 2 +- vrchatapi/models/favorite_group.py | 2 +- vrchatapi/models/favorite_group_visibility.py | 2 +- vrchatapi/models/favorite_type.py | 2 +- vrchatapi/models/file.py | 2 +- vrchatapi/models/file_data.py | 2 +- vrchatapi/models/file_status.py | 2 +- vrchatapi/models/file_upload_url.py | 2 +- vrchatapi/models/file_version.py | 2 +- .../models/file_version_upload_status.py | 2 +- .../models/finish_file_data_upload_request.py | 2 +- vrchatapi/models/friend_status.py | 2 +- vrchatapi/models/group.py | 2 +- vrchatapi/models/group_announcement.py | 2 +- vrchatapi/models/group_audit_log_entry.py | 2 +- vrchatapi/models/group_gallery.py | 6 +- vrchatapi/models/group_gallery_image.py | 6 +- vrchatapi/models/group_join_state.py | 2 +- vrchatapi/models/group_limited_member.py | 2 +- vrchatapi/models/group_member.py | 2 +- vrchatapi/models/group_member_limited_user.py | 2 +- vrchatapi/models/group_member_status.py | 2 +- vrchatapi/models/group_my_member.py | 2 +- vrchatapi/models/group_permission.py | 2 +- vrchatapi/models/group_privacy.py | 2 +- vrchatapi/models/group_role.py | 2 +- vrchatapi/models/group_role_template.py | 2 +- vrchatapi/models/group_user_visibility.py | 2 +- vrchatapi/models/info_push.py | 2 +- vrchatapi/models/info_push_data.py | 2 +- vrchatapi/models/info_push_data_article.py | 2 +- .../models/info_push_data_article_content.py | 2 +- vrchatapi/models/info_push_data_clickable.py | 2 +- vrchatapi/models/instance.py | 2 +- vrchatapi/models/instance_platforms.py | 2 +- .../models/instance_short_name_response.py | 2 +- vrchatapi/models/instance_type.py | 2 +- vrchatapi/models/invite_message.py | 2 +- vrchatapi/models/invite_message_type.py | 2 +- vrchatapi/models/invite_request.py | 2 +- vrchatapi/models/invite_response.py | 2 +- vrchatapi/models/license.py | 2 +- vrchatapi/models/license_action.py | 2 +- vrchatapi/models/license_group.py | 2 +- vrchatapi/models/license_type.py | 2 +- vrchatapi/models/limited_unity_package.py | 2 +- vrchatapi/models/limited_user.py | 2 +- vrchatapi/models/limited_world.py | 2 +- vrchatapi/models/mime_type.py | 2 +- vrchatapi/models/moderate_user_request.py | 2 +- vrchatapi/models/notification.py | 2 +- vrchatapi/models/notification_type.py | 2 +- vrchatapi/models/order_option.py | 2 +- .../paginated_group_audit_log_entry_list.py | 2 +- vrchatapi/models/past_display_name.py | 2 +- vrchatapi/models/permission.py | 2 +- vrchatapi/models/player_moderation.py | 2 +- vrchatapi/models/player_moderation_type.py | 2 +- vrchatapi/models/region.py | 2 +- vrchatapi/models/release_status.py | 2 +- vrchatapi/models/request_invite_request.py | 2 +- .../models/respond_group_join_request.py | 2 +- vrchatapi/models/response.py | 2 +- vrchatapi/models/sent_notification.py | 2 +- vrchatapi/models/sort_option.py | 2 +- vrchatapi/models/subscription.py | 2 +- vrchatapi/models/subscription_period.py | 2 +- vrchatapi/models/success.py | 2 +- vrchatapi/models/transaction.py | 2 +- vrchatapi/models/transaction_agreement.py | 2 +- vrchatapi/models/transaction_status.py | 2 +- vrchatapi/models/transaction_steam_info.py | 2 +- .../models/transaction_steam_wallet_info.py | 2 +- vrchatapi/models/two_factor_auth_code.py | 2 +- vrchatapi/models/unity_package.py | 2 +- vrchatapi/models/update_avatar_request.py | 2 +- .../models/update_favorite_group_request.py | 2 +- .../models/update_group_gallery_request.py | 2 +- .../models/update_group_member_request.py | 2 +- vrchatapi/models/update_group_request.py | 2 +- vrchatapi/models/update_group_role_request.py | 2 +- .../models/update_invite_message_request.py | 2 +- vrchatapi/models/update_user_request.py | 2 +- vrchatapi/models/update_world_request.py | 2 +- vrchatapi/models/user.py | 2 +- vrchatapi/models/user_exists.py | 2 +- vrchatapi/models/user_state.py | 2 +- vrchatapi/models/user_status.py | 2 +- vrchatapi/models/user_subscription.py | 2 +- vrchatapi/models/verify2_fa_result.py | 2 +- vrchatapi/models/verify_auth_token_result.py | 2 +- vrchatapi/models/world.py | 2 +- vrchatapi/models/world_metadata.py | 2 +- vrchatapi/models/world_publish_status.py | 2 +- vrchatapi/rest.py | 2 +- 144 files changed, 387 insertions(+), 149 deletions(-) create mode 100644 docs/AccountDeletionLog.md create mode 100644 vrchatapi/models/account_deletion_log.py diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 81543631..d4ad466c 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -4,6 +4,7 @@ docs/APIConfigAnnouncement.md docs/APIConfigDownloadURLList.md docs/APIConfigEvents.md docs/APIHealth.md +docs/AccountDeletionLog.md docs/AddFavoriteRequest.md docs/AddGroupGalleryImageRequest.md docs/AuthenticationApi.md @@ -159,6 +160,7 @@ vrchatapi/api_client.py vrchatapi/configuration.py vrchatapi/exceptions.py vrchatapi/models/__init__.py +vrchatapi/models/account_deletion_log.py vrchatapi/models/add_favorite_request.py vrchatapi/models/add_group_gallery_image_request.py vrchatapi/models/api_config.py diff --git a/docs/AccountDeletionLog.md b/docs/AccountDeletionLog.md new file mode 100644 index 00000000..79f7f7a5 --- /dev/null +++ b/docs/AccountDeletionLog.md @@ -0,0 +1,13 @@ +# AccountDeletionLog + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**message** | **str** | Typically \"Deletion requested\" or \"Deletion canceled\". Other messages like \"Deletion completed\" may exist, but are these are not possible to see as a regular user. | [optional] [default to 'Deletion requested'] +**deletion_scheduled** | **datetime** | When the deletion is scheduled to happen, standard is 14 days after the request. | [optional] +**date_time** | **datetime** | Date and time of the deletion request. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CurrentUser.md b/docs/CurrentUser.md index 3b2b0072..f50eef4e 100644 --- a/docs/CurrentUser.md +++ b/docs/CurrentUser.md @@ -6,10 +6,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **accepted_tos_version** | **int** | | **account_deletion_date** | **date** | | [optional] -**active_friends** | **list[str]** | | [optional] +**account_deletion_log** | [**list[AccountDeletionLog]**](AccountDeletionLog.md) | | [optional] +**active_friends** | **list[str]** | | [optional] **allow_avatar_copying** | **bool** | | **bio** | **str** | | -**bio_links** | **list[str]** | | +**bio_links** | **list[str]** | | **current_avatar** | **str** | | **current_avatar_asset_url** | **str** | | **current_avatar_image_url** | **str** | When profilePicOverride is not empty, use it instead. | diff --git a/setup.py b/setup.py index 6ee960ad..06f8a5a5 100644 --- a/setup.py +++ b/setup.py @@ -76,7 +76,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -85,7 +85,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.10.0" +VERSION = "1.10.1" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 769e0b77..3b82a542 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,7 +6,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -48,6 +48,7 @@ from vrchatapi.models.api_config_download_url_list import APIConfigDownloadURLList from vrchatapi.models.api_config_events import APIConfigEvents from vrchatapi.models.api_health import APIHealth +from vrchatapi.models.account_deletion_log import AccountDeletionLog from vrchatapi.models.add_favorite_request import AddFavoriteRequest from vrchatapi.models.add_group_gallery_image_request import AddGroupGalleryImageRequest from vrchatapi.models.avatar import Avatar diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index cec9c31f..f9af0c22 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index 2b330d03..bbdc314b 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 2a55ea54..862d13fb 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index 12a0a88e..c083d33c 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index 0c5334b0..f9617901 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index 51a5a8cb..f50ba009 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index 7b40248e..fd6b5384 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index bfb35ad6..501fdf00 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index 0dfeb5d8..5631fafd 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index c0615806..507c65d1 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index 1d3de85d..ba5d8bf1 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index f392e386..933880a3 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index 35994e69..f55b7a57 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index 770c9436..4f98c734 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index cd84c38e..5d4f8f4e 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index 2d50be68..45875f9e 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,7 +3,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index acba8813..2f496006 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -459,7 +459,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.10.0\n"\ + "Version of the API: 1.10.1\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index 2ff40f3f..35a52875 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index c4543743..189c5de7 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,7 +5,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -19,6 +19,7 @@ from vrchatapi.models.api_config_download_url_list import APIConfigDownloadURLList from vrchatapi.models.api_config_events import APIConfigEvents from vrchatapi.models.api_health import APIHealth +from vrchatapi.models.account_deletion_log import AccountDeletionLog from vrchatapi.models.add_favorite_request import AddFavoriteRequest from vrchatapi.models.add_group_gallery_image_request import AddGroupGalleryImageRequest from vrchatapi.models.avatar import Avatar diff --git a/vrchatapi/models/account_deletion_log.py b/vrchatapi/models/account_deletion_log.py new file mode 100644 index 00000000..2f1c94f5 --- /dev/null +++ b/vrchatapi/models/account_deletion_log.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.10.1 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class AccountDeletionLog(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'message': 'str', + 'deletion_scheduled': 'datetime', + 'date_time': 'datetime' + } + + attribute_map = { + 'message': 'message', + 'deletion_scheduled': 'deletionScheduled', + 'date_time': 'dateTime' + } + + def __init__(self, message='Deletion requested', deletion_scheduled=None, date_time=None, local_vars_configuration=None): # noqa: E501 + """AccountDeletionLog - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._message = None + self._deletion_scheduled = None + self._date_time = None + self.discriminator = None + + if message is not None: + self.message = message + self.deletion_scheduled = deletion_scheduled + if date_time is not None: + self.date_time = date_time + + @property + def message(self): + """Gets the message of this AccountDeletionLog. # noqa: E501 + + Typically \"Deletion requested\" or \"Deletion canceled\". Other messages like \"Deletion completed\" may exist, but are these are not possible to see as a regular user. # noqa: E501 + + :return: The message of this AccountDeletionLog. # noqa: E501 + :rtype: str + """ + return self._message + + @message.setter + def message(self, message): + """Sets the message of this AccountDeletionLog. + + Typically \"Deletion requested\" or \"Deletion canceled\". Other messages like \"Deletion completed\" may exist, but are these are not possible to see as a regular user. # noqa: E501 + + :param message: The message of this AccountDeletionLog. # noqa: E501 + :type message: str + """ + + self._message = message + + @property + def deletion_scheduled(self): + """Gets the deletion_scheduled of this AccountDeletionLog. # noqa: E501 + + When the deletion is scheduled to happen, standard is 14 days after the request. # noqa: E501 + + :return: The deletion_scheduled of this AccountDeletionLog. # noqa: E501 + :rtype: datetime + """ + return self._deletion_scheduled + + @deletion_scheduled.setter + def deletion_scheduled(self, deletion_scheduled): + """Sets the deletion_scheduled of this AccountDeletionLog. + + When the deletion is scheduled to happen, standard is 14 days after the request. # noqa: E501 + + :param deletion_scheduled: The deletion_scheduled of this AccountDeletionLog. # noqa: E501 + :type deletion_scheduled: datetime + """ + + self._deletion_scheduled = deletion_scheduled + + @property + def date_time(self): + """Gets the date_time of this AccountDeletionLog. # noqa: E501 + + Date and time of the deletion request. # noqa: E501 + + :return: The date_time of this AccountDeletionLog. # noqa: E501 + :rtype: datetime + """ + return self._date_time + + @date_time.setter + def date_time(self, date_time): + """Sets the date_time of this AccountDeletionLog. + + Date and time of the deletion request. # noqa: E501 + + :param date_time: The date_time of this AccountDeletionLog. # noqa: E501 + :type date_time: datetime + """ + + self._date_time = date_time + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AccountDeletionLog): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, AccountDeletionLog): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index 2b0cc84e..4bd1dd03 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index 5595d6e4..7f85d1bb 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index 90ac3ab7..655e9a5a 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index 147795ed..a5ca280b 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index 5c738ede..1dd093ce 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index 47807dad..62bc4315 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index bc5690f0..0c4f2d2a 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index aec0642f..091e44b6 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index 36f0a0d0..9b292e3f 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index 2a9eded3..93df8eaf 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index 01a731fb..f5d456a9 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index b4ff9afc..beb04d8b 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index 2e50488f..7e805d2e 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index 49800742..fa4d8d3d 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index 11a7449f..1c988a38 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index fbba8720..05bb47f1 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index 64e1c7bb..39c89b71 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index 3f019fc6..2f35ebd1 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index 420f1cb4..47756cab 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index 117c6ad8..12cb6b81 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -38,6 +38,7 @@ class CurrentUser(object): openapi_types = { 'accepted_tos_version': 'int', 'account_deletion_date': 'date', + 'account_deletion_log': 'list[AccountDeletionLog]', 'active_friends': 'list[str]', 'allow_avatar_copying': 'bool', 'bio': 'str', @@ -88,6 +89,7 @@ class CurrentUser(object): attribute_map = { 'accepted_tos_version': 'acceptedTOSVersion', 'account_deletion_date': 'accountDeletionDate', + 'account_deletion_log': 'accountDeletionLog', 'active_friends': 'activeFriends', 'allow_avatar_copying': 'allowAvatarCopying', 'bio': 'bio', @@ -135,7 +137,7 @@ class CurrentUser(object): 'username': 'username' } - def __init__(self, accepted_tos_version=None, account_deletion_date=None, active_friends=None, allow_avatar_copying=None, bio=None, bio_links=None, current_avatar=None, current_avatar_asset_url=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, date_joined=None, developer_type=None, display_name=None, email_verified=None, fallback_avatar=None, friend_group_names=None, friend_key=None, friends=None, has_birthday=None, has_email=None, has_logged_in_from_client=None, has_pending_email=None, home_location=None, id=None, is_friend=False, last_login=None, last_platform=None, obfuscated_email=None, obfuscated_pending_email=None, oculus_id=None, offline_friends=None, online_friends=None, past_display_names=None, profile_pic_override=None, state=None, status=None, status_description=None, status_first_time=None, status_history=None, steam_details=None, steam_id=None, tags=None, two_factor_auth_enabled=None, two_factor_auth_enabled_date=None, unsubscribe=None, user_icon=None, username=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, accepted_tos_version=None, account_deletion_date=None, account_deletion_log=None, active_friends=None, allow_avatar_copying=None, bio=None, bio_links=None, current_avatar=None, current_avatar_asset_url=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, date_joined=None, developer_type=None, display_name=None, email_verified=None, fallback_avatar=None, friend_group_names=None, friend_key=None, friends=None, has_birthday=None, has_email=None, has_logged_in_from_client=None, has_pending_email=None, home_location=None, id=None, is_friend=False, last_login=None, last_platform=None, obfuscated_email=None, obfuscated_pending_email=None, oculus_id=None, offline_friends=None, online_friends=None, past_display_names=None, profile_pic_override=None, state=None, status=None, status_description=None, status_first_time=None, status_history=None, steam_details=None, steam_id=None, tags=None, two_factor_auth_enabled=None, two_factor_auth_enabled_date=None, unsubscribe=None, user_icon=None, username=None, local_vars_configuration=None): # noqa: E501 """CurrentUser - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -143,6 +145,7 @@ def __init__(self, accepted_tos_version=None, account_deletion_date=None, active self._accepted_tos_version = None self._account_deletion_date = None + self._account_deletion_log = None self._active_friends = None self._allow_avatar_copying = None self._bio = None @@ -192,6 +195,8 @@ def __init__(self, accepted_tos_version=None, account_deletion_date=None, active self.accepted_tos_version = accepted_tos_version self.account_deletion_date = account_deletion_date + if account_deletion_log is not None: + self.account_deletion_log = account_deletion_log if active_friends is not None: self.active_friends = active_friends self.allow_avatar_copying = allow_avatar_copying @@ -290,10 +295,34 @@ def account_deletion_date(self, account_deletion_date): self._account_deletion_date = account_deletion_date + @property + def account_deletion_log(self): + """Gets the account_deletion_log of this CurrentUser. # noqa: E501 + + # noqa: E501 + + :return: The account_deletion_log of this CurrentUser. # noqa: E501 + :rtype: list[AccountDeletionLog] + """ + return self._account_deletion_log + + @account_deletion_log.setter + def account_deletion_log(self, account_deletion_log): + """Sets the account_deletion_log of this CurrentUser. + + # noqa: E501 + + :param account_deletion_log: The account_deletion_log of this CurrentUser. # noqa: E501 + :type account_deletion_log: list[AccountDeletionLog] + """ + + self._account_deletion_log = account_deletion_log + @property def active_friends(self): """Gets the active_friends of this CurrentUser. # noqa: E501 + # noqa: E501 :return: The active_friends of this CurrentUser. # noqa: E501 :rtype: list[str] @@ -304,6 +333,7 @@ def active_friends(self): def active_friends(self, active_friends): """Sets the active_friends of this CurrentUser. + # noqa: E501 :param active_friends: The active_friends of this CurrentUser. # noqa: E501 :type active_friends: list[str] @@ -361,6 +391,7 @@ def bio(self, bio): def bio_links(self): """Gets the bio_links of this CurrentUser. # noqa: E501 + # noqa: E501 :return: The bio_links of this CurrentUser. # noqa: E501 :rtype: list[str] @@ -371,6 +402,7 @@ def bio_links(self): def bio_links(self, bio_links): """Sets the bio_links of this CurrentUser. + # noqa: E501 :param bio_links: The bio_links of this CurrentUser. # noqa: E501 :type bio_links: list[str] diff --git a/vrchatapi/models/deployment_group.py b/vrchatapi/models/deployment_group.py index 8be7eb97..e5d092c7 100644 --- a/vrchatapi/models/deployment_group.py +++ b/vrchatapi/models/deployment_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index 600fb24b..e37082a9 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index b45d4e32..caea8dfd 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index 1141cd06..ee4304d8 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index 14ce5b9a..8675d029 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index ed58b9ee..a8e98702 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index 4e9a401a..c48db621 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index 62a74227..5531ef24 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index d7cece54..3f365dc5 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index f9f8e4ad..7bae50d9 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index 7936905b..98a113fe 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index 1be9f310..10abeec2 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index e9232a75..3ac66005 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index f9643108..297a3890 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index 147dcbe9..c230284f 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index 54363a56..c8b23d94 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index 8eb62fc1..c803f2ea 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index 7edc2ff0..96e2c234 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index eb17e571..6427bbb2 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index c4fda49f..d611f7f0 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -115,8 +115,8 @@ def id(self, id): :type id: str """ if (self.local_vars_configuration.client_side_validation and - id is not None and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', id)): # noqa: E501 - raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + id is not None and not re.search(r'ggal_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', id)): # noqa: E501 + raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/ggal_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 self._id = id diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index c9eaa52d..58afefa6 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -167,8 +167,8 @@ def gallery_id(self, gallery_id): :type gallery_id: str """ if (self.local_vars_configuration.client_side_validation and - gallery_id is not None and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', gallery_id)): # noqa: E501 - raise ValueError(r"Invalid value for `gallery_id`, must be a follow pattern or equal to `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 + gallery_id is not None and not re.search(r'ggal_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', gallery_id)): # noqa: E501 + raise ValueError(r"Invalid value for `gallery_id`, must be a follow pattern or equal to `/ggal_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 self._gallery_id = gallery_id diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index 9b12b8d8..fe704ab3 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index c9badb89..9767f9ee 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index fded7577..00e07eab 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index 5b0eca9d..3def9e2d 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index 4a3dd163..e44b9c73 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index 1ea70cb8..f582eccd 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index 3fe39448..0716469c 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index 4a3729c8..2fd82601 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index 95b2af14..64ab44aa 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index 17be0155..bea0e84c 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index 69749fcd..8970fc2c 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index fc3bcd01..bc5e494b 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index 9554f8c5..c6ab5e2f 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index 518cefc6..8b2b7075 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index 4c1d4c15..72d3a728 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index f48faf2b..2ba57b60 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index 12d40695..51481f60 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index b5f3ecde..a4917b79 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index e95c4054..8b895317 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index a69bf4be..774c2bd6 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index 834b8d22..3a5d2011 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index f6d46a8d..e4565afd 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index 8727ad43..4cdf57a6 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index 138f50a1..d1ba3699 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index 5707d6c8..45cd7053 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index b69244dd..c9822c8d 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index ef580069..859d53c5 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index 263b0838..214a5bdd 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index 5eb52b8c..74404d42 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user.py b/vrchatapi/models/limited_user.py index 55a8f55e..c6b140a3 100644 --- a/vrchatapi/models/limited_user.py +++ b/vrchatapi/models/limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index c3cf3abd..2784d7e0 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index 2522f7e6..fbd4e975 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index 7b262f07..c315237b 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index 4c77b78e..63a2e668 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index 00a76ae8..85bcfa9e 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index 18c579e4..910f4513 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index adeafbfe..e471ef5a 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index ebcd8d86..5120c116 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index 2f089a36..997daba9 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index 3ec54ccd..0506b7c4 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index a7c72d84..259a4e20 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index d71a9aa5..fb6ff607 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index 6ef021b7..ac8730e2 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index db07d73b..ef2fdf4f 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index 2d388328..d5457c73 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index a203ccdc..4211de14 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index d1b7aee6..5a8094bb 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index 1444b8bc..0446c84e 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index 8ee244ed..b4ebf2d8 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index 0730fbe6..1f92d77c 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index 0063319e..93be4096 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index 54572f77..e92246d9 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index 62640ccc..265cabbe 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index 38c83d2b..74f7f37a 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index 7dc97ee3..26fe5941 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index 539031dd..af9ba63c 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index 1267e6e7..a60975d4 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index eef1635d..6b1f0835 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index e696cad2..23a6b4e4 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index 20e45067..0110db06 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index 29447ef1..93d310f6 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index 47d17ce4..0cbae0fe 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index 4b73b7b2..71ea79f0 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index 9c52bb2b..526ee308 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index a9caa04f..6512aab8 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index 435d4d3b..c8ead225 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index b3025dee..8f4aa079 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index 3c3e7335..7138e214 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index d2ba8a05..4fa3bb52 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index 58bb4540..fbcffe9a 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index bbda32da..43c88d98 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index 47dafd61..845a9fc1 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index bbb3204a..fa8d992f 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index 2293be46..fa98fe73 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index 72598c81..ae82847a 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index b32f3fc3..2a73126f 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index fcbfa56a..78927928 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index 226ccebe..91c74023 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.0 + The version of the OpenAPI document: 1.10.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ From 8efcff08ff1bec0ae1e1b13f7e7011fbf770f3ca Mon Sep 17 00:00:00 2001 From: Katistix <33645731+Katistic@users.noreply.github.com> Date: Sun, 22 Jan 2023 23:50:21 +1100 Subject: [PATCH 026/102] #4 (#5) Library structure changed --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5ae98bdd..a714a1fe 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ Below is an example on how to login to the API and fetch your own user informati import vrchatapi from vrchatapi.api import authentication_api from vrchatapi.exceptions import UnauthorizedException -from vrchatapi.model.two_factor_auth_code import TwoFactorAuthCode +from vrchatapi.models.two_factor_auth_code import TwoFactorAuthCode configuration = vrchatapi.Configuration( username = 'username', From 1df61631596aa72440156e4f2f6fc1face691cef Mon Sep 17 00:00:00 2001 From: VRCCat Date: Sun, 22 Jan 2023 17:23:05 +0000 Subject: [PATCH 027/102] Upgrade Python SDK to spec 1.11.0 --- .openapi-generator/FILES | 4 + docs/AuthenticationApi.md | 77 ++++++++- docs/TwoFactorEmailCode.md | 11 ++ docs/Verify2FAEmailCodeResult.md | 11 ++ setup.py | 10 +- vrchatapi/__init__.py | 4 +- vrchatapi/api/authentication_api.py | 147 +++++++++++++++++- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/groups_api.py | 2 +- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 +- vrchatapi/exceptions.py | 2 +- vrchatapi/models/__init__.py | 4 +- vrchatapi/models/account_deletion_log.py | 2 +- vrchatapi/models/add_favorite_request.py | 2 +- .../models/add_group_gallery_image_request.py | 2 +- vrchatapi/models/api_config.py | 2 +- vrchatapi/models/api_config_announcement.py | 2 +- .../models/api_config_download_url_list.py | 2 +- vrchatapi/models/api_config_events.py | 2 +- vrchatapi/models/api_health.py | 2 +- vrchatapi/models/avatar.py | 2 +- .../models/avatar_unity_package_url_object.py | 2 +- vrchatapi/models/ban_group_member_request.py | 2 +- vrchatapi/models/create_avatar_request.py | 2 +- vrchatapi/models/create_file_request.py | 2 +- .../models/create_file_version_request.py | 2 +- .../create_group_announcement_request.py | 2 +- .../models/create_group_gallery_request.py | 2 +- .../models/create_group_invite_request.py | 2 +- vrchatapi/models/create_group_request.py | 2 +- vrchatapi/models/create_group_role_request.py | 2 +- vrchatapi/models/create_world_request.py | 2 +- vrchatapi/models/current_user.py | 2 +- vrchatapi/models/deployment_group.py | 2 +- vrchatapi/models/developer_type.py | 2 +- vrchatapi/models/dynamic_content_row.py | 2 +- vrchatapi/models/error.py | 2 +- vrchatapi/models/favorite.py | 2 +- vrchatapi/models/favorite_group.py | 2 +- vrchatapi/models/favorite_group_visibility.py | 2 +- vrchatapi/models/favorite_type.py | 2 +- vrchatapi/models/file.py | 2 +- vrchatapi/models/file_data.py | 2 +- vrchatapi/models/file_status.py | 2 +- vrchatapi/models/file_upload_url.py | 2 +- vrchatapi/models/file_version.py | 2 +- .../models/file_version_upload_status.py | 2 +- .../models/finish_file_data_upload_request.py | 2 +- vrchatapi/models/friend_status.py | 2 +- vrchatapi/models/group.py | 2 +- vrchatapi/models/group_announcement.py | 2 +- vrchatapi/models/group_audit_log_entry.py | 2 +- vrchatapi/models/group_gallery.py | 2 +- vrchatapi/models/group_gallery_image.py | 2 +- vrchatapi/models/group_join_state.py | 2 +- vrchatapi/models/group_limited_member.py | 2 +- vrchatapi/models/group_member.py | 2 +- vrchatapi/models/group_member_limited_user.py | 2 +- vrchatapi/models/group_member_status.py | 2 +- vrchatapi/models/group_my_member.py | 2 +- vrchatapi/models/group_permission.py | 2 +- vrchatapi/models/group_privacy.py | 2 +- vrchatapi/models/group_role.py | 2 +- vrchatapi/models/group_role_template.py | 2 +- vrchatapi/models/group_user_visibility.py | 2 +- vrchatapi/models/info_push.py | 2 +- vrchatapi/models/info_push_data.py | 2 +- vrchatapi/models/info_push_data_article.py | 2 +- .../models/info_push_data_article_content.py | 2 +- vrchatapi/models/info_push_data_clickable.py | 2 +- vrchatapi/models/instance.py | 2 +- vrchatapi/models/instance_platforms.py | 2 +- .../models/instance_short_name_response.py | 2 +- vrchatapi/models/instance_type.py | 2 +- vrchatapi/models/invite_message.py | 2 +- vrchatapi/models/invite_message_type.py | 2 +- vrchatapi/models/invite_request.py | 2 +- vrchatapi/models/invite_response.py | 2 +- vrchatapi/models/license.py | 2 +- vrchatapi/models/license_action.py | 2 +- vrchatapi/models/license_group.py | 2 +- vrchatapi/models/license_type.py | 2 +- vrchatapi/models/limited_unity_package.py | 2 +- vrchatapi/models/limited_user.py | 2 +- vrchatapi/models/limited_world.py | 2 +- vrchatapi/models/mime_type.py | 2 +- vrchatapi/models/moderate_user_request.py | 2 +- vrchatapi/models/notification.py | 2 +- vrchatapi/models/notification_type.py | 2 +- vrchatapi/models/order_option.py | 2 +- .../paginated_group_audit_log_entry_list.py | 2 +- vrchatapi/models/past_display_name.py | 2 +- vrchatapi/models/permission.py | 2 +- vrchatapi/models/player_moderation.py | 2 +- vrchatapi/models/player_moderation_type.py | 2 +- vrchatapi/models/region.py | 2 +- vrchatapi/models/release_status.py | 2 +- vrchatapi/models/request_invite_request.py | 2 +- .../models/respond_group_join_request.py | 2 +- vrchatapi/models/response.py | 2 +- vrchatapi/models/sent_notification.py | 2 +- vrchatapi/models/sort_option.py | 2 +- vrchatapi/models/subscription.py | 2 +- vrchatapi/models/subscription_period.py | 2 +- vrchatapi/models/success.py | 2 +- vrchatapi/models/transaction.py | 2 +- vrchatapi/models/transaction_agreement.py | 2 +- vrchatapi/models/transaction_status.py | 2 +- vrchatapi/models/transaction_steam_info.py | 2 +- .../models/transaction_steam_wallet_info.py | 2 +- vrchatapi/models/two_factor_auth_code.py | 2 +- vrchatapi/models/two_factor_email_code.py | 132 ++++++++++++++++ vrchatapi/models/unity_package.py | 2 +- vrchatapi/models/update_avatar_request.py | 2 +- .../models/update_favorite_group_request.py | 2 +- .../models/update_group_gallery_request.py | 2 +- .../models/update_group_member_request.py | 2 +- vrchatapi/models/update_group_request.py | 2 +- vrchatapi/models/update_group_role_request.py | 2 +- .../models/update_invite_message_request.py | 2 +- vrchatapi/models/update_user_request.py | 2 +- vrchatapi/models/update_world_request.py | 2 +- vrchatapi/models/user.py | 2 +- vrchatapi/models/user_exists.py | 2 +- vrchatapi/models/user_state.py | 2 +- vrchatapi/models/user_status.py | 2 +- vrchatapi/models/user_subscription.py | 2 +- .../models/verify2_fa_email_code_result.py | 132 ++++++++++++++++ vrchatapi/models/verify2_fa_result.py | 2 +- vrchatapi/models/verify_auth_token_result.py | 2 +- vrchatapi/models/world.py | 2 +- vrchatapi/models/world_metadata.py | 2 +- vrchatapi/models/world_publish_status.py | 2 +- vrchatapi/rest.py | 2 +- 147 files changed, 660 insertions(+), 148 deletions(-) create mode 100644 docs/TwoFactorEmailCode.md create mode 100644 docs/Verify2FAEmailCodeResult.md create mode 100644 vrchatapi/models/two_factor_email_code.py create mode 100644 vrchatapi/models/verify2_fa_email_code_result.py diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index d4ad466c..374c62db 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -111,6 +111,7 @@ docs/TransactionStatus.md docs/TransactionSteamInfo.md docs/TransactionSteamWalletInfo.md docs/TwoFactorAuthCode.md +docs/TwoFactorEmailCode.md docs/UnityPackage.md docs/UpdateAvatarRequest.md docs/UpdateFavoriteGroupRequest.md @@ -127,6 +128,7 @@ docs/UserState.md docs/UserStatus.md docs/UserSubscription.md docs/UsersApi.md +docs/Verify2FAEmailCodeResult.md docs/Verify2FAResult.md docs/VerifyAuthTokenResult.md docs/World.md @@ -259,6 +261,7 @@ vrchatapi/models/transaction_status.py vrchatapi/models/transaction_steam_info.py vrchatapi/models/transaction_steam_wallet_info.py vrchatapi/models/two_factor_auth_code.py +vrchatapi/models/two_factor_email_code.py vrchatapi/models/unity_package.py vrchatapi/models/update_avatar_request.py vrchatapi/models/update_favorite_group_request.py @@ -274,6 +277,7 @@ vrchatapi/models/user_exists.py vrchatapi/models/user_state.py vrchatapi/models/user_status.py vrchatapi/models/user_subscription.py +vrchatapi/models/verify2_fa_email_code_result.py vrchatapi/models/verify2_fa_result.py vrchatapi/models/verify_auth_token_result.py vrchatapi/models/world.py diff --git a/docs/AuthenticationApi.md b/docs/AuthenticationApi.md index 8bdde8a1..bbebe8dd 100644 --- a/docs/AuthenticationApi.md +++ b/docs/AuthenticationApi.md @@ -5,10 +5,11 @@ All URIs are relative to *https://api.vrchat.cloud/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- [**check_user_exists**](AuthenticationApi.md#check_user_exists) | **GET** /auth/exists | Check User Exists -[**delete_user**](AuthenticationApi.md#delete_user) | **PUT** /user/{userId}/delete | Delete User +[**delete_user**](AuthenticationApi.md#delete_user) | **PUT** /users/{userId}/delete | Delete User [**get_current_user**](AuthenticationApi.md#get_current_user) | **GET** /auth/user | Login and/or Get Current User Info [**logout**](AuthenticationApi.md#logout) | **PUT** /logout | Logout [**verify2_fa**](AuthenticationApi.md#verify2_fa) | **POST** /auth/twofactorauth/totp/verify | Verify 2FA code +[**verify2_fa_email_code**](AuthenticationApi.md#verify2_fa_email_code) | **POST** /auth/twofactorauth/emailotp/verify | Verify 2FA email code [**verify_auth_token**](AuthenticationApi.md#verify_auth_token) | **GET** /auth | Verify Auth Token [**verify_recovery_code**](AuthenticationApi.md#verify_recovery_code) | **POST** /auth/twofactorauth/otp/verify | Verify 2FA code with Recovery code @@ -541,6 +542,80 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **verify2_fa_email_code** +> Verify2FAEmailCodeResult verify2_fa_email_code(two_factor_email_code=two_factor_email_code) + +Verify 2FA email code + +Finishes the login sequence with an 2FA email code. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.AuthenticationApi(api_client) + two_factor_email_code = vrchatapi.TwoFactorEmailCode() # TwoFactorEmailCode | (optional) + + try: + # Verify 2FA email code + api_response = api_instance.verify2_fa_email_code(two_factor_email_code=two_factor_email_code) + pprint(api_response) + except ApiException as e: + print("Exception when calling AuthenticationApi->verify2_fa_email_code: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **two_factor_email_code** | [**TwoFactorEmailCode**](TwoFactorEmailCode.md)| | [optional] + +### Return type + +[**Verify2FAEmailCodeResult**](Verify2FAEmailCodeResult.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | * Set-Cookie - Provides a `twoFactorAuth` cookie, which can be used to bypasses the 2FA requirement for future logins on the same device.
| +**401** | Error response due to missing apiKey or auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **verify_auth_token** > VerifyAuthTokenResult verify_auth_token() diff --git a/docs/TwoFactorEmailCode.md b/docs/TwoFactorEmailCode.md new file mode 100644 index 00000000..b90f702c --- /dev/null +++ b/docs/TwoFactorEmailCode.md @@ -0,0 +1,11 @@ +# TwoFactorEmailCode + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**code** | **str** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Verify2FAEmailCodeResult.md b/docs/Verify2FAEmailCodeResult.md new file mode 100644 index 00000000..1b1324d7 --- /dev/null +++ b/docs/Verify2FAEmailCodeResult.md @@ -0,0 +1,11 @@ +# Verify2FAEmailCodeResult + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**verified** | **bool** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/setup.py b/setup.py index 06f8a5a5..b1fceef1 100644 --- a/setup.py +++ b/setup.py @@ -36,7 +36,7 @@ import vrchatapi from vrchatapi.api import authentication_api from vrchatapi.exceptions import UnauthorizedException -from vrchatapi.model.two_factor_auth_code import TwoFactorAuthCode +from vrchatapi.models.two_factor_auth_code import TwoFactorAuthCode configuration = vrchatapi.Configuration( username = 'username', @@ -76,7 +76,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -85,7 +85,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.10.1" +VERSION = "1.11.0" # To install the library, run the following # # python setup.py install @@ -106,7 +106,7 @@ install_requires=REQUIRES, packages=find_packages(exclude=["test", "tests"]), include_package_data=True, - license="The MIT License (MIT)", + license="MIT", long_description_content_type='text/markdown', long_description="""\ @@ -142,7 +142,7 @@ import vrchatapi from vrchatapi.api import authentication_api from vrchatapi.exceptions import UnauthorizedException -from vrchatapi.model.two_factor_auth_code import TwoFactorAuthCode +from vrchatapi.models.two_factor_auth_code import TwoFactorAuthCode configuration = vrchatapi.Configuration( username = 'username', diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 3b82a542..8432e7ed 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,7 +6,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -142,6 +142,7 @@ from vrchatapi.models.transaction_steam_info import TransactionSteamInfo from vrchatapi.models.transaction_steam_wallet_info import TransactionSteamWalletInfo from vrchatapi.models.two_factor_auth_code import TwoFactorAuthCode +from vrchatapi.models.two_factor_email_code import TwoFactorEmailCode from vrchatapi.models.unity_package import UnityPackage from vrchatapi.models.update_avatar_request import UpdateAvatarRequest from vrchatapi.models.update_favorite_group_request import UpdateFavoriteGroupRequest @@ -157,6 +158,7 @@ from vrchatapi.models.user_state import UserState from vrchatapi.models.user_status import UserStatus from vrchatapi.models.user_subscription import UserSubscription +from vrchatapi.models.verify2_fa_email_code_result import Verify2FAEmailCodeResult from vrchatapi.models.verify2_fa_result import Verify2FAResult from vrchatapi.models.verify_auth_token_result import VerifyAuthTokenResult from vrchatapi.models.world import World diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index f9af0c22..fddec9f5 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -314,7 +314,7 @@ def delete_user_with_http_info(self, user_id, **kwargs): # noqa: E501 } return self.api_client.call_api( - '/user/{userId}/delete', 'PUT', + '/users/{userId}/delete', 'PUT', path_params, query_params, header_params, @@ -729,6 +729,149 @@ def verify2_fa_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def verify2_fa_email_code(self, **kwargs): # noqa: E501 + """Verify 2FA email code # noqa: E501 + + Finishes the login sequence with an 2FA email code. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.verify2_fa_email_code(async_req=True) + >>> result = thread.get() + + :param two_factor_email_code: + :type two_factor_email_code: TwoFactorEmailCode + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Verify2FAEmailCodeResult + """ + kwargs['_return_http_data_only'] = True + return self.verify2_fa_email_code_with_http_info(**kwargs) # noqa: E501 + + def verify2_fa_email_code_with_http_info(self, **kwargs): # noqa: E501 + """Verify 2FA email code # noqa: E501 + + Finishes the login sequence with an 2FA email code. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.verify2_fa_email_code_with_http_info(async_req=True) + >>> result = thread.get() + + :param two_factor_email_code: + :type two_factor_email_code: TwoFactorEmailCode + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Verify2FAEmailCodeResult, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'two_factor_email_code' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method verify2_fa_email_code" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'two_factor_email_code' in local_var_params: + body_params = local_var_params['two_factor_email_code'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "Verify2FAEmailCodeResult", + 401: "Error", + } + + return self.api_client.call_api( + '/auth/twofactorauth/emailotp/verify', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def verify_auth_token(self, **kwargs): # noqa: E501 """Verify Auth Token # noqa: E501 diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index bbdc314b..2f928395 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 862d13fb..ebad3956 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index c083d33c..b9e85465 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index f9617901..7a26401e 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index f50ba009..890096ae 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index fd6b5384..f0c82bc5 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 501fdf00..6787dc58 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index 5631fafd..4695c5e3 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index 507c65d1..443c1f10 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index ba5d8bf1..2e3f2330 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index 933880a3..333f50f5 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index f55b7a57..3a145fdb 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index 4f98c734..7f38aa28 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 5d4f8f4e..92a1ef40 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index 45875f9e..0be4b156 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,7 +3,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index 2f496006..14d87669 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -459,7 +459,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.10.1\n"\ + "Version of the API: 1.11.0\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index 35a52875..4d451161 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index 189c5de7..904fe879 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,7 +5,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -113,6 +113,7 @@ from vrchatapi.models.transaction_steam_info import TransactionSteamInfo from vrchatapi.models.transaction_steam_wallet_info import TransactionSteamWalletInfo from vrchatapi.models.two_factor_auth_code import TwoFactorAuthCode +from vrchatapi.models.two_factor_email_code import TwoFactorEmailCode from vrchatapi.models.unity_package import UnityPackage from vrchatapi.models.update_avatar_request import UpdateAvatarRequest from vrchatapi.models.update_favorite_group_request import UpdateFavoriteGroupRequest @@ -128,6 +129,7 @@ from vrchatapi.models.user_state import UserState from vrchatapi.models.user_status import UserStatus from vrchatapi.models.user_subscription import UserSubscription +from vrchatapi.models.verify2_fa_email_code_result import Verify2FAEmailCodeResult from vrchatapi.models.verify2_fa_result import Verify2FAResult from vrchatapi.models.verify_auth_token_result import VerifyAuthTokenResult from vrchatapi.models.world import World diff --git a/vrchatapi/models/account_deletion_log.py b/vrchatapi/models/account_deletion_log.py index 2f1c94f5..600bb439 100644 --- a/vrchatapi/models/account_deletion_log.py +++ b/vrchatapi/models/account_deletion_log.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index 4bd1dd03..16d3a02c 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index 7f85d1bb..cac09a47 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index 655e9a5a..25cab36e 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index a5ca280b..d2875ef1 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index 1dd093ce..eaa67066 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index 62bc4315..f6e4b835 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index 0c4f2d2a..33a356f9 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index 091e44b6..792e33b1 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index 9b292e3f..97d3f082 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index 93df8eaf..7f961fc7 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index f5d456a9..4601887d 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index beb04d8b..58cb9488 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index 7e805d2e..a15956ce 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index fa4d8d3d..167770ea 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index 1c988a38..9b51aa3b 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index 05bb47f1..cfa76f91 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index 39c89b71..ea98df3c 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index 2f35ebd1..797df13d 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index 47756cab..550cc59e 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index 12cb6b81..230e7b66 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/deployment_group.py b/vrchatapi/models/deployment_group.py index e5d092c7..987aa91e 100644 --- a/vrchatapi/models/deployment_group.py +++ b/vrchatapi/models/deployment_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index e37082a9..a40b1f3a 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index caea8dfd..7e1bcfe6 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index ee4304d8..ff271b79 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index 8675d029..7b71cc1a 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index a8e98702..01e56550 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index c48db621..5cbce74d 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index 5531ef24..63e5ea00 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index 3f365dc5..f1172a1f 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index 7bae50d9..017b9f61 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index 98a113fe..d49d6c4a 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index 10abeec2..b52a3afc 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index 3ac66005..bff4c7c6 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index 297a3890..e15df4b1 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index c230284f..2d30eb00 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index c8b23d94..56796ea9 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index c803f2ea..81a1a4ea 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index 96e2c234..93c112c0 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index 6427bbb2..9a6a37bf 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index d611f7f0..99762441 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index 58afefa6..1a7055e1 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index fe704ab3..8054ad7b 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index 9767f9ee..b8deade6 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index 00e07eab..a2f7e809 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index 3def9e2d..f141e3b7 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index e44b9c73..11043688 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index f582eccd..582f3a9f 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index 0716469c..21f560ce 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index 2fd82601..b0b88144 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index 64ab44aa..cffa3a88 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index bea0e84c..defe61fa 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index 8970fc2c..ebf52d5a 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index bc5e494b..93df5e7f 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index c6ab5e2f..2036e124 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index 8b2b7075..03dcce2b 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index 72d3a728..26a55d4d 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index 2ba57b60..9ab95c49 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index 51481f60..bd10b2b2 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index a4917b79..af562fa0 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index 8b895317..21a489d1 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index 774c2bd6..ebf75d6d 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index 3a5d2011..ffd3ed49 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index e4565afd..2959aa1a 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index 4cdf57a6..072fcd88 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index d1ba3699..a2937040 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index 45cd7053..fa5c505d 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index c9822c8d..7d0fc3c6 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index 859d53c5..20cc41ac 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index 214a5bdd..25401d16 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index 74404d42..bb70405d 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user.py b/vrchatapi/models/limited_user.py index c6b140a3..82a4aa14 100644 --- a/vrchatapi/models/limited_user.py +++ b/vrchatapi/models/limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index 2784d7e0..023aa3e1 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index fbd4e975..873d602b 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index c315237b..f158ae47 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index 63a2e668..68aeec08 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index 85bcfa9e..1f005391 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index 910f4513..d8336f6e 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index e471ef5a..7587f19b 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index 5120c116..1b841fa6 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index 997daba9..72a5c8d6 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index 0506b7c4..e679798a 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index 259a4e20..effae539 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index fb6ff607..b668bc29 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index ac8730e2..b28e75c3 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index ef2fdf4f..13405492 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index d5457c73..68bcd2c7 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index 4211de14..39dad530 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index 5a8094bb..68080db7 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index 0446c84e..29860b3a 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index b4ebf2d8..3101435c 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index 1f92d77c..dde05500 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index 93be4096..ba2b4ba2 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index e92246d9..9bb485c7 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index 265cabbe..50f64a73 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index 74f7f37a..0ddf8f8e 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index 26fe5941..e4bdea88 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index af9ba63c..32c72187 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index a60975d4..6ef7f9ef 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_email_code.py b/vrchatapi/models/two_factor_email_code.py new file mode 100644 index 00000000..55e354f8 --- /dev/null +++ b/vrchatapi/models/two_factor_email_code.py @@ -0,0 +1,132 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.11.0 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class TwoFactorEmailCode(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'code': 'str' + } + + attribute_map = { + 'code': 'code' + } + + def __init__(self, code=None, local_vars_configuration=None): # noqa: E501 + """TwoFactorEmailCode - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._code = None + self.discriminator = None + + self.code = code + + @property + def code(self): + """Gets the code of this TwoFactorEmailCode. # noqa: E501 + + + :return: The code of this TwoFactorEmailCode. # noqa: E501 + :rtype: str + """ + return self._code + + @code.setter + def code(self, code): + """Sets the code of this TwoFactorEmailCode. + + + :param code: The code of this TwoFactorEmailCode. # noqa: E501 + :type code: str + """ + if self.local_vars_configuration.client_side_validation and code is None: # noqa: E501 + raise ValueError("Invalid value for `code`, must not be `None`") # noqa: E501 + + self._code = code + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, TwoFactorEmailCode): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, TwoFactorEmailCode): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index 6b1f0835..ebfe647d 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index 23a6b4e4..ec10ae21 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index 0110db06..8151698e 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index 93d310f6..3a669a85 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index 0cbae0fe..e4c7026b 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index 71ea79f0..fe72f670 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index 526ee308..38b17e09 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index 6512aab8..6b10c9d0 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index c8ead225..c569e75f 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index 8f4aa079..471e98eb 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index 7138e214..9e300180 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index 4fa3bb52..318455f6 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index fbcffe9a..cb9a2526 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index 43c88d98..ae72c5cd 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index 845a9fc1..ba220c58 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_email_code_result.py b/vrchatapi/models/verify2_fa_email_code_result.py new file mode 100644 index 00000000..35fcf255 --- /dev/null +++ b/vrchatapi/models/verify2_fa_email_code_result.py @@ -0,0 +1,132 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.11.0 + Contact: me@ariesclark.com + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class Verify2FAEmailCodeResult(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'verified': 'bool' + } + + attribute_map = { + 'verified': 'verified' + } + + def __init__(self, verified=None, local_vars_configuration=None): # noqa: E501 + """Verify2FAEmailCodeResult - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._verified = None + self.discriminator = None + + self.verified = verified + + @property + def verified(self): + """Gets the verified of this Verify2FAEmailCodeResult. # noqa: E501 + + + :return: The verified of this Verify2FAEmailCodeResult. # noqa: E501 + :rtype: bool + """ + return self._verified + + @verified.setter + def verified(self, verified): + """Sets the verified of this Verify2FAEmailCodeResult. + + + :param verified: The verified of this Verify2FAEmailCodeResult. # noqa: E501 + :type verified: bool + """ + if self.local_vars_configuration.client_side_validation and verified is None: # noqa: E501 + raise ValueError("Invalid value for `verified`, must not be `None`") # noqa: E501 + + self._verified = verified + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, Verify2FAEmailCodeResult): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, Verify2FAEmailCodeResult): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index fa8d992f..4e2a14f7 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index fa98fe73..bb6dd1c7 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index ae82847a..ec6ef05f 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index 2a73126f..6563fa0f 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index 78927928..a0b88706 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index 91c74023..de2aa57b 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.10.1 + The version of the OpenAPI document: 1.11.0 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ From b0746dea5418abaf7cc237b6474045bbc6e247ee Mon Sep 17 00:00:00 2001 From: VRCCat Date: Sun, 19 Feb 2023 12:13:27 +0000 Subject: [PATCH 028/102] Upgrade Python SDK to spec 1.11.1 --- docs/GroupsApi.md | 8 ++++---- setup.py | 4 ++-- vrchatapi/__init__.py | 2 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/groups_api.py | 12 ++++++------ vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 ++-- vrchatapi/exceptions.py | 2 +- vrchatapi/models/__init__.py | 2 +- vrchatapi/models/account_deletion_log.py | 2 +- vrchatapi/models/add_favorite_request.py | 2 +- vrchatapi/models/add_group_gallery_image_request.py | 2 +- vrchatapi/models/api_config.py | 2 +- vrchatapi/models/api_config_announcement.py | 2 +- vrchatapi/models/api_config_download_url_list.py | 2 +- vrchatapi/models/api_config_events.py | 2 +- vrchatapi/models/api_health.py | 2 +- vrchatapi/models/avatar.py | 2 +- vrchatapi/models/avatar_unity_package_url_object.py | 2 +- vrchatapi/models/ban_group_member_request.py | 2 +- vrchatapi/models/create_avatar_request.py | 2 +- vrchatapi/models/create_file_request.py | 2 +- vrchatapi/models/create_file_version_request.py | 2 +- .../models/create_group_announcement_request.py | 2 +- vrchatapi/models/create_group_gallery_request.py | 2 +- vrchatapi/models/create_group_invite_request.py | 2 +- vrchatapi/models/create_group_request.py | 2 +- vrchatapi/models/create_group_role_request.py | 2 +- vrchatapi/models/create_world_request.py | 2 +- vrchatapi/models/current_user.py | 2 +- vrchatapi/models/deployment_group.py | 2 +- vrchatapi/models/developer_type.py | 2 +- vrchatapi/models/dynamic_content_row.py | 2 +- vrchatapi/models/error.py | 2 +- vrchatapi/models/favorite.py | 2 +- vrchatapi/models/favorite_group.py | 2 +- vrchatapi/models/favorite_group_visibility.py | 2 +- vrchatapi/models/favorite_type.py | 2 +- vrchatapi/models/file.py | 2 +- vrchatapi/models/file_data.py | 2 +- vrchatapi/models/file_status.py | 2 +- vrchatapi/models/file_upload_url.py | 2 +- vrchatapi/models/file_version.py | 2 +- vrchatapi/models/file_version_upload_status.py | 2 +- vrchatapi/models/finish_file_data_upload_request.py | 2 +- vrchatapi/models/friend_status.py | 2 +- vrchatapi/models/group.py | 2 +- vrchatapi/models/group_announcement.py | 2 +- vrchatapi/models/group_audit_log_entry.py | 2 +- vrchatapi/models/group_gallery.py | 2 +- vrchatapi/models/group_gallery_image.py | 2 +- vrchatapi/models/group_join_state.py | 2 +- vrchatapi/models/group_limited_member.py | 2 +- vrchatapi/models/group_member.py | 2 +- vrchatapi/models/group_member_limited_user.py | 2 +- vrchatapi/models/group_member_status.py | 2 +- vrchatapi/models/group_my_member.py | 2 +- vrchatapi/models/group_permission.py | 2 +- vrchatapi/models/group_privacy.py | 2 +- vrchatapi/models/group_role.py | 2 +- vrchatapi/models/group_role_template.py | 2 +- vrchatapi/models/group_user_visibility.py | 2 +- vrchatapi/models/info_push.py | 2 +- vrchatapi/models/info_push_data.py | 2 +- vrchatapi/models/info_push_data_article.py | 2 +- vrchatapi/models/info_push_data_article_content.py | 2 +- vrchatapi/models/info_push_data_clickable.py | 2 +- vrchatapi/models/instance.py | 2 +- vrchatapi/models/instance_platforms.py | 2 +- vrchatapi/models/instance_short_name_response.py | 2 +- vrchatapi/models/instance_type.py | 2 +- vrchatapi/models/invite_message.py | 2 +- vrchatapi/models/invite_message_type.py | 2 +- vrchatapi/models/invite_request.py | 2 +- vrchatapi/models/invite_response.py | 2 +- vrchatapi/models/license.py | 2 +- vrchatapi/models/license_action.py | 2 +- vrchatapi/models/license_group.py | 2 +- vrchatapi/models/license_type.py | 2 +- vrchatapi/models/limited_unity_package.py | 2 +- vrchatapi/models/limited_user.py | 2 +- vrchatapi/models/limited_world.py | 2 +- vrchatapi/models/mime_type.py | 2 +- vrchatapi/models/moderate_user_request.py | 2 +- vrchatapi/models/notification.py | 2 +- vrchatapi/models/notification_type.py | 2 +- vrchatapi/models/order_option.py | 2 +- .../models/paginated_group_audit_log_entry_list.py | 2 +- vrchatapi/models/past_display_name.py | 2 +- vrchatapi/models/permission.py | 2 +- vrchatapi/models/player_moderation.py | 2 +- vrchatapi/models/player_moderation_type.py | 2 +- vrchatapi/models/region.py | 2 +- vrchatapi/models/release_status.py | 2 +- vrchatapi/models/request_invite_request.py | 2 +- vrchatapi/models/respond_group_join_request.py | 2 +- vrchatapi/models/response.py | 2 +- vrchatapi/models/sent_notification.py | 2 +- vrchatapi/models/sort_option.py | 2 +- vrchatapi/models/subscription.py | 2 +- vrchatapi/models/subscription_period.py | 2 +- vrchatapi/models/success.py | 2 +- vrchatapi/models/transaction.py | 2 +- vrchatapi/models/transaction_agreement.py | 2 +- vrchatapi/models/transaction_status.py | 2 +- vrchatapi/models/transaction_steam_info.py | 2 +- vrchatapi/models/transaction_steam_wallet_info.py | 2 +- vrchatapi/models/two_factor_auth_code.py | 2 +- vrchatapi/models/two_factor_email_code.py | 2 +- vrchatapi/models/unity_package.py | 2 +- vrchatapi/models/update_avatar_request.py | 2 +- vrchatapi/models/update_favorite_group_request.py | 2 +- vrchatapi/models/update_group_gallery_request.py | 2 +- vrchatapi/models/update_group_member_request.py | 2 +- vrchatapi/models/update_group_request.py | 2 +- vrchatapi/models/update_group_role_request.py | 2 +- vrchatapi/models/update_invite_message_request.py | 2 +- vrchatapi/models/update_user_request.py | 2 +- vrchatapi/models/update_world_request.py | 2 +- vrchatapi/models/user.py | 2 +- vrchatapi/models/user_exists.py | 2 +- vrchatapi/models/user_state.py | 2 +- vrchatapi/models/user_status.py | 2 +- vrchatapi/models/user_subscription.py | 2 +- vrchatapi/models/verify2_fa_email_code_result.py | 2 +- vrchatapi/models/verify2_fa_result.py | 2 +- vrchatapi/models/verify_auth_token_result.py | 2 +- vrchatapi/models/world.py | 2 +- vrchatapi/models/world_metadata.py | 2 +- vrchatapi/models/world_publish_status.py | 2 +- vrchatapi/rest.py | 2 +- 144 files changed, 154 insertions(+), 154 deletions(-) diff --git a/docs/GroupsApi.md b/docs/GroupsApi.md index 6bfe271e..e145e1a2 100644 --- a/docs/GroupsApi.md +++ b/docs/GroupsApi.md @@ -3375,11 +3375,11 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **join_group** -> Group join_group(group_id) +> GroupMember join_group(group_id) Join Group -Join a Group by ID and returns the joined Group. +Join a Group by ID and returns the member object. ### Example @@ -3479,7 +3479,7 @@ Name | Type | Description | Notes ### Return type -[**Group**](Group.md) +[**GroupMember**](GroupMember.md) ### Authorization @@ -3493,7 +3493,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a single Group object. | - | +**200** | Returns a list of GroupMember objects. | - | **400** | Error response when trying to join a group that the user is already a member of. | - | **401** | Error response due to missing apiKey or auth cookie. | - | **404** | Error response when trying to perform operations on a non-existing group. | - | diff --git a/setup.py b/setup.py index b1fceef1..2900d328 100644 --- a/setup.py +++ b/setup.py @@ -76,7 +76,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -85,7 +85,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.11.0" +VERSION = "1.11.1" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 8432e7ed..7a855a3b 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,7 +6,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index fddec9f5..e4744fb1 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index 2f928395..5bb6720f 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index ebad3956..ba3f868e 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index b9e85465..34811622 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index 7a26401e..1c02996c 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index 890096ae..adcc0963 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index f0c82bc5..f7cc3dfb 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -4011,7 +4011,7 @@ def get_group_roles_with_http_info(self, group_id, **kwargs): # noqa: E501 def join_group(self, group_id, **kwargs): # noqa: E501 """Join Group # noqa: E501 - Join a Group by ID and returns the joined Group. # noqa: E501 + Join a Group by ID and returns the member object. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -4033,7 +4033,7 @@ def join_group(self, group_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: Group + :rtype: GroupMember """ kwargs['_return_http_data_only'] = True return self.join_group_with_http_info(group_id, **kwargs) # noqa: E501 @@ -4041,7 +4041,7 @@ def join_group(self, group_id, **kwargs): # noqa: E501 def join_group_with_http_info(self, group_id, **kwargs): # noqa: E501 """Join Group # noqa: E501 - Join a Group by ID and returns the joined Group. # noqa: E501 + Join a Group by ID and returns the member object. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -4071,7 +4071,7 @@ def join_group_with_http_info(self, group_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(Group, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(GroupMember, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() @@ -4127,7 +4127,7 @@ def join_group_with_http_info(self, group_id, **kwargs): # noqa: E501 auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 response_types_map = { - 200: "Group", + 200: "GroupMember", 400: "Error", 401: "Error", 404: "Error", diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 6787dc58..8a0523ec 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index 4695c5e3..4e3aa53e 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index 443c1f10..e528db60 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index 2e3f2330..3b4ac7cf 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index 333f50f5..1365f7ab 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index 3a145fdb..e72fd072 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index 7f38aa28..10b05d14 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 92a1ef40..cc53be60 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index 0be4b156..376feb49 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,7 +3,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index 14d87669..09cac11b 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ @@ -459,7 +459,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.11.0\n"\ + "Version of the API: 1.11.1\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index 4d451161..2cdda835 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index 904fe879..5ff4a48b 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,7 +5,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/account_deletion_log.py b/vrchatapi/models/account_deletion_log.py index 600bb439..bbce0158 100644 --- a/vrchatapi/models/account_deletion_log.py +++ b/vrchatapi/models/account_deletion_log.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index 16d3a02c..abd2ad38 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index cac09a47..87022a97 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index 25cab36e..e11a94cb 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index d2875ef1..3278cd45 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index eaa67066..979f0d04 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index f6e4b835..d7cbb759 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index 33a356f9..cc81f162 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index 792e33b1..2ef8b635 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index 97d3f082..bbc31506 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index 7f961fc7..7380bee9 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index 4601887d..c7e49200 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index 58cb9488..a1573e8a 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index a15956ce..7c9a6ed4 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index 167770ea..944bd1d0 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index 9b51aa3b..b0318f5f 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index cfa76f91..057c23d6 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index ea98df3c..69e5fae8 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index 797df13d..c32a469a 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index 550cc59e..eb7a1c52 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index 230e7b66..2088ef9c 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/deployment_group.py b/vrchatapi/models/deployment_group.py index 987aa91e..225faf44 100644 --- a/vrchatapi/models/deployment_group.py +++ b/vrchatapi/models/deployment_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index a40b1f3a..e2faa32e 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index 7e1bcfe6..863e3ca4 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index ff271b79..485cd407 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index 7b71cc1a..794efd6b 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index 01e56550..20b83893 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index 5cbce74d..525c6fa7 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index 63e5ea00..7b237c25 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index f1172a1f..13d26114 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index 017b9f61..ecda044b 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index d49d6c4a..09162e75 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index b52a3afc..14e3fa48 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index bff4c7c6..82af92ea 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index e15df4b1..6cd74360 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index 2d30eb00..9f1b7bdd 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index 56796ea9..4d7fc275 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index 81a1a4ea..799efa31 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index 93c112c0..c4031562 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index 9a6a37bf..7781235e 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index 99762441..cbb3c926 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index 1a7055e1..8b92462c 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index 8054ad7b..5007be6a 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index b8deade6..19a19980 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index a2f7e809..1a7ef7d9 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index f141e3b7..da5c1a11 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index 11043688..4ddb5444 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index 582f3a9f..d180dd7f 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index 21f560ce..53aeac27 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index b0b88144..5fb8df9a 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index cffa3a88..90bc813b 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index defe61fa..7a97cff1 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index ebf52d5a..945e2eb4 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index 93df5e7f..bd6d4551 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index 2036e124..5aa4585f 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index 03dcce2b..e4778ae5 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index 26a55d4d..5a276d9f 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index 9ab95c49..582660a9 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index bd10b2b2..0c67b05e 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index af562fa0..5bb36d94 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index 21a489d1..78c2339e 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index ebf75d6d..56b89307 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index ffd3ed49..1b6f06f4 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index 2959aa1a..845b1a7c 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index 072fcd88..11e6a084 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index a2937040..825fe66d 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index fa5c505d..78e3185f 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index 7d0fc3c6..70b013cd 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index 20cc41ac..46ea46d4 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index 25401d16..242402a6 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index bb70405d..33581eb1 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user.py b/vrchatapi/models/limited_user.py index 82a4aa14..17275f5b 100644 --- a/vrchatapi/models/limited_user.py +++ b/vrchatapi/models/limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index 023aa3e1..7395d4af 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index 873d602b..b1ad8a95 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index f158ae47..7b449f1f 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index 68aeec08..f14f9ec4 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index 1f005391..6fe23d8d 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index d8336f6e..099f71c3 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index 7587f19b..3870a924 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index 1b841fa6..48b17593 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index 72a5c8d6..a052245d 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index e679798a..cd460f9a 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index effae539..cdf0fe0f 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index b668bc29..8fcd6d33 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index b28e75c3..cac00c5b 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index 13405492..3c0c46da 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index 68bcd2c7..402d3940 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index 39dad530..64b431d9 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index 68080db7..77eed471 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index 29860b3a..ed69ab51 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index 3101435c..fd180a2c 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index dde05500..b52b9d45 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index ba2b4ba2..0b69c304 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index 9bb485c7..56e647e2 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index 50f64a73..5e1392c1 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index 0ddf8f8e..26471f60 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index e4bdea88..c14acdf1 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index 32c72187..beb0bab2 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index 6ef7f9ef..b10e33c6 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_email_code.py b/vrchatapi/models/two_factor_email_code.py index 55e354f8..4d1c99f9 100644 --- a/vrchatapi/models/two_factor_email_code.py +++ b/vrchatapi/models/two_factor_email_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index ebfe647d..5aa6aaab 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index ec10ae21..ceeb8f43 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index 8151698e..de7ca3a2 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index 3a669a85..bcfbc76d 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index e4c7026b..8876a97f 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index fe72f670..1c3ba253 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index 38b17e09..5ad4dd0b 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index 6b10c9d0..e1afd6ad 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index c569e75f..cf53f991 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index 471e98eb..93bc75f1 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index 9e300180..8fef4d43 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index 318455f6..d41a6733 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index cb9a2526..a74f2057 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index ae72c5cd..8c966035 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index ba220c58..935f9837 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_email_code_result.py b/vrchatapi/models/verify2_fa_email_code_result.py index 35fcf255..50b78754 100644 --- a/vrchatapi/models/verify2_fa_email_code_result.py +++ b/vrchatapi/models/verify2_fa_email_code_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index 4e2a14f7..9ce93bba 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index bb6dd1c7..14df83a0 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index ec6ef05f..2037003f 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index 6563fa0f..187edc5a 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index a0b88706..8a748cd0 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index de2aa57b..06d27e0d 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.0 + The version of the OpenAPI document: 1.11.1 Contact: me@ariesclark.com Generated by: https://openapi-generator.tech """ From f7a99a27ccc0d80066eb3741692e6c632126dea1 Mon Sep 17 00:00:00 2001 From: Katistix <33645731+Katistic@users.noreply.github.com> Date: Sun, 2 Apr 2023 13:45:03 +1000 Subject: [PATCH 029/102] Readable Email 2FA Required error + updated example (#7) * Remove patch code to create new patch * Include Email 2FA in 2FA Readable Patch * Include Email 2FA Verification in example --- README.md | 11 ++++++++--- patches/error_2fa_verify_readable.patch | 13 ++++++++----- vrchatapi/rest.py | 3 +++ 3 files changed, 19 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index a714a1fe..a94f7c9b 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,7 @@ import vrchatapi from vrchatapi.api import authentication_api from vrchatapi.exceptions import UnauthorizedException from vrchatapi.models.two_factor_auth_code import TwoFactorAuthCode +from vrchatapi.models.two_factor_email_code import TwoFactorEmailCode configuration = vrchatapi.Configuration( username = 'username', @@ -50,9 +51,13 @@ with vrchatapi.ApiClient(configuration) as api_client: # Step 3. Calling getCurrentUser on Authentication API logs you in if the user isn't already logged in. current_user = auth_api.get_current_user() except UnauthorizedException as e: - if UnauthorizedException.status == 200: - # Step 3.5. Calling verify2fa if the account has 2FA enabled - auth_api.verify2_fa(two_factor_auth_code=TwoFactorAuthCode(input("2FA Code: "))) + if e.status == 200: + if "Email 2 Factor Authentication" in e.reason: + # Step 3.5. Calling email verify2fa if the account has 2FA disabled + auth_api.verify2_fa_email_code(two_factor_email_code=TwoFactorEmailCode(input("Email 2FA Code: "))) + elif "2 Factor Authentication" in e.reason: + # Step 3.5. Calling verify2fa if the account has 2FA enabled + auth_api.verify2_fa(two_factor_auth_code=TwoFactorAuthCode(input("2FA Code: "))) current_user = auth_api.get_current_user() else: print("Exception when calling API: %s\n", e) diff --git a/patches/error_2fa_verify_readable.patch b/patches/error_2fa_verify_readable.patch index 2646b9c3..94c1e6de 100644 --- a/patches/error_2fa_verify_readable.patch +++ b/patches/error_2fa_verify_readable.patch @@ -1,14 +1,17 @@ -diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py -index aac58f3..703ae1b 100644 ---- a/vrchatapi/rest.py -+++ b/vrchatapi/rest.py -@@ -239,6 +239,10 @@ class RESTClientObject(object): +diff --git a/./rest.py b/./restpatch.py +index 3702266e..c19c578c 100644 +--- a/./rest.py ++++ b/./restpatch.py +@@ -245,6 +245,13 @@ class RESTClientObject(object): raise ApiException(http_resp=r) + if re.match(b'{"\w{21}":\["totp","otp"]}', r.data) is not None: + r.reason = "2 Factor Authentication verification is required" + raise UnauthorizedException(http_resp=r) ++ elif re.match(b'{"\w{21}":\["emailOtp"]}', r.data) is not None: ++ r.reason = "Email 2 Factor Authentication verification is required" ++ raise UnauthorizedException(http_resp=r) + return r diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index 06d27e0d..fc367c2f 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -248,6 +248,9 @@ def request(self, method, url, query_params=None, headers=None, if re.match(b'{"\w{21}":\["totp","otp"]}', r.data) is not None: r.reason = "2 Factor Authentication verification is required" raise UnauthorizedException(http_resp=r) + elif re.match(b'{"\w{21}":\["emailOtp"]}', r.data) is not None: + r.reason = "Email 2 Factor Authentication verification is required" + raise UnauthorizedException(http_resp=r) return r From c34bc5b2a8a364db714d26c0c07e52d95ee24da8 Mon Sep 17 00:00:00 2001 From: Katistix <33645731+Katistic@users.noreply.github.com> Date: Mon, 24 Apr 2023 06:31:47 +1000 Subject: [PATCH 030/102] Clean up global cookiejar patches (#8) * Join all cookiejar patches into 1 * Fix generate.sh to use new patch * Remove redundant patch files --- generate.sh | 13 ++++-------- patches/cookiejar.patch | 40 ++++++++++++++++++++++++++++++++++++ patches/cookiejar_add.py | 7 ------- patches/cookiejar_extract.py | 2 -- patches/cookiejar_init.py | 4 ---- 5 files changed, 44 insertions(+), 22 deletions(-) create mode 100644 patches/cookiejar.patch delete mode 100644 patches/cookiejar_add.py delete mode 100644 patches/cookiejar_extract.py delete mode 100644 patches/cookiejar_init.py diff --git a/generate.sh b/generate.sh index 7b6e9432..7b2a8c54 100755 --- a/generate.sh +++ b/generate.sh @@ -1,6 +1,6 @@ #!/bin/bash -npm install @openapitools/openapi-generator-cli +npm install @openapitools/openapi-generator-cli rm vrchatapi docs -rf @@ -13,14 +13,6 @@ rm vrchatapi docs -rf -i https://raw.githubusercontent.com/vrchatapi/specification/gh-pages/openapi.yaml \ --http-user-agent="vrchatapi-py" -# Enable Global cookies -sed -i '/cert_reqs = ssl.CERT_NONE/r patches/cookiejar_init.py' ./vrchatapi/rest.py -sed -i '/headers = headers or {}/r patches/cookiejar_add.py' ./vrchatapi/rest.py - -sed -i 's/if _preload_content/abcdefvrc\n\n if _preload_content/g' ./vrchatapi/rest.py -sed -i '/abcdefvrc/r patches/cookiejar_extract.py' ./vrchatapi/rest.py -sed -i 's/ abcdefvrc//g' ./vrchatapi/rest.py - # Fix description, keywords, etc... # Echo to trim whitespace VERSION=`echo $(cat setup.py | grep "The version of the OpenAPI document" | cut -d ":" -f 2)` @@ -36,5 +28,8 @@ sed -i 's/abcdefvrc//g' ./setup.py # Remove messily pasted markdown at top of every file find vrchatapi -type f -exec sed -i '/VRChat API Banner/d' {} \; +# Enable Global cookies +patch ./vrchatapi/rest.py < ./patches/cookiejar.patch + # Make 2fa required error readable patch ./vrchatapi/rest.py < ./patches/error_2fa_verify_readable.patch \ No newline at end of file diff --git a/patches/cookiejar.patch b/patches/cookiejar.patch new file mode 100644 index 00000000..73c5fc00 --- /dev/null +++ b/patches/cookiejar.patch @@ -0,0 +1,40 @@ +diff --git a/rest.py b/restpatch.py +index b8da0751..3702266e 100644 +--- a/rest.py ++++ b/restpatch.py +@@ -61,6 +61,10 @@ class RESTClientObject(object): + else: + cert_reqs = ssl.CERT_NONE + ++ # VRChatAPI: Init global cookie storage ++ from http.cookiejar import CookieJar ++ self.cookie_jar = CookieJar() ++ + addition_pool_args = {} + if configuration.assert_hostname is not None: + addition_pool_args['assert_hostname'] = configuration.assert_hostname # noqa: E501 +@@ -134,6 +138,13 @@ class RESTClientObject(object): + post_params = post_params or {} + headers = headers or {} + ++ # VRChatAPI: Build a mock Request object to work with ++ from urllib.request import Request ++ mock_request_object = Request(url=url, method=method, headers=headers) ++ self.cookie_jar.add_cookie_header(mock_request_object) ++ if "Cookie" in mock_request_object.unredirected_hdrs: ++ headers["Cookie"] = mock_request_object.unredirected_hdrs["Cookie"] ++ + timeout = None + if _request_timeout: + if isinstance(_request_timeout, six.integer_types + (float, )): # noqa: E501,F821 +@@ -209,6 +220,10 @@ class RESTClientObject(object): + msg = "{0}\n{1}".format(type(e).__name__, str(e)) + raise ApiException(status=0, reason=msg) + ++ ++ # VRChatAPI: Extract and save cookies for global storage ++ self.cookie_jar.extract_cookies(r, mock_request_object) ++ + if _preload_content: + r = RESTResponse(r) + diff --git a/patches/cookiejar_add.py b/patches/cookiejar_add.py deleted file mode 100644 index 35f9d11b..00000000 --- a/patches/cookiejar_add.py +++ /dev/null @@ -1,7 +0,0 @@ - - # VRChatAPI: Build a mock Request object to work with - from urllib.request import Request - mock_request_object = Request(url=url, method=method, headers=headers) - self.cookie_jar.add_cookie_header(mock_request_object) - if "Cookie" in mock_request_object.unredirected_hdrs: - headers["Cookie"] = mock_request_object.unredirected_hdrs["Cookie"] diff --git a/patches/cookiejar_extract.py b/patches/cookiejar_extract.py deleted file mode 100644 index e82aeb49..00000000 --- a/patches/cookiejar_extract.py +++ /dev/null @@ -1,2 +0,0 @@ - # VRChatAPI: Extract and save cookies for global storage - self.cookie_jar.extract_cookies(r, mock_request_object) diff --git a/patches/cookiejar_init.py b/patches/cookiejar_init.py deleted file mode 100644 index e32af9e8..00000000 --- a/patches/cookiejar_init.py +++ /dev/null @@ -1,4 +0,0 @@ - - # VRChatAPI: Init global cookie storage - from http.cookiejar import CookieJar - self.cookie_jar = CookieJar() From 9151a906ceaae9292a9718b61d05d8ee345815dc Mon Sep 17 00:00:00 2001 From: VRCCat Date: Wed, 31 May 2023 02:32:59 +0000 Subject: [PATCH 031/102] Upgrade Python SDK to spec 1.12.0 --- docs/APIConfig.md | 1 - docs/APIConfigDownloadURLList.md | 2 + docs/AuthenticationApi.md | 83 +- docs/AvatarsApi.md | 509 +-- docs/EconomyApi.md | 267 +- docs/FavoritesApi.md | 435 +-- docs/FilesApi.md | 533 +--- docs/FriendsApi.md | 272 +- docs/GroupsApi.md | 2789 +++-------------- docs/InstancesApi.md | 219 +- docs/InviteApi.md | 430 +-- docs/NotificationsApi.md | 274 +- docs/PermissionsApi.md | 107 +- docs/PlayermoderationApi.md | 324 +- docs/SystemApi.md | 2 +- docs/UsersApi.md | 328 +- docs/WorldsApi.md | 728 +---- package-lock.json | 565 ++-- package.json | 2 +- setup.py | 30 +- vrchatapi/__init__.py | 4 +- vrchatapi/api/authentication_api.py | 8 +- vrchatapi/api/avatars_api.py | 22 +- vrchatapi/api/economy_api.py | 14 +- vrchatapi/api/favorites_api.py | 20 +- vrchatapi/api/files_api.py | 24 +- vrchatapi/api/friends_api.py | 14 +- vrchatapi/api/groups_api.py | 76 +- vrchatapi/api/instances_api.py | 12 +- vrchatapi/api/invite_api.py | 20 +- vrchatapi/api/notifications_api.py | 14 +- vrchatapi/api/permissions_api.py | 8 +- vrchatapi/api/playermoderation_api.py | 16 +- vrchatapi/api/system_api.py | 4 +- vrchatapi/api/users_api.py | 16 +- vrchatapi/api/worlds_api.py | 28 +- vrchatapi/api_client.py | 4 +- vrchatapi/configuration.py | 24 +- vrchatapi/exceptions.py | 4 +- vrchatapi/models/__init__.py | 4 +- vrchatapi/models/account_deletion_log.py | 4 +- vrchatapi/models/add_favorite_request.py | 4 +- .../models/add_group_gallery_image_request.py | 4 +- vrchatapi/models/api_config.py | 38 +- vrchatapi/models/api_config_announcement.py | 4 +- .../models/api_config_download_url_list.py | 74 +- vrchatapi/models/api_config_events.py | 4 +- vrchatapi/models/api_health.py | 4 +- vrchatapi/models/avatar.py | 4 +- .../models/avatar_unity_package_url_object.py | 4 +- vrchatapi/models/ban_group_member_request.py | 4 +- vrchatapi/models/create_avatar_request.py | 4 +- vrchatapi/models/create_file_request.py | 4 +- .../models/create_file_version_request.py | 4 +- .../create_group_announcement_request.py | 4 +- .../models/create_group_gallery_request.py | 4 +- .../models/create_group_invite_request.py | 4 +- vrchatapi/models/create_group_request.py | 4 +- vrchatapi/models/create_group_role_request.py | 4 +- vrchatapi/models/create_world_request.py | 4 +- vrchatapi/models/current_user.py | 7 +- vrchatapi/models/deployment_group.py | 4 +- vrchatapi/models/developer_type.py | 4 +- vrchatapi/models/dynamic_content_row.py | 4 +- vrchatapi/models/error.py | 4 +- vrchatapi/models/favorite.py | 4 +- vrchatapi/models/favorite_group.py | 4 +- vrchatapi/models/favorite_group_visibility.py | 4 +- vrchatapi/models/favorite_type.py | 4 +- vrchatapi/models/file.py | 4 +- vrchatapi/models/file_data.py | 4 +- vrchatapi/models/file_status.py | 4 +- vrchatapi/models/file_upload_url.py | 4 +- vrchatapi/models/file_version.py | 4 +- .../models/file_version_upload_status.py | 4 +- .../models/finish_file_data_upload_request.py | 4 +- vrchatapi/models/friend_status.py | 4 +- vrchatapi/models/group.py | 4 +- vrchatapi/models/group_announcement.py | 4 +- vrchatapi/models/group_audit_log_entry.py | 4 +- vrchatapi/models/group_gallery.py | 4 +- vrchatapi/models/group_gallery_image.py | 4 +- vrchatapi/models/group_join_state.py | 4 +- vrchatapi/models/group_limited_member.py | 4 +- vrchatapi/models/group_member.py | 4 +- vrchatapi/models/group_member_limited_user.py | 4 +- vrchatapi/models/group_member_status.py | 4 +- vrchatapi/models/group_my_member.py | 4 +- vrchatapi/models/group_permission.py | 4 +- vrchatapi/models/group_privacy.py | 4 +- vrchatapi/models/group_role.py | 4 +- vrchatapi/models/group_role_template.py | 4 +- vrchatapi/models/group_user_visibility.py | 4 +- vrchatapi/models/info_push.py | 4 +- vrchatapi/models/info_push_data.py | 4 +- vrchatapi/models/info_push_data_article.py | 4 +- .../models/info_push_data_article_content.py | 4 +- vrchatapi/models/info_push_data_clickable.py | 4 +- vrchatapi/models/instance.py | 4 +- vrchatapi/models/instance_platforms.py | 4 +- .../models/instance_short_name_response.py | 4 +- vrchatapi/models/instance_type.py | 4 +- vrchatapi/models/invite_message.py | 4 +- vrchatapi/models/invite_message_type.py | 4 +- vrchatapi/models/invite_request.py | 4 +- vrchatapi/models/invite_response.py | 4 +- vrchatapi/models/license.py | 4 +- vrchatapi/models/license_action.py | 4 +- vrchatapi/models/license_group.py | 4 +- vrchatapi/models/license_type.py | 4 +- vrchatapi/models/limited_unity_package.py | 4 +- vrchatapi/models/limited_user.py | 4 +- vrchatapi/models/limited_world.py | 4 +- vrchatapi/models/mime_type.py | 4 +- vrchatapi/models/moderate_user_request.py | 4 +- vrchatapi/models/notification.py | 4 +- vrchatapi/models/notification_type.py | 4 +- vrchatapi/models/order_option.py | 4 +- .../paginated_group_audit_log_entry_list.py | 4 +- vrchatapi/models/past_display_name.py | 4 +- vrchatapi/models/permission.py | 4 +- vrchatapi/models/player_moderation.py | 4 +- vrchatapi/models/player_moderation_type.py | 4 +- vrchatapi/models/region.py | 4 +- vrchatapi/models/release_status.py | 7 +- vrchatapi/models/request_invite_request.py | 4 +- .../models/respond_group_join_request.py | 4 +- vrchatapi/models/response.py | 4 +- vrchatapi/models/sent_notification.py | 4 +- vrchatapi/models/sort_option.py | 4 +- vrchatapi/models/subscription.py | 4 +- vrchatapi/models/subscription_period.py | 4 +- vrchatapi/models/success.py | 4 +- vrchatapi/models/transaction.py | 4 +- vrchatapi/models/transaction_agreement.py | 4 +- vrchatapi/models/transaction_status.py | 4 +- vrchatapi/models/transaction_steam_info.py | 4 +- .../models/transaction_steam_wallet_info.py | 4 +- vrchatapi/models/two_factor_auth_code.py | 4 +- vrchatapi/models/two_factor_email_code.py | 4 +- vrchatapi/models/unity_package.py | 4 +- vrchatapi/models/update_avatar_request.py | 4 +- .../models/update_favorite_group_request.py | 4 +- .../models/update_group_gallery_request.py | 4 +- .../models/update_group_member_request.py | 4 +- vrchatapi/models/update_group_request.py | 4 +- vrchatapi/models/update_group_role_request.py | 4 +- .../models/update_invite_message_request.py | 4 +- vrchatapi/models/update_user_request.py | 4 +- vrchatapi/models/update_world_request.py | 4 +- vrchatapi/models/user.py | 4 +- vrchatapi/models/user_exists.py | 4 +- vrchatapi/models/user_state.py | 4 +- vrchatapi/models/user_status.py | 4 +- vrchatapi/models/user_subscription.py | 4 +- .../models/verify2_fa_email_code_result.py | 4 +- vrchatapi/models/verify2_fa_result.py | 4 +- vrchatapi/models/verify_auth_token_result.py | 4 +- vrchatapi/models/world.py | 4 +- vrchatapi/models/world_metadata.py | 4 +- vrchatapi/models/world_publish_status.py | 4 +- vrchatapi/rest.py | 4 +- 162 files changed, 1548 insertions(+), 7286 deletions(-) diff --git a/docs/APIConfig.md b/docs/APIConfig.md index 61c18afb..1a15bf09 100644 --- a/docs/APIConfig.md +++ b/docs/APIConfig.md @@ -9,7 +9,6 @@ Name | Type | Description | Notes **voice_enable_receiver_limiting** | **bool** | Unknown, probably voice optimization testing | [default to True] **address** | **str** | VRChat's office address | **announcements** | [**list[APIConfigAnnouncement]**](APIConfigAnnouncement.md) | Public Announcements | -**api_key** | **str** | apiKey to be used for all other requests | **app_name** | **str** | Game name | [default to 'VrChat'] **build_version_tag** | **str** | Build tag of the API server | **client_api_key** | **str** | apiKey to be used for all other requests | diff --git a/docs/APIConfigDownloadURLList.md b/docs/APIConfigDownloadURLList.md index 4110308d..815a3650 100644 --- a/docs/APIConfigDownloadURLList.md +++ b/docs/APIConfigDownloadURLList.md @@ -8,6 +8,8 @@ Name | Type | Description | Notes **sdk2** | **str** | Download link for legacy SDK2 | **sdk3_avatars** | **str** | Download link for SDK3 for Avatars | **sdk3_worlds** | **str** | Download link for SDK3 for Worlds | +**vcc** | **str** | Download link for the Creator Companion | +**bootstrap** | **str** | Download link for ??? | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/AuthenticationApi.md b/docs/AuthenticationApi.md index bbebe8dd..f867d7a6 100644 --- a/docs/AuthenticationApi.md +++ b/docs/AuthenticationApi.md @@ -23,7 +23,6 @@ Checks if a user by a given `username`, `displayName` or `email` exist. This is ### Example -* Api Key Authentication (apiKeyCookie): ```python from __future__ import print_function import time @@ -36,19 +35,9 @@ configuration = vrchatapi.Configuration( host = "https://api.vrchat.cloud/api/1" ) -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' # Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: +with vrchatapi.ApiClient() as api_client: # Create an instance of the API class api_instance = vrchatapi.AuthenticationApi(api_client) email = 'email_example' # str | Filter by email. (optional) @@ -79,7 +68,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie) +No authorization required ### HTTP request headers @@ -103,50 +92,6 @@ Deletes the account with given ID. Normal users only have permission to delete t ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.AuthenticationApi(api_client) - user_id = 'user_id_example' # str | Must be a valid user ID. - - try: - # Delete User - api_response = api_instance.delete_user(user_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling AuthenticationApi->delete_user: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -165,12 +110,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -203,7 +142,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -214,7 +153,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -393,8 +332,8 @@ This endpoint does not need any parameter. ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | OK | * Set-Cookie - Successful authentication returns an `auth` cookie.
* \0Set-Cookie - This endpoint **always** sets the `apiKey` irrespective if it is already set.
| -**401** | Error response due to missing apiKey or auth cookie. | - | +**200** | OK | * Set-Cookie - Successful authentication returns an `auth` cookie.
| +**401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -464,7 +403,7 @@ This endpoint does not need any parameter. | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | * Set-Cookie - Clears the `auth` cookie.
* \0Set-Cookie - Clears the `age` cookie.
* \0\0Set-Cookie - Clears the `tos` cookie.
| -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -538,7 +477,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | * Set-Cookie - Provides a `twoFactorAuth` cookie, which can be used to bypasses the 2FA requirement for future logins on the same device.
| -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -612,7 +551,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | * Set-Cookie - Provides a `twoFactorAuth` cookie, which can be used to bypasses the 2FA requirement for future logins on the same device.
| -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -682,7 +621,7 @@ This endpoint does not need any parameter. | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns wether a provided auth token is valid or not. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -756,7 +695,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | * Set-Cookie - Provides a `twoFactorAuth` cookie, which can be used to bypasses the 2FA requirement for future logins on the same device.
| -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/AvatarsApi.md b/docs/AvatarsApi.md index 7c8f12ce..cfd9d4c2 100644 --- a/docs/AvatarsApi.md +++ b/docs/AvatarsApi.md @@ -24,50 +24,6 @@ Create an avatar. It's possible to optionally specify a ID if you want a custom ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.AvatarsApi(api_client) - create_avatar_request = vrchatapi.CreateAvatarRequest() # CreateAvatarRequest | (optional) - - try: - # Create Avatar - api_response = api_instance.create_avatar(create_avatar_request=create_avatar_request) - pprint(api_response) - except ApiException as e: - print("Exception when calling AvatarsApi->create_avatar: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -86,12 +42,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -124,7 +74,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -148,50 +98,6 @@ Delete an avatar. Notice an avatar is never fully \"deleted\", only its ReleaseS ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.AvatarsApi(api_client) - avatar_id = 'avatar_id_example' # str | Must be a valid avatar ID. - - try: - # Delete Avatar - api_response = api_instance.delete_avatar(avatar_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling AvatarsApi->delete_avatar: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -210,12 +116,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -248,7 +148,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -259,7 +159,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single Avatar object. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | **404** | Error response when trying to show information about a non-existent avatar. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -273,50 +173,6 @@ Get information about a specific Avatar. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.AvatarsApi(api_client) - avatar_id = 'avatar_id_example' # str | Must be a valid avatar ID. - - try: - # Get Avatar - api_response = api_instance.get_avatar(avatar_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling AvatarsApi->get_avatar: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -335,12 +191,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -373,7 +223,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -384,7 +234,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single Avatar object. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | **404** | Error response when trying to show information about a non-existent avatar. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -398,62 +248,6 @@ Search and list favorited avatars by query filters. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.AvatarsApi(api_client) - featured = True # bool | Filters on featured results. (optional) -sort = vrchatapi.SortOption() # SortOption | The sort order of the results. (optional) -n = 60 # int | The number of objects to return. (optional) (default to 60) -order = vrchatapi.OrderOption() # OrderOption | Result ordering (optional) -offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) -search = 'search_example' # str | Filters by world name. (optional) -tag = 'tag_example' # str | Tags to include (comma-separated). Any of the tags needs to be present. (optional) -notag = 'notag_example' # str | Tags to exclude (comma-separated). (optional) -release_status = vrchatapi.ReleaseStatus() # ReleaseStatus | Filter by ReleaseStatus. (optional) -max_unity_version = 'max_unity_version_example' # str | The maximum Unity version supported by the asset. (optional) -min_unity_version = 'min_unity_version_example' # str | The minimum Unity version supported by the asset. (optional) -platform = 'platform_example' # str | The platform the asset supports. (optional) -user_id = 'user_id_example' # str | Target user to see information on, admin-only. (optional) - - try: - # List Favorited Avatars - api_response = api_instance.get_favorited_avatars(featured=featured, sort=sort, n=n, order=order, offset=offset, search=search, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform, user_id=user_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling AvatarsApi->get_favorited_avatars: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -472,12 +266,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -534,7 +322,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -545,7 +333,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of Avatar objects. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | **403** | Error response when trying to see favourited avatars of another user without sufficient admin permissions. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -559,50 +347,6 @@ Get the current avatar for the user. This will return an error for any other use ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.AvatarsApi(api_client) - user_id = 'user_id_example' # str | Must be a valid user ID. - - try: - # Get Own Avatar - api_response = api_instance.get_own_avatar(user_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling AvatarsApi->get_own_avatar: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -621,12 +365,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -659,7 +397,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -670,7 +408,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single Avatar object. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | **403** | Error response when trying to see another users current avatar without sufficient admin permissions. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -684,62 +422,6 @@ Search and list avatars by query filters. You can only search your own or featur ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.AvatarsApi(api_client) - featured = True # bool | Filters on featured results. (optional) -sort = vrchatapi.SortOption() # SortOption | The sort order of the results. (optional) -user = 'user_example' # str | Set to `me` for searching own avatars. (optional) -user_id = 'user_id_example' # str | Filter by UserID. (optional) -n = 60 # int | The number of objects to return. (optional) (default to 60) -order = vrchatapi.OrderOption() # OrderOption | Result ordering (optional) -offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) -tag = 'tag_example' # str | Tags to include (comma-separated). Any of the tags needs to be present. (optional) -notag = 'notag_example' # str | Tags to exclude (comma-separated). (optional) -release_status = vrchatapi.ReleaseStatus() # ReleaseStatus | Filter by ReleaseStatus. (optional) -max_unity_version = 'max_unity_version_example' # str | The maximum Unity version supported by the asset. (optional) -min_unity_version = 'min_unity_version_example' # str | The minimum Unity version supported by the asset. (optional) -platform = 'platform_example' # str | The platform the asset supports. (optional) - - try: - # Search Avatars - api_response = api_instance.search_avatars(featured=featured, sort=sort, user=user, user_id=user_id, n=n, order=order, offset=offset, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform) - pprint(api_response) - except ApiException as e: - print("Exception when calling AvatarsApi->search_avatars: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -758,12 +440,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -820,7 +496,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -831,7 +507,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of Avatar objects. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -844,50 +520,6 @@ Switches into that avatar. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.AvatarsApi(api_client) - avatar_id = 'avatar_id_example' # str | Must be a valid avatar ID. - - try: - # Select Avatar - api_response = api_instance.select_avatar(avatar_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling AvatarsApi->select_avatar: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -906,12 +538,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -944,7 +570,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -955,7 +581,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single CurrentUser object. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | **404** | Error response when trying to show information about a non-existent avatar. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -969,50 +595,6 @@ Switches into that avatar as your fallback avatar. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.AvatarsApi(api_client) - avatar_id = 'avatar_id_example' # str | Must be a valid avatar ID. - - try: - # Select Fallback Avatar - api_response = api_instance.select_fallback_avatar(avatar_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling AvatarsApi->select_fallback_avatar: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -1031,12 +613,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -1069,7 +645,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -1080,7 +656,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single CurrentUser object. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | **403** | Error response when trying to select a fallback avatar that is missing the fallback tag. | - | **404** | Error response when trying to show information about a non-existent avatar. | - | @@ -1095,51 +671,6 @@ Update information about a specific avatar. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.AvatarsApi(api_client) - avatar_id = 'avatar_id_example' # str | Must be a valid avatar ID. -update_avatar_request = vrchatapi.UpdateAvatarRequest() # UpdateAvatarRequest | (optional) - - try: - # Update Avatar - api_response = api_instance.update_avatar(avatar_id, update_avatar_request=update_avatar_request) - pprint(api_response) - except ApiException as e: - print("Exception when calling AvatarsApi->update_avatar: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -1158,12 +689,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -1198,7 +723,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -1209,7 +734,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single Avatar object. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | **404** | Error response when trying to show information about a non-existent avatar. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/EconomyApi.md b/docs/EconomyApi.md index 83ec651e..105a0812 100644 --- a/docs/EconomyApi.md +++ b/docs/EconomyApi.md @@ -20,49 +20,6 @@ Get a list of all current user subscriptions. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.EconomyApi(api_client) - - try: - # Get Current Subscriptions - api_response = api_instance.get_current_subscriptions() - pprint(api_response) - except ApiException as e: - print("Exception when calling EconomyApi->get_current_subscriptions: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -81,12 +38,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -115,7 +66,7 @@ This endpoint does not need any parameter. ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -126,7 +77,7 @@ This endpoint does not need any parameter. | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of UserSubscription objects. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -139,50 +90,6 @@ Get a single License Group by given ID. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.EconomyApi(api_client) - license_group_id = 'license_group_id_example' # str | Must be a valid license group ID. - - try: - # Get License Group - api_response = api_instance.get_license_group(license_group_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling EconomyApi->get_license_group: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -201,12 +108,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -239,7 +140,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -250,7 +151,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single LicenseGroup object. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -263,50 +164,6 @@ Get a single Steam transactions by ID. This returns the exact same information a ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.EconomyApi(api_client) - transaction_id = 'transaction_id_example' # str | Must be a valid transaction ID. - - try: - # Get Steam Transaction - api_response = api_instance.get_steam_transaction(transaction_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling EconomyApi->get_steam_transaction: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -325,12 +182,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -363,7 +214,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -374,7 +225,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single Transaction object. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -387,49 +238,6 @@ Get all own Steam transactions. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.EconomyApi(api_client) - - try: - # List Steam Transactions - api_response = api_instance.get_steam_transactions() - pprint(api_response) - except ApiException as e: - print("Exception when calling EconomyApi->get_steam_transactions: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -448,12 +256,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -482,7 +284,7 @@ This endpoint does not need any parameter. ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -493,7 +295,7 @@ This endpoint does not need any parameter. | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of Transaction objects. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -506,49 +308,6 @@ List all existing Subscriptions. For example, \"vrchatplus-monthly\" and \"vrcha ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.EconomyApi(api_client) - - try: - # List Subscriptions - api_response = api_instance.get_subscriptions() - pprint(api_response) - except ApiException as e: - print("Exception when calling EconomyApi->get_subscriptions: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -567,12 +326,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -601,7 +354,7 @@ This endpoint does not need any parameter. ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -612,7 +365,7 @@ This endpoint does not need any parameter. | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of Subscription objects. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/FavoritesApi.md b/docs/FavoritesApi.md index aac4f2b5..87679319 100644 --- a/docs/FavoritesApi.md +++ b/docs/FavoritesApi.md @@ -23,50 +23,6 @@ Add a new favorite. Friend groups are named `group_0` through `group_3`. Avatar ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.FavoritesApi(api_client) - add_favorite_request = {"type":"friend","favoriteId":"usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469","tags":["group_0"]} # AddFavoriteRequest | (optional) - - try: - # Add Favorite - api_response = api_instance.add_favorite(add_favorite_request=add_favorite_request) - pprint(api_response) - except ApiException as e: - print("Exception when calling FavoritesApi->add_favorite: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -85,12 +41,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -123,7 +73,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -148,52 +98,6 @@ Clear ALL contents of a specific favorite group. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.FavoritesApi(api_client) - favorite_group_type = 'favorite_group_type_example' # str | The type of group to fetch, must be a valid FavoriteType. -favorite_group_name = 'favorite_group_name_example' # str | The name of the group to fetch, must be a name of a FavoriteGroup. -user_id = 'user_id_example' # str | Must be a valid user ID. - - try: - # Clear Favorite Group - api_response = api_instance.clear_favorite_group(favorite_group_type, favorite_group_name, user_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling FavoritesApi->clear_favorite_group: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -212,12 +116,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -254,7 +152,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -277,50 +175,6 @@ Return information about a specific Favorite. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.FavoritesApi(api_client) - favorite_id = 'favorite_id_example' # str | Must be a valid favorite ID. - - try: - # Show Favorite - api_response = api_instance.get_favorite(favorite_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling FavoritesApi->get_favorite: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -339,12 +193,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -377,7 +225,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -388,7 +236,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single Favorite object. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | **404** | Error response when trying to show information about a non-existent favorite. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -402,52 +250,6 @@ Fetch information about a specific favorite group. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.FavoritesApi(api_client) - favorite_group_type = 'favorite_group_type_example' # str | The type of group to fetch, must be a valid FavoriteType. -favorite_group_name = 'favorite_group_name_example' # str | The name of the group to fetch, must be a name of a FavoriteGroup. -user_id = 'user_id_example' # str | Must be a valid user ID. - - try: - # Show Favorite Group - api_response = api_instance.get_favorite_group(favorite_group_type, favorite_group_name, user_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling FavoritesApi->get_favorite_group: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -466,12 +268,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -508,7 +304,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -531,52 +327,6 @@ Return a list of favorite groups owned by a user. Returns the same information a ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.FavoritesApi(api_client) - n = 60 # int | The number of objects to return. (optional) (default to 60) -offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) -owner_id = 'owner_id_example' # str | The owner of whoms favorite groups to return. Must be a UserID. (optional) - - try: - # List Favorite Groups - api_response = api_instance.get_favorite_groups(n=n, offset=offset, owner_id=owner_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling FavoritesApi->get_favorite_groups: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -595,12 +345,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -637,7 +381,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -648,7 +392,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of FavoriteGroup objects. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -661,53 +405,6 @@ Returns a list of favorites. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.FavoritesApi(api_client) - n = 60 # int | The number of objects to return. (optional) (default to 60) -offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) -type = 'type_example' # str | The type of favorites to return, FavoriteType. (optional) -tag = 'tag_example' # str | Tags to include (comma-separated). Any of the tags needs to be present. (optional) - - try: - # List Favorites - api_response = api_instance.get_favorites(n=n, offset=offset, type=type, tag=tag) - pprint(api_response) - except ApiException as e: - print("Exception when calling FavoritesApi->get_favorites: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -726,12 +423,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -770,7 +461,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -781,7 +472,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of Favorite objects. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -794,50 +485,6 @@ Remove a favorite from your favorites list. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.FavoritesApi(api_client) - favorite_id = 'favorite_id_example' # str | Must be a valid favorite ID. - - try: - # Remove Favorite - api_response = api_instance.remove_favorite(favorite_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling FavoritesApi->remove_favorite: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -856,12 +503,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -894,7 +535,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -905,7 +546,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Success response after removing a favorite. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | **404** | Error response when trying to show information about a non-existent favorite. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -919,52 +560,6 @@ Update information about a specific favorite group. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.FavoritesApi(api_client) - favorite_group_type = 'favorite_group_type_example' # str | The type of group to fetch, must be a valid FavoriteType. -favorite_group_name = 'favorite_group_name_example' # str | The name of the group to fetch, must be a name of a FavoriteGroup. -user_id = 'user_id_example' # str | Must be a valid user ID. -update_favorite_group_request = vrchatapi.UpdateFavoriteGroupRequest() # UpdateFavoriteGroupRequest | (optional) - - try: - # Update Favorite Group - api_instance.update_favorite_group(favorite_group_type, favorite_group_name, user_id, update_favorite_group_request=update_favorite_group_request) - except ApiException as e: - print("Exception when calling FavoritesApi->update_favorite_group: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -983,12 +578,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -1026,7 +615,7 @@ void (empty response body) ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers diff --git a/docs/FilesApi.md b/docs/FilesApi.md index 19deebb1..325d4f2b 100644 --- a/docs/FilesApi.md +++ b/docs/FilesApi.md @@ -25,50 +25,6 @@ Creates a new File object ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.FilesApi(api_client) - create_file_request = vrchatapi.CreateFileRequest() # CreateFileRequest | (optional) - - try: - # Create File - api_response = api_instance.create_file(create_file_request=create_file_request) - pprint(api_response) - except ApiException as e: - print("Exception when calling FilesApi->create_file: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -87,12 +43,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -125,7 +75,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -148,51 +98,6 @@ Creates a new FileVersion. Once a Version has been created, proceed to the `/fil ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.FilesApi(api_client) - file_id = 'file_00000000-0000-0000-0000-000000000000' # str | Must be a valid file ID. -create_file_version_request = vrchatapi.CreateFileVersionRequest() # CreateFileVersionRequest | (optional) - - try: - # Create File Version - api_response = api_instance.create_file_version(file_id, create_file_version_request=create_file_version_request) - pprint(api_response) - except ApiException as e: - print("Exception when calling FilesApi->create_file_version: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -211,12 +116,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -251,7 +150,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -274,50 +173,6 @@ Deletes a File object. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.FilesApi(api_client) - file_id = 'file_00000000-0000-0000-0000-000000000000' # str | Must be a valid file ID. - - try: - # Delete File - api_response = api_instance.delete_file(file_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling FilesApi->delete_file: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -336,12 +191,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -374,7 +223,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -398,51 +247,6 @@ Delete a specific version of a file. You can only delete the latest version. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.FilesApi(api_client) - file_id = 'file_00000000-0000-0000-0000-000000000000' # str | Must be a valid file ID. -version_id = 1 # int | Version ID of the asset. - - try: - # Delete File Version - api_response = api_instance.delete_file_version(file_id, version_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling FilesApi->delete_file_version: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -461,12 +265,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -501,7 +299,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -526,50 +324,6 @@ Downloads the file with the provided version number. **Version Note:** Version ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.FilesApi(api_client) - file_id = 'file_00000000-0000-0000-0000-000000000000' # str | Must be a valid file ID. -version_id = 1 # int | Version ID of the asset. - - try: - # Download File Version - api_instance.download_file_version(file_id, version_id) - except ApiException as e: - print("Exception when calling FilesApi->download_file_version: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -588,12 +342,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -627,7 +375,7 @@ void (empty response body) ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -650,53 +398,6 @@ Finish an upload of a FileData. This will mark it as \"complete\". After uploadi ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.FilesApi(api_client) - file_id = 'file_00000000-0000-0000-0000-000000000000' # str | Must be a valid file ID. -version_id = 1 # int | Version ID of the asset. -file_type = 'file' # str | Type of file. -finish_file_data_upload_request = {"etags":["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy"],"nextPartNumber":"0","maxParts":"0"} # FinishFileDataUploadRequest | Please see documentation on ETag's: [https://teppen.io/2018/06/23/aws_s3_etags/](https://teppen.io/2018/06/23/aws_s3_etags/) ETag's should NOT be present when uploading a `signature`. (optional) - - try: - # Finish FileData Upload - api_response = api_instance.finish_file_data_upload(file_id, version_id, file_type, finish_file_data_upload_request=finish_file_data_upload_request) - pprint(api_response) - except ApiException as e: - print("Exception when calling FilesApi->finish_file_data_upload: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -715,12 +416,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -759,7 +454,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -782,50 +477,6 @@ Shows general information about the \"File\" object. Each File can have several ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.FilesApi(api_client) - file_id = 'file_00000000-0000-0000-0000-000000000000' # str | Must be a valid file ID. - - try: - # Show File - api_response = api_instance.get_file(file_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling FilesApi->get_file: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -844,12 +495,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -882,7 +527,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -906,52 +551,6 @@ Retrieves the upload status for file upload. Can currently only be accessed when ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.FilesApi(api_client) - file_id = 'file_00000000-0000-0000-0000-000000000000' # str | Must be a valid file ID. -version_id = 1 # int | Version ID of the asset. -file_type = 'file' # str | Type of file. - - try: - # Check FileData Upload Status - api_response = api_instance.get_file_data_upload_status(file_id, version_id, file_type) - pprint(api_response) - except ApiException as e: - print("Exception when calling FilesApi->get_file_data_upload_status: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -970,12 +569,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -1012,7 +605,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -1035,53 +628,6 @@ Returns a list of files ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.FilesApi(api_client) - tag = 'tag_example' # str | Tag, for example \"icon\" or \"gallery\", not included by default. (optional) -user_id = 'user_id_example' # str | UserID, will always generate a 500 permission error. (optional) -n = 60 # int | The number of objects to return. (optional) (default to 60) -offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) - - try: - # List Files - api_response = api_instance.get_files(tag=tag, user_id=user_id, n=n, offset=offset) - pprint(api_response) - except ApiException as e: - print("Exception when calling FilesApi->get_files: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -1100,12 +646,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -1144,7 +684,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -1167,53 +707,6 @@ Starts an upload of a specific FilePart. This endpoint will return an AWS URL wh ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.FilesApi(api_client) - file_id = 'file_00000000-0000-0000-0000-000000000000' # str | Must be a valid file ID. -version_id = 1 # int | Version ID of the asset. -file_type = 'file' # str | Type of file. -part_number = 1 # int | The part number to start uploading. If not provided, the first part will be started. (optional) - - try: - # Start FileData Upload - api_response = api_instance.start_file_data_upload(file_id, version_id, file_type, part_number=part_number) - pprint(api_response) - except ApiException as e: - print("Exception when calling FilesApi->start_file_data_upload: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -1232,12 +725,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -1276,7 +763,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers diff --git a/docs/FriendsApi.md b/docs/FriendsApi.md index bb89ba30..d8208934 100644 --- a/docs/FriendsApi.md +++ b/docs/FriendsApi.md @@ -20,50 +20,6 @@ Deletes an outgoing pending friend request to another user. To delete an incomin ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.FriendsApi(api_client) - user_id = 'user_id_example' # str | Must be a valid user ID. - - try: - # Delete Friend Request - api_response = api_instance.delete_friend_request(user_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling FriendsApi->delete_friend_request: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -82,12 +38,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -120,7 +70,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -131,7 +81,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Successful response after cancelling a friend request. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | **404** | Error response when trying to delete a non-existent friend-request. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -145,50 +95,6 @@ Send a friend request to another user. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.FriendsApi(api_client) - user_id = 'user_id_example' # str | Must be a valid user ID. - - try: - # Send Friend Request - api_response = api_instance.friend(user_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling FriendsApi->friend: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -207,12 +113,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -245,7 +145,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -256,7 +156,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single Notifcation object. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | **404** | Error response when trying to send a friend request to a user which doesn't exist. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -270,50 +170,6 @@ Retrieve if the user is currently a friend with a given user, if they have an ou ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.FriendsApi(api_client) - user_id = 'user_id_example' # str | Must be a valid user ID. - - try: - # Check Friend Status - api_response = api_instance.get_friend_status(user_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling FriendsApi->get_friend_status: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -332,12 +188,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -370,7 +220,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -381,7 +231,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a users Friend Status. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -394,52 +244,6 @@ List information about friends. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.FriendsApi(api_client) - offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) -n = 60 # int | The number of objects to return. (optional) (default to 60) -offline = True # bool | Returns *only* offline users if true, returns only online and active users if false (optional) - - try: - # List Friends - api_response = api_instance.get_friends(offset=offset, n=n, offline=offline) - pprint(api_response) - except ApiException as e: - print("Exception when calling FriendsApi->get_friends: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -458,12 +262,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -500,7 +298,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -511,7 +309,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of LimitedUser objects. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -524,50 +322,6 @@ Unfriend a user by ID. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.FriendsApi(api_client) - user_id = 'user_id_example' # str | Must be a valid user ID. - - try: - # Unfriend - api_response = api_instance.unfriend(user_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling FriendsApi->unfriend: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -586,12 +340,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -624,7 +372,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -636,7 +384,7 @@ Name | Type | Description | Notes |-------------|-------------|------------------| **200** | Successful response after unfriending a user. | - | **400** | Error response when trying to unfriend someone who is not a friend. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/GroupsApi.md b/docs/GroupsApi.md index e145e1a2..c70b713a 100644 --- a/docs/GroupsApi.md +++ b/docs/GroupsApi.md @@ -51,52 +51,6 @@ Adds an image to a Group gallery. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -group_gallery_id = 'ggal_00000000-0000-0000-0000-000000000000' # str | Must be a valid group gallery ID. -add_group_gallery_image_request = vrchatapi.AddGroupGalleryImageRequest() # AddGroupGalleryImageRequest | (optional) - - try: - # Add Group Gallery Image - api_response = api_instance.add_group_gallery_image(group_id, group_gallery_id, add_group_gallery_image_request=add_group_gallery_image_request) - pprint(api_response) - except ApiException as e: - print("Exception when calling GroupsApi->add_group_gallery_image: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -115,12 +69,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -157,7 +105,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -168,7 +116,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single GroupGalleryImage object. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | **404** | Error response when trying to perform operations on a non-existing group. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -182,52 +130,6 @@ Adds a Role to a Group Member ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -user_id = 'user_id_example' # str | Must be a valid user ID. -group_role_id = 'grol_00000000-0000-0000-0000-000000000000' # str | Must be a valid group role ID. - - try: - # Add Role to GroupMember - api_response = api_instance.add_group_member_role(group_id, user_id, group_role_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling GroupsApi->add_group_member_role: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -246,12 +148,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -288,7 +184,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -299,7 +195,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of GroupRoleID objects. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | **404** | Error response when trying to perform operations on a non-existing group. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -313,51 +209,6 @@ Bans a user from a Group. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -ban_group_member_request = vrchatapi.BanGroupMemberRequest() # BanGroupMemberRequest | (optional) - - try: - # Ban Group Member - api_response = api_instance.ban_group_member(group_id, ban_group_member_request=ban_group_member_request) - pprint(api_response) - except ApiException as e: - print("Exception when calling GroupsApi->ban_group_member: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -376,12 +227,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -416,7 +261,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -427,7 +272,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of GroupMember objects. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | **404** | Error response when trying to perform operations on a non-existing group. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -441,49 +286,6 @@ Cancels a request sent to join the group. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. - - try: - # Cancel Group Join Request - api_instance.cancel_group_request(group_id) - except ApiException as e: - print("Exception when calling GroupsApi->cancel_group_request: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -502,12 +304,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -539,7 +335,7 @@ void (empty response body) ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -565,7 +361,7 @@ Creates a Group and returns a Group object. **Requires VRC+ Subscription.** ### Example -* Api Key Authentication (apiKeyCookie): +* Api Key Authentication (authCookie): ```python from __future__ import print_function import time @@ -583,12 +379,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -609,6 +399,42 @@ with vrchatapi.ApiClient(configuration) as api_client: print("Exception when calling GroupsApi->create_group: %s\n" % e) ``` +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **create_group_request** | [**CreateGroupRequest**](CreateGroupRequest.md)| | [optional] + +### Return type + +[**Group**](Group.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single Group object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **create_group_announcement** +> GroupAnnouncement create_group_announcement(group_id, create_group_announcement_request=create_group_announcement_request) + +Create Group Announcement + +Creates an Announcement for a Group. + +### Example + * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -627,12 +453,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -643,29 +463,31 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - create_group_request = vrchatapi.CreateGroupRequest() # CreateGroupRequest | (optional) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +create_group_announcement_request = vrchatapi.CreateGroupAnnouncementRequest() # CreateGroupAnnouncementRequest | (optional) try: - # Create Group - api_response = api_instance.create_group(create_group_request=create_group_request) + # Create Group Announcement + api_response = api_instance.create_group_announcement(group_id, create_group_announcement_request=create_group_announcement_request) pprint(api_response) except ApiException as e: - print("Exception when calling GroupsApi->create_group: %s\n" % e) + print("Exception when calling GroupsApi->create_group_announcement: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **create_group_request** | [**CreateGroupRequest**](CreateGroupRequest.md)| | [optional] + **group_id** | **str**| Must be a valid group ID. | + **create_group_announcement_request** | [**CreateGroupAnnouncementRequest**](CreateGroupAnnouncementRequest.md)| | [optional] ### Return type -[**Group**](Group.md) +[**GroupAnnouncement**](GroupAnnouncement.md) ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -675,21 +497,22 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a single Group object. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**200** | Returns a single GroupAnnouncement object. | - | +**401** | Error response due to missing auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_group_announcement** -> GroupAnnouncement create_group_announcement(group_id, create_group_announcement_request=create_group_announcement_request) +# **create_group_gallery** +> GroupGallery create_group_gallery(group_id, create_group_gallery_request=create_group_gallery_request) -Create Group Announcement +Create Group Gallery -Creates an Announcement for a Group. +Creates a gallery for a Group. ### Example -* Api Key Authentication (apiKeyCookie): +* Api Key Authentication (authCookie): ```python from __future__ import print_function import time @@ -707,12 +530,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -724,950 +541,14 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -create_group_announcement_request = vrchatapi.CreateGroupAnnouncementRequest() # CreateGroupAnnouncementRequest | (optional) +create_group_gallery_request = vrchatapi.CreateGroupGalleryRequest() # CreateGroupGalleryRequest | (optional) try: - # Create Group Announcement - api_response = api_instance.create_group_announcement(group_id, create_group_announcement_request=create_group_announcement_request) + # Create Group Gallery + api_response = api_instance.create_group_gallery(group_id, create_group_gallery_request=create_group_gallery_request) pprint(api_response) except ApiException as e: - print("Exception when calling GroupsApi->create_group_announcement: %s\n" % e) -``` - -* Api Key Authentication (authCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -create_group_announcement_request = vrchatapi.CreateGroupAnnouncementRequest() # CreateGroupAnnouncementRequest | (optional) - - try: - # Create Group Announcement - api_response = api_instance.create_group_announcement(group_id, create_group_announcement_request=create_group_announcement_request) - pprint(api_response) - except ApiException as e: - print("Exception when calling GroupsApi->create_group_announcement: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **group_id** | **str**| Must be a valid group ID. | - **create_group_announcement_request** | [**CreateGroupAnnouncementRequest**](CreateGroupAnnouncementRequest.md)| | [optional] - -### Return type - -[**GroupAnnouncement**](GroupAnnouncement.md) - -### Authorization - -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Returns a single GroupAnnouncement object. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | -**404** | Error response when trying to perform operations on a non-existing group. | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_group_gallery** -> GroupGallery create_group_gallery(group_id, create_group_gallery_request=create_group_gallery_request) - -Create Group Gallery - -Creates a gallery for a Group. - -### Example - -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -create_group_gallery_request = vrchatapi.CreateGroupGalleryRequest() # CreateGroupGalleryRequest | (optional) - - try: - # Create Group Gallery - api_response = api_instance.create_group_gallery(group_id, create_group_gallery_request=create_group_gallery_request) - pprint(api_response) - except ApiException as e: - print("Exception when calling GroupsApi->create_group_gallery: %s\n" % e) -``` - -* Api Key Authentication (authCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -create_group_gallery_request = vrchatapi.CreateGroupGalleryRequest() # CreateGroupGalleryRequest | (optional) - - try: - # Create Group Gallery - api_response = api_instance.create_group_gallery(group_id, create_group_gallery_request=create_group_gallery_request) - pprint(api_response) - except ApiException as e: - print("Exception when calling GroupsApi->create_group_gallery: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **group_id** | **str**| Must be a valid group ID. | - **create_group_gallery_request** | [**CreateGroupGalleryRequest**](CreateGroupGalleryRequest.md)| | [optional] - -### Return type - -[**GroupGallery**](GroupGallery.md) - -### Authorization - -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Returns a single GroupGallery object. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | -**404** | Error response when trying to perform operations on a non-existing group. | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_group_invite** -> create_group_invite(group_id, create_group_invite_request=create_group_invite_request) - -Invite User to Group - -Sends an invite to a user to join the group. - -### Example - -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -create_group_invite_request = vrchatapi.CreateGroupInviteRequest() # CreateGroupInviteRequest | (optional) - - try: - # Invite User to Group - api_instance.create_group_invite(group_id, create_group_invite_request=create_group_invite_request) - except ApiException as e: - print("Exception when calling GroupsApi->create_group_invite: %s\n" % e) -``` - -* Api Key Authentication (authCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -create_group_invite_request = vrchatapi.CreateGroupInviteRequest() # CreateGroupInviteRequest | (optional) - - try: - # Invite User to Group - api_instance.create_group_invite(group_id, create_group_invite_request=create_group_invite_request) - except ApiException as e: - print("Exception when calling GroupsApi->create_group_invite: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **group_id** | **str**| Must be a valid group ID. | - **create_group_invite_request** | [**CreateGroupInviteRequest**](CreateGroupInviteRequest.md)| | [optional] - -### Return type - -void (empty response body) - -### Authorization - -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | User <displayName> is already invited | - | -**401** | Error response due to missing apiKey or auth cookie. | - | -**404** | Error response when trying to perform operations on a non-existing group. | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_group_role** -> GroupRole create_group_role(group_id, create_group_role_request=create_group_role_request) - -Create GroupRole - -Create a Group role. - -### Example - -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -create_group_role_request = vrchatapi.CreateGroupRoleRequest() # CreateGroupRoleRequest | (optional) - - try: - # Create GroupRole - api_response = api_instance.create_group_role(group_id, create_group_role_request=create_group_role_request) - pprint(api_response) - except ApiException as e: - print("Exception when calling GroupsApi->create_group_role: %s\n" % e) -``` - -* Api Key Authentication (authCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -create_group_role_request = vrchatapi.CreateGroupRoleRequest() # CreateGroupRoleRequest | (optional) - - try: - # Create GroupRole - api_response = api_instance.create_group_role(group_id, create_group_role_request=create_group_role_request) - pprint(api_response) - except ApiException as e: - print("Exception when calling GroupsApi->create_group_role: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **group_id** | **str**| Must be a valid group ID. | - **create_group_role_request** | [**CreateGroupRoleRequest**](CreateGroupRoleRequest.md)| | [optional] - -### Return type - -[**GroupRole**](GroupRole.md) - -### Authorization - -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Returns a single GroupRole object. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | -**404** | Error response when trying to perform operations on a non-existing group. | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_group** -> Success delete_group(group_id) - -Delete Group - -Deletes a Group. - -### Example - -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. - - try: - # Delete Group - api_response = api_instance.delete_group(group_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling GroupsApi->delete_group: %s\n" % e) -``` - -* Api Key Authentication (authCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. - - try: - # Delete Group - api_response = api_instance.delete_group(group_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling GroupsApi->delete_group: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **group_id** | **str**| Must be a valid group ID. | - -### Return type - -[**Success**](Success.md) - -### Authorization - -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Successful response after deleting a Group. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | -**404** | Error response when trying to perform operations on a non-existing group. | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_group_announcement** -> Success delete_group_announcement(group_id) - -Delete Group Announcement - -Deletes the announcement for a Group. - -### Example - -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. - - try: - # Delete Group Announcement - api_response = api_instance.delete_group_announcement(group_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling GroupsApi->delete_group_announcement: %s\n" % e) -``` - -* Api Key Authentication (authCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. - - try: - # Delete Group Announcement - api_response = api_instance.delete_group_announcement(group_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling GroupsApi->delete_group_announcement: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **group_id** | **str**| Must be a valid group ID. | - -### Return type - -[**Success**](Success.md) - -### Authorization - -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Successful response after deleting/clearing the group announcement. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | -**404** | Error response when trying to perform operations on a non-existing group. | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_group_gallery** -> Success delete_group_gallery(group_id, group_gallery_id) - -Delete Group Gallery - -Deletes a gallery for a Group. - -### Example - -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -group_gallery_id = 'ggal_00000000-0000-0000-0000-000000000000' # str | Must be a valid group gallery ID. - - try: - # Delete Group Gallery - api_response = api_instance.delete_group_gallery(group_id, group_gallery_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling GroupsApi->delete_group_gallery: %s\n" % e) -``` - -* Api Key Authentication (authCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -group_gallery_id = 'ggal_00000000-0000-0000-0000-000000000000' # str | Must be a valid group gallery ID. - - try: - # Delete Group Gallery - api_response = api_instance.delete_group_gallery(group_id, group_gallery_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling GroupsApi->delete_group_gallery: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **group_id** | **str**| Must be a valid group ID. | - **group_gallery_id** | **str**| Must be a valid group gallery ID. | - -### Return type - -[**Success**](Success.md) - -### Authorization - -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Successful response after deleting a group gallery. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | -**404** | Error response when trying to perform operations on a non-existing group. | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_group_gallery_image** -> Success delete_group_gallery_image(group_id, group_gallery_id, group_gallery_image_id) - -Delete Group Gallery Image - -Deletes an image from a Group gallery. - -### Example - -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -group_gallery_id = 'ggal_00000000-0000-0000-0000-000000000000' # str | Must be a valid group gallery ID. -group_gallery_image_id = 'ggim_00000000-0000-0000-0000-000000000000' # str | Must be a valid group gallery image ID. - - try: - # Delete Group Gallery Image - api_response = api_instance.delete_group_gallery_image(group_id, group_gallery_id, group_gallery_image_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling GroupsApi->delete_group_gallery_image: %s\n" % e) -``` - -* Api Key Authentication (authCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -group_gallery_id = 'ggal_00000000-0000-0000-0000-000000000000' # str | Must be a valid group gallery ID. -group_gallery_image_id = 'ggim_00000000-0000-0000-0000-000000000000' # str | Must be a valid group gallery image ID. - - try: - # Delete Group Gallery Image - api_response = api_instance.delete_group_gallery_image(group_id, group_gallery_id, group_gallery_image_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling GroupsApi->delete_group_gallery_image: %s\n" % e) + print("Exception when calling GroupsApi->create_group_gallery: %s\n" % e) ``` ### Parameters @@ -1675,85 +556,39 @@ group_gallery_image_id = 'ggim_00000000-0000-0000-0000-000000000000' # str | Mus Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **group_id** | **str**| Must be a valid group ID. | - **group_gallery_id** | **str**| Must be a valid group gallery ID. | - **group_gallery_image_id** | **str**| Must be a valid group gallery image ID. | + **create_group_gallery_request** | [**CreateGroupGalleryRequest**](CreateGroupGalleryRequest.md)| | [optional] ### Return type -[**Success**](Success.md) +[**GroupGallery**](GroupGallery.md) ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Successful response after deleting a group gallery image. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | -**403** | Error response when trying to delete a submission to a group's gallery when the user does not have permission to do so. | - | +**200** | Returns a single GroupGallery object. | - | +**401** | Error response due to missing auth cookie. | - | **404** | Error response when trying to perform operations on a non-existing group. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_group_invite** -> delete_group_invite(group_id, user_id) +# **create_group_invite** +> create_group_invite(group_id, create_group_invite_request=create_group_invite_request) -Delete User Invite +Invite User to Group -Deletes an Group invite sent to a User +Sends an invite to a user to join the group. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -user_id = 'user_id_example' # str | Must be a valid user ID. - - try: - # Delete User Invite - api_instance.delete_group_invite(group_id, user_id) - except ApiException as e: - print("Exception when calling GroupsApi->delete_group_invite: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -1772,12 +607,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -1789,13 +618,13 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -user_id = 'user_id_example' # str | Must be a valid user ID. +create_group_invite_request = vrchatapi.CreateGroupInviteRequest() # CreateGroupInviteRequest | (optional) try: - # Delete User Invite - api_instance.delete_group_invite(group_id, user_id) + # Invite User to Group + api_instance.create_group_invite(group_id, create_group_invite_request=create_group_invite_request) except ApiException as e: - print("Exception when calling GroupsApi->delete_group_invite: %s\n" % e) + print("Exception when calling GroupsApi->create_group_invite: %s\n" % e) ``` ### Parameters @@ -1803,7 +632,7 @@ user_id = 'user_id_example' # str | Must be a valid user ID. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **group_id** | **str**| Must be a valid group ID. | - **user_id** | **str**| Must be a valid user ID. | + **create_group_invite_request** | [**CreateGroupInviteRequest**](CreateGroupInviteRequest.md)| | [optional] ### Return type @@ -1811,31 +640,33 @@ void (empty response body) ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**400** | User <displayName> is already invited | - | +**401** | Error response due to missing auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_group_role** -> list[GroupRole] delete_group_role(group_id, group_role_id) +# **create_group_role** +> GroupRole create_group_role(group_id, create_group_role_request=create_group_role_request) -Delete Group Role +Create GroupRole -Deletes a Group Role by ID and returns the remaining roles. +Create a Group role. ### Example -* Api Key Authentication (apiKeyCookie): +* Api Key Authentication (authCookie): ```python from __future__ import print_function import time @@ -1853,12 +684,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -1870,16 +695,54 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -group_role_id = 'grol_00000000-0000-0000-0000-000000000000' # str | Must be a valid group role ID. +create_group_role_request = vrchatapi.CreateGroupRoleRequest() # CreateGroupRoleRequest | (optional) try: - # Delete Group Role - api_response = api_instance.delete_group_role(group_id, group_role_id) + # Create GroupRole + api_response = api_instance.create_group_role(group_id, create_group_role_request=create_group_role_request) pprint(api_response) except ApiException as e: - print("Exception when calling GroupsApi->delete_group_role: %s\n" % e) + print("Exception when calling GroupsApi->create_group_role: %s\n" % e) ``` +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **create_group_role_request** | [**CreateGroupRoleRequest**](CreateGroupRoleRequest.md)| | [optional] + +### Return type + +[**GroupRole**](GroupRole.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single GroupRole object. | - | +**401** | Error response due to missing auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_group** +> Success delete_group(group_id) + +Delete Group + +Deletes a Group. + +### Example + * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -1898,12 +761,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -1915,14 +772,13 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -group_role_id = 'grol_00000000-0000-0000-0000-000000000000' # str | Must be a valid group role ID. try: - # Delete Group Role - api_response = api_instance.delete_group_role(group_id, group_role_id) + # Delete Group + api_response = api_instance.delete_group(group_id) pprint(api_response) except ApiException as e: - print("Exception when calling GroupsApi->delete_group_role: %s\n" % e) + print("Exception when calling GroupsApi->delete_group: %s\n" % e) ``` ### Parameters @@ -1930,15 +786,14 @@ group_role_id = 'grol_00000000-0000-0000-0000-000000000000' # str | Must be a va Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **group_id** | **str**| Must be a valid group ID. | - **group_role_id** | **str**| Must be a valid group role ID. | ### Return type -[**list[GroupRole]**](GroupRole.md) +[**Success**](Success.md) ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -1948,22 +803,22 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a list of GroupRole objects. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | -**404** | Error response when trying to perform operations on a group you are not member of. | - | +**200** | Successful response after deleting a Group. | - | +**401** | Error response due to missing auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_group** -> Group get_group(group_id, include_roles=include_roles) +# **delete_group_announcement** +> Success delete_group_announcement(group_id) -Get Group by ID +Delete Group Announcement -Returns a single Group by ID. +Deletes the announcement for a Group. ### Example -* Api Key Authentication (apiKeyCookie): +* Api Key Authentication (authCookie): ```python from __future__ import print_function import time @@ -1981,12 +836,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -1998,16 +847,52 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -include_roles = True # bool | Include roles for the Group object. Defaults to false. (optional) try: - # Get Group by ID - api_response = api_instance.get_group(group_id, include_roles=include_roles) + # Delete Group Announcement + api_response = api_instance.delete_group_announcement(group_id) pprint(api_response) except ApiException as e: - print("Exception when calling GroupsApi->get_group: %s\n" % e) + print("Exception when calling GroupsApi->delete_group_announcement: %s\n" % e) ``` +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + +### Return type + +[**Success**](Success.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response after deleting/clearing the group announcement. | - | +**401** | Error response due to missing auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_group_gallery** +> Success delete_group_gallery(group_id, group_gallery_id) + +Delete Group Gallery + +Deletes a gallery for a Group. + +### Example + * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -2026,12 +911,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -2043,14 +922,14 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -include_roles = True # bool | Include roles for the Group object. Defaults to false. (optional) +group_gallery_id = 'ggal_00000000-0000-0000-0000-000000000000' # str | Must be a valid group gallery ID. try: - # Get Group by ID - api_response = api_instance.get_group(group_id, include_roles=include_roles) + # Delete Group Gallery + api_response = api_instance.delete_group_gallery(group_id, group_gallery_id) pprint(api_response) except ApiException as e: - print("Exception when calling GroupsApi->get_group: %s\n" % e) + print("Exception when calling GroupsApi->delete_group_gallery: %s\n" % e) ``` ### Parameters @@ -2058,15 +937,15 @@ include_roles = True # bool | Include roles for the Group object. Defaults to fa Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **group_id** | **str**| Must be a valid group ID. | - **include_roles** | **bool**| Include roles for the Group object. Defaults to false. | [optional] + **group_gallery_id** | **str**| Must be a valid group gallery ID. | ### Return type -[**Group**](Group.md) +[**Success**](Success.md) ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -2076,64 +955,20 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a single Group object. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**200** | Successful response after deleting a group gallery. | - | +**401** | Error response due to missing auth cookie. | - | **404** | Error response when trying to perform operations on a non-existing group. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_group_announcements** -> GroupAnnouncement get_group_announcements(group_id) - -Get Group Announcement - -Returns the announcement for a Group. If no announcement has been made, then it returns **empty object**. If an announcement exists, then it will always return all fields except `imageId` and `imageUrl` which may be null. - -### Example - -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' +# **delete_group_gallery_image** +> Success delete_group_gallery_image(group_id, group_gallery_id, group_gallery_image_id) -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +Delete Group Gallery Image - try: - # Get Group Announcement - api_response = api_instance.get_group_announcements(group_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling GroupsApi->get_group_announcements: %s\n" % e) -``` +Deletes an image from a Group gallery. + +### Example * Api Key Authentication (authCookie): ```python @@ -2153,12 +988,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -2170,13 +999,15 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +group_gallery_id = 'ggal_00000000-0000-0000-0000-000000000000' # str | Must be a valid group gallery ID. +group_gallery_image_id = 'ggim_00000000-0000-0000-0000-000000000000' # str | Must be a valid group gallery image ID. try: - # Get Group Announcement - api_response = api_instance.get_group_announcements(group_id) + # Delete Group Gallery Image + api_response = api_instance.delete_group_gallery_image(group_id, group_gallery_id, group_gallery_image_id) pprint(api_response) except ApiException as e: - print("Exception when calling GroupsApi->get_group_announcements: %s\n" % e) + print("Exception when calling GroupsApi->delete_group_gallery_image: %s\n" % e) ``` ### Parameters @@ -2184,14 +1015,16 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **group_id** | **str**| Must be a valid group ID. | + **group_gallery_id** | **str**| Must be a valid group gallery ID. | + **group_gallery_image_id** | **str**| Must be a valid group gallery image ID. | ### Return type -[**GroupAnnouncement**](GroupAnnouncement.md) +[**Success**](Success.md) ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -2201,22 +1034,23 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a single GroupAnnouncement object. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**200** | Successful response after deleting a group gallery image. | - | +**401** | Error response due to missing auth cookie. | - | +**403** | Error response when trying to delete a submission to a group's gallery when the user does not have permission to do so. | - | **404** | Error response when trying to perform operations on a non-existing group. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_group_audit_logs** -> PaginatedGroupAuditLogEntryList get_group_audit_logs(group_id, n=n, offset=offset, start_date=start_date, end_date=end_date) +# **delete_group_invite** +> delete_group_invite(group_id, user_id) -Get Group Audit Logs +Delete User Invite -Returns a list of audit logs for a Group. +Deletes an Group invite sent to a User ### Example -* Api Key Authentication (apiKeyCookie): +* Api Key Authentication (authCookie): ```python from __future__ import print_function import time @@ -2234,12 +1068,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -2251,19 +1079,52 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -n = 60 # int | The number of objects to return. (optional) (default to 60) -offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) -start_date = '2013-10-20T19:20:30+01:00' # datetime | The start date of the search range. (optional) -end_date = '2013-10-20T19:20:30+01:00' # datetime | The end date of the search range. (optional) +user_id = 'user_id_example' # str | Must be a valid user ID. try: - # Get Group Audit Logs - api_response = api_instance.get_group_audit_logs(group_id, n=n, offset=offset, start_date=start_date, end_date=end_date) - pprint(api_response) + # Delete User Invite + api_instance.delete_group_invite(group_id, user_id) except ApiException as e: - print("Exception when calling GroupsApi->get_group_audit_logs: %s\n" % e) + print("Exception when calling GroupsApi->delete_group_invite: %s\n" % e) ``` +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **user_id** | **str**| Must be a valid user ID. | + +### Return type + +void (empty response body) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_group_role** +> list[GroupRole] delete_group_role(group_id, group_role_id) + +Delete Group Role + +Deletes a Group Role by ID and returns the remaining roles. + +### Example + * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -2282,12 +1143,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -2299,17 +1154,14 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -n = 60 # int | The number of objects to return. (optional) (default to 60) -offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) -start_date = '2013-10-20T19:20:30+01:00' # datetime | The start date of the search range. (optional) -end_date = '2013-10-20T19:20:30+01:00' # datetime | The end date of the search range. (optional) +group_role_id = 'grol_00000000-0000-0000-0000-000000000000' # str | Must be a valid group role ID. try: - # Get Group Audit Logs - api_response = api_instance.get_group_audit_logs(group_id, n=n, offset=offset, start_date=start_date, end_date=end_date) + # Delete Group Role + api_response = api_instance.delete_group_role(group_id, group_role_id) pprint(api_response) except ApiException as e: - print("Exception when calling GroupsApi->get_group_audit_logs: %s\n" % e) + print("Exception when calling GroupsApi->delete_group_role: %s\n" % e) ``` ### Parameters @@ -2317,18 +1169,15 @@ end_date = '2013-10-20T19:20:30+01:00' # datetime | The end date of the search r Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **group_id** | **str**| Must be a valid group ID. | - **n** | **int**| The number of objects to return. | [optional] [default to 60] - **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] - **start_date** | **datetime**| The start date of the search range. | [optional] - **end_date** | **datetime**| The end date of the search range. | [optional] + **group_role_id** | **str**| Must be a valid group role ID. | ### Return type -[**PaginatedGroupAuditLogEntryList**](PaginatedGroupAuditLogEntryList.md) +[**list[GroupRole]**](GroupRole.md) ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -2338,22 +1187,22 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a list of GroupAudit objects, wrapped in new pagination format. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | -**404** | Error response when trying to perform operations on a non-existing group. | - | +**200** | Returns a list of GroupRole objects. | - | +**401** | Error response due to missing auth cookie. | - | +**404** | Error response when trying to perform operations on a group you are not member of. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_group_bans** -> list[GroupMember] get_group_bans(group_id, n=n, offset=offset) +# **get_group** +> Group get_group(group_id, include_roles=include_roles) -Get Group Bans +Get Group by ID -Returns a list of banned users for a Group. +Returns a single Group by ID. ### Example -* Api Key Authentication (apiKeyCookie): +* Api Key Authentication (authCookie): ```python from __future__ import print_function import time @@ -2371,12 +1220,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -2388,17 +1231,54 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -n = 60 # int | The number of objects to return. (optional) (default to 60) -offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) +include_roles = True # bool | Include roles for the Group object. Defaults to false. (optional) try: - # Get Group Bans - api_response = api_instance.get_group_bans(group_id, n=n, offset=offset) + # Get Group by ID + api_response = api_instance.get_group(group_id, include_roles=include_roles) pprint(api_response) except ApiException as e: - print("Exception when calling GroupsApi->get_group_bans: %s\n" % e) + print("Exception when calling GroupsApi->get_group: %s\n" % e) ``` +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **include_roles** | **bool**| Include roles for the Group object. Defaults to false. | [optional] + +### Return type + +[**Group**](Group.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single Group object. | - | +**401** | Error response due to missing auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_group_announcements** +> GroupAnnouncement get_group_announcements(group_id) + +Get Group Announcement + +Returns the announcement for a Group. If no announcement has been made, then it returns **empty object**. If an announcement exists, then it will always return all fields except `imageId` and `imageUrl` which may be null. + +### Example + * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -2417,12 +1297,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -2434,15 +1308,13 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -n = 60 # int | The number of objects to return. (optional) (default to 60) -offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) try: - # Get Group Bans - api_response = api_instance.get_group_bans(group_id, n=n, offset=offset) + # Get Group Announcement + api_response = api_instance.get_group_announcements(group_id) pprint(api_response) except ApiException as e: - print("Exception when calling GroupsApi->get_group_bans: %s\n" % e) + print("Exception when calling GroupsApi->get_group_announcements: %s\n" % e) ``` ### Parameters @@ -2450,16 +1322,14 @@ offset = 56 # int | A zero-based offset from the default object sorting from whe Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **group_id** | **str**| Must be a valid group ID. | - **n** | **int**| The number of objects to return. | [optional] [default to 60] - **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] ### Return type -[**list[GroupMember]**](GroupMember.md) +[**GroupAnnouncement**](GroupAnnouncement.md) ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -2469,22 +1339,22 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a list of GroupMember objects. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**200** | Returns a single GroupAnnouncement object. | - | +**401** | Error response due to missing auth cookie. | - | **404** | Error response when trying to perform operations on a non-existing group. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_group_gallery_images** -> list[GroupGalleryImage] get_group_gallery_images(group_id, group_gallery_id, n=n, offset=offset, approved=approved) +# **get_group_audit_logs** +> PaginatedGroupAuditLogEntryList get_group_audit_logs(group_id, n=n, offset=offset, start_date=start_date, end_date=end_date) -Get Group Gallery Images +Get Group Audit Logs -Returns a list of images for a Group gallery. +Returns a list of audit logs for a Group. ### Example -* Api Key Authentication (apiKeyCookie): +* Api Key Authentication (authCookie): ```python from __future__ import print_function import time @@ -2502,12 +1372,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -2519,19 +1383,60 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -group_gallery_id = 'ggal_00000000-0000-0000-0000-000000000000' # str | Must be a valid group gallery ID. n = 60 # int | The number of objects to return. (optional) (default to 60) offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) -approved = True # bool | If specified, only returns images that have been approved or not approved. (optional) +start_date = '2013-10-20T19:20:30+01:00' # datetime | The start date of the search range. (optional) +end_date = '2013-10-20T19:20:30+01:00' # datetime | The end date of the search range. (optional) try: - # Get Group Gallery Images - api_response = api_instance.get_group_gallery_images(group_id, group_gallery_id, n=n, offset=offset, approved=approved) + # Get Group Audit Logs + api_response = api_instance.get_group_audit_logs(group_id, n=n, offset=offset, start_date=start_date, end_date=end_date) pprint(api_response) except ApiException as e: - print("Exception when calling GroupsApi->get_group_gallery_images: %s\n" % e) + print("Exception when calling GroupsApi->get_group_audit_logs: %s\n" % e) ``` +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + **start_date** | **datetime**| The start date of the search range. | [optional] + **end_date** | **datetime**| The end date of the search range. | [optional] + +### Return type + +[**PaginatedGroupAuditLogEntryList**](PaginatedGroupAuditLogEntryList.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of GroupAudit objects, wrapped in new pagination format. | - | +**401** | Error response due to missing auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_group_bans** +> list[GroupMember] get_group_bans(group_id, n=n, offset=offset) + +Get Group Bans + +Returns a list of banned users for a Group. + +### Example + * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -2550,12 +1455,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -2567,17 +1466,15 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -group_gallery_id = 'ggal_00000000-0000-0000-0000-000000000000' # str | Must be a valid group gallery ID. n = 60 # int | The number of objects to return. (optional) (default to 60) offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) -approved = True # bool | If specified, only returns images that have been approved or not approved. (optional) try: - # Get Group Gallery Images - api_response = api_instance.get_group_gallery_images(group_id, group_gallery_id, n=n, offset=offset, approved=approved) + # Get Group Bans + api_response = api_instance.get_group_bans(group_id, n=n, offset=offset) pprint(api_response) except ApiException as e: - print("Exception when calling GroupsApi->get_group_gallery_images: %s\n" % e) + print("Exception when calling GroupsApi->get_group_bans: %s\n" % e) ``` ### Parameters @@ -2585,18 +1482,16 @@ approved = True # bool | If specified, only returns images that have been approv Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **group_id** | **str**| Must be a valid group ID. | - **group_gallery_id** | **str**| Must be a valid group gallery ID. | **n** | **int**| The number of objects to return. | [optional] [default to 60] **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] - **approved** | **bool**| If specified, only returns images that have been approved or not approved. | [optional] ### Return type -[**list[GroupGalleryImage]**](GroupGalleryImage.md) +[**list[GroupMember]**](GroupMember.md) ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -2606,22 +1501,22 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a list of GroupGalleryImage objects. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**200** | Returns a list of GroupMember objects. | - | +**401** | Error response due to missing auth cookie. | - | **404** | Error response when trying to perform operations on a non-existing group. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_group_invites** -> list[GroupMember] get_group_invites(group_id) +# **get_group_gallery_images** +> list[GroupGalleryImage] get_group_gallery_images(group_id, group_gallery_id, n=n, offset=offset, approved=approved) -Get Group Invites Sent +Get Group Gallery Images -Returns a list of members that have been invited to the Group. +Returns a list of images for a Group gallery. ### Example -* Api Key Authentication (apiKeyCookie): +* Api Key Authentication (authCookie): ```python from __future__ import print_function import time @@ -2639,12 +1534,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -2656,15 +1545,60 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +group_gallery_id = 'ggal_00000000-0000-0000-0000-000000000000' # str | Must be a valid group gallery ID. +n = 60 # int | The number of objects to return. (optional) (default to 60) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) +approved = True # bool | If specified, only returns images that have been approved or not approved. (optional) try: - # Get Group Invites Sent - api_response = api_instance.get_group_invites(group_id) + # Get Group Gallery Images + api_response = api_instance.get_group_gallery_images(group_id, group_gallery_id, n=n, offset=offset, approved=approved) pprint(api_response) except ApiException as e: - print("Exception when calling GroupsApi->get_group_invites: %s\n" % e) + print("Exception when calling GroupsApi->get_group_gallery_images: %s\n" % e) ``` +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **group_gallery_id** | **str**| Must be a valid group gallery ID. | + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + **approved** | **bool**| If specified, only returns images that have been approved or not approved. | [optional] + +### Return type + +[**list[GroupGalleryImage]**](GroupGalleryImage.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of GroupGalleryImage objects. | - | +**401** | Error response due to missing auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_group_invites** +> list[GroupMember] get_group_invites(group_id) + +Get Group Invites Sent + +Returns a list of members that have been invited to the Group. + +### Example + * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -2683,12 +1617,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -2721,7 +1649,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -2732,7 +1660,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of GroupMember objects. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | **403** | Error response when trying to perform operations on a group you are not member of. | - | **404** | Error response when trying to perform operations on a non-existing group. | - | @@ -2747,51 +1675,6 @@ Returns a LimitedGroup Member. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -user_id = 'user_id_example' # str | Must be a valid user ID. - - try: - # Get Group Member - api_response = api_instance.get_group_member(group_id, user_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling GroupsApi->get_group_member: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -2810,12 +1693,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -2850,7 +1727,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -2861,7 +1738,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of GroupMember objects. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | **404** | Error response when trying to perform operations on a non-existing group. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -2875,52 +1752,6 @@ Returns a List of all **other** Group Members. This endpoint will never return t ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -n = 60 # int | The number of objects to return. (optional) (default to 60) -offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) - - try: - # List Group Members - api_response = api_instance.get_group_members(group_id, n=n, offset=offset) - pprint(api_response) - except ApiException as e: - print("Exception when calling GroupsApi->get_group_members: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -2939,12 +1770,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -2981,7 +1806,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -2993,7 +1818,7 @@ Name | Type | Description | Notes |-------------|-------------|------------------| **200** | Returns a list of GroupMember objects. | - | **400** | Error response when trying to search list of users with an invalid request. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | **404** | Error response when trying to perform operations on a non-existing group. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -3007,50 +1832,6 @@ Returns a List of all possible/available permissions for a Group. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. - - try: - # List Group Permissions - api_response = api_instance.get_group_permissions(group_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling GroupsApi->get_group_permissions: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -3069,12 +1850,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -3107,7 +1882,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -3119,7 +1894,7 @@ Name | Type | Description | Notes |-------------|-------------|------------------| **200** | Returns a list of GroupPermission objects. | - | **400** | Error response when trying to search list of users with an invalid request. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | **404** | Error response when trying to perform operations on a non-existing group. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -3131,52 +1906,8 @@ Get Group Join Requests Returns a list of members that have requested to join the Group. -### Example - -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. - - try: - # Get Group Join Requests - api_response = api_instance.get_group_requests(group_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling GroupsApi->get_group_requests: %s\n" % e) -``` - +### Example + * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -3195,12 +1926,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -3233,7 +1958,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -3258,50 +1983,6 @@ Returns a Group Role by ID. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. - - try: - # Get Group Roles - api_response = api_instance.get_group_roles(group_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling GroupsApi->get_group_roles: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -3320,12 +2001,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -3358,7 +2033,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -3369,7 +2044,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of GroupRole objects. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | **404** | Error response when trying to perform operations on a non-existing group. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -3383,50 +2058,6 @@ Join a Group by ID and returns the member object. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. - - try: - # Join Group - api_response = api_instance.join_group(group_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling GroupsApi->join_group: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -3445,12 +2076,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -3483,7 +2108,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -3495,7 +2120,7 @@ Name | Type | Description | Notes |-------------|-------------|------------------| **200** | Returns a list of GroupMember objects. | - | **400** | Error response when trying to join a group that the user is already a member of. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | **404** | Error response when trying to perform operations on a non-existing group. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -3509,50 +2134,6 @@ Kicks a Group Member from the Group. The current user must have the \"Remove Gro ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -user_id = 'user_id_example' # str | Must be a valid user ID. - - try: - # Kick Group Member - api_instance.kick_group_member(group_id, user_id) - except ApiException as e: - print("Exception when calling GroupsApi->kick_group_member: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -3571,12 +2152,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -3610,7 +2185,7 @@ void (empty response body) ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -3621,7 +2196,7 @@ void (empty response body) | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | **403** | Error response when trying to perform operations on a group you are not member of. | - | **404** | Error response when trying to perform operations on a non-existing group. | - | @@ -3636,49 +2211,6 @@ Leave a group by ID. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. - - try: - # Leave Group - api_instance.leave_group(group_id) - except ApiException as e: - print("Exception when calling GroupsApi->leave_group: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -3697,12 +2229,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -3734,7 +2260,7 @@ void (empty response body) ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -3759,52 +2285,6 @@ Removes a Role from a Group Member ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -user_id = 'user_id_example' # str | Must be a valid user ID. -group_role_id = 'grol_00000000-0000-0000-0000-000000000000' # str | Must be a valid group role ID. - - try: - # Remove Role from GroupMember - api_response = api_instance.remove_group_member_role(group_id, user_id, group_role_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling GroupsApi->remove_group_member_role: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -3823,12 +2303,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -3865,75 +2339,30 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Returns a list of GroupRoleID objects. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | -**404** | Error response when trying to perform operations on a non-existing group. | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **respond_group_join_request** -> respond_group_join_request(group_id, user_id, respond_group_join_request=respond_group_join_request) - -Respond Group Join request - -Responds to a Group Join Request with Accept/Deny - -### Example - -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. + - **Accept**: application/json -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of GroupRoleID objects. | - | +**401** | Error response due to missing auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' +# **respond_group_join_request** +> respond_group_join_request(group_id, user_id, respond_group_join_request=respond_group_join_request) -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' +Respond Group Join request -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -user_id = 'user_id_example' # str | Must be a valid user ID. -respond_group_join_request = vrchatapi.RespondGroupJoinRequest() # RespondGroupJoinRequest | (optional) +Responds to a Group Join Request with Accept/Deny - try: - # Respond Group Join request - api_instance.respond_group_join_request(group_id, user_id, respond_group_join_request=respond_group_join_request) - except ApiException as e: - print("Exception when calling GroupsApi->respond_group_join_request: %s\n" % e) -``` +### Example * Api Key Authentication (authCookie): ```python @@ -3953,12 +2382,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -3994,7 +2417,7 @@ void (empty response body) ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -4005,7 +2428,7 @@ void (empty response body) | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | **404** | Error response when trying to perform operations on a non-existing group. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -4019,51 +2442,6 @@ Unbans a user from a Group. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -user_id = 'user_id_example' # str | Must be a valid user ID. - - try: - # Unban Group Member - api_response = api_instance.unban_group_member(group_id, user_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling GroupsApi->unban_group_member: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -4082,12 +2460,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -4122,7 +2494,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -4133,7 +2505,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of GroupMember objects. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | **404** | Error response when trying to perform operations on a non-existing group. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -4147,51 +2519,6 @@ Updates a Group and returns it. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -update_group_request = vrchatapi.UpdateGroupRequest() # UpdateGroupRequest | (optional) - - try: - # Update Group - api_response = api_instance.update_group(group_id, update_group_request=update_group_request) - pprint(api_response) - except ApiException as e: - print("Exception when calling GroupsApi->update_group: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -4210,12 +2537,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -4250,7 +2571,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -4261,7 +2582,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single Group object. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | **404** | Error response when trying to perform operations on a non-existing group. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -4275,52 +2596,6 @@ Updates a gallery for a Group. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -group_gallery_id = 'ggal_00000000-0000-0000-0000-000000000000' # str | Must be a valid group gallery ID. -update_group_gallery_request = vrchatapi.UpdateGroupGalleryRequest() # UpdateGroupGalleryRequest | (optional) - - try: - # Update Group Gallery - api_response = api_instance.update_group_gallery(group_id, group_gallery_id, update_group_gallery_request=update_group_gallery_request) - pprint(api_response) - except ApiException as e: - print("Exception when calling GroupsApi->update_group_gallery: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -4339,12 +2614,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -4381,7 +2650,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -4392,7 +2661,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single GroupGallery object. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | **404** | Error response when trying to perform operations on a non-existing group. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -4406,52 +2675,6 @@ Updates a Group Member ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -user_id = 'user_id_example' # str | Must be a valid user ID. -update_group_member_request = vrchatapi.UpdateGroupMemberRequest() # UpdateGroupMemberRequest | (optional) - - try: - # Update Group Member - api_response = api_instance.update_group_member(group_id, user_id, update_group_member_request=update_group_member_request) - pprint(api_response) - except ApiException as e: - print("Exception when calling GroupsApi->update_group_member: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -4470,12 +2693,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -4512,7 +2729,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -4523,7 +2740,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of GroupMember objects. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | **404** | Error response when trying to perform operations on a non-existing group. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -4537,52 +2754,6 @@ Updates a group role by ID. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -group_role_id = 'grol_00000000-0000-0000-0000-000000000000' # str | Must be a valid group role ID. -update_group_role_request = vrchatapi.UpdateGroupRoleRequest() # UpdateGroupRoleRequest | (optional) - - try: - # Update Group Role - api_response = api_instance.update_group_role(group_id, group_role_id, update_group_role_request=update_group_role_request) - pprint(api_response) - except ApiException as e: - print("Exception when calling GroupsApi->update_group_role: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -4601,12 +2772,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -4643,7 +2808,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -4654,7 +2819,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of GroupRole objects. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/InstancesApi.md b/docs/InstancesApi.md index 8a63b0c2..f9edf351 100644 --- a/docs/InstancesApi.md +++ b/docs/InstancesApi.md @@ -19,51 +19,6 @@ Returns an instance. Please read [Instances Tutorial](https://vrchatapi.github.i ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.InstancesApi(api_client) - world_id = 'world_id_example' # str | Must be a valid world ID. -instance_id = 'instance_id_example' # str | Must be a valid instance ID. - - try: - # Get Instance - api_response = api_instance.get_instance(world_id, instance_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling InstancesApi->get_instance: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -82,12 +37,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -122,7 +71,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -133,7 +82,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single Instance object. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -146,50 +95,6 @@ Returns an instance. Please read [Instances Tutorial](https://vrchatapi.github.i ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.InstancesApi(api_client) - short_name = 'short_name_example' # str | Must be a valid instance short name. - - try: - # Get Instance By Short Name - api_response = api_instance.get_instance_by_short_name(short_name) - pprint(api_response) - except ApiException as e: - print("Exception when calling InstancesApi->get_instance_by_short_name: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -208,12 +113,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -246,7 +145,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -257,7 +156,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single Instance object. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | **404** | Error response due to non existant instance | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -271,51 +170,6 @@ Returns an instance short name. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.InstancesApi(api_client) - world_id = 'world_id_example' # str | Must be a valid world ID. -instance_id = 'instance_id_example' # str | Must be a valid instance ID. - - try: - # Get Instance Short Name - api_response = api_instance.get_short_name(world_id, instance_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling InstancesApi->get_short_name: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -334,12 +188,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -374,7 +222,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -385,7 +233,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns an instance secureName and/or shortName. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -398,51 +246,6 @@ Sends an invite to the instance to yourself. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.InstancesApi(api_client) - world_id = 'world_id_example' # str | Must be a valid world ID. -instance_id = 'instance_id_example' # str | Must be a valid instance ID. - - try: - # Send Self Invite - api_response = api_instance.send_self_invite(world_id, instance_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling InstancesApi->send_self_invite: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -461,12 +264,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -501,7 +298,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -512,7 +309,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Success response after sending an invite to yourself to the instance. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/InviteApi.md b/docs/InviteApi.md index 4a0c9b81..58a10ecf 100644 --- a/docs/InviteApi.md +++ b/docs/InviteApi.md @@ -23,52 +23,6 @@ Returns a single Invite Message. This returns the exact same information but les ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.InviteApi(api_client) - user_id = 'user_id_example' # str | Must be a valid user ID. -message_type = vrchatapi.InviteMessageType() # InviteMessageType | The type of message to fetch, must be a valid InviteMessageType. -slot = 56 # int | The message slot to fetch of a given message type. - - try: - # Get Invite Message - api_response = api_instance.get_invite_message(user_id, message_type, slot) - pprint(api_response) - except ApiException as e: - print("Exception when calling InviteApi->get_invite_message: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -87,12 +41,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -129,7 +77,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -155,51 +103,6 @@ Returns a list of all the users Invite Messages. Admin Credentials are required ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.InviteApi(api_client) - user_id = 'user_id_example' # str | Must be a valid user ID. -message_type = vrchatapi.InviteMessageType() # InviteMessageType | The type of message to fetch, must be a valid InviteMessageType. - - try: - # List Invite Messages - api_response = api_instance.get_invite_messages(user_id, message_type) - pprint(api_response) - except ApiException as e: - print("Exception when calling InviteApi->get_invite_messages: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -218,12 +121,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -258,7 +155,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -283,51 +180,6 @@ Sends self an invite to an instance ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.InviteApi(api_client) - world_id = 'world_id_example' # str | Must be a valid world ID. -instance_id = 'instance_id_example' # str | Must be a valid instance ID. - - try: - # Invite Myself To Instance - api_response = api_instance.invite_myself_to(world_id, instance_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling InviteApi->invite_myself_to: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -346,12 +198,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -386,7 +232,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -397,7 +243,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single SentNotifcation object. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | **404** | Error response due to non existant instance | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -411,51 +257,6 @@ Sends an invite to a user. Returns the Notification of type `invite` that was se ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.InviteApi(api_client) - user_id = 'user_id_example' # str | Must be a valid user ID. -invite_request = vrchatapi.InviteRequest() # InviteRequest | Slot number of the Invite Message to use when inviting a user. (optional) - - try: - # Invite User - api_response = api_instance.invite_user(user_id, invite_request=invite_request) - pprint(api_response) - except ApiException as e: - print("Exception when calling InviteApi->invite_user: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -474,12 +275,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -514,7 +309,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -538,51 +333,6 @@ Requests an invite from a user. Returns the Notification of type `requestInvite` ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.InviteApi(api_client) - user_id = 'user_id_example' # str | Must be a valid user ID. -request_invite_request = vrchatapi.RequestInviteRequest() # RequestInviteRequest | Slot number of the Request Message to use when request an invite. (optional) - - try: - # Request Invite - api_response = api_instance.request_invite(user_id, request_invite_request=request_invite_request) - pprint(api_response) - except ApiException as e: - print("Exception when calling InviteApi->request_invite: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -601,12 +351,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -641,7 +385,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -665,52 +409,6 @@ Resets a single Invite Message back to its original message, and then returns a ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.InviteApi(api_client) - user_id = 'user_id_example' # str | Must be a valid user ID. -message_type = vrchatapi.InviteMessageType() # InviteMessageType | The type of message to fetch, must be a valid InviteMessageType. -slot = 56 # int | The message slot to fetch of a given message type. - - try: - # Reset Invite Message - api_response = api_instance.reset_invite_message(user_id, message_type, slot) - pprint(api_response) - except ApiException as e: - print("Exception when calling InviteApi->reset_invite_message: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -729,12 +427,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -771,7 +463,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -798,51 +490,6 @@ Respond to an invite request by sending a world invite to the requesting user. ` ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.InviteApi(api_client) - notification_id = 'notification_id_example' # str | Must be a valid notification ID. -invite_response = vrchatapi.InviteResponse() # InviteResponse | Slot number of the Response Message to use when responding to a user. (optional) - - try: - # Respond Invite - api_response = api_instance.respond_invite(notification_id, invite_response=invite_response) - pprint(api_response) - except ApiException as e: - print("Exception when calling InviteApi->respond_invite: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -861,12 +508,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -901,7 +542,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -925,53 +566,6 @@ Updates a single Invite Message and then returns a list of all of them. Admin Cr ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.InviteApi(api_client) - user_id = 'user_id_example' # str | Must be a valid user ID. -message_type = vrchatapi.InviteMessageType() # InviteMessageType | The type of message to fetch, must be a valid InviteMessageType. -slot = 56 # int | The message slot to fetch of a given message type. -update_invite_message_request = vrchatapi.UpdateInviteMessageRequest() # UpdateInviteMessageRequest | Message of what to set the invite message to. (optional) - - try: - # Update Invite Message - api_response = api_instance.update_invite_message(user_id, message_type, slot, update_invite_message_request=update_invite_message_request) - pprint(api_response) - except ApiException as e: - print("Exception when calling InviteApi->update_invite_message: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -990,12 +584,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -1034,7 +622,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers diff --git a/docs/NotificationsApi.md b/docs/NotificationsApi.md index e9156553..83470f90 100644 --- a/docs/NotificationsApi.md +++ b/docs/NotificationsApi.md @@ -20,50 +20,6 @@ Accept a friend request by notification `frq_` ID. Friend requests can be found ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.NotificationsApi(api_client) - notification_id = 'notification_id_example' # str | Must be a valid notification ID. - - try: - # Accept Friend Request - api_response = api_instance.accept_friend_request(notification_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling NotificationsApi->accept_friend_request: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -82,12 +38,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -120,7 +70,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -131,7 +81,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Successful response after friending a user. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | **404** | Error response when trying to accept a non-existent friend request. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -145,49 +95,6 @@ Clear **all** notifications. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.NotificationsApi(api_client) - - try: - # Clear All Notifications - api_response = api_instance.clear_notifications() - pprint(api_response) - except ApiException as e: - print("Exception when calling NotificationsApi->clear_notifications: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -206,12 +113,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -240,7 +141,7 @@ This endpoint does not need any parameter. ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -251,7 +152,7 @@ This endpoint does not need any parameter. | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Successful response after clearing all notifications. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -264,50 +165,6 @@ Delete a notification. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.NotificationsApi(api_client) - notification_id = 'notification_id_example' # str | Must be a valid notification ID. - - try: - # Delete Notification - api_response = api_instance.delete_notification(notification_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling NotificationsApi->delete_notification: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -326,12 +183,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -364,7 +215,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -375,7 +226,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single Notifcation object. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -388,55 +239,6 @@ Retrieve all of the current user's notifications. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.NotificationsApi(api_client) - type = 'all' # str | Only send notifications of this type (can use `all` for all). This parameter no longer does anything, and is deprecated. (optional) -sent = True # bool | Return notifications sent by the user. Must be false or omitted. (optional) -hidden = True # bool | Whether to return hidden or non-hidden notifications. True only allowed on type `friendRequest`. (optional) -after = 'five_minutes_ago' # str | Only return notifications sent after this Date. Ignored if type is `friendRequest`. (optional) -n = 60 # int | The number of objects to return. (optional) (default to 60) -offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) - - try: - # List Notifications - api_response = api_instance.get_notifications(type=type, sent=sent, hidden=hidden, after=after, n=n, offset=offset) - pprint(api_response) - except ApiException as e: - print("Exception when calling NotificationsApi->get_notifications: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -455,12 +257,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -503,7 +299,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -514,7 +310,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of Notifcation objects. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -527,50 +323,6 @@ Mark a notification as seen. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.NotificationsApi(api_client) - notification_id = 'notification_id_example' # str | Must be a valid notification ID. - - try: - # Mark Notification As Read - api_response = api_instance.mark_notification_as_read(notification_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling NotificationsApi->mark_notification_as_read: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -589,12 +341,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -627,7 +373,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -638,7 +384,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single Notifcation object. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/PermissionsApi.md b/docs/PermissionsApi.md index 13b34b1e..d69cdce5 100644 --- a/docs/PermissionsApi.md +++ b/docs/PermissionsApi.md @@ -17,49 +17,6 @@ Returns a list of all permissions currently granted by the user. Permissions are ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.PermissionsApi(api_client) - - try: - # Get Assigned Permissions - api_response = api_instance.get_assigned_permissions() - pprint(api_response) - except ApiException as e: - print("Exception when calling PermissionsApi->get_assigned_permissions: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -78,12 +35,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -112,7 +63,7 @@ This endpoint does not need any parameter. ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -123,7 +74,7 @@ This endpoint does not need any parameter. | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of Permission objects. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -136,50 +87,6 @@ Returns a single permission. This endpoint is pretty useless, as it returns the ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.PermissionsApi(api_client) - permission_id = 'permission_id_example' # str | Must be a valid permission ID. - - try: - # Get Permission - api_response = api_instance.get_permission(permission_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling PermissionsApi->get_permission: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -198,12 +105,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -236,7 +137,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -247,7 +148,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single Permission object. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/PlayermoderationApi.md b/docs/PlayermoderationApi.md index 56825f97..90c26bf2 100644 --- a/docs/PlayermoderationApi.md +++ b/docs/PlayermoderationApi.md @@ -21,49 +21,6 @@ Clear All Player Moderations ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.PlayermoderationApi(api_client) - - try: - # Clear All Player Moderations - api_response = api_instance.clear_all_player_moderations() - pprint(api_response) - except ApiException as e: - print("Exception when calling PlayermoderationApi->clear_all_player_moderations: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -82,12 +39,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -116,7 +67,7 @@ This endpoint does not need any parameter. ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -127,7 +78,7 @@ This endpoint does not need any parameter. | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Success response after e.g. clearing all player moderations. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -140,50 +91,6 @@ Deletes a specific player moderation based on it's `pmod_` ID. The website uses ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.PlayermoderationApi(api_client) - player_moderation_id = 'player_moderation_id_example' # str | Must be a valid `pmod_` ID. - - try: - # Delete Player Moderation - api_response = api_instance.delete_player_moderation(player_moderation_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling PlayermoderationApi->delete_player_moderation: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -202,12 +109,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -240,7 +141,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -251,7 +152,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Success response after removing a PlayerModeration by ID. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | **403** | Error response when trying to delete someone else's player moderation. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -265,50 +166,6 @@ Returns a single Player Moderation. This returns the exact same amount of inform ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.PlayermoderationApi(api_client) - player_moderation_id = 'player_moderation_id_example' # str | Must be a valid `pmod_` ID. - - try: - # Get Player Moderation - api_response = api_instance.get_player_moderation(player_moderation_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling PlayermoderationApi->get_player_moderation: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -327,12 +184,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -365,7 +216,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -376,7 +227,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single PlayerModeration object. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | **404** | Error response when trying to show information about a non-existent player moderation. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -390,51 +241,6 @@ Returns a list of all player moderations made by **you**. This endpoint does no ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.PlayermoderationApi(api_client) - type = 'type_example' # str | Must be one of PlayerModerationType, except unblock. Unblocking simply removes a block. (optional) -target_user_id = 'target_user_id_example' # str | Must be valid UserID. (optional) - - try: - # Search Player Moderations - api_response = api_instance.get_player_moderations(type=type, target_user_id=target_user_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling PlayermoderationApi->get_player_moderations: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -453,12 +259,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -493,7 +293,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -504,7 +304,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of PlayerModeration objects. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -517,50 +317,6 @@ Moderate a user, e.g. unmute them or show their avatar. Please see the [Player ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.PlayermoderationApi(api_client) - moderate_user_request = vrchatapi.ModerateUserRequest() # ModerateUserRequest | (optional) - - try: - # Moderate User - api_response = api_instance.moderate_user(moderate_user_request=moderate_user_request) - pprint(api_response) - except ApiException as e: - print("Exception when calling PlayermoderationApi->moderate_user: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -579,12 +335,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -617,7 +367,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -628,7 +378,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single PlayerModeration object. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -641,50 +391,6 @@ Removes a player moderation previously added through `moderateUser`. E.g if you ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.PlayermoderationApi(api_client) - moderate_user_request = vrchatapi.ModerateUserRequest() # ModerateUserRequest | (optional) - - try: - # Unmoderate User - api_response = api_instance.unmoderate_user(moderate_user_request=moderate_user_request) - pprint(api_response) - except ApiException as e: - print("Exception when calling PlayermoderationApi->unmoderate_user: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -703,12 +409,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -741,7 +441,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -752,7 +452,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Success response after unmoderating a player moderation. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/SystemApi.md b/docs/SystemApi.md index 494ffea1..c094dddc 100644 --- a/docs/SystemApi.md +++ b/docs/SystemApi.md @@ -67,7 +67,7 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns the API's config. | * Set-Cookie -
| +**200** | Returns the API's config. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/UsersApi.md b/docs/UsersApi.md index d0443435..10b8a9f6 100644 --- a/docs/UsersApi.md +++ b/docs/UsersApi.md @@ -21,50 +21,6 @@ Get public user information about a specific user using their ID. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.UsersApi(api_client) - user_id = 'user_id_example' # str | Must be a valid user ID. - - try: - # Get User by ID - api_response = api_instance.get_user(user_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling UsersApi->get_user: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -83,12 +39,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -121,7 +71,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -132,7 +82,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single User object. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -145,50 +95,6 @@ Get User by Username ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.UsersApi(api_client) - username = 'username_example' # str | Username of the user - - try: - # Get User by Username - api_response = api_instance.get_user_by_name(username) - pprint(api_response) - except ApiException as e: - print("Exception when calling UsersApi->get_user_by_name: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -207,12 +113,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -245,7 +145,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -256,7 +156,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single User object. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -269,50 +169,6 @@ Returns a list of Groups the user has requested to be invited into. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.UsersApi(api_client) - user_id = 'user_id_example' # str | Must be a valid user ID. - - try: - # Get User Group Requests - api_response = api_instance.get_user_group_requests(user_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling UsersApi->get_user_group_requests: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -331,12 +187,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -369,7 +219,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -380,7 +230,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of Group objects. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -393,50 +243,6 @@ Get user's public groups ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.UsersApi(api_client) - user_id = 'user_id_example' # str | Must be a valid user ID. - - try: - # Get User Groups - api_response = api_instance.get_user_groups(user_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling UsersApi->get_user_groups: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -455,12 +261,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -493,7 +293,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -504,7 +304,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of Group objects. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -517,53 +317,6 @@ Search and list any users by text query ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.UsersApi(api_client) - search = 'search_example' # str | Searches by `displayName`. Will return empty array if search query is empty or missing. (optional) -developer_type = 'developer_type_example' # str | Active user by developer type, none for normal users and internal for moderators (optional) -n = 60 # int | The number of objects to return. (optional) (default to 60) -offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) - - try: - # Search All Users - api_response = api_instance.search_users(search=search, developer_type=developer_type, n=n, offset=offset) - pprint(api_response) - except ApiException as e: - print("Exception when calling UsersApi->search_users: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -582,12 +335,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -626,7 +373,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -638,7 +385,7 @@ Name | Type | Description | Notes |-------------|-------------|------------------| **200** | Returns a list of LimitedUser objects. | - | **400** | Error response when trying to search list of users with an invalid request. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -651,51 +398,6 @@ Update a users information such as the email and birthday. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.UsersApi(api_client) - user_id = 'user_id_example' # str | Must be a valid user ID. -update_user_request = vrchatapi.UpdateUserRequest() # UpdateUserRequest | (optional) - - try: - # Update User Info - api_response = api_instance.update_user(user_id, update_user_request=update_user_request) - pprint(api_response) - except ApiException as e: - print("Exception when calling UsersApi->update_user: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -714,12 +416,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -754,7 +450,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -765,7 +461,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single CurrentUser object. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/WorldsApi.md b/docs/WorldsApi.md index 26b600fd..72730421 100644 --- a/docs/WorldsApi.md +++ b/docs/WorldsApi.md @@ -79,7 +79,7 @@ No authorization required |-------------|-------------|------------------| **200** | Returns a single World object. | - | **400** | Error response when trying create a world without having the neccesary Trust rank yet. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -92,49 +92,6 @@ Delete a world. Notice a world is never fully \"deleted\", only its ReleaseStatu ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.WorldsApi(api_client) - world_id = 'world_id_example' # str | Must be a valid world ID. - - try: - # Delete World - api_instance.delete_world(world_id) - except ApiException as e: - print("Exception when calling WorldsApi->delete_world: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -153,12 +110,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -190,7 +141,7 @@ void (empty response body) ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -201,7 +152,7 @@ void (empty response body) | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | **404** | Error response when trying to show information about a non-existent world. Sometimes returns with `model <worldId> not found` instead of `World <worldId not found`. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -215,61 +166,6 @@ Search and list currently Active worlds by query filters. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.WorldsApi(api_client) - featured = True # bool | Filters on featured results. (optional) -sort = vrchatapi.SortOption() # SortOption | The sort order of the results. (optional) -n = 60 # int | The number of objects to return. (optional) (default to 60) -order = vrchatapi.OrderOption() # OrderOption | Result ordering (optional) -offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) -search = 'search_example' # str | Filters by world name. (optional) -tag = 'tag_example' # str | Tags to include (comma-separated). Any of the tags needs to be present. (optional) -notag = 'notag_example' # str | Tags to exclude (comma-separated). (optional) -release_status = vrchatapi.ReleaseStatus() # ReleaseStatus | Filter by ReleaseStatus. (optional) -max_unity_version = 'max_unity_version_example' # str | The maximum Unity version supported by the asset. (optional) -min_unity_version = 'min_unity_version_example' # str | The minimum Unity version supported by the asset. (optional) -platform = 'platform_example' # str | The platform the asset supports. (optional) - - try: - # List Active Worlds - api_response = api_instance.get_active_worlds(featured=featured, sort=sort, n=n, order=order, offset=offset, search=search, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform) - pprint(api_response) - except ApiException as e: - print("Exception when calling WorldsApi->get_active_worlds: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -288,12 +184,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -348,7 +238,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -359,7 +249,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of LimitedWorld objects. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -372,62 +262,6 @@ Search and list favorited worlds by query filters. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.WorldsApi(api_client) - featured = True # bool | Filters on featured results. (optional) -sort = vrchatapi.SortOption() # SortOption | The sort order of the results. (optional) -n = 60 # int | The number of objects to return. (optional) (default to 60) -order = vrchatapi.OrderOption() # OrderOption | Result ordering (optional) -offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) -search = 'search_example' # str | Filters by world name. (optional) -tag = 'tag_example' # str | Tags to include (comma-separated). Any of the tags needs to be present. (optional) -notag = 'notag_example' # str | Tags to exclude (comma-separated). (optional) -release_status = vrchatapi.ReleaseStatus() # ReleaseStatus | Filter by ReleaseStatus. (optional) -max_unity_version = 'max_unity_version_example' # str | The maximum Unity version supported by the asset. (optional) -min_unity_version = 'min_unity_version_example' # str | The minimum Unity version supported by the asset. (optional) -platform = 'platform_example' # str | The platform the asset supports. (optional) -user_id = 'user_id_example' # str | Target user to see information on, admin-only. (optional) - - try: - # List Favorited Worlds - api_response = api_instance.get_favorited_worlds(featured=featured, sort=sort, n=n, order=order, offset=offset, search=search, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform, user_id=user_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling WorldsApi->get_favorited_worlds: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -446,12 +280,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -508,7 +336,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -519,7 +347,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of LimitedWorld objects. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | **403** | Error response when trying to see favourited worlds of another user without sufficient admin permissions. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -533,62 +361,6 @@ Search and list recently visited worlds by query filters. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.WorldsApi(api_client) - featured = True # bool | Filters on featured results. (optional) -sort = vrchatapi.SortOption() # SortOption | The sort order of the results. (optional) -n = 60 # int | The number of objects to return. (optional) (default to 60) -order = vrchatapi.OrderOption() # OrderOption | Result ordering (optional) -offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) -search = 'search_example' # str | Filters by world name. (optional) -tag = 'tag_example' # str | Tags to include (comma-separated). Any of the tags needs to be present. (optional) -notag = 'notag_example' # str | Tags to exclude (comma-separated). (optional) -release_status = vrchatapi.ReleaseStatus() # ReleaseStatus | Filter by ReleaseStatus. (optional) -max_unity_version = 'max_unity_version_example' # str | The maximum Unity version supported by the asset. (optional) -min_unity_version = 'min_unity_version_example' # str | The minimum Unity version supported by the asset. (optional) -platform = 'platform_example' # str | The platform the asset supports. (optional) -user_id = 'user_id_example' # str | Target user to see information on, admin-only. (optional) - - try: - # List Recent Worlds - api_response = api_instance.get_recent_worlds(featured=featured, sort=sort, n=n, order=order, offset=offset, search=search, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform, user_id=user_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling WorldsApi->get_recent_worlds: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -607,12 +379,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -669,7 +435,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -680,7 +446,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of LimitedWorld objects. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | **403** | Error response when trying to see recently visited worlds of another user without sufficient admin permissions. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -694,7 +460,6 @@ Get information about a specific World. Works unauthenticated but when so will a ### Example -* Api Key Authentication (apiKeyCookie): ```python from __future__ import print_function import time @@ -707,19 +472,9 @@ configuration = vrchatapi.Configuration( host = "https://api.vrchat.cloud/api/1" ) -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' # Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: +with vrchatapi.ApiClient() as api_client: # Create an instance of the API class api_instance = vrchatapi.WorldsApi(api_client) world_id = 'world_id_example' # str | Must be a valid world ID. @@ -744,7 +499,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie) +No authorization required ### HTTP request headers @@ -768,7 +523,7 @@ Returns a worlds instance. ### Example -* Api Key Authentication (apiKeyCookie): +* Api Key Authentication (authCookie): ```python from __future__ import print_function import time @@ -786,12 +541,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -813,6 +562,43 @@ instance_id = 'instance_id_example' # str | Must be a valid instance ID. print("Exception when calling WorldsApi->get_world_instance: %s\n" % e) ``` +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **world_id** | **str**| Must be a valid world ID. | + **instance_id** | **str**| Must be a valid instance ID. | + +### Return type + +[**Instance**](Instance.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single Instance object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_world_metadata** +> WorldMetadata get_world_metadata(world_id) + +Get World Metadata + +Return a worlds custom metadata. This is currently believed to be unused. Metadata can be set with `updateWorld` and can be any arbitrary object. + +### Example + * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -831,138 +617,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.WorldsApi(api_client) - world_id = 'world_id_example' # str | Must be a valid world ID. -instance_id = 'instance_id_example' # str | Must be a valid instance ID. - - try: - # Get World Instance - api_response = api_instance.get_world_instance(world_id, instance_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling WorldsApi->get_world_instance: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **world_id** | **str**| Must be a valid world ID. | - **instance_id** | **str**| Must be a valid instance ID. | - -### Return type - -[**Instance**](Instance.md) - -### Authorization - -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Returns a single Instance object. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_world_metadata** -> WorldMetadata get_world_metadata(world_id) - -Get World Metadata - -Return a worlds custom metadata. This is currently believed to be unused. Metadata can be set with `updateWorld` and can be any arbitrary object. - -### Example - -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.WorldsApi(api_client) - world_id = 'world_id_example' # str | Must be a valid world ID. - - try: - # Get World Metadata - api_response = api_instance.get_world_metadata(world_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling WorldsApi->get_world_metadata: %s\n" % e) -``` - -* Api Key Authentication (authCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -995,7 +649,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -1019,50 +673,6 @@ Returns a worlds publish status. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.WorldsApi(api_client) - world_id = 'world_id_example' # str | Must be a valid world ID. - - try: - # Get World Publish Status - api_response = api_instance.get_world_publish_status(world_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling WorldsApi->get_world_publish_status: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -1081,12 +691,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -1119,7 +723,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -1130,7 +734,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single WorldPublishStatus object. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | **404** | Error response when trying to show information about a non-existent world. Sometimes returns with `model <worldId> not found` instead of `World <worldId not found`. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -1144,49 +748,6 @@ Publish a world. You can only publish one world per week. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.WorldsApi(api_client) - world_id = 'world_id_example' # str | Must be a valid world ID. - - try: - # Publish World - api_instance.publish_world(world_id) - except ApiException as e: - print("Exception when calling WorldsApi->publish_world: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -1205,12 +766,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -1242,7 +797,7 @@ void (empty response body) ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -1253,7 +808,7 @@ void (empty response body) | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | TODO | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | **404** | Error response when trying to show information about a non-existent world. Sometimes returns with `model <worldId> not found` instead of `World <worldId not found`. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -1267,63 +822,6 @@ Search and list any worlds by query filters. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.WorldsApi(api_client) - featured = True # bool | Filters on featured results. (optional) -sort = vrchatapi.SortOption() # SortOption | The sort order of the results. (optional) -user = 'user_example' # str | Set to `me` for searching own worlds. (optional) -user_id = 'user_id_example' # str | Filter by UserID. (optional) -n = 60 # int | The number of objects to return. (optional) (default to 60) -order = vrchatapi.OrderOption() # OrderOption | Result ordering (optional) -offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) -search = 'search_example' # str | Filters by world name. (optional) -tag = 'tag_example' # str | Tags to include (comma-separated). Any of the tags needs to be present. (optional) -notag = 'notag_example' # str | Tags to exclude (comma-separated). (optional) -release_status = vrchatapi.ReleaseStatus() # ReleaseStatus | Filter by ReleaseStatus. (optional) -max_unity_version = 'max_unity_version_example' # str | The maximum Unity version supported by the asset. (optional) -min_unity_version = 'min_unity_version_example' # str | The minimum Unity version supported by the asset. (optional) -platform = 'platform_example' # str | The platform the asset supports. (optional) - - try: - # Search All Worlds - api_response = api_instance.search_worlds(featured=featured, sort=sort, user=user, user_id=user_id, n=n, order=order, offset=offset, search=search, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform) - pprint(api_response) - except ApiException as e: - print("Exception when calling WorldsApi->search_worlds: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -1342,12 +840,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -1406,7 +898,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -1417,7 +909,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of LimitedWorld objects. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -1430,49 +922,6 @@ Unpublish a world. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.WorldsApi(api_client) - world_id = 'world_id_example' # str | Must be a valid world ID. - - try: - # Unpublish World - api_instance.unpublish_world(world_id) - except ApiException as e: - print("Exception when calling WorldsApi->unpublish_world: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -1491,12 +940,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -1528,7 +971,7 @@ void (empty response body) ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -1539,7 +982,7 @@ void (empty response body) | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | **404** | Error response when trying to show information about a non-existent world. Sometimes returns with `model <worldId> not found` instead of `World <worldId not found`. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -1553,51 +996,6 @@ Update information about a specific World. ### Example -* Api Key Authentication (apiKeyCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.WorldsApi(api_client) - world_id = 'world_id_example' # str | Must be a valid world ID. -update_world_request = vrchatapi.UpdateWorldRequest() # UpdateWorldRequest | (optional) - - try: - # Update World - api_response = api_instance.update_world(world_id, update_world_request=update_world_request) - pprint(api_response) - except ApiException as e: - print("Exception when calling WorldsApi->update_world: %s\n" % e) -``` - * Api Key Authentication (authCookie): ```python from __future__ import print_function @@ -1616,12 +1014,6 @@ configuration = vrchatapi.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure API key authorization: apiKeyCookie -configuration.api_key['apiKeyCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKeyCookie'] = 'Bearer' - # Configure API key authorization: authCookie configuration.api_key['authCookie'] = 'YOUR_API_KEY' @@ -1656,7 +1048,7 @@ Name | Type | Description | Notes ### Authorization -[apiKeyCookie](../README.md#apiKeyCookie), [authCookie](../README.md#authCookie) +[authCookie](../README.md#authCookie) ### HTTP request headers @@ -1667,7 +1059,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single World object. | - | -**401** | Error response due to missing apiKey or auth cookie. | - | +**401** | Error response due to missing auth cookie. | - | **404** | Error response when trying to show information about a non-existent world. Sometimes returns with `model <worldId> not found` instead of `World <worldId not found`. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/package-lock.json b/package-lock.json index 9671fc07..4c1d3f04 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,17 +5,39 @@ "packages": { "": { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.5.2" + "@openapitools/openapi-generator-cli": "^2.6.0" + } + }, + "node_modules/@lukeed/csprng": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@lukeed/csprng/-/csprng-1.1.0.tgz", + "integrity": "sha512-Z7C/xXCiGWsg0KuKsHTKJxbWhpI3Vs5GwLfOean7MGyVFGqdRgBbAjOCh6u4bbjPc/8MJ2pZmK/0DLdCbivLDA==", + "engines": { + "node": ">=8" + } + }, + "node_modules/@nestjs/axios": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/@nestjs/axios/-/axios-0.0.8.tgz", + "integrity": "sha512-oJyfR9/h9tVk776il0829xyj3b2e81yTu6HjPraxynwNtMNGqZBHHmAQL24yMB3tVbBM0RvG3eUXH8+pRCGwlg==", + "dependencies": { + "axios": "0.27.2" + }, + "peerDependencies": { + "@nestjs/common": "^7.0.0 || ^8.0.0", + "reflect-metadata": "^0.1.12", + "rxjs": "^6.0.0 || ^7.0.0" } }, "node_modules/@nestjs/common": { - "version": "8.4.4", - "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-8.4.4.tgz", - "integrity": "sha512-QHi7QcgH/5Jinz+SCfIZJkFHc6Cch1YsAEGFEhi6wSp6MILb0sJMQ1CX06e9tCOAjSlBwaJj4PH0eFCVau5v9Q==", + "version": "8.4.7", + "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-8.4.7.tgz", + "integrity": "sha512-m/YsbcBal+gA5CFrDpqXqsSfylo+DIQrkFY3qhVIltsYRfu8ct8J9pqsTO6OPf3mvqdOpFGrV5sBjoyAzOBvsw==", + "peer": true, "dependencies": { - "axios": "0.26.1", + "axios": "0.27.2", "iterare": "1.2.1", - "tslib": "2.3.1", + "tslib": "2.4.0", "uuid": "8.3.2" }, "funding": { @@ -41,44 +63,6 @@ } } }, - "node_modules/@nestjs/core": { - "version": "8.4.4", - "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-8.4.4.tgz", - "integrity": "sha512-Ef3yJPuzAttpNfehnGqIV5kHIL9SHptB5F4ERxoU7pT61H3xiYpZw6hSjx68cJO7cc6rm7/N+b4zeuJvFHtvBg==", - "hasInstallScript": true, - "dependencies": { - "@nuxtjs/opencollective": "0.3.2", - "fast-safe-stringify": "2.1.1", - "iterare": "1.2.1", - "object-hash": "3.0.0", - "path-to-regexp": "3.2.0", - "tslib": "2.3.1", - "uuid": "8.3.2" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/nest" - }, - "peerDependencies": { - "@nestjs/common": "^8.0.0", - "@nestjs/microservices": "^8.0.0", - "@nestjs/platform-express": "^8.0.0", - "@nestjs/websockets": "^8.0.0", - "reflect-metadata": "^0.1.12", - "rxjs": "^7.1.0" - }, - "peerDependenciesMeta": { - "@nestjs/microservices": { - "optional": true - }, - "@nestjs/platform-express": { - "optional": true - }, - "@nestjs/websockets": { - "optional": true - } - } - }, "node_modules/@nuxtjs/opencollective": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/@nuxtjs/opencollective/-/opencollective-0.3.2.tgz", @@ -97,25 +81,26 @@ } }, "node_modules/@openapitools/openapi-generator-cli": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.5.2.tgz", - "integrity": "sha512-FLgkjzpDiHVsH821db0VDSElDoA6TcspGyq3RD4zLBJaJhbSsRwr4u87sNoyuHKBg4OMJbZMT4iJxAhkosKrzw==", + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.6.0.tgz", + "integrity": "sha512-M/aOpR7G+Y1nMf+ofuar8pGszajgfhs1aSPSijkcr2tHTxKAI3sA3YYcOGbszxaNRKFyvOcDq+KP9pcJvKoCHg==", "hasInstallScript": true, "dependencies": { - "@nestjs/common": "8.4.4", - "@nestjs/core": "8.4.4", + "@nestjs/axios": "0.0.8", + "@nestjs/common": "9.3.11", + "@nestjs/core": "9.3.11", "@nuxtjs/opencollective": "0.3.2", "chalk": "4.1.2", "commander": "8.3.0", - "compare-versions": "4.1.3", + "compare-versions": "4.1.4", "concurrently": "6.5.1", "console.table": "0.10.0", - "fs-extra": "10.0.1", + "fs-extra": "10.1.0", "glob": "7.1.6", - "inquirer": "8.2.2", + "inquirer": "8.2.5", "lodash": "4.17.21", "reflect-metadata": "0.1.13", - "rxjs": "7.5.5", + "rxjs": "7.8.0", "tslib": "2.0.3" }, "bin": { @@ -129,6 +114,85 @@ "url": "https://opencollective.com/openapi_generator" } }, + "node_modules/@openapitools/openapi-generator-cli/node_modules/@nestjs/common": { + "version": "9.3.11", + "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-9.3.11.tgz", + "integrity": "sha512-IFZ2G/5UKWC2Uo7tJ4SxGed2+aiA+sJyWeWsGTogKVDhq90oxVBToh+uCDeI31HNUpqYGoWmkletfty42zUd8A==", + "dependencies": { + "iterare": "1.2.1", + "tslib": "2.5.0", + "uid": "2.0.1" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/nest" + }, + "peerDependencies": { + "cache-manager": "<=5", + "class-transformer": "*", + "class-validator": "*", + "reflect-metadata": "^0.1.12", + "rxjs": "^7.1.0" + }, + "peerDependenciesMeta": { + "cache-manager": { + "optional": true + }, + "class-transformer": { + "optional": true + }, + "class-validator": { + "optional": true + } + } + }, + "node_modules/@openapitools/openapi-generator-cli/node_modules/@nestjs/common/node_modules/tslib": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", + "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" + }, + "node_modules/@openapitools/openapi-generator-cli/node_modules/@nestjs/core": { + "version": "9.3.11", + "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-9.3.11.tgz", + "integrity": "sha512-CI27a2JFd5rvvbgkalWqsiwQNhcP4EAG5BUK8usjp29wVp1kx30ghfBT8FLqIgmkRVo65A0IcEnWsxeXMntkxQ==", + "hasInstallScript": true, + "dependencies": { + "@nuxtjs/opencollective": "0.3.2", + "fast-safe-stringify": "2.1.1", + "iterare": "1.2.1", + "path-to-regexp": "3.2.0", + "tslib": "2.5.0", + "uid": "2.0.1" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/nest" + }, + "peerDependencies": { + "@nestjs/common": "^9.0.0", + "@nestjs/microservices": "^9.0.0", + "@nestjs/platform-express": "^9.0.0", + "@nestjs/websockets": "^9.0.0", + "reflect-metadata": "^0.1.12", + "rxjs": "^7.1.0" + }, + "peerDependenciesMeta": { + "@nestjs/microservices": { + "optional": true + }, + "@nestjs/platform-express": { + "optional": true + }, + "@nestjs/websockets": { + "optional": true + } + } + }, + "node_modules/@openapitools/openapi-generator-cli/node_modules/@nestjs/core/node_modules/tslib": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", + "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" + }, "node_modules/@openapitools/openapi-generator-cli/node_modules/tslib": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz", @@ -170,12 +234,18 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" + }, "node_modules/axios": { - "version": "0.26.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.26.1.tgz", - "integrity": "sha512-fPwcX4EvnSHuInCMItEhAGnaSEXRBjtzh9fOtsE6E1G6p7vl7edEeZe11QHf18+6+9gR5PbKV/sGKNaD8YaMeA==", + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz", + "integrity": "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==", "dependencies": { - "follow-redirects": "^1.14.8" + "follow-redirects": "^1.14.9", + "form-data": "^4.0.0" } }, "node_modules/balanced-match": { @@ -276,9 +346,9 @@ } }, "node_modules/cli-spinners": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.6.1.tgz", - "integrity": "sha512-x/5fWmGMnbKQAaNwN+UZlV79qBLM9JFnJuJ03gIi5whrob0xV0ofNVHy9DhwGdsMJQc2OKv0oGmLzvaqvAVv+g==", + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.0.tgz", + "integrity": "sha512-4/aL9X3Wh0yiMQlE+eeRhWP6vclO3QRtw1JHKIT0FFUs5FjpFmESqtMvYZ0+lbzBw900b95mS0hohy+qn2VK/g==", "engines": { "node": ">=6" }, @@ -328,6 +398,17 @@ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, "node_modules/commander": { "version": "8.3.0", "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz", @@ -337,9 +418,9 @@ } }, "node_modules/compare-versions": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-4.1.3.tgz", - "integrity": "sha512-WQfnbDcrYnGr55UwbxKiQKASnTtNnaAWVi8jZyy8NTpVAXWACSne8lMD1iaIo9AiU6mnuLvSVshCzewVuWxHUg==" + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-4.1.4.tgz", + "integrity": "sha512-FemMreK9xNyL8gQevsdRMrvO4lFCkQP7qbuktn1q8ndcNk1+0mz7lgE7b/sNvbhVgY4w6tMN1FDp6aADjqw2rw==" }, "node_modules/concat-map": { "version": "0.0.1", @@ -433,6 +514,14 @@ "clone": "^1.0.2" } }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "engines": { + "node": ">=0.4.0" + } + }, "node_modules/easy-table": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/easy-table/-/easy-table-1.1.0.tgz", @@ -457,7 +546,7 @@ "node_modules/escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", "engines": { "node": ">=0.8.0" } @@ -495,9 +584,9 @@ } }, "node_modules/follow-redirects": { - "version": "1.14.9", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.9.tgz", - "integrity": "sha512-MQDfihBQYMcyy5dhRDJUHcw7lb2Pv/TuE6xP1vyraLukNDHKbDxDNaOE3NbCAdKQApno+GPRyo1YAp89yCjK4w==", + "version": "1.15.2", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", + "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==", "funding": [ { "type": "individual", @@ -513,10 +602,23 @@ } } }, + "node_modules/form-data": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, "node_modules/fs-extra": { - "version": "10.0.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.0.1.tgz", - "integrity": "sha512-NbdoVMZso2Lsrn/QwLXOy6rm0ufY2zEOKCDzJR/0kBsb0E6qed0P3iYK+Ath3BfvXEeu4JhEtXLgILx5psUfag==", + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", + "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", "dependencies": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", @@ -559,9 +661,9 @@ } }, "node_modules/graceful-fs": { - "version": "4.2.10", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", - "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==" + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==" }, "node_modules/has-flag": { "version": "4.0.0", @@ -616,9 +718,9 @@ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" }, "node_modules/inquirer": { - "version": "8.2.2", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.2.tgz", - "integrity": "sha512-pG7I/si6K/0X7p1qU+rfWnpTE1UIkTONN1wxtzh0d+dHXtT/JG6qBgLxoyHVsQa8cFABxAPh0pD6uUUHiAoaow==", + "version": "8.2.5", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.5.tgz", + "integrity": "sha512-QAgPDQMEgrDssk1XiwwHoOGYF9BAbUcc1+j+FhEvaOt8/cKRqyLn0U5qA6F74fGhTMGxf92pOvPBeh29jQJDTQ==", "dependencies": { "ansi-escapes": "^4.2.1", "chalk": "^4.1.1", @@ -633,7 +735,8 @@ "rxjs": "^7.5.5", "string-width": "^4.1.0", "strip-ansi": "^6.0.0", - "through": "^2.3.6" + "through": "^2.3.6", + "wrap-ansi": "^7.0.0" }, "engines": { "node": ">=12.0.0" @@ -705,6 +808,25 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, "node_modules/mimic-fn": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", @@ -730,9 +852,9 @@ "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==" }, "node_modules/node-fetch": { - "version": "2.6.7", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", - "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", + "version": "2.6.11", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.11.tgz", + "integrity": "sha512-4I6pdBY1EthSqDmJkiNk3JIT8cswwR9nfeW/cPdUagJYEQG7R95WRH74wpz7ma8Gh/9dI9FP+OU+0E4FvtA55w==", "dependencies": { "whatwg-url": "^5.0.0" }, @@ -748,14 +870,6 @@ } } }, - "node_modules/object-hash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", - "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==", - "engines": { - "node": ">= 6" - } - }, "node_modules/once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", @@ -803,7 +917,7 @@ "node_modules/os-tmpdir": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", - "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", + "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==", "engines": { "node": ">=0.10.0" } @@ -822,9 +936,9 @@ "integrity": "sha512-jczvQbCUS7XmS7o+y1aEO9OBVFeZBQ1MDSEqmO7xSoPgOPoowY/SxLpZ6Vh97/8qHZOteiCKb7gkG9gA2ZUxJA==" }, "node_modules/readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -868,9 +982,9 @@ } }, "node_modules/rxjs": { - "version": "7.5.5", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.5.5.tgz", - "integrity": "sha512-sy+H0pQofO95VDmFLzyaw9xNJU4KTRSwQIGM6+iG3SypAtCiLDzpeG8sJrNCWn2Up9km+KhkvTdbkrdy+yzZdw==", + "version": "7.8.0", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.0.tgz", + "integrity": "sha512-F2+gxDshqmIub1KdvZkaEfGDwLNpPvk9Fs6LD/MyQxNgMds/WH9OdDDXOmxUZpME+iSK3rQCctkL0DYyytUqMg==", "dependencies": { "tslib": "^2.1.0" } @@ -955,7 +1069,7 @@ "node_modules/through": { "version": "2.3.8", "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", - "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=" + "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==" }, "node_modules/tmp": { "version": "0.0.33", @@ -971,7 +1085,7 @@ "node_modules/tr46": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=" + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" }, "node_modules/tree-kill": { "version": "1.2.2", @@ -982,9 +1096,9 @@ } }, "node_modules/tslib": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", - "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==" + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" }, "node_modules/type-fest": { "version": "0.21.3", @@ -997,6 +1111,17 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/uid": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/uid/-/uid-2.0.1.tgz", + "integrity": "sha512-PF+1AnZgycpAIEmNtjxGBVmKbZAQguaa4pBUq6KNaGEcpzZ2klCNZLM34tsjp76maN00TttiiUf6zkIBpJQm2A==", + "dependencies": { + "@lukeed/csprng": "^1.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/universalify": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", @@ -1008,12 +1133,13 @@ "node_modules/util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" }, "node_modules/uuid": { "version": "8.3.2", "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "peer": true, "bin": { "uuid": "dist/bin/uuid" } @@ -1029,12 +1155,12 @@ "node_modules/webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=" + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" }, "node_modules/whatwg-url": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha1-lmRU6HZUYuN2RNNib2dCzotwll0=", + "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", "dependencies": { "tr46": "~0.0.3", "webidl-conversions": "^3.0.0" @@ -1096,28 +1222,28 @@ } }, "dependencies": { - "@nestjs/common": { - "version": "8.4.4", - "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-8.4.4.tgz", - "integrity": "sha512-QHi7QcgH/5Jinz+SCfIZJkFHc6Cch1YsAEGFEhi6wSp6MILb0sJMQ1CX06e9tCOAjSlBwaJj4PH0eFCVau5v9Q==", + "@lukeed/csprng": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@lukeed/csprng/-/csprng-1.1.0.tgz", + "integrity": "sha512-Z7C/xXCiGWsg0KuKsHTKJxbWhpI3Vs5GwLfOean7MGyVFGqdRgBbAjOCh6u4bbjPc/8MJ2pZmK/0DLdCbivLDA==" + }, + "@nestjs/axios": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/@nestjs/axios/-/axios-0.0.8.tgz", + "integrity": "sha512-oJyfR9/h9tVk776il0829xyj3b2e81yTu6HjPraxynwNtMNGqZBHHmAQL24yMB3tVbBM0RvG3eUXH8+pRCGwlg==", "requires": { - "axios": "0.26.1", - "iterare": "1.2.1", - "tslib": "2.3.1", - "uuid": "8.3.2" + "axios": "0.27.2" } }, - "@nestjs/core": { - "version": "8.4.4", - "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-8.4.4.tgz", - "integrity": "sha512-Ef3yJPuzAttpNfehnGqIV5kHIL9SHptB5F4ERxoU7pT61H3xiYpZw6hSjx68cJO7cc6rm7/N+b4zeuJvFHtvBg==", + "@nestjs/common": { + "version": "8.4.7", + "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-8.4.7.tgz", + "integrity": "sha512-m/YsbcBal+gA5CFrDpqXqsSfylo+DIQrkFY3qhVIltsYRfu8ct8J9pqsTO6OPf3mvqdOpFGrV5sBjoyAzOBvsw==", + "peer": true, "requires": { - "@nuxtjs/opencollective": "0.3.2", - "fast-safe-stringify": "2.1.1", + "axios": "0.27.2", "iterare": "1.2.1", - "object-hash": "3.0.0", - "path-to-regexp": "3.2.0", - "tslib": "2.3.1", + "tslib": "2.4.0", "uuid": "8.3.2" } }, @@ -1132,27 +1258,65 @@ } }, "@openapitools/openapi-generator-cli": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.5.2.tgz", - "integrity": "sha512-FLgkjzpDiHVsH821db0VDSElDoA6TcspGyq3RD4zLBJaJhbSsRwr4u87sNoyuHKBg4OMJbZMT4iJxAhkosKrzw==", + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.6.0.tgz", + "integrity": "sha512-M/aOpR7G+Y1nMf+ofuar8pGszajgfhs1aSPSijkcr2tHTxKAI3sA3YYcOGbszxaNRKFyvOcDq+KP9pcJvKoCHg==", "requires": { - "@nestjs/common": "8.4.4", - "@nestjs/core": "8.4.4", + "@nestjs/axios": "0.0.8", + "@nestjs/common": "9.3.11", + "@nestjs/core": "9.3.11", "@nuxtjs/opencollective": "0.3.2", "chalk": "4.1.2", "commander": "8.3.0", - "compare-versions": "4.1.3", + "compare-versions": "4.1.4", "concurrently": "6.5.1", "console.table": "0.10.0", - "fs-extra": "10.0.1", + "fs-extra": "10.1.0", "glob": "7.1.6", - "inquirer": "8.2.2", + "inquirer": "8.2.5", "lodash": "4.17.21", "reflect-metadata": "0.1.13", - "rxjs": "7.5.5", + "rxjs": "7.8.0", "tslib": "2.0.3" }, "dependencies": { + "@nestjs/common": { + "version": "9.3.11", + "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-9.3.11.tgz", + "integrity": "sha512-IFZ2G/5UKWC2Uo7tJ4SxGed2+aiA+sJyWeWsGTogKVDhq90oxVBToh+uCDeI31HNUpqYGoWmkletfty42zUd8A==", + "requires": { + "iterare": "1.2.1", + "tslib": "2.5.0", + "uid": "2.0.1" + }, + "dependencies": { + "tslib": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", + "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" + } + } + }, + "@nestjs/core": { + "version": "9.3.11", + "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-9.3.11.tgz", + "integrity": "sha512-CI27a2JFd5rvvbgkalWqsiwQNhcP4EAG5BUK8usjp29wVp1kx30ghfBT8FLqIgmkRVo65A0IcEnWsxeXMntkxQ==", + "requires": { + "@nuxtjs/opencollective": "0.3.2", + "fast-safe-stringify": "2.1.1", + "iterare": "1.2.1", + "path-to-regexp": "3.2.0", + "tslib": "2.5.0", + "uid": "2.0.1" + }, + "dependencies": { + "tslib": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", + "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" + } + } + }, "tslib": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz", @@ -1181,12 +1345,18 @@ "color-convert": "^2.0.1" } }, + "asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" + }, "axios": { - "version": "0.26.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.26.1.tgz", - "integrity": "sha512-fPwcX4EvnSHuInCMItEhAGnaSEXRBjtzh9fOtsE6E1G6p7vl7edEeZe11QHf18+6+9gR5PbKV/sGKNaD8YaMeA==", + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz", + "integrity": "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==", "requires": { - "follow-redirects": "^1.14.8" + "follow-redirects": "^1.14.9", + "form-data": "^4.0.0" } }, "balanced-match": { @@ -1250,9 +1420,9 @@ } }, "cli-spinners": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.6.1.tgz", - "integrity": "sha512-x/5fWmGMnbKQAaNwN+UZlV79qBLM9JFnJuJ03gIi5whrob0xV0ofNVHy9DhwGdsMJQc2OKv0oGmLzvaqvAVv+g==" + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.0.tgz", + "integrity": "sha512-4/aL9X3Wh0yiMQlE+eeRhWP6vclO3QRtw1JHKIT0FFUs5FjpFmESqtMvYZ0+lbzBw900b95mS0hohy+qn2VK/g==" }, "cli-width": { "version": "3.0.0", @@ -1287,15 +1457,23 @@ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, + "combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "requires": { + "delayed-stream": "~1.0.0" + } + }, "commander": { "version": "8.3.0", "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz", "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==" }, "compare-versions": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-4.1.3.tgz", - "integrity": "sha512-WQfnbDcrYnGr55UwbxKiQKASnTtNnaAWVi8jZyy8NTpVAXWACSne8lMD1iaIo9AiU6mnuLvSVshCzewVuWxHUg==" + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-4.1.4.tgz", + "integrity": "sha512-FemMreK9xNyL8gQevsdRMrvO4lFCkQP7qbuktn1q8ndcNk1+0mz7lgE7b/sNvbhVgY4w6tMN1FDp6aADjqw2rw==" }, "concat-map": { "version": "0.0.1", @@ -1366,6 +1544,11 @@ "clone": "^1.0.2" } }, + "delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==" + }, "easy-table": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/easy-table/-/easy-table-1.1.0.tgz", @@ -1387,7 +1570,7 @@ "escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==" }, "external-editor": { "version": "3.1.0", @@ -1413,14 +1596,24 @@ } }, "follow-redirects": { - "version": "1.14.9", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.9.tgz", - "integrity": "sha512-MQDfihBQYMcyy5dhRDJUHcw7lb2Pv/TuE6xP1vyraLukNDHKbDxDNaOE3NbCAdKQApno+GPRyo1YAp89yCjK4w==" + "version": "1.15.2", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", + "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==" + }, + "form-data": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + } }, "fs-extra": { - "version": "10.0.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.0.1.tgz", - "integrity": "sha512-NbdoVMZso2Lsrn/QwLXOy6rm0ufY2zEOKCDzJR/0kBsb0E6qed0P3iYK+Ath3BfvXEeu4JhEtXLgILx5psUfag==", + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", + "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", "requires": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", @@ -1451,9 +1644,9 @@ } }, "graceful-fs": { - "version": "4.2.10", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", - "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==" + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==" }, "has-flag": { "version": "4.0.0", @@ -1488,9 +1681,9 @@ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" }, "inquirer": { - "version": "8.2.2", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.2.tgz", - "integrity": "sha512-pG7I/si6K/0X7p1qU+rfWnpTE1UIkTONN1wxtzh0d+dHXtT/JG6qBgLxoyHVsQa8cFABxAPh0pD6uUUHiAoaow==", + "version": "8.2.5", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.5.tgz", + "integrity": "sha512-QAgPDQMEgrDssk1XiwwHoOGYF9BAbUcc1+j+FhEvaOt8/cKRqyLn0U5qA6F74fGhTMGxf92pOvPBeh29jQJDTQ==", "requires": { "ansi-escapes": "^4.2.1", "chalk": "^4.1.1", @@ -1505,7 +1698,8 @@ "rxjs": "^7.5.5", "string-width": "^4.1.0", "strip-ansi": "^6.0.0", - "through": "^2.3.6" + "through": "^2.3.6", + "wrap-ansi": "^7.0.0" } }, "is-fullwidth-code-point": { @@ -1551,6 +1745,19 @@ "is-unicode-supported": "^0.1.0" } }, + "mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==" + }, + "mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "requires": { + "mime-db": "1.52.0" + } + }, "mimic-fn": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", @@ -1570,18 +1777,13 @@ "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==" }, "node-fetch": { - "version": "2.6.7", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", - "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", + "version": "2.6.11", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.11.tgz", + "integrity": "sha512-4I6pdBY1EthSqDmJkiNk3JIT8cswwR9nfeW/cPdUagJYEQG7R95WRH74wpz7ma8Gh/9dI9FP+OU+0E4FvtA55w==", "requires": { "whatwg-url": "^5.0.0" } }, - "object-hash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", - "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==" - }, "once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", @@ -1617,7 +1819,7 @@ "os-tmpdir": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", - "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=" + "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==" }, "path-is-absolute": { "version": "1.0.1", @@ -1630,9 +1832,9 @@ "integrity": "sha512-jczvQbCUS7XmS7o+y1aEO9OBVFeZBQ1MDSEqmO7xSoPgOPoowY/SxLpZ6Vh97/8qHZOteiCKb7gkG9gA2ZUxJA==" }, "readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", "requires": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -1664,9 +1866,9 @@ "integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==" }, "rxjs": { - "version": "7.5.5", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.5.5.tgz", - "integrity": "sha512-sy+H0pQofO95VDmFLzyaw9xNJU4KTRSwQIGM6+iG3SypAtCiLDzpeG8sJrNCWn2Up9km+KhkvTdbkrdy+yzZdw==", + "version": "7.8.0", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.0.tgz", + "integrity": "sha512-F2+gxDshqmIub1KdvZkaEfGDwLNpPvk9Fs6LD/MyQxNgMds/WH9OdDDXOmxUZpME+iSK3rQCctkL0DYyytUqMg==", "requires": { "tslib": "^2.1.0" } @@ -1728,7 +1930,7 @@ "through": { "version": "2.3.8", "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", - "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=" + "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==" }, "tmp": { "version": "0.0.33", @@ -1741,7 +1943,7 @@ "tr46": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=" + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" }, "tree-kill": { "version": "1.2.2", @@ -1749,15 +1951,23 @@ "integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==" }, "tslib": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", - "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==" + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" }, "type-fest": { "version": "0.21.3", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==" }, + "uid": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/uid/-/uid-2.0.1.tgz", + "integrity": "sha512-PF+1AnZgycpAIEmNtjxGBVmKbZAQguaa4pBUq6KNaGEcpzZ2klCNZLM34tsjp76maN00TttiiUf6zkIBpJQm2A==", + "requires": { + "@lukeed/csprng": "^1.0.0" + } + }, "universalify": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", @@ -1766,12 +1976,13 @@ "util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" }, "uuid": { "version": "8.3.2", "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==" + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "peer": true }, "wcwidth": { "version": "1.0.1", @@ -1784,12 +1995,12 @@ "webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=" + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" }, "whatwg-url": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha1-lmRU6HZUYuN2RNNib2dCzotwll0=", + "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", "requires": { "tr46": "~0.0.3", "webidl-conversions": "^3.0.0" diff --git a/package.json b/package.json index 65806327..aec44138 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.5.2" + "@openapitools/openapi-generator-cli": "^2.6.0" } } diff --git a/setup.py b/setup.py index 2900d328..44f157d1 100644 --- a/setup.py +++ b/setup.py @@ -37,6 +37,7 @@ from vrchatapi.api import authentication_api from vrchatapi.exceptions import UnauthorizedException from vrchatapi.models.two_factor_auth_code import TwoFactorAuthCode +from vrchatapi.models.two_factor_email_code import TwoFactorEmailCode configuration = vrchatapi.Configuration( username = 'username', @@ -56,9 +57,13 @@ # Step 3. Calling getCurrentUser on Authentication API logs you in if the user isn't already logged in. current_user = auth_api.get_current_user() except UnauthorizedException as e: - if UnauthorizedException.status == 200: - # Step 3.5. Calling verify2fa if the account has 2FA enabled - auth_api.verify2_fa(two_factor_auth_code=TwoFactorAuthCode(input("2FA Code: "))) + if e.status == 200: + if "Email 2 Factor Authentication" in e.reason: + # Step 3.5. Calling email verify2fa if the account has 2FA disabled + auth_api.verify2_fa_email_code(two_factor_email_code=TwoFactorEmailCode(input("Email 2FA Code: "))) + elif "2 Factor Authentication" in e.reason: + # Step 3.5. Calling verify2fa if the account has 2FA enabled + auth_api.verify2_fa(two_factor_auth_code=TwoFactorAuthCode(input("2FA Code: "))) current_user = auth_api.get_current_user() else: print("Exception when calling API: %s\n", e) @@ -76,8 +81,8 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -85,7 +90,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.11.1" +VERSION = "1.12.0" # To install the library, run the following # # python setup.py install @@ -100,7 +105,7 @@ version=VERSION, description="VRChat API Library for Python", author="Unofficial VRChat API Documentation Project", - author_email="me@ariesclark.com", + author_email="vrchatapi.lpv0t@aries.fyi", url="", keywords=["vrchat", "vrchatapi", "vrc"], install_requires=REQUIRES, @@ -143,6 +148,7 @@ from vrchatapi.api import authentication_api from vrchatapi.exceptions import UnauthorizedException from vrchatapi.models.two_factor_auth_code import TwoFactorAuthCode +from vrchatapi.models.two_factor_email_code import TwoFactorEmailCode configuration = vrchatapi.Configuration( username = 'username', @@ -162,9 +168,13 @@ # Step 3. Calling getCurrentUser on Authentication API logs you in if the user isn't already logged in. current_user = auth_api.get_current_user() except UnauthorizedException as e: - if UnauthorizedException.status == 200: - # Step 3.5. Calling verify2fa if the account has 2FA enabled - auth_api.verify2_fa(two_factor_auth_code=TwoFactorAuthCode(input("2FA Code: "))) + if e.status == 200: + if "Email 2 Factor Authentication" in e.reason: + # Step 3.5. Calling email verify2fa if the account has 2FA disabled + auth_api.verify2_fa_email_code(two_factor_email_code=TwoFactorEmailCode(input("Email 2FA Code: "))) + elif "2 Factor Authentication" in e.reason: + # Step 3.5. Calling verify2fa if the account has 2FA enabled + auth_api.verify2_fa(two_factor_auth_code=TwoFactorAuthCode(input("2FA Code: "))) current_user = auth_api.get_current_user() else: print("Exception when calling API: %s\n", e) diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 7a855a3b..d496b985 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,8 +6,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index e4744fb1..1350c339 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -168,7 +168,7 @@ def check_user_exists_with_http_info(self, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie'] # noqa: E501 + auth_settings = [] # noqa: E501 response_types_map = { 200: "UserExists", @@ -306,7 +306,7 @@ def delete_user_with_http_info(self, user_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "CurrentUser", diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index 5bb6720f..6a81f2e6 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -155,7 +155,7 @@ def create_avatar_with_http_info(self, **kwargs): # noqa: E501 header_params['Content-Type'] = content_types_list # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "Avatar", @@ -293,7 +293,7 @@ def delete_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "Avatar", @@ -432,7 +432,7 @@ def get_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "Avatar", @@ -658,7 +658,7 @@ def get_favorited_avatars_with_http_info(self, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "list[Avatar]", @@ -797,7 +797,7 @@ def get_own_avatar_with_http_info(self, user_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "Avatar", @@ -1023,7 +1023,7 @@ def search_avatars_with_http_info(self, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "list[Avatar]", @@ -1161,7 +1161,7 @@ def select_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "CurrentUser", @@ -1300,7 +1300,7 @@ def select_fallback_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "CurrentUser", @@ -1455,7 +1455,7 @@ def update_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 header_params['Content-Type'] = content_types_list # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "Avatar", diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index ba3f868e..5e1c84a9 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -140,7 +140,7 @@ def get_current_subscriptions_with_http_info(self, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "list[UserSubscription]", @@ -278,7 +278,7 @@ def get_license_group_with_http_info(self, license_group_id, **kwargs): # noqa: ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "LicenseGroup", @@ -416,7 +416,7 @@ def get_steam_transaction_with_http_info(self, transaction_id, **kwargs): # noq ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "Transaction", @@ -544,7 +544,7 @@ def get_steam_transactions_with_http_info(self, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "list[Transaction]", @@ -672,7 +672,7 @@ def get_subscriptions_with_http_info(self, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "list[Subscription]", diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index 34811622..b0bea504 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -155,7 +155,7 @@ def add_favorite_with_http_info(self, **kwargs): # noqa: E501 header_params['Content-Type'] = content_types_list # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "Favorite", @@ -314,7 +314,7 @@ def clear_favorite_group_with_http_info(self, favorite_group_type, favorite_grou ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "Success", @@ -451,7 +451,7 @@ def get_favorite_with_http_info(self, favorite_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "Favorite", @@ -610,7 +610,7 @@ def get_favorite_group_with_http_info(self, favorite_group_type, favorite_group_ ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "FavoriteGroup", @@ -764,7 +764,7 @@ def get_favorite_groups_with_http_info(self, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "list[FavoriteGroup]", @@ -926,7 +926,7 @@ def get_favorites_with_http_info(self, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "list[Favorite]", @@ -1064,7 +1064,7 @@ def remove_favorite_with_http_info(self, favorite_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "Success", @@ -1234,7 +1234,7 @@ def update_favorite_group_with_http_info(self, favorite_group_type, favorite_gro header_params['Content-Type'] = content_types_list # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = {} diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index 1c02996c..2107680d 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -155,7 +155,7 @@ def create_file_with_http_info(self, **kwargs): # noqa: E501 header_params['Content-Type'] = content_types_list # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "File", @@ -309,7 +309,7 @@ def create_file_version_with_http_info(self, file_id, **kwargs): # noqa: E501 header_params['Content-Type'] = content_types_list # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "File", @@ -448,7 +448,7 @@ def delete_file_with_http_info(self, file_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "Success", @@ -600,7 +600,7 @@ def delete_file_version_with_http_info(self, file_id, version_id, **kwargs): # ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "File", @@ -749,7 +749,7 @@ def download_file_version_with_http_info(self, file_id, version_id, **kwargs): body_params = None # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = {} @@ -923,7 +923,7 @@ def finish_file_data_upload_with_http_info(self, file_id, version_id, file_type, header_params['Content-Type'] = content_types_list # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "File", @@ -1062,7 +1062,7 @@ def get_file_with_http_info(self, file_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "File", @@ -1224,7 +1224,7 @@ def get_file_data_upload_status_with_http_info(self, file_id, version_id, file_t ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "FileVersionUploadStatus", @@ -1388,7 +1388,7 @@ def get_files_with_http_info(self, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "list[File]", @@ -1558,7 +1558,7 @@ def start_file_data_upload_with_http_info(self, file_id, version_id, file_type, ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "FileUploadURL", diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index adcc0963..0c027d70 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -150,7 +150,7 @@ def delete_friend_request_with_http_info(self, user_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "Success", @@ -289,7 +289,7 @@ def friend_with_http_info(self, user_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "Notification", @@ -428,7 +428,7 @@ def get_friend_status_with_http_info(self, user_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "FriendStatus", @@ -583,7 +583,7 @@ def get_friends_with_http_info(self, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "list[LimitedUser]", @@ -721,7 +721,7 @@ def unfriend_with_http_info(self, user_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "Success", diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index f7cc3dfb..48215e19 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -179,7 +179,7 @@ def add_group_gallery_image_with_http_info(self, group_id, group_gallery_id, **k header_params['Content-Type'] = content_types_list # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "GroupGalleryImage", @@ -342,7 +342,7 @@ def add_group_member_role_with_http_info(self, group_id, user_id, group_role_id, ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "list[str]", @@ -498,7 +498,7 @@ def ban_group_member_with_http_info(self, group_id, **kwargs): # noqa: E501 header_params['Content-Type'] = content_types_list # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "GroupMember", @@ -639,7 +639,7 @@ def cancel_group_request_with_http_info(self, group_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = {} @@ -779,7 +779,7 @@ def create_group_with_http_info(self, **kwargs): # noqa: E501 header_params['Content-Type'] = content_types_list # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "Group", @@ -934,7 +934,7 @@ def create_group_announcement_with_http_info(self, group_id, **kwargs): # noqa: header_params['Content-Type'] = content_types_list # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "GroupAnnouncement", @@ -1090,7 +1090,7 @@ def create_group_gallery_with_http_info(self, group_id, **kwargs): # noqa: E501 header_params['Content-Type'] = content_types_list # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "GroupGallery", @@ -1246,7 +1246,7 @@ def create_group_invite_with_http_info(self, group_id, **kwargs): # noqa: E501 header_params['Content-Type'] = content_types_list # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = {} @@ -1398,7 +1398,7 @@ def create_group_role_with_http_info(self, group_id, **kwargs): # noqa: E501 header_params['Content-Type'] = content_types_list # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "GroupRole", @@ -1539,7 +1539,7 @@ def delete_group_with_http_info(self, group_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "Success", @@ -1680,7 +1680,7 @@ def delete_group_announcement_with_http_info(self, group_id, **kwargs): # noqa: ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "Success", @@ -1833,7 +1833,7 @@ def delete_group_gallery_with_http_info(self, group_id, group_gallery_id, **kwar ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "Success", @@ -1998,7 +1998,7 @@ def delete_group_gallery_image_with_http_info(self, group_id, group_gallery_id, ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "Success", @@ -2150,7 +2150,7 @@ def delete_group_invite_with_http_info(self, group_id, user_id, **kwargs): # no ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = {} @@ -2299,7 +2299,7 @@ def delete_group_role_with_http_info(self, group_id, group_role_id, **kwargs): ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "list[GroupRole]", @@ -2447,7 +2447,7 @@ def get_group_with_http_info(self, group_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "Group", @@ -2588,7 +2588,7 @@ def get_group_announcements_with_http_info(self, group_id, **kwargs): # noqa: E ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "GroupAnnouncement", @@ -2763,7 +2763,7 @@ def get_group_audit_logs_with_http_info(self, group_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "PaginatedGroupAuditLogEntryList", @@ -2924,7 +2924,7 @@ def get_group_bans_with_http_info(self, group_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "list[GroupMember]", @@ -3104,7 +3104,7 @@ def get_group_gallery_images_with_http_info(self, group_id, group_gallery_id, ** ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "list[GroupGalleryImage]", @@ -3245,7 +3245,7 @@ def get_group_invites_with_http_info(self, group_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "list[GroupMember]", @@ -3397,7 +3397,7 @@ def get_group_member_with_http_info(self, group_id, user_id, **kwargs): # noqa: ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "GroupLimitedMember", @@ -3558,7 +3558,7 @@ def get_group_members_with_http_info(self, group_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "list[GroupMember]", @@ -3700,7 +3700,7 @@ def get_group_permissions_with_http_info(self, group_id, **kwargs): # noqa: E50 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "list[GroupPermission]", @@ -3842,7 +3842,7 @@ def get_group_requests_with_http_info(self, group_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "list[GroupMember]", @@ -3983,7 +3983,7 @@ def get_group_roles_with_http_info(self, group_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "list[GroupRole]", @@ -4124,7 +4124,7 @@ def join_group_with_http_info(self, group_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "GroupMember", @@ -4276,7 +4276,7 @@ def kick_group_member_with_http_info(self, group_id, user_id, **kwargs): # noqa ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = {} @@ -4413,7 +4413,7 @@ def leave_group_with_http_info(self, group_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = {} @@ -4572,7 +4572,7 @@ def remove_group_member_role_with_http_info(self, group_id, user_id, group_role_ ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "list[str]", @@ -4738,7 +4738,7 @@ def respond_group_join_request_with_http_info(self, group_id, user_id, **kwargs) header_params['Content-Type'] = content_types_list # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = {} @@ -4885,7 +4885,7 @@ def unban_group_member_with_http_info(self, group_id, user_id, **kwargs): # noq ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "GroupMember", @@ -5041,7 +5041,7 @@ def update_group_with_http_info(self, group_id, **kwargs): # noqa: E501 header_params['Content-Type'] = content_types_list # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "Group", @@ -5209,7 +5209,7 @@ def update_group_gallery_with_http_info(self, group_id, group_gallery_id, **kwar header_params['Content-Type'] = content_types_list # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "GroupGallery", @@ -5375,7 +5375,7 @@ def update_group_member_with_http_info(self, group_id, user_id, **kwargs): # no header_params['Content-Type'] = content_types_list # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "GroupLimitedMember", @@ -5543,7 +5543,7 @@ def update_group_role_with_http_info(self, group_id, group_role_id, **kwargs): header_params['Content-Type'] = content_types_list # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "list[GroupRole]", diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 8a0523ec..8917c3ce 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -160,7 +160,7 @@ def get_instance_with_http_info(self, world_id, instance_id, **kwargs): # noqa: ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "Instance", @@ -298,7 +298,7 @@ def get_instance_by_short_name_with_http_info(self, short_name, **kwargs): # no ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "Instance", @@ -447,7 +447,7 @@ def get_short_name_with_http_info(self, world_id, instance_id, **kwargs): # noq ['text/plain', 'application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "InstanceShortNameResponse", @@ -595,7 +595,7 @@ def send_self_invite_with_http_info(self, world_id, instance_id, **kwargs): # n ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "Success", diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index 4e3aa53e..3f211d62 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -174,7 +174,7 @@ def get_invite_message_with_http_info(self, user_id, message_type, slot, **kwarg ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "InviteMessage", @@ -324,7 +324,7 @@ def get_invite_messages_with_http_info(self, user_id, message_type, **kwargs): ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "list[InviteMessage]", @@ -473,7 +473,7 @@ def invite_myself_to_with_http_info(self, world_id, instance_id, **kwargs): # n ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "SentNotification", @@ -627,7 +627,7 @@ def invite_user_with_http_info(self, user_id, **kwargs): # noqa: E501 header_params['Content-Type'] = content_types_list # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "SentNotification", @@ -780,7 +780,7 @@ def request_invite_with_http_info(self, user_id, **kwargs): # noqa: E501 header_params['Content-Type'] = content_types_list # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "Notification", @@ -942,7 +942,7 @@ def reset_invite_message_with_http_info(self, user_id, message_type, slot, **kwa ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "list[InviteMessage]", @@ -1098,7 +1098,7 @@ def respond_invite_with_http_info(self, notification_id, **kwargs): # noqa: E50 header_params['Content-Type'] = content_types_list # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "Notification", @@ -1275,7 +1275,7 @@ def update_invite_message_with_http_info(self, user_id, message_type, slot, **kw header_params['Content-Type'] = content_types_list # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "list[InviteMessage]", diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index e528db60..64e2f8c9 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -150,7 +150,7 @@ def accept_friend_request_with_http_info(self, notification_id, **kwargs): # no ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "Success", @@ -279,7 +279,7 @@ def clear_notifications_with_http_info(self, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "Success", @@ -417,7 +417,7 @@ def delete_notification_with_http_info(self, notification_id, **kwargs): # noqa ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "Notification", @@ -593,7 +593,7 @@ def get_notifications_with_http_info(self, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "list[Notification]", @@ -731,7 +731,7 @@ def mark_notification_as_read_with_http_info(self, notification_id, **kwargs): ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "Notification", diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index 3b4ac7cf..b06a056c 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -140,7 +140,7 @@ def get_assigned_permissions_with_http_info(self, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "list[Permission]", @@ -278,7 +278,7 @@ def get_permission_with_http_info(self, permission_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "Permission", diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index 1365f7ab..00e2f03d 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -140,7 +140,7 @@ def clear_all_player_moderations_with_http_info(self, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "Success", @@ -278,7 +278,7 @@ def delete_player_moderation_with_http_info(self, player_moderation_id, **kwargs ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "Success", @@ -417,7 +417,7 @@ def get_player_moderation_with_http_info(self, player_moderation_id, **kwargs): ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "PlayerModeration", @@ -560,7 +560,7 @@ def get_player_moderations_with_http_info(self, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "list[PlayerModeration]", @@ -703,7 +703,7 @@ def moderate_user_with_http_info(self, **kwargs): # noqa: E501 header_params['Content-Type'] = content_types_list # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "PlayerModeration", @@ -846,7 +846,7 @@ def unmoderate_user_with_http_info(self, **kwargs): # noqa: E501 header_params['Content-Type'] = content_types_list # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "Success", diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index e72fd072..abbae552 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index 10b05d14..b114a5b8 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -150,7 +150,7 @@ def get_user_with_http_info(self, user_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "User", @@ -288,7 +288,7 @@ def get_user_by_name_with_http_info(self, username, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "User", @@ -426,7 +426,7 @@ def get_user_group_requests_with_http_info(self, user_id, **kwargs): # noqa: E5 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "list[Group]", @@ -564,7 +564,7 @@ def get_user_groups_with_http_info(self, user_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "list[Group]", @@ -729,7 +729,7 @@ def search_users_with_http_info(self, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "list[LimitedUser]", @@ -883,7 +883,7 @@ def update_user_with_http_info(self, user_id, **kwargs): # noqa: E501 header_params['Content-Type'] = content_types_list # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "CurrentUser", diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index cc53be60..4f2934ed 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -294,7 +294,7 @@ def delete_world_with_http_info(self, world_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = {} @@ -509,7 +509,7 @@ def get_active_worlds_with_http_info(self, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "list[LimitedWorld]", @@ -734,7 +734,7 @@ def get_favorited_worlds_with_http_info(self, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "list[LimitedWorld]", @@ -960,7 +960,7 @@ def get_recent_worlds_with_http_info(self, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "list[LimitedWorld]", @@ -1099,7 +1099,7 @@ def get_world_with_http_info(self, world_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie'] # noqa: E501 + auth_settings = [] # noqa: E501 response_types_map = { 200: "World", @@ -1247,7 +1247,7 @@ def get_world_instance_with_http_info(self, world_id, instance_id, **kwargs): # ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "Instance", @@ -1385,7 +1385,7 @@ def get_world_metadata_with_http_info(self, world_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "WorldMetadata", @@ -1523,7 +1523,7 @@ def get_world_publish_status_with_http_info(self, world_id, **kwargs): # noqa: ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "WorldPublishStatus", @@ -1662,7 +1662,7 @@ def publish_world_with_http_info(self, world_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = {} @@ -1891,7 +1891,7 @@ def search_worlds_with_http_info(self, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "list[LimitedWorld]", @@ -2029,7 +2029,7 @@ def unpublish_world_with_http_info(self, world_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = {} @@ -2179,7 +2179,7 @@ def update_world_with_http_info(self, world_id, **kwargs): # noqa: E501 header_params['Content-Type'] = content_types_list # Authentication setting - auth_settings = ['apiKeyCookie', 'authCookie'] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "World", diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index 376feb49..401c8944 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,8 +3,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index 09cac11b..90961759 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -406,24 +406,6 @@ def auth_settings(self): :return: The Auth Settings information dict. """ auth = {} - if 'apiKeyCookie' in self.api_key: - auth['apiKeyCookie'] = { - 'type': 'api_key', - 'in': 'cookie', - 'key': 'apiKey', - 'value': self.get_api_key_with_prefix( - 'apiKeyCookie', - ), - } - if 'apiKeyQuery' in self.api_key: - auth['apiKeyQuery'] = { - 'type': 'api_key', - 'in': 'query', - 'key': 'apiKey', - 'value': self.get_api_key_with_prefix( - 'apiKeyQuery', - ), - } if 'authCookie' in self.api_key: auth['authCookie'] = { 'type': 'api_key', @@ -459,7 +441,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.11.1\n"\ + "Version of the API: 1.12.0\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index 2cdda835..9a336966 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index 5ff4a48b..1ccac74f 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,8 +5,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/account_deletion_log.py b/vrchatapi/models/account_deletion_log.py index bbce0158..89201f77 100644 --- a/vrchatapi/models/account_deletion_log.py +++ b/vrchatapi/models/account_deletion_log.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index abd2ad38..7d0983ae 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index 87022a97..2ed3d4aa 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index e11a94cb..f5d3916a 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -40,7 +40,6 @@ class APIConfig(object): 'voice_enable_receiver_limiting': 'bool', 'address': 'str', 'announcements': 'list[APIConfigAnnouncement]', - 'api_key': 'str', 'app_name': 'str', 'build_version_tag': 'str', 'client_api_key': 'str', @@ -123,7 +122,6 @@ class APIConfig(object): 'voice_enable_receiver_limiting': 'VoiceEnableReceiverLimiting', 'address': 'address', 'announcements': 'announcements', - 'api_key': 'apiKey', 'app_name': 'appName', 'build_version_tag': 'buildVersionTag', 'client_api_key': 'clientApiKey', @@ -201,7 +199,7 @@ class APIConfig(object): 'player_url_resolver_version': 'player-url-resolver-version' } - def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limiting=True, address=None, announcements=None, api_key=None, app_name='VrChat', build_version_tag=None, client_api_key=None, client_bps_ceiling=18432, client_disconnect_timeout=30000, client_reserved_player_bps=7168, client_sent_count_allowance=15, contact_email=None, copyright_email=None, current_tos_version=None, default_avatar=None, deployment_group=None, dev_app_version_standalone=None, dev_download_link_windows=None, dev_sdk_url=None, dev_sdk_version=None, dev_server_version_standalone=None, dis_countdown=None, disable_avatar_copying=False, disable_avatar_gating=False, disable_community_labs=False, disable_community_labs_promotion=False, disable_email=False, disable_event_stream=False, disable_feedback_gating=False, disable_frontend_builds=False, disable_hello=False, disable_oculus_subs=False, disable_registration=False, disable_steam_networking=True, disable_two_factor_auth=False, disable_udon=False, disable_upgrade_account=False, download_link_windows=None, download_urls=None, dynamic_world_rows=None, events=None, gear_demo_room_id=None, home_world_id=None, homepage_redirect_target='https://hello.vrchat.com', hub_world_id=None, jobs_email=None, message_of_the_day=None, moderation_email=None, moderation_query_period=None, not_allowed_to_select_avatar_in_private_world_message=None, plugin=None, release_app_version_standalone=None, release_sdk_url=None, release_sdk_version=None, release_server_version_standalone=None, sdk_developer_faq_url=None, sdk_discord_url=None, sdk_not_allowed_to_publish_message=None, sdk_unity_version=None, server_name=None, support_email=None, time_out_world_id=None, tutorial_world_id=None, update_rate_ms_maximum=None, update_rate_ms_minimum=None, update_rate_ms_normal=None, update_rate_ms_udon_manual=None, upload_analysis_percent=None, url_list=None, use_reliable_udp_for_voice=False, user_update_period=None, user_verification_delay=None, user_verification_retry=None, user_verification_timeout=None, vive_windows_url=None, white_listed_asset_urls=None, world_update_period=None, player_url_resolver_hash=None, player_url_resolver_version=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limiting=True, address=None, announcements=None, app_name='VrChat', build_version_tag=None, client_api_key=None, client_bps_ceiling=18432, client_disconnect_timeout=30000, client_reserved_player_bps=7168, client_sent_count_allowance=15, contact_email=None, copyright_email=None, current_tos_version=None, default_avatar=None, deployment_group=None, dev_app_version_standalone=None, dev_download_link_windows=None, dev_sdk_url=None, dev_sdk_version=None, dev_server_version_standalone=None, dis_countdown=None, disable_avatar_copying=False, disable_avatar_gating=False, disable_community_labs=False, disable_community_labs_promotion=False, disable_email=False, disable_event_stream=False, disable_feedback_gating=False, disable_frontend_builds=False, disable_hello=False, disable_oculus_subs=False, disable_registration=False, disable_steam_networking=True, disable_two_factor_auth=False, disable_udon=False, disable_upgrade_account=False, download_link_windows=None, download_urls=None, dynamic_world_rows=None, events=None, gear_demo_room_id=None, home_world_id=None, homepage_redirect_target='https://hello.vrchat.com', hub_world_id=None, jobs_email=None, message_of_the_day=None, moderation_email=None, moderation_query_period=None, not_allowed_to_select_avatar_in_private_world_message=None, plugin=None, release_app_version_standalone=None, release_sdk_url=None, release_sdk_version=None, release_server_version_standalone=None, sdk_developer_faq_url=None, sdk_discord_url=None, sdk_not_allowed_to_publish_message=None, sdk_unity_version=None, server_name=None, support_email=None, time_out_world_id=None, tutorial_world_id=None, update_rate_ms_maximum=None, update_rate_ms_minimum=None, update_rate_ms_normal=None, update_rate_ms_udon_manual=None, upload_analysis_percent=None, url_list=None, use_reliable_udp_for_voice=False, user_update_period=None, user_verification_delay=None, user_verification_retry=None, user_verification_timeout=None, vive_windows_url=None, white_listed_asset_urls=None, world_update_period=None, player_url_resolver_hash=None, player_url_resolver_version=None, local_vars_configuration=None): # noqa: E501 """APIConfig - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -211,7 +209,6 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self._voice_enable_receiver_limiting = None self._address = None self._announcements = None - self._api_key = None self._app_name = None self._build_version_tag = None self._client_api_key = None @@ -293,7 +290,6 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self.voice_enable_receiver_limiting = voice_enable_receiver_limiting self.address = address self.announcements = announcements - self.api_key = api_key self.app_name = app_name self.build_version_tag = build_version_tag self.client_api_key = client_api_key @@ -476,34 +472,6 @@ def announcements(self, announcements): self._announcements = announcements - @property - def api_key(self): - """Gets the api_key of this APIConfig. # noqa: E501 - - apiKey to be used for all other requests # noqa: E501 - - :return: The api_key of this APIConfig. # noqa: E501 - :rtype: str - """ - return self._api_key - - @api_key.setter - def api_key(self, api_key): - """Sets the api_key of this APIConfig. - - apiKey to be used for all other requests # noqa: E501 - - :param api_key: The api_key of this APIConfig. # noqa: E501 - :type api_key: str - """ - if self.local_vars_configuration.client_side_validation and api_key is None: # noqa: E501 - raise ValueError("Invalid value for `api_key`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - api_key is not None and len(api_key) < 1): - raise ValueError("Invalid value for `api_key`, length must be greater than or equal to `1`") # noqa: E501 - - self._api_key = api_key - @property def app_name(self): """Gets the app_name of this APIConfig. # noqa: E501 diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index 3278cd45..ff2d253c 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index 979f0d04..ed191cf0 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -38,16 +38,20 @@ class APIConfigDownloadURLList(object): openapi_types = { 'sdk2': 'str', 'sdk3_avatars': 'str', - 'sdk3_worlds': 'str' + 'sdk3_worlds': 'str', + 'vcc': 'str', + 'bootstrap': 'str' } attribute_map = { 'sdk2': 'sdk2', 'sdk3_avatars': 'sdk3-avatars', - 'sdk3_worlds': 'sdk3-worlds' + 'sdk3_worlds': 'sdk3-worlds', + 'vcc': 'vcc', + 'bootstrap': 'bootstrap' } - def __init__(self, sdk2=None, sdk3_avatars=None, sdk3_worlds=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, sdk2=None, sdk3_avatars=None, sdk3_worlds=None, vcc=None, bootstrap=None, local_vars_configuration=None): # noqa: E501 """APIConfigDownloadURLList - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -56,11 +60,15 @@ def __init__(self, sdk2=None, sdk3_avatars=None, sdk3_worlds=None, local_vars_co self._sdk2 = None self._sdk3_avatars = None self._sdk3_worlds = None + self._vcc = None + self._bootstrap = None self.discriminator = None self.sdk2 = sdk2 self.sdk3_avatars = sdk3_avatars self.sdk3_worlds = sdk3_worlds + self.vcc = vcc + self.bootstrap = bootstrap @property def sdk2(self): @@ -146,6 +154,62 @@ def sdk3_worlds(self, sdk3_worlds): self._sdk3_worlds = sdk3_worlds + @property + def vcc(self): + """Gets the vcc of this APIConfigDownloadURLList. # noqa: E501 + + Download link for the Creator Companion # noqa: E501 + + :return: The vcc of this APIConfigDownloadURLList. # noqa: E501 + :rtype: str + """ + return self._vcc + + @vcc.setter + def vcc(self, vcc): + """Sets the vcc of this APIConfigDownloadURLList. + + Download link for the Creator Companion # noqa: E501 + + :param vcc: The vcc of this APIConfigDownloadURLList. # noqa: E501 + :type vcc: str + """ + if self.local_vars_configuration.client_side_validation and vcc is None: # noqa: E501 + raise ValueError("Invalid value for `vcc`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + vcc is not None and len(vcc) < 1): + raise ValueError("Invalid value for `vcc`, length must be greater than or equal to `1`") # noqa: E501 + + self._vcc = vcc + + @property + def bootstrap(self): + """Gets the bootstrap of this APIConfigDownloadURLList. # noqa: E501 + + Download link for ??? # noqa: E501 + + :return: The bootstrap of this APIConfigDownloadURLList. # noqa: E501 + :rtype: str + """ + return self._bootstrap + + @bootstrap.setter + def bootstrap(self, bootstrap): + """Sets the bootstrap of this APIConfigDownloadURLList. + + Download link for ??? # noqa: E501 + + :param bootstrap: The bootstrap of this APIConfigDownloadURLList. # noqa: E501 + :type bootstrap: str + """ + if self.local_vars_configuration.client_side_validation and bootstrap is None: # noqa: E501 + raise ValueError("Invalid value for `bootstrap`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + bootstrap is not None and len(bootstrap) < 1): + raise ValueError("Invalid value for `bootstrap`, length must be greater than or equal to `1`") # noqa: E501 + + self._bootstrap = bootstrap + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index d7cbb759..898a222f 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index cc81f162..01a22a80 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index 2ef8b635..97af6f48 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index bbc31506..39aaf646 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index 7380bee9..a0d0bbf3 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index c7e49200..0eff01bd 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index a1573e8a..c7cfee0d 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index 7c9a6ed4..dc6b9132 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index 944bd1d0..30674b56 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index b0318f5f..dcb51745 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index 057c23d6..c55c6395 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index 69e5fae8..77dd8dad 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index c32a469a..5f35f69d 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index eb7a1c52..19012cef 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index 2088ef9c..0ad01ddf 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -195,8 +195,7 @@ def __init__(self, accepted_tos_version=None, account_deletion_date=None, accoun self.accepted_tos_version = accepted_tos_version self.account_deletion_date = account_deletion_date - if account_deletion_log is not None: - self.account_deletion_log = account_deletion_log + self.account_deletion_log = account_deletion_log if active_friends is not None: self.active_friends = active_friends self.allow_avatar_copying = allow_avatar_copying diff --git a/vrchatapi/models/deployment_group.py b/vrchatapi/models/deployment_group.py index 225faf44..9d2fec9e 100644 --- a/vrchatapi/models/deployment_group.py +++ b/vrchatapi/models/deployment_group.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index e2faa32e..f821cc91 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index 863e3ca4..da185c4f 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index 485cd407..20e1885b 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index 794efd6b..3d229949 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index 20b83893..b202b8f0 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index 525c6fa7..e0ba318f 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index 7b237c25..0aa9fc78 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index 13d26114..91714cb9 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index ecda044b..4e58cab4 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index 09162e75..9dd2ede1 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index 14e3fa48..e15a234b 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index 82af92ea..59f70d4d 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index 6cd74360..fff5abea 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index 9f1b7bdd..761d0489 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index 4d7fc275..dd402014 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index 799efa31..37e64f41 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index c4031562..2434f27e 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index 7781235e..e85f08f8 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index cbb3c926..f55c6db4 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index 8b92462c..1e01b54a 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index 5007be6a..42245208 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index 19a19980..102b6011 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index 1a7ef7d9..389695bc 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index da5c1a11..46ffb0de 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index 4ddb5444..19f36113 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index d180dd7f..8c3671bf 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index 53aeac27..17cee63a 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index 5fb8df9a..91331356 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index 90bc813b..8f8555d9 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index 7a97cff1..35ff172f 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index 945e2eb4..599e7f64 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index bd6d4551..c815d9ae 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index 5aa4585f..cdb42089 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index e4778ae5..a8516a30 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index 5a276d9f..876bb346 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index 582660a9..a2e2bfd6 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index 0c67b05e..79401e24 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index 5bb36d94..e65b61a3 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index 78c2339e..1e014c53 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index 56b89307..d2ec63c5 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index 1b6f06f4..10fd4919 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index 845b1a7c..c7bed91c 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index 11e6a084..2e01bb47 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index 825fe66d..6609f0cc 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index 78e3185f..df3fcd6d 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index 70b013cd..8f10293f 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index 46ea46d4..304595ff 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index 242402a6..f25cbefc 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index 33581eb1..f4536d21 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user.py b/vrchatapi/models/limited_user.py index 17275f5b..de6a053d 100644 --- a/vrchatapi/models/limited_user.py +++ b/vrchatapi/models/limited_user.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index 7395d4af..083ccf36 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index b1ad8a95..b3626fd0 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index 7b449f1f..82792f0a 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index f14f9ec4..bf739393 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index 6fe23d8d..066322ef 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index 099f71c3..8bb76d2a 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index 3870a924..a524bcbd 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index 48b17593..d4f5e39e 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index a052245d..36bfc057 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index cd460f9a..0c11559e 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index cdf0fe0f..7b52cccd 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index 8fcd6d33..9cd473c8 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index cac00c5b..3b5aa691 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -34,8 +34,9 @@ class ReleaseStatus(object): PUBLIC = "public" PRIVATE = "private" HIDDEN = "hidden" + ALL = "all" - allowable_values = [PUBLIC, PRIVATE, HIDDEN] # noqa: E501 + allowable_values = [PUBLIC, PRIVATE, HIDDEN, ALL] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index 3c0c46da..2c0a9fad 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index 402d3940..f7afb862 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index 64b431d9..1dd905c9 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index 77eed471..7a366125 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index ed69ab51..e2b95afd 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index fd180a2c..4f4daeee 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index b52b9d45..9e28114b 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index 0b69c304..3ef9ce08 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index 56e647e2..ee8627b7 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index 5e1392c1..4d6c7585 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index 26471f60..6829c9fd 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index c14acdf1..f06bf890 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index beb0bab2..5107d1bd 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index b10e33c6..81738df6 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_email_code.py b/vrchatapi/models/two_factor_email_code.py index 4d1c99f9..8ed6a8a2 100644 --- a/vrchatapi/models/two_factor_email_code.py +++ b/vrchatapi/models/two_factor_email_code.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index 5aa6aaab..89611633 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index ceeb8f43..076401db 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index de7ca3a2..e66c4eba 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index bcfbc76d..4385976f 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index 8876a97f..f9d65a18 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index 1c3ba253..e9c98a98 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index 5ad4dd0b..8eee310e 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index e1afd6ad..90ee08af 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index cf53f991..be4c068a 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index 93bc75f1..810a157e 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index 8fef4d43..46822db2 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index d41a6733..a97d6779 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index a74f2057..eab6686a 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index 8c966035..8f994aad 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index 935f9837..890cc9cb 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_email_code_result.py b/vrchatapi/models/verify2_fa_email_code_result.py index 50b78754..2a150d4e 100644 --- a/vrchatapi/models/verify2_fa_email_code_result.py +++ b/vrchatapi/models/verify2_fa_email_code_result.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index 9ce93bba..d1c5053f 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index 14df83a0..d5528341 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index 2037003f..ba3b7103 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index 187edc5a..7532ca44 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index 8a748cd0..6ca7426b 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index fc367c2f..90b0c423 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,8 +4,8 @@ VRChat API Documentation - The version of the OpenAPI document: 1.11.1 - Contact: me@ariesclark.com + The version of the OpenAPI document: 1.12.0 + Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ From fb06332ad8330b9823e1cbb99b361636d69ecd30 Mon Sep 17 00:00:00 2001 From: VRCCat Date: Tue, 19 Sep 2023 20:03:49 +0000 Subject: [PATCH 032/102] Upgrade Python SDK to spec 1.13.0 --- .openapi-generator/FILES | 2 + docs/CurrentUser.md | 4 + docs/CurrentUserPresence.md | 23 + docs/LimitedUser.md | 2 +- docs/World.md | 1 + package-lock.json | 151 ++---- package.json | 2 +- setup.py | 4 +- vrchatapi/__init__.py | 3 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/groups_api.py | 2 +- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 +- vrchatapi/exceptions.py | 2 +- vrchatapi/models/__init__.py | 3 +- vrchatapi/models/account_deletion_log.py | 2 +- vrchatapi/models/add_favorite_request.py | 2 +- .../models/add_group_gallery_image_request.py | 2 +- vrchatapi/models/api_config.py | 2 +- vrchatapi/models/api_config_announcement.py | 2 +- .../models/api_config_download_url_list.py | 2 +- vrchatapi/models/api_config_events.py | 2 +- vrchatapi/models/api_health.py | 2 +- vrchatapi/models/avatar.py | 2 +- .../models/avatar_unity_package_url_object.py | 2 +- vrchatapi/models/ban_group_member_request.py | 2 +- vrchatapi/models/create_avatar_request.py | 2 +- vrchatapi/models/create_file_request.py | 2 +- .../models/create_file_version_request.py | 2 +- .../create_group_announcement_request.py | 2 +- .../models/create_group_gallery_request.py | 2 +- .../models/create_group_invite_request.py | 2 +- vrchatapi/models/create_group_request.py | 2 +- vrchatapi/models/create_group_role_request.py | 2 +- vrchatapi/models/create_world_request.py | 2 +- vrchatapi/models/current_user.py | 111 ++++- vrchatapi/models/current_user_presence.py | 452 ++++++++++++++++++ vrchatapi/models/deployment_group.py | 2 +- vrchatapi/models/developer_type.py | 2 +- vrchatapi/models/dynamic_content_row.py | 2 +- vrchatapi/models/error.py | 2 +- vrchatapi/models/favorite.py | 2 +- vrchatapi/models/favorite_group.py | 2 +- vrchatapi/models/favorite_group_visibility.py | 2 +- vrchatapi/models/favorite_type.py | 2 +- vrchatapi/models/file.py | 2 +- vrchatapi/models/file_data.py | 2 +- vrchatapi/models/file_status.py | 2 +- vrchatapi/models/file_upload_url.py | 2 +- vrchatapi/models/file_version.py | 2 +- .../models/file_version_upload_status.py | 2 +- .../models/finish_file_data_upload_request.py | 2 +- vrchatapi/models/friend_status.py | 2 +- vrchatapi/models/group.py | 2 +- vrchatapi/models/group_announcement.py | 2 +- vrchatapi/models/group_audit_log_entry.py | 2 +- vrchatapi/models/group_gallery.py | 2 +- vrchatapi/models/group_gallery_image.py | 2 +- vrchatapi/models/group_join_state.py | 2 +- vrchatapi/models/group_limited_member.py | 2 +- vrchatapi/models/group_member.py | 2 +- vrchatapi/models/group_member_limited_user.py | 2 +- vrchatapi/models/group_member_status.py | 2 +- vrchatapi/models/group_my_member.py | 2 +- vrchatapi/models/group_permission.py | 2 +- vrchatapi/models/group_privacy.py | 2 +- vrchatapi/models/group_role.py | 2 +- vrchatapi/models/group_role_template.py | 2 +- vrchatapi/models/group_user_visibility.py | 2 +- vrchatapi/models/info_push.py | 2 +- vrchatapi/models/info_push_data.py | 2 +- vrchatapi/models/info_push_data_article.py | 2 +- .../models/info_push_data_article_content.py | 2 +- vrchatapi/models/info_push_data_clickable.py | 2 +- vrchatapi/models/instance.py | 2 +- vrchatapi/models/instance_platforms.py | 2 +- .../models/instance_short_name_response.py | 2 +- vrchatapi/models/instance_type.py | 2 +- vrchatapi/models/invite_message.py | 2 +- vrchatapi/models/invite_message_type.py | 2 +- vrchatapi/models/invite_request.py | 2 +- vrchatapi/models/invite_response.py | 2 +- vrchatapi/models/license.py | 2 +- vrchatapi/models/license_action.py | 2 +- vrchatapi/models/license_group.py | 2 +- vrchatapi/models/license_type.py | 2 +- vrchatapi/models/limited_unity_package.py | 2 +- vrchatapi/models/limited_user.py | 7 +- vrchatapi/models/limited_world.py | 2 +- vrchatapi/models/mime_type.py | 2 +- vrchatapi/models/moderate_user_request.py | 2 +- vrchatapi/models/notification.py | 2 +- vrchatapi/models/notification_type.py | 2 +- vrchatapi/models/order_option.py | 2 +- .../paginated_group_audit_log_entry_list.py | 2 +- vrchatapi/models/past_display_name.py | 2 +- vrchatapi/models/permission.py | 2 +- vrchatapi/models/player_moderation.py | 2 +- vrchatapi/models/player_moderation_type.py | 2 +- vrchatapi/models/region.py | 2 +- vrchatapi/models/release_status.py | 2 +- vrchatapi/models/request_invite_request.py | 2 +- .../models/respond_group_join_request.py | 2 +- vrchatapi/models/response.py | 2 +- vrchatapi/models/sent_notification.py | 2 +- vrchatapi/models/sort_option.py | 2 +- vrchatapi/models/subscription.py | 2 +- vrchatapi/models/subscription_period.py | 2 +- vrchatapi/models/success.py | 2 +- vrchatapi/models/transaction.py | 2 +- vrchatapi/models/transaction_agreement.py | 2 +- vrchatapi/models/transaction_status.py | 2 +- vrchatapi/models/transaction_steam_info.py | 2 +- .../models/transaction_steam_wallet_info.py | 2 +- vrchatapi/models/two_factor_auth_code.py | 2 +- vrchatapi/models/two_factor_email_code.py | 2 +- vrchatapi/models/unity_package.py | 2 +- vrchatapi/models/update_avatar_request.py | 2 +- .../models/update_favorite_group_request.py | 2 +- .../models/update_group_gallery_request.py | 2 +- .../models/update_group_member_request.py | 2 +- vrchatapi/models/update_group_request.py | 2 +- vrchatapi/models/update_group_role_request.py | 2 +- .../models/update_invite_message_request.py | 2 +- vrchatapi/models/update_user_request.py | 2 +- vrchatapi/models/update_world_request.py | 2 +- vrchatapi/models/user.py | 2 +- vrchatapi/models/user_exists.py | 2 +- vrchatapi/models/user_state.py | 2 +- vrchatapi/models/user_status.py | 2 +- vrchatapi/models/user_subscription.py | 2 +- .../models/verify2_fa_email_code_result.py | 2 +- vrchatapi/models/verify2_fa_result.py | 2 +- vrchatapi/models/verify_auth_token_result.py | 2 +- vrchatapi/models/world.py | 37 +- vrchatapi/models/world_metadata.py | 2 +- vrchatapi/models/world_publish_status.py | 2 +- vrchatapi/rest.py | 2 +- 151 files changed, 808 insertions(+), 270 deletions(-) create mode 100644 docs/CurrentUserPresence.md create mode 100644 vrchatapi/models/current_user_presence.py diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 374c62db..8f8c4c50 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -22,6 +22,7 @@ docs/CreateGroupRequest.md docs/CreateGroupRoleRequest.md docs/CreateWorldRequest.md docs/CurrentUser.md +docs/CurrentUserPresence.md docs/DeploymentGroup.md docs/DeveloperType.md docs/DynamicContentRow.md @@ -183,6 +184,7 @@ vrchatapi/models/create_group_request.py vrchatapi/models/create_group_role_request.py vrchatapi/models/create_world_request.py vrchatapi/models/current_user.py +vrchatapi/models/current_user_presence.py vrchatapi/models/deployment_group.py vrchatapi/models/developer_type.py vrchatapi/models/dynamic_content_row.py diff --git a/docs/CurrentUser.md b/docs/CurrentUser.md index f50eef4e..598264df 100644 --- a/docs/CurrentUser.md +++ b/docs/CurrentUser.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **accepted_tos_version** | **int** | | +**accepted_privacy_version** | **int** | | [optional] **account_deletion_date** | **date** | | [optional] **account_deletion_log** | [**list[AccountDeletionLog]**](AccountDeletionLog.md) | | [optional] **active_friends** | **list[str]** | | [optional] @@ -30,6 +31,7 @@ Name | Type | Description | Notes **home_location** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | **id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | **is_friend** | **bool** | | [default to False] +**last_activity** | **datetime** | | [optional] **last_login** | **datetime** | | **last_platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | **obfuscated_email** | **str** | | @@ -38,6 +40,7 @@ Name | Type | Description | Notes **offline_friends** | **list[str]** | | [optional] **online_friends** | **list[str]** | | [optional] **past_display_names** | [**list[PastDisplayName]**](PastDisplayName.md) | | +**presence** | [**CurrentUserPresence**](CurrentUserPresence.md) | | [optional] **profile_pic_override** | **str** | | **state** | [**UserState**](UserState.md) | | **status** | [**UserStatus**](UserStatus.md) | | @@ -50,6 +53,7 @@ Name | Type | Description | Notes **two_factor_auth_enabled** | **bool** | | **two_factor_auth_enabled_date** | **datetime** | | [optional] **unsubscribe** | **bool** | | +**updated_at** | **datetime** | | [optional] **user_icon** | **str** | | **username** | **str** | -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). | [optional] diff --git a/docs/CurrentUserPresence.md b/docs/CurrentUserPresence.md new file mode 100644 index 00000000..d54d9292 --- /dev/null +++ b/docs/CurrentUserPresence.md @@ -0,0 +1,23 @@ +# CurrentUserPresence + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**avatar_thumbnail** | **str** | | [optional] +**display_name** | **str** | | [optional] +**groups** | **list[str]** | | [optional] +**id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] +**instance** | **str** | | [optional] +**instance_type** | **str** | either an InstanceType or an empty string | [optional] +**is_rejoining** | **str** | | [optional] +**platform** | **str** | either a Platform or an empty string | [optional] +**profile_pic_override** | **str** | | [optional] +**status** | **str** | either a UserStatus or empty string | [optional] +**traveling_to_instance** | **str** | | [optional] +**traveling_to_world** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | [optional] +**world** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/LimitedUser.md b/docs/LimitedUser.md index a4febad2..4600e8b0 100644 --- a/docs/LimitedUser.md +++ b/docs/LimitedUser.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes **current_avatar_thumbnail_image_url** | **str** | When profilePicOverride is not empty, use it instead. | **developer_type** | [**DeveloperType**](DeveloperType.md) | | **display_name** | **str** | | -**fallback_avatar** | **str** | | +**fallback_avatar** | **str** | | [optional] **id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | **is_friend** | **bool** | | **last_platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | diff --git a/docs/World.md b/docs/World.md index f1ab2456..8a19d4f2 100644 --- a/docs/World.md +++ b/docs/World.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **author_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | **author_name** | **str** | | **capacity** | **int** | | +**recommended_capacity** | **int** | | **created_at** | **datetime** | | **description** | **str** | | **favorites** | **int** | | [optional] [default to 0] diff --git a/package-lock.json b/package-lock.json index 4c1d3f04..9425eb0f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.6.0" + "@openapitools/openapi-generator-cli": "^2.7.0" } }, "node_modules/@lukeed/csprng": { @@ -17,35 +17,33 @@ } }, "node_modules/@nestjs/axios": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/@nestjs/axios/-/axios-0.0.8.tgz", - "integrity": "sha512-oJyfR9/h9tVk776il0829xyj3b2e81yTu6HjPraxynwNtMNGqZBHHmAQL24yMB3tVbBM0RvG3eUXH8+pRCGwlg==", + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@nestjs/axios/-/axios-0.1.0.tgz", + "integrity": "sha512-b2TT2X6BFbnNoeteiaxCIiHaFcSbVW+S5yygYqiIq5i6H77yIU3IVuLdpQkHq8/EqOWFwMopLN8jdkUT71Am9w==", "dependencies": { "axios": "0.27.2" }, "peerDependencies": { - "@nestjs/common": "^7.0.0 || ^8.0.0", + "@nestjs/common": "^7.0.0 || ^8.0.0 || ^9.0.0", "reflect-metadata": "^0.1.12", "rxjs": "^6.0.0 || ^7.0.0" } }, "node_modules/@nestjs/common": { - "version": "8.4.7", - "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-8.4.7.tgz", - "integrity": "sha512-m/YsbcBal+gA5CFrDpqXqsSfylo+DIQrkFY3qhVIltsYRfu8ct8J9pqsTO6OPf3mvqdOpFGrV5sBjoyAzOBvsw==", - "peer": true, + "version": "9.3.11", + "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-9.3.11.tgz", + "integrity": "sha512-IFZ2G/5UKWC2Uo7tJ4SxGed2+aiA+sJyWeWsGTogKVDhq90oxVBToh+uCDeI31HNUpqYGoWmkletfty42zUd8A==", "dependencies": { - "axios": "0.27.2", "iterare": "1.2.1", - "tslib": "2.4.0", - "uuid": "8.3.2" + "tslib": "2.5.0", + "uid": "2.0.1" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/nest" }, "peerDependencies": { - "cache-manager": "*", + "cache-manager": "<=5", "class-transformer": "*", "class-validator": "*", "reflect-metadata": "^0.1.12", @@ -81,12 +79,12 @@ } }, "node_modules/@openapitools/openapi-generator-cli": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.6.0.tgz", - "integrity": "sha512-M/aOpR7G+Y1nMf+ofuar8pGszajgfhs1aSPSijkcr2tHTxKAI3sA3YYcOGbszxaNRKFyvOcDq+KP9pcJvKoCHg==", + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.7.0.tgz", + "integrity": "sha512-ieEpHTA/KsDz7ANw03lLPYyjdedDEXYEyYoGBRWdduqXWSX65CJtttjqa8ZaB1mNmIjMtchUHwAYQmTLVQ8HYg==", "hasInstallScript": true, "dependencies": { - "@nestjs/axios": "0.0.8", + "@nestjs/axios": "0.1.0", "@nestjs/common": "9.3.11", "@nestjs/core": "9.3.11", "@nuxtjs/opencollective": "0.3.2", @@ -114,43 +112,6 @@ "url": "https://opencollective.com/openapi_generator" } }, - "node_modules/@openapitools/openapi-generator-cli/node_modules/@nestjs/common": { - "version": "9.3.11", - "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-9.3.11.tgz", - "integrity": "sha512-IFZ2G/5UKWC2Uo7tJ4SxGed2+aiA+sJyWeWsGTogKVDhq90oxVBToh+uCDeI31HNUpqYGoWmkletfty42zUd8A==", - "dependencies": { - "iterare": "1.2.1", - "tslib": "2.5.0", - "uid": "2.0.1" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/nest" - }, - "peerDependencies": { - "cache-manager": "<=5", - "class-transformer": "*", - "class-validator": "*", - "reflect-metadata": "^0.1.12", - "rxjs": "^7.1.0" - }, - "peerDependenciesMeta": { - "cache-manager": { - "optional": true - }, - "class-transformer": { - "optional": true - }, - "class-validator": { - "optional": true - } - } - }, - "node_modules/@openapitools/openapi-generator-cli/node_modules/@nestjs/common/node_modules/tslib": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", - "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" - }, "node_modules/@openapitools/openapi-generator-cli/node_modules/@nestjs/core": { "version": "9.3.11", "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-9.3.11.tgz", @@ -584,9 +545,9 @@ } }, "node_modules/follow-redirects": { - "version": "1.15.2", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", - "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==", + "version": "1.15.3", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.3.tgz", + "integrity": "sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q==", "funding": [ { "type": "individual", @@ -1096,9 +1057,9 @@ } }, "node_modules/tslib": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", + "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" }, "node_modules/type-fest": { "version": "0.21.3", @@ -1135,15 +1096,6 @@ "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" }, - "node_modules/uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "peer": true, - "bin": { - "uuid": "dist/bin/uuid" - } - }, "node_modules/wcwidth": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", @@ -1228,23 +1180,21 @@ "integrity": "sha512-Z7C/xXCiGWsg0KuKsHTKJxbWhpI3Vs5GwLfOean7MGyVFGqdRgBbAjOCh6u4bbjPc/8MJ2pZmK/0DLdCbivLDA==" }, "@nestjs/axios": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/@nestjs/axios/-/axios-0.0.8.tgz", - "integrity": "sha512-oJyfR9/h9tVk776il0829xyj3b2e81yTu6HjPraxynwNtMNGqZBHHmAQL24yMB3tVbBM0RvG3eUXH8+pRCGwlg==", + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@nestjs/axios/-/axios-0.1.0.tgz", + "integrity": "sha512-b2TT2X6BFbnNoeteiaxCIiHaFcSbVW+S5yygYqiIq5i6H77yIU3IVuLdpQkHq8/EqOWFwMopLN8jdkUT71Am9w==", "requires": { "axios": "0.27.2" } }, "@nestjs/common": { - "version": "8.4.7", - "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-8.4.7.tgz", - "integrity": "sha512-m/YsbcBal+gA5CFrDpqXqsSfylo+DIQrkFY3qhVIltsYRfu8ct8J9pqsTO6OPf3mvqdOpFGrV5sBjoyAzOBvsw==", - "peer": true, + "version": "9.3.11", + "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-9.3.11.tgz", + "integrity": "sha512-IFZ2G/5UKWC2Uo7tJ4SxGed2+aiA+sJyWeWsGTogKVDhq90oxVBToh+uCDeI31HNUpqYGoWmkletfty42zUd8A==", "requires": { - "axios": "0.27.2", "iterare": "1.2.1", - "tslib": "2.4.0", - "uuid": "8.3.2" + "tslib": "2.5.0", + "uid": "2.0.1" } }, "@nuxtjs/opencollective": { @@ -1258,11 +1208,11 @@ } }, "@openapitools/openapi-generator-cli": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.6.0.tgz", - "integrity": "sha512-M/aOpR7G+Y1nMf+ofuar8pGszajgfhs1aSPSijkcr2tHTxKAI3sA3YYcOGbszxaNRKFyvOcDq+KP9pcJvKoCHg==", + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.7.0.tgz", + "integrity": "sha512-ieEpHTA/KsDz7ANw03lLPYyjdedDEXYEyYoGBRWdduqXWSX65CJtttjqa8ZaB1mNmIjMtchUHwAYQmTLVQ8HYg==", "requires": { - "@nestjs/axios": "0.0.8", + "@nestjs/axios": "0.1.0", "@nestjs/common": "9.3.11", "@nestjs/core": "9.3.11", "@nuxtjs/opencollective": "0.3.2", @@ -1280,23 +1230,6 @@ "tslib": "2.0.3" }, "dependencies": { - "@nestjs/common": { - "version": "9.3.11", - "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-9.3.11.tgz", - "integrity": "sha512-IFZ2G/5UKWC2Uo7tJ4SxGed2+aiA+sJyWeWsGTogKVDhq90oxVBToh+uCDeI31HNUpqYGoWmkletfty42zUd8A==", - "requires": { - "iterare": "1.2.1", - "tslib": "2.5.0", - "uid": "2.0.1" - }, - "dependencies": { - "tslib": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", - "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" - } - } - }, "@nestjs/core": { "version": "9.3.11", "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-9.3.11.tgz", @@ -1596,9 +1529,9 @@ } }, "follow-redirects": { - "version": "1.15.2", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", - "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==" + "version": "1.15.3", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.3.tgz", + "integrity": "sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q==" }, "form-data": { "version": "4.0.0", @@ -1951,9 +1884,9 @@ "integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==" }, "tslib": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", + "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" }, "type-fest": { "version": "0.21.3", @@ -1978,12 +1911,6 @@ "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" }, - "uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "peer": true - }, "wcwidth": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", diff --git a/package.json b/package.json index aec44138..612d4419 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.6.0" + "@openapitools/openapi-generator-cli": "^2.7.0" } } diff --git a/setup.py b/setup.py index 44f157d1..b6b7a8bc 100644 --- a/setup.py +++ b/setup.py @@ -81,7 +81,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -90,7 +90,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.12.0" +VERSION = "1.13.0" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index d496b985..7af99dbd 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,7 +6,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -64,6 +64,7 @@ from vrchatapi.models.create_group_role_request import CreateGroupRoleRequest from vrchatapi.models.create_world_request import CreateWorldRequest from vrchatapi.models.current_user import CurrentUser +from vrchatapi.models.current_user_presence import CurrentUserPresence from vrchatapi.models.deployment_group import DeploymentGroup from vrchatapi.models.developer_type import DeveloperType from vrchatapi.models.dynamic_content_row import DynamicContentRow diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index 1350c339..945f0735 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index 6a81f2e6..97a62478 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 5e1c84a9..4d3bc86f 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index b0bea504..fb77b68b 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index 2107680d..b5ef136e 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index 0c027d70..b1c6967b 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index 48215e19..d8ae572a 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 8917c3ce..ca5993b7 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index 3f211d62..c03d38f3 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index 64e2f8c9..17f3aba6 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index b06a056c..ca247acf 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index 00e2f03d..67342f24 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index abbae552..728e52ac 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index b114a5b8..86139418 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 4f2934ed..27320cab 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index 401c8944..01d04087 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,7 +3,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index 90961759..2e6a3a20 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -441,7 +441,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.12.0\n"\ + "Version of the API: 1.13.0\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index 9a336966..d78d3fba 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index 1ccac74f..eaf0abc3 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,7 +5,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -35,6 +35,7 @@ from vrchatapi.models.create_group_role_request import CreateGroupRoleRequest from vrchatapi.models.create_world_request import CreateWorldRequest from vrchatapi.models.current_user import CurrentUser +from vrchatapi.models.current_user_presence import CurrentUserPresence from vrchatapi.models.deployment_group import DeploymentGroup from vrchatapi.models.developer_type import DeveloperType from vrchatapi.models.dynamic_content_row import DynamicContentRow diff --git a/vrchatapi/models/account_deletion_log.py b/vrchatapi/models/account_deletion_log.py index 89201f77..f5f7cc88 100644 --- a/vrchatapi/models/account_deletion_log.py +++ b/vrchatapi/models/account_deletion_log.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index 7d0983ae..5d7a3a2f 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index 2ed3d4aa..492c4467 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index f5d3916a..3b105f50 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index ff2d253c..bd334f6c 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index ed191cf0..0bf9a4d5 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index 898a222f..5687d4ce 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index 01a22a80..36bfd54c 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index 97af6f48..99c85f7d 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index 39aaf646..f7c54fac 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index a0d0bbf3..350873fc 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index 0eff01bd..9591d51d 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index c7cfee0d..18f4de43 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index dc6b9132..3a91366a 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index 30674b56..57794673 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index dcb51745..12638d7f 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index c55c6395..b82099eb 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index 77dd8dad..a0bda963 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index 5f35f69d..a2d6b617 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index 19012cef..e079628d 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index 0ad01ddf..d1c138fc 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -37,6 +37,7 @@ class CurrentUser(object): """ openapi_types = { 'accepted_tos_version': 'int', + 'accepted_privacy_version': 'int', 'account_deletion_date': 'date', 'account_deletion_log': 'list[AccountDeletionLog]', 'active_friends': 'list[str]', @@ -62,6 +63,7 @@ class CurrentUser(object): 'home_location': 'str', 'id': 'str', 'is_friend': 'bool', + 'last_activity': 'datetime', 'last_login': 'datetime', 'last_platform': 'str', 'obfuscated_email': 'str', @@ -70,6 +72,7 @@ class CurrentUser(object): 'offline_friends': 'list[str]', 'online_friends': 'list[str]', 'past_display_names': 'list[PastDisplayName]', + 'presence': 'CurrentUserPresence', 'profile_pic_override': 'str', 'state': 'UserState', 'status': 'UserStatus', @@ -82,12 +85,14 @@ class CurrentUser(object): 'two_factor_auth_enabled': 'bool', 'two_factor_auth_enabled_date': 'datetime', 'unsubscribe': 'bool', + 'updated_at': 'datetime', 'user_icon': 'str', 'username': 'str' } attribute_map = { 'accepted_tos_version': 'acceptedTOSVersion', + 'accepted_privacy_version': 'acceptedPrivacyVersion', 'account_deletion_date': 'accountDeletionDate', 'account_deletion_log': 'accountDeletionLog', 'active_friends': 'activeFriends', @@ -113,6 +118,7 @@ class CurrentUser(object): 'home_location': 'homeLocation', 'id': 'id', 'is_friend': 'isFriend', + 'last_activity': 'last_activity', 'last_login': 'last_login', 'last_platform': 'last_platform', 'obfuscated_email': 'obfuscatedEmail', @@ -121,6 +127,7 @@ class CurrentUser(object): 'offline_friends': 'offlineFriends', 'online_friends': 'onlineFriends', 'past_display_names': 'pastDisplayNames', + 'presence': 'presence', 'profile_pic_override': 'profilePicOverride', 'state': 'state', 'status': 'status', @@ -133,17 +140,19 @@ class CurrentUser(object): 'two_factor_auth_enabled': 'twoFactorAuthEnabled', 'two_factor_auth_enabled_date': 'twoFactorAuthEnabledDate', 'unsubscribe': 'unsubscribe', + 'updated_at': 'updated_at', 'user_icon': 'userIcon', 'username': 'username' } - def __init__(self, accepted_tos_version=None, account_deletion_date=None, account_deletion_log=None, active_friends=None, allow_avatar_copying=None, bio=None, bio_links=None, current_avatar=None, current_avatar_asset_url=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, date_joined=None, developer_type=None, display_name=None, email_verified=None, fallback_avatar=None, friend_group_names=None, friend_key=None, friends=None, has_birthday=None, has_email=None, has_logged_in_from_client=None, has_pending_email=None, home_location=None, id=None, is_friend=False, last_login=None, last_platform=None, obfuscated_email=None, obfuscated_pending_email=None, oculus_id=None, offline_friends=None, online_friends=None, past_display_names=None, profile_pic_override=None, state=None, status=None, status_description=None, status_first_time=None, status_history=None, steam_details=None, steam_id=None, tags=None, two_factor_auth_enabled=None, two_factor_auth_enabled_date=None, unsubscribe=None, user_icon=None, username=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, account_deletion_date=None, account_deletion_log=None, active_friends=None, allow_avatar_copying=None, bio=None, bio_links=None, current_avatar=None, current_avatar_asset_url=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, date_joined=None, developer_type=None, display_name=None, email_verified=None, fallback_avatar=None, friend_group_names=None, friend_key=None, friends=None, has_birthday=None, has_email=None, has_logged_in_from_client=None, has_pending_email=None, home_location=None, id=None, is_friend=False, last_activity=None, last_login=None, last_platform=None, obfuscated_email=None, obfuscated_pending_email=None, oculus_id=None, offline_friends=None, online_friends=None, past_display_names=None, presence=None, profile_pic_override=None, state=None, status=None, status_description=None, status_first_time=None, status_history=None, steam_details=None, steam_id=None, tags=None, two_factor_auth_enabled=None, two_factor_auth_enabled_date=None, unsubscribe=None, updated_at=None, user_icon=None, username=None, local_vars_configuration=None): # noqa: E501 """CurrentUser - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._accepted_tos_version = None + self._accepted_privacy_version = None self._account_deletion_date = None self._account_deletion_log = None self._active_friends = None @@ -169,6 +178,7 @@ def __init__(self, accepted_tos_version=None, account_deletion_date=None, accoun self._home_location = None self._id = None self._is_friend = None + self._last_activity = None self._last_login = None self._last_platform = None self._obfuscated_email = None @@ -177,6 +187,7 @@ def __init__(self, accepted_tos_version=None, account_deletion_date=None, accoun self._offline_friends = None self._online_friends = None self._past_display_names = None + self._presence = None self._profile_pic_override = None self._state = None self._status = None @@ -189,11 +200,14 @@ def __init__(self, accepted_tos_version=None, account_deletion_date=None, accoun self._two_factor_auth_enabled = None self._two_factor_auth_enabled_date = None self._unsubscribe = None + self._updated_at = None self._user_icon = None self._username = None self.discriminator = None self.accepted_tos_version = accepted_tos_version + if accepted_privacy_version is not None: + self.accepted_privacy_version = accepted_privacy_version self.account_deletion_date = account_deletion_date self.account_deletion_log = account_deletion_log if active_friends is not None: @@ -221,6 +235,8 @@ def __init__(self, accepted_tos_version=None, account_deletion_date=None, accoun self.home_location = home_location self.id = id self.is_friend = is_friend + if last_activity is not None: + self.last_activity = last_activity self.last_login = last_login self.last_platform = last_platform self.obfuscated_email = obfuscated_email @@ -231,6 +247,8 @@ def __init__(self, accepted_tos_version=None, account_deletion_date=None, accoun if online_friends is not None: self.online_friends = online_friends self.past_display_names = past_display_names + if presence is not None: + self.presence = presence self.profile_pic_override = profile_pic_override self.state = state self.status = status @@ -243,6 +261,8 @@ def __init__(self, accepted_tos_version=None, account_deletion_date=None, accoun self.two_factor_auth_enabled = two_factor_auth_enabled self.two_factor_auth_enabled_date = two_factor_auth_enabled_date self.unsubscribe = unsubscribe + if updated_at is not None: + self.updated_at = updated_at self.user_icon = user_icon if username is not None: self.username = username @@ -273,6 +293,30 @@ def accepted_tos_version(self, accepted_tos_version): self._accepted_tos_version = accepted_tos_version + @property + def accepted_privacy_version(self): + """Gets the accepted_privacy_version of this CurrentUser. # noqa: E501 + + + :return: The accepted_privacy_version of this CurrentUser. # noqa: E501 + :rtype: int + """ + return self._accepted_privacy_version + + @accepted_privacy_version.setter + def accepted_privacy_version(self, accepted_privacy_version): + """Sets the accepted_privacy_version of this CurrentUser. + + + :param accepted_privacy_version: The accepted_privacy_version of this CurrentUser. # noqa: E501 + :type accepted_privacy_version: int + """ + if (self.local_vars_configuration.client_side_validation and + accepted_privacy_version is not None and accepted_privacy_version < 0): # noqa: E501 + raise ValueError("Invalid value for `accepted_privacy_version`, must be a value greater than or equal to `0`") # noqa: E501 + + self._accepted_privacy_version = accepted_privacy_version + @property def account_deletion_date(self): """Gets the account_deletion_date of this CurrentUser. # noqa: E501 @@ -865,6 +909,27 @@ def is_friend(self, is_friend): self._is_friend = is_friend + @property + def last_activity(self): + """Gets the last_activity of this CurrentUser. # noqa: E501 + + + :return: The last_activity of this CurrentUser. # noqa: E501 + :rtype: datetime + """ + return self._last_activity + + @last_activity.setter + def last_activity(self, last_activity): + """Sets the last_activity of this CurrentUser. + + + :param last_activity: The last_activity of this CurrentUser. # noqa: E501 + :type last_activity: datetime + """ + + self._last_activity = last_activity + @property def last_login(self): """Gets the last_login of this CurrentUser. # noqa: E501 @@ -1049,6 +1114,27 @@ def past_display_names(self, past_display_names): self._past_display_names = past_display_names + @property + def presence(self): + """Gets the presence of this CurrentUser. # noqa: E501 + + + :return: The presence of this CurrentUser. # noqa: E501 + :rtype: CurrentUserPresence + """ + return self._presence + + @presence.setter + def presence(self, presence): + """Sets the presence of this CurrentUser. + + + :param presence: The presence of this CurrentUser. # noqa: E501 + :type presence: CurrentUserPresence + """ + + self._presence = presence + @property def profile_pic_override(self): """Gets the profile_pic_override of this CurrentUser. # noqa: E501 @@ -1323,6 +1409,27 @@ def unsubscribe(self, unsubscribe): self._unsubscribe = unsubscribe + @property + def updated_at(self): + """Gets the updated_at of this CurrentUser. # noqa: E501 + + + :return: The updated_at of this CurrentUser. # noqa: E501 + :rtype: datetime + """ + return self._updated_at + + @updated_at.setter + def updated_at(self, updated_at): + """Sets the updated_at of this CurrentUser. + + + :param updated_at: The updated_at of this CurrentUser. # noqa: E501 + :type updated_at: datetime + """ + + self._updated_at = updated_at + @property def user_icon(self): """Gets the user_icon of this CurrentUser. # noqa: E501 diff --git a/vrchatapi/models/current_user_presence.py b/vrchatapi/models/current_user_presence.py new file mode 100644 index 00000000..18d7ebcd --- /dev/null +++ b/vrchatapi/models/current_user_presence.py @@ -0,0 +1,452 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.13.0 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class CurrentUserPresence(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'avatar_thumbnail': 'str', + 'display_name': 'str', + 'groups': 'list[str]', + 'id': 'str', + 'instance': 'str', + 'instance_type': 'str', + 'is_rejoining': 'str', + 'platform': 'str', + 'profile_pic_override': 'str', + 'status': 'str', + 'traveling_to_instance': 'str', + 'traveling_to_world': 'str', + 'world': 'str' + } + + attribute_map = { + 'avatar_thumbnail': 'avatarThumbnail', + 'display_name': 'displayName', + 'groups': 'groups', + 'id': 'id', + 'instance': 'instance', + 'instance_type': 'instanceType', + 'is_rejoining': 'isRejoining', + 'platform': 'platform', + 'profile_pic_override': 'profilePicOverride', + 'status': 'status', + 'traveling_to_instance': 'travelingToInstance', + 'traveling_to_world': 'travelingToWorld', + 'world': 'world' + } + + def __init__(self, avatar_thumbnail=None, display_name=None, groups=None, id=None, instance=None, instance_type=None, is_rejoining=None, platform=None, profile_pic_override=None, status=None, traveling_to_instance=None, traveling_to_world=None, world=None, local_vars_configuration=None): # noqa: E501 + """CurrentUserPresence - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._avatar_thumbnail = None + self._display_name = None + self._groups = None + self._id = None + self._instance = None + self._instance_type = None + self._is_rejoining = None + self._platform = None + self._profile_pic_override = None + self._status = None + self._traveling_to_instance = None + self._traveling_to_world = None + self._world = None + self.discriminator = None + + self.avatar_thumbnail = avatar_thumbnail + if display_name is not None: + self.display_name = display_name + self.groups = groups + if id is not None: + self.id = id + self.instance = instance + self.instance_type = instance_type + self.is_rejoining = is_rejoining + self.platform = platform + self.profile_pic_override = profile_pic_override + self.status = status + self.traveling_to_instance = traveling_to_instance + if traveling_to_world is not None: + self.traveling_to_world = traveling_to_world + if world is not None: + self.world = world + + @property + def avatar_thumbnail(self): + """Gets the avatar_thumbnail of this CurrentUserPresence. # noqa: E501 + + + :return: The avatar_thumbnail of this CurrentUserPresence. # noqa: E501 + :rtype: str + """ + return self._avatar_thumbnail + + @avatar_thumbnail.setter + def avatar_thumbnail(self, avatar_thumbnail): + """Sets the avatar_thumbnail of this CurrentUserPresence. + + + :param avatar_thumbnail: The avatar_thumbnail of this CurrentUserPresence. # noqa: E501 + :type avatar_thumbnail: str + """ + + self._avatar_thumbnail = avatar_thumbnail + + @property + def display_name(self): + """Gets the display_name of this CurrentUserPresence. # noqa: E501 + + + :return: The display_name of this CurrentUserPresence. # noqa: E501 + :rtype: str + """ + return self._display_name + + @display_name.setter + def display_name(self, display_name): + """Sets the display_name of this CurrentUserPresence. + + + :param display_name: The display_name of this CurrentUserPresence. # noqa: E501 + :type display_name: str + """ + + self._display_name = display_name + + @property + def groups(self): + """Gets the groups of this CurrentUserPresence. # noqa: E501 + + + :return: The groups of this CurrentUserPresence. # noqa: E501 + :rtype: list[str] + """ + return self._groups + + @groups.setter + def groups(self, groups): + """Sets the groups of this CurrentUserPresence. + + + :param groups: The groups of this CurrentUserPresence. # noqa: E501 + :type groups: list[str] + """ + + self._groups = groups + + @property + def id(self): + """Gets the id of this CurrentUserPresence. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The id of this CurrentUserPresence. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this CurrentUserPresence. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param id: The id of this CurrentUserPresence. # noqa: E501 + :type id: str + """ + + self._id = id + + @property + def instance(self): + """Gets the instance of this CurrentUserPresence. # noqa: E501 + + + :return: The instance of this CurrentUserPresence. # noqa: E501 + :rtype: str + """ + return self._instance + + @instance.setter + def instance(self, instance): + """Sets the instance of this CurrentUserPresence. + + + :param instance: The instance of this CurrentUserPresence. # noqa: E501 + :type instance: str + """ + + self._instance = instance + + @property + def instance_type(self): + """Gets the instance_type of this CurrentUserPresence. # noqa: E501 + + either an InstanceType or an empty string # noqa: E501 + + :return: The instance_type of this CurrentUserPresence. # noqa: E501 + :rtype: str + """ + return self._instance_type + + @instance_type.setter + def instance_type(self, instance_type): + """Sets the instance_type of this CurrentUserPresence. + + either an InstanceType or an empty string # noqa: E501 + + :param instance_type: The instance_type of this CurrentUserPresence. # noqa: E501 + :type instance_type: str + """ + + self._instance_type = instance_type + + @property + def is_rejoining(self): + """Gets the is_rejoining of this CurrentUserPresence. # noqa: E501 + + + :return: The is_rejoining of this CurrentUserPresence. # noqa: E501 + :rtype: str + """ + return self._is_rejoining + + @is_rejoining.setter + def is_rejoining(self, is_rejoining): + """Sets the is_rejoining of this CurrentUserPresence. + + + :param is_rejoining: The is_rejoining of this CurrentUserPresence. # noqa: E501 + :type is_rejoining: str + """ + + self._is_rejoining = is_rejoining + + @property + def platform(self): + """Gets the platform of this CurrentUserPresence. # noqa: E501 + + either a Platform or an empty string # noqa: E501 + + :return: The platform of this CurrentUserPresence. # noqa: E501 + :rtype: str + """ + return self._platform + + @platform.setter + def platform(self, platform): + """Sets the platform of this CurrentUserPresence. + + either a Platform or an empty string # noqa: E501 + + :param platform: The platform of this CurrentUserPresence. # noqa: E501 + :type platform: str + """ + + self._platform = platform + + @property + def profile_pic_override(self): + """Gets the profile_pic_override of this CurrentUserPresence. # noqa: E501 + + + :return: The profile_pic_override of this CurrentUserPresence. # noqa: E501 + :rtype: str + """ + return self._profile_pic_override + + @profile_pic_override.setter + def profile_pic_override(self, profile_pic_override): + """Sets the profile_pic_override of this CurrentUserPresence. + + + :param profile_pic_override: The profile_pic_override of this CurrentUserPresence. # noqa: E501 + :type profile_pic_override: str + """ + + self._profile_pic_override = profile_pic_override + + @property + def status(self): + """Gets the status of this CurrentUserPresence. # noqa: E501 + + either a UserStatus or empty string # noqa: E501 + + :return: The status of this CurrentUserPresence. # noqa: E501 + :rtype: str + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this CurrentUserPresence. + + either a UserStatus or empty string # noqa: E501 + + :param status: The status of this CurrentUserPresence. # noqa: E501 + :type status: str + """ + + self._status = status + + @property + def traveling_to_instance(self): + """Gets the traveling_to_instance of this CurrentUserPresence. # noqa: E501 + + + :return: The traveling_to_instance of this CurrentUserPresence. # noqa: E501 + :rtype: str + """ + return self._traveling_to_instance + + @traveling_to_instance.setter + def traveling_to_instance(self, traveling_to_instance): + """Sets the traveling_to_instance of this CurrentUserPresence. + + + :param traveling_to_instance: The traveling_to_instance of this CurrentUserPresence. # noqa: E501 + :type traveling_to_instance: str + """ + + self._traveling_to_instance = traveling_to_instance + + @property + def traveling_to_world(self): + """Gets the traveling_to_world of this CurrentUserPresence. # noqa: E501 + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :return: The traveling_to_world of this CurrentUserPresence. # noqa: E501 + :rtype: str + """ + return self._traveling_to_world + + @traveling_to_world.setter + def traveling_to_world(self, traveling_to_world): + """Sets the traveling_to_world of this CurrentUserPresence. + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :param traveling_to_world: The traveling_to_world of this CurrentUserPresence. # noqa: E501 + :type traveling_to_world: str + """ + if (self.local_vars_configuration.client_side_validation and + traveling_to_world is not None and not re.search(r'(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})', traveling_to_world)): # noqa: E501 + raise ValueError(r"Invalid value for `traveling_to_world`, must be a follow pattern or equal to `/(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})/`") # noqa: E501 + + self._traveling_to_world = traveling_to_world + + @property + def world(self): + """Gets the world of this CurrentUserPresence. # noqa: E501 + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :return: The world of this CurrentUserPresence. # noqa: E501 + :rtype: str + """ + return self._world + + @world.setter + def world(self, world): + """Sets the world of this CurrentUserPresence. + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :param world: The world of this CurrentUserPresence. # noqa: E501 + :type world: str + """ + if (self.local_vars_configuration.client_side_validation and + world is not None and not re.search(r'(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})', world)): # noqa: E501 + raise ValueError(r"Invalid value for `world`, must be a follow pattern or equal to `/(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})/`") # noqa: E501 + + self._world = world + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CurrentUserPresence): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, CurrentUserPresence): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/deployment_group.py b/vrchatapi/models/deployment_group.py index 9d2fec9e..8900668f 100644 --- a/vrchatapi/models/deployment_group.py +++ b/vrchatapi/models/deployment_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index f821cc91..dc7df852 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index da185c4f..27f7b5f2 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index 20e1885b..fda83f35 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index 3d229949..2209a39d 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index b202b8f0..331ca224 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index e0ba318f..9741a033 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index 0aa9fc78..ffe74a20 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index 91714cb9..c7fa8bdb 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index 4e58cab4..3061eab3 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index 9dd2ede1..501f9c52 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index e15a234b..61335d7c 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index 59f70d4d..0484a50a 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index fff5abea..053bb844 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index 761d0489..f4f96727 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index dd402014..152a8d9f 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index 37e64f41..4e02ecff 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index 2434f27e..36b9b740 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index e85f08f8..d0bce152 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index f55c6db4..bf1be524 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index 1e01b54a..d0b03b21 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index 42245208..e490491a 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index 102b6011..bf4661cc 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index 389695bc..9442aee0 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index 46ffb0de..428607b1 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index 19f36113..5ae858cd 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index 8c3671bf..7b03cbfe 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index 17cee63a..747bac73 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index 91331356..320ab0de 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index 8f8555d9..fbf9d3e3 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index 35ff172f..efa47d48 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index 599e7f64..0a3655ef 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index c815d9ae..86407fae 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index cdb42089..6639b037 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index a8516a30..81819c33 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index 876bb346..e08cd5b4 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index a2e2bfd6..ffb69d07 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index 79401e24..71667585 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index e65b61a3..cedbdb85 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index 1e014c53..00167dda 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index d2ec63c5..f7e9486c 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index 10fd4919..6d57a3f0 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index c7bed91c..6424ac92 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index 2e01bb47..35453659 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index 6609f0cc..ead6c6eb 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index df3fcd6d..e2f18b17 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index 8f10293f..8da551ed 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index 304595ff..5ef430b3 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index f25cbefc..72316b7d 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index f4536d21..afbe96c2 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user.py b/vrchatapi/models/limited_user.py index de6a053d..97846025 100644 --- a/vrchatapi/models/limited_user.py +++ b/vrchatapi/models/limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -106,7 +106,8 @@ def __init__(self, bio=None, current_avatar_image_url=None, current_avatar_thumb self.current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url self.developer_type = developer_type self.display_name = display_name - self.fallback_avatar = fallback_avatar + if fallback_avatar is not None: + self.fallback_avatar = fallback_avatar self.id = id self.is_friend = is_friend self.last_platform = last_platform @@ -257,8 +258,6 @@ def fallback_avatar(self, fallback_avatar): :param fallback_avatar: The fallback_avatar of this LimitedUser. # noqa: E501 :type fallback_avatar: str """ - if self.local_vars_configuration.client_side_validation and fallback_avatar is None: # noqa: E501 - raise ValueError("Invalid value for `fallback_avatar`, must not be `None`") # noqa: E501 if (self.local_vars_configuration.client_side_validation and fallback_avatar is not None and not re.search(r'avtr_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', fallback_avatar)): # noqa: E501 raise ValueError(r"Invalid value for `fallback_avatar`, must be a follow pattern or equal to `/avtr_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index 083ccf36..41370de5 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index b3626fd0..9dbd3fc9 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index 82792f0a..76b89568 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index bf739393..f94cf78b 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index 066322ef..a23aac8e 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index 8bb76d2a..1349a5be 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index a524bcbd..0a141302 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index d4f5e39e..ab960583 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index 36bfc057..71131e1b 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index 0c11559e..784a9b26 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index 7b52cccd..81807b53 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index 9cd473c8..d56d11f8 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index 3b5aa691..645d9a4f 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index 2c0a9fad..add678e9 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index f7afb862..9c4030cc 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index 1dd905c9..f9f71e2c 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index 7a366125..6df91cc0 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index e2b95afd..7d9b00eb 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index 4f4daeee..9abc1ba6 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index 9e28114b..3740e607 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index 3ef9ce08..bad2eeba 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index ee8627b7..01587baa 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index 4d6c7585..4caf7cd9 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index 6829c9fd..5ffb1ade 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index f06bf890..5b098b98 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index 5107d1bd..0e59f0b2 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index 81738df6..4bfe5e4a 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_email_code.py b/vrchatapi/models/two_factor_email_code.py index 8ed6a8a2..46498599 100644 --- a/vrchatapi/models/two_factor_email_code.py +++ b/vrchatapi/models/two_factor_email_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index 89611633..9343d21c 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index 076401db..213b820f 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index e66c4eba..01f3f83a 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index 4385976f..2d87106c 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index f9d65a18..00e593d2 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index e9c98a98..b9281626 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index 8eee310e..ded80f02 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index 90ee08af..8fdda3b1 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index be4c068a..f9a23c26 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index 810a157e..9b3c22a2 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index 46822db2..202b19c5 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index a97d6779..79b55d41 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index eab6686a..2d1e9726 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index 8f994aad..73ea7600 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index 890cc9cb..29ca040b 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_email_code_result.py b/vrchatapi/models/verify2_fa_email_code_result.py index 2a150d4e..f850bd22 100644 --- a/vrchatapi/models/verify2_fa_email_code_result.py +++ b/vrchatapi/models/verify2_fa_email_code_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index d1c5053f..289d2fa9 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index d5528341..8044d448 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index ba3b7103..05e1aa42 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -39,6 +39,7 @@ class World(object): 'author_id': 'str', 'author_name': 'str', 'capacity': 'int', + 'recommended_capacity': 'int', 'created_at': 'datetime', 'description': 'str', 'favorites': 'int', @@ -70,6 +71,7 @@ class World(object): 'author_id': 'authorId', 'author_name': 'authorName', 'capacity': 'capacity', + 'recommended_capacity': 'recommendedCapacity', 'created_at': 'created_at', 'description': 'description', 'favorites': 'favorites', @@ -97,7 +99,7 @@ class World(object): 'visits': 'visits' } - def __init__(self, author_id=None, author_name=None, capacity=None, created_at=None, description=None, favorites=0, featured=False, heat=0, id=None, image_url=None, instances=None, labs_publication_date=None, name=None, namespace=None, occupants=0, organization='vrchat', popularity=0, preview_youtube_id=None, private_occupants=0, public_occupants=0, publication_date=None, release_status=None, tags=None, thumbnail_image_url=None, unity_packages=None, updated_at=None, version=0, visits=0, local_vars_configuration=None): # noqa: E501 + def __init__(self, author_id=None, author_name=None, capacity=None, recommended_capacity=None, created_at=None, description=None, favorites=0, featured=False, heat=0, id=None, image_url=None, instances=None, labs_publication_date=None, name=None, namespace=None, occupants=0, organization='vrchat', popularity=0, preview_youtube_id=None, private_occupants=0, public_occupants=0, publication_date=None, release_status=None, tags=None, thumbnail_image_url=None, unity_packages=None, updated_at=None, version=0, visits=0, local_vars_configuration=None): # noqa: E501 """World - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -106,6 +108,7 @@ def __init__(self, author_id=None, author_name=None, capacity=None, created_at=N self._author_id = None self._author_name = None self._capacity = None + self._recommended_capacity = None self._created_at = None self._description = None self._favorites = None @@ -136,6 +139,7 @@ def __init__(self, author_id=None, author_name=None, capacity=None, created_at=N self.author_id = author_id self.author_name = author_name self.capacity = capacity + self.recommended_capacity = recommended_capacity self.created_at = created_at self.description = description if favorites is not None: @@ -238,15 +242,32 @@ def capacity(self, capacity): """ if self.local_vars_configuration.client_side_validation and capacity is None: # noqa: E501 raise ValueError("Invalid value for `capacity`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - capacity is not None and capacity > 40): # noqa: E501 - raise ValueError("Invalid value for `capacity`, must be a value less than or equal to `40`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - capacity is not None and capacity < 0): # noqa: E501 - raise ValueError("Invalid value for `capacity`, must be a value greater than or equal to `0`") # noqa: E501 self._capacity = capacity + @property + def recommended_capacity(self): + """Gets the recommended_capacity of this World. # noqa: E501 + + + :return: The recommended_capacity of this World. # noqa: E501 + :rtype: int + """ + return self._recommended_capacity + + @recommended_capacity.setter + def recommended_capacity(self, recommended_capacity): + """Sets the recommended_capacity of this World. + + + :param recommended_capacity: The recommended_capacity of this World. # noqa: E501 + :type recommended_capacity: int + """ + if self.local_vars_configuration.client_side_validation and recommended_capacity is None: # noqa: E501 + raise ValueError("Invalid value for `recommended_capacity`, must not be `None`") # noqa: E501 + + self._recommended_capacity = recommended_capacity + @property def created_at(self): """Gets the created_at of this World. # noqa: E501 diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index 7532ca44..dcebe34d 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index 6ca7426b..fe58cfe9 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index 90b0c423..326e1e2a 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.12.0 + The version of the OpenAPI document: 1.13.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ From 2b7cac7ea174ad0e8b4d79cccc75661b594004b4 Mon Sep 17 00:00:00 2001 From: VRCCat Date: Thu, 21 Sep 2023 04:42:47 +0000 Subject: [PATCH 033/102] Upgrade Python SDK to spec 1.14.0 --- setup.py | 4 ++-- vrchatapi/__init__.py | 2 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/groups_api.py | 2 +- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 ++-- vrchatapi/exceptions.py | 2 +- vrchatapi/models/__init__.py | 2 +- vrchatapi/models/account_deletion_log.py | 2 +- vrchatapi/models/add_favorite_request.py | 2 +- vrchatapi/models/add_group_gallery_image_request.py | 2 +- vrchatapi/models/api_config.py | 2 +- vrchatapi/models/api_config_announcement.py | 2 +- vrchatapi/models/api_config_download_url_list.py | 2 +- vrchatapi/models/api_config_events.py | 2 +- vrchatapi/models/api_health.py | 2 +- vrchatapi/models/avatar.py | 2 +- vrchatapi/models/avatar_unity_package_url_object.py | 2 +- vrchatapi/models/ban_group_member_request.py | 2 +- vrchatapi/models/create_avatar_request.py | 2 +- vrchatapi/models/create_file_request.py | 2 +- vrchatapi/models/create_file_version_request.py | 2 +- vrchatapi/models/create_group_announcement_request.py | 2 +- vrchatapi/models/create_group_gallery_request.py | 2 +- vrchatapi/models/create_group_invite_request.py | 2 +- vrchatapi/models/create_group_request.py | 2 +- vrchatapi/models/create_group_role_request.py | 2 +- vrchatapi/models/create_world_request.py | 2 +- vrchatapi/models/current_user.py | 2 +- vrchatapi/models/current_user_presence.py | 2 +- vrchatapi/models/deployment_group.py | 2 +- vrchatapi/models/developer_type.py | 2 +- vrchatapi/models/dynamic_content_row.py | 2 +- vrchatapi/models/error.py | 2 +- vrchatapi/models/favorite.py | 2 +- vrchatapi/models/favorite_group.py | 2 +- vrchatapi/models/favorite_group_visibility.py | 2 +- vrchatapi/models/favorite_type.py | 2 +- vrchatapi/models/file.py | 2 +- vrchatapi/models/file_data.py | 2 +- vrchatapi/models/file_status.py | 2 +- vrchatapi/models/file_upload_url.py | 2 +- vrchatapi/models/file_version.py | 2 +- vrchatapi/models/file_version_upload_status.py | 2 +- vrchatapi/models/finish_file_data_upload_request.py | 2 +- vrchatapi/models/friend_status.py | 2 +- vrchatapi/models/group.py | 2 +- vrchatapi/models/group_announcement.py | 2 +- vrchatapi/models/group_audit_log_entry.py | 2 +- vrchatapi/models/group_gallery.py | 2 +- vrchatapi/models/group_gallery_image.py | 2 +- vrchatapi/models/group_join_state.py | 2 +- vrchatapi/models/group_limited_member.py | 2 +- vrchatapi/models/group_member.py | 2 +- vrchatapi/models/group_member_limited_user.py | 2 +- vrchatapi/models/group_member_status.py | 2 +- vrchatapi/models/group_my_member.py | 2 +- vrchatapi/models/group_permission.py | 2 +- vrchatapi/models/group_privacy.py | 2 +- vrchatapi/models/group_role.py | 2 +- vrchatapi/models/group_role_template.py | 2 +- vrchatapi/models/group_user_visibility.py | 2 +- vrchatapi/models/info_push.py | 2 +- vrchatapi/models/info_push_data.py | 2 +- vrchatapi/models/info_push_data_article.py | 2 +- vrchatapi/models/info_push_data_article_content.py | 2 +- vrchatapi/models/info_push_data_clickable.py | 2 +- vrchatapi/models/instance.py | 2 +- vrchatapi/models/instance_platforms.py | 2 +- vrchatapi/models/instance_short_name_response.py | 2 +- vrchatapi/models/instance_type.py | 5 +++-- vrchatapi/models/invite_message.py | 2 +- vrchatapi/models/invite_message_type.py | 2 +- vrchatapi/models/invite_request.py | 2 +- vrchatapi/models/invite_response.py | 2 +- vrchatapi/models/license.py | 2 +- vrchatapi/models/license_action.py | 2 +- vrchatapi/models/license_group.py | 2 +- vrchatapi/models/license_type.py | 2 +- vrchatapi/models/limited_unity_package.py | 2 +- vrchatapi/models/limited_user.py | 2 +- vrchatapi/models/limited_world.py | 2 +- vrchatapi/models/mime_type.py | 2 +- vrchatapi/models/moderate_user_request.py | 2 +- vrchatapi/models/notification.py | 2 +- vrchatapi/models/notification_type.py | 2 +- vrchatapi/models/order_option.py | 2 +- vrchatapi/models/paginated_group_audit_log_entry_list.py | 2 +- vrchatapi/models/past_display_name.py | 2 +- vrchatapi/models/permission.py | 2 +- vrchatapi/models/player_moderation.py | 2 +- vrchatapi/models/player_moderation_type.py | 2 +- vrchatapi/models/region.py | 2 +- vrchatapi/models/release_status.py | 2 +- vrchatapi/models/request_invite_request.py | 2 +- vrchatapi/models/respond_group_join_request.py | 2 +- vrchatapi/models/response.py | 2 +- vrchatapi/models/sent_notification.py | 2 +- vrchatapi/models/sort_option.py | 2 +- vrchatapi/models/subscription.py | 2 +- vrchatapi/models/subscription_period.py | 2 +- vrchatapi/models/success.py | 2 +- vrchatapi/models/transaction.py | 2 +- vrchatapi/models/transaction_agreement.py | 2 +- vrchatapi/models/transaction_status.py | 2 +- vrchatapi/models/transaction_steam_info.py | 2 +- vrchatapi/models/transaction_steam_wallet_info.py | 2 +- vrchatapi/models/two_factor_auth_code.py | 2 +- vrchatapi/models/two_factor_email_code.py | 2 +- vrchatapi/models/unity_package.py | 2 +- vrchatapi/models/update_avatar_request.py | 2 +- vrchatapi/models/update_favorite_group_request.py | 2 +- vrchatapi/models/update_group_gallery_request.py | 2 +- vrchatapi/models/update_group_member_request.py | 2 +- vrchatapi/models/update_group_request.py | 2 +- vrchatapi/models/update_group_role_request.py | 2 +- vrchatapi/models/update_invite_message_request.py | 2 +- vrchatapi/models/update_user_request.py | 2 +- vrchatapi/models/update_world_request.py | 2 +- vrchatapi/models/user.py | 2 +- vrchatapi/models/user_exists.py | 2 +- vrchatapi/models/user_state.py | 2 +- vrchatapi/models/user_status.py | 2 +- vrchatapi/models/user_subscription.py | 2 +- vrchatapi/models/verify2_fa_email_code_result.py | 2 +- vrchatapi/models/verify2_fa_result.py | 2 +- vrchatapi/models/verify_auth_token_result.py | 2 +- vrchatapi/models/world.py | 2 +- vrchatapi/models/world_metadata.py | 2 +- vrchatapi/models/world_publish_status.py | 2 +- vrchatapi/rest.py | 2 +- 144 files changed, 148 insertions(+), 147 deletions(-) diff --git a/setup.py b/setup.py index b6b7a8bc..4b44f036 100644 --- a/setup.py +++ b/setup.py @@ -81,7 +81,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -90,7 +90,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.13.0" +VERSION = "1.14.0" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 7af99dbd..af710a1c 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,7 +6,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index 945f0735..605ed79b 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index 97a62478..6a331574 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 4d3bc86f..d4c85f4a 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index fb77b68b..327022d5 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index b5ef136e..bf8783bb 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index b1c6967b..c0949849 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index d8ae572a..989c2068 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index ca5993b7..f2d8dc58 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index c03d38f3..5308014d 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index 17f3aba6..cd9475b7 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index ca247acf..ba0f9613 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index 67342f24..ab1b6919 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index 728e52ac..7ad0b06e 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index 86139418..78587eae 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 27320cab..dd2780ac 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index 01d04087..efa986da 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,7 +3,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index 2e6a3a20..6763c6b7 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -441,7 +441,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.13.0\n"\ + "Version of the API: 1.14.0\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index d78d3fba..e42f67f9 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index eaf0abc3..b650f00e 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,7 +5,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/account_deletion_log.py b/vrchatapi/models/account_deletion_log.py index f5f7cc88..03c987d7 100644 --- a/vrchatapi/models/account_deletion_log.py +++ b/vrchatapi/models/account_deletion_log.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index 5d7a3a2f..1d0aeb87 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index 492c4467..23cd457e 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index 3b105f50..43ad341b 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index bd334f6c..a0f0fbb3 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index 0bf9a4d5..feb8dfa7 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index 5687d4ce..e0bff297 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index 36bfd54c..2b0e9e12 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index 99c85f7d..afb08450 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index f7c54fac..323a8061 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index 350873fc..09047a6d 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index 9591d51d..9002b0ca 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index 18f4de43..d91d886d 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index 3a91366a..f8dea831 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index 57794673..9b35566a 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index 12638d7f..1f4b407c 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index b82099eb..9b63f7a4 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index a0bda963..520af89d 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index a2d6b617..94c8c11a 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index e079628d..8c380449 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index d1c138fc..a9bb1809 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user_presence.py b/vrchatapi/models/current_user_presence.py index 18d7ebcd..631ca2e6 100644 --- a/vrchatapi/models/current_user_presence.py +++ b/vrchatapi/models/current_user_presence.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/deployment_group.py b/vrchatapi/models/deployment_group.py index 8900668f..7550f60f 100644 --- a/vrchatapi/models/deployment_group.py +++ b/vrchatapi/models/deployment_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index dc7df852..c0c5bb77 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index 27f7b5f2..42f9fe18 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index fda83f35..32f3745f 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index 2209a39d..babdd2b6 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index 331ca224..fc9e5c68 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index 9741a033..dd6d9220 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index ffe74a20..225570c4 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index c7fa8bdb..6885640a 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index 3061eab3..e4682b24 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index 501f9c52..6d00c686 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index 61335d7c..0e8c4b67 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index 0484a50a..31044143 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index 053bb844..a74904d9 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index f4f96727..6b00d84d 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index 152a8d9f..4cc89c6f 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index 4e02ecff..7ef02ea5 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index 36b9b740..86fbc946 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index d0bce152..e595cca4 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index bf1be524..731c0ad2 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index d0b03b21..b6731210 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index e490491a..0dd554cb 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index bf4661cc..3935a5bd 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index 9442aee0..8d01b8a1 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index 428607b1..b100033b 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index 5ae858cd..0583af35 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index 7b03cbfe..b50cb691 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index 747bac73..e34107ca 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index 320ab0de..f217b80c 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index fbf9d3e3..a6d9b3c2 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index efa47d48..81b97c99 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index 0a3655ef..5abcbf84 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index 86407fae..16217247 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index 6639b037..0ed0e5ab 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index 81819c33..6a519cc1 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index e08cd5b4..c69f3c28 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index ffb69d07..52357eca 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index 71667585..04638fa3 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index cedbdb85..2d7fdfe8 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index 00167dda..19c11133 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index f7e9486c..45042f71 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -35,8 +35,9 @@ class InstanceType(object): HIDDEN = "hidden" FRIENDS = "friends" PRIVATE = "private" + GROUP = "group" - allowable_values = [PUBLIC, HIDDEN, FRIENDS, PRIVATE] # noqa: E501 + allowable_values = [PUBLIC, HIDDEN, FRIENDS, PRIVATE, GROUP] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index 6d57a3f0..ffb80084 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index 6424ac92..d6b79208 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index 35453659..0e1fe878 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index ead6c6eb..5793996c 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index e2f18b17..dc459d3f 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index 8da551ed..a56fd6f4 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index 5ef430b3..95391f0d 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index 72316b7d..e670844b 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index afbe96c2..acf2c5d4 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user.py b/vrchatapi/models/limited_user.py index 97846025..6978f61f 100644 --- a/vrchatapi/models/limited_user.py +++ b/vrchatapi/models/limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index 41370de5..83e09e28 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index 9dbd3fc9..9c46eccd 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index 76b89568..7847858e 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index f94cf78b..492be597 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index a23aac8e..2c7d259d 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index 1349a5be..9f4f1e91 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index 0a141302..b695b87c 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index ab960583..cc1d7a82 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index 71131e1b..5d20e973 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index 784a9b26..ec62cecf 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index 81807b53..45702b82 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index d56d11f8..f6b5ac33 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index 645d9a4f..65542675 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index add678e9..9db53553 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index 9c4030cc..ff281415 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index f9f71e2c..76f00ccf 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index 6df91cc0..5b39df6e 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index 7d9b00eb..bd794678 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index 9abc1ba6..10a7b318 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index 3740e607..01023553 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index bad2eeba..1240510e 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index 01587baa..36423469 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index 4caf7cd9..2c7c352e 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index 5ffb1ade..8bf2444c 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index 5b098b98..6c932c48 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index 0e59f0b2..a0752cd7 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index 4bfe5e4a..f561313e 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_email_code.py b/vrchatapi/models/two_factor_email_code.py index 46498599..642a037c 100644 --- a/vrchatapi/models/two_factor_email_code.py +++ b/vrchatapi/models/two_factor_email_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index 9343d21c..4236ae01 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index 213b820f..d6bc79e2 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index 01f3f83a..8e49be01 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index 2d87106c..dfa133ca 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index 00e593d2..0260deb8 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index b9281626..5984a0a7 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index ded80f02..2dfcab00 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index 8fdda3b1..d3887196 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index f9a23c26..2b639dc7 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index 9b3c22a2..053443d8 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index 202b19c5..79e349cf 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index 79b55d41..5d3bb0a9 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index 2d1e9726..c5857c7a 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index 73ea7600..6879ffa2 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index 29ca040b..c968bdf9 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_email_code_result.py b/vrchatapi/models/verify2_fa_email_code_result.py index f850bd22..f0d1b0b4 100644 --- a/vrchatapi/models/verify2_fa_email_code_result.py +++ b/vrchatapi/models/verify2_fa_email_code_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index 289d2fa9..87c9e5e5 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index 8044d448..62e616c8 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index 05e1aa42..eaae9643 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index dcebe34d..d6eedd85 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index fe58cfe9..94dbd93d 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index 326e1e2a..c58dd02d 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.13.0 + The version of the OpenAPI document: 1.14.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ From 6701db0bb85531dea560103679a2a8faad2038d8 Mon Sep 17 00:00:00 2001 From: VRCCat Date: Wed, 4 Oct 2023 02:14:08 +0000 Subject: [PATCH 034/102] Upgrade Python SDK to spec 1.15.0 --- docs/World.md | 2 +- setup.py | 4 ++-- vrchatapi/__init__.py | 2 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/groups_api.py | 2 +- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 ++-- vrchatapi/exceptions.py | 2 +- vrchatapi/models/__init__.py | 2 +- vrchatapi/models/account_deletion_log.py | 2 +- vrchatapi/models/add_favorite_request.py | 2 +- vrchatapi/models/add_group_gallery_image_request.py | 2 +- vrchatapi/models/api_config.py | 2 +- vrchatapi/models/api_config_announcement.py | 2 +- vrchatapi/models/api_config_download_url_list.py | 2 +- vrchatapi/models/api_config_events.py | 2 +- vrchatapi/models/api_health.py | 2 +- vrchatapi/models/avatar.py | 2 +- vrchatapi/models/avatar_unity_package_url_object.py | 2 +- vrchatapi/models/ban_group_member_request.py | 2 +- vrchatapi/models/create_avatar_request.py | 2 +- vrchatapi/models/create_file_request.py | 2 +- vrchatapi/models/create_file_version_request.py | 2 +- vrchatapi/models/create_group_announcement_request.py | 2 +- vrchatapi/models/create_group_gallery_request.py | 2 +- vrchatapi/models/create_group_invite_request.py | 2 +- vrchatapi/models/create_group_request.py | 2 +- vrchatapi/models/create_group_role_request.py | 2 +- vrchatapi/models/create_world_request.py | 2 +- vrchatapi/models/current_user.py | 2 +- vrchatapi/models/current_user_presence.py | 2 +- vrchatapi/models/deployment_group.py | 2 +- vrchatapi/models/developer_type.py | 2 +- vrchatapi/models/dynamic_content_row.py | 2 +- vrchatapi/models/error.py | 2 +- vrchatapi/models/favorite.py | 2 +- vrchatapi/models/favorite_group.py | 2 +- vrchatapi/models/favorite_group_visibility.py | 2 +- vrchatapi/models/favorite_type.py | 2 +- vrchatapi/models/file.py | 2 +- vrchatapi/models/file_data.py | 2 +- vrchatapi/models/file_status.py | 2 +- vrchatapi/models/file_upload_url.py | 2 +- vrchatapi/models/file_version.py | 2 +- vrchatapi/models/file_version_upload_status.py | 2 +- vrchatapi/models/finish_file_data_upload_request.py | 2 +- vrchatapi/models/friend_status.py | 2 +- vrchatapi/models/group.py | 2 +- vrchatapi/models/group_announcement.py | 2 +- vrchatapi/models/group_audit_log_entry.py | 2 +- vrchatapi/models/group_gallery.py | 2 +- vrchatapi/models/group_gallery_image.py | 2 +- vrchatapi/models/group_join_state.py | 2 +- vrchatapi/models/group_limited_member.py | 2 +- vrchatapi/models/group_member.py | 2 +- vrchatapi/models/group_member_limited_user.py | 2 +- vrchatapi/models/group_member_status.py | 2 +- vrchatapi/models/group_my_member.py | 2 +- vrchatapi/models/group_permission.py | 2 +- vrchatapi/models/group_privacy.py | 2 +- vrchatapi/models/group_role.py | 2 +- vrchatapi/models/group_role_template.py | 2 +- vrchatapi/models/group_user_visibility.py | 2 +- vrchatapi/models/info_push.py | 2 +- vrchatapi/models/info_push_data.py | 2 +- vrchatapi/models/info_push_data_article.py | 2 +- vrchatapi/models/info_push_data_article_content.py | 2 +- vrchatapi/models/info_push_data_clickable.py | 2 +- vrchatapi/models/instance.py | 2 +- vrchatapi/models/instance_platforms.py | 2 +- vrchatapi/models/instance_short_name_response.py | 2 +- vrchatapi/models/instance_type.py | 2 +- vrchatapi/models/invite_message.py | 2 +- vrchatapi/models/invite_message_type.py | 2 +- vrchatapi/models/invite_request.py | 2 +- vrchatapi/models/invite_response.py | 2 +- vrchatapi/models/license.py | 2 +- vrchatapi/models/license_action.py | 2 +- vrchatapi/models/license_group.py | 2 +- vrchatapi/models/license_type.py | 2 +- vrchatapi/models/limited_unity_package.py | 2 +- vrchatapi/models/limited_user.py | 2 +- vrchatapi/models/limited_world.py | 2 +- vrchatapi/models/mime_type.py | 2 +- vrchatapi/models/moderate_user_request.py | 2 +- vrchatapi/models/notification.py | 2 +- vrchatapi/models/notification_type.py | 2 +- vrchatapi/models/order_option.py | 2 +- vrchatapi/models/paginated_group_audit_log_entry_list.py | 2 +- vrchatapi/models/past_display_name.py | 2 +- vrchatapi/models/permission.py | 2 +- vrchatapi/models/player_moderation.py | 2 +- vrchatapi/models/player_moderation_type.py | 2 +- vrchatapi/models/region.py | 2 +- vrchatapi/models/release_status.py | 2 +- vrchatapi/models/request_invite_request.py | 2 +- vrchatapi/models/respond_group_join_request.py | 2 +- vrchatapi/models/response.py | 2 +- vrchatapi/models/sent_notification.py | 2 +- vrchatapi/models/sort_option.py | 2 +- vrchatapi/models/subscription.py | 2 +- vrchatapi/models/subscription_period.py | 2 +- vrchatapi/models/success.py | 2 +- vrchatapi/models/transaction.py | 2 +- vrchatapi/models/transaction_agreement.py | 2 +- vrchatapi/models/transaction_status.py | 2 +- vrchatapi/models/transaction_steam_info.py | 2 +- vrchatapi/models/transaction_steam_wallet_info.py | 2 +- vrchatapi/models/two_factor_auth_code.py | 2 +- vrchatapi/models/two_factor_email_code.py | 2 +- vrchatapi/models/unity_package.py | 2 +- vrchatapi/models/update_avatar_request.py | 2 +- vrchatapi/models/update_favorite_group_request.py | 2 +- vrchatapi/models/update_group_gallery_request.py | 2 +- vrchatapi/models/update_group_member_request.py | 2 +- vrchatapi/models/update_group_request.py | 2 +- vrchatapi/models/update_group_role_request.py | 2 +- vrchatapi/models/update_invite_message_request.py | 2 +- vrchatapi/models/update_user_request.py | 2 +- vrchatapi/models/update_world_request.py | 2 +- vrchatapi/models/user.py | 2 +- vrchatapi/models/user_exists.py | 2 +- vrchatapi/models/user_state.py | 2 +- vrchatapi/models/user_status.py | 2 +- vrchatapi/models/user_subscription.py | 2 +- vrchatapi/models/verify2_fa_email_code_result.py | 2 +- vrchatapi/models/verify2_fa_result.py | 2 +- vrchatapi/models/verify_auth_token_result.py | 2 +- vrchatapi/models/world.py | 7 +++---- vrchatapi/models/world_metadata.py | 2 +- vrchatapi/models/world_publish_status.py | 2 +- vrchatapi/rest.py | 2 +- 145 files changed, 149 insertions(+), 150 deletions(-) diff --git a/docs/World.md b/docs/World.md index 8a19d4f2..1ddd60f3 100644 --- a/docs/World.md +++ b/docs/World.md @@ -30,7 +30,7 @@ Name | Type | Description | Notes **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | **tags** | **list[str]** | | **thumbnail_image_url** | **str** | | -**unity_packages** | [**list[UnityPackage]**](UnityPackage.md) | Empty if unauthenticated. | +**unity_packages** | [**list[UnityPackage]**](UnityPackage.md) | Empty if unauthenticated. | [optional] **updated_at** | **datetime** | | **version** | **int** | | [default to 0] **visits** | **int** | | [default to 0] diff --git a/setup.py b/setup.py index 4b44f036..017bd9e3 100644 --- a/setup.py +++ b/setup.py @@ -81,7 +81,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -90,7 +90,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.14.0" +VERSION = "1.15.0" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index af710a1c..71cabcca 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,7 +6,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index 605ed79b..f334b6a8 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index 6a331574..50fcb2bd 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index d4c85f4a..35c3422f 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index 327022d5..55ad3149 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index bf8783bb..f86304ac 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index c0949849..ce0f7827 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index 989c2068..482e2f27 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index f2d8dc58..60d6cea4 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index 5308014d..cda8498e 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index cd9475b7..768dba9a 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index ba0f9613..6a86473b 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index ab1b6919..02ecfff1 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index 7ad0b06e..6722b964 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index 78587eae..f57ad3f9 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index dd2780ac..b589be94 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index efa986da..7dbb06c1 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,7 +3,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index 6763c6b7..6dcca756 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -441,7 +441,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.14.0\n"\ + "Version of the API: 1.15.0\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index e42f67f9..c10d9d4b 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index b650f00e..f50d4fad 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,7 +5,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/account_deletion_log.py b/vrchatapi/models/account_deletion_log.py index 03c987d7..973dd383 100644 --- a/vrchatapi/models/account_deletion_log.py +++ b/vrchatapi/models/account_deletion_log.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index 1d0aeb87..09565308 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index 23cd457e..47bb524e 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index 43ad341b..a0268128 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index a0f0fbb3..2b749fdb 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index feb8dfa7..ae76eb05 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index e0bff297..83180e36 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index 2b0e9e12..45bc0a9b 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index afb08450..484279b4 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index 323a8061..1cde06fd 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index 09047a6d..5bb26fd1 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index 9002b0ca..eb3a3a24 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index d91d886d..77341caf 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index f8dea831..b1a62a50 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index 9b35566a..4aa79312 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index 1f4b407c..e94a0e50 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index 9b63f7a4..9f305263 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index 520af89d..e4436c5f 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index 94c8c11a..0e4d4e88 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index 8c380449..7de87913 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index a9bb1809..a4bf0fb8 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user_presence.py b/vrchatapi/models/current_user_presence.py index 631ca2e6..60e3477f 100644 --- a/vrchatapi/models/current_user_presence.py +++ b/vrchatapi/models/current_user_presence.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/deployment_group.py b/vrchatapi/models/deployment_group.py index 7550f60f..bf154a28 100644 --- a/vrchatapi/models/deployment_group.py +++ b/vrchatapi/models/deployment_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index c0c5bb77..37e7c19b 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index 42f9fe18..0162832a 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index 32f3745f..8170d6ad 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index babdd2b6..91a6d1c9 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index fc9e5c68..40a0cc8f 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index dd6d9220..7f4610ef 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index 225570c4..689a51a9 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index 6885640a..542baf9a 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index e4682b24..deeaddb8 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index 6d00c686..0864a46c 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index 0e8c4b67..1c6a96e7 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index 31044143..fc2202fb 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index a74904d9..52b9d3e5 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index 6b00d84d..38e47fef 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index 4cc89c6f..b38449f1 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index 7ef02ea5..0bef40f8 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index 86fbc946..86a22ff3 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index e595cca4..ccba78d8 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index 731c0ad2..6d5292e7 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index b6731210..4ad06319 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index 0dd554cb..52b933d6 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index 3935a5bd..cec88b37 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index 8d01b8a1..27671db1 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index b100033b..b80af3f2 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index 0583af35..8a470f4b 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index b50cb691..ba87bf85 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index e34107ca..b1667d3d 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index f217b80c..93345789 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index a6d9b3c2..b15e96d3 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index 81b97c99..9a76689b 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index 5abcbf84..99113e46 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index 16217247..49cf2466 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index 0ed0e5ab..a704d340 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index 6a519cc1..5b81401f 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index c69f3c28..d2c5c4a6 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index 52357eca..06e14923 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index 04638fa3..cbed64bb 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index 2d7fdfe8..6b1c5801 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index 19c11133..9ccd0626 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index 45042f71..51fecbe8 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index ffb80084..910a6bf8 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index d6b79208..0e6a7c96 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index 0e1fe878..44f3083e 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index 5793996c..03f81bfb 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index dc459d3f..550126a9 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index a56fd6f4..e6724aad 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index 95391f0d..06edfa17 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index e670844b..2cbd4909 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index acf2c5d4..6081a603 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user.py b/vrchatapi/models/limited_user.py index 6978f61f..b44b2e37 100644 --- a/vrchatapi/models/limited_user.py +++ b/vrchatapi/models/limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index 83e09e28..0f7e2c30 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index 9c46eccd..187d7810 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index 7847858e..9feaeb9c 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index 492be597..5c2b7ea6 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index 2c7d259d..41f7bc19 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index 9f4f1e91..22e018c1 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index b695b87c..180f519f 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index cc1d7a82..c334807c 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index 5d20e973..30198fb6 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index ec62cecf..7c342bd4 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index 45702b82..564beeb9 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index f6b5ac33..006fd919 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index 65542675..8beefe05 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index 9db53553..31628431 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index ff281415..4297a585 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index 76f00ccf..af77add1 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index 5b39df6e..7f3352c3 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index bd794678..2f771d05 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index 10a7b318..d885bc8c 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index 01023553..10b861ef 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index 1240510e..05a3488c 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index 36423469..a3e1fffd 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index 2c7c352e..43ec64f8 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index 8bf2444c..d4f8f57d 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index 6c932c48..7b07569e 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index a0752cd7..d05a9771 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index f561313e..a7cc46fd 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_email_code.py b/vrchatapi/models/two_factor_email_code.py index 642a037c..5658f62d 100644 --- a/vrchatapi/models/two_factor_email_code.py +++ b/vrchatapi/models/two_factor_email_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index 4236ae01..cd92b741 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index d6bc79e2..4bbc8a27 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index 8e49be01..a7794729 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index dfa133ca..ec23956c 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index 0260deb8..1dfa65fd 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index 5984a0a7..e6803146 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index 2dfcab00..fcde06cd 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index d3887196..9b739d1b 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index 2b639dc7..67067516 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index 053443d8..20de4dfc 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index 79e349cf..64ba4a6b 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index 5d3bb0a9..ea34ed1e 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index c5857c7a..d706080d 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index 6879ffa2..a11378cd 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index c968bdf9..fe83993b 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_email_code_result.py b/vrchatapi/models/verify2_fa_email_code_result.py index f0d1b0b4..52022662 100644 --- a/vrchatapi/models/verify2_fa_email_code_result.py +++ b/vrchatapi/models/verify2_fa_email_code_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index 87c9e5e5..78a8793c 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index 62e616c8..65571ed6 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index eaae9643..74118afc 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -166,7 +166,8 @@ def __init__(self, author_id=None, author_name=None, capacity=None, recommended_ self.release_status = release_status self.tags = tags self.thumbnail_image_url = thumbnail_image_url - self.unity_packages = unity_packages + if unity_packages is not None: + self.unity_packages = unity_packages self.updated_at = updated_at self.version = version self.visits = visits @@ -813,8 +814,6 @@ def unity_packages(self, unity_packages): :param unity_packages: The unity_packages of this World. # noqa: E501 :type unity_packages: list[UnityPackage] """ - if self.local_vars_configuration.client_side_validation and unity_packages is None: # noqa: E501 - raise ValueError("Invalid value for `unity_packages`, must not be `None`") # noqa: E501 self._unity_packages = unity_packages diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index d6eedd85..9f044600 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index 94dbd93d..2ce32bfc 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index c58dd02d..4719133e 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.14.0 + The version of the OpenAPI document: 1.15.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ From 438a4ea197d522add50b50d95002d56dcd580ae9 Mon Sep 17 00:00:00 2001 From: VRCCat Date: Sat, 30 Dec 2023 18:05:24 +0000 Subject: [PATCH 035/102] Upgrade Python SDK to spec 1.16.0 --- docs/CurrentUser.md | 7 + docs/LimitedWorld.md | 2 + docs/UnityPackage.md | 4 +- docs/World.md | 1 + setup.py | 4 +- vrchatapi/__init__.py | 2 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 18 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/groups_api.py | 92 +-------- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 +- vrchatapi/exceptions.py | 2 +- vrchatapi/models/__init__.py | 2 +- vrchatapi/models/account_deletion_log.py | 2 +- vrchatapi/models/add_favorite_request.py | 2 +- .../models/add_group_gallery_image_request.py | 5 +- vrchatapi/models/api_config.py | 17 +- vrchatapi/models/api_config_announcement.py | 2 +- .../models/api_config_download_url_list.py | 2 +- vrchatapi/models/api_config_events.py | 2 +- vrchatapi/models/api_health.py | 2 +- vrchatapi/models/avatar.py | 5 +- .../models/avatar_unity_package_url_object.py | 2 +- vrchatapi/models/ban_group_member_request.py | 2 +- vrchatapi/models/create_avatar_request.py | 5 +- vrchatapi/models/create_file_request.py | 2 +- .../models/create_file_version_request.py | 2 +- .../create_group_announcement_request.py | 5 +- .../models/create_group_gallery_request.py | 2 +- .../models/create_group_invite_request.py | 2 +- vrchatapi/models/create_group_request.py | 2 +- vrchatapi/models/create_group_role_request.py | 2 +- vrchatapi/models/create_world_request.py | 5 +- vrchatapi/models/current_user.py | 193 +++++++++++++++++- vrchatapi/models/current_user_presence.py | 8 +- vrchatapi/models/deployment_group.py | 2 +- vrchatapi/models/developer_type.py | 2 +- vrchatapi/models/dynamic_content_row.py | 2 +- vrchatapi/models/error.py | 2 +- vrchatapi/models/favorite.py | 5 +- vrchatapi/models/favorite_group.py | 5 +- vrchatapi/models/favorite_group_visibility.py | 2 +- vrchatapi/models/favorite_type.py | 2 +- vrchatapi/models/file.py | 5 +- vrchatapi/models/file_data.py | 2 +- vrchatapi/models/file_status.py | 2 +- vrchatapi/models/file_upload_url.py | 2 +- vrchatapi/models/file_version.py | 2 +- .../models/file_version_upload_status.py | 2 +- .../models/finish_file_data_upload_request.py | 8 +- vrchatapi/models/friend_status.py | 2 +- vrchatapi/models/group.py | 11 +- vrchatapi/models/group_announcement.py | 11 +- vrchatapi/models/group_audit_log_entry.py | 8 +- vrchatapi/models/group_gallery.py | 5 +- vrchatapi/models/group_gallery_image.py | 14 +- vrchatapi/models/group_join_state.py | 2 +- vrchatapi/models/group_limited_member.py | 8 +- vrchatapi/models/group_member.py | 8 +- vrchatapi/models/group_member_limited_user.py | 2 +- vrchatapi/models/group_member_status.py | 2 +- vrchatapi/models/group_my_member.py | 8 +- vrchatapi/models/group_permission.py | 2 +- vrchatapi/models/group_privacy.py | 2 +- vrchatapi/models/group_role.py | 8 +- vrchatapi/models/group_role_template.py | 2 +- vrchatapi/models/group_user_visibility.py | 2 +- vrchatapi/models/info_push.py | 2 +- vrchatapi/models/info_push_data.py | 2 +- vrchatapi/models/info_push_data_article.py | 2 +- .../models/info_push_data_article_content.py | 2 +- vrchatapi/models/info_push_data_clickable.py | 2 +- vrchatapi/models/instance.py | 11 +- vrchatapi/models/instance_platforms.py | 2 +- .../models/instance_short_name_response.py | 2 +- vrchatapi/models/instance_type.py | 2 +- vrchatapi/models/invite_message.py | 5 +- vrchatapi/models/invite_message_type.py | 2 +- vrchatapi/models/invite_request.py | 5 +- vrchatapi/models/invite_response.py | 2 +- vrchatapi/models/license.py | 5 +- vrchatapi/models/license_action.py | 2 +- vrchatapi/models/license_group.py | 5 +- vrchatapi/models/license_type.py | 2 +- vrchatapi/models/limited_unity_package.py | 2 +- vrchatapi/models/limited_user.py | 5 +- vrchatapi/models/limited_world.py | 69 +++++-- vrchatapi/models/mime_type.py | 2 +- vrchatapi/models/moderate_user_request.py | 2 +- vrchatapi/models/notification.py | 2 +- vrchatapi/models/notification_type.py | 2 +- vrchatapi/models/order_option.py | 2 +- .../paginated_group_audit_log_entry_list.py | 2 +- vrchatapi/models/past_display_name.py | 2 +- vrchatapi/models/permission.py | 5 +- vrchatapi/models/player_moderation.py | 5 +- vrchatapi/models/player_moderation_type.py | 2 +- vrchatapi/models/region.py | 2 +- vrchatapi/models/release_status.py | 2 +- vrchatapi/models/request_invite_request.py | 2 +- .../models/respond_group_join_request.py | 2 +- vrchatapi/models/response.py | 2 +- vrchatapi/models/sent_notification.py | 2 +- vrchatapi/models/sort_option.py | 2 +- vrchatapi/models/subscription.py | 2 +- vrchatapi/models/subscription_period.py | 2 +- vrchatapi/models/success.py | 2 +- vrchatapi/models/transaction.py | 5 +- vrchatapi/models/transaction_agreement.py | 2 +- vrchatapi/models/transaction_status.py | 2 +- vrchatapi/models/transaction_steam_info.py | 2 +- .../models/transaction_steam_wallet_info.py | 2 +- vrchatapi/models/two_factor_auth_code.py | 2 +- vrchatapi/models/two_factor_email_code.py | 2 +- vrchatapi/models/unity_package.py | 119 +++++++---- vrchatapi/models/update_avatar_request.py | 5 +- .../models/update_favorite_group_request.py | 2 +- .../models/update_group_gallery_request.py | 2 +- .../models/update_group_member_request.py | 2 +- vrchatapi/models/update_group_request.py | 2 +- vrchatapi/models/update_group_role_request.py | 2 +- .../models/update_invite_message_request.py | 2 +- vrchatapi/models/update_user_request.py | 2 +- vrchatapi/models/update_world_request.py | 2 +- vrchatapi/models/user.py | 11 +- vrchatapi/models/user_exists.py | 2 +- vrchatapi/models/user_state.py | 2 +- vrchatapi/models/user_status.py | 2 +- vrchatapi/models/user_subscription.py | 5 +- .../models/verify2_fa_email_code_result.py | 2 +- vrchatapi/models/verify2_fa_result.py | 2 +- vrchatapi/models/verify_auth_token_result.py | 2 +- vrchatapi/models/world.py | 37 +++- vrchatapi/models/world_metadata.py | 5 +- vrchatapi/models/world_publish_status.py | 2 +- vrchatapi/rest.py | 2 +- 148 files changed, 506 insertions(+), 481 deletions(-) diff --git a/docs/CurrentUser.md b/docs/CurrentUser.md index 598264df..65264606 100644 --- a/docs/CurrentUser.md +++ b/docs/CurrentUser.md @@ -16,6 +16,7 @@ Name | Type | Description | Notes **current_avatar_asset_url** | **str** | | **current_avatar_image_url** | **str** | When profilePicOverride is not empty, use it instead. | **current_avatar_thumbnail_image_url** | **str** | When profilePicOverride is not empty, use it instead. | +**current_avatar_tags** | **list[str]** | | [optional] **date_joined** | **date** | | **developer_type** | [**DeveloperType**](DeveloperType.md) | | **display_name** | **str** | | @@ -25,6 +26,9 @@ Name | Type | Description | Notes **friend_key** | **str** | | **friends** | **list[str]** | | **has_birthday** | **bool** | | +**hide_content_filter_settings** | **bool** | | [optional] +**user_language** | **str** | | [optional] +**user_language_code** | **str** | | [optional] **has_email** | **bool** | | **has_logged_in_from_client** | **bool** | | **has_pending_email** | **bool** | | @@ -37,6 +41,9 @@ Name | Type | Description | Notes **obfuscated_email** | **str** | | **obfuscated_pending_email** | **str** | | **oculus_id** | **str** | | +**google_id** | **str** | | [optional] +**pico_id** | **str** | | [optional] +**vive_id** | **str** | | [optional] **offline_friends** | **list[str]** | | [optional] **online_friends** | **list[str]** | | [optional] **past_display_names** | [**list[PastDisplayName]**](PastDisplayName.md) | | diff --git a/docs/LimitedWorld.md b/docs/LimitedWorld.md index 9e768d87..ea67ac37 100644 --- a/docs/LimitedWorld.md +++ b/docs/LimitedWorld.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **author_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | **author_name** | **str** | | **capacity** | **int** | | +**recommended_capacity** | **int** | | [optional] **created_at** | **datetime** | | **favorites** | **int** | | [default to 0] **heat** | **int** | | [default to 0] @@ -24,6 +25,7 @@ Name | Type | Description | Notes **thumbnail_image_url** | **str** | | **unity_packages** | [**list[LimitedUnityPackage]**](LimitedUnityPackage.md) | | **updated_at** | **datetime** | | +**udon_products** | **list[str]** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UnityPackage.md b/docs/UnityPackage.md index d1b96b23..17b4b505 100644 --- a/docs/UnityPackage.md +++ b/docs/UnityPackage.md @@ -5,16 +5,18 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**id** | **str** | | **asset_url** | **str** | | [optional] **asset_url_object** | **object** | | [optional] **asset_version** | **int** | | **created_at** | **datetime** | | [optional] -**id** | **str** | | **platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | **plugin_url** | **str** | | [optional] **plugin_url_object** | **object** | | [optional] **unity_sort_number** | **int** | | [optional] **unity_version** | **str** | | [default to '5.3.4p1'] +**impostor_url** | **str** | | [optional] +**scan_status** | **str** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/World.md b/docs/World.md index 1ddd60f3..749a74ca 100644 --- a/docs/World.md +++ b/docs/World.md @@ -34,6 +34,7 @@ Name | Type | Description | Notes **updated_at** | **datetime** | | **version** | **int** | | [default to 0] **visits** | **int** | | [default to 0] +**udon_products** | **list[str]** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/setup.py b/setup.py index 017bd9e3..f4949df8 100644 --- a/setup.py +++ b/setup.py @@ -81,7 +81,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -90,7 +90,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.15.0" +VERSION = "1.16.0" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 71cabcca..9061a5b0 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,7 +6,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index f334b6a8..83b4324e 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index 50fcb2bd..7f927325 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 35c3422f..7ed89c73 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index 55ad3149..ae6b7af5 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index f86304ac..6cf0b7ac 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -278,8 +278,6 @@ def create_file_version_with_http_info(self, file_id, **kwargs): # noqa: E501 if self.api_client.client_side_validation and local_var_params.get('file_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `file_id` when calling `create_file_version`") # noqa: E501 - if self.api_client.client_side_validation and 'file_id' in local_var_params and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['file_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `file_id` when calling `create_file_version`, must conform to the pattern `/file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 collection_formats = {} path_params = {} @@ -427,8 +425,6 @@ def delete_file_with_http_info(self, file_id, **kwargs): # noqa: E501 if self.api_client.client_side_validation and local_var_params.get('file_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `file_id` when calling `delete_file`") # noqa: E501 - if self.api_client.client_side_validation and 'file_id' in local_var_params and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['file_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `file_id` when calling `delete_file`, must conform to the pattern `/file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 collection_formats = {} path_params = {} @@ -575,8 +571,6 @@ def delete_file_version_with_http_info(self, file_id, version_id, **kwargs): # if self.api_client.client_side_validation and local_var_params.get('version_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `version_id` when calling `delete_file_version`") # noqa: E501 - if self.api_client.client_side_validation and 'file_id' in local_var_params and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['file_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `file_id` when calling `delete_file_version`, must conform to the pattern `/file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 if self.api_client.client_side_validation and 'version_id' in local_var_params and local_var_params['version_id'] < 1: # noqa: E501 raise ApiValueError("Invalid value for parameter `version_id` when calling `delete_file_version`, must be a value greater than or equal to `1`") # noqa: E501 collection_formats = {} @@ -728,8 +722,6 @@ def download_file_version_with_http_info(self, file_id, version_id, **kwargs): if self.api_client.client_side_validation and local_var_params.get('version_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `version_id` when calling `download_file_version`") # noqa: E501 - if self.api_client.client_side_validation and 'file_id' in local_var_params and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['file_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `file_id` when calling `download_file_version`, must conform to the pattern `/file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 if self.api_client.client_side_validation and 'version_id' in local_var_params and local_var_params['version_id'] < 1: # noqa: E501 raise ApiValueError("Invalid value for parameter `version_id` when calling `download_file_version`, must be a value greater than or equal to `1`") # noqa: E501 collection_formats = {} @@ -886,8 +878,6 @@ def finish_file_data_upload_with_http_info(self, file_id, version_id, file_type, if self.api_client.client_side_validation and local_var_params.get('file_type') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `file_type` when calling `finish_file_data_upload`") # noqa: E501 - if self.api_client.client_side_validation and 'file_id' in local_var_params and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['file_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `file_id` when calling `finish_file_data_upload`, must conform to the pattern `/file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 if self.api_client.client_side_validation and 'version_id' in local_var_params and local_var_params['version_id'] < 1: # noqa: E501 raise ApiValueError("Invalid value for parameter `version_id` when calling `finish_file_data_upload`, must be a value greater than or equal to `1`") # noqa: E501 collection_formats = {} @@ -1041,8 +1031,6 @@ def get_file_with_http_info(self, file_id, **kwargs): # noqa: E501 if self.api_client.client_side_validation and local_var_params.get('file_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `file_id` when calling `get_file`") # noqa: E501 - if self.api_client.client_side_validation and 'file_id' in local_var_params and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['file_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `file_id` when calling `get_file`, must conform to the pattern `/file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 collection_formats = {} path_params = {} @@ -1197,8 +1185,6 @@ def get_file_data_upload_status_with_http_info(self, file_id, version_id, file_t if self.api_client.client_side_validation and local_var_params.get('file_type') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `file_type` when calling `get_file_data_upload_status`") # noqa: E501 - if self.api_client.client_side_validation and 'file_id' in local_var_params and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['file_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `file_id` when calling `get_file_data_upload_status`, must conform to the pattern `/file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 if self.api_client.client_side_validation and 'version_id' in local_var_params and local_var_params['version_id'] < 1: # noqa: E501 raise ApiValueError("Invalid value for parameter `version_id` when calling `get_file_data_upload_status`, must be a value greater than or equal to `1`") # noqa: E501 collection_formats = {} @@ -1527,8 +1513,6 @@ def start_file_data_upload_with_http_info(self, file_id, version_id, file_type, if self.api_client.client_side_validation and local_var_params.get('file_type') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `file_type` when calling `start_file_data_upload`") # noqa: E501 - if self.api_client.client_side_validation and 'file_id' in local_var_params and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['file_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `file_id` when calling `start_file_data_upload`, must conform to the pattern `/file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 if self.api_client.client_side_validation and 'version_id' in local_var_params and local_var_params['version_id'] < 1: # noqa: E501 raise ApiValueError("Invalid value for parameter `version_id` when calling `start_file_data_upload`, must be a value greater than or equal to `1`") # noqa: E501 if self.api_client.client_side_validation and 'part_number' in local_var_params and local_var_params['part_number'] < 0: # noqa: E501 diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index ce0f7827..7dbc340e 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index 482e2f27..aea0983f 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -144,10 +144,6 @@ def add_group_gallery_image_with_http_info(self, group_id, group_gallery_id, **k if self.api_client.client_side_validation and local_var_params.get('group_gallery_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_gallery_id` when calling `add_group_gallery_image`") # noqa: E501 - if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_id` when calling `add_group_gallery_image`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 - if self.api_client.client_side_validation and 'group_gallery_id' in local_var_params and not re.search(r'ggal_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_gallery_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_gallery_id` when calling `add_group_gallery_image`, must conform to the pattern `/ggal_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 collection_formats = {} path_params = {} @@ -315,10 +311,6 @@ def add_group_member_role_with_http_info(self, group_id, user_id, group_role_id, if self.api_client.client_side_validation and local_var_params.get('group_role_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_role_id` when calling `add_group_member_role`") # noqa: E501 - if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_id` when calling `add_group_member_role`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 - if self.api_client.client_side_validation and 'group_role_id' in local_var_params and not re.search(r'grol_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_role_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_role_id` when calling `add_group_member_role`, must conform to the pattern `/grol_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 collection_formats = {} path_params = {} @@ -467,8 +459,6 @@ def ban_group_member_with_http_info(self, group_id, **kwargs): # noqa: E501 if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `ban_group_member`") # noqa: E501 - if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_id` when calling `ban_group_member`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 collection_formats = {} path_params = {} @@ -618,8 +608,6 @@ def cancel_group_request_with_http_info(self, group_id, **kwargs): # noqa: E501 if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `cancel_group_request`") # noqa: E501 - if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_id` when calling `cancel_group_request`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 collection_formats = {} path_params = {} @@ -903,8 +891,6 @@ def create_group_announcement_with_http_info(self, group_id, **kwargs): # noqa: if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `create_group_announcement`") # noqa: E501 - if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_id` when calling `create_group_announcement`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 collection_formats = {} path_params = {} @@ -1059,8 +1045,6 @@ def create_group_gallery_with_http_info(self, group_id, **kwargs): # noqa: E501 if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `create_group_gallery`") # noqa: E501 - if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_id` when calling `create_group_gallery`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 collection_formats = {} path_params = {} @@ -1215,8 +1199,6 @@ def create_group_invite_with_http_info(self, group_id, **kwargs): # noqa: E501 if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `create_group_invite`") # noqa: E501 - if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_id` when calling `create_group_invite`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 collection_formats = {} path_params = {} @@ -1367,8 +1349,6 @@ def create_group_role_with_http_info(self, group_id, **kwargs): # noqa: E501 if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `create_group_role`") # noqa: E501 - if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_id` when calling `create_group_role`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 collection_formats = {} path_params = {} @@ -1518,8 +1498,6 @@ def delete_group_with_http_info(self, group_id, **kwargs): # noqa: E501 if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `delete_group`") # noqa: E501 - if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_id` when calling `delete_group`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 collection_formats = {} path_params = {} @@ -1659,8 +1637,6 @@ def delete_group_announcement_with_http_info(self, group_id, **kwargs): # noqa: if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `delete_group_announcement`") # noqa: E501 - if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_id` when calling `delete_group_announcement`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 collection_formats = {} path_params = {} @@ -1808,10 +1784,6 @@ def delete_group_gallery_with_http_info(self, group_id, group_gallery_id, **kwar if self.api_client.client_side_validation and local_var_params.get('group_gallery_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_gallery_id` when calling `delete_group_gallery`") # noqa: E501 - if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_id` when calling `delete_group_gallery`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 - if self.api_client.client_side_validation and 'group_gallery_id' in local_var_params and not re.search(r'ggal_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_gallery_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_gallery_id` when calling `delete_group_gallery`, must conform to the pattern `/ggal_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 collection_formats = {} path_params = {} @@ -1969,12 +1941,6 @@ def delete_group_gallery_image_with_http_info(self, group_id, group_gallery_id, if self.api_client.client_side_validation and local_var_params.get('group_gallery_image_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_gallery_image_id` when calling `delete_group_gallery_image`") # noqa: E501 - if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_id` when calling `delete_group_gallery_image`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 - if self.api_client.client_side_validation and 'group_gallery_id' in local_var_params and not re.search(r'ggal_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_gallery_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_gallery_id` when calling `delete_group_gallery_image`, must conform to the pattern `/ggal_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 - if self.api_client.client_side_validation and 'group_gallery_image_id' in local_var_params and not re.search(r'ggim_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_gallery_image_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_gallery_image_id` when calling `delete_group_gallery_image`, must conform to the pattern `/ggim_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 collection_formats = {} path_params = {} @@ -2127,8 +2093,6 @@ def delete_group_invite_with_http_info(self, group_id, user_id, **kwargs): # no if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `delete_group_invite`") # noqa: E501 - if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_id` when calling `delete_group_invite`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 collection_formats = {} path_params = {} @@ -2274,10 +2238,6 @@ def delete_group_role_with_http_info(self, group_id, group_role_id, **kwargs): if self.api_client.client_side_validation and local_var_params.get('group_role_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_role_id` when calling `delete_group_role`") # noqa: E501 - if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_id` when calling `delete_group_role`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 - if self.api_client.client_side_validation and 'group_role_id' in local_var_params and not re.search(r'grol_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_role_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_role_id` when calling `delete_group_role`, must conform to the pattern `/grol_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 collection_formats = {} path_params = {} @@ -2424,8 +2384,6 @@ def get_group_with_http_info(self, group_id, **kwargs): # noqa: E501 if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `get_group`") # noqa: E501 - if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_id` when calling `get_group`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 collection_formats = {} path_params = {} @@ -2567,8 +2525,6 @@ def get_group_announcements_with_http_info(self, group_id, **kwargs): # noqa: E if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_announcements`") # noqa: E501 - if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_id` when calling `get_group_announcements`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 collection_formats = {} path_params = {} @@ -2728,8 +2684,6 @@ def get_group_audit_logs_with_http_info(self, group_id, **kwargs): # noqa: E501 if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_audit_logs`") # noqa: E501 - if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_id` when calling `get_group_audit_logs`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 raise ApiValueError("Invalid value for parameter `n` when calling `get_group_audit_logs`, must be a value less than or equal to `100`") # noqa: E501 if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 @@ -2893,8 +2847,6 @@ def get_group_bans_with_http_info(self, group_id, **kwargs): # noqa: E501 if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_bans`") # noqa: E501 - if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_id` when calling `get_group_bans`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 raise ApiValueError("Invalid value for parameter `n` when calling `get_group_bans`, must be a value less than or equal to `100`") # noqa: E501 if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 @@ -3067,10 +3019,6 @@ def get_group_gallery_images_with_http_info(self, group_id, group_gallery_id, ** if self.api_client.client_side_validation and local_var_params.get('group_gallery_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_gallery_id` when calling `get_group_gallery_images`") # noqa: E501 - if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_id` when calling `get_group_gallery_images`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 - if self.api_client.client_side_validation and 'group_gallery_id' in local_var_params and not re.search(r'ggal_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_gallery_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_gallery_id` when calling `get_group_gallery_images`, must conform to the pattern `/ggal_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 raise ApiValueError("Invalid value for parameter `n` when calling `get_group_gallery_images`, must be a value less than or equal to `100`") # noqa: E501 if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 @@ -3224,8 +3172,6 @@ def get_group_invites_with_http_info(self, group_id, **kwargs): # noqa: E501 if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_invites`") # noqa: E501 - if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_id` when calling `get_group_invites`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 collection_formats = {} path_params = {} @@ -3374,8 +3320,6 @@ def get_group_member_with_http_info(self, group_id, user_id, **kwargs): # noqa: if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `get_group_member`") # noqa: E501 - if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_id` when calling `get_group_member`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 collection_formats = {} path_params = {} @@ -3527,8 +3471,6 @@ def get_group_members_with_http_info(self, group_id, **kwargs): # noqa: E501 if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_members`") # noqa: E501 - if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_id` when calling `get_group_members`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 raise ApiValueError("Invalid value for parameter `n` when calling `get_group_members`, must be a value less than or equal to `100`") # noqa: E501 if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 @@ -3679,8 +3621,6 @@ def get_group_permissions_with_http_info(self, group_id, **kwargs): # noqa: E50 if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_permissions`") # noqa: E501 - if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_id` when calling `get_group_permissions`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 collection_formats = {} path_params = {} @@ -3821,8 +3761,6 @@ def get_group_requests_with_http_info(self, group_id, **kwargs): # noqa: E501 if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_requests`") # noqa: E501 - if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_id` when calling `get_group_requests`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 collection_formats = {} path_params = {} @@ -3962,8 +3900,6 @@ def get_group_roles_with_http_info(self, group_id, **kwargs): # noqa: E501 if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_roles`") # noqa: E501 - if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_id` when calling `get_group_roles`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 collection_formats = {} path_params = {} @@ -4103,8 +4039,6 @@ def join_group_with_http_info(self, group_id, **kwargs): # noqa: E501 if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `join_group`") # noqa: E501 - if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_id` when calling `join_group`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 collection_formats = {} path_params = {} @@ -4253,8 +4187,6 @@ def kick_group_member_with_http_info(self, group_id, user_id, **kwargs): # noqa if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `kick_group_member`") # noqa: E501 - if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_id` when calling `kick_group_member`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 collection_formats = {} path_params = {} @@ -4392,8 +4324,6 @@ def leave_group_with_http_info(self, group_id, **kwargs): # noqa: E501 if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `leave_group`") # noqa: E501 - if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_id` when calling `leave_group`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 collection_formats = {} path_params = {} @@ -4545,10 +4475,6 @@ def remove_group_member_role_with_http_info(self, group_id, user_id, group_role_ if self.api_client.client_side_validation and local_var_params.get('group_role_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_role_id` when calling `remove_group_member_role`") # noqa: E501 - if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_id` when calling `remove_group_member_role`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 - if self.api_client.client_side_validation and 'group_role_id' in local_var_params and not re.search(r'grol_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_role_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_role_id` when calling `remove_group_member_role`, must conform to the pattern `/grol_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 collection_formats = {} path_params = {} @@ -4705,8 +4631,6 @@ def respond_group_join_request_with_http_info(self, group_id, user_id, **kwargs) if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `respond_group_join_request`") # noqa: E501 - if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_id` when calling `respond_group_join_request`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 collection_formats = {} path_params = {} @@ -4862,8 +4786,6 @@ def unban_group_member_with_http_info(self, group_id, user_id, **kwargs): # noq if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `unban_group_member`") # noqa: E501 - if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_id` when calling `unban_group_member`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 collection_formats = {} path_params = {} @@ -5010,8 +4932,6 @@ def update_group_with_http_info(self, group_id, **kwargs): # noqa: E501 if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `update_group`") # noqa: E501 - if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_id` when calling `update_group`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 collection_formats = {} path_params = {} @@ -5174,10 +5094,6 @@ def update_group_gallery_with_http_info(self, group_id, group_gallery_id, **kwar if self.api_client.client_side_validation and local_var_params.get('group_gallery_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_gallery_id` when calling `update_group_gallery`") # noqa: E501 - if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_id` when calling `update_group_gallery`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 - if self.api_client.client_side_validation and 'group_gallery_id' in local_var_params and not re.search(r'ggal_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_gallery_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_gallery_id` when calling `update_group_gallery`, must conform to the pattern `/ggal_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 collection_formats = {} path_params = {} @@ -5342,8 +5258,6 @@ def update_group_member_with_http_info(self, group_id, user_id, **kwargs): # no if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `update_group_member`") # noqa: E501 - if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_id` when calling `update_group_member`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 collection_formats = {} path_params = {} @@ -5508,10 +5422,6 @@ def update_group_role_with_http_info(self, group_id, group_role_id, **kwargs): if self.api_client.client_side_validation and local_var_params.get('group_role_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_role_id` when calling `update_group_role`") # noqa: E501 - if self.api_client.client_side_validation and 'group_id' in local_var_params and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_id` when calling `update_group_role`, must conform to the pattern `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 - if self.api_client.client_side_validation and 'group_role_id' in local_var_params and not re.search(r'grol_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['group_role_id']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `group_role_id` when calling `update_group_role`, must conform to the pattern `/grol_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 collection_formats = {} path_params = {} diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 60d6cea4..597898ea 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index cda8498e..0b773868 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index 768dba9a..5a2688fd 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index 6a86473b..02fa82ea 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index 02ecfff1..d2644d3c 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index 6722b964..6fbb326f 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index f57ad3f9..bba9fe6d 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index b589be94..9810a5ad 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index 7dbb06c1..95ddbec9 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,7 +3,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index 6dcca756..0d3167aa 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -441,7 +441,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.15.0\n"\ + "Version of the API: 1.16.0\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index c10d9d4b..6c13651e 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index f50d4fad..95fe796e 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,7 +5,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/account_deletion_log.py b/vrchatapi/models/account_deletion_log.py index 973dd383..45d169cf 100644 --- a/vrchatapi/models/account_deletion_log.py +++ b/vrchatapi/models/account_deletion_log.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index 09565308..eed9bb61 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index 47bb524e..ca67f305 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -74,9 +74,6 @@ def file_id(self, file_id): """ if self.local_vars_configuration.client_side_validation and file_id is None: # noqa: E501 raise ValueError("Invalid value for `file_id`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - file_id is not None and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', file_id)): # noqa: E501 - raise ValueError(r"Invalid value for `file_id`, must be a follow pattern or equal to `/file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 self._file_id = file_id diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index a0268128..08f60611 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -760,9 +760,6 @@ def default_avatar(self, default_avatar): """ if self.local_vars_configuration.client_side_validation and default_avatar is None: # noqa: E501 raise ValueError("Invalid value for `default_avatar`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - default_avatar is not None and not re.search(r'avtr_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', default_avatar)): # noqa: E501 - raise ValueError(r"Invalid value for `default_avatar`, must be a follow pattern or equal to `/avtr_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 self._default_avatar = default_avatar @@ -1481,9 +1478,6 @@ def home_world_id(self, home_world_id): """ if self.local_vars_configuration.client_side_validation and home_world_id is None: # noqa: E501 raise ValueError("Invalid value for `home_world_id`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - home_world_id is not None and not re.search(r'(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})', home_world_id)): # noqa: E501 - raise ValueError(r"Invalid value for `home_world_id`, must be a follow pattern or equal to `/(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})/`") # noqa: E501 self._home_world_id = home_world_id @@ -1537,9 +1531,6 @@ def hub_world_id(self, hub_world_id): """ if self.local_vars_configuration.client_side_validation and hub_world_id is None: # noqa: E501 raise ValueError("Invalid value for `hub_world_id`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - hub_world_id is not None and not re.search(r'(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})', hub_world_id)): # noqa: E501 - raise ValueError(r"Invalid value for `hub_world_id`, must be a follow pattern or equal to `/(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})/`") # noqa: E501 self._hub_world_id = hub_world_id @@ -2010,9 +2001,6 @@ def time_out_world_id(self, time_out_world_id): """ if self.local_vars_configuration.client_side_validation and time_out_world_id is None: # noqa: E501 raise ValueError("Invalid value for `time_out_world_id`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - time_out_world_id is not None and not re.search(r'(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})', time_out_world_id)): # noqa: E501 - raise ValueError(r"Invalid value for `time_out_world_id`, must be a follow pattern or equal to `/(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})/`") # noqa: E501 self._time_out_world_id = time_out_world_id @@ -2038,9 +2026,6 @@ def tutorial_world_id(self, tutorial_world_id): """ if self.local_vars_configuration.client_side_validation and tutorial_world_id is None: # noqa: E501 raise ValueError("Invalid value for `tutorial_world_id`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - tutorial_world_id is not None and not re.search(r'(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})', tutorial_world_id)): # noqa: E501 - raise ValueError(r"Invalid value for `tutorial_world_id`, must be a follow pattern or equal to `/(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})/`") # noqa: E501 self._tutorial_world_id = tutorial_world_id diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index 2b749fdb..1168ab00 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index ae76eb05..a805493f 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index 83180e36..a8ea23a7 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index 45bc0a9b..f5829555 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index 484279b4..6d06c349 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -316,9 +316,6 @@ def id(self, id): """ if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - id is not None and not re.search(r'avtr_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', id)): # noqa: E501 - raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/avtr_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 self._id = id diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index 1cde06fd..693e30e0 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index 5bb26fd1..8ee6831b 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index eb3a3a24..6c000d53 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -132,9 +132,6 @@ def id(self, id): :param id: The id of this CreateAvatarRequest. # noqa: E501 :type id: str """ - if (self.local_vars_configuration.client_side_validation and - id is not None and not re.search(r'avtr_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', id)): # noqa: E501 - raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/avtr_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 self._id = id diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index 77341caf..24ddda1f 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index b1a62a50..eb30e28e 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index 4aa79312..6271e2b0 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -141,9 +141,6 @@ def image_id(self, image_id): :param image_id: The image_id of this CreateGroupAnnouncementRequest. # noqa: E501 :type image_id: str """ - if (self.local_vars_configuration.client_side_validation and - image_id is not None and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', image_id)): # noqa: E501 - raise ValueError(r"Invalid value for `image_id`, must be a follow pattern or equal to `/file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 self._image_id = image_id diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index e94a0e50..998647c2 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index 9f305263..936a570c 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index e4436c5f..ca23d987 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index 0e4d4e88..0e892464 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index 7de87913..5c60e91d 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -282,9 +282,6 @@ def id(self, id): :param id: The id of this CreateWorldRequest. # noqa: E501 :type id: str """ - if (self.local_vars_configuration.client_side_validation and - id is not None and not re.search(r'(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})', id)): # noqa: E501 - raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})/`") # noqa: E501 self._id = id diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index a4bf0fb8..ef1dd308 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -48,6 +48,7 @@ class CurrentUser(object): 'current_avatar_asset_url': 'str', 'current_avatar_image_url': 'str', 'current_avatar_thumbnail_image_url': 'str', + 'current_avatar_tags': 'list[str]', 'date_joined': 'date', 'developer_type': 'DeveloperType', 'display_name': 'str', @@ -57,6 +58,9 @@ class CurrentUser(object): 'friend_key': 'str', 'friends': 'list[str]', 'has_birthday': 'bool', + 'hide_content_filter_settings': 'bool', + 'user_language': 'str', + 'user_language_code': 'str', 'has_email': 'bool', 'has_logged_in_from_client': 'bool', 'has_pending_email': 'bool', @@ -69,6 +73,9 @@ class CurrentUser(object): 'obfuscated_email': 'str', 'obfuscated_pending_email': 'str', 'oculus_id': 'str', + 'google_id': 'str', + 'pico_id': 'str', + 'vive_id': 'str', 'offline_friends': 'list[str]', 'online_friends': 'list[str]', 'past_display_names': 'list[PastDisplayName]', @@ -103,6 +110,7 @@ class CurrentUser(object): 'current_avatar_asset_url': 'currentAvatarAssetUrl', 'current_avatar_image_url': 'currentAvatarImageUrl', 'current_avatar_thumbnail_image_url': 'currentAvatarThumbnailImageUrl', + 'current_avatar_tags': 'currentAvatarTags', 'date_joined': 'date_joined', 'developer_type': 'developerType', 'display_name': 'displayName', @@ -112,6 +120,9 @@ class CurrentUser(object): 'friend_key': 'friendKey', 'friends': 'friends', 'has_birthday': 'hasBirthday', + 'hide_content_filter_settings': 'hideContentFilterSettings', + 'user_language': 'userLanguage', + 'user_language_code': 'userLanguageCode', 'has_email': 'hasEmail', 'has_logged_in_from_client': 'hasLoggedInFromClient', 'has_pending_email': 'hasPendingEmail', @@ -124,6 +135,9 @@ class CurrentUser(object): 'obfuscated_email': 'obfuscatedEmail', 'obfuscated_pending_email': 'obfuscatedPendingEmail', 'oculus_id': 'oculusId', + 'google_id': 'googleId', + 'pico_id': 'picoId', + 'vive_id': 'viveId', 'offline_friends': 'offlineFriends', 'online_friends': 'onlineFriends', 'past_display_names': 'pastDisplayNames', @@ -145,7 +159,7 @@ class CurrentUser(object): 'username': 'username' } - def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, account_deletion_date=None, account_deletion_log=None, active_friends=None, allow_avatar_copying=None, bio=None, bio_links=None, current_avatar=None, current_avatar_asset_url=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, date_joined=None, developer_type=None, display_name=None, email_verified=None, fallback_avatar=None, friend_group_names=None, friend_key=None, friends=None, has_birthday=None, has_email=None, has_logged_in_from_client=None, has_pending_email=None, home_location=None, id=None, is_friend=False, last_activity=None, last_login=None, last_platform=None, obfuscated_email=None, obfuscated_pending_email=None, oculus_id=None, offline_friends=None, online_friends=None, past_display_names=None, presence=None, profile_pic_override=None, state=None, status=None, status_description=None, status_first_time=None, status_history=None, steam_details=None, steam_id=None, tags=None, two_factor_auth_enabled=None, two_factor_auth_enabled_date=None, unsubscribe=None, updated_at=None, user_icon=None, username=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, account_deletion_date=None, account_deletion_log=None, active_friends=None, allow_avatar_copying=None, bio=None, bio_links=None, current_avatar=None, current_avatar_asset_url=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, date_joined=None, developer_type=None, display_name=None, email_verified=None, fallback_avatar=None, friend_group_names=None, friend_key=None, friends=None, has_birthday=None, hide_content_filter_settings=None, user_language=None, user_language_code=None, has_email=None, has_logged_in_from_client=None, has_pending_email=None, home_location=None, id=None, is_friend=False, last_activity=None, last_login=None, last_platform=None, obfuscated_email=None, obfuscated_pending_email=None, oculus_id=None, google_id=None, pico_id=None, vive_id=None, offline_friends=None, online_friends=None, past_display_names=None, presence=None, profile_pic_override=None, state=None, status=None, status_description=None, status_first_time=None, status_history=None, steam_details=None, steam_id=None, tags=None, two_factor_auth_enabled=None, two_factor_auth_enabled_date=None, unsubscribe=None, updated_at=None, user_icon=None, username=None, local_vars_configuration=None): # noqa: E501 """CurrentUser - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -163,6 +177,7 @@ def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, acc self._current_avatar_asset_url = None self._current_avatar_image_url = None self._current_avatar_thumbnail_image_url = None + self._current_avatar_tags = None self._date_joined = None self._developer_type = None self._display_name = None @@ -172,6 +187,9 @@ def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, acc self._friend_key = None self._friends = None self._has_birthday = None + self._hide_content_filter_settings = None + self._user_language = None + self._user_language_code = None self._has_email = None self._has_logged_in_from_client = None self._has_pending_email = None @@ -184,6 +202,9 @@ def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, acc self._obfuscated_email = None self._obfuscated_pending_email = None self._oculus_id = None + self._google_id = None + self._pico_id = None + self._vive_id = None self._offline_friends = None self._online_friends = None self._past_display_names = None @@ -219,6 +240,8 @@ def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, acc self.current_avatar_asset_url = current_avatar_asset_url self.current_avatar_image_url = current_avatar_image_url self.current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url + if current_avatar_tags is not None: + self.current_avatar_tags = current_avatar_tags self.date_joined = date_joined self.developer_type = developer_type self.display_name = display_name @@ -229,6 +252,10 @@ def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, acc self.friend_key = friend_key self.friends = friends self.has_birthday = has_birthday + if hide_content_filter_settings is not None: + self.hide_content_filter_settings = hide_content_filter_settings + self.user_language = user_language + self.user_language_code = user_language_code self.has_email = has_email self.has_logged_in_from_client = has_logged_in_from_client self.has_pending_email = has_pending_email @@ -242,6 +269,12 @@ def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, acc self.obfuscated_email = obfuscated_email self.obfuscated_pending_email = obfuscated_pending_email self.oculus_id = oculus_id + if google_id is not None: + self.google_id = google_id + if pico_id is not None: + self.pico_id = pico_id + if vive_id is not None: + self.vive_id = vive_id if offline_friends is not None: self.offline_friends = offline_friends if online_friends is not None: @@ -475,9 +508,6 @@ def current_avatar(self, current_avatar): """ if self.local_vars_configuration.client_side_validation and current_avatar is None: # noqa: E501 raise ValueError("Invalid value for `current_avatar`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - current_avatar is not None and not re.search(r'avtr_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', current_avatar)): # noqa: E501 - raise ValueError(r"Invalid value for `current_avatar`, must be a follow pattern or equal to `/avtr_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 self._current_avatar = current_avatar @@ -554,6 +584,27 @@ def current_avatar_thumbnail_image_url(self, current_avatar_thumbnail_image_url) self._current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url + @property + def current_avatar_tags(self): + """Gets the current_avatar_tags of this CurrentUser. # noqa: E501 + + + :return: The current_avatar_tags of this CurrentUser. # noqa: E501 + :rtype: list[str] + """ + return self._current_avatar_tags + + @current_avatar_tags.setter + def current_avatar_tags(self, current_avatar_tags): + """Sets the current_avatar_tags of this CurrentUser. + + + :param current_avatar_tags: The current_avatar_tags of this CurrentUser. # noqa: E501 + :type current_avatar_tags: list[str] + """ + + self._current_avatar_tags = current_avatar_tags + @property def date_joined(self): """Gets the date_joined of this CurrentUser. # noqa: E501 @@ -664,9 +715,6 @@ def fallback_avatar(self, fallback_avatar): :param fallback_avatar: The fallback_avatar of this CurrentUser. # noqa: E501 :type fallback_avatar: str """ - if (self.local_vars_configuration.client_side_validation and - fallback_avatar is not None and not re.search(r'avtr_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', fallback_avatar)): # noqa: E501 - raise ValueError(r"Invalid value for `fallback_avatar`, must be a follow pattern or equal to `/avtr_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 self._fallback_avatar = fallback_avatar @@ -764,6 +812,69 @@ def has_birthday(self, has_birthday): self._has_birthday = has_birthday + @property + def hide_content_filter_settings(self): + """Gets the hide_content_filter_settings of this CurrentUser. # noqa: E501 + + + :return: The hide_content_filter_settings of this CurrentUser. # noqa: E501 + :rtype: bool + """ + return self._hide_content_filter_settings + + @hide_content_filter_settings.setter + def hide_content_filter_settings(self, hide_content_filter_settings): + """Sets the hide_content_filter_settings of this CurrentUser. + + + :param hide_content_filter_settings: The hide_content_filter_settings of this CurrentUser. # noqa: E501 + :type hide_content_filter_settings: bool + """ + + self._hide_content_filter_settings = hide_content_filter_settings + + @property + def user_language(self): + """Gets the user_language of this CurrentUser. # noqa: E501 + + + :return: The user_language of this CurrentUser. # noqa: E501 + :rtype: str + """ + return self._user_language + + @user_language.setter + def user_language(self, user_language): + """Sets the user_language of this CurrentUser. + + + :param user_language: The user_language of this CurrentUser. # noqa: E501 + :type user_language: str + """ + + self._user_language = user_language + + @property + def user_language_code(self): + """Gets the user_language_code of this CurrentUser. # noqa: E501 + + + :return: The user_language_code of this CurrentUser. # noqa: E501 + :rtype: str + """ + return self._user_language_code + + @user_language_code.setter + def user_language_code(self, user_language_code): + """Sets the user_language_code of this CurrentUser. + + + :param user_language_code: The user_language_code of this CurrentUser. # noqa: E501 + :type user_language_code: str + """ + + self._user_language_code = user_language_code + @property def has_email(self): """Gets the has_email of this CurrentUser. # noqa: E501 @@ -855,9 +966,6 @@ def home_location(self, home_location): """ if self.local_vars_configuration.client_side_validation and home_location is None: # noqa: E501 raise ValueError("Invalid value for `home_location`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - home_location is not None and not re.search(r'(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})', home_location)): # noqa: E501 - raise ValueError(r"Invalid value for `home_location`, must be a follow pattern or equal to `/(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})/`") # noqa: E501 self._home_location = home_location @@ -1047,6 +1155,69 @@ def oculus_id(self, oculus_id): self._oculus_id = oculus_id + @property + def google_id(self): + """Gets the google_id of this CurrentUser. # noqa: E501 + + + :return: The google_id of this CurrentUser. # noqa: E501 + :rtype: str + """ + return self._google_id + + @google_id.setter + def google_id(self, google_id): + """Sets the google_id of this CurrentUser. + + + :param google_id: The google_id of this CurrentUser. # noqa: E501 + :type google_id: str + """ + + self._google_id = google_id + + @property + def pico_id(self): + """Gets the pico_id of this CurrentUser. # noqa: E501 + + + :return: The pico_id of this CurrentUser. # noqa: E501 + :rtype: str + """ + return self._pico_id + + @pico_id.setter + def pico_id(self, pico_id): + """Sets the pico_id of this CurrentUser. + + + :param pico_id: The pico_id of this CurrentUser. # noqa: E501 + :type pico_id: str + """ + + self._pico_id = pico_id + + @property + def vive_id(self): + """Gets the vive_id of this CurrentUser. # noqa: E501 + + + :return: The vive_id of this CurrentUser. # noqa: E501 + :rtype: str + """ + return self._vive_id + + @vive_id.setter + def vive_id(self, vive_id): + """Sets the vive_id of this CurrentUser. + + + :param vive_id: The vive_id of this CurrentUser. # noqa: E501 + :type vive_id: str + """ + + self._vive_id = vive_id + @property def offline_friends(self): """Gets the offline_friends of this CurrentUser. # noqa: E501 diff --git a/vrchatapi/models/current_user_presence.py b/vrchatapi/models/current_user_presence.py index 60e3477f..d82584e6 100644 --- a/vrchatapi/models/current_user_presence.py +++ b/vrchatapi/models/current_user_presence.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -365,9 +365,6 @@ def traveling_to_world(self, traveling_to_world): :param traveling_to_world: The traveling_to_world of this CurrentUserPresence. # noqa: E501 :type traveling_to_world: str """ - if (self.local_vars_configuration.client_side_validation and - traveling_to_world is not None and not re.search(r'(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})', traveling_to_world)): # noqa: E501 - raise ValueError(r"Invalid value for `traveling_to_world`, must be a follow pattern or equal to `/(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})/`") # noqa: E501 self._traveling_to_world = traveling_to_world @@ -391,9 +388,6 @@ def world(self, world): :param world: The world of this CurrentUserPresence. # noqa: E501 :type world: str """ - if (self.local_vars_configuration.client_side_validation and - world is not None and not re.search(r'(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})', world)): # noqa: E501 - raise ValueError(r"Invalid value for `world`, must be a follow pattern or equal to `/(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})/`") # noqa: E501 self._world = world diff --git a/vrchatapi/models/deployment_group.py b/vrchatapi/models/deployment_group.py index bf154a28..2ce33af3 100644 --- a/vrchatapi/models/deployment_group.py +++ b/vrchatapi/models/deployment_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index 37e7c19b..25e6cdf6 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index 0162832a..3bf5727c 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index 8170d6ad..f818bb96 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index 91a6d1c9..a1a68b61 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -111,9 +111,6 @@ def id(self, id): """ if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - id is not None and not re.search(r'fvrt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', id)): # noqa: E501 - raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/fvrt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 self._id = id diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index 40a0cc8f..dfd9a751 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -128,9 +128,6 @@ def id(self, id): """ if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - id is not None and not re.search(r'fvgrp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', id)): # noqa: E501 - raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/fvgrp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 self._id = id diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index 7f4610ef..587de235 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index 689a51a9..d41d5550 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index 542baf9a..5c1acb99 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -124,9 +124,6 @@ def id(self, id): """ if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - id is not None and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', id)): # noqa: E501 - raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 self._id = id diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index deeaddb8..e1956c8a 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index 0864a46c..5fcf09e8 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index 1c6a96e7..c39ecdc7 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index fc2202fb..921d11cd 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index 52b9d3e5..82343485 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index 38e47fef..b0215501 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -117,9 +117,6 @@ def next_part_number(self, next_part_number): if (self.local_vars_configuration.client_side_validation and next_part_number is not None and len(next_part_number) < 1): raise ValueError("Invalid value for `next_part_number`, length must be greater than or equal to `1`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - next_part_number is not None and not re.search(r'0', next_part_number)): # noqa: E501 - raise ValueError(r"Invalid value for `next_part_number`, must be a follow pattern or equal to `/0/`") # noqa: E501 self._next_part_number = next_part_number @@ -151,9 +148,6 @@ def max_parts(self, max_parts): if (self.local_vars_configuration.client_side_validation and max_parts is not None and len(max_parts) < 1): raise ValueError("Invalid value for `max_parts`, length must be greater than or equal to `1`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - max_parts is not None and not re.search(r'0', max_parts)): # noqa: E501 - raise ValueError(r"Invalid value for `max_parts`, must be a follow pattern or equal to `/0/`") # noqa: E501 self._max_parts = max_parts diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index b38449f1..5f47be80 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index 0bef40f8..38a8f545 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -187,9 +187,6 @@ def id(self, id): :param id: The id of this Group. # noqa: E501 :type id: str """ - if (self.local_vars_configuration.client_side_validation and - id is not None and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', id)): # noqa: E501 - raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 self._id = id @@ -232,9 +229,6 @@ def short_code(self, short_code): :param short_code: The short_code of this Group. # noqa: E501 :type short_code: str """ - if (self.local_vars_configuration.client_side_validation and - short_code is not None and not re.search(r'^[A-Z0-9]{3,6}$', short_code)): # noqa: E501 - raise ValueError(r"Invalid value for `short_code`, must be a follow pattern or equal to `/^[A-Z0-9]{3,6}$/`") # noqa: E501 self._short_code = short_code @@ -256,9 +250,6 @@ def discriminator(self, discriminator): :param discriminator: The discriminator of this Group. # noqa: E501 :type discriminator: str """ - if (self.local_vars_configuration.client_side_validation and - discriminator is not None and not re.search(r'^[0-9]{4}$', discriminator)): # noqa: E501 - raise ValueError(r"Invalid value for `discriminator`, must be a follow pattern or equal to `/^[0-9]{4}$/`") # noqa: E501 self._discriminator = discriminator diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index 86a22ff3..b61a07e0 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -108,9 +108,6 @@ def id(self, id): :param id: The id of this GroupAnnouncement. # noqa: E501 :type id: str """ - if (self.local_vars_configuration.client_side_validation and - id is not None and not re.search(r'gpos_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', id)): # noqa: E501 - raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/gpos_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 self._id = id @@ -132,9 +129,6 @@ def group_id(self, group_id): :param group_id: The group_id of this GroupAnnouncement. # noqa: E501 :type group_id: str """ - if (self.local_vars_configuration.client_side_validation and - group_id is not None and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', group_id)): # noqa: E501 - raise ValueError(r"Invalid value for `group_id`, must be a follow pattern or equal to `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 self._group_id = group_id @@ -221,9 +215,6 @@ def image_id(self, image_id): :param image_id: The image_id of this GroupAnnouncement. # noqa: E501 :type image_id: str """ - if (self.local_vars_configuration.client_side_validation and - image_id is not None and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', image_id)): # noqa: E501 - raise ValueError(r"Invalid value for `image_id`, must be a follow pattern or equal to `/file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 self._image_id = image_id diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index ccba78d8..e24fc80a 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -113,9 +113,6 @@ def id(self, id): :param id: The id of this GroupAuditLogEntry. # noqa: E501 :type id: str """ - if (self.local_vars_configuration.client_side_validation and - id is not None and not re.search(r'gaud_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', id)): # noqa: E501 - raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/gaud_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 self._id = id @@ -158,9 +155,6 @@ def group_id(self, group_id): :param group_id: The group_id of this GroupAuditLogEntry. # noqa: E501 :type group_id: str """ - if (self.local_vars_configuration.client_side_validation and - group_id is not None and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', group_id)): # noqa: E501 - raise ValueError(r"Invalid value for `group_id`, must be a follow pattern or equal to `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 self._group_id = group_id diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index 6d5292e7..64ba5296 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -114,9 +114,6 @@ def id(self, id): :param id: The id of this GroupGallery. # noqa: E501 :type id: str """ - if (self.local_vars_configuration.client_side_validation and - id is not None and not re.search(r'ggal_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', id)): # noqa: E501 - raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/ggal_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 self._id = id diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index 4ad06319..60257b44 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -118,9 +118,6 @@ def id(self, id): :param id: The id of this GroupGalleryImage. # noqa: E501 :type id: str """ - if (self.local_vars_configuration.client_side_validation and - id is not None and not re.search(r'ggim_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', id)): # noqa: E501 - raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/ggim_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 self._id = id @@ -142,9 +139,6 @@ def group_id(self, group_id): :param group_id: The group_id of this GroupGalleryImage. # noqa: E501 :type group_id: str """ - if (self.local_vars_configuration.client_side_validation and - group_id is not None and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', group_id)): # noqa: E501 - raise ValueError(r"Invalid value for `group_id`, must be a follow pattern or equal to `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 self._group_id = group_id @@ -166,9 +160,6 @@ def gallery_id(self, gallery_id): :param gallery_id: The gallery_id of this GroupGalleryImage. # noqa: E501 :type gallery_id: str """ - if (self.local_vars_configuration.client_side_validation and - gallery_id is not None and not re.search(r'ggal_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', gallery_id)): # noqa: E501 - raise ValueError(r"Invalid value for `gallery_id`, must be a follow pattern or equal to `/ggal_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 self._gallery_id = gallery_id @@ -190,9 +181,6 @@ def file_id(self, file_id): :param file_id: The file_id of this GroupGalleryImage. # noqa: E501 :type file_id: str """ - if (self.local_vars_configuration.client_side_validation and - file_id is not None and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', file_id)): # noqa: E501 - raise ValueError(r"Invalid value for `file_id`, must be a follow pattern or equal to `/file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 self._file_id = file_id diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index 52b933d6..19bf691d 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index cec88b37..6f4916f6 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -88,9 +88,6 @@ def id(self, id): :param id: The id of this GroupLimitedMember. # noqa: E501 :type id: str """ - if (self.local_vars_configuration.client_side_validation and - id is not None and not re.search(r'gmem_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', id)): # noqa: E501 - raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/gmem_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 self._id = id @@ -112,9 +109,6 @@ def group_id(self, group_id): :param group_id: The group_id of this GroupLimitedMember. # noqa: E501 :type group_id: str """ - if (self.local_vars_configuration.client_side_validation and - group_id is not None and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', group_id)): # noqa: E501 - raise ValueError(r"Invalid value for `group_id`, must be a follow pattern or equal to `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 self._group_id = group_id diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index 27671db1..6f1c4c63 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -130,9 +130,6 @@ def id(self, id): :param id: The id of this GroupMember. # noqa: E501 :type id: str """ - if (self.local_vars_configuration.client_side_validation and - id is not None and not re.search(r'gmem_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', id)): # noqa: E501 - raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/gmem_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 self._id = id @@ -154,9 +151,6 @@ def group_id(self, group_id): :param group_id: The group_id of this GroupMember. # noqa: E501 :type group_id: str """ - if (self.local_vars_configuration.client_side_validation and - group_id is not None and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', group_id)): # noqa: E501 - raise ValueError(r"Invalid value for `group_id`, must be a follow pattern or equal to `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 self._group_id = group_id diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index b80af3f2..23342b0a 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index 8a470f4b..114b94ea 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index ba87bf85..8657fd12 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -132,9 +132,6 @@ def id(self, id): :param id: The id of this GroupMyMember. # noqa: E501 :type id: str """ - if (self.local_vars_configuration.client_side_validation and - id is not None and not re.search(r'gmem_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', id)): # noqa: E501 - raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/gmem_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 self._id = id @@ -156,9 +153,6 @@ def group_id(self, group_id): :param group_id: The group_id of this GroupMyMember. # noqa: E501 :type group_id: str """ - if (self.local_vars_configuration.client_side_validation and - group_id is not None and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', group_id)): # noqa: E501 - raise ValueError(r"Invalid value for `group_id`, must be a follow pattern or equal to `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 self._group_id = group_id diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index b1667d3d..246aab1a 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index 93345789..add2743a 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index b15e96d3..bdb2738a 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -128,9 +128,6 @@ def id(self, id): :param id: The id of this GroupRole. # noqa: E501 :type id: str """ - if (self.local_vars_configuration.client_side_validation and - id is not None and not re.search(r'grol_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', id)): # noqa: E501 - raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/grol_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 self._id = id @@ -152,9 +149,6 @@ def group_id(self, group_id): :param group_id: The group_id of this GroupRole. # noqa: E501 :type group_id: str """ - if (self.local_vars_configuration.client_side_validation and - group_id is not None and not re.search(r'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', group_id)): # noqa: E501 - raise ValueError(r"Invalid value for `group_id`, must be a follow pattern or equal to `/grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 self._group_id = group_id diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index 9a76689b..9186334a 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index 99113e46..09d848d9 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index 49cf2466..30d31565 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index a704d340..a1e582fc 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index 5b81401f..1519701e 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index d2c5c4a6..c1de1e78 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index 06e14923..9940c698 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index cbed64bb..64f600c7 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -292,9 +292,6 @@ def id(self, id): """ if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - id is not None and not re.search(r'(private|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}:(\d+)(~region\(([\w]+)\))?(~([\w]+)\(usr_([\w-]+)\)((\~canRequestInvite)?)(~region\(([\w].+)\))?~nonce\((.+)\))?)', id)): # noqa: E501 - raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/(private|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}:(\d+)(~region\(([\w]+)\))?(~([\w]+)\(usr_([\w-]+)\)((\~canRequestInvite)?)(~region\(([\w].+)\))?~nonce\((.+)\))?)/`") # noqa: E501 self._id = id @@ -346,9 +343,6 @@ def location(self, location): """ if self.local_vars_configuration.client_side_validation and location is None: # noqa: E501 raise ValueError("Invalid value for `location`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - location is not None and not re.search(r'(private|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}:(\d+)(~region\(([\w]+)\))?(~([\w]+)\(usr_([\w-]+)\)((\~canRequestInvite)?)(~region\(([\w].+)\))?~nonce\((.+)\))?)', location)): # noqa: E501 - raise ValueError(r"Invalid value for `location`, must be a follow pattern or equal to `/(private|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}:(\d+)(~region\(([\w]+)\))?(~([\w]+)\(usr_([\w-]+)\)((\~canRequestInvite)?)(~region\(([\w].+)\))?~nonce\((.+)\))?)/`") # noqa: E501 self._location = location @@ -639,9 +633,6 @@ def world_id(self, world_id): """ if self.local_vars_configuration.client_side_validation and world_id is None: # noqa: E501 raise ValueError("Invalid value for `world_id`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - world_id is not None and not re.search(r'(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})', world_id)): # noqa: E501 - raise ValueError(r"Invalid value for `world_id`, must be a follow pattern or equal to `/(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})/`") # noqa: E501 self._world_id = world_id diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index 6b1c5801..33eb1255 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index 9ccd0626..4597af28 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index 51fecbe8..0d585697 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index 910a6bf8..91384679 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -121,9 +121,6 @@ def id(self, id): """ if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - id is not None and not re.search(r'(default|invm_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})', id)): # noqa: E501 - raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/(default|invm_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})/`") # noqa: E501 self._id = id diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index 0e6a7c96..2536b1fe 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index 44f3083e..16cdadb3 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -81,9 +81,6 @@ def instance_id(self, instance_id): """ if self.local_vars_configuration.client_side_validation and instance_id is None: # noqa: E501 raise ValueError("Invalid value for `instance_id`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - instance_id is not None and not re.search(r'(private|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}:(\d+)(~region\(([\w]+)\))?(~([\w]+)\(usr_([\w-]+)\)((\~canRequestInvite)?)(~region\(([\w].+)\))?~nonce\((.+)\))?)', instance_id)): # noqa: E501 - raise ValueError(r"Invalid value for `instance_id`, must be a follow pattern or equal to `/(private|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}:(\d+)(~region\(([\w]+)\))?(~([\w]+)\(usr_([\w-]+)\)((\~canRequestInvite)?)(~region\(([\w].+)\))?~nonce\((.+)\))?)/`") # noqa: E501 self._instance_id = instance_id diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index 03f81bfb..5ad32b58 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index 550126a9..a812b0af 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -91,9 +91,6 @@ def for_id(self, for_id): if (self.local_vars_configuration.client_side_validation and for_id is not None and len(for_id) < 1): raise ValueError("Invalid value for `for_id`, length must be greater than or equal to `1`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - for_id is not None and not re.search(r'(avtr|lgrp|prms|prod)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', for_id)): # noqa: E501 - raise ValueError(r"Invalid value for `for_id`, must be a follow pattern or equal to `/(avtr|lgrp|prms|prod)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 self._for_id = for_id diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index e6724aad..46ea3f14 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index 06edfa17..605d0114 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -86,9 +86,6 @@ def id(self, id): """ if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - id is not None and not re.search(r'lgrp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', id)): # noqa: E501 - raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/lgrp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 self._id = id diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index 2cbd4909..18a964c5 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index 6081a603..541278bf 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user.py b/vrchatapi/models/limited_user.py index b44b2e37..9f7c7b96 100644 --- a/vrchatapi/models/limited_user.py +++ b/vrchatapi/models/limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -258,9 +258,6 @@ def fallback_avatar(self, fallback_avatar): :param fallback_avatar: The fallback_avatar of this LimitedUser. # noqa: E501 :type fallback_avatar: str """ - if (self.local_vars_configuration.client_side_validation and - fallback_avatar is not None and not re.search(r'avtr_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', fallback_avatar)): # noqa: E501 - raise ValueError(r"Invalid value for `fallback_avatar`, must be a follow pattern or equal to `/avtr_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 self._fallback_avatar = fallback_avatar diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index 0f7e2c30..c59ff9fd 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -39,6 +39,7 @@ class LimitedWorld(object): 'author_id': 'str', 'author_name': 'str', 'capacity': 'int', + 'recommended_capacity': 'int', 'created_at': 'datetime', 'favorites': 'int', 'heat': 'int', @@ -54,13 +55,15 @@ class LimitedWorld(object): 'tags': 'list[str]', 'thumbnail_image_url': 'str', 'unity_packages': 'list[LimitedUnityPackage]', - 'updated_at': 'datetime' + 'updated_at': 'datetime', + 'udon_products': 'list[str]' } attribute_map = { 'author_id': 'authorId', 'author_name': 'authorName', 'capacity': 'capacity', + 'recommended_capacity': 'recommendedCapacity', 'created_at': 'created_at', 'favorites': 'favorites', 'heat': 'heat', @@ -76,10 +79,11 @@ class LimitedWorld(object): 'tags': 'tags', 'thumbnail_image_url': 'thumbnailImageUrl', 'unity_packages': 'unityPackages', - 'updated_at': 'updated_at' + 'updated_at': 'updated_at', + 'udon_products': 'udonProducts' } - def __init__(self, author_id=None, author_name=None, capacity=None, created_at=None, favorites=0, heat=0, id=None, image_url=None, labs_publication_date=None, name=None, occupants=0, organization='vrchat', popularity=0, publication_date=None, release_status=None, tags=None, thumbnail_image_url=None, unity_packages=None, updated_at=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, author_id=None, author_name=None, capacity=None, recommended_capacity=None, created_at=None, favorites=0, heat=0, id=None, image_url=None, labs_publication_date=None, name=None, occupants=0, organization='vrchat', popularity=0, publication_date=None, release_status=None, tags=None, thumbnail_image_url=None, unity_packages=None, updated_at=None, udon_products=None, local_vars_configuration=None): # noqa: E501 """LimitedWorld - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -88,6 +92,7 @@ def __init__(self, author_id=None, author_name=None, capacity=None, created_at=N self._author_id = None self._author_name = None self._capacity = None + self._recommended_capacity = None self._created_at = None self._favorites = None self._heat = None @@ -104,11 +109,14 @@ def __init__(self, author_id=None, author_name=None, capacity=None, created_at=N self._thumbnail_image_url = None self._unity_packages = None self._updated_at = None + self._udon_products = None self.discriminator = None self.author_id = author_id self.author_name = author_name self.capacity = capacity + if recommended_capacity is not None: + self.recommended_capacity = recommended_capacity self.created_at = created_at self.favorites = favorites self.heat = heat @@ -125,6 +133,8 @@ def __init__(self, author_id=None, author_name=None, capacity=None, created_at=N self.thumbnail_image_url = thumbnail_image_url self.unity_packages = unity_packages self.updated_at = updated_at + if udon_products is not None: + self.udon_products = udon_products @property def author_id(self): @@ -197,15 +207,30 @@ def capacity(self, capacity): """ if self.local_vars_configuration.client_side_validation and capacity is None: # noqa: E501 raise ValueError("Invalid value for `capacity`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - capacity is not None and capacity > 40): # noqa: E501 - raise ValueError("Invalid value for `capacity`, must be a value less than or equal to `40`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - capacity is not None and capacity < 0): # noqa: E501 - raise ValueError("Invalid value for `capacity`, must be a value greater than or equal to `0`") # noqa: E501 self._capacity = capacity + @property + def recommended_capacity(self): + """Gets the recommended_capacity of this LimitedWorld. # noqa: E501 + + + :return: The recommended_capacity of this LimitedWorld. # noqa: E501 + :rtype: int + """ + return self._recommended_capacity + + @recommended_capacity.setter + def recommended_capacity(self, recommended_capacity): + """Sets the recommended_capacity of this LimitedWorld. + + + :param recommended_capacity: The recommended_capacity of this LimitedWorld. # noqa: E501 + :type recommended_capacity: int + """ + + self._recommended_capacity = recommended_capacity + @property def created_at(self): """Gets the created_at of this LimitedWorld. # noqa: E501 @@ -303,9 +328,6 @@ def id(self, id): """ if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - id is not None and not re.search(r'(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})', id)): # noqa: E501 - raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})/`") # noqa: E501 self._id = id @@ -616,6 +638,27 @@ def updated_at(self, updated_at): self._updated_at = updated_at + @property + def udon_products(self): + """Gets the udon_products of this LimitedWorld. # noqa: E501 + + + :return: The udon_products of this LimitedWorld. # noqa: E501 + :rtype: list[str] + """ + return self._udon_products + + @udon_products.setter + def udon_products(self, udon_products): + """Sets the udon_products of this LimitedWorld. + + + :param udon_products: The udon_products of this LimitedWorld. # noqa: E501 + :type udon_products: list[str] + """ + + self._udon_products = udon_products + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index 187d7810..ade4f619 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index 9feaeb9c..f8a8ef72 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index 5c2b7ea6..78de3cf3 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index 41f7bc19..62f10b71 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index 22e018c1..a2360a52 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index 180f519f..de2cc2b9 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index c334807c..2d7c5c24 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index 30198fb6..7123317f 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -87,9 +87,6 @@ def id(self, id): """ if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - id is not None and not re.search(r'prms_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', id)): # noqa: E501 - raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/prms_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 self._id = id diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index 7c342bd4..61a36530 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -121,9 +121,6 @@ def id(self, id): """ if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - id is not None and not re.search(r'pmod_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', id)): # noqa: E501 - raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/pmod_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 self._id = id diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index 564beeb9..94bed2a2 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index 006fd919..0a76b2cc 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index 8beefe05..a0e9e620 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index 31628431..3f71e177 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index 4297a585..20e649ab 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index af77add1..4ad3d529 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index 7f3352c3..fdfcecf6 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index 2f771d05..27d8ab36 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index d885bc8c..eb85509e 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index 10b861ef..b0bb415b 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index 05a3488c..8c90e7e6 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index a3e1fffd..01f7ac53 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -108,9 +108,6 @@ def id(self, id): """ if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - id is not None and not re.search(r'txn_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', id)): # noqa: E501 - raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/txn_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 self._id = id diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index 43ec64f8..ce81911d 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index d4f8f57d..69be028b 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index 7b07569e..1d286589 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index d05a9771..7003ad20 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index a7cc46fd..58cb937a 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_email_code.py b/vrchatapi/models/two_factor_email_code.py index 5658f62d..a258e022 100644 --- a/vrchatapi/models/two_factor_email_code.py +++ b/vrchatapi/models/two_factor_email_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index cd92b741..dacb96ad 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,57 +36,62 @@ class UnityPackage(object): and the value is json key in definition. """ openapi_types = { + 'id': 'str', 'asset_url': 'str', 'asset_url_object': 'object', 'asset_version': 'int', 'created_at': 'datetime', - 'id': 'str', 'platform': 'str', 'plugin_url': 'str', 'plugin_url_object': 'object', 'unity_sort_number': 'int', - 'unity_version': 'str' + 'unity_version': 'str', + 'impostor_url': 'str', + 'scan_status': 'str' } attribute_map = { + 'id': 'id', 'asset_url': 'assetUrl', 'asset_url_object': 'assetUrlObject', 'asset_version': 'assetVersion', 'created_at': 'created_at', - 'id': 'id', 'platform': 'platform', 'plugin_url': 'pluginUrl', 'plugin_url_object': 'pluginUrlObject', 'unity_sort_number': 'unitySortNumber', - 'unity_version': 'unityVersion' + 'unity_version': 'unityVersion', + 'impostor_url': 'impostorUrl', + 'scan_status': 'scanStatus' } - def __init__(self, asset_url=None, asset_url_object=None, asset_version=None, created_at=None, id=None, platform=None, plugin_url=None, plugin_url_object=None, unity_sort_number=None, unity_version='5.3.4p1', local_vars_configuration=None): # noqa: E501 + def __init__(self, id=None, asset_url=None, asset_url_object=None, asset_version=None, created_at=None, platform=None, plugin_url=None, plugin_url_object=None, unity_sort_number=None, unity_version='5.3.4p1', impostor_url=None, scan_status=None, local_vars_configuration=None): # noqa: E501 """UnityPackage - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration + self._id = None self._asset_url = None self._asset_url_object = None self._asset_version = None self._created_at = None - self._id = None self._platform = None self._plugin_url = None self._plugin_url_object = None self._unity_sort_number = None self._unity_version = None + self._impostor_url = None + self._scan_status = None self.discriminator = None - if asset_url is not None: - self.asset_url = asset_url + self.id = id + self.asset_url = asset_url if asset_url_object is not None: self.asset_url_object = asset_url_object self.asset_version = asset_version if created_at is not None: self.created_at = created_at - self.id = id self.platform = platform if plugin_url is not None: self.plugin_url = plugin_url @@ -95,6 +100,32 @@ def __init__(self, asset_url=None, asset_url_object=None, asset_version=None, cr if unity_sort_number is not None: self.unity_sort_number = unity_sort_number self.unity_version = unity_version + self.impostor_url = impostor_url + if scan_status is not None: + self.scan_status = scan_status + + @property + def id(self): + """Gets the id of this UnityPackage. # noqa: E501 + + + :return: The id of this UnityPackage. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this UnityPackage. + + + :param id: The id of this UnityPackage. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + + self._id = id @property def asset_url(self): @@ -188,32 +219,6 @@ def created_at(self, created_at): self._created_at = created_at - @property - def id(self): - """Gets the id of this UnityPackage. # noqa: E501 - - - :return: The id of this UnityPackage. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this UnityPackage. - - - :param id: The id of this UnityPackage. # noqa: E501 - :type id: str - """ - if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - id is not None and not re.search(r'(unp)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', id)): # noqa: E501 - raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/(unp)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 - - self._id = id - @property def platform(self): """Gets the platform of this UnityPackage. # noqa: E501 @@ -331,6 +336,48 @@ def unity_version(self, unity_version): self._unity_version = unity_version + @property + def impostor_url(self): + """Gets the impostor_url of this UnityPackage. # noqa: E501 + + + :return: The impostor_url of this UnityPackage. # noqa: E501 + :rtype: str + """ + return self._impostor_url + + @impostor_url.setter + def impostor_url(self, impostor_url): + """Sets the impostor_url of this UnityPackage. + + + :param impostor_url: The impostor_url of this UnityPackage. # noqa: E501 + :type impostor_url: str + """ + + self._impostor_url = impostor_url + + @property + def scan_status(self): + """Gets the scan_status of this UnityPackage. # noqa: E501 + + + :return: The scan_status of this UnityPackage. # noqa: E501 + :rtype: str + """ + return self._scan_status + + @scan_status.setter + def scan_status(self, scan_status): + """Sets the scan_status of this UnityPackage. + + + :param scan_status: The scan_status of this UnityPackage. # noqa: E501 + :type scan_status: str + """ + + self._scan_status = scan_status + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index 4bbc8a27..6b3fe23e 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -134,9 +134,6 @@ def id(self, id): :param id: The id of this UpdateAvatarRequest. # noqa: E501 :type id: str """ - if (self.local_vars_configuration.client_side_validation and - id is not None and not re.search(r'avtr_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', id)): # noqa: E501 - raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/avtr_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 self._id = id diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index a7794729..8f92e1f6 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index ec23956c..ad0723a0 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index 1dfa65fd..7ba32159 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index e6803146..3e85c26a 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index fcde06cd..a4963f71 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index 9b739d1b..db458395 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index 67067516..ab3a1e56 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index 20de4dfc..4a91c9ad 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index 64ba4a6b..2ed6cc93 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -460,9 +460,6 @@ def instance_id(self, instance_id): :param instance_id: The instance_id of this User. # noqa: E501 :type instance_id: str """ - if (self.local_vars_configuration.client_side_validation and - instance_id is not None and not re.search(r'(private|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}:(\d+)(~region\(([\w]+)\))?(~([\w]+)\(usr_([\w-]+)\)((\~canRequestInvite)?)(~region\(([\w].+)\))?~nonce\((.+)\))?)', instance_id)): # noqa: E501 - raise ValueError(r"Invalid value for `instance_id`, must be a follow pattern or equal to `/(private|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}:(\d+)(~region\(([\w]+)\))?(~([\w]+)\(usr_([\w-]+)\)((\~canRequestInvite)?)(~region\(([\w].+)\))?~nonce\((.+)\))?)/`") # noqa: E501 self._instance_id = instance_id @@ -586,9 +583,6 @@ def location(self, location): :param location: The location of this User. # noqa: E501 :type location: str """ - if (self.local_vars_configuration.client_side_validation and - location is not None and not re.search(r'(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})', location)): # noqa: E501 - raise ValueError(r"Invalid value for `location`, must be a follow pattern or equal to `/(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})/`") # noqa: E501 self._location = location @@ -859,9 +853,6 @@ def world_id(self, world_id): :param world_id: The world_id of this User. # noqa: E501 :type world_id: str """ - if (self.local_vars_configuration.client_side_validation and - world_id is not None and not re.search(r'(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})', world_id)): # noqa: E501 - raise ValueError(r"Invalid value for `world_id`, must be a follow pattern or equal to `/(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})/`") # noqa: E501 self._world_id = world_id diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index ea34ed1e..47b93e0f 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index d706080d..3aa3aa90 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index a11378cd..a659d798 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index fe83993b..e261cf22 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -157,9 +157,6 @@ def transaction_id(self, transaction_id): """ if self.local_vars_configuration.client_side_validation and transaction_id is None: # noqa: E501 raise ValueError("Invalid value for `transaction_id`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - transaction_id is not None and not re.search(r'txn_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', transaction_id)): # noqa: E501 - raise ValueError(r"Invalid value for `transaction_id`, must be a follow pattern or equal to `/txn_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501 self._transaction_id = transaction_id diff --git a/vrchatapi/models/verify2_fa_email_code_result.py b/vrchatapi/models/verify2_fa_email_code_result.py index 52022662..c0c4381b 100644 --- a/vrchatapi/models/verify2_fa_email_code_result.py +++ b/vrchatapi/models/verify2_fa_email_code_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index 78a8793c..7fd974dd 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index 65571ed6..23a07335 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index 74118afc..d0e09f86 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -64,7 +64,8 @@ class World(object): 'unity_packages': 'list[UnityPackage]', 'updated_at': 'datetime', 'version': 'int', - 'visits': 'int' + 'visits': 'int', + 'udon_products': 'list[str]' } attribute_map = { @@ -96,10 +97,11 @@ class World(object): 'unity_packages': 'unityPackages', 'updated_at': 'updated_at', 'version': 'version', - 'visits': 'visits' + 'visits': 'visits', + 'udon_products': 'udonProducts' } - def __init__(self, author_id=None, author_name=None, capacity=None, recommended_capacity=None, created_at=None, description=None, favorites=0, featured=False, heat=0, id=None, image_url=None, instances=None, labs_publication_date=None, name=None, namespace=None, occupants=0, organization='vrchat', popularity=0, preview_youtube_id=None, private_occupants=0, public_occupants=0, publication_date=None, release_status=None, tags=None, thumbnail_image_url=None, unity_packages=None, updated_at=None, version=0, visits=0, local_vars_configuration=None): # noqa: E501 + def __init__(self, author_id=None, author_name=None, capacity=None, recommended_capacity=None, created_at=None, description=None, favorites=0, featured=False, heat=0, id=None, image_url=None, instances=None, labs_publication_date=None, name=None, namespace=None, occupants=0, organization='vrchat', popularity=0, preview_youtube_id=None, private_occupants=0, public_occupants=0, publication_date=None, release_status=None, tags=None, thumbnail_image_url=None, unity_packages=None, updated_at=None, version=0, visits=0, udon_products=None, local_vars_configuration=None): # noqa: E501 """World - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -134,6 +136,7 @@ def __init__(self, author_id=None, author_name=None, capacity=None, recommended_ self._updated_at = None self._version = None self._visits = None + self._udon_products = None self.discriminator = None self.author_id = author_id @@ -171,6 +174,8 @@ def __init__(self, author_id=None, author_name=None, capacity=None, recommended_ self.updated_at = updated_at self.version = version self.visits = visits + if udon_products is not None: + self.udon_products = udon_products @property def author_id(self): @@ -413,9 +418,6 @@ def id(self, id): """ if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - id is not None and not re.search(r'(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})', id)): # noqa: E501 - raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})/`") # noqa: E501 self._id = id @@ -892,6 +894,27 @@ def visits(self, visits): self._visits = visits + @property + def udon_products(self): + """Gets the udon_products of this World. # noqa: E501 + + + :return: The udon_products of this World. # noqa: E501 + :rtype: list[str] + """ + return self._udon_products + + @udon_products.setter + def udon_products(self, udon_products): + """Sets the udon_products of this World. + + + :param udon_products: The udon_products of this World. # noqa: E501 + :type udon_products: list[str] + """ + + self._udon_products = udon_products + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index 9f044600..2ad1db3f 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -80,9 +80,6 @@ def id(self, id): """ if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - id is not None and not re.search(r'(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})', id)): # noqa: E501 - raise ValueError(r"Invalid value for `id`, must be a follow pattern or equal to `/(^$|offline|(wrld|wld)_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})/`") # noqa: E501 self._id = id diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index 2ce32bfc..a3105eb4 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index 4719133e..1ef28096 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.15.0 + The version of the OpenAPI document: 1.16.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ From b45307f50ddc0dd6621867be2cc59af1871b1641 Mon Sep 17 00:00:00 2001 From: VRCCat Date: Fri, 5 Jan 2024 16:47:54 +0000 Subject: [PATCH 036/102] Upgrade Python SDK to spec 1.16.0 --- .openapi-generator/FILES | 2 + docs/GroupsApi.md | 68 ++++ docs/LimitedGroup.md | 27 ++ vrchatapi/__init__.py | 1 + vrchatapi/api/groups_api.py | 155 +++++++++ vrchatapi/models/__init__.py | 1 + vrchatapi/models/limited_group.py | 548 ++++++++++++++++++++++++++++++ 7 files changed, 802 insertions(+) create mode 100644 docs/LimitedGroup.md create mode 100644 vrchatapi/models/limited_group.py diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 8f8c4c50..fa740e1d 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -79,6 +79,7 @@ docs/License.md docs/LicenseAction.md docs/LicenseGroup.md docs/LicenseType.md +docs/LimitedGroup.md docs/LimitedUnityPackage.md docs/LimitedUser.md docs/LimitedWorld.md @@ -234,6 +235,7 @@ vrchatapi/models/license.py vrchatapi/models/license_action.py vrchatapi/models/license_group.py vrchatapi/models/license_type.py +vrchatapi/models/limited_group.py vrchatapi/models/limited_unity_package.py vrchatapi/models/limited_user.py vrchatapi/models/limited_world.py diff --git a/docs/GroupsApi.md b/docs/GroupsApi.md index c70b713a..f2a95f97 100644 --- a/docs/GroupsApi.md +++ b/docs/GroupsApi.md @@ -35,6 +35,7 @@ Method | HTTP request | Description [**leave_group**](GroupsApi.md#leave_group) | **POST** /groups/{groupId}/leave | Leave Group [**remove_group_member_role**](GroupsApi.md#remove_group_member_role) | **DELETE** /groups/{groupId}/members/{userId}/roles/{groupRoleId} | Remove Role from GroupMember [**respond_group_join_request**](GroupsApi.md#respond_group_join_request) | **PUT** /groups/{groupId}/requests/{userId} | Respond Group Join request +[**search_groups**](GroupsApi.md#search_groups) | **GET** /groups | Search Group [**unban_group_member**](GroupsApi.md#unban_group_member) | **DELETE** /groups/{groupId}/bans/{userId} | Unban Group Member [**update_group**](GroupsApi.md#update_group) | **PUT** /groups/{groupId} | Update Group [**update_group_gallery**](GroupsApi.md#update_group_gallery) | **PUT** /groups/{groupId}/galleries/{groupGalleryId} | Update Group Gallery @@ -2433,6 +2434,73 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **search_groups** +> list[LimitedGroup] search_groups(query=query, offset=offset, n=n) + +Search Group + +Searches Groups by name or shortCode + +### Example + +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient() as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + query = 'query_example' # str | Query to search for, can be either Group Name or Group shortCode (optional) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) +n = 60 # int | The number of objects to return. (optional) (default to 60) + + try: + # Search Group + api_response = api_instance.search_groups(query=query, offset=offset, n=n) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->search_groups: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **query** | **str**| Query to search for, can be either Group Name or Group shortCode | [optional] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + **n** | **int**| The number of objects to return. | [optional] [default to 60] + +### Return type + +[**list[LimitedGroup]**](LimitedGroup.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of LimitedGroup objects. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **unban_group_member** > GroupMember unban_group_member(group_id, user_id) diff --git a/docs/LimitedGroup.md b/docs/LimitedGroup.md new file mode 100644 index 00000000..91d49551 --- /dev/null +++ b/docs/LimitedGroup.md @@ -0,0 +1,27 @@ +# LimitedGroup + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | | [optional] +**name** | **str** | | [optional] +**short_code** | **str** | | [optional] +**discriminator** | **str** | | [optional] +**description** | **str** | | [optional] +**icon_url** | **str** | | [optional] +**banner_url** | **str** | | [optional] +**owner_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] +**rules** | **str** | | [optional] +**icon_id** | **str** | | [optional] +**banner_id** | **str** | | [optional] +**member_count** | **int** | | [optional] +**tags** | **list[str]** | | [optional] +**created_at** | **datetime** | | [optional] +**membership_status** | [**GroupMemberStatus**](GroupMemberStatus.md) | | [optional] +**is_searchable** | **bool** | | [optional] +**galleries** | [**list[GroupGallery]**](GroupGallery.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 9061a5b0..6d423ede 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -114,6 +114,7 @@ from vrchatapi.models.license_action import LicenseAction from vrchatapi.models.license_group import LicenseGroup from vrchatapi.models.license_type import LicenseType +from vrchatapi.models.limited_group import LimitedGroup from vrchatapi.models.limited_unity_package import LimitedUnityPackage from vrchatapi.models.limited_user import LimitedUser from vrchatapi.models.limited_world import LimitedWorld diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index aea0983f..7bc85a6c 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4683,6 +4683,161 @@ def respond_group_join_request_with_http_info(self, group_id, user_id, **kwargs) collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def search_groups(self, **kwargs): # noqa: E501 + """Search Group # noqa: E501 + + Searches Groups by name or shortCode # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.search_groups(async_req=True) + >>> result = thread.get() + + :param query: Query to search for, can be either Group Name or Group shortCode + :type query: str + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param n: The number of objects to return. + :type n: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[LimitedGroup] + """ + kwargs['_return_http_data_only'] = True + return self.search_groups_with_http_info(**kwargs) # noqa: E501 + + def search_groups_with_http_info(self, **kwargs): # noqa: E501 + """Search Group # noqa: E501 + + Searches Groups by name or shortCode # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.search_groups_with_http_info(async_req=True) + >>> result = thread.get() + + :param query: Query to search for, can be either Group Name or Group shortCode + :type query: str + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param n: The number of objects to return. + :type n: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[LimitedGroup], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'query', + 'offset', + 'n' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method search_groups" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `search_groups`, must be a value greater than or equal to `0`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `search_groups`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `search_groups`, must be a value greater than or equal to `1`") # noqa: E501 + collection_formats = {} + + path_params = {} + + query_params = [] + if local_var_params.get('query') is not None: # noqa: E501 + query_params.append(('query', local_var_params['query'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + response_types_map = { + 200: "list[LimitedGroup]", + 401: "Error", + } + + return self.api_client.call_api( + '/groups', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def unban_group_member(self, group_id, user_id, **kwargs): # noqa: E501 """Unban Group Member # noqa: E501 diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index 95fe796e..10e5a3de 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -85,6 +85,7 @@ from vrchatapi.models.license_action import LicenseAction from vrchatapi.models.license_group import LicenseGroup from vrchatapi.models.license_type import LicenseType +from vrchatapi.models.limited_group import LimitedGroup from vrchatapi.models.limited_unity_package import LimitedUnityPackage from vrchatapi.models.limited_user import LimitedUser from vrchatapi.models.limited_world import LimitedWorld diff --git a/vrchatapi/models/limited_group.py b/vrchatapi/models/limited_group.py new file mode 100644 index 00000000..a68e2deb --- /dev/null +++ b/vrchatapi/models/limited_group.py @@ -0,0 +1,548 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.16.0 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class LimitedGroup(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'id': 'str', + 'name': 'str', + 'short_code': 'str', + 'discriminator': 'str', + 'description': 'str', + 'icon_url': 'str', + 'banner_url': 'str', + 'owner_id': 'str', + 'rules': 'str', + 'icon_id': 'str', + 'banner_id': 'str', + 'member_count': 'int', + 'tags': 'list[str]', + 'created_at': 'datetime', + 'membership_status': 'GroupMemberStatus', + 'is_searchable': 'bool', + 'galleries': 'list[GroupGallery]' + } + + attribute_map = { + 'id': 'id', + 'name': 'name', + 'short_code': 'shortCode', + 'discriminator': 'discriminator', + 'description': 'description', + 'icon_url': 'iconUrl', + 'banner_url': 'bannerUrl', + 'owner_id': 'ownerId', + 'rules': 'rules', + 'icon_id': 'iconId', + 'banner_id': 'bannerId', + 'member_count': 'memberCount', + 'tags': 'tags', + 'created_at': 'createdAt', + 'membership_status': 'membershipStatus', + 'is_searchable': 'isSearchable', + 'galleries': 'galleries' + } + + def __init__(self, id=None, name=None, short_code=None, discriminator=None, description=None, icon_url=None, banner_url=None, owner_id=None, rules=None, icon_id=None, banner_id=None, member_count=None, tags=None, created_at=None, membership_status=None, is_searchable=None, galleries=None, local_vars_configuration=None): # noqa: E501 + """LimitedGroup - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._id = None + self._name = None + self._short_code = None + self._discriminator = None + self._description = None + self._icon_url = None + self._banner_url = None + self._owner_id = None + self._rules = None + self._icon_id = None + self._banner_id = None + self._member_count = None + self._tags = None + self._created_at = None + self._membership_status = None + self._is_searchable = None + self._galleries = None + self.discriminator = None + + if id is not None: + self.id = id + if name is not None: + self.name = name + if short_code is not None: + self.short_code = short_code + if discriminator is not None: + self.discriminator = discriminator + if description is not None: + self.description = description + self.icon_url = icon_url + self.banner_url = banner_url + if owner_id is not None: + self.owner_id = owner_id + self.rules = rules + self.icon_id = icon_id + self.banner_id = banner_id + if member_count is not None: + self.member_count = member_count + if tags is not None: + self.tags = tags + if created_at is not None: + self.created_at = created_at + if membership_status is not None: + self.membership_status = membership_status + if is_searchable is not None: + self.is_searchable = is_searchable + if galleries is not None: + self.galleries = galleries + + @property + def id(self): + """Gets the id of this LimitedGroup. # noqa: E501 + + + :return: The id of this LimitedGroup. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this LimitedGroup. + + + :param id: The id of this LimitedGroup. # noqa: E501 + :type id: str + """ + + self._id = id + + @property + def name(self): + """Gets the name of this LimitedGroup. # noqa: E501 + + + :return: The name of this LimitedGroup. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this LimitedGroup. + + + :param name: The name of this LimitedGroup. # noqa: E501 + :type name: str + """ + + self._name = name + + @property + def short_code(self): + """Gets the short_code of this LimitedGroup. # noqa: E501 + + + :return: The short_code of this LimitedGroup. # noqa: E501 + :rtype: str + """ + return self._short_code + + @short_code.setter + def short_code(self, short_code): + """Sets the short_code of this LimitedGroup. + + + :param short_code: The short_code of this LimitedGroup. # noqa: E501 + :type short_code: str + """ + + self._short_code = short_code + + @property + def discriminator(self): + """Gets the discriminator of this LimitedGroup. # noqa: E501 + + + :return: The discriminator of this LimitedGroup. # noqa: E501 + :rtype: str + """ + return self._discriminator + + @discriminator.setter + def discriminator(self, discriminator): + """Sets the discriminator of this LimitedGroup. + + + :param discriminator: The discriminator of this LimitedGroup. # noqa: E501 + :type discriminator: str + """ + + self._discriminator = discriminator + + @property + def description(self): + """Gets the description of this LimitedGroup. # noqa: E501 + + + :return: The description of this LimitedGroup. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this LimitedGroup. + + + :param description: The description of this LimitedGroup. # noqa: E501 + :type description: str + """ + + self._description = description + + @property + def icon_url(self): + """Gets the icon_url of this LimitedGroup. # noqa: E501 + + + :return: The icon_url of this LimitedGroup. # noqa: E501 + :rtype: str + """ + return self._icon_url + + @icon_url.setter + def icon_url(self, icon_url): + """Sets the icon_url of this LimitedGroup. + + + :param icon_url: The icon_url of this LimitedGroup. # noqa: E501 + :type icon_url: str + """ + + self._icon_url = icon_url + + @property + def banner_url(self): + """Gets the banner_url of this LimitedGroup. # noqa: E501 + + + :return: The banner_url of this LimitedGroup. # noqa: E501 + :rtype: str + """ + return self._banner_url + + @banner_url.setter + def banner_url(self, banner_url): + """Sets the banner_url of this LimitedGroup. + + + :param banner_url: The banner_url of this LimitedGroup. # noqa: E501 + :type banner_url: str + """ + + self._banner_url = banner_url + + @property + def owner_id(self): + """Gets the owner_id of this LimitedGroup. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The owner_id of this LimitedGroup. # noqa: E501 + :rtype: str + """ + return self._owner_id + + @owner_id.setter + def owner_id(self, owner_id): + """Sets the owner_id of this LimitedGroup. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param owner_id: The owner_id of this LimitedGroup. # noqa: E501 + :type owner_id: str + """ + + self._owner_id = owner_id + + @property + def rules(self): + """Gets the rules of this LimitedGroup. # noqa: E501 + + + :return: The rules of this LimitedGroup. # noqa: E501 + :rtype: str + """ + return self._rules + + @rules.setter + def rules(self, rules): + """Sets the rules of this LimitedGroup. + + + :param rules: The rules of this LimitedGroup. # noqa: E501 + :type rules: str + """ + + self._rules = rules + + @property + def icon_id(self): + """Gets the icon_id of this LimitedGroup. # noqa: E501 + + + :return: The icon_id of this LimitedGroup. # noqa: E501 + :rtype: str + """ + return self._icon_id + + @icon_id.setter + def icon_id(self, icon_id): + """Sets the icon_id of this LimitedGroup. + + + :param icon_id: The icon_id of this LimitedGroup. # noqa: E501 + :type icon_id: str + """ + + self._icon_id = icon_id + + @property + def banner_id(self): + """Gets the banner_id of this LimitedGroup. # noqa: E501 + + + :return: The banner_id of this LimitedGroup. # noqa: E501 + :rtype: str + """ + return self._banner_id + + @banner_id.setter + def banner_id(self, banner_id): + """Sets the banner_id of this LimitedGroup. + + + :param banner_id: The banner_id of this LimitedGroup. # noqa: E501 + :type banner_id: str + """ + + self._banner_id = banner_id + + @property + def member_count(self): + """Gets the member_count of this LimitedGroup. # noqa: E501 + + + :return: The member_count of this LimitedGroup. # noqa: E501 + :rtype: int + """ + return self._member_count + + @member_count.setter + def member_count(self, member_count): + """Sets the member_count of this LimitedGroup. + + + :param member_count: The member_count of this LimitedGroup. # noqa: E501 + :type member_count: int + """ + + self._member_count = member_count + + @property + def tags(self): + """Gets the tags of this LimitedGroup. # noqa: E501 + + # noqa: E501 + + :return: The tags of this LimitedGroup. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this LimitedGroup. + + # noqa: E501 + + :param tags: The tags of this LimitedGroup. # noqa: E501 + :type tags: list[str] + """ + + self._tags = tags + + @property + def created_at(self): + """Gets the created_at of this LimitedGroup. # noqa: E501 + + + :return: The created_at of this LimitedGroup. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this LimitedGroup. + + + :param created_at: The created_at of this LimitedGroup. # noqa: E501 + :type created_at: datetime + """ + + self._created_at = created_at + + @property + def membership_status(self): + """Gets the membership_status of this LimitedGroup. # noqa: E501 + + + :return: The membership_status of this LimitedGroup. # noqa: E501 + :rtype: GroupMemberStatus + """ + return self._membership_status + + @membership_status.setter + def membership_status(self, membership_status): + """Sets the membership_status of this LimitedGroup. + + + :param membership_status: The membership_status of this LimitedGroup. # noqa: E501 + :type membership_status: GroupMemberStatus + """ + + self._membership_status = membership_status + + @property + def is_searchable(self): + """Gets the is_searchable of this LimitedGroup. # noqa: E501 + + + :return: The is_searchable of this LimitedGroup. # noqa: E501 + :rtype: bool + """ + return self._is_searchable + + @is_searchable.setter + def is_searchable(self, is_searchable): + """Sets the is_searchable of this LimitedGroup. + + + :param is_searchable: The is_searchable of this LimitedGroup. # noqa: E501 + :type is_searchable: bool + """ + + self._is_searchable = is_searchable + + @property + def galleries(self): + """Gets the galleries of this LimitedGroup. # noqa: E501 + + # noqa: E501 + + :return: The galleries of this LimitedGroup. # noqa: E501 + :rtype: list[GroupGallery] + """ + return self._galleries + + @galleries.setter + def galleries(self, galleries): + """Sets the galleries of this LimitedGroup. + + # noqa: E501 + + :param galleries: The galleries of this LimitedGroup. # noqa: E501 + :type galleries: list[GroupGallery] + """ + + self._galleries = galleries + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, LimitedGroup): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, LimitedGroup): + return True + + return self.to_dict() != other.to_dict() From e421f0be74143c6377312b1d6c7ffb10511c4139 Mon Sep 17 00:00:00 2001 From: VRCCat Date: Fri, 5 Jan 2024 16:53:49 +0000 Subject: [PATCH 037/102] Upgrade Python SDK to spec 1.16.2 --- setup.py | 4 ++-- vrchatapi/__init__.py | 2 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/groups_api.py | 2 +- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 ++-- vrchatapi/exceptions.py | 2 +- vrchatapi/models/__init__.py | 2 +- vrchatapi/models/account_deletion_log.py | 2 +- vrchatapi/models/add_favorite_request.py | 2 +- vrchatapi/models/add_group_gallery_image_request.py | 2 +- vrchatapi/models/api_config.py | 2 +- vrchatapi/models/api_config_announcement.py | 2 +- vrchatapi/models/api_config_download_url_list.py | 2 +- vrchatapi/models/api_config_events.py | 2 +- vrchatapi/models/api_health.py | 2 +- vrchatapi/models/avatar.py | 2 +- vrchatapi/models/avatar_unity_package_url_object.py | 2 +- vrchatapi/models/ban_group_member_request.py | 2 +- vrchatapi/models/create_avatar_request.py | 2 +- vrchatapi/models/create_file_request.py | 2 +- vrchatapi/models/create_file_version_request.py | 2 +- vrchatapi/models/create_group_announcement_request.py | 2 +- vrchatapi/models/create_group_gallery_request.py | 2 +- vrchatapi/models/create_group_invite_request.py | 2 +- vrchatapi/models/create_group_request.py | 2 +- vrchatapi/models/create_group_role_request.py | 2 +- vrchatapi/models/create_world_request.py | 2 +- vrchatapi/models/current_user.py | 2 +- vrchatapi/models/current_user_presence.py | 2 +- vrchatapi/models/deployment_group.py | 2 +- vrchatapi/models/developer_type.py | 2 +- vrchatapi/models/dynamic_content_row.py | 2 +- vrchatapi/models/error.py | 2 +- vrchatapi/models/favorite.py | 2 +- vrchatapi/models/favorite_group.py | 2 +- vrchatapi/models/favorite_group_visibility.py | 2 +- vrchatapi/models/favorite_type.py | 2 +- vrchatapi/models/file.py | 2 +- vrchatapi/models/file_data.py | 2 +- vrchatapi/models/file_status.py | 2 +- vrchatapi/models/file_upload_url.py | 2 +- vrchatapi/models/file_version.py | 2 +- vrchatapi/models/file_version_upload_status.py | 2 +- vrchatapi/models/finish_file_data_upload_request.py | 2 +- vrchatapi/models/friend_status.py | 2 +- vrchatapi/models/group.py | 2 +- vrchatapi/models/group_announcement.py | 2 +- vrchatapi/models/group_audit_log_entry.py | 2 +- vrchatapi/models/group_gallery.py | 2 +- vrchatapi/models/group_gallery_image.py | 2 +- vrchatapi/models/group_join_state.py | 2 +- vrchatapi/models/group_limited_member.py | 2 +- vrchatapi/models/group_member.py | 2 +- vrchatapi/models/group_member_limited_user.py | 2 +- vrchatapi/models/group_member_status.py | 2 +- vrchatapi/models/group_my_member.py | 2 +- vrchatapi/models/group_permission.py | 2 +- vrchatapi/models/group_privacy.py | 2 +- vrchatapi/models/group_role.py | 2 +- vrchatapi/models/group_role_template.py | 2 +- vrchatapi/models/group_user_visibility.py | 2 +- vrchatapi/models/info_push.py | 2 +- vrchatapi/models/info_push_data.py | 2 +- vrchatapi/models/info_push_data_article.py | 2 +- vrchatapi/models/info_push_data_article_content.py | 2 +- vrchatapi/models/info_push_data_clickable.py | 2 +- vrchatapi/models/instance.py | 2 +- vrchatapi/models/instance_platforms.py | 2 +- vrchatapi/models/instance_short_name_response.py | 2 +- vrchatapi/models/instance_type.py | 2 +- vrchatapi/models/invite_message.py | 2 +- vrchatapi/models/invite_message_type.py | 2 +- vrchatapi/models/invite_request.py | 2 +- vrchatapi/models/invite_response.py | 2 +- vrchatapi/models/license.py | 2 +- vrchatapi/models/license_action.py | 2 +- vrchatapi/models/license_group.py | 2 +- vrchatapi/models/license_type.py | 2 +- vrchatapi/models/limited_group.py | 2 +- vrchatapi/models/limited_unity_package.py | 2 +- vrchatapi/models/limited_user.py | 2 +- vrchatapi/models/limited_world.py | 2 +- vrchatapi/models/mime_type.py | 2 +- vrchatapi/models/moderate_user_request.py | 2 +- vrchatapi/models/notification.py | 2 +- vrchatapi/models/notification_type.py | 2 +- vrchatapi/models/order_option.py | 2 +- vrchatapi/models/paginated_group_audit_log_entry_list.py | 2 +- vrchatapi/models/past_display_name.py | 2 +- vrchatapi/models/permission.py | 2 +- vrchatapi/models/player_moderation.py | 2 +- vrchatapi/models/player_moderation_type.py | 2 +- vrchatapi/models/region.py | 2 +- vrchatapi/models/release_status.py | 2 +- vrchatapi/models/request_invite_request.py | 2 +- vrchatapi/models/respond_group_join_request.py | 2 +- vrchatapi/models/response.py | 2 +- vrchatapi/models/sent_notification.py | 2 +- vrchatapi/models/sort_option.py | 2 +- vrchatapi/models/subscription.py | 2 +- vrchatapi/models/subscription_period.py | 2 +- vrchatapi/models/success.py | 2 +- vrchatapi/models/transaction.py | 2 +- vrchatapi/models/transaction_agreement.py | 2 +- vrchatapi/models/transaction_status.py | 2 +- vrchatapi/models/transaction_steam_info.py | 2 +- vrchatapi/models/transaction_steam_wallet_info.py | 2 +- vrchatapi/models/two_factor_auth_code.py | 2 +- vrchatapi/models/two_factor_email_code.py | 2 +- vrchatapi/models/unity_package.py | 2 +- vrchatapi/models/update_avatar_request.py | 2 +- vrchatapi/models/update_favorite_group_request.py | 2 +- vrchatapi/models/update_group_gallery_request.py | 2 +- vrchatapi/models/update_group_member_request.py | 2 +- vrchatapi/models/update_group_request.py | 2 +- vrchatapi/models/update_group_role_request.py | 2 +- vrchatapi/models/update_invite_message_request.py | 2 +- vrchatapi/models/update_user_request.py | 2 +- vrchatapi/models/update_world_request.py | 2 +- vrchatapi/models/user.py | 2 +- vrchatapi/models/user_exists.py | 2 +- vrchatapi/models/user_state.py | 2 +- vrchatapi/models/user_status.py | 2 +- vrchatapi/models/user_subscription.py | 2 +- vrchatapi/models/verify2_fa_email_code_result.py | 2 +- vrchatapi/models/verify2_fa_result.py | 2 +- vrchatapi/models/verify_auth_token_result.py | 2 +- vrchatapi/models/world.py | 2 +- vrchatapi/models/world_metadata.py | 2 +- vrchatapi/models/world_publish_status.py | 2 +- vrchatapi/rest.py | 2 +- 145 files changed, 147 insertions(+), 147 deletions(-) diff --git a/setup.py b/setup.py index f4949df8..4d8652be 100644 --- a/setup.py +++ b/setup.py @@ -81,7 +81,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -90,7 +90,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.16.0" +VERSION = "1.16.2" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 6d423ede..9a1ee81b 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,7 +6,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index 83b4324e..ca575589 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index 7f927325..41158016 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 7ed89c73..78f15a4c 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index ae6b7af5..62a75d72 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index 6cf0b7ac..9adbf808 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index 7dbc340e..7bf34241 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index 7bc85a6c..ccf59fd8 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 597898ea..67fc338b 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index 0b773868..91322741 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index 5a2688fd..99f12bb4 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index 02fa82ea..a982e939 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index d2644d3c..0f7fdcd9 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index 6fbb326f..bf8f7a55 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index bba9fe6d..8ccf831c 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 9810a5ad..7aff5bb3 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index 95ddbec9..e511f50f 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,7 +3,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index 0d3167aa..4d594f94 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -441,7 +441,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.16.0\n"\ + "Version of the API: 1.16.2\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index 6c13651e..2577608c 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index 10e5a3de..8ccc254e 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,7 +5,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/account_deletion_log.py b/vrchatapi/models/account_deletion_log.py index 45d169cf..14804429 100644 --- a/vrchatapi/models/account_deletion_log.py +++ b/vrchatapi/models/account_deletion_log.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index eed9bb61..f7fb5208 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index ca67f305..f29c8519 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index 08f60611..daac82ba 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index 1168ab00..2193b223 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index a805493f..dc76fb12 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index a8ea23a7..209e4ecb 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index f5829555..7fd887b0 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index 6d06c349..5e359983 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index 693e30e0..0ae766cc 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index 8ee6831b..d8a854fa 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index 6c000d53..18a934aa 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index 24ddda1f..a774df92 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index eb30e28e..c235e94a 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index 6271e2b0..b2fcb35b 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index 998647c2..af74b396 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index 936a570c..8d9a22fe 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index ca23d987..678c1c37 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index 0e892464..01d4543e 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index 5c60e91d..7b978734 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index ef1dd308..ffdb55b9 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user_presence.py b/vrchatapi/models/current_user_presence.py index d82584e6..9a3df439 100644 --- a/vrchatapi/models/current_user_presence.py +++ b/vrchatapi/models/current_user_presence.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/deployment_group.py b/vrchatapi/models/deployment_group.py index 2ce33af3..010ae9f9 100644 --- a/vrchatapi/models/deployment_group.py +++ b/vrchatapi/models/deployment_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index 25e6cdf6..9fae7f73 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index 3bf5727c..36efc076 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index f818bb96..4743a974 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index a1a68b61..2b9111fe 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index dfd9a751..8845b890 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index 587de235..abf8e65a 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index d41d5550..884b6158 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index 5c1acb99..659de82c 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index e1956c8a..e3208d76 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index 5fcf09e8..2b9bff1c 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index c39ecdc7..dc24c012 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index 921d11cd..446fc12a 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index 82343485..feccbf43 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index b0215501..51d0f3d1 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index 5f47be80..3de511c9 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index 38a8f545..2149a59c 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index b61a07e0..4bdd7030 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index e24fc80a..55ef3f98 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index 64ba5296..0c66dae3 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index 60257b44..14b82e77 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index 19bf691d..11dbde29 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index 6f4916f6..b6c78ca6 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index 6f1c4c63..4c9607c0 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index 23342b0a..f28223a2 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index 114b94ea..2b2ee9b0 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index 8657fd12..5978c44f 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index 246aab1a..1e5db9b1 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index add2743a..506339bc 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index bdb2738a..12b1cb60 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index 9186334a..6db5eb3d 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index 09d848d9..28eaa3b9 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index 30d31565..f7b40c05 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index a1e582fc..73fdd351 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index 1519701e..e91d1e48 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index c1de1e78..38112f0d 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index 9940c698..e2ce8a1c 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index 64f600c7..f5b24ef9 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index 33eb1255..cb05e5f3 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index 4597af28..09a17550 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index 0d585697..4a78879a 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index 91384679..3d1ebd3f 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index 2536b1fe..416ac3d6 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index 16cdadb3..9f3c0050 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index 5ad32b58..71d7ba18 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index a812b0af..f8dce5dd 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index 46ea3f14..8f030f40 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index 605d0114..74e1f62a 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index 18a964c5..6235aa4d 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_group.py b/vrchatapi/models/limited_group.py index a68e2deb..b9d84a79 100644 --- a/vrchatapi/models/limited_group.py +++ b/vrchatapi/models/limited_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index 541278bf..76146a32 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user.py b/vrchatapi/models/limited_user.py index 9f7c7b96..527095e3 100644 --- a/vrchatapi/models/limited_user.py +++ b/vrchatapi/models/limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index c59ff9fd..adde3bff 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index ade4f619..85b24368 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index f8a8ef72..f1120fa0 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index 78de3cf3..5876075d 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index 62f10b71..cf5054c0 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index a2360a52..466ae1e4 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index de2cc2b9..e8de6b65 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index 2d7c5c24..cb9b1157 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index 7123317f..c1918d6e 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index 61a36530..5bf3e665 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index 94bed2a2..736daa6c 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index 0a76b2cc..e65bb3b0 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index a0e9e620..07377eaa 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index 3f71e177..c9f28516 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index 20e649ab..ea8595ae 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index 4ad3d529..7e85a419 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index fdfcecf6..3f3d3523 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index 27d8ab36..ec446b34 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index eb85509e..755e6324 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index b0bb415b..c7bdb490 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index 8c90e7e6..94df9a04 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index 01f7ac53..6c8f1f86 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index ce81911d..f5a19026 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index 69be028b..adec4b51 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index 1d286589..a9a99ca8 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index 7003ad20..fb9a3b85 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index 58cb937a..ff87e941 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_email_code.py b/vrchatapi/models/two_factor_email_code.py index a258e022..abbf179b 100644 --- a/vrchatapi/models/two_factor_email_code.py +++ b/vrchatapi/models/two_factor_email_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index dacb96ad..08df48e0 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index 6b3fe23e..e02d875b 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index 8f92e1f6..64ab5f13 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index ad0723a0..942bb528 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index 7ba32159..bc6f5878 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index 3e85c26a..a7153a02 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index a4963f71..f9c91808 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index db458395..641dbad6 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index ab3a1e56..171a3858 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index 4a91c9ad..519280fd 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index 2ed6cc93..b0cf9bbf 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index 47b93e0f..666f2853 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index 3aa3aa90..a208bbc2 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index a659d798..5014a8e5 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index e261cf22..7fe15f76 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_email_code_result.py b/vrchatapi/models/verify2_fa_email_code_result.py index c0c4381b..2257d6ec 100644 --- a/vrchatapi/models/verify2_fa_email_code_result.py +++ b/vrchatapi/models/verify2_fa_email_code_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index 7fd974dd..b4530fec 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index 23a07335..3ae0ac1b 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index d0e09f86..25bf6da1 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index 2ad1db3f..b95dbf16 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index a3105eb4..b9131d8a 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index 1ef28096..736ce711 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.0 + The version of the OpenAPI document: 1.16.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ From 3795affae3cd57cd300e4f0a045f15c3e298215b Mon Sep 17 00:00:00 2001 From: Katistix <33645731+Katistic@users.noreply.github.com> Date: Fri, 12 Jan 2024 08:08:53 +1100 Subject: [PATCH 038/102] Add common symbols to safe param symbols (#14) * Add common symbols to safe param symbols Closes #13 * Add #13 patch to generate.sh --- generate.sh | 5 ++++- patches/safe_param_symbols.patch | 13 +++++++++++++ vrchatapi/configuration.py | 2 +- 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 patches/safe_param_symbols.patch diff --git a/generate.sh b/generate.sh index 7b2a8c54..1e237863 100755 --- a/generate.sh +++ b/generate.sh @@ -32,4 +32,7 @@ find vrchatapi -type f -exec sed -i '/VRChat API Banner/d' {} \; patch ./vrchatapi/rest.py < ./patches/cookiejar.patch # Make 2fa required error readable -patch ./vrchatapi/rest.py < ./patches/error_2fa_verify_readable.patch \ No newline at end of file +patch ./vrchatapi/rest.py < ./patches/error_2fa_verify_readable.patch + +# Add common symbols to safe path parameter symbols +patch ./vrchatapi/configuration.py < ./patches/safe_param_symbols.patch.patch \ No newline at end of file diff --git a/patches/safe_param_symbols.patch b/patches/safe_param_symbols.patch new file mode 100644 index 00000000..2be46e5e --- /dev/null +++ b/patches/safe_param_symbols.patch @@ -0,0 +1,13 @@ +diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py +index 4d594f94..70354d29 100644 +--- a/vrchatapi/configuration.py ++++ b/vrchatapi/configuration.py +@@ -221,7 +221,7 @@ conf = vrchatapi.Configuration( + self.proxy_headers = None + """Proxy headers + """ +- self.safe_chars_for_path_param = '' ++ self.safe_chars_for_path_param = '~()' + """Safe chars for path_param + """ + self.retries = None diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index 4d594f94..70354d29 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -221,7 +221,7 @@ def __init__(self, host=None, self.proxy_headers = None """Proxy headers """ - self.safe_chars_for_path_param = '' + self.safe_chars_for_path_param = '~()' """Safe chars for path_param """ self.retries = None From bf8090573ecf0c533312796b117522816a21ba60 Mon Sep 17 00:00:00 2001 From: Katistix <33645731+Katistic@users.noreply.github.com> Date: Sun, 4 Feb 2024 18:01:11 +1100 Subject: [PATCH 039/102] Update generate.sh (#16) Fix last added patch file path --- generate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generate.sh b/generate.sh index 1e237863..cb4a4ae9 100755 --- a/generate.sh +++ b/generate.sh @@ -35,4 +35,4 @@ patch ./vrchatapi/rest.py < ./patches/cookiejar.patch patch ./vrchatapi/rest.py < ./patches/error_2fa_verify_readable.patch # Add common symbols to safe path parameter symbols -patch ./vrchatapi/configuration.py < ./patches/safe_param_symbols.patch.patch \ No newline at end of file +patch ./vrchatapi/configuration.py < ./patches/safe_param_symbols.patch From 7dae8834296c20e8dcfb746784d9263d151fd2b1 Mon Sep 17 00:00:00 2001 From: Aries Date: Sun, 4 Feb 2024 02:21:31 -0700 Subject: [PATCH 040/102] Update ci.yaml --- .github/workflows/ci.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 06bd6ef0..22baf197 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,6 +1,7 @@ on: repository_dispatch: types: [spec_release] + workflow_dispatch: #on: push name: Generate VRChat API SDK @@ -50,4 +51,4 @@ jobs: uses: pypa/gh-action-pypi-publish@release/v1 with: skip_existing: true - password: ${{ secrets.PYPI_API_TOKEN }} \ No newline at end of file + password: ${{ secrets.PYPI_API_TOKEN }} From 055c9bdf64ce20ad8f3e29a0fb38091fc6598af2 Mon Sep 17 00:00:00 2001 From: ariesclark Date: Sun, 4 Feb 2024 09:22:35 +0000 Subject: [PATCH 041/102] Upgrade Python SDK to spec 1.16.4 --- .openapi-generator/FILES | 2 + docs/GroupMember.md | 3 + docs/GroupMemberLimitedUser.md | 3 + docs/GroupSearchSort.md | 10 + docs/GroupsApi.md | 6 +- docs/LimitedUser.md | 8 +- package-lock.json | 409 +++++++++--------- package.json | 2 +- setup.py | 4 +- vrchatapi/__init__.py | 3 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/groups_api.py | 11 +- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 +- vrchatapi/exceptions.py | 2 +- vrchatapi/models/__init__.py | 3 +- vrchatapi/models/account_deletion_log.py | 2 +- vrchatapi/models/add_favorite_request.py | 2 +- .../models/add_group_gallery_image_request.py | 2 +- vrchatapi/models/api_config.py | 2 +- vrchatapi/models/api_config_announcement.py | 2 +- .../models/api_config_download_url_list.py | 2 +- vrchatapi/models/api_config_events.py | 2 +- vrchatapi/models/api_health.py | 2 +- vrchatapi/models/avatar.py | 2 +- .../models/avatar_unity_package_url_object.py | 2 +- vrchatapi/models/ban_group_member_request.py | 2 +- vrchatapi/models/create_avatar_request.py | 2 +- vrchatapi/models/create_file_request.py | 2 +- .../models/create_file_version_request.py | 2 +- .../create_group_announcement_request.py | 2 +- .../models/create_group_gallery_request.py | 2 +- .../models/create_group_invite_request.py | 2 +- vrchatapi/models/create_group_request.py | 2 +- vrchatapi/models/create_group_role_request.py | 2 +- vrchatapi/models/create_world_request.py | 2 +- vrchatapi/models/current_user.py | 2 +- vrchatapi/models/current_user_presence.py | 2 +- vrchatapi/models/deployment_group.py | 2 +- vrchatapi/models/developer_type.py | 2 +- vrchatapi/models/dynamic_content_row.py | 2 +- vrchatapi/models/error.py | 2 +- vrchatapi/models/favorite.py | 2 +- vrchatapi/models/favorite_group.py | 2 +- vrchatapi/models/favorite_group_visibility.py | 2 +- vrchatapi/models/favorite_type.py | 2 +- vrchatapi/models/file.py | 2 +- vrchatapi/models/file_data.py | 2 +- vrchatapi/models/file_status.py | 2 +- vrchatapi/models/file_upload_url.py | 2 +- vrchatapi/models/file_version.py | 2 +- .../models/file_version_upload_status.py | 2 +- .../models/finish_file_data_upload_request.py | 2 +- vrchatapi/models/friend_status.py | 2 +- vrchatapi/models/group.py | 2 +- vrchatapi/models/group_announcement.py | 2 +- vrchatapi/models/group_audit_log_entry.py | 2 +- vrchatapi/models/group_gallery.py | 2 +- vrchatapi/models/group_gallery_image.py | 2 +- vrchatapi/models/group_join_state.py | 2 +- vrchatapi/models/group_limited_member.py | 2 +- vrchatapi/models/group_member.py | 86 +++- vrchatapi/models/group_member_limited_user.py | 86 +++- vrchatapi/models/group_member_status.py | 2 +- vrchatapi/models/group_my_member.py | 2 +- vrchatapi/models/group_permission.py | 2 +- vrchatapi/models/group_privacy.py | 2 +- vrchatapi/models/group_role.py | 2 +- vrchatapi/models/group_role_template.py | 2 +- vrchatapi/models/group_search_sort.py | 111 +++++ vrchatapi/models/group_user_visibility.py | 2 +- vrchatapi/models/info_push.py | 2 +- vrchatapi/models/info_push_data.py | 2 +- vrchatapi/models/info_push_data_article.py | 2 +- .../models/info_push_data_article_content.py | 2 +- vrchatapi/models/info_push_data_clickable.py | 2 +- vrchatapi/models/instance.py | 2 +- vrchatapi/models/instance_platforms.py | 2 +- .../models/instance_short_name_response.py | 2 +- vrchatapi/models/instance_type.py | 2 +- vrchatapi/models/invite_message.py | 2 +- vrchatapi/models/invite_message_type.py | 2 +- vrchatapi/models/invite_request.py | 2 +- vrchatapi/models/invite_response.py | 2 +- vrchatapi/models/license.py | 2 +- vrchatapi/models/license_action.py | 2 +- vrchatapi/models/license_group.py | 2 +- vrchatapi/models/license_type.py | 2 +- vrchatapi/models/limited_group.py | 2 +- vrchatapi/models/limited_unity_package.py | 2 +- vrchatapi/models/limited_user.py | 22 +- vrchatapi/models/limited_world.py | 2 +- vrchatapi/models/mime_type.py | 2 +- vrchatapi/models/moderate_user_request.py | 2 +- vrchatapi/models/notification.py | 2 +- vrchatapi/models/notification_type.py | 5 +- vrchatapi/models/order_option.py | 2 +- .../paginated_group_audit_log_entry_list.py | 2 +- vrchatapi/models/past_display_name.py | 2 +- vrchatapi/models/permission.py | 2 +- vrchatapi/models/player_moderation.py | 2 +- vrchatapi/models/player_moderation_type.py | 2 +- vrchatapi/models/region.py | 2 +- vrchatapi/models/release_status.py | 2 +- vrchatapi/models/request_invite_request.py | 2 +- .../models/respond_group_join_request.py | 2 +- vrchatapi/models/response.py | 2 +- vrchatapi/models/sent_notification.py | 2 +- vrchatapi/models/sort_option.py | 2 +- vrchatapi/models/subscription.py | 2 +- vrchatapi/models/subscription_period.py | 2 +- vrchatapi/models/success.py | 2 +- vrchatapi/models/transaction.py | 2 +- vrchatapi/models/transaction_agreement.py | 2 +- vrchatapi/models/transaction_status.py | 2 +- vrchatapi/models/transaction_steam_info.py | 2 +- .../models/transaction_steam_wallet_info.py | 2 +- vrchatapi/models/two_factor_auth_code.py | 2 +- vrchatapi/models/two_factor_email_code.py | 2 +- vrchatapi/models/unity_package.py | 2 +- vrchatapi/models/update_avatar_request.py | 2 +- .../models/update_favorite_group_request.py | 2 +- .../models/update_group_gallery_request.py | 2 +- .../models/update_group_member_request.py | 2 +- vrchatapi/models/update_group_request.py | 2 +- vrchatapi/models/update_group_role_request.py | 2 +- .../models/update_invite_message_request.py | 2 +- vrchatapi/models/update_user_request.py | 2 +- vrchatapi/models/update_world_request.py | 2 +- vrchatapi/models/user.py | 2 +- vrchatapi/models/user_exists.py | 2 +- vrchatapi/models/user_state.py | 2 +- vrchatapi/models/user_status.py | 2 +- vrchatapi/models/user_subscription.py | 2 +- .../models/verify2_fa_email_code_result.py | 2 +- vrchatapi/models/verify2_fa_result.py | 2 +- vrchatapi/models/verify_auth_token_result.py | 2 +- vrchatapi/models/world.py | 2 +- vrchatapi/models/world_metadata.py | 2 +- vrchatapi/models/world_publish_status.py | 2 +- vrchatapi/rest.py | 2 +- 154 files changed, 675 insertions(+), 375 deletions(-) create mode 100644 docs/GroupSearchSort.md create mode 100644 vrchatapi/models/group_search_sort.py diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index fa740e1d..8e2bdd1b 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -58,6 +58,7 @@ docs/GroupPermission.md docs/GroupPrivacy.md docs/GroupRole.md docs/GroupRoleTemplate.md +docs/GroupSearchSort.md docs/GroupUserVisibility.md docs/GroupsApi.md docs/InfoPush.md @@ -217,6 +218,7 @@ vrchatapi/models/group_permission.py vrchatapi/models/group_privacy.py vrchatapi/models/group_role.py vrchatapi/models/group_role_template.py +vrchatapi/models/group_search_sort.py vrchatapi/models/group_user_visibility.py vrchatapi/models/info_push.py vrchatapi/models/info_push_data.py diff --git a/docs/GroupMember.md b/docs/GroupMember.md index 06ef408c..e6ca5744 100644 --- a/docs/GroupMember.md +++ b/docs/GroupMember.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **is_representing** | **bool** | Whether the user is representing the group. This makes the group show up above the name tag in-game. | [optional] [default to False] **user** | [**GroupMemberLimitedUser**](GroupMemberLimitedUser.md) | | [optional] **role_ids** | **list[str]** | | [optional] +**m_role_ids** | **list[str]** | | [optional] **joined_at** | **datetime** | | [optional] **membership_status** | **str** | | [optional] **visibility** | **str** | | [optional] @@ -17,6 +18,8 @@ Name | Type | Description | Notes **created_at** | **datetime** | Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. | [optional] **banned_at** | **datetime** | Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. | [optional] **manager_notes** | **str** | Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. | [optional] +**last_post_read_at** | **datetime** | | [optional] +**has_joined_from_purchase** | **bool** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GroupMemberLimitedUser.md b/docs/GroupMemberLimitedUser.md index 02cea0a7..858b522d 100644 --- a/docs/GroupMemberLimitedUser.md +++ b/docs/GroupMemberLimitedUser.md @@ -9,6 +9,9 @@ Name | Type | Description | Notes **display_name** | **str** | | [optional] **thumbnail_url** | **str** | | [optional] **icon_url** | **str** | | [optional] +**profile_pic_override** | **str** | | [optional] +**current_avatar_thumbnail_image_url** | **str** | | [optional] +**current_avatar_tags** | **list[str]** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GroupSearchSort.md b/docs/GroupSearchSort.md new file mode 100644 index 00000000..c6c34687 --- /dev/null +++ b/docs/GroupSearchSort.md @@ -0,0 +1,10 @@ +# GroupSearchSort + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GroupsApi.md b/docs/GroupsApi.md index f2a95f97..bff66568 100644 --- a/docs/GroupsApi.md +++ b/docs/GroupsApi.md @@ -1745,7 +1745,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_group_members** -> list[GroupMember] get_group_members(group_id, n=n, offset=offset) +> list[GroupMember] get_group_members(group_id, n=n, offset=offset, sort=sort) List Group Members @@ -1784,10 +1784,11 @@ with vrchatapi.ApiClient(configuration) as api_client: group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. n = 60 # int | The number of objects to return. (optional) (default to 60) offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) +sort = vrchatapi.GroupSearchSort() # GroupSearchSort | The sort order of Group Member results (optional) try: # List Group Members - api_response = api_instance.get_group_members(group_id, n=n, offset=offset) + api_response = api_instance.get_group_members(group_id, n=n, offset=offset, sort=sort) pprint(api_response) except ApiException as e: print("Exception when calling GroupsApi->get_group_members: %s\n" % e) @@ -1800,6 +1801,7 @@ Name | Type | Description | Notes **group_id** | **str**| Must be a valid group ID. | **n** | **int**| The number of objects to return. | [optional] [default to 60] **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + **sort** | [**GroupSearchSort**](.md)| The sort order of Group Member results | [optional] ### Return type diff --git a/docs/LimitedUser.md b/docs/LimitedUser.md index 4600e8b0..7bca52b3 100644 --- a/docs/LimitedUser.md +++ b/docs/LimitedUser.md @@ -6,19 +6,19 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **bio** | **str** | | [optional] -**current_avatar_image_url** | **str** | When profilePicOverride is not empty, use it instead. | -**current_avatar_thumbnail_image_url** | **str** | When profilePicOverride is not empty, use it instead. | +**current_avatar_image_url** | **str** | When profilePicOverride is not empty, use it instead. | [optional] +**current_avatar_thumbnail_image_url** | **str** | When profilePicOverride is not empty, use it instead. | [optional] **developer_type** | [**DeveloperType**](DeveloperType.md) | | **display_name** | **str** | | **fallback_avatar** | **str** | | [optional] **id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | **is_friend** | **bool** | | **last_platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | -**profile_pic_override** | **str** | | +**profile_pic_override** | **str** | | [optional] **status** | [**UserStatus**](UserStatus.md) | | **status_description** | **str** | | **tags** | **list[str]** | <- Always empty. | -**user_icon** | **str** | | +**user_icon** | **str** | | [optional] **username** | **str** | -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). | [optional] **location** | **str** | | [optional] **friend_key** | **str** | | [optional] diff --git a/package-lock.json b/package-lock.json index 9425eb0f..a312188c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.7.0" + "@openapitools/openapi-generator-cli": "^2.9.0" } }, "node_modules/@lukeed/csprng": { @@ -17,42 +17,36 @@ } }, "node_modules/@nestjs/axios": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/@nestjs/axios/-/axios-0.1.0.tgz", - "integrity": "sha512-b2TT2X6BFbnNoeteiaxCIiHaFcSbVW+S5yygYqiIq5i6H77yIU3IVuLdpQkHq8/EqOWFwMopLN8jdkUT71Am9w==", - "dependencies": { - "axios": "0.27.2" - }, + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@nestjs/axios/-/axios-3.0.1.tgz", + "integrity": "sha512-VlOZhAGDmOoFdsmewn8AyClAdGpKXQQaY1+3PGB+g6ceurGIdTxZgRX3VXc1T6Zs60PedWjg3A82TDOB05mrzQ==", "peerDependencies": { - "@nestjs/common": "^7.0.0 || ^8.0.0 || ^9.0.0", + "@nestjs/common": "^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0", + "axios": "^1.3.1", "reflect-metadata": "^0.1.12", "rxjs": "^6.0.0 || ^7.0.0" } }, "node_modules/@nestjs/common": { - "version": "9.3.11", - "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-9.3.11.tgz", - "integrity": "sha512-IFZ2G/5UKWC2Uo7tJ4SxGed2+aiA+sJyWeWsGTogKVDhq90oxVBToh+uCDeI31HNUpqYGoWmkletfty42zUd8A==", + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-10.3.0.tgz", + "integrity": "sha512-DGv34UHsZBxCM3H5QGE2XE/+oLJzz5+714JQjBhjD9VccFlQs3LRxo/epso4l7nJIiNlZkPyIUC8WzfU/5RTsQ==", "dependencies": { "iterare": "1.2.1", - "tslib": "2.5.0", - "uid": "2.0.1" + "tslib": "2.6.2", + "uid": "2.0.2" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/nest" }, "peerDependencies": { - "cache-manager": "<=5", "class-transformer": "*", "class-validator": "*", "reflect-metadata": "^0.1.12", "rxjs": "^7.1.0" }, "peerDependenciesMeta": { - "cache-manager": { - "optional": true - }, "class-transformer": { "optional": true }, @@ -61,6 +55,43 @@ } } }, + "node_modules/@nestjs/core": { + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-10.3.0.tgz", + "integrity": "sha512-N06P5ncknW/Pm8bj964WvLIZn2gNhHliCBoAO1LeBvNImYkecqKcrmLbY49Fa1rmMfEM3MuBHeDys3edeuYAOA==", + "hasInstallScript": true, + "dependencies": { + "@nuxtjs/opencollective": "0.3.2", + "fast-safe-stringify": "2.1.1", + "iterare": "1.2.1", + "path-to-regexp": "3.2.0", + "tslib": "2.6.2", + "uid": "2.0.2" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/nest" + }, + "peerDependencies": { + "@nestjs/common": "^10.0.0", + "@nestjs/microservices": "^10.0.0", + "@nestjs/platform-express": "^10.0.0", + "@nestjs/websockets": "^10.0.0", + "reflect-metadata": "^0.1.12", + "rxjs": "^7.1.0" + }, + "peerDependenciesMeta": { + "@nestjs/microservices": { + "optional": true + }, + "@nestjs/platform-express": { + "optional": true + }, + "@nestjs/websockets": { + "optional": true + } + } + }, "node_modules/@nuxtjs/opencollective": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/@nuxtjs/opencollective/-/opencollective-0.3.2.tgz", @@ -79,27 +110,28 @@ } }, "node_modules/@openapitools/openapi-generator-cli": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.7.0.tgz", - "integrity": "sha512-ieEpHTA/KsDz7ANw03lLPYyjdedDEXYEyYoGBRWdduqXWSX65CJtttjqa8ZaB1mNmIjMtchUHwAYQmTLVQ8HYg==", + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.9.0.tgz", + "integrity": "sha512-KQpftKeiMoH5aEI/amOVLFGkGeT3DyA7Atj7v7l8xT3O9xnIUpoDmMg0WBTEh+NHxEwEAITQNDzr+JLjkXVaKw==", "hasInstallScript": true, "dependencies": { - "@nestjs/axios": "0.1.0", - "@nestjs/common": "9.3.11", - "@nestjs/core": "9.3.11", + "@nestjs/axios": "3.0.1", + "@nestjs/common": "10.3.0", + "@nestjs/core": "10.3.0", "@nuxtjs/opencollective": "0.3.2", + "axios": "1.6.5", "chalk": "4.1.2", "commander": "8.3.0", "compare-versions": "4.1.4", "concurrently": "6.5.1", "console.table": "0.10.0", "fs-extra": "10.1.0", - "glob": "7.1.6", - "inquirer": "8.2.5", + "glob": "7.2.3", + "inquirer": "8.2.6", "lodash": "4.17.21", "reflect-metadata": "0.1.13", - "rxjs": "7.8.0", - "tslib": "2.0.3" + "rxjs": "7.8.1", + "tslib": "2.6.2" }, "bin": { "openapi-generator-cli": "main.js" @@ -112,53 +144,6 @@ "url": "https://opencollective.com/openapi_generator" } }, - "node_modules/@openapitools/openapi-generator-cli/node_modules/@nestjs/core": { - "version": "9.3.11", - "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-9.3.11.tgz", - "integrity": "sha512-CI27a2JFd5rvvbgkalWqsiwQNhcP4EAG5BUK8usjp29wVp1kx30ghfBT8FLqIgmkRVo65A0IcEnWsxeXMntkxQ==", - "hasInstallScript": true, - "dependencies": { - "@nuxtjs/opencollective": "0.3.2", - "fast-safe-stringify": "2.1.1", - "iterare": "1.2.1", - "path-to-regexp": "3.2.0", - "tslib": "2.5.0", - "uid": "2.0.1" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/nest" - }, - "peerDependencies": { - "@nestjs/common": "^9.0.0", - "@nestjs/microservices": "^9.0.0", - "@nestjs/platform-express": "^9.0.0", - "@nestjs/websockets": "^9.0.0", - "reflect-metadata": "^0.1.12", - "rxjs": "^7.1.0" - }, - "peerDependenciesMeta": { - "@nestjs/microservices": { - "optional": true - }, - "@nestjs/platform-express": { - "optional": true - }, - "@nestjs/websockets": { - "optional": true - } - } - }, - "node_modules/@openapitools/openapi-generator-cli/node_modules/@nestjs/core/node_modules/tslib": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", - "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" - }, - "node_modules/@openapitools/openapi-generator-cli/node_modules/tslib": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz", - "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==" - }, "node_modules/ansi-escapes": { "version": "4.3.2", "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", @@ -201,12 +186,13 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "node_modules/axios": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz", - "integrity": "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==", + "version": "1.6.5", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.5.tgz", + "integrity": "sha512-Ii012v05KEVuUoFWmMW/UQv9aRIc3ZwkWDcM+h5Il8izZCtRVpDUfwpoFf7eOtajT3QiGR4yDUx7lPqHJULgbg==", "dependencies": { - "follow-redirects": "^1.14.9", - "form-data": "^4.0.0" + "follow-redirects": "^1.15.4", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" } }, "node_modules/balanced-match": { @@ -307,9 +293,9 @@ } }, "node_modules/cli-spinners": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.0.tgz", - "integrity": "sha512-4/aL9X3Wh0yiMQlE+eeRhWP6vclO3QRtw1JHKIT0FFUs5FjpFmESqtMvYZ0+lbzBw900b95mS0hohy+qn2VK/g==", + "version": "2.9.2", + "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.2.tgz", + "integrity": "sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==", "engines": { "node": ">=6" }, @@ -386,7 +372,7 @@ "node_modules/concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" }, "node_modules/concurrently": { "version": "6.5.1", @@ -545,9 +531,9 @@ } }, "node_modules/follow-redirects": { - "version": "1.15.3", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.3.tgz", - "integrity": "sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q==", + "version": "1.15.5", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz", + "integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==", "funding": [ { "type": "individual", @@ -592,7 +578,7 @@ "node_modules/fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" }, "node_modules/get-caller-file": { "version": "2.0.5", @@ -603,14 +589,14 @@ } }, "node_modules/glob": { - "version": "7.1.6", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", - "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", "inherits": "2", - "minimatch": "^3.0.4", + "minimatch": "^3.1.1", "once": "^1.3.0", "path-is-absolute": "^1.0.0" }, @@ -667,7 +653,7 @@ "node_modules/inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", "dependencies": { "once": "^1.3.0", "wrappy": "1" @@ -679,9 +665,9 @@ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" }, "node_modules/inquirer": { - "version": "8.2.5", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.5.tgz", - "integrity": "sha512-QAgPDQMEgrDssk1XiwwHoOGYF9BAbUcc1+j+FhEvaOt8/cKRqyLn0U5qA6F74fGhTMGxf92pOvPBeh29jQJDTQ==", + "version": "8.2.6", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.6.tgz", + "integrity": "sha512-M1WuAmb7pn9zdFRtQYk26ZBoY043Sse0wVDdk4Bppr+JOXyQYybdtvK+l9wUibhtjdjvtoiNy8tk+EgsYIUqKg==", "dependencies": { "ansi-escapes": "^4.2.1", "chalk": "^4.1.1", @@ -697,12 +683,25 @@ "string-width": "^4.1.0", "strip-ansi": "^6.0.0", "through": "^2.3.6", - "wrap-ansi": "^7.0.0" + "wrap-ansi": "^6.0.1" }, "engines": { "node": ">=12.0.0" } }, + "node_modules/inquirer/node_modules/wrap-ansi": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", + "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/is-fullwidth-code-point": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", @@ -797,9 +796,9 @@ } }, "node_modules/minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dependencies": { "brace-expansion": "^1.1.7" }, @@ -813,9 +812,9 @@ "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==" }, "node_modules/node-fetch": { - "version": "2.6.11", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.11.tgz", - "integrity": "sha512-4I6pdBY1EthSqDmJkiNk3JIT8cswwR9nfeW/cPdUagJYEQG7R95WRH74wpz7ma8Gh/9dI9FP+OU+0E4FvtA55w==", + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", + "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", "dependencies": { "whatwg-url": "^5.0.0" }, @@ -834,7 +833,7 @@ "node_modules/once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", "dependencies": { "wrappy": "1" } @@ -886,7 +885,7 @@ "node_modules/path-is-absolute": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", "engines": { "node": ">=0.10.0" } @@ -896,6 +895,11 @@ "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-3.2.0.tgz", "integrity": "sha512-jczvQbCUS7XmS7o+y1aEO9OBVFeZBQ1MDSEqmO7xSoPgOPoowY/SxLpZ6Vh97/8qHZOteiCKb7gkG9gA2ZUxJA==" }, + "node_modules/proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" + }, "node_modules/readable-stream": { "version": "3.6.2", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", @@ -943,9 +947,9 @@ } }, "node_modules/rxjs": { - "version": "7.8.0", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.0.tgz", - "integrity": "sha512-F2+gxDshqmIub1KdvZkaEfGDwLNpPvk9Fs6LD/MyQxNgMds/WH9OdDDXOmxUZpME+iSK3rQCctkL0DYyytUqMg==", + "version": "7.8.1", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", + "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", "dependencies": { "tslib": "^2.1.0" } @@ -1057,9 +1061,9 @@ } }, "node_modules/tslib": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", - "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" }, "node_modules/type-fest": { "version": "0.21.3", @@ -1073,9 +1077,9 @@ } }, "node_modules/uid": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/uid/-/uid-2.0.1.tgz", - "integrity": "sha512-PF+1AnZgycpAIEmNtjxGBVmKbZAQguaa4pBUq6KNaGEcpzZ2klCNZLM34tsjp76maN00TttiiUf6zkIBpJQm2A==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/uid/-/uid-2.0.2.tgz", + "integrity": "sha512-u3xV3X7uzvi5b1MncmZo3i2Aw222Zk1keqLA1YkHldREkAhAqi65wuPfe7lHx8H/Wzy+8CE7S7uS3jekIM5s8g==", "dependencies": { "@lukeed/csprng": "^1.0.0" }, @@ -1137,7 +1141,7 @@ "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" }, "node_modules/y18n": { "version": "5.0.8", @@ -1180,21 +1184,32 @@ "integrity": "sha512-Z7C/xXCiGWsg0KuKsHTKJxbWhpI3Vs5GwLfOean7MGyVFGqdRgBbAjOCh6u4bbjPc/8MJ2pZmK/0DLdCbivLDA==" }, "@nestjs/axios": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/@nestjs/axios/-/axios-0.1.0.tgz", - "integrity": "sha512-b2TT2X6BFbnNoeteiaxCIiHaFcSbVW+S5yygYqiIq5i6H77yIU3IVuLdpQkHq8/EqOWFwMopLN8jdkUT71Am9w==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@nestjs/axios/-/axios-3.0.1.tgz", + "integrity": "sha512-VlOZhAGDmOoFdsmewn8AyClAdGpKXQQaY1+3PGB+g6ceurGIdTxZgRX3VXc1T6Zs60PedWjg3A82TDOB05mrzQ==", + "requires": {} + }, + "@nestjs/common": { + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-10.3.0.tgz", + "integrity": "sha512-DGv34UHsZBxCM3H5QGE2XE/+oLJzz5+714JQjBhjD9VccFlQs3LRxo/epso4l7nJIiNlZkPyIUC8WzfU/5RTsQ==", "requires": { - "axios": "0.27.2" + "iterare": "1.2.1", + "tslib": "2.6.2", + "uid": "2.0.2" } }, - "@nestjs/common": { - "version": "9.3.11", - "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-9.3.11.tgz", - "integrity": "sha512-IFZ2G/5UKWC2Uo7tJ4SxGed2+aiA+sJyWeWsGTogKVDhq90oxVBToh+uCDeI31HNUpqYGoWmkletfty42zUd8A==", + "@nestjs/core": { + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-10.3.0.tgz", + "integrity": "sha512-N06P5ncknW/Pm8bj964WvLIZn2gNhHliCBoAO1LeBvNImYkecqKcrmLbY49Fa1rmMfEM3MuBHeDys3edeuYAOA==", "requires": { + "@nuxtjs/opencollective": "0.3.2", + "fast-safe-stringify": "2.1.1", "iterare": "1.2.1", - "tslib": "2.5.0", - "uid": "2.0.1" + "path-to-regexp": "3.2.0", + "tslib": "2.6.2", + "uid": "2.0.2" } }, "@nuxtjs/opencollective": { @@ -1208,53 +1223,27 @@ } }, "@openapitools/openapi-generator-cli": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.7.0.tgz", - "integrity": "sha512-ieEpHTA/KsDz7ANw03lLPYyjdedDEXYEyYoGBRWdduqXWSX65CJtttjqa8ZaB1mNmIjMtchUHwAYQmTLVQ8HYg==", + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.9.0.tgz", + "integrity": "sha512-KQpftKeiMoH5aEI/amOVLFGkGeT3DyA7Atj7v7l8xT3O9xnIUpoDmMg0WBTEh+NHxEwEAITQNDzr+JLjkXVaKw==", "requires": { - "@nestjs/axios": "0.1.0", - "@nestjs/common": "9.3.11", - "@nestjs/core": "9.3.11", + "@nestjs/axios": "3.0.1", + "@nestjs/common": "10.3.0", + "@nestjs/core": "10.3.0", "@nuxtjs/opencollective": "0.3.2", + "axios": "1.6.5", "chalk": "4.1.2", "commander": "8.3.0", "compare-versions": "4.1.4", "concurrently": "6.5.1", "console.table": "0.10.0", "fs-extra": "10.1.0", - "glob": "7.1.6", - "inquirer": "8.2.5", + "glob": "7.2.3", + "inquirer": "8.2.6", "lodash": "4.17.21", "reflect-metadata": "0.1.13", - "rxjs": "7.8.0", - "tslib": "2.0.3" - }, - "dependencies": { - "@nestjs/core": { - "version": "9.3.11", - "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-9.3.11.tgz", - "integrity": "sha512-CI27a2JFd5rvvbgkalWqsiwQNhcP4EAG5BUK8usjp29wVp1kx30ghfBT8FLqIgmkRVo65A0IcEnWsxeXMntkxQ==", - "requires": { - "@nuxtjs/opencollective": "0.3.2", - "fast-safe-stringify": "2.1.1", - "iterare": "1.2.1", - "path-to-regexp": "3.2.0", - "tslib": "2.5.0", - "uid": "2.0.1" - }, - "dependencies": { - "tslib": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", - "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" - } - } - }, - "tslib": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz", - "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==" - } + "rxjs": "7.8.1", + "tslib": "2.6.2" } }, "ansi-escapes": { @@ -1284,12 +1273,13 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "axios": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz", - "integrity": "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==", + "version": "1.6.5", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.5.tgz", + "integrity": "sha512-Ii012v05KEVuUoFWmMW/UQv9aRIc3ZwkWDcM+h5Il8izZCtRVpDUfwpoFf7eOtajT3QiGR4yDUx7lPqHJULgbg==", "requires": { - "follow-redirects": "^1.14.9", - "form-data": "^4.0.0" + "follow-redirects": "^1.15.4", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" } }, "balanced-match": { @@ -1353,9 +1343,9 @@ } }, "cli-spinners": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.0.tgz", - "integrity": "sha512-4/aL9X3Wh0yiMQlE+eeRhWP6vclO3QRtw1JHKIT0FFUs5FjpFmESqtMvYZ0+lbzBw900b95mS0hohy+qn2VK/g==" + "version": "2.9.2", + "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.2.tgz", + "integrity": "sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==" }, "cli-width": { "version": "3.0.0", @@ -1411,7 +1401,7 @@ "concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" }, "concurrently": { "version": "6.5.1", @@ -1529,9 +1519,9 @@ } }, "follow-redirects": { - "version": "1.15.3", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.3.tgz", - "integrity": "sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q==" + "version": "1.15.5", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz", + "integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==" }, "form-data": { "version": "4.0.0", @@ -1556,7 +1546,7 @@ "fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" }, "get-caller-file": { "version": "2.0.5", @@ -1564,14 +1554,14 @@ "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==" }, "glob": { - "version": "7.1.6", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", - "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", "requires": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", "inherits": "2", - "minimatch": "^3.0.4", + "minimatch": "^3.1.1", "once": "^1.3.0", "path-is-absolute": "^1.0.0" } @@ -1602,7 +1592,7 @@ "inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", "requires": { "once": "^1.3.0", "wrappy": "1" @@ -1614,9 +1604,9 @@ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" }, "inquirer": { - "version": "8.2.5", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.5.tgz", - "integrity": "sha512-QAgPDQMEgrDssk1XiwwHoOGYF9BAbUcc1+j+FhEvaOt8/cKRqyLn0U5qA6F74fGhTMGxf92pOvPBeh29jQJDTQ==", + "version": "8.2.6", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.6.tgz", + "integrity": "sha512-M1WuAmb7pn9zdFRtQYk26ZBoY043Sse0wVDdk4Bppr+JOXyQYybdtvK+l9wUibhtjdjvtoiNy8tk+EgsYIUqKg==", "requires": { "ansi-escapes": "^4.2.1", "chalk": "^4.1.1", @@ -1632,7 +1622,19 @@ "string-width": "^4.1.0", "strip-ansi": "^6.0.0", "through": "^2.3.6", - "wrap-ansi": "^7.0.0" + "wrap-ansi": "^6.0.1" + }, + "dependencies": { + "wrap-ansi": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", + "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + } + } } }, "is-fullwidth-code-point": { @@ -1697,9 +1699,9 @@ "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==" }, "minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "requires": { "brace-expansion": "^1.1.7" } @@ -1710,9 +1712,9 @@ "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==" }, "node-fetch": { - "version": "2.6.11", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.11.tgz", - "integrity": "sha512-4I6pdBY1EthSqDmJkiNk3JIT8cswwR9nfeW/cPdUagJYEQG7R95WRH74wpz7ma8Gh/9dI9FP+OU+0E4FvtA55w==", + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", + "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", "requires": { "whatwg-url": "^5.0.0" } @@ -1720,7 +1722,7 @@ "once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", "requires": { "wrappy": "1" } @@ -1757,13 +1759,18 @@ "path-is-absolute": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==" }, "path-to-regexp": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-3.2.0.tgz", "integrity": "sha512-jczvQbCUS7XmS7o+y1aEO9OBVFeZBQ1MDSEqmO7xSoPgOPoowY/SxLpZ6Vh97/8qHZOteiCKb7gkG9gA2ZUxJA==" }, + "proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" + }, "readable-stream": { "version": "3.6.2", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", @@ -1799,9 +1806,9 @@ "integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==" }, "rxjs": { - "version": "7.8.0", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.0.tgz", - "integrity": "sha512-F2+gxDshqmIub1KdvZkaEfGDwLNpPvk9Fs6LD/MyQxNgMds/WH9OdDDXOmxUZpME+iSK3rQCctkL0DYyytUqMg==", + "version": "7.8.1", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", + "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", "requires": { "tslib": "^2.1.0" } @@ -1884,9 +1891,9 @@ "integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==" }, "tslib": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", - "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" }, "type-fest": { "version": "0.21.3", @@ -1894,9 +1901,9 @@ "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==" }, "uid": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/uid/-/uid-2.0.1.tgz", - "integrity": "sha512-PF+1AnZgycpAIEmNtjxGBVmKbZAQguaa4pBUq6KNaGEcpzZ2klCNZLM34tsjp76maN00TttiiUf6zkIBpJQm2A==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/uid/-/uid-2.0.2.tgz", + "integrity": "sha512-u3xV3X7uzvi5b1MncmZo3i2Aw222Zk1keqLA1YkHldREkAhAqi65wuPfe7lHx8H/Wzy+8CE7S7uS3jekIM5s8g==", "requires": { "@lukeed/csprng": "^1.0.0" } @@ -1946,7 +1953,7 @@ "wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" }, "y18n": { "version": "5.0.8", diff --git a/package.json b/package.json index 612d4419..bb1ccdb6 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.7.0" + "@openapitools/openapi-generator-cli": "^2.9.0" } } diff --git a/setup.py b/setup.py index 4d8652be..b09ca8f1 100644 --- a/setup.py +++ b/setup.py @@ -81,7 +81,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -90,7 +90,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.16.2" +VERSION = "1.16.4" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 9a1ee81b..4b1e3b0b 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,7 +6,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -96,6 +96,7 @@ from vrchatapi.models.group_privacy import GroupPrivacy from vrchatapi.models.group_role import GroupRole from vrchatapi.models.group_role_template import GroupRoleTemplate +from vrchatapi.models.group_search_sort import GroupSearchSort from vrchatapi.models.group_user_visibility import GroupUserVisibility from vrchatapi.models.info_push import InfoPush from vrchatapi.models.info_push_data import InfoPushData diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index ca575589..37c7ff91 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index 41158016..67e126e9 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 78f15a4c..091cd7b5 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index 62a75d72..134c421c 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index 9adbf808..0b269e0c 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index 7bf34241..b6a975db 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index ccf59fd8..735c82de 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -3382,6 +3382,8 @@ def get_group_members(self, group_id, **kwargs): # noqa: E501 :type n: int :param offset: A zero-based offset from the default object sorting from where search results start. :type offset: int + :param sort: The sort order of Group Member results + :type sort: GroupSearchSort :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -3416,6 +3418,8 @@ def get_group_members_with_http_info(self, group_id, **kwargs): # noqa: E501 :type n: int :param offset: A zero-based offset from the default object sorting from where search results start. :type offset: int + :param sort: The sort order of Group Member results + :type sort: GroupSearchSort :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -3445,7 +3449,8 @@ def get_group_members_with_http_info(self, group_id, **kwargs): # noqa: E501 all_params = [ 'group_id', 'n', - 'offset' + 'offset', + 'sort' ] all_params.extend( [ @@ -3488,6 +3493,8 @@ def get_group_members_with_http_info(self, group_id, **kwargs): # noqa: E501 query_params.append(('n', local_var_params['n'])) # noqa: E501 if local_var_params.get('offset') is not None: # noqa: E501 query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + if local_var_params.get('sort') is not None: # noqa: E501 + query_params.append(('sort', local_var_params['sort'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 67fc338b..bc737128 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index 91322741..553d9410 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index 99f12bb4..244fe4af 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index a982e939..a2e427ec 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index 0f7fdcd9..ef28a5d1 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index bf8f7a55..f8e50395 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index 8ccf831c..bdddab8a 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 7aff5bb3..d09c146e 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index e511f50f..855c15e0 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,7 +3,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index 70354d29..420b2d45 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -441,7 +441,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.16.2\n"\ + "Version of the API: 1.16.4\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index 2577608c..cbc981ff 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index 8ccc254e..fed4da47 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,7 +5,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -67,6 +67,7 @@ from vrchatapi.models.group_privacy import GroupPrivacy from vrchatapi.models.group_role import GroupRole from vrchatapi.models.group_role_template import GroupRoleTemplate +from vrchatapi.models.group_search_sort import GroupSearchSort from vrchatapi.models.group_user_visibility import GroupUserVisibility from vrchatapi.models.info_push import InfoPush from vrchatapi.models.info_push_data import InfoPushData diff --git a/vrchatapi/models/account_deletion_log.py b/vrchatapi/models/account_deletion_log.py index 14804429..c926cb4f 100644 --- a/vrchatapi/models/account_deletion_log.py +++ b/vrchatapi/models/account_deletion_log.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index f7fb5208..6a708646 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index f29c8519..3ba39947 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index daac82ba..c88efd66 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index 2193b223..2a683fb6 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index dc76fb12..e9fdd933 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index 209e4ecb..a907e654 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index 7fd887b0..6bd4b42c 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index 5e359983..87c6c602 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index 0ae766cc..2935eae4 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index d8a854fa..2f5fc47a 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index 18a934aa..2b01755c 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index a774df92..aa1c781e 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index c235e94a..5c5b5f37 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index b2fcb35b..d593f54e 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index af74b396..e5fc8650 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index 8d9a22fe..36a04d55 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index 678c1c37..6c86efe1 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index 01d4543e..3a5a9ae9 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index 7b978734..2880759f 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index ffdb55b9..941c2f0c 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user_presence.py b/vrchatapi/models/current_user_presence.py index 9a3df439..37120d24 100644 --- a/vrchatapi/models/current_user_presence.py +++ b/vrchatapi/models/current_user_presence.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/deployment_group.py b/vrchatapi/models/deployment_group.py index 010ae9f9..21144c9e 100644 --- a/vrchatapi/models/deployment_group.py +++ b/vrchatapi/models/deployment_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index 9fae7f73..bebee929 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index 36efc076..446ff305 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index 4743a974..7cfebfdb 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index 2b9111fe..c9191727 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index 8845b890..c1c2d16e 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index abf8e65a..6a26d7db 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index 884b6158..ccda5e59 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index 659de82c..6b5b888c 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index e3208d76..c548fdd8 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index 2b9bff1c..6c97ce26 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index dc24c012..34801c3d 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index 446fc12a..87c000d0 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index feccbf43..048450af 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index 51d0f3d1..962be8fa 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index 3de511c9..d85eb738 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index 2149a59c..8a4c8e31 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index 4bdd7030..fe17fb83 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index 55ef3f98..f3184081 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index 0c66dae3..be22004c 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index 14b82e77..20d5d74a 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index 11dbde29..7f1230e4 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index b6c78ca6..a2395992 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index 4c9607c0..2a5b9029 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -42,13 +42,16 @@ class GroupMember(object): 'is_representing': 'bool', 'user': 'GroupMemberLimitedUser', 'role_ids': 'list[str]', + 'm_role_ids': 'list[str]', 'joined_at': 'datetime', 'membership_status': 'str', 'visibility': 'str', 'is_subscribed_to_announcements': 'bool', 'created_at': 'datetime', 'banned_at': 'datetime', - 'manager_notes': 'str' + 'manager_notes': 'str', + 'last_post_read_at': 'datetime', + 'has_joined_from_purchase': 'bool' } attribute_map = { @@ -58,16 +61,19 @@ class GroupMember(object): 'is_representing': 'isRepresenting', 'user': 'user', 'role_ids': 'roleIds', + 'm_role_ids': 'mRoleIds', 'joined_at': 'joinedAt', 'membership_status': 'membershipStatus', 'visibility': 'visibility', 'is_subscribed_to_announcements': 'isSubscribedToAnnouncements', 'created_at': 'createdAt', 'banned_at': 'bannedAt', - 'manager_notes': 'managerNotes' + 'manager_notes': 'managerNotes', + 'last_post_read_at': 'lastPostReadAt', + 'has_joined_from_purchase': 'hasJoinedFromPurchase' } - def __init__(self, id=None, group_id=None, user_id=None, is_representing=False, user=None, role_ids=None, joined_at=None, membership_status=None, visibility=None, is_subscribed_to_announcements=False, created_at=None, banned_at=None, manager_notes=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, id=None, group_id=None, user_id=None, is_representing=False, user=None, role_ids=None, m_role_ids=None, joined_at=None, membership_status=None, visibility=None, is_subscribed_to_announcements=False, created_at=None, banned_at=None, manager_notes=None, last_post_read_at=None, has_joined_from_purchase=None, local_vars_configuration=None): # noqa: E501 """GroupMember - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -79,6 +85,7 @@ def __init__(self, id=None, group_id=None, user_id=None, is_representing=False, self._is_representing = None self._user = None self._role_ids = None + self._m_role_ids = None self._joined_at = None self._membership_status = None self._visibility = None @@ -86,6 +93,8 @@ def __init__(self, id=None, group_id=None, user_id=None, is_representing=False, self._created_at = None self._banned_at = None self._manager_notes = None + self._last_post_read_at = None + self._has_joined_from_purchase = None self.discriminator = None if id is not None: @@ -100,6 +109,8 @@ def __init__(self, id=None, group_id=None, user_id=None, is_representing=False, self.user = user if role_ids is not None: self.role_ids = role_ids + if m_role_ids is not None: + self.m_role_ids = m_role_ids if joined_at is not None: self.joined_at = joined_at if membership_status is not None: @@ -111,6 +122,10 @@ def __init__(self, id=None, group_id=None, user_id=None, is_representing=False, self.created_at = created_at self.banned_at = banned_at self.manager_notes = manager_notes + if last_post_read_at is not None: + self.last_post_read_at = last_post_read_at + if has_joined_from_purchase is not None: + self.has_joined_from_purchase = has_joined_from_purchase @property def id(self): @@ -242,6 +257,27 @@ def role_ids(self, role_ids): self._role_ids = role_ids + @property + def m_role_ids(self): + """Gets the m_role_ids of this GroupMember. # noqa: E501 + + + :return: The m_role_ids of this GroupMember. # noqa: E501 + :rtype: list[str] + """ + return self._m_role_ids + + @m_role_ids.setter + def m_role_ids(self, m_role_ids): + """Sets the m_role_ids of this GroupMember. + + + :param m_role_ids: The m_role_ids of this GroupMember. # noqa: E501 + :type m_role_ids: list[str] + """ + + self._m_role_ids = m_role_ids + @property def joined_at(self): """Gets the joined_at of this GroupMember. # noqa: E501 @@ -395,6 +431,48 @@ def manager_notes(self, manager_notes): self._manager_notes = manager_notes + @property + def last_post_read_at(self): + """Gets the last_post_read_at of this GroupMember. # noqa: E501 + + + :return: The last_post_read_at of this GroupMember. # noqa: E501 + :rtype: datetime + """ + return self._last_post_read_at + + @last_post_read_at.setter + def last_post_read_at(self, last_post_read_at): + """Sets the last_post_read_at of this GroupMember. + + + :param last_post_read_at: The last_post_read_at of this GroupMember. # noqa: E501 + :type last_post_read_at: datetime + """ + + self._last_post_read_at = last_post_read_at + + @property + def has_joined_from_purchase(self): + """Gets the has_joined_from_purchase of this GroupMember. # noqa: E501 + + + :return: The has_joined_from_purchase of this GroupMember. # noqa: E501 + :rtype: bool + """ + return self._has_joined_from_purchase + + @has_joined_from_purchase.setter + def has_joined_from_purchase(self, has_joined_from_purchase): + """Sets the has_joined_from_purchase of this GroupMember. + + + :param has_joined_from_purchase: The has_joined_from_purchase of this GroupMember. # noqa: E501 + :type has_joined_from_purchase: bool + """ + + self._has_joined_from_purchase = has_joined_from_purchase + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index f28223a2..c9491ddd 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -39,17 +39,23 @@ class GroupMemberLimitedUser(object): 'id': 'str', 'display_name': 'str', 'thumbnail_url': 'str', - 'icon_url': 'str' + 'icon_url': 'str', + 'profile_pic_override': 'str', + 'current_avatar_thumbnail_image_url': 'str', + 'current_avatar_tags': 'list[str]' } attribute_map = { 'id': 'id', 'display_name': 'displayName', 'thumbnail_url': 'thumbnailUrl', - 'icon_url': 'iconUrl' + 'icon_url': 'iconUrl', + 'profile_pic_override': 'profilePicOverride', + 'current_avatar_thumbnail_image_url': 'currentAvatarThumbnailImageUrl', + 'current_avatar_tags': 'currentAvatarTags' } - def __init__(self, id=None, display_name=None, thumbnail_url=None, icon_url=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, id=None, display_name=None, thumbnail_url=None, icon_url=None, profile_pic_override=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, local_vars_configuration=None): # noqa: E501 """GroupMemberLimitedUser - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -59,6 +65,9 @@ def __init__(self, id=None, display_name=None, thumbnail_url=None, icon_url=None self._display_name = None self._thumbnail_url = None self._icon_url = None + self._profile_pic_override = None + self._current_avatar_thumbnail_image_url = None + self._current_avatar_tags = None self.discriminator = None if id is not None: @@ -69,6 +78,12 @@ def __init__(self, id=None, display_name=None, thumbnail_url=None, icon_url=None self.thumbnail_url = thumbnail_url if icon_url is not None: self.icon_url = icon_url + if profile_pic_override is not None: + self.profile_pic_override = profile_pic_override + if current_avatar_thumbnail_image_url is not None: + self.current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url + if current_avatar_tags is not None: + self.current_avatar_tags = current_avatar_tags @property def id(self): @@ -156,6 +171,69 @@ def icon_url(self, icon_url): self._icon_url = icon_url + @property + def profile_pic_override(self): + """Gets the profile_pic_override of this GroupMemberLimitedUser. # noqa: E501 + + + :return: The profile_pic_override of this GroupMemberLimitedUser. # noqa: E501 + :rtype: str + """ + return self._profile_pic_override + + @profile_pic_override.setter + def profile_pic_override(self, profile_pic_override): + """Sets the profile_pic_override of this GroupMemberLimitedUser. + + + :param profile_pic_override: The profile_pic_override of this GroupMemberLimitedUser. # noqa: E501 + :type profile_pic_override: str + """ + + self._profile_pic_override = profile_pic_override + + @property + def current_avatar_thumbnail_image_url(self): + """Gets the current_avatar_thumbnail_image_url of this GroupMemberLimitedUser. # noqa: E501 + + + :return: The current_avatar_thumbnail_image_url of this GroupMemberLimitedUser. # noqa: E501 + :rtype: str + """ + return self._current_avatar_thumbnail_image_url + + @current_avatar_thumbnail_image_url.setter + def current_avatar_thumbnail_image_url(self, current_avatar_thumbnail_image_url): + """Sets the current_avatar_thumbnail_image_url of this GroupMemberLimitedUser. + + + :param current_avatar_thumbnail_image_url: The current_avatar_thumbnail_image_url of this GroupMemberLimitedUser. # noqa: E501 + :type current_avatar_thumbnail_image_url: str + """ + + self._current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url + + @property + def current_avatar_tags(self): + """Gets the current_avatar_tags of this GroupMemberLimitedUser. # noqa: E501 + + + :return: The current_avatar_tags of this GroupMemberLimitedUser. # noqa: E501 + :rtype: list[str] + """ + return self._current_avatar_tags + + @current_avatar_tags.setter + def current_avatar_tags(self, current_avatar_tags): + """Sets the current_avatar_tags of this GroupMemberLimitedUser. + + + :param current_avatar_tags: The current_avatar_tags of this GroupMemberLimitedUser. # noqa: E501 + :type current_avatar_tags: list[str] + """ + + self._current_avatar_tags = current_avatar_tags + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index 2b2ee9b0..7f65835e 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index 5978c44f..d22e121f 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index 1e5db9b1..2e6a36c7 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index 506339bc..a4fcbaa9 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index 12b1cb60..071b545e 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index 6db5eb3d..abcabb80 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_search_sort.py b/vrchatapi/models/group_search_sort.py new file mode 100644 index 00000000..28cb883f --- /dev/null +++ b/vrchatapi/models/group_search_sort.py @@ -0,0 +1,111 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.16.4 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class GroupSearchSort(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + ASC = "joinedAt:asc" + DESC = "joinedAt:desc" + + allowable_values = [ASC, DESC] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """GroupSearchSort - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GroupSearchSort): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GroupSearchSort): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index 28eaa3b9..53a8ea4c 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index f7b40c05..a0650af2 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index 73fdd351..61c4a131 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index e91d1e48..bbcf46b4 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index 38112f0d..208372a9 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index e2ce8a1c..1be90827 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index f5b24ef9..0c1f4cfd 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index cb05e5f3..59c7d71e 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index 09a17550..c5a37bac 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index 4a78879a..871ec128 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index 3d1ebd3f..56228295 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index 416ac3d6..0cdd250c 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index 9f3c0050..e8f80dd3 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index 71d7ba18..bed85ab9 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index f8dce5dd..add4460f 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index 8f030f40..d3e07bf5 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index 74e1f62a..93802b4f 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index 6235aa4d..cc5fd80d 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_group.py b/vrchatapi/models/limited_group.py index b9d84a79..05599a8c 100644 --- a/vrchatapi/models/limited_group.py +++ b/vrchatapi/models/limited_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index 76146a32..25baf688 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user.py b/vrchatapi/models/limited_user.py index 527095e3..54f1d538 100644 --- a/vrchatapi/models/limited_user.py +++ b/vrchatapi/models/limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -102,8 +102,10 @@ def __init__(self, bio=None, current_avatar_image_url=None, current_avatar_thumb if bio is not None: self.bio = bio - self.current_avatar_image_url = current_avatar_image_url - self.current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url + if current_avatar_image_url is not None: + self.current_avatar_image_url = current_avatar_image_url + if current_avatar_thumbnail_image_url is not None: + self.current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url self.developer_type = developer_type self.display_name = display_name if fallback_avatar is not None: @@ -111,11 +113,13 @@ def __init__(self, bio=None, current_avatar_image_url=None, current_avatar_thumb self.id = id self.is_friend = is_friend self.last_platform = last_platform - self.profile_pic_override = profile_pic_override + if profile_pic_override is not None: + self.profile_pic_override = profile_pic_override self.status = status self.status_description = status_description self.tags = tags - self.user_icon = user_icon + if user_icon is not None: + self.user_icon = user_icon if username is not None: self.username = username if location is not None: @@ -164,8 +168,6 @@ def current_avatar_image_url(self, current_avatar_image_url): :param current_avatar_image_url: The current_avatar_image_url of this LimitedUser. # noqa: E501 :type current_avatar_image_url: str """ - if self.local_vars_configuration.client_side_validation and current_avatar_image_url is None: # noqa: E501 - raise ValueError("Invalid value for `current_avatar_image_url`, must not be `None`") # noqa: E501 self._current_avatar_image_url = current_avatar_image_url @@ -189,8 +191,6 @@ def current_avatar_thumbnail_image_url(self, current_avatar_thumbnail_image_url) :param current_avatar_thumbnail_image_url: The current_avatar_thumbnail_image_url of this LimitedUser. # noqa: E501 :type current_avatar_thumbnail_image_url: str """ - if self.local_vars_configuration.client_side_validation and current_avatar_thumbnail_image_url is None: # noqa: E501 - raise ValueError("Invalid value for `current_avatar_thumbnail_image_url`, must not be `None`") # noqa: E501 self._current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url @@ -352,8 +352,6 @@ def profile_pic_override(self, profile_pic_override): :param profile_pic_override: The profile_pic_override of this LimitedUser. # noqa: E501 :type profile_pic_override: str """ - if self.local_vars_configuration.client_side_validation and profile_pic_override is None: # noqa: E501 - raise ValueError("Invalid value for `profile_pic_override`, must not be `None`") # noqa: E501 self._profile_pic_override = profile_pic_override @@ -446,8 +444,6 @@ def user_icon(self, user_icon): :param user_icon: The user_icon of this LimitedUser. # noqa: E501 :type user_icon: str """ - if self.local_vars_configuration.client_side_validation and user_icon is None: # noqa: E501 - raise ValueError("Invalid value for `user_icon`, must not be `None`") # noqa: E501 self._user_icon = user_icon diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index adde3bff..a4fd0bff 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index 85b24368..97c50cb0 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index f1120fa0..07dedfe9 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index 5876075d..adcee361 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index cf5054c0..0c8acd6b 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -34,11 +34,12 @@ class NotificationType(object): FRIENDREQUEST = "friendRequest" INVITE = "invite" INVITERESPONSE = "inviteResponse" + MESSAGE = "message" REQUESTINVITE = "requestInvite" REQUESTINVITERESPONSE = "requestInviteResponse" VOTETOKICK = "votetokick" - allowable_values = [FRIENDREQUEST, INVITE, INVITERESPONSE, REQUESTINVITE, REQUESTINVITERESPONSE, VOTETOKICK] # noqa: E501 + allowable_values = [FRIENDREQUEST, INVITE, INVITERESPONSE, MESSAGE, REQUESTINVITE, REQUESTINVITERESPONSE, VOTETOKICK] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index 466ae1e4..ccc936fc 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index e8de6b65..925a14fb 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index cb9b1157..d8be7c7f 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index c1918d6e..bc137889 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index 5bf3e665..81d6c375 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index 736daa6c..216ed686 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index e65bb3b0..8951c6fd 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index 07377eaa..cd3e8ac9 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index c9f28516..7d9edd2f 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index ea8595ae..f631f379 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index 7e85a419..ee31e29d 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index 3f3d3523..6be00870 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index ec446b34..f30c99c3 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index 755e6324..1065d9f8 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index c7bdb490..ce4d0292 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index 94df9a04..28d2b592 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index 6c8f1f86..6bdd8c27 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index f5a19026..9acc10a6 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index adec4b51..900632d2 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index a9a99ca8..7af26f23 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index fb9a3b85..86089feb 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index ff87e941..7f017c7d 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_email_code.py b/vrchatapi/models/two_factor_email_code.py index abbf179b..27269ddf 100644 --- a/vrchatapi/models/two_factor_email_code.py +++ b/vrchatapi/models/two_factor_email_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index 08df48e0..3283fea7 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index e02d875b..842f180b 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index 64ab5f13..1d94a82a 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index 942bb528..fdbbce83 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index bc6f5878..f7543f39 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index a7153a02..c8bd41d6 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index f9c91808..c49ef114 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index 641dbad6..9445c71c 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index 171a3858..debd41da 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index 519280fd..54d1a3d0 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index b0cf9bbf..447d1ee8 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index 666f2853..23fc44d5 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index a208bbc2..22c09a37 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index 5014a8e5..c2b09e90 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index 7fe15f76..1a7ef0cb 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_email_code_result.py b/vrchatapi/models/verify2_fa_email_code_result.py index 2257d6ec..083c1521 100644 --- a/vrchatapi/models/verify2_fa_email_code_result.py +++ b/vrchatapi/models/verify2_fa_email_code_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index b4530fec..8343497f 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index 3ae0ac1b..6ef40198 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index 25bf6da1..ee9089d7 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index b95dbf16..b514e880 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index b9131d8a..85d3baa8 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index 736ce711..b85d9248 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.2 + The version of the OpenAPI document: 1.16.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ From 23e89772899b295f07c4976860f103501e4cd81a Mon Sep 17 00:00:00 2001 From: VRCCat Date: Sun, 11 Feb 2024 03:26:07 +0000 Subject: [PATCH 042/102] Upgrade Python SDK to spec 1.16.5 --- docs/GroupLimitedMember.md | 13 +- setup.py | 4 +- vrchatapi/__init__.py | 2 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/groups_api.py | 2 +- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 +- vrchatapi/exceptions.py | 2 +- vrchatapi/models/__init__.py | 2 +- vrchatapi/models/account_deletion_log.py | 2 +- vrchatapi/models/add_favorite_request.py | 2 +- .../models/add_group_gallery_image_request.py | 2 +- vrchatapi/models/api_config.py | 2 +- vrchatapi/models/api_config_announcement.py | 2 +- .../models/api_config_download_url_list.py | 2 +- vrchatapi/models/api_config_events.py | 2 +- vrchatapi/models/api_health.py | 2 +- vrchatapi/models/avatar.py | 2 +- .../models/avatar_unity_package_url_object.py | 2 +- vrchatapi/models/ban_group_member_request.py | 2 +- vrchatapi/models/create_avatar_request.py | 2 +- vrchatapi/models/create_file_request.py | 2 +- .../models/create_file_version_request.py | 2 +- .../create_group_announcement_request.py | 2 +- .../models/create_group_gallery_request.py | 2 +- .../models/create_group_invite_request.py | 2 +- vrchatapi/models/create_group_request.py | 2 +- vrchatapi/models/create_group_role_request.py | 2 +- vrchatapi/models/create_world_request.py | 2 +- vrchatapi/models/current_user.py | 2 +- vrchatapi/models/current_user_presence.py | 2 +- vrchatapi/models/deployment_group.py | 2 +- vrchatapi/models/developer_type.py | 2 +- vrchatapi/models/dynamic_content_row.py | 2 +- vrchatapi/models/error.py | 2 +- vrchatapi/models/favorite.py | 2 +- vrchatapi/models/favorite_group.py | 2 +- vrchatapi/models/favorite_group_visibility.py | 2 +- vrchatapi/models/favorite_type.py | 2 +- vrchatapi/models/file.py | 2 +- vrchatapi/models/file_data.py | 2 +- vrchatapi/models/file_status.py | 2 +- vrchatapi/models/file_upload_url.py | 2 +- vrchatapi/models/file_version.py | 2 +- .../models/file_version_upload_status.py | 2 +- .../models/finish_file_data_upload_request.py | 2 +- vrchatapi/models/friend_status.py | 2 +- vrchatapi/models/group.py | 2 +- vrchatapi/models/group_announcement.py | 2 +- vrchatapi/models/group_audit_log_entry.py | 2 +- vrchatapi/models/group_gallery.py | 2 +- vrchatapi/models/group_gallery_image.py | 2 +- vrchatapi/models/group_join_state.py | 2 +- vrchatapi/models/group_limited_member.py | 299 +++++++++++++++++- vrchatapi/models/group_member.py | 2 +- vrchatapi/models/group_member_limited_user.py | 2 +- vrchatapi/models/group_member_status.py | 2 +- vrchatapi/models/group_my_member.py | 2 +- vrchatapi/models/group_permission.py | 2 +- vrchatapi/models/group_privacy.py | 2 +- vrchatapi/models/group_role.py | 2 +- vrchatapi/models/group_role_template.py | 2 +- vrchatapi/models/group_search_sort.py | 2 +- vrchatapi/models/group_user_visibility.py | 2 +- vrchatapi/models/info_push.py | 2 +- vrchatapi/models/info_push_data.py | 2 +- vrchatapi/models/info_push_data_article.py | 2 +- .../models/info_push_data_article_content.py | 2 +- vrchatapi/models/info_push_data_clickable.py | 2 +- vrchatapi/models/instance.py | 2 +- vrchatapi/models/instance_platforms.py | 2 +- .../models/instance_short_name_response.py | 2 +- vrchatapi/models/instance_type.py | 2 +- vrchatapi/models/invite_message.py | 2 +- vrchatapi/models/invite_message_type.py | 2 +- vrchatapi/models/invite_request.py | 2 +- vrchatapi/models/invite_response.py | 2 +- vrchatapi/models/license.py | 2 +- vrchatapi/models/license_action.py | 2 +- vrchatapi/models/license_group.py | 2 +- vrchatapi/models/license_type.py | 2 +- vrchatapi/models/limited_group.py | 2 +- vrchatapi/models/limited_unity_package.py | 2 +- vrchatapi/models/limited_user.py | 2 +- vrchatapi/models/limited_world.py | 2 +- vrchatapi/models/mime_type.py | 2 +- vrchatapi/models/moderate_user_request.py | 2 +- vrchatapi/models/notification.py | 2 +- vrchatapi/models/notification_type.py | 2 +- vrchatapi/models/order_option.py | 2 +- .../paginated_group_audit_log_entry_list.py | 2 +- vrchatapi/models/past_display_name.py | 2 +- vrchatapi/models/permission.py | 2 +- vrchatapi/models/player_moderation.py | 2 +- vrchatapi/models/player_moderation_type.py | 2 +- vrchatapi/models/region.py | 2 +- vrchatapi/models/release_status.py | 2 +- vrchatapi/models/request_invite_request.py | 2 +- .../models/respond_group_join_request.py | 2 +- vrchatapi/models/response.py | 2 +- vrchatapi/models/sent_notification.py | 2 +- vrchatapi/models/sort_option.py | 2 +- vrchatapi/models/subscription.py | 2 +- vrchatapi/models/subscription_period.py | 2 +- vrchatapi/models/success.py | 2 +- vrchatapi/models/transaction.py | 2 +- vrchatapi/models/transaction_agreement.py | 2 +- vrchatapi/models/transaction_status.py | 2 +- vrchatapi/models/transaction_steam_info.py | 2 +- .../models/transaction_steam_wallet_info.py | 2 +- vrchatapi/models/two_factor_auth_code.py | 2 +- vrchatapi/models/two_factor_email_code.py | 2 +- vrchatapi/models/unity_package.py | 2 +- vrchatapi/models/update_avatar_request.py | 2 +- .../models/update_favorite_group_request.py | 2 +- .../models/update_group_gallery_request.py | 2 +- .../models/update_group_member_request.py | 2 +- vrchatapi/models/update_group_request.py | 2 +- vrchatapi/models/update_group_role_request.py | 2 +- .../models/update_invite_message_request.py | 2 +- vrchatapi/models/update_user_request.py | 2 +- vrchatapi/models/update_world_request.py | 2 +- vrchatapi/models/user.py | 2 +- vrchatapi/models/user_exists.py | 2 +- vrchatapi/models/user_state.py | 2 +- vrchatapi/models/user_status.py | 2 +- vrchatapi/models/user_subscription.py | 2 +- .../models/verify2_fa_email_code_result.py | 2 +- vrchatapi/models/verify2_fa_result.py | 2 +- vrchatapi/models/verify_auth_token_result.py | 2 +- vrchatapi/models/world.py | 2 +- vrchatapi/models/world_metadata.py | 2 +- vrchatapi/models/world_publish_status.py | 2 +- vrchatapi/rest.py | 2 +- 147 files changed, 454 insertions(+), 152 deletions(-) diff --git a/docs/GroupLimitedMember.md b/docs/GroupLimitedMember.md index cb85fb2c..5848903b 100644 --- a/docs/GroupLimitedMember.md +++ b/docs/GroupLimitedMember.md @@ -7,7 +7,18 @@ Name | Type | Description | Notes **id** | **str** | | [optional] **group_id** | **str** | | [optional] **user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] -**is_representing** | **bool** | | [optional] [default to False] +**is_representing** | **bool** | Whether the user is representing the group. This makes the group show up above the name tag in-game. | [optional] [default to False] +**role_ids** | **list[str]** | | [optional] +**m_role_ids** | **list[str]** | | [optional] +**joined_at** | **datetime** | | [optional] +**membership_status** | **str** | | [optional] +**visibility** | **str** | | [optional] +**is_subscribed_to_announcements** | **bool** | | [optional] [default to False] +**created_at** | **datetime** | Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. | [optional] +**banned_at** | **datetime** | Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. | [optional] +**manager_notes** | **str** | Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. | [optional] +**last_post_read_at** | **datetime** | | [optional] +**has_joined_from_purchase** | **bool** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/setup.py b/setup.py index b09ca8f1..1ee1b49a 100644 --- a/setup.py +++ b/setup.py @@ -81,7 +81,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -90,7 +90,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.16.4" +VERSION = "1.16.5" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 4b1e3b0b..7b8e9915 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,7 +6,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index 37c7ff91..7e9eca9e 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index 67e126e9..3d222539 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 091cd7b5..09c3b7c2 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index 134c421c..eabdd16e 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index 0b269e0c..9b5dd14d 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index b6a975db..e7e06139 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index 735c82de..d52991a0 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index bc737128..14aa2f37 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index 553d9410..fa6f3ecf 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index 244fe4af..51aec662 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index a2e427ec..f1b3bfed 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index ef28a5d1..8abf5313 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index f8e50395..17b5afdd 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index bdddab8a..2c9b1669 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index d09c146e..53b1fd3d 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index 855c15e0..9d1beadc 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,7 +3,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index 420b2d45..eb336f2b 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -441,7 +441,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.16.4\n"\ + "Version of the API: 1.16.5\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index cbc981ff..59d201b0 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index fed4da47..af5d7718 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,7 +5,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/account_deletion_log.py b/vrchatapi/models/account_deletion_log.py index c926cb4f..807507c4 100644 --- a/vrchatapi/models/account_deletion_log.py +++ b/vrchatapi/models/account_deletion_log.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index 6a708646..592edf91 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index 3ba39947..2f7622ef 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index c88efd66..a43ddc42 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index 2a683fb6..69272a22 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index e9fdd933..febecc1a 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index a907e654..53712210 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index 6bd4b42c..6dd2f4dc 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index 87c6c602..c30e14c6 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index 2935eae4..f7b31ee8 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index 2f5fc47a..7dd613de 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index 2b01755c..c96a00e4 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index aa1c781e..1f8670cf 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index 5c5b5f37..a982d34b 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index d593f54e..aeba3676 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index e5fc8650..3bb21ce4 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index 36a04d55..16e88a7e 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index 6c86efe1..67eabf98 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index 3a5a9ae9..ebdafb7f 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index 2880759f..9a147559 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index 941c2f0c..15ddd8a3 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user_presence.py b/vrchatapi/models/current_user_presence.py index 37120d24..1536ab96 100644 --- a/vrchatapi/models/current_user_presence.py +++ b/vrchatapi/models/current_user_presence.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/deployment_group.py b/vrchatapi/models/deployment_group.py index 21144c9e..3680990e 100644 --- a/vrchatapi/models/deployment_group.py +++ b/vrchatapi/models/deployment_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index bebee929..2be4d5fc 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index 446ff305..bee95ce1 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index 7cfebfdb..d053b452 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index c9191727..1b0d918d 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index c1c2d16e..5c006611 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index 6a26d7db..9fe64226 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index ccda5e59..e8a1f998 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index 6b5b888c..494e8cb3 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index c548fdd8..07d974c4 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index 6c97ce26..07d25aab 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index 34801c3d..6b83680d 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index 87c000d0..f94b97de 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index 048450af..6064cc31 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index 962be8fa..50181b61 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index d85eb738..7d80efd3 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index 8a4c8e31..ba5c33b5 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index fe17fb83..157a2111 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index f3184081..c14a5173 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index be22004c..32be204b 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index 20d5d74a..b05dfc6d 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index 7f1230e4..21e407b9 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index a2395992..6f4c1d6c 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -39,17 +39,39 @@ class GroupLimitedMember(object): 'id': 'str', 'group_id': 'str', 'user_id': 'str', - 'is_representing': 'bool' + 'is_representing': 'bool', + 'role_ids': 'list[str]', + 'm_role_ids': 'list[str]', + 'joined_at': 'datetime', + 'membership_status': 'str', + 'visibility': 'str', + 'is_subscribed_to_announcements': 'bool', + 'created_at': 'datetime', + 'banned_at': 'datetime', + 'manager_notes': 'str', + 'last_post_read_at': 'datetime', + 'has_joined_from_purchase': 'bool' } attribute_map = { 'id': 'id', 'group_id': 'groupId', 'user_id': 'userId', - 'is_representing': 'isRepresenting' + 'is_representing': 'isRepresenting', + 'role_ids': 'roleIds', + 'm_role_ids': 'mRoleIds', + 'joined_at': 'joinedAt', + 'membership_status': 'membershipStatus', + 'visibility': 'visibility', + 'is_subscribed_to_announcements': 'isSubscribedToAnnouncements', + 'created_at': 'createdAt', + 'banned_at': 'bannedAt', + 'manager_notes': 'managerNotes', + 'last_post_read_at': 'lastPostReadAt', + 'has_joined_from_purchase': 'hasJoinedFromPurchase' } - def __init__(self, id=None, group_id=None, user_id=None, is_representing=False, local_vars_configuration=None): # noqa: E501 + def __init__(self, id=None, group_id=None, user_id=None, is_representing=False, role_ids=None, m_role_ids=None, joined_at=None, membership_status=None, visibility=None, is_subscribed_to_announcements=False, created_at=None, banned_at=None, manager_notes=None, last_post_read_at=None, has_joined_from_purchase=None, local_vars_configuration=None): # noqa: E501 """GroupLimitedMember - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -59,6 +81,17 @@ def __init__(self, id=None, group_id=None, user_id=None, is_representing=False, self._group_id = None self._user_id = None self._is_representing = None + self._role_ids = None + self._m_role_ids = None + self._joined_at = None + self._membership_status = None + self._visibility = None + self._is_subscribed_to_announcements = None + self._created_at = None + self._banned_at = None + self._manager_notes = None + self._last_post_read_at = None + self._has_joined_from_purchase = None self.discriminator = None if id is not None: @@ -69,6 +102,25 @@ def __init__(self, id=None, group_id=None, user_id=None, is_representing=False, self.user_id = user_id if is_representing is not None: self.is_representing = is_representing + if role_ids is not None: + self.role_ids = role_ids + if m_role_ids is not None: + self.m_role_ids = m_role_ids + if joined_at is not None: + self.joined_at = joined_at + if membership_status is not None: + self.membership_status = membership_status + if visibility is not None: + self.visibility = visibility + if is_subscribed_to_announcements is not None: + self.is_subscribed_to_announcements = is_subscribed_to_announcements + self.created_at = created_at + self.banned_at = banned_at + self.manager_notes = manager_notes + if last_post_read_at is not None: + self.last_post_read_at = last_post_read_at + if has_joined_from_purchase is not None: + self.has_joined_from_purchase = has_joined_from_purchase @property def id(self): @@ -139,6 +191,7 @@ def user_id(self, user_id): def is_representing(self): """Gets the is_representing of this GroupLimitedMember. # noqa: E501 + Whether the user is representing the group. This makes the group show up above the name tag in-game. # noqa: E501 :return: The is_representing of this GroupLimitedMember. # noqa: E501 :rtype: bool @@ -149,6 +202,7 @@ def is_representing(self): def is_representing(self, is_representing): """Sets the is_representing of this GroupLimitedMember. + Whether the user is representing the group. This makes the group show up above the name tag in-game. # noqa: E501 :param is_representing: The is_representing of this GroupLimitedMember. # noqa: E501 :type is_representing: bool @@ -156,6 +210,243 @@ def is_representing(self, is_representing): self._is_representing = is_representing + @property + def role_ids(self): + """Gets the role_ids of this GroupLimitedMember. # noqa: E501 + + + :return: The role_ids of this GroupLimitedMember. # noqa: E501 + :rtype: list[str] + """ + return self._role_ids + + @role_ids.setter + def role_ids(self, role_ids): + """Sets the role_ids of this GroupLimitedMember. + + + :param role_ids: The role_ids of this GroupLimitedMember. # noqa: E501 + :type role_ids: list[str] + """ + + self._role_ids = role_ids + + @property + def m_role_ids(self): + """Gets the m_role_ids of this GroupLimitedMember. # noqa: E501 + + + :return: The m_role_ids of this GroupLimitedMember. # noqa: E501 + :rtype: list[str] + """ + return self._m_role_ids + + @m_role_ids.setter + def m_role_ids(self, m_role_ids): + """Sets the m_role_ids of this GroupLimitedMember. + + + :param m_role_ids: The m_role_ids of this GroupLimitedMember. # noqa: E501 + :type m_role_ids: list[str] + """ + + self._m_role_ids = m_role_ids + + @property + def joined_at(self): + """Gets the joined_at of this GroupLimitedMember. # noqa: E501 + + + :return: The joined_at of this GroupLimitedMember. # noqa: E501 + :rtype: datetime + """ + return self._joined_at + + @joined_at.setter + def joined_at(self, joined_at): + """Sets the joined_at of this GroupLimitedMember. + + + :param joined_at: The joined_at of this GroupLimitedMember. # noqa: E501 + :type joined_at: datetime + """ + + self._joined_at = joined_at + + @property + def membership_status(self): + """Gets the membership_status of this GroupLimitedMember. # noqa: E501 + + + :return: The membership_status of this GroupLimitedMember. # noqa: E501 + :rtype: str + """ + return self._membership_status + + @membership_status.setter + def membership_status(self, membership_status): + """Sets the membership_status of this GroupLimitedMember. + + + :param membership_status: The membership_status of this GroupLimitedMember. # noqa: E501 + :type membership_status: str + """ + + self._membership_status = membership_status + + @property + def visibility(self): + """Gets the visibility of this GroupLimitedMember. # noqa: E501 + + + :return: The visibility of this GroupLimitedMember. # noqa: E501 + :rtype: str + """ + return self._visibility + + @visibility.setter + def visibility(self, visibility): + """Sets the visibility of this GroupLimitedMember. + + + :param visibility: The visibility of this GroupLimitedMember. # noqa: E501 + :type visibility: str + """ + + self._visibility = visibility + + @property + def is_subscribed_to_announcements(self): + """Gets the is_subscribed_to_announcements of this GroupLimitedMember. # noqa: E501 + + + :return: The is_subscribed_to_announcements of this GroupLimitedMember. # noqa: E501 + :rtype: bool + """ + return self._is_subscribed_to_announcements + + @is_subscribed_to_announcements.setter + def is_subscribed_to_announcements(self, is_subscribed_to_announcements): + """Sets the is_subscribed_to_announcements of this GroupLimitedMember. + + + :param is_subscribed_to_announcements: The is_subscribed_to_announcements of this GroupLimitedMember. # noqa: E501 + :type is_subscribed_to_announcements: bool + """ + + self._is_subscribed_to_announcements = is_subscribed_to_announcements + + @property + def created_at(self): + """Gets the created_at of this GroupLimitedMember. # noqa: E501 + + Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 + + :return: The created_at of this GroupLimitedMember. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this GroupLimitedMember. + + Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 + + :param created_at: The created_at of this GroupLimitedMember. # noqa: E501 + :type created_at: datetime + """ + + self._created_at = created_at + + @property + def banned_at(self): + """Gets the banned_at of this GroupLimitedMember. # noqa: E501 + + Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 + + :return: The banned_at of this GroupLimitedMember. # noqa: E501 + :rtype: datetime + """ + return self._banned_at + + @banned_at.setter + def banned_at(self, banned_at): + """Sets the banned_at of this GroupLimitedMember. + + Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 + + :param banned_at: The banned_at of this GroupLimitedMember. # noqa: E501 + :type banned_at: datetime + """ + + self._banned_at = banned_at + + @property + def manager_notes(self): + """Gets the manager_notes of this GroupLimitedMember. # noqa: E501 + + Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 + + :return: The manager_notes of this GroupLimitedMember. # noqa: E501 + :rtype: str + """ + return self._manager_notes + + @manager_notes.setter + def manager_notes(self, manager_notes): + """Sets the manager_notes of this GroupLimitedMember. + + Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 + + :param manager_notes: The manager_notes of this GroupLimitedMember. # noqa: E501 + :type manager_notes: str + """ + + self._manager_notes = manager_notes + + @property + def last_post_read_at(self): + """Gets the last_post_read_at of this GroupLimitedMember. # noqa: E501 + + + :return: The last_post_read_at of this GroupLimitedMember. # noqa: E501 + :rtype: datetime + """ + return self._last_post_read_at + + @last_post_read_at.setter + def last_post_read_at(self, last_post_read_at): + """Sets the last_post_read_at of this GroupLimitedMember. + + + :param last_post_read_at: The last_post_read_at of this GroupLimitedMember. # noqa: E501 + :type last_post_read_at: datetime + """ + + self._last_post_read_at = last_post_read_at + + @property + def has_joined_from_purchase(self): + """Gets the has_joined_from_purchase of this GroupLimitedMember. # noqa: E501 + + + :return: The has_joined_from_purchase of this GroupLimitedMember. # noqa: E501 + :rtype: bool + """ + return self._has_joined_from_purchase + + @has_joined_from_purchase.setter + def has_joined_from_purchase(self, has_joined_from_purchase): + """Sets the has_joined_from_purchase of this GroupLimitedMember. + + + :param has_joined_from_purchase: The has_joined_from_purchase of this GroupLimitedMember. # noqa: E501 + :type has_joined_from_purchase: bool + """ + + self._has_joined_from_purchase = has_joined_from_purchase + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index 2a5b9029..818d9833 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index c9491ddd..59fe48aa 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index 7f65835e..9e07edb2 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index d22e121f..2cc64fd0 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index 2e6a36c7..6f86deff 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index a4fcbaa9..f0754119 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index 071b545e..b3e4bec9 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index abcabb80..51c6fbb8 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_search_sort.py b/vrchatapi/models/group_search_sort.py index 28cb883f..c0485e04 100644 --- a/vrchatapi/models/group_search_sort.py +++ b/vrchatapi/models/group_search_sort.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index 53a8ea4c..8e553293 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index a0650af2..45ab1a9f 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index 61c4a131..a0a8f904 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index bbcf46b4..f54baea3 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index 208372a9..8c635c4c 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index 1be90827..a165dae4 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index 0c1f4cfd..cdb90b23 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index 59c7d71e..15c41cd1 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index c5a37bac..fcdad122 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index 871ec128..bfa188a6 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index 56228295..e5f6d345 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index 0cdd250c..c7a2a318 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index e8f80dd3..a933f87e 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index bed85ab9..3080c393 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index add4460f..c33e2880 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index d3e07bf5..606407b0 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index 93802b4f..0d788752 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index cc5fd80d..66d7bc15 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_group.py b/vrchatapi/models/limited_group.py index 05599a8c..3b108c0c 100644 --- a/vrchatapi/models/limited_group.py +++ b/vrchatapi/models/limited_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index 25baf688..1a1c8cb0 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user.py b/vrchatapi/models/limited_user.py index 54f1d538..e5be4bb8 100644 --- a/vrchatapi/models/limited_user.py +++ b/vrchatapi/models/limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index a4fd0bff..1a94915e 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index 97c50cb0..10d3a80b 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index 07dedfe9..8a3e8e3d 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index adcee361..87206696 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index 0c8acd6b..0d549c36 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index ccc936fc..350e8cac 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index 925a14fb..e146210a 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index d8be7c7f..760acb92 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index bc137889..55cef47f 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index 81d6c375..d015968a 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index 216ed686..730ecadd 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index 8951c6fd..92efab75 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index cd3e8ac9..b0165f8a 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index 7d9edd2f..0f216f9d 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index f631f379..0f4fc136 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index ee31e29d..40d6f72b 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index 6be00870..2665cab1 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index f30c99c3..a7d08ed4 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index 1065d9f8..49f44ae8 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index ce4d0292..d4feec61 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index 28d2b592..0e79dd18 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index 6bdd8c27..dc9e6cc9 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index 9acc10a6..21ba6203 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index 900632d2..74b2a2f5 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index 7af26f23..5f7233f1 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index 86089feb..2521822f 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index 7f017c7d..137c0ef5 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_email_code.py b/vrchatapi/models/two_factor_email_code.py index 27269ddf..43c68130 100644 --- a/vrchatapi/models/two_factor_email_code.py +++ b/vrchatapi/models/two_factor_email_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index 3283fea7..c095ba66 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index 842f180b..c2b6f764 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index 1d94a82a..f30ae566 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index fdbbce83..f426fa2f 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index f7543f39..248ce3ff 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index c8bd41d6..83c558fc 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index c49ef114..ebd26c77 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index 9445c71c..ec7b04a2 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index debd41da..ec9f9516 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index 54d1a3d0..bdaafcc0 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index 447d1ee8..ec41420c 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index 23fc44d5..42af3704 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index 22c09a37..8a70e967 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index c2b09e90..486ccc5d 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index 1a7ef0cb..ba0610c8 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_email_code_result.py b/vrchatapi/models/verify2_fa_email_code_result.py index 083c1521..43768dcd 100644 --- a/vrchatapi/models/verify2_fa_email_code_result.py +++ b/vrchatapi/models/verify2_fa_email_code_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index 8343497f..c6d3eecf 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index 6ef40198..16f9098b 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index ee9089d7..819be6f0 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index b514e880..4798ea31 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index 85d3baa8..0047fc31 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index b85d9248..2748fc98 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.4 + The version of the OpenAPI document: 1.16.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ From 1ab966c66f852b62365dc9f13af5a266c25515cd Mon Sep 17 00:00:00 2001 From: VRCCat Date: Sat, 24 Feb 2024 15:10:18 +0000 Subject: [PATCH 043/102] Upgrade Python SDK to spec 1.16.6 --- .openapi-generator/FILES | 2 + docs/CreateAvatarRequest.md | 1 + docs/GroupAuditLogEntry.md | 2 +- docs/RepresentedGroup.md | 24 + docs/UpdateAvatarRequest.md | 1 + docs/UsersApi.md | 75 +++ setup.py | 4 +- vrchatapi/__init__.py | 3 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/groups_api.py | 2 +- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 140 +++++- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 +- vrchatapi/exceptions.py | 2 +- vrchatapi/models/__init__.py | 3 +- vrchatapi/models/account_deletion_log.py | 2 +- vrchatapi/models/add_favorite_request.py | 2 +- .../models/add_group_gallery_image_request.py | 2 +- vrchatapi/models/api_config.py | 2 +- vrchatapi/models/api_config_announcement.py | 2 +- .../models/api_config_download_url_list.py | 2 +- vrchatapi/models/api_config_events.py | 2 +- vrchatapi/models/api_health.py | 2 +- vrchatapi/models/avatar.py | 2 +- .../models/avatar_unity_package_url_object.py | 2 +- vrchatapi/models/ban_group_member_request.py | 2 +- vrchatapi/models/create_avatar_request.py | 37 +- vrchatapi/models/create_file_request.py | 2 +- .../models/create_file_version_request.py | 2 +- .../create_group_announcement_request.py | 2 +- .../models/create_group_gallery_request.py | 2 +- .../models/create_group_invite_request.py | 2 +- vrchatapi/models/create_group_request.py | 2 +- vrchatapi/models/create_group_role_request.py | 2 +- vrchatapi/models/create_world_request.py | 2 +- vrchatapi/models/current_user.py | 2 +- vrchatapi/models/current_user_presence.py | 2 +- vrchatapi/models/deployment_group.py | 2 +- vrchatapi/models/developer_type.py | 2 +- vrchatapi/models/dynamic_content_row.py | 2 +- vrchatapi/models/error.py | 2 +- vrchatapi/models/favorite.py | 2 +- vrchatapi/models/favorite_group.py | 2 +- vrchatapi/models/favorite_group_visibility.py | 2 +- vrchatapi/models/favorite_type.py | 2 +- vrchatapi/models/file.py | 2 +- vrchatapi/models/file_data.py | 2 +- vrchatapi/models/file_status.py | 2 +- vrchatapi/models/file_upload_url.py | 2 +- vrchatapi/models/file_version.py | 2 +- .../models/file_version_upload_status.py | 2 +- .../models/finish_file_data_upload_request.py | 2 +- vrchatapi/models/friend_status.py | 2 +- vrchatapi/models/group.py | 2 +- vrchatapi/models/group_announcement.py | 2 +- vrchatapi/models/group_audit_log_entry.py | 34 +- vrchatapi/models/group_gallery.py | 2 +- vrchatapi/models/group_gallery_image.py | 2 +- vrchatapi/models/group_join_state.py | 2 +- vrchatapi/models/group_limited_member.py | 2 +- vrchatapi/models/group_member.py | 2 +- vrchatapi/models/group_member_limited_user.py | 2 +- vrchatapi/models/group_member_status.py | 2 +- vrchatapi/models/group_my_member.py | 2 +- vrchatapi/models/group_permission.py | 2 +- vrchatapi/models/group_privacy.py | 2 +- vrchatapi/models/group_role.py | 2 +- vrchatapi/models/group_role_template.py | 2 +- vrchatapi/models/group_search_sort.py | 2 +- vrchatapi/models/group_user_visibility.py | 2 +- vrchatapi/models/info_push.py | 2 +- vrchatapi/models/info_push_data.py | 2 +- vrchatapi/models/info_push_data_article.py | 2 +- .../models/info_push_data_article_content.py | 2 +- vrchatapi/models/info_push_data_clickable.py | 2 +- vrchatapi/models/instance.py | 2 +- vrchatapi/models/instance_platforms.py | 2 +- .../models/instance_short_name_response.py | 2 +- vrchatapi/models/instance_type.py | 2 +- vrchatapi/models/invite_message.py | 2 +- vrchatapi/models/invite_message_type.py | 2 +- vrchatapi/models/invite_request.py | 2 +- vrchatapi/models/invite_response.py | 2 +- vrchatapi/models/license.py | 2 +- vrchatapi/models/license_action.py | 2 +- vrchatapi/models/license_group.py | 2 +- vrchatapi/models/license_type.py | 2 +- vrchatapi/models/limited_group.py | 2 +- vrchatapi/models/limited_unity_package.py | 2 +- vrchatapi/models/limited_user.py | 2 +- vrchatapi/models/limited_world.py | 2 +- vrchatapi/models/mime_type.py | 2 +- vrchatapi/models/moderate_user_request.py | 2 +- vrchatapi/models/notification.py | 2 +- vrchatapi/models/notification_type.py | 2 +- vrchatapi/models/order_option.py | 2 +- .../paginated_group_audit_log_entry_list.py | 2 +- vrchatapi/models/past_display_name.py | 2 +- vrchatapi/models/permission.py | 2 +- vrchatapi/models/player_moderation.py | 2 +- vrchatapi/models/player_moderation_type.py | 2 +- vrchatapi/models/region.py | 2 +- vrchatapi/models/release_status.py | 2 +- vrchatapi/models/represented_group.py | 467 ++++++++++++++++++ vrchatapi/models/request_invite_request.py | 2 +- .../models/respond_group_join_request.py | 2 +- vrchatapi/models/response.py | 2 +- vrchatapi/models/sent_notification.py | 2 +- vrchatapi/models/sort_option.py | 2 +- vrchatapi/models/subscription.py | 2 +- vrchatapi/models/subscription_period.py | 2 +- vrchatapi/models/success.py | 2 +- vrchatapi/models/transaction.py | 2 +- vrchatapi/models/transaction_agreement.py | 2 +- vrchatapi/models/transaction_status.py | 2 +- vrchatapi/models/transaction_steam_info.py | 2 +- .../models/transaction_steam_wallet_info.py | 2 +- vrchatapi/models/two_factor_auth_code.py | 2 +- vrchatapi/models/two_factor_email_code.py | 2 +- vrchatapi/models/unity_package.py | 2 +- vrchatapi/models/update_avatar_request.py | 37 +- .../models/update_favorite_group_request.py | 2 +- .../models/update_group_gallery_request.py | 2 +- .../models/update_group_member_request.py | 2 +- vrchatapi/models/update_group_request.py | 2 +- vrchatapi/models/update_group_role_request.py | 2 +- .../models/update_invite_message_request.py | 2 +- vrchatapi/models/update_user_request.py | 2 +- vrchatapi/models/update_world_request.py | 2 +- vrchatapi/models/user.py | 2 +- vrchatapi/models/user_exists.py | 2 +- vrchatapi/models/user_state.py | 2 +- vrchatapi/models/user_status.py | 2 +- vrchatapi/models/user_subscription.py | 2 +- .../models/verify2_fa_email_code_result.py | 2 +- vrchatapi/models/verify2_fa_result.py | 2 +- vrchatapi/models/verify_auth_token_result.py | 2 +- vrchatapi/models/world.py | 2 +- vrchatapi/models/world_metadata.py | 2 +- vrchatapi/models/world_publish_status.py | 2 +- vrchatapi/rest.py | 2 +- 153 files changed, 939 insertions(+), 171 deletions(-) create mode 100644 docs/RepresentedGroup.md create mode 100644 vrchatapi/models/represented_group.py diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 8e2bdd1b..ac81255a 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -99,6 +99,7 @@ docs/PlayerModerationType.md docs/PlayermoderationApi.md docs/Region.md docs/ReleaseStatus.md +docs/RepresentedGroup.md docs/RequestInviteRequest.md docs/RespondGroupJoinRequest.md docs/Response.md @@ -253,6 +254,7 @@ vrchatapi/models/player_moderation.py vrchatapi/models/player_moderation_type.py vrchatapi/models/region.py vrchatapi/models/release_status.py +vrchatapi/models/represented_group.py vrchatapi/models/request_invite_request.py vrchatapi/models/respond_group_join_request.py vrchatapi/models/response.py diff --git a/docs/CreateAvatarRequest.md b/docs/CreateAvatarRequest.md index 6290b0fc..bdbb34c6 100644 --- a/docs/CreateAvatarRequest.md +++ b/docs/CreateAvatarRequest.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | [optional] **version** | **float** | | [optional] [default to 1] **unity_package_url** | **str** | | [optional] +**unity_version** | **str** | | [optional] [default to '5.3.4p1'] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GroupAuditLogEntry.md b/docs/GroupAuditLogEntry.md index 61a6a698..059033a7 100644 --- a/docs/GroupAuditLogEntry.md +++ b/docs/GroupAuditLogEntry.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **created_at** | **datetime** | | [optional] **group_id** | **str** | | [optional] **actor_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] -**actor_displayname** | **str** | | [optional] +**actor_display_name** | **str** | | [optional] **target_id** | **str** | Typically GroupID or GroupRoleID, but could be other types of IDs. | [optional] **event_type** | **str** | The type of event that occurred. This is a string that is prefixed with the type of object that the event occurred on. For example, a group role update event would be prefixed with `group.role`. | [optional] [default to 'group.update'] **description** | **str** | A human-readable description of the event. | [optional] diff --git a/docs/RepresentedGroup.md b/docs/RepresentedGroup.md new file mode 100644 index 00000000..9c9cd718 --- /dev/null +++ b/docs/RepresentedGroup.md @@ -0,0 +1,24 @@ +# RepresentedGroup + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **str** | | [optional] +**short_code** | **str** | | [optional] +**discriminator** | **str** | | [optional] +**description** | **str** | | [optional] +**icon_id** | **str** | | [optional] +**icon_url** | **str** | | [optional] +**banner_id** | **str** | | [optional] +**banner_url** | **str** | | [optional] +**privacy** | [**GroupPrivacy**](GroupPrivacy.md) | | [optional] +**owner_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] +**member_count** | **int** | | [optional] +**group_id** | **str** | | [optional] +**member_visibility** | [**GroupUserVisibility**](GroupUserVisibility.md) | | [optional] +**is_representing** | **bool** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/UpdateAvatarRequest.md b/docs/UpdateAvatarRequest.md index e2540d7d..b5008386 100644 --- a/docs/UpdateAvatarRequest.md +++ b/docs/UpdateAvatarRequest.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | [optional] **version** | **float** | | [optional] [default to 1] **unity_package_url** | **str** | | [optional] +**unity_version** | **str** | | [optional] [default to '5.3.4p1'] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsersApi.md b/docs/UsersApi.md index 10b8a9f6..f702c76b 100644 --- a/docs/UsersApi.md +++ b/docs/UsersApi.md @@ -8,6 +8,7 @@ Method | HTTP request | Description [**get_user_by_name**](UsersApi.md#get_user_by_name) | **GET** /users/{username}/name | Get User by Username [**get_user_group_requests**](UsersApi.md#get_user_group_requests) | **GET** /users/{userId}/groups/requested | Get User Group Requests [**get_user_groups**](UsersApi.md#get_user_groups) | **GET** /users/{userId}/groups | Get User Groups +[**get_user_represented_group**](UsersApi.md#get_user_represented_group) | **GET** /users/{userId}/groups/represented | Get user's current represented group [**search_users**](UsersApi.md#search_users) | **GET** /users | Search All Users [**update_user**](UsersApi.md#update_user) | **PUT** /users/{userId} | Update User Info @@ -308,6 +309,80 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_user_represented_group** +> RepresentedGroup get_user_represented_group(user_id) + +Get user's current represented group + +Returns the current group that the user is currently representing + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.UsersApi(api_client) + user_id = 'user_id_example' # str | Must be a valid user ID. + + try: + # Get user's current represented group + api_response = api_instance.get_user_represented_group(user_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling UsersApi->get_user_represented_group: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | + +### Return type + +[**RepresentedGroup**](RepresentedGroup.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **search_users** > list[LimitedUser] search_users(search=search, developer_type=developer_type, n=n, offset=offset) diff --git a/setup.py b/setup.py index 1ee1b49a..229a972f 100644 --- a/setup.py +++ b/setup.py @@ -81,7 +81,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -90,7 +90,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.16.5" +VERSION = "1.16.6" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 7b8e9915..53b7230f 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,7 +6,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -131,6 +131,7 @@ from vrchatapi.models.player_moderation_type import PlayerModerationType from vrchatapi.models.region import Region from vrchatapi.models.release_status import ReleaseStatus +from vrchatapi.models.represented_group import RepresentedGroup from vrchatapi.models.request_invite_request import RequestInviteRequest from vrchatapi.models.respond_group_join_request import RespondGroupJoinRequest from vrchatapi.models.response import Response diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index 7e9eca9e..39f52cea 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index 3d222539..b2cd6130 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 09c3b7c2..33618caf 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index eabdd16e..3d3641ab 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index 9b5dd14d..824920f3 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index e7e06139..63260bc3 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index d52991a0..ea10481b 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 14aa2f37..2a145a96 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index fa6f3ecf..477430a5 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index 51aec662..3e4bbe73 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index f1b3bfed..0fcff2c1 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index 8abf5313..7b2e501b 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index 17b5afdd..db46667b 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index 2c9b1669..8a6befec 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -588,6 +588,144 @@ def get_user_groups_with_http_info(self, user_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def get_user_represented_group(self, user_id, **kwargs): # noqa: E501 + """Get user's current represented group # noqa: E501 + + Returns the current group that the user is currently representing # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_user_represented_group(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: RepresentedGroup + """ + kwargs['_return_http_data_only'] = True + return self.get_user_represented_group_with_http_info(user_id, **kwargs) # noqa: E501 + + def get_user_represented_group_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get user's current represented group # noqa: E501 + + Returns the current group that the user is currently representing # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_user_represented_group_with_http_info(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(RepresentedGroup, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_user_represented_group" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_user_represented_group`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "RepresentedGroup", + 401: "Error", + } + + return self.api_client.call_api( + '/users/{userId}/groups/represented', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def search_users(self, **kwargs): # noqa: E501 """Search All Users # noqa: E501 diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 53b1fd3d..367a4d6e 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index 9d1beadc..02bc324e 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,7 +3,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index eb336f2b..2688c8fa 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -441,7 +441,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.16.5\n"\ + "Version of the API: 1.16.6\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index 59d201b0..b13f1702 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index af5d7718..7e5bb438 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,7 +5,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -102,6 +102,7 @@ from vrchatapi.models.player_moderation_type import PlayerModerationType from vrchatapi.models.region import Region from vrchatapi.models.release_status import ReleaseStatus +from vrchatapi.models.represented_group import RepresentedGroup from vrchatapi.models.request_invite_request import RequestInviteRequest from vrchatapi.models.respond_group_join_request import RespondGroupJoinRequest from vrchatapi.models.response import Response diff --git a/vrchatapi/models/account_deletion_log.py b/vrchatapi/models/account_deletion_log.py index 807507c4..cd435000 100644 --- a/vrchatapi/models/account_deletion_log.py +++ b/vrchatapi/models/account_deletion_log.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index 592edf91..7fad199a 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index 2f7622ef..3159d6a3 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index a43ddc42..cb075eb8 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index 69272a22..cb2e21cd 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index febecc1a..6c0ab559 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index 53712210..ed40c4dd 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index 6dd2f4dc..fe8dc14c 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index c30e14c6..df6d8c3e 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index f7b31ee8..7b0622fe 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index 7dd613de..a618a181 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index c96a00e4..6aef61a9 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -44,7 +44,8 @@ class CreateAvatarRequest(object): 'image_url': 'str', 'release_status': 'ReleaseStatus', 'version': 'float', - 'unity_package_url': 'str' + 'unity_package_url': 'str', + 'unity_version': 'str' } attribute_map = { @@ -56,10 +57,11 @@ class CreateAvatarRequest(object): 'image_url': 'imageUrl', 'release_status': 'releaseStatus', 'version': 'version', - 'unity_package_url': 'unityPackageUrl' + 'unity_package_url': 'unityPackageUrl', + 'unity_version': 'unityVersion' } - def __init__(self, asset_url=None, id=None, name=None, description=None, tags=None, image_url=None, release_status=None, version=1, unity_package_url=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, asset_url=None, id=None, name=None, description=None, tags=None, image_url=None, release_status=None, version=1, unity_package_url=None, unity_version='5.3.4p1', local_vars_configuration=None): # noqa: E501 """CreateAvatarRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -74,6 +76,7 @@ def __init__(self, asset_url=None, id=None, name=None, description=None, tags=No self._release_status = None self._version = None self._unity_package_url = None + self._unity_version = None self.discriminator = None if asset_url is not None: @@ -92,6 +95,8 @@ def __init__(self, asset_url=None, id=None, name=None, description=None, tags=No self.version = version if unity_package_url is not None: self.unity_package_url = unity_package_url + if unity_version is not None: + self.unity_version = unity_version @property def asset_url(self): @@ -300,6 +305,30 @@ def unity_package_url(self, unity_package_url): self._unity_package_url = unity_package_url + @property + def unity_version(self): + """Gets the unity_version of this CreateAvatarRequest. # noqa: E501 + + + :return: The unity_version of this CreateAvatarRequest. # noqa: E501 + :rtype: str + """ + return self._unity_version + + @unity_version.setter + def unity_version(self, unity_version): + """Sets the unity_version of this CreateAvatarRequest. + + + :param unity_version: The unity_version of this CreateAvatarRequest. # noqa: E501 + :type unity_version: str + """ + if (self.local_vars_configuration.client_side_validation and + unity_version is not None and len(unity_version) < 1): + raise ValueError("Invalid value for `unity_version`, length must be greater than or equal to `1`") # noqa: E501 + + self._unity_version = unity_version + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index 1f8670cf..39b0103a 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index a982d34b..a779eb13 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index aeba3676..7177ab5a 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index 3bb21ce4..b03d630b 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index 16e88a7e..82c9eeae 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index 67eabf98..d1bd2040 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index ebdafb7f..bdaa0704 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index 9a147559..ab7a57aa 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index 15ddd8a3..aa243f89 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user_presence.py b/vrchatapi/models/current_user_presence.py index 1536ab96..5c100403 100644 --- a/vrchatapi/models/current_user_presence.py +++ b/vrchatapi/models/current_user_presence.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/deployment_group.py b/vrchatapi/models/deployment_group.py index 3680990e..2ceefaaa 100644 --- a/vrchatapi/models/deployment_group.py +++ b/vrchatapi/models/deployment_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index 2be4d5fc..8bb46855 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index bee95ce1..6302e4a0 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index d053b452..b90284db 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index 1b0d918d..4f183bb7 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index 5c006611..fe9d869d 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index 9fe64226..a88aa4f9 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index e8a1f998..9950d3ae 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index 494e8cb3..22324571 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index 07d974c4..0fb302f3 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index 07d25aab..d44b8e5e 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index 6b83680d..7e273576 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index f94b97de..70e97b28 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index 6064cc31..e895d263 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index 50181b61..916492c5 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index 7d80efd3..b175d95b 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index ba5c33b5..765cbf11 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index 157a2111..1674292c 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index c14a5173..053e1184 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -40,7 +40,7 @@ class GroupAuditLogEntry(object): 'created_at': 'datetime', 'group_id': 'str', 'actor_id': 'str', - 'actor_displayname': 'str', + 'actor_display_name': 'str', 'target_id': 'str', 'event_type': 'str', 'description': 'str', @@ -52,14 +52,14 @@ class GroupAuditLogEntry(object): 'created_at': 'created_at', 'group_id': 'groupId', 'actor_id': 'actorId', - 'actor_displayname': 'actorDisplayname', + 'actor_display_name': 'actorDisplayName', 'target_id': 'targetId', 'event_type': 'eventType', 'description': 'description', 'data': 'data' } - def __init__(self, id=None, created_at=None, group_id=None, actor_id=None, actor_displayname=None, target_id=None, event_type='group.update', description=None, data=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, id=None, created_at=None, group_id=None, actor_id=None, actor_display_name=None, target_id=None, event_type='group.update', description=None, data=None, local_vars_configuration=None): # noqa: E501 """GroupAuditLogEntry - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -69,7 +69,7 @@ def __init__(self, id=None, created_at=None, group_id=None, actor_id=None, actor self._created_at = None self._group_id = None self._actor_id = None - self._actor_displayname = None + self._actor_display_name = None self._target_id = None self._event_type = None self._description = None @@ -84,8 +84,8 @@ def __init__(self, id=None, created_at=None, group_id=None, actor_id=None, actor self.group_id = group_id if actor_id is not None: self.actor_id = actor_id - if actor_displayname is not None: - self.actor_displayname = actor_displayname + if actor_display_name is not None: + self.actor_display_name = actor_display_name if target_id is not None: self.target_id = target_id if event_type is not None: @@ -182,25 +182,25 @@ def actor_id(self, actor_id): self._actor_id = actor_id @property - def actor_displayname(self): - """Gets the actor_displayname of this GroupAuditLogEntry. # noqa: E501 + def actor_display_name(self): + """Gets the actor_display_name of this GroupAuditLogEntry. # noqa: E501 - :return: The actor_displayname of this GroupAuditLogEntry. # noqa: E501 + :return: The actor_display_name of this GroupAuditLogEntry. # noqa: E501 :rtype: str """ - return self._actor_displayname + return self._actor_display_name - @actor_displayname.setter - def actor_displayname(self, actor_displayname): - """Sets the actor_displayname of this GroupAuditLogEntry. + @actor_display_name.setter + def actor_display_name(self, actor_display_name): + """Sets the actor_display_name of this GroupAuditLogEntry. - :param actor_displayname: The actor_displayname of this GroupAuditLogEntry. # noqa: E501 - :type actor_displayname: str + :param actor_display_name: The actor_display_name of this GroupAuditLogEntry. # noqa: E501 + :type actor_display_name: str """ - self._actor_displayname = actor_displayname + self._actor_display_name = actor_display_name @property def target_id(self): diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index 32be204b..bf2c0303 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index b05dfc6d..92bd5daa 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index 21e407b9..1d54c353 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index 6f4c1d6c..dbae735d 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index 818d9833..f7a8c7b5 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index 59fe48aa..77f3a92c 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index 9e07edb2..fec158ab 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index 2cc64fd0..1ca6c08f 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index 6f86deff..f14e3d1d 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index f0754119..06006477 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index b3e4bec9..80bdcdce 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index 51c6fbb8..0f89c6f1 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_search_sort.py b/vrchatapi/models/group_search_sort.py index c0485e04..a1b7dc20 100644 --- a/vrchatapi/models/group_search_sort.py +++ b/vrchatapi/models/group_search_sort.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index 8e553293..7e115a68 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index 45ab1a9f..c86f7b50 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index a0a8f904..76067adf 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index f54baea3..aa06a10f 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index 8c635c4c..fff7db23 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index a165dae4..25518e57 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index cdb90b23..c3abc8dd 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index 15c41cd1..00b22224 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index fcdad122..05db3a23 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index bfa188a6..b10f428c 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index e5f6d345..a042aec1 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index c7a2a318..d3161c89 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index a933f87e..2a265283 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index 3080c393..f3274ac2 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index c33e2880..9379baa1 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index 606407b0..67f1369b 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index 0d788752..dd09fe83 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index 66d7bc15..e57864df 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_group.py b/vrchatapi/models/limited_group.py index 3b108c0c..4aa0af90 100644 --- a/vrchatapi/models/limited_group.py +++ b/vrchatapi/models/limited_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index 1a1c8cb0..31e300d5 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user.py b/vrchatapi/models/limited_user.py index e5be4bb8..e4bc293b 100644 --- a/vrchatapi/models/limited_user.py +++ b/vrchatapi/models/limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index 1a94915e..a1efc83a 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index 10d3a80b..2d2aff10 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index 8a3e8e3d..aa2de157 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index 87206696..b9b9b657 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index 0d549c36..3492414c 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index 350e8cac..fc54a21b 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index e146210a..39ba21ff 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index 760acb92..43d19e1a 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index 55cef47f..a104c8e3 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index d015968a..1054ad20 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index 730ecadd..22254806 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index 92efab75..fa99809f 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index b0165f8a..cf548463 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/represented_group.py b/vrchatapi/models/represented_group.py new file mode 100644 index 00000000..5b7f8746 --- /dev/null +++ b/vrchatapi/models/represented_group.py @@ -0,0 +1,467 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.16.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class RepresentedGroup(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'name': 'str', + 'short_code': 'str', + 'discriminator': 'str', + 'description': 'str', + 'icon_id': 'str', + 'icon_url': 'str', + 'banner_id': 'str', + 'banner_url': 'str', + 'privacy': 'GroupPrivacy', + 'owner_id': 'str', + 'member_count': 'int', + 'group_id': 'str', + 'member_visibility': 'GroupUserVisibility', + 'is_representing': 'bool' + } + + attribute_map = { + 'name': 'name', + 'short_code': 'shortCode', + 'discriminator': 'discriminator', + 'description': 'description', + 'icon_id': 'iconId', + 'icon_url': 'iconUrl', + 'banner_id': 'bannerId', + 'banner_url': 'bannerUrl', + 'privacy': 'privacy', + 'owner_id': 'ownerId', + 'member_count': 'memberCount', + 'group_id': 'groupId', + 'member_visibility': 'memberVisibility', + 'is_representing': 'isRepresenting' + } + + def __init__(self, name=None, short_code=None, discriminator=None, description=None, icon_id=None, icon_url=None, banner_id=None, banner_url=None, privacy=None, owner_id=None, member_count=None, group_id=None, member_visibility=None, is_representing=None, local_vars_configuration=None): # noqa: E501 + """RepresentedGroup - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._name = None + self._short_code = None + self._discriminator = None + self._description = None + self._icon_id = None + self._icon_url = None + self._banner_id = None + self._banner_url = None + self._privacy = None + self._owner_id = None + self._member_count = None + self._group_id = None + self._member_visibility = None + self._is_representing = None + self.discriminator = None + + if name is not None: + self.name = name + if short_code is not None: + self.short_code = short_code + if discriminator is not None: + self.discriminator = discriminator + if description is not None: + self.description = description + self.icon_id = icon_id + self.icon_url = icon_url + self.banner_id = banner_id + self.banner_url = banner_url + if privacy is not None: + self.privacy = privacy + if owner_id is not None: + self.owner_id = owner_id + if member_count is not None: + self.member_count = member_count + if group_id is not None: + self.group_id = group_id + if member_visibility is not None: + self.member_visibility = member_visibility + if is_representing is not None: + self.is_representing = is_representing + + @property + def name(self): + """Gets the name of this RepresentedGroup. # noqa: E501 + + + :return: The name of this RepresentedGroup. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this RepresentedGroup. + + + :param name: The name of this RepresentedGroup. # noqa: E501 + :type name: str + """ + + self._name = name + + @property + def short_code(self): + """Gets the short_code of this RepresentedGroup. # noqa: E501 + + + :return: The short_code of this RepresentedGroup. # noqa: E501 + :rtype: str + """ + return self._short_code + + @short_code.setter + def short_code(self, short_code): + """Sets the short_code of this RepresentedGroup. + + + :param short_code: The short_code of this RepresentedGroup. # noqa: E501 + :type short_code: str + """ + + self._short_code = short_code + + @property + def discriminator(self): + """Gets the discriminator of this RepresentedGroup. # noqa: E501 + + + :return: The discriminator of this RepresentedGroup. # noqa: E501 + :rtype: str + """ + return self._discriminator + + @discriminator.setter + def discriminator(self, discriminator): + """Sets the discriminator of this RepresentedGroup. + + + :param discriminator: The discriminator of this RepresentedGroup. # noqa: E501 + :type discriminator: str + """ + + self._discriminator = discriminator + + @property + def description(self): + """Gets the description of this RepresentedGroup. # noqa: E501 + + + :return: The description of this RepresentedGroup. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this RepresentedGroup. + + + :param description: The description of this RepresentedGroup. # noqa: E501 + :type description: str + """ + + self._description = description + + @property + def icon_id(self): + """Gets the icon_id of this RepresentedGroup. # noqa: E501 + + + :return: The icon_id of this RepresentedGroup. # noqa: E501 + :rtype: str + """ + return self._icon_id + + @icon_id.setter + def icon_id(self, icon_id): + """Sets the icon_id of this RepresentedGroup. + + + :param icon_id: The icon_id of this RepresentedGroup. # noqa: E501 + :type icon_id: str + """ + + self._icon_id = icon_id + + @property + def icon_url(self): + """Gets the icon_url of this RepresentedGroup. # noqa: E501 + + + :return: The icon_url of this RepresentedGroup. # noqa: E501 + :rtype: str + """ + return self._icon_url + + @icon_url.setter + def icon_url(self, icon_url): + """Sets the icon_url of this RepresentedGroup. + + + :param icon_url: The icon_url of this RepresentedGroup. # noqa: E501 + :type icon_url: str + """ + + self._icon_url = icon_url + + @property + def banner_id(self): + """Gets the banner_id of this RepresentedGroup. # noqa: E501 + + + :return: The banner_id of this RepresentedGroup. # noqa: E501 + :rtype: str + """ + return self._banner_id + + @banner_id.setter + def banner_id(self, banner_id): + """Sets the banner_id of this RepresentedGroup. + + + :param banner_id: The banner_id of this RepresentedGroup. # noqa: E501 + :type banner_id: str + """ + + self._banner_id = banner_id + + @property + def banner_url(self): + """Gets the banner_url of this RepresentedGroup. # noqa: E501 + + + :return: The banner_url of this RepresentedGroup. # noqa: E501 + :rtype: str + """ + return self._banner_url + + @banner_url.setter + def banner_url(self, banner_url): + """Sets the banner_url of this RepresentedGroup. + + + :param banner_url: The banner_url of this RepresentedGroup. # noqa: E501 + :type banner_url: str + """ + + self._banner_url = banner_url + + @property + def privacy(self): + """Gets the privacy of this RepresentedGroup. # noqa: E501 + + + :return: The privacy of this RepresentedGroup. # noqa: E501 + :rtype: GroupPrivacy + """ + return self._privacy + + @privacy.setter + def privacy(self, privacy): + """Sets the privacy of this RepresentedGroup. + + + :param privacy: The privacy of this RepresentedGroup. # noqa: E501 + :type privacy: GroupPrivacy + """ + + self._privacy = privacy + + @property + def owner_id(self): + """Gets the owner_id of this RepresentedGroup. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The owner_id of this RepresentedGroup. # noqa: E501 + :rtype: str + """ + return self._owner_id + + @owner_id.setter + def owner_id(self, owner_id): + """Sets the owner_id of this RepresentedGroup. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param owner_id: The owner_id of this RepresentedGroup. # noqa: E501 + :type owner_id: str + """ + + self._owner_id = owner_id + + @property + def member_count(self): + """Gets the member_count of this RepresentedGroup. # noqa: E501 + + + :return: The member_count of this RepresentedGroup. # noqa: E501 + :rtype: int + """ + return self._member_count + + @member_count.setter + def member_count(self, member_count): + """Sets the member_count of this RepresentedGroup. + + + :param member_count: The member_count of this RepresentedGroup. # noqa: E501 + :type member_count: int + """ + + self._member_count = member_count + + @property + def group_id(self): + """Gets the group_id of this RepresentedGroup. # noqa: E501 + + + :return: The group_id of this RepresentedGroup. # noqa: E501 + :rtype: str + """ + return self._group_id + + @group_id.setter + def group_id(self, group_id): + """Sets the group_id of this RepresentedGroup. + + + :param group_id: The group_id of this RepresentedGroup. # noqa: E501 + :type group_id: str + """ + + self._group_id = group_id + + @property + def member_visibility(self): + """Gets the member_visibility of this RepresentedGroup. # noqa: E501 + + + :return: The member_visibility of this RepresentedGroup. # noqa: E501 + :rtype: GroupUserVisibility + """ + return self._member_visibility + + @member_visibility.setter + def member_visibility(self, member_visibility): + """Sets the member_visibility of this RepresentedGroup. + + + :param member_visibility: The member_visibility of this RepresentedGroup. # noqa: E501 + :type member_visibility: GroupUserVisibility + """ + + self._member_visibility = member_visibility + + @property + def is_representing(self): + """Gets the is_representing of this RepresentedGroup. # noqa: E501 + + + :return: The is_representing of this RepresentedGroup. # noqa: E501 + :rtype: bool + """ + return self._is_representing + + @is_representing.setter + def is_representing(self, is_representing): + """Sets the is_representing of this RepresentedGroup. + + + :param is_representing: The is_representing of this RepresentedGroup. # noqa: E501 + :type is_representing: bool + """ + + self._is_representing = is_representing + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, RepresentedGroup): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, RepresentedGroup): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index 0f216f9d..fd3b41a0 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index 0f4fc136..16392cc6 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index 40d6f72b..c3d91254 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index 2665cab1..56927f8e 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index a7d08ed4..b4378a39 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index 49f44ae8..c9bcf689 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index d4feec61..2fa31f36 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index 0e79dd18..47486618 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index dc9e6cc9..88da7b31 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index 21ba6203..002ff9eb 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index 74b2a2f5..2bd2db0e 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index 5f7233f1..65883ffe 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index 2521822f..29f79056 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index 137c0ef5..d1547474 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_email_code.py b/vrchatapi/models/two_factor_email_code.py index 43c68130..e34b5d73 100644 --- a/vrchatapi/models/two_factor_email_code.py +++ b/vrchatapi/models/two_factor_email_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index c095ba66..d35be414 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index c2b6f764..e52e389a 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -44,7 +44,8 @@ class UpdateAvatarRequest(object): 'image_url': 'str', 'release_status': 'ReleaseStatus', 'version': 'float', - 'unity_package_url': 'str' + 'unity_package_url': 'str', + 'unity_version': 'str' } attribute_map = { @@ -56,10 +57,11 @@ class UpdateAvatarRequest(object): 'image_url': 'imageUrl', 'release_status': 'releaseStatus', 'version': 'version', - 'unity_package_url': 'unityPackageUrl' + 'unity_package_url': 'unityPackageUrl', + 'unity_version': 'unityVersion' } - def __init__(self, asset_url=None, id=None, name=None, description=None, tags=None, image_url=None, release_status=None, version=1, unity_package_url=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, asset_url=None, id=None, name=None, description=None, tags=None, image_url=None, release_status=None, version=1, unity_package_url=None, unity_version='5.3.4p1', local_vars_configuration=None): # noqa: E501 """UpdateAvatarRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -74,6 +76,7 @@ def __init__(self, asset_url=None, id=None, name=None, description=None, tags=No self._release_status = None self._version = None self._unity_package_url = None + self._unity_version = None self.discriminator = None if asset_url is not None: @@ -94,6 +97,8 @@ def __init__(self, asset_url=None, id=None, name=None, description=None, tags=No self.version = version if unity_package_url is not None: self.unity_package_url = unity_package_url + if unity_version is not None: + self.unity_version = unity_version @property def asset_url(self): @@ -298,6 +303,30 @@ def unity_package_url(self, unity_package_url): self._unity_package_url = unity_package_url + @property + def unity_version(self): + """Gets the unity_version of this UpdateAvatarRequest. # noqa: E501 + + + :return: The unity_version of this UpdateAvatarRequest. # noqa: E501 + :rtype: str + """ + return self._unity_version + + @unity_version.setter + def unity_version(self, unity_version): + """Sets the unity_version of this UpdateAvatarRequest. + + + :param unity_version: The unity_version of this UpdateAvatarRequest. # noqa: E501 + :type unity_version: str + """ + if (self.local_vars_configuration.client_side_validation and + unity_version is not None and len(unity_version) < 1): + raise ValueError("Invalid value for `unity_version`, length must be greater than or equal to `1`") # noqa: E501 + + self._unity_version = unity_version + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index f30ae566..fbc909d7 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index f426fa2f..46036c45 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index 248ce3ff..d6049afc 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index 83c558fc..522f2009 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index ebd26c77..23e25dea 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index ec7b04a2..d09f739d 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index ec9f9516..76aaf91a 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index bdaafcc0..b5c95bd6 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index ec41420c..d5774696 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index 42af3704..0b69cf93 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index 8a70e967..809f43b3 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index 486ccc5d..4895644e 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index ba0610c8..05a04e70 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_email_code_result.py b/vrchatapi/models/verify2_fa_email_code_result.py index 43768dcd..5dc3d52d 100644 --- a/vrchatapi/models/verify2_fa_email_code_result.py +++ b/vrchatapi/models/verify2_fa_email_code_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index c6d3eecf..081b8c50 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index 16f9098b..855e96e3 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index 819be6f0..9181f99b 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index 4798ea31..f88542ac 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index 0047fc31..14de6505 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index 2748fc98..cbe9a101 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.5 + The version of the OpenAPI document: 1.16.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ From 6377dc7936a4376de90f0e6f87670e5e630cf34c Mon Sep 17 00:00:00 2001 From: Katistix <33645731+Katistic@users.noreply.github.com> Date: Sun, 17 Mar 2024 20:03:19 +1100 Subject: [PATCH 044/102] Add usage examples (#19) * Login example source * Use of API sections source * Use of No-Auth Requests source * Create getting-started examples readme * Update Getting-Started code Add our User-Agent * Update examples link * Remove duplicate line --- README.md | 4 +- examples/README.md | 131 ++++++++++++++++++++++++ examples/examples-source/login.py | 41 ++++++++ examples/examples-source/noauth.py | 14 +++ examples/examples-source/use_the_api.py | 37 +++++++ 5 files changed, 226 insertions(+), 1 deletion(-) create mode 100644 examples/README.md create mode 100644 examples/examples-source/login.py create mode 100644 examples/examples-source/noauth.py create mode 100644 examples/examples-source/use_the_api.py diff --git a/README.md b/README.md index a94f7c9b..53749ce6 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,8 @@ configuration = vrchatapi.Configuration( # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: + # Set our User-Agent as per VRChat Usage Policy + api_client.user_agent = "MyProject/1.0 my@email.com" # Instantiate instances of API classes auth_api = authentication_api.AuthenticationApi(api_client) @@ -67,7 +69,7 @@ with vrchatapi.ApiClient(configuration) as api_client: print("Logged in as:", current_user.display_name) ``` -See [example.py](https://github.com/vrchatapi/vrchatapi-python/blob/main/example.py) for more example usage on getting started. +See [Examples](https://github.com/vrchatapi/vrchatapi-python/blob/main/examples/README.md) for more example usage on getting started. ## Contributing diff --git a/examples/README.md b/examples/README.md new file mode 100644 index 00000000..fde31310 --- /dev/null +++ b/examples/README.md @@ -0,0 +1,131 @@ +## Getting Started Examples + +### Logging In + +```Python +# Step 1. We begin with creating a Configuration, which contains the username and password for authentication. +import vrchatapi +from vrchatapi.api import authentication_api +from vrchatapi.exceptions import UnauthorizedException +from vrchatapi.models.two_factor_auth_code import TwoFactorAuthCode +from vrchatapi.models.two_factor_email_code import TwoFactorEmailCode + +configuration = vrchatapi.Configuration( + username = 'username', + password = 'password', +) + +# Step 2. VRChat consists of several API's (WorldsApi, UsersApi, FilesApi, NotificationsApi, FriendsApi, etc...) +# Here we enter a context of the API Client and instantiate the Authentication API which is required for logging in. + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Set our User-Agent as per VRChat Usage Policy + api_client.user_agent = "MyProject/1.0 my@email.com" + + # Instantiate instances of API classes + auth_api = authentication_api.AuthenticationApi(api_client) + + try: + # Step 3. Calling getCurrentUser on Authentication API logs you in if the user isn't already logged in. + current_user = auth_api.get_current_user() + except UnauthorizedException as e: + if e.status == 200: + if "Email 2 Factor Authentication" in e.reason: + # Step 3.5. Calling email verify2fa if the account has 2FA disabled + auth_api.verify2_fa_email_code(two_factor_email_code=TwoFactorEmailCode(input("Email 2FA Code: "))) + elif "2 Factor Authentication" in e.reason: + # Step 3.5. Calling verify2fa if the account has 2FA enabled + auth_api.verify2_fa(two_factor_auth_code=TwoFactorAuthCode(input("2FA Code: "))) + current_user = auth_api.get_current_user() + else: + print("Exception when calling API: %s\n", e) + except vrchatapi.ApiException as e: + print("Exception when calling API: %s\n", e) + + print("Logged in as:", current_user.display_name) +``` + +### Using The API + +Okay, cool, we can log in, but what now? + +The openapi generator splits each section of the API into it's own class. As such, we need to import each section of the API we want to use seperately. Expanding on our log-in example: + +```Python +import vrchatapi +from vrchatapi.api import authentication_api +from vrchatapi.exceptions import UnauthorizedException +from vrchatapi.models.two_factor_auth_code import TwoFactorAuthCode +from vrchatapi.models.two_factor_email_code import TwoFactorEmailCode + +# We import the class that corrisponds to the section of the API we want to use +from vrchatapi.api.worlds_api import WorldsApi + +configuration = vrchatapi.Configuration( + username = 'username', + password = 'password', +) + +with vrchatapi.ApiClient(configuration) as api_client: + api_client.user_agent = "MyProject/1.0 my@email.com" + auth_api = authentication_api.AuthenticationApi(api_client) + + try: + current_user = auth_api.get_current_user() + except UnauthorizedException as e: + if e.status == 200: + if "Email 2 Factor Authentication" in e.reason: + auth_api.verify2_fa_email_code(two_factor_email_code=TwoFactorEmailCode(input("Email 2FA Code: "))) + elif "2 Factor Authentication" in e.reason: + auth_api.verify2_fa(two_factor_auth_code=TwoFactorAuthCode(input("2FA Code: "))) + current_user = auth_api.get_current_user() + else: + print("Exception when calling API: %s\n", e) + except vrchatapi.ApiException as e: + print("Exception when calling API: %s\n", e) + + print("Logged in as:", current_user.display_name) + + # Now we are logged in, we can init and use the API class :) + worlds_api = WorldsApi(api_client) # All API section classes require an ApiClient object to be passed! + active_worlds = worlds_api.get_active_worlds() +``` + +Here is a list of [all sections of the API:](https://github.com/vrchatapi/vrchatapi-python/tree/main/vrchatapi/api) +- `authentication_api.AuthenticationApi` +- `avatars_api.AvatarsApi` +- `economy_api.EconomyApi` +- `favorites_api.FavoritesApi` +- `files_api.FilesApi` +- `friends_api.FriendsApi` +- `groups_api.GroupsApi` +- `instances_api.InstancesApi` +- `invite_api.InviteApi` +- `notifications_api.NotificationsApi` +- `permissions_api.PermissionsApi` +- `playermoderation_api.PlayermoderationApi` +- `system_api.SystemApi` +- `users_api.UsersApi` +- `worlds_api.WorldsApi` + +### No Auth Requests + +But some requests don't require Authentication, so how do we use them without logging in? + +```Python +import vrchatapi + +# We import the class that corrisponds to the section of the API we want to use +from vrchatapi.api.worlds_api import WorldsApi + +# We don't add a configuration file/set a username and password +with vrchatapi.ApiClient() as api_client: + api_client.user_agent = "MyProject/1.0 my@email.com" + + # We don't use the authentication API at all, since we don't need to + world_api = WorldsApi(api_client) + world = world_api.get_world("wrld_000000000-0000-0000-0000-000000000000") + + print(f"World `{world.name}` was made by `{world.author_name}` ({world.author_id})") +``` \ No newline at end of file diff --git a/examples/examples-source/login.py b/examples/examples-source/login.py new file mode 100644 index 00000000..535ef3db --- /dev/null +++ b/examples/examples-source/login.py @@ -0,0 +1,41 @@ +# Step 1. We begin with creating a Configuration, which contains the username and password for authentication. +import vrchatapi +from vrchatapi.api import authentication_api +from vrchatapi.exceptions import UnauthorizedException +from vrchatapi.models.two_factor_auth_code import TwoFactorAuthCode +from vrchatapi.models.two_factor_email_code import TwoFactorEmailCode + +configuration = vrchatapi.Configuration( + username = 'username', + password = 'password', +) + +# Step 2. VRChat consists of several API's (WorldsApi, UsersApi, FilesApi, NotificationsApi, FriendsApi, etc...) +# Here we enter a context of the API Client and instantiate the Authentication API which is required for logging in. + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Set our User-Agent as per VRChat Usage Policy + api_client.user_agent = "MyProject/1.0 my@email.com" + + # Instantiate instances of API classes + auth_api = authentication_api.AuthenticationApi(api_client) + + try: + # Step 3. Calling getCurrentUser on Authentication API logs you in if the user isn't already logged in. + current_user = auth_api.get_current_user() + except UnauthorizedException as e: + if e.status == 200: + if "Email 2 Factor Authentication" in e.reason: + # Step 3.5. Calling email verify2fa if the account has 2FA disabled + auth_api.verify2_fa_email_code(two_factor_email_code=TwoFactorEmailCode(input("Email 2FA Code: "))) + elif "2 Factor Authentication" in e.reason: + # Step 3.5. Calling verify2fa if the account has 2FA enabled + auth_api.verify2_fa(two_factor_auth_code=TwoFactorAuthCode(input("2FA Code: "))) + current_user = auth_api.get_current_user() + else: + print("Exception when calling API: %s\n", e) + except vrchatapi.ApiException as e: + print("Exception when calling API: %s\n", e) + + print("Logged in as:", current_user.display_name) \ No newline at end of file diff --git a/examples/examples-source/noauth.py b/examples/examples-source/noauth.py new file mode 100644 index 00000000..01abf9d6 --- /dev/null +++ b/examples/examples-source/noauth.py @@ -0,0 +1,14 @@ +import vrchatapi + +# We import the class that corrisponds to the section of the API we want to use +from vrchatapi.api.worlds_api import WorldsApi + +# We don't add a configuration file/set a username and password +with vrchatapi.ApiClient() as api_client: + api_client.user_agent = "MyProject/1.0 my@email.com" + + # We don't use the authentication API at all, since we don't need to + world_api = WorldsApi(api_client) + world = world_api.get_world("wrld_000000000-0000-0000-0000-000000000000") + + print(f"World `{world.name}` was made by `{world.author_name}` ({world.author_id})") \ No newline at end of file diff --git a/examples/examples-source/use_the_api.py b/examples/examples-source/use_the_api.py new file mode 100644 index 00000000..34410efb --- /dev/null +++ b/examples/examples-source/use_the_api.py @@ -0,0 +1,37 @@ +import vrchatapi +from vrchatapi.api import authentication_api +from vrchatapi.exceptions import UnauthorizedException +from vrchatapi.models.two_factor_auth_code import TwoFactorAuthCode +from vrchatapi.models.two_factor_email_code import TwoFactorEmailCode + +# We import the class that corrisponds to the section of the API we want to use +from vrchatapi.api.worlds_api import WorldsApi + +configuration = vrchatapi.Configuration( + username = 'username', + password = 'password', +) + +with vrchatapi.ApiClient(configuration) as api_client: + api_client.user_agent = "MyProject/1.0 my@email.com" + auth_api = authentication_api.AuthenticationApi(api_client) + + try: + current_user = auth_api.get_current_user() + except UnauthorizedException as e: + if e.status == 200: + if "Email 2 Factor Authentication" in e.reason: + auth_api.verify2_fa_email_code(two_factor_email_code=TwoFactorEmailCode(input("Email 2FA Code: "))) + elif "2 Factor Authentication" in e.reason: + auth_api.verify2_fa(two_factor_auth_code=TwoFactorAuthCode(input("2FA Code: "))) + current_user = auth_api.get_current_user() + else: + print("Exception when calling API: %s\n", e) + except vrchatapi.ApiException as e: + print("Exception when calling API: %s\n", e) + + print("Logged in as:", current_user.display_name) + + # Now we are logged in, we can init and use the API class :) + worlds_api = WorldsApi(api_client) # All API section classes require an ApiClient object to be passed! + active_worlds = worlds_api.get_active_worlds() \ No newline at end of file From 1e60e4a786a56c5cb50fd4c3281e9e963055227f Mon Sep 17 00:00:00 2001 From: VRCCat Date: Fri, 22 Mar 2024 06:32:56 +0000 Subject: [PATCH 045/102] Upgrade Python SDK to spec 1.16.7 --- docs/GroupsApi.md | 16 +++++-- package-lock.json | 14 +++--- package.json | 2 +- setup.py | 12 +++-- vrchatapi/__init__.py | 2 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/groups_api.py | 46 +++++++++++++++++-- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 +- vrchatapi/exceptions.py | 2 +- vrchatapi/models/__init__.py | 2 +- vrchatapi/models/account_deletion_log.py | 2 +- vrchatapi/models/add_favorite_request.py | 2 +- .../models/add_group_gallery_image_request.py | 2 +- vrchatapi/models/api_config.py | 2 +- vrchatapi/models/api_config_announcement.py | 2 +- .../models/api_config_download_url_list.py | 2 +- vrchatapi/models/api_config_events.py | 2 +- vrchatapi/models/api_health.py | 2 +- vrchatapi/models/avatar.py | 2 +- .../models/avatar_unity_package_url_object.py | 2 +- vrchatapi/models/ban_group_member_request.py | 2 +- vrchatapi/models/create_avatar_request.py | 2 +- vrchatapi/models/create_file_request.py | 2 +- .../models/create_file_version_request.py | 2 +- .../create_group_announcement_request.py | 2 +- .../models/create_group_gallery_request.py | 2 +- .../models/create_group_invite_request.py | 2 +- vrchatapi/models/create_group_request.py | 2 +- vrchatapi/models/create_group_role_request.py | 2 +- vrchatapi/models/create_world_request.py | 2 +- vrchatapi/models/current_user.py | 2 +- vrchatapi/models/current_user_presence.py | 2 +- vrchatapi/models/deployment_group.py | 2 +- vrchatapi/models/developer_type.py | 2 +- vrchatapi/models/dynamic_content_row.py | 2 +- vrchatapi/models/error.py | 2 +- vrchatapi/models/favorite.py | 2 +- vrchatapi/models/favorite_group.py | 2 +- vrchatapi/models/favorite_group_visibility.py | 2 +- vrchatapi/models/favorite_type.py | 2 +- vrchatapi/models/file.py | 2 +- vrchatapi/models/file_data.py | 2 +- vrchatapi/models/file_status.py | 2 +- vrchatapi/models/file_upload_url.py | 2 +- vrchatapi/models/file_version.py | 2 +- .../models/file_version_upload_status.py | 2 +- .../models/finish_file_data_upload_request.py | 2 +- vrchatapi/models/friend_status.py | 2 +- vrchatapi/models/group.py | 2 +- vrchatapi/models/group_announcement.py | 2 +- vrchatapi/models/group_audit_log_entry.py | 2 +- vrchatapi/models/group_gallery.py | 2 +- vrchatapi/models/group_gallery_image.py | 2 +- vrchatapi/models/group_join_state.py | 2 +- vrchatapi/models/group_limited_member.py | 5 +- vrchatapi/models/group_member.py | 5 +- vrchatapi/models/group_member_limited_user.py | 2 +- vrchatapi/models/group_member_status.py | 2 +- vrchatapi/models/group_my_member.py | 2 +- vrchatapi/models/group_permission.py | 2 +- vrchatapi/models/group_privacy.py | 2 +- vrchatapi/models/group_role.py | 2 +- vrchatapi/models/group_role_template.py | 2 +- vrchatapi/models/group_search_sort.py | 2 +- vrchatapi/models/group_user_visibility.py | 2 +- vrchatapi/models/info_push.py | 2 +- vrchatapi/models/info_push_data.py | 2 +- vrchatapi/models/info_push_data_article.py | 2 +- .../models/info_push_data_article_content.py | 2 +- vrchatapi/models/info_push_data_clickable.py | 2 +- vrchatapi/models/instance.py | 2 +- vrchatapi/models/instance_platforms.py | 2 +- .../models/instance_short_name_response.py | 2 +- vrchatapi/models/instance_type.py | 2 +- vrchatapi/models/invite_message.py | 2 +- vrchatapi/models/invite_message_type.py | 2 +- vrchatapi/models/invite_request.py | 2 +- vrchatapi/models/invite_response.py | 2 +- vrchatapi/models/license.py | 2 +- vrchatapi/models/license_action.py | 2 +- vrchatapi/models/license_group.py | 2 +- vrchatapi/models/license_type.py | 2 +- vrchatapi/models/limited_group.py | 2 +- vrchatapi/models/limited_unity_package.py | 2 +- vrchatapi/models/limited_user.py | 2 +- vrchatapi/models/limited_world.py | 2 +- vrchatapi/models/mime_type.py | 2 +- vrchatapi/models/moderate_user_request.py | 2 +- vrchatapi/models/notification.py | 2 +- vrchatapi/models/notification_type.py | 2 +- vrchatapi/models/order_option.py | 2 +- .../paginated_group_audit_log_entry_list.py | 2 +- vrchatapi/models/past_display_name.py | 2 +- vrchatapi/models/permission.py | 2 +- vrchatapi/models/player_moderation.py | 2 +- vrchatapi/models/player_moderation_type.py | 2 +- vrchatapi/models/region.py | 2 +- vrchatapi/models/release_status.py | 2 +- vrchatapi/models/represented_group.py | 2 +- vrchatapi/models/request_invite_request.py | 2 +- .../models/respond_group_join_request.py | 2 +- vrchatapi/models/response.py | 2 +- vrchatapi/models/sent_notification.py | 2 +- vrchatapi/models/sort_option.py | 2 +- vrchatapi/models/subscription.py | 2 +- vrchatapi/models/subscription_period.py | 2 +- vrchatapi/models/success.py | 2 +- vrchatapi/models/transaction.py | 2 +- vrchatapi/models/transaction_agreement.py | 2 +- vrchatapi/models/transaction_status.py | 2 +- vrchatapi/models/transaction_steam_info.py | 2 +- .../models/transaction_steam_wallet_info.py | 2 +- vrchatapi/models/two_factor_auth_code.py | 2 +- vrchatapi/models/two_factor_email_code.py | 2 +- vrchatapi/models/unity_package.py | 2 +- vrchatapi/models/update_avatar_request.py | 2 +- .../models/update_favorite_group_request.py | 2 +- .../models/update_group_gallery_request.py | 2 +- .../models/update_group_member_request.py | 2 +- vrchatapi/models/update_group_request.py | 2 +- vrchatapi/models/update_group_role_request.py | 2 +- .../models/update_invite_message_request.py | 2 +- vrchatapi/models/update_user_request.py | 2 +- vrchatapi/models/update_world_request.py | 2 +- vrchatapi/models/user.py | 2 +- vrchatapi/models/user_exists.py | 2 +- vrchatapi/models/user_state.py | 2 +- vrchatapi/models/user_status.py | 2 +- vrchatapi/models/user_subscription.py | 2 +- .../models/verify2_fa_email_code_result.py | 2 +- vrchatapi/models/verify2_fa_result.py | 2 +- vrchatapi/models/verify_auth_token_result.py | 2 +- vrchatapi/models/world.py | 2 +- vrchatapi/models/world_metadata.py | 2 +- vrchatapi/models/world_publish_status.py | 2 +- vrchatapi/rest.py | 2 +- 150 files changed, 219 insertions(+), 169 deletions(-) diff --git a/docs/GroupsApi.md b/docs/GroupsApi.md index bff66568..c1cc200d 100644 --- a/docs/GroupsApi.md +++ b/docs/GroupsApi.md @@ -1592,7 +1592,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_group_invites** -> list[GroupMember] get_group_invites(group_id) +> list[GroupMember] get_group_invites(group_id, n=n, offset=offset) Get Group Invites Sent @@ -1629,10 +1629,12 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +n = 60 # int | The number of objects to return. (optional) (default to 60) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) try: # Get Group Invites Sent - api_response = api_instance.get_group_invites(group_id) + api_response = api_instance.get_group_invites(group_id, n=n, offset=offset) pprint(api_response) except ApiException as e: print("Exception when calling GroupsApi->get_group_invites: %s\n" % e) @@ -1643,6 +1645,8 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **group_id** | **str**| Must be a valid group ID. | + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] ### Return type @@ -1903,7 +1907,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_group_requests** -> list[GroupMember] get_group_requests(group_id) +> list[GroupMember] get_group_requests(group_id, n=n, offset=offset) Get Group Join Requests @@ -1940,10 +1944,12 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +n = 60 # int | The number of objects to return. (optional) (default to 60) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) try: # Get Group Join Requests - api_response = api_instance.get_group_requests(group_id) + api_response = api_instance.get_group_requests(group_id, n=n, offset=offset) pprint(api_response) except ApiException as e: print("Exception when calling GroupsApi->get_group_requests: %s\n" % e) @@ -1954,6 +1960,8 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **group_id** | **str**| Must be a valid group ID. | + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] ### Return type diff --git a/package-lock.json b/package-lock.json index a312188c..aeeb9607 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.9.0" + "@openapitools/openapi-generator-cli": "^2.13.1" } }, "node_modules/@lukeed/csprng": { @@ -110,9 +110,9 @@ } }, "node_modules/@openapitools/openapi-generator-cli": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.9.0.tgz", - "integrity": "sha512-KQpftKeiMoH5aEI/amOVLFGkGeT3DyA7Atj7v7l8xT3O9xnIUpoDmMg0WBTEh+NHxEwEAITQNDzr+JLjkXVaKw==", + "version": "2.13.1", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.13.1.tgz", + "integrity": "sha512-WJB6MsFXlA69mpKCuR3hBsdFr7MptNhoIGlyvoYEorBQEg3cd6n1gACHx0fz20B3e03/imvorQlNMsrHTIeU9w==", "hasInstallScript": true, "dependencies": { "@nestjs/axios": "3.0.1", @@ -1223,9 +1223,9 @@ } }, "@openapitools/openapi-generator-cli": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.9.0.tgz", - "integrity": "sha512-KQpftKeiMoH5aEI/amOVLFGkGeT3DyA7Atj7v7l8xT3O9xnIUpoDmMg0WBTEh+NHxEwEAITQNDzr+JLjkXVaKw==", + "version": "2.13.1", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.13.1.tgz", + "integrity": "sha512-WJB6MsFXlA69mpKCuR3hBsdFr7MptNhoIGlyvoYEorBQEg3cd6n1gACHx0fz20B3e03/imvorQlNMsrHTIeU9w==", "requires": { "@nestjs/axios": "3.0.1", "@nestjs/common": "10.3.0", diff --git a/package.json b/package.json index bb1ccdb6..dfa7e8fa 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.9.0" + "@openapitools/openapi-generator-cli": "^2.13.1" } } diff --git a/setup.py b/setup.py index 229a972f..f074f291 100644 --- a/setup.py +++ b/setup.py @@ -49,6 +49,8 @@ # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: + # Set our User-Agent as per VRChat Usage Policy + api_client.user_agent = "MyProject/1.0 my@email.com" # Instantiate instances of API classes auth_api = authentication_api.AuthenticationApi(api_client) @@ -73,7 +75,7 @@ print("Logged in as:", current_user.display_name) ``` -See [example.py](https://github.com/vrchatapi/vrchatapi-python/blob/main/example.py) for more example usage on getting started. +See [Examples](https://github.com/vrchatapi/vrchatapi-python/blob/main/examples/README.md) for more example usage on getting started. ## Contributing @@ -81,7 +83,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -90,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.16.6" +VERSION = "1.16.7" # To install the library, run the following # # python setup.py install @@ -160,6 +162,8 @@ # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: + # Set our User-Agent as per VRChat Usage Policy + api_client.user_agent = "MyProject/1.0 my@email.com" # Instantiate instances of API classes auth_api = authentication_api.AuthenticationApi(api_client) @@ -184,7 +188,7 @@ print("Logged in as:", current_user.display_name) ``` -See [example.py](https://github.com/vrchatapi/vrchatapi-python/blob/main/example.py) for more example usage on getting started. +See [Examples](https://github.com/vrchatapi/vrchatapi-python/blob/main/examples/README.md) for more example usage on getting started. ## Contributing diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 53b7230f..2ee08c66 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,7 +6,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index 39f52cea..3897a665 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index b2cd6130..d2f43e67 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 33618caf..1047926c 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index 3d3641ab..fbdfa30e 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index 824920f3..aae24b9a 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index 63260bc3..3b684202 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index ea10481b..6d6c3579 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -3089,6 +3089,10 @@ def get_group_invites(self, group_id, **kwargs): # noqa: E501 :param group_id: Must be a valid group ID. (required) :type group_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -3119,6 +3123,10 @@ def get_group_invites_with_http_info(self, group_id, **kwargs): # noqa: E501 :param group_id: Must be a valid group ID. (required) :type group_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -3146,7 +3154,9 @@ def get_group_invites_with_http_info(self, group_id, **kwargs): # noqa: E501 local_var_params = locals() all_params = [ - 'group_id' + 'group_id', + 'n', + 'offset' ] all_params.extend( [ @@ -3172,6 +3182,12 @@ def get_group_invites_with_http_info(self, group_id, **kwargs): # noqa: E501 if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_invites`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_group_invites`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_group_invites`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_group_invites`, must be a value greater than or equal to `0`") # noqa: E501 collection_formats = {} path_params = {} @@ -3179,6 +3195,10 @@ def get_group_invites_with_http_info(self, group_id, **kwargs): # noqa: E501 path_params['groupId'] = local_var_params['group_id'] # noqa: E501 query_params = [] + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -3685,6 +3705,10 @@ def get_group_requests(self, group_id, **kwargs): # noqa: E501 :param group_id: Must be a valid group ID. (required) :type group_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -3715,6 +3739,10 @@ def get_group_requests_with_http_info(self, group_id, **kwargs): # noqa: E501 :param group_id: Must be a valid group ID. (required) :type group_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -3742,7 +3770,9 @@ def get_group_requests_with_http_info(self, group_id, **kwargs): # noqa: E501 local_var_params = locals() all_params = [ - 'group_id' + 'group_id', + 'n', + 'offset' ] all_params.extend( [ @@ -3768,6 +3798,12 @@ def get_group_requests_with_http_info(self, group_id, **kwargs): # noqa: E501 if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_requests`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_group_requests`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_group_requests`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_group_requests`, must be a value greater than or equal to `0`") # noqa: E501 collection_formats = {} path_params = {} @@ -3775,6 +3811,10 @@ def get_group_requests_with_http_info(self, group_id, **kwargs): # noqa: E501 path_params['groupId'] = local_var_params['group_id'] # noqa: E501 query_params = [] + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 2a145a96..c29f3491 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index 477430a5..62352fa6 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index 3e4bbe73..d5470bd9 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index 0fcff2c1..11ef71c3 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index 7b2e501b..2e04b396 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index db46667b..b2933179 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index 8a6befec..0a113c0a 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 367a4d6e..5cd6fe58 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index 02bc324e..8e9ce641 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,7 +3,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index 2688c8fa..4be840ca 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -441,7 +441,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.16.6\n"\ + "Version of the API: 1.16.7\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index b13f1702..cd1893f4 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index 7e5bb438..54c9e259 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,7 +5,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/account_deletion_log.py b/vrchatapi/models/account_deletion_log.py index cd435000..898e7691 100644 --- a/vrchatapi/models/account_deletion_log.py +++ b/vrchatapi/models/account_deletion_log.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index 7fad199a..0b0ff26c 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index 3159d6a3..c1d4ebb1 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index cb075eb8..a3b6d53a 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index cb2e21cd..a47854ee 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index 6c0ab559..09baa5c8 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index ed40c4dd..cb9bb084 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index fe8dc14c..33d3fd77 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index df6d8c3e..4c04f539 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index 7b0622fe..7d8c7673 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index a618a181..c0712a03 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index 6aef61a9..f3874ae1 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index 39b0103a..88f06e40 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index a779eb13..97d06497 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index 7177ab5a..dba1140d 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index b03d630b..8ad79d78 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index 82c9eeae..382ee785 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index d1bd2040..794f7126 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index bdaa0704..e95cf4c8 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index ab7a57aa..d934c191 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index aa243f89..a2a44d95 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user_presence.py b/vrchatapi/models/current_user_presence.py index 5c100403..1440b615 100644 --- a/vrchatapi/models/current_user_presence.py +++ b/vrchatapi/models/current_user_presence.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/deployment_group.py b/vrchatapi/models/deployment_group.py index 2ceefaaa..39e78618 100644 --- a/vrchatapi/models/deployment_group.py +++ b/vrchatapi/models/deployment_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index 8bb46855..377b061c 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index 6302e4a0..896936b9 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index b90284db..d3c7720d 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index 4f183bb7..cd38dff3 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index fe9d869d..25a285d5 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index a88aa4f9..ec4ed19d 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index 9950d3ae..58b2905d 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index 22324571..c3b7e9af 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index 0fb302f3..2496663b 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index d44b8e5e..7b0753cc 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index 7e273576..2df6c686 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index 70e97b28..df0d4fff 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index e895d263..18dab0fd 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index 916492c5..e5c6b65a 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index b175d95b..9a3180a4 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index 765cbf11..f841abb8 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index 1674292c..4c320a72 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index 053e1184..005d77c9 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index bf2c0303..82b58792 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index 92bd5daa..0f8bad93 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index 1d54c353..e7834113 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index dbae735d..2d2e7f4f 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -117,8 +117,7 @@ def __init__(self, id=None, group_id=None, user_id=None, is_representing=False, self.created_at = created_at self.banned_at = banned_at self.manager_notes = manager_notes - if last_post_read_at is not None: - self.last_post_read_at = last_post_read_at + self.last_post_read_at = last_post_read_at if has_joined_from_purchase is not None: self.has_joined_from_purchase = has_joined_from_purchase diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index f7a8c7b5..f2dd05a5 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -122,8 +122,7 @@ def __init__(self, id=None, group_id=None, user_id=None, is_representing=False, self.created_at = created_at self.banned_at = banned_at self.manager_notes = manager_notes - if last_post_read_at is not None: - self.last_post_read_at = last_post_read_at + self.last_post_read_at = last_post_read_at if has_joined_from_purchase is not None: self.has_joined_from_purchase = has_joined_from_purchase diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index 77f3a92c..179334a7 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index fec158ab..2f22b489 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index 1ca6c08f..b9ec045b 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index f14e3d1d..51a859e9 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index 06006477..3fd2acb7 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index 80bdcdce..48d2f0a0 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index 0f89c6f1..69e204c8 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_search_sort.py b/vrchatapi/models/group_search_sort.py index a1b7dc20..f20f44d9 100644 --- a/vrchatapi/models/group_search_sort.py +++ b/vrchatapi/models/group_search_sort.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index 7e115a68..7f6b36ae 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index c86f7b50..87c36b23 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index 76067adf..0732dbb0 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index aa06a10f..1f0c152f 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index fff7db23..d7aefa5d 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index 25518e57..25180d17 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index c3abc8dd..31c21905 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index 00b22224..fa34fe38 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index 05db3a23..d86d4f03 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index b10f428c..171b575e 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index a042aec1..c233208c 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index d3161c89..ca530671 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index 2a265283..a72ecc20 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index f3274ac2..bdb5c7dd 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index 9379baa1..736b88dd 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index 67f1369b..59a85904 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index dd09fe83..065699e3 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index e57864df..e6cc171f 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_group.py b/vrchatapi/models/limited_group.py index 4aa0af90..00460a87 100644 --- a/vrchatapi/models/limited_group.py +++ b/vrchatapi/models/limited_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index 31e300d5..13ffea87 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user.py b/vrchatapi/models/limited_user.py index e4bc293b..2e9df4dd 100644 --- a/vrchatapi/models/limited_user.py +++ b/vrchatapi/models/limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index a1efc83a..b7db9691 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index 2d2aff10..86b01df4 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index aa2de157..ca65a6cd 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index b9b9b657..72c82651 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index 3492414c..a0dc9ee5 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index fc54a21b..d3b6bbe1 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index 39ba21ff..af3fc4bc 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index 43d19e1a..1ed769c3 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index a104c8e3..c687ac16 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index 1054ad20..687ae64a 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index 22254806..8af067ad 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index fa99809f..4ea131f8 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index cf548463..998a9ca1 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/represented_group.py b/vrchatapi/models/represented_group.py index 5b7f8746..a3c5af19 100644 --- a/vrchatapi/models/represented_group.py +++ b/vrchatapi/models/represented_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index fd3b41a0..794a5544 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index 16392cc6..fb3c8ac0 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index c3d91254..0373693d 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index 56927f8e..215da78b 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index b4378a39..1f24eab7 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index c9bcf689..81524f8a 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index 2fa31f36..9ba6e3e1 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index 47486618..79a224d0 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index 88da7b31..1083bdb5 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index 002ff9eb..c04d46e1 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index 2bd2db0e..d57cff13 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index 65883ffe..3f6a40ea 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index 29f79056..11ef79d7 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index d1547474..486f4fb0 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_email_code.py b/vrchatapi/models/two_factor_email_code.py index e34b5d73..d1a22f85 100644 --- a/vrchatapi/models/two_factor_email_code.py +++ b/vrchatapi/models/two_factor_email_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index d35be414..99c289ef 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index e52e389a..b45296ef 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index fbc909d7..ffe34503 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index 46036c45..a2714835 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index d6049afc..80aaa7c4 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index 522f2009..1f3210d8 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index 23e25dea..ac7830eb 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index d09f739d..87f82afe 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index 76aaf91a..cd77e354 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index b5c95bd6..ebf48a23 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index d5774696..3ecaf6fd 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index 0b69cf93..525ee75a 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index 809f43b3..3481b14d 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index 4895644e..353d8735 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index 05a04e70..50428757 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_email_code_result.py b/vrchatapi/models/verify2_fa_email_code_result.py index 5dc3d52d..436ef10a 100644 --- a/vrchatapi/models/verify2_fa_email_code_result.py +++ b/vrchatapi/models/verify2_fa_email_code_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index 081b8c50..d908d15a 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index 855e96e3..b2cf8b68 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index 9181f99b..3c174b7c 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index f88542ac..f5621919 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index 14de6505..a6c876a3 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index cbe9a101..f59f54f8 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.6 + The version of the OpenAPI document: 1.16.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ From c1b4560a5823f6d8e59a40adb995cbd8a59f088e Mon Sep 17 00:00:00 2001 From: VRCCat Date: Sun, 14 Apr 2024 22:16:12 +0000 Subject: [PATCH 046/102] Upgrade Python SDK to spec 1.16.8 --- .openapi-generator/FILES | 2 + docs/AuthenticationApi.md | 24 +- docs/GroupJoinRequestAction.md | 10 + docs/GroupLimitedMember.md | 2 +- docs/GroupMember.md | 2 +- docs/GroupsApi.md | 64 ++--- docs/Instance.md | 8 + docs/InviteApi.md | 16 +- docs/PlayermoderationApi.md | 16 +- docs/RespondGroupJoinRequest.md | 2 +- docs/World.md | 2 +- setup.py | 4 +- vrchatapi/__init__.py | 3 +- vrchatapi/api/authentication_api.py | 53 ++-- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/groups_api.py | 138 ++++++----- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/invite_api.py | 36 +-- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 36 +-- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 +- vrchatapi/exceptions.py | 2 +- vrchatapi/models/__init__.py | 3 +- vrchatapi/models/account_deletion_log.py | 2 +- vrchatapi/models/add_favorite_request.py | 2 +- .../models/add_group_gallery_image_request.py | 2 +- vrchatapi/models/api_config.py | 2 +- vrchatapi/models/api_config_announcement.py | 2 +- .../models/api_config_download_url_list.py | 2 +- vrchatapi/models/api_config_events.py | 2 +- vrchatapi/models/api_health.py | 2 +- vrchatapi/models/avatar.py | 2 +- .../models/avatar_unity_package_url_object.py | 2 +- vrchatapi/models/ban_group_member_request.py | 2 +- vrchatapi/models/create_avatar_request.py | 2 +- vrchatapi/models/create_file_request.py | 2 +- .../models/create_file_version_request.py | 2 +- .../create_group_announcement_request.py | 2 +- .../models/create_group_gallery_request.py | 2 +- .../models/create_group_invite_request.py | 2 +- vrchatapi/models/create_group_request.py | 2 +- vrchatapi/models/create_group_role_request.py | 2 +- vrchatapi/models/create_world_request.py | 2 +- vrchatapi/models/current_user.py | 2 +- vrchatapi/models/current_user_presence.py | 2 +- vrchatapi/models/deployment_group.py | 2 +- vrchatapi/models/developer_type.py | 2 +- vrchatapi/models/dynamic_content_row.py | 2 +- vrchatapi/models/error.py | 2 +- vrchatapi/models/favorite.py | 2 +- vrchatapi/models/favorite_group.py | 2 +- vrchatapi/models/favorite_group_visibility.py | 2 +- vrchatapi/models/favorite_type.py | 2 +- vrchatapi/models/file.py | 2 +- vrchatapi/models/file_data.py | 2 +- vrchatapi/models/file_status.py | 2 +- vrchatapi/models/file_upload_url.py | 2 +- vrchatapi/models/file_version.py | 2 +- .../models/file_version_upload_status.py | 2 +- .../models/finish_file_data_upload_request.py | 2 +- vrchatapi/models/friend_status.py | 2 +- vrchatapi/models/group.py | 2 +- vrchatapi/models/group_announcement.py | 2 +- vrchatapi/models/group_audit_log_entry.py | 2 +- vrchatapi/models/group_gallery.py | 2 +- vrchatapi/models/group_gallery_image.py | 2 +- vrchatapi/models/group_join_request_action.py | 111 +++++++++ vrchatapi/models/group_join_state.py | 2 +- vrchatapi/models/group_limited_member.py | 8 +- vrchatapi/models/group_member.py | 11 +- vrchatapi/models/group_member_limited_user.py | 5 +- vrchatapi/models/group_member_status.py | 5 +- vrchatapi/models/group_my_member.py | 2 +- vrchatapi/models/group_permission.py | 2 +- vrchatapi/models/group_privacy.py | 2 +- vrchatapi/models/group_role.py | 2 +- vrchatapi/models/group_role_template.py | 2 +- vrchatapi/models/group_search_sort.py | 2 +- vrchatapi/models/group_user_visibility.py | 2 +- vrchatapi/models/info_push.py | 2 +- vrchatapi/models/info_push_data.py | 2 +- vrchatapi/models/info_push_data_article.py | 2 +- .../models/info_push_data_article_content.py | 2 +- vrchatapi/models/info_push_data_clickable.py | 2 +- vrchatapi/models/instance.py | 234 +++++++++++++++++- vrchatapi/models/instance_platforms.py | 2 +- .../models/instance_short_name_response.py | 2 +- vrchatapi/models/instance_type.py | 2 +- vrchatapi/models/invite_message.py | 2 +- vrchatapi/models/invite_message_type.py | 2 +- vrchatapi/models/invite_request.py | 2 +- vrchatapi/models/invite_response.py | 2 +- vrchatapi/models/license.py | 2 +- vrchatapi/models/license_action.py | 2 +- vrchatapi/models/license_group.py | 2 +- vrchatapi/models/license_type.py | 2 +- vrchatapi/models/limited_group.py | 2 +- vrchatapi/models/limited_unity_package.py | 2 +- vrchatapi/models/limited_user.py | 2 +- vrchatapi/models/limited_world.py | 2 +- vrchatapi/models/mime_type.py | 2 +- vrchatapi/models/moderate_user_request.py | 2 +- vrchatapi/models/notification.py | 2 +- vrchatapi/models/notification_type.py | 2 +- vrchatapi/models/order_option.py | 2 +- .../paginated_group_audit_log_entry_list.py | 2 +- vrchatapi/models/past_display_name.py | 2 +- vrchatapi/models/permission.py | 2 +- vrchatapi/models/player_moderation.py | 2 +- vrchatapi/models/player_moderation_type.py | 2 +- vrchatapi/models/region.py | 2 +- vrchatapi/models/release_status.py | 2 +- vrchatapi/models/represented_group.py | 2 +- vrchatapi/models/request_invite_request.py | 2 +- .../models/respond_group_join_request.py | 13 +- vrchatapi/models/response.py | 2 +- vrchatapi/models/sent_notification.py | 2 +- vrchatapi/models/sort_option.py | 2 +- vrchatapi/models/subscription.py | 2 +- vrchatapi/models/subscription_period.py | 2 +- vrchatapi/models/success.py | 2 +- vrchatapi/models/transaction.py | 2 +- vrchatapi/models/transaction_agreement.py | 2 +- vrchatapi/models/transaction_status.py | 2 +- vrchatapi/models/transaction_steam_info.py | 2 +- .../models/transaction_steam_wallet_info.py | 2 +- vrchatapi/models/two_factor_auth_code.py | 2 +- vrchatapi/models/two_factor_email_code.py | 2 +- vrchatapi/models/unity_package.py | 2 +- vrchatapi/models/update_avatar_request.py | 2 +- .../models/update_favorite_group_request.py | 2 +- .../models/update_group_gallery_request.py | 2 +- .../models/update_group_member_request.py | 2 +- vrchatapi/models/update_group_request.py | 2 +- vrchatapi/models/update_group_role_request.py | 2 +- .../models/update_invite_message_request.py | 2 +- vrchatapi/models/update_user_request.py | 2 +- vrchatapi/models/update_world_request.py | 2 +- vrchatapi/models/user.py | 2 +- vrchatapi/models/user_exists.py | 2 +- vrchatapi/models/user_state.py | 2 +- vrchatapi/models/user_status.py | 2 +- vrchatapi/models/user_subscription.py | 2 +- .../models/verify2_fa_email_code_result.py | 2 +- vrchatapi/models/verify2_fa_result.py | 2 +- vrchatapi/models/verify_auth_token_result.py | 2 +- vrchatapi/models/world.py | 7 +- vrchatapi/models/world_metadata.py | 2 +- vrchatapi/models/world_publish_status.py | 2 +- vrchatapi/rest.py | 2 +- 159 files changed, 743 insertions(+), 340 deletions(-) create mode 100644 docs/GroupJoinRequestAction.md create mode 100644 vrchatapi/models/group_join_request_action.py diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index ac81255a..9a827f94 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -48,6 +48,7 @@ docs/GroupAnnouncement.md docs/GroupAuditLogEntry.md docs/GroupGallery.md docs/GroupGalleryImage.md +docs/GroupJoinRequestAction.md docs/GroupJoinState.md docs/GroupLimitedMember.md docs/GroupMember.md @@ -209,6 +210,7 @@ vrchatapi/models/group_announcement.py vrchatapi/models/group_audit_log_entry.py vrchatapi/models/group_gallery.py vrchatapi/models/group_gallery_image.py +vrchatapi/models/group_join_request_action.py vrchatapi/models/group_join_state.py vrchatapi/models/group_limited_member.py vrchatapi/models/group_member.py diff --git a/docs/AuthenticationApi.md b/docs/AuthenticationApi.md index f867d7a6..0ea6ebec 100644 --- a/docs/AuthenticationApi.md +++ b/docs/AuthenticationApi.md @@ -408,7 +408,7 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **verify2_fa** -> Verify2FAResult verify2_fa(two_factor_auth_code=two_factor_auth_code) +> Verify2FAResult verify2_fa(two_factor_auth_code) Verify 2FA code @@ -444,11 +444,11 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.AuthenticationApi(api_client) - two_factor_auth_code = vrchatapi.TwoFactorAuthCode() # TwoFactorAuthCode | (optional) + two_factor_auth_code = vrchatapi.TwoFactorAuthCode() # TwoFactorAuthCode | try: # Verify 2FA code - api_response = api_instance.verify2_fa(two_factor_auth_code=two_factor_auth_code) + api_response = api_instance.verify2_fa(two_factor_auth_code) pprint(api_response) except ApiException as e: print("Exception when calling AuthenticationApi->verify2_fa: %s\n" % e) @@ -458,7 +458,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **two_factor_auth_code** | [**TwoFactorAuthCode**](TwoFactorAuthCode.md)| | [optional] + **two_factor_auth_code** | [**TwoFactorAuthCode**](TwoFactorAuthCode.md)| | ### Return type @@ -482,7 +482,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **verify2_fa_email_code** -> Verify2FAEmailCodeResult verify2_fa_email_code(two_factor_email_code=two_factor_email_code) +> Verify2FAEmailCodeResult verify2_fa_email_code(two_factor_email_code) Verify 2FA email code @@ -518,11 +518,11 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.AuthenticationApi(api_client) - two_factor_email_code = vrchatapi.TwoFactorEmailCode() # TwoFactorEmailCode | (optional) + two_factor_email_code = vrchatapi.TwoFactorEmailCode() # TwoFactorEmailCode | try: # Verify 2FA email code - api_response = api_instance.verify2_fa_email_code(two_factor_email_code=two_factor_email_code) + api_response = api_instance.verify2_fa_email_code(two_factor_email_code) pprint(api_response) except ApiException as e: print("Exception when calling AuthenticationApi->verify2_fa_email_code: %s\n" % e) @@ -532,7 +532,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **two_factor_email_code** | [**TwoFactorEmailCode**](TwoFactorEmailCode.md)| | [optional] + **two_factor_email_code** | [**TwoFactorEmailCode**](TwoFactorEmailCode.md)| | ### Return type @@ -626,7 +626,7 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **verify_recovery_code** -> Verify2FAResult verify_recovery_code(two_factor_auth_code=two_factor_auth_code) +> Verify2FAResult verify_recovery_code(two_factor_auth_code) Verify 2FA code with Recovery code @@ -662,11 +662,11 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.AuthenticationApi(api_client) - two_factor_auth_code = vrchatapi.TwoFactorAuthCode() # TwoFactorAuthCode | (optional) + two_factor_auth_code = vrchatapi.TwoFactorAuthCode() # TwoFactorAuthCode | try: # Verify 2FA code with Recovery code - api_response = api_instance.verify_recovery_code(two_factor_auth_code=two_factor_auth_code) + api_response = api_instance.verify_recovery_code(two_factor_auth_code) pprint(api_response) except ApiException as e: print("Exception when calling AuthenticationApi->verify_recovery_code: %s\n" % e) @@ -676,7 +676,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **two_factor_auth_code** | [**TwoFactorAuthCode**](TwoFactorAuthCode.md)| | [optional] + **two_factor_auth_code** | [**TwoFactorAuthCode**](TwoFactorAuthCode.md)| | ### Return type diff --git a/docs/GroupJoinRequestAction.md b/docs/GroupJoinRequestAction.md new file mode 100644 index 00000000..5efb1c71 --- /dev/null +++ b/docs/GroupJoinRequestAction.md @@ -0,0 +1,10 @@ +# GroupJoinRequestAction + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GroupLimitedMember.md b/docs/GroupLimitedMember.md index 5848903b..63105916 100644 --- a/docs/GroupLimitedMember.md +++ b/docs/GroupLimitedMember.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes **role_ids** | **list[str]** | | [optional] **m_role_ids** | **list[str]** | | [optional] **joined_at** | **datetime** | | [optional] -**membership_status** | **str** | | [optional] +**membership_status** | [**GroupMemberStatus**](GroupMemberStatus.md) | | [optional] **visibility** | **str** | | [optional] **is_subscribed_to_announcements** | **bool** | | [optional] [default to False] **created_at** | **datetime** | Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. | [optional] diff --git a/docs/GroupMember.md b/docs/GroupMember.md index e6ca5744..4c8e68ff 100644 --- a/docs/GroupMember.md +++ b/docs/GroupMember.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes **role_ids** | **list[str]** | | [optional] **m_role_ids** | **list[str]** | | [optional] **joined_at** | **datetime** | | [optional] -**membership_status** | **str** | | [optional] +**membership_status** | [**GroupMemberStatus**](GroupMemberStatus.md) | | [optional] **visibility** | **str** | | [optional] **is_subscribed_to_announcements** | **bool** | | [optional] [default to False] **created_at** | **datetime** | Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. | [optional] diff --git a/docs/GroupsApi.md b/docs/GroupsApi.md index c1cc200d..75d3ea51 100644 --- a/docs/GroupsApi.md +++ b/docs/GroupsApi.md @@ -44,7 +44,7 @@ Method | HTTP request | Description # **add_group_gallery_image** -> GroupGalleryImage add_group_gallery_image(group_id, group_gallery_id, add_group_gallery_image_request=add_group_gallery_image_request) +> GroupGalleryImage add_group_gallery_image(group_id, group_gallery_id, add_group_gallery_image_request) Add Group Gallery Image @@ -82,11 +82,11 @@ with vrchatapi.ApiClient(configuration) as api_client: api_instance = vrchatapi.GroupsApi(api_client) group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. group_gallery_id = 'ggal_00000000-0000-0000-0000-000000000000' # str | Must be a valid group gallery ID. -add_group_gallery_image_request = vrchatapi.AddGroupGalleryImageRequest() # AddGroupGalleryImageRequest | (optional) +add_group_gallery_image_request = vrchatapi.AddGroupGalleryImageRequest() # AddGroupGalleryImageRequest | try: # Add Group Gallery Image - api_response = api_instance.add_group_gallery_image(group_id, group_gallery_id, add_group_gallery_image_request=add_group_gallery_image_request) + api_response = api_instance.add_group_gallery_image(group_id, group_gallery_id, add_group_gallery_image_request) pprint(api_response) except ApiException as e: print("Exception when calling GroupsApi->add_group_gallery_image: %s\n" % e) @@ -98,7 +98,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **group_id** | **str**| Must be a valid group ID. | **group_gallery_id** | **str**| Must be a valid group gallery ID. | - **add_group_gallery_image_request** | [**AddGroupGalleryImageRequest**](AddGroupGalleryImageRequest.md)| | [optional] + **add_group_gallery_image_request** | [**AddGroupGalleryImageRequest**](AddGroupGalleryImageRequest.md)| | ### Return type @@ -202,7 +202,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ban_group_member** -> GroupMember ban_group_member(group_id, ban_group_member_request=ban_group_member_request) +> GroupMember ban_group_member(group_id, ban_group_member_request) Ban Group Member @@ -239,11 +239,11 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -ban_group_member_request = vrchatapi.BanGroupMemberRequest() # BanGroupMemberRequest | (optional) +ban_group_member_request = vrchatapi.BanGroupMemberRequest() # BanGroupMemberRequest | try: # Ban Group Member - api_response = api_instance.ban_group_member(group_id, ban_group_member_request=ban_group_member_request) + api_response = api_instance.ban_group_member(group_id, ban_group_member_request) pprint(api_response) except ApiException as e: print("Exception when calling GroupsApi->ban_group_member: %s\n" % e) @@ -254,7 +254,7 @@ ban_group_member_request = vrchatapi.BanGroupMemberRequest() # BanGroupMemberReq Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **group_id** | **str**| Must be a valid group ID. | - **ban_group_member_request** | [**BanGroupMemberRequest**](BanGroupMemberRequest.md)| | [optional] + **ban_group_member_request** | [**BanGroupMemberRequest**](BanGroupMemberRequest.md)| | ### Return type @@ -354,7 +354,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **create_group** -> Group create_group(create_group_request=create_group_request) +> Group create_group(create_group_request) Create Group @@ -390,11 +390,11 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - create_group_request = vrchatapi.CreateGroupRequest() # CreateGroupRequest | (optional) + create_group_request = vrchatapi.CreateGroupRequest() # CreateGroupRequest | try: # Create Group - api_response = api_instance.create_group(create_group_request=create_group_request) + api_response = api_instance.create_group(create_group_request) pprint(api_response) except ApiException as e: print("Exception when calling GroupsApi->create_group: %s\n" % e) @@ -404,7 +404,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **create_group_request** | [**CreateGroupRequest**](CreateGroupRequest.md)| | [optional] + **create_group_request** | [**CreateGroupRequest**](CreateGroupRequest.md)| | ### Return type @@ -428,7 +428,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **create_group_announcement** -> GroupAnnouncement create_group_announcement(group_id, create_group_announcement_request=create_group_announcement_request) +> GroupAnnouncement create_group_announcement(group_id, create_group_announcement_request) Create Group Announcement @@ -465,11 +465,11 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -create_group_announcement_request = vrchatapi.CreateGroupAnnouncementRequest() # CreateGroupAnnouncementRequest | (optional) +create_group_announcement_request = vrchatapi.CreateGroupAnnouncementRequest() # CreateGroupAnnouncementRequest | try: # Create Group Announcement - api_response = api_instance.create_group_announcement(group_id, create_group_announcement_request=create_group_announcement_request) + api_response = api_instance.create_group_announcement(group_id, create_group_announcement_request) pprint(api_response) except ApiException as e: print("Exception when calling GroupsApi->create_group_announcement: %s\n" % e) @@ -480,7 +480,7 @@ create_group_announcement_request = vrchatapi.CreateGroupAnnouncementRequest() # Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **group_id** | **str**| Must be a valid group ID. | - **create_group_announcement_request** | [**CreateGroupAnnouncementRequest**](CreateGroupAnnouncementRequest.md)| | [optional] + **create_group_announcement_request** | [**CreateGroupAnnouncementRequest**](CreateGroupAnnouncementRequest.md)| | ### Return type @@ -505,7 +505,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **create_group_gallery** -> GroupGallery create_group_gallery(group_id, create_group_gallery_request=create_group_gallery_request) +> GroupGallery create_group_gallery(group_id, create_group_gallery_request) Create Group Gallery @@ -542,11 +542,11 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -create_group_gallery_request = vrchatapi.CreateGroupGalleryRequest() # CreateGroupGalleryRequest | (optional) +create_group_gallery_request = vrchatapi.CreateGroupGalleryRequest() # CreateGroupGalleryRequest | try: # Create Group Gallery - api_response = api_instance.create_group_gallery(group_id, create_group_gallery_request=create_group_gallery_request) + api_response = api_instance.create_group_gallery(group_id, create_group_gallery_request) pprint(api_response) except ApiException as e: print("Exception when calling GroupsApi->create_group_gallery: %s\n" % e) @@ -557,7 +557,7 @@ create_group_gallery_request = vrchatapi.CreateGroupGalleryRequest() # CreateGro Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **group_id** | **str**| Must be a valid group ID. | - **create_group_gallery_request** | [**CreateGroupGalleryRequest**](CreateGroupGalleryRequest.md)| | [optional] + **create_group_gallery_request** | [**CreateGroupGalleryRequest**](CreateGroupGalleryRequest.md)| | ### Return type @@ -582,7 +582,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **create_group_invite** -> create_group_invite(group_id, create_group_invite_request=create_group_invite_request) +> create_group_invite(group_id, create_group_invite_request) Invite User to Group @@ -619,11 +619,11 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -create_group_invite_request = vrchatapi.CreateGroupInviteRequest() # CreateGroupInviteRequest | (optional) +create_group_invite_request = vrchatapi.CreateGroupInviteRequest() # CreateGroupInviteRequest | try: # Invite User to Group - api_instance.create_group_invite(group_id, create_group_invite_request=create_group_invite_request) + api_instance.create_group_invite(group_id, create_group_invite_request) except ApiException as e: print("Exception when calling GroupsApi->create_group_invite: %s\n" % e) ``` @@ -633,7 +633,7 @@ create_group_invite_request = vrchatapi.CreateGroupInviteRequest() # CreateGroup Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **group_id** | **str**| Must be a valid group ID. | - **create_group_invite_request** | [**CreateGroupInviteRequest**](CreateGroupInviteRequest.md)| | [optional] + **create_group_invite_request** | [**CreateGroupInviteRequest**](CreateGroupInviteRequest.md)| | ### Return type @@ -659,7 +659,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **create_group_role** -> GroupRole create_group_role(group_id, create_group_role_request=create_group_role_request) +> GroupRole create_group_role(group_id, create_group_role_request) Create GroupRole @@ -696,11 +696,11 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -create_group_role_request = vrchatapi.CreateGroupRoleRequest() # CreateGroupRoleRequest | (optional) +create_group_role_request = vrchatapi.CreateGroupRoleRequest() # CreateGroupRoleRequest | try: # Create GroupRole - api_response = api_instance.create_group_role(group_id, create_group_role_request=create_group_role_request) + api_response = api_instance.create_group_role(group_id, create_group_role_request) pprint(api_response) except ApiException as e: print("Exception when calling GroupsApi->create_group_role: %s\n" % e) @@ -711,7 +711,7 @@ create_group_role_request = vrchatapi.CreateGroupRoleRequest() # CreateGroupRole Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **group_id** | **str**| Must be a valid group ID. | - **create_group_role_request** | [**CreateGroupRoleRequest**](CreateGroupRoleRequest.md)| | [optional] + **create_group_role_request** | [**CreateGroupRoleRequest**](CreateGroupRoleRequest.md)| | ### Return type @@ -2367,7 +2367,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **respond_group_join_request** -> respond_group_join_request(group_id, user_id, respond_group_join_request=respond_group_join_request) +> respond_group_join_request(group_id, user_id, respond_group_join_request) Respond Group Join request @@ -2405,11 +2405,11 @@ with vrchatapi.ApiClient(configuration) as api_client: api_instance = vrchatapi.GroupsApi(api_client) group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. user_id = 'user_id_example' # str | Must be a valid user ID. -respond_group_join_request = vrchatapi.RespondGroupJoinRequest() # RespondGroupJoinRequest | (optional) +respond_group_join_request = vrchatapi.RespondGroupJoinRequest() # RespondGroupJoinRequest | try: # Respond Group Join request - api_instance.respond_group_join_request(group_id, user_id, respond_group_join_request=respond_group_join_request) + api_instance.respond_group_join_request(group_id, user_id, respond_group_join_request) except ApiException as e: print("Exception when calling GroupsApi->respond_group_join_request: %s\n" % e) ``` @@ -2420,7 +2420,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **group_id** | **str**| Must be a valid group ID. | **user_id** | **str**| Must be a valid user ID. | - **respond_group_join_request** | [**RespondGroupJoinRequest**](RespondGroupJoinRequest.md)| | [optional] + **respond_group_join_request** | [**RespondGroupJoinRequest**](RespondGroupJoinRequest.md)| | ### Return type diff --git a/docs/Instance.md b/docs/Instance.md index 979fd136..fe53e56b 100644 --- a/docs/Instance.md +++ b/docs/Instance.md @@ -28,6 +28,14 @@ Name | Type | Description | Notes **hidden** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] **friends** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] **private** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] +**queue_enabled** | **bool** | | +**queue_size** | **int** | | +**recommended_capacity** | **int** | | +**role_restricted** | **bool** | | +**strict** | **bool** | | +**user_count** | **int** | | +**world** | [**World**](World.md) | | +**users** | [**list[LimitedUser]**](LimitedUser.md) | The users field is present on instances created by the requesting user. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InviteApi.md b/docs/InviteApi.md index 58a10ecf..81088120 100644 --- a/docs/InviteApi.md +++ b/docs/InviteApi.md @@ -249,7 +249,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **invite_user** -> SentNotification invite_user(user_id, invite_request=invite_request) +> SentNotification invite_user(user_id, invite_request) Invite User @@ -286,11 +286,11 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.InviteApi(api_client) user_id = 'user_id_example' # str | Must be a valid user ID. -invite_request = vrchatapi.InviteRequest() # InviteRequest | Slot number of the Invite Message to use when inviting a user. (optional) +invite_request = vrchatapi.InviteRequest() # InviteRequest | Slot number of the Invite Message to use when inviting a user. try: # Invite User - api_response = api_instance.invite_user(user_id, invite_request=invite_request) + api_response = api_instance.invite_user(user_id, invite_request) pprint(api_response) except ApiException as e: print("Exception when calling InviteApi->invite_user: %s\n" % e) @@ -301,7 +301,7 @@ invite_request = vrchatapi.InviteRequest() # InviteRequest | Slot number of the Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **user_id** | **str**| Must be a valid user ID. | - **invite_request** | [**InviteRequest**](InviteRequest.md)| Slot number of the Invite Message to use when inviting a user. | [optional] + **invite_request** | [**InviteRequest**](InviteRequest.md)| Slot number of the Invite Message to use when inviting a user. | ### Return type @@ -482,7 +482,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **respond_invite** -> Notification respond_invite(notification_id, invite_response=invite_response) +> Notification respond_invite(notification_id, invite_response) Respond Invite @@ -519,11 +519,11 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.InviteApi(api_client) notification_id = 'notification_id_example' # str | Must be a valid notification ID. -invite_response = vrchatapi.InviteResponse() # InviteResponse | Slot number of the Response Message to use when responding to a user. (optional) +invite_response = vrchatapi.InviteResponse() # InviteResponse | Slot number of the Response Message to use when responding to a user. try: # Respond Invite - api_response = api_instance.respond_invite(notification_id, invite_response=invite_response) + api_response = api_instance.respond_invite(notification_id, invite_response) pprint(api_response) except ApiException as e: print("Exception when calling InviteApi->respond_invite: %s\n" % e) @@ -534,7 +534,7 @@ invite_response = vrchatapi.InviteResponse() # InviteResponse | Slot number of t Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **notification_id** | **str**| Must be a valid notification ID. | - **invite_response** | [**InviteResponse**](InviteResponse.md)| Slot number of the Response Message to use when responding to a user. | [optional] + **invite_response** | [**InviteResponse**](InviteResponse.md)| Slot number of the Response Message to use when responding to a user. | ### Return type diff --git a/docs/PlayermoderationApi.md b/docs/PlayermoderationApi.md index 90c26bf2..127a618b 100644 --- a/docs/PlayermoderationApi.md +++ b/docs/PlayermoderationApi.md @@ -309,7 +309,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **moderate_user** -> PlayerModeration moderate_user(moderate_user_request=moderate_user_request) +> PlayerModeration moderate_user(moderate_user_request) Moderate User @@ -345,11 +345,11 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.PlayermoderationApi(api_client) - moderate_user_request = vrchatapi.ModerateUserRequest() # ModerateUserRequest | (optional) + moderate_user_request = vrchatapi.ModerateUserRequest() # ModerateUserRequest | try: # Moderate User - api_response = api_instance.moderate_user(moderate_user_request=moderate_user_request) + api_response = api_instance.moderate_user(moderate_user_request) pprint(api_response) except ApiException as e: print("Exception when calling PlayermoderationApi->moderate_user: %s\n" % e) @@ -359,7 +359,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **moderate_user_request** | [**ModerateUserRequest**](ModerateUserRequest.md)| | [optional] + **moderate_user_request** | [**ModerateUserRequest**](ModerateUserRequest.md)| | ### Return type @@ -383,7 +383,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **unmoderate_user** -> Success unmoderate_user(moderate_user_request=moderate_user_request) +> Success unmoderate_user(moderate_user_request) Unmoderate User @@ -419,11 +419,11 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.PlayermoderationApi(api_client) - moderate_user_request = vrchatapi.ModerateUserRequest() # ModerateUserRequest | (optional) + moderate_user_request = vrchatapi.ModerateUserRequest() # ModerateUserRequest | try: # Unmoderate User - api_response = api_instance.unmoderate_user(moderate_user_request=moderate_user_request) + api_response = api_instance.unmoderate_user(moderate_user_request) pprint(api_response) except ApiException as e: print("Exception when calling PlayermoderationApi->unmoderate_user: %s\n" % e) @@ -433,7 +433,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **moderate_user_request** | [**ModerateUserRequest**](ModerateUserRequest.md)| | [optional] + **moderate_user_request** | [**ModerateUserRequest**](ModerateUserRequest.md)| | ### Return type diff --git a/docs/RespondGroupJoinRequest.md b/docs/RespondGroupJoinRequest.md index 530aee2a..518d74fe 100644 --- a/docs/RespondGroupJoinRequest.md +++ b/docs/RespondGroupJoinRequest.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**action** | **str** | | [optional] +**action** | [**GroupJoinRequestAction**](GroupJoinRequestAction.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/World.md b/docs/World.md index 749a74ca..2667c7d6 100644 --- a/docs/World.md +++ b/docs/World.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes **instances** | **list[list[object]]** | Will always be an empty list when unauthenticated. | [optional] **labs_publication_date** | **str** | | **name** | **str** | | -**namespace** | **str** | | +**namespace** | **str** | | [optional] **occupants** | **int** | Will always be `0` when unauthenticated. | [optional] [default to 0] **organization** | **str** | | [default to 'vrchat'] **popularity** | **int** | | [default to 0] diff --git a/setup.py b/setup.py index f074f291..026e3f75 100644 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.16.7" +VERSION = "1.16.8" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 2ee08c66..9bb2cd3d 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,7 +6,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -86,6 +86,7 @@ from vrchatapi.models.group_audit_log_entry import GroupAuditLogEntry from vrchatapi.models.group_gallery import GroupGallery from vrchatapi.models.group_gallery_image import GroupGalleryImage +from vrchatapi.models.group_join_request_action import GroupJoinRequestAction from vrchatapi.models.group_join_state import GroupJoinState from vrchatapi.models.group_limited_member import GroupLimitedMember from vrchatapi.models.group_member import GroupMember diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index 3897a665..447b1505 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -586,17 +586,17 @@ def logout_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def verify2_fa(self, **kwargs): # noqa: E501 + def verify2_fa(self, two_factor_auth_code, **kwargs): # noqa: E501 """Verify 2FA code # noqa: E501 Finishes the login sequence with a normal 2FA-generated code for accounts with 2FA-protection enabled. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.verify2_fa(async_req=True) + >>> thread = api.verify2_fa(two_factor_auth_code, async_req=True) >>> result = thread.get() - :param two_factor_auth_code: + :param two_factor_auth_code: (required) :type two_factor_auth_code: TwoFactorAuthCode :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -614,19 +614,19 @@ def verify2_fa(self, **kwargs): # noqa: E501 :rtype: Verify2FAResult """ kwargs['_return_http_data_only'] = True - return self.verify2_fa_with_http_info(**kwargs) # noqa: E501 + return self.verify2_fa_with_http_info(two_factor_auth_code, **kwargs) # noqa: E501 - def verify2_fa_with_http_info(self, **kwargs): # noqa: E501 + def verify2_fa_with_http_info(self, two_factor_auth_code, **kwargs): # noqa: E501 """Verify 2FA code # noqa: E501 Finishes the login sequence with a normal 2FA-generated code for accounts with 2FA-protection enabled. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.verify2_fa_with_http_info(async_req=True) + >>> thread = api.verify2_fa_with_http_info(two_factor_auth_code, async_req=True) >>> result = thread.get() - :param two_factor_auth_code: + :param two_factor_auth_code: (required) :type two_factor_auth_code: TwoFactorAuthCode :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -677,6 +677,9 @@ def verify2_fa_with_http_info(self, **kwargs): # noqa: E501 ) local_var_params[key] = val del local_var_params['kwargs'] + # verify the required parameter 'two_factor_auth_code' is set + if self.api_client.client_side_validation and local_var_params.get('two_factor_auth_code') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `two_factor_auth_code` when calling `verify2_fa`") # noqa: E501 collection_formats = {} @@ -729,17 +732,17 @@ def verify2_fa_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def verify2_fa_email_code(self, **kwargs): # noqa: E501 + def verify2_fa_email_code(self, two_factor_email_code, **kwargs): # noqa: E501 """Verify 2FA email code # noqa: E501 Finishes the login sequence with an 2FA email code. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.verify2_fa_email_code(async_req=True) + >>> thread = api.verify2_fa_email_code(two_factor_email_code, async_req=True) >>> result = thread.get() - :param two_factor_email_code: + :param two_factor_email_code: (required) :type two_factor_email_code: TwoFactorEmailCode :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -757,19 +760,19 @@ def verify2_fa_email_code(self, **kwargs): # noqa: E501 :rtype: Verify2FAEmailCodeResult """ kwargs['_return_http_data_only'] = True - return self.verify2_fa_email_code_with_http_info(**kwargs) # noqa: E501 + return self.verify2_fa_email_code_with_http_info(two_factor_email_code, **kwargs) # noqa: E501 - def verify2_fa_email_code_with_http_info(self, **kwargs): # noqa: E501 + def verify2_fa_email_code_with_http_info(self, two_factor_email_code, **kwargs): # noqa: E501 """Verify 2FA email code # noqa: E501 Finishes the login sequence with an 2FA email code. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.verify2_fa_email_code_with_http_info(async_req=True) + >>> thread = api.verify2_fa_email_code_with_http_info(two_factor_email_code, async_req=True) >>> result = thread.get() - :param two_factor_email_code: + :param two_factor_email_code: (required) :type two_factor_email_code: TwoFactorEmailCode :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -820,6 +823,9 @@ def verify2_fa_email_code_with_http_info(self, **kwargs): # noqa: E501 ) local_var_params[key] = val del local_var_params['kwargs'] + # verify the required parameter 'two_factor_email_code' is set + if self.api_client.client_side_validation and local_var_params.get('two_factor_email_code') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `two_factor_email_code` when calling `verify2_fa_email_code`") # noqa: E501 collection_formats = {} @@ -1000,17 +1006,17 @@ def verify_auth_token_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def verify_recovery_code(self, **kwargs): # noqa: E501 + def verify_recovery_code(self, two_factor_auth_code, **kwargs): # noqa: E501 """Verify 2FA code with Recovery code # noqa: E501 Finishes the login sequence with an OTP (One Time Password) recovery code for accounts with 2FA-protection enabled. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.verify_recovery_code(async_req=True) + >>> thread = api.verify_recovery_code(two_factor_auth_code, async_req=True) >>> result = thread.get() - :param two_factor_auth_code: + :param two_factor_auth_code: (required) :type two_factor_auth_code: TwoFactorAuthCode :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -1028,19 +1034,19 @@ def verify_recovery_code(self, **kwargs): # noqa: E501 :rtype: Verify2FAResult """ kwargs['_return_http_data_only'] = True - return self.verify_recovery_code_with_http_info(**kwargs) # noqa: E501 + return self.verify_recovery_code_with_http_info(two_factor_auth_code, **kwargs) # noqa: E501 - def verify_recovery_code_with_http_info(self, **kwargs): # noqa: E501 + def verify_recovery_code_with_http_info(self, two_factor_auth_code, **kwargs): # noqa: E501 """Verify 2FA code with Recovery code # noqa: E501 Finishes the login sequence with an OTP (One Time Password) recovery code for accounts with 2FA-protection enabled. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.verify_recovery_code_with_http_info(async_req=True) + >>> thread = api.verify_recovery_code_with_http_info(two_factor_auth_code, async_req=True) >>> result = thread.get() - :param two_factor_auth_code: + :param two_factor_auth_code: (required) :type two_factor_auth_code: TwoFactorAuthCode :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -1091,6 +1097,9 @@ def verify_recovery_code_with_http_info(self, **kwargs): # noqa: E501 ) local_var_params[key] = val del local_var_params['kwargs'] + # verify the required parameter 'two_factor_auth_code' is set + if self.api_client.client_side_validation and local_var_params.get('two_factor_auth_code') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `two_factor_auth_code` when calling `verify_recovery_code`") # noqa: E501 collection_formats = {} diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index d2f43e67..5b0653de 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 1047926c..b8b50456 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index fbdfa30e..f74035b0 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index aae24b9a..fdc862ca 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index 3b684202..28a259ef 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index 6d6c3579..a492c222 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,21 +36,21 @@ def __init__(self, api_client=None): api_client = ApiClient() self.api_client = api_client - def add_group_gallery_image(self, group_id, group_gallery_id, **kwargs): # noqa: E501 + def add_group_gallery_image(self, group_id, group_gallery_id, add_group_gallery_image_request, **kwargs): # noqa: E501 """Add Group Gallery Image # noqa: E501 Adds an image to a Group gallery. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.add_group_gallery_image(group_id, group_gallery_id, async_req=True) + >>> thread = api.add_group_gallery_image(group_id, group_gallery_id, add_group_gallery_image_request, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str :param group_gallery_id: Must be a valid group gallery ID. (required) :type group_gallery_id: str - :param add_group_gallery_image_request: + :param add_group_gallery_image_request: (required) :type add_group_gallery_image_request: AddGroupGalleryImageRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -68,23 +68,23 @@ def add_group_gallery_image(self, group_id, group_gallery_id, **kwargs): # noqa :rtype: GroupGalleryImage """ kwargs['_return_http_data_only'] = True - return self.add_group_gallery_image_with_http_info(group_id, group_gallery_id, **kwargs) # noqa: E501 + return self.add_group_gallery_image_with_http_info(group_id, group_gallery_id, add_group_gallery_image_request, **kwargs) # noqa: E501 - def add_group_gallery_image_with_http_info(self, group_id, group_gallery_id, **kwargs): # noqa: E501 + def add_group_gallery_image_with_http_info(self, group_id, group_gallery_id, add_group_gallery_image_request, **kwargs): # noqa: E501 """Add Group Gallery Image # noqa: E501 Adds an image to a Group gallery. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.add_group_gallery_image_with_http_info(group_id, group_gallery_id, async_req=True) + >>> thread = api.add_group_gallery_image_with_http_info(group_id, group_gallery_id, add_group_gallery_image_request, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str :param group_gallery_id: Must be a valid group gallery ID. (required) :type group_gallery_id: str - :param add_group_gallery_image_request: + :param add_group_gallery_image_request: (required) :type add_group_gallery_image_request: AddGroupGalleryImageRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -143,6 +143,9 @@ def add_group_gallery_image_with_http_info(self, group_id, group_gallery_id, **k # verify the required parameter 'group_gallery_id' is set if self.api_client.client_side_validation and local_var_params.get('group_gallery_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_gallery_id` when calling `add_group_gallery_image`") # noqa: E501 + # verify the required parameter 'add_group_gallery_image_request' is set + if self.api_client.client_side_validation and local_var_params.get('add_group_gallery_image_request') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `add_group_gallery_image_request` when calling `add_group_gallery_image`") # noqa: E501 collection_formats = {} @@ -359,19 +362,19 @@ def add_group_member_role_with_http_info(self, group_id, user_id, group_role_id, collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def ban_group_member(self, group_id, **kwargs): # noqa: E501 + def ban_group_member(self, group_id, ban_group_member_request, **kwargs): # noqa: E501 """Ban Group Member # noqa: E501 Bans a user from a Group. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.ban_group_member(group_id, async_req=True) + >>> thread = api.ban_group_member(group_id, ban_group_member_request, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str - :param ban_group_member_request: + :param ban_group_member_request: (required) :type ban_group_member_request: BanGroupMemberRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -389,21 +392,21 @@ def ban_group_member(self, group_id, **kwargs): # noqa: E501 :rtype: GroupMember """ kwargs['_return_http_data_only'] = True - return self.ban_group_member_with_http_info(group_id, **kwargs) # noqa: E501 + return self.ban_group_member_with_http_info(group_id, ban_group_member_request, **kwargs) # noqa: E501 - def ban_group_member_with_http_info(self, group_id, **kwargs): # noqa: E501 + def ban_group_member_with_http_info(self, group_id, ban_group_member_request, **kwargs): # noqa: E501 """Ban Group Member # noqa: E501 Bans a user from a Group. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.ban_group_member_with_http_info(group_id, async_req=True) + >>> thread = api.ban_group_member_with_http_info(group_id, ban_group_member_request, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str - :param ban_group_member_request: + :param ban_group_member_request: (required) :type ban_group_member_request: BanGroupMemberRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -458,6 +461,9 @@ def ban_group_member_with_http_info(self, group_id, **kwargs): # noqa: E501 # verify the required parameter 'group_id' is set if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `ban_group_member`") # noqa: E501 + # verify the required parameter 'ban_group_member_request' is set + if self.api_client.client_side_validation and local_var_params.get('ban_group_member_request') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `ban_group_member_request` when calling `ban_group_member`") # noqa: E501 collection_formats = {} @@ -648,17 +654,17 @@ def cancel_group_request_with_http_info(self, group_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def create_group(self, **kwargs): # noqa: E501 + def create_group(self, create_group_request, **kwargs): # noqa: E501 """Create Group # noqa: E501 Creates a Group and returns a Group object. **Requires VRC+ Subscription.** # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_group(async_req=True) + >>> thread = api.create_group(create_group_request, async_req=True) >>> result = thread.get() - :param create_group_request: + :param create_group_request: (required) :type create_group_request: CreateGroupRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -676,19 +682,19 @@ def create_group(self, **kwargs): # noqa: E501 :rtype: Group """ kwargs['_return_http_data_only'] = True - return self.create_group_with_http_info(**kwargs) # noqa: E501 + return self.create_group_with_http_info(create_group_request, **kwargs) # noqa: E501 - def create_group_with_http_info(self, **kwargs): # noqa: E501 + def create_group_with_http_info(self, create_group_request, **kwargs): # noqa: E501 """Create Group # noqa: E501 Creates a Group and returns a Group object. **Requires VRC+ Subscription.** # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_group_with_http_info(async_req=True) + >>> thread = api.create_group_with_http_info(create_group_request, async_req=True) >>> result = thread.get() - :param create_group_request: + :param create_group_request: (required) :type create_group_request: CreateGroupRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -739,6 +745,9 @@ def create_group_with_http_info(self, **kwargs): # noqa: E501 ) local_var_params[key] = val del local_var_params['kwargs'] + # verify the required parameter 'create_group_request' is set + if self.api_client.client_side_validation and local_var_params.get('create_group_request') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `create_group_request` when calling `create_group`") # noqa: E501 collection_formats = {} @@ -791,19 +800,19 @@ def create_group_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def create_group_announcement(self, group_id, **kwargs): # noqa: E501 + def create_group_announcement(self, group_id, create_group_announcement_request, **kwargs): # noqa: E501 """Create Group Announcement # noqa: E501 Creates an Announcement for a Group. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_group_announcement(group_id, async_req=True) + >>> thread = api.create_group_announcement(group_id, create_group_announcement_request, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str - :param create_group_announcement_request: + :param create_group_announcement_request: (required) :type create_group_announcement_request: CreateGroupAnnouncementRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -821,21 +830,21 @@ def create_group_announcement(self, group_id, **kwargs): # noqa: E501 :rtype: GroupAnnouncement """ kwargs['_return_http_data_only'] = True - return self.create_group_announcement_with_http_info(group_id, **kwargs) # noqa: E501 + return self.create_group_announcement_with_http_info(group_id, create_group_announcement_request, **kwargs) # noqa: E501 - def create_group_announcement_with_http_info(self, group_id, **kwargs): # noqa: E501 + def create_group_announcement_with_http_info(self, group_id, create_group_announcement_request, **kwargs): # noqa: E501 """Create Group Announcement # noqa: E501 Creates an Announcement for a Group. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_group_announcement_with_http_info(group_id, async_req=True) + >>> thread = api.create_group_announcement_with_http_info(group_id, create_group_announcement_request, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str - :param create_group_announcement_request: + :param create_group_announcement_request: (required) :type create_group_announcement_request: CreateGroupAnnouncementRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -890,6 +899,9 @@ def create_group_announcement_with_http_info(self, group_id, **kwargs): # noqa: # verify the required parameter 'group_id' is set if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `create_group_announcement`") # noqa: E501 + # verify the required parameter 'create_group_announcement_request' is set + if self.api_client.client_side_validation and local_var_params.get('create_group_announcement_request') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `create_group_announcement_request` when calling `create_group_announcement`") # noqa: E501 collection_formats = {} @@ -945,19 +957,19 @@ def create_group_announcement_with_http_info(self, group_id, **kwargs): # noqa: collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def create_group_gallery(self, group_id, **kwargs): # noqa: E501 + def create_group_gallery(self, group_id, create_group_gallery_request, **kwargs): # noqa: E501 """Create Group Gallery # noqa: E501 Creates a gallery for a Group. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_group_gallery(group_id, async_req=True) + >>> thread = api.create_group_gallery(group_id, create_group_gallery_request, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str - :param create_group_gallery_request: + :param create_group_gallery_request: (required) :type create_group_gallery_request: CreateGroupGalleryRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -975,21 +987,21 @@ def create_group_gallery(self, group_id, **kwargs): # noqa: E501 :rtype: GroupGallery """ kwargs['_return_http_data_only'] = True - return self.create_group_gallery_with_http_info(group_id, **kwargs) # noqa: E501 + return self.create_group_gallery_with_http_info(group_id, create_group_gallery_request, **kwargs) # noqa: E501 - def create_group_gallery_with_http_info(self, group_id, **kwargs): # noqa: E501 + def create_group_gallery_with_http_info(self, group_id, create_group_gallery_request, **kwargs): # noqa: E501 """Create Group Gallery # noqa: E501 Creates a gallery for a Group. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_group_gallery_with_http_info(group_id, async_req=True) + >>> thread = api.create_group_gallery_with_http_info(group_id, create_group_gallery_request, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str - :param create_group_gallery_request: + :param create_group_gallery_request: (required) :type create_group_gallery_request: CreateGroupGalleryRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -1044,6 +1056,9 @@ def create_group_gallery_with_http_info(self, group_id, **kwargs): # noqa: E501 # verify the required parameter 'group_id' is set if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `create_group_gallery`") # noqa: E501 + # verify the required parameter 'create_group_gallery_request' is set + if self.api_client.client_side_validation and local_var_params.get('create_group_gallery_request') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `create_group_gallery_request` when calling `create_group_gallery`") # noqa: E501 collection_formats = {} @@ -1099,19 +1114,19 @@ def create_group_gallery_with_http_info(self, group_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def create_group_invite(self, group_id, **kwargs): # noqa: E501 + def create_group_invite(self, group_id, create_group_invite_request, **kwargs): # noqa: E501 """Invite User to Group # noqa: E501 Sends an invite to a user to join the group. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_group_invite(group_id, async_req=True) + >>> thread = api.create_group_invite(group_id, create_group_invite_request, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str - :param create_group_invite_request: + :param create_group_invite_request: (required) :type create_group_invite_request: CreateGroupInviteRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -1129,21 +1144,21 @@ def create_group_invite(self, group_id, **kwargs): # noqa: E501 :rtype: None """ kwargs['_return_http_data_only'] = True - return self.create_group_invite_with_http_info(group_id, **kwargs) # noqa: E501 + return self.create_group_invite_with_http_info(group_id, create_group_invite_request, **kwargs) # noqa: E501 - def create_group_invite_with_http_info(self, group_id, **kwargs): # noqa: E501 + def create_group_invite_with_http_info(self, group_id, create_group_invite_request, **kwargs): # noqa: E501 """Invite User to Group # noqa: E501 Sends an invite to a user to join the group. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_group_invite_with_http_info(group_id, async_req=True) + >>> thread = api.create_group_invite_with_http_info(group_id, create_group_invite_request, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str - :param create_group_invite_request: + :param create_group_invite_request: (required) :type create_group_invite_request: CreateGroupInviteRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -1198,6 +1213,9 @@ def create_group_invite_with_http_info(self, group_id, **kwargs): # noqa: E501 # verify the required parameter 'group_id' is set if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `create_group_invite`") # noqa: E501 + # verify the required parameter 'create_group_invite_request' is set + if self.api_client.client_side_validation and local_var_params.get('create_group_invite_request') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `create_group_invite_request` when calling `create_group_invite`") # noqa: E501 collection_formats = {} @@ -1249,19 +1267,19 @@ def create_group_invite_with_http_info(self, group_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def create_group_role(self, group_id, **kwargs): # noqa: E501 + def create_group_role(self, group_id, create_group_role_request, **kwargs): # noqa: E501 """Create GroupRole # noqa: E501 Create a Group role. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_group_role(group_id, async_req=True) + >>> thread = api.create_group_role(group_id, create_group_role_request, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str - :param create_group_role_request: + :param create_group_role_request: (required) :type create_group_role_request: CreateGroupRoleRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -1279,21 +1297,21 @@ def create_group_role(self, group_id, **kwargs): # noqa: E501 :rtype: GroupRole """ kwargs['_return_http_data_only'] = True - return self.create_group_role_with_http_info(group_id, **kwargs) # noqa: E501 + return self.create_group_role_with_http_info(group_id, create_group_role_request, **kwargs) # noqa: E501 - def create_group_role_with_http_info(self, group_id, **kwargs): # noqa: E501 + def create_group_role_with_http_info(self, group_id, create_group_role_request, **kwargs): # noqa: E501 """Create GroupRole # noqa: E501 Create a Group role. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_group_role_with_http_info(group_id, async_req=True) + >>> thread = api.create_group_role_with_http_info(group_id, create_group_role_request, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str - :param create_group_role_request: + :param create_group_role_request: (required) :type create_group_role_request: CreateGroupRoleRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -1348,6 +1366,9 @@ def create_group_role_with_http_info(self, group_id, **kwargs): # noqa: E501 # verify the required parameter 'group_id' is set if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `group_id` when calling `create_group_role`") # noqa: E501 + # verify the required parameter 'create_group_role_request' is set + if self.api_client.client_side_validation and local_var_params.get('create_group_role_request') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `create_group_role_request` when calling `create_group_role`") # noqa: E501 collection_formats = {} @@ -4570,21 +4591,21 @@ def remove_group_member_role_with_http_info(self, group_id, user_id, group_role_ collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def respond_group_join_request(self, group_id, user_id, **kwargs): # noqa: E501 + def respond_group_join_request(self, group_id, user_id, respond_group_join_request, **kwargs): # noqa: E501 """Respond Group Join request # noqa: E501 Responds to a Group Join Request with Accept/Deny # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.respond_group_join_request(group_id, user_id, async_req=True) + >>> thread = api.respond_group_join_request(group_id, user_id, respond_group_join_request, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str :param user_id: Must be a valid user ID. (required) :type user_id: str - :param respond_group_join_request: + :param respond_group_join_request: (required) :type respond_group_join_request: RespondGroupJoinRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -4602,23 +4623,23 @@ def respond_group_join_request(self, group_id, user_id, **kwargs): # noqa: E501 :rtype: None """ kwargs['_return_http_data_only'] = True - return self.respond_group_join_request_with_http_info(group_id, user_id, **kwargs) # noqa: E501 + return self.respond_group_join_request_with_http_info(group_id, user_id, respond_group_join_request, **kwargs) # noqa: E501 - def respond_group_join_request_with_http_info(self, group_id, user_id, **kwargs): # noqa: E501 + def respond_group_join_request_with_http_info(self, group_id, user_id, respond_group_join_request, **kwargs): # noqa: E501 """Respond Group Join request # noqa: E501 Responds to a Group Join Request with Accept/Deny # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.respond_group_join_request_with_http_info(group_id, user_id, async_req=True) + >>> thread = api.respond_group_join_request_with_http_info(group_id, user_id, respond_group_join_request, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str :param user_id: Must be a valid user ID. (required) :type user_id: str - :param respond_group_join_request: + :param respond_group_join_request: (required) :type respond_group_join_request: RespondGroupJoinRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -4677,6 +4698,9 @@ def respond_group_join_request_with_http_info(self, group_id, user_id, **kwargs) # verify the required parameter 'user_id' is set if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `respond_group_join_request`") # noqa: E501 + # verify the required parameter 'respond_group_join_request' is set + if self.api_client.client_side_validation and local_var_params.get('respond_group_join_request') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `respond_group_join_request` when calling `respond_group_join_request`") # noqa: E501 collection_formats = {} diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index c29f3491..1396ee0c 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index 62352fa6..f6bd782d 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -498,19 +498,19 @@ def invite_myself_to_with_http_info(self, world_id, instance_id, **kwargs): # n collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def invite_user(self, user_id, **kwargs): # noqa: E501 + def invite_user(self, user_id, invite_request, **kwargs): # noqa: E501 """Invite User # noqa: E501 Sends an invite to a user. Returns the Notification of type `invite` that was sent. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.invite_user(user_id, async_req=True) + >>> thread = api.invite_user(user_id, invite_request, async_req=True) >>> result = thread.get() :param user_id: Must be a valid user ID. (required) :type user_id: str - :param invite_request: Slot number of the Invite Message to use when inviting a user. + :param invite_request: Slot number of the Invite Message to use when inviting a user. (required) :type invite_request: InviteRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -528,21 +528,21 @@ def invite_user(self, user_id, **kwargs): # noqa: E501 :rtype: SentNotification """ kwargs['_return_http_data_only'] = True - return self.invite_user_with_http_info(user_id, **kwargs) # noqa: E501 + return self.invite_user_with_http_info(user_id, invite_request, **kwargs) # noqa: E501 - def invite_user_with_http_info(self, user_id, **kwargs): # noqa: E501 + def invite_user_with_http_info(self, user_id, invite_request, **kwargs): # noqa: E501 """Invite User # noqa: E501 Sends an invite to a user. Returns the Notification of type `invite` that was sent. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.invite_user_with_http_info(user_id, async_req=True) + >>> thread = api.invite_user_with_http_info(user_id, invite_request, async_req=True) >>> result = thread.get() :param user_id: Must be a valid user ID. (required) :type user_id: str - :param invite_request: Slot number of the Invite Message to use when inviting a user. + :param invite_request: Slot number of the Invite Message to use when inviting a user. (required) :type invite_request: InviteRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -597,6 +597,9 @@ def invite_user_with_http_info(self, user_id, **kwargs): # noqa: E501 # verify the required parameter 'user_id' is set if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `invite_user`") # noqa: E501 + # verify the required parameter 'invite_request' is set + if self.api_client.client_side_validation and local_var_params.get('invite_request') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `invite_request` when calling `invite_user`") # noqa: E501 collection_formats = {} @@ -969,19 +972,19 @@ def reset_invite_message_with_http_info(self, user_id, message_type, slot, **kwa collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def respond_invite(self, notification_id, **kwargs): # noqa: E501 + def respond_invite(self, notification_id, invite_response, **kwargs): # noqa: E501 """Respond Invite # noqa: E501 Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.respond_invite(notification_id, async_req=True) + >>> thread = api.respond_invite(notification_id, invite_response, async_req=True) >>> result = thread.get() :param notification_id: Must be a valid notification ID. (required) :type notification_id: str - :param invite_response: Slot number of the Response Message to use when responding to a user. + :param invite_response: Slot number of the Response Message to use when responding to a user. (required) :type invite_response: InviteResponse :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -999,21 +1002,21 @@ def respond_invite(self, notification_id, **kwargs): # noqa: E501 :rtype: Notification """ kwargs['_return_http_data_only'] = True - return self.respond_invite_with_http_info(notification_id, **kwargs) # noqa: E501 + return self.respond_invite_with_http_info(notification_id, invite_response, **kwargs) # noqa: E501 - def respond_invite_with_http_info(self, notification_id, **kwargs): # noqa: E501 + def respond_invite_with_http_info(self, notification_id, invite_response, **kwargs): # noqa: E501 """Respond Invite # noqa: E501 Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.respond_invite_with_http_info(notification_id, async_req=True) + >>> thread = api.respond_invite_with_http_info(notification_id, invite_response, async_req=True) >>> result = thread.get() :param notification_id: Must be a valid notification ID. (required) :type notification_id: str - :param invite_response: Slot number of the Response Message to use when responding to a user. + :param invite_response: Slot number of the Response Message to use when responding to a user. (required) :type invite_response: InviteResponse :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -1068,6 +1071,9 @@ def respond_invite_with_http_info(self, notification_id, **kwargs): # noqa: E50 # verify the required parameter 'notification_id' is set if self.api_client.client_side_validation and local_var_params.get('notification_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `notification_id` when calling `respond_invite`") # noqa: E501 + # verify the required parameter 'invite_response' is set + if self.api_client.client_side_validation and local_var_params.get('invite_response') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `invite_response` when calling `respond_invite`") # noqa: E501 collection_formats = {} diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index d5470bd9..602456a2 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index 11ef71c3..91cb8ed1 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index 2e04b396..da155d3f 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -584,17 +584,17 @@ def get_player_moderations_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def moderate_user(self, **kwargs): # noqa: E501 + def moderate_user(self, moderate_user_request, **kwargs): # noqa: E501 """Moderate User # noqa: E501 Moderate a user, e.g. unmute them or show their avatar. Please see the [Player Moderation docs](https://vrchatapi.github.io/docs/api/#tag--playermoderation) on what playerModerations are, and how they differ from staff moderations. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.moderate_user(async_req=True) + >>> thread = api.moderate_user(moderate_user_request, async_req=True) >>> result = thread.get() - :param moderate_user_request: + :param moderate_user_request: (required) :type moderate_user_request: ModerateUserRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -612,19 +612,19 @@ def moderate_user(self, **kwargs): # noqa: E501 :rtype: PlayerModeration """ kwargs['_return_http_data_only'] = True - return self.moderate_user_with_http_info(**kwargs) # noqa: E501 + return self.moderate_user_with_http_info(moderate_user_request, **kwargs) # noqa: E501 - def moderate_user_with_http_info(self, **kwargs): # noqa: E501 + def moderate_user_with_http_info(self, moderate_user_request, **kwargs): # noqa: E501 """Moderate User # noqa: E501 Moderate a user, e.g. unmute them or show their avatar. Please see the [Player Moderation docs](https://vrchatapi.github.io/docs/api/#tag--playermoderation) on what playerModerations are, and how they differ from staff moderations. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.moderate_user_with_http_info(async_req=True) + >>> thread = api.moderate_user_with_http_info(moderate_user_request, async_req=True) >>> result = thread.get() - :param moderate_user_request: + :param moderate_user_request: (required) :type moderate_user_request: ModerateUserRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -675,6 +675,9 @@ def moderate_user_with_http_info(self, **kwargs): # noqa: E501 ) local_var_params[key] = val del local_var_params['kwargs'] + # verify the required parameter 'moderate_user_request' is set + if self.api_client.client_side_validation and local_var_params.get('moderate_user_request') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `moderate_user_request` when calling `moderate_user`") # noqa: E501 collection_formats = {} @@ -727,17 +730,17 @@ def moderate_user_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def unmoderate_user(self, **kwargs): # noqa: E501 + def unmoderate_user(self, moderate_user_request, **kwargs): # noqa: E501 """Unmoderate User # noqa: E501 Removes a player moderation previously added through `moderateUser`. E.g if you previously have shown their avatar, but now want to reset it to default. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.unmoderate_user(async_req=True) + >>> thread = api.unmoderate_user(moderate_user_request, async_req=True) >>> result = thread.get() - :param moderate_user_request: + :param moderate_user_request: (required) :type moderate_user_request: ModerateUserRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -755,19 +758,19 @@ def unmoderate_user(self, **kwargs): # noqa: E501 :rtype: Success """ kwargs['_return_http_data_only'] = True - return self.unmoderate_user_with_http_info(**kwargs) # noqa: E501 + return self.unmoderate_user_with_http_info(moderate_user_request, **kwargs) # noqa: E501 - def unmoderate_user_with_http_info(self, **kwargs): # noqa: E501 + def unmoderate_user_with_http_info(self, moderate_user_request, **kwargs): # noqa: E501 """Unmoderate User # noqa: E501 Removes a player moderation previously added through `moderateUser`. E.g if you previously have shown their avatar, but now want to reset it to default. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.unmoderate_user_with_http_info(async_req=True) + >>> thread = api.unmoderate_user_with_http_info(moderate_user_request, async_req=True) >>> result = thread.get() - :param moderate_user_request: + :param moderate_user_request: (required) :type moderate_user_request: ModerateUserRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -818,6 +821,9 @@ def unmoderate_user_with_http_info(self, **kwargs): # noqa: E501 ) local_var_params[key] = val del local_var_params['kwargs'] + # verify the required parameter 'moderate_user_request' is set + if self.api_client.client_side_validation and local_var_params.get('moderate_user_request') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `moderate_user_request` when calling `unmoderate_user`") # noqa: E501 collection_formats = {} diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index b2933179..bf772636 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index 0a113c0a..1475a160 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 5cd6fe58..73f0a294 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index 8e9ce641..17294493 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,7 +3,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index 4be840ca..53f7e3d9 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -441,7 +441,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.16.7\n"\ + "Version of the API: 1.16.8\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index cd1893f4..fc219dbd 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index 54c9e259..d471da89 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,7 +5,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -57,6 +57,7 @@ from vrchatapi.models.group_audit_log_entry import GroupAuditLogEntry from vrchatapi.models.group_gallery import GroupGallery from vrchatapi.models.group_gallery_image import GroupGalleryImage +from vrchatapi.models.group_join_request_action import GroupJoinRequestAction from vrchatapi.models.group_join_state import GroupJoinState from vrchatapi.models.group_limited_member import GroupLimitedMember from vrchatapi.models.group_member import GroupMember diff --git a/vrchatapi/models/account_deletion_log.py b/vrchatapi/models/account_deletion_log.py index 898e7691..ee08fb19 100644 --- a/vrchatapi/models/account_deletion_log.py +++ b/vrchatapi/models/account_deletion_log.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index 0b0ff26c..8f34c0da 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index c1d4ebb1..3f3c0553 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index a3b6d53a..969d7df3 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index a47854ee..21c7da54 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index 09baa5c8..5812c9c1 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index cb9bb084..52ae4b4f 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index 33d3fd77..f794d3a3 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index 4c04f539..d7d87ed4 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index 7d8c7673..38b61580 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index c0712a03..87d424fe 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index f3874ae1..c77af358 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index 88f06e40..51c08e72 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index 97d06497..79d082c6 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index dba1140d..441eaa5b 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index 8ad79d78..65e77c05 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index 382ee785..cc8e97c3 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index 794f7126..39c827cc 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index e95cf4c8..052759a9 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index d934c191..a6a36fb1 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index a2a44d95..340d838c 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user_presence.py b/vrchatapi/models/current_user_presence.py index 1440b615..b9d140fb 100644 --- a/vrchatapi/models/current_user_presence.py +++ b/vrchatapi/models/current_user_presence.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/deployment_group.py b/vrchatapi/models/deployment_group.py index 39e78618..fef9caa1 100644 --- a/vrchatapi/models/deployment_group.py +++ b/vrchatapi/models/deployment_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index 377b061c..1f749ca8 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index 896936b9..f1b5707c 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index d3c7720d..63801842 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index cd38dff3..525bc29a 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index 25a285d5..aac8d77a 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index ec4ed19d..0cb7affd 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index 58b2905d..113cda9f 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index c3b7e9af..be00449d 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index 2496663b..e5840aff 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index 7b0753cc..cd747260 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index 2df6c686..33c09bfa 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index df0d4fff..64a35421 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index 18dab0fd..0db6e47c 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index e5c6b65a..23c2a932 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index 9a3180a4..122e8f74 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index f841abb8..50463e09 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index 4c320a72..c09f6641 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index 005d77c9..241d60a7 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index 82b58792..7f5fe94d 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index 0f8bad93..12b960a2 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_request_action.py b/vrchatapi/models/group_join_request_action.py new file mode 100644 index 00000000..c54736cc --- /dev/null +++ b/vrchatapi/models/group_join_request_action.py @@ -0,0 +1,111 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.16.8 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class GroupJoinRequestAction(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + ACCEPT = "accept" + REJECT = "reject" + + allowable_values = [ACCEPT, REJECT] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """GroupJoinRequestAction - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GroupJoinRequestAction): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GroupJoinRequestAction): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index e7834113..834075d9 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index 2d2e7f4f..0cebc8fe 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -43,7 +43,7 @@ class GroupLimitedMember(object): 'role_ids': 'list[str]', 'm_role_ids': 'list[str]', 'joined_at': 'datetime', - 'membership_status': 'str', + 'membership_status': 'GroupMemberStatus', 'visibility': 'str', 'is_subscribed_to_announcements': 'bool', 'created_at': 'datetime', @@ -278,7 +278,7 @@ def membership_status(self): :return: The membership_status of this GroupLimitedMember. # noqa: E501 - :rtype: str + :rtype: GroupMemberStatus """ return self._membership_status @@ -288,7 +288,7 @@ def membership_status(self, membership_status): :param membership_status: The membership_status of this GroupLimitedMember. # noqa: E501 - :type membership_status: str + :type membership_status: GroupMemberStatus """ self._membership_status = membership_status diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index f2dd05a5..f4b42211 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -44,7 +44,7 @@ class GroupMember(object): 'role_ids': 'list[str]', 'm_role_ids': 'list[str]', 'joined_at': 'datetime', - 'membership_status': 'str', + 'membership_status': 'GroupMemberStatus', 'visibility': 'str', 'is_subscribed_to_announcements': 'bool', 'created_at': 'datetime', @@ -111,8 +111,7 @@ def __init__(self, id=None, group_id=None, user_id=None, is_representing=False, self.role_ids = role_ids if m_role_ids is not None: self.m_role_ids = m_role_ids - if joined_at is not None: - self.joined_at = joined_at + self.joined_at = joined_at if membership_status is not None: self.membership_status = membership_status if visibility is not None: @@ -304,7 +303,7 @@ def membership_status(self): :return: The membership_status of this GroupMember. # noqa: E501 - :rtype: str + :rtype: GroupMemberStatus """ return self._membership_status @@ -314,7 +313,7 @@ def membership_status(self, membership_status): :param membership_status: The membership_status of this GroupMember. # noqa: E501 - :type membership_status: str + :type membership_status: GroupMemberStatus """ self._membership_status = membership_status diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index 179334a7..5cf0384a 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -80,8 +80,7 @@ def __init__(self, id=None, display_name=None, thumbnail_url=None, icon_url=None self.icon_url = icon_url if profile_pic_override is not None: self.profile_pic_override = profile_pic_override - if current_avatar_thumbnail_image_url is not None: - self.current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url + self.current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url if current_avatar_tags is not None: self.current_avatar_tags = current_avatar_tags diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index 2f22b489..60e34af6 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -35,8 +35,9 @@ class GroupMemberStatus(object): MEMBER = "member" REQUESTED = "requested" INVITED = "invited" + BANNED = "banned" - allowable_values = [INACTIVE, MEMBER, REQUESTED, INVITED] # noqa: E501 + allowable_values = [INACTIVE, MEMBER, REQUESTED, INVITED, BANNED] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index b9ec045b..ea8ac80b 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index 51a859e9..609dc170 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index 3fd2acb7..b6742a0f 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index 48d2f0a0..88412e4a 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index 69e204c8..96486953 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_search_sort.py b/vrchatapi/models/group_search_sort.py index f20f44d9..c55bbfb9 100644 --- a/vrchatapi/models/group_search_sort.py +++ b/vrchatapi/models/group_search_sort.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index 7f6b36ae..847e151d 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index 87c36b23..f0a8ee36 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index 0732dbb0..03dfe42a 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index 1f0c152f..6057481d 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index d7aefa5d..32a8fa60 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index 25180d17..71761d23 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index 31c21905..e1af4330 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -58,7 +58,15 @@ class Instance(object): 'world_id': 'str', 'hidden': 'str', 'friends': 'str', - 'private': 'str' + 'private': 'str', + 'queue_enabled': 'bool', + 'queue_size': 'int', + 'recommended_capacity': 'int', + 'role_restricted': 'bool', + 'strict': 'bool', + 'user_count': 'int', + 'world': 'World', + 'users': 'list[LimitedUser]' } attribute_map = { @@ -84,10 +92,18 @@ class Instance(object): 'world_id': 'worldId', 'hidden': 'hidden', 'friends': 'friends', - 'private': 'private' + 'private': 'private', + 'queue_enabled': 'queueEnabled', + 'queue_size': 'queueSize', + 'recommended_capacity': 'recommendedCapacity', + 'role_restricted': 'roleRestricted', + 'strict': 'strict', + 'user_count': 'userCount', + 'world': 'world', + 'users': 'users' } - def __init__(self, active=True, can_request_invite=True, capacity=None, client_number=None, full=False, id=None, instance_id=None, location=None, n_users=None, name=None, owner_id=None, permanent=False, photon_region=None, platforms=None, region=None, secure_name=None, short_name=None, tags=None, type=None, world_id=None, hidden=None, friends=None, private=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, active=True, can_request_invite=True, capacity=None, client_number=None, full=False, id=None, instance_id=None, location=None, n_users=None, name=None, owner_id=None, permanent=False, photon_region=None, platforms=None, region=None, secure_name=None, short_name=None, tags=None, type=None, world_id=None, hidden=None, friends=None, private=None, queue_enabled=None, queue_size=None, recommended_capacity=None, role_restricted=None, strict=None, user_count=None, world=None, users=None, local_vars_configuration=None): # noqa: E501 """Instance - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -116,6 +132,14 @@ def __init__(self, active=True, can_request_invite=True, capacity=None, client_n self._hidden = None self._friends = None self._private = None + self._queue_enabled = None + self._queue_size = None + self._recommended_capacity = None + self._role_restricted = None + self._strict = None + self._user_count = None + self._world = None + self._users = None self.discriminator = None self.active = active @@ -146,6 +170,15 @@ def __init__(self, active=True, can_request_invite=True, capacity=None, client_n self.friends = friends if private is not None: self.private = private + self.queue_enabled = queue_enabled + self.queue_size = queue_size + self.recommended_capacity = recommended_capacity + self.role_restricted = role_restricted + self.strict = strict + self.user_count = user_count + self.world = world + if users is not None: + self.users = users @property def active(self): @@ -705,6 +738,199 @@ def private(self, private): self._private = private + @property + def queue_enabled(self): + """Gets the queue_enabled of this Instance. # noqa: E501 + + + :return: The queue_enabled of this Instance. # noqa: E501 + :rtype: bool + """ + return self._queue_enabled + + @queue_enabled.setter + def queue_enabled(self, queue_enabled): + """Sets the queue_enabled of this Instance. + + + :param queue_enabled: The queue_enabled of this Instance. # noqa: E501 + :type queue_enabled: bool + """ + if self.local_vars_configuration.client_side_validation and queue_enabled is None: # noqa: E501 + raise ValueError("Invalid value for `queue_enabled`, must not be `None`") # noqa: E501 + + self._queue_enabled = queue_enabled + + @property + def queue_size(self): + """Gets the queue_size of this Instance. # noqa: E501 + + + :return: The queue_size of this Instance. # noqa: E501 + :rtype: int + """ + return self._queue_size + + @queue_size.setter + def queue_size(self, queue_size): + """Sets the queue_size of this Instance. + + + :param queue_size: The queue_size of this Instance. # noqa: E501 + :type queue_size: int + """ + if self.local_vars_configuration.client_side_validation and queue_size is None: # noqa: E501 + raise ValueError("Invalid value for `queue_size`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + queue_size is not None and queue_size < 0): # noqa: E501 + raise ValueError("Invalid value for `queue_size`, must be a value greater than or equal to `0`") # noqa: E501 + + self._queue_size = queue_size + + @property + def recommended_capacity(self): + """Gets the recommended_capacity of this Instance. # noqa: E501 + + + :return: The recommended_capacity of this Instance. # noqa: E501 + :rtype: int + """ + return self._recommended_capacity + + @recommended_capacity.setter + def recommended_capacity(self, recommended_capacity): + """Sets the recommended_capacity of this Instance. + + + :param recommended_capacity: The recommended_capacity of this Instance. # noqa: E501 + :type recommended_capacity: int + """ + if self.local_vars_configuration.client_side_validation and recommended_capacity is None: # noqa: E501 + raise ValueError("Invalid value for `recommended_capacity`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + recommended_capacity is not None and recommended_capacity < 0): # noqa: E501 + raise ValueError("Invalid value for `recommended_capacity`, must be a value greater than or equal to `0`") # noqa: E501 + + self._recommended_capacity = recommended_capacity + + @property + def role_restricted(self): + """Gets the role_restricted of this Instance. # noqa: E501 + + + :return: The role_restricted of this Instance. # noqa: E501 + :rtype: bool + """ + return self._role_restricted + + @role_restricted.setter + def role_restricted(self, role_restricted): + """Sets the role_restricted of this Instance. + + + :param role_restricted: The role_restricted of this Instance. # noqa: E501 + :type role_restricted: bool + """ + if self.local_vars_configuration.client_side_validation and role_restricted is None: # noqa: E501 + raise ValueError("Invalid value for `role_restricted`, must not be `None`") # noqa: E501 + + self._role_restricted = role_restricted + + @property + def strict(self): + """Gets the strict of this Instance. # noqa: E501 + + + :return: The strict of this Instance. # noqa: E501 + :rtype: bool + """ + return self._strict + + @strict.setter + def strict(self, strict): + """Sets the strict of this Instance. + + + :param strict: The strict of this Instance. # noqa: E501 + :type strict: bool + """ + if self.local_vars_configuration.client_side_validation and strict is None: # noqa: E501 + raise ValueError("Invalid value for `strict`, must not be `None`") # noqa: E501 + + self._strict = strict + + @property + def user_count(self): + """Gets the user_count of this Instance. # noqa: E501 + + + :return: The user_count of this Instance. # noqa: E501 + :rtype: int + """ + return self._user_count + + @user_count.setter + def user_count(self, user_count): + """Sets the user_count of this Instance. + + + :param user_count: The user_count of this Instance. # noqa: E501 + :type user_count: int + """ + if self.local_vars_configuration.client_side_validation and user_count is None: # noqa: E501 + raise ValueError("Invalid value for `user_count`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + user_count is not None and user_count < 0): # noqa: E501 + raise ValueError("Invalid value for `user_count`, must be a value greater than or equal to `0`") # noqa: E501 + + self._user_count = user_count + + @property + def world(self): + """Gets the world of this Instance. # noqa: E501 + + + :return: The world of this Instance. # noqa: E501 + :rtype: World + """ + return self._world + + @world.setter + def world(self, world): + """Sets the world of this Instance. + + + :param world: The world of this Instance. # noqa: E501 + :type world: World + """ + if self.local_vars_configuration.client_side_validation and world is None: # noqa: E501 + raise ValueError("Invalid value for `world`, must not be `None`") # noqa: E501 + + self._world = world + + @property + def users(self): + """Gets the users of this Instance. # noqa: E501 + + The users field is present on instances created by the requesting user. # noqa: E501 + + :return: The users of this Instance. # noqa: E501 + :rtype: list[LimitedUser] + """ + return self._users + + @users.setter + def users(self, users): + """Sets the users of this Instance. + + The users field is present on instances created by the requesting user. # noqa: E501 + + :param users: The users of this Instance. # noqa: E501 + :type users: list[LimitedUser] + """ + + self._users = users + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index fa34fe38..760a4fef 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index d86d4f03..05efd4f5 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index 171b575e..6146c988 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index c233208c..6a72a5fd 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index ca530671..d3e97188 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index a72ecc20..d46654a1 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index bdb5c7dd..f9c296df 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index 736b88dd..9b4ee212 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index 59a85904..60126bc2 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index 065699e3..10623f99 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index e6cc171f..b249ebad 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_group.py b/vrchatapi/models/limited_group.py index 00460a87..cc8f5e27 100644 --- a/vrchatapi/models/limited_group.py +++ b/vrchatapi/models/limited_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index 13ffea87..e8f22094 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user.py b/vrchatapi/models/limited_user.py index 2e9df4dd..92464fa1 100644 --- a/vrchatapi/models/limited_user.py +++ b/vrchatapi/models/limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index b7db9691..cb9f89db 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index 86b01df4..c006d9e1 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index ca65a6cd..63fd55f3 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index 72c82651..8b1a571f 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index a0dc9ee5..470379fb 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index d3b6bbe1..5621c69e 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index af3fc4bc..78928bb8 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index 1ed769c3..fbbe28bf 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index c687ac16..21bb1fb5 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index 687ae64a..6e36b7b0 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index 8af067ad..1f41a6a2 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index 4ea131f8..2fc93086 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index 998a9ca1..e757f943 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/represented_group.py b/vrchatapi/models/represented_group.py index a3c5af19..02f3a6c9 100644 --- a/vrchatapi/models/represented_group.py +++ b/vrchatapi/models/represented_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index 794a5544..8bdc11b3 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index fb3c8ac0..a79d020c 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,7 +36,7 @@ class RespondGroupJoinRequest(object): and the value is json key in definition. """ openapi_types = { - 'action': 'str' + 'action': 'GroupJoinRequestAction' } attribute_map = { @@ -52,8 +52,7 @@ def __init__(self, action=None, local_vars_configuration=None): # noqa: E501 self._action = None self.discriminator = None - if action is not None: - self.action = action + self.action = action @property def action(self): @@ -61,7 +60,7 @@ def action(self): :return: The action of this RespondGroupJoinRequest. # noqa: E501 - :rtype: str + :rtype: GroupJoinRequestAction """ return self._action @@ -71,8 +70,10 @@ def action(self, action): :param action: The action of this RespondGroupJoinRequest. # noqa: E501 - :type action: str + :type action: GroupJoinRequestAction """ + if self.local_vars_configuration.client_side_validation and action is None: # noqa: E501 + raise ValueError("Invalid value for `action`, must not be `None`") # noqa: E501 self._action = action diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index 0373693d..16a012f2 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index 215da78b..3916da01 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index 1f24eab7..da6b73d1 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index 81524f8a..d80ce8a7 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index 9ba6e3e1..1af20fc4 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index 79a224d0..603b0720 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index 1083bdb5..175b9dba 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index c04d46e1..9c6a588f 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index d57cff13..2447f9d6 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index 3f6a40ea..54d538d6 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index 11ef79d7..1e26182b 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index 486f4fb0..963d1855 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_email_code.py b/vrchatapi/models/two_factor_email_code.py index d1a22f85..b35f1e7c 100644 --- a/vrchatapi/models/two_factor_email_code.py +++ b/vrchatapi/models/two_factor_email_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index 99c289ef..1c6f711b 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index b45296ef..ad4d4df8 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index ffe34503..0ad8d86c 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index a2714835..b5e20839 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index 80aaa7c4..00f34698 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index 1f3210d8..483adb7d 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index ac7830eb..eae86df7 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index 87f82afe..e29772c3 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index cd77e354..bb8e3809 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index ebf48a23..f95b1ab0 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index 3ecaf6fd..fd9f7d6f 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index 525ee75a..9d7075b4 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index 3481b14d..6ccd1fe0 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index 353d8735..28e22c91 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index 50428757..c7954e8e 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_email_code_result.py b/vrchatapi/models/verify2_fa_email_code_result.py index 436ef10a..021e75fc 100644 --- a/vrchatapi/models/verify2_fa_email_code_result.py +++ b/vrchatapi/models/verify2_fa_email_code_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index d908d15a..3496e990 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index b2cf8b68..cf24de4b 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index 3c174b7c..3b7326c8 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -155,7 +155,8 @@ def __init__(self, author_id=None, author_name=None, capacity=None, recommended_ self.instances = instances self.labs_publication_date = labs_publication_date self.name = name - self.namespace = namespace + if namespace is not None: + self.namespace = namespace if occupants is not None: self.occupants = occupants self.organization = organization @@ -540,8 +541,6 @@ def namespace(self, namespace): :param namespace: The namespace of this World. # noqa: E501 :type namespace: str """ - if self.local_vars_configuration.client_side_validation and namespace is None: # noqa: E501 - raise ValueError("Invalid value for `namespace`, must not be `None`") # noqa: E501 self._namespace = namespace diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index f5621919..3711ce21 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index a6c876a3..c1db1cb1 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index f59f54f8..682ff0e7 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.7 + The version of the OpenAPI document: 1.16.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ From 06b44f5c6c54edbda6252e761298ddb847c29927 Mon Sep 17 00:00:00 2001 From: VRCCat Date: Mon, 15 Apr 2024 22:18:04 +0000 Subject: [PATCH 047/102] Upgrade Python SDK to spec 1.17.0 --- .openapi-generator/FILES | 2 + docs/FriendsApi.md | 1 + docs/GroupAccessType.md | 11 ++ docs/GroupsApi.md | 4 +- docs/Instance.md | 9 +- docs/InstancesApi.md | 81 +++++++++ setup.py | 4 +- vrchatapi/__init__.py | 3 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 3 +- vrchatapi/api/groups_api.py | 3 +- vrchatapi/api/instances_api.py | 159 +++++++++++++++++- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 +- vrchatapi/exceptions.py | 2 +- vrchatapi/models/__init__.py | 3 +- vrchatapi/models/account_deletion_log.py | 2 +- vrchatapi/models/add_favorite_request.py | 2 +- .../models/add_group_gallery_image_request.py | 2 +- vrchatapi/models/api_config.py | 2 +- vrchatapi/models/api_config_announcement.py | 2 +- .../models/api_config_download_url_list.py | 2 +- vrchatapi/models/api_config_events.py | 2 +- vrchatapi/models/api_health.py | 2 +- vrchatapi/models/avatar.py | 2 +- .../models/avatar_unity_package_url_object.py | 2 +- vrchatapi/models/ban_group_member_request.py | 2 +- vrchatapi/models/create_avatar_request.py | 2 +- vrchatapi/models/create_file_request.py | 2 +- .../models/create_file_version_request.py | 2 +- .../create_group_announcement_request.py | 2 +- .../models/create_group_gallery_request.py | 2 +- .../models/create_group_invite_request.py | 2 +- vrchatapi/models/create_group_request.py | 2 +- vrchatapi/models/create_group_role_request.py | 2 +- vrchatapi/models/create_world_request.py | 2 +- vrchatapi/models/current_user.py | 2 +- vrchatapi/models/current_user_presence.py | 2 +- vrchatapi/models/deployment_group.py | 2 +- vrchatapi/models/developer_type.py | 2 +- vrchatapi/models/dynamic_content_row.py | 2 +- vrchatapi/models/error.py | 2 +- vrchatapi/models/favorite.py | 2 +- vrchatapi/models/favorite_group.py | 2 +- vrchatapi/models/favorite_group_visibility.py | 2 +- vrchatapi/models/favorite_type.py | 2 +- vrchatapi/models/file.py | 2 +- vrchatapi/models/file_data.py | 2 +- vrchatapi/models/file_status.py | 2 +- vrchatapi/models/file_upload_url.py | 2 +- vrchatapi/models/file_version.py | 2 +- .../models/file_version_upload_status.py | 2 +- .../models/finish_file_data_upload_request.py | 2 +- vrchatapi/models/friend_status.py | 2 +- vrchatapi/models/group.py | 2 +- vrchatapi/models/group_access_type.py | 112 ++++++++++++ vrchatapi/models/group_announcement.py | 2 +- vrchatapi/models/group_audit_log_entry.py | 2 +- vrchatapi/models/group_gallery.py | 2 +- vrchatapi/models/group_gallery_image.py | 2 +- vrchatapi/models/group_join_request_action.py | 2 +- vrchatapi/models/group_join_state.py | 2 +- vrchatapi/models/group_limited_member.py | 2 +- vrchatapi/models/group_member.py | 2 +- vrchatapi/models/group_member_limited_user.py | 2 +- vrchatapi/models/group_member_status.py | 2 +- vrchatapi/models/group_my_member.py | 2 +- vrchatapi/models/group_permission.py | 2 +- vrchatapi/models/group_privacy.py | 2 +- vrchatapi/models/group_role.py | 2 +- vrchatapi/models/group_role_template.py | 2 +- vrchatapi/models/group_search_sort.py | 2 +- vrchatapi/models/group_user_visibility.py | 2 +- vrchatapi/models/info_push.py | 2 +- vrchatapi/models/info_push_data.py | 2 +- vrchatapi/models/info_push_data_article.py | 2 +- .../models/info_push_data_article_content.py | 2 +- vrchatapi/models/info_push_data_clickable.py | 2 +- vrchatapi/models/instance.py | 151 +++++++++++++++-- vrchatapi/models/instance_platforms.py | 2 +- .../models/instance_short_name_response.py | 2 +- vrchatapi/models/instance_type.py | 2 +- vrchatapi/models/invite_message.py | 2 +- vrchatapi/models/invite_message_type.py | 2 +- vrchatapi/models/invite_request.py | 2 +- vrchatapi/models/invite_response.py | 2 +- vrchatapi/models/license.py | 2 +- vrchatapi/models/license_action.py | 2 +- vrchatapi/models/license_group.py | 2 +- vrchatapi/models/license_type.py | 2 +- vrchatapi/models/limited_group.py | 2 +- vrchatapi/models/limited_unity_package.py | 2 +- vrchatapi/models/limited_user.py | 2 +- vrchatapi/models/limited_world.py | 2 +- vrchatapi/models/mime_type.py | 2 +- vrchatapi/models/moderate_user_request.py | 2 +- vrchatapi/models/notification.py | 2 +- vrchatapi/models/notification_type.py | 2 +- vrchatapi/models/order_option.py | 2 +- .../paginated_group_audit_log_entry_list.py | 2 +- vrchatapi/models/past_display_name.py | 2 +- vrchatapi/models/permission.py | 2 +- vrchatapi/models/player_moderation.py | 2 +- vrchatapi/models/player_moderation_type.py | 2 +- vrchatapi/models/region.py | 2 +- vrchatapi/models/release_status.py | 2 +- vrchatapi/models/represented_group.py | 2 +- vrchatapi/models/request_invite_request.py | 2 +- .../models/respond_group_join_request.py | 2 +- vrchatapi/models/response.py | 2 +- vrchatapi/models/sent_notification.py | 2 +- vrchatapi/models/sort_option.py | 2 +- vrchatapi/models/subscription.py | 2 +- vrchatapi/models/subscription_period.py | 2 +- vrchatapi/models/success.py | 2 +- vrchatapi/models/transaction.py | 2 +- vrchatapi/models/transaction_agreement.py | 2 +- vrchatapi/models/transaction_status.py | 2 +- vrchatapi/models/transaction_steam_info.py | 2 +- .../models/transaction_steam_wallet_info.py | 2 +- vrchatapi/models/two_factor_auth_code.py | 2 +- vrchatapi/models/two_factor_email_code.py | 2 +- vrchatapi/models/unity_package.py | 2 +- vrchatapi/models/update_avatar_request.py | 2 +- .../models/update_favorite_group_request.py | 2 +- .../models/update_group_gallery_request.py | 2 +- .../models/update_group_member_request.py | 2 +- vrchatapi/models/update_group_request.py | 2 +- vrchatapi/models/update_group_role_request.py | 2 +- .../models/update_invite_message_request.py | 2 +- vrchatapi/models/update_user_request.py | 2 +- vrchatapi/models/update_world_request.py | 2 +- vrchatapi/models/user.py | 2 +- vrchatapi/models/user_exists.py | 2 +- vrchatapi/models/user_state.py | 2 +- vrchatapi/models/user_status.py | 2 +- vrchatapi/models/user_subscription.py | 2 +- .../models/verify2_fa_email_code_result.py | 2 +- vrchatapi/models/verify2_fa_result.py | 2 +- vrchatapi/models/verify_auth_token_result.py | 2 +- vrchatapi/models/world.py | 2 +- vrchatapi/models/world_metadata.py | 2 +- vrchatapi/models/world_publish_status.py | 2 +- vrchatapi/rest.py | 2 +- 155 files changed, 665 insertions(+), 165 deletions(-) create mode 100644 docs/GroupAccessType.md create mode 100644 vrchatapi/models/group_access_type.py diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 9a827f94..971b66a9 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -44,6 +44,7 @@ docs/FinishFileDataUploadRequest.md docs/FriendStatus.md docs/FriendsApi.md docs/Group.md +docs/GroupAccessType.md docs/GroupAnnouncement.md docs/GroupAuditLogEntry.md docs/GroupGallery.md @@ -206,6 +207,7 @@ vrchatapi/models/file_version_upload_status.py vrchatapi/models/finish_file_data_upload_request.py vrchatapi/models/friend_status.py vrchatapi/models/group.py +vrchatapi/models/group_access_type.py vrchatapi/models/group_announcement.py vrchatapi/models/group_audit_log_entry.py vrchatapi/models/group_gallery.py diff --git a/docs/FriendsApi.md b/docs/FriendsApi.md index d8208934..3439a292 100644 --- a/docs/FriendsApi.md +++ b/docs/FriendsApi.md @@ -156,6 +156,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single Notifcation object. | - | +**400** | Bad request error response when sending a friend request | - | **401** | Error response due to missing auth cookie. | - | **404** | Error response when trying to send a friend request to a user which doesn't exist. | - | diff --git a/docs/GroupAccessType.md b/docs/GroupAccessType.md new file mode 100644 index 00000000..55502239 --- /dev/null +++ b/docs/GroupAccessType.md @@ -0,0 +1,11 @@ +# GroupAccessType + +Group access type when the instance type is \"group\" + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GroupsApi.md b/docs/GroupsApi.md index 75d3ea51..35462fa2 100644 --- a/docs/GroupsApi.md +++ b/docs/GroupsApi.md @@ -652,8 +652,9 @@ void (empty response body) | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | -**400** | User <displayName> is already invited | - | +**400** | Bad request error response when creating a group invite. | - | **401** | Error response due to missing auth cookie. | - | +**403** | Forbidden error response when creating a group invite. | - | **404** | Error response when trying to perform operations on a non-existing group. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -1980,6 +1981,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of GroupMember objects. | - | +**400** | Bad request error response when responding to a group join request | - | **403** | Error response when trying to perform operations on a group you are not member of. | - | **404** | Error response when trying to perform operations on a non-existing group. | - | diff --git a/docs/Instance.md b/docs/Instance.md index fe53e56b..c5467d5c 100644 --- a/docs/Instance.md +++ b/docs/Instance.md @@ -15,7 +15,7 @@ Name | Type | Description | Notes **location** | **str** | InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. | **n_users** | **int** | | **name** | **str** | | -**owner_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] +**owner_id** | **str** | A groupId if the instance type is \"group\", null if instance type is public, or a userId otherwise | [optional] **permanent** | **bool** | | [default to False] **photon_region** | [**Region**](Region.md) | | **platforms** | [**InstancePlatforms**](InstancePlatforms.md) | | @@ -31,11 +31,16 @@ Name | Type | Description | Notes **queue_enabled** | **bool** | | **queue_size** | **int** | | **recommended_capacity** | **int** | | -**role_restricted** | **bool** | | +**role_restricted** | **bool** | | [optional] **strict** | **bool** | | **user_count** | **int** | | **world** | [**World**](World.md) | | **users** | [**list[LimitedUser]**](LimitedUser.md) | The users field is present on instances created by the requesting user. | [optional] +**group_access_type** | [**GroupAccessType**](GroupAccessType.md) | | [optional] +**has_capacity_for_you** | **bool** | | [optional] +**nonce** | **str** | | [optional] +**closed_at** | **datetime** | | [optional] +**hard_close** | **bool** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InstancesApi.md b/docs/InstancesApi.md index f9edf351..0dbcbd9e 100644 --- a/docs/InstancesApi.md +++ b/docs/InstancesApi.md @@ -4,12 +4,93 @@ All URIs are relative to *https://api.vrchat.cloud/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- +[**close_instance**](InstancesApi.md#close_instance) | **DELETE** /instances/{worldId}:{instanceId} | Close Instance [**get_instance**](InstancesApi.md#get_instance) | **GET** /instances/{worldId}:{instanceId} | Get Instance [**get_instance_by_short_name**](InstancesApi.md#get_instance_by_short_name) | **GET** /instances/s/{shortName} | Get Instance By Short Name [**get_short_name**](InstancesApi.md#get_short_name) | **GET** /instances/{worldId}:{instanceId}/shortName | Get Instance Short Name [**send_self_invite**](InstancesApi.md#send_self_invite) | **POST** /instances/{worldId}:{instanceId}/invite | Send Self Invite +# **close_instance** +> Instance close_instance(world_id, instance_id, hard_close=hard_close) + +Close Instance + +Close an instance. You can only close an instance if the ownerId is yourself or if the instance owner is a group and you have the `group-instance-moderate` permission. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.InstancesApi(api_client) + world_id = 'world_id_example' # str | Must be a valid world ID. +instance_id = 'instance_id_example' # str | Must be a valid instance ID. +hard_close = True # bool | Whether to hard close the instance. Defaults to false. (optional) + + try: + # Close Instance + api_response = api_instance.close_instance(world_id, instance_id, hard_close=hard_close) + pprint(api_response) + except ApiException as e: + print("Exception when calling InstancesApi->close_instance: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **world_id** | **str**| Must be a valid world ID. | + **instance_id** | **str**| Must be a valid instance ID. | + **hard_close** | **bool**| Whether to hard close the instance. Defaults to false. | [optional] + +### Return type + +[**Instance**](Instance.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single Instance object. | - | +**401** | Error response due to missing auth cookie. | - | +**403** | Error response due to not being allowed to close an instance | - | +**404** | Error response due to non existant instance | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_instance** > Instance get_instance(world_id, instance_id) diff --git a/setup.py b/setup.py index 026e3f75..d63342d7 100644 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.16.8" +VERSION = "1.17.0" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 9bb2cd3d..64114c3e 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,7 +6,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -82,6 +82,7 @@ from vrchatapi.models.finish_file_data_upload_request import FinishFileDataUploadRequest from vrchatapi.models.friend_status import FriendStatus from vrchatapi.models.group import Group +from vrchatapi.models.group_access_type import GroupAccessType from vrchatapi.models.group_announcement import GroupAnnouncement from vrchatapi.models.group_audit_log_entry import GroupAuditLogEntry from vrchatapi.models.group_gallery import GroupGallery diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index 447b1505..e839a17e 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index 5b0653de..db383073 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index b8b50456..baae943e 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index f74035b0..1a19de06 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index fdc862ca..8d619370 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index 28a259ef..9fd70829 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -293,6 +293,7 @@ def friend_with_http_info(self, user_id, **kwargs): # noqa: E501 response_types_map = { 200: "Notification", + 400: "Error", 401: "Error", 404: "Error", } diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index a492c222..b4f8863b 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -3852,6 +3852,7 @@ def get_group_requests_with_http_info(self, group_id, **kwargs): # noqa: E501 response_types_map = { 200: "list[GroupMember]", + 400: "Error", 403: "Error", 404: "Error", } diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 1396ee0c..8ebf68ae 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,6 +36,163 @@ def __init__(self, api_client=None): api_client = ApiClient() self.api_client = api_client + def close_instance(self, world_id, instance_id, **kwargs): # noqa: E501 + """Close Instance # noqa: E501 + + Close an instance. You can only close an instance if the ownerId is yourself or if the instance owner is a group and you have the `group-instance-moderate` permission. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.close_instance(world_id, instance_id, async_req=True) + >>> result = thread.get() + + :param world_id: Must be a valid world ID. (required) + :type world_id: str + :param instance_id: Must be a valid instance ID. (required) + :type instance_id: str + :param hard_close: Whether to hard close the instance. Defaults to false. + :type hard_close: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Instance + """ + kwargs['_return_http_data_only'] = True + return self.close_instance_with_http_info(world_id, instance_id, **kwargs) # noqa: E501 + + def close_instance_with_http_info(self, world_id, instance_id, **kwargs): # noqa: E501 + """Close Instance # noqa: E501 + + Close an instance. You can only close an instance if the ownerId is yourself or if the instance owner is a group and you have the `group-instance-moderate` permission. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.close_instance_with_http_info(world_id, instance_id, async_req=True) + >>> result = thread.get() + + :param world_id: Must be a valid world ID. (required) + :type world_id: str + :param instance_id: Must be a valid instance ID. (required) + :type instance_id: str + :param hard_close: Whether to hard close the instance. Defaults to false. + :type hard_close: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Instance, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'world_id', + 'instance_id', + 'hard_close' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method close_instance" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'world_id' is set + if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `world_id` when calling `close_instance`") # noqa: E501 + # verify the required parameter 'instance_id' is set + if self.api_client.client_side_validation and local_var_params.get('instance_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `instance_id` when calling `close_instance`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'world_id' in local_var_params: + path_params['worldId'] = local_var_params['world_id'] # noqa: E501 + if 'instance_id' in local_var_params: + path_params['instanceId'] = local_var_params['instance_id'] # noqa: E501 + + query_params = [] + if local_var_params.get('hard_close') is not None: # noqa: E501 + query_params.append(('hardClose', local_var_params['hard_close'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "Instance", + 401: "Error", + 403: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/instances/{worldId}:{instanceId}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def get_instance(self, world_id, instance_id, **kwargs): # noqa: E501 """Get Instance # noqa: E501 diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index f6bd782d..132f55b6 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index 602456a2..64dc0d89 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index 91cb8ed1..e77b5fc9 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index da155d3f..d7396fa1 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index bf772636..e8c2f7b1 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index 1475a160..cd873815 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 73f0a294..0805ed2c 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index 17294493..9b9078f3 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,7 +3,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index 53f7e3d9..d22154ec 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -441,7 +441,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.16.8\n"\ + "Version of the API: 1.17.0\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index fc219dbd..a1c9ced2 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index d471da89..29dcda36 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,7 +5,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -53,6 +53,7 @@ from vrchatapi.models.finish_file_data_upload_request import FinishFileDataUploadRequest from vrchatapi.models.friend_status import FriendStatus from vrchatapi.models.group import Group +from vrchatapi.models.group_access_type import GroupAccessType from vrchatapi.models.group_announcement import GroupAnnouncement from vrchatapi.models.group_audit_log_entry import GroupAuditLogEntry from vrchatapi.models.group_gallery import GroupGallery diff --git a/vrchatapi/models/account_deletion_log.py b/vrchatapi/models/account_deletion_log.py index ee08fb19..12d0c764 100644 --- a/vrchatapi/models/account_deletion_log.py +++ b/vrchatapi/models/account_deletion_log.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index 8f34c0da..b13c1683 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index 3f3c0553..39102a52 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index 969d7df3..2b0ec7d5 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index 21c7da54..ffd9738d 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index 5812c9c1..04f4c35b 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index 52ae4b4f..735d7741 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index f794d3a3..fe4aac4e 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index d7d87ed4..c775058d 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index 38b61580..08b2f43c 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index 87d424fe..9e422892 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index c77af358..f49eca3a 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index 51c08e72..9fffab46 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index 79d082c6..6e7d508a 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index 441eaa5b..1a7d6d58 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index 65e77c05..9b59b816 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index cc8e97c3..f6cd66e8 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index 39c827cc..23082e1f 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index 052759a9..64035c42 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index a6a36fb1..1f26ba35 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index 340d838c..b9ca5ccd 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user_presence.py b/vrchatapi/models/current_user_presence.py index b9d140fb..be3c978d 100644 --- a/vrchatapi/models/current_user_presence.py +++ b/vrchatapi/models/current_user_presence.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/deployment_group.py b/vrchatapi/models/deployment_group.py index fef9caa1..9215085a 100644 --- a/vrchatapi/models/deployment_group.py +++ b/vrchatapi/models/deployment_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index 1f749ca8..59f0a430 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index f1b5707c..0a648034 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index 63801842..4dc39914 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index 525bc29a..1e074360 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index aac8d77a..4c3f6d0a 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index 0cb7affd..6f4335ab 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index 113cda9f..c518381c 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index be00449d..9fbf24a0 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index e5840aff..2f1079c5 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index cd747260..824acb09 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index 33c09bfa..20fdeaa5 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index 64a35421..1f0bc6fc 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index 0db6e47c..ab8a00f3 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index 23c2a932..830a1c87 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index 122e8f74..e383c1b0 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index 50463e09..3fbcaf46 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_access_type.py b/vrchatapi/models/group_access_type.py new file mode 100644 index 00000000..593bfe84 --- /dev/null +++ b/vrchatapi/models/group_access_type.py @@ -0,0 +1,112 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.17.0 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class GroupAccessType(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + PUBLIC = "public" + PLUS = "plus" + MEMBER = "member" + + allowable_values = [PUBLIC, PLUS, MEMBER] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """GroupAccessType - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GroupAccessType): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GroupAccessType): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index c09f6641..75b58b7a 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index 241d60a7..ee026c95 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index 7f5fe94d..fe3204d8 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index 12b960a2..8a0e589f 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_request_action.py b/vrchatapi/models/group_join_request_action.py index c54736cc..a598b85f 100644 --- a/vrchatapi/models/group_join_request_action.py +++ b/vrchatapi/models/group_join_request_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index 834075d9..0adacc83 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index 0cebc8fe..7a54dd57 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index f4b42211..79fea93f 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index 5cf0384a..5153a885 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index 60e34af6..bd32f4cc 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index ea8ac80b..b7fa22a1 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index 609dc170..6d49d26a 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index b6742a0f..876f84a6 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index 88412e4a..89fb63a3 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index 96486953..8af92c01 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_search_sort.py b/vrchatapi/models/group_search_sort.py index c55bbfb9..edebe75f 100644 --- a/vrchatapi/models/group_search_sort.py +++ b/vrchatapi/models/group_search_sort.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index 847e151d..b8c3d3e1 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index f0a8ee36..e5a6ba26 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index 03dfe42a..d1c02cd7 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index 6057481d..e1df3bdd 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index 32a8fa60..d5240fc4 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index 71761d23..0311fa23 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index e1af4330..0054ca78 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -66,7 +66,12 @@ class Instance(object): 'strict': 'bool', 'user_count': 'int', 'world': 'World', - 'users': 'list[LimitedUser]' + 'users': 'list[LimitedUser]', + 'group_access_type': 'GroupAccessType', + 'has_capacity_for_you': 'bool', + 'nonce': 'str', + 'closed_at': 'datetime', + 'hard_close': 'bool' } attribute_map = { @@ -100,10 +105,15 @@ class Instance(object): 'strict': 'strict', 'user_count': 'userCount', 'world': 'world', - 'users': 'users' + 'users': 'users', + 'group_access_type': 'groupAccessType', + 'has_capacity_for_you': 'hasCapacityForYou', + 'nonce': 'nonce', + 'closed_at': 'closedAt', + 'hard_close': 'hardClose' } - def __init__(self, active=True, can_request_invite=True, capacity=None, client_number=None, full=False, id=None, instance_id=None, location=None, n_users=None, name=None, owner_id=None, permanent=False, photon_region=None, platforms=None, region=None, secure_name=None, short_name=None, tags=None, type=None, world_id=None, hidden=None, friends=None, private=None, queue_enabled=None, queue_size=None, recommended_capacity=None, role_restricted=None, strict=None, user_count=None, world=None, users=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, active=True, can_request_invite=True, capacity=None, client_number=None, full=False, id=None, instance_id=None, location=None, n_users=None, name=None, owner_id=None, permanent=False, photon_region=None, platforms=None, region=None, secure_name=None, short_name=None, tags=None, type=None, world_id=None, hidden=None, friends=None, private=None, queue_enabled=None, queue_size=None, recommended_capacity=None, role_restricted=None, strict=None, user_count=None, world=None, users=None, group_access_type=None, has_capacity_for_you=None, nonce=None, closed_at=None, hard_close=None, local_vars_configuration=None): # noqa: E501 """Instance - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -140,6 +150,11 @@ def __init__(self, active=True, can_request_invite=True, capacity=None, client_n self._user_count = None self._world = None self._users = None + self._group_access_type = None + self._has_capacity_for_you = None + self._nonce = None + self._closed_at = None + self._hard_close = None self.discriminator = None self.active = active @@ -152,15 +167,13 @@ def __init__(self, active=True, can_request_invite=True, capacity=None, client_n self.location = location self.n_users = n_users self.name = name - if owner_id is not None: - self.owner_id = owner_id + self.owner_id = owner_id self.permanent = permanent self.photon_region = photon_region self.platforms = platforms self.region = region self.secure_name = secure_name - if short_name is not None: - self.short_name = short_name + self.short_name = short_name self.tags = tags self.type = type self.world_id = world_id @@ -173,12 +186,21 @@ def __init__(self, active=True, can_request_invite=True, capacity=None, client_n self.queue_enabled = queue_enabled self.queue_size = queue_size self.recommended_capacity = recommended_capacity - self.role_restricted = role_restricted + if role_restricted is not None: + self.role_restricted = role_restricted self.strict = strict self.user_count = user_count self.world = world if users is not None: self.users = users + if group_access_type is not None: + self.group_access_type = group_access_type + if has_capacity_for_you is not None: + self.has_capacity_for_you = has_capacity_for_you + if nonce is not None: + self.nonce = nonce + self.closed_at = closed_at + self.hard_close = hard_close @property def active(self): @@ -435,7 +457,7 @@ def name(self, name): def owner_id(self): """Gets the owner_id of this Instance. # noqa: E501 - A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + A groupId if the instance type is \"group\", null if instance type is public, or a userId otherwise # noqa: E501 :return: The owner_id of this Instance. # noqa: E501 :rtype: str @@ -446,7 +468,7 @@ def owner_id(self): def owner_id(self, owner_id): """Sets the owner_id of this Instance. - A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + A groupId if the instance type is \"group\", null if instance type is public, or a userId otherwise # noqa: E501 :param owner_id: The owner_id of this Instance. # noqa: E501 :type owner_id: str @@ -831,8 +853,6 @@ def role_restricted(self, role_restricted): :param role_restricted: The role_restricted of this Instance. # noqa: E501 :type role_restricted: bool """ - if self.local_vars_configuration.client_side_validation and role_restricted is None: # noqa: E501 - raise ValueError("Invalid value for `role_restricted`, must not be `None`") # noqa: E501 self._role_restricted = role_restricted @@ -931,6 +951,111 @@ def users(self, users): self._users = users + @property + def group_access_type(self): + """Gets the group_access_type of this Instance. # noqa: E501 + + + :return: The group_access_type of this Instance. # noqa: E501 + :rtype: GroupAccessType + """ + return self._group_access_type + + @group_access_type.setter + def group_access_type(self, group_access_type): + """Sets the group_access_type of this Instance. + + + :param group_access_type: The group_access_type of this Instance. # noqa: E501 + :type group_access_type: GroupAccessType + """ + + self._group_access_type = group_access_type + + @property + def has_capacity_for_you(self): + """Gets the has_capacity_for_you of this Instance. # noqa: E501 + + + :return: The has_capacity_for_you of this Instance. # noqa: E501 + :rtype: bool + """ + return self._has_capacity_for_you + + @has_capacity_for_you.setter + def has_capacity_for_you(self, has_capacity_for_you): + """Sets the has_capacity_for_you of this Instance. + + + :param has_capacity_for_you: The has_capacity_for_you of this Instance. # noqa: E501 + :type has_capacity_for_you: bool + """ + + self._has_capacity_for_you = has_capacity_for_you + + @property + def nonce(self): + """Gets the nonce of this Instance. # noqa: E501 + + + :return: The nonce of this Instance. # noqa: E501 + :rtype: str + """ + return self._nonce + + @nonce.setter + def nonce(self, nonce): + """Sets the nonce of this Instance. + + + :param nonce: The nonce of this Instance. # noqa: E501 + :type nonce: str + """ + + self._nonce = nonce + + @property + def closed_at(self): + """Gets the closed_at of this Instance. # noqa: E501 + + + :return: The closed_at of this Instance. # noqa: E501 + :rtype: datetime + """ + return self._closed_at + + @closed_at.setter + def closed_at(self, closed_at): + """Sets the closed_at of this Instance. + + + :param closed_at: The closed_at of this Instance. # noqa: E501 + :type closed_at: datetime + """ + + self._closed_at = closed_at + + @property + def hard_close(self): + """Gets the hard_close of this Instance. # noqa: E501 + + + :return: The hard_close of this Instance. # noqa: E501 + :rtype: bool + """ + return self._hard_close + + @hard_close.setter + def hard_close(self, hard_close): + """Sets the hard_close of this Instance. + + + :param hard_close: The hard_close of this Instance. # noqa: E501 + :type hard_close: bool + """ + + self._hard_close = hard_close + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index 760a4fef..e070fa67 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index 05efd4f5..7f2de079 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index 6146c988..98b47a64 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index 6a72a5fd..faf2de20 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index d3e97188..3c4efe25 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index d46654a1..a0b5b7a9 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index f9c296df..bdf990bc 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index 9b4ee212..1dfbb829 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index 60126bc2..8ce29afa 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index 10623f99..cda86cce 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index b249ebad..3fe807a2 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_group.py b/vrchatapi/models/limited_group.py index cc8f5e27..accc33cd 100644 --- a/vrchatapi/models/limited_group.py +++ b/vrchatapi/models/limited_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index e8f22094..5f636d41 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user.py b/vrchatapi/models/limited_user.py index 92464fa1..bac72aca 100644 --- a/vrchatapi/models/limited_user.py +++ b/vrchatapi/models/limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index cb9f89db..28ea0721 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index c006d9e1..98826f54 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index 63fd55f3..5dbfce8d 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index 8b1a571f..b467846e 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index 470379fb..3447d9c4 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index 5621c69e..0edb1d12 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index 78928bb8..e1f15e82 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index fbbe28bf..c1e8b9b8 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index 21bb1fb5..cd2de173 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index 6e36b7b0..b827e2c9 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index 1f41a6a2..b2ea35a5 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index 2fc93086..2da6bb9d 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index e757f943..b3ec5815 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/represented_group.py b/vrchatapi/models/represented_group.py index 02f3a6c9..41880b60 100644 --- a/vrchatapi/models/represented_group.py +++ b/vrchatapi/models/represented_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index 8bdc11b3..ebf4ca9e 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index a79d020c..537dd946 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index 16a012f2..c7b8334f 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index 3916da01..fd94b48d 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index da6b73d1..cc29b8e3 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index d80ce8a7..313ff9fe 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index 1af20fc4..cae10dc5 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index 603b0720..80d1f795 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index 175b9dba..dd91118a 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index 9c6a588f..48b7f45d 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index 2447f9d6..fe7cf3c0 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index 54d538d6..1eb39847 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index 1e26182b..bdd41d12 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index 963d1855..e809925b 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_email_code.py b/vrchatapi/models/two_factor_email_code.py index b35f1e7c..6b9e7d53 100644 --- a/vrchatapi/models/two_factor_email_code.py +++ b/vrchatapi/models/two_factor_email_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index 1c6f711b..287e5c12 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index ad4d4df8..32d6f493 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index 0ad8d86c..0c1985ce 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index b5e20839..d2f2885b 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index 00f34698..2a7ea918 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index 483adb7d..63867c39 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index eae86df7..51145a8a 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index e29772c3..d635638b 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index bb8e3809..7d9c6a4b 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index f95b1ab0..8a9dc5dd 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index fd9f7d6f..14be2a9e 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index 9d7075b4..542c9169 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index 6ccd1fe0..6509ff83 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index 28e22c91..954b61d7 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index c7954e8e..d1d957e0 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_email_code_result.py b/vrchatapi/models/verify2_fa_email_code_result.py index 021e75fc..44e0587c 100644 --- a/vrchatapi/models/verify2_fa_email_code_result.py +++ b/vrchatapi/models/verify2_fa_email_code_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index 3496e990..1c0c5001 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index cf24de4b..ca4dfd25 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index 3b7326c8..af79fc79 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index 3711ce21..60c509d1 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index c1db1cb1..86367467 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index 682ff0e7..38aa9908 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.16.8 + The version of the OpenAPI document: 1.17.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ From 89e697b362070904e97cb20fef175f9c25a246a3 Mon Sep 17 00:00:00 2001 From: VRCCat Date: Sun, 21 Apr 2024 03:24:37 +0000 Subject: [PATCH 048/102] Upgrade Python SDK to spec 1.17.1 --- .openapi-generator/FILES | 2 + docs/GroupInstance.md | 14 ++ docs/GroupsApi.md | 77 ++++++ package-lock.json | 90 ++++++- package.json | 2 +- setup.py | 4 +- vrchatapi/__init__.py | 3 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/groups_api.py | 142 ++++++++++- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 +- vrchatapi/exceptions.py | 2 +- vrchatapi/models/__init__.py | 3 +- vrchatapi/models/account_deletion_log.py | 2 +- vrchatapi/models/add_favorite_request.py | 2 +- .../models/add_group_gallery_image_request.py | 2 +- vrchatapi/models/api_config.py | 2 +- vrchatapi/models/api_config_announcement.py | 2 +- .../models/api_config_download_url_list.py | 2 +- vrchatapi/models/api_config_events.py | 2 +- vrchatapi/models/api_health.py | 2 +- vrchatapi/models/avatar.py | 2 +- .../models/avatar_unity_package_url_object.py | 2 +- vrchatapi/models/ban_group_member_request.py | 2 +- vrchatapi/models/create_avatar_request.py | 2 +- vrchatapi/models/create_file_request.py | 2 +- .../models/create_file_version_request.py | 2 +- .../create_group_announcement_request.py | 2 +- .../models/create_group_gallery_request.py | 2 +- .../models/create_group_invite_request.py | 2 +- vrchatapi/models/create_group_request.py | 2 +- vrchatapi/models/create_group_role_request.py | 2 +- vrchatapi/models/create_world_request.py | 2 +- vrchatapi/models/current_user.py | 2 +- vrchatapi/models/current_user_presence.py | 2 +- vrchatapi/models/deployment_group.py | 2 +- vrchatapi/models/developer_type.py | 2 +- vrchatapi/models/dynamic_content_row.py | 2 +- vrchatapi/models/error.py | 2 +- vrchatapi/models/favorite.py | 2 +- vrchatapi/models/favorite_group.py | 2 +- vrchatapi/models/favorite_group_visibility.py | 2 +- vrchatapi/models/favorite_type.py | 2 +- vrchatapi/models/file.py | 2 +- vrchatapi/models/file_data.py | 2 +- vrchatapi/models/file_status.py | 2 +- vrchatapi/models/file_upload_url.py | 2 +- vrchatapi/models/file_version.py | 2 +- .../models/file_version_upload_status.py | 2 +- .../models/finish_file_data_upload_request.py | 2 +- vrchatapi/models/friend_status.py | 2 +- vrchatapi/models/group.py | 2 +- vrchatapi/models/group_access_type.py | 2 +- vrchatapi/models/group_announcement.py | 2 +- vrchatapi/models/group_audit_log_entry.py | 2 +- vrchatapi/models/group_gallery.py | 2 +- vrchatapi/models/group_gallery_image.py | 2 +- vrchatapi/models/group_instance.py | 221 ++++++++++++++++++ vrchatapi/models/group_join_request_action.py | 2 +- vrchatapi/models/group_join_state.py | 2 +- vrchatapi/models/group_limited_member.py | 2 +- vrchatapi/models/group_member.py | 2 +- vrchatapi/models/group_member_limited_user.py | 5 +- vrchatapi/models/group_member_status.py | 2 +- vrchatapi/models/group_my_member.py | 2 +- vrchatapi/models/group_permission.py | 2 +- vrchatapi/models/group_privacy.py | 2 +- vrchatapi/models/group_role.py | 2 +- vrchatapi/models/group_role_template.py | 2 +- vrchatapi/models/group_search_sort.py | 2 +- vrchatapi/models/group_user_visibility.py | 2 +- vrchatapi/models/info_push.py | 2 +- vrchatapi/models/info_push_data.py | 2 +- vrchatapi/models/info_push_data_article.py | 2 +- .../models/info_push_data_article_content.py | 2 +- vrchatapi/models/info_push_data_clickable.py | 2 +- vrchatapi/models/instance.py | 2 +- vrchatapi/models/instance_platforms.py | 2 +- .../models/instance_short_name_response.py | 2 +- vrchatapi/models/instance_type.py | 2 +- vrchatapi/models/invite_message.py | 2 +- vrchatapi/models/invite_message_type.py | 2 +- vrchatapi/models/invite_request.py | 2 +- vrchatapi/models/invite_response.py | 2 +- vrchatapi/models/license.py | 2 +- vrchatapi/models/license_action.py | 2 +- vrchatapi/models/license_group.py | 2 +- vrchatapi/models/license_type.py | 2 +- vrchatapi/models/limited_group.py | 2 +- vrchatapi/models/limited_unity_package.py | 2 +- vrchatapi/models/limited_user.py | 2 +- vrchatapi/models/limited_world.py | 2 +- vrchatapi/models/mime_type.py | 2 +- vrchatapi/models/moderate_user_request.py | 2 +- vrchatapi/models/notification.py | 2 +- vrchatapi/models/notification_type.py | 2 +- vrchatapi/models/order_option.py | 2 +- .../paginated_group_audit_log_entry_list.py | 2 +- vrchatapi/models/past_display_name.py | 2 +- vrchatapi/models/permission.py | 2 +- vrchatapi/models/player_moderation.py | 2 +- vrchatapi/models/player_moderation_type.py | 2 +- vrchatapi/models/region.py | 2 +- vrchatapi/models/release_status.py | 2 +- vrchatapi/models/represented_group.py | 2 +- vrchatapi/models/request_invite_request.py | 2 +- .../models/respond_group_join_request.py | 2 +- vrchatapi/models/response.py | 2 +- vrchatapi/models/sent_notification.py | 2 +- vrchatapi/models/sort_option.py | 2 +- vrchatapi/models/subscription.py | 2 +- vrchatapi/models/subscription_period.py | 2 +- vrchatapi/models/success.py | 2 +- vrchatapi/models/transaction.py | 2 +- vrchatapi/models/transaction_agreement.py | 2 +- vrchatapi/models/transaction_status.py | 2 +- vrchatapi/models/transaction_steam_info.py | 2 +- .../models/transaction_steam_wallet_info.py | 2 +- vrchatapi/models/two_factor_auth_code.py | 2 +- vrchatapi/models/two_factor_email_code.py | 2 +- vrchatapi/models/unity_package.py | 2 +- vrchatapi/models/update_avatar_request.py | 2 +- .../models/update_favorite_group_request.py | 2 +- .../models/update_group_gallery_request.py | 2 +- .../models/update_group_member_request.py | 2 +- vrchatapi/models/update_group_request.py | 2 +- vrchatapi/models/update_group_role_request.py | 2 +- .../models/update_invite_message_request.py | 2 +- vrchatapi/models/update_user_request.py | 2 +- vrchatapi/models/update_world_request.py | 2 +- vrchatapi/models/user.py | 2 +- vrchatapi/models/user_exists.py | 2 +- vrchatapi/models/user_state.py | 2 +- vrchatapi/models/user_status.py | 2 +- vrchatapi/models/user_subscription.py | 2 +- .../models/verify2_fa_email_code_result.py | 2 +- vrchatapi/models/verify2_fa_result.py | 2 +- vrchatapi/models/verify_auth_token_result.py | 2 +- vrchatapi/models/world.py | 2 +- vrchatapi/models/world_metadata.py | 2 +- vrchatapi/models/world_publish_status.py | 2 +- vrchatapi/rest.py | 2 +- 155 files changed, 692 insertions(+), 161 deletions(-) create mode 100644 docs/GroupInstance.md create mode 100644 vrchatapi/models/group_instance.py diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 971b66a9..a78e38fc 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -49,6 +49,7 @@ docs/GroupAnnouncement.md docs/GroupAuditLogEntry.md docs/GroupGallery.md docs/GroupGalleryImage.md +docs/GroupInstance.md docs/GroupJoinRequestAction.md docs/GroupJoinState.md docs/GroupLimitedMember.md @@ -212,6 +213,7 @@ vrchatapi/models/group_announcement.py vrchatapi/models/group_audit_log_entry.py vrchatapi/models/group_gallery.py vrchatapi/models/group_gallery_image.py +vrchatapi/models/group_instance.py vrchatapi/models/group_join_request_action.py vrchatapi/models/group_join_state.py vrchatapi/models/group_limited_member.py diff --git a/docs/GroupInstance.md b/docs/GroupInstance.md new file mode 100644 index 00000000..de6a8904 --- /dev/null +++ b/docs/GroupInstance.md @@ -0,0 +1,14 @@ +# GroupInstance + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**instance_id** | **str** | | +**location** | **str** | InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. | +**world** | [**World**](World.md) | | +**member_count** | **int** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GroupsApi.md b/docs/GroupsApi.md index 35462fa2..0a35302d 100644 --- a/docs/GroupsApi.md +++ b/docs/GroupsApi.md @@ -24,6 +24,7 @@ Method | HTTP request | Description [**get_group_audit_logs**](GroupsApi.md#get_group_audit_logs) | **GET** /groups/{groupId}/auditLogs | Get Group Audit Logs [**get_group_bans**](GroupsApi.md#get_group_bans) | **GET** /groups/{groupId}/bans | Get Group Bans [**get_group_gallery_images**](GroupsApi.md#get_group_gallery_images) | **GET** /groups/{groupId}/galleries/{groupGalleryId} | Get Group Gallery Images +[**get_group_instances**](GroupsApi.md#get_group_instances) | **GET** /groups/{groupId}/instances | Get Group Instances [**get_group_invites**](GroupsApi.md#get_group_invites) | **GET** /groups/{groupId}/invites | Get Group Invites Sent [**get_group_member**](GroupsApi.md#get_group_member) | **GET** /groups/{groupId}/members/{userId} | Get Group Member [**get_group_members**](GroupsApi.md#get_group_members) | **GET** /groups/{groupId}/members | List Group Members @@ -273,6 +274,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a list of GroupMember objects. | - | +**400** | Bad request error response when banning a user | - | **401** | Error response due to missing auth cookie. | - | **404** | Error response when trying to perform operations on a non-existing group. | - | @@ -1592,6 +1594,81 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_group_instances** +> list[GroupInstance] get_group_instances(group_id) + +Get Group Instances + +Returns a list of group instances + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + + try: + # Get Group Instances + api_response = api_instance.get_group_instances(group_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->get_group_instances: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + +### Return type + +[**list[GroupInstance]**](GroupInstance.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of GroupInstance objects. | - | +**401** | Error response due to missing auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_group_invites** > list[GroupMember] get_group_invites(group_id, n=n, offset=offset) diff --git a/package-lock.json b/package-lock.json index aeeb9607..c09a07ef 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.13.1" + "@openapitools/openapi-generator-cli": "^2.13.2" } }, "node_modules/@lukeed/csprng": { @@ -110,9 +110,9 @@ } }, "node_modules/@openapitools/openapi-generator-cli": { - "version": "2.13.1", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.13.1.tgz", - "integrity": "sha512-WJB6MsFXlA69mpKCuR3hBsdFr7MptNhoIGlyvoYEorBQEg3cd6n1gACHx0fz20B3e03/imvorQlNMsrHTIeU9w==", + "version": "2.13.2", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.13.2.tgz", + "integrity": "sha512-Zxq1KQpxqZe55xSUAebY7RSKo1EgPFS37KY74skJRpicDyn/xg+2r0xB30UfE6WRGqaK2YJaJn0GPKbS2pwI1Q==", "hasInstallScript": true, "dependencies": { "@nestjs/axios": "3.0.1", @@ -127,6 +127,7 @@ "console.table": "0.10.0", "fs-extra": "10.1.0", "glob": "7.2.3", + "https-proxy-agent": "7.0.4", "inquirer": "8.2.6", "lodash": "4.17.21", "reflect-metadata": "0.1.13", @@ -144,6 +145,17 @@ "url": "https://opencollective.com/openapi_generator" } }, + "node_modules/agent-base": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.1.tgz", + "integrity": "sha512-H0TSyFNDMomMNJQBn8wFV5YC/2eJ+VXECwOadZJT554xP6cODZHPX3H9QMQECxvrgiSOP1pHjy1sMWQVYJOUOA==", + "dependencies": { + "debug": "^4.3.4" + }, + "engines": { + "node": ">= 14" + } + }, "node_modules/ansi-escapes": { "version": "4.3.2", "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", @@ -453,6 +465,22 @@ "url": "https://opencollective.com/date-fns" } }, + "node_modules/debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, "node_modules/defaults": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.3.tgz", @@ -620,6 +648,18 @@ "node": ">=8" } }, + "node_modules/https-proxy-agent": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.4.tgz", + "integrity": "sha512-wlwpilI7YdjSkWaQ/7omYBMTliDcmCN8OLihO6I9B86g06lMyAoqgoDpV0XqoaPOKj+0DIdAvnsWfyAAhmimcg==", + "dependencies": { + "agent-base": "^7.0.2", + "debug": "4" + }, + "engines": { + "node": ">= 14" + } + }, "node_modules/iconv-lite": { "version": "0.4.24", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", @@ -806,6 +846,11 @@ "node": "*" } }, + "node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + }, "node_modules/mute-stream": { "version": "0.0.8", "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", @@ -1223,9 +1268,9 @@ } }, "@openapitools/openapi-generator-cli": { - "version": "2.13.1", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.13.1.tgz", - "integrity": "sha512-WJB6MsFXlA69mpKCuR3hBsdFr7MptNhoIGlyvoYEorBQEg3cd6n1gACHx0fz20B3e03/imvorQlNMsrHTIeU9w==", + "version": "2.13.2", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.13.2.tgz", + "integrity": "sha512-Zxq1KQpxqZe55xSUAebY7RSKo1EgPFS37KY74skJRpicDyn/xg+2r0xB30UfE6WRGqaK2YJaJn0GPKbS2pwI1Q==", "requires": { "@nestjs/axios": "3.0.1", "@nestjs/common": "10.3.0", @@ -1239,6 +1284,7 @@ "console.table": "0.10.0", "fs-extra": "10.1.0", "glob": "7.2.3", + "https-proxy-agent": "7.0.4", "inquirer": "8.2.6", "lodash": "4.17.21", "reflect-metadata": "0.1.13", @@ -1246,6 +1292,14 @@ "tslib": "2.6.2" } }, + "agent-base": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.1.tgz", + "integrity": "sha512-H0TSyFNDMomMNJQBn8wFV5YC/2eJ+VXECwOadZJT554xP6cODZHPX3H9QMQECxvrgiSOP1pHjy1sMWQVYJOUOA==", + "requires": { + "debug": "^4.3.4" + } + }, "ansi-escapes": { "version": "4.3.2", "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", @@ -1459,6 +1513,14 @@ "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.27.0.tgz", "integrity": "sha512-sj+J0Mo2p2X1e306MHq282WS4/A8Pz/95GIFcsPNMPMZVI3EUrAdSv90al1k+p74WGLCruMXk23bfEDZa71X9Q==" }, + "debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "requires": { + "ms": "2.1.2" + } + }, "defaults": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.3.tgz", @@ -1576,6 +1638,15 @@ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" }, + "https-proxy-agent": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.4.tgz", + "integrity": "sha512-wlwpilI7YdjSkWaQ/7omYBMTliDcmCN8OLihO6I9B86g06lMyAoqgoDpV0XqoaPOKj+0DIdAvnsWfyAAhmimcg==", + "requires": { + "agent-base": "^7.0.2", + "debug": "4" + } + }, "iconv-lite": { "version": "0.4.24", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", @@ -1706,6 +1777,11 @@ "brace-expansion": "^1.1.7" } }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + }, "mute-stream": { "version": "0.0.8", "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", diff --git a/package.json b/package.json index dfa7e8fa..6ef45a37 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.13.1" + "@openapitools/openapi-generator-cli": "^2.13.2" } } diff --git a/setup.py b/setup.py index d63342d7..edc5aed6 100644 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.17.0" +VERSION = "1.17.1" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 64114c3e..21feb3ce 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,7 +6,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -87,6 +87,7 @@ from vrchatapi.models.group_audit_log_entry import GroupAuditLogEntry from vrchatapi.models.group_gallery import GroupGallery from vrchatapi.models.group_gallery_image import GroupGalleryImage +from vrchatapi.models.group_instance import GroupInstance from vrchatapi.models.group_join_request_action import GroupJoinRequestAction from vrchatapi.models.group_join_state import GroupJoinState from vrchatapi.models.group_limited_member import GroupLimitedMember diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index e839a17e..e28522b3 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index db383073..57675ace 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index baae943e..797df1a8 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index 1a19de06..5bb61ed9 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index 8d619370..cbbe22e1 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index 9fd70829..c52bdfab 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index b4f8863b..966b0e81 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -498,6 +498,7 @@ def ban_group_member_with_http_info(self, group_id, ban_group_member_request, ** response_types_map = { 200: "GroupMember", + 400: "Error", 401: "Error", 404: "Error", } @@ -3098,6 +3099,145 @@ def get_group_gallery_images_with_http_info(self, group_id, group_gallery_id, ** collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def get_group_instances(self, group_id, **kwargs): # noqa: E501 + """Get Group Instances # noqa: E501 + + Returns a list of group instances # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_instances(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[GroupInstance] + """ + kwargs['_return_http_data_only'] = True + return self.get_group_instances_with_http_info(group_id, **kwargs) # noqa: E501 + + def get_group_instances_with_http_info(self, group_id, **kwargs): # noqa: E501 + """Get Group Instances # noqa: E501 + + Returns a list of group instances # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_instances_with_http_info(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[GroupInstance], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_group_instances" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_instances`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[GroupInstance]", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/groups/{groupId}/instances', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def get_group_invites(self, group_id, **kwargs): # noqa: E501 """Get Group Invites Sent # noqa: E501 diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 8ebf68ae..6073820a 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index 132f55b6..b6b177e2 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index 64dc0d89..1478d096 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index e77b5fc9..fa1b5bd8 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index d7396fa1..0e4013ad 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index e8c2f7b1..909fcea8 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index cd873815..02731c2d 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 0805ed2c..88532423 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index 9b9078f3..61e4404a 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,7 +3,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index d22154ec..6e3a2d59 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -441,7 +441,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.17.0\n"\ + "Version of the API: 1.17.1\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index a1c9ced2..c713dfe1 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index 29dcda36..580cbae6 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,7 +5,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -58,6 +58,7 @@ from vrchatapi.models.group_audit_log_entry import GroupAuditLogEntry from vrchatapi.models.group_gallery import GroupGallery from vrchatapi.models.group_gallery_image import GroupGalleryImage +from vrchatapi.models.group_instance import GroupInstance from vrchatapi.models.group_join_request_action import GroupJoinRequestAction from vrchatapi.models.group_join_state import GroupJoinState from vrchatapi.models.group_limited_member import GroupLimitedMember diff --git a/vrchatapi/models/account_deletion_log.py b/vrchatapi/models/account_deletion_log.py index 12d0c764..399ad21b 100644 --- a/vrchatapi/models/account_deletion_log.py +++ b/vrchatapi/models/account_deletion_log.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index b13c1683..685f4361 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index 39102a52..dab9c328 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index 2b0ec7d5..5826d983 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index ffd9738d..08356ed2 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index 04f4c35b..33758eab 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index 735d7741..d3311588 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index fe4aac4e..344e6655 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index c775058d..d37bb8fd 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index 08b2f43c..251c3e01 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index 9e422892..86c56bf3 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index f49eca3a..afbd4d12 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index 9fffab46..760ca463 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index 6e7d508a..50ab2b42 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index 1a7d6d58..4a025fd7 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index 9b59b816..d8b267e6 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index f6cd66e8..9e367138 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index 23082e1f..0a23794a 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index 64035c42..95fee820 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index 1f26ba35..773368a4 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index b9ca5ccd..5e4b84ef 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user_presence.py b/vrchatapi/models/current_user_presence.py index be3c978d..fcbf95b9 100644 --- a/vrchatapi/models/current_user_presence.py +++ b/vrchatapi/models/current_user_presence.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/deployment_group.py b/vrchatapi/models/deployment_group.py index 9215085a..846d1a1e 100644 --- a/vrchatapi/models/deployment_group.py +++ b/vrchatapi/models/deployment_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index 59f0a430..9f87869c 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index 0a648034..3639ba11 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index 4dc39914..0c8ecbdf 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index 1e074360..1aa18b7a 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index 4c3f6d0a..0823045b 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index 6f4335ab..a288df18 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index c518381c..9360733e 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index 9fbf24a0..765f1134 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index 2f1079c5..5517e4aa 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index 824acb09..00fe9fdb 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index 20fdeaa5..f1422236 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index 1f0bc6fc..05c73e8a 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index ab8a00f3..6e233721 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index 830a1c87..3b3c8345 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index e383c1b0..fff7b831 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index 3fbcaf46..461c69bb 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_access_type.py b/vrchatapi/models/group_access_type.py index 593bfe84..bbb66c10 100644 --- a/vrchatapi/models/group_access_type.py +++ b/vrchatapi/models/group_access_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index 75b58b7a..a0e78ff2 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index ee026c95..6b3e6b8c 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index fe3204d8..e610839d 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index 8a0e589f..16927a44 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_instance.py b/vrchatapi/models/group_instance.py new file mode 100644 index 00000000..807ae9a3 --- /dev/null +++ b/vrchatapi/models/group_instance.py @@ -0,0 +1,221 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.17.1 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class GroupInstance(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'instance_id': 'str', + 'location': 'str', + 'world': 'World', + 'member_count': 'int' + } + + attribute_map = { + 'instance_id': 'instanceId', + 'location': 'location', + 'world': 'world', + 'member_count': 'memberCount' + } + + def __init__(self, instance_id=None, location=None, world=None, member_count=None, local_vars_configuration=None): # noqa: E501 + """GroupInstance - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._instance_id = None + self._location = None + self._world = None + self._member_count = None + self.discriminator = None + + self.instance_id = instance_id + self.location = location + self.world = world + self.member_count = member_count + + @property + def instance_id(self): + """Gets the instance_id of this GroupInstance. # noqa: E501 + + + :return: The instance_id of this GroupInstance. # noqa: E501 + :rtype: str + """ + return self._instance_id + + @instance_id.setter + def instance_id(self, instance_id): + """Sets the instance_id of this GroupInstance. + + + :param instance_id: The instance_id of this GroupInstance. # noqa: E501 + :type instance_id: str + """ + if self.local_vars_configuration.client_side_validation and instance_id is None: # noqa: E501 + raise ValueError("Invalid value for `instance_id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + instance_id is not None and len(instance_id) < 1): + raise ValueError("Invalid value for `instance_id`, length must be greater than or equal to `1`") # noqa: E501 + + self._instance_id = instance_id + + @property + def location(self): + """Gets the location of this GroupInstance. # noqa: E501 + + InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. # noqa: E501 + + :return: The location of this GroupInstance. # noqa: E501 + :rtype: str + """ + return self._location + + @location.setter + def location(self, location): + """Sets the location of this GroupInstance. + + InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. # noqa: E501 + + :param location: The location of this GroupInstance. # noqa: E501 + :type location: str + """ + if self.local_vars_configuration.client_side_validation and location is None: # noqa: E501 + raise ValueError("Invalid value for `location`, must not be `None`") # noqa: E501 + + self._location = location + + @property + def world(self): + """Gets the world of this GroupInstance. # noqa: E501 + + + :return: The world of this GroupInstance. # noqa: E501 + :rtype: World + """ + return self._world + + @world.setter + def world(self, world): + """Sets the world of this GroupInstance. + + + :param world: The world of this GroupInstance. # noqa: E501 + :type world: World + """ + if self.local_vars_configuration.client_side_validation and world is None: # noqa: E501 + raise ValueError("Invalid value for `world`, must not be `None`") # noqa: E501 + + self._world = world + + @property + def member_count(self): + """Gets the member_count of this GroupInstance. # noqa: E501 + + + :return: The member_count of this GroupInstance. # noqa: E501 + :rtype: int + """ + return self._member_count + + @member_count.setter + def member_count(self, member_count): + """Sets the member_count of this GroupInstance. + + + :param member_count: The member_count of this GroupInstance. # noqa: E501 + :type member_count: int + """ + if self.local_vars_configuration.client_side_validation and member_count is None: # noqa: E501 + raise ValueError("Invalid value for `member_count`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + member_count is not None and member_count < 0): # noqa: E501 + raise ValueError("Invalid value for `member_count`, must be a value greater than or equal to `0`") # noqa: E501 + + self._member_count = member_count + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GroupInstance): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GroupInstance): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/group_join_request_action.py b/vrchatapi/models/group_join_request_action.py index a598b85f..3d88d438 100644 --- a/vrchatapi/models/group_join_request_action.py +++ b/vrchatapi/models/group_join_request_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index 0adacc83..26eda584 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index 7a54dd57..90f59384 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index 79fea93f..70ba43f0 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index 5153a885..24dced59 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -74,8 +74,7 @@ def __init__(self, id=None, display_name=None, thumbnail_url=None, icon_url=None self.id = id if display_name is not None: self.display_name = display_name - if thumbnail_url is not None: - self.thumbnail_url = thumbnail_url + self.thumbnail_url = thumbnail_url if icon_url is not None: self.icon_url = icon_url if profile_pic_override is not None: diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index bd32f4cc..4c992244 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index b7fa22a1..0a2a525e 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index 6d49d26a..e342e5fd 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index 876f84a6..d6389d4c 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index 89fb63a3..de7a3bb0 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index 8af92c01..694bba9f 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_search_sort.py b/vrchatapi/models/group_search_sort.py index edebe75f..3c3e61de 100644 --- a/vrchatapi/models/group_search_sort.py +++ b/vrchatapi/models/group_search_sort.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index b8c3d3e1..6a005eb2 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index e5a6ba26..8e1cb342 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index d1c02cd7..3d31cb4a 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index e1df3bdd..dcd733e1 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index d5240fc4..385a4112 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index 0311fa23..d854b934 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index 0054ca78..5d4377dd 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index e070fa67..7f4329b3 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index 7f2de079..1ae746c0 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index 98b47a64..99c5dd6f 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index faf2de20..b6870d2e 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index 3c4efe25..876566d5 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index a0b5b7a9..0e86ac6a 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index bdf990bc..01d13288 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index 1dfbb829..d2703d9d 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index 8ce29afa..8be17c73 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index cda86cce..4a92a92f 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index 3fe807a2..03da1aa4 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_group.py b/vrchatapi/models/limited_group.py index accc33cd..73683240 100644 --- a/vrchatapi/models/limited_group.py +++ b/vrchatapi/models/limited_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index 5f636d41..9cbc0adc 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user.py b/vrchatapi/models/limited_user.py index bac72aca..410c8cd2 100644 --- a/vrchatapi/models/limited_user.py +++ b/vrchatapi/models/limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index 28ea0721..f2bcca9d 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index 98826f54..e03272dd 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index 5dbfce8d..027b406b 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index b467846e..9c4fe102 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index 3447d9c4..e4af4a9a 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index 0edb1d12..d39ceffa 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index e1f15e82..dbc7a3ef 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index c1e8b9b8..1175cd52 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index cd2de173..1ba130d2 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index b827e2c9..72e7a0f9 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index b2ea35a5..3ff22752 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index 2da6bb9d..cf71c19e 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index b3ec5815..4a6684c2 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/represented_group.py b/vrchatapi/models/represented_group.py index 41880b60..cd1f898a 100644 --- a/vrchatapi/models/represented_group.py +++ b/vrchatapi/models/represented_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index ebf4ca9e..d59275a9 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index 537dd946..de2025b5 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index c7b8334f..387eca22 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index fd94b48d..87e55f61 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index cc29b8e3..22127fb6 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index 313ff9fe..e3e269bc 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index cae10dc5..9b41b5ab 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index 80d1f795..bba453b1 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index dd91118a..27bf112b 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index 48b7f45d..468e2366 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index fe7cf3c0..ad08b77b 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index 1eb39847..3a68a08e 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index bdd41d12..0a3a6b91 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index e809925b..98bd2cb6 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_email_code.py b/vrchatapi/models/two_factor_email_code.py index 6b9e7d53..6c769ffa 100644 --- a/vrchatapi/models/two_factor_email_code.py +++ b/vrchatapi/models/two_factor_email_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index 287e5c12..ea3729ef 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index 32d6f493..81e7214d 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index 0c1985ce..99096692 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index d2f2885b..4ddd001f 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index 2a7ea918..8df315b5 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index 63867c39..8652a800 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index 51145a8a..e3ac1dac 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index d635638b..19b65008 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index 7d9c6a4b..6b96d30b 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index 8a9dc5dd..93a5ef76 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index 14be2a9e..acef5d4b 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index 542c9169..1f83be0f 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index 6509ff83..3ceea7d0 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index 954b61d7..110a1cf4 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index d1d957e0..b52b5483 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_email_code_result.py b/vrchatapi/models/verify2_fa_email_code_result.py index 44e0587c..aa2f57b1 100644 --- a/vrchatapi/models/verify2_fa_email_code_result.py +++ b/vrchatapi/models/verify2_fa_email_code_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index 1c0c5001..2370ef5f 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index ca4dfd25..8c9c7b69 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index af79fc79..3a3cd1b5 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index 60c509d1..d7d7e94a 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index 86367467..a236cbc7 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index 38aa9908..731a0449 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.0 + The version of the OpenAPI document: 1.17.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ From 1d362a3c3fe0a2e729f10f05712ee4b73dc0285f Mon Sep 17 00:00:00 2001 From: VRCCat Date: Tue, 23 Apr 2024 03:37:09 +0000 Subject: [PATCH 049/102] Upgrade Python SDK to spec 1.17.2 --- .openapi-generator/FILES | 6 + docs/CreateGroupPostRequest.md | 16 + docs/GroupPost.md | 22 + docs/GroupPostVisibility.md | 10 + docs/GroupsApi.md | 237 +++++++++ package-lock.json | 63 ++- package.json | 2 +- setup.py | 4 +- vrchatapi/__init__.py | 5 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/groups_api.py | 472 +++++++++++++++++- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 +- vrchatapi/exceptions.py | 2 +- vrchatapi/models/__init__.py | 5 +- vrchatapi/models/account_deletion_log.py | 2 +- vrchatapi/models/add_favorite_request.py | 2 +- .../models/add_group_gallery_image_request.py | 2 +- vrchatapi/models/api_config.py | 2 +- vrchatapi/models/api_config_announcement.py | 2 +- .../models/api_config_download_url_list.py | 2 +- vrchatapi/models/api_config_events.py | 2 +- vrchatapi/models/api_health.py | 2 +- vrchatapi/models/avatar.py | 2 +- .../models/avatar_unity_package_url_object.py | 2 +- vrchatapi/models/ban_group_member_request.py | 2 +- vrchatapi/models/create_avatar_request.py | 2 +- vrchatapi/models/create_file_request.py | 2 +- .../models/create_file_version_request.py | 2 +- .../create_group_announcement_request.py | 2 +- .../models/create_group_gallery_request.py | 2 +- .../models/create_group_invite_request.py | 2 +- vrchatapi/models/create_group_post_request.py | 279 +++++++++++ vrchatapi/models/create_group_request.py | 2 +- vrchatapi/models/create_group_role_request.py | 2 +- vrchatapi/models/create_world_request.py | 2 +- vrchatapi/models/current_user.py | 2 +- vrchatapi/models/current_user_presence.py | 2 +- vrchatapi/models/deployment_group.py | 2 +- vrchatapi/models/developer_type.py | 2 +- vrchatapi/models/dynamic_content_row.py | 2 +- vrchatapi/models/error.py | 2 +- vrchatapi/models/favorite.py | 2 +- vrchatapi/models/favorite_group.py | 2 +- vrchatapi/models/favorite_group_visibility.py | 2 +- vrchatapi/models/favorite_type.py | 2 +- vrchatapi/models/file.py | 2 +- vrchatapi/models/file_data.py | 2 +- vrchatapi/models/file_status.py | 2 +- vrchatapi/models/file_upload_url.py | 2 +- vrchatapi/models/file_version.py | 2 +- .../models/file_version_upload_status.py | 2 +- .../models/finish_file_data_upload_request.py | 2 +- vrchatapi/models/friend_status.py | 2 +- vrchatapi/models/group.py | 2 +- vrchatapi/models/group_access_type.py | 2 +- vrchatapi/models/group_announcement.py | 2 +- vrchatapi/models/group_audit_log_entry.py | 2 +- vrchatapi/models/group_gallery.py | 2 +- vrchatapi/models/group_gallery_image.py | 2 +- vrchatapi/models/group_instance.py | 2 +- vrchatapi/models/group_join_request_action.py | 2 +- vrchatapi/models/group_join_state.py | 2 +- vrchatapi/models/group_limited_member.py | 2 +- vrchatapi/models/group_member.py | 2 +- vrchatapi/models/group_member_limited_user.py | 2 +- vrchatapi/models/group_member_status.py | 2 +- vrchatapi/models/group_my_member.py | 2 +- vrchatapi/models/group_permission.py | 2 +- vrchatapi/models/group_post.py | 422 ++++++++++++++++ vrchatapi/models/group_post_visibility.py | 111 ++++ vrchatapi/models/group_privacy.py | 2 +- vrchatapi/models/group_role.py | 2 +- vrchatapi/models/group_role_template.py | 2 +- vrchatapi/models/group_search_sort.py | 2 +- vrchatapi/models/group_user_visibility.py | 2 +- vrchatapi/models/info_push.py | 2 +- vrchatapi/models/info_push_data.py | 2 +- vrchatapi/models/info_push_data_article.py | 2 +- .../models/info_push_data_article_content.py | 2 +- vrchatapi/models/info_push_data_clickable.py | 2 +- vrchatapi/models/instance.py | 2 +- vrchatapi/models/instance_platforms.py | 2 +- .../models/instance_short_name_response.py | 2 +- vrchatapi/models/instance_type.py | 2 +- vrchatapi/models/invite_message.py | 2 +- vrchatapi/models/invite_message_type.py | 2 +- vrchatapi/models/invite_request.py | 2 +- vrchatapi/models/invite_response.py | 2 +- vrchatapi/models/license.py | 2 +- vrchatapi/models/license_action.py | 2 +- vrchatapi/models/license_group.py | 2 +- vrchatapi/models/license_type.py | 2 +- vrchatapi/models/limited_group.py | 2 +- vrchatapi/models/limited_unity_package.py | 2 +- vrchatapi/models/limited_user.py | 2 +- vrchatapi/models/limited_world.py | 2 +- vrchatapi/models/mime_type.py | 2 +- vrchatapi/models/moderate_user_request.py | 2 +- vrchatapi/models/notification.py | 2 +- vrchatapi/models/notification_type.py | 2 +- vrchatapi/models/order_option.py | 2 +- .../paginated_group_audit_log_entry_list.py | 2 +- vrchatapi/models/past_display_name.py | 2 +- vrchatapi/models/permission.py | 2 +- vrchatapi/models/player_moderation.py | 2 +- vrchatapi/models/player_moderation_type.py | 2 +- vrchatapi/models/region.py | 2 +- vrchatapi/models/release_status.py | 2 +- vrchatapi/models/represented_group.py | 2 +- vrchatapi/models/request_invite_request.py | 2 +- .../models/respond_group_join_request.py | 2 +- vrchatapi/models/response.py | 2 +- vrchatapi/models/sent_notification.py | 2 +- vrchatapi/models/sort_option.py | 2 +- vrchatapi/models/subscription.py | 2 +- vrchatapi/models/subscription_period.py | 2 +- vrchatapi/models/success.py | 2 +- vrchatapi/models/transaction.py | 2 +- vrchatapi/models/transaction_agreement.py | 2 +- vrchatapi/models/transaction_status.py | 2 +- vrchatapi/models/transaction_steam_info.py | 2 +- .../models/transaction_steam_wallet_info.py | 2 +- vrchatapi/models/two_factor_auth_code.py | 2 +- vrchatapi/models/two_factor_email_code.py | 2 +- vrchatapi/models/unity_package.py | 2 +- vrchatapi/models/update_avatar_request.py | 2 +- .../models/update_favorite_group_request.py | 2 +- .../models/update_group_gallery_request.py | 2 +- .../models/update_group_member_request.py | 2 +- vrchatapi/models/update_group_request.py | 2 +- vrchatapi/models/update_group_role_request.py | 2 +- .../models/update_invite_message_request.py | 2 +- vrchatapi/models/update_user_request.py | 2 +- vrchatapi/models/update_world_request.py | 2 +- vrchatapi/models/user.py | 2 +- vrchatapi/models/user_exists.py | 2 +- vrchatapi/models/user_state.py | 2 +- vrchatapi/models/user_status.py | 2 +- vrchatapi/models/user_subscription.py | 2 +- .../models/verify2_fa_email_code_result.py | 2 +- vrchatapi/models/verify2_fa_result.py | 2 +- vrchatapi/models/verify_auth_token_result.py | 2 +- vrchatapi/models/world.py | 2 +- vrchatapi/models/world_metadata.py | 2 +- vrchatapi/models/world_publish_status.py | 2 +- vrchatapi/rest.py | 2 +- 160 files changed, 1763 insertions(+), 185 deletions(-) create mode 100644 docs/CreateGroupPostRequest.md create mode 100644 docs/GroupPost.md create mode 100644 docs/GroupPostVisibility.md create mode 100644 vrchatapi/models/create_group_post_request.py create mode 100644 vrchatapi/models/group_post.py create mode 100644 vrchatapi/models/group_post_visibility.py diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index a78e38fc..33e29129 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -18,6 +18,7 @@ docs/CreateFileVersionRequest.md docs/CreateGroupAnnouncementRequest.md docs/CreateGroupGalleryRequest.md docs/CreateGroupInviteRequest.md +docs/CreateGroupPostRequest.md docs/CreateGroupRequest.md docs/CreateGroupRoleRequest.md docs/CreateWorldRequest.md @@ -58,6 +59,8 @@ docs/GroupMemberLimitedUser.md docs/GroupMemberStatus.md docs/GroupMyMember.md docs/GroupPermission.md +docs/GroupPost.md +docs/GroupPostVisibility.md docs/GroupPrivacy.md docs/GroupRole.md docs/GroupRoleTemplate.md @@ -186,6 +189,7 @@ vrchatapi/models/create_file_version_request.py vrchatapi/models/create_group_announcement_request.py vrchatapi/models/create_group_gallery_request.py vrchatapi/models/create_group_invite_request.py +vrchatapi/models/create_group_post_request.py vrchatapi/models/create_group_request.py vrchatapi/models/create_group_role_request.py vrchatapi/models/create_world_request.py @@ -222,6 +226,8 @@ vrchatapi/models/group_member_limited_user.py vrchatapi/models/group_member_status.py vrchatapi/models/group_my_member.py vrchatapi/models/group_permission.py +vrchatapi/models/group_post.py +vrchatapi/models/group_post_visibility.py vrchatapi/models/group_privacy.py vrchatapi/models/group_role.py vrchatapi/models/group_role_template.py diff --git a/docs/CreateGroupPostRequest.md b/docs/CreateGroupPostRequest.md new file mode 100644 index 00000000..7e07b6eb --- /dev/null +++ b/docs/CreateGroupPostRequest.md @@ -0,0 +1,16 @@ +# CreateGroupPostRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**title** | **str** | Post title | +**text** | **str** | Post text | +**image_id** | **str** | | [optional] +**send_notification** | **bool** | Send notification to group members. | [default to False] +**role_ids** | **list[str]** | | [optional] +**visibility** | [**GroupPostVisibility**](GroupPostVisibility.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GroupPost.md b/docs/GroupPost.md new file mode 100644 index 00000000..cefde906 --- /dev/null +++ b/docs/GroupPost.md @@ -0,0 +1,22 @@ +# GroupPost + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | | [optional] +**group_id** | **str** | | [optional] +**author_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] +**editor_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] +**visibility** | [**GroupPostVisibility**](GroupPostVisibility.md) | | [optional] +**role_id** | **list[str]** | | [optional] +**title** | **str** | | [optional] +**text** | **str** | | [optional] +**image_id** | **str** | | [optional] +**image_url** | **str** | | [optional] +**created_at** | **datetime** | | [optional] +**updated_at** | **datetime** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GroupPostVisibility.md b/docs/GroupPostVisibility.md new file mode 100644 index 00000000..a3448bec --- /dev/null +++ b/docs/GroupPostVisibility.md @@ -0,0 +1,10 @@ +# GroupPostVisibility + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GroupsApi.md b/docs/GroupsApi.md index 0a35302d..405c4a0a 100644 --- a/docs/GroupsApi.md +++ b/docs/GroupsApi.md @@ -6,6 +6,7 @@ Method | HTTP request | Description ------------- | ------------- | ------------- [**add_group_gallery_image**](GroupsApi.md#add_group_gallery_image) | **POST** /groups/{groupId}/galleries/{groupGalleryId}/images | Add Group Gallery Image [**add_group_member_role**](GroupsApi.md#add_group_member_role) | **PUT** /groups/{groupId}/members/{userId}/roles/{groupRoleId} | Add Role to GroupMember +[**add_group_post**](GroupsApi.md#add_group_post) | **POST** /groups/{groupId}/posts | Create a post in a Group [**ban_group_member**](GroupsApi.md#ban_group_member) | **POST** /groups/{groupId}/bans | Ban Group Member [**cancel_group_request**](GroupsApi.md#cancel_group_request) | **DELETE** /groups/{groupId}/requests | Cancel Group Join Request [**create_group**](GroupsApi.md#create_group) | **POST** /groups | Create Group @@ -18,6 +19,7 @@ Method | HTTP request | Description [**delete_group_gallery**](GroupsApi.md#delete_group_gallery) | **DELETE** /groups/{groupId}/galleries/{groupGalleryId} | Delete Group Gallery [**delete_group_gallery_image**](GroupsApi.md#delete_group_gallery_image) | **DELETE** /groups/{groupId}/galleries/{groupGalleryId}/images/{groupGalleryImageId} | Delete Group Gallery Image [**delete_group_invite**](GroupsApi.md#delete_group_invite) | **DELETE** /groups/{groupId}/invites/{userId} | Delete User Invite +[**delete_group_post**](GroupsApi.md#delete_group_post) | **DELETE** /groups/{groupId}/posts/{notificationId} | Delete a Group post [**delete_group_role**](GroupsApi.md#delete_group_role) | **DELETE** /groups/{groupId}/roles/{groupRoleId} | Delete Group Role [**get_group**](GroupsApi.md#get_group) | **GET** /groups/{groupId} | Get Group by ID [**get_group_announcements**](GroupsApi.md#get_group_announcements) | **GET** /groups/{groupId}/announcement | Get Group Announcement @@ -29,6 +31,7 @@ Method | HTTP request | Description [**get_group_member**](GroupsApi.md#get_group_member) | **GET** /groups/{groupId}/members/{userId} | Get Group Member [**get_group_members**](GroupsApi.md#get_group_members) | **GET** /groups/{groupId}/members | List Group Members [**get_group_permissions**](GroupsApi.md#get_group_permissions) | **GET** /groups/{groupId}/permissions | List Group Permissions +[**get_group_post**](GroupsApi.md#get_group_post) | **GET** /groups/{groupId}/posts | Get posts from a Group [**get_group_requests**](GroupsApi.md#get_group_requests) | **GET** /groups/{groupId}/requests | Get Group Join Requests [**get_group_roles**](GroupsApi.md#get_group_roles) | **GET** /groups/{groupId}/roles | Get Group Roles [**join_group**](GroupsApi.md#join_group) | **POST** /groups/{groupId}/join | Join Group @@ -202,6 +205,82 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **add_group_post** +> GroupPost add_group_post(group_id, create_group_post_request) + +Create a post in a Group + +Create a post in a Group. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +create_group_post_request = vrchatapi.CreateGroupPostRequest() # CreateGroupPostRequest | + + try: + # Create a post in a Group + api_response = api_instance.add_group_post(group_id, create_group_post_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->add_group_post: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **create_group_post_request** | [**CreateGroupPostRequest**](CreateGroupPostRequest.md)| | + +### Return type + +[**GroupPost**](GroupPost.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a GroupPost object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **ban_group_member** > GroupMember ban_group_member(group_id, ban_group_member_request) @@ -1116,7 +1195,85 @@ void (empty response body) | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | +**400** | Bad request error response when deleting a group invite | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_group_post** +> Success delete_group_post(group_id, notification_id) + +Delete a Group post + +Delete a Group post + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +notification_id = 'notification_id_example' # str | Must be a valid notification ID. + + try: + # Delete a Group post + api_response = api_instance.delete_group_post(group_id, notification_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->delete_group_post: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **notification_id** | **str**| Must be a valid notification ID. | + +### Return type + +[**Success**](Success.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Response after deleting a group post. | - | **401** | Error response due to missing auth cookie. | - | +**404** | Response after deleting a group post. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -1984,6 +2141,86 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_group_post** +> GroupPost get_group_post(group_id, n=n, offset=offset, public_only=public_only) + +Get posts from a Group + +Get posts from a Group + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +n = 60 # int | The number of objects to return. (optional) (default to 60) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) +public_only = True # bool | See public posts only. (optional) + + try: + # Get posts from a Group + api_response = api_instance.get_group_post(group_id, n=n, offset=offset, public_only=public_only) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->get_group_post: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + **public_only** | **bool**| See public posts only. | [optional] + +### Return type + +[**GroupPost**](GroupPost.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a GroupPost object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_group_requests** > list[GroupMember] get_group_requests(group_id, n=n, offset=offset) diff --git a/package-lock.json b/package-lock.json index c09a07ef..537f8838 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.13.2" + "@openapitools/openapi-generator-cli": "^2.13.4" } }, "node_modules/@lukeed/csprng": { @@ -17,13 +17,12 @@ } }, "node_modules/@nestjs/axios": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@nestjs/axios/-/axios-3.0.1.tgz", - "integrity": "sha512-VlOZhAGDmOoFdsmewn8AyClAdGpKXQQaY1+3PGB+g6ceurGIdTxZgRX3VXc1T6Zs60PedWjg3A82TDOB05mrzQ==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@nestjs/axios/-/axios-3.0.2.tgz", + "integrity": "sha512-Z6GuOUdNQjP7FX+OuV2Ybyamse+/e0BFdTWBX5JxpBDKA+YkdLynDgG6HTF04zy6e9zPa19UX0WA2VDoehwhXQ==", "peerDependencies": { "@nestjs/common": "^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0", "axios": "^1.3.1", - "reflect-metadata": "^0.1.12", "rxjs": "^6.0.0 || ^7.0.0" } }, @@ -110,16 +109,16 @@ } }, "node_modules/@openapitools/openapi-generator-cli": { - "version": "2.13.2", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.13.2.tgz", - "integrity": "sha512-Zxq1KQpxqZe55xSUAebY7RSKo1EgPFS37KY74skJRpicDyn/xg+2r0xB30UfE6WRGqaK2YJaJn0GPKbS2pwI1Q==", + "version": "2.13.4", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.13.4.tgz", + "integrity": "sha512-4JKyrk55ohQK2FcuZbPdNvxdyXD14jjOIvE8hYjJ+E1cHbRbfXQXbYnjTODFE52Gx8eAxz8C9icuhDYDLn7nww==", "hasInstallScript": true, "dependencies": { - "@nestjs/axios": "3.0.1", + "@nestjs/axios": "3.0.2", "@nestjs/common": "10.3.0", "@nestjs/core": "10.3.0", "@nuxtjs/opencollective": "0.3.2", - "axios": "1.6.5", + "axios": "1.6.8", "chalk": "4.1.2", "commander": "8.3.0", "compare-versions": "4.1.4", @@ -198,11 +197,11 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "node_modules/axios": { - "version": "1.6.5", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.5.tgz", - "integrity": "sha512-Ii012v05KEVuUoFWmMW/UQv9aRIc3ZwkWDcM+h5Il8izZCtRVpDUfwpoFf7eOtajT3QiGR4yDUx7lPqHJULgbg==", + "version": "1.6.8", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.8.tgz", + "integrity": "sha512-v/ZHtJDU39mDpyBoFVkETcd/uNdxrWRrg3bKpOKzXFA6Bvqopts6ALSMU3y6ijYxbw2B+wPrIv46egTzJXCLGQ==", "dependencies": { - "follow-redirects": "^1.15.4", + "follow-redirects": "^1.15.6", "form-data": "^4.0.0", "proxy-from-env": "^1.1.0" } @@ -559,9 +558,9 @@ } }, "node_modules/follow-redirects": { - "version": "1.15.5", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz", - "integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==", + "version": "1.15.6", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", + "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==", "funding": [ { "type": "individual", @@ -1229,9 +1228,9 @@ "integrity": "sha512-Z7C/xXCiGWsg0KuKsHTKJxbWhpI3Vs5GwLfOean7MGyVFGqdRgBbAjOCh6u4bbjPc/8MJ2pZmK/0DLdCbivLDA==" }, "@nestjs/axios": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@nestjs/axios/-/axios-3.0.1.tgz", - "integrity": "sha512-VlOZhAGDmOoFdsmewn8AyClAdGpKXQQaY1+3PGB+g6ceurGIdTxZgRX3VXc1T6Zs60PedWjg3A82TDOB05mrzQ==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@nestjs/axios/-/axios-3.0.2.tgz", + "integrity": "sha512-Z6GuOUdNQjP7FX+OuV2Ybyamse+/e0BFdTWBX5JxpBDKA+YkdLynDgG6HTF04zy6e9zPa19UX0WA2VDoehwhXQ==", "requires": {} }, "@nestjs/common": { @@ -1268,15 +1267,15 @@ } }, "@openapitools/openapi-generator-cli": { - "version": "2.13.2", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.13.2.tgz", - "integrity": "sha512-Zxq1KQpxqZe55xSUAebY7RSKo1EgPFS37KY74skJRpicDyn/xg+2r0xB30UfE6WRGqaK2YJaJn0GPKbS2pwI1Q==", + "version": "2.13.4", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.13.4.tgz", + "integrity": "sha512-4JKyrk55ohQK2FcuZbPdNvxdyXD14jjOIvE8hYjJ+E1cHbRbfXQXbYnjTODFE52Gx8eAxz8C9icuhDYDLn7nww==", "requires": { - "@nestjs/axios": "3.0.1", + "@nestjs/axios": "3.0.2", "@nestjs/common": "10.3.0", "@nestjs/core": "10.3.0", "@nuxtjs/opencollective": "0.3.2", - "axios": "1.6.5", + "axios": "1.6.8", "chalk": "4.1.2", "commander": "8.3.0", "compare-versions": "4.1.4", @@ -1327,11 +1326,11 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "axios": { - "version": "1.6.5", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.5.tgz", - "integrity": "sha512-Ii012v05KEVuUoFWmMW/UQv9aRIc3ZwkWDcM+h5Il8izZCtRVpDUfwpoFf7eOtajT3QiGR4yDUx7lPqHJULgbg==", + "version": "1.6.8", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.8.tgz", + "integrity": "sha512-v/ZHtJDU39mDpyBoFVkETcd/uNdxrWRrg3bKpOKzXFA6Bvqopts6ALSMU3y6ijYxbw2B+wPrIv46egTzJXCLGQ==", "requires": { - "follow-redirects": "^1.15.4", + "follow-redirects": "^1.15.6", "form-data": "^4.0.0", "proxy-from-env": "^1.1.0" } @@ -1581,9 +1580,9 @@ } }, "follow-redirects": { - "version": "1.15.5", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz", - "integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==" + "version": "1.15.6", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", + "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==" }, "form-data": { "version": "4.0.0", diff --git a/package.json b/package.json index 6ef45a37..1383dec7 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.13.2" + "@openapitools/openapi-generator-cli": "^2.13.4" } } diff --git a/setup.py b/setup.py index edc5aed6..cc619404 100644 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.17.1" +VERSION = "1.17.2" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 21feb3ce..ab2b2c6c 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,7 +6,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -60,6 +60,7 @@ from vrchatapi.models.create_group_announcement_request import CreateGroupAnnouncementRequest from vrchatapi.models.create_group_gallery_request import CreateGroupGalleryRequest from vrchatapi.models.create_group_invite_request import CreateGroupInviteRequest +from vrchatapi.models.create_group_post_request import CreateGroupPostRequest from vrchatapi.models.create_group_request import CreateGroupRequest from vrchatapi.models.create_group_role_request import CreateGroupRoleRequest from vrchatapi.models.create_world_request import CreateWorldRequest @@ -96,6 +97,8 @@ from vrchatapi.models.group_member_status import GroupMemberStatus from vrchatapi.models.group_my_member import GroupMyMember from vrchatapi.models.group_permission import GroupPermission +from vrchatapi.models.group_post import GroupPost +from vrchatapi.models.group_post_visibility import GroupPostVisibility from vrchatapi.models.group_privacy import GroupPrivacy from vrchatapi.models.group_role import GroupRole from vrchatapi.models.group_role_template import GroupRoleTemplate diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index e28522b3..6f05ad75 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index 57675ace..dd9afee8 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 797df1a8..948f19db 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index 5bb61ed9..ce1bd174 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index cbbe22e1..ec5dc343 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index c52bdfab..e22f473b 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index 966b0e81..33406f36 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -362,6 +362,162 @@ def add_group_member_role_with_http_info(self, group_id, user_id, group_role_id, collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def add_group_post(self, group_id, create_group_post_request, **kwargs): # noqa: E501 + """Create a post in a Group # noqa: E501 + + Create a post in a Group. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.add_group_post(group_id, create_group_post_request, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param create_group_post_request: (required) + :type create_group_post_request: CreateGroupPostRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: GroupPost + """ + kwargs['_return_http_data_only'] = True + return self.add_group_post_with_http_info(group_id, create_group_post_request, **kwargs) # noqa: E501 + + def add_group_post_with_http_info(self, group_id, create_group_post_request, **kwargs): # noqa: E501 + """Create a post in a Group # noqa: E501 + + Create a post in a Group. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.add_group_post_with_http_info(group_id, create_group_post_request, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param create_group_post_request: (required) + :type create_group_post_request: CreateGroupPostRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(GroupPost, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id', + 'create_group_post_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method add_group_post" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `add_group_post`") # noqa: E501 + # verify the required parameter 'create_group_post_request' is set + if self.api_client.client_side_validation and local_var_params.get('create_group_post_request') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `create_group_post_request` when calling `add_group_post`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'create_group_post_request' in local_var_params: + body_params = local_var_params['create_group_post_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "GroupPost", + 401: "Error", + } + + return self.api_client.call_api( + '/groups/{groupId}/posts', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def ban_group_member(self, group_id, ban_group_member_request, **kwargs): # noqa: E501 """Ban Group Member # noqa: E501 @@ -2157,6 +2313,155 @@ def delete_group_invite_with_http_info(self, group_id, user_id, **kwargs): # no collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def delete_group_post(self, group_id, notification_id, **kwargs): # noqa: E501 + """Delete a Group post # noqa: E501 + + Delete a Group post # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_group_post(group_id, notification_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param notification_id: Must be a valid notification ID. (required) + :type notification_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Success + """ + kwargs['_return_http_data_only'] = True + return self.delete_group_post_with_http_info(group_id, notification_id, **kwargs) # noqa: E501 + + def delete_group_post_with_http_info(self, group_id, notification_id, **kwargs): # noqa: E501 + """Delete a Group post # noqa: E501 + + Delete a Group post # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_group_post_with_http_info(group_id, notification_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param notification_id: Must be a valid notification ID. (required) + :type notification_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Success, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id', + 'notification_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_group_post" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `delete_group_post`") # noqa: E501 + # verify the required parameter 'notification_id' is set + if self.api_client.client_side_validation and local_var_params.get('notification_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `notification_id` when calling `delete_group_post`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + if 'notification_id' in local_var_params: + path_params['notificationId'] = local_var_params['notification_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "Success", + 401: "Error", + 404: "Success", + } + + return self.api_client.call_api( + '/groups/{groupId}/posts/{notificationId}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def delete_group_role(self, group_id, group_role_id, **kwargs): # noqa: E501 """Delete Group Role # noqa: E501 @@ -3854,6 +4159,171 @@ def get_group_permissions_with_http_info(self, group_id, **kwargs): # noqa: E50 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def get_group_post(self, group_id, **kwargs): # noqa: E501 + """Get posts from a Group # noqa: E501 + + Get posts from a Group # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_post(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param public_only: See public posts only. + :type public_only: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: GroupPost + """ + kwargs['_return_http_data_only'] = True + return self.get_group_post_with_http_info(group_id, **kwargs) # noqa: E501 + + def get_group_post_with_http_info(self, group_id, **kwargs): # noqa: E501 + """Get posts from a Group # noqa: E501 + + Get posts from a Group # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_post_with_http_info(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param public_only: See public posts only. + :type public_only: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(GroupPost, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id', + 'n', + 'offset', + 'public_only' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_group_post" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_post`") # noqa: E501 + + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_group_post`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_group_post`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_group_post`, must be a value greater than or equal to `0`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + + query_params = [] + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + if local_var_params.get('public_only') is not None: # noqa: E501 + query_params.append(('publicOnly', local_var_params['public_only'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "GroupPost", + 401: "Error", + } + + return self.api_client.call_api( + '/groups/{groupId}/posts', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def get_group_requests(self, group_id, **kwargs): # noqa: E501 """Get Group Join Requests # noqa: E501 diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 6073820a..45b63df1 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index b6b177e2..557cc385 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index 1478d096..6bab4f7d 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index fa1b5bd8..ac39a568 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index 0e4013ad..13aecc31 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index 909fcea8..e07cde7a 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index 02731c2d..79fe8197 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 88532423..ff9c037f 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index 61e4404a..516addba 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,7 +3,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index 6e3a2d59..6b38362d 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -441,7 +441,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.17.1\n"\ + "Version of the API: 1.17.2\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index c713dfe1..1202a43e 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index 580cbae6..42af60a3 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,7 +5,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -31,6 +31,7 @@ from vrchatapi.models.create_group_announcement_request import CreateGroupAnnouncementRequest from vrchatapi.models.create_group_gallery_request import CreateGroupGalleryRequest from vrchatapi.models.create_group_invite_request import CreateGroupInviteRequest +from vrchatapi.models.create_group_post_request import CreateGroupPostRequest from vrchatapi.models.create_group_request import CreateGroupRequest from vrchatapi.models.create_group_role_request import CreateGroupRoleRequest from vrchatapi.models.create_world_request import CreateWorldRequest @@ -67,6 +68,8 @@ from vrchatapi.models.group_member_status import GroupMemberStatus from vrchatapi.models.group_my_member import GroupMyMember from vrchatapi.models.group_permission import GroupPermission +from vrchatapi.models.group_post import GroupPost +from vrchatapi.models.group_post_visibility import GroupPostVisibility from vrchatapi.models.group_privacy import GroupPrivacy from vrchatapi.models.group_role import GroupRole from vrchatapi.models.group_role_template import GroupRoleTemplate diff --git a/vrchatapi/models/account_deletion_log.py b/vrchatapi/models/account_deletion_log.py index 399ad21b..341b4b0f 100644 --- a/vrchatapi/models/account_deletion_log.py +++ b/vrchatapi/models/account_deletion_log.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index 685f4361..0668b082 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index dab9c328..ee8f715e 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index 5826d983..9c94bde7 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index 08356ed2..9b3adc23 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index 33758eab..7e5325f5 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index d3311588..3c975de5 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index 344e6655..a1afb7a9 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index d37bb8fd..83a1d83d 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index 251c3e01..9c9e9844 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index 86c56bf3..0b8292bc 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index afbd4d12..6fc684ee 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index 760ca463..ae23553e 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index 50ab2b42..1c0abaf5 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index 4a025fd7..d3dece46 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index d8b267e6..e0435ca7 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index 9e367138..fe4caec0 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_post_request.py b/vrchatapi/models/create_group_post_request.py new file mode 100644 index 00000000..c2345e1d --- /dev/null +++ b/vrchatapi/models/create_group_post_request.py @@ -0,0 +1,279 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.17.2 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class CreateGroupPostRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'title': 'str', + 'text': 'str', + 'image_id': 'str', + 'send_notification': 'bool', + 'role_ids': 'list[str]', + 'visibility': 'GroupPostVisibility' + } + + attribute_map = { + 'title': 'title', + 'text': 'text', + 'image_id': 'imageId', + 'send_notification': 'sendNotification', + 'role_ids': 'roleIds', + 'visibility': 'visibility' + } + + def __init__(self, title=None, text=None, image_id=None, send_notification=False, role_ids=None, visibility=None, local_vars_configuration=None): # noqa: E501 + """CreateGroupPostRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._title = None + self._text = None + self._image_id = None + self._send_notification = None + self._role_ids = None + self._visibility = None + self.discriminator = None + + self.title = title + self.text = text + if image_id is not None: + self.image_id = image_id + self.send_notification = send_notification + if role_ids is not None: + self.role_ids = role_ids + self.visibility = visibility + + @property + def title(self): + """Gets the title of this CreateGroupPostRequest. # noqa: E501 + + Post title # noqa: E501 + + :return: The title of this CreateGroupPostRequest. # noqa: E501 + :rtype: str + """ + return self._title + + @title.setter + def title(self, title): + """Sets the title of this CreateGroupPostRequest. + + Post title # noqa: E501 + + :param title: The title of this CreateGroupPostRequest. # noqa: E501 + :type title: str + """ + if self.local_vars_configuration.client_side_validation and title is None: # noqa: E501 + raise ValueError("Invalid value for `title`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + title is not None and len(title) < 1): + raise ValueError("Invalid value for `title`, length must be greater than or equal to `1`") # noqa: E501 + + self._title = title + + @property + def text(self): + """Gets the text of this CreateGroupPostRequest. # noqa: E501 + + Post text # noqa: E501 + + :return: The text of this CreateGroupPostRequest. # noqa: E501 + :rtype: str + """ + return self._text + + @text.setter + def text(self, text): + """Sets the text of this CreateGroupPostRequest. + + Post text # noqa: E501 + + :param text: The text of this CreateGroupPostRequest. # noqa: E501 + :type text: str + """ + if self.local_vars_configuration.client_side_validation and text is None: # noqa: E501 + raise ValueError("Invalid value for `text`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + text is not None and len(text) < 1): + raise ValueError("Invalid value for `text`, length must be greater than or equal to `1`") # noqa: E501 + + self._text = text + + @property + def image_id(self): + """Gets the image_id of this CreateGroupPostRequest. # noqa: E501 + + + :return: The image_id of this CreateGroupPostRequest. # noqa: E501 + :rtype: str + """ + return self._image_id + + @image_id.setter + def image_id(self, image_id): + """Sets the image_id of this CreateGroupPostRequest. + + + :param image_id: The image_id of this CreateGroupPostRequest. # noqa: E501 + :type image_id: str + """ + + self._image_id = image_id + + @property + def send_notification(self): + """Gets the send_notification of this CreateGroupPostRequest. # noqa: E501 + + Send notification to group members. # noqa: E501 + + :return: The send_notification of this CreateGroupPostRequest. # noqa: E501 + :rtype: bool + """ + return self._send_notification + + @send_notification.setter + def send_notification(self, send_notification): + """Sets the send_notification of this CreateGroupPostRequest. + + Send notification to group members. # noqa: E501 + + :param send_notification: The send_notification of this CreateGroupPostRequest. # noqa: E501 + :type send_notification: bool + """ + if self.local_vars_configuration.client_side_validation and send_notification is None: # noqa: E501 + raise ValueError("Invalid value for `send_notification`, must not be `None`") # noqa: E501 + + self._send_notification = send_notification + + @property + def role_ids(self): + """Gets the role_ids of this CreateGroupPostRequest. # noqa: E501 + + # noqa: E501 + + :return: The role_ids of this CreateGroupPostRequest. # noqa: E501 + :rtype: list[str] + """ + return self._role_ids + + @role_ids.setter + def role_ids(self, role_ids): + """Sets the role_ids of this CreateGroupPostRequest. + + # noqa: E501 + + :param role_ids: The role_ids of this CreateGroupPostRequest. # noqa: E501 + :type role_ids: list[str] + """ + + self._role_ids = role_ids + + @property + def visibility(self): + """Gets the visibility of this CreateGroupPostRequest. # noqa: E501 + + + :return: The visibility of this CreateGroupPostRequest. # noqa: E501 + :rtype: GroupPostVisibility + """ + return self._visibility + + @visibility.setter + def visibility(self, visibility): + """Sets the visibility of this CreateGroupPostRequest. + + + :param visibility: The visibility of this CreateGroupPostRequest. # noqa: E501 + :type visibility: GroupPostVisibility + """ + if self.local_vars_configuration.client_side_validation and visibility is None: # noqa: E501 + raise ValueError("Invalid value for `visibility`, must not be `None`") # noqa: E501 + + self._visibility = visibility + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CreateGroupPostRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, CreateGroupPostRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index 0a23794a..05648cff 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index 95fee820..a9855971 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index 773368a4..86e33453 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index 5e4b84ef..22ed949a 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user_presence.py b/vrchatapi/models/current_user_presence.py index fcbf95b9..d4e73ae3 100644 --- a/vrchatapi/models/current_user_presence.py +++ b/vrchatapi/models/current_user_presence.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/deployment_group.py b/vrchatapi/models/deployment_group.py index 846d1a1e..b2c9776a 100644 --- a/vrchatapi/models/deployment_group.py +++ b/vrchatapi/models/deployment_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index 9f87869c..00e4a3cd 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index 3639ba11..8862458d 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index 0c8ecbdf..8b904993 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index 1aa18b7a..b6bea315 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index 0823045b..4179fb0b 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index a288df18..6e5a4b06 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index 9360733e..426a64f2 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index 765f1134..5eef1a1b 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index 5517e4aa..ddecd9c7 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index 00fe9fdb..2a278331 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index f1422236..d6a5cdce 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index 05c73e8a..47036fe9 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index 6e233721..bfaccfcc 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index 3b3c8345..d06b9222 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index fff7b831..8ea2595b 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index 461c69bb..1438229a 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_access_type.py b/vrchatapi/models/group_access_type.py index bbb66c10..122be8c9 100644 --- a/vrchatapi/models/group_access_type.py +++ b/vrchatapi/models/group_access_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index a0e78ff2..9ef11852 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index 6b3e6b8c..24ba1f0a 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index e610839d..860e0931 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index 16927a44..d7a120df 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_instance.py b/vrchatapi/models/group_instance.py index 807ae9a3..399257cb 100644 --- a/vrchatapi/models/group_instance.py +++ b/vrchatapi/models/group_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_request_action.py b/vrchatapi/models/group_join_request_action.py index 3d88d438..264abef8 100644 --- a/vrchatapi/models/group_join_request_action.py +++ b/vrchatapi/models/group_join_request_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index 26eda584..3ae34cdd 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index 90f59384..0e450cf1 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index 70ba43f0..37f40528 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index 24dced59..bc961260 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index 4c992244..18fd634b 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index 0a2a525e..abbbad63 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index e342e5fd..fcbf015a 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post.py b/vrchatapi/models/group_post.py new file mode 100644 index 00000000..17111a9a --- /dev/null +++ b/vrchatapi/models/group_post.py @@ -0,0 +1,422 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.17.2 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class GroupPost(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'id': 'str', + 'group_id': 'str', + 'author_id': 'str', + 'editor_id': 'str', + 'visibility': 'GroupPostVisibility', + 'role_id': 'list[str]', + 'title': 'str', + 'text': 'str', + 'image_id': 'str', + 'image_url': 'str', + 'created_at': 'datetime', + 'updated_at': 'datetime' + } + + attribute_map = { + 'id': 'id', + 'group_id': 'groupId', + 'author_id': 'authorId', + 'editor_id': 'editorId', + 'visibility': 'visibility', + 'role_id': 'roleId', + 'title': 'title', + 'text': 'text', + 'image_id': 'imageId', + 'image_url': 'imageUrl', + 'created_at': 'createdAt', + 'updated_at': 'updatedAt' + } + + def __init__(self, id=None, group_id=None, author_id=None, editor_id=None, visibility=None, role_id=None, title=None, text=None, image_id=None, image_url=None, created_at=None, updated_at=None, local_vars_configuration=None): # noqa: E501 + """GroupPost - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._id = None + self._group_id = None + self._author_id = None + self._editor_id = None + self._visibility = None + self._role_id = None + self._title = None + self._text = None + self._image_id = None + self._image_url = None + self._created_at = None + self._updated_at = None + self.discriminator = None + + if id is not None: + self.id = id + if group_id is not None: + self.group_id = group_id + if author_id is not None: + self.author_id = author_id + if editor_id is not None: + self.editor_id = editor_id + if visibility is not None: + self.visibility = visibility + if role_id is not None: + self.role_id = role_id + if title is not None: + self.title = title + if text is not None: + self.text = text + if image_id is not None: + self.image_id = image_id + self.image_url = image_url + if created_at is not None: + self.created_at = created_at + if updated_at is not None: + self.updated_at = updated_at + + @property + def id(self): + """Gets the id of this GroupPost. # noqa: E501 + + + :return: The id of this GroupPost. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this GroupPost. + + + :param id: The id of this GroupPost. # noqa: E501 + :type id: str + """ + + self._id = id + + @property + def group_id(self): + """Gets the group_id of this GroupPost. # noqa: E501 + + + :return: The group_id of this GroupPost. # noqa: E501 + :rtype: str + """ + return self._group_id + + @group_id.setter + def group_id(self, group_id): + """Sets the group_id of this GroupPost. + + + :param group_id: The group_id of this GroupPost. # noqa: E501 + :type group_id: str + """ + + self._group_id = group_id + + @property + def author_id(self): + """Gets the author_id of this GroupPost. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The author_id of this GroupPost. # noqa: E501 + :rtype: str + """ + return self._author_id + + @author_id.setter + def author_id(self, author_id): + """Sets the author_id of this GroupPost. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param author_id: The author_id of this GroupPost. # noqa: E501 + :type author_id: str + """ + + self._author_id = author_id + + @property + def editor_id(self): + """Gets the editor_id of this GroupPost. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The editor_id of this GroupPost. # noqa: E501 + :rtype: str + """ + return self._editor_id + + @editor_id.setter + def editor_id(self, editor_id): + """Sets the editor_id of this GroupPost. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param editor_id: The editor_id of this GroupPost. # noqa: E501 + :type editor_id: str + """ + + self._editor_id = editor_id + + @property + def visibility(self): + """Gets the visibility of this GroupPost. # noqa: E501 + + + :return: The visibility of this GroupPost. # noqa: E501 + :rtype: GroupPostVisibility + """ + return self._visibility + + @visibility.setter + def visibility(self, visibility): + """Sets the visibility of this GroupPost. + + + :param visibility: The visibility of this GroupPost. # noqa: E501 + :type visibility: GroupPostVisibility + """ + + self._visibility = visibility + + @property + def role_id(self): + """Gets the role_id of this GroupPost. # noqa: E501 + + # noqa: E501 + + :return: The role_id of this GroupPost. # noqa: E501 + :rtype: list[str] + """ + return self._role_id + + @role_id.setter + def role_id(self, role_id): + """Sets the role_id of this GroupPost. + + # noqa: E501 + + :param role_id: The role_id of this GroupPost. # noqa: E501 + :type role_id: list[str] + """ + + self._role_id = role_id + + @property + def title(self): + """Gets the title of this GroupPost. # noqa: E501 + + + :return: The title of this GroupPost. # noqa: E501 + :rtype: str + """ + return self._title + + @title.setter + def title(self, title): + """Sets the title of this GroupPost. + + + :param title: The title of this GroupPost. # noqa: E501 + :type title: str + """ + + self._title = title + + @property + def text(self): + """Gets the text of this GroupPost. # noqa: E501 + + + :return: The text of this GroupPost. # noqa: E501 + :rtype: str + """ + return self._text + + @text.setter + def text(self, text): + """Sets the text of this GroupPost. + + + :param text: The text of this GroupPost. # noqa: E501 + :type text: str + """ + + self._text = text + + @property + def image_id(self): + """Gets the image_id of this GroupPost. # noqa: E501 + + + :return: The image_id of this GroupPost. # noqa: E501 + :rtype: str + """ + return self._image_id + + @image_id.setter + def image_id(self, image_id): + """Sets the image_id of this GroupPost. + + + :param image_id: The image_id of this GroupPost. # noqa: E501 + :type image_id: str + """ + + self._image_id = image_id + + @property + def image_url(self): + """Gets the image_url of this GroupPost. # noqa: E501 + + + :return: The image_url of this GroupPost. # noqa: E501 + :rtype: str + """ + return self._image_url + + @image_url.setter + def image_url(self, image_url): + """Sets the image_url of this GroupPost. + + + :param image_url: The image_url of this GroupPost. # noqa: E501 + :type image_url: str + """ + + self._image_url = image_url + + @property + def created_at(self): + """Gets the created_at of this GroupPost. # noqa: E501 + + + :return: The created_at of this GroupPost. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this GroupPost. + + + :param created_at: The created_at of this GroupPost. # noqa: E501 + :type created_at: datetime + """ + + self._created_at = created_at + + @property + def updated_at(self): + """Gets the updated_at of this GroupPost. # noqa: E501 + + + :return: The updated_at of this GroupPost. # noqa: E501 + :rtype: datetime + """ + return self._updated_at + + @updated_at.setter + def updated_at(self, updated_at): + """Sets the updated_at of this GroupPost. + + + :param updated_at: The updated_at of this GroupPost. # noqa: E501 + :type updated_at: datetime + """ + + self._updated_at = updated_at + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GroupPost): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GroupPost): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/group_post_visibility.py b/vrchatapi/models/group_post_visibility.py new file mode 100644 index 00000000..9b089db8 --- /dev/null +++ b/vrchatapi/models/group_post_visibility.py @@ -0,0 +1,111 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.17.2 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class GroupPostVisibility(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + GROUP = "group" + PUBLIC = "public" + + allowable_values = [GROUP, PUBLIC] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """GroupPostVisibility - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GroupPostVisibility): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GroupPostVisibility): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index d6389d4c..ee7dcdca 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index de7a3bb0..59d9b586 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index 694bba9f..1fb2e65d 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_search_sort.py b/vrchatapi/models/group_search_sort.py index 3c3e61de..aff56421 100644 --- a/vrchatapi/models/group_search_sort.py +++ b/vrchatapi/models/group_search_sort.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index 6a005eb2..7f1f09b2 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index 8e1cb342..d5003455 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index 3d31cb4a..982120f2 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index dcd733e1..78f97d53 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index 385a4112..1a352c75 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index d854b934..e2181f7b 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index 5d4377dd..1f9b7348 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index 7f4329b3..5f9d2967 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index 1ae746c0..a9db9d99 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index 99c5dd6f..880318d7 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index b6870d2e..8d2d95eb 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index 876566d5..5dc94521 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index 0e86ac6a..1586b39f 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index 01d13288..be2c5eba 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index d2703d9d..e4d04c1b 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index 8be17c73..fe4f9fe8 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index 4a92a92f..3f7db24e 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index 03da1aa4..3eecc157 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_group.py b/vrchatapi/models/limited_group.py index 73683240..b3ad9929 100644 --- a/vrchatapi/models/limited_group.py +++ b/vrchatapi/models/limited_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index 9cbc0adc..78cf78df 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user.py b/vrchatapi/models/limited_user.py index 410c8cd2..26335cfc 100644 --- a/vrchatapi/models/limited_user.py +++ b/vrchatapi/models/limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index f2bcca9d..414693c7 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index e03272dd..a9dc7b85 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index 027b406b..b1c8890b 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index 9c4fe102..5bd01e85 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index e4af4a9a..9108a717 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index d39ceffa..9dd3939d 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index dbc7a3ef..51f01c2c 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index 1175cd52..84dda8e6 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index 1ba130d2..f067a8bd 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index 72e7a0f9..963dfee1 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index 3ff22752..b6b4ed51 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index cf71c19e..67bc09cf 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index 4a6684c2..50c082c6 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/represented_group.py b/vrchatapi/models/represented_group.py index cd1f898a..fbedf727 100644 --- a/vrchatapi/models/represented_group.py +++ b/vrchatapi/models/represented_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index d59275a9..83c81087 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index de2025b5..45e18f8b 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index 387eca22..e3173584 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index 87e55f61..6335fa59 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index 22127fb6..c050eaba 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index e3e269bc..64a7d319 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index 9b41b5ab..8b3d2a28 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index bba453b1..ac6458aa 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index 27bf112b..a25d6304 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index 468e2366..b53d4dc4 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index ad08b77b..576329e3 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index 3a68a08e..4205ef6e 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index 0a3a6b91..9900680d 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index 98bd2cb6..5176bb8b 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_email_code.py b/vrchatapi/models/two_factor_email_code.py index 6c769ffa..e6a65652 100644 --- a/vrchatapi/models/two_factor_email_code.py +++ b/vrchatapi/models/two_factor_email_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index ea3729ef..fa519963 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index 81e7214d..c42a6e46 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index 99096692..93dd2ca0 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index 4ddd001f..f4eb7cfd 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index 8df315b5..8e3d6ed0 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index 8652a800..a57b5707 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index e3ac1dac..abd1a4f0 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index 19b65008..eda77f52 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index 6b96d30b..a437cc59 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index 93a5ef76..c0b61be5 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index acef5d4b..8f9877a2 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index 1f83be0f..8c3ebf91 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index 3ceea7d0..ee452805 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index 110a1cf4..a457876b 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index b52b5483..d2f1bf0c 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_email_code_result.py b/vrchatapi/models/verify2_fa_email_code_result.py index aa2f57b1..18b7ee83 100644 --- a/vrchatapi/models/verify2_fa_email_code_result.py +++ b/vrchatapi/models/verify2_fa_email_code_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index 2370ef5f..be1ca17f 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index 8c9c7b69..896dc857 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index 3a3cd1b5..41cdd0a2 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index d7d7e94a..663df54a 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index a236cbc7..5b48af04 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index 731a0449..dfc3b8ff 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.1 + The version of the OpenAPI document: 1.17.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ From e2aa4c6478fda6570c1636bcdc82ce9e6778e637 Mon Sep 17 00:00:00 2001 From: VRCCat Date: Mon, 29 Apr 2024 22:00:38 +0000 Subject: [PATCH 050/102] Upgrade Python SDK to spec 1.17.3 --- .openapi-generator/FILES | 12 + docs/CreateInstanceRequest.md | 18 + docs/GroupsApi.md | 80 +++++ docs/InstancesApi.md | 83 ++++- docs/NotificationDetailInvite.md | 13 + docs/NotificationDetailInviteResponse.md | 12 + docs/NotificationDetailRequestInvite.md | 12 + ...NotificationDetailRequestInviteResponse.md | 12 + docs/NotificationDetailVoteToKick.md | 12 + docs/UsersApi.md | 6 +- setup.py | 4 +- vrchatapi/__init__.py | 8 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/groups_api.py | 169 ++++++++- vrchatapi/api/instances_api.py | 161 ++++++++- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 8 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 +- vrchatapi/exceptions.py | 2 +- vrchatapi/models/__init__.py | 8 +- vrchatapi/models/account_deletion_log.py | 2 +- vrchatapi/models/add_favorite_request.py | 2 +- .../models/add_group_gallery_image_request.py | 2 +- vrchatapi/models/api_config.py | 2 +- vrchatapi/models/api_config_announcement.py | 2 +- .../models/api_config_download_url_list.py | 2 +- vrchatapi/models/api_config_events.py | 2 +- vrchatapi/models/api_health.py | 2 +- vrchatapi/models/avatar.py | 2 +- .../models/avatar_unity_package_url_object.py | 2 +- vrchatapi/models/ban_group_member_request.py | 2 +- vrchatapi/models/create_avatar_request.py | 2 +- vrchatapi/models/create_file_request.py | 2 +- .../models/create_file_version_request.py | 2 +- .../create_group_announcement_request.py | 2 +- .../models/create_group_gallery_request.py | 2 +- .../models/create_group_invite_request.py | 2 +- vrchatapi/models/create_group_post_request.py | 2 +- vrchatapi/models/create_group_request.py | 2 +- vrchatapi/models/create_group_role_request.py | 2 +- vrchatapi/models/create_instance_request.py | 323 ++++++++++++++++++ vrchatapi/models/create_world_request.py | 2 +- vrchatapi/models/current_user.py | 2 +- vrchatapi/models/current_user_presence.py | 2 +- vrchatapi/models/deployment_group.py | 2 +- vrchatapi/models/developer_type.py | 2 +- vrchatapi/models/dynamic_content_row.py | 2 +- vrchatapi/models/error.py | 2 +- vrchatapi/models/favorite.py | 2 +- vrchatapi/models/favorite_group.py | 2 +- vrchatapi/models/favorite_group_visibility.py | 2 +- vrchatapi/models/favorite_type.py | 2 +- vrchatapi/models/file.py | 2 +- vrchatapi/models/file_data.py | 2 +- vrchatapi/models/file_status.py | 2 +- vrchatapi/models/file_upload_url.py | 2 +- vrchatapi/models/file_version.py | 2 +- .../models/file_version_upload_status.py | 2 +- .../models/finish_file_data_upload_request.py | 2 +- vrchatapi/models/friend_status.py | 2 +- vrchatapi/models/group.py | 2 +- vrchatapi/models/group_access_type.py | 2 +- vrchatapi/models/group_announcement.py | 2 +- vrchatapi/models/group_audit_log_entry.py | 2 +- vrchatapi/models/group_gallery.py | 2 +- vrchatapi/models/group_gallery_image.py | 2 +- vrchatapi/models/group_instance.py | 2 +- vrchatapi/models/group_join_request_action.py | 2 +- vrchatapi/models/group_join_state.py | 2 +- vrchatapi/models/group_limited_member.py | 2 +- vrchatapi/models/group_member.py | 2 +- vrchatapi/models/group_member_limited_user.py | 2 +- vrchatapi/models/group_member_status.py | 2 +- vrchatapi/models/group_my_member.py | 2 +- vrchatapi/models/group_permission.py | 2 +- vrchatapi/models/group_post.py | 2 +- vrchatapi/models/group_post_visibility.py | 2 +- vrchatapi/models/group_privacy.py | 2 +- vrchatapi/models/group_role.py | 2 +- vrchatapi/models/group_role_template.py | 2 +- vrchatapi/models/group_search_sort.py | 2 +- vrchatapi/models/group_user_visibility.py | 2 +- vrchatapi/models/info_push.py | 2 +- vrchatapi/models/info_push_data.py | 2 +- vrchatapi/models/info_push_data_article.py | 2 +- .../models/info_push_data_article_content.py | 2 +- vrchatapi/models/info_push_data_clickable.py | 2 +- vrchatapi/models/instance.py | 2 +- vrchatapi/models/instance_platforms.py | 2 +- .../models/instance_short_name_response.py | 2 +- vrchatapi/models/instance_type.py | 2 +- vrchatapi/models/invite_message.py | 2 +- vrchatapi/models/invite_message_type.py | 2 +- vrchatapi/models/invite_request.py | 2 +- vrchatapi/models/invite_response.py | 2 +- vrchatapi/models/license.py | 2 +- vrchatapi/models/license_action.py | 2 +- vrchatapi/models/license_group.py | 2 +- vrchatapi/models/license_type.py | 2 +- vrchatapi/models/limited_group.py | 2 +- vrchatapi/models/limited_unity_package.py | 2 +- vrchatapi/models/limited_user.py | 2 +- vrchatapi/models/limited_world.py | 2 +- vrchatapi/models/mime_type.py | 2 +- vrchatapi/models/moderate_user_request.py | 2 +- vrchatapi/models/notification.py | 2 +- .../models/notification_detail_invite.py | 187 ++++++++++ .../notification_detail_invite_response.py | 159 +++++++++ .../notification_detail_request_invite.py | 161 +++++++++ ...fication_detail_request_invite_response.py | 160 +++++++++ .../notification_detail_vote_to_kick.py | 163 +++++++++ vrchatapi/models/notification_type.py | 2 +- vrchatapi/models/order_option.py | 2 +- .../paginated_group_audit_log_entry_list.py | 2 +- vrchatapi/models/past_display_name.py | 2 +- vrchatapi/models/permission.py | 2 +- vrchatapi/models/player_moderation.py | 2 +- vrchatapi/models/player_moderation_type.py | 2 +- vrchatapi/models/region.py | 2 +- vrchatapi/models/release_status.py | 2 +- vrchatapi/models/represented_group.py | 2 +- vrchatapi/models/request_invite_request.py | 2 +- .../models/respond_group_join_request.py | 2 +- vrchatapi/models/response.py | 2 +- vrchatapi/models/sent_notification.py | 2 +- vrchatapi/models/sort_option.py | 2 +- vrchatapi/models/subscription.py | 2 +- vrchatapi/models/subscription_period.py | 2 +- vrchatapi/models/success.py | 2 +- vrchatapi/models/transaction.py | 2 +- vrchatapi/models/transaction_agreement.py | 2 +- vrchatapi/models/transaction_status.py | 2 +- vrchatapi/models/transaction_steam_info.py | 2 +- .../models/transaction_steam_wallet_info.py | 2 +- vrchatapi/models/two_factor_auth_code.py | 2 +- vrchatapi/models/two_factor_email_code.py | 2 +- vrchatapi/models/unity_package.py | 2 +- vrchatapi/models/update_avatar_request.py | 2 +- .../models/update_favorite_group_request.py | 2 +- .../models/update_group_gallery_request.py | 2 +- .../models/update_group_member_request.py | 2 +- vrchatapi/models/update_group_request.py | 2 +- vrchatapi/models/update_group_role_request.py | 2 +- .../models/update_invite_message_request.py | 2 +- vrchatapi/models/update_user_request.py | 2 +- vrchatapi/models/update_world_request.py | 2 +- vrchatapi/models/user.py | 2 +- vrchatapi/models/user_exists.py | 2 +- vrchatapi/models/user_state.py | 2 +- vrchatapi/models/user_status.py | 2 +- vrchatapi/models/user_subscription.py | 2 +- .../models/verify2_fa_email_code_result.py | 2 +- vrchatapi/models/verify2_fa_result.py | 2 +- vrchatapi/models/verify_auth_token_result.py | 2 +- vrchatapi/models/world.py | 2 +- vrchatapi/models/world_metadata.py | 2 +- vrchatapi/models/world_publish_status.py | 2 +- vrchatapi/rest.py | 2 +- 169 files changed, 1900 insertions(+), 167 deletions(-) create mode 100644 docs/CreateInstanceRequest.md create mode 100644 docs/NotificationDetailInvite.md create mode 100644 docs/NotificationDetailInviteResponse.md create mode 100644 docs/NotificationDetailRequestInvite.md create mode 100644 docs/NotificationDetailRequestInviteResponse.md create mode 100644 docs/NotificationDetailVoteToKick.md create mode 100644 vrchatapi/models/create_instance_request.py create mode 100644 vrchatapi/models/notification_detail_invite.py create mode 100644 vrchatapi/models/notification_detail_invite_response.py create mode 100644 vrchatapi/models/notification_detail_request_invite.py create mode 100644 vrchatapi/models/notification_detail_request_invite_response.py create mode 100644 vrchatapi/models/notification_detail_vote_to_kick.py diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 33e29129..58cb2b55 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -21,6 +21,7 @@ docs/CreateGroupInviteRequest.md docs/CreateGroupPostRequest.md docs/CreateGroupRequest.md docs/CreateGroupRoleRequest.md +docs/CreateInstanceRequest.md docs/CreateWorldRequest.md docs/CurrentUser.md docs/CurrentUserPresence.md @@ -93,6 +94,11 @@ docs/LimitedWorld.md docs/MIMEType.md docs/ModerateUserRequest.md docs/Notification.md +docs/NotificationDetailInvite.md +docs/NotificationDetailInviteResponse.md +docs/NotificationDetailRequestInvite.md +docs/NotificationDetailRequestInviteResponse.md +docs/NotificationDetailVoteToKick.md docs/NotificationType.md docs/NotificationsApi.md docs/OrderOption.md @@ -192,6 +198,7 @@ vrchatapi/models/create_group_invite_request.py vrchatapi/models/create_group_post_request.py vrchatapi/models/create_group_request.py vrchatapi/models/create_group_role_request.py +vrchatapi/models/create_instance_request.py vrchatapi/models/create_world_request.py vrchatapi/models/current_user.py vrchatapi/models/current_user_presence.py @@ -257,6 +264,11 @@ vrchatapi/models/limited_world.py vrchatapi/models/mime_type.py vrchatapi/models/moderate_user_request.py vrchatapi/models/notification.py +vrchatapi/models/notification_detail_invite.py +vrchatapi/models/notification_detail_invite_response.py +vrchatapi/models/notification_detail_request_invite.py +vrchatapi/models/notification_detail_request_invite_response.py +vrchatapi/models/notification_detail_vote_to_kick.py vrchatapi/models/notification_type.py vrchatapi/models/order_option.py vrchatapi/models/paginated_group_audit_log_entry_list.py diff --git a/docs/CreateInstanceRequest.md b/docs/CreateInstanceRequest.md new file mode 100644 index 00000000..35a8af76 --- /dev/null +++ b/docs/CreateInstanceRequest.md @@ -0,0 +1,18 @@ +# CreateInstanceRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**world_id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | +**type** | [**InstanceType**](InstanceType.md) | | +**region** | [**Region**](Region.md) | | +**owner_id** | **str** | A groupId if the instance type is \"group\", null if instance type is public, or a userId otherwise | [optional] +**role_ids** | **list[str]** | Group roleIds that are allowed to join if the type is \"group\" and groupAccessType is \"member\" | [optional] +**group_access_type** | [**GroupAccessType**](GroupAccessType.md) | | [optional] +**queue_enabled** | **bool** | | [optional] [default to False] +**closed_at** | **datetime** | The time after which users won't be allowed to join the instance | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GroupsApi.md b/docs/GroupsApi.md index 405c4a0a..c7823718 100644 --- a/docs/GroupsApi.md +++ b/docs/GroupsApi.md @@ -44,6 +44,7 @@ Method | HTTP request | Description [**update_group**](GroupsApi.md#update_group) | **PUT** /groups/{groupId} | Update Group [**update_group_gallery**](GroupsApi.md#update_group_gallery) | **PUT** /groups/{groupId}/galleries/{groupGalleryId} | Update Group Gallery [**update_group_member**](GroupsApi.md#update_group_member) | **PUT** /groups/{groupId}/members/{userId} | Update Group Member +[**update_group_post**](GroupsApi.md#update_group_post) | **PUT** /groups/{groupId}/posts/{notificationId} | Edits a Group post [**update_group_role**](GroupsApi.md#update_group_role) | **PUT** /groups/{groupId}/roles/{groupRoleId} | Update Group Role @@ -3139,6 +3140,85 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **update_group_post** +> GroupPost update_group_post(group_id, notification_id, create_group_post_request) + +Edits a Group post + +Edits a Group post + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +notification_id = 'notification_id_example' # str | Must be a valid notification ID. +create_group_post_request = vrchatapi.CreateGroupPostRequest() # CreateGroupPostRequest | + + try: + # Edits a Group post + api_response = api_instance.update_group_post(group_id, notification_id, create_group_post_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->update_group_post: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **notification_id** | **str**| Must be a valid notification ID. | + **create_group_post_request** | [**CreateGroupPostRequest**](CreateGroupPostRequest.md)| | + +### Return type + +[**GroupPost**](GroupPost.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a GroupPost object. | - | +**401** | Error response due to missing auth cookie. | - | +**404** | Response after deleting a group post. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **update_group_role** > list[GroupRole] update_group_role(group_id, group_role_id, update_group_role_request=update_group_role_request) diff --git a/docs/InstancesApi.md b/docs/InstancesApi.md index 0dbcbd9e..1fd53af9 100644 --- a/docs/InstancesApi.md +++ b/docs/InstancesApi.md @@ -5,6 +5,7 @@ All URIs are relative to *https://api.vrchat.cloud/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- [**close_instance**](InstancesApi.md#close_instance) | **DELETE** /instances/{worldId}:{instanceId} | Close Instance +[**create_instance**](InstancesApi.md#create_instance) | **POST** /instances | Create Instance [**get_instance**](InstancesApi.md#get_instance) | **GET** /instances/{worldId}:{instanceId} | Get Instance [**get_instance_by_short_name**](InstancesApi.md#get_instance_by_short_name) | **GET** /instances/s/{shortName} | Get Instance By Short Name [**get_short_name**](InstancesApi.md#get_short_name) | **GET** /instances/{worldId}:{instanceId}/shortName | Get Instance Short Name @@ -12,11 +13,11 @@ Method | HTTP request | Description # **close_instance** -> Instance close_instance(world_id, instance_id, hard_close=hard_close) +> Instance close_instance(world_id, instance_id, hard_close=hard_close, closed_at=closed_at) Close Instance -Close an instance. You can only close an instance if the ownerId is yourself or if the instance owner is a group and you have the `group-instance-moderate` permission. +Close an instance or update the closedAt time when it will be closed. You can only close an instance if the ownerId is yourself or if the instance owner is a group and you have the `group-instance-moderate` permission. ### Example @@ -51,10 +52,11 @@ with vrchatapi.ApiClient(configuration) as api_client: world_id = 'world_id_example' # str | Must be a valid world ID. instance_id = 'instance_id_example' # str | Must be a valid instance ID. hard_close = True # bool | Whether to hard close the instance. Defaults to false. (optional) +closed_at = '2013-10-20T19:20:30+01:00' # datetime | The time after which users won't be allowed to join the instances. If omitted, the instance will be closed immediately. (optional) try: # Close Instance - api_response = api_instance.close_instance(world_id, instance_id, hard_close=hard_close) + api_response = api_instance.close_instance(world_id, instance_id, hard_close=hard_close, closed_at=closed_at) pprint(api_response) except ApiException as e: print("Exception when calling InstancesApi->close_instance: %s\n" % e) @@ -67,6 +69,7 @@ Name | Type | Description | Notes **world_id** | **str**| Must be a valid world ID. | **instance_id** | **str**| Must be a valid instance ID. | **hard_close** | **bool**| Whether to hard close the instance. Defaults to false. | [optional] + **closed_at** | **datetime**| The time after which users won't be allowed to join the instances. If omitted, the instance will be closed immediately. | [optional] ### Return type @@ -91,6 +94,80 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **create_instance** +> Instance create_instance(create_instance_request) + +Create Instance + +Create an instance + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.InstancesApi(api_client) + create_instance_request = vrchatapi.CreateInstanceRequest() # CreateInstanceRequest | + + try: + # Create Instance + api_response = api_instance.create_instance(create_instance_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling InstancesApi->create_instance: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **create_instance_request** | [**CreateInstanceRequest**](CreateInstanceRequest.md)| | + +### Return type + +[**Instance**](Instance.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single Instance object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_instance** > Instance get_instance(world_id, instance_id) diff --git a/docs/NotificationDetailInvite.md b/docs/NotificationDetailInvite.md new file mode 100644 index 00000000..eec5044b --- /dev/null +++ b/docs/NotificationDetailInvite.md @@ -0,0 +1,13 @@ +# NotificationDetailInvite + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**invite_message** | **str** | | [optional] +**world_id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | +**world_name** | **str** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/NotificationDetailInviteResponse.md b/docs/NotificationDetailInviteResponse.md new file mode 100644 index 00000000..e94af310 --- /dev/null +++ b/docs/NotificationDetailInviteResponse.md @@ -0,0 +1,12 @@ +# NotificationDetailInviteResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**in_response_to** | **str** | | +**response_message** | **str** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/NotificationDetailRequestInvite.md b/docs/NotificationDetailRequestInvite.md new file mode 100644 index 00000000..55c68084 --- /dev/null +++ b/docs/NotificationDetailRequestInvite.md @@ -0,0 +1,12 @@ +# NotificationDetailRequestInvite + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**platform** | **str** | TODO: Does this still exist? | [optional] +**request_message** | **str** | Used when using InviteMessage Slot. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/NotificationDetailRequestInviteResponse.md b/docs/NotificationDetailRequestInviteResponse.md new file mode 100644 index 00000000..d9510802 --- /dev/null +++ b/docs/NotificationDetailRequestInviteResponse.md @@ -0,0 +1,12 @@ +# NotificationDetailRequestInviteResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**in_response_to** | **str** | | +**request_message** | **str** | Used when using InviteMessage Slot. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/NotificationDetailVoteToKick.md b/docs/NotificationDetailVoteToKick.md new file mode 100644 index 00000000..81008cd8 --- /dev/null +++ b/docs/NotificationDetailVoteToKick.md @@ -0,0 +1,12 @@ +# NotificationDetailVoteToKick + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**initiator_user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**user_to_kick_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/UsersApi.md b/docs/UsersApi.md index f702c76b..ae298860 100644 --- a/docs/UsersApi.md +++ b/docs/UsersApi.md @@ -236,7 +236,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_user_groups** -> list[Group] get_user_groups(user_id) +> list[LimitedGroup] get_user_groups(user_id) Get User Groups @@ -290,7 +290,7 @@ Name | Type | Description | Notes ### Return type -[**list[Group]**](Group.md) +[**list[LimitedGroup]**](LimitedGroup.md) ### Authorization @@ -304,7 +304,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a list of Group objects. | - | +**200** | Returns a list of LimitedGroup objects. | - | **401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/setup.py b/setup.py index cc619404..a927e8c3 100644 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.17.2" +VERSION = "1.17.3" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index ab2b2c6c..c575181c 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,7 +6,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -63,6 +63,7 @@ from vrchatapi.models.create_group_post_request import CreateGroupPostRequest from vrchatapi.models.create_group_request import CreateGroupRequest from vrchatapi.models.create_group_role_request import CreateGroupRoleRequest +from vrchatapi.models.create_instance_request import CreateInstanceRequest from vrchatapi.models.create_world_request import CreateWorldRequest from vrchatapi.models.current_user import CurrentUser from vrchatapi.models.current_user_presence import CurrentUserPresence @@ -128,6 +129,11 @@ from vrchatapi.models.mime_type import MIMEType from vrchatapi.models.moderate_user_request import ModerateUserRequest from vrchatapi.models.notification import Notification +from vrchatapi.models.notification_detail_invite import NotificationDetailInvite +from vrchatapi.models.notification_detail_invite_response import NotificationDetailInviteResponse +from vrchatapi.models.notification_detail_request_invite import NotificationDetailRequestInvite +from vrchatapi.models.notification_detail_request_invite_response import NotificationDetailRequestInviteResponse +from vrchatapi.models.notification_detail_vote_to_kick import NotificationDetailVoteToKick from vrchatapi.models.notification_type import NotificationType from vrchatapi.models.order_option import OrderOption from vrchatapi.models.paginated_group_audit_log_entry_list import PaginatedGroupAuditLogEntryList diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index 6f05ad75..39758523 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index dd9afee8..eaca85a7 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 948f19db..a5db6625 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index ce1bd174..6aaf770c 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index ec5dc343..12accf65 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index e22f473b..38d6cf80 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index 33406f36..0e41b7bf 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -6151,6 +6151,173 @@ def update_group_member_with_http_info(self, group_id, user_id, **kwargs): # no collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def update_group_post(self, group_id, notification_id, create_group_post_request, **kwargs): # noqa: E501 + """Edits a Group post # noqa: E501 + + Edits a Group post # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_group_post(group_id, notification_id, create_group_post_request, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param notification_id: Must be a valid notification ID. (required) + :type notification_id: str + :param create_group_post_request: (required) + :type create_group_post_request: CreateGroupPostRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: GroupPost + """ + kwargs['_return_http_data_only'] = True + return self.update_group_post_with_http_info(group_id, notification_id, create_group_post_request, **kwargs) # noqa: E501 + + def update_group_post_with_http_info(self, group_id, notification_id, create_group_post_request, **kwargs): # noqa: E501 + """Edits a Group post # noqa: E501 + + Edits a Group post # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_group_post_with_http_info(group_id, notification_id, create_group_post_request, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param notification_id: Must be a valid notification ID. (required) + :type notification_id: str + :param create_group_post_request: (required) + :type create_group_post_request: CreateGroupPostRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(GroupPost, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id', + 'notification_id', + 'create_group_post_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method update_group_post" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `update_group_post`") # noqa: E501 + # verify the required parameter 'notification_id' is set + if self.api_client.client_side_validation and local_var_params.get('notification_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `notification_id` when calling `update_group_post`") # noqa: E501 + # verify the required parameter 'create_group_post_request' is set + if self.api_client.client_side_validation and local_var_params.get('create_group_post_request') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `create_group_post_request` when calling `update_group_post`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + if 'notification_id' in local_var_params: + path_params['notificationId'] = local_var_params['notification_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'create_group_post_request' in local_var_params: + body_params = local_var_params['create_group_post_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'PUT', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "GroupPost", + 401: "Error", + 404: "Success", + } + + return self.api_client.call_api( + '/groups/{groupId}/posts/{notificationId}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def update_group_role(self, group_id, group_role_id, **kwargs): # noqa: E501 """Update Group Role # noqa: E501 diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 45b63df1..1f7150fe 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -39,7 +39,7 @@ def __init__(self, api_client=None): def close_instance(self, world_id, instance_id, **kwargs): # noqa: E501 """Close Instance # noqa: E501 - Close an instance. You can only close an instance if the ownerId is yourself or if the instance owner is a group and you have the `group-instance-moderate` permission. # noqa: E501 + Close an instance or update the closedAt time when it will be closed. You can only close an instance if the ownerId is yourself or if the instance owner is a group and you have the `group-instance-moderate` permission. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -52,6 +52,8 @@ def close_instance(self, world_id, instance_id, **kwargs): # noqa: E501 :type instance_id: str :param hard_close: Whether to hard close the instance. Defaults to false. :type hard_close: bool + :param closed_at: The time after which users won't be allowed to join the instances. If omitted, the instance will be closed immediately. + :type closed_at: datetime :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -73,7 +75,7 @@ def close_instance(self, world_id, instance_id, **kwargs): # noqa: E501 def close_instance_with_http_info(self, world_id, instance_id, **kwargs): # noqa: E501 """Close Instance # noqa: E501 - Close an instance. You can only close an instance if the ownerId is yourself or if the instance owner is a group and you have the `group-instance-moderate` permission. # noqa: E501 + Close an instance or update the closedAt time when it will be closed. You can only close an instance if the ownerId is yourself or if the instance owner is a group and you have the `group-instance-moderate` permission. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -86,6 +88,8 @@ def close_instance_with_http_info(self, world_id, instance_id, **kwargs): # noq :type instance_id: str :param hard_close: Whether to hard close the instance. Defaults to false. :type hard_close: bool + :param closed_at: The time after which users won't be allowed to join the instances. If omitted, the instance will be closed immediately. + :type closed_at: datetime :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -115,7 +119,8 @@ def close_instance_with_http_info(self, world_id, instance_id, **kwargs): # noq all_params = [ 'world_id', 'instance_id', - 'hard_close' + 'hard_close', + 'closed_at' ] all_params.extend( [ @@ -155,6 +160,8 @@ def close_instance_with_http_info(self, world_id, instance_id, **kwargs): # noq query_params = [] if local_var_params.get('hard_close') is not None: # noqa: E501 query_params.append(('hardClose', local_var_params['hard_close'])) # noqa: E501 + if local_var_params.get('closed_at') is not None: # noqa: E501 + query_params.append(('closedAt', local_var_params['closed_at'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -193,6 +200,152 @@ def close_instance_with_http_info(self, world_id, instance_id, **kwargs): # noq collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def create_instance(self, create_instance_request, **kwargs): # noqa: E501 + """Create Instance # noqa: E501 + + Create an instance # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.create_instance(create_instance_request, async_req=True) + >>> result = thread.get() + + :param create_instance_request: (required) + :type create_instance_request: CreateInstanceRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Instance + """ + kwargs['_return_http_data_only'] = True + return self.create_instance_with_http_info(create_instance_request, **kwargs) # noqa: E501 + + def create_instance_with_http_info(self, create_instance_request, **kwargs): # noqa: E501 + """Create Instance # noqa: E501 + + Create an instance # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.create_instance_with_http_info(create_instance_request, async_req=True) + >>> result = thread.get() + + :param create_instance_request: (required) + :type create_instance_request: CreateInstanceRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Instance, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'create_instance_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method create_instance" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'create_instance_request' is set + if self.api_client.client_side_validation and local_var_params.get('create_instance_request') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `create_instance_request` when calling `create_instance`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'create_instance_request' in local_var_params: + body_params = local_var_params['create_instance_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "Instance", + 401: "Error", + } + + return self.api_client.call_api( + '/instances', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def get_instance(self, world_id, instance_id, **kwargs): # noqa: E501 """Get Instance # noqa: E501 diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index 557cc385..656d077d 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index 6bab4f7d..74992de8 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index ac39a568..b656c028 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index 13aecc31..c49631b8 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index e07cde7a..5cb43266 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index 79fe8197..65cda8da 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -475,7 +475,7 @@ def get_user_groups(self, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[Group] + :rtype: list[LimitedGroup] """ kwargs['_return_http_data_only'] = True return self.get_user_groups_with_http_info(user_id, **kwargs) # noqa: E501 @@ -513,7 +513,7 @@ def get_user_groups_with_http_info(self, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[Group], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(list[LimitedGroup], status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() @@ -567,7 +567,7 @@ def get_user_groups_with_http_info(self, user_id, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "list[Group]", + 200: "list[LimitedGroup]", 401: "Error", } diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index ff9c037f..53f4727b 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index 516addba..9f79db91 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,7 +3,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index 6b38362d..703930f8 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -441,7 +441,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.17.2\n"\ + "Version of the API: 1.17.3\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index 1202a43e..746bcd57 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index 42af60a3..fc4cd088 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,7 +5,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -34,6 +34,7 @@ from vrchatapi.models.create_group_post_request import CreateGroupPostRequest from vrchatapi.models.create_group_request import CreateGroupRequest from vrchatapi.models.create_group_role_request import CreateGroupRoleRequest +from vrchatapi.models.create_instance_request import CreateInstanceRequest from vrchatapi.models.create_world_request import CreateWorldRequest from vrchatapi.models.current_user import CurrentUser from vrchatapi.models.current_user_presence import CurrentUserPresence @@ -99,6 +100,11 @@ from vrchatapi.models.mime_type import MIMEType from vrchatapi.models.moderate_user_request import ModerateUserRequest from vrchatapi.models.notification import Notification +from vrchatapi.models.notification_detail_invite import NotificationDetailInvite +from vrchatapi.models.notification_detail_invite_response import NotificationDetailInviteResponse +from vrchatapi.models.notification_detail_request_invite import NotificationDetailRequestInvite +from vrchatapi.models.notification_detail_request_invite_response import NotificationDetailRequestInviteResponse +from vrchatapi.models.notification_detail_vote_to_kick import NotificationDetailVoteToKick from vrchatapi.models.notification_type import NotificationType from vrchatapi.models.order_option import OrderOption from vrchatapi.models.paginated_group_audit_log_entry_list import PaginatedGroupAuditLogEntryList diff --git a/vrchatapi/models/account_deletion_log.py b/vrchatapi/models/account_deletion_log.py index 341b4b0f..24c3132e 100644 --- a/vrchatapi/models/account_deletion_log.py +++ b/vrchatapi/models/account_deletion_log.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index 0668b082..c759c6d8 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index ee8f715e..48c11de5 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index 9c94bde7..d1a44515 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index 9b3adc23..4c4b48fc 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index 7e5325f5..e5a7fc0d 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index 3c975de5..98dad825 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index a1afb7a9..3dec80cf 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index 83a1d83d..e630076b 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index 9c9e9844..3563d5cd 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index 0b8292bc..688cd6cd 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index 6fc684ee..8b6f4291 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index ae23553e..d8d45084 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index 1c0abaf5..3f04897b 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index d3dece46..d54e13f0 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index e0435ca7..17ef0f7e 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index fe4caec0..e3667851 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_post_request.py b/vrchatapi/models/create_group_post_request.py index c2345e1d..05d6f136 100644 --- a/vrchatapi/models/create_group_post_request.py +++ b/vrchatapi/models/create_group_post_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index 05648cff..831a34c2 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index a9855971..14c877f3 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_instance_request.py b/vrchatapi/models/create_instance_request.py new file mode 100644 index 00000000..eda481af --- /dev/null +++ b/vrchatapi/models/create_instance_request.py @@ -0,0 +1,323 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.17.3 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class CreateInstanceRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'world_id': 'str', + 'type': 'InstanceType', + 'region': 'Region', + 'owner_id': 'str', + 'role_ids': 'list[str]', + 'group_access_type': 'GroupAccessType', + 'queue_enabled': 'bool', + 'closed_at': 'datetime' + } + + attribute_map = { + 'world_id': 'worldId', + 'type': 'type', + 'region': 'region', + 'owner_id': 'ownerId', + 'role_ids': 'roleIds', + 'group_access_type': 'groupAccessType', + 'queue_enabled': 'queueEnabled', + 'closed_at': 'closedAt' + } + + def __init__(self, world_id=None, type=None, region=None, owner_id=None, role_ids=None, group_access_type=None, queue_enabled=False, closed_at=None, local_vars_configuration=None): # noqa: E501 + """CreateInstanceRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._world_id = None + self._type = None + self._region = None + self._owner_id = None + self._role_ids = None + self._group_access_type = None + self._queue_enabled = None + self._closed_at = None + self.discriminator = None + + self.world_id = world_id + self.type = type + self.region = region + self.owner_id = owner_id + if role_ids is not None: + self.role_ids = role_ids + if group_access_type is not None: + self.group_access_type = group_access_type + if queue_enabled is not None: + self.queue_enabled = queue_enabled + if closed_at is not None: + self.closed_at = closed_at + + @property + def world_id(self): + """Gets the world_id of this CreateInstanceRequest. # noqa: E501 + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :return: The world_id of this CreateInstanceRequest. # noqa: E501 + :rtype: str + """ + return self._world_id + + @world_id.setter + def world_id(self, world_id): + """Sets the world_id of this CreateInstanceRequest. + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :param world_id: The world_id of this CreateInstanceRequest. # noqa: E501 + :type world_id: str + """ + if self.local_vars_configuration.client_side_validation and world_id is None: # noqa: E501 + raise ValueError("Invalid value for `world_id`, must not be `None`") # noqa: E501 + + self._world_id = world_id + + @property + def type(self): + """Gets the type of this CreateInstanceRequest. # noqa: E501 + + + :return: The type of this CreateInstanceRequest. # noqa: E501 + :rtype: InstanceType + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this CreateInstanceRequest. + + + :param type: The type of this CreateInstanceRequest. # noqa: E501 + :type type: InstanceType + """ + if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501 + raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 + + self._type = type + + @property + def region(self): + """Gets the region of this CreateInstanceRequest. # noqa: E501 + + + :return: The region of this CreateInstanceRequest. # noqa: E501 + :rtype: Region + """ + return self._region + + @region.setter + def region(self, region): + """Sets the region of this CreateInstanceRequest. + + + :param region: The region of this CreateInstanceRequest. # noqa: E501 + :type region: Region + """ + if self.local_vars_configuration.client_side_validation and region is None: # noqa: E501 + raise ValueError("Invalid value for `region`, must not be `None`") # noqa: E501 + + self._region = region + + @property + def owner_id(self): + """Gets the owner_id of this CreateInstanceRequest. # noqa: E501 + + A groupId if the instance type is \"group\", null if instance type is public, or a userId otherwise # noqa: E501 + + :return: The owner_id of this CreateInstanceRequest. # noqa: E501 + :rtype: str + """ + return self._owner_id + + @owner_id.setter + def owner_id(self, owner_id): + """Sets the owner_id of this CreateInstanceRequest. + + A groupId if the instance type is \"group\", null if instance type is public, or a userId otherwise # noqa: E501 + + :param owner_id: The owner_id of this CreateInstanceRequest. # noqa: E501 + :type owner_id: str + """ + + self._owner_id = owner_id + + @property + def role_ids(self): + """Gets the role_ids of this CreateInstanceRequest. # noqa: E501 + + Group roleIds that are allowed to join if the type is \"group\" and groupAccessType is \"member\" # noqa: E501 + + :return: The role_ids of this CreateInstanceRequest. # noqa: E501 + :rtype: list[str] + """ + return self._role_ids + + @role_ids.setter + def role_ids(self, role_ids): + """Sets the role_ids of this CreateInstanceRequest. + + Group roleIds that are allowed to join if the type is \"group\" and groupAccessType is \"member\" # noqa: E501 + + :param role_ids: The role_ids of this CreateInstanceRequest. # noqa: E501 + :type role_ids: list[str] + """ + + self._role_ids = role_ids + + @property + def group_access_type(self): + """Gets the group_access_type of this CreateInstanceRequest. # noqa: E501 + + + :return: The group_access_type of this CreateInstanceRequest. # noqa: E501 + :rtype: GroupAccessType + """ + return self._group_access_type + + @group_access_type.setter + def group_access_type(self, group_access_type): + """Sets the group_access_type of this CreateInstanceRequest. + + + :param group_access_type: The group_access_type of this CreateInstanceRequest. # noqa: E501 + :type group_access_type: GroupAccessType + """ + + self._group_access_type = group_access_type + + @property + def queue_enabled(self): + """Gets the queue_enabled of this CreateInstanceRequest. # noqa: E501 + + + :return: The queue_enabled of this CreateInstanceRequest. # noqa: E501 + :rtype: bool + """ + return self._queue_enabled + + @queue_enabled.setter + def queue_enabled(self, queue_enabled): + """Sets the queue_enabled of this CreateInstanceRequest. + + + :param queue_enabled: The queue_enabled of this CreateInstanceRequest. # noqa: E501 + :type queue_enabled: bool + """ + + self._queue_enabled = queue_enabled + + @property + def closed_at(self): + """Gets the closed_at of this CreateInstanceRequest. # noqa: E501 + + The time after which users won't be allowed to join the instance # noqa: E501 + + :return: The closed_at of this CreateInstanceRequest. # noqa: E501 + :rtype: datetime + """ + return self._closed_at + + @closed_at.setter + def closed_at(self, closed_at): + """Sets the closed_at of this CreateInstanceRequest. + + The time after which users won't be allowed to join the instance # noqa: E501 + + :param closed_at: The closed_at of this CreateInstanceRequest. # noqa: E501 + :type closed_at: datetime + """ + + self._closed_at = closed_at + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CreateInstanceRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, CreateInstanceRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index 86e33453..ae19fb90 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index 22ed949a..7c4c3163 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user_presence.py b/vrchatapi/models/current_user_presence.py index d4e73ae3..13af4c27 100644 --- a/vrchatapi/models/current_user_presence.py +++ b/vrchatapi/models/current_user_presence.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/deployment_group.py b/vrchatapi/models/deployment_group.py index b2c9776a..fb1804fe 100644 --- a/vrchatapi/models/deployment_group.py +++ b/vrchatapi/models/deployment_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index 00e4a3cd..4cf4af34 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index 8862458d..c0062b5b 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index 8b904993..c4a9ad1a 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index b6bea315..fedfb72d 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index 4179fb0b..29cb046a 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index 6e5a4b06..296c51a6 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index 426a64f2..63b5d1b2 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index 5eef1a1b..fbd7af84 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index ddecd9c7..a7bd33be 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index 2a278331..c8b92c53 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index d6a5cdce..2dfb1da1 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index 47036fe9..7ddc7cef 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index bfaccfcc..f4c5ba6e 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index d06b9222..40b34193 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index 8ea2595b..5c77903a 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index 1438229a..a2aec0e6 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_access_type.py b/vrchatapi/models/group_access_type.py index 122be8c9..a52db0d4 100644 --- a/vrchatapi/models/group_access_type.py +++ b/vrchatapi/models/group_access_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index 9ef11852..10a9a099 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index 24ba1f0a..69ecfc7a 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index 860e0931..a6f883d6 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index d7a120df..c202c76b 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_instance.py b/vrchatapi/models/group_instance.py index 399257cb..11368a03 100644 --- a/vrchatapi/models/group_instance.py +++ b/vrchatapi/models/group_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_request_action.py b/vrchatapi/models/group_join_request_action.py index 264abef8..ca773b80 100644 --- a/vrchatapi/models/group_join_request_action.py +++ b/vrchatapi/models/group_join_request_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index 3ae34cdd..c0eeed85 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index 0e450cf1..06231229 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index 37f40528..1c90b1b6 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index bc961260..4414b2a3 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index 18fd634b..1832a9cc 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index abbbad63..9d5a13ea 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index fcbf015a..a30ee882 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post.py b/vrchatapi/models/group_post.py index 17111a9a..cf24e425 100644 --- a/vrchatapi/models/group_post.py +++ b/vrchatapi/models/group_post.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post_visibility.py b/vrchatapi/models/group_post_visibility.py index 9b089db8..d70b2a04 100644 --- a/vrchatapi/models/group_post_visibility.py +++ b/vrchatapi/models/group_post_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index ee7dcdca..30849967 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index 59d9b586..48770f3e 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index 1fb2e65d..11147511 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_search_sort.py b/vrchatapi/models/group_search_sort.py index aff56421..2150a7ab 100644 --- a/vrchatapi/models/group_search_sort.py +++ b/vrchatapi/models/group_search_sort.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index 7f1f09b2..e4b11c15 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index d5003455..38555272 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index 982120f2..1b7f6d44 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index 78f97d53..08e1176f 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index 1a352c75..9c7e0ccf 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index e2181f7b..909fa812 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index 1f9b7348..d88ed951 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index 5f9d2967..d1347346 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index a9db9d99..f984aed4 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index 880318d7..ce1b8a08 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index 8d2d95eb..91b49823 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index 5dc94521..6ed4ed26 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index 1586b39f..259b4d3c 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index be2c5eba..b919b554 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index e4d04c1b..be4b94ba 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index fe4f9fe8..973aa431 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index 3f7db24e..9410c740 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index 3eecc157..356b718e 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_group.py b/vrchatapi/models/limited_group.py index b3ad9929..f824151b 100644 --- a/vrchatapi/models/limited_group.py +++ b/vrchatapi/models/limited_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index 78cf78df..a000388d 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user.py b/vrchatapi/models/limited_user.py index 26335cfc..99bcabe5 100644 --- a/vrchatapi/models/limited_user.py +++ b/vrchatapi/models/limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index 414693c7..5408576b 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index a9dc7b85..095e3309 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index b1c8890b..04272d05 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index 5bd01e85..18e420b0 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite.py b/vrchatapi/models/notification_detail_invite.py new file mode 100644 index 00000000..b06a7a33 --- /dev/null +++ b/vrchatapi/models/notification_detail_invite.py @@ -0,0 +1,187 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.17.3 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class NotificationDetailInvite(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'invite_message': 'str', + 'world_id': 'str', + 'world_name': 'str' + } + + attribute_map = { + 'invite_message': 'inviteMessage', + 'world_id': 'worldId', + 'world_name': 'worldName' + } + + def __init__(self, invite_message=None, world_id=None, world_name=None, local_vars_configuration=None): # noqa: E501 + """NotificationDetailInvite - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._invite_message = None + self._world_id = None + self._world_name = None + self.discriminator = None + + if invite_message is not None: + self.invite_message = invite_message + self.world_id = world_id + self.world_name = world_name + + @property + def invite_message(self): + """Gets the invite_message of this NotificationDetailInvite. # noqa: E501 + + + :return: The invite_message of this NotificationDetailInvite. # noqa: E501 + :rtype: str + """ + return self._invite_message + + @invite_message.setter + def invite_message(self, invite_message): + """Sets the invite_message of this NotificationDetailInvite. + + + :param invite_message: The invite_message of this NotificationDetailInvite. # noqa: E501 + :type invite_message: str + """ + + self._invite_message = invite_message + + @property + def world_id(self): + """Gets the world_id of this NotificationDetailInvite. # noqa: E501 + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :return: The world_id of this NotificationDetailInvite. # noqa: E501 + :rtype: str + """ + return self._world_id + + @world_id.setter + def world_id(self, world_id): + """Sets the world_id of this NotificationDetailInvite. + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :param world_id: The world_id of this NotificationDetailInvite. # noqa: E501 + :type world_id: str + """ + if self.local_vars_configuration.client_side_validation and world_id is None: # noqa: E501 + raise ValueError("Invalid value for `world_id`, must not be `None`") # noqa: E501 + + self._world_id = world_id + + @property + def world_name(self): + """Gets the world_name of this NotificationDetailInvite. # noqa: E501 + + + :return: The world_name of this NotificationDetailInvite. # noqa: E501 + :rtype: str + """ + return self._world_name + + @world_name.setter + def world_name(self, world_name): + """Sets the world_name of this NotificationDetailInvite. + + + :param world_name: The world_name of this NotificationDetailInvite. # noqa: E501 + :type world_name: str + """ + if self.local_vars_configuration.client_side_validation and world_name is None: # noqa: E501 + raise ValueError("Invalid value for `world_name`, must not be `None`") # noqa: E501 + + self._world_name = world_name + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, NotificationDetailInvite): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, NotificationDetailInvite): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/notification_detail_invite_response.py b/vrchatapi/models/notification_detail_invite_response.py new file mode 100644 index 00000000..eba9b8f1 --- /dev/null +++ b/vrchatapi/models/notification_detail_invite_response.py @@ -0,0 +1,159 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.17.3 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class NotificationDetailInviteResponse(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'in_response_to': 'str', + 'response_message': 'str' + } + + attribute_map = { + 'in_response_to': 'inResponseTo', + 'response_message': 'responseMessage' + } + + def __init__(self, in_response_to=None, response_message=None, local_vars_configuration=None): # noqa: E501 + """NotificationDetailInviteResponse - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._in_response_to = None + self._response_message = None + self.discriminator = None + + self.in_response_to = in_response_to + self.response_message = response_message + + @property + def in_response_to(self): + """Gets the in_response_to of this NotificationDetailInviteResponse. # noqa: E501 + + + :return: The in_response_to of this NotificationDetailInviteResponse. # noqa: E501 + :rtype: str + """ + return self._in_response_to + + @in_response_to.setter + def in_response_to(self, in_response_to): + """Sets the in_response_to of this NotificationDetailInviteResponse. + + + :param in_response_to: The in_response_to of this NotificationDetailInviteResponse. # noqa: E501 + :type in_response_to: str + """ + if self.local_vars_configuration.client_side_validation and in_response_to is None: # noqa: E501 + raise ValueError("Invalid value for `in_response_to`, must not be `None`") # noqa: E501 + + self._in_response_to = in_response_to + + @property + def response_message(self): + """Gets the response_message of this NotificationDetailInviteResponse. # noqa: E501 + + + :return: The response_message of this NotificationDetailInviteResponse. # noqa: E501 + :rtype: str + """ + return self._response_message + + @response_message.setter + def response_message(self, response_message): + """Sets the response_message of this NotificationDetailInviteResponse. + + + :param response_message: The response_message of this NotificationDetailInviteResponse. # noqa: E501 + :type response_message: str + """ + if self.local_vars_configuration.client_side_validation and response_message is None: # noqa: E501 + raise ValueError("Invalid value for `response_message`, must not be `None`") # noqa: E501 + + self._response_message = response_message + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, NotificationDetailInviteResponse): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, NotificationDetailInviteResponse): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/notification_detail_request_invite.py b/vrchatapi/models/notification_detail_request_invite.py new file mode 100644 index 00000000..be6e1973 --- /dev/null +++ b/vrchatapi/models/notification_detail_request_invite.py @@ -0,0 +1,161 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.17.3 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class NotificationDetailRequestInvite(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'platform': 'str', + 'request_message': 'str' + } + + attribute_map = { + 'platform': 'platform', + 'request_message': 'requestMessage' + } + + def __init__(self, platform=None, request_message=None, local_vars_configuration=None): # noqa: E501 + """NotificationDetailRequestInvite - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._platform = None + self._request_message = None + self.discriminator = None + + if platform is not None: + self.platform = platform + if request_message is not None: + self.request_message = request_message + + @property + def platform(self): + """Gets the platform of this NotificationDetailRequestInvite. # noqa: E501 + + TODO: Does this still exist? # noqa: E501 + + :return: The platform of this NotificationDetailRequestInvite. # noqa: E501 + :rtype: str + """ + return self._platform + + @platform.setter + def platform(self, platform): + """Sets the platform of this NotificationDetailRequestInvite. + + TODO: Does this still exist? # noqa: E501 + + :param platform: The platform of this NotificationDetailRequestInvite. # noqa: E501 + :type platform: str + """ + + self._platform = platform + + @property + def request_message(self): + """Gets the request_message of this NotificationDetailRequestInvite. # noqa: E501 + + Used when using InviteMessage Slot. # noqa: E501 + + :return: The request_message of this NotificationDetailRequestInvite. # noqa: E501 + :rtype: str + """ + return self._request_message + + @request_message.setter + def request_message(self, request_message): + """Sets the request_message of this NotificationDetailRequestInvite. + + Used when using InviteMessage Slot. # noqa: E501 + + :param request_message: The request_message of this NotificationDetailRequestInvite. # noqa: E501 + :type request_message: str + """ + + self._request_message = request_message + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, NotificationDetailRequestInvite): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, NotificationDetailRequestInvite): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/notification_detail_request_invite_response.py b/vrchatapi/models/notification_detail_request_invite_response.py new file mode 100644 index 00000000..fc25fba9 --- /dev/null +++ b/vrchatapi/models/notification_detail_request_invite_response.py @@ -0,0 +1,160 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.17.3 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class NotificationDetailRequestInviteResponse(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'in_response_to': 'str', + 'request_message': 'str' + } + + attribute_map = { + 'in_response_to': 'inResponseTo', + 'request_message': 'requestMessage' + } + + def __init__(self, in_response_to=None, request_message=None, local_vars_configuration=None): # noqa: E501 + """NotificationDetailRequestInviteResponse - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._in_response_to = None + self._request_message = None + self.discriminator = None + + self.in_response_to = in_response_to + if request_message is not None: + self.request_message = request_message + + @property + def in_response_to(self): + """Gets the in_response_to of this NotificationDetailRequestInviteResponse. # noqa: E501 + + + :return: The in_response_to of this NotificationDetailRequestInviteResponse. # noqa: E501 + :rtype: str + """ + return self._in_response_to + + @in_response_to.setter + def in_response_to(self, in_response_to): + """Sets the in_response_to of this NotificationDetailRequestInviteResponse. + + + :param in_response_to: The in_response_to of this NotificationDetailRequestInviteResponse. # noqa: E501 + :type in_response_to: str + """ + if self.local_vars_configuration.client_side_validation and in_response_to is None: # noqa: E501 + raise ValueError("Invalid value for `in_response_to`, must not be `None`") # noqa: E501 + + self._in_response_to = in_response_to + + @property + def request_message(self): + """Gets the request_message of this NotificationDetailRequestInviteResponse. # noqa: E501 + + Used when using InviteMessage Slot. # noqa: E501 + + :return: The request_message of this NotificationDetailRequestInviteResponse. # noqa: E501 + :rtype: str + """ + return self._request_message + + @request_message.setter + def request_message(self, request_message): + """Sets the request_message of this NotificationDetailRequestInviteResponse. + + Used when using InviteMessage Slot. # noqa: E501 + + :param request_message: The request_message of this NotificationDetailRequestInviteResponse. # noqa: E501 + :type request_message: str + """ + + self._request_message = request_message + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, NotificationDetailRequestInviteResponse): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, NotificationDetailRequestInviteResponse): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/notification_detail_vote_to_kick.py b/vrchatapi/models/notification_detail_vote_to_kick.py new file mode 100644 index 00000000..f73cf61d --- /dev/null +++ b/vrchatapi/models/notification_detail_vote_to_kick.py @@ -0,0 +1,163 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.17.3 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class NotificationDetailVoteToKick(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'initiator_user_id': 'str', + 'user_to_kick_id': 'str' + } + + attribute_map = { + 'initiator_user_id': 'initiatorUserId', + 'user_to_kick_id': 'userToKickId' + } + + def __init__(self, initiator_user_id=None, user_to_kick_id=None, local_vars_configuration=None): # noqa: E501 + """NotificationDetailVoteToKick - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._initiator_user_id = None + self._user_to_kick_id = None + self.discriminator = None + + self.initiator_user_id = initiator_user_id + self.user_to_kick_id = user_to_kick_id + + @property + def initiator_user_id(self): + """Gets the initiator_user_id of this NotificationDetailVoteToKick. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The initiator_user_id of this NotificationDetailVoteToKick. # noqa: E501 + :rtype: str + """ + return self._initiator_user_id + + @initiator_user_id.setter + def initiator_user_id(self, initiator_user_id): + """Sets the initiator_user_id of this NotificationDetailVoteToKick. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param initiator_user_id: The initiator_user_id of this NotificationDetailVoteToKick. # noqa: E501 + :type initiator_user_id: str + """ + if self.local_vars_configuration.client_side_validation and initiator_user_id is None: # noqa: E501 + raise ValueError("Invalid value for `initiator_user_id`, must not be `None`") # noqa: E501 + + self._initiator_user_id = initiator_user_id + + @property + def user_to_kick_id(self): + """Gets the user_to_kick_id of this NotificationDetailVoteToKick. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The user_to_kick_id of this NotificationDetailVoteToKick. # noqa: E501 + :rtype: str + """ + return self._user_to_kick_id + + @user_to_kick_id.setter + def user_to_kick_id(self, user_to_kick_id): + """Sets the user_to_kick_id of this NotificationDetailVoteToKick. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param user_to_kick_id: The user_to_kick_id of this NotificationDetailVoteToKick. # noqa: E501 + :type user_to_kick_id: str + """ + if self.local_vars_configuration.client_side_validation and user_to_kick_id is None: # noqa: E501 + raise ValueError("Invalid value for `user_to_kick_id`, must not be `None`") # noqa: E501 + + self._user_to_kick_id = user_to_kick_id + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, NotificationDetailVoteToKick): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, NotificationDetailVoteToKick): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index 9108a717..e4660351 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index 9dd3939d..43038642 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index 51f01c2c..22df0a83 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index 84dda8e6..0eddc5ef 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index f067a8bd..98447c50 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index 963dfee1..9c76a8f9 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index b6b4ed51..3092730c 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index 67bc09cf..2d244292 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index 50c082c6..9b6569e6 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/represented_group.py b/vrchatapi/models/represented_group.py index fbedf727..fdeee8fb 100644 --- a/vrchatapi/models/represented_group.py +++ b/vrchatapi/models/represented_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index 83c81087..29757b6a 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index 45e18f8b..aedd2ca9 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index e3173584..ae9df18c 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index 6335fa59..5c7736ca 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index c050eaba..95de9610 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index 64a7d319..00dd28aa 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index 8b3d2a28..ef7cfdf9 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index ac6458aa..2be6feda 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index a25d6304..45134cb8 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index b53d4dc4..690a7157 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index 576329e3..1b7f3b58 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index 4205ef6e..3b583aa5 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index 9900680d..9939dac5 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index 5176bb8b..0b83d59b 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_email_code.py b/vrchatapi/models/two_factor_email_code.py index e6a65652..2166021a 100644 --- a/vrchatapi/models/two_factor_email_code.py +++ b/vrchatapi/models/two_factor_email_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index fa519963..24aedc03 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index c42a6e46..1b4531b4 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index 93dd2ca0..18654a25 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index f4eb7cfd..dff4dd88 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index 8e3d6ed0..71286bab 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index a57b5707..b9ce70dd 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index abd1a4f0..a2a31fac 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index eda77f52..e9f1f6d3 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index a437cc59..4548ee5e 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index c0b61be5..5a0815e4 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index 8f9877a2..5e74e042 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index 8c3ebf91..b3976787 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index ee452805..aaaee30d 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index a457876b..b87a6f09 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index d2f1bf0c..a780ef28 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_email_code_result.py b/vrchatapi/models/verify2_fa_email_code_result.py index 18b7ee83..54070011 100644 --- a/vrchatapi/models/verify2_fa_email_code_result.py +++ b/vrchatapi/models/verify2_fa_email_code_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index be1ca17f..59c792b6 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index 896dc857..580ff13b 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index 41cdd0a2..4a0ea9a2 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index 663df54a..2165c6b1 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index 5b48af04..549cf42e 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index dfc3b8ff..10df3f8c 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.2 + The version of the OpenAPI document: 1.17.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ From 03252bd39846bdb1a1e109897bb6b8aa88383ab1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Foorack=20/=20Max=20Fax=C3=A4lv?= Date: Mon, 27 May 2024 20:31:23 +0200 Subject: [PATCH 051/102] JamesIves/github-pages-deploy-action@v4 --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 22baf197..855392e8 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -38,7 +38,7 @@ jobs: - name: Print version number run: echo ${{ env.spec_version }} - name: Deploy SDK back into main branch - uses: JamesIves/github-pages-deploy-action@4.1.5 + uses: JamesIves/github-pages-deploy-action@v4 with: branch: main folder: . From 72a742cc0ce68089480406a21e436eeb76e21e78 Mon Sep 17 00:00:00 2001 From: VRCCat Date: Mon, 27 May 2024 18:32:43 +0000 Subject: [PATCH 052/102] Upgrade Python SDK to spec 1.17.5 --- .openapi-generator/FILES | 6 + docs/AuthenticationApi.md | 42 +- docs/AvatarsApi.md | 38 +- docs/Badge.md | 18 + docs/CreateInstanceRequest.md | 7 +- docs/CurrentUser.md | 6 +- docs/EconomyApi.md | 22 +- docs/FavoritesApi.md | 34 +- docs/FilesApi.md | 42 +- docs/FriendsApi.md | 22 +- docs/GroupsApi.md | 176 +++--- docs/Instance.md | 2 +- docs/InstanceRegion.md | 11 + docs/InstancesApi.md | 26 +- docs/InviteApi.md | 34 +- docs/LimitedUser.md | 3 + docs/LimitedUserGroups.md | 28 + docs/LimitedWorld.md | 2 + docs/NotificationsApi.md | 22 +- docs/PermissionsApi.md | 10 +- docs/PlayermoderationApi.md | 26 +- docs/RespondGroupJoinRequest.md | 1 + docs/SentNotification.md | 4 +- docs/Subscription.md | 4 + docs/SystemApi.md | 30 +- docs/Transaction.md | 4 + docs/UnityPackage.md | 1 + docs/UpdateUserRequest.md | 1 + docs/User.md | 3 + docs/UsersApi.md | 36 +- docs/WorldPublishStatus.md | 2 +- docs/WorldsApi.md | 54 +- setup.py | 4 +- vrchatapi/__init__.py | 5 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/groups_api.py | 11 +- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 8 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 8 +- vrchatapi/exceptions.py | 2 +- vrchatapi/models/__init__.py | 5 +- vrchatapi/models/account_deletion_log.py | 2 +- vrchatapi/models/add_favorite_request.py | 2 +- .../models/add_group_gallery_image_request.py | 2 +- vrchatapi/models/api_config.py | 2 +- vrchatapi/models/api_config_announcement.py | 2 +- .../models/api_config_download_url_list.py | 2 +- vrchatapi/models/api_config_events.py | 2 +- vrchatapi/models/api_health.py | 2 +- vrchatapi/models/avatar.py | 2 +- .../models/avatar_unity_package_url_object.py | 2 +- vrchatapi/models/badge.py | 323 ++++++++++ vrchatapi/models/ban_group_member_request.py | 2 +- vrchatapi/models/create_avatar_request.py | 2 +- vrchatapi/models/create_file_request.py | 2 +- .../models/create_file_version_request.py | 2 +- .../create_group_announcement_request.py | 2 +- .../models/create_group_gallery_request.py | 2 +- .../models/create_group_invite_request.py | 2 +- vrchatapi/models/create_group_post_request.py | 2 +- vrchatapi/models/create_group_request.py | 2 +- vrchatapi/models/create_group_role_request.py | 2 +- vrchatapi/models/create_instance_request.py | 100 ++- vrchatapi/models/create_world_request.py | 2 +- vrchatapi/models/current_user.py | 115 +++- vrchatapi/models/current_user_presence.py | 2 +- vrchatapi/models/deployment_group.py | 2 +- vrchatapi/models/developer_type.py | 2 +- vrchatapi/models/dynamic_content_row.py | 2 +- vrchatapi/models/error.py | 2 +- vrchatapi/models/favorite.py | 2 +- vrchatapi/models/favorite_group.py | 2 +- vrchatapi/models/favorite_group_visibility.py | 2 +- vrchatapi/models/favorite_type.py | 2 +- vrchatapi/models/file.py | 2 +- vrchatapi/models/file_data.py | 2 +- vrchatapi/models/file_status.py | 2 +- vrchatapi/models/file_upload_url.py | 2 +- vrchatapi/models/file_version.py | 2 +- .../models/file_version_upload_status.py | 2 +- .../models/finish_file_data_upload_request.py | 2 +- vrchatapi/models/friend_status.py | 2 +- vrchatapi/models/group.py | 2 +- vrchatapi/models/group_access_type.py | 6 +- vrchatapi/models/group_announcement.py | 2 +- vrchatapi/models/group_audit_log_entry.py | 2 +- vrchatapi/models/group_gallery.py | 2 +- vrchatapi/models/group_gallery_image.py | 2 +- vrchatapi/models/group_instance.py | 2 +- vrchatapi/models/group_join_request_action.py | 2 +- vrchatapi/models/group_join_state.py | 2 +- vrchatapi/models/group_limited_member.py | 2 +- vrchatapi/models/group_member.py | 2 +- vrchatapi/models/group_member_limited_user.py | 2 +- vrchatapi/models/group_member_status.py | 2 +- vrchatapi/models/group_my_member.py | 2 +- vrchatapi/models/group_permission.py | 2 +- vrchatapi/models/group_post.py | 2 +- vrchatapi/models/group_post_visibility.py | 2 +- vrchatapi/models/group_privacy.py | 2 +- vrchatapi/models/group_role.py | 2 +- vrchatapi/models/group_role_template.py | 2 +- vrchatapi/models/group_search_sort.py | 2 +- vrchatapi/models/group_user_visibility.py | 2 +- vrchatapi/models/info_push.py | 2 +- vrchatapi/models/info_push_data.py | 2 +- vrchatapi/models/info_push_data_article.py | 2 +- .../models/info_push_data_article_content.py | 2 +- vrchatapi/models/info_push_data_clickable.py | 2 +- vrchatapi/models/instance.py | 8 +- vrchatapi/models/instance_platforms.py | 2 +- vrchatapi/models/instance_region.py | 113 ++++ .../models/instance_short_name_response.py | 2 +- vrchatapi/models/instance_type.py | 2 +- vrchatapi/models/invite_message.py | 2 +- vrchatapi/models/invite_message_type.py | 2 +- vrchatapi/models/invite_request.py | 2 +- vrchatapi/models/invite_response.py | 2 +- vrchatapi/models/license.py | 2 +- vrchatapi/models/license_action.py | 2 +- vrchatapi/models/license_group.py | 2 +- vrchatapi/models/license_type.py | 2 +- vrchatapi/models/limited_group.py | 2 +- vrchatapi/models/limited_unity_package.py | 2 +- vrchatapi/models/limited_user.py | 84 ++- vrchatapi/models/limited_user_groups.py | 569 ++++++++++++++++++ vrchatapi/models/limited_world.py | 58 +- vrchatapi/models/mime_type.py | 2 +- vrchatapi/models/moderate_user_request.py | 2 +- vrchatapi/models/notification.py | 2 +- .../models/notification_detail_invite.py | 2 +- .../notification_detail_invite_response.py | 2 +- .../notification_detail_request_invite.py | 2 +- ...fication_detail_request_invite_response.py | 2 +- .../notification_detail_vote_to_kick.py | 2 +- vrchatapi/models/notification_type.py | 2 +- vrchatapi/models/order_option.py | 2 +- .../paginated_group_audit_log_entry_list.py | 2 +- vrchatapi/models/past_display_name.py | 2 +- vrchatapi/models/permission.py | 2 +- vrchatapi/models/player_moderation.py | 2 +- vrchatapi/models/player_moderation_type.py | 2 +- vrchatapi/models/region.py | 2 +- vrchatapi/models/release_status.py | 2 +- vrchatapi/models/represented_group.py | 2 +- vrchatapi/models/request_invite_request.py | 2 +- .../models/respond_group_join_request.py | 36 +- vrchatapi/models/response.py | 2 +- vrchatapi/models/sent_notification.py | 44 +- vrchatapi/models/sort_option.py | 2 +- vrchatapi/models/subscription.py | 117 +++- vrchatapi/models/subscription_period.py | 2 +- vrchatapi/models/success.py | 2 +- vrchatapi/models/transaction.py | 114 +++- vrchatapi/models/transaction_agreement.py | 2 +- vrchatapi/models/transaction_status.py | 2 +- vrchatapi/models/transaction_steam_info.py | 2 +- .../models/transaction_steam_wallet_info.py | 2 +- vrchatapi/models/two_factor_auth_code.py | 2 +- vrchatapi/models/two_factor_email_code.py | 2 +- vrchatapi/models/unity_package.py | 34 +- vrchatapi/models/update_avatar_request.py | 2 +- .../models/update_favorite_group_request.py | 2 +- .../models/update_group_gallery_request.py | 2 +- .../models/update_group_member_request.py | 2 +- vrchatapi/models/update_group_request.py | 2 +- vrchatapi/models/update_group_role_request.py | 2 +- .../models/update_invite_message_request.py | 2 +- vrchatapi/models/update_user_request.py | 36 +- vrchatapi/models/update_world_request.py | 2 +- vrchatapi/models/user.py | 86 ++- vrchatapi/models/user_exists.py | 2 +- vrchatapi/models/user_state.py | 2 +- vrchatapi/models/user_status.py | 2 +- vrchatapi/models/user_subscription.py | 2 +- .../models/verify2_fa_email_code_result.py | 2 +- vrchatapi/models/verify2_fa_result.py | 2 +- vrchatapi/models/verify_auth_token_result.py | 2 +- vrchatapi/models/world.py | 2 +- vrchatapi/models/world_metadata.py | 2 +- vrchatapi/models/world_publish_status.py | 36 +- vrchatapi/rest.py | 2 +- 194 files changed, 2366 insertions(+), 549 deletions(-) create mode 100644 docs/Badge.md create mode 100644 docs/InstanceRegion.md create mode 100644 docs/LimitedUserGroups.md create mode 100644 vrchatapi/models/badge.py create mode 100644 vrchatapi/models/instance_region.py create mode 100644 vrchatapi/models/limited_user_groups.py diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 58cb2b55..f57ee5a9 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -11,6 +11,7 @@ docs/AuthenticationApi.md docs/Avatar.md docs/AvatarUnityPackageUrlObject.md docs/AvatarsApi.md +docs/Badge.md docs/BanGroupMemberRequest.md docs/CreateAvatarRequest.md docs/CreateFileRequest.md @@ -75,6 +76,7 @@ docs/InfoPushDataArticleContent.md docs/InfoPushDataClickable.md docs/Instance.md docs/InstancePlatforms.md +docs/InstanceRegion.md docs/InstanceShortNameResponse.md docs/InstanceType.md docs/InstancesApi.md @@ -90,6 +92,7 @@ docs/LicenseType.md docs/LimitedGroup.md docs/LimitedUnityPackage.md docs/LimitedUser.md +docs/LimitedUserGroups.md docs/LimitedWorld.md docs/MIMEType.md docs/ModerateUserRequest.md @@ -188,6 +191,7 @@ vrchatapi/models/api_config_events.py vrchatapi/models/api_health.py vrchatapi/models/avatar.py vrchatapi/models/avatar_unity_package_url_object.py +vrchatapi/models/badge.py vrchatapi/models/ban_group_member_request.py vrchatapi/models/create_avatar_request.py vrchatapi/models/create_file_request.py @@ -247,6 +251,7 @@ vrchatapi/models/info_push_data_article_content.py vrchatapi/models/info_push_data_clickable.py vrchatapi/models/instance.py vrchatapi/models/instance_platforms.py +vrchatapi/models/instance_region.py vrchatapi/models/instance_short_name_response.py vrchatapi/models/instance_type.py vrchatapi/models/invite_message.py @@ -260,6 +265,7 @@ vrchatapi/models/license_type.py vrchatapi/models/limited_group.py vrchatapi/models/limited_unity_package.py vrchatapi/models/limited_user.py +vrchatapi/models/limited_user_groups.py vrchatapi/models/limited_world.py vrchatapi/models/mime_type.py vrchatapi/models/moderate_user_request.py diff --git a/docs/AuthenticationApi.md b/docs/AuthenticationApi.md index 0ea6ebec..24e668b3 100644 --- a/docs/AuthenticationApi.md +++ b/docs/AuthenticationApi.md @@ -1,6 +1,6 @@ # vrchatapi.AuthenticationApi -All URIs are relative to *https://api.vrchat.cloud/api/1* +All URIs are relative to *https://vrchat.com/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -29,10 +29,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) @@ -99,10 +99,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -173,10 +173,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -222,10 +222,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -271,10 +271,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -353,10 +353,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -423,10 +423,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -497,10 +497,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -571,10 +571,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -641,10 +641,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters diff --git a/docs/AvatarsApi.md b/docs/AvatarsApi.md index cfd9d4c2..aeb0025d 100644 --- a/docs/AvatarsApi.md +++ b/docs/AvatarsApi.md @@ -1,6 +1,6 @@ # vrchatapi.AvatarsApi -All URIs are relative to *https://api.vrchat.cloud/api/1* +All URIs are relative to *https://vrchat.com/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -31,10 +31,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -105,10 +105,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -180,10 +180,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -255,10 +255,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -354,10 +354,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -429,10 +429,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -527,10 +527,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -602,10 +602,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -678,10 +678,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters diff --git a/docs/Badge.md b/docs/Badge.md new file mode 100644 index 00000000..2c8f18e6 --- /dev/null +++ b/docs/Badge.md @@ -0,0 +1,18 @@ +# Badge + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**assigned_at** | **datetime** | only present in CurrentUser badges | [optional] +**badge_description** | **str** | | +**badge_id** | **str** | | +**badge_image_url** | **str** | direct url to image | +**badge_name** | **str** | | +**hidden** | **bool** | only present in CurrentUser badges | [optional] +**showcased** | **bool** | | +**updated_at** | **datetime** | only present in CurrentUser badges | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CreateInstanceRequest.md b/docs/CreateInstanceRequest.md index 35a8af76..829dfce9 100644 --- a/docs/CreateInstanceRequest.md +++ b/docs/CreateInstanceRequest.md @@ -6,12 +6,15 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **world_id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | **type** | [**InstanceType**](InstanceType.md) | | -**region** | [**Region**](Region.md) | | +**region** | [**InstanceRegion**](InstanceRegion.md) | | **owner_id** | **str** | A groupId if the instance type is \"group\", null if instance type is public, or a userId otherwise | [optional] **role_ids** | **list[str]** | Group roleIds that are allowed to join if the type is \"group\" and groupAccessType is \"member\" | [optional] **group_access_type** | [**GroupAccessType**](GroupAccessType.md) | | [optional] **queue_enabled** | **bool** | | [optional] [default to False] -**closed_at** | **datetime** | The time after which users won't be allowed to join the instance | [optional] +**closed_at** | **datetime** | The time after which users won't be allowed to join the instance. This doesn't work for public instances. | [optional] +**can_request_invite** | **bool** | Only applies to invite type instances to make them invite+ | [optional] [default to False] +**hard_close** | **bool** | Currently unused, but will eventually be a flag to set if the closing of the instance should kick people. | [optional] [default to False] +**invite_only** | **bool** | | [optional] [default to False] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CurrentUser.md b/docs/CurrentUser.md index 65264606..da5e385b 100644 --- a/docs/CurrentUser.md +++ b/docs/CurrentUser.md @@ -10,13 +10,14 @@ Name | Type | Description | Notes **account_deletion_log** | [**list[AccountDeletionLog]**](AccountDeletionLog.md) | | [optional] **active_friends** | **list[str]** | | [optional] **allow_avatar_copying** | **bool** | | +**badges** | [**list[Badge]**](Badge.md) | | [optional] **bio** | **str** | | **bio_links** | **list[str]** | | **current_avatar** | **str** | | **current_avatar_asset_url** | **str** | | **current_avatar_image_url** | **str** | When profilePicOverride is not empty, use it instead. | **current_avatar_thumbnail_image_url** | **str** | When profilePicOverride is not empty, use it instead. | -**current_avatar_tags** | **list[str]** | | [optional] +**current_avatar_tags** | **list[str]** | | **date_joined** | **date** | | **developer_type** | [**DeveloperType**](DeveloperType.md) | | **display_name** | **str** | | @@ -37,11 +38,13 @@ Name | Type | Description | Notes **is_friend** | **bool** | | [default to False] **last_activity** | **datetime** | | [optional] **last_login** | **datetime** | | +**last_mobile** | **datetime** | | **last_platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | **obfuscated_email** | **str** | | **obfuscated_pending_email** | **str** | | **oculus_id** | **str** | | **google_id** | **str** | | [optional] +**google_details** | **object** | | [optional] **pico_id** | **str** | | [optional] **vive_id** | **str** | | [optional] **offline_friends** | **list[str]** | | [optional] @@ -49,6 +52,7 @@ Name | Type | Description | Notes **past_display_names** | [**list[PastDisplayName]**](PastDisplayName.md) | | **presence** | [**CurrentUserPresence**](CurrentUserPresence.md) | | [optional] **profile_pic_override** | **str** | | +**pronouns** | **str** | | **state** | [**UserState**](UserState.md) | | **status** | [**UserStatus**](UserStatus.md) | | **status_description** | **str** | | diff --git a/docs/EconomyApi.md b/docs/EconomyApi.md index 105a0812..f9a08cc1 100644 --- a/docs/EconomyApi.md +++ b/docs/EconomyApi.md @@ -1,6 +1,6 @@ # vrchatapi.EconomyApi -All URIs are relative to *https://api.vrchat.cloud/api/1* +All URIs are relative to *https://vrchat.com/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -27,10 +27,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -97,10 +97,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -171,10 +171,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -245,10 +245,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -315,10 +315,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters diff --git a/docs/FavoritesApi.md b/docs/FavoritesApi.md index 87679319..e0dfad5b 100644 --- a/docs/FavoritesApi.md +++ b/docs/FavoritesApi.md @@ -1,6 +1,6 @@ # vrchatapi.FavoritesApi -All URIs are relative to *https://api.vrchat.cloud/api/1* +All URIs are relative to *https://vrchat.com/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -30,10 +30,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -105,10 +105,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -182,10 +182,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -257,10 +257,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -334,10 +334,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -412,10 +412,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -492,10 +492,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -567,10 +567,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters diff --git a/docs/FilesApi.md b/docs/FilesApi.md index 325d4f2b..6717e8d5 100644 --- a/docs/FilesApi.md +++ b/docs/FilesApi.md @@ -1,6 +1,6 @@ # vrchatapi.FilesApi -All URIs are relative to *https://api.vrchat.cloud/api/1* +All URIs are relative to *https://vrchat.com/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -32,10 +32,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -105,10 +105,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -180,10 +180,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -254,10 +254,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -331,10 +331,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -405,10 +405,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -484,10 +484,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -558,10 +558,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -635,10 +635,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -714,10 +714,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters diff --git a/docs/FriendsApi.md b/docs/FriendsApi.md index 3439a292..87298372 100644 --- a/docs/FriendsApi.md +++ b/docs/FriendsApi.md @@ -1,6 +1,6 @@ # vrchatapi.FriendsApi -All URIs are relative to *https://api.vrchat.cloud/api/1* +All URIs are relative to *https://vrchat.com/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -27,10 +27,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -102,10 +102,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -178,10 +178,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -252,10 +252,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -330,10 +330,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters diff --git a/docs/GroupsApi.md b/docs/GroupsApi.md index c7823718..456d0809 100644 --- a/docs/GroupsApi.md +++ b/docs/GroupsApi.md @@ -1,6 +1,6 @@ # vrchatapi.GroupsApi -All URIs are relative to *https://api.vrchat.cloud/api/1* +All URIs are relative to *https://vrchat.com/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -64,10 +64,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -143,10 +143,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -222,10 +222,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -298,10 +298,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -376,10 +376,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -451,10 +451,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -525,10 +525,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -602,10 +602,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -679,10 +679,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -757,10 +757,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -834,10 +834,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -909,10 +909,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -984,10 +984,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -1061,10 +1061,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -1141,10 +1141,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -1217,10 +1217,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -1294,10 +1294,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -1371,10 +1371,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -1448,10 +1448,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -1523,10 +1523,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -1606,10 +1606,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -1685,10 +1685,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -1768,10 +1768,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -1843,10 +1843,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -1923,10 +1923,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -2000,10 +2000,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -2082,10 +2082,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -2158,10 +2158,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -2223,7 +2223,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_group_requests** -> list[GroupMember] get_group_requests(group_id, n=n, offset=offset) +> list[GroupMember] get_group_requests(group_id, n=n, offset=offset, blocked=blocked) Get Group Join Requests @@ -2238,10 +2238,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -2262,10 +2262,11 @@ with vrchatapi.ApiClient(configuration) as api_client: group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. n = 60 # int | The number of objects to return. (optional) (default to 60) offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) +blocked = True # bool | See blocked join requests (optional) try: # Get Group Join Requests - api_response = api_instance.get_group_requests(group_id, n=n, offset=offset) + api_response = api_instance.get_group_requests(group_id, n=n, offset=offset, blocked=blocked) pprint(api_response) except ApiException as e: print("Exception when calling GroupsApi->get_group_requests: %s\n" % e) @@ -2278,6 +2279,7 @@ Name | Type | Description | Notes **group_id** | **str**| Must be a valid group ID. | **n** | **int**| The number of objects to return. | [optional] [default to 60] **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + **blocked** | **bool**| See blocked join requests | [optional] ### Return type @@ -2318,10 +2320,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -2393,10 +2395,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -2469,10 +2471,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -2546,10 +2548,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -2620,10 +2622,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -2699,10 +2701,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -2776,10 +2778,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) @@ -2844,10 +2846,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -2921,10 +2923,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -2998,10 +3000,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -3077,10 +3079,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -3156,10 +3158,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -3235,10 +3237,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters diff --git a/docs/Instance.md b/docs/Instance.md index c5467d5c..e3284faf 100644 --- a/docs/Instance.md +++ b/docs/Instance.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes **permanent** | **bool** | | [default to False] **photon_region** | [**Region**](Region.md) | | **platforms** | [**InstancePlatforms**](InstancePlatforms.md) | | -**region** | [**Region**](Region.md) | | +**region** | [**InstanceRegion**](InstanceRegion.md) | | **secure_name** | **str** | | **short_name** | **str** | | [optional] **tags** | **list[str]** | The tags array on Instances usually contain the language tags of the people in the instance. | diff --git a/docs/InstanceRegion.md b/docs/InstanceRegion.md new file mode 100644 index 00000000..54458db7 --- /dev/null +++ b/docs/InstanceRegion.md @@ -0,0 +1,11 @@ +# InstanceRegion + +Instance region + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InstancesApi.md b/docs/InstancesApi.md index 1fd53af9..359609b0 100644 --- a/docs/InstancesApi.md +++ b/docs/InstancesApi.md @@ -1,6 +1,6 @@ # vrchatapi.InstancesApi -All URIs are relative to *https://api.vrchat.cloud/api/1* +All URIs are relative to *https://vrchat.com/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -28,10 +28,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -110,10 +110,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -184,10 +184,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -260,10 +260,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -335,10 +335,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -411,10 +411,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters diff --git a/docs/InviteApi.md b/docs/InviteApi.md index 81088120..853cefe9 100644 --- a/docs/InviteApi.md +++ b/docs/InviteApi.md @@ -1,6 +1,6 @@ # vrchatapi.InviteApi -All URIs are relative to *https://api.vrchat.cloud/api/1* +All URIs are relative to *https://vrchat.com/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -30,10 +30,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -110,10 +110,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -187,10 +187,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -264,10 +264,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -340,10 +340,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -416,10 +416,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -497,10 +497,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -573,10 +573,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters diff --git a/docs/LimitedUser.md b/docs/LimitedUser.md index 7bca52b3..d521f280 100644 --- a/docs/LimitedUser.md +++ b/docs/LimitedUser.md @@ -6,8 +6,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **bio** | **str** | | [optional] +**bio_links** | **list[str]** | | [optional] **current_avatar_image_url** | **str** | When profilePicOverride is not empty, use it instead. | [optional] **current_avatar_thumbnail_image_url** | **str** | When profilePicOverride is not empty, use it instead. | [optional] +**current_avatar_tags** | **list[str]** | | [optional] **developer_type** | [**DeveloperType**](DeveloperType.md) | | **display_name** | **str** | | **fallback_avatar** | **str** | | [optional] @@ -15,6 +17,7 @@ Name | Type | Description | Notes **is_friend** | **bool** | | **last_platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | **profile_pic_override** | **str** | | [optional] +**pronouns** | **str** | | [optional] **status** | [**UserStatus**](UserStatus.md) | | **status_description** | **str** | | **tags** | **list[str]** | <- Always empty. | diff --git a/docs/LimitedUserGroups.md b/docs/LimitedUserGroups.md new file mode 100644 index 00000000..d7c3e09b --- /dev/null +++ b/docs/LimitedUserGroups.md @@ -0,0 +1,28 @@ +# LimitedUserGroups + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | | [optional] +**name** | **str** | | [optional] +**short_code** | **str** | | [optional] +**discriminator** | **str** | | [optional] +**description** | **str** | | [optional] +**icon_id** | **str** | | [optional] +**icon_url** | **str** | | [optional] +**banner_id** | **str** | | [optional] +**banner_url** | **str** | | [optional] +**privacy** | **str** | | [optional] +**last_post_created_at** | **datetime** | | [optional] +**owner_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] +**member_count** | **int** | | [optional] +**group_id** | **str** | | [optional] +**member_visibility** | **str** | | [optional] +**is_representing** | **bool** | | [optional] +**mutual_group** | **bool** | | [optional] +**last_post_read_at** | **datetime** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/LimitedWorld.md b/docs/LimitedWorld.md index ea67ac37..ad0a5746 100644 --- a/docs/LimitedWorld.md +++ b/docs/LimitedWorld.md @@ -11,6 +11,7 @@ Name | Type | Description | Notes **recommended_capacity** | **int** | | [optional] **created_at** | **datetime** | | **favorites** | **int** | | [default to 0] +**visits** | **int** | | [optional] [default to 0] **heat** | **int** | | [default to 0] **id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | **image_url** | **str** | | @@ -19,6 +20,7 @@ Name | Type | Description | Notes **occupants** | **int** | | [default to 0] **organization** | **str** | | [default to 'vrchat'] **popularity** | **int** | | [default to 0] +**preview_youtube_id** | **str** | | [optional] **publication_date** | **str** | | **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | **tags** | **list[str]** | | diff --git a/docs/NotificationsApi.md b/docs/NotificationsApi.md index 83470f90..99795850 100644 --- a/docs/NotificationsApi.md +++ b/docs/NotificationsApi.md @@ -1,6 +1,6 @@ # vrchatapi.NotificationsApi -All URIs are relative to *https://api.vrchat.cloud/api/1* +All URIs are relative to *https://vrchat.com/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -27,10 +27,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -102,10 +102,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -172,10 +172,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -246,10 +246,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -330,10 +330,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters diff --git a/docs/PermissionsApi.md b/docs/PermissionsApi.md index d69cdce5..b7789f47 100644 --- a/docs/PermissionsApi.md +++ b/docs/PermissionsApi.md @@ -1,6 +1,6 @@ # vrchatapi.PermissionsApi -All URIs are relative to *https://api.vrchat.cloud/api/1* +All URIs are relative to *https://vrchat.com/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -24,10 +24,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -94,10 +94,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters diff --git a/docs/PlayermoderationApi.md b/docs/PlayermoderationApi.md index 127a618b..e3ea47cd 100644 --- a/docs/PlayermoderationApi.md +++ b/docs/PlayermoderationApi.md @@ -1,6 +1,6 @@ # vrchatapi.PlayermoderationApi -All URIs are relative to *https://api.vrchat.cloud/api/1* +All URIs are relative to *https://vrchat.com/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -28,10 +28,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -98,10 +98,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -173,10 +173,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -248,10 +248,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -324,10 +324,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -398,10 +398,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters diff --git a/docs/RespondGroupJoinRequest.md b/docs/RespondGroupJoinRequest.md index 518d74fe..4eef20cd 100644 --- a/docs/RespondGroupJoinRequest.md +++ b/docs/RespondGroupJoinRequest.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **action** | [**GroupJoinRequestAction**](GroupJoinRequestAction.md) | | +**block** | **bool** | Whether to block the user from requesting again | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SentNotification.md b/docs/SentNotification.md index cf248521..02a06220 100644 --- a/docs/SentNotification.md +++ b/docs/SentNotification.md @@ -6,10 +6,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **created_at** | **datetime** | | -**details** | **str** | **NOTICE:** This is not a JSON object, this is a json **encoded** object, meaning you have to json-de-encode to get the NotificationDetail object depending on the NotificationType. | [default to '{}'] +**details** | **object** | | **id** | **str** | | **message** | **str** | | -**reciever_user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**receiver_user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | **sender_user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | **sender_username** | **str** | -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). | [optional] **type** | [**NotificationType**](NotificationType.md) | | diff --git a/docs/Subscription.md b/docs/Subscription.md index 2f3b3ab0..f6fb374e 100644 --- a/docs/Subscription.md +++ b/docs/Subscription.md @@ -7,6 +7,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **str** | | **steam_item_id** | **str** | | +**oculus_sku** | **str** | | [optional] +**google_product_id** | **str** | | [optional] +**google_plan_id** | **str** | | [optional] +**pico_sku** | **str** | | [optional] **amount** | **float** | | **description** | **str** | | **period** | [**SubscriptionPeriod**](SubscriptionPeriod.md) | | diff --git a/docs/SystemApi.md b/docs/SystemApi.md index c094dddc..2fd028fe 100644 --- a/docs/SystemApi.md +++ b/docs/SystemApi.md @@ -1,6 +1,6 @@ # vrchatapi.SystemApi -All URIs are relative to *https://api.vrchat.cloud/api/1* +All URIs are relative to *https://vrchat.com/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -28,10 +28,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) @@ -86,10 +86,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) @@ -151,10 +151,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) @@ -209,10 +209,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) @@ -267,10 +267,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) @@ -331,10 +331,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) @@ -396,10 +396,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) diff --git a/docs/Transaction.md b/docs/Transaction.md index 7359375d..abb7e264 100644 --- a/docs/Transaction.md +++ b/docs/Transaction.md @@ -6,6 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **str** | | +**user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] +**user_display_name** | **str** | | [optional] **status** | [**TransactionStatus**](TransactionStatus.md) | | **subscription** | [**Subscription**](Subscription.md) | | **sandbox** | **bool** | | [default to False] @@ -14,6 +16,8 @@ Name | Type | Description | Notes **steam** | [**TransactionSteamInfo**](TransactionSteamInfo.md) | | [optional] **agreement** | [**TransactionAgreement**](TransactionAgreement.md) | | [optional] **error** | **str** | | +**is_gift** | **bool** | | [optional] [default to False] +**is_tokens** | **bool** | | [optional] [default to False] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UnityPackage.md b/docs/UnityPackage.md index 17b4b505..afcf0758 100644 --- a/docs/UnityPackage.md +++ b/docs/UnityPackage.md @@ -17,6 +17,7 @@ Name | Type | Description | Notes **unity_version** | **str** | | [default to '5.3.4p1'] **impostor_url** | **str** | | [optional] **scan_status** | **str** | | [optional] +**variant** | **str** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UpdateUserRequest.md b/docs/UpdateUserRequest.md index f5806be7..decbd3e6 100644 --- a/docs/UpdateUserRequest.md +++ b/docs/UpdateUserRequest.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **status_description** | **str** | | [optional] **bio** | **str** | | [optional] **bio_links** | **list[str]** | | [optional] +**pronouns** | **str** | | [optional] **user_icon** | **str** | MUST be a valid VRChat /file/ url. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/User.md b/docs/User.md index 6740390d..2527d4c5 100644 --- a/docs/User.md +++ b/docs/User.md @@ -5,10 +5,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **allow_avatar_copying** | **bool** | | [default to True] +**badges** | [**list[Badge]**](Badge.md) | | [optional] **bio** | **str** | | **bio_links** | **list[str]** | | **current_avatar_image_url** | **str** | When profilePicOverride is not empty, use it instead. | **current_avatar_thumbnail_image_url** | **str** | When profilePicOverride is not empty, use it instead. | +**current_avatar_tags** | **list[str]** | | **date_joined** | **date** | | **developer_type** | [**DeveloperType**](DeveloperType.md) | | **display_name** | **str** | A users visual display name. This is what shows up in-game, and can different from their `username`. Changing display name is restricted to a cooldown period. | @@ -23,6 +25,7 @@ Name | Type | Description | Notes **location** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | [optional] **note** | **str** | | [optional] **profile_pic_override** | **str** | | +**pronouns** | **str** | | **state** | [**UserState**](UserState.md) | | **status** | [**UserStatus**](UserStatus.md) | | **status_description** | **str** | | diff --git a/docs/UsersApi.md b/docs/UsersApi.md index ae298860..c22fe5b3 100644 --- a/docs/UsersApi.md +++ b/docs/UsersApi.md @@ -1,6 +1,6 @@ # vrchatapi.UsersApi -All URIs are relative to *https://api.vrchat.cloud/api/1* +All URIs are relative to *https://vrchat.com/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -29,10 +29,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -103,10 +103,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -177,10 +177,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -236,7 +236,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_user_groups** -> list[LimitedGroup] get_user_groups(user_id) +> list[LimitedUserGroups] get_user_groups(user_id) Get User Groups @@ -251,10 +251,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -290,7 +290,7 @@ Name | Type | Description | Notes ### Return type -[**list[LimitedGroup]**](LimitedGroup.md) +[**list[LimitedUserGroups]**](LimitedUserGroups.md) ### Authorization @@ -304,7 +304,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a list of LimitedGroup objects. | - | +**200** | Returns a list of LimitedUserGroups objects. | - | **401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -325,10 +325,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -399,10 +399,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -480,10 +480,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters diff --git a/docs/WorldPublishStatus.md b/docs/WorldPublishStatus.md index debdb208..cd90bd4f 100644 --- a/docs/WorldPublishStatus.md +++ b/docs/WorldPublishStatus.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**can_pubilsh** | **bool** | | [default to True] +**can_publish** | **bool** | | [default to True] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WorldsApi.md b/docs/WorldsApi.md index 72730421..ea61b87c 100644 --- a/docs/WorldsApi.md +++ b/docs/WorldsApi.md @@ -1,6 +1,6 @@ # vrchatapi.WorldsApi -All URIs are relative to *https://api.vrchat.cloud/api/1* +All URIs are relative to *https://vrchat.com/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -34,10 +34,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) @@ -99,10 +99,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -173,10 +173,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -269,10 +269,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -368,10 +368,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -466,10 +466,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) @@ -530,10 +530,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -606,10 +606,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -680,10 +680,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -755,10 +755,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -829,10 +829,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -929,10 +929,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters @@ -1003,10 +1003,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# Defining the host is optional and defaults to https://vrchat.com/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" + host = "https://vrchat.com/api/1" ) # The client must configure the authentication and authorization parameters diff --git a/setup.py b/setup.py index a927e8c3..2f7ee499 100644 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.17.3" +VERSION = "1.17.5" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index c575181c..5ae50967 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,7 +6,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -53,6 +53,7 @@ from vrchatapi.models.add_group_gallery_image_request import AddGroupGalleryImageRequest from vrchatapi.models.avatar import Avatar from vrchatapi.models.avatar_unity_package_url_object import AvatarUnityPackageUrlObject +from vrchatapi.models.badge import Badge from vrchatapi.models.ban_group_member_request import BanGroupMemberRequest from vrchatapi.models.create_avatar_request import CreateAvatarRequest from vrchatapi.models.create_file_request import CreateFileRequest @@ -112,6 +113,7 @@ from vrchatapi.models.info_push_data_clickable import InfoPushDataClickable from vrchatapi.models.instance import Instance from vrchatapi.models.instance_platforms import InstancePlatforms +from vrchatapi.models.instance_region import InstanceRegion from vrchatapi.models.instance_short_name_response import InstanceShortNameResponse from vrchatapi.models.instance_type import InstanceType from vrchatapi.models.invite_message import InviteMessage @@ -125,6 +127,7 @@ from vrchatapi.models.limited_group import LimitedGroup from vrchatapi.models.limited_unity_package import LimitedUnityPackage from vrchatapi.models.limited_user import LimitedUser +from vrchatapi.models.limited_user_groups import LimitedUserGroups from vrchatapi.models.limited_world import LimitedWorld from vrchatapi.models.mime_type import MIMEType from vrchatapi.models.moderate_user_request import ModerateUserRequest diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index 39758523..7c5c8c16 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index eaca85a7..f1fefe85 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index a5db6625..0e807657 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index 6aaf770c..0b5adf53 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index 12accf65..64e42274 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index 38d6cf80..8cb24a68 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index 0e41b7bf..b48a2267 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -4340,6 +4340,8 @@ def get_group_requests(self, group_id, **kwargs): # noqa: E501 :type n: int :param offset: A zero-based offset from the default object sorting from where search results start. :type offset: int + :param blocked: See blocked join requests + :type blocked: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -4374,6 +4376,8 @@ def get_group_requests_with_http_info(self, group_id, **kwargs): # noqa: E501 :type n: int :param offset: A zero-based offset from the default object sorting from where search results start. :type offset: int + :param blocked: See blocked join requests + :type blocked: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -4403,7 +4407,8 @@ def get_group_requests_with_http_info(self, group_id, **kwargs): # noqa: E501 all_params = [ 'group_id', 'n', - 'offset' + 'offset', + 'blocked' ] all_params.extend( [ @@ -4446,6 +4451,8 @@ def get_group_requests_with_http_info(self, group_id, **kwargs): # noqa: E501 query_params.append(('n', local_var_params['n'])) # noqa: E501 if local_var_params.get('offset') is not None: # noqa: E501 query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + if local_var_params.get('blocked') is not None: # noqa: E501 + query_params.append(('blocked', local_var_params['blocked'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 1f7150fe..9b280616 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index 656d077d..3deef53a 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index 74992de8..eec992bc 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index b656c028..015d3c25 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index c49631b8..1aa2bae0 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index 5cb43266..21f92bab 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index 65cda8da..5c1d5ea2 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -475,7 +475,7 @@ def get_user_groups(self, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[LimitedGroup] + :rtype: list[LimitedUserGroups] """ kwargs['_return_http_data_only'] = True return self.get_user_groups_with_http_info(user_id, **kwargs) # noqa: E501 @@ -513,7 +513,7 @@ def get_user_groups_with_http_info(self, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[LimitedGroup], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(list[LimitedUserGroups], status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() @@ -567,7 +567,7 @@ def get_user_groups_with_http_info(self, user_id, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "list[LimitedGroup]", + 200: "list[LimitedUserGroups]", 401: "Error", } diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 53f4727b..3b8d17e6 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index 9f79db91..b2aaa725 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,7 +3,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index 703930f8..3649b495 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -132,7 +132,7 @@ def __init__(self, host=None, ): """Constructor """ - self._base_path = "https://api.vrchat.cloud/api/1" if host is None else host + self._base_path = "https://vrchat.com/api/1" if host is None else host """Default Base url """ self.server_index = 0 if server_index is None and host is None else server_index @@ -441,7 +441,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.17.3\n"\ + "Version of the API: 1.17.5\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) @@ -452,7 +452,7 @@ def get_host_settings(self): """ return [ { - 'url': "https://api.vrchat.cloud/api/1", + 'url': "https://vrchat.com/api/1", 'description': "No description provided", } ] diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index 746bcd57..eb608daa 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index fc4cd088..9114c7e9 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,7 +5,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -24,6 +24,7 @@ from vrchatapi.models.add_group_gallery_image_request import AddGroupGalleryImageRequest from vrchatapi.models.avatar import Avatar from vrchatapi.models.avatar_unity_package_url_object import AvatarUnityPackageUrlObject +from vrchatapi.models.badge import Badge from vrchatapi.models.ban_group_member_request import BanGroupMemberRequest from vrchatapi.models.create_avatar_request import CreateAvatarRequest from vrchatapi.models.create_file_request import CreateFileRequest @@ -83,6 +84,7 @@ from vrchatapi.models.info_push_data_clickable import InfoPushDataClickable from vrchatapi.models.instance import Instance from vrchatapi.models.instance_platforms import InstancePlatforms +from vrchatapi.models.instance_region import InstanceRegion from vrchatapi.models.instance_short_name_response import InstanceShortNameResponse from vrchatapi.models.instance_type import InstanceType from vrchatapi.models.invite_message import InviteMessage @@ -96,6 +98,7 @@ from vrchatapi.models.limited_group import LimitedGroup from vrchatapi.models.limited_unity_package import LimitedUnityPackage from vrchatapi.models.limited_user import LimitedUser +from vrchatapi.models.limited_user_groups import LimitedUserGroups from vrchatapi.models.limited_world import LimitedWorld from vrchatapi.models.mime_type import MIMEType from vrchatapi.models.moderate_user_request import ModerateUserRequest diff --git a/vrchatapi/models/account_deletion_log.py b/vrchatapi/models/account_deletion_log.py index 24c3132e..319db4d1 100644 --- a/vrchatapi/models/account_deletion_log.py +++ b/vrchatapi/models/account_deletion_log.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index c759c6d8..be53c39b 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index 48c11de5..969215dc 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index d1a44515..4aa338a2 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index 4c4b48fc..d5abf9fb 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index e5a7fc0d..416f46d2 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index 98dad825..8f4e712d 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index 3dec80cf..a83766a2 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index e630076b..6f8dd55a 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index 3563d5cd..00f412a7 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/badge.py b/vrchatapi/models/badge.py new file mode 100644 index 00000000..c6c4116c --- /dev/null +++ b/vrchatapi/models/badge.py @@ -0,0 +1,323 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.17.5 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class Badge(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'assigned_at': 'datetime', + 'badge_description': 'str', + 'badge_id': 'str', + 'badge_image_url': 'str', + 'badge_name': 'str', + 'hidden': 'bool', + 'showcased': 'bool', + 'updated_at': 'datetime' + } + + attribute_map = { + 'assigned_at': 'assignedAt', + 'badge_description': 'badgeDescription', + 'badge_id': 'badgeId', + 'badge_image_url': 'badgeImageUrl', + 'badge_name': 'badgeName', + 'hidden': 'hidden', + 'showcased': 'showcased', + 'updated_at': 'updatedAt' + } + + def __init__(self, assigned_at=None, badge_description=None, badge_id=None, badge_image_url=None, badge_name=None, hidden=None, showcased=None, updated_at=None, local_vars_configuration=None): # noqa: E501 + """Badge - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._assigned_at = None + self._badge_description = None + self._badge_id = None + self._badge_image_url = None + self._badge_name = None + self._hidden = None + self._showcased = None + self._updated_at = None + self.discriminator = None + + self.assigned_at = assigned_at + self.badge_description = badge_description + self.badge_id = badge_id + self.badge_image_url = badge_image_url + self.badge_name = badge_name + self.hidden = hidden + self.showcased = showcased + self.updated_at = updated_at + + @property + def assigned_at(self): + """Gets the assigned_at of this Badge. # noqa: E501 + + only present in CurrentUser badges # noqa: E501 + + :return: The assigned_at of this Badge. # noqa: E501 + :rtype: datetime + """ + return self._assigned_at + + @assigned_at.setter + def assigned_at(self, assigned_at): + """Sets the assigned_at of this Badge. + + only present in CurrentUser badges # noqa: E501 + + :param assigned_at: The assigned_at of this Badge. # noqa: E501 + :type assigned_at: datetime + """ + + self._assigned_at = assigned_at + + @property + def badge_description(self): + """Gets the badge_description of this Badge. # noqa: E501 + + + :return: The badge_description of this Badge. # noqa: E501 + :rtype: str + """ + return self._badge_description + + @badge_description.setter + def badge_description(self, badge_description): + """Sets the badge_description of this Badge. + + + :param badge_description: The badge_description of this Badge. # noqa: E501 + :type badge_description: str + """ + if self.local_vars_configuration.client_side_validation and badge_description is None: # noqa: E501 + raise ValueError("Invalid value for `badge_description`, must not be `None`") # noqa: E501 + + self._badge_description = badge_description + + @property + def badge_id(self): + """Gets the badge_id of this Badge. # noqa: E501 + + + :return: The badge_id of this Badge. # noqa: E501 + :rtype: str + """ + return self._badge_id + + @badge_id.setter + def badge_id(self, badge_id): + """Sets the badge_id of this Badge. + + + :param badge_id: The badge_id of this Badge. # noqa: E501 + :type badge_id: str + """ + if self.local_vars_configuration.client_side_validation and badge_id is None: # noqa: E501 + raise ValueError("Invalid value for `badge_id`, must not be `None`") # noqa: E501 + + self._badge_id = badge_id + + @property + def badge_image_url(self): + """Gets the badge_image_url of this Badge. # noqa: E501 + + direct url to image # noqa: E501 + + :return: The badge_image_url of this Badge. # noqa: E501 + :rtype: str + """ + return self._badge_image_url + + @badge_image_url.setter + def badge_image_url(self, badge_image_url): + """Sets the badge_image_url of this Badge. + + direct url to image # noqa: E501 + + :param badge_image_url: The badge_image_url of this Badge. # noqa: E501 + :type badge_image_url: str + """ + if self.local_vars_configuration.client_side_validation and badge_image_url is None: # noqa: E501 + raise ValueError("Invalid value for `badge_image_url`, must not be `None`") # noqa: E501 + + self._badge_image_url = badge_image_url + + @property + def badge_name(self): + """Gets the badge_name of this Badge. # noqa: E501 + + + :return: The badge_name of this Badge. # noqa: E501 + :rtype: str + """ + return self._badge_name + + @badge_name.setter + def badge_name(self, badge_name): + """Sets the badge_name of this Badge. + + + :param badge_name: The badge_name of this Badge. # noqa: E501 + :type badge_name: str + """ + if self.local_vars_configuration.client_side_validation and badge_name is None: # noqa: E501 + raise ValueError("Invalid value for `badge_name`, must not be `None`") # noqa: E501 + + self._badge_name = badge_name + + @property + def hidden(self): + """Gets the hidden of this Badge. # noqa: E501 + + only present in CurrentUser badges # noqa: E501 + + :return: The hidden of this Badge. # noqa: E501 + :rtype: bool + """ + return self._hidden + + @hidden.setter + def hidden(self, hidden): + """Sets the hidden of this Badge. + + only present in CurrentUser badges # noqa: E501 + + :param hidden: The hidden of this Badge. # noqa: E501 + :type hidden: bool + """ + + self._hidden = hidden + + @property + def showcased(self): + """Gets the showcased of this Badge. # noqa: E501 + + + :return: The showcased of this Badge. # noqa: E501 + :rtype: bool + """ + return self._showcased + + @showcased.setter + def showcased(self, showcased): + """Sets the showcased of this Badge. + + + :param showcased: The showcased of this Badge. # noqa: E501 + :type showcased: bool + """ + if self.local_vars_configuration.client_side_validation and showcased is None: # noqa: E501 + raise ValueError("Invalid value for `showcased`, must not be `None`") # noqa: E501 + + self._showcased = showcased + + @property + def updated_at(self): + """Gets the updated_at of this Badge. # noqa: E501 + + only present in CurrentUser badges # noqa: E501 + + :return: The updated_at of this Badge. # noqa: E501 + :rtype: datetime + """ + return self._updated_at + + @updated_at.setter + def updated_at(self, updated_at): + """Sets the updated_at of this Badge. + + only present in CurrentUser badges # noqa: E501 + + :param updated_at: The updated_at of this Badge. # noqa: E501 + :type updated_at: datetime + """ + + self._updated_at = updated_at + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, Badge): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, Badge): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index 688cd6cd..fc9dd60f 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index 8b6f4291..a5c4ac5c 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index d8d45084..d48555c2 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index 3f04897b..b699dea1 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index d54e13f0..d3544047 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index 17ef0f7e..5e6410e7 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index e3667851..2e899543 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_post_request.py b/vrchatapi/models/create_group_post_request.py index 05d6f136..0e410691 100644 --- a/vrchatapi/models/create_group_post_request.py +++ b/vrchatapi/models/create_group_post_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index 831a34c2..ff6f02cd 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index 14c877f3..0e7536ce 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_instance_request.py b/vrchatapi/models/create_instance_request.py index eda481af..2ca589bf 100644 --- a/vrchatapi/models/create_instance_request.py +++ b/vrchatapi/models/create_instance_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -38,12 +38,15 @@ class CreateInstanceRequest(object): openapi_types = { 'world_id': 'str', 'type': 'InstanceType', - 'region': 'Region', + 'region': 'InstanceRegion', 'owner_id': 'str', 'role_ids': 'list[str]', 'group_access_type': 'GroupAccessType', 'queue_enabled': 'bool', - 'closed_at': 'datetime' + 'closed_at': 'datetime', + 'can_request_invite': 'bool', + 'hard_close': 'bool', + 'invite_only': 'bool' } attribute_map = { @@ -54,10 +57,13 @@ class CreateInstanceRequest(object): 'role_ids': 'roleIds', 'group_access_type': 'groupAccessType', 'queue_enabled': 'queueEnabled', - 'closed_at': 'closedAt' + 'closed_at': 'closedAt', + 'can_request_invite': 'canRequestInvite', + 'hard_close': 'hardClose', + 'invite_only': 'inviteOnly' } - def __init__(self, world_id=None, type=None, region=None, owner_id=None, role_ids=None, group_access_type=None, queue_enabled=False, closed_at=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, world_id=None, type=None, region=None, owner_id=None, role_ids=None, group_access_type=None, queue_enabled=False, closed_at=None, can_request_invite=False, hard_close=False, invite_only=False, local_vars_configuration=None): # noqa: E501 """CreateInstanceRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -71,6 +77,9 @@ def __init__(self, world_id=None, type=None, region=None, owner_id=None, role_id self._group_access_type = None self._queue_enabled = None self._closed_at = None + self._can_request_invite = None + self._hard_close = None + self._invite_only = None self.discriminator = None self.world_id = world_id @@ -85,6 +94,12 @@ def __init__(self, world_id=None, type=None, region=None, owner_id=None, role_id self.queue_enabled = queue_enabled if closed_at is not None: self.closed_at = closed_at + if can_request_invite is not None: + self.can_request_invite = can_request_invite + if hard_close is not None: + self.hard_close = hard_close + if invite_only is not None: + self.invite_only = invite_only @property def world_id(self): @@ -140,7 +155,7 @@ def region(self): :return: The region of this CreateInstanceRequest. # noqa: E501 - :rtype: Region + :rtype: InstanceRegion """ return self._region @@ -150,7 +165,7 @@ def region(self, region): :param region: The region of this CreateInstanceRequest. # noqa: E501 - :type region: Region + :type region: InstanceRegion """ if self.local_vars_configuration.client_side_validation and region is None: # noqa: E501 raise ValueError("Invalid value for `region`, must not be `None`") # noqa: E501 @@ -249,7 +264,7 @@ def queue_enabled(self, queue_enabled): def closed_at(self): """Gets the closed_at of this CreateInstanceRequest. # noqa: E501 - The time after which users won't be allowed to join the instance # noqa: E501 + The time after which users won't be allowed to join the instance. This doesn't work for public instances. # noqa: E501 :return: The closed_at of this CreateInstanceRequest. # noqa: E501 :rtype: datetime @@ -260,7 +275,7 @@ def closed_at(self): def closed_at(self, closed_at): """Sets the closed_at of this CreateInstanceRequest. - The time after which users won't be allowed to join the instance # noqa: E501 + The time after which users won't be allowed to join the instance. This doesn't work for public instances. # noqa: E501 :param closed_at: The closed_at of this CreateInstanceRequest. # noqa: E501 :type closed_at: datetime @@ -268,6 +283,73 @@ def closed_at(self, closed_at): self._closed_at = closed_at + @property + def can_request_invite(self): + """Gets the can_request_invite of this CreateInstanceRequest. # noqa: E501 + + Only applies to invite type instances to make them invite+ # noqa: E501 + + :return: The can_request_invite of this CreateInstanceRequest. # noqa: E501 + :rtype: bool + """ + return self._can_request_invite + + @can_request_invite.setter + def can_request_invite(self, can_request_invite): + """Sets the can_request_invite of this CreateInstanceRequest. + + Only applies to invite type instances to make them invite+ # noqa: E501 + + :param can_request_invite: The can_request_invite of this CreateInstanceRequest. # noqa: E501 + :type can_request_invite: bool + """ + + self._can_request_invite = can_request_invite + + @property + def hard_close(self): + """Gets the hard_close of this CreateInstanceRequest. # noqa: E501 + + Currently unused, but will eventually be a flag to set if the closing of the instance should kick people. # noqa: E501 + + :return: The hard_close of this CreateInstanceRequest. # noqa: E501 + :rtype: bool + """ + return self._hard_close + + @hard_close.setter + def hard_close(self, hard_close): + """Sets the hard_close of this CreateInstanceRequest. + + Currently unused, but will eventually be a flag to set if the closing of the instance should kick people. # noqa: E501 + + :param hard_close: The hard_close of this CreateInstanceRequest. # noqa: E501 + :type hard_close: bool + """ + + self._hard_close = hard_close + + @property + def invite_only(self): + """Gets the invite_only of this CreateInstanceRequest. # noqa: E501 + + + :return: The invite_only of this CreateInstanceRequest. # noqa: E501 + :rtype: bool + """ + return self._invite_only + + @invite_only.setter + def invite_only(self, invite_only): + """Sets the invite_only of this CreateInstanceRequest. + + + :param invite_only: The invite_only of this CreateInstanceRequest. # noqa: E501 + :type invite_only: bool + """ + + self._invite_only = invite_only + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index ae19fb90..56b5b5df 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index 7c4c3163..775839ba 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -42,6 +42,7 @@ class CurrentUser(object): 'account_deletion_log': 'list[AccountDeletionLog]', 'active_friends': 'list[str]', 'allow_avatar_copying': 'bool', + 'badges': 'list[Badge]', 'bio': 'str', 'bio_links': 'list[str]', 'current_avatar': 'str', @@ -69,11 +70,13 @@ class CurrentUser(object): 'is_friend': 'bool', 'last_activity': 'datetime', 'last_login': 'datetime', + 'last_mobile': 'datetime', 'last_platform': 'str', 'obfuscated_email': 'str', 'obfuscated_pending_email': 'str', 'oculus_id': 'str', 'google_id': 'str', + 'google_details': 'object', 'pico_id': 'str', 'vive_id': 'str', 'offline_friends': 'list[str]', @@ -81,6 +84,7 @@ class CurrentUser(object): 'past_display_names': 'list[PastDisplayName]', 'presence': 'CurrentUserPresence', 'profile_pic_override': 'str', + 'pronouns': 'str', 'state': 'UserState', 'status': 'UserStatus', 'status_description': 'str', @@ -104,6 +108,7 @@ class CurrentUser(object): 'account_deletion_log': 'accountDeletionLog', 'active_friends': 'activeFriends', 'allow_avatar_copying': 'allowAvatarCopying', + 'badges': 'badges', 'bio': 'bio', 'bio_links': 'bioLinks', 'current_avatar': 'currentAvatar', @@ -131,11 +136,13 @@ class CurrentUser(object): 'is_friend': 'isFriend', 'last_activity': 'last_activity', 'last_login': 'last_login', + 'last_mobile': 'last_mobile', 'last_platform': 'last_platform', 'obfuscated_email': 'obfuscatedEmail', 'obfuscated_pending_email': 'obfuscatedPendingEmail', 'oculus_id': 'oculusId', 'google_id': 'googleId', + 'google_details': 'googleDetails', 'pico_id': 'picoId', 'vive_id': 'viveId', 'offline_friends': 'offlineFriends', @@ -143,6 +150,7 @@ class CurrentUser(object): 'past_display_names': 'pastDisplayNames', 'presence': 'presence', 'profile_pic_override': 'profilePicOverride', + 'pronouns': 'pronouns', 'state': 'state', 'status': 'status', 'status_description': 'statusDescription', @@ -159,7 +167,7 @@ class CurrentUser(object): 'username': 'username' } - def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, account_deletion_date=None, account_deletion_log=None, active_friends=None, allow_avatar_copying=None, bio=None, bio_links=None, current_avatar=None, current_avatar_asset_url=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, date_joined=None, developer_type=None, display_name=None, email_verified=None, fallback_avatar=None, friend_group_names=None, friend_key=None, friends=None, has_birthday=None, hide_content_filter_settings=None, user_language=None, user_language_code=None, has_email=None, has_logged_in_from_client=None, has_pending_email=None, home_location=None, id=None, is_friend=False, last_activity=None, last_login=None, last_platform=None, obfuscated_email=None, obfuscated_pending_email=None, oculus_id=None, google_id=None, pico_id=None, vive_id=None, offline_friends=None, online_friends=None, past_display_names=None, presence=None, profile_pic_override=None, state=None, status=None, status_description=None, status_first_time=None, status_history=None, steam_details=None, steam_id=None, tags=None, two_factor_auth_enabled=None, two_factor_auth_enabled_date=None, unsubscribe=None, updated_at=None, user_icon=None, username=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, account_deletion_date=None, account_deletion_log=None, active_friends=None, allow_avatar_copying=None, badges=None, bio=None, bio_links=None, current_avatar=None, current_avatar_asset_url=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, date_joined=None, developer_type=None, display_name=None, email_verified=None, fallback_avatar=None, friend_group_names=None, friend_key=None, friends=None, has_birthday=None, hide_content_filter_settings=None, user_language=None, user_language_code=None, has_email=None, has_logged_in_from_client=None, has_pending_email=None, home_location=None, id=None, is_friend=False, last_activity=None, last_login=None, last_mobile=None, last_platform=None, obfuscated_email=None, obfuscated_pending_email=None, oculus_id=None, google_id=None, google_details=None, pico_id=None, vive_id=None, offline_friends=None, online_friends=None, past_display_names=None, presence=None, profile_pic_override=None, pronouns=None, state=None, status=None, status_description=None, status_first_time=None, status_history=None, steam_details=None, steam_id=None, tags=None, two_factor_auth_enabled=None, two_factor_auth_enabled_date=None, unsubscribe=None, updated_at=None, user_icon=None, username=None, local_vars_configuration=None): # noqa: E501 """CurrentUser - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -171,6 +179,7 @@ def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, acc self._account_deletion_log = None self._active_friends = None self._allow_avatar_copying = None + self._badges = None self._bio = None self._bio_links = None self._current_avatar = None @@ -198,11 +207,13 @@ def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, acc self._is_friend = None self._last_activity = None self._last_login = None + self._last_mobile = None self._last_platform = None self._obfuscated_email = None self._obfuscated_pending_email = None self._oculus_id = None self._google_id = None + self._google_details = None self._pico_id = None self._vive_id = None self._offline_friends = None @@ -210,6 +221,7 @@ def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, acc self._past_display_names = None self._presence = None self._profile_pic_override = None + self._pronouns = None self._state = None self._status = None self._status_description = None @@ -234,14 +246,15 @@ def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, acc if active_friends is not None: self.active_friends = active_friends self.allow_avatar_copying = allow_avatar_copying + if badges is not None: + self.badges = badges self.bio = bio self.bio_links = bio_links self.current_avatar = current_avatar self.current_avatar_asset_url = current_avatar_asset_url self.current_avatar_image_url = current_avatar_image_url self.current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url - if current_avatar_tags is not None: - self.current_avatar_tags = current_avatar_tags + self.current_avatar_tags = current_avatar_tags self.date_joined = date_joined self.developer_type = developer_type self.display_name = display_name @@ -265,12 +278,15 @@ def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, acc if last_activity is not None: self.last_activity = last_activity self.last_login = last_login + self.last_mobile = last_mobile self.last_platform = last_platform self.obfuscated_email = obfuscated_email self.obfuscated_pending_email = obfuscated_pending_email self.oculus_id = oculus_id if google_id is not None: self.google_id = google_id + if google_details is not None: + self.google_details = google_details if pico_id is not None: self.pico_id = pico_id if vive_id is not None: @@ -283,6 +299,7 @@ def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, acc if presence is not None: self.presence = presence self.profile_pic_override = profile_pic_override + self.pronouns = pronouns self.state = state self.status = status self.status_description = status_description @@ -440,6 +457,29 @@ def allow_avatar_copying(self, allow_avatar_copying): self._allow_avatar_copying = allow_avatar_copying + @property + def badges(self): + """Gets the badges of this CurrentUser. # noqa: E501 + + # noqa: E501 + + :return: The badges of this CurrentUser. # noqa: E501 + :rtype: list[Badge] + """ + return self._badges + + @badges.setter + def badges(self, badges): + """Sets the badges of this CurrentUser. + + # noqa: E501 + + :param badges: The badges of this CurrentUser. # noqa: E501 + :type badges: list[Badge] + """ + + self._badges = badges + @property def bio(self): """Gets the bio of this CurrentUser. # noqa: E501 @@ -602,6 +642,8 @@ def current_avatar_tags(self, current_avatar_tags): :param current_avatar_tags: The current_avatar_tags of this CurrentUser. # noqa: E501 :type current_avatar_tags: list[str] """ + if self.local_vars_configuration.client_side_validation and current_avatar_tags is None: # noqa: E501 + raise ValueError("Invalid value for `current_avatar_tags`, must not be `None`") # noqa: E501 self._current_avatar_tags = current_avatar_tags @@ -1061,6 +1103,27 @@ def last_login(self, last_login): self._last_login = last_login + @property + def last_mobile(self): + """Gets the last_mobile of this CurrentUser. # noqa: E501 + + + :return: The last_mobile of this CurrentUser. # noqa: E501 + :rtype: datetime + """ + return self._last_mobile + + @last_mobile.setter + def last_mobile(self, last_mobile): + """Sets the last_mobile of this CurrentUser. + + + :param last_mobile: The last_mobile of this CurrentUser. # noqa: E501 + :type last_mobile: datetime + """ + + self._last_mobile = last_mobile + @property def last_platform(self): """Gets the last_platform of this CurrentUser. # noqa: E501 @@ -1176,6 +1239,27 @@ def google_id(self, google_id): self._google_id = google_id + @property + def google_details(self): + """Gets the google_details of this CurrentUser. # noqa: E501 + + + :return: The google_details of this CurrentUser. # noqa: E501 + :rtype: object + """ + return self._google_details + + @google_details.setter + def google_details(self, google_details): + """Sets the google_details of this CurrentUser. + + + :param google_details: The google_details of this CurrentUser. # noqa: E501 + :type google_details: object + """ + + self._google_details = google_details + @property def pico_id(self): """Gets the pico_id of this CurrentUser. # noqa: E501 @@ -1329,6 +1413,29 @@ def profile_pic_override(self, profile_pic_override): self._profile_pic_override = profile_pic_override + @property + def pronouns(self): + """Gets the pronouns of this CurrentUser. # noqa: E501 + + + :return: The pronouns of this CurrentUser. # noqa: E501 + :rtype: str + """ + return self._pronouns + + @pronouns.setter + def pronouns(self, pronouns): + """Sets the pronouns of this CurrentUser. + + + :param pronouns: The pronouns of this CurrentUser. # noqa: E501 + :type pronouns: str + """ + if self.local_vars_configuration.client_side_validation and pronouns is None: # noqa: E501 + raise ValueError("Invalid value for `pronouns`, must not be `None`") # noqa: E501 + + self._pronouns = pronouns + @property def state(self): """Gets the state of this CurrentUser. # noqa: E501 diff --git a/vrchatapi/models/current_user_presence.py b/vrchatapi/models/current_user_presence.py index 13af4c27..55df0d88 100644 --- a/vrchatapi/models/current_user_presence.py +++ b/vrchatapi/models/current_user_presence.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/deployment_group.py b/vrchatapi/models/deployment_group.py index fb1804fe..3d0d7f62 100644 --- a/vrchatapi/models/deployment_group.py +++ b/vrchatapi/models/deployment_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index 4cf4af34..628fedec 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index c0062b5b..1ff13bec 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index c4a9ad1a..89c5af0e 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index fedfb72d..e52281a9 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index 29cb046a..fe4ac31e 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index 296c51a6..7010238a 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index 63b5d1b2..aff964c4 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index fbd7af84..847bf5f9 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index a7bd33be..755b4c2d 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index c8b92c53..9156314e 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index 2dfb1da1..10731247 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index 7ddc7cef..5226f757 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index f4c5ba6e..8ab1b941 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index 40b34193..6994c452 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index 5c77903a..ef611349 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index a2aec0e6..eaa86301 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_access_type.py b/vrchatapi/models/group_access_type.py index a52db0d4..d2183776 100644 --- a/vrchatapi/models/group_access_type.py +++ b/vrchatapi/models/group_access_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -33,9 +33,9 @@ class GroupAccessType(object): """ PUBLIC = "public" PLUS = "plus" - MEMBER = "member" + MEMBERS = "members" - allowable_values = [PUBLIC, PLUS, MEMBER] # noqa: E501 + allowable_values = [PUBLIC, PLUS, MEMBERS] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index 10a9a099..69534dcc 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index 69ecfc7a..27b0fc64 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index a6f883d6..9d4db68a 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index c202c76b..3b7d38ba 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_instance.py b/vrchatapi/models/group_instance.py index 11368a03..bf2545e4 100644 --- a/vrchatapi/models/group_instance.py +++ b/vrchatapi/models/group_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_request_action.py b/vrchatapi/models/group_join_request_action.py index ca773b80..4c786fb9 100644 --- a/vrchatapi/models/group_join_request_action.py +++ b/vrchatapi/models/group_join_request_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index c0eeed85..f8c1bd23 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index 06231229..0e84c48b 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index 1c90b1b6..65d920f4 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index 4414b2a3..5ad9b71d 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index 1832a9cc..833d9e63 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index 9d5a13ea..7c736cfc 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index a30ee882..1ebba19e 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post.py b/vrchatapi/models/group_post.py index cf24e425..3b522534 100644 --- a/vrchatapi/models/group_post.py +++ b/vrchatapi/models/group_post.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post_visibility.py b/vrchatapi/models/group_post_visibility.py index d70b2a04..64ba92d2 100644 --- a/vrchatapi/models/group_post_visibility.py +++ b/vrchatapi/models/group_post_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index 30849967..a8b49036 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index 48770f3e..25ef3ccd 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index 11147511..34f00547 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_search_sort.py b/vrchatapi/models/group_search_sort.py index 2150a7ab..38d52907 100644 --- a/vrchatapi/models/group_search_sort.py +++ b/vrchatapi/models/group_search_sort.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index e4b11c15..85f59b7c 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index 38555272..88fe88df 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index 1b7f6d44..e67d9bb2 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index 08e1176f..92dae672 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index 9c7e0ccf..2fc1ad44 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index 909fa812..1f207b41 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index d88ed951..24e65496 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -50,7 +50,7 @@ class Instance(object): 'permanent': 'bool', 'photon_region': 'Region', 'platforms': 'InstancePlatforms', - 'region': 'Region', + 'region': 'InstanceRegion', 'secure_name': 'str', 'short_name': 'str', 'tags': 'list[str]', @@ -551,7 +551,7 @@ def region(self): :return: The region of this Instance. # noqa: E501 - :rtype: Region + :rtype: InstanceRegion """ return self._region @@ -561,7 +561,7 @@ def region(self, region): :param region: The region of this Instance. # noqa: E501 - :type region: Region + :type region: InstanceRegion """ if self.local_vars_configuration.client_side_validation and region is None: # noqa: E501 raise ValueError("Invalid value for `region`, must not be `None`") # noqa: E501 diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index d1347346..0b3a72ae 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_region.py b/vrchatapi/models/instance_region.py new file mode 100644 index 00000000..571c07c2 --- /dev/null +++ b/vrchatapi/models/instance_region.py @@ -0,0 +1,113 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.17.5 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class InstanceRegion(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + US = "us" + USE = "use" + EU = "eu" + JP = "jp" + + allowable_values = [US, USE, EU, JP] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """InstanceRegion - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InstanceRegion): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, InstanceRegion): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index f984aed4..0e0d43c7 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index ce1b8a08..33f4de8d 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index 91b49823..1e861b02 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index 6ed4ed26..04ae4e9b 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index 259b4d3c..f9a2ade3 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index b919b554..b76c85ea 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index be4b94ba..3de94d1e 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index 973aa431..761fb5e1 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index 9410c740..865d41d5 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index 356b718e..ac1283df 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_group.py b/vrchatapi/models/limited_group.py index f824151b..d6317129 100644 --- a/vrchatapi/models/limited_group.py +++ b/vrchatapi/models/limited_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index a000388d..7387d1ba 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user.py b/vrchatapi/models/limited_user.py index 99bcabe5..7d14cf1c 100644 --- a/vrchatapi/models/limited_user.py +++ b/vrchatapi/models/limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -37,8 +37,10 @@ class LimitedUser(object): """ openapi_types = { 'bio': 'str', + 'bio_links': 'list[str]', 'current_avatar_image_url': 'str', 'current_avatar_thumbnail_image_url': 'str', + 'current_avatar_tags': 'list[str]', 'developer_type': 'DeveloperType', 'display_name': 'str', 'fallback_avatar': 'str', @@ -46,6 +48,7 @@ class LimitedUser(object): 'is_friend': 'bool', 'last_platform': 'str', 'profile_pic_override': 'str', + 'pronouns': 'str', 'status': 'UserStatus', 'status_description': 'str', 'tags': 'list[str]', @@ -57,8 +60,10 @@ class LimitedUser(object): attribute_map = { 'bio': 'bio', + 'bio_links': 'bioLinks', 'current_avatar_image_url': 'currentAvatarImageUrl', 'current_avatar_thumbnail_image_url': 'currentAvatarThumbnailImageUrl', + 'current_avatar_tags': 'currentAvatarTags', 'developer_type': 'developerType', 'display_name': 'displayName', 'fallback_avatar': 'fallbackAvatar', @@ -66,6 +71,7 @@ class LimitedUser(object): 'is_friend': 'isFriend', 'last_platform': 'last_platform', 'profile_pic_override': 'profilePicOverride', + 'pronouns': 'pronouns', 'status': 'status', 'status_description': 'statusDescription', 'tags': 'tags', @@ -75,15 +81,17 @@ class LimitedUser(object): 'friend_key': 'friendKey' } - def __init__(self, bio=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, developer_type=None, display_name=None, fallback_avatar=None, id=None, is_friend=None, last_platform=None, profile_pic_override=None, status=None, status_description=None, tags=None, user_icon=None, username=None, location=None, friend_key=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, bio=None, bio_links=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, developer_type=None, display_name=None, fallback_avatar=None, id=None, is_friend=None, last_platform=None, profile_pic_override=None, pronouns=None, status=None, status_description=None, tags=None, user_icon=None, username=None, location=None, friend_key=None, local_vars_configuration=None): # noqa: E501 """LimitedUser - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._bio = None + self._bio_links = None self._current_avatar_image_url = None self._current_avatar_thumbnail_image_url = None + self._current_avatar_tags = None self._developer_type = None self._display_name = None self._fallback_avatar = None @@ -91,6 +99,7 @@ def __init__(self, bio=None, current_avatar_image_url=None, current_avatar_thumb self._is_friend = None self._last_platform = None self._profile_pic_override = None + self._pronouns = None self._status = None self._status_description = None self._tags = None @@ -102,10 +111,14 @@ def __init__(self, bio=None, current_avatar_image_url=None, current_avatar_thumb if bio is not None: self.bio = bio + if bio_links is not None: + self.bio_links = bio_links if current_avatar_image_url is not None: self.current_avatar_image_url = current_avatar_image_url if current_avatar_thumbnail_image_url is not None: self.current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url + if current_avatar_tags is not None: + self.current_avatar_tags = current_avatar_tags self.developer_type = developer_type self.display_name = display_name if fallback_avatar is not None: @@ -115,6 +128,8 @@ def __init__(self, bio=None, current_avatar_image_url=None, current_avatar_thumb self.last_platform = last_platform if profile_pic_override is not None: self.profile_pic_override = profile_pic_override + if pronouns is not None: + self.pronouns = pronouns self.status = status self.status_description = status_description self.tags = tags @@ -148,6 +163,29 @@ def bio(self, bio): self._bio = bio + @property + def bio_links(self): + """Gets the bio_links of this LimitedUser. # noqa: E501 + + # noqa: E501 + + :return: The bio_links of this LimitedUser. # noqa: E501 + :rtype: list[str] + """ + return self._bio_links + + @bio_links.setter + def bio_links(self, bio_links): + """Sets the bio_links of this LimitedUser. + + # noqa: E501 + + :param bio_links: The bio_links of this LimitedUser. # noqa: E501 + :type bio_links: list[str] + """ + + self._bio_links = bio_links + @property def current_avatar_image_url(self): """Gets the current_avatar_image_url of this LimitedUser. # noqa: E501 @@ -194,6 +232,27 @@ def current_avatar_thumbnail_image_url(self, current_avatar_thumbnail_image_url) self._current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url + @property + def current_avatar_tags(self): + """Gets the current_avatar_tags of this LimitedUser. # noqa: E501 + + + :return: The current_avatar_tags of this LimitedUser. # noqa: E501 + :rtype: list[str] + """ + return self._current_avatar_tags + + @current_avatar_tags.setter + def current_avatar_tags(self, current_avatar_tags): + """Sets the current_avatar_tags of this LimitedUser. + + + :param current_avatar_tags: The current_avatar_tags of this LimitedUser. # noqa: E501 + :type current_avatar_tags: list[str] + """ + + self._current_avatar_tags = current_avatar_tags + @property def developer_type(self): """Gets the developer_type of this LimitedUser. # noqa: E501 @@ -355,6 +414,27 @@ def profile_pic_override(self, profile_pic_override): self._profile_pic_override = profile_pic_override + @property + def pronouns(self): + """Gets the pronouns of this LimitedUser. # noqa: E501 + + + :return: The pronouns of this LimitedUser. # noqa: E501 + :rtype: str + """ + return self._pronouns + + @pronouns.setter + def pronouns(self, pronouns): + """Sets the pronouns of this LimitedUser. + + + :param pronouns: The pronouns of this LimitedUser. # noqa: E501 + :type pronouns: str + """ + + self._pronouns = pronouns + @property def status(self): """Gets the status of this LimitedUser. # noqa: E501 diff --git a/vrchatapi/models/limited_user_groups.py b/vrchatapi/models/limited_user_groups.py new file mode 100644 index 00000000..42753c8f --- /dev/null +++ b/vrchatapi/models/limited_user_groups.py @@ -0,0 +1,569 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.17.5 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class LimitedUserGroups(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'id': 'str', + 'name': 'str', + 'short_code': 'str', + 'discriminator': 'str', + 'description': 'str', + 'icon_id': 'str', + 'icon_url': 'str', + 'banner_id': 'str', + 'banner_url': 'str', + 'privacy': 'str', + 'last_post_created_at': 'datetime', + 'owner_id': 'str', + 'member_count': 'int', + 'group_id': 'str', + 'member_visibility': 'str', + 'is_representing': 'bool', + 'mutual_group': 'bool', + 'last_post_read_at': 'datetime' + } + + attribute_map = { + 'id': 'id', + 'name': 'name', + 'short_code': 'shortCode', + 'discriminator': 'discriminator', + 'description': 'description', + 'icon_id': 'iconId', + 'icon_url': 'iconUrl', + 'banner_id': 'bannerId', + 'banner_url': 'bannerUrl', + 'privacy': 'privacy', + 'last_post_created_at': 'lastPostCreatedAt', + 'owner_id': 'ownerId', + 'member_count': 'memberCount', + 'group_id': 'groupId', + 'member_visibility': 'memberVisibility', + 'is_representing': 'isRepresenting', + 'mutual_group': 'mutualGroup', + 'last_post_read_at': 'lastPostReadAt' + } + + def __init__(self, id=None, name=None, short_code=None, discriminator=None, description=None, icon_id=None, icon_url=None, banner_id=None, banner_url=None, privacy=None, last_post_created_at=None, owner_id=None, member_count=None, group_id=None, member_visibility=None, is_representing=None, mutual_group=None, last_post_read_at=None, local_vars_configuration=None): # noqa: E501 + """LimitedUserGroups - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._id = None + self._name = None + self._short_code = None + self._discriminator = None + self._description = None + self._icon_id = None + self._icon_url = None + self._banner_id = None + self._banner_url = None + self._privacy = None + self._last_post_created_at = None + self._owner_id = None + self._member_count = None + self._group_id = None + self._member_visibility = None + self._is_representing = None + self._mutual_group = None + self._last_post_read_at = None + self.discriminator = None + + if id is not None: + self.id = id + if name is not None: + self.name = name + if short_code is not None: + self.short_code = short_code + if discriminator is not None: + self.discriminator = discriminator + if description is not None: + self.description = description + self.icon_id = icon_id + self.icon_url = icon_url + self.banner_id = banner_id + self.banner_url = banner_url + if privacy is not None: + self.privacy = privacy + self.last_post_created_at = last_post_created_at + if owner_id is not None: + self.owner_id = owner_id + if member_count is not None: + self.member_count = member_count + if group_id is not None: + self.group_id = group_id + if member_visibility is not None: + self.member_visibility = member_visibility + if is_representing is not None: + self.is_representing = is_representing + if mutual_group is not None: + self.mutual_group = mutual_group + self.last_post_read_at = last_post_read_at + + @property + def id(self): + """Gets the id of this LimitedUserGroups. # noqa: E501 + + + :return: The id of this LimitedUserGroups. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this LimitedUserGroups. + + + :param id: The id of this LimitedUserGroups. # noqa: E501 + :type id: str + """ + + self._id = id + + @property + def name(self): + """Gets the name of this LimitedUserGroups. # noqa: E501 + + + :return: The name of this LimitedUserGroups. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this LimitedUserGroups. + + + :param name: The name of this LimitedUserGroups. # noqa: E501 + :type name: str + """ + + self._name = name + + @property + def short_code(self): + """Gets the short_code of this LimitedUserGroups. # noqa: E501 + + + :return: The short_code of this LimitedUserGroups. # noqa: E501 + :rtype: str + """ + return self._short_code + + @short_code.setter + def short_code(self, short_code): + """Sets the short_code of this LimitedUserGroups. + + + :param short_code: The short_code of this LimitedUserGroups. # noqa: E501 + :type short_code: str + """ + + self._short_code = short_code + + @property + def discriminator(self): + """Gets the discriminator of this LimitedUserGroups. # noqa: E501 + + + :return: The discriminator of this LimitedUserGroups. # noqa: E501 + :rtype: str + """ + return self._discriminator + + @discriminator.setter + def discriminator(self, discriminator): + """Sets the discriminator of this LimitedUserGroups. + + + :param discriminator: The discriminator of this LimitedUserGroups. # noqa: E501 + :type discriminator: str + """ + + self._discriminator = discriminator + + @property + def description(self): + """Gets the description of this LimitedUserGroups. # noqa: E501 + + + :return: The description of this LimitedUserGroups. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this LimitedUserGroups. + + + :param description: The description of this LimitedUserGroups. # noqa: E501 + :type description: str + """ + + self._description = description + + @property + def icon_id(self): + """Gets the icon_id of this LimitedUserGroups. # noqa: E501 + + + :return: The icon_id of this LimitedUserGroups. # noqa: E501 + :rtype: str + """ + return self._icon_id + + @icon_id.setter + def icon_id(self, icon_id): + """Sets the icon_id of this LimitedUserGroups. + + + :param icon_id: The icon_id of this LimitedUserGroups. # noqa: E501 + :type icon_id: str + """ + + self._icon_id = icon_id + + @property + def icon_url(self): + """Gets the icon_url of this LimitedUserGroups. # noqa: E501 + + + :return: The icon_url of this LimitedUserGroups. # noqa: E501 + :rtype: str + """ + return self._icon_url + + @icon_url.setter + def icon_url(self, icon_url): + """Sets the icon_url of this LimitedUserGroups. + + + :param icon_url: The icon_url of this LimitedUserGroups. # noqa: E501 + :type icon_url: str + """ + + self._icon_url = icon_url + + @property + def banner_id(self): + """Gets the banner_id of this LimitedUserGroups. # noqa: E501 + + + :return: The banner_id of this LimitedUserGroups. # noqa: E501 + :rtype: str + """ + return self._banner_id + + @banner_id.setter + def banner_id(self, banner_id): + """Sets the banner_id of this LimitedUserGroups. + + + :param banner_id: The banner_id of this LimitedUserGroups. # noqa: E501 + :type banner_id: str + """ + + self._banner_id = banner_id + + @property + def banner_url(self): + """Gets the banner_url of this LimitedUserGroups. # noqa: E501 + + + :return: The banner_url of this LimitedUserGroups. # noqa: E501 + :rtype: str + """ + return self._banner_url + + @banner_url.setter + def banner_url(self, banner_url): + """Sets the banner_url of this LimitedUserGroups. + + + :param banner_url: The banner_url of this LimitedUserGroups. # noqa: E501 + :type banner_url: str + """ + + self._banner_url = banner_url + + @property + def privacy(self): + """Gets the privacy of this LimitedUserGroups. # noqa: E501 + + + :return: The privacy of this LimitedUserGroups. # noqa: E501 + :rtype: str + """ + return self._privacy + + @privacy.setter + def privacy(self, privacy): + """Sets the privacy of this LimitedUserGroups. + + + :param privacy: The privacy of this LimitedUserGroups. # noqa: E501 + :type privacy: str + """ + + self._privacy = privacy + + @property + def last_post_created_at(self): + """Gets the last_post_created_at of this LimitedUserGroups. # noqa: E501 + + + :return: The last_post_created_at of this LimitedUserGroups. # noqa: E501 + :rtype: datetime + """ + return self._last_post_created_at + + @last_post_created_at.setter + def last_post_created_at(self, last_post_created_at): + """Sets the last_post_created_at of this LimitedUserGroups. + + + :param last_post_created_at: The last_post_created_at of this LimitedUserGroups. # noqa: E501 + :type last_post_created_at: datetime + """ + + self._last_post_created_at = last_post_created_at + + @property + def owner_id(self): + """Gets the owner_id of this LimitedUserGroups. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The owner_id of this LimitedUserGroups. # noqa: E501 + :rtype: str + """ + return self._owner_id + + @owner_id.setter + def owner_id(self, owner_id): + """Sets the owner_id of this LimitedUserGroups. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param owner_id: The owner_id of this LimitedUserGroups. # noqa: E501 + :type owner_id: str + """ + + self._owner_id = owner_id + + @property + def member_count(self): + """Gets the member_count of this LimitedUserGroups. # noqa: E501 + + + :return: The member_count of this LimitedUserGroups. # noqa: E501 + :rtype: int + """ + return self._member_count + + @member_count.setter + def member_count(self, member_count): + """Sets the member_count of this LimitedUserGroups. + + + :param member_count: The member_count of this LimitedUserGroups. # noqa: E501 + :type member_count: int + """ + + self._member_count = member_count + + @property + def group_id(self): + """Gets the group_id of this LimitedUserGroups. # noqa: E501 + + + :return: The group_id of this LimitedUserGroups. # noqa: E501 + :rtype: str + """ + return self._group_id + + @group_id.setter + def group_id(self, group_id): + """Sets the group_id of this LimitedUserGroups. + + + :param group_id: The group_id of this LimitedUserGroups. # noqa: E501 + :type group_id: str + """ + + self._group_id = group_id + + @property + def member_visibility(self): + """Gets the member_visibility of this LimitedUserGroups. # noqa: E501 + + + :return: The member_visibility of this LimitedUserGroups. # noqa: E501 + :rtype: str + """ + return self._member_visibility + + @member_visibility.setter + def member_visibility(self, member_visibility): + """Sets the member_visibility of this LimitedUserGroups. + + + :param member_visibility: The member_visibility of this LimitedUserGroups. # noqa: E501 + :type member_visibility: str + """ + + self._member_visibility = member_visibility + + @property + def is_representing(self): + """Gets the is_representing of this LimitedUserGroups. # noqa: E501 + + + :return: The is_representing of this LimitedUserGroups. # noqa: E501 + :rtype: bool + """ + return self._is_representing + + @is_representing.setter + def is_representing(self, is_representing): + """Sets the is_representing of this LimitedUserGroups. + + + :param is_representing: The is_representing of this LimitedUserGroups. # noqa: E501 + :type is_representing: bool + """ + + self._is_representing = is_representing + + @property + def mutual_group(self): + """Gets the mutual_group of this LimitedUserGroups. # noqa: E501 + + + :return: The mutual_group of this LimitedUserGroups. # noqa: E501 + :rtype: bool + """ + return self._mutual_group + + @mutual_group.setter + def mutual_group(self, mutual_group): + """Sets the mutual_group of this LimitedUserGroups. + + + :param mutual_group: The mutual_group of this LimitedUserGroups. # noqa: E501 + :type mutual_group: bool + """ + + self._mutual_group = mutual_group + + @property + def last_post_read_at(self): + """Gets the last_post_read_at of this LimitedUserGroups. # noqa: E501 + + + :return: The last_post_read_at of this LimitedUserGroups. # noqa: E501 + :rtype: datetime + """ + return self._last_post_read_at + + @last_post_read_at.setter + def last_post_read_at(self, last_post_read_at): + """Sets the last_post_read_at of this LimitedUserGroups. + + + :param last_post_read_at: The last_post_read_at of this LimitedUserGroups. # noqa: E501 + :type last_post_read_at: datetime + """ + + self._last_post_read_at = last_post_read_at + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, LimitedUserGroups): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, LimitedUserGroups): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index 5408576b..d0607716 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -42,6 +42,7 @@ class LimitedWorld(object): 'recommended_capacity': 'int', 'created_at': 'datetime', 'favorites': 'int', + 'visits': 'int', 'heat': 'int', 'id': 'str', 'image_url': 'str', @@ -50,6 +51,7 @@ class LimitedWorld(object): 'occupants': 'int', 'organization': 'str', 'popularity': 'int', + 'preview_youtube_id': 'str', 'publication_date': 'str', 'release_status': 'ReleaseStatus', 'tags': 'list[str]', @@ -66,6 +68,7 @@ class LimitedWorld(object): 'recommended_capacity': 'recommendedCapacity', 'created_at': 'created_at', 'favorites': 'favorites', + 'visits': 'visits', 'heat': 'heat', 'id': 'id', 'image_url': 'imageUrl', @@ -74,6 +77,7 @@ class LimitedWorld(object): 'occupants': 'occupants', 'organization': 'organization', 'popularity': 'popularity', + 'preview_youtube_id': 'previewYoutubeId', 'publication_date': 'publicationDate', 'release_status': 'releaseStatus', 'tags': 'tags', @@ -83,7 +87,7 @@ class LimitedWorld(object): 'udon_products': 'udonProducts' } - def __init__(self, author_id=None, author_name=None, capacity=None, recommended_capacity=None, created_at=None, favorites=0, heat=0, id=None, image_url=None, labs_publication_date=None, name=None, occupants=0, organization='vrchat', popularity=0, publication_date=None, release_status=None, tags=None, thumbnail_image_url=None, unity_packages=None, updated_at=None, udon_products=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, author_id=None, author_name=None, capacity=None, recommended_capacity=None, created_at=None, favorites=0, visits=0, heat=0, id=None, image_url=None, labs_publication_date=None, name=None, occupants=0, organization='vrchat', popularity=0, preview_youtube_id=None, publication_date=None, release_status=None, tags=None, thumbnail_image_url=None, unity_packages=None, updated_at=None, udon_products=None, local_vars_configuration=None): # noqa: E501 """LimitedWorld - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -95,6 +99,7 @@ def __init__(self, author_id=None, author_name=None, capacity=None, recommended_ self._recommended_capacity = None self._created_at = None self._favorites = None + self._visits = None self._heat = None self._id = None self._image_url = None @@ -103,6 +108,7 @@ def __init__(self, author_id=None, author_name=None, capacity=None, recommended_ self._occupants = None self._organization = None self._popularity = None + self._preview_youtube_id = None self._publication_date = None self._release_status = None self._tags = None @@ -119,6 +125,8 @@ def __init__(self, author_id=None, author_name=None, capacity=None, recommended_ self.recommended_capacity = recommended_capacity self.created_at = created_at self.favorites = favorites + if visits is not None: + self.visits = visits self.heat = heat self.id = id self.image_url = image_url @@ -127,6 +135,7 @@ def __init__(self, author_id=None, author_name=None, capacity=None, recommended_ self.occupants = occupants self.organization = organization self.popularity = popularity + self.preview_youtube_id = preview_youtube_id self.publication_date = publication_date self.release_status = release_status self.tags = tags @@ -280,6 +289,30 @@ def favorites(self, favorites): self._favorites = favorites + @property + def visits(self): + """Gets the visits of this LimitedWorld. # noqa: E501 + + + :return: The visits of this LimitedWorld. # noqa: E501 + :rtype: int + """ + return self._visits + + @visits.setter + def visits(self, visits): + """Sets the visits of this LimitedWorld. + + + :param visits: The visits of this LimitedWorld. # noqa: E501 + :type visits: int + """ + if (self.local_vars_configuration.client_side_validation and + visits is not None and visits < 0): # noqa: E501 + raise ValueError("Invalid value for `visits`, must be a value greater than or equal to `0`") # noqa: E501 + + self._visits = visits + @property def heat(self): """Gets the heat of this LimitedWorld. # noqa: E501 @@ -487,6 +520,27 @@ def popularity(self, popularity): self._popularity = popularity + @property + def preview_youtube_id(self): + """Gets the preview_youtube_id of this LimitedWorld. # noqa: E501 + + + :return: The preview_youtube_id of this LimitedWorld. # noqa: E501 + :rtype: str + """ + return self._preview_youtube_id + + @preview_youtube_id.setter + def preview_youtube_id(self, preview_youtube_id): + """Sets the preview_youtube_id of this LimitedWorld. + + + :param preview_youtube_id: The preview_youtube_id of this LimitedWorld. # noqa: E501 + :type preview_youtube_id: str + """ + + self._preview_youtube_id = preview_youtube_id + @property def publication_date(self): """Gets the publication_date of this LimitedWorld. # noqa: E501 diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index 095e3309..3ba9f867 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index 04272d05..0210060f 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index 18e420b0..82ebfe82 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite.py b/vrchatapi/models/notification_detail_invite.py index b06a7a33..8f4dbdb7 100644 --- a/vrchatapi/models/notification_detail_invite.py +++ b/vrchatapi/models/notification_detail_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite_response.py b/vrchatapi/models/notification_detail_invite_response.py index eba9b8f1..ef755fdd 100644 --- a/vrchatapi/models/notification_detail_invite_response.py +++ b/vrchatapi/models/notification_detail_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite.py b/vrchatapi/models/notification_detail_request_invite.py index be6e1973..c61f2354 100644 --- a/vrchatapi/models/notification_detail_request_invite.py +++ b/vrchatapi/models/notification_detail_request_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite_response.py b/vrchatapi/models/notification_detail_request_invite_response.py index fc25fba9..559bd07e 100644 --- a/vrchatapi/models/notification_detail_request_invite_response.py +++ b/vrchatapi/models/notification_detail_request_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_vote_to_kick.py b/vrchatapi/models/notification_detail_vote_to_kick.py index f73cf61d..fb7400f0 100644 --- a/vrchatapi/models/notification_detail_vote_to_kick.py +++ b/vrchatapi/models/notification_detail_vote_to_kick.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index e4660351..e3eef600 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index 43038642..4650ece0 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index 22df0a83..af3fab6f 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index 0eddc5ef..0872fc73 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index 98447c50..90b1f1e2 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index 9c76a8f9..1a5abd78 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index 3092730c..1596e566 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index 2d244292..b2c52831 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index 9b6569e6..65e40a98 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/represented_group.py b/vrchatapi/models/represented_group.py index fdeee8fb..cdcfb202 100644 --- a/vrchatapi/models/represented_group.py +++ b/vrchatapi/models/represented_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index 29757b6a..4bce1f3f 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index aedd2ca9..071ff780 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,23 +36,28 @@ class RespondGroupJoinRequest(object): and the value is json key in definition. """ openapi_types = { - 'action': 'GroupJoinRequestAction' + 'action': 'GroupJoinRequestAction', + 'block': 'bool' } attribute_map = { - 'action': 'action' + 'action': 'action', + 'block': 'block' } - def __init__(self, action=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, action=None, block=None, local_vars_configuration=None): # noqa: E501 """RespondGroupJoinRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._action = None + self._block = None self.discriminator = None self.action = action + if block is not None: + self.block = block @property def action(self): @@ -77,6 +82,29 @@ def action(self, action): self._action = action + @property + def block(self): + """Gets the block of this RespondGroupJoinRequest. # noqa: E501 + + Whether to block the user from requesting again # noqa: E501 + + :return: The block of this RespondGroupJoinRequest. # noqa: E501 + :rtype: bool + """ + return self._block + + @block.setter + def block(self, block): + """Sets the block of this RespondGroupJoinRequest. + + Whether to block the user from requesting again # noqa: E501 + + :param block: The block of this RespondGroupJoinRequest. # noqa: E501 + :type block: bool + """ + + self._block = block + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index ae9df18c..19fcd9fc 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index 5c7736ca..b3c2d122 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -37,10 +37,10 @@ class SentNotification(object): """ openapi_types = { 'created_at': 'datetime', - 'details': 'str', + 'details': 'object', 'id': 'str', 'message': 'str', - 'reciever_user_id': 'str', + 'receiver_user_id': 'str', 'sender_user_id': 'str', 'sender_username': 'str', 'type': 'NotificationType' @@ -51,13 +51,13 @@ class SentNotification(object): 'details': 'details', 'id': 'id', 'message': 'message', - 'reciever_user_id': 'recieverUserId', + 'receiver_user_id': 'receiverUserId', 'sender_user_id': 'senderUserId', 'sender_username': 'senderUsername', 'type': 'type' } - def __init__(self, created_at=None, details='{}', id=None, message=None, reciever_user_id=None, sender_user_id=None, sender_username=None, type=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, created_at=None, details=None, id=None, message=None, receiver_user_id=None, sender_user_id=None, sender_username=None, type=None, local_vars_configuration=None): # noqa: E501 """SentNotification - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -67,7 +67,7 @@ def __init__(self, created_at=None, details='{}', id=None, message=None, recieve self._details = None self._id = None self._message = None - self._reciever_user_id = None + self._receiver_user_id = None self._sender_user_id = None self._sender_username = None self._type = None @@ -77,7 +77,7 @@ def __init__(self, created_at=None, details='{}', id=None, message=None, recieve self.details = details self.id = id self.message = message - self.reciever_user_id = reciever_user_id + self.receiver_user_id = receiver_user_id self.sender_user_id = sender_user_id if sender_username is not None: self.sender_username = sender_username @@ -110,10 +110,9 @@ def created_at(self, created_at): def details(self): """Gets the details of this SentNotification. # noqa: E501 - **NOTICE:** This is not a JSON object, this is a json **encoded** object, meaning you have to json-de-encode to get the NotificationDetail object depending on the NotificationType. # noqa: E501 :return: The details of this SentNotification. # noqa: E501 - :rtype: str + :rtype: object """ return self._details @@ -121,10 +120,9 @@ def details(self): def details(self, details): """Sets the details of this SentNotification. - **NOTICE:** This is not a JSON object, this is a json **encoded** object, meaning you have to json-de-encode to get the NotificationDetail object depending on the NotificationType. # noqa: E501 :param details: The details of this SentNotification. # noqa: E501 - :type details: str + :type details: object """ if self.local_vars_configuration.client_side_validation and details is None: # noqa: E501 raise ValueError("Invalid value for `details`, must not be `None`") # noqa: E501 @@ -183,29 +181,29 @@ def message(self, message): self._message = message @property - def reciever_user_id(self): - """Gets the reciever_user_id of this SentNotification. # noqa: E501 + def receiver_user_id(self): + """Gets the receiver_user_id of this SentNotification. # noqa: E501 A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :return: The reciever_user_id of this SentNotification. # noqa: E501 + :return: The receiver_user_id of this SentNotification. # noqa: E501 :rtype: str """ - return self._reciever_user_id + return self._receiver_user_id - @reciever_user_id.setter - def reciever_user_id(self, reciever_user_id): - """Sets the reciever_user_id of this SentNotification. + @receiver_user_id.setter + def receiver_user_id(self, receiver_user_id): + """Sets the receiver_user_id of this SentNotification. A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :param reciever_user_id: The reciever_user_id of this SentNotification. # noqa: E501 - :type reciever_user_id: str + :param receiver_user_id: The receiver_user_id of this SentNotification. # noqa: E501 + :type receiver_user_id: str """ - if self.local_vars_configuration.client_side_validation and reciever_user_id is None: # noqa: E501 - raise ValueError("Invalid value for `reciever_user_id`, must not be `None`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and receiver_user_id is None: # noqa: E501 + raise ValueError("Invalid value for `receiver_user_id`, must not be `None`") # noqa: E501 - self._reciever_user_id = reciever_user_id + self._receiver_user_id = receiver_user_id @property def sender_user_id(self): diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index 95de9610..25e87971 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index 00dd28aa..e6dbd4c2 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -38,6 +38,10 @@ class Subscription(object): openapi_types = { 'id': 'str', 'steam_item_id': 'str', + 'oculus_sku': 'str', + 'google_product_id': 'str', + 'google_plan_id': 'str', + 'pico_sku': 'str', 'amount': 'float', 'description': 'str', 'period': 'SubscriptionPeriod', @@ -47,13 +51,17 @@ class Subscription(object): attribute_map = { 'id': 'id', 'steam_item_id': 'steamItemId', + 'oculus_sku': 'oculusSku', + 'google_product_id': 'googleProductId', + 'google_plan_id': 'googlePlanId', + 'pico_sku': 'picoSku', 'amount': 'amount', 'description': 'description', 'period': 'period', 'tier': 'tier' } - def __init__(self, id=None, steam_item_id=None, amount=None, description=None, period=None, tier=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, id=None, steam_item_id=None, oculus_sku=None, google_product_id=None, google_plan_id=None, pico_sku=None, amount=None, description=None, period=None, tier=None, local_vars_configuration=None): # noqa: E501 """Subscription - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -61,6 +69,10 @@ def __init__(self, id=None, steam_item_id=None, amount=None, description=None, p self._id = None self._steam_item_id = None + self._oculus_sku = None + self._google_product_id = None + self._google_plan_id = None + self._pico_sku = None self._amount = None self._description = None self._period = None @@ -69,6 +81,14 @@ def __init__(self, id=None, steam_item_id=None, amount=None, description=None, p self.id = id self.steam_item_id = steam_item_id + if oculus_sku is not None: + self.oculus_sku = oculus_sku + if google_product_id is not None: + self.google_product_id = google_product_id + if google_plan_id is not None: + self.google_plan_id = google_plan_id + if pico_sku is not None: + self.pico_sku = pico_sku self.amount = amount self.description = description self.period = period @@ -126,6 +146,99 @@ def steam_item_id(self, steam_item_id): self._steam_item_id = steam_item_id + @property + def oculus_sku(self): + """Gets the oculus_sku of this Subscription. # noqa: E501 + + + :return: The oculus_sku of this Subscription. # noqa: E501 + :rtype: str + """ + return self._oculus_sku + + @oculus_sku.setter + def oculus_sku(self, oculus_sku): + """Sets the oculus_sku of this Subscription. + + + :param oculus_sku: The oculus_sku of this Subscription. # noqa: E501 + :type oculus_sku: str + """ + if (self.local_vars_configuration.client_side_validation and + oculus_sku is not None and len(oculus_sku) < 1): + raise ValueError("Invalid value for `oculus_sku`, length must be greater than or equal to `1`") # noqa: E501 + + self._oculus_sku = oculus_sku + + @property + def google_product_id(self): + """Gets the google_product_id of this Subscription. # noqa: E501 + + + :return: The google_product_id of this Subscription. # noqa: E501 + :rtype: str + """ + return self._google_product_id + + @google_product_id.setter + def google_product_id(self, google_product_id): + """Sets the google_product_id of this Subscription. + + + :param google_product_id: The google_product_id of this Subscription. # noqa: E501 + :type google_product_id: str + """ + if (self.local_vars_configuration.client_side_validation and + google_product_id is not None and len(google_product_id) < 1): + raise ValueError("Invalid value for `google_product_id`, length must be greater than or equal to `1`") # noqa: E501 + + self._google_product_id = google_product_id + + @property + def google_plan_id(self): + """Gets the google_plan_id of this Subscription. # noqa: E501 + + + :return: The google_plan_id of this Subscription. # noqa: E501 + :rtype: str + """ + return self._google_plan_id + + @google_plan_id.setter + def google_plan_id(self, google_plan_id): + """Sets the google_plan_id of this Subscription. + + + :param google_plan_id: The google_plan_id of this Subscription. # noqa: E501 + :type google_plan_id: str + """ + + self._google_plan_id = google_plan_id + + @property + def pico_sku(self): + """Gets the pico_sku of this Subscription. # noqa: E501 + + + :return: The pico_sku of this Subscription. # noqa: E501 + :rtype: str + """ + return self._pico_sku + + @pico_sku.setter + def pico_sku(self, pico_sku): + """Sets the pico_sku of this Subscription. + + + :param pico_sku: The pico_sku of this Subscription. # noqa: E501 + :type pico_sku: str + """ + if (self.local_vars_configuration.client_side_validation and + pico_sku is not None and len(pico_sku) < 1): + raise ValueError("Invalid value for `pico_sku`, length must be greater than or equal to `1`") # noqa: E501 + + self._pico_sku = pico_sku + @property def amount(self): """Gets the amount of this Subscription. # noqa: E501 diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index ef7cfdf9..3aa53a12 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index 2be6feda..63306951 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index 45134cb8..6d756ff5 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -37,6 +37,8 @@ class Transaction(object): """ openapi_types = { 'id': 'str', + 'user_id': 'str', + 'user_display_name': 'str', 'status': 'TransactionStatus', 'subscription': 'Subscription', 'sandbox': 'bool', @@ -44,11 +46,15 @@ class Transaction(object): 'updated_at': 'datetime', 'steam': 'TransactionSteamInfo', 'agreement': 'TransactionAgreement', - 'error': 'str' + 'error': 'str', + 'is_gift': 'bool', + 'is_tokens': 'bool' } attribute_map = { 'id': 'id', + 'user_id': 'userId', + 'user_display_name': 'userDisplayName', 'status': 'status', 'subscription': 'subscription', 'sandbox': 'sandbox', @@ -56,16 +62,20 @@ class Transaction(object): 'updated_at': 'updated_at', 'steam': 'steam', 'agreement': 'agreement', - 'error': 'error' + 'error': 'error', + 'is_gift': 'isGift', + 'is_tokens': 'isTokens' } - def __init__(self, id=None, status=None, subscription=None, sandbox=False, created_at=None, updated_at=None, steam=None, agreement=None, error=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, id=None, user_id=None, user_display_name=None, status=None, subscription=None, sandbox=False, created_at=None, updated_at=None, steam=None, agreement=None, error=None, is_gift=False, is_tokens=False, local_vars_configuration=None): # noqa: E501 """Transaction - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._id = None + self._user_id = None + self._user_display_name = None self._status = None self._subscription = None self._sandbox = None @@ -74,9 +84,15 @@ def __init__(self, id=None, status=None, subscription=None, sandbox=False, creat self._steam = None self._agreement = None self._error = None + self._is_gift = None + self._is_tokens = None self.discriminator = None self.id = id + if user_id is not None: + self.user_id = user_id + if user_display_name is not None: + self.user_display_name = user_display_name self.status = status self.subscription = subscription self.sandbox = sandbox @@ -87,6 +103,10 @@ def __init__(self, id=None, status=None, subscription=None, sandbox=False, creat if agreement is not None: self.agreement = agreement self.error = error + if is_gift is not None: + self.is_gift = is_gift + if is_tokens is not None: + self.is_tokens = is_tokens @property def id(self): @@ -111,6 +131,50 @@ def id(self, id): self._id = id + @property + def user_id(self): + """Gets the user_id of this Transaction. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The user_id of this Transaction. # noqa: E501 + :rtype: str + """ + return self._user_id + + @user_id.setter + def user_id(self, user_id): + """Sets the user_id of this Transaction. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param user_id: The user_id of this Transaction. # noqa: E501 + :type user_id: str + """ + + self._user_id = user_id + + @property + def user_display_name(self): + """Gets the user_display_name of this Transaction. # noqa: E501 + + + :return: The user_display_name of this Transaction. # noqa: E501 + :rtype: str + """ + return self._user_display_name + + @user_display_name.setter + def user_display_name(self, user_display_name): + """Sets the user_display_name of this Transaction. + + + :param user_display_name: The user_display_name of this Transaction. # noqa: E501 + :type user_display_name: str + """ + + self._user_display_name = user_display_name + @property def status(self): """Gets the status of this Transaction. # noqa: E501 @@ -291,6 +355,48 @@ def error(self, error): self._error = error + @property + def is_gift(self): + """Gets the is_gift of this Transaction. # noqa: E501 + + + :return: The is_gift of this Transaction. # noqa: E501 + :rtype: bool + """ + return self._is_gift + + @is_gift.setter + def is_gift(self, is_gift): + """Sets the is_gift of this Transaction. + + + :param is_gift: The is_gift of this Transaction. # noqa: E501 + :type is_gift: bool + """ + + self._is_gift = is_gift + + @property + def is_tokens(self): + """Gets the is_tokens of this Transaction. # noqa: E501 + + + :return: The is_tokens of this Transaction. # noqa: E501 + :rtype: bool + """ + return self._is_tokens + + @is_tokens.setter + def is_tokens(self, is_tokens): + """Sets the is_tokens of this Transaction. + + + :param is_tokens: The is_tokens of this Transaction. # noqa: E501 + :type is_tokens: bool + """ + + self._is_tokens = is_tokens + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index 690a7157..da981ec1 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index 1b7f3b58..9f7d26c4 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index 3b583aa5..ed754847 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index 9939dac5..150e2cce 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index 0b83d59b..382a3ccc 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_email_code.py b/vrchatapi/models/two_factor_email_code.py index 2166021a..18c75996 100644 --- a/vrchatapi/models/two_factor_email_code.py +++ b/vrchatapi/models/two_factor_email_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index 24aedc03..27e4cf23 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -47,7 +47,8 @@ class UnityPackage(object): 'unity_sort_number': 'int', 'unity_version': 'str', 'impostor_url': 'str', - 'scan_status': 'str' + 'scan_status': 'str', + 'variant': 'str' } attribute_map = { @@ -62,10 +63,11 @@ class UnityPackage(object): 'unity_sort_number': 'unitySortNumber', 'unity_version': 'unityVersion', 'impostor_url': 'impostorUrl', - 'scan_status': 'scanStatus' + 'scan_status': 'scanStatus', + 'variant': 'variant' } - def __init__(self, id=None, asset_url=None, asset_url_object=None, asset_version=None, created_at=None, platform=None, plugin_url=None, plugin_url_object=None, unity_sort_number=None, unity_version='5.3.4p1', impostor_url=None, scan_status=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, id=None, asset_url=None, asset_url_object=None, asset_version=None, created_at=None, platform=None, plugin_url=None, plugin_url_object=None, unity_sort_number=None, unity_version='5.3.4p1', impostor_url=None, scan_status=None, variant=None, local_vars_configuration=None): # noqa: E501 """UnityPackage - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -83,6 +85,7 @@ def __init__(self, id=None, asset_url=None, asset_url_object=None, asset_version self._unity_version = None self._impostor_url = None self._scan_status = None + self._variant = None self.discriminator = None self.id = id @@ -103,6 +106,8 @@ def __init__(self, id=None, asset_url=None, asset_url_object=None, asset_version self.impostor_url = impostor_url if scan_status is not None: self.scan_status = scan_status + if variant is not None: + self.variant = variant @property def id(self): @@ -378,6 +383,27 @@ def scan_status(self, scan_status): self._scan_status = scan_status + @property + def variant(self): + """Gets the variant of this UnityPackage. # noqa: E501 + + + :return: The variant of this UnityPackage. # noqa: E501 + :rtype: str + """ + return self._variant + + @variant.setter + def variant(self, variant): + """Sets the variant of this UnityPackage. + + + :param variant: The variant of this UnityPackage. # noqa: E501 + :type variant: str + """ + + self._variant = variant + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index 1b4531b4..9bf955aa 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index 18654a25..f38fee76 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index dff4dd88..dda4153a 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index 71286bab..e3648c1e 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index b9ce70dd..c164f085 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index a2a31fac..9ae2c3f8 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index e9f1f6d3..6ce44563 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index 4548ee5e..7135a9d3 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -44,6 +44,7 @@ class UpdateUserRequest(object): 'status_description': 'str', 'bio': 'str', 'bio_links': 'list[str]', + 'pronouns': 'str', 'user_icon': 'str' } @@ -56,10 +57,11 @@ class UpdateUserRequest(object): 'status_description': 'statusDescription', 'bio': 'bio', 'bio_links': 'bioLinks', + 'pronouns': 'pronouns', 'user_icon': 'userIcon' } - def __init__(self, email=None, birthday=None, accepted_tos_version=None, tags=None, status=None, status_description=None, bio=None, bio_links=None, user_icon=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, email=None, birthday=None, accepted_tos_version=None, tags=None, status=None, status_description=None, bio=None, bio_links=None, pronouns=None, user_icon=None, local_vars_configuration=None): # noqa: E501 """UpdateUserRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -73,6 +75,7 @@ def __init__(self, email=None, birthday=None, accepted_tos_version=None, tags=No self._status_description = None self._bio = None self._bio_links = None + self._pronouns = None self._user_icon = None self.discriminator = None @@ -92,6 +95,8 @@ def __init__(self, email=None, birthday=None, accepted_tos_version=None, tags=No self.bio = bio if bio_links is not None: self.bio_links = bio_links + if pronouns is not None: + self.pronouns = pronouns if user_icon is not None: self.user_icon = user_icon @@ -268,6 +273,33 @@ def bio_links(self, bio_links): self._bio_links = bio_links + @property + def pronouns(self): + """Gets the pronouns of this UpdateUserRequest. # noqa: E501 + + + :return: The pronouns of this UpdateUserRequest. # noqa: E501 + :rtype: str + """ + return self._pronouns + + @pronouns.setter + def pronouns(self, pronouns): + """Sets the pronouns of this UpdateUserRequest. + + + :param pronouns: The pronouns of this UpdateUserRequest. # noqa: E501 + :type pronouns: str + """ + if (self.local_vars_configuration.client_side_validation and + pronouns is not None and len(pronouns) > 32): + raise ValueError("Invalid value for `pronouns`, length must be less than or equal to `32`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + pronouns is not None and len(pronouns) < 0): + raise ValueError("Invalid value for `pronouns`, length must be greater than or equal to `0`") # noqa: E501 + + self._pronouns = pronouns + @property def user_icon(self): """Gets the user_icon of this UpdateUserRequest. # noqa: E501 diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index 5a0815e4..69a22017 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index 5e74e042..af53852c 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -37,10 +37,12 @@ class User(object): """ openapi_types = { 'allow_avatar_copying': 'bool', + 'badges': 'list[Badge]', 'bio': 'str', 'bio_links': 'list[str]', 'current_avatar_image_url': 'str', 'current_avatar_thumbnail_image_url': 'str', + 'current_avatar_tags': 'list[str]', 'date_joined': 'date', 'developer_type': 'DeveloperType', 'display_name': 'str', @@ -55,6 +57,7 @@ class User(object): 'location': 'str', 'note': 'str', 'profile_pic_override': 'str', + 'pronouns': 'str', 'state': 'UserState', 'status': 'UserStatus', 'status_description': 'str', @@ -69,10 +72,12 @@ class User(object): attribute_map = { 'allow_avatar_copying': 'allowAvatarCopying', + 'badges': 'badges', 'bio': 'bio', 'bio_links': 'bioLinks', 'current_avatar_image_url': 'currentAvatarImageUrl', 'current_avatar_thumbnail_image_url': 'currentAvatarThumbnailImageUrl', + 'current_avatar_tags': 'currentAvatarTags', 'date_joined': 'date_joined', 'developer_type': 'developerType', 'display_name': 'displayName', @@ -87,6 +92,7 @@ class User(object): 'location': 'location', 'note': 'note', 'profile_pic_override': 'profilePicOverride', + 'pronouns': 'pronouns', 'state': 'state', 'status': 'status', 'status_description': 'statusDescription', @@ -99,17 +105,19 @@ class User(object): 'world_id': 'worldId' } - def __init__(self, allow_avatar_copying=True, bio=None, bio_links=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, date_joined=None, developer_type=None, display_name=None, friend_key=None, friend_request_status=None, id=None, instance_id=None, is_friend=None, last_activity=None, last_login=None, last_platform=None, location=None, note=None, profile_pic_override=None, state=None, status=None, status_description=None, tags=None, traveling_to_instance=None, traveling_to_location=None, traveling_to_world=None, user_icon=None, username=None, world_id=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, allow_avatar_copying=True, badges=None, bio=None, bio_links=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, date_joined=None, developer_type=None, display_name=None, friend_key=None, friend_request_status=None, id=None, instance_id=None, is_friend=None, last_activity=None, last_login=None, last_platform=None, location=None, note=None, profile_pic_override=None, pronouns=None, state=None, status=None, status_description=None, tags=None, traveling_to_instance=None, traveling_to_location=None, traveling_to_world=None, user_icon=None, username=None, world_id=None, local_vars_configuration=None): # noqa: E501 """User - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._allow_avatar_copying = None + self._badges = None self._bio = None self._bio_links = None self._current_avatar_image_url = None self._current_avatar_thumbnail_image_url = None + self._current_avatar_tags = None self._date_joined = None self._developer_type = None self._display_name = None @@ -124,6 +132,7 @@ def __init__(self, allow_avatar_copying=True, bio=None, bio_links=None, current_ self._location = None self._note = None self._profile_pic_override = None + self._pronouns = None self._state = None self._status = None self._status_description = None @@ -137,10 +146,13 @@ def __init__(self, allow_avatar_copying=True, bio=None, bio_links=None, current_ self.discriminator = None self.allow_avatar_copying = allow_avatar_copying + if badges is not None: + self.badges = badges self.bio = bio self.bio_links = bio_links self.current_avatar_image_url = current_avatar_image_url self.current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url + self.current_avatar_tags = current_avatar_tags self.date_joined = date_joined self.developer_type = developer_type self.display_name = display_name @@ -159,6 +171,7 @@ def __init__(self, allow_avatar_copying=True, bio=None, bio_links=None, current_ if note is not None: self.note = note self.profile_pic_override = profile_pic_override + self.pronouns = pronouns self.state = state self.status = status self.status_description = status_description @@ -198,6 +211,29 @@ def allow_avatar_copying(self, allow_avatar_copying): self._allow_avatar_copying = allow_avatar_copying + @property + def badges(self): + """Gets the badges of this User. # noqa: E501 + + # noqa: E501 + + :return: The badges of this User. # noqa: E501 + :rtype: list[Badge] + """ + return self._badges + + @badges.setter + def badges(self, badges): + """Sets the badges of this User. + + # noqa: E501 + + :param badges: The badges of this User. # noqa: E501 + :type badges: list[Badge] + """ + + self._badges = badges + @property def bio(self): """Gets the bio of this User. # noqa: E501 @@ -300,6 +336,29 @@ def current_avatar_thumbnail_image_url(self, current_avatar_thumbnail_image_url) self._current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url + @property + def current_avatar_tags(self): + """Gets the current_avatar_tags of this User. # noqa: E501 + + + :return: The current_avatar_tags of this User. # noqa: E501 + :rtype: list[str] + """ + return self._current_avatar_tags + + @current_avatar_tags.setter + def current_avatar_tags(self, current_avatar_tags): + """Sets the current_avatar_tags of this User. + + + :param current_avatar_tags: The current_avatar_tags of this User. # noqa: E501 + :type current_avatar_tags: list[str] + """ + if self.local_vars_configuration.client_side_validation and current_avatar_tags is None: # noqa: E501 + raise ValueError("Invalid value for `current_avatar_tags`, must not be `None`") # noqa: E501 + + self._current_avatar_tags = current_avatar_tags + @property def date_joined(self): """Gets the date_joined of this User. # noqa: E501 @@ -630,6 +689,29 @@ def profile_pic_override(self, profile_pic_override): self._profile_pic_override = profile_pic_override + @property + def pronouns(self): + """Gets the pronouns of this User. # noqa: E501 + + + :return: The pronouns of this User. # noqa: E501 + :rtype: str + """ + return self._pronouns + + @pronouns.setter + def pronouns(self, pronouns): + """Sets the pronouns of this User. + + + :param pronouns: The pronouns of this User. # noqa: E501 + :type pronouns: str + """ + if self.local_vars_configuration.client_side_validation and pronouns is None: # noqa: E501 + raise ValueError("Invalid value for `pronouns`, must not be `None`") # noqa: E501 + + self._pronouns = pronouns + @property def state(self): """Gets the state of this User. # noqa: E501 diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index b3976787..bf0dccdb 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index aaaee30d..6f1328d5 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index b87a6f09..6f5e9fac 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index a780ef28..1cdf45ad 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_email_code_result.py b/vrchatapi/models/verify2_fa_email_code_result.py index 54070011..90fde579 100644 --- a/vrchatapi/models/verify2_fa_email_code_result.py +++ b/vrchatapi/models/verify2_fa_email_code_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index 59c792b6..e4146141 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index 580ff13b..3ab449b6 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index 4a0ea9a2..afb18ead 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index 2165c6b1..cbe501e9 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index 549cf42e..89aa0066 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,46 +36,46 @@ class WorldPublishStatus(object): and the value is json key in definition. """ openapi_types = { - 'can_pubilsh': 'bool' + 'can_publish': 'bool' } attribute_map = { - 'can_pubilsh': 'canPubilsh' + 'can_publish': 'canPublish' } - def __init__(self, can_pubilsh=True, local_vars_configuration=None): # noqa: E501 + def __init__(self, can_publish=True, local_vars_configuration=None): # noqa: E501 """WorldPublishStatus - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._can_pubilsh = None + self._can_publish = None self.discriminator = None - self.can_pubilsh = can_pubilsh + self.can_publish = can_publish @property - def can_pubilsh(self): - """Gets the can_pubilsh of this WorldPublishStatus. # noqa: E501 + def can_publish(self): + """Gets the can_publish of this WorldPublishStatus. # noqa: E501 - :return: The can_pubilsh of this WorldPublishStatus. # noqa: E501 + :return: The can_publish of this WorldPublishStatus. # noqa: E501 :rtype: bool """ - return self._can_pubilsh + return self._can_publish - @can_pubilsh.setter - def can_pubilsh(self, can_pubilsh): - """Sets the can_pubilsh of this WorldPublishStatus. + @can_publish.setter + def can_publish(self, can_publish): + """Sets the can_publish of this WorldPublishStatus. - :param can_pubilsh: The can_pubilsh of this WorldPublishStatus. # noqa: E501 - :type can_pubilsh: bool + :param can_publish: The can_publish of this WorldPublishStatus. # noqa: E501 + :type can_publish: bool """ - if self.local_vars_configuration.client_side_validation and can_pubilsh is None: # noqa: E501 - raise ValueError("Invalid value for `can_pubilsh`, must not be `None`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and can_publish is None: # noqa: E501 + raise ValueError("Invalid value for `can_publish`, must not be `None`") # noqa: E501 - self._can_pubilsh = can_pubilsh + self._can_publish = can_publish def to_dict(self, serialize=False): """Returns the model properties as a dict""" diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index 10df3f8c..b9328d12 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.3 + The version of the OpenAPI document: 1.17.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ From ea92ee53005d0db5317820a2511719a2eced57f2 Mon Sep 17 00:00:00 2001 From: VRCCat Date: Thu, 13 Jun 2024 19:49:56 +0000 Subject: [PATCH 053/102] Upgrade Python SDK to spec 1.17.6 --- docs/CurrentUser.md | 2 + docs/UpdateUserRequest.md | 1 + docs/User.md | 1 + setup.py | 4 +- vrchatapi/__init__.py | 2 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/groups_api.py | 2 +- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 +- vrchatapi/exceptions.py | 2 +- vrchatapi/models/__init__.py | 2 +- vrchatapi/models/account_deletion_log.py | 2 +- vrchatapi/models/add_favorite_request.py | 2 +- .../models/add_group_gallery_image_request.py | 2 +- vrchatapi/models/api_config.py | 2 +- vrchatapi/models/api_config_announcement.py | 2 +- .../models/api_config_download_url_list.py | 2 +- vrchatapi/models/api_config_events.py | 2 +- vrchatapi/models/api_health.py | 2 +- vrchatapi/models/avatar.py | 2 +- .../models/avatar_unity_package_url_object.py | 2 +- vrchatapi/models/badge.py | 2 +- vrchatapi/models/ban_group_member_request.py | 2 +- vrchatapi/models/create_avatar_request.py | 2 +- vrchatapi/models/create_file_request.py | 2 +- .../models/create_file_version_request.py | 2 +- .../create_group_announcement_request.py | 2 +- .../models/create_group_gallery_request.py | 2 +- .../models/create_group_invite_request.py | 2 +- vrchatapi/models/create_group_post_request.py | 2 +- vrchatapi/models/create_group_request.py | 2 +- vrchatapi/models/create_group_role_request.py | 2 +- vrchatapi/models/create_instance_request.py | 2 +- vrchatapi/models/create_world_request.py | 2 +- vrchatapi/models/current_user.py | 57 ++++++++++++++++++- vrchatapi/models/current_user_presence.py | 2 +- vrchatapi/models/deployment_group.py | 2 +- vrchatapi/models/developer_type.py | 2 +- vrchatapi/models/dynamic_content_row.py | 2 +- vrchatapi/models/error.py | 2 +- vrchatapi/models/favorite.py | 2 +- vrchatapi/models/favorite_group.py | 2 +- vrchatapi/models/favorite_group_visibility.py | 2 +- vrchatapi/models/favorite_type.py | 2 +- vrchatapi/models/file.py | 2 +- vrchatapi/models/file_data.py | 2 +- vrchatapi/models/file_status.py | 2 +- vrchatapi/models/file_upload_url.py | 2 +- vrchatapi/models/file_version.py | 2 +- .../models/file_version_upload_status.py | 2 +- .../models/finish_file_data_upload_request.py | 2 +- vrchatapi/models/friend_status.py | 2 +- vrchatapi/models/group.py | 2 +- vrchatapi/models/group_access_type.py | 2 +- vrchatapi/models/group_announcement.py | 2 +- vrchatapi/models/group_audit_log_entry.py | 2 +- vrchatapi/models/group_gallery.py | 2 +- vrchatapi/models/group_gallery_image.py | 2 +- vrchatapi/models/group_instance.py | 2 +- vrchatapi/models/group_join_request_action.py | 2 +- vrchatapi/models/group_join_state.py | 2 +- vrchatapi/models/group_limited_member.py | 5 +- vrchatapi/models/group_member.py | 2 +- vrchatapi/models/group_member_limited_user.py | 2 +- vrchatapi/models/group_member_status.py | 5 +- vrchatapi/models/group_my_member.py | 2 +- vrchatapi/models/group_permission.py | 2 +- vrchatapi/models/group_post.py | 2 +- vrchatapi/models/group_post_visibility.py | 2 +- vrchatapi/models/group_privacy.py | 2 +- vrchatapi/models/group_role.py | 2 +- vrchatapi/models/group_role_template.py | 2 +- vrchatapi/models/group_search_sort.py | 2 +- vrchatapi/models/group_user_visibility.py | 2 +- vrchatapi/models/info_push.py | 2 +- vrchatapi/models/info_push_data.py | 2 +- vrchatapi/models/info_push_data_article.py | 2 +- .../models/info_push_data_article_content.py | 2 +- vrchatapi/models/info_push_data_clickable.py | 2 +- vrchatapi/models/instance.py | 2 +- vrchatapi/models/instance_platforms.py | 2 +- vrchatapi/models/instance_region.py | 2 +- .../models/instance_short_name_response.py | 2 +- vrchatapi/models/instance_type.py | 2 +- vrchatapi/models/invite_message.py | 2 +- vrchatapi/models/invite_message_type.py | 2 +- vrchatapi/models/invite_request.py | 2 +- vrchatapi/models/invite_response.py | 2 +- vrchatapi/models/license.py | 2 +- vrchatapi/models/license_action.py | 2 +- vrchatapi/models/license_group.py | 2 +- vrchatapi/models/license_type.py | 2 +- vrchatapi/models/limited_group.py | 2 +- vrchatapi/models/limited_unity_package.py | 2 +- vrchatapi/models/limited_user.py | 2 +- vrchatapi/models/limited_user_groups.py | 2 +- vrchatapi/models/limited_world.py | 2 +- vrchatapi/models/mime_type.py | 2 +- vrchatapi/models/moderate_user_request.py | 2 +- vrchatapi/models/notification.py | 2 +- .../models/notification_detail_invite.py | 2 +- .../notification_detail_invite_response.py | 2 +- .../notification_detail_request_invite.py | 2 +- ...fication_detail_request_invite_response.py | 2 +- .../notification_detail_vote_to_kick.py | 2 +- vrchatapi/models/notification_type.py | 2 +- vrchatapi/models/order_option.py | 2 +- .../paginated_group_audit_log_entry_list.py | 2 +- vrchatapi/models/past_display_name.py | 2 +- vrchatapi/models/permission.py | 2 +- vrchatapi/models/player_moderation.py | 2 +- vrchatapi/models/player_moderation_type.py | 2 +- vrchatapi/models/region.py | 2 +- vrchatapi/models/release_status.py | 2 +- vrchatapi/models/represented_group.py | 2 +- vrchatapi/models/request_invite_request.py | 2 +- .../models/respond_group_join_request.py | 2 +- vrchatapi/models/response.py | 2 +- vrchatapi/models/sent_notification.py | 2 +- vrchatapi/models/sort_option.py | 2 +- vrchatapi/models/subscription.py | 2 +- vrchatapi/models/subscription_period.py | 2 +- vrchatapi/models/success.py | 2 +- vrchatapi/models/transaction.py | 2 +- vrchatapi/models/transaction_agreement.py | 2 +- vrchatapi/models/transaction_status.py | 2 +- vrchatapi/models/transaction_steam_info.py | 2 +- .../models/transaction_steam_wallet_info.py | 2 +- vrchatapi/models/two_factor_auth_code.py | 2 +- vrchatapi/models/two_factor_email_code.py | 2 +- vrchatapi/models/unity_package.py | 5 +- vrchatapi/models/update_avatar_request.py | 2 +- .../models/update_favorite_group_request.py | 2 +- .../models/update_group_gallery_request.py | 2 +- .../models/update_group_member_request.py | 2 +- vrchatapi/models/update_group_request.py | 2 +- vrchatapi/models/update_group_role_request.py | 2 +- .../models/update_invite_message_request.py | 2 +- vrchatapi/models/update_user_request.py | 30 +++++++++- vrchatapi/models/update_world_request.py | 2 +- vrchatapi/models/user.py | 31 +++++++++- vrchatapi/models/user_exists.py | 2 +- vrchatapi/models/user_state.py | 2 +- vrchatapi/models/user_status.py | 2 +- vrchatapi/models/user_subscription.py | 2 +- .../models/verify2_fa_email_code_result.py | 2 +- vrchatapi/models/verify2_fa_result.py | 2 +- vrchatapi/models/verify_auth_token_result.py | 2 +- vrchatapi/models/world.py | 2 +- vrchatapi/models/world_metadata.py | 2 +- vrchatapi/models/world_publish_status.py | 2 +- vrchatapi/rest.py | 2 +- 165 files changed, 280 insertions(+), 173 deletions(-) diff --git a/docs/CurrentUser.md b/docs/CurrentUser.md index da5e385b..24f7b1af 100644 --- a/docs/CurrentUser.md +++ b/docs/CurrentUser.md @@ -35,6 +35,7 @@ Name | Type | Description | Notes **has_pending_email** | **bool** | | **home_location** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | **id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**is_booping_enabled** | **bool** | | [optional] [default to True] **is_friend** | **bool** | | [default to False] **last_activity** | **datetime** | | [optional] **last_login** | **datetime** | | @@ -52,6 +53,7 @@ Name | Type | Description | Notes **past_display_names** | [**list[PastDisplayName]**](PastDisplayName.md) | | **presence** | [**CurrentUserPresence**](CurrentUserPresence.md) | | [optional] **profile_pic_override** | **str** | | +**profile_pic_override_thumbnail** | **str** | | **pronouns** | **str** | | **state** | [**UserState**](UserState.md) | | **status** | [**UserStatus**](UserStatus.md) | | diff --git a/docs/UpdateUserRequest.md b/docs/UpdateUserRequest.md index decbd3e6..48cca608 100644 --- a/docs/UpdateUserRequest.md +++ b/docs/UpdateUserRequest.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **bio** | **str** | | [optional] **bio_links** | **list[str]** | | [optional] **pronouns** | **str** | | [optional] +**is_booping_enabled** | **bool** | | [optional] **user_icon** | **str** | MUST be a valid VRChat /file/ url. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/User.md b/docs/User.md index 2527d4c5..b26247dc 100644 --- a/docs/User.md +++ b/docs/User.md @@ -25,6 +25,7 @@ Name | Type | Description | Notes **location** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | [optional] **note** | **str** | | [optional] **profile_pic_override** | **str** | | +**profile_pic_override_thumbnail** | **str** | | **pronouns** | **str** | | **state** | [**UserState**](UserState.md) | | **status** | [**UserStatus**](UserStatus.md) | | diff --git a/setup.py b/setup.py index 2f7ee499..906dfdf7 100644 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.17.5" +VERSION = "1.17.6" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 5ae50967..7b9aeaed 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,7 +6,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index 7c5c8c16..e1d9e5cc 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index f1fefe85..b893fd6d 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 0e807657..09076e7a 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index 0b5adf53..e6644710 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index 64e42274..4072ae4f 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index 8cb24a68..4d7419ee 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index b48a2267..e502f29a 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 9b280616..47b971f0 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index 3deef53a..2d05f172 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index eec992bc..131da4f8 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index 015d3c25..a965481b 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index 1aa2bae0..1da6b38f 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index 21f92bab..f1f56356 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index 5c1d5ea2..2e2b3238 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 3b8d17e6..a52538e8 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index b2aaa725..2b1401f9 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,7 +3,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index 3649b495..6276047d 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -441,7 +441,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.17.5\n"\ + "Version of the API: 1.17.6\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index eb608daa..3b035fe2 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index 9114c7e9..44be6b17 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,7 +5,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/account_deletion_log.py b/vrchatapi/models/account_deletion_log.py index 319db4d1..030ece1a 100644 --- a/vrchatapi/models/account_deletion_log.py +++ b/vrchatapi/models/account_deletion_log.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index be53c39b..d4312a06 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index 969215dc..c4b04603 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index 4aa338a2..ea0e73f1 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index d5abf9fb..ae91fe89 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index 416f46d2..8bce0914 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index 8f4e712d..b9aee84d 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index a83766a2..e3772375 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index 6f8dd55a..de562ba3 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index 00f412a7..25f7f398 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/badge.py b/vrchatapi/models/badge.py index c6c4116c..c5b17141 100644 --- a/vrchatapi/models/badge.py +++ b/vrchatapi/models/badge.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index fc9dd60f..aa101146 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index a5c4ac5c..5fb8f6c3 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index d48555c2..4fe4a14f 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index b699dea1..de770718 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index d3544047..e9065129 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index 5e6410e7..cfe078f8 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index 2e899543..d1e8c3f7 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_post_request.py b/vrchatapi/models/create_group_post_request.py index 0e410691..9e4c8534 100644 --- a/vrchatapi/models/create_group_post_request.py +++ b/vrchatapi/models/create_group_post_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index ff6f02cd..f823b116 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index 0e7536ce..4fc71be7 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_instance_request.py b/vrchatapi/models/create_instance_request.py index 2ca589bf..13ac93aa 100644 --- a/vrchatapi/models/create_instance_request.py +++ b/vrchatapi/models/create_instance_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index 56b5b5df..5e270b69 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index 775839ba..126e0f5d 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -67,6 +67,7 @@ class CurrentUser(object): 'has_pending_email': 'bool', 'home_location': 'str', 'id': 'str', + 'is_booping_enabled': 'bool', 'is_friend': 'bool', 'last_activity': 'datetime', 'last_login': 'datetime', @@ -84,6 +85,7 @@ class CurrentUser(object): 'past_display_names': 'list[PastDisplayName]', 'presence': 'CurrentUserPresence', 'profile_pic_override': 'str', + 'profile_pic_override_thumbnail': 'str', 'pronouns': 'str', 'state': 'UserState', 'status': 'UserStatus', @@ -133,6 +135,7 @@ class CurrentUser(object): 'has_pending_email': 'hasPendingEmail', 'home_location': 'homeLocation', 'id': 'id', + 'is_booping_enabled': 'isBoopingEnabled', 'is_friend': 'isFriend', 'last_activity': 'last_activity', 'last_login': 'last_login', @@ -150,6 +153,7 @@ class CurrentUser(object): 'past_display_names': 'pastDisplayNames', 'presence': 'presence', 'profile_pic_override': 'profilePicOverride', + 'profile_pic_override_thumbnail': 'profilePicOverrideThumbnail', 'pronouns': 'pronouns', 'state': 'state', 'status': 'status', @@ -167,7 +171,7 @@ class CurrentUser(object): 'username': 'username' } - def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, account_deletion_date=None, account_deletion_log=None, active_friends=None, allow_avatar_copying=None, badges=None, bio=None, bio_links=None, current_avatar=None, current_avatar_asset_url=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, date_joined=None, developer_type=None, display_name=None, email_verified=None, fallback_avatar=None, friend_group_names=None, friend_key=None, friends=None, has_birthday=None, hide_content_filter_settings=None, user_language=None, user_language_code=None, has_email=None, has_logged_in_from_client=None, has_pending_email=None, home_location=None, id=None, is_friend=False, last_activity=None, last_login=None, last_mobile=None, last_platform=None, obfuscated_email=None, obfuscated_pending_email=None, oculus_id=None, google_id=None, google_details=None, pico_id=None, vive_id=None, offline_friends=None, online_friends=None, past_display_names=None, presence=None, profile_pic_override=None, pronouns=None, state=None, status=None, status_description=None, status_first_time=None, status_history=None, steam_details=None, steam_id=None, tags=None, two_factor_auth_enabled=None, two_factor_auth_enabled_date=None, unsubscribe=None, updated_at=None, user_icon=None, username=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, account_deletion_date=None, account_deletion_log=None, active_friends=None, allow_avatar_copying=None, badges=None, bio=None, bio_links=None, current_avatar=None, current_avatar_asset_url=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, date_joined=None, developer_type=None, display_name=None, email_verified=None, fallback_avatar=None, friend_group_names=None, friend_key=None, friends=None, has_birthday=None, hide_content_filter_settings=None, user_language=None, user_language_code=None, has_email=None, has_logged_in_from_client=None, has_pending_email=None, home_location=None, id=None, is_booping_enabled=True, is_friend=False, last_activity=None, last_login=None, last_mobile=None, last_platform=None, obfuscated_email=None, obfuscated_pending_email=None, oculus_id=None, google_id=None, google_details=None, pico_id=None, vive_id=None, offline_friends=None, online_friends=None, past_display_names=None, presence=None, profile_pic_override=None, profile_pic_override_thumbnail=None, pronouns=None, state=None, status=None, status_description=None, status_first_time=None, status_history=None, steam_details=None, steam_id=None, tags=None, two_factor_auth_enabled=None, two_factor_auth_enabled_date=None, unsubscribe=None, updated_at=None, user_icon=None, username=None, local_vars_configuration=None): # noqa: E501 """CurrentUser - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -204,6 +208,7 @@ def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, acc self._has_pending_email = None self._home_location = None self._id = None + self._is_booping_enabled = None self._is_friend = None self._last_activity = None self._last_login = None @@ -221,6 +226,7 @@ def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, acc self._past_display_names = None self._presence = None self._profile_pic_override = None + self._profile_pic_override_thumbnail = None self._pronouns = None self._state = None self._status = None @@ -274,6 +280,8 @@ def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, acc self.has_pending_email = has_pending_email self.home_location = home_location self.id = id + if is_booping_enabled is not None: + self.is_booping_enabled = is_booping_enabled self.is_friend = is_friend if last_activity is not None: self.last_activity = last_activity @@ -299,6 +307,7 @@ def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, acc if presence is not None: self.presence = presence self.profile_pic_override = profile_pic_override + self.profile_pic_override_thumbnail = profile_pic_override_thumbnail self.pronouns = pronouns self.state = state self.status = status @@ -1036,6 +1045,27 @@ def id(self, id): self._id = id + @property + def is_booping_enabled(self): + """Gets the is_booping_enabled of this CurrentUser. # noqa: E501 + + + :return: The is_booping_enabled of this CurrentUser. # noqa: E501 + :rtype: bool + """ + return self._is_booping_enabled + + @is_booping_enabled.setter + def is_booping_enabled(self, is_booping_enabled): + """Sets the is_booping_enabled of this CurrentUser. + + + :param is_booping_enabled: The is_booping_enabled of this CurrentUser. # noqa: E501 + :type is_booping_enabled: bool + """ + + self._is_booping_enabled = is_booping_enabled + @property def is_friend(self): """Gets the is_friend of this CurrentUser. # noqa: E501 @@ -1413,6 +1443,29 @@ def profile_pic_override(self, profile_pic_override): self._profile_pic_override = profile_pic_override + @property + def profile_pic_override_thumbnail(self): + """Gets the profile_pic_override_thumbnail of this CurrentUser. # noqa: E501 + + + :return: The profile_pic_override_thumbnail of this CurrentUser. # noqa: E501 + :rtype: str + """ + return self._profile_pic_override_thumbnail + + @profile_pic_override_thumbnail.setter + def profile_pic_override_thumbnail(self, profile_pic_override_thumbnail): + """Sets the profile_pic_override_thumbnail of this CurrentUser. + + + :param profile_pic_override_thumbnail: The profile_pic_override_thumbnail of this CurrentUser. # noqa: E501 + :type profile_pic_override_thumbnail: str + """ + if self.local_vars_configuration.client_side_validation and profile_pic_override_thumbnail is None: # noqa: E501 + raise ValueError("Invalid value for `profile_pic_override_thumbnail`, must not be `None`") # noqa: E501 + + self._profile_pic_override_thumbnail = profile_pic_override_thumbnail + @property def pronouns(self): """Gets the pronouns of this CurrentUser. # noqa: E501 diff --git a/vrchatapi/models/current_user_presence.py b/vrchatapi/models/current_user_presence.py index 55df0d88..c03360ca 100644 --- a/vrchatapi/models/current_user_presence.py +++ b/vrchatapi/models/current_user_presence.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/deployment_group.py b/vrchatapi/models/deployment_group.py index 3d0d7f62..bbde3e29 100644 --- a/vrchatapi/models/deployment_group.py +++ b/vrchatapi/models/deployment_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index 628fedec..8f77e6e7 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index 1ff13bec..15008631 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index 89c5af0e..7ad9c115 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index e52281a9..9cd5830c 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index fe4ac31e..d6b353f8 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index 7010238a..5d75be22 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index aff964c4..aaaa5b75 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index 847bf5f9..5d9e571a 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index 755b4c2d..32fc2ba2 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index 9156314e..1cc33810 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index 10731247..9bd3144c 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index 5226f757..35a4cb62 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index 8ab1b941..cd8eca4b 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index 6994c452..8f95eb43 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index ef611349..96527c28 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index eaa86301..eed5f531 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_access_type.py b/vrchatapi/models/group_access_type.py index d2183776..cb37febb 100644 --- a/vrchatapi/models/group_access_type.py +++ b/vrchatapi/models/group_access_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index 69534dcc..01f2afe0 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index 27b0fc64..4bf581be 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index 9d4db68a..38702987 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index 3b7d38ba..2ec33d68 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_instance.py b/vrchatapi/models/group_instance.py index bf2545e4..b9552be5 100644 --- a/vrchatapi/models/group_instance.py +++ b/vrchatapi/models/group_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_request_action.py b/vrchatapi/models/group_join_request_action.py index 4c786fb9..7962507b 100644 --- a/vrchatapi/models/group_join_request_action.py +++ b/vrchatapi/models/group_join_request_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index f8c1bd23..e41c1373 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index 0e84c48b..099bbeee 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -106,8 +106,7 @@ def __init__(self, id=None, group_id=None, user_id=None, is_representing=False, self.role_ids = role_ids if m_role_ids is not None: self.m_role_ids = m_role_ids - if joined_at is not None: - self.joined_at = joined_at + self.joined_at = joined_at if membership_status is not None: self.membership_status = membership_status if visibility is not None: diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index 65d920f4..d596f9f3 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index 5ad9b71d..10ce3c6e 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index 833d9e63..8181c95f 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,8 +36,9 @@ class GroupMemberStatus(object): REQUESTED = "requested" INVITED = "invited" BANNED = "banned" + USERBLOCKED = "userblocked" - allowable_values = [INACTIVE, MEMBER, REQUESTED, INVITED, BANNED] # noqa: E501 + allowable_values = [INACTIVE, MEMBER, REQUESTED, INVITED, BANNED, USERBLOCKED] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index 7c736cfc..33a7101c 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index 1ebba19e..acfcc8ed 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post.py b/vrchatapi/models/group_post.py index 3b522534..d9cd3f7a 100644 --- a/vrchatapi/models/group_post.py +++ b/vrchatapi/models/group_post.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post_visibility.py b/vrchatapi/models/group_post_visibility.py index 64ba92d2..d2092bf5 100644 --- a/vrchatapi/models/group_post_visibility.py +++ b/vrchatapi/models/group_post_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index a8b49036..45752144 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index 25ef3ccd..cd1fb7ec 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index 34f00547..fd068fb9 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_search_sort.py b/vrchatapi/models/group_search_sort.py index 38d52907..27445586 100644 --- a/vrchatapi/models/group_search_sort.py +++ b/vrchatapi/models/group_search_sort.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index 85f59b7c..91bf64c4 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index 88fe88df..fca173e7 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index e67d9bb2..c3c13542 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index 92dae672..5d203f13 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index 2fc1ad44..6b73eef5 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index 1f207b41..0ed3a2d1 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index 24e65496..5efabb5d 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index 0b3a72ae..184598a2 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_region.py b/vrchatapi/models/instance_region.py index 571c07c2..cafd72b8 100644 --- a/vrchatapi/models/instance_region.py +++ b/vrchatapi/models/instance_region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index 0e0d43c7..0ffb435e 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index 33f4de8d..5257fb38 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index 1e861b02..3b34a1a0 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index 04ae4e9b..0f24f489 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index f9a2ade3..768d30a2 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index b76c85ea..42625baa 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index 3de94d1e..91d51678 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index 761fb5e1..8f10610b 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index 865d41d5..611b01cb 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index ac1283df..9e762e7d 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_group.py b/vrchatapi/models/limited_group.py index d6317129..10cdc6ac 100644 --- a/vrchatapi/models/limited_group.py +++ b/vrchatapi/models/limited_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index 7387d1ba..1e39075a 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user.py b/vrchatapi/models/limited_user.py index 7d14cf1c..2142ccfd 100644 --- a/vrchatapi/models/limited_user.py +++ b/vrchatapi/models/limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user_groups.py b/vrchatapi/models/limited_user_groups.py index 42753c8f..e74138da 100644 --- a/vrchatapi/models/limited_user_groups.py +++ b/vrchatapi/models/limited_user_groups.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index d0607716..df60e04a 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index 3ba9f867..bd9e3021 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index 0210060f..85e32ca4 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index 82ebfe82..0dba48a6 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite.py b/vrchatapi/models/notification_detail_invite.py index 8f4dbdb7..43ef214c 100644 --- a/vrchatapi/models/notification_detail_invite.py +++ b/vrchatapi/models/notification_detail_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite_response.py b/vrchatapi/models/notification_detail_invite_response.py index ef755fdd..a1bf0268 100644 --- a/vrchatapi/models/notification_detail_invite_response.py +++ b/vrchatapi/models/notification_detail_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite.py b/vrchatapi/models/notification_detail_request_invite.py index c61f2354..840d98de 100644 --- a/vrchatapi/models/notification_detail_request_invite.py +++ b/vrchatapi/models/notification_detail_request_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite_response.py b/vrchatapi/models/notification_detail_request_invite_response.py index 559bd07e..93d467b0 100644 --- a/vrchatapi/models/notification_detail_request_invite_response.py +++ b/vrchatapi/models/notification_detail_request_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_vote_to_kick.py b/vrchatapi/models/notification_detail_vote_to_kick.py index fb7400f0..6b077634 100644 --- a/vrchatapi/models/notification_detail_vote_to_kick.py +++ b/vrchatapi/models/notification_detail_vote_to_kick.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index e3eef600..f7870615 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index 4650ece0..9b74cbda 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index af3fab6f..588358de 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index 0872fc73..6e96e36f 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index 90b1f1e2..16ffb7d7 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index 1a5abd78..c105e013 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index 1596e566..fc44a242 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index b2c52831..bbbb262a 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index 65e40a98..ad2dd0a0 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/represented_group.py b/vrchatapi/models/represented_group.py index cdcfb202..2e56c6d2 100644 --- a/vrchatapi/models/represented_group.py +++ b/vrchatapi/models/represented_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index 4bce1f3f..ec9609f3 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index 071ff780..8674b179 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index 19fcd9fc..ce7691ef 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index b3c2d122..590b622e 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index 25e87971..eb3d8181 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index e6dbd4c2..d71f1e26 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index 3aa53a12..503bdd74 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index 63306951..d3a260cb 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index 6d756ff5..fccdfc7c 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index da981ec1..0aa6ee89 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index 9f7d26c4..ac1e3e07 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index ed754847..ab12b01b 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index 150e2cce..4dc69c02 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index 382a3ccc..3397613d 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_email_code.py b/vrchatapi/models/two_factor_email_code.py index 18c75996..ba0bbfdd 100644 --- a/vrchatapi/models/two_factor_email_code.py +++ b/vrchatapi/models/two_factor_email_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index 27e4cf23..45fa4cb0 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -150,9 +150,6 @@ def asset_url(self, asset_url): :param asset_url: The asset_url of this UnityPackage. # noqa: E501 :type asset_url: str """ - if (self.local_vars_configuration.client_side_validation and - asset_url is not None and len(asset_url) < 1): - raise ValueError("Invalid value for `asset_url`, length must be greater than or equal to `1`") # noqa: E501 self._asset_url = asset_url diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index 9bf955aa..41b37238 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index f38fee76..e97e02ef 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index dda4153a..29fe56ae 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index e3648c1e..eb91f06a 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index c164f085..f1305d07 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index 9ae2c3f8..4c98abb4 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index 6ce44563..61e08965 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index 7135a9d3..c964176a 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -45,6 +45,7 @@ class UpdateUserRequest(object): 'bio': 'str', 'bio_links': 'list[str]', 'pronouns': 'str', + 'is_booping_enabled': 'bool', 'user_icon': 'str' } @@ -58,10 +59,11 @@ class UpdateUserRequest(object): 'bio': 'bio', 'bio_links': 'bioLinks', 'pronouns': 'pronouns', + 'is_booping_enabled': 'isBoopingEnabled', 'user_icon': 'userIcon' } - def __init__(self, email=None, birthday=None, accepted_tos_version=None, tags=None, status=None, status_description=None, bio=None, bio_links=None, pronouns=None, user_icon=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, email=None, birthday=None, accepted_tos_version=None, tags=None, status=None, status_description=None, bio=None, bio_links=None, pronouns=None, is_booping_enabled=None, user_icon=None, local_vars_configuration=None): # noqa: E501 """UpdateUserRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -76,6 +78,7 @@ def __init__(self, email=None, birthday=None, accepted_tos_version=None, tags=No self._bio = None self._bio_links = None self._pronouns = None + self._is_booping_enabled = None self._user_icon = None self.discriminator = None @@ -97,6 +100,8 @@ def __init__(self, email=None, birthday=None, accepted_tos_version=None, tags=No self.bio_links = bio_links if pronouns is not None: self.pronouns = pronouns + if is_booping_enabled is not None: + self.is_booping_enabled = is_booping_enabled if user_icon is not None: self.user_icon = user_icon @@ -300,6 +305,27 @@ def pronouns(self, pronouns): self._pronouns = pronouns + @property + def is_booping_enabled(self): + """Gets the is_booping_enabled of this UpdateUserRequest. # noqa: E501 + + + :return: The is_booping_enabled of this UpdateUserRequest. # noqa: E501 + :rtype: bool + """ + return self._is_booping_enabled + + @is_booping_enabled.setter + def is_booping_enabled(self, is_booping_enabled): + """Sets the is_booping_enabled of this UpdateUserRequest. + + + :param is_booping_enabled: The is_booping_enabled of this UpdateUserRequest. # noqa: E501 + :type is_booping_enabled: bool + """ + + self._is_booping_enabled = is_booping_enabled + @property def user_icon(self): """Gets the user_icon of this UpdateUserRequest. # noqa: E501 diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index 69a22017..7a77916d 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index af53852c..9adf9feb 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -57,6 +57,7 @@ class User(object): 'location': 'str', 'note': 'str', 'profile_pic_override': 'str', + 'profile_pic_override_thumbnail': 'str', 'pronouns': 'str', 'state': 'UserState', 'status': 'UserStatus', @@ -92,6 +93,7 @@ class User(object): 'location': 'location', 'note': 'note', 'profile_pic_override': 'profilePicOverride', + 'profile_pic_override_thumbnail': 'profilePicOverrideThumbnail', 'pronouns': 'pronouns', 'state': 'state', 'status': 'status', @@ -105,7 +107,7 @@ class User(object): 'world_id': 'worldId' } - def __init__(self, allow_avatar_copying=True, badges=None, bio=None, bio_links=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, date_joined=None, developer_type=None, display_name=None, friend_key=None, friend_request_status=None, id=None, instance_id=None, is_friend=None, last_activity=None, last_login=None, last_platform=None, location=None, note=None, profile_pic_override=None, pronouns=None, state=None, status=None, status_description=None, tags=None, traveling_to_instance=None, traveling_to_location=None, traveling_to_world=None, user_icon=None, username=None, world_id=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, allow_avatar_copying=True, badges=None, bio=None, bio_links=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, date_joined=None, developer_type=None, display_name=None, friend_key=None, friend_request_status=None, id=None, instance_id=None, is_friend=None, last_activity=None, last_login=None, last_platform=None, location=None, note=None, profile_pic_override=None, profile_pic_override_thumbnail=None, pronouns=None, state=None, status=None, status_description=None, tags=None, traveling_to_instance=None, traveling_to_location=None, traveling_to_world=None, user_icon=None, username=None, world_id=None, local_vars_configuration=None): # noqa: E501 """User - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -132,6 +134,7 @@ def __init__(self, allow_avatar_copying=True, badges=None, bio=None, bio_links=N self._location = None self._note = None self._profile_pic_override = None + self._profile_pic_override_thumbnail = None self._pronouns = None self._state = None self._status = None @@ -171,6 +174,7 @@ def __init__(self, allow_avatar_copying=True, badges=None, bio=None, bio_links=N if note is not None: self.note = note self.profile_pic_override = profile_pic_override + self.profile_pic_override_thumbnail = profile_pic_override_thumbnail self.pronouns = pronouns self.state = state self.status = status @@ -689,6 +693,29 @@ def profile_pic_override(self, profile_pic_override): self._profile_pic_override = profile_pic_override + @property + def profile_pic_override_thumbnail(self): + """Gets the profile_pic_override_thumbnail of this User. # noqa: E501 + + + :return: The profile_pic_override_thumbnail of this User. # noqa: E501 + :rtype: str + """ + return self._profile_pic_override_thumbnail + + @profile_pic_override_thumbnail.setter + def profile_pic_override_thumbnail(self, profile_pic_override_thumbnail): + """Sets the profile_pic_override_thumbnail of this User. + + + :param profile_pic_override_thumbnail: The profile_pic_override_thumbnail of this User. # noqa: E501 + :type profile_pic_override_thumbnail: str + """ + if self.local_vars_configuration.client_side_validation and profile_pic_override_thumbnail is None: # noqa: E501 + raise ValueError("Invalid value for `profile_pic_override_thumbnail`, must not be `None`") # noqa: E501 + + self._profile_pic_override_thumbnail = profile_pic_override_thumbnail + @property def pronouns(self): """Gets the pronouns of this User. # noqa: E501 diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index bf0dccdb..2bd304e1 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index 6f1328d5..b681e598 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index 6f5e9fac..0ff0d7a2 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index 1cdf45ad..939ee9e7 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_email_code_result.py b/vrchatapi/models/verify2_fa_email_code_result.py index 90fde579..3f200386 100644 --- a/vrchatapi/models/verify2_fa_email_code_result.py +++ b/vrchatapi/models/verify2_fa_email_code_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index e4146141..39b491c3 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index 3ab449b6..884e85f1 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index afb18ead..0fe5c044 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index cbe501e9..b883ae2d 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index 89aa0066..afea1d82 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index b9328d12..d8acf318 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.5 + The version of the OpenAPI document: 1.17.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ From b4e3649e7235eae44bbb7b0dba3fef56232c32d6 Mon Sep 17 00:00:00 2001 From: VRCCat Date: Sun, 21 Jul 2024 01:20:37 +0000 Subject: [PATCH 054/102] Upgrade Python SDK to spec 1.18.0 --- docs/User.md | 1 + setup.py | 4 +-- vrchatapi/__init__.py | 2 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/groups_api.py | 2 +- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 +-- vrchatapi/exceptions.py | 2 +- vrchatapi/models/__init__.py | 2 +- vrchatapi/models/account_deletion_log.py | 2 +- vrchatapi/models/add_favorite_request.py | 2 +- .../models/add_group_gallery_image_request.py | 2 +- vrchatapi/models/api_config.py | 2 +- vrchatapi/models/api_config_announcement.py | 2 +- .../models/api_config_download_url_list.py | 2 +- vrchatapi/models/api_config_events.py | 2 +- vrchatapi/models/api_health.py | 2 +- vrchatapi/models/avatar.py | 2 +- .../models/avatar_unity_package_url_object.py | 2 +- vrchatapi/models/badge.py | 2 +- vrchatapi/models/ban_group_member_request.py | 2 +- vrchatapi/models/create_avatar_request.py | 2 +- vrchatapi/models/create_file_request.py | 2 +- .../models/create_file_version_request.py | 2 +- .../create_group_announcement_request.py | 2 +- .../models/create_group_gallery_request.py | 2 +- .../models/create_group_invite_request.py | 2 +- vrchatapi/models/create_group_post_request.py | 2 +- vrchatapi/models/create_group_request.py | 2 +- vrchatapi/models/create_group_role_request.py | 2 +- vrchatapi/models/create_instance_request.py | 2 +- vrchatapi/models/create_world_request.py | 2 +- vrchatapi/models/current_user.py | 2 +- vrchatapi/models/current_user_presence.py | 2 +- vrchatapi/models/deployment_group.py | 2 +- vrchatapi/models/developer_type.py | 2 +- vrchatapi/models/dynamic_content_row.py | 2 +- vrchatapi/models/error.py | 2 +- vrchatapi/models/favorite.py | 2 +- vrchatapi/models/favorite_group.py | 2 +- vrchatapi/models/favorite_group_visibility.py | 2 +- vrchatapi/models/favorite_type.py | 2 +- vrchatapi/models/file.py | 2 +- vrchatapi/models/file_data.py | 2 +- vrchatapi/models/file_status.py | 2 +- vrchatapi/models/file_upload_url.py | 2 +- vrchatapi/models/file_version.py | 2 +- .../models/file_version_upload_status.py | 2 +- .../models/finish_file_data_upload_request.py | 2 +- vrchatapi/models/friend_status.py | 2 +- vrchatapi/models/group.py | 2 +- vrchatapi/models/group_access_type.py | 2 +- vrchatapi/models/group_announcement.py | 2 +- vrchatapi/models/group_audit_log_entry.py | 2 +- vrchatapi/models/group_gallery.py | 2 +- vrchatapi/models/group_gallery_image.py | 2 +- vrchatapi/models/group_instance.py | 2 +- vrchatapi/models/group_join_request_action.py | 2 +- vrchatapi/models/group_join_state.py | 2 +- vrchatapi/models/group_limited_member.py | 2 +- vrchatapi/models/group_member.py | 2 +- vrchatapi/models/group_member_limited_user.py | 2 +- vrchatapi/models/group_member_status.py | 2 +- vrchatapi/models/group_my_member.py | 2 +- vrchatapi/models/group_permission.py | 2 +- vrchatapi/models/group_post.py | 2 +- vrchatapi/models/group_post_visibility.py | 2 +- vrchatapi/models/group_privacy.py | 2 +- vrchatapi/models/group_role.py | 2 +- vrchatapi/models/group_role_template.py | 2 +- vrchatapi/models/group_search_sort.py | 2 +- vrchatapi/models/group_user_visibility.py | 2 +- vrchatapi/models/info_push.py | 2 +- vrchatapi/models/info_push_data.py | 2 +- vrchatapi/models/info_push_data_article.py | 2 +- .../models/info_push_data_article_content.py | 2 +- vrchatapi/models/info_push_data_clickable.py | 2 +- vrchatapi/models/instance.py | 2 +- vrchatapi/models/instance_platforms.py | 2 +- vrchatapi/models/instance_region.py | 2 +- .../models/instance_short_name_response.py | 2 +- vrchatapi/models/instance_type.py | 2 +- vrchatapi/models/invite_message.py | 2 +- vrchatapi/models/invite_message_type.py | 2 +- vrchatapi/models/invite_request.py | 2 +- vrchatapi/models/invite_response.py | 2 +- vrchatapi/models/license.py | 2 +- vrchatapi/models/license_action.py | 2 +- vrchatapi/models/license_group.py | 2 +- vrchatapi/models/license_type.py | 2 +- vrchatapi/models/limited_group.py | 2 +- vrchatapi/models/limited_unity_package.py | 2 +- vrchatapi/models/limited_user.py | 2 +- vrchatapi/models/limited_user_groups.py | 2 +- vrchatapi/models/limited_world.py | 2 +- vrchatapi/models/mime_type.py | 2 +- vrchatapi/models/moderate_user_request.py | 2 +- vrchatapi/models/notification.py | 2 +- .../models/notification_detail_invite.py | 2 +- .../notification_detail_invite_response.py | 2 +- .../notification_detail_request_invite.py | 2 +- ...fication_detail_request_invite_response.py | 2 +- .../notification_detail_vote_to_kick.py | 2 +- vrchatapi/models/notification_type.py | 2 +- vrchatapi/models/order_option.py | 2 +- .../paginated_group_audit_log_entry_list.py | 2 +- vrchatapi/models/past_display_name.py | 2 +- vrchatapi/models/permission.py | 2 +- vrchatapi/models/player_moderation.py | 2 +- vrchatapi/models/player_moderation_type.py | 2 +- vrchatapi/models/region.py | 2 +- vrchatapi/models/release_status.py | 2 +- vrchatapi/models/represented_group.py | 2 +- vrchatapi/models/request_invite_request.py | 2 +- .../models/respond_group_join_request.py | 2 +- vrchatapi/models/response.py | 2 +- vrchatapi/models/sent_notification.py | 2 +- vrchatapi/models/sort_option.py | 2 +- vrchatapi/models/subscription.py | 2 +- vrchatapi/models/subscription_period.py | 2 +- vrchatapi/models/success.py | 2 +- vrchatapi/models/transaction.py | 2 +- vrchatapi/models/transaction_agreement.py | 2 +- vrchatapi/models/transaction_status.py | 2 +- vrchatapi/models/transaction_steam_info.py | 2 +- .../models/transaction_steam_wallet_info.py | 2 +- vrchatapi/models/two_factor_auth_code.py | 2 +- vrchatapi/models/two_factor_email_code.py | 2 +- vrchatapi/models/unity_package.py | 2 +- vrchatapi/models/update_avatar_request.py | 2 +- .../models/update_favorite_group_request.py | 2 +- .../models/update_group_gallery_request.py | 2 +- .../models/update_group_member_request.py | 2 +- vrchatapi/models/update_group_request.py | 2 +- vrchatapi/models/update_group_role_request.py | 2 +- .../models/update_invite_message_request.py | 2 +- vrchatapi/models/update_user_request.py | 2 +- vrchatapi/models/update_world_request.py | 2 +- vrchatapi/models/user.py | 31 +++++++++++++++++-- vrchatapi/models/user_exists.py | 2 +- vrchatapi/models/user_state.py | 2 +- vrchatapi/models/user_status.py | 2 +- vrchatapi/models/user_subscription.py | 2 +- .../models/verify2_fa_email_code_result.py | 2 +- vrchatapi/models/verify2_fa_result.py | 2 +- vrchatapi/models/verify_auth_token_result.py | 2 +- vrchatapi/models/world.py | 2 +- vrchatapi/models/world_metadata.py | 2 +- vrchatapi/models/world_publish_status.py | 2 +- vrchatapi/rest.py | 2 +- 163 files changed, 193 insertions(+), 165 deletions(-) diff --git a/docs/User.md b/docs/User.md index b26247dc..3249ee7a 100644 --- a/docs/User.md +++ b/docs/User.md @@ -24,6 +24,7 @@ Name | Type | Description | Notes **last_platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | **location** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | [optional] **note** | **str** | | [optional] +**platform** | **str** | | **profile_pic_override** | **str** | | **profile_pic_override_thumbnail** | **str** | | **pronouns** | **str** | | diff --git a/setup.py b/setup.py index 906dfdf7..61a57219 100644 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.17.6" +VERSION = "1.18.0" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 7b9aeaed..4b8fb6e9 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,7 +6,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index e1d9e5cc..2b009e8a 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index b893fd6d..f88b9340 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 09076e7a..00e13fe3 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index e6644710..30823232 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index 4072ae4f..6e192474 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index 4d7419ee..61264dad 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index e502f29a..28a84643 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 47b971f0..e99d4a81 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index 2d05f172..72782de2 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index 131da4f8..e5aa8a83 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index a965481b..9d637a79 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index 1da6b38f..d7109f81 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index f1f56356..14ac6b54 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index 2e2b3238..0e2735ea 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index a52538e8..a2db7e11 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index 2b1401f9..3ca847ef 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,7 +3,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index 6276047d..58bbfbbe 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -441,7 +441,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.17.6\n"\ + "Version of the API: 1.18.0\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index 3b035fe2..f5a4d3d8 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index 44be6b17..7a33848d 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,7 +5,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/account_deletion_log.py b/vrchatapi/models/account_deletion_log.py index 030ece1a..c17e1088 100644 --- a/vrchatapi/models/account_deletion_log.py +++ b/vrchatapi/models/account_deletion_log.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index d4312a06..382c0ae7 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index c4b04603..82858ee2 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index ea0e73f1..87b8cdfd 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index ae91fe89..e96f44e5 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index 8bce0914..727bf5ce 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index b9aee84d..dcc84d93 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index e3772375..cde9d9c7 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index de562ba3..5dd75552 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index 25f7f398..004f9154 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/badge.py b/vrchatapi/models/badge.py index c5b17141..e22b3a6b 100644 --- a/vrchatapi/models/badge.py +++ b/vrchatapi/models/badge.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index aa101146..4eb43407 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index 5fb8f6c3..16b50421 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index 4fe4a14f..53341434 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index de770718..9093730e 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index e9065129..5e613005 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index cfe078f8..543a0a15 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index d1e8c3f7..ad8a04a4 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_post_request.py b/vrchatapi/models/create_group_post_request.py index 9e4c8534..61752d58 100644 --- a/vrchatapi/models/create_group_post_request.py +++ b/vrchatapi/models/create_group_post_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index f823b116..1f17a11a 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index 4fc71be7..5e1f8ecd 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_instance_request.py b/vrchatapi/models/create_instance_request.py index 13ac93aa..fbf17b0c 100644 --- a/vrchatapi/models/create_instance_request.py +++ b/vrchatapi/models/create_instance_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index 5e270b69..40ce83f4 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index 126e0f5d..64920dc1 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user_presence.py b/vrchatapi/models/current_user_presence.py index c03360ca..2553cd6d 100644 --- a/vrchatapi/models/current_user_presence.py +++ b/vrchatapi/models/current_user_presence.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/deployment_group.py b/vrchatapi/models/deployment_group.py index bbde3e29..cb1a3bab 100644 --- a/vrchatapi/models/deployment_group.py +++ b/vrchatapi/models/deployment_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index 8f77e6e7..48551d8e 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index 15008631..81fadff5 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index 7ad9c115..a4cbe5a4 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index 9cd5830c..7d39f24b 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index d6b353f8..217b784d 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index 5d75be22..387fd024 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index aaaa5b75..c9f7d5ef 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index 5d9e571a..efe0644e 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index 32fc2ba2..0d277c1f 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index 1cc33810..ae432b24 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index 9bd3144c..8c0a98e7 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index 35a4cb62..8f71e3e1 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index cd8eca4b..fca05e0d 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index 8f95eb43..400c8648 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index 96527c28..3070314d 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index eed5f531..be798217 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_access_type.py b/vrchatapi/models/group_access_type.py index cb37febb..853a3192 100644 --- a/vrchatapi/models/group_access_type.py +++ b/vrchatapi/models/group_access_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index 01f2afe0..a194af2d 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index 4bf581be..70f20c6c 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index 38702987..26648a5a 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index 2ec33d68..9eb89d86 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_instance.py b/vrchatapi/models/group_instance.py index b9552be5..e2015172 100644 --- a/vrchatapi/models/group_instance.py +++ b/vrchatapi/models/group_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_request_action.py b/vrchatapi/models/group_join_request_action.py index 7962507b..f086205f 100644 --- a/vrchatapi/models/group_join_request_action.py +++ b/vrchatapi/models/group_join_request_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index e41c1373..ab8f656c 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index 099bbeee..529eb696 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index d596f9f3..b9e69171 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index 10ce3c6e..ed3523a3 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index 8181c95f..0bc9f92f 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index 33a7101c..a80f5e5f 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index acfcc8ed..ad74de45 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post.py b/vrchatapi/models/group_post.py index d9cd3f7a..3c77e362 100644 --- a/vrchatapi/models/group_post.py +++ b/vrchatapi/models/group_post.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post_visibility.py b/vrchatapi/models/group_post_visibility.py index d2092bf5..8472b3b5 100644 --- a/vrchatapi/models/group_post_visibility.py +++ b/vrchatapi/models/group_post_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index 45752144..804e63e3 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index cd1fb7ec..5f21da58 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index fd068fb9..63644c88 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_search_sort.py b/vrchatapi/models/group_search_sort.py index 27445586..71f178bb 100644 --- a/vrchatapi/models/group_search_sort.py +++ b/vrchatapi/models/group_search_sort.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index 91bf64c4..3fd05aeb 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index fca173e7..511f5d5e 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index c3c13542..c301a1b5 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index 5d203f13..e11dfe63 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index 6b73eef5..fa9262ef 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index 0ed3a2d1..97e14207 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index 5efabb5d..06cd19e7 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index 184598a2..63f851fe 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_region.py b/vrchatapi/models/instance_region.py index cafd72b8..65570256 100644 --- a/vrchatapi/models/instance_region.py +++ b/vrchatapi/models/instance_region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index 0ffb435e..24cd2b74 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index 5257fb38..f5bf9b4a 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index 3b34a1a0..44a12bb9 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index 0f24f489..fb3a6685 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index 768d30a2..2bf0d62f 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index 42625baa..166aa1c3 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index 91d51678..3248eeac 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index 8f10610b..6f8bf53a 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index 611b01cb..2f32dadd 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index 9e762e7d..7849a804 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_group.py b/vrchatapi/models/limited_group.py index 10cdc6ac..94945400 100644 --- a/vrchatapi/models/limited_group.py +++ b/vrchatapi/models/limited_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index 1e39075a..2f8c2346 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user.py b/vrchatapi/models/limited_user.py index 2142ccfd..bc211330 100644 --- a/vrchatapi/models/limited_user.py +++ b/vrchatapi/models/limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user_groups.py b/vrchatapi/models/limited_user_groups.py index e74138da..0cabab85 100644 --- a/vrchatapi/models/limited_user_groups.py +++ b/vrchatapi/models/limited_user_groups.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index df60e04a..cb4d56d9 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index bd9e3021..b485b303 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index 85e32ca4..c1dea68f 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index 0dba48a6..f6bfc90b 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite.py b/vrchatapi/models/notification_detail_invite.py index 43ef214c..ae7e9279 100644 --- a/vrchatapi/models/notification_detail_invite.py +++ b/vrchatapi/models/notification_detail_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite_response.py b/vrchatapi/models/notification_detail_invite_response.py index a1bf0268..9175782c 100644 --- a/vrchatapi/models/notification_detail_invite_response.py +++ b/vrchatapi/models/notification_detail_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite.py b/vrchatapi/models/notification_detail_request_invite.py index 840d98de..1144aa12 100644 --- a/vrchatapi/models/notification_detail_request_invite.py +++ b/vrchatapi/models/notification_detail_request_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite_response.py b/vrchatapi/models/notification_detail_request_invite_response.py index 93d467b0..dc4b15fe 100644 --- a/vrchatapi/models/notification_detail_request_invite_response.py +++ b/vrchatapi/models/notification_detail_request_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_vote_to_kick.py b/vrchatapi/models/notification_detail_vote_to_kick.py index 6b077634..6af87a63 100644 --- a/vrchatapi/models/notification_detail_vote_to_kick.py +++ b/vrchatapi/models/notification_detail_vote_to_kick.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index f7870615..cd7ef11b 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index 9b74cbda..abde9f9e 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index 588358de..aef66392 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index 6e96e36f..9ad758f3 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index 16ffb7d7..8c35349a 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index c105e013..0f9321a0 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index fc44a242..736883f1 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index bbbb262a..c3cb5e55 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index ad2dd0a0..5fca413d 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/represented_group.py b/vrchatapi/models/represented_group.py index 2e56c6d2..8681e4e3 100644 --- a/vrchatapi/models/represented_group.py +++ b/vrchatapi/models/represented_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index ec9609f3..45feb11a 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index 8674b179..121217ff 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index ce7691ef..dcc0cf7d 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index 590b622e..c760c86c 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index eb3d8181..fea6324d 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index d71f1e26..87d6cc45 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index 503bdd74..0eb10d1b 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index d3a260cb..70e13bf6 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index fccdfc7c..a844f9c0 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index 0aa6ee89..cf3a2a5c 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index ac1e3e07..5657ccd4 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index ab12b01b..475df695 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index 4dc69c02..b772d018 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index 3397613d..291f9dd1 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_email_code.py b/vrchatapi/models/two_factor_email_code.py index ba0bbfdd..1406a43e 100644 --- a/vrchatapi/models/two_factor_email_code.py +++ b/vrchatapi/models/two_factor_email_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index 45fa4cb0..05b7a988 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index 41b37238..8a01d719 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index e97e02ef..449cfb04 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index 29fe56ae..c4750d8c 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index eb91f06a..72ec74cb 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index f1305d07..9ece80fd 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index 4c98abb4..71a367df 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index 61e08965..2835c046 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index c964176a..ba32c562 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index 7a77916d..10b1aff0 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index 9adf9feb..6092da65 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -56,6 +56,7 @@ class User(object): 'last_platform': 'str', 'location': 'str', 'note': 'str', + 'platform': 'str', 'profile_pic_override': 'str', 'profile_pic_override_thumbnail': 'str', 'pronouns': 'str', @@ -92,6 +93,7 @@ class User(object): 'last_platform': 'last_platform', 'location': 'location', 'note': 'note', + 'platform': 'platform', 'profile_pic_override': 'profilePicOverride', 'profile_pic_override_thumbnail': 'profilePicOverrideThumbnail', 'pronouns': 'pronouns', @@ -107,7 +109,7 @@ class User(object): 'world_id': 'worldId' } - def __init__(self, allow_avatar_copying=True, badges=None, bio=None, bio_links=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, date_joined=None, developer_type=None, display_name=None, friend_key=None, friend_request_status=None, id=None, instance_id=None, is_friend=None, last_activity=None, last_login=None, last_platform=None, location=None, note=None, profile_pic_override=None, profile_pic_override_thumbnail=None, pronouns=None, state=None, status=None, status_description=None, tags=None, traveling_to_instance=None, traveling_to_location=None, traveling_to_world=None, user_icon=None, username=None, world_id=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, allow_avatar_copying=True, badges=None, bio=None, bio_links=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, date_joined=None, developer_type=None, display_name=None, friend_key=None, friend_request_status=None, id=None, instance_id=None, is_friend=None, last_activity=None, last_login=None, last_platform=None, location=None, note=None, platform=None, profile_pic_override=None, profile_pic_override_thumbnail=None, pronouns=None, state=None, status=None, status_description=None, tags=None, traveling_to_instance=None, traveling_to_location=None, traveling_to_world=None, user_icon=None, username=None, world_id=None, local_vars_configuration=None): # noqa: E501 """User - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -133,6 +135,7 @@ def __init__(self, allow_avatar_copying=True, badges=None, bio=None, bio_links=N self._last_platform = None self._location = None self._note = None + self._platform = None self._profile_pic_override = None self._profile_pic_override_thumbnail = None self._pronouns = None @@ -173,6 +176,7 @@ def __init__(self, allow_avatar_copying=True, badges=None, bio=None, bio_links=N self.location = location if note is not None: self.note = note + self.platform = platform self.profile_pic_override = profile_pic_override self.profile_pic_override_thumbnail = profile_pic_override_thumbnail self.pronouns = pronouns @@ -670,6 +674,29 @@ def note(self, note): self._note = note + @property + def platform(self): + """Gets the platform of this User. # noqa: E501 + + + :return: The platform of this User. # noqa: E501 + :rtype: str + """ + return self._platform + + @platform.setter + def platform(self, platform): + """Sets the platform of this User. + + + :param platform: The platform of this User. # noqa: E501 + :type platform: str + """ + if self.local_vars_configuration.client_side_validation and platform is None: # noqa: E501 + raise ValueError("Invalid value for `platform`, must not be `None`") # noqa: E501 + + self._platform = platform + @property def profile_pic_override(self): """Gets the profile_pic_override of this User. # noqa: E501 diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index 2bd304e1..03051458 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index b681e598..cd7c99a0 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index 0ff0d7a2..0423de21 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index 939ee9e7..bf4701e6 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_email_code_result.py b/vrchatapi/models/verify2_fa_email_code_result.py index 3f200386..7cb19b5e 100644 --- a/vrchatapi/models/verify2_fa_email_code_result.py +++ b/vrchatapi/models/verify2_fa_email_code_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index 39b491c3..40d956c0 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index 884e85f1..5611c9bd 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index 0fe5c044..d391bc16 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index b883ae2d..3b500aca 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index afea1d82..b732966a 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index d8acf318..906d7e13 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.17.6 + The version of the OpenAPI document: 1.18.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ From 5f9f321922b05888762121053cc0dcaf4c72f6f6 Mon Sep 17 00:00:00 2001 From: VRCCat Date: Mon, 22 Jul 2024 21:38:13 +0000 Subject: [PATCH 055/102] Upgrade Python SDK to spec 1.18.1 --- docs/APIConfig.md | 39 +- docs/AuthenticationApi.md | 8 +- docs/FileData.md | 2 +- docs/FilesApi.md | 11 +- docs/Group.md | 3 + docs/GroupMyMember.md | 6 + docs/GroupsApi.md | 2 + docs/Permission.md | 1 + docs/TransactionAgreement.md | 3 +- docs/UserSubscription.md | 1 + docs/WorldsApi.md | 6 +- setup.py | 4 +- vrchatapi/__init__.py | 2 +- vrchatapi/api/authentication_api.py | 16 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 12 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/groups_api.py | 4 +- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 11 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 +- vrchatapi/exceptions.py | 2 +- vrchatapi/models/__init__.py | 2 +- vrchatapi/models/account_deletion_log.py | 2 +- vrchatapi/models/add_favorite_request.py | 2 +- .../models/add_group_gallery_image_request.py | 2 +- vrchatapi/models/api_config.py | 1138 +++++++++-------- vrchatapi/models/api_config_announcement.py | 2 +- .../models/api_config_download_url_list.py | 2 +- vrchatapi/models/api_config_events.py | 2 +- vrchatapi/models/api_health.py | 2 +- vrchatapi/models/avatar.py | 2 +- .../models/avatar_unity_package_url_object.py | 2 +- vrchatapi/models/badge.py | 2 +- vrchatapi/models/ban_group_member_request.py | 2 +- vrchatapi/models/create_avatar_request.py | 2 +- vrchatapi/models/create_file_request.py | 2 +- .../models/create_file_version_request.py | 2 +- .../create_group_announcement_request.py | 2 +- .../models/create_group_gallery_request.py | 2 +- .../models/create_group_invite_request.py | 2 +- vrchatapi/models/create_group_post_request.py | 2 +- vrchatapi/models/create_group_request.py | 2 +- vrchatapi/models/create_group_role_request.py | 2 +- vrchatapi/models/create_instance_request.py | 2 +- vrchatapi/models/create_world_request.py | 2 +- vrchatapi/models/current_user.py | 2 +- vrchatapi/models/current_user_presence.py | 2 +- vrchatapi/models/deployment_group.py | 2 +- vrchatapi/models/developer_type.py | 2 +- vrchatapi/models/dynamic_content_row.py | 2 +- vrchatapi/models/error.py | 2 +- vrchatapi/models/favorite.py | 2 +- vrchatapi/models/favorite_group.py | 2 +- vrchatapi/models/favorite_group_visibility.py | 2 +- vrchatapi/models/favorite_type.py | 2 +- vrchatapi/models/file.py | 2 +- vrchatapi/models/file_data.py | 7 +- vrchatapi/models/file_status.py | 2 +- vrchatapi/models/file_upload_url.py | 2 +- vrchatapi/models/file_version.py | 2 +- .../models/file_version_upload_status.py | 2 +- .../models/finish_file_data_upload_request.py | 2 +- vrchatapi/models/friend_status.py | 2 +- vrchatapi/models/group.py | 84 +- vrchatapi/models/group_access_type.py | 2 +- vrchatapi/models/group_announcement.py | 2 +- vrchatapi/models/group_audit_log_entry.py | 2 +- vrchatapi/models/group_gallery.py | 2 +- vrchatapi/models/group_gallery_image.py | 2 +- vrchatapi/models/group_instance.py | 2 +- vrchatapi/models/group_join_request_action.py | 2 +- vrchatapi/models/group_join_state.py | 2 +- vrchatapi/models/group_limited_member.py | 2 +- vrchatapi/models/group_member.py | 2 +- vrchatapi/models/group_member_limited_user.py | 2 +- vrchatapi/models/group_member_status.py | 2 +- vrchatapi/models/group_my_member.py | 162 ++- vrchatapi/models/group_permission.py | 2 +- vrchatapi/models/group_post.py | 2 +- vrchatapi/models/group_post_visibility.py | 2 +- vrchatapi/models/group_privacy.py | 2 +- vrchatapi/models/group_role.py | 2 +- vrchatapi/models/group_role_template.py | 2 +- vrchatapi/models/group_search_sort.py | 2 +- vrchatapi/models/group_user_visibility.py | 2 +- vrchatapi/models/info_push.py | 2 +- vrchatapi/models/info_push_data.py | 2 +- vrchatapi/models/info_push_data_article.py | 2 +- .../models/info_push_data_article_content.py | 2 +- vrchatapi/models/info_push_data_clickable.py | 2 +- vrchatapi/models/instance.py | 2 +- vrchatapi/models/instance_platforms.py | 2 +- vrchatapi/models/instance_region.py | 2 +- .../models/instance_short_name_response.py | 2 +- vrchatapi/models/instance_type.py | 2 +- vrchatapi/models/invite_message.py | 2 +- vrchatapi/models/invite_message_type.py | 2 +- vrchatapi/models/invite_request.py | 2 +- vrchatapi/models/invite_response.py | 2 +- vrchatapi/models/license.py | 2 +- vrchatapi/models/license_action.py | 2 +- vrchatapi/models/license_group.py | 2 +- vrchatapi/models/license_type.py | 2 +- vrchatapi/models/limited_group.py | 2 +- vrchatapi/models/limited_unity_package.py | 2 +- vrchatapi/models/limited_user.py | 2 +- vrchatapi/models/limited_user_groups.py | 2 +- vrchatapi/models/limited_world.py | 2 +- vrchatapi/models/mime_type.py | 2 +- vrchatapi/models/moderate_user_request.py | 2 +- vrchatapi/models/notification.py | 2 +- .../models/notification_detail_invite.py | 2 +- .../notification_detail_invite_response.py | 2 +- .../notification_detail_request_invite.py | 2 +- ...fication_detail_request_invite_response.py | 2 +- .../notification_detail_vote_to_kick.py | 2 +- vrchatapi/models/notification_type.py | 2 +- vrchatapi/models/order_option.py | 2 +- .../paginated_group_audit_log_entry_list.py | 2 +- vrchatapi/models/past_display_name.py | 2 +- vrchatapi/models/permission.py | 31 +- vrchatapi/models/player_moderation.py | 2 +- vrchatapi/models/player_moderation_type.py | 2 +- vrchatapi/models/region.py | 2 +- vrchatapi/models/release_status.py | 2 +- vrchatapi/models/represented_group.py | 2 +- vrchatapi/models/request_invite_request.py | 2 +- .../models/respond_group_join_request.py | 2 +- vrchatapi/models/response.py | 2 +- vrchatapi/models/sent_notification.py | 2 +- vrchatapi/models/sort_option.py | 2 +- vrchatapi/models/subscription.py | 2 +- vrchatapi/models/subscription_period.py | 2 +- vrchatapi/models/success.py | 2 +- vrchatapi/models/transaction.py | 2 +- vrchatapi/models/transaction_agreement.py | 31 +- vrchatapi/models/transaction_status.py | 2 +- vrchatapi/models/transaction_steam_info.py | 2 +- .../models/transaction_steam_wallet_info.py | 2 +- vrchatapi/models/two_factor_auth_code.py | 2 +- vrchatapi/models/two_factor_email_code.py | 2 +- vrchatapi/models/unity_package.py | 2 +- vrchatapi/models/update_avatar_request.py | 2 +- .../models/update_favorite_group_request.py | 2 +- .../models/update_group_gallery_request.py | 2 +- .../models/update_group_member_request.py | 2 +- vrchatapi/models/update_group_request.py | 2 +- vrchatapi/models/update_group_role_request.py | 2 +- .../models/update_invite_message_request.py | 2 +- vrchatapi/models/update_user_request.py | 2 +- vrchatapi/models/update_world_request.py | 2 +- vrchatapi/models/user.py | 2 +- vrchatapi/models/user_exists.py | 2 +- vrchatapi/models/user_state.py | 2 +- vrchatapi/models/user_status.py | 2 +- vrchatapi/models/user_subscription.py | 30 +- .../models/verify2_fa_email_code_result.py | 2 +- vrchatapi/models/verify2_fa_result.py | 2 +- vrchatapi/models/verify_auth_token_result.py | 2 +- vrchatapi/models/world.py | 2 +- vrchatapi/models/world_metadata.py | 2 +- vrchatapi/models/world_publish_status.py | 2 +- vrchatapi/rest.py | 2 +- 173 files changed, 1182 insertions(+), 732 deletions(-) diff --git a/docs/APIConfig.md b/docs/APIConfig.md index 1a15bf09..61ecb001 100644 --- a/docs/APIConfig.md +++ b/docs/APIConfig.md @@ -10,28 +10,41 @@ Name | Type | Description | Notes **address** | **str** | VRChat's office address | **announcements** | [**list[APIConfigAnnouncement]**](APIConfigAnnouncement.md) | Public Announcements | **app_name** | **str** | Game name | [default to 'VrChat'] +**available_language_codes** | **list[str]** | List of supported Languages | +**available_languages** | **list[str]** | List of supported Languages | **build_version_tag** | **str** | Build tag of the API server | **client_api_key** | **str** | apiKey to be used for all other requests | **client_bps_ceiling** | **int** | Unknown | [default to 18432] **client_disconnect_timeout** | **int** | Unknown | [default to 30000] +**client_net_dispatch_thread** | **bool** | Unknown | [optional] [default to False] +**client_net_in_thread** | **bool** | Unknown | [optional] [default to False] +**client_net_in_thread2** | **bool** | Unknown | [optional] [default to False] +**client_net_in_thread_mobile** | **bool** | Unknown | [optional] [default to False] +**client_net_in_thread_mobile2** | **bool** | Unknown | [optional] [default to False] +**client_net_out_thread** | **bool** | Unknown | [optional] [default to False] +**client_net_out_thread2** | **bool** | Unknown | [optional] [default to False] +**client_net_out_thread_mobile** | **bool** | Unknown | [optional] [default to False] +**client_net_out_thread_mobile2** | **bool** | Unknown | [optional] [default to False] +**client_qr** | **int** | Unknown | [optional] [default to 1] **client_reserved_player_bps** | **int** | Unknown | [default to 7168] **client_sent_count_allowance** | **int** | Unknown | [default to 15] **contact_email** | **str** | VRChat's contact email | **copyright_email** | **str** | VRChat's copyright-issues-related email | +**current_privacy_version** | **int** | Current version number of the Privacy Agreement | [optional] [default to 1] **current_tos_version** | **int** | Current version number of the Terms of Service | **default_avatar** | **str** | | **deployment_group** | [**DeploymentGroup**](DeploymentGroup.md) | | -**dev_app_version_standalone** | **str** | Version number for game development build | -**dev_download_link_windows** | **str** | Developer Download link | +**dev_language_codes** | **list[str]** | Unknown | [optional] **dev_sdk_url** | **str** | Link to download the development SDK, use downloadUrls instead | **dev_sdk_version** | **str** | Version of the development SDK | -**dev_server_version_standalone** | **str** | Version number for server development build | **dis_countdown** | **datetime** | Unknown, \"dis\" maybe for disconnect? | +**disable_av_pro_in_proton** | **bool** | Unknown | [optional] [default to False] **disable_avatar_copying** | **bool** | Toggles if copying avatars should be disabled | [default to False] **disable_avatar_gating** | **bool** | Toggles if avatar gating should be disabled. Avatar gating restricts uploading of avatars to people with the `system_avatar_access` Tag or `admin_avatar_access` Tag | [default to False] **disable_community_labs** | **bool** | Toggles if the Community Labs should be disabled | [default to False] **disable_community_labs_promotion** | **bool** | Toggles if promotion out of Community Labs should be disabled | [default to False] **disable_email** | **bool** | Unknown | [default to False] +**disable_captcha** | **bool** | Unknown | [optional] [default to True] **disable_event_stream** | **bool** | Toggles if Analytics should be disabled. | [default to False] **disable_feedback_gating** | **bool** | Toggles if feedback gating should be disabled. Feedback gating restricts submission of feedback (reporting a World or User) to people with the `system_feedback_access` Tag. | [default to False] **disable_frontend_builds** | **bool** | Unknown, probably toggles compilation of frontend web builds? So internal flag? | [default to False] @@ -45,26 +58,23 @@ Name | Type | Description | Notes **download_link_windows** | **str** | Download link for game on the Oculus Rift website. | **download_urls** | [**APIConfigDownloadURLList**](APIConfigDownloadURLList.md) | | **dynamic_world_rows** | [**list[DynamicContentRow]**](DynamicContentRow.md) | Array of DynamicWorldRow objects, used by the game to display the list of world rows | +**economy_pause_end** | **str** | Unknown | [optional] +**economy_pause_start** | **str** | Unknown | [optional] +**economy_state** | **int** | Unknown | [optional] [default to 1] **events** | [**APIConfigEvents**](APIConfigEvents.md) | | -**gear_demo_room_id** | **str** | Unknown | **home_world_id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | **homepage_redirect_target** | **str** | Redirect target if you try to open the base API domain in your browser | [default to 'https://hello.vrchat.com'] **hub_world_id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | +**image_host_url_list** | **list[str]** | A list of explicitly allowed origins that worlds can request images from via the Udon's [VRCImageDownloader#DownloadImage](https://creators.vrchat.com/worlds/udon/image-loading/#downloadimage). | **jobs_email** | **str** | VRChat's job application email | -**message_of_the_day** | **str** | MOTD | **moderation_email** | **str** | VRChat's moderation related email | -**moderation_query_period** | **int** | Unknown | **not_allowed_to_select_avatar_in_private_world_message** | **str** | Used in-game to notify a user they aren't allowed to select avatars in private worlds | -**plugin** | **str** | Extra [plugin](https://doc.photonengine.com/en-us/server/current/plugins/manual) to run in each instance | -**release_app_version_standalone** | **str** | Version number for game release build | -**release_sdk_url** | **str** | Link to download the release SDK | -**release_sdk_version** | **str** | Version of the release SDK | -**release_server_version_standalone** | **str** | Version number for server release build | **sdk_developer_faq_url** | **str** | Link to the developer FAQ | **sdk_discord_url** | **str** | Link to the official VRChat Discord | **sdk_not_allowed_to_publish_message** | **str** | Used in the SDK to notify a user they aren't allowed to upload avatars/worlds yet | **sdk_unity_version** | **str** | Unity version supported by the SDK | **server_name** | **str** | Server name of the API server currently responding | +**string_host_url_list** | **list[str]** | A list of explicitly allowed origins that worlds can request strings from via the Udon's [VRCStringDownloader.LoadUrl](https://creators.vrchat.com/worlds/udon/string-loading/#ivrcstringdownload). | **support_email** | **str** | VRChat's support email | **time_out_world_id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | **tutorial_world_id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | @@ -75,15 +85,10 @@ Name | Type | Description | Notes **upload_analysis_percent** | **int** | Unknown | **url_list** | **list[str]** | List of allowed URLs that bypass the \"Allow untrusted URL's\" setting in-game | **use_reliable_udp_for_voice** | **bool** | Unknown | [default to False] -**user_update_period** | **int** | Unknown | -**user_verification_delay** | **int** | Unknown | -**user_verification_retry** | **int** | Unknown | -**user_verification_timeout** | **int** | Unknown | **vive_windows_url** | **str** | Download link for game on the Steam website. | **white_listed_asset_urls** | **list[str]** | List of allowed URLs that are allowed to host avatar assets | -**world_update_period** | **int** | Unknown | -**player_url_resolver_hash** | **str** | Currently used youtube-dl.exe hash in SHA-256-delimited format | **player_url_resolver_version** | **str** | Currently used youtube-dl.exe version | +**player_url_resolver_sha1** | **str** | Currently used youtube-dl.exe hash in SHA1-delimited format | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/AuthenticationApi.md b/docs/AuthenticationApi.md index 24e668b3..7a5b34a3 100644 --- a/docs/AuthenticationApi.md +++ b/docs/AuthenticationApi.md @@ -15,7 +15,7 @@ Method | HTTP request | Description # **check_user_exists** -> UserExists check_user_exists(email=email, display_name=display_name, user_id=user_id, exclude_user_id=exclude_user_id) +> UserExists check_user_exists(email=email, display_name=display_name, username=username, exclude_user_id=exclude_user_id) Check User Exists @@ -42,12 +42,12 @@ with vrchatapi.ApiClient() as api_client: api_instance = vrchatapi.AuthenticationApi(api_client) email = 'email_example' # str | Filter by email. (optional) display_name = 'display_name_example' # str | Filter by displayName. (optional) -user_id = 'user_id_example' # str | Filter by UserID. (optional) +username = 'username_example' # str | Filter by Username. (optional) exclude_user_id = 'exclude_user_id_example' # str | Exclude by UserID. (optional) try: # Check User Exists - api_response = api_instance.check_user_exists(email=email, display_name=display_name, user_id=user_id, exclude_user_id=exclude_user_id) + api_response = api_instance.check_user_exists(email=email, display_name=display_name, username=username, exclude_user_id=exclude_user_id) pprint(api_response) except ApiException as e: print("Exception when calling AuthenticationApi->check_user_exists: %s\n" % e) @@ -59,7 +59,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **email** | **str**| Filter by email. | [optional] **display_name** | **str**| Filter by displayName. | [optional] - **user_id** | **str**| Filter by UserID. | [optional] + **username** | **str**| Filter by Username. | [optional] **exclude_user_id** | **str**| Exclude by UserID. | [optional] ### Return type diff --git a/docs/FileData.md b/docs/FileData.md index 139fdd42..8bf47d6d 100644 --- a/docs/FileData.md +++ b/docs/FileData.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **category** | **str** | | [default to 'queued'] **file_name** | **str** | | -**md5** | **str** | | +**md5** | **str** | | [optional] **size_in_bytes** | **int** | | **status** | [**FileStatus**](FileStatus.md) | | **upload_id** | **str** | | [default to ''] diff --git a/docs/FilesApi.md b/docs/FilesApi.md index 6717e8d5..0aa072bc 100644 --- a/docs/FilesApi.md +++ b/docs/FilesApi.md @@ -165,7 +165,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_file** -> Success delete_file(file_id) +> File delete_file(file_id) Delete File @@ -219,7 +219,7 @@ Name | Type | Description | Notes ### Return type -[**Success**](Success.md) +[**File**](File.md) ### Authorization @@ -233,7 +233,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Successful response after deleting a File. | - | +**200** | Returns a single File object. | - | **404** | Error response when trying to delete a non-existent file. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -311,7 +311,7 @@ Name | Type | Description | Notes |-------------|-------------|------------------| **200** | Returns a single File object. | - | **400** | Error response when trying to delete the initial version of a file. Delete the main File object instead. | - | -**500** | Error response when trying to delete any version of a file that is not hte last one. | - | +**500** | Error response when trying to delete any version of a file that is not the last one. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -380,12 +380,13 @@ void (empty response body) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Raw file | - | +**404** | Error response when trying to show information about a non-existent file. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/Group.md b/docs/Group.md index 4f539dac..3361c779 100644 --- a/docs/Group.md +++ b/docs/Group.md @@ -23,8 +23,11 @@ Name | Type | Description | Notes **is_verified** | **bool** | | [optional] [default to False] **join_state** | [**GroupJoinState**](GroupJoinState.md) | | [optional] **tags** | **list[str]** | | [optional] +**transfer_target_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] **galleries** | [**list[GroupGallery]**](GroupGallery.md) | | [optional] **created_at** | **datetime** | | [optional] +**updated_at** | **datetime** | | [optional] +**last_post_created_at** | **datetime** | | [optional] **online_member_count** | **int** | | [optional] **membership_status** | [**GroupMemberStatus**](GroupMemberStatus.md) | | [optional] **my_member** | [**GroupMyMember**](GroupMyMember.md) | | [optional] diff --git a/docs/GroupMyMember.md b/docs/GroupMyMember.md index 770068ea..857603bd 100644 --- a/docs/GroupMyMember.md +++ b/docs/GroupMyMember.md @@ -8,6 +8,9 @@ Name | Type | Description | Notes **group_id** | **str** | | [optional] **user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] **role_ids** | **list[str]** | | [optional] +**accepted_by_display_name** | **str** | | [optional] +**accepted_by_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] +**created_at** | **datetime** | | [optional] **manager_notes** | **str** | | [optional] **membership_status** | **str** | | [optional] **is_subscribed_to_announcements** | **bool** | | [optional] [default to True] @@ -16,6 +19,9 @@ Name | Type | Description | Notes **joined_at** | **datetime** | | [optional] **banned_at** | **str** | | [optional] **has2_fa** | **bool** | | [optional] [default to False] +**has_joined_from_purchase** | **bool** | | [optional] [default to False] +**last_post_read_at** | **datetime** | | [optional] +**m_role_ids** | **list[str]** | | [optional] **permissions** | **list[str]** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GroupsApi.md b/docs/GroupsApi.md index 456d0809..dafe40c8 100644 --- a/docs/GroupsApi.md +++ b/docs/GroupsApi.md @@ -1665,6 +1665,7 @@ Name | Type | Description | Notes |-------------|-------------|------------------| **200** | Returns a list of GroupMember objects. | - | **401** | Error response due to missing auth cookie. | - | +**403** | Error response due to missing permissions. | - | **404** | Error response when trying to perform operations on a non-existing group. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -1980,6 +1981,7 @@ Name | Type | Description | Notes |-------------|-------------|------------------| **200** | Returns a list of GroupMember objects. | - | **401** | Error response due to missing auth cookie. | - | +**403** | Error response when trying to perform operations on a group you are not member of. | - | **404** | Error response when trying to perform operations on a non-existing group. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/Permission.md b/docs/Permission.md index c02d66e4..6ed46d47 100644 --- a/docs/Permission.md +++ b/docs/Permission.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **str** | | +**owner_display_name** | **str** | | **name** | **str** | | **owner_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | **data** | **object** | | [optional] diff --git a/docs/TransactionAgreement.md b/docs/TransactionAgreement.md index 5ec065c1..79e18604 100644 --- a/docs/TransactionAgreement.md +++ b/docs/TransactionAgreement.md @@ -1,12 +1,13 @@ # TransactionAgreement - +Represents a single Transaction, which is likely between VRChat and Steam. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **agreement_id** | **str** | | **item_id** | **float** | | +**agreement** | **str** | | **status** | **str** | This is NOT TransactionStatus, but whatever Steam return. | **period** | **str** | | **frequency** | **float** | | diff --git a/docs/UserSubscription.md b/docs/UserSubscription.md index fc71ddc0..2f80572a 100644 --- a/docs/UserSubscription.md +++ b/docs/UserSubscription.md @@ -15,6 +15,7 @@ Name | Type | Description | Notes **tier** | **float** | | **active** | **bool** | | [default to True] **status** | [**TransactionStatus**](TransactionStatus.md) | | +**starts** | **datetime** | | [optional] **expires** | **datetime** | | **created_at** | **datetime** | | **updated_at** | **datetime** | | diff --git a/docs/WorldsApi.md b/docs/WorldsApi.md index ea61b87c..5ef6794d 100644 --- a/docs/WorldsApi.md +++ b/docs/WorldsApi.md @@ -814,7 +814,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **search_worlds** -> list[LimitedWorld] search_worlds(featured=featured, sort=sort, user=user, user_id=user_id, n=n, order=order, offset=offset, search=search, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform) +> list[LimitedWorld] search_worlds(featured=featured, sort=sort, user=user, user_id=user_id, n=n, order=order, offset=offset, search=search, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform, fuzzy=fuzzy) Search All Worlds @@ -864,10 +864,11 @@ release_status = vrchatapi.ReleaseStatus() # ReleaseStatus | Filter by ReleaseSt max_unity_version = 'max_unity_version_example' # str | The maximum Unity version supported by the asset. (optional) min_unity_version = 'min_unity_version_example' # str | The minimum Unity version supported by the asset. (optional) platform = 'platform_example' # str | The platform the asset supports. (optional) +fuzzy = True # bool | (optional) try: # Search All Worlds - api_response = api_instance.search_worlds(featured=featured, sort=sort, user=user, user_id=user_id, n=n, order=order, offset=offset, search=search, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform) + api_response = api_instance.search_worlds(featured=featured, sort=sort, user=user, user_id=user_id, n=n, order=order, offset=offset, search=search, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform, fuzzy=fuzzy) pprint(api_response) except ApiException as e: print("Exception when calling WorldsApi->search_worlds: %s\n" % e) @@ -891,6 +892,7 @@ Name | Type | Description | Notes **max_unity_version** | **str**| The maximum Unity version supported by the asset. | [optional] **min_unity_version** | **str**| The minimum Unity version supported by the asset. | [optional] **platform** | **str**| The platform the asset supports. | [optional] + **fuzzy** | **bool**| | [optional] ### Return type diff --git a/setup.py b/setup.py index 61a57219..98496ad2 100644 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.18.0" +VERSION = "1.18.1" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 4b8fb6e9..d2baa11e 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,7 +6,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index 2b009e8a..80cab402 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -50,8 +50,8 @@ def check_user_exists(self, **kwargs): # noqa: E501 :type email: str :param display_name: Filter by displayName. :type display_name: str - :param user_id: Filter by UserID. - :type user_id: str + :param username: Filter by Username. + :type username: str :param exclude_user_id: Exclude by UserID. :type exclude_user_id: str :param async_req: Whether to execute the request asynchronously. @@ -86,8 +86,8 @@ def check_user_exists_with_http_info(self, **kwargs): # noqa: E501 :type email: str :param display_name: Filter by displayName. :type display_name: str - :param user_id: Filter by UserID. - :type user_id: str + :param username: Filter by Username. + :type username: str :param exclude_user_id: Exclude by UserID. :type exclude_user_id: str :param async_req: Whether to execute the request asynchronously. @@ -119,7 +119,7 @@ def check_user_exists_with_http_info(self, **kwargs): # noqa: E501 all_params = [ 'email', 'display_name', - 'user_id', + 'username', 'exclude_user_id' ] all_params.extend( @@ -152,8 +152,8 @@ def check_user_exists_with_http_info(self, **kwargs): # noqa: E501 query_params.append(('email', local_var_params['email'])) # noqa: E501 if local_var_params.get('display_name') is not None: # noqa: E501 query_params.append(('displayName', local_var_params['display_name'])) # noqa: E501 - if local_var_params.get('user_id') is not None: # noqa: E501 - query_params.append(('userId', local_var_params['user_id'])) # noqa: E501 + if local_var_params.get('username') is not None: # noqa: E501 + query_params.append(('username', local_var_params['username'])) # noqa: E501 if local_var_params.get('exclude_user_id') is not None: # noqa: E501 query_params.append(('excludeUserId', local_var_params['exclude_user_id'])) # noqa: E501 diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index f88b9340..f59c683c 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 00e13fe3..dbd3d1e7 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index 30823232..e94b17d5 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index 6e192474..e6d6b662 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -355,7 +355,7 @@ def delete_file(self, file_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: Success + :rtype: File """ kwargs['_return_http_data_only'] = True return self.delete_file_with_http_info(file_id, **kwargs) # noqa: E501 @@ -393,7 +393,7 @@ def delete_file_with_http_info(self, file_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(Success, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(File, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() @@ -447,7 +447,7 @@ def delete_file_with_http_info(self, file_id, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "Success", + 200: "File", 404: "Error", } @@ -740,6 +740,10 @@ def download_file_version_with_http_info(self, file_id, version_id, **kwargs): local_var_files = {} body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + # Authentication setting auth_settings = ['authCookie'] # noqa: E501 diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index 61264dad..61c2e814 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index 28a84643..9e5ba04d 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -3208,6 +3208,7 @@ def get_group_bans_with_http_info(self, group_id, **kwargs): # noqa: E501 response_types_map = { 200: "list[GroupMember]", 401: "Error", + 403: "Error", 404: "Error", } @@ -3832,6 +3833,7 @@ def get_group_member_with_http_info(self, group_id, user_id, **kwargs): # noqa: response_types_map = { 200: "GroupLimitedMember", 401: "Error", + 403: "Error", 404: "Error", } diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index e99d4a81..c4063d10 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index 72782de2..589a4c27 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index e5aa8a83..d72aea9a 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index 9d637a79..f6b4e14c 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index d7109f81..11535bc2 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index 14ac6b54..4a301e7f 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index 0e2735ea..567ba3f5 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index a2db7e11..1e2b24cc 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -1721,6 +1721,8 @@ def search_worlds(self, **kwargs): # noqa: E501 :type min_unity_version: str :param platform: The platform the asset supports. :type platform: str + :param fuzzy: + :type fuzzy: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -1777,6 +1779,8 @@ def search_worlds_with_http_info(self, **kwargs): # noqa: E501 :type min_unity_version: str :param platform: The platform the asset supports. :type platform: str + :param fuzzy: + :type fuzzy: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -1817,7 +1821,8 @@ def search_worlds_with_http_info(self, **kwargs): # noqa: E501 'release_status', 'max_unity_version', 'min_unity_version', - 'platform' + 'platform', + 'fuzzy' ] all_params.extend( [ @@ -1879,6 +1884,8 @@ def search_worlds_with_http_info(self, **kwargs): # noqa: E501 query_params.append(('minUnityVersion', local_var_params['min_unity_version'])) # noqa: E501 if local_var_params.get('platform') is not None: # noqa: E501 query_params.append(('platform', local_var_params['platform'])) # noqa: E501 + if local_var_params.get('fuzzy') is not None: # noqa: E501 + query_params.append(('fuzzy', local_var_params['fuzzy'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index 3ca847ef..9c54cb58 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,7 +3,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index 58bbfbbe..8f0ddb45 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -441,7 +441,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.18.0\n"\ + "Version of the API: 1.18.1\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index f5a4d3d8..be441a2a 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index 7a33848d..b44fdc93 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,7 +5,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/account_deletion_log.py b/vrchatapi/models/account_deletion_log.py index c17e1088..ee2380a3 100644 --- a/vrchatapi/models/account_deletion_log.py +++ b/vrchatapi/models/account_deletion_log.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index 382c0ae7..dd109de4 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index 82858ee2..6fe92df1 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index 87b8cdfd..3ff20347 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -41,28 +41,41 @@ class APIConfig(object): 'address': 'str', 'announcements': 'list[APIConfigAnnouncement]', 'app_name': 'str', + 'available_language_codes': 'list[str]', + 'available_languages': 'list[str]', 'build_version_tag': 'str', 'client_api_key': 'str', 'client_bps_ceiling': 'int', 'client_disconnect_timeout': 'int', + 'client_net_dispatch_thread': 'bool', + 'client_net_in_thread': 'bool', + 'client_net_in_thread2': 'bool', + 'client_net_in_thread_mobile': 'bool', + 'client_net_in_thread_mobile2': 'bool', + 'client_net_out_thread': 'bool', + 'client_net_out_thread2': 'bool', + 'client_net_out_thread_mobile': 'bool', + 'client_net_out_thread_mobile2': 'bool', + 'client_qr': 'int', 'client_reserved_player_bps': 'int', 'client_sent_count_allowance': 'int', 'contact_email': 'str', 'copyright_email': 'str', + 'current_privacy_version': 'int', 'current_tos_version': 'int', 'default_avatar': 'str', 'deployment_group': 'DeploymentGroup', - 'dev_app_version_standalone': 'str', - 'dev_download_link_windows': 'str', + 'dev_language_codes': 'list[str]', 'dev_sdk_url': 'str', 'dev_sdk_version': 'str', - 'dev_server_version_standalone': 'str', 'dis_countdown': 'datetime', + 'disable_av_pro_in_proton': 'bool', 'disable_avatar_copying': 'bool', 'disable_avatar_gating': 'bool', 'disable_community_labs': 'bool', 'disable_community_labs_promotion': 'bool', 'disable_email': 'bool', + 'disable_captcha': 'bool', 'disable_event_stream': 'bool', 'disable_feedback_gating': 'bool', 'disable_frontend_builds': 'bool', @@ -76,26 +89,23 @@ class APIConfig(object): 'download_link_windows': 'str', 'download_urls': 'APIConfigDownloadURLList', 'dynamic_world_rows': 'list[DynamicContentRow]', + 'economy_pause_end': 'str', + 'economy_pause_start': 'str', + 'economy_state': 'int', 'events': 'APIConfigEvents', - 'gear_demo_room_id': 'str', 'home_world_id': 'str', 'homepage_redirect_target': 'str', 'hub_world_id': 'str', + 'image_host_url_list': 'list[str]', 'jobs_email': 'str', - 'message_of_the_day': 'str', 'moderation_email': 'str', - 'moderation_query_period': 'int', 'not_allowed_to_select_avatar_in_private_world_message': 'str', - 'plugin': 'str', - 'release_app_version_standalone': 'str', - 'release_sdk_url': 'str', - 'release_sdk_version': 'str', - 'release_server_version_standalone': 'str', 'sdk_developer_faq_url': 'str', 'sdk_discord_url': 'str', 'sdk_not_allowed_to_publish_message': 'str', 'sdk_unity_version': 'str', 'server_name': 'str', + 'string_host_url_list': 'list[str]', 'support_email': 'str', 'time_out_world_id': 'str', 'tutorial_world_id': 'str', @@ -106,15 +116,10 @@ class APIConfig(object): 'upload_analysis_percent': 'int', 'url_list': 'list[str]', 'use_reliable_udp_for_voice': 'bool', - 'user_update_period': 'int', - 'user_verification_delay': 'int', - 'user_verification_retry': 'int', - 'user_verification_timeout': 'int', 'vive_windows_url': 'str', 'white_listed_asset_urls': 'list[str]', - 'world_update_period': 'int', - 'player_url_resolver_hash': 'str', - 'player_url_resolver_version': 'str' + 'player_url_resolver_version': 'str', + 'player_url_resolver_sha1': 'str' } attribute_map = { @@ -123,28 +128,41 @@ class APIConfig(object): 'address': 'address', 'announcements': 'announcements', 'app_name': 'appName', + 'available_language_codes': 'availableLanguageCodes', + 'available_languages': 'availableLanguages', 'build_version_tag': 'buildVersionTag', 'client_api_key': 'clientApiKey', 'client_bps_ceiling': 'clientBPSCeiling', 'client_disconnect_timeout': 'clientDisconnectTimeout', + 'client_net_dispatch_thread': 'clientNetDispatchThread', + 'client_net_in_thread': 'clientNetInThread', + 'client_net_in_thread2': 'clientNetInThread2', + 'client_net_in_thread_mobile': 'clientNetInThreadMobile', + 'client_net_in_thread_mobile2': 'clientNetInThreadMobile2', + 'client_net_out_thread': 'clientNetOutThread', + 'client_net_out_thread2': 'clientNetOutThread2', + 'client_net_out_thread_mobile': 'clientNetOutThreadMobile', + 'client_net_out_thread_mobile2': 'clientNetOutThreadMobile2', + 'client_qr': 'clientQR', 'client_reserved_player_bps': 'clientReservedPlayerBPS', 'client_sent_count_allowance': 'clientSentCountAllowance', 'contact_email': 'contactEmail', 'copyright_email': 'copyrightEmail', + 'current_privacy_version': 'currentPrivacyVersion', 'current_tos_version': 'currentTOSVersion', 'default_avatar': 'defaultAvatar', 'deployment_group': 'deploymentGroup', - 'dev_app_version_standalone': 'devAppVersionStandalone', - 'dev_download_link_windows': 'devDownloadLinkWindows', + 'dev_language_codes': 'devLanguageCodes', 'dev_sdk_url': 'devSdkUrl', 'dev_sdk_version': 'devSdkVersion', - 'dev_server_version_standalone': 'devServerVersionStandalone', 'dis_countdown': 'dis-countdown', + 'disable_av_pro_in_proton': 'disableAVProInProton', 'disable_avatar_copying': 'disableAvatarCopying', 'disable_avatar_gating': 'disableAvatarGating', 'disable_community_labs': 'disableCommunityLabs', 'disable_community_labs_promotion': 'disableCommunityLabsPromotion', 'disable_email': 'disableEmail', + 'disable_captcha': 'disableCaptcha', 'disable_event_stream': 'disableEventStream', 'disable_feedback_gating': 'disableFeedbackGating', 'disable_frontend_builds': 'disableFrontendBuilds', @@ -158,26 +176,23 @@ class APIConfig(object): 'download_link_windows': 'downloadLinkWindows', 'download_urls': 'downloadUrls', 'dynamic_world_rows': 'dynamicWorldRows', + 'economy_pause_end': 'economyPauseEnd', + 'economy_pause_start': 'economyPauseStart', + 'economy_state': 'economyState', 'events': 'events', - 'gear_demo_room_id': 'gearDemoRoomId', 'home_world_id': 'homeWorldId', 'homepage_redirect_target': 'homepageRedirectTarget', 'hub_world_id': 'hubWorldId', + 'image_host_url_list': 'imageHostUrlList', 'jobs_email': 'jobsEmail', - 'message_of_the_day': 'messageOfTheDay', 'moderation_email': 'moderationEmail', - 'moderation_query_period': 'moderationQueryPeriod', 'not_allowed_to_select_avatar_in_private_world_message': 'notAllowedToSelectAvatarInPrivateWorldMessage', - 'plugin': 'plugin', - 'release_app_version_standalone': 'releaseAppVersionStandalone', - 'release_sdk_url': 'releaseSdkUrl', - 'release_sdk_version': 'releaseSdkVersion', - 'release_server_version_standalone': 'releaseServerVersionStandalone', 'sdk_developer_faq_url': 'sdkDeveloperFaqUrl', 'sdk_discord_url': 'sdkDiscordUrl', 'sdk_not_allowed_to_publish_message': 'sdkNotAllowedToPublishMessage', 'sdk_unity_version': 'sdkUnityVersion', 'server_name': 'serverName', + 'string_host_url_list': 'stringHostUrlList', 'support_email': 'supportEmail', 'time_out_world_id': 'timeOutWorldId', 'tutorial_world_id': 'tutorialWorldId', @@ -188,18 +203,13 @@ class APIConfig(object): 'upload_analysis_percent': 'uploadAnalysisPercent', 'url_list': 'urlList', 'use_reliable_udp_for_voice': 'useReliableUdpForVoice', - 'user_update_period': 'userUpdatePeriod', - 'user_verification_delay': 'userVerificationDelay', - 'user_verification_retry': 'userVerificationRetry', - 'user_verification_timeout': 'userVerificationTimeout', 'vive_windows_url': 'viveWindowsUrl', 'white_listed_asset_urls': 'whiteListedAssetUrls', - 'world_update_period': 'worldUpdatePeriod', - 'player_url_resolver_hash': 'player-url-resolver-hash', - 'player_url_resolver_version': 'player-url-resolver-version' + 'player_url_resolver_version': 'player-url-resolver-version', + 'player_url_resolver_sha1': 'player-url-resolver-sha1' } - def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limiting=True, address=None, announcements=None, app_name='VrChat', build_version_tag=None, client_api_key=None, client_bps_ceiling=18432, client_disconnect_timeout=30000, client_reserved_player_bps=7168, client_sent_count_allowance=15, contact_email=None, copyright_email=None, current_tos_version=None, default_avatar=None, deployment_group=None, dev_app_version_standalone=None, dev_download_link_windows=None, dev_sdk_url=None, dev_sdk_version=None, dev_server_version_standalone=None, dis_countdown=None, disable_avatar_copying=False, disable_avatar_gating=False, disable_community_labs=False, disable_community_labs_promotion=False, disable_email=False, disable_event_stream=False, disable_feedback_gating=False, disable_frontend_builds=False, disable_hello=False, disable_oculus_subs=False, disable_registration=False, disable_steam_networking=True, disable_two_factor_auth=False, disable_udon=False, disable_upgrade_account=False, download_link_windows=None, download_urls=None, dynamic_world_rows=None, events=None, gear_demo_room_id=None, home_world_id=None, homepage_redirect_target='https://hello.vrchat.com', hub_world_id=None, jobs_email=None, message_of_the_day=None, moderation_email=None, moderation_query_period=None, not_allowed_to_select_avatar_in_private_world_message=None, plugin=None, release_app_version_standalone=None, release_sdk_url=None, release_sdk_version=None, release_server_version_standalone=None, sdk_developer_faq_url=None, sdk_discord_url=None, sdk_not_allowed_to_publish_message=None, sdk_unity_version=None, server_name=None, support_email=None, time_out_world_id=None, tutorial_world_id=None, update_rate_ms_maximum=None, update_rate_ms_minimum=None, update_rate_ms_normal=None, update_rate_ms_udon_manual=None, upload_analysis_percent=None, url_list=None, use_reliable_udp_for_voice=False, user_update_period=None, user_verification_delay=None, user_verification_retry=None, user_verification_timeout=None, vive_windows_url=None, white_listed_asset_urls=None, world_update_period=None, player_url_resolver_hash=None, player_url_resolver_version=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limiting=True, address=None, announcements=None, app_name='VrChat', available_language_codes=None, available_languages=None, build_version_tag=None, client_api_key=None, client_bps_ceiling=18432, client_disconnect_timeout=30000, client_net_dispatch_thread=False, client_net_in_thread=False, client_net_in_thread2=False, client_net_in_thread_mobile=False, client_net_in_thread_mobile2=False, client_net_out_thread=False, client_net_out_thread2=False, client_net_out_thread_mobile=False, client_net_out_thread_mobile2=False, client_qr=1, client_reserved_player_bps=7168, client_sent_count_allowance=15, contact_email=None, copyright_email=None, current_privacy_version=1, current_tos_version=None, default_avatar=None, deployment_group=None, dev_language_codes=None, dev_sdk_url=None, dev_sdk_version=None, dis_countdown=None, disable_av_pro_in_proton=False, disable_avatar_copying=False, disable_avatar_gating=False, disable_community_labs=False, disable_community_labs_promotion=False, disable_email=False, disable_captcha=True, disable_event_stream=False, disable_feedback_gating=False, disable_frontend_builds=False, disable_hello=False, disable_oculus_subs=False, disable_registration=False, disable_steam_networking=True, disable_two_factor_auth=False, disable_udon=False, disable_upgrade_account=False, download_link_windows=None, download_urls=None, dynamic_world_rows=None, economy_pause_end=None, economy_pause_start=None, economy_state=1, events=None, home_world_id=None, homepage_redirect_target='https://hello.vrchat.com', hub_world_id=None, image_host_url_list=None, jobs_email=None, moderation_email=None, not_allowed_to_select_avatar_in_private_world_message=None, sdk_developer_faq_url=None, sdk_discord_url=None, sdk_not_allowed_to_publish_message=None, sdk_unity_version=None, server_name=None, string_host_url_list=None, support_email=None, time_out_world_id=None, tutorial_world_id=None, update_rate_ms_maximum=None, update_rate_ms_minimum=None, update_rate_ms_normal=None, update_rate_ms_udon_manual=None, upload_analysis_percent=None, url_list=None, use_reliable_udp_for_voice=False, vive_windows_url=None, white_listed_asset_urls=None, player_url_resolver_version=None, player_url_resolver_sha1=None, local_vars_configuration=None): # noqa: E501 """APIConfig - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -210,28 +220,41 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self._address = None self._announcements = None self._app_name = None + self._available_language_codes = None + self._available_languages = None self._build_version_tag = None self._client_api_key = None self._client_bps_ceiling = None self._client_disconnect_timeout = None + self._client_net_dispatch_thread = None + self._client_net_in_thread = None + self._client_net_in_thread2 = None + self._client_net_in_thread_mobile = None + self._client_net_in_thread_mobile2 = None + self._client_net_out_thread = None + self._client_net_out_thread2 = None + self._client_net_out_thread_mobile = None + self._client_net_out_thread_mobile2 = None + self._client_qr = None self._client_reserved_player_bps = None self._client_sent_count_allowance = None self._contact_email = None self._copyright_email = None + self._current_privacy_version = None self._current_tos_version = None self._default_avatar = None self._deployment_group = None - self._dev_app_version_standalone = None - self._dev_download_link_windows = None + self._dev_language_codes = None self._dev_sdk_url = None self._dev_sdk_version = None - self._dev_server_version_standalone = None self._dis_countdown = None + self._disable_av_pro_in_proton = None self._disable_avatar_copying = None self._disable_avatar_gating = None self._disable_community_labs = None self._disable_community_labs_promotion = None self._disable_email = None + self._disable_captcha = None self._disable_event_stream = None self._disable_feedback_gating = None self._disable_frontend_builds = None @@ -245,26 +268,23 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self._download_link_windows = None self._download_urls = None self._dynamic_world_rows = None + self._economy_pause_end = None + self._economy_pause_start = None + self._economy_state = None self._events = None - self._gear_demo_room_id = None self._home_world_id = None self._homepage_redirect_target = None self._hub_world_id = None + self._image_host_url_list = None self._jobs_email = None - self._message_of_the_day = None self._moderation_email = None - self._moderation_query_period = None self._not_allowed_to_select_avatar_in_private_world_message = None - self._plugin = None - self._release_app_version_standalone = None - self._release_sdk_url = None - self._release_sdk_version = None - self._release_server_version_standalone = None self._sdk_developer_faq_url = None self._sdk_discord_url = None self._sdk_not_allowed_to_publish_message = None self._sdk_unity_version = None self._server_name = None + self._string_host_url_list = None self._support_email = None self._time_out_world_id = None self._tutorial_world_id = None @@ -275,15 +295,10 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self._upload_analysis_percent = None self._url_list = None self._use_reliable_udp_for_voice = None - self._user_update_period = None - self._user_verification_delay = None - self._user_verification_retry = None - self._user_verification_timeout = None self._vive_windows_url = None self._white_listed_asset_urls = None - self._world_update_period = None - self._player_url_resolver_hash = None self._player_url_resolver_version = None + self._player_url_resolver_sha1 = None self.discriminator = None self.voice_enable_degradation = voice_enable_degradation @@ -291,28 +306,55 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self.address = address self.announcements = announcements self.app_name = app_name + self.available_language_codes = available_language_codes + self.available_languages = available_languages self.build_version_tag = build_version_tag self.client_api_key = client_api_key self.client_bps_ceiling = client_bps_ceiling self.client_disconnect_timeout = client_disconnect_timeout + if client_net_dispatch_thread is not None: + self.client_net_dispatch_thread = client_net_dispatch_thread + if client_net_in_thread is not None: + self.client_net_in_thread = client_net_in_thread + if client_net_in_thread2 is not None: + self.client_net_in_thread2 = client_net_in_thread2 + if client_net_in_thread_mobile is not None: + self.client_net_in_thread_mobile = client_net_in_thread_mobile + if client_net_in_thread_mobile2 is not None: + self.client_net_in_thread_mobile2 = client_net_in_thread_mobile2 + if client_net_out_thread is not None: + self.client_net_out_thread = client_net_out_thread + if client_net_out_thread2 is not None: + self.client_net_out_thread2 = client_net_out_thread2 + if client_net_out_thread_mobile is not None: + self.client_net_out_thread_mobile = client_net_out_thread_mobile + if client_net_out_thread_mobile2 is not None: + self.client_net_out_thread_mobile2 = client_net_out_thread_mobile2 + if client_qr is not None: + self.client_qr = client_qr self.client_reserved_player_bps = client_reserved_player_bps self.client_sent_count_allowance = client_sent_count_allowance self.contact_email = contact_email self.copyright_email = copyright_email + if current_privacy_version is not None: + self.current_privacy_version = current_privacy_version self.current_tos_version = current_tos_version self.default_avatar = default_avatar self.deployment_group = deployment_group - self.dev_app_version_standalone = dev_app_version_standalone - self.dev_download_link_windows = dev_download_link_windows + if dev_language_codes is not None: + self.dev_language_codes = dev_language_codes self.dev_sdk_url = dev_sdk_url self.dev_sdk_version = dev_sdk_version - self.dev_server_version_standalone = dev_server_version_standalone self.dis_countdown = dis_countdown + if disable_av_pro_in_proton is not None: + self.disable_av_pro_in_proton = disable_av_pro_in_proton self.disable_avatar_copying = disable_avatar_copying self.disable_avatar_gating = disable_avatar_gating self.disable_community_labs = disable_community_labs self.disable_community_labs_promotion = disable_community_labs_promotion self.disable_email = disable_email + if disable_captcha is not None: + self.disable_captcha = disable_captcha self.disable_event_stream = disable_event_stream self.disable_feedback_gating = disable_feedback_gating self.disable_frontend_builds = disable_frontend_builds @@ -326,26 +368,26 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self.download_link_windows = download_link_windows self.download_urls = download_urls self.dynamic_world_rows = dynamic_world_rows + if economy_pause_end is not None: + self.economy_pause_end = economy_pause_end + if economy_pause_start is not None: + self.economy_pause_start = economy_pause_start + if economy_state is not None: + self.economy_state = economy_state self.events = events - self.gear_demo_room_id = gear_demo_room_id self.home_world_id = home_world_id self.homepage_redirect_target = homepage_redirect_target self.hub_world_id = hub_world_id + self.image_host_url_list = image_host_url_list self.jobs_email = jobs_email - self.message_of_the_day = message_of_the_day self.moderation_email = moderation_email - self.moderation_query_period = moderation_query_period self.not_allowed_to_select_avatar_in_private_world_message = not_allowed_to_select_avatar_in_private_world_message - self.plugin = plugin - self.release_app_version_standalone = release_app_version_standalone - self.release_sdk_url = release_sdk_url - self.release_sdk_version = release_sdk_version - self.release_server_version_standalone = release_server_version_standalone self.sdk_developer_faq_url = sdk_developer_faq_url self.sdk_discord_url = sdk_discord_url self.sdk_not_allowed_to_publish_message = sdk_not_allowed_to_publish_message self.sdk_unity_version = sdk_unity_version self.server_name = server_name + self.string_host_url_list = string_host_url_list self.support_email = support_email self.time_out_world_id = time_out_world_id self.tutorial_world_id = tutorial_world_id @@ -356,15 +398,10 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self.upload_analysis_percent = upload_analysis_percent self.url_list = url_list self.use_reliable_udp_for_voice = use_reliable_udp_for_voice - self.user_update_period = user_update_period - self.user_verification_delay = user_verification_delay - self.user_verification_retry = user_verification_retry - self.user_verification_timeout = user_verification_timeout self.vive_windows_url = vive_windows_url self.white_listed_asset_urls = white_listed_asset_urls - self.world_update_period = world_update_period - self.player_url_resolver_hash = player_url_resolver_hash self.player_url_resolver_version = player_url_resolver_version + self.player_url_resolver_sha1 = player_url_resolver_sha1 @property def voice_enable_degradation(self): @@ -500,6 +537,56 @@ def app_name(self, app_name): self._app_name = app_name + @property + def available_language_codes(self): + """Gets the available_language_codes of this APIConfig. # noqa: E501 + + List of supported Languages # noqa: E501 + + :return: The available_language_codes of this APIConfig. # noqa: E501 + :rtype: list[str] + """ + return self._available_language_codes + + @available_language_codes.setter + def available_language_codes(self, available_language_codes): + """Sets the available_language_codes of this APIConfig. + + List of supported Languages # noqa: E501 + + :param available_language_codes: The available_language_codes of this APIConfig. # noqa: E501 + :type available_language_codes: list[str] + """ + if self.local_vars_configuration.client_side_validation and available_language_codes is None: # noqa: E501 + raise ValueError("Invalid value for `available_language_codes`, must not be `None`") # noqa: E501 + + self._available_language_codes = available_language_codes + + @property + def available_languages(self): + """Gets the available_languages of this APIConfig. # noqa: E501 + + List of supported Languages # noqa: E501 + + :return: The available_languages of this APIConfig. # noqa: E501 + :rtype: list[str] + """ + return self._available_languages + + @available_languages.setter + def available_languages(self, available_languages): + """Sets the available_languages of this APIConfig. + + List of supported Languages # noqa: E501 + + :param available_languages: The available_languages of this APIConfig. # noqa: E501 + :type available_languages: list[str] + """ + if self.local_vars_configuration.client_side_validation and available_languages is None: # noqa: E501 + raise ValueError("Invalid value for `available_languages`, must not be `None`") # noqa: E501 + + self._available_languages = available_languages + @property def build_version_tag(self): """Gets the build_version_tag of this APIConfig. # noqa: E501 @@ -606,6 +693,236 @@ def client_disconnect_timeout(self, client_disconnect_timeout): self._client_disconnect_timeout = client_disconnect_timeout + @property + def client_net_dispatch_thread(self): + """Gets the client_net_dispatch_thread of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The client_net_dispatch_thread of this APIConfig. # noqa: E501 + :rtype: bool + """ + return self._client_net_dispatch_thread + + @client_net_dispatch_thread.setter + def client_net_dispatch_thread(self, client_net_dispatch_thread): + """Sets the client_net_dispatch_thread of this APIConfig. + + Unknown # noqa: E501 + + :param client_net_dispatch_thread: The client_net_dispatch_thread of this APIConfig. # noqa: E501 + :type client_net_dispatch_thread: bool + """ + + self._client_net_dispatch_thread = client_net_dispatch_thread + + @property + def client_net_in_thread(self): + """Gets the client_net_in_thread of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The client_net_in_thread of this APIConfig. # noqa: E501 + :rtype: bool + """ + return self._client_net_in_thread + + @client_net_in_thread.setter + def client_net_in_thread(self, client_net_in_thread): + """Sets the client_net_in_thread of this APIConfig. + + Unknown # noqa: E501 + + :param client_net_in_thread: The client_net_in_thread of this APIConfig. # noqa: E501 + :type client_net_in_thread: bool + """ + + self._client_net_in_thread = client_net_in_thread + + @property + def client_net_in_thread2(self): + """Gets the client_net_in_thread2 of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The client_net_in_thread2 of this APIConfig. # noqa: E501 + :rtype: bool + """ + return self._client_net_in_thread2 + + @client_net_in_thread2.setter + def client_net_in_thread2(self, client_net_in_thread2): + """Sets the client_net_in_thread2 of this APIConfig. + + Unknown # noqa: E501 + + :param client_net_in_thread2: The client_net_in_thread2 of this APIConfig. # noqa: E501 + :type client_net_in_thread2: bool + """ + + self._client_net_in_thread2 = client_net_in_thread2 + + @property + def client_net_in_thread_mobile(self): + """Gets the client_net_in_thread_mobile of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The client_net_in_thread_mobile of this APIConfig. # noqa: E501 + :rtype: bool + """ + return self._client_net_in_thread_mobile + + @client_net_in_thread_mobile.setter + def client_net_in_thread_mobile(self, client_net_in_thread_mobile): + """Sets the client_net_in_thread_mobile of this APIConfig. + + Unknown # noqa: E501 + + :param client_net_in_thread_mobile: The client_net_in_thread_mobile of this APIConfig. # noqa: E501 + :type client_net_in_thread_mobile: bool + """ + + self._client_net_in_thread_mobile = client_net_in_thread_mobile + + @property + def client_net_in_thread_mobile2(self): + """Gets the client_net_in_thread_mobile2 of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The client_net_in_thread_mobile2 of this APIConfig. # noqa: E501 + :rtype: bool + """ + return self._client_net_in_thread_mobile2 + + @client_net_in_thread_mobile2.setter + def client_net_in_thread_mobile2(self, client_net_in_thread_mobile2): + """Sets the client_net_in_thread_mobile2 of this APIConfig. + + Unknown # noqa: E501 + + :param client_net_in_thread_mobile2: The client_net_in_thread_mobile2 of this APIConfig. # noqa: E501 + :type client_net_in_thread_mobile2: bool + """ + + self._client_net_in_thread_mobile2 = client_net_in_thread_mobile2 + + @property + def client_net_out_thread(self): + """Gets the client_net_out_thread of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The client_net_out_thread of this APIConfig. # noqa: E501 + :rtype: bool + """ + return self._client_net_out_thread + + @client_net_out_thread.setter + def client_net_out_thread(self, client_net_out_thread): + """Sets the client_net_out_thread of this APIConfig. + + Unknown # noqa: E501 + + :param client_net_out_thread: The client_net_out_thread of this APIConfig. # noqa: E501 + :type client_net_out_thread: bool + """ + + self._client_net_out_thread = client_net_out_thread + + @property + def client_net_out_thread2(self): + """Gets the client_net_out_thread2 of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The client_net_out_thread2 of this APIConfig. # noqa: E501 + :rtype: bool + """ + return self._client_net_out_thread2 + + @client_net_out_thread2.setter + def client_net_out_thread2(self, client_net_out_thread2): + """Sets the client_net_out_thread2 of this APIConfig. + + Unknown # noqa: E501 + + :param client_net_out_thread2: The client_net_out_thread2 of this APIConfig. # noqa: E501 + :type client_net_out_thread2: bool + """ + + self._client_net_out_thread2 = client_net_out_thread2 + + @property + def client_net_out_thread_mobile(self): + """Gets the client_net_out_thread_mobile of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The client_net_out_thread_mobile of this APIConfig. # noqa: E501 + :rtype: bool + """ + return self._client_net_out_thread_mobile + + @client_net_out_thread_mobile.setter + def client_net_out_thread_mobile(self, client_net_out_thread_mobile): + """Sets the client_net_out_thread_mobile of this APIConfig. + + Unknown # noqa: E501 + + :param client_net_out_thread_mobile: The client_net_out_thread_mobile of this APIConfig. # noqa: E501 + :type client_net_out_thread_mobile: bool + """ + + self._client_net_out_thread_mobile = client_net_out_thread_mobile + + @property + def client_net_out_thread_mobile2(self): + """Gets the client_net_out_thread_mobile2 of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The client_net_out_thread_mobile2 of this APIConfig. # noqa: E501 + :rtype: bool + """ + return self._client_net_out_thread_mobile2 + + @client_net_out_thread_mobile2.setter + def client_net_out_thread_mobile2(self, client_net_out_thread_mobile2): + """Sets the client_net_out_thread_mobile2 of this APIConfig. + + Unknown # noqa: E501 + + :param client_net_out_thread_mobile2: The client_net_out_thread_mobile2 of this APIConfig. # noqa: E501 + :type client_net_out_thread_mobile2: bool + """ + + self._client_net_out_thread_mobile2 = client_net_out_thread_mobile2 + + @property + def client_qr(self): + """Gets the client_qr of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The client_qr of this APIConfig. # noqa: E501 + :rtype: int + """ + return self._client_qr + + @client_qr.setter + def client_qr(self, client_qr): + """Sets the client_qr of this APIConfig. + + Unknown # noqa: E501 + + :param client_qr: The client_qr of this APIConfig. # noqa: E501 + :type client_qr: int + """ + + self._client_qr = client_qr + @property def client_reserved_player_bps(self): """Gets the client_reserved_player_bps of this APIConfig. # noqa: E501 @@ -712,6 +1029,29 @@ def copyright_email(self, copyright_email): self._copyright_email = copyright_email + @property + def current_privacy_version(self): + """Gets the current_privacy_version of this APIConfig. # noqa: E501 + + Current version number of the Privacy Agreement # noqa: E501 + + :return: The current_privacy_version of this APIConfig. # noqa: E501 + :rtype: int + """ + return self._current_privacy_version + + @current_privacy_version.setter + def current_privacy_version(self, current_privacy_version): + """Sets the current_privacy_version of this APIConfig. + + Current version number of the Privacy Agreement # noqa: E501 + + :param current_privacy_version: The current_privacy_version of this APIConfig. # noqa: E501 + :type current_privacy_version: int + """ + + self._current_privacy_version = current_privacy_version + @property def current_tos_version(self): """Gets the current_tos_version of this APIConfig. # noqa: E501 @@ -787,60 +1127,27 @@ def deployment_group(self, deployment_group): self._deployment_group = deployment_group @property - def dev_app_version_standalone(self): - """Gets the dev_app_version_standalone of this APIConfig. # noqa: E501 - - Version number for game development build # noqa: E501 - - :return: The dev_app_version_standalone of this APIConfig. # noqa: E501 - :rtype: str - """ - return self._dev_app_version_standalone - - @dev_app_version_standalone.setter - def dev_app_version_standalone(self, dev_app_version_standalone): - """Sets the dev_app_version_standalone of this APIConfig. - - Version number for game development build # noqa: E501 - - :param dev_app_version_standalone: The dev_app_version_standalone of this APIConfig. # noqa: E501 - :type dev_app_version_standalone: str - """ - if self.local_vars_configuration.client_side_validation and dev_app_version_standalone is None: # noqa: E501 - raise ValueError("Invalid value for `dev_app_version_standalone`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - dev_app_version_standalone is not None and len(dev_app_version_standalone) < 1): - raise ValueError("Invalid value for `dev_app_version_standalone`, length must be greater than or equal to `1`") # noqa: E501 - - self._dev_app_version_standalone = dev_app_version_standalone - - @property - def dev_download_link_windows(self): - """Gets the dev_download_link_windows of this APIConfig. # noqa: E501 + def dev_language_codes(self): + """Gets the dev_language_codes of this APIConfig. # noqa: E501 - Developer Download link # noqa: E501 + Unknown # noqa: E501 - :return: The dev_download_link_windows of this APIConfig. # noqa: E501 - :rtype: str + :return: The dev_language_codes of this APIConfig. # noqa: E501 + :rtype: list[str] """ - return self._dev_download_link_windows + return self._dev_language_codes - @dev_download_link_windows.setter - def dev_download_link_windows(self, dev_download_link_windows): - """Sets the dev_download_link_windows of this APIConfig. + @dev_language_codes.setter + def dev_language_codes(self, dev_language_codes): + """Sets the dev_language_codes of this APIConfig. - Developer Download link # noqa: E501 + Unknown # noqa: E501 - :param dev_download_link_windows: The dev_download_link_windows of this APIConfig. # noqa: E501 - :type dev_download_link_windows: str + :param dev_language_codes: The dev_language_codes of this APIConfig. # noqa: E501 + :type dev_language_codes: list[str] """ - if self.local_vars_configuration.client_side_validation and dev_download_link_windows is None: # noqa: E501 - raise ValueError("Invalid value for `dev_download_link_windows`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - dev_download_link_windows is not None and len(dev_download_link_windows) < 1): - raise ValueError("Invalid value for `dev_download_link_windows`, length must be greater than or equal to `1`") # noqa: E501 - self._dev_download_link_windows = dev_download_link_windows + self._dev_language_codes = dev_language_codes @property def dev_sdk_url(self): @@ -898,34 +1205,6 @@ def dev_sdk_version(self, dev_sdk_version): self._dev_sdk_version = dev_sdk_version - @property - def dev_server_version_standalone(self): - """Gets the dev_server_version_standalone of this APIConfig. # noqa: E501 - - Version number for server development build # noqa: E501 - - :return: The dev_server_version_standalone of this APIConfig. # noqa: E501 - :rtype: str - """ - return self._dev_server_version_standalone - - @dev_server_version_standalone.setter - def dev_server_version_standalone(self, dev_server_version_standalone): - """Sets the dev_server_version_standalone of this APIConfig. - - Version number for server development build # noqa: E501 - - :param dev_server_version_standalone: The dev_server_version_standalone of this APIConfig. # noqa: E501 - :type dev_server_version_standalone: str - """ - if self.local_vars_configuration.client_side_validation and dev_server_version_standalone is None: # noqa: E501 - raise ValueError("Invalid value for `dev_server_version_standalone`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - dev_server_version_standalone is not None and len(dev_server_version_standalone) < 1): - raise ValueError("Invalid value for `dev_server_version_standalone`, length must be greater than or equal to `1`") # noqa: E501 - - self._dev_server_version_standalone = dev_server_version_standalone - @property def dis_countdown(self): """Gets the dis_countdown of this APIConfig. # noqa: E501 @@ -951,6 +1230,29 @@ def dis_countdown(self, dis_countdown): self._dis_countdown = dis_countdown + @property + def disable_av_pro_in_proton(self): + """Gets the disable_av_pro_in_proton of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The disable_av_pro_in_proton of this APIConfig. # noqa: E501 + :rtype: bool + """ + return self._disable_av_pro_in_proton + + @disable_av_pro_in_proton.setter + def disable_av_pro_in_proton(self, disable_av_pro_in_proton): + """Sets the disable_av_pro_in_proton of this APIConfig. + + Unknown # noqa: E501 + + :param disable_av_pro_in_proton: The disable_av_pro_in_proton of this APIConfig. # noqa: E501 + :type disable_av_pro_in_proton: bool + """ + + self._disable_av_pro_in_proton = disable_av_pro_in_proton + @property def disable_avatar_copying(self): """Gets the disable_avatar_copying of this APIConfig. # noqa: E501 @@ -1076,6 +1378,29 @@ def disable_email(self, disable_email): self._disable_email = disable_email + @property + def disable_captcha(self): + """Gets the disable_captcha of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The disable_captcha of this APIConfig. # noqa: E501 + :rtype: bool + """ + return self._disable_captcha + + @disable_captcha.setter + def disable_captcha(self, disable_captcha): + """Sets the disable_captcha of this APIConfig. + + Unknown # noqa: E501 + + :param disable_captcha: The disable_captcha of this APIConfig. # noqa: E501 + :type disable_captcha: bool + """ + + self._disable_captcha = disable_captcha + @property def disable_event_stream(self): """Gets the disable_event_stream of this APIConfig. # noqa: E501 @@ -1406,55 +1731,96 @@ def dynamic_world_rows(self, dynamic_world_rows): self._dynamic_world_rows = dynamic_world_rows @property - def events(self): - """Gets the events of this APIConfig. # noqa: E501 + def economy_pause_end(self): + """Gets the economy_pause_end of this APIConfig. # noqa: E501 + Unknown # noqa: E501 - :return: The events of this APIConfig. # noqa: E501 - :rtype: APIConfigEvents + :return: The economy_pause_end of this APIConfig. # noqa: E501 + :rtype: str """ - return self._events + return self._economy_pause_end - @events.setter - def events(self, events): - """Sets the events of this APIConfig. + @economy_pause_end.setter + def economy_pause_end(self, economy_pause_end): + """Sets the economy_pause_end of this APIConfig. + Unknown # noqa: E501 - :param events: The events of this APIConfig. # noqa: E501 - :type events: APIConfigEvents + :param economy_pause_end: The economy_pause_end of this APIConfig. # noqa: E501 + :type economy_pause_end: str """ - if self.local_vars_configuration.client_side_validation and events is None: # noqa: E501 - raise ValueError("Invalid value for `events`, must not be `None`") # noqa: E501 - self._events = events + self._economy_pause_end = economy_pause_end @property - def gear_demo_room_id(self): - """Gets the gear_demo_room_id of this APIConfig. # noqa: E501 + def economy_pause_start(self): + """Gets the economy_pause_start of this APIConfig. # noqa: E501 Unknown # noqa: E501 - :return: The gear_demo_room_id of this APIConfig. # noqa: E501 + :return: The economy_pause_start of this APIConfig. # noqa: E501 :rtype: str """ - return self._gear_demo_room_id + return self._economy_pause_start - @gear_demo_room_id.setter - def gear_demo_room_id(self, gear_demo_room_id): - """Sets the gear_demo_room_id of this APIConfig. + @economy_pause_start.setter + def economy_pause_start(self, economy_pause_start): + """Sets the economy_pause_start of this APIConfig. Unknown # noqa: E501 - :param gear_demo_room_id: The gear_demo_room_id of this APIConfig. # noqa: E501 - :type gear_demo_room_id: str + :param economy_pause_start: The economy_pause_start of this APIConfig. # noqa: E501 + :type economy_pause_start: str """ - if self.local_vars_configuration.client_side_validation and gear_demo_room_id is None: # noqa: E501 - raise ValueError("Invalid value for `gear_demo_room_id`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - gear_demo_room_id is not None and len(gear_demo_room_id) < 1): - raise ValueError("Invalid value for `gear_demo_room_id`, length must be greater than or equal to `1`") # noqa: E501 - self._gear_demo_room_id = gear_demo_room_id + self._economy_pause_start = economy_pause_start + + @property + def economy_state(self): + """Gets the economy_state of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The economy_state of this APIConfig. # noqa: E501 + :rtype: int + """ + return self._economy_state + + @economy_state.setter + def economy_state(self, economy_state): + """Sets the economy_state of this APIConfig. + + Unknown # noqa: E501 + + :param economy_state: The economy_state of this APIConfig. # noqa: E501 + :type economy_state: int + """ + + self._economy_state = economy_state + + @property + def events(self): + """Gets the events of this APIConfig. # noqa: E501 + + + :return: The events of this APIConfig. # noqa: E501 + :rtype: APIConfigEvents + """ + return self._events + + @events.setter + def events(self, events): + """Sets the events of this APIConfig. + + + :param events: The events of this APIConfig. # noqa: E501 + :type events: APIConfigEvents + """ + if self.local_vars_configuration.client_side_validation and events is None: # noqa: E501 + raise ValueError("Invalid value for `events`, must not be `None`") # noqa: E501 + + self._events = events @property def home_world_id(self): @@ -1534,6 +1900,31 @@ def hub_world_id(self, hub_world_id): self._hub_world_id = hub_world_id + @property + def image_host_url_list(self): + """Gets the image_host_url_list of this APIConfig. # noqa: E501 + + A list of explicitly allowed origins that worlds can request images from via the Udon's [VRCImageDownloader#DownloadImage](https://creators.vrchat.com/worlds/udon/image-loading/#downloadimage). # noqa: E501 + + :return: The image_host_url_list of this APIConfig. # noqa: E501 + :rtype: list[str] + """ + return self._image_host_url_list + + @image_host_url_list.setter + def image_host_url_list(self, image_host_url_list): + """Sets the image_host_url_list of this APIConfig. + + A list of explicitly allowed origins that worlds can request images from via the Udon's [VRCImageDownloader#DownloadImage](https://creators.vrchat.com/worlds/udon/image-loading/#downloadimage). # noqa: E501 + + :param image_host_url_list: The image_host_url_list of this APIConfig. # noqa: E501 + :type image_host_url_list: list[str] + """ + if self.local_vars_configuration.client_side_validation and image_host_url_list is None: # noqa: E501 + raise ValueError("Invalid value for `image_host_url_list`, must not be `None`") # noqa: E501 + + self._image_host_url_list = image_host_url_list + @property def jobs_email(self): """Gets the jobs_email of this APIConfig. # noqa: E501 @@ -1562,34 +1953,6 @@ def jobs_email(self, jobs_email): self._jobs_email = jobs_email - @property - def message_of_the_day(self): - """Gets the message_of_the_day of this APIConfig. # noqa: E501 - - MOTD # noqa: E501 - - :return: The message_of_the_day of this APIConfig. # noqa: E501 - :rtype: str - """ - return self._message_of_the_day - - @message_of_the_day.setter - def message_of_the_day(self, message_of_the_day): - """Sets the message_of_the_day of this APIConfig. - - MOTD # noqa: E501 - - :param message_of_the_day: The message_of_the_day of this APIConfig. # noqa: E501 - :type message_of_the_day: str - """ - if self.local_vars_configuration.client_side_validation and message_of_the_day is None: # noqa: E501 - raise ValueError("Invalid value for `message_of_the_day`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - message_of_the_day is not None and len(message_of_the_day) < 1): - raise ValueError("Invalid value for `message_of_the_day`, length must be greater than or equal to `1`") # noqa: E501 - - self._message_of_the_day = message_of_the_day - @property def moderation_email(self): """Gets the moderation_email of this APIConfig. # noqa: E501 @@ -1618,31 +1981,6 @@ def moderation_email(self, moderation_email): self._moderation_email = moderation_email - @property - def moderation_query_period(self): - """Gets the moderation_query_period of this APIConfig. # noqa: E501 - - Unknown # noqa: E501 - - :return: The moderation_query_period of this APIConfig. # noqa: E501 - :rtype: int - """ - return self._moderation_query_period - - @moderation_query_period.setter - def moderation_query_period(self, moderation_query_period): - """Sets the moderation_query_period of this APIConfig. - - Unknown # noqa: E501 - - :param moderation_query_period: The moderation_query_period of this APIConfig. # noqa: E501 - :type moderation_query_period: int - """ - if self.local_vars_configuration.client_side_validation and moderation_query_period is None: # noqa: E501 - raise ValueError("Invalid value for `moderation_query_period`, must not be `None`") # noqa: E501 - - self._moderation_query_period = moderation_query_period - @property def not_allowed_to_select_avatar_in_private_world_message(self): """Gets the not_allowed_to_select_avatar_in_private_world_message of this APIConfig. # noqa: E501 @@ -1671,146 +2009,6 @@ def not_allowed_to_select_avatar_in_private_world_message(self, not_allowed_to_s self._not_allowed_to_select_avatar_in_private_world_message = not_allowed_to_select_avatar_in_private_world_message - @property - def plugin(self): - """Gets the plugin of this APIConfig. # noqa: E501 - - Extra [plugin](https://doc.photonengine.com/en-us/server/current/plugins/manual) to run in each instance # noqa: E501 - - :return: The plugin of this APIConfig. # noqa: E501 - :rtype: str - """ - return self._plugin - - @plugin.setter - def plugin(self, plugin): - """Sets the plugin of this APIConfig. - - Extra [plugin](https://doc.photonengine.com/en-us/server/current/plugins/manual) to run in each instance # noqa: E501 - - :param plugin: The plugin of this APIConfig. # noqa: E501 - :type plugin: str - """ - if self.local_vars_configuration.client_side_validation and plugin is None: # noqa: E501 - raise ValueError("Invalid value for `plugin`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - plugin is not None and len(plugin) < 1): - raise ValueError("Invalid value for `plugin`, length must be greater than or equal to `1`") # noqa: E501 - - self._plugin = plugin - - @property - def release_app_version_standalone(self): - """Gets the release_app_version_standalone of this APIConfig. # noqa: E501 - - Version number for game release build # noqa: E501 - - :return: The release_app_version_standalone of this APIConfig. # noqa: E501 - :rtype: str - """ - return self._release_app_version_standalone - - @release_app_version_standalone.setter - def release_app_version_standalone(self, release_app_version_standalone): - """Sets the release_app_version_standalone of this APIConfig. - - Version number for game release build # noqa: E501 - - :param release_app_version_standalone: The release_app_version_standalone of this APIConfig. # noqa: E501 - :type release_app_version_standalone: str - """ - if self.local_vars_configuration.client_side_validation and release_app_version_standalone is None: # noqa: E501 - raise ValueError("Invalid value for `release_app_version_standalone`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - release_app_version_standalone is not None and len(release_app_version_standalone) < 1): - raise ValueError("Invalid value for `release_app_version_standalone`, length must be greater than or equal to `1`") # noqa: E501 - - self._release_app_version_standalone = release_app_version_standalone - - @property - def release_sdk_url(self): - """Gets the release_sdk_url of this APIConfig. # noqa: E501 - - Link to download the release SDK # noqa: E501 - - :return: The release_sdk_url of this APIConfig. # noqa: E501 - :rtype: str - """ - return self._release_sdk_url - - @release_sdk_url.setter - def release_sdk_url(self, release_sdk_url): - """Sets the release_sdk_url of this APIConfig. - - Link to download the release SDK # noqa: E501 - - :param release_sdk_url: The release_sdk_url of this APIConfig. # noqa: E501 - :type release_sdk_url: str - """ - if self.local_vars_configuration.client_side_validation and release_sdk_url is None: # noqa: E501 - raise ValueError("Invalid value for `release_sdk_url`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - release_sdk_url is not None and len(release_sdk_url) < 1): - raise ValueError("Invalid value for `release_sdk_url`, length must be greater than or equal to `1`") # noqa: E501 - - self._release_sdk_url = release_sdk_url - - @property - def release_sdk_version(self): - """Gets the release_sdk_version of this APIConfig. # noqa: E501 - - Version of the release SDK # noqa: E501 - - :return: The release_sdk_version of this APIConfig. # noqa: E501 - :rtype: str - """ - return self._release_sdk_version - - @release_sdk_version.setter - def release_sdk_version(self, release_sdk_version): - """Sets the release_sdk_version of this APIConfig. - - Version of the release SDK # noqa: E501 - - :param release_sdk_version: The release_sdk_version of this APIConfig. # noqa: E501 - :type release_sdk_version: str - """ - if self.local_vars_configuration.client_side_validation and release_sdk_version is None: # noqa: E501 - raise ValueError("Invalid value for `release_sdk_version`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - release_sdk_version is not None and len(release_sdk_version) < 1): - raise ValueError("Invalid value for `release_sdk_version`, length must be greater than or equal to `1`") # noqa: E501 - - self._release_sdk_version = release_sdk_version - - @property - def release_server_version_standalone(self): - """Gets the release_server_version_standalone of this APIConfig. # noqa: E501 - - Version number for server release build # noqa: E501 - - :return: The release_server_version_standalone of this APIConfig. # noqa: E501 - :rtype: str - """ - return self._release_server_version_standalone - - @release_server_version_standalone.setter - def release_server_version_standalone(self, release_server_version_standalone): - """Sets the release_server_version_standalone of this APIConfig. - - Version number for server release build # noqa: E501 - - :param release_server_version_standalone: The release_server_version_standalone of this APIConfig. # noqa: E501 - :type release_server_version_standalone: str - """ - if self.local_vars_configuration.client_side_validation and release_server_version_standalone is None: # noqa: E501 - raise ValueError("Invalid value for `release_server_version_standalone`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - release_server_version_standalone is not None and len(release_server_version_standalone) < 1): - raise ValueError("Invalid value for `release_server_version_standalone`, length must be greater than or equal to `1`") # noqa: E501 - - self._release_server_version_standalone = release_server_version_standalone - @property def sdk_developer_faq_url(self): """Gets the sdk_developer_faq_url of this APIConfig. # noqa: E501 @@ -1951,6 +2149,31 @@ def server_name(self, server_name): self._server_name = server_name + @property + def string_host_url_list(self): + """Gets the string_host_url_list of this APIConfig. # noqa: E501 + + A list of explicitly allowed origins that worlds can request strings from via the Udon's [VRCStringDownloader.LoadUrl](https://creators.vrchat.com/worlds/udon/string-loading/#ivrcstringdownload). # noqa: E501 + + :return: The string_host_url_list of this APIConfig. # noqa: E501 + :rtype: list[str] + """ + return self._string_host_url_list + + @string_host_url_list.setter + def string_host_url_list(self, string_host_url_list): + """Sets the string_host_url_list of this APIConfig. + + A list of explicitly allowed origins that worlds can request strings from via the Udon's [VRCStringDownloader.LoadUrl](https://creators.vrchat.com/worlds/udon/string-loading/#ivrcstringdownload). # noqa: E501 + + :param string_host_url_list: The string_host_url_list of this APIConfig. # noqa: E501 + :type string_host_url_list: list[str] + """ + if self.local_vars_configuration.client_side_validation and string_host_url_list is None: # noqa: E501 + raise ValueError("Invalid value for `string_host_url_list`, must not be `None`") # noqa: E501 + + self._string_host_url_list = string_host_url_list + @property def support_email(self): """Gets the support_email of this APIConfig. # noqa: E501 @@ -2204,106 +2427,6 @@ def use_reliable_udp_for_voice(self, use_reliable_udp_for_voice): self._use_reliable_udp_for_voice = use_reliable_udp_for_voice - @property - def user_update_period(self): - """Gets the user_update_period of this APIConfig. # noqa: E501 - - Unknown # noqa: E501 - - :return: The user_update_period of this APIConfig. # noqa: E501 - :rtype: int - """ - return self._user_update_period - - @user_update_period.setter - def user_update_period(self, user_update_period): - """Sets the user_update_period of this APIConfig. - - Unknown # noqa: E501 - - :param user_update_period: The user_update_period of this APIConfig. # noqa: E501 - :type user_update_period: int - """ - if self.local_vars_configuration.client_side_validation and user_update_period is None: # noqa: E501 - raise ValueError("Invalid value for `user_update_period`, must not be `None`") # noqa: E501 - - self._user_update_period = user_update_period - - @property - def user_verification_delay(self): - """Gets the user_verification_delay of this APIConfig. # noqa: E501 - - Unknown # noqa: E501 - - :return: The user_verification_delay of this APIConfig. # noqa: E501 - :rtype: int - """ - return self._user_verification_delay - - @user_verification_delay.setter - def user_verification_delay(self, user_verification_delay): - """Sets the user_verification_delay of this APIConfig. - - Unknown # noqa: E501 - - :param user_verification_delay: The user_verification_delay of this APIConfig. # noqa: E501 - :type user_verification_delay: int - """ - if self.local_vars_configuration.client_side_validation and user_verification_delay is None: # noqa: E501 - raise ValueError("Invalid value for `user_verification_delay`, must not be `None`") # noqa: E501 - - self._user_verification_delay = user_verification_delay - - @property - def user_verification_retry(self): - """Gets the user_verification_retry of this APIConfig. # noqa: E501 - - Unknown # noqa: E501 - - :return: The user_verification_retry of this APIConfig. # noqa: E501 - :rtype: int - """ - return self._user_verification_retry - - @user_verification_retry.setter - def user_verification_retry(self, user_verification_retry): - """Sets the user_verification_retry of this APIConfig. - - Unknown # noqa: E501 - - :param user_verification_retry: The user_verification_retry of this APIConfig. # noqa: E501 - :type user_verification_retry: int - """ - if self.local_vars_configuration.client_side_validation and user_verification_retry is None: # noqa: E501 - raise ValueError("Invalid value for `user_verification_retry`, must not be `None`") # noqa: E501 - - self._user_verification_retry = user_verification_retry - - @property - def user_verification_timeout(self): - """Gets the user_verification_timeout of this APIConfig. # noqa: E501 - - Unknown # noqa: E501 - - :return: The user_verification_timeout of this APIConfig. # noqa: E501 - :rtype: int - """ - return self._user_verification_timeout - - @user_verification_timeout.setter - def user_verification_timeout(self, user_verification_timeout): - """Sets the user_verification_timeout of this APIConfig. - - Unknown # noqa: E501 - - :param user_verification_timeout: The user_verification_timeout of this APIConfig. # noqa: E501 - :type user_verification_timeout: int - """ - if self.local_vars_configuration.client_side_validation and user_verification_timeout is None: # noqa: E501 - raise ValueError("Invalid value for `user_verification_timeout`, must not be `None`") # noqa: E501 - - self._user_verification_timeout = user_verification_timeout - @property def vive_windows_url(self): """Gets the vive_windows_url of this APIConfig. # noqa: E501 @@ -2357,59 +2480,6 @@ def white_listed_asset_urls(self, white_listed_asset_urls): self._white_listed_asset_urls = white_listed_asset_urls - @property - def world_update_period(self): - """Gets the world_update_period of this APIConfig. # noqa: E501 - - Unknown # noqa: E501 - - :return: The world_update_period of this APIConfig. # noqa: E501 - :rtype: int - """ - return self._world_update_period - - @world_update_period.setter - def world_update_period(self, world_update_period): - """Sets the world_update_period of this APIConfig. - - Unknown # noqa: E501 - - :param world_update_period: The world_update_period of this APIConfig. # noqa: E501 - :type world_update_period: int - """ - if self.local_vars_configuration.client_side_validation and world_update_period is None: # noqa: E501 - raise ValueError("Invalid value for `world_update_period`, must not be `None`") # noqa: E501 - - self._world_update_period = world_update_period - - @property - def player_url_resolver_hash(self): - """Gets the player_url_resolver_hash of this APIConfig. # noqa: E501 - - Currently used youtube-dl.exe hash in SHA-256-delimited format # noqa: E501 - - :return: The player_url_resolver_hash of this APIConfig. # noqa: E501 - :rtype: str - """ - return self._player_url_resolver_hash - - @player_url_resolver_hash.setter - def player_url_resolver_hash(self, player_url_resolver_hash): - """Sets the player_url_resolver_hash of this APIConfig. - - Currently used youtube-dl.exe hash in SHA-256-delimited format # noqa: E501 - - :param player_url_resolver_hash: The player_url_resolver_hash of this APIConfig. # noqa: E501 - :type player_url_resolver_hash: str - """ - if self.local_vars_configuration.client_side_validation and player_url_resolver_hash is None: # noqa: E501 - raise ValueError("Invalid value for `player_url_resolver_hash`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - player_url_resolver_hash is not None and len(player_url_resolver_hash) < 1): - raise ValueError("Invalid value for `player_url_resolver_hash`, length must be greater than or equal to `1`") # noqa: E501 - - self._player_url_resolver_hash = player_url_resolver_hash - @property def player_url_resolver_version(self): """Gets the player_url_resolver_version of this APIConfig. # noqa: E501 @@ -2438,6 +2508,34 @@ def player_url_resolver_version(self, player_url_resolver_version): self._player_url_resolver_version = player_url_resolver_version + @property + def player_url_resolver_sha1(self): + """Gets the player_url_resolver_sha1 of this APIConfig. # noqa: E501 + + Currently used youtube-dl.exe hash in SHA1-delimited format # noqa: E501 + + :return: The player_url_resolver_sha1 of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._player_url_resolver_sha1 + + @player_url_resolver_sha1.setter + def player_url_resolver_sha1(self, player_url_resolver_sha1): + """Sets the player_url_resolver_sha1 of this APIConfig. + + Currently used youtube-dl.exe hash in SHA1-delimited format # noqa: E501 + + :param player_url_resolver_sha1: The player_url_resolver_sha1 of this APIConfig. # noqa: E501 + :type player_url_resolver_sha1: str + """ + if self.local_vars_configuration.client_side_validation and player_url_resolver_sha1 is None: # noqa: E501 + raise ValueError("Invalid value for `player_url_resolver_sha1`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + player_url_resolver_sha1 is not None and len(player_url_resolver_sha1) < 1): + raise ValueError("Invalid value for `player_url_resolver_sha1`, length must be greater than or equal to `1`") # noqa: E501 + + self._player_url_resolver_sha1 = player_url_resolver_sha1 + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index e96f44e5..cbb8680b 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index 727bf5ce..22b5826e 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index dcc84d93..b9d4f88b 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index cde9d9c7..89c2ae9d 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index 5dd75552..cb6f8647 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index 004f9154..fb375570 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/badge.py b/vrchatapi/models/badge.py index e22b3a6b..859a4fd4 100644 --- a/vrchatapi/models/badge.py +++ b/vrchatapi/models/badge.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index 4eb43407..6f930cc4 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index 16b50421..10fd1bcd 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index 53341434..91816a94 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index 9093730e..1828bb3c 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index 5e613005..747aab74 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index 543a0a15..164e752a 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index ad8a04a4..ba66b3c2 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_post_request.py b/vrchatapi/models/create_group_post_request.py index 61752d58..9d9cedbd 100644 --- a/vrchatapi/models/create_group_post_request.py +++ b/vrchatapi/models/create_group_post_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index 1f17a11a..07883b44 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index 5e1f8ecd..586584ca 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_instance_request.py b/vrchatapi/models/create_instance_request.py index fbf17b0c..818882e1 100644 --- a/vrchatapi/models/create_instance_request.py +++ b/vrchatapi/models/create_instance_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index 40ce83f4..78d45fc4 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index 64920dc1..4474e358 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user_presence.py b/vrchatapi/models/current_user_presence.py index 2553cd6d..76cc41a6 100644 --- a/vrchatapi/models/current_user_presence.py +++ b/vrchatapi/models/current_user_presence.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/deployment_group.py b/vrchatapi/models/deployment_group.py index cb1a3bab..3130d6a0 100644 --- a/vrchatapi/models/deployment_group.py +++ b/vrchatapi/models/deployment_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index 48551d8e..67bb7ad2 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index 81fadff5..5206f04c 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index a4cbe5a4..f6f9b98a 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index 7d39f24b..d36e5162 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index 217b784d..748d1d42 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index 387fd024..ca4fe8ec 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index c9f7d5ef..bea9c62b 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index efe0644e..ed4b50e2 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index 0d277c1f..52310e6e 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -72,7 +72,8 @@ def __init__(self, category='queued', file_name=None, md5=None, size_in_bytes=No self.category = category self.file_name = file_name - self.md5 = md5 + if md5 is not None: + self.md5 = md5 self.size_in_bytes = size_in_bytes self.status = status self.upload_id = upload_id @@ -151,8 +152,6 @@ def md5(self, md5): :param md5: The md5 of this FileData. # noqa: E501 :type md5: str """ - if self.local_vars_configuration.client_side_validation and md5 is None: # noqa: E501 - raise ValueError("Invalid value for `md5`, must not be `None`") # noqa: E501 if (self.local_vars_configuration.client_side_validation and md5 is not None and len(md5) < 0): raise ValueError("Invalid value for `md5`, length must be greater than or equal to `0`") # noqa: E501 diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index ae432b24..c9fffb1f 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index 8c0a98e7..27c5b818 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index 8f71e3e1..b6195262 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index fca05e0d..5bab29e5 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index 400c8648..d72e2062 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index 3070314d..74dbc260 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index be798217..4b3190b5 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -55,8 +55,11 @@ class Group(object): 'is_verified': 'bool', 'join_state': 'GroupJoinState', 'tags': 'list[str]', + 'transfer_target_id': 'str', 'galleries': 'list[GroupGallery]', 'created_at': 'datetime', + 'updated_at': 'datetime', + 'last_post_created_at': 'datetime', 'online_member_count': 'int', 'membership_status': 'GroupMemberStatus', 'my_member': 'GroupMyMember', @@ -83,15 +86,18 @@ class Group(object): 'is_verified': 'isVerified', 'join_state': 'joinState', 'tags': 'tags', + 'transfer_target_id': 'transferTargetId', 'galleries': 'galleries', 'created_at': 'createdAt', + 'updated_at': 'updatedAt', + 'last_post_created_at': 'lastPostCreatedAt', 'online_member_count': 'onlineMemberCount', 'membership_status': 'membershipStatus', 'my_member': 'myMember', 'roles': 'roles' } - def __init__(self, id=None, name=None, short_code=None, discriminator=None, description=None, icon_url=None, banner_url=None, privacy=None, owner_id=None, rules=None, links=None, languages=None, icon_id=None, banner_id=None, member_count=None, member_count_synced_at=None, is_verified=False, join_state=None, tags=None, galleries=None, created_at=None, online_member_count=None, membership_status=None, my_member=None, roles=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, id=None, name=None, short_code=None, discriminator=None, description=None, icon_url=None, banner_url=None, privacy=None, owner_id=None, rules=None, links=None, languages=None, icon_id=None, banner_id=None, member_count=None, member_count_synced_at=None, is_verified=False, join_state=None, tags=None, transfer_target_id=None, galleries=None, created_at=None, updated_at=None, last_post_created_at=None, online_member_count=None, membership_status=None, my_member=None, roles=None, local_vars_configuration=None): # noqa: E501 """Group - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -116,8 +122,11 @@ def __init__(self, id=None, name=None, short_code=None, discriminator=None, desc self._is_verified = None self._join_state = None self._tags = None + self._transfer_target_id = None self._galleries = None self._created_at = None + self._updated_at = None + self._last_post_created_at = None self._online_member_count = None self._membership_status = None self._my_member = None @@ -157,10 +166,16 @@ def __init__(self, id=None, name=None, short_code=None, discriminator=None, desc self.join_state = join_state if tags is not None: self.tags = tags + if transfer_target_id is not None: + self.transfer_target_id = transfer_target_id if galleries is not None: self.galleries = galleries if created_at is not None: self.created_at = created_at + if updated_at is not None: + self.updated_at = updated_at + if last_post_created_at is not None: + self.last_post_created_at = last_post_created_at if online_member_count is not None: self.online_member_count = online_member_count if membership_status is not None: @@ -572,6 +587,29 @@ def tags(self, tags): self._tags = tags + @property + def transfer_target_id(self): + """Gets the transfer_target_id of this Group. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The transfer_target_id of this Group. # noqa: E501 + :rtype: str + """ + return self._transfer_target_id + + @transfer_target_id.setter + def transfer_target_id(self, transfer_target_id): + """Sets the transfer_target_id of this Group. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param transfer_target_id: The transfer_target_id of this Group. # noqa: E501 + :type transfer_target_id: str + """ + + self._transfer_target_id = transfer_target_id + @property def galleries(self): """Gets the galleries of this Group. # noqa: E501 @@ -616,6 +654,48 @@ def created_at(self, created_at): self._created_at = created_at + @property + def updated_at(self): + """Gets the updated_at of this Group. # noqa: E501 + + + :return: The updated_at of this Group. # noqa: E501 + :rtype: datetime + """ + return self._updated_at + + @updated_at.setter + def updated_at(self, updated_at): + """Sets the updated_at of this Group. + + + :param updated_at: The updated_at of this Group. # noqa: E501 + :type updated_at: datetime + """ + + self._updated_at = updated_at + + @property + def last_post_created_at(self): + """Gets the last_post_created_at of this Group. # noqa: E501 + + + :return: The last_post_created_at of this Group. # noqa: E501 + :rtype: datetime + """ + return self._last_post_created_at + + @last_post_created_at.setter + def last_post_created_at(self, last_post_created_at): + """Sets the last_post_created_at of this Group. + + + :param last_post_created_at: The last_post_created_at of this Group. # noqa: E501 + :type last_post_created_at: datetime + """ + + self._last_post_created_at = last_post_created_at + @property def online_member_count(self): """Gets the online_member_count of this Group. # noqa: E501 diff --git a/vrchatapi/models/group_access_type.py b/vrchatapi/models/group_access_type.py index 853a3192..81c57e6a 100644 --- a/vrchatapi/models/group_access_type.py +++ b/vrchatapi/models/group_access_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index a194af2d..fa4743c8 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index 70f20c6c..b4b25b06 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index 26648a5a..2b0e7c79 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index 9eb89d86..ba41d508 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_instance.py b/vrchatapi/models/group_instance.py index e2015172..b83e788b 100644 --- a/vrchatapi/models/group_instance.py +++ b/vrchatapi/models/group_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_request_action.py b/vrchatapi/models/group_join_request_action.py index f086205f..38a0d5c9 100644 --- a/vrchatapi/models/group_join_request_action.py +++ b/vrchatapi/models/group_join_request_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index ab8f656c..4a25d08b 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index 529eb696..6bd54aac 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index b9e69171..8d02a7b2 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index ed3523a3..5ece8e17 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index 0bc9f92f..77fc854c 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index a80f5e5f..a118ef8b 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -40,6 +40,9 @@ class GroupMyMember(object): 'group_id': 'str', 'user_id': 'str', 'role_ids': 'list[str]', + 'accepted_by_display_name': 'str', + 'accepted_by_id': 'str', + 'created_at': 'datetime', 'manager_notes': 'str', 'membership_status': 'str', 'is_subscribed_to_announcements': 'bool', @@ -48,6 +51,9 @@ class GroupMyMember(object): 'joined_at': 'datetime', 'banned_at': 'str', 'has2_fa': 'bool', + 'has_joined_from_purchase': 'bool', + 'last_post_read_at': 'datetime', + 'm_role_ids': 'list[str]', 'permissions': 'list[str]' } @@ -56,6 +62,9 @@ class GroupMyMember(object): 'group_id': 'groupId', 'user_id': 'userId', 'role_ids': 'roleIds', + 'accepted_by_display_name': 'acceptedByDisplayName', + 'accepted_by_id': 'acceptedById', + 'created_at': 'createdAt', 'manager_notes': 'managerNotes', 'membership_status': 'membershipStatus', 'is_subscribed_to_announcements': 'isSubscribedToAnnouncements', @@ -64,10 +73,13 @@ class GroupMyMember(object): 'joined_at': 'joinedAt', 'banned_at': 'bannedAt', 'has2_fa': 'has2FA', + 'has_joined_from_purchase': 'hasJoinedFromPurchase', + 'last_post_read_at': 'lastPostReadAt', + 'm_role_ids': 'mRoleIds', 'permissions': 'permissions' } - def __init__(self, id=None, group_id=None, user_id=None, role_ids=None, manager_notes=None, membership_status=None, is_subscribed_to_announcements=True, visibility=None, is_representing=False, joined_at=None, banned_at=None, has2_fa=False, permissions=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, id=None, group_id=None, user_id=None, role_ids=None, accepted_by_display_name=None, accepted_by_id=None, created_at=None, manager_notes=None, membership_status=None, is_subscribed_to_announcements=True, visibility=None, is_representing=False, joined_at=None, banned_at=None, has2_fa=False, has_joined_from_purchase=False, last_post_read_at=None, m_role_ids=None, permissions=None, local_vars_configuration=None): # noqa: E501 """GroupMyMember - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -77,6 +89,9 @@ def __init__(self, id=None, group_id=None, user_id=None, role_ids=None, manager_ self._group_id = None self._user_id = None self._role_ids = None + self._accepted_by_display_name = None + self._accepted_by_id = None + self._created_at = None self._manager_notes = None self._membership_status = None self._is_subscribed_to_announcements = None @@ -85,6 +100,9 @@ def __init__(self, id=None, group_id=None, user_id=None, role_ids=None, manager_ self._joined_at = None self._banned_at = None self._has2_fa = None + self._has_joined_from_purchase = None + self._last_post_read_at = None + self._m_role_ids = None self._permissions = None self.discriminator = None @@ -96,6 +114,12 @@ def __init__(self, id=None, group_id=None, user_id=None, role_ids=None, manager_ self.user_id = user_id if role_ids is not None: self.role_ids = role_ids + if accepted_by_display_name is not None: + self.accepted_by_display_name = accepted_by_display_name + if accepted_by_id is not None: + self.accepted_by_id = accepted_by_id + if created_at is not None: + self.created_at = created_at if manager_notes is not None: self.manager_notes = manager_notes if membership_status is not None: @@ -111,6 +135,12 @@ def __init__(self, id=None, group_id=None, user_id=None, role_ids=None, manager_ self.banned_at = banned_at if has2_fa is not None: self.has2_fa = has2_fa + if has_joined_from_purchase is not None: + self.has_joined_from_purchase = has_joined_from_purchase + if last_post_read_at is not None: + self.last_post_read_at = last_post_read_at + if m_role_ids is not None: + self.m_role_ids = m_role_ids if permissions is not None: self.permissions = permissions @@ -200,6 +230,71 @@ def role_ids(self, role_ids): self._role_ids = role_ids + @property + def accepted_by_display_name(self): + """Gets the accepted_by_display_name of this GroupMyMember. # noqa: E501 + + + :return: The accepted_by_display_name of this GroupMyMember. # noqa: E501 + :rtype: str + """ + return self._accepted_by_display_name + + @accepted_by_display_name.setter + def accepted_by_display_name(self, accepted_by_display_name): + """Sets the accepted_by_display_name of this GroupMyMember. + + + :param accepted_by_display_name: The accepted_by_display_name of this GroupMyMember. # noqa: E501 + :type accepted_by_display_name: str + """ + + self._accepted_by_display_name = accepted_by_display_name + + @property + def accepted_by_id(self): + """Gets the accepted_by_id of this GroupMyMember. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The accepted_by_id of this GroupMyMember. # noqa: E501 + :rtype: str + """ + return self._accepted_by_id + + @accepted_by_id.setter + def accepted_by_id(self, accepted_by_id): + """Sets the accepted_by_id of this GroupMyMember. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param accepted_by_id: The accepted_by_id of this GroupMyMember. # noqa: E501 + :type accepted_by_id: str + """ + + self._accepted_by_id = accepted_by_id + + @property + def created_at(self): + """Gets the created_at of this GroupMyMember. # noqa: E501 + + + :return: The created_at of this GroupMyMember. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this GroupMyMember. + + + :param created_at: The created_at of this GroupMyMember. # noqa: E501 + :type created_at: datetime + """ + + self._created_at = created_at + @property def manager_notes(self): """Gets the manager_notes of this GroupMyMember. # noqa: E501 @@ -368,6 +463,69 @@ def has2_fa(self, has2_fa): self._has2_fa = has2_fa + @property + def has_joined_from_purchase(self): + """Gets the has_joined_from_purchase of this GroupMyMember. # noqa: E501 + + + :return: The has_joined_from_purchase of this GroupMyMember. # noqa: E501 + :rtype: bool + """ + return self._has_joined_from_purchase + + @has_joined_from_purchase.setter + def has_joined_from_purchase(self, has_joined_from_purchase): + """Sets the has_joined_from_purchase of this GroupMyMember. + + + :param has_joined_from_purchase: The has_joined_from_purchase of this GroupMyMember. # noqa: E501 + :type has_joined_from_purchase: bool + """ + + self._has_joined_from_purchase = has_joined_from_purchase + + @property + def last_post_read_at(self): + """Gets the last_post_read_at of this GroupMyMember. # noqa: E501 + + + :return: The last_post_read_at of this GroupMyMember. # noqa: E501 + :rtype: datetime + """ + return self._last_post_read_at + + @last_post_read_at.setter + def last_post_read_at(self, last_post_read_at): + """Sets the last_post_read_at of this GroupMyMember. + + + :param last_post_read_at: The last_post_read_at of this GroupMyMember. # noqa: E501 + :type last_post_read_at: datetime + """ + + self._last_post_read_at = last_post_read_at + + @property + def m_role_ids(self): + """Gets the m_role_ids of this GroupMyMember. # noqa: E501 + + + :return: The m_role_ids of this GroupMyMember. # noqa: E501 + :rtype: list[str] + """ + return self._m_role_ids + + @m_role_ids.setter + def m_role_ids(self, m_role_ids): + """Sets the m_role_ids of this GroupMyMember. + + + :param m_role_ids: The m_role_ids of this GroupMyMember. # noqa: E501 + :type m_role_ids: list[str] + """ + + self._m_role_ids = m_role_ids + @property def permissions(self): """Gets the permissions of this GroupMyMember. # noqa: E501 diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index ad74de45..fd890d53 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post.py b/vrchatapi/models/group_post.py index 3c77e362..2e4e3659 100644 --- a/vrchatapi/models/group_post.py +++ b/vrchatapi/models/group_post.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post_visibility.py b/vrchatapi/models/group_post_visibility.py index 8472b3b5..ca7dd033 100644 --- a/vrchatapi/models/group_post_visibility.py +++ b/vrchatapi/models/group_post_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index 804e63e3..02fbeb98 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index 5f21da58..07d48d23 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index 63644c88..55da4f6a 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_search_sort.py b/vrchatapi/models/group_search_sort.py index 71f178bb..56b5bd2c 100644 --- a/vrchatapi/models/group_search_sort.py +++ b/vrchatapi/models/group_search_sort.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index 3fd05aeb..f135dc49 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index 511f5d5e..52caab9e 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index c301a1b5..9a2e880a 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index e11dfe63..cdaad161 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index fa9262ef..7d93d5cc 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index 97e14207..2b34d531 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index 06cd19e7..abb01937 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index 63f851fe..fbad9f37 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_region.py b/vrchatapi/models/instance_region.py index 65570256..ef27b73e 100644 --- a/vrchatapi/models/instance_region.py +++ b/vrchatapi/models/instance_region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index 24cd2b74..f541e808 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index f5bf9b4a..dfc44c24 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index 44a12bb9..f5aa4f81 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index fb3a6685..1d86244e 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index 2bf0d62f..6a10e53d 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index 166aa1c3..4ebe559e 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index 3248eeac..fff992d3 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index 6f8bf53a..059b162a 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index 2f32dadd..5dee72af 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index 7849a804..fb8e05b3 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_group.py b/vrchatapi/models/limited_group.py index 94945400..7fa40279 100644 --- a/vrchatapi/models/limited_group.py +++ b/vrchatapi/models/limited_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index 2f8c2346..dfaf4b12 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user.py b/vrchatapi/models/limited_user.py index bc211330..7bd441e9 100644 --- a/vrchatapi/models/limited_user.py +++ b/vrchatapi/models/limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user_groups.py b/vrchatapi/models/limited_user_groups.py index 0cabab85..19d731c6 100644 --- a/vrchatapi/models/limited_user_groups.py +++ b/vrchatapi/models/limited_user_groups.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index cb4d56d9..225fb874 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index b485b303..a65271b9 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index c1dea68f..5d56b079 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index f6bfc90b..a0a5d74a 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite.py b/vrchatapi/models/notification_detail_invite.py index ae7e9279..e75e118c 100644 --- a/vrchatapi/models/notification_detail_invite.py +++ b/vrchatapi/models/notification_detail_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite_response.py b/vrchatapi/models/notification_detail_invite_response.py index 9175782c..9cf205b0 100644 --- a/vrchatapi/models/notification_detail_invite_response.py +++ b/vrchatapi/models/notification_detail_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite.py b/vrchatapi/models/notification_detail_request_invite.py index 1144aa12..4467b378 100644 --- a/vrchatapi/models/notification_detail_request_invite.py +++ b/vrchatapi/models/notification_detail_request_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite_response.py b/vrchatapi/models/notification_detail_request_invite_response.py index dc4b15fe..a7f03ce3 100644 --- a/vrchatapi/models/notification_detail_request_invite_response.py +++ b/vrchatapi/models/notification_detail_request_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_vote_to_kick.py b/vrchatapi/models/notification_detail_vote_to_kick.py index 6af87a63..4aa2b112 100644 --- a/vrchatapi/models/notification_detail_vote_to_kick.py +++ b/vrchatapi/models/notification_detail_vote_to_kick.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index cd7ef11b..b3419d8d 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index abde9f9e..cfdbd17e 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index aef66392..dfb68e40 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index 9ad758f3..39e63a19 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index 8c35349a..47f1eb6c 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -37,6 +37,7 @@ class Permission(object): """ openapi_types = { 'id': 'str', + 'owner_display_name': 'str', 'name': 'str', 'owner_id': 'str', 'data': 'object' @@ -44,24 +45,27 @@ class Permission(object): attribute_map = { 'id': 'id', + 'owner_display_name': 'ownerDisplayName', 'name': 'name', 'owner_id': 'ownerId', 'data': 'data' } - def __init__(self, id=None, name=None, owner_id=None, data=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, id=None, owner_display_name=None, name=None, owner_id=None, data=None, local_vars_configuration=None): # noqa: E501 """Permission - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._id = None + self._owner_display_name = None self._name = None self._owner_id = None self._data = None self.discriminator = None self.id = id + self.owner_display_name = owner_display_name self.name = name self.owner_id = owner_id if data is not None: @@ -90,6 +94,29 @@ def id(self, id): self._id = id + @property + def owner_display_name(self): + """Gets the owner_display_name of this Permission. # noqa: E501 + + + :return: The owner_display_name of this Permission. # noqa: E501 + :rtype: str + """ + return self._owner_display_name + + @owner_display_name.setter + def owner_display_name(self, owner_display_name): + """Sets the owner_display_name of this Permission. + + + :param owner_display_name: The owner_display_name of this Permission. # noqa: E501 + :type owner_display_name: str + """ + if self.local_vars_configuration.client_side_validation and owner_display_name is None: # noqa: E501 + raise ValueError("Invalid value for `owner_display_name`, must not be `None`") # noqa: E501 + + self._owner_display_name = owner_display_name + @property def name(self): """Gets the name of this Permission. # noqa: E501 diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index 0f9321a0..8676c83a 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index 736883f1..9fcfa9b9 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index c3cb5e55..ecd661bc 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index 5fca413d..93dfb906 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/represented_group.py b/vrchatapi/models/represented_group.py index 8681e4e3..d1e04957 100644 --- a/vrchatapi/models/represented_group.py +++ b/vrchatapi/models/represented_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index 45feb11a..03c92301 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index 121217ff..9c58bd3d 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index dcc0cf7d..bc412881 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index c760c86c..f22bb530 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index fea6324d..e1e3b14c 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index 87d6cc45..3af2316d 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index 0eb10d1b..70f87fae 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index 70e13bf6..c03a2b07 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index a844f9c0..35285a03 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index cf3a2a5c..d4f02d9a 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -38,6 +38,7 @@ class TransactionAgreement(object): openapi_types = { 'agreement_id': 'str', 'item_id': 'float', + 'agreement': 'str', 'status': 'str', 'period': 'str', 'frequency': 'float', @@ -58,6 +59,7 @@ class TransactionAgreement(object): attribute_map = { 'agreement_id': 'agreementId', 'item_id': 'itemId', + 'agreement': 'agreement', 'status': 'status', 'period': 'period', 'frequency': 'frequency', @@ -75,7 +77,7 @@ class TransactionAgreement(object): 'failed_attempts': 'failedAttempts' } - def __init__(self, agreement_id=None, item_id=None, status=None, period=None, frequency=None, billing_type=None, start_date=None, end_date=None, recurring_amt=None, currency=None, time_created=None, next_payment=None, last_payment=None, last_amount=None, last_amount_vat=None, outstanding=None, failed_attempts=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, agreement_id=None, item_id=None, agreement=None, status=None, period=None, frequency=None, billing_type=None, start_date=None, end_date=None, recurring_amt=None, currency=None, time_created=None, next_payment=None, last_payment=None, last_amount=None, last_amount_vat=None, outstanding=None, failed_attempts=None, local_vars_configuration=None): # noqa: E501 """TransactionAgreement - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -83,6 +85,7 @@ def __init__(self, agreement_id=None, item_id=None, status=None, period=None, fr self._agreement_id = None self._item_id = None + self._agreement = None self._status = None self._period = None self._frequency = None @@ -102,6 +105,7 @@ def __init__(self, agreement_id=None, item_id=None, status=None, period=None, fr self.agreement_id = agreement_id self.item_id = item_id + self.agreement = agreement self.status = status self.period = period self.frequency = frequency @@ -167,6 +171,29 @@ def item_id(self, item_id): self._item_id = item_id + @property + def agreement(self): + """Gets the agreement of this TransactionAgreement. # noqa: E501 + + + :return: The agreement of this TransactionAgreement. # noqa: E501 + :rtype: str + """ + return self._agreement + + @agreement.setter + def agreement(self, agreement): + """Sets the agreement of this TransactionAgreement. + + + :param agreement: The agreement of this TransactionAgreement. # noqa: E501 + :type agreement: str + """ + if self.local_vars_configuration.client_side_validation and agreement is None: # noqa: E501 + raise ValueError("Invalid value for `agreement`, must not be `None`") # noqa: E501 + + self._agreement = agreement + @property def status(self): """Gets the status of this TransactionAgreement. # noqa: E501 diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index 5657ccd4..e874b84d 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index 475df695..14e2a33d 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index b772d018..e4da9a25 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index 291f9dd1..82b0730c 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_email_code.py b/vrchatapi/models/two_factor_email_code.py index 1406a43e..992c15b4 100644 --- a/vrchatapi/models/two_factor_email_code.py +++ b/vrchatapi/models/two_factor_email_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index 05b7a988..bd95ce66 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index 8a01d719..a6d3e0c2 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index 449cfb04..6d2d5f18 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index c4750d8c..73d6a8a3 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index 72ec74cb..d0721e05 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index 9ece80fd..4e028859 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index 71a367df..6e7a5f33 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index 2835c046..25a8ab3b 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index ba32c562..3412f4a1 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index 10b1aff0..1e25c609 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index 6092da65..8202f3ab 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index 03051458..92cf249b 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index cd7c99a0..cca3a74a 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index 0423de21..c3806dc0 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index bf4701e6..5004ceec 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -46,6 +46,7 @@ class UserSubscription(object): 'tier': 'float', 'active': 'bool', 'status': 'TransactionStatus', + 'starts': 'datetime', 'expires': 'datetime', 'created_at': 'datetime', 'updated_at': 'datetime', @@ -64,6 +65,7 @@ class UserSubscription(object): 'tier': 'tier', 'active': 'active', 'status': 'status', + 'starts': 'starts', 'expires': 'expires', 'created_at': 'created_at', 'updated_at': 'updated_at', @@ -71,7 +73,7 @@ class UserSubscription(object): 'is_gift': 'isGift' } - def __init__(self, id=None, transaction_id=None, store=None, steam_item_id=None, amount=None, description=None, period=None, tier=None, active=True, status=None, expires=None, created_at=None, updated_at=None, license_groups=None, is_gift=False, local_vars_configuration=None): # noqa: E501 + def __init__(self, id=None, transaction_id=None, store=None, steam_item_id=None, amount=None, description=None, period=None, tier=None, active=True, status=None, starts=None, expires=None, created_at=None, updated_at=None, license_groups=None, is_gift=False, local_vars_configuration=None): # noqa: E501 """UserSubscription - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -87,6 +89,7 @@ def __init__(self, id=None, transaction_id=None, store=None, steam_item_id=None, self._tier = None self._active = None self._status = None + self._starts = None self._expires = None self._created_at = None self._updated_at = None @@ -105,6 +108,8 @@ def __init__(self, id=None, transaction_id=None, store=None, steam_item_id=None, self.tier = tier self.active = active self.status = status + if starts is not None: + self.starts = starts self.expires = expires self.created_at = created_at self.updated_at = updated_at @@ -350,6 +355,27 @@ def status(self, status): self._status = status + @property + def starts(self): + """Gets the starts of this UserSubscription. # noqa: E501 + + + :return: The starts of this UserSubscription. # noqa: E501 + :rtype: datetime + """ + return self._starts + + @starts.setter + def starts(self, starts): + """Sets the starts of this UserSubscription. + + + :param starts: The starts of this UserSubscription. # noqa: E501 + :type starts: datetime + """ + + self._starts = starts + @property def expires(self): """Gets the expires of this UserSubscription. # noqa: E501 diff --git a/vrchatapi/models/verify2_fa_email_code_result.py b/vrchatapi/models/verify2_fa_email_code_result.py index 7cb19b5e..2c169db0 100644 --- a/vrchatapi/models/verify2_fa_email_code_result.py +++ b/vrchatapi/models/verify2_fa_email_code_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index 40d956c0..f43c8e45 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index 5611c9bd..6b0e2b07 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index d391bc16..eec62d73 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index 3b500aca..1d363af1 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index b732966a..86e3f457 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index 906d7e13..f9d61fca 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.0 + The version of the OpenAPI document: 1.18.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ From ee7f6f18d22d733901b3e68ddeb5c0a4409c2a26 Mon Sep 17 00:00:00 2001 From: VRCCat Date: Wed, 11 Sep 2024 01:10:28 +0000 Subject: [PATCH 056/102] Upgrade Python SDK to spec 1.18.1 --- docs/Group.md | 4 +-- docs/UserExists.md | 1 + docs/UserSubscription.md | 2 +- package-lock.json | 30 +++++++++++------------ package.json | 2 +- vrchatapi/models/group.py | 7 +----- vrchatapi/models/group_my_member.py | 6 ++--- vrchatapi/models/instance_region.py | 3 ++- vrchatapi/models/user_exists.py | 35 ++++++++++++++++++++++++--- vrchatapi/models/user_subscription.py | 6 ++--- 10 files changed, 60 insertions(+), 36 deletions(-) diff --git a/docs/Group.md b/docs/Group.md index 3361c779..825ad8fb 100644 --- a/docs/Group.md +++ b/docs/Group.md @@ -22,9 +22,9 @@ Name | Type | Description | Notes **member_count_synced_at** | **datetime** | | [optional] **is_verified** | **bool** | | [optional] [default to False] **join_state** | [**GroupJoinState**](GroupJoinState.md) | | [optional] -**tags** | **list[str]** | | [optional] +**tags** | **list[str]** | | [optional] **transfer_target_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] -**galleries** | [**list[GroupGallery]**](GroupGallery.md) | | [optional] +**galleries** | [**list[GroupGallery]**](GroupGallery.md) | | [optional] **created_at** | **datetime** | | [optional] **updated_at** | **datetime** | | [optional] **last_post_created_at** | **datetime** | | [optional] diff --git a/docs/UserExists.md b/docs/UserExists.md index 339b5cd8..e8d6464e 100644 --- a/docs/UserExists.md +++ b/docs/UserExists.md @@ -6,6 +6,7 @@ Status object representing if a queried user by username or userId exists or not Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **user_exists** | **bool** | Status if a user exist with that username or userId. | [default to False] +**name_ok** | **bool** | Is the username valid? | [default to False] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserSubscription.md b/docs/UserSubscription.md index 2f80572a..3474550a 100644 --- a/docs/UserSubscription.md +++ b/docs/UserSubscription.md @@ -15,7 +15,7 @@ Name | Type | Description | Notes **tier** | **float** | | **active** | **bool** | | [default to True] **status** | [**TransactionStatus**](TransactionStatus.md) | | -**starts** | **datetime** | | [optional] +**starts** | **str** | | [optional] **expires** | **datetime** | | **created_at** | **datetime** | | **updated_at** | **datetime** | | diff --git a/package-lock.json b/package-lock.json index 537f8838..9abfd703 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.13.4" + "@openapitools/openapi-generator-cli": "^2.13.5" } }, "node_modules/@lukeed/csprng": { @@ -109,16 +109,16 @@ } }, "node_modules/@openapitools/openapi-generator-cli": { - "version": "2.13.4", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.13.4.tgz", - "integrity": "sha512-4JKyrk55ohQK2FcuZbPdNvxdyXD14jjOIvE8hYjJ+E1cHbRbfXQXbYnjTODFE52Gx8eAxz8C9icuhDYDLn7nww==", + "version": "2.13.5", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.13.5.tgz", + "integrity": "sha512-9VgeKOTiiatKSwZDKKB3C86cW8tN9eDcFohotD4eisdK38UQswk/4Ysoq9KChRCbymjoMp6AIDHPtK1DQ2fTgw==", "hasInstallScript": true, "dependencies": { "@nestjs/axios": "3.0.2", "@nestjs/common": "10.3.0", "@nestjs/core": "10.3.0", "@nuxtjs/opencollective": "0.3.2", - "axios": "1.6.8", + "axios": "1.7.4", "chalk": "4.1.2", "commander": "8.3.0", "compare-versions": "4.1.4", @@ -197,9 +197,9 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "node_modules/axios": { - "version": "1.6.8", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.8.tgz", - "integrity": "sha512-v/ZHtJDU39mDpyBoFVkETcd/uNdxrWRrg3bKpOKzXFA6Bvqopts6ALSMU3y6ijYxbw2B+wPrIv46egTzJXCLGQ==", + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.4.tgz", + "integrity": "sha512-DukmaFRnY6AzAALSH4J2M3k6PkaC+MfaAGdEERRWcC9q3/TWQwLpHR8ZRLKTdQ3aBDL64EdluRDjJqKw+BPZEw==", "dependencies": { "follow-redirects": "^1.15.6", "form-data": "^4.0.0", @@ -1267,15 +1267,15 @@ } }, "@openapitools/openapi-generator-cli": { - "version": "2.13.4", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.13.4.tgz", - "integrity": "sha512-4JKyrk55ohQK2FcuZbPdNvxdyXD14jjOIvE8hYjJ+E1cHbRbfXQXbYnjTODFE52Gx8eAxz8C9icuhDYDLn7nww==", + "version": "2.13.5", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.13.5.tgz", + "integrity": "sha512-9VgeKOTiiatKSwZDKKB3C86cW8tN9eDcFohotD4eisdK38UQswk/4Ysoq9KChRCbymjoMp6AIDHPtK1DQ2fTgw==", "requires": { "@nestjs/axios": "3.0.2", "@nestjs/common": "10.3.0", "@nestjs/core": "10.3.0", "@nuxtjs/opencollective": "0.3.2", - "axios": "1.6.8", + "axios": "1.7.4", "chalk": "4.1.2", "commander": "8.3.0", "compare-versions": "4.1.4", @@ -1326,9 +1326,9 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "axios": { - "version": "1.6.8", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.8.tgz", - "integrity": "sha512-v/ZHtJDU39mDpyBoFVkETcd/uNdxrWRrg3bKpOKzXFA6Bvqopts6ALSMU3y6ijYxbw2B+wPrIv46egTzJXCLGQ==", + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.4.tgz", + "integrity": "sha512-DukmaFRnY6AzAALSH4J2M3k6PkaC+MfaAGdEERRWcC9q3/TWQwLpHR8ZRLKTdQ3aBDL64EdluRDjJqKw+BPZEw==", "requires": { "follow-redirects": "^1.15.6", "form-data": "^4.0.0", diff --git a/package.json b/package.json index 1383dec7..b3ec07c5 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.13.4" + "@openapitools/openapi-generator-cli": "^2.13.5" } } diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index 4b3190b5..408dd6ba 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -174,8 +174,7 @@ def __init__(self, id=None, name=None, short_code=None, discriminator=None, desc self.created_at = created_at if updated_at is not None: self.updated_at = updated_at - if last_post_created_at is not None: - self.last_post_created_at = last_post_created_at + self.last_post_created_at = last_post_created_at if online_member_count is not None: self.online_member_count = online_member_count if membership_status is not None: @@ -568,7 +567,6 @@ def join_state(self, join_state): def tags(self): """Gets the tags of this Group. # noqa: E501 - # noqa: E501 :return: The tags of this Group. # noqa: E501 :rtype: list[str] @@ -579,7 +577,6 @@ def tags(self): def tags(self, tags): """Sets the tags of this Group. - # noqa: E501 :param tags: The tags of this Group. # noqa: E501 :type tags: list[str] @@ -614,7 +611,6 @@ def transfer_target_id(self, transfer_target_id): def galleries(self): """Gets the galleries of this Group. # noqa: E501 - # noqa: E501 :return: The galleries of this Group. # noqa: E501 :rtype: list[GroupGallery] @@ -625,7 +621,6 @@ def galleries(self): def galleries(self, galleries): """Sets the galleries of this Group. - # noqa: E501 :param galleries: The galleries of this Group. # noqa: E501 :type galleries: list[GroupGallery] diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index a118ef8b..f71e5d69 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -114,8 +114,7 @@ def __init__(self, id=None, group_id=None, user_id=None, role_ids=None, accepted self.user_id = user_id if role_ids is not None: self.role_ids = role_ids - if accepted_by_display_name is not None: - self.accepted_by_display_name = accepted_by_display_name + self.accepted_by_display_name = accepted_by_display_name if accepted_by_id is not None: self.accepted_by_id = accepted_by_id if created_at is not None: @@ -137,8 +136,7 @@ def __init__(self, id=None, group_id=None, user_id=None, role_ids=None, accepted self.has2_fa = has2_fa if has_joined_from_purchase is not None: self.has_joined_from_purchase = has_joined_from_purchase - if last_post_read_at is not None: - self.last_post_read_at = last_post_read_at + self.last_post_read_at = last_post_read_at if m_role_ids is not None: self.m_role_ids = m_role_ids if permissions is not None: diff --git a/vrchatapi/models/instance_region.py b/vrchatapi/models/instance_region.py index ef27b73e..90fd11f0 100644 --- a/vrchatapi/models/instance_region.py +++ b/vrchatapi/models/instance_region.py @@ -35,8 +35,9 @@ class InstanceRegion(object): USE = "use" EU = "eu" JP = "jp" + UNKNOWN = "unknown" - allowable_values = [US, USE, EU, JP] # noqa: E501 + allowable_values = [US, USE, EU, JP, UNKNOWN] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index 92cf249b..9b9989aa 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -36,23 +36,27 @@ class UserExists(object): and the value is json key in definition. """ openapi_types = { - 'user_exists': 'bool' + 'user_exists': 'bool', + 'name_ok': 'bool' } attribute_map = { - 'user_exists': 'userExists' + 'user_exists': 'userExists', + 'name_ok': 'nameOk' } - def __init__(self, user_exists=False, local_vars_configuration=None): # noqa: E501 + def __init__(self, user_exists=False, name_ok=False, local_vars_configuration=None): # noqa: E501 """UserExists - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._user_exists = None + self._name_ok = None self.discriminator = None self.user_exists = user_exists + self.name_ok = name_ok @property def user_exists(self): @@ -79,6 +83,31 @@ def user_exists(self, user_exists): self._user_exists = user_exists + @property + def name_ok(self): + """Gets the name_ok of this UserExists. # noqa: E501 + + Is the username valid? # noqa: E501 + + :return: The name_ok of this UserExists. # noqa: E501 + :rtype: bool + """ + return self._name_ok + + @name_ok.setter + def name_ok(self, name_ok): + """Sets the name_ok of this UserExists. + + Is the username valid? # noqa: E501 + + :param name_ok: The name_ok of this UserExists. # noqa: E501 + :type name_ok: bool + """ + if self.local_vars_configuration.client_side_validation and name_ok is None: # noqa: E501 + raise ValueError("Invalid value for `name_ok`, must not be `None`") # noqa: E501 + + self._name_ok = name_ok + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index 5004ceec..3c64f8ee 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -46,7 +46,7 @@ class UserSubscription(object): 'tier': 'float', 'active': 'bool', 'status': 'TransactionStatus', - 'starts': 'datetime', + 'starts': 'str', 'expires': 'datetime', 'created_at': 'datetime', 'updated_at': 'datetime', @@ -361,7 +361,7 @@ def starts(self): :return: The starts of this UserSubscription. # noqa: E501 - :rtype: datetime + :rtype: str """ return self._starts @@ -371,7 +371,7 @@ def starts(self, starts): :param starts: The starts of this UserSubscription. # noqa: E501 - :type starts: datetime + :type starts: str """ self._starts = starts From edb189953216088922a754264f45b0633dfcd50b Mon Sep 17 00:00:00 2001 From: VRCCat Date: Sun, 22 Sep 2024 23:32:06 +0000 Subject: [PATCH 057/102] Upgrade Python SDK to spec 1.18.4 --- docs/CreateAvatarRequest.md | 2 +- docs/CreateFileVersionRequest.md | 4 +- docs/CurrentUser.md | 2 + docs/CurrentUserPresence.md | 2 + docs/FileVersionUploadStatus.md | 4 +- docs/GroupsApi.md | 6 +- docs/Subscription.md | 2 +- docs/TransactionAgreement.md | 8 +- docs/UnityPackage.md | 1 + docs/UpdateAvatarRequest.md | 2 +- docs/UpdateUserRequest.md | 2 +- docs/User.md | 3 +- docs/UserSubscription.md | 2 +- package-lock.json | 126 +++++++++++------- package.json | 2 +- setup.py | 4 +- vrchatapi/__init__.py | 2 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/groups_api.py | 11 +- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 +- vrchatapi/exceptions.py | 2 +- vrchatapi/models/__init__.py | 2 +- vrchatapi/models/account_deletion_log.py | 2 +- vrchatapi/models/add_favorite_request.py | 2 +- .../models/add_group_gallery_image_request.py | 2 +- vrchatapi/models/api_config.py | 2 +- vrchatapi/models/api_config_announcement.py | 2 +- .../models/api_config_download_url_list.py | 2 +- vrchatapi/models/api_config_events.py | 2 +- vrchatapi/models/api_health.py | 2 +- vrchatapi/models/avatar.py | 2 +- .../models/avatar_unity_package_url_object.py | 2 +- vrchatapi/models/badge.py | 2 +- vrchatapi/models/ban_group_member_request.py | 2 +- vrchatapi/models/create_avatar_request.py | 8 +- vrchatapi/models/create_file_request.py | 2 +- .../models/create_file_version_request.py | 14 +- .../create_group_announcement_request.py | 2 +- .../models/create_group_gallery_request.py | 2 +- .../models/create_group_invite_request.py | 2 +- vrchatapi/models/create_group_post_request.py | 2 +- vrchatapi/models/create_group_request.py | 2 +- vrchatapi/models/create_group_role_request.py | 2 +- vrchatapi/models/create_instance_request.py | 2 +- vrchatapi/models/create_world_request.py | 2 +- vrchatapi/models/current_user.py | 55 +++++++- vrchatapi/models/current_user_presence.py | 55 +++++++- vrchatapi/models/deployment_group.py | 2 +- vrchatapi/models/developer_type.py | 2 +- vrchatapi/models/dynamic_content_row.py | 2 +- vrchatapi/models/error.py | 2 +- vrchatapi/models/favorite.py | 2 +- vrchatapi/models/favorite_group.py | 2 +- vrchatapi/models/favorite_group_visibility.py | 2 +- vrchatapi/models/favorite_type.py | 2 +- vrchatapi/models/file.py | 2 +- vrchatapi/models/file_data.py | 2 +- vrchatapi/models/file_status.py | 2 +- vrchatapi/models/file_upload_url.py | 2 +- vrchatapi/models/file_version.py | 2 +- .../models/file_version_upload_status.py | 14 +- .../models/finish_file_data_upload_request.py | 2 +- vrchatapi/models/friend_status.py | 2 +- vrchatapi/models/group.py | 2 +- vrchatapi/models/group_access_type.py | 2 +- vrchatapi/models/group_announcement.py | 2 +- vrchatapi/models/group_audit_log_entry.py | 2 +- vrchatapi/models/group_gallery.py | 2 +- vrchatapi/models/group_gallery_image.py | 2 +- vrchatapi/models/group_instance.py | 2 +- vrchatapi/models/group_join_request_action.py | 2 +- vrchatapi/models/group_join_state.py | 2 +- vrchatapi/models/group_limited_member.py | 2 +- vrchatapi/models/group_member.py | 2 +- vrchatapi/models/group_member_limited_user.py | 2 +- vrchatapi/models/group_member_status.py | 2 +- vrchatapi/models/group_my_member.py | 2 +- vrchatapi/models/group_permission.py | 2 +- vrchatapi/models/group_post.py | 2 +- vrchatapi/models/group_post_visibility.py | 2 +- vrchatapi/models/group_privacy.py | 2 +- vrchatapi/models/group_role.py | 2 +- vrchatapi/models/group_role_template.py | 2 +- vrchatapi/models/group_search_sort.py | 2 +- vrchatapi/models/group_user_visibility.py | 2 +- vrchatapi/models/info_push.py | 2 +- vrchatapi/models/info_push_data.py | 2 +- vrchatapi/models/info_push_data_article.py | 2 +- .../models/info_push_data_article_content.py | 2 +- vrchatapi/models/info_push_data_clickable.py | 2 +- vrchatapi/models/instance.py | 2 +- vrchatapi/models/instance_platforms.py | 2 +- vrchatapi/models/instance_region.py | 2 +- .../models/instance_short_name_response.py | 2 +- vrchatapi/models/instance_type.py | 2 +- vrchatapi/models/invite_message.py | 2 +- vrchatapi/models/invite_message_type.py | 2 +- vrchatapi/models/invite_request.py | 2 +- vrchatapi/models/invite_response.py | 2 +- vrchatapi/models/license.py | 2 +- vrchatapi/models/license_action.py | 2 +- vrchatapi/models/license_group.py | 2 +- vrchatapi/models/license_type.py | 2 +- vrchatapi/models/limited_group.py | 2 +- vrchatapi/models/limited_unity_package.py | 2 +- vrchatapi/models/limited_user.py | 2 +- vrchatapi/models/limited_user_groups.py | 2 +- vrchatapi/models/limited_world.py | 2 +- vrchatapi/models/mime_type.py | 2 +- vrchatapi/models/moderate_user_request.py | 2 +- vrchatapi/models/notification.py | 2 +- .../models/notification_detail_invite.py | 2 +- .../notification_detail_invite_response.py | 2 +- .../notification_detail_request_invite.py | 2 +- ...fication_detail_request_invite_response.py | 2 +- .../notification_detail_vote_to_kick.py | 2 +- vrchatapi/models/notification_type.py | 2 +- vrchatapi/models/order_option.py | 2 +- .../paginated_group_audit_log_entry_list.py | 2 +- vrchatapi/models/past_display_name.py | 2 +- vrchatapi/models/permission.py | 2 +- vrchatapi/models/player_moderation.py | 2 +- vrchatapi/models/player_moderation_type.py | 2 +- vrchatapi/models/region.py | 5 +- vrchatapi/models/release_status.py | 2 +- vrchatapi/models/represented_group.py | 2 +- vrchatapi/models/request_invite_request.py | 2 +- .../models/respond_group_join_request.py | 2 +- vrchatapi/models/response.py | 2 +- vrchatapi/models/sent_notification.py | 2 +- vrchatapi/models/sort_option.py | 2 +- vrchatapi/models/subscription.py | 8 +- vrchatapi/models/subscription_period.py | 2 +- vrchatapi/models/success.py | 2 +- vrchatapi/models/transaction.py | 2 +- vrchatapi/models/transaction_agreement.py | 26 ++-- vrchatapi/models/transaction_status.py | 2 +- vrchatapi/models/transaction_steam_info.py | 2 +- .../models/transaction_steam_wallet_info.py | 2 +- vrchatapi/models/two_factor_auth_code.py | 2 +- vrchatapi/models/two_factor_email_code.py | 2 +- vrchatapi/models/unity_package.py | 30 ++++- vrchatapi/models/update_avatar_request.py | 8 +- .../models/update_favorite_group_request.py | 2 +- .../models/update_group_gallery_request.py | 2 +- .../models/update_group_member_request.py | 2 +- vrchatapi/models/update_group_request.py | 2 +- vrchatapi/models/update_group_role_request.py | 2 +- .../models/update_invite_message_request.py | 2 +- vrchatapi/models/update_user_request.py | 8 +- vrchatapi/models/update_world_request.py | 2 +- vrchatapi/models/user.py | 34 ++++- vrchatapi/models/user_exists.py | 2 +- vrchatapi/models/user_state.py | 2 +- vrchatapi/models/user_status.py | 2 +- vrchatapi/models/user_subscription.py | 8 +- .../models/verify2_fa_email_code_result.py | 2 +- vrchatapi/models/verify2_fa_result.py | 2 +- vrchatapi/models/verify_auth_token_result.py | 2 +- vrchatapi/models/world.py | 2 +- vrchatapi/models/world_metadata.py | 2 +- vrchatapi/models/world_publish_status.py | 2 +- vrchatapi/rest.py | 2 +- 177 files changed, 472 insertions(+), 280 deletions(-) diff --git a/docs/CreateAvatarRequest.md b/docs/CreateAvatarRequest.md index bdbb34c6..fd13fa65 100644 --- a/docs/CreateAvatarRequest.md +++ b/docs/CreateAvatarRequest.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes **tags** | **list[str]** | | [optional] **image_url** | **str** | | **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | [optional] -**version** | **float** | | [optional] [default to 1] +**version** | **int** | | [optional] [default to 1] **unity_package_url** | **str** | | [optional] **unity_version** | **str** | | [optional] [default to '5.3.4p1'] diff --git a/docs/CreateFileVersionRequest.md b/docs/CreateFileVersionRequest.md index ecd8d416..3ad87dc1 100644 --- a/docs/CreateFileVersionRequest.md +++ b/docs/CreateFileVersionRequest.md @@ -5,9 +5,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **signature_md5** | **str** | | -**signature_size_in_bytes** | **float** | | +**signature_size_in_bytes** | **int** | | **file_md5** | **str** | | [optional] -**file_size_in_bytes** | **float** | | [optional] +**file_size_in_bytes** | **int** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CurrentUser.md b/docs/CurrentUser.md index 24f7b1af..94865c2c 100644 --- a/docs/CurrentUser.md +++ b/docs/CurrentUser.md @@ -55,6 +55,8 @@ Name | Type | Description | Notes **profile_pic_override** | **str** | | **profile_pic_override_thumbnail** | **str** | | **pronouns** | **str** | | +**queued_instance** | **str** | | [optional] +**receive_mobile_invitations** | **bool** | | [optional] **state** | [**UserState**](UserState.md) | | **status** | [**UserStatus**](UserStatus.md) | | **status_description** | **str** | | diff --git a/docs/CurrentUserPresence.md b/docs/CurrentUserPresence.md index d54d9292..255f7f68 100644 --- a/docs/CurrentUserPresence.md +++ b/docs/CurrentUserPresence.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **avatar_thumbnail** | **str** | | [optional] +**current_avatar_tags** | **str** | | [optional] **display_name** | **str** | | [optional] **groups** | **list[str]** | | [optional] **id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] @@ -16,6 +17,7 @@ Name | Type | Description | Notes **status** | **str** | either a UserStatus or empty string | [optional] **traveling_to_instance** | **str** | | [optional] **traveling_to_world** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | [optional] +**user_icon** | **str** | | [optional] **world** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FileVersionUploadStatus.md b/docs/FileVersionUploadStatus.md index d3c4bdf3..9a74e8e5 100644 --- a/docs/FileVersionUploadStatus.md +++ b/docs/FileVersionUploadStatus.md @@ -7,8 +7,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **upload_id** | **str** | | **file_name** | **str** | | -**next_part_number** | **float** | | -**max_parts** | **float** | | +**next_part_number** | **int** | | +**max_parts** | **int** | | **parts** | **list[object]** | | **etags** | **list[object]** | Unknown | diff --git a/docs/GroupsApi.md b/docs/GroupsApi.md index dafe40c8..6418b63c 100644 --- a/docs/GroupsApi.md +++ b/docs/GroupsApi.md @@ -1987,7 +1987,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_group_members** -> list[GroupMember] get_group_members(group_id, n=n, offset=offset, sort=sort) +> list[GroupMember] get_group_members(group_id, n=n, offset=offset, sort=sort, role_id=role_id) List Group Members @@ -2027,10 +2027,11 @@ with vrchatapi.ApiClient(configuration) as api_client: n = 60 # int | The number of objects to return. (optional) (default to 60) offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) sort = vrchatapi.GroupSearchSort() # GroupSearchSort | The sort order of Group Member results (optional) +role_id = 'role_id_example' # str | Only returns members with a specific groupRoleId (optional) try: # List Group Members - api_response = api_instance.get_group_members(group_id, n=n, offset=offset, sort=sort) + api_response = api_instance.get_group_members(group_id, n=n, offset=offset, sort=sort, role_id=role_id) pprint(api_response) except ApiException as e: print("Exception when calling GroupsApi->get_group_members: %s\n" % e) @@ -2044,6 +2045,7 @@ Name | Type | Description | Notes **n** | **int**| The number of objects to return. | [optional] [default to 60] **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] **sort** | [**GroupSearchSort**](.md)| The sort order of Group Member results | [optional] + **role_id** | **str**| Only returns members with a specific groupRoleId | [optional] ### Return type diff --git a/docs/Subscription.md b/docs/Subscription.md index f6fb374e..c49839b0 100644 --- a/docs/Subscription.md +++ b/docs/Subscription.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes **amount** | **float** | | **description** | **str** | | **period** | [**SubscriptionPeriod**](SubscriptionPeriod.md) | | -**tier** | **float** | | +**tier** | **int** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/TransactionAgreement.md b/docs/TransactionAgreement.md index 79e18604..3e952af7 100644 --- a/docs/TransactionAgreement.md +++ b/docs/TransactionAgreement.md @@ -6,11 +6,11 @@ Represents a single Transaction, which is likely between VRChat and Steam. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **agreement_id** | **str** | | -**item_id** | **float** | | +**item_id** | **int** | | **agreement** | **str** | | **status** | **str** | This is NOT TransactionStatus, but whatever Steam return. | **period** | **str** | | -**frequency** | **float** | | +**frequency** | **int** | | **billing_type** | **str** | | **start_date** | **str** | | **end_date** | **str** | | @@ -21,8 +21,8 @@ Name | Type | Description | Notes **last_payment** | **str** | | **last_amount** | **float** | | **last_amount_vat** | **float** | | -**outstanding** | **float** | | -**failed_attempts** | **float** | | +**outstanding** | **int** | | +**failed_attempts** | **int** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UnityPackage.md b/docs/UnityPackage.md index afcf0758..bbb74a70 100644 --- a/docs/UnityPackage.md +++ b/docs/UnityPackage.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **asset_url_object** | **object** | | [optional] **asset_version** | **int** | | **created_at** | **datetime** | | [optional] +**impostorizer_version** | **str** | | [optional] **platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | **plugin_url** | **str** | | [optional] **plugin_url_object** | **object** | | [optional] diff --git a/docs/UpdateAvatarRequest.md b/docs/UpdateAvatarRequest.md index b5008386..7b0b5b5b 100644 --- a/docs/UpdateAvatarRequest.md +++ b/docs/UpdateAvatarRequest.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes **tags** | **list[str]** | | [optional] **image_url** | **str** | | [optional] **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | [optional] -**version** | **float** | | [optional] [default to 1] +**version** | **int** | | [optional] [default to 1] **unity_package_url** | **str** | | [optional] **unity_version** | **str** | | [optional] [default to '5.3.4p1'] diff --git a/docs/UpdateUserRequest.md b/docs/UpdateUserRequest.md index 48cca608..680ded9a 100644 --- a/docs/UpdateUserRequest.md +++ b/docs/UpdateUserRequest.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **email** | **str** | | [optional] **birthday** | **date** | | [optional] -**accepted_tos_version** | **float** | | [optional] +**accepted_tos_version** | **int** | | [optional] **tags** | **list[str]** | | [optional] **status** | [**UserStatus**](UserStatus.md) | | [optional] **status_description** | **str** | | [optional] diff --git a/docs/User.md b/docs/User.md index 3249ee7a..d1bf3169 100644 --- a/docs/User.md +++ b/docs/User.md @@ -21,10 +21,11 @@ Name | Type | Description | Notes **is_friend** | **bool** | Either their `friendKey`, or empty string if you are not friends. Unknown usage. | **last_activity** | **str** | Either a date-time or empty string. | **last_login** | **str** | Either a date-time or empty string. | +**last_mobile** | **str** | | [optional] **last_platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | **location** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | [optional] **note** | **str** | | [optional] -**platform** | **str** | | +**platform** | **str** | | [optional] **profile_pic_override** | **str** | | **profile_pic_override_thumbnail** | **str** | | **pronouns** | **str** | | diff --git a/docs/UserSubscription.md b/docs/UserSubscription.md index 3474550a..3d3ddf79 100644 --- a/docs/UserSubscription.md +++ b/docs/UserSubscription.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes **amount** | **float** | | **description** | **str** | | **period** | [**SubscriptionPeriod**](SubscriptionPeriod.md) | | -**tier** | **float** | | +**tier** | **int** | | **active** | **bool** | | [default to True] **status** | [**TransactionStatus**](TransactionStatus.md) | | **starts** | **str** | | [optional] diff --git a/package-lock.json b/package-lock.json index 9abfd703..27ac41ff 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.13.5" + "@openapitools/openapi-generator-cli": "^2.13.9" } }, "node_modules/@lukeed/csprng": { @@ -17,9 +17,9 @@ } }, "node_modules/@nestjs/axios": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@nestjs/axios/-/axios-3.0.2.tgz", - "integrity": "sha512-Z6GuOUdNQjP7FX+OuV2Ybyamse+/e0BFdTWBX5JxpBDKA+YkdLynDgG6HTF04zy6e9zPa19UX0WA2VDoehwhXQ==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@nestjs/axios/-/axios-3.0.3.tgz", + "integrity": "sha512-h6TCn3yJwD6OKqqqfmtRS5Zo4E46Ip2n+gK1sqwzNBC+qxQ9xpCu+ODVRFur6V3alHSCSBxb3nNtt73VEdluyA==", "peerDependencies": { "@nestjs/common": "^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0", "axios": "^1.3.1", @@ -27,12 +27,12 @@ } }, "node_modules/@nestjs/common": { - "version": "10.3.0", - "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-10.3.0.tgz", - "integrity": "sha512-DGv34UHsZBxCM3H5QGE2XE/+oLJzz5+714JQjBhjD9VccFlQs3LRxo/epso4l7nJIiNlZkPyIUC8WzfU/5RTsQ==", + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-10.4.3.tgz", + "integrity": "sha512-4hbLd3XIJubHSylYd/1WSi4VQvG68KM/ECYpMDqA3k3J1/T17SAg40sDoq3ZoO5OZgU0xuNyjuISdOTjs11qVg==", "dependencies": { "iterare": "1.2.1", - "tslib": "2.6.2", + "tslib": "2.7.0", "uid": "2.0.2" }, "funding": { @@ -42,7 +42,7 @@ "peerDependencies": { "class-transformer": "*", "class-validator": "*", - "reflect-metadata": "^0.1.12", + "reflect-metadata": "^0.1.12 || ^0.2.0", "rxjs": "^7.1.0" }, "peerDependenciesMeta": { @@ -54,17 +54,22 @@ } } }, + "node_modules/@nestjs/common/node_modules/tslib": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", + "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==" + }, "node_modules/@nestjs/core": { - "version": "10.3.0", - "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-10.3.0.tgz", - "integrity": "sha512-N06P5ncknW/Pm8bj964WvLIZn2gNhHliCBoAO1LeBvNImYkecqKcrmLbY49Fa1rmMfEM3MuBHeDys3edeuYAOA==", + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-10.4.3.tgz", + "integrity": "sha512-6OQz+5C8mT8yRtfvE5pPCq+p6w5jDot+oQku1KzQ24ABn+lay1KGuJwcKZhdVNuselx+8xhdMxknZTA8wrGLIg==", "hasInstallScript": true, "dependencies": { "@nuxtjs/opencollective": "0.3.2", "fast-safe-stringify": "2.1.1", "iterare": "1.2.1", - "path-to-regexp": "3.2.0", - "tslib": "2.6.2", + "path-to-regexp": "3.3.0", + "tslib": "2.7.0", "uid": "2.0.2" }, "funding": { @@ -76,7 +81,7 @@ "@nestjs/microservices": "^10.0.0", "@nestjs/platform-express": "^10.0.0", "@nestjs/websockets": "^10.0.0", - "reflect-metadata": "^0.1.12", + "reflect-metadata": "^0.1.12 || ^0.2.0", "rxjs": "^7.1.0" }, "peerDependenciesMeta": { @@ -91,6 +96,11 @@ } } }, + "node_modules/@nestjs/core/node_modules/tslib": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", + "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==" + }, "node_modules/@nuxtjs/opencollective": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/@nuxtjs/opencollective/-/opencollective-0.3.2.tgz", @@ -109,14 +119,14 @@ } }, "node_modules/@openapitools/openapi-generator-cli": { - "version": "2.13.5", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.13.5.tgz", - "integrity": "sha512-9VgeKOTiiatKSwZDKKB3C86cW8tN9eDcFohotD4eisdK38UQswk/4Ysoq9KChRCbymjoMp6AIDHPtK1DQ2fTgw==", + "version": "2.13.9", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.13.9.tgz", + "integrity": "sha512-GJaWGcHmLsvj/G1mRDytm9PTDwRGSYUDTf1uA/2FYxQAb5sq4nkZz1tD4Z7qDlZ3xTYSTw4Z8BQUdlsnrA8rcw==", "hasInstallScript": true, "dependencies": { - "@nestjs/axios": "3.0.2", - "@nestjs/common": "10.3.0", - "@nestjs/core": "10.3.0", + "@nestjs/axios": "3.0.3", + "@nestjs/common": "10.4.3", + "@nestjs/core": "10.4.3", "@nuxtjs/opencollective": "0.3.2", "axios": "1.7.4", "chalk": "4.1.2", @@ -558,9 +568,9 @@ } }, "node_modules/follow-redirects": { - "version": "1.15.6", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", - "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==", + "version": "1.15.9", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz", + "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==", "funding": [ { "type": "individual", @@ -935,9 +945,9 @@ } }, "node_modules/path-to-regexp": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-3.2.0.tgz", - "integrity": "sha512-jczvQbCUS7XmS7o+y1aEO9OBVFeZBQ1MDSEqmO7xSoPgOPoowY/SxLpZ6Vh97/8qHZOteiCKb7gkG9gA2ZUxJA==" + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-3.3.0.tgz", + "integrity": "sha512-qyCH421YQPS2WFDxDjftfc1ZR5WKQzVzqsp4n9M2kQhVOo/ByahFoUNJfl58kOcEGfQ//7weFTDhm+ss8Ecxgw==" }, "node_modules/proxy-from-env": { "version": "1.1.0", @@ -1228,32 +1238,46 @@ "integrity": "sha512-Z7C/xXCiGWsg0KuKsHTKJxbWhpI3Vs5GwLfOean7MGyVFGqdRgBbAjOCh6u4bbjPc/8MJ2pZmK/0DLdCbivLDA==" }, "@nestjs/axios": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@nestjs/axios/-/axios-3.0.2.tgz", - "integrity": "sha512-Z6GuOUdNQjP7FX+OuV2Ybyamse+/e0BFdTWBX5JxpBDKA+YkdLynDgG6HTF04zy6e9zPa19UX0WA2VDoehwhXQ==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@nestjs/axios/-/axios-3.0.3.tgz", + "integrity": "sha512-h6TCn3yJwD6OKqqqfmtRS5Zo4E46Ip2n+gK1sqwzNBC+qxQ9xpCu+ODVRFur6V3alHSCSBxb3nNtt73VEdluyA==", "requires": {} }, "@nestjs/common": { - "version": "10.3.0", - "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-10.3.0.tgz", - "integrity": "sha512-DGv34UHsZBxCM3H5QGE2XE/+oLJzz5+714JQjBhjD9VccFlQs3LRxo/epso4l7nJIiNlZkPyIUC8WzfU/5RTsQ==", + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-10.4.3.tgz", + "integrity": "sha512-4hbLd3XIJubHSylYd/1WSi4VQvG68KM/ECYpMDqA3k3J1/T17SAg40sDoq3ZoO5OZgU0xuNyjuISdOTjs11qVg==", "requires": { "iterare": "1.2.1", - "tslib": "2.6.2", + "tslib": "2.7.0", "uid": "2.0.2" + }, + "dependencies": { + "tslib": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", + "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==" + } } }, "@nestjs/core": { - "version": "10.3.0", - "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-10.3.0.tgz", - "integrity": "sha512-N06P5ncknW/Pm8bj964WvLIZn2gNhHliCBoAO1LeBvNImYkecqKcrmLbY49Fa1rmMfEM3MuBHeDys3edeuYAOA==", + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-10.4.3.tgz", + "integrity": "sha512-6OQz+5C8mT8yRtfvE5pPCq+p6w5jDot+oQku1KzQ24ABn+lay1KGuJwcKZhdVNuselx+8xhdMxknZTA8wrGLIg==", "requires": { "@nuxtjs/opencollective": "0.3.2", "fast-safe-stringify": "2.1.1", "iterare": "1.2.1", - "path-to-regexp": "3.2.0", - "tslib": "2.6.2", + "path-to-regexp": "3.3.0", + "tslib": "2.7.0", "uid": "2.0.2" + }, + "dependencies": { + "tslib": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", + "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==" + } } }, "@nuxtjs/opencollective": { @@ -1267,13 +1291,13 @@ } }, "@openapitools/openapi-generator-cli": { - "version": "2.13.5", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.13.5.tgz", - "integrity": "sha512-9VgeKOTiiatKSwZDKKB3C86cW8tN9eDcFohotD4eisdK38UQswk/4Ysoq9KChRCbymjoMp6AIDHPtK1DQ2fTgw==", + "version": "2.13.9", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.13.9.tgz", + "integrity": "sha512-GJaWGcHmLsvj/G1mRDytm9PTDwRGSYUDTf1uA/2FYxQAb5sq4nkZz1tD4Z7qDlZ3xTYSTw4Z8BQUdlsnrA8rcw==", "requires": { - "@nestjs/axios": "3.0.2", - "@nestjs/common": "10.3.0", - "@nestjs/core": "10.3.0", + "@nestjs/axios": "3.0.3", + "@nestjs/common": "10.4.3", + "@nestjs/core": "10.4.3", "@nuxtjs/opencollective": "0.3.2", "axios": "1.7.4", "chalk": "4.1.2", @@ -1580,9 +1604,9 @@ } }, "follow-redirects": { - "version": "1.15.6", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", - "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==" + "version": "1.15.9", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz", + "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==" }, "form-data": { "version": "4.0.0", @@ -1837,9 +1861,9 @@ "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==" }, "path-to-regexp": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-3.2.0.tgz", - "integrity": "sha512-jczvQbCUS7XmS7o+y1aEO9OBVFeZBQ1MDSEqmO7xSoPgOPoowY/SxLpZ6Vh97/8qHZOteiCKb7gkG9gA2ZUxJA==" + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-3.3.0.tgz", + "integrity": "sha512-qyCH421YQPS2WFDxDjftfc1ZR5WKQzVzqsp4n9M2kQhVOo/ByahFoUNJfl58kOcEGfQ//7weFTDhm+ss8Ecxgw==" }, "proxy-from-env": { "version": "1.1.0", diff --git a/package.json b/package.json index b3ec07c5..db198dad 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.13.5" + "@openapitools/openapi-generator-cli": "^2.13.9" } } diff --git a/setup.py b/setup.py index 98496ad2..e91e398b 100644 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.18.1" +VERSION = "1.18.4" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index d2baa11e..100a52d6 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,7 +6,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index 80cab402..07ea76d2 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index f59c683c..49ddcf06 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index dbd3d1e7..a8d1aaea 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index e94b17d5..451e356e 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index e6d6b662..4a2ecd5a 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index 61c2e814..45e2c335 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index 9e5ba04d..4290ff0f 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -3872,6 +3872,8 @@ def get_group_members(self, group_id, **kwargs): # noqa: E501 :type offset: int :param sort: The sort order of Group Member results :type sort: GroupSearchSort + :param role_id: Only returns members with a specific groupRoleId + :type role_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -3908,6 +3910,8 @@ def get_group_members_with_http_info(self, group_id, **kwargs): # noqa: E501 :type offset: int :param sort: The sort order of Group Member results :type sort: GroupSearchSort + :param role_id: Only returns members with a specific groupRoleId + :type role_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -3938,7 +3942,8 @@ def get_group_members_with_http_info(self, group_id, **kwargs): # noqa: E501 'group_id', 'n', 'offset', - 'sort' + 'sort', + 'role_id' ] all_params.extend( [ @@ -3983,6 +3988,8 @@ def get_group_members_with_http_info(self, group_id, **kwargs): # noqa: E501 query_params.append(('offset', local_var_params['offset'])) # noqa: E501 if local_var_params.get('sort') is not None: # noqa: E501 query_params.append(('sort', local_var_params['sort'])) # noqa: E501 + if local_var_params.get('role_id') is not None: # noqa: E501 + query_params.append(('roleId', local_var_params['role_id'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index c4063d10..bf0697a0 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index 589a4c27..67ebf721 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index d72aea9a..a2a0432c 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index f6b4e14c..ee48a166 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index 11535bc2..bd699852 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index 4a301e7f..32b75e49 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index 567ba3f5..894ad77e 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 1e2b24cc..40130843 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index 9c54cb58..6373709c 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,7 +3,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index 8f0ddb45..b1ca6a4c 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -441,7 +441,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.18.1\n"\ + "Version of the API: 1.18.4\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index be441a2a..fd919dea 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index b44fdc93..43e859d9 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,7 +5,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/account_deletion_log.py b/vrchatapi/models/account_deletion_log.py index ee2380a3..d6e8e5e6 100644 --- a/vrchatapi/models/account_deletion_log.py +++ b/vrchatapi/models/account_deletion_log.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index dd109de4..0c12674a 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index 6fe92df1..124ae7d7 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index 3ff20347..e1fa98f5 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index cbb8680b..5e315964 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index 22b5826e..426ba3d8 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index b9d4f88b..4833931c 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index 89c2ae9d..726fe55f 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index cb6f8647..d9ee3fa6 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index fb375570..1af23117 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/badge.py b/vrchatapi/models/badge.py index 859a4fd4..ab621739 100644 --- a/vrchatapi/models/badge.py +++ b/vrchatapi/models/badge.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index 6f930cc4..e6c2d859 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index 10fd1bcd..4aecb3f1 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -43,7 +43,7 @@ class CreateAvatarRequest(object): 'tags': 'list[str]', 'image_url': 'str', 'release_status': 'ReleaseStatus', - 'version': 'float', + 'version': 'int', 'unity_package_url': 'str', 'unity_version': 'str' } @@ -266,7 +266,7 @@ def version(self): :return: The version of this CreateAvatarRequest. # noqa: E501 - :rtype: float + :rtype: int """ return self._version @@ -276,7 +276,7 @@ def version(self, version): :param version: The version of this CreateAvatarRequest. # noqa: E501 - :type version: float + :type version: int """ if (self.local_vars_configuration.client_side_validation and version is not None and version < 0): # noqa: E501 diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index 91816a94..46fab192 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index 1828bb3c..f94c354b 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -37,9 +37,9 @@ class CreateFileVersionRequest(object): """ openapi_types = { 'signature_md5': 'str', - 'signature_size_in_bytes': 'float', + 'signature_size_in_bytes': 'int', 'file_md5': 'str', - 'file_size_in_bytes': 'float' + 'file_size_in_bytes': 'int' } attribute_map = { @@ -100,7 +100,7 @@ def signature_size_in_bytes(self): :return: The signature_size_in_bytes of this CreateFileVersionRequest. # noqa: E501 - :rtype: float + :rtype: int """ return self._signature_size_in_bytes @@ -110,7 +110,7 @@ def signature_size_in_bytes(self, signature_size_in_bytes): :param signature_size_in_bytes: The signature_size_in_bytes of this CreateFileVersionRequest. # noqa: E501 - :type signature_size_in_bytes: float + :type signature_size_in_bytes: int """ if self.local_vars_configuration.client_side_validation and signature_size_in_bytes is None: # noqa: E501 raise ValueError("Invalid value for `signature_size_in_bytes`, must not be `None`") # noqa: E501 @@ -147,7 +147,7 @@ def file_size_in_bytes(self): :return: The file_size_in_bytes of this CreateFileVersionRequest. # noqa: E501 - :rtype: float + :rtype: int """ return self._file_size_in_bytes @@ -157,7 +157,7 @@ def file_size_in_bytes(self, file_size_in_bytes): :param file_size_in_bytes: The file_size_in_bytes of this CreateFileVersionRequest. # noqa: E501 - :type file_size_in_bytes: float + :type file_size_in_bytes: int """ self._file_size_in_bytes = file_size_in_bytes diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index 747aab74..c879f1bf 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index 164e752a..f9c1af42 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index ba66b3c2..f479012b 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_post_request.py b/vrchatapi/models/create_group_post_request.py index 9d9cedbd..2a4a6489 100644 --- a/vrchatapi/models/create_group_post_request.py +++ b/vrchatapi/models/create_group_post_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index 07883b44..24e66b84 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index 586584ca..1c0fa680 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_instance_request.py b/vrchatapi/models/create_instance_request.py index 818882e1..7569b524 100644 --- a/vrchatapi/models/create_instance_request.py +++ b/vrchatapi/models/create_instance_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index 78d45fc4..72ae32b0 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index 4474e358..e801e578 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -87,6 +87,8 @@ class CurrentUser(object): 'profile_pic_override': 'str', 'profile_pic_override_thumbnail': 'str', 'pronouns': 'str', + 'queued_instance': 'str', + 'receive_mobile_invitations': 'bool', 'state': 'UserState', 'status': 'UserStatus', 'status_description': 'str', @@ -155,6 +157,8 @@ class CurrentUser(object): 'profile_pic_override': 'profilePicOverride', 'profile_pic_override_thumbnail': 'profilePicOverrideThumbnail', 'pronouns': 'pronouns', + 'queued_instance': 'queuedInstance', + 'receive_mobile_invitations': 'receiveMobileInvitations', 'state': 'state', 'status': 'status', 'status_description': 'statusDescription', @@ -171,7 +175,7 @@ class CurrentUser(object): 'username': 'username' } - def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, account_deletion_date=None, account_deletion_log=None, active_friends=None, allow_avatar_copying=None, badges=None, bio=None, bio_links=None, current_avatar=None, current_avatar_asset_url=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, date_joined=None, developer_type=None, display_name=None, email_verified=None, fallback_avatar=None, friend_group_names=None, friend_key=None, friends=None, has_birthday=None, hide_content_filter_settings=None, user_language=None, user_language_code=None, has_email=None, has_logged_in_from_client=None, has_pending_email=None, home_location=None, id=None, is_booping_enabled=True, is_friend=False, last_activity=None, last_login=None, last_mobile=None, last_platform=None, obfuscated_email=None, obfuscated_pending_email=None, oculus_id=None, google_id=None, google_details=None, pico_id=None, vive_id=None, offline_friends=None, online_friends=None, past_display_names=None, presence=None, profile_pic_override=None, profile_pic_override_thumbnail=None, pronouns=None, state=None, status=None, status_description=None, status_first_time=None, status_history=None, steam_details=None, steam_id=None, tags=None, two_factor_auth_enabled=None, two_factor_auth_enabled_date=None, unsubscribe=None, updated_at=None, user_icon=None, username=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, account_deletion_date=None, account_deletion_log=None, active_friends=None, allow_avatar_copying=None, badges=None, bio=None, bio_links=None, current_avatar=None, current_avatar_asset_url=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, date_joined=None, developer_type=None, display_name=None, email_verified=None, fallback_avatar=None, friend_group_names=None, friend_key=None, friends=None, has_birthday=None, hide_content_filter_settings=None, user_language=None, user_language_code=None, has_email=None, has_logged_in_from_client=None, has_pending_email=None, home_location=None, id=None, is_booping_enabled=True, is_friend=False, last_activity=None, last_login=None, last_mobile=None, last_platform=None, obfuscated_email=None, obfuscated_pending_email=None, oculus_id=None, google_id=None, google_details=None, pico_id=None, vive_id=None, offline_friends=None, online_friends=None, past_display_names=None, presence=None, profile_pic_override=None, profile_pic_override_thumbnail=None, pronouns=None, queued_instance=None, receive_mobile_invitations=None, state=None, status=None, status_description=None, status_first_time=None, status_history=None, steam_details=None, steam_id=None, tags=None, two_factor_auth_enabled=None, two_factor_auth_enabled_date=None, unsubscribe=None, updated_at=None, user_icon=None, username=None, local_vars_configuration=None): # noqa: E501 """CurrentUser - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -228,6 +232,8 @@ def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, acc self._profile_pic_override = None self._profile_pic_override_thumbnail = None self._pronouns = None + self._queued_instance = None + self._receive_mobile_invitations = None self._state = None self._status = None self._status_description = None @@ -309,6 +315,9 @@ def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, acc self.profile_pic_override = profile_pic_override self.profile_pic_override_thumbnail = profile_pic_override_thumbnail self.pronouns = pronouns + self.queued_instance = queued_instance + if receive_mobile_invitations is not None: + self.receive_mobile_invitations = receive_mobile_invitations self.state = state self.status = status self.status_description = status_description @@ -1489,6 +1498,48 @@ def pronouns(self, pronouns): self._pronouns = pronouns + @property + def queued_instance(self): + """Gets the queued_instance of this CurrentUser. # noqa: E501 + + + :return: The queued_instance of this CurrentUser. # noqa: E501 + :rtype: str + """ + return self._queued_instance + + @queued_instance.setter + def queued_instance(self, queued_instance): + """Sets the queued_instance of this CurrentUser. + + + :param queued_instance: The queued_instance of this CurrentUser. # noqa: E501 + :type queued_instance: str + """ + + self._queued_instance = queued_instance + + @property + def receive_mobile_invitations(self): + """Gets the receive_mobile_invitations of this CurrentUser. # noqa: E501 + + + :return: The receive_mobile_invitations of this CurrentUser. # noqa: E501 + :rtype: bool + """ + return self._receive_mobile_invitations + + @receive_mobile_invitations.setter + def receive_mobile_invitations(self, receive_mobile_invitations): + """Sets the receive_mobile_invitations of this CurrentUser. + + + :param receive_mobile_invitations: The receive_mobile_invitations of this CurrentUser. # noqa: E501 + :type receive_mobile_invitations: bool + """ + + self._receive_mobile_invitations = receive_mobile_invitations + @property def state(self): """Gets the state of this CurrentUser. # noqa: E501 diff --git a/vrchatapi/models/current_user_presence.py b/vrchatapi/models/current_user_presence.py index 76cc41a6..8e5f6944 100644 --- a/vrchatapi/models/current_user_presence.py +++ b/vrchatapi/models/current_user_presence.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -37,6 +37,7 @@ class CurrentUserPresence(object): """ openapi_types = { 'avatar_thumbnail': 'str', + 'current_avatar_tags': 'str', 'display_name': 'str', 'groups': 'list[str]', 'id': 'str', @@ -48,11 +49,13 @@ class CurrentUserPresence(object): 'status': 'str', 'traveling_to_instance': 'str', 'traveling_to_world': 'str', + 'user_icon': 'str', 'world': 'str' } attribute_map = { 'avatar_thumbnail': 'avatarThumbnail', + 'current_avatar_tags': 'currentAvatarTags', 'display_name': 'displayName', 'groups': 'groups', 'id': 'id', @@ -64,16 +67,18 @@ class CurrentUserPresence(object): 'status': 'status', 'traveling_to_instance': 'travelingToInstance', 'traveling_to_world': 'travelingToWorld', + 'user_icon': 'userIcon', 'world': 'world' } - def __init__(self, avatar_thumbnail=None, display_name=None, groups=None, id=None, instance=None, instance_type=None, is_rejoining=None, platform=None, profile_pic_override=None, status=None, traveling_to_instance=None, traveling_to_world=None, world=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, avatar_thumbnail=None, current_avatar_tags=None, display_name=None, groups=None, id=None, instance=None, instance_type=None, is_rejoining=None, platform=None, profile_pic_override=None, status=None, traveling_to_instance=None, traveling_to_world=None, user_icon=None, world=None, local_vars_configuration=None): # noqa: E501 """CurrentUserPresence - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._avatar_thumbnail = None + self._current_avatar_tags = None self._display_name = None self._groups = None self._id = None @@ -85,10 +90,13 @@ def __init__(self, avatar_thumbnail=None, display_name=None, groups=None, id=Non self._status = None self._traveling_to_instance = None self._traveling_to_world = None + self._user_icon = None self._world = None self.discriminator = None self.avatar_thumbnail = avatar_thumbnail + if current_avatar_tags is not None: + self.current_avatar_tags = current_avatar_tags if display_name is not None: self.display_name = display_name self.groups = groups @@ -103,6 +111,7 @@ def __init__(self, avatar_thumbnail=None, display_name=None, groups=None, id=Non self.traveling_to_instance = traveling_to_instance if traveling_to_world is not None: self.traveling_to_world = traveling_to_world + self.user_icon = user_icon if world is not None: self.world = world @@ -127,6 +136,27 @@ def avatar_thumbnail(self, avatar_thumbnail): self._avatar_thumbnail = avatar_thumbnail + @property + def current_avatar_tags(self): + """Gets the current_avatar_tags of this CurrentUserPresence. # noqa: E501 + + + :return: The current_avatar_tags of this CurrentUserPresence. # noqa: E501 + :rtype: str + """ + return self._current_avatar_tags + + @current_avatar_tags.setter + def current_avatar_tags(self, current_avatar_tags): + """Sets the current_avatar_tags of this CurrentUserPresence. + + + :param current_avatar_tags: The current_avatar_tags of this CurrentUserPresence. # noqa: E501 + :type current_avatar_tags: str + """ + + self._current_avatar_tags = current_avatar_tags + @property def display_name(self): """Gets the display_name of this CurrentUserPresence. # noqa: E501 @@ -368,6 +398,27 @@ def traveling_to_world(self, traveling_to_world): self._traveling_to_world = traveling_to_world + @property + def user_icon(self): + """Gets the user_icon of this CurrentUserPresence. # noqa: E501 + + + :return: The user_icon of this CurrentUserPresence. # noqa: E501 + :rtype: str + """ + return self._user_icon + + @user_icon.setter + def user_icon(self, user_icon): + """Sets the user_icon of this CurrentUserPresence. + + + :param user_icon: The user_icon of this CurrentUserPresence. # noqa: E501 + :type user_icon: str + """ + + self._user_icon = user_icon + @property def world(self): """Gets the world of this CurrentUserPresence. # noqa: E501 diff --git a/vrchatapi/models/deployment_group.py b/vrchatapi/models/deployment_group.py index 3130d6a0..5411fd94 100644 --- a/vrchatapi/models/deployment_group.py +++ b/vrchatapi/models/deployment_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index 67bb7ad2..f8194484 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index 5206f04c..64dcf2c9 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index f6f9b98a..efe9221d 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index d36e5162..42cfb165 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index 748d1d42..72cab995 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index ca4fe8ec..a826e9c8 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index bea9c62b..e0d5aba6 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index ed4b50e2..e5500b4a 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index 52310e6e..116d09ad 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index c9fffb1f..f5c704f9 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index 27c5b818..00311e59 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index b6195262..caebc811 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index 5bab29e5..49e65d45 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -38,8 +38,8 @@ class FileVersionUploadStatus(object): openapi_types = { 'upload_id': 'str', 'file_name': 'str', - 'next_part_number': 'float', - 'max_parts': 'float', + 'next_part_number': 'int', + 'max_parts': 'int', 'parts': 'list[object]', 'etags': 'list[object]' } @@ -132,7 +132,7 @@ def next_part_number(self): :return: The next_part_number of this FileVersionUploadStatus. # noqa: E501 - :rtype: float + :rtype: int """ return self._next_part_number @@ -142,7 +142,7 @@ def next_part_number(self, next_part_number): :param next_part_number: The next_part_number of this FileVersionUploadStatus. # noqa: E501 - :type next_part_number: float + :type next_part_number: int """ if self.local_vars_configuration.client_side_validation and next_part_number is None: # noqa: E501 raise ValueError("Invalid value for `next_part_number`, must not be `None`") # noqa: E501 @@ -158,7 +158,7 @@ def max_parts(self): :return: The max_parts of this FileVersionUploadStatus. # noqa: E501 - :rtype: float + :rtype: int """ return self._max_parts @@ -168,7 +168,7 @@ def max_parts(self, max_parts): :param max_parts: The max_parts of this FileVersionUploadStatus. # noqa: E501 - :type max_parts: float + :type max_parts: int """ if self.local_vars_configuration.client_side_validation and max_parts is None: # noqa: E501 raise ValueError("Invalid value for `max_parts`, must not be `None`") # noqa: E501 diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index d72e2062..1e1a6644 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index 74dbc260..9835c61c 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index 408dd6ba..b9558e75 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_access_type.py b/vrchatapi/models/group_access_type.py index 81c57e6a..742bf6d7 100644 --- a/vrchatapi/models/group_access_type.py +++ b/vrchatapi/models/group_access_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index fa4743c8..7a39389f 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index b4b25b06..d831a1f0 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index 2b0e7c79..385d9a21 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index ba41d508..56ded69e 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_instance.py b/vrchatapi/models/group_instance.py index b83e788b..5c9a2bbc 100644 --- a/vrchatapi/models/group_instance.py +++ b/vrchatapi/models/group_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_request_action.py b/vrchatapi/models/group_join_request_action.py index 38a0d5c9..c7416716 100644 --- a/vrchatapi/models/group_join_request_action.py +++ b/vrchatapi/models/group_join_request_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index 4a25d08b..8e8f8e80 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index 6bd54aac..5e103184 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index 8d02a7b2..3f42fca8 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index 5ece8e17..3966048f 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index 77fc854c..340080eb 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index f71e5d69..5b9460e8 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index fd890d53..362a239e 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post.py b/vrchatapi/models/group_post.py index 2e4e3659..d7a86804 100644 --- a/vrchatapi/models/group_post.py +++ b/vrchatapi/models/group_post.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post_visibility.py b/vrchatapi/models/group_post_visibility.py index ca7dd033..d14b6b28 100644 --- a/vrchatapi/models/group_post_visibility.py +++ b/vrchatapi/models/group_post_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index 02fbeb98..5dbec0cf 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index 07d48d23..aa51b144 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index 55da4f6a..220b2628 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_search_sort.py b/vrchatapi/models/group_search_sort.py index 56b5bd2c..f800a1d4 100644 --- a/vrchatapi/models/group_search_sort.py +++ b/vrchatapi/models/group_search_sort.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index f135dc49..336bff37 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index 52caab9e..b07122d7 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index 9a2e880a..aa302a65 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index cdaad161..733a12e7 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index 7d93d5cc..e91fc959 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index 2b34d531..02249e74 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index abb01937..b59f5b34 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index fbad9f37..f5b9026c 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_region.py b/vrchatapi/models/instance_region.py index 90fd11f0..bd6d6141 100644 --- a/vrchatapi/models/instance_region.py +++ b/vrchatapi/models/instance_region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index f541e808..f2baf757 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index dfc44c24..6c0a2fb4 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index f5aa4f81..6f1b0bcb 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index 1d86244e..a9dba079 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index 6a10e53d..480b75ef 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index 4ebe559e..2bb4d2f3 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index fff992d3..09bc424f 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index 059b162a..1b97192b 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index 5dee72af..74e8c04e 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index fb8e05b3..37007d8e 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_group.py b/vrchatapi/models/limited_group.py index 7fa40279..da53f2d9 100644 --- a/vrchatapi/models/limited_group.py +++ b/vrchatapi/models/limited_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index dfaf4b12..e824afbc 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user.py b/vrchatapi/models/limited_user.py index 7bd441e9..b2be821d 100644 --- a/vrchatapi/models/limited_user.py +++ b/vrchatapi/models/limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user_groups.py b/vrchatapi/models/limited_user_groups.py index 19d731c6..fa846ad1 100644 --- a/vrchatapi/models/limited_user_groups.py +++ b/vrchatapi/models/limited_user_groups.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index 225fb874..e2065d61 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index a65271b9..489e3b6a 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index 5d56b079..cdcc5ded 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index a0a5d74a..24aab85d 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite.py b/vrchatapi/models/notification_detail_invite.py index e75e118c..73659550 100644 --- a/vrchatapi/models/notification_detail_invite.py +++ b/vrchatapi/models/notification_detail_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite_response.py b/vrchatapi/models/notification_detail_invite_response.py index 9cf205b0..341d957e 100644 --- a/vrchatapi/models/notification_detail_invite_response.py +++ b/vrchatapi/models/notification_detail_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite.py b/vrchatapi/models/notification_detail_request_invite.py index 4467b378..d2c861da 100644 --- a/vrchatapi/models/notification_detail_request_invite.py +++ b/vrchatapi/models/notification_detail_request_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite_response.py b/vrchatapi/models/notification_detail_request_invite_response.py index a7f03ce3..f47a33a1 100644 --- a/vrchatapi/models/notification_detail_request_invite_response.py +++ b/vrchatapi/models/notification_detail_request_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_vote_to_kick.py b/vrchatapi/models/notification_detail_vote_to_kick.py index 4aa2b112..f4050e17 100644 --- a/vrchatapi/models/notification_detail_vote_to_kick.py +++ b/vrchatapi/models/notification_detail_vote_to_kick.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index b3419d8d..150c1af6 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index cfdbd17e..b6a97585 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index dfb68e40..9d5cf710 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index 39e63a19..b8e09462 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index 47f1eb6c..e4d7e252 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index 8676c83a..924c8451 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index 9fcfa9b9..53d4d605 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index ecd661bc..455f7220 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -34,11 +34,12 @@ class Region(object): US = "us" USE = "use" USW = "usw" + USX = "usx" EU = "eu" JP = "jp" UNKNOWN = "unknown" - allowable_values = [US, USE, USW, EU, JP, UNKNOWN] # noqa: E501 + allowable_values = [US, USE, USW, USX, EU, JP, UNKNOWN] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index 93dfb906..34ac8d6e 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/represented_group.py b/vrchatapi/models/represented_group.py index d1e04957..e70f24a6 100644 --- a/vrchatapi/models/represented_group.py +++ b/vrchatapi/models/represented_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index 03c92301..8c8c46cc 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index 9c58bd3d..35eedee6 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index bc412881..1a2f3ad6 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index f22bb530..7c8e2e47 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index e1e3b14c..52fd1876 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index 3af2316d..275fde53 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -45,7 +45,7 @@ class Subscription(object): 'amount': 'float', 'description': 'str', 'period': 'SubscriptionPeriod', - 'tier': 'float' + 'tier': 'int' } attribute_map = { @@ -314,7 +314,7 @@ def tier(self): :return: The tier of this Subscription. # noqa: E501 - :rtype: float + :rtype: int """ return self._tier @@ -324,7 +324,7 @@ def tier(self, tier): :param tier: The tier of this Subscription. # noqa: E501 - :type tier: float + :type tier: int """ if self.local_vars_configuration.client_side_validation and tier is None: # noqa: E501 raise ValueError("Invalid value for `tier`, must not be `None`") # noqa: E501 diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index 70f87fae..c349f09b 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index c03a2b07..19560ad3 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index 35285a03..797b5fe5 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index d4f02d9a..7afcf8ae 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -37,11 +37,11 @@ class TransactionAgreement(object): """ openapi_types = { 'agreement_id': 'str', - 'item_id': 'float', + 'item_id': 'int', 'agreement': 'str', 'status': 'str', 'period': 'str', - 'frequency': 'float', + 'frequency': 'int', 'billing_type': 'str', 'start_date': 'str', 'end_date': 'str', @@ -52,8 +52,8 @@ class TransactionAgreement(object): 'last_payment': 'str', 'last_amount': 'float', 'last_amount_vat': 'float', - 'outstanding': 'float', - 'failed_attempts': 'float' + 'outstanding': 'int', + 'failed_attempts': 'int' } attribute_map = { @@ -154,7 +154,7 @@ def item_id(self): :return: The item_id of this TransactionAgreement. # noqa: E501 - :rtype: float + :rtype: int """ return self._item_id @@ -164,7 +164,7 @@ def item_id(self, item_id): :param item_id: The item_id of this TransactionAgreement. # noqa: E501 - :type item_id: float + :type item_id: int """ if self.local_vars_configuration.client_side_validation and item_id is None: # noqa: E501 raise ValueError("Invalid value for `item_id`, must not be `None`") # noqa: E501 @@ -254,7 +254,7 @@ def frequency(self): :return: The frequency of this TransactionAgreement. # noqa: E501 - :rtype: float + :rtype: int """ return self._frequency @@ -264,7 +264,7 @@ def frequency(self, frequency): :param frequency: The frequency of this TransactionAgreement. # noqa: E501 - :type frequency: float + :type frequency: int """ if self.local_vars_configuration.client_side_validation and frequency is None: # noqa: E501 raise ValueError("Invalid value for `frequency`, must not be `None`") # noqa: E501 @@ -528,7 +528,7 @@ def outstanding(self): :return: The outstanding of this TransactionAgreement. # noqa: E501 - :rtype: float + :rtype: int """ return self._outstanding @@ -538,7 +538,7 @@ def outstanding(self, outstanding): :param outstanding: The outstanding of this TransactionAgreement. # noqa: E501 - :type outstanding: float + :type outstanding: int """ if self.local_vars_configuration.client_side_validation and outstanding is None: # noqa: E501 raise ValueError("Invalid value for `outstanding`, must not be `None`") # noqa: E501 @@ -551,7 +551,7 @@ def failed_attempts(self): :return: The failed_attempts of this TransactionAgreement. # noqa: E501 - :rtype: float + :rtype: int """ return self._failed_attempts @@ -561,7 +561,7 @@ def failed_attempts(self, failed_attempts): :param failed_attempts: The failed_attempts of this TransactionAgreement. # noqa: E501 - :type failed_attempts: float + :type failed_attempts: int """ if self.local_vars_configuration.client_side_validation and failed_attempts is None: # noqa: E501 raise ValueError("Invalid value for `failed_attempts`, must not be `None`") # noqa: E501 diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index e874b84d..744541f5 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index 14e2a33d..224109f3 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index e4da9a25..e48ea018 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index 82b0730c..c9813b7f 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_email_code.py b/vrchatapi/models/two_factor_email_code.py index 992c15b4..43677df0 100644 --- a/vrchatapi/models/two_factor_email_code.py +++ b/vrchatapi/models/two_factor_email_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index bd95ce66..0d4fec68 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -41,6 +41,7 @@ class UnityPackage(object): 'asset_url_object': 'object', 'asset_version': 'int', 'created_at': 'datetime', + 'impostorizer_version': 'str', 'platform': 'str', 'plugin_url': 'str', 'plugin_url_object': 'object', @@ -57,6 +58,7 @@ class UnityPackage(object): 'asset_url_object': 'assetUrlObject', 'asset_version': 'assetVersion', 'created_at': 'created_at', + 'impostorizer_version': 'impostorizerVersion', 'platform': 'platform', 'plugin_url': 'pluginUrl', 'plugin_url_object': 'pluginUrlObject', @@ -67,7 +69,7 @@ class UnityPackage(object): 'variant': 'variant' } - def __init__(self, id=None, asset_url=None, asset_url_object=None, asset_version=None, created_at=None, platform=None, plugin_url=None, plugin_url_object=None, unity_sort_number=None, unity_version='5.3.4p1', impostor_url=None, scan_status=None, variant=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, id=None, asset_url=None, asset_url_object=None, asset_version=None, created_at=None, impostorizer_version=None, platform=None, plugin_url=None, plugin_url_object=None, unity_sort_number=None, unity_version='5.3.4p1', impostor_url=None, scan_status=None, variant=None, local_vars_configuration=None): # noqa: E501 """UnityPackage - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -78,6 +80,7 @@ def __init__(self, id=None, asset_url=None, asset_url_object=None, asset_version self._asset_url_object = None self._asset_version = None self._created_at = None + self._impostorizer_version = None self._platform = None self._plugin_url = None self._plugin_url_object = None @@ -95,6 +98,8 @@ def __init__(self, id=None, asset_url=None, asset_url_object=None, asset_version self.asset_version = asset_version if created_at is not None: self.created_at = created_at + if impostorizer_version is not None: + self.impostorizer_version = impostorizer_version self.platform = platform if plugin_url is not None: self.plugin_url = plugin_url @@ -221,6 +226,27 @@ def created_at(self, created_at): self._created_at = created_at + @property + def impostorizer_version(self): + """Gets the impostorizer_version of this UnityPackage. # noqa: E501 + + + :return: The impostorizer_version of this UnityPackage. # noqa: E501 + :rtype: str + """ + return self._impostorizer_version + + @impostorizer_version.setter + def impostorizer_version(self, impostorizer_version): + """Sets the impostorizer_version of this UnityPackage. + + + :param impostorizer_version: The impostorizer_version of this UnityPackage. # noqa: E501 + :type impostorizer_version: str + """ + + self._impostorizer_version = impostorizer_version + @property def platform(self): """Gets the platform of this UnityPackage. # noqa: E501 diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index a6d3e0c2..fddb9ff3 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -43,7 +43,7 @@ class UpdateAvatarRequest(object): 'tags': 'list[str]', 'image_url': 'str', 'release_status': 'ReleaseStatus', - 'version': 'float', + 'version': 'int', 'unity_package_url': 'str', 'unity_version': 'str' } @@ -264,7 +264,7 @@ def version(self): :return: The version of this UpdateAvatarRequest. # noqa: E501 - :rtype: float + :rtype: int """ return self._version @@ -274,7 +274,7 @@ def version(self, version): :param version: The version of this UpdateAvatarRequest. # noqa: E501 - :type version: float + :type version: int """ if (self.local_vars_configuration.client_side_validation and version is not None and version < 0): # noqa: E501 diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index 6d2d5f18..40bd6bd6 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index 73d6a8a3..917ee16a 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index d0721e05..c9accc70 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index 4e028859..553dc61c 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index 6e7a5f33..7bf3ec13 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index 25a8ab3b..b4c5c22e 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index 3412f4a1..9f712224 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -38,7 +38,7 @@ class UpdateUserRequest(object): openapi_types = { 'email': 'str', 'birthday': 'date', - 'accepted_tos_version': 'float', + 'accepted_tos_version': 'int', 'tags': 'list[str]', 'status': 'UserStatus', 'status_description': 'str', @@ -153,7 +153,7 @@ def accepted_tos_version(self): :return: The accepted_tos_version of this UpdateUserRequest. # noqa: E501 - :rtype: float + :rtype: int """ return self._accepted_tos_version @@ -163,7 +163,7 @@ def accepted_tos_version(self, accepted_tos_version): :param accepted_tos_version: The accepted_tos_version of this UpdateUserRequest. # noqa: E501 - :type accepted_tos_version: float + :type accepted_tos_version: int """ self._accepted_tos_version = accepted_tos_version diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index 1e25c609..4952ba93 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index 8202f3ab..7fcc6efc 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -53,6 +53,7 @@ class User(object): 'is_friend': 'bool', 'last_activity': 'str', 'last_login': 'str', + 'last_mobile': 'str', 'last_platform': 'str', 'location': 'str', 'note': 'str', @@ -90,6 +91,7 @@ class User(object): 'is_friend': 'isFriend', 'last_activity': 'last_activity', 'last_login': 'last_login', + 'last_mobile': 'last_mobile', 'last_platform': 'last_platform', 'location': 'location', 'note': 'note', @@ -109,7 +111,7 @@ class User(object): 'world_id': 'worldId' } - def __init__(self, allow_avatar_copying=True, badges=None, bio=None, bio_links=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, date_joined=None, developer_type=None, display_name=None, friend_key=None, friend_request_status=None, id=None, instance_id=None, is_friend=None, last_activity=None, last_login=None, last_platform=None, location=None, note=None, platform=None, profile_pic_override=None, profile_pic_override_thumbnail=None, pronouns=None, state=None, status=None, status_description=None, tags=None, traveling_to_instance=None, traveling_to_location=None, traveling_to_world=None, user_icon=None, username=None, world_id=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, allow_avatar_copying=True, badges=None, bio=None, bio_links=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, date_joined=None, developer_type=None, display_name=None, friend_key=None, friend_request_status=None, id=None, instance_id=None, is_friend=None, last_activity=None, last_login=None, last_mobile=None, last_platform=None, location=None, note=None, platform=None, profile_pic_override=None, profile_pic_override_thumbnail=None, pronouns=None, state=None, status=None, status_description=None, tags=None, traveling_to_instance=None, traveling_to_location=None, traveling_to_world=None, user_icon=None, username=None, world_id=None, local_vars_configuration=None): # noqa: E501 """User - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -132,6 +134,7 @@ def __init__(self, allow_avatar_copying=True, badges=None, bio=None, bio_links=N self._is_friend = None self._last_activity = None self._last_login = None + self._last_mobile = None self._last_platform = None self._location = None self._note = None @@ -171,12 +174,14 @@ def __init__(self, allow_avatar_copying=True, badges=None, bio=None, bio_links=N self.is_friend = is_friend self.last_activity = last_activity self.last_login = last_login + self.last_mobile = last_mobile self.last_platform = last_platform if location is not None: self.location = location if note is not None: self.note = note - self.platform = platform + if platform is not None: + self.platform = platform self.profile_pic_override = profile_pic_override self.profile_pic_override_thumbnail = profile_pic_override_thumbnail self.pronouns = pronouns @@ -605,6 +610,27 @@ def last_login(self, last_login): self._last_login = last_login + @property + def last_mobile(self): + """Gets the last_mobile of this User. # noqa: E501 + + + :return: The last_mobile of this User. # noqa: E501 + :rtype: str + """ + return self._last_mobile + + @last_mobile.setter + def last_mobile(self, last_mobile): + """Sets the last_mobile of this User. + + + :param last_mobile: The last_mobile of this User. # noqa: E501 + :type last_mobile: str + """ + + self._last_mobile = last_mobile + @property def last_platform(self): """Gets the last_platform of this User. # noqa: E501 @@ -692,8 +718,6 @@ def platform(self, platform): :param platform: The platform of this User. # noqa: E501 :type platform: str """ - if self.local_vars_configuration.client_side_validation and platform is None: # noqa: E501 - raise ValueError("Invalid value for `platform`, must not be `None`") # noqa: E501 self._platform = platform diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index 9b9989aa..4148cb97 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index cca3a74a..a3c9c5e6 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index c3806dc0..3f8114cb 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index 3c64f8ee..d3d5e23c 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -43,7 +43,7 @@ class UserSubscription(object): 'amount': 'float', 'description': 'str', 'period': 'SubscriptionPeriod', - 'tier': 'float', + 'tier': 'int', 'active': 'bool', 'status': 'TransactionStatus', 'starts': 'str', @@ -292,7 +292,7 @@ def tier(self): :return: The tier of this UserSubscription. # noqa: E501 - :rtype: float + :rtype: int """ return self._tier @@ -302,7 +302,7 @@ def tier(self, tier): :param tier: The tier of this UserSubscription. # noqa: E501 - :type tier: float + :type tier: int """ if self.local_vars_configuration.client_side_validation and tier is None: # noqa: E501 raise ValueError("Invalid value for `tier`, must not be `None`") # noqa: E501 diff --git a/vrchatapi/models/verify2_fa_email_code_result.py b/vrchatapi/models/verify2_fa_email_code_result.py index 2c169db0..50dbb7f7 100644 --- a/vrchatapi/models/verify2_fa_email_code_result.py +++ b/vrchatapi/models/verify2_fa_email_code_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index f43c8e45..bb8a3d20 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index 6b0e2b07..055ed4a7 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index eec62d73..7ad741a0 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index 1d363af1..ae648050 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index 86e3f457..9bbec366 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index f9d61fca..08e1db9f 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.1 + The version of the OpenAPI document: 1.18.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ From 49783b689717cf72a0b827a9cd8b770b630faa11 Mon Sep 17 00:00:00 2001 From: VRCCat Date: Sat, 5 Oct 2024 22:16:59 +0000 Subject: [PATCH 058/102] Upgrade Python SDK to spec 1.18.5 --- .openapi-generator/FILES | 32 + docs/APIConfig.md | 20 + docs/APIConfigConstants.md | 14 + docs/APIConfigConstantsGROUPS.md | 21 + docs/APIConfigConstantsINSTANCE.md | 12 + ...nfigConstantsINSTANCEPOPULATIONBRACKETS.md | 14 + ...stantsINSTANCEPOPULATIONBRACKETSCROWDED.md | 13 + ...gConstantsINSTANCEPOPULATIONBRACKETSFEW.md | 13 + ...ConstantsINSTANCEPOPULATIONBRACKETSMANY.md | 13 + docs/APIConfigConstantsLANGUAGE.md | 12 + .../APIConfigMinSupportedClientBuildNumber.md | 22 + docs/APIConfigOfflineAnalysis.md | 13 + docs/APIConfigReportCategories.md | 21 + docs/APIConfigReportReasons.md | 30 + docs/Group.md | 1 + docs/GroupMember.md | 2 + docs/Instance.md | 4 + docs/InstancePlatforms.md | 1 + docs/InstancesApi.md | 79 +-- docs/LimitedUser.md | 1 + docs/LimitedWorld.md | 1 + docs/PerformanceRatings.md | 11 + docs/Permission.md | 3 + docs/PlatformBuildInfo.md | 13 + docs/ReportCategory.md | 13 + docs/ReportReason.md | 13 + docs/UnityPackage.md | 2 + docs/UserExists.md | 2 +- docs/World.md | 1 + package-lock.json | 310 ++++----- package.json | 2 +- setup.py | 4 +- vrchatapi/__init__.py | 18 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/groups_api.py | 2 +- vrchatapi/api/instances_api.py | 152 +---- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 +- vrchatapi/exceptions.py | 2 +- vrchatapi/models/__init__.py | 18 +- vrchatapi/models/account_deletion_log.py | 2 +- vrchatapi/models/add_favorite_request.py | 2 +- .../models/add_group_gallery_image_request.py | 2 +- vrchatapi/models/api_config.py | 578 +++++++++++++++- vrchatapi/models/api_config_announcement.py | 2 +- vrchatapi/models/api_config_constants.py | 186 ++++++ .../models/api_config_constants_groups.py | 385 +++++++++++ .../models/api_config_constants_instance.py | 131 ++++ ...ig_constants_instancepopulationbrackets.py | 183 ++++++ ...tants_instancepopulationbracketscrowded.py | 161 +++++ ...constants_instancepopulationbracketsfew.py | 161 +++++ ...onstants_instancepopulationbracketsmany.py | 161 +++++ .../models/api_config_constants_language.py | 133 ++++ .../models/api_config_download_url_list.py | 2 +- vrchatapi/models/api_config_events.py | 2 +- ...onfig_min_supported_client_build_number.py | 402 ++++++++++++ .../models/api_config_offline_analysis.py | 161 +++++ .../models/api_config_report_categories.py | 375 +++++++++++ vrchatapi/models/api_config_report_reasons.py | 618 ++++++++++++++++++ vrchatapi/models/api_health.py | 2 +- vrchatapi/models/avatar.py | 2 +- .../models/avatar_unity_package_url_object.py | 2 +- vrchatapi/models/badge.py | 2 +- vrchatapi/models/ban_group_member_request.py | 2 +- vrchatapi/models/create_avatar_request.py | 2 +- vrchatapi/models/create_file_request.py | 2 +- .../models/create_file_version_request.py | 2 +- .../create_group_announcement_request.py | 2 +- .../models/create_group_gallery_request.py | 2 +- .../models/create_group_invite_request.py | 2 +- vrchatapi/models/create_group_post_request.py | 2 +- vrchatapi/models/create_group_request.py | 2 +- vrchatapi/models/create_group_role_request.py | 2 +- vrchatapi/models/create_instance_request.py | 2 +- vrchatapi/models/create_world_request.py | 2 +- vrchatapi/models/current_user.py | 2 +- vrchatapi/models/current_user_presence.py | 2 +- vrchatapi/models/deployment_group.py | 2 +- vrchatapi/models/developer_type.py | 2 +- vrchatapi/models/dynamic_content_row.py | 2 +- vrchatapi/models/error.py | 2 +- vrchatapi/models/favorite.py | 2 +- vrchatapi/models/favorite_group.py | 2 +- vrchatapi/models/favorite_group_visibility.py | 2 +- vrchatapi/models/favorite_type.py | 2 +- vrchatapi/models/file.py | 2 +- vrchatapi/models/file_data.py | 2 +- vrchatapi/models/file_status.py | 2 +- vrchatapi/models/file_upload_url.py | 2 +- vrchatapi/models/file_version.py | 2 +- .../models/file_version_upload_status.py | 2 +- .../models/finish_file_data_upload_request.py | 2 +- vrchatapi/models/friend_status.py | 2 +- vrchatapi/models/group.py | 30 +- vrchatapi/models/group_access_type.py | 2 +- vrchatapi/models/group_announcement.py | 2 +- vrchatapi/models/group_audit_log_entry.py | 2 +- vrchatapi/models/group_gallery.py | 2 +- vrchatapi/models/group_gallery_image.py | 2 +- vrchatapi/models/group_instance.py | 2 +- vrchatapi/models/group_join_request_action.py | 2 +- vrchatapi/models/group_join_state.py | 2 +- vrchatapi/models/group_limited_member.py | 2 +- vrchatapi/models/group_member.py | 58 +- vrchatapi/models/group_member_limited_user.py | 2 +- vrchatapi/models/group_member_status.py | 2 +- vrchatapi/models/group_my_member.py | 2 +- vrchatapi/models/group_permission.py | 2 +- vrchatapi/models/group_post.py | 2 +- vrchatapi/models/group_post_visibility.py | 2 +- vrchatapi/models/group_privacy.py | 2 +- vrchatapi/models/group_role.py | 2 +- vrchatapi/models/group_role_template.py | 2 +- vrchatapi/models/group_search_sort.py | 2 +- vrchatapi/models/group_user_visibility.py | 2 +- vrchatapi/models/info_push.py | 2 +- vrchatapi/models/info_push_data.py | 2 +- vrchatapi/models/info_push_data_article.py | 2 +- .../models/info_push_data_article_content.py | 2 +- vrchatapi/models/info_push_data_clickable.py | 2 +- vrchatapi/models/instance.py | 106 ++- vrchatapi/models/instance_platforms.py | 33 +- vrchatapi/models/instance_region.py | 2 +- .../models/instance_short_name_response.py | 5 +- vrchatapi/models/instance_type.py | 2 +- vrchatapi/models/invite_message.py | 2 +- vrchatapi/models/invite_message_type.py | 2 +- vrchatapi/models/invite_request.py | 2 +- vrchatapi/models/invite_response.py | 2 +- vrchatapi/models/license.py | 2 +- vrchatapi/models/license_action.py | 2 +- vrchatapi/models/license_group.py | 2 +- vrchatapi/models/license_type.py | 2 +- vrchatapi/models/limited_group.py | 2 +- vrchatapi/models/limited_unity_package.py | 2 +- vrchatapi/models/limited_user.py | 29 +- vrchatapi/models/limited_user_groups.py | 2 +- vrchatapi/models/limited_world.py | 29 +- vrchatapi/models/mime_type.py | 2 +- vrchatapi/models/moderate_user_request.py | 2 +- vrchatapi/models/notification.py | 2 +- .../models/notification_detail_invite.py | 2 +- .../notification_detail_invite_response.py | 2 +- .../notification_detail_request_invite.py | 2 +- ...fication_detail_request_invite_response.py | 2 +- .../notification_detail_vote_to_kick.py | 2 +- vrchatapi/models/notification_type.py | 2 +- vrchatapi/models/order_option.py | 2 +- .../paginated_group_audit_log_entry_list.py | 2 +- vrchatapi/models/past_display_name.py | 2 +- vrchatapi/models/performance_ratings.py | 115 ++++ vrchatapi/models/permission.py | 82 ++- vrchatapi/models/platform_build_info.py | 163 +++++ vrchatapi/models/player_moderation.py | 2 +- vrchatapi/models/player_moderation_type.py | 2 +- vrchatapi/models/region.py | 2 +- vrchatapi/models/release_status.py | 2 +- vrchatapi/models/report_category.py | 163 +++++ vrchatapi/models/report_reason.py | 163 +++++ vrchatapi/models/represented_group.py | 2 +- vrchatapi/models/request_invite_request.py | 2 +- .../models/respond_group_join_request.py | 2 +- vrchatapi/models/response.py | 2 +- vrchatapi/models/sent_notification.py | 2 +- vrchatapi/models/sort_option.py | 2 +- vrchatapi/models/subscription.py | 2 +- vrchatapi/models/subscription_period.py | 2 +- vrchatapi/models/success.py | 2 +- vrchatapi/models/transaction.py | 2 +- vrchatapi/models/transaction_agreement.py | 2 +- vrchatapi/models/transaction_status.py | 2 +- vrchatapi/models/transaction_steam_info.py | 2 +- .../models/transaction_steam_wallet_info.py | 2 +- vrchatapi/models/two_factor_auth_code.py | 2 +- vrchatapi/models/two_factor_email_code.py | 2 +- vrchatapi/models/unity_package.py | 55 +- vrchatapi/models/update_avatar_request.py | 2 +- .../models/update_favorite_group_request.py | 2 +- .../models/update_group_gallery_request.py | 2 +- .../models/update_group_member_request.py | 2 +- vrchatapi/models/update_group_request.py | 2 +- vrchatapi/models/update_group_role_request.py | 2 +- .../models/update_invite_message_request.py | 2 +- vrchatapi/models/update_user_request.py | 2 +- vrchatapi/models/update_world_request.py | 2 +- vrchatapi/models/user.py | 2 +- vrchatapi/models/user_exists.py | 7 +- vrchatapi/models/user_state.py | 2 +- vrchatapi/models/user_status.py | 2 +- vrchatapi/models/user_subscription.py | 2 +- .../models/verify2_fa_email_code_result.py | 2 +- vrchatapi/models/verify2_fa_result.py | 2 +- vrchatapi/models/verify_auth_token_result.py | 2 +- vrchatapi/models/world.py | 29 +- vrchatapi/models/world_metadata.py | 2 +- vrchatapi/models/world_publish_status.py | 2 +- vrchatapi/rest.py | 2 +- 209 files changed, 5316 insertions(+), 581 deletions(-) create mode 100644 docs/APIConfigConstants.md create mode 100644 docs/APIConfigConstantsGROUPS.md create mode 100644 docs/APIConfigConstantsINSTANCE.md create mode 100644 docs/APIConfigConstantsINSTANCEPOPULATIONBRACKETS.md create mode 100644 docs/APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED.md create mode 100644 docs/APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW.md create mode 100644 docs/APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY.md create mode 100644 docs/APIConfigConstantsLANGUAGE.md create mode 100644 docs/APIConfigMinSupportedClientBuildNumber.md create mode 100644 docs/APIConfigOfflineAnalysis.md create mode 100644 docs/APIConfigReportCategories.md create mode 100644 docs/APIConfigReportReasons.md create mode 100644 docs/PerformanceRatings.md create mode 100644 docs/PlatformBuildInfo.md create mode 100644 docs/ReportCategory.md create mode 100644 docs/ReportReason.md create mode 100644 vrchatapi/models/api_config_constants.py create mode 100644 vrchatapi/models/api_config_constants_groups.py create mode 100644 vrchatapi/models/api_config_constants_instance.py create mode 100644 vrchatapi/models/api_config_constants_instancepopulationbrackets.py create mode 100644 vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py create mode 100644 vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py create mode 100644 vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py create mode 100644 vrchatapi/models/api_config_constants_language.py create mode 100644 vrchatapi/models/api_config_min_supported_client_build_number.py create mode 100644 vrchatapi/models/api_config_offline_analysis.py create mode 100644 vrchatapi/models/api_config_report_categories.py create mode 100644 vrchatapi/models/api_config_report_reasons.py create mode 100644 vrchatapi/models/performance_ratings.py create mode 100644 vrchatapi/models/platform_build_info.py create mode 100644 vrchatapi/models/report_category.py create mode 100644 vrchatapi/models/report_reason.py diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index f57ee5a9..79370e37 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -1,8 +1,20 @@ .gitlab-ci.yml docs/APIConfig.md docs/APIConfigAnnouncement.md +docs/APIConfigConstants.md +docs/APIConfigConstantsGROUPS.md +docs/APIConfigConstantsINSTANCE.md +docs/APIConfigConstantsINSTANCEPOPULATIONBRACKETS.md +docs/APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED.md +docs/APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW.md +docs/APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY.md +docs/APIConfigConstantsLANGUAGE.md docs/APIConfigDownloadURLList.md docs/APIConfigEvents.md +docs/APIConfigMinSupportedClientBuildNumber.md +docs/APIConfigOfflineAnalysis.md +docs/APIConfigReportCategories.md +docs/APIConfigReportReasons.md docs/APIHealth.md docs/AccountDeletionLog.md docs/AddFavoriteRequest.md @@ -107,13 +119,17 @@ docs/NotificationsApi.md docs/OrderOption.md docs/PaginatedGroupAuditLogEntryList.md docs/PastDisplayName.md +docs/PerformanceRatings.md docs/Permission.md docs/PermissionsApi.md +docs/PlatformBuildInfo.md docs/PlayerModeration.md docs/PlayerModerationType.md docs/PlayermoderationApi.md docs/Region.md docs/ReleaseStatus.md +docs/ReportCategory.md +docs/ReportReason.md docs/RepresentedGroup.md docs/RequestInviteRequest.md docs/RespondGroupJoinRequest.md @@ -186,8 +202,20 @@ vrchatapi/models/add_favorite_request.py vrchatapi/models/add_group_gallery_image_request.py vrchatapi/models/api_config.py vrchatapi/models/api_config_announcement.py +vrchatapi/models/api_config_constants.py +vrchatapi/models/api_config_constants_groups.py +vrchatapi/models/api_config_constants_instance.py +vrchatapi/models/api_config_constants_instancepopulationbrackets.py +vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py +vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py +vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py +vrchatapi/models/api_config_constants_language.py vrchatapi/models/api_config_download_url_list.py vrchatapi/models/api_config_events.py +vrchatapi/models/api_config_min_supported_client_build_number.py +vrchatapi/models/api_config_offline_analysis.py +vrchatapi/models/api_config_report_categories.py +vrchatapi/models/api_config_report_reasons.py vrchatapi/models/api_health.py vrchatapi/models/avatar.py vrchatapi/models/avatar_unity_package_url_object.py @@ -279,11 +307,15 @@ vrchatapi/models/notification_type.py vrchatapi/models/order_option.py vrchatapi/models/paginated_group_audit_log_entry_list.py vrchatapi/models/past_display_name.py +vrchatapi/models/performance_ratings.py vrchatapi/models/permission.py +vrchatapi/models/platform_build_info.py vrchatapi/models/player_moderation.py vrchatapi/models/player_moderation_type.py vrchatapi/models/region.py vrchatapi/models/release_status.py +vrchatapi/models/report_category.py +vrchatapi/models/report_reason.py vrchatapi/models/represented_group.py vrchatapi/models/request_invite_request.py vrchatapi/models/respond_group_join_request.py diff --git a/docs/APIConfig.md b/docs/APIConfig.md index 61ecb001..6b2f85ff 100644 --- a/docs/APIConfig.md +++ b/docs/APIConfig.md @@ -9,14 +9,18 @@ Name | Type | Description | Notes **voice_enable_receiver_limiting** | **bool** | Unknown, probably voice optimization testing | [default to True] **address** | **str** | VRChat's office address | **announcements** | [**list[APIConfigAnnouncement]**](APIConfigAnnouncement.md) | Public Announcements | +**analytics_segment_new_ui_pct_of_users** | **int** | Unknown | +**analytics_segment_new_ui_salt** | **str** | Unknown | **app_name** | **str** | Game name | [default to 'VrChat'] **available_language_codes** | **list[str]** | List of supported Languages | **available_languages** | **list[str]** | List of supported Languages | **build_version_tag** | **str** | Build tag of the API server | +**chatbox_log_buffer_seconds** | **int** | Unknown | [default to 40] **client_api_key** | **str** | apiKey to be used for all other requests | **client_bps_ceiling** | **int** | Unknown | [default to 18432] **client_disconnect_timeout** | **int** | Unknown | [default to 30000] **client_net_dispatch_thread** | **bool** | Unknown | [optional] [default to False] +**client_net_dispatch_thread_mobile** | **bool** | Unknown | [default to True] **client_net_in_thread** | **bool** | Unknown | [optional] [default to False] **client_net_in_thread2** | **bool** | Unknown | [optional] [default to False] **client_net_in_thread_mobile** | **bool** | Unknown | [optional] [default to False] @@ -28,6 +32,7 @@ Name | Type | Description | Notes **client_qr** | **int** | Unknown | [optional] [default to 1] **client_reserved_player_bps** | **int** | Unknown | [default to 7168] **client_sent_count_allowance** | **int** | Unknown | [default to 15] +**constants** | [**APIConfigConstants**](APIConfigConstants.md) | | **contact_email** | **str** | VRChat's contact email | **copyright_email** | **str** | VRChat's copyright-issues-related email | **current_privacy_version** | **int** | Current version number of the Privacy Agreement | [optional] [default to 1] @@ -62,13 +67,24 @@ Name | Type | Description | Notes **economy_pause_start** | **str** | Unknown | [optional] **economy_state** | **int** | Unknown | [optional] [default to 1] **events** | [**APIConfigEvents**](APIConfigEvents.md) | | +**force_use_latest_world** | **bool** | Unknown | [default to True] +**google_api_client_id** | **str** | Unknown | [default to '827942544393-r2ouvckvouldn9dg9uruseje575e878f.apps.googleusercontent.com'] **home_world_id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | **homepage_redirect_target** | **str** | Redirect target if you try to open the base API domain in your browser | [default to 'https://hello.vrchat.com'] **hub_world_id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | **image_host_url_list** | **list[str]** | A list of explicitly allowed origins that worlds can request images from via the Udon's [VRCImageDownloader#DownloadImage](https://creators.vrchat.com/worlds/udon/image-loading/#downloadimage). | **jobs_email** | **str** | VRChat's job application email | +**min_supported_client_build_number** | [**APIConfigMinSupportedClientBuildNumber**](APIConfigMinSupportedClientBuildNumber.md) | | +**minimum_unity_version_for_uploads** | **str** | Minimum Unity version required for uploading assets | [default to '2019.0.0f1'] **moderation_email** | **str** | VRChat's moderation related email | **not_allowed_to_select_avatar_in_private_world_message** | **str** | Used in-game to notify a user they aren't allowed to select avatars in private worlds | +**offline_analysis** | [**APIConfigOfflineAnalysis**](APIConfigOfflineAnalysis.md) | | +**photon_nameserver_overrides** | **list[str]** | Unknown | +**photon_public_keys** | **list[str]** | Unknown | +**report_categories** | [**APIConfigReportCategories**](APIConfigReportCategories.md) | | +**report_form_url** | **str** | URL to the report form | [default to 'https://help.vrchat.com/hc/en-us/requests/new?ticket_form_id=1500000182242&tf_360056455174=user_report&tf_360057451993={userId}&tf_1500001445142={reportedId}&tf_subject={reason} {category} By {contentType} {reportedName}&tf_description={description}'] +**report_options** | **object** | Options for reporting content | +**report_reasons** | [**APIConfigReportReasons**](APIConfigReportReasons.md) | | **sdk_developer_faq_url** | **str** | Link to the developer FAQ | **sdk_discord_url** | **str** | Link to the official VRChat Discord | **sdk_not_allowed_to_publish_message** | **str** | Used in the SDK to notify a user they aren't allowed to upload avatars/worlds yet | @@ -76,6 +92,7 @@ Name | Type | Description | Notes **server_name** | **str** | Server name of the API server currently responding | **string_host_url_list** | **list[str]** | A list of explicitly allowed origins that worlds can request strings from via the Udon's [VRCStringDownloader.LoadUrl](https://creators.vrchat.com/worlds/udon/string-loading/#ivrcstringdownload). | **support_email** | **str** | VRChat's support email | +**timekeeping** | **bool** | Unknown | [default to True] **time_out_world_id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | **tutorial_world_id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | **update_rate_ms_maximum** | **int** | Unknown | @@ -89,6 +106,9 @@ Name | Type | Description | Notes **white_listed_asset_urls** | **list[str]** | List of allowed URLs that are allowed to host avatar assets | **player_url_resolver_version** | **str** | Currently used youtube-dl.exe version | **player_url_resolver_sha1** | **str** | Currently used youtube-dl.exe hash in SHA1-delimited format | +**websocket_max_friends_refresh_delay** | **int** | Unknown | [default to 900] +**websocket_quick_reconnect_time** | **int** | Unknown | [default to 2] +**websocket_reconnect_max_delay** | **int** | Unknown | [default to 2] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/APIConfigConstants.md b/docs/APIConfigConstants.md new file mode 100644 index 00000000..d34ddcd6 --- /dev/null +++ b/docs/APIConfigConstants.md @@ -0,0 +1,14 @@ +# APIConfigConstants + +Constants + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**groups** | [**APIConfigConstantsGROUPS**](APIConfigConstantsGROUPS.md) | | +**instance** | [**APIConfigConstantsINSTANCE**](APIConfigConstantsINSTANCE.md) | | +**language** | [**APIConfigConstantsLANGUAGE**](APIConfigConstantsLANGUAGE.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/APIConfigConstantsGROUPS.md b/docs/APIConfigConstantsGROUPS.md new file mode 100644 index 00000000..11752665 --- /dev/null +++ b/docs/APIConfigConstantsGROUPS.md @@ -0,0 +1,21 @@ +# APIConfigConstantsGROUPS + +Group-related constants + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**capacity** | **int** | Maximum group capacity | [optional] [default to 100000] +**group_transfer_requirements** | **list[str]** | Requirements for transferring group ownership | [optional] +**max_invites_requests** | **int** | Maximum number of invite requests | [optional] [default to 50] +**max_joined** | **int** | Maximum number of joined groups | [optional] [default to 100] +**max_joined_plus** | **int** | Maximum number of joined groups for VRChat Plus members | [optional] [default to 200] +**max_languages** | **int** | Maximum number of supported languages | [optional] [default to 10] +**max_links** | **int** | Maximum number of group links | [optional] [default to 3] +**max_management_roles** | **int** | Maximum number of management roles in a group | [optional] [default to 5] +**max_owned** | **int** | Maximum number of groups a user can own | [optional] [default to 5] +**max_roles** | **int** | Maximum number of roles in a group | [optional] [default to 50] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/APIConfigConstantsINSTANCE.md b/docs/APIConfigConstantsINSTANCE.md new file mode 100644 index 00000000..21017acb --- /dev/null +++ b/docs/APIConfigConstantsINSTANCE.md @@ -0,0 +1,12 @@ +# APIConfigConstantsINSTANCE + +Instance-related constants + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**population_brackets** | [**APIConfigConstantsINSTANCEPOPULATIONBRACKETS**](APIConfigConstantsINSTANCEPOPULATIONBRACKETS.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/APIConfigConstantsINSTANCEPOPULATIONBRACKETS.md b/docs/APIConfigConstantsINSTANCEPOPULATIONBRACKETS.md new file mode 100644 index 00000000..06d42d36 --- /dev/null +++ b/docs/APIConfigConstantsINSTANCEPOPULATIONBRACKETS.md @@ -0,0 +1,14 @@ +# APIConfigConstantsINSTANCEPOPULATIONBRACKETS + +Population brackets based on instance population + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**crowded** | [**APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED**](APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED.md) | | [optional] +**few** | [**APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW**](APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW.md) | | [optional] +**many** | [**APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY**](APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED.md b/docs/APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED.md new file mode 100644 index 00000000..42d4d64c --- /dev/null +++ b/docs/APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED.md @@ -0,0 +1,13 @@ +# APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED + +Crowded population range + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**max** | **int** | Maximum population for a crowded instance | [optional] +**min** | **int** | Minimum population for a crowded instance | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW.md b/docs/APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW.md new file mode 100644 index 00000000..c8604984 --- /dev/null +++ b/docs/APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW.md @@ -0,0 +1,13 @@ +# APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW + +Few population range + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**max** | **int** | Maximum population for a few instance | [optional] +**min** | **int** | Minimum population for a few instance | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY.md b/docs/APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY.md new file mode 100644 index 00000000..965e977a --- /dev/null +++ b/docs/APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY.md @@ -0,0 +1,13 @@ +# APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY + +Many population range + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**max** | **int** | Maximum population for a many instance | [optional] +**min** | **int** | Minimum population for a many instance | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/APIConfigConstantsLANGUAGE.md b/docs/APIConfigConstantsLANGUAGE.md new file mode 100644 index 00000000..e923455d --- /dev/null +++ b/docs/APIConfigConstantsLANGUAGE.md @@ -0,0 +1,12 @@ +# APIConfigConstantsLANGUAGE + +Language-related constants + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**spoken_language_options** | **dict(str, str)** | Supported spoken language options | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/APIConfigMinSupportedClientBuildNumber.md b/docs/APIConfigMinSupportedClientBuildNumber.md new file mode 100644 index 00000000..2c91561f --- /dev/null +++ b/docs/APIConfigMinSupportedClientBuildNumber.md @@ -0,0 +1,22 @@ +# APIConfigMinSupportedClientBuildNumber + +Minimum supported client build number for various platforms + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**app_store** | [**PlatformBuildInfo**](PlatformBuildInfo.md) | | +**default** | [**PlatformBuildInfo**](PlatformBuildInfo.md) | | +**firebase** | [**PlatformBuildInfo**](PlatformBuildInfo.md) | | +**firebasei_os** | [**PlatformBuildInfo**](PlatformBuildInfo.md) | | +**google_play** | [**PlatformBuildInfo**](PlatformBuildInfo.md) | | +**pc** | [**PlatformBuildInfo**](PlatformBuildInfo.md) | | +**pico_store** | [**PlatformBuildInfo**](PlatformBuildInfo.md) | | +**quest_app_lab** | [**PlatformBuildInfo**](PlatformBuildInfo.md) | | +**quest_store** | [**PlatformBuildInfo**](PlatformBuildInfo.md) | | +**test_flight** | [**PlatformBuildInfo**](PlatformBuildInfo.md) | | +**xr_elite** | [**PlatformBuildInfo**](PlatformBuildInfo.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/APIConfigOfflineAnalysis.md b/docs/APIConfigOfflineAnalysis.md new file mode 100644 index 00000000..61f006b5 --- /dev/null +++ b/docs/APIConfigOfflineAnalysis.md @@ -0,0 +1,13 @@ +# APIConfigOfflineAnalysis + +Whether to allow offline analysis + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**android** | **bool** | Whether to allow offline analysis | [optional] [default to True] +**standalonewindows** | **bool** | Whether to allow offline analysis | [optional] [default to True] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/APIConfigReportCategories.md b/docs/APIConfigReportCategories.md new file mode 100644 index 00000000..8f34667e --- /dev/null +++ b/docs/APIConfigReportCategories.md @@ -0,0 +1,21 @@ +# APIConfigReportCategories + +Categories available for reporting objectionable content + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**avatar** | [**ReportCategory**](ReportCategory.md) | | +**behavior** | [**ReportCategory**](ReportCategory.md) | | +**chat** | [**ReportCategory**](ReportCategory.md) | | +**environment** | [**ReportCategory**](ReportCategory.md) | | +**groupstore** | [**ReportCategory**](ReportCategory.md) | | +**image** | [**ReportCategory**](ReportCategory.md) | | +**text** | [**ReportCategory**](ReportCategory.md) | | +**warnings** | [**ReportCategory**](ReportCategory.md) | | +**worldimage** | [**ReportCategory**](ReportCategory.md) | | +**worldstore** | [**ReportCategory**](ReportCategory.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/APIConfigReportReasons.md b/docs/APIConfigReportReasons.md new file mode 100644 index 00000000..821fd975 --- /dev/null +++ b/docs/APIConfigReportReasons.md @@ -0,0 +1,30 @@ +# APIConfigReportReasons + +Reasons available for reporting users + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**billing** | [**ReportReason**](ReportReason.md) | | +**botting** | [**ReportReason**](ReportReason.md) | | +**cancellation** | [**ReportReason**](ReportReason.md) | | +**gore** | [**ReportReason**](ReportReason.md) | | +**hacking** | [**ReportReason**](ReportReason.md) | | +**harassing** | [**ReportReason**](ReportReason.md) | | +**hateful** | [**ReportReason**](ReportReason.md) | | +**impersonation** | [**ReportReason**](ReportReason.md) | | +**inappropriate** | [**ReportReason**](ReportReason.md) | | +**leaking** | [**ReportReason**](ReportReason.md) | | +**malicious** | [**ReportReason**](ReportReason.md) | | +**missing** | [**ReportReason**](ReportReason.md) | | +**nudity** | [**ReportReason**](ReportReason.md) | | +**renewal** | [**ReportReason**](ReportReason.md) | | +**security** | [**ReportReason**](ReportReason.md) | | +**service** | [**ReportReason**](ReportReason.md) | | +**sexual** | [**ReportReason**](ReportReason.md) | | +**threatening** | [**ReportReason**](ReportReason.md) | | +**visuals** | [**ReportReason**](ReportReason.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Group.md b/docs/Group.md index 825ad8fb..778cda7d 100644 --- a/docs/Group.md +++ b/docs/Group.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**badges** | **list[str]** | | [optional] **id** | **str** | | [optional] **name** | **str** | | [optional] **short_code** | **str** | | [optional] diff --git a/docs/GroupMember.md b/docs/GroupMember.md index 4c8e68ff..17cbbe82 100644 --- a/docs/GroupMember.md +++ b/docs/GroupMember.md @@ -4,6 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**accepted_by_display_name** | **str** | | [optional] +**accepted_by_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] **id** | **str** | | [optional] **group_id** | **str** | | [optional] **user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] diff --git a/docs/Instance.md b/docs/Instance.md index e3284faf..037b722d 100644 --- a/docs/Instance.md +++ b/docs/Instance.md @@ -9,9 +9,12 @@ Name | Type | Description | Notes **can_request_invite** | **bool** | | [default to True] **capacity** | **int** | | **client_number** | **str** | Always returns \"unknown\". | +**display_name** | **str** | | **full** | **bool** | | [default to False] +**game_server_version** | **int** | | **id** | **str** | InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. | **instance_id** | **str** | | +**instance_persistence_enabled** | **str** | | **location** | **str** | InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. | **n_users** | **int** | | **name** | **str** | | @@ -19,6 +22,7 @@ Name | Type | Description | Notes **permanent** | **bool** | | [default to False] **photon_region** | [**Region**](Region.md) | | **platforms** | [**InstancePlatforms**](InstancePlatforms.md) | | +**player_persistence_enabled** | **str** | | **region** | [**InstanceRegion**](InstanceRegion.md) | | **secure_name** | **str** | | **short_name** | **str** | | [optional] diff --git a/docs/InstancePlatforms.md b/docs/InstancePlatforms.md index c875587a..1324159c 100644 --- a/docs/InstancePlatforms.md +++ b/docs/InstancePlatforms.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **android** | **int** | | +**ios** | **int** | | [optional] **standalonewindows** | **int** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InstancesApi.md b/docs/InstancesApi.md index 359609b0..ad84e4e5 100644 --- a/docs/InstancesApi.md +++ b/docs/InstancesApi.md @@ -9,7 +9,6 @@ Method | HTTP request | Description [**get_instance**](InstancesApi.md#get_instance) | **GET** /instances/{worldId}:{instanceId} | Get Instance [**get_instance_by_short_name**](InstancesApi.md#get_instance_by_short_name) | **GET** /instances/s/{shortName} | Get Instance By Short Name [**get_short_name**](InstancesApi.md#get_short_name) | **GET** /instances/{worldId}:{instanceId}/shortName | Get Instance Short Name -[**send_self_invite**](InstancesApi.md#send_self_invite) | **POST** /instances/{worldId}:{instanceId}/invite | Send Self Invite # **close_instance** @@ -382,82 +381,6 @@ Name | Type | Description | Notes [authCookie](../README.md#authCookie) -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: text/plain, application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Returns an instance secureName and/or shortName. | - | -**401** | Error response due to missing auth cookie. | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **send_self_invite** -> Success send_self_invite(world_id, instance_id) - -Send Self Invite - -Sends an invite to the instance to yourself. - -### Example - -* Api Key Authentication (authCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.InstancesApi(api_client) - world_id = 'world_id_example' # str | Must be a valid world ID. -instance_id = 'instance_id_example' # str | Must be a valid instance ID. - - try: - # Send Self Invite - api_response = api_instance.send_self_invite(world_id, instance_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling InstancesApi->send_self_invite: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **world_id** | **str**| Must be a valid world ID. | - **instance_id** | **str**| Must be a valid instance ID. | - -### Return type - -[**Success**](Success.md) - -### Authorization - -[authCookie](../README.md#authCookie) - ### HTTP request headers - **Content-Type**: Not defined @@ -466,7 +389,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success response after sending an invite to yourself to the instance. | - | +**200** | Returns an instance secureName and/or shortName. | - | **401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/LimitedUser.md b/docs/LimitedUser.md index d521f280..c14a11f4 100644 --- a/docs/LimitedUser.md +++ b/docs/LimitedUser.md @@ -16,6 +16,7 @@ Name | Type | Description | Notes **id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | **is_friend** | **bool** | | **last_platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | +**last_login** | **datetime** | | [optional] **profile_pic_override** | **str** | | [optional] **pronouns** | **str** | | [optional] **status** | [**UserStatus**](UserStatus.md) | | diff --git a/docs/LimitedWorld.md b/docs/LimitedWorld.md index ad0a5746..c9b9cae6 100644 --- a/docs/LimitedWorld.md +++ b/docs/LimitedWorld.md @@ -23,6 +23,7 @@ Name | Type | Description | Notes **preview_youtube_id** | **str** | | [optional] **publication_date** | **str** | | **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | +**store_id** | **str** | | **tags** | **list[str]** | | **thumbnail_image_url** | **str** | | **unity_packages** | [**list[LimitedUnityPackage]**](LimitedUnityPackage.md) | | diff --git a/docs/PerformanceRatings.md b/docs/PerformanceRatings.md new file mode 100644 index 00000000..5a9cf115 --- /dev/null +++ b/docs/PerformanceRatings.md @@ -0,0 +1,11 @@ +# PerformanceRatings + +Avatar Performance ratings. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Permission.md b/docs/Permission.md index 6ed46d47..fa97f1a5 100644 --- a/docs/Permission.md +++ b/docs/Permission.md @@ -5,10 +5,13 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**display_name** | **str** | | [optional] +**description** | **str** | | [optional] **id** | **str** | | **owner_display_name** | **str** | | **name** | **str** | | **owner_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**type** | **str** | | [optional] **data** | **object** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PlatformBuildInfo.md b/docs/PlatformBuildInfo.md new file mode 100644 index 00000000..aa993b85 --- /dev/null +++ b/docs/PlatformBuildInfo.md @@ -0,0 +1,13 @@ +# PlatformBuildInfo + +Build information for a platform + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**min_build_number** | **int** | Minimum build number required for the platform | +**redirection_address** | **str** | Redirection URL for updating the app | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ReportCategory.md b/docs/ReportCategory.md new file mode 100644 index 00000000..8cc37534 --- /dev/null +++ b/docs/ReportCategory.md @@ -0,0 +1,13 @@ +# ReportCategory + +A category used for reporting content + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**text** | **str** | The label of the report category | +**tooltip** | **str** | The tooltip that describes the category | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ReportReason.md b/docs/ReportReason.md new file mode 100644 index 00000000..bac1d846 --- /dev/null +++ b/docs/ReportReason.md @@ -0,0 +1,13 @@ +# ReportReason + +A reason used for reporting users + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**text** | **str** | The label or name of the report reason | +**tooltip** | **str** | A brief explanation of what this reason entails | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/UnityPackage.md b/docs/UnityPackage.md index bbb74a70..6b91fdd1 100644 --- a/docs/UnityPackage.md +++ b/docs/UnityPackage.md @@ -11,11 +11,13 @@ Name | Type | Description | Notes **asset_version** | **int** | | **created_at** | **datetime** | | [optional] **impostorizer_version** | **str** | | [optional] +**performance_rating** | [**PerformanceRatings**](PerformanceRatings.md) | | [optional] **platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | **plugin_url** | **str** | | [optional] **plugin_url_object** | **object** | | [optional] **unity_sort_number** | **int** | | [optional] **unity_version** | **str** | | [default to '5.3.4p1'] +**world_signature** | **str** | | [optional] **impostor_url** | **str** | | [optional] **scan_status** | **str** | | [optional] **variant** | **str** | | [optional] diff --git a/docs/UserExists.md b/docs/UserExists.md index e8d6464e..666ea9ef 100644 --- a/docs/UserExists.md +++ b/docs/UserExists.md @@ -6,7 +6,7 @@ Status object representing if a queried user by username or userId exists or not Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **user_exists** | **bool** | Status if a user exist with that username or userId. | [default to False] -**name_ok** | **bool** | Is the username valid? | [default to False] +**name_ok** | **bool** | Is the username valid? | [optional] [default to False] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/World.md b/docs/World.md index 2667c7d6..cb514e83 100644 --- a/docs/World.md +++ b/docs/World.md @@ -28,6 +28,7 @@ Name | Type | Description | Notes **public_occupants** | **int** | Will always be `0` when unauthenticated. | [optional] [default to 0] **publication_date** | **str** | | **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | +**store_id** | **str** | | **tags** | **list[str]** | | **thumbnail_image_url** | **str** | | **unity_packages** | [**list[UnityPackage]**](UnityPackage.md) | Empty if unauthenticated. | [optional] diff --git a/package-lock.json b/package-lock.json index 27ac41ff..ec01e160 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.13.9" + "@openapitools/openapi-generator-cli": "^2.13.13" } }, "node_modules/@lukeed/csprng": { @@ -54,11 +54,6 @@ } } }, - "node_modules/@nestjs/common/node_modules/tslib": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", - "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==" - }, "node_modules/@nestjs/core": { "version": "10.4.3", "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-10.4.3.tgz", @@ -96,11 +91,6 @@ } } }, - "node_modules/@nestjs/core/node_modules/tslib": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", - "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==" - }, "node_modules/@nuxtjs/opencollective": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/@nuxtjs/opencollective/-/opencollective-0.3.2.tgz", @@ -119,35 +109,35 @@ } }, "node_modules/@openapitools/openapi-generator-cli": { - "version": "2.13.9", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.13.9.tgz", - "integrity": "sha512-GJaWGcHmLsvj/G1mRDytm9PTDwRGSYUDTf1uA/2FYxQAb5sq4nkZz1tD4Z7qDlZ3xTYSTw4Z8BQUdlsnrA8rcw==", + "version": "2.13.13", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.13.13.tgz", + "integrity": "sha512-uioqbxB6TfiLoOEE3T8kqTn/ffaRzOwS3ATMQnoMvh2lwADKMT6bDLfE3YO3XTEj+HflXcsLXQGK6PLiqa8Mmw==", "hasInstallScript": true, "dependencies": { "@nestjs/axios": "3.0.3", "@nestjs/common": "10.4.3", "@nestjs/core": "10.4.3", "@nuxtjs/opencollective": "0.3.2", - "axios": "1.7.4", + "axios": "1.7.7", "chalk": "4.1.2", "commander": "8.3.0", "compare-versions": "4.1.4", "concurrently": "6.5.1", "console.table": "0.10.0", "fs-extra": "10.1.0", - "glob": "7.2.3", - "https-proxy-agent": "7.0.4", + "glob": "9.3.5", + "https-proxy-agent": "7.0.5", "inquirer": "8.2.6", "lodash": "4.17.21", "reflect-metadata": "0.1.13", "rxjs": "7.8.1", - "tslib": "2.6.2" + "tslib": "2.7.0" }, "bin": { "openapi-generator-cli": "main.js" }, "engines": { - "node": ">=10.0.0" + "node": ">=16" }, "funding": { "type": "opencollective", @@ -207,9 +197,9 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "node_modules/axios": { - "version": "1.7.4", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.4.tgz", - "integrity": "sha512-DukmaFRnY6AzAALSH4J2M3k6PkaC+MfaAGdEERRWcC9q3/TWQwLpHR8ZRLKTdQ3aBDL64EdluRDjJqKw+BPZEw==", + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.7.tgz", + "integrity": "sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q==", "dependencies": { "follow-redirects": "^1.15.6", "form-data": "^4.0.0", @@ -251,12 +241,11 @@ } }, "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" + "balanced-match": "^1.0.0" } }, "node_modules/buffer": { @@ -390,11 +379,6 @@ "resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-4.1.4.tgz", "integrity": "sha512-FemMreK9xNyL8gQevsdRMrvO4lFCkQP7qbuktn1q8ndcNk1+0mz7lgE7b/sNvbhVgY4w6tMN1FDp6aADjqw2rw==" }, - "node_modules/concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" - }, "node_modules/concurrently": { "version": "6.5.1", "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-6.5.1.tgz", @@ -475,11 +459,11 @@ } }, "node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", + "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", "dependencies": { - "ms": "2.1.2" + "ms": "^2.1.3" }, "engines": { "node": ">=6.0" @@ -626,19 +610,17 @@ } }, "node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "version": "9.3.5", + "resolved": "https://registry.npmjs.org/glob/-/glob-9.3.5.tgz", + "integrity": "sha512-e1LleDykUz2Iu+MTYdkSsuWX8lvAjAcs0Xef0lNIu0S2wOAzuTxCJtcd9S3cijlwYF18EsU3rzb8jPVobxDh9Q==", "dependencies": { "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "minimatch": "^8.0.2", + "minipass": "^4.2.4", + "path-scurry": "^1.6.1" }, "engines": { - "node": "*" + "node": ">=16 || 14 >=14.17" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -658,9 +640,9 @@ } }, "node_modules/https-proxy-agent": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.4.tgz", - "integrity": "sha512-wlwpilI7YdjSkWaQ/7omYBMTliDcmCN8OLihO6I9B86g06lMyAoqgoDpV0XqoaPOKj+0DIdAvnsWfyAAhmimcg==", + "version": "7.0.5", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.5.tgz", + "integrity": "sha512-1e4Wqeblerz+tMKPIq2EMGiiWW1dIjZOksyHWSUm1rmuvw/how9hBHZ38lAGj5ID4Ik6EdkOw7NmWPy6LAwalw==", "dependencies": { "agent-base": "^7.0.2", "debug": "4" @@ -699,15 +681,6 @@ } ] }, - "node_modules/inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", - "dependencies": { - "once": "^1.3.0", - "wrappy": "1" - } - }, "node_modules/inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", @@ -817,6 +790,11 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/lru-cache": { + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==" + }, "node_modules/mime-db": { "version": "1.52.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", @@ -845,20 +823,31 @@ } }, "node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "version": "8.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-8.0.4.tgz", + "integrity": "sha512-W0Wvr9HyFXZRGIDgCicunpQ299OKXs9RgZfaukz4qAW/pJhcpUfupc9c+OObPOFueNy8VSrZgEmDtk6Kh4WzDA==", "dependencies": { - "brace-expansion": "^1.1.7" + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/minipass": { + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-4.2.8.tgz", + "integrity": "sha512-fNzuVyifolSLFL4NzpF+wEF4qrgqaaKX0haXPQEdQ7NKAN+WecoKMHV09YcuL/DHxrUsYQOK3MiuDf7Ip2OXfQ==", "engines": { - "node": "*" + "node": ">=8" } }, "node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" }, "node_modules/mute-stream": { "version": "0.0.8", @@ -884,14 +873,6 @@ } } }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "dependencies": { - "wrappy": "1" - } - }, "node_modules/onetime": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", @@ -936,12 +917,27 @@ "node": ">=0.10.0" } }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "node_modules/path-scurry": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", + "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", + "dependencies": { + "lru-cache": "^10.2.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + }, "engines": { - "node": ">=0.10.0" + "node": ">=16 || 14 >=14.18" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/path-scurry/node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "engines": { + "node": ">=16 || 14 >=14.17" } }, "node_modules/path-to-regexp": { @@ -1115,9 +1111,9 @@ } }, "node_modules/tslib": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", - "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", + "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==" }, "node_modules/type-fest": { "version": "0.21.3", @@ -1192,11 +1188,6 @@ "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, - "node_modules/wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" - }, "node_modules/y18n": { "version": "5.0.8", "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", @@ -1251,13 +1242,6 @@ "iterare": "1.2.1", "tslib": "2.7.0", "uid": "2.0.2" - }, - "dependencies": { - "tslib": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", - "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==" - } } }, "@nestjs/core": { @@ -1271,13 +1255,6 @@ "path-to-regexp": "3.3.0", "tslib": "2.7.0", "uid": "2.0.2" - }, - "dependencies": { - "tslib": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", - "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==" - } } }, "@nuxtjs/opencollective": { @@ -1291,28 +1268,28 @@ } }, "@openapitools/openapi-generator-cli": { - "version": "2.13.9", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.13.9.tgz", - "integrity": "sha512-GJaWGcHmLsvj/G1mRDytm9PTDwRGSYUDTf1uA/2FYxQAb5sq4nkZz1tD4Z7qDlZ3xTYSTw4Z8BQUdlsnrA8rcw==", + "version": "2.13.13", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.13.13.tgz", + "integrity": "sha512-uioqbxB6TfiLoOEE3T8kqTn/ffaRzOwS3ATMQnoMvh2lwADKMT6bDLfE3YO3XTEj+HflXcsLXQGK6PLiqa8Mmw==", "requires": { "@nestjs/axios": "3.0.3", "@nestjs/common": "10.4.3", "@nestjs/core": "10.4.3", "@nuxtjs/opencollective": "0.3.2", - "axios": "1.7.4", + "axios": "1.7.7", "chalk": "4.1.2", "commander": "8.3.0", "compare-versions": "4.1.4", "concurrently": "6.5.1", "console.table": "0.10.0", "fs-extra": "10.1.0", - "glob": "7.2.3", - "https-proxy-agent": "7.0.4", + "glob": "9.3.5", + "https-proxy-agent": "7.0.5", "inquirer": "8.2.6", "lodash": "4.17.21", "reflect-metadata": "0.1.13", "rxjs": "7.8.1", - "tslib": "2.6.2" + "tslib": "2.7.0" } }, "agent-base": { @@ -1350,9 +1327,9 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "axios": { - "version": "1.7.4", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.4.tgz", - "integrity": "sha512-DukmaFRnY6AzAALSH4J2M3k6PkaC+MfaAGdEERRWcC9q3/TWQwLpHR8ZRLKTdQ3aBDL64EdluRDjJqKw+BPZEw==", + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.7.tgz", + "integrity": "sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q==", "requires": { "follow-redirects": "^1.15.6", "form-data": "^4.0.0", @@ -1380,12 +1357,11 @@ } }, "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" + "balanced-match": "^1.0.0" } }, "buffer": { @@ -1475,11 +1451,6 @@ "resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-4.1.4.tgz", "integrity": "sha512-FemMreK9xNyL8gQevsdRMrvO4lFCkQP7qbuktn1q8ndcNk1+0mz7lgE7b/sNvbhVgY4w6tMN1FDp6aADjqw2rw==" }, - "concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" - }, "concurrently": { "version": "6.5.1", "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-6.5.1.tgz", @@ -1537,11 +1508,11 @@ "integrity": "sha512-sj+J0Mo2p2X1e306MHq282WS4/A8Pz/95GIFcsPNMPMZVI3EUrAdSv90al1k+p74WGLCruMXk23bfEDZa71X9Q==" }, "debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", + "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", "requires": { - "ms": "2.1.2" + "ms": "^2.1.3" } }, "defaults": { @@ -1639,16 +1610,14 @@ "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==" }, "glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "version": "9.3.5", + "resolved": "https://registry.npmjs.org/glob/-/glob-9.3.5.tgz", + "integrity": "sha512-e1LleDykUz2Iu+MTYdkSsuWX8lvAjAcs0Xef0lNIu0S2wOAzuTxCJtcd9S3cijlwYF18EsU3rzb8jPVobxDh9Q==", "requires": { "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "minimatch": "^8.0.2", + "minipass": "^4.2.4", + "path-scurry": "^1.6.1" } }, "graceful-fs": { @@ -1662,9 +1631,9 @@ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" }, "https-proxy-agent": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.4.tgz", - "integrity": "sha512-wlwpilI7YdjSkWaQ/7omYBMTliDcmCN8OLihO6I9B86g06lMyAoqgoDpV0XqoaPOKj+0DIdAvnsWfyAAhmimcg==", + "version": "7.0.5", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.5.tgz", + "integrity": "sha512-1e4Wqeblerz+tMKPIq2EMGiiWW1dIjZOksyHWSUm1rmuvw/how9hBHZ38lAGj5ID4Ik6EdkOw7NmWPy6LAwalw==", "requires": { "agent-base": "^7.0.2", "debug": "4" @@ -1683,15 +1652,6 @@ "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==" }, - "inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", - "requires": { - "once": "^1.3.0", - "wrappy": "1" - } - }, "inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", @@ -1774,6 +1734,11 @@ "is-unicode-supported": "^0.1.0" } }, + "lru-cache": { + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==" + }, "mime-db": { "version": "1.52.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", @@ -1793,17 +1758,22 @@ "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==" }, "minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "version": "8.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-8.0.4.tgz", + "integrity": "sha512-W0Wvr9HyFXZRGIDgCicunpQ299OKXs9RgZfaukz4qAW/pJhcpUfupc9c+OObPOFueNy8VSrZgEmDtk6Kh4WzDA==", "requires": { - "brace-expansion": "^1.1.7" + "brace-expansion": "^2.0.1" } }, + "minipass": { + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-4.2.8.tgz", + "integrity": "sha512-fNzuVyifolSLFL4NzpF+wEF4qrgqaaKX0haXPQEdQ7NKAN+WecoKMHV09YcuL/DHxrUsYQOK3MiuDf7Ip2OXfQ==" + }, "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" }, "mute-stream": { "version": "0.0.8", @@ -1818,14 +1788,6 @@ "whatwg-url": "^5.0.0" } }, - "once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "requires": { - "wrappy": "1" - } - }, "onetime": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", @@ -1855,10 +1817,21 @@ "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==" }, - "path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==" + "path-scurry": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", + "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", + "requires": { + "lru-cache": "^10.2.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + }, + "dependencies": { + "minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==" + } + } }, "path-to-regexp": { "version": "3.3.0", @@ -1990,9 +1963,9 @@ "integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==" }, "tslib": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", - "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", + "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==" }, "type-fest": { "version": "0.21.3", @@ -2049,11 +2022,6 @@ "strip-ansi": "^6.0.0" } }, - "wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" - }, "y18n": { "version": "5.0.8", "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", diff --git a/package.json b/package.json index db198dad..725653c9 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.13.9" + "@openapitools/openapi-generator-cli": "^2.13.13" } } diff --git a/setup.py b/setup.py index e91e398b..e4725518 100644 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.18.4" +VERSION = "1.18.5" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 100a52d6..2e7ee4e4 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,7 +6,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -45,8 +45,20 @@ # import models into sdk package from vrchatapi.models.api_config import APIConfig from vrchatapi.models.api_config_announcement import APIConfigAnnouncement +from vrchatapi.models.api_config_constants import APIConfigConstants +from vrchatapi.models.api_config_constants_groups import APIConfigConstantsGROUPS +from vrchatapi.models.api_config_constants_instance import APIConfigConstantsINSTANCE +from vrchatapi.models.api_config_constants_instancepopulationbrackets import APIConfigConstantsINSTANCEPOPULATIONBRACKETS +from vrchatapi.models.api_config_constants_instancepopulationbracketscrowded import APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED +from vrchatapi.models.api_config_constants_instancepopulationbracketsfew import APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW +from vrchatapi.models.api_config_constants_instancepopulationbracketsmany import APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY +from vrchatapi.models.api_config_constants_language import APIConfigConstantsLANGUAGE from vrchatapi.models.api_config_download_url_list import APIConfigDownloadURLList from vrchatapi.models.api_config_events import APIConfigEvents +from vrchatapi.models.api_config_min_supported_client_build_number import APIConfigMinSupportedClientBuildNumber +from vrchatapi.models.api_config_offline_analysis import APIConfigOfflineAnalysis +from vrchatapi.models.api_config_report_categories import APIConfigReportCategories +from vrchatapi.models.api_config_report_reasons import APIConfigReportReasons from vrchatapi.models.api_health import APIHealth from vrchatapi.models.account_deletion_log import AccountDeletionLog from vrchatapi.models.add_favorite_request import AddFavoriteRequest @@ -141,11 +153,15 @@ from vrchatapi.models.order_option import OrderOption from vrchatapi.models.paginated_group_audit_log_entry_list import PaginatedGroupAuditLogEntryList from vrchatapi.models.past_display_name import PastDisplayName +from vrchatapi.models.performance_ratings import PerformanceRatings from vrchatapi.models.permission import Permission +from vrchatapi.models.platform_build_info import PlatformBuildInfo from vrchatapi.models.player_moderation import PlayerModeration from vrchatapi.models.player_moderation_type import PlayerModerationType from vrchatapi.models.region import Region from vrchatapi.models.release_status import ReleaseStatus +from vrchatapi.models.report_category import ReportCategory +from vrchatapi.models.report_reason import ReportReason from vrchatapi.models.represented_group import RepresentedGroup from vrchatapi.models.request_invite_request import RequestInviteRequest from vrchatapi.models.respond_group_join_request import RespondGroupJoinRequest diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index 07ea76d2..eaebbafb 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index 49ddcf06..fcbb92b3 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index a8d1aaea..919cdc43 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index 451e356e..0526153c 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index 4a2ecd5a..617542b3 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index 45e2c335..4eef5be8 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index 4290ff0f..594d9c5c 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index bf0697a0..3cad7d2b 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -754,7 +754,7 @@ def get_short_name_with_http_info(self, world_id, instance_id, **kwargs): # noq body_params = None # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( - ['text/plain', 'application/json']) # noqa: E501 + ['application/json']) # noqa: E501 # Authentication setting auth_settings = ['authCookie'] # noqa: E501 @@ -780,151 +780,3 @@ def get_short_name_with_http_info(self, world_id, instance_id, **kwargs): # noq _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - - def send_self_invite(self, world_id, instance_id, **kwargs): # noqa: E501 - """Send Self Invite # noqa: E501 - - Sends an invite to the instance to yourself. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.send_self_invite(world_id, instance_id, async_req=True) - >>> result = thread.get() - - :param world_id: Must be a valid world ID. (required) - :type world_id: str - :param instance_id: Must be a valid instance ID. (required) - :type instance_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: Success - """ - kwargs['_return_http_data_only'] = True - return self.send_self_invite_with_http_info(world_id, instance_id, **kwargs) # noqa: E501 - - def send_self_invite_with_http_info(self, world_id, instance_id, **kwargs): # noqa: E501 - """Send Self Invite # noqa: E501 - - Sends an invite to the instance to yourself. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.send_self_invite_with_http_info(world_id, instance_id, async_req=True) - >>> result = thread.get() - - :param world_id: Must be a valid world ID. (required) - :type world_id: str - :param instance_id: Must be a valid instance ID. (required) - :type instance_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _return_http_data_only: response data without head status code - and headers - :type _return_http_data_only: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(Success, status_code(int), headers(HTTPHeaderDict)) - """ - - local_var_params = locals() - - all_params = [ - 'world_id', - 'instance_id' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method send_self_invite" % key - ) - local_var_params[key] = val - del local_var_params['kwargs'] - # verify the required parameter 'world_id' is set - if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `world_id` when calling `send_self_invite`") # noqa: E501 - # verify the required parameter 'instance_id' is set - if self.api_client.client_side_validation and local_var_params.get('instance_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `instance_id` when calling `send_self_invite`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'world_id' in local_var_params: - path_params['worldId'] = local_var_params['world_id'] # noqa: E501 - if 'instance_id' in local_var_params: - path_params['instanceId'] = local_var_params['instance_id'] # noqa: E501 - - query_params = [] - - header_params = dict(local_var_params.get('_headers', {})) - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['authCookie'] # noqa: E501 - - response_types_map = { - 200: "Success", - 401: "Error", - } - - return self.api_client.call_api( - '/instances/{worldId}:{instanceId}/invite', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_types_map=response_types_map, - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats, - _request_auth=local_var_params.get('_request_auth')) diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index 67ebf721..ee85f530 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index a2a0432c..ed18d429 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index ee48a166..eec30d1d 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index bd699852..0b2ec14a 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index 32b75e49..66a0077c 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index 894ad77e..67e95582 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 40130843..606f4009 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index 6373709c..72a4c936 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,7 +3,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index b1ca6a4c..d65ee6e5 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -441,7 +441,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.18.4\n"\ + "Version of the API: 1.18.5\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index fd919dea..a0707d7b 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index 43e859d9..d8fdf194 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,7 +5,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -16,8 +16,20 @@ # import models into model package from vrchatapi.models.api_config import APIConfig from vrchatapi.models.api_config_announcement import APIConfigAnnouncement +from vrchatapi.models.api_config_constants import APIConfigConstants +from vrchatapi.models.api_config_constants_groups import APIConfigConstantsGROUPS +from vrchatapi.models.api_config_constants_instance import APIConfigConstantsINSTANCE +from vrchatapi.models.api_config_constants_instancepopulationbrackets import APIConfigConstantsINSTANCEPOPULATIONBRACKETS +from vrchatapi.models.api_config_constants_instancepopulationbracketscrowded import APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED +from vrchatapi.models.api_config_constants_instancepopulationbracketsfew import APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW +from vrchatapi.models.api_config_constants_instancepopulationbracketsmany import APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY +from vrchatapi.models.api_config_constants_language import APIConfigConstantsLANGUAGE from vrchatapi.models.api_config_download_url_list import APIConfigDownloadURLList from vrchatapi.models.api_config_events import APIConfigEvents +from vrchatapi.models.api_config_min_supported_client_build_number import APIConfigMinSupportedClientBuildNumber +from vrchatapi.models.api_config_offline_analysis import APIConfigOfflineAnalysis +from vrchatapi.models.api_config_report_categories import APIConfigReportCategories +from vrchatapi.models.api_config_report_reasons import APIConfigReportReasons from vrchatapi.models.api_health import APIHealth from vrchatapi.models.account_deletion_log import AccountDeletionLog from vrchatapi.models.add_favorite_request import AddFavoriteRequest @@ -112,11 +124,15 @@ from vrchatapi.models.order_option import OrderOption from vrchatapi.models.paginated_group_audit_log_entry_list import PaginatedGroupAuditLogEntryList from vrchatapi.models.past_display_name import PastDisplayName +from vrchatapi.models.performance_ratings import PerformanceRatings from vrchatapi.models.permission import Permission +from vrchatapi.models.platform_build_info import PlatformBuildInfo from vrchatapi.models.player_moderation import PlayerModeration from vrchatapi.models.player_moderation_type import PlayerModerationType from vrchatapi.models.region import Region from vrchatapi.models.release_status import ReleaseStatus +from vrchatapi.models.report_category import ReportCategory +from vrchatapi.models.report_reason import ReportReason from vrchatapi.models.represented_group import RepresentedGroup from vrchatapi.models.request_invite_request import RequestInviteRequest from vrchatapi.models.respond_group_join_request import RespondGroupJoinRequest diff --git a/vrchatapi/models/account_deletion_log.py b/vrchatapi/models/account_deletion_log.py index d6e8e5e6..8886741a 100644 --- a/vrchatapi/models/account_deletion_log.py +++ b/vrchatapi/models/account_deletion_log.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index 0c12674a..35c08c6e 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index 124ae7d7..e1d479c3 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index e1fa98f5..650044b7 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -40,14 +40,18 @@ class APIConfig(object): 'voice_enable_receiver_limiting': 'bool', 'address': 'str', 'announcements': 'list[APIConfigAnnouncement]', + 'analytics_segment_new_ui_pct_of_users': 'int', + 'analytics_segment_new_ui_salt': 'str', 'app_name': 'str', 'available_language_codes': 'list[str]', 'available_languages': 'list[str]', 'build_version_tag': 'str', + 'chatbox_log_buffer_seconds': 'int', 'client_api_key': 'str', 'client_bps_ceiling': 'int', 'client_disconnect_timeout': 'int', 'client_net_dispatch_thread': 'bool', + 'client_net_dispatch_thread_mobile': 'bool', 'client_net_in_thread': 'bool', 'client_net_in_thread2': 'bool', 'client_net_in_thread_mobile': 'bool', @@ -59,6 +63,7 @@ class APIConfig(object): 'client_qr': 'int', 'client_reserved_player_bps': 'int', 'client_sent_count_allowance': 'int', + 'constants': 'APIConfigConstants', 'contact_email': 'str', 'copyright_email': 'str', 'current_privacy_version': 'int', @@ -93,13 +98,24 @@ class APIConfig(object): 'economy_pause_start': 'str', 'economy_state': 'int', 'events': 'APIConfigEvents', + 'force_use_latest_world': 'bool', + 'google_api_client_id': 'str', 'home_world_id': 'str', 'homepage_redirect_target': 'str', 'hub_world_id': 'str', 'image_host_url_list': 'list[str]', 'jobs_email': 'str', + 'min_supported_client_build_number': 'APIConfigMinSupportedClientBuildNumber', + 'minimum_unity_version_for_uploads': 'str', 'moderation_email': 'str', 'not_allowed_to_select_avatar_in_private_world_message': 'str', + 'offline_analysis': 'APIConfigOfflineAnalysis', + 'photon_nameserver_overrides': 'list[str]', + 'photon_public_keys': 'list[str]', + 'report_categories': 'APIConfigReportCategories', + 'report_form_url': 'str', + 'report_options': 'object', + 'report_reasons': 'APIConfigReportReasons', 'sdk_developer_faq_url': 'str', 'sdk_discord_url': 'str', 'sdk_not_allowed_to_publish_message': 'str', @@ -107,6 +123,7 @@ class APIConfig(object): 'server_name': 'str', 'string_host_url_list': 'list[str]', 'support_email': 'str', + 'timekeeping': 'bool', 'time_out_world_id': 'str', 'tutorial_world_id': 'str', 'update_rate_ms_maximum': 'int', @@ -119,7 +136,10 @@ class APIConfig(object): 'vive_windows_url': 'str', 'white_listed_asset_urls': 'list[str]', 'player_url_resolver_version': 'str', - 'player_url_resolver_sha1': 'str' + 'player_url_resolver_sha1': 'str', + 'websocket_max_friends_refresh_delay': 'int', + 'websocket_quick_reconnect_time': 'int', + 'websocket_reconnect_max_delay': 'int' } attribute_map = { @@ -127,14 +147,18 @@ class APIConfig(object): 'voice_enable_receiver_limiting': 'VoiceEnableReceiverLimiting', 'address': 'address', 'announcements': 'announcements', + 'analytics_segment_new_ui_pct_of_users': 'analyticsSegment_NewUI_PctOfUsers', + 'analytics_segment_new_ui_salt': 'analyticsSegment_NewUI_Salt', 'app_name': 'appName', 'available_language_codes': 'availableLanguageCodes', 'available_languages': 'availableLanguages', 'build_version_tag': 'buildVersionTag', + 'chatbox_log_buffer_seconds': 'chatboxLogBufferSeconds', 'client_api_key': 'clientApiKey', 'client_bps_ceiling': 'clientBPSCeiling', 'client_disconnect_timeout': 'clientDisconnectTimeout', 'client_net_dispatch_thread': 'clientNetDispatchThread', + 'client_net_dispatch_thread_mobile': 'clientNetDispatchThreadMobile', 'client_net_in_thread': 'clientNetInThread', 'client_net_in_thread2': 'clientNetInThread2', 'client_net_in_thread_mobile': 'clientNetInThreadMobile', @@ -146,6 +170,7 @@ class APIConfig(object): 'client_qr': 'clientQR', 'client_reserved_player_bps': 'clientReservedPlayerBPS', 'client_sent_count_allowance': 'clientSentCountAllowance', + 'constants': 'constants', 'contact_email': 'contactEmail', 'copyright_email': 'copyrightEmail', 'current_privacy_version': 'currentPrivacyVersion', @@ -180,13 +205,24 @@ class APIConfig(object): 'economy_pause_start': 'economyPauseStart', 'economy_state': 'economyState', 'events': 'events', + 'force_use_latest_world': 'forceUseLatestWorld', + 'google_api_client_id': 'googleApiClientId', 'home_world_id': 'homeWorldId', 'homepage_redirect_target': 'homepageRedirectTarget', 'hub_world_id': 'hubWorldId', 'image_host_url_list': 'imageHostUrlList', 'jobs_email': 'jobsEmail', + 'min_supported_client_build_number': 'minSupportedClientBuildNumber', + 'minimum_unity_version_for_uploads': 'minimumUnityVersionForUploads', 'moderation_email': 'moderationEmail', 'not_allowed_to_select_avatar_in_private_world_message': 'notAllowedToSelectAvatarInPrivateWorldMessage', + 'offline_analysis': 'offlineAnalysis', + 'photon_nameserver_overrides': 'photonNameserverOverrides', + 'photon_public_keys': 'photonPublicKeys', + 'report_categories': 'reportCategories', + 'report_form_url': 'reportFormUrl', + 'report_options': 'reportOptions', + 'report_reasons': 'reportReasons', 'sdk_developer_faq_url': 'sdkDeveloperFaqUrl', 'sdk_discord_url': 'sdkDiscordUrl', 'sdk_not_allowed_to_publish_message': 'sdkNotAllowedToPublishMessage', @@ -194,6 +230,7 @@ class APIConfig(object): 'server_name': 'serverName', 'string_host_url_list': 'stringHostUrlList', 'support_email': 'supportEmail', + 'timekeeping': 'timekeeping', 'time_out_world_id': 'timeOutWorldId', 'tutorial_world_id': 'tutorialWorldId', 'update_rate_ms_maximum': 'updateRateMsMaximum', @@ -206,10 +243,13 @@ class APIConfig(object): 'vive_windows_url': 'viveWindowsUrl', 'white_listed_asset_urls': 'whiteListedAssetUrls', 'player_url_resolver_version': 'player-url-resolver-version', - 'player_url_resolver_sha1': 'player-url-resolver-sha1' + 'player_url_resolver_sha1': 'player-url-resolver-sha1', + 'websocket_max_friends_refresh_delay': 'websocketMaxFriendsRefreshDelay', + 'websocket_quick_reconnect_time': 'websocketQuickReconnectTime', + 'websocket_reconnect_max_delay': 'websocketReconnectMaxDelay' } - def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limiting=True, address=None, announcements=None, app_name='VrChat', available_language_codes=None, available_languages=None, build_version_tag=None, client_api_key=None, client_bps_ceiling=18432, client_disconnect_timeout=30000, client_net_dispatch_thread=False, client_net_in_thread=False, client_net_in_thread2=False, client_net_in_thread_mobile=False, client_net_in_thread_mobile2=False, client_net_out_thread=False, client_net_out_thread2=False, client_net_out_thread_mobile=False, client_net_out_thread_mobile2=False, client_qr=1, client_reserved_player_bps=7168, client_sent_count_allowance=15, contact_email=None, copyright_email=None, current_privacy_version=1, current_tos_version=None, default_avatar=None, deployment_group=None, dev_language_codes=None, dev_sdk_url=None, dev_sdk_version=None, dis_countdown=None, disable_av_pro_in_proton=False, disable_avatar_copying=False, disable_avatar_gating=False, disable_community_labs=False, disable_community_labs_promotion=False, disable_email=False, disable_captcha=True, disable_event_stream=False, disable_feedback_gating=False, disable_frontend_builds=False, disable_hello=False, disable_oculus_subs=False, disable_registration=False, disable_steam_networking=True, disable_two_factor_auth=False, disable_udon=False, disable_upgrade_account=False, download_link_windows=None, download_urls=None, dynamic_world_rows=None, economy_pause_end=None, economy_pause_start=None, economy_state=1, events=None, home_world_id=None, homepage_redirect_target='https://hello.vrchat.com', hub_world_id=None, image_host_url_list=None, jobs_email=None, moderation_email=None, not_allowed_to_select_avatar_in_private_world_message=None, sdk_developer_faq_url=None, sdk_discord_url=None, sdk_not_allowed_to_publish_message=None, sdk_unity_version=None, server_name=None, string_host_url_list=None, support_email=None, time_out_world_id=None, tutorial_world_id=None, update_rate_ms_maximum=None, update_rate_ms_minimum=None, update_rate_ms_normal=None, update_rate_ms_udon_manual=None, upload_analysis_percent=None, url_list=None, use_reliable_udp_for_voice=False, vive_windows_url=None, white_listed_asset_urls=None, player_url_resolver_version=None, player_url_resolver_sha1=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limiting=True, address=None, announcements=None, analytics_segment_new_ui_pct_of_users=None, analytics_segment_new_ui_salt=None, app_name='VrChat', available_language_codes=None, available_languages=None, build_version_tag=None, chatbox_log_buffer_seconds=40, client_api_key=None, client_bps_ceiling=18432, client_disconnect_timeout=30000, client_net_dispatch_thread=False, client_net_dispatch_thread_mobile=True, client_net_in_thread=False, client_net_in_thread2=False, client_net_in_thread_mobile=False, client_net_in_thread_mobile2=False, client_net_out_thread=False, client_net_out_thread2=False, client_net_out_thread_mobile=False, client_net_out_thread_mobile2=False, client_qr=1, client_reserved_player_bps=7168, client_sent_count_allowance=15, constants=None, contact_email=None, copyright_email=None, current_privacy_version=1, current_tos_version=None, default_avatar=None, deployment_group=None, dev_language_codes=None, dev_sdk_url=None, dev_sdk_version=None, dis_countdown=None, disable_av_pro_in_proton=False, disable_avatar_copying=False, disable_avatar_gating=False, disable_community_labs=False, disable_community_labs_promotion=False, disable_email=False, disable_captcha=True, disable_event_stream=False, disable_feedback_gating=False, disable_frontend_builds=False, disable_hello=False, disable_oculus_subs=False, disable_registration=False, disable_steam_networking=True, disable_two_factor_auth=False, disable_udon=False, disable_upgrade_account=False, download_link_windows=None, download_urls=None, dynamic_world_rows=None, economy_pause_end=None, economy_pause_start=None, economy_state=1, events=None, force_use_latest_world=True, google_api_client_id='827942544393-r2ouvckvouldn9dg9uruseje575e878f.apps.googleusercontent.com', home_world_id=None, homepage_redirect_target='https://hello.vrchat.com', hub_world_id=None, image_host_url_list=None, jobs_email=None, min_supported_client_build_number=None, minimum_unity_version_for_uploads='2019.0.0f1', moderation_email=None, not_allowed_to_select_avatar_in_private_world_message=None, offline_analysis=None, photon_nameserver_overrides=None, photon_public_keys=None, report_categories=None, report_form_url='https://help.vrchat.com/hc/en-us/requests/new?ticket_form_id=1500000182242&tf_360056455174=user_report&tf_360057451993={userId}&tf_1500001445142={reportedId}&tf_subject={reason} {category} By {contentType} {reportedName}&tf_description={description}', report_options=None, report_reasons=None, sdk_developer_faq_url=None, sdk_discord_url=None, sdk_not_allowed_to_publish_message=None, sdk_unity_version=None, server_name=None, string_host_url_list=None, support_email=None, timekeeping=True, time_out_world_id=None, tutorial_world_id=None, update_rate_ms_maximum=None, update_rate_ms_minimum=None, update_rate_ms_normal=None, update_rate_ms_udon_manual=None, upload_analysis_percent=None, url_list=None, use_reliable_udp_for_voice=False, vive_windows_url=None, white_listed_asset_urls=None, player_url_resolver_version=None, player_url_resolver_sha1=None, websocket_max_friends_refresh_delay=900, websocket_quick_reconnect_time=2, websocket_reconnect_max_delay=2, local_vars_configuration=None): # noqa: E501 """APIConfig - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -219,14 +259,18 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self._voice_enable_receiver_limiting = None self._address = None self._announcements = None + self._analytics_segment_new_ui_pct_of_users = None + self._analytics_segment_new_ui_salt = None self._app_name = None self._available_language_codes = None self._available_languages = None self._build_version_tag = None + self._chatbox_log_buffer_seconds = None self._client_api_key = None self._client_bps_ceiling = None self._client_disconnect_timeout = None self._client_net_dispatch_thread = None + self._client_net_dispatch_thread_mobile = None self._client_net_in_thread = None self._client_net_in_thread2 = None self._client_net_in_thread_mobile = None @@ -238,6 +282,7 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self._client_qr = None self._client_reserved_player_bps = None self._client_sent_count_allowance = None + self._constants = None self._contact_email = None self._copyright_email = None self._current_privacy_version = None @@ -272,13 +317,24 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self._economy_pause_start = None self._economy_state = None self._events = None + self._force_use_latest_world = None + self._google_api_client_id = None self._home_world_id = None self._homepage_redirect_target = None self._hub_world_id = None self._image_host_url_list = None self._jobs_email = None + self._min_supported_client_build_number = None + self._minimum_unity_version_for_uploads = None self._moderation_email = None self._not_allowed_to_select_avatar_in_private_world_message = None + self._offline_analysis = None + self._photon_nameserver_overrides = None + self._photon_public_keys = None + self._report_categories = None + self._report_form_url = None + self._report_options = None + self._report_reasons = None self._sdk_developer_faq_url = None self._sdk_discord_url = None self._sdk_not_allowed_to_publish_message = None @@ -286,6 +342,7 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self._server_name = None self._string_host_url_list = None self._support_email = None + self._timekeeping = None self._time_out_world_id = None self._tutorial_world_id = None self._update_rate_ms_maximum = None @@ -299,21 +356,28 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self._white_listed_asset_urls = None self._player_url_resolver_version = None self._player_url_resolver_sha1 = None + self._websocket_max_friends_refresh_delay = None + self._websocket_quick_reconnect_time = None + self._websocket_reconnect_max_delay = None self.discriminator = None self.voice_enable_degradation = voice_enable_degradation self.voice_enable_receiver_limiting = voice_enable_receiver_limiting self.address = address self.announcements = announcements + self.analytics_segment_new_ui_pct_of_users = analytics_segment_new_ui_pct_of_users + self.analytics_segment_new_ui_salt = analytics_segment_new_ui_salt self.app_name = app_name self.available_language_codes = available_language_codes self.available_languages = available_languages self.build_version_tag = build_version_tag + self.chatbox_log_buffer_seconds = chatbox_log_buffer_seconds self.client_api_key = client_api_key self.client_bps_ceiling = client_bps_ceiling self.client_disconnect_timeout = client_disconnect_timeout if client_net_dispatch_thread is not None: self.client_net_dispatch_thread = client_net_dispatch_thread + self.client_net_dispatch_thread_mobile = client_net_dispatch_thread_mobile if client_net_in_thread is not None: self.client_net_in_thread = client_net_in_thread if client_net_in_thread2 is not None: @@ -334,6 +398,7 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self.client_qr = client_qr self.client_reserved_player_bps = client_reserved_player_bps self.client_sent_count_allowance = client_sent_count_allowance + self.constants = constants self.contact_email = contact_email self.copyright_email = copyright_email if current_privacy_version is not None: @@ -375,13 +440,24 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin if economy_state is not None: self.economy_state = economy_state self.events = events + self.force_use_latest_world = force_use_latest_world + self.google_api_client_id = google_api_client_id self.home_world_id = home_world_id self.homepage_redirect_target = homepage_redirect_target self.hub_world_id = hub_world_id self.image_host_url_list = image_host_url_list self.jobs_email = jobs_email + self.min_supported_client_build_number = min_supported_client_build_number + self.minimum_unity_version_for_uploads = minimum_unity_version_for_uploads self.moderation_email = moderation_email self.not_allowed_to_select_avatar_in_private_world_message = not_allowed_to_select_avatar_in_private_world_message + self.offline_analysis = offline_analysis + self.photon_nameserver_overrides = photon_nameserver_overrides + self.photon_public_keys = photon_public_keys + self.report_categories = report_categories + self.report_form_url = report_form_url + self.report_options = report_options + self.report_reasons = report_reasons self.sdk_developer_faq_url = sdk_developer_faq_url self.sdk_discord_url = sdk_discord_url self.sdk_not_allowed_to_publish_message = sdk_not_allowed_to_publish_message @@ -389,6 +465,7 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self.server_name = server_name self.string_host_url_list = string_host_url_list self.support_email = support_email + self.timekeeping = timekeeping self.time_out_world_id = time_out_world_id self.tutorial_world_id = tutorial_world_id self.update_rate_ms_maximum = update_rate_ms_maximum @@ -402,6 +479,9 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self.white_listed_asset_urls = white_listed_asset_urls self.player_url_resolver_version = player_url_resolver_version self.player_url_resolver_sha1 = player_url_resolver_sha1 + self.websocket_max_friends_refresh_delay = websocket_max_friends_refresh_delay + self.websocket_quick_reconnect_time = websocket_quick_reconnect_time + self.websocket_reconnect_max_delay = websocket_reconnect_max_delay @property def voice_enable_degradation(self): @@ -509,6 +589,56 @@ def announcements(self, announcements): self._announcements = announcements + @property + def analytics_segment_new_ui_pct_of_users(self): + """Gets the analytics_segment_new_ui_pct_of_users of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The analytics_segment_new_ui_pct_of_users of this APIConfig. # noqa: E501 + :rtype: int + """ + return self._analytics_segment_new_ui_pct_of_users + + @analytics_segment_new_ui_pct_of_users.setter + def analytics_segment_new_ui_pct_of_users(self, analytics_segment_new_ui_pct_of_users): + """Sets the analytics_segment_new_ui_pct_of_users of this APIConfig. + + Unknown # noqa: E501 + + :param analytics_segment_new_ui_pct_of_users: The analytics_segment_new_ui_pct_of_users of this APIConfig. # noqa: E501 + :type analytics_segment_new_ui_pct_of_users: int + """ + if self.local_vars_configuration.client_side_validation and analytics_segment_new_ui_pct_of_users is None: # noqa: E501 + raise ValueError("Invalid value for `analytics_segment_new_ui_pct_of_users`, must not be `None`") # noqa: E501 + + self._analytics_segment_new_ui_pct_of_users = analytics_segment_new_ui_pct_of_users + + @property + def analytics_segment_new_ui_salt(self): + """Gets the analytics_segment_new_ui_salt of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The analytics_segment_new_ui_salt of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._analytics_segment_new_ui_salt + + @analytics_segment_new_ui_salt.setter + def analytics_segment_new_ui_salt(self, analytics_segment_new_ui_salt): + """Sets the analytics_segment_new_ui_salt of this APIConfig. + + Unknown # noqa: E501 + + :param analytics_segment_new_ui_salt: The analytics_segment_new_ui_salt of this APIConfig. # noqa: E501 + :type analytics_segment_new_ui_salt: str + """ + if self.local_vars_configuration.client_side_validation and analytics_segment_new_ui_salt is None: # noqa: E501 + raise ValueError("Invalid value for `analytics_segment_new_ui_salt`, must not be `None`") # noqa: E501 + + self._analytics_segment_new_ui_salt = analytics_segment_new_ui_salt + @property def app_name(self): """Gets the app_name of this APIConfig. # noqa: E501 @@ -615,6 +745,31 @@ def build_version_tag(self, build_version_tag): self._build_version_tag = build_version_tag + @property + def chatbox_log_buffer_seconds(self): + """Gets the chatbox_log_buffer_seconds of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The chatbox_log_buffer_seconds of this APIConfig. # noqa: E501 + :rtype: int + """ + return self._chatbox_log_buffer_seconds + + @chatbox_log_buffer_seconds.setter + def chatbox_log_buffer_seconds(self, chatbox_log_buffer_seconds): + """Sets the chatbox_log_buffer_seconds of this APIConfig. + + Unknown # noqa: E501 + + :param chatbox_log_buffer_seconds: The chatbox_log_buffer_seconds of this APIConfig. # noqa: E501 + :type chatbox_log_buffer_seconds: int + """ + if self.local_vars_configuration.client_side_validation and chatbox_log_buffer_seconds is None: # noqa: E501 + raise ValueError("Invalid value for `chatbox_log_buffer_seconds`, must not be `None`") # noqa: E501 + + self._chatbox_log_buffer_seconds = chatbox_log_buffer_seconds + @property def client_api_key(self): """Gets the client_api_key of this APIConfig. # noqa: E501 @@ -716,6 +871,31 @@ def client_net_dispatch_thread(self, client_net_dispatch_thread): self._client_net_dispatch_thread = client_net_dispatch_thread + @property + def client_net_dispatch_thread_mobile(self): + """Gets the client_net_dispatch_thread_mobile of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The client_net_dispatch_thread_mobile of this APIConfig. # noqa: E501 + :rtype: bool + """ + return self._client_net_dispatch_thread_mobile + + @client_net_dispatch_thread_mobile.setter + def client_net_dispatch_thread_mobile(self, client_net_dispatch_thread_mobile): + """Sets the client_net_dispatch_thread_mobile of this APIConfig. + + Unknown # noqa: E501 + + :param client_net_dispatch_thread_mobile: The client_net_dispatch_thread_mobile of this APIConfig. # noqa: E501 + :type client_net_dispatch_thread_mobile: bool + """ + if self.local_vars_configuration.client_side_validation and client_net_dispatch_thread_mobile is None: # noqa: E501 + raise ValueError("Invalid value for `client_net_dispatch_thread_mobile`, must not be `None`") # noqa: E501 + + self._client_net_dispatch_thread_mobile = client_net_dispatch_thread_mobile + @property def client_net_in_thread(self): """Gets the client_net_in_thread of this APIConfig. # noqa: E501 @@ -973,6 +1153,29 @@ def client_sent_count_allowance(self, client_sent_count_allowance): self._client_sent_count_allowance = client_sent_count_allowance + @property + def constants(self): + """Gets the constants of this APIConfig. # noqa: E501 + + + :return: The constants of this APIConfig. # noqa: E501 + :rtype: APIConfigConstants + """ + return self._constants + + @constants.setter + def constants(self, constants): + """Sets the constants of this APIConfig. + + + :param constants: The constants of this APIConfig. # noqa: E501 + :type constants: APIConfigConstants + """ + if self.local_vars_configuration.client_side_validation and constants is None: # noqa: E501 + raise ValueError("Invalid value for `constants`, must not be `None`") # noqa: E501 + + self._constants = constants + @property def contact_email(self): """Gets the contact_email of this APIConfig. # noqa: E501 @@ -1822,6 +2025,56 @@ def events(self, events): self._events = events + @property + def force_use_latest_world(self): + """Gets the force_use_latest_world of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The force_use_latest_world of this APIConfig. # noqa: E501 + :rtype: bool + """ + return self._force_use_latest_world + + @force_use_latest_world.setter + def force_use_latest_world(self, force_use_latest_world): + """Sets the force_use_latest_world of this APIConfig. + + Unknown # noqa: E501 + + :param force_use_latest_world: The force_use_latest_world of this APIConfig. # noqa: E501 + :type force_use_latest_world: bool + """ + if self.local_vars_configuration.client_side_validation and force_use_latest_world is None: # noqa: E501 + raise ValueError("Invalid value for `force_use_latest_world`, must not be `None`") # noqa: E501 + + self._force_use_latest_world = force_use_latest_world + + @property + def google_api_client_id(self): + """Gets the google_api_client_id of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The google_api_client_id of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._google_api_client_id + + @google_api_client_id.setter + def google_api_client_id(self, google_api_client_id): + """Sets the google_api_client_id of this APIConfig. + + Unknown # noqa: E501 + + :param google_api_client_id: The google_api_client_id of this APIConfig. # noqa: E501 + :type google_api_client_id: str + """ + if self.local_vars_configuration.client_side_validation and google_api_client_id is None: # noqa: E501 + raise ValueError("Invalid value for `google_api_client_id`, must not be `None`") # noqa: E501 + + self._google_api_client_id = google_api_client_id + @property def home_world_id(self): """Gets the home_world_id of this APIConfig. # noqa: E501 @@ -1953,6 +2206,54 @@ def jobs_email(self, jobs_email): self._jobs_email = jobs_email + @property + def min_supported_client_build_number(self): + """Gets the min_supported_client_build_number of this APIConfig. # noqa: E501 + + + :return: The min_supported_client_build_number of this APIConfig. # noqa: E501 + :rtype: APIConfigMinSupportedClientBuildNumber + """ + return self._min_supported_client_build_number + + @min_supported_client_build_number.setter + def min_supported_client_build_number(self, min_supported_client_build_number): + """Sets the min_supported_client_build_number of this APIConfig. + + + :param min_supported_client_build_number: The min_supported_client_build_number of this APIConfig. # noqa: E501 + :type min_supported_client_build_number: APIConfigMinSupportedClientBuildNumber + """ + if self.local_vars_configuration.client_side_validation and min_supported_client_build_number is None: # noqa: E501 + raise ValueError("Invalid value for `min_supported_client_build_number`, must not be `None`") # noqa: E501 + + self._min_supported_client_build_number = min_supported_client_build_number + + @property + def minimum_unity_version_for_uploads(self): + """Gets the minimum_unity_version_for_uploads of this APIConfig. # noqa: E501 + + Minimum Unity version required for uploading assets # noqa: E501 + + :return: The minimum_unity_version_for_uploads of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._minimum_unity_version_for_uploads + + @minimum_unity_version_for_uploads.setter + def minimum_unity_version_for_uploads(self, minimum_unity_version_for_uploads): + """Sets the minimum_unity_version_for_uploads of this APIConfig. + + Minimum Unity version required for uploading assets # noqa: E501 + + :param minimum_unity_version_for_uploads: The minimum_unity_version_for_uploads of this APIConfig. # noqa: E501 + :type minimum_unity_version_for_uploads: str + """ + if self.local_vars_configuration.client_side_validation and minimum_unity_version_for_uploads is None: # noqa: E501 + raise ValueError("Invalid value for `minimum_unity_version_for_uploads`, must not be `None`") # noqa: E501 + + self._minimum_unity_version_for_uploads = minimum_unity_version_for_uploads + @property def moderation_email(self): """Gets the moderation_email of this APIConfig. # noqa: E501 @@ -2009,6 +2310,175 @@ def not_allowed_to_select_avatar_in_private_world_message(self, not_allowed_to_s self._not_allowed_to_select_avatar_in_private_world_message = not_allowed_to_select_avatar_in_private_world_message + @property + def offline_analysis(self): + """Gets the offline_analysis of this APIConfig. # noqa: E501 + + + :return: The offline_analysis of this APIConfig. # noqa: E501 + :rtype: APIConfigOfflineAnalysis + """ + return self._offline_analysis + + @offline_analysis.setter + def offline_analysis(self, offline_analysis): + """Sets the offline_analysis of this APIConfig. + + + :param offline_analysis: The offline_analysis of this APIConfig. # noqa: E501 + :type offline_analysis: APIConfigOfflineAnalysis + """ + if self.local_vars_configuration.client_side_validation and offline_analysis is None: # noqa: E501 + raise ValueError("Invalid value for `offline_analysis`, must not be `None`") # noqa: E501 + + self._offline_analysis = offline_analysis + + @property + def photon_nameserver_overrides(self): + """Gets the photon_nameserver_overrides of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The photon_nameserver_overrides of this APIConfig. # noqa: E501 + :rtype: list[str] + """ + return self._photon_nameserver_overrides + + @photon_nameserver_overrides.setter + def photon_nameserver_overrides(self, photon_nameserver_overrides): + """Sets the photon_nameserver_overrides of this APIConfig. + + Unknown # noqa: E501 + + :param photon_nameserver_overrides: The photon_nameserver_overrides of this APIConfig. # noqa: E501 + :type photon_nameserver_overrides: list[str] + """ + if self.local_vars_configuration.client_side_validation and photon_nameserver_overrides is None: # noqa: E501 + raise ValueError("Invalid value for `photon_nameserver_overrides`, must not be `None`") # noqa: E501 + + self._photon_nameserver_overrides = photon_nameserver_overrides + + @property + def photon_public_keys(self): + """Gets the photon_public_keys of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The photon_public_keys of this APIConfig. # noqa: E501 + :rtype: list[str] + """ + return self._photon_public_keys + + @photon_public_keys.setter + def photon_public_keys(self, photon_public_keys): + """Sets the photon_public_keys of this APIConfig. + + Unknown # noqa: E501 + + :param photon_public_keys: The photon_public_keys of this APIConfig. # noqa: E501 + :type photon_public_keys: list[str] + """ + if self.local_vars_configuration.client_side_validation and photon_public_keys is None: # noqa: E501 + raise ValueError("Invalid value for `photon_public_keys`, must not be `None`") # noqa: E501 + + self._photon_public_keys = photon_public_keys + + @property + def report_categories(self): + """Gets the report_categories of this APIConfig. # noqa: E501 + + + :return: The report_categories of this APIConfig. # noqa: E501 + :rtype: APIConfigReportCategories + """ + return self._report_categories + + @report_categories.setter + def report_categories(self, report_categories): + """Sets the report_categories of this APIConfig. + + + :param report_categories: The report_categories of this APIConfig. # noqa: E501 + :type report_categories: APIConfigReportCategories + """ + if self.local_vars_configuration.client_side_validation and report_categories is None: # noqa: E501 + raise ValueError("Invalid value for `report_categories`, must not be `None`") # noqa: E501 + + self._report_categories = report_categories + + @property + def report_form_url(self): + """Gets the report_form_url of this APIConfig. # noqa: E501 + + URL to the report form # noqa: E501 + + :return: The report_form_url of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._report_form_url + + @report_form_url.setter + def report_form_url(self, report_form_url): + """Sets the report_form_url of this APIConfig. + + URL to the report form # noqa: E501 + + :param report_form_url: The report_form_url of this APIConfig. # noqa: E501 + :type report_form_url: str + """ + if self.local_vars_configuration.client_side_validation and report_form_url is None: # noqa: E501 + raise ValueError("Invalid value for `report_form_url`, must not be `None`") # noqa: E501 + + self._report_form_url = report_form_url + + @property + def report_options(self): + """Gets the report_options of this APIConfig. # noqa: E501 + + Options for reporting content # noqa: E501 + + :return: The report_options of this APIConfig. # noqa: E501 + :rtype: object + """ + return self._report_options + + @report_options.setter + def report_options(self, report_options): + """Sets the report_options of this APIConfig. + + Options for reporting content # noqa: E501 + + :param report_options: The report_options of this APIConfig. # noqa: E501 + :type report_options: object + """ + if self.local_vars_configuration.client_side_validation and report_options is None: # noqa: E501 + raise ValueError("Invalid value for `report_options`, must not be `None`") # noqa: E501 + + self._report_options = report_options + + @property + def report_reasons(self): + """Gets the report_reasons of this APIConfig. # noqa: E501 + + + :return: The report_reasons of this APIConfig. # noqa: E501 + :rtype: APIConfigReportReasons + """ + return self._report_reasons + + @report_reasons.setter + def report_reasons(self, report_reasons): + """Sets the report_reasons of this APIConfig. + + + :param report_reasons: The report_reasons of this APIConfig. # noqa: E501 + :type report_reasons: APIConfigReportReasons + """ + if self.local_vars_configuration.client_side_validation and report_reasons is None: # noqa: E501 + raise ValueError("Invalid value for `report_reasons`, must not be `None`") # noqa: E501 + + self._report_reasons = report_reasons + @property def sdk_developer_faq_url(self): """Gets the sdk_developer_faq_url of this APIConfig. # noqa: E501 @@ -2202,6 +2672,31 @@ def support_email(self, support_email): self._support_email = support_email + @property + def timekeeping(self): + """Gets the timekeeping of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The timekeeping of this APIConfig. # noqa: E501 + :rtype: bool + """ + return self._timekeeping + + @timekeeping.setter + def timekeeping(self, timekeeping): + """Sets the timekeeping of this APIConfig. + + Unknown # noqa: E501 + + :param timekeeping: The timekeeping of this APIConfig. # noqa: E501 + :type timekeeping: bool + """ + if self.local_vars_configuration.client_side_validation and timekeeping is None: # noqa: E501 + raise ValueError("Invalid value for `timekeeping`, must not be `None`") # noqa: E501 + + self._timekeeping = timekeeping + @property def time_out_world_id(self): """Gets the time_out_world_id of this APIConfig. # noqa: E501 @@ -2536,6 +3031,81 @@ def player_url_resolver_sha1(self, player_url_resolver_sha1): self._player_url_resolver_sha1 = player_url_resolver_sha1 + @property + def websocket_max_friends_refresh_delay(self): + """Gets the websocket_max_friends_refresh_delay of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The websocket_max_friends_refresh_delay of this APIConfig. # noqa: E501 + :rtype: int + """ + return self._websocket_max_friends_refresh_delay + + @websocket_max_friends_refresh_delay.setter + def websocket_max_friends_refresh_delay(self, websocket_max_friends_refresh_delay): + """Sets the websocket_max_friends_refresh_delay of this APIConfig. + + Unknown # noqa: E501 + + :param websocket_max_friends_refresh_delay: The websocket_max_friends_refresh_delay of this APIConfig. # noqa: E501 + :type websocket_max_friends_refresh_delay: int + """ + if self.local_vars_configuration.client_side_validation and websocket_max_friends_refresh_delay is None: # noqa: E501 + raise ValueError("Invalid value for `websocket_max_friends_refresh_delay`, must not be `None`") # noqa: E501 + + self._websocket_max_friends_refresh_delay = websocket_max_friends_refresh_delay + + @property + def websocket_quick_reconnect_time(self): + """Gets the websocket_quick_reconnect_time of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The websocket_quick_reconnect_time of this APIConfig. # noqa: E501 + :rtype: int + """ + return self._websocket_quick_reconnect_time + + @websocket_quick_reconnect_time.setter + def websocket_quick_reconnect_time(self, websocket_quick_reconnect_time): + """Sets the websocket_quick_reconnect_time of this APIConfig. + + Unknown # noqa: E501 + + :param websocket_quick_reconnect_time: The websocket_quick_reconnect_time of this APIConfig. # noqa: E501 + :type websocket_quick_reconnect_time: int + """ + if self.local_vars_configuration.client_side_validation and websocket_quick_reconnect_time is None: # noqa: E501 + raise ValueError("Invalid value for `websocket_quick_reconnect_time`, must not be `None`") # noqa: E501 + + self._websocket_quick_reconnect_time = websocket_quick_reconnect_time + + @property + def websocket_reconnect_max_delay(self): + """Gets the websocket_reconnect_max_delay of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The websocket_reconnect_max_delay of this APIConfig. # noqa: E501 + :rtype: int + """ + return self._websocket_reconnect_max_delay + + @websocket_reconnect_max_delay.setter + def websocket_reconnect_max_delay(self, websocket_reconnect_max_delay): + """Sets the websocket_reconnect_max_delay of this APIConfig. + + Unknown # noqa: E501 + + :param websocket_reconnect_max_delay: The websocket_reconnect_max_delay of this APIConfig. # noqa: E501 + :type websocket_reconnect_max_delay: int + """ + if self.local_vars_configuration.client_side_validation and websocket_reconnect_max_delay is None: # noqa: E501 + raise ValueError("Invalid value for `websocket_reconnect_max_delay`, must not be `None`") # noqa: E501 + + self._websocket_reconnect_max_delay = websocket_reconnect_max_delay + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index 5e315964..0cf5594c 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants.py b/vrchatapi/models/api_config_constants.py new file mode 100644 index 00000000..a054cf9f --- /dev/null +++ b/vrchatapi/models/api_config_constants.py @@ -0,0 +1,186 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.5 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class APIConfigConstants(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'groups': 'APIConfigConstantsGROUPS', + 'instance': 'APIConfigConstantsINSTANCE', + 'language': 'APIConfigConstantsLANGUAGE' + } + + attribute_map = { + 'groups': 'GROUPS', + 'instance': 'INSTANCE', + 'language': 'LANGUAGE' + } + + def __init__(self, groups=None, instance=None, language=None, local_vars_configuration=None): # noqa: E501 + """APIConfigConstants - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._groups = None + self._instance = None + self._language = None + self.discriminator = None + + self.groups = groups + self.instance = instance + self.language = language + + @property + def groups(self): + """Gets the groups of this APIConfigConstants. # noqa: E501 + + + :return: The groups of this APIConfigConstants. # noqa: E501 + :rtype: APIConfigConstantsGROUPS + """ + return self._groups + + @groups.setter + def groups(self, groups): + """Sets the groups of this APIConfigConstants. + + + :param groups: The groups of this APIConfigConstants. # noqa: E501 + :type groups: APIConfigConstantsGROUPS + """ + if self.local_vars_configuration.client_side_validation and groups is None: # noqa: E501 + raise ValueError("Invalid value for `groups`, must not be `None`") # noqa: E501 + + self._groups = groups + + @property + def instance(self): + """Gets the instance of this APIConfigConstants. # noqa: E501 + + + :return: The instance of this APIConfigConstants. # noqa: E501 + :rtype: APIConfigConstantsINSTANCE + """ + return self._instance + + @instance.setter + def instance(self, instance): + """Sets the instance of this APIConfigConstants. + + + :param instance: The instance of this APIConfigConstants. # noqa: E501 + :type instance: APIConfigConstantsINSTANCE + """ + if self.local_vars_configuration.client_side_validation and instance is None: # noqa: E501 + raise ValueError("Invalid value for `instance`, must not be `None`") # noqa: E501 + + self._instance = instance + + @property + def language(self): + """Gets the language of this APIConfigConstants. # noqa: E501 + + + :return: The language of this APIConfigConstants. # noqa: E501 + :rtype: APIConfigConstantsLANGUAGE + """ + return self._language + + @language.setter + def language(self, language): + """Sets the language of this APIConfigConstants. + + + :param language: The language of this APIConfigConstants. # noqa: E501 + :type language: APIConfigConstantsLANGUAGE + """ + if self.local_vars_configuration.client_side_validation and language is None: # noqa: E501 + raise ValueError("Invalid value for `language`, must not be `None`") # noqa: E501 + + self._language = language + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, APIConfigConstants): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, APIConfigConstants): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/api_config_constants_groups.py b/vrchatapi/models/api_config_constants_groups.py new file mode 100644 index 00000000..45a58146 --- /dev/null +++ b/vrchatapi/models/api_config_constants_groups.py @@ -0,0 +1,385 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.5 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class APIConfigConstantsGROUPS(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'capacity': 'int', + 'group_transfer_requirements': 'list[str]', + 'max_invites_requests': 'int', + 'max_joined': 'int', + 'max_joined_plus': 'int', + 'max_languages': 'int', + 'max_links': 'int', + 'max_management_roles': 'int', + 'max_owned': 'int', + 'max_roles': 'int' + } + + attribute_map = { + 'capacity': 'CAPACITY', + 'group_transfer_requirements': 'GROUP_TRANSFER_REQUIREMENTS', + 'max_invites_requests': 'MAX_INVITES_REQUESTS', + 'max_joined': 'MAX_JOINED', + 'max_joined_plus': 'MAX_JOINED_PLUS', + 'max_languages': 'MAX_LANGUAGES', + 'max_links': 'MAX_LINKS', + 'max_management_roles': 'MAX_MANAGEMENT_ROLES', + 'max_owned': 'MAX_OWNED', + 'max_roles': 'MAX_ROLES' + } + + def __init__(self, capacity=100000, group_transfer_requirements=None, max_invites_requests=50, max_joined=100, max_joined_plus=200, max_languages=10, max_links=3, max_management_roles=5, max_owned=5, max_roles=50, local_vars_configuration=None): # noqa: E501 + """APIConfigConstantsGROUPS - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._capacity = None + self._group_transfer_requirements = None + self._max_invites_requests = None + self._max_joined = None + self._max_joined_plus = None + self._max_languages = None + self._max_links = None + self._max_management_roles = None + self._max_owned = None + self._max_roles = None + self.discriminator = None + + if capacity is not None: + self.capacity = capacity + if group_transfer_requirements is not None: + self.group_transfer_requirements = group_transfer_requirements + if max_invites_requests is not None: + self.max_invites_requests = max_invites_requests + if max_joined is not None: + self.max_joined = max_joined + if max_joined_plus is not None: + self.max_joined_plus = max_joined_plus + if max_languages is not None: + self.max_languages = max_languages + if max_links is not None: + self.max_links = max_links + if max_management_roles is not None: + self.max_management_roles = max_management_roles + if max_owned is not None: + self.max_owned = max_owned + if max_roles is not None: + self.max_roles = max_roles + + @property + def capacity(self): + """Gets the capacity of this APIConfigConstantsGROUPS. # noqa: E501 + + Maximum group capacity # noqa: E501 + + :return: The capacity of this APIConfigConstantsGROUPS. # noqa: E501 + :rtype: int + """ + return self._capacity + + @capacity.setter + def capacity(self, capacity): + """Sets the capacity of this APIConfigConstantsGROUPS. + + Maximum group capacity # noqa: E501 + + :param capacity: The capacity of this APIConfigConstantsGROUPS. # noqa: E501 + :type capacity: int + """ + + self._capacity = capacity + + @property + def group_transfer_requirements(self): + """Gets the group_transfer_requirements of this APIConfigConstantsGROUPS. # noqa: E501 + + Requirements for transferring group ownership # noqa: E501 + + :return: The group_transfer_requirements of this APIConfigConstantsGROUPS. # noqa: E501 + :rtype: list[str] + """ + return self._group_transfer_requirements + + @group_transfer_requirements.setter + def group_transfer_requirements(self, group_transfer_requirements): + """Sets the group_transfer_requirements of this APIConfigConstantsGROUPS. + + Requirements for transferring group ownership # noqa: E501 + + :param group_transfer_requirements: The group_transfer_requirements of this APIConfigConstantsGROUPS. # noqa: E501 + :type group_transfer_requirements: list[str] + """ + + self._group_transfer_requirements = group_transfer_requirements + + @property + def max_invites_requests(self): + """Gets the max_invites_requests of this APIConfigConstantsGROUPS. # noqa: E501 + + Maximum number of invite requests # noqa: E501 + + :return: The max_invites_requests of this APIConfigConstantsGROUPS. # noqa: E501 + :rtype: int + """ + return self._max_invites_requests + + @max_invites_requests.setter + def max_invites_requests(self, max_invites_requests): + """Sets the max_invites_requests of this APIConfigConstantsGROUPS. + + Maximum number of invite requests # noqa: E501 + + :param max_invites_requests: The max_invites_requests of this APIConfigConstantsGROUPS. # noqa: E501 + :type max_invites_requests: int + """ + + self._max_invites_requests = max_invites_requests + + @property + def max_joined(self): + """Gets the max_joined of this APIConfigConstantsGROUPS. # noqa: E501 + + Maximum number of joined groups # noqa: E501 + + :return: The max_joined of this APIConfigConstantsGROUPS. # noqa: E501 + :rtype: int + """ + return self._max_joined + + @max_joined.setter + def max_joined(self, max_joined): + """Sets the max_joined of this APIConfigConstantsGROUPS. + + Maximum number of joined groups # noqa: E501 + + :param max_joined: The max_joined of this APIConfigConstantsGROUPS. # noqa: E501 + :type max_joined: int + """ + + self._max_joined = max_joined + + @property + def max_joined_plus(self): + """Gets the max_joined_plus of this APIConfigConstantsGROUPS. # noqa: E501 + + Maximum number of joined groups for VRChat Plus members # noqa: E501 + + :return: The max_joined_plus of this APIConfigConstantsGROUPS. # noqa: E501 + :rtype: int + """ + return self._max_joined_plus + + @max_joined_plus.setter + def max_joined_plus(self, max_joined_plus): + """Sets the max_joined_plus of this APIConfigConstantsGROUPS. + + Maximum number of joined groups for VRChat Plus members # noqa: E501 + + :param max_joined_plus: The max_joined_plus of this APIConfigConstantsGROUPS. # noqa: E501 + :type max_joined_plus: int + """ + + self._max_joined_plus = max_joined_plus + + @property + def max_languages(self): + """Gets the max_languages of this APIConfigConstantsGROUPS. # noqa: E501 + + Maximum number of supported languages # noqa: E501 + + :return: The max_languages of this APIConfigConstantsGROUPS. # noqa: E501 + :rtype: int + """ + return self._max_languages + + @max_languages.setter + def max_languages(self, max_languages): + """Sets the max_languages of this APIConfigConstantsGROUPS. + + Maximum number of supported languages # noqa: E501 + + :param max_languages: The max_languages of this APIConfigConstantsGROUPS. # noqa: E501 + :type max_languages: int + """ + + self._max_languages = max_languages + + @property + def max_links(self): + """Gets the max_links of this APIConfigConstantsGROUPS. # noqa: E501 + + Maximum number of group links # noqa: E501 + + :return: The max_links of this APIConfigConstantsGROUPS. # noqa: E501 + :rtype: int + """ + return self._max_links + + @max_links.setter + def max_links(self, max_links): + """Sets the max_links of this APIConfigConstantsGROUPS. + + Maximum number of group links # noqa: E501 + + :param max_links: The max_links of this APIConfigConstantsGROUPS. # noqa: E501 + :type max_links: int + """ + + self._max_links = max_links + + @property + def max_management_roles(self): + """Gets the max_management_roles of this APIConfigConstantsGROUPS. # noqa: E501 + + Maximum number of management roles in a group # noqa: E501 + + :return: The max_management_roles of this APIConfigConstantsGROUPS. # noqa: E501 + :rtype: int + """ + return self._max_management_roles + + @max_management_roles.setter + def max_management_roles(self, max_management_roles): + """Sets the max_management_roles of this APIConfigConstantsGROUPS. + + Maximum number of management roles in a group # noqa: E501 + + :param max_management_roles: The max_management_roles of this APIConfigConstantsGROUPS. # noqa: E501 + :type max_management_roles: int + """ + + self._max_management_roles = max_management_roles + + @property + def max_owned(self): + """Gets the max_owned of this APIConfigConstantsGROUPS. # noqa: E501 + + Maximum number of groups a user can own # noqa: E501 + + :return: The max_owned of this APIConfigConstantsGROUPS. # noqa: E501 + :rtype: int + """ + return self._max_owned + + @max_owned.setter + def max_owned(self, max_owned): + """Sets the max_owned of this APIConfigConstantsGROUPS. + + Maximum number of groups a user can own # noqa: E501 + + :param max_owned: The max_owned of this APIConfigConstantsGROUPS. # noqa: E501 + :type max_owned: int + """ + + self._max_owned = max_owned + + @property + def max_roles(self): + """Gets the max_roles of this APIConfigConstantsGROUPS. # noqa: E501 + + Maximum number of roles in a group # noqa: E501 + + :return: The max_roles of this APIConfigConstantsGROUPS. # noqa: E501 + :rtype: int + """ + return self._max_roles + + @max_roles.setter + def max_roles(self, max_roles): + """Sets the max_roles of this APIConfigConstantsGROUPS. + + Maximum number of roles in a group # noqa: E501 + + :param max_roles: The max_roles of this APIConfigConstantsGROUPS. # noqa: E501 + :type max_roles: int + """ + + self._max_roles = max_roles + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, APIConfigConstantsGROUPS): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, APIConfigConstantsGROUPS): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/api_config_constants_instance.py b/vrchatapi/models/api_config_constants_instance.py new file mode 100644 index 00000000..d2e05b5e --- /dev/null +++ b/vrchatapi/models/api_config_constants_instance.py @@ -0,0 +1,131 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.5 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class APIConfigConstantsINSTANCE(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'population_brackets': 'APIConfigConstantsINSTANCEPOPULATIONBRACKETS' + } + + attribute_map = { + 'population_brackets': 'POPULATION_BRACKETS' + } + + def __init__(self, population_brackets=None, local_vars_configuration=None): # noqa: E501 + """APIConfigConstantsINSTANCE - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._population_brackets = None + self.discriminator = None + + if population_brackets is not None: + self.population_brackets = population_brackets + + @property + def population_brackets(self): + """Gets the population_brackets of this APIConfigConstantsINSTANCE. # noqa: E501 + + + :return: The population_brackets of this APIConfigConstantsINSTANCE. # noqa: E501 + :rtype: APIConfigConstantsINSTANCEPOPULATIONBRACKETS + """ + return self._population_brackets + + @population_brackets.setter + def population_brackets(self, population_brackets): + """Sets the population_brackets of this APIConfigConstantsINSTANCE. + + + :param population_brackets: The population_brackets of this APIConfigConstantsINSTANCE. # noqa: E501 + :type population_brackets: APIConfigConstantsINSTANCEPOPULATIONBRACKETS + """ + + self._population_brackets = population_brackets + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, APIConfigConstantsINSTANCE): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, APIConfigConstantsINSTANCE): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/api_config_constants_instancepopulationbrackets.py b/vrchatapi/models/api_config_constants_instancepopulationbrackets.py new file mode 100644 index 00000000..78ce1bc9 --- /dev/null +++ b/vrchatapi/models/api_config_constants_instancepopulationbrackets.py @@ -0,0 +1,183 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.5 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class APIConfigConstantsINSTANCEPOPULATIONBRACKETS(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'crowded': 'APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED', + 'few': 'APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW', + 'many': 'APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY' + } + + attribute_map = { + 'crowded': 'CROWDED', + 'few': 'FEW', + 'many': 'MANY' + } + + def __init__(self, crowded=None, few=None, many=None, local_vars_configuration=None): # noqa: E501 + """APIConfigConstantsINSTANCEPOPULATIONBRACKETS - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._crowded = None + self._few = None + self._many = None + self.discriminator = None + + if crowded is not None: + self.crowded = crowded + if few is not None: + self.few = few + if many is not None: + self.many = many + + @property + def crowded(self): + """Gets the crowded of this APIConfigConstantsINSTANCEPOPULATIONBRACKETS. # noqa: E501 + + + :return: The crowded of this APIConfigConstantsINSTANCEPOPULATIONBRACKETS. # noqa: E501 + :rtype: APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED + """ + return self._crowded + + @crowded.setter + def crowded(self, crowded): + """Sets the crowded of this APIConfigConstantsINSTANCEPOPULATIONBRACKETS. + + + :param crowded: The crowded of this APIConfigConstantsINSTANCEPOPULATIONBRACKETS. # noqa: E501 + :type crowded: APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED + """ + + self._crowded = crowded + + @property + def few(self): + """Gets the few of this APIConfigConstantsINSTANCEPOPULATIONBRACKETS. # noqa: E501 + + + :return: The few of this APIConfigConstantsINSTANCEPOPULATIONBRACKETS. # noqa: E501 + :rtype: APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW + """ + return self._few + + @few.setter + def few(self, few): + """Sets the few of this APIConfigConstantsINSTANCEPOPULATIONBRACKETS. + + + :param few: The few of this APIConfigConstantsINSTANCEPOPULATIONBRACKETS. # noqa: E501 + :type few: APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW + """ + + self._few = few + + @property + def many(self): + """Gets the many of this APIConfigConstantsINSTANCEPOPULATIONBRACKETS. # noqa: E501 + + + :return: The many of this APIConfigConstantsINSTANCEPOPULATIONBRACKETS. # noqa: E501 + :rtype: APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY + """ + return self._many + + @many.setter + def many(self, many): + """Sets the many of this APIConfigConstantsINSTANCEPOPULATIONBRACKETS. + + + :param many: The many of this APIConfigConstantsINSTANCEPOPULATIONBRACKETS. # noqa: E501 + :type many: APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY + """ + + self._many = many + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, APIConfigConstantsINSTANCEPOPULATIONBRACKETS): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, APIConfigConstantsINSTANCEPOPULATIONBRACKETS): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py b/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py new file mode 100644 index 00000000..51eca4a7 --- /dev/null +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py @@ -0,0 +1,161 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.5 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'max': 'int', + 'min': 'int' + } + + attribute_map = { + 'max': 'max', + 'min': 'min' + } + + def __init__(self, max=None, min=None, local_vars_configuration=None): # noqa: E501 + """APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._max = None + self._min = None + self.discriminator = None + + if max is not None: + self.max = max + if min is not None: + self.min = min + + @property + def max(self): + """Gets the max of this APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED. # noqa: E501 + + Maximum population for a crowded instance # noqa: E501 + + :return: The max of this APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED. # noqa: E501 + :rtype: int + """ + return self._max + + @max.setter + def max(self, max): + """Sets the max of this APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED. + + Maximum population for a crowded instance # noqa: E501 + + :param max: The max of this APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED. # noqa: E501 + :type max: int + """ + + self._max = max + + @property + def min(self): + """Gets the min of this APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED. # noqa: E501 + + Minimum population for a crowded instance # noqa: E501 + + :return: The min of this APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED. # noqa: E501 + :rtype: int + """ + return self._min + + @min.setter + def min(self, min): + """Sets the min of this APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED. + + Minimum population for a crowded instance # noqa: E501 + + :param min: The min of this APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED. # noqa: E501 + :type min: int + """ + + self._min = min + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py b/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py new file mode 100644 index 00000000..7e3eb816 --- /dev/null +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py @@ -0,0 +1,161 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.5 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'max': 'int', + 'min': 'int' + } + + attribute_map = { + 'max': 'max', + 'min': 'min' + } + + def __init__(self, max=None, min=None, local_vars_configuration=None): # noqa: E501 + """APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._max = None + self._min = None + self.discriminator = None + + if max is not None: + self.max = max + if min is not None: + self.min = min + + @property + def max(self): + """Gets the max of this APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW. # noqa: E501 + + Maximum population for a few instance # noqa: E501 + + :return: The max of this APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW. # noqa: E501 + :rtype: int + """ + return self._max + + @max.setter + def max(self, max): + """Sets the max of this APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW. + + Maximum population for a few instance # noqa: E501 + + :param max: The max of this APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW. # noqa: E501 + :type max: int + """ + + self._max = max + + @property + def min(self): + """Gets the min of this APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW. # noqa: E501 + + Minimum population for a few instance # noqa: E501 + + :return: The min of this APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW. # noqa: E501 + :rtype: int + """ + return self._min + + @min.setter + def min(self, min): + """Sets the min of this APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW. + + Minimum population for a few instance # noqa: E501 + + :param min: The min of this APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW. # noqa: E501 + :type min: int + """ + + self._min = min + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py b/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py new file mode 100644 index 00000000..7339ce8f --- /dev/null +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py @@ -0,0 +1,161 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.5 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'max': 'int', + 'min': 'int' + } + + attribute_map = { + 'max': 'max', + 'min': 'min' + } + + def __init__(self, max=None, min=None, local_vars_configuration=None): # noqa: E501 + """APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._max = None + self._min = None + self.discriminator = None + + if max is not None: + self.max = max + if min is not None: + self.min = min + + @property + def max(self): + """Gets the max of this APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY. # noqa: E501 + + Maximum population for a many instance # noqa: E501 + + :return: The max of this APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY. # noqa: E501 + :rtype: int + """ + return self._max + + @max.setter + def max(self, max): + """Sets the max of this APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY. + + Maximum population for a many instance # noqa: E501 + + :param max: The max of this APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY. # noqa: E501 + :type max: int + """ + + self._max = max + + @property + def min(self): + """Gets the min of this APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY. # noqa: E501 + + Minimum population for a many instance # noqa: E501 + + :return: The min of this APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY. # noqa: E501 + :rtype: int + """ + return self._min + + @min.setter + def min(self, min): + """Sets the min of this APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY. + + Minimum population for a many instance # noqa: E501 + + :param min: The min of this APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY. # noqa: E501 + :type min: int + """ + + self._min = min + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/api_config_constants_language.py b/vrchatapi/models/api_config_constants_language.py new file mode 100644 index 00000000..aa5587b0 --- /dev/null +++ b/vrchatapi/models/api_config_constants_language.py @@ -0,0 +1,133 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.5 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class APIConfigConstantsLANGUAGE(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'spoken_language_options': 'dict(str, str)' + } + + attribute_map = { + 'spoken_language_options': 'SPOKEN_LANGUAGE_OPTIONS' + } + + def __init__(self, spoken_language_options=None, local_vars_configuration=None): # noqa: E501 + """APIConfigConstantsLANGUAGE - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._spoken_language_options = None + self.discriminator = None + + if spoken_language_options is not None: + self.spoken_language_options = spoken_language_options + + @property + def spoken_language_options(self): + """Gets the spoken_language_options of this APIConfigConstantsLANGUAGE. # noqa: E501 + + Supported spoken language options # noqa: E501 + + :return: The spoken_language_options of this APIConfigConstantsLANGUAGE. # noqa: E501 + :rtype: dict(str, str) + """ + return self._spoken_language_options + + @spoken_language_options.setter + def spoken_language_options(self, spoken_language_options): + """Sets the spoken_language_options of this APIConfigConstantsLANGUAGE. + + Supported spoken language options # noqa: E501 + + :param spoken_language_options: The spoken_language_options of this APIConfigConstantsLANGUAGE. # noqa: E501 + :type spoken_language_options: dict(str, str) + """ + + self._spoken_language_options = spoken_language_options + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, APIConfigConstantsLANGUAGE): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, APIConfigConstantsLANGUAGE): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index 426ba3d8..6d306db6 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index 4833931c..925597a9 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_min_supported_client_build_number.py b/vrchatapi/models/api_config_min_supported_client_build_number.py new file mode 100644 index 00000000..e25a6a75 --- /dev/null +++ b/vrchatapi/models/api_config_min_supported_client_build_number.py @@ -0,0 +1,402 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.5 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class APIConfigMinSupportedClientBuildNumber(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'app_store': 'PlatformBuildInfo', + 'default': 'PlatformBuildInfo', + 'firebase': 'PlatformBuildInfo', + 'firebasei_os': 'PlatformBuildInfo', + 'google_play': 'PlatformBuildInfo', + 'pc': 'PlatformBuildInfo', + 'pico_store': 'PlatformBuildInfo', + 'quest_app_lab': 'PlatformBuildInfo', + 'quest_store': 'PlatformBuildInfo', + 'test_flight': 'PlatformBuildInfo', + 'xr_elite': 'PlatformBuildInfo' + } + + attribute_map = { + 'app_store': 'AppStore', + 'default': 'Default', + 'firebase': 'Firebase', + 'firebasei_os': 'FirebaseiOS', + 'google_play': 'GooglePlay', + 'pc': 'PC', + 'pico_store': 'PicoStore', + 'quest_app_lab': 'QuestAppLab', + 'quest_store': 'QuestStore', + 'test_flight': 'TestFlight', + 'xr_elite': 'XRElite' + } + + def __init__(self, app_store=None, default=None, firebase=None, firebasei_os=None, google_play=None, pc=None, pico_store=None, quest_app_lab=None, quest_store=None, test_flight=None, xr_elite=None, local_vars_configuration=None): # noqa: E501 + """APIConfigMinSupportedClientBuildNumber - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._app_store = None + self._default = None + self._firebase = None + self._firebasei_os = None + self._google_play = None + self._pc = None + self._pico_store = None + self._quest_app_lab = None + self._quest_store = None + self._test_flight = None + self._xr_elite = None + self.discriminator = None + + self.app_store = app_store + self.default = default + self.firebase = firebase + self.firebasei_os = firebasei_os + self.google_play = google_play + self.pc = pc + self.pico_store = pico_store + self.quest_app_lab = quest_app_lab + self.quest_store = quest_store + self.test_flight = test_flight + self.xr_elite = xr_elite + + @property + def app_store(self): + """Gets the app_store of this APIConfigMinSupportedClientBuildNumber. # noqa: E501 + + + :return: The app_store of this APIConfigMinSupportedClientBuildNumber. # noqa: E501 + :rtype: PlatformBuildInfo + """ + return self._app_store + + @app_store.setter + def app_store(self, app_store): + """Sets the app_store of this APIConfigMinSupportedClientBuildNumber. + + + :param app_store: The app_store of this APIConfigMinSupportedClientBuildNumber. # noqa: E501 + :type app_store: PlatformBuildInfo + """ + if self.local_vars_configuration.client_side_validation and app_store is None: # noqa: E501 + raise ValueError("Invalid value for `app_store`, must not be `None`") # noqa: E501 + + self._app_store = app_store + + @property + def default(self): + """Gets the default of this APIConfigMinSupportedClientBuildNumber. # noqa: E501 + + + :return: The default of this APIConfigMinSupportedClientBuildNumber. # noqa: E501 + :rtype: PlatformBuildInfo + """ + return self._default + + @default.setter + def default(self, default): + """Sets the default of this APIConfigMinSupportedClientBuildNumber. + + + :param default: The default of this APIConfigMinSupportedClientBuildNumber. # noqa: E501 + :type default: PlatformBuildInfo + """ + if self.local_vars_configuration.client_side_validation and default is None: # noqa: E501 + raise ValueError("Invalid value for `default`, must not be `None`") # noqa: E501 + + self._default = default + + @property + def firebase(self): + """Gets the firebase of this APIConfigMinSupportedClientBuildNumber. # noqa: E501 + + + :return: The firebase of this APIConfigMinSupportedClientBuildNumber. # noqa: E501 + :rtype: PlatformBuildInfo + """ + return self._firebase + + @firebase.setter + def firebase(self, firebase): + """Sets the firebase of this APIConfigMinSupportedClientBuildNumber. + + + :param firebase: The firebase of this APIConfigMinSupportedClientBuildNumber. # noqa: E501 + :type firebase: PlatformBuildInfo + """ + if self.local_vars_configuration.client_side_validation and firebase is None: # noqa: E501 + raise ValueError("Invalid value for `firebase`, must not be `None`") # noqa: E501 + + self._firebase = firebase + + @property + def firebasei_os(self): + """Gets the firebasei_os of this APIConfigMinSupportedClientBuildNumber. # noqa: E501 + + + :return: The firebasei_os of this APIConfigMinSupportedClientBuildNumber. # noqa: E501 + :rtype: PlatformBuildInfo + """ + return self._firebasei_os + + @firebasei_os.setter + def firebasei_os(self, firebasei_os): + """Sets the firebasei_os of this APIConfigMinSupportedClientBuildNumber. + + + :param firebasei_os: The firebasei_os of this APIConfigMinSupportedClientBuildNumber. # noqa: E501 + :type firebasei_os: PlatformBuildInfo + """ + if self.local_vars_configuration.client_side_validation and firebasei_os is None: # noqa: E501 + raise ValueError("Invalid value for `firebasei_os`, must not be `None`") # noqa: E501 + + self._firebasei_os = firebasei_os + + @property + def google_play(self): + """Gets the google_play of this APIConfigMinSupportedClientBuildNumber. # noqa: E501 + + + :return: The google_play of this APIConfigMinSupportedClientBuildNumber. # noqa: E501 + :rtype: PlatformBuildInfo + """ + return self._google_play + + @google_play.setter + def google_play(self, google_play): + """Sets the google_play of this APIConfigMinSupportedClientBuildNumber. + + + :param google_play: The google_play of this APIConfigMinSupportedClientBuildNumber. # noqa: E501 + :type google_play: PlatformBuildInfo + """ + if self.local_vars_configuration.client_side_validation and google_play is None: # noqa: E501 + raise ValueError("Invalid value for `google_play`, must not be `None`") # noqa: E501 + + self._google_play = google_play + + @property + def pc(self): + """Gets the pc of this APIConfigMinSupportedClientBuildNumber. # noqa: E501 + + + :return: The pc of this APIConfigMinSupportedClientBuildNumber. # noqa: E501 + :rtype: PlatformBuildInfo + """ + return self._pc + + @pc.setter + def pc(self, pc): + """Sets the pc of this APIConfigMinSupportedClientBuildNumber. + + + :param pc: The pc of this APIConfigMinSupportedClientBuildNumber. # noqa: E501 + :type pc: PlatformBuildInfo + """ + if self.local_vars_configuration.client_side_validation and pc is None: # noqa: E501 + raise ValueError("Invalid value for `pc`, must not be `None`") # noqa: E501 + + self._pc = pc + + @property + def pico_store(self): + """Gets the pico_store of this APIConfigMinSupportedClientBuildNumber. # noqa: E501 + + + :return: The pico_store of this APIConfigMinSupportedClientBuildNumber. # noqa: E501 + :rtype: PlatformBuildInfo + """ + return self._pico_store + + @pico_store.setter + def pico_store(self, pico_store): + """Sets the pico_store of this APIConfigMinSupportedClientBuildNumber. + + + :param pico_store: The pico_store of this APIConfigMinSupportedClientBuildNumber. # noqa: E501 + :type pico_store: PlatformBuildInfo + """ + if self.local_vars_configuration.client_side_validation and pico_store is None: # noqa: E501 + raise ValueError("Invalid value for `pico_store`, must not be `None`") # noqa: E501 + + self._pico_store = pico_store + + @property + def quest_app_lab(self): + """Gets the quest_app_lab of this APIConfigMinSupportedClientBuildNumber. # noqa: E501 + + + :return: The quest_app_lab of this APIConfigMinSupportedClientBuildNumber. # noqa: E501 + :rtype: PlatformBuildInfo + """ + return self._quest_app_lab + + @quest_app_lab.setter + def quest_app_lab(self, quest_app_lab): + """Sets the quest_app_lab of this APIConfigMinSupportedClientBuildNumber. + + + :param quest_app_lab: The quest_app_lab of this APIConfigMinSupportedClientBuildNumber. # noqa: E501 + :type quest_app_lab: PlatformBuildInfo + """ + if self.local_vars_configuration.client_side_validation and quest_app_lab is None: # noqa: E501 + raise ValueError("Invalid value for `quest_app_lab`, must not be `None`") # noqa: E501 + + self._quest_app_lab = quest_app_lab + + @property + def quest_store(self): + """Gets the quest_store of this APIConfigMinSupportedClientBuildNumber. # noqa: E501 + + + :return: The quest_store of this APIConfigMinSupportedClientBuildNumber. # noqa: E501 + :rtype: PlatformBuildInfo + """ + return self._quest_store + + @quest_store.setter + def quest_store(self, quest_store): + """Sets the quest_store of this APIConfigMinSupportedClientBuildNumber. + + + :param quest_store: The quest_store of this APIConfigMinSupportedClientBuildNumber. # noqa: E501 + :type quest_store: PlatformBuildInfo + """ + if self.local_vars_configuration.client_side_validation and quest_store is None: # noqa: E501 + raise ValueError("Invalid value for `quest_store`, must not be `None`") # noqa: E501 + + self._quest_store = quest_store + + @property + def test_flight(self): + """Gets the test_flight of this APIConfigMinSupportedClientBuildNumber. # noqa: E501 + + + :return: The test_flight of this APIConfigMinSupportedClientBuildNumber. # noqa: E501 + :rtype: PlatformBuildInfo + """ + return self._test_flight + + @test_flight.setter + def test_flight(self, test_flight): + """Sets the test_flight of this APIConfigMinSupportedClientBuildNumber. + + + :param test_flight: The test_flight of this APIConfigMinSupportedClientBuildNumber. # noqa: E501 + :type test_flight: PlatformBuildInfo + """ + if self.local_vars_configuration.client_side_validation and test_flight is None: # noqa: E501 + raise ValueError("Invalid value for `test_flight`, must not be `None`") # noqa: E501 + + self._test_flight = test_flight + + @property + def xr_elite(self): + """Gets the xr_elite of this APIConfigMinSupportedClientBuildNumber. # noqa: E501 + + + :return: The xr_elite of this APIConfigMinSupportedClientBuildNumber. # noqa: E501 + :rtype: PlatformBuildInfo + """ + return self._xr_elite + + @xr_elite.setter + def xr_elite(self, xr_elite): + """Sets the xr_elite of this APIConfigMinSupportedClientBuildNumber. + + + :param xr_elite: The xr_elite of this APIConfigMinSupportedClientBuildNumber. # noqa: E501 + :type xr_elite: PlatformBuildInfo + """ + if self.local_vars_configuration.client_side_validation and xr_elite is None: # noqa: E501 + raise ValueError("Invalid value for `xr_elite`, must not be `None`") # noqa: E501 + + self._xr_elite = xr_elite + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, APIConfigMinSupportedClientBuildNumber): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, APIConfigMinSupportedClientBuildNumber): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/api_config_offline_analysis.py b/vrchatapi/models/api_config_offline_analysis.py new file mode 100644 index 00000000..d1d66845 --- /dev/null +++ b/vrchatapi/models/api_config_offline_analysis.py @@ -0,0 +1,161 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.5 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class APIConfigOfflineAnalysis(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'android': 'bool', + 'standalonewindows': 'bool' + } + + attribute_map = { + 'android': 'android', + 'standalonewindows': 'standalonewindows' + } + + def __init__(self, android=True, standalonewindows=True, local_vars_configuration=None): # noqa: E501 + """APIConfigOfflineAnalysis - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._android = None + self._standalonewindows = None + self.discriminator = None + + if android is not None: + self.android = android + if standalonewindows is not None: + self.standalonewindows = standalonewindows + + @property + def android(self): + """Gets the android of this APIConfigOfflineAnalysis. # noqa: E501 + + Whether to allow offline analysis # noqa: E501 + + :return: The android of this APIConfigOfflineAnalysis. # noqa: E501 + :rtype: bool + """ + return self._android + + @android.setter + def android(self, android): + """Sets the android of this APIConfigOfflineAnalysis. + + Whether to allow offline analysis # noqa: E501 + + :param android: The android of this APIConfigOfflineAnalysis. # noqa: E501 + :type android: bool + """ + + self._android = android + + @property + def standalonewindows(self): + """Gets the standalonewindows of this APIConfigOfflineAnalysis. # noqa: E501 + + Whether to allow offline analysis # noqa: E501 + + :return: The standalonewindows of this APIConfigOfflineAnalysis. # noqa: E501 + :rtype: bool + """ + return self._standalonewindows + + @standalonewindows.setter + def standalonewindows(self, standalonewindows): + """Sets the standalonewindows of this APIConfigOfflineAnalysis. + + Whether to allow offline analysis # noqa: E501 + + :param standalonewindows: The standalonewindows of this APIConfigOfflineAnalysis. # noqa: E501 + :type standalonewindows: bool + """ + + self._standalonewindows = standalonewindows + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, APIConfigOfflineAnalysis): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, APIConfigOfflineAnalysis): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/api_config_report_categories.py b/vrchatapi/models/api_config_report_categories.py new file mode 100644 index 00000000..98af088d --- /dev/null +++ b/vrchatapi/models/api_config_report_categories.py @@ -0,0 +1,375 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.5 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class APIConfigReportCategories(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'avatar': 'ReportCategory', + 'behavior': 'ReportCategory', + 'chat': 'ReportCategory', + 'environment': 'ReportCategory', + 'groupstore': 'ReportCategory', + 'image': 'ReportCategory', + 'text': 'ReportCategory', + 'warnings': 'ReportCategory', + 'worldimage': 'ReportCategory', + 'worldstore': 'ReportCategory' + } + + attribute_map = { + 'avatar': 'avatar', + 'behavior': 'behavior', + 'chat': 'chat', + 'environment': 'environment', + 'groupstore': 'groupstore', + 'image': 'image', + 'text': 'text', + 'warnings': 'warnings', + 'worldimage': 'worldimage', + 'worldstore': 'worldstore' + } + + def __init__(self, avatar=None, behavior=None, chat=None, environment=None, groupstore=None, image=None, text=None, warnings=None, worldimage=None, worldstore=None, local_vars_configuration=None): # noqa: E501 + """APIConfigReportCategories - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._avatar = None + self._behavior = None + self._chat = None + self._environment = None + self._groupstore = None + self._image = None + self._text = None + self._warnings = None + self._worldimage = None + self._worldstore = None + self.discriminator = None + + self.avatar = avatar + self.behavior = behavior + self.chat = chat + self.environment = environment + self.groupstore = groupstore + self.image = image + self.text = text + self.warnings = warnings + self.worldimage = worldimage + self.worldstore = worldstore + + @property + def avatar(self): + """Gets the avatar of this APIConfigReportCategories. # noqa: E501 + + + :return: The avatar of this APIConfigReportCategories. # noqa: E501 + :rtype: ReportCategory + """ + return self._avatar + + @avatar.setter + def avatar(self, avatar): + """Sets the avatar of this APIConfigReportCategories. + + + :param avatar: The avatar of this APIConfigReportCategories. # noqa: E501 + :type avatar: ReportCategory + """ + if self.local_vars_configuration.client_side_validation and avatar is None: # noqa: E501 + raise ValueError("Invalid value for `avatar`, must not be `None`") # noqa: E501 + + self._avatar = avatar + + @property + def behavior(self): + """Gets the behavior of this APIConfigReportCategories. # noqa: E501 + + + :return: The behavior of this APIConfigReportCategories. # noqa: E501 + :rtype: ReportCategory + """ + return self._behavior + + @behavior.setter + def behavior(self, behavior): + """Sets the behavior of this APIConfigReportCategories. + + + :param behavior: The behavior of this APIConfigReportCategories. # noqa: E501 + :type behavior: ReportCategory + """ + if self.local_vars_configuration.client_side_validation and behavior is None: # noqa: E501 + raise ValueError("Invalid value for `behavior`, must not be `None`") # noqa: E501 + + self._behavior = behavior + + @property + def chat(self): + """Gets the chat of this APIConfigReportCategories. # noqa: E501 + + + :return: The chat of this APIConfigReportCategories. # noqa: E501 + :rtype: ReportCategory + """ + return self._chat + + @chat.setter + def chat(self, chat): + """Sets the chat of this APIConfigReportCategories. + + + :param chat: The chat of this APIConfigReportCategories. # noqa: E501 + :type chat: ReportCategory + """ + if self.local_vars_configuration.client_side_validation and chat is None: # noqa: E501 + raise ValueError("Invalid value for `chat`, must not be `None`") # noqa: E501 + + self._chat = chat + + @property + def environment(self): + """Gets the environment of this APIConfigReportCategories. # noqa: E501 + + + :return: The environment of this APIConfigReportCategories. # noqa: E501 + :rtype: ReportCategory + """ + return self._environment + + @environment.setter + def environment(self, environment): + """Sets the environment of this APIConfigReportCategories. + + + :param environment: The environment of this APIConfigReportCategories. # noqa: E501 + :type environment: ReportCategory + """ + if self.local_vars_configuration.client_side_validation and environment is None: # noqa: E501 + raise ValueError("Invalid value for `environment`, must not be `None`") # noqa: E501 + + self._environment = environment + + @property + def groupstore(self): + """Gets the groupstore of this APIConfigReportCategories. # noqa: E501 + + + :return: The groupstore of this APIConfigReportCategories. # noqa: E501 + :rtype: ReportCategory + """ + return self._groupstore + + @groupstore.setter + def groupstore(self, groupstore): + """Sets the groupstore of this APIConfigReportCategories. + + + :param groupstore: The groupstore of this APIConfigReportCategories. # noqa: E501 + :type groupstore: ReportCategory + """ + if self.local_vars_configuration.client_side_validation and groupstore is None: # noqa: E501 + raise ValueError("Invalid value for `groupstore`, must not be `None`") # noqa: E501 + + self._groupstore = groupstore + + @property + def image(self): + """Gets the image of this APIConfigReportCategories. # noqa: E501 + + + :return: The image of this APIConfigReportCategories. # noqa: E501 + :rtype: ReportCategory + """ + return self._image + + @image.setter + def image(self, image): + """Sets the image of this APIConfigReportCategories. + + + :param image: The image of this APIConfigReportCategories. # noqa: E501 + :type image: ReportCategory + """ + if self.local_vars_configuration.client_side_validation and image is None: # noqa: E501 + raise ValueError("Invalid value for `image`, must not be `None`") # noqa: E501 + + self._image = image + + @property + def text(self): + """Gets the text of this APIConfigReportCategories. # noqa: E501 + + + :return: The text of this APIConfigReportCategories. # noqa: E501 + :rtype: ReportCategory + """ + return self._text + + @text.setter + def text(self, text): + """Sets the text of this APIConfigReportCategories. + + + :param text: The text of this APIConfigReportCategories. # noqa: E501 + :type text: ReportCategory + """ + if self.local_vars_configuration.client_side_validation and text is None: # noqa: E501 + raise ValueError("Invalid value for `text`, must not be `None`") # noqa: E501 + + self._text = text + + @property + def warnings(self): + """Gets the warnings of this APIConfigReportCategories. # noqa: E501 + + + :return: The warnings of this APIConfigReportCategories. # noqa: E501 + :rtype: ReportCategory + """ + return self._warnings + + @warnings.setter + def warnings(self, warnings): + """Sets the warnings of this APIConfigReportCategories. + + + :param warnings: The warnings of this APIConfigReportCategories. # noqa: E501 + :type warnings: ReportCategory + """ + if self.local_vars_configuration.client_side_validation and warnings is None: # noqa: E501 + raise ValueError("Invalid value for `warnings`, must not be `None`") # noqa: E501 + + self._warnings = warnings + + @property + def worldimage(self): + """Gets the worldimage of this APIConfigReportCategories. # noqa: E501 + + + :return: The worldimage of this APIConfigReportCategories. # noqa: E501 + :rtype: ReportCategory + """ + return self._worldimage + + @worldimage.setter + def worldimage(self, worldimage): + """Sets the worldimage of this APIConfigReportCategories. + + + :param worldimage: The worldimage of this APIConfigReportCategories. # noqa: E501 + :type worldimage: ReportCategory + """ + if self.local_vars_configuration.client_side_validation and worldimage is None: # noqa: E501 + raise ValueError("Invalid value for `worldimage`, must not be `None`") # noqa: E501 + + self._worldimage = worldimage + + @property + def worldstore(self): + """Gets the worldstore of this APIConfigReportCategories. # noqa: E501 + + + :return: The worldstore of this APIConfigReportCategories. # noqa: E501 + :rtype: ReportCategory + """ + return self._worldstore + + @worldstore.setter + def worldstore(self, worldstore): + """Sets the worldstore of this APIConfigReportCategories. + + + :param worldstore: The worldstore of this APIConfigReportCategories. # noqa: E501 + :type worldstore: ReportCategory + """ + if self.local_vars_configuration.client_side_validation and worldstore is None: # noqa: E501 + raise ValueError("Invalid value for `worldstore`, must not be `None`") # noqa: E501 + + self._worldstore = worldstore + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, APIConfigReportCategories): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, APIConfigReportCategories): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/api_config_report_reasons.py b/vrchatapi/models/api_config_report_reasons.py new file mode 100644 index 00000000..7a56a88d --- /dev/null +++ b/vrchatapi/models/api_config_report_reasons.py @@ -0,0 +1,618 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.5 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class APIConfigReportReasons(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'billing': 'ReportReason', + 'botting': 'ReportReason', + 'cancellation': 'ReportReason', + 'gore': 'ReportReason', + 'hacking': 'ReportReason', + 'harassing': 'ReportReason', + 'hateful': 'ReportReason', + 'impersonation': 'ReportReason', + 'inappropriate': 'ReportReason', + 'leaking': 'ReportReason', + 'malicious': 'ReportReason', + 'missing': 'ReportReason', + 'nudity': 'ReportReason', + 'renewal': 'ReportReason', + 'security': 'ReportReason', + 'service': 'ReportReason', + 'sexual': 'ReportReason', + 'threatening': 'ReportReason', + 'visuals': 'ReportReason' + } + + attribute_map = { + 'billing': 'billing', + 'botting': 'botting', + 'cancellation': 'cancellation', + 'gore': 'gore', + 'hacking': 'hacking', + 'harassing': 'harassing', + 'hateful': 'hateful', + 'impersonation': 'impersonation', + 'inappropriate': 'inappropriate', + 'leaking': 'leaking', + 'malicious': 'malicious', + 'missing': 'missing', + 'nudity': 'nudity', + 'renewal': 'renewal', + 'security': 'security', + 'service': 'service', + 'sexual': 'sexual', + 'threatening': 'threatening', + 'visuals': 'visuals' + } + + def __init__(self, billing=None, botting=None, cancellation=None, gore=None, hacking=None, harassing=None, hateful=None, impersonation=None, inappropriate=None, leaking=None, malicious=None, missing=None, nudity=None, renewal=None, security=None, service=None, sexual=None, threatening=None, visuals=None, local_vars_configuration=None): # noqa: E501 + """APIConfigReportReasons - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._billing = None + self._botting = None + self._cancellation = None + self._gore = None + self._hacking = None + self._harassing = None + self._hateful = None + self._impersonation = None + self._inappropriate = None + self._leaking = None + self._malicious = None + self._missing = None + self._nudity = None + self._renewal = None + self._security = None + self._service = None + self._sexual = None + self._threatening = None + self._visuals = None + self.discriminator = None + + self.billing = billing + self.botting = botting + self.cancellation = cancellation + self.gore = gore + self.hacking = hacking + self.harassing = harassing + self.hateful = hateful + self.impersonation = impersonation + self.inappropriate = inappropriate + self.leaking = leaking + self.malicious = malicious + self.missing = missing + self.nudity = nudity + self.renewal = renewal + self.security = security + self.service = service + self.sexual = sexual + self.threatening = threatening + self.visuals = visuals + + @property + def billing(self): + """Gets the billing of this APIConfigReportReasons. # noqa: E501 + + + :return: The billing of this APIConfigReportReasons. # noqa: E501 + :rtype: ReportReason + """ + return self._billing + + @billing.setter + def billing(self, billing): + """Sets the billing of this APIConfigReportReasons. + + + :param billing: The billing of this APIConfigReportReasons. # noqa: E501 + :type billing: ReportReason + """ + if self.local_vars_configuration.client_side_validation and billing is None: # noqa: E501 + raise ValueError("Invalid value for `billing`, must not be `None`") # noqa: E501 + + self._billing = billing + + @property + def botting(self): + """Gets the botting of this APIConfigReportReasons. # noqa: E501 + + + :return: The botting of this APIConfigReportReasons. # noqa: E501 + :rtype: ReportReason + """ + return self._botting + + @botting.setter + def botting(self, botting): + """Sets the botting of this APIConfigReportReasons. + + + :param botting: The botting of this APIConfigReportReasons. # noqa: E501 + :type botting: ReportReason + """ + if self.local_vars_configuration.client_side_validation and botting is None: # noqa: E501 + raise ValueError("Invalid value for `botting`, must not be `None`") # noqa: E501 + + self._botting = botting + + @property + def cancellation(self): + """Gets the cancellation of this APIConfigReportReasons. # noqa: E501 + + + :return: The cancellation of this APIConfigReportReasons. # noqa: E501 + :rtype: ReportReason + """ + return self._cancellation + + @cancellation.setter + def cancellation(self, cancellation): + """Sets the cancellation of this APIConfigReportReasons. + + + :param cancellation: The cancellation of this APIConfigReportReasons. # noqa: E501 + :type cancellation: ReportReason + """ + if self.local_vars_configuration.client_side_validation and cancellation is None: # noqa: E501 + raise ValueError("Invalid value for `cancellation`, must not be `None`") # noqa: E501 + + self._cancellation = cancellation + + @property + def gore(self): + """Gets the gore of this APIConfigReportReasons. # noqa: E501 + + + :return: The gore of this APIConfigReportReasons. # noqa: E501 + :rtype: ReportReason + """ + return self._gore + + @gore.setter + def gore(self, gore): + """Sets the gore of this APIConfigReportReasons. + + + :param gore: The gore of this APIConfigReportReasons. # noqa: E501 + :type gore: ReportReason + """ + if self.local_vars_configuration.client_side_validation and gore is None: # noqa: E501 + raise ValueError("Invalid value for `gore`, must not be `None`") # noqa: E501 + + self._gore = gore + + @property + def hacking(self): + """Gets the hacking of this APIConfigReportReasons. # noqa: E501 + + + :return: The hacking of this APIConfigReportReasons. # noqa: E501 + :rtype: ReportReason + """ + return self._hacking + + @hacking.setter + def hacking(self, hacking): + """Sets the hacking of this APIConfigReportReasons. + + + :param hacking: The hacking of this APIConfigReportReasons. # noqa: E501 + :type hacking: ReportReason + """ + if self.local_vars_configuration.client_side_validation and hacking is None: # noqa: E501 + raise ValueError("Invalid value for `hacking`, must not be `None`") # noqa: E501 + + self._hacking = hacking + + @property + def harassing(self): + """Gets the harassing of this APIConfigReportReasons. # noqa: E501 + + + :return: The harassing of this APIConfigReportReasons. # noqa: E501 + :rtype: ReportReason + """ + return self._harassing + + @harassing.setter + def harassing(self, harassing): + """Sets the harassing of this APIConfigReportReasons. + + + :param harassing: The harassing of this APIConfigReportReasons. # noqa: E501 + :type harassing: ReportReason + """ + if self.local_vars_configuration.client_side_validation and harassing is None: # noqa: E501 + raise ValueError("Invalid value for `harassing`, must not be `None`") # noqa: E501 + + self._harassing = harassing + + @property + def hateful(self): + """Gets the hateful of this APIConfigReportReasons. # noqa: E501 + + + :return: The hateful of this APIConfigReportReasons. # noqa: E501 + :rtype: ReportReason + """ + return self._hateful + + @hateful.setter + def hateful(self, hateful): + """Sets the hateful of this APIConfigReportReasons. + + + :param hateful: The hateful of this APIConfigReportReasons. # noqa: E501 + :type hateful: ReportReason + """ + if self.local_vars_configuration.client_side_validation and hateful is None: # noqa: E501 + raise ValueError("Invalid value for `hateful`, must not be `None`") # noqa: E501 + + self._hateful = hateful + + @property + def impersonation(self): + """Gets the impersonation of this APIConfigReportReasons. # noqa: E501 + + + :return: The impersonation of this APIConfigReportReasons. # noqa: E501 + :rtype: ReportReason + """ + return self._impersonation + + @impersonation.setter + def impersonation(self, impersonation): + """Sets the impersonation of this APIConfigReportReasons. + + + :param impersonation: The impersonation of this APIConfigReportReasons. # noqa: E501 + :type impersonation: ReportReason + """ + if self.local_vars_configuration.client_side_validation and impersonation is None: # noqa: E501 + raise ValueError("Invalid value for `impersonation`, must not be `None`") # noqa: E501 + + self._impersonation = impersonation + + @property + def inappropriate(self): + """Gets the inappropriate of this APIConfigReportReasons. # noqa: E501 + + + :return: The inappropriate of this APIConfigReportReasons. # noqa: E501 + :rtype: ReportReason + """ + return self._inappropriate + + @inappropriate.setter + def inappropriate(self, inappropriate): + """Sets the inappropriate of this APIConfigReportReasons. + + + :param inappropriate: The inappropriate of this APIConfigReportReasons. # noqa: E501 + :type inappropriate: ReportReason + """ + if self.local_vars_configuration.client_side_validation and inappropriate is None: # noqa: E501 + raise ValueError("Invalid value for `inappropriate`, must not be `None`") # noqa: E501 + + self._inappropriate = inappropriate + + @property + def leaking(self): + """Gets the leaking of this APIConfigReportReasons. # noqa: E501 + + + :return: The leaking of this APIConfigReportReasons. # noqa: E501 + :rtype: ReportReason + """ + return self._leaking + + @leaking.setter + def leaking(self, leaking): + """Sets the leaking of this APIConfigReportReasons. + + + :param leaking: The leaking of this APIConfigReportReasons. # noqa: E501 + :type leaking: ReportReason + """ + if self.local_vars_configuration.client_side_validation and leaking is None: # noqa: E501 + raise ValueError("Invalid value for `leaking`, must not be `None`") # noqa: E501 + + self._leaking = leaking + + @property + def malicious(self): + """Gets the malicious of this APIConfigReportReasons. # noqa: E501 + + + :return: The malicious of this APIConfigReportReasons. # noqa: E501 + :rtype: ReportReason + """ + return self._malicious + + @malicious.setter + def malicious(self, malicious): + """Sets the malicious of this APIConfigReportReasons. + + + :param malicious: The malicious of this APIConfigReportReasons. # noqa: E501 + :type malicious: ReportReason + """ + if self.local_vars_configuration.client_side_validation and malicious is None: # noqa: E501 + raise ValueError("Invalid value for `malicious`, must not be `None`") # noqa: E501 + + self._malicious = malicious + + @property + def missing(self): + """Gets the missing of this APIConfigReportReasons. # noqa: E501 + + + :return: The missing of this APIConfigReportReasons. # noqa: E501 + :rtype: ReportReason + """ + return self._missing + + @missing.setter + def missing(self, missing): + """Sets the missing of this APIConfigReportReasons. + + + :param missing: The missing of this APIConfigReportReasons. # noqa: E501 + :type missing: ReportReason + """ + if self.local_vars_configuration.client_side_validation and missing is None: # noqa: E501 + raise ValueError("Invalid value for `missing`, must not be `None`") # noqa: E501 + + self._missing = missing + + @property + def nudity(self): + """Gets the nudity of this APIConfigReportReasons. # noqa: E501 + + + :return: The nudity of this APIConfigReportReasons. # noqa: E501 + :rtype: ReportReason + """ + return self._nudity + + @nudity.setter + def nudity(self, nudity): + """Sets the nudity of this APIConfigReportReasons. + + + :param nudity: The nudity of this APIConfigReportReasons. # noqa: E501 + :type nudity: ReportReason + """ + if self.local_vars_configuration.client_side_validation and nudity is None: # noqa: E501 + raise ValueError("Invalid value for `nudity`, must not be `None`") # noqa: E501 + + self._nudity = nudity + + @property + def renewal(self): + """Gets the renewal of this APIConfigReportReasons. # noqa: E501 + + + :return: The renewal of this APIConfigReportReasons. # noqa: E501 + :rtype: ReportReason + """ + return self._renewal + + @renewal.setter + def renewal(self, renewal): + """Sets the renewal of this APIConfigReportReasons. + + + :param renewal: The renewal of this APIConfigReportReasons. # noqa: E501 + :type renewal: ReportReason + """ + if self.local_vars_configuration.client_side_validation and renewal is None: # noqa: E501 + raise ValueError("Invalid value for `renewal`, must not be `None`") # noqa: E501 + + self._renewal = renewal + + @property + def security(self): + """Gets the security of this APIConfigReportReasons. # noqa: E501 + + + :return: The security of this APIConfigReportReasons. # noqa: E501 + :rtype: ReportReason + """ + return self._security + + @security.setter + def security(self, security): + """Sets the security of this APIConfigReportReasons. + + + :param security: The security of this APIConfigReportReasons. # noqa: E501 + :type security: ReportReason + """ + if self.local_vars_configuration.client_side_validation and security is None: # noqa: E501 + raise ValueError("Invalid value for `security`, must not be `None`") # noqa: E501 + + self._security = security + + @property + def service(self): + """Gets the service of this APIConfigReportReasons. # noqa: E501 + + + :return: The service of this APIConfigReportReasons. # noqa: E501 + :rtype: ReportReason + """ + return self._service + + @service.setter + def service(self, service): + """Sets the service of this APIConfigReportReasons. + + + :param service: The service of this APIConfigReportReasons. # noqa: E501 + :type service: ReportReason + """ + if self.local_vars_configuration.client_side_validation and service is None: # noqa: E501 + raise ValueError("Invalid value for `service`, must not be `None`") # noqa: E501 + + self._service = service + + @property + def sexual(self): + """Gets the sexual of this APIConfigReportReasons. # noqa: E501 + + + :return: The sexual of this APIConfigReportReasons. # noqa: E501 + :rtype: ReportReason + """ + return self._sexual + + @sexual.setter + def sexual(self, sexual): + """Sets the sexual of this APIConfigReportReasons. + + + :param sexual: The sexual of this APIConfigReportReasons. # noqa: E501 + :type sexual: ReportReason + """ + if self.local_vars_configuration.client_side_validation and sexual is None: # noqa: E501 + raise ValueError("Invalid value for `sexual`, must not be `None`") # noqa: E501 + + self._sexual = sexual + + @property + def threatening(self): + """Gets the threatening of this APIConfigReportReasons. # noqa: E501 + + + :return: The threatening of this APIConfigReportReasons. # noqa: E501 + :rtype: ReportReason + """ + return self._threatening + + @threatening.setter + def threatening(self, threatening): + """Sets the threatening of this APIConfigReportReasons. + + + :param threatening: The threatening of this APIConfigReportReasons. # noqa: E501 + :type threatening: ReportReason + """ + if self.local_vars_configuration.client_side_validation and threatening is None: # noqa: E501 + raise ValueError("Invalid value for `threatening`, must not be `None`") # noqa: E501 + + self._threatening = threatening + + @property + def visuals(self): + """Gets the visuals of this APIConfigReportReasons. # noqa: E501 + + + :return: The visuals of this APIConfigReportReasons. # noqa: E501 + :rtype: ReportReason + """ + return self._visuals + + @visuals.setter + def visuals(self, visuals): + """Sets the visuals of this APIConfigReportReasons. + + + :param visuals: The visuals of this APIConfigReportReasons. # noqa: E501 + :type visuals: ReportReason + """ + if self.local_vars_configuration.client_side_validation and visuals is None: # noqa: E501 + raise ValueError("Invalid value for `visuals`, must not be `None`") # noqa: E501 + + self._visuals = visuals + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, APIConfigReportReasons): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, APIConfigReportReasons): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index 726fe55f..7c0e7e8a 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index d9ee3fa6..30b1d0ad 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index 1af23117..afd63436 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/badge.py b/vrchatapi/models/badge.py index ab621739..c0895ec4 100644 --- a/vrchatapi/models/badge.py +++ b/vrchatapi/models/badge.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index e6c2d859..a1160549 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index 4aecb3f1..b0d86cf2 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index 46fab192..7fb41f22 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index f94c354b..0104a0b9 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index c879f1bf..a8d5c5e3 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index f9c1af42..adce67ee 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index f479012b..fc3c6c6b 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_post_request.py b/vrchatapi/models/create_group_post_request.py index 2a4a6489..8e71e76b 100644 --- a/vrchatapi/models/create_group_post_request.py +++ b/vrchatapi/models/create_group_post_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index 24e66b84..0d9d2faf 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index 1c0fa680..a68563b7 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_instance_request.py b/vrchatapi/models/create_instance_request.py index 7569b524..aa8494f6 100644 --- a/vrchatapi/models/create_instance_request.py +++ b/vrchatapi/models/create_instance_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index 72ae32b0..7cbc6eed 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index e801e578..072a943b 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user_presence.py b/vrchatapi/models/current_user_presence.py index 8e5f6944..82335b15 100644 --- a/vrchatapi/models/current_user_presence.py +++ b/vrchatapi/models/current_user_presence.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/deployment_group.py b/vrchatapi/models/deployment_group.py index 5411fd94..7da79a9f 100644 --- a/vrchatapi/models/deployment_group.py +++ b/vrchatapi/models/deployment_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index f8194484..14b79e4c 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index 64dcf2c9..c79b8837 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index efe9221d..1b0c5da5 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index 42cfb165..92646751 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index 72cab995..74e88ced 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index a826e9c8..298558f5 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index e0d5aba6..d12b015e 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index e5500b4a..18cdc85a 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index 116d09ad..45252935 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index f5c704f9..52d4856b 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index 00311e59..c3846ac7 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index caebc811..7f2e3f3f 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index 49e65d45..253ad59a 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index 1e1a6644..3cc9876f 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index 9835c61c..bcabbbdc 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index b9558e75..b96b535e 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,6 +36,7 @@ class Group(object): and the value is json key in definition. """ openapi_types = { + 'badges': 'list[str]', 'id': 'str', 'name': 'str', 'short_code': 'str', @@ -67,6 +68,7 @@ class Group(object): } attribute_map = { + 'badges': 'badges', 'id': 'id', 'name': 'name', 'short_code': 'shortCode', @@ -97,12 +99,13 @@ class Group(object): 'roles': 'roles' } - def __init__(self, id=None, name=None, short_code=None, discriminator=None, description=None, icon_url=None, banner_url=None, privacy=None, owner_id=None, rules=None, links=None, languages=None, icon_id=None, banner_id=None, member_count=None, member_count_synced_at=None, is_verified=False, join_state=None, tags=None, transfer_target_id=None, galleries=None, created_at=None, updated_at=None, last_post_created_at=None, online_member_count=None, membership_status=None, my_member=None, roles=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, badges=None, id=None, name=None, short_code=None, discriminator=None, description=None, icon_url=None, banner_url=None, privacy=None, owner_id=None, rules=None, links=None, languages=None, icon_id=None, banner_id=None, member_count=None, member_count_synced_at=None, is_verified=False, join_state=None, tags=None, transfer_target_id=None, galleries=None, created_at=None, updated_at=None, last_post_created_at=None, online_member_count=None, membership_status=None, my_member=None, roles=None, local_vars_configuration=None): # noqa: E501 """Group - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration + self._badges = None self._id = None self._name = None self._short_code = None @@ -133,6 +136,8 @@ def __init__(self, id=None, name=None, short_code=None, discriminator=None, desc self._roles = None self.discriminator = None + if badges is not None: + self.badges = badges if id is not None: self.id = id if name is not None: @@ -183,6 +188,27 @@ def __init__(self, id=None, name=None, short_code=None, discriminator=None, desc self.my_member = my_member self.roles = roles + @property + def badges(self): + """Gets the badges of this Group. # noqa: E501 + + + :return: The badges of this Group. # noqa: E501 + :rtype: list[str] + """ + return self._badges + + @badges.setter + def badges(self, badges): + """Sets the badges of this Group. + + + :param badges: The badges of this Group. # noqa: E501 + :type badges: list[str] + """ + + self._badges = badges + @property def id(self): """Gets the id of this Group. # noqa: E501 diff --git a/vrchatapi/models/group_access_type.py b/vrchatapi/models/group_access_type.py index 742bf6d7..f6bd1d70 100644 --- a/vrchatapi/models/group_access_type.py +++ b/vrchatapi/models/group_access_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index 7a39389f..54da234e 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index d831a1f0..a6bf588e 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index 385d9a21..43af75b7 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index 56ded69e..266a8f8d 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_instance.py b/vrchatapi/models/group_instance.py index 5c9a2bbc..729ac00a 100644 --- a/vrchatapi/models/group_instance.py +++ b/vrchatapi/models/group_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_request_action.py b/vrchatapi/models/group_join_request_action.py index c7416716..2ae371a1 100644 --- a/vrchatapi/models/group_join_request_action.py +++ b/vrchatapi/models/group_join_request_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index 8e8f8e80..6fdc7b1c 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index 5e103184..674494f1 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index 3f42fca8..f460b1c3 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,6 +36,8 @@ class GroupMember(object): and the value is json key in definition. """ openapi_types = { + 'accepted_by_display_name': 'str', + 'accepted_by_id': 'str', 'id': 'str', 'group_id': 'str', 'user_id': 'str', @@ -55,6 +57,8 @@ class GroupMember(object): } attribute_map = { + 'accepted_by_display_name': 'acceptedByDisplayName', + 'accepted_by_id': 'acceptedById', 'id': 'id', 'group_id': 'groupId', 'user_id': 'userId', @@ -73,12 +77,14 @@ class GroupMember(object): 'has_joined_from_purchase': 'hasJoinedFromPurchase' } - def __init__(self, id=None, group_id=None, user_id=None, is_representing=False, user=None, role_ids=None, m_role_ids=None, joined_at=None, membership_status=None, visibility=None, is_subscribed_to_announcements=False, created_at=None, banned_at=None, manager_notes=None, last_post_read_at=None, has_joined_from_purchase=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, accepted_by_display_name=None, accepted_by_id=None, id=None, group_id=None, user_id=None, is_representing=False, user=None, role_ids=None, m_role_ids=None, joined_at=None, membership_status=None, visibility=None, is_subscribed_to_announcements=False, created_at=None, banned_at=None, manager_notes=None, last_post_read_at=None, has_joined_from_purchase=None, local_vars_configuration=None): # noqa: E501 """GroupMember - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration + self._accepted_by_display_name = None + self._accepted_by_id = None self._id = None self._group_id = None self._user_id = None @@ -97,6 +103,10 @@ def __init__(self, id=None, group_id=None, user_id=None, is_representing=False, self._has_joined_from_purchase = None self.discriminator = None + if accepted_by_display_name is not None: + self.accepted_by_display_name = accepted_by_display_name + if accepted_by_id is not None: + self.accepted_by_id = accepted_by_id if id is not None: self.id = id if group_id is not None: @@ -125,6 +135,50 @@ def __init__(self, id=None, group_id=None, user_id=None, is_representing=False, if has_joined_from_purchase is not None: self.has_joined_from_purchase = has_joined_from_purchase + @property + def accepted_by_display_name(self): + """Gets the accepted_by_display_name of this GroupMember. # noqa: E501 + + + :return: The accepted_by_display_name of this GroupMember. # noqa: E501 + :rtype: str + """ + return self._accepted_by_display_name + + @accepted_by_display_name.setter + def accepted_by_display_name(self, accepted_by_display_name): + """Sets the accepted_by_display_name of this GroupMember. + + + :param accepted_by_display_name: The accepted_by_display_name of this GroupMember. # noqa: E501 + :type accepted_by_display_name: str + """ + + self._accepted_by_display_name = accepted_by_display_name + + @property + def accepted_by_id(self): + """Gets the accepted_by_id of this GroupMember. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The accepted_by_id of this GroupMember. # noqa: E501 + :rtype: str + """ + return self._accepted_by_id + + @accepted_by_id.setter + def accepted_by_id(self, accepted_by_id): + """Sets the accepted_by_id of this GroupMember. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param accepted_by_id: The accepted_by_id of this GroupMember. # noqa: E501 + :type accepted_by_id: str + """ + + self._accepted_by_id = accepted_by_id + @property def id(self): """Gets the id of this GroupMember. # noqa: E501 diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index 3966048f..44457860 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index 340080eb..6fc7a6bc 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index 5b9460e8..25a2ee1c 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index 362a239e..86455335 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post.py b/vrchatapi/models/group_post.py index d7a86804..ddec82f9 100644 --- a/vrchatapi/models/group_post.py +++ b/vrchatapi/models/group_post.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post_visibility.py b/vrchatapi/models/group_post_visibility.py index d14b6b28..38fc0fae 100644 --- a/vrchatapi/models/group_post_visibility.py +++ b/vrchatapi/models/group_post_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index 5dbec0cf..789110ef 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index aa51b144..7a168470 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index 220b2628..cad88786 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_search_sort.py b/vrchatapi/models/group_search_sort.py index f800a1d4..09308054 100644 --- a/vrchatapi/models/group_search_sort.py +++ b/vrchatapi/models/group_search_sort.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index 336bff37..390a6923 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index b07122d7..4e11b8f0 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index aa302a65..a5526e31 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index 733a12e7..ab5b1a50 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index e91fc959..dafe525f 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index 02249e74..ef19a1a3 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index b59f5b34..5009d424 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -40,9 +40,12 @@ class Instance(object): 'can_request_invite': 'bool', 'capacity': 'int', 'client_number': 'str', + 'display_name': 'str', 'full': 'bool', + 'game_server_version': 'int', 'id': 'str', 'instance_id': 'str', + 'instance_persistence_enabled': 'str', 'location': 'str', 'n_users': 'int', 'name': 'str', @@ -50,6 +53,7 @@ class Instance(object): 'permanent': 'bool', 'photon_region': 'Region', 'platforms': 'InstancePlatforms', + 'player_persistence_enabled': 'str', 'region': 'InstanceRegion', 'secure_name': 'str', 'short_name': 'str', @@ -79,9 +83,12 @@ class Instance(object): 'can_request_invite': 'canRequestInvite', 'capacity': 'capacity', 'client_number': 'clientNumber', + 'display_name': 'displayName', 'full': 'full', + 'game_server_version': 'gameServerVersion', 'id': 'id', 'instance_id': 'instanceId', + 'instance_persistence_enabled': 'instancePersistenceEnabled', 'location': 'location', 'n_users': 'n_users', 'name': 'name', @@ -89,6 +96,7 @@ class Instance(object): 'permanent': 'permanent', 'photon_region': 'photonRegion', 'platforms': 'platforms', + 'player_persistence_enabled': 'playerPersistenceEnabled', 'region': 'region', 'secure_name': 'secureName', 'short_name': 'shortName', @@ -113,7 +121,7 @@ class Instance(object): 'hard_close': 'hardClose' } - def __init__(self, active=True, can_request_invite=True, capacity=None, client_number=None, full=False, id=None, instance_id=None, location=None, n_users=None, name=None, owner_id=None, permanent=False, photon_region=None, platforms=None, region=None, secure_name=None, short_name=None, tags=None, type=None, world_id=None, hidden=None, friends=None, private=None, queue_enabled=None, queue_size=None, recommended_capacity=None, role_restricted=None, strict=None, user_count=None, world=None, users=None, group_access_type=None, has_capacity_for_you=None, nonce=None, closed_at=None, hard_close=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, active=True, can_request_invite=True, capacity=None, client_number=None, display_name=None, full=False, game_server_version=None, id=None, instance_id=None, instance_persistence_enabled=None, location=None, n_users=None, name=None, owner_id=None, permanent=False, photon_region=None, platforms=None, player_persistence_enabled=None, region=None, secure_name=None, short_name=None, tags=None, type=None, world_id=None, hidden=None, friends=None, private=None, queue_enabled=None, queue_size=None, recommended_capacity=None, role_restricted=None, strict=None, user_count=None, world=None, users=None, group_access_type=None, has_capacity_for_you=None, nonce=None, closed_at=None, hard_close=None, local_vars_configuration=None): # noqa: E501 """Instance - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -123,9 +131,12 @@ def __init__(self, active=True, can_request_invite=True, capacity=None, client_n self._can_request_invite = None self._capacity = None self._client_number = None + self._display_name = None self._full = None + self._game_server_version = None self._id = None self._instance_id = None + self._instance_persistence_enabled = None self._location = None self._n_users = None self._name = None @@ -133,6 +144,7 @@ def __init__(self, active=True, can_request_invite=True, capacity=None, client_n self._permanent = None self._photon_region = None self._platforms = None + self._player_persistence_enabled = None self._region = None self._secure_name = None self._short_name = None @@ -161,9 +173,12 @@ def __init__(self, active=True, can_request_invite=True, capacity=None, client_n self.can_request_invite = can_request_invite self.capacity = capacity self.client_number = client_number + self.display_name = display_name self.full = full + self.game_server_version = game_server_version self.id = id self.instance_id = instance_id + self.instance_persistence_enabled = instance_persistence_enabled self.location = location self.n_users = n_users self.name = name @@ -171,6 +186,7 @@ def __init__(self, active=True, can_request_invite=True, capacity=None, client_n self.permanent = permanent self.photon_region = photon_region self.platforms = platforms + self.player_persistence_enabled = player_persistence_enabled self.region = region self.secure_name = secure_name self.short_name = short_name @@ -302,6 +318,27 @@ def client_number(self, client_number): self._client_number = client_number + @property + def display_name(self): + """Gets the display_name of this Instance. # noqa: E501 + + + :return: The display_name of this Instance. # noqa: E501 + :rtype: str + """ + return self._display_name + + @display_name.setter + def display_name(self, display_name): + """Sets the display_name of this Instance. + + + :param display_name: The display_name of this Instance. # noqa: E501 + :type display_name: str + """ + + self._display_name = display_name + @property def full(self): """Gets the full of this Instance. # noqa: E501 @@ -325,6 +362,29 @@ def full(self, full): self._full = full + @property + def game_server_version(self): + """Gets the game_server_version of this Instance. # noqa: E501 + + + :return: The game_server_version of this Instance. # noqa: E501 + :rtype: int + """ + return self._game_server_version + + @game_server_version.setter + def game_server_version(self, game_server_version): + """Sets the game_server_version of this Instance. + + + :param game_server_version: The game_server_version of this Instance. # noqa: E501 + :type game_server_version: int + """ + if self.local_vars_configuration.client_side_validation and game_server_version is None: # noqa: E501 + raise ValueError("Invalid value for `game_server_version`, must not be `None`") # noqa: E501 + + self._game_server_version = game_server_version + @property def id(self): """Gets the id of this Instance. # noqa: E501 @@ -376,6 +436,27 @@ def instance_id(self, instance_id): self._instance_id = instance_id + @property + def instance_persistence_enabled(self): + """Gets the instance_persistence_enabled of this Instance. # noqa: E501 + + + :return: The instance_persistence_enabled of this Instance. # noqa: E501 + :rtype: str + """ + return self._instance_persistence_enabled + + @instance_persistence_enabled.setter + def instance_persistence_enabled(self, instance_persistence_enabled): + """Sets the instance_persistence_enabled of this Instance. + + + :param instance_persistence_enabled: The instance_persistence_enabled of this Instance. # noqa: E501 + :type instance_persistence_enabled: str + """ + + self._instance_persistence_enabled = instance_persistence_enabled + @property def location(self): """Gets the location of this Instance. # noqa: E501 @@ -545,6 +626,27 @@ def platforms(self, platforms): self._platforms = platforms + @property + def player_persistence_enabled(self): + """Gets the player_persistence_enabled of this Instance. # noqa: E501 + + + :return: The player_persistence_enabled of this Instance. # noqa: E501 + :rtype: str + """ + return self._player_persistence_enabled + + @player_persistence_enabled.setter + def player_persistence_enabled(self, player_persistence_enabled): + """Sets the player_persistence_enabled of this Instance. + + + :param player_persistence_enabled: The player_persistence_enabled of this Instance. # noqa: E501 + :type player_persistence_enabled: str + """ + + self._player_persistence_enabled = player_persistence_enabled + @property def region(self): """Gets the region of this Instance. # noqa: E501 diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index f5b9026c..2dffe50b 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -37,25 +37,30 @@ class InstancePlatforms(object): """ openapi_types = { 'android': 'int', + 'ios': 'int', 'standalonewindows': 'int' } attribute_map = { 'android': 'android', + 'ios': 'ios', 'standalonewindows': 'standalonewindows' } - def __init__(self, android=None, standalonewindows=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, android=None, ios=None, standalonewindows=None, local_vars_configuration=None): # noqa: E501 """InstancePlatforms - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._android = None + self._ios = None self._standalonewindows = None self.discriminator = None self.android = android + if ios is not None: + self.ios = ios self.standalonewindows = standalonewindows @property @@ -84,6 +89,30 @@ def android(self, android): self._android = android + @property + def ios(self): + """Gets the ios of this InstancePlatforms. # noqa: E501 + + + :return: The ios of this InstancePlatforms. # noqa: E501 + :rtype: int + """ + return self._ios + + @ios.setter + def ios(self, ios): + """Sets the ios of this InstancePlatforms. + + + :param ios: The ios of this InstancePlatforms. # noqa: E501 + :type ios: int + """ + if (self.local_vars_configuration.client_side_validation and + ios is not None and ios < 0): # noqa: E501 + raise ValueError("Invalid value for `ios`, must be a value greater than or equal to `0`") # noqa: E501 + + self._ios = ios + @property def standalonewindows(self): """Gets the standalonewindows of this InstancePlatforms. # noqa: E501 diff --git a/vrchatapi/models/instance_region.py b/vrchatapi/models/instance_region.py index bd6d6141..f918095c 100644 --- a/vrchatapi/models/instance_region.py +++ b/vrchatapi/models/instance_region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index f2baf757..1fd0ac20 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -56,8 +56,7 @@ def __init__(self, secure_name=None, short_name=None, local_vars_configuration=N self.discriminator = None self.secure_name = secure_name - if short_name is not None: - self.short_name = short_name + self.short_name = short_name @property def secure_name(self): diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index 6c0a2fb4..4f1dfcfb 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index 6f1b0bcb..8ab72176 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index a9dba079..497747a7 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index 480b75ef..94841340 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index 2bb4d2f3..4c29dfb4 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index 09bc424f..28d30725 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index 1b97192b..6aef7e16 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index 74e8c04e..0250da75 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index 37007d8e..d689d621 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_group.py b/vrchatapi/models/limited_group.py index da53f2d9..a2b3900a 100644 --- a/vrchatapi/models/limited_group.py +++ b/vrchatapi/models/limited_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index e824afbc..f5f6df77 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user.py b/vrchatapi/models/limited_user.py index b2be821d..c9b16b03 100644 --- a/vrchatapi/models/limited_user.py +++ b/vrchatapi/models/limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -47,6 +47,7 @@ class LimitedUser(object): 'id': 'str', 'is_friend': 'bool', 'last_platform': 'str', + 'last_login': 'datetime', 'profile_pic_override': 'str', 'pronouns': 'str', 'status': 'UserStatus', @@ -70,6 +71,7 @@ class LimitedUser(object): 'id': 'id', 'is_friend': 'isFriend', 'last_platform': 'last_platform', + 'last_login': 'last_login', 'profile_pic_override': 'profilePicOverride', 'pronouns': 'pronouns', 'status': 'status', @@ -81,7 +83,7 @@ class LimitedUser(object): 'friend_key': 'friendKey' } - def __init__(self, bio=None, bio_links=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, developer_type=None, display_name=None, fallback_avatar=None, id=None, is_friend=None, last_platform=None, profile_pic_override=None, pronouns=None, status=None, status_description=None, tags=None, user_icon=None, username=None, location=None, friend_key=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, bio=None, bio_links=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, developer_type=None, display_name=None, fallback_avatar=None, id=None, is_friend=None, last_platform=None, last_login=None, profile_pic_override=None, pronouns=None, status=None, status_description=None, tags=None, user_icon=None, username=None, location=None, friend_key=None, local_vars_configuration=None): # noqa: E501 """LimitedUser - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -98,6 +100,7 @@ def __init__(self, bio=None, bio_links=None, current_avatar_image_url=None, curr self._id = None self._is_friend = None self._last_platform = None + self._last_login = None self._profile_pic_override = None self._pronouns = None self._status = None @@ -126,6 +129,7 @@ def __init__(self, bio=None, bio_links=None, current_avatar_image_url=None, curr self.id = id self.is_friend = is_friend self.last_platform = last_platform + self.last_login = last_login if profile_pic_override is not None: self.profile_pic_override = profile_pic_override if pronouns is not None: @@ -393,6 +397,27 @@ def last_platform(self, last_platform): self._last_platform = last_platform + @property + def last_login(self): + """Gets the last_login of this LimitedUser. # noqa: E501 + + + :return: The last_login of this LimitedUser. # noqa: E501 + :rtype: datetime + """ + return self._last_login + + @last_login.setter + def last_login(self, last_login): + """Sets the last_login of this LimitedUser. + + + :param last_login: The last_login of this LimitedUser. # noqa: E501 + :type last_login: datetime + """ + + self._last_login = last_login + @property def profile_pic_override(self): """Gets the profile_pic_override of this LimitedUser. # noqa: E501 diff --git a/vrchatapi/models/limited_user_groups.py b/vrchatapi/models/limited_user_groups.py index fa846ad1..dc1dc36b 100644 --- a/vrchatapi/models/limited_user_groups.py +++ b/vrchatapi/models/limited_user_groups.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index e2065d61..c33f25c2 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -54,6 +54,7 @@ class LimitedWorld(object): 'preview_youtube_id': 'str', 'publication_date': 'str', 'release_status': 'ReleaseStatus', + 'store_id': 'str', 'tags': 'list[str]', 'thumbnail_image_url': 'str', 'unity_packages': 'list[LimitedUnityPackage]', @@ -80,6 +81,7 @@ class LimitedWorld(object): 'preview_youtube_id': 'previewYoutubeId', 'publication_date': 'publicationDate', 'release_status': 'releaseStatus', + 'store_id': 'storeId', 'tags': 'tags', 'thumbnail_image_url': 'thumbnailImageUrl', 'unity_packages': 'unityPackages', @@ -87,7 +89,7 @@ class LimitedWorld(object): 'udon_products': 'udonProducts' } - def __init__(self, author_id=None, author_name=None, capacity=None, recommended_capacity=None, created_at=None, favorites=0, visits=0, heat=0, id=None, image_url=None, labs_publication_date=None, name=None, occupants=0, organization='vrchat', popularity=0, preview_youtube_id=None, publication_date=None, release_status=None, tags=None, thumbnail_image_url=None, unity_packages=None, updated_at=None, udon_products=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, author_id=None, author_name=None, capacity=None, recommended_capacity=None, created_at=None, favorites=0, visits=0, heat=0, id=None, image_url=None, labs_publication_date=None, name=None, occupants=0, organization='vrchat', popularity=0, preview_youtube_id=None, publication_date=None, release_status=None, store_id=None, tags=None, thumbnail_image_url=None, unity_packages=None, updated_at=None, udon_products=None, local_vars_configuration=None): # noqa: E501 """LimitedWorld - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -111,6 +113,7 @@ def __init__(self, author_id=None, author_name=None, capacity=None, recommended_ self._preview_youtube_id = None self._publication_date = None self._release_status = None + self._store_id = None self._tags = None self._thumbnail_image_url = None self._unity_packages = None @@ -138,6 +141,7 @@ def __init__(self, author_id=None, author_name=None, capacity=None, recommended_ self.preview_youtube_id = preview_youtube_id self.publication_date = publication_date self.release_status = release_status + self.store_id = store_id self.tags = tags self.thumbnail_image_url = thumbnail_image_url self.unity_packages = unity_packages @@ -590,6 +594,27 @@ def release_status(self, release_status): self._release_status = release_status + @property + def store_id(self): + """Gets the store_id of this LimitedWorld. # noqa: E501 + + + :return: The store_id of this LimitedWorld. # noqa: E501 + :rtype: str + """ + return self._store_id + + @store_id.setter + def store_id(self, store_id): + """Sets the store_id of this LimitedWorld. + + + :param store_id: The store_id of this LimitedWorld. # noqa: E501 + :type store_id: str + """ + + self._store_id = store_id + @property def tags(self): """Gets the tags of this LimitedWorld. # noqa: E501 diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index 489e3b6a..a25e21b7 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index cdcc5ded..def45b82 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index 24aab85d..632f63bb 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite.py b/vrchatapi/models/notification_detail_invite.py index 73659550..7af9a235 100644 --- a/vrchatapi/models/notification_detail_invite.py +++ b/vrchatapi/models/notification_detail_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite_response.py b/vrchatapi/models/notification_detail_invite_response.py index 341d957e..b3dfc47d 100644 --- a/vrchatapi/models/notification_detail_invite_response.py +++ b/vrchatapi/models/notification_detail_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite.py b/vrchatapi/models/notification_detail_request_invite.py index d2c861da..451ceb59 100644 --- a/vrchatapi/models/notification_detail_request_invite.py +++ b/vrchatapi/models/notification_detail_request_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite_response.py b/vrchatapi/models/notification_detail_request_invite_response.py index f47a33a1..f7a0659b 100644 --- a/vrchatapi/models/notification_detail_request_invite_response.py +++ b/vrchatapi/models/notification_detail_request_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_vote_to_kick.py b/vrchatapi/models/notification_detail_vote_to_kick.py index f4050e17..8b426780 100644 --- a/vrchatapi/models/notification_detail_vote_to_kick.py +++ b/vrchatapi/models/notification_detail_vote_to_kick.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index 150c1af6..2d216ab2 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index b6a97585..b370d72b 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index 9d5cf710..4da9b386 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index b8e09462..c394b9dc 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/performance_ratings.py b/vrchatapi/models/performance_ratings.py new file mode 100644 index 00000000..27106829 --- /dev/null +++ b/vrchatapi/models/performance_ratings.py @@ -0,0 +1,115 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.5 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class PerformanceRatings(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + NONE = "None" + EXCELLENT = "Excellent" + GOOD = "Good" + MEDIUM = "Medium" + POOR = "Poor" + VERYPOOR = "VeryPoor" + + allowable_values = [NONE, EXCELLENT, GOOD, MEDIUM, POOR, VERYPOOR] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """PerformanceRatings - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, PerformanceRatings): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, PerformanceRatings): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index e4d7e252..22e14f3c 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,41 +36,98 @@ class Permission(object): and the value is json key in definition. """ openapi_types = { + 'display_name': 'str', + 'description': 'str', 'id': 'str', 'owner_display_name': 'str', 'name': 'str', 'owner_id': 'str', + 'type': 'str', 'data': 'object' } attribute_map = { + 'display_name': 'displayName', + 'description': 'description', 'id': 'id', 'owner_display_name': 'ownerDisplayName', 'name': 'name', 'owner_id': 'ownerId', + 'type': 'type', 'data': 'data' } - def __init__(self, id=None, owner_display_name=None, name=None, owner_id=None, data=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, display_name=None, description=None, id=None, owner_display_name=None, name=None, owner_id=None, type=None, data=None, local_vars_configuration=None): # noqa: E501 """Permission - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration + self._display_name = None + self._description = None self._id = None self._owner_display_name = None self._name = None self._owner_id = None + self._type = None self._data = None self.discriminator = None + if display_name is not None: + self.display_name = display_name + if description is not None: + self.description = description self.id = id self.owner_display_name = owner_display_name self.name = name self.owner_id = owner_id + if type is not None: + self.type = type if data is not None: self.data = data + @property + def display_name(self): + """Gets the display_name of this Permission. # noqa: E501 + + + :return: The display_name of this Permission. # noqa: E501 + :rtype: str + """ + return self._display_name + + @display_name.setter + def display_name(self, display_name): + """Sets the display_name of this Permission. + + + :param display_name: The display_name of this Permission. # noqa: E501 + :type display_name: str + """ + + self._display_name = display_name + + @property + def description(self): + """Gets the description of this Permission. # noqa: E501 + + + :return: The description of this Permission. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this Permission. + + + :param description: The description of this Permission. # noqa: E501 + :type description: str + """ + + self._description = description + @property def id(self): """Gets the id of this Permission. # noqa: E501 @@ -168,6 +225,27 @@ def owner_id(self, owner_id): self._owner_id = owner_id + @property + def type(self): + """Gets the type of this Permission. # noqa: E501 + + + :return: The type of this Permission. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this Permission. + + + :param type: The type of this Permission. # noqa: E501 + :type type: str + """ + + self._type = type + @property def data(self): """Gets the data of this Permission. # noqa: E501 diff --git a/vrchatapi/models/platform_build_info.py b/vrchatapi/models/platform_build_info.py new file mode 100644 index 00000000..cdc5ddf4 --- /dev/null +++ b/vrchatapi/models/platform_build_info.py @@ -0,0 +1,163 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.5 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class PlatformBuildInfo(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'min_build_number': 'int', + 'redirection_address': 'str' + } + + attribute_map = { + 'min_build_number': 'minBuildNumber', + 'redirection_address': 'redirectionAddress' + } + + def __init__(self, min_build_number=None, redirection_address=None, local_vars_configuration=None): # noqa: E501 + """PlatformBuildInfo - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._min_build_number = None + self._redirection_address = None + self.discriminator = None + + self.min_build_number = min_build_number + self.redirection_address = redirection_address + + @property + def min_build_number(self): + """Gets the min_build_number of this PlatformBuildInfo. # noqa: E501 + + Minimum build number required for the platform # noqa: E501 + + :return: The min_build_number of this PlatformBuildInfo. # noqa: E501 + :rtype: int + """ + return self._min_build_number + + @min_build_number.setter + def min_build_number(self, min_build_number): + """Sets the min_build_number of this PlatformBuildInfo. + + Minimum build number required for the platform # noqa: E501 + + :param min_build_number: The min_build_number of this PlatformBuildInfo. # noqa: E501 + :type min_build_number: int + """ + if self.local_vars_configuration.client_side_validation and min_build_number is None: # noqa: E501 + raise ValueError("Invalid value for `min_build_number`, must not be `None`") # noqa: E501 + + self._min_build_number = min_build_number + + @property + def redirection_address(self): + """Gets the redirection_address of this PlatformBuildInfo. # noqa: E501 + + Redirection URL for updating the app # noqa: E501 + + :return: The redirection_address of this PlatformBuildInfo. # noqa: E501 + :rtype: str + """ + return self._redirection_address + + @redirection_address.setter + def redirection_address(self, redirection_address): + """Sets the redirection_address of this PlatformBuildInfo. + + Redirection URL for updating the app # noqa: E501 + + :param redirection_address: The redirection_address of this PlatformBuildInfo. # noqa: E501 + :type redirection_address: str + """ + if self.local_vars_configuration.client_side_validation and redirection_address is None: # noqa: E501 + raise ValueError("Invalid value for `redirection_address`, must not be `None`") # noqa: E501 + + self._redirection_address = redirection_address + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, PlatformBuildInfo): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, PlatformBuildInfo): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index 924c8451..6746fe21 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index 53d4d605..ab8921a3 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index 455f7220..db71a81e 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index 34ac8d6e..2ac395a7 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/report_category.py b/vrchatapi/models/report_category.py new file mode 100644 index 00000000..527074df --- /dev/null +++ b/vrchatapi/models/report_category.py @@ -0,0 +1,163 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.5 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class ReportCategory(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'text': 'str', + 'tooltip': 'str' + } + + attribute_map = { + 'text': 'text', + 'tooltip': 'tooltip' + } + + def __init__(self, text=None, tooltip=None, local_vars_configuration=None): # noqa: E501 + """ReportCategory - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._text = None + self._tooltip = None + self.discriminator = None + + self.text = text + self.tooltip = tooltip + + @property + def text(self): + """Gets the text of this ReportCategory. # noqa: E501 + + The label of the report category # noqa: E501 + + :return: The text of this ReportCategory. # noqa: E501 + :rtype: str + """ + return self._text + + @text.setter + def text(self, text): + """Sets the text of this ReportCategory. + + The label of the report category # noqa: E501 + + :param text: The text of this ReportCategory. # noqa: E501 + :type text: str + """ + if self.local_vars_configuration.client_side_validation and text is None: # noqa: E501 + raise ValueError("Invalid value for `text`, must not be `None`") # noqa: E501 + + self._text = text + + @property + def tooltip(self): + """Gets the tooltip of this ReportCategory. # noqa: E501 + + The tooltip that describes the category # noqa: E501 + + :return: The tooltip of this ReportCategory. # noqa: E501 + :rtype: str + """ + return self._tooltip + + @tooltip.setter + def tooltip(self, tooltip): + """Sets the tooltip of this ReportCategory. + + The tooltip that describes the category # noqa: E501 + + :param tooltip: The tooltip of this ReportCategory. # noqa: E501 + :type tooltip: str + """ + if self.local_vars_configuration.client_side_validation and tooltip is None: # noqa: E501 + raise ValueError("Invalid value for `tooltip`, must not be `None`") # noqa: E501 + + self._tooltip = tooltip + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ReportCategory): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ReportCategory): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/report_reason.py b/vrchatapi/models/report_reason.py new file mode 100644 index 00000000..3848e44e --- /dev/null +++ b/vrchatapi/models/report_reason.py @@ -0,0 +1,163 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.5 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class ReportReason(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'text': 'str', + 'tooltip': 'str' + } + + attribute_map = { + 'text': 'text', + 'tooltip': 'tooltip' + } + + def __init__(self, text=None, tooltip=None, local_vars_configuration=None): # noqa: E501 + """ReportReason - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._text = None + self._tooltip = None + self.discriminator = None + + self.text = text + self.tooltip = tooltip + + @property + def text(self): + """Gets the text of this ReportReason. # noqa: E501 + + The label or name of the report reason # noqa: E501 + + :return: The text of this ReportReason. # noqa: E501 + :rtype: str + """ + return self._text + + @text.setter + def text(self, text): + """Sets the text of this ReportReason. + + The label or name of the report reason # noqa: E501 + + :param text: The text of this ReportReason. # noqa: E501 + :type text: str + """ + if self.local_vars_configuration.client_side_validation and text is None: # noqa: E501 + raise ValueError("Invalid value for `text`, must not be `None`") # noqa: E501 + + self._text = text + + @property + def tooltip(self): + """Gets the tooltip of this ReportReason. # noqa: E501 + + A brief explanation of what this reason entails # noqa: E501 + + :return: The tooltip of this ReportReason. # noqa: E501 + :rtype: str + """ + return self._tooltip + + @tooltip.setter + def tooltip(self, tooltip): + """Sets the tooltip of this ReportReason. + + A brief explanation of what this reason entails # noqa: E501 + + :param tooltip: The tooltip of this ReportReason. # noqa: E501 + :type tooltip: str + """ + if self.local_vars_configuration.client_side_validation and tooltip is None: # noqa: E501 + raise ValueError("Invalid value for `tooltip`, must not be `None`") # noqa: E501 + + self._tooltip = tooltip + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ReportReason): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ReportReason): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/represented_group.py b/vrchatapi/models/represented_group.py index e70f24a6..e96f4c11 100644 --- a/vrchatapi/models/represented_group.py +++ b/vrchatapi/models/represented_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index 8c8c46cc..38df9e67 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index 35eedee6..240d9c2c 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index 1a2f3ad6..7cf9fbb0 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index 7c8e2e47..889cf474 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index 52fd1876..5e36509c 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index 275fde53..04ac255f 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index c349f09b..14d04739 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index 19560ad3..3eb1f2aa 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index 797b5fe5..2b4a58bc 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index 7afcf8ae..8e9f880f 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index 744541f5..0e7076ff 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index 224109f3..ad11bca3 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index e48ea018..11736481 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index c9813b7f..6d09ea7a 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_email_code.py b/vrchatapi/models/two_factor_email_code.py index 43677df0..f7119126 100644 --- a/vrchatapi/models/two_factor_email_code.py +++ b/vrchatapi/models/two_factor_email_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index 0d4fec68..7e587608 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -42,11 +42,13 @@ class UnityPackage(object): 'asset_version': 'int', 'created_at': 'datetime', 'impostorizer_version': 'str', + 'performance_rating': 'PerformanceRatings', 'platform': 'str', 'plugin_url': 'str', 'plugin_url_object': 'object', 'unity_sort_number': 'int', 'unity_version': 'str', + 'world_signature': 'str', 'impostor_url': 'str', 'scan_status': 'str', 'variant': 'str' @@ -59,17 +61,19 @@ class UnityPackage(object): 'asset_version': 'assetVersion', 'created_at': 'created_at', 'impostorizer_version': 'impostorizerVersion', + 'performance_rating': 'performanceRating', 'platform': 'platform', 'plugin_url': 'pluginUrl', 'plugin_url_object': 'pluginUrlObject', 'unity_sort_number': 'unitySortNumber', 'unity_version': 'unityVersion', + 'world_signature': 'worldSignature', 'impostor_url': 'impostorUrl', 'scan_status': 'scanStatus', 'variant': 'variant' } - def __init__(self, id=None, asset_url=None, asset_url_object=None, asset_version=None, created_at=None, impostorizer_version=None, platform=None, plugin_url=None, plugin_url_object=None, unity_sort_number=None, unity_version='5.3.4p1', impostor_url=None, scan_status=None, variant=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, id=None, asset_url=None, asset_url_object=None, asset_version=None, created_at=None, impostorizer_version=None, performance_rating=None, platform=None, plugin_url=None, plugin_url_object=None, unity_sort_number=None, unity_version='5.3.4p1', world_signature=None, impostor_url=None, scan_status=None, variant=None, local_vars_configuration=None): # noqa: E501 """UnityPackage - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -81,11 +85,13 @@ def __init__(self, id=None, asset_url=None, asset_url_object=None, asset_version self._asset_version = None self._created_at = None self._impostorizer_version = None + self._performance_rating = None self._platform = None self._plugin_url = None self._plugin_url_object = None self._unity_sort_number = None self._unity_version = None + self._world_signature = None self._impostor_url = None self._scan_status = None self._variant = None @@ -100,6 +106,8 @@ def __init__(self, id=None, asset_url=None, asset_url_object=None, asset_version self.created_at = created_at if impostorizer_version is not None: self.impostorizer_version = impostorizer_version + if performance_rating is not None: + self.performance_rating = performance_rating self.platform = platform if plugin_url is not None: self.plugin_url = plugin_url @@ -108,6 +116,7 @@ def __init__(self, id=None, asset_url=None, asset_url_object=None, asset_version if unity_sort_number is not None: self.unity_sort_number = unity_sort_number self.unity_version = unity_version + self.world_signature = world_signature self.impostor_url = impostor_url if scan_status is not None: self.scan_status = scan_status @@ -247,6 +256,27 @@ def impostorizer_version(self, impostorizer_version): self._impostorizer_version = impostorizer_version + @property + def performance_rating(self): + """Gets the performance_rating of this UnityPackage. # noqa: E501 + + + :return: The performance_rating of this UnityPackage. # noqa: E501 + :rtype: PerformanceRatings + """ + return self._performance_rating + + @performance_rating.setter + def performance_rating(self, performance_rating): + """Sets the performance_rating of this UnityPackage. + + + :param performance_rating: The performance_rating of this UnityPackage. # noqa: E501 + :type performance_rating: PerformanceRatings + """ + + self._performance_rating = performance_rating + @property def platform(self): """Gets the platform of this UnityPackage. # noqa: E501 @@ -364,6 +394,27 @@ def unity_version(self, unity_version): self._unity_version = unity_version + @property + def world_signature(self): + """Gets the world_signature of this UnityPackage. # noqa: E501 + + + :return: The world_signature of this UnityPackage. # noqa: E501 + :rtype: str + """ + return self._world_signature + + @world_signature.setter + def world_signature(self, world_signature): + """Sets the world_signature of this UnityPackage. + + + :param world_signature: The world_signature of this UnityPackage. # noqa: E501 + :type world_signature: str + """ + + self._world_signature = world_signature + @property def impostor_url(self): """Gets the impostor_url of this UnityPackage. # noqa: E501 diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index fddb9ff3..49f6e99d 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index 40bd6bd6..bc6f6e6a 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index 917ee16a..b6345580 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index c9accc70..607d17f9 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index 553dc61c..2834544a 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index 7bf3ec13..2723a516 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index b4c5c22e..b2d2ff4c 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index 9f712224..fad9785e 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index 4952ba93..90e7d722 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index 7fcc6efc..bf37e3a7 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index 4148cb97..54576f87 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -56,7 +56,8 @@ def __init__(self, user_exists=False, name_ok=False, local_vars_configuration=No self.discriminator = None self.user_exists = user_exists - self.name_ok = name_ok + if name_ok is not None: + self.name_ok = name_ok @property def user_exists(self): @@ -103,8 +104,6 @@ def name_ok(self, name_ok): :param name_ok: The name_ok of this UserExists. # noqa: E501 :type name_ok: bool """ - if self.local_vars_configuration.client_side_validation and name_ok is None: # noqa: E501 - raise ValueError("Invalid value for `name_ok`, must not be `None`") # noqa: E501 self._name_ok = name_ok diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index a3c9c5e6..45441105 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index 3f8114cb..021d9547 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index d3d5e23c..118105f2 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_email_code_result.py b/vrchatapi/models/verify2_fa_email_code_result.py index 50dbb7f7..5cbc10f3 100644 --- a/vrchatapi/models/verify2_fa_email_code_result.py +++ b/vrchatapi/models/verify2_fa_email_code_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index bb8a3d20..22b3ee74 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index 055ed4a7..66c1a681 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index 7ad741a0..11e09a9e 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -59,6 +59,7 @@ class World(object): 'public_occupants': 'int', 'publication_date': 'str', 'release_status': 'ReleaseStatus', + 'store_id': 'str', 'tags': 'list[str]', 'thumbnail_image_url': 'str', 'unity_packages': 'list[UnityPackage]', @@ -92,6 +93,7 @@ class World(object): 'public_occupants': 'publicOccupants', 'publication_date': 'publicationDate', 'release_status': 'releaseStatus', + 'store_id': 'storeId', 'tags': 'tags', 'thumbnail_image_url': 'thumbnailImageUrl', 'unity_packages': 'unityPackages', @@ -101,7 +103,7 @@ class World(object): 'udon_products': 'udonProducts' } - def __init__(self, author_id=None, author_name=None, capacity=None, recommended_capacity=None, created_at=None, description=None, favorites=0, featured=False, heat=0, id=None, image_url=None, instances=None, labs_publication_date=None, name=None, namespace=None, occupants=0, organization='vrchat', popularity=0, preview_youtube_id=None, private_occupants=0, public_occupants=0, publication_date=None, release_status=None, tags=None, thumbnail_image_url=None, unity_packages=None, updated_at=None, version=0, visits=0, udon_products=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, author_id=None, author_name=None, capacity=None, recommended_capacity=None, created_at=None, description=None, favorites=0, featured=False, heat=0, id=None, image_url=None, instances=None, labs_publication_date=None, name=None, namespace=None, occupants=0, organization='vrchat', popularity=0, preview_youtube_id=None, private_occupants=0, public_occupants=0, publication_date=None, release_status=None, store_id=None, tags=None, thumbnail_image_url=None, unity_packages=None, updated_at=None, version=0, visits=0, udon_products=None, local_vars_configuration=None): # noqa: E501 """World - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -130,6 +132,7 @@ def __init__(self, author_id=None, author_name=None, capacity=None, recommended_ self._public_occupants = None self._publication_date = None self._release_status = None + self._store_id = None self._tags = None self._thumbnail_image_url = None self._unity_packages = None @@ -168,6 +171,7 @@ def __init__(self, author_id=None, author_name=None, capacity=None, recommended_ self.public_occupants = public_occupants self.publication_date = publication_date self.release_status = release_status + self.store_id = store_id self.tags = tags self.thumbnail_image_url = thumbnail_image_url if unity_packages is not None: @@ -744,6 +748,27 @@ def release_status(self, release_status): self._release_status = release_status + @property + def store_id(self): + """Gets the store_id of this World. # noqa: E501 + + + :return: The store_id of this World. # noqa: E501 + :rtype: str + """ + return self._store_id + + @store_id.setter + def store_id(self, store_id): + """Sets the store_id of this World. + + + :param store_id: The store_id of this World. # noqa: E501 + :type store_id: str + """ + + self._store_id = store_id + @property def tags(self): """Gets the tags of this World. # noqa: E501 diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index ae648050..fa2702d9 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index 9bbec366..57858a06 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index 08e1db9f..b70668bd 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.4 + The version of the OpenAPI document: 1.18.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ From e45d98abad4f800e8c109ac88b018f488ea1d76d Mon Sep 17 00:00:00 2001 From: VRCCat Date: Sun, 20 Oct 2024 22:22:14 +0000 Subject: [PATCH 059/102] Upgrade Python SDK to spec 1.18.6 --- .openapi-generator/FILES | 10 + docs/FavoritedWorld.md | 39 + docs/GroupMember.md | 2 +- docs/GroupMyMember.md | 2 +- docs/Jam.md | 21 + docs/JamStateChangeDates.md | 14 + docs/JamsApi.md | 232 +++++ docs/LimitedWorld.md | 1 - docs/NotificationsApi.md | 76 ++ docs/PlayermoderationApi.md | 152 --- docs/Submission.md | 18 + docs/World.md | 1 - docs/WorldsApi.md | 6 +- package-lock.json | 14 +- package.json | 2 +- setup.py | 4 +- vrchatapi/__init__.py | 7 +- vrchatapi/api/__init__.py | 1 + vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/groups_api.py | 2 +- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/jams_api.py | 447 +++++++++ vrchatapi/api/notifications_api.py | 141 ++- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 280 +----- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 8 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 +- vrchatapi/exceptions.py | 2 +- vrchatapi/models/__init__.py | 6 +- vrchatapi/models/account_deletion_log.py | 2 +- vrchatapi/models/add_favorite_request.py | 2 +- .../models/add_group_gallery_image_request.py | 2 +- vrchatapi/models/api_config.py | 2 +- vrchatapi/models/api_config_announcement.py | 2 +- vrchatapi/models/api_config_constants.py | 2 +- .../models/api_config_constants_groups.py | 2 +- .../models/api_config_constants_instance.py | 2 +- ...ig_constants_instancepopulationbrackets.py | 2 +- ...tants_instancepopulationbracketscrowded.py | 2 +- ...constants_instancepopulationbracketsfew.py | 2 +- ...onstants_instancepopulationbracketsmany.py | 2 +- .../models/api_config_constants_language.py | 2 +- .../models/api_config_download_url_list.py | 2 +- vrchatapi/models/api_config_events.py | 2 +- ...onfig_min_supported_client_build_number.py | 2 +- .../models/api_config_offline_analysis.py | 2 +- .../models/api_config_report_categories.py | 2 +- vrchatapi/models/api_config_report_reasons.py | 2 +- vrchatapi/models/api_health.py | 2 +- vrchatapi/models/avatar.py | 2 +- .../models/avatar_unity_package_url_object.py | 2 +- vrchatapi/models/badge.py | 2 +- vrchatapi/models/ban_group_member_request.py | 2 +- vrchatapi/models/create_avatar_request.py | 2 +- vrchatapi/models/create_file_request.py | 2 +- .../models/create_file_version_request.py | 2 +- .../create_group_announcement_request.py | 2 +- .../models/create_group_gallery_request.py | 2 +- .../models/create_group_invite_request.py | 2 +- vrchatapi/models/create_group_post_request.py | 2 +- vrchatapi/models/create_group_request.py | 2 +- vrchatapi/models/create_group_role_request.py | 2 +- vrchatapi/models/create_instance_request.py | 2 +- vrchatapi/models/create_world_request.py | 2 +- vrchatapi/models/current_user.py | 2 +- vrchatapi/models/current_user_presence.py | 2 +- vrchatapi/models/deployment_group.py | 2 +- vrchatapi/models/developer_type.py | 2 +- vrchatapi/models/dynamic_content_row.py | 2 +- vrchatapi/models/error.py | 2 +- vrchatapi/models/favorite.py | 2 +- vrchatapi/models/favorite_group.py | 2 +- vrchatapi/models/favorite_group_visibility.py | 2 +- vrchatapi/models/favorite_type.py | 2 +- vrchatapi/models/favorited_world.py | 912 ++++++++++++++++++ vrchatapi/models/file.py | 2 +- vrchatapi/models/file_data.py | 2 +- vrchatapi/models/file_status.py | 2 +- vrchatapi/models/file_upload_url.py | 2 +- vrchatapi/models/file_version.py | 2 +- .../models/file_version_upload_status.py | 2 +- .../models/finish_file_data_upload_request.py | 2 +- vrchatapi/models/friend_status.py | 2 +- vrchatapi/models/group.py | 2 +- vrchatapi/models/group_access_type.py | 2 +- vrchatapi/models/group_announcement.py | 2 +- vrchatapi/models/group_audit_log_entry.py | 2 +- vrchatapi/models/group_gallery.py | 2 +- vrchatapi/models/group_gallery_image.py | 2 +- vrchatapi/models/group_instance.py | 2 +- vrchatapi/models/group_join_request_action.py | 2 +- vrchatapi/models/group_join_state.py | 2 +- vrchatapi/models/group_limited_member.py | 2 +- vrchatapi/models/group_member.py | 10 +- vrchatapi/models/group_member_limited_user.py | 2 +- vrchatapi/models/group_member_status.py | 2 +- vrchatapi/models/group_my_member.py | 7 +- vrchatapi/models/group_permission.py | 2 +- vrchatapi/models/group_post.py | 2 +- vrchatapi/models/group_post_visibility.py | 2 +- vrchatapi/models/group_privacy.py | 2 +- vrchatapi/models/group_role.py | 2 +- vrchatapi/models/group_role_template.py | 2 +- vrchatapi/models/group_search_sort.py | 2 +- vrchatapi/models/group_user_visibility.py | 2 +- vrchatapi/models/info_push.py | 2 +- vrchatapi/models/info_push_data.py | 2 +- vrchatapi/models/info_push_data_article.py | 2 +- .../models/info_push_data_article_content.py | 2 +- vrchatapi/models/info_push_data_clickable.py | 2 +- vrchatapi/models/instance.py | 2 +- vrchatapi/models/instance_platforms.py | 2 +- vrchatapi/models/instance_region.py | 2 +- .../models/instance_short_name_response.py | 2 +- vrchatapi/models/instance_type.py | 2 +- vrchatapi/models/invite_message.py | 2 +- vrchatapi/models/invite_message_type.py | 2 +- vrchatapi/models/invite_request.py | 2 +- vrchatapi/models/invite_response.py | 2 +- vrchatapi/models/jam.py | 390 ++++++++ vrchatapi/models/jam_state_change_dates.py | 205 ++++ vrchatapi/models/license.py | 2 +- vrchatapi/models/license_action.py | 2 +- vrchatapi/models/license_group.py | 2 +- vrchatapi/models/license_type.py | 2 +- vrchatapi/models/limited_group.py | 2 +- vrchatapi/models/limited_unity_package.py | 2 +- vrchatapi/models/limited_user.py | 2 +- vrchatapi/models/limited_user_groups.py | 2 +- vrchatapi/models/limited_world.py | 29 +- vrchatapi/models/mime_type.py | 2 +- vrchatapi/models/moderate_user_request.py | 2 +- vrchatapi/models/notification.py | 2 +- .../models/notification_detail_invite.py | 2 +- .../notification_detail_invite_response.py | 2 +- .../notification_detail_request_invite.py | 2 +- ...fication_detail_request_invite_response.py | 2 +- .../notification_detail_vote_to_kick.py | 2 +- vrchatapi/models/notification_type.py | 2 +- vrchatapi/models/order_option.py | 2 +- .../paginated_group_audit_log_entry_list.py | 2 +- vrchatapi/models/past_display_name.py | 2 +- vrchatapi/models/performance_ratings.py | 2 +- vrchatapi/models/permission.py | 2 +- vrchatapi/models/platform_build_info.py | 2 +- vrchatapi/models/player_moderation.py | 2 +- vrchatapi/models/player_moderation_type.py | 2 +- vrchatapi/models/region.py | 2 +- vrchatapi/models/release_status.py | 2 +- vrchatapi/models/report_category.py | 2 +- vrchatapi/models/report_reason.py | 2 +- vrchatapi/models/represented_group.py | 2 +- vrchatapi/models/request_invite_request.py | 2 +- .../models/respond_group_join_request.py | 2 +- vrchatapi/models/response.py | 2 +- vrchatapi/models/sent_notification.py | 2 +- vrchatapi/models/sort_option.py | 2 +- vrchatapi/models/submission.py | 309 ++++++ vrchatapi/models/subscription.py | 2 +- vrchatapi/models/subscription_period.py | 2 +- vrchatapi/models/success.py | 2 +- vrchatapi/models/transaction.py | 2 +- vrchatapi/models/transaction_agreement.py | 2 +- vrchatapi/models/transaction_status.py | 2 +- vrchatapi/models/transaction_steam_info.py | 2 +- .../models/transaction_steam_wallet_info.py | 2 +- vrchatapi/models/two_factor_auth_code.py | 2 +- vrchatapi/models/two_factor_email_code.py | 2 +- vrchatapi/models/unity_package.py | 2 +- vrchatapi/models/update_avatar_request.py | 2 +- .../models/update_favorite_group_request.py | 2 +- .../models/update_group_gallery_request.py | 2 +- .../models/update_group_member_request.py | 2 +- vrchatapi/models/update_group_request.py | 2 +- vrchatapi/models/update_group_role_request.py | 2 +- .../models/update_invite_message_request.py | 2 +- vrchatapi/models/update_user_request.py | 2 +- vrchatapi/models/update_world_request.py | 2 +- vrchatapi/models/user.py | 2 +- vrchatapi/models/user_exists.py | 2 +- vrchatapi/models/user_state.py | 2 +- vrchatapi/models/user_status.py | 2 +- vrchatapi/models/user_subscription.py | 2 +- .../models/verify2_fa_email_code_result.py | 2 +- vrchatapi/models/verify2_fa_result.py | 2 +- vrchatapi/models/verify_auth_token_result.py | 2 +- vrchatapi/models/world.py | 29 +- vrchatapi/models/world_metadata.py | 2 +- vrchatapi/models/world_publish_status.py | 2 +- vrchatapi/rest.py | 2 +- 199 files changed, 3023 insertions(+), 690 deletions(-) create mode 100644 docs/FavoritedWorld.md create mode 100644 docs/Jam.md create mode 100644 docs/JamStateChangeDates.md create mode 100644 docs/JamsApi.md create mode 100644 docs/Submission.md create mode 100644 vrchatapi/api/jams_api.py create mode 100644 vrchatapi/models/favorited_world.py create mode 100644 vrchatapi/models/jam.py create mode 100644 vrchatapi/models/jam_state_change_dates.py create mode 100644 vrchatapi/models/submission.py diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 79370e37..a8bad355 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -47,6 +47,7 @@ docs/Favorite.md docs/FavoriteGroup.md docs/FavoriteGroupVisibility.md docs/FavoriteType.md +docs/FavoritedWorld.md docs/FavoritesApi.md docs/File.md docs/FileData.md @@ -97,6 +98,9 @@ docs/InviteMessage.md docs/InviteMessageType.md docs/InviteRequest.md docs/InviteResponse.md +docs/Jam.md +docs/JamStateChangeDates.md +docs/JamsApi.md docs/License.md docs/LicenseAction.md docs/LicenseGroup.md @@ -136,6 +140,7 @@ docs/RespondGroupJoinRequest.md docs/Response.md docs/SentNotification.md docs/SortOption.md +docs/Submission.md docs/Subscription.md docs/SubscriptionPeriod.md docs/Success.md @@ -187,6 +192,7 @@ vrchatapi/api/friends_api.py vrchatapi/api/groups_api.py vrchatapi/api/instances_api.py vrchatapi/api/invite_api.py +vrchatapi/api/jams_api.py vrchatapi/api/notifications_api.py vrchatapi/api/permissions_api.py vrchatapi/api/playermoderation_api.py @@ -242,6 +248,7 @@ vrchatapi/models/favorite.py vrchatapi/models/favorite_group.py vrchatapi/models/favorite_group_visibility.py vrchatapi/models/favorite_type.py +vrchatapi/models/favorited_world.py vrchatapi/models/file.py vrchatapi/models/file_data.py vrchatapi/models/file_status.py @@ -286,6 +293,8 @@ vrchatapi/models/invite_message.py vrchatapi/models/invite_message_type.py vrchatapi/models/invite_request.py vrchatapi/models/invite_response.py +vrchatapi/models/jam.py +vrchatapi/models/jam_state_change_dates.py vrchatapi/models/license.py vrchatapi/models/license_action.py vrchatapi/models/license_group.py @@ -322,6 +331,7 @@ vrchatapi/models/respond_group_join_request.py vrchatapi/models/response.py vrchatapi/models/sent_notification.py vrchatapi/models/sort_option.py +vrchatapi/models/submission.py vrchatapi/models/subscription.py vrchatapi/models/subscription_period.py vrchatapi/models/success.py diff --git a/docs/FavoritedWorld.md b/docs/FavoritedWorld.md new file mode 100644 index 00000000..6908bee8 --- /dev/null +++ b/docs/FavoritedWorld.md @@ -0,0 +1,39 @@ +# FavoritedWorld + + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**author_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**author_name** | **str** | | +**capacity** | **int** | | +**description** | **str** | | +**recommended_capacity** | **int** | | [optional] +**created_at** | **datetime** | | +**favorites** | **int** | | [default to 0] +**favorite_group** | **str** | | +**favorite_id** | **str** | | +**featured** | **bool** | | [default to False] +**visits** | **int** | | [optional] [default to 0] +**heat** | **int** | | [default to 0] +**id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | +**image_url** | **str** | | +**labs_publication_date** | **str** | | +**name** | **str** | | +**occupants** | **int** | | [default to 0] +**organization** | **str** | | [default to 'vrchat'] +**popularity** | **int** | | [default to 0] +**preview_youtube_id** | **str** | | [optional] +**publication_date** | **str** | | +**release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | +**tags** | **list[str]** | | +**thumbnail_image_url** | **str** | | +**unity_packages** | [**list[UnityPackage]**](UnityPackage.md) | | +**updated_at** | **datetime** | | +**udon_products** | **list[str]** | | [optional] +**version** | **int** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GroupMember.md b/docs/GroupMember.md index 17cbbe82..dc599a08 100644 --- a/docs/GroupMember.md +++ b/docs/GroupMember.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **accepted_by_display_name** | **str** | | [optional] -**accepted_by_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] +**accepted_by_id** | **str** | | [optional] **id** | **str** | | [optional] **group_id** | **str** | | [optional] **user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] diff --git a/docs/GroupMyMember.md b/docs/GroupMyMember.md index 857603bd..ea4da468 100644 --- a/docs/GroupMyMember.md +++ b/docs/GroupMyMember.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] **role_ids** | **list[str]** | | [optional] **accepted_by_display_name** | **str** | | [optional] -**accepted_by_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] +**accepted_by_id** | **str** | | [optional] **created_at** | **datetime** | | [optional] **manager_notes** | **str** | | [optional] **membership_status** | **str** | | [optional] diff --git a/docs/Jam.md b/docs/Jam.md new file mode 100644 index 00000000..48931657 --- /dev/null +++ b/docs/Jam.md @@ -0,0 +1,21 @@ +# Jam + + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**description** | **str** | | +**id** | **str** | | +**is_visible** | **bool** | | +**more_info** | **str** | | +**state** | **str** | One of: - submissions_open - closed | +**state_change_dates** | [**JamStateChangeDates**](JamStateChangeDates.md) | | +**submission_content_gate_date** | **datetime** | | +**submission_content_gated** | **bool** | | +**title** | **str** | | +**updated_at** | **datetime** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/JamStateChangeDates.md b/docs/JamStateChangeDates.md new file mode 100644 index 00000000..bd9b61c5 --- /dev/null +++ b/docs/JamStateChangeDates.md @@ -0,0 +1,14 @@ +# JamStateChangeDates + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**closed** | **datetime** | | [optional] +**submissions_closed** | **datetime** | | [optional] +**submissions_opened** | **datetime** | | [optional] +**winners_selected** | **datetime** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/JamsApi.md b/docs/JamsApi.md new file mode 100644 index 00000000..0d96401b --- /dev/null +++ b/docs/JamsApi.md @@ -0,0 +1,232 @@ +# vrchatapi.JamsApi + +All URIs are relative to *https://vrchat.com/api/1* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**get_jam**](JamsApi.md#get_jam) | **GET** /jams/{jamId} | Show jam information +[**get_jam_submissions**](JamsApi.md#get_jam_submissions) | **GET** /jams/{jamId}/submissions | Show jam submissions +[**get_jams**](JamsApi.md#get_jams) | **GET** /jams | Show jams list + + +# **get_jam** +> Jam get_jam(jam_id) + +Show jam information + +Returns a jam. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://vrchat.com/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://vrchat.com/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.JamsApi(api_client) + jam_id = 'jam_0b7e3f6d-4647-4648-b2a1-1431e76906d9' # str | Must be a valid query ID. + + try: + # Show jam information + api_response = api_instance.get_jam(jam_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling JamsApi->get_jam: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **jam_id** | **str**| Must be a valid query ID. | + +### Return type + +[**Jam**](Jam.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a Jam object. | - | +**404** | Error response when trying to show information about a non-existent jam. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_jam_submissions** +> list[Submission] get_jam_submissions(jam_id) + +Show jam submissions + +Returns all submissions of a jam. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://vrchat.com/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://vrchat.com/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.JamsApi(api_client) + jam_id = 'jam_0b7e3f6d-4647-4648-b2a1-1431e76906d9' # str | Must be a valid query ID. + + try: + # Show jam submissions + api_response = api_instance.get_jam_submissions(jam_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling JamsApi->get_jam_submissions: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **jam_id** | **str**| Must be a valid query ID. | + +### Return type + +[**list[Submission]**](Submission.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of Submission objects. | - | +**404** | Error response when trying to show information about a non-existent jam. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_jams** +> list[Jam] get_jams(type=type) + +Show jams list + +Lists World Jams or Avatar Jams, both currently running and ones that have ended. `isActive` is used to select only active or already ended jams. `type` is used to select only world or avatar jams, and can only take `world` or `avatar`. `` + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://vrchat.com/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://vrchat.com/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.JamsApi(api_client) + type = 'avatar' # str | Only show jams of this type (`avatar` or `world`). (optional) + + try: + # Show jams list + api_response = api_instance.get_jams(type=type) + pprint(api_response) + except ApiException as e: + print("Exception when calling JamsApi->get_jams: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **type** | **str**| Only show jams of this type (`avatar` or `world`). | [optional] + +### Return type + +[**list[Jam]**](Jam.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of Jam objects. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/LimitedWorld.md b/docs/LimitedWorld.md index c9b9cae6..ad0a5746 100644 --- a/docs/LimitedWorld.md +++ b/docs/LimitedWorld.md @@ -23,7 +23,6 @@ Name | Type | Description | Notes **preview_youtube_id** | **str** | | [optional] **publication_date** | **str** | | **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | -**store_id** | **str** | | **tags** | **list[str]** | | **thumbnail_image_url** | **str** | | **unity_packages** | [**list[LimitedUnityPackage]**](LimitedUnityPackage.md) | | diff --git a/docs/NotificationsApi.md b/docs/NotificationsApi.md index 99795850..e68b5357 100644 --- a/docs/NotificationsApi.md +++ b/docs/NotificationsApi.md @@ -7,6 +7,7 @@ Method | HTTP request | Description [**accept_friend_request**](NotificationsApi.md#accept_friend_request) | **PUT** /auth/user/notifications/{notificationId}/accept | Accept Friend Request [**clear_notifications**](NotificationsApi.md#clear_notifications) | **PUT** /auth/user/notifications/clear | Clear All Notifications [**delete_notification**](NotificationsApi.md#delete_notification) | **PUT** /auth/user/notifications/{notificationId}/hide | Delete Notification +[**get_notification**](NotificationsApi.md#get_notification) | **GET** /auth/user/notifications/{notificationId} | Show notification [**get_notifications**](NotificationsApi.md#get_notifications) | **GET** /auth/user/notifications | List Notifications [**mark_notification_as_read**](NotificationsApi.md#mark_notification_as_read) | **PUT** /auth/user/notifications/{notificationId}/see | Mark Notification As Read @@ -230,6 +231,81 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_notification** +> Notification get_notification(notification_id) + +Show notification + +Get a notification by notification `not_` ID. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://vrchat.com/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://vrchat.com/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.NotificationsApi(api_client) + notification_id = 'notification_id_example' # str | Must be a valid notification ID. + + try: + # Show notification + api_response = api_instance.get_notification(notification_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling NotificationsApi->get_notification: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **notification_id** | **str**| Must be a valid notification ID. | + +### Return type + +[**Notification**](Notification.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single Notifcation object. | - | +**401** | Error response due to missing auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing notification. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_notifications** > list[Notification] get_notifications(type=type, sent=sent, hidden=hidden, after=after, n=n, offset=offset) diff --git a/docs/PlayermoderationApi.md b/docs/PlayermoderationApi.md index e3ea47cd..1952fc61 100644 --- a/docs/PlayermoderationApi.md +++ b/docs/PlayermoderationApi.md @@ -5,8 +5,6 @@ All URIs are relative to *https://vrchat.com/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- [**clear_all_player_moderations**](PlayermoderationApi.md#clear_all_player_moderations) | **DELETE** /auth/user/playermoderations | Clear All Player Moderations -[**delete_player_moderation**](PlayermoderationApi.md#delete_player_moderation) | **DELETE** /auth/user/playermoderations/{playerModerationId} | Delete Player Moderation -[**get_player_moderation**](PlayermoderationApi.md#get_player_moderation) | **GET** /auth/user/playermoderations/{playerModerationId} | Get Player Moderation [**get_player_moderations**](PlayermoderationApi.md#get_player_moderations) | **GET** /auth/user/playermoderations | Search Player Moderations [**moderate_user**](PlayermoderationApi.md#moderate_user) | **POST** /auth/user/playermoderations | Moderate User [**unmoderate_user**](PlayermoderationApi.md#unmoderate_user) | **PUT** /auth/user/unplayermoderate | Unmoderate User @@ -82,156 +80,6 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_player_moderation** -> Success delete_player_moderation(player_moderation_id) - -Delete Player Moderation - -Deletes a specific player moderation based on it's `pmod_` ID. The website uses `unmoderateUser` instead. You can delete the same player moderation multiple times successfully. - -### Example - -* Api Key Authentication (authCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.PlayermoderationApi(api_client) - player_moderation_id = 'player_moderation_id_example' # str | Must be a valid `pmod_` ID. - - try: - # Delete Player Moderation - api_response = api_instance.delete_player_moderation(player_moderation_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling PlayermoderationApi->delete_player_moderation: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **player_moderation_id** | **str**| Must be a valid `pmod_` ID. | - -### Return type - -[**Success**](Success.md) - -### Authorization - -[authCookie](../README.md#authCookie) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Success response after removing a PlayerModeration by ID. | - | -**401** | Error response due to missing auth cookie. | - | -**403** | Error response when trying to delete someone else's player moderation. | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_player_moderation** -> PlayerModeration get_player_moderation(player_moderation_id) - -Get Player Moderation - -Returns a single Player Moderation. This returns the exact same amount of information as the more generalised `getPlayerModerations`. - -### Example - -* Api Key Authentication (authCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.PlayermoderationApi(api_client) - player_moderation_id = 'player_moderation_id_example' # str | Must be a valid `pmod_` ID. - - try: - # Get Player Moderation - api_response = api_instance.get_player_moderation(player_moderation_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling PlayermoderationApi->get_player_moderation: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **player_moderation_id** | **str**| Must be a valid `pmod_` ID. | - -### Return type - -[**PlayerModeration**](PlayerModeration.md) - -### Authorization - -[authCookie](../README.md#authCookie) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Returns a single PlayerModeration object. | - | -**401** | Error response due to missing auth cookie. | - | -**404** | Error response when trying to show information about a non-existent player moderation. | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - # **get_player_moderations** > list[PlayerModeration] get_player_moderations(type=type, target_user_id=target_user_id) diff --git a/docs/Submission.md b/docs/Submission.md new file mode 100644 index 00000000..59d3fef4 --- /dev/null +++ b/docs/Submission.md @@ -0,0 +1,18 @@ +# Submission + + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**content_id** | **str** | Either world ID or avatar ID | +**created_at** | **datetime** | | +**description** | **str** | | +**id** | **str** | | +**jam_id** | **str** | | +**rating_score** | **int** | | [optional] +**submitter_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/World.md b/docs/World.md index cb514e83..2667c7d6 100644 --- a/docs/World.md +++ b/docs/World.md @@ -28,7 +28,6 @@ Name | Type | Description | Notes **public_occupants** | **int** | Will always be `0` when unauthenticated. | [optional] [default to 0] **publication_date** | **str** | | **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | -**store_id** | **str** | | **tags** | **list[str]** | | **thumbnail_image_url** | **str** | | **unity_packages** | [**list[UnityPackage]**](UnityPackage.md) | Empty if unauthenticated. | [optional] diff --git a/docs/WorldsApi.md b/docs/WorldsApi.md index 5ef6794d..90508644 100644 --- a/docs/WorldsApi.md +++ b/docs/WorldsApi.md @@ -254,7 +254,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_favorited_worlds** -> list[LimitedWorld] get_favorited_worlds(featured=featured, sort=sort, n=n, order=order, offset=offset, search=search, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform, user_id=user_id) +> list[FavoritedWorld] get_favorited_worlds(featured=featured, sort=sort, n=n, order=order, offset=offset, search=search, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform, user_id=user_id) List Favorited Worlds @@ -332,7 +332,7 @@ Name | Type | Description | Notes ### Return type -[**list[LimitedWorld]**](LimitedWorld.md) +[**list[FavoritedWorld]**](FavoritedWorld.md) ### Authorization @@ -346,7 +346,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a list of LimitedWorld objects. | - | +**200** | Returns a list of FavoritedWorld objects. | - | **401** | Error response due to missing auth cookie. | - | **403** | Error response when trying to see favourited worlds of another user without sufficient admin permissions. | - | diff --git a/package-lock.json b/package-lock.json index ec01e160..7699d405 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.13.13" + "@openapitools/openapi-generator-cli": "^2.14.0" } }, "node_modules/@lukeed/csprng": { @@ -109,9 +109,9 @@ } }, "node_modules/@openapitools/openapi-generator-cli": { - "version": "2.13.13", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.13.13.tgz", - "integrity": "sha512-uioqbxB6TfiLoOEE3T8kqTn/ffaRzOwS3ATMQnoMvh2lwADKMT6bDLfE3YO3XTEj+HflXcsLXQGK6PLiqa8Mmw==", + "version": "2.14.0", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.14.0.tgz", + "integrity": "sha512-k+ioQLtXLXgNbhQbp1UOxtaUnnYTWwAPev88hP5qauFA+eq4NyeQGNojknFssXg2x0VT0TUGmU3PZ2DiQ70IVg==", "hasInstallScript": true, "dependencies": { "@nestjs/axios": "3.0.3", @@ -1268,9 +1268,9 @@ } }, "@openapitools/openapi-generator-cli": { - "version": "2.13.13", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.13.13.tgz", - "integrity": "sha512-uioqbxB6TfiLoOEE3T8kqTn/ffaRzOwS3ATMQnoMvh2lwADKMT6bDLfE3YO3XTEj+HflXcsLXQGK6PLiqa8Mmw==", + "version": "2.14.0", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.14.0.tgz", + "integrity": "sha512-k+ioQLtXLXgNbhQbp1UOxtaUnnYTWwAPev88hP5qauFA+eq4NyeQGNojknFssXg2x0VT0TUGmU3PZ2DiQ70IVg==", "requires": { "@nestjs/axios": "3.0.3", "@nestjs/common": "10.4.3", diff --git a/package.json b/package.json index 725653c9..ab9a9388 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.13.13" + "@openapitools/openapi-generator-cli": "^2.14.0" } } diff --git a/setup.py b/setup.py index e4725518..eb9c6266 100644 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.18.5" +VERSION = "1.18.6" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 2e7ee4e4..189f21a0 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,7 +6,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -26,6 +26,7 @@ from vrchatapi.api.groups_api import GroupsApi from vrchatapi.api.instances_api import InstancesApi from vrchatapi.api.invite_api import InviteApi +from vrchatapi.api.jams_api import JamsApi from vrchatapi.api.notifications_api import NotificationsApi from vrchatapi.api.permissions_api import PermissionsApi from vrchatapi.api.playermoderation_api import PlayermoderationApi @@ -88,6 +89,7 @@ from vrchatapi.models.favorite_group import FavoriteGroup from vrchatapi.models.favorite_group_visibility import FavoriteGroupVisibility from vrchatapi.models.favorite_type import FavoriteType +from vrchatapi.models.favorited_world import FavoritedWorld from vrchatapi.models.file import File from vrchatapi.models.file_data import FileData from vrchatapi.models.file_status import FileStatus @@ -132,6 +134,8 @@ from vrchatapi.models.invite_message_type import InviteMessageType from vrchatapi.models.invite_request import InviteRequest from vrchatapi.models.invite_response import InviteResponse +from vrchatapi.models.jam import Jam +from vrchatapi.models.jam_state_change_dates import JamStateChangeDates from vrchatapi.models.license import License from vrchatapi.models.license_action import LicenseAction from vrchatapi.models.license_group import LicenseGroup @@ -168,6 +172,7 @@ from vrchatapi.models.response import Response from vrchatapi.models.sent_notification import SentNotification from vrchatapi.models.sort_option import SortOption +from vrchatapi.models.submission import Submission from vrchatapi.models.subscription import Subscription from vrchatapi.models.subscription_period import SubscriptionPeriod from vrchatapi.models.success import Success diff --git a/vrchatapi/api/__init__.py b/vrchatapi/api/__init__.py index 30ac81f9..2c4f268e 100644 --- a/vrchatapi/api/__init__.py +++ b/vrchatapi/api/__init__.py @@ -12,6 +12,7 @@ from vrchatapi.api.groups_api import GroupsApi from vrchatapi.api.instances_api import InstancesApi from vrchatapi.api.invite_api import InviteApi +from vrchatapi.api.jams_api import JamsApi from vrchatapi.api.notifications_api import NotificationsApi from vrchatapi.api.permissions_api import PermissionsApi from vrchatapi.api.playermoderation_api import PlayermoderationApi diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index eaebbafb..c1d8373a 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index fcbb92b3..06e78ef5 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 919cdc43..55fa186f 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index 0526153c..a61d1ca4 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index 617542b3..22e62ed5 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index 4eef5be8..7a942b6c 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index 594d9c5c..b5e51be9 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 3cad7d2b..24f93457 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index ee85f530..f3c94ad7 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/jams_api.py b/vrchatapi/api/jams_api.py new file mode 100644 index 00000000..cbc7389c --- /dev/null +++ b/vrchatapi/api/jams_api.py @@ -0,0 +1,447 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from vrchatapi.api_client import ApiClient +from vrchatapi.exceptions import ( # noqa: F401 + ApiTypeError, + ApiValueError +) + + +class JamsApi(object): + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def get_jam(self, jam_id, **kwargs): # noqa: E501 + """Show jam information # noqa: E501 + + Returns a jam. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_jam(jam_id, async_req=True) + >>> result = thread.get() + + :param jam_id: Must be a valid query ID. (required) + :type jam_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Jam + """ + kwargs['_return_http_data_only'] = True + return self.get_jam_with_http_info(jam_id, **kwargs) # noqa: E501 + + def get_jam_with_http_info(self, jam_id, **kwargs): # noqa: E501 + """Show jam information # noqa: E501 + + Returns a jam. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_jam_with_http_info(jam_id, async_req=True) + >>> result = thread.get() + + :param jam_id: Must be a valid query ID. (required) + :type jam_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Jam, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'jam_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_jam" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'jam_id' is set + if self.api_client.client_side_validation and local_var_params.get('jam_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `jam_id` when calling `get_jam`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'jam_id' in local_var_params: + path_params['jamId'] = local_var_params['jam_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "Jam", + 404: "Error", + } + + return self.api_client.call_api( + '/jams/{jamId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_jam_submissions(self, jam_id, **kwargs): # noqa: E501 + """Show jam submissions # noqa: E501 + + Returns all submissions of a jam. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_jam_submissions(jam_id, async_req=True) + >>> result = thread.get() + + :param jam_id: Must be a valid query ID. (required) + :type jam_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[Submission] + """ + kwargs['_return_http_data_only'] = True + return self.get_jam_submissions_with_http_info(jam_id, **kwargs) # noqa: E501 + + def get_jam_submissions_with_http_info(self, jam_id, **kwargs): # noqa: E501 + """Show jam submissions # noqa: E501 + + Returns all submissions of a jam. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_jam_submissions_with_http_info(jam_id, async_req=True) + >>> result = thread.get() + + :param jam_id: Must be a valid query ID. (required) + :type jam_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[Submission], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'jam_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_jam_submissions" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'jam_id' is set + if self.api_client.client_side_validation and local_var_params.get('jam_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `jam_id` when calling `get_jam_submissions`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'jam_id' in local_var_params: + path_params['jamId'] = local_var_params['jam_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[Submission]", + 404: "Error", + } + + return self.api_client.call_api( + '/jams/{jamId}/submissions', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_jams(self, **kwargs): # noqa: E501 + """Show jams list # noqa: E501 + + Lists World Jams or Avatar Jams, both currently running and ones that have ended. `isActive` is used to select only active or already ended jams. `type` is used to select only world or avatar jams, and can only take `world` or `avatar`. `` # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_jams(async_req=True) + >>> result = thread.get() + + :param type: Only show jams of this type (`avatar` or `world`). + :type type: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[Jam] + """ + kwargs['_return_http_data_only'] = True + return self.get_jams_with_http_info(**kwargs) # noqa: E501 + + def get_jams_with_http_info(self, **kwargs): # noqa: E501 + """Show jams list # noqa: E501 + + Lists World Jams or Avatar Jams, both currently running and ones that have ended. `isActive` is used to select only active or already ended jams. `type` is used to select only world or avatar jams, and can only take `world` or `avatar`. `` # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_jams_with_http_info(async_req=True) + >>> result = thread.get() + + :param type: Only show jams of this type (`avatar` or `world`). + :type type: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[Jam], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'type' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_jams" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if local_var_params.get('type') is not None: # noqa: E501 + query_params.append(('type', local_var_params['type'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[Jam]", + } + + return self.api_client.call_api( + '/jams', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index ed18d429..9acca096 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -441,6 +441,145 @@ def delete_notification_with_http_info(self, notification_id, **kwargs): # noqa collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def get_notification(self, notification_id, **kwargs): # noqa: E501 + """Show notification # noqa: E501 + + Get a notification by notification `not_` ID. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_notification(notification_id, async_req=True) + >>> result = thread.get() + + :param notification_id: Must be a valid notification ID. (required) + :type notification_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Notification + """ + kwargs['_return_http_data_only'] = True + return self.get_notification_with_http_info(notification_id, **kwargs) # noqa: E501 + + def get_notification_with_http_info(self, notification_id, **kwargs): # noqa: E501 + """Show notification # noqa: E501 + + Get a notification by notification `not_` ID. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_notification_with_http_info(notification_id, async_req=True) + >>> result = thread.get() + + :param notification_id: Must be a valid notification ID. (required) + :type notification_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Notification, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'notification_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_notification" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'notification_id' is set + if self.api_client.client_side_validation and local_var_params.get('notification_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `notification_id` when calling `get_notification`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'notification_id' in local_var_params: + path_params['notificationId'] = local_var_params['notification_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "Notification", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/auth/user/notifications/{notificationId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def get_notifications(self, **kwargs): # noqa: E501 """List Notifications # noqa: E501 diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index eec30d1d..52762387 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index 0b2ec14a..182a5dbb 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -164,284 +164,6 @@ def clear_all_player_moderations_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def delete_player_moderation(self, player_moderation_id, **kwargs): # noqa: E501 - """Delete Player Moderation # noqa: E501 - - Deletes a specific player moderation based on it's `pmod_` ID. The website uses `unmoderateUser` instead. You can delete the same player moderation multiple times successfully. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_player_moderation(player_moderation_id, async_req=True) - >>> result = thread.get() - - :param player_moderation_id: Must be a valid `pmod_` ID. (required) - :type player_moderation_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: Success - """ - kwargs['_return_http_data_only'] = True - return self.delete_player_moderation_with_http_info(player_moderation_id, **kwargs) # noqa: E501 - - def delete_player_moderation_with_http_info(self, player_moderation_id, **kwargs): # noqa: E501 - """Delete Player Moderation # noqa: E501 - - Deletes a specific player moderation based on it's `pmod_` ID. The website uses `unmoderateUser` instead. You can delete the same player moderation multiple times successfully. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_player_moderation_with_http_info(player_moderation_id, async_req=True) - >>> result = thread.get() - - :param player_moderation_id: Must be a valid `pmod_` ID. (required) - :type player_moderation_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _return_http_data_only: response data without head status code - and headers - :type _return_http_data_only: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(Success, status_code(int), headers(HTTPHeaderDict)) - """ - - local_var_params = locals() - - all_params = [ - 'player_moderation_id' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method delete_player_moderation" % key - ) - local_var_params[key] = val - del local_var_params['kwargs'] - # verify the required parameter 'player_moderation_id' is set - if self.api_client.client_side_validation and local_var_params.get('player_moderation_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `player_moderation_id` when calling `delete_player_moderation`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'player_moderation_id' in local_var_params: - path_params['playerModerationId'] = local_var_params['player_moderation_id'] # noqa: E501 - - query_params = [] - - header_params = dict(local_var_params.get('_headers', {})) - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['authCookie'] # noqa: E501 - - response_types_map = { - 200: "Success", - 401: "Error", - 403: "Error", - } - - return self.api_client.call_api( - '/auth/user/playermoderations/{playerModerationId}', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_types_map=response_types_map, - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats, - _request_auth=local_var_params.get('_request_auth')) - - def get_player_moderation(self, player_moderation_id, **kwargs): # noqa: E501 - """Get Player Moderation # noqa: E501 - - Returns a single Player Moderation. This returns the exact same amount of information as the more generalised `getPlayerModerations`. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_player_moderation(player_moderation_id, async_req=True) - >>> result = thread.get() - - :param player_moderation_id: Must be a valid `pmod_` ID. (required) - :type player_moderation_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: PlayerModeration - """ - kwargs['_return_http_data_only'] = True - return self.get_player_moderation_with_http_info(player_moderation_id, **kwargs) # noqa: E501 - - def get_player_moderation_with_http_info(self, player_moderation_id, **kwargs): # noqa: E501 - """Get Player Moderation # noqa: E501 - - Returns a single Player Moderation. This returns the exact same amount of information as the more generalised `getPlayerModerations`. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_player_moderation_with_http_info(player_moderation_id, async_req=True) - >>> result = thread.get() - - :param player_moderation_id: Must be a valid `pmod_` ID. (required) - :type player_moderation_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _return_http_data_only: response data without head status code - and headers - :type _return_http_data_only: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(PlayerModeration, status_code(int), headers(HTTPHeaderDict)) - """ - - local_var_params = locals() - - all_params = [ - 'player_moderation_id' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method get_player_moderation" % key - ) - local_var_params[key] = val - del local_var_params['kwargs'] - # verify the required parameter 'player_moderation_id' is set - if self.api_client.client_side_validation and local_var_params.get('player_moderation_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `player_moderation_id` when calling `get_player_moderation`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'player_moderation_id' in local_var_params: - path_params['playerModerationId'] = local_var_params['player_moderation_id'] # noqa: E501 - - query_params = [] - - header_params = dict(local_var_params.get('_headers', {})) - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['authCookie'] # noqa: E501 - - response_types_map = { - 200: "PlayerModeration", - 401: "Error", - 404: "Error", - } - - return self.api_client.call_api( - '/auth/user/playermoderations/{playerModerationId}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_types_map=response_types_map, - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats, - _request_auth=local_var_params.get('_request_auth')) - def get_player_moderations(self, **kwargs): # noqa: E501 """Search Player Moderations # noqa: E501 diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index 66a0077c..6d3b1c99 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index 67e95582..90a108a1 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 606f4009..0e517367 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -582,7 +582,7 @@ def get_favorited_worlds(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[LimitedWorld] + :rtype: list[FavoritedWorld] """ kwargs['_return_http_data_only'] = True return self.get_favorited_worlds_with_http_info(**kwargs) # noqa: E501 @@ -644,7 +644,7 @@ def get_favorited_worlds_with_http_info(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[LimitedWorld], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(list[FavoritedWorld], status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() @@ -737,7 +737,7 @@ def get_favorited_worlds_with_http_info(self, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "list[LimitedWorld]", + 200: "list[FavoritedWorld]", 401: "Error", 403: "Error", } diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index 72a4c936..b93576aa 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,7 +3,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index d65ee6e5..f827c31f 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -441,7 +441,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.18.5\n"\ + "Version of the API: 1.18.6\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index a0707d7b..6900d6d8 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index d8fdf194..6fb90540 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,7 +5,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -59,6 +59,7 @@ from vrchatapi.models.favorite_group import FavoriteGroup from vrchatapi.models.favorite_group_visibility import FavoriteGroupVisibility from vrchatapi.models.favorite_type import FavoriteType +from vrchatapi.models.favorited_world import FavoritedWorld from vrchatapi.models.file import File from vrchatapi.models.file_data import FileData from vrchatapi.models.file_status import FileStatus @@ -103,6 +104,8 @@ from vrchatapi.models.invite_message_type import InviteMessageType from vrchatapi.models.invite_request import InviteRequest from vrchatapi.models.invite_response import InviteResponse +from vrchatapi.models.jam import Jam +from vrchatapi.models.jam_state_change_dates import JamStateChangeDates from vrchatapi.models.license import License from vrchatapi.models.license_action import LicenseAction from vrchatapi.models.license_group import LicenseGroup @@ -139,6 +142,7 @@ from vrchatapi.models.response import Response from vrchatapi.models.sent_notification import SentNotification from vrchatapi.models.sort_option import SortOption +from vrchatapi.models.submission import Submission from vrchatapi.models.subscription import Subscription from vrchatapi.models.subscription_period import SubscriptionPeriod from vrchatapi.models.success import Success diff --git a/vrchatapi/models/account_deletion_log.py b/vrchatapi/models/account_deletion_log.py index 8886741a..1736acbb 100644 --- a/vrchatapi/models/account_deletion_log.py +++ b/vrchatapi/models/account_deletion_log.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index 35c08c6e..5c66eadd 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index e1d479c3..3982d6fd 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index 650044b7..84f91630 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index 0cf5594c..9fa86cae 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants.py b/vrchatapi/models/api_config_constants.py index a054cf9f..3bd03358 100644 --- a/vrchatapi/models/api_config_constants.py +++ b/vrchatapi/models/api_config_constants.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_groups.py b/vrchatapi/models/api_config_constants_groups.py index 45a58146..7cef6e85 100644 --- a/vrchatapi/models/api_config_constants_groups.py +++ b/vrchatapi/models/api_config_constants_groups.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instance.py b/vrchatapi/models/api_config_constants_instance.py index d2e05b5e..01e94cf3 100644 --- a/vrchatapi/models/api_config_constants_instance.py +++ b/vrchatapi/models/api_config_constants_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbrackets.py b/vrchatapi/models/api_config_constants_instancepopulationbrackets.py index 78ce1bc9..76de1e51 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbrackets.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbrackets.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py b/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py index 51eca4a7..609d7ff5 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py b/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py index 7e3eb816..adebfcb3 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py b/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py index 7339ce8f..aee4f3d5 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_language.py b/vrchatapi/models/api_config_constants_language.py index aa5587b0..575fd196 100644 --- a/vrchatapi/models/api_config_constants_language.py +++ b/vrchatapi/models/api_config_constants_language.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index 6d306db6..5de0ed9c 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index 925597a9..9485e29a 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_min_supported_client_build_number.py b/vrchatapi/models/api_config_min_supported_client_build_number.py index e25a6a75..75a23455 100644 --- a/vrchatapi/models/api_config_min_supported_client_build_number.py +++ b/vrchatapi/models/api_config_min_supported_client_build_number.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_offline_analysis.py b/vrchatapi/models/api_config_offline_analysis.py index d1d66845..261d6f32 100644 --- a/vrchatapi/models/api_config_offline_analysis.py +++ b/vrchatapi/models/api_config_offline_analysis.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_categories.py b/vrchatapi/models/api_config_report_categories.py index 98af088d..aeb914fb 100644 --- a/vrchatapi/models/api_config_report_categories.py +++ b/vrchatapi/models/api_config_report_categories.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_reasons.py b/vrchatapi/models/api_config_report_reasons.py index 7a56a88d..d70dd1cd 100644 --- a/vrchatapi/models/api_config_report_reasons.py +++ b/vrchatapi/models/api_config_report_reasons.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index 7c0e7e8a..e046ffa9 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index 30b1d0ad..4b96f757 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index afd63436..9f7c3999 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/badge.py b/vrchatapi/models/badge.py index c0895ec4..13b4c2fb 100644 --- a/vrchatapi/models/badge.py +++ b/vrchatapi/models/badge.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index a1160549..4febbeb4 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index b0d86cf2..fe8a71b5 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index 7fb41f22..eb5633a7 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index 0104a0b9..2ca3c969 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index a8d5c5e3..2f0fbf7e 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index adce67ee..46f78b5b 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index fc3c6c6b..d7b8475a 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_post_request.py b/vrchatapi/models/create_group_post_request.py index 8e71e76b..ea75568d 100644 --- a/vrchatapi/models/create_group_post_request.py +++ b/vrchatapi/models/create_group_post_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index 0d9d2faf..6b68bc5d 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index a68563b7..78663917 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_instance_request.py b/vrchatapi/models/create_instance_request.py index aa8494f6..c9bb3f3d 100644 --- a/vrchatapi/models/create_instance_request.py +++ b/vrchatapi/models/create_instance_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index 7cbc6eed..9b24eefa 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index 072a943b..f553a99c 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user_presence.py b/vrchatapi/models/current_user_presence.py index 82335b15..d87ff994 100644 --- a/vrchatapi/models/current_user_presence.py +++ b/vrchatapi/models/current_user_presence.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/deployment_group.py b/vrchatapi/models/deployment_group.py index 7da79a9f..a8003f0a 100644 --- a/vrchatapi/models/deployment_group.py +++ b/vrchatapi/models/deployment_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index 14b79e4c..a2e9664d 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index c79b8837..0965706a 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index 1b0c5da5..32a125a0 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index 92646751..13a76bce 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index 74e88ced..eba6d1f4 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index 298558f5..2b064677 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index d12b015e..400115a5 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorited_world.py b/vrchatapi/models/favorited_world.py new file mode 100644 index 00000000..4dd80104 --- /dev/null +++ b/vrchatapi/models/favorited_world.py @@ -0,0 +1,912 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class FavoritedWorld(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'author_id': 'str', + 'author_name': 'str', + 'capacity': 'int', + 'description': 'str', + 'recommended_capacity': 'int', + 'created_at': 'datetime', + 'favorites': 'int', + 'favorite_group': 'str', + 'favorite_id': 'str', + 'featured': 'bool', + 'visits': 'int', + 'heat': 'int', + 'id': 'str', + 'image_url': 'str', + 'labs_publication_date': 'str', + 'name': 'str', + 'occupants': 'int', + 'organization': 'str', + 'popularity': 'int', + 'preview_youtube_id': 'str', + 'publication_date': 'str', + 'release_status': 'ReleaseStatus', + 'tags': 'list[str]', + 'thumbnail_image_url': 'str', + 'unity_packages': 'list[UnityPackage]', + 'updated_at': 'datetime', + 'udon_products': 'list[str]', + 'version': 'int' + } + + attribute_map = { + 'author_id': 'authorId', + 'author_name': 'authorName', + 'capacity': 'capacity', + 'description': 'description', + 'recommended_capacity': 'recommendedCapacity', + 'created_at': 'created_at', + 'favorites': 'favorites', + 'favorite_group': 'favoriteGroup', + 'favorite_id': 'favoriteId', + 'featured': 'featured', + 'visits': 'visits', + 'heat': 'heat', + 'id': 'id', + 'image_url': 'imageUrl', + 'labs_publication_date': 'labsPublicationDate', + 'name': 'name', + 'occupants': 'occupants', + 'organization': 'organization', + 'popularity': 'popularity', + 'preview_youtube_id': 'previewYoutubeId', + 'publication_date': 'publicationDate', + 'release_status': 'releaseStatus', + 'tags': 'tags', + 'thumbnail_image_url': 'thumbnailImageUrl', + 'unity_packages': 'unityPackages', + 'updated_at': 'updated_at', + 'udon_products': 'udonProducts', + 'version': 'version' + } + + def __init__(self, author_id=None, author_name=None, capacity=None, description=None, recommended_capacity=None, created_at=None, favorites=0, favorite_group=None, favorite_id=None, featured=False, visits=0, heat=0, id=None, image_url=None, labs_publication_date=None, name=None, occupants=0, organization='vrchat', popularity=0, preview_youtube_id=None, publication_date=None, release_status=None, tags=None, thumbnail_image_url=None, unity_packages=None, updated_at=None, udon_products=None, version=None, local_vars_configuration=None): # noqa: E501 + """FavoritedWorld - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._author_id = None + self._author_name = None + self._capacity = None + self._description = None + self._recommended_capacity = None + self._created_at = None + self._favorites = None + self._favorite_group = None + self._favorite_id = None + self._featured = None + self._visits = None + self._heat = None + self._id = None + self._image_url = None + self._labs_publication_date = None + self._name = None + self._occupants = None + self._organization = None + self._popularity = None + self._preview_youtube_id = None + self._publication_date = None + self._release_status = None + self._tags = None + self._thumbnail_image_url = None + self._unity_packages = None + self._updated_at = None + self._udon_products = None + self._version = None + self.discriminator = None + + self.author_id = author_id + self.author_name = author_name + self.capacity = capacity + self.description = description + if recommended_capacity is not None: + self.recommended_capacity = recommended_capacity + self.created_at = created_at + self.favorites = favorites + self.favorite_group = favorite_group + self.favorite_id = favorite_id + self.featured = featured + if visits is not None: + self.visits = visits + self.heat = heat + self.id = id + self.image_url = image_url + self.labs_publication_date = labs_publication_date + self.name = name + self.occupants = occupants + self.organization = organization + self.popularity = popularity + self.preview_youtube_id = preview_youtube_id + self.publication_date = publication_date + self.release_status = release_status + self.tags = tags + self.thumbnail_image_url = thumbnail_image_url + self.unity_packages = unity_packages + self.updated_at = updated_at + if udon_products is not None: + self.udon_products = udon_products + self.version = version + + @property + def author_id(self): + """Gets the author_id of this FavoritedWorld. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The author_id of this FavoritedWorld. # noqa: E501 + :rtype: str + """ + return self._author_id + + @author_id.setter + def author_id(self, author_id): + """Sets the author_id of this FavoritedWorld. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param author_id: The author_id of this FavoritedWorld. # noqa: E501 + :type author_id: str + """ + if self.local_vars_configuration.client_side_validation and author_id is None: # noqa: E501 + raise ValueError("Invalid value for `author_id`, must not be `None`") # noqa: E501 + + self._author_id = author_id + + @property + def author_name(self): + """Gets the author_name of this FavoritedWorld. # noqa: E501 + + + :return: The author_name of this FavoritedWorld. # noqa: E501 + :rtype: str + """ + return self._author_name + + @author_name.setter + def author_name(self, author_name): + """Sets the author_name of this FavoritedWorld. + + + :param author_name: The author_name of this FavoritedWorld. # noqa: E501 + :type author_name: str + """ + if self.local_vars_configuration.client_side_validation and author_name is None: # noqa: E501 + raise ValueError("Invalid value for `author_name`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + author_name is not None and len(author_name) < 1): + raise ValueError("Invalid value for `author_name`, length must be greater than or equal to `1`") # noqa: E501 + + self._author_name = author_name + + @property + def capacity(self): + """Gets the capacity of this FavoritedWorld. # noqa: E501 + + + :return: The capacity of this FavoritedWorld. # noqa: E501 + :rtype: int + """ + return self._capacity + + @capacity.setter + def capacity(self, capacity): + """Sets the capacity of this FavoritedWorld. + + + :param capacity: The capacity of this FavoritedWorld. # noqa: E501 + :type capacity: int + """ + if self.local_vars_configuration.client_side_validation and capacity is None: # noqa: E501 + raise ValueError("Invalid value for `capacity`, must not be `None`") # noqa: E501 + + self._capacity = capacity + + @property + def description(self): + """Gets the description of this FavoritedWorld. # noqa: E501 + + + :return: The description of this FavoritedWorld. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this FavoritedWorld. + + + :param description: The description of this FavoritedWorld. # noqa: E501 + :type description: str + """ + if self.local_vars_configuration.client_side_validation and description is None: # noqa: E501 + raise ValueError("Invalid value for `description`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + description is not None and len(description) < 1): + raise ValueError("Invalid value for `description`, length must be greater than or equal to `1`") # noqa: E501 + + self._description = description + + @property + def recommended_capacity(self): + """Gets the recommended_capacity of this FavoritedWorld. # noqa: E501 + + + :return: The recommended_capacity of this FavoritedWorld. # noqa: E501 + :rtype: int + """ + return self._recommended_capacity + + @recommended_capacity.setter + def recommended_capacity(self, recommended_capacity): + """Sets the recommended_capacity of this FavoritedWorld. + + + :param recommended_capacity: The recommended_capacity of this FavoritedWorld. # noqa: E501 + :type recommended_capacity: int + """ + + self._recommended_capacity = recommended_capacity + + @property + def created_at(self): + """Gets the created_at of this FavoritedWorld. # noqa: E501 + + + :return: The created_at of this FavoritedWorld. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this FavoritedWorld. + + + :param created_at: The created_at of this FavoritedWorld. # noqa: E501 + :type created_at: datetime + """ + if self.local_vars_configuration.client_side_validation and created_at is None: # noqa: E501 + raise ValueError("Invalid value for `created_at`, must not be `None`") # noqa: E501 + + self._created_at = created_at + + @property + def favorites(self): + """Gets the favorites of this FavoritedWorld. # noqa: E501 + + + :return: The favorites of this FavoritedWorld. # noqa: E501 + :rtype: int + """ + return self._favorites + + @favorites.setter + def favorites(self, favorites): + """Sets the favorites of this FavoritedWorld. + + + :param favorites: The favorites of this FavoritedWorld. # noqa: E501 + :type favorites: int + """ + if self.local_vars_configuration.client_side_validation and favorites is None: # noqa: E501 + raise ValueError("Invalid value for `favorites`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + favorites is not None and favorites < 0): # noqa: E501 + raise ValueError("Invalid value for `favorites`, must be a value greater than or equal to `0`") # noqa: E501 + + self._favorites = favorites + + @property + def favorite_group(self): + """Gets the favorite_group of this FavoritedWorld. # noqa: E501 + + + :return: The favorite_group of this FavoritedWorld. # noqa: E501 + :rtype: str + """ + return self._favorite_group + + @favorite_group.setter + def favorite_group(self, favorite_group): + """Sets the favorite_group of this FavoritedWorld. + + + :param favorite_group: The favorite_group of this FavoritedWorld. # noqa: E501 + :type favorite_group: str + """ + if self.local_vars_configuration.client_side_validation and favorite_group is None: # noqa: E501 + raise ValueError("Invalid value for `favorite_group`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + favorite_group is not None and len(favorite_group) < 1): + raise ValueError("Invalid value for `favorite_group`, length must be greater than or equal to `1`") # noqa: E501 + + self._favorite_group = favorite_group + + @property + def favorite_id(self): + """Gets the favorite_id of this FavoritedWorld. # noqa: E501 + + + :return: The favorite_id of this FavoritedWorld. # noqa: E501 + :rtype: str + """ + return self._favorite_id + + @favorite_id.setter + def favorite_id(self, favorite_id): + """Sets the favorite_id of this FavoritedWorld. + + + :param favorite_id: The favorite_id of this FavoritedWorld. # noqa: E501 + :type favorite_id: str + """ + if self.local_vars_configuration.client_side_validation and favorite_id is None: # noqa: E501 + raise ValueError("Invalid value for `favorite_id`, must not be `None`") # noqa: E501 + + self._favorite_id = favorite_id + + @property + def featured(self): + """Gets the featured of this FavoritedWorld. # noqa: E501 + + + :return: The featured of this FavoritedWorld. # noqa: E501 + :rtype: bool + """ + return self._featured + + @featured.setter + def featured(self, featured): + """Sets the featured of this FavoritedWorld. + + + :param featured: The featured of this FavoritedWorld. # noqa: E501 + :type featured: bool + """ + if self.local_vars_configuration.client_side_validation and featured is None: # noqa: E501 + raise ValueError("Invalid value for `featured`, must not be `None`") # noqa: E501 + + self._featured = featured + + @property + def visits(self): + """Gets the visits of this FavoritedWorld. # noqa: E501 + + + :return: The visits of this FavoritedWorld. # noqa: E501 + :rtype: int + """ + return self._visits + + @visits.setter + def visits(self, visits): + """Sets the visits of this FavoritedWorld. + + + :param visits: The visits of this FavoritedWorld. # noqa: E501 + :type visits: int + """ + if (self.local_vars_configuration.client_side_validation and + visits is not None and visits < 0): # noqa: E501 + raise ValueError("Invalid value for `visits`, must be a value greater than or equal to `0`") # noqa: E501 + + self._visits = visits + + @property + def heat(self): + """Gets the heat of this FavoritedWorld. # noqa: E501 + + + :return: The heat of this FavoritedWorld. # noqa: E501 + :rtype: int + """ + return self._heat + + @heat.setter + def heat(self, heat): + """Sets the heat of this FavoritedWorld. + + + :param heat: The heat of this FavoritedWorld. # noqa: E501 + :type heat: int + """ + if self.local_vars_configuration.client_side_validation and heat is None: # noqa: E501 + raise ValueError("Invalid value for `heat`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + heat is not None and heat < 0): # noqa: E501 + raise ValueError("Invalid value for `heat`, must be a value greater than or equal to `0`") # noqa: E501 + + self._heat = heat + + @property + def id(self): + """Gets the id of this FavoritedWorld. # noqa: E501 + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :return: The id of this FavoritedWorld. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this FavoritedWorld. + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :param id: The id of this FavoritedWorld. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + + self._id = id + + @property + def image_url(self): + """Gets the image_url of this FavoritedWorld. # noqa: E501 + + + :return: The image_url of this FavoritedWorld. # noqa: E501 + :rtype: str + """ + return self._image_url + + @image_url.setter + def image_url(self, image_url): + """Sets the image_url of this FavoritedWorld. + + + :param image_url: The image_url of this FavoritedWorld. # noqa: E501 + :type image_url: str + """ + if self.local_vars_configuration.client_side_validation and image_url is None: # noqa: E501 + raise ValueError("Invalid value for `image_url`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + image_url is not None and len(image_url) < 1): + raise ValueError("Invalid value for `image_url`, length must be greater than or equal to `1`") # noqa: E501 + + self._image_url = image_url + + @property + def labs_publication_date(self): + """Gets the labs_publication_date of this FavoritedWorld. # noqa: E501 + + + :return: The labs_publication_date of this FavoritedWorld. # noqa: E501 + :rtype: str + """ + return self._labs_publication_date + + @labs_publication_date.setter + def labs_publication_date(self, labs_publication_date): + """Sets the labs_publication_date of this FavoritedWorld. + + + :param labs_publication_date: The labs_publication_date of this FavoritedWorld. # noqa: E501 + :type labs_publication_date: str + """ + if self.local_vars_configuration.client_side_validation and labs_publication_date is None: # noqa: E501 + raise ValueError("Invalid value for `labs_publication_date`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + labs_publication_date is not None and len(labs_publication_date) < 1): + raise ValueError("Invalid value for `labs_publication_date`, length must be greater than or equal to `1`") # noqa: E501 + + self._labs_publication_date = labs_publication_date + + @property + def name(self): + """Gets the name of this FavoritedWorld. # noqa: E501 + + + :return: The name of this FavoritedWorld. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this FavoritedWorld. + + + :param name: The name of this FavoritedWorld. # noqa: E501 + :type name: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + name is not None and len(name) < 1): + raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 + + self._name = name + + @property + def occupants(self): + """Gets the occupants of this FavoritedWorld. # noqa: E501 + + + :return: The occupants of this FavoritedWorld. # noqa: E501 + :rtype: int + """ + return self._occupants + + @occupants.setter + def occupants(self, occupants): + """Sets the occupants of this FavoritedWorld. + + + :param occupants: The occupants of this FavoritedWorld. # noqa: E501 + :type occupants: int + """ + if self.local_vars_configuration.client_side_validation and occupants is None: # noqa: E501 + raise ValueError("Invalid value for `occupants`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + occupants is not None and occupants < 0): # noqa: E501 + raise ValueError("Invalid value for `occupants`, must be a value greater than or equal to `0`") # noqa: E501 + + self._occupants = occupants + + @property + def organization(self): + """Gets the organization of this FavoritedWorld. # noqa: E501 + + + :return: The organization of this FavoritedWorld. # noqa: E501 + :rtype: str + """ + return self._organization + + @organization.setter + def organization(self, organization): + """Sets the organization of this FavoritedWorld. + + + :param organization: The organization of this FavoritedWorld. # noqa: E501 + :type organization: str + """ + if self.local_vars_configuration.client_side_validation and organization is None: # noqa: E501 + raise ValueError("Invalid value for `organization`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + organization is not None and len(organization) < 1): + raise ValueError("Invalid value for `organization`, length must be greater than or equal to `1`") # noqa: E501 + + self._organization = organization + + @property + def popularity(self): + """Gets the popularity of this FavoritedWorld. # noqa: E501 + + + :return: The popularity of this FavoritedWorld. # noqa: E501 + :rtype: int + """ + return self._popularity + + @popularity.setter + def popularity(self, popularity): + """Sets the popularity of this FavoritedWorld. + + + :param popularity: The popularity of this FavoritedWorld. # noqa: E501 + :type popularity: int + """ + if self.local_vars_configuration.client_side_validation and popularity is None: # noqa: E501 + raise ValueError("Invalid value for `popularity`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + popularity is not None and popularity < 0): # noqa: E501 + raise ValueError("Invalid value for `popularity`, must be a value greater than or equal to `0`") # noqa: E501 + + self._popularity = popularity + + @property + def preview_youtube_id(self): + """Gets the preview_youtube_id of this FavoritedWorld. # noqa: E501 + + + :return: The preview_youtube_id of this FavoritedWorld. # noqa: E501 + :rtype: str + """ + return self._preview_youtube_id + + @preview_youtube_id.setter + def preview_youtube_id(self, preview_youtube_id): + """Sets the preview_youtube_id of this FavoritedWorld. + + + :param preview_youtube_id: The preview_youtube_id of this FavoritedWorld. # noqa: E501 + :type preview_youtube_id: str + """ + + self._preview_youtube_id = preview_youtube_id + + @property + def publication_date(self): + """Gets the publication_date of this FavoritedWorld. # noqa: E501 + + + :return: The publication_date of this FavoritedWorld. # noqa: E501 + :rtype: str + """ + return self._publication_date + + @publication_date.setter + def publication_date(self, publication_date): + """Sets the publication_date of this FavoritedWorld. + + + :param publication_date: The publication_date of this FavoritedWorld. # noqa: E501 + :type publication_date: str + """ + if self.local_vars_configuration.client_side_validation and publication_date is None: # noqa: E501 + raise ValueError("Invalid value for `publication_date`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + publication_date is not None and len(publication_date) < 1): + raise ValueError("Invalid value for `publication_date`, length must be greater than or equal to `1`") # noqa: E501 + + self._publication_date = publication_date + + @property + def release_status(self): + """Gets the release_status of this FavoritedWorld. # noqa: E501 + + + :return: The release_status of this FavoritedWorld. # noqa: E501 + :rtype: ReleaseStatus + """ + return self._release_status + + @release_status.setter + def release_status(self, release_status): + """Sets the release_status of this FavoritedWorld. + + + :param release_status: The release_status of this FavoritedWorld. # noqa: E501 + :type release_status: ReleaseStatus + """ + if self.local_vars_configuration.client_side_validation and release_status is None: # noqa: E501 + raise ValueError("Invalid value for `release_status`, must not be `None`") # noqa: E501 + + self._release_status = release_status + + @property + def tags(self): + """Gets the tags of this FavoritedWorld. # noqa: E501 + + # noqa: E501 + + :return: The tags of this FavoritedWorld. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this FavoritedWorld. + + # noqa: E501 + + :param tags: The tags of this FavoritedWorld. # noqa: E501 + :type tags: list[str] + """ + if self.local_vars_configuration.client_side_validation and tags is None: # noqa: E501 + raise ValueError("Invalid value for `tags`, must not be `None`") # noqa: E501 + + self._tags = tags + + @property + def thumbnail_image_url(self): + """Gets the thumbnail_image_url of this FavoritedWorld. # noqa: E501 + + + :return: The thumbnail_image_url of this FavoritedWorld. # noqa: E501 + :rtype: str + """ + return self._thumbnail_image_url + + @thumbnail_image_url.setter + def thumbnail_image_url(self, thumbnail_image_url): + """Sets the thumbnail_image_url of this FavoritedWorld. + + + :param thumbnail_image_url: The thumbnail_image_url of this FavoritedWorld. # noqa: E501 + :type thumbnail_image_url: str + """ + if self.local_vars_configuration.client_side_validation and thumbnail_image_url is None: # noqa: E501 + raise ValueError("Invalid value for `thumbnail_image_url`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + thumbnail_image_url is not None and len(thumbnail_image_url) < 1): + raise ValueError("Invalid value for `thumbnail_image_url`, length must be greater than or equal to `1`") # noqa: E501 + + self._thumbnail_image_url = thumbnail_image_url + + @property + def unity_packages(self): + """Gets the unity_packages of this FavoritedWorld. # noqa: E501 + + # noqa: E501 + + :return: The unity_packages of this FavoritedWorld. # noqa: E501 + :rtype: list[UnityPackage] + """ + return self._unity_packages + + @unity_packages.setter + def unity_packages(self, unity_packages): + """Sets the unity_packages of this FavoritedWorld. + + # noqa: E501 + + :param unity_packages: The unity_packages of this FavoritedWorld. # noqa: E501 + :type unity_packages: list[UnityPackage] + """ + if self.local_vars_configuration.client_side_validation and unity_packages is None: # noqa: E501 + raise ValueError("Invalid value for `unity_packages`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + unity_packages is not None and len(unity_packages) < 1): + raise ValueError("Invalid value for `unity_packages`, number of items must be greater than or equal to `1`") # noqa: E501 + + self._unity_packages = unity_packages + + @property + def updated_at(self): + """Gets the updated_at of this FavoritedWorld. # noqa: E501 + + + :return: The updated_at of this FavoritedWorld. # noqa: E501 + :rtype: datetime + """ + return self._updated_at + + @updated_at.setter + def updated_at(self, updated_at): + """Sets the updated_at of this FavoritedWorld. + + + :param updated_at: The updated_at of this FavoritedWorld. # noqa: E501 + :type updated_at: datetime + """ + if self.local_vars_configuration.client_side_validation and updated_at is None: # noqa: E501 + raise ValueError("Invalid value for `updated_at`, must not be `None`") # noqa: E501 + + self._updated_at = updated_at + + @property + def udon_products(self): + """Gets the udon_products of this FavoritedWorld. # noqa: E501 + + + :return: The udon_products of this FavoritedWorld. # noqa: E501 + :rtype: list[str] + """ + return self._udon_products + + @udon_products.setter + def udon_products(self, udon_products): + """Sets the udon_products of this FavoritedWorld. + + + :param udon_products: The udon_products of this FavoritedWorld. # noqa: E501 + :type udon_products: list[str] + """ + + self._udon_products = udon_products + + @property + def version(self): + """Gets the version of this FavoritedWorld. # noqa: E501 + + + :return: The version of this FavoritedWorld. # noqa: E501 + :rtype: int + """ + return self._version + + @version.setter + def version(self, version): + """Sets the version of this FavoritedWorld. + + + :param version: The version of this FavoritedWorld. # noqa: E501 + :type version: int + """ + if self.local_vars_configuration.client_side_validation and version is None: # noqa: E501 + raise ValueError("Invalid value for `version`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + version is not None and version < 1): # noqa: E501 + raise ValueError("Invalid value for `version`, must be a value greater than or equal to `1`") # noqa: E501 + + self._version = version + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, FavoritedWorld): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, FavoritedWorld): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index 18cdc85a..a72f38fe 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index 45252935..586fef87 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index 52d4856b..afd8be22 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index c3846ac7..13114d4b 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index 7f2e3f3f..160d5927 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index 253ad59a..0d67e3d0 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index 3cc9876f..7133f244 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index bcabbbdc..0395e97a 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index b96b535e..cc08f1f8 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_access_type.py b/vrchatapi/models/group_access_type.py index f6bd1d70..ed2fd6c8 100644 --- a/vrchatapi/models/group_access_type.py +++ b/vrchatapi/models/group_access_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index 54da234e..e0673803 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index a6bf588e..15237604 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index 43af75b7..4621ba24 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index 266a8f8d..5d30b311 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_instance.py b/vrchatapi/models/group_instance.py index 729ac00a..5e96eb4b 100644 --- a/vrchatapi/models/group_instance.py +++ b/vrchatapi/models/group_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_request_action.py b/vrchatapi/models/group_join_request_action.py index 2ae371a1..54f72940 100644 --- a/vrchatapi/models/group_join_request_action.py +++ b/vrchatapi/models/group_join_request_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index 6fdc7b1c..cbf7859d 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index 674494f1..959cad28 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index f460b1c3..fda69d33 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -103,10 +103,8 @@ def __init__(self, accepted_by_display_name=None, accepted_by_id=None, id=None, self._has_joined_from_purchase = None self.discriminator = None - if accepted_by_display_name is not None: - self.accepted_by_display_name = accepted_by_display_name - if accepted_by_id is not None: - self.accepted_by_id = accepted_by_id + self.accepted_by_display_name = accepted_by_display_name + self.accepted_by_id = accepted_by_id if id is not None: self.id = id if group_id is not None: @@ -160,7 +158,6 @@ def accepted_by_display_name(self, accepted_by_display_name): def accepted_by_id(self): """Gets the accepted_by_id of this GroupMember. # noqa: E501 - A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 :return: The accepted_by_id of this GroupMember. # noqa: E501 :rtype: str @@ -171,7 +168,6 @@ def accepted_by_id(self): def accepted_by_id(self, accepted_by_id): """Sets the accepted_by_id of this GroupMember. - A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 :param accepted_by_id: The accepted_by_id of this GroupMember. # noqa: E501 :type accepted_by_id: str diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index 44457860..6a37702e 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index 6fc7a6bc..feb05c5a 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index 25a2ee1c..83dbf9ca 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -115,8 +115,7 @@ def __init__(self, id=None, group_id=None, user_id=None, role_ids=None, accepted if role_ids is not None: self.role_ids = role_ids self.accepted_by_display_name = accepted_by_display_name - if accepted_by_id is not None: - self.accepted_by_id = accepted_by_id + self.accepted_by_id = accepted_by_id if created_at is not None: self.created_at = created_at if manager_notes is not None: @@ -253,7 +252,6 @@ def accepted_by_display_name(self, accepted_by_display_name): def accepted_by_id(self): """Gets the accepted_by_id of this GroupMyMember. # noqa: E501 - A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 :return: The accepted_by_id of this GroupMyMember. # noqa: E501 :rtype: str @@ -264,7 +262,6 @@ def accepted_by_id(self): def accepted_by_id(self, accepted_by_id): """Sets the accepted_by_id of this GroupMyMember. - A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 :param accepted_by_id: The accepted_by_id of this GroupMyMember. # noqa: E501 :type accepted_by_id: str diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index 86455335..d68cc8a9 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post.py b/vrchatapi/models/group_post.py index ddec82f9..f8357fb6 100644 --- a/vrchatapi/models/group_post.py +++ b/vrchatapi/models/group_post.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post_visibility.py b/vrchatapi/models/group_post_visibility.py index 38fc0fae..5507eccf 100644 --- a/vrchatapi/models/group_post_visibility.py +++ b/vrchatapi/models/group_post_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index 789110ef..0ac72668 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index 7a168470..b4397b50 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index cad88786..146b4d87 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_search_sort.py b/vrchatapi/models/group_search_sort.py index 09308054..81840c38 100644 --- a/vrchatapi/models/group_search_sort.py +++ b/vrchatapi/models/group_search_sort.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index 390a6923..8575ce35 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index 4e11b8f0..3b99aed4 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index a5526e31..8b8c77d9 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index ab5b1a50..088f0b87 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index dafe525f..83027f3c 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index ef19a1a3..21d45330 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index 5009d424..b00903dc 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index 2dffe50b..da4bc01e 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_region.py b/vrchatapi/models/instance_region.py index f918095c..bd64fef5 100644 --- a/vrchatapi/models/instance_region.py +++ b/vrchatapi/models/instance_region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index 1fd0ac20..dc9be27a 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index 4f1dfcfb..54f9d2fa 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index 8ab72176..5588c4ac 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index 497747a7..22c5cef3 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index 94841340..c9d804d7 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index 4c29dfb4..20708433 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/jam.py b/vrchatapi/models/jam.py new file mode 100644 index 00000000..7fdc4d86 --- /dev/null +++ b/vrchatapi/models/jam.py @@ -0,0 +1,390 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class Jam(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'description': 'str', + 'id': 'str', + 'is_visible': 'bool', + 'more_info': 'str', + 'state': 'str', + 'state_change_dates': 'JamStateChangeDates', + 'submission_content_gate_date': 'datetime', + 'submission_content_gated': 'bool', + 'title': 'str', + 'updated_at': 'datetime' + } + + attribute_map = { + 'description': 'description', + 'id': 'id', + 'is_visible': 'isVisible', + 'more_info': 'moreInfo', + 'state': 'state', + 'state_change_dates': 'stateChangeDates', + 'submission_content_gate_date': 'submissionContentGateDate', + 'submission_content_gated': 'submissionContentGated', + 'title': 'title', + 'updated_at': 'updated_at' + } + + def __init__(self, description=None, id=None, is_visible=None, more_info=None, state=None, state_change_dates=None, submission_content_gate_date=None, submission_content_gated=None, title=None, updated_at=None, local_vars_configuration=None): # noqa: E501 + """Jam - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._description = None + self._id = None + self._is_visible = None + self._more_info = None + self._state = None + self._state_change_dates = None + self._submission_content_gate_date = None + self._submission_content_gated = None + self._title = None + self._updated_at = None + self.discriminator = None + + self.description = description + self.id = id + self.is_visible = is_visible + self.more_info = more_info + self.state = state + self.state_change_dates = state_change_dates + self.submission_content_gate_date = submission_content_gate_date + self.submission_content_gated = submission_content_gated + self.title = title + self.updated_at = updated_at + + @property + def description(self): + """Gets the description of this Jam. # noqa: E501 + + + :return: The description of this Jam. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this Jam. + + + :param description: The description of this Jam. # noqa: E501 + :type description: str + """ + if self.local_vars_configuration.client_side_validation and description is None: # noqa: E501 + raise ValueError("Invalid value for `description`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + description is not None and len(description) < 1): + raise ValueError("Invalid value for `description`, length must be greater than or equal to `1`") # noqa: E501 + + self._description = description + + @property + def id(self): + """Gets the id of this Jam. # noqa: E501 + + + :return: The id of this Jam. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this Jam. + + + :param id: The id of this Jam. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + id is not None and len(id) < 1): + raise ValueError("Invalid value for `id`, length must be greater than or equal to `1`") # noqa: E501 + + self._id = id + + @property + def is_visible(self): + """Gets the is_visible of this Jam. # noqa: E501 + + + :return: The is_visible of this Jam. # noqa: E501 + :rtype: bool + """ + return self._is_visible + + @is_visible.setter + def is_visible(self, is_visible): + """Sets the is_visible of this Jam. + + + :param is_visible: The is_visible of this Jam. # noqa: E501 + :type is_visible: bool + """ + if self.local_vars_configuration.client_side_validation and is_visible is None: # noqa: E501 + raise ValueError("Invalid value for `is_visible`, must not be `None`") # noqa: E501 + + self._is_visible = is_visible + + @property + def more_info(self): + """Gets the more_info of this Jam. # noqa: E501 + + + :return: The more_info of this Jam. # noqa: E501 + :rtype: str + """ + return self._more_info + + @more_info.setter + def more_info(self, more_info): + """Sets the more_info of this Jam. + + + :param more_info: The more_info of this Jam. # noqa: E501 + :type more_info: str + """ + if self.local_vars_configuration.client_side_validation and more_info is None: # noqa: E501 + raise ValueError("Invalid value for `more_info`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + more_info is not None and len(more_info) < 1): + raise ValueError("Invalid value for `more_info`, length must be greater than or equal to `1`") # noqa: E501 + + self._more_info = more_info + + @property + def state(self): + """Gets the state of this Jam. # noqa: E501 + + One of: - submissions_open - closed # noqa: E501 + + :return: The state of this Jam. # noqa: E501 + :rtype: str + """ + return self._state + + @state.setter + def state(self, state): + """Sets the state of this Jam. + + One of: - submissions_open - closed # noqa: E501 + + :param state: The state of this Jam. # noqa: E501 + :type state: str + """ + if self.local_vars_configuration.client_side_validation and state is None: # noqa: E501 + raise ValueError("Invalid value for `state`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + state is not None and len(state) < 1): + raise ValueError("Invalid value for `state`, length must be greater than or equal to `1`") # noqa: E501 + + self._state = state + + @property + def state_change_dates(self): + """Gets the state_change_dates of this Jam. # noqa: E501 + + + :return: The state_change_dates of this Jam. # noqa: E501 + :rtype: JamStateChangeDates + """ + return self._state_change_dates + + @state_change_dates.setter + def state_change_dates(self, state_change_dates): + """Sets the state_change_dates of this Jam. + + + :param state_change_dates: The state_change_dates of this Jam. # noqa: E501 + :type state_change_dates: JamStateChangeDates + """ + if self.local_vars_configuration.client_side_validation and state_change_dates is None: # noqa: E501 + raise ValueError("Invalid value for `state_change_dates`, must not be `None`") # noqa: E501 + + self._state_change_dates = state_change_dates + + @property + def submission_content_gate_date(self): + """Gets the submission_content_gate_date of this Jam. # noqa: E501 + + + :return: The submission_content_gate_date of this Jam. # noqa: E501 + :rtype: datetime + """ + return self._submission_content_gate_date + + @submission_content_gate_date.setter + def submission_content_gate_date(self, submission_content_gate_date): + """Sets the submission_content_gate_date of this Jam. + + + :param submission_content_gate_date: The submission_content_gate_date of this Jam. # noqa: E501 + :type submission_content_gate_date: datetime + """ + + self._submission_content_gate_date = submission_content_gate_date + + @property + def submission_content_gated(self): + """Gets the submission_content_gated of this Jam. # noqa: E501 + + + :return: The submission_content_gated of this Jam. # noqa: E501 + :rtype: bool + """ + return self._submission_content_gated + + @submission_content_gated.setter + def submission_content_gated(self, submission_content_gated): + """Sets the submission_content_gated of this Jam. + + + :param submission_content_gated: The submission_content_gated of this Jam. # noqa: E501 + :type submission_content_gated: bool + """ + if self.local_vars_configuration.client_side_validation and submission_content_gated is None: # noqa: E501 + raise ValueError("Invalid value for `submission_content_gated`, must not be `None`") # noqa: E501 + + self._submission_content_gated = submission_content_gated + + @property + def title(self): + """Gets the title of this Jam. # noqa: E501 + + + :return: The title of this Jam. # noqa: E501 + :rtype: str + """ + return self._title + + @title.setter + def title(self, title): + """Sets the title of this Jam. + + + :param title: The title of this Jam. # noqa: E501 + :type title: str + """ + if self.local_vars_configuration.client_side_validation and title is None: # noqa: E501 + raise ValueError("Invalid value for `title`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + title is not None and len(title) < 1): + raise ValueError("Invalid value for `title`, length must be greater than or equal to `1`") # noqa: E501 + + self._title = title + + @property + def updated_at(self): + """Gets the updated_at of this Jam. # noqa: E501 + + + :return: The updated_at of this Jam. # noqa: E501 + :rtype: datetime + """ + return self._updated_at + + @updated_at.setter + def updated_at(self, updated_at): + """Sets the updated_at of this Jam. + + + :param updated_at: The updated_at of this Jam. # noqa: E501 + :type updated_at: datetime + """ + if self.local_vars_configuration.client_side_validation and updated_at is None: # noqa: E501 + raise ValueError("Invalid value for `updated_at`, must not be `None`") # noqa: E501 + + self._updated_at = updated_at + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, Jam): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, Jam): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/jam_state_change_dates.py b/vrchatapi/models/jam_state_change_dates.py new file mode 100644 index 00000000..b4db886f --- /dev/null +++ b/vrchatapi/models/jam_state_change_dates.py @@ -0,0 +1,205 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class JamStateChangeDates(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'closed': 'datetime', + 'submissions_closed': 'datetime', + 'submissions_opened': 'datetime', + 'winners_selected': 'datetime' + } + + attribute_map = { + 'closed': 'closed', + 'submissions_closed': 'submissionsClosed', + 'submissions_opened': 'submissionsOpened', + 'winners_selected': 'winnersSelected' + } + + def __init__(self, closed=None, submissions_closed=None, submissions_opened=None, winners_selected=None, local_vars_configuration=None): # noqa: E501 + """JamStateChangeDates - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._closed = None + self._submissions_closed = None + self._submissions_opened = None + self._winners_selected = None + self.discriminator = None + + self.closed = closed + self.submissions_closed = submissions_closed + self.submissions_opened = submissions_opened + self.winners_selected = winners_selected + + @property + def closed(self): + """Gets the closed of this JamStateChangeDates. # noqa: E501 + + + :return: The closed of this JamStateChangeDates. # noqa: E501 + :rtype: datetime + """ + return self._closed + + @closed.setter + def closed(self, closed): + """Sets the closed of this JamStateChangeDates. + + + :param closed: The closed of this JamStateChangeDates. # noqa: E501 + :type closed: datetime + """ + + self._closed = closed + + @property + def submissions_closed(self): + """Gets the submissions_closed of this JamStateChangeDates. # noqa: E501 + + + :return: The submissions_closed of this JamStateChangeDates. # noqa: E501 + :rtype: datetime + """ + return self._submissions_closed + + @submissions_closed.setter + def submissions_closed(self, submissions_closed): + """Sets the submissions_closed of this JamStateChangeDates. + + + :param submissions_closed: The submissions_closed of this JamStateChangeDates. # noqa: E501 + :type submissions_closed: datetime + """ + + self._submissions_closed = submissions_closed + + @property + def submissions_opened(self): + """Gets the submissions_opened of this JamStateChangeDates. # noqa: E501 + + + :return: The submissions_opened of this JamStateChangeDates. # noqa: E501 + :rtype: datetime + """ + return self._submissions_opened + + @submissions_opened.setter + def submissions_opened(self, submissions_opened): + """Sets the submissions_opened of this JamStateChangeDates. + + + :param submissions_opened: The submissions_opened of this JamStateChangeDates. # noqa: E501 + :type submissions_opened: datetime + """ + + self._submissions_opened = submissions_opened + + @property + def winners_selected(self): + """Gets the winners_selected of this JamStateChangeDates. # noqa: E501 + + + :return: The winners_selected of this JamStateChangeDates. # noqa: E501 + :rtype: datetime + """ + return self._winners_selected + + @winners_selected.setter + def winners_selected(self, winners_selected): + """Sets the winners_selected of this JamStateChangeDates. + + + :param winners_selected: The winners_selected of this JamStateChangeDates. # noqa: E501 + :type winners_selected: datetime + """ + + self._winners_selected = winners_selected + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, JamStateChangeDates): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, JamStateChangeDates): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index 28d30725..4728378a 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index 6aef7e16..af238969 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index 0250da75..d00fd770 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index d689d621..cecc5eca 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_group.py b/vrchatapi/models/limited_group.py index a2b3900a..bf4df5cc 100644 --- a/vrchatapi/models/limited_group.py +++ b/vrchatapi/models/limited_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index f5f6df77..3779719a 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user.py b/vrchatapi/models/limited_user.py index c9b16b03..6490a05e 100644 --- a/vrchatapi/models/limited_user.py +++ b/vrchatapi/models/limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user_groups.py b/vrchatapi/models/limited_user_groups.py index dc1dc36b..caefbb02 100644 --- a/vrchatapi/models/limited_user_groups.py +++ b/vrchatapi/models/limited_user_groups.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index c33f25c2..a5fbdd4c 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -54,7 +54,6 @@ class LimitedWorld(object): 'preview_youtube_id': 'str', 'publication_date': 'str', 'release_status': 'ReleaseStatus', - 'store_id': 'str', 'tags': 'list[str]', 'thumbnail_image_url': 'str', 'unity_packages': 'list[LimitedUnityPackage]', @@ -81,7 +80,6 @@ class LimitedWorld(object): 'preview_youtube_id': 'previewYoutubeId', 'publication_date': 'publicationDate', 'release_status': 'releaseStatus', - 'store_id': 'storeId', 'tags': 'tags', 'thumbnail_image_url': 'thumbnailImageUrl', 'unity_packages': 'unityPackages', @@ -89,7 +87,7 @@ class LimitedWorld(object): 'udon_products': 'udonProducts' } - def __init__(self, author_id=None, author_name=None, capacity=None, recommended_capacity=None, created_at=None, favorites=0, visits=0, heat=0, id=None, image_url=None, labs_publication_date=None, name=None, occupants=0, organization='vrchat', popularity=0, preview_youtube_id=None, publication_date=None, release_status=None, store_id=None, tags=None, thumbnail_image_url=None, unity_packages=None, updated_at=None, udon_products=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, author_id=None, author_name=None, capacity=None, recommended_capacity=None, created_at=None, favorites=0, visits=0, heat=0, id=None, image_url=None, labs_publication_date=None, name=None, occupants=0, organization='vrchat', popularity=0, preview_youtube_id=None, publication_date=None, release_status=None, tags=None, thumbnail_image_url=None, unity_packages=None, updated_at=None, udon_products=None, local_vars_configuration=None): # noqa: E501 """LimitedWorld - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -113,7 +111,6 @@ def __init__(self, author_id=None, author_name=None, capacity=None, recommended_ self._preview_youtube_id = None self._publication_date = None self._release_status = None - self._store_id = None self._tags = None self._thumbnail_image_url = None self._unity_packages = None @@ -141,7 +138,6 @@ def __init__(self, author_id=None, author_name=None, capacity=None, recommended_ self.preview_youtube_id = preview_youtube_id self.publication_date = publication_date self.release_status = release_status - self.store_id = store_id self.tags = tags self.thumbnail_image_url = thumbnail_image_url self.unity_packages = unity_packages @@ -594,27 +590,6 @@ def release_status(self, release_status): self._release_status = release_status - @property - def store_id(self): - """Gets the store_id of this LimitedWorld. # noqa: E501 - - - :return: The store_id of this LimitedWorld. # noqa: E501 - :rtype: str - """ - return self._store_id - - @store_id.setter - def store_id(self, store_id): - """Sets the store_id of this LimitedWorld. - - - :param store_id: The store_id of this LimitedWorld. # noqa: E501 - :type store_id: str - """ - - self._store_id = store_id - @property def tags(self): """Gets the tags of this LimitedWorld. # noqa: E501 diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index a25e21b7..09fe23e2 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index def45b82..4e2dc8cc 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index 632f63bb..de84e7e7 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite.py b/vrchatapi/models/notification_detail_invite.py index 7af9a235..c056f419 100644 --- a/vrchatapi/models/notification_detail_invite.py +++ b/vrchatapi/models/notification_detail_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite_response.py b/vrchatapi/models/notification_detail_invite_response.py index b3dfc47d..a3d966eb 100644 --- a/vrchatapi/models/notification_detail_invite_response.py +++ b/vrchatapi/models/notification_detail_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite.py b/vrchatapi/models/notification_detail_request_invite.py index 451ceb59..f8bf3acb 100644 --- a/vrchatapi/models/notification_detail_request_invite.py +++ b/vrchatapi/models/notification_detail_request_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite_response.py b/vrchatapi/models/notification_detail_request_invite_response.py index f7a0659b..c3f61088 100644 --- a/vrchatapi/models/notification_detail_request_invite_response.py +++ b/vrchatapi/models/notification_detail_request_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_vote_to_kick.py b/vrchatapi/models/notification_detail_vote_to_kick.py index 8b426780..4073be95 100644 --- a/vrchatapi/models/notification_detail_vote_to_kick.py +++ b/vrchatapi/models/notification_detail_vote_to_kick.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index 2d216ab2..fe099a4f 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index b370d72b..dbeeefc6 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index 4da9b386..16d18cb7 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index c394b9dc..5e4113af 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/performance_ratings.py b/vrchatapi/models/performance_ratings.py index 27106829..49dcfe1d 100644 --- a/vrchatapi/models/performance_ratings.py +++ b/vrchatapi/models/performance_ratings.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index 22e14f3c..1012e345 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/platform_build_info.py b/vrchatapi/models/platform_build_info.py index cdc5ddf4..6e5ef29f 100644 --- a/vrchatapi/models/platform_build_info.py +++ b/vrchatapi/models/platform_build_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index 6746fe21..e7d1d0aa 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index ab8921a3..0627f558 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index db71a81e..383486e2 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index 2ac395a7..91309896 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/report_category.py b/vrchatapi/models/report_category.py index 527074df..4008bb44 100644 --- a/vrchatapi/models/report_category.py +++ b/vrchatapi/models/report_category.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/report_reason.py b/vrchatapi/models/report_reason.py index 3848e44e..e9df83e4 100644 --- a/vrchatapi/models/report_reason.py +++ b/vrchatapi/models/report_reason.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/represented_group.py b/vrchatapi/models/represented_group.py index e96f4c11..70a0845b 100644 --- a/vrchatapi/models/represented_group.py +++ b/vrchatapi/models/represented_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index 38df9e67..ff87a592 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index 240d9c2c..6b489e29 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index 7cf9fbb0..a61703d9 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index 889cf474..f32d9578 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index 5e36509c..45cccb2a 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/submission.py b/vrchatapi/models/submission.py new file mode 100644 index 00000000..15e229a4 --- /dev/null +++ b/vrchatapi/models/submission.py @@ -0,0 +1,309 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class Submission(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'content_id': 'str', + 'created_at': 'datetime', + 'description': 'str', + 'id': 'str', + 'jam_id': 'str', + 'rating_score': 'int', + 'submitter_id': 'str' + } + + attribute_map = { + 'content_id': 'contentId', + 'created_at': 'created_at', + 'description': 'description', + 'id': 'id', + 'jam_id': 'jamId', + 'rating_score': 'ratingScore', + 'submitter_id': 'submitterId' + } + + def __init__(self, content_id=None, created_at=None, description=None, id=None, jam_id=None, rating_score=None, submitter_id=None, local_vars_configuration=None): # noqa: E501 + """Submission - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._content_id = None + self._created_at = None + self._description = None + self._id = None + self._jam_id = None + self._rating_score = None + self._submitter_id = None + self.discriminator = None + + self.content_id = content_id + self.created_at = created_at + self.description = description + self.id = id + self.jam_id = jam_id + if rating_score is not None: + self.rating_score = rating_score + self.submitter_id = submitter_id + + @property + def content_id(self): + """Gets the content_id of this Submission. # noqa: E501 + + Either world ID or avatar ID # noqa: E501 + + :return: The content_id of this Submission. # noqa: E501 + :rtype: str + """ + return self._content_id + + @content_id.setter + def content_id(self, content_id): + """Sets the content_id of this Submission. + + Either world ID or avatar ID # noqa: E501 + + :param content_id: The content_id of this Submission. # noqa: E501 + :type content_id: str + """ + if self.local_vars_configuration.client_side_validation and content_id is None: # noqa: E501 + raise ValueError("Invalid value for `content_id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + content_id is not None and len(content_id) < 1): + raise ValueError("Invalid value for `content_id`, length must be greater than or equal to `1`") # noqa: E501 + + self._content_id = content_id + + @property + def created_at(self): + """Gets the created_at of this Submission. # noqa: E501 + + + :return: The created_at of this Submission. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this Submission. + + + :param created_at: The created_at of this Submission. # noqa: E501 + :type created_at: datetime + """ + if self.local_vars_configuration.client_side_validation and created_at is None: # noqa: E501 + raise ValueError("Invalid value for `created_at`, must not be `None`") # noqa: E501 + + self._created_at = created_at + + @property + def description(self): + """Gets the description of this Submission. # noqa: E501 + + + :return: The description of this Submission. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this Submission. + + + :param description: The description of this Submission. # noqa: E501 + :type description: str + """ + if self.local_vars_configuration.client_side_validation and description is None: # noqa: E501 + raise ValueError("Invalid value for `description`, must not be `None`") # noqa: E501 + + self._description = description + + @property + def id(self): + """Gets the id of this Submission. # noqa: E501 + + + :return: The id of this Submission. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this Submission. + + + :param id: The id of this Submission. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + id is not None and len(id) < 1): + raise ValueError("Invalid value for `id`, length must be greater than or equal to `1`") # noqa: E501 + + self._id = id + + @property + def jam_id(self): + """Gets the jam_id of this Submission. # noqa: E501 + + + :return: The jam_id of this Submission. # noqa: E501 + :rtype: str + """ + return self._jam_id + + @jam_id.setter + def jam_id(self, jam_id): + """Sets the jam_id of this Submission. + + + :param jam_id: The jam_id of this Submission. # noqa: E501 + :type jam_id: str + """ + if self.local_vars_configuration.client_side_validation and jam_id is None: # noqa: E501 + raise ValueError("Invalid value for `jam_id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + jam_id is not None and len(jam_id) < 1): + raise ValueError("Invalid value for `jam_id`, length must be greater than or equal to `1`") # noqa: E501 + + self._jam_id = jam_id + + @property + def rating_score(self): + """Gets the rating_score of this Submission. # noqa: E501 + + + :return: The rating_score of this Submission. # noqa: E501 + :rtype: int + """ + return self._rating_score + + @rating_score.setter + def rating_score(self, rating_score): + """Sets the rating_score of this Submission. + + + :param rating_score: The rating_score of this Submission. # noqa: E501 + :type rating_score: int + """ + if (self.local_vars_configuration.client_side_validation and + rating_score is not None and rating_score < 0): # noqa: E501 + raise ValueError("Invalid value for `rating_score`, must be a value greater than or equal to `0`") # noqa: E501 + + self._rating_score = rating_score + + @property + def submitter_id(self): + """Gets the submitter_id of this Submission. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The submitter_id of this Submission. # noqa: E501 + :rtype: str + """ + return self._submitter_id + + @submitter_id.setter + def submitter_id(self, submitter_id): + """Sets the submitter_id of this Submission. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param submitter_id: The submitter_id of this Submission. # noqa: E501 + :type submitter_id: str + """ + if self.local_vars_configuration.client_side_validation and submitter_id is None: # noqa: E501 + raise ValueError("Invalid value for `submitter_id`, must not be `None`") # noqa: E501 + + self._submitter_id = submitter_id + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, Submission): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, Submission): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index 04ac255f..3a730435 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index 14d04739..c2610411 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index 3eb1f2aa..f8ec1447 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index 2b4a58bc..78d9e32f 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index 8e9f880f..d33ee532 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index 0e7076ff..6c8dfa06 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index ad11bca3..2a222796 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index 11736481..9ac3bc9e 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index 6d09ea7a..53799490 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_email_code.py b/vrchatapi/models/two_factor_email_code.py index f7119126..7ead3f0e 100644 --- a/vrchatapi/models/two_factor_email_code.py +++ b/vrchatapi/models/two_factor_email_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index 7e587608..c52390c1 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index 49f6e99d..435aba6d 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index bc6f6e6a..1b6d4a14 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index b6345580..a61c794c 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index 607d17f9..ef1d3b9d 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index 2834544a..991cbf23 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index 2723a516..e0ed3421 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index b2d2ff4c..3924297a 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index fad9785e..018df2fc 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index 90e7d722..ab36bd4c 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index bf37e3a7..cf84109c 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index 54576f87..7d795f2d 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index 45441105..297e4139 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index 021d9547..0e6d786f 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index 118105f2..eb3c6f8b 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_email_code_result.py b/vrchatapi/models/verify2_fa_email_code_result.py index 5cbc10f3..e0f6fc70 100644 --- a/vrchatapi/models/verify2_fa_email_code_result.py +++ b/vrchatapi/models/verify2_fa_email_code_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index 22b3ee74..b0552bc8 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index 66c1a681..d548338a 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index 11e09a9e..bc56427b 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -59,7 +59,6 @@ class World(object): 'public_occupants': 'int', 'publication_date': 'str', 'release_status': 'ReleaseStatus', - 'store_id': 'str', 'tags': 'list[str]', 'thumbnail_image_url': 'str', 'unity_packages': 'list[UnityPackage]', @@ -93,7 +92,6 @@ class World(object): 'public_occupants': 'publicOccupants', 'publication_date': 'publicationDate', 'release_status': 'releaseStatus', - 'store_id': 'storeId', 'tags': 'tags', 'thumbnail_image_url': 'thumbnailImageUrl', 'unity_packages': 'unityPackages', @@ -103,7 +101,7 @@ class World(object): 'udon_products': 'udonProducts' } - def __init__(self, author_id=None, author_name=None, capacity=None, recommended_capacity=None, created_at=None, description=None, favorites=0, featured=False, heat=0, id=None, image_url=None, instances=None, labs_publication_date=None, name=None, namespace=None, occupants=0, organization='vrchat', popularity=0, preview_youtube_id=None, private_occupants=0, public_occupants=0, publication_date=None, release_status=None, store_id=None, tags=None, thumbnail_image_url=None, unity_packages=None, updated_at=None, version=0, visits=0, udon_products=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, author_id=None, author_name=None, capacity=None, recommended_capacity=None, created_at=None, description=None, favorites=0, featured=False, heat=0, id=None, image_url=None, instances=None, labs_publication_date=None, name=None, namespace=None, occupants=0, organization='vrchat', popularity=0, preview_youtube_id=None, private_occupants=0, public_occupants=0, publication_date=None, release_status=None, tags=None, thumbnail_image_url=None, unity_packages=None, updated_at=None, version=0, visits=0, udon_products=None, local_vars_configuration=None): # noqa: E501 """World - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -132,7 +130,6 @@ def __init__(self, author_id=None, author_name=None, capacity=None, recommended_ self._public_occupants = None self._publication_date = None self._release_status = None - self._store_id = None self._tags = None self._thumbnail_image_url = None self._unity_packages = None @@ -171,7 +168,6 @@ def __init__(self, author_id=None, author_name=None, capacity=None, recommended_ self.public_occupants = public_occupants self.publication_date = publication_date self.release_status = release_status - self.store_id = store_id self.tags = tags self.thumbnail_image_url = thumbnail_image_url if unity_packages is not None: @@ -748,27 +744,6 @@ def release_status(self, release_status): self._release_status = release_status - @property - def store_id(self): - """Gets the store_id of this World. # noqa: E501 - - - :return: The store_id of this World. # noqa: E501 - :rtype: str - """ - return self._store_id - - @store_id.setter - def store_id(self, store_id): - """Sets the store_id of this World. - - - :param store_id: The store_id of this World. # noqa: E501 - :type store_id: str - """ - - self._store_id = store_id - @property def tags(self): """Gets the tags of this World. # noqa: E501 diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index fa2702d9..96a2be23 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index 57858a06..521edf3d 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index b70668bd..9953b788 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.5 + The version of the OpenAPI document: 1.18.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ From c81e876cd9ad92b4e49d921af8e085e8741aa76e Mon Sep 17 00:00:00 2001 From: VRCCat Date: Thu, 7 Nov 2024 02:57:47 +0000 Subject: [PATCH 060/102] Upgrade Python SDK to spec 1.18.7 --- docs/AuthenticationApi.md | 42 +- docs/AvatarsApi.md | 38 +- docs/EconomyApi.md | 22 +- docs/FavoritesApi.md | 34 +- docs/FilesApi.md | 42 +- docs/FriendsApi.md | 22 +- docs/GroupsApi.md | 170 +++--- docs/InstancesApi.md | 22 +- docs/InviteApi.md | 34 +- docs/JamsApi.md | 14 +- docs/NotificationsApi.md | 26 +- docs/PermissionsApi.md | 10 +- docs/PlayermoderationApi.md | 18 +- docs/SystemApi.md | 30 +- docs/UsersApi.md | 30 +- docs/WorldsApi.md | 54 +- package-lock.json | 547 ++++++++++++++++-- package.json | 2 +- setup.py | 4 +- vrchatapi/__init__.py | 2 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/groups_api.py | 2 +- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/jams_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 8 +- vrchatapi/exceptions.py | 2 +- vrchatapi/models/__init__.py | 2 +- vrchatapi/models/account_deletion_log.py | 2 +- vrchatapi/models/add_favorite_request.py | 2 +- .../models/add_group_gallery_image_request.py | 2 +- vrchatapi/models/api_config.py | 2 +- vrchatapi/models/api_config_announcement.py | 2 +- vrchatapi/models/api_config_constants.py | 2 +- .../models/api_config_constants_groups.py | 2 +- .../models/api_config_constants_instance.py | 2 +- ...ig_constants_instancepopulationbrackets.py | 2 +- ...tants_instancepopulationbracketscrowded.py | 2 +- ...constants_instancepopulationbracketsfew.py | 2 +- ...onstants_instancepopulationbracketsmany.py | 2 +- .../models/api_config_constants_language.py | 2 +- .../models/api_config_download_url_list.py | 2 +- vrchatapi/models/api_config_events.py | 2 +- ...onfig_min_supported_client_build_number.py | 2 +- .../models/api_config_offline_analysis.py | 2 +- .../models/api_config_report_categories.py | 2 +- vrchatapi/models/api_config_report_reasons.py | 2 +- vrchatapi/models/api_health.py | 2 +- vrchatapi/models/avatar.py | 2 +- .../models/avatar_unity_package_url_object.py | 2 +- vrchatapi/models/badge.py | 2 +- vrchatapi/models/ban_group_member_request.py | 2 +- vrchatapi/models/create_avatar_request.py | 2 +- vrchatapi/models/create_file_request.py | 2 +- .../models/create_file_version_request.py | 2 +- .../create_group_announcement_request.py | 2 +- .../models/create_group_gallery_request.py | 2 +- .../models/create_group_invite_request.py | 2 +- vrchatapi/models/create_group_post_request.py | 2 +- vrchatapi/models/create_group_request.py | 2 +- vrchatapi/models/create_group_role_request.py | 2 +- vrchatapi/models/create_instance_request.py | 2 +- vrchatapi/models/create_world_request.py | 2 +- vrchatapi/models/current_user.py | 2 +- vrchatapi/models/current_user_presence.py | 2 +- vrchatapi/models/deployment_group.py | 2 +- vrchatapi/models/developer_type.py | 2 +- vrchatapi/models/dynamic_content_row.py | 2 +- vrchatapi/models/error.py | 2 +- vrchatapi/models/favorite.py | 2 +- vrchatapi/models/favorite_group.py | 2 +- vrchatapi/models/favorite_group_visibility.py | 2 +- vrchatapi/models/favorite_type.py | 2 +- vrchatapi/models/favorited_world.py | 2 +- vrchatapi/models/file.py | 2 +- vrchatapi/models/file_data.py | 2 +- vrchatapi/models/file_status.py | 2 +- vrchatapi/models/file_upload_url.py | 2 +- vrchatapi/models/file_version.py | 2 +- .../models/file_version_upload_status.py | 2 +- .../models/finish_file_data_upload_request.py | 2 +- vrchatapi/models/friend_status.py | 2 +- vrchatapi/models/group.py | 2 +- vrchatapi/models/group_access_type.py | 2 +- vrchatapi/models/group_announcement.py | 2 +- vrchatapi/models/group_audit_log_entry.py | 2 +- vrchatapi/models/group_gallery.py | 2 +- vrchatapi/models/group_gallery_image.py | 2 +- vrchatapi/models/group_instance.py | 2 +- vrchatapi/models/group_join_request_action.py | 2 +- vrchatapi/models/group_join_state.py | 2 +- vrchatapi/models/group_limited_member.py | 2 +- vrchatapi/models/group_member.py | 2 +- vrchatapi/models/group_member_limited_user.py | 2 +- vrchatapi/models/group_member_status.py | 2 +- vrchatapi/models/group_my_member.py | 2 +- vrchatapi/models/group_permission.py | 2 +- vrchatapi/models/group_post.py | 2 +- vrchatapi/models/group_post_visibility.py | 2 +- vrchatapi/models/group_privacy.py | 2 +- vrchatapi/models/group_role.py | 2 +- vrchatapi/models/group_role_template.py | 2 +- vrchatapi/models/group_search_sort.py | 2 +- vrchatapi/models/group_user_visibility.py | 2 +- vrchatapi/models/info_push.py | 2 +- vrchatapi/models/info_push_data.py | 2 +- vrchatapi/models/info_push_data_article.py | 2 +- .../models/info_push_data_article_content.py | 2 +- vrchatapi/models/info_push_data_clickable.py | 2 +- vrchatapi/models/instance.py | 2 +- vrchatapi/models/instance_platforms.py | 2 +- vrchatapi/models/instance_region.py | 2 +- .../models/instance_short_name_response.py | 2 +- vrchatapi/models/instance_type.py | 2 +- vrchatapi/models/invite_message.py | 2 +- vrchatapi/models/invite_message_type.py | 2 +- vrchatapi/models/invite_request.py | 2 +- vrchatapi/models/invite_response.py | 2 +- vrchatapi/models/jam.py | 2 +- vrchatapi/models/jam_state_change_dates.py | 2 +- vrchatapi/models/license.py | 2 +- vrchatapi/models/license_action.py | 2 +- vrchatapi/models/license_group.py | 2 +- vrchatapi/models/license_type.py | 2 +- vrchatapi/models/limited_group.py | 2 +- vrchatapi/models/limited_unity_package.py | 2 +- vrchatapi/models/limited_user.py | 2 +- vrchatapi/models/limited_user_groups.py | 2 +- vrchatapi/models/limited_world.py | 2 +- vrchatapi/models/mime_type.py | 2 +- vrchatapi/models/moderate_user_request.py | 2 +- vrchatapi/models/notification.py | 2 +- .../models/notification_detail_invite.py | 2 +- .../notification_detail_invite_response.py | 2 +- .../notification_detail_request_invite.py | 2 +- ...fication_detail_request_invite_response.py | 2 +- .../notification_detail_vote_to_kick.py | 2 +- vrchatapi/models/notification_type.py | 2 +- vrchatapi/models/order_option.py | 2 +- .../paginated_group_audit_log_entry_list.py | 2 +- vrchatapi/models/past_display_name.py | 2 +- vrchatapi/models/performance_ratings.py | 2 +- vrchatapi/models/permission.py | 2 +- vrchatapi/models/platform_build_info.py | 2 +- vrchatapi/models/player_moderation.py | 2 +- vrchatapi/models/player_moderation_type.py | 2 +- vrchatapi/models/region.py | 2 +- vrchatapi/models/release_status.py | 2 +- vrchatapi/models/report_category.py | 2 +- vrchatapi/models/report_reason.py | 2 +- vrchatapi/models/represented_group.py | 2 +- vrchatapi/models/request_invite_request.py | 2 +- .../models/respond_group_join_request.py | 2 +- vrchatapi/models/response.py | 2 +- vrchatapi/models/sent_notification.py | 2 +- vrchatapi/models/sort_option.py | 2 +- vrchatapi/models/submission.py | 2 +- vrchatapi/models/subscription.py | 2 +- vrchatapi/models/subscription_period.py | 2 +- vrchatapi/models/success.py | 2 +- vrchatapi/models/transaction.py | 2 +- vrchatapi/models/transaction_agreement.py | 2 +- vrchatapi/models/transaction_status.py | 2 +- vrchatapi/models/transaction_steam_info.py | 2 +- .../models/transaction_steam_wallet_info.py | 2 +- vrchatapi/models/two_factor_auth_code.py | 2 +- vrchatapi/models/two_factor_email_code.py | 2 +- vrchatapi/models/unity_package.py | 2 +- vrchatapi/models/update_avatar_request.py | 2 +- .../models/update_favorite_group_request.py | 2 +- .../models/update_group_gallery_request.py | 2 +- .../models/update_group_member_request.py | 2 +- vrchatapi/models/update_group_request.py | 2 +- vrchatapi/models/update_group_role_request.py | 2 +- .../models/update_invite_message_request.py | 2 +- vrchatapi/models/update_user_request.py | 2 +- vrchatapi/models/update_world_request.py | 2 +- vrchatapi/models/user.py | 2 +- vrchatapi/models/user_exists.py | 2 +- vrchatapi/models/user_state.py | 2 +- vrchatapi/models/user_status.py | 2 +- vrchatapi/models/user_subscription.py | 2 +- .../models/verify2_fa_email_code_result.py | 2 +- vrchatapi/models/verify2_fa_result.py | 2 +- vrchatapi/models/verify_auth_token_result.py | 2 +- vrchatapi/models/world.py | 2 +- vrchatapi/models/world_metadata.py | 2 +- vrchatapi/models/world_publish_status.py | 2 +- vrchatapi/rest.py | 2 +- 201 files changed, 998 insertions(+), 533 deletions(-) diff --git a/docs/AuthenticationApi.md b/docs/AuthenticationApi.md index 7a5b34a3..1ca6d214 100644 --- a/docs/AuthenticationApi.md +++ b/docs/AuthenticationApi.md @@ -1,6 +1,6 @@ # vrchatapi.AuthenticationApi -All URIs are relative to *https://vrchat.com/api/1* +All URIs are relative to *https://api.vrchat.cloud/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -29,10 +29,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) @@ -99,10 +99,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -173,10 +173,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -222,10 +222,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -271,10 +271,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -353,10 +353,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -423,10 +423,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -497,10 +497,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -571,10 +571,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -641,10 +641,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters diff --git a/docs/AvatarsApi.md b/docs/AvatarsApi.md index aeb0025d..cfd9d4c2 100644 --- a/docs/AvatarsApi.md +++ b/docs/AvatarsApi.md @@ -1,6 +1,6 @@ # vrchatapi.AvatarsApi -All URIs are relative to *https://vrchat.com/api/1* +All URIs are relative to *https://api.vrchat.cloud/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -31,10 +31,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -105,10 +105,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -180,10 +180,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -255,10 +255,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -354,10 +354,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -429,10 +429,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -527,10 +527,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -602,10 +602,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -678,10 +678,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters diff --git a/docs/EconomyApi.md b/docs/EconomyApi.md index f9a08cc1..105a0812 100644 --- a/docs/EconomyApi.md +++ b/docs/EconomyApi.md @@ -1,6 +1,6 @@ # vrchatapi.EconomyApi -All URIs are relative to *https://vrchat.com/api/1* +All URIs are relative to *https://api.vrchat.cloud/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -27,10 +27,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -97,10 +97,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -171,10 +171,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -245,10 +245,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -315,10 +315,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters diff --git a/docs/FavoritesApi.md b/docs/FavoritesApi.md index e0dfad5b..87679319 100644 --- a/docs/FavoritesApi.md +++ b/docs/FavoritesApi.md @@ -1,6 +1,6 @@ # vrchatapi.FavoritesApi -All URIs are relative to *https://vrchat.com/api/1* +All URIs are relative to *https://api.vrchat.cloud/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -30,10 +30,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -105,10 +105,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -182,10 +182,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -257,10 +257,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -334,10 +334,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -412,10 +412,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -492,10 +492,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -567,10 +567,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters diff --git a/docs/FilesApi.md b/docs/FilesApi.md index 0aa072bc..90bffe57 100644 --- a/docs/FilesApi.md +++ b/docs/FilesApi.md @@ -1,6 +1,6 @@ # vrchatapi.FilesApi -All URIs are relative to *https://vrchat.com/api/1* +All URIs are relative to *https://api.vrchat.cloud/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -32,10 +32,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -105,10 +105,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -180,10 +180,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -254,10 +254,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -331,10 +331,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -406,10 +406,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -485,10 +485,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -559,10 +559,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -636,10 +636,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -715,10 +715,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters diff --git a/docs/FriendsApi.md b/docs/FriendsApi.md index 87298372..3439a292 100644 --- a/docs/FriendsApi.md +++ b/docs/FriendsApi.md @@ -1,6 +1,6 @@ # vrchatapi.FriendsApi -All URIs are relative to *https://vrchat.com/api/1* +All URIs are relative to *https://api.vrchat.cloud/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -27,10 +27,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -102,10 +102,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -178,10 +178,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -252,10 +252,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -330,10 +330,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters diff --git a/docs/GroupsApi.md b/docs/GroupsApi.md index 6418b63c..e292ca9c 100644 --- a/docs/GroupsApi.md +++ b/docs/GroupsApi.md @@ -1,6 +1,6 @@ # vrchatapi.GroupsApi -All URIs are relative to *https://vrchat.com/api/1* +All URIs are relative to *https://api.vrchat.cloud/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -64,10 +64,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -143,10 +143,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -222,10 +222,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -298,10 +298,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -376,10 +376,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -451,10 +451,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -525,10 +525,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -602,10 +602,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -679,10 +679,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -757,10 +757,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -834,10 +834,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -909,10 +909,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -984,10 +984,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -1061,10 +1061,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -1141,10 +1141,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -1217,10 +1217,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -1294,10 +1294,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -1371,10 +1371,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -1448,10 +1448,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -1523,10 +1523,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -1606,10 +1606,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -1686,10 +1686,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -1769,10 +1769,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -1844,10 +1844,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -1924,10 +1924,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -2002,10 +2002,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -2086,10 +2086,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -2162,10 +2162,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -2242,10 +2242,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -2324,10 +2324,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -2399,10 +2399,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -2475,10 +2475,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -2552,10 +2552,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -2626,10 +2626,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -2705,10 +2705,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -2782,10 +2782,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) @@ -2850,10 +2850,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -2927,10 +2927,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -3004,10 +3004,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -3083,10 +3083,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -3162,10 +3162,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -3241,10 +3241,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters diff --git a/docs/InstancesApi.md b/docs/InstancesApi.md index ad84e4e5..adbe7db6 100644 --- a/docs/InstancesApi.md +++ b/docs/InstancesApi.md @@ -1,6 +1,6 @@ # vrchatapi.InstancesApi -All URIs are relative to *https://vrchat.com/api/1* +All URIs are relative to *https://api.vrchat.cloud/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -27,10 +27,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -109,10 +109,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -183,10 +183,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -259,10 +259,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -334,10 +334,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters diff --git a/docs/InviteApi.md b/docs/InviteApi.md index 853cefe9..81088120 100644 --- a/docs/InviteApi.md +++ b/docs/InviteApi.md @@ -1,6 +1,6 @@ # vrchatapi.InviteApi -All URIs are relative to *https://vrchat.com/api/1* +All URIs are relative to *https://api.vrchat.cloud/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -30,10 +30,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -110,10 +110,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -187,10 +187,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -264,10 +264,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -340,10 +340,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -416,10 +416,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -497,10 +497,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -573,10 +573,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters diff --git a/docs/JamsApi.md b/docs/JamsApi.md index 0d96401b..0ea809d7 100644 --- a/docs/JamsApi.md +++ b/docs/JamsApi.md @@ -1,6 +1,6 @@ # vrchatapi.JamsApi -All URIs are relative to *https://vrchat.com/api/1* +All URIs are relative to *https://api.vrchat.cloud/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -25,10 +25,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -99,10 +99,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -173,10 +173,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters diff --git a/docs/NotificationsApi.md b/docs/NotificationsApi.md index e68b5357..0186eb3b 100644 --- a/docs/NotificationsApi.md +++ b/docs/NotificationsApi.md @@ -1,6 +1,6 @@ # vrchatapi.NotificationsApi -All URIs are relative to *https://vrchat.com/api/1* +All URIs are relative to *https://api.vrchat.cloud/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -28,10 +28,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -103,10 +103,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -173,10 +173,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -247,10 +247,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -322,10 +322,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -406,10 +406,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters diff --git a/docs/PermissionsApi.md b/docs/PermissionsApi.md index b7789f47..d69cdce5 100644 --- a/docs/PermissionsApi.md +++ b/docs/PermissionsApi.md @@ -1,6 +1,6 @@ # vrchatapi.PermissionsApi -All URIs are relative to *https://vrchat.com/api/1* +All URIs are relative to *https://api.vrchat.cloud/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -24,10 +24,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -94,10 +94,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters diff --git a/docs/PlayermoderationApi.md b/docs/PlayermoderationApi.md index 1952fc61..001a9361 100644 --- a/docs/PlayermoderationApi.md +++ b/docs/PlayermoderationApi.md @@ -1,6 +1,6 @@ # vrchatapi.PlayermoderationApi -All URIs are relative to *https://vrchat.com/api/1* +All URIs are relative to *https://api.vrchat.cloud/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -26,10 +26,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -96,10 +96,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -172,10 +172,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -246,10 +246,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters diff --git a/docs/SystemApi.md b/docs/SystemApi.md index 2fd028fe..c094dddc 100644 --- a/docs/SystemApi.md +++ b/docs/SystemApi.md @@ -1,6 +1,6 @@ # vrchatapi.SystemApi -All URIs are relative to *https://vrchat.com/api/1* +All URIs are relative to *https://api.vrchat.cloud/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -28,10 +28,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) @@ -86,10 +86,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) @@ -151,10 +151,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) @@ -209,10 +209,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) @@ -267,10 +267,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) @@ -331,10 +331,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) @@ -396,10 +396,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) diff --git a/docs/UsersApi.md b/docs/UsersApi.md index c22fe5b3..17cc0396 100644 --- a/docs/UsersApi.md +++ b/docs/UsersApi.md @@ -1,6 +1,6 @@ # vrchatapi.UsersApi -All URIs are relative to *https://vrchat.com/api/1* +All URIs are relative to *https://api.vrchat.cloud/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -29,10 +29,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -103,10 +103,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -177,10 +177,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -251,10 +251,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -325,10 +325,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -399,10 +399,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -480,10 +480,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters diff --git a/docs/WorldsApi.md b/docs/WorldsApi.md index 90508644..937caf60 100644 --- a/docs/WorldsApi.md +++ b/docs/WorldsApi.md @@ -1,6 +1,6 @@ # vrchatapi.WorldsApi -All URIs are relative to *https://vrchat.com/api/1* +All URIs are relative to *https://api.vrchat.cloud/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -34,10 +34,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) @@ -99,10 +99,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -173,10 +173,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -269,10 +269,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -368,10 +368,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -466,10 +466,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) @@ -530,10 +530,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -606,10 +606,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -680,10 +680,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -755,10 +755,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -829,10 +829,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -931,10 +931,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters @@ -1005,10 +1005,10 @@ import time import vrchatapi from vrchatapi.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://vrchat.com/api/1 +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 # See configuration.py for a list of all supported configuration parameters. configuration = vrchatapi.Configuration( - host = "https://vrchat.com/api/1" + host = "https://api.vrchat.cloud/api/1" ) # The client must configure the authentication and authorization parameters diff --git a/package-lock.json b/package-lock.json index 7699d405..9acbb426 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.14.0" + "@openapitools/openapi-generator-cli": "^2.15.3" } }, "node_modules/@lukeed/csprng": { @@ -17,9 +17,9 @@ } }, "node_modules/@nestjs/axios": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@nestjs/axios/-/axios-3.0.3.tgz", - "integrity": "sha512-h6TCn3yJwD6OKqqqfmtRS5Zo4E46Ip2n+gK1sqwzNBC+qxQ9xpCu+ODVRFur6V3alHSCSBxb3nNtt73VEdluyA==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@nestjs/axios/-/axios-3.1.1.tgz", + "integrity": "sha512-ySoxrzqX80P1q6LKLKGcgyBd2utg4gbC+4FsJNpXYvILorMlxss/ECNogD9EXLCE4JS5exVFD5ez0nK5hXcNTQ==", "peerDependencies": { "@nestjs/common": "^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0", "axios": "^1.3.1", @@ -27,9 +27,9 @@ } }, "node_modules/@nestjs/common": { - "version": "10.4.3", - "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-10.4.3.tgz", - "integrity": "sha512-4hbLd3XIJubHSylYd/1WSi4VQvG68KM/ECYpMDqA3k3J1/T17SAg40sDoq3ZoO5OZgU0xuNyjuISdOTjs11qVg==", + "version": "10.4.6", + "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-10.4.6.tgz", + "integrity": "sha512-KkezkZvU9poWaNq4L+lNvx+386hpOxPJkfXBBeSMrcqBOx8kVr36TGN2uYkF4Ta4zNu1KbCjmZbc0rhHSg296g==", "dependencies": { "iterare": "1.2.1", "tslib": "2.7.0", @@ -55,9 +55,9 @@ } }, "node_modules/@nestjs/core": { - "version": "10.4.3", - "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-10.4.3.tgz", - "integrity": "sha512-6OQz+5C8mT8yRtfvE5pPCq+p6w5jDot+oQku1KzQ24ABn+lay1KGuJwcKZhdVNuselx+8xhdMxknZTA8wrGLIg==", + "version": "10.4.6", + "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-10.4.6.tgz", + "integrity": "sha512-zXVPxCNRfO6gAy0yvEDjUxE/8gfZICJFpsl2lZAUH31bPb6m+tXuhUq2mVCTEltyMYQ+DYtRe+fEYM2v152N1g==", "hasInstallScript": true, "dependencies": { "@nuxtjs/opencollective": "0.3.2", @@ -109,14 +109,14 @@ } }, "node_modules/@openapitools/openapi-generator-cli": { - "version": "2.14.0", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.14.0.tgz", - "integrity": "sha512-k+ioQLtXLXgNbhQbp1UOxtaUnnYTWwAPev88hP5qauFA+eq4NyeQGNojknFssXg2x0VT0TUGmU3PZ2DiQ70IVg==", + "version": "2.15.3", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.15.3.tgz", + "integrity": "sha512-2UBnsDlMt36thhdXxisbA1qReVtbCaw+NCvXoslRXlaJBL4qkAmZUhNeDLNu3LCbwA2PASMWhJSqeLwgwMCitw==", "hasInstallScript": true, "dependencies": { - "@nestjs/axios": "3.0.3", - "@nestjs/common": "10.4.3", - "@nestjs/core": "10.4.3", + "@nestjs/axios": "3.1.1", + "@nestjs/common": "10.4.6", + "@nestjs/core": "10.4.6", "@nuxtjs/opencollective": "0.3.2", "axios": "1.7.7", "chalk": "4.1.2", @@ -126,12 +126,12 @@ "console.table": "0.10.0", "fs-extra": "10.1.0", "glob": "9.3.5", - "https-proxy-agent": "7.0.5", "inquirer": "8.2.6", "lodash": "4.17.21", + "proxy-agent": "6.4.0", "reflect-metadata": "0.1.13", "rxjs": "7.8.1", - "tslib": "2.7.0" + "tslib": "2.8.1" }, "bin": { "openapi-generator-cli": "main.js" @@ -144,6 +144,16 @@ "url": "https://opencollective.com/openapi_generator" } }, + "node_modules/@openapitools/openapi-generator-cli/node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + }, + "node_modules/@tootallnate/quickjs-emscripten": { + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/@tootallnate/quickjs-emscripten/-/quickjs-emscripten-0.23.0.tgz", + "integrity": "sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA==" + }, "node_modules/agent-base": { "version": "7.1.1", "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.1.tgz", @@ -191,6 +201,17 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, + "node_modules/ast-types": { + "version": "0.13.4", + "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.13.4.tgz", + "integrity": "sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w==", + "dependencies": { + "tslib": "^2.0.1" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", @@ -230,6 +251,14 @@ } ] }, + "node_modules/basic-ftp": { + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/basic-ftp/-/basic-ftp-5.0.5.tgz", + "integrity": "sha512-4Bcg1P8xhUuqcii/S0Z9wiHIrQVPMermM1any+MX5GeGD7faD3/msQUDGLol9wOcz4/jbg/WJnGqoJF6LiBdtg==", + "engines": { + "node": ">=10.0.0" + } + }, "node_modules/bl": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", @@ -446,6 +475,14 @@ "node": "> 0.10" } }, + "node_modules/data-uri-to-buffer": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-6.0.2.tgz", + "integrity": "sha512-7hvf7/GW8e86rW0ptuwS3OcBGDjIi6SZva7hCyWC0yYry2cOPmLIjXAUHI6DK2HsnwJd9ifmt57i8eV2n4YNpw==", + "engines": { + "node": ">= 14" + } + }, "node_modules/date-fns": { "version": "2.27.0", "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.27.0.tgz", @@ -482,6 +519,19 @@ "clone": "^1.0.2" } }, + "node_modules/degenerator": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/degenerator/-/degenerator-5.0.1.tgz", + "integrity": "sha512-TllpMR/t0M5sqCXfj85i4XaAzxmS5tVA16dqvdkMwGmzI+dXLXnw3J+3Vdv7VKw+ThlTMboK6i9rnZ6Nntj5CQ==", + "dependencies": { + "ast-types": "^0.13.4", + "escodegen": "^2.1.0", + "esprima": "^4.0.1" + }, + "engines": { + "node": ">= 14" + } + }, "node_modules/delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", @@ -519,6 +569,54 @@ "node": ">=0.8.0" } }, + "node_modules/escodegen": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.1.0.tgz", + "integrity": "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==", + "dependencies": { + "esprima": "^4.0.1", + "estraverse": "^5.2.0", + "esutils": "^2.0.2" + }, + "bin": { + "escodegen": "bin/escodegen.js", + "esgenerate": "bin/esgenerate.js" + }, + "engines": { + "node": ">=6.0" + }, + "optionalDependencies": { + "source-map": "~0.6.1" + } + }, + "node_modules/esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/external-editor": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", @@ -571,9 +669,9 @@ } }, "node_modules/form-data": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", - "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.1.tgz", + "integrity": "sha512-tzN8e4TX8+kkxGPK8D5u0FNmjPUjw3lwC9lSLxxoB/+GtsJG91CO8bSWy73APlgAZzZbXEYZJuxjkHH2w+Ezhw==", "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", @@ -609,6 +707,33 @@ "node": "6.* || 8.* || >= 10.*" } }, + "node_modules/get-uri": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/get-uri/-/get-uri-6.0.3.tgz", + "integrity": "sha512-BzUrJBS9EcUb4cFol8r4W3v1cPsSyajLSthNkz5BxbpDcHN5tIrM10E2eNvfnvBn3DaT3DUgx0OpsBKkaOpanw==", + "dependencies": { + "basic-ftp": "^5.0.2", + "data-uri-to-buffer": "^6.0.2", + "debug": "^4.3.4", + "fs-extra": "^11.2.0" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/get-uri/node_modules/fs-extra": { + "version": "11.2.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz", + "integrity": "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==", + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=14.14" + } + }, "node_modules/glob": { "version": "9.3.5", "resolved": "https://registry.npmjs.org/glob/-/glob-9.3.5.tgz", @@ -639,6 +764,18 @@ "node": ">=8" } }, + "node_modules/http-proxy-agent": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz", + "integrity": "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==", + "dependencies": { + "agent-base": "^7.1.0", + "debug": "^4.3.4" + }, + "engines": { + "node": ">= 14" + } + }, "node_modules/https-proxy-agent": { "version": "7.0.5", "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.5.tgz", @@ -724,6 +861,18 @@ "node": ">=8" } }, + "node_modules/ip-address": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-9.0.5.tgz", + "integrity": "sha512-zHtQzGojZXTwZTHQqra+ETKd4Sn3vgi7uBmlPoXVWZqYvuKmtI0l/VZTjqGmJY9x88GGOaZ9+G9ES8hC4T4X8g==", + "dependencies": { + "jsbn": "1.1.0", + "sprintf-js": "^1.1.3" + }, + "engines": { + "node": ">= 12" + } + }, "node_modules/is-fullwidth-code-point": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", @@ -759,6 +908,11 @@ "node": ">=6" } }, + "node_modules/jsbn": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-1.1.0.tgz", + "integrity": "sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A==" + }, "node_modules/jsonfile": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", @@ -854,6 +1008,14 @@ "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==" }, + "node_modules/netmask": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/netmask/-/netmask-2.0.2.tgz", + "integrity": "sha512-dBpDMdxv9Irdq66304OLfEmQ9tbNRFnFTuZiLo+bD+r332bBmMJ8GBLXklIXXgxd3+v9+KUnZaUR5PJMa75Gsg==", + "engines": { + "node": ">= 0.4.0" + } + }, "node_modules/node-fetch": { "version": "2.7.0", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", @@ -917,6 +1079,36 @@ "node": ">=0.10.0" } }, + "node_modules/pac-proxy-agent": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-7.0.2.tgz", + "integrity": "sha512-BFi3vZnO9X5Qt6NRz7ZOaPja3ic0PhlsmCRYLOpN11+mWBCR6XJDqW5RF3j8jm4WGGQZtBA+bTfxYzeKW73eHg==", + "dependencies": { + "@tootallnate/quickjs-emscripten": "^0.23.0", + "agent-base": "^7.0.2", + "debug": "^4.3.4", + "get-uri": "^6.0.1", + "http-proxy-agent": "^7.0.0", + "https-proxy-agent": "^7.0.5", + "pac-resolver": "^7.0.1", + "socks-proxy-agent": "^8.0.4" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/pac-resolver": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/pac-resolver/-/pac-resolver-7.0.1.tgz", + "integrity": "sha512-5NPgf87AT2STgwa2ntRMr45jTKrYBGkVU36yT0ig/n/GMAa3oPqhZfIQ2kMEimReg0+t9kZViDVZ83qfVUlckg==", + "dependencies": { + "degenerator": "^5.0.0", + "netmask": "^2.0.2" + }, + "engines": { + "node": ">= 14" + } + }, "node_modules/path-scurry": { "version": "1.11.1", "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", @@ -945,6 +1137,32 @@ "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-3.3.0.tgz", "integrity": "sha512-qyCH421YQPS2WFDxDjftfc1ZR5WKQzVzqsp4n9M2kQhVOo/ByahFoUNJfl58kOcEGfQ//7weFTDhm+ss8Ecxgw==" }, + "node_modules/proxy-agent": { + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-6.4.0.tgz", + "integrity": "sha512-u0piLU+nCOHMgGjRbimiXmA9kM/L9EHh3zL81xCdp7m+Y2pHIsnmbdDoEDoAz5geaonNR6q6+yOPQs6n4T6sBQ==", + "dependencies": { + "agent-base": "^7.0.2", + "debug": "^4.3.4", + "http-proxy-agent": "^7.0.1", + "https-proxy-agent": "^7.0.3", + "lru-cache": "^7.14.1", + "pac-proxy-agent": "^7.0.1", + "proxy-from-env": "^1.1.0", + "socks-proxy-agent": "^8.0.2" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/proxy-agent/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "engines": { + "node": ">=12" + } + }, "node_modules/proxy-from-env": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", @@ -1033,11 +1251,60 @@ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" }, + "node_modules/smart-buffer": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", + "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==", + "engines": { + "node": ">= 6.0.0", + "npm": ">= 3.0.0" + } + }, + "node_modules/socks": { + "version": "2.8.3", + "resolved": "https://registry.npmjs.org/socks/-/socks-2.8.3.tgz", + "integrity": "sha512-l5x7VUUWbjVFbafGLxPWkYsHIhEvmF85tbIeFZWc8ZPtoMyybuEhL7Jye/ooC4/d48FgOjSJXgsF/AJPYCW8Zw==", + "dependencies": { + "ip-address": "^9.0.5", + "smart-buffer": "^4.2.0" + }, + "engines": { + "node": ">= 10.0.0", + "npm": ">= 3.0.0" + } + }, + "node_modules/socks-proxy-agent": { + "version": "8.0.4", + "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.4.tgz", + "integrity": "sha512-GNAq/eg8Udq2x0eNiFkr9gRg5bA7PXEWagQdeRX4cPSG+X/8V38v637gim9bjFptMk1QWsCTr0ttrJEiXbNnRw==", + "dependencies": { + "agent-base": "^7.1.1", + "debug": "^4.3.4", + "socks": "^2.8.3" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/spawn-command": { "version": "0.0.2-1", "resolved": "https://registry.npmjs.org/spawn-command/-/spawn-command-0.0.2-1.tgz", "integrity": "sha1-YvXpRmmBwbeW3Fkpk34RycaSG9A=" }, + "node_modules/sprintf-js": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.3.tgz", + "integrity": "sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==" + }, "node_modules/string_decoder": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", @@ -1229,15 +1496,15 @@ "integrity": "sha512-Z7C/xXCiGWsg0KuKsHTKJxbWhpI3Vs5GwLfOean7MGyVFGqdRgBbAjOCh6u4bbjPc/8MJ2pZmK/0DLdCbivLDA==" }, "@nestjs/axios": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@nestjs/axios/-/axios-3.0.3.tgz", - "integrity": "sha512-h6TCn3yJwD6OKqqqfmtRS5Zo4E46Ip2n+gK1sqwzNBC+qxQ9xpCu+ODVRFur6V3alHSCSBxb3nNtt73VEdluyA==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@nestjs/axios/-/axios-3.1.1.tgz", + "integrity": "sha512-ySoxrzqX80P1q6LKLKGcgyBd2utg4gbC+4FsJNpXYvILorMlxss/ECNogD9EXLCE4JS5exVFD5ez0nK5hXcNTQ==", "requires": {} }, "@nestjs/common": { - "version": "10.4.3", - "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-10.4.3.tgz", - "integrity": "sha512-4hbLd3XIJubHSylYd/1WSi4VQvG68KM/ECYpMDqA3k3J1/T17SAg40sDoq3ZoO5OZgU0xuNyjuISdOTjs11qVg==", + "version": "10.4.6", + "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-10.4.6.tgz", + "integrity": "sha512-KkezkZvU9poWaNq4L+lNvx+386hpOxPJkfXBBeSMrcqBOx8kVr36TGN2uYkF4Ta4zNu1KbCjmZbc0rhHSg296g==", "requires": { "iterare": "1.2.1", "tslib": "2.7.0", @@ -1245,9 +1512,9 @@ } }, "@nestjs/core": { - "version": "10.4.3", - "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-10.4.3.tgz", - "integrity": "sha512-6OQz+5C8mT8yRtfvE5pPCq+p6w5jDot+oQku1KzQ24ABn+lay1KGuJwcKZhdVNuselx+8xhdMxknZTA8wrGLIg==", + "version": "10.4.6", + "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-10.4.6.tgz", + "integrity": "sha512-zXVPxCNRfO6gAy0yvEDjUxE/8gfZICJFpsl2lZAUH31bPb6m+tXuhUq2mVCTEltyMYQ+DYtRe+fEYM2v152N1g==", "requires": { "@nuxtjs/opencollective": "0.3.2", "fast-safe-stringify": "2.1.1", @@ -1268,13 +1535,13 @@ } }, "@openapitools/openapi-generator-cli": { - "version": "2.14.0", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.14.0.tgz", - "integrity": "sha512-k+ioQLtXLXgNbhQbp1UOxtaUnnYTWwAPev88hP5qauFA+eq4NyeQGNojknFssXg2x0VT0TUGmU3PZ2DiQ70IVg==", + "version": "2.15.3", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.15.3.tgz", + "integrity": "sha512-2UBnsDlMt36thhdXxisbA1qReVtbCaw+NCvXoslRXlaJBL4qkAmZUhNeDLNu3LCbwA2PASMWhJSqeLwgwMCitw==", "requires": { - "@nestjs/axios": "3.0.3", - "@nestjs/common": "10.4.3", - "@nestjs/core": "10.4.3", + "@nestjs/axios": "3.1.1", + "@nestjs/common": "10.4.6", + "@nestjs/core": "10.4.6", "@nuxtjs/opencollective": "0.3.2", "axios": "1.7.7", "chalk": "4.1.2", @@ -1284,14 +1551,26 @@ "console.table": "0.10.0", "fs-extra": "10.1.0", "glob": "9.3.5", - "https-proxy-agent": "7.0.5", "inquirer": "8.2.6", "lodash": "4.17.21", + "proxy-agent": "6.4.0", "reflect-metadata": "0.1.13", "rxjs": "7.8.1", - "tslib": "2.7.0" + "tslib": "2.8.1" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } } }, + "@tootallnate/quickjs-emscripten": { + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/@tootallnate/quickjs-emscripten/-/quickjs-emscripten-0.23.0.tgz", + "integrity": "sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA==" + }, "agent-base": { "version": "7.1.1", "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.1.tgz", @@ -1321,6 +1600,14 @@ "color-convert": "^2.0.1" } }, + "ast-types": { + "version": "0.13.4", + "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.13.4.tgz", + "integrity": "sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w==", + "requires": { + "tslib": "^2.0.1" + } + }, "asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", @@ -1346,6 +1633,11 @@ "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" }, + "basic-ftp": { + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/basic-ftp/-/basic-ftp-5.0.5.tgz", + "integrity": "sha512-4Bcg1P8xhUuqcii/S0Z9wiHIrQVPMermM1any+MX5GeGD7faD3/msQUDGLol9wOcz4/jbg/WJnGqoJF6LiBdtg==" + }, "bl": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", @@ -1502,6 +1794,11 @@ "easy-table": "1.1.0" } }, + "data-uri-to-buffer": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-6.0.2.tgz", + "integrity": "sha512-7hvf7/GW8e86rW0ptuwS3OcBGDjIi6SZva7hCyWC0yYry2cOPmLIjXAUHI6DK2HsnwJd9ifmt57i8eV2n4YNpw==" + }, "date-fns": { "version": "2.27.0", "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.27.0.tgz", @@ -1523,6 +1820,16 @@ "clone": "^1.0.2" } }, + "degenerator": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/degenerator/-/degenerator-5.0.1.tgz", + "integrity": "sha512-TllpMR/t0M5sqCXfj85i4XaAzxmS5tVA16dqvdkMwGmzI+dXLXnw3J+3Vdv7VKw+ThlTMboK6i9rnZ6Nntj5CQ==", + "requires": { + "ast-types": "^0.13.4", + "escodegen": "^2.1.0", + "esprima": "^4.0.1" + } + }, "delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", @@ -1551,6 +1858,32 @@ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==" }, + "escodegen": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.1.0.tgz", + "integrity": "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==", + "requires": { + "esprima": "^4.0.1", + "estraverse": "^5.2.0", + "esutils": "^2.0.2", + "source-map": "~0.6.1" + } + }, + "esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==" + }, + "estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==" + }, + "esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==" + }, "external-editor": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", @@ -1580,9 +1913,9 @@ "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==" }, "form-data": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", - "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.1.tgz", + "integrity": "sha512-tzN8e4TX8+kkxGPK8D5u0FNmjPUjw3lwC9lSLxxoB/+GtsJG91CO8bSWy73APlgAZzZbXEYZJuxjkHH2w+Ezhw==", "requires": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", @@ -1609,6 +1942,29 @@ "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==" }, + "get-uri": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/get-uri/-/get-uri-6.0.3.tgz", + "integrity": "sha512-BzUrJBS9EcUb4cFol8r4W3v1cPsSyajLSthNkz5BxbpDcHN5tIrM10E2eNvfnvBn3DaT3DUgx0OpsBKkaOpanw==", + "requires": { + "basic-ftp": "^5.0.2", + "data-uri-to-buffer": "^6.0.2", + "debug": "^4.3.4", + "fs-extra": "^11.2.0" + }, + "dependencies": { + "fs-extra": { + "version": "11.2.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz", + "integrity": "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==", + "requires": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + } + } + } + }, "glob": { "version": "9.3.5", "resolved": "https://registry.npmjs.org/glob/-/glob-9.3.5.tgz", @@ -1630,6 +1986,15 @@ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" }, + "http-proxy-agent": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz", + "integrity": "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==", + "requires": { + "agent-base": "^7.1.0", + "debug": "^4.3.4" + } + }, "https-proxy-agent": { "version": "7.0.5", "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.5.tgz", @@ -1691,6 +2056,15 @@ } } }, + "ip-address": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-9.0.5.tgz", + "integrity": "sha512-zHtQzGojZXTwZTHQqra+ETKd4Sn3vgi7uBmlPoXVWZqYvuKmtI0l/VZTjqGmJY9x88GGOaZ9+G9ES8hC4T4X8g==", + "requires": { + "jsbn": "1.1.0", + "sprintf-js": "^1.1.3" + } + }, "is-fullwidth-code-point": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", @@ -1711,6 +2085,11 @@ "resolved": "https://registry.npmjs.org/iterare/-/iterare-1.2.1.tgz", "integrity": "sha512-RKYVTCjAnRthyJes037NX/IiqeidgN1xc3j1RjFfECFp28A1GVwK9nA+i0rJPaHqSZwygLzRnFlzUuHFoWWy+Q==" }, + "jsbn": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-1.1.0.tgz", + "integrity": "sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A==" + }, "jsonfile": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", @@ -1780,6 +2159,11 @@ "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==" }, + "netmask": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/netmask/-/netmask-2.0.2.tgz", + "integrity": "sha512-dBpDMdxv9Irdq66304OLfEmQ9tbNRFnFTuZiLo+bD+r332bBmMJ8GBLXklIXXgxd3+v9+KUnZaUR5PJMa75Gsg==" + }, "node-fetch": { "version": "2.7.0", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", @@ -1817,6 +2201,30 @@ "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==" }, + "pac-proxy-agent": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-7.0.2.tgz", + "integrity": "sha512-BFi3vZnO9X5Qt6NRz7ZOaPja3ic0PhlsmCRYLOpN11+mWBCR6XJDqW5RF3j8jm4WGGQZtBA+bTfxYzeKW73eHg==", + "requires": { + "@tootallnate/quickjs-emscripten": "^0.23.0", + "agent-base": "^7.0.2", + "debug": "^4.3.4", + "get-uri": "^6.0.1", + "http-proxy-agent": "^7.0.0", + "https-proxy-agent": "^7.0.5", + "pac-resolver": "^7.0.1", + "socks-proxy-agent": "^8.0.4" + } + }, + "pac-resolver": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/pac-resolver/-/pac-resolver-7.0.1.tgz", + "integrity": "sha512-5NPgf87AT2STgwa2ntRMr45jTKrYBGkVU36yT0ig/n/GMAa3oPqhZfIQ2kMEimReg0+t9kZViDVZ83qfVUlckg==", + "requires": { + "degenerator": "^5.0.0", + "netmask": "^2.0.2" + } + }, "path-scurry": { "version": "1.11.1", "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", @@ -1838,6 +2246,28 @@ "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-3.3.0.tgz", "integrity": "sha512-qyCH421YQPS2WFDxDjftfc1ZR5WKQzVzqsp4n9M2kQhVOo/ByahFoUNJfl58kOcEGfQ//7weFTDhm+ss8Ecxgw==" }, + "proxy-agent": { + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-6.4.0.tgz", + "integrity": "sha512-u0piLU+nCOHMgGjRbimiXmA9kM/L9EHh3zL81xCdp7m+Y2pHIsnmbdDoEDoAz5geaonNR6q6+yOPQs6n4T6sBQ==", + "requires": { + "agent-base": "^7.0.2", + "debug": "^4.3.4", + "http-proxy-agent": "^7.0.1", + "https-proxy-agent": "^7.0.3", + "lru-cache": "^7.14.1", + "pac-proxy-agent": "^7.0.1", + "proxy-from-env": "^1.1.0", + "socks-proxy-agent": "^8.0.2" + }, + "dependencies": { + "lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==" + } + } + }, "proxy-from-env": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", @@ -1900,11 +2330,46 @@ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" }, + "smart-buffer": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", + "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==" + }, + "socks": { + "version": "2.8.3", + "resolved": "https://registry.npmjs.org/socks/-/socks-2.8.3.tgz", + "integrity": "sha512-l5x7VUUWbjVFbafGLxPWkYsHIhEvmF85tbIeFZWc8ZPtoMyybuEhL7Jye/ooC4/d48FgOjSJXgsF/AJPYCW8Zw==", + "requires": { + "ip-address": "^9.0.5", + "smart-buffer": "^4.2.0" + } + }, + "socks-proxy-agent": { + "version": "8.0.4", + "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.4.tgz", + "integrity": "sha512-GNAq/eg8Udq2x0eNiFkr9gRg5bA7PXEWagQdeRX4cPSG+X/8V38v637gim9bjFptMk1QWsCTr0ttrJEiXbNnRw==", + "requires": { + "agent-base": "^7.1.1", + "debug": "^4.3.4", + "socks": "^2.8.3" + } + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "optional": true + }, "spawn-command": { "version": "0.0.2-1", "resolved": "https://registry.npmjs.org/spawn-command/-/spawn-command-0.0.2-1.tgz", "integrity": "sha1-YvXpRmmBwbeW3Fkpk34RycaSG9A=" }, + "sprintf-js": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.3.tgz", + "integrity": "sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==" + }, "string_decoder": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", diff --git a/package.json b/package.json index ab9a9388..bb4ab2af 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.14.0" + "@openapitools/openapi-generator-cli": "^2.15.3" } } diff --git a/setup.py b/setup.py index eb9c6266..92400627 100644 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.18.6" +VERSION = "1.18.7" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 189f21a0..e6b58c53 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,7 +6,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index c1d8373a..31482937 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index 06e78ef5..ded2857b 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 55fa186f..2a8b2a2e 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index a61d1ca4..bfc9f5a1 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index 22e62ed5..3e9386af 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index 7a942b6c..cc655fea 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index b5e51be9..fc6758cb 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 24f93457..c50fc7c7 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index f3c94ad7..768d5df0 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/jams_api.py b/vrchatapi/api/jams_api.py index cbc7389c..2a742ad4 100644 --- a/vrchatapi/api/jams_api.py +++ b/vrchatapi/api/jams_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index 9acca096..72f20e57 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index 52762387..27a1c688 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index 182a5dbb..6dab4fa7 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index 6d3b1c99..e53c0cbf 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index 90a108a1..40d115b7 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 0e517367..85085d92 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index b93576aa..645943a4 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,7 +3,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index f827c31f..8b8c92d7 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -132,7 +132,7 @@ def __init__(self, host=None, ): """Constructor """ - self._base_path = "https://vrchat.com/api/1" if host is None else host + self._base_path = "https://api.vrchat.cloud/api/1" if host is None else host """Default Base url """ self.server_index = 0 if server_index is None and host is None else server_index @@ -441,7 +441,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.18.6\n"\ + "Version of the API: 1.18.7\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) @@ -452,7 +452,7 @@ def get_host_settings(self): """ return [ { - 'url': "https://vrchat.com/api/1", + 'url': "https://api.vrchat.cloud/api/1", 'description': "No description provided", } ] diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index 6900d6d8..68bc6c9c 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index 6fb90540..460cb92d 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,7 +5,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/account_deletion_log.py b/vrchatapi/models/account_deletion_log.py index 1736acbb..7d077dd2 100644 --- a/vrchatapi/models/account_deletion_log.py +++ b/vrchatapi/models/account_deletion_log.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index 5c66eadd..3f065259 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index 3982d6fd..4208fe4a 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index 84f91630..2831e7c8 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index 9fa86cae..5bdb1a8f 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants.py b/vrchatapi/models/api_config_constants.py index 3bd03358..bc7cd32c 100644 --- a/vrchatapi/models/api_config_constants.py +++ b/vrchatapi/models/api_config_constants.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_groups.py b/vrchatapi/models/api_config_constants_groups.py index 7cef6e85..9af6fcfd 100644 --- a/vrchatapi/models/api_config_constants_groups.py +++ b/vrchatapi/models/api_config_constants_groups.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instance.py b/vrchatapi/models/api_config_constants_instance.py index 01e94cf3..26ca349d 100644 --- a/vrchatapi/models/api_config_constants_instance.py +++ b/vrchatapi/models/api_config_constants_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbrackets.py b/vrchatapi/models/api_config_constants_instancepopulationbrackets.py index 76de1e51..dc414edf 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbrackets.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbrackets.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py b/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py index 609d7ff5..e57e5db4 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py b/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py index adebfcb3..58f5654e 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py b/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py index aee4f3d5..8c290a26 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_language.py b/vrchatapi/models/api_config_constants_language.py index 575fd196..64ab6639 100644 --- a/vrchatapi/models/api_config_constants_language.py +++ b/vrchatapi/models/api_config_constants_language.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index 5de0ed9c..3516920f 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index 9485e29a..f395f464 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_min_supported_client_build_number.py b/vrchatapi/models/api_config_min_supported_client_build_number.py index 75a23455..7461dbc6 100644 --- a/vrchatapi/models/api_config_min_supported_client_build_number.py +++ b/vrchatapi/models/api_config_min_supported_client_build_number.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_offline_analysis.py b/vrchatapi/models/api_config_offline_analysis.py index 261d6f32..ad93f248 100644 --- a/vrchatapi/models/api_config_offline_analysis.py +++ b/vrchatapi/models/api_config_offline_analysis.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_categories.py b/vrchatapi/models/api_config_report_categories.py index aeb914fb..c6e5a21d 100644 --- a/vrchatapi/models/api_config_report_categories.py +++ b/vrchatapi/models/api_config_report_categories.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_reasons.py b/vrchatapi/models/api_config_report_reasons.py index d70dd1cd..cc3c8233 100644 --- a/vrchatapi/models/api_config_report_reasons.py +++ b/vrchatapi/models/api_config_report_reasons.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index e046ffa9..7eafb3e3 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index 4b96f757..e33c5ca2 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index 9f7c3999..1c25b53e 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/badge.py b/vrchatapi/models/badge.py index 13b4c2fb..d6f9a732 100644 --- a/vrchatapi/models/badge.py +++ b/vrchatapi/models/badge.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index 4febbeb4..a530bf01 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index fe8a71b5..5c7ce0f8 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index eb5633a7..b91de6c4 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index 2ca3c969..1f6452a2 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index 2f0fbf7e..948399a5 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index 46f78b5b..38e95852 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index d7b8475a..cb4bd313 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_post_request.py b/vrchatapi/models/create_group_post_request.py index ea75568d..9f3ee347 100644 --- a/vrchatapi/models/create_group_post_request.py +++ b/vrchatapi/models/create_group_post_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index 6b68bc5d..bc084bfc 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index 78663917..3060894e 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_instance_request.py b/vrchatapi/models/create_instance_request.py index c9bb3f3d..cb8e1251 100644 --- a/vrchatapi/models/create_instance_request.py +++ b/vrchatapi/models/create_instance_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index 9b24eefa..7411f376 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index f553a99c..d3274563 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user_presence.py b/vrchatapi/models/current_user_presence.py index d87ff994..562e886d 100644 --- a/vrchatapi/models/current_user_presence.py +++ b/vrchatapi/models/current_user_presence.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/deployment_group.py b/vrchatapi/models/deployment_group.py index a8003f0a..72ed1ce5 100644 --- a/vrchatapi/models/deployment_group.py +++ b/vrchatapi/models/deployment_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index a2e9664d..acd6c3a5 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index 0965706a..0c9a7c3c 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index 32a125a0..93fe0e83 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index 13a76bce..946f8fed 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index eba6d1f4..c29b3c4c 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index 2b064677..392c7460 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index 400115a5..cbac1506 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorited_world.py b/vrchatapi/models/favorited_world.py index 4dd80104..8af97233 100644 --- a/vrchatapi/models/favorited_world.py +++ b/vrchatapi/models/favorited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index a72f38fe..e157e667 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index 586fef87..718f2fad 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index afd8be22..c755bbfa 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index 13114d4b..928f7cee 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index 160d5927..0cbb0da0 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index 0d67e3d0..84117962 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index 7133f244..acd8e1e0 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index 0395e97a..608a13c8 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index cc08f1f8..140d5cf6 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_access_type.py b/vrchatapi/models/group_access_type.py index ed2fd6c8..b8c0b5bc 100644 --- a/vrchatapi/models/group_access_type.py +++ b/vrchatapi/models/group_access_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index e0673803..b1dee799 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index 15237604..02d2110d 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index 4621ba24..18ab9457 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index 5d30b311..bdc01d4a 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_instance.py b/vrchatapi/models/group_instance.py index 5e96eb4b..4b3a867e 100644 --- a/vrchatapi/models/group_instance.py +++ b/vrchatapi/models/group_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_request_action.py b/vrchatapi/models/group_join_request_action.py index 54f72940..6a6c1930 100644 --- a/vrchatapi/models/group_join_request_action.py +++ b/vrchatapi/models/group_join_request_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index cbf7859d..692501ff 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index 959cad28..c02c2998 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index fda69d33..70d7ee3c 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index 6a37702e..533eda4f 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index feb05c5a..8dbedf31 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index 83dbf9ca..497f595f 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index d68cc8a9..d4a7b930 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post.py b/vrchatapi/models/group_post.py index f8357fb6..4a8a33e7 100644 --- a/vrchatapi/models/group_post.py +++ b/vrchatapi/models/group_post.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post_visibility.py b/vrchatapi/models/group_post_visibility.py index 5507eccf..30f00aa4 100644 --- a/vrchatapi/models/group_post_visibility.py +++ b/vrchatapi/models/group_post_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index 0ac72668..829bfa0e 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index b4397b50..6342a563 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index 146b4d87..5a7db70b 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_search_sort.py b/vrchatapi/models/group_search_sort.py index 81840c38..ef5ae8eb 100644 --- a/vrchatapi/models/group_search_sort.py +++ b/vrchatapi/models/group_search_sort.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index 8575ce35..ba13f418 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index 3b99aed4..14e38e87 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index 8b8c77d9..4cfe93cb 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index 088f0b87..f0495c7b 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index 83027f3c..c7f6f70f 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index 21d45330..d63cbdf3 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index b00903dc..51c64db6 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index da4bc01e..f7c55e92 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_region.py b/vrchatapi/models/instance_region.py index bd64fef5..3af457b5 100644 --- a/vrchatapi/models/instance_region.py +++ b/vrchatapi/models/instance_region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index dc9be27a..7516f7d2 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index 54f9d2fa..7b80c164 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index 5588c4ac..9053449f 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index 22c5cef3..c3849a8f 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index c9d804d7..f6d878a3 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index 20708433..5fb1f48f 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/jam.py b/vrchatapi/models/jam.py index 7fdc4d86..cf9bb24e 100644 --- a/vrchatapi/models/jam.py +++ b/vrchatapi/models/jam.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/jam_state_change_dates.py b/vrchatapi/models/jam_state_change_dates.py index b4db886f..a80b6afc 100644 --- a/vrchatapi/models/jam_state_change_dates.py +++ b/vrchatapi/models/jam_state_change_dates.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index 4728378a..0e089a60 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index af238969..f24ae745 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index d00fd770..89422a53 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index cecc5eca..b56c7057 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_group.py b/vrchatapi/models/limited_group.py index bf4df5cc..b19db595 100644 --- a/vrchatapi/models/limited_group.py +++ b/vrchatapi/models/limited_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index 3779719a..a0e8275e 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user.py b/vrchatapi/models/limited_user.py index 6490a05e..c2a66e47 100644 --- a/vrchatapi/models/limited_user.py +++ b/vrchatapi/models/limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user_groups.py b/vrchatapi/models/limited_user_groups.py index caefbb02..9a0d7c13 100644 --- a/vrchatapi/models/limited_user_groups.py +++ b/vrchatapi/models/limited_user_groups.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index a5fbdd4c..d8090d21 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index 09fe23e2..9f077c8d 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index 4e2dc8cc..e3f73b7c 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index de84e7e7..1622079f 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite.py b/vrchatapi/models/notification_detail_invite.py index c056f419..710639af 100644 --- a/vrchatapi/models/notification_detail_invite.py +++ b/vrchatapi/models/notification_detail_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite_response.py b/vrchatapi/models/notification_detail_invite_response.py index a3d966eb..1afc4402 100644 --- a/vrchatapi/models/notification_detail_invite_response.py +++ b/vrchatapi/models/notification_detail_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite.py b/vrchatapi/models/notification_detail_request_invite.py index f8bf3acb..fc7ff791 100644 --- a/vrchatapi/models/notification_detail_request_invite.py +++ b/vrchatapi/models/notification_detail_request_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite_response.py b/vrchatapi/models/notification_detail_request_invite_response.py index c3f61088..33e23745 100644 --- a/vrchatapi/models/notification_detail_request_invite_response.py +++ b/vrchatapi/models/notification_detail_request_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_vote_to_kick.py b/vrchatapi/models/notification_detail_vote_to_kick.py index 4073be95..43f3b6c3 100644 --- a/vrchatapi/models/notification_detail_vote_to_kick.py +++ b/vrchatapi/models/notification_detail_vote_to_kick.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index fe099a4f..fba91336 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index dbeeefc6..2e49fc90 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index 16d18cb7..b3026dfe 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index 5e4113af..20c82793 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/performance_ratings.py b/vrchatapi/models/performance_ratings.py index 49dcfe1d..258b901d 100644 --- a/vrchatapi/models/performance_ratings.py +++ b/vrchatapi/models/performance_ratings.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index 1012e345..a35045f5 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/platform_build_info.py b/vrchatapi/models/platform_build_info.py index 6e5ef29f..08480bec 100644 --- a/vrchatapi/models/platform_build_info.py +++ b/vrchatapi/models/platform_build_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index e7d1d0aa..278e7201 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index 0627f558..95d48a88 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index 383486e2..9b846f35 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index 91309896..66f3f154 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/report_category.py b/vrchatapi/models/report_category.py index 4008bb44..61b618b9 100644 --- a/vrchatapi/models/report_category.py +++ b/vrchatapi/models/report_category.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/report_reason.py b/vrchatapi/models/report_reason.py index e9df83e4..a700a54e 100644 --- a/vrchatapi/models/report_reason.py +++ b/vrchatapi/models/report_reason.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/represented_group.py b/vrchatapi/models/represented_group.py index 70a0845b..a87cd59a 100644 --- a/vrchatapi/models/represented_group.py +++ b/vrchatapi/models/represented_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index ff87a592..ce0ef0b3 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index 6b489e29..a5e31cf5 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index a61703d9..b4fcd4da 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index f32d9578..8c24e936 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index 45cccb2a..b5d745b6 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/submission.py b/vrchatapi/models/submission.py index 15e229a4..3f64e226 100644 --- a/vrchatapi/models/submission.py +++ b/vrchatapi/models/submission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index 3a730435..4a3669d4 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index c2610411..db1fce10 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index f8ec1447..f53456bd 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index 78d9e32f..117bddf2 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index d33ee532..4f8f8476 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index 6c8dfa06..10ed2acc 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index 2a222796..5001e825 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index 9ac3bc9e..0d225c14 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index 53799490..718531f1 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_email_code.py b/vrchatapi/models/two_factor_email_code.py index 7ead3f0e..8d40d0ab 100644 --- a/vrchatapi/models/two_factor_email_code.py +++ b/vrchatapi/models/two_factor_email_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index c52390c1..b901135c 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index 435aba6d..2af8b535 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index 1b6d4a14..66ed000d 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index a61c794c..5abd48b4 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index ef1d3b9d..ba90a326 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index 991cbf23..35f54971 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index e0ed3421..00b90f9c 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index 3924297a..465f6155 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index 018df2fc..20f9184c 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index ab36bd4c..ea3cae94 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index cf84109c..29b96ec7 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index 7d795f2d..ec1ffea1 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index 297e4139..74392ee7 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index 0e6d786f..1664ca38 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index eb3c6f8b..45bb0395 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_email_code_result.py b/vrchatapi/models/verify2_fa_email_code_result.py index e0f6fc70..e83c9931 100644 --- a/vrchatapi/models/verify2_fa_email_code_result.py +++ b/vrchatapi/models/verify2_fa_email_code_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index b0552bc8..90c08ed4 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index d548338a..e83df1c5 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index bc56427b..68426f16 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index 96a2be23..70571318 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index 521edf3d..5e097954 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index 9953b788..b9329f88 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.6 + The version of the OpenAPI document: 1.18.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ From 64d31be425d55d2fbbe41d312d3268618dc8c04a Mon Sep 17 00:00:00 2001 From: VRCCat Date: Thu, 7 Nov 2024 10:17:17 +0000 Subject: [PATCH 061/102] Upgrade Python SDK to spec 1.18.8 --- .openapi-generator/FILES | 4 + docs/APIConfig.md | 5 + docs/APIConfigAvatarPerfLimiter.md | 16 ++ docs/APIConfigReportCategories.md | 2 + docs/CurrentUser.md | 3 + docs/FavoritedWorld.md | 1 + docs/Instance.md | 3 +- docs/PerformanceLimiterInfo.md | 13 + docs/User.md | 1 + docs/World.md | 1 + setup.py | 4 +- vrchatapi/__init__.py | 4 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/groups_api.py | 2 +- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/jams_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 +- vrchatapi/exceptions.py | 2 +- vrchatapi/models/__init__.py | 4 +- vrchatapi/models/account_deletion_log.py | 2 +- vrchatapi/models/add_favorite_request.py | 2 +- .../models/add_group_gallery_image_request.py | 2 +- vrchatapi/models/api_config.py | 141 ++++++++- vrchatapi/models/api_config_announcement.py | 2 +- .../models/api_config_avatar_perf_limiter.py | 267 ++++++++++++++++++ vrchatapi/models/api_config_constants.py | 2 +- .../models/api_config_constants_groups.py | 2 +- .../models/api_config_constants_instance.py | 2 +- ...ig_constants_instancepopulationbrackets.py | 2 +- ...tants_instancepopulationbracketscrowded.py | 2 +- ...constants_instancepopulationbracketsfew.py | 2 +- ...onstants_instancepopulationbracketsmany.py | 2 +- .../models/api_config_constants_language.py | 2 +- .../models/api_config_download_url_list.py | 2 +- vrchatapi/models/api_config_events.py | 2 +- ...onfig_min_supported_client_build_number.py | 2 +- .../models/api_config_offline_analysis.py | 2 +- .../models/api_config_report_categories.py | 56 +++- vrchatapi/models/api_config_report_reasons.py | 2 +- vrchatapi/models/api_health.py | 2 +- vrchatapi/models/avatar.py | 2 +- .../models/avatar_unity_package_url_object.py | 2 +- vrchatapi/models/badge.py | 2 +- vrchatapi/models/ban_group_member_request.py | 2 +- vrchatapi/models/create_avatar_request.py | 2 +- vrchatapi/models/create_file_request.py | 2 +- .../models/create_file_version_request.py | 2 +- .../create_group_announcement_request.py | 2 +- .../models/create_group_gallery_request.py | 2 +- .../models/create_group_invite_request.py | 2 +- vrchatapi/models/create_group_post_request.py | 2 +- vrchatapi/models/create_group_request.py | 2 +- vrchatapi/models/create_group_role_request.py | 2 +- vrchatapi/models/create_instance_request.py | 2 +- vrchatapi/models/create_world_request.py | 2 +- vrchatapi/models/current_user.py | 85 +++++- vrchatapi/models/current_user_presence.py | 2 +- vrchatapi/models/deployment_group.py | 2 +- vrchatapi/models/developer_type.py | 2 +- vrchatapi/models/dynamic_content_row.py | 2 +- vrchatapi/models/error.py | 2 +- vrchatapi/models/favorite.py | 2 +- vrchatapi/models/favorite_group.py | 2 +- vrchatapi/models/favorite_group_visibility.py | 2 +- vrchatapi/models/favorite_type.py | 2 +- vrchatapi/models/favorited_world.py | 31 +- vrchatapi/models/file.py | 2 +- vrchatapi/models/file_data.py | 2 +- vrchatapi/models/file_status.py | 2 +- vrchatapi/models/file_upload_url.py | 2 +- vrchatapi/models/file_version.py | 2 +- .../models/file_version_upload_status.py | 2 +- .../models/finish_file_data_upload_request.py | 2 +- vrchatapi/models/friend_status.py | 2 +- vrchatapi/models/group.py | 2 +- vrchatapi/models/group_access_type.py | 2 +- vrchatapi/models/group_announcement.py | 2 +- vrchatapi/models/group_audit_log_entry.py | 2 +- vrchatapi/models/group_gallery.py | 2 +- vrchatapi/models/group_gallery_image.py | 2 +- vrchatapi/models/group_instance.py | 2 +- vrchatapi/models/group_join_request_action.py | 2 +- vrchatapi/models/group_join_state.py | 2 +- vrchatapi/models/group_limited_member.py | 2 +- vrchatapi/models/group_member.py | 2 +- vrchatapi/models/group_member_limited_user.py | 2 +- vrchatapi/models/group_member_status.py | 2 +- vrchatapi/models/group_my_member.py | 2 +- vrchatapi/models/group_permission.py | 2 +- vrchatapi/models/group_post.py | 2 +- vrchatapi/models/group_post_visibility.py | 2 +- vrchatapi/models/group_privacy.py | 2 +- vrchatapi/models/group_role.py | 2 +- vrchatapi/models/group_role_template.py | 2 +- vrchatapi/models/group_search_sort.py | 2 +- vrchatapi/models/group_user_visibility.py | 2 +- vrchatapi/models/info_push.py | 2 +- vrchatapi/models/info_push_data.py | 2 +- vrchatapi/models/info_push_data_article.py | 2 +- .../models/info_push_data_article_content.py | 2 +- vrchatapi/models/info_push_data_clickable.py | 2 +- vrchatapi/models/instance.py | 35 ++- vrchatapi/models/instance_platforms.py | 2 +- vrchatapi/models/instance_region.py | 2 +- .../models/instance_short_name_response.py | 2 +- vrchatapi/models/instance_type.py | 2 +- vrchatapi/models/invite_message.py | 2 +- vrchatapi/models/invite_message_type.py | 2 +- vrchatapi/models/invite_request.py | 2 +- vrchatapi/models/invite_response.py | 2 +- vrchatapi/models/jam.py | 2 +- vrchatapi/models/jam_state_change_dates.py | 2 +- vrchatapi/models/license.py | 2 +- vrchatapi/models/license_action.py | 2 +- vrchatapi/models/license_group.py | 2 +- vrchatapi/models/license_type.py | 2 +- vrchatapi/models/limited_group.py | 2 +- vrchatapi/models/limited_unity_package.py | 2 +- vrchatapi/models/limited_user.py | 2 +- vrchatapi/models/limited_user_groups.py | 2 +- vrchatapi/models/limited_world.py | 2 +- vrchatapi/models/mime_type.py | 2 +- vrchatapi/models/moderate_user_request.py | 2 +- vrchatapi/models/notification.py | 2 +- .../models/notification_detail_invite.py | 2 +- .../notification_detail_invite_response.py | 2 +- .../notification_detail_request_invite.py | 2 +- ...fication_detail_request_invite_response.py | 2 +- .../notification_detail_vote_to_kick.py | 2 +- vrchatapi/models/notification_type.py | 2 +- vrchatapi/models/order_option.py | 2 +- .../paginated_group_audit_log_entry_list.py | 2 +- vrchatapi/models/past_display_name.py | 2 +- vrchatapi/models/performance_limiter_info.py | 161 +++++++++++ vrchatapi/models/performance_ratings.py | 2 +- vrchatapi/models/permission.py | 2 +- vrchatapi/models/platform_build_info.py | 2 +- vrchatapi/models/player_moderation.py | 2 +- vrchatapi/models/player_moderation_type.py | 2 +- vrchatapi/models/region.py | 2 +- vrchatapi/models/release_status.py | 2 +- vrchatapi/models/report_category.py | 2 +- vrchatapi/models/report_reason.py | 2 +- vrchatapi/models/represented_group.py | 2 +- vrchatapi/models/request_invite_request.py | 2 +- .../models/respond_group_join_request.py | 2 +- vrchatapi/models/response.py | 2 +- vrchatapi/models/sent_notification.py | 2 +- vrchatapi/models/sort_option.py | 2 +- vrchatapi/models/submission.py | 2 +- vrchatapi/models/subscription.py | 2 +- vrchatapi/models/subscription_period.py | 2 +- vrchatapi/models/success.py | 2 +- vrchatapi/models/transaction.py | 2 +- vrchatapi/models/transaction_agreement.py | 2 +- vrchatapi/models/transaction_status.py | 2 +- vrchatapi/models/transaction_steam_info.py | 2 +- .../models/transaction_steam_wallet_info.py | 2 +- vrchatapi/models/two_factor_auth_code.py | 2 +- vrchatapi/models/two_factor_email_code.py | 2 +- vrchatapi/models/unity_package.py | 2 +- vrchatapi/models/update_avatar_request.py | 2 +- .../models/update_favorite_group_request.py | 2 +- .../models/update_group_gallery_request.py | 2 +- .../models/update_group_member_request.py | 2 +- vrchatapi/models/update_group_request.py | 2 +- vrchatapi/models/update_group_role_request.py | 2 +- .../models/update_invite_message_request.py | 2 +- vrchatapi/models/update_user_request.py | 2 +- vrchatapi/models/update_world_request.py | 2 +- vrchatapi/models/user.py | 31 +- vrchatapi/models/user_exists.py | 2 +- vrchatapi/models/user_state.py | 2 +- vrchatapi/models/user_status.py | 2 +- vrchatapi/models/user_subscription.py | 2 +- .../models/verify2_fa_email_code_result.py | 2 +- vrchatapi/models/verify2_fa_result.py | 2 +- vrchatapi/models/verify_auth_token_result.py | 2 +- vrchatapi/models/world.py | 30 +- vrchatapi/models/world_metadata.py | 2 +- vrchatapi/models/world_publish_status.py | 2 +- vrchatapi/rest.py | 2 +- 195 files changed, 1050 insertions(+), 196 deletions(-) create mode 100644 docs/APIConfigAvatarPerfLimiter.md create mode 100644 docs/PerformanceLimiterInfo.md create mode 100644 vrchatapi/models/api_config_avatar_perf_limiter.py create mode 100644 vrchatapi/models/performance_limiter_info.py diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index a8bad355..a1d561f3 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -1,6 +1,7 @@ .gitlab-ci.yml docs/APIConfig.md docs/APIConfigAnnouncement.md +docs/APIConfigAvatarPerfLimiter.md docs/APIConfigConstants.md docs/APIConfigConstantsGROUPS.md docs/APIConfigConstantsINSTANCE.md @@ -123,6 +124,7 @@ docs/NotificationsApi.md docs/OrderOption.md docs/PaginatedGroupAuditLogEntryList.md docs/PastDisplayName.md +docs/PerformanceLimiterInfo.md docs/PerformanceRatings.md docs/Permission.md docs/PermissionsApi.md @@ -208,6 +210,7 @@ vrchatapi/models/add_favorite_request.py vrchatapi/models/add_group_gallery_image_request.py vrchatapi/models/api_config.py vrchatapi/models/api_config_announcement.py +vrchatapi/models/api_config_avatar_perf_limiter.py vrchatapi/models/api_config_constants.py vrchatapi/models/api_config_constants_groups.py vrchatapi/models/api_config_constants_instance.py @@ -316,6 +319,7 @@ vrchatapi/models/notification_type.py vrchatapi/models/order_option.py vrchatapi/models/paginated_group_audit_log_entry_list.py vrchatapi/models/past_display_name.py +vrchatapi/models/performance_limiter_info.py vrchatapi/models/performance_ratings.py vrchatapi/models/permission.py vrchatapi/models/platform_build_info.py diff --git a/docs/APIConfig.md b/docs/APIConfig.md index 6b2f85ff..0ba372e4 100644 --- a/docs/APIConfig.md +++ b/docs/APIConfig.md @@ -8,12 +8,15 @@ Name | Type | Description | Notes **voice_enable_degradation** | **bool** | Unknown, probably voice optimization testing | [default to False] **voice_enable_receiver_limiting** | **bool** | Unknown, probably voice optimization testing | [default to True] **address** | **str** | VRChat's office address | +**age_verification_p** | **bool** | | +**age_verification_status_visible** | **bool** | | **announcements** | [**list[APIConfigAnnouncement]**](APIConfigAnnouncement.md) | Public Announcements | **analytics_segment_new_ui_pct_of_users** | **int** | Unknown | **analytics_segment_new_ui_salt** | **str** | Unknown | **app_name** | **str** | Game name | [default to 'VrChat'] **available_language_codes** | **list[str]** | List of supported Languages | **available_languages** | **list[str]** | List of supported Languages | +**avatar_perf_limiter** | [**APIConfigAvatarPerfLimiter**](APIConfigAvatarPerfLimiter.md) | | **build_version_tag** | **str** | Build tag of the API server | **chatbox_log_buffer_seconds** | **int** | Unknown | [default to 40] **client_api_key** | **str** | apiKey to be used for all other requests | @@ -38,6 +41,7 @@ Name | Type | Description | Notes **current_privacy_version** | **int** | Current version number of the Privacy Agreement | [optional] [default to 1] **current_tos_version** | **int** | Current version number of the Terms of Service | **default_avatar** | **str** | | +**default_sticker_set** | **str** | | **deployment_group** | [**DeploymentGroup**](DeploymentGroup.md) | | **dev_language_codes** | **list[str]** | Unknown | [optional] **dev_sdk_url** | **str** | Link to download the development SDK, use downloadUrls instead | @@ -92,6 +96,7 @@ Name | Type | Description | Notes **server_name** | **str** | Server name of the API server currently responding | **string_host_url_list** | **list[str]** | A list of explicitly allowed origins that worlds can request strings from via the Udon's [VRCStringDownloader.LoadUrl](https://creators.vrchat.com/worlds/udon/string-loading/#ivrcstringdownload). | **support_email** | **str** | VRChat's support email | +**support_form_url** | **str** | VRChat's support form | **timekeeping** | **bool** | Unknown | [default to True] **time_out_world_id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | **tutorial_world_id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | diff --git a/docs/APIConfigAvatarPerfLimiter.md b/docs/APIConfigAvatarPerfLimiter.md new file mode 100644 index 00000000..57499433 --- /dev/null +++ b/docs/APIConfigAvatarPerfLimiter.md @@ -0,0 +1,16 @@ +# APIConfigAvatarPerfLimiter + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**android_mobile** | [**PerformanceLimiterInfo**](PerformanceLimiterInfo.md) | | +**pc** | [**PerformanceLimiterInfo**](PerformanceLimiterInfo.md) | | +**pico** | [**PerformanceLimiterInfo**](PerformanceLimiterInfo.md) | | +**quest** | [**PerformanceLimiterInfo**](PerformanceLimiterInfo.md) | | +**xr_elite** | [**PerformanceLimiterInfo**](PerformanceLimiterInfo.md) | | +**i_os_mobile** | [**PerformanceLimiterInfo**](PerformanceLimiterInfo.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/APIConfigReportCategories.md b/docs/APIConfigReportCategories.md index 8f34667e..79d4c2a7 100644 --- a/docs/APIConfigReportCategories.md +++ b/docs/APIConfigReportCategories.md @@ -8,10 +8,12 @@ Name | Type | Description | Notes **avatar** | [**ReportCategory**](ReportCategory.md) | | **behavior** | [**ReportCategory**](ReportCategory.md) | | **chat** | [**ReportCategory**](ReportCategory.md) | | +**emoji** | [**ReportCategory**](ReportCategory.md) | | [optional] **environment** | [**ReportCategory**](ReportCategory.md) | | **groupstore** | [**ReportCategory**](ReportCategory.md) | | **image** | [**ReportCategory**](ReportCategory.md) | | **text** | [**ReportCategory**](ReportCategory.md) | | +**sticker** | [**ReportCategory**](ReportCategory.md) | | [optional] **warnings** | [**ReportCategory**](ReportCategory.md) | | **worldimage** | [**ReportCategory**](ReportCategory.md) | | **worldstore** | [**ReportCategory**](ReportCategory.md) | | diff --git a/docs/CurrentUser.md b/docs/CurrentUser.md index 94865c2c..53c6f8cc 100644 --- a/docs/CurrentUser.md +++ b/docs/CurrentUser.md @@ -9,6 +9,8 @@ Name | Type | Description | Notes **account_deletion_date** | **date** | | [optional] **account_deletion_log** | [**list[AccountDeletionLog]**](AccountDeletionLog.md) | | [optional] **active_friends** | **list[str]** | | [optional] +**age_verification_status** | **str** | | +**age_verified** | **bool** | | **allow_avatar_copying** | **bool** | | **badges** | [**list[Badge]**](Badge.md) | | [optional] **bio** | **str** | | @@ -35,6 +37,7 @@ Name | Type | Description | Notes **has_pending_email** | **bool** | | **home_location** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | **id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**is_adult** | **bool** | | **is_booping_enabled** | **bool** | | [optional] [default to True] **is_friend** | **bool** | | [default to False] **last_activity** | **datetime** | | [optional] diff --git a/docs/FavoritedWorld.md b/docs/FavoritedWorld.md index 6908bee8..dc27d308 100644 --- a/docs/FavoritedWorld.md +++ b/docs/FavoritedWorld.md @@ -31,6 +31,7 @@ Name | Type | Description | Notes **thumbnail_image_url** | **str** | | **unity_packages** | [**list[UnityPackage]**](UnityPackage.md) | | **updated_at** | **datetime** | | +**url_list** | **list[str]** | | **udon_products** | **list[str]** | | [optional] **version** | **int** | | diff --git a/docs/Instance.md b/docs/Instance.md index 037b722d..f6707960 100644 --- a/docs/Instance.md +++ b/docs/Instance.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **active** | **bool** | | [default to True] +**age_gate** | **str** | | [optional] **can_request_invite** | **bool** | | [default to True] **capacity** | **int** | | **client_number** | **str** | Always returns \"unknown\". | @@ -22,7 +23,7 @@ Name | Type | Description | Notes **permanent** | **bool** | | [default to False] **photon_region** | [**Region**](Region.md) | | **platforms** | [**InstancePlatforms**](InstancePlatforms.md) | | -**player_persistence_enabled** | **str** | | +**player_persistence_enabled** | **bool** | | **region** | [**InstanceRegion**](InstanceRegion.md) | | **secure_name** | **str** | | **short_name** | **str** | | [optional] diff --git a/docs/PerformanceLimiterInfo.md b/docs/PerformanceLimiterInfo.md new file mode 100644 index 00000000..fa569801 --- /dev/null +++ b/docs/PerformanceLimiterInfo.md @@ -0,0 +1,13 @@ +# PerformanceLimiterInfo + +Info about the performance limits on a platform + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**allowed** | **bool** | | +**max_seats** | **int** | Maximum amount of seats. -1 means no limit. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/User.md b/docs/User.md index d1bf3169..5753464f 100644 --- a/docs/User.md +++ b/docs/User.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**age_verification_status** | **str** | | **allow_avatar_copying** | **bool** | | [default to True] **badges** | [**list[Badge]**](Badge.md) | | [optional] **bio** | **str** | | diff --git a/docs/World.md b/docs/World.md index 2667c7d6..e0809c09 100644 --- a/docs/World.md +++ b/docs/World.md @@ -32,6 +32,7 @@ Name | Type | Description | Notes **thumbnail_image_url** | **str** | | **unity_packages** | [**list[UnityPackage]**](UnityPackage.md) | Empty if unauthenticated. | [optional] **updated_at** | **datetime** | | +**url_list** | **list[str]** | | [optional] **version** | **int** | | [default to 0] **visits** | **int** | | [default to 0] **udon_products** | **list[str]** | | [optional] diff --git a/setup.py b/setup.py index 92400627..bb78dd43 100644 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.18.7" +VERSION = "1.18.8" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index e6b58c53..c740fe4d 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,7 +6,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -46,6 +46,7 @@ # import models into sdk package from vrchatapi.models.api_config import APIConfig from vrchatapi.models.api_config_announcement import APIConfigAnnouncement +from vrchatapi.models.api_config_avatar_perf_limiter import APIConfigAvatarPerfLimiter from vrchatapi.models.api_config_constants import APIConfigConstants from vrchatapi.models.api_config_constants_groups import APIConfigConstantsGROUPS from vrchatapi.models.api_config_constants_instance import APIConfigConstantsINSTANCE @@ -157,6 +158,7 @@ from vrchatapi.models.order_option import OrderOption from vrchatapi.models.paginated_group_audit_log_entry_list import PaginatedGroupAuditLogEntryList from vrchatapi.models.past_display_name import PastDisplayName +from vrchatapi.models.performance_limiter_info import PerformanceLimiterInfo from vrchatapi.models.performance_ratings import PerformanceRatings from vrchatapi.models.permission import Permission from vrchatapi.models.platform_build_info import PlatformBuildInfo diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index 31482937..23936957 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index ded2857b..0cd31102 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 2a8b2a2e..76a0c920 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index bfc9f5a1..6891a0d8 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index 3e9386af..ddaf932e 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index cc655fea..928695af 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index fc6758cb..18b4f4ee 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index c50fc7c7..564a3411 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index 768d5df0..5c277158 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/jams_api.py b/vrchatapi/api/jams_api.py index 2a742ad4..c8382676 100644 --- a/vrchatapi/api/jams_api.py +++ b/vrchatapi/api/jams_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index 72f20e57..67ede13b 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index 27a1c688..d55f115b 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index 6dab4fa7..76bb3716 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index e53c0cbf..30502521 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index 40d115b7..27865d2a 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 85085d92..6491ea47 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index 645943a4..03ccc170 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,7 +3,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index 8b8c92d7..38162bb8 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -441,7 +441,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.18.7\n"\ + "Version of the API: 1.18.8\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index 68bc6c9c..12d10155 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index 460cb92d..935fec62 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,7 +5,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -16,6 +16,7 @@ # import models into model package from vrchatapi.models.api_config import APIConfig from vrchatapi.models.api_config_announcement import APIConfigAnnouncement +from vrchatapi.models.api_config_avatar_perf_limiter import APIConfigAvatarPerfLimiter from vrchatapi.models.api_config_constants import APIConfigConstants from vrchatapi.models.api_config_constants_groups import APIConfigConstantsGROUPS from vrchatapi.models.api_config_constants_instance import APIConfigConstantsINSTANCE @@ -127,6 +128,7 @@ from vrchatapi.models.order_option import OrderOption from vrchatapi.models.paginated_group_audit_log_entry_list import PaginatedGroupAuditLogEntryList from vrchatapi.models.past_display_name import PastDisplayName +from vrchatapi.models.performance_limiter_info import PerformanceLimiterInfo from vrchatapi.models.performance_ratings import PerformanceRatings from vrchatapi.models.permission import Permission from vrchatapi.models.platform_build_info import PlatformBuildInfo diff --git a/vrchatapi/models/account_deletion_log.py b/vrchatapi/models/account_deletion_log.py index 7d077dd2..09a2326b 100644 --- a/vrchatapi/models/account_deletion_log.py +++ b/vrchatapi/models/account_deletion_log.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index 3f065259..a6374ef1 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index 4208fe4a..7381acaa 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index 2831e7c8..9edd7224 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -39,12 +39,15 @@ class APIConfig(object): 'voice_enable_degradation': 'bool', 'voice_enable_receiver_limiting': 'bool', 'address': 'str', + 'age_verification_p': 'bool', + 'age_verification_status_visible': 'bool', 'announcements': 'list[APIConfigAnnouncement]', 'analytics_segment_new_ui_pct_of_users': 'int', 'analytics_segment_new_ui_salt': 'str', 'app_name': 'str', 'available_language_codes': 'list[str]', 'available_languages': 'list[str]', + 'avatar_perf_limiter': 'APIConfigAvatarPerfLimiter', 'build_version_tag': 'str', 'chatbox_log_buffer_seconds': 'int', 'client_api_key': 'str', @@ -69,6 +72,7 @@ class APIConfig(object): 'current_privacy_version': 'int', 'current_tos_version': 'int', 'default_avatar': 'str', + 'default_sticker_set': 'str', 'deployment_group': 'DeploymentGroup', 'dev_language_codes': 'list[str]', 'dev_sdk_url': 'str', @@ -123,6 +127,7 @@ class APIConfig(object): 'server_name': 'str', 'string_host_url_list': 'list[str]', 'support_email': 'str', + 'support_form_url': 'str', 'timekeeping': 'bool', 'time_out_world_id': 'str', 'tutorial_world_id': 'str', @@ -146,12 +151,15 @@ class APIConfig(object): 'voice_enable_degradation': 'VoiceEnableDegradation', 'voice_enable_receiver_limiting': 'VoiceEnableReceiverLimiting', 'address': 'address', + 'age_verification_p': 'ageVerificationP', + 'age_verification_status_visible': 'ageVerificationStatusVisible', 'announcements': 'announcements', 'analytics_segment_new_ui_pct_of_users': 'analyticsSegment_NewUI_PctOfUsers', 'analytics_segment_new_ui_salt': 'analyticsSegment_NewUI_Salt', 'app_name': 'appName', 'available_language_codes': 'availableLanguageCodes', 'available_languages': 'availableLanguages', + 'avatar_perf_limiter': 'avatarPerfLimiter', 'build_version_tag': 'buildVersionTag', 'chatbox_log_buffer_seconds': 'chatboxLogBufferSeconds', 'client_api_key': 'clientApiKey', @@ -176,6 +184,7 @@ class APIConfig(object): 'current_privacy_version': 'currentPrivacyVersion', 'current_tos_version': 'currentTOSVersion', 'default_avatar': 'defaultAvatar', + 'default_sticker_set': 'defaultStickerSet', 'deployment_group': 'deploymentGroup', 'dev_language_codes': 'devLanguageCodes', 'dev_sdk_url': 'devSdkUrl', @@ -230,6 +239,7 @@ class APIConfig(object): 'server_name': 'serverName', 'string_host_url_list': 'stringHostUrlList', 'support_email': 'supportEmail', + 'support_form_url': 'supportFormUrl', 'timekeeping': 'timekeeping', 'time_out_world_id': 'timeOutWorldId', 'tutorial_world_id': 'tutorialWorldId', @@ -249,7 +259,7 @@ class APIConfig(object): 'websocket_reconnect_max_delay': 'websocketReconnectMaxDelay' } - def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limiting=True, address=None, announcements=None, analytics_segment_new_ui_pct_of_users=None, analytics_segment_new_ui_salt=None, app_name='VrChat', available_language_codes=None, available_languages=None, build_version_tag=None, chatbox_log_buffer_seconds=40, client_api_key=None, client_bps_ceiling=18432, client_disconnect_timeout=30000, client_net_dispatch_thread=False, client_net_dispatch_thread_mobile=True, client_net_in_thread=False, client_net_in_thread2=False, client_net_in_thread_mobile=False, client_net_in_thread_mobile2=False, client_net_out_thread=False, client_net_out_thread2=False, client_net_out_thread_mobile=False, client_net_out_thread_mobile2=False, client_qr=1, client_reserved_player_bps=7168, client_sent_count_allowance=15, constants=None, contact_email=None, copyright_email=None, current_privacy_version=1, current_tos_version=None, default_avatar=None, deployment_group=None, dev_language_codes=None, dev_sdk_url=None, dev_sdk_version=None, dis_countdown=None, disable_av_pro_in_proton=False, disable_avatar_copying=False, disable_avatar_gating=False, disable_community_labs=False, disable_community_labs_promotion=False, disable_email=False, disable_captcha=True, disable_event_stream=False, disable_feedback_gating=False, disable_frontend_builds=False, disable_hello=False, disable_oculus_subs=False, disable_registration=False, disable_steam_networking=True, disable_two_factor_auth=False, disable_udon=False, disable_upgrade_account=False, download_link_windows=None, download_urls=None, dynamic_world_rows=None, economy_pause_end=None, economy_pause_start=None, economy_state=1, events=None, force_use_latest_world=True, google_api_client_id='827942544393-r2ouvckvouldn9dg9uruseje575e878f.apps.googleusercontent.com', home_world_id=None, homepage_redirect_target='https://hello.vrchat.com', hub_world_id=None, image_host_url_list=None, jobs_email=None, min_supported_client_build_number=None, minimum_unity_version_for_uploads='2019.0.0f1', moderation_email=None, not_allowed_to_select_avatar_in_private_world_message=None, offline_analysis=None, photon_nameserver_overrides=None, photon_public_keys=None, report_categories=None, report_form_url='https://help.vrchat.com/hc/en-us/requests/new?ticket_form_id=1500000182242&tf_360056455174=user_report&tf_360057451993={userId}&tf_1500001445142={reportedId}&tf_subject={reason} {category} By {contentType} {reportedName}&tf_description={description}', report_options=None, report_reasons=None, sdk_developer_faq_url=None, sdk_discord_url=None, sdk_not_allowed_to_publish_message=None, sdk_unity_version=None, server_name=None, string_host_url_list=None, support_email=None, timekeeping=True, time_out_world_id=None, tutorial_world_id=None, update_rate_ms_maximum=None, update_rate_ms_minimum=None, update_rate_ms_normal=None, update_rate_ms_udon_manual=None, upload_analysis_percent=None, url_list=None, use_reliable_udp_for_voice=False, vive_windows_url=None, white_listed_asset_urls=None, player_url_resolver_version=None, player_url_resolver_sha1=None, websocket_max_friends_refresh_delay=900, websocket_quick_reconnect_time=2, websocket_reconnect_max_delay=2, local_vars_configuration=None): # noqa: E501 + def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limiting=True, address=None, age_verification_p=None, age_verification_status_visible=None, announcements=None, analytics_segment_new_ui_pct_of_users=None, analytics_segment_new_ui_salt=None, app_name='VrChat', available_language_codes=None, available_languages=None, avatar_perf_limiter=None, build_version_tag=None, chatbox_log_buffer_seconds=40, client_api_key=None, client_bps_ceiling=18432, client_disconnect_timeout=30000, client_net_dispatch_thread=False, client_net_dispatch_thread_mobile=True, client_net_in_thread=False, client_net_in_thread2=False, client_net_in_thread_mobile=False, client_net_in_thread_mobile2=False, client_net_out_thread=False, client_net_out_thread2=False, client_net_out_thread_mobile=False, client_net_out_thread_mobile2=False, client_qr=1, client_reserved_player_bps=7168, client_sent_count_allowance=15, constants=None, contact_email=None, copyright_email=None, current_privacy_version=1, current_tos_version=None, default_avatar=None, default_sticker_set=None, deployment_group=None, dev_language_codes=None, dev_sdk_url=None, dev_sdk_version=None, dis_countdown=None, disable_av_pro_in_proton=False, disable_avatar_copying=False, disable_avatar_gating=False, disable_community_labs=False, disable_community_labs_promotion=False, disable_email=False, disable_captcha=True, disable_event_stream=False, disable_feedback_gating=False, disable_frontend_builds=False, disable_hello=False, disable_oculus_subs=False, disable_registration=False, disable_steam_networking=True, disable_two_factor_auth=False, disable_udon=False, disable_upgrade_account=False, download_link_windows=None, download_urls=None, dynamic_world_rows=None, economy_pause_end=None, economy_pause_start=None, economy_state=1, events=None, force_use_latest_world=True, google_api_client_id='827942544393-r2ouvckvouldn9dg9uruseje575e878f.apps.googleusercontent.com', home_world_id=None, homepage_redirect_target='https://hello.vrchat.com', hub_world_id=None, image_host_url_list=None, jobs_email=None, min_supported_client_build_number=None, minimum_unity_version_for_uploads='2019.0.0f1', moderation_email=None, not_allowed_to_select_avatar_in_private_world_message=None, offline_analysis=None, photon_nameserver_overrides=None, photon_public_keys=None, report_categories=None, report_form_url='https://help.vrchat.com/hc/en-us/requests/new?ticket_form_id=1500000182242&tf_360056455174=user_report&tf_360057451993={userId}&tf_1500001445142={reportedId}&tf_subject={reason} {category} By {contentType} {reportedName}&tf_description={description}', report_options=None, report_reasons=None, sdk_developer_faq_url=None, sdk_discord_url=None, sdk_not_allowed_to_publish_message=None, sdk_unity_version=None, server_name=None, string_host_url_list=None, support_email=None, support_form_url=None, timekeeping=True, time_out_world_id=None, tutorial_world_id=None, update_rate_ms_maximum=None, update_rate_ms_minimum=None, update_rate_ms_normal=None, update_rate_ms_udon_manual=None, upload_analysis_percent=None, url_list=None, use_reliable_udp_for_voice=False, vive_windows_url=None, white_listed_asset_urls=None, player_url_resolver_version=None, player_url_resolver_sha1=None, websocket_max_friends_refresh_delay=900, websocket_quick_reconnect_time=2, websocket_reconnect_max_delay=2, local_vars_configuration=None): # noqa: E501 """APIConfig - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -258,12 +268,15 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self._voice_enable_degradation = None self._voice_enable_receiver_limiting = None self._address = None + self._age_verification_p = None + self._age_verification_status_visible = None self._announcements = None self._analytics_segment_new_ui_pct_of_users = None self._analytics_segment_new_ui_salt = None self._app_name = None self._available_language_codes = None self._available_languages = None + self._avatar_perf_limiter = None self._build_version_tag = None self._chatbox_log_buffer_seconds = None self._client_api_key = None @@ -288,6 +301,7 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self._current_privacy_version = None self._current_tos_version = None self._default_avatar = None + self._default_sticker_set = None self._deployment_group = None self._dev_language_codes = None self._dev_sdk_url = None @@ -342,6 +356,7 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self._server_name = None self._string_host_url_list = None self._support_email = None + self._support_form_url = None self._timekeeping = None self._time_out_world_id = None self._tutorial_world_id = None @@ -364,12 +379,15 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self.voice_enable_degradation = voice_enable_degradation self.voice_enable_receiver_limiting = voice_enable_receiver_limiting self.address = address + self.age_verification_p = age_verification_p + self.age_verification_status_visible = age_verification_status_visible self.announcements = announcements self.analytics_segment_new_ui_pct_of_users = analytics_segment_new_ui_pct_of_users self.analytics_segment_new_ui_salt = analytics_segment_new_ui_salt self.app_name = app_name self.available_language_codes = available_language_codes self.available_languages = available_languages + self.avatar_perf_limiter = avatar_perf_limiter self.build_version_tag = build_version_tag self.chatbox_log_buffer_seconds = chatbox_log_buffer_seconds self.client_api_key = client_api_key @@ -405,6 +423,7 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self.current_privacy_version = current_privacy_version self.current_tos_version = current_tos_version self.default_avatar = default_avatar + self.default_sticker_set = default_sticker_set self.deployment_group = deployment_group if dev_language_codes is not None: self.dev_language_codes = dev_language_codes @@ -465,6 +484,7 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self.server_name = server_name self.string_host_url_list = string_host_url_list self.support_email = support_email + self.support_form_url = support_form_url self.timekeeping = timekeeping self.time_out_world_id = time_out_world_id self.tutorial_world_id = tutorial_world_id @@ -561,6 +581,52 @@ def address(self, address): self._address = address + @property + def age_verification_p(self): + """Gets the age_verification_p of this APIConfig. # noqa: E501 + + + :return: The age_verification_p of this APIConfig. # noqa: E501 + :rtype: bool + """ + return self._age_verification_p + + @age_verification_p.setter + def age_verification_p(self, age_verification_p): + """Sets the age_verification_p of this APIConfig. + + + :param age_verification_p: The age_verification_p of this APIConfig. # noqa: E501 + :type age_verification_p: bool + """ + if self.local_vars_configuration.client_side_validation and age_verification_p is None: # noqa: E501 + raise ValueError("Invalid value for `age_verification_p`, must not be `None`") # noqa: E501 + + self._age_verification_p = age_verification_p + + @property + def age_verification_status_visible(self): + """Gets the age_verification_status_visible of this APIConfig. # noqa: E501 + + + :return: The age_verification_status_visible of this APIConfig. # noqa: E501 + :rtype: bool + """ + return self._age_verification_status_visible + + @age_verification_status_visible.setter + def age_verification_status_visible(self, age_verification_status_visible): + """Sets the age_verification_status_visible of this APIConfig. + + + :param age_verification_status_visible: The age_verification_status_visible of this APIConfig. # noqa: E501 + :type age_verification_status_visible: bool + """ + if self.local_vars_configuration.client_side_validation and age_verification_status_visible is None: # noqa: E501 + raise ValueError("Invalid value for `age_verification_status_visible`, must not be `None`") # noqa: E501 + + self._age_verification_status_visible = age_verification_status_visible + @property def announcements(self): """Gets the announcements of this APIConfig. # noqa: E501 @@ -717,6 +783,29 @@ def available_languages(self, available_languages): self._available_languages = available_languages + @property + def avatar_perf_limiter(self): + """Gets the avatar_perf_limiter of this APIConfig. # noqa: E501 + + + :return: The avatar_perf_limiter of this APIConfig. # noqa: E501 + :rtype: APIConfigAvatarPerfLimiter + """ + return self._avatar_perf_limiter + + @avatar_perf_limiter.setter + def avatar_perf_limiter(self, avatar_perf_limiter): + """Sets the avatar_perf_limiter of this APIConfig. + + + :param avatar_perf_limiter: The avatar_perf_limiter of this APIConfig. # noqa: E501 + :type avatar_perf_limiter: APIConfigAvatarPerfLimiter + """ + if self.local_vars_configuration.client_side_validation and avatar_perf_limiter is None: # noqa: E501 + raise ValueError("Invalid value for `avatar_perf_limiter`, must not be `None`") # noqa: E501 + + self._avatar_perf_limiter = avatar_perf_limiter + @property def build_version_tag(self): """Gets the build_version_tag of this APIConfig. # noqa: E501 @@ -1306,6 +1395,29 @@ def default_avatar(self, default_avatar): self._default_avatar = default_avatar + @property + def default_sticker_set(self): + """Gets the default_sticker_set of this APIConfig. # noqa: E501 + + + :return: The default_sticker_set of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._default_sticker_set + + @default_sticker_set.setter + def default_sticker_set(self, default_sticker_set): + """Sets the default_sticker_set of this APIConfig. + + + :param default_sticker_set: The default_sticker_set of this APIConfig. # noqa: E501 + :type default_sticker_set: str + """ + if self.local_vars_configuration.client_side_validation and default_sticker_set is None: # noqa: E501 + raise ValueError("Invalid value for `default_sticker_set`, must not be `None`") # noqa: E501 + + self._default_sticker_set = default_sticker_set + @property def deployment_group(self): """Gets the deployment_group of this APIConfig. # noqa: E501 @@ -2672,6 +2784,31 @@ def support_email(self, support_email): self._support_email = support_email + @property + def support_form_url(self): + """Gets the support_form_url of this APIConfig. # noqa: E501 + + VRChat's support form # noqa: E501 + + :return: The support_form_url of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._support_form_url + + @support_form_url.setter + def support_form_url(self, support_form_url): + """Sets the support_form_url of this APIConfig. + + VRChat's support form # noqa: E501 + + :param support_form_url: The support_form_url of this APIConfig. # noqa: E501 + :type support_form_url: str + """ + if self.local_vars_configuration.client_side_validation and support_form_url is None: # noqa: E501 + raise ValueError("Invalid value for `support_form_url`, must not be `None`") # noqa: E501 + + self._support_form_url = support_form_url + @property def timekeeping(self): """Gets the timekeeping of this APIConfig. # noqa: E501 diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index 5bdb1a8f..190a10e2 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_avatar_perf_limiter.py b/vrchatapi/models/api_config_avatar_perf_limiter.py new file mode 100644 index 00000000..9038b694 --- /dev/null +++ b/vrchatapi/models/api_config_avatar_perf_limiter.py @@ -0,0 +1,267 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.8 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class APIConfigAvatarPerfLimiter(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'android_mobile': 'PerformanceLimiterInfo', + 'pc': 'PerformanceLimiterInfo', + 'pico': 'PerformanceLimiterInfo', + 'quest': 'PerformanceLimiterInfo', + 'xr_elite': 'PerformanceLimiterInfo', + 'i_os_mobile': 'PerformanceLimiterInfo' + } + + attribute_map = { + 'android_mobile': 'AndroidMobile', + 'pc': 'PC', + 'pico': 'Pico', + 'quest': 'Quest', + 'xr_elite': 'XRElite', + 'i_os_mobile': 'iOSMobile' + } + + def __init__(self, android_mobile=None, pc=None, pico=None, quest=None, xr_elite=None, i_os_mobile=None, local_vars_configuration=None): # noqa: E501 + """APIConfigAvatarPerfLimiter - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._android_mobile = None + self._pc = None + self._pico = None + self._quest = None + self._xr_elite = None + self._i_os_mobile = None + self.discriminator = None + + self.android_mobile = android_mobile + self.pc = pc + self.pico = pico + self.quest = quest + self.xr_elite = xr_elite + self.i_os_mobile = i_os_mobile + + @property + def android_mobile(self): + """Gets the android_mobile of this APIConfigAvatarPerfLimiter. # noqa: E501 + + + :return: The android_mobile of this APIConfigAvatarPerfLimiter. # noqa: E501 + :rtype: PerformanceLimiterInfo + """ + return self._android_mobile + + @android_mobile.setter + def android_mobile(self, android_mobile): + """Sets the android_mobile of this APIConfigAvatarPerfLimiter. + + + :param android_mobile: The android_mobile of this APIConfigAvatarPerfLimiter. # noqa: E501 + :type android_mobile: PerformanceLimiterInfo + """ + if self.local_vars_configuration.client_side_validation and android_mobile is None: # noqa: E501 + raise ValueError("Invalid value for `android_mobile`, must not be `None`") # noqa: E501 + + self._android_mobile = android_mobile + + @property + def pc(self): + """Gets the pc of this APIConfigAvatarPerfLimiter. # noqa: E501 + + + :return: The pc of this APIConfigAvatarPerfLimiter. # noqa: E501 + :rtype: PerformanceLimiterInfo + """ + return self._pc + + @pc.setter + def pc(self, pc): + """Sets the pc of this APIConfigAvatarPerfLimiter. + + + :param pc: The pc of this APIConfigAvatarPerfLimiter. # noqa: E501 + :type pc: PerformanceLimiterInfo + """ + if self.local_vars_configuration.client_side_validation and pc is None: # noqa: E501 + raise ValueError("Invalid value for `pc`, must not be `None`") # noqa: E501 + + self._pc = pc + + @property + def pico(self): + """Gets the pico of this APIConfigAvatarPerfLimiter. # noqa: E501 + + + :return: The pico of this APIConfigAvatarPerfLimiter. # noqa: E501 + :rtype: PerformanceLimiterInfo + """ + return self._pico + + @pico.setter + def pico(self, pico): + """Sets the pico of this APIConfigAvatarPerfLimiter. + + + :param pico: The pico of this APIConfigAvatarPerfLimiter. # noqa: E501 + :type pico: PerformanceLimiterInfo + """ + if self.local_vars_configuration.client_side_validation and pico is None: # noqa: E501 + raise ValueError("Invalid value for `pico`, must not be `None`") # noqa: E501 + + self._pico = pico + + @property + def quest(self): + """Gets the quest of this APIConfigAvatarPerfLimiter. # noqa: E501 + + + :return: The quest of this APIConfigAvatarPerfLimiter. # noqa: E501 + :rtype: PerformanceLimiterInfo + """ + return self._quest + + @quest.setter + def quest(self, quest): + """Sets the quest of this APIConfigAvatarPerfLimiter. + + + :param quest: The quest of this APIConfigAvatarPerfLimiter. # noqa: E501 + :type quest: PerformanceLimiterInfo + """ + if self.local_vars_configuration.client_side_validation and quest is None: # noqa: E501 + raise ValueError("Invalid value for `quest`, must not be `None`") # noqa: E501 + + self._quest = quest + + @property + def xr_elite(self): + """Gets the xr_elite of this APIConfigAvatarPerfLimiter. # noqa: E501 + + + :return: The xr_elite of this APIConfigAvatarPerfLimiter. # noqa: E501 + :rtype: PerformanceLimiterInfo + """ + return self._xr_elite + + @xr_elite.setter + def xr_elite(self, xr_elite): + """Sets the xr_elite of this APIConfigAvatarPerfLimiter. + + + :param xr_elite: The xr_elite of this APIConfigAvatarPerfLimiter. # noqa: E501 + :type xr_elite: PerformanceLimiterInfo + """ + if self.local_vars_configuration.client_side_validation and xr_elite is None: # noqa: E501 + raise ValueError("Invalid value for `xr_elite`, must not be `None`") # noqa: E501 + + self._xr_elite = xr_elite + + @property + def i_os_mobile(self): + """Gets the i_os_mobile of this APIConfigAvatarPerfLimiter. # noqa: E501 + + + :return: The i_os_mobile of this APIConfigAvatarPerfLimiter. # noqa: E501 + :rtype: PerformanceLimiterInfo + """ + return self._i_os_mobile + + @i_os_mobile.setter + def i_os_mobile(self, i_os_mobile): + """Sets the i_os_mobile of this APIConfigAvatarPerfLimiter. + + + :param i_os_mobile: The i_os_mobile of this APIConfigAvatarPerfLimiter. # noqa: E501 + :type i_os_mobile: PerformanceLimiterInfo + """ + if self.local_vars_configuration.client_side_validation and i_os_mobile is None: # noqa: E501 + raise ValueError("Invalid value for `i_os_mobile`, must not be `None`") # noqa: E501 + + self._i_os_mobile = i_os_mobile + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, APIConfigAvatarPerfLimiter): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, APIConfigAvatarPerfLimiter): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/api_config_constants.py b/vrchatapi/models/api_config_constants.py index bc7cd32c..7c342aee 100644 --- a/vrchatapi/models/api_config_constants.py +++ b/vrchatapi/models/api_config_constants.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_groups.py b/vrchatapi/models/api_config_constants_groups.py index 9af6fcfd..0117d357 100644 --- a/vrchatapi/models/api_config_constants_groups.py +++ b/vrchatapi/models/api_config_constants_groups.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instance.py b/vrchatapi/models/api_config_constants_instance.py index 26ca349d..0750a80d 100644 --- a/vrchatapi/models/api_config_constants_instance.py +++ b/vrchatapi/models/api_config_constants_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbrackets.py b/vrchatapi/models/api_config_constants_instancepopulationbrackets.py index dc414edf..75294bf1 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbrackets.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbrackets.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py b/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py index e57e5db4..e7745859 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py b/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py index 58f5654e..c87255a9 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py b/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py index 8c290a26..97c77cc2 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_language.py b/vrchatapi/models/api_config_constants_language.py index 64ab6639..dfdc58eb 100644 --- a/vrchatapi/models/api_config_constants_language.py +++ b/vrchatapi/models/api_config_constants_language.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index 3516920f..559a1baa 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index f395f464..a7a804d8 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_min_supported_client_build_number.py b/vrchatapi/models/api_config_min_supported_client_build_number.py index 7461dbc6..34a83a0c 100644 --- a/vrchatapi/models/api_config_min_supported_client_build_number.py +++ b/vrchatapi/models/api_config_min_supported_client_build_number.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_offline_analysis.py b/vrchatapi/models/api_config_offline_analysis.py index ad93f248..4ef2d35e 100644 --- a/vrchatapi/models/api_config_offline_analysis.py +++ b/vrchatapi/models/api_config_offline_analysis.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_categories.py b/vrchatapi/models/api_config_report_categories.py index c6e5a21d..a833df4e 100644 --- a/vrchatapi/models/api_config_report_categories.py +++ b/vrchatapi/models/api_config_report_categories.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -39,10 +39,12 @@ class APIConfigReportCategories(object): 'avatar': 'ReportCategory', 'behavior': 'ReportCategory', 'chat': 'ReportCategory', + 'emoji': 'ReportCategory', 'environment': 'ReportCategory', 'groupstore': 'ReportCategory', 'image': 'ReportCategory', 'text': 'ReportCategory', + 'sticker': 'ReportCategory', 'warnings': 'ReportCategory', 'worldimage': 'ReportCategory', 'worldstore': 'ReportCategory' @@ -52,16 +54,18 @@ class APIConfigReportCategories(object): 'avatar': 'avatar', 'behavior': 'behavior', 'chat': 'chat', + 'emoji': 'emoji', 'environment': 'environment', 'groupstore': 'groupstore', 'image': 'image', 'text': 'text', + 'sticker': 'sticker', 'warnings': 'warnings', 'worldimage': 'worldimage', 'worldstore': 'worldstore' } - def __init__(self, avatar=None, behavior=None, chat=None, environment=None, groupstore=None, image=None, text=None, warnings=None, worldimage=None, worldstore=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, avatar=None, behavior=None, chat=None, emoji=None, environment=None, groupstore=None, image=None, text=None, sticker=None, warnings=None, worldimage=None, worldstore=None, local_vars_configuration=None): # noqa: E501 """APIConfigReportCategories - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -70,10 +74,12 @@ def __init__(self, avatar=None, behavior=None, chat=None, environment=None, grou self._avatar = None self._behavior = None self._chat = None + self._emoji = None self._environment = None self._groupstore = None self._image = None self._text = None + self._sticker = None self._warnings = None self._worldimage = None self._worldstore = None @@ -82,10 +88,14 @@ def __init__(self, avatar=None, behavior=None, chat=None, environment=None, grou self.avatar = avatar self.behavior = behavior self.chat = chat + if emoji is not None: + self.emoji = emoji self.environment = environment self.groupstore = groupstore self.image = image self.text = text + if sticker is not None: + self.sticker = sticker self.warnings = warnings self.worldimage = worldimage self.worldstore = worldstore @@ -159,6 +169,27 @@ def chat(self, chat): self._chat = chat + @property + def emoji(self): + """Gets the emoji of this APIConfigReportCategories. # noqa: E501 + + + :return: The emoji of this APIConfigReportCategories. # noqa: E501 + :rtype: ReportCategory + """ + return self._emoji + + @emoji.setter + def emoji(self, emoji): + """Sets the emoji of this APIConfigReportCategories. + + + :param emoji: The emoji of this APIConfigReportCategories. # noqa: E501 + :type emoji: ReportCategory + """ + + self._emoji = emoji + @property def environment(self): """Gets the environment of this APIConfigReportCategories. # noqa: E501 @@ -251,6 +282,27 @@ def text(self, text): self._text = text + @property + def sticker(self): + """Gets the sticker of this APIConfigReportCategories. # noqa: E501 + + + :return: The sticker of this APIConfigReportCategories. # noqa: E501 + :rtype: ReportCategory + """ + return self._sticker + + @sticker.setter + def sticker(self, sticker): + """Sets the sticker of this APIConfigReportCategories. + + + :param sticker: The sticker of this APIConfigReportCategories. # noqa: E501 + :type sticker: ReportCategory + """ + + self._sticker = sticker + @property def warnings(self): """Gets the warnings of this APIConfigReportCategories. # noqa: E501 diff --git a/vrchatapi/models/api_config_report_reasons.py b/vrchatapi/models/api_config_report_reasons.py index cc3c8233..956798bf 100644 --- a/vrchatapi/models/api_config_report_reasons.py +++ b/vrchatapi/models/api_config_report_reasons.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index 7eafb3e3..64865dd6 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index e33c5ca2..b6f018dd 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index 1c25b53e..821eb2e7 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/badge.py b/vrchatapi/models/badge.py index d6f9a732..1d301a5f 100644 --- a/vrchatapi/models/badge.py +++ b/vrchatapi/models/badge.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index a530bf01..122505cc 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index 5c7ce0f8..ca4b3b96 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index b91de6c4..c807ed72 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index 1f6452a2..4e25a75b 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index 948399a5..73f342b5 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index 38e95852..b4cc8cb8 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index cb4bd313..90b41d8d 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_post_request.py b/vrchatapi/models/create_group_post_request.py index 9f3ee347..29fa0d0d 100644 --- a/vrchatapi/models/create_group_post_request.py +++ b/vrchatapi/models/create_group_post_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index bc084bfc..d9d313eb 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index 3060894e..429c7ed2 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_instance_request.py b/vrchatapi/models/create_instance_request.py index cb8e1251..715c6d1a 100644 --- a/vrchatapi/models/create_instance_request.py +++ b/vrchatapi/models/create_instance_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index 7411f376..a7b3b8ab 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index d3274563..a92b3434 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -41,6 +41,8 @@ class CurrentUser(object): 'account_deletion_date': 'date', 'account_deletion_log': 'list[AccountDeletionLog]', 'active_friends': 'list[str]', + 'age_verification_status': 'str', + 'age_verified': 'bool', 'allow_avatar_copying': 'bool', 'badges': 'list[Badge]', 'bio': 'str', @@ -67,6 +69,7 @@ class CurrentUser(object): 'has_pending_email': 'bool', 'home_location': 'str', 'id': 'str', + 'is_adult': 'bool', 'is_booping_enabled': 'bool', 'is_friend': 'bool', 'last_activity': 'datetime', @@ -111,6 +114,8 @@ class CurrentUser(object): 'account_deletion_date': 'accountDeletionDate', 'account_deletion_log': 'accountDeletionLog', 'active_friends': 'activeFriends', + 'age_verification_status': 'ageVerificationStatus', + 'age_verified': 'ageVerified', 'allow_avatar_copying': 'allowAvatarCopying', 'badges': 'badges', 'bio': 'bio', @@ -137,6 +142,7 @@ class CurrentUser(object): 'has_pending_email': 'hasPendingEmail', 'home_location': 'homeLocation', 'id': 'id', + 'is_adult': 'isAdult', 'is_booping_enabled': 'isBoopingEnabled', 'is_friend': 'isFriend', 'last_activity': 'last_activity', @@ -175,7 +181,7 @@ class CurrentUser(object): 'username': 'username' } - def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, account_deletion_date=None, account_deletion_log=None, active_friends=None, allow_avatar_copying=None, badges=None, bio=None, bio_links=None, current_avatar=None, current_avatar_asset_url=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, date_joined=None, developer_type=None, display_name=None, email_verified=None, fallback_avatar=None, friend_group_names=None, friend_key=None, friends=None, has_birthday=None, hide_content_filter_settings=None, user_language=None, user_language_code=None, has_email=None, has_logged_in_from_client=None, has_pending_email=None, home_location=None, id=None, is_booping_enabled=True, is_friend=False, last_activity=None, last_login=None, last_mobile=None, last_platform=None, obfuscated_email=None, obfuscated_pending_email=None, oculus_id=None, google_id=None, google_details=None, pico_id=None, vive_id=None, offline_friends=None, online_friends=None, past_display_names=None, presence=None, profile_pic_override=None, profile_pic_override_thumbnail=None, pronouns=None, queued_instance=None, receive_mobile_invitations=None, state=None, status=None, status_description=None, status_first_time=None, status_history=None, steam_details=None, steam_id=None, tags=None, two_factor_auth_enabled=None, two_factor_auth_enabled_date=None, unsubscribe=None, updated_at=None, user_icon=None, username=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, account_deletion_date=None, account_deletion_log=None, active_friends=None, age_verification_status=None, age_verified=None, allow_avatar_copying=None, badges=None, bio=None, bio_links=None, current_avatar=None, current_avatar_asset_url=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, date_joined=None, developer_type=None, display_name=None, email_verified=None, fallback_avatar=None, friend_group_names=None, friend_key=None, friends=None, has_birthday=None, hide_content_filter_settings=None, user_language=None, user_language_code=None, has_email=None, has_logged_in_from_client=None, has_pending_email=None, home_location=None, id=None, is_adult=None, is_booping_enabled=True, is_friend=False, last_activity=None, last_login=None, last_mobile=None, last_platform=None, obfuscated_email=None, obfuscated_pending_email=None, oculus_id=None, google_id=None, google_details=None, pico_id=None, vive_id=None, offline_friends=None, online_friends=None, past_display_names=None, presence=None, profile_pic_override=None, profile_pic_override_thumbnail=None, pronouns=None, queued_instance=None, receive_mobile_invitations=None, state=None, status=None, status_description=None, status_first_time=None, status_history=None, steam_details=None, steam_id=None, tags=None, two_factor_auth_enabled=None, two_factor_auth_enabled_date=None, unsubscribe=None, updated_at=None, user_icon=None, username=None, local_vars_configuration=None): # noqa: E501 """CurrentUser - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -186,6 +192,8 @@ def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, acc self._account_deletion_date = None self._account_deletion_log = None self._active_friends = None + self._age_verification_status = None + self._age_verified = None self._allow_avatar_copying = None self._badges = None self._bio = None @@ -212,6 +220,7 @@ def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, acc self._has_pending_email = None self._home_location = None self._id = None + self._is_adult = None self._is_booping_enabled = None self._is_friend = None self._last_activity = None @@ -257,6 +266,8 @@ def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, acc self.account_deletion_log = account_deletion_log if active_friends is not None: self.active_friends = active_friends + self.age_verification_status = age_verification_status + self.age_verified = age_verified self.allow_avatar_copying = allow_avatar_copying if badges is not None: self.badges = badges @@ -286,6 +297,7 @@ def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, acc self.has_pending_email = has_pending_email self.home_location = home_location self.id = id + self.is_adult = is_adult if is_booping_enabled is not None: self.is_booping_enabled = is_booping_enabled self.is_friend = is_friend @@ -452,6 +464,52 @@ def active_friends(self, active_friends): self._active_friends = active_friends + @property + def age_verification_status(self): + """Gets the age_verification_status of this CurrentUser. # noqa: E501 + + + :return: The age_verification_status of this CurrentUser. # noqa: E501 + :rtype: str + """ + return self._age_verification_status + + @age_verification_status.setter + def age_verification_status(self, age_verification_status): + """Sets the age_verification_status of this CurrentUser. + + + :param age_verification_status: The age_verification_status of this CurrentUser. # noqa: E501 + :type age_verification_status: str + """ + if self.local_vars_configuration.client_side_validation and age_verification_status is None: # noqa: E501 + raise ValueError("Invalid value for `age_verification_status`, must not be `None`") # noqa: E501 + + self._age_verification_status = age_verification_status + + @property + def age_verified(self): + """Gets the age_verified of this CurrentUser. # noqa: E501 + + + :return: The age_verified of this CurrentUser. # noqa: E501 + :rtype: bool + """ + return self._age_verified + + @age_verified.setter + def age_verified(self, age_verified): + """Sets the age_verified of this CurrentUser. + + + :param age_verified: The age_verified of this CurrentUser. # noqa: E501 + :type age_verified: bool + """ + if self.local_vars_configuration.client_side_validation and age_verified is None: # noqa: E501 + raise ValueError("Invalid value for `age_verified`, must not be `None`") # noqa: E501 + + self._age_verified = age_verified + @property def allow_avatar_copying(self): """Gets the allow_avatar_copying of this CurrentUser. # noqa: E501 @@ -1054,6 +1112,29 @@ def id(self, id): self._id = id + @property + def is_adult(self): + """Gets the is_adult of this CurrentUser. # noqa: E501 + + + :return: The is_adult of this CurrentUser. # noqa: E501 + :rtype: bool + """ + return self._is_adult + + @is_adult.setter + def is_adult(self, is_adult): + """Sets the is_adult of this CurrentUser. + + + :param is_adult: The is_adult of this CurrentUser. # noqa: E501 + :type is_adult: bool + """ + if self.local_vars_configuration.client_side_validation and is_adult is None: # noqa: E501 + raise ValueError("Invalid value for `is_adult`, must not be `None`") # noqa: E501 + + self._is_adult = is_adult + @property def is_booping_enabled(self): """Gets the is_booping_enabled of this CurrentUser. # noqa: E501 diff --git a/vrchatapi/models/current_user_presence.py b/vrchatapi/models/current_user_presence.py index 562e886d..34ca6ff7 100644 --- a/vrchatapi/models/current_user_presence.py +++ b/vrchatapi/models/current_user_presence.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/deployment_group.py b/vrchatapi/models/deployment_group.py index 72ed1ce5..a25d38a4 100644 --- a/vrchatapi/models/deployment_group.py +++ b/vrchatapi/models/deployment_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index acd6c3a5..31930668 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index 0c9a7c3c..10638ddb 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index 93fe0e83..6391a798 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index 946f8fed..ced8fba1 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index c29b3c4c..147fb54e 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index 392c7460..dde4778a 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index cbac1506..bd95fcb8 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorited_world.py b/vrchatapi/models/favorited_world.py index 8af97233..8d9b5fdf 100644 --- a/vrchatapi/models/favorited_world.py +++ b/vrchatapi/models/favorited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -62,6 +62,7 @@ class FavoritedWorld(object): 'thumbnail_image_url': 'str', 'unity_packages': 'list[UnityPackage]', 'updated_at': 'datetime', + 'url_list': 'list[str]', 'udon_products': 'list[str]', 'version': 'int' } @@ -93,11 +94,12 @@ class FavoritedWorld(object): 'thumbnail_image_url': 'thumbnailImageUrl', 'unity_packages': 'unityPackages', 'updated_at': 'updated_at', + 'url_list': 'urlList', 'udon_products': 'udonProducts', 'version': 'version' } - def __init__(self, author_id=None, author_name=None, capacity=None, description=None, recommended_capacity=None, created_at=None, favorites=0, favorite_group=None, favorite_id=None, featured=False, visits=0, heat=0, id=None, image_url=None, labs_publication_date=None, name=None, occupants=0, organization='vrchat', popularity=0, preview_youtube_id=None, publication_date=None, release_status=None, tags=None, thumbnail_image_url=None, unity_packages=None, updated_at=None, udon_products=None, version=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, author_id=None, author_name=None, capacity=None, description=None, recommended_capacity=None, created_at=None, favorites=0, favorite_group=None, favorite_id=None, featured=False, visits=0, heat=0, id=None, image_url=None, labs_publication_date=None, name=None, occupants=0, organization='vrchat', popularity=0, preview_youtube_id=None, publication_date=None, release_status=None, tags=None, thumbnail_image_url=None, unity_packages=None, updated_at=None, url_list=None, udon_products=None, version=None, local_vars_configuration=None): # noqa: E501 """FavoritedWorld - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -129,6 +131,7 @@ def __init__(self, author_id=None, author_name=None, capacity=None, description= self._thumbnail_image_url = None self._unity_packages = None self._updated_at = None + self._url_list = None self._udon_products = None self._version = None self.discriminator = None @@ -161,6 +164,7 @@ def __init__(self, author_id=None, author_name=None, capacity=None, description= self.thumbnail_image_url = thumbnail_image_url self.unity_packages = unity_packages self.updated_at = updated_at + self.url_list = url_list if udon_products is not None: self.udon_products = udon_products self.version = version @@ -810,6 +814,29 @@ def updated_at(self, updated_at): self._updated_at = updated_at + @property + def url_list(self): + """Gets the url_list of this FavoritedWorld. # noqa: E501 + + + :return: The url_list of this FavoritedWorld. # noqa: E501 + :rtype: list[str] + """ + return self._url_list + + @url_list.setter + def url_list(self, url_list): + """Sets the url_list of this FavoritedWorld. + + + :param url_list: The url_list of this FavoritedWorld. # noqa: E501 + :type url_list: list[str] + """ + if self.local_vars_configuration.client_side_validation and url_list is None: # noqa: E501 + raise ValueError("Invalid value for `url_list`, must not be `None`") # noqa: E501 + + self._url_list = url_list + @property def udon_products(self): """Gets the udon_products of this FavoritedWorld. # noqa: E501 diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index e157e667..3c3a71fc 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index 718f2fad..764223a5 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index c755bbfa..b083ea30 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index 928f7cee..89920cfa 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index 0cbb0da0..323f5988 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index 84117962..b522f7ca 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index acd8e1e0..b3e0ae16 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index 608a13c8..8987d844 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index 140d5cf6..01106ad9 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_access_type.py b/vrchatapi/models/group_access_type.py index b8c0b5bc..ef53a09c 100644 --- a/vrchatapi/models/group_access_type.py +++ b/vrchatapi/models/group_access_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index b1dee799..e7745311 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index 02d2110d..d066a863 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index 18ab9457..7a9de369 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index bdc01d4a..2f36a95d 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_instance.py b/vrchatapi/models/group_instance.py index 4b3a867e..04b4b55f 100644 --- a/vrchatapi/models/group_instance.py +++ b/vrchatapi/models/group_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_request_action.py b/vrchatapi/models/group_join_request_action.py index 6a6c1930..210062db 100644 --- a/vrchatapi/models/group_join_request_action.py +++ b/vrchatapi/models/group_join_request_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index 692501ff..7a875e22 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index c02c2998..fd83222b 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index 70d7ee3c..c78159a5 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index 533eda4f..9ab75e46 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index 8dbedf31..53e4f5cc 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index 497f595f..aa42707c 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index d4a7b930..3fb67b44 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post.py b/vrchatapi/models/group_post.py index 4a8a33e7..cd91777f 100644 --- a/vrchatapi/models/group_post.py +++ b/vrchatapi/models/group_post.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post_visibility.py b/vrchatapi/models/group_post_visibility.py index 30f00aa4..3c4df47d 100644 --- a/vrchatapi/models/group_post_visibility.py +++ b/vrchatapi/models/group_post_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index 829bfa0e..6f9501bf 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index 6342a563..229a0567 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index 5a7db70b..d19e47e7 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_search_sort.py b/vrchatapi/models/group_search_sort.py index ef5ae8eb..145b1ba6 100644 --- a/vrchatapi/models/group_search_sort.py +++ b/vrchatapi/models/group_search_sort.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index ba13f418..13b9c66c 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index 14e38e87..2ae90728 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index 4cfe93cb..7ecb3f04 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index f0495c7b..90cf0a5a 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index c7f6f70f..ca57dc3f 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index d63cbdf3..6368d512 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index 51c64db6..9f962519 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -37,6 +37,7 @@ class Instance(object): """ openapi_types = { 'active': 'bool', + 'age_gate': 'str', 'can_request_invite': 'bool', 'capacity': 'int', 'client_number': 'str', @@ -53,7 +54,7 @@ class Instance(object): 'permanent': 'bool', 'photon_region': 'Region', 'platforms': 'InstancePlatforms', - 'player_persistence_enabled': 'str', + 'player_persistence_enabled': 'bool', 'region': 'InstanceRegion', 'secure_name': 'str', 'short_name': 'str', @@ -80,6 +81,7 @@ class Instance(object): attribute_map = { 'active': 'active', + 'age_gate': 'ageGate', 'can_request_invite': 'canRequestInvite', 'capacity': 'capacity', 'client_number': 'clientNumber', @@ -121,13 +123,14 @@ class Instance(object): 'hard_close': 'hardClose' } - def __init__(self, active=True, can_request_invite=True, capacity=None, client_number=None, display_name=None, full=False, game_server_version=None, id=None, instance_id=None, instance_persistence_enabled=None, location=None, n_users=None, name=None, owner_id=None, permanent=False, photon_region=None, platforms=None, player_persistence_enabled=None, region=None, secure_name=None, short_name=None, tags=None, type=None, world_id=None, hidden=None, friends=None, private=None, queue_enabled=None, queue_size=None, recommended_capacity=None, role_restricted=None, strict=None, user_count=None, world=None, users=None, group_access_type=None, has_capacity_for_you=None, nonce=None, closed_at=None, hard_close=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, active=True, age_gate=None, can_request_invite=True, capacity=None, client_number=None, display_name=None, full=False, game_server_version=None, id=None, instance_id=None, instance_persistence_enabled=None, location=None, n_users=None, name=None, owner_id=None, permanent=False, photon_region=None, platforms=None, player_persistence_enabled=None, region=None, secure_name=None, short_name=None, tags=None, type=None, world_id=None, hidden=None, friends=None, private=None, queue_enabled=None, queue_size=None, recommended_capacity=None, role_restricted=None, strict=None, user_count=None, world=None, users=None, group_access_type=None, has_capacity_for_you=None, nonce=None, closed_at=None, hard_close=None, local_vars_configuration=None): # noqa: E501 """Instance - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._active = None + self._age_gate = None self._can_request_invite = None self._capacity = None self._client_number = None @@ -170,6 +173,7 @@ def __init__(self, active=True, can_request_invite=True, capacity=None, client_n self.discriminator = None self.active = active + self.age_gate = age_gate self.can_request_invite = can_request_invite self.capacity = capacity self.client_number = client_number @@ -241,6 +245,27 @@ def active(self, active): self._active = active + @property + def age_gate(self): + """Gets the age_gate of this Instance. # noqa: E501 + + + :return: The age_gate of this Instance. # noqa: E501 + :rtype: str + """ + return self._age_gate + + @age_gate.setter + def age_gate(self, age_gate): + """Sets the age_gate of this Instance. + + + :param age_gate: The age_gate of this Instance. # noqa: E501 + :type age_gate: str + """ + + self._age_gate = age_gate + @property def can_request_invite(self): """Gets the can_request_invite of this Instance. # noqa: E501 @@ -632,7 +657,7 @@ def player_persistence_enabled(self): :return: The player_persistence_enabled of this Instance. # noqa: E501 - :rtype: str + :rtype: bool """ return self._player_persistence_enabled @@ -642,7 +667,7 @@ def player_persistence_enabled(self, player_persistence_enabled): :param player_persistence_enabled: The player_persistence_enabled of this Instance. # noqa: E501 - :type player_persistence_enabled: str + :type player_persistence_enabled: bool """ self._player_persistence_enabled = player_persistence_enabled diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index f7c55e92..b679aae2 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_region.py b/vrchatapi/models/instance_region.py index 3af457b5..f01e0b26 100644 --- a/vrchatapi/models/instance_region.py +++ b/vrchatapi/models/instance_region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index 7516f7d2..142311eb 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index 7b80c164..b652e02b 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index 9053449f..1dcc38f4 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index c3849a8f..3b6ae9fe 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index f6d878a3..8ce81616 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index 5fb1f48f..479fc2da 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/jam.py b/vrchatapi/models/jam.py index cf9bb24e..e212af36 100644 --- a/vrchatapi/models/jam.py +++ b/vrchatapi/models/jam.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/jam_state_change_dates.py b/vrchatapi/models/jam_state_change_dates.py index a80b6afc..38512ac7 100644 --- a/vrchatapi/models/jam_state_change_dates.py +++ b/vrchatapi/models/jam_state_change_dates.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index 0e089a60..7247591b 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index f24ae745..36d632ef 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index 89422a53..80354106 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index b56c7057..595f2e4c 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_group.py b/vrchatapi/models/limited_group.py index b19db595..d5f79d34 100644 --- a/vrchatapi/models/limited_group.py +++ b/vrchatapi/models/limited_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index a0e8275e..4a68e9b9 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user.py b/vrchatapi/models/limited_user.py index c2a66e47..417f3110 100644 --- a/vrchatapi/models/limited_user.py +++ b/vrchatapi/models/limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user_groups.py b/vrchatapi/models/limited_user_groups.py index 9a0d7c13..6e013f2a 100644 --- a/vrchatapi/models/limited_user_groups.py +++ b/vrchatapi/models/limited_user_groups.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index d8090d21..1c313c50 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index 9f077c8d..f61b9f46 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index e3f73b7c..2b43f702 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index 1622079f..29fc3955 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite.py b/vrchatapi/models/notification_detail_invite.py index 710639af..f7a651d0 100644 --- a/vrchatapi/models/notification_detail_invite.py +++ b/vrchatapi/models/notification_detail_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite_response.py b/vrchatapi/models/notification_detail_invite_response.py index 1afc4402..731e5591 100644 --- a/vrchatapi/models/notification_detail_invite_response.py +++ b/vrchatapi/models/notification_detail_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite.py b/vrchatapi/models/notification_detail_request_invite.py index fc7ff791..29485069 100644 --- a/vrchatapi/models/notification_detail_request_invite.py +++ b/vrchatapi/models/notification_detail_request_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite_response.py b/vrchatapi/models/notification_detail_request_invite_response.py index 33e23745..1b31c8eb 100644 --- a/vrchatapi/models/notification_detail_request_invite_response.py +++ b/vrchatapi/models/notification_detail_request_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_vote_to_kick.py b/vrchatapi/models/notification_detail_vote_to_kick.py index 43f3b6c3..8b2790ae 100644 --- a/vrchatapi/models/notification_detail_vote_to_kick.py +++ b/vrchatapi/models/notification_detail_vote_to_kick.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index fba91336..308f239b 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index 2e49fc90..8fb2a620 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index b3026dfe..1b438440 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index 20c82793..95fc7906 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/performance_limiter_info.py b/vrchatapi/models/performance_limiter_info.py new file mode 100644 index 00000000..3f078fbc --- /dev/null +++ b/vrchatapi/models/performance_limiter_info.py @@ -0,0 +1,161 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.8 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class PerformanceLimiterInfo(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'allowed': 'bool', + 'max_seats': 'int' + } + + attribute_map = { + 'allowed': 'allowed', + 'max_seats': 'maxSeats' + } + + def __init__(self, allowed=None, max_seats=None, local_vars_configuration=None): # noqa: E501 + """PerformanceLimiterInfo - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._allowed = None + self._max_seats = None + self.discriminator = None + + self.allowed = allowed + self.max_seats = max_seats + + @property + def allowed(self): + """Gets the allowed of this PerformanceLimiterInfo. # noqa: E501 + + + :return: The allowed of this PerformanceLimiterInfo. # noqa: E501 + :rtype: bool + """ + return self._allowed + + @allowed.setter + def allowed(self, allowed): + """Sets the allowed of this PerformanceLimiterInfo. + + + :param allowed: The allowed of this PerformanceLimiterInfo. # noqa: E501 + :type allowed: bool + """ + if self.local_vars_configuration.client_side_validation and allowed is None: # noqa: E501 + raise ValueError("Invalid value for `allowed`, must not be `None`") # noqa: E501 + + self._allowed = allowed + + @property + def max_seats(self): + """Gets the max_seats of this PerformanceLimiterInfo. # noqa: E501 + + Maximum amount of seats. -1 means no limit. # noqa: E501 + + :return: The max_seats of this PerformanceLimiterInfo. # noqa: E501 + :rtype: int + """ + return self._max_seats + + @max_seats.setter + def max_seats(self, max_seats): + """Sets the max_seats of this PerformanceLimiterInfo. + + Maximum amount of seats. -1 means no limit. # noqa: E501 + + :param max_seats: The max_seats of this PerformanceLimiterInfo. # noqa: E501 + :type max_seats: int + """ + if self.local_vars_configuration.client_side_validation and max_seats is None: # noqa: E501 + raise ValueError("Invalid value for `max_seats`, must not be `None`") # noqa: E501 + + self._max_seats = max_seats + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, PerformanceLimiterInfo): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, PerformanceLimiterInfo): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/performance_ratings.py b/vrchatapi/models/performance_ratings.py index 258b901d..046d8c0f 100644 --- a/vrchatapi/models/performance_ratings.py +++ b/vrchatapi/models/performance_ratings.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index a35045f5..6c0e061b 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/platform_build_info.py b/vrchatapi/models/platform_build_info.py index 08480bec..68db81cc 100644 --- a/vrchatapi/models/platform_build_info.py +++ b/vrchatapi/models/platform_build_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index 278e7201..95ef7491 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index 95d48a88..530e6369 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index 9b846f35..5d207835 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index 66f3f154..450f3527 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/report_category.py b/vrchatapi/models/report_category.py index 61b618b9..7fe355fd 100644 --- a/vrchatapi/models/report_category.py +++ b/vrchatapi/models/report_category.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/report_reason.py b/vrchatapi/models/report_reason.py index a700a54e..d0848e20 100644 --- a/vrchatapi/models/report_reason.py +++ b/vrchatapi/models/report_reason.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/represented_group.py b/vrchatapi/models/represented_group.py index a87cd59a..67e6f0a7 100644 --- a/vrchatapi/models/represented_group.py +++ b/vrchatapi/models/represented_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index ce0ef0b3..d90c5852 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index a5e31cf5..615ee374 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index b4fcd4da..a2ca3da5 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index 8c24e936..bd840ed8 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index b5d745b6..5b1db0f8 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/submission.py b/vrchatapi/models/submission.py index 3f64e226..7d3b450d 100644 --- a/vrchatapi/models/submission.py +++ b/vrchatapi/models/submission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index 4a3669d4..76118cf9 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index db1fce10..6b349693 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index f53456bd..9f72e919 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index 117bddf2..70741a05 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index 4f8f8476..eebe217f 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index 10ed2acc..96484fb0 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index 5001e825..44c9f6f5 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index 0d225c14..fbbc8a8a 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index 718531f1..7708738a 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_email_code.py b/vrchatapi/models/two_factor_email_code.py index 8d40d0ab..02787748 100644 --- a/vrchatapi/models/two_factor_email_code.py +++ b/vrchatapi/models/two_factor_email_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index b901135c..5acee546 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index 2af8b535..90379547 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index 66ed000d..b88a765e 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index 5abd48b4..e92924e1 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index ba90a326..e67c3dfc 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index 35f54971..2bee795a 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index 00b90f9c..2ccdb388 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index 465f6155..09907756 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index 20f9184c..8db96b7a 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index ea3cae94..52ec08c1 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index 29b96ec7..2d024dfc 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,6 +36,7 @@ class User(object): and the value is json key in definition. """ openapi_types = { + 'age_verification_status': 'str', 'allow_avatar_copying': 'bool', 'badges': 'list[Badge]', 'bio': 'str', @@ -74,6 +75,7 @@ class User(object): } attribute_map = { + 'age_verification_status': 'ageVerificationStatus', 'allow_avatar_copying': 'allowAvatarCopying', 'badges': 'badges', 'bio': 'bio', @@ -111,12 +113,13 @@ class User(object): 'world_id': 'worldId' } - def __init__(self, allow_avatar_copying=True, badges=None, bio=None, bio_links=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, date_joined=None, developer_type=None, display_name=None, friend_key=None, friend_request_status=None, id=None, instance_id=None, is_friend=None, last_activity=None, last_login=None, last_mobile=None, last_platform=None, location=None, note=None, platform=None, profile_pic_override=None, profile_pic_override_thumbnail=None, pronouns=None, state=None, status=None, status_description=None, tags=None, traveling_to_instance=None, traveling_to_location=None, traveling_to_world=None, user_icon=None, username=None, world_id=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, age_verification_status=None, allow_avatar_copying=True, badges=None, bio=None, bio_links=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, date_joined=None, developer_type=None, display_name=None, friend_key=None, friend_request_status=None, id=None, instance_id=None, is_friend=None, last_activity=None, last_login=None, last_mobile=None, last_platform=None, location=None, note=None, platform=None, profile_pic_override=None, profile_pic_override_thumbnail=None, pronouns=None, state=None, status=None, status_description=None, tags=None, traveling_to_instance=None, traveling_to_location=None, traveling_to_world=None, user_icon=None, username=None, world_id=None, local_vars_configuration=None): # noqa: E501 """User - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration + self._age_verification_status = None self._allow_avatar_copying = None self._badges = None self._bio = None @@ -154,6 +157,7 @@ def __init__(self, allow_avatar_copying=True, badges=None, bio=None, bio_links=N self._world_id = None self.discriminator = None + self.age_verification_status = age_verification_status self.allow_avatar_copying = allow_avatar_copying if badges is not None: self.badges = badges @@ -201,6 +205,29 @@ def __init__(self, allow_avatar_copying=True, badges=None, bio=None, bio_links=N if world_id is not None: self.world_id = world_id + @property + def age_verification_status(self): + """Gets the age_verification_status of this User. # noqa: E501 + + + :return: The age_verification_status of this User. # noqa: E501 + :rtype: str + """ + return self._age_verification_status + + @age_verification_status.setter + def age_verification_status(self, age_verification_status): + """Sets the age_verification_status of this User. + + + :param age_verification_status: The age_verification_status of this User. # noqa: E501 + :type age_verification_status: str + """ + if self.local_vars_configuration.client_side_validation and age_verification_status is None: # noqa: E501 + raise ValueError("Invalid value for `age_verification_status`, must not be `None`") # noqa: E501 + + self._age_verification_status = age_verification_status + @property def allow_avatar_copying(self): """Gets the allow_avatar_copying of this User. # noqa: E501 diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index ec1ffea1..b1691a82 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index 74392ee7..dfc14707 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index 1664ca38..4f215f12 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index 45bb0395..90180043 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_email_code_result.py b/vrchatapi/models/verify2_fa_email_code_result.py index e83c9931..af02289f 100644 --- a/vrchatapi/models/verify2_fa_email_code_result.py +++ b/vrchatapi/models/verify2_fa_email_code_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index 90c08ed4..b30d6a7f 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index e83df1c5..9bf63b2d 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index 68426f16..4d884954 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -63,6 +63,7 @@ class World(object): 'thumbnail_image_url': 'str', 'unity_packages': 'list[UnityPackage]', 'updated_at': 'datetime', + 'url_list': 'list[str]', 'version': 'int', 'visits': 'int', 'udon_products': 'list[str]' @@ -96,12 +97,13 @@ class World(object): 'thumbnail_image_url': 'thumbnailImageUrl', 'unity_packages': 'unityPackages', 'updated_at': 'updated_at', + 'url_list': 'urlList', 'version': 'version', 'visits': 'visits', 'udon_products': 'udonProducts' } - def __init__(self, author_id=None, author_name=None, capacity=None, recommended_capacity=None, created_at=None, description=None, favorites=0, featured=False, heat=0, id=None, image_url=None, instances=None, labs_publication_date=None, name=None, namespace=None, occupants=0, organization='vrchat', popularity=0, preview_youtube_id=None, private_occupants=0, public_occupants=0, publication_date=None, release_status=None, tags=None, thumbnail_image_url=None, unity_packages=None, updated_at=None, version=0, visits=0, udon_products=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, author_id=None, author_name=None, capacity=None, recommended_capacity=None, created_at=None, description=None, favorites=0, featured=False, heat=0, id=None, image_url=None, instances=None, labs_publication_date=None, name=None, namespace=None, occupants=0, organization='vrchat', popularity=0, preview_youtube_id=None, private_occupants=0, public_occupants=0, publication_date=None, release_status=None, tags=None, thumbnail_image_url=None, unity_packages=None, updated_at=None, url_list=None, version=0, visits=0, udon_products=None, local_vars_configuration=None): # noqa: E501 """World - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -134,6 +136,7 @@ def __init__(self, author_id=None, author_name=None, capacity=None, recommended_ self._thumbnail_image_url = None self._unity_packages = None self._updated_at = None + self._url_list = None self._version = None self._visits = None self._udon_products = None @@ -173,6 +176,8 @@ def __init__(self, author_id=None, author_name=None, capacity=None, recommended_ if unity_packages is not None: self.unity_packages = unity_packages self.updated_at = updated_at + if url_list is not None: + self.url_list = url_list self.version = version self.visits = visits if udon_products is not None: @@ -841,6 +846,27 @@ def updated_at(self, updated_at): self._updated_at = updated_at + @property + def url_list(self): + """Gets the url_list of this World. # noqa: E501 + + + :return: The url_list of this World. # noqa: E501 + :rtype: list[str] + """ + return self._url_list + + @url_list.setter + def url_list(self, url_list): + """Sets the url_list of this World. + + + :param url_list: The url_list of this World. # noqa: E501 + :type url_list: list[str] + """ + + self._url_list = url_list + @property def version(self): """Gets the version of this World. # noqa: E501 diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index 70571318..f38e09b6 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index 5e097954..b9842be7 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index b9329f88..6b3095f6 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.7 + The version of the OpenAPI document: 1.18.8 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ From cb6bf2fa15c296ee0c32257aeab5b85bb1e0f69d Mon Sep 17 00:00:00 2001 From: JelleJurre <76777936+jellejurre@users.noreply.github.com> Date: Mon, 25 Nov 2024 18:55:40 +0100 Subject: [PATCH 062/102] Improve examples (#20) * Improve examples * Update user agent --- README.md | 2 +- examples/README.md | 6 ++-- examples/examples-source/cookies_load.py | 33 +++++++++++++++++++ .../{use_the_api.py => cookies_store.py} | 16 ++++----- examples/examples-source/login.py | 8 ++--- examples/examples-source/noauth.py | 2 +- 6 files changed, 48 insertions(+), 19 deletions(-) create mode 100644 examples/examples-source/cookies_load.py rename examples/examples-source/{use_the_api.py => cookies_store.py} (71%) diff --git a/README.md b/README.md index 53749ce6..fc81de40 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ configuration = vrchatapi.Configuration( # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Set our User-Agent as per VRChat Usage Policy - api_client.user_agent = "MyProject/1.0 my@email.com" + api_client.user_agent = "ExampleProgram/0.0.1 my@email.com" # Instantiate instances of API classes auth_api = authentication_api.AuthenticationApi(api_client) diff --git a/examples/README.md b/examples/README.md index fde31310..f6239992 100644 --- a/examples/README.md +++ b/examples/README.md @@ -21,7 +21,7 @@ configuration = vrchatapi.Configuration( # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Set our User-Agent as per VRChat Usage Policy - api_client.user_agent = "MyProject/1.0 my@email.com" + api_client.user_agent = "ExampleProgram/0.0.1 my@email.com" # Instantiate instances of API classes auth_api = authentication_api.AuthenticationApi(api_client) @@ -68,7 +68,7 @@ configuration = vrchatapi.Configuration( ) with vrchatapi.ApiClient(configuration) as api_client: - api_client.user_agent = "MyProject/1.0 my@email.com" + api_client.user_agent = "ExampleProgram/0.0.1 my@email.com" auth_api = authentication_api.AuthenticationApi(api_client) try: @@ -121,7 +121,7 @@ from vrchatapi.api.worlds_api import WorldsApi # We don't add a configuration file/set a username and password with vrchatapi.ApiClient() as api_client: - api_client.user_agent = "MyProject/1.0 my@email.com" + api_client.user_agent = "ExampleProgram/0.0.1 my@email.com" # We don't use the authentication API at all, since we don't need to world_api = WorldsApi(api_client) diff --git a/examples/examples-source/cookies_load.py b/examples/examples-source/cookies_load.py new file mode 100644 index 00000000..56cbf55b --- /dev/null +++ b/examples/examples-source/cookies_load.py @@ -0,0 +1,33 @@ +import vrchatapi +from http.cookiejar import Cookie + +from vrchatapi.api import authentication_api + + +def make_cookie(name, value): + return Cookie(0, name, value, + None, False, + "api.vrchat.cloud", True, False, + "/", False, + False, + 173106866300, + False, + None, + None, {}) + + +configuration = vrchatapi.Configuration( + username='username', + password='password', +) + +with vrchatapi.ApiClient(configuration) as api_client: + api_client.user_agent = "ExampleProgram/0.0.1 my@email.com" + api_client.rest_client.cookie_jar.set_cookie( + make_cookie("auth", "[AUTH_COOKIE_HERE]")) + api_client.rest_client.cookie_jar.set_cookie( + make_cookie("twoFactorAuth", "[TWO_FACTOR_AUTH_COOKIE_HERE]")) + + auth_api = authentication_api.AuthenticationApi(api_client) + current_user = auth_api.get_current_user() + print("Logged in as:", current_user.display_name) diff --git a/examples/examples-source/use_the_api.py b/examples/examples-source/cookies_store.py similarity index 71% rename from examples/examples-source/use_the_api.py rename to examples/examples-source/cookies_store.py index 34410efb..45b0e0ed 100644 --- a/examples/examples-source/use_the_api.py +++ b/examples/examples-source/cookies_store.py @@ -4,16 +4,13 @@ from vrchatapi.models.two_factor_auth_code import TwoFactorAuthCode from vrchatapi.models.two_factor_email_code import TwoFactorEmailCode -# We import the class that corrisponds to the section of the API we want to use -from vrchatapi.api.worlds_api import WorldsApi - configuration = vrchatapi.Configuration( - username = 'username', - password = 'password', + username='username', + password='password', ) with vrchatapi.ApiClient(configuration) as api_client: - api_client.user_agent = "MyProject/1.0 my@email.com" + api_client.user_agent = "ExampleProgram/0.0.1 my@email.com" auth_api = authentication_api.AuthenticationApi(api_client) try: @@ -30,8 +27,7 @@ except vrchatapi.ApiException as e: print("Exception when calling API: %s\n", e) + cookie_jar = api_client.rest_client.cookie_jar._cookies["vrchat.com"]["/"] print("Logged in as:", current_user.display_name) - - # Now we are logged in, we can init and use the API class :) - worlds_api = WorldsApi(api_client) # All API section classes require an ApiClient object to be passed! - active_worlds = worlds_api.get_active_worlds() \ No newline at end of file + print("auth: " + cookie_jar["auth"].value) + print("twoFactorAuth: " + cookie_jar["twoFactorAuth"].value) diff --git a/examples/examples-source/login.py b/examples/examples-source/login.py index 535ef3db..25f19403 100644 --- a/examples/examples-source/login.py +++ b/examples/examples-source/login.py @@ -6,8 +6,8 @@ from vrchatapi.models.two_factor_email_code import TwoFactorEmailCode configuration = vrchatapi.Configuration( - username = 'username', - password = 'password', + username='username', + password='password', ) # Step 2. VRChat consists of several API's (WorldsApi, UsersApi, FilesApi, NotificationsApi, FriendsApi, etc...) @@ -16,7 +16,7 @@ # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Set our User-Agent as per VRChat Usage Policy - api_client.user_agent = "MyProject/1.0 my@email.com" + api_client.user_agent = "ExampleProgram/0.0.1 my@email.com" # Instantiate instances of API classes auth_api = authentication_api.AuthenticationApi(api_client) @@ -38,4 +38,4 @@ except vrchatapi.ApiException as e: print("Exception when calling API: %s\n", e) - print("Logged in as:", current_user.display_name) \ No newline at end of file + print("Logged in as:", current_user.display_name) diff --git a/examples/examples-source/noauth.py b/examples/examples-source/noauth.py index 01abf9d6..30c486bb 100644 --- a/examples/examples-source/noauth.py +++ b/examples/examples-source/noauth.py @@ -5,7 +5,7 @@ # We don't add a configuration file/set a username and password with vrchatapi.ApiClient() as api_client: - api_client.user_agent = "MyProject/1.0 my@email.com" + api_client.user_agent = "ExampleProgram/0.0.1 my@email.com" # We don't use the authentication API at all, since we don't need to world_api = WorldsApi(api_client) From c3603cbfcd5c9d47b2cf77afb2bcfcc68cdea6ea Mon Sep 17 00:00:00 2001 From: JelleJurre <76777936+jellejurre@users.noreply.github.com> Date: Sat, 18 Jan 2025 01:55:08 +0100 Subject: [PATCH 063/102] Fix wrong cookie store example domain (#21) --- examples/examples-source/cookies_store.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/examples-source/cookies_store.py b/examples/examples-source/cookies_store.py index 45b0e0ed..abe998fb 100644 --- a/examples/examples-source/cookies_store.py +++ b/examples/examples-source/cookies_store.py @@ -27,7 +27,7 @@ except vrchatapi.ApiException as e: print("Exception when calling API: %s\n", e) - cookie_jar = api_client.rest_client.cookie_jar._cookies["vrchat.com"]["/"] + cookie_jar = api_client.rest_client.cookie_jar._cookies["api.vrchat.cloud"]["/"] print("Logged in as:", current_user.display_name) print("auth: " + cookie_jar["auth"].value) print("twoFactorAuth: " + cookie_jar["twoFactorAuth"].value) From 455e0aac9ce58892dc1fb973aff1982201702b7a Mon Sep 17 00:00:00 2001 From: VRCCat Date: Mon, 20 Jan 2025 23:48:53 +0000 Subject: [PATCH 064/102] Upgrade Python SDK to spec 1.18.9 --- .openapi-generator/FILES | 40 + docs/AgeVerificationStatus.md | 10 + docs/Avatar.md | 1 + docs/AvatarStyles.md | 13 + docs/Balance.md | 14 + docs/CurrentUser.md | 2 +- docs/EconomyApi.md | 454 ++++++ docs/FavoriteGroupLimits.md | 13 + docs/FavoriteLimits.md | 14 + docs/FavoritesApi.md | 71 + docs/Feedback.md | 23 + docs/FileAnalysis.md | 15 + docs/FileAnalysisAvatarStats.md | 53 + docs/FilesApi.md | 231 +++ docs/GetUserGroupInstances200Response.md | 12 + docs/Group.md | 3 + docs/GroupAuditLogEntry.md | 2 +- docs/GroupsApi.md | 12 +- docs/Instance.md | 2 +- docs/Product.md | 27 + docs/ProductListing.md | 41 + docs/ProductListingType.md | 10 + docs/ProductListingVariant.md | 16 + docs/ProductType.md | 10 + docs/TiliaStatus.md | 12 + docs/TiliaTOS.md | 12 + docs/TokenBundle.md | 17 + docs/UpdateUserNoteRequest.md | 12 + docs/User.md | 2 +- docs/UserNote.md | 16 + docs/UserNoteTargetUser.md | 16 + docs/UserSubscription.md | 1 + docs/UsersApi.md | 384 +++++ setup.py | 8 +- vrchatapi/__init__.py | 22 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 964 ++++++++++++- vrchatapi/api/favorites_api.py | 130 +- vrchatapi/api/files_api.py | 452 +++++- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/groups_api.py | 29 +- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/jams_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 830 ++++++++++- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 +- vrchatapi/exceptions.py | 2 +- vrchatapi/models/__init__.py | 22 +- vrchatapi/models/account_deletion_log.py | 2 +- vrchatapi/models/add_favorite_request.py | 2 +- .../models/add_group_gallery_image_request.py | 2 +- vrchatapi/models/age_verification_status.py | 112 ++ vrchatapi/models/api_config.py | 2 +- vrchatapi/models/api_config_announcement.py | 2 +- .../models/api_config_avatar_perf_limiter.py | 2 +- vrchatapi/models/api_config_constants.py | 2 +- .../models/api_config_constants_groups.py | 2 +- .../models/api_config_constants_instance.py | 2 +- ...ig_constants_instancepopulationbrackets.py | 2 +- ...tants_instancepopulationbracketscrowded.py | 2 +- ...constants_instancepopulationbracketsfew.py | 2 +- ...onstants_instancepopulationbracketsmany.py | 2 +- .../models/api_config_constants_language.py | 2 +- .../models/api_config_download_url_list.py | 2 +- vrchatapi/models/api_config_events.py | 2 +- ...onfig_min_supported_client_build_number.py | 2 +- .../models/api_config_offline_analysis.py | 2 +- .../models/api_config_report_categories.py | 2 +- vrchatapi/models/api_config_report_reasons.py | 2 +- vrchatapi/models/api_health.py | 2 +- vrchatapi/models/avatar.py | 31 +- vrchatapi/models/avatar_styles.py | 181 +++ .../models/avatar_unity_package_url_object.py | 2 +- vrchatapi/models/badge.py | 2 +- vrchatapi/models/balance.py | 184 +++ vrchatapi/models/ban_group_member_request.py | 2 +- vrchatapi/models/create_avatar_request.py | 2 +- vrchatapi/models/create_file_request.py | 2 +- .../models/create_file_version_request.py | 2 +- .../create_group_announcement_request.py | 2 +- .../models/create_group_gallery_request.py | 2 +- .../models/create_group_invite_request.py | 2 +- vrchatapi/models/create_group_post_request.py | 2 +- vrchatapi/models/create_group_request.py | 2 +- vrchatapi/models/create_group_role_request.py | 10 +- vrchatapi/models/create_instance_request.py | 2 +- vrchatapi/models/create_world_request.py | 2 +- vrchatapi/models/current_user.py | 8 +- vrchatapi/models/current_user_presence.py | 2 +- vrchatapi/models/deployment_group.py | 2 +- vrchatapi/models/developer_type.py | 2 +- vrchatapi/models/dynamic_content_row.py | 2 +- vrchatapi/models/error.py | 2 +- vrchatapi/models/favorite.py | 2 +- vrchatapi/models/favorite_group.py | 2 +- vrchatapi/models/favorite_group_limits.py | 186 +++ vrchatapi/models/favorite_group_visibility.py | 2 +- vrchatapi/models/favorite_limits.py | 213 +++ vrchatapi/models/favorite_type.py | 2 +- vrchatapi/models/favorited_world.py | 2 +- vrchatapi/models/feedback.py | 453 ++++++ vrchatapi/models/file.py | 2 +- vrchatapi/models/file_analysis.py | 239 ++++ .../models/file_analysis_avatar_stats.py | 1265 +++++++++++++++++ vrchatapi/models/file_data.py | 2 +- vrchatapi/models/file_status.py | 2 +- vrchatapi/models/file_upload_url.py | 2 +- vrchatapi/models/file_version.py | 2 +- .../models/file_version_upload_status.py | 2 +- .../models/finish_file_data_upload_request.py | 2 +- vrchatapi/models/friend_status.py | 2 +- .../get_user_group_instances200_response.py | 157 ++ vrchatapi/models/group.py | 82 +- vrchatapi/models/group_access_type.py | 2 +- vrchatapi/models/group_announcement.py | 2 +- vrchatapi/models/group_audit_log_entry.py | 6 +- vrchatapi/models/group_gallery.py | 2 +- vrchatapi/models/group_gallery_image.py | 2 +- vrchatapi/models/group_instance.py | 2 +- vrchatapi/models/group_join_request_action.py | 2 +- vrchatapi/models/group_join_state.py | 2 +- vrchatapi/models/group_limited_member.py | 2 +- vrchatapi/models/group_member.py | 2 +- vrchatapi/models/group_member_limited_user.py | 2 +- vrchatapi/models/group_member_status.py | 2 +- vrchatapi/models/group_my_member.py | 10 +- vrchatapi/models/group_permission.py | 2 +- vrchatapi/models/group_post.py | 2 +- vrchatapi/models/group_post_visibility.py | 2 +- vrchatapi/models/group_privacy.py | 2 +- vrchatapi/models/group_role.py | 10 +- vrchatapi/models/group_role_template.py | 2 +- vrchatapi/models/group_search_sort.py | 2 +- vrchatapi/models/group_user_visibility.py | 2 +- vrchatapi/models/info_push.py | 2 +- vrchatapi/models/info_push_data.py | 2 +- vrchatapi/models/info_push_data_article.py | 2 +- .../models/info_push_data_article_content.py | 2 +- vrchatapi/models/info_push_data_clickable.py | 2 +- vrchatapi/models/instance.py | 8 +- vrchatapi/models/instance_platforms.py | 2 +- vrchatapi/models/instance_region.py | 2 +- .../models/instance_short_name_response.py | 2 +- vrchatapi/models/instance_type.py | 2 +- vrchatapi/models/invite_message.py | 2 +- vrchatapi/models/invite_message_type.py | 2 +- vrchatapi/models/invite_request.py | 2 +- vrchatapi/models/invite_response.py | 2 +- vrchatapi/models/jam.py | 2 +- vrchatapi/models/jam_state_change_dates.py | 2 +- vrchatapi/models/license.py | 2 +- vrchatapi/models/license_action.py | 2 +- vrchatapi/models/license_group.py | 2 +- vrchatapi/models/license_type.py | 2 +- vrchatapi/models/limited_group.py | 2 +- vrchatapi/models/limited_unity_package.py | 2 +- vrchatapi/models/limited_user.py | 2 +- vrchatapi/models/limited_user_groups.py | 2 +- vrchatapi/models/limited_world.py | 2 +- vrchatapi/models/mime_type.py | 2 +- vrchatapi/models/moderate_user_request.py | 2 +- vrchatapi/models/notification.py | 2 +- .../models/notification_detail_invite.py | 2 +- .../notification_detail_invite_response.py | 2 +- .../notification_detail_request_invite.py | 2 +- ...fication_detail_request_invite_response.py | 2 +- .../notification_detail_vote_to_kick.py | 2 +- vrchatapi/models/notification_type.py | 2 +- vrchatapi/models/order_option.py | 2 +- .../paginated_group_audit_log_entry_list.py | 2 +- vrchatapi/models/past_display_name.py | 2 +- vrchatapi/models/performance_limiter_info.py | 2 +- vrchatapi/models/performance_ratings.py | 2 +- vrchatapi/models/permission.py | 2 +- vrchatapi/models/platform_build_info.py | 2 +- vrchatapi/models/player_moderation.py | 2 +- vrchatapi/models/player_moderation_type.py | 2 +- vrchatapi/models/product.py | 557 ++++++++ vrchatapi/models/product_listing.py | 936 ++++++++++++ vrchatapi/models/product_listing_type.py | 110 ++ vrchatapi/models/product_listing_variant.py | 266 ++++ vrchatapi/models/product_type.py | 112 ++ vrchatapi/models/region.py | 2 +- vrchatapi/models/release_status.py | 2 +- vrchatapi/models/report_category.py | 2 +- vrchatapi/models/report_reason.py | 2 +- vrchatapi/models/represented_group.py | 2 +- vrchatapi/models/request_invite_request.py | 2 +- .../models/respond_group_join_request.py | 2 +- vrchatapi/models/response.py | 2 +- vrchatapi/models/sent_notification.py | 2 +- vrchatapi/models/sort_option.py | 2 +- vrchatapi/models/submission.py | 2 +- vrchatapi/models/subscription.py | 2 +- vrchatapi/models/subscription_period.py | 2 +- vrchatapi/models/success.py | 2 +- vrchatapi/models/tilia_status.py | 132 ++ vrchatapi/models/tilia_tos.py | 132 ++ vrchatapi/models/token_bundle.py | 300 ++++ vrchatapi/models/transaction.py | 2 +- vrchatapi/models/transaction_agreement.py | 2 +- vrchatapi/models/transaction_status.py | 2 +- vrchatapi/models/transaction_steam_info.py | 2 +- .../models/transaction_steam_wallet_info.py | 2 +- vrchatapi/models/two_factor_auth_code.py | 2 +- vrchatapi/models/two_factor_email_code.py | 2 +- vrchatapi/models/unity_package.py | 2 +- vrchatapi/models/update_avatar_request.py | 2 +- .../models/update_favorite_group_request.py | 2 +- .../models/update_group_gallery_request.py | 2 +- .../models/update_group_member_request.py | 2 +- vrchatapi/models/update_group_request.py | 2 +- vrchatapi/models/update_group_role_request.py | 10 +- .../models/update_invite_message_request.py | 2 +- vrchatapi/models/update_user_note_request.py | 161 +++ vrchatapi/models/update_user_request.py | 2 +- vrchatapi/models/update_world_request.py | 2 +- vrchatapi/models/user.py | 8 +- vrchatapi/models/user_exists.py | 2 +- vrchatapi/models/user_note.py | 270 ++++ vrchatapi/models/user_note_target_user.py | 262 ++++ vrchatapi/models/user_state.py | 2 +- vrchatapi/models/user_status.py | 2 +- vrchatapi/models/user_subscription.py | 35 +- .../models/verify2_fa_email_code_result.py | 2 +- vrchatapi/models/verify2_fa_result.py | 2 +- vrchatapi/models/verify_auth_token_result.py | 2 +- vrchatapi/models/world.py | 2 +- vrchatapi/models/world_metadata.py | 2 +- vrchatapi/models/world_publish_status.py | 2 +- vrchatapi/rest.py | 2 +- 238 files changed, 10484 insertions(+), 314 deletions(-) create mode 100644 docs/AgeVerificationStatus.md create mode 100644 docs/AvatarStyles.md create mode 100644 docs/Balance.md create mode 100644 docs/FavoriteGroupLimits.md create mode 100644 docs/FavoriteLimits.md create mode 100644 docs/Feedback.md create mode 100644 docs/FileAnalysis.md create mode 100644 docs/FileAnalysisAvatarStats.md create mode 100644 docs/GetUserGroupInstances200Response.md create mode 100644 docs/Product.md create mode 100644 docs/ProductListing.md create mode 100644 docs/ProductListingType.md create mode 100644 docs/ProductListingVariant.md create mode 100644 docs/ProductType.md create mode 100644 docs/TiliaStatus.md create mode 100644 docs/TiliaTOS.md create mode 100644 docs/TokenBundle.md create mode 100644 docs/UpdateUserNoteRequest.md create mode 100644 docs/UserNote.md create mode 100644 docs/UserNoteTargetUser.md create mode 100644 vrchatapi/models/age_verification_status.py create mode 100644 vrchatapi/models/avatar_styles.py create mode 100644 vrchatapi/models/balance.py create mode 100644 vrchatapi/models/favorite_group_limits.py create mode 100644 vrchatapi/models/favorite_limits.py create mode 100644 vrchatapi/models/feedback.py create mode 100644 vrchatapi/models/file_analysis.py create mode 100644 vrchatapi/models/file_analysis_avatar_stats.py create mode 100644 vrchatapi/models/get_user_group_instances200_response.py create mode 100644 vrchatapi/models/product.py create mode 100644 vrchatapi/models/product_listing.py create mode 100644 vrchatapi/models/product_listing_type.py create mode 100644 vrchatapi/models/product_listing_variant.py create mode 100644 vrchatapi/models/product_type.py create mode 100644 vrchatapi/models/tilia_status.py create mode 100644 vrchatapi/models/tilia_tos.py create mode 100644 vrchatapi/models/token_bundle.py create mode 100644 vrchatapi/models/update_user_note_request.py create mode 100644 vrchatapi/models/user_note.py create mode 100644 vrchatapi/models/user_note_target_user.py diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index a1d561f3..01cd11be 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -20,11 +20,14 @@ docs/APIHealth.md docs/AccountDeletionLog.md docs/AddFavoriteRequest.md docs/AddGroupGalleryImageRequest.md +docs/AgeVerificationStatus.md docs/AuthenticationApi.md docs/Avatar.md +docs/AvatarStyles.md docs/AvatarUnityPackageUrlObject.md docs/AvatarsApi.md docs/Badge.md +docs/Balance.md docs/BanGroupMemberRequest.md docs/CreateAvatarRequest.md docs/CreateFileRequest.md @@ -46,11 +49,16 @@ docs/EconomyApi.md docs/Error.md docs/Favorite.md docs/FavoriteGroup.md +docs/FavoriteGroupLimits.md docs/FavoriteGroupVisibility.md +docs/FavoriteLimits.md docs/FavoriteType.md docs/FavoritedWorld.md docs/FavoritesApi.md +docs/Feedback.md docs/File.md +docs/FileAnalysis.md +docs/FileAnalysisAvatarStats.md docs/FileData.md docs/FileStatus.md docs/FileUploadURL.md @@ -60,6 +68,7 @@ docs/FilesApi.md docs/FinishFileDataUploadRequest.md docs/FriendStatus.md docs/FriendsApi.md +docs/GetUserGroupInstances200Response.md docs/Group.md docs/GroupAccessType.md docs/GroupAnnouncement.md @@ -132,6 +141,11 @@ docs/PlatformBuildInfo.md docs/PlayerModeration.md docs/PlayerModerationType.md docs/PlayermoderationApi.md +docs/Product.md +docs/ProductListing.md +docs/ProductListingType.md +docs/ProductListingVariant.md +docs/ProductType.md docs/Region.md docs/ReleaseStatus.md docs/ReportCategory.md @@ -147,6 +161,9 @@ docs/Subscription.md docs/SubscriptionPeriod.md docs/Success.md docs/SystemApi.md +docs/TiliaStatus.md +docs/TiliaTOS.md +docs/TokenBundle.md docs/Transaction.md docs/TransactionAgreement.md docs/TransactionStatus.md @@ -162,10 +179,13 @@ docs/UpdateGroupMemberRequest.md docs/UpdateGroupRequest.md docs/UpdateGroupRoleRequest.md docs/UpdateInviteMessageRequest.md +docs/UpdateUserNoteRequest.md docs/UpdateUserRequest.md docs/UpdateWorldRequest.md docs/User.md docs/UserExists.md +docs/UserNote.md +docs/UserNoteTargetUser.md docs/UserState.md docs/UserStatus.md docs/UserSubscription.md @@ -208,6 +228,7 @@ vrchatapi/models/__init__.py vrchatapi/models/account_deletion_log.py vrchatapi/models/add_favorite_request.py vrchatapi/models/add_group_gallery_image_request.py +vrchatapi/models/age_verification_status.py vrchatapi/models/api_config.py vrchatapi/models/api_config_announcement.py vrchatapi/models/api_config_avatar_perf_limiter.py @@ -227,8 +248,10 @@ vrchatapi/models/api_config_report_categories.py vrchatapi/models/api_config_report_reasons.py vrchatapi/models/api_health.py vrchatapi/models/avatar.py +vrchatapi/models/avatar_styles.py vrchatapi/models/avatar_unity_package_url_object.py vrchatapi/models/badge.py +vrchatapi/models/balance.py vrchatapi/models/ban_group_member_request.py vrchatapi/models/create_avatar_request.py vrchatapi/models/create_file_request.py @@ -249,10 +272,15 @@ vrchatapi/models/dynamic_content_row.py vrchatapi/models/error.py vrchatapi/models/favorite.py vrchatapi/models/favorite_group.py +vrchatapi/models/favorite_group_limits.py vrchatapi/models/favorite_group_visibility.py +vrchatapi/models/favorite_limits.py vrchatapi/models/favorite_type.py vrchatapi/models/favorited_world.py +vrchatapi/models/feedback.py vrchatapi/models/file.py +vrchatapi/models/file_analysis.py +vrchatapi/models/file_analysis_avatar_stats.py vrchatapi/models/file_data.py vrchatapi/models/file_status.py vrchatapi/models/file_upload_url.py @@ -260,6 +288,7 @@ vrchatapi/models/file_version.py vrchatapi/models/file_version_upload_status.py vrchatapi/models/finish_file_data_upload_request.py vrchatapi/models/friend_status.py +vrchatapi/models/get_user_group_instances200_response.py vrchatapi/models/group.py vrchatapi/models/group_access_type.py vrchatapi/models/group_announcement.py @@ -325,6 +354,11 @@ vrchatapi/models/permission.py vrchatapi/models/platform_build_info.py vrchatapi/models/player_moderation.py vrchatapi/models/player_moderation_type.py +vrchatapi/models/product.py +vrchatapi/models/product_listing.py +vrchatapi/models/product_listing_type.py +vrchatapi/models/product_listing_variant.py +vrchatapi/models/product_type.py vrchatapi/models/region.py vrchatapi/models/release_status.py vrchatapi/models/report_category.py @@ -339,6 +373,9 @@ vrchatapi/models/submission.py vrchatapi/models/subscription.py vrchatapi/models/subscription_period.py vrchatapi/models/success.py +vrchatapi/models/tilia_status.py +vrchatapi/models/tilia_tos.py +vrchatapi/models/token_bundle.py vrchatapi/models/transaction.py vrchatapi/models/transaction_agreement.py vrchatapi/models/transaction_status.py @@ -354,10 +391,13 @@ vrchatapi/models/update_group_member_request.py vrchatapi/models/update_group_request.py vrchatapi/models/update_group_role_request.py vrchatapi/models/update_invite_message_request.py +vrchatapi/models/update_user_note_request.py vrchatapi/models/update_user_request.py vrchatapi/models/update_world_request.py vrchatapi/models/user.py vrchatapi/models/user_exists.py +vrchatapi/models/user_note.py +vrchatapi/models/user_note_target_user.py vrchatapi/models/user_state.py vrchatapi/models/user_status.py vrchatapi/models/user_subscription.py diff --git a/docs/AgeVerificationStatus.md b/docs/AgeVerificationStatus.md new file mode 100644 index 00000000..f7a359f0 --- /dev/null +++ b/docs/AgeVerificationStatus.md @@ -0,0 +1,10 @@ +# AgeVerificationStatus + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Avatar.md b/docs/Avatar.md index 0afd8341..76fc6d93 100644 --- a/docs/Avatar.md +++ b/docs/Avatar.md @@ -16,6 +16,7 @@ Name | Type | Description | Notes **image_url** | **str** | | **name** | **str** | | **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | +**styles** | [**AvatarStyles**](AvatarStyles.md) | | **tags** | **list[str]** | | **thumbnail_image_url** | **str** | | **unity_package_url** | **str** | | diff --git a/docs/AvatarStyles.md b/docs/AvatarStyles.md new file mode 100644 index 00000000..f04e3817 --- /dev/null +++ b/docs/AvatarStyles.md @@ -0,0 +1,13 @@ +# AvatarStyles + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**primary** | **str** | | [optional] +**secondary** | **str** | | [optional] +**supplementary** | **list[str]** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Balance.md b/docs/Balance.md new file mode 100644 index 00000000..8b332fe9 --- /dev/null +++ b/docs/Balance.md @@ -0,0 +1,14 @@ +# Balance + + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**balance** | **int** | | [default to 0] +**no_transactions** | **bool** | | [optional] +**tilia_response** | **bool** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CurrentUser.md b/docs/CurrentUser.md index 53c6f8cc..406281fb 100644 --- a/docs/CurrentUser.md +++ b/docs/CurrentUser.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **account_deletion_date** | **date** | | [optional] **account_deletion_log** | [**list[AccountDeletionLog]**](AccountDeletionLog.md) | | [optional] **active_friends** | **list[str]** | | [optional] -**age_verification_status** | **str** | | +**age_verification_status** | [**AgeVerificationStatus**](AgeVerificationStatus.md) | | **age_verified** | **bool** | | **allow_avatar_copying** | **bool** | | **badges** | [**list[Badge]**](Badge.md) | | [optional] diff --git a/docs/EconomyApi.md b/docs/EconomyApi.md index 105a0812..a8034f75 100644 --- a/docs/EconomyApi.md +++ b/docs/EconomyApi.md @@ -4,13 +4,93 @@ All URIs are relative to *https://api.vrchat.cloud/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- +[**get_balance**](EconomyApi.md#get_balance) | **GET** /user/{userId}/balance | Get Balance [**get_current_subscriptions**](EconomyApi.md#get_current_subscriptions) | **GET** /auth/user/subscription | Get Current Subscriptions [**get_license_group**](EconomyApi.md#get_license_group) | **GET** /licenseGroups/{licenseGroupId} | Get License Group +[**get_product_listing**](EconomyApi.md#get_product_listing) | **GET** /listing/{productId} | Get Product Listing +[**get_product_listings**](EconomyApi.md#get_product_listings) | **GET** /user/{userId}/listings | Get User Product Listings [**get_steam_transaction**](EconomyApi.md#get_steam_transaction) | **GET** /Steam/transactions/{transactionId} | Get Steam Transaction [**get_steam_transactions**](EconomyApi.md#get_steam_transactions) | **GET** /Steam/transactions | List Steam Transactions [**get_subscriptions**](EconomyApi.md#get_subscriptions) | **GET** /subscriptions | List Subscriptions +[**get_tilia_status**](EconomyApi.md#get_tilia_status) | **GET** /tilia/status | Get Tilia Status +[**get_tilia_tos**](EconomyApi.md#get_tilia_tos) | **GET** /user/{userId}/tilia/tos | Get Tilia TOS Agreement Status +[**get_token_bundles**](EconomyApi.md#get_token_bundles) | **GET** /tokenBundles | List Token Bundles +# **get_balance** +> Balance get_balance(user_id) + +Get Balance + +Gets the balance of a user + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.EconomyApi(api_client) + user_id = 'user_id_example' # str | Must be a valid user ID. + + try: + # Get Balance + api_response = api_instance.get_balance(user_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling EconomyApi->get_balance: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | + +### Return type + +[**Balance**](Balance.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single Balance object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_current_subscriptions** > list[UserSubscription] get_current_subscriptions() @@ -155,6 +235,166 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_product_listing** +> ProductListing get_product_listing(product_id, hydrate=hydrate) + +Get Product Listing + +Gets a product listing + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.EconomyApi(api_client) + product_id = 'product_id_example' # str | Must be a valid product ID. +hydrate = True # bool | Populates some fields and changes types of others for certain objects. (optional) + + try: + # Get Product Listing + api_response = api_instance.get_product_listing(product_id, hydrate=hydrate) + pprint(api_response) + except ApiException as e: + print("Exception when calling EconomyApi->get_product_listing: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **product_id** | **str**| Must be a valid product ID. | + **hydrate** | **bool**| Populates some fields and changes types of others for certain objects. | [optional] + +### Return type + +[**ProductListing**](ProductListing.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single ProductListing object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_product_listings** +> list[ProductListing] get_product_listings(user_id, n=n, offset=offset, hydrate=hydrate, group_id=group_id, active=active) + +Get User Product Listings + +Gets the product listings of a given user + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.EconomyApi(api_client) + user_id = 'user_id_example' # str | Must be a valid user ID. +n = 60 # int | The number of objects to return. (optional) (default to 60) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) +hydrate = True # bool | Populates some fields and changes types of others for certain objects. (optional) +group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. (optional) +active = True # bool | Filter for users' listings. (optional) + + try: + # Get User Product Listings + api_response = api_instance.get_product_listings(user_id, n=n, offset=offset, hydrate=hydrate, group_id=group_id, active=active) + pprint(api_response) + except ApiException as e: + print("Exception when calling EconomyApi->get_product_listings: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + **hydrate** | **bool**| Populates some fields and changes types of others for certain objects. | [optional] + **group_id** | **str**| Must be a valid group ID. | [optional] + **active** | **bool**| Filter for users' listings. | [optional] + +### Return type + +[**list[ProductListing]**](ProductListing.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of ProductListing objects. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_steam_transaction** > Transaction get_steam_transaction(transaction_id) @@ -369,3 +609,217 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_tilia_status** +> TiliaStatus get_tilia_status() + +Get Tilia Status + +Gets the status of Tilia integration + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.EconomyApi(api_client) + + try: + # Get Tilia Status + api_response = api_instance.get_tilia_status() + pprint(api_response) + except ApiException as e: + print("Exception when calling EconomyApi->get_tilia_status: %s\n" % e) +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**TiliaStatus**](TiliaStatus.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single TiliaStatus object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_tilia_tos** +> TiliaTOS get_tilia_tos(user_id) + +Get Tilia TOS Agreement Status + +Gets the status of the agreement of a user to the Tilia TOS + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.EconomyApi(api_client) + user_id = 'user_id_example' # str | Must be a valid user ID. + + try: + # Get Tilia TOS Agreement Status + api_response = api_instance.get_tilia_tos(user_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling EconomyApi->get_tilia_tos: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | + +### Return type + +[**TiliaTOS**](TiliaTOS.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single TiliaTOS object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_token_bundles** +> list[TokenBundle] get_token_bundles() + +List Token Bundles + +Gets the list of token bundles + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.EconomyApi(api_client) + + try: + # List Token Bundles + api_response = api_instance.get_token_bundles() + pprint(api_response) + except ApiException as e: + print("Exception when calling EconomyApi->get_token_bundles: %s\n" % e) +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**list[TokenBundle]**](TokenBundle.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of TokenBundle objects. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/FavoriteGroupLimits.md b/docs/FavoriteGroupLimits.md new file mode 100644 index 00000000..2113d033 --- /dev/null +++ b/docs/FavoriteGroupLimits.md @@ -0,0 +1,13 @@ +# FavoriteGroupLimits + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**avatar** | **int** | | +**friend** | **int** | | +**world** | **int** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FavoriteLimits.md b/docs/FavoriteLimits.md new file mode 100644 index 00000000..b71dd550 --- /dev/null +++ b/docs/FavoriteLimits.md @@ -0,0 +1,14 @@ +# FavoriteLimits + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**default_max_favorite_groups** | **int** | | +**default_max_favorites_per_group** | **int** | | +**max_favorite_groups** | [**FavoriteGroupLimits**](FavoriteGroupLimits.md) | | +**max_favorites_per_group** | [**FavoriteGroupLimits**](FavoriteGroupLimits.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FavoritesApi.md b/docs/FavoritesApi.md index 87679319..37a61b86 100644 --- a/docs/FavoritesApi.md +++ b/docs/FavoritesApi.md @@ -9,6 +9,7 @@ Method | HTTP request | Description [**get_favorite**](FavoritesApi.md#get_favorite) | **GET** /favorites/{favoriteId} | Show Favorite [**get_favorite_group**](FavoritesApi.md#get_favorite_group) | **GET** /favorite/group/{favoriteGroupType}/{favoriteGroupName}/{userId} | Show Favorite Group [**get_favorite_groups**](FavoritesApi.md#get_favorite_groups) | **GET** /favorite/groups | List Favorite Groups +[**get_favorite_limits**](FavoritesApi.md#get_favorite_limits) | **GET** /auth/user/favoritelimits | Get Favorite Limits [**get_favorites**](FavoritesApi.md#get_favorites) | **GET** /favorites | List Favorites [**remove_favorite**](FavoritesApi.md#remove_favorite) | **DELETE** /favorites/{favoriteId} | Remove Favorite [**update_favorite_group**](FavoritesApi.md#update_favorite_group) | **PUT** /favorite/group/{favoriteGroupType}/{favoriteGroupName}/{userId} | Update Favorite Group @@ -396,6 +397,76 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_favorite_limits** +> FavoriteLimits get_favorite_limits() + +Get Favorite Limits + +Return information about a specific Favorite. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.FavoritesApi(api_client) + + try: + # Get Favorite Limits + api_response = api_instance.get_favorite_limits() + pprint(api_response) + except ApiException as e: + print("Exception when calling FavoritesApi->get_favorite_limits: %s\n" % e) +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**FavoriteLimits**](FavoriteLimits.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single FavoriteLimits object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_favorites** > list[Favorite] get_favorites(n=n, offset=offset, type=type, tag=tag) diff --git a/docs/Feedback.md b/docs/Feedback.md new file mode 100644 index 00000000..232429ef --- /dev/null +++ b/docs/Feedback.md @@ -0,0 +1,23 @@ +# Feedback + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**commenter_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**commenter_name** | **str** | | +**content_author_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**content_author_name** | **str** | | +**content_id** | **str** | | +**content_name** | **str** | | [optional] +**content_type** | **str** | | +**content_version** | **int** | | +**description** | **str** | | [optional] +**id** | **str** | | +**reason** | **str** | | +**tags** | **list[str]** | | +**type** | **str** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FileAnalysis.md b/docs/FileAnalysis.md new file mode 100644 index 00000000..1c78d446 --- /dev/null +++ b/docs/FileAnalysis.md @@ -0,0 +1,15 @@ +# FileAnalysis + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**avatar_stats** | [**FileAnalysisAvatarStats**](FileAnalysisAvatarStats.md) | | +**created_at** | **datetime** | | [optional] +**file_size** | **int** | | +**success** | **bool** | | +**uncompressed_size** | **int** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FileAnalysisAvatarStats.md b/docs/FileAnalysisAvatarStats.md new file mode 100644 index 00000000..31489aa7 --- /dev/null +++ b/docs/FileAnalysisAvatarStats.md @@ -0,0 +1,53 @@ +# FileAnalysisAvatarStats + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**animator_count** | **int** | | +**audio_source_count** | **int** | | +**blend_shape_count** | **int** | | +**bone_count** | **int** | | +**bounds** | **list[float]** | | +**camera_count** | **int** | | [optional] +**cloth_count** | **int** | | +**constraint_count** | **int** | | +**contact_count** | **int** | | +**custom_expressions** | **bool** | | +**customize_animation_layers** | **bool** | | +**enable_eye_look** | **bool** | | +**light_count** | **int** | | +**line_renderer_count** | **int** | | +**lip_sync** | **int** | | +**material_count** | **int** | | +**material_slots_used** | **int** | | +**mesh_count** | **int** | | +**mesh_indices** | **int** | | +**mesh_particle_max_polygons** | **int** | | +**mesh_polygons** | **int** | | +**mesh_vertices** | **int** | | +**particle_collision_enabled** | **bool** | | +**particle_system_count** | **int** | | +**particle_trails_enabled** | **bool** | | +**phys_bone_collider_count** | **int** | | +**phys_bone_collision_check_count** | **int** | | +**phys_bone_component_count** | **int** | | +**phys_bone_transform_count** | **int** | | +**physics_colliders** | **int** | | +**physics_rigidbodies** | **int** | | +**skinned_mesh_count** | **int** | | +**skinned_mesh_indices** | **int** | | +**skinned_mesh_polygons** | **int** | | +**skinned_mesh_vertices** | **int** | | +**total_cloth_vertices** | **int** | | +**total_indices** | **int** | | +**total_max_particles** | **int** | | +**total_polygons** | **int** | | +**total_texture_usage** | **int** | | +**total_vertices** | **int** | | +**trail_renderer_count** | **int** | | +**write_defaults_used** | **bool** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FilesApi.md b/docs/FilesApi.md index 90bffe57..8d9f15d3 100644 --- a/docs/FilesApi.md +++ b/docs/FilesApi.md @@ -11,6 +11,9 @@ Method | HTTP request | Description [**download_file_version**](FilesApi.md#download_file_version) | **GET** /file/{fileId}/{versionId} | Download File Version [**finish_file_data_upload**](FilesApi.md#finish_file_data_upload) | **PUT** /file/{fileId}/{versionId}/{fileType}/finish | Finish FileData Upload [**get_file**](FilesApi.md#get_file) | **GET** /file/{fileId} | Show File +[**get_file_analysis**](FilesApi.md#get_file_analysis) | **GET** /analysis/{fileId}/{versionId} | Get File Version Analysis +[**get_file_analysis_security**](FilesApi.md#get_file_analysis_security) | **GET** /analysis/{fileId}/{versionId}/security | Get File Version Analysis Security +[**get_file_analysis_standard**](FilesApi.md#get_file_analysis_standard) | **GET** /analysis/{fileId}/{versionId}/standard | Get File Version Analysis Standard [**get_file_data_upload_status**](FilesApi.md#get_file_data_upload_status) | **GET** /file/{fileId}/{versionId}/{fileType}/status | Check FileData Upload Status [**get_files**](FilesApi.md#get_files) | **GET** /files | List Files [**start_file_data_upload**](FilesApi.md#start_file_data_upload) | **PUT** /file/{fileId}/{versionId}/{fileType}/start | Start FileData Upload @@ -543,6 +546,234 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_file_analysis** +> FileAnalysis get_file_analysis(file_id, version_id) + +Get File Version Analysis + +Get the performance analysis for the uploaded assets of an avatar + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.FilesApi(api_client) + file_id = 'file_00000000-0000-0000-0000-000000000000' # str | Must be a valid file ID. +version_id = 1 # int | Version ID of the asset. + + try: + # Get File Version Analysis + api_response = api_instance.get_file_analysis(file_id, version_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling FilesApi->get_file_analysis: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **file_id** | **str**| Must be a valid file ID. | + **version_id** | **int**| Version ID of the asset. | + +### Return type + +[**FileAnalysis**](FileAnalysis.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single FileAnalysis object. | - | +**404** | Error response when trying to show information about a non-existent file. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_file_analysis_security** +> FileAnalysis get_file_analysis_security(file_id, version_id) + +Get File Version Analysis Security + +Get the security performance analysis for the uploaded assets of an avatar + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.FilesApi(api_client) + file_id = 'file_00000000-0000-0000-0000-000000000000' # str | Must be a valid file ID. +version_id = 1 # int | Version ID of the asset. + + try: + # Get File Version Analysis Security + api_response = api_instance.get_file_analysis_security(file_id, version_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling FilesApi->get_file_analysis_security: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **file_id** | **str**| Must be a valid file ID. | + **version_id** | **int**| Version ID of the asset. | + +### Return type + +[**FileAnalysis**](FileAnalysis.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single FileAnalysis object. | - | +**404** | Error response when trying to show information about a non-existent file. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_file_analysis_standard** +> FileAnalysis get_file_analysis_standard(file_id, version_id) + +Get File Version Analysis Standard + +Get the standard performance analysis for the uploaded assets of an avatar + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.FilesApi(api_client) + file_id = 'file_00000000-0000-0000-0000-000000000000' # str | Must be a valid file ID. +version_id = 1 # int | Version ID of the asset. + + try: + # Get File Version Analysis Standard + api_response = api_instance.get_file_analysis_standard(file_id, version_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling FilesApi->get_file_analysis_standard: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **file_id** | **str**| Must be a valid file ID. | + **version_id** | **int**| Version ID of the asset. | + +### Return type + +[**FileAnalysis**](FileAnalysis.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single FileAnalysis object. | - | +**404** | Error response when trying to show information about a non-existent file. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_file_data_upload_status** > FileVersionUploadStatus get_file_data_upload_status(file_id, version_id, file_type) diff --git a/docs/GetUserGroupInstances200Response.md b/docs/GetUserGroupInstances200Response.md new file mode 100644 index 00000000..160b2b71 --- /dev/null +++ b/docs/GetUserGroupInstances200Response.md @@ -0,0 +1,12 @@ +# GetUserGroupInstances200Response + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**fetched_at** | **datetime** | | [optional] +**instances** | [**list[Instance]**](Instance.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Group.md b/docs/Group.md index 778cda7d..15d1e219 100644 --- a/docs/Group.md +++ b/docs/Group.md @@ -4,6 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**age_verification_slots_available** | **bool** | | [optional] +**age_verification_beta_code** | **str** | | [optional] +**age_verification_beta_slots** | **float** | | [optional] **badges** | **list[str]** | | [optional] **id** | **str** | | [optional] **name** | **str** | | [optional] diff --git a/docs/GroupAuditLogEntry.md b/docs/GroupAuditLogEntry.md index 059033a7..0db29c1a 100644 --- a/docs/GroupAuditLogEntry.md +++ b/docs/GroupAuditLogEntry.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **group_id** | **str** | | [optional] **actor_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] **actor_display_name** | **str** | | [optional] -**target_id** | **str** | Typically GroupID or GroupRoleID, but could be other types of IDs. | [optional] +**target_id** | **str** | Typically a UserID, GroupID, GroupRoleID, or Location, but could be other types of IDs. | [optional] **event_type** | **str** | The type of event that occurred. This is a string that is prefixed with the type of object that the event occurred on. For example, a group role update event would be prefixed with `group.role`. | [optional] [default to 'group.update'] **description** | **str** | A human-readable description of the event. | [optional] **data** | **object** | The data associated with the event. The format of this data is dependent on the event type. | [optional] diff --git a/docs/GroupsApi.md b/docs/GroupsApi.md index e292ca9c..0f3c824b 100644 --- a/docs/GroupsApi.md +++ b/docs/GroupsApi.md @@ -514,7 +514,7 @@ Name | Type | Description | Notes Create Group Announcement -Creates an Announcement for a Group. +Creates an Announcement for a Group. Warning: This will also remove all announcements. To make proper announcements, use the posts endpoint instead ### Example @@ -1508,7 +1508,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_group_audit_logs** -> PaginatedGroupAuditLogEntryList get_group_audit_logs(group_id, n=n, offset=offset, start_date=start_date, end_date=end_date) +> PaginatedGroupAuditLogEntryList get_group_audit_logs(group_id, n=n, offset=offset, start_date=start_date, end_date=end_date, actor_ids=actor_ids, event_types=event_types, target_ids=target_ids) Get Group Audit Logs @@ -1549,10 +1549,13 @@ n = 60 # int | The number of objects to return. (optional) (default to 60) offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) start_date = '2013-10-20T19:20:30+01:00' # datetime | The start date of the search range. (optional) end_date = '2013-10-20T19:20:30+01:00' # datetime | The end date of the search range. (optional) +actor_ids = 'usr_00000000-0000-0000-0000-000000000000,usr_11111111-1111-1111-1111-111111111111' # str | The comma-separated actor ids to search for. (optional) +event_types = 'group.member.remove,group.instance.kick' # str | The comma-separated event types to search for. (optional) +target_ids = 'usr_00000000-0000-0000-0000-000000000000,usr_11111111-1111-1111-1111-111111111111' # str | The comma-separated target ids to search for. (optional) try: # Get Group Audit Logs - api_response = api_instance.get_group_audit_logs(group_id, n=n, offset=offset, start_date=start_date, end_date=end_date) + api_response = api_instance.get_group_audit_logs(group_id, n=n, offset=offset, start_date=start_date, end_date=end_date, actor_ids=actor_ids, event_types=event_types, target_ids=target_ids) pprint(api_response) except ApiException as e: print("Exception when calling GroupsApi->get_group_audit_logs: %s\n" % e) @@ -1567,6 +1570,9 @@ Name | Type | Description | Notes **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] **start_date** | **datetime**| The start date of the search range. | [optional] **end_date** | **datetime**| The end date of the search range. | [optional] + **actor_ids** | **str**| The comma-separated actor ids to search for. | [optional] + **event_types** | **str**| The comma-separated event types to search for. | [optional] + **target_ids** | **str**| The comma-separated target ids to search for. | [optional] ### Return type diff --git a/docs/Instance.md b/docs/Instance.md index f6707960..41a45dcc 100644 --- a/docs/Instance.md +++ b/docs/Instance.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **active** | **bool** | | [default to True] -**age_gate** | **str** | | [optional] +**age_gate** | **bool** | | [optional] **can_request_invite** | **bool** | | [default to True] **capacity** | **int** | | **client_number** | **str** | Always returns \"unknown\". | diff --git a/docs/Product.md b/docs/Product.md new file mode 100644 index 00000000..5f9a1e20 --- /dev/null +++ b/docs/Product.md @@ -0,0 +1,27 @@ +# Product + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**archived** | **bool** | | +**created** | **datetime** | | +**description** | **str** | | +**display_name** | **str** | | +**group_access** | **bool** | | [optional] [default to False] +**group_access_remove** | **bool** | | [optional] [default to False] +**group_id** | **str** | | [optional] +**group_role_id** | **str** | | [optional] +**id** | **str** | | +**image_id** | **str** | | +**parent_listings** | **list[str]** | | +**product_type** | [**ProductType**](ProductType.md) | | +**seller_display_name** | **str** | | +**seller_id** | **str** | | +**tags** | **list[str]** | | +**updated** | **datetime** | | +**use_for_subscriber_list** | **bool** | | [optional] [default to False] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ProductListing.md b/docs/ProductListing.md new file mode 100644 index 00000000..c2f3152a --- /dev/null +++ b/docs/ProductListing.md @@ -0,0 +1,41 @@ +# ProductListing + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**active** | **bool** | | +**archived** | **bool** | | +**buyer_refundable** | **bool** | | +**created** | **datetime** | | +**description** | **str** | | +**display_name** | **str** | | +**duration** | **int** | | [optional] +**duration_type** | **str** | | [optional] +**group_icon** | **str** | | +**group_id** | **str** | | +**group_name** | **str** | | +**hydrated_products** | [**list[Product]**](Product.md) | | [optional] +**id** | **str** | | +**image_id** | **str** | | +**instant** | **bool** | | +**listing_type** | [**ProductListingType**](ProductListingType.md) | | +**listing_variants** | [**list[ProductListingVariant]**](ProductListingVariant.md) | | +**permanent** | **bool** | | +**price_tokens** | **int** | | +**product_ids** | **list[str]** | | +**product_type** | [**ProductType**](ProductType.md) | | +**products** | **list[object]** | | +**quantifiable** | **bool** | | [optional] +**recurrable** | **bool** | | +**refundable** | **bool** | | +**seller_display_name** | **str** | | +**seller_id** | **str** | | +**stackable** | **bool** | | +**store_ids** | **list[str]** | | +**tags** | **list[str]** | | +**updated** | **datetime** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ProductListingType.md b/docs/ProductListingType.md new file mode 100644 index 00000000..d68d33e2 --- /dev/null +++ b/docs/ProductListingType.md @@ -0,0 +1,10 @@ +# ProductListingType + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ProductListingVariant.md b/docs/ProductListingVariant.md new file mode 100644 index 00000000..73d4eebf --- /dev/null +++ b/docs/ProductListingVariant.md @@ -0,0 +1,16 @@ +# ProductListingVariant + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**effective_from** | **datetime** | | [optional] +**listing_variant_id** | **str** | | +**non_refundable** | **bool** | | +**quantity** | **int** | | +**seller_variant** | **bool** | | +**unit_price_tokens** | **int** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ProductType.md b/docs/ProductType.md new file mode 100644 index 00000000..2d353043 --- /dev/null +++ b/docs/ProductType.md @@ -0,0 +1,10 @@ +# ProductType + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/TiliaStatus.md b/docs/TiliaStatus.md new file mode 100644 index 00000000..612e6c44 --- /dev/null +++ b/docs/TiliaStatus.md @@ -0,0 +1,12 @@ +# TiliaStatus + + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**economy_online** | **bool** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/TiliaTOS.md b/docs/TiliaTOS.md new file mode 100644 index 00000000..43b07b60 --- /dev/null +++ b/docs/TiliaTOS.md @@ -0,0 +1,12 @@ +# TiliaTOS + + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**signed_tos** | **bool** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/TokenBundle.md b/docs/TokenBundle.md new file mode 100644 index 00000000..4b4b4d7e --- /dev/null +++ b/docs/TokenBundle.md @@ -0,0 +1,17 @@ +# TokenBundle + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | | +**steam_item_id** | **str** | | +**oculus_sku** | **str** | | +**amount** | **int** | price of the bundle | +**description** | **str** | | +**tokens** | **int** | number of tokens received | +**image_url** | **str** | direct url to image | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/UpdateUserNoteRequest.md b/docs/UpdateUserNoteRequest.md new file mode 100644 index 00000000..ac03b22a --- /dev/null +++ b/docs/UpdateUserNoteRequest.md @@ -0,0 +1,12 @@ +# UpdateUserNoteRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**target_user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**note** | **str** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/User.md b/docs/User.md index 5753464f..83467cbe 100644 --- a/docs/User.md +++ b/docs/User.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**age_verification_status** | **str** | | +**age_verification_status** | [**AgeVerificationStatus**](AgeVerificationStatus.md) | | **allow_avatar_copying** | **bool** | | [default to True] **badges** | [**list[Badge]**](Badge.md) | | [optional] **bio** | **str** | | diff --git a/docs/UserNote.md b/docs/UserNote.md new file mode 100644 index 00000000..16c3f4eb --- /dev/null +++ b/docs/UserNote.md @@ -0,0 +1,16 @@ +# UserNote + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**created_at** | **datetime** | | +**id** | **str** | | +**note** | **str** | | +**target_user** | [**UserNoteTargetUser**](UserNoteTargetUser.md) | | [optional] +**target_user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/UserNoteTargetUser.md b/docs/UserNoteTargetUser.md new file mode 100644 index 00000000..dbe70542 --- /dev/null +++ b/docs/UserNoteTargetUser.md @@ -0,0 +1,16 @@ +# UserNoteTargetUser + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**current_avatar_tags** | **list[str]** | | [optional] +**current_avatar_thumbnail_image_url** | **str** | When profilePicOverride is not empty, use it instead. | [optional] +**display_name** | **str** | | [optional] +**id** | **str** | | [optional] +**profile_pic_override** | **str** | | [optional] +**user_icon** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/UserSubscription.md b/docs/UserSubscription.md index 3d3ddf79..6c43589e 100644 --- a/docs/UserSubscription.md +++ b/docs/UserSubscription.md @@ -21,6 +21,7 @@ Name | Type | Description | Notes **updated_at** | **datetime** | | **license_groups** | **list[str]** | | **is_gift** | **bool** | | [default to False] +**is_bulk_gift** | **bool** | | [default to False] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsersApi.md b/docs/UsersApi.md index 17cc0396..6f03eab4 100644 --- a/docs/UsersApi.md +++ b/docs/UsersApi.md @@ -6,11 +6,16 @@ Method | HTTP request | Description ------------- | ------------- | ------------- [**get_user**](UsersApi.md#get_user) | **GET** /users/{userId} | Get User by ID [**get_user_by_name**](UsersApi.md#get_user_by_name) | **GET** /users/{username}/name | Get User by Username +[**get_user_feedback**](UsersApi.md#get_user_feedback) | **GET** /users/{userId}/feedback | Get User Feedback +[**get_user_group_instances**](UsersApi.md#get_user_group_instances) | **GET** /users/{userId}/instances/groups | Get User Group Instances [**get_user_group_requests**](UsersApi.md#get_user_group_requests) | **GET** /users/{userId}/groups/requested | Get User Group Requests [**get_user_groups**](UsersApi.md#get_user_groups) | **GET** /users/{userId}/groups | Get User Groups +[**get_user_note**](UsersApi.md#get_user_note) | **GET** /userNotes/{userNoteId} | Get User Note +[**get_user_notes**](UsersApi.md#get_user_notes) | **GET** /userNotes | Get User Notes [**get_user_represented_group**](UsersApi.md#get_user_represented_group) | **GET** /users/{userId}/groups/represented | Get user's current represented group [**search_users**](UsersApi.md#search_users) | **GET** /users | Search All Users [**update_user**](UsersApi.md#update_user) | **PUT** /users/{userId} | Update User Info +[**update_user_note**](UsersApi.md#update_user_note) | **POST** /userNotes | Update User Note # **get_user** @@ -161,6 +166,161 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_user_feedback** +> list[Feedback] get_user_feedback(user_id, content_id=content_id, n=n, offset=offset) + +Get User Feedback + +Get user's submitted feedback + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.UsersApi(api_client) + user_id = 'user_id_example' # str | Must be a valid user ID. +content_id = True # bool | Filter for users' previously submitted feedback, e.g., a groupId, useeId, avatarId, etc. (optional) +n = 60 # int | The number of objects to return. (optional) (default to 60) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) + + try: + # Get User Feedback + api_response = api_instance.get_user_feedback(user_id, content_id=content_id, n=n, offset=offset) + pprint(api_response) + except ApiException as e: + print("Exception when calling UsersApi->get_user_feedback: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | + **content_id** | **bool**| Filter for users' previously submitted feedback, e.g., a groupId, useeId, avatarId, etc. | [optional] + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + +### Return type + +[**list[Feedback]**](Feedback.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of Feedback objects. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_user_group_instances** +> GetUserGroupInstances200Response get_user_group_instances(user_id) + +Get User Group Instances + +Returns a list of group instances for a user + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.UsersApi(api_client) + user_id = 'user_id_example' # str | Must be a valid user ID. + + try: + # Get User Group Instances + api_response = api_instance.get_user_group_instances(user_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling UsersApi->get_user_group_instances: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | + +### Return type + +[**GetUserGroupInstances200Response**](GetUserGroupInstances200Response.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of Instance objects with a fetched at time. | - | +**401** | Error response due to missing auth cookie. | - | +**403** | Error response when trying get group instances of another user. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_user_group_requests** > list[Group] get_user_group_requests(user_id) @@ -309,6 +469,156 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_user_note** +> UserNote get_user_note(user_note_id) + +Get User Note + +Get a particular user note + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.UsersApi(api_client) + user_note_id = 'user_note_id_example' # str | Must be a valid user note ID. + + try: + # Get User Note + api_response = api_instance.get_user_note(user_note_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling UsersApi->get_user_note: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_note_id** | **str**| Must be a valid user note ID. | + +### Return type + +[**UserNote**](UserNote.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single UserNote object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_user_notes** +> list[UserNote] get_user_notes(n=n, offset=offset) + +Get User Notes + +Get recently updated user notes + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.UsersApi(api_client) + n = 60 # int | The number of objects to return. (optional) (default to 60) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) + + try: + # Get User Notes + api_response = api_instance.get_user_notes(n=n, offset=offset) + pprint(api_response) + except ApiException as e: + print("Exception when calling UsersApi->get_user_notes: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + +### Return type + +[**list[UserNote]**](UserNote.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of UserNote objects. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_user_represented_group** > RepresentedGroup get_user_represented_group(user_id) @@ -540,3 +850,77 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **update_user_note** +> UserNote update_user_note(update_user_note_request) + +Update User Note + +Updates the currently authenticated user's note on a user + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.UsersApi(api_client) + update_user_note_request = vrchatapi.UpdateUserNoteRequest() # UpdateUserNoteRequest | + + try: + # Update User Note + api_response = api_instance.update_user_note(update_user_note_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling UsersApi->update_user_note: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **update_user_note_request** | [**UpdateUserNoteRequest**](UpdateUserNoteRequest.md)| | + +### Return type + +[**UserNote**](UserNote.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single UserNote object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/setup.py b/setup.py index bb78dd43..7a82a35a 100644 --- a/setup.py +++ b/setup.py @@ -50,7 +50,7 @@ # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Set our User-Agent as per VRChat Usage Policy - api_client.user_agent = "MyProject/1.0 my@email.com" + api_client.user_agent = "ExampleProgram/0.0.1 my@email.com" # Instantiate instances of API classes auth_api = authentication_api.AuthenticationApi(api_client) @@ -83,7 +83,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.18.8" +VERSION = "1.18.9" # To install the library, run the following # # python setup.py install @@ -163,7 +163,7 @@ # Enter a context with an instance of the API client with vrchatapi.ApiClient(configuration) as api_client: # Set our User-Agent as per VRChat Usage Policy - api_client.user_agent = "MyProject/1.0 my@email.com" + api_client.user_agent = "ExampleProgram/0.0.1 my@email.com" # Instantiate instances of API classes auth_api = authentication_api.AuthenticationApi(api_client) diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index c740fe4d..b7e29d33 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,7 +6,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -65,9 +65,12 @@ from vrchatapi.models.account_deletion_log import AccountDeletionLog from vrchatapi.models.add_favorite_request import AddFavoriteRequest from vrchatapi.models.add_group_gallery_image_request import AddGroupGalleryImageRequest +from vrchatapi.models.age_verification_status import AgeVerificationStatus from vrchatapi.models.avatar import Avatar +from vrchatapi.models.avatar_styles import AvatarStyles from vrchatapi.models.avatar_unity_package_url_object import AvatarUnityPackageUrlObject from vrchatapi.models.badge import Badge +from vrchatapi.models.balance import Balance from vrchatapi.models.ban_group_member_request import BanGroupMemberRequest from vrchatapi.models.create_avatar_request import CreateAvatarRequest from vrchatapi.models.create_file_request import CreateFileRequest @@ -88,10 +91,15 @@ from vrchatapi.models.error import Error from vrchatapi.models.favorite import Favorite from vrchatapi.models.favorite_group import FavoriteGroup +from vrchatapi.models.favorite_group_limits import FavoriteGroupLimits from vrchatapi.models.favorite_group_visibility import FavoriteGroupVisibility +from vrchatapi.models.favorite_limits import FavoriteLimits from vrchatapi.models.favorite_type import FavoriteType from vrchatapi.models.favorited_world import FavoritedWorld +from vrchatapi.models.feedback import Feedback from vrchatapi.models.file import File +from vrchatapi.models.file_analysis import FileAnalysis +from vrchatapi.models.file_analysis_avatar_stats import FileAnalysisAvatarStats from vrchatapi.models.file_data import FileData from vrchatapi.models.file_status import FileStatus from vrchatapi.models.file_upload_url import FileUploadURL @@ -99,6 +107,7 @@ from vrchatapi.models.file_version_upload_status import FileVersionUploadStatus from vrchatapi.models.finish_file_data_upload_request import FinishFileDataUploadRequest from vrchatapi.models.friend_status import FriendStatus +from vrchatapi.models.get_user_group_instances200_response import GetUserGroupInstances200Response from vrchatapi.models.group import Group from vrchatapi.models.group_access_type import GroupAccessType from vrchatapi.models.group_announcement import GroupAnnouncement @@ -164,6 +173,11 @@ from vrchatapi.models.platform_build_info import PlatformBuildInfo from vrchatapi.models.player_moderation import PlayerModeration from vrchatapi.models.player_moderation_type import PlayerModerationType +from vrchatapi.models.product import Product +from vrchatapi.models.product_listing import ProductListing +from vrchatapi.models.product_listing_type import ProductListingType +from vrchatapi.models.product_listing_variant import ProductListingVariant +from vrchatapi.models.product_type import ProductType from vrchatapi.models.region import Region from vrchatapi.models.release_status import ReleaseStatus from vrchatapi.models.report_category import ReportCategory @@ -178,6 +192,9 @@ from vrchatapi.models.subscription import Subscription from vrchatapi.models.subscription_period import SubscriptionPeriod from vrchatapi.models.success import Success +from vrchatapi.models.tilia_status import TiliaStatus +from vrchatapi.models.tilia_tos import TiliaTOS +from vrchatapi.models.token_bundle import TokenBundle from vrchatapi.models.transaction import Transaction from vrchatapi.models.transaction_agreement import TransactionAgreement from vrchatapi.models.transaction_status import TransactionStatus @@ -193,10 +210,13 @@ from vrchatapi.models.update_group_request import UpdateGroupRequest from vrchatapi.models.update_group_role_request import UpdateGroupRoleRequest from vrchatapi.models.update_invite_message_request import UpdateInviteMessageRequest +from vrchatapi.models.update_user_note_request import UpdateUserNoteRequest from vrchatapi.models.update_user_request import UpdateUserRequest from vrchatapi.models.update_world_request import UpdateWorldRequest from vrchatapi.models.user import User from vrchatapi.models.user_exists import UserExists +from vrchatapi.models.user_note import UserNote +from vrchatapi.models.user_note_target_user import UserNoteTargetUser from vrchatapi.models.user_state import UserState from vrchatapi.models.user_status import UserStatus from vrchatapi.models.user_subscription import UserSubscription diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index 23936957..955c9936 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index 0cd31102..1f947b46 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 76a0c920..2f76f2ba 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,6 +36,144 @@ def __init__(self, api_client=None): api_client = ApiClient() self.api_client = api_client + def get_balance(self, user_id, **kwargs): # noqa: E501 + """Get Balance # noqa: E501 + + Gets the balance of a user # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_balance(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Balance + """ + kwargs['_return_http_data_only'] = True + return self.get_balance_with_http_info(user_id, **kwargs) # noqa: E501 + + def get_balance_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get Balance # noqa: E501 + + Gets the balance of a user # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_balance_with_http_info(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Balance, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_balance" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_balance`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "Balance", + 401: "Error", + } + + return self.api_client.call_api( + '/user/{userId}/balance', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def get_current_subscriptions(self, **kwargs): # noqa: E501 """Get Current Subscriptions # noqa: E501 @@ -302,18 +440,20 @@ def get_license_group_with_http_info(self, license_group_id, **kwargs): # noqa: collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_steam_transaction(self, transaction_id, **kwargs): # noqa: E501 - """Get Steam Transaction # noqa: E501 + def get_product_listing(self, product_id, **kwargs): # noqa: E501 + """Get Product Listing # noqa: E501 - Get a single Steam transactions by ID. This returns the exact same information as `getSteamTransactions`, so no point in using this endpoint. # noqa: E501 + Gets a product listing # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_steam_transaction(transaction_id, async_req=True) + >>> thread = api.get_product_listing(product_id, async_req=True) >>> result = thread.get() - :param transaction_id: Must be a valid transaction ID. (required) - :type transaction_id: str + :param product_id: Must be a valid product ID. (required) + :type product_id: str + :param hydrate: Populates some fields and changes types of others for certain objects. + :type hydrate: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -327,23 +467,25 @@ def get_steam_transaction(self, transaction_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: Transaction + :rtype: ProductListing """ kwargs['_return_http_data_only'] = True - return self.get_steam_transaction_with_http_info(transaction_id, **kwargs) # noqa: E501 + return self.get_product_listing_with_http_info(product_id, **kwargs) # noqa: E501 - def get_steam_transaction_with_http_info(self, transaction_id, **kwargs): # noqa: E501 - """Get Steam Transaction # noqa: E501 + def get_product_listing_with_http_info(self, product_id, **kwargs): # noqa: E501 + """Get Product Listing # noqa: E501 - Get a single Steam transactions by ID. This returns the exact same information as `getSteamTransactions`, so no point in using this endpoint. # noqa: E501 + Gets a product listing # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_steam_transaction_with_http_info(transaction_id, async_req=True) + >>> thread = api.get_product_listing_with_http_info(product_id, async_req=True) >>> result = thread.get() - :param transaction_id: Must be a valid transaction ID. (required) - :type transaction_id: str + :param product_id: Must be a valid product ID. (required) + :type product_id: str + :param hydrate: Populates some fields and changes types of others for certain objects. + :type hydrate: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -365,13 +507,14 @@ def get_steam_transaction_with_http_info(self, transaction_id, **kwargs): # noq :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(Transaction, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(ProductListing, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'transaction_id' + 'product_id', + 'hydrate' ] all_params.extend( [ @@ -389,21 +532,23 @@ def get_steam_transaction_with_http_info(self, transaction_id, **kwargs): # noq if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_steam_transaction" % key + " to method get_product_listing" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'transaction_id' is set - if self.api_client.client_side_validation and local_var_params.get('transaction_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `transaction_id` when calling `get_steam_transaction`") # noqa: E501 + # verify the required parameter 'product_id' is set + if self.api_client.client_side_validation and local_var_params.get('product_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `product_id` when calling `get_product_listing`") # noqa: E501 collection_formats = {} path_params = {} - if 'transaction_id' in local_var_params: - path_params['transactionId'] = local_var_params['transaction_id'] # noqa: E501 + if 'product_id' in local_var_params: + path_params['productId'] = local_var_params['product_id'] # noqa: E501 query_params = [] + if local_var_params.get('hydrate') is not None: # noqa: E501 + query_params.append(('hydrate', local_var_params['hydrate'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -419,12 +564,12 @@ def get_steam_transaction_with_http_info(self, transaction_id, **kwargs): # noq auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "Transaction", + 200: "ProductListing", 401: "Error", } return self.api_client.call_api( - '/Steam/transactions/{transactionId}', 'GET', + '/listing/{productId}', 'GET', path_params, query_params, header_params, @@ -440,16 +585,28 @@ def get_steam_transaction_with_http_info(self, transaction_id, **kwargs): # noq collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_steam_transactions(self, **kwargs): # noqa: E501 - """List Steam Transactions # noqa: E501 + def get_product_listings(self, user_id, **kwargs): # noqa: E501 + """Get User Product Listings # noqa: E501 - Get all own Steam transactions. # noqa: E501 + Gets the product listings of a given user # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_steam_transactions(async_req=True) + >>> thread = api.get_product_listings(user_id, async_req=True) >>> result = thread.get() + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param hydrate: Populates some fields and changes types of others for certain objects. + :type hydrate: bool + :param group_id: Must be a valid group ID. + :type group_id: str + :param active: Filter for users' listings. + :type active: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -463,21 +620,33 @@ def get_steam_transactions(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[Transaction] + :rtype: list[ProductListing] """ kwargs['_return_http_data_only'] = True - return self.get_steam_transactions_with_http_info(**kwargs) # noqa: E501 + return self.get_product_listings_with_http_info(user_id, **kwargs) # noqa: E501 - def get_steam_transactions_with_http_info(self, **kwargs): # noqa: E501 - """List Steam Transactions # noqa: E501 + def get_product_listings_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get User Product Listings # noqa: E501 - Get all own Steam transactions. # noqa: E501 + Gets the product listings of a given user # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_steam_transactions_with_http_info(async_req=True) + >>> thread = api.get_product_listings_with_http_info(user_id, async_req=True) >>> result = thread.get() + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param hydrate: Populates some fields and changes types of others for certain objects. + :type hydrate: bool + :param group_id: Must be a valid group ID. + :type group_id: str + :param active: Filter for users' listings. + :type active: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -499,12 +668,18 @@ def get_steam_transactions_with_http_info(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[Transaction], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(list[ProductListing], status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ + 'user_id', + 'n', + 'offset', + 'hydrate', + 'group_id', + 'active' ] all_params.extend( [ @@ -522,16 +697,37 @@ def get_steam_transactions_with_http_info(self, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_steam_transactions" % key + " to method get_product_listings" % key ) local_var_params[key] = val del local_var_params['kwargs'] - + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_product_listings`") # noqa: E501 + + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_product_listings`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_product_listings`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_product_listings`, must be a value greater than or equal to `0`") # noqa: E501 collection_formats = {} path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 query_params = [] + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + if local_var_params.get('hydrate') is not None: # noqa: E501 + query_params.append(('hydrate', local_var_params['hydrate'])) # noqa: E501 + if local_var_params.get('group_id') is not None: # noqa: E501 + query_params.append(('groupId', local_var_params['group_id'])) # noqa: E501 + if local_var_params.get('active') is not None: # noqa: E501 + query_params.append(('active', local_var_params['active'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -547,12 +743,12 @@ def get_steam_transactions_with_http_info(self, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "list[Transaction]", + 200: "list[ProductListing]", 401: "Error", } return self.api_client.call_api( - '/Steam/transactions', 'GET', + '/user/{userId}/listings', 'GET', path_params, query_params, header_params, @@ -568,16 +764,18 @@ def get_steam_transactions_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_subscriptions(self, **kwargs): # noqa: E501 - """List Subscriptions # noqa: E501 + def get_steam_transaction(self, transaction_id, **kwargs): # noqa: E501 + """Get Steam Transaction # noqa: E501 - List all existing Subscriptions. For example, \"vrchatplus-monthly\" and \"vrchatplus-yearly\". # noqa: E501 + Get a single Steam transactions by ID. This returns the exact same information as `getSteamTransactions`, so no point in using this endpoint. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_subscriptions(async_req=True) + >>> thread = api.get_steam_transaction(transaction_id, async_req=True) >>> result = thread.get() + :param transaction_id: Must be a valid transaction ID. (required) + :type transaction_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -591,21 +789,23 @@ def get_subscriptions(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[Subscription] + :rtype: Transaction """ kwargs['_return_http_data_only'] = True - return self.get_subscriptions_with_http_info(**kwargs) # noqa: E501 + return self.get_steam_transaction_with_http_info(transaction_id, **kwargs) # noqa: E501 - def get_subscriptions_with_http_info(self, **kwargs): # noqa: E501 - """List Subscriptions # noqa: E501 + def get_steam_transaction_with_http_info(self, transaction_id, **kwargs): # noqa: E501 + """Get Steam Transaction # noqa: E501 - List all existing Subscriptions. For example, \"vrchatplus-monthly\" and \"vrchatplus-yearly\". # noqa: E501 + Get a single Steam transactions by ID. This returns the exact same information as `getSteamTransactions`, so no point in using this endpoint. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_subscriptions_with_http_info(async_req=True) + >>> thread = api.get_steam_transaction_with_http_info(transaction_id, async_req=True) >>> result = thread.get() + :param transaction_id: Must be a valid transaction ID. (required) + :type transaction_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -627,12 +827,13 @@ def get_subscriptions_with_http_info(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[Subscription], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(Transaction, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ + 'transaction_id' ] all_params.extend( [ @@ -650,14 +851,19 @@ def get_subscriptions_with_http_info(self, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_subscriptions" % key + " to method get_steam_transaction" % key ) local_var_params[key] = val del local_var_params['kwargs'] + # verify the required parameter 'transaction_id' is set + if self.api_client.client_side_validation and local_var_params.get('transaction_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `transaction_id` when calling `get_steam_transaction`") # noqa: E501 collection_formats = {} path_params = {} + if 'transaction_id' in local_var_params: + path_params['transactionId'] = local_var_params['transaction_id'] # noqa: E501 query_params = [] @@ -675,12 +881,662 @@ def get_subscriptions_with_http_info(self, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "list[Subscription]", + 200: "Transaction", 401: "Error", } return self.api_client.call_api( - '/subscriptions', 'GET', + '/Steam/transactions/{transactionId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_steam_transactions(self, **kwargs): # noqa: E501 + """List Steam Transactions # noqa: E501 + + Get all own Steam transactions. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_steam_transactions(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[Transaction] + """ + kwargs['_return_http_data_only'] = True + return self.get_steam_transactions_with_http_info(**kwargs) # noqa: E501 + + def get_steam_transactions_with_http_info(self, **kwargs): # noqa: E501 + """List Steam Transactions # noqa: E501 + + Get all own Steam transactions. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_steam_transactions_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[Transaction], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_steam_transactions" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[Transaction]", + 401: "Error", + } + + return self.api_client.call_api( + '/Steam/transactions', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_subscriptions(self, **kwargs): # noqa: E501 + """List Subscriptions # noqa: E501 + + List all existing Subscriptions. For example, \"vrchatplus-monthly\" and \"vrchatplus-yearly\". # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_subscriptions(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[Subscription] + """ + kwargs['_return_http_data_only'] = True + return self.get_subscriptions_with_http_info(**kwargs) # noqa: E501 + + def get_subscriptions_with_http_info(self, **kwargs): # noqa: E501 + """List Subscriptions # noqa: E501 + + List all existing Subscriptions. For example, \"vrchatplus-monthly\" and \"vrchatplus-yearly\". # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_subscriptions_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[Subscription], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_subscriptions" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[Subscription]", + 401: "Error", + } + + return self.api_client.call_api( + '/subscriptions', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_tilia_status(self, **kwargs): # noqa: E501 + """Get Tilia Status # noqa: E501 + + Gets the status of Tilia integration # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_tilia_status(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: TiliaStatus + """ + kwargs['_return_http_data_only'] = True + return self.get_tilia_status_with_http_info(**kwargs) # noqa: E501 + + def get_tilia_status_with_http_info(self, **kwargs): # noqa: E501 + """Get Tilia Status # noqa: E501 + + Gets the status of Tilia integration # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_tilia_status_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(TiliaStatus, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_tilia_status" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "TiliaStatus", + 401: "Error", + } + + return self.api_client.call_api( + '/tilia/status', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_tilia_tos(self, user_id, **kwargs): # noqa: E501 + """Get Tilia TOS Agreement Status # noqa: E501 + + Gets the status of the agreement of a user to the Tilia TOS # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_tilia_tos(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: TiliaTOS + """ + kwargs['_return_http_data_only'] = True + return self.get_tilia_tos_with_http_info(user_id, **kwargs) # noqa: E501 + + def get_tilia_tos_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get Tilia TOS Agreement Status # noqa: E501 + + Gets the status of the agreement of a user to the Tilia TOS # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_tilia_tos_with_http_info(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(TiliaTOS, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_tilia_tos" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_tilia_tos`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "TiliaTOS", + 401: "Error", + } + + return self.api_client.call_api( + '/user/{userId}/tilia/tos', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_token_bundles(self, **kwargs): # noqa: E501 + """List Token Bundles # noqa: E501 + + Gets the list of token bundles # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_token_bundles(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[TokenBundle] + """ + kwargs['_return_http_data_only'] = True + return self.get_token_bundles_with_http_info(**kwargs) # noqa: E501 + + def get_token_bundles_with_http_info(self, **kwargs): # noqa: E501 + """List Token Bundles # noqa: E501 + + Gets the list of token bundles # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_token_bundles_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[TokenBundle], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_token_bundles" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[TokenBundle]", + 401: "Error", + } + + return self.api_client.call_api( + '/tokenBundles', 'GET', path_params, query_params, header_params, diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index 6891a0d8..e3b54c85 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -788,6 +788,134 @@ def get_favorite_groups_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def get_favorite_limits(self, **kwargs): # noqa: E501 + """Get Favorite Limits # noqa: E501 + + Return information about a specific Favorite. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_favorite_limits(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: FavoriteLimits + """ + kwargs['_return_http_data_only'] = True + return self.get_favorite_limits_with_http_info(**kwargs) # noqa: E501 + + def get_favorite_limits_with_http_info(self, **kwargs): # noqa: E501 + """Get Favorite Limits # noqa: E501 + + Return information about a specific Favorite. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_favorite_limits_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(FavoriteLimits, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_favorite_limits" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "FavoriteLimits", + 401: "Error", + } + + return self.api_client.call_api( + '/auth/user/favoritelimits', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def get_favorites(self, **kwargs): # noqa: E501 """List Favorites # noqa: E501 diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index ddaf932e..88ed10ad 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -1078,6 +1078,456 @@ def get_file_with_http_info(self, file_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def get_file_analysis(self, file_id, version_id, **kwargs): # noqa: E501 + """Get File Version Analysis # noqa: E501 + + Get the performance analysis for the uploaded assets of an avatar # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_file_analysis(file_id, version_id, async_req=True) + >>> result = thread.get() + + :param file_id: Must be a valid file ID. (required) + :type file_id: str + :param version_id: Version ID of the asset. (required) + :type version_id: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: FileAnalysis + """ + kwargs['_return_http_data_only'] = True + return self.get_file_analysis_with_http_info(file_id, version_id, **kwargs) # noqa: E501 + + def get_file_analysis_with_http_info(self, file_id, version_id, **kwargs): # noqa: E501 + """Get File Version Analysis # noqa: E501 + + Get the performance analysis for the uploaded assets of an avatar # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_file_analysis_with_http_info(file_id, version_id, async_req=True) + >>> result = thread.get() + + :param file_id: Must be a valid file ID. (required) + :type file_id: str + :param version_id: Version ID of the asset. (required) + :type version_id: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(FileAnalysis, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'file_id', + 'version_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_file_analysis" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'file_id' is set + if self.api_client.client_side_validation and local_var_params.get('file_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `file_id` when calling `get_file_analysis`") # noqa: E501 + # verify the required parameter 'version_id' is set + if self.api_client.client_side_validation and local_var_params.get('version_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `version_id` when calling `get_file_analysis`") # noqa: E501 + + if self.api_client.client_side_validation and 'version_id' in local_var_params and local_var_params['version_id'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `version_id` when calling `get_file_analysis`, must be a value greater than or equal to `1`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'file_id' in local_var_params: + path_params['fileId'] = local_var_params['file_id'] # noqa: E501 + if 'version_id' in local_var_params: + path_params['versionId'] = local_var_params['version_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "FileAnalysis", + 404: "Error", + } + + return self.api_client.call_api( + '/analysis/{fileId}/{versionId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_file_analysis_security(self, file_id, version_id, **kwargs): # noqa: E501 + """Get File Version Analysis Security # noqa: E501 + + Get the security performance analysis for the uploaded assets of an avatar # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_file_analysis_security(file_id, version_id, async_req=True) + >>> result = thread.get() + + :param file_id: Must be a valid file ID. (required) + :type file_id: str + :param version_id: Version ID of the asset. (required) + :type version_id: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: FileAnalysis + """ + kwargs['_return_http_data_only'] = True + return self.get_file_analysis_security_with_http_info(file_id, version_id, **kwargs) # noqa: E501 + + def get_file_analysis_security_with_http_info(self, file_id, version_id, **kwargs): # noqa: E501 + """Get File Version Analysis Security # noqa: E501 + + Get the security performance analysis for the uploaded assets of an avatar # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_file_analysis_security_with_http_info(file_id, version_id, async_req=True) + >>> result = thread.get() + + :param file_id: Must be a valid file ID. (required) + :type file_id: str + :param version_id: Version ID of the asset. (required) + :type version_id: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(FileAnalysis, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'file_id', + 'version_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_file_analysis_security" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'file_id' is set + if self.api_client.client_side_validation and local_var_params.get('file_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `file_id` when calling `get_file_analysis_security`") # noqa: E501 + # verify the required parameter 'version_id' is set + if self.api_client.client_side_validation and local_var_params.get('version_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `version_id` when calling `get_file_analysis_security`") # noqa: E501 + + if self.api_client.client_side_validation and 'version_id' in local_var_params and local_var_params['version_id'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `version_id` when calling `get_file_analysis_security`, must be a value greater than or equal to `1`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'file_id' in local_var_params: + path_params['fileId'] = local_var_params['file_id'] # noqa: E501 + if 'version_id' in local_var_params: + path_params['versionId'] = local_var_params['version_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "FileAnalysis", + 404: "Error", + } + + return self.api_client.call_api( + '/analysis/{fileId}/{versionId}/security', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_file_analysis_standard(self, file_id, version_id, **kwargs): # noqa: E501 + """Get File Version Analysis Standard # noqa: E501 + + Get the standard performance analysis for the uploaded assets of an avatar # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_file_analysis_standard(file_id, version_id, async_req=True) + >>> result = thread.get() + + :param file_id: Must be a valid file ID. (required) + :type file_id: str + :param version_id: Version ID of the asset. (required) + :type version_id: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: FileAnalysis + """ + kwargs['_return_http_data_only'] = True + return self.get_file_analysis_standard_with_http_info(file_id, version_id, **kwargs) # noqa: E501 + + def get_file_analysis_standard_with_http_info(self, file_id, version_id, **kwargs): # noqa: E501 + """Get File Version Analysis Standard # noqa: E501 + + Get the standard performance analysis for the uploaded assets of an avatar # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_file_analysis_standard_with_http_info(file_id, version_id, async_req=True) + >>> result = thread.get() + + :param file_id: Must be a valid file ID. (required) + :type file_id: str + :param version_id: Version ID of the asset. (required) + :type version_id: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(FileAnalysis, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'file_id', + 'version_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_file_analysis_standard" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'file_id' is set + if self.api_client.client_side_validation and local_var_params.get('file_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `file_id` when calling `get_file_analysis_standard`") # noqa: E501 + # verify the required parameter 'version_id' is set + if self.api_client.client_side_validation and local_var_params.get('version_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `version_id` when calling `get_file_analysis_standard`") # noqa: E501 + + if self.api_client.client_side_validation and 'version_id' in local_var_params and local_var_params['version_id'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `version_id` when calling `get_file_analysis_standard`, must be a value greater than or equal to `1`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'file_id' in local_var_params: + path_params['fileId'] = local_var_params['file_id'] # noqa: E501 + if 'version_id' in local_var_params: + path_params['versionId'] = local_var_params['version_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "FileAnalysis", + 404: "Error", + } + + return self.api_client.call_api( + '/analysis/{fileId}/{versionId}/standard', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def get_file_data_upload_status(self, file_id, version_id, file_type, **kwargs): # noqa: E501 """Check FileData Upload Status # noqa: E501 diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index 928695af..49770c4f 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index 18b4f4ee..0afc9018 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -960,7 +960,7 @@ def create_group_with_http_info(self, create_group_request, **kwargs): # noqa: def create_group_announcement(self, group_id, create_group_announcement_request, **kwargs): # noqa: E501 """Create Group Announcement # noqa: E501 - Creates an Announcement for a Group. # noqa: E501 + Creates an Announcement for a Group. Warning: This will also remove all announcements. To make proper announcements, use the posts endpoint instead # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -992,7 +992,7 @@ def create_group_announcement(self, group_id, create_group_announcement_request, def create_group_announcement_with_http_info(self, group_id, create_group_announcement_request, **kwargs): # noqa: E501 """Create Group Announcement # noqa: E501 - Creates an Announcement for a Group. # noqa: E501 + Creates an Announcement for a Group. Warning: This will also remove all announcements. To make proper announcements, use the posts endpoint instead # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -2916,6 +2916,12 @@ def get_group_audit_logs(self, group_id, **kwargs): # noqa: E501 :type start_date: datetime :param end_date: The end date of the search range. :type end_date: datetime + :param actor_ids: The comma-separated actor ids to search for. + :type actor_ids: str + :param event_types: The comma-separated event types to search for. + :type event_types: str + :param target_ids: The comma-separated target ids to search for. + :type target_ids: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -2954,6 +2960,12 @@ def get_group_audit_logs_with_http_info(self, group_id, **kwargs): # noqa: E501 :type start_date: datetime :param end_date: The end date of the search range. :type end_date: datetime + :param actor_ids: The comma-separated actor ids to search for. + :type actor_ids: str + :param event_types: The comma-separated event types to search for. + :type event_types: str + :param target_ids: The comma-separated target ids to search for. + :type target_ids: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -2985,7 +2997,10 @@ def get_group_audit_logs_with_http_info(self, group_id, **kwargs): # noqa: E501 'n', 'offset', 'start_date', - 'end_date' + 'end_date', + 'actor_ids', + 'event_types', + 'target_ids' ] all_params.extend( [ @@ -3032,6 +3047,12 @@ def get_group_audit_logs_with_http_info(self, group_id, **kwargs): # noqa: E501 query_params.append(('startDate', local_var_params['start_date'])) # noqa: E501 if local_var_params.get('end_date') is not None: # noqa: E501 query_params.append(('endDate', local_var_params['end_date'])) # noqa: E501 + if local_var_params.get('actor_ids') is not None: # noqa: E501 + query_params.append(('actorIds', local_var_params['actor_ids'])) # noqa: E501 + if local_var_params.get('event_types') is not None: # noqa: E501 + query_params.append(('eventTypes', local_var_params['event_types'])) # noqa: E501 + if local_var_params.get('target_ids') is not None: # noqa: E501 + query_params.append(('targetIds', local_var_params['target_ids'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 564a3411..5c749701 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index 5c277158..e171637e 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/jams_api.py b/vrchatapi/api/jams_api.py index c8382676..52ffd973 100644 --- a/vrchatapi/api/jams_api.py +++ b/vrchatapi/api/jams_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index 67ede13b..519ce73a 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index d55f115b..ecacf5c1 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index 76bb3716..903e2f0a 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index 30502521..bbd8f6d8 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index 27865d2a..817d3b5e 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -312,18 +312,598 @@ def get_user_by_name_with_http_info(self, username, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def get_user_feedback(self, user_id, **kwargs): # noqa: E501 + """Get User Feedback # noqa: E501 + + Get user's submitted feedback # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_user_feedback(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param content_id: Filter for users' previously submitted feedback, e.g., a groupId, useeId, avatarId, etc. + :type content_id: bool + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[Feedback] + """ + kwargs['_return_http_data_only'] = True + return self.get_user_feedback_with_http_info(user_id, **kwargs) # noqa: E501 + + def get_user_feedback_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get User Feedback # noqa: E501 + + Get user's submitted feedback # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_user_feedback_with_http_info(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param content_id: Filter for users' previously submitted feedback, e.g., a groupId, useeId, avatarId, etc. + :type content_id: bool + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[Feedback], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_id', + 'content_id', + 'n', + 'offset' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_user_feedback" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_user_feedback`") # noqa: E501 + + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_user_feedback`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_user_feedback`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_user_feedback`, must be a value greater than or equal to `0`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + if local_var_params.get('content_id') is not None: # noqa: E501 + query_params.append(('contentId', local_var_params['content_id'])) # noqa: E501 + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[Feedback]", + 401: "Error", + } + + return self.api_client.call_api( + '/users/{userId}/feedback', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_user_group_instances(self, user_id, **kwargs): # noqa: E501 + """Get User Group Instances # noqa: E501 + + Returns a list of group instances for a user # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_user_group_instances(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: GetUserGroupInstances200Response + """ + kwargs['_return_http_data_only'] = True + return self.get_user_group_instances_with_http_info(user_id, **kwargs) # noqa: E501 + + def get_user_group_instances_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get User Group Instances # noqa: E501 + + Returns a list of group instances for a user # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_user_group_instances_with_http_info(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(GetUserGroupInstances200Response, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_user_group_instances" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_user_group_instances`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "GetUserGroupInstances200Response", + 401: "Error", + 403: "Error", + } + + return self.api_client.call_api( + '/users/{userId}/instances/groups', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def get_user_group_requests(self, user_id, **kwargs): # noqa: E501 """Get User Group Requests # noqa: E501 - Returns a list of Groups the user has requested to be invited into. # noqa: E501 + Returns a list of Groups the user has requested to be invited into. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_user_group_requests(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[Group] + """ + kwargs['_return_http_data_only'] = True + return self.get_user_group_requests_with_http_info(user_id, **kwargs) # noqa: E501 + + def get_user_group_requests_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get User Group Requests # noqa: E501 + + Returns a list of Groups the user has requested to be invited into. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_user_group_requests_with_http_info(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[Group], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_user_group_requests" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_user_group_requests`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[Group]", + 401: "Error", + } + + return self.api_client.call_api( + '/users/{userId}/groups/requested', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_user_groups(self, user_id, **kwargs): # noqa: E501 + """Get User Groups # noqa: E501 + + Get user's public groups # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_user_groups(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[LimitedUserGroups] + """ + kwargs['_return_http_data_only'] = True + return self.get_user_groups_with_http_info(user_id, **kwargs) # noqa: E501 + + def get_user_groups_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get User Groups # noqa: E501 + + Get user's public groups # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_user_groups_with_http_info(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[LimitedUserGroups], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_user_groups" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_user_groups`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[LimitedUserGroups]", + 401: "Error", + } + + return self.api_client.call_api( + '/users/{userId}/groups', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_user_note(self, user_note_id, **kwargs): # noqa: E501 + """Get User Note # noqa: E501 + + Get a particular user note # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_user_group_requests(user_id, async_req=True) + >>> thread = api.get_user_note(user_note_id, async_req=True) >>> result = thread.get() - :param user_id: Must be a valid user ID. (required) - :type user_id: str + :param user_note_id: Must be a valid user note ID. (required) + :type user_note_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -337,23 +917,23 @@ def get_user_group_requests(self, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[Group] + :rtype: UserNote """ kwargs['_return_http_data_only'] = True - return self.get_user_group_requests_with_http_info(user_id, **kwargs) # noqa: E501 + return self.get_user_note_with_http_info(user_note_id, **kwargs) # noqa: E501 - def get_user_group_requests_with_http_info(self, user_id, **kwargs): # noqa: E501 - """Get User Group Requests # noqa: E501 + def get_user_note_with_http_info(self, user_note_id, **kwargs): # noqa: E501 + """Get User Note # noqa: E501 - Returns a list of Groups the user has requested to be invited into. # noqa: E501 + Get a particular user note # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_user_group_requests_with_http_info(user_id, async_req=True) + >>> thread = api.get_user_note_with_http_info(user_note_id, async_req=True) >>> result = thread.get() - :param user_id: Must be a valid user ID. (required) - :type user_id: str + :param user_note_id: Must be a valid user note ID. (required) + :type user_note_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -375,13 +955,13 @@ def get_user_group_requests_with_http_info(self, user_id, **kwargs): # noqa: E5 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[Group], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(UserNote, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'user_id' + 'user_note_id' ] all_params.extend( [ @@ -399,19 +979,19 @@ def get_user_group_requests_with_http_info(self, user_id, **kwargs): # noqa: E5 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_user_group_requests" % key + " to method get_user_note" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `user_id` when calling `get_user_group_requests`") # noqa: E501 + # verify the required parameter 'user_note_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_note_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_note_id` when calling `get_user_note`") # noqa: E501 collection_formats = {} path_params = {} - if 'user_id' in local_var_params: - path_params['userId'] = local_var_params['user_id'] # noqa: E501 + if 'user_note_id' in local_var_params: + path_params['userNoteId'] = local_var_params['user_note_id'] # noqa: E501 query_params = [] @@ -429,12 +1009,12 @@ def get_user_group_requests_with_http_info(self, user_id, **kwargs): # noqa: E5 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "list[Group]", + 200: "UserNote", 401: "Error", } return self.api_client.call_api( - '/users/{userId}/groups/requested', 'GET', + '/userNotes/{userNoteId}', 'GET', path_params, query_params, header_params, @@ -450,18 +1030,20 @@ def get_user_group_requests_with_http_info(self, user_id, **kwargs): # noqa: E5 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_user_groups(self, user_id, **kwargs): # noqa: E501 - """Get User Groups # noqa: E501 + def get_user_notes(self, **kwargs): # noqa: E501 + """Get User Notes # noqa: E501 - Get user's public groups # noqa: E501 + Get recently updated user notes # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_user_groups(user_id, async_req=True) + >>> thread = api.get_user_notes(async_req=True) >>> result = thread.get() - :param user_id: Must be a valid user ID. (required) - :type user_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -475,23 +1057,25 @@ def get_user_groups(self, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[LimitedUserGroups] + :rtype: list[UserNote] """ kwargs['_return_http_data_only'] = True - return self.get_user_groups_with_http_info(user_id, **kwargs) # noqa: E501 + return self.get_user_notes_with_http_info(**kwargs) # noqa: E501 - def get_user_groups_with_http_info(self, user_id, **kwargs): # noqa: E501 - """Get User Groups # noqa: E501 + def get_user_notes_with_http_info(self, **kwargs): # noqa: E501 + """Get User Notes # noqa: E501 - Get user's public groups # noqa: E501 + Get recently updated user notes # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_user_groups_with_http_info(user_id, async_req=True) + >>> thread = api.get_user_notes_with_http_info(async_req=True) >>> result = thread.get() - :param user_id: Must be a valid user ID. (required) - :type user_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -513,13 +1097,14 @@ def get_user_groups_with_http_info(self, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[LimitedUserGroups], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(list[UserNote], status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'user_id' + 'n', + 'offset' ] all_params.extend( [ @@ -537,21 +1122,26 @@ def get_user_groups_with_http_info(self, user_id, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_user_groups" % key + " to method get_user_notes" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `user_id` when calling `get_user_groups`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_user_notes`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_user_notes`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_user_notes`, must be a value greater than or equal to `0`") # noqa: E501 collection_formats = {} path_params = {} - if 'user_id' in local_var_params: - path_params['userId'] = local_var_params['user_id'] # noqa: E501 query_params = [] + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -567,12 +1157,12 @@ def get_user_groups_with_http_info(self, user_id, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "list[LimitedUserGroups]", + 200: "list[UserNote]", 401: "Error", } return self.api_client.call_api( - '/users/{userId}/groups', 'GET', + '/userNotes', 'GET', path_params, query_params, header_params, @@ -1044,3 +1634,149 @@ def update_user_with_http_info(self, user_id, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + + def update_user_note(self, update_user_note_request, **kwargs): # noqa: E501 + """Update User Note # noqa: E501 + + Updates the currently authenticated user's note on a user # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_user_note(update_user_note_request, async_req=True) + >>> result = thread.get() + + :param update_user_note_request: (required) + :type update_user_note_request: UpdateUserNoteRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: UserNote + """ + kwargs['_return_http_data_only'] = True + return self.update_user_note_with_http_info(update_user_note_request, **kwargs) # noqa: E501 + + def update_user_note_with_http_info(self, update_user_note_request, **kwargs): # noqa: E501 + """Update User Note # noqa: E501 + + Updates the currently authenticated user's note on a user # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_user_note_with_http_info(update_user_note_request, async_req=True) + >>> result = thread.get() + + :param update_user_note_request: (required) + :type update_user_note_request: UpdateUserNoteRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(UserNote, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'update_user_note_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method update_user_note" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'update_user_note_request' is set + if self.api_client.client_side_validation and local_var_params.get('update_user_note_request') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `update_user_note_request` when calling `update_user_note`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'update_user_note_request' in local_var_params: + body_params = local_var_params['update_user_note_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "UserNote", + 401: "Error", + } + + return self.api_client.call_api( + '/userNotes', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 6491ea47..3c03b2ca 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index 03ccc170..34c13af4 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,7 +3,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index 38162bb8..3a21579f 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -441,7 +441,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.18.8\n"\ + "Version of the API: 1.18.9\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index 12d10155..3b1ef8eb 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index 935fec62..d9ce35cd 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,7 +5,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -35,9 +35,12 @@ from vrchatapi.models.account_deletion_log import AccountDeletionLog from vrchatapi.models.add_favorite_request import AddFavoriteRequest from vrchatapi.models.add_group_gallery_image_request import AddGroupGalleryImageRequest +from vrchatapi.models.age_verification_status import AgeVerificationStatus from vrchatapi.models.avatar import Avatar +from vrchatapi.models.avatar_styles import AvatarStyles from vrchatapi.models.avatar_unity_package_url_object import AvatarUnityPackageUrlObject from vrchatapi.models.badge import Badge +from vrchatapi.models.balance import Balance from vrchatapi.models.ban_group_member_request import BanGroupMemberRequest from vrchatapi.models.create_avatar_request import CreateAvatarRequest from vrchatapi.models.create_file_request import CreateFileRequest @@ -58,10 +61,15 @@ from vrchatapi.models.error import Error from vrchatapi.models.favorite import Favorite from vrchatapi.models.favorite_group import FavoriteGroup +from vrchatapi.models.favorite_group_limits import FavoriteGroupLimits from vrchatapi.models.favorite_group_visibility import FavoriteGroupVisibility +from vrchatapi.models.favorite_limits import FavoriteLimits from vrchatapi.models.favorite_type import FavoriteType from vrchatapi.models.favorited_world import FavoritedWorld +from vrchatapi.models.feedback import Feedback from vrchatapi.models.file import File +from vrchatapi.models.file_analysis import FileAnalysis +from vrchatapi.models.file_analysis_avatar_stats import FileAnalysisAvatarStats from vrchatapi.models.file_data import FileData from vrchatapi.models.file_status import FileStatus from vrchatapi.models.file_upload_url import FileUploadURL @@ -69,6 +77,7 @@ from vrchatapi.models.file_version_upload_status import FileVersionUploadStatus from vrchatapi.models.finish_file_data_upload_request import FinishFileDataUploadRequest from vrchatapi.models.friend_status import FriendStatus +from vrchatapi.models.get_user_group_instances200_response import GetUserGroupInstances200Response from vrchatapi.models.group import Group from vrchatapi.models.group_access_type import GroupAccessType from vrchatapi.models.group_announcement import GroupAnnouncement @@ -134,6 +143,11 @@ from vrchatapi.models.platform_build_info import PlatformBuildInfo from vrchatapi.models.player_moderation import PlayerModeration from vrchatapi.models.player_moderation_type import PlayerModerationType +from vrchatapi.models.product import Product +from vrchatapi.models.product_listing import ProductListing +from vrchatapi.models.product_listing_type import ProductListingType +from vrchatapi.models.product_listing_variant import ProductListingVariant +from vrchatapi.models.product_type import ProductType from vrchatapi.models.region import Region from vrchatapi.models.release_status import ReleaseStatus from vrchatapi.models.report_category import ReportCategory @@ -148,6 +162,9 @@ from vrchatapi.models.subscription import Subscription from vrchatapi.models.subscription_period import SubscriptionPeriod from vrchatapi.models.success import Success +from vrchatapi.models.tilia_status import TiliaStatus +from vrchatapi.models.tilia_tos import TiliaTOS +from vrchatapi.models.token_bundle import TokenBundle from vrchatapi.models.transaction import Transaction from vrchatapi.models.transaction_agreement import TransactionAgreement from vrchatapi.models.transaction_status import TransactionStatus @@ -163,10 +180,13 @@ from vrchatapi.models.update_group_request import UpdateGroupRequest from vrchatapi.models.update_group_role_request import UpdateGroupRoleRequest from vrchatapi.models.update_invite_message_request import UpdateInviteMessageRequest +from vrchatapi.models.update_user_note_request import UpdateUserNoteRequest from vrchatapi.models.update_user_request import UpdateUserRequest from vrchatapi.models.update_world_request import UpdateWorldRequest from vrchatapi.models.user import User from vrchatapi.models.user_exists import UserExists +from vrchatapi.models.user_note import UserNote +from vrchatapi.models.user_note_target_user import UserNoteTargetUser from vrchatapi.models.user_state import UserState from vrchatapi.models.user_status import UserStatus from vrchatapi.models.user_subscription import UserSubscription diff --git a/vrchatapi/models/account_deletion_log.py b/vrchatapi/models/account_deletion_log.py index 09a2326b..f082f9e5 100644 --- a/vrchatapi/models/account_deletion_log.py +++ b/vrchatapi/models/account_deletion_log.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index a6374ef1..7ec78279 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index 7381acaa..f3ae1101 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/age_verification_status.py b/vrchatapi/models/age_verification_status.py new file mode 100644 index 00000000..eb5d1c01 --- /dev/null +++ b/vrchatapi/models/age_verification_status.py @@ -0,0 +1,112 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.9 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class AgeVerificationStatus(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + hidden = "hidden" + verified = "verified" + plus18 = "18+" + + allowable_values = [hidden, verified, plus18] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """AgeVerificationStatus - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AgeVerificationStatus): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, AgeVerificationStatus): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index 9edd7224..4f221f7c 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index 190a10e2..b3feb15f 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_avatar_perf_limiter.py b/vrchatapi/models/api_config_avatar_perf_limiter.py index 9038b694..a741ec15 100644 --- a/vrchatapi/models/api_config_avatar_perf_limiter.py +++ b/vrchatapi/models/api_config_avatar_perf_limiter.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants.py b/vrchatapi/models/api_config_constants.py index 7c342aee..101b99c6 100644 --- a/vrchatapi/models/api_config_constants.py +++ b/vrchatapi/models/api_config_constants.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_groups.py b/vrchatapi/models/api_config_constants_groups.py index 0117d357..e2c40db0 100644 --- a/vrchatapi/models/api_config_constants_groups.py +++ b/vrchatapi/models/api_config_constants_groups.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instance.py b/vrchatapi/models/api_config_constants_instance.py index 0750a80d..69a001d0 100644 --- a/vrchatapi/models/api_config_constants_instance.py +++ b/vrchatapi/models/api_config_constants_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbrackets.py b/vrchatapi/models/api_config_constants_instancepopulationbrackets.py index 75294bf1..c4c891eb 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbrackets.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbrackets.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py b/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py index e7745859..755fa124 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py b/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py index c87255a9..07185a19 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py b/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py index 97c77cc2..93914588 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_language.py b/vrchatapi/models/api_config_constants_language.py index dfdc58eb..f99b2c12 100644 --- a/vrchatapi/models/api_config_constants_language.py +++ b/vrchatapi/models/api_config_constants_language.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index 559a1baa..a5450173 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index a7a804d8..2d978c9d 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_min_supported_client_build_number.py b/vrchatapi/models/api_config_min_supported_client_build_number.py index 34a83a0c..982fbca7 100644 --- a/vrchatapi/models/api_config_min_supported_client_build_number.py +++ b/vrchatapi/models/api_config_min_supported_client_build_number.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_offline_analysis.py b/vrchatapi/models/api_config_offline_analysis.py index 4ef2d35e..0cb336fd 100644 --- a/vrchatapi/models/api_config_offline_analysis.py +++ b/vrchatapi/models/api_config_offline_analysis.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_categories.py b/vrchatapi/models/api_config_report_categories.py index a833df4e..aba890f9 100644 --- a/vrchatapi/models/api_config_report_categories.py +++ b/vrchatapi/models/api_config_report_categories.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_reasons.py b/vrchatapi/models/api_config_report_reasons.py index 956798bf..e226324d 100644 --- a/vrchatapi/models/api_config_report_reasons.py +++ b/vrchatapi/models/api_config_report_reasons.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index 64865dd6..b2f590fb 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index b6f018dd..2a842f7a 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -47,6 +47,7 @@ class Avatar(object): 'image_url': 'str', 'name': 'str', 'release_status': 'ReleaseStatus', + 'styles': 'AvatarStyles', 'tags': 'list[str]', 'thumbnail_image_url': 'str', 'unity_package_url': 'str', @@ -68,6 +69,7 @@ class Avatar(object): 'image_url': 'imageUrl', 'name': 'name', 'release_status': 'releaseStatus', + 'styles': 'styles', 'tags': 'tags', 'thumbnail_image_url': 'thumbnailImageUrl', 'unity_package_url': 'unityPackageUrl', @@ -77,7 +79,7 @@ class Avatar(object): 'version': 'version' } - def __init__(self, asset_url=None, asset_url_object=None, author_id=None, author_name=None, created_at=None, description=None, featured=False, id=None, image_url=None, name=None, release_status=None, tags=None, thumbnail_image_url=None, unity_package_url=None, unity_package_url_object=None, unity_packages=None, updated_at=None, version=0, local_vars_configuration=None): # noqa: E501 + def __init__(self, asset_url=None, asset_url_object=None, author_id=None, author_name=None, created_at=None, description=None, featured=False, id=None, image_url=None, name=None, release_status=None, styles=None, tags=None, thumbnail_image_url=None, unity_package_url=None, unity_package_url_object=None, unity_packages=None, updated_at=None, version=0, local_vars_configuration=None): # noqa: E501 """Avatar - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -94,6 +96,7 @@ def __init__(self, asset_url=None, asset_url_object=None, author_id=None, author self._image_url = None self._name = None self._release_status = None + self._styles = None self._tags = None self._thumbnail_image_url = None self._unity_package_url = None @@ -116,6 +119,7 @@ def __init__(self, asset_url=None, asset_url_object=None, author_id=None, author self.image_url = image_url self.name = name self.release_status = release_status + self.styles = styles self.tags = tags self.thumbnail_image_url = thumbnail_image_url self.unity_package_url = unity_package_url @@ -394,6 +398,29 @@ def release_status(self, release_status): self._release_status = release_status + @property + def styles(self): + """Gets the styles of this Avatar. # noqa: E501 + + + :return: The styles of this Avatar. # noqa: E501 + :rtype: AvatarStyles + """ + return self._styles + + @styles.setter + def styles(self, styles): + """Sets the styles of this Avatar. + + + :param styles: The styles of this Avatar. # noqa: E501 + :type styles: AvatarStyles + """ + if self.local_vars_configuration.client_side_validation and styles is None: # noqa: E501 + raise ValueError("Invalid value for `styles`, must not be `None`") # noqa: E501 + + self._styles = styles + @property def tags(self): """Gets the tags of this Avatar. # noqa: E501 diff --git a/vrchatapi/models/avatar_styles.py b/vrchatapi/models/avatar_styles.py new file mode 100644 index 00000000..21262415 --- /dev/null +++ b/vrchatapi/models/avatar_styles.py @@ -0,0 +1,181 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.9 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class AvatarStyles(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'primary': 'str', + 'secondary': 'str', + 'supplementary': 'list[str]' + } + + attribute_map = { + 'primary': 'primary', + 'secondary': 'secondary', + 'supplementary': 'supplementary' + } + + def __init__(self, primary=None, secondary=None, supplementary=None, local_vars_configuration=None): # noqa: E501 + """AvatarStyles - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._primary = None + self._secondary = None + self._supplementary = None + self.discriminator = None + + self.primary = primary + self.secondary = secondary + if supplementary is not None: + self.supplementary = supplementary + + @property + def primary(self): + """Gets the primary of this AvatarStyles. # noqa: E501 + + + :return: The primary of this AvatarStyles. # noqa: E501 + :rtype: str + """ + return self._primary + + @primary.setter + def primary(self, primary): + """Sets the primary of this AvatarStyles. + + + :param primary: The primary of this AvatarStyles. # noqa: E501 + :type primary: str + """ + + self._primary = primary + + @property + def secondary(self): + """Gets the secondary of this AvatarStyles. # noqa: E501 + + + :return: The secondary of this AvatarStyles. # noqa: E501 + :rtype: str + """ + return self._secondary + + @secondary.setter + def secondary(self, secondary): + """Sets the secondary of this AvatarStyles. + + + :param secondary: The secondary of this AvatarStyles. # noqa: E501 + :type secondary: str + """ + + self._secondary = secondary + + @property + def supplementary(self): + """Gets the supplementary of this AvatarStyles. # noqa: E501 + + + :return: The supplementary of this AvatarStyles. # noqa: E501 + :rtype: list[str] + """ + return self._supplementary + + @supplementary.setter + def supplementary(self, supplementary): + """Sets the supplementary of this AvatarStyles. + + + :param supplementary: The supplementary of this AvatarStyles. # noqa: E501 + :type supplementary: list[str] + """ + + self._supplementary = supplementary + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AvatarStyles): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, AvatarStyles): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index 821eb2e7..47021668 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/badge.py b/vrchatapi/models/badge.py index 1d301a5f..61e8afef 100644 --- a/vrchatapi/models/badge.py +++ b/vrchatapi/models/badge.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/balance.py b/vrchatapi/models/balance.py new file mode 100644 index 00000000..26becdf3 --- /dev/null +++ b/vrchatapi/models/balance.py @@ -0,0 +1,184 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.9 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class Balance(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'balance': 'int', + 'no_transactions': 'bool', + 'tilia_response': 'bool' + } + + attribute_map = { + 'balance': 'balance', + 'no_transactions': 'noTransactions', + 'tilia_response': 'tiliaResponse' + } + + def __init__(self, balance=0, no_transactions=None, tilia_response=None, local_vars_configuration=None): # noqa: E501 + """Balance - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._balance = None + self._no_transactions = None + self._tilia_response = None + self.discriminator = None + + self.balance = balance + if no_transactions is not None: + self.no_transactions = no_transactions + if tilia_response is not None: + self.tilia_response = tilia_response + + @property + def balance(self): + """Gets the balance of this Balance. # noqa: E501 + + + :return: The balance of this Balance. # noqa: E501 + :rtype: int + """ + return self._balance + + @balance.setter + def balance(self, balance): + """Sets the balance of this Balance. + + + :param balance: The balance of this Balance. # noqa: E501 + :type balance: int + """ + if self.local_vars_configuration.client_side_validation and balance is None: # noqa: E501 + raise ValueError("Invalid value for `balance`, must not be `None`") # noqa: E501 + + self._balance = balance + + @property + def no_transactions(self): + """Gets the no_transactions of this Balance. # noqa: E501 + + + :return: The no_transactions of this Balance. # noqa: E501 + :rtype: bool + """ + return self._no_transactions + + @no_transactions.setter + def no_transactions(self, no_transactions): + """Sets the no_transactions of this Balance. + + + :param no_transactions: The no_transactions of this Balance. # noqa: E501 + :type no_transactions: bool + """ + + self._no_transactions = no_transactions + + @property + def tilia_response(self): + """Gets the tilia_response of this Balance. # noqa: E501 + + + :return: The tilia_response of this Balance. # noqa: E501 + :rtype: bool + """ + return self._tilia_response + + @tilia_response.setter + def tilia_response(self, tilia_response): + """Sets the tilia_response of this Balance. + + + :param tilia_response: The tilia_response of this Balance. # noqa: E501 + :type tilia_response: bool + """ + + self._tilia_response = tilia_response + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, Balance): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, Balance): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index 122505cc..60faa996 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index ca4b3b96..9cffddee 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index c807ed72..16b21116 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index 4e25a75b..cfba439d 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index 73f342b5..178ae8f9 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index b4cc8cb8..f4bcedf2 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index 90b41d8d..d465ec43 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_post_request.py b/vrchatapi/models/create_group_post_request.py index 29fa0d0d..a366604c 100644 --- a/vrchatapi/models/create_group_post_request.py +++ b/vrchatapi/models/create_group_post_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index d9d313eb..e8a0be3a 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index 429c7ed2..9231eb6f 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -177,6 +177,14 @@ def permissions(self, permissions): :param permissions: The permissions of this CreateGroupRoleRequest. # noqa: E501 :type permissions: list[str] """ + allowed_values = ["\*", "group-announcement-manage", "group-audit-view", "group-bans-manage", "group-data-manage", "group-default-role-manage", "group-galleries-manage", "group-instance-age-gated-create", "group-instance-join", "group-instance-manage", "group-instance-moderate", "group-instance-open-create", "group-instance-plus-create", "group-instance-plus-portal", "group-instance-plus-portal-unlocked", "group-instance-public-create", "group-instance-queue-priority", "group-instance-restricted-create", "group-invites-manage", "group-members-manage", "group-members-remove", "group-members-viewall", "group-roles-assign", "group-roles-manage"] # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + not set(permissions).issubset(set(allowed_values))): # noqa: E501 + raise ValueError( + "Invalid values for `permissions` [{0}], must be a subset of [{1}]" # noqa: E501 + .format(", ".join(map(str, set(permissions) - set(allowed_values))), # noqa: E501 + ", ".join(map(str, allowed_values))) + ) self._permissions = permissions diff --git a/vrchatapi/models/create_instance_request.py b/vrchatapi/models/create_instance_request.py index 715c6d1a..ecdfadf5 100644 --- a/vrchatapi/models/create_instance_request.py +++ b/vrchatapi/models/create_instance_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index a7b3b8ab..a9a5f435 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index a92b3434..a5a27729 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -41,7 +41,7 @@ class CurrentUser(object): 'account_deletion_date': 'date', 'account_deletion_log': 'list[AccountDeletionLog]', 'active_friends': 'list[str]', - 'age_verification_status': 'str', + 'age_verification_status': 'AgeVerificationStatus', 'age_verified': 'bool', 'allow_avatar_copying': 'bool', 'badges': 'list[Badge]', @@ -470,7 +470,7 @@ def age_verification_status(self): :return: The age_verification_status of this CurrentUser. # noqa: E501 - :rtype: str + :rtype: AgeVerificationStatus """ return self._age_verification_status @@ -480,7 +480,7 @@ def age_verification_status(self, age_verification_status): :param age_verification_status: The age_verification_status of this CurrentUser. # noqa: E501 - :type age_verification_status: str + :type age_verification_status: AgeVerificationStatus """ if self.local_vars_configuration.client_side_validation and age_verification_status is None: # noqa: E501 raise ValueError("Invalid value for `age_verification_status`, must not be `None`") # noqa: E501 diff --git a/vrchatapi/models/current_user_presence.py b/vrchatapi/models/current_user_presence.py index 34ca6ff7..d4cb2fca 100644 --- a/vrchatapi/models/current_user_presence.py +++ b/vrchatapi/models/current_user_presence.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/deployment_group.py b/vrchatapi/models/deployment_group.py index a25d38a4..3b9bc2ca 100644 --- a/vrchatapi/models/deployment_group.py +++ b/vrchatapi/models/deployment_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index 31930668..7fe77f26 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index 10638ddb..a31277b4 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index 6391a798..ee82f130 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index ced8fba1..6895d0d9 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index 147fb54e..04742c32 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_limits.py b/vrchatapi/models/favorite_group_limits.py new file mode 100644 index 00000000..aaae1b46 --- /dev/null +++ b/vrchatapi/models/favorite_group_limits.py @@ -0,0 +1,186 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.9 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class FavoriteGroupLimits(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'avatar': 'int', + 'friend': 'int', + 'world': 'int' + } + + attribute_map = { + 'avatar': 'avatar', + 'friend': 'friend', + 'world': 'world' + } + + def __init__(self, avatar=None, friend=None, world=None, local_vars_configuration=None): # noqa: E501 + """FavoriteGroupLimits - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._avatar = None + self._friend = None + self._world = None + self.discriminator = None + + self.avatar = avatar + self.friend = friend + self.world = world + + @property + def avatar(self): + """Gets the avatar of this FavoriteGroupLimits. # noqa: E501 + + + :return: The avatar of this FavoriteGroupLimits. # noqa: E501 + :rtype: int + """ + return self._avatar + + @avatar.setter + def avatar(self, avatar): + """Sets the avatar of this FavoriteGroupLimits. + + + :param avatar: The avatar of this FavoriteGroupLimits. # noqa: E501 + :type avatar: int + """ + if self.local_vars_configuration.client_side_validation and avatar is None: # noqa: E501 + raise ValueError("Invalid value for `avatar`, must not be `None`") # noqa: E501 + + self._avatar = avatar + + @property + def friend(self): + """Gets the friend of this FavoriteGroupLimits. # noqa: E501 + + + :return: The friend of this FavoriteGroupLimits. # noqa: E501 + :rtype: int + """ + return self._friend + + @friend.setter + def friend(self, friend): + """Sets the friend of this FavoriteGroupLimits. + + + :param friend: The friend of this FavoriteGroupLimits. # noqa: E501 + :type friend: int + """ + if self.local_vars_configuration.client_side_validation and friend is None: # noqa: E501 + raise ValueError("Invalid value for `friend`, must not be `None`") # noqa: E501 + + self._friend = friend + + @property + def world(self): + """Gets the world of this FavoriteGroupLimits. # noqa: E501 + + + :return: The world of this FavoriteGroupLimits. # noqa: E501 + :rtype: int + """ + return self._world + + @world.setter + def world(self, world): + """Sets the world of this FavoriteGroupLimits. + + + :param world: The world of this FavoriteGroupLimits. # noqa: E501 + :type world: int + """ + if self.local_vars_configuration.client_side_validation and world is None: # noqa: E501 + raise ValueError("Invalid value for `world`, must not be `None`") # noqa: E501 + + self._world = world + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, FavoriteGroupLimits): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, FavoriteGroupLimits): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index dde4778a..9ff0b2dc 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_limits.py b/vrchatapi/models/favorite_limits.py new file mode 100644 index 00000000..c8339eb5 --- /dev/null +++ b/vrchatapi/models/favorite_limits.py @@ -0,0 +1,213 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.9 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class FavoriteLimits(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'default_max_favorite_groups': 'int', + 'default_max_favorites_per_group': 'int', + 'max_favorite_groups': 'FavoriteGroupLimits', + 'max_favorites_per_group': 'FavoriteGroupLimits' + } + + attribute_map = { + 'default_max_favorite_groups': 'defaultMaxFavoriteGroups', + 'default_max_favorites_per_group': 'defaultMaxFavoritesPerGroup', + 'max_favorite_groups': 'maxFavoriteGroups', + 'max_favorites_per_group': 'maxFavoritesPerGroup' + } + + def __init__(self, default_max_favorite_groups=None, default_max_favorites_per_group=None, max_favorite_groups=None, max_favorites_per_group=None, local_vars_configuration=None): # noqa: E501 + """FavoriteLimits - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._default_max_favorite_groups = None + self._default_max_favorites_per_group = None + self._max_favorite_groups = None + self._max_favorites_per_group = None + self.discriminator = None + + self.default_max_favorite_groups = default_max_favorite_groups + self.default_max_favorites_per_group = default_max_favorites_per_group + self.max_favorite_groups = max_favorite_groups + self.max_favorites_per_group = max_favorites_per_group + + @property + def default_max_favorite_groups(self): + """Gets the default_max_favorite_groups of this FavoriteLimits. # noqa: E501 + + + :return: The default_max_favorite_groups of this FavoriteLimits. # noqa: E501 + :rtype: int + """ + return self._default_max_favorite_groups + + @default_max_favorite_groups.setter + def default_max_favorite_groups(self, default_max_favorite_groups): + """Sets the default_max_favorite_groups of this FavoriteLimits. + + + :param default_max_favorite_groups: The default_max_favorite_groups of this FavoriteLimits. # noqa: E501 + :type default_max_favorite_groups: int + """ + if self.local_vars_configuration.client_side_validation and default_max_favorite_groups is None: # noqa: E501 + raise ValueError("Invalid value for `default_max_favorite_groups`, must not be `None`") # noqa: E501 + + self._default_max_favorite_groups = default_max_favorite_groups + + @property + def default_max_favorites_per_group(self): + """Gets the default_max_favorites_per_group of this FavoriteLimits. # noqa: E501 + + + :return: The default_max_favorites_per_group of this FavoriteLimits. # noqa: E501 + :rtype: int + """ + return self._default_max_favorites_per_group + + @default_max_favorites_per_group.setter + def default_max_favorites_per_group(self, default_max_favorites_per_group): + """Sets the default_max_favorites_per_group of this FavoriteLimits. + + + :param default_max_favorites_per_group: The default_max_favorites_per_group of this FavoriteLimits. # noqa: E501 + :type default_max_favorites_per_group: int + """ + if self.local_vars_configuration.client_side_validation and default_max_favorites_per_group is None: # noqa: E501 + raise ValueError("Invalid value for `default_max_favorites_per_group`, must not be `None`") # noqa: E501 + + self._default_max_favorites_per_group = default_max_favorites_per_group + + @property + def max_favorite_groups(self): + """Gets the max_favorite_groups of this FavoriteLimits. # noqa: E501 + + + :return: The max_favorite_groups of this FavoriteLimits. # noqa: E501 + :rtype: FavoriteGroupLimits + """ + return self._max_favorite_groups + + @max_favorite_groups.setter + def max_favorite_groups(self, max_favorite_groups): + """Sets the max_favorite_groups of this FavoriteLimits. + + + :param max_favorite_groups: The max_favorite_groups of this FavoriteLimits. # noqa: E501 + :type max_favorite_groups: FavoriteGroupLimits + """ + if self.local_vars_configuration.client_side_validation and max_favorite_groups is None: # noqa: E501 + raise ValueError("Invalid value for `max_favorite_groups`, must not be `None`") # noqa: E501 + + self._max_favorite_groups = max_favorite_groups + + @property + def max_favorites_per_group(self): + """Gets the max_favorites_per_group of this FavoriteLimits. # noqa: E501 + + + :return: The max_favorites_per_group of this FavoriteLimits. # noqa: E501 + :rtype: FavoriteGroupLimits + """ + return self._max_favorites_per_group + + @max_favorites_per_group.setter + def max_favorites_per_group(self, max_favorites_per_group): + """Sets the max_favorites_per_group of this FavoriteLimits. + + + :param max_favorites_per_group: The max_favorites_per_group of this FavoriteLimits. # noqa: E501 + :type max_favorites_per_group: FavoriteGroupLimits + """ + if self.local_vars_configuration.client_side_validation and max_favorites_per_group is None: # noqa: E501 + raise ValueError("Invalid value for `max_favorites_per_group`, must not be `None`") # noqa: E501 + + self._max_favorites_per_group = max_favorites_per_group + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, FavoriteLimits): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, FavoriteLimits): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index bd95fcb8..39a8f8df 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorited_world.py b/vrchatapi/models/favorited_world.py index 8d9b5fdf..ff56f8f5 100644 --- a/vrchatapi/models/favorited_world.py +++ b/vrchatapi/models/favorited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/feedback.py b/vrchatapi/models/feedback.py new file mode 100644 index 00000000..3685a1b0 --- /dev/null +++ b/vrchatapi/models/feedback.py @@ -0,0 +1,453 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.9 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class Feedback(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'commenter_id': 'str', + 'commenter_name': 'str', + 'content_author_id': 'str', + 'content_author_name': 'str', + 'content_id': 'str', + 'content_name': 'str', + 'content_type': 'str', + 'content_version': 'int', + 'description': 'str', + 'id': 'str', + 'reason': 'str', + 'tags': 'list[str]', + 'type': 'str' + } + + attribute_map = { + 'commenter_id': 'commenterId', + 'commenter_name': 'commenterName', + 'content_author_id': 'contentAuthorId', + 'content_author_name': 'contentAuthorName', + 'content_id': 'contentId', + 'content_name': 'contentName', + 'content_type': 'contentType', + 'content_version': 'contentVersion', + 'description': 'description', + 'id': 'id', + 'reason': 'reason', + 'tags': 'tags', + 'type': 'type' + } + + def __init__(self, commenter_id=None, commenter_name=None, content_author_id=None, content_author_name=None, content_id=None, content_name=None, content_type=None, content_version=None, description=None, id=None, reason=None, tags=None, type=None, local_vars_configuration=None): # noqa: E501 + """Feedback - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._commenter_id = None + self._commenter_name = None + self._content_author_id = None + self._content_author_name = None + self._content_id = None + self._content_name = None + self._content_type = None + self._content_version = None + self._description = None + self._id = None + self._reason = None + self._tags = None + self._type = None + self.discriminator = None + + self.commenter_id = commenter_id + self.commenter_name = commenter_name + self.content_author_id = content_author_id + self.content_author_name = content_author_name + self.content_id = content_id + if content_name is not None: + self.content_name = content_name + self.content_type = content_type + self.content_version = content_version + self.description = description + self.id = id + self.reason = reason + self.tags = tags + self.type = type + + @property + def commenter_id(self): + """Gets the commenter_id of this Feedback. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The commenter_id of this Feedback. # noqa: E501 + :rtype: str + """ + return self._commenter_id + + @commenter_id.setter + def commenter_id(self, commenter_id): + """Sets the commenter_id of this Feedback. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param commenter_id: The commenter_id of this Feedback. # noqa: E501 + :type commenter_id: str + """ + if self.local_vars_configuration.client_side_validation and commenter_id is None: # noqa: E501 + raise ValueError("Invalid value for `commenter_id`, must not be `None`") # noqa: E501 + + self._commenter_id = commenter_id + + @property + def commenter_name(self): + """Gets the commenter_name of this Feedback. # noqa: E501 + + + :return: The commenter_name of this Feedback. # noqa: E501 + :rtype: str + """ + return self._commenter_name + + @commenter_name.setter + def commenter_name(self, commenter_name): + """Sets the commenter_name of this Feedback. + + + :param commenter_name: The commenter_name of this Feedback. # noqa: E501 + :type commenter_name: str + """ + if self.local_vars_configuration.client_side_validation and commenter_name is None: # noqa: E501 + raise ValueError("Invalid value for `commenter_name`, must not be `None`") # noqa: E501 + + self._commenter_name = commenter_name + + @property + def content_author_id(self): + """Gets the content_author_id of this Feedback. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The content_author_id of this Feedback. # noqa: E501 + :rtype: str + """ + return self._content_author_id + + @content_author_id.setter + def content_author_id(self, content_author_id): + """Sets the content_author_id of this Feedback. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param content_author_id: The content_author_id of this Feedback. # noqa: E501 + :type content_author_id: str + """ + if self.local_vars_configuration.client_side_validation and content_author_id is None: # noqa: E501 + raise ValueError("Invalid value for `content_author_id`, must not be `None`") # noqa: E501 + + self._content_author_id = content_author_id + + @property + def content_author_name(self): + """Gets the content_author_name of this Feedback. # noqa: E501 + + + :return: The content_author_name of this Feedback. # noqa: E501 + :rtype: str + """ + return self._content_author_name + + @content_author_name.setter + def content_author_name(self, content_author_name): + """Sets the content_author_name of this Feedback. + + + :param content_author_name: The content_author_name of this Feedback. # noqa: E501 + :type content_author_name: str + """ + + self._content_author_name = content_author_name + + @property + def content_id(self): + """Gets the content_id of this Feedback. # noqa: E501 + + + :return: The content_id of this Feedback. # noqa: E501 + :rtype: str + """ + return self._content_id + + @content_id.setter + def content_id(self, content_id): + """Sets the content_id of this Feedback. + + + :param content_id: The content_id of this Feedback. # noqa: E501 + :type content_id: str + """ + if self.local_vars_configuration.client_side_validation and content_id is None: # noqa: E501 + raise ValueError("Invalid value for `content_id`, must not be `None`") # noqa: E501 + + self._content_id = content_id + + @property + def content_name(self): + """Gets the content_name of this Feedback. # noqa: E501 + + + :return: The content_name of this Feedback. # noqa: E501 + :rtype: str + """ + return self._content_name + + @content_name.setter + def content_name(self, content_name): + """Sets the content_name of this Feedback. + + + :param content_name: The content_name of this Feedback. # noqa: E501 + :type content_name: str + """ + + self._content_name = content_name + + @property + def content_type(self): + """Gets the content_type of this Feedback. # noqa: E501 + + + :return: The content_type of this Feedback. # noqa: E501 + :rtype: str + """ + return self._content_type + + @content_type.setter + def content_type(self, content_type): + """Sets the content_type of this Feedback. + + + :param content_type: The content_type of this Feedback. # noqa: E501 + :type content_type: str + """ + if self.local_vars_configuration.client_side_validation and content_type is None: # noqa: E501 + raise ValueError("Invalid value for `content_type`, must not be `None`") # noqa: E501 + + self._content_type = content_type + + @property + def content_version(self): + """Gets the content_version of this Feedback. # noqa: E501 + + + :return: The content_version of this Feedback. # noqa: E501 + :rtype: int + """ + return self._content_version + + @content_version.setter + def content_version(self, content_version): + """Sets the content_version of this Feedback. + + + :param content_version: The content_version of this Feedback. # noqa: E501 + :type content_version: int + """ + + self._content_version = content_version + + @property + def description(self): + """Gets the description of this Feedback. # noqa: E501 + + + :return: The description of this Feedback. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this Feedback. + + + :param description: The description of this Feedback. # noqa: E501 + :type description: str + """ + + self._description = description + + @property + def id(self): + """Gets the id of this Feedback. # noqa: E501 + + + :return: The id of this Feedback. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this Feedback. + + + :param id: The id of this Feedback. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + + self._id = id + + @property + def reason(self): + """Gets the reason of this Feedback. # noqa: E501 + + + :return: The reason of this Feedback. # noqa: E501 + :rtype: str + """ + return self._reason + + @reason.setter + def reason(self, reason): + """Sets the reason of this Feedback. + + + :param reason: The reason of this Feedback. # noqa: E501 + :type reason: str + """ + if self.local_vars_configuration.client_side_validation and reason is None: # noqa: E501 + raise ValueError("Invalid value for `reason`, must not be `None`") # noqa: E501 + + self._reason = reason + + @property + def tags(self): + """Gets the tags of this Feedback. # noqa: E501 + + + :return: The tags of this Feedback. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this Feedback. + + + :param tags: The tags of this Feedback. # noqa: E501 + :type tags: list[str] + """ + if self.local_vars_configuration.client_side_validation and tags is None: # noqa: E501 + raise ValueError("Invalid value for `tags`, must not be `None`") # noqa: E501 + + self._tags = tags + + @property + def type(self): + """Gets the type of this Feedback. # noqa: E501 + + + :return: The type of this Feedback. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this Feedback. + + + :param type: The type of this Feedback. # noqa: E501 + :type type: str + """ + if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501 + raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 + + self._type = type + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, Feedback): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, Feedback): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index 3c3a71fc..f2d97753 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_analysis.py b/vrchatapi/models/file_analysis.py new file mode 100644 index 00000000..779b46ee --- /dev/null +++ b/vrchatapi/models/file_analysis.py @@ -0,0 +1,239 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.9 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class FileAnalysis(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'avatar_stats': 'FileAnalysisAvatarStats', + 'created_at': 'datetime', + 'file_size': 'int', + 'success': 'bool', + 'uncompressed_size': 'int' + } + + attribute_map = { + 'avatar_stats': 'avatarStats', + 'created_at': 'created_at', + 'file_size': 'fileSize', + 'success': 'success', + 'uncompressed_size': 'uncompressedSize' + } + + def __init__(self, avatar_stats=None, created_at=None, file_size=None, success=None, uncompressed_size=None, local_vars_configuration=None): # noqa: E501 + """FileAnalysis - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._avatar_stats = None + self._created_at = None + self._file_size = None + self._success = None + self._uncompressed_size = None + self.discriminator = None + + self.avatar_stats = avatar_stats + if created_at is not None: + self.created_at = created_at + self.file_size = file_size + self.success = success + self.uncompressed_size = uncompressed_size + + @property + def avatar_stats(self): + """Gets the avatar_stats of this FileAnalysis. # noqa: E501 + + + :return: The avatar_stats of this FileAnalysis. # noqa: E501 + :rtype: FileAnalysisAvatarStats + """ + return self._avatar_stats + + @avatar_stats.setter + def avatar_stats(self, avatar_stats): + """Sets the avatar_stats of this FileAnalysis. + + + :param avatar_stats: The avatar_stats of this FileAnalysis. # noqa: E501 + :type avatar_stats: FileAnalysisAvatarStats + """ + if self.local_vars_configuration.client_side_validation and avatar_stats is None: # noqa: E501 + raise ValueError("Invalid value for `avatar_stats`, must not be `None`") # noqa: E501 + + self._avatar_stats = avatar_stats + + @property + def created_at(self): + """Gets the created_at of this FileAnalysis. # noqa: E501 + + + :return: The created_at of this FileAnalysis. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this FileAnalysis. + + + :param created_at: The created_at of this FileAnalysis. # noqa: E501 + :type created_at: datetime + """ + + self._created_at = created_at + + @property + def file_size(self): + """Gets the file_size of this FileAnalysis. # noqa: E501 + + + :return: The file_size of this FileAnalysis. # noqa: E501 + :rtype: int + """ + return self._file_size + + @file_size.setter + def file_size(self, file_size): + """Sets the file_size of this FileAnalysis. + + + :param file_size: The file_size of this FileAnalysis. # noqa: E501 + :type file_size: int + """ + if self.local_vars_configuration.client_side_validation and file_size is None: # noqa: E501 + raise ValueError("Invalid value for `file_size`, must not be `None`") # noqa: E501 + + self._file_size = file_size + + @property + def success(self): + """Gets the success of this FileAnalysis. # noqa: E501 + + + :return: The success of this FileAnalysis. # noqa: E501 + :rtype: bool + """ + return self._success + + @success.setter + def success(self, success): + """Sets the success of this FileAnalysis. + + + :param success: The success of this FileAnalysis. # noqa: E501 + :type success: bool + """ + if self.local_vars_configuration.client_side_validation and success is None: # noqa: E501 + raise ValueError("Invalid value for `success`, must not be `None`") # noqa: E501 + + self._success = success + + @property + def uncompressed_size(self): + """Gets the uncompressed_size of this FileAnalysis. # noqa: E501 + + + :return: The uncompressed_size of this FileAnalysis. # noqa: E501 + :rtype: int + """ + return self._uncompressed_size + + @uncompressed_size.setter + def uncompressed_size(self, uncompressed_size): + """Sets the uncompressed_size of this FileAnalysis. + + + :param uncompressed_size: The uncompressed_size of this FileAnalysis. # noqa: E501 + :type uncompressed_size: int + """ + if self.local_vars_configuration.client_side_validation and uncompressed_size is None: # noqa: E501 + raise ValueError("Invalid value for `uncompressed_size`, must not be `None`") # noqa: E501 + + self._uncompressed_size = uncompressed_size + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, FileAnalysis): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, FileAnalysis): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/file_analysis_avatar_stats.py b/vrchatapi/models/file_analysis_avatar_stats.py new file mode 100644 index 00000000..93db9e2f --- /dev/null +++ b/vrchatapi/models/file_analysis_avatar_stats.py @@ -0,0 +1,1265 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.9 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class FileAnalysisAvatarStats(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'animator_count': 'int', + 'audio_source_count': 'int', + 'blend_shape_count': 'int', + 'bone_count': 'int', + 'bounds': 'list[float]', + 'camera_count': 'int', + 'cloth_count': 'int', + 'constraint_count': 'int', + 'contact_count': 'int', + 'custom_expressions': 'bool', + 'customize_animation_layers': 'bool', + 'enable_eye_look': 'bool', + 'light_count': 'int', + 'line_renderer_count': 'int', + 'lip_sync': 'int', + 'material_count': 'int', + 'material_slots_used': 'int', + 'mesh_count': 'int', + 'mesh_indices': 'int', + 'mesh_particle_max_polygons': 'int', + 'mesh_polygons': 'int', + 'mesh_vertices': 'int', + 'particle_collision_enabled': 'bool', + 'particle_system_count': 'int', + 'particle_trails_enabled': 'bool', + 'phys_bone_collider_count': 'int', + 'phys_bone_collision_check_count': 'int', + 'phys_bone_component_count': 'int', + 'phys_bone_transform_count': 'int', + 'physics_colliders': 'int', + 'physics_rigidbodies': 'int', + 'skinned_mesh_count': 'int', + 'skinned_mesh_indices': 'int', + 'skinned_mesh_polygons': 'int', + 'skinned_mesh_vertices': 'int', + 'total_cloth_vertices': 'int', + 'total_indices': 'int', + 'total_max_particles': 'int', + 'total_polygons': 'int', + 'total_texture_usage': 'int', + 'total_vertices': 'int', + 'trail_renderer_count': 'int', + 'write_defaults_used': 'bool' + } + + attribute_map = { + 'animator_count': 'animatorCount', + 'audio_source_count': 'audioSourceCount', + 'blend_shape_count': 'blendShapeCount', + 'bone_count': 'boneCount', + 'bounds': 'bounds', + 'camera_count': 'cameraCount', + 'cloth_count': 'clothCount', + 'constraint_count': 'constraintCount', + 'contact_count': 'contactCount', + 'custom_expressions': 'customExpressions', + 'customize_animation_layers': 'customizeAnimationLayers', + 'enable_eye_look': 'enableEyeLook', + 'light_count': 'lightCount', + 'line_renderer_count': 'lineRendererCount', + 'lip_sync': 'lipSync', + 'material_count': 'materialCount', + 'material_slots_used': 'materialSlotsUsed', + 'mesh_count': 'meshCount', + 'mesh_indices': 'meshIndices', + 'mesh_particle_max_polygons': 'meshParticleMaxPolygons', + 'mesh_polygons': 'meshPolygons', + 'mesh_vertices': 'meshVertices', + 'particle_collision_enabled': 'particleCollisionEnabled', + 'particle_system_count': 'particleSystemCount', + 'particle_trails_enabled': 'particleTrailsEnabled', + 'phys_bone_collider_count': 'physBoneColliderCount', + 'phys_bone_collision_check_count': 'physBoneCollisionCheckCount', + 'phys_bone_component_count': 'physBoneComponentCount', + 'phys_bone_transform_count': 'physBoneTransformCount', + 'physics_colliders': 'physicsColliders', + 'physics_rigidbodies': 'physicsRigidbodies', + 'skinned_mesh_count': 'skinnedMeshCount', + 'skinned_mesh_indices': 'skinnedMeshIndices', + 'skinned_mesh_polygons': 'skinnedMeshPolygons', + 'skinned_mesh_vertices': 'skinnedMeshVertices', + 'total_cloth_vertices': 'totalClothVertices', + 'total_indices': 'totalIndices', + 'total_max_particles': 'totalMaxParticles', + 'total_polygons': 'totalPolygons', + 'total_texture_usage': 'totalTextureUsage', + 'total_vertices': 'totalVertices', + 'trail_renderer_count': 'trailRendererCount', + 'write_defaults_used': 'writeDefaultsUsed' + } + + def __init__(self, animator_count=None, audio_source_count=None, blend_shape_count=None, bone_count=None, bounds=None, camera_count=None, cloth_count=None, constraint_count=None, contact_count=None, custom_expressions=None, customize_animation_layers=None, enable_eye_look=None, light_count=None, line_renderer_count=None, lip_sync=None, material_count=None, material_slots_used=None, mesh_count=None, mesh_indices=None, mesh_particle_max_polygons=None, mesh_polygons=None, mesh_vertices=None, particle_collision_enabled=None, particle_system_count=None, particle_trails_enabled=None, phys_bone_collider_count=None, phys_bone_collision_check_count=None, phys_bone_component_count=None, phys_bone_transform_count=None, physics_colliders=None, physics_rigidbodies=None, skinned_mesh_count=None, skinned_mesh_indices=None, skinned_mesh_polygons=None, skinned_mesh_vertices=None, total_cloth_vertices=None, total_indices=None, total_max_particles=None, total_polygons=None, total_texture_usage=None, total_vertices=None, trail_renderer_count=None, write_defaults_used=None, local_vars_configuration=None): # noqa: E501 + """FileAnalysisAvatarStats - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._animator_count = None + self._audio_source_count = None + self._blend_shape_count = None + self._bone_count = None + self._bounds = None + self._camera_count = None + self._cloth_count = None + self._constraint_count = None + self._contact_count = None + self._custom_expressions = None + self._customize_animation_layers = None + self._enable_eye_look = None + self._light_count = None + self._line_renderer_count = None + self._lip_sync = None + self._material_count = None + self._material_slots_used = None + self._mesh_count = None + self._mesh_indices = None + self._mesh_particle_max_polygons = None + self._mesh_polygons = None + self._mesh_vertices = None + self._particle_collision_enabled = None + self._particle_system_count = None + self._particle_trails_enabled = None + self._phys_bone_collider_count = None + self._phys_bone_collision_check_count = None + self._phys_bone_component_count = None + self._phys_bone_transform_count = None + self._physics_colliders = None + self._physics_rigidbodies = None + self._skinned_mesh_count = None + self._skinned_mesh_indices = None + self._skinned_mesh_polygons = None + self._skinned_mesh_vertices = None + self._total_cloth_vertices = None + self._total_indices = None + self._total_max_particles = None + self._total_polygons = None + self._total_texture_usage = None + self._total_vertices = None + self._trail_renderer_count = None + self._write_defaults_used = None + self.discriminator = None + + self.animator_count = animator_count + self.audio_source_count = audio_source_count + self.blend_shape_count = blend_shape_count + self.bone_count = bone_count + self.bounds = bounds + if camera_count is not None: + self.camera_count = camera_count + self.cloth_count = cloth_count + self.constraint_count = constraint_count + self.contact_count = contact_count + self.custom_expressions = custom_expressions + self.customize_animation_layers = customize_animation_layers + self.enable_eye_look = enable_eye_look + self.light_count = light_count + self.line_renderer_count = line_renderer_count + self.lip_sync = lip_sync + self.material_count = material_count + self.material_slots_used = material_slots_used + self.mesh_count = mesh_count + self.mesh_indices = mesh_indices + self.mesh_particle_max_polygons = mesh_particle_max_polygons + self.mesh_polygons = mesh_polygons + self.mesh_vertices = mesh_vertices + self.particle_collision_enabled = particle_collision_enabled + self.particle_system_count = particle_system_count + self.particle_trails_enabled = particle_trails_enabled + self.phys_bone_collider_count = phys_bone_collider_count + self.phys_bone_collision_check_count = phys_bone_collision_check_count + self.phys_bone_component_count = phys_bone_component_count + self.phys_bone_transform_count = phys_bone_transform_count + self.physics_colliders = physics_colliders + self.physics_rigidbodies = physics_rigidbodies + self.skinned_mesh_count = skinned_mesh_count + self.skinned_mesh_indices = skinned_mesh_indices + self.skinned_mesh_polygons = skinned_mesh_polygons + self.skinned_mesh_vertices = skinned_mesh_vertices + self.total_cloth_vertices = total_cloth_vertices + self.total_indices = total_indices + self.total_max_particles = total_max_particles + self.total_polygons = total_polygons + self.total_texture_usage = total_texture_usage + self.total_vertices = total_vertices + self.trail_renderer_count = trail_renderer_count + self.write_defaults_used = write_defaults_used + + @property + def animator_count(self): + """Gets the animator_count of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The animator_count of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: int + """ + return self._animator_count + + @animator_count.setter + def animator_count(self, animator_count): + """Sets the animator_count of this FileAnalysisAvatarStats. + + + :param animator_count: The animator_count of this FileAnalysisAvatarStats. # noqa: E501 + :type animator_count: int + """ + if self.local_vars_configuration.client_side_validation and animator_count is None: # noqa: E501 + raise ValueError("Invalid value for `animator_count`, must not be `None`") # noqa: E501 + + self._animator_count = animator_count + + @property + def audio_source_count(self): + """Gets the audio_source_count of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The audio_source_count of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: int + """ + return self._audio_source_count + + @audio_source_count.setter + def audio_source_count(self, audio_source_count): + """Sets the audio_source_count of this FileAnalysisAvatarStats. + + + :param audio_source_count: The audio_source_count of this FileAnalysisAvatarStats. # noqa: E501 + :type audio_source_count: int + """ + if self.local_vars_configuration.client_side_validation and audio_source_count is None: # noqa: E501 + raise ValueError("Invalid value for `audio_source_count`, must not be `None`") # noqa: E501 + + self._audio_source_count = audio_source_count + + @property + def blend_shape_count(self): + """Gets the blend_shape_count of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The blend_shape_count of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: int + """ + return self._blend_shape_count + + @blend_shape_count.setter + def blend_shape_count(self, blend_shape_count): + """Sets the blend_shape_count of this FileAnalysisAvatarStats. + + + :param blend_shape_count: The blend_shape_count of this FileAnalysisAvatarStats. # noqa: E501 + :type blend_shape_count: int + """ + if self.local_vars_configuration.client_side_validation and blend_shape_count is None: # noqa: E501 + raise ValueError("Invalid value for `blend_shape_count`, must not be `None`") # noqa: E501 + + self._blend_shape_count = blend_shape_count + + @property + def bone_count(self): + """Gets the bone_count of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The bone_count of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: int + """ + return self._bone_count + + @bone_count.setter + def bone_count(self, bone_count): + """Sets the bone_count of this FileAnalysisAvatarStats. + + + :param bone_count: The bone_count of this FileAnalysisAvatarStats. # noqa: E501 + :type bone_count: int + """ + if self.local_vars_configuration.client_side_validation and bone_count is None: # noqa: E501 + raise ValueError("Invalid value for `bone_count`, must not be `None`") # noqa: E501 + + self._bone_count = bone_count + + @property + def bounds(self): + """Gets the bounds of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The bounds of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: list[float] + """ + return self._bounds + + @bounds.setter + def bounds(self, bounds): + """Sets the bounds of this FileAnalysisAvatarStats. + + + :param bounds: The bounds of this FileAnalysisAvatarStats. # noqa: E501 + :type bounds: list[float] + """ + if self.local_vars_configuration.client_side_validation and bounds is None: # noqa: E501 + raise ValueError("Invalid value for `bounds`, must not be `None`") # noqa: E501 + + self._bounds = bounds + + @property + def camera_count(self): + """Gets the camera_count of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The camera_count of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: int + """ + return self._camera_count + + @camera_count.setter + def camera_count(self, camera_count): + """Sets the camera_count of this FileAnalysisAvatarStats. + + + :param camera_count: The camera_count of this FileAnalysisAvatarStats. # noqa: E501 + :type camera_count: int + """ + + self._camera_count = camera_count + + @property + def cloth_count(self): + """Gets the cloth_count of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The cloth_count of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: int + """ + return self._cloth_count + + @cloth_count.setter + def cloth_count(self, cloth_count): + """Sets the cloth_count of this FileAnalysisAvatarStats. + + + :param cloth_count: The cloth_count of this FileAnalysisAvatarStats. # noqa: E501 + :type cloth_count: int + """ + if self.local_vars_configuration.client_side_validation and cloth_count is None: # noqa: E501 + raise ValueError("Invalid value for `cloth_count`, must not be `None`") # noqa: E501 + + self._cloth_count = cloth_count + + @property + def constraint_count(self): + """Gets the constraint_count of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The constraint_count of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: int + """ + return self._constraint_count + + @constraint_count.setter + def constraint_count(self, constraint_count): + """Sets the constraint_count of this FileAnalysisAvatarStats. + + + :param constraint_count: The constraint_count of this FileAnalysisAvatarStats. # noqa: E501 + :type constraint_count: int + """ + if self.local_vars_configuration.client_side_validation and constraint_count is None: # noqa: E501 + raise ValueError("Invalid value for `constraint_count`, must not be `None`") # noqa: E501 + + self._constraint_count = constraint_count + + @property + def contact_count(self): + """Gets the contact_count of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The contact_count of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: int + """ + return self._contact_count + + @contact_count.setter + def contact_count(self, contact_count): + """Sets the contact_count of this FileAnalysisAvatarStats. + + + :param contact_count: The contact_count of this FileAnalysisAvatarStats. # noqa: E501 + :type contact_count: int + """ + if self.local_vars_configuration.client_side_validation and contact_count is None: # noqa: E501 + raise ValueError("Invalid value for `contact_count`, must not be `None`") # noqa: E501 + + self._contact_count = contact_count + + @property + def custom_expressions(self): + """Gets the custom_expressions of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The custom_expressions of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: bool + """ + return self._custom_expressions + + @custom_expressions.setter + def custom_expressions(self, custom_expressions): + """Sets the custom_expressions of this FileAnalysisAvatarStats. + + + :param custom_expressions: The custom_expressions of this FileAnalysisAvatarStats. # noqa: E501 + :type custom_expressions: bool + """ + if self.local_vars_configuration.client_side_validation and custom_expressions is None: # noqa: E501 + raise ValueError("Invalid value for `custom_expressions`, must not be `None`") # noqa: E501 + + self._custom_expressions = custom_expressions + + @property + def customize_animation_layers(self): + """Gets the customize_animation_layers of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The customize_animation_layers of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: bool + """ + return self._customize_animation_layers + + @customize_animation_layers.setter + def customize_animation_layers(self, customize_animation_layers): + """Sets the customize_animation_layers of this FileAnalysisAvatarStats. + + + :param customize_animation_layers: The customize_animation_layers of this FileAnalysisAvatarStats. # noqa: E501 + :type customize_animation_layers: bool + """ + if self.local_vars_configuration.client_side_validation and customize_animation_layers is None: # noqa: E501 + raise ValueError("Invalid value for `customize_animation_layers`, must not be `None`") # noqa: E501 + + self._customize_animation_layers = customize_animation_layers + + @property + def enable_eye_look(self): + """Gets the enable_eye_look of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The enable_eye_look of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: bool + """ + return self._enable_eye_look + + @enable_eye_look.setter + def enable_eye_look(self, enable_eye_look): + """Sets the enable_eye_look of this FileAnalysisAvatarStats. + + + :param enable_eye_look: The enable_eye_look of this FileAnalysisAvatarStats. # noqa: E501 + :type enable_eye_look: bool + """ + if self.local_vars_configuration.client_side_validation and enable_eye_look is None: # noqa: E501 + raise ValueError("Invalid value for `enable_eye_look`, must not be `None`") # noqa: E501 + + self._enable_eye_look = enable_eye_look + + @property + def light_count(self): + """Gets the light_count of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The light_count of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: int + """ + return self._light_count + + @light_count.setter + def light_count(self, light_count): + """Sets the light_count of this FileAnalysisAvatarStats. + + + :param light_count: The light_count of this FileAnalysisAvatarStats. # noqa: E501 + :type light_count: int + """ + if self.local_vars_configuration.client_side_validation and light_count is None: # noqa: E501 + raise ValueError("Invalid value for `light_count`, must not be `None`") # noqa: E501 + + self._light_count = light_count + + @property + def line_renderer_count(self): + """Gets the line_renderer_count of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The line_renderer_count of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: int + """ + return self._line_renderer_count + + @line_renderer_count.setter + def line_renderer_count(self, line_renderer_count): + """Sets the line_renderer_count of this FileAnalysisAvatarStats. + + + :param line_renderer_count: The line_renderer_count of this FileAnalysisAvatarStats. # noqa: E501 + :type line_renderer_count: int + """ + if self.local_vars_configuration.client_side_validation and line_renderer_count is None: # noqa: E501 + raise ValueError("Invalid value for `line_renderer_count`, must not be `None`") # noqa: E501 + + self._line_renderer_count = line_renderer_count + + @property + def lip_sync(self): + """Gets the lip_sync of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The lip_sync of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: int + """ + return self._lip_sync + + @lip_sync.setter + def lip_sync(self, lip_sync): + """Sets the lip_sync of this FileAnalysisAvatarStats. + + + :param lip_sync: The lip_sync of this FileAnalysisAvatarStats. # noqa: E501 + :type lip_sync: int + """ + if self.local_vars_configuration.client_side_validation and lip_sync is None: # noqa: E501 + raise ValueError("Invalid value for `lip_sync`, must not be `None`") # noqa: E501 + + self._lip_sync = lip_sync + + @property + def material_count(self): + """Gets the material_count of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The material_count of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: int + """ + return self._material_count + + @material_count.setter + def material_count(self, material_count): + """Sets the material_count of this FileAnalysisAvatarStats. + + + :param material_count: The material_count of this FileAnalysisAvatarStats. # noqa: E501 + :type material_count: int + """ + if self.local_vars_configuration.client_side_validation and material_count is None: # noqa: E501 + raise ValueError("Invalid value for `material_count`, must not be `None`") # noqa: E501 + + self._material_count = material_count + + @property + def material_slots_used(self): + """Gets the material_slots_used of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The material_slots_used of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: int + """ + return self._material_slots_used + + @material_slots_used.setter + def material_slots_used(self, material_slots_used): + """Sets the material_slots_used of this FileAnalysisAvatarStats. + + + :param material_slots_used: The material_slots_used of this FileAnalysisAvatarStats. # noqa: E501 + :type material_slots_used: int + """ + if self.local_vars_configuration.client_side_validation and material_slots_used is None: # noqa: E501 + raise ValueError("Invalid value for `material_slots_used`, must not be `None`") # noqa: E501 + + self._material_slots_used = material_slots_used + + @property + def mesh_count(self): + """Gets the mesh_count of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The mesh_count of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: int + """ + return self._mesh_count + + @mesh_count.setter + def mesh_count(self, mesh_count): + """Sets the mesh_count of this FileAnalysisAvatarStats. + + + :param mesh_count: The mesh_count of this FileAnalysisAvatarStats. # noqa: E501 + :type mesh_count: int + """ + if self.local_vars_configuration.client_side_validation and mesh_count is None: # noqa: E501 + raise ValueError("Invalid value for `mesh_count`, must not be `None`") # noqa: E501 + + self._mesh_count = mesh_count + + @property + def mesh_indices(self): + """Gets the mesh_indices of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The mesh_indices of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: int + """ + return self._mesh_indices + + @mesh_indices.setter + def mesh_indices(self, mesh_indices): + """Sets the mesh_indices of this FileAnalysisAvatarStats. + + + :param mesh_indices: The mesh_indices of this FileAnalysisAvatarStats. # noqa: E501 + :type mesh_indices: int + """ + if self.local_vars_configuration.client_side_validation and mesh_indices is None: # noqa: E501 + raise ValueError("Invalid value for `mesh_indices`, must not be `None`") # noqa: E501 + + self._mesh_indices = mesh_indices + + @property + def mesh_particle_max_polygons(self): + """Gets the mesh_particle_max_polygons of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The mesh_particle_max_polygons of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: int + """ + return self._mesh_particle_max_polygons + + @mesh_particle_max_polygons.setter + def mesh_particle_max_polygons(self, mesh_particle_max_polygons): + """Sets the mesh_particle_max_polygons of this FileAnalysisAvatarStats. + + + :param mesh_particle_max_polygons: The mesh_particle_max_polygons of this FileAnalysisAvatarStats. # noqa: E501 + :type mesh_particle_max_polygons: int + """ + if self.local_vars_configuration.client_side_validation and mesh_particle_max_polygons is None: # noqa: E501 + raise ValueError("Invalid value for `mesh_particle_max_polygons`, must not be `None`") # noqa: E501 + + self._mesh_particle_max_polygons = mesh_particle_max_polygons + + @property + def mesh_polygons(self): + """Gets the mesh_polygons of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The mesh_polygons of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: int + """ + return self._mesh_polygons + + @mesh_polygons.setter + def mesh_polygons(self, mesh_polygons): + """Sets the mesh_polygons of this FileAnalysisAvatarStats. + + + :param mesh_polygons: The mesh_polygons of this FileAnalysisAvatarStats. # noqa: E501 + :type mesh_polygons: int + """ + if self.local_vars_configuration.client_side_validation and mesh_polygons is None: # noqa: E501 + raise ValueError("Invalid value for `mesh_polygons`, must not be `None`") # noqa: E501 + + self._mesh_polygons = mesh_polygons + + @property + def mesh_vertices(self): + """Gets the mesh_vertices of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The mesh_vertices of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: int + """ + return self._mesh_vertices + + @mesh_vertices.setter + def mesh_vertices(self, mesh_vertices): + """Sets the mesh_vertices of this FileAnalysisAvatarStats. + + + :param mesh_vertices: The mesh_vertices of this FileAnalysisAvatarStats. # noqa: E501 + :type mesh_vertices: int + """ + if self.local_vars_configuration.client_side_validation and mesh_vertices is None: # noqa: E501 + raise ValueError("Invalid value for `mesh_vertices`, must not be `None`") # noqa: E501 + + self._mesh_vertices = mesh_vertices + + @property + def particle_collision_enabled(self): + """Gets the particle_collision_enabled of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The particle_collision_enabled of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: bool + """ + return self._particle_collision_enabled + + @particle_collision_enabled.setter + def particle_collision_enabled(self, particle_collision_enabled): + """Sets the particle_collision_enabled of this FileAnalysisAvatarStats. + + + :param particle_collision_enabled: The particle_collision_enabled of this FileAnalysisAvatarStats. # noqa: E501 + :type particle_collision_enabled: bool + """ + if self.local_vars_configuration.client_side_validation and particle_collision_enabled is None: # noqa: E501 + raise ValueError("Invalid value for `particle_collision_enabled`, must not be `None`") # noqa: E501 + + self._particle_collision_enabled = particle_collision_enabled + + @property + def particle_system_count(self): + """Gets the particle_system_count of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The particle_system_count of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: int + """ + return self._particle_system_count + + @particle_system_count.setter + def particle_system_count(self, particle_system_count): + """Sets the particle_system_count of this FileAnalysisAvatarStats. + + + :param particle_system_count: The particle_system_count of this FileAnalysisAvatarStats. # noqa: E501 + :type particle_system_count: int + """ + if self.local_vars_configuration.client_side_validation and particle_system_count is None: # noqa: E501 + raise ValueError("Invalid value for `particle_system_count`, must not be `None`") # noqa: E501 + + self._particle_system_count = particle_system_count + + @property + def particle_trails_enabled(self): + """Gets the particle_trails_enabled of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The particle_trails_enabled of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: bool + """ + return self._particle_trails_enabled + + @particle_trails_enabled.setter + def particle_trails_enabled(self, particle_trails_enabled): + """Sets the particle_trails_enabled of this FileAnalysisAvatarStats. + + + :param particle_trails_enabled: The particle_trails_enabled of this FileAnalysisAvatarStats. # noqa: E501 + :type particle_trails_enabled: bool + """ + if self.local_vars_configuration.client_side_validation and particle_trails_enabled is None: # noqa: E501 + raise ValueError("Invalid value for `particle_trails_enabled`, must not be `None`") # noqa: E501 + + self._particle_trails_enabled = particle_trails_enabled + + @property + def phys_bone_collider_count(self): + """Gets the phys_bone_collider_count of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The phys_bone_collider_count of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: int + """ + return self._phys_bone_collider_count + + @phys_bone_collider_count.setter + def phys_bone_collider_count(self, phys_bone_collider_count): + """Sets the phys_bone_collider_count of this FileAnalysisAvatarStats. + + + :param phys_bone_collider_count: The phys_bone_collider_count of this FileAnalysisAvatarStats. # noqa: E501 + :type phys_bone_collider_count: int + """ + if self.local_vars_configuration.client_side_validation and phys_bone_collider_count is None: # noqa: E501 + raise ValueError("Invalid value for `phys_bone_collider_count`, must not be `None`") # noqa: E501 + + self._phys_bone_collider_count = phys_bone_collider_count + + @property + def phys_bone_collision_check_count(self): + """Gets the phys_bone_collision_check_count of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The phys_bone_collision_check_count of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: int + """ + return self._phys_bone_collision_check_count + + @phys_bone_collision_check_count.setter + def phys_bone_collision_check_count(self, phys_bone_collision_check_count): + """Sets the phys_bone_collision_check_count of this FileAnalysisAvatarStats. + + + :param phys_bone_collision_check_count: The phys_bone_collision_check_count of this FileAnalysisAvatarStats. # noqa: E501 + :type phys_bone_collision_check_count: int + """ + if self.local_vars_configuration.client_side_validation and phys_bone_collision_check_count is None: # noqa: E501 + raise ValueError("Invalid value for `phys_bone_collision_check_count`, must not be `None`") # noqa: E501 + + self._phys_bone_collision_check_count = phys_bone_collision_check_count + + @property + def phys_bone_component_count(self): + """Gets the phys_bone_component_count of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The phys_bone_component_count of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: int + """ + return self._phys_bone_component_count + + @phys_bone_component_count.setter + def phys_bone_component_count(self, phys_bone_component_count): + """Sets the phys_bone_component_count of this FileAnalysisAvatarStats. + + + :param phys_bone_component_count: The phys_bone_component_count of this FileAnalysisAvatarStats. # noqa: E501 + :type phys_bone_component_count: int + """ + if self.local_vars_configuration.client_side_validation and phys_bone_component_count is None: # noqa: E501 + raise ValueError("Invalid value for `phys_bone_component_count`, must not be `None`") # noqa: E501 + + self._phys_bone_component_count = phys_bone_component_count + + @property + def phys_bone_transform_count(self): + """Gets the phys_bone_transform_count of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The phys_bone_transform_count of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: int + """ + return self._phys_bone_transform_count + + @phys_bone_transform_count.setter + def phys_bone_transform_count(self, phys_bone_transform_count): + """Sets the phys_bone_transform_count of this FileAnalysisAvatarStats. + + + :param phys_bone_transform_count: The phys_bone_transform_count of this FileAnalysisAvatarStats. # noqa: E501 + :type phys_bone_transform_count: int + """ + if self.local_vars_configuration.client_side_validation and phys_bone_transform_count is None: # noqa: E501 + raise ValueError("Invalid value for `phys_bone_transform_count`, must not be `None`") # noqa: E501 + + self._phys_bone_transform_count = phys_bone_transform_count + + @property + def physics_colliders(self): + """Gets the physics_colliders of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The physics_colliders of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: int + """ + return self._physics_colliders + + @physics_colliders.setter + def physics_colliders(self, physics_colliders): + """Sets the physics_colliders of this FileAnalysisAvatarStats. + + + :param physics_colliders: The physics_colliders of this FileAnalysisAvatarStats. # noqa: E501 + :type physics_colliders: int + """ + if self.local_vars_configuration.client_side_validation and physics_colliders is None: # noqa: E501 + raise ValueError("Invalid value for `physics_colliders`, must not be `None`") # noqa: E501 + + self._physics_colliders = physics_colliders + + @property + def physics_rigidbodies(self): + """Gets the physics_rigidbodies of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The physics_rigidbodies of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: int + """ + return self._physics_rigidbodies + + @physics_rigidbodies.setter + def physics_rigidbodies(self, physics_rigidbodies): + """Sets the physics_rigidbodies of this FileAnalysisAvatarStats. + + + :param physics_rigidbodies: The physics_rigidbodies of this FileAnalysisAvatarStats. # noqa: E501 + :type physics_rigidbodies: int + """ + if self.local_vars_configuration.client_side_validation and physics_rigidbodies is None: # noqa: E501 + raise ValueError("Invalid value for `physics_rigidbodies`, must not be `None`") # noqa: E501 + + self._physics_rigidbodies = physics_rigidbodies + + @property + def skinned_mesh_count(self): + """Gets the skinned_mesh_count of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The skinned_mesh_count of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: int + """ + return self._skinned_mesh_count + + @skinned_mesh_count.setter + def skinned_mesh_count(self, skinned_mesh_count): + """Sets the skinned_mesh_count of this FileAnalysisAvatarStats. + + + :param skinned_mesh_count: The skinned_mesh_count of this FileAnalysisAvatarStats. # noqa: E501 + :type skinned_mesh_count: int + """ + if self.local_vars_configuration.client_side_validation and skinned_mesh_count is None: # noqa: E501 + raise ValueError("Invalid value for `skinned_mesh_count`, must not be `None`") # noqa: E501 + + self._skinned_mesh_count = skinned_mesh_count + + @property + def skinned_mesh_indices(self): + """Gets the skinned_mesh_indices of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The skinned_mesh_indices of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: int + """ + return self._skinned_mesh_indices + + @skinned_mesh_indices.setter + def skinned_mesh_indices(self, skinned_mesh_indices): + """Sets the skinned_mesh_indices of this FileAnalysisAvatarStats. + + + :param skinned_mesh_indices: The skinned_mesh_indices of this FileAnalysisAvatarStats. # noqa: E501 + :type skinned_mesh_indices: int + """ + if self.local_vars_configuration.client_side_validation and skinned_mesh_indices is None: # noqa: E501 + raise ValueError("Invalid value for `skinned_mesh_indices`, must not be `None`") # noqa: E501 + + self._skinned_mesh_indices = skinned_mesh_indices + + @property + def skinned_mesh_polygons(self): + """Gets the skinned_mesh_polygons of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The skinned_mesh_polygons of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: int + """ + return self._skinned_mesh_polygons + + @skinned_mesh_polygons.setter + def skinned_mesh_polygons(self, skinned_mesh_polygons): + """Sets the skinned_mesh_polygons of this FileAnalysisAvatarStats. + + + :param skinned_mesh_polygons: The skinned_mesh_polygons of this FileAnalysisAvatarStats. # noqa: E501 + :type skinned_mesh_polygons: int + """ + if self.local_vars_configuration.client_side_validation and skinned_mesh_polygons is None: # noqa: E501 + raise ValueError("Invalid value for `skinned_mesh_polygons`, must not be `None`") # noqa: E501 + + self._skinned_mesh_polygons = skinned_mesh_polygons + + @property + def skinned_mesh_vertices(self): + """Gets the skinned_mesh_vertices of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The skinned_mesh_vertices of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: int + """ + return self._skinned_mesh_vertices + + @skinned_mesh_vertices.setter + def skinned_mesh_vertices(self, skinned_mesh_vertices): + """Sets the skinned_mesh_vertices of this FileAnalysisAvatarStats. + + + :param skinned_mesh_vertices: The skinned_mesh_vertices of this FileAnalysisAvatarStats. # noqa: E501 + :type skinned_mesh_vertices: int + """ + if self.local_vars_configuration.client_side_validation and skinned_mesh_vertices is None: # noqa: E501 + raise ValueError("Invalid value for `skinned_mesh_vertices`, must not be `None`") # noqa: E501 + + self._skinned_mesh_vertices = skinned_mesh_vertices + + @property + def total_cloth_vertices(self): + """Gets the total_cloth_vertices of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The total_cloth_vertices of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: int + """ + return self._total_cloth_vertices + + @total_cloth_vertices.setter + def total_cloth_vertices(self, total_cloth_vertices): + """Sets the total_cloth_vertices of this FileAnalysisAvatarStats. + + + :param total_cloth_vertices: The total_cloth_vertices of this FileAnalysisAvatarStats. # noqa: E501 + :type total_cloth_vertices: int + """ + if self.local_vars_configuration.client_side_validation and total_cloth_vertices is None: # noqa: E501 + raise ValueError("Invalid value for `total_cloth_vertices`, must not be `None`") # noqa: E501 + + self._total_cloth_vertices = total_cloth_vertices + + @property + def total_indices(self): + """Gets the total_indices of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The total_indices of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: int + """ + return self._total_indices + + @total_indices.setter + def total_indices(self, total_indices): + """Sets the total_indices of this FileAnalysisAvatarStats. + + + :param total_indices: The total_indices of this FileAnalysisAvatarStats. # noqa: E501 + :type total_indices: int + """ + if self.local_vars_configuration.client_side_validation and total_indices is None: # noqa: E501 + raise ValueError("Invalid value for `total_indices`, must not be `None`") # noqa: E501 + + self._total_indices = total_indices + + @property + def total_max_particles(self): + """Gets the total_max_particles of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The total_max_particles of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: int + """ + return self._total_max_particles + + @total_max_particles.setter + def total_max_particles(self, total_max_particles): + """Sets the total_max_particles of this FileAnalysisAvatarStats. + + + :param total_max_particles: The total_max_particles of this FileAnalysisAvatarStats. # noqa: E501 + :type total_max_particles: int + """ + if self.local_vars_configuration.client_side_validation and total_max_particles is None: # noqa: E501 + raise ValueError("Invalid value for `total_max_particles`, must not be `None`") # noqa: E501 + + self._total_max_particles = total_max_particles + + @property + def total_polygons(self): + """Gets the total_polygons of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The total_polygons of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: int + """ + return self._total_polygons + + @total_polygons.setter + def total_polygons(self, total_polygons): + """Sets the total_polygons of this FileAnalysisAvatarStats. + + + :param total_polygons: The total_polygons of this FileAnalysisAvatarStats. # noqa: E501 + :type total_polygons: int + """ + if self.local_vars_configuration.client_side_validation and total_polygons is None: # noqa: E501 + raise ValueError("Invalid value for `total_polygons`, must not be `None`") # noqa: E501 + + self._total_polygons = total_polygons + + @property + def total_texture_usage(self): + """Gets the total_texture_usage of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The total_texture_usage of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: int + """ + return self._total_texture_usage + + @total_texture_usage.setter + def total_texture_usage(self, total_texture_usage): + """Sets the total_texture_usage of this FileAnalysisAvatarStats. + + + :param total_texture_usage: The total_texture_usage of this FileAnalysisAvatarStats. # noqa: E501 + :type total_texture_usage: int + """ + if self.local_vars_configuration.client_side_validation and total_texture_usage is None: # noqa: E501 + raise ValueError("Invalid value for `total_texture_usage`, must not be `None`") # noqa: E501 + + self._total_texture_usage = total_texture_usage + + @property + def total_vertices(self): + """Gets the total_vertices of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The total_vertices of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: int + """ + return self._total_vertices + + @total_vertices.setter + def total_vertices(self, total_vertices): + """Sets the total_vertices of this FileAnalysisAvatarStats. + + + :param total_vertices: The total_vertices of this FileAnalysisAvatarStats. # noqa: E501 + :type total_vertices: int + """ + if self.local_vars_configuration.client_side_validation and total_vertices is None: # noqa: E501 + raise ValueError("Invalid value for `total_vertices`, must not be `None`") # noqa: E501 + + self._total_vertices = total_vertices + + @property + def trail_renderer_count(self): + """Gets the trail_renderer_count of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The trail_renderer_count of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: int + """ + return self._trail_renderer_count + + @trail_renderer_count.setter + def trail_renderer_count(self, trail_renderer_count): + """Sets the trail_renderer_count of this FileAnalysisAvatarStats. + + + :param trail_renderer_count: The trail_renderer_count of this FileAnalysisAvatarStats. # noqa: E501 + :type trail_renderer_count: int + """ + if self.local_vars_configuration.client_side_validation and trail_renderer_count is None: # noqa: E501 + raise ValueError("Invalid value for `trail_renderer_count`, must not be `None`") # noqa: E501 + + self._trail_renderer_count = trail_renderer_count + + @property + def write_defaults_used(self): + """Gets the write_defaults_used of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The write_defaults_used of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: bool + """ + return self._write_defaults_used + + @write_defaults_used.setter + def write_defaults_used(self, write_defaults_used): + """Sets the write_defaults_used of this FileAnalysisAvatarStats. + + + :param write_defaults_used: The write_defaults_used of this FileAnalysisAvatarStats. # noqa: E501 + :type write_defaults_used: bool + """ + if self.local_vars_configuration.client_side_validation and write_defaults_used is None: # noqa: E501 + raise ValueError("Invalid value for `write_defaults_used`, must not be `None`") # noqa: E501 + + self._write_defaults_used = write_defaults_used + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, FileAnalysisAvatarStats): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, FileAnalysisAvatarStats): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index 764223a5..20c7368a 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index b083ea30..68c78c5e 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index 89920cfa..9fc40a40 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index 323f5988..9ed63c4f 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index b522f7ca..6b131017 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index b3e0ae16..52ceac83 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index 8987d844..6028ca1a 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/get_user_group_instances200_response.py b/vrchatapi/models/get_user_group_instances200_response.py new file mode 100644 index 00000000..eb6e0786 --- /dev/null +++ b/vrchatapi/models/get_user_group_instances200_response.py @@ -0,0 +1,157 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.9 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class GetUserGroupInstances200Response(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'fetched_at': 'datetime', + 'instances': 'list[Instance]' + } + + attribute_map = { + 'fetched_at': 'fetchedAt', + 'instances': 'instances' + } + + def __init__(self, fetched_at=None, instances=None, local_vars_configuration=None): # noqa: E501 + """GetUserGroupInstances200Response - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._fetched_at = None + self._instances = None + self.discriminator = None + + if fetched_at is not None: + self.fetched_at = fetched_at + if instances is not None: + self.instances = instances + + @property + def fetched_at(self): + """Gets the fetched_at of this GetUserGroupInstances200Response. # noqa: E501 + + + :return: The fetched_at of this GetUserGroupInstances200Response. # noqa: E501 + :rtype: datetime + """ + return self._fetched_at + + @fetched_at.setter + def fetched_at(self, fetched_at): + """Sets the fetched_at of this GetUserGroupInstances200Response. + + + :param fetched_at: The fetched_at of this GetUserGroupInstances200Response. # noqa: E501 + :type fetched_at: datetime + """ + + self._fetched_at = fetched_at + + @property + def instances(self): + """Gets the instances of this GetUserGroupInstances200Response. # noqa: E501 + + + :return: The instances of this GetUserGroupInstances200Response. # noqa: E501 + :rtype: list[Instance] + """ + return self._instances + + @instances.setter + def instances(self, instances): + """Sets the instances of this GetUserGroupInstances200Response. + + + :param instances: The instances of this GetUserGroupInstances200Response. # noqa: E501 + :type instances: list[Instance] + """ + + self._instances = instances + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GetUserGroupInstances200Response): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GetUserGroupInstances200Response): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index 01106ad9..81e10214 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,6 +36,9 @@ class Group(object): and the value is json key in definition. """ openapi_types = { + 'age_verification_slots_available': 'bool', + 'age_verification_beta_code': 'str', + 'age_verification_beta_slots': 'float', 'badges': 'list[str]', 'id': 'str', 'name': 'str', @@ -68,6 +71,9 @@ class Group(object): } attribute_map = { + 'age_verification_slots_available': 'ageVerificationSlotsAvailable', + 'age_verification_beta_code': 'ageVerificationBetaCode', + 'age_verification_beta_slots': 'ageVerificationBetaSlots', 'badges': 'badges', 'id': 'id', 'name': 'name', @@ -99,12 +105,15 @@ class Group(object): 'roles': 'roles' } - def __init__(self, badges=None, id=None, name=None, short_code=None, discriminator=None, description=None, icon_url=None, banner_url=None, privacy=None, owner_id=None, rules=None, links=None, languages=None, icon_id=None, banner_id=None, member_count=None, member_count_synced_at=None, is_verified=False, join_state=None, tags=None, transfer_target_id=None, galleries=None, created_at=None, updated_at=None, last_post_created_at=None, online_member_count=None, membership_status=None, my_member=None, roles=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, age_verification_slots_available=None, age_verification_beta_code=None, age_verification_beta_slots=None, badges=None, id=None, name=None, short_code=None, discriminator=None, description=None, icon_url=None, banner_url=None, privacy=None, owner_id=None, rules=None, links=None, languages=None, icon_id=None, banner_id=None, member_count=None, member_count_synced_at=None, is_verified=False, join_state=None, tags=None, transfer_target_id=None, galleries=None, created_at=None, updated_at=None, last_post_created_at=None, online_member_count=None, membership_status=None, my_member=None, roles=None, local_vars_configuration=None): # noqa: E501 """Group - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration + self._age_verification_slots_available = None + self._age_verification_beta_code = None + self._age_verification_beta_slots = None self._badges = None self._id = None self._name = None @@ -136,6 +145,12 @@ def __init__(self, badges=None, id=None, name=None, short_code=None, discriminat self._roles = None self.discriminator = None + if age_verification_slots_available is not None: + self.age_verification_slots_available = age_verification_slots_available + if age_verification_beta_code is not None: + self.age_verification_beta_code = age_verification_beta_code + if age_verification_beta_slots is not None: + self.age_verification_beta_slots = age_verification_beta_slots if badges is not None: self.badges = badges if id is not None: @@ -188,6 +203,69 @@ def __init__(self, badges=None, id=None, name=None, short_code=None, discriminat self.my_member = my_member self.roles = roles + @property + def age_verification_slots_available(self): + """Gets the age_verification_slots_available of this Group. # noqa: E501 + + + :return: The age_verification_slots_available of this Group. # noqa: E501 + :rtype: bool + """ + return self._age_verification_slots_available + + @age_verification_slots_available.setter + def age_verification_slots_available(self, age_verification_slots_available): + """Sets the age_verification_slots_available of this Group. + + + :param age_verification_slots_available: The age_verification_slots_available of this Group. # noqa: E501 + :type age_verification_slots_available: bool + """ + + self._age_verification_slots_available = age_verification_slots_available + + @property + def age_verification_beta_code(self): + """Gets the age_verification_beta_code of this Group. # noqa: E501 + + + :return: The age_verification_beta_code of this Group. # noqa: E501 + :rtype: str + """ + return self._age_verification_beta_code + + @age_verification_beta_code.setter + def age_verification_beta_code(self, age_verification_beta_code): + """Sets the age_verification_beta_code of this Group. + + + :param age_verification_beta_code: The age_verification_beta_code of this Group. # noqa: E501 + :type age_verification_beta_code: str + """ + + self._age_verification_beta_code = age_verification_beta_code + + @property + def age_verification_beta_slots(self): + """Gets the age_verification_beta_slots of this Group. # noqa: E501 + + + :return: The age_verification_beta_slots of this Group. # noqa: E501 + :rtype: float + """ + return self._age_verification_beta_slots + + @age_verification_beta_slots.setter + def age_verification_beta_slots(self, age_verification_beta_slots): + """Sets the age_verification_beta_slots of this Group. + + + :param age_verification_beta_slots: The age_verification_beta_slots of this Group. # noqa: E501 + :type age_verification_beta_slots: float + """ + + self._age_verification_beta_slots = age_verification_beta_slots + @property def badges(self): """Gets the badges of this Group. # noqa: E501 diff --git a/vrchatapi/models/group_access_type.py b/vrchatapi/models/group_access_type.py index ef53a09c..8e8134c3 100644 --- a/vrchatapi/models/group_access_type.py +++ b/vrchatapi/models/group_access_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index e7745311..8c7fb608 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index d066a863..51cd762c 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -206,7 +206,7 @@ def actor_display_name(self, actor_display_name): def target_id(self): """Gets the target_id of this GroupAuditLogEntry. # noqa: E501 - Typically GroupID or GroupRoleID, but could be other types of IDs. # noqa: E501 + Typically a UserID, GroupID, GroupRoleID, or Location, but could be other types of IDs. # noqa: E501 :return: The target_id of this GroupAuditLogEntry. # noqa: E501 :rtype: str @@ -217,7 +217,7 @@ def target_id(self): def target_id(self, target_id): """Sets the target_id of this GroupAuditLogEntry. - Typically GroupID or GroupRoleID, but could be other types of IDs. # noqa: E501 + Typically a UserID, GroupID, GroupRoleID, or Location, but could be other types of IDs. # noqa: E501 :param target_id: The target_id of this GroupAuditLogEntry. # noqa: E501 :type target_id: str diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index 7a9de369..8f1bfd89 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index 2f36a95d..f76c4eee 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_instance.py b/vrchatapi/models/group_instance.py index 04b4b55f..8e8b3df8 100644 --- a/vrchatapi/models/group_instance.py +++ b/vrchatapi/models/group_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_request_action.py b/vrchatapi/models/group_join_request_action.py index 210062db..e70662bc 100644 --- a/vrchatapi/models/group_join_request_action.py +++ b/vrchatapi/models/group_join_request_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index 7a875e22..a94625c6 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index fd83222b..17ebab8b 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index c78159a5..6d14c0f1 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index 9ab75e46..cf64d12c 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index 53e4f5cc..07c9fea5 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index aa42707c..40101a96 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -539,6 +539,14 @@ def permissions(self, permissions): :param permissions: The permissions of this GroupMyMember. # noqa: E501 :type permissions: list[str] """ + allowed_values = ["\*", "group-announcement-manage", "group-audit-view", "group-bans-manage", "group-data-manage", "group-default-role-manage", "group-galleries-manage", "group-instance-age-gated-create", "group-instance-join", "group-instance-manage", "group-instance-moderate", "group-instance-open-create", "group-instance-plus-create", "group-instance-plus-portal", "group-instance-plus-portal-unlocked", "group-instance-public-create", "group-instance-queue-priority", "group-instance-restricted-create", "group-invites-manage", "group-members-manage", "group-members-remove", "group-members-viewall", "group-roles-assign", "group-roles-manage"] # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + not set(permissions).issubset(set(allowed_values))): # noqa: E501 + raise ValueError( + "Invalid values for `permissions` [{0}], must be a subset of [{1}]" # noqa: E501 + .format(", ".join(map(str, set(permissions) - set(allowed_values))), # noqa: E501 + ", ".join(map(str, allowed_values))) + ) self._permissions = permissions diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index 3fb67b44..50e3af98 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post.py b/vrchatapi/models/group_post.py index cd91777f..7296abe8 100644 --- a/vrchatapi/models/group_post.py +++ b/vrchatapi/models/group_post.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post_visibility.py b/vrchatapi/models/group_post_visibility.py index 3c4df47d..99507bd7 100644 --- a/vrchatapi/models/group_post_visibility.py +++ b/vrchatapi/models/group_post_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index 6f9501bf..3728aabd 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index 229a0567..569f0e89 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -233,6 +233,14 @@ def permissions(self, permissions): :param permissions: The permissions of this GroupRole. # noqa: E501 :type permissions: list[str] """ + allowed_values = ["\*", "group-announcement-manage", "group-audit-view", "group-bans-manage", "group-data-manage", "group-default-role-manage", "group-galleries-manage", "group-instance-age-gated-create", "group-instance-join", "group-instance-manage", "group-instance-moderate", "group-instance-open-create", "group-instance-plus-create", "group-instance-plus-portal", "group-instance-plus-portal-unlocked", "group-instance-public-create", "group-instance-queue-priority", "group-instance-restricted-create", "group-invites-manage", "group-members-manage", "group-members-remove", "group-members-viewall", "group-roles-assign", "group-roles-manage"] # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + not set(permissions).issubset(set(allowed_values))): # noqa: E501 + raise ValueError( + "Invalid values for `permissions` [{0}], must be a subset of [{1}]" # noqa: E501 + .format(", ".join(map(str, set(permissions) - set(allowed_values))), # noqa: E501 + ", ".join(map(str, allowed_values))) + ) self._permissions = permissions diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index d19e47e7..af1200c5 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_search_sort.py b/vrchatapi/models/group_search_sort.py index 145b1ba6..f8894a8e 100644 --- a/vrchatapi/models/group_search_sort.py +++ b/vrchatapi/models/group_search_sort.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index 13b9c66c..ecfda3cb 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index 2ae90728..edaef11e 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index 7ecb3f04..df6a45c5 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index 90cf0a5a..95ac8379 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index ca57dc3f..034fd04c 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index 6368d512..5ad04005 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index 9f962519..2728c68f 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -37,7 +37,7 @@ class Instance(object): """ openapi_types = { 'active': 'bool', - 'age_gate': 'str', + 'age_gate': 'bool', 'can_request_invite': 'bool', 'capacity': 'int', 'client_number': 'str', @@ -251,7 +251,7 @@ def age_gate(self): :return: The age_gate of this Instance. # noqa: E501 - :rtype: str + :rtype: bool """ return self._age_gate @@ -261,7 +261,7 @@ def age_gate(self, age_gate): :param age_gate: The age_gate of this Instance. # noqa: E501 - :type age_gate: str + :type age_gate: bool """ self._age_gate = age_gate diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index b679aae2..cba7cf05 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_region.py b/vrchatapi/models/instance_region.py index f01e0b26..3e692968 100644 --- a/vrchatapi/models/instance_region.py +++ b/vrchatapi/models/instance_region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index 142311eb..29257120 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index b652e02b..d9e6f886 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index 1dcc38f4..84afac6b 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index 3b6ae9fe..f9b83513 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index 8ce81616..55e156de 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index 479fc2da..851b907b 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/jam.py b/vrchatapi/models/jam.py index e212af36..d8198ba2 100644 --- a/vrchatapi/models/jam.py +++ b/vrchatapi/models/jam.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/jam_state_change_dates.py b/vrchatapi/models/jam_state_change_dates.py index 38512ac7..053395d4 100644 --- a/vrchatapi/models/jam_state_change_dates.py +++ b/vrchatapi/models/jam_state_change_dates.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index 7247591b..826b8307 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index 36d632ef..fdbbe02c 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index 80354106..249950bf 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index 595f2e4c..d0482a74 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_group.py b/vrchatapi/models/limited_group.py index d5f79d34..ae427fc0 100644 --- a/vrchatapi/models/limited_group.py +++ b/vrchatapi/models/limited_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index 4a68e9b9..a3005daf 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user.py b/vrchatapi/models/limited_user.py index 417f3110..e1151733 100644 --- a/vrchatapi/models/limited_user.py +++ b/vrchatapi/models/limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user_groups.py b/vrchatapi/models/limited_user_groups.py index 6e013f2a..f7472768 100644 --- a/vrchatapi/models/limited_user_groups.py +++ b/vrchatapi/models/limited_user_groups.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index 1c313c50..6310755b 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index f61b9f46..528577b3 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index 2b43f702..6ed04ea2 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index 29fc3955..4b3aeb8c 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite.py b/vrchatapi/models/notification_detail_invite.py index f7a651d0..e2f018d3 100644 --- a/vrchatapi/models/notification_detail_invite.py +++ b/vrchatapi/models/notification_detail_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite_response.py b/vrchatapi/models/notification_detail_invite_response.py index 731e5591..678268df 100644 --- a/vrchatapi/models/notification_detail_invite_response.py +++ b/vrchatapi/models/notification_detail_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite.py b/vrchatapi/models/notification_detail_request_invite.py index 29485069..d442c480 100644 --- a/vrchatapi/models/notification_detail_request_invite.py +++ b/vrchatapi/models/notification_detail_request_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite_response.py b/vrchatapi/models/notification_detail_request_invite_response.py index 1b31c8eb..f4284b1a 100644 --- a/vrchatapi/models/notification_detail_request_invite_response.py +++ b/vrchatapi/models/notification_detail_request_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_vote_to_kick.py b/vrchatapi/models/notification_detail_vote_to_kick.py index 8b2790ae..74865dfa 100644 --- a/vrchatapi/models/notification_detail_vote_to_kick.py +++ b/vrchatapi/models/notification_detail_vote_to_kick.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index 308f239b..9cbf3348 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index 8fb2a620..e5bd00c4 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index 1b438440..5623afdd 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index 95fc7906..21f12b68 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/performance_limiter_info.py b/vrchatapi/models/performance_limiter_info.py index 3f078fbc..07d6baf3 100644 --- a/vrchatapi/models/performance_limiter_info.py +++ b/vrchatapi/models/performance_limiter_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/performance_ratings.py b/vrchatapi/models/performance_ratings.py index 046d8c0f..815efe9a 100644 --- a/vrchatapi/models/performance_ratings.py +++ b/vrchatapi/models/performance_ratings.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index 6c0e061b..1fe4e639 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/platform_build_info.py b/vrchatapi/models/platform_build_info.py index 68db81cc..1bebb87e 100644 --- a/vrchatapi/models/platform_build_info.py +++ b/vrchatapi/models/platform_build_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index 95ef7491..1e0bff21 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index 530e6369..340fa024 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product.py b/vrchatapi/models/product.py new file mode 100644 index 00000000..362a3620 --- /dev/null +++ b/vrchatapi/models/product.py @@ -0,0 +1,557 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.9 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class Product(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'archived': 'bool', + 'created': 'datetime', + 'description': 'str', + 'display_name': 'str', + 'group_access': 'bool', + 'group_access_remove': 'bool', + 'group_id': 'str', + 'group_role_id': 'str', + 'id': 'str', + 'image_id': 'str', + 'parent_listings': 'list[str]', + 'product_type': 'ProductType', + 'seller_display_name': 'str', + 'seller_id': 'str', + 'tags': 'list[str]', + 'updated': 'datetime', + 'use_for_subscriber_list': 'bool' + } + + attribute_map = { + 'archived': 'archived', + 'created': 'created', + 'description': 'description', + 'display_name': 'displayName', + 'group_access': 'groupAccess', + 'group_access_remove': 'groupAccessRemove', + 'group_id': 'groupId', + 'group_role_id': 'groupRoleId', + 'id': 'id', + 'image_id': 'imageId', + 'parent_listings': 'parentListings', + 'product_type': 'productType', + 'seller_display_name': 'sellerDisplayName', + 'seller_id': 'sellerId', + 'tags': 'tags', + 'updated': 'updated', + 'use_for_subscriber_list': 'useForSubscriberList' + } + + def __init__(self, archived=None, created=None, description=None, display_name=None, group_access=False, group_access_remove=False, group_id=None, group_role_id=None, id=None, image_id=None, parent_listings=None, product_type=None, seller_display_name=None, seller_id=None, tags=None, updated=None, use_for_subscriber_list=False, local_vars_configuration=None): # noqa: E501 + """Product - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._archived = None + self._created = None + self._description = None + self._display_name = None + self._group_access = None + self._group_access_remove = None + self._group_id = None + self._group_role_id = None + self._id = None + self._image_id = None + self._parent_listings = None + self._product_type = None + self._seller_display_name = None + self._seller_id = None + self._tags = None + self._updated = None + self._use_for_subscriber_list = None + self.discriminator = None + + self.archived = archived + self.created = created + self.description = description + self.display_name = display_name + if group_access is not None: + self.group_access = group_access + if group_access_remove is not None: + self.group_access_remove = group_access_remove + if group_id is not None: + self.group_id = group_id + if group_role_id is not None: + self.group_role_id = group_role_id + self.id = id + self.image_id = image_id + self.parent_listings = parent_listings + self.product_type = product_type + self.seller_display_name = seller_display_name + self.seller_id = seller_id + self.tags = tags + self.updated = updated + if use_for_subscriber_list is not None: + self.use_for_subscriber_list = use_for_subscriber_list + + @property + def archived(self): + """Gets the archived of this Product. # noqa: E501 + + + :return: The archived of this Product. # noqa: E501 + :rtype: bool + """ + return self._archived + + @archived.setter + def archived(self, archived): + """Sets the archived of this Product. + + + :param archived: The archived of this Product. # noqa: E501 + :type archived: bool + """ + if self.local_vars_configuration.client_side_validation and archived is None: # noqa: E501 + raise ValueError("Invalid value for `archived`, must not be `None`") # noqa: E501 + + self._archived = archived + + @property + def created(self): + """Gets the created of this Product. # noqa: E501 + + + :return: The created of this Product. # noqa: E501 + :rtype: datetime + """ + return self._created + + @created.setter + def created(self, created): + """Sets the created of this Product. + + + :param created: The created of this Product. # noqa: E501 + :type created: datetime + """ + if self.local_vars_configuration.client_side_validation and created is None: # noqa: E501 + raise ValueError("Invalid value for `created`, must not be `None`") # noqa: E501 + + self._created = created + + @property + def description(self): + """Gets the description of this Product. # noqa: E501 + + + :return: The description of this Product. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this Product. + + + :param description: The description of this Product. # noqa: E501 + :type description: str + """ + if self.local_vars_configuration.client_side_validation and description is None: # noqa: E501 + raise ValueError("Invalid value for `description`, must not be `None`") # noqa: E501 + + self._description = description + + @property + def display_name(self): + """Gets the display_name of this Product. # noqa: E501 + + + :return: The display_name of this Product. # noqa: E501 + :rtype: str + """ + return self._display_name + + @display_name.setter + def display_name(self, display_name): + """Sets the display_name of this Product. + + + :param display_name: The display_name of this Product. # noqa: E501 + :type display_name: str + """ + if self.local_vars_configuration.client_side_validation and display_name is None: # noqa: E501 + raise ValueError("Invalid value for `display_name`, must not be `None`") # noqa: E501 + + self._display_name = display_name + + @property + def group_access(self): + """Gets the group_access of this Product. # noqa: E501 + + + :return: The group_access of this Product. # noqa: E501 + :rtype: bool + """ + return self._group_access + + @group_access.setter + def group_access(self, group_access): + """Sets the group_access of this Product. + + + :param group_access: The group_access of this Product. # noqa: E501 + :type group_access: bool + """ + + self._group_access = group_access + + @property + def group_access_remove(self): + """Gets the group_access_remove of this Product. # noqa: E501 + + + :return: The group_access_remove of this Product. # noqa: E501 + :rtype: bool + """ + return self._group_access_remove + + @group_access_remove.setter + def group_access_remove(self, group_access_remove): + """Sets the group_access_remove of this Product. + + + :param group_access_remove: The group_access_remove of this Product. # noqa: E501 + :type group_access_remove: bool + """ + + self._group_access_remove = group_access_remove + + @property + def group_id(self): + """Gets the group_id of this Product. # noqa: E501 + + + :return: The group_id of this Product. # noqa: E501 + :rtype: str + """ + return self._group_id + + @group_id.setter + def group_id(self, group_id): + """Sets the group_id of this Product. + + + :param group_id: The group_id of this Product. # noqa: E501 + :type group_id: str + """ + + self._group_id = group_id + + @property + def group_role_id(self): + """Gets the group_role_id of this Product. # noqa: E501 + + + :return: The group_role_id of this Product. # noqa: E501 + :rtype: str + """ + return self._group_role_id + + @group_role_id.setter + def group_role_id(self, group_role_id): + """Sets the group_role_id of this Product. + + + :param group_role_id: The group_role_id of this Product. # noqa: E501 + :type group_role_id: str + """ + + self._group_role_id = group_role_id + + @property + def id(self): + """Gets the id of this Product. # noqa: E501 + + + :return: The id of this Product. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this Product. + + + :param id: The id of this Product. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + + self._id = id + + @property + def image_id(self): + """Gets the image_id of this Product. # noqa: E501 + + + :return: The image_id of this Product. # noqa: E501 + :rtype: str + """ + return self._image_id + + @image_id.setter + def image_id(self, image_id): + """Sets the image_id of this Product. + + + :param image_id: The image_id of this Product. # noqa: E501 + :type image_id: str + """ + if self.local_vars_configuration.client_side_validation and image_id is None: # noqa: E501 + raise ValueError("Invalid value for `image_id`, must not be `None`") # noqa: E501 + + self._image_id = image_id + + @property + def parent_listings(self): + """Gets the parent_listings of this Product. # noqa: E501 + + + :return: The parent_listings of this Product. # noqa: E501 + :rtype: list[str] + """ + return self._parent_listings + + @parent_listings.setter + def parent_listings(self, parent_listings): + """Sets the parent_listings of this Product. + + + :param parent_listings: The parent_listings of this Product. # noqa: E501 + :type parent_listings: list[str] + """ + if self.local_vars_configuration.client_side_validation and parent_listings is None: # noqa: E501 + raise ValueError("Invalid value for `parent_listings`, must not be `None`") # noqa: E501 + + self._parent_listings = parent_listings + + @property + def product_type(self): + """Gets the product_type of this Product. # noqa: E501 + + + :return: The product_type of this Product. # noqa: E501 + :rtype: ProductType + """ + return self._product_type + + @product_type.setter + def product_type(self, product_type): + """Sets the product_type of this Product. + + + :param product_type: The product_type of this Product. # noqa: E501 + :type product_type: ProductType + """ + if self.local_vars_configuration.client_side_validation and product_type is None: # noqa: E501 + raise ValueError("Invalid value for `product_type`, must not be `None`") # noqa: E501 + + self._product_type = product_type + + @property + def seller_display_name(self): + """Gets the seller_display_name of this Product. # noqa: E501 + + + :return: The seller_display_name of this Product. # noqa: E501 + :rtype: str + """ + return self._seller_display_name + + @seller_display_name.setter + def seller_display_name(self, seller_display_name): + """Sets the seller_display_name of this Product. + + + :param seller_display_name: The seller_display_name of this Product. # noqa: E501 + :type seller_display_name: str + """ + if self.local_vars_configuration.client_side_validation and seller_display_name is None: # noqa: E501 + raise ValueError("Invalid value for `seller_display_name`, must not be `None`") # noqa: E501 + + self._seller_display_name = seller_display_name + + @property + def seller_id(self): + """Gets the seller_id of this Product. # noqa: E501 + + + :return: The seller_id of this Product. # noqa: E501 + :rtype: str + """ + return self._seller_id + + @seller_id.setter + def seller_id(self, seller_id): + """Sets the seller_id of this Product. + + + :param seller_id: The seller_id of this Product. # noqa: E501 + :type seller_id: str + """ + if self.local_vars_configuration.client_side_validation and seller_id is None: # noqa: E501 + raise ValueError("Invalid value for `seller_id`, must not be `None`") # noqa: E501 + + self._seller_id = seller_id + + @property + def tags(self): + """Gets the tags of this Product. # noqa: E501 + + + :return: The tags of this Product. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this Product. + + + :param tags: The tags of this Product. # noqa: E501 + :type tags: list[str] + """ + if self.local_vars_configuration.client_side_validation and tags is None: # noqa: E501 + raise ValueError("Invalid value for `tags`, must not be `None`") # noqa: E501 + + self._tags = tags + + @property + def updated(self): + """Gets the updated of this Product. # noqa: E501 + + + :return: The updated of this Product. # noqa: E501 + :rtype: datetime + """ + return self._updated + + @updated.setter + def updated(self, updated): + """Sets the updated of this Product. + + + :param updated: The updated of this Product. # noqa: E501 + :type updated: datetime + """ + + self._updated = updated + + @property + def use_for_subscriber_list(self): + """Gets the use_for_subscriber_list of this Product. # noqa: E501 + + + :return: The use_for_subscriber_list of this Product. # noqa: E501 + :rtype: bool + """ + return self._use_for_subscriber_list + + @use_for_subscriber_list.setter + def use_for_subscriber_list(self, use_for_subscriber_list): + """Sets the use_for_subscriber_list of this Product. + + + :param use_for_subscriber_list: The use_for_subscriber_list of this Product. # noqa: E501 + :type use_for_subscriber_list: bool + """ + + self._use_for_subscriber_list = use_for_subscriber_list + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, Product): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, Product): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/product_listing.py b/vrchatapi/models/product_listing.py new file mode 100644 index 00000000..629aa0a9 --- /dev/null +++ b/vrchatapi/models/product_listing.py @@ -0,0 +1,936 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.9 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class ProductListing(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'active': 'bool', + 'archived': 'bool', + 'buyer_refundable': 'bool', + 'created': 'datetime', + 'description': 'str', + 'display_name': 'str', + 'duration': 'int', + 'duration_type': 'str', + 'group_icon': 'str', + 'group_id': 'str', + 'group_name': 'str', + 'hydrated_products': 'list[Product]', + 'id': 'str', + 'image_id': 'str', + 'instant': 'bool', + 'listing_type': 'ProductListingType', + 'listing_variants': 'list[ProductListingVariant]', + 'permanent': 'bool', + 'price_tokens': 'int', + 'product_ids': 'list[str]', + 'product_type': 'ProductType', + 'products': 'list[object]', + 'quantifiable': 'bool', + 'recurrable': 'bool', + 'refundable': 'bool', + 'seller_display_name': 'str', + 'seller_id': 'str', + 'stackable': 'bool', + 'store_ids': 'list[str]', + 'tags': 'list[str]', + 'updated': 'datetime' + } + + attribute_map = { + 'active': 'active', + 'archived': 'archived', + 'buyer_refundable': 'buyerRefundable', + 'created': 'created', + 'description': 'description', + 'display_name': 'displayName', + 'duration': 'duration', + 'duration_type': 'durationType', + 'group_icon': 'groupIcon', + 'group_id': 'groupId', + 'group_name': 'groupName', + 'hydrated_products': 'hydratedProducts', + 'id': 'id', + 'image_id': 'imageId', + 'instant': 'instant', + 'listing_type': 'listingType', + 'listing_variants': 'listingVariants', + 'permanent': 'permanent', + 'price_tokens': 'priceTokens', + 'product_ids': 'productIds', + 'product_type': 'productType', + 'products': 'products', + 'quantifiable': 'quantifiable', + 'recurrable': 'recurrable', + 'refundable': 'refundable', + 'seller_display_name': 'sellerDisplayName', + 'seller_id': 'sellerId', + 'stackable': 'stackable', + 'store_ids': 'storeIds', + 'tags': 'tags', + 'updated': 'updated' + } + + def __init__(self, active=None, archived=None, buyer_refundable=None, created=None, description=None, display_name=None, duration=None, duration_type=None, group_icon=None, group_id=None, group_name=None, hydrated_products=None, id=None, image_id=None, instant=None, listing_type=None, listing_variants=None, permanent=None, price_tokens=None, product_ids=None, product_type=None, products=None, quantifiable=None, recurrable=None, refundable=None, seller_display_name=None, seller_id=None, stackable=None, store_ids=None, tags=None, updated=None, local_vars_configuration=None): # noqa: E501 + """ProductListing - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._active = None + self._archived = None + self._buyer_refundable = None + self._created = None + self._description = None + self._display_name = None + self._duration = None + self._duration_type = None + self._group_icon = None + self._group_id = None + self._group_name = None + self._hydrated_products = None + self._id = None + self._image_id = None + self._instant = None + self._listing_type = None + self._listing_variants = None + self._permanent = None + self._price_tokens = None + self._product_ids = None + self._product_type = None + self._products = None + self._quantifiable = None + self._recurrable = None + self._refundable = None + self._seller_display_name = None + self._seller_id = None + self._stackable = None + self._store_ids = None + self._tags = None + self._updated = None + self.discriminator = None + + self.active = active + self.archived = archived + self.buyer_refundable = buyer_refundable + self.created = created + self.description = description + self.display_name = display_name + if duration is not None: + self.duration = duration + if duration_type is not None: + self.duration_type = duration_type + self.group_icon = group_icon + self.group_id = group_id + self.group_name = group_name + if hydrated_products is not None: + self.hydrated_products = hydrated_products + self.id = id + self.image_id = image_id + self.instant = instant + self.listing_type = listing_type + self.listing_variants = listing_variants + self.permanent = permanent + self.price_tokens = price_tokens + self.product_ids = product_ids + self.product_type = product_type + self.products = products + if quantifiable is not None: + self.quantifiable = quantifiable + self.recurrable = recurrable + self.refundable = refundable + self.seller_display_name = seller_display_name + self.seller_id = seller_id + self.stackable = stackable + self.store_ids = store_ids + self.tags = tags + self.updated = updated + + @property + def active(self): + """Gets the active of this ProductListing. # noqa: E501 + + + :return: The active of this ProductListing. # noqa: E501 + :rtype: bool + """ + return self._active + + @active.setter + def active(self, active): + """Sets the active of this ProductListing. + + + :param active: The active of this ProductListing. # noqa: E501 + :type active: bool + """ + if self.local_vars_configuration.client_side_validation and active is None: # noqa: E501 + raise ValueError("Invalid value for `active`, must not be `None`") # noqa: E501 + + self._active = active + + @property + def archived(self): + """Gets the archived of this ProductListing. # noqa: E501 + + + :return: The archived of this ProductListing. # noqa: E501 + :rtype: bool + """ + return self._archived + + @archived.setter + def archived(self, archived): + """Sets the archived of this ProductListing. + + + :param archived: The archived of this ProductListing. # noqa: E501 + :type archived: bool + """ + if self.local_vars_configuration.client_side_validation and archived is None: # noqa: E501 + raise ValueError("Invalid value for `archived`, must not be `None`") # noqa: E501 + + self._archived = archived + + @property + def buyer_refundable(self): + """Gets the buyer_refundable of this ProductListing. # noqa: E501 + + + :return: The buyer_refundable of this ProductListing. # noqa: E501 + :rtype: bool + """ + return self._buyer_refundable + + @buyer_refundable.setter + def buyer_refundable(self, buyer_refundable): + """Sets the buyer_refundable of this ProductListing. + + + :param buyer_refundable: The buyer_refundable of this ProductListing. # noqa: E501 + :type buyer_refundable: bool + """ + if self.local_vars_configuration.client_side_validation and buyer_refundable is None: # noqa: E501 + raise ValueError("Invalid value for `buyer_refundable`, must not be `None`") # noqa: E501 + + self._buyer_refundable = buyer_refundable + + @property + def created(self): + """Gets the created of this ProductListing. # noqa: E501 + + + :return: The created of this ProductListing. # noqa: E501 + :rtype: datetime + """ + return self._created + + @created.setter + def created(self, created): + """Sets the created of this ProductListing. + + + :param created: The created of this ProductListing. # noqa: E501 + :type created: datetime + """ + if self.local_vars_configuration.client_side_validation and created is None: # noqa: E501 + raise ValueError("Invalid value for `created`, must not be `None`") # noqa: E501 + + self._created = created + + @property + def description(self): + """Gets the description of this ProductListing. # noqa: E501 + + + :return: The description of this ProductListing. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this ProductListing. + + + :param description: The description of this ProductListing. # noqa: E501 + :type description: str + """ + if self.local_vars_configuration.client_side_validation and description is None: # noqa: E501 + raise ValueError("Invalid value for `description`, must not be `None`") # noqa: E501 + + self._description = description + + @property + def display_name(self): + """Gets the display_name of this ProductListing. # noqa: E501 + + + :return: The display_name of this ProductListing. # noqa: E501 + :rtype: str + """ + return self._display_name + + @display_name.setter + def display_name(self, display_name): + """Sets the display_name of this ProductListing. + + + :param display_name: The display_name of this ProductListing. # noqa: E501 + :type display_name: str + """ + if self.local_vars_configuration.client_side_validation and display_name is None: # noqa: E501 + raise ValueError("Invalid value for `display_name`, must not be `None`") # noqa: E501 + + self._display_name = display_name + + @property + def duration(self): + """Gets the duration of this ProductListing. # noqa: E501 + + + :return: The duration of this ProductListing. # noqa: E501 + :rtype: int + """ + return self._duration + + @duration.setter + def duration(self, duration): + """Sets the duration of this ProductListing. + + + :param duration: The duration of this ProductListing. # noqa: E501 + :type duration: int + """ + + self._duration = duration + + @property + def duration_type(self): + """Gets the duration_type of this ProductListing. # noqa: E501 + + + :return: The duration_type of this ProductListing. # noqa: E501 + :rtype: str + """ + return self._duration_type + + @duration_type.setter + def duration_type(self, duration_type): + """Sets the duration_type of this ProductListing. + + + :param duration_type: The duration_type of this ProductListing. # noqa: E501 + :type duration_type: str + """ + + self._duration_type = duration_type + + @property + def group_icon(self): + """Gets the group_icon of this ProductListing. # noqa: E501 + + + :return: The group_icon of this ProductListing. # noqa: E501 + :rtype: str + """ + return self._group_icon + + @group_icon.setter + def group_icon(self, group_icon): + """Sets the group_icon of this ProductListing. + + + :param group_icon: The group_icon of this ProductListing. # noqa: E501 + :type group_icon: str + """ + if self.local_vars_configuration.client_side_validation and group_icon is None: # noqa: E501 + raise ValueError("Invalid value for `group_icon`, must not be `None`") # noqa: E501 + + self._group_icon = group_icon + + @property + def group_id(self): + """Gets the group_id of this ProductListing. # noqa: E501 + + + :return: The group_id of this ProductListing. # noqa: E501 + :rtype: str + """ + return self._group_id + + @group_id.setter + def group_id(self, group_id): + """Sets the group_id of this ProductListing. + + + :param group_id: The group_id of this ProductListing. # noqa: E501 + :type group_id: str + """ + if self.local_vars_configuration.client_side_validation and group_id is None: # noqa: E501 + raise ValueError("Invalid value for `group_id`, must not be `None`") # noqa: E501 + + self._group_id = group_id + + @property + def group_name(self): + """Gets the group_name of this ProductListing. # noqa: E501 + + + :return: The group_name of this ProductListing. # noqa: E501 + :rtype: str + """ + return self._group_name + + @group_name.setter + def group_name(self, group_name): + """Sets the group_name of this ProductListing. + + + :param group_name: The group_name of this ProductListing. # noqa: E501 + :type group_name: str + """ + if self.local_vars_configuration.client_side_validation and group_name is None: # noqa: E501 + raise ValueError("Invalid value for `group_name`, must not be `None`") # noqa: E501 + + self._group_name = group_name + + @property + def hydrated_products(self): + """Gets the hydrated_products of this ProductListing. # noqa: E501 + + + :return: The hydrated_products of this ProductListing. # noqa: E501 + :rtype: list[Product] + """ + return self._hydrated_products + + @hydrated_products.setter + def hydrated_products(self, hydrated_products): + """Sets the hydrated_products of this ProductListing. + + + :param hydrated_products: The hydrated_products of this ProductListing. # noqa: E501 + :type hydrated_products: list[Product] + """ + + self._hydrated_products = hydrated_products + + @property + def id(self): + """Gets the id of this ProductListing. # noqa: E501 + + + :return: The id of this ProductListing. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this ProductListing. + + + :param id: The id of this ProductListing. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + + self._id = id + + @property + def image_id(self): + """Gets the image_id of this ProductListing. # noqa: E501 + + + :return: The image_id of this ProductListing. # noqa: E501 + :rtype: str + """ + return self._image_id + + @image_id.setter + def image_id(self, image_id): + """Sets the image_id of this ProductListing. + + + :param image_id: The image_id of this ProductListing. # noqa: E501 + :type image_id: str + """ + if self.local_vars_configuration.client_side_validation and image_id is None: # noqa: E501 + raise ValueError("Invalid value for `image_id`, must not be `None`") # noqa: E501 + + self._image_id = image_id + + @property + def instant(self): + """Gets the instant of this ProductListing. # noqa: E501 + + + :return: The instant of this ProductListing. # noqa: E501 + :rtype: bool + """ + return self._instant + + @instant.setter + def instant(self, instant): + """Sets the instant of this ProductListing. + + + :param instant: The instant of this ProductListing. # noqa: E501 + :type instant: bool + """ + if self.local_vars_configuration.client_side_validation and instant is None: # noqa: E501 + raise ValueError("Invalid value for `instant`, must not be `None`") # noqa: E501 + + self._instant = instant + + @property + def listing_type(self): + """Gets the listing_type of this ProductListing. # noqa: E501 + + + :return: The listing_type of this ProductListing. # noqa: E501 + :rtype: ProductListingType + """ + return self._listing_type + + @listing_type.setter + def listing_type(self, listing_type): + """Sets the listing_type of this ProductListing. + + + :param listing_type: The listing_type of this ProductListing. # noqa: E501 + :type listing_type: ProductListingType + """ + if self.local_vars_configuration.client_side_validation and listing_type is None: # noqa: E501 + raise ValueError("Invalid value for `listing_type`, must not be `None`") # noqa: E501 + + self._listing_type = listing_type + + @property + def listing_variants(self): + """Gets the listing_variants of this ProductListing. # noqa: E501 + + + :return: The listing_variants of this ProductListing. # noqa: E501 + :rtype: list[ProductListingVariant] + """ + return self._listing_variants + + @listing_variants.setter + def listing_variants(self, listing_variants): + """Sets the listing_variants of this ProductListing. + + + :param listing_variants: The listing_variants of this ProductListing. # noqa: E501 + :type listing_variants: list[ProductListingVariant] + """ + if self.local_vars_configuration.client_side_validation and listing_variants is None: # noqa: E501 + raise ValueError("Invalid value for `listing_variants`, must not be `None`") # noqa: E501 + + self._listing_variants = listing_variants + + @property + def permanent(self): + """Gets the permanent of this ProductListing. # noqa: E501 + + + :return: The permanent of this ProductListing. # noqa: E501 + :rtype: bool + """ + return self._permanent + + @permanent.setter + def permanent(self, permanent): + """Sets the permanent of this ProductListing. + + + :param permanent: The permanent of this ProductListing. # noqa: E501 + :type permanent: bool + """ + if self.local_vars_configuration.client_side_validation and permanent is None: # noqa: E501 + raise ValueError("Invalid value for `permanent`, must not be `None`") # noqa: E501 + + self._permanent = permanent + + @property + def price_tokens(self): + """Gets the price_tokens of this ProductListing. # noqa: E501 + + + :return: The price_tokens of this ProductListing. # noqa: E501 + :rtype: int + """ + return self._price_tokens + + @price_tokens.setter + def price_tokens(self, price_tokens): + """Sets the price_tokens of this ProductListing. + + + :param price_tokens: The price_tokens of this ProductListing. # noqa: E501 + :type price_tokens: int + """ + if self.local_vars_configuration.client_side_validation and price_tokens is None: # noqa: E501 + raise ValueError("Invalid value for `price_tokens`, must not be `None`") # noqa: E501 + + self._price_tokens = price_tokens + + @property + def product_ids(self): + """Gets the product_ids of this ProductListing. # noqa: E501 + + + :return: The product_ids of this ProductListing. # noqa: E501 + :rtype: list[str] + """ + return self._product_ids + + @product_ids.setter + def product_ids(self, product_ids): + """Sets the product_ids of this ProductListing. + + + :param product_ids: The product_ids of this ProductListing. # noqa: E501 + :type product_ids: list[str] + """ + if self.local_vars_configuration.client_side_validation and product_ids is None: # noqa: E501 + raise ValueError("Invalid value for `product_ids`, must not be `None`") # noqa: E501 + + self._product_ids = product_ids + + @property + def product_type(self): + """Gets the product_type of this ProductListing. # noqa: E501 + + + :return: The product_type of this ProductListing. # noqa: E501 + :rtype: ProductType + """ + return self._product_type + + @product_type.setter + def product_type(self, product_type): + """Sets the product_type of this ProductListing. + + + :param product_type: The product_type of this ProductListing. # noqa: E501 + :type product_type: ProductType + """ + if self.local_vars_configuration.client_side_validation and product_type is None: # noqa: E501 + raise ValueError("Invalid value for `product_type`, must not be `None`") # noqa: E501 + + self._product_type = product_type + + @property + def products(self): + """Gets the products of this ProductListing. # noqa: E501 + + + :return: The products of this ProductListing. # noqa: E501 + :rtype: list[object] + """ + return self._products + + @products.setter + def products(self, products): + """Sets the products of this ProductListing. + + + :param products: The products of this ProductListing. # noqa: E501 + :type products: list[object] + """ + if self.local_vars_configuration.client_side_validation and products is None: # noqa: E501 + raise ValueError("Invalid value for `products`, must not be `None`") # noqa: E501 + + self._products = products + + @property + def quantifiable(self): + """Gets the quantifiable of this ProductListing. # noqa: E501 + + + :return: The quantifiable of this ProductListing. # noqa: E501 + :rtype: bool + """ + return self._quantifiable + + @quantifiable.setter + def quantifiable(self, quantifiable): + """Sets the quantifiable of this ProductListing. + + + :param quantifiable: The quantifiable of this ProductListing. # noqa: E501 + :type quantifiable: bool + """ + + self._quantifiable = quantifiable + + @property + def recurrable(self): + """Gets the recurrable of this ProductListing. # noqa: E501 + + + :return: The recurrable of this ProductListing. # noqa: E501 + :rtype: bool + """ + return self._recurrable + + @recurrable.setter + def recurrable(self, recurrable): + """Sets the recurrable of this ProductListing. + + + :param recurrable: The recurrable of this ProductListing. # noqa: E501 + :type recurrable: bool + """ + if self.local_vars_configuration.client_side_validation and recurrable is None: # noqa: E501 + raise ValueError("Invalid value for `recurrable`, must not be `None`") # noqa: E501 + + self._recurrable = recurrable + + @property + def refundable(self): + """Gets the refundable of this ProductListing. # noqa: E501 + + + :return: The refundable of this ProductListing. # noqa: E501 + :rtype: bool + """ + return self._refundable + + @refundable.setter + def refundable(self, refundable): + """Sets the refundable of this ProductListing. + + + :param refundable: The refundable of this ProductListing. # noqa: E501 + :type refundable: bool + """ + if self.local_vars_configuration.client_side_validation and refundable is None: # noqa: E501 + raise ValueError("Invalid value for `refundable`, must not be `None`") # noqa: E501 + + self._refundable = refundable + + @property + def seller_display_name(self): + """Gets the seller_display_name of this ProductListing. # noqa: E501 + + + :return: The seller_display_name of this ProductListing. # noqa: E501 + :rtype: str + """ + return self._seller_display_name + + @seller_display_name.setter + def seller_display_name(self, seller_display_name): + """Sets the seller_display_name of this ProductListing. + + + :param seller_display_name: The seller_display_name of this ProductListing. # noqa: E501 + :type seller_display_name: str + """ + if self.local_vars_configuration.client_side_validation and seller_display_name is None: # noqa: E501 + raise ValueError("Invalid value for `seller_display_name`, must not be `None`") # noqa: E501 + + self._seller_display_name = seller_display_name + + @property + def seller_id(self): + """Gets the seller_id of this ProductListing. # noqa: E501 + + + :return: The seller_id of this ProductListing. # noqa: E501 + :rtype: str + """ + return self._seller_id + + @seller_id.setter + def seller_id(self, seller_id): + """Sets the seller_id of this ProductListing. + + + :param seller_id: The seller_id of this ProductListing. # noqa: E501 + :type seller_id: str + """ + if self.local_vars_configuration.client_side_validation and seller_id is None: # noqa: E501 + raise ValueError("Invalid value for `seller_id`, must not be `None`") # noqa: E501 + + self._seller_id = seller_id + + @property + def stackable(self): + """Gets the stackable of this ProductListing. # noqa: E501 + + + :return: The stackable of this ProductListing. # noqa: E501 + :rtype: bool + """ + return self._stackable + + @stackable.setter + def stackable(self, stackable): + """Sets the stackable of this ProductListing. + + + :param stackable: The stackable of this ProductListing. # noqa: E501 + :type stackable: bool + """ + if self.local_vars_configuration.client_side_validation and stackable is None: # noqa: E501 + raise ValueError("Invalid value for `stackable`, must not be `None`") # noqa: E501 + + self._stackable = stackable + + @property + def store_ids(self): + """Gets the store_ids of this ProductListing. # noqa: E501 + + + :return: The store_ids of this ProductListing. # noqa: E501 + :rtype: list[str] + """ + return self._store_ids + + @store_ids.setter + def store_ids(self, store_ids): + """Sets the store_ids of this ProductListing. + + + :param store_ids: The store_ids of this ProductListing. # noqa: E501 + :type store_ids: list[str] + """ + if self.local_vars_configuration.client_side_validation and store_ids is None: # noqa: E501 + raise ValueError("Invalid value for `store_ids`, must not be `None`") # noqa: E501 + + self._store_ids = store_ids + + @property + def tags(self): + """Gets the tags of this ProductListing. # noqa: E501 + + + :return: The tags of this ProductListing. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this ProductListing. + + + :param tags: The tags of this ProductListing. # noqa: E501 + :type tags: list[str] + """ + if self.local_vars_configuration.client_side_validation and tags is None: # noqa: E501 + raise ValueError("Invalid value for `tags`, must not be `None`") # noqa: E501 + + self._tags = tags + + @property + def updated(self): + """Gets the updated of this ProductListing. # noqa: E501 + + + :return: The updated of this ProductListing. # noqa: E501 + :rtype: datetime + """ + return self._updated + + @updated.setter + def updated(self, updated): + """Sets the updated of this ProductListing. + + + :param updated: The updated of this ProductListing. # noqa: E501 + :type updated: datetime + """ + + self._updated = updated + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ProductListing): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ProductListing): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/product_listing_type.py b/vrchatapi/models/product_listing_type.py new file mode 100644 index 00000000..4d7d2e32 --- /dev/null +++ b/vrchatapi/models/product_listing_type.py @@ -0,0 +1,110 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.9 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class ProductListingType(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + SUBSCRIPTION = "subscription" + + allowable_values = [SUBSCRIPTION] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """ProductListingType - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ProductListingType): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ProductListingType): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/product_listing_variant.py b/vrchatapi/models/product_listing_variant.py new file mode 100644 index 00000000..4b44e0d7 --- /dev/null +++ b/vrchatapi/models/product_listing_variant.py @@ -0,0 +1,266 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.9 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class ProductListingVariant(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'effective_from': 'datetime', + 'listing_variant_id': 'str', + 'non_refundable': 'bool', + 'quantity': 'int', + 'seller_variant': 'bool', + 'unit_price_tokens': 'int' + } + + attribute_map = { + 'effective_from': 'effectiveFrom', + 'listing_variant_id': 'listingVariantId', + 'non_refundable': 'nonRefundable', + 'quantity': 'quantity', + 'seller_variant': 'sellerVariant', + 'unit_price_tokens': 'unitPriceTokens' + } + + def __init__(self, effective_from=None, listing_variant_id=None, non_refundable=None, quantity=None, seller_variant=None, unit_price_tokens=None, local_vars_configuration=None): # noqa: E501 + """ProductListingVariant - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._effective_from = None + self._listing_variant_id = None + self._non_refundable = None + self._quantity = None + self._seller_variant = None + self._unit_price_tokens = None + self.discriminator = None + + if effective_from is not None: + self.effective_from = effective_from + self.listing_variant_id = listing_variant_id + self.non_refundable = non_refundable + self.quantity = quantity + self.seller_variant = seller_variant + self.unit_price_tokens = unit_price_tokens + + @property + def effective_from(self): + """Gets the effective_from of this ProductListingVariant. # noqa: E501 + + + :return: The effective_from of this ProductListingVariant. # noqa: E501 + :rtype: datetime + """ + return self._effective_from + + @effective_from.setter + def effective_from(self, effective_from): + """Sets the effective_from of this ProductListingVariant. + + + :param effective_from: The effective_from of this ProductListingVariant. # noqa: E501 + :type effective_from: datetime + """ + + self._effective_from = effective_from + + @property + def listing_variant_id(self): + """Gets the listing_variant_id of this ProductListingVariant. # noqa: E501 + + + :return: The listing_variant_id of this ProductListingVariant. # noqa: E501 + :rtype: str + """ + return self._listing_variant_id + + @listing_variant_id.setter + def listing_variant_id(self, listing_variant_id): + """Sets the listing_variant_id of this ProductListingVariant. + + + :param listing_variant_id: The listing_variant_id of this ProductListingVariant. # noqa: E501 + :type listing_variant_id: str + """ + if self.local_vars_configuration.client_side_validation and listing_variant_id is None: # noqa: E501 + raise ValueError("Invalid value for `listing_variant_id`, must not be `None`") # noqa: E501 + + self._listing_variant_id = listing_variant_id + + @property + def non_refundable(self): + """Gets the non_refundable of this ProductListingVariant. # noqa: E501 + + + :return: The non_refundable of this ProductListingVariant. # noqa: E501 + :rtype: bool + """ + return self._non_refundable + + @non_refundable.setter + def non_refundable(self, non_refundable): + """Sets the non_refundable of this ProductListingVariant. + + + :param non_refundable: The non_refundable of this ProductListingVariant. # noqa: E501 + :type non_refundable: bool + """ + if self.local_vars_configuration.client_side_validation and non_refundable is None: # noqa: E501 + raise ValueError("Invalid value for `non_refundable`, must not be `None`") # noqa: E501 + + self._non_refundable = non_refundable + + @property + def quantity(self): + """Gets the quantity of this ProductListingVariant. # noqa: E501 + + + :return: The quantity of this ProductListingVariant. # noqa: E501 + :rtype: int + """ + return self._quantity + + @quantity.setter + def quantity(self, quantity): + """Sets the quantity of this ProductListingVariant. + + + :param quantity: The quantity of this ProductListingVariant. # noqa: E501 + :type quantity: int + """ + if self.local_vars_configuration.client_side_validation and quantity is None: # noqa: E501 + raise ValueError("Invalid value for `quantity`, must not be `None`") # noqa: E501 + + self._quantity = quantity + + @property + def seller_variant(self): + """Gets the seller_variant of this ProductListingVariant. # noqa: E501 + + + :return: The seller_variant of this ProductListingVariant. # noqa: E501 + :rtype: bool + """ + return self._seller_variant + + @seller_variant.setter + def seller_variant(self, seller_variant): + """Sets the seller_variant of this ProductListingVariant. + + + :param seller_variant: The seller_variant of this ProductListingVariant. # noqa: E501 + :type seller_variant: bool + """ + if self.local_vars_configuration.client_side_validation and seller_variant is None: # noqa: E501 + raise ValueError("Invalid value for `seller_variant`, must not be `None`") # noqa: E501 + + self._seller_variant = seller_variant + + @property + def unit_price_tokens(self): + """Gets the unit_price_tokens of this ProductListingVariant. # noqa: E501 + + + :return: The unit_price_tokens of this ProductListingVariant. # noqa: E501 + :rtype: int + """ + return self._unit_price_tokens + + @unit_price_tokens.setter + def unit_price_tokens(self, unit_price_tokens): + """Sets the unit_price_tokens of this ProductListingVariant. + + + :param unit_price_tokens: The unit_price_tokens of this ProductListingVariant. # noqa: E501 + :type unit_price_tokens: int + """ + if self.local_vars_configuration.client_side_validation and unit_price_tokens is None: # noqa: E501 + raise ValueError("Invalid value for `unit_price_tokens`, must not be `None`") # noqa: E501 + + self._unit_price_tokens = unit_price_tokens + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ProductListingVariant): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ProductListingVariant): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/product_type.py b/vrchatapi/models/product_type.py new file mode 100644 index 00000000..6572e805 --- /dev/null +++ b/vrchatapi/models/product_type.py @@ -0,0 +1,112 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.9 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class ProductType(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + LISTING = "listing" + ROLE = "role" + UDON = "udon" + + allowable_values = [LISTING, ROLE, UDON] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """ProductType - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ProductType): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ProductType): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index 5d207835..2ec80192 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index 450f3527..b8babac1 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/report_category.py b/vrchatapi/models/report_category.py index 7fe355fd..0cbb74a8 100644 --- a/vrchatapi/models/report_category.py +++ b/vrchatapi/models/report_category.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/report_reason.py b/vrchatapi/models/report_reason.py index d0848e20..d2ac3f33 100644 --- a/vrchatapi/models/report_reason.py +++ b/vrchatapi/models/report_reason.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/represented_group.py b/vrchatapi/models/represented_group.py index 67e6f0a7..065cfd56 100644 --- a/vrchatapi/models/represented_group.py +++ b/vrchatapi/models/represented_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index d90c5852..621fbb29 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index 615ee374..cd852d28 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index a2ca3da5..0a0ee08e 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index bd840ed8..0098dd06 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index 5b1db0f8..f21e3114 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/submission.py b/vrchatapi/models/submission.py index 7d3b450d..276c1d75 100644 --- a/vrchatapi/models/submission.py +++ b/vrchatapi/models/submission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index 76118cf9..8eba37bc 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index 6b349693..3ed8013c 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index 9f72e919..d62e6411 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/tilia_status.py b/vrchatapi/models/tilia_status.py new file mode 100644 index 00000000..d7309e5f --- /dev/null +++ b/vrchatapi/models/tilia_status.py @@ -0,0 +1,132 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.9 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class TiliaStatus(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'economy_online': 'bool' + } + + attribute_map = { + 'economy_online': 'economyOnline' + } + + def __init__(self, economy_online=None, local_vars_configuration=None): # noqa: E501 + """TiliaStatus - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._economy_online = None + self.discriminator = None + + self.economy_online = economy_online + + @property + def economy_online(self): + """Gets the economy_online of this TiliaStatus. # noqa: E501 + + + :return: The economy_online of this TiliaStatus. # noqa: E501 + :rtype: bool + """ + return self._economy_online + + @economy_online.setter + def economy_online(self, economy_online): + """Sets the economy_online of this TiliaStatus. + + + :param economy_online: The economy_online of this TiliaStatus. # noqa: E501 + :type economy_online: bool + """ + if self.local_vars_configuration.client_side_validation and economy_online is None: # noqa: E501 + raise ValueError("Invalid value for `economy_online`, must not be `None`") # noqa: E501 + + self._economy_online = economy_online + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, TiliaStatus): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, TiliaStatus): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/tilia_tos.py b/vrchatapi/models/tilia_tos.py new file mode 100644 index 00000000..b4c7838d --- /dev/null +++ b/vrchatapi/models/tilia_tos.py @@ -0,0 +1,132 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.9 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class TiliaTOS(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'signed_tos': 'bool' + } + + attribute_map = { + 'signed_tos': 'signed_tos' + } + + def __init__(self, signed_tos=None, local_vars_configuration=None): # noqa: E501 + """TiliaTOS - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._signed_tos = None + self.discriminator = None + + self.signed_tos = signed_tos + + @property + def signed_tos(self): + """Gets the signed_tos of this TiliaTOS. # noqa: E501 + + + :return: The signed_tos of this TiliaTOS. # noqa: E501 + :rtype: bool + """ + return self._signed_tos + + @signed_tos.setter + def signed_tos(self, signed_tos): + """Sets the signed_tos of this TiliaTOS. + + + :param signed_tos: The signed_tos of this TiliaTOS. # noqa: E501 + :type signed_tos: bool + """ + if self.local_vars_configuration.client_side_validation and signed_tos is None: # noqa: E501 + raise ValueError("Invalid value for `signed_tos`, must not be `None`") # noqa: E501 + + self._signed_tos = signed_tos + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, TiliaTOS): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, TiliaTOS): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/token_bundle.py b/vrchatapi/models/token_bundle.py new file mode 100644 index 00000000..f57e1141 --- /dev/null +++ b/vrchatapi/models/token_bundle.py @@ -0,0 +1,300 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.9 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class TokenBundle(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'id': 'str', + 'steam_item_id': 'str', + 'oculus_sku': 'str', + 'amount': 'int', + 'description': 'str', + 'tokens': 'int', + 'image_url': 'str' + } + + attribute_map = { + 'id': 'id', + 'steam_item_id': 'steamItemId', + 'oculus_sku': 'oculusSku', + 'amount': 'amount', + 'description': 'description', + 'tokens': 'tokens', + 'image_url': 'imageUrl' + } + + def __init__(self, id=None, steam_item_id=None, oculus_sku=None, amount=None, description=None, tokens=None, image_url=None, local_vars_configuration=None): # noqa: E501 + """TokenBundle - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._id = None + self._steam_item_id = None + self._oculus_sku = None + self._amount = None + self._description = None + self._tokens = None + self._image_url = None + self.discriminator = None + + self.id = id + self.steam_item_id = steam_item_id + self.oculus_sku = oculus_sku + self.amount = amount + self.description = description + self.tokens = tokens + self.image_url = image_url + + @property + def id(self): + """Gets the id of this TokenBundle. # noqa: E501 + + + :return: The id of this TokenBundle. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this TokenBundle. + + + :param id: The id of this TokenBundle. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + + self._id = id + + @property + def steam_item_id(self): + """Gets the steam_item_id of this TokenBundle. # noqa: E501 + + + :return: The steam_item_id of this TokenBundle. # noqa: E501 + :rtype: str + """ + return self._steam_item_id + + @steam_item_id.setter + def steam_item_id(self, steam_item_id): + """Sets the steam_item_id of this TokenBundle. + + + :param steam_item_id: The steam_item_id of this TokenBundle. # noqa: E501 + :type steam_item_id: str + """ + if self.local_vars_configuration.client_side_validation and steam_item_id is None: # noqa: E501 + raise ValueError("Invalid value for `steam_item_id`, must not be `None`") # noqa: E501 + + self._steam_item_id = steam_item_id + + @property + def oculus_sku(self): + """Gets the oculus_sku of this TokenBundle. # noqa: E501 + + + :return: The oculus_sku of this TokenBundle. # noqa: E501 + :rtype: str + """ + return self._oculus_sku + + @oculus_sku.setter + def oculus_sku(self, oculus_sku): + """Sets the oculus_sku of this TokenBundle. + + + :param oculus_sku: The oculus_sku of this TokenBundle. # noqa: E501 + :type oculus_sku: str + """ + if self.local_vars_configuration.client_side_validation and oculus_sku is None: # noqa: E501 + raise ValueError("Invalid value for `oculus_sku`, must not be `None`") # noqa: E501 + + self._oculus_sku = oculus_sku + + @property + def amount(self): + """Gets the amount of this TokenBundle. # noqa: E501 + + price of the bundle # noqa: E501 + + :return: The amount of this TokenBundle. # noqa: E501 + :rtype: int + """ + return self._amount + + @amount.setter + def amount(self, amount): + """Sets the amount of this TokenBundle. + + price of the bundle # noqa: E501 + + :param amount: The amount of this TokenBundle. # noqa: E501 + :type amount: int + """ + if self.local_vars_configuration.client_side_validation and amount is None: # noqa: E501 + raise ValueError("Invalid value for `amount`, must not be `None`") # noqa: E501 + + self._amount = amount + + @property + def description(self): + """Gets the description of this TokenBundle. # noqa: E501 + + + :return: The description of this TokenBundle. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this TokenBundle. + + + :param description: The description of this TokenBundle. # noqa: E501 + :type description: str + """ + if self.local_vars_configuration.client_side_validation and description is None: # noqa: E501 + raise ValueError("Invalid value for `description`, must not be `None`") # noqa: E501 + + self._description = description + + @property + def tokens(self): + """Gets the tokens of this TokenBundle. # noqa: E501 + + number of tokens received # noqa: E501 + + :return: The tokens of this TokenBundle. # noqa: E501 + :rtype: int + """ + return self._tokens + + @tokens.setter + def tokens(self, tokens): + """Sets the tokens of this TokenBundle. + + number of tokens received # noqa: E501 + + :param tokens: The tokens of this TokenBundle. # noqa: E501 + :type tokens: int + """ + if self.local_vars_configuration.client_side_validation and tokens is None: # noqa: E501 + raise ValueError("Invalid value for `tokens`, must not be `None`") # noqa: E501 + + self._tokens = tokens + + @property + def image_url(self): + """Gets the image_url of this TokenBundle. # noqa: E501 + + direct url to image # noqa: E501 + + :return: The image_url of this TokenBundle. # noqa: E501 + :rtype: str + """ + return self._image_url + + @image_url.setter + def image_url(self, image_url): + """Sets the image_url of this TokenBundle. + + direct url to image # noqa: E501 + + :param image_url: The image_url of this TokenBundle. # noqa: E501 + :type image_url: str + """ + if self.local_vars_configuration.client_side_validation and image_url is None: # noqa: E501 + raise ValueError("Invalid value for `image_url`, must not be `None`") # noqa: E501 + + self._image_url = image_url + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, TokenBundle): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, TokenBundle): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index 70741a05..004ce143 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index eebe217f..4730efe9 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index 96484fb0..37fa395a 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index 44c9f6f5..45bc262e 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index fbbc8a8a..7e0e2a77 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index 7708738a..262c18b1 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_email_code.py b/vrchatapi/models/two_factor_email_code.py index 02787748..717d959c 100644 --- a/vrchatapi/models/two_factor_email_code.py +++ b/vrchatapi/models/two_factor_email_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index 5acee546..acb7609c 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index 90379547..53827b72 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index b88a765e..5ed567de 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index e92924e1..b1909831 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index e67c3dfc..f535774d 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index 2bee795a..4aae3c8d 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index 2ccdb388..08d2a3c1 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -156,6 +156,14 @@ def permissions(self, permissions): :param permissions: The permissions of this UpdateGroupRoleRequest. # noqa: E501 :type permissions: list[str] """ + allowed_values = ["\*", "group-announcement-manage", "group-audit-view", "group-bans-manage", "group-data-manage", "group-default-role-manage", "group-galleries-manage", "group-instance-age-gated-create", "group-instance-join", "group-instance-manage", "group-instance-moderate", "group-instance-open-create", "group-instance-plus-create", "group-instance-plus-portal", "group-instance-plus-portal-unlocked", "group-instance-public-create", "group-instance-queue-priority", "group-instance-restricted-create", "group-invites-manage", "group-members-manage", "group-members-remove", "group-members-viewall", "group-roles-assign", "group-roles-manage"] # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + not set(permissions).issubset(set(allowed_values))): # noqa: E501 + raise ValueError( + "Invalid values for `permissions` [{0}], must be a subset of [{1}]" # noqa: E501 + .format(", ".join(map(str, set(permissions) - set(allowed_values))), # noqa: E501 + ", ".join(map(str, allowed_values))) + ) self._permissions = permissions diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index 09907756..8b55c4de 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_note_request.py b/vrchatapi/models/update_user_note_request.py new file mode 100644 index 00000000..9303033c --- /dev/null +++ b/vrchatapi/models/update_user_note_request.py @@ -0,0 +1,161 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.9 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class UpdateUserNoteRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'target_user_id': 'str', + 'note': 'str' + } + + attribute_map = { + 'target_user_id': 'targetUserId', + 'note': 'note' + } + + def __init__(self, target_user_id=None, note=None, local_vars_configuration=None): # noqa: E501 + """UpdateUserNoteRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._target_user_id = None + self._note = None + self.discriminator = None + + self.target_user_id = target_user_id + self.note = note + + @property + def target_user_id(self): + """Gets the target_user_id of this UpdateUserNoteRequest. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The target_user_id of this UpdateUserNoteRequest. # noqa: E501 + :rtype: str + """ + return self._target_user_id + + @target_user_id.setter + def target_user_id(self, target_user_id): + """Sets the target_user_id of this UpdateUserNoteRequest. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param target_user_id: The target_user_id of this UpdateUserNoteRequest. # noqa: E501 + :type target_user_id: str + """ + if self.local_vars_configuration.client_side_validation and target_user_id is None: # noqa: E501 + raise ValueError("Invalid value for `target_user_id`, must not be `None`") # noqa: E501 + + self._target_user_id = target_user_id + + @property + def note(self): + """Gets the note of this UpdateUserNoteRequest. # noqa: E501 + + + :return: The note of this UpdateUserNoteRequest. # noqa: E501 + :rtype: str + """ + return self._note + + @note.setter + def note(self, note): + """Sets the note of this UpdateUserNoteRequest. + + + :param note: The note of this UpdateUserNoteRequest. # noqa: E501 + :type note: str + """ + if self.local_vars_configuration.client_side_validation and note is None: # noqa: E501 + raise ValueError("Invalid value for `note`, must not be `None`") # noqa: E501 + + self._note = note + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, UpdateUserNoteRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, UpdateUserNoteRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index 8db96b7a..80c93ba2 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index 52ec08c1..31c806b8 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index 2d024dfc..1d168b1f 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,7 +36,7 @@ class User(object): and the value is json key in definition. """ openapi_types = { - 'age_verification_status': 'str', + 'age_verification_status': 'AgeVerificationStatus', 'allow_avatar_copying': 'bool', 'badges': 'list[Badge]', 'bio': 'str', @@ -211,7 +211,7 @@ def age_verification_status(self): :return: The age_verification_status of this User. # noqa: E501 - :rtype: str + :rtype: AgeVerificationStatus """ return self._age_verification_status @@ -221,7 +221,7 @@ def age_verification_status(self, age_verification_status): :param age_verification_status: The age_verification_status of this User. # noqa: E501 - :type age_verification_status: str + :type age_verification_status: AgeVerificationStatus """ if self.local_vars_configuration.client_side_validation and age_verification_status is None: # noqa: E501 raise ValueError("Invalid value for `age_verification_status`, must not be `None`") # noqa: E501 diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index b1691a82..f323cbd5 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_note.py b/vrchatapi/models/user_note.py new file mode 100644 index 00000000..e471a19a --- /dev/null +++ b/vrchatapi/models/user_note.py @@ -0,0 +1,270 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.9 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class UserNote(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'created_at': 'datetime', + 'id': 'str', + 'note': 'str', + 'target_user': 'UserNoteTargetUser', + 'target_user_id': 'str', + 'user_id': 'str' + } + + attribute_map = { + 'created_at': 'createdAt', + 'id': 'id', + 'note': 'note', + 'target_user': 'targetUser', + 'target_user_id': 'targetUserId', + 'user_id': 'userId' + } + + def __init__(self, created_at=None, id=None, note=None, target_user=None, target_user_id=None, user_id=None, local_vars_configuration=None): # noqa: E501 + """UserNote - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._created_at = None + self._id = None + self._note = None + self._target_user = None + self._target_user_id = None + self._user_id = None + self.discriminator = None + + self.created_at = created_at + self.id = id + self.note = note + if target_user is not None: + self.target_user = target_user + self.target_user_id = target_user_id + self.user_id = user_id + + @property + def created_at(self): + """Gets the created_at of this UserNote. # noqa: E501 + + + :return: The created_at of this UserNote. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this UserNote. + + + :param created_at: The created_at of this UserNote. # noqa: E501 + :type created_at: datetime + """ + if self.local_vars_configuration.client_side_validation and created_at is None: # noqa: E501 + raise ValueError("Invalid value for `created_at`, must not be `None`") # noqa: E501 + + self._created_at = created_at + + @property + def id(self): + """Gets the id of this UserNote. # noqa: E501 + + + :return: The id of this UserNote. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this UserNote. + + + :param id: The id of this UserNote. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + + self._id = id + + @property + def note(self): + """Gets the note of this UserNote. # noqa: E501 + + + :return: The note of this UserNote. # noqa: E501 + :rtype: str + """ + return self._note + + @note.setter + def note(self, note): + """Sets the note of this UserNote. + + + :param note: The note of this UserNote. # noqa: E501 + :type note: str + """ + if self.local_vars_configuration.client_side_validation and note is None: # noqa: E501 + raise ValueError("Invalid value for `note`, must not be `None`") # noqa: E501 + + self._note = note + + @property + def target_user(self): + """Gets the target_user of this UserNote. # noqa: E501 + + + :return: The target_user of this UserNote. # noqa: E501 + :rtype: UserNoteTargetUser + """ + return self._target_user + + @target_user.setter + def target_user(self, target_user): + """Sets the target_user of this UserNote. + + + :param target_user: The target_user of this UserNote. # noqa: E501 + :type target_user: UserNoteTargetUser + """ + + self._target_user = target_user + + @property + def target_user_id(self): + """Gets the target_user_id of this UserNote. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The target_user_id of this UserNote. # noqa: E501 + :rtype: str + """ + return self._target_user_id + + @target_user_id.setter + def target_user_id(self, target_user_id): + """Sets the target_user_id of this UserNote. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param target_user_id: The target_user_id of this UserNote. # noqa: E501 + :type target_user_id: str + """ + if self.local_vars_configuration.client_side_validation and target_user_id is None: # noqa: E501 + raise ValueError("Invalid value for `target_user_id`, must not be `None`") # noqa: E501 + + self._target_user_id = target_user_id + + @property + def user_id(self): + """Gets the user_id of this UserNote. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The user_id of this UserNote. # noqa: E501 + :rtype: str + """ + return self._user_id + + @user_id.setter + def user_id(self, user_id): + """Sets the user_id of this UserNote. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param user_id: The user_id of this UserNote. # noqa: E501 + :type user_id: str + """ + if self.local_vars_configuration.client_side_validation and user_id is None: # noqa: E501 + raise ValueError("Invalid value for `user_id`, must not be `None`") # noqa: E501 + + self._user_id = user_id + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, UserNote): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, UserNote): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/user_note_target_user.py b/vrchatapi/models/user_note_target_user.py new file mode 100644 index 00000000..2e212d4d --- /dev/null +++ b/vrchatapi/models/user_note_target_user.py @@ -0,0 +1,262 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.9 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class UserNoteTargetUser(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'current_avatar_tags': 'list[str]', + 'current_avatar_thumbnail_image_url': 'str', + 'display_name': 'str', + 'id': 'str', + 'profile_pic_override': 'str', + 'user_icon': 'str' + } + + attribute_map = { + 'current_avatar_tags': 'currentAvatarTags', + 'current_avatar_thumbnail_image_url': 'currentAvatarThumbnailImageUrl', + 'display_name': 'displayName', + 'id': 'id', + 'profile_pic_override': 'profilePicOverride', + 'user_icon': 'userIcon' + } + + def __init__(self, current_avatar_tags=None, current_avatar_thumbnail_image_url=None, display_name=None, id=None, profile_pic_override=None, user_icon=None, local_vars_configuration=None): # noqa: E501 + """UserNoteTargetUser - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._current_avatar_tags = None + self._current_avatar_thumbnail_image_url = None + self._display_name = None + self._id = None + self._profile_pic_override = None + self._user_icon = None + self.discriminator = None + + if current_avatar_tags is not None: + self.current_avatar_tags = current_avatar_tags + if current_avatar_thumbnail_image_url is not None: + self.current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url + if display_name is not None: + self.display_name = display_name + if id is not None: + self.id = id + self.profile_pic_override = profile_pic_override + if user_icon is not None: + self.user_icon = user_icon + + @property + def current_avatar_tags(self): + """Gets the current_avatar_tags of this UserNoteTargetUser. # noqa: E501 + + + :return: The current_avatar_tags of this UserNoteTargetUser. # noqa: E501 + :rtype: list[str] + """ + return self._current_avatar_tags + + @current_avatar_tags.setter + def current_avatar_tags(self, current_avatar_tags): + """Sets the current_avatar_tags of this UserNoteTargetUser. + + + :param current_avatar_tags: The current_avatar_tags of this UserNoteTargetUser. # noqa: E501 + :type current_avatar_tags: list[str] + """ + + self._current_avatar_tags = current_avatar_tags + + @property + def current_avatar_thumbnail_image_url(self): + """Gets the current_avatar_thumbnail_image_url of this UserNoteTargetUser. # noqa: E501 + + When profilePicOverride is not empty, use it instead. # noqa: E501 + + :return: The current_avatar_thumbnail_image_url of this UserNoteTargetUser. # noqa: E501 + :rtype: str + """ + return self._current_avatar_thumbnail_image_url + + @current_avatar_thumbnail_image_url.setter + def current_avatar_thumbnail_image_url(self, current_avatar_thumbnail_image_url): + """Sets the current_avatar_thumbnail_image_url of this UserNoteTargetUser. + + When profilePicOverride is not empty, use it instead. # noqa: E501 + + :param current_avatar_thumbnail_image_url: The current_avatar_thumbnail_image_url of this UserNoteTargetUser. # noqa: E501 + :type current_avatar_thumbnail_image_url: str + """ + + self._current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url + + @property + def display_name(self): + """Gets the display_name of this UserNoteTargetUser. # noqa: E501 + + + :return: The display_name of this UserNoteTargetUser. # noqa: E501 + :rtype: str + """ + return self._display_name + + @display_name.setter + def display_name(self, display_name): + """Sets the display_name of this UserNoteTargetUser. + + + :param display_name: The display_name of this UserNoteTargetUser. # noqa: E501 + :type display_name: str + """ + + self._display_name = display_name + + @property + def id(self): + """Gets the id of this UserNoteTargetUser. # noqa: E501 + + + :return: The id of this UserNoteTargetUser. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this UserNoteTargetUser. + + + :param id: The id of this UserNoteTargetUser. # noqa: E501 + :type id: str + """ + + self._id = id + + @property + def profile_pic_override(self): + """Gets the profile_pic_override of this UserNoteTargetUser. # noqa: E501 + + + :return: The profile_pic_override of this UserNoteTargetUser. # noqa: E501 + :rtype: str + """ + return self._profile_pic_override + + @profile_pic_override.setter + def profile_pic_override(self, profile_pic_override): + """Sets the profile_pic_override of this UserNoteTargetUser. + + + :param profile_pic_override: The profile_pic_override of this UserNoteTargetUser. # noqa: E501 + :type profile_pic_override: str + """ + + self._profile_pic_override = profile_pic_override + + @property + def user_icon(self): + """Gets the user_icon of this UserNoteTargetUser. # noqa: E501 + + + :return: The user_icon of this UserNoteTargetUser. # noqa: E501 + :rtype: str + """ + return self._user_icon + + @user_icon.setter + def user_icon(self, user_icon): + """Sets the user_icon of this UserNoteTargetUser. + + + :param user_icon: The user_icon of this UserNoteTargetUser. # noqa: E501 + :type user_icon: str + """ + + self._user_icon = user_icon + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, UserNoteTargetUser): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, UserNoteTargetUser): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index dfc14707..6dfbb8f5 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index 4f215f12..a6656e81 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index 90180043..58a48831 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -51,7 +51,8 @@ class UserSubscription(object): 'created_at': 'datetime', 'updated_at': 'datetime', 'license_groups': 'list[str]', - 'is_gift': 'bool' + 'is_gift': 'bool', + 'is_bulk_gift': 'bool' } attribute_map = { @@ -70,10 +71,11 @@ class UserSubscription(object): 'created_at': 'created_at', 'updated_at': 'updated_at', 'license_groups': 'licenseGroups', - 'is_gift': 'isGift' + 'is_gift': 'isGift', + 'is_bulk_gift': 'isBulkGift' } - def __init__(self, id=None, transaction_id=None, store=None, steam_item_id=None, amount=None, description=None, period=None, tier=None, active=True, status=None, starts=None, expires=None, created_at=None, updated_at=None, license_groups=None, is_gift=False, local_vars_configuration=None): # noqa: E501 + def __init__(self, id=None, transaction_id=None, store=None, steam_item_id=None, amount=None, description=None, period=None, tier=None, active=True, status=None, starts=None, expires=None, created_at=None, updated_at=None, license_groups=None, is_gift=False, is_bulk_gift=False, local_vars_configuration=None): # noqa: E501 """UserSubscription - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -95,6 +97,7 @@ def __init__(self, id=None, transaction_id=None, store=None, steam_item_id=None, self._updated_at = None self._license_groups = None self._is_gift = None + self._is_bulk_gift = None self.discriminator = None self.id = id @@ -115,6 +118,7 @@ def __init__(self, id=None, transaction_id=None, store=None, steam_item_id=None, self.updated_at = updated_at self.license_groups = license_groups self.is_gift = is_gift + self.is_bulk_gift = is_bulk_gift @property def id(self): @@ -491,6 +495,29 @@ def is_gift(self, is_gift): self._is_gift = is_gift + @property + def is_bulk_gift(self): + """Gets the is_bulk_gift of this UserSubscription. # noqa: E501 + + + :return: The is_bulk_gift of this UserSubscription. # noqa: E501 + :rtype: bool + """ + return self._is_bulk_gift + + @is_bulk_gift.setter + def is_bulk_gift(self, is_bulk_gift): + """Sets the is_bulk_gift of this UserSubscription. + + + :param is_bulk_gift: The is_bulk_gift of this UserSubscription. # noqa: E501 + :type is_bulk_gift: bool + """ + if self.local_vars_configuration.client_side_validation and is_bulk_gift is None: # noqa: E501 + raise ValueError("Invalid value for `is_bulk_gift`, must not be `None`") # noqa: E501 + + self._is_bulk_gift = is_bulk_gift + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/verify2_fa_email_code_result.py b/vrchatapi/models/verify2_fa_email_code_result.py index af02289f..28038010 100644 --- a/vrchatapi/models/verify2_fa_email_code_result.py +++ b/vrchatapi/models/verify2_fa_email_code_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index b30d6a7f..9779421e 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index 9bf63b2d..e725b98c 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index 4d884954..b74f723f 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index f38e09b6..5bc48e16 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index b9842be7..188e6fc4 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index 6b3095f6..49fbade4 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.8 + The version of the OpenAPI document: 1.18.9 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ From ffe4b0a4b7896d93c32ed00e56048df0a7402c15 Mon Sep 17 00:00:00 2001 From: VRCCat Date: Tue, 21 Jan 2025 09:53:41 +0000 Subject: [PATCH 065/102] Upgrade Python SDK to spec 1.18.9 --- .openapi-generator/FILES | 2 + docs/CreateGroupRoleRequest.md | 2 +- docs/GroupMyMember.md | 2 +- docs/GroupPermissions.md | 10 ++ docs/GroupRole.md | 2 +- docs/UpdateGroupRoleRequest.md | 2 +- vrchatapi/__init__.py | 1 + vrchatapi/models/__init__.py | 1 + vrchatapi/models/create_group_role_request.py | 14 +- vrchatapi/models/group_my_member.py | 16 +-- vrchatapi/models/group_permissions.py | 133 ++++++++++++++++++ vrchatapi/models/group_role.py | 14 +- vrchatapi/models/update_group_role_request.py | 14 +- 13 files changed, 164 insertions(+), 49 deletions(-) create mode 100644 docs/GroupPermissions.md create mode 100644 vrchatapi/models/group_permissions.py diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 01cd11be..a2b73835 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -84,6 +84,7 @@ docs/GroupMemberLimitedUser.md docs/GroupMemberStatus.md docs/GroupMyMember.md docs/GroupPermission.md +docs/GroupPermissions.md docs/GroupPost.md docs/GroupPostVisibility.md docs/GroupPrivacy.md @@ -304,6 +305,7 @@ vrchatapi/models/group_member_limited_user.py vrchatapi/models/group_member_status.py vrchatapi/models/group_my_member.py vrchatapi/models/group_permission.py +vrchatapi/models/group_permissions.py vrchatapi/models/group_post.py vrchatapi/models/group_post_visibility.py vrchatapi/models/group_privacy.py diff --git a/docs/CreateGroupRoleRequest.md b/docs/CreateGroupRoleRequest.md index b8dc17af..eaa54398 100644 --- a/docs/CreateGroupRoleRequest.md +++ b/docs/CreateGroupRoleRequest.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **name** | **str** | | [optional] **description** | **str** | | [optional] **is_self_assignable** | **bool** | | [optional] [default to False] -**permissions** | **list[str]** | | [optional] +**permissions** | [**list[GroupPermissions]**](GroupPermissions.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GroupMyMember.md b/docs/GroupMyMember.md index ea4da468..b0c57492 100644 --- a/docs/GroupMyMember.md +++ b/docs/GroupMyMember.md @@ -22,7 +22,7 @@ Name | Type | Description | Notes **has_joined_from_purchase** | **bool** | | [optional] [default to False] **last_post_read_at** | **datetime** | | [optional] **m_role_ids** | **list[str]** | | [optional] -**permissions** | **list[str]** | | [optional] +**permissions** | [**list[GroupPermissions]**](GroupPermissions.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GroupPermissions.md b/docs/GroupPermissions.md new file mode 100644 index 00000000..f06de107 --- /dev/null +++ b/docs/GroupPermissions.md @@ -0,0 +1,10 @@ +# GroupPermissions + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GroupRole.md b/docs/GroupRole.md index 7f28463c..786b390e 100644 --- a/docs/GroupRole.md +++ b/docs/GroupRole.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **name** | **str** | | [optional] **description** | **str** | | [optional] **is_self_assignable** | **bool** | | [optional] [default to False] -**permissions** | **list[str]** | | [optional] +**permissions** | [**list[GroupPermissions]**](GroupPermissions.md) | | [optional] **is_management_role** | **bool** | | [optional] [default to False] **requires_two_factor** | **bool** | | [optional] [default to False] **requires_purchase** | **bool** | | [optional] [default to False] diff --git a/docs/UpdateGroupRoleRequest.md b/docs/UpdateGroupRoleRequest.md index 5a0638c4..61d48489 100644 --- a/docs/UpdateGroupRoleRequest.md +++ b/docs/UpdateGroupRoleRequest.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **name** | **str** | | [optional] **description** | **str** | | [optional] **is_self_assignable** | **bool** | | [optional] [default to False] -**permissions** | **list[str]** | | [optional] +**permissions** | [**list[GroupPermissions]**](GroupPermissions.md) | | [optional] **order** | **int** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index b7e29d33..754c4de8 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -123,6 +123,7 @@ from vrchatapi.models.group_member_status import GroupMemberStatus from vrchatapi.models.group_my_member import GroupMyMember from vrchatapi.models.group_permission import GroupPermission +from vrchatapi.models.group_permissions import GroupPermissions from vrchatapi.models.group_post import GroupPost from vrchatapi.models.group_post_visibility import GroupPostVisibility from vrchatapi.models.group_privacy import GroupPrivacy diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index d9ce35cd..d1f86640 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -93,6 +93,7 @@ from vrchatapi.models.group_member_status import GroupMemberStatus from vrchatapi.models.group_my_member import GroupMyMember from vrchatapi.models.group_permission import GroupPermission +from vrchatapi.models.group_permissions import GroupPermissions from vrchatapi.models.group_post import GroupPost from vrchatapi.models.group_post_visibility import GroupPostVisibility from vrchatapi.models.group_privacy import GroupPrivacy diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index 9231eb6f..8d263ac2 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -40,7 +40,7 @@ class CreateGroupRoleRequest(object): 'name': 'str', 'description': 'str', 'is_self_assignable': 'bool', - 'permissions': 'list[str]' + 'permissions': 'list[GroupPermissions]' } attribute_map = { @@ -165,7 +165,7 @@ def permissions(self): :return: The permissions of this CreateGroupRoleRequest. # noqa: E501 - :rtype: list[str] + :rtype: list[GroupPermissions] """ return self._permissions @@ -175,16 +175,8 @@ def permissions(self, permissions): :param permissions: The permissions of this CreateGroupRoleRequest. # noqa: E501 - :type permissions: list[str] + :type permissions: list[GroupPermissions] """ - allowed_values = ["\*", "group-announcement-manage", "group-audit-view", "group-bans-manage", "group-data-manage", "group-default-role-manage", "group-galleries-manage", "group-instance-age-gated-create", "group-instance-join", "group-instance-manage", "group-instance-moderate", "group-instance-open-create", "group-instance-plus-create", "group-instance-plus-portal", "group-instance-plus-portal-unlocked", "group-instance-public-create", "group-instance-queue-priority", "group-instance-restricted-create", "group-invites-manage", "group-members-manage", "group-members-remove", "group-members-viewall", "group-roles-assign", "group-roles-manage"] # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - not set(permissions).issubset(set(allowed_values))): # noqa: E501 - raise ValueError( - "Invalid values for `permissions` [{0}], must be a subset of [{1}]" # noqa: E501 - .format(", ".join(map(str, set(permissions) - set(allowed_values))), # noqa: E501 - ", ".join(map(str, allowed_values))) - ) self._permissions = permissions diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index 40101a96..73d7f416 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -54,7 +54,7 @@ class GroupMyMember(object): 'has_joined_from_purchase': 'bool', 'last_post_read_at': 'datetime', 'm_role_ids': 'list[str]', - 'permissions': 'list[str]' + 'permissions': 'list[GroupPermissions]' } attribute_map = { @@ -527,7 +527,7 @@ def permissions(self): :return: The permissions of this GroupMyMember. # noqa: E501 - :rtype: list[str] + :rtype: list[GroupPermissions] """ return self._permissions @@ -537,16 +537,8 @@ def permissions(self, permissions): :param permissions: The permissions of this GroupMyMember. # noqa: E501 - :type permissions: list[str] - """ - allowed_values = ["\*", "group-announcement-manage", "group-audit-view", "group-bans-manage", "group-data-manage", "group-default-role-manage", "group-galleries-manage", "group-instance-age-gated-create", "group-instance-join", "group-instance-manage", "group-instance-moderate", "group-instance-open-create", "group-instance-plus-create", "group-instance-plus-portal", "group-instance-plus-portal-unlocked", "group-instance-public-create", "group-instance-queue-priority", "group-instance-restricted-create", "group-invites-manage", "group-members-manage", "group-members-remove", "group-members-viewall", "group-roles-assign", "group-roles-manage"] # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - not set(permissions).issubset(set(allowed_values))): # noqa: E501 - raise ValueError( - "Invalid values for `permissions` [{0}], must be a subset of [{1}]" # noqa: E501 - .format(", ".join(map(str, set(permissions) - set(allowed_values))), # noqa: E501 - ", ".join(map(str, allowed_values))) - ) + :type permissions: list[GroupPermissions] + """ self._permissions = permissions diff --git a/vrchatapi/models/group_permissions.py b/vrchatapi/models/group_permissions.py new file mode 100644 index 00000000..363a951f --- /dev/null +++ b/vrchatapi/models/group_permissions.py @@ -0,0 +1,133 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.18.9 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class GroupPermissions(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + group_all = "*" + group_announcement_manage = "group-announcement-manage" + group_audit_view = "group-audit-view" + group_bans_manage = "group-bans-manage" + group_data_manage = "group-data-manage" + group_default_role_manage = "group-default-role-manage" + group_galleries_manage = "group-galleries-manage" + group_instance_age_gated_create = "group-instance-age-gated-create" + group_instance_join = "group-instance-join" + group_instance_manage = "group-instance-manage" + group_instance_moderate = "group-instance-moderate" + group_instance_open_create = "group-instance-open-create" + group_instance_plus_create = "group-instance-plus-create" + group_instance_plus_portal = "group-instance-plus-portal" + group_instance_plus_portal_unlocked = "group-instance-plus-portal-unlocked" + group_instance_public_create = "group-instance-public-create" + group_instance_queue_priority = "group-instance-queue-priority" + group_instance_restricted_create = "group-instance-restricted-create" + group_invites_manage = "group-invites-manage" + group_members_manage = "group-members-manage" + group_members_remove = "group-members-remove" + group_members_viewall = "group-members-viewall" + group_roles_assign = "group-roles-assign" + group_roles_manage = "group-roles-manage" + + allowable_values = [group_all, group_announcement_manage, group_audit_view, group_bans_manage, group_data_manage, group_default_role_manage, group_galleries_manage, group_instance_age_gated_create, group_instance_join, group_instance_manage, group_instance_moderate, group_instance_open_create, group_instance_plus_create, group_instance_plus_portal, group_instance_plus_portal_unlocked, group_instance_public_create, group_instance_queue_priority, group_instance_restricted_create, group_invites_manage, group_members_manage, group_members_remove, group_members_viewall, group_roles_assign, group_roles_manage] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """GroupPermissions - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GroupPermissions): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GroupPermissions): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index 569f0e89..3d4aeff4 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -41,7 +41,7 @@ class GroupRole(object): 'name': 'str', 'description': 'str', 'is_self_assignable': 'bool', - 'permissions': 'list[str]', + 'permissions': 'list[GroupPermissions]', 'is_management_role': 'bool', 'requires_two_factor': 'bool', 'requires_purchase': 'bool', @@ -221,7 +221,7 @@ def permissions(self): :return: The permissions of this GroupRole. # noqa: E501 - :rtype: list[str] + :rtype: list[GroupPermissions] """ return self._permissions @@ -231,16 +231,8 @@ def permissions(self, permissions): :param permissions: The permissions of this GroupRole. # noqa: E501 - :type permissions: list[str] + :type permissions: list[GroupPermissions] """ - allowed_values = ["\*", "group-announcement-manage", "group-audit-view", "group-bans-manage", "group-data-manage", "group-default-role-manage", "group-galleries-manage", "group-instance-age-gated-create", "group-instance-join", "group-instance-manage", "group-instance-moderate", "group-instance-open-create", "group-instance-plus-create", "group-instance-plus-portal", "group-instance-plus-portal-unlocked", "group-instance-public-create", "group-instance-queue-priority", "group-instance-restricted-create", "group-invites-manage", "group-members-manage", "group-members-remove", "group-members-viewall", "group-roles-assign", "group-roles-manage"] # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - not set(permissions).issubset(set(allowed_values))): # noqa: E501 - raise ValueError( - "Invalid values for `permissions` [{0}], must be a subset of [{1}]" # noqa: E501 - .format(", ".join(map(str, set(permissions) - set(allowed_values))), # noqa: E501 - ", ".join(map(str, allowed_values))) - ) self._permissions = permissions diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index 08d2a3c1..70c8bfee 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -39,7 +39,7 @@ class UpdateGroupRoleRequest(object): 'name': 'str', 'description': 'str', 'is_self_assignable': 'bool', - 'permissions': 'list[str]', + 'permissions': 'list[GroupPermissions]', 'order': 'int' } @@ -144,7 +144,7 @@ def permissions(self): :return: The permissions of this UpdateGroupRoleRequest. # noqa: E501 - :rtype: list[str] + :rtype: list[GroupPermissions] """ return self._permissions @@ -154,16 +154,8 @@ def permissions(self, permissions): :param permissions: The permissions of this UpdateGroupRoleRequest. # noqa: E501 - :type permissions: list[str] + :type permissions: list[GroupPermissions] """ - allowed_values = ["\*", "group-announcement-manage", "group-audit-view", "group-bans-manage", "group-data-manage", "group-default-role-manage", "group-galleries-manage", "group-instance-age-gated-create", "group-instance-join", "group-instance-manage", "group-instance-moderate", "group-instance-open-create", "group-instance-plus-create", "group-instance-plus-portal", "group-instance-plus-portal-unlocked", "group-instance-public-create", "group-instance-queue-priority", "group-instance-restricted-create", "group-invites-manage", "group-members-manage", "group-members-remove", "group-members-viewall", "group-roles-assign", "group-roles-manage"] # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - not set(permissions).issubset(set(allowed_values))): # noqa: E501 - raise ValueError( - "Invalid values for `permissions` [{0}], must be a subset of [{1}]" # noqa: E501 - .format(", ".join(map(str, set(permissions) - set(allowed_values))), # noqa: E501 - ", ".join(map(str, allowed_values))) - ) self._permissions = permissions From e41fcbb2f7b2101b4e686c526e5cd63933aad60d Mon Sep 17 00:00:00 2001 From: VRCCat Date: Tue, 21 Jan 2025 09:59:47 +0000 Subject: [PATCH 066/102] Upgrade Python SDK to spec 1.19.0 --- setup.py | 4 ++-- vrchatapi/__init__.py | 2 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/groups_api.py | 2 +- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/jams_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 ++-- vrchatapi/exceptions.py | 2 +- vrchatapi/models/__init__.py | 2 +- vrchatapi/models/account_deletion_log.py | 2 +- vrchatapi/models/add_favorite_request.py | 2 +- vrchatapi/models/add_group_gallery_image_request.py | 2 +- vrchatapi/models/age_verification_status.py | 2 +- vrchatapi/models/api_config.py | 2 +- vrchatapi/models/api_config_announcement.py | 2 +- vrchatapi/models/api_config_avatar_perf_limiter.py | 2 +- vrchatapi/models/api_config_constants.py | 2 +- vrchatapi/models/api_config_constants_groups.py | 2 +- vrchatapi/models/api_config_constants_instance.py | 2 +- .../models/api_config_constants_instancepopulationbrackets.py | 2 +- .../api_config_constants_instancepopulationbracketscrowded.py | 2 +- .../api_config_constants_instancepopulationbracketsfew.py | 2 +- .../api_config_constants_instancepopulationbracketsmany.py | 2 +- vrchatapi/models/api_config_constants_language.py | 2 +- vrchatapi/models/api_config_download_url_list.py | 2 +- vrchatapi/models/api_config_events.py | 2 +- .../models/api_config_min_supported_client_build_number.py | 2 +- vrchatapi/models/api_config_offline_analysis.py | 2 +- vrchatapi/models/api_config_report_categories.py | 2 +- vrchatapi/models/api_config_report_reasons.py | 2 +- vrchatapi/models/api_health.py | 2 +- vrchatapi/models/avatar.py | 2 +- vrchatapi/models/avatar_styles.py | 2 +- vrchatapi/models/avatar_unity_package_url_object.py | 2 +- vrchatapi/models/badge.py | 2 +- vrchatapi/models/balance.py | 2 +- vrchatapi/models/ban_group_member_request.py | 2 +- vrchatapi/models/create_avatar_request.py | 2 +- vrchatapi/models/create_file_request.py | 2 +- vrchatapi/models/create_file_version_request.py | 2 +- vrchatapi/models/create_group_announcement_request.py | 2 +- vrchatapi/models/create_group_gallery_request.py | 2 +- vrchatapi/models/create_group_invite_request.py | 2 +- vrchatapi/models/create_group_post_request.py | 2 +- vrchatapi/models/create_group_request.py | 2 +- vrchatapi/models/create_group_role_request.py | 2 +- vrchatapi/models/create_instance_request.py | 2 +- vrchatapi/models/create_world_request.py | 2 +- vrchatapi/models/current_user.py | 2 +- vrchatapi/models/current_user_presence.py | 2 +- vrchatapi/models/deployment_group.py | 2 +- vrchatapi/models/developer_type.py | 2 +- vrchatapi/models/dynamic_content_row.py | 2 +- vrchatapi/models/error.py | 2 +- vrchatapi/models/favorite.py | 2 +- vrchatapi/models/favorite_group.py | 2 +- vrchatapi/models/favorite_group_limits.py | 2 +- vrchatapi/models/favorite_group_visibility.py | 2 +- vrchatapi/models/favorite_limits.py | 2 +- vrchatapi/models/favorite_type.py | 2 +- vrchatapi/models/favorited_world.py | 2 +- vrchatapi/models/feedback.py | 2 +- vrchatapi/models/file.py | 2 +- vrchatapi/models/file_analysis.py | 2 +- vrchatapi/models/file_analysis_avatar_stats.py | 2 +- vrchatapi/models/file_data.py | 2 +- vrchatapi/models/file_status.py | 2 +- vrchatapi/models/file_upload_url.py | 2 +- vrchatapi/models/file_version.py | 2 +- vrchatapi/models/file_version_upload_status.py | 2 +- vrchatapi/models/finish_file_data_upload_request.py | 2 +- vrchatapi/models/friend_status.py | 2 +- vrchatapi/models/get_user_group_instances200_response.py | 2 +- vrchatapi/models/group.py | 2 +- vrchatapi/models/group_access_type.py | 2 +- vrchatapi/models/group_announcement.py | 2 +- vrchatapi/models/group_audit_log_entry.py | 2 +- vrchatapi/models/group_gallery.py | 2 +- vrchatapi/models/group_gallery_image.py | 2 +- vrchatapi/models/group_instance.py | 2 +- vrchatapi/models/group_join_request_action.py | 2 +- vrchatapi/models/group_join_state.py | 2 +- vrchatapi/models/group_limited_member.py | 2 +- vrchatapi/models/group_member.py | 2 +- vrchatapi/models/group_member_limited_user.py | 2 +- vrchatapi/models/group_member_status.py | 2 +- vrchatapi/models/group_my_member.py | 2 +- vrchatapi/models/group_permission.py | 2 +- vrchatapi/models/group_permissions.py | 2 +- vrchatapi/models/group_post.py | 2 +- vrchatapi/models/group_post_visibility.py | 2 +- vrchatapi/models/group_privacy.py | 2 +- vrchatapi/models/group_role.py | 2 +- vrchatapi/models/group_role_template.py | 2 +- vrchatapi/models/group_search_sort.py | 2 +- vrchatapi/models/group_user_visibility.py | 2 +- vrchatapi/models/info_push.py | 2 +- vrchatapi/models/info_push_data.py | 2 +- vrchatapi/models/info_push_data_article.py | 2 +- vrchatapi/models/info_push_data_article_content.py | 2 +- vrchatapi/models/info_push_data_clickable.py | 2 +- vrchatapi/models/instance.py | 2 +- vrchatapi/models/instance_platforms.py | 2 +- vrchatapi/models/instance_region.py | 2 +- vrchatapi/models/instance_short_name_response.py | 2 +- vrchatapi/models/instance_type.py | 2 +- vrchatapi/models/invite_message.py | 2 +- vrchatapi/models/invite_message_type.py | 2 +- vrchatapi/models/invite_request.py | 2 +- vrchatapi/models/invite_response.py | 2 +- vrchatapi/models/jam.py | 2 +- vrchatapi/models/jam_state_change_dates.py | 2 +- vrchatapi/models/license.py | 2 +- vrchatapi/models/license_action.py | 2 +- vrchatapi/models/license_group.py | 2 +- vrchatapi/models/license_type.py | 2 +- vrchatapi/models/limited_group.py | 2 +- vrchatapi/models/limited_unity_package.py | 2 +- vrchatapi/models/limited_user.py | 2 +- vrchatapi/models/limited_user_groups.py | 2 +- vrchatapi/models/limited_world.py | 2 +- vrchatapi/models/mime_type.py | 2 +- vrchatapi/models/moderate_user_request.py | 2 +- vrchatapi/models/notification.py | 2 +- vrchatapi/models/notification_detail_invite.py | 2 +- vrchatapi/models/notification_detail_invite_response.py | 2 +- vrchatapi/models/notification_detail_request_invite.py | 2 +- .../models/notification_detail_request_invite_response.py | 2 +- vrchatapi/models/notification_detail_vote_to_kick.py | 2 +- vrchatapi/models/notification_type.py | 2 +- vrchatapi/models/order_option.py | 2 +- vrchatapi/models/paginated_group_audit_log_entry_list.py | 2 +- vrchatapi/models/past_display_name.py | 2 +- vrchatapi/models/performance_limiter_info.py | 2 +- vrchatapi/models/performance_ratings.py | 2 +- vrchatapi/models/permission.py | 2 +- vrchatapi/models/platform_build_info.py | 2 +- vrchatapi/models/player_moderation.py | 2 +- vrchatapi/models/player_moderation_type.py | 2 +- vrchatapi/models/product.py | 2 +- vrchatapi/models/product_listing.py | 2 +- vrchatapi/models/product_listing_type.py | 2 +- vrchatapi/models/product_listing_variant.py | 2 +- vrchatapi/models/product_type.py | 2 +- vrchatapi/models/region.py | 2 +- vrchatapi/models/release_status.py | 2 +- vrchatapi/models/report_category.py | 2 +- vrchatapi/models/report_reason.py | 2 +- vrchatapi/models/represented_group.py | 2 +- vrchatapi/models/request_invite_request.py | 2 +- vrchatapi/models/respond_group_join_request.py | 2 +- vrchatapi/models/response.py | 2 +- vrchatapi/models/sent_notification.py | 2 +- vrchatapi/models/sort_option.py | 2 +- vrchatapi/models/submission.py | 2 +- vrchatapi/models/subscription.py | 2 +- vrchatapi/models/subscription_period.py | 2 +- vrchatapi/models/success.py | 2 +- vrchatapi/models/tilia_status.py | 2 +- vrchatapi/models/tilia_tos.py | 2 +- vrchatapi/models/token_bundle.py | 2 +- vrchatapi/models/transaction.py | 2 +- vrchatapi/models/transaction_agreement.py | 2 +- vrchatapi/models/transaction_status.py | 2 +- vrchatapi/models/transaction_steam_info.py | 2 +- vrchatapi/models/transaction_steam_wallet_info.py | 2 +- vrchatapi/models/two_factor_auth_code.py | 2 +- vrchatapi/models/two_factor_email_code.py | 2 +- vrchatapi/models/unity_package.py | 2 +- vrchatapi/models/update_avatar_request.py | 2 +- vrchatapi/models/update_favorite_group_request.py | 2 +- vrchatapi/models/update_group_gallery_request.py | 2 +- vrchatapi/models/update_group_member_request.py | 2 +- vrchatapi/models/update_group_request.py | 2 +- vrchatapi/models/update_group_role_request.py | 2 +- vrchatapi/models/update_invite_message_request.py | 2 +- vrchatapi/models/update_user_note_request.py | 2 +- vrchatapi/models/update_user_request.py | 2 +- vrchatapi/models/update_world_request.py | 2 +- vrchatapi/models/user.py | 2 +- vrchatapi/models/user_exists.py | 2 +- vrchatapi/models/user_note.py | 2 +- vrchatapi/models/user_note_target_user.py | 2 +- vrchatapi/models/user_state.py | 2 +- vrchatapi/models/user_status.py | 2 +- vrchatapi/models/user_subscription.py | 2 +- vrchatapi/models/verify2_fa_email_code_result.py | 2 +- vrchatapi/models/verify2_fa_result.py | 2 +- vrchatapi/models/verify_auth_token_result.py | 2 +- vrchatapi/models/world.py | 2 +- vrchatapi/models/world_metadata.py | 2 +- vrchatapi/models/world_publish_status.py | 2 +- vrchatapi/rest.py | 2 +- 206 files changed, 208 insertions(+), 208 deletions(-) diff --git a/setup.py b/setup.py index 7a82a35a..451d06ac 100644 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.18.9" +VERSION = "1.19.0" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 754c4de8..8977da62 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,7 +6,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index 955c9936..cc4d30c0 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index 1f947b46..c63fdb9a 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 2f76f2ba..21246cfb 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index e3b54c85..f4a2a3cb 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index 88ed10ad..ffd548a8 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index 49770c4f..a3fa3e41 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index 0afc9018..ae4bc784 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 5c749701..f0ed5bc0 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index e171637e..3ff58356 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/jams_api.py b/vrchatapi/api/jams_api.py index 52ffd973..697d1465 100644 --- a/vrchatapi/api/jams_api.py +++ b/vrchatapi/api/jams_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index 519ce73a..46919a07 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index ecacf5c1..ef3b55c0 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index 903e2f0a..72e03c22 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index bbd8f6d8..00276307 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index 817d3b5e..b82f1e3b 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 3c03b2ca..22c74bea 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index 34c13af4..b6b82dae 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,7 +3,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index 3a21579f..38380715 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -441,7 +441,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.18.9\n"\ + "Version of the API: 1.19.0\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index 3b1ef8eb..dc4c7581 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index d1f86640..3874c84b 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,7 +5,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/account_deletion_log.py b/vrchatapi/models/account_deletion_log.py index f082f9e5..231b5275 100644 --- a/vrchatapi/models/account_deletion_log.py +++ b/vrchatapi/models/account_deletion_log.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index 7ec78279..f226554e 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index f3ae1101..1fb5cd9d 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/age_verification_status.py b/vrchatapi/models/age_verification_status.py index eb5d1c01..0d80f737 100644 --- a/vrchatapi/models/age_verification_status.py +++ b/vrchatapi/models/age_verification_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index 4f221f7c..0547eb73 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index b3feb15f..c14c42e0 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_avatar_perf_limiter.py b/vrchatapi/models/api_config_avatar_perf_limiter.py index a741ec15..1e2dd32e 100644 --- a/vrchatapi/models/api_config_avatar_perf_limiter.py +++ b/vrchatapi/models/api_config_avatar_perf_limiter.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants.py b/vrchatapi/models/api_config_constants.py index 101b99c6..fb89eb2c 100644 --- a/vrchatapi/models/api_config_constants.py +++ b/vrchatapi/models/api_config_constants.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_groups.py b/vrchatapi/models/api_config_constants_groups.py index e2c40db0..75804399 100644 --- a/vrchatapi/models/api_config_constants_groups.py +++ b/vrchatapi/models/api_config_constants_groups.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instance.py b/vrchatapi/models/api_config_constants_instance.py index 69a001d0..1f455911 100644 --- a/vrchatapi/models/api_config_constants_instance.py +++ b/vrchatapi/models/api_config_constants_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbrackets.py b/vrchatapi/models/api_config_constants_instancepopulationbrackets.py index c4c891eb..debd891d 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbrackets.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbrackets.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py b/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py index 755fa124..dc6f5f88 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py b/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py index 07185a19..e7fa58ab 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py b/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py index 93914588..6d0483bf 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_language.py b/vrchatapi/models/api_config_constants_language.py index f99b2c12..818010c3 100644 --- a/vrchatapi/models/api_config_constants_language.py +++ b/vrchatapi/models/api_config_constants_language.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index a5450173..1761b10e 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index 2d978c9d..bed806c5 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_min_supported_client_build_number.py b/vrchatapi/models/api_config_min_supported_client_build_number.py index 982fbca7..91f235e8 100644 --- a/vrchatapi/models/api_config_min_supported_client_build_number.py +++ b/vrchatapi/models/api_config_min_supported_client_build_number.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_offline_analysis.py b/vrchatapi/models/api_config_offline_analysis.py index 0cb336fd..be4e185a 100644 --- a/vrchatapi/models/api_config_offline_analysis.py +++ b/vrchatapi/models/api_config_offline_analysis.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_categories.py b/vrchatapi/models/api_config_report_categories.py index aba890f9..14f0a7d3 100644 --- a/vrchatapi/models/api_config_report_categories.py +++ b/vrchatapi/models/api_config_report_categories.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_reasons.py b/vrchatapi/models/api_config_report_reasons.py index e226324d..19bf43ae 100644 --- a/vrchatapi/models/api_config_report_reasons.py +++ b/vrchatapi/models/api_config_report_reasons.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index b2f590fb..94824f10 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index 2a842f7a..c40f22b2 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_styles.py b/vrchatapi/models/avatar_styles.py index 21262415..a0374bde 100644 --- a/vrchatapi/models/avatar_styles.py +++ b/vrchatapi/models/avatar_styles.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index 47021668..11e39a42 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/badge.py b/vrchatapi/models/badge.py index 61e8afef..868aa35d 100644 --- a/vrchatapi/models/badge.py +++ b/vrchatapi/models/badge.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/balance.py b/vrchatapi/models/balance.py index 26becdf3..6d2121e0 100644 --- a/vrchatapi/models/balance.py +++ b/vrchatapi/models/balance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index 60faa996..f70355b5 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index 9cffddee..eeba3d99 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index 16b21116..ea9fbb26 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index cfba439d..8b3ac170 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index 178ae8f9..285fb73d 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index f4bcedf2..a1fb2f38 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index d465ec43..3a12b7bb 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_post_request.py b/vrchatapi/models/create_group_post_request.py index a366604c..47fce0a2 100644 --- a/vrchatapi/models/create_group_post_request.py +++ b/vrchatapi/models/create_group_post_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index e8a0be3a..1bd2ee7b 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index 8d263ac2..7602bf25 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_instance_request.py b/vrchatapi/models/create_instance_request.py index ecdfadf5..3970cf62 100644 --- a/vrchatapi/models/create_instance_request.py +++ b/vrchatapi/models/create_instance_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index a9a5f435..a0125857 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index a5a27729..207da181 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user_presence.py b/vrchatapi/models/current_user_presence.py index d4cb2fca..e1282af8 100644 --- a/vrchatapi/models/current_user_presence.py +++ b/vrchatapi/models/current_user_presence.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/deployment_group.py b/vrchatapi/models/deployment_group.py index 3b9bc2ca..ace82d3e 100644 --- a/vrchatapi/models/deployment_group.py +++ b/vrchatapi/models/deployment_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index 7fe77f26..e9268ada 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index a31277b4..c22dbea4 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index ee82f130..ee7673bf 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index 6895d0d9..dfb8e83d 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index 04742c32..110d99ab 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_limits.py b/vrchatapi/models/favorite_group_limits.py index aaae1b46..2ca87380 100644 --- a/vrchatapi/models/favorite_group_limits.py +++ b/vrchatapi/models/favorite_group_limits.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index 9ff0b2dc..940ae0c7 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_limits.py b/vrchatapi/models/favorite_limits.py index c8339eb5..56eb8629 100644 --- a/vrchatapi/models/favorite_limits.py +++ b/vrchatapi/models/favorite_limits.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index 39a8f8df..69e88990 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorited_world.py b/vrchatapi/models/favorited_world.py index ff56f8f5..22a63323 100644 --- a/vrchatapi/models/favorited_world.py +++ b/vrchatapi/models/favorited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/feedback.py b/vrchatapi/models/feedback.py index 3685a1b0..256a825c 100644 --- a/vrchatapi/models/feedback.py +++ b/vrchatapi/models/feedback.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index f2d97753..8ae67bf1 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_analysis.py b/vrchatapi/models/file_analysis.py index 779b46ee..860330d5 100644 --- a/vrchatapi/models/file_analysis.py +++ b/vrchatapi/models/file_analysis.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_analysis_avatar_stats.py b/vrchatapi/models/file_analysis_avatar_stats.py index 93db9e2f..949a7b0b 100644 --- a/vrchatapi/models/file_analysis_avatar_stats.py +++ b/vrchatapi/models/file_analysis_avatar_stats.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index 20c7368a..f0d6b241 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index 68c78c5e..e4269c6a 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index 9fc40a40..c27f3a27 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index 9ed63c4f..615855e8 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index 6b131017..d09b3db6 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index 52ceac83..38112bd8 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index 6028ca1a..0ebdc6b9 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/get_user_group_instances200_response.py b/vrchatapi/models/get_user_group_instances200_response.py index eb6e0786..a3eeb819 100644 --- a/vrchatapi/models/get_user_group_instances200_response.py +++ b/vrchatapi/models/get_user_group_instances200_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index 81e10214..7dade9c4 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_access_type.py b/vrchatapi/models/group_access_type.py index 8e8134c3..fd6ab0b2 100644 --- a/vrchatapi/models/group_access_type.py +++ b/vrchatapi/models/group_access_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index 8c7fb608..82cb6356 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index 51cd762c..3c5560d8 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index 8f1bfd89..ae8046db 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index f76c4eee..43232dd2 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_instance.py b/vrchatapi/models/group_instance.py index 8e8b3df8..f93b317c 100644 --- a/vrchatapi/models/group_instance.py +++ b/vrchatapi/models/group_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_request_action.py b/vrchatapi/models/group_join_request_action.py index e70662bc..67dab3ae 100644 --- a/vrchatapi/models/group_join_request_action.py +++ b/vrchatapi/models/group_join_request_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index a94625c6..4e711d53 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index 17ebab8b..489efc6b 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index 6d14c0f1..ec6d253f 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index cf64d12c..f155ead0 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index 07c9fea5..e3267403 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index 73d7f416..0caee384 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index 50e3af98..d120087c 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permissions.py b/vrchatapi/models/group_permissions.py index 363a951f..eb120acd 100644 --- a/vrchatapi/models/group_permissions.py +++ b/vrchatapi/models/group_permissions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post.py b/vrchatapi/models/group_post.py index 7296abe8..a9fb0262 100644 --- a/vrchatapi/models/group_post.py +++ b/vrchatapi/models/group_post.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post_visibility.py b/vrchatapi/models/group_post_visibility.py index 99507bd7..6b4b661f 100644 --- a/vrchatapi/models/group_post_visibility.py +++ b/vrchatapi/models/group_post_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index 3728aabd..4f3e34aa 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index 3d4aeff4..56415ede 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index af1200c5..600bcace 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_search_sort.py b/vrchatapi/models/group_search_sort.py index f8894a8e..426945df 100644 --- a/vrchatapi/models/group_search_sort.py +++ b/vrchatapi/models/group_search_sort.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index ecfda3cb..f0817d66 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index edaef11e..dd5e79e0 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index df6a45c5..5b6b953a 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index 95ac8379..c5728968 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index 034fd04c..6b3050f6 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index 5ad04005..46439451 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index 2728c68f..44352c54 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index cba7cf05..50172f62 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_region.py b/vrchatapi/models/instance_region.py index 3e692968..262ab992 100644 --- a/vrchatapi/models/instance_region.py +++ b/vrchatapi/models/instance_region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index 29257120..0ffabb70 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index d9e6f886..8df60500 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index 84afac6b..795f1050 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index f9b83513..e21f5242 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index 55e156de..86482d51 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index 851b907b..95ee277e 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/jam.py b/vrchatapi/models/jam.py index d8198ba2..aaef985b 100644 --- a/vrchatapi/models/jam.py +++ b/vrchatapi/models/jam.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/jam_state_change_dates.py b/vrchatapi/models/jam_state_change_dates.py index 053395d4..d1a3ff8c 100644 --- a/vrchatapi/models/jam_state_change_dates.py +++ b/vrchatapi/models/jam_state_change_dates.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index 826b8307..54282c2a 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index fdbbe02c..d955003a 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index 249950bf..3f62c15d 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index d0482a74..3fefdd98 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_group.py b/vrchatapi/models/limited_group.py index ae427fc0..75c2c1ce 100644 --- a/vrchatapi/models/limited_group.py +++ b/vrchatapi/models/limited_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index a3005daf..c03c8774 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user.py b/vrchatapi/models/limited_user.py index e1151733..e13a34c7 100644 --- a/vrchatapi/models/limited_user.py +++ b/vrchatapi/models/limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user_groups.py b/vrchatapi/models/limited_user_groups.py index f7472768..db7483e3 100644 --- a/vrchatapi/models/limited_user_groups.py +++ b/vrchatapi/models/limited_user_groups.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index 6310755b..0c2c4e09 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index 528577b3..230b0248 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index 6ed04ea2..d1cf73ed 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index 4b3aeb8c..12aebfdc 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite.py b/vrchatapi/models/notification_detail_invite.py index e2f018d3..f51bb304 100644 --- a/vrchatapi/models/notification_detail_invite.py +++ b/vrchatapi/models/notification_detail_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite_response.py b/vrchatapi/models/notification_detail_invite_response.py index 678268df..249d9d8c 100644 --- a/vrchatapi/models/notification_detail_invite_response.py +++ b/vrchatapi/models/notification_detail_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite.py b/vrchatapi/models/notification_detail_request_invite.py index d442c480..6037e0b3 100644 --- a/vrchatapi/models/notification_detail_request_invite.py +++ b/vrchatapi/models/notification_detail_request_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite_response.py b/vrchatapi/models/notification_detail_request_invite_response.py index f4284b1a..27fcd67b 100644 --- a/vrchatapi/models/notification_detail_request_invite_response.py +++ b/vrchatapi/models/notification_detail_request_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_vote_to_kick.py b/vrchatapi/models/notification_detail_vote_to_kick.py index 74865dfa..4f76fd1d 100644 --- a/vrchatapi/models/notification_detail_vote_to_kick.py +++ b/vrchatapi/models/notification_detail_vote_to_kick.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index 9cbf3348..4aa1ffc5 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index e5bd00c4..cc0e4eca 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index 5623afdd..265d7878 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index 21f12b68..b9996cc1 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/performance_limiter_info.py b/vrchatapi/models/performance_limiter_info.py index 07d6baf3..5f2b48e7 100644 --- a/vrchatapi/models/performance_limiter_info.py +++ b/vrchatapi/models/performance_limiter_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/performance_ratings.py b/vrchatapi/models/performance_ratings.py index 815efe9a..96515c14 100644 --- a/vrchatapi/models/performance_ratings.py +++ b/vrchatapi/models/performance_ratings.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index 1fe4e639..9a462ae9 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/platform_build_info.py b/vrchatapi/models/platform_build_info.py index 1bebb87e..03f0ba5a 100644 --- a/vrchatapi/models/platform_build_info.py +++ b/vrchatapi/models/platform_build_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index 1e0bff21..ad3ed9ec 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index 340fa024..acc000a1 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product.py b/vrchatapi/models/product.py index 362a3620..deae9606 100644 --- a/vrchatapi/models/product.py +++ b/vrchatapi/models/product.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_listing.py b/vrchatapi/models/product_listing.py index 629aa0a9..b56593fb 100644 --- a/vrchatapi/models/product_listing.py +++ b/vrchatapi/models/product_listing.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_listing_type.py b/vrchatapi/models/product_listing_type.py index 4d7d2e32..582a44b1 100644 --- a/vrchatapi/models/product_listing_type.py +++ b/vrchatapi/models/product_listing_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_listing_variant.py b/vrchatapi/models/product_listing_variant.py index 4b44e0d7..8014d31a 100644 --- a/vrchatapi/models/product_listing_variant.py +++ b/vrchatapi/models/product_listing_variant.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_type.py b/vrchatapi/models/product_type.py index 6572e805..fcfe3411 100644 --- a/vrchatapi/models/product_type.py +++ b/vrchatapi/models/product_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index 2ec80192..e60053c6 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index b8babac1..eec098bd 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/report_category.py b/vrchatapi/models/report_category.py index 0cbb74a8..42bb9bd2 100644 --- a/vrchatapi/models/report_category.py +++ b/vrchatapi/models/report_category.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/report_reason.py b/vrchatapi/models/report_reason.py index d2ac3f33..84b46ecc 100644 --- a/vrchatapi/models/report_reason.py +++ b/vrchatapi/models/report_reason.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/represented_group.py b/vrchatapi/models/represented_group.py index 065cfd56..330f5f0d 100644 --- a/vrchatapi/models/represented_group.py +++ b/vrchatapi/models/represented_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index 621fbb29..f5c8fed9 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index cd852d28..ae106a8e 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index 0a0ee08e..39409e9f 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index 0098dd06..28e3d1b7 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index f21e3114..2085d457 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/submission.py b/vrchatapi/models/submission.py index 276c1d75..ed4d3427 100644 --- a/vrchatapi/models/submission.py +++ b/vrchatapi/models/submission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index 8eba37bc..a15ae567 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index 3ed8013c..a5622f5a 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index d62e6411..7ff6d04d 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/tilia_status.py b/vrchatapi/models/tilia_status.py index d7309e5f..b5bfeebb 100644 --- a/vrchatapi/models/tilia_status.py +++ b/vrchatapi/models/tilia_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/tilia_tos.py b/vrchatapi/models/tilia_tos.py index b4c7838d..d2ffc17a 100644 --- a/vrchatapi/models/tilia_tos.py +++ b/vrchatapi/models/tilia_tos.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/token_bundle.py b/vrchatapi/models/token_bundle.py index f57e1141..b9a198ec 100644 --- a/vrchatapi/models/token_bundle.py +++ b/vrchatapi/models/token_bundle.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index 004ce143..3df389c1 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index 4730efe9..ffba664a 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index 37fa395a..971bf5e6 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index 45bc262e..86dd67ad 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index 7e0e2a77..a0785737 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index 262c18b1..006183e6 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_email_code.py b/vrchatapi/models/two_factor_email_code.py index 717d959c..ecf220a0 100644 --- a/vrchatapi/models/two_factor_email_code.py +++ b/vrchatapi/models/two_factor_email_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index acb7609c..a5203b4f 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index 53827b72..4a160830 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index 5ed567de..b464aa09 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index b1909831..ec8fe56a 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index f535774d..40db5cd8 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index 4aae3c8d..83023a6d 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index 70c8bfee..737ca319 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index 8b55c4de..ffec70cc 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_note_request.py b/vrchatapi/models/update_user_note_request.py index 9303033c..87b4c1a3 100644 --- a/vrchatapi/models/update_user_note_request.py +++ b/vrchatapi/models/update_user_note_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index 80c93ba2..bab381d8 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index 31c806b8..d99f69d8 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index 1d168b1f..d58e7b27 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index f323cbd5..f1e504e8 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_note.py b/vrchatapi/models/user_note.py index e471a19a..93defd0e 100644 --- a/vrchatapi/models/user_note.py +++ b/vrchatapi/models/user_note.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_note_target_user.py b/vrchatapi/models/user_note_target_user.py index 2e212d4d..a6ffb5ec 100644 --- a/vrchatapi/models/user_note_target_user.py +++ b/vrchatapi/models/user_note_target_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index 6dfbb8f5..7ff2b645 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index a6656e81..fcb63415 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index 58a48831..32a1da4f 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_email_code_result.py b/vrchatapi/models/verify2_fa_email_code_result.py index 28038010..8f039613 100644 --- a/vrchatapi/models/verify2_fa_email_code_result.py +++ b/vrchatapi/models/verify2_fa_email_code_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index 9779421e..5c0abf5f 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index e725b98c..b639d400 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index b74f723f..dd44deda 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index 5bc48e16..42e87c01 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index 188e6fc4..b672a1e8 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index 49fbade4..b9e76e60 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.18.9 + The version of the OpenAPI document: 1.19.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ From 14cb11b5fd693bd66d4e8394bd72f0ab78b26cc5 Mon Sep 17 00:00:00 2001 From: VRCCat Date: Sun, 23 Feb 2025 20:14:19 +0000 Subject: [PATCH 067/102] Upgrade Python SDK to spec 1.19.1 --- .openapi-generator/FILES | 14 + docs/APIConfig.md | 9 +- docs/APIConfigAccessLogsUrls.md | 14 + docs/APIConfigReportOptions.md | 15 + docs/APIConfigReportOptionsAvatar.md | 12 + docs/APIConfigReportOptionsGroup.md | 13 + docs/APIConfigReportOptionsUser.md | 16 + docs/APIConfigReportOptionsWorld.md | 15 + docs/AgeVerificationStatus.md | 1 + docs/CurrentUser.md | 3 +- docs/CurrentUserPlatformHistoryInner.md | 13 + docs/FilesApi.md | 3 + docs/PerformanceLimiterInfo.md | 1 - docs/PlatformBuildInfo.md | 2 +- docs/User.md | 1 + package-lock.json | 569 ++++++++++++------ package.json | 2 +- setup.py | 4 +- vrchatapi/__init__.py | 9 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 5 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/groups_api.py | 2 +- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/jams_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 +- vrchatapi/exceptions.py | 2 +- vrchatapi/models/__init__.py | 9 +- vrchatapi/models/account_deletion_log.py | 2 +- vrchatapi/models/add_favorite_request.py | 2 +- .../models/add_group_gallery_image_request.py | 2 +- vrchatapi/models/age_verification_status.py | 2 +- vrchatapi/models/api_config.py | 209 ++++++- .../models/api_config_access_logs_urls.py | 209 +++++++ vrchatapi/models/api_config_announcement.py | 2 +- .../models/api_config_avatar_perf_limiter.py | 2 +- vrchatapi/models/api_config_constants.py | 2 +- .../models/api_config_constants_groups.py | 2 +- .../models/api_config_constants_instance.py | 2 +- ...ig_constants_instancepopulationbrackets.py | 2 +- ...tants_instancepopulationbracketscrowded.py | 2 +- ...constants_instancepopulationbracketsfew.py | 2 +- ...onstants_instancepopulationbracketsmany.py | 2 +- .../models/api_config_constants_language.py | 2 +- .../models/api_config_download_url_list.py | 2 +- vrchatapi/models/api_config_events.py | 2 +- ...onfig_min_supported_client_build_number.py | 2 +- .../models/api_config_offline_analysis.py | 2 +- .../models/api_config_report_categories.py | 2 +- vrchatapi/models/api_config_report_options.py | 209 +++++++ .../api_config_report_options_avatar.py | 157 +++++ .../models/api_config_report_options_group.py | 183 ++++++ .../models/api_config_report_options_user.py | 261 ++++++++ .../models/api_config_report_options_world.py | 235 ++++++++ vrchatapi/models/api_config_report_reasons.py | 2 +- vrchatapi/models/api_health.py | 2 +- vrchatapi/models/avatar.py | 2 +- vrchatapi/models/avatar_styles.py | 2 +- .../models/avatar_unity_package_url_object.py | 2 +- vrchatapi/models/badge.py | 2 +- vrchatapi/models/balance.py | 2 +- vrchatapi/models/ban_group_member_request.py | 2 +- vrchatapi/models/create_avatar_request.py | 2 +- vrchatapi/models/create_file_request.py | 2 +- .../models/create_file_version_request.py | 2 +- .../create_group_announcement_request.py | 2 +- .../models/create_group_gallery_request.py | 2 +- .../models/create_group_invite_request.py | 2 +- vrchatapi/models/create_group_post_request.py | 2 +- vrchatapi/models/create_group_request.py | 2 +- vrchatapi/models/create_group_role_request.py | 2 +- vrchatapi/models/create_instance_request.py | 2 +- vrchatapi/models/create_world_request.py | 2 +- vrchatapi/models/current_user.py | 32 +- .../current_user_platform_history_inner.py | 182 ++++++ vrchatapi/models/current_user_presence.py | 2 +- vrchatapi/models/deployment_group.py | 2 +- vrchatapi/models/developer_type.py | 2 +- vrchatapi/models/dynamic_content_row.py | 2 +- vrchatapi/models/error.py | 2 +- vrchatapi/models/favorite.py | 2 +- vrchatapi/models/favorite_group.py | 2 +- vrchatapi/models/favorite_group_limits.py | 2 +- vrchatapi/models/favorite_group_visibility.py | 2 +- vrchatapi/models/favorite_limits.py | 2 +- vrchatapi/models/favorite_type.py | 2 +- vrchatapi/models/favorited_world.py | 2 +- vrchatapi/models/feedback.py | 2 +- vrchatapi/models/file.py | 2 +- vrchatapi/models/file_analysis.py | 2 +- .../models/file_analysis_avatar_stats.py | 2 +- vrchatapi/models/file_data.py | 2 +- vrchatapi/models/file_status.py | 2 +- vrchatapi/models/file_upload_url.py | 2 +- vrchatapi/models/file_version.py | 2 +- .../models/file_version_upload_status.py | 2 +- .../models/finish_file_data_upload_request.py | 2 +- vrchatapi/models/friend_status.py | 2 +- .../get_user_group_instances200_response.py | 2 +- vrchatapi/models/group.py | 2 +- vrchatapi/models/group_access_type.py | 2 +- vrchatapi/models/group_announcement.py | 2 +- vrchatapi/models/group_audit_log_entry.py | 2 +- vrchatapi/models/group_gallery.py | 2 +- vrchatapi/models/group_gallery_image.py | 2 +- vrchatapi/models/group_instance.py | 2 +- vrchatapi/models/group_join_request_action.py | 2 +- vrchatapi/models/group_join_state.py | 2 +- vrchatapi/models/group_limited_member.py | 2 +- vrchatapi/models/group_member.py | 2 +- vrchatapi/models/group_member_limited_user.py | 2 +- vrchatapi/models/group_member_status.py | 2 +- vrchatapi/models/group_my_member.py | 2 +- vrchatapi/models/group_permission.py | 2 +- vrchatapi/models/group_permissions.py | 2 +- vrchatapi/models/group_post.py | 2 +- vrchatapi/models/group_post_visibility.py | 2 +- vrchatapi/models/group_privacy.py | 2 +- vrchatapi/models/group_role.py | 2 +- vrchatapi/models/group_role_template.py | 2 +- vrchatapi/models/group_search_sort.py | 2 +- vrchatapi/models/group_user_visibility.py | 2 +- vrchatapi/models/info_push.py | 2 +- vrchatapi/models/info_push_data.py | 2 +- vrchatapi/models/info_push_data_article.py | 2 +- .../models/info_push_data_article_content.py | 2 +- vrchatapi/models/info_push_data_clickable.py | 2 +- vrchatapi/models/instance.py | 2 +- vrchatapi/models/instance_platforms.py | 2 +- vrchatapi/models/instance_region.py | 2 +- .../models/instance_short_name_response.py | 2 +- vrchatapi/models/instance_type.py | 2 +- vrchatapi/models/invite_message.py | 2 +- vrchatapi/models/invite_message_type.py | 2 +- vrchatapi/models/invite_request.py | 2 +- vrchatapi/models/invite_response.py | 2 +- vrchatapi/models/jam.py | 2 +- vrchatapi/models/jam_state_change_dates.py | 2 +- vrchatapi/models/license.py | 2 +- vrchatapi/models/license_action.py | 2 +- vrchatapi/models/license_group.py | 2 +- vrchatapi/models/license_type.py | 2 +- vrchatapi/models/limited_group.py | 2 +- vrchatapi/models/limited_unity_package.py | 2 +- vrchatapi/models/limited_user.py | 2 +- vrchatapi/models/limited_user_groups.py | 2 +- vrchatapi/models/limited_world.py | 2 +- vrchatapi/models/mime_type.py | 2 +- vrchatapi/models/moderate_user_request.py | 2 +- vrchatapi/models/notification.py | 2 +- .../models/notification_detail_invite.py | 2 +- .../notification_detail_invite_response.py | 2 +- .../notification_detail_request_invite.py | 2 +- ...fication_detail_request_invite_response.py | 2 +- .../notification_detail_vote_to_kick.py | 2 +- vrchatapi/models/notification_type.py | 2 +- vrchatapi/models/order_option.py | 2 +- .../paginated_group_audit_log_entry_list.py | 2 +- vrchatapi/models/past_display_name.py | 2 +- vrchatapi/models/performance_limiter_info.py | 31 +- vrchatapi/models/performance_ratings.py | 2 +- vrchatapi/models/permission.py | 2 +- vrchatapi/models/platform_build_info.py | 7 +- vrchatapi/models/player_moderation.py | 2 +- vrchatapi/models/player_moderation_type.py | 2 +- vrchatapi/models/product.py | 2 +- vrchatapi/models/product_listing.py | 2 +- vrchatapi/models/product_listing_type.py | 2 +- vrchatapi/models/product_listing_variant.py | 2 +- vrchatapi/models/product_type.py | 2 +- vrchatapi/models/region.py | 2 +- vrchatapi/models/release_status.py | 2 +- vrchatapi/models/report_category.py | 2 +- vrchatapi/models/report_reason.py | 2 +- vrchatapi/models/represented_group.py | 2 +- vrchatapi/models/request_invite_request.py | 2 +- .../models/respond_group_join_request.py | 2 +- vrchatapi/models/response.py | 2 +- vrchatapi/models/sent_notification.py | 2 +- vrchatapi/models/sort_option.py | 2 +- vrchatapi/models/submission.py | 2 +- vrchatapi/models/subscription.py | 2 +- vrchatapi/models/subscription_period.py | 2 +- vrchatapi/models/success.py | 2 +- vrchatapi/models/tilia_status.py | 2 +- vrchatapi/models/tilia_tos.py | 2 +- vrchatapi/models/token_bundle.py | 2 +- vrchatapi/models/transaction.py | 2 +- vrchatapi/models/transaction_agreement.py | 2 +- vrchatapi/models/transaction_status.py | 2 +- vrchatapi/models/transaction_steam_info.py | 2 +- .../models/transaction_steam_wallet_info.py | 2 +- vrchatapi/models/two_factor_auth_code.py | 2 +- vrchatapi/models/two_factor_email_code.py | 2 +- vrchatapi/models/unity_package.py | 2 +- vrchatapi/models/update_avatar_request.py | 2 +- .../models/update_favorite_group_request.py | 2 +- .../models/update_group_gallery_request.py | 2 +- .../models/update_group_member_request.py | 2 +- vrchatapi/models/update_group_request.py | 2 +- vrchatapi/models/update_group_role_request.py | 2 +- .../models/update_invite_message_request.py | 2 +- vrchatapi/models/update_user_note_request.py | 2 +- vrchatapi/models/update_user_request.py | 2 +- vrchatapi/models/update_world_request.py | 2 +- vrchatapi/models/user.py | 33 +- vrchatapi/models/user_exists.py | 2 +- vrchatapi/models/user_note.py | 2 +- vrchatapi/models/user_note_target_user.py | 2 +- vrchatapi/models/user_state.py | 2 +- vrchatapi/models/user_status.py | 2 +- vrchatapi/models/user_subscription.py | 2 +- .../models/verify2_fa_email_code_result.py | 2 +- vrchatapi/models/verify2_fa_result.py | 2 +- vrchatapi/models/verify_auth_token_result.py | 2 +- vrchatapi/models/world.py | 2 +- vrchatapi/models/world_metadata.py | 2 +- vrchatapi/models/world_publish_status.py | 2 +- vrchatapi/rest.py | 2 +- 230 files changed, 2453 insertions(+), 421 deletions(-) create mode 100644 docs/APIConfigAccessLogsUrls.md create mode 100644 docs/APIConfigReportOptions.md create mode 100644 docs/APIConfigReportOptionsAvatar.md create mode 100644 docs/APIConfigReportOptionsGroup.md create mode 100644 docs/APIConfigReportOptionsUser.md create mode 100644 docs/APIConfigReportOptionsWorld.md create mode 100644 docs/CurrentUserPlatformHistoryInner.md create mode 100644 vrchatapi/models/api_config_access_logs_urls.py create mode 100644 vrchatapi/models/api_config_report_options.py create mode 100644 vrchatapi/models/api_config_report_options_avatar.py create mode 100644 vrchatapi/models/api_config_report_options_group.py create mode 100644 vrchatapi/models/api_config_report_options_user.py create mode 100644 vrchatapi/models/api_config_report_options_world.py create mode 100644 vrchatapi/models/current_user_platform_history_inner.py diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index a2b73835..29130070 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -1,5 +1,6 @@ .gitlab-ci.yml docs/APIConfig.md +docs/APIConfigAccessLogsUrls.md docs/APIConfigAnnouncement.md docs/APIConfigAvatarPerfLimiter.md docs/APIConfigConstants.md @@ -15,6 +16,11 @@ docs/APIConfigEvents.md docs/APIConfigMinSupportedClientBuildNumber.md docs/APIConfigOfflineAnalysis.md docs/APIConfigReportCategories.md +docs/APIConfigReportOptions.md +docs/APIConfigReportOptionsAvatar.md +docs/APIConfigReportOptionsGroup.md +docs/APIConfigReportOptionsUser.md +docs/APIConfigReportOptionsWorld.md docs/APIConfigReportReasons.md docs/APIHealth.md docs/AccountDeletionLog.md @@ -41,6 +47,7 @@ docs/CreateGroupRoleRequest.md docs/CreateInstanceRequest.md docs/CreateWorldRequest.md docs/CurrentUser.md +docs/CurrentUserPlatformHistoryInner.md docs/CurrentUserPresence.md docs/DeploymentGroup.md docs/DeveloperType.md @@ -231,6 +238,7 @@ vrchatapi/models/add_favorite_request.py vrchatapi/models/add_group_gallery_image_request.py vrchatapi/models/age_verification_status.py vrchatapi/models/api_config.py +vrchatapi/models/api_config_access_logs_urls.py vrchatapi/models/api_config_announcement.py vrchatapi/models/api_config_avatar_perf_limiter.py vrchatapi/models/api_config_constants.py @@ -246,6 +254,11 @@ vrchatapi/models/api_config_events.py vrchatapi/models/api_config_min_supported_client_build_number.py vrchatapi/models/api_config_offline_analysis.py vrchatapi/models/api_config_report_categories.py +vrchatapi/models/api_config_report_options.py +vrchatapi/models/api_config_report_options_avatar.py +vrchatapi/models/api_config_report_options_group.py +vrchatapi/models/api_config_report_options_user.py +vrchatapi/models/api_config_report_options_world.py vrchatapi/models/api_config_report_reasons.py vrchatapi/models/api_health.py vrchatapi/models/avatar.py @@ -266,6 +279,7 @@ vrchatapi/models/create_group_role_request.py vrchatapi/models/create_instance_request.py vrchatapi/models/create_world_request.py vrchatapi/models/current_user.py +vrchatapi/models/current_user_platform_history_inner.py vrchatapi/models/current_user_presence.py vrchatapi/models/deployment_group.py vrchatapi/models/developer_type.py diff --git a/docs/APIConfig.md b/docs/APIConfig.md index 0ba372e4..8a595baa 100644 --- a/docs/APIConfig.md +++ b/docs/APIConfig.md @@ -7,9 +7,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **voice_enable_degradation** | **bool** | Unknown, probably voice optimization testing | [default to False] **voice_enable_receiver_limiting** | **bool** | Unknown, probably voice optimization testing | [default to True] +**access_logs_urls** | [**APIConfigAccessLogsUrls**](APIConfigAccessLogsUrls.md) | | **address** | **str** | VRChat's office address | +**age_verification_invite_visible** | **bool** | | **age_verification_p** | **bool** | | **age_verification_status_visible** | **bool** | | +**analysis_max_retries** | **int** | Max retries for avatar analysis requests | +**analysis_retry_interval** | **int** | Interval between retries for avatar analysis requests | **announcements** | [**list[APIConfigAnnouncement]**](APIConfigAnnouncement.md) | Public Announcements | **analytics_segment_new_ui_pct_of_users** | **int** | Unknown | **analytics_segment_new_ui_salt** | **str** | Unknown | @@ -57,6 +61,7 @@ Name | Type | Description | Notes **disable_event_stream** | **bool** | Toggles if Analytics should be disabled. | [default to False] **disable_feedback_gating** | **bool** | Toggles if feedback gating should be disabled. Feedback gating restricts submission of feedback (reporting a World or User) to people with the `system_feedback_access` Tag. | [default to False] **disable_frontend_builds** | **bool** | Unknown, probably toggles compilation of frontend web builds? So internal flag? | [default to False] +**disable_gift_drops** | **bool** | Toggles if gift drops should be disabled | [default to False] **disable_hello** | **bool** | Unknown | [default to False] **disable_oculus_subs** | **bool** | Toggles if signing up for Subscriptions in Oculus is disabled or not. | [default to False] **disable_registration** | **bool** | Toggles if new user account registration should be disabled. | [default to False] @@ -72,6 +77,7 @@ Name | Type | Description | Notes **economy_state** | **int** | Unknown | [optional] [default to 1] **events** | [**APIConfigEvents**](APIConfigEvents.md) | | **force_use_latest_world** | **bool** | Unknown | [default to True] +**gift_display_type** | **str** | Display type of gifts | **google_api_client_id** | **str** | Unknown | [default to '827942544393-r2ouvckvouldn9dg9uruseje575e878f.apps.googleusercontent.com'] **home_world_id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | **homepage_redirect_target** | **str** | Redirect target if you try to open the base API domain in your browser | [default to 'https://hello.vrchat.com'] @@ -87,8 +93,9 @@ Name | Type | Description | Notes **photon_public_keys** | **list[str]** | Unknown | **report_categories** | [**APIConfigReportCategories**](APIConfigReportCategories.md) | | **report_form_url** | **str** | URL to the report form | [default to 'https://help.vrchat.com/hc/en-us/requests/new?ticket_form_id=1500000182242&tf_360056455174=user_report&tf_360057451993={userId}&tf_1500001445142={reportedId}&tf_subject={reason} {category} By {contentType} {reportedName}&tf_description={description}'] -**report_options** | **object** | Options for reporting content | +**report_options** | [**APIConfigReportOptions**](APIConfigReportOptions.md) | | **report_reasons** | [**APIConfigReportReasons**](APIConfigReportReasons.md) | | +**require_age_verification_beta_tag** | **bool** | | **sdk_developer_faq_url** | **str** | Link to the developer FAQ | **sdk_discord_url** | **str** | Link to the official VRChat Discord | **sdk_not_allowed_to_publish_message** | **str** | Used in the SDK to notify a user they aren't allowed to upload avatars/worlds yet | diff --git a/docs/APIConfigAccessLogsUrls.md b/docs/APIConfigAccessLogsUrls.md new file mode 100644 index 00000000..164e60de --- /dev/null +++ b/docs/APIConfigAccessLogsUrls.md @@ -0,0 +1,14 @@ +# APIConfigAccessLogsUrls + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**default** | **str** | | [optional] +**pico** | **str** | | [optional] +**quest** | **str** | | [optional] +**xr_elite** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/APIConfigReportOptions.md b/docs/APIConfigReportOptions.md new file mode 100644 index 00000000..2605bdf2 --- /dev/null +++ b/docs/APIConfigReportOptions.md @@ -0,0 +1,15 @@ +# APIConfigReportOptions + +Options for reporting content + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**avatar** | [**APIConfigReportOptionsAvatar**](APIConfigReportOptionsAvatar.md) | | [optional] +**group** | [**APIConfigReportOptionsGroup**](APIConfigReportOptionsGroup.md) | | [optional] +**user** | [**APIConfigReportOptionsUser**](APIConfigReportOptionsUser.md) | | [optional] +**world** | [**APIConfigReportOptionsWorld**](APIConfigReportOptionsWorld.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/APIConfigReportOptionsAvatar.md b/docs/APIConfigReportOptionsAvatar.md new file mode 100644 index 00000000..8d1001d9 --- /dev/null +++ b/docs/APIConfigReportOptionsAvatar.md @@ -0,0 +1,12 @@ +# APIConfigReportOptionsAvatar + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**avatar** | **list[str]** | | [optional] +**warnings** | **list[str]** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/APIConfigReportOptionsGroup.md b/docs/APIConfigReportOptionsGroup.md new file mode 100644 index 00000000..072f1245 --- /dev/null +++ b/docs/APIConfigReportOptionsGroup.md @@ -0,0 +1,13 @@ +# APIConfigReportOptionsGroup + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**groupstore** | **list[str]** | | [optional] +**image** | **list[str]** | | [optional] +**text** | **list[str]** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/APIConfigReportOptionsUser.md b/docs/APIConfigReportOptionsUser.md new file mode 100644 index 00000000..e0816c3e --- /dev/null +++ b/docs/APIConfigReportOptionsUser.md @@ -0,0 +1,16 @@ +# APIConfigReportOptionsUser + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**behavior** | **list[str]** | | [optional] +**chat** | **list[str]** | | [optional] +**emoji** | **list[str]** | | [optional] +**image** | **list[str]** | | [optional] +**sticker** | **list[str]** | | [optional] +**text** | **list[str]** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/APIConfigReportOptionsWorld.md b/docs/APIConfigReportOptionsWorld.md new file mode 100644 index 00000000..d7fbfcdd --- /dev/null +++ b/docs/APIConfigReportOptionsWorld.md @@ -0,0 +1,15 @@ +# APIConfigReportOptionsWorld + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**environment** | **list[str]** | | [optional] +**text** | **list[str]** | | [optional] +**warnings** | **list[str]** | | [optional] +**worldimage** | **list[str]** | | [optional] +**worldstore** | **list[str]** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AgeVerificationStatus.md b/docs/AgeVerificationStatus.md index f7a359f0..52d81d4a 100644 --- a/docs/AgeVerificationStatus.md +++ b/docs/AgeVerificationStatus.md @@ -1,5 +1,6 @@ # AgeVerificationStatus +`verified` is obsolete. User who have verified and are 18+ can switch to `plus18` status. ## Properties Name | Type | Description | Notes diff --git a/docs/CurrentUser.md b/docs/CurrentUser.md index 406281fb..eb9e7b34 100644 --- a/docs/CurrentUser.md +++ b/docs/CurrentUser.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes **account_deletion_log** | [**list[AccountDeletionLog]**](AccountDeletionLog.md) | | [optional] **active_friends** | **list[str]** | | [optional] **age_verification_status** | [**AgeVerificationStatus**](AgeVerificationStatus.md) | | -**age_verified** | **bool** | | +**age_verified** | **bool** | `true` if, user is age verified (not 18+). | **allow_avatar_copying** | **bool** | | **badges** | [**list[Badge]**](Badge.md) | | [optional] **bio** | **str** | | @@ -55,6 +55,7 @@ Name | Type | Description | Notes **online_friends** | **list[str]** | | [optional] **past_display_names** | [**list[PastDisplayName]**](PastDisplayName.md) | | **presence** | [**CurrentUserPresence**](CurrentUserPresence.md) | | [optional] +**platform_history** | [**list[CurrentUserPlatformHistoryInner]**](CurrentUserPlatformHistoryInner.md) | | [optional] **profile_pic_override** | **str** | | **profile_pic_override_thumbnail** | **str** | | **pronouns** | **str** | | diff --git a/docs/CurrentUserPlatformHistoryInner.md b/docs/CurrentUserPlatformHistoryInner.md new file mode 100644 index 00000000..08520025 --- /dev/null +++ b/docs/CurrentUserPlatformHistoryInner.md @@ -0,0 +1,13 @@ +# CurrentUserPlatformHistoryInner + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**is_mobile** | **bool** | | [optional] +**platform** | **str** | | [optional] +**recorded** | **datetime** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FilesApi.md b/docs/FilesApi.md index 8d9f15d3..a7302a34 100644 --- a/docs/FilesApi.md +++ b/docs/FilesApi.md @@ -618,6 +618,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single FileAnalysis object. | - | +**202** | Error response when requesting file Analysis that is not yet available. | - | **404** | Error response when trying to show information about a non-existent file. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -694,6 +695,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single FileAnalysis object. | - | +**202** | Error response when requesting file Analysis that is not yet available. | - | **404** | Error response when trying to show information about a non-existent file. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -770,6 +772,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single FileAnalysis object. | - | +**202** | Error response when requesting file Analysis that is not yet available. | - | **404** | Error response when trying to show information about a non-existent file. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/PerformanceLimiterInfo.md b/docs/PerformanceLimiterInfo.md index fa569801..17a7dcfd 100644 --- a/docs/PerformanceLimiterInfo.md +++ b/docs/PerformanceLimiterInfo.md @@ -5,7 +5,6 @@ Info about the performance limits on a platform ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**allowed** | **bool** | | **max_seats** | **int** | Maximum amount of seats. -1 means no limit. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PlatformBuildInfo.md b/docs/PlatformBuildInfo.md index aa993b85..004bf43d 100644 --- a/docs/PlatformBuildInfo.md +++ b/docs/PlatformBuildInfo.md @@ -6,7 +6,7 @@ Build information for a platform Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **min_build_number** | **int** | Minimum build number required for the platform | -**redirection_address** | **str** | Redirection URL for updating the app | +**redirection_address** | **str** | Redirection URL for updating the app | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/User.md b/docs/User.md index 83467cbe..2dd4f220 100644 --- a/docs/User.md +++ b/docs/User.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **age_verification_status** | [**AgeVerificationStatus**](AgeVerificationStatus.md) | | +**age_verified** | **bool** | `true` if, user is age verified (not 18+). | **allow_avatar_copying** | **bool** | | [default to True] **badges** | [**list[Badge]**](Badge.md) | | [optional] **bio** | **str** | | diff --git a/package-lock.json b/package-lock.json index 9acbb426..8edeb25f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.15.3" + "@openapitools/openapi-generator-cli": "^2.16.3" } }, "node_modules/@lukeed/csprng": { @@ -17,9 +17,9 @@ } }, "node_modules/@nestjs/axios": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@nestjs/axios/-/axios-3.1.1.tgz", - "integrity": "sha512-ySoxrzqX80P1q6LKLKGcgyBd2utg4gbC+4FsJNpXYvILorMlxss/ECNogD9EXLCE4JS5exVFD5ez0nK5hXcNTQ==", + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/@nestjs/axios/-/axios-3.1.3.tgz", + "integrity": "sha512-RZ/63c1tMxGLqyG3iOCVt7A72oy4x1eM6QEhd4KzCYpaVWW0igq0WSREeRoEZhIxRcZfDfIIkvsOMiM7yfVGZQ==", "peerDependencies": { "@nestjs/common": "^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0", "axios": "^1.3.1", @@ -27,12 +27,12 @@ } }, "node_modules/@nestjs/common": { - "version": "10.4.6", - "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-10.4.6.tgz", - "integrity": "sha512-KkezkZvU9poWaNq4L+lNvx+386hpOxPJkfXBBeSMrcqBOx8kVr36TGN2uYkF4Ta4zNu1KbCjmZbc0rhHSg296g==", + "version": "10.4.15", + "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-10.4.15.tgz", + "integrity": "sha512-vaLg1ZgwhG29BuLDxPA9OAcIlgqzp9/N8iG0wGapyUNTf4IY4O6zAHgN6QalwLhFxq7nOI021vdRojR1oF3bqg==", "dependencies": { "iterare": "1.2.1", - "tslib": "2.7.0", + "tslib": "2.8.1", "uid": "2.0.2" }, "funding": { @@ -55,16 +55,16 @@ } }, "node_modules/@nestjs/core": { - "version": "10.4.6", - "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-10.4.6.tgz", - "integrity": "sha512-zXVPxCNRfO6gAy0yvEDjUxE/8gfZICJFpsl2lZAUH31bPb6m+tXuhUq2mVCTEltyMYQ+DYtRe+fEYM2v152N1g==", + "version": "10.4.15", + "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-10.4.15.tgz", + "integrity": "sha512-UBejmdiYwaH6fTsz2QFBlC1cJHM+3UDeLZN+CiP9I1fRv2KlBZsmozGLbV5eS1JAVWJB4T5N5yQ0gjN8ZvcS2w==", "hasInstallScript": true, "dependencies": { "@nuxtjs/opencollective": "0.3.2", "fast-safe-stringify": "2.1.1", "iterare": "1.2.1", "path-to-regexp": "3.3.0", - "tslib": "2.7.0", + "tslib": "2.8.1", "uid": "2.0.2" }, "funding": { @@ -109,16 +109,16 @@ } }, "node_modules/@openapitools/openapi-generator-cli": { - "version": "2.15.3", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.15.3.tgz", - "integrity": "sha512-2UBnsDlMt36thhdXxisbA1qReVtbCaw+NCvXoslRXlaJBL4qkAmZUhNeDLNu3LCbwA2PASMWhJSqeLwgwMCitw==", + "version": "2.16.3", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.16.3.tgz", + "integrity": "sha512-HUpxQW45MLoWruXPvwnS2p6PkbnEIeWuDq4AembALRNGbIbg158k3peBCIbnn4PzGura9TnhaPPjOl3BF5PinQ==", "hasInstallScript": true, "dependencies": { - "@nestjs/axios": "3.1.1", - "@nestjs/common": "10.4.6", - "@nestjs/core": "10.4.6", + "@nestjs/axios": "3.1.3", + "@nestjs/common": "10.4.15", + "@nestjs/core": "10.4.15", "@nuxtjs/opencollective": "0.3.2", - "axios": "1.7.7", + "axios": "1.7.9", "chalk": "4.1.2", "commander": "8.3.0", "compare-versions": "4.1.4", @@ -128,7 +128,7 @@ "glob": "9.3.5", "inquirer": "8.2.6", "lodash": "4.17.21", - "proxy-agent": "6.4.0", + "proxy-agent": "6.5.0", "reflect-metadata": "0.1.13", "rxjs": "7.8.1", "tslib": "2.8.1" @@ -144,23 +144,15 @@ "url": "https://opencollective.com/openapi_generator" } }, - "node_modules/@openapitools/openapi-generator-cli/node_modules/tslib": { - "version": "2.8.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", - "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" - }, "node_modules/@tootallnate/quickjs-emscripten": { "version": "0.23.0", "resolved": "https://registry.npmjs.org/@tootallnate/quickjs-emscripten/-/quickjs-emscripten-0.23.0.tgz", "integrity": "sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA==" }, "node_modules/agent-base": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.1.tgz", - "integrity": "sha512-H0TSyFNDMomMNJQBn8wFV5YC/2eJ+VXECwOadZJT554xP6cODZHPX3H9QMQECxvrgiSOP1pHjy1sMWQVYJOUOA==", - "dependencies": { - "debug": "^4.3.4" - }, + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.3.tgz", + "integrity": "sha512-jRR5wdylq8CkOe6hei19GGZnxM6rBGwFl3Bg0YItGDimvjGtAvdZk4Pu6Cl4u4Igsws4a1fd1Vq3ezrhn4KmFw==", "engines": { "node": ">= 14" } @@ -218,9 +210,9 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "node_modules/axios": { - "version": "1.7.7", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.7.tgz", - "integrity": "sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q==", + "version": "1.7.9", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.9.tgz", + "integrity": "sha512-LhLcE7Hbiryz8oMDdDptSrWowmB4Bl6RCt6sIJKpRB4XtVf0iEgewX3au/pJqm+Py1kCASkb/FFKjxQaLtxJvw==", "dependencies": { "follow-redirects": "^1.15.6", "form-data": "^4.0.0", @@ -300,6 +292,18 @@ "ieee754": "^1.1.13" } }, + "node_modules/call-bind-apply-helpers": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", + "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/chalk": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", @@ -496,9 +500,9 @@ } }, "node_modules/debug": { - "version": "4.3.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", - "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz", + "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==", "dependencies": { "ms": "^2.1.3" }, @@ -540,6 +544,19 @@ "node": ">=0.4.0" } }, + "node_modules/dunder-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", + "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/easy-table": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/easy-table/-/easy-table-1.1.0.tgz", @@ -553,6 +570,47 @@ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" }, + "node_modules/es-define-property": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", + "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-object-atoms": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz", + "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==", + "dependencies": { + "es-errors": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-set-tostringtag": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz", + "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==", + "dependencies": { + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.6", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/escalade": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", @@ -669,12 +727,13 @@ } }, "node_modules/form-data": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.1.tgz", - "integrity": "sha512-tzN8e4TX8+kkxGPK8D5u0FNmjPUjw3lwC9lSLxxoB/+GtsJG91CO8bSWy73APlgAZzZbXEYZJuxjkHH2w+Ezhw==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.2.tgz", + "integrity": "sha512-hGfm/slu0ZabnNt4oaRZ6uREyfCj6P4fT/n6A1rGV+Z0VdGXjfOhVUpkn6qVQONHGIFwmveGXyDs75+nr6FM8w==", "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", + "es-set-tostringtag": "^2.1.0", "mime-types": "^2.1.12" }, "engines": { @@ -699,6 +758,14 @@ "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/get-caller-file": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", @@ -707,31 +774,52 @@ "node": "6.* || 8.* || >= 10.*" } }, - "node_modules/get-uri": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/get-uri/-/get-uri-6.0.3.tgz", - "integrity": "sha512-BzUrJBS9EcUb4cFol8r4W3v1cPsSyajLSthNkz5BxbpDcHN5tIrM10E2eNvfnvBn3DaT3DUgx0OpsBKkaOpanw==", + "node_modules/get-intrinsic": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", + "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", "dependencies": { - "basic-ftp": "^5.0.2", - "data-uri-to-buffer": "^6.0.2", - "debug": "^4.3.4", - "fs-extra": "^11.2.0" + "call-bind-apply-helpers": "^1.0.2", + "es-define-property": "^1.0.1", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.1.1", + "function-bind": "^1.1.2", + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "math-intrinsics": "^1.1.0" }, "engines": { - "node": ">= 14" + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/get-uri/node_modules/fs-extra": { - "version": "11.2.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz", - "integrity": "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==", + "node_modules/get-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", + "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" + "dunder-proto": "^1.0.1", + "es-object-atoms": "^1.0.0" }, "engines": { - "node": ">=14.14" + "node": ">= 0.4" + } + }, + "node_modules/get-uri": { + "version": "6.0.4", + "resolved": "https://registry.npmjs.org/get-uri/-/get-uri-6.0.4.tgz", + "integrity": "sha512-E1b1lFFLvLgak2whF2xDBcOy6NLVGZBqqjJjsIhvopKfWWEi64pLVTWWehV8KlLerZkfNTA95sTe2OdJKm1OzQ==", + "dependencies": { + "basic-ftp": "^5.0.2", + "data-uri-to-buffer": "^6.0.2", + "debug": "^4.3.4" + }, + "engines": { + "node": ">= 14" } }, "node_modules/glob": { @@ -751,6 +839,17 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/gopd": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", + "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/graceful-fs": { "version": "4.2.11", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", @@ -764,6 +863,42 @@ "node": ">=8" } }, + "node_modules/has-symbols": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", + "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-tostringtag": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", + "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", + "dependencies": { + "has-symbols": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/hasown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/http-proxy-agent": { "version": "7.0.2", "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz", @@ -777,11 +912,11 @@ } }, "node_modules/https-proxy-agent": { - "version": "7.0.5", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.5.tgz", - "integrity": "sha512-1e4Wqeblerz+tMKPIq2EMGiiWW1dIjZOksyHWSUm1rmuvw/how9hBHZ38lAGj5ID4Ik6EdkOw7NmWPy6LAwalw==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz", + "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==", "dependencies": { - "agent-base": "^7.0.2", + "agent-base": "^7.1.2", "debug": "4" }, "engines": { @@ -949,6 +1084,14 @@ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==" }, + "node_modules/math-intrinsics": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", + "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", + "engines": { + "node": ">= 0.4" + } + }, "node_modules/mime-db": { "version": "1.52.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", @@ -1080,18 +1223,18 @@ } }, "node_modules/pac-proxy-agent": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-7.0.2.tgz", - "integrity": "sha512-BFi3vZnO9X5Qt6NRz7ZOaPja3ic0PhlsmCRYLOpN11+mWBCR6XJDqW5RF3j8jm4WGGQZtBA+bTfxYzeKW73eHg==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-7.2.0.tgz", + "integrity": "sha512-TEB8ESquiLMc0lV8vcd5Ql/JAKAoyzHFXaStwjkzpOpC5Yv+pIzLfHvjTSdf3vpa2bMiUQrg9i6276yn8666aA==", "dependencies": { "@tootallnate/quickjs-emscripten": "^0.23.0", - "agent-base": "^7.0.2", + "agent-base": "^7.1.2", "debug": "^4.3.4", "get-uri": "^6.0.1", "http-proxy-agent": "^7.0.0", - "https-proxy-agent": "^7.0.5", + "https-proxy-agent": "^7.0.6", "pac-resolver": "^7.0.1", - "socks-proxy-agent": "^8.0.4" + "socks-proxy-agent": "^8.0.5" }, "engines": { "node": ">= 14" @@ -1138,18 +1281,18 @@ "integrity": "sha512-qyCH421YQPS2WFDxDjftfc1ZR5WKQzVzqsp4n9M2kQhVOo/ByahFoUNJfl58kOcEGfQ//7weFTDhm+ss8Ecxgw==" }, "node_modules/proxy-agent": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-6.4.0.tgz", - "integrity": "sha512-u0piLU+nCOHMgGjRbimiXmA9kM/L9EHh3zL81xCdp7m+Y2pHIsnmbdDoEDoAz5geaonNR6q6+yOPQs6n4T6sBQ==", + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-6.5.0.tgz", + "integrity": "sha512-TmatMXdr2KlRiA2CyDu8GqR8EjahTG3aY3nXjdzFyoZbmB8hrBsTyMezhULIXKnC0jpfjlmiZ3+EaCzoInSu/A==", "dependencies": { - "agent-base": "^7.0.2", + "agent-base": "^7.1.2", "debug": "^4.3.4", "http-proxy-agent": "^7.0.1", - "https-proxy-agent": "^7.0.3", + "https-proxy-agent": "^7.0.6", "lru-cache": "^7.14.1", - "pac-proxy-agent": "^7.0.1", + "pac-proxy-agent": "^7.1.0", "proxy-from-env": "^1.1.0", - "socks-proxy-agent": "^8.0.2" + "socks-proxy-agent": "^8.0.5" }, "engines": { "node": ">= 14" @@ -1261,9 +1404,9 @@ } }, "node_modules/socks": { - "version": "2.8.3", - "resolved": "https://registry.npmjs.org/socks/-/socks-2.8.3.tgz", - "integrity": "sha512-l5x7VUUWbjVFbafGLxPWkYsHIhEvmF85tbIeFZWc8ZPtoMyybuEhL7Jye/ooC4/d48FgOjSJXgsF/AJPYCW8Zw==", + "version": "2.8.4", + "resolved": "https://registry.npmjs.org/socks/-/socks-2.8.4.tgz", + "integrity": "sha512-D3YaD0aRxR3mEcqnidIs7ReYJFVzWdd6fXJYUM8ixcQcJRGTka/b3saV0KflYhyVJXKhb947GndU35SxYNResQ==", "dependencies": { "ip-address": "^9.0.5", "smart-buffer": "^4.2.0" @@ -1274,11 +1417,11 @@ } }, "node_modules/socks-proxy-agent": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.4.tgz", - "integrity": "sha512-GNAq/eg8Udq2x0eNiFkr9gRg5bA7PXEWagQdeRX4cPSG+X/8V38v637gim9bjFptMk1QWsCTr0ttrJEiXbNnRw==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.5.tgz", + "integrity": "sha512-HehCEsotFqbPW9sJ8WVYB6UbmIMv7kUUORIF2Nncq4VQvBfNBLibW9YZR5dlYCSUhwcD628pRllm7n+E+YTzJw==", "dependencies": { - "agent-base": "^7.1.1", + "agent-base": "^7.1.2", "debug": "^4.3.4", "socks": "^2.8.3" }, @@ -1378,9 +1521,9 @@ } }, "node_modules/tslib": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", - "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==" + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" }, "node_modules/type-fest": { "version": "0.21.3", @@ -1496,31 +1639,31 @@ "integrity": "sha512-Z7C/xXCiGWsg0KuKsHTKJxbWhpI3Vs5GwLfOean7MGyVFGqdRgBbAjOCh6u4bbjPc/8MJ2pZmK/0DLdCbivLDA==" }, "@nestjs/axios": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@nestjs/axios/-/axios-3.1.1.tgz", - "integrity": "sha512-ySoxrzqX80P1q6LKLKGcgyBd2utg4gbC+4FsJNpXYvILorMlxss/ECNogD9EXLCE4JS5exVFD5ez0nK5hXcNTQ==", + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/@nestjs/axios/-/axios-3.1.3.tgz", + "integrity": "sha512-RZ/63c1tMxGLqyG3iOCVt7A72oy4x1eM6QEhd4KzCYpaVWW0igq0WSREeRoEZhIxRcZfDfIIkvsOMiM7yfVGZQ==", "requires": {} }, "@nestjs/common": { - "version": "10.4.6", - "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-10.4.6.tgz", - "integrity": "sha512-KkezkZvU9poWaNq4L+lNvx+386hpOxPJkfXBBeSMrcqBOx8kVr36TGN2uYkF4Ta4zNu1KbCjmZbc0rhHSg296g==", + "version": "10.4.15", + "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-10.4.15.tgz", + "integrity": "sha512-vaLg1ZgwhG29BuLDxPA9OAcIlgqzp9/N8iG0wGapyUNTf4IY4O6zAHgN6QalwLhFxq7nOI021vdRojR1oF3bqg==", "requires": { "iterare": "1.2.1", - "tslib": "2.7.0", + "tslib": "2.8.1", "uid": "2.0.2" } }, "@nestjs/core": { - "version": "10.4.6", - "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-10.4.6.tgz", - "integrity": "sha512-zXVPxCNRfO6gAy0yvEDjUxE/8gfZICJFpsl2lZAUH31bPb6m+tXuhUq2mVCTEltyMYQ+DYtRe+fEYM2v152N1g==", + "version": "10.4.15", + "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-10.4.15.tgz", + "integrity": "sha512-UBejmdiYwaH6fTsz2QFBlC1cJHM+3UDeLZN+CiP9I1fRv2KlBZsmozGLbV5eS1JAVWJB4T5N5yQ0gjN8ZvcS2w==", "requires": { "@nuxtjs/opencollective": "0.3.2", "fast-safe-stringify": "2.1.1", "iterare": "1.2.1", "path-to-regexp": "3.3.0", - "tslib": "2.7.0", + "tslib": "2.8.1", "uid": "2.0.2" } }, @@ -1535,15 +1678,15 @@ } }, "@openapitools/openapi-generator-cli": { - "version": "2.15.3", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.15.3.tgz", - "integrity": "sha512-2UBnsDlMt36thhdXxisbA1qReVtbCaw+NCvXoslRXlaJBL4qkAmZUhNeDLNu3LCbwA2PASMWhJSqeLwgwMCitw==", + "version": "2.16.3", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.16.3.tgz", + "integrity": "sha512-HUpxQW45MLoWruXPvwnS2p6PkbnEIeWuDq4AembALRNGbIbg158k3peBCIbnn4PzGura9TnhaPPjOl3BF5PinQ==", "requires": { - "@nestjs/axios": "3.1.1", - "@nestjs/common": "10.4.6", - "@nestjs/core": "10.4.6", + "@nestjs/axios": "3.1.3", + "@nestjs/common": "10.4.15", + "@nestjs/core": "10.4.15", "@nuxtjs/opencollective": "0.3.2", - "axios": "1.7.7", + "axios": "1.7.9", "chalk": "4.1.2", "commander": "8.3.0", "compare-versions": "4.1.4", @@ -1553,17 +1696,10 @@ "glob": "9.3.5", "inquirer": "8.2.6", "lodash": "4.17.21", - "proxy-agent": "6.4.0", + "proxy-agent": "6.5.0", "reflect-metadata": "0.1.13", "rxjs": "7.8.1", "tslib": "2.8.1" - }, - "dependencies": { - "tslib": { - "version": "2.8.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", - "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" - } } }, "@tootallnate/quickjs-emscripten": { @@ -1572,12 +1708,9 @@ "integrity": "sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA==" }, "agent-base": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.1.tgz", - "integrity": "sha512-H0TSyFNDMomMNJQBn8wFV5YC/2eJ+VXECwOadZJT554xP6cODZHPX3H9QMQECxvrgiSOP1pHjy1sMWQVYJOUOA==", - "requires": { - "debug": "^4.3.4" - } + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.3.tgz", + "integrity": "sha512-jRR5wdylq8CkOe6hei19GGZnxM6rBGwFl3Bg0YItGDimvjGtAvdZk4Pu6Cl4u4Igsws4a1fd1Vq3ezrhn4KmFw==" }, "ansi-escapes": { "version": "4.3.2", @@ -1614,9 +1747,9 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "axios": { - "version": "1.7.7", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.7.tgz", - "integrity": "sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q==", + "version": "1.7.9", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.9.tgz", + "integrity": "sha512-LhLcE7Hbiryz8oMDdDptSrWowmB4Bl6RCt6sIJKpRB4XtVf0iEgewX3au/pJqm+Py1kCASkb/FFKjxQaLtxJvw==", "requires": { "follow-redirects": "^1.15.6", "form-data": "^4.0.0", @@ -1665,6 +1798,15 @@ "ieee754": "^1.1.13" } }, + "call-bind-apply-helpers": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", + "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==", + "requires": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2" + } + }, "chalk": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", @@ -1805,9 +1947,9 @@ "integrity": "sha512-sj+J0Mo2p2X1e306MHq282WS4/A8Pz/95GIFcsPNMPMZVI3EUrAdSv90al1k+p74WGLCruMXk23bfEDZa71X9Q==" }, "debug": { - "version": "4.3.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", - "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz", + "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==", "requires": { "ms": "^2.1.3" } @@ -1835,6 +1977,16 @@ "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==" }, + "dunder-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", + "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", + "requires": { + "call-bind-apply-helpers": "^1.0.1", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + } + }, "easy-table": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/easy-table/-/easy-table-1.1.0.tgz", @@ -1848,6 +2000,35 @@ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" }, + "es-define-property": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", + "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==" + }, + "es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==" + }, + "es-object-atoms": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz", + "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==", + "requires": { + "es-errors": "^1.3.0" + } + }, + "es-set-tostringtag": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz", + "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==", + "requires": { + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.6", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.2" + } + }, "escalade": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", @@ -1913,12 +2094,13 @@ "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==" }, "form-data": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.1.tgz", - "integrity": "sha512-tzN8e4TX8+kkxGPK8D5u0FNmjPUjw3lwC9lSLxxoB/+GtsJG91CO8bSWy73APlgAZzZbXEYZJuxjkHH2w+Ezhw==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.2.tgz", + "integrity": "sha512-hGfm/slu0ZabnNt4oaRZ6uREyfCj6P4fT/n6A1rGV+Z0VdGXjfOhVUpkn6qVQONHGIFwmveGXyDs75+nr6FM8w==", "requires": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", + "es-set-tostringtag": "^2.1.0", "mime-types": "^2.1.12" } }, @@ -1937,32 +2119,50 @@ "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" }, + "function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==" + }, "get-caller-file": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==" }, + "get-intrinsic": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", + "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", + "requires": { + "call-bind-apply-helpers": "^1.0.2", + "es-define-property": "^1.0.1", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.1.1", + "function-bind": "^1.1.2", + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "math-intrinsics": "^1.1.0" + } + }, + "get-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", + "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", + "requires": { + "dunder-proto": "^1.0.1", + "es-object-atoms": "^1.0.0" + } + }, "get-uri": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/get-uri/-/get-uri-6.0.3.tgz", - "integrity": "sha512-BzUrJBS9EcUb4cFol8r4W3v1cPsSyajLSthNkz5BxbpDcHN5tIrM10E2eNvfnvBn3DaT3DUgx0OpsBKkaOpanw==", + "version": "6.0.4", + "resolved": "https://registry.npmjs.org/get-uri/-/get-uri-6.0.4.tgz", + "integrity": "sha512-E1b1lFFLvLgak2whF2xDBcOy6NLVGZBqqjJjsIhvopKfWWEi64pLVTWWehV8KlLerZkfNTA95sTe2OdJKm1OzQ==", "requires": { "basic-ftp": "^5.0.2", "data-uri-to-buffer": "^6.0.2", - "debug": "^4.3.4", - "fs-extra": "^11.2.0" - }, - "dependencies": { - "fs-extra": { - "version": "11.2.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz", - "integrity": "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==", - "requires": { - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - } - } + "debug": "^4.3.4" } }, "glob": { @@ -1976,6 +2176,11 @@ "path-scurry": "^1.6.1" } }, + "gopd": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", + "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==" + }, "graceful-fs": { "version": "4.2.11", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", @@ -1986,6 +2191,27 @@ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" }, + "has-symbols": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", + "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==" + }, + "has-tostringtag": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", + "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", + "requires": { + "has-symbols": "^1.0.3" + } + }, + "hasown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "requires": { + "function-bind": "^1.1.2" + } + }, "http-proxy-agent": { "version": "7.0.2", "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz", @@ -1996,11 +2222,11 @@ } }, "https-proxy-agent": { - "version": "7.0.5", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.5.tgz", - "integrity": "sha512-1e4Wqeblerz+tMKPIq2EMGiiWW1dIjZOksyHWSUm1rmuvw/how9hBHZ38lAGj5ID4Ik6EdkOw7NmWPy6LAwalw==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz", + "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==", "requires": { - "agent-base": "^7.0.2", + "agent-base": "^7.1.2", "debug": "4" } }, @@ -2118,6 +2344,11 @@ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==" }, + "math-intrinsics": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", + "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==" + }, "mime-db": { "version": "1.52.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", @@ -2202,18 +2433,18 @@ "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==" }, "pac-proxy-agent": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-7.0.2.tgz", - "integrity": "sha512-BFi3vZnO9X5Qt6NRz7ZOaPja3ic0PhlsmCRYLOpN11+mWBCR6XJDqW5RF3j8jm4WGGQZtBA+bTfxYzeKW73eHg==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-7.2.0.tgz", + "integrity": "sha512-TEB8ESquiLMc0lV8vcd5Ql/JAKAoyzHFXaStwjkzpOpC5Yv+pIzLfHvjTSdf3vpa2bMiUQrg9i6276yn8666aA==", "requires": { "@tootallnate/quickjs-emscripten": "^0.23.0", - "agent-base": "^7.0.2", + "agent-base": "^7.1.2", "debug": "^4.3.4", "get-uri": "^6.0.1", "http-proxy-agent": "^7.0.0", - "https-proxy-agent": "^7.0.5", + "https-proxy-agent": "^7.0.6", "pac-resolver": "^7.0.1", - "socks-proxy-agent": "^8.0.4" + "socks-proxy-agent": "^8.0.5" } }, "pac-resolver": { @@ -2247,18 +2478,18 @@ "integrity": "sha512-qyCH421YQPS2WFDxDjftfc1ZR5WKQzVzqsp4n9M2kQhVOo/ByahFoUNJfl58kOcEGfQ//7weFTDhm+ss8Ecxgw==" }, "proxy-agent": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-6.4.0.tgz", - "integrity": "sha512-u0piLU+nCOHMgGjRbimiXmA9kM/L9EHh3zL81xCdp7m+Y2pHIsnmbdDoEDoAz5geaonNR6q6+yOPQs6n4T6sBQ==", + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-6.5.0.tgz", + "integrity": "sha512-TmatMXdr2KlRiA2CyDu8GqR8EjahTG3aY3nXjdzFyoZbmB8hrBsTyMezhULIXKnC0jpfjlmiZ3+EaCzoInSu/A==", "requires": { - "agent-base": "^7.0.2", + "agent-base": "^7.1.2", "debug": "^4.3.4", "http-proxy-agent": "^7.0.1", - "https-proxy-agent": "^7.0.3", + "https-proxy-agent": "^7.0.6", "lru-cache": "^7.14.1", - "pac-proxy-agent": "^7.0.1", + "pac-proxy-agent": "^7.1.0", "proxy-from-env": "^1.1.0", - "socks-proxy-agent": "^8.0.2" + "socks-proxy-agent": "^8.0.5" }, "dependencies": { "lru-cache": { @@ -2336,20 +2567,20 @@ "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==" }, "socks": { - "version": "2.8.3", - "resolved": "https://registry.npmjs.org/socks/-/socks-2.8.3.tgz", - "integrity": "sha512-l5x7VUUWbjVFbafGLxPWkYsHIhEvmF85tbIeFZWc8ZPtoMyybuEhL7Jye/ooC4/d48FgOjSJXgsF/AJPYCW8Zw==", + "version": "2.8.4", + "resolved": "https://registry.npmjs.org/socks/-/socks-2.8.4.tgz", + "integrity": "sha512-D3YaD0aRxR3mEcqnidIs7ReYJFVzWdd6fXJYUM8ixcQcJRGTka/b3saV0KflYhyVJXKhb947GndU35SxYNResQ==", "requires": { "ip-address": "^9.0.5", "smart-buffer": "^4.2.0" } }, "socks-proxy-agent": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.4.tgz", - "integrity": "sha512-GNAq/eg8Udq2x0eNiFkr9gRg5bA7PXEWagQdeRX4cPSG+X/8V38v637gim9bjFptMk1QWsCTr0ttrJEiXbNnRw==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.5.tgz", + "integrity": "sha512-HehCEsotFqbPW9sJ8WVYB6UbmIMv7kUUORIF2Nncq4VQvBfNBLibW9YZR5dlYCSUhwcD628pRllm7n+E+YTzJw==", "requires": { - "agent-base": "^7.1.1", + "agent-base": "^7.1.2", "debug": "^4.3.4", "socks": "^2.8.3" } @@ -2428,9 +2659,9 @@ "integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==" }, "tslib": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", - "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==" + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" }, "type-fest": { "version": "0.21.3", diff --git a/package.json b/package.json index bb4ab2af..fcef1c25 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.15.3" + "@openapitools/openapi-generator-cli": "^2.16.3" } } diff --git a/setup.py b/setup.py index 451d06ac..d54e987a 100644 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.19.0" +VERSION = "1.19.1" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 8977da62..d6e476ba 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,7 +6,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -45,6 +45,7 @@ from vrchatapi.exceptions import ApiException # import models into sdk package from vrchatapi.models.api_config import APIConfig +from vrchatapi.models.api_config_access_logs_urls import APIConfigAccessLogsUrls from vrchatapi.models.api_config_announcement import APIConfigAnnouncement from vrchatapi.models.api_config_avatar_perf_limiter import APIConfigAvatarPerfLimiter from vrchatapi.models.api_config_constants import APIConfigConstants @@ -60,6 +61,11 @@ from vrchatapi.models.api_config_min_supported_client_build_number import APIConfigMinSupportedClientBuildNumber from vrchatapi.models.api_config_offline_analysis import APIConfigOfflineAnalysis from vrchatapi.models.api_config_report_categories import APIConfigReportCategories +from vrchatapi.models.api_config_report_options import APIConfigReportOptions +from vrchatapi.models.api_config_report_options_avatar import APIConfigReportOptionsAvatar +from vrchatapi.models.api_config_report_options_group import APIConfigReportOptionsGroup +from vrchatapi.models.api_config_report_options_user import APIConfigReportOptionsUser +from vrchatapi.models.api_config_report_options_world import APIConfigReportOptionsWorld from vrchatapi.models.api_config_report_reasons import APIConfigReportReasons from vrchatapi.models.api_health import APIHealth from vrchatapi.models.account_deletion_log import AccountDeletionLog @@ -84,6 +90,7 @@ from vrchatapi.models.create_instance_request import CreateInstanceRequest from vrchatapi.models.create_world_request import CreateWorldRequest from vrchatapi.models.current_user import CurrentUser +from vrchatapi.models.current_user_platform_history_inner import CurrentUserPlatformHistoryInner from vrchatapi.models.current_user_presence import CurrentUserPresence from vrchatapi.models.deployment_group import DeploymentGroup from vrchatapi.models.developer_type import DeveloperType diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index cc4d30c0..67527b53 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index c63fdb9a..98680d33 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 21246cfb..3bcf8db5 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index f4a2a3cb..cb2cbb00 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index ffd548a8..db4e6c70 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -1208,6 +1208,7 @@ def get_file_analysis_with_http_info(self, file_id, version_id, **kwargs): # no response_types_map = { 200: "FileAnalysis", + 202: "Error", 404: "Error", } @@ -1358,6 +1359,7 @@ def get_file_analysis_security_with_http_info(self, file_id, version_id, **kwarg response_types_map = { 200: "FileAnalysis", + 202: "Error", 404: "Error", } @@ -1508,6 +1510,7 @@ def get_file_analysis_standard_with_http_info(self, file_id, version_id, **kwarg response_types_map = { 200: "FileAnalysis", + 202: "Error", 404: "Error", } diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index a3fa3e41..65ef729d 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index ae4bc784..050679ac 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index f0ed5bc0..539db2c0 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index 3ff58356..4ab395af 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/jams_api.py b/vrchatapi/api/jams_api.py index 697d1465..c3c592d3 100644 --- a/vrchatapi/api/jams_api.py +++ b/vrchatapi/api/jams_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index 46919a07..3a083944 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index ef3b55c0..2a62babd 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index 72e03c22..c8a80440 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index 00276307..5f0f29f8 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index b82f1e3b..a761f5c2 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 22c74bea..a1b5480e 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index b6b82dae..68529871 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,7 +3,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index 38380715..bf3598bb 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -441,7 +441,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.19.0\n"\ + "Version of the API: 1.19.1\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index dc4c7581..a412725c 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index 3874c84b..8f32264a 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,7 +5,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -15,6 +15,7 @@ # import models into model package from vrchatapi.models.api_config import APIConfig +from vrchatapi.models.api_config_access_logs_urls import APIConfigAccessLogsUrls from vrchatapi.models.api_config_announcement import APIConfigAnnouncement from vrchatapi.models.api_config_avatar_perf_limiter import APIConfigAvatarPerfLimiter from vrchatapi.models.api_config_constants import APIConfigConstants @@ -30,6 +31,11 @@ from vrchatapi.models.api_config_min_supported_client_build_number import APIConfigMinSupportedClientBuildNumber from vrchatapi.models.api_config_offline_analysis import APIConfigOfflineAnalysis from vrchatapi.models.api_config_report_categories import APIConfigReportCategories +from vrchatapi.models.api_config_report_options import APIConfigReportOptions +from vrchatapi.models.api_config_report_options_avatar import APIConfigReportOptionsAvatar +from vrchatapi.models.api_config_report_options_group import APIConfigReportOptionsGroup +from vrchatapi.models.api_config_report_options_user import APIConfigReportOptionsUser +from vrchatapi.models.api_config_report_options_world import APIConfigReportOptionsWorld from vrchatapi.models.api_config_report_reasons import APIConfigReportReasons from vrchatapi.models.api_health import APIHealth from vrchatapi.models.account_deletion_log import AccountDeletionLog @@ -54,6 +60,7 @@ from vrchatapi.models.create_instance_request import CreateInstanceRequest from vrchatapi.models.create_world_request import CreateWorldRequest from vrchatapi.models.current_user import CurrentUser +from vrchatapi.models.current_user_platform_history_inner import CurrentUserPlatformHistoryInner from vrchatapi.models.current_user_presence import CurrentUserPresence from vrchatapi.models.deployment_group import DeploymentGroup from vrchatapi.models.developer_type import DeveloperType diff --git a/vrchatapi/models/account_deletion_log.py b/vrchatapi/models/account_deletion_log.py index 231b5275..9fd86de7 100644 --- a/vrchatapi/models/account_deletion_log.py +++ b/vrchatapi/models/account_deletion_log.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index f226554e..f83afabd 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index 1fb5cd9d..2ff772f6 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/age_verification_status.py b/vrchatapi/models/age_verification_status.py index 0d80f737..05bbfd35 100644 --- a/vrchatapi/models/age_verification_status.py +++ b/vrchatapi/models/age_verification_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index 0547eb73..1ac64d11 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -38,9 +38,13 @@ class APIConfig(object): openapi_types = { 'voice_enable_degradation': 'bool', 'voice_enable_receiver_limiting': 'bool', + 'access_logs_urls': 'APIConfigAccessLogsUrls', 'address': 'str', + 'age_verification_invite_visible': 'bool', 'age_verification_p': 'bool', 'age_verification_status_visible': 'bool', + 'analysis_max_retries': 'int', + 'analysis_retry_interval': 'int', 'announcements': 'list[APIConfigAnnouncement]', 'analytics_segment_new_ui_pct_of_users': 'int', 'analytics_segment_new_ui_salt': 'str', @@ -88,6 +92,7 @@ class APIConfig(object): 'disable_event_stream': 'bool', 'disable_feedback_gating': 'bool', 'disable_frontend_builds': 'bool', + 'disable_gift_drops': 'bool', 'disable_hello': 'bool', 'disable_oculus_subs': 'bool', 'disable_registration': 'bool', @@ -103,6 +108,7 @@ class APIConfig(object): 'economy_state': 'int', 'events': 'APIConfigEvents', 'force_use_latest_world': 'bool', + 'gift_display_type': 'str', 'google_api_client_id': 'str', 'home_world_id': 'str', 'homepage_redirect_target': 'str', @@ -118,8 +124,9 @@ class APIConfig(object): 'photon_public_keys': 'list[str]', 'report_categories': 'APIConfigReportCategories', 'report_form_url': 'str', - 'report_options': 'object', + 'report_options': 'APIConfigReportOptions', 'report_reasons': 'APIConfigReportReasons', + 'require_age_verification_beta_tag': 'bool', 'sdk_developer_faq_url': 'str', 'sdk_discord_url': 'str', 'sdk_not_allowed_to_publish_message': 'str', @@ -150,9 +157,13 @@ class APIConfig(object): attribute_map = { 'voice_enable_degradation': 'VoiceEnableDegradation', 'voice_enable_receiver_limiting': 'VoiceEnableReceiverLimiting', + 'access_logs_urls': 'accessLogsUrls', 'address': 'address', + 'age_verification_invite_visible': 'ageVerificationInviteVisible', 'age_verification_p': 'ageVerificationP', 'age_verification_status_visible': 'ageVerificationStatusVisible', + 'analysis_max_retries': 'analysisMaxRetries', + 'analysis_retry_interval': 'analysisRetryInterval', 'announcements': 'announcements', 'analytics_segment_new_ui_pct_of_users': 'analyticsSegment_NewUI_PctOfUsers', 'analytics_segment_new_ui_salt': 'analyticsSegment_NewUI_Salt', @@ -200,6 +211,7 @@ class APIConfig(object): 'disable_event_stream': 'disableEventStream', 'disable_feedback_gating': 'disableFeedbackGating', 'disable_frontend_builds': 'disableFrontendBuilds', + 'disable_gift_drops': 'disableGiftDrops', 'disable_hello': 'disableHello', 'disable_oculus_subs': 'disableOculusSubs', 'disable_registration': 'disableRegistration', @@ -215,6 +227,7 @@ class APIConfig(object): 'economy_state': 'economyState', 'events': 'events', 'force_use_latest_world': 'forceUseLatestWorld', + 'gift_display_type': 'giftDisplayType', 'google_api_client_id': 'googleApiClientId', 'home_world_id': 'homeWorldId', 'homepage_redirect_target': 'homepageRedirectTarget', @@ -232,6 +245,7 @@ class APIConfig(object): 'report_form_url': 'reportFormUrl', 'report_options': 'reportOptions', 'report_reasons': 'reportReasons', + 'require_age_verification_beta_tag': 'requireAgeVerificationBetaTag', 'sdk_developer_faq_url': 'sdkDeveloperFaqUrl', 'sdk_discord_url': 'sdkDiscordUrl', 'sdk_not_allowed_to_publish_message': 'sdkNotAllowedToPublishMessage', @@ -259,7 +273,7 @@ class APIConfig(object): 'websocket_reconnect_max_delay': 'websocketReconnectMaxDelay' } - def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limiting=True, address=None, age_verification_p=None, age_verification_status_visible=None, announcements=None, analytics_segment_new_ui_pct_of_users=None, analytics_segment_new_ui_salt=None, app_name='VrChat', available_language_codes=None, available_languages=None, avatar_perf_limiter=None, build_version_tag=None, chatbox_log_buffer_seconds=40, client_api_key=None, client_bps_ceiling=18432, client_disconnect_timeout=30000, client_net_dispatch_thread=False, client_net_dispatch_thread_mobile=True, client_net_in_thread=False, client_net_in_thread2=False, client_net_in_thread_mobile=False, client_net_in_thread_mobile2=False, client_net_out_thread=False, client_net_out_thread2=False, client_net_out_thread_mobile=False, client_net_out_thread_mobile2=False, client_qr=1, client_reserved_player_bps=7168, client_sent_count_allowance=15, constants=None, contact_email=None, copyright_email=None, current_privacy_version=1, current_tos_version=None, default_avatar=None, default_sticker_set=None, deployment_group=None, dev_language_codes=None, dev_sdk_url=None, dev_sdk_version=None, dis_countdown=None, disable_av_pro_in_proton=False, disable_avatar_copying=False, disable_avatar_gating=False, disable_community_labs=False, disable_community_labs_promotion=False, disable_email=False, disable_captcha=True, disable_event_stream=False, disable_feedback_gating=False, disable_frontend_builds=False, disable_hello=False, disable_oculus_subs=False, disable_registration=False, disable_steam_networking=True, disable_two_factor_auth=False, disable_udon=False, disable_upgrade_account=False, download_link_windows=None, download_urls=None, dynamic_world_rows=None, economy_pause_end=None, economy_pause_start=None, economy_state=1, events=None, force_use_latest_world=True, google_api_client_id='827942544393-r2ouvckvouldn9dg9uruseje575e878f.apps.googleusercontent.com', home_world_id=None, homepage_redirect_target='https://hello.vrchat.com', hub_world_id=None, image_host_url_list=None, jobs_email=None, min_supported_client_build_number=None, minimum_unity_version_for_uploads='2019.0.0f1', moderation_email=None, not_allowed_to_select_avatar_in_private_world_message=None, offline_analysis=None, photon_nameserver_overrides=None, photon_public_keys=None, report_categories=None, report_form_url='https://help.vrchat.com/hc/en-us/requests/new?ticket_form_id=1500000182242&tf_360056455174=user_report&tf_360057451993={userId}&tf_1500001445142={reportedId}&tf_subject={reason} {category} By {contentType} {reportedName}&tf_description={description}', report_options=None, report_reasons=None, sdk_developer_faq_url=None, sdk_discord_url=None, sdk_not_allowed_to_publish_message=None, sdk_unity_version=None, server_name=None, string_host_url_list=None, support_email=None, support_form_url=None, timekeeping=True, time_out_world_id=None, tutorial_world_id=None, update_rate_ms_maximum=None, update_rate_ms_minimum=None, update_rate_ms_normal=None, update_rate_ms_udon_manual=None, upload_analysis_percent=None, url_list=None, use_reliable_udp_for_voice=False, vive_windows_url=None, white_listed_asset_urls=None, player_url_resolver_version=None, player_url_resolver_sha1=None, websocket_max_friends_refresh_delay=900, websocket_quick_reconnect_time=2, websocket_reconnect_max_delay=2, local_vars_configuration=None): # noqa: E501 + def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limiting=True, access_logs_urls=None, address=None, age_verification_invite_visible=None, age_verification_p=None, age_verification_status_visible=None, analysis_max_retries=None, analysis_retry_interval=None, announcements=None, analytics_segment_new_ui_pct_of_users=None, analytics_segment_new_ui_salt=None, app_name='VrChat', available_language_codes=None, available_languages=None, avatar_perf_limiter=None, build_version_tag=None, chatbox_log_buffer_seconds=40, client_api_key=None, client_bps_ceiling=18432, client_disconnect_timeout=30000, client_net_dispatch_thread=False, client_net_dispatch_thread_mobile=True, client_net_in_thread=False, client_net_in_thread2=False, client_net_in_thread_mobile=False, client_net_in_thread_mobile2=False, client_net_out_thread=False, client_net_out_thread2=False, client_net_out_thread_mobile=False, client_net_out_thread_mobile2=False, client_qr=1, client_reserved_player_bps=7168, client_sent_count_allowance=15, constants=None, contact_email=None, copyright_email=None, current_privacy_version=1, current_tos_version=None, default_avatar=None, default_sticker_set=None, deployment_group=None, dev_language_codes=None, dev_sdk_url=None, dev_sdk_version=None, dis_countdown=None, disable_av_pro_in_proton=False, disable_avatar_copying=False, disable_avatar_gating=False, disable_community_labs=False, disable_community_labs_promotion=False, disable_email=False, disable_captcha=True, disable_event_stream=False, disable_feedback_gating=False, disable_frontend_builds=False, disable_gift_drops=False, disable_hello=False, disable_oculus_subs=False, disable_registration=False, disable_steam_networking=True, disable_two_factor_auth=False, disable_udon=False, disable_upgrade_account=False, download_link_windows=None, download_urls=None, dynamic_world_rows=None, economy_pause_end=None, economy_pause_start=None, economy_state=1, events=None, force_use_latest_world=True, gift_display_type=None, google_api_client_id='827942544393-r2ouvckvouldn9dg9uruseje575e878f.apps.googleusercontent.com', home_world_id=None, homepage_redirect_target='https://hello.vrchat.com', hub_world_id=None, image_host_url_list=None, jobs_email=None, min_supported_client_build_number=None, minimum_unity_version_for_uploads='2019.0.0f1', moderation_email=None, not_allowed_to_select_avatar_in_private_world_message=None, offline_analysis=None, photon_nameserver_overrides=None, photon_public_keys=None, report_categories=None, report_form_url='https://help.vrchat.com/hc/en-us/requests/new?ticket_form_id=1500000182242&tf_360056455174=user_report&tf_360057451993={userId}&tf_1500001445142={reportedId}&tf_subject={reason} {category} By {contentType} {reportedName}&tf_description={description}', report_options=None, report_reasons=None, require_age_verification_beta_tag=None, sdk_developer_faq_url=None, sdk_discord_url=None, sdk_not_allowed_to_publish_message=None, sdk_unity_version=None, server_name=None, string_host_url_list=None, support_email=None, support_form_url=None, timekeeping=True, time_out_world_id=None, tutorial_world_id=None, update_rate_ms_maximum=None, update_rate_ms_minimum=None, update_rate_ms_normal=None, update_rate_ms_udon_manual=None, upload_analysis_percent=None, url_list=None, use_reliable_udp_for_voice=False, vive_windows_url=None, white_listed_asset_urls=None, player_url_resolver_version=None, player_url_resolver_sha1=None, websocket_max_friends_refresh_delay=900, websocket_quick_reconnect_time=2, websocket_reconnect_max_delay=2, local_vars_configuration=None): # noqa: E501 """APIConfig - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -267,9 +281,13 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self._voice_enable_degradation = None self._voice_enable_receiver_limiting = None + self._access_logs_urls = None self._address = None + self._age_verification_invite_visible = None self._age_verification_p = None self._age_verification_status_visible = None + self._analysis_max_retries = None + self._analysis_retry_interval = None self._announcements = None self._analytics_segment_new_ui_pct_of_users = None self._analytics_segment_new_ui_salt = None @@ -317,6 +335,7 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self._disable_event_stream = None self._disable_feedback_gating = None self._disable_frontend_builds = None + self._disable_gift_drops = None self._disable_hello = None self._disable_oculus_subs = None self._disable_registration = None @@ -332,6 +351,7 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self._economy_state = None self._events = None self._force_use_latest_world = None + self._gift_display_type = None self._google_api_client_id = None self._home_world_id = None self._homepage_redirect_target = None @@ -349,6 +369,7 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self._report_form_url = None self._report_options = None self._report_reasons = None + self._require_age_verification_beta_tag = None self._sdk_developer_faq_url = None self._sdk_discord_url = None self._sdk_not_allowed_to_publish_message = None @@ -378,9 +399,13 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self.voice_enable_degradation = voice_enable_degradation self.voice_enable_receiver_limiting = voice_enable_receiver_limiting + self.access_logs_urls = access_logs_urls self.address = address + self.age_verification_invite_visible = age_verification_invite_visible self.age_verification_p = age_verification_p self.age_verification_status_visible = age_verification_status_visible + self.analysis_max_retries = analysis_max_retries + self.analysis_retry_interval = analysis_retry_interval self.announcements = announcements self.analytics_segment_new_ui_pct_of_users = analytics_segment_new_ui_pct_of_users self.analytics_segment_new_ui_salt = analytics_segment_new_ui_salt @@ -442,6 +467,7 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self.disable_event_stream = disable_event_stream self.disable_feedback_gating = disable_feedback_gating self.disable_frontend_builds = disable_frontend_builds + self.disable_gift_drops = disable_gift_drops self.disable_hello = disable_hello self.disable_oculus_subs = disable_oculus_subs self.disable_registration = disable_registration @@ -460,6 +486,7 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self.economy_state = economy_state self.events = events self.force_use_latest_world = force_use_latest_world + self.gift_display_type = gift_display_type self.google_api_client_id = google_api_client_id self.home_world_id = home_world_id self.homepage_redirect_target = homepage_redirect_target @@ -477,6 +504,7 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self.report_form_url = report_form_url self.report_options = report_options self.report_reasons = report_reasons + self.require_age_verification_beta_tag = require_age_verification_beta_tag self.sdk_developer_faq_url = sdk_developer_faq_url self.sdk_discord_url = sdk_discord_url self.sdk_not_allowed_to_publish_message = sdk_not_allowed_to_publish_message @@ -553,6 +581,29 @@ def voice_enable_receiver_limiting(self, voice_enable_receiver_limiting): self._voice_enable_receiver_limiting = voice_enable_receiver_limiting + @property + def access_logs_urls(self): + """Gets the access_logs_urls of this APIConfig. # noqa: E501 + + + :return: The access_logs_urls of this APIConfig. # noqa: E501 + :rtype: APIConfigAccessLogsUrls + """ + return self._access_logs_urls + + @access_logs_urls.setter + def access_logs_urls(self, access_logs_urls): + """Sets the access_logs_urls of this APIConfig. + + + :param access_logs_urls: The access_logs_urls of this APIConfig. # noqa: E501 + :type access_logs_urls: APIConfigAccessLogsUrls + """ + if self.local_vars_configuration.client_side_validation and access_logs_urls is None: # noqa: E501 + raise ValueError("Invalid value for `access_logs_urls`, must not be `None`") # noqa: E501 + + self._access_logs_urls = access_logs_urls + @property def address(self): """Gets the address of this APIConfig. # noqa: E501 @@ -581,6 +632,29 @@ def address(self, address): self._address = address + @property + def age_verification_invite_visible(self): + """Gets the age_verification_invite_visible of this APIConfig. # noqa: E501 + + + :return: The age_verification_invite_visible of this APIConfig. # noqa: E501 + :rtype: bool + """ + return self._age_verification_invite_visible + + @age_verification_invite_visible.setter + def age_verification_invite_visible(self, age_verification_invite_visible): + """Sets the age_verification_invite_visible of this APIConfig. + + + :param age_verification_invite_visible: The age_verification_invite_visible of this APIConfig. # noqa: E501 + :type age_verification_invite_visible: bool + """ + if self.local_vars_configuration.client_side_validation and age_verification_invite_visible is None: # noqa: E501 + raise ValueError("Invalid value for `age_verification_invite_visible`, must not be `None`") # noqa: E501 + + self._age_verification_invite_visible = age_verification_invite_visible + @property def age_verification_p(self): """Gets the age_verification_p of this APIConfig. # noqa: E501 @@ -627,6 +701,56 @@ def age_verification_status_visible(self, age_verification_status_visible): self._age_verification_status_visible = age_verification_status_visible + @property + def analysis_max_retries(self): + """Gets the analysis_max_retries of this APIConfig. # noqa: E501 + + Max retries for avatar analysis requests # noqa: E501 + + :return: The analysis_max_retries of this APIConfig. # noqa: E501 + :rtype: int + """ + return self._analysis_max_retries + + @analysis_max_retries.setter + def analysis_max_retries(self, analysis_max_retries): + """Sets the analysis_max_retries of this APIConfig. + + Max retries for avatar analysis requests # noqa: E501 + + :param analysis_max_retries: The analysis_max_retries of this APIConfig. # noqa: E501 + :type analysis_max_retries: int + """ + if self.local_vars_configuration.client_side_validation and analysis_max_retries is None: # noqa: E501 + raise ValueError("Invalid value for `analysis_max_retries`, must not be `None`") # noqa: E501 + + self._analysis_max_retries = analysis_max_retries + + @property + def analysis_retry_interval(self): + """Gets the analysis_retry_interval of this APIConfig. # noqa: E501 + + Interval between retries for avatar analysis requests # noqa: E501 + + :return: The analysis_retry_interval of this APIConfig. # noqa: E501 + :rtype: int + """ + return self._analysis_retry_interval + + @analysis_retry_interval.setter + def analysis_retry_interval(self, analysis_retry_interval): + """Sets the analysis_retry_interval of this APIConfig. + + Interval between retries for avatar analysis requests # noqa: E501 + + :param analysis_retry_interval: The analysis_retry_interval of this APIConfig. # noqa: E501 + :type analysis_retry_interval: int + """ + if self.local_vars_configuration.client_side_validation and analysis_retry_interval is None: # noqa: E501 + raise ValueError("Invalid value for `analysis_retry_interval`, must not be `None`") # noqa: E501 + + self._analysis_retry_interval = analysis_retry_interval + @property def announcements(self): """Gets the announcements of this APIConfig. # noqa: E501 @@ -1791,6 +1915,31 @@ def disable_frontend_builds(self, disable_frontend_builds): self._disable_frontend_builds = disable_frontend_builds + @property + def disable_gift_drops(self): + """Gets the disable_gift_drops of this APIConfig. # noqa: E501 + + Toggles if gift drops should be disabled # noqa: E501 + + :return: The disable_gift_drops of this APIConfig. # noqa: E501 + :rtype: bool + """ + return self._disable_gift_drops + + @disable_gift_drops.setter + def disable_gift_drops(self, disable_gift_drops): + """Sets the disable_gift_drops of this APIConfig. + + Toggles if gift drops should be disabled # noqa: E501 + + :param disable_gift_drops: The disable_gift_drops of this APIConfig. # noqa: E501 + :type disable_gift_drops: bool + """ + if self.local_vars_configuration.client_side_validation and disable_gift_drops is None: # noqa: E501 + raise ValueError("Invalid value for `disable_gift_drops`, must not be `None`") # noqa: E501 + + self._disable_gift_drops = disable_gift_drops + @property def disable_hello(self): """Gets the disable_hello of this APIConfig. # noqa: E501 @@ -2162,6 +2311,31 @@ def force_use_latest_world(self, force_use_latest_world): self._force_use_latest_world = force_use_latest_world + @property + def gift_display_type(self): + """Gets the gift_display_type of this APIConfig. # noqa: E501 + + Display type of gifts # noqa: E501 + + :return: The gift_display_type of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._gift_display_type + + @gift_display_type.setter + def gift_display_type(self, gift_display_type): + """Sets the gift_display_type of this APIConfig. + + Display type of gifts # noqa: E501 + + :param gift_display_type: The gift_display_type of this APIConfig. # noqa: E501 + :type gift_display_type: str + """ + if self.local_vars_configuration.client_side_validation and gift_display_type is None: # noqa: E501 + raise ValueError("Invalid value for `gift_display_type`, must not be `None`") # noqa: E501 + + self._gift_display_type = gift_display_type + @property def google_api_client_id(self): """Gets the google_api_client_id of this APIConfig. # noqa: E501 @@ -2547,10 +2721,9 @@ def report_form_url(self, report_form_url): def report_options(self): """Gets the report_options of this APIConfig. # noqa: E501 - Options for reporting content # noqa: E501 :return: The report_options of this APIConfig. # noqa: E501 - :rtype: object + :rtype: APIConfigReportOptions """ return self._report_options @@ -2558,10 +2731,9 @@ def report_options(self): def report_options(self, report_options): """Sets the report_options of this APIConfig. - Options for reporting content # noqa: E501 :param report_options: The report_options of this APIConfig. # noqa: E501 - :type report_options: object + :type report_options: APIConfigReportOptions """ if self.local_vars_configuration.client_side_validation and report_options is None: # noqa: E501 raise ValueError("Invalid value for `report_options`, must not be `None`") # noqa: E501 @@ -2591,6 +2763,29 @@ def report_reasons(self, report_reasons): self._report_reasons = report_reasons + @property + def require_age_verification_beta_tag(self): + """Gets the require_age_verification_beta_tag of this APIConfig. # noqa: E501 + + + :return: The require_age_verification_beta_tag of this APIConfig. # noqa: E501 + :rtype: bool + """ + return self._require_age_verification_beta_tag + + @require_age_verification_beta_tag.setter + def require_age_verification_beta_tag(self, require_age_verification_beta_tag): + """Sets the require_age_verification_beta_tag of this APIConfig. + + + :param require_age_verification_beta_tag: The require_age_verification_beta_tag of this APIConfig. # noqa: E501 + :type require_age_verification_beta_tag: bool + """ + if self.local_vars_configuration.client_side_validation and require_age_verification_beta_tag is None: # noqa: E501 + raise ValueError("Invalid value for `require_age_verification_beta_tag`, must not be `None`") # noqa: E501 + + self._require_age_verification_beta_tag = require_age_verification_beta_tag + @property def sdk_developer_faq_url(self): """Gets the sdk_developer_faq_url of this APIConfig. # noqa: E501 diff --git a/vrchatapi/models/api_config_access_logs_urls.py b/vrchatapi/models/api_config_access_logs_urls.py new file mode 100644 index 00000000..4c12b840 --- /dev/null +++ b/vrchatapi/models/api_config_access_logs_urls.py @@ -0,0 +1,209 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.19.1 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class APIConfigAccessLogsUrls(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'default': 'str', + 'pico': 'str', + 'quest': 'str', + 'xr_elite': 'str' + } + + attribute_map = { + 'default': 'Default', + 'pico': 'Pico', + 'quest': 'Quest', + 'xr_elite': 'XRElite' + } + + def __init__(self, default=None, pico=None, quest=None, xr_elite=None, local_vars_configuration=None): # noqa: E501 + """APIConfigAccessLogsUrls - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._default = None + self._pico = None + self._quest = None + self._xr_elite = None + self.discriminator = None + + if default is not None: + self.default = default + if pico is not None: + self.pico = pico + if quest is not None: + self.quest = quest + if xr_elite is not None: + self.xr_elite = xr_elite + + @property + def default(self): + """Gets the default of this APIConfigAccessLogsUrls. # noqa: E501 + + + :return: The default of this APIConfigAccessLogsUrls. # noqa: E501 + :rtype: str + """ + return self._default + + @default.setter + def default(self, default): + """Sets the default of this APIConfigAccessLogsUrls. + + + :param default: The default of this APIConfigAccessLogsUrls. # noqa: E501 + :type default: str + """ + + self._default = default + + @property + def pico(self): + """Gets the pico of this APIConfigAccessLogsUrls. # noqa: E501 + + + :return: The pico of this APIConfigAccessLogsUrls. # noqa: E501 + :rtype: str + """ + return self._pico + + @pico.setter + def pico(self, pico): + """Sets the pico of this APIConfigAccessLogsUrls. + + + :param pico: The pico of this APIConfigAccessLogsUrls. # noqa: E501 + :type pico: str + """ + + self._pico = pico + + @property + def quest(self): + """Gets the quest of this APIConfigAccessLogsUrls. # noqa: E501 + + + :return: The quest of this APIConfigAccessLogsUrls. # noqa: E501 + :rtype: str + """ + return self._quest + + @quest.setter + def quest(self, quest): + """Sets the quest of this APIConfigAccessLogsUrls. + + + :param quest: The quest of this APIConfigAccessLogsUrls. # noqa: E501 + :type quest: str + """ + + self._quest = quest + + @property + def xr_elite(self): + """Gets the xr_elite of this APIConfigAccessLogsUrls. # noqa: E501 + + + :return: The xr_elite of this APIConfigAccessLogsUrls. # noqa: E501 + :rtype: str + """ + return self._xr_elite + + @xr_elite.setter + def xr_elite(self, xr_elite): + """Sets the xr_elite of this APIConfigAccessLogsUrls. + + + :param xr_elite: The xr_elite of this APIConfigAccessLogsUrls. # noqa: E501 + :type xr_elite: str + """ + + self._xr_elite = xr_elite + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, APIConfigAccessLogsUrls): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, APIConfigAccessLogsUrls): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index c14c42e0..7e9bfabc 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_avatar_perf_limiter.py b/vrchatapi/models/api_config_avatar_perf_limiter.py index 1e2dd32e..69150d16 100644 --- a/vrchatapi/models/api_config_avatar_perf_limiter.py +++ b/vrchatapi/models/api_config_avatar_perf_limiter.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants.py b/vrchatapi/models/api_config_constants.py index fb89eb2c..81c3972b 100644 --- a/vrchatapi/models/api_config_constants.py +++ b/vrchatapi/models/api_config_constants.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_groups.py b/vrchatapi/models/api_config_constants_groups.py index 75804399..5f657e4a 100644 --- a/vrchatapi/models/api_config_constants_groups.py +++ b/vrchatapi/models/api_config_constants_groups.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instance.py b/vrchatapi/models/api_config_constants_instance.py index 1f455911..001cf038 100644 --- a/vrchatapi/models/api_config_constants_instance.py +++ b/vrchatapi/models/api_config_constants_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbrackets.py b/vrchatapi/models/api_config_constants_instancepopulationbrackets.py index debd891d..e3aee6d5 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbrackets.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbrackets.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py b/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py index dc6f5f88..d2c85356 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py b/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py index e7fa58ab..fe2783cf 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py b/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py index 6d0483bf..41464e53 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_language.py b/vrchatapi/models/api_config_constants_language.py index 818010c3..620803c9 100644 --- a/vrchatapi/models/api_config_constants_language.py +++ b/vrchatapi/models/api_config_constants_language.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index 1761b10e..fff1daf3 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index bed806c5..b7032daf 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_min_supported_client_build_number.py b/vrchatapi/models/api_config_min_supported_client_build_number.py index 91f235e8..5022fb2a 100644 --- a/vrchatapi/models/api_config_min_supported_client_build_number.py +++ b/vrchatapi/models/api_config_min_supported_client_build_number.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_offline_analysis.py b/vrchatapi/models/api_config_offline_analysis.py index be4e185a..585aa55d 100644 --- a/vrchatapi/models/api_config_offline_analysis.py +++ b/vrchatapi/models/api_config_offline_analysis.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_categories.py b/vrchatapi/models/api_config_report_categories.py index 14f0a7d3..088a1f8e 100644 --- a/vrchatapi/models/api_config_report_categories.py +++ b/vrchatapi/models/api_config_report_categories.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options.py b/vrchatapi/models/api_config_report_options.py new file mode 100644 index 00000000..c69f89d8 --- /dev/null +++ b/vrchatapi/models/api_config_report_options.py @@ -0,0 +1,209 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.19.1 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class APIConfigReportOptions(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'avatar': 'APIConfigReportOptionsAvatar', + 'group': 'APIConfigReportOptionsGroup', + 'user': 'APIConfigReportOptionsUser', + 'world': 'APIConfigReportOptionsWorld' + } + + attribute_map = { + 'avatar': 'avatar', + 'group': 'group', + 'user': 'user', + 'world': 'world' + } + + def __init__(self, avatar=None, group=None, user=None, world=None, local_vars_configuration=None): # noqa: E501 + """APIConfigReportOptions - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._avatar = None + self._group = None + self._user = None + self._world = None + self.discriminator = None + + if avatar is not None: + self.avatar = avatar + if group is not None: + self.group = group + if user is not None: + self.user = user + if world is not None: + self.world = world + + @property + def avatar(self): + """Gets the avatar of this APIConfigReportOptions. # noqa: E501 + + + :return: The avatar of this APIConfigReportOptions. # noqa: E501 + :rtype: APIConfigReportOptionsAvatar + """ + return self._avatar + + @avatar.setter + def avatar(self, avatar): + """Sets the avatar of this APIConfigReportOptions. + + + :param avatar: The avatar of this APIConfigReportOptions. # noqa: E501 + :type avatar: APIConfigReportOptionsAvatar + """ + + self._avatar = avatar + + @property + def group(self): + """Gets the group of this APIConfigReportOptions. # noqa: E501 + + + :return: The group of this APIConfigReportOptions. # noqa: E501 + :rtype: APIConfigReportOptionsGroup + """ + return self._group + + @group.setter + def group(self, group): + """Sets the group of this APIConfigReportOptions. + + + :param group: The group of this APIConfigReportOptions. # noqa: E501 + :type group: APIConfigReportOptionsGroup + """ + + self._group = group + + @property + def user(self): + """Gets the user of this APIConfigReportOptions. # noqa: E501 + + + :return: The user of this APIConfigReportOptions. # noqa: E501 + :rtype: APIConfigReportOptionsUser + """ + return self._user + + @user.setter + def user(self, user): + """Sets the user of this APIConfigReportOptions. + + + :param user: The user of this APIConfigReportOptions. # noqa: E501 + :type user: APIConfigReportOptionsUser + """ + + self._user = user + + @property + def world(self): + """Gets the world of this APIConfigReportOptions. # noqa: E501 + + + :return: The world of this APIConfigReportOptions. # noqa: E501 + :rtype: APIConfigReportOptionsWorld + """ + return self._world + + @world.setter + def world(self, world): + """Sets the world of this APIConfigReportOptions. + + + :param world: The world of this APIConfigReportOptions. # noqa: E501 + :type world: APIConfigReportOptionsWorld + """ + + self._world = world + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, APIConfigReportOptions): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, APIConfigReportOptions): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/api_config_report_options_avatar.py b/vrchatapi/models/api_config_report_options_avatar.py new file mode 100644 index 00000000..9146b1ac --- /dev/null +++ b/vrchatapi/models/api_config_report_options_avatar.py @@ -0,0 +1,157 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.19.1 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class APIConfigReportOptionsAvatar(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'avatar': 'list[str]', + 'warnings': 'list[str]' + } + + attribute_map = { + 'avatar': 'avatar', + 'warnings': 'warnings' + } + + def __init__(self, avatar=None, warnings=None, local_vars_configuration=None): # noqa: E501 + """APIConfigReportOptionsAvatar - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._avatar = None + self._warnings = None + self.discriminator = None + + if avatar is not None: + self.avatar = avatar + if warnings is not None: + self.warnings = warnings + + @property + def avatar(self): + """Gets the avatar of this APIConfigReportOptionsAvatar. # noqa: E501 + + + :return: The avatar of this APIConfigReportOptionsAvatar. # noqa: E501 + :rtype: list[str] + """ + return self._avatar + + @avatar.setter + def avatar(self, avatar): + """Sets the avatar of this APIConfigReportOptionsAvatar. + + + :param avatar: The avatar of this APIConfigReportOptionsAvatar. # noqa: E501 + :type avatar: list[str] + """ + + self._avatar = avatar + + @property + def warnings(self): + """Gets the warnings of this APIConfigReportOptionsAvatar. # noqa: E501 + + + :return: The warnings of this APIConfigReportOptionsAvatar. # noqa: E501 + :rtype: list[str] + """ + return self._warnings + + @warnings.setter + def warnings(self, warnings): + """Sets the warnings of this APIConfigReportOptionsAvatar. + + + :param warnings: The warnings of this APIConfigReportOptionsAvatar. # noqa: E501 + :type warnings: list[str] + """ + + self._warnings = warnings + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, APIConfigReportOptionsAvatar): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, APIConfigReportOptionsAvatar): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/api_config_report_options_group.py b/vrchatapi/models/api_config_report_options_group.py new file mode 100644 index 00000000..2ef892ee --- /dev/null +++ b/vrchatapi/models/api_config_report_options_group.py @@ -0,0 +1,183 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.19.1 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class APIConfigReportOptionsGroup(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'groupstore': 'list[str]', + 'image': 'list[str]', + 'text': 'list[str]' + } + + attribute_map = { + 'groupstore': 'groupstore', + 'image': 'image', + 'text': 'text' + } + + def __init__(self, groupstore=None, image=None, text=None, local_vars_configuration=None): # noqa: E501 + """APIConfigReportOptionsGroup - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._groupstore = None + self._image = None + self._text = None + self.discriminator = None + + if groupstore is not None: + self.groupstore = groupstore + if image is not None: + self.image = image + if text is not None: + self.text = text + + @property + def groupstore(self): + """Gets the groupstore of this APIConfigReportOptionsGroup. # noqa: E501 + + + :return: The groupstore of this APIConfigReportOptionsGroup. # noqa: E501 + :rtype: list[str] + """ + return self._groupstore + + @groupstore.setter + def groupstore(self, groupstore): + """Sets the groupstore of this APIConfigReportOptionsGroup. + + + :param groupstore: The groupstore of this APIConfigReportOptionsGroup. # noqa: E501 + :type groupstore: list[str] + """ + + self._groupstore = groupstore + + @property + def image(self): + """Gets the image of this APIConfigReportOptionsGroup. # noqa: E501 + + + :return: The image of this APIConfigReportOptionsGroup. # noqa: E501 + :rtype: list[str] + """ + return self._image + + @image.setter + def image(self, image): + """Sets the image of this APIConfigReportOptionsGroup. + + + :param image: The image of this APIConfigReportOptionsGroup. # noqa: E501 + :type image: list[str] + """ + + self._image = image + + @property + def text(self): + """Gets the text of this APIConfigReportOptionsGroup. # noqa: E501 + + + :return: The text of this APIConfigReportOptionsGroup. # noqa: E501 + :rtype: list[str] + """ + return self._text + + @text.setter + def text(self, text): + """Sets the text of this APIConfigReportOptionsGroup. + + + :param text: The text of this APIConfigReportOptionsGroup. # noqa: E501 + :type text: list[str] + """ + + self._text = text + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, APIConfigReportOptionsGroup): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, APIConfigReportOptionsGroup): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/api_config_report_options_user.py b/vrchatapi/models/api_config_report_options_user.py new file mode 100644 index 00000000..82c7b8e5 --- /dev/null +++ b/vrchatapi/models/api_config_report_options_user.py @@ -0,0 +1,261 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.19.1 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class APIConfigReportOptionsUser(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'behavior': 'list[str]', + 'chat': 'list[str]', + 'emoji': 'list[str]', + 'image': 'list[str]', + 'sticker': 'list[str]', + 'text': 'list[str]' + } + + attribute_map = { + 'behavior': 'behavior', + 'chat': 'chat', + 'emoji': 'emoji', + 'image': 'image', + 'sticker': 'sticker', + 'text': 'text' + } + + def __init__(self, behavior=None, chat=None, emoji=None, image=None, sticker=None, text=None, local_vars_configuration=None): # noqa: E501 + """APIConfigReportOptionsUser - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._behavior = None + self._chat = None + self._emoji = None + self._image = None + self._sticker = None + self._text = None + self.discriminator = None + + if behavior is not None: + self.behavior = behavior + if chat is not None: + self.chat = chat + if emoji is not None: + self.emoji = emoji + if image is not None: + self.image = image + if sticker is not None: + self.sticker = sticker + if text is not None: + self.text = text + + @property + def behavior(self): + """Gets the behavior of this APIConfigReportOptionsUser. # noqa: E501 + + + :return: The behavior of this APIConfigReportOptionsUser. # noqa: E501 + :rtype: list[str] + """ + return self._behavior + + @behavior.setter + def behavior(self, behavior): + """Sets the behavior of this APIConfigReportOptionsUser. + + + :param behavior: The behavior of this APIConfigReportOptionsUser. # noqa: E501 + :type behavior: list[str] + """ + + self._behavior = behavior + + @property + def chat(self): + """Gets the chat of this APIConfigReportOptionsUser. # noqa: E501 + + + :return: The chat of this APIConfigReportOptionsUser. # noqa: E501 + :rtype: list[str] + """ + return self._chat + + @chat.setter + def chat(self, chat): + """Sets the chat of this APIConfigReportOptionsUser. + + + :param chat: The chat of this APIConfigReportOptionsUser. # noqa: E501 + :type chat: list[str] + """ + + self._chat = chat + + @property + def emoji(self): + """Gets the emoji of this APIConfigReportOptionsUser. # noqa: E501 + + + :return: The emoji of this APIConfigReportOptionsUser. # noqa: E501 + :rtype: list[str] + """ + return self._emoji + + @emoji.setter + def emoji(self, emoji): + """Sets the emoji of this APIConfigReportOptionsUser. + + + :param emoji: The emoji of this APIConfigReportOptionsUser. # noqa: E501 + :type emoji: list[str] + """ + + self._emoji = emoji + + @property + def image(self): + """Gets the image of this APIConfigReportOptionsUser. # noqa: E501 + + + :return: The image of this APIConfigReportOptionsUser. # noqa: E501 + :rtype: list[str] + """ + return self._image + + @image.setter + def image(self, image): + """Sets the image of this APIConfigReportOptionsUser. + + + :param image: The image of this APIConfigReportOptionsUser. # noqa: E501 + :type image: list[str] + """ + + self._image = image + + @property + def sticker(self): + """Gets the sticker of this APIConfigReportOptionsUser. # noqa: E501 + + + :return: The sticker of this APIConfigReportOptionsUser. # noqa: E501 + :rtype: list[str] + """ + return self._sticker + + @sticker.setter + def sticker(self, sticker): + """Sets the sticker of this APIConfigReportOptionsUser. + + + :param sticker: The sticker of this APIConfigReportOptionsUser. # noqa: E501 + :type sticker: list[str] + """ + + self._sticker = sticker + + @property + def text(self): + """Gets the text of this APIConfigReportOptionsUser. # noqa: E501 + + + :return: The text of this APIConfigReportOptionsUser. # noqa: E501 + :rtype: list[str] + """ + return self._text + + @text.setter + def text(self, text): + """Sets the text of this APIConfigReportOptionsUser. + + + :param text: The text of this APIConfigReportOptionsUser. # noqa: E501 + :type text: list[str] + """ + + self._text = text + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, APIConfigReportOptionsUser): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, APIConfigReportOptionsUser): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/api_config_report_options_world.py b/vrchatapi/models/api_config_report_options_world.py new file mode 100644 index 00000000..aa9c70fc --- /dev/null +++ b/vrchatapi/models/api_config_report_options_world.py @@ -0,0 +1,235 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.19.1 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class APIConfigReportOptionsWorld(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'environment': 'list[str]', + 'text': 'list[str]', + 'warnings': 'list[str]', + 'worldimage': 'list[str]', + 'worldstore': 'list[str]' + } + + attribute_map = { + 'environment': 'environment', + 'text': 'text', + 'warnings': 'warnings', + 'worldimage': 'worldimage', + 'worldstore': 'worldstore' + } + + def __init__(self, environment=None, text=None, warnings=None, worldimage=None, worldstore=None, local_vars_configuration=None): # noqa: E501 + """APIConfigReportOptionsWorld - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._environment = None + self._text = None + self._warnings = None + self._worldimage = None + self._worldstore = None + self.discriminator = None + + if environment is not None: + self.environment = environment + if text is not None: + self.text = text + if warnings is not None: + self.warnings = warnings + if worldimage is not None: + self.worldimage = worldimage + if worldstore is not None: + self.worldstore = worldstore + + @property + def environment(self): + """Gets the environment of this APIConfigReportOptionsWorld. # noqa: E501 + + + :return: The environment of this APIConfigReportOptionsWorld. # noqa: E501 + :rtype: list[str] + """ + return self._environment + + @environment.setter + def environment(self, environment): + """Sets the environment of this APIConfigReportOptionsWorld. + + + :param environment: The environment of this APIConfigReportOptionsWorld. # noqa: E501 + :type environment: list[str] + """ + + self._environment = environment + + @property + def text(self): + """Gets the text of this APIConfigReportOptionsWorld. # noqa: E501 + + + :return: The text of this APIConfigReportOptionsWorld. # noqa: E501 + :rtype: list[str] + """ + return self._text + + @text.setter + def text(self, text): + """Sets the text of this APIConfigReportOptionsWorld. + + + :param text: The text of this APIConfigReportOptionsWorld. # noqa: E501 + :type text: list[str] + """ + + self._text = text + + @property + def warnings(self): + """Gets the warnings of this APIConfigReportOptionsWorld. # noqa: E501 + + + :return: The warnings of this APIConfigReportOptionsWorld. # noqa: E501 + :rtype: list[str] + """ + return self._warnings + + @warnings.setter + def warnings(self, warnings): + """Sets the warnings of this APIConfigReportOptionsWorld. + + + :param warnings: The warnings of this APIConfigReportOptionsWorld. # noqa: E501 + :type warnings: list[str] + """ + + self._warnings = warnings + + @property + def worldimage(self): + """Gets the worldimage of this APIConfigReportOptionsWorld. # noqa: E501 + + + :return: The worldimage of this APIConfigReportOptionsWorld. # noqa: E501 + :rtype: list[str] + """ + return self._worldimage + + @worldimage.setter + def worldimage(self, worldimage): + """Sets the worldimage of this APIConfigReportOptionsWorld. + + + :param worldimage: The worldimage of this APIConfigReportOptionsWorld. # noqa: E501 + :type worldimage: list[str] + """ + + self._worldimage = worldimage + + @property + def worldstore(self): + """Gets the worldstore of this APIConfigReportOptionsWorld. # noqa: E501 + + + :return: The worldstore of this APIConfigReportOptionsWorld. # noqa: E501 + :rtype: list[str] + """ + return self._worldstore + + @worldstore.setter + def worldstore(self, worldstore): + """Sets the worldstore of this APIConfigReportOptionsWorld. + + + :param worldstore: The worldstore of this APIConfigReportOptionsWorld. # noqa: E501 + :type worldstore: list[str] + """ + + self._worldstore = worldstore + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, APIConfigReportOptionsWorld): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, APIConfigReportOptionsWorld): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/api_config_report_reasons.py b/vrchatapi/models/api_config_report_reasons.py index 19bf43ae..3858fc15 100644 --- a/vrchatapi/models/api_config_report_reasons.py +++ b/vrchatapi/models/api_config_report_reasons.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index 94824f10..210784b0 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index c40f22b2..db27a205 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_styles.py b/vrchatapi/models/avatar_styles.py index a0374bde..4578fcee 100644 --- a/vrchatapi/models/avatar_styles.py +++ b/vrchatapi/models/avatar_styles.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index 11e39a42..37536083 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/badge.py b/vrchatapi/models/badge.py index 868aa35d..39e84786 100644 --- a/vrchatapi/models/badge.py +++ b/vrchatapi/models/badge.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/balance.py b/vrchatapi/models/balance.py index 6d2121e0..f59d48ba 100644 --- a/vrchatapi/models/balance.py +++ b/vrchatapi/models/balance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index f70355b5..a47751da 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index eeba3d99..2ac589bf 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index ea9fbb26..dcee2e09 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index 8b3ac170..55f34f29 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index 285fb73d..85af36f9 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index a1fb2f38..3066a939 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index 3a12b7bb..7dfa8191 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_post_request.py b/vrchatapi/models/create_group_post_request.py index 47fce0a2..f4aab292 100644 --- a/vrchatapi/models/create_group_post_request.py +++ b/vrchatapi/models/create_group_post_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index 1bd2ee7b..8cebe92c 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index 7602bf25..2dd92ba9 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_instance_request.py b/vrchatapi/models/create_instance_request.py index 3970cf62..05bb4584 100644 --- a/vrchatapi/models/create_instance_request.py +++ b/vrchatapi/models/create_instance_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index a0125857..fef0ed75 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index 207da181..8ffb27c2 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -87,6 +87,7 @@ class CurrentUser(object): 'online_friends': 'list[str]', 'past_display_names': 'list[PastDisplayName]', 'presence': 'CurrentUserPresence', + 'platform_history': 'list[CurrentUserPlatformHistoryInner]', 'profile_pic_override': 'str', 'profile_pic_override_thumbnail': 'str', 'pronouns': 'str', @@ -160,6 +161,7 @@ class CurrentUser(object): 'online_friends': 'onlineFriends', 'past_display_names': 'pastDisplayNames', 'presence': 'presence', + 'platform_history': 'platform_history', 'profile_pic_override': 'profilePicOverride', 'profile_pic_override_thumbnail': 'profilePicOverrideThumbnail', 'pronouns': 'pronouns', @@ -181,7 +183,7 @@ class CurrentUser(object): 'username': 'username' } - def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, account_deletion_date=None, account_deletion_log=None, active_friends=None, age_verification_status=None, age_verified=None, allow_avatar_copying=None, badges=None, bio=None, bio_links=None, current_avatar=None, current_avatar_asset_url=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, date_joined=None, developer_type=None, display_name=None, email_verified=None, fallback_avatar=None, friend_group_names=None, friend_key=None, friends=None, has_birthday=None, hide_content_filter_settings=None, user_language=None, user_language_code=None, has_email=None, has_logged_in_from_client=None, has_pending_email=None, home_location=None, id=None, is_adult=None, is_booping_enabled=True, is_friend=False, last_activity=None, last_login=None, last_mobile=None, last_platform=None, obfuscated_email=None, obfuscated_pending_email=None, oculus_id=None, google_id=None, google_details=None, pico_id=None, vive_id=None, offline_friends=None, online_friends=None, past_display_names=None, presence=None, profile_pic_override=None, profile_pic_override_thumbnail=None, pronouns=None, queued_instance=None, receive_mobile_invitations=None, state=None, status=None, status_description=None, status_first_time=None, status_history=None, steam_details=None, steam_id=None, tags=None, two_factor_auth_enabled=None, two_factor_auth_enabled_date=None, unsubscribe=None, updated_at=None, user_icon=None, username=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, account_deletion_date=None, account_deletion_log=None, active_friends=None, age_verification_status=None, age_verified=None, allow_avatar_copying=None, badges=None, bio=None, bio_links=None, current_avatar=None, current_avatar_asset_url=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, date_joined=None, developer_type=None, display_name=None, email_verified=None, fallback_avatar=None, friend_group_names=None, friend_key=None, friends=None, has_birthday=None, hide_content_filter_settings=None, user_language=None, user_language_code=None, has_email=None, has_logged_in_from_client=None, has_pending_email=None, home_location=None, id=None, is_adult=None, is_booping_enabled=True, is_friend=False, last_activity=None, last_login=None, last_mobile=None, last_platform=None, obfuscated_email=None, obfuscated_pending_email=None, oculus_id=None, google_id=None, google_details=None, pico_id=None, vive_id=None, offline_friends=None, online_friends=None, past_display_names=None, presence=None, platform_history=None, profile_pic_override=None, profile_pic_override_thumbnail=None, pronouns=None, queued_instance=None, receive_mobile_invitations=None, state=None, status=None, status_description=None, status_first_time=None, status_history=None, steam_details=None, steam_id=None, tags=None, two_factor_auth_enabled=None, two_factor_auth_enabled_date=None, unsubscribe=None, updated_at=None, user_icon=None, username=None, local_vars_configuration=None): # noqa: E501 """CurrentUser - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -238,6 +240,7 @@ def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, acc self._online_friends = None self._past_display_names = None self._presence = None + self._platform_history = None self._profile_pic_override = None self._profile_pic_override_thumbnail = None self._pronouns = None @@ -324,6 +327,8 @@ def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, acc self.past_display_names = past_display_names if presence is not None: self.presence = presence + if platform_history is not None: + self.platform_history = platform_history self.profile_pic_override = profile_pic_override self.profile_pic_override_thumbnail = profile_pic_override_thumbnail self.pronouns = pronouns @@ -491,6 +496,7 @@ def age_verification_status(self, age_verification_status): def age_verified(self): """Gets the age_verified of this CurrentUser. # noqa: E501 + `true` if, user is age verified (not 18+). # noqa: E501 :return: The age_verified of this CurrentUser. # noqa: E501 :rtype: bool @@ -501,6 +507,7 @@ def age_verified(self): def age_verified(self, age_verified): """Sets the age_verified of this CurrentUser. + `true` if, user is age verified (not 18+). # noqa: E501 :param age_verified: The age_verified of this CurrentUser. # noqa: E501 :type age_verified: bool @@ -1510,6 +1517,27 @@ def presence(self, presence): self._presence = presence + @property + def platform_history(self): + """Gets the platform_history of this CurrentUser. # noqa: E501 + + + :return: The platform_history of this CurrentUser. # noqa: E501 + :rtype: list[CurrentUserPlatformHistoryInner] + """ + return self._platform_history + + @platform_history.setter + def platform_history(self, platform_history): + """Sets the platform_history of this CurrentUser. + + + :param platform_history: The platform_history of this CurrentUser. # noqa: E501 + :type platform_history: list[CurrentUserPlatformHistoryInner] + """ + + self._platform_history = platform_history + @property def profile_pic_override(self): """Gets the profile_pic_override of this CurrentUser. # noqa: E501 diff --git a/vrchatapi/models/current_user_platform_history_inner.py b/vrchatapi/models/current_user_platform_history_inner.py new file mode 100644 index 00000000..70068b31 --- /dev/null +++ b/vrchatapi/models/current_user_platform_history_inner.py @@ -0,0 +1,182 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.19.1 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class CurrentUserPlatformHistoryInner(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'is_mobile': 'bool', + 'platform': 'str', + 'recorded': 'datetime' + } + + attribute_map = { + 'is_mobile': 'isMobile', + 'platform': 'platform', + 'recorded': 'recorded' + } + + def __init__(self, is_mobile=None, platform=None, recorded=None, local_vars_configuration=None): # noqa: E501 + """CurrentUserPlatformHistoryInner - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._is_mobile = None + self._platform = None + self._recorded = None + self.discriminator = None + + if is_mobile is not None: + self.is_mobile = is_mobile + self.platform = platform + if recorded is not None: + self.recorded = recorded + + @property + def is_mobile(self): + """Gets the is_mobile of this CurrentUserPlatformHistoryInner. # noqa: E501 + + + :return: The is_mobile of this CurrentUserPlatformHistoryInner. # noqa: E501 + :rtype: bool + """ + return self._is_mobile + + @is_mobile.setter + def is_mobile(self, is_mobile): + """Sets the is_mobile of this CurrentUserPlatformHistoryInner. + + + :param is_mobile: The is_mobile of this CurrentUserPlatformHistoryInner. # noqa: E501 + :type is_mobile: bool + """ + + self._is_mobile = is_mobile + + @property + def platform(self): + """Gets the platform of this CurrentUserPlatformHistoryInner. # noqa: E501 + + + :return: The platform of this CurrentUserPlatformHistoryInner. # noqa: E501 + :rtype: str + """ + return self._platform + + @platform.setter + def platform(self, platform): + """Sets the platform of this CurrentUserPlatformHistoryInner. + + + :param platform: The platform of this CurrentUserPlatformHistoryInner. # noqa: E501 + :type platform: str + """ + + self._platform = platform + + @property + def recorded(self): + """Gets the recorded of this CurrentUserPlatformHistoryInner. # noqa: E501 + + + :return: The recorded of this CurrentUserPlatformHistoryInner. # noqa: E501 + :rtype: datetime + """ + return self._recorded + + @recorded.setter + def recorded(self, recorded): + """Sets the recorded of this CurrentUserPlatformHistoryInner. + + + :param recorded: The recorded of this CurrentUserPlatformHistoryInner. # noqa: E501 + :type recorded: datetime + """ + + self._recorded = recorded + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CurrentUserPlatformHistoryInner): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, CurrentUserPlatformHistoryInner): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/current_user_presence.py b/vrchatapi/models/current_user_presence.py index e1282af8..902a87f9 100644 --- a/vrchatapi/models/current_user_presence.py +++ b/vrchatapi/models/current_user_presence.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/deployment_group.py b/vrchatapi/models/deployment_group.py index ace82d3e..4449736d 100644 --- a/vrchatapi/models/deployment_group.py +++ b/vrchatapi/models/deployment_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index e9268ada..6a65e584 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index c22dbea4..9775f570 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index ee7673bf..21f56f49 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index dfb8e83d..b3341074 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index 110d99ab..c310edbe 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_limits.py b/vrchatapi/models/favorite_group_limits.py index 2ca87380..4e6f8d75 100644 --- a/vrchatapi/models/favorite_group_limits.py +++ b/vrchatapi/models/favorite_group_limits.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index 940ae0c7..d05d2c2b 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_limits.py b/vrchatapi/models/favorite_limits.py index 56eb8629..c860e80d 100644 --- a/vrchatapi/models/favorite_limits.py +++ b/vrchatapi/models/favorite_limits.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index 69e88990..bd6cef39 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorited_world.py b/vrchatapi/models/favorited_world.py index 22a63323..902678ce 100644 --- a/vrchatapi/models/favorited_world.py +++ b/vrchatapi/models/favorited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/feedback.py b/vrchatapi/models/feedback.py index 256a825c..040ac06d 100644 --- a/vrchatapi/models/feedback.py +++ b/vrchatapi/models/feedback.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index 8ae67bf1..64ae2c0d 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_analysis.py b/vrchatapi/models/file_analysis.py index 860330d5..70d654fa 100644 --- a/vrchatapi/models/file_analysis.py +++ b/vrchatapi/models/file_analysis.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_analysis_avatar_stats.py b/vrchatapi/models/file_analysis_avatar_stats.py index 949a7b0b..6da96773 100644 --- a/vrchatapi/models/file_analysis_avatar_stats.py +++ b/vrchatapi/models/file_analysis_avatar_stats.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index f0d6b241..d5b0db1d 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index e4269c6a..a5cb781a 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index c27f3a27..2ca42c4f 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index 615855e8..7a01adbc 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index d09b3db6..636875ce 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index 38112bd8..c5bd0439 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index 0ebdc6b9..46dbb7e9 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/get_user_group_instances200_response.py b/vrchatapi/models/get_user_group_instances200_response.py index a3eeb819..6a7d7f7d 100644 --- a/vrchatapi/models/get_user_group_instances200_response.py +++ b/vrchatapi/models/get_user_group_instances200_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index 7dade9c4..2aa350a9 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_access_type.py b/vrchatapi/models/group_access_type.py index fd6ab0b2..9adaaa8b 100644 --- a/vrchatapi/models/group_access_type.py +++ b/vrchatapi/models/group_access_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index 82cb6356..18b9a549 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index 3c5560d8..7f6fde37 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index ae8046db..94d1fc29 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index 43232dd2..b2a1bb8e 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_instance.py b/vrchatapi/models/group_instance.py index f93b317c..f18f93d3 100644 --- a/vrchatapi/models/group_instance.py +++ b/vrchatapi/models/group_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_request_action.py b/vrchatapi/models/group_join_request_action.py index 67dab3ae..ae5531fb 100644 --- a/vrchatapi/models/group_join_request_action.py +++ b/vrchatapi/models/group_join_request_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index 4e711d53..2ed7e453 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index 489efc6b..2a9eaee3 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index ec6d253f..59a1f7a0 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index f155ead0..65252b1f 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index e3267403..8f878a0e 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index 0caee384..c9e07bbe 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index d120087c..11eda058 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permissions.py b/vrchatapi/models/group_permissions.py index eb120acd..a83876e5 100644 --- a/vrchatapi/models/group_permissions.py +++ b/vrchatapi/models/group_permissions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post.py b/vrchatapi/models/group_post.py index a9fb0262..6b3529a2 100644 --- a/vrchatapi/models/group_post.py +++ b/vrchatapi/models/group_post.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post_visibility.py b/vrchatapi/models/group_post_visibility.py index 6b4b661f..391915bf 100644 --- a/vrchatapi/models/group_post_visibility.py +++ b/vrchatapi/models/group_post_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index 4f3e34aa..bea822f6 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index 56415ede..2d4a8c6e 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index 600bcace..d51d1d9b 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_search_sort.py b/vrchatapi/models/group_search_sort.py index 426945df..5b5a47cb 100644 --- a/vrchatapi/models/group_search_sort.py +++ b/vrchatapi/models/group_search_sort.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index f0817d66..a4d79753 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index dd5e79e0..2281ea41 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index 5b6b953a..0bab54a8 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index c5728968..5b60c83d 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index 6b3050f6..c0043300 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index 46439451..e2a575f6 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index 44352c54..a969867c 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index 50172f62..12b29c35 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_region.py b/vrchatapi/models/instance_region.py index 262ab992..05481147 100644 --- a/vrchatapi/models/instance_region.py +++ b/vrchatapi/models/instance_region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index 0ffabb70..df5e1980 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index 8df60500..3a7e59a1 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index 795f1050..9f634ed0 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index e21f5242..b21c114c 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index 86482d51..0993c558 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index 95ee277e..ac71703f 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/jam.py b/vrchatapi/models/jam.py index aaef985b..df98d675 100644 --- a/vrchatapi/models/jam.py +++ b/vrchatapi/models/jam.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/jam_state_change_dates.py b/vrchatapi/models/jam_state_change_dates.py index d1a3ff8c..27c2ae6f 100644 --- a/vrchatapi/models/jam_state_change_dates.py +++ b/vrchatapi/models/jam_state_change_dates.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index 54282c2a..04f62c01 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index d955003a..9b1c2a61 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index 3f62c15d..92d5489f 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index 3fefdd98..13638e84 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_group.py b/vrchatapi/models/limited_group.py index 75c2c1ce..d485b118 100644 --- a/vrchatapi/models/limited_group.py +++ b/vrchatapi/models/limited_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index c03c8774..e87cf78d 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user.py b/vrchatapi/models/limited_user.py index e13a34c7..43541ff3 100644 --- a/vrchatapi/models/limited_user.py +++ b/vrchatapi/models/limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user_groups.py b/vrchatapi/models/limited_user_groups.py index db7483e3..eae34b86 100644 --- a/vrchatapi/models/limited_user_groups.py +++ b/vrchatapi/models/limited_user_groups.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index 0c2c4e09..4d5077bf 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index 230b0248..9632833a 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index d1cf73ed..131cee7d 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index 12aebfdc..2c06fc1f 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite.py b/vrchatapi/models/notification_detail_invite.py index f51bb304..52641fc2 100644 --- a/vrchatapi/models/notification_detail_invite.py +++ b/vrchatapi/models/notification_detail_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite_response.py b/vrchatapi/models/notification_detail_invite_response.py index 249d9d8c..bf683fa8 100644 --- a/vrchatapi/models/notification_detail_invite_response.py +++ b/vrchatapi/models/notification_detail_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite.py b/vrchatapi/models/notification_detail_request_invite.py index 6037e0b3..84501fcf 100644 --- a/vrchatapi/models/notification_detail_request_invite.py +++ b/vrchatapi/models/notification_detail_request_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite_response.py b/vrchatapi/models/notification_detail_request_invite_response.py index 27fcd67b..ffbea98d 100644 --- a/vrchatapi/models/notification_detail_request_invite_response.py +++ b/vrchatapi/models/notification_detail_request_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_vote_to_kick.py b/vrchatapi/models/notification_detail_vote_to_kick.py index 4f76fd1d..979a6f45 100644 --- a/vrchatapi/models/notification_detail_vote_to_kick.py +++ b/vrchatapi/models/notification_detail_vote_to_kick.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index 4aa1ffc5..3aa418ed 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index cc0e4eca..8ea39192 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index 265d7878..9561657f 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index b9996cc1..c67da0be 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/performance_limiter_info.py b/vrchatapi/models/performance_limiter_info.py index 5f2b48e7..08a1709b 100644 --- a/vrchatapi/models/performance_limiter_info.py +++ b/vrchatapi/models/performance_limiter_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,51 +36,24 @@ class PerformanceLimiterInfo(object): and the value is json key in definition. """ openapi_types = { - 'allowed': 'bool', 'max_seats': 'int' } attribute_map = { - 'allowed': 'allowed', 'max_seats': 'maxSeats' } - def __init__(self, allowed=None, max_seats=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, max_seats=None, local_vars_configuration=None): # noqa: E501 """PerformanceLimiterInfo - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._allowed = None self._max_seats = None self.discriminator = None - self.allowed = allowed self.max_seats = max_seats - @property - def allowed(self): - """Gets the allowed of this PerformanceLimiterInfo. # noqa: E501 - - - :return: The allowed of this PerformanceLimiterInfo. # noqa: E501 - :rtype: bool - """ - return self._allowed - - @allowed.setter - def allowed(self, allowed): - """Sets the allowed of this PerformanceLimiterInfo. - - - :param allowed: The allowed of this PerformanceLimiterInfo. # noqa: E501 - :type allowed: bool - """ - if self.local_vars_configuration.client_side_validation and allowed is None: # noqa: E501 - raise ValueError("Invalid value for `allowed`, must not be `None`") # noqa: E501 - - self._allowed = allowed - @property def max_seats(self): """Gets the max_seats of this PerformanceLimiterInfo. # noqa: E501 diff --git a/vrchatapi/models/performance_ratings.py b/vrchatapi/models/performance_ratings.py index 96515c14..192107b3 100644 --- a/vrchatapi/models/performance_ratings.py +++ b/vrchatapi/models/performance_ratings.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index 9a462ae9..a4366256 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/platform_build_info.py b/vrchatapi/models/platform_build_info.py index 03f0ba5a..759073db 100644 --- a/vrchatapi/models/platform_build_info.py +++ b/vrchatapi/models/platform_build_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -56,7 +56,8 @@ def __init__(self, min_build_number=None, redirection_address=None, local_vars_c self.discriminator = None self.min_build_number = min_build_number - self.redirection_address = redirection_address + if redirection_address is not None: + self.redirection_address = redirection_address @property def min_build_number(self): @@ -103,8 +104,6 @@ def redirection_address(self, redirection_address): :param redirection_address: The redirection_address of this PlatformBuildInfo. # noqa: E501 :type redirection_address: str """ - if self.local_vars_configuration.client_side_validation and redirection_address is None: # noqa: E501 - raise ValueError("Invalid value for `redirection_address`, must not be `None`") # noqa: E501 self._redirection_address = redirection_address diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index ad3ed9ec..99d1bf81 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index acc000a1..35bfa777 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product.py b/vrchatapi/models/product.py index deae9606..908c8cc8 100644 --- a/vrchatapi/models/product.py +++ b/vrchatapi/models/product.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_listing.py b/vrchatapi/models/product_listing.py index b56593fb..c80911f0 100644 --- a/vrchatapi/models/product_listing.py +++ b/vrchatapi/models/product_listing.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_listing_type.py b/vrchatapi/models/product_listing_type.py index 582a44b1..3513c225 100644 --- a/vrchatapi/models/product_listing_type.py +++ b/vrchatapi/models/product_listing_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_listing_variant.py b/vrchatapi/models/product_listing_variant.py index 8014d31a..6e9ecc15 100644 --- a/vrchatapi/models/product_listing_variant.py +++ b/vrchatapi/models/product_listing_variant.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_type.py b/vrchatapi/models/product_type.py index fcfe3411..758e3d8d 100644 --- a/vrchatapi/models/product_type.py +++ b/vrchatapi/models/product_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index e60053c6..b0bffddb 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index eec098bd..dcac0661 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/report_category.py b/vrchatapi/models/report_category.py index 42bb9bd2..a3fc8c80 100644 --- a/vrchatapi/models/report_category.py +++ b/vrchatapi/models/report_category.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/report_reason.py b/vrchatapi/models/report_reason.py index 84b46ecc..fd68e3d2 100644 --- a/vrchatapi/models/report_reason.py +++ b/vrchatapi/models/report_reason.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/represented_group.py b/vrchatapi/models/represented_group.py index 330f5f0d..8cf61775 100644 --- a/vrchatapi/models/represented_group.py +++ b/vrchatapi/models/represented_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index f5c8fed9..3c2f171c 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index ae106a8e..080529d5 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index 39409e9f..c5709242 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index 28e3d1b7..43701c2e 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index 2085d457..7a7dee4d 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/submission.py b/vrchatapi/models/submission.py index ed4d3427..3f691289 100644 --- a/vrchatapi/models/submission.py +++ b/vrchatapi/models/submission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index a15ae567..369d2f62 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index a5622f5a..ae424b98 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index 7ff6d04d..6c4cf9bf 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/tilia_status.py b/vrchatapi/models/tilia_status.py index b5bfeebb..401ae2bd 100644 --- a/vrchatapi/models/tilia_status.py +++ b/vrchatapi/models/tilia_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/tilia_tos.py b/vrchatapi/models/tilia_tos.py index d2ffc17a..91166a0f 100644 --- a/vrchatapi/models/tilia_tos.py +++ b/vrchatapi/models/tilia_tos.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/token_bundle.py b/vrchatapi/models/token_bundle.py index b9a198ec..446ecb13 100644 --- a/vrchatapi/models/token_bundle.py +++ b/vrchatapi/models/token_bundle.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index 3df389c1..2c19d8a1 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index ffba664a..ffd80f46 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index 971bf5e6..2981c4e1 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index 86dd67ad..349a7036 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index a0785737..640a1b7d 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index 006183e6..4b952d99 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_email_code.py b/vrchatapi/models/two_factor_email_code.py index ecf220a0..384117b9 100644 --- a/vrchatapi/models/two_factor_email_code.py +++ b/vrchatapi/models/two_factor_email_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index a5203b4f..32e5b3c8 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index 4a160830..f389f71d 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index b464aa09..20022cd8 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index ec8fe56a..af3a2caf 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index 40db5cd8..0b899877 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index 83023a6d..a75f4762 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index 737ca319..3c6c5225 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index ffec70cc..f572f631 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_note_request.py b/vrchatapi/models/update_user_note_request.py index 87b4c1a3..b8d54799 100644 --- a/vrchatapi/models/update_user_note_request.py +++ b/vrchatapi/models/update_user_note_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index bab381d8..0b7be785 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index d99f69d8..6b55dacf 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index d58e7b27..03fe4572 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -37,6 +37,7 @@ class User(object): """ openapi_types = { 'age_verification_status': 'AgeVerificationStatus', + 'age_verified': 'bool', 'allow_avatar_copying': 'bool', 'badges': 'list[Badge]', 'bio': 'str', @@ -76,6 +77,7 @@ class User(object): attribute_map = { 'age_verification_status': 'ageVerificationStatus', + 'age_verified': 'ageVerified', 'allow_avatar_copying': 'allowAvatarCopying', 'badges': 'badges', 'bio': 'bio', @@ -113,13 +115,14 @@ class User(object): 'world_id': 'worldId' } - def __init__(self, age_verification_status=None, allow_avatar_copying=True, badges=None, bio=None, bio_links=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, date_joined=None, developer_type=None, display_name=None, friend_key=None, friend_request_status=None, id=None, instance_id=None, is_friend=None, last_activity=None, last_login=None, last_mobile=None, last_platform=None, location=None, note=None, platform=None, profile_pic_override=None, profile_pic_override_thumbnail=None, pronouns=None, state=None, status=None, status_description=None, tags=None, traveling_to_instance=None, traveling_to_location=None, traveling_to_world=None, user_icon=None, username=None, world_id=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, age_verification_status=None, age_verified=None, allow_avatar_copying=True, badges=None, bio=None, bio_links=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, date_joined=None, developer_type=None, display_name=None, friend_key=None, friend_request_status=None, id=None, instance_id=None, is_friend=None, last_activity=None, last_login=None, last_mobile=None, last_platform=None, location=None, note=None, platform=None, profile_pic_override=None, profile_pic_override_thumbnail=None, pronouns=None, state=None, status=None, status_description=None, tags=None, traveling_to_instance=None, traveling_to_location=None, traveling_to_world=None, user_icon=None, username=None, world_id=None, local_vars_configuration=None): # noqa: E501 """User - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._age_verification_status = None + self._age_verified = None self._allow_avatar_copying = None self._badges = None self._bio = None @@ -158,6 +161,7 @@ def __init__(self, age_verification_status=None, allow_avatar_copying=True, badg self.discriminator = None self.age_verification_status = age_verification_status + self.age_verified = age_verified self.allow_avatar_copying = allow_avatar_copying if badges is not None: self.badges = badges @@ -228,6 +232,31 @@ def age_verification_status(self, age_verification_status): self._age_verification_status = age_verification_status + @property + def age_verified(self): + """Gets the age_verified of this User. # noqa: E501 + + `true` if, user is age verified (not 18+). # noqa: E501 + + :return: The age_verified of this User. # noqa: E501 + :rtype: bool + """ + return self._age_verified + + @age_verified.setter + def age_verified(self, age_verified): + """Sets the age_verified of this User. + + `true` if, user is age verified (not 18+). # noqa: E501 + + :param age_verified: The age_verified of this User. # noqa: E501 + :type age_verified: bool + """ + if self.local_vars_configuration.client_side_validation and age_verified is None: # noqa: E501 + raise ValueError("Invalid value for `age_verified`, must not be `None`") # noqa: E501 + + self._age_verified = age_verified + @property def allow_avatar_copying(self): """Gets the allow_avatar_copying of this User. # noqa: E501 diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index f1e504e8..372a759b 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_note.py b/vrchatapi/models/user_note.py index 93defd0e..42cd602f 100644 --- a/vrchatapi/models/user_note.py +++ b/vrchatapi/models/user_note.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_note_target_user.py b/vrchatapi/models/user_note_target_user.py index a6ffb5ec..fc1c3ce9 100644 --- a/vrchatapi/models/user_note_target_user.py +++ b/vrchatapi/models/user_note_target_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index 7ff2b645..fe567e90 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index fcb63415..cd289fd2 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index 32a1da4f..2b590ec7 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_email_code_result.py b/vrchatapi/models/verify2_fa_email_code_result.py index 8f039613..cd12ca72 100644 --- a/vrchatapi/models/verify2_fa_email_code_result.py +++ b/vrchatapi/models/verify2_fa_email_code_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index 5c0abf5f..faab451e 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index b639d400..90013933 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index dd44deda..984f8a94 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index 42e87c01..236c9eb1 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index b672a1e8..a3d7dc79 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index b9e76e60..07eab204 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.0 + The version of the OpenAPI document: 1.19.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ From 681dcb5d25efab7433565a8c423478805d895e80 Mon Sep 17 00:00:00 2001 From: Katistix <33645731+Katistic@users.noreply.github.com> Date: Fri, 18 Apr 2025 15:21:39 +1000 Subject: [PATCH 068/102] Convert boolean to lower str in query parameters (#26) Co-authored-by: Katsi --- generate.sh | 3 +++ patches/query_param_bool.patch | 17 +++++++++++++++++ vrchatapi/api_client.py | 6 ++++++ 3 files changed, 26 insertions(+) create mode 100644 patches/query_param_bool.patch diff --git a/generate.sh b/generate.sh index cb4a4ae9..c849b6a4 100755 --- a/generate.sh +++ b/generate.sh @@ -36,3 +36,6 @@ patch ./vrchatapi/rest.py < ./patches/error_2fa_verify_readable.patch # Add common symbols to safe path parameter symbols patch ./vrchatapi/configuration.py < ./patches/safe_param_symbols.patch + +# Boolean to lower str conversion for query parameters +patch ./vrchatapi/api_client.py < ./patches/query_param_bool.patch \ No newline at end of file diff --git a/patches/query_param_bool.patch b/patches/query_param_bool.patch new file mode 100644 index 00000000..762d93d9 --- /dev/null +++ b/patches/query_param_bool.patch @@ -0,0 +1,17 @@ +diff --git a/api_client.py b/api_clientpatch.py +index 68529871..f0d06f96 100644 +--- a/api_client.py ++++ b/api_clientpatch.py +@@ -151,6 +151,12 @@ class ApiClient(object): + + # query parameters + if query_params: ++ ## PATCH -- convert boolean value into lower str for query param ++ for param in query_params: ++ if type(param[1]) == bool: ++ query_params[query_params.index(param)] = \ ++ (param[0], "true" if param[1] else "false") ++ + query_params = self.sanitize_for_serialization(query_params) + query_params = self.parameters_to_tuples(query_params, + collection_formats) diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index 68529871..f0d06f96 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -151,6 +151,12 @@ def __call_api( # query parameters if query_params: + ## PATCH -- convert boolean value into lower str for query param + for param in query_params: + if type(param[1]) == bool: + query_params[query_params.index(param)] = \ + (param[0], "true" if param[1] else "false") + query_params = self.sanitize_for_serialization(query_params) query_params = self.parameters_to_tuples(query_params, collection_formats) From 0f1dcf4361903cd971f8400513f6dae63c01a20e Mon Sep 17 00:00:00 2001 From: JelleJurre <76777936+jellejurre@users.noreply.github.com> Date: Fri, 18 Apr 2025 10:57:12 +0200 Subject: [PATCH 069/102] Update ci.yaml (#27) --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 855392e8..f2b3bb3a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -16,7 +16,7 @@ jobs: node-version: 16 - uses: actions/checkout@v2 - name: 'Cache node_modules' - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: node_modules key: ${{ runner.os }}-node-v16-${{ hashFiles('**/generate.sh') }} From 3786470e0867f4fba6e71ce9b07dfd40167eb8f4 Mon Sep 17 00:00:00 2001 From: jellejurre Date: Fri, 18 Apr 2025 08:58:29 +0000 Subject: [PATCH 070/102] Upgrade Python SDK to spec 1.19.2 --- .openapi-generator/FILES | 18 +- docs/APIConfig.md | 5 +- docs/APIConfigReportCategories.md | 1 + docs/APIConfigReportOptionsAvatar.md | 1 + docs/APIConfigReportReasons.md | 3 + docs/AvatarsApi.md | 299 ++++ docs/ChangeUserTagsRequest.md | 11 + docs/CurrentUser.md | 1 - docs/DeploymentGroup.md | 11 - docs/FavoritesApi.md | 76 -- docs/FileAnalysis.md | 1 + docs/GetGroupPosts200Response.md | 11 + docs/GroupsApi.md | 14 +- docs/Instance.md | 2 +- docs/ModelPrint.md | 21 + docs/PrintFiles.md | 12 + docs/PrintsApi.md | 233 ++++ docs/ReportCategory.md | 2 + docs/ServiceQueueStats.md | 12 + docs/ServiceStatus.md | 20 + docs/UpdateUserBadgeRequest.md | 12 + docs/UsersApi.md | 390 ++++++ docs/WorldsApi.md | 154 +++ package-lock.json | 413 ++++-- package.json | 2 +- setup.py | 4 +- vrchatapi/__init__.py | 11 +- vrchatapi/api/__init__.py | 1 + vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 552 +++++++- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 141 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/groups_api.py | 28 +- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/jams_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/prints_api.py | 449 +++++++ vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 1197 ++++++++++++++--- vrchatapi/api/worlds_api.py | 292 +++- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 +- vrchatapi/exceptions.py | 2 +- vrchatapi/models/__init__.py | 10 +- vrchatapi/models/account_deletion_log.py | 2 +- vrchatapi/models/add_favorite_request.py | 2 +- .../models/add_group_gallery_image_request.py | 2 +- vrchatapi/models/age_verification_status.py | 2 +- vrchatapi/models/api_config.py | 156 +-- .../models/api_config_access_logs_urls.py | 2 +- vrchatapi/models/api_config_announcement.py | 2 +- .../models/api_config_avatar_perf_limiter.py | 2 +- vrchatapi/models/api_config_constants.py | 2 +- .../models/api_config_constants_groups.py | 2 +- .../models/api_config_constants_instance.py | 2 +- ...ig_constants_instancepopulationbrackets.py | 2 +- ...tants_instancepopulationbracketscrowded.py | 2 +- ...constants_instancepopulationbracketsfew.py | 2 +- ...onstants_instancepopulationbracketsmany.py | 2 +- .../models/api_config_constants_language.py | 2 +- .../models/api_config_download_url_list.py | 2 +- vrchatapi/models/api_config_events.py | 2 +- ...onfig_min_supported_client_build_number.py | 2 +- .../models/api_config_offline_analysis.py | 2 +- .../models/api_config_report_categories.py | 30 +- vrchatapi/models/api_config_report_options.py | 2 +- .../api_config_report_options_avatar.py | 30 +- .../models/api_config_report_options_group.py | 2 +- .../models/api_config_report_options_user.py | 2 +- .../models/api_config_report_options_world.py | 2 +- vrchatapi/models/api_config_report_reasons.py | 82 +- vrchatapi/models/api_health.py | 2 +- vrchatapi/models/avatar.py | 2 +- vrchatapi/models/avatar_styles.py | 2 +- .../models/avatar_unity_package_url_object.py | 2 +- vrchatapi/models/badge.py | 2 +- vrchatapi/models/balance.py | 2 +- vrchatapi/models/ban_group_member_request.py | 2 +- vrchatapi/models/change_user_tags_request.py | 134 ++ vrchatapi/models/create_avatar_request.py | 2 +- vrchatapi/models/create_file_request.py | 2 +- .../models/create_file_version_request.py | 2 +- .../create_group_announcement_request.py | 2 +- .../models/create_group_gallery_request.py | 2 +- .../models/create_group_invite_request.py | 2 +- vrchatapi/models/create_group_post_request.py | 2 +- vrchatapi/models/create_group_request.py | 2 +- vrchatapi/models/create_group_role_request.py | 2 +- vrchatapi/models/create_instance_request.py | 2 +- vrchatapi/models/create_world_request.py | 2 +- vrchatapi/models/current_user.py | 31 +- .../current_user_platform_history_inner.py | 2 +- vrchatapi/models/current_user_presence.py | 2 +- vrchatapi/models/developer_type.py | 2 +- vrchatapi/models/dynamic_content_row.py | 2 +- vrchatapi/models/error.py | 2 +- vrchatapi/models/favorite.py | 2 +- vrchatapi/models/favorite_group.py | 2 +- vrchatapi/models/favorite_group_limits.py | 2 +- vrchatapi/models/favorite_group_visibility.py | 2 +- vrchatapi/models/favorite_limits.py | 2 +- vrchatapi/models/favorite_type.py | 2 +- vrchatapi/models/favorited_world.py | 2 +- vrchatapi/models/feedback.py | 2 +- vrchatapi/models/file.py | 2 +- vrchatapi/models/file_analysis.py | 30 +- .../models/file_analysis_avatar_stats.py | 2 +- vrchatapi/models/file_data.py | 2 +- vrchatapi/models/file_status.py | 2 +- vrchatapi/models/file_upload_url.py | 2 +- vrchatapi/models/file_version.py | 2 +- .../models/file_version_upload_status.py | 2 +- .../models/finish_file_data_upload_request.py | 2 +- vrchatapi/models/friend_status.py | 2 +- ...roup.py => get_group_posts200_response.py} | 50 +- .../get_user_group_instances200_response.py | 2 +- vrchatapi/models/group.py | 2 +- vrchatapi/models/group_access_type.py | 2 +- vrchatapi/models/group_announcement.py | 2 +- vrchatapi/models/group_audit_log_entry.py | 2 +- vrchatapi/models/group_gallery.py | 2 +- vrchatapi/models/group_gallery_image.py | 2 +- vrchatapi/models/group_instance.py | 2 +- vrchatapi/models/group_join_request_action.py | 2 +- vrchatapi/models/group_join_state.py | 2 +- vrchatapi/models/group_limited_member.py | 2 +- vrchatapi/models/group_member.py | 2 +- vrchatapi/models/group_member_limited_user.py | 2 +- vrchatapi/models/group_member_status.py | 2 +- vrchatapi/models/group_my_member.py | 2 +- vrchatapi/models/group_permission.py | 2 +- vrchatapi/models/group_permissions.py | 2 +- vrchatapi/models/group_post.py | 2 +- vrchatapi/models/group_post_visibility.py | 2 +- vrchatapi/models/group_privacy.py | 2 +- vrchatapi/models/group_role.py | 2 +- vrchatapi/models/group_role_template.py | 2 +- vrchatapi/models/group_search_sort.py | 2 +- vrchatapi/models/group_user_visibility.py | 2 +- vrchatapi/models/info_push.py | 2 +- vrchatapi/models/info_push_data.py | 2 +- vrchatapi/models/info_push_data_article.py | 2 +- .../models/info_push_data_article_content.py | 2 +- vrchatapi/models/info_push_data_clickable.py | 2 +- vrchatapi/models/instance.py | 7 +- vrchatapi/models/instance_platforms.py | 2 +- vrchatapi/models/instance_region.py | 2 +- .../models/instance_short_name_response.py | 2 +- vrchatapi/models/instance_type.py | 2 +- vrchatapi/models/invite_message.py | 2 +- vrchatapi/models/invite_message_type.py | 2 +- vrchatapi/models/invite_request.py | 2 +- vrchatapi/models/invite_response.py | 2 +- vrchatapi/models/jam.py | 2 +- vrchatapi/models/jam_state_change_dates.py | 2 +- vrchatapi/models/license.py | 2 +- vrchatapi/models/license_action.py | 2 +- vrchatapi/models/license_group.py | 2 +- vrchatapi/models/license_type.py | 2 +- vrchatapi/models/limited_group.py | 2 +- vrchatapi/models/limited_unity_package.py | 2 +- vrchatapi/models/limited_user.py | 2 +- vrchatapi/models/limited_user_groups.py | 2 +- vrchatapi/models/limited_world.py | 2 +- vrchatapi/models/mime_type.py | 2 +- vrchatapi/models/model_print.py | 380 ++++++ vrchatapi/models/moderate_user_request.py | 2 +- vrchatapi/models/notification.py | 2 +- .../models/notification_detail_invite.py | 2 +- .../notification_detail_invite_response.py | 2 +- .../notification_detail_request_invite.py | 2 +- ...fication_detail_request_invite_response.py | 2 +- .../notification_detail_vote_to_kick.py | 2 +- vrchatapi/models/notification_type.py | 2 +- vrchatapi/models/order_option.py | 2 +- .../paginated_group_audit_log_entry_list.py | 2 +- vrchatapi/models/past_display_name.py | 2 +- vrchatapi/models/performance_limiter_info.py | 2 +- vrchatapi/models/performance_ratings.py | 2 +- vrchatapi/models/permission.py | 2 +- vrchatapi/models/platform_build_info.py | 2 +- vrchatapi/models/player_moderation.py | 2 +- vrchatapi/models/player_moderation_type.py | 2 +- vrchatapi/models/print_files.py | 159 +++ vrchatapi/models/product.py | 2 +- vrchatapi/models/product_listing.py | 2 +- vrchatapi/models/product_listing_type.py | 2 +- vrchatapi/models/product_listing_variant.py | 2 +- vrchatapi/models/product_type.py | 2 +- vrchatapi/models/region.py | 2 +- vrchatapi/models/release_status.py | 2 +- vrchatapi/models/report_category.py | 60 +- vrchatapi/models/report_reason.py | 2 +- vrchatapi/models/represented_group.py | 2 +- vrchatapi/models/request_invite_request.py | 2 +- .../models/respond_group_join_request.py | 2 +- vrchatapi/models/response.py | 2 +- vrchatapi/models/sent_notification.py | 2 +- vrchatapi/models/service_queue_stats.py | 132 ++ vrchatapi/models/service_status.py | 358 +++++ vrchatapi/models/sort_option.py | 2 +- vrchatapi/models/submission.py | 2 +- vrchatapi/models/subscription.py | 2 +- vrchatapi/models/subscription_period.py | 2 +- vrchatapi/models/success.py | 2 +- vrchatapi/models/tilia_status.py | 2 +- vrchatapi/models/tilia_tos.py | 2 +- vrchatapi/models/token_bundle.py | 2 +- vrchatapi/models/transaction.py | 2 +- vrchatapi/models/transaction_agreement.py | 2 +- vrchatapi/models/transaction_status.py | 2 +- vrchatapi/models/transaction_steam_info.py | 2 +- .../models/transaction_steam_wallet_info.py | 2 +- vrchatapi/models/two_factor_auth_code.py | 2 +- vrchatapi/models/two_factor_email_code.py | 2 +- vrchatapi/models/unity_package.py | 2 +- vrchatapi/models/update_avatar_request.py | 2 +- .../models/update_favorite_group_request.py | 2 +- .../models/update_group_gallery_request.py | 2 +- .../models/update_group_member_request.py | 2 +- vrchatapi/models/update_group_request.py | 2 +- vrchatapi/models/update_group_role_request.py | 2 +- .../models/update_invite_message_request.py | 2 +- vrchatapi/models/update_user_badge_request.py | 157 +++ vrchatapi/models/update_user_note_request.py | 2 +- vrchatapi/models/update_user_request.py | 2 +- vrchatapi/models/update_world_request.py | 2 +- vrchatapi/models/user.py | 2 +- vrchatapi/models/user_exists.py | 2 +- vrchatapi/models/user_note.py | 2 +- vrchatapi/models/user_note_target_user.py | 2 +- vrchatapi/models/user_state.py | 2 +- vrchatapi/models/user_status.py | 2 +- vrchatapi/models/user_subscription.py | 2 +- .../models/verify2_fa_email_code_result.py | 2 +- vrchatapi/models/verify2_fa_result.py | 2 +- vrchatapi/models/verify_auth_token_result.py | 2 +- vrchatapi/models/world.py | 2 +- vrchatapi/models/world_metadata.py | 2 +- vrchatapi/models/world_publish_status.py | 2 +- vrchatapi/rest.py | 2 +- 246 files changed, 5647 insertions(+), 953 deletions(-) create mode 100644 docs/ChangeUserTagsRequest.md delete mode 100644 docs/DeploymentGroup.md create mode 100644 docs/GetGroupPosts200Response.md create mode 100644 docs/ModelPrint.md create mode 100644 docs/PrintFiles.md create mode 100644 docs/PrintsApi.md create mode 100644 docs/ServiceQueueStats.md create mode 100644 docs/ServiceStatus.md create mode 100644 docs/UpdateUserBadgeRequest.md create mode 100644 vrchatapi/api/prints_api.py create mode 100644 vrchatapi/models/change_user_tags_request.py rename vrchatapi/models/{deployment_group.py => get_group_posts200_response.py} (71%) create mode 100644 vrchatapi/models/model_print.py create mode 100644 vrchatapi/models/print_files.py create mode 100644 vrchatapi/models/service_queue_stats.py create mode 100644 vrchatapi/models/service_status.py create mode 100644 vrchatapi/models/update_user_badge_request.py diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 29130070..faf94cc9 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -35,6 +35,7 @@ docs/AvatarsApi.md docs/Badge.md docs/Balance.md docs/BanGroupMemberRequest.md +docs/ChangeUserTagsRequest.md docs/CreateAvatarRequest.md docs/CreateFileRequest.md docs/CreateFileVersionRequest.md @@ -49,7 +50,6 @@ docs/CreateWorldRequest.md docs/CurrentUser.md docs/CurrentUserPlatformHistoryInner.md docs/CurrentUserPresence.md -docs/DeploymentGroup.md docs/DeveloperType.md docs/DynamicContentRow.md docs/EconomyApi.md @@ -75,6 +75,7 @@ docs/FilesApi.md docs/FinishFileDataUploadRequest.md docs/FriendStatus.md docs/FriendsApi.md +docs/GetGroupPosts200Response.md docs/GetUserGroupInstances200Response.md docs/Group.md docs/GroupAccessType.md @@ -129,6 +130,7 @@ docs/LimitedUser.md docs/LimitedUserGroups.md docs/LimitedWorld.md docs/MIMEType.md +docs/ModelPrint.md docs/ModerateUserRequest.md docs/Notification.md docs/NotificationDetailInvite.md @@ -149,6 +151,8 @@ docs/PlatformBuildInfo.md docs/PlayerModeration.md docs/PlayerModerationType.md docs/PlayermoderationApi.md +docs/PrintFiles.md +docs/PrintsApi.md docs/Product.md docs/ProductListing.md docs/ProductListingType.md @@ -163,6 +167,8 @@ docs/RequestInviteRequest.md docs/RespondGroupJoinRequest.md docs/Response.md docs/SentNotification.md +docs/ServiceQueueStats.md +docs/ServiceStatus.md docs/SortOption.md docs/Submission.md docs/Subscription.md @@ -187,6 +193,7 @@ docs/UpdateGroupMemberRequest.md docs/UpdateGroupRequest.md docs/UpdateGroupRoleRequest.md docs/UpdateInviteMessageRequest.md +docs/UpdateUserBadgeRequest.md docs/UpdateUserNoteRequest.md docs/UpdateUserRequest.md docs/UpdateWorldRequest.md @@ -226,6 +233,7 @@ vrchatapi/api/jams_api.py vrchatapi/api/notifications_api.py vrchatapi/api/permissions_api.py vrchatapi/api/playermoderation_api.py +vrchatapi/api/prints_api.py vrchatapi/api/system_api.py vrchatapi/api/users_api.py vrchatapi/api/worlds_api.py @@ -267,6 +275,7 @@ vrchatapi/models/avatar_unity_package_url_object.py vrchatapi/models/badge.py vrchatapi/models/balance.py vrchatapi/models/ban_group_member_request.py +vrchatapi/models/change_user_tags_request.py vrchatapi/models/create_avatar_request.py vrchatapi/models/create_file_request.py vrchatapi/models/create_file_version_request.py @@ -281,7 +290,6 @@ vrchatapi/models/create_world_request.py vrchatapi/models/current_user.py vrchatapi/models/current_user_platform_history_inner.py vrchatapi/models/current_user_presence.py -vrchatapi/models/deployment_group.py vrchatapi/models/developer_type.py vrchatapi/models/dynamic_content_row.py vrchatapi/models/error.py @@ -303,6 +311,7 @@ vrchatapi/models/file_version.py vrchatapi/models/file_version_upload_status.py vrchatapi/models/finish_file_data_upload_request.py vrchatapi/models/friend_status.py +vrchatapi/models/get_group_posts200_response.py vrchatapi/models/get_user_group_instances200_response.py vrchatapi/models/group.py vrchatapi/models/group_access_type.py @@ -353,6 +362,7 @@ vrchatapi/models/limited_user.py vrchatapi/models/limited_user_groups.py vrchatapi/models/limited_world.py vrchatapi/models/mime_type.py +vrchatapi/models/model_print.py vrchatapi/models/moderate_user_request.py vrchatapi/models/notification.py vrchatapi/models/notification_detail_invite.py @@ -370,6 +380,7 @@ vrchatapi/models/permission.py vrchatapi/models/platform_build_info.py vrchatapi/models/player_moderation.py vrchatapi/models/player_moderation_type.py +vrchatapi/models/print_files.py vrchatapi/models/product.py vrchatapi/models/product_listing.py vrchatapi/models/product_listing_type.py @@ -384,6 +395,8 @@ vrchatapi/models/request_invite_request.py vrchatapi/models/respond_group_join_request.py vrchatapi/models/response.py vrchatapi/models/sent_notification.py +vrchatapi/models/service_queue_stats.py +vrchatapi/models/service_status.py vrchatapi/models/sort_option.py vrchatapi/models/submission.py vrchatapi/models/subscription.py @@ -407,6 +420,7 @@ vrchatapi/models/update_group_member_request.py vrchatapi/models/update_group_request.py vrchatapi/models/update_group_role_request.py vrchatapi/models/update_invite_message_request.py +vrchatapi/models/update_user_badge_request.py vrchatapi/models/update_user_note_request.py vrchatapi/models/update_user_request.py vrchatapi/models/update_world_request.py diff --git a/docs/APIConfig.md b/docs/APIConfig.md index 8a595baa..59558668 100644 --- a/docs/APIConfig.md +++ b/docs/APIConfig.md @@ -17,11 +17,9 @@ Name | Type | Description | Notes **announcements** | [**list[APIConfigAnnouncement]**](APIConfigAnnouncement.md) | Public Announcements | **analytics_segment_new_ui_pct_of_users** | **int** | Unknown | **analytics_segment_new_ui_salt** | **str** | Unknown | -**app_name** | **str** | Game name | [default to 'VrChat'] **available_language_codes** | **list[str]** | List of supported Languages | **available_languages** | **list[str]** | List of supported Languages | **avatar_perf_limiter** | [**APIConfigAvatarPerfLimiter**](APIConfigAvatarPerfLimiter.md) | | -**build_version_tag** | **str** | Build tag of the API server | **chatbox_log_buffer_seconds** | **int** | Unknown | [default to 40] **client_api_key** | **str** | apiKey to be used for all other requests | **client_bps_ceiling** | **int** | Unknown | [default to 18432] @@ -46,7 +44,6 @@ Name | Type | Description | Notes **current_tos_version** | **int** | Current version number of the Terms of Service | **default_avatar** | **str** | | **default_sticker_set** | **str** | | -**deployment_group** | [**DeploymentGroup**](DeploymentGroup.md) | | **dev_language_codes** | **list[str]** | Unknown | [optional] **dev_sdk_url** | **str** | Link to download the development SDK, use downloadUrls instead | **dev_sdk_version** | **str** | Version of the development SDK | @@ -100,7 +97,6 @@ Name | Type | Description | Notes **sdk_discord_url** | **str** | Link to the official VRChat Discord | **sdk_not_allowed_to_publish_message** | **str** | Used in the SDK to notify a user they aren't allowed to upload avatars/worlds yet | **sdk_unity_version** | **str** | Unity version supported by the SDK | -**server_name** | **str** | Server name of the API server currently responding | **string_host_url_list** | **list[str]** | A list of explicitly allowed origins that worlds can request strings from via the Udon's [VRCStringDownloader.LoadUrl](https://creators.vrchat.com/worlds/udon/string-loading/#ivrcstringdownload). | **support_email** | **str** | VRChat's support email | **support_form_url** | **str** | VRChat's support form | @@ -118,6 +114,7 @@ Name | Type | Description | Notes **white_listed_asset_urls** | **list[str]** | List of allowed URLs that are allowed to host avatar assets | **player_url_resolver_version** | **str** | Currently used youtube-dl.exe version | **player_url_resolver_sha1** | **str** | Currently used youtube-dl.exe hash in SHA1-delimited format | +**public_key** | **str** | Public key, hex encoded | **websocket_max_friends_refresh_delay** | **int** | Unknown | [default to 900] **websocket_quick_reconnect_time** | **int** | Unknown | [default to 2] **websocket_reconnect_max_delay** | **int** | Unknown | [default to 2] diff --git a/docs/APIConfigReportCategories.md b/docs/APIConfigReportCategories.md index 79d4c2a7..6fcd75fd 100644 --- a/docs/APIConfigReportCategories.md +++ b/docs/APIConfigReportCategories.md @@ -6,6 +6,7 @@ Categories available for reporting objectionable content Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **avatar** | [**ReportCategory**](ReportCategory.md) | | +**avatarpage** | [**ReportCategory**](ReportCategory.md) | | [optional] **behavior** | [**ReportCategory**](ReportCategory.md) | | **chat** | [**ReportCategory**](ReportCategory.md) | | **emoji** | [**ReportCategory**](ReportCategory.md) | | [optional] diff --git a/docs/APIConfigReportOptionsAvatar.md b/docs/APIConfigReportOptionsAvatar.md index 8d1001d9..c9415e81 100644 --- a/docs/APIConfigReportOptionsAvatar.md +++ b/docs/APIConfigReportOptionsAvatar.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **avatar** | **list[str]** | | [optional] +**avatarpage** | **list[str]** | | [optional] **warnings** | **list[str]** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/APIConfigReportReasons.md b/docs/APIConfigReportReasons.md index 821fd975..8ff34b6f 100644 --- a/docs/APIConfigReportReasons.md +++ b/docs/APIConfigReportReasons.md @@ -8,6 +8,8 @@ Name | Type | Description | Notes **billing** | [**ReportReason**](ReportReason.md) | | **botting** | [**ReportReason**](ReportReason.md) | | **cancellation** | [**ReportReason**](ReportReason.md) | | +**copyright** | [**ReportReason**](ReportReason.md) | | [optional] +**fraud** | [**ReportReason**](ReportReason.md) | | [optional] **gore** | [**ReportReason**](ReportReason.md) | | **hacking** | [**ReportReason**](ReportReason.md) | | **harassing** | [**ReportReason**](ReportReason.md) | | @@ -22,6 +24,7 @@ Name | Type | Description | Notes **security** | [**ReportReason**](ReportReason.md) | | **service** | [**ReportReason**](ReportReason.md) | | **sexual** | [**ReportReason**](ReportReason.md) | | +**technical** | [**ReportReason**](ReportReason.md) | | [optional] **threatening** | [**ReportReason**](ReportReason.md) | | **visuals** | [**ReportReason**](ReportReason.md) | | diff --git a/docs/AvatarsApi.md b/docs/AvatarsApi.md index cfd9d4c2..211e21ba 100644 --- a/docs/AvatarsApi.md +++ b/docs/AvatarsApi.md @@ -6,8 +6,12 @@ Method | HTTP request | Description ------------- | ------------- | ------------- [**create_avatar**](AvatarsApi.md#create_avatar) | **POST** /avatars | Create Avatar [**delete_avatar**](AvatarsApi.md#delete_avatar) | **DELETE** /avatars/{avatarId} | Delete Avatar +[**delete_impostor**](AvatarsApi.md#delete_impostor) | **DELETE** /avatars/{avatarId}/impostor | Delete generated Impostor +[**enqueue_impostor**](AvatarsApi.md#enqueue_impostor) | **POST** /avatars/{avatarId}/impostor/enqueue | Enqueue Impostor generation [**get_avatar**](AvatarsApi.md#get_avatar) | **GET** /avatars/{avatarId} | Get Avatar [**get_favorited_avatars**](AvatarsApi.md#get_favorited_avatars) | **GET** /avatars/favorites | List Favorited Avatars +[**get_impostor_queue_stats**](AvatarsApi.md#get_impostor_queue_stats) | **GET** /avatars/impostor/queue/stats | Get Impostor Queue Stats +[**get_licensed_avatars**](AvatarsApi.md#get_licensed_avatars) | **GET** /avatars/licensed | List Licensed Avatars [**get_own_avatar**](AvatarsApi.md#get_own_avatar) | **GET** /users/{userId}/avatar | Get Own Avatar [**search_avatars**](AvatarsApi.md#search_avatars) | **GET** /avatars | Search Avatars [**select_avatar**](AvatarsApi.md#select_avatar) | **PUT** /avatars/{avatarId}/select | Select Avatar @@ -164,6 +168,155 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **delete_impostor** +> delete_impostor(avatar_id) + +Delete generated Impostor + +Delete generated Impostor for that avatar. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.AvatarsApi(api_client) + avatar_id = 'avatar_id_example' # str | Must be a valid avatar ID. + + try: + # Delete generated Impostor + api_instance.delete_impostor(avatar_id) + except ApiException as e: + print("Exception when calling AvatarsApi->delete_impostor: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **avatar_id** | **str**| Must be a valid avatar ID. | + +### Return type + +void (empty response body) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | The Impostors generated for that avatar are deleted. | - | +**401** | Error response due to missing auth cookie. | - | +**404** | Error response when trying to show information about a non-existent avatar. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **enqueue_impostor** +> ServiceStatus enqueue_impostor(avatar_id) + +Enqueue Impostor generation + +Enqueue Impostor generation for that avatar. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.AvatarsApi(api_client) + avatar_id = 'avatar_id_example' # str | Must be a valid avatar ID. + + try: + # Enqueue Impostor generation + api_response = api_instance.enqueue_impostor(avatar_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling AvatarsApi->enqueue_impostor: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **avatar_id** | **str**| Must be a valid avatar ID. | + +### Return type + +[**ServiceStatus**](ServiceStatus.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a Service Status. | - | +**401** | Error response due to missing auth cookie. | - | +**404** | Error response when trying to show information about a non-existent avatar. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_avatar** > Avatar get_avatar(avatar_id) @@ -338,6 +491,152 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_impostor_queue_stats** +> ServiceQueueStats get_impostor_queue_stats() + +Get Impostor Queue Stats + +Gets service stats for queued impostor. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.AvatarsApi(api_client) + + try: + # Get Impostor Queue Stats + api_response = api_instance.get_impostor_queue_stats() + pprint(api_response) + except ApiException as e: + print("Exception when calling AvatarsApi->get_impostor_queue_stats: %s\n" % e) +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**ServiceQueueStats**](ServiceQueueStats.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a Service Queue Stats. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_licensed_avatars** +> list[Avatar] get_licensed_avatars(n=n, offset=offset) + +List Licensed Avatars + +List licensed avatars. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.AvatarsApi(api_client) + n = 60 # int | The number of objects to return. (optional) (default to 60) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) + + try: + # List Licensed Avatars + api_response = api_instance.get_licensed_avatars(n=n, offset=offset) + pprint(api_response) + except ApiException as e: + print("Exception when calling AvatarsApi->get_licensed_avatars: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + +### Return type + +[**list[Avatar]**](Avatar.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of Avatar objects. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_own_avatar** > Avatar get_own_avatar(user_id) diff --git a/docs/ChangeUserTagsRequest.md b/docs/ChangeUserTagsRequest.md new file mode 100644 index 00000000..7f8bd2a0 --- /dev/null +++ b/docs/ChangeUserTagsRequest.md @@ -0,0 +1,11 @@ +# ChangeUserTagsRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**tags** | **list[str]** | The tags being added or removed. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CurrentUser.md b/docs/CurrentUser.md index eb9e7b34..ba9f1db9 100644 --- a/docs/CurrentUser.md +++ b/docs/CurrentUser.md @@ -16,7 +16,6 @@ Name | Type | Description | Notes **bio** | **str** | | **bio_links** | **list[str]** | | **current_avatar** | **str** | | -**current_avatar_asset_url** | **str** | | **current_avatar_image_url** | **str** | When profilePicOverride is not empty, use it instead. | **current_avatar_thumbnail_image_url** | **str** | When profilePicOverride is not empty, use it instead. | **current_avatar_tags** | **list[str]** | | diff --git a/docs/DeploymentGroup.md b/docs/DeploymentGroup.md deleted file mode 100644 index 0db2a3e8..00000000 --- a/docs/DeploymentGroup.md +++ /dev/null @@ -1,11 +0,0 @@ -# DeploymentGroup - -Used to identify which API deployment cluster is currently responding. `blue` and `green` are used by Production. `grape`and `cherry` are used during Development. [Blue Green Deployment by Martin Fowler](https://martinfowler.com/bliki/BlueGreenDeployment.html) - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/FavoritesApi.md b/docs/FavoritesApi.md index 37a61b86..893dc10c 100644 --- a/docs/FavoritesApi.md +++ b/docs/FavoritesApi.md @@ -6,7 +6,6 @@ Method | HTTP request | Description ------------- | ------------- | ------------- [**add_favorite**](FavoritesApi.md#add_favorite) | **POST** /favorites | Add Favorite [**clear_favorite_group**](FavoritesApi.md#clear_favorite_group) | **DELETE** /favorite/group/{favoriteGroupType}/{favoriteGroupName}/{userId} | Clear Favorite Group -[**get_favorite**](FavoritesApi.md#get_favorite) | **GET** /favorites/{favoriteId} | Show Favorite [**get_favorite_group**](FavoritesApi.md#get_favorite_group) | **GET** /favorite/group/{favoriteGroupType}/{favoriteGroupName}/{userId} | Show Favorite Group [**get_favorite_groups**](FavoritesApi.md#get_favorite_groups) | **GET** /favorite/groups | List Favorite Groups [**get_favorite_limits**](FavoritesApi.md#get_favorite_limits) | **GET** /auth/user/favoritelimits | Get Favorite Limits @@ -167,81 +166,6 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_favorite** -> Favorite get_favorite(favorite_id) - -Show Favorite - -Return information about a specific Favorite. - -### Example - -* Api Key Authentication (authCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.FavoritesApi(api_client) - favorite_id = 'favorite_id_example' # str | Must be a valid favorite ID. - - try: - # Show Favorite - api_response = api_instance.get_favorite(favorite_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling FavoritesApi->get_favorite: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **favorite_id** | **str**| Must be a valid favorite ID. | - -### Return type - -[**Favorite**](Favorite.md) - -### Authorization - -[authCookie](../README.md#authCookie) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Returns a single Favorite object. | - | -**401** | Error response due to missing auth cookie. | - | -**404** | Error response when trying to show information about a non-existent favorite. | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - # **get_favorite_group** > FavoriteGroup get_favorite_group(favorite_group_type, favorite_group_name, user_id) diff --git a/docs/FileAnalysis.md b/docs/FileAnalysis.md index 1c78d446..ac6a0750 100644 --- a/docs/FileAnalysis.md +++ b/docs/FileAnalysis.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **avatar_stats** | [**FileAnalysisAvatarStats**](FileAnalysisAvatarStats.md) | | **created_at** | **datetime** | | [optional] **file_size** | **int** | | +**performance_rating** | **str** | | [optional] **success** | **bool** | | **uncompressed_size** | **int** | | diff --git a/docs/GetGroupPosts200Response.md b/docs/GetGroupPosts200Response.md new file mode 100644 index 00000000..f12bc197 --- /dev/null +++ b/docs/GetGroupPosts200Response.md @@ -0,0 +1,11 @@ +# GetGroupPosts200Response + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**posts** | [**list[GroupPost]**](GroupPost.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GroupsApi.md b/docs/GroupsApi.md index 0f3c824b..1e3499b9 100644 --- a/docs/GroupsApi.md +++ b/docs/GroupsApi.md @@ -31,7 +31,7 @@ Method | HTTP request | Description [**get_group_member**](GroupsApi.md#get_group_member) | **GET** /groups/{groupId}/members/{userId} | Get Group Member [**get_group_members**](GroupsApi.md#get_group_members) | **GET** /groups/{groupId}/members | List Group Members [**get_group_permissions**](GroupsApi.md#get_group_permissions) | **GET** /groups/{groupId}/permissions | List Group Permissions -[**get_group_post**](GroupsApi.md#get_group_post) | **GET** /groups/{groupId}/posts | Get posts from a Group +[**get_group_posts**](GroupsApi.md#get_group_posts) | **GET** /groups/{groupId}/posts | Get posts from a Group [**get_group_requests**](GroupsApi.md#get_group_requests) | **GET** /groups/{groupId}/requests | Get Group Join Requests [**get_group_roles**](GroupsApi.md#get_group_roles) | **GET** /groups/{groupId}/roles | Get Group Roles [**join_group**](GroupsApi.md#join_group) | **POST** /groups/{groupId}/join | Join Group @@ -2152,8 +2152,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_group_post** -> GroupPost get_group_post(group_id, n=n, offset=offset, public_only=public_only) +# **get_group_posts** +> GetGroupPosts200Response get_group_posts(group_id, n=n, offset=offset, public_only=public_only) Get posts from a Group @@ -2196,10 +2196,10 @@ public_only = True # bool | See public posts only. (optional) try: # Get posts from a Group - api_response = api_instance.get_group_post(group_id, n=n, offset=offset, public_only=public_only) + api_response = api_instance.get_group_posts(group_id, n=n, offset=offset, public_only=public_only) pprint(api_response) except ApiException as e: - print("Exception when calling GroupsApi->get_group_post: %s\n" % e) + print("Exception when calling GroupsApi->get_group_posts: %s\n" % e) ``` ### Parameters @@ -2213,7 +2213,7 @@ Name | Type | Description | Notes ### Return type -[**GroupPost**](GroupPost.md) +[**GetGroupPosts200Response**](GetGroupPosts200Response.md) ### Authorization @@ -2227,7 +2227,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a GroupPost object. | - | +**200** | Returns a GroupPost Array. | - | **401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/Instance.md b/docs/Instance.md index 41a45dcc..e97e4173 100644 --- a/docs/Instance.md +++ b/docs/Instance.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes **client_number** | **str** | Always returns \"unknown\". | **display_name** | **str** | | **full** | **bool** | | [default to False] -**game_server_version** | **int** | | +**game_server_version** | **int** | | [optional] **id** | **str** | InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. | **instance_id** | **str** | | **instance_persistence_enabled** | **str** | | diff --git a/docs/ModelPrint.md b/docs/ModelPrint.md new file mode 100644 index 00000000..b3ee54e2 --- /dev/null +++ b/docs/ModelPrint.md @@ -0,0 +1,21 @@ +# ModelPrint + +Info about a print + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**author_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**author_name** | **str** | | +**created_at** | **datetime** | | +**files** | [**PrintFiles**](PrintFiles.md) | | +**id** | **str** | | +**note** | **str** | | +**owner_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] +**timestamp** | **datetime** | | +**world_id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | +**world_name** | **str** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/PrintFiles.md b/docs/PrintFiles.md new file mode 100644 index 00000000..0b6eae29 --- /dev/null +++ b/docs/PrintFiles.md @@ -0,0 +1,12 @@ +# PrintFiles + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**file_id** | **str** | | [optional] +**image** | **str** | Link to file, e.g. https://api.vrchat.cloud/api/1/file/file_66fe782d-f2bd-4462-9761-1d766d7b2b26/1/file | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/PrintsApi.md b/docs/PrintsApi.md new file mode 100644 index 00000000..2969fb7f --- /dev/null +++ b/docs/PrintsApi.md @@ -0,0 +1,233 @@ +# vrchatapi.PrintsApi + +All URIs are relative to *https://api.vrchat.cloud/api/1* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**delete_print**](PrintsApi.md#delete_print) | **DELETE** /prints/{printId} | Delete Print +[**get_print**](PrintsApi.md#get_print) | **GET** /prints/{printId} | Get Print +[**get_user_prints**](PrintsApi.md#get_user_prints) | **GET** /prints/user/{userId} | Get Own Prints + + +# **delete_print** +> delete_print(print_id) + +Delete Print + +Returns a print. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.PrintsApi(api_client) + print_id = 'prnt_0a0aa0a0-85ea-42eb-b2f7-4840d7f341fa' # str | Print ID. + + try: + # Delete Print + api_instance.delete_print(print_id) + except ApiException as e: + print("Exception when calling PrintsApi->delete_print: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **print_id** | **str**| Print ID. | + +### Return type + +void (empty response body) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Empty response if successful | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_print** +> ModelPrint get_print(print_id) + +Get Print + +Returns a print. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.PrintsApi(api_client) + print_id = 'prnt_0a0aa0a0-85ea-42eb-b2f7-4840d7f341fa' # str | Print ID. + + try: + # Get Print + api_response = api_instance.get_print(print_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling PrintsApi->get_print: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **print_id** | **str**| Print ID. | + +### Return type + +[**ModelPrint**](ModelPrint.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single Print object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_user_prints** +> list[ModelPrint] get_user_prints(user_id) + +Get Own Prints + +Returns a list of all prints of the user. User id has to be your own userId, as you can't request other user's prints. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.PrintsApi(api_client) + user_id = 'user_id_example' # str | Must be a valid user ID. + + try: + # Get Own Prints + api_response = api_instance.get_user_prints(user_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling PrintsApi->get_user_prints: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | + +### Return type + +[**list[ModelPrint]**](ModelPrint.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of Print objects. | - | +**401** | Error response due to missing auth cookie. | - | +**403** | Error response when trying to request another user's prints. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/ReportCategory.md b/docs/ReportCategory.md index 8cc37534..a28870bc 100644 --- a/docs/ReportCategory.md +++ b/docs/ReportCategory.md @@ -5,6 +5,8 @@ A category used for reporting content ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**description** | **str** | The description of the report category | [optional] +**title** | **str** | The title of the report category | [optional] **text** | **str** | The label of the report category | **tooltip** | **str** | The tooltip that describes the category | diff --git a/docs/ServiceQueueStats.md b/docs/ServiceQueueStats.md new file mode 100644 index 00000000..daf2648d --- /dev/null +++ b/docs/ServiceQueueStats.md @@ -0,0 +1,12 @@ +# ServiceQueueStats + +Statistics about the user's currently queued service request + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**estimated_service_duration_seconds** | **int** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ServiceStatus.md b/docs/ServiceStatus.md new file mode 100644 index 00000000..409fac09 --- /dev/null +++ b/docs/ServiceStatus.md @@ -0,0 +1,20 @@ +# ServiceStatus + +Status information for a service request + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**created_at** | **datetime** | | +**id** | **str** | The id of this service, NOT the id of the thing this service was requested for. | +**progress** | **list[object]** | | +**requester_user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**state** | **str** | | +**subject_id** | **str** | The id of the thing this service was requested for. | +**subject_type** | **str** | The kind of the thing this service was requested for. | +**type** | **str** | The kind of service that was requested. | +**updated_at** | **datetime** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/UpdateUserBadgeRequest.md b/docs/UpdateUserBadgeRequest.md new file mode 100644 index 00000000..3781c9b7 --- /dev/null +++ b/docs/UpdateUserBadgeRequest.md @@ -0,0 +1,12 @@ +# UpdateUserBadgeRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**hidden** | **bool** | | [optional] +**showcased** | **bool** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/UsersApi.md b/docs/UsersApi.md index 6f03eab4..1e70515a 100644 --- a/docs/UsersApi.md +++ b/docs/UsersApi.md @@ -4,6 +4,9 @@ All URIs are relative to *https://api.vrchat.cloud/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- +[**add_tags**](UsersApi.md#add_tags) | **POST** /users/{userId}/addTags | Add User Tags +[**check_user_persistence_exists**](UsersApi.md#check_user_persistence_exists) | **GET** /users/{userId}/{worldId}/persist/exists | Check User Persistence Exists +[**delete_user_persistence**](UsersApi.md#delete_user_persistence) | **DELETE** /users/{userId}/{worldId}/persist | Delete User Persistence [**get_user**](UsersApi.md#get_user) | **GET** /users/{userId} | Get User by ID [**get_user_by_name**](UsersApi.md#get_user_by_name) | **GET** /users/{username}/name | Get User by Username [**get_user_feedback**](UsersApi.md#get_user_feedback) | **GET** /users/{userId}/feedback | Get User Feedback @@ -13,11 +16,242 @@ Method | HTTP request | Description [**get_user_note**](UsersApi.md#get_user_note) | **GET** /userNotes/{userNoteId} | Get User Note [**get_user_notes**](UsersApi.md#get_user_notes) | **GET** /userNotes | Get User Notes [**get_user_represented_group**](UsersApi.md#get_user_represented_group) | **GET** /users/{userId}/groups/represented | Get user's current represented group +[**remove_tags**](UsersApi.md#remove_tags) | **POST** /users/{userId}/removeTags | Remove User Tags [**search_users**](UsersApi.md#search_users) | **GET** /users | Search All Users +[**update_badge**](UsersApi.md#update_badge) | **PUT** /users/{userId}/badges/{badgeId} | Update User Badge [**update_user**](UsersApi.md#update_user) | **PUT** /users/{userId} | Update User Info [**update_user_note**](UsersApi.md#update_user_note) | **POST** /userNotes | Update User Note +# **add_tags** +> CurrentUser add_tags(user_id, change_user_tags_request) + +Add User Tags + +Adds tags to the user's profile + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.UsersApi(api_client) + user_id = 'user_id_example' # str | Must be a valid user ID. +change_user_tags_request = vrchatapi.ChangeUserTagsRequest() # ChangeUserTagsRequest | + + try: + # Add User Tags + api_response = api_instance.add_tags(user_id, change_user_tags_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling UsersApi->add_tags: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | + **change_user_tags_request** | [**ChangeUserTagsRequest**](ChangeUserTagsRequest.md)| | + +### Return type + +[**CurrentUser**](CurrentUser.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single CurrentUser object. | - | +**400** | Error response when a user attempts to add an invalid, restricted, or duplicate tag to their profile, attempts to add tags above the limit for their profile, or attempts to remove invalid, restricted, or absent tag from their profile. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **check_user_persistence_exists** +> check_user_persistence_exists(user_id, world_id) + +Check User Persistence Exists + +Checks whether the user has persistence data for a given world + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.UsersApi(api_client) + user_id = 'user_id_example' # str | Must be a valid user ID. +world_id = 'world_id_example' # str | Must be a valid world ID. + + try: + # Check User Persistence Exists + api_instance.check_user_persistence_exists(user_id, world_id) + except ApiException as e: + print("Exception when calling UsersApi->check_user_persistence_exists: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | + **world_id** | **str**| Must be a valid world ID. | + +### Return type + +void (empty response body) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | The user has persistence data for the given world. | - | +**401** | Error response due to missing auth cookie. | - | +**404** | The user does not have persistence data for the given world. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_user_persistence** +> delete_user_persistence(user_id, world_id) + +Delete User Persistence + +Deletes the user's persistence data for a given world + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.UsersApi(api_client) + user_id = 'user_id_example' # str | Must be a valid user ID. +world_id = 'world_id_example' # str | Must be a valid world ID. + + try: + # Delete User Persistence + api_instance.delete_user_persistence(user_id, world_id) + except ApiException as e: + print("Exception when calling UsersApi->delete_user_persistence: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | + **world_id** | **str**| Must be a valid world ID. | + +### Return type + +void (empty response body) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | The user's persistence data for the given world is deleted. | - | +**401** | Error response due to missing auth cookie. | - | +**404** | The user does not have persistence data for the given world. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_user** > User get_user(user_id) @@ -693,6 +927,83 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **remove_tags** +> CurrentUser remove_tags(user_id, change_user_tags_request) + +Remove User Tags + +Removes tags from the user's profile + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.UsersApi(api_client) + user_id = 'user_id_example' # str | Must be a valid user ID. +change_user_tags_request = vrchatapi.ChangeUserTagsRequest() # ChangeUserTagsRequest | + + try: + # Remove User Tags + api_response = api_instance.remove_tags(user_id, change_user_tags_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling UsersApi->remove_tags: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | + **change_user_tags_request** | [**ChangeUserTagsRequest**](ChangeUserTagsRequest.md)| | + +### Return type + +[**CurrentUser**](CurrentUser.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single CurrentUser object. | - | +**400** | Error response when a user attempts to add an invalid, restricted, or duplicate tag to their profile, attempts to add tags above the limit for their profile, or attempts to remove invalid, restricted, or absent tag from their profile. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **search_users** > list[LimitedUser] search_users(search=search, developer_type=developer_type, n=n, offset=offset) @@ -774,6 +1085,85 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **update_badge** +> update_badge(user_id, badge_id, update_user_badge_request) + +Update User Badge + +Updates a user's badge + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.UsersApi(api_client) + user_id = 'user_id_example' # str | Must be a valid user ID. +badge_id = 'badge_id_example' # str | Must be a valid badge ID. +update_user_badge_request = vrchatapi.UpdateUserBadgeRequest() # UpdateUserBadgeRequest | + + try: + # Update User Badge + api_instance.update_badge(user_id, badge_id, update_user_badge_request) + except ApiException as e: + print("Exception when calling UsersApi->update_badge: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | + **badge_id** | **str**| Must be a valid badge ID. | + **update_user_badge_request** | [**UpdateUserBadgeRequest**](UpdateUserBadgeRequest.md)| | + +### Return type + +void (empty response body) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | The user's badge is updated. | - | +**401** | Error response due to missing auth cookie. | - | +**403** | Error response when trying get group instances of another user. | - | +**404** | The user does not have the badge. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **update_user** > CurrentUser update_user(user_id, update_user_request=update_user_request) diff --git a/docs/WorldsApi.md b/docs/WorldsApi.md index 937caf60..b2461ba7 100644 --- a/docs/WorldsApi.md +++ b/docs/WorldsApi.md @@ -4,7 +4,9 @@ All URIs are relative to *https://api.vrchat.cloud/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- +[**check_user_persistence_exists**](WorldsApi.md#check_user_persistence_exists) | **GET** /users/{userId}/{worldId}/persist/exists | Check User Persistence Exists [**create_world**](WorldsApi.md#create_world) | **POST** /worlds | Create World +[**delete_user_persistence**](WorldsApi.md#delete_user_persistence) | **DELETE** /users/{userId}/{worldId}/persist | Delete User Persistence [**delete_world**](WorldsApi.md#delete_world) | **DELETE** /worlds/{worldId} | Delete World [**get_active_worlds**](WorldsApi.md#get_active_worlds) | **GET** /worlds/active | List Active Worlds [**get_favorited_worlds**](WorldsApi.md#get_favorited_worlds) | **GET** /worlds/favorites | List Favorited Worlds @@ -19,6 +21,82 @@ Method | HTTP request | Description [**update_world**](WorldsApi.md#update_world) | **PUT** /worlds/{worldId} | Update World +# **check_user_persistence_exists** +> check_user_persistence_exists(user_id, world_id) + +Check User Persistence Exists + +Checks whether the user has persistence data for a given world + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.WorldsApi(api_client) + user_id = 'user_id_example' # str | Must be a valid user ID. +world_id = 'world_id_example' # str | Must be a valid world ID. + + try: + # Check User Persistence Exists + api_instance.check_user_persistence_exists(user_id, world_id) + except ApiException as e: + print("Exception when calling WorldsApi->check_user_persistence_exists: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | + **world_id** | **str**| Must be a valid world ID. | + +### Return type + +void (empty response body) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | The user has persistence data for the given world. | - | +**401** | Error response due to missing auth cookie. | - | +**404** | The user does not have persistence data for the given world. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **create_world** > World create_world(create_world_request=create_world_request) @@ -83,6 +161,82 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **delete_user_persistence** +> delete_user_persistence(user_id, world_id) + +Delete User Persistence + +Deletes the user's persistence data for a given world + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.WorldsApi(api_client) + user_id = 'user_id_example' # str | Must be a valid user ID. +world_id = 'world_id_example' # str | Must be a valid world ID. + + try: + # Delete User Persistence + api_instance.delete_user_persistence(user_id, world_id) + except ApiException as e: + print("Exception when calling WorldsApi->delete_user_persistence: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | + **world_id** | **str**| Must be a valid world ID. | + +### Return type + +void (empty response body) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | The user's persistence data for the given world is deleted. | - | +**401** | Error response due to missing auth cookie. | - | +**404** | The user does not have persistence data for the given world. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **delete_world** > delete_world(world_id) diff --git a/package-lock.json b/package-lock.json index 8edeb25f..f96bc4bf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.16.3" + "@openapitools/openapi-generator-cli": "^2.19.1" } }, "node_modules/@lukeed/csprng": { @@ -17,21 +17,23 @@ } }, "node_modules/@nestjs/axios": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/@nestjs/axios/-/axios-3.1.3.tgz", - "integrity": "sha512-RZ/63c1tMxGLqyG3iOCVt7A72oy4x1eM6QEhd4KzCYpaVWW0igq0WSREeRoEZhIxRcZfDfIIkvsOMiM7yfVGZQ==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@nestjs/axios/-/axios-4.0.0.tgz", + "integrity": "sha512-1cB+Jyltu/uUPNQrpUimRHEQHrnQrpLzVj6dU3dgn6iDDDdahr10TgHFGTmw5VuJ9GzKZsCLDL78VSwJAs/9JQ==", "peerDependencies": { - "@nestjs/common": "^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0", + "@nestjs/common": "^10.0.0 || ^11.0.0", "axios": "^1.3.1", - "rxjs": "^6.0.0 || ^7.0.0" + "rxjs": "^7.0.0" } }, "node_modules/@nestjs/common": { - "version": "10.4.15", - "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-10.4.15.tgz", - "integrity": "sha512-vaLg1ZgwhG29BuLDxPA9OAcIlgqzp9/N8iG0wGapyUNTf4IY4O6zAHgN6QalwLhFxq7nOI021vdRojR1oF3bqg==", + "version": "11.0.20", + "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-11.0.20.tgz", + "integrity": "sha512-/GH8NDCczjn6+6RNEtSNAts/nq/wQE8L1qZ9TRjqjNqEsZNE1vpFuRIhmcO2isQZ0xY5rySnpaRdrOAul3gQ3A==", "dependencies": { + "file-type": "20.4.1", "iterare": "1.2.1", + "load-esm": "1.0.2", "tslib": "2.8.1", "uid": "2.0.2" }, @@ -55,27 +57,30 @@ } }, "node_modules/@nestjs/core": { - "version": "10.4.15", - "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-10.4.15.tgz", - "integrity": "sha512-UBejmdiYwaH6fTsz2QFBlC1cJHM+3UDeLZN+CiP9I1fRv2KlBZsmozGLbV5eS1JAVWJB4T5N5yQ0gjN8ZvcS2w==", + "version": "11.0.20", + "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-11.0.20.tgz", + "integrity": "sha512-yUkEzBGiRNSEThVl6vMCXgoA9sDGWoRbJsTLdYdCC7lg7PE1iXBnna1FiBfQjT995pm0fjyM1e3WsXmyWeJXbw==", "hasInstallScript": true, "dependencies": { - "@nuxtjs/opencollective": "0.3.2", + "@nuxt/opencollective": "0.4.1", "fast-safe-stringify": "2.1.1", "iterare": "1.2.1", - "path-to-regexp": "3.3.0", + "path-to-regexp": "8.2.0", "tslib": "2.8.1", "uid": "2.0.2" }, + "engines": { + "node": ">= 20" + }, "funding": { "type": "opencollective", "url": "https://opencollective.com/nest" }, "peerDependencies": { - "@nestjs/common": "^10.0.0", - "@nestjs/microservices": "^10.0.0", - "@nestjs/platform-express": "^10.0.0", - "@nestjs/websockets": "^10.0.0", + "@nestjs/common": "^11.0.0", + "@nestjs/microservices": "^11.0.0", + "@nestjs/platform-express": "^11.0.0", + "@nestjs/websockets": "^11.0.0", "reflect-metadata": "^0.1.12 || ^0.2.0", "rxjs": "^7.1.0" }, @@ -91,6 +96,21 @@ } } }, + "node_modules/@nuxt/opencollective": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@nuxt/opencollective/-/opencollective-0.4.1.tgz", + "integrity": "sha512-GXD3wy50qYbxCJ652bDrDzgMr3NFEkIS374+IgFQKkCvk9yiYcLvX2XDYr7UyQxf4wK0e+yqDYRubZ0DtOxnmQ==", + "dependencies": { + "consola": "^3.2.3" + }, + "bin": { + "opencollective": "bin/opencollective.js" + }, + "engines": { + "node": "^14.18.0 || >=16.10.0", + "npm": ">=5.10.0" + } + }, "node_modules/@nuxtjs/opencollective": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/@nuxtjs/opencollective/-/opencollective-0.3.2.tgz", @@ -108,29 +128,34 @@ "npm": ">=5.0.0" } }, + "node_modules/@nuxtjs/opencollective/node_modules/consola": { + "version": "2.15.3", + "resolved": "https://registry.npmjs.org/consola/-/consola-2.15.3.tgz", + "integrity": "sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw==" + }, "node_modules/@openapitools/openapi-generator-cli": { - "version": "2.16.3", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.16.3.tgz", - "integrity": "sha512-HUpxQW45MLoWruXPvwnS2p6PkbnEIeWuDq4AembALRNGbIbg158k3peBCIbnn4PzGura9TnhaPPjOl3BF5PinQ==", + "version": "2.19.1", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.19.1.tgz", + "integrity": "sha512-APP3EPI/m7bg220qS+7UAFiyLJFbNCjlsEEjrP2sLmW4Za44U8e3Lb2zDy3sbvJvIUnpYWe+hu9RbrxrPP9djQ==", "hasInstallScript": true, "dependencies": { - "@nestjs/axios": "3.1.3", - "@nestjs/common": "10.4.15", - "@nestjs/core": "10.4.15", + "@nestjs/axios": "4.0.0", + "@nestjs/common": "11.0.20", + "@nestjs/core": "11.0.20", "@nuxtjs/opencollective": "0.3.2", - "axios": "1.7.9", + "axios": "1.8.4", "chalk": "4.1.2", "commander": "8.3.0", "compare-versions": "4.1.4", "concurrently": "6.5.1", "console.table": "0.10.0", - "fs-extra": "10.1.0", + "fs-extra": "11.3.0", "glob": "9.3.5", "inquirer": "8.2.6", "lodash": "4.17.21", "proxy-agent": "6.5.0", - "reflect-metadata": "0.1.13", - "rxjs": "7.8.1", + "reflect-metadata": "0.2.2", + "rxjs": "7.8.2", "tslib": "2.8.1" }, "bin": { @@ -144,6 +169,28 @@ "url": "https://opencollective.com/openapi_generator" } }, + "node_modules/@tokenizer/inflate": { + "version": "0.2.7", + "resolved": "https://registry.npmjs.org/@tokenizer/inflate/-/inflate-0.2.7.tgz", + "integrity": "sha512-MADQgmZT1eKjp06jpI2yozxaU9uVs4GzzgSL+uEq7bVcJ9V1ZXQkeGNql1fsSI0gMy1vhvNTNbUqrx+pZfJVmg==", + "dependencies": { + "debug": "^4.4.0", + "fflate": "^0.8.2", + "token-types": "^6.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Borewit" + } + }, + "node_modules/@tokenizer/token": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@tokenizer/token/-/token-0.3.0.tgz", + "integrity": "sha512-OvjF+z51L3ov0OyAU0duzsYuvO01PH7x4t6DJx+guahgTnBHkhJdG7soQeTSFLWN3efnHyibZ4Z8l2EuWwJN3A==" + }, "node_modules/@tootallnate/quickjs-emscripten": { "version": "0.23.0", "resolved": "https://registry.npmjs.org/@tootallnate/quickjs-emscripten/-/quickjs-emscripten-0.23.0.tgz", @@ -210,9 +257,9 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "node_modules/axios": { - "version": "1.7.9", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.9.tgz", - "integrity": "sha512-LhLcE7Hbiryz8oMDdDptSrWowmB4Bl6RCt6sIJKpRB4XtVf0iEgewX3au/pJqm+Py1kCASkb/FFKjxQaLtxJvw==", + "version": "1.8.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.8.4.tgz", + "integrity": "sha512-eBSYY4Y68NNlHbHBMdeDmKNtDgXWhQsJcGqzO3iLUM0GraQFSS9cVgPX5I9b3lbdFKyYoAEGAZF1DwhTaljNAw==", "dependencies": { "follow-redirects": "^1.15.6", "form-data": "^4.0.0", @@ -464,9 +511,12 @@ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" }, "node_modules/consola": { - "version": "2.15.3", - "resolved": "https://registry.npmjs.org/consola/-/consola-2.15.3.tgz", - "integrity": "sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw==" + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/consola/-/consola-3.4.2.tgz", + "integrity": "sha512-5IKcdX0nnYavi6G7TtOhwkYzyjfJlatbjMjuLSfE2kYT5pMDOilZ4OvMhi637CcDICTmz3wARPoyhqyX1Y+XvA==", + "engines": { + "node": "^14.18.0 || >=16.10.0" + } }, "node_modules/console.table": { "version": "0.10.0", @@ -693,6 +743,11 @@ "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz", "integrity": "sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==" }, + "node_modules/fflate": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/fflate/-/fflate-0.8.2.tgz", + "integrity": "sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==" + }, "node_modules/figures": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", @@ -707,6 +762,23 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/file-type": { + "version": "20.4.1", + "resolved": "https://registry.npmjs.org/file-type/-/file-type-20.4.1.tgz", + "integrity": "sha512-hw9gNZXUfZ02Jo0uafWLaFVPter5/k2rfcrjFJJHX/77xtSDOfJuEFb6oKlFV86FLP1SuyHMW1PSk0U9M5tKkQ==", + "dependencies": { + "@tokenizer/inflate": "^0.2.6", + "strtok3": "^10.2.0", + "token-types": "^6.0.0", + "uint8array-extras": "^1.4.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sindresorhus/file-type?sponsor=1" + } + }, "node_modules/follow-redirects": { "version": "1.15.9", "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz", @@ -741,16 +813,16 @@ } }, "node_modules/fs-extra": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", - "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", + "version": "11.3.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.0.tgz", + "integrity": "sha512-Z4XaCL6dUDHfP/jT25jJKMmtxvuwbkrD1vNSMFlo9lNLY2c5FHYSQgHPRZUjAB26TpDEoW9HCOgplrdbaPV/ew==", "dependencies": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", "universalify": "^2.0.0" }, "engines": { - "node": ">=12" + "node": ">=14.14" } }, "node_modules/fs.realpath": { @@ -1059,6 +1131,24 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/load-esm": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/load-esm/-/load-esm-1.0.2.tgz", + "integrity": "sha512-nVAvWk/jeyrWyXEAs84mpQCYccxRqgKY4OznLuJhJCa0XsPSfdOIr2zvBZEj3IHEHbX97jjscKRRV539bW0Gpw==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/Borewit" + }, + { + "type": "buymeacoffee", + "url": "https://buymeacoffee.com/borewit" + } + ], + "engines": { + "node": ">=13.2.0" + } + }, "node_modules/lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", @@ -1276,9 +1366,24 @@ } }, "node_modules/path-to-regexp": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-3.3.0.tgz", - "integrity": "sha512-qyCH421YQPS2WFDxDjftfc1ZR5WKQzVzqsp4n9M2kQhVOo/ByahFoUNJfl58kOcEGfQ//7weFTDhm+ss8Ecxgw==" + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.2.0.tgz", + "integrity": "sha512-TdrF7fW9Rphjq4RjrW0Kp2AW0Ahwu9sRGTkS6bvDi0SCwZlEZYmcfDbEsTz8RVk0EHIS/Vd1bv3JhG+1xZuAyQ==", + "engines": { + "node": ">=16" + } + }, + "node_modules/peek-readable": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/peek-readable/-/peek-readable-7.0.0.tgz", + "integrity": "sha512-nri2TO5JE3/mRryik9LlHFT53cgHfRK0Lt0BAZQXku/AW3E6XLt2GaY8siWi7dvW/m1z0ecn+J+bpDa9ZN3IsQ==", + "engines": { + "node": ">=18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Borewit" + } }, "node_modules/proxy-agent": { "version": "6.5.0", @@ -1325,9 +1430,9 @@ } }, "node_modules/reflect-metadata": { - "version": "0.1.13", - "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.1.13.tgz", - "integrity": "sha512-Ts1Y/anZELhSsjMcU605fU9RE4Oi3p5ORujwbIKXfWa+0Zxs510Qrmrce5/Jowq3cHSZSJqBjypxmHarc+vEWg==" + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.2.2.tgz", + "integrity": "sha512-urBwgfrvVP/eAyXx4hluJivBKzuEbSQs9rKWCrCkbSxNv8mxPcUZKeuoF3Uy4mJl3Lwprp6yy5/39VWigZ4K6Q==" }, "node_modules/require-directory": { "version": "2.1.1", @@ -1358,9 +1463,9 @@ } }, "node_modules/rxjs": { - "version": "7.8.1", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", - "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", + "version": "7.8.2", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.2.tgz", + "integrity": "sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==", "dependencies": { "tslib": "^2.1.0" } @@ -1480,6 +1585,22 @@ "node": ">=8" } }, + "node_modules/strtok3": { + "version": "10.2.2", + "resolved": "https://registry.npmjs.org/strtok3/-/strtok3-10.2.2.tgz", + "integrity": "sha512-Xt18+h4s7Z8xyZ0tmBoRmzxcop97R4BAh+dXouUDCYn+Em+1P3qpkUfI5ueWLT8ynC5hZ+q4iPEmGG1urvQGBg==", + "dependencies": { + "@tokenizer/token": "^0.3.0", + "peek-readable": "^7.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Borewit" + } + }, "node_modules/supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -1507,6 +1628,22 @@ "node": ">=0.6.0" } }, + "node_modules/token-types": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/token-types/-/token-types-6.0.0.tgz", + "integrity": "sha512-lbDrTLVsHhOMljPscd0yitpozq7Ga2M5Cvez5AjGg8GASBjtt6iERCAJ93yommPmz62fb45oFIXHEZ3u9bfJEA==", + "dependencies": { + "@tokenizer/token": "^0.3.0", + "ieee754": "^1.2.1" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Borewit" + } + }, "node_modules/tr46": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", @@ -1547,10 +1684,21 @@ "node": ">=8" } }, + "node_modules/uint8array-extras": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/uint8array-extras/-/uint8array-extras-1.4.0.tgz", + "integrity": "sha512-ZPtzy0hu4cZjv3z5NW9gfKnNLjoz4y6uv4HlelAjDK7sY/xOkKZv9xK/WQpcsBB3jEybChz9DPC2U/+cusjJVQ==", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", "engines": { "node": ">= 10.0.0" } @@ -1639,34 +1787,44 @@ "integrity": "sha512-Z7C/xXCiGWsg0KuKsHTKJxbWhpI3Vs5GwLfOean7MGyVFGqdRgBbAjOCh6u4bbjPc/8MJ2pZmK/0DLdCbivLDA==" }, "@nestjs/axios": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/@nestjs/axios/-/axios-3.1.3.tgz", - "integrity": "sha512-RZ/63c1tMxGLqyG3iOCVt7A72oy4x1eM6QEhd4KzCYpaVWW0igq0WSREeRoEZhIxRcZfDfIIkvsOMiM7yfVGZQ==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@nestjs/axios/-/axios-4.0.0.tgz", + "integrity": "sha512-1cB+Jyltu/uUPNQrpUimRHEQHrnQrpLzVj6dU3dgn6iDDDdahr10TgHFGTmw5VuJ9GzKZsCLDL78VSwJAs/9JQ==", "requires": {} }, "@nestjs/common": { - "version": "10.4.15", - "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-10.4.15.tgz", - "integrity": "sha512-vaLg1ZgwhG29BuLDxPA9OAcIlgqzp9/N8iG0wGapyUNTf4IY4O6zAHgN6QalwLhFxq7nOI021vdRojR1oF3bqg==", + "version": "11.0.20", + "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-11.0.20.tgz", + "integrity": "sha512-/GH8NDCczjn6+6RNEtSNAts/nq/wQE8L1qZ9TRjqjNqEsZNE1vpFuRIhmcO2isQZ0xY5rySnpaRdrOAul3gQ3A==", "requires": { + "file-type": "20.4.1", "iterare": "1.2.1", + "load-esm": "1.0.2", "tslib": "2.8.1", "uid": "2.0.2" } }, "@nestjs/core": { - "version": "10.4.15", - "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-10.4.15.tgz", - "integrity": "sha512-UBejmdiYwaH6fTsz2QFBlC1cJHM+3UDeLZN+CiP9I1fRv2KlBZsmozGLbV5eS1JAVWJB4T5N5yQ0gjN8ZvcS2w==", + "version": "11.0.20", + "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-11.0.20.tgz", + "integrity": "sha512-yUkEzBGiRNSEThVl6vMCXgoA9sDGWoRbJsTLdYdCC7lg7PE1iXBnna1FiBfQjT995pm0fjyM1e3WsXmyWeJXbw==", "requires": { - "@nuxtjs/opencollective": "0.3.2", + "@nuxt/opencollective": "0.4.1", "fast-safe-stringify": "2.1.1", "iterare": "1.2.1", - "path-to-regexp": "3.3.0", + "path-to-regexp": "8.2.0", "tslib": "2.8.1", "uid": "2.0.2" } }, + "@nuxt/opencollective": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@nuxt/opencollective/-/opencollective-0.4.1.tgz", + "integrity": "sha512-GXD3wy50qYbxCJ652bDrDzgMr3NFEkIS374+IgFQKkCvk9yiYcLvX2XDYr7UyQxf4wK0e+yqDYRubZ0DtOxnmQ==", + "requires": { + "consola": "^3.2.3" + } + }, "@nuxtjs/opencollective": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/@nuxtjs/opencollective/-/opencollective-0.3.2.tgz", @@ -1675,33 +1833,55 @@ "chalk": "^4.1.0", "consola": "^2.15.0", "node-fetch": "^2.6.1" + }, + "dependencies": { + "consola": { + "version": "2.15.3", + "resolved": "https://registry.npmjs.org/consola/-/consola-2.15.3.tgz", + "integrity": "sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw==" + } } }, "@openapitools/openapi-generator-cli": { - "version": "2.16.3", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.16.3.tgz", - "integrity": "sha512-HUpxQW45MLoWruXPvwnS2p6PkbnEIeWuDq4AembALRNGbIbg158k3peBCIbnn4PzGura9TnhaPPjOl3BF5PinQ==", + "version": "2.19.1", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.19.1.tgz", + "integrity": "sha512-APP3EPI/m7bg220qS+7UAFiyLJFbNCjlsEEjrP2sLmW4Za44U8e3Lb2zDy3sbvJvIUnpYWe+hu9RbrxrPP9djQ==", "requires": { - "@nestjs/axios": "3.1.3", - "@nestjs/common": "10.4.15", - "@nestjs/core": "10.4.15", + "@nestjs/axios": "4.0.0", + "@nestjs/common": "11.0.20", + "@nestjs/core": "11.0.20", "@nuxtjs/opencollective": "0.3.2", - "axios": "1.7.9", + "axios": "1.8.4", "chalk": "4.1.2", "commander": "8.3.0", "compare-versions": "4.1.4", "concurrently": "6.5.1", "console.table": "0.10.0", - "fs-extra": "10.1.0", + "fs-extra": "11.3.0", "glob": "9.3.5", "inquirer": "8.2.6", "lodash": "4.17.21", "proxy-agent": "6.5.0", - "reflect-metadata": "0.1.13", - "rxjs": "7.8.1", + "reflect-metadata": "0.2.2", + "rxjs": "7.8.2", "tslib": "2.8.1" } }, + "@tokenizer/inflate": { + "version": "0.2.7", + "resolved": "https://registry.npmjs.org/@tokenizer/inflate/-/inflate-0.2.7.tgz", + "integrity": "sha512-MADQgmZT1eKjp06jpI2yozxaU9uVs4GzzgSL+uEq7bVcJ9V1ZXQkeGNql1fsSI0gMy1vhvNTNbUqrx+pZfJVmg==", + "requires": { + "debug": "^4.4.0", + "fflate": "^0.8.2", + "token-types": "^6.0.0" + } + }, + "@tokenizer/token": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@tokenizer/token/-/token-0.3.0.tgz", + "integrity": "sha512-OvjF+z51L3ov0OyAU0duzsYuvO01PH7x4t6DJx+guahgTnBHkhJdG7soQeTSFLWN3efnHyibZ4Z8l2EuWwJN3A==" + }, "@tootallnate/quickjs-emscripten": { "version": "0.23.0", "resolved": "https://registry.npmjs.org/@tootallnate/quickjs-emscripten/-/quickjs-emscripten-0.23.0.tgz", @@ -1747,9 +1927,9 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "axios": { - "version": "1.7.9", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.9.tgz", - "integrity": "sha512-LhLcE7Hbiryz8oMDdDptSrWowmB4Bl6RCt6sIJKpRB4XtVf0iEgewX3au/pJqm+Py1kCASkb/FFKjxQaLtxJvw==", + "version": "1.8.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.8.4.tgz", + "integrity": "sha512-eBSYY4Y68NNlHbHBMdeDmKNtDgXWhQsJcGqzO3iLUM0GraQFSS9cVgPX5I9b3lbdFKyYoAEGAZF1DwhTaljNAw==", "requires": { "follow-redirects": "^1.15.6", "form-data": "^4.0.0", @@ -1924,9 +2104,9 @@ } }, "consola": { - "version": "2.15.3", - "resolved": "https://registry.npmjs.org/consola/-/consola-2.15.3.tgz", - "integrity": "sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw==" + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/consola/-/consola-3.4.2.tgz", + "integrity": "sha512-5IKcdX0nnYavi6G7TtOhwkYzyjfJlatbjMjuLSfE2kYT5pMDOilZ4OvMhi637CcDICTmz3wARPoyhqyX1Y+XvA==" }, "console.table": { "version": "0.10.0", @@ -2080,6 +2260,11 @@ "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz", "integrity": "sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==" }, + "fflate": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/fflate/-/fflate-0.8.2.tgz", + "integrity": "sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==" + }, "figures": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", @@ -2088,6 +2273,17 @@ "escape-string-regexp": "^1.0.5" } }, + "file-type": { + "version": "20.4.1", + "resolved": "https://registry.npmjs.org/file-type/-/file-type-20.4.1.tgz", + "integrity": "sha512-hw9gNZXUfZ02Jo0uafWLaFVPter5/k2rfcrjFJJHX/77xtSDOfJuEFb6oKlFV86FLP1SuyHMW1PSk0U9M5tKkQ==", + "requires": { + "@tokenizer/inflate": "^0.2.6", + "strtok3": "^10.2.0", + "token-types": "^6.0.0", + "uint8array-extras": "^1.4.0" + } + }, "follow-redirects": { "version": "1.15.9", "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz", @@ -2105,9 +2301,9 @@ } }, "fs-extra": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", - "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", + "version": "11.3.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.0.tgz", + "integrity": "sha512-Z4XaCL6dUDHfP/jT25jJKMmtxvuwbkrD1vNSMFlo9lNLY2c5FHYSQgHPRZUjAB26TpDEoW9HCOgplrdbaPV/ew==", "requires": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", @@ -2325,6 +2521,11 @@ "universalify": "^2.0.0" } }, + "load-esm": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/load-esm/-/load-esm-1.0.2.tgz", + "integrity": "sha512-nVAvWk/jeyrWyXEAs84mpQCYccxRqgKY4OznLuJhJCa0XsPSfdOIr2zvBZEj3IHEHbX97jjscKRRV539bW0Gpw==" + }, "lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", @@ -2473,9 +2674,14 @@ } }, "path-to-regexp": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-3.3.0.tgz", - "integrity": "sha512-qyCH421YQPS2WFDxDjftfc1ZR5WKQzVzqsp4n9M2kQhVOo/ByahFoUNJfl58kOcEGfQ//7weFTDhm+ss8Ecxgw==" + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.2.0.tgz", + "integrity": "sha512-TdrF7fW9Rphjq4RjrW0Kp2AW0Ahwu9sRGTkS6bvDi0SCwZlEZYmcfDbEsTz8RVk0EHIS/Vd1bv3JhG+1xZuAyQ==" + }, + "peek-readable": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/peek-readable/-/peek-readable-7.0.0.tgz", + "integrity": "sha512-nri2TO5JE3/mRryik9LlHFT53cgHfRK0Lt0BAZQXku/AW3E6XLt2GaY8siWi7dvW/m1z0ecn+J+bpDa9ZN3IsQ==" }, "proxy-agent": { "version": "6.5.0", @@ -2515,9 +2721,9 @@ } }, "reflect-metadata": { - "version": "0.1.13", - "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.1.13.tgz", - "integrity": "sha512-Ts1Y/anZELhSsjMcU605fU9RE4Oi3p5ORujwbIKXfWa+0Zxs510Qrmrce5/Jowq3cHSZSJqBjypxmHarc+vEWg==" + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.2.2.tgz", + "integrity": "sha512-urBwgfrvVP/eAyXx4hluJivBKzuEbSQs9rKWCrCkbSxNv8mxPcUZKeuoF3Uy4mJl3Lwprp6yy5/39VWigZ4K6Q==" }, "require-directory": { "version": "2.1.1", @@ -2539,9 +2745,9 @@ "integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==" }, "rxjs": { - "version": "7.8.1", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", - "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", + "version": "7.8.2", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.2.tgz", + "integrity": "sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==", "requires": { "tslib": "^2.1.0" } @@ -2627,6 +2833,15 @@ "ansi-regex": "^5.0.1" } }, + "strtok3": { + "version": "10.2.2", + "resolved": "https://registry.npmjs.org/strtok3/-/strtok3-10.2.2.tgz", + "integrity": "sha512-Xt18+h4s7Z8xyZ0tmBoRmzxcop97R4BAh+dXouUDCYn+Em+1P3qpkUfI5ueWLT8ynC5hZ+q4iPEmGG1urvQGBg==", + "requires": { + "@tokenizer/token": "^0.3.0", + "peek-readable": "^7.0.0" + } + }, "supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -2648,6 +2863,15 @@ "os-tmpdir": "~1.0.2" } }, + "token-types": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/token-types/-/token-types-6.0.0.tgz", + "integrity": "sha512-lbDrTLVsHhOMljPscd0yitpozq7Ga2M5Cvez5AjGg8GASBjtt6iERCAJ93yommPmz62fb45oFIXHEZ3u9bfJEA==", + "requires": { + "@tokenizer/token": "^0.3.0", + "ieee754": "^1.2.1" + } + }, "tr46": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", @@ -2676,10 +2900,15 @@ "@lukeed/csprng": "^1.0.0" } }, + "uint8array-extras": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/uint8array-extras/-/uint8array-extras-1.4.0.tgz", + "integrity": "sha512-ZPtzy0hu4cZjv3z5NW9gfKnNLjoz4y6uv4HlelAjDK7sY/xOkKZv9xK/WQpcsBB3jEybChz9DPC2U/+cusjJVQ==" + }, "universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==" + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==" }, "util-deprecate": { "version": "1.0.2", diff --git a/package.json b/package.json index fcef1c25..25369916 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.16.3" + "@openapitools/openapi-generator-cli": "^2.19.1" } } diff --git a/setup.py b/setup.py index d54e987a..6bbb03ca 100644 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.19.1" +VERSION = "1.19.2" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index d6e476ba..0b339905 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,7 +6,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -30,6 +30,7 @@ from vrchatapi.api.notifications_api import NotificationsApi from vrchatapi.api.permissions_api import PermissionsApi from vrchatapi.api.playermoderation_api import PlayermoderationApi +from vrchatapi.api.prints_api import PrintsApi from vrchatapi.api.system_api import SystemApi from vrchatapi.api.users_api import UsersApi from vrchatapi.api.worlds_api import WorldsApi @@ -78,6 +79,7 @@ from vrchatapi.models.badge import Badge from vrchatapi.models.balance import Balance from vrchatapi.models.ban_group_member_request import BanGroupMemberRequest +from vrchatapi.models.change_user_tags_request import ChangeUserTagsRequest from vrchatapi.models.create_avatar_request import CreateAvatarRequest from vrchatapi.models.create_file_request import CreateFileRequest from vrchatapi.models.create_file_version_request import CreateFileVersionRequest @@ -92,7 +94,6 @@ from vrchatapi.models.current_user import CurrentUser from vrchatapi.models.current_user_platform_history_inner import CurrentUserPlatformHistoryInner from vrchatapi.models.current_user_presence import CurrentUserPresence -from vrchatapi.models.deployment_group import DeploymentGroup from vrchatapi.models.developer_type import DeveloperType from vrchatapi.models.dynamic_content_row import DynamicContentRow from vrchatapi.models.error import Error @@ -114,6 +115,7 @@ from vrchatapi.models.file_version_upload_status import FileVersionUploadStatus from vrchatapi.models.finish_file_data_upload_request import FinishFileDataUploadRequest from vrchatapi.models.friend_status import FriendStatus +from vrchatapi.models.get_group_posts200_response import GetGroupPosts200Response from vrchatapi.models.get_user_group_instances200_response import GetUserGroupInstances200Response from vrchatapi.models.group import Group from vrchatapi.models.group_access_type import GroupAccessType @@ -164,6 +166,7 @@ from vrchatapi.models.limited_user_groups import LimitedUserGroups from vrchatapi.models.limited_world import LimitedWorld from vrchatapi.models.mime_type import MIMEType +from vrchatapi.models.model_print import ModelPrint from vrchatapi.models.moderate_user_request import ModerateUserRequest from vrchatapi.models.notification import Notification from vrchatapi.models.notification_detail_invite import NotificationDetailInvite @@ -181,6 +184,7 @@ from vrchatapi.models.platform_build_info import PlatformBuildInfo from vrchatapi.models.player_moderation import PlayerModeration from vrchatapi.models.player_moderation_type import PlayerModerationType +from vrchatapi.models.print_files import PrintFiles from vrchatapi.models.product import Product from vrchatapi.models.product_listing import ProductListing from vrchatapi.models.product_listing_type import ProductListingType @@ -195,6 +199,8 @@ from vrchatapi.models.respond_group_join_request import RespondGroupJoinRequest from vrchatapi.models.response import Response from vrchatapi.models.sent_notification import SentNotification +from vrchatapi.models.service_queue_stats import ServiceQueueStats +from vrchatapi.models.service_status import ServiceStatus from vrchatapi.models.sort_option import SortOption from vrchatapi.models.submission import Submission from vrchatapi.models.subscription import Subscription @@ -218,6 +224,7 @@ from vrchatapi.models.update_group_request import UpdateGroupRequest from vrchatapi.models.update_group_role_request import UpdateGroupRoleRequest from vrchatapi.models.update_invite_message_request import UpdateInviteMessageRequest +from vrchatapi.models.update_user_badge_request import UpdateUserBadgeRequest from vrchatapi.models.update_user_note_request import UpdateUserNoteRequest from vrchatapi.models.update_user_request import UpdateUserRequest from vrchatapi.models.update_world_request import UpdateWorldRequest diff --git a/vrchatapi/api/__init__.py b/vrchatapi/api/__init__.py index 2c4f268e..6e5e9c8e 100644 --- a/vrchatapi/api/__init__.py +++ b/vrchatapi/api/__init__.py @@ -16,6 +16,7 @@ from vrchatapi.api.notifications_api import NotificationsApi from vrchatapi.api.permissions_api import PermissionsApi from vrchatapi.api.playermoderation_api import PlayermoderationApi +from vrchatapi.api.prints_api import PrintsApi from vrchatapi.api.system_api import SystemApi from vrchatapi.api.users_api import UsersApi from vrchatapi.api.worlds_api import WorldsApi diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index 67527b53..068eda03 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index 98680d33..ac66ae62 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -318,6 +318,280 @@ def delete_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def delete_impostor(self, avatar_id, **kwargs): # noqa: E501 + """Delete generated Impostor # noqa: E501 + + Delete generated Impostor for that avatar. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_impostor(avatar_id, async_req=True) + >>> result = thread.get() + + :param avatar_id: Must be a valid avatar ID. (required) + :type avatar_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + kwargs['_return_http_data_only'] = True + return self.delete_impostor_with_http_info(avatar_id, **kwargs) # noqa: E501 + + def delete_impostor_with_http_info(self, avatar_id, **kwargs): # noqa: E501 + """Delete generated Impostor # noqa: E501 + + Delete generated Impostor for that avatar. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_impostor_with_http_info(avatar_id, async_req=True) + >>> result = thread.get() + + :param avatar_id: Must be a valid avatar ID. (required) + :type avatar_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + + local_var_params = locals() + + all_params = [ + 'avatar_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_impostor" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'avatar_id' is set + if self.api_client.client_side_validation and local_var_params.get('avatar_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `avatar_id` when calling `delete_impostor`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'avatar_id' in local_var_params: + path_params['avatarId'] = local_var_params['avatar_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = {} + + return self.api_client.call_api( + '/avatars/{avatarId}/impostor', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def enqueue_impostor(self, avatar_id, **kwargs): # noqa: E501 + """Enqueue Impostor generation # noqa: E501 + + Enqueue Impostor generation for that avatar. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.enqueue_impostor(avatar_id, async_req=True) + >>> result = thread.get() + + :param avatar_id: Must be a valid avatar ID. (required) + :type avatar_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: ServiceStatus + """ + kwargs['_return_http_data_only'] = True + return self.enqueue_impostor_with_http_info(avatar_id, **kwargs) # noqa: E501 + + def enqueue_impostor_with_http_info(self, avatar_id, **kwargs): # noqa: E501 + """Enqueue Impostor generation # noqa: E501 + + Enqueue Impostor generation for that avatar. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.enqueue_impostor_with_http_info(avatar_id, async_req=True) + >>> result = thread.get() + + :param avatar_id: Must be a valid avatar ID. (required) + :type avatar_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(ServiceStatus, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'avatar_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method enqueue_impostor" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'avatar_id' is set + if self.api_client.client_side_validation and local_var_params.get('avatar_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `avatar_id` when calling `enqueue_impostor`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'avatar_id' in local_var_params: + path_params['avatarId'] = local_var_params['avatar_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "ServiceStatus", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/avatars/{avatarId}/impostor/enqueue', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def get_avatar(self, avatar_id, **kwargs): # noqa: E501 """Get Avatar # noqa: E501 @@ -683,6 +957,282 @@ def get_favorited_avatars_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def get_impostor_queue_stats(self, **kwargs): # noqa: E501 + """Get Impostor Queue Stats # noqa: E501 + + Gets service stats for queued impostor. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_impostor_queue_stats(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: ServiceQueueStats + """ + kwargs['_return_http_data_only'] = True + return self.get_impostor_queue_stats_with_http_info(**kwargs) # noqa: E501 + + def get_impostor_queue_stats_with_http_info(self, **kwargs): # noqa: E501 + """Get Impostor Queue Stats # noqa: E501 + + Gets service stats for queued impostor. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_impostor_queue_stats_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(ServiceQueueStats, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_impostor_queue_stats" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "ServiceQueueStats", + 401: "Error", + } + + return self.api_client.call_api( + '/avatars/impostor/queue/stats', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_licensed_avatars(self, **kwargs): # noqa: E501 + """List Licensed Avatars # noqa: E501 + + List licensed avatars. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_licensed_avatars(async_req=True) + >>> result = thread.get() + + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[Avatar] + """ + kwargs['_return_http_data_only'] = True + return self.get_licensed_avatars_with_http_info(**kwargs) # noqa: E501 + + def get_licensed_avatars_with_http_info(self, **kwargs): # noqa: E501 + """List Licensed Avatars # noqa: E501 + + List licensed avatars. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_licensed_avatars_with_http_info(async_req=True) + >>> result = thread.get() + + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[Avatar], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'n', + 'offset' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_licensed_avatars" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_licensed_avatars`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_licensed_avatars`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_licensed_avatars`, must be a value greater than or equal to `0`") # noqa: E501 + collection_formats = {} + + path_params = {} + + query_params = [] + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[Avatar]", + 401: "Error", + } + + return self.api_client.call_api( + '/avatars/licensed', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def get_own_avatar(self, user_id, **kwargs): # noqa: E501 """Get Own Avatar # noqa: E501 diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 3bcf8db5..69b9b840 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index cb2cbb00..4822e547 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -337,145 +337,6 @@ def clear_favorite_group_with_http_info(self, favorite_group_type, favorite_grou collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_favorite(self, favorite_id, **kwargs): # noqa: E501 - """Show Favorite # noqa: E501 - - Return information about a specific Favorite. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_favorite(favorite_id, async_req=True) - >>> result = thread.get() - - :param favorite_id: Must be a valid favorite ID. (required) - :type favorite_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: Favorite - """ - kwargs['_return_http_data_only'] = True - return self.get_favorite_with_http_info(favorite_id, **kwargs) # noqa: E501 - - def get_favorite_with_http_info(self, favorite_id, **kwargs): # noqa: E501 - """Show Favorite # noqa: E501 - - Return information about a specific Favorite. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_favorite_with_http_info(favorite_id, async_req=True) - >>> result = thread.get() - - :param favorite_id: Must be a valid favorite ID. (required) - :type favorite_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _return_http_data_only: response data without head status code - and headers - :type _return_http_data_only: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(Favorite, status_code(int), headers(HTTPHeaderDict)) - """ - - local_var_params = locals() - - all_params = [ - 'favorite_id' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method get_favorite" % key - ) - local_var_params[key] = val - del local_var_params['kwargs'] - # verify the required parameter 'favorite_id' is set - if self.api_client.client_side_validation and local_var_params.get('favorite_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `favorite_id` when calling `get_favorite`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'favorite_id' in local_var_params: - path_params['favoriteId'] = local_var_params['favorite_id'] # noqa: E501 - - query_params = [] - - header_params = dict(local_var_params.get('_headers', {})) - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['authCookie'] # noqa: E501 - - response_types_map = { - 200: "Favorite", - 401: "Error", - 404: "Error", - } - - return self.api_client.call_api( - '/favorites/{favoriteId}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_types_map=response_types_map, - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats, - _request_auth=local_var_params.get('_request_auth')) - def get_favorite_group(self, favorite_group_type, favorite_group_name, user_id, **kwargs): # noqa: E501 """Show Favorite Group # noqa: E501 diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index db4e6c70..89fe1a31 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index 65ef729d..6a550f21 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index 050679ac..2fcfd84d 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -4189,14 +4189,14 @@ def get_group_permissions_with_http_info(self, group_id, **kwargs): # noqa: E50 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_group_post(self, group_id, **kwargs): # noqa: E501 + def get_group_posts(self, group_id, **kwargs): # noqa: E501 """Get posts from a Group # noqa: E501 Get posts from a Group # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_group_post(group_id, async_req=True) + >>> thread = api.get_group_posts(group_id, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) @@ -4220,19 +4220,19 @@ def get_group_post(self, group_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: GroupPost + :rtype: GetGroupPosts200Response """ kwargs['_return_http_data_only'] = True - return self.get_group_post_with_http_info(group_id, **kwargs) # noqa: E501 + return self.get_group_posts_with_http_info(group_id, **kwargs) # noqa: E501 - def get_group_post_with_http_info(self, group_id, **kwargs): # noqa: E501 + def get_group_posts_with_http_info(self, group_id, **kwargs): # noqa: E501 """Get posts from a Group # noqa: E501 Get posts from a Group # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_group_post_with_http_info(group_id, async_req=True) + >>> thread = api.get_group_posts_with_http_info(group_id, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) @@ -4264,7 +4264,7 @@ def get_group_post_with_http_info(self, group_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(GroupPost, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(GetGroupPosts200Response, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() @@ -4291,20 +4291,20 @@ def get_group_post_with_http_info(self, group_id, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_group_post" % key + " to method get_group_posts" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_post`") # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_posts`") # noqa: E501 if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 - raise ApiValueError("Invalid value for parameter `n` when calling `get_group_post`, must be a value less than or equal to `100`") # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_group_posts`, must be a value less than or equal to `100`") # noqa: E501 if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 - raise ApiValueError("Invalid value for parameter `n` when calling `get_group_post`, must be a value greater than or equal to `1`") # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_group_posts`, must be a value greater than or equal to `1`") # noqa: E501 if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 - raise ApiValueError("Invalid value for parameter `offset` when calling `get_group_post`, must be a value greater than or equal to `0`") # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_group_posts`, must be a value greater than or equal to `0`") # noqa: E501 collection_formats = {} path_params = {} @@ -4333,7 +4333,7 @@ def get_group_post_with_http_info(self, group_id, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "GroupPost", + 200: "GetGroupPosts200Response", 401: "Error", } diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 539db2c0..2d7dafa9 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index 4ab395af..dd45030a 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/jams_api.py b/vrchatapi/api/jams_api.py index c3c592d3..bb95b11b 100644 --- a/vrchatapi/api/jams_api.py +++ b/vrchatapi/api/jams_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index 3a083944..d05a9189 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index 2a62babd..ff37a53d 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index c8a80440..437ef7c6 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/prints_api.py b/vrchatapi/api/prints_api.py new file mode 100644 index 00000000..3c47eea9 --- /dev/null +++ b/vrchatapi/api/prints_api.py @@ -0,0 +1,449 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.19.2 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from vrchatapi.api_client import ApiClient +from vrchatapi.exceptions import ( # noqa: F401 + ApiTypeError, + ApiValueError +) + + +class PrintsApi(object): + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def delete_print(self, print_id, **kwargs): # noqa: E501 + """Delete Print # noqa: E501 + + Returns a print. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_print(print_id, async_req=True) + >>> result = thread.get() + + :param print_id: Print ID. (required) + :type print_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + kwargs['_return_http_data_only'] = True + return self.delete_print_with_http_info(print_id, **kwargs) # noqa: E501 + + def delete_print_with_http_info(self, print_id, **kwargs): # noqa: E501 + """Delete Print # noqa: E501 + + Returns a print. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_print_with_http_info(print_id, async_req=True) + >>> result = thread.get() + + :param print_id: Print ID. (required) + :type print_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + + local_var_params = locals() + + all_params = [ + 'print_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_print" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'print_id' is set + if self.api_client.client_side_validation and local_var_params.get('print_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `print_id` when calling `delete_print`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'print_id' in local_var_params: + path_params['printId'] = local_var_params['print_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = {} + + return self.api_client.call_api( + '/prints/{printId}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_print(self, print_id, **kwargs): # noqa: E501 + """Get Print # noqa: E501 + + Returns a print. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_print(print_id, async_req=True) + >>> result = thread.get() + + :param print_id: Print ID. (required) + :type print_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: ModelPrint + """ + kwargs['_return_http_data_only'] = True + return self.get_print_with_http_info(print_id, **kwargs) # noqa: E501 + + def get_print_with_http_info(self, print_id, **kwargs): # noqa: E501 + """Get Print # noqa: E501 + + Returns a print. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_print_with_http_info(print_id, async_req=True) + >>> result = thread.get() + + :param print_id: Print ID. (required) + :type print_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(ModelPrint, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'print_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_print" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'print_id' is set + if self.api_client.client_side_validation and local_var_params.get('print_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `print_id` when calling `get_print`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'print_id' in local_var_params: + path_params['printId'] = local_var_params['print_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "ModelPrint", + 401: "Error", + } + + return self.api_client.call_api( + '/prints/{printId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_user_prints(self, user_id, **kwargs): # noqa: E501 + """Get Own Prints # noqa: E501 + + Returns a list of all prints of the user. User id has to be your own userId, as you can't request other user's prints. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_user_prints(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[ModelPrint] + """ + kwargs['_return_http_data_only'] = True + return self.get_user_prints_with_http_info(user_id, **kwargs) # noqa: E501 + + def get_user_prints_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get Own Prints # noqa: E501 + + Returns a list of all prints of the user. User id has to be your own userId, as you can't request other user's prints. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_user_prints_with_http_info(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[ModelPrint], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_user_prints" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_user_prints`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[ModelPrint]", + 401: "Error", + 403: "Error", + } + + return self.api_client.call_api( + '/prints/user/{userId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index 5f0f29f8..0710ad51 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index a761f5c2..a9686687 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,18 +36,20 @@ def __init__(self, api_client=None): api_client = ApiClient() self.api_client = api_client - def get_user(self, user_id, **kwargs): # noqa: E501 - """Get User by ID # noqa: E501 + def add_tags(self, user_id, change_user_tags_request, **kwargs): # noqa: E501 + """Add User Tags # noqa: E501 - Get public user information about a specific user using their ID. # noqa: E501 + Adds tags to the user's profile # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_user(user_id, async_req=True) + >>> thread = api.add_tags(user_id, change_user_tags_request, async_req=True) >>> result = thread.get() :param user_id: Must be a valid user ID. (required) :type user_id: str + :param change_user_tags_request: (required) + :type change_user_tags_request: ChangeUserTagsRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -61,23 +63,25 @@ def get_user(self, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: User + :rtype: CurrentUser """ kwargs['_return_http_data_only'] = True - return self.get_user_with_http_info(user_id, **kwargs) # noqa: E501 + return self.add_tags_with_http_info(user_id, change_user_tags_request, **kwargs) # noqa: E501 - def get_user_with_http_info(self, user_id, **kwargs): # noqa: E501 - """Get User by ID # noqa: E501 + def add_tags_with_http_info(self, user_id, change_user_tags_request, **kwargs): # noqa: E501 + """Add User Tags # noqa: E501 - Get public user information about a specific user using their ID. # noqa: E501 + Adds tags to the user's profile # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_user_with_http_info(user_id, async_req=True) + >>> thread = api.add_tags_with_http_info(user_id, change_user_tags_request, async_req=True) >>> result = thread.get() :param user_id: Must be a valid user ID. (required) :type user_id: str + :param change_user_tags_request: (required) + :type change_user_tags_request: ChangeUserTagsRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -99,13 +103,14 @@ def get_user_with_http_info(self, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(User, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(CurrentUser, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'user_id' + 'user_id', + 'change_user_tags_request' ] all_params.extend( [ @@ -123,13 +128,16 @@ def get_user_with_http_info(self, user_id, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_user" % key + " to method add_tags" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `user_id` when calling `get_user`") # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `add_tags`") # noqa: E501 + # verify the required parameter 'change_user_tags_request' is set + if self.api_client.client_side_validation and local_var_params.get('change_user_tags_request') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `change_user_tags_request` when calling `add_tags`") # noqa: E501 collection_formats = {} @@ -145,20 +153,31 @@ def get_user_with_http_info(self, user_id, **kwargs): # noqa: E501 local_var_files = {} body_params = None + if 'change_user_tags_request' in local_var_params: + body_params = local_var_params['change_user_tags_request'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + # Authentication setting auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "User", + 200: "CurrentUser", + 400: "Error", 401: "Error", } return self.api_client.call_api( - '/users/{userId}', 'GET', + '/users/{userId}/addTags', 'POST', path_params, query_params, header_params, @@ -174,18 +193,20 @@ def get_user_with_http_info(self, user_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_user_by_name(self, username, **kwargs): # noqa: E501 - """Get User by Username # noqa: E501 + def check_user_persistence_exists(self, user_id, world_id, **kwargs): # noqa: E501 + """Check User Persistence Exists # noqa: E501 - ~~Get public user information about a specific user using their name.~~ **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). This endpoint now require Admin Credentials. # noqa: E501 + Checks whether the user has persistence data for a given world # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_user_by_name(username, async_req=True) + >>> thread = api.check_user_persistence_exists(user_id, world_id, async_req=True) >>> result = thread.get() - :param username: Username of the user (required) - :type username: str + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param world_id: Must be a valid world ID. (required) + :type world_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -199,23 +220,25 @@ def get_user_by_name(self, username, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: User + :rtype: None """ kwargs['_return_http_data_only'] = True - return self.get_user_by_name_with_http_info(username, **kwargs) # noqa: E501 + return self.check_user_persistence_exists_with_http_info(user_id, world_id, **kwargs) # noqa: E501 - def get_user_by_name_with_http_info(self, username, **kwargs): # noqa: E501 - """Get User by Username # noqa: E501 + def check_user_persistence_exists_with_http_info(self, user_id, world_id, **kwargs): # noqa: E501 + """Check User Persistence Exists # noqa: E501 - ~~Get public user information about a specific user using their name.~~ **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). This endpoint now require Admin Credentials. # noqa: E501 + Checks whether the user has persistence data for a given world # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_user_by_name_with_http_info(username, async_req=True) + >>> thread = api.check_user_persistence_exists_with_http_info(user_id, world_id, async_req=True) >>> result = thread.get() - :param username: Username of the user (required) - :type username: str + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param world_id: Must be a valid world ID. (required) + :type world_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -237,13 +260,14 @@ def get_user_by_name_with_http_info(self, username, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(User, status_code(int), headers(HTTPHeaderDict)) + :rtype: None """ local_var_params = locals() all_params = [ - 'username' + 'user_id', + 'world_id' ] all_params.extend( [ @@ -261,19 +285,24 @@ def get_user_by_name_with_http_info(self, username, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_user_by_name" % key + " to method check_user_persistence_exists" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'username' is set - if self.api_client.client_side_validation and local_var_params.get('username') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `username` when calling `get_user_by_name`") # noqa: E501 + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `check_user_persistence_exists`") # noqa: E501 + # verify the required parameter 'world_id' is set + if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `world_id` when calling `check_user_persistence_exists`") # noqa: E501 collection_formats = {} path_params = {} - if 'username' in local_var_params: - path_params['username'] = local_var_params['username'] # noqa: E501 + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + if 'world_id' in local_var_params: + path_params['worldId'] = local_var_params['world_id'] # noqa: E501 query_params = [] @@ -290,13 +319,10 @@ def get_user_by_name_with_http_info(self, username, **kwargs): # noqa: E501 # Authentication setting auth_settings = ['authCookie'] # noqa: E501 - response_types_map = { - 200: "User", - 401: "Error", - } + response_types_map = {} return self.api_client.call_api( - '/users/{username}/name', 'GET', + '/users/{userId}/{worldId}/persist/exists', 'GET', path_params, query_params, header_params, @@ -312,24 +338,20 @@ def get_user_by_name_with_http_info(self, username, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_user_feedback(self, user_id, **kwargs): # noqa: E501 - """Get User Feedback # noqa: E501 + def delete_user_persistence(self, user_id, world_id, **kwargs): # noqa: E501 + """Delete User Persistence # noqa: E501 - Get user's submitted feedback # noqa: E501 + Deletes the user's persistence data for a given world # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_user_feedback(user_id, async_req=True) + >>> thread = api.delete_user_persistence(user_id, world_id, async_req=True) >>> result = thread.get() :param user_id: Must be a valid user ID. (required) :type user_id: str - :param content_id: Filter for users' previously submitted feedback, e.g., a groupId, useeId, avatarId, etc. - :type content_id: bool - :param n: The number of objects to return. - :type n: int - :param offset: A zero-based offset from the default object sorting from where search results start. - :type offset: int + :param world_id: Must be a valid world ID. (required) + :type world_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -343,29 +365,25 @@ def get_user_feedback(self, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[Feedback] + :rtype: None """ kwargs['_return_http_data_only'] = True - return self.get_user_feedback_with_http_info(user_id, **kwargs) # noqa: E501 + return self.delete_user_persistence_with_http_info(user_id, world_id, **kwargs) # noqa: E501 - def get_user_feedback_with_http_info(self, user_id, **kwargs): # noqa: E501 - """Get User Feedback # noqa: E501 + def delete_user_persistence_with_http_info(self, user_id, world_id, **kwargs): # noqa: E501 + """Delete User Persistence # noqa: E501 - Get user's submitted feedback # noqa: E501 + Deletes the user's persistence data for a given world # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_user_feedback_with_http_info(user_id, async_req=True) + >>> thread = api.delete_user_persistence_with_http_info(user_id, world_id, async_req=True) >>> result = thread.get() :param user_id: Must be a valid user ID. (required) :type user_id: str - :param content_id: Filter for users' previously submitted feedback, e.g., a groupId, useeId, avatarId, etc. - :type content_id: bool - :param n: The number of objects to return. - :type n: int - :param offset: A zero-based offset from the default object sorting from where search results start. - :type offset: int + :param world_id: Must be a valid world ID. (required) + :type world_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -387,16 +405,14 @@ def get_user_feedback_with_http_info(self, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[Feedback], status_code(int), headers(HTTPHeaderDict)) + :rtype: None """ local_var_params = locals() all_params = [ 'user_id', - 'content_id', - 'n', - 'offset' + 'world_id' ] all_params.extend( [ @@ -414,33 +430,26 @@ def get_user_feedback_with_http_info(self, user_id, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_user_feedback" % key + " to method delete_user_persistence" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `user_id` when calling `get_user_feedback`") # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `delete_user_persistence`") # noqa: E501 + # verify the required parameter 'world_id' is set + if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `world_id` when calling `delete_user_persistence`") # noqa: E501 - if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 - raise ApiValueError("Invalid value for parameter `n` when calling `get_user_feedback`, must be a value less than or equal to `100`") # noqa: E501 - if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 - raise ApiValueError("Invalid value for parameter `n` when calling `get_user_feedback`, must be a value greater than or equal to `1`") # noqa: E501 - if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 - raise ApiValueError("Invalid value for parameter `offset` when calling `get_user_feedback`, must be a value greater than or equal to `0`") # noqa: E501 collection_formats = {} path_params = {} if 'user_id' in local_var_params: path_params['userId'] = local_var_params['user_id'] # noqa: E501 + if 'world_id' in local_var_params: + path_params['worldId'] = local_var_params['world_id'] # noqa: E501 query_params = [] - if local_var_params.get('content_id') is not None: # noqa: E501 - query_params.append(('contentId', local_var_params['content_id'])) # noqa: E501 - if local_var_params.get('n') is not None: # noqa: E501 - query_params.append(('n', local_var_params['n'])) # noqa: E501 - if local_var_params.get('offset') is not None: # noqa: E501 - query_params.append(('offset', local_var_params['offset'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -455,13 +464,10 @@ def get_user_feedback_with_http_info(self, user_id, **kwargs): # noqa: E501 # Authentication setting auth_settings = ['authCookie'] # noqa: E501 - response_types_map = { - 200: "list[Feedback]", - 401: "Error", - } + response_types_map = {} return self.api_client.call_api( - '/users/{userId}/feedback', 'GET', + '/users/{userId}/{worldId}/persist', 'DELETE', path_params, query_params, header_params, @@ -477,14 +483,14 @@ def get_user_feedback_with_http_info(self, user_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_user_group_instances(self, user_id, **kwargs): # noqa: E501 - """Get User Group Instances # noqa: E501 + def get_user(self, user_id, **kwargs): # noqa: E501 + """Get User by ID # noqa: E501 - Returns a list of group instances for a user # noqa: E501 + Get public user information about a specific user using their ID. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_user_group_instances(user_id, async_req=True) + >>> thread = api.get_user(user_id, async_req=True) >>> result = thread.get() :param user_id: Must be a valid user ID. (required) @@ -502,19 +508,19 @@ def get_user_group_instances(self, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: GetUserGroupInstances200Response + :rtype: User """ kwargs['_return_http_data_only'] = True - return self.get_user_group_instances_with_http_info(user_id, **kwargs) # noqa: E501 + return self.get_user_with_http_info(user_id, **kwargs) # noqa: E501 - def get_user_group_instances_with_http_info(self, user_id, **kwargs): # noqa: E501 - """Get User Group Instances # noqa: E501 + def get_user_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get User by ID # noqa: E501 - Returns a list of group instances for a user # noqa: E501 + Get public user information about a specific user using their ID. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_user_group_instances_with_http_info(user_id, async_req=True) + >>> thread = api.get_user_with_http_info(user_id, async_req=True) >>> result = thread.get() :param user_id: Must be a valid user ID. (required) @@ -540,7 +546,7 @@ def get_user_group_instances_with_http_info(self, user_id, **kwargs): # noqa: E :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(GetUserGroupInstances200Response, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(User, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() @@ -564,13 +570,13 @@ def get_user_group_instances_with_http_info(self, user_id, **kwargs): # noqa: E if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_user_group_instances" % key + " to method get_user" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `user_id` when calling `get_user_group_instances`") # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_user`") # noqa: E501 collection_formats = {} @@ -594,13 +600,12 @@ def get_user_group_instances_with_http_info(self, user_id, **kwargs): # noqa: E auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "GetUserGroupInstances200Response", + 200: "User", 401: "Error", - 403: "Error", } return self.api_client.call_api( - '/users/{userId}/instances/groups', 'GET', + '/users/{userId}', 'GET', path_params, query_params, header_params, @@ -616,18 +621,18 @@ def get_user_group_instances_with_http_info(self, user_id, **kwargs): # noqa: E collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_user_group_requests(self, user_id, **kwargs): # noqa: E501 - """Get User Group Requests # noqa: E501 + def get_user_by_name(self, username, **kwargs): # noqa: E501 + """Get User by Username # noqa: E501 - Returns a list of Groups the user has requested to be invited into. # noqa: E501 + ~~Get public user information about a specific user using their name.~~ **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). This endpoint now require Admin Credentials. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_user_group_requests(user_id, async_req=True) + >>> thread = api.get_user_by_name(username, async_req=True) >>> result = thread.get() - :param user_id: Must be a valid user ID. (required) - :type user_id: str + :param username: Username of the user (required) + :type username: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -641,23 +646,23 @@ def get_user_group_requests(self, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[Group] + :rtype: User """ kwargs['_return_http_data_only'] = True - return self.get_user_group_requests_with_http_info(user_id, **kwargs) # noqa: E501 + return self.get_user_by_name_with_http_info(username, **kwargs) # noqa: E501 - def get_user_group_requests_with_http_info(self, user_id, **kwargs): # noqa: E501 - """Get User Group Requests # noqa: E501 + def get_user_by_name_with_http_info(self, username, **kwargs): # noqa: E501 + """Get User by Username # noqa: E501 - Returns a list of Groups the user has requested to be invited into. # noqa: E501 + ~~Get public user information about a specific user using their name.~~ **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). This endpoint now require Admin Credentials. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_user_group_requests_with_http_info(user_id, async_req=True) + >>> thread = api.get_user_by_name_with_http_info(username, async_req=True) >>> result = thread.get() - :param user_id: Must be a valid user ID. (required) - :type user_id: str + :param username: Username of the user (required) + :type username: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -679,13 +684,13 @@ def get_user_group_requests_with_http_info(self, user_id, **kwargs): # noqa: E5 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[Group], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(User, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'user_id' + 'username' ] all_params.extend( [ @@ -703,19 +708,19 @@ def get_user_group_requests_with_http_info(self, user_id, **kwargs): # noqa: E5 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_user_group_requests" % key + " to method get_user_by_name" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `user_id` when calling `get_user_group_requests`") # noqa: E501 + # verify the required parameter 'username' is set + if self.api_client.client_side_validation and local_var_params.get('username') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `username` when calling `get_user_by_name`") # noqa: E501 collection_formats = {} path_params = {} - if 'user_id' in local_var_params: - path_params['userId'] = local_var_params['user_id'] # noqa: E501 + if 'username' in local_var_params: + path_params['username'] = local_var_params['username'] # noqa: E501 query_params = [] @@ -733,12 +738,12 @@ def get_user_group_requests_with_http_info(self, user_id, **kwargs): # noqa: E5 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "list[Group]", + 200: "User", 401: "Error", } return self.api_client.call_api( - '/users/{userId}/groups/requested', 'GET', + '/users/{username}/name', 'GET', path_params, query_params, header_params, @@ -754,18 +759,24 @@ def get_user_group_requests_with_http_info(self, user_id, **kwargs): # noqa: E5 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_user_groups(self, user_id, **kwargs): # noqa: E501 - """Get User Groups # noqa: E501 + def get_user_feedback(self, user_id, **kwargs): # noqa: E501 + """Get User Feedback # noqa: E501 - Get user's public groups # noqa: E501 + Get user's submitted feedback # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_user_groups(user_id, async_req=True) + >>> thread = api.get_user_feedback(user_id, async_req=True) >>> result = thread.get() :param user_id: Must be a valid user ID. (required) :type user_id: str + :param content_id: Filter for users' previously submitted feedback, e.g., a groupId, useeId, avatarId, etc. + :type content_id: bool + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -779,23 +790,29 @@ def get_user_groups(self, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[LimitedUserGroups] + :rtype: list[Feedback] """ kwargs['_return_http_data_only'] = True - return self.get_user_groups_with_http_info(user_id, **kwargs) # noqa: E501 + return self.get_user_feedback_with_http_info(user_id, **kwargs) # noqa: E501 - def get_user_groups_with_http_info(self, user_id, **kwargs): # noqa: E501 - """Get User Groups # noqa: E501 + def get_user_feedback_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get User Feedback # noqa: E501 - Get user's public groups # noqa: E501 + Get user's submitted feedback # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_user_groups_with_http_info(user_id, async_req=True) + >>> thread = api.get_user_feedback_with_http_info(user_id, async_req=True) >>> result = thread.get() :param user_id: Must be a valid user ID. (required) :type user_id: str + :param content_id: Filter for users' previously submitted feedback, e.g., a groupId, useeId, avatarId, etc. + :type content_id: bool + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -817,13 +834,16 @@ def get_user_groups_with_http_info(self, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[LimitedUserGroups], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(list[Feedback], status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'user_id' + 'user_id', + 'content_id', + 'n', + 'offset' ] all_params.extend( [ @@ -841,14 +861,20 @@ def get_user_groups_with_http_info(self, user_id, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_user_groups" % key + " to method get_user_feedback" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `user_id` when calling `get_user_groups`") # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_user_feedback`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_user_feedback`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_user_feedback`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_user_feedback`, must be a value greater than or equal to `0`") # noqa: E501 collection_formats = {} path_params = {} @@ -856,6 +882,12 @@ def get_user_groups_with_http_info(self, user_id, **kwargs): # noqa: E501 path_params['userId'] = local_var_params['user_id'] # noqa: E501 query_params = [] + if local_var_params.get('content_id') is not None: # noqa: E501 + query_params.append(('contentId', local_var_params['content_id'])) # noqa: E501 + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -871,12 +903,12 @@ def get_user_groups_with_http_info(self, user_id, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "list[LimitedUserGroups]", + 200: "list[Feedback]", 401: "Error", } return self.api_client.call_api( - '/users/{userId}/groups', 'GET', + '/users/{userId}/feedback', 'GET', path_params, query_params, header_params, @@ -892,14 +924,429 @@ def get_user_groups_with_http_info(self, user_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_user_note(self, user_note_id, **kwargs): # noqa: E501 - """Get User Note # noqa: E501 + def get_user_group_instances(self, user_id, **kwargs): # noqa: E501 + """Get User Group Instances # noqa: E501 - Get a particular user note # noqa: E501 + Returns a list of group instances for a user # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_user_note(user_note_id, async_req=True) + >>> thread = api.get_user_group_instances(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: GetUserGroupInstances200Response + """ + kwargs['_return_http_data_only'] = True + return self.get_user_group_instances_with_http_info(user_id, **kwargs) # noqa: E501 + + def get_user_group_instances_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get User Group Instances # noqa: E501 + + Returns a list of group instances for a user # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_user_group_instances_with_http_info(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(GetUserGroupInstances200Response, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_user_group_instances" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_user_group_instances`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "GetUserGroupInstances200Response", + 401: "Error", + 403: "Error", + } + + return self.api_client.call_api( + '/users/{userId}/instances/groups', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_user_group_requests(self, user_id, **kwargs): # noqa: E501 + """Get User Group Requests # noqa: E501 + + Returns a list of Groups the user has requested to be invited into. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_user_group_requests(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[Group] + """ + kwargs['_return_http_data_only'] = True + return self.get_user_group_requests_with_http_info(user_id, **kwargs) # noqa: E501 + + def get_user_group_requests_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get User Group Requests # noqa: E501 + + Returns a list of Groups the user has requested to be invited into. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_user_group_requests_with_http_info(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[Group], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_user_group_requests" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_user_group_requests`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[Group]", + 401: "Error", + } + + return self.api_client.call_api( + '/users/{userId}/groups/requested', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_user_groups(self, user_id, **kwargs): # noqa: E501 + """Get User Groups # noqa: E501 + + Get user's public groups # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_user_groups(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[LimitedUserGroups] + """ + kwargs['_return_http_data_only'] = True + return self.get_user_groups_with_http_info(user_id, **kwargs) # noqa: E501 + + def get_user_groups_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get User Groups # noqa: E501 + + Get user's public groups # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_user_groups_with_http_info(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[LimitedUserGroups], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_user_groups" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_user_groups`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[LimitedUserGroups]", + 401: "Error", + } + + return self.api_client.call_api( + '/users/{userId}/groups', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_user_note(self, user_note_id, **kwargs): # noqa: E501 + """Get User Note # noqa: E501 + + Get a particular user note # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_user_note(user_note_id, async_req=True) >>> result = thread.get() :param user_note_id: Must be a valid user note ID. (required) @@ -922,18 +1369,160 @@ def get_user_note(self, user_note_id, **kwargs): # noqa: E501 kwargs['_return_http_data_only'] = True return self.get_user_note_with_http_info(user_note_id, **kwargs) # noqa: E501 - def get_user_note_with_http_info(self, user_note_id, **kwargs): # noqa: E501 - """Get User Note # noqa: E501 + def get_user_note_with_http_info(self, user_note_id, **kwargs): # noqa: E501 + """Get User Note # noqa: E501 + + Get a particular user note # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_user_note_with_http_info(user_note_id, async_req=True) + >>> result = thread.get() + + :param user_note_id: Must be a valid user note ID. (required) + :type user_note_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(UserNote, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_note_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_user_note" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_note_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_note_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_note_id` when calling `get_user_note`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'user_note_id' in local_var_params: + path_params['userNoteId'] = local_var_params['user_note_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "UserNote", + 401: "Error", + } + + return self.api_client.call_api( + '/userNotes/{userNoteId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_user_notes(self, **kwargs): # noqa: E501 + """Get User Notes # noqa: E501 + + Get recently updated user notes # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_user_notes(async_req=True) + >>> result = thread.get() + + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[UserNote] + """ + kwargs['_return_http_data_only'] = True + return self.get_user_notes_with_http_info(**kwargs) # noqa: E501 + + def get_user_notes_with_http_info(self, **kwargs): # noqa: E501 + """Get User Notes # noqa: E501 - Get a particular user note # noqa: E501 + Get recently updated user notes # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_user_note_with_http_info(user_note_id, async_req=True) + >>> thread = api.get_user_notes_with_http_info(async_req=True) >>> result = thread.get() - :param user_note_id: Must be a valid user note ID. (required) - :type user_note_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -955,13 +1544,14 @@ def get_user_note_with_http_info(self, user_note_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(UserNote, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(list[UserNote], status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'user_note_id' + 'n', + 'offset' ] all_params.extend( [ @@ -979,21 +1569,26 @@ def get_user_note_with_http_info(self, user_note_id, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_user_note" % key + " to method get_user_notes" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'user_note_id' is set - if self.api_client.client_side_validation and local_var_params.get('user_note_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `user_note_id` when calling `get_user_note`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_user_notes`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_user_notes`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_user_notes`, must be a value greater than or equal to `0`") # noqa: E501 collection_formats = {} path_params = {} - if 'user_note_id' in local_var_params: - path_params['userNoteId'] = local_var_params['user_note_id'] # noqa: E501 query_params = [] + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -1009,12 +1604,12 @@ def get_user_note_with_http_info(self, user_note_id, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "UserNote", + 200: "list[UserNote]", 401: "Error", } return self.api_client.call_api( - '/userNotes/{userNoteId}', 'GET', + '/userNotes', 'GET', path_params, query_params, header_params, @@ -1030,20 +1625,18 @@ def get_user_note_with_http_info(self, user_note_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_user_notes(self, **kwargs): # noqa: E501 - """Get User Notes # noqa: E501 + def get_user_represented_group(self, user_id, **kwargs): # noqa: E501 + """Get user's current represented group # noqa: E501 - Get recently updated user notes # noqa: E501 + Returns the current group that the user is currently representing # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_user_notes(async_req=True) + >>> thread = api.get_user_represented_group(user_id, async_req=True) >>> result = thread.get() - :param n: The number of objects to return. - :type n: int - :param offset: A zero-based offset from the default object sorting from where search results start. - :type offset: int + :param user_id: Must be a valid user ID. (required) + :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -1057,25 +1650,23 @@ def get_user_notes(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[UserNote] + :rtype: RepresentedGroup """ kwargs['_return_http_data_only'] = True - return self.get_user_notes_with_http_info(**kwargs) # noqa: E501 + return self.get_user_represented_group_with_http_info(user_id, **kwargs) # noqa: E501 - def get_user_notes_with_http_info(self, **kwargs): # noqa: E501 - """Get User Notes # noqa: E501 + def get_user_represented_group_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get user's current represented group # noqa: E501 - Get recently updated user notes # noqa: E501 + Returns the current group that the user is currently representing # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_user_notes_with_http_info(async_req=True) + >>> thread = api.get_user_represented_group_with_http_info(user_id, async_req=True) >>> result = thread.get() - :param n: The number of objects to return. - :type n: int - :param offset: A zero-based offset from the default object sorting from where search results start. - :type offset: int + :param user_id: Must be a valid user ID. (required) + :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -1097,14 +1688,13 @@ def get_user_notes_with_http_info(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[UserNote], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(RepresentedGroup, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'n', - 'offset' + 'user_id' ] all_params.extend( [ @@ -1122,26 +1712,21 @@ def get_user_notes_with_http_info(self, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_user_notes" % key + " to method get_user_represented_group" % key ) local_var_params[key] = val del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_user_represented_group`") # noqa: E501 - if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 - raise ApiValueError("Invalid value for parameter `n` when calling `get_user_notes`, must be a value less than or equal to `100`") # noqa: E501 - if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 - raise ApiValueError("Invalid value for parameter `n` when calling `get_user_notes`, must be a value greater than or equal to `1`") # noqa: E501 - if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 - raise ApiValueError("Invalid value for parameter `offset` when calling `get_user_notes`, must be a value greater than or equal to `0`") # noqa: E501 collection_formats = {} path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 query_params = [] - if local_var_params.get('n') is not None: # noqa: E501 - query_params.append(('n', local_var_params['n'])) # noqa: E501 - if local_var_params.get('offset') is not None: # noqa: E501 - query_params.append(('offset', local_var_params['offset'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -1157,12 +1742,12 @@ def get_user_notes_with_http_info(self, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "list[UserNote]", + 200: "RepresentedGroup", 401: "Error", } return self.api_client.call_api( - '/userNotes', 'GET', + '/users/{userId}/groups/represented', 'GET', path_params, query_params, header_params, @@ -1178,18 +1763,20 @@ def get_user_notes_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_user_represented_group(self, user_id, **kwargs): # noqa: E501 - """Get user's current represented group # noqa: E501 + def remove_tags(self, user_id, change_user_tags_request, **kwargs): # noqa: E501 + """Remove User Tags # noqa: E501 - Returns the current group that the user is currently representing # noqa: E501 + Removes tags from the user's profile # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_user_represented_group(user_id, async_req=True) + >>> thread = api.remove_tags(user_id, change_user_tags_request, async_req=True) >>> result = thread.get() :param user_id: Must be a valid user ID. (required) :type user_id: str + :param change_user_tags_request: (required) + :type change_user_tags_request: ChangeUserTagsRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -1203,23 +1790,25 @@ def get_user_represented_group(self, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: RepresentedGroup + :rtype: CurrentUser """ kwargs['_return_http_data_only'] = True - return self.get_user_represented_group_with_http_info(user_id, **kwargs) # noqa: E501 + return self.remove_tags_with_http_info(user_id, change_user_tags_request, **kwargs) # noqa: E501 - def get_user_represented_group_with_http_info(self, user_id, **kwargs): # noqa: E501 - """Get user's current represented group # noqa: E501 + def remove_tags_with_http_info(self, user_id, change_user_tags_request, **kwargs): # noqa: E501 + """Remove User Tags # noqa: E501 - Returns the current group that the user is currently representing # noqa: E501 + Removes tags from the user's profile # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_user_represented_group_with_http_info(user_id, async_req=True) + >>> thread = api.remove_tags_with_http_info(user_id, change_user_tags_request, async_req=True) >>> result = thread.get() :param user_id: Must be a valid user ID. (required) :type user_id: str + :param change_user_tags_request: (required) + :type change_user_tags_request: ChangeUserTagsRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -1241,13 +1830,14 @@ def get_user_represented_group_with_http_info(self, user_id, **kwargs): # noqa: :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(RepresentedGroup, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(CurrentUser, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'user_id' + 'user_id', + 'change_user_tags_request' ] all_params.extend( [ @@ -1265,13 +1855,16 @@ def get_user_represented_group_with_http_info(self, user_id, **kwargs): # noqa: if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_user_represented_group" % key + " to method remove_tags" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `user_id` when calling `get_user_represented_group`") # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `remove_tags`") # noqa: E501 + # verify the required parameter 'change_user_tags_request' is set + if self.api_client.client_side_validation and local_var_params.get('change_user_tags_request') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `change_user_tags_request` when calling `remove_tags`") # noqa: E501 collection_formats = {} @@ -1287,20 +1880,31 @@ def get_user_represented_group_with_http_info(self, user_id, **kwargs): # noqa: local_var_files = {} body_params = None + if 'change_user_tags_request' in local_var_params: + body_params = local_var_params['change_user_tags_request'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + # Authentication setting auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "RepresentedGroup", + 200: "CurrentUser", + 400: "Error", 401: "Error", } return self.api_client.call_api( - '/users/{userId}/groups/represented', 'GET', + '/users/{userId}/removeTags', 'POST', path_params, query_params, header_params, @@ -1482,6 +2086,169 @@ def search_users_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def update_badge(self, user_id, badge_id, update_user_badge_request, **kwargs): # noqa: E501 + """Update User Badge # noqa: E501 + + Updates a user's badge # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_badge(user_id, badge_id, update_user_badge_request, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param badge_id: Must be a valid badge ID. (required) + :type badge_id: str + :param update_user_badge_request: (required) + :type update_user_badge_request: UpdateUserBadgeRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + kwargs['_return_http_data_only'] = True + return self.update_badge_with_http_info(user_id, badge_id, update_user_badge_request, **kwargs) # noqa: E501 + + def update_badge_with_http_info(self, user_id, badge_id, update_user_badge_request, **kwargs): # noqa: E501 + """Update User Badge # noqa: E501 + + Updates a user's badge # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_badge_with_http_info(user_id, badge_id, update_user_badge_request, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param badge_id: Must be a valid badge ID. (required) + :type badge_id: str + :param update_user_badge_request: (required) + :type update_user_badge_request: UpdateUserBadgeRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + + local_var_params = locals() + + all_params = [ + 'user_id', + 'badge_id', + 'update_user_badge_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method update_badge" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `update_badge`") # noqa: E501 + # verify the required parameter 'badge_id' is set + if self.api_client.client_side_validation and local_var_params.get('badge_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `badge_id` when calling `update_badge`") # noqa: E501 + # verify the required parameter 'update_user_badge_request' is set + if self.api_client.client_side_validation and local_var_params.get('update_user_badge_request') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `update_user_badge_request` when calling `update_badge`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + if 'badge_id' in local_var_params: + path_params['badgeId'] = local_var_params['badge_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'update_user_badge_request' in local_var_params: + body_params = local_var_params['update_user_badge_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'PUT', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = {} + + return self.api_client.call_api( + '/users/{userId}/badges/{badgeId}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def update_user(self, user_id, **kwargs): # noqa: E501 """Update User Info # noqa: E501 diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index a1b5480e..261e21d9 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,6 +36,151 @@ def __init__(self, api_client=None): api_client = ApiClient() self.api_client = api_client + def check_user_persistence_exists(self, user_id, world_id, **kwargs): # noqa: E501 + """Check User Persistence Exists # noqa: E501 + + Checks whether the user has persistence data for a given world # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.check_user_persistence_exists(user_id, world_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param world_id: Must be a valid world ID. (required) + :type world_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + kwargs['_return_http_data_only'] = True + return self.check_user_persistence_exists_with_http_info(user_id, world_id, **kwargs) # noqa: E501 + + def check_user_persistence_exists_with_http_info(self, user_id, world_id, **kwargs): # noqa: E501 + """Check User Persistence Exists # noqa: E501 + + Checks whether the user has persistence data for a given world # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.check_user_persistence_exists_with_http_info(user_id, world_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param world_id: Must be a valid world ID. (required) + :type world_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + + local_var_params = locals() + + all_params = [ + 'user_id', + 'world_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method check_user_persistence_exists" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `check_user_persistence_exists`") # noqa: E501 + # verify the required parameter 'world_id' is set + if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `world_id` when calling `check_user_persistence_exists`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + if 'world_id' in local_var_params: + path_params['worldId'] = local_var_params['world_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = {} + + return self.api_client.call_api( + '/users/{userId}/{worldId}/persist/exists', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def create_world(self, **kwargs): # noqa: E501 """Create World # noqa: E501 @@ -180,6 +325,151 @@ def create_world_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def delete_user_persistence(self, user_id, world_id, **kwargs): # noqa: E501 + """Delete User Persistence # noqa: E501 + + Deletes the user's persistence data for a given world # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_user_persistence(user_id, world_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param world_id: Must be a valid world ID. (required) + :type world_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + kwargs['_return_http_data_only'] = True + return self.delete_user_persistence_with_http_info(user_id, world_id, **kwargs) # noqa: E501 + + def delete_user_persistence_with_http_info(self, user_id, world_id, **kwargs): # noqa: E501 + """Delete User Persistence # noqa: E501 + + Deletes the user's persistence data for a given world # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_user_persistence_with_http_info(user_id, world_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param world_id: Must be a valid world ID. (required) + :type world_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + + local_var_params = locals() + + all_params = [ + 'user_id', + 'world_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_user_persistence" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `delete_user_persistence`") # noqa: E501 + # verify the required parameter 'world_id' is set + if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `world_id` when calling `delete_user_persistence`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + if 'world_id' in local_var_params: + path_params['worldId'] = local_var_params['world_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = {} + + return self.api_client.call_api( + '/users/{userId}/{worldId}/persist', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def delete_world(self, world_id, **kwargs): # noqa: E501 """Delete World # noqa: E501 diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index f0d06f96..aefc47c9 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,7 +3,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index bf3598bb..6bcc7c98 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -441,7 +441,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.19.1\n"\ + "Version of the API: 1.19.2\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index a412725c..bc275a9a 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index 8f32264a..cf5c350a 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,7 +5,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -48,6 +48,7 @@ from vrchatapi.models.badge import Badge from vrchatapi.models.balance import Balance from vrchatapi.models.ban_group_member_request import BanGroupMemberRequest +from vrchatapi.models.change_user_tags_request import ChangeUserTagsRequest from vrchatapi.models.create_avatar_request import CreateAvatarRequest from vrchatapi.models.create_file_request import CreateFileRequest from vrchatapi.models.create_file_version_request import CreateFileVersionRequest @@ -62,7 +63,6 @@ from vrchatapi.models.current_user import CurrentUser from vrchatapi.models.current_user_platform_history_inner import CurrentUserPlatformHistoryInner from vrchatapi.models.current_user_presence import CurrentUserPresence -from vrchatapi.models.deployment_group import DeploymentGroup from vrchatapi.models.developer_type import DeveloperType from vrchatapi.models.dynamic_content_row import DynamicContentRow from vrchatapi.models.error import Error @@ -84,6 +84,7 @@ from vrchatapi.models.file_version_upload_status import FileVersionUploadStatus from vrchatapi.models.finish_file_data_upload_request import FinishFileDataUploadRequest from vrchatapi.models.friend_status import FriendStatus +from vrchatapi.models.get_group_posts200_response import GetGroupPosts200Response from vrchatapi.models.get_user_group_instances200_response import GetUserGroupInstances200Response from vrchatapi.models.group import Group from vrchatapi.models.group_access_type import GroupAccessType @@ -134,6 +135,7 @@ from vrchatapi.models.limited_user_groups import LimitedUserGroups from vrchatapi.models.limited_world import LimitedWorld from vrchatapi.models.mime_type import MIMEType +from vrchatapi.models.model_print import ModelPrint from vrchatapi.models.moderate_user_request import ModerateUserRequest from vrchatapi.models.notification import Notification from vrchatapi.models.notification_detail_invite import NotificationDetailInvite @@ -151,6 +153,7 @@ from vrchatapi.models.platform_build_info import PlatformBuildInfo from vrchatapi.models.player_moderation import PlayerModeration from vrchatapi.models.player_moderation_type import PlayerModerationType +from vrchatapi.models.print_files import PrintFiles from vrchatapi.models.product import Product from vrchatapi.models.product_listing import ProductListing from vrchatapi.models.product_listing_type import ProductListingType @@ -165,6 +168,8 @@ from vrchatapi.models.respond_group_join_request import RespondGroupJoinRequest from vrchatapi.models.response import Response from vrchatapi.models.sent_notification import SentNotification +from vrchatapi.models.service_queue_stats import ServiceQueueStats +from vrchatapi.models.service_status import ServiceStatus from vrchatapi.models.sort_option import SortOption from vrchatapi.models.submission import Submission from vrchatapi.models.subscription import Subscription @@ -188,6 +193,7 @@ from vrchatapi.models.update_group_request import UpdateGroupRequest from vrchatapi.models.update_group_role_request import UpdateGroupRoleRequest from vrchatapi.models.update_invite_message_request import UpdateInviteMessageRequest +from vrchatapi.models.update_user_badge_request import UpdateUserBadgeRequest from vrchatapi.models.update_user_note_request import UpdateUserNoteRequest from vrchatapi.models.update_user_request import UpdateUserRequest from vrchatapi.models.update_world_request import UpdateWorldRequest diff --git a/vrchatapi/models/account_deletion_log.py b/vrchatapi/models/account_deletion_log.py index 9fd86de7..8e9e65a5 100644 --- a/vrchatapi/models/account_deletion_log.py +++ b/vrchatapi/models/account_deletion_log.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index f83afabd..f7599bfc 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index 2ff772f6..991dd6b2 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/age_verification_status.py b/vrchatapi/models/age_verification_status.py index 05bbfd35..21b09a49 100644 --- a/vrchatapi/models/age_verification_status.py +++ b/vrchatapi/models/age_verification_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index 1ac64d11..ae6753d8 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -48,11 +48,9 @@ class APIConfig(object): 'announcements': 'list[APIConfigAnnouncement]', 'analytics_segment_new_ui_pct_of_users': 'int', 'analytics_segment_new_ui_salt': 'str', - 'app_name': 'str', 'available_language_codes': 'list[str]', 'available_languages': 'list[str]', 'avatar_perf_limiter': 'APIConfigAvatarPerfLimiter', - 'build_version_tag': 'str', 'chatbox_log_buffer_seconds': 'int', 'client_api_key': 'str', 'client_bps_ceiling': 'int', @@ -77,7 +75,6 @@ class APIConfig(object): 'current_tos_version': 'int', 'default_avatar': 'str', 'default_sticker_set': 'str', - 'deployment_group': 'DeploymentGroup', 'dev_language_codes': 'list[str]', 'dev_sdk_url': 'str', 'dev_sdk_version': 'str', @@ -131,7 +128,6 @@ class APIConfig(object): 'sdk_discord_url': 'str', 'sdk_not_allowed_to_publish_message': 'str', 'sdk_unity_version': 'str', - 'server_name': 'str', 'string_host_url_list': 'list[str]', 'support_email': 'str', 'support_form_url': 'str', @@ -149,6 +145,7 @@ class APIConfig(object): 'white_listed_asset_urls': 'list[str]', 'player_url_resolver_version': 'str', 'player_url_resolver_sha1': 'str', + 'public_key': 'str', 'websocket_max_friends_refresh_delay': 'int', 'websocket_quick_reconnect_time': 'int', 'websocket_reconnect_max_delay': 'int' @@ -167,11 +164,9 @@ class APIConfig(object): 'announcements': 'announcements', 'analytics_segment_new_ui_pct_of_users': 'analyticsSegment_NewUI_PctOfUsers', 'analytics_segment_new_ui_salt': 'analyticsSegment_NewUI_Salt', - 'app_name': 'appName', 'available_language_codes': 'availableLanguageCodes', 'available_languages': 'availableLanguages', 'avatar_perf_limiter': 'avatarPerfLimiter', - 'build_version_tag': 'buildVersionTag', 'chatbox_log_buffer_seconds': 'chatboxLogBufferSeconds', 'client_api_key': 'clientApiKey', 'client_bps_ceiling': 'clientBPSCeiling', @@ -196,7 +191,6 @@ class APIConfig(object): 'current_tos_version': 'currentTOSVersion', 'default_avatar': 'defaultAvatar', 'default_sticker_set': 'defaultStickerSet', - 'deployment_group': 'deploymentGroup', 'dev_language_codes': 'devLanguageCodes', 'dev_sdk_url': 'devSdkUrl', 'dev_sdk_version': 'devSdkVersion', @@ -250,7 +244,6 @@ class APIConfig(object): 'sdk_discord_url': 'sdkDiscordUrl', 'sdk_not_allowed_to_publish_message': 'sdkNotAllowedToPublishMessage', 'sdk_unity_version': 'sdkUnityVersion', - 'server_name': 'serverName', 'string_host_url_list': 'stringHostUrlList', 'support_email': 'supportEmail', 'support_form_url': 'supportFormUrl', @@ -268,12 +261,13 @@ class APIConfig(object): 'white_listed_asset_urls': 'whiteListedAssetUrls', 'player_url_resolver_version': 'player-url-resolver-version', 'player_url_resolver_sha1': 'player-url-resolver-sha1', + 'public_key': 'publicKey', 'websocket_max_friends_refresh_delay': 'websocketMaxFriendsRefreshDelay', 'websocket_quick_reconnect_time': 'websocketQuickReconnectTime', 'websocket_reconnect_max_delay': 'websocketReconnectMaxDelay' } - def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limiting=True, access_logs_urls=None, address=None, age_verification_invite_visible=None, age_verification_p=None, age_verification_status_visible=None, analysis_max_retries=None, analysis_retry_interval=None, announcements=None, analytics_segment_new_ui_pct_of_users=None, analytics_segment_new_ui_salt=None, app_name='VrChat', available_language_codes=None, available_languages=None, avatar_perf_limiter=None, build_version_tag=None, chatbox_log_buffer_seconds=40, client_api_key=None, client_bps_ceiling=18432, client_disconnect_timeout=30000, client_net_dispatch_thread=False, client_net_dispatch_thread_mobile=True, client_net_in_thread=False, client_net_in_thread2=False, client_net_in_thread_mobile=False, client_net_in_thread_mobile2=False, client_net_out_thread=False, client_net_out_thread2=False, client_net_out_thread_mobile=False, client_net_out_thread_mobile2=False, client_qr=1, client_reserved_player_bps=7168, client_sent_count_allowance=15, constants=None, contact_email=None, copyright_email=None, current_privacy_version=1, current_tos_version=None, default_avatar=None, default_sticker_set=None, deployment_group=None, dev_language_codes=None, dev_sdk_url=None, dev_sdk_version=None, dis_countdown=None, disable_av_pro_in_proton=False, disable_avatar_copying=False, disable_avatar_gating=False, disable_community_labs=False, disable_community_labs_promotion=False, disable_email=False, disable_captcha=True, disable_event_stream=False, disable_feedback_gating=False, disable_frontend_builds=False, disable_gift_drops=False, disable_hello=False, disable_oculus_subs=False, disable_registration=False, disable_steam_networking=True, disable_two_factor_auth=False, disable_udon=False, disable_upgrade_account=False, download_link_windows=None, download_urls=None, dynamic_world_rows=None, economy_pause_end=None, economy_pause_start=None, economy_state=1, events=None, force_use_latest_world=True, gift_display_type=None, google_api_client_id='827942544393-r2ouvckvouldn9dg9uruseje575e878f.apps.googleusercontent.com', home_world_id=None, homepage_redirect_target='https://hello.vrchat.com', hub_world_id=None, image_host_url_list=None, jobs_email=None, min_supported_client_build_number=None, minimum_unity_version_for_uploads='2019.0.0f1', moderation_email=None, not_allowed_to_select_avatar_in_private_world_message=None, offline_analysis=None, photon_nameserver_overrides=None, photon_public_keys=None, report_categories=None, report_form_url='https://help.vrchat.com/hc/en-us/requests/new?ticket_form_id=1500000182242&tf_360056455174=user_report&tf_360057451993={userId}&tf_1500001445142={reportedId}&tf_subject={reason} {category} By {contentType} {reportedName}&tf_description={description}', report_options=None, report_reasons=None, require_age_verification_beta_tag=None, sdk_developer_faq_url=None, sdk_discord_url=None, sdk_not_allowed_to_publish_message=None, sdk_unity_version=None, server_name=None, string_host_url_list=None, support_email=None, support_form_url=None, timekeeping=True, time_out_world_id=None, tutorial_world_id=None, update_rate_ms_maximum=None, update_rate_ms_minimum=None, update_rate_ms_normal=None, update_rate_ms_udon_manual=None, upload_analysis_percent=None, url_list=None, use_reliable_udp_for_voice=False, vive_windows_url=None, white_listed_asset_urls=None, player_url_resolver_version=None, player_url_resolver_sha1=None, websocket_max_friends_refresh_delay=900, websocket_quick_reconnect_time=2, websocket_reconnect_max_delay=2, local_vars_configuration=None): # noqa: E501 + def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limiting=True, access_logs_urls=None, address=None, age_verification_invite_visible=None, age_verification_p=None, age_verification_status_visible=None, analysis_max_retries=None, analysis_retry_interval=None, announcements=None, analytics_segment_new_ui_pct_of_users=None, analytics_segment_new_ui_salt=None, available_language_codes=None, available_languages=None, avatar_perf_limiter=None, chatbox_log_buffer_seconds=40, client_api_key=None, client_bps_ceiling=18432, client_disconnect_timeout=30000, client_net_dispatch_thread=False, client_net_dispatch_thread_mobile=True, client_net_in_thread=False, client_net_in_thread2=False, client_net_in_thread_mobile=False, client_net_in_thread_mobile2=False, client_net_out_thread=False, client_net_out_thread2=False, client_net_out_thread_mobile=False, client_net_out_thread_mobile2=False, client_qr=1, client_reserved_player_bps=7168, client_sent_count_allowance=15, constants=None, contact_email=None, copyright_email=None, current_privacy_version=1, current_tos_version=None, default_avatar=None, default_sticker_set=None, dev_language_codes=None, dev_sdk_url=None, dev_sdk_version=None, dis_countdown=None, disable_av_pro_in_proton=False, disable_avatar_copying=False, disable_avatar_gating=False, disable_community_labs=False, disable_community_labs_promotion=False, disable_email=False, disable_captcha=True, disable_event_stream=False, disable_feedback_gating=False, disable_frontend_builds=False, disable_gift_drops=False, disable_hello=False, disable_oculus_subs=False, disable_registration=False, disable_steam_networking=True, disable_two_factor_auth=False, disable_udon=False, disable_upgrade_account=False, download_link_windows=None, download_urls=None, dynamic_world_rows=None, economy_pause_end=None, economy_pause_start=None, economy_state=1, events=None, force_use_latest_world=True, gift_display_type=None, google_api_client_id='827942544393-r2ouvckvouldn9dg9uruseje575e878f.apps.googleusercontent.com', home_world_id=None, homepage_redirect_target='https://hello.vrchat.com', hub_world_id=None, image_host_url_list=None, jobs_email=None, min_supported_client_build_number=None, minimum_unity_version_for_uploads='2019.0.0f1', moderation_email=None, not_allowed_to_select_avatar_in_private_world_message=None, offline_analysis=None, photon_nameserver_overrides=None, photon_public_keys=None, report_categories=None, report_form_url='https://help.vrchat.com/hc/en-us/requests/new?ticket_form_id=1500000182242&tf_360056455174=user_report&tf_360057451993={userId}&tf_1500001445142={reportedId}&tf_subject={reason} {category} By {contentType} {reportedName}&tf_description={description}', report_options=None, report_reasons=None, require_age_verification_beta_tag=None, sdk_developer_faq_url=None, sdk_discord_url=None, sdk_not_allowed_to_publish_message=None, sdk_unity_version=None, string_host_url_list=None, support_email=None, support_form_url=None, timekeeping=True, time_out_world_id=None, tutorial_world_id=None, update_rate_ms_maximum=None, update_rate_ms_minimum=None, update_rate_ms_normal=None, update_rate_ms_udon_manual=None, upload_analysis_percent=None, url_list=None, use_reliable_udp_for_voice=False, vive_windows_url=None, white_listed_asset_urls=None, player_url_resolver_version=None, player_url_resolver_sha1=None, public_key=None, websocket_max_friends_refresh_delay=900, websocket_quick_reconnect_time=2, websocket_reconnect_max_delay=2, local_vars_configuration=None): # noqa: E501 """APIConfig - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -291,11 +285,9 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self._announcements = None self._analytics_segment_new_ui_pct_of_users = None self._analytics_segment_new_ui_salt = None - self._app_name = None self._available_language_codes = None self._available_languages = None self._avatar_perf_limiter = None - self._build_version_tag = None self._chatbox_log_buffer_seconds = None self._client_api_key = None self._client_bps_ceiling = None @@ -320,7 +312,6 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self._current_tos_version = None self._default_avatar = None self._default_sticker_set = None - self._deployment_group = None self._dev_language_codes = None self._dev_sdk_url = None self._dev_sdk_version = None @@ -374,7 +365,6 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self._sdk_discord_url = None self._sdk_not_allowed_to_publish_message = None self._sdk_unity_version = None - self._server_name = None self._string_host_url_list = None self._support_email = None self._support_form_url = None @@ -392,6 +382,7 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self._white_listed_asset_urls = None self._player_url_resolver_version = None self._player_url_resolver_sha1 = None + self._public_key = None self._websocket_max_friends_refresh_delay = None self._websocket_quick_reconnect_time = None self._websocket_reconnect_max_delay = None @@ -409,11 +400,9 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self.announcements = announcements self.analytics_segment_new_ui_pct_of_users = analytics_segment_new_ui_pct_of_users self.analytics_segment_new_ui_salt = analytics_segment_new_ui_salt - self.app_name = app_name self.available_language_codes = available_language_codes self.available_languages = available_languages self.avatar_perf_limiter = avatar_perf_limiter - self.build_version_tag = build_version_tag self.chatbox_log_buffer_seconds = chatbox_log_buffer_seconds self.client_api_key = client_api_key self.client_bps_ceiling = client_bps_ceiling @@ -449,7 +438,6 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self.current_tos_version = current_tos_version self.default_avatar = default_avatar self.default_sticker_set = default_sticker_set - self.deployment_group = deployment_group if dev_language_codes is not None: self.dev_language_codes = dev_language_codes self.dev_sdk_url = dev_sdk_url @@ -509,7 +497,6 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self.sdk_discord_url = sdk_discord_url self.sdk_not_allowed_to_publish_message = sdk_not_allowed_to_publish_message self.sdk_unity_version = sdk_unity_version - self.server_name = server_name self.string_host_url_list = string_host_url_list self.support_email = support_email self.support_form_url = support_form_url @@ -527,6 +514,7 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self.white_listed_asset_urls = white_listed_asset_urls self.player_url_resolver_version = player_url_resolver_version self.player_url_resolver_sha1 = player_url_resolver_sha1 + self.public_key = public_key self.websocket_max_friends_refresh_delay = websocket_max_friends_refresh_delay self.websocket_quick_reconnect_time = websocket_quick_reconnect_time self.websocket_reconnect_max_delay = websocket_reconnect_max_delay @@ -829,34 +817,6 @@ def analytics_segment_new_ui_salt(self, analytics_segment_new_ui_salt): self._analytics_segment_new_ui_salt = analytics_segment_new_ui_salt - @property - def app_name(self): - """Gets the app_name of this APIConfig. # noqa: E501 - - Game name # noqa: E501 - - :return: The app_name of this APIConfig. # noqa: E501 - :rtype: str - """ - return self._app_name - - @app_name.setter - def app_name(self, app_name): - """Sets the app_name of this APIConfig. - - Game name # noqa: E501 - - :param app_name: The app_name of this APIConfig. # noqa: E501 - :type app_name: str - """ - if self.local_vars_configuration.client_side_validation and app_name is None: # noqa: E501 - raise ValueError("Invalid value for `app_name`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - app_name is not None and len(app_name) < 1): - raise ValueError("Invalid value for `app_name`, length must be greater than or equal to `1`") # noqa: E501 - - self._app_name = app_name - @property def available_language_codes(self): """Gets the available_language_codes of this APIConfig. # noqa: E501 @@ -930,34 +890,6 @@ def avatar_perf_limiter(self, avatar_perf_limiter): self._avatar_perf_limiter = avatar_perf_limiter - @property - def build_version_tag(self): - """Gets the build_version_tag of this APIConfig. # noqa: E501 - - Build tag of the API server # noqa: E501 - - :return: The build_version_tag of this APIConfig. # noqa: E501 - :rtype: str - """ - return self._build_version_tag - - @build_version_tag.setter - def build_version_tag(self, build_version_tag): - """Sets the build_version_tag of this APIConfig. - - Build tag of the API server # noqa: E501 - - :param build_version_tag: The build_version_tag of this APIConfig. # noqa: E501 - :type build_version_tag: str - """ - if self.local_vars_configuration.client_side_validation and build_version_tag is None: # noqa: E501 - raise ValueError("Invalid value for `build_version_tag`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - build_version_tag is not None and len(build_version_tag) < 1): - raise ValueError("Invalid value for `build_version_tag`, length must be greater than or equal to `1`") # noqa: E501 - - self._build_version_tag = build_version_tag - @property def chatbox_log_buffer_seconds(self): """Gets the chatbox_log_buffer_seconds of this APIConfig. # noqa: E501 @@ -1542,29 +1474,6 @@ def default_sticker_set(self, default_sticker_set): self._default_sticker_set = default_sticker_set - @property - def deployment_group(self): - """Gets the deployment_group of this APIConfig. # noqa: E501 - - - :return: The deployment_group of this APIConfig. # noqa: E501 - :rtype: DeploymentGroup - """ - return self._deployment_group - - @deployment_group.setter - def deployment_group(self, deployment_group): - """Sets the deployment_group of this APIConfig. - - - :param deployment_group: The deployment_group of this APIConfig. # noqa: E501 - :type deployment_group: DeploymentGroup - """ - if self.local_vars_configuration.client_side_validation and deployment_group is None: # noqa: E501 - raise ValueError("Invalid value for `deployment_group`, must not be `None`") # noqa: E501 - - self._deployment_group = deployment_group - @property def dev_language_codes(self): """Gets the dev_language_codes of this APIConfig. # noqa: E501 @@ -2898,34 +2807,6 @@ def sdk_unity_version(self, sdk_unity_version): self._sdk_unity_version = sdk_unity_version - @property - def server_name(self): - """Gets the server_name of this APIConfig. # noqa: E501 - - Server name of the API server currently responding # noqa: E501 - - :return: The server_name of this APIConfig. # noqa: E501 - :rtype: str - """ - return self._server_name - - @server_name.setter - def server_name(self, server_name): - """Sets the server_name of this APIConfig. - - Server name of the API server currently responding # noqa: E501 - - :param server_name: The server_name of this APIConfig. # noqa: E501 - :type server_name: str - """ - if self.local_vars_configuration.client_side_validation and server_name is None: # noqa: E501 - raise ValueError("Invalid value for `server_name`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - server_name is not None and len(server_name) < 1): - raise ValueError("Invalid value for `server_name`, length must be greater than or equal to `1`") # noqa: E501 - - self._server_name = server_name - @property def string_host_url_list(self): """Gets the string_host_url_list of this APIConfig. # noqa: E501 @@ -3363,6 +3244,31 @@ def player_url_resolver_sha1(self, player_url_resolver_sha1): self._player_url_resolver_sha1 = player_url_resolver_sha1 + @property + def public_key(self): + """Gets the public_key of this APIConfig. # noqa: E501 + + Public key, hex encoded # noqa: E501 + + :return: The public_key of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._public_key + + @public_key.setter + def public_key(self, public_key): + """Sets the public_key of this APIConfig. + + Public key, hex encoded # noqa: E501 + + :param public_key: The public_key of this APIConfig. # noqa: E501 + :type public_key: str + """ + if self.local_vars_configuration.client_side_validation and public_key is None: # noqa: E501 + raise ValueError("Invalid value for `public_key`, must not be `None`") # noqa: E501 + + self._public_key = public_key + @property def websocket_max_friends_refresh_delay(self): """Gets the websocket_max_friends_refresh_delay of this APIConfig. # noqa: E501 diff --git a/vrchatapi/models/api_config_access_logs_urls.py b/vrchatapi/models/api_config_access_logs_urls.py index 4c12b840..2af83c64 100644 --- a/vrchatapi/models/api_config_access_logs_urls.py +++ b/vrchatapi/models/api_config_access_logs_urls.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index 7e9bfabc..f442db12 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_avatar_perf_limiter.py b/vrchatapi/models/api_config_avatar_perf_limiter.py index 69150d16..f8a41474 100644 --- a/vrchatapi/models/api_config_avatar_perf_limiter.py +++ b/vrchatapi/models/api_config_avatar_perf_limiter.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants.py b/vrchatapi/models/api_config_constants.py index 81c3972b..fe61a608 100644 --- a/vrchatapi/models/api_config_constants.py +++ b/vrchatapi/models/api_config_constants.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_groups.py b/vrchatapi/models/api_config_constants_groups.py index 5f657e4a..446fd31a 100644 --- a/vrchatapi/models/api_config_constants_groups.py +++ b/vrchatapi/models/api_config_constants_groups.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instance.py b/vrchatapi/models/api_config_constants_instance.py index 001cf038..84126d25 100644 --- a/vrchatapi/models/api_config_constants_instance.py +++ b/vrchatapi/models/api_config_constants_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbrackets.py b/vrchatapi/models/api_config_constants_instancepopulationbrackets.py index e3aee6d5..7cca3ade 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbrackets.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbrackets.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py b/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py index d2c85356..e268aa26 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py b/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py index fe2783cf..60674952 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py b/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py index 41464e53..1285cace 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_language.py b/vrchatapi/models/api_config_constants_language.py index 620803c9..06d63627 100644 --- a/vrchatapi/models/api_config_constants_language.py +++ b/vrchatapi/models/api_config_constants_language.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index fff1daf3..724e105b 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index b7032daf..1cba690b 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_min_supported_client_build_number.py b/vrchatapi/models/api_config_min_supported_client_build_number.py index 5022fb2a..01131ea7 100644 --- a/vrchatapi/models/api_config_min_supported_client_build_number.py +++ b/vrchatapi/models/api_config_min_supported_client_build_number.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_offline_analysis.py b/vrchatapi/models/api_config_offline_analysis.py index 585aa55d..2475b5d1 100644 --- a/vrchatapi/models/api_config_offline_analysis.py +++ b/vrchatapi/models/api_config_offline_analysis.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_categories.py b/vrchatapi/models/api_config_report_categories.py index 088a1f8e..9b472e76 100644 --- a/vrchatapi/models/api_config_report_categories.py +++ b/vrchatapi/models/api_config_report_categories.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -37,6 +37,7 @@ class APIConfigReportCategories(object): """ openapi_types = { 'avatar': 'ReportCategory', + 'avatarpage': 'ReportCategory', 'behavior': 'ReportCategory', 'chat': 'ReportCategory', 'emoji': 'ReportCategory', @@ -52,6 +53,7 @@ class APIConfigReportCategories(object): attribute_map = { 'avatar': 'avatar', + 'avatarpage': 'avatarpage', 'behavior': 'behavior', 'chat': 'chat', 'emoji': 'emoji', @@ -65,13 +67,14 @@ class APIConfigReportCategories(object): 'worldstore': 'worldstore' } - def __init__(self, avatar=None, behavior=None, chat=None, emoji=None, environment=None, groupstore=None, image=None, text=None, sticker=None, warnings=None, worldimage=None, worldstore=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, avatar=None, avatarpage=None, behavior=None, chat=None, emoji=None, environment=None, groupstore=None, image=None, text=None, sticker=None, warnings=None, worldimage=None, worldstore=None, local_vars_configuration=None): # noqa: E501 """APIConfigReportCategories - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._avatar = None + self._avatarpage = None self._behavior = None self._chat = None self._emoji = None @@ -86,6 +89,8 @@ def __init__(self, avatar=None, behavior=None, chat=None, emoji=None, environmen self.discriminator = None self.avatar = avatar + if avatarpage is not None: + self.avatarpage = avatarpage self.behavior = behavior self.chat = chat if emoji is not None: @@ -123,6 +128,27 @@ def avatar(self, avatar): self._avatar = avatar + @property + def avatarpage(self): + """Gets the avatarpage of this APIConfigReportCategories. # noqa: E501 + + + :return: The avatarpage of this APIConfigReportCategories. # noqa: E501 + :rtype: ReportCategory + """ + return self._avatarpage + + @avatarpage.setter + def avatarpage(self, avatarpage): + """Sets the avatarpage of this APIConfigReportCategories. + + + :param avatarpage: The avatarpage of this APIConfigReportCategories. # noqa: E501 + :type avatarpage: ReportCategory + """ + + self._avatarpage = avatarpage + @property def behavior(self): """Gets the behavior of this APIConfigReportCategories. # noqa: E501 diff --git a/vrchatapi/models/api_config_report_options.py b/vrchatapi/models/api_config_report_options.py index c69f89d8..640773b7 100644 --- a/vrchatapi/models/api_config_report_options.py +++ b/vrchatapi/models/api_config_report_options.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options_avatar.py b/vrchatapi/models/api_config_report_options_avatar.py index 9146b1ac..30310e73 100644 --- a/vrchatapi/models/api_config_report_options_avatar.py +++ b/vrchatapi/models/api_config_report_options_avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -37,26 +37,31 @@ class APIConfigReportOptionsAvatar(object): """ openapi_types = { 'avatar': 'list[str]', + 'avatarpage': 'list[str]', 'warnings': 'list[str]' } attribute_map = { 'avatar': 'avatar', + 'avatarpage': 'avatarpage', 'warnings': 'warnings' } - def __init__(self, avatar=None, warnings=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, avatar=None, avatarpage=None, warnings=None, local_vars_configuration=None): # noqa: E501 """APIConfigReportOptionsAvatar - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._avatar = None + self._avatarpage = None self._warnings = None self.discriminator = None if avatar is not None: self.avatar = avatar + if avatarpage is not None: + self.avatarpage = avatarpage if warnings is not None: self.warnings = warnings @@ -81,6 +86,27 @@ def avatar(self, avatar): self._avatar = avatar + @property + def avatarpage(self): + """Gets the avatarpage of this APIConfigReportOptionsAvatar. # noqa: E501 + + + :return: The avatarpage of this APIConfigReportOptionsAvatar. # noqa: E501 + :rtype: list[str] + """ + return self._avatarpage + + @avatarpage.setter + def avatarpage(self, avatarpage): + """Sets the avatarpage of this APIConfigReportOptionsAvatar. + + + :param avatarpage: The avatarpage of this APIConfigReportOptionsAvatar. # noqa: E501 + :type avatarpage: list[str] + """ + + self._avatarpage = avatarpage + @property def warnings(self): """Gets the warnings of this APIConfigReportOptionsAvatar. # noqa: E501 diff --git a/vrchatapi/models/api_config_report_options_group.py b/vrchatapi/models/api_config_report_options_group.py index 2ef892ee..a8776291 100644 --- a/vrchatapi/models/api_config_report_options_group.py +++ b/vrchatapi/models/api_config_report_options_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options_user.py b/vrchatapi/models/api_config_report_options_user.py index 82c7b8e5..7c264ef2 100644 --- a/vrchatapi/models/api_config_report_options_user.py +++ b/vrchatapi/models/api_config_report_options_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options_world.py b/vrchatapi/models/api_config_report_options_world.py index aa9c70fc..d25485f1 100644 --- a/vrchatapi/models/api_config_report_options_world.py +++ b/vrchatapi/models/api_config_report_options_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_reasons.py b/vrchatapi/models/api_config_report_reasons.py index 3858fc15..5aead4a5 100644 --- a/vrchatapi/models/api_config_report_reasons.py +++ b/vrchatapi/models/api_config_report_reasons.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -39,6 +39,8 @@ class APIConfigReportReasons(object): 'billing': 'ReportReason', 'botting': 'ReportReason', 'cancellation': 'ReportReason', + 'copyright': 'ReportReason', + 'fraud': 'ReportReason', 'gore': 'ReportReason', 'hacking': 'ReportReason', 'harassing': 'ReportReason', @@ -53,6 +55,7 @@ class APIConfigReportReasons(object): 'security': 'ReportReason', 'service': 'ReportReason', 'sexual': 'ReportReason', + 'technical': 'ReportReason', 'threatening': 'ReportReason', 'visuals': 'ReportReason' } @@ -61,6 +64,8 @@ class APIConfigReportReasons(object): 'billing': 'billing', 'botting': 'botting', 'cancellation': 'cancellation', + 'copyright': 'copyright', + 'fraud': 'fraud', 'gore': 'gore', 'hacking': 'hacking', 'harassing': 'harassing', @@ -75,11 +80,12 @@ class APIConfigReportReasons(object): 'security': 'security', 'service': 'service', 'sexual': 'sexual', + 'technical': 'technical', 'threatening': 'threatening', 'visuals': 'visuals' } - def __init__(self, billing=None, botting=None, cancellation=None, gore=None, hacking=None, harassing=None, hateful=None, impersonation=None, inappropriate=None, leaking=None, malicious=None, missing=None, nudity=None, renewal=None, security=None, service=None, sexual=None, threatening=None, visuals=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, billing=None, botting=None, cancellation=None, copyright=None, fraud=None, gore=None, hacking=None, harassing=None, hateful=None, impersonation=None, inappropriate=None, leaking=None, malicious=None, missing=None, nudity=None, renewal=None, security=None, service=None, sexual=None, technical=None, threatening=None, visuals=None, local_vars_configuration=None): # noqa: E501 """APIConfigReportReasons - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -88,6 +94,8 @@ def __init__(self, billing=None, botting=None, cancellation=None, gore=None, hac self._billing = None self._botting = None self._cancellation = None + self._copyright = None + self._fraud = None self._gore = None self._hacking = None self._harassing = None @@ -102,6 +110,7 @@ def __init__(self, billing=None, botting=None, cancellation=None, gore=None, hac self._security = None self._service = None self._sexual = None + self._technical = None self._threatening = None self._visuals = None self.discriminator = None @@ -109,6 +118,10 @@ def __init__(self, billing=None, botting=None, cancellation=None, gore=None, hac self.billing = billing self.botting = botting self.cancellation = cancellation + if copyright is not None: + self.copyright = copyright + if fraud is not None: + self.fraud = fraud self.gore = gore self.hacking = hacking self.harassing = harassing @@ -123,6 +136,8 @@ def __init__(self, billing=None, botting=None, cancellation=None, gore=None, hac self.security = security self.service = service self.sexual = sexual + if technical is not None: + self.technical = technical self.threatening = threatening self.visuals = visuals @@ -195,6 +210,48 @@ def cancellation(self, cancellation): self._cancellation = cancellation + @property + def copyright(self): + """Gets the copyright of this APIConfigReportReasons. # noqa: E501 + + + :return: The copyright of this APIConfigReportReasons. # noqa: E501 + :rtype: ReportReason + """ + return self._copyright + + @copyright.setter + def copyright(self, copyright): + """Sets the copyright of this APIConfigReportReasons. + + + :param copyright: The copyright of this APIConfigReportReasons. # noqa: E501 + :type copyright: ReportReason + """ + + self._copyright = copyright + + @property + def fraud(self): + """Gets the fraud of this APIConfigReportReasons. # noqa: E501 + + + :return: The fraud of this APIConfigReportReasons. # noqa: E501 + :rtype: ReportReason + """ + return self._fraud + + @fraud.setter + def fraud(self, fraud): + """Sets the fraud of this APIConfigReportReasons. + + + :param fraud: The fraud of this APIConfigReportReasons. # noqa: E501 + :type fraud: ReportReason + """ + + self._fraud = fraud + @property def gore(self): """Gets the gore of this APIConfigReportReasons. # noqa: E501 @@ -517,6 +574,27 @@ def sexual(self, sexual): self._sexual = sexual + @property + def technical(self): + """Gets the technical of this APIConfigReportReasons. # noqa: E501 + + + :return: The technical of this APIConfigReportReasons. # noqa: E501 + :rtype: ReportReason + """ + return self._technical + + @technical.setter + def technical(self, technical): + """Sets the technical of this APIConfigReportReasons. + + + :param technical: The technical of this APIConfigReportReasons. # noqa: E501 + :type technical: ReportReason + """ + + self._technical = technical + @property def threatening(self): """Gets the threatening of this APIConfigReportReasons. # noqa: E501 diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index 210784b0..1ada63b8 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index db27a205..3611dcfa 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_styles.py b/vrchatapi/models/avatar_styles.py index 4578fcee..e4415878 100644 --- a/vrchatapi/models/avatar_styles.py +++ b/vrchatapi/models/avatar_styles.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index 37536083..4a2c165b 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/badge.py b/vrchatapi/models/badge.py index 39e84786..8e3031e6 100644 --- a/vrchatapi/models/badge.py +++ b/vrchatapi/models/badge.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/balance.py b/vrchatapi/models/balance.py index f59d48ba..ea285cf8 100644 --- a/vrchatapi/models/balance.py +++ b/vrchatapi/models/balance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index a47751da..3494543c 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/change_user_tags_request.py b/vrchatapi/models/change_user_tags_request.py new file mode 100644 index 00000000..238ff0ff --- /dev/null +++ b/vrchatapi/models/change_user_tags_request.py @@ -0,0 +1,134 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.19.2 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class ChangeUserTagsRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'tags': 'list[str]' + } + + attribute_map = { + 'tags': 'tags' + } + + def __init__(self, tags=None, local_vars_configuration=None): # noqa: E501 + """ChangeUserTagsRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._tags = None + self.discriminator = None + + self.tags = tags + + @property + def tags(self): + """Gets the tags of this ChangeUserTagsRequest. # noqa: E501 + + The tags being added or removed. # noqa: E501 + + :return: The tags of this ChangeUserTagsRequest. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this ChangeUserTagsRequest. + + The tags being added or removed. # noqa: E501 + + :param tags: The tags of this ChangeUserTagsRequest. # noqa: E501 + :type tags: list[str] + """ + if self.local_vars_configuration.client_side_validation and tags is None: # noqa: E501 + raise ValueError("Invalid value for `tags`, must not be `None`") # noqa: E501 + + self._tags = tags + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ChangeUserTagsRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ChangeUserTagsRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index 2ac589bf..cd7859fe 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index dcee2e09..8c30f3de 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index 55f34f29..3573a609 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index 85af36f9..8b6ace10 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index 3066a939..57fedd0f 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index 7dfa8191..af40ed0f 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_post_request.py b/vrchatapi/models/create_group_post_request.py index f4aab292..cf366821 100644 --- a/vrchatapi/models/create_group_post_request.py +++ b/vrchatapi/models/create_group_post_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index 8cebe92c..46272004 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index 2dd92ba9..95d939c8 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_instance_request.py b/vrchatapi/models/create_instance_request.py index 05bb4584..0f5e8a1d 100644 --- a/vrchatapi/models/create_instance_request.py +++ b/vrchatapi/models/create_instance_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index fef0ed75..93c40e5d 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index 8ffb27c2..b6f52cc0 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -48,7 +48,6 @@ class CurrentUser(object): 'bio': 'str', 'bio_links': 'list[str]', 'current_avatar': 'str', - 'current_avatar_asset_url': 'str', 'current_avatar_image_url': 'str', 'current_avatar_thumbnail_image_url': 'str', 'current_avatar_tags': 'list[str]', @@ -122,7 +121,6 @@ class CurrentUser(object): 'bio': 'bio', 'bio_links': 'bioLinks', 'current_avatar': 'currentAvatar', - 'current_avatar_asset_url': 'currentAvatarAssetUrl', 'current_avatar_image_url': 'currentAvatarImageUrl', 'current_avatar_thumbnail_image_url': 'currentAvatarThumbnailImageUrl', 'current_avatar_tags': 'currentAvatarTags', @@ -183,7 +181,7 @@ class CurrentUser(object): 'username': 'username' } - def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, account_deletion_date=None, account_deletion_log=None, active_friends=None, age_verification_status=None, age_verified=None, allow_avatar_copying=None, badges=None, bio=None, bio_links=None, current_avatar=None, current_avatar_asset_url=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, date_joined=None, developer_type=None, display_name=None, email_verified=None, fallback_avatar=None, friend_group_names=None, friend_key=None, friends=None, has_birthday=None, hide_content_filter_settings=None, user_language=None, user_language_code=None, has_email=None, has_logged_in_from_client=None, has_pending_email=None, home_location=None, id=None, is_adult=None, is_booping_enabled=True, is_friend=False, last_activity=None, last_login=None, last_mobile=None, last_platform=None, obfuscated_email=None, obfuscated_pending_email=None, oculus_id=None, google_id=None, google_details=None, pico_id=None, vive_id=None, offline_friends=None, online_friends=None, past_display_names=None, presence=None, platform_history=None, profile_pic_override=None, profile_pic_override_thumbnail=None, pronouns=None, queued_instance=None, receive_mobile_invitations=None, state=None, status=None, status_description=None, status_first_time=None, status_history=None, steam_details=None, steam_id=None, tags=None, two_factor_auth_enabled=None, two_factor_auth_enabled_date=None, unsubscribe=None, updated_at=None, user_icon=None, username=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, account_deletion_date=None, account_deletion_log=None, active_friends=None, age_verification_status=None, age_verified=None, allow_avatar_copying=None, badges=None, bio=None, bio_links=None, current_avatar=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, date_joined=None, developer_type=None, display_name=None, email_verified=None, fallback_avatar=None, friend_group_names=None, friend_key=None, friends=None, has_birthday=None, hide_content_filter_settings=None, user_language=None, user_language_code=None, has_email=None, has_logged_in_from_client=None, has_pending_email=None, home_location=None, id=None, is_adult=None, is_booping_enabled=True, is_friend=False, last_activity=None, last_login=None, last_mobile=None, last_platform=None, obfuscated_email=None, obfuscated_pending_email=None, oculus_id=None, google_id=None, google_details=None, pico_id=None, vive_id=None, offline_friends=None, online_friends=None, past_display_names=None, presence=None, platform_history=None, profile_pic_override=None, profile_pic_override_thumbnail=None, pronouns=None, queued_instance=None, receive_mobile_invitations=None, state=None, status=None, status_description=None, status_first_time=None, status_history=None, steam_details=None, steam_id=None, tags=None, two_factor_auth_enabled=None, two_factor_auth_enabled_date=None, unsubscribe=None, updated_at=None, user_icon=None, username=None, local_vars_configuration=None): # noqa: E501 """CurrentUser - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -201,7 +199,6 @@ def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, acc self._bio = None self._bio_links = None self._current_avatar = None - self._current_avatar_asset_url = None self._current_avatar_image_url = None self._current_avatar_thumbnail_image_url = None self._current_avatar_tags = None @@ -277,7 +274,6 @@ def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, acc self.bio = bio self.bio_links = bio_links self.current_avatar = current_avatar - self.current_avatar_asset_url = current_avatar_asset_url self.current_avatar_image_url = current_avatar_image_url self.current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url self.current_avatar_tags = current_avatar_tags @@ -634,29 +630,6 @@ def current_avatar(self, current_avatar): self._current_avatar = current_avatar - @property - def current_avatar_asset_url(self): - """Gets the current_avatar_asset_url of this CurrentUser. # noqa: E501 - - - :return: The current_avatar_asset_url of this CurrentUser. # noqa: E501 - :rtype: str - """ - return self._current_avatar_asset_url - - @current_avatar_asset_url.setter - def current_avatar_asset_url(self, current_avatar_asset_url): - """Sets the current_avatar_asset_url of this CurrentUser. - - - :param current_avatar_asset_url: The current_avatar_asset_url of this CurrentUser. # noqa: E501 - :type current_avatar_asset_url: str - """ - if self.local_vars_configuration.client_side_validation and current_avatar_asset_url is None: # noqa: E501 - raise ValueError("Invalid value for `current_avatar_asset_url`, must not be `None`") # noqa: E501 - - self._current_avatar_asset_url = current_avatar_asset_url - @property def current_avatar_image_url(self): """Gets the current_avatar_image_url of this CurrentUser. # noqa: E501 diff --git a/vrchatapi/models/current_user_platform_history_inner.py b/vrchatapi/models/current_user_platform_history_inner.py index 70068b31..26db516e 100644 --- a/vrchatapi/models/current_user_platform_history_inner.py +++ b/vrchatapi/models/current_user_platform_history_inner.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user_presence.py b/vrchatapi/models/current_user_presence.py index 902a87f9..67c934cd 100644 --- a/vrchatapi/models/current_user_presence.py +++ b/vrchatapi/models/current_user_presence.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index 6a65e584..643b45bc 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index 9775f570..ac608f33 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index 21f56f49..54cafc84 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index b3341074..8cc99b74 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index c310edbe..e5c66feb 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_limits.py b/vrchatapi/models/favorite_group_limits.py index 4e6f8d75..8ff5c3ac 100644 --- a/vrchatapi/models/favorite_group_limits.py +++ b/vrchatapi/models/favorite_group_limits.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index d05d2c2b..a8b71725 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_limits.py b/vrchatapi/models/favorite_limits.py index c860e80d..33a60da7 100644 --- a/vrchatapi/models/favorite_limits.py +++ b/vrchatapi/models/favorite_limits.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index bd6cef39..2d9a5027 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorited_world.py b/vrchatapi/models/favorited_world.py index 902678ce..5f38ecda 100644 --- a/vrchatapi/models/favorited_world.py +++ b/vrchatapi/models/favorited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/feedback.py b/vrchatapi/models/feedback.py index 040ac06d..16dba487 100644 --- a/vrchatapi/models/feedback.py +++ b/vrchatapi/models/feedback.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index 64ae2c0d..4d3049ce 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_analysis.py b/vrchatapi/models/file_analysis.py index 70d654fa..e8bba934 100644 --- a/vrchatapi/models/file_analysis.py +++ b/vrchatapi/models/file_analysis.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -39,6 +39,7 @@ class FileAnalysis(object): 'avatar_stats': 'FileAnalysisAvatarStats', 'created_at': 'datetime', 'file_size': 'int', + 'performance_rating': 'str', 'success': 'bool', 'uncompressed_size': 'int' } @@ -47,11 +48,12 @@ class FileAnalysis(object): 'avatar_stats': 'avatarStats', 'created_at': 'created_at', 'file_size': 'fileSize', + 'performance_rating': 'performanceRating', 'success': 'success', 'uncompressed_size': 'uncompressedSize' } - def __init__(self, avatar_stats=None, created_at=None, file_size=None, success=None, uncompressed_size=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, avatar_stats=None, created_at=None, file_size=None, performance_rating=None, success=None, uncompressed_size=None, local_vars_configuration=None): # noqa: E501 """FileAnalysis - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -60,6 +62,7 @@ def __init__(self, avatar_stats=None, created_at=None, file_size=None, success=N self._avatar_stats = None self._created_at = None self._file_size = None + self._performance_rating = None self._success = None self._uncompressed_size = None self.discriminator = None @@ -68,6 +71,8 @@ def __init__(self, avatar_stats=None, created_at=None, file_size=None, success=N if created_at is not None: self.created_at = created_at self.file_size = file_size + if performance_rating is not None: + self.performance_rating = performance_rating self.success = success self.uncompressed_size = uncompressed_size @@ -138,6 +143,27 @@ def file_size(self, file_size): self._file_size = file_size + @property + def performance_rating(self): + """Gets the performance_rating of this FileAnalysis. # noqa: E501 + + + :return: The performance_rating of this FileAnalysis. # noqa: E501 + :rtype: str + """ + return self._performance_rating + + @performance_rating.setter + def performance_rating(self, performance_rating): + """Sets the performance_rating of this FileAnalysis. + + + :param performance_rating: The performance_rating of this FileAnalysis. # noqa: E501 + :type performance_rating: str + """ + + self._performance_rating = performance_rating + @property def success(self): """Gets the success of this FileAnalysis. # noqa: E501 diff --git a/vrchatapi/models/file_analysis_avatar_stats.py b/vrchatapi/models/file_analysis_avatar_stats.py index 6da96773..3abea6a7 100644 --- a/vrchatapi/models/file_analysis_avatar_stats.py +++ b/vrchatapi/models/file_analysis_avatar_stats.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index d5b0db1d..ca00bb8e 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index a5cb781a..73c1ec8f 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index 2ca42c4f..2a23a158 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index 7a01adbc..8dbbce18 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index 636875ce..58a07c2d 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index c5bd0439..a2a6936a 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index 46dbb7e9..497efd5b 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/deployment_group.py b/vrchatapi/models/get_group_posts200_response.py similarity index 71% rename from vrchatapi/models/deployment_group.py rename to vrchatapi/models/get_group_posts200_response.py index 4449736d..16b03e76 100644 --- a/vrchatapi/models/deployment_group.py +++ b/vrchatapi/models/get_group_posts200_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -21,23 +21,13 @@ from vrchatapi.configuration import Configuration -class DeploymentGroup(object): +class GetGroupPosts200Response(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. """ - """ - allowed enum values - """ - BLUE = "blue" - GREEN = "green" - GRAPE = "grape" - CHERRY = "cherry" - - allowable_values = [BLUE, GREEN, GRAPE, CHERRY] # noqa: E501 - """ Attributes: openapi_types (dict): The key is attribute name @@ -46,18 +36,46 @@ class DeploymentGroup(object): and the value is json key in definition. """ openapi_types = { + 'posts': 'list[GroupPost]' } attribute_map = { + 'posts': 'posts' } - def __init__(self, local_vars_configuration=None): # noqa: E501 - """DeploymentGroup - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, posts=None, local_vars_configuration=None): # noqa: E501 + """GetGroupPosts200Response - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration + + self._posts = None self.discriminator = None + if posts is not None: + self.posts = posts + + @property + def posts(self): + """Gets the posts of this GetGroupPosts200Response. # noqa: E501 + + + :return: The posts of this GetGroupPosts200Response. # noqa: E501 + :rtype: list[GroupPost] + """ + return self._posts + + @posts.setter + def posts(self, posts): + """Sets the posts of this GetGroupPosts200Response. + + + :param posts: The posts of this GetGroupPosts200Response. # noqa: E501 + :type posts: list[GroupPost] + """ + + self._posts = posts + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} @@ -100,14 +118,14 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, DeploymentGroup): + if not isinstance(other, GetGroupPosts200Response): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, DeploymentGroup): + if not isinstance(other, GetGroupPosts200Response): return True return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/get_user_group_instances200_response.py b/vrchatapi/models/get_user_group_instances200_response.py index 6a7d7f7d..8499c8b7 100644 --- a/vrchatapi/models/get_user_group_instances200_response.py +++ b/vrchatapi/models/get_user_group_instances200_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index 2aa350a9..cb68a7b3 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_access_type.py b/vrchatapi/models/group_access_type.py index 9adaaa8b..b5c6c2a8 100644 --- a/vrchatapi/models/group_access_type.py +++ b/vrchatapi/models/group_access_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index 18b9a549..f7c2052d 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index 7f6fde37..07fb53a4 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index 94d1fc29..5b08efdd 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index b2a1bb8e..df07a8a3 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_instance.py b/vrchatapi/models/group_instance.py index f18f93d3..5fd45425 100644 --- a/vrchatapi/models/group_instance.py +++ b/vrchatapi/models/group_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_request_action.py b/vrchatapi/models/group_join_request_action.py index ae5531fb..a3271bd8 100644 --- a/vrchatapi/models/group_join_request_action.py +++ b/vrchatapi/models/group_join_request_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index 2ed7e453..e101aa5c 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index 2a9eaee3..c3c5781f 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index 59a1f7a0..5d45df87 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index 65252b1f..4873e5aa 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index 8f878a0e..b1a3dbf0 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index c9e07bbe..ac17bf15 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index 11eda058..8a298e97 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permissions.py b/vrchatapi/models/group_permissions.py index a83876e5..1d223088 100644 --- a/vrchatapi/models/group_permissions.py +++ b/vrchatapi/models/group_permissions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post.py b/vrchatapi/models/group_post.py index 6b3529a2..e756e69e 100644 --- a/vrchatapi/models/group_post.py +++ b/vrchatapi/models/group_post.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post_visibility.py b/vrchatapi/models/group_post_visibility.py index 391915bf..e22905b4 100644 --- a/vrchatapi/models/group_post_visibility.py +++ b/vrchatapi/models/group_post_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index bea822f6..318a9cfd 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index 2d4a8c6e..ed5cc4df 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index d51d1d9b..8f9dcd2b 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_search_sort.py b/vrchatapi/models/group_search_sort.py index 5b5a47cb..45ba9361 100644 --- a/vrchatapi/models/group_search_sort.py +++ b/vrchatapi/models/group_search_sort.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index a4d79753..a0042f71 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index 2281ea41..0bf65f5b 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index 0bab54a8..93a97057 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index 5b60c83d..d2406221 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index c0043300..2d13662a 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index e2a575f6..bacdc937 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index a969867c..b34e5a05 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -179,7 +179,8 @@ def __init__(self, active=True, age_gate=None, can_request_invite=True, capacity self.client_number = client_number self.display_name = display_name self.full = full - self.game_server_version = game_server_version + if game_server_version is not None: + self.game_server_version = game_server_version self.id = id self.instance_id = instance_id self.instance_persistence_enabled = instance_persistence_enabled @@ -405,8 +406,6 @@ def game_server_version(self, game_server_version): :param game_server_version: The game_server_version of this Instance. # noqa: E501 :type game_server_version: int """ - if self.local_vars_configuration.client_side_validation and game_server_version is None: # noqa: E501 - raise ValueError("Invalid value for `game_server_version`, must not be `None`") # noqa: E501 self._game_server_version = game_server_version diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index 12b29c35..475406af 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_region.py b/vrchatapi/models/instance_region.py index 05481147..65e4dc26 100644 --- a/vrchatapi/models/instance_region.py +++ b/vrchatapi/models/instance_region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index df5e1980..5bfbf7c3 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index 3a7e59a1..8257ddbb 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index 9f634ed0..366d4a4c 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index b21c114c..246f6a7e 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index 0993c558..6b90dbad 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index ac71703f..77cbbcfd 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/jam.py b/vrchatapi/models/jam.py index df98d675..2a96391b 100644 --- a/vrchatapi/models/jam.py +++ b/vrchatapi/models/jam.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/jam_state_change_dates.py b/vrchatapi/models/jam_state_change_dates.py index 27c2ae6f..31131c26 100644 --- a/vrchatapi/models/jam_state_change_dates.py +++ b/vrchatapi/models/jam_state_change_dates.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index 04f62c01..3e1a3e53 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index 9b1c2a61..7f2ca87a 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index 92d5489f..508d0313 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index 13638e84..dfb147a1 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_group.py b/vrchatapi/models/limited_group.py index d485b118..9eb16b44 100644 --- a/vrchatapi/models/limited_group.py +++ b/vrchatapi/models/limited_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index e87cf78d..afd610dd 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user.py b/vrchatapi/models/limited_user.py index 43541ff3..909b37ce 100644 --- a/vrchatapi/models/limited_user.py +++ b/vrchatapi/models/limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user_groups.py b/vrchatapi/models/limited_user_groups.py index eae34b86..0e29a276 100644 --- a/vrchatapi/models/limited_user_groups.py +++ b/vrchatapi/models/limited_user_groups.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index 4d5077bf..cf268c24 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index 9632833a..e49536de 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/model_print.py b/vrchatapi/models/model_print.py new file mode 100644 index 00000000..400cda76 --- /dev/null +++ b/vrchatapi/models/model_print.py @@ -0,0 +1,380 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.19.2 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class ModelPrint(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'author_id': 'str', + 'author_name': 'str', + 'created_at': 'datetime', + 'files': 'PrintFiles', + 'id': 'str', + 'note': 'str', + 'owner_id': 'str', + 'timestamp': 'datetime', + 'world_id': 'str', + 'world_name': 'str' + } + + attribute_map = { + 'author_id': 'authorId', + 'author_name': 'authorName', + 'created_at': 'createdAt', + 'files': 'files', + 'id': 'id', + 'note': 'note', + 'owner_id': 'ownerId', + 'timestamp': 'timestamp', + 'world_id': 'worldId', + 'world_name': 'worldName' + } + + def __init__(self, author_id=None, author_name=None, created_at=None, files=None, id=None, note=None, owner_id=None, timestamp=None, world_id=None, world_name=None, local_vars_configuration=None): # noqa: E501 + """ModelPrint - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._author_id = None + self._author_name = None + self._created_at = None + self._files = None + self._id = None + self._note = None + self._owner_id = None + self._timestamp = None + self._world_id = None + self._world_name = None + self.discriminator = None + + self.author_id = author_id + self.author_name = author_name + self.created_at = created_at + self.files = files + self.id = id + self.note = note + if owner_id is not None: + self.owner_id = owner_id + self.timestamp = timestamp + self.world_id = world_id + self.world_name = world_name + + @property + def author_id(self): + """Gets the author_id of this ModelPrint. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The author_id of this ModelPrint. # noqa: E501 + :rtype: str + """ + return self._author_id + + @author_id.setter + def author_id(self, author_id): + """Sets the author_id of this ModelPrint. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param author_id: The author_id of this ModelPrint. # noqa: E501 + :type author_id: str + """ + if self.local_vars_configuration.client_side_validation and author_id is None: # noqa: E501 + raise ValueError("Invalid value for `author_id`, must not be `None`") # noqa: E501 + + self._author_id = author_id + + @property + def author_name(self): + """Gets the author_name of this ModelPrint. # noqa: E501 + + + :return: The author_name of this ModelPrint. # noqa: E501 + :rtype: str + """ + return self._author_name + + @author_name.setter + def author_name(self, author_name): + """Sets the author_name of this ModelPrint. + + + :param author_name: The author_name of this ModelPrint. # noqa: E501 + :type author_name: str + """ + if self.local_vars_configuration.client_side_validation and author_name is None: # noqa: E501 + raise ValueError("Invalid value for `author_name`, must not be `None`") # noqa: E501 + + self._author_name = author_name + + @property + def created_at(self): + """Gets the created_at of this ModelPrint. # noqa: E501 + + + :return: The created_at of this ModelPrint. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this ModelPrint. + + + :param created_at: The created_at of this ModelPrint. # noqa: E501 + :type created_at: datetime + """ + if self.local_vars_configuration.client_side_validation and created_at is None: # noqa: E501 + raise ValueError("Invalid value for `created_at`, must not be `None`") # noqa: E501 + + self._created_at = created_at + + @property + def files(self): + """Gets the files of this ModelPrint. # noqa: E501 + + + :return: The files of this ModelPrint. # noqa: E501 + :rtype: PrintFiles + """ + return self._files + + @files.setter + def files(self, files): + """Sets the files of this ModelPrint. + + + :param files: The files of this ModelPrint. # noqa: E501 + :type files: PrintFiles + """ + if self.local_vars_configuration.client_side_validation and files is None: # noqa: E501 + raise ValueError("Invalid value for `files`, must not be `None`") # noqa: E501 + + self._files = files + + @property + def id(self): + """Gets the id of this ModelPrint. # noqa: E501 + + + :return: The id of this ModelPrint. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this ModelPrint. + + + :param id: The id of this ModelPrint. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + + self._id = id + + @property + def note(self): + """Gets the note of this ModelPrint. # noqa: E501 + + + :return: The note of this ModelPrint. # noqa: E501 + :rtype: str + """ + return self._note + + @note.setter + def note(self, note): + """Sets the note of this ModelPrint. + + + :param note: The note of this ModelPrint. # noqa: E501 + :type note: str + """ + if self.local_vars_configuration.client_side_validation and note is None: # noqa: E501 + raise ValueError("Invalid value for `note`, must not be `None`") # noqa: E501 + + self._note = note + + @property + def owner_id(self): + """Gets the owner_id of this ModelPrint. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The owner_id of this ModelPrint. # noqa: E501 + :rtype: str + """ + return self._owner_id + + @owner_id.setter + def owner_id(self, owner_id): + """Sets the owner_id of this ModelPrint. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param owner_id: The owner_id of this ModelPrint. # noqa: E501 + :type owner_id: str + """ + + self._owner_id = owner_id + + @property + def timestamp(self): + """Gets the timestamp of this ModelPrint. # noqa: E501 + + + :return: The timestamp of this ModelPrint. # noqa: E501 + :rtype: datetime + """ + return self._timestamp + + @timestamp.setter + def timestamp(self, timestamp): + """Sets the timestamp of this ModelPrint. + + + :param timestamp: The timestamp of this ModelPrint. # noqa: E501 + :type timestamp: datetime + """ + if self.local_vars_configuration.client_side_validation and timestamp is None: # noqa: E501 + raise ValueError("Invalid value for `timestamp`, must not be `None`") # noqa: E501 + + self._timestamp = timestamp + + @property + def world_id(self): + """Gets the world_id of this ModelPrint. # noqa: E501 + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :return: The world_id of this ModelPrint. # noqa: E501 + :rtype: str + """ + return self._world_id + + @world_id.setter + def world_id(self, world_id): + """Sets the world_id of this ModelPrint. + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :param world_id: The world_id of this ModelPrint. # noqa: E501 + :type world_id: str + """ + if self.local_vars_configuration.client_side_validation and world_id is None: # noqa: E501 + raise ValueError("Invalid value for `world_id`, must not be `None`") # noqa: E501 + + self._world_id = world_id + + @property + def world_name(self): + """Gets the world_name of this ModelPrint. # noqa: E501 + + + :return: The world_name of this ModelPrint. # noqa: E501 + :rtype: str + """ + return self._world_name + + @world_name.setter + def world_name(self, world_name): + """Sets the world_name of this ModelPrint. + + + :param world_name: The world_name of this ModelPrint. # noqa: E501 + :type world_name: str + """ + if self.local_vars_configuration.client_side_validation and world_name is None: # noqa: E501 + raise ValueError("Invalid value for `world_name`, must not be `None`") # noqa: E501 + + self._world_name = world_name + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ModelPrint): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ModelPrint): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index 131cee7d..6a48b136 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index 2c06fc1f..9c30cec6 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite.py b/vrchatapi/models/notification_detail_invite.py index 52641fc2..bef0f886 100644 --- a/vrchatapi/models/notification_detail_invite.py +++ b/vrchatapi/models/notification_detail_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite_response.py b/vrchatapi/models/notification_detail_invite_response.py index bf683fa8..67b9a297 100644 --- a/vrchatapi/models/notification_detail_invite_response.py +++ b/vrchatapi/models/notification_detail_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite.py b/vrchatapi/models/notification_detail_request_invite.py index 84501fcf..9ee2e187 100644 --- a/vrchatapi/models/notification_detail_request_invite.py +++ b/vrchatapi/models/notification_detail_request_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite_response.py b/vrchatapi/models/notification_detail_request_invite_response.py index ffbea98d..39b4a788 100644 --- a/vrchatapi/models/notification_detail_request_invite_response.py +++ b/vrchatapi/models/notification_detail_request_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_vote_to_kick.py b/vrchatapi/models/notification_detail_vote_to_kick.py index 979a6f45..57205bc6 100644 --- a/vrchatapi/models/notification_detail_vote_to_kick.py +++ b/vrchatapi/models/notification_detail_vote_to_kick.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index 3aa418ed..771e00a1 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index 8ea39192..01406be0 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index 9561657f..827bee0c 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index c67da0be..819ef629 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/performance_limiter_info.py b/vrchatapi/models/performance_limiter_info.py index 08a1709b..97e37b6b 100644 --- a/vrchatapi/models/performance_limiter_info.py +++ b/vrchatapi/models/performance_limiter_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/performance_ratings.py b/vrchatapi/models/performance_ratings.py index 192107b3..1ca32458 100644 --- a/vrchatapi/models/performance_ratings.py +++ b/vrchatapi/models/performance_ratings.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index a4366256..049609b7 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/platform_build_info.py b/vrchatapi/models/platform_build_info.py index 759073db..221cd0c4 100644 --- a/vrchatapi/models/platform_build_info.py +++ b/vrchatapi/models/platform_build_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index 99d1bf81..1958cb0d 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index 35bfa777..8f7a8a57 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/print_files.py b/vrchatapi/models/print_files.py new file mode 100644 index 00000000..5d45cb6d --- /dev/null +++ b/vrchatapi/models/print_files.py @@ -0,0 +1,159 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.19.2 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class PrintFiles(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'file_id': 'str', + 'image': 'str' + } + + attribute_map = { + 'file_id': 'fileId', + 'image': 'image' + } + + def __init__(self, file_id=None, image=None, local_vars_configuration=None): # noqa: E501 + """PrintFiles - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._file_id = None + self._image = None + self.discriminator = None + + if file_id is not None: + self.file_id = file_id + if image is not None: + self.image = image + + @property + def file_id(self): + """Gets the file_id of this PrintFiles. # noqa: E501 + + + :return: The file_id of this PrintFiles. # noqa: E501 + :rtype: str + """ + return self._file_id + + @file_id.setter + def file_id(self, file_id): + """Sets the file_id of this PrintFiles. + + + :param file_id: The file_id of this PrintFiles. # noqa: E501 + :type file_id: str + """ + + self._file_id = file_id + + @property + def image(self): + """Gets the image of this PrintFiles. # noqa: E501 + + Link to file, e.g. https://api.vrchat.cloud/api/1/file/file_66fe782d-f2bd-4462-9761-1d766d7b2b26/1/file # noqa: E501 + + :return: The image of this PrintFiles. # noqa: E501 + :rtype: str + """ + return self._image + + @image.setter + def image(self, image): + """Sets the image of this PrintFiles. + + Link to file, e.g. https://api.vrchat.cloud/api/1/file/file_66fe782d-f2bd-4462-9761-1d766d7b2b26/1/file # noqa: E501 + + :param image: The image of this PrintFiles. # noqa: E501 + :type image: str + """ + + self._image = image + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, PrintFiles): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, PrintFiles): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/product.py b/vrchatapi/models/product.py index 908c8cc8..33385f7e 100644 --- a/vrchatapi/models/product.py +++ b/vrchatapi/models/product.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_listing.py b/vrchatapi/models/product_listing.py index c80911f0..39307cfd 100644 --- a/vrchatapi/models/product_listing.py +++ b/vrchatapi/models/product_listing.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_listing_type.py b/vrchatapi/models/product_listing_type.py index 3513c225..876c47cb 100644 --- a/vrchatapi/models/product_listing_type.py +++ b/vrchatapi/models/product_listing_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_listing_variant.py b/vrchatapi/models/product_listing_variant.py index 6e9ecc15..bc363989 100644 --- a/vrchatapi/models/product_listing_variant.py +++ b/vrchatapi/models/product_listing_variant.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_type.py b/vrchatapi/models/product_type.py index 758e3d8d..5f583036 100644 --- a/vrchatapi/models/product_type.py +++ b/vrchatapi/models/product_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index b0bffddb..28e0f194 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index dcac0661..5c0e6e24 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/report_category.py b/vrchatapi/models/report_category.py index a3fc8c80..f178b2b7 100644 --- a/vrchatapi/models/report_category.py +++ b/vrchatapi/models/report_category.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,28 +36,84 @@ class ReportCategory(object): and the value is json key in definition. """ openapi_types = { + 'description': 'str', + 'title': 'str', 'text': 'str', 'tooltip': 'str' } attribute_map = { + 'description': 'description', + 'title': 'title', 'text': 'text', 'tooltip': 'tooltip' } - def __init__(self, text=None, tooltip=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, description=None, title=None, text=None, tooltip=None, local_vars_configuration=None): # noqa: E501 """ReportCategory - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration + self._description = None + self._title = None self._text = None self._tooltip = None self.discriminator = None + if description is not None: + self.description = description + if title is not None: + self.title = title self.text = text self.tooltip = tooltip + @property + def description(self): + """Gets the description of this ReportCategory. # noqa: E501 + + The description of the report category # noqa: E501 + + :return: The description of this ReportCategory. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this ReportCategory. + + The description of the report category # noqa: E501 + + :param description: The description of this ReportCategory. # noqa: E501 + :type description: str + """ + + self._description = description + + @property + def title(self): + """Gets the title of this ReportCategory. # noqa: E501 + + The title of the report category # noqa: E501 + + :return: The title of this ReportCategory. # noqa: E501 + :rtype: str + """ + return self._title + + @title.setter + def title(self, title): + """Sets the title of this ReportCategory. + + The title of the report category # noqa: E501 + + :param title: The title of this ReportCategory. # noqa: E501 + :type title: str + """ + + self._title = title + @property def text(self): """Gets the text of this ReportCategory. # noqa: E501 diff --git a/vrchatapi/models/report_reason.py b/vrchatapi/models/report_reason.py index fd68e3d2..bc86b270 100644 --- a/vrchatapi/models/report_reason.py +++ b/vrchatapi/models/report_reason.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/represented_group.py b/vrchatapi/models/represented_group.py index 8cf61775..dad1bdfb 100644 --- a/vrchatapi/models/represented_group.py +++ b/vrchatapi/models/represented_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index 3c2f171c..796a7fa4 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index 080529d5..43a91129 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index c5709242..59a51968 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index 43701c2e..406b07de 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/service_queue_stats.py b/vrchatapi/models/service_queue_stats.py new file mode 100644 index 00000000..57b0dccd --- /dev/null +++ b/vrchatapi/models/service_queue_stats.py @@ -0,0 +1,132 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.19.2 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class ServiceQueueStats(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'estimated_service_duration_seconds': 'int' + } + + attribute_map = { + 'estimated_service_duration_seconds': 'estimatedServiceDurationSeconds' + } + + def __init__(self, estimated_service_duration_seconds=None, local_vars_configuration=None): # noqa: E501 + """ServiceQueueStats - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._estimated_service_duration_seconds = None + self.discriminator = None + + self.estimated_service_duration_seconds = estimated_service_duration_seconds + + @property + def estimated_service_duration_seconds(self): + """Gets the estimated_service_duration_seconds of this ServiceQueueStats. # noqa: E501 + + + :return: The estimated_service_duration_seconds of this ServiceQueueStats. # noqa: E501 + :rtype: int + """ + return self._estimated_service_duration_seconds + + @estimated_service_duration_seconds.setter + def estimated_service_duration_seconds(self, estimated_service_duration_seconds): + """Sets the estimated_service_duration_seconds of this ServiceQueueStats. + + + :param estimated_service_duration_seconds: The estimated_service_duration_seconds of this ServiceQueueStats. # noqa: E501 + :type estimated_service_duration_seconds: int + """ + if self.local_vars_configuration.client_side_validation and estimated_service_duration_seconds is None: # noqa: E501 + raise ValueError("Invalid value for `estimated_service_duration_seconds`, must not be `None`") # noqa: E501 + + self._estimated_service_duration_seconds = estimated_service_duration_seconds + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ServiceQueueStats): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ServiceQueueStats): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/service_status.py b/vrchatapi/models/service_status.py new file mode 100644 index 00000000..a92d6e48 --- /dev/null +++ b/vrchatapi/models/service_status.py @@ -0,0 +1,358 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.19.2 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class ServiceStatus(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'created_at': 'datetime', + 'id': 'str', + 'progress': 'list[object]', + 'requester_user_id': 'str', + 'state': 'str', + 'subject_id': 'str', + 'subject_type': 'str', + 'type': 'str', + 'updated_at': 'datetime' + } + + attribute_map = { + 'created_at': 'created_at', + 'id': 'id', + 'progress': 'progress', + 'requester_user_id': 'requesterUserId', + 'state': 'state', + 'subject_id': 'subjectId', + 'subject_type': 'subjectType', + 'type': 'type', + 'updated_at': 'updated_at' + } + + def __init__(self, created_at=None, id=None, progress=None, requester_user_id=None, state=None, subject_id=None, subject_type=None, type=None, updated_at=None, local_vars_configuration=None): # noqa: E501 + """ServiceStatus - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._created_at = None + self._id = None + self._progress = None + self._requester_user_id = None + self._state = None + self._subject_id = None + self._subject_type = None + self._type = None + self._updated_at = None + self.discriminator = None + + self.created_at = created_at + self.id = id + self.progress = progress + self.requester_user_id = requester_user_id + self.state = state + self.subject_id = subject_id + self.subject_type = subject_type + self.type = type + self.updated_at = updated_at + + @property + def created_at(self): + """Gets the created_at of this ServiceStatus. # noqa: E501 + + + :return: The created_at of this ServiceStatus. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this ServiceStatus. + + + :param created_at: The created_at of this ServiceStatus. # noqa: E501 + :type created_at: datetime + """ + if self.local_vars_configuration.client_side_validation and created_at is None: # noqa: E501 + raise ValueError("Invalid value for `created_at`, must not be `None`") # noqa: E501 + + self._created_at = created_at + + @property + def id(self): + """Gets the id of this ServiceStatus. # noqa: E501 + + The id of this service, NOT the id of the thing this service was requested for. # noqa: E501 + + :return: The id of this ServiceStatus. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this ServiceStatus. + + The id of this service, NOT the id of the thing this service was requested for. # noqa: E501 + + :param id: The id of this ServiceStatus. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + + self._id = id + + @property + def progress(self): + """Gets the progress of this ServiceStatus. # noqa: E501 + + + :return: The progress of this ServiceStatus. # noqa: E501 + :rtype: list[object] + """ + return self._progress + + @progress.setter + def progress(self, progress): + """Sets the progress of this ServiceStatus. + + + :param progress: The progress of this ServiceStatus. # noqa: E501 + :type progress: list[object] + """ + if self.local_vars_configuration.client_side_validation and progress is None: # noqa: E501 + raise ValueError("Invalid value for `progress`, must not be `None`") # noqa: E501 + + self._progress = progress + + @property + def requester_user_id(self): + """Gets the requester_user_id of this ServiceStatus. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The requester_user_id of this ServiceStatus. # noqa: E501 + :rtype: str + """ + return self._requester_user_id + + @requester_user_id.setter + def requester_user_id(self, requester_user_id): + """Sets the requester_user_id of this ServiceStatus. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param requester_user_id: The requester_user_id of this ServiceStatus. # noqa: E501 + :type requester_user_id: str + """ + if self.local_vars_configuration.client_side_validation and requester_user_id is None: # noqa: E501 + raise ValueError("Invalid value for `requester_user_id`, must not be `None`") # noqa: E501 + + self._requester_user_id = requester_user_id + + @property + def state(self): + """Gets the state of this ServiceStatus. # noqa: E501 + + + :return: The state of this ServiceStatus. # noqa: E501 + :rtype: str + """ + return self._state + + @state.setter + def state(self, state): + """Sets the state of this ServiceStatus. + + + :param state: The state of this ServiceStatus. # noqa: E501 + :type state: str + """ + if self.local_vars_configuration.client_side_validation and state is None: # noqa: E501 + raise ValueError("Invalid value for `state`, must not be `None`") # noqa: E501 + + self._state = state + + @property + def subject_id(self): + """Gets the subject_id of this ServiceStatus. # noqa: E501 + + The id of the thing this service was requested for. # noqa: E501 + + :return: The subject_id of this ServiceStatus. # noqa: E501 + :rtype: str + """ + return self._subject_id + + @subject_id.setter + def subject_id(self, subject_id): + """Sets the subject_id of this ServiceStatus. + + The id of the thing this service was requested for. # noqa: E501 + + :param subject_id: The subject_id of this ServiceStatus. # noqa: E501 + :type subject_id: str + """ + if self.local_vars_configuration.client_side_validation and subject_id is None: # noqa: E501 + raise ValueError("Invalid value for `subject_id`, must not be `None`") # noqa: E501 + + self._subject_id = subject_id + + @property + def subject_type(self): + """Gets the subject_type of this ServiceStatus. # noqa: E501 + + The kind of the thing this service was requested for. # noqa: E501 + + :return: The subject_type of this ServiceStatus. # noqa: E501 + :rtype: str + """ + return self._subject_type + + @subject_type.setter + def subject_type(self, subject_type): + """Sets the subject_type of this ServiceStatus. + + The kind of the thing this service was requested for. # noqa: E501 + + :param subject_type: The subject_type of this ServiceStatus. # noqa: E501 + :type subject_type: str + """ + if self.local_vars_configuration.client_side_validation and subject_type is None: # noqa: E501 + raise ValueError("Invalid value for `subject_type`, must not be `None`") # noqa: E501 + + self._subject_type = subject_type + + @property + def type(self): + """Gets the type of this ServiceStatus. # noqa: E501 + + The kind of service that was requested. # noqa: E501 + + :return: The type of this ServiceStatus. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this ServiceStatus. + + The kind of service that was requested. # noqa: E501 + + :param type: The type of this ServiceStatus. # noqa: E501 + :type type: str + """ + if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501 + raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 + + self._type = type + + @property + def updated_at(self): + """Gets the updated_at of this ServiceStatus. # noqa: E501 + + + :return: The updated_at of this ServiceStatus. # noqa: E501 + :rtype: datetime + """ + return self._updated_at + + @updated_at.setter + def updated_at(self, updated_at): + """Sets the updated_at of this ServiceStatus. + + + :param updated_at: The updated_at of this ServiceStatus. # noqa: E501 + :type updated_at: datetime + """ + if self.local_vars_configuration.client_side_validation and updated_at is None: # noqa: E501 + raise ValueError("Invalid value for `updated_at`, must not be `None`") # noqa: E501 + + self._updated_at = updated_at + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ServiceStatus): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ServiceStatus): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index 7a7dee4d..96641423 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/submission.py b/vrchatapi/models/submission.py index 3f691289..2dfc98c1 100644 --- a/vrchatapi/models/submission.py +++ b/vrchatapi/models/submission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index 369d2f62..07101b90 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index ae424b98..0a4d54d5 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index 6c4cf9bf..a5bbc976 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/tilia_status.py b/vrchatapi/models/tilia_status.py index 401ae2bd..70f86830 100644 --- a/vrchatapi/models/tilia_status.py +++ b/vrchatapi/models/tilia_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/tilia_tos.py b/vrchatapi/models/tilia_tos.py index 91166a0f..50fb8b23 100644 --- a/vrchatapi/models/tilia_tos.py +++ b/vrchatapi/models/tilia_tos.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/token_bundle.py b/vrchatapi/models/token_bundle.py index 446ecb13..3a8f3188 100644 --- a/vrchatapi/models/token_bundle.py +++ b/vrchatapi/models/token_bundle.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index 2c19d8a1..d3c1df6f 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index ffd80f46..e05ffaeb 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index 2981c4e1..5d780eda 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index 349a7036..77a7f515 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index 640a1b7d..ed0afd24 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index 4b952d99..477b4a2c 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_email_code.py b/vrchatapi/models/two_factor_email_code.py index 384117b9..065a3c8a 100644 --- a/vrchatapi/models/two_factor_email_code.py +++ b/vrchatapi/models/two_factor_email_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index 32e5b3c8..e9dc7988 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index f389f71d..ac96d0dd 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index 20022cd8..5928cfe7 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index af3a2caf..65e6a2e2 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index 0b899877..98def21f 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index a75f4762..be89bd6c 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index 3c6c5225..22efca9b 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index f572f631..b91ac602 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_badge_request.py b/vrchatapi/models/update_user_badge_request.py new file mode 100644 index 00000000..447e32fc --- /dev/null +++ b/vrchatapi/models/update_user_badge_request.py @@ -0,0 +1,157 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.19.2 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class UpdateUserBadgeRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'hidden': 'bool', + 'showcased': 'bool' + } + + attribute_map = { + 'hidden': 'hidden', + 'showcased': 'showcased' + } + + def __init__(self, hidden=None, showcased=None, local_vars_configuration=None): # noqa: E501 + """UpdateUserBadgeRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._hidden = None + self._showcased = None + self.discriminator = None + + if hidden is not None: + self.hidden = hidden + if showcased is not None: + self.showcased = showcased + + @property + def hidden(self): + """Gets the hidden of this UpdateUserBadgeRequest. # noqa: E501 + + + :return: The hidden of this UpdateUserBadgeRequest. # noqa: E501 + :rtype: bool + """ + return self._hidden + + @hidden.setter + def hidden(self, hidden): + """Sets the hidden of this UpdateUserBadgeRequest. + + + :param hidden: The hidden of this UpdateUserBadgeRequest. # noqa: E501 + :type hidden: bool + """ + + self._hidden = hidden + + @property + def showcased(self): + """Gets the showcased of this UpdateUserBadgeRequest. # noqa: E501 + + + :return: The showcased of this UpdateUserBadgeRequest. # noqa: E501 + :rtype: bool + """ + return self._showcased + + @showcased.setter + def showcased(self, showcased): + """Sets the showcased of this UpdateUserBadgeRequest. + + + :param showcased: The showcased of this UpdateUserBadgeRequest. # noqa: E501 + :type showcased: bool + """ + + self._showcased = showcased + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, UpdateUserBadgeRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, UpdateUserBadgeRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/update_user_note_request.py b/vrchatapi/models/update_user_note_request.py index b8d54799..4cf5928e 100644 --- a/vrchatapi/models/update_user_note_request.py +++ b/vrchatapi/models/update_user_note_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index 0b7be785..61d22f60 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index 6b55dacf..9e7d4118 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index 03fe4572..111579ac 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index 372a759b..6e931828 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_note.py b/vrchatapi/models/user_note.py index 42cd602f..9d63c9cc 100644 --- a/vrchatapi/models/user_note.py +++ b/vrchatapi/models/user_note.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_note_target_user.py b/vrchatapi/models/user_note_target_user.py index fc1c3ce9..3bb2ff8e 100644 --- a/vrchatapi/models/user_note_target_user.py +++ b/vrchatapi/models/user_note_target_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index fe567e90..5e9b7fb7 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index cd289fd2..7e02ed76 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index 2b590ec7..b9448e42 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_email_code_result.py b/vrchatapi/models/verify2_fa_email_code_result.py index cd12ca72..a15694ee 100644 --- a/vrchatapi/models/verify2_fa_email_code_result.py +++ b/vrchatapi/models/verify2_fa_email_code_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index faab451e..9c056b14 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index 90013933..af51c7f1 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index 984f8a94..5e365a36 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index 236c9eb1..b2611885 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index a3d7dc79..76fd9915 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index 07eab204..ece2d5f1 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.1 + The version of the OpenAPI document: 1.19.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ From c352caf451b9d56ec8602720518477e9e617110e Mon Sep 17 00:00:00 2001 From: VRCCat Date: Tue, 20 May 2025 13:24:30 +0000 Subject: [PATCH 071/102] Upgrade Python SDK to spec 1.19.3 --- .openapi-generator/FILES | 18 + docs/AuthenticationApi.md | 654 ++++++- docs/Avatar.md | 11 +- docs/AvatarPublishedListingsInner.md | 16 + docs/AvatarsApi.md | 1 + docs/CreateAvatarRequest.md | 5 + docs/CreateInstanceRequest.md | 4 + docs/CurrentUser.md | 2 + docs/Disable2FAResult.md | 11 + docs/FavoritedWorld.md | 1 + docs/FavoritesApi.md | 6 +- docs/File.md | 2 + docs/FileAnalysis.md | 1 + docs/FilesApi.md | 241 ++- docs/GroupRoleTemplateValues.md | 14 + docs/GroupRoleTemplateValuesRoles.md | 14 + docs/GroupsApi.md | 71 + docs/Instance.md | 1 + docs/InstanceContentSettings.md | 16 + docs/InstancesApi.md | 2 +- docs/InviteApi.md | 239 ++- docs/LimitedWorld.md | 2 + docs/Pending2FAResult.md | 12 + docs/PrintsApi.md | 162 ++ docs/RegisterUserAccountRequest.md | 19 + docs/TiliaStatus.md | 3 + docs/TwoFactorRecoveryCodes.md | 12 + docs/TwoFactorRecoveryCodesOtpInner.md | 12 + docs/UpdateUserRequest.md | 6 + docs/UsersApi.md | 1 + docs/Verify2FAResult.md | 1 + docs/World.md | 2 + package-lock.json | 82 +- package.json | 2 +- setup.py | 4 +- vrchatapi/__init__.py | 11 +- vrchatapi/api/authentication_api.py | 1571 +++++++++++++++-- vrchatapi/api/avatars_api.py | 3 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 9 +- vrchatapi/api/files_api.py | 486 ++++- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/groups_api.py | 130 +- vrchatapi/api/instances_api.py | 6 +- vrchatapi/api/invite_api.py | 504 +++++- vrchatapi/api/jams_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/prints_api.py | 342 +++- vrchatapi/api/system_api.py | 2 +- vrchatapi/api/users_api.py | 3 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 +- vrchatapi/exceptions.py | 2 +- vrchatapi/models/__init__.py | 11 +- vrchatapi/models/account_deletion_log.py | 2 +- vrchatapi/models/add_favorite_request.py | 2 +- .../models/add_group_gallery_image_request.py | 2 +- vrchatapi/models/age_verification_status.py | 2 +- vrchatapi/models/api_config.py | 2 +- .../models/api_config_access_logs_urls.py | 2 +- vrchatapi/models/api_config_announcement.py | 2 +- .../models/api_config_avatar_perf_limiter.py | 2 +- vrchatapi/models/api_config_constants.py | 2 +- .../models/api_config_constants_groups.py | 2 +- .../models/api_config_constants_instance.py | 2 +- ...ig_constants_instancepopulationbrackets.py | 2 +- ...tants_instancepopulationbracketscrowded.py | 2 +- ...constants_instancepopulationbracketsfew.py | 2 +- ...onstants_instancepopulationbracketsmany.py | 2 +- .../models/api_config_constants_language.py | 2 +- .../models/api_config_download_url_list.py | 2 +- vrchatapi/models/api_config_events.py | 2 +- ...onfig_min_supported_client_build_number.py | 2 +- .../models/api_config_offline_analysis.py | 2 +- .../models/api_config_report_categories.py | 2 +- vrchatapi/models/api_config_report_options.py | 2 +- .../api_config_report_options_avatar.py | 2 +- .../models/api_config_report_options_group.py | 2 +- .../models/api_config_report_options_user.py | 2 +- .../models/api_config_report_options_world.py | 2 +- vrchatapi/models/api_config_report_reasons.py | 2 +- vrchatapi/models/api_health.py | 2 +- vrchatapi/models/avatar.py | 194 +- .../models/avatar_published_listings_inner.py | 261 +++ vrchatapi/models/avatar_styles.py | 2 +- .../models/avatar_unity_package_url_object.py | 2 +- vrchatapi/models/badge.py | 2 +- vrchatapi/models/balance.py | 2 +- vrchatapi/models/ban_group_member_request.py | 2 +- vrchatapi/models/change_user_tags_request.py | 2 +- vrchatapi/models/create_avatar_request.py | 143 +- vrchatapi/models/create_file_request.py | 2 +- .../models/create_file_version_request.py | 2 +- .../create_group_announcement_request.py | 2 +- .../models/create_group_gallery_request.py | 2 +- .../models/create_group_invite_request.py | 2 +- vrchatapi/models/create_group_post_request.py | 2 +- vrchatapi/models/create_group_request.py | 2 +- vrchatapi/models/create_group_role_request.py | 2 +- vrchatapi/models/create_instance_request.py | 110 +- vrchatapi/models/create_world_request.py | 2 +- vrchatapi/models/current_user.py | 60 +- .../current_user_platform_history_inner.py | 2 +- vrchatapi/models/current_user_presence.py | 2 +- vrchatapi/models/developer_type.py | 2 +- vrchatapi/models/disable2_fa_result.py | 132 ++ vrchatapi/models/dynamic_content_row.py | 2 +- vrchatapi/models/error.py | 2 +- vrchatapi/models/favorite.py | 2 +- vrchatapi/models/favorite_group.py | 2 +- vrchatapi/models/favorite_group_limits.py | 2 +- vrchatapi/models/favorite_group_visibility.py | 2 +- vrchatapi/models/favorite_limits.py | 2 +- vrchatapi/models/favorite_type.py | 2 +- vrchatapi/models/favorited_world.py | 30 +- vrchatapi/models/feedback.py | 2 +- vrchatapi/models/file.py | 56 +- vrchatapi/models/file_analysis.py | 30 +- .../models/file_analysis_avatar_stats.py | 2 +- vrchatapi/models/file_data.py | 2 +- vrchatapi/models/file_status.py | 2 +- vrchatapi/models/file_upload_url.py | 2 +- vrchatapi/models/file_version.py | 2 +- .../models/file_version_upload_status.py | 2 +- .../models/finish_file_data_upload_request.py | 2 +- vrchatapi/models/friend_status.py | 2 +- .../models/get_group_posts200_response.py | 2 +- .../get_user_group_instances200_response.py | 2 +- vrchatapi/models/group.py | 2 +- vrchatapi/models/group_access_type.py | 2 +- vrchatapi/models/group_announcement.py | 2 +- vrchatapi/models/group_audit_log_entry.py | 2 +- vrchatapi/models/group_gallery.py | 2 +- vrchatapi/models/group_gallery_image.py | 2 +- vrchatapi/models/group_instance.py | 2 +- vrchatapi/models/group_join_request_action.py | 2 +- vrchatapi/models/group_join_state.py | 2 +- vrchatapi/models/group_limited_member.py | 2 +- vrchatapi/models/group_member.py | 2 +- vrchatapi/models/group_member_limited_user.py | 2 +- vrchatapi/models/group_member_status.py | 2 +- vrchatapi/models/group_my_member.py | 2 +- vrchatapi/models/group_permission.py | 2 +- vrchatapi/models/group_permissions.py | 2 +- vrchatapi/models/group_post.py | 2 +- vrchatapi/models/group_post_visibility.py | 2 +- vrchatapi/models/group_privacy.py | 2 +- vrchatapi/models/group_role.py | 2 +- vrchatapi/models/group_role_template.py | 2 +- .../models/group_role_template_values.py | 213 +++ .../group_role_template_values_roles.py | 209 +++ vrchatapi/models/group_search_sort.py | 2 +- vrchatapi/models/group_user_visibility.py | 2 +- vrchatapi/models/info_push.py | 2 +- vrchatapi/models/info_push_data.py | 2 +- vrchatapi/models/info_push_data_article.py | 2 +- .../models/info_push_data_article_content.py | 2 +- vrchatapi/models/info_push_data_clickable.py | 2 +- vrchatapi/models/instance.py | 31 +- vrchatapi/models/instance_content_settings.py | 235 +++ vrchatapi/models/instance_platforms.py | 2 +- vrchatapi/models/instance_region.py | 2 +- .../models/instance_short_name_response.py | 2 +- vrchatapi/models/instance_type.py | 2 +- vrchatapi/models/invite_message.py | 2 +- vrchatapi/models/invite_message_type.py | 2 +- vrchatapi/models/invite_request.py | 2 +- vrchatapi/models/invite_response.py | 2 +- vrchatapi/models/jam.py | 2 +- vrchatapi/models/jam_state_change_dates.py | 2 +- vrchatapi/models/license.py | 2 +- vrchatapi/models/license_action.py | 2 +- vrchatapi/models/license_group.py | 2 +- vrchatapi/models/license_type.py | 2 +- vrchatapi/models/limited_group.py | 2 +- vrchatapi/models/limited_unity_package.py | 2 +- vrchatapi/models/limited_user.py | 2 +- vrchatapi/models/limited_user_groups.py | 2 +- vrchatapi/models/limited_world.py | 56 +- vrchatapi/models/mime_type.py | 2 +- vrchatapi/models/model_print.py | 2 +- vrchatapi/models/moderate_user_request.py | 2 +- vrchatapi/models/notification.py | 2 +- .../models/notification_detail_invite.py | 2 +- .../notification_detail_invite_response.py | 2 +- .../notification_detail_request_invite.py | 2 +- ...fication_detail_request_invite_response.py | 2 +- .../notification_detail_vote_to_kick.py | 2 +- vrchatapi/models/notification_type.py | 2 +- vrchatapi/models/order_option.py | 2 +- .../paginated_group_audit_log_entry_list.py | 2 +- vrchatapi/models/past_display_name.py | 2 +- vrchatapi/models/pending2_fa_result.py | 159 ++ vrchatapi/models/performance_limiter_info.py | 2 +- vrchatapi/models/performance_ratings.py | 2 +- vrchatapi/models/permission.py | 2 +- vrchatapi/models/platform_build_info.py | 2 +- vrchatapi/models/player_moderation.py | 2 +- vrchatapi/models/player_moderation_type.py | 2 +- vrchatapi/models/print_files.py | 2 +- vrchatapi/models/product.py | 2 +- vrchatapi/models/product_listing.py | 2 +- vrchatapi/models/product_listing_type.py | 2 +- vrchatapi/models/product_listing_variant.py | 2 +- vrchatapi/models/product_type.py | 2 +- vrchatapi/models/region.py | 2 +- .../models/register_user_account_request.py | 375 ++++ vrchatapi/models/release_status.py | 2 +- vrchatapi/models/report_category.py | 2 +- vrchatapi/models/report_reason.py | 2 +- vrchatapi/models/represented_group.py | 2 +- vrchatapi/models/request_invite_request.py | 2 +- .../models/respond_group_join_request.py | 2 +- vrchatapi/models/response.py | 2 +- vrchatapi/models/sent_notification.py | 2 +- vrchatapi/models/service_queue_stats.py | 2 +- vrchatapi/models/service_status.py | 2 +- vrchatapi/models/sort_option.py | 2 +- vrchatapi/models/submission.py | 2 +- vrchatapi/models/subscription.py | 2 +- vrchatapi/models/subscription_period.py | 2 +- vrchatapi/models/success.py | 2 +- vrchatapi/models/tilia_status.py | 86 +- vrchatapi/models/tilia_tos.py | 2 +- vrchatapi/models/token_bundle.py | 2 +- vrchatapi/models/transaction.py | 2 +- vrchatapi/models/transaction_agreement.py | 2 +- vrchatapi/models/transaction_status.py | 2 +- vrchatapi/models/transaction_steam_info.py | 2 +- .../models/transaction_steam_wallet_info.py | 2 +- vrchatapi/models/two_factor_auth_code.py | 2 +- vrchatapi/models/two_factor_email_code.py | 2 +- vrchatapi/models/two_factor_recovery_codes.py | 157 ++ .../two_factor_recovery_codes_otp_inner.py | 159 ++ vrchatapi/models/unity_package.py | 2 +- vrchatapi/models/update_avatar_request.py | 2 +- .../models/update_favorite_group_request.py | 2 +- .../models/update_group_gallery_request.py | 2 +- .../models/update_group_member_request.py | 2 +- vrchatapi/models/update_group_request.py | 2 +- vrchatapi/models/update_group_role_request.py | 2 +- .../models/update_invite_message_request.py | 2 +- vrchatapi/models/update_user_badge_request.py | 2 +- vrchatapi/models/update_user_note_request.py | 2 +- vrchatapi/models/update_user_request.py | 172 +- vrchatapi/models/update_world_request.py | 2 +- vrchatapi/models/user.py | 2 +- vrchatapi/models/user_exists.py | 2 +- vrchatapi/models/user_note.py | 2 +- vrchatapi/models/user_note_target_user.py | 2 +- vrchatapi/models/user_state.py | 2 +- vrchatapi/models/user_status.py | 2 +- vrchatapi/models/user_subscription.py | 2 +- .../models/verify2_fa_email_code_result.py | 2 +- vrchatapi/models/verify2_fa_result.py | 34 +- vrchatapi/models/verify_auth_token_result.py | 2 +- vrchatapi/models/world.py | 56 +- vrchatapi/models/world_metadata.py | 2 +- vrchatapi/models/world_publish_status.py | 2 +- vrchatapi/rest.py | 2 +- 263 files changed, 7574 insertions(+), 502 deletions(-) create mode 100644 docs/AvatarPublishedListingsInner.md create mode 100644 docs/Disable2FAResult.md create mode 100644 docs/GroupRoleTemplateValues.md create mode 100644 docs/GroupRoleTemplateValuesRoles.md create mode 100644 docs/InstanceContentSettings.md create mode 100644 docs/Pending2FAResult.md create mode 100644 docs/RegisterUserAccountRequest.md create mode 100644 docs/TwoFactorRecoveryCodes.md create mode 100644 docs/TwoFactorRecoveryCodesOtpInner.md create mode 100644 vrchatapi/models/avatar_published_listings_inner.py create mode 100644 vrchatapi/models/disable2_fa_result.py create mode 100644 vrchatapi/models/group_role_template_values.py create mode 100644 vrchatapi/models/group_role_template_values_roles.py create mode 100644 vrchatapi/models/instance_content_settings.py create mode 100644 vrchatapi/models/pending2_fa_result.py create mode 100644 vrchatapi/models/register_user_account_request.py create mode 100644 vrchatapi/models/two_factor_recovery_codes.py create mode 100644 vrchatapi/models/two_factor_recovery_codes_otp_inner.py diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index faf94cc9..1e705e16 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -29,6 +29,7 @@ docs/AddGroupGalleryImageRequest.md docs/AgeVerificationStatus.md docs/AuthenticationApi.md docs/Avatar.md +docs/AvatarPublishedListingsInner.md docs/AvatarStyles.md docs/AvatarUnityPackageUrlObject.md docs/AvatarsApi.md @@ -51,6 +52,7 @@ docs/CurrentUser.md docs/CurrentUserPlatformHistoryInner.md docs/CurrentUserPresence.md docs/DeveloperType.md +docs/Disable2FAResult.md docs/DynamicContentRow.md docs/EconomyApi.md docs/Error.md @@ -98,6 +100,8 @@ docs/GroupPostVisibility.md docs/GroupPrivacy.md docs/GroupRole.md docs/GroupRoleTemplate.md +docs/GroupRoleTemplateValues.md +docs/GroupRoleTemplateValuesRoles.md docs/GroupSearchSort.md docs/GroupUserVisibility.md docs/GroupsApi.md @@ -107,6 +111,7 @@ docs/InfoPushDataArticle.md docs/InfoPushDataArticleContent.md docs/InfoPushDataClickable.md docs/Instance.md +docs/InstanceContentSettings.md docs/InstancePlatforms.md docs/InstanceRegion.md docs/InstanceShortNameResponse.md @@ -143,6 +148,7 @@ docs/NotificationsApi.md docs/OrderOption.md docs/PaginatedGroupAuditLogEntryList.md docs/PastDisplayName.md +docs/Pending2FAResult.md docs/PerformanceLimiterInfo.md docs/PerformanceRatings.md docs/Permission.md @@ -159,6 +165,7 @@ docs/ProductListingType.md docs/ProductListingVariant.md docs/ProductType.md docs/Region.md +docs/RegisterUserAccountRequest.md docs/ReleaseStatus.md docs/ReportCategory.md docs/ReportReason.md @@ -185,6 +192,8 @@ docs/TransactionSteamInfo.md docs/TransactionSteamWalletInfo.md docs/TwoFactorAuthCode.md docs/TwoFactorEmailCode.md +docs/TwoFactorRecoveryCodes.md +docs/TwoFactorRecoveryCodesOtpInner.md docs/UnityPackage.md docs/UpdateAvatarRequest.md docs/UpdateFavoriteGroupRequest.md @@ -270,6 +279,7 @@ vrchatapi/models/api_config_report_options_world.py vrchatapi/models/api_config_report_reasons.py vrchatapi/models/api_health.py vrchatapi/models/avatar.py +vrchatapi/models/avatar_published_listings_inner.py vrchatapi/models/avatar_styles.py vrchatapi/models/avatar_unity_package_url_object.py vrchatapi/models/badge.py @@ -291,6 +301,7 @@ vrchatapi/models/current_user.py vrchatapi/models/current_user_platform_history_inner.py vrchatapi/models/current_user_presence.py vrchatapi/models/developer_type.py +vrchatapi/models/disable2_fa_result.py vrchatapi/models/dynamic_content_row.py vrchatapi/models/error.py vrchatapi/models/favorite.py @@ -334,6 +345,8 @@ vrchatapi/models/group_post_visibility.py vrchatapi/models/group_privacy.py vrchatapi/models/group_role.py vrchatapi/models/group_role_template.py +vrchatapi/models/group_role_template_values.py +vrchatapi/models/group_role_template_values_roles.py vrchatapi/models/group_search_sort.py vrchatapi/models/group_user_visibility.py vrchatapi/models/info_push.py @@ -342,6 +355,7 @@ vrchatapi/models/info_push_data_article.py vrchatapi/models/info_push_data_article_content.py vrchatapi/models/info_push_data_clickable.py vrchatapi/models/instance.py +vrchatapi/models/instance_content_settings.py vrchatapi/models/instance_platforms.py vrchatapi/models/instance_region.py vrchatapi/models/instance_short_name_response.py @@ -374,6 +388,7 @@ vrchatapi/models/notification_type.py vrchatapi/models/order_option.py vrchatapi/models/paginated_group_audit_log_entry_list.py vrchatapi/models/past_display_name.py +vrchatapi/models/pending2_fa_result.py vrchatapi/models/performance_limiter_info.py vrchatapi/models/performance_ratings.py vrchatapi/models/permission.py @@ -387,6 +402,7 @@ vrchatapi/models/product_listing_type.py vrchatapi/models/product_listing_variant.py vrchatapi/models/product_type.py vrchatapi/models/region.py +vrchatapi/models/register_user_account_request.py vrchatapi/models/release_status.py vrchatapi/models/report_category.py vrchatapi/models/report_reason.py @@ -412,6 +428,8 @@ vrchatapi/models/transaction_steam_info.py vrchatapi/models/transaction_steam_wallet_info.py vrchatapi/models/two_factor_auth_code.py vrchatapi/models/two_factor_email_code.py +vrchatapi/models/two_factor_recovery_codes.py +vrchatapi/models/two_factor_recovery_codes_otp_inner.py vrchatapi/models/unity_package.py vrchatapi/models/update_avatar_request.py vrchatapi/models/update_favorite_group_request.py diff --git a/docs/AuthenticationApi.md b/docs/AuthenticationApi.md index 1ca6d214..9bec437d 100644 --- a/docs/AuthenticationApi.md +++ b/docs/AuthenticationApi.md @@ -4,16 +4,95 @@ All URIs are relative to *https://api.vrchat.cloud/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- +[**cancel_pending2_fa**](AuthenticationApi.md#cancel_pending2_fa) | **DELETE** /auth/twofactorauth/totp/pending | Cancel pending enabling of time-based 2FA codes [**check_user_exists**](AuthenticationApi.md#check_user_exists) | **GET** /auth/exists | Check User Exists +[**confirm_email**](AuthenticationApi.md#confirm_email) | **GET** /auth/confirmEmail | Confirm Email [**delete_user**](AuthenticationApi.md#delete_user) | **PUT** /users/{userId}/delete | Delete User +[**disable2_fa**](AuthenticationApi.md#disable2_fa) | **DELETE** /auth/twofactorauth | Disable 2FA +[**enable2_fa**](AuthenticationApi.md#enable2_fa) | **POST** /auth/twofactorauth/totp/pending | Enable time-based 2FA codes [**get_current_user**](AuthenticationApi.md#get_current_user) | **GET** /auth/user | Login and/or Get Current User Info +[**get_recovery_codes**](AuthenticationApi.md#get_recovery_codes) | **GET** /auth/user/twofactorauth/otp | Get 2FA Recovery codes [**logout**](AuthenticationApi.md#logout) | **PUT** /logout | Logout +[**register_user_account**](AuthenticationApi.md#register_user_account) | **POST** /auth/register | Register User Account +[**resend_email_confirmation**](AuthenticationApi.md#resend_email_confirmation) | **POST** /auth/user/resendEmail | Resend Email Confirmation [**verify2_fa**](AuthenticationApi.md#verify2_fa) | **POST** /auth/twofactorauth/totp/verify | Verify 2FA code [**verify2_fa_email_code**](AuthenticationApi.md#verify2_fa_email_code) | **POST** /auth/twofactorauth/emailotp/verify | Verify 2FA email code [**verify_auth_token**](AuthenticationApi.md#verify_auth_token) | **GET** /auth | Verify Auth Token +[**verify_login_place**](AuthenticationApi.md#verify_login_place) | **GET** /auth/verifyLoginPlace | Verify Login Place +[**verify_pending2_fa**](AuthenticationApi.md#verify_pending2_fa) | **POST** /auth/twofactorauth/totp/pending/verify | Verify Pending 2FA code [**verify_recovery_code**](AuthenticationApi.md#verify_recovery_code) | **POST** /auth/twofactorauth/otp/verify | Verify 2FA code with Recovery code +# **cancel_pending2_fa** +> Disable2FAResult cancel_pending2_fa() + +Cancel pending enabling of time-based 2FA codes + +Cancels the sequence for enabling time-based 2FA. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.AuthenticationApi(api_client) + + try: + # Cancel pending enabling of time-based 2FA codes + api_response = api_instance.cancel_pending2_fa() + pprint(api_response) + except ApiException as e: + print("Exception when calling AuthenticationApi->cancel_pending2_fa: %s\n" % e) +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**Disable2FAResult**](Disable2FAResult.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **check_user_exists** > UserExists check_user_exists(email=email, display_name=display_name, username=username, exclude_user_id=exclude_user_id) @@ -83,6 +162,69 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **confirm_email** +> confirm_email(id, verify_email) + +Confirm Email + +Confirms the email address for a user + +### Example + +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient() as api_client: + # Create an instance of the API class + api_instance = vrchatapi.AuthenticationApi(api_client) + id = 'usr_00000000-0000-0000-0000-000000000000' # str | Target user for which to verify email. +verify_email = 'eml_00000000-0000-0000-0000-000000000000' # str | Token to verify email. + + try: + # Confirm Email + api_instance.confirm_email(id, verify_email) + except ApiException as e: + print("Exception when calling AuthenticationApi->confirm_email: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| Target user for which to verify email. | + **verify_email** | **str**| Token to verify email. | + +### Return type + +void (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**302** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **delete_user** > CurrentUser delete_user(user_id) @@ -157,6 +299,146 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **disable2_fa** +> Disable2FAResult disable2_fa() + +Disable 2FA + +Disables 2FA for the currently logged in account + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.AuthenticationApi(api_client) + + try: + # Disable 2FA + api_response = api_instance.disable2_fa() + pprint(api_response) + except ApiException as e: + print("Exception when calling AuthenticationApi->disable2_fa: %s\n" % e) +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**Disable2FAResult**](Disable2FAResult.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **enable2_fa** +> Pending2FAResult enable2_fa() + +Enable time-based 2FA codes + +Begins the sequence for enabling time-based 2FA. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.AuthenticationApi(api_client) + + try: + # Enable time-based 2FA codes + api_response = api_instance.enable2_fa() + pprint(api_response) + except ApiException as e: + print("Exception when calling AuthenticationApi->enable2_fa: %s\n" % e) +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**Pending2FAResult**](Pending2FAResult.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_current_user** > CurrentUser get_current_user() @@ -337,12 +619,12 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **logout** -> Success logout() +# **get_recovery_codes** +> TwoFactorRecoveryCodes get_recovery_codes() -Logout +Get 2FA Recovery codes -Invalidates the login session. +Gets the OTP (One Time Password) recovery codes for accounts with 2FA-protection enabled. ### Example @@ -376,11 +658,11 @@ with vrchatapi.ApiClient(configuration) as api_client: api_instance = vrchatapi.AuthenticationApi(api_client) try: - # Logout - api_response = api_instance.logout() + # Get 2FA Recovery codes + api_response = api_instance.get_recovery_codes() pprint(api_response) except ApiException as e: - print("Exception when calling AuthenticationApi->logout: %s\n" % e) + print("Exception when calling AuthenticationApi->get_recovery_codes: %s\n" % e) ``` ### Parameters @@ -388,7 +670,7 @@ This endpoint does not need any parameter. ### Return type -[**Success**](Success.md) +[**TwoFactorRecoveryCodes**](TwoFactorRecoveryCodes.md) ### Authorization @@ -402,17 +684,17 @@ This endpoint does not need any parameter. ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | OK | * Set-Cookie - Clears the `auth` cookie.
* \0Set-Cookie - Clears the `age` cookie.
* \0\0Set-Cookie - Clears the `tos` cookie.
| +**200** | Returns the two factor recovery codes | - | **401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **verify2_fa** -> Verify2FAResult verify2_fa(two_factor_auth_code) +# **logout** +> Success logout() -Verify 2FA code +Logout -Finishes the login sequence with a normal 2FA-generated code for accounts with 2FA-protection enabled. +Invalidates the login session. ### Example @@ -444,10 +726,213 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.AuthenticationApi(api_client) - two_factor_auth_code = vrchatapi.TwoFactorAuthCode() # TwoFactorAuthCode | - + try: - # Verify 2FA code + # Logout + api_response = api_instance.logout() + pprint(api_response) + except ApiException as e: + print("Exception when calling AuthenticationApi->logout: %s\n" % e) +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**Success**](Success.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | * Set-Cookie - Clears the `auth` cookie.
* \0Set-Cookie - Clears the `age` cookie.
* \0\0Set-Cookie - Clears the `tos` cookie.
| +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **register_user_account** +> CurrentUser register_user_account(register_user_account_request) + +Register User Account + +~~Register a new user account.~~ **DEPRECATED:** Automated creation of accounts has no legitimate public third-party use case, and would be in violation of ToS §13.2: *By using the Platform, you agree not to: i. [...] use the Platform in a manner inconsistent with individual human usage* This endpoint is documented in the interest of completeness + +### Example + +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient() as api_client: + # Create an instance of the API class + api_instance = vrchatapi.AuthenticationApi(api_client) + register_user_account_request = vrchatapi.RegisterUserAccountRequest() # RegisterUserAccountRequest | + + try: + # Register User Account + api_response = api_instance.register_user_account(register_user_account_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling AuthenticationApi->register_user_account: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **register_user_account_request** | [**RegisterUserAccountRequest**](RegisterUserAccountRequest.md)| | + +### Return type + +[**CurrentUser**](CurrentUser.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | * Set-Cookie - Successful authentication returns an `auth` cookie.
| +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **resend_email_confirmation** +> Success resend_email_confirmation() + +Resend Email Confirmation + +Requests a resend of pending email address confirmation email + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.AuthenticationApi(api_client) + + try: + # Resend Email Confirmation + api_response = api_instance.resend_email_confirmation() + pprint(api_response) + except ApiException as e: + print("Exception when calling AuthenticationApi->resend_email_confirmation: %s\n" % e) +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**Success**](Success.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **verify2_fa** +> Verify2FAResult verify2_fa(two_factor_auth_code) + +Verify 2FA code + +Finishes the login sequence with a normal 2FA-generated code for accounts with 2FA-protection enabled. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.AuthenticationApi(api_client) + two_factor_auth_code = vrchatapi.TwoFactorAuthCode() # TwoFactorAuthCode | + + try: + # Verify 2FA code api_response = api_instance.verify2_fa(two_factor_auth_code) pprint(api_response) except ApiException as e: @@ -625,6 +1110,143 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **verify_login_place** +> verify_login_place(token, user_id=user_id) + +Verify Login Place + +Verifies a login attempt for a user + +### Example + +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient() as api_client: + # Create an instance of the API class + api_instance = vrchatapi.AuthenticationApi(api_client) + token = 'token_example' # str | Token to verify login attempt. +user_id = 'user_id_example' # str | Filter by UserID. (optional) + + try: + # Verify Login Place + api_instance.verify_login_place(token, user_id=user_id) + except ApiException as e: + print("Exception when calling AuthenticationApi->verify_login_place: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **token** | **str**| Token to verify login attempt. | + **user_id** | **str**| Filter by UserID. | [optional] + +### Return type + +void (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**302** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **verify_pending2_fa** +> Verify2FAResult verify_pending2_fa(two_factor_auth_code) + +Verify Pending 2FA code + +Finishes sequence for enabling time-based 2FA. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.AuthenticationApi(api_client) + two_factor_auth_code = vrchatapi.TwoFactorAuthCode() # TwoFactorAuthCode | + + try: + # Verify Pending 2FA code + api_response = api_instance.verify_pending2_fa(two_factor_auth_code) + pprint(api_response) + except ApiException as e: + print("Exception when calling AuthenticationApi->verify_pending2_fa: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **two_factor_auth_code** | [**TwoFactorAuthCode**](TwoFactorAuthCode.md)| | + +### Return type + +[**Verify2FAResult**](Verify2FAResult.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | * Set-Cookie - Provides a `twoFactorAuth` cookie, which can be used to bypasses the 2FA requirement for future logins on the same device.
| +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **verify_recovery_code** > Verify2FAResult verify_recovery_code(two_factor_auth_code) diff --git a/docs/Avatar.md b/docs/Avatar.md index 76fc6d93..1db6d2c9 100644 --- a/docs/Avatar.md +++ b/docs/Avatar.md @@ -5,17 +5,24 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**asset_url** | **str** | Not present from general serach `/avatars`, only on specific requests `/avatars/{avatarId}`. | [optional] -**asset_url_object** | **object** | Not present from general serach `/avatars`, only on specific requests `/avatars/{avatarId}`. **Deprecation:** `Object` has unknown usage/fields, and is always empty. Use normal `Url` field instead. | [optional] +**acknowledgements** | **str** | | [optional] +**asset_url** | **str** | Not present from general search `/avatars`, only on specific requests `/avatars/{avatarId}`. | [optional] +**asset_url_object** | **object** | Not present from general search `/avatars`, only on specific requests `/avatars/{avatarId}`. **Deprecation:** `Object` has unknown usage/fields, and is always empty. Use normal `Url` field instead. | [optional] **author_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | **author_name** | **str** | | **created_at** | **datetime** | | **description** | **str** | | **featured** | **bool** | | [default to False] +**highest_price** | **int** | | [optional] **id** | **str** | | **image_url** | **str** | | +**lock** | **bool** | | [optional] +**lowest_price** | **int** | | [optional] **name** | **str** | | +**product_id** | **str** | | [optional] +**published_listings** | [**list[AvatarPublishedListingsInner]**](AvatarPublishedListingsInner.md) | | [optional] **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | +**searchable** | **bool** | | [optional] [default to False] **styles** | [**AvatarStyles**](AvatarStyles.md) | | **tags** | **list[str]** | | **thumbnail_image_url** | **str** | | diff --git a/docs/AvatarPublishedListingsInner.md b/docs/AvatarPublishedListingsInner.md new file mode 100644 index 00000000..32c01f45 --- /dev/null +++ b/docs/AvatarPublishedListingsInner.md @@ -0,0 +1,16 @@ +# AvatarPublishedListingsInner + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**description** | **str** | | [optional] +**display_name** | **str** | | [optional] +**image_id** | **str** | | [optional] +**listing_id** | **str** | | [optional] +**listing_type** | **str** | | [optional] +**price_tokens** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AvatarsApi.md b/docs/AvatarsApi.md index 211e21ba..b119eefd 100644 --- a/docs/AvatarsApi.md +++ b/docs/AvatarsApi.md @@ -89,6 +89,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single Avatar object. | - | +**400** | Error response due to missing permissions. | - | **401** | Error response when set featured to true without being an admin. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/CreateAvatarRequest.md b/docs/CreateAvatarRequest.md index fd13fa65..11cb5eff 100644 --- a/docs/CreateAvatarRequest.md +++ b/docs/CreateAvatarRequest.md @@ -5,11 +5,16 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **asset_url** | **str** | | [optional] +**asset_version** | **str** | | [optional] +**platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | [optional] +**created_at** | **str** | A date and time of the pattern `M/d/yyyy h:mm:ss tt` (see C Sharp `System.DateTime`) | [optional] +**updated_at** | **str** | A date and time of the pattern `M/d/yyyy h:mm:ss tt` (see C Sharp `System.DateTime`) | [optional] **id** | **str** | | [optional] **name** | **str** | | **description** | **str** | | [optional] **tags** | **list[str]** | | [optional] **image_url** | **str** | | +**thumbnail_image_url** | **str** | | [optional] **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | [optional] **version** | **int** | | [optional] [default to 1] **unity_package_url** | **str** | | [optional] diff --git a/docs/CreateInstanceRequest.md b/docs/CreateInstanceRequest.md index 829dfce9..24bb8408 100644 --- a/docs/CreateInstanceRequest.md +++ b/docs/CreateInstanceRequest.md @@ -15,6 +15,10 @@ Name | Type | Description | Notes **can_request_invite** | **bool** | Only applies to invite type instances to make them invite+ | [optional] [default to False] **hard_close** | **bool** | Currently unused, but will eventually be a flag to set if the closing of the instance should kick people. | [optional] [default to False] **invite_only** | **bool** | | [optional] [default to False] +**age_gate** | **bool** | | [optional] [default to False] +**instance_persistence_enabled** | **bool** | | [optional] +**display_name** | **str** | | [optional] +**content_settings** | [**InstanceContentSettings**](InstanceContentSettings.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CurrentUser.md b/docs/CurrentUser.md index ba9f1db9..9cfab6f6 100644 --- a/docs/CurrentUser.md +++ b/docs/CurrentUser.md @@ -12,9 +12,11 @@ Name | Type | Description | Notes **age_verification_status** | [**AgeVerificationStatus**](AgeVerificationStatus.md) | | **age_verified** | **bool** | `true` if, user is age verified (not 18+). | **allow_avatar_copying** | **bool** | | +**auth_token** | **str** | The auth token for NEWLY REGISTERED ACCOUNTS ONLY (/auth/register) | [optional] **badges** | [**list[Badge]**](Badge.md) | | [optional] **bio** | **str** | | **bio_links** | **list[str]** | | +**content_filters** | **list[str]** | These tags begin with `content_` and control content gating | [optional] **current_avatar** | **str** | | **current_avatar_image_url** | **str** | When profilePicOverride is not empty, use it instead. | **current_avatar_thumbnail_image_url** | **str** | When profilePicOverride is not empty, use it instead. | diff --git a/docs/Disable2FAResult.md b/docs/Disable2FAResult.md new file mode 100644 index 00000000..eeac800b --- /dev/null +++ b/docs/Disable2FAResult.md @@ -0,0 +1,11 @@ +# Disable2FAResult + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**removed** | **bool** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FavoritedWorld.md b/docs/FavoritedWorld.md index dc27d308..97a606b7 100644 --- a/docs/FavoritedWorld.md +++ b/docs/FavoritedWorld.md @@ -11,6 +11,7 @@ Name | Type | Description | Notes **description** | **str** | | **recommended_capacity** | **int** | | [optional] **created_at** | **datetime** | | +**default_content_settings** | [**InstanceContentSettings**](InstanceContentSettings.md) | | [optional] **favorites** | **int** | | [default to 0] **favorite_group** | **str** | | **favorite_id** | **str** | | diff --git a/docs/FavoritesApi.md b/docs/FavoritesApi.md index 893dc10c..9a4efc4c 100644 --- a/docs/FavoritesApi.md +++ b/docs/FavoritesApi.md @@ -244,7 +244,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_favorite_groups** -> list[FavoriteGroup] get_favorite_groups(n=n, offset=offset, owner_id=owner_id) +> list[FavoriteGroup] get_favorite_groups(n=n, offset=offset, user_id=user_id, owner_id=owner_id) List Favorite Groups @@ -282,11 +282,12 @@ with vrchatapi.ApiClient(configuration) as api_client: api_instance = vrchatapi.FavoritesApi(api_client) n = 60 # int | The number of objects to return. (optional) (default to 60) offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) +user_id = 'user_id_example' # str | Target user to see information on, admin-only. (optional) owner_id = 'owner_id_example' # str | The owner of whoms favorite groups to return. Must be a UserID. (optional) try: # List Favorite Groups - api_response = api_instance.get_favorite_groups(n=n, offset=offset, owner_id=owner_id) + api_response = api_instance.get_favorite_groups(n=n, offset=offset, user_id=user_id, owner_id=owner_id) pprint(api_response) except ApiException as e: print("Exception when calling FavoritesApi->get_favorite_groups: %s\n" % e) @@ -298,6 +299,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **n** | **int**| The number of objects to return. | [optional] [default to 60] **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + **user_id** | **str**| Target user to see information on, admin-only. | [optional] **owner_id** | **str**| The owner of whoms favorite groups to return. Must be a UserID. | [optional] ### Return type diff --git a/docs/File.md b/docs/File.md index 665755b3..711a028f 100644 --- a/docs/File.md +++ b/docs/File.md @@ -5,6 +5,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**animation_style** | **str** | | [optional] +**mask_tag** | **str** | | [optional] **extension** | **str** | | **id** | **str** | | **mime_type** | [**MIMEType**](MIMEType.md) | | diff --git a/docs/FileAnalysis.md b/docs/FileAnalysis.md index ac6a0750..2f9864c0 100644 --- a/docs/FileAnalysis.md +++ b/docs/FileAnalysis.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **avatar_stats** | [**FileAnalysisAvatarStats**](FileAnalysisAvatarStats.md) | | **created_at** | **datetime** | | [optional] +**encryption_key** | **str** | | [optional] **file_size** | **int** | | **performance_rating** | **str** | | [optional] **success** | **bool** | | diff --git a/docs/FilesApi.md b/docs/FilesApi.md index a7302a34..fc5ba9fd 100644 --- a/docs/FilesApi.md +++ b/docs/FilesApi.md @@ -17,6 +17,9 @@ Method | HTTP request | Description [**get_file_data_upload_status**](FilesApi.md#get_file_data_upload_status) | **GET** /file/{fileId}/{versionId}/{fileType}/status | Check FileData Upload Status [**get_files**](FilesApi.md#get_files) | **GET** /files | List Files [**start_file_data_upload**](FilesApi.md#start_file_data_upload) | **PUT** /file/{fileId}/{versionId}/{fileType}/start | Start FileData Upload +[**upload_gallery_image**](FilesApi.md#upload_gallery_image) | **POST** /gallery | Upload gallery image +[**upload_icon**](FilesApi.md#upload_icon) | **POST** /icon | Upload icon +[**upload_image**](FilesApi.md#upload_image) | **POST** /file/image | Upload gallery image, icon, emoji or sticker # **create_file** @@ -319,7 +322,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **download_file_version** -> download_file_version(file_id, version_id) +> file download_file_version(file_id, version_id) Download File Version @@ -360,7 +363,8 @@ version_id = 1 # int | Version ID of the asset. try: # Download File Version - api_instance.download_file_version(file_id, version_id) + api_response = api_instance.download_file_version(file_id, version_id) + pprint(api_response) except ApiException as e: print("Exception when calling FilesApi->download_file_version: %s\n" % e) ``` @@ -374,7 +378,7 @@ Name | Type | Description | Notes ### Return type -void (empty response body) +**file** ### Authorization @@ -383,7 +387,7 @@ void (empty response body) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: image/*, application/json ### HTTP response details | Status code | Description | Response headers | @@ -1013,3 +1017,232 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **upload_gallery_image** +> File upload_gallery_image(file) + +Upload gallery image + +Upload a gallery image + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.FilesApi(api_client) + file = '/path/to/file' # file | The binary blob of the png file. + + try: + # Upload gallery image + api_response = api_instance.upload_gallery_image(file) + pprint(api_response) + except ApiException as e: + print("Exception when calling FilesApi->upload_gallery_image: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **file** | **file**| The binary blob of the png file. | + +### Return type + +[**File**](File.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: multipart/form-data + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single File object. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **upload_icon** +> File upload_icon(file) + +Upload icon + +Upload an icon + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.FilesApi(api_client) + file = '/path/to/file' # file | The binary blob of the png file. + + try: + # Upload icon + api_response = api_instance.upload_icon(file) + pprint(api_response) + except ApiException as e: + print("Exception when calling FilesApi->upload_icon: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **file** | **file**| The binary blob of the png file. | + +### Return type + +[**File**](File.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: multipart/form-data + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single File object. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **upload_image** +> File upload_image(file, tag, frames=frames, frames_over_time=frames_over_time, animation_style=animation_style, mask_tag=mask_tag) + +Upload gallery image, icon, emoji or sticker + +Upload an image, which can be an icon, gallery image, sticker or emoji + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.FilesApi(api_client) + file = '/path/to/file' # file | The binary blob of the png file. +tag = 'tag_example' # str | Needs to be either icon, gallery, sticker, emoji, or emojianimated +frames = 56 # int | Required for emojianimated. Total number of frames to be animated (2-64) (optional) +frames_over_time = 56 # int | Required for emojianimated. Animation frames per second (1-64) (optional) +animation_style = 'animation_style_example' # str | Animation style for sticker, required for emoji. (optional) +mask_tag = 'mask_tag_example' # str | Mask of the sticker, optional for emoji. (optional) + + try: + # Upload gallery image, icon, emoji or sticker + api_response = api_instance.upload_image(file, tag, frames=frames, frames_over_time=frames_over_time, animation_style=animation_style, mask_tag=mask_tag) + pprint(api_response) + except ApiException as e: + print("Exception when calling FilesApi->upload_image: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **file** | **file**| The binary blob of the png file. | + **tag** | **str**| Needs to be either icon, gallery, sticker, emoji, or emojianimated | + **frames** | **int**| Required for emojianimated. Total number of frames to be animated (2-64) | [optional] + **frames_over_time** | **int**| Required for emojianimated. Animation frames per second (1-64) | [optional] + **animation_style** | **str**| Animation style for sticker, required for emoji. | [optional] + **mask_tag** | **str**| Mask of the sticker, optional for emoji. | [optional] + +### Return type + +[**File**](File.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: multipart/form-data + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single File object. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/GroupRoleTemplateValues.md b/docs/GroupRoleTemplateValues.md new file mode 100644 index 00000000..47671619 --- /dev/null +++ b/docs/GroupRoleTemplateValues.md @@ -0,0 +1,14 @@ +# GroupRoleTemplateValues + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**base_permissions** | [**list[GroupPermissions]**](GroupPermissions.md) | | +**description** | **str** | | +**name** | **str** | | +**roles** | [**GroupRoleTemplateValuesRoles**](GroupRoleTemplateValuesRoles.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GroupRoleTemplateValuesRoles.md b/docs/GroupRoleTemplateValuesRoles.md new file mode 100644 index 00000000..99166934 --- /dev/null +++ b/docs/GroupRoleTemplateValuesRoles.md @@ -0,0 +1,14 @@ +# GroupRoleTemplateValuesRoles + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**description** | **str** | | [optional] +**name** | **str** | | [optional] +**base_permissions** | [**list[GroupPermissions]**](GroupPermissions.md) | | [optional] +**is_added_on_join** | **bool** | | [optional] [default to False] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GroupsApi.md b/docs/GroupsApi.md index 1e3499b9..333a5942 100644 --- a/docs/GroupsApi.md +++ b/docs/GroupsApi.md @@ -33,6 +33,7 @@ Method | HTTP request | Description [**get_group_permissions**](GroupsApi.md#get_group_permissions) | **GET** /groups/{groupId}/permissions | List Group Permissions [**get_group_posts**](GroupsApi.md#get_group_posts) | **GET** /groups/{groupId}/posts | Get posts from a Group [**get_group_requests**](GroupsApi.md#get_group_requests) | **GET** /groups/{groupId}/requests | Get Group Join Requests +[**get_group_role_templates**](GroupsApi.md#get_group_role_templates) | **GET** /groups/roleTemplates | Get Group Role Templates [**get_group_roles**](GroupsApi.md#get_group_roles) | **GET** /groups/{groupId}/roles | Get Group Roles [**join_group**](GroupsApi.md#join_group) | **POST** /groups/{groupId}/join | Join Group [**kick_group_member**](GroupsApi.md#kick_group_member) | **DELETE** /groups/{groupId}/members/{userId} | Kick Group Member @@ -2314,6 +2315,76 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_group_role_templates** +> dict(str, GroupRoleTemplateValues) get_group_role_templates() + +Get Group Role Templates + +Obtain predefined templates for group roles + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + + try: + # Get Group Role Templates + api_response = api_instance.get_group_role_templates() + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->get_group_role_templates: %s\n" % e) +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**dict(str, GroupRoleTemplateValues)**](GroupRoleTemplateValues.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a dictionary of GroupRoleTemplate objects. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_group_roles** > list[GroupRole] get_group_roles(group_id) diff --git a/docs/Instance.md b/docs/Instance.md index e97e4173..2dd7c84b 100644 --- a/docs/Instance.md +++ b/docs/Instance.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **can_request_invite** | **bool** | | [default to True] **capacity** | **int** | | **client_number** | **str** | Always returns \"unknown\". | +**content_settings** | [**InstanceContentSettings**](InstanceContentSettings.md) | | **display_name** | **str** | | **full** | **bool** | | [default to False] **game_server_version** | **int** | | [optional] diff --git a/docs/InstanceContentSettings.md b/docs/InstanceContentSettings.md new file mode 100644 index 00000000..1d23f0b0 --- /dev/null +++ b/docs/InstanceContentSettings.md @@ -0,0 +1,16 @@ +# InstanceContentSettings + +Types of dynamic user content permitted in an instance + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**drones** | **bool** | | [optional] [default to True] +**emoji** | **bool** | | [optional] [default to True] +**pedestals** | **bool** | | [optional] [default to True] +**prints** | **bool** | | [optional] [default to True] +**stickers** | **bool** | | [optional] [default to True] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InstancesApi.md b/docs/InstancesApi.md index adbe7db6..7b7c326a 100644 --- a/docs/InstancesApi.md +++ b/docs/InstancesApi.md @@ -16,7 +16,7 @@ Method | HTTP request | Description Close Instance -Close an instance or update the closedAt time when it will be closed. You can only close an instance if the ownerId is yourself or if the instance owner is a group and you have the `group-instance-moderate` permission. +Close an instance or update the closedAt time when it will be closed. You can only close an instance if the ownerId is yourself or if the instance owner is a group and you have the `group-instance-manage` permission. ### Example diff --git a/docs/InviteApi.md b/docs/InviteApi.md index 81088120..fbbfbd64 100644 --- a/docs/InviteApi.md +++ b/docs/InviteApi.md @@ -8,9 +8,12 @@ Method | HTTP request | Description [**get_invite_messages**](InviteApi.md#get_invite_messages) | **GET** /message/{userId}/{messageType} | List Invite Messages [**invite_myself_to**](InviteApi.md#invite_myself_to) | **POST** /invite/myself/to/{worldId}:{instanceId} | Invite Myself To Instance [**invite_user**](InviteApi.md#invite_user) | **POST** /invite/{userId} | Invite User +[**invite_user_with_photo**](InviteApi.md#invite_user_with_photo) | **POST** /invite/{userId}/photo | Invite User with photo [**request_invite**](InviteApi.md#request_invite) | **POST** /requestInvite/{userId} | Request Invite +[**request_invite_with_photo**](InviteApi.md#request_invite_with_photo) | **POST** /requestInvite/{userId}/photo | Request Invite with photo [**reset_invite_message**](InviteApi.md#reset_invite_message) | **DELETE** /message/{userId}/{messageType}/{slot} | Reset Invite Message [**respond_invite**](InviteApi.md#respond_invite) | **POST** /invite/{notificationId}/response | Respond Invite +[**respond_invite_with_photo**](InviteApi.md#respond_invite_with_photo) | **POST** /invite/{notificationId}/response/photo | Respond Invite with photo [**update_invite_message**](InviteApi.md#update_invite_message) | **PUT** /message/{userId}/{messageType}/{slot} | Update Invite Message @@ -324,6 +327,84 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **invite_user_with_photo** +> SentNotification invite_user_with_photo(user_id, image, data) + +Invite User with photo + +Sends an photo invite to a user. Returns the Notification of type `invite` that was sent. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.InviteApi(api_client) + user_id = 'user_id_example' # str | Must be a valid user ID. +image = '/path/to/file' # file | The binary blob of the png file. +data = vrchatapi.InviteRequest() # InviteRequest | + + try: + # Invite User with photo + api_response = api_instance.invite_user_with_photo(user_id, image, data) + pprint(api_response) + except ApiException as e: + print("Exception when calling InviteApi->invite_user_with_photo: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | + **image** | **file**| The binary blob of the png file. | + **data** | [**InviteRequest**](InviteRequest.md)| | + +### Return type + +[**SentNotification**](SentNotification.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: multipart/form-data + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single SentNotifcation object. | - | +**403** | Error response when trying to invite someome whom you are not friends with. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **request_invite** > Notification request_invite(user_id, request_invite_request=request_invite_request) @@ -400,6 +481,84 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **request_invite_with_photo** +> Notification request_invite_with_photo(user_id, image, data) + +Request Invite with photo + +Requests with photo an invite from a user. Returns the Notification of type `requestInvite` that was sent. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.InviteApi(api_client) + user_id = 'user_id_example' # str | Must be a valid user ID. +image = '/path/to/file' # file | The binary blob of the png file. +data = vrchatapi.RequestInviteRequest() # RequestInviteRequest | + + try: + # Request Invite with photo + api_response = api_instance.request_invite_with_photo(user_id, image, data) + pprint(api_response) + except ApiException as e: + print("Exception when calling InviteApi->request_invite_with_photo: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | + **image** | **file**| The binary blob of the png file. | + **data** | [**RequestInviteRequest**](RequestInviteRequest.md)| | + +### Return type + +[**Notification**](Notification.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: multipart/form-data + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single Notifcation object. | - | +**403** | Error response when trying to invite someome whom you are not friends with. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **reset_invite_message** > list[InviteMessage] reset_invite_message(user_id, message_type, slot) @@ -486,7 +645,7 @@ Name | Type | Description | Notes Respond Invite -Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification. +Respond to an invite or invite request without accepting it. `:notificationId` is the ID of the requesting notification. In case the notification being replied to is an invite, the `responseSlot` refers to a response message from the the `message` collection. In case the notification is an invite request, it will refer to one from the `requestResponse` collection instead. ### Example @@ -557,6 +716,84 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **respond_invite_with_photo** +> Notification respond_invite_with_photo(notification_id, image, data) + +Respond Invite with photo + +Respond with photo to an invite or invite request without accepting it. `:notificationId` is the ID of the requesting notification. In case the notification being replied to is an invite, the `responseSlot` refers to a response message from the the `message` collection. In case the notification is an invite request, it will refer to one from the `requestResponse` collection instead.' + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.InviteApi(api_client) + notification_id = 'notification_id_example' # str | Must be a valid notification ID. +image = '/path/to/file' # file | The binary blob of the png file. +data = vrchatapi.InviteResponse() # InviteResponse | + + try: + # Respond Invite with photo + api_response = api_instance.respond_invite_with_photo(notification_id, image, data) + pprint(api_response) + except ApiException as e: + print("Exception when calling InviteApi->respond_invite_with_photo: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **notification_id** | **str**| Must be a valid notification ID. | + **image** | **file**| The binary blob of the png file. | + **data** | [**InviteResponse**](InviteResponse.md)| | + +### Return type + +[**Notification**](Notification.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: multipart/form-data + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single Notifcation object. | - | +**400** | Error response when trying to respond to an invite and something went wrong. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **update_invite_message** > list[InviteMessage] update_invite_message(user_id, message_type, slot, update_invite_message_request=update_invite_message_request) diff --git a/docs/LimitedWorld.md b/docs/LimitedWorld.md index ad0a5746..939352c6 100644 --- a/docs/LimitedWorld.md +++ b/docs/LimitedWorld.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **capacity** | **int** | | **recommended_capacity** | **int** | | [optional] **created_at** | **datetime** | | +**default_content_settings** | [**InstanceContentSettings**](InstanceContentSettings.md) | | [optional] **favorites** | **int** | | [default to 0] **visits** | **int** | | [optional] [default to 0] **heat** | **int** | | [default to 0] @@ -23,6 +24,7 @@ Name | Type | Description | Notes **preview_youtube_id** | **str** | | [optional] **publication_date** | **str** | | **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | +**store_id** | **str** | | [optional] **tags** | **list[str]** | | **thumbnail_image_url** | **str** | | **unity_packages** | [**list[LimitedUnityPackage]**](LimitedUnityPackage.md) | | diff --git a/docs/Pending2FAResult.md b/docs/Pending2FAResult.md new file mode 100644 index 00000000..21e50a3e --- /dev/null +++ b/docs/Pending2FAResult.md @@ -0,0 +1,12 @@ +# Pending2FAResult + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**qr_code_data_url** | **str** | | +**secret** | **str** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/PrintsApi.md b/docs/PrintsApi.md index 2969fb7f..ed827dec 100644 --- a/docs/PrintsApi.md +++ b/docs/PrintsApi.md @@ -5,8 +5,10 @@ All URIs are relative to *https://api.vrchat.cloud/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- [**delete_print**](PrintsApi.md#delete_print) | **DELETE** /prints/{printId} | Delete Print +[**edit_print**](PrintsApi.md#edit_print) | **POST** /prints/{printId} | Edit Print [**get_print**](PrintsApi.md#get_print) | **GET** /prints/{printId} | Get Print [**get_user_prints**](PrintsApi.md#get_user_prints) | **GET** /prints/user/{userId} | Get Own Prints +[**upload_print**](PrintsApi.md#upload_print) | **POST** /prints | Upload Print # **delete_print** @@ -82,6 +84,84 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **edit_print** +> ModelPrint edit_print(print_id, image, note=note) + +Edit Print + +Edits a print. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.PrintsApi(api_client) + print_id = 'prnt_0a0aa0a0-85ea-42eb-b2f7-4840d7f341fa' # str | Print ID. +image = '/path/to/file' # file | The binary blob of the png file. +note = 'note_example' # str | The caption for the image. (optional) + + try: + # Edit Print + api_response = api_instance.edit_print(print_id, image, note=note) + pprint(api_response) + except ApiException as e: + print("Exception when calling PrintsApi->edit_print: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **print_id** | **str**| Print ID. | + **image** | **file**| The binary blob of the png file. | + **note** | **str**| The caption for the image. | [optional] + +### Return type + +[**ModelPrint**](ModelPrint.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: multipart/form-data + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single Print object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_print** > ModelPrint get_print(print_id) @@ -231,3 +311,85 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **upload_print** +> ModelPrint upload_print(image, timestamp, note=note, world_id=world_id, world_name=world_name) + +Upload Print + +Uploads and creates a print. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.PrintsApi(api_client) + image = '/path/to/file' # file | The binary blob of the png file. +timestamp = '2013-10-20T19:20:30+01:00' # datetime | The time the image was captured. +note = 'note_example' # str | The caption for the image. (optional) +world_id = 'world_id_example' # str | The id of the world in which the image was captured. (optional) +world_name = 'world_name_example' # str | The name of the world in which the image was captured. (optional) + + try: + # Upload Print + api_response = api_instance.upload_print(image, timestamp, note=note, world_id=world_id, world_name=world_name) + pprint(api_response) + except ApiException as e: + print("Exception when calling PrintsApi->upload_print: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **image** | **file**| The binary blob of the png file. | + **timestamp** | **datetime**| The time the image was captured. | + **note** | **str**| The caption for the image. | [optional] + **world_id** | **str**| The id of the world in which the image was captured. | [optional] + **world_name** | **str**| The name of the world in which the image was captured. | [optional] + +### Return type + +[**ModelPrint**](ModelPrint.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: multipart/form-data + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single Print object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/RegisterUserAccountRequest.md b/docs/RegisterUserAccountRequest.md new file mode 100644 index 00000000..ed9363bb --- /dev/null +++ b/docs/RegisterUserAccountRequest.md @@ -0,0 +1,19 @@ +# RegisterUserAccountRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**username** | **str** | Display Name / Username (Username is a sanitized version) | +**password** | **str** | Password | +**email** | **str** | Email address | +**year** | **str** | Birth year | +**month** | **str** | Birth month of year | +**day** | **str** | Birth day of month | +**captcha_code** | **str** | Captcha code | +**subscribe** | **bool** | Whether to recieve promotional emails | +**accepted_tos_version** | **int** | The most recent version of the TOS | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/TiliaStatus.md b/docs/TiliaStatus.md index 612e6c44..4fccdc94 100644 --- a/docs/TiliaStatus.md +++ b/docs/TiliaStatus.md @@ -6,6 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **economy_online** | **bool** | | +**economy_state** | **int** | | [optional] +**planned_offline_window_start** | **datetime** | | [optional] +**planned_offline_window_end** | **datetime** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/TwoFactorRecoveryCodes.md b/docs/TwoFactorRecoveryCodes.md new file mode 100644 index 00000000..512aa188 --- /dev/null +++ b/docs/TwoFactorRecoveryCodes.md @@ -0,0 +1,12 @@ +# TwoFactorRecoveryCodes + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**requires_two_factor_auth** | **list[str]** | | [optional] +**otp** | [**list[TwoFactorRecoveryCodesOtpInner]**](TwoFactorRecoveryCodesOtpInner.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/TwoFactorRecoveryCodesOtpInner.md b/docs/TwoFactorRecoveryCodesOtpInner.md new file mode 100644 index 00000000..60b5a8a1 --- /dev/null +++ b/docs/TwoFactorRecoveryCodesOtpInner.md @@ -0,0 +1,12 @@ +# TwoFactorRecoveryCodesOtpInner + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**code** | **str** | | +**used** | **bool** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/UpdateUserRequest.md b/docs/UpdateUserRequest.md index 680ded9a..d2d8f702 100644 --- a/docs/UpdateUserRequest.md +++ b/docs/UpdateUserRequest.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **email** | **str** | | [optional] +**unsubscribe** | **bool** | | [optional] **birthday** | **date** | | [optional] **accepted_tos_version** | **int** | | [optional] **tags** | **list[str]** | | [optional] @@ -15,6 +16,11 @@ Name | Type | Description | Notes **pronouns** | **str** | | [optional] **is_booping_enabled** | **bool** | | [optional] **user_icon** | **str** | MUST be a valid VRChat /file/ url. | [optional] +**content_filters** | **list[str]** | These tags begin with `content_` and control content gating | [optional] +**display_name** | **str** | MUST specify currentPassword as well to change display name | [optional] +**revert_display_name** | **bool** | MUST specify currentPassword as well to revert display name | [optional] +**password** | **str** | MUST specify currentPassword as well to change password | [optional] +**current_password** | **str** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsersApi.md b/docs/UsersApi.md index 1e70515a..eda400f1 100644 --- a/docs/UsersApi.md +++ b/docs/UsersApi.md @@ -1236,6 +1236,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single CurrentUser object. | - | +**400** | Error response when a user attempts to change a property without supplying their current password. | - | **401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/Verify2FAResult.md b/docs/Verify2FAResult.md index 2407f4a5..70967706 100644 --- a/docs/Verify2FAResult.md +++ b/docs/Verify2FAResult.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **verified** | **bool** | | +**enabled** | **bool** | | [optional] [default to True] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/World.md b/docs/World.md index e0809c09..c35439fd 100644 --- a/docs/World.md +++ b/docs/World.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **capacity** | **int** | | **recommended_capacity** | **int** | | **created_at** | **datetime** | | +**default_content_settings** | [**InstanceContentSettings**](InstanceContentSettings.md) | | [optional] **description** | **str** | | **favorites** | **int** | | [optional] [default to 0] **featured** | **bool** | | [default to False] @@ -28,6 +29,7 @@ Name | Type | Description | Notes **public_occupants** | **int** | Will always be `0` when unauthenticated. | [optional] [default to 0] **publication_date** | **str** | | **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | +**store_id** | **str** | | [optional] **tags** | **list[str]** | | **thumbnail_image_url** | **str** | | **unity_packages** | [**list[UnityPackage]**](UnityPackage.md) | Empty if unauthenticated. | [optional] diff --git a/package-lock.json b/package-lock.json index f96bc4bf..69ec2e57 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.19.1" + "@openapitools/openapi-generator-cli": "^2.20.2" } }, "node_modules/@lukeed/csprng": { @@ -27,11 +27,11 @@ } }, "node_modules/@nestjs/common": { - "version": "11.0.20", - "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-11.0.20.tgz", - "integrity": "sha512-/GH8NDCczjn6+6RNEtSNAts/nq/wQE8L1qZ9TRjqjNqEsZNE1vpFuRIhmcO2isQZ0xY5rySnpaRdrOAul3gQ3A==", + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-11.1.1.tgz", + "integrity": "sha512-crzp+1qeZ5EGL0nFTPy9NrVMAaUWewV5AwtQyv6SQ9yQPXwRl9W9hm1pt0nAtUu5QbYMbSuo7lYcF81EjM+nCA==", "dependencies": { - "file-type": "20.4.1", + "file-type": "20.5.0", "iterare": "1.2.1", "load-esm": "1.0.2", "tslib": "2.8.1", @@ -42,8 +42,8 @@ "url": "https://opencollective.com/nest" }, "peerDependencies": { - "class-transformer": "*", - "class-validator": "*", + "class-transformer": ">=0.4.1", + "class-validator": ">=0.13.2", "reflect-metadata": "^0.1.12 || ^0.2.0", "rxjs": "^7.1.0" }, @@ -57,9 +57,9 @@ } }, "node_modules/@nestjs/core": { - "version": "11.0.20", - "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-11.0.20.tgz", - "integrity": "sha512-yUkEzBGiRNSEThVl6vMCXgoA9sDGWoRbJsTLdYdCC7lg7PE1iXBnna1FiBfQjT995pm0fjyM1e3WsXmyWeJXbw==", + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-11.1.1.tgz", + "integrity": "sha512-UFoUAgLKFT+RwHTANJdr0dF7p0qS9QjkaUPjg8aafnjM/qxxxrUVDB49nVvyMlk+Hr1+vvcNaOHbWWQBxoZcHA==", "hasInstallScript": true, "dependencies": { "@nuxt/opencollective": "0.4.1", @@ -134,16 +134,16 @@ "integrity": "sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw==" }, "node_modules/@openapitools/openapi-generator-cli": { - "version": "2.19.1", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.19.1.tgz", - "integrity": "sha512-APP3EPI/m7bg220qS+7UAFiyLJFbNCjlsEEjrP2sLmW4Za44U8e3Lb2zDy3sbvJvIUnpYWe+hu9RbrxrPP9djQ==", + "version": "2.20.2", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.20.2.tgz", + "integrity": "sha512-dNFwQcQu6+rmEWSJj4KUx468+p6Co7nfpVgi5QEfVhzKj7wBytz9GEhCN2qmVgtg3ZX8H6nxbXI8cjh7hAxAqg==", "hasInstallScript": true, "dependencies": { "@nestjs/axios": "4.0.0", - "@nestjs/common": "11.0.20", - "@nestjs/core": "11.0.20", + "@nestjs/common": "11.1.1", + "@nestjs/core": "11.1.1", "@nuxtjs/opencollective": "0.3.2", - "axios": "1.8.4", + "axios": "1.9.0", "chalk": "4.1.2", "commander": "8.3.0", "compare-versions": "4.1.4", @@ -257,9 +257,9 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "node_modules/axios": { - "version": "1.8.4", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.8.4.tgz", - "integrity": "sha512-eBSYY4Y68NNlHbHBMdeDmKNtDgXWhQsJcGqzO3iLUM0GraQFSS9cVgPX5I9b3lbdFKyYoAEGAZF1DwhTaljNAw==", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.9.0.tgz", + "integrity": "sha512-re4CqKTJaURpzbLHtIi6XpDv20/CnpXOtjRY5/CU32L8gU8ek9UIivcfvSWvmKEngmVbrUtPpdDwWDWL7DNHvg==", "dependencies": { "follow-redirects": "^1.15.6", "form-data": "^4.0.0", @@ -763,9 +763,9 @@ } }, "node_modules/file-type": { - "version": "20.4.1", - "resolved": "https://registry.npmjs.org/file-type/-/file-type-20.4.1.tgz", - "integrity": "sha512-hw9gNZXUfZ02Jo0uafWLaFVPter5/k2rfcrjFJJHX/77xtSDOfJuEFb6oKlFV86FLP1SuyHMW1PSk0U9M5tKkQ==", + "version": "20.5.0", + "resolved": "https://registry.npmjs.org/file-type/-/file-type-20.5.0.tgz", + "integrity": "sha512-BfHZtG/l9iMm4Ecianu7P8HRD2tBHLtjXinm4X62XBOYzi7CYA7jyqfJzOvXHqzVrVPYqBo2/GvbARMaaJkKVg==", "dependencies": { "@tokenizer/inflate": "^0.2.6", "strtok3": "^10.2.0", @@ -1793,11 +1793,11 @@ "requires": {} }, "@nestjs/common": { - "version": "11.0.20", - "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-11.0.20.tgz", - "integrity": "sha512-/GH8NDCczjn6+6RNEtSNAts/nq/wQE8L1qZ9TRjqjNqEsZNE1vpFuRIhmcO2isQZ0xY5rySnpaRdrOAul3gQ3A==", + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-11.1.1.tgz", + "integrity": "sha512-crzp+1qeZ5EGL0nFTPy9NrVMAaUWewV5AwtQyv6SQ9yQPXwRl9W9hm1pt0nAtUu5QbYMbSuo7lYcF81EjM+nCA==", "requires": { - "file-type": "20.4.1", + "file-type": "20.5.0", "iterare": "1.2.1", "load-esm": "1.0.2", "tslib": "2.8.1", @@ -1805,9 +1805,9 @@ } }, "@nestjs/core": { - "version": "11.0.20", - "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-11.0.20.tgz", - "integrity": "sha512-yUkEzBGiRNSEThVl6vMCXgoA9sDGWoRbJsTLdYdCC7lg7PE1iXBnna1FiBfQjT995pm0fjyM1e3WsXmyWeJXbw==", + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-11.1.1.tgz", + "integrity": "sha512-UFoUAgLKFT+RwHTANJdr0dF7p0qS9QjkaUPjg8aafnjM/qxxxrUVDB49nVvyMlk+Hr1+vvcNaOHbWWQBxoZcHA==", "requires": { "@nuxt/opencollective": "0.4.1", "fast-safe-stringify": "2.1.1", @@ -1843,15 +1843,15 @@ } }, "@openapitools/openapi-generator-cli": { - "version": "2.19.1", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.19.1.tgz", - "integrity": "sha512-APP3EPI/m7bg220qS+7UAFiyLJFbNCjlsEEjrP2sLmW4Za44U8e3Lb2zDy3sbvJvIUnpYWe+hu9RbrxrPP9djQ==", + "version": "2.20.2", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.20.2.tgz", + "integrity": "sha512-dNFwQcQu6+rmEWSJj4KUx468+p6Co7nfpVgi5QEfVhzKj7wBytz9GEhCN2qmVgtg3ZX8H6nxbXI8cjh7hAxAqg==", "requires": { "@nestjs/axios": "4.0.0", - "@nestjs/common": "11.0.20", - "@nestjs/core": "11.0.20", + "@nestjs/common": "11.1.1", + "@nestjs/core": "11.1.1", "@nuxtjs/opencollective": "0.3.2", - "axios": "1.8.4", + "axios": "1.9.0", "chalk": "4.1.2", "commander": "8.3.0", "compare-versions": "4.1.4", @@ -1927,9 +1927,9 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "axios": { - "version": "1.8.4", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.8.4.tgz", - "integrity": "sha512-eBSYY4Y68NNlHbHBMdeDmKNtDgXWhQsJcGqzO3iLUM0GraQFSS9cVgPX5I9b3lbdFKyYoAEGAZF1DwhTaljNAw==", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.9.0.tgz", + "integrity": "sha512-re4CqKTJaURpzbLHtIi6XpDv20/CnpXOtjRY5/CU32L8gU8ek9UIivcfvSWvmKEngmVbrUtPpdDwWDWL7DNHvg==", "requires": { "follow-redirects": "^1.15.6", "form-data": "^4.0.0", @@ -2274,9 +2274,9 @@ } }, "file-type": { - "version": "20.4.1", - "resolved": "https://registry.npmjs.org/file-type/-/file-type-20.4.1.tgz", - "integrity": "sha512-hw9gNZXUfZ02Jo0uafWLaFVPter5/k2rfcrjFJJHX/77xtSDOfJuEFb6oKlFV86FLP1SuyHMW1PSk0U9M5tKkQ==", + "version": "20.5.0", + "resolved": "https://registry.npmjs.org/file-type/-/file-type-20.5.0.tgz", + "integrity": "sha512-BfHZtG/l9iMm4Ecianu7P8HRD2tBHLtjXinm4X62XBOYzi7CYA7jyqfJzOvXHqzVrVPYqBo2/GvbARMaaJkKVg==", "requires": { "@tokenizer/inflate": "^0.2.6", "strtok3": "^10.2.0", diff --git a/package.json b/package.json index 25369916..5c43d827 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.19.1" + "@openapitools/openapi-generator-cli": "^2.20.2" } } diff --git a/setup.py b/setup.py index 6bbb03ca..f66ea031 100644 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.19.2" +VERSION = "1.19.3" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 0b339905..82419219 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,7 +6,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -74,6 +74,7 @@ from vrchatapi.models.add_group_gallery_image_request import AddGroupGalleryImageRequest from vrchatapi.models.age_verification_status import AgeVerificationStatus from vrchatapi.models.avatar import Avatar +from vrchatapi.models.avatar_published_listings_inner import AvatarPublishedListingsInner from vrchatapi.models.avatar_styles import AvatarStyles from vrchatapi.models.avatar_unity_package_url_object import AvatarUnityPackageUrlObject from vrchatapi.models.badge import Badge @@ -95,6 +96,7 @@ from vrchatapi.models.current_user_platform_history_inner import CurrentUserPlatformHistoryInner from vrchatapi.models.current_user_presence import CurrentUserPresence from vrchatapi.models.developer_type import DeveloperType +from vrchatapi.models.disable2_fa_result import Disable2FAResult from vrchatapi.models.dynamic_content_row import DynamicContentRow from vrchatapi.models.error import Error from vrchatapi.models.favorite import Favorite @@ -138,6 +140,8 @@ from vrchatapi.models.group_privacy import GroupPrivacy from vrchatapi.models.group_role import GroupRole from vrchatapi.models.group_role_template import GroupRoleTemplate +from vrchatapi.models.group_role_template_values import GroupRoleTemplateValues +from vrchatapi.models.group_role_template_values_roles import GroupRoleTemplateValuesRoles from vrchatapi.models.group_search_sort import GroupSearchSort from vrchatapi.models.group_user_visibility import GroupUserVisibility from vrchatapi.models.info_push import InfoPush @@ -146,6 +150,7 @@ from vrchatapi.models.info_push_data_article_content import InfoPushDataArticleContent from vrchatapi.models.info_push_data_clickable import InfoPushDataClickable from vrchatapi.models.instance import Instance +from vrchatapi.models.instance_content_settings import InstanceContentSettings from vrchatapi.models.instance_platforms import InstancePlatforms from vrchatapi.models.instance_region import InstanceRegion from vrchatapi.models.instance_short_name_response import InstanceShortNameResponse @@ -178,6 +183,7 @@ from vrchatapi.models.order_option import OrderOption from vrchatapi.models.paginated_group_audit_log_entry_list import PaginatedGroupAuditLogEntryList from vrchatapi.models.past_display_name import PastDisplayName +from vrchatapi.models.pending2_fa_result import Pending2FAResult from vrchatapi.models.performance_limiter_info import PerformanceLimiterInfo from vrchatapi.models.performance_ratings import PerformanceRatings from vrchatapi.models.permission import Permission @@ -191,6 +197,7 @@ from vrchatapi.models.product_listing_variant import ProductListingVariant from vrchatapi.models.product_type import ProductType from vrchatapi.models.region import Region +from vrchatapi.models.register_user_account_request import RegisterUserAccountRequest from vrchatapi.models.release_status import ReleaseStatus from vrchatapi.models.report_category import ReportCategory from vrchatapi.models.report_reason import ReportReason @@ -216,6 +223,8 @@ from vrchatapi.models.transaction_steam_wallet_info import TransactionSteamWalletInfo from vrchatapi.models.two_factor_auth_code import TwoFactorAuthCode from vrchatapi.models.two_factor_email_code import TwoFactorEmailCode +from vrchatapi.models.two_factor_recovery_codes import TwoFactorRecoveryCodes +from vrchatapi.models.two_factor_recovery_codes_otp_inner import TwoFactorRecoveryCodesOtpInner from vrchatapi.models.unity_package import UnityPackage from vrchatapi.models.update_avatar_request import UpdateAvatarRequest from vrchatapi.models.update_favorite_group_request import UpdateFavoriteGroupRequest diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index 068eda03..c246076a 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,24 +36,16 @@ def __init__(self, api_client=None): api_client = ApiClient() self.api_client = api_client - def check_user_exists(self, **kwargs): # noqa: E501 - """Check User Exists # noqa: E501 + def cancel_pending2_fa(self, **kwargs): # noqa: E501 + """Cancel pending enabling of time-based 2FA codes # noqa: E501 - Checks if a user by a given `username`, `displayName` or `email` exist. This is used during registration to check if a username has already been taken, during change of displayName to check if a displayName is available, and during change of email to check if the email is already used. In the later two cases the `excludeUserId` is used to exclude oneself, otherwise the result would always be true. It is **REQUIRED** to include **AT LEAST** `username`, `displayName` **or** `email` query parameter. Although they can be combined - in addition with `excludeUserId` (generally to exclude yourself) - to further fine-tune the search. # noqa: E501 + Cancels the sequence for enabling time-based 2FA. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.check_user_exists(async_req=True) + >>> thread = api.cancel_pending2_fa(async_req=True) >>> result = thread.get() - :param email: Filter by email. - :type email: str - :param display_name: Filter by displayName. - :type display_name: str - :param username: Filter by Username. - :type username: str - :param exclude_user_id: Exclude by UserID. - :type exclude_user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -67,29 +59,21 @@ def check_user_exists(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: UserExists + :rtype: Disable2FAResult """ kwargs['_return_http_data_only'] = True - return self.check_user_exists_with_http_info(**kwargs) # noqa: E501 + return self.cancel_pending2_fa_with_http_info(**kwargs) # noqa: E501 - def check_user_exists_with_http_info(self, **kwargs): # noqa: E501 - """Check User Exists # noqa: E501 + def cancel_pending2_fa_with_http_info(self, **kwargs): # noqa: E501 + """Cancel pending enabling of time-based 2FA codes # noqa: E501 - Checks if a user by a given `username`, `displayName` or `email` exist. This is used during registration to check if a username has already been taken, during change of displayName to check if a displayName is available, and during change of email to check if the email is already used. In the later two cases the `excludeUserId` is used to exclude oneself, otherwise the result would always be true. It is **REQUIRED** to include **AT LEAST** `username`, `displayName` **or** `email` query parameter. Although they can be combined - in addition with `excludeUserId` (generally to exclude yourself) - to further fine-tune the search. # noqa: E501 + Cancels the sequence for enabling time-based 2FA. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.check_user_exists_with_http_info(async_req=True) + >>> thread = api.cancel_pending2_fa_with_http_info(async_req=True) >>> result = thread.get() - :param email: Filter by email. - :type email: str - :param display_name: Filter by displayName. - :type display_name: str - :param username: Filter by Username. - :type username: str - :param exclude_user_id: Exclude by UserID. - :type exclude_user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -111,16 +95,12 @@ def check_user_exists_with_http_info(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(UserExists, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(Disable2FAResult, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'email', - 'display_name', - 'username', - 'exclude_user_id' ] all_params.extend( [ @@ -138,7 +118,7 @@ def check_user_exists_with_http_info(self, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method check_user_exists" % key + " to method cancel_pending2_fa" % key ) local_var_params[key] = val del local_var_params['kwargs'] @@ -148,14 +128,6 @@ def check_user_exists_with_http_info(self, **kwargs): # noqa: E501 path_params = {} query_params = [] - if local_var_params.get('email') is not None: # noqa: E501 - query_params.append(('email', local_var_params['email'])) # noqa: E501 - if local_var_params.get('display_name') is not None: # noqa: E501 - query_params.append(('displayName', local_var_params['display_name'])) # noqa: E501 - if local_var_params.get('username') is not None: # noqa: E501 - query_params.append(('username', local_var_params['username'])) # noqa: E501 - if local_var_params.get('exclude_user_id') is not None: # noqa: E501 - query_params.append(('excludeUserId', local_var_params['exclude_user_id'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -168,15 +140,15 @@ def check_user_exists_with_http_info(self, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = [] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "UserExists", - 400: "Error", + 200: "Disable2FAResult", + 401: "Error", } return self.api_client.call_api( - '/auth/exists', 'GET', + '/auth/twofactorauth/totp/pending', 'DELETE', path_params, query_params, header_params, @@ -192,18 +164,24 @@ def check_user_exists_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def delete_user(self, user_id, **kwargs): # noqa: E501 - """Delete User # noqa: E501 + def check_user_exists(self, **kwargs): # noqa: E501 + """Check User Exists # noqa: E501 - Deletes the account with given ID. Normal users only have permission to delete their own account. Account deletion is 14 days from this request, and will be cancelled if you do an authenticated request with the account afterwards. **VRC+ NOTE:** Despite the 14-days cooldown, any VRC+ subscription will be cancelled **immediately**. **METHOD NOTE:** Despite this being a Delete action, the method type required is PUT. # noqa: E501 + Checks if a user by a given `username`, `displayName` or `email` exist. This is used during registration to check if a username has already been taken, during change of displayName to check if a displayName is available, and during change of email to check if the email is already used. In the later two cases the `excludeUserId` is used to exclude oneself, otherwise the result would always be true. It is **REQUIRED** to include **AT LEAST** `username`, `displayName` **or** `email` query parameter. Although they can be combined - in addition with `excludeUserId` (generally to exclude yourself) - to further fine-tune the search. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_user(user_id, async_req=True) + >>> thread = api.check_user_exists(async_req=True) >>> result = thread.get() - :param user_id: Must be a valid user ID. (required) - :type user_id: str + :param email: Filter by email. + :type email: str + :param display_name: Filter by displayName. + :type display_name: str + :param username: Filter by Username. + :type username: str + :param exclude_user_id: Exclude by UserID. + :type exclude_user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -217,23 +195,29 @@ def delete_user(self, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: CurrentUser + :rtype: UserExists """ kwargs['_return_http_data_only'] = True - return self.delete_user_with_http_info(user_id, **kwargs) # noqa: E501 + return self.check_user_exists_with_http_info(**kwargs) # noqa: E501 - def delete_user_with_http_info(self, user_id, **kwargs): # noqa: E501 - """Delete User # noqa: E501 + def check_user_exists_with_http_info(self, **kwargs): # noqa: E501 + """Check User Exists # noqa: E501 - Deletes the account with given ID. Normal users only have permission to delete their own account. Account deletion is 14 days from this request, and will be cancelled if you do an authenticated request with the account afterwards. **VRC+ NOTE:** Despite the 14-days cooldown, any VRC+ subscription will be cancelled **immediately**. **METHOD NOTE:** Despite this being a Delete action, the method type required is PUT. # noqa: E501 + Checks if a user by a given `username`, `displayName` or `email` exist. This is used during registration to check if a username has already been taken, during change of displayName to check if a displayName is available, and during change of email to check if the email is already used. In the later two cases the `excludeUserId` is used to exclude oneself, otherwise the result would always be true. It is **REQUIRED** to include **AT LEAST** `username`, `displayName` **or** `email` query parameter. Although they can be combined - in addition with `excludeUserId` (generally to exclude yourself) - to further fine-tune the search. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_user_with_http_info(user_id, async_req=True) + >>> thread = api.check_user_exists_with_http_info(async_req=True) >>> result = thread.get() - :param user_id: Must be a valid user ID. (required) - :type user_id: str + :param email: Filter by email. + :type email: str + :param display_name: Filter by displayName. + :type display_name: str + :param username: Filter by Username. + :type username: str + :param exclude_user_id: Exclude by UserID. + :type exclude_user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -255,13 +239,16 @@ def delete_user_with_http_info(self, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(CurrentUser, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(UserExists, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'user_id' + 'email', + 'display_name', + 'username', + 'exclude_user_id' ] all_params.extend( [ @@ -279,21 +266,24 @@ def delete_user_with_http_info(self, user_id, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method delete_user" % key + " to method check_user_exists" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `user_id` when calling `delete_user`") # noqa: E501 collection_formats = {} path_params = {} - if 'user_id' in local_var_params: - path_params['userId'] = local_var_params['user_id'] # noqa: E501 query_params = [] + if local_var_params.get('email') is not None: # noqa: E501 + query_params.append(('email', local_var_params['email'])) # noqa: E501 + if local_var_params.get('display_name') is not None: # noqa: E501 + query_params.append(('displayName', local_var_params['display_name'])) # noqa: E501 + if local_var_params.get('username') is not None: # noqa: E501 + query_params.append(('username', local_var_params['username'])) # noqa: E501 + if local_var_params.get('exclude_user_id') is not None: # noqa: E501 + query_params.append(('excludeUserId', local_var_params['exclude_user_id'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -306,15 +296,15 @@ def delete_user_with_http_info(self, user_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['authCookie'] # noqa: E501 + auth_settings = [] # noqa: E501 response_types_map = { - 200: "CurrentUser", - 401: "Error", + 200: "UserExists", + 400: "Error", } return self.api_client.call_api( - '/users/{userId}/delete', 'PUT', + '/auth/exists', 'GET', path_params, query_params, header_params, @@ -330,16 +320,20 @@ def delete_user_with_http_info(self, user_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_current_user(self, **kwargs): # noqa: E501 - """Login and/or Get Current User Info # noqa: E501 + def confirm_email(self, id, verify_email, **kwargs): # noqa: E501 + """Confirm Email # noqa: E501 - This endpoint does the following two operations: 1) Checks if you are already logged in by looking for a valid `auth` cookie. If you are have a valid auth cookie then no additional auth-related actions are taken. If you are **not** logged in then it will log you in with the `Authorization` header and set the `auth` cookie. The `auth` cookie will only be sent once. 2) If logged in, this function will also return the CurrentUser object containing detailed information about the currently logged in user. The auth string after `Authorization: Basic {string}` is a base64-encoded string of the username and password, both individually url-encoded, and then joined with a colon. > base64(urlencode(username):urlencode(password)) **WARNING: Session Limit:** Each authentication with login credentials counts as a separate session, out of which you have a limited amount. Make sure to save and reuse the `auth` cookie if you are often restarting the program. The provided API libraries automatically save cookies during runtime, but does not persist during restart. While it can be fine to use username/password during development, expect in production to very fast run into the rate-limit and be temporarily blocked from making new sessions until older ones expire. The exact number of simultaneous sessions is unknown/undisclosed. # noqa: E501 + Confirms the email address for a user # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_current_user(async_req=True) + >>> thread = api.confirm_email(id, verify_email, async_req=True) >>> result = thread.get() + :param id: Target user for which to verify email. (required) + :type id: str + :param verify_email: Token to verify email. (required) + :type verify_email: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -353,21 +347,25 @@ def get_current_user(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: CurrentUser + :rtype: None """ kwargs['_return_http_data_only'] = True - return self.get_current_user_with_http_info(**kwargs) # noqa: E501 + return self.confirm_email_with_http_info(id, verify_email, **kwargs) # noqa: E501 - def get_current_user_with_http_info(self, **kwargs): # noqa: E501 - """Login and/or Get Current User Info # noqa: E501 + def confirm_email_with_http_info(self, id, verify_email, **kwargs): # noqa: E501 + """Confirm Email # noqa: E501 - This endpoint does the following two operations: 1) Checks if you are already logged in by looking for a valid `auth` cookie. If you are have a valid auth cookie then no additional auth-related actions are taken. If you are **not** logged in then it will log you in with the `Authorization` header and set the `auth` cookie. The `auth` cookie will only be sent once. 2) If logged in, this function will also return the CurrentUser object containing detailed information about the currently logged in user. The auth string after `Authorization: Basic {string}` is a base64-encoded string of the username and password, both individually url-encoded, and then joined with a colon. > base64(urlencode(username):urlencode(password)) **WARNING: Session Limit:** Each authentication with login credentials counts as a separate session, out of which you have a limited amount. Make sure to save and reuse the `auth` cookie if you are often restarting the program. The provided API libraries automatically save cookies during runtime, but does not persist during restart. While it can be fine to use username/password during development, expect in production to very fast run into the rate-limit and be temporarily blocked from making new sessions until older ones expire. The exact number of simultaneous sessions is unknown/undisclosed. # noqa: E501 + Confirms the email address for a user # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_current_user_with_http_info(async_req=True) + >>> thread = api.confirm_email_with_http_info(id, verify_email, async_req=True) >>> result = thread.get() + :param id: Target user for which to verify email. (required) + :type id: str + :param verify_email: Token to verify email. (required) + :type verify_email: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -389,12 +387,14 @@ def get_current_user_with_http_info(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(CurrentUser, status_code(int), headers(HTTPHeaderDict)) + :rtype: None """ local_var_params = locals() all_params = [ + 'id', + 'verify_email' ] all_params.extend( [ @@ -412,16 +412,26 @@ def get_current_user_with_http_info(self, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_current_user" % key + " to method confirm_email" % key ) local_var_params[key] = val del local_var_params['kwargs'] + # verify the required parameter 'id' is set + if self.api_client.client_side_validation and local_var_params.get('id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `id` when calling `confirm_email`") # noqa: E501 + # verify the required parameter 'verify_email' is set + if self.api_client.client_side_validation and local_var_params.get('verify_email') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `verify_email` when calling `confirm_email`") # noqa: E501 collection_formats = {} path_params = {} query_params = [] + if local_var_params.get('id') is not None: # noqa: E501 + query_params.append(('id', local_var_params['id'])) # noqa: E501 + if local_var_params.get('verify_email') is not None: # noqa: E501 + query_params.append(('verify_email', local_var_params['verify_email'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -429,20 +439,13 @@ def get_current_user_with_http_info(self, **kwargs): # noqa: E501 local_var_files = {} body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - # Authentication setting - auth_settings = ['authCookie', 'authHeader', 'twoFactorAuthCookie'] # noqa: E501 + auth_settings = [] # noqa: E501 - response_types_map = { - 200: "CurrentUser", - 401: "Error", - } + response_types_map = {} return self.api_client.call_api( - '/auth/user', 'GET', + '/auth/confirmEmail', 'GET', path_params, query_params, header_params, @@ -458,16 +461,18 @@ def get_current_user_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def logout(self, **kwargs): # noqa: E501 - """Logout # noqa: E501 + def delete_user(self, user_id, **kwargs): # noqa: E501 + """Delete User # noqa: E501 - Invalidates the login session. # noqa: E501 + Deletes the account with given ID. Normal users only have permission to delete their own account. Account deletion is 14 days from this request, and will be cancelled if you do an authenticated request with the account afterwards. **VRC+ NOTE:** Despite the 14-days cooldown, any VRC+ subscription will be cancelled **immediately**. **METHOD NOTE:** Despite this being a Delete action, the method type required is PUT. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.logout(async_req=True) + >>> thread = api.delete_user(user_id, async_req=True) >>> result = thread.get() + :param user_id: Must be a valid user ID. (required) + :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -481,21 +486,23 @@ def logout(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: Success + :rtype: CurrentUser """ kwargs['_return_http_data_only'] = True - return self.logout_with_http_info(**kwargs) # noqa: E501 + return self.delete_user_with_http_info(user_id, **kwargs) # noqa: E501 - def logout_with_http_info(self, **kwargs): # noqa: E501 - """Logout # noqa: E501 + def delete_user_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Delete User # noqa: E501 - Invalidates the login session. # noqa: E501 + Deletes the account with given ID. Normal users only have permission to delete their own account. Account deletion is 14 days from this request, and will be cancelled if you do an authenticated request with the account afterwards. **VRC+ NOTE:** Despite the 14-days cooldown, any VRC+ subscription will be cancelled **immediately**. **METHOD NOTE:** Despite this being a Delete action, the method type required is PUT. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.logout_with_http_info(async_req=True) + >>> thread = api.delete_user_with_http_info(user_id, async_req=True) >>> result = thread.get() + :param user_id: Must be a valid user ID. (required) + :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -517,12 +524,13 @@ def logout_with_http_info(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(Success, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(CurrentUser, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ + 'user_id' ] all_params.extend( [ @@ -540,14 +548,19 @@ def logout_with_http_info(self, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method logout" % key + " to method delete_user" % key ) local_var_params[key] = val del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `delete_user`") # noqa: E501 collection_formats = {} path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 query_params = [] @@ -565,12 +578,12 @@ def logout_with_http_info(self, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "Success", + 200: "CurrentUser", 401: "Error", } return self.api_client.call_api( - '/logout', 'PUT', + '/users/{userId}/delete', 'PUT', path_params, query_params, header_params, @@ -586,18 +599,16 @@ def logout_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def verify2_fa(self, two_factor_auth_code, **kwargs): # noqa: E501 - """Verify 2FA code # noqa: E501 + def disable2_fa(self, **kwargs): # noqa: E501 + """Disable 2FA # noqa: E501 - Finishes the login sequence with a normal 2FA-generated code for accounts with 2FA-protection enabled. # noqa: E501 + Disables 2FA for the currently logged in account # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.verify2_fa(two_factor_auth_code, async_req=True) + >>> thread = api.disable2_fa(async_req=True) >>> result = thread.get() - :param two_factor_auth_code: (required) - :type two_factor_auth_code: TwoFactorAuthCode :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -611,23 +622,21 @@ def verify2_fa(self, two_factor_auth_code, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: Verify2FAResult + :rtype: Disable2FAResult """ kwargs['_return_http_data_only'] = True - return self.verify2_fa_with_http_info(two_factor_auth_code, **kwargs) # noqa: E501 + return self.disable2_fa_with_http_info(**kwargs) # noqa: E501 - def verify2_fa_with_http_info(self, two_factor_auth_code, **kwargs): # noqa: E501 - """Verify 2FA code # noqa: E501 + def disable2_fa_with_http_info(self, **kwargs): # noqa: E501 + """Disable 2FA # noqa: E501 - Finishes the login sequence with a normal 2FA-generated code for accounts with 2FA-protection enabled. # noqa: E501 + Disables 2FA for the currently logged in account # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.verify2_fa_with_http_info(two_factor_auth_code, async_req=True) + >>> thread = api.disable2_fa_with_http_info(async_req=True) >>> result = thread.get() - :param two_factor_auth_code: (required) - :type two_factor_auth_code: TwoFactorAuthCode :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -649,13 +658,12 @@ def verify2_fa_with_http_info(self, two_factor_auth_code, **kwargs): # noqa: E5 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(Verify2FAResult, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(Disable2FAResult, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'two_factor_auth_code' ] all_params.extend( [ @@ -673,13 +681,10 @@ def verify2_fa_with_http_info(self, two_factor_auth_code, **kwargs): # noqa: E5 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method verify2_fa" % key + " to method disable2_fa" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'two_factor_auth_code' is set - if self.api_client.client_side_validation and local_var_params.get('two_factor_auth_code') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `two_factor_auth_code` when calling `verify2_fa`") # noqa: E501 collection_formats = {} @@ -693,30 +698,20 @@ def verify2_fa_with_http_info(self, two_factor_auth_code, **kwargs): # noqa: E5 local_var_files = {} body_params = None - if 'two_factor_auth_code' in local_var_params: - body_params = local_var_params['two_factor_auth_code'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 - # HTTP header `Content-Type` - content_types_list = local_var_params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'], - 'POST', body_params)) # noqa: E501 - if content_types_list: - header_params['Content-Type'] = content_types_list - # Authentication setting auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "Verify2FAResult", + 200: "Disable2FAResult", 401: "Error", } return self.api_client.call_api( - '/auth/twofactorauth/totp/verify', 'POST', + '/auth/twofactorauth', 'DELETE', path_params, query_params, header_params, @@ -732,18 +727,16 @@ def verify2_fa_with_http_info(self, two_factor_auth_code, **kwargs): # noqa: E5 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def verify2_fa_email_code(self, two_factor_email_code, **kwargs): # noqa: E501 - """Verify 2FA email code # noqa: E501 + def enable2_fa(self, **kwargs): # noqa: E501 + """Enable time-based 2FA codes # noqa: E501 - Finishes the login sequence with an 2FA email code. # noqa: E501 + Begins the sequence for enabling time-based 2FA. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.verify2_fa_email_code(two_factor_email_code, async_req=True) + >>> thread = api.enable2_fa(async_req=True) >>> result = thread.get() - :param two_factor_email_code: (required) - :type two_factor_email_code: TwoFactorEmailCode :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -757,23 +750,21 @@ def verify2_fa_email_code(self, two_factor_email_code, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: Verify2FAEmailCodeResult + :rtype: Pending2FAResult """ kwargs['_return_http_data_only'] = True - return self.verify2_fa_email_code_with_http_info(two_factor_email_code, **kwargs) # noqa: E501 + return self.enable2_fa_with_http_info(**kwargs) # noqa: E501 - def verify2_fa_email_code_with_http_info(self, two_factor_email_code, **kwargs): # noqa: E501 - """Verify 2FA email code # noqa: E501 + def enable2_fa_with_http_info(self, **kwargs): # noqa: E501 + """Enable time-based 2FA codes # noqa: E501 - Finishes the login sequence with an 2FA email code. # noqa: E501 + Begins the sequence for enabling time-based 2FA. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.verify2_fa_email_code_with_http_info(two_factor_email_code, async_req=True) + >>> thread = api.enable2_fa_with_http_info(async_req=True) >>> result = thread.get() - :param two_factor_email_code: (required) - :type two_factor_email_code: TwoFactorEmailCode :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -795,13 +786,12 @@ def verify2_fa_email_code_with_http_info(self, two_factor_email_code, **kwargs): :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(Verify2FAEmailCodeResult, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(Pending2FAResult, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'two_factor_email_code' ] all_params.extend( [ @@ -819,13 +809,10 @@ def verify2_fa_email_code_with_http_info(self, two_factor_email_code, **kwargs): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method verify2_fa_email_code" % key + " to method enable2_fa" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'two_factor_email_code' is set - if self.api_client.client_side_validation and local_var_params.get('two_factor_email_code') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `two_factor_email_code` when calling `verify2_fa_email_code`") # noqa: E501 collection_formats = {} @@ -839,30 +826,20 @@ def verify2_fa_email_code_with_http_info(self, two_factor_email_code, **kwargs): local_var_files = {} body_params = None - if 'two_factor_email_code' in local_var_params: - body_params = local_var_params['two_factor_email_code'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 - # HTTP header `Content-Type` - content_types_list = local_var_params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'], - 'POST', body_params)) # noqa: E501 - if content_types_list: - header_params['Content-Type'] = content_types_list - # Authentication setting auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "Verify2FAEmailCodeResult", + 200: "Pending2FAResult", 401: "Error", } return self.api_client.call_api( - '/auth/twofactorauth/emailotp/verify', 'POST', + '/auth/twofactorauth/totp/pending', 'POST', path_params, query_params, header_params, @@ -878,14 +855,14 @@ def verify2_fa_email_code_with_http_info(self, two_factor_email_code, **kwargs): collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def verify_auth_token(self, **kwargs): # noqa: E501 - """Verify Auth Token # noqa: E501 + def get_current_user(self, **kwargs): # noqa: E501 + """Login and/or Get Current User Info # noqa: E501 - Verify whether the currently provided Auth Token is valid. # noqa: E501 + This endpoint does the following two operations: 1) Checks if you are already logged in by looking for a valid `auth` cookie. If you are have a valid auth cookie then no additional auth-related actions are taken. If you are **not** logged in then it will log you in with the `Authorization` header and set the `auth` cookie. The `auth` cookie will only be sent once. 2) If logged in, this function will also return the CurrentUser object containing detailed information about the currently logged in user. The auth string after `Authorization: Basic {string}` is a base64-encoded string of the username and password, both individually url-encoded, and then joined with a colon. > base64(urlencode(username):urlencode(password)) **WARNING: Session Limit:** Each authentication with login credentials counts as a separate session, out of which you have a limited amount. Make sure to save and reuse the `auth` cookie if you are often restarting the program. The provided API libraries automatically save cookies during runtime, but does not persist during restart. While it can be fine to use username/password during development, expect in production to very fast run into the rate-limit and be temporarily blocked from making new sessions until older ones expire. The exact number of simultaneous sessions is unknown/undisclosed. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.verify_auth_token(async_req=True) + >>> thread = api.get_current_user(async_req=True) >>> result = thread.get() :param async_req: Whether to execute the request asynchronously. @@ -901,13 +878,963 @@ def verify_auth_token(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: VerifyAuthTokenResult + :rtype: CurrentUser """ kwargs['_return_http_data_only'] = True - return self.verify_auth_token_with_http_info(**kwargs) # noqa: E501 - - def verify_auth_token_with_http_info(self, **kwargs): # noqa: E501 - """Verify Auth Token # noqa: E501 + return self.get_current_user_with_http_info(**kwargs) # noqa: E501 + + def get_current_user_with_http_info(self, **kwargs): # noqa: E501 + """Login and/or Get Current User Info # noqa: E501 + + This endpoint does the following two operations: 1) Checks if you are already logged in by looking for a valid `auth` cookie. If you are have a valid auth cookie then no additional auth-related actions are taken. If you are **not** logged in then it will log you in with the `Authorization` header and set the `auth` cookie. The `auth` cookie will only be sent once. 2) If logged in, this function will also return the CurrentUser object containing detailed information about the currently logged in user. The auth string after `Authorization: Basic {string}` is a base64-encoded string of the username and password, both individually url-encoded, and then joined with a colon. > base64(urlencode(username):urlencode(password)) **WARNING: Session Limit:** Each authentication with login credentials counts as a separate session, out of which you have a limited amount. Make sure to save and reuse the `auth` cookie if you are often restarting the program. The provided API libraries automatically save cookies during runtime, but does not persist during restart. While it can be fine to use username/password during development, expect in production to very fast run into the rate-limit and be temporarily blocked from making new sessions until older ones expire. The exact number of simultaneous sessions is unknown/undisclosed. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_current_user_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(CurrentUser, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_current_user" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie', 'authHeader', 'twoFactorAuthCookie'] # noqa: E501 + + response_types_map = { + 200: "CurrentUser", + 401: "Error", + } + + return self.api_client.call_api( + '/auth/user', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_recovery_codes(self, **kwargs): # noqa: E501 + """Get 2FA Recovery codes # noqa: E501 + + Gets the OTP (One Time Password) recovery codes for accounts with 2FA-protection enabled. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_recovery_codes(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: TwoFactorRecoveryCodes + """ + kwargs['_return_http_data_only'] = True + return self.get_recovery_codes_with_http_info(**kwargs) # noqa: E501 + + def get_recovery_codes_with_http_info(self, **kwargs): # noqa: E501 + """Get 2FA Recovery codes # noqa: E501 + + Gets the OTP (One Time Password) recovery codes for accounts with 2FA-protection enabled. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_recovery_codes_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(TwoFactorRecoveryCodes, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_recovery_codes" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "TwoFactorRecoveryCodes", + 401: "Error", + } + + return self.api_client.call_api( + '/auth/user/twofactorauth/otp', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def logout(self, **kwargs): # noqa: E501 + """Logout # noqa: E501 + + Invalidates the login session. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.logout(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Success + """ + kwargs['_return_http_data_only'] = True + return self.logout_with_http_info(**kwargs) # noqa: E501 + + def logout_with_http_info(self, **kwargs): # noqa: E501 + """Logout # noqa: E501 + + Invalidates the login session. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.logout_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Success, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method logout" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "Success", + 401: "Error", + } + + return self.api_client.call_api( + '/logout', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def register_user_account(self, register_user_account_request, **kwargs): # noqa: E501 + """Register User Account # noqa: E501 + + ~~Register a new user account.~~ **DEPRECATED:** Automated creation of accounts has no legitimate public third-party use case, and would be in violation of ToS §13.2: *By using the Platform, you agree not to: i. [...] use the Platform in a manner inconsistent with individual human usage* This endpoint is documented in the interest of completeness # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.register_user_account(register_user_account_request, async_req=True) + >>> result = thread.get() + + :param register_user_account_request: (required) + :type register_user_account_request: RegisterUserAccountRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: CurrentUser + """ + kwargs['_return_http_data_only'] = True + return self.register_user_account_with_http_info(register_user_account_request, **kwargs) # noqa: E501 + + def register_user_account_with_http_info(self, register_user_account_request, **kwargs): # noqa: E501 + """Register User Account # noqa: E501 + + ~~Register a new user account.~~ **DEPRECATED:** Automated creation of accounts has no legitimate public third-party use case, and would be in violation of ToS §13.2: *By using the Platform, you agree not to: i. [...] use the Platform in a manner inconsistent with individual human usage* This endpoint is documented in the interest of completeness # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.register_user_account_with_http_info(register_user_account_request, async_req=True) + >>> result = thread.get() + + :param register_user_account_request: (required) + :type register_user_account_request: RegisterUserAccountRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(CurrentUser, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'register_user_account_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method register_user_account" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'register_user_account_request' is set + if self.api_client.client_side_validation and local_var_params.get('register_user_account_request') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `register_user_account_request` when calling `register_user_account`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'register_user_account_request' in local_var_params: + body_params = local_var_params['register_user_account_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = [] # noqa: E501 + + response_types_map = { + 200: "CurrentUser", + 401: "Error", + } + + return self.api_client.call_api( + '/auth/register', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def resend_email_confirmation(self, **kwargs): # noqa: E501 + """Resend Email Confirmation # noqa: E501 + + Requests a resend of pending email address confirmation email # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.resend_email_confirmation(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Success + """ + kwargs['_return_http_data_only'] = True + return self.resend_email_confirmation_with_http_info(**kwargs) # noqa: E501 + + def resend_email_confirmation_with_http_info(self, **kwargs): # noqa: E501 + """Resend Email Confirmation # noqa: E501 + + Requests a resend of pending email address confirmation email # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.resend_email_confirmation_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Success, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method resend_email_confirmation" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "Success", + 401: "Error", + } + + return self.api_client.call_api( + '/auth/user/resendEmail', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def verify2_fa(self, two_factor_auth_code, **kwargs): # noqa: E501 + """Verify 2FA code # noqa: E501 + + Finishes the login sequence with a normal 2FA-generated code for accounts with 2FA-protection enabled. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.verify2_fa(two_factor_auth_code, async_req=True) + >>> result = thread.get() + + :param two_factor_auth_code: (required) + :type two_factor_auth_code: TwoFactorAuthCode + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Verify2FAResult + """ + kwargs['_return_http_data_only'] = True + return self.verify2_fa_with_http_info(two_factor_auth_code, **kwargs) # noqa: E501 + + def verify2_fa_with_http_info(self, two_factor_auth_code, **kwargs): # noqa: E501 + """Verify 2FA code # noqa: E501 + + Finishes the login sequence with a normal 2FA-generated code for accounts with 2FA-protection enabled. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.verify2_fa_with_http_info(two_factor_auth_code, async_req=True) + >>> result = thread.get() + + :param two_factor_auth_code: (required) + :type two_factor_auth_code: TwoFactorAuthCode + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Verify2FAResult, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'two_factor_auth_code' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method verify2_fa" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'two_factor_auth_code' is set + if self.api_client.client_side_validation and local_var_params.get('two_factor_auth_code') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `two_factor_auth_code` when calling `verify2_fa`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'two_factor_auth_code' in local_var_params: + body_params = local_var_params['two_factor_auth_code'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "Verify2FAResult", + 401: "Error", + } + + return self.api_client.call_api( + '/auth/twofactorauth/totp/verify', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def verify2_fa_email_code(self, two_factor_email_code, **kwargs): # noqa: E501 + """Verify 2FA email code # noqa: E501 + + Finishes the login sequence with an 2FA email code. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.verify2_fa_email_code(two_factor_email_code, async_req=True) + >>> result = thread.get() + + :param two_factor_email_code: (required) + :type two_factor_email_code: TwoFactorEmailCode + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Verify2FAEmailCodeResult + """ + kwargs['_return_http_data_only'] = True + return self.verify2_fa_email_code_with_http_info(two_factor_email_code, **kwargs) # noqa: E501 + + def verify2_fa_email_code_with_http_info(self, two_factor_email_code, **kwargs): # noqa: E501 + """Verify 2FA email code # noqa: E501 + + Finishes the login sequence with an 2FA email code. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.verify2_fa_email_code_with_http_info(two_factor_email_code, async_req=True) + >>> result = thread.get() + + :param two_factor_email_code: (required) + :type two_factor_email_code: TwoFactorEmailCode + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Verify2FAEmailCodeResult, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'two_factor_email_code' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method verify2_fa_email_code" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'two_factor_email_code' is set + if self.api_client.client_side_validation and local_var_params.get('two_factor_email_code') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `two_factor_email_code` when calling `verify2_fa_email_code`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'two_factor_email_code' in local_var_params: + body_params = local_var_params['two_factor_email_code'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "Verify2FAEmailCodeResult", + 401: "Error", + } + + return self.api_client.call_api( + '/auth/twofactorauth/emailotp/verify', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def verify_auth_token(self, **kwargs): # noqa: E501 + """Verify Auth Token # noqa: E501 + + Verify whether the currently provided Auth Token is valid. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.verify_auth_token(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: VerifyAuthTokenResult + """ + kwargs['_return_http_data_only'] = True + return self.verify_auth_token_with_http_info(**kwargs) # noqa: E501 + + def verify_auth_token_with_http_info(self, **kwargs): # noqa: E501 + """Verify Auth Token # noqa: E501 Verify whether the currently provided Auth Token is valid. # noqa: E501 This method makes a synchronous HTTP request by default. To make an @@ -1006,6 +1933,290 @@ def verify_auth_token_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def verify_login_place(self, token, **kwargs): # noqa: E501 + """Verify Login Place # noqa: E501 + + Verifies a login attempt for a user # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.verify_login_place(token, async_req=True) + >>> result = thread.get() + + :param token: Token to verify login attempt. (required) + :type token: str + :param user_id: Filter by UserID. + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + kwargs['_return_http_data_only'] = True + return self.verify_login_place_with_http_info(token, **kwargs) # noqa: E501 + + def verify_login_place_with_http_info(self, token, **kwargs): # noqa: E501 + """Verify Login Place # noqa: E501 + + Verifies a login attempt for a user # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.verify_login_place_with_http_info(token, async_req=True) + >>> result = thread.get() + + :param token: Token to verify login attempt. (required) + :type token: str + :param user_id: Filter by UserID. + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + + local_var_params = locals() + + all_params = [ + 'token', + 'user_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method verify_login_place" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'token' is set + if self.api_client.client_side_validation and local_var_params.get('token') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `token` when calling `verify_login_place`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if local_var_params.get('user_id') is not None: # noqa: E501 + query_params.append(('userId', local_var_params['user_id'])) # noqa: E501 + if local_var_params.get('token') is not None: # noqa: E501 + query_params.append(('token', local_var_params['token'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # Authentication setting + auth_settings = [] # noqa: E501 + + response_types_map = {} + + return self.api_client.call_api( + '/auth/verifyLoginPlace', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def verify_pending2_fa(self, two_factor_auth_code, **kwargs): # noqa: E501 + """Verify Pending 2FA code # noqa: E501 + + Finishes sequence for enabling time-based 2FA. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.verify_pending2_fa(two_factor_auth_code, async_req=True) + >>> result = thread.get() + + :param two_factor_auth_code: (required) + :type two_factor_auth_code: TwoFactorAuthCode + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Verify2FAResult + """ + kwargs['_return_http_data_only'] = True + return self.verify_pending2_fa_with_http_info(two_factor_auth_code, **kwargs) # noqa: E501 + + def verify_pending2_fa_with_http_info(self, two_factor_auth_code, **kwargs): # noqa: E501 + """Verify Pending 2FA code # noqa: E501 + + Finishes sequence for enabling time-based 2FA. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.verify_pending2_fa_with_http_info(two_factor_auth_code, async_req=True) + >>> result = thread.get() + + :param two_factor_auth_code: (required) + :type two_factor_auth_code: TwoFactorAuthCode + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Verify2FAResult, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'two_factor_auth_code' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method verify_pending2_fa" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'two_factor_auth_code' is set + if self.api_client.client_side_validation and local_var_params.get('two_factor_auth_code') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `two_factor_auth_code` when calling `verify_pending2_fa`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'two_factor_auth_code' in local_var_params: + body_params = local_var_params['two_factor_auth_code'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "Verify2FAResult", + 401: "Error", + } + + return self.api_client.call_api( + '/auth/twofactorauth/totp/pending/verify', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def verify_recovery_code(self, two_factor_auth_code, **kwargs): # noqa: E501 """Verify 2FA code with Recovery code # noqa: E501 diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index ac66ae62..f0f03b53 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -159,6 +159,7 @@ def create_avatar_with_http_info(self, **kwargs): # noqa: E501 response_types_map = { 200: "Avatar", + 400: "Error", 401: "Error", } diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 69b9b840..40e5ceaa 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index 4822e547..f2df1121 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -508,6 +508,8 @@ def get_favorite_groups(self, **kwargs): # noqa: E501 :type n: int :param offset: A zero-based offset from the default object sorting from where search results start. :type offset: int + :param user_id: Target user to see information on, admin-only. + :type user_id: str :param owner_id: The owner of whoms favorite groups to return. Must be a UserID. :type owner_id: str :param async_req: Whether to execute the request asynchronously. @@ -542,6 +544,8 @@ def get_favorite_groups_with_http_info(self, **kwargs): # noqa: E501 :type n: int :param offset: A zero-based offset from the default object sorting from where search results start. :type offset: int + :param user_id: Target user to see information on, admin-only. + :type user_id: str :param owner_id: The owner of whoms favorite groups to return. Must be a UserID. :type owner_id: str :param async_req: Whether to execute the request asynchronously. @@ -573,6 +577,7 @@ def get_favorite_groups_with_http_info(self, **kwargs): # noqa: E501 all_params = [ 'n', 'offset', + 'user_id', 'owner_id' ] all_params.extend( @@ -611,6 +616,8 @@ def get_favorite_groups_with_http_info(self, **kwargs): # noqa: E501 query_params.append(('n', local_var_params['n'])) # noqa: E501 if local_var_params.get('offset') is not None: # noqa: E501 query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + if local_var_params.get('user_id') is not None: # noqa: E501 + query_params.append(('userId', local_var_params['user_id'])) # noqa: E501 if local_var_params.get('owner_id') is not None: # noqa: E501 query_params.append(('ownerId', local_var_params['owner_id'])) # noqa: E501 diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index 89fe1a31..97070553 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -646,7 +646,7 @@ def download_file_version(self, file_id, version_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: None + :rtype: file """ kwargs['_return_http_data_only'] = True return self.download_file_version_with_http_info(file_id, version_id, **kwargs) # noqa: E501 @@ -686,7 +686,7 @@ def download_file_version_with_http_info(self, file_id, version_id, **kwargs): :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: None + :rtype: tuple(file, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() @@ -742,12 +742,15 @@ def download_file_version_with_http_info(self, file_id, version_id, **kwargs): body_params = None # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 + ['image/*', 'application/json']) # noqa: E501 # Authentication setting auth_settings = ['authCookie'] # noqa: E501 - response_types_map = {} + response_types_map = { + 200: "file", + 404: "Error", + } return self.api_client.call_api( '/file/{fileId}/{versionId}', 'GET', @@ -2022,3 +2025,476 @@ def start_file_data_upload_with_http_info(self, file_id, version_id, file_type, _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + + def upload_gallery_image(self, file, **kwargs): # noqa: E501 + """Upload gallery image # noqa: E501 + + Upload a gallery image # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.upload_gallery_image(file, async_req=True) + >>> result = thread.get() + + :param file: The binary blob of the png file. (required) + :type file: file + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: File + """ + kwargs['_return_http_data_only'] = True + return self.upload_gallery_image_with_http_info(file, **kwargs) # noqa: E501 + + def upload_gallery_image_with_http_info(self, file, **kwargs): # noqa: E501 + """Upload gallery image # noqa: E501 + + Upload a gallery image # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.upload_gallery_image_with_http_info(file, async_req=True) + >>> result = thread.get() + + :param file: The binary blob of the png file. (required) + :type file: file + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(File, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'file' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method upload_gallery_image" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'file' is set + if self.api_client.client_side_validation and local_var_params.get('file') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `file` when calling `upload_gallery_image`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + if 'file' in local_var_params: + local_var_files['file'] = local_var_params['file'] # noqa: E501 + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['multipart/form-data'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "File", + } + + return self.api_client.call_api( + '/gallery', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def upload_icon(self, file, **kwargs): # noqa: E501 + """Upload icon # noqa: E501 + + Upload an icon # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.upload_icon(file, async_req=True) + >>> result = thread.get() + + :param file: The binary blob of the png file. (required) + :type file: file + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: File + """ + kwargs['_return_http_data_only'] = True + return self.upload_icon_with_http_info(file, **kwargs) # noqa: E501 + + def upload_icon_with_http_info(self, file, **kwargs): # noqa: E501 + """Upload icon # noqa: E501 + + Upload an icon # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.upload_icon_with_http_info(file, async_req=True) + >>> result = thread.get() + + :param file: The binary blob of the png file. (required) + :type file: file + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(File, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'file' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method upload_icon" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'file' is set + if self.api_client.client_side_validation and local_var_params.get('file') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `file` when calling `upload_icon`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + if 'file' in local_var_params: + local_var_files['file'] = local_var_params['file'] # noqa: E501 + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['multipart/form-data'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "File", + } + + return self.api_client.call_api( + '/icon', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def upload_image(self, file, tag, **kwargs): # noqa: E501 + """Upload gallery image, icon, emoji or sticker # noqa: E501 + + Upload an image, which can be an icon, gallery image, sticker or emoji # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.upload_image(file, tag, async_req=True) + >>> result = thread.get() + + :param file: The binary blob of the png file. (required) + :type file: file + :param tag: Needs to be either icon, gallery, sticker, emoji, or emojianimated (required) + :type tag: str + :param frames: Required for emojianimated. Total number of frames to be animated (2-64) + :type frames: int + :param frames_over_time: Required for emojianimated. Animation frames per second (1-64) + :type frames_over_time: int + :param animation_style: Animation style for sticker, required for emoji. + :type animation_style: str + :param mask_tag: Mask of the sticker, optional for emoji. + :type mask_tag: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: File + """ + kwargs['_return_http_data_only'] = True + return self.upload_image_with_http_info(file, tag, **kwargs) # noqa: E501 + + def upload_image_with_http_info(self, file, tag, **kwargs): # noqa: E501 + """Upload gallery image, icon, emoji or sticker # noqa: E501 + + Upload an image, which can be an icon, gallery image, sticker or emoji # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.upload_image_with_http_info(file, tag, async_req=True) + >>> result = thread.get() + + :param file: The binary blob of the png file. (required) + :type file: file + :param tag: Needs to be either icon, gallery, sticker, emoji, or emojianimated (required) + :type tag: str + :param frames: Required for emojianimated. Total number of frames to be animated (2-64) + :type frames: int + :param frames_over_time: Required for emojianimated. Animation frames per second (1-64) + :type frames_over_time: int + :param animation_style: Animation style for sticker, required for emoji. + :type animation_style: str + :param mask_tag: Mask of the sticker, optional for emoji. + :type mask_tag: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(File, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'file', + 'tag', + 'frames', + 'frames_over_time', + 'animation_style', + 'mask_tag' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method upload_image" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'file' is set + if self.api_client.client_side_validation and local_var_params.get('file') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `file` when calling `upload_image`") # noqa: E501 + # verify the required parameter 'tag' is set + if self.api_client.client_side_validation and local_var_params.get('tag') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `tag` when calling `upload_image`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + if 'file' in local_var_params: + local_var_files['file'] = local_var_params['file'] # noqa: E501 + if 'tag' in local_var_params: + form_params.append(('tag', local_var_params['tag'])) # noqa: E501 + if 'frames' in local_var_params: + form_params.append(('frames', local_var_params['frames'])) # noqa: E501 + if 'frames_over_time' in local_var_params: + form_params.append(('framesOverTime', local_var_params['frames_over_time'])) # noqa: E501 + if 'animation_style' in local_var_params: + form_params.append(('animationStyle', local_var_params['animation_style'])) # noqa: E501 + if 'mask_tag' in local_var_params: + form_params.append(('maskTag', local_var_params['mask_tag'])) # noqa: E501 + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['multipart/form-data'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "File", + } + + return self.api_client.call_api( + '/file/image', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index 6a550f21..c4ecf140 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index 2fcfd84d..bb6aa772 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -4521,6 +4521,134 @@ def get_group_requests_with_http_info(self, group_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def get_group_role_templates(self, **kwargs): # noqa: E501 + """Get Group Role Templates # noqa: E501 + + Obtain predefined templates for group roles # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_role_templates(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: dict(str, GroupRoleTemplateValues) + """ + kwargs['_return_http_data_only'] = True + return self.get_group_role_templates_with_http_info(**kwargs) # noqa: E501 + + def get_group_role_templates_with_http_info(self, **kwargs): # noqa: E501 + """Get Group Role Templates # noqa: E501 + + Obtain predefined templates for group roles # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_role_templates_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(dict(str, GroupRoleTemplateValues), status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_group_role_templates" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "dict(str, GroupRoleTemplateValues)", + 401: "Error", + } + + return self.api_client.call_api( + '/groups/roleTemplates', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def get_group_roles(self, group_id, **kwargs): # noqa: E501 """Get Group Roles # noqa: E501 diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 2d7dafa9..a2a66efb 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -39,7 +39,7 @@ def __init__(self, api_client=None): def close_instance(self, world_id, instance_id, **kwargs): # noqa: E501 """Close Instance # noqa: E501 - Close an instance or update the closedAt time when it will be closed. You can only close an instance if the ownerId is yourself or if the instance owner is a group and you have the `group-instance-moderate` permission. # noqa: E501 + Close an instance or update the closedAt time when it will be closed. You can only close an instance if the ownerId is yourself or if the instance owner is a group and you have the `group-instance-manage` permission. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -75,7 +75,7 @@ def close_instance(self, world_id, instance_id, **kwargs): # noqa: E501 def close_instance_with_http_info(self, world_id, instance_id, **kwargs): # noqa: E501 """Close Instance # noqa: E501 - Close an instance or update the closedAt time when it will be closed. You can only close an instance if the ownerId is yourself or if the instance owner is a group and you have the `group-instance-moderate` permission. # noqa: E501 + Close an instance or update the closedAt time when it will be closed. You can only close an instance if the ownerId is yourself or if the instance owner is a group and you have the `group-instance-manage` permission. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index dd45030a..a69aae4a 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -654,6 +654,172 @@ def invite_user_with_http_info(self, user_id, invite_request, **kwargs): # noqa collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def invite_user_with_photo(self, user_id, image, data, **kwargs): # noqa: E501 + """Invite User with photo # noqa: E501 + + Sends an photo invite to a user. Returns the Notification of type `invite` that was sent. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.invite_user_with_photo(user_id, image, data, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param image: The binary blob of the png file. (required) + :type image: file + :param data: (required) + :type data: InviteRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: SentNotification + """ + kwargs['_return_http_data_only'] = True + return self.invite_user_with_photo_with_http_info(user_id, image, data, **kwargs) # noqa: E501 + + def invite_user_with_photo_with_http_info(self, user_id, image, data, **kwargs): # noqa: E501 + """Invite User with photo # noqa: E501 + + Sends an photo invite to a user. Returns the Notification of type `invite` that was sent. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.invite_user_with_photo_with_http_info(user_id, image, data, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param image: The binary blob of the png file. (required) + :type image: file + :param data: (required) + :type data: InviteRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(SentNotification, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_id', + 'image', + 'data' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method invite_user_with_photo" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `invite_user_with_photo`") # noqa: E501 + # verify the required parameter 'image' is set + if self.api_client.client_side_validation and local_var_params.get('image') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `image` when calling `invite_user_with_photo`") # noqa: E501 + # verify the required parameter 'data' is set + if self.api_client.client_side_validation and local_var_params.get('data') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `data` when calling `invite_user_with_photo`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + if 'image' in local_var_params: + local_var_files['image'] = local_var_params['image'] # noqa: E501 + if 'data' in local_var_params: + form_params.append(('data', local_var_params['data'])) # noqa: E501 + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['multipart/form-data'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "SentNotification", + 403: "Error", + } + + return self.api_client.call_api( + '/invite/{userId}/photo', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def request_invite(self, user_id, **kwargs): # noqa: E501 """Request Invite # noqa: E501 @@ -807,6 +973,172 @@ def request_invite_with_http_info(self, user_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def request_invite_with_photo(self, user_id, image, data, **kwargs): # noqa: E501 + """Request Invite with photo # noqa: E501 + + Requests with photo an invite from a user. Returns the Notification of type `requestInvite` that was sent. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.request_invite_with_photo(user_id, image, data, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param image: The binary blob of the png file. (required) + :type image: file + :param data: (required) + :type data: RequestInviteRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Notification + """ + kwargs['_return_http_data_only'] = True + return self.request_invite_with_photo_with_http_info(user_id, image, data, **kwargs) # noqa: E501 + + def request_invite_with_photo_with_http_info(self, user_id, image, data, **kwargs): # noqa: E501 + """Request Invite with photo # noqa: E501 + + Requests with photo an invite from a user. Returns the Notification of type `requestInvite` that was sent. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.request_invite_with_photo_with_http_info(user_id, image, data, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param image: The binary blob of the png file. (required) + :type image: file + :param data: (required) + :type data: RequestInviteRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Notification, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_id', + 'image', + 'data' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method request_invite_with_photo" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `request_invite_with_photo`") # noqa: E501 + # verify the required parameter 'image' is set + if self.api_client.client_side_validation and local_var_params.get('image') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `image` when calling `request_invite_with_photo`") # noqa: E501 + # verify the required parameter 'data' is set + if self.api_client.client_side_validation and local_var_params.get('data') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `data` when calling `request_invite_with_photo`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + if 'image' in local_var_params: + local_var_files['image'] = local_var_params['image'] # noqa: E501 + if 'data' in local_var_params: + form_params.append(('data', local_var_params['data'])) # noqa: E501 + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['multipart/form-data'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "Notification", + 403: "Error", + } + + return self.api_client.call_api( + '/requestInvite/{userId}/photo', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def reset_invite_message(self, user_id, message_type, slot, **kwargs): # noqa: E501 """Reset Invite Message # noqa: E501 @@ -975,7 +1307,7 @@ def reset_invite_message_with_http_info(self, user_id, message_type, slot, **kwa def respond_invite(self, notification_id, invite_response, **kwargs): # noqa: E501 """Respond Invite # noqa: E501 - Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification. # noqa: E501 + Respond to an invite or invite request without accepting it. `:notificationId` is the ID of the requesting notification. In case the notification being replied to is an invite, the `responseSlot` refers to a response message from the the `message` collection. In case the notification is an invite request, it will refer to one from the `requestResponse` collection instead. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1007,7 +1339,7 @@ def respond_invite(self, notification_id, invite_response, **kwargs): # noqa: E def respond_invite_with_http_info(self, notification_id, invite_response, **kwargs): # noqa: E501 """Respond Invite # noqa: E501 - Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification. # noqa: E501 + Respond to an invite or invite request without accepting it. `:notificationId` is the ID of the requesting notification. In case the notification being replied to is an invite, the `responseSlot` refers to a response message from the the `message` collection. In case the notification is an invite request, it will refer to one from the `requestResponse` collection instead. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1128,6 +1460,172 @@ def respond_invite_with_http_info(self, notification_id, invite_response, **kwar collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def respond_invite_with_photo(self, notification_id, image, data, **kwargs): # noqa: E501 + """Respond Invite with photo # noqa: E501 + + Respond with photo to an invite or invite request without accepting it. `:notificationId` is the ID of the requesting notification. In case the notification being replied to is an invite, the `responseSlot` refers to a response message from the the `message` collection. In case the notification is an invite request, it will refer to one from the `requestResponse` collection instead.' # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.respond_invite_with_photo(notification_id, image, data, async_req=True) + >>> result = thread.get() + + :param notification_id: Must be a valid notification ID. (required) + :type notification_id: str + :param image: The binary blob of the png file. (required) + :type image: file + :param data: (required) + :type data: InviteResponse + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Notification + """ + kwargs['_return_http_data_only'] = True + return self.respond_invite_with_photo_with_http_info(notification_id, image, data, **kwargs) # noqa: E501 + + def respond_invite_with_photo_with_http_info(self, notification_id, image, data, **kwargs): # noqa: E501 + """Respond Invite with photo # noqa: E501 + + Respond with photo to an invite or invite request without accepting it. `:notificationId` is the ID of the requesting notification. In case the notification being replied to is an invite, the `responseSlot` refers to a response message from the the `message` collection. In case the notification is an invite request, it will refer to one from the `requestResponse` collection instead.' # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.respond_invite_with_photo_with_http_info(notification_id, image, data, async_req=True) + >>> result = thread.get() + + :param notification_id: Must be a valid notification ID. (required) + :type notification_id: str + :param image: The binary blob of the png file. (required) + :type image: file + :param data: (required) + :type data: InviteResponse + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Notification, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'notification_id', + 'image', + 'data' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method respond_invite_with_photo" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'notification_id' is set + if self.api_client.client_side_validation and local_var_params.get('notification_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `notification_id` when calling `respond_invite_with_photo`") # noqa: E501 + # verify the required parameter 'image' is set + if self.api_client.client_side_validation and local_var_params.get('image') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `image` when calling `respond_invite_with_photo`") # noqa: E501 + # verify the required parameter 'data' is set + if self.api_client.client_side_validation and local_var_params.get('data') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `data` when calling `respond_invite_with_photo`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'notification_id' in local_var_params: + path_params['notificationId'] = local_var_params['notification_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + if 'image' in local_var_params: + local_var_files['image'] = local_var_params['image'] # noqa: E501 + if 'data' in local_var_params: + form_params.append(('data', local_var_params['data'])) # noqa: E501 + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['multipart/form-data'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "Notification", + 400: "Error", + } + + return self.api_client.call_api( + '/invite/{notificationId}/response/photo', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def update_invite_message(self, user_id, message_type, slot, **kwargs): # noqa: E501 """Update Invite Message # noqa: E501 diff --git a/vrchatapi/api/jams_api.py b/vrchatapi/api/jams_api.py index bb95b11b..b64c349c 100644 --- a/vrchatapi/api/jams_api.py +++ b/vrchatapi/api/jams_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index d05a9189..4ad5fee5 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py index ff37a53d..f28c5f34 100644 --- a/vrchatapi/api/permissions_api.py +++ b/vrchatapi/api/permissions_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index 437ef7c6..e6f734ef 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/prints_api.py b/vrchatapi/api/prints_api.py index 3c47eea9..2c3fb85a 100644 --- a/vrchatapi/api/prints_api.py +++ b/vrchatapi/api/prints_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -171,6 +171,169 @@ def delete_print_with_http_info(self, print_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def edit_print(self, print_id, image, **kwargs): # noqa: E501 + """Edit Print # noqa: E501 + + Edits a print. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.edit_print(print_id, image, async_req=True) + >>> result = thread.get() + + :param print_id: Print ID. (required) + :type print_id: str + :param image: The binary blob of the png file. (required) + :type image: file + :param note: The caption for the image. + :type note: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: ModelPrint + """ + kwargs['_return_http_data_only'] = True + return self.edit_print_with_http_info(print_id, image, **kwargs) # noqa: E501 + + def edit_print_with_http_info(self, print_id, image, **kwargs): # noqa: E501 + """Edit Print # noqa: E501 + + Edits a print. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.edit_print_with_http_info(print_id, image, async_req=True) + >>> result = thread.get() + + :param print_id: Print ID. (required) + :type print_id: str + :param image: The binary blob of the png file. (required) + :type image: file + :param note: The caption for the image. + :type note: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(ModelPrint, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'print_id', + 'image', + 'note' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method edit_print" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'print_id' is set + if self.api_client.client_side_validation and local_var_params.get('print_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `print_id` when calling `edit_print`") # noqa: E501 + # verify the required parameter 'image' is set + if self.api_client.client_side_validation and local_var_params.get('image') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `image` when calling `edit_print`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'print_id' in local_var_params: + path_params['printId'] = local_var_params['print_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + if 'image' in local_var_params: + local_var_files['image'] = local_var_params['image'] # noqa: E501 + if 'note' in local_var_params: + form_params.append(('note', local_var_params['note'])) # noqa: E501 + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['multipart/form-data'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "ModelPrint", + 401: "Error", + } + + return self.api_client.call_api( + '/prints/{printId}', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def get_print(self, print_id, **kwargs): # noqa: E501 """Get Print # noqa: E501 @@ -447,3 +610,180 @@ def get_user_prints_with_http_info(self, user_id, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + + def upload_print(self, image, timestamp, **kwargs): # noqa: E501 + """Upload Print # noqa: E501 + + Uploads and creates a print. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.upload_print(image, timestamp, async_req=True) + >>> result = thread.get() + + :param image: The binary blob of the png file. (required) + :type image: file + :param timestamp: The time the image was captured. (required) + :type timestamp: datetime + :param note: The caption for the image. + :type note: str + :param world_id: The id of the world in which the image was captured. + :type world_id: str + :param world_name: The name of the world in which the image was captured. + :type world_name: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: ModelPrint + """ + kwargs['_return_http_data_only'] = True + return self.upload_print_with_http_info(image, timestamp, **kwargs) # noqa: E501 + + def upload_print_with_http_info(self, image, timestamp, **kwargs): # noqa: E501 + """Upload Print # noqa: E501 + + Uploads and creates a print. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.upload_print_with_http_info(image, timestamp, async_req=True) + >>> result = thread.get() + + :param image: The binary blob of the png file. (required) + :type image: file + :param timestamp: The time the image was captured. (required) + :type timestamp: datetime + :param note: The caption for the image. + :type note: str + :param world_id: The id of the world in which the image was captured. + :type world_id: str + :param world_name: The name of the world in which the image was captured. + :type world_name: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(ModelPrint, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'image', + 'timestamp', + 'note', + 'world_id', + 'world_name' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method upload_print" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'image' is set + if self.api_client.client_side_validation and local_var_params.get('image') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `image` when calling `upload_print`") # noqa: E501 + # verify the required parameter 'timestamp' is set + if self.api_client.client_side_validation and local_var_params.get('timestamp') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `timestamp` when calling `upload_print`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + if 'image' in local_var_params: + local_var_files['image'] = local_var_params['image'] # noqa: E501 + if 'timestamp' in local_var_params: + form_params.append(('timestamp', local_var_params['timestamp'])) # noqa: E501 + if 'note' in local_var_params: + form_params.append(('note', local_var_params['note'])) # noqa: E501 + if 'world_id' in local_var_params: + form_params.append(('worldId', local_var_params['world_id'])) # noqa: E501 + if 'world_name' in local_var_params: + form_params.append(('worldName', local_var_params['world_name'])) # noqa: E501 + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['multipart/form-data'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "ModelPrint", + 401: "Error", + } + + return self.api_client.call_api( + '/prints', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/system_api.py index 0710ad51..ae1d16f4 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/system_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index a9686687..3f1f4a5a 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -2382,6 +2382,7 @@ def update_user_with_http_info(self, user_id, **kwargs): # noqa: E501 response_types_map = { 200: "CurrentUser", + 400: "Error", 401: "Error", } diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 261e21d9..2f182210 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index aefc47c9..ad3832b4 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,7 +3,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index 6bcc7c98..2b374933 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -441,7 +441,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.19.2\n"\ + "Version of the API: 1.19.3\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index bc275a9a..316d5bed 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index cf5c350a..19144eb8 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,7 +5,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -43,6 +43,7 @@ from vrchatapi.models.add_group_gallery_image_request import AddGroupGalleryImageRequest from vrchatapi.models.age_verification_status import AgeVerificationStatus from vrchatapi.models.avatar import Avatar +from vrchatapi.models.avatar_published_listings_inner import AvatarPublishedListingsInner from vrchatapi.models.avatar_styles import AvatarStyles from vrchatapi.models.avatar_unity_package_url_object import AvatarUnityPackageUrlObject from vrchatapi.models.badge import Badge @@ -64,6 +65,7 @@ from vrchatapi.models.current_user_platform_history_inner import CurrentUserPlatformHistoryInner from vrchatapi.models.current_user_presence import CurrentUserPresence from vrchatapi.models.developer_type import DeveloperType +from vrchatapi.models.disable2_fa_result import Disable2FAResult from vrchatapi.models.dynamic_content_row import DynamicContentRow from vrchatapi.models.error import Error from vrchatapi.models.favorite import Favorite @@ -107,6 +109,8 @@ from vrchatapi.models.group_privacy import GroupPrivacy from vrchatapi.models.group_role import GroupRole from vrchatapi.models.group_role_template import GroupRoleTemplate +from vrchatapi.models.group_role_template_values import GroupRoleTemplateValues +from vrchatapi.models.group_role_template_values_roles import GroupRoleTemplateValuesRoles from vrchatapi.models.group_search_sort import GroupSearchSort from vrchatapi.models.group_user_visibility import GroupUserVisibility from vrchatapi.models.info_push import InfoPush @@ -115,6 +119,7 @@ from vrchatapi.models.info_push_data_article_content import InfoPushDataArticleContent from vrchatapi.models.info_push_data_clickable import InfoPushDataClickable from vrchatapi.models.instance import Instance +from vrchatapi.models.instance_content_settings import InstanceContentSettings from vrchatapi.models.instance_platforms import InstancePlatforms from vrchatapi.models.instance_region import InstanceRegion from vrchatapi.models.instance_short_name_response import InstanceShortNameResponse @@ -147,6 +152,7 @@ from vrchatapi.models.order_option import OrderOption from vrchatapi.models.paginated_group_audit_log_entry_list import PaginatedGroupAuditLogEntryList from vrchatapi.models.past_display_name import PastDisplayName +from vrchatapi.models.pending2_fa_result import Pending2FAResult from vrchatapi.models.performance_limiter_info import PerformanceLimiterInfo from vrchatapi.models.performance_ratings import PerformanceRatings from vrchatapi.models.permission import Permission @@ -160,6 +166,7 @@ from vrchatapi.models.product_listing_variant import ProductListingVariant from vrchatapi.models.product_type import ProductType from vrchatapi.models.region import Region +from vrchatapi.models.register_user_account_request import RegisterUserAccountRequest from vrchatapi.models.release_status import ReleaseStatus from vrchatapi.models.report_category import ReportCategory from vrchatapi.models.report_reason import ReportReason @@ -185,6 +192,8 @@ from vrchatapi.models.transaction_steam_wallet_info import TransactionSteamWalletInfo from vrchatapi.models.two_factor_auth_code import TwoFactorAuthCode from vrchatapi.models.two_factor_email_code import TwoFactorEmailCode +from vrchatapi.models.two_factor_recovery_codes import TwoFactorRecoveryCodes +from vrchatapi.models.two_factor_recovery_codes_otp_inner import TwoFactorRecoveryCodesOtpInner from vrchatapi.models.unity_package import UnityPackage from vrchatapi.models.update_avatar_request import UpdateAvatarRequest from vrchatapi.models.update_favorite_group_request import UpdateFavoriteGroupRequest diff --git a/vrchatapi/models/account_deletion_log.py b/vrchatapi/models/account_deletion_log.py index 8e9e65a5..ba92a5c9 100644 --- a/vrchatapi/models/account_deletion_log.py +++ b/vrchatapi/models/account_deletion_log.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index f7599bfc..9ded2d7d 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index 991dd6b2..bed90cff 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/age_verification_status.py b/vrchatapi/models/age_verification_status.py index 21b09a49..3d7883ed 100644 --- a/vrchatapi/models/age_verification_status.py +++ b/vrchatapi/models/age_verification_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index ae6753d8..c297bf3f 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_access_logs_urls.py b/vrchatapi/models/api_config_access_logs_urls.py index 2af83c64..9593258b 100644 --- a/vrchatapi/models/api_config_access_logs_urls.py +++ b/vrchatapi/models/api_config_access_logs_urls.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index f442db12..6b048149 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_avatar_perf_limiter.py b/vrchatapi/models/api_config_avatar_perf_limiter.py index f8a41474..cd07f634 100644 --- a/vrchatapi/models/api_config_avatar_perf_limiter.py +++ b/vrchatapi/models/api_config_avatar_perf_limiter.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants.py b/vrchatapi/models/api_config_constants.py index fe61a608..c066b700 100644 --- a/vrchatapi/models/api_config_constants.py +++ b/vrchatapi/models/api_config_constants.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_groups.py b/vrchatapi/models/api_config_constants_groups.py index 446fd31a..8445266e 100644 --- a/vrchatapi/models/api_config_constants_groups.py +++ b/vrchatapi/models/api_config_constants_groups.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instance.py b/vrchatapi/models/api_config_constants_instance.py index 84126d25..f46100eb 100644 --- a/vrchatapi/models/api_config_constants_instance.py +++ b/vrchatapi/models/api_config_constants_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbrackets.py b/vrchatapi/models/api_config_constants_instancepopulationbrackets.py index 7cca3ade..269d9423 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbrackets.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbrackets.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py b/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py index e268aa26..58de5268 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py b/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py index 60674952..d6c6df99 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py b/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py index 1285cace..1fe5b9d2 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_language.py b/vrchatapi/models/api_config_constants_language.py index 06d63627..84c0af8a 100644 --- a/vrchatapi/models/api_config_constants_language.py +++ b/vrchatapi/models/api_config_constants_language.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index 724e105b..182a0a01 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index 1cba690b..d8314782 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_min_supported_client_build_number.py b/vrchatapi/models/api_config_min_supported_client_build_number.py index 01131ea7..04c24a25 100644 --- a/vrchatapi/models/api_config_min_supported_client_build_number.py +++ b/vrchatapi/models/api_config_min_supported_client_build_number.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_offline_analysis.py b/vrchatapi/models/api_config_offline_analysis.py index 2475b5d1..5c0bfc3e 100644 --- a/vrchatapi/models/api_config_offline_analysis.py +++ b/vrchatapi/models/api_config_offline_analysis.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_categories.py b/vrchatapi/models/api_config_report_categories.py index 9b472e76..c2cc7335 100644 --- a/vrchatapi/models/api_config_report_categories.py +++ b/vrchatapi/models/api_config_report_categories.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options.py b/vrchatapi/models/api_config_report_options.py index 640773b7..0f6ea247 100644 --- a/vrchatapi/models/api_config_report_options.py +++ b/vrchatapi/models/api_config_report_options.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options_avatar.py b/vrchatapi/models/api_config_report_options_avatar.py index 30310e73..a21acdf7 100644 --- a/vrchatapi/models/api_config_report_options_avatar.py +++ b/vrchatapi/models/api_config_report_options_avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options_group.py b/vrchatapi/models/api_config_report_options_group.py index a8776291..47f6430f 100644 --- a/vrchatapi/models/api_config_report_options_group.py +++ b/vrchatapi/models/api_config_report_options_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options_user.py b/vrchatapi/models/api_config_report_options_user.py index 7c264ef2..64ee6fdc 100644 --- a/vrchatapi/models/api_config_report_options_user.py +++ b/vrchatapi/models/api_config_report_options_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options_world.py b/vrchatapi/models/api_config_report_options_world.py index d25485f1..484ba739 100644 --- a/vrchatapi/models/api_config_report_options_world.py +++ b/vrchatapi/models/api_config_report_options_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_reasons.py b/vrchatapi/models/api_config_report_reasons.py index 5aead4a5..3fc605d7 100644 --- a/vrchatapi/models/api_config_report_reasons.py +++ b/vrchatapi/models/api_config_report_reasons.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index 1ada63b8..a4aaac44 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index 3611dcfa..aca75007 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,6 +36,7 @@ class Avatar(object): and the value is json key in definition. """ openapi_types = { + 'acknowledgements': 'str', 'asset_url': 'str', 'asset_url_object': 'object', 'author_id': 'str', @@ -43,10 +44,16 @@ class Avatar(object): 'created_at': 'datetime', 'description': 'str', 'featured': 'bool', + 'highest_price': 'int', 'id': 'str', 'image_url': 'str', + 'lock': 'bool', + 'lowest_price': 'int', 'name': 'str', + 'product_id': 'str', + 'published_listings': 'list[AvatarPublishedListingsInner]', 'release_status': 'ReleaseStatus', + 'searchable': 'bool', 'styles': 'AvatarStyles', 'tags': 'list[str]', 'thumbnail_image_url': 'str', @@ -58,6 +65,7 @@ class Avatar(object): } attribute_map = { + 'acknowledgements': 'acknowledgements', 'asset_url': 'assetUrl', 'asset_url_object': 'assetUrlObject', 'author_id': 'authorId', @@ -65,10 +73,16 @@ class Avatar(object): 'created_at': 'created_at', 'description': 'description', 'featured': 'featured', + 'highest_price': 'highestPrice', 'id': 'id', 'image_url': 'imageUrl', + 'lock': 'lock', + 'lowest_price': 'lowestPrice', 'name': 'name', + 'product_id': 'productId', + 'published_listings': 'publishedListings', 'release_status': 'releaseStatus', + 'searchable': 'searchable', 'styles': 'styles', 'tags': 'tags', 'thumbnail_image_url': 'thumbnailImageUrl', @@ -79,12 +93,13 @@ class Avatar(object): 'version': 'version' } - def __init__(self, asset_url=None, asset_url_object=None, author_id=None, author_name=None, created_at=None, description=None, featured=False, id=None, image_url=None, name=None, release_status=None, styles=None, tags=None, thumbnail_image_url=None, unity_package_url=None, unity_package_url_object=None, unity_packages=None, updated_at=None, version=0, local_vars_configuration=None): # noqa: E501 + def __init__(self, acknowledgements=None, asset_url=None, asset_url_object=None, author_id=None, author_name=None, created_at=None, description=None, featured=False, highest_price=None, id=None, image_url=None, lock=None, lowest_price=None, name=None, product_id=None, published_listings=None, release_status=None, searchable=False, styles=None, tags=None, thumbnail_image_url=None, unity_package_url=None, unity_package_url_object=None, unity_packages=None, updated_at=None, version=0, local_vars_configuration=None): # noqa: E501 """Avatar - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration + self._acknowledgements = None self._asset_url = None self._asset_url_object = None self._author_id = None @@ -92,10 +107,16 @@ def __init__(self, asset_url=None, asset_url_object=None, author_id=None, author self._created_at = None self._description = None self._featured = None + self._highest_price = None self._id = None self._image_url = None + self._lock = None + self._lowest_price = None self._name = None + self._product_id = None + self._published_listings = None self._release_status = None + self._searchable = None self._styles = None self._tags = None self._thumbnail_image_url = None @@ -106,6 +127,8 @@ def __init__(self, asset_url=None, asset_url_object=None, author_id=None, author self._version = None self.discriminator = None + if acknowledgements is not None: + self.acknowledgements = acknowledgements if asset_url is not None: self.asset_url = asset_url if asset_url_object is not None: @@ -115,10 +138,22 @@ def __init__(self, asset_url=None, asset_url_object=None, author_id=None, author self.created_at = created_at self.description = description self.featured = featured + if highest_price is not None: + self.highest_price = highest_price self.id = id self.image_url = image_url + if lock is not None: + self.lock = lock + if lowest_price is not None: + self.lowest_price = lowest_price self.name = name + if product_id is not None: + self.product_id = product_id + if published_listings is not None: + self.published_listings = published_listings self.release_status = release_status + if searchable is not None: + self.searchable = searchable self.styles = styles self.tags = tags self.thumbnail_image_url = thumbnail_image_url @@ -128,11 +163,32 @@ def __init__(self, asset_url=None, asset_url_object=None, author_id=None, author self.updated_at = updated_at self.version = version + @property + def acknowledgements(self): + """Gets the acknowledgements of this Avatar. # noqa: E501 + + + :return: The acknowledgements of this Avatar. # noqa: E501 + :rtype: str + """ + return self._acknowledgements + + @acknowledgements.setter + def acknowledgements(self, acknowledgements): + """Sets the acknowledgements of this Avatar. + + + :param acknowledgements: The acknowledgements of this Avatar. # noqa: E501 + :type acknowledgements: str + """ + + self._acknowledgements = acknowledgements + @property def asset_url(self): """Gets the asset_url of this Avatar. # noqa: E501 - Not present from general serach `/avatars`, only on specific requests `/avatars/{avatarId}`. # noqa: E501 + Not present from general search `/avatars`, only on specific requests `/avatars/{avatarId}`. # noqa: E501 :return: The asset_url of this Avatar. # noqa: E501 :rtype: str @@ -143,7 +199,7 @@ def asset_url(self): def asset_url(self, asset_url): """Sets the asset_url of this Avatar. - Not present from general serach `/avatars`, only on specific requests `/avatars/{avatarId}`. # noqa: E501 + Not present from general search `/avatars`, only on specific requests `/avatars/{avatarId}`. # noqa: E501 :param asset_url: The asset_url of this Avatar. # noqa: E501 :type asset_url: str @@ -158,7 +214,7 @@ def asset_url(self, asset_url): def asset_url_object(self): """Gets the asset_url_object of this Avatar. # noqa: E501 - Not present from general serach `/avatars`, only on specific requests `/avatars/{avatarId}`. **Deprecation:** `Object` has unknown usage/fields, and is always empty. Use normal `Url` field instead. # noqa: E501 + Not present from general search `/avatars`, only on specific requests `/avatars/{avatarId}`. **Deprecation:** `Object` has unknown usage/fields, and is always empty. Use normal `Url` field instead. # noqa: E501 :return: The asset_url_object of this Avatar. # noqa: E501 :rtype: object @@ -169,7 +225,7 @@ def asset_url_object(self): def asset_url_object(self, asset_url_object): """Sets the asset_url_object of this Avatar. - Not present from general serach `/avatars`, only on specific requests `/avatars/{avatarId}`. **Deprecation:** `Object` has unknown usage/fields, and is always empty. Use normal `Url` field instead. # noqa: E501 + Not present from general search `/avatars`, only on specific requests `/avatars/{avatarId}`. **Deprecation:** `Object` has unknown usage/fields, and is always empty. Use normal `Url` field instead. # noqa: E501 :param asset_url_object: The asset_url_object of this Avatar. # noqa: E501 :type asset_url_object: object @@ -300,6 +356,27 @@ def featured(self, featured): self._featured = featured + @property + def highest_price(self): + """Gets the highest_price of this Avatar. # noqa: E501 + + + :return: The highest_price of this Avatar. # noqa: E501 + :rtype: int + """ + return self._highest_price + + @highest_price.setter + def highest_price(self, highest_price): + """Sets the highest_price of this Avatar. + + + :param highest_price: The highest_price of this Avatar. # noqa: E501 + :type highest_price: int + """ + + self._highest_price = highest_price + @property def id(self): """Gets the id of this Avatar. # noqa: E501 @@ -349,6 +426,48 @@ def image_url(self, image_url): self._image_url = image_url + @property + def lock(self): + """Gets the lock of this Avatar. # noqa: E501 + + + :return: The lock of this Avatar. # noqa: E501 + :rtype: bool + """ + return self._lock + + @lock.setter + def lock(self, lock): + """Sets the lock of this Avatar. + + + :param lock: The lock of this Avatar. # noqa: E501 + :type lock: bool + """ + + self._lock = lock + + @property + def lowest_price(self): + """Gets the lowest_price of this Avatar. # noqa: E501 + + + :return: The lowest_price of this Avatar. # noqa: E501 + :rtype: int + """ + return self._lowest_price + + @lowest_price.setter + def lowest_price(self, lowest_price): + """Sets the lowest_price of this Avatar. + + + :param lowest_price: The lowest_price of this Avatar. # noqa: E501 + :type lowest_price: int + """ + + self._lowest_price = lowest_price + @property def name(self): """Gets the name of this Avatar. # noqa: E501 @@ -375,6 +494,48 @@ def name(self, name): self._name = name + @property + def product_id(self): + """Gets the product_id of this Avatar. # noqa: E501 + + + :return: The product_id of this Avatar. # noqa: E501 + :rtype: str + """ + return self._product_id + + @product_id.setter + def product_id(self, product_id): + """Sets the product_id of this Avatar. + + + :param product_id: The product_id of this Avatar. # noqa: E501 + :type product_id: str + """ + + self._product_id = product_id + + @property + def published_listings(self): + """Gets the published_listings of this Avatar. # noqa: E501 + + + :return: The published_listings of this Avatar. # noqa: E501 + :rtype: list[AvatarPublishedListingsInner] + """ + return self._published_listings + + @published_listings.setter + def published_listings(self, published_listings): + """Sets the published_listings of this Avatar. + + + :param published_listings: The published_listings of this Avatar. # noqa: E501 + :type published_listings: list[AvatarPublishedListingsInner] + """ + + self._published_listings = published_listings + @property def release_status(self): """Gets the release_status of this Avatar. # noqa: E501 @@ -398,6 +559,27 @@ def release_status(self, release_status): self._release_status = release_status + @property + def searchable(self): + """Gets the searchable of this Avatar. # noqa: E501 + + + :return: The searchable of this Avatar. # noqa: E501 + :rtype: bool + """ + return self._searchable + + @searchable.setter + def searchable(self, searchable): + """Sets the searchable of this Avatar. + + + :param searchable: The searchable of this Avatar. # noqa: E501 + :type searchable: bool + """ + + self._searchable = searchable + @property def styles(self): """Gets the styles of this Avatar. # noqa: E501 diff --git a/vrchatapi/models/avatar_published_listings_inner.py b/vrchatapi/models/avatar_published_listings_inner.py new file mode 100644 index 00000000..6a890d4c --- /dev/null +++ b/vrchatapi/models/avatar_published_listings_inner.py @@ -0,0 +1,261 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.19.3 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class AvatarPublishedListingsInner(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'description': 'str', + 'display_name': 'str', + 'image_id': 'str', + 'listing_id': 'str', + 'listing_type': 'str', + 'price_tokens': 'int' + } + + attribute_map = { + 'description': 'description', + 'display_name': 'displayName', + 'image_id': 'imageId', + 'listing_id': 'listingId', + 'listing_type': 'listingType', + 'price_tokens': 'priceTokens' + } + + def __init__(self, description=None, display_name=None, image_id=None, listing_id=None, listing_type=None, price_tokens=None, local_vars_configuration=None): # noqa: E501 + """AvatarPublishedListingsInner - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._description = None + self._display_name = None + self._image_id = None + self._listing_id = None + self._listing_type = None + self._price_tokens = None + self.discriminator = None + + if description is not None: + self.description = description + if display_name is not None: + self.display_name = display_name + if image_id is not None: + self.image_id = image_id + if listing_id is not None: + self.listing_id = listing_id + if listing_type is not None: + self.listing_type = listing_type + if price_tokens is not None: + self.price_tokens = price_tokens + + @property + def description(self): + """Gets the description of this AvatarPublishedListingsInner. # noqa: E501 + + + :return: The description of this AvatarPublishedListingsInner. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this AvatarPublishedListingsInner. + + + :param description: The description of this AvatarPublishedListingsInner. # noqa: E501 + :type description: str + """ + + self._description = description + + @property + def display_name(self): + """Gets the display_name of this AvatarPublishedListingsInner. # noqa: E501 + + + :return: The display_name of this AvatarPublishedListingsInner. # noqa: E501 + :rtype: str + """ + return self._display_name + + @display_name.setter + def display_name(self, display_name): + """Sets the display_name of this AvatarPublishedListingsInner. + + + :param display_name: The display_name of this AvatarPublishedListingsInner. # noqa: E501 + :type display_name: str + """ + + self._display_name = display_name + + @property + def image_id(self): + """Gets the image_id of this AvatarPublishedListingsInner. # noqa: E501 + + + :return: The image_id of this AvatarPublishedListingsInner. # noqa: E501 + :rtype: str + """ + return self._image_id + + @image_id.setter + def image_id(self, image_id): + """Sets the image_id of this AvatarPublishedListingsInner. + + + :param image_id: The image_id of this AvatarPublishedListingsInner. # noqa: E501 + :type image_id: str + """ + + self._image_id = image_id + + @property + def listing_id(self): + """Gets the listing_id of this AvatarPublishedListingsInner. # noqa: E501 + + + :return: The listing_id of this AvatarPublishedListingsInner. # noqa: E501 + :rtype: str + """ + return self._listing_id + + @listing_id.setter + def listing_id(self, listing_id): + """Sets the listing_id of this AvatarPublishedListingsInner. + + + :param listing_id: The listing_id of this AvatarPublishedListingsInner. # noqa: E501 + :type listing_id: str + """ + + self._listing_id = listing_id + + @property + def listing_type(self): + """Gets the listing_type of this AvatarPublishedListingsInner. # noqa: E501 + + + :return: The listing_type of this AvatarPublishedListingsInner. # noqa: E501 + :rtype: str + """ + return self._listing_type + + @listing_type.setter + def listing_type(self, listing_type): + """Sets the listing_type of this AvatarPublishedListingsInner. + + + :param listing_type: The listing_type of this AvatarPublishedListingsInner. # noqa: E501 + :type listing_type: str + """ + + self._listing_type = listing_type + + @property + def price_tokens(self): + """Gets the price_tokens of this AvatarPublishedListingsInner. # noqa: E501 + + + :return: The price_tokens of this AvatarPublishedListingsInner. # noqa: E501 + :rtype: int + """ + return self._price_tokens + + @price_tokens.setter + def price_tokens(self, price_tokens): + """Sets the price_tokens of this AvatarPublishedListingsInner. + + + :param price_tokens: The price_tokens of this AvatarPublishedListingsInner. # noqa: E501 + :type price_tokens: int + """ + + self._price_tokens = price_tokens + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AvatarPublishedListingsInner): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, AvatarPublishedListingsInner): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/avatar_styles.py b/vrchatapi/models/avatar_styles.py index e4415878..f4d1bf02 100644 --- a/vrchatapi/models/avatar_styles.py +++ b/vrchatapi/models/avatar_styles.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index 4a2c165b..b506519e 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/badge.py b/vrchatapi/models/badge.py index 8e3031e6..7072a197 100644 --- a/vrchatapi/models/badge.py +++ b/vrchatapi/models/badge.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/balance.py b/vrchatapi/models/balance.py index ea285cf8..ec94d4e6 100644 --- a/vrchatapi/models/balance.py +++ b/vrchatapi/models/balance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index 3494543c..9bcd8a8e 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/change_user_tags_request.py b/vrchatapi/models/change_user_tags_request.py index 238ff0ff..7a60504f 100644 --- a/vrchatapi/models/change_user_tags_request.py +++ b/vrchatapi/models/change_user_tags_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index cd7859fe..70d479d4 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -37,11 +37,16 @@ class CreateAvatarRequest(object): """ openapi_types = { 'asset_url': 'str', + 'asset_version': 'str', + 'platform': 'str', + 'created_at': 'str', + 'updated_at': 'str', 'id': 'str', 'name': 'str', 'description': 'str', 'tags': 'list[str]', 'image_url': 'str', + 'thumbnail_image_url': 'str', 'release_status': 'ReleaseStatus', 'version': 'int', 'unity_package_url': 'str', @@ -50,29 +55,39 @@ class CreateAvatarRequest(object): attribute_map = { 'asset_url': 'assetUrl', + 'asset_version': 'assetVersion', + 'platform': 'platform', + 'created_at': 'created_at', + 'updated_at': 'updated_at', 'id': 'id', 'name': 'name', 'description': 'description', 'tags': 'tags', 'image_url': 'imageUrl', + 'thumbnail_image_url': 'thumbnailImageUrl', 'release_status': 'releaseStatus', 'version': 'version', 'unity_package_url': 'unityPackageUrl', 'unity_version': 'unityVersion' } - def __init__(self, asset_url=None, id=None, name=None, description=None, tags=None, image_url=None, release_status=None, version=1, unity_package_url=None, unity_version='5.3.4p1', local_vars_configuration=None): # noqa: E501 + def __init__(self, asset_url=None, asset_version=None, platform=None, created_at=None, updated_at=None, id=None, name=None, description=None, tags=None, image_url=None, thumbnail_image_url=None, release_status=None, version=1, unity_package_url=None, unity_version='5.3.4p1', local_vars_configuration=None): # noqa: E501 """CreateAvatarRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._asset_url = None + self._asset_version = None + self._platform = None + self._created_at = None + self._updated_at = None self._id = None self._name = None self._description = None self._tags = None self._image_url = None + self._thumbnail_image_url = None self._release_status = None self._version = None self._unity_package_url = None @@ -81,6 +96,14 @@ def __init__(self, asset_url=None, id=None, name=None, description=None, tags=No if asset_url is not None: self.asset_url = asset_url + if asset_version is not None: + self.asset_version = asset_version + if platform is not None: + self.platform = platform + if created_at is not None: + self.created_at = created_at + if updated_at is not None: + self.updated_at = updated_at if id is not None: self.id = id self.name = name @@ -89,6 +112,8 @@ def __init__(self, asset_url=None, id=None, name=None, description=None, tags=No if tags is not None: self.tags = tags self.image_url = image_url + if thumbnail_image_url is not None: + self.thumbnail_image_url = thumbnail_image_url if release_status is not None: self.release_status = release_status if version is not None: @@ -119,6 +144,96 @@ def asset_url(self, asset_url): self._asset_url = asset_url + @property + def asset_version(self): + """Gets the asset_version of this CreateAvatarRequest. # noqa: E501 + + + :return: The asset_version of this CreateAvatarRequest. # noqa: E501 + :rtype: str + """ + return self._asset_version + + @asset_version.setter + def asset_version(self, asset_version): + """Sets the asset_version of this CreateAvatarRequest. + + + :param asset_version: The asset_version of this CreateAvatarRequest. # noqa: E501 + :type asset_version: str + """ + + self._asset_version = asset_version + + @property + def platform(self): + """Gets the platform of this CreateAvatarRequest. # noqa: E501 + + This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + + :return: The platform of this CreateAvatarRequest. # noqa: E501 + :rtype: str + """ + return self._platform + + @platform.setter + def platform(self, platform): + """Sets the platform of this CreateAvatarRequest. + + This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + + :param platform: The platform of this CreateAvatarRequest. # noqa: E501 + :type platform: str + """ + + self._platform = platform + + @property + def created_at(self): + """Gets the created_at of this CreateAvatarRequest. # noqa: E501 + + A date and time of the pattern `M/d/yyyy h:mm:ss tt` (see C Sharp `System.DateTime`) # noqa: E501 + + :return: The created_at of this CreateAvatarRequest. # noqa: E501 + :rtype: str + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this CreateAvatarRequest. + + A date and time of the pattern `M/d/yyyy h:mm:ss tt` (see C Sharp `System.DateTime`) # noqa: E501 + + :param created_at: The created_at of this CreateAvatarRequest. # noqa: E501 + :type created_at: str + """ + + self._created_at = created_at + + @property + def updated_at(self): + """Gets the updated_at of this CreateAvatarRequest. # noqa: E501 + + A date and time of the pattern `M/d/yyyy h:mm:ss tt` (see C Sharp `System.DateTime`) # noqa: E501 + + :return: The updated_at of this CreateAvatarRequest. # noqa: E501 + :rtype: str + """ + return self._updated_at + + @updated_at.setter + def updated_at(self, updated_at): + """Sets the updated_at of this CreateAvatarRequest. + + A date and time of the pattern `M/d/yyyy h:mm:ss tt` (see C Sharp `System.DateTime`) # noqa: E501 + + :param updated_at: The updated_at of this CreateAvatarRequest. # noqa: E501 + :type updated_at: str + """ + + self._updated_at = updated_at + @property def id(self): """Gets the id of this CreateAvatarRequest. # noqa: E501 @@ -239,6 +354,30 @@ def image_url(self, image_url): self._image_url = image_url + @property + def thumbnail_image_url(self): + """Gets the thumbnail_image_url of this CreateAvatarRequest. # noqa: E501 + + + :return: The thumbnail_image_url of this CreateAvatarRequest. # noqa: E501 + :rtype: str + """ + return self._thumbnail_image_url + + @thumbnail_image_url.setter + def thumbnail_image_url(self, thumbnail_image_url): + """Sets the thumbnail_image_url of this CreateAvatarRequest. + + + :param thumbnail_image_url: The thumbnail_image_url of this CreateAvatarRequest. # noqa: E501 + :type thumbnail_image_url: str + """ + if (self.local_vars_configuration.client_side_validation and + thumbnail_image_url is not None and len(thumbnail_image_url) < 1): + raise ValueError("Invalid value for `thumbnail_image_url`, length must be greater than or equal to `1`") # noqa: E501 + + self._thumbnail_image_url = thumbnail_image_url + @property def release_status(self): """Gets the release_status of this CreateAvatarRequest. # noqa: E501 diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index 8c30f3de..0d2b3cba 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index 3573a609..67f72c18 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index 8b6ace10..71367105 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index 57fedd0f..260fe5df 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index af40ed0f..a499a7bc 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_post_request.py b/vrchatapi/models/create_group_post_request.py index cf366821..4142e5f9 100644 --- a/vrchatapi/models/create_group_post_request.py +++ b/vrchatapi/models/create_group_post_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index 46272004..b4eaee49 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index 95d939c8..0351bcef 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_instance_request.py b/vrchatapi/models/create_instance_request.py index 0f5e8a1d..83106e55 100644 --- a/vrchatapi/models/create_instance_request.py +++ b/vrchatapi/models/create_instance_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -46,7 +46,11 @@ class CreateInstanceRequest(object): 'closed_at': 'datetime', 'can_request_invite': 'bool', 'hard_close': 'bool', - 'invite_only': 'bool' + 'invite_only': 'bool', + 'age_gate': 'bool', + 'instance_persistence_enabled': 'bool', + 'display_name': 'str', + 'content_settings': 'InstanceContentSettings' } attribute_map = { @@ -60,10 +64,14 @@ class CreateInstanceRequest(object): 'closed_at': 'closedAt', 'can_request_invite': 'canRequestInvite', 'hard_close': 'hardClose', - 'invite_only': 'inviteOnly' + 'invite_only': 'inviteOnly', + 'age_gate': 'ageGate', + 'instance_persistence_enabled': 'instancePersistenceEnabled', + 'display_name': 'displayName', + 'content_settings': 'contentSettings' } - def __init__(self, world_id=None, type=None, region=None, owner_id=None, role_ids=None, group_access_type=None, queue_enabled=False, closed_at=None, can_request_invite=False, hard_close=False, invite_only=False, local_vars_configuration=None): # noqa: E501 + def __init__(self, world_id=None, type=None, region=None, owner_id=None, role_ids=None, group_access_type=None, queue_enabled=False, closed_at=None, can_request_invite=False, hard_close=False, invite_only=False, age_gate=False, instance_persistence_enabled=None, display_name=None, content_settings=None, local_vars_configuration=None): # noqa: E501 """CreateInstanceRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -80,6 +88,10 @@ def __init__(self, world_id=None, type=None, region=None, owner_id=None, role_id self._can_request_invite = None self._hard_close = None self._invite_only = None + self._age_gate = None + self._instance_persistence_enabled = None + self._display_name = None + self._content_settings = None self.discriminator = None self.world_id = world_id @@ -100,6 +112,12 @@ def __init__(self, world_id=None, type=None, region=None, owner_id=None, role_id self.hard_close = hard_close if invite_only is not None: self.invite_only = invite_only + if age_gate is not None: + self.age_gate = age_gate + self.instance_persistence_enabled = instance_persistence_enabled + self.display_name = display_name + if content_settings is not None: + self.content_settings = content_settings @property def world_id(self): @@ -350,6 +368,90 @@ def invite_only(self, invite_only): self._invite_only = invite_only + @property + def age_gate(self): + """Gets the age_gate of this CreateInstanceRequest. # noqa: E501 + + + :return: The age_gate of this CreateInstanceRequest. # noqa: E501 + :rtype: bool + """ + return self._age_gate + + @age_gate.setter + def age_gate(self, age_gate): + """Sets the age_gate of this CreateInstanceRequest. + + + :param age_gate: The age_gate of this CreateInstanceRequest. # noqa: E501 + :type age_gate: bool + """ + + self._age_gate = age_gate + + @property + def instance_persistence_enabled(self): + """Gets the instance_persistence_enabled of this CreateInstanceRequest. # noqa: E501 + + + :return: The instance_persistence_enabled of this CreateInstanceRequest. # noqa: E501 + :rtype: bool + """ + return self._instance_persistence_enabled + + @instance_persistence_enabled.setter + def instance_persistence_enabled(self, instance_persistence_enabled): + """Sets the instance_persistence_enabled of this CreateInstanceRequest. + + + :param instance_persistence_enabled: The instance_persistence_enabled of this CreateInstanceRequest. # noqa: E501 + :type instance_persistence_enabled: bool + """ + + self._instance_persistence_enabled = instance_persistence_enabled + + @property + def display_name(self): + """Gets the display_name of this CreateInstanceRequest. # noqa: E501 + + + :return: The display_name of this CreateInstanceRequest. # noqa: E501 + :rtype: str + """ + return self._display_name + + @display_name.setter + def display_name(self, display_name): + """Sets the display_name of this CreateInstanceRequest. + + + :param display_name: The display_name of this CreateInstanceRequest. # noqa: E501 + :type display_name: str + """ + + self._display_name = display_name + + @property + def content_settings(self): + """Gets the content_settings of this CreateInstanceRequest. # noqa: E501 + + + :return: The content_settings of this CreateInstanceRequest. # noqa: E501 + :rtype: InstanceContentSettings + """ + return self._content_settings + + @content_settings.setter + def content_settings(self, content_settings): + """Sets the content_settings of this CreateInstanceRequest. + + + :param content_settings: The content_settings of this CreateInstanceRequest. # noqa: E501 + :type content_settings: InstanceContentSettings + """ + + self._content_settings = content_settings + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index 93c40e5d..db470d19 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index b6f52cc0..88984be9 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -44,9 +44,11 @@ class CurrentUser(object): 'age_verification_status': 'AgeVerificationStatus', 'age_verified': 'bool', 'allow_avatar_copying': 'bool', + 'auth_token': 'str', 'badges': 'list[Badge]', 'bio': 'str', 'bio_links': 'list[str]', + 'content_filters': 'list[str]', 'current_avatar': 'str', 'current_avatar_image_url': 'str', 'current_avatar_thumbnail_image_url': 'str', @@ -117,9 +119,11 @@ class CurrentUser(object): 'age_verification_status': 'ageVerificationStatus', 'age_verified': 'ageVerified', 'allow_avatar_copying': 'allowAvatarCopying', + 'auth_token': 'authToken', 'badges': 'badges', 'bio': 'bio', 'bio_links': 'bioLinks', + 'content_filters': 'contentFilters', 'current_avatar': 'currentAvatar', 'current_avatar_image_url': 'currentAvatarImageUrl', 'current_avatar_thumbnail_image_url': 'currentAvatarThumbnailImageUrl', @@ -181,7 +185,7 @@ class CurrentUser(object): 'username': 'username' } - def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, account_deletion_date=None, account_deletion_log=None, active_friends=None, age_verification_status=None, age_verified=None, allow_avatar_copying=None, badges=None, bio=None, bio_links=None, current_avatar=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, date_joined=None, developer_type=None, display_name=None, email_verified=None, fallback_avatar=None, friend_group_names=None, friend_key=None, friends=None, has_birthday=None, hide_content_filter_settings=None, user_language=None, user_language_code=None, has_email=None, has_logged_in_from_client=None, has_pending_email=None, home_location=None, id=None, is_adult=None, is_booping_enabled=True, is_friend=False, last_activity=None, last_login=None, last_mobile=None, last_platform=None, obfuscated_email=None, obfuscated_pending_email=None, oculus_id=None, google_id=None, google_details=None, pico_id=None, vive_id=None, offline_friends=None, online_friends=None, past_display_names=None, presence=None, platform_history=None, profile_pic_override=None, profile_pic_override_thumbnail=None, pronouns=None, queued_instance=None, receive_mobile_invitations=None, state=None, status=None, status_description=None, status_first_time=None, status_history=None, steam_details=None, steam_id=None, tags=None, two_factor_auth_enabled=None, two_factor_auth_enabled_date=None, unsubscribe=None, updated_at=None, user_icon=None, username=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, account_deletion_date=None, account_deletion_log=None, active_friends=None, age_verification_status=None, age_verified=None, allow_avatar_copying=None, auth_token=None, badges=None, bio=None, bio_links=None, content_filters=None, current_avatar=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, date_joined=None, developer_type=None, display_name=None, email_verified=None, fallback_avatar=None, friend_group_names=None, friend_key=None, friends=None, has_birthday=None, hide_content_filter_settings=None, user_language=None, user_language_code=None, has_email=None, has_logged_in_from_client=None, has_pending_email=None, home_location=None, id=None, is_adult=None, is_booping_enabled=True, is_friend=False, last_activity=None, last_login=None, last_mobile=None, last_platform=None, obfuscated_email=None, obfuscated_pending_email=None, oculus_id=None, google_id=None, google_details=None, pico_id=None, vive_id=None, offline_friends=None, online_friends=None, past_display_names=None, presence=None, platform_history=None, profile_pic_override=None, profile_pic_override_thumbnail=None, pronouns=None, queued_instance=None, receive_mobile_invitations=None, state=None, status=None, status_description=None, status_first_time=None, status_history=None, steam_details=None, steam_id=None, tags=None, two_factor_auth_enabled=None, two_factor_auth_enabled_date=None, unsubscribe=None, updated_at=None, user_icon=None, username=None, local_vars_configuration=None): # noqa: E501 """CurrentUser - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -195,9 +199,11 @@ def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, acc self._age_verification_status = None self._age_verified = None self._allow_avatar_copying = None + self._auth_token = None self._badges = None self._bio = None self._bio_links = None + self._content_filters = None self._current_avatar = None self._current_avatar_image_url = None self._current_avatar_thumbnail_image_url = None @@ -269,10 +275,14 @@ def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, acc self.age_verification_status = age_verification_status self.age_verified = age_verified self.allow_avatar_copying = allow_avatar_copying + if auth_token is not None: + self.auth_token = auth_token if badges is not None: self.badges = badges self.bio = bio self.bio_links = bio_links + if content_filters is not None: + self.content_filters = content_filters self.current_avatar = current_avatar self.current_avatar_image_url = current_avatar_image_url self.current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url @@ -536,6 +546,29 @@ def allow_avatar_copying(self, allow_avatar_copying): self._allow_avatar_copying = allow_avatar_copying + @property + def auth_token(self): + """Gets the auth_token of this CurrentUser. # noqa: E501 + + The auth token for NEWLY REGISTERED ACCOUNTS ONLY (/auth/register) # noqa: E501 + + :return: The auth_token of this CurrentUser. # noqa: E501 + :rtype: str + """ + return self._auth_token + + @auth_token.setter + def auth_token(self, auth_token): + """Sets the auth_token of this CurrentUser. + + The auth token for NEWLY REGISTERED ACCOUNTS ONLY (/auth/register) # noqa: E501 + + :param auth_token: The auth_token of this CurrentUser. # noqa: E501 + :type auth_token: str + """ + + self._auth_token = auth_token + @property def badges(self): """Gets the badges of this CurrentUser. # noqa: E501 @@ -607,6 +640,29 @@ def bio_links(self, bio_links): self._bio_links = bio_links + @property + def content_filters(self): + """Gets the content_filters of this CurrentUser. # noqa: E501 + + These tags begin with `content_` and control content gating # noqa: E501 + + :return: The content_filters of this CurrentUser. # noqa: E501 + :rtype: list[str] + """ + return self._content_filters + + @content_filters.setter + def content_filters(self, content_filters): + """Sets the content_filters of this CurrentUser. + + These tags begin with `content_` and control content gating # noqa: E501 + + :param content_filters: The content_filters of this CurrentUser. # noqa: E501 + :type content_filters: list[str] + """ + + self._content_filters = content_filters + @property def current_avatar(self): """Gets the current_avatar of this CurrentUser. # noqa: E501 diff --git a/vrchatapi/models/current_user_platform_history_inner.py b/vrchatapi/models/current_user_platform_history_inner.py index 26db516e..35674626 100644 --- a/vrchatapi/models/current_user_platform_history_inner.py +++ b/vrchatapi/models/current_user_platform_history_inner.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user_presence.py b/vrchatapi/models/current_user_presence.py index 67c934cd..cf70f808 100644 --- a/vrchatapi/models/current_user_presence.py +++ b/vrchatapi/models/current_user_presence.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index 643b45bc..684a6838 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/disable2_fa_result.py b/vrchatapi/models/disable2_fa_result.py new file mode 100644 index 00000000..235b38f2 --- /dev/null +++ b/vrchatapi/models/disable2_fa_result.py @@ -0,0 +1,132 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.19.3 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class Disable2FAResult(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'removed': 'bool' + } + + attribute_map = { + 'removed': 'removed' + } + + def __init__(self, removed=None, local_vars_configuration=None): # noqa: E501 + """Disable2FAResult - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._removed = None + self.discriminator = None + + self.removed = removed + + @property + def removed(self): + """Gets the removed of this Disable2FAResult. # noqa: E501 + + + :return: The removed of this Disable2FAResult. # noqa: E501 + :rtype: bool + """ + return self._removed + + @removed.setter + def removed(self, removed): + """Sets the removed of this Disable2FAResult. + + + :param removed: The removed of this Disable2FAResult. # noqa: E501 + :type removed: bool + """ + if self.local_vars_configuration.client_side_validation and removed is None: # noqa: E501 + raise ValueError("Invalid value for `removed`, must not be `None`") # noqa: E501 + + self._removed = removed + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, Disable2FAResult): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, Disable2FAResult): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index ac608f33..7a99f34b 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index 54cafc84..c96aef94 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index 8cc99b74..5e3365e9 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index e5c66feb..fa512210 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_limits.py b/vrchatapi/models/favorite_group_limits.py index 8ff5c3ac..ac3832b1 100644 --- a/vrchatapi/models/favorite_group_limits.py +++ b/vrchatapi/models/favorite_group_limits.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index a8b71725..131279da 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_limits.py b/vrchatapi/models/favorite_limits.py index 33a60da7..29286750 100644 --- a/vrchatapi/models/favorite_limits.py +++ b/vrchatapi/models/favorite_limits.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index 2d9a5027..c72541e6 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorited_world.py b/vrchatapi/models/favorited_world.py index 5f38ecda..1f3927b1 100644 --- a/vrchatapi/models/favorited_world.py +++ b/vrchatapi/models/favorited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -42,6 +42,7 @@ class FavoritedWorld(object): 'description': 'str', 'recommended_capacity': 'int', 'created_at': 'datetime', + 'default_content_settings': 'InstanceContentSettings', 'favorites': 'int', 'favorite_group': 'str', 'favorite_id': 'str', @@ -74,6 +75,7 @@ class FavoritedWorld(object): 'description': 'description', 'recommended_capacity': 'recommendedCapacity', 'created_at': 'created_at', + 'default_content_settings': 'defaultContentSettings', 'favorites': 'favorites', 'favorite_group': 'favoriteGroup', 'favorite_id': 'favoriteId', @@ -99,7 +101,7 @@ class FavoritedWorld(object): 'version': 'version' } - def __init__(self, author_id=None, author_name=None, capacity=None, description=None, recommended_capacity=None, created_at=None, favorites=0, favorite_group=None, favorite_id=None, featured=False, visits=0, heat=0, id=None, image_url=None, labs_publication_date=None, name=None, occupants=0, organization='vrchat', popularity=0, preview_youtube_id=None, publication_date=None, release_status=None, tags=None, thumbnail_image_url=None, unity_packages=None, updated_at=None, url_list=None, udon_products=None, version=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, author_id=None, author_name=None, capacity=None, description=None, recommended_capacity=None, created_at=None, default_content_settings=None, favorites=0, favorite_group=None, favorite_id=None, featured=False, visits=0, heat=0, id=None, image_url=None, labs_publication_date=None, name=None, occupants=0, organization='vrchat', popularity=0, preview_youtube_id=None, publication_date=None, release_status=None, tags=None, thumbnail_image_url=None, unity_packages=None, updated_at=None, url_list=None, udon_products=None, version=None, local_vars_configuration=None): # noqa: E501 """FavoritedWorld - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -111,6 +113,7 @@ def __init__(self, author_id=None, author_name=None, capacity=None, description= self._description = None self._recommended_capacity = None self._created_at = None + self._default_content_settings = None self._favorites = None self._favorite_group = None self._favorite_id = None @@ -143,6 +146,8 @@ def __init__(self, author_id=None, author_name=None, capacity=None, description= if recommended_capacity is not None: self.recommended_capacity = recommended_capacity self.created_at = created_at + if default_content_settings is not None: + self.default_content_settings = default_content_settings self.favorites = favorites self.favorite_group = favorite_group self.favorite_id = favorite_id @@ -313,6 +318,27 @@ def created_at(self, created_at): self._created_at = created_at + @property + def default_content_settings(self): + """Gets the default_content_settings of this FavoritedWorld. # noqa: E501 + + + :return: The default_content_settings of this FavoritedWorld. # noqa: E501 + :rtype: InstanceContentSettings + """ + return self._default_content_settings + + @default_content_settings.setter + def default_content_settings(self, default_content_settings): + """Sets the default_content_settings of this FavoritedWorld. + + + :param default_content_settings: The default_content_settings of this FavoritedWorld. # noqa: E501 + :type default_content_settings: InstanceContentSettings + """ + + self._default_content_settings = default_content_settings + @property def favorites(self): """Gets the favorites of this FavoritedWorld. # noqa: E501 diff --git a/vrchatapi/models/feedback.py b/vrchatapi/models/feedback.py index 16dba487..cef98560 100644 --- a/vrchatapi/models/feedback.py +++ b/vrchatapi/models/feedback.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index 4d3049ce..01523ab7 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,6 +36,8 @@ class File(object): and the value is json key in definition. """ openapi_types = { + 'animation_style': 'str', + 'mask_tag': 'str', 'extension': 'str', 'id': 'str', 'mime_type': 'MIMEType', @@ -46,6 +48,8 @@ class File(object): } attribute_map = { + 'animation_style': 'animationStyle', + 'mask_tag': 'maskTag', 'extension': 'extension', 'id': 'id', 'mime_type': 'mimeType', @@ -55,12 +59,14 @@ class File(object): 'versions': 'versions' } - def __init__(self, extension=None, id=None, mime_type=None, name=None, owner_id=None, tags=None, versions=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, animation_style=None, mask_tag=None, extension=None, id=None, mime_type=None, name=None, owner_id=None, tags=None, versions=None, local_vars_configuration=None): # noqa: E501 """File - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration + self._animation_style = None + self._mask_tag = None self._extension = None self._id = None self._mime_type = None @@ -70,6 +76,10 @@ def __init__(self, extension=None, id=None, mime_type=None, name=None, owner_id= self._versions = None self.discriminator = None + if animation_style is not None: + self.animation_style = animation_style + if mask_tag is not None: + self.mask_tag = mask_tag self.extension = extension self.id = id self.mime_type = mime_type @@ -78,6 +88,48 @@ def __init__(self, extension=None, id=None, mime_type=None, name=None, owner_id= self.tags = tags self.versions = versions + @property + def animation_style(self): + """Gets the animation_style of this File. # noqa: E501 + + + :return: The animation_style of this File. # noqa: E501 + :rtype: str + """ + return self._animation_style + + @animation_style.setter + def animation_style(self, animation_style): + """Sets the animation_style of this File. + + + :param animation_style: The animation_style of this File. # noqa: E501 + :type animation_style: str + """ + + self._animation_style = animation_style + + @property + def mask_tag(self): + """Gets the mask_tag of this File. # noqa: E501 + + + :return: The mask_tag of this File. # noqa: E501 + :rtype: str + """ + return self._mask_tag + + @mask_tag.setter + def mask_tag(self, mask_tag): + """Sets the mask_tag of this File. + + + :param mask_tag: The mask_tag of this File. # noqa: E501 + :type mask_tag: str + """ + + self._mask_tag = mask_tag + @property def extension(self): """Gets the extension of this File. # noqa: E501 diff --git a/vrchatapi/models/file_analysis.py b/vrchatapi/models/file_analysis.py index e8bba934..fe5d6632 100644 --- a/vrchatapi/models/file_analysis.py +++ b/vrchatapi/models/file_analysis.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -38,6 +38,7 @@ class FileAnalysis(object): openapi_types = { 'avatar_stats': 'FileAnalysisAvatarStats', 'created_at': 'datetime', + 'encryption_key': 'str', 'file_size': 'int', 'performance_rating': 'str', 'success': 'bool', @@ -47,13 +48,14 @@ class FileAnalysis(object): attribute_map = { 'avatar_stats': 'avatarStats', 'created_at': 'created_at', + 'encryption_key': 'encryptionKey', 'file_size': 'fileSize', 'performance_rating': 'performanceRating', 'success': 'success', 'uncompressed_size': 'uncompressedSize' } - def __init__(self, avatar_stats=None, created_at=None, file_size=None, performance_rating=None, success=None, uncompressed_size=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, avatar_stats=None, created_at=None, encryption_key=None, file_size=None, performance_rating=None, success=None, uncompressed_size=None, local_vars_configuration=None): # noqa: E501 """FileAnalysis - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -61,6 +63,7 @@ def __init__(self, avatar_stats=None, created_at=None, file_size=None, performan self._avatar_stats = None self._created_at = None + self._encryption_key = None self._file_size = None self._performance_rating = None self._success = None @@ -70,6 +73,8 @@ def __init__(self, avatar_stats=None, created_at=None, file_size=None, performan self.avatar_stats = avatar_stats if created_at is not None: self.created_at = created_at + if encryption_key is not None: + self.encryption_key = encryption_key self.file_size = file_size if performance_rating is not None: self.performance_rating = performance_rating @@ -120,6 +125,27 @@ def created_at(self, created_at): self._created_at = created_at + @property + def encryption_key(self): + """Gets the encryption_key of this FileAnalysis. # noqa: E501 + + + :return: The encryption_key of this FileAnalysis. # noqa: E501 + :rtype: str + """ + return self._encryption_key + + @encryption_key.setter + def encryption_key(self, encryption_key): + """Sets the encryption_key of this FileAnalysis. + + + :param encryption_key: The encryption_key of this FileAnalysis. # noqa: E501 + :type encryption_key: str + """ + + self._encryption_key = encryption_key + @property def file_size(self): """Gets the file_size of this FileAnalysis. # noqa: E501 diff --git a/vrchatapi/models/file_analysis_avatar_stats.py b/vrchatapi/models/file_analysis_avatar_stats.py index 3abea6a7..dcf9aad2 100644 --- a/vrchatapi/models/file_analysis_avatar_stats.py +++ b/vrchatapi/models/file_analysis_avatar_stats.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index ca00bb8e..db4612ea 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index 73c1ec8f..ba5209da 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index 2a23a158..9046821e 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index 8dbbce18..93991d04 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index 58a07c2d..00b8d6d6 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index a2a6936a..fb2f7263 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index 497efd5b..e3ba980c 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/get_group_posts200_response.py b/vrchatapi/models/get_group_posts200_response.py index 16b03e76..d6884d5b 100644 --- a/vrchatapi/models/get_group_posts200_response.py +++ b/vrchatapi/models/get_group_posts200_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/get_user_group_instances200_response.py b/vrchatapi/models/get_user_group_instances200_response.py index 8499c8b7..c6cffaa8 100644 --- a/vrchatapi/models/get_user_group_instances200_response.py +++ b/vrchatapi/models/get_user_group_instances200_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index cb68a7b3..ac1b3b81 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_access_type.py b/vrchatapi/models/group_access_type.py index b5c6c2a8..f34312d9 100644 --- a/vrchatapi/models/group_access_type.py +++ b/vrchatapi/models/group_access_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index f7c2052d..3022a7d3 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index 07fb53a4..fb040334 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index 5b08efdd..3152ac06 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index df07a8a3..34b8ba6a 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_instance.py b/vrchatapi/models/group_instance.py index 5fd45425..4a7d6f8b 100644 --- a/vrchatapi/models/group_instance.py +++ b/vrchatapi/models/group_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_request_action.py b/vrchatapi/models/group_join_request_action.py index a3271bd8..6cd1d6a5 100644 --- a/vrchatapi/models/group_join_request_action.py +++ b/vrchatapi/models/group_join_request_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index e101aa5c..2b365ce4 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index c3c5781f..99d95608 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index 5d45df87..b15e8ed7 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index 4873e5aa..ab73acf8 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index b1a3dbf0..d9b953f8 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index ac17bf15..d3090a8e 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index 8a298e97..d85cf3d7 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permissions.py b/vrchatapi/models/group_permissions.py index 1d223088..a657f736 100644 --- a/vrchatapi/models/group_permissions.py +++ b/vrchatapi/models/group_permissions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post.py b/vrchatapi/models/group_post.py index e756e69e..052c5116 100644 --- a/vrchatapi/models/group_post.py +++ b/vrchatapi/models/group_post.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post_visibility.py b/vrchatapi/models/group_post_visibility.py index e22905b4..9d345229 100644 --- a/vrchatapi/models/group_post_visibility.py +++ b/vrchatapi/models/group_post_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index 318a9cfd..b59487fe 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index ed5cc4df..38f1aa62 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index 8f9dcd2b..98b1a359 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template_values.py b/vrchatapi/models/group_role_template_values.py new file mode 100644 index 00000000..8c328c9c --- /dev/null +++ b/vrchatapi/models/group_role_template_values.py @@ -0,0 +1,213 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.19.3 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class GroupRoleTemplateValues(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'base_permissions': 'list[GroupPermissions]', + 'description': 'str', + 'name': 'str', + 'roles': 'GroupRoleTemplateValuesRoles' + } + + attribute_map = { + 'base_permissions': 'basePermissions', + 'description': 'description', + 'name': 'name', + 'roles': 'roles' + } + + def __init__(self, base_permissions=None, description=None, name=None, roles=None, local_vars_configuration=None): # noqa: E501 + """GroupRoleTemplateValues - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._base_permissions = None + self._description = None + self._name = None + self._roles = None + self.discriminator = None + + self.base_permissions = base_permissions + self.description = description + self.name = name + self.roles = roles + + @property + def base_permissions(self): + """Gets the base_permissions of this GroupRoleTemplateValues. # noqa: E501 + + + :return: The base_permissions of this GroupRoleTemplateValues. # noqa: E501 + :rtype: list[GroupPermissions] + """ + return self._base_permissions + + @base_permissions.setter + def base_permissions(self, base_permissions): + """Sets the base_permissions of this GroupRoleTemplateValues. + + + :param base_permissions: The base_permissions of this GroupRoleTemplateValues. # noqa: E501 + :type base_permissions: list[GroupPermissions] + """ + if self.local_vars_configuration.client_side_validation and base_permissions is None: # noqa: E501 + raise ValueError("Invalid value for `base_permissions`, must not be `None`") # noqa: E501 + + self._base_permissions = base_permissions + + @property + def description(self): + """Gets the description of this GroupRoleTemplateValues. # noqa: E501 + + + :return: The description of this GroupRoleTemplateValues. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this GroupRoleTemplateValues. + + + :param description: The description of this GroupRoleTemplateValues. # noqa: E501 + :type description: str + """ + if self.local_vars_configuration.client_side_validation and description is None: # noqa: E501 + raise ValueError("Invalid value for `description`, must not be `None`") # noqa: E501 + + self._description = description + + @property + def name(self): + """Gets the name of this GroupRoleTemplateValues. # noqa: E501 + + + :return: The name of this GroupRoleTemplateValues. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this GroupRoleTemplateValues. + + + :param name: The name of this GroupRoleTemplateValues. # noqa: E501 + :type name: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + + @property + def roles(self): + """Gets the roles of this GroupRoleTemplateValues. # noqa: E501 + + + :return: The roles of this GroupRoleTemplateValues. # noqa: E501 + :rtype: GroupRoleTemplateValuesRoles + """ + return self._roles + + @roles.setter + def roles(self, roles): + """Sets the roles of this GroupRoleTemplateValues. + + + :param roles: The roles of this GroupRoleTemplateValues. # noqa: E501 + :type roles: GroupRoleTemplateValuesRoles + """ + if self.local_vars_configuration.client_side_validation and roles is None: # noqa: E501 + raise ValueError("Invalid value for `roles`, must not be `None`") # noqa: E501 + + self._roles = roles + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GroupRoleTemplateValues): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GroupRoleTemplateValues): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/group_role_template_values_roles.py b/vrchatapi/models/group_role_template_values_roles.py new file mode 100644 index 00000000..124ea7b2 --- /dev/null +++ b/vrchatapi/models/group_role_template_values_roles.py @@ -0,0 +1,209 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.19.3 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class GroupRoleTemplateValuesRoles(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'description': 'str', + 'name': 'str', + 'base_permissions': 'list[GroupPermissions]', + 'is_added_on_join': 'bool' + } + + attribute_map = { + 'description': 'description', + 'name': 'name', + 'base_permissions': 'basePermissions', + 'is_added_on_join': 'isAddedOnJoin' + } + + def __init__(self, description=None, name=None, base_permissions=None, is_added_on_join=False, local_vars_configuration=None): # noqa: E501 + """GroupRoleTemplateValuesRoles - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._description = None + self._name = None + self._base_permissions = None + self._is_added_on_join = None + self.discriminator = None + + if description is not None: + self.description = description + if name is not None: + self.name = name + if base_permissions is not None: + self.base_permissions = base_permissions + if is_added_on_join is not None: + self.is_added_on_join = is_added_on_join + + @property + def description(self): + """Gets the description of this GroupRoleTemplateValuesRoles. # noqa: E501 + + + :return: The description of this GroupRoleTemplateValuesRoles. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this GroupRoleTemplateValuesRoles. + + + :param description: The description of this GroupRoleTemplateValuesRoles. # noqa: E501 + :type description: str + """ + + self._description = description + + @property + def name(self): + """Gets the name of this GroupRoleTemplateValuesRoles. # noqa: E501 + + + :return: The name of this GroupRoleTemplateValuesRoles. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this GroupRoleTemplateValuesRoles. + + + :param name: The name of this GroupRoleTemplateValuesRoles. # noqa: E501 + :type name: str + """ + + self._name = name + + @property + def base_permissions(self): + """Gets the base_permissions of this GroupRoleTemplateValuesRoles. # noqa: E501 + + + :return: The base_permissions of this GroupRoleTemplateValuesRoles. # noqa: E501 + :rtype: list[GroupPermissions] + """ + return self._base_permissions + + @base_permissions.setter + def base_permissions(self, base_permissions): + """Sets the base_permissions of this GroupRoleTemplateValuesRoles. + + + :param base_permissions: The base_permissions of this GroupRoleTemplateValuesRoles. # noqa: E501 + :type base_permissions: list[GroupPermissions] + """ + + self._base_permissions = base_permissions + + @property + def is_added_on_join(self): + """Gets the is_added_on_join of this GroupRoleTemplateValuesRoles. # noqa: E501 + + + :return: The is_added_on_join of this GroupRoleTemplateValuesRoles. # noqa: E501 + :rtype: bool + """ + return self._is_added_on_join + + @is_added_on_join.setter + def is_added_on_join(self, is_added_on_join): + """Sets the is_added_on_join of this GroupRoleTemplateValuesRoles. + + + :param is_added_on_join: The is_added_on_join of this GroupRoleTemplateValuesRoles. # noqa: E501 + :type is_added_on_join: bool + """ + + self._is_added_on_join = is_added_on_join + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GroupRoleTemplateValuesRoles): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GroupRoleTemplateValuesRoles): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/group_search_sort.py b/vrchatapi/models/group_search_sort.py index 45ba9361..7e86e2c3 100644 --- a/vrchatapi/models/group_search_sort.py +++ b/vrchatapi/models/group_search_sort.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index a0042f71..4836ca8e 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index 0bf65f5b..ff10b7d8 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index 93a97057..ed15e84b 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index d2406221..79110163 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index 2d13662a..7d58bef5 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index bacdc937..47af13fa 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index b34e5a05..85c8836f 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -41,6 +41,7 @@ class Instance(object): 'can_request_invite': 'bool', 'capacity': 'int', 'client_number': 'str', + 'content_settings': 'InstanceContentSettings', 'display_name': 'str', 'full': 'bool', 'game_server_version': 'int', @@ -85,6 +86,7 @@ class Instance(object): 'can_request_invite': 'canRequestInvite', 'capacity': 'capacity', 'client_number': 'clientNumber', + 'content_settings': 'contentSettings', 'display_name': 'displayName', 'full': 'full', 'game_server_version': 'gameServerVersion', @@ -123,7 +125,7 @@ class Instance(object): 'hard_close': 'hardClose' } - def __init__(self, active=True, age_gate=None, can_request_invite=True, capacity=None, client_number=None, display_name=None, full=False, game_server_version=None, id=None, instance_id=None, instance_persistence_enabled=None, location=None, n_users=None, name=None, owner_id=None, permanent=False, photon_region=None, platforms=None, player_persistence_enabled=None, region=None, secure_name=None, short_name=None, tags=None, type=None, world_id=None, hidden=None, friends=None, private=None, queue_enabled=None, queue_size=None, recommended_capacity=None, role_restricted=None, strict=None, user_count=None, world=None, users=None, group_access_type=None, has_capacity_for_you=None, nonce=None, closed_at=None, hard_close=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, active=True, age_gate=None, can_request_invite=True, capacity=None, client_number=None, content_settings=None, display_name=None, full=False, game_server_version=None, id=None, instance_id=None, instance_persistence_enabled=None, location=None, n_users=None, name=None, owner_id=None, permanent=False, photon_region=None, platforms=None, player_persistence_enabled=None, region=None, secure_name=None, short_name=None, tags=None, type=None, world_id=None, hidden=None, friends=None, private=None, queue_enabled=None, queue_size=None, recommended_capacity=None, role_restricted=None, strict=None, user_count=None, world=None, users=None, group_access_type=None, has_capacity_for_you=None, nonce=None, closed_at=None, hard_close=None, local_vars_configuration=None): # noqa: E501 """Instance - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -134,6 +136,7 @@ def __init__(self, active=True, age_gate=None, can_request_invite=True, capacity self._can_request_invite = None self._capacity = None self._client_number = None + self._content_settings = None self._display_name = None self._full = None self._game_server_version = None @@ -177,6 +180,7 @@ def __init__(self, active=True, age_gate=None, can_request_invite=True, capacity self.can_request_invite = can_request_invite self.capacity = capacity self.client_number = client_number + self.content_settings = content_settings self.display_name = display_name self.full = full if game_server_version is not None: @@ -344,6 +348,29 @@ def client_number(self, client_number): self._client_number = client_number + @property + def content_settings(self): + """Gets the content_settings of this Instance. # noqa: E501 + + + :return: The content_settings of this Instance. # noqa: E501 + :rtype: InstanceContentSettings + """ + return self._content_settings + + @content_settings.setter + def content_settings(self, content_settings): + """Sets the content_settings of this Instance. + + + :param content_settings: The content_settings of this Instance. # noqa: E501 + :type content_settings: InstanceContentSettings + """ + if self.local_vars_configuration.client_side_validation and content_settings is None: # noqa: E501 + raise ValueError("Invalid value for `content_settings`, must not be `None`") # noqa: E501 + + self._content_settings = content_settings + @property def display_name(self): """Gets the display_name of this Instance. # noqa: E501 diff --git a/vrchatapi/models/instance_content_settings.py b/vrchatapi/models/instance_content_settings.py new file mode 100644 index 00000000..6fbe0993 --- /dev/null +++ b/vrchatapi/models/instance_content_settings.py @@ -0,0 +1,235 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.19.3 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class InstanceContentSettings(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'drones': 'bool', + 'emoji': 'bool', + 'pedestals': 'bool', + 'prints': 'bool', + 'stickers': 'bool' + } + + attribute_map = { + 'drones': 'drones', + 'emoji': 'emoji', + 'pedestals': 'pedestals', + 'prints': 'prints', + 'stickers': 'stickers' + } + + def __init__(self, drones=True, emoji=True, pedestals=True, prints=True, stickers=True, local_vars_configuration=None): # noqa: E501 + """InstanceContentSettings - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._drones = None + self._emoji = None + self._pedestals = None + self._prints = None + self._stickers = None + self.discriminator = None + + if drones is not None: + self.drones = drones + if emoji is not None: + self.emoji = emoji + if pedestals is not None: + self.pedestals = pedestals + if prints is not None: + self.prints = prints + if stickers is not None: + self.stickers = stickers + + @property + def drones(self): + """Gets the drones of this InstanceContentSettings. # noqa: E501 + + + :return: The drones of this InstanceContentSettings. # noqa: E501 + :rtype: bool + """ + return self._drones + + @drones.setter + def drones(self, drones): + """Sets the drones of this InstanceContentSettings. + + + :param drones: The drones of this InstanceContentSettings. # noqa: E501 + :type drones: bool + """ + + self._drones = drones + + @property + def emoji(self): + """Gets the emoji of this InstanceContentSettings. # noqa: E501 + + + :return: The emoji of this InstanceContentSettings. # noqa: E501 + :rtype: bool + """ + return self._emoji + + @emoji.setter + def emoji(self, emoji): + """Sets the emoji of this InstanceContentSettings. + + + :param emoji: The emoji of this InstanceContentSettings. # noqa: E501 + :type emoji: bool + """ + + self._emoji = emoji + + @property + def pedestals(self): + """Gets the pedestals of this InstanceContentSettings. # noqa: E501 + + + :return: The pedestals of this InstanceContentSettings. # noqa: E501 + :rtype: bool + """ + return self._pedestals + + @pedestals.setter + def pedestals(self, pedestals): + """Sets the pedestals of this InstanceContentSettings. + + + :param pedestals: The pedestals of this InstanceContentSettings. # noqa: E501 + :type pedestals: bool + """ + + self._pedestals = pedestals + + @property + def prints(self): + """Gets the prints of this InstanceContentSettings. # noqa: E501 + + + :return: The prints of this InstanceContentSettings. # noqa: E501 + :rtype: bool + """ + return self._prints + + @prints.setter + def prints(self, prints): + """Sets the prints of this InstanceContentSettings. + + + :param prints: The prints of this InstanceContentSettings. # noqa: E501 + :type prints: bool + """ + + self._prints = prints + + @property + def stickers(self): + """Gets the stickers of this InstanceContentSettings. # noqa: E501 + + + :return: The stickers of this InstanceContentSettings. # noqa: E501 + :rtype: bool + """ + return self._stickers + + @stickers.setter + def stickers(self, stickers): + """Sets the stickers of this InstanceContentSettings. + + + :param stickers: The stickers of this InstanceContentSettings. # noqa: E501 + :type stickers: bool + """ + + self._stickers = stickers + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InstanceContentSettings): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, InstanceContentSettings): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index 475406af..65ab938f 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_region.py b/vrchatapi/models/instance_region.py index 65e4dc26..079cf2ab 100644 --- a/vrchatapi/models/instance_region.py +++ b/vrchatapi/models/instance_region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index 5bfbf7c3..d424ac3c 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index 8257ddbb..0f5c3b34 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index 366d4a4c..556bf5b5 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index 246f6a7e..542bf115 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index 6b90dbad..4d727e31 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index 77cbbcfd..ec492395 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/jam.py b/vrchatapi/models/jam.py index 2a96391b..f88ec9a3 100644 --- a/vrchatapi/models/jam.py +++ b/vrchatapi/models/jam.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/jam_state_change_dates.py b/vrchatapi/models/jam_state_change_dates.py index 31131c26..d95c3cfa 100644 --- a/vrchatapi/models/jam_state_change_dates.py +++ b/vrchatapi/models/jam_state_change_dates.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index 3e1a3e53..340322b4 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index 7f2ca87a..2667d57e 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index 508d0313..ad571bd0 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index dfb147a1..99f5938c 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_group.py b/vrchatapi/models/limited_group.py index 9eb16b44..976f5588 100644 --- a/vrchatapi/models/limited_group.py +++ b/vrchatapi/models/limited_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index afd610dd..04b36362 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user.py b/vrchatapi/models/limited_user.py index 909b37ce..c396ff46 100644 --- a/vrchatapi/models/limited_user.py +++ b/vrchatapi/models/limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user_groups.py b/vrchatapi/models/limited_user_groups.py index 0e29a276..5b1d95df 100644 --- a/vrchatapi/models/limited_user_groups.py +++ b/vrchatapi/models/limited_user_groups.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index cf268c24..f475d21b 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -41,6 +41,7 @@ class LimitedWorld(object): 'capacity': 'int', 'recommended_capacity': 'int', 'created_at': 'datetime', + 'default_content_settings': 'InstanceContentSettings', 'favorites': 'int', 'visits': 'int', 'heat': 'int', @@ -54,6 +55,7 @@ class LimitedWorld(object): 'preview_youtube_id': 'str', 'publication_date': 'str', 'release_status': 'ReleaseStatus', + 'store_id': 'str', 'tags': 'list[str]', 'thumbnail_image_url': 'str', 'unity_packages': 'list[LimitedUnityPackage]', @@ -67,6 +69,7 @@ class LimitedWorld(object): 'capacity': 'capacity', 'recommended_capacity': 'recommendedCapacity', 'created_at': 'created_at', + 'default_content_settings': 'defaultContentSettings', 'favorites': 'favorites', 'visits': 'visits', 'heat': 'heat', @@ -80,6 +83,7 @@ class LimitedWorld(object): 'preview_youtube_id': 'previewYoutubeId', 'publication_date': 'publicationDate', 'release_status': 'releaseStatus', + 'store_id': 'storeId', 'tags': 'tags', 'thumbnail_image_url': 'thumbnailImageUrl', 'unity_packages': 'unityPackages', @@ -87,7 +91,7 @@ class LimitedWorld(object): 'udon_products': 'udonProducts' } - def __init__(self, author_id=None, author_name=None, capacity=None, recommended_capacity=None, created_at=None, favorites=0, visits=0, heat=0, id=None, image_url=None, labs_publication_date=None, name=None, occupants=0, organization='vrchat', popularity=0, preview_youtube_id=None, publication_date=None, release_status=None, tags=None, thumbnail_image_url=None, unity_packages=None, updated_at=None, udon_products=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, author_id=None, author_name=None, capacity=None, recommended_capacity=None, created_at=None, default_content_settings=None, favorites=0, visits=0, heat=0, id=None, image_url=None, labs_publication_date=None, name=None, occupants=0, organization='vrchat', popularity=0, preview_youtube_id=None, publication_date=None, release_status=None, store_id=None, tags=None, thumbnail_image_url=None, unity_packages=None, updated_at=None, udon_products=None, local_vars_configuration=None): # noqa: E501 """LimitedWorld - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -98,6 +102,7 @@ def __init__(self, author_id=None, author_name=None, capacity=None, recommended_ self._capacity = None self._recommended_capacity = None self._created_at = None + self._default_content_settings = None self._favorites = None self._visits = None self._heat = None @@ -111,6 +116,7 @@ def __init__(self, author_id=None, author_name=None, capacity=None, recommended_ self._preview_youtube_id = None self._publication_date = None self._release_status = None + self._store_id = None self._tags = None self._thumbnail_image_url = None self._unity_packages = None @@ -124,6 +130,8 @@ def __init__(self, author_id=None, author_name=None, capacity=None, recommended_ if recommended_capacity is not None: self.recommended_capacity = recommended_capacity self.created_at = created_at + if default_content_settings is not None: + self.default_content_settings = default_content_settings self.favorites = favorites if visits is not None: self.visits = visits @@ -138,6 +146,8 @@ def __init__(self, author_id=None, author_name=None, capacity=None, recommended_ self.preview_youtube_id = preview_youtube_id self.publication_date = publication_date self.release_status = release_status + if store_id is not None: + self.store_id = store_id self.tags = tags self.thumbnail_image_url = thumbnail_image_url self.unity_packages = unity_packages @@ -263,6 +273,27 @@ def created_at(self, created_at): self._created_at = created_at + @property + def default_content_settings(self): + """Gets the default_content_settings of this LimitedWorld. # noqa: E501 + + + :return: The default_content_settings of this LimitedWorld. # noqa: E501 + :rtype: InstanceContentSettings + """ + return self._default_content_settings + + @default_content_settings.setter + def default_content_settings(self, default_content_settings): + """Sets the default_content_settings of this LimitedWorld. + + + :param default_content_settings: The default_content_settings of this LimitedWorld. # noqa: E501 + :type default_content_settings: InstanceContentSettings + """ + + self._default_content_settings = default_content_settings + @property def favorites(self): """Gets the favorites of this LimitedWorld. # noqa: E501 @@ -590,6 +621,27 @@ def release_status(self, release_status): self._release_status = release_status + @property + def store_id(self): + """Gets the store_id of this LimitedWorld. # noqa: E501 + + + :return: The store_id of this LimitedWorld. # noqa: E501 + :rtype: str + """ + return self._store_id + + @store_id.setter + def store_id(self, store_id): + """Sets the store_id of this LimitedWorld. + + + :param store_id: The store_id of this LimitedWorld. # noqa: E501 + :type store_id: str + """ + + self._store_id = store_id + @property def tags(self): """Gets the tags of this LimitedWorld. # noqa: E501 diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index e49536de..26a7f889 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/model_print.py b/vrchatapi/models/model_print.py index 400cda76..1370dc59 100644 --- a/vrchatapi/models/model_print.py +++ b/vrchatapi/models/model_print.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index 6a48b136..efc74a67 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index 9c30cec6..6b26ad71 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite.py b/vrchatapi/models/notification_detail_invite.py index bef0f886..0534218d 100644 --- a/vrchatapi/models/notification_detail_invite.py +++ b/vrchatapi/models/notification_detail_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite_response.py b/vrchatapi/models/notification_detail_invite_response.py index 67b9a297..47865d25 100644 --- a/vrchatapi/models/notification_detail_invite_response.py +++ b/vrchatapi/models/notification_detail_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite.py b/vrchatapi/models/notification_detail_request_invite.py index 9ee2e187..9370cc63 100644 --- a/vrchatapi/models/notification_detail_request_invite.py +++ b/vrchatapi/models/notification_detail_request_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite_response.py b/vrchatapi/models/notification_detail_request_invite_response.py index 39b4a788..a516cbeb 100644 --- a/vrchatapi/models/notification_detail_request_invite_response.py +++ b/vrchatapi/models/notification_detail_request_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_vote_to_kick.py b/vrchatapi/models/notification_detail_vote_to_kick.py index 57205bc6..f7d73c6b 100644 --- a/vrchatapi/models/notification_detail_vote_to_kick.py +++ b/vrchatapi/models/notification_detail_vote_to_kick.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index 771e00a1..f905ae06 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index 01406be0..7b78d627 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index 827bee0c..4904533d 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index 819ef629..52322149 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/pending2_fa_result.py b/vrchatapi/models/pending2_fa_result.py new file mode 100644 index 00000000..0bd1f757 --- /dev/null +++ b/vrchatapi/models/pending2_fa_result.py @@ -0,0 +1,159 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.19.3 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class Pending2FAResult(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'qr_code_data_url': 'str', + 'secret': 'str' + } + + attribute_map = { + 'qr_code_data_url': 'qrCodeDataUrl', + 'secret': 'secret' + } + + def __init__(self, qr_code_data_url=None, secret=None, local_vars_configuration=None): # noqa: E501 + """Pending2FAResult - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._qr_code_data_url = None + self._secret = None + self.discriminator = None + + self.qr_code_data_url = qr_code_data_url + self.secret = secret + + @property + def qr_code_data_url(self): + """Gets the qr_code_data_url of this Pending2FAResult. # noqa: E501 + + + :return: The qr_code_data_url of this Pending2FAResult. # noqa: E501 + :rtype: str + """ + return self._qr_code_data_url + + @qr_code_data_url.setter + def qr_code_data_url(self, qr_code_data_url): + """Sets the qr_code_data_url of this Pending2FAResult. + + + :param qr_code_data_url: The qr_code_data_url of this Pending2FAResult. # noqa: E501 + :type qr_code_data_url: str + """ + if self.local_vars_configuration.client_side_validation and qr_code_data_url is None: # noqa: E501 + raise ValueError("Invalid value for `qr_code_data_url`, must not be `None`") # noqa: E501 + + self._qr_code_data_url = qr_code_data_url + + @property + def secret(self): + """Gets the secret of this Pending2FAResult. # noqa: E501 + + + :return: The secret of this Pending2FAResult. # noqa: E501 + :rtype: str + """ + return self._secret + + @secret.setter + def secret(self, secret): + """Sets the secret of this Pending2FAResult. + + + :param secret: The secret of this Pending2FAResult. # noqa: E501 + :type secret: str + """ + if self.local_vars_configuration.client_side_validation and secret is None: # noqa: E501 + raise ValueError("Invalid value for `secret`, must not be `None`") # noqa: E501 + + self._secret = secret + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, Pending2FAResult): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, Pending2FAResult): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/performance_limiter_info.py b/vrchatapi/models/performance_limiter_info.py index 97e37b6b..02304323 100644 --- a/vrchatapi/models/performance_limiter_info.py +++ b/vrchatapi/models/performance_limiter_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/performance_ratings.py b/vrchatapi/models/performance_ratings.py index 1ca32458..1907312c 100644 --- a/vrchatapi/models/performance_ratings.py +++ b/vrchatapi/models/performance_ratings.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index 049609b7..2ede8354 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/platform_build_info.py b/vrchatapi/models/platform_build_info.py index 221cd0c4..fee84d47 100644 --- a/vrchatapi/models/platform_build_info.py +++ b/vrchatapi/models/platform_build_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index 1958cb0d..bc69cb95 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index 8f7a8a57..aeabccfa 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/print_files.py b/vrchatapi/models/print_files.py index 5d45cb6d..7d83949b 100644 --- a/vrchatapi/models/print_files.py +++ b/vrchatapi/models/print_files.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product.py b/vrchatapi/models/product.py index 33385f7e..87dff9ab 100644 --- a/vrchatapi/models/product.py +++ b/vrchatapi/models/product.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_listing.py b/vrchatapi/models/product_listing.py index 39307cfd..a70e3039 100644 --- a/vrchatapi/models/product_listing.py +++ b/vrchatapi/models/product_listing.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_listing_type.py b/vrchatapi/models/product_listing_type.py index 876c47cb..3fb2436e 100644 --- a/vrchatapi/models/product_listing_type.py +++ b/vrchatapi/models/product_listing_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_listing_variant.py b/vrchatapi/models/product_listing_variant.py index bc363989..0dd04b10 100644 --- a/vrchatapi/models/product_listing_variant.py +++ b/vrchatapi/models/product_listing_variant.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_type.py b/vrchatapi/models/product_type.py index 5f583036..22f8b21c 100644 --- a/vrchatapi/models/product_type.py +++ b/vrchatapi/models/product_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index 28e0f194..11b235f9 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/register_user_account_request.py b/vrchatapi/models/register_user_account_request.py new file mode 100644 index 00000000..38923ed3 --- /dev/null +++ b/vrchatapi/models/register_user_account_request.py @@ -0,0 +1,375 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.19.3 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class RegisterUserAccountRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'username': 'str', + 'password': 'str', + 'email': 'str', + 'year': 'str', + 'month': 'str', + 'day': 'str', + 'captcha_code': 'str', + 'subscribe': 'bool', + 'accepted_tos_version': 'int' + } + + attribute_map = { + 'username': 'username', + 'password': 'password', + 'email': 'email', + 'year': 'year', + 'month': 'month', + 'day': 'day', + 'captcha_code': 'captchaCode', + 'subscribe': 'subscribe', + 'accepted_tos_version': 'acceptedTOSVersion' + } + + def __init__(self, username=None, password=None, email=None, year=None, month=None, day=None, captcha_code=None, subscribe=None, accepted_tos_version=None, local_vars_configuration=None): # noqa: E501 + """RegisterUserAccountRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._username = None + self._password = None + self._email = None + self._year = None + self._month = None + self._day = None + self._captcha_code = None + self._subscribe = None + self._accepted_tos_version = None + self.discriminator = None + + self.username = username + self.password = password + self.email = email + self.year = year + self.month = month + self.day = day + self.captcha_code = captcha_code + self.subscribe = subscribe + self.accepted_tos_version = accepted_tos_version + + @property + def username(self): + """Gets the username of this RegisterUserAccountRequest. # noqa: E501 + + Display Name / Username (Username is a sanitized version) # noqa: E501 + + :return: The username of this RegisterUserAccountRequest. # noqa: E501 + :rtype: str + """ + return self._username + + @username.setter + def username(self, username): + """Sets the username of this RegisterUserAccountRequest. + + Display Name / Username (Username is a sanitized version) # noqa: E501 + + :param username: The username of this RegisterUserAccountRequest. # noqa: E501 + :type username: str + """ + if self.local_vars_configuration.client_side_validation and username is None: # noqa: E501 + raise ValueError("Invalid value for `username`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + username is not None and len(username) > 15): + raise ValueError("Invalid value for `username`, length must be less than or equal to `15`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + username is not None and len(username) < 4): + raise ValueError("Invalid value for `username`, length must be greater than or equal to `4`") # noqa: E501 + + self._username = username + + @property + def password(self): + """Gets the password of this RegisterUserAccountRequest. # noqa: E501 + + Password # noqa: E501 + + :return: The password of this RegisterUserAccountRequest. # noqa: E501 + :rtype: str + """ + return self._password + + @password.setter + def password(self, password): + """Sets the password of this RegisterUserAccountRequest. + + Password # noqa: E501 + + :param password: The password of this RegisterUserAccountRequest. # noqa: E501 + :type password: str + """ + if self.local_vars_configuration.client_side_validation and password is None: # noqa: E501 + raise ValueError("Invalid value for `password`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + password is not None and len(password) < 8): + raise ValueError("Invalid value for `password`, length must be greater than or equal to `8`") # noqa: E501 + + self._password = password + + @property + def email(self): + """Gets the email of this RegisterUserAccountRequest. # noqa: E501 + + Email address # noqa: E501 + + :return: The email of this RegisterUserAccountRequest. # noqa: E501 + :rtype: str + """ + return self._email + + @email.setter + def email(self, email): + """Sets the email of this RegisterUserAccountRequest. + + Email address # noqa: E501 + + :param email: The email of this RegisterUserAccountRequest. # noqa: E501 + :type email: str + """ + if self.local_vars_configuration.client_side_validation and email is None: # noqa: E501 + raise ValueError("Invalid value for `email`, must not be `None`") # noqa: E501 + + self._email = email + + @property + def year(self): + """Gets the year of this RegisterUserAccountRequest. # noqa: E501 + + Birth year # noqa: E501 + + :return: The year of this RegisterUserAccountRequest. # noqa: E501 + :rtype: str + """ + return self._year + + @year.setter + def year(self, year): + """Sets the year of this RegisterUserAccountRequest. + + Birth year # noqa: E501 + + :param year: The year of this RegisterUserAccountRequest. # noqa: E501 + :type year: str + """ + if self.local_vars_configuration.client_side_validation and year is None: # noqa: E501 + raise ValueError("Invalid value for `year`, must not be `None`") # noqa: E501 + + self._year = year + + @property + def month(self): + """Gets the month of this RegisterUserAccountRequest. # noqa: E501 + + Birth month of year # noqa: E501 + + :return: The month of this RegisterUserAccountRequest. # noqa: E501 + :rtype: str + """ + return self._month + + @month.setter + def month(self, month): + """Sets the month of this RegisterUserAccountRequest. + + Birth month of year # noqa: E501 + + :param month: The month of this RegisterUserAccountRequest. # noqa: E501 + :type month: str + """ + if self.local_vars_configuration.client_side_validation and month is None: # noqa: E501 + raise ValueError("Invalid value for `month`, must not be `None`") # noqa: E501 + + self._month = month + + @property + def day(self): + """Gets the day of this RegisterUserAccountRequest. # noqa: E501 + + Birth day of month # noqa: E501 + + :return: The day of this RegisterUserAccountRequest. # noqa: E501 + :rtype: str + """ + return self._day + + @day.setter + def day(self, day): + """Sets the day of this RegisterUserAccountRequest. + + Birth day of month # noqa: E501 + + :param day: The day of this RegisterUserAccountRequest. # noqa: E501 + :type day: str + """ + if self.local_vars_configuration.client_side_validation and day is None: # noqa: E501 + raise ValueError("Invalid value for `day`, must not be `None`") # noqa: E501 + + self._day = day + + @property + def captcha_code(self): + """Gets the captcha_code of this RegisterUserAccountRequest. # noqa: E501 + + Captcha code # noqa: E501 + + :return: The captcha_code of this RegisterUserAccountRequest. # noqa: E501 + :rtype: str + """ + return self._captcha_code + + @captcha_code.setter + def captcha_code(self, captcha_code): + """Sets the captcha_code of this RegisterUserAccountRequest. + + Captcha code # noqa: E501 + + :param captcha_code: The captcha_code of this RegisterUserAccountRequest. # noqa: E501 + :type captcha_code: str + """ + if self.local_vars_configuration.client_side_validation and captcha_code is None: # noqa: E501 + raise ValueError("Invalid value for `captcha_code`, must not be `None`") # noqa: E501 + + self._captcha_code = captcha_code + + @property + def subscribe(self): + """Gets the subscribe of this RegisterUserAccountRequest. # noqa: E501 + + Whether to recieve promotional emails # noqa: E501 + + :return: The subscribe of this RegisterUserAccountRequest. # noqa: E501 + :rtype: bool + """ + return self._subscribe + + @subscribe.setter + def subscribe(self, subscribe): + """Sets the subscribe of this RegisterUserAccountRequest. + + Whether to recieve promotional emails # noqa: E501 + + :param subscribe: The subscribe of this RegisterUserAccountRequest. # noqa: E501 + :type subscribe: bool + """ + if self.local_vars_configuration.client_side_validation and subscribe is None: # noqa: E501 + raise ValueError("Invalid value for `subscribe`, must not be `None`") # noqa: E501 + + self._subscribe = subscribe + + @property + def accepted_tos_version(self): + """Gets the accepted_tos_version of this RegisterUserAccountRequest. # noqa: E501 + + The most recent version of the TOS # noqa: E501 + + :return: The accepted_tos_version of this RegisterUserAccountRequest. # noqa: E501 + :rtype: int + """ + return self._accepted_tos_version + + @accepted_tos_version.setter + def accepted_tos_version(self, accepted_tos_version): + """Sets the accepted_tos_version of this RegisterUserAccountRequest. + + The most recent version of the TOS # noqa: E501 + + :param accepted_tos_version: The accepted_tos_version of this RegisterUserAccountRequest. # noqa: E501 + :type accepted_tos_version: int + """ + if self.local_vars_configuration.client_side_validation and accepted_tos_version is None: # noqa: E501 + raise ValueError("Invalid value for `accepted_tos_version`, must not be `None`") # noqa: E501 + + self._accepted_tos_version = accepted_tos_version + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, RegisterUserAccountRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, RegisterUserAccountRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index 5c0e6e24..1c7a9714 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/report_category.py b/vrchatapi/models/report_category.py index f178b2b7..481fac0a 100644 --- a/vrchatapi/models/report_category.py +++ b/vrchatapi/models/report_category.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/report_reason.py b/vrchatapi/models/report_reason.py index bc86b270..50d2bb9d 100644 --- a/vrchatapi/models/report_reason.py +++ b/vrchatapi/models/report_reason.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/represented_group.py b/vrchatapi/models/represented_group.py index dad1bdfb..43774ec1 100644 --- a/vrchatapi/models/represented_group.py +++ b/vrchatapi/models/represented_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index 796a7fa4..5b244b15 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index 43a91129..a483aeb6 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index 59a51968..8ef5004f 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index 406b07de..0c9e5a45 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/service_queue_stats.py b/vrchatapi/models/service_queue_stats.py index 57b0dccd..884ef901 100644 --- a/vrchatapi/models/service_queue_stats.py +++ b/vrchatapi/models/service_queue_stats.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/service_status.py b/vrchatapi/models/service_status.py index a92d6e48..ac879f76 100644 --- a/vrchatapi/models/service_status.py +++ b/vrchatapi/models/service_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index 96641423..e45a2a88 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/submission.py b/vrchatapi/models/submission.py index 2dfc98c1..c65ff713 100644 --- a/vrchatapi/models/submission.py +++ b/vrchatapi/models/submission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index 07101b90..3a776a99 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index 0a4d54d5..b83e798a 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index a5bbc976..6f72d6d0 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/tilia_status.py b/vrchatapi/models/tilia_status.py index 70f86830..50a33c24 100644 --- a/vrchatapi/models/tilia_status.py +++ b/vrchatapi/models/tilia_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,23 +36,38 @@ class TiliaStatus(object): and the value is json key in definition. """ openapi_types = { - 'economy_online': 'bool' + 'economy_online': 'bool', + 'economy_state': 'int', + 'planned_offline_window_start': 'datetime', + 'planned_offline_window_end': 'datetime' } attribute_map = { - 'economy_online': 'economyOnline' + 'economy_online': 'economyOnline', + 'economy_state': 'economyState', + 'planned_offline_window_start': 'plannedOfflineWindowStart', + 'planned_offline_window_end': 'plannedOfflineWindowEnd' } - def __init__(self, economy_online=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, economy_online=None, economy_state=None, planned_offline_window_start=None, planned_offline_window_end=None, local_vars_configuration=None): # noqa: E501 """TiliaStatus - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._economy_online = None + self._economy_state = None + self._planned_offline_window_start = None + self._planned_offline_window_end = None self.discriminator = None self.economy_online = economy_online + if economy_state is not None: + self.economy_state = economy_state + if planned_offline_window_start is not None: + self.planned_offline_window_start = planned_offline_window_start + if planned_offline_window_end is not None: + self.planned_offline_window_end = planned_offline_window_end @property def economy_online(self): @@ -77,6 +92,69 @@ def economy_online(self, economy_online): self._economy_online = economy_online + @property + def economy_state(self): + """Gets the economy_state of this TiliaStatus. # noqa: E501 + + + :return: The economy_state of this TiliaStatus. # noqa: E501 + :rtype: int + """ + return self._economy_state + + @economy_state.setter + def economy_state(self, economy_state): + """Sets the economy_state of this TiliaStatus. + + + :param economy_state: The economy_state of this TiliaStatus. # noqa: E501 + :type economy_state: int + """ + + self._economy_state = economy_state + + @property + def planned_offline_window_start(self): + """Gets the planned_offline_window_start of this TiliaStatus. # noqa: E501 + + + :return: The planned_offline_window_start of this TiliaStatus. # noqa: E501 + :rtype: datetime + """ + return self._planned_offline_window_start + + @planned_offline_window_start.setter + def planned_offline_window_start(self, planned_offline_window_start): + """Sets the planned_offline_window_start of this TiliaStatus. + + + :param planned_offline_window_start: The planned_offline_window_start of this TiliaStatus. # noqa: E501 + :type planned_offline_window_start: datetime + """ + + self._planned_offline_window_start = planned_offline_window_start + + @property + def planned_offline_window_end(self): + """Gets the planned_offline_window_end of this TiliaStatus. # noqa: E501 + + + :return: The planned_offline_window_end of this TiliaStatus. # noqa: E501 + :rtype: datetime + """ + return self._planned_offline_window_end + + @planned_offline_window_end.setter + def planned_offline_window_end(self, planned_offline_window_end): + """Sets the planned_offline_window_end of this TiliaStatus. + + + :param planned_offline_window_end: The planned_offline_window_end of this TiliaStatus. # noqa: E501 + :type planned_offline_window_end: datetime + """ + + self._planned_offline_window_end = planned_offline_window_end + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/tilia_tos.py b/vrchatapi/models/tilia_tos.py index 50fb8b23..18c16457 100644 --- a/vrchatapi/models/tilia_tos.py +++ b/vrchatapi/models/tilia_tos.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/token_bundle.py b/vrchatapi/models/token_bundle.py index 3a8f3188..a8ed2b9a 100644 --- a/vrchatapi/models/token_bundle.py +++ b/vrchatapi/models/token_bundle.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index d3c1df6f..b51bb5e9 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index e05ffaeb..79243317 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index 5d780eda..0ff33d4f 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index 77a7f515..ef992429 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index ed0afd24..6dfe4069 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index 477b4a2c..9ac1ffbe 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_email_code.py b/vrchatapi/models/two_factor_email_code.py index 065a3c8a..36a8dfea 100644 --- a/vrchatapi/models/two_factor_email_code.py +++ b/vrchatapi/models/two_factor_email_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_recovery_codes.py b/vrchatapi/models/two_factor_recovery_codes.py new file mode 100644 index 00000000..b1a8874e --- /dev/null +++ b/vrchatapi/models/two_factor_recovery_codes.py @@ -0,0 +1,157 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.19.3 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class TwoFactorRecoveryCodes(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'requires_two_factor_auth': 'list[str]', + 'otp': 'list[TwoFactorRecoveryCodesOtpInner]' + } + + attribute_map = { + 'requires_two_factor_auth': 'requiresTwoFactorAuth', + 'otp': 'otp' + } + + def __init__(self, requires_two_factor_auth=None, otp=None, local_vars_configuration=None): # noqa: E501 + """TwoFactorRecoveryCodes - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._requires_two_factor_auth = None + self._otp = None + self.discriminator = None + + if requires_two_factor_auth is not None: + self.requires_two_factor_auth = requires_two_factor_auth + if otp is not None: + self.otp = otp + + @property + def requires_two_factor_auth(self): + """Gets the requires_two_factor_auth of this TwoFactorRecoveryCodes. # noqa: E501 + + + :return: The requires_two_factor_auth of this TwoFactorRecoveryCodes. # noqa: E501 + :rtype: list[str] + """ + return self._requires_two_factor_auth + + @requires_two_factor_auth.setter + def requires_two_factor_auth(self, requires_two_factor_auth): + """Sets the requires_two_factor_auth of this TwoFactorRecoveryCodes. + + + :param requires_two_factor_auth: The requires_two_factor_auth of this TwoFactorRecoveryCodes. # noqa: E501 + :type requires_two_factor_auth: list[str] + """ + + self._requires_two_factor_auth = requires_two_factor_auth + + @property + def otp(self): + """Gets the otp of this TwoFactorRecoveryCodes. # noqa: E501 + + + :return: The otp of this TwoFactorRecoveryCodes. # noqa: E501 + :rtype: list[TwoFactorRecoveryCodesOtpInner] + """ + return self._otp + + @otp.setter + def otp(self, otp): + """Sets the otp of this TwoFactorRecoveryCodes. + + + :param otp: The otp of this TwoFactorRecoveryCodes. # noqa: E501 + :type otp: list[TwoFactorRecoveryCodesOtpInner] + """ + + self._otp = otp + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, TwoFactorRecoveryCodes): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, TwoFactorRecoveryCodes): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/two_factor_recovery_codes_otp_inner.py b/vrchatapi/models/two_factor_recovery_codes_otp_inner.py new file mode 100644 index 00000000..eed0d3ed --- /dev/null +++ b/vrchatapi/models/two_factor_recovery_codes_otp_inner.py @@ -0,0 +1,159 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.19.3 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class TwoFactorRecoveryCodesOtpInner(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'code': 'str', + 'used': 'bool' + } + + attribute_map = { + 'code': 'code', + 'used': 'used' + } + + def __init__(self, code=None, used=None, local_vars_configuration=None): # noqa: E501 + """TwoFactorRecoveryCodesOtpInner - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._code = None + self._used = None + self.discriminator = None + + self.code = code + self.used = used + + @property + def code(self): + """Gets the code of this TwoFactorRecoveryCodesOtpInner. # noqa: E501 + + + :return: The code of this TwoFactorRecoveryCodesOtpInner. # noqa: E501 + :rtype: str + """ + return self._code + + @code.setter + def code(self, code): + """Sets the code of this TwoFactorRecoveryCodesOtpInner. + + + :param code: The code of this TwoFactorRecoveryCodesOtpInner. # noqa: E501 + :type code: str + """ + if self.local_vars_configuration.client_side_validation and code is None: # noqa: E501 + raise ValueError("Invalid value for `code`, must not be `None`") # noqa: E501 + + self._code = code + + @property + def used(self): + """Gets the used of this TwoFactorRecoveryCodesOtpInner. # noqa: E501 + + + :return: The used of this TwoFactorRecoveryCodesOtpInner. # noqa: E501 + :rtype: bool + """ + return self._used + + @used.setter + def used(self, used): + """Sets the used of this TwoFactorRecoveryCodesOtpInner. + + + :param used: The used of this TwoFactorRecoveryCodesOtpInner. # noqa: E501 + :type used: bool + """ + if self.local_vars_configuration.client_side_validation and used is None: # noqa: E501 + raise ValueError("Invalid value for `used`, must not be `None`") # noqa: E501 + + self._used = used + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, TwoFactorRecoveryCodesOtpInner): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, TwoFactorRecoveryCodesOtpInner): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index e9dc7988..6ed12efb 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index ac96d0dd..3b29e0c8 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index 5928cfe7..1d6b5a1f 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index 65e6a2e2..36431b3b 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index 98def21f..76624593 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index be89bd6c..8f482eff 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index 22efca9b..e8ad5d69 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index b91ac602..8bfb761a 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_badge_request.py b/vrchatapi/models/update_user_badge_request.py index 447e32fc..95f24fcf 100644 --- a/vrchatapi/models/update_user_badge_request.py +++ b/vrchatapi/models/update_user_badge_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_note_request.py b/vrchatapi/models/update_user_note_request.py index 4cf5928e..fdc76276 100644 --- a/vrchatapi/models/update_user_note_request.py +++ b/vrchatapi/models/update_user_note_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index 61d22f60..4b655e36 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -37,6 +37,7 @@ class UpdateUserRequest(object): """ openapi_types = { 'email': 'str', + 'unsubscribe': 'bool', 'birthday': 'date', 'accepted_tos_version': 'int', 'tags': 'list[str]', @@ -46,11 +47,17 @@ class UpdateUserRequest(object): 'bio_links': 'list[str]', 'pronouns': 'str', 'is_booping_enabled': 'bool', - 'user_icon': 'str' + 'user_icon': 'str', + 'content_filters': 'list[str]', + 'display_name': 'str', + 'revert_display_name': 'bool', + 'password': 'str', + 'current_password': 'str' } attribute_map = { 'email': 'email', + 'unsubscribe': 'unsubscribe', 'birthday': 'birthday', 'accepted_tos_version': 'acceptedTOSVersion', 'tags': 'tags', @@ -60,16 +67,22 @@ class UpdateUserRequest(object): 'bio_links': 'bioLinks', 'pronouns': 'pronouns', 'is_booping_enabled': 'isBoopingEnabled', - 'user_icon': 'userIcon' + 'user_icon': 'userIcon', + 'content_filters': 'contentFilters', + 'display_name': 'displayName', + 'revert_display_name': 'revertDisplayName', + 'password': 'password', + 'current_password': 'currentPassword' } - def __init__(self, email=None, birthday=None, accepted_tos_version=None, tags=None, status=None, status_description=None, bio=None, bio_links=None, pronouns=None, is_booping_enabled=None, user_icon=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, email=None, unsubscribe=None, birthday=None, accepted_tos_version=None, tags=None, status=None, status_description=None, bio=None, bio_links=None, pronouns=None, is_booping_enabled=None, user_icon=None, content_filters=None, display_name=None, revert_display_name=None, password=None, current_password=None, local_vars_configuration=None): # noqa: E501 """UpdateUserRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._email = None + self._unsubscribe = None self._birthday = None self._accepted_tos_version = None self._tags = None @@ -80,10 +93,17 @@ def __init__(self, email=None, birthday=None, accepted_tos_version=None, tags=No self._pronouns = None self._is_booping_enabled = None self._user_icon = None + self._content_filters = None + self._display_name = None + self._revert_display_name = None + self._password = None + self._current_password = None self.discriminator = None if email is not None: self.email = email + if unsubscribe is not None: + self.unsubscribe = unsubscribe if birthday is not None: self.birthday = birthday if accepted_tos_version is not None: @@ -104,6 +124,16 @@ def __init__(self, email=None, birthday=None, accepted_tos_version=None, tags=No self.is_booping_enabled = is_booping_enabled if user_icon is not None: self.user_icon = user_icon + if content_filters is not None: + self.content_filters = content_filters + if display_name is not None: + self.display_name = display_name + if revert_display_name is not None: + self.revert_display_name = revert_display_name + if password is not None: + self.password = password + if current_password is not None: + self.current_password = current_password @property def email(self): @@ -126,6 +156,27 @@ def email(self, email): self._email = email + @property + def unsubscribe(self): + """Gets the unsubscribe of this UpdateUserRequest. # noqa: E501 + + + :return: The unsubscribe of this UpdateUserRequest. # noqa: E501 + :rtype: bool + """ + return self._unsubscribe + + @unsubscribe.setter + def unsubscribe(self, unsubscribe): + """Sets the unsubscribe of this UpdateUserRequest. + + + :param unsubscribe: The unsubscribe of this UpdateUserRequest. # noqa: E501 + :type unsubscribe: bool + """ + + self._unsubscribe = unsubscribe + @property def birthday(self): """Gets the birthday of this UpdateUserRequest. # noqa: E501 @@ -352,6 +403,119 @@ def user_icon(self, user_icon): self._user_icon = user_icon + @property + def content_filters(self): + """Gets the content_filters of this UpdateUserRequest. # noqa: E501 + + These tags begin with `content_` and control content gating # noqa: E501 + + :return: The content_filters of this UpdateUserRequest. # noqa: E501 + :rtype: list[str] + """ + return self._content_filters + + @content_filters.setter + def content_filters(self, content_filters): + """Sets the content_filters of this UpdateUserRequest. + + These tags begin with `content_` and control content gating # noqa: E501 + + :param content_filters: The content_filters of this UpdateUserRequest. # noqa: E501 + :type content_filters: list[str] + """ + + self._content_filters = content_filters + + @property + def display_name(self): + """Gets the display_name of this UpdateUserRequest. # noqa: E501 + + MUST specify currentPassword as well to change display name # noqa: E501 + + :return: The display_name of this UpdateUserRequest. # noqa: E501 + :rtype: str + """ + return self._display_name + + @display_name.setter + def display_name(self, display_name): + """Sets the display_name of this UpdateUserRequest. + + MUST specify currentPassword as well to change display name # noqa: E501 + + :param display_name: The display_name of this UpdateUserRequest. # noqa: E501 + :type display_name: str + """ + + self._display_name = display_name + + @property + def revert_display_name(self): + """Gets the revert_display_name of this UpdateUserRequest. # noqa: E501 + + MUST specify currentPassword as well to revert display name # noqa: E501 + + :return: The revert_display_name of this UpdateUserRequest. # noqa: E501 + :rtype: bool + """ + return self._revert_display_name + + @revert_display_name.setter + def revert_display_name(self, revert_display_name): + """Sets the revert_display_name of this UpdateUserRequest. + + MUST specify currentPassword as well to revert display name # noqa: E501 + + :param revert_display_name: The revert_display_name of this UpdateUserRequest. # noqa: E501 + :type revert_display_name: bool + """ + + self._revert_display_name = revert_display_name + + @property + def password(self): + """Gets the password of this UpdateUserRequest. # noqa: E501 + + MUST specify currentPassword as well to change password # noqa: E501 + + :return: The password of this UpdateUserRequest. # noqa: E501 + :rtype: str + """ + return self._password + + @password.setter + def password(self, password): + """Sets the password of this UpdateUserRequest. + + MUST specify currentPassword as well to change password # noqa: E501 + + :param password: The password of this UpdateUserRequest. # noqa: E501 + :type password: str + """ + + self._password = password + + @property + def current_password(self): + """Gets the current_password of this UpdateUserRequest. # noqa: E501 + + + :return: The current_password of this UpdateUserRequest. # noqa: E501 + :rtype: str + """ + return self._current_password + + @current_password.setter + def current_password(self, current_password): + """Sets the current_password of this UpdateUserRequest. + + + :param current_password: The current_password of this UpdateUserRequest. # noqa: E501 + :type current_password: str + """ + + self._current_password = current_password + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index 9e7d4118..91cd2197 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index 111579ac..8930e32d 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index 6e931828..bfcbe1d9 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_note.py b/vrchatapi/models/user_note.py index 9d63c9cc..794648b0 100644 --- a/vrchatapi/models/user_note.py +++ b/vrchatapi/models/user_note.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_note_target_user.py b/vrchatapi/models/user_note_target_user.py index 3bb2ff8e..8f78fbe9 100644 --- a/vrchatapi/models/user_note_target_user.py +++ b/vrchatapi/models/user_note_target_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index 5e9b7fb7..b9ee257a 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index 7e02ed76..da0a45db 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index b9448e42..0c84bb8b 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_email_code_result.py b/vrchatapi/models/verify2_fa_email_code_result.py index a15694ee..dc03dff5 100644 --- a/vrchatapi/models/verify2_fa_email_code_result.py +++ b/vrchatapi/models/verify2_fa_email_code_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index 9c056b14..4745ee78 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,23 +36,28 @@ class Verify2FAResult(object): and the value is json key in definition. """ openapi_types = { - 'verified': 'bool' + 'verified': 'bool', + 'enabled': 'bool' } attribute_map = { - 'verified': 'verified' + 'verified': 'verified', + 'enabled': 'enabled' } - def __init__(self, verified=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, verified=None, enabled=True, local_vars_configuration=None): # noqa: E501 """Verify2FAResult - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._verified = None + self._enabled = None self.discriminator = None self.verified = verified + if enabled is not None: + self.enabled = enabled @property def verified(self): @@ -77,6 +82,27 @@ def verified(self, verified): self._verified = verified + @property + def enabled(self): + """Gets the enabled of this Verify2FAResult. # noqa: E501 + + + :return: The enabled of this Verify2FAResult. # noqa: E501 + :rtype: bool + """ + return self._enabled + + @enabled.setter + def enabled(self, enabled): + """Sets the enabled of this Verify2FAResult. + + + :param enabled: The enabled of this Verify2FAResult. # noqa: E501 + :type enabled: bool + """ + + self._enabled = enabled + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index af51c7f1..aa0df91e 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index 5e365a36..c80b525f 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -41,6 +41,7 @@ class World(object): 'capacity': 'int', 'recommended_capacity': 'int', 'created_at': 'datetime', + 'default_content_settings': 'InstanceContentSettings', 'description': 'str', 'favorites': 'int', 'featured': 'bool', @@ -59,6 +60,7 @@ class World(object): 'public_occupants': 'int', 'publication_date': 'str', 'release_status': 'ReleaseStatus', + 'store_id': 'str', 'tags': 'list[str]', 'thumbnail_image_url': 'str', 'unity_packages': 'list[UnityPackage]', @@ -75,6 +77,7 @@ class World(object): 'capacity': 'capacity', 'recommended_capacity': 'recommendedCapacity', 'created_at': 'created_at', + 'default_content_settings': 'defaultContentSettings', 'description': 'description', 'favorites': 'favorites', 'featured': 'featured', @@ -93,6 +96,7 @@ class World(object): 'public_occupants': 'publicOccupants', 'publication_date': 'publicationDate', 'release_status': 'releaseStatus', + 'store_id': 'storeId', 'tags': 'tags', 'thumbnail_image_url': 'thumbnailImageUrl', 'unity_packages': 'unityPackages', @@ -103,7 +107,7 @@ class World(object): 'udon_products': 'udonProducts' } - def __init__(self, author_id=None, author_name=None, capacity=None, recommended_capacity=None, created_at=None, description=None, favorites=0, featured=False, heat=0, id=None, image_url=None, instances=None, labs_publication_date=None, name=None, namespace=None, occupants=0, organization='vrchat', popularity=0, preview_youtube_id=None, private_occupants=0, public_occupants=0, publication_date=None, release_status=None, tags=None, thumbnail_image_url=None, unity_packages=None, updated_at=None, url_list=None, version=0, visits=0, udon_products=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, author_id=None, author_name=None, capacity=None, recommended_capacity=None, created_at=None, default_content_settings=None, description=None, favorites=0, featured=False, heat=0, id=None, image_url=None, instances=None, labs_publication_date=None, name=None, namespace=None, occupants=0, organization='vrchat', popularity=0, preview_youtube_id=None, private_occupants=0, public_occupants=0, publication_date=None, release_status=None, store_id=None, tags=None, thumbnail_image_url=None, unity_packages=None, updated_at=None, url_list=None, version=0, visits=0, udon_products=None, local_vars_configuration=None): # noqa: E501 """World - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -114,6 +118,7 @@ def __init__(self, author_id=None, author_name=None, capacity=None, recommended_ self._capacity = None self._recommended_capacity = None self._created_at = None + self._default_content_settings = None self._description = None self._favorites = None self._featured = None @@ -132,6 +137,7 @@ def __init__(self, author_id=None, author_name=None, capacity=None, recommended_ self._public_occupants = None self._publication_date = None self._release_status = None + self._store_id = None self._tags = None self._thumbnail_image_url = None self._unity_packages = None @@ -147,6 +153,8 @@ def __init__(self, author_id=None, author_name=None, capacity=None, recommended_ self.capacity = capacity self.recommended_capacity = recommended_capacity self.created_at = created_at + if default_content_settings is not None: + self.default_content_settings = default_content_settings self.description = description if favorites is not None: self.favorites = favorites @@ -171,6 +179,8 @@ def __init__(self, author_id=None, author_name=None, capacity=None, recommended_ self.public_occupants = public_occupants self.publication_date = publication_date self.release_status = release_status + if store_id is not None: + self.store_id = store_id self.tags = tags self.thumbnail_image_url = thumbnail_image_url if unity_packages is not None: @@ -303,6 +313,27 @@ def created_at(self, created_at): self._created_at = created_at + @property + def default_content_settings(self): + """Gets the default_content_settings of this World. # noqa: E501 + + + :return: The default_content_settings of this World. # noqa: E501 + :rtype: InstanceContentSettings + """ + return self._default_content_settings + + @default_content_settings.setter + def default_content_settings(self, default_content_settings): + """Sets the default_content_settings of this World. + + + :param default_content_settings: The default_content_settings of this World. # noqa: E501 + :type default_content_settings: InstanceContentSettings + """ + + self._default_content_settings = default_content_settings + @property def description(self): """Gets the description of this World. # noqa: E501 @@ -749,6 +780,27 @@ def release_status(self, release_status): self._release_status = release_status + @property + def store_id(self): + """Gets the store_id of this World. # noqa: E501 + + + :return: The store_id of this World. # noqa: E501 + :rtype: str + """ + return self._store_id + + @store_id.setter + def store_id(self, store_id): + """Sets the store_id of this World. + + + :param store_id: The store_id of this World. # noqa: E501 + :type store_id: str + """ + + self._store_id = store_id + @property def tags(self): """Gets the tags of this World. # noqa: E501 diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index b2611885..6530ee74 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index 76fd9915..e1a9e679 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index ece2d5f1..1c71e3b4 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.2 + The version of the OpenAPI document: 1.19.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ From 88ab88c119a4bfd18d27abf2672d72d466a12ca1 Mon Sep 17 00:00:00 2001 From: VRCCat Date: Tue, 3 Jun 2025 02:22:36 +0000 Subject: [PATCH 072/102] Upgrade Python SDK to spec 1.19.4 --- .openapi-generator/FILES | 8 +- docs/GroupsApi.md | 78 +++++ docs/{SystemApi.md => MiscellaneousApi.md} | 190 +++++++++-- docs/PermissionsApi.md | 154 --------- docs/UpdateGroupRepresentationRequest.md | 11 + setup.py | 4 +- vrchatapi/__init__.py | 6 +- vrchatapi/api/__init__.py | 3 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/groups_api.py | 159 ++++++++- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/jams_api.py | 2 +- .../{system_api.py => miscellaneous_api.py} | 270 +++++++++++++++- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/permissions_api.py | 303 ------------------ vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/prints_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 +- vrchatapi/exceptions.py | 2 +- vrchatapi/models/__init__.py | 3 +- vrchatapi/models/account_deletion_log.py | 2 +- vrchatapi/models/add_favorite_request.py | 2 +- .../models/add_group_gallery_image_request.py | 2 +- vrchatapi/models/age_verification_status.py | 2 +- vrchatapi/models/api_config.py | 2 +- .../models/api_config_access_logs_urls.py | 2 +- vrchatapi/models/api_config_announcement.py | 2 +- .../models/api_config_avatar_perf_limiter.py | 2 +- vrchatapi/models/api_config_constants.py | 2 +- .../models/api_config_constants_groups.py | 2 +- .../models/api_config_constants_instance.py | 2 +- ...ig_constants_instancepopulationbrackets.py | 2 +- ...tants_instancepopulationbracketscrowded.py | 2 +- ...constants_instancepopulationbracketsfew.py | 2 +- ...onstants_instancepopulationbracketsmany.py | 2 +- .../models/api_config_constants_language.py | 2 +- .../models/api_config_download_url_list.py | 2 +- vrchatapi/models/api_config_events.py | 2 +- ...onfig_min_supported_client_build_number.py | 2 +- .../models/api_config_offline_analysis.py | 2 +- .../models/api_config_report_categories.py | 2 +- vrchatapi/models/api_config_report_options.py | 2 +- .../api_config_report_options_avatar.py | 2 +- .../models/api_config_report_options_group.py | 2 +- .../models/api_config_report_options_user.py | 2 +- .../models/api_config_report_options_world.py | 2 +- vrchatapi/models/api_config_report_reasons.py | 2 +- vrchatapi/models/api_health.py | 2 +- vrchatapi/models/avatar.py | 2 +- .../models/avatar_published_listings_inner.py | 2 +- vrchatapi/models/avatar_styles.py | 2 +- .../models/avatar_unity_package_url_object.py | 2 +- vrchatapi/models/badge.py | 2 +- vrchatapi/models/balance.py | 2 +- vrchatapi/models/ban_group_member_request.py | 2 +- vrchatapi/models/change_user_tags_request.py | 2 +- vrchatapi/models/create_avatar_request.py | 2 +- vrchatapi/models/create_file_request.py | 2 +- .../models/create_file_version_request.py | 2 +- .../create_group_announcement_request.py | 2 +- .../models/create_group_gallery_request.py | 2 +- .../models/create_group_invite_request.py | 2 +- vrchatapi/models/create_group_post_request.py | 2 +- vrchatapi/models/create_group_request.py | 2 +- vrchatapi/models/create_group_role_request.py | 2 +- vrchatapi/models/create_instance_request.py | 2 +- vrchatapi/models/create_world_request.py | 2 +- vrchatapi/models/current_user.py | 2 +- .../current_user_platform_history_inner.py | 2 +- vrchatapi/models/current_user_presence.py | 2 +- vrchatapi/models/developer_type.py | 2 +- vrchatapi/models/disable2_fa_result.py | 2 +- vrchatapi/models/dynamic_content_row.py | 2 +- vrchatapi/models/error.py | 2 +- vrchatapi/models/favorite.py | 2 +- vrchatapi/models/favorite_group.py | 2 +- vrchatapi/models/favorite_group_limits.py | 2 +- vrchatapi/models/favorite_group_visibility.py | 2 +- vrchatapi/models/favorite_limits.py | 2 +- vrchatapi/models/favorite_type.py | 2 +- vrchatapi/models/favorited_world.py | 2 +- vrchatapi/models/feedback.py | 2 +- vrchatapi/models/file.py | 2 +- vrchatapi/models/file_analysis.py | 2 +- .../models/file_analysis_avatar_stats.py | 2 +- vrchatapi/models/file_data.py | 2 +- vrchatapi/models/file_status.py | 2 +- vrchatapi/models/file_upload_url.py | 2 +- vrchatapi/models/file_version.py | 2 +- .../models/file_version_upload_status.py | 2 +- .../models/finish_file_data_upload_request.py | 2 +- vrchatapi/models/friend_status.py | 2 +- .../models/get_group_posts200_response.py | 2 +- .../get_user_group_instances200_response.py | 2 +- vrchatapi/models/group.py | 2 +- vrchatapi/models/group_access_type.py | 2 +- vrchatapi/models/group_announcement.py | 2 +- vrchatapi/models/group_audit_log_entry.py | 2 +- vrchatapi/models/group_gallery.py | 2 +- vrchatapi/models/group_gallery_image.py | 2 +- vrchatapi/models/group_instance.py | 2 +- vrchatapi/models/group_join_request_action.py | 2 +- vrchatapi/models/group_join_state.py | 2 +- vrchatapi/models/group_limited_member.py | 2 +- vrchatapi/models/group_member.py | 2 +- vrchatapi/models/group_member_limited_user.py | 2 +- vrchatapi/models/group_member_status.py | 2 +- vrchatapi/models/group_my_member.py | 2 +- vrchatapi/models/group_permission.py | 2 +- vrchatapi/models/group_permissions.py | 2 +- vrchatapi/models/group_post.py | 2 +- vrchatapi/models/group_post_visibility.py | 2 +- vrchatapi/models/group_privacy.py | 2 +- vrchatapi/models/group_role.py | 2 +- vrchatapi/models/group_role_template.py | 2 +- .../models/group_role_template_values.py | 2 +- .../group_role_template_values_roles.py | 2 +- vrchatapi/models/group_search_sort.py | 2 +- vrchatapi/models/group_user_visibility.py | 2 +- vrchatapi/models/info_push.py | 2 +- vrchatapi/models/info_push_data.py | 2 +- vrchatapi/models/info_push_data_article.py | 2 +- .../models/info_push_data_article_content.py | 2 +- vrchatapi/models/info_push_data_clickable.py | 2 +- vrchatapi/models/instance.py | 2 +- vrchatapi/models/instance_content_settings.py | 2 +- vrchatapi/models/instance_platforms.py | 2 +- vrchatapi/models/instance_region.py | 2 +- .../models/instance_short_name_response.py | 2 +- vrchatapi/models/instance_type.py | 2 +- vrchatapi/models/invite_message.py | 2 +- vrchatapi/models/invite_message_type.py | 2 +- vrchatapi/models/invite_request.py | 2 +- vrchatapi/models/invite_response.py | 2 +- vrchatapi/models/jam.py | 2 +- vrchatapi/models/jam_state_change_dates.py | 2 +- vrchatapi/models/license.py | 2 +- vrchatapi/models/license_action.py | 2 +- vrchatapi/models/license_group.py | 2 +- vrchatapi/models/license_type.py | 2 +- vrchatapi/models/limited_group.py | 2 +- vrchatapi/models/limited_unity_package.py | 2 +- vrchatapi/models/limited_user.py | 2 +- vrchatapi/models/limited_user_groups.py | 2 +- vrchatapi/models/limited_world.py | 2 +- vrchatapi/models/mime_type.py | 2 +- vrchatapi/models/model_print.py | 2 +- vrchatapi/models/moderate_user_request.py | 2 +- vrchatapi/models/notification.py | 2 +- .../models/notification_detail_invite.py | 2 +- .../notification_detail_invite_response.py | 2 +- .../notification_detail_request_invite.py | 2 +- ...fication_detail_request_invite_response.py | 2 +- .../notification_detail_vote_to_kick.py | 2 +- vrchatapi/models/notification_type.py | 2 +- vrchatapi/models/order_option.py | 2 +- .../paginated_group_audit_log_entry_list.py | 2 +- vrchatapi/models/past_display_name.py | 2 +- vrchatapi/models/pending2_fa_result.py | 2 +- vrchatapi/models/performance_limiter_info.py | 2 +- vrchatapi/models/performance_ratings.py | 2 +- vrchatapi/models/permission.py | 2 +- vrchatapi/models/platform_build_info.py | 2 +- vrchatapi/models/player_moderation.py | 2 +- vrchatapi/models/player_moderation_type.py | 2 +- vrchatapi/models/print_files.py | 2 +- vrchatapi/models/product.py | 2 +- vrchatapi/models/product_listing.py | 2 +- vrchatapi/models/product_listing_type.py | 2 +- vrchatapi/models/product_listing_variant.py | 2 +- vrchatapi/models/product_type.py | 2 +- vrchatapi/models/region.py | 2 +- .../models/register_user_account_request.py | 2 +- vrchatapi/models/release_status.py | 2 +- vrchatapi/models/report_category.py | 2 +- vrchatapi/models/report_reason.py | 2 +- vrchatapi/models/represented_group.py | 2 +- vrchatapi/models/request_invite_request.py | 2 +- .../models/respond_group_join_request.py | 2 +- vrchatapi/models/response.py | 2 +- vrchatapi/models/sent_notification.py | 2 +- vrchatapi/models/service_queue_stats.py | 2 +- vrchatapi/models/service_status.py | 2 +- vrchatapi/models/sort_option.py | 2 +- vrchatapi/models/submission.py | 2 +- vrchatapi/models/subscription.py | 2 +- vrchatapi/models/subscription_period.py | 2 +- vrchatapi/models/success.py | 2 +- vrchatapi/models/tilia_status.py | 2 +- vrchatapi/models/tilia_tos.py | 2 +- vrchatapi/models/token_bundle.py | 2 +- vrchatapi/models/transaction.py | 2 +- vrchatapi/models/transaction_agreement.py | 2 +- vrchatapi/models/transaction_status.py | 2 +- vrchatapi/models/transaction_steam_info.py | 2 +- .../models/transaction_steam_wallet_info.py | 2 +- vrchatapi/models/two_factor_auth_code.py | 2 +- vrchatapi/models/two_factor_email_code.py | 2 +- vrchatapi/models/two_factor_recovery_codes.py | 2 +- .../two_factor_recovery_codes_otp_inner.py | 2 +- vrchatapi/models/unity_package.py | 2 +- vrchatapi/models/update_avatar_request.py | 2 +- .../models/update_favorite_group_request.py | 2 +- .../models/update_group_gallery_request.py | 2 +- .../models/update_group_member_request.py | 2 +- .../update_group_representation_request.py | 134 ++++++++ vrchatapi/models/update_group_request.py | 2 +- vrchatapi/models/update_group_role_request.py | 2 +- .../models/update_invite_message_request.py | 2 +- vrchatapi/models/update_user_badge_request.py | 2 +- vrchatapi/models/update_user_note_request.py | 2 +- vrchatapi/models/update_user_request.py | 2 +- vrchatapi/models/update_world_request.py | 2 +- vrchatapi/models/user.py | 2 +- vrchatapi/models/user_exists.py | 2 +- vrchatapi/models/user_note.py | 2 +- vrchatapi/models/user_note_target_user.py | 2 +- vrchatapi/models/user_state.py | 2 +- vrchatapi/models/user_status.py | 2 +- vrchatapi/models/user_subscription.py | 2 +- .../models/verify2_fa_email_code_result.py | 2 +- vrchatapi/models/verify2_fa_result.py | 2 +- vrchatapi/models/verify_auth_token_result.py | 2 +- vrchatapi/models/world.py | 2 +- vrchatapi/models/world_metadata.py | 2 +- vrchatapi/models/world_publish_status.py | 2 +- vrchatapi/rest.py | 2 +- 236 files changed, 1053 insertions(+), 718 deletions(-) rename docs/{SystemApi.md => MiscellaneousApi.md} (67%) delete mode 100644 docs/PermissionsApi.md create mode 100644 docs/UpdateGroupRepresentationRequest.md rename vrchatapi/api/{system_api.py => miscellaneous_api.py} (78%) delete mode 100644 vrchatapi/api/permissions_api.py create mode 100644 vrchatapi/models/update_group_representation_request.py diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 1e705e16..b615fd6e 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -135,6 +135,7 @@ docs/LimitedUser.md docs/LimitedUserGroups.md docs/LimitedWorld.md docs/MIMEType.md +docs/MiscellaneousApi.md docs/ModelPrint.md docs/ModerateUserRequest.md docs/Notification.md @@ -152,7 +153,6 @@ docs/Pending2FAResult.md docs/PerformanceLimiterInfo.md docs/PerformanceRatings.md docs/Permission.md -docs/PermissionsApi.md docs/PlatformBuildInfo.md docs/PlayerModeration.md docs/PlayerModerationType.md @@ -181,7 +181,6 @@ docs/Submission.md docs/Subscription.md docs/SubscriptionPeriod.md docs/Success.md -docs/SystemApi.md docs/TiliaStatus.md docs/TiliaTOS.md docs/TokenBundle.md @@ -199,6 +198,7 @@ docs/UpdateAvatarRequest.md docs/UpdateFavoriteGroupRequest.md docs/UpdateGroupGalleryRequest.md docs/UpdateGroupMemberRequest.md +docs/UpdateGroupRepresentationRequest.md docs/UpdateGroupRequest.md docs/UpdateGroupRoleRequest.md docs/UpdateInviteMessageRequest.md @@ -239,11 +239,10 @@ vrchatapi/api/groups_api.py vrchatapi/api/instances_api.py vrchatapi/api/invite_api.py vrchatapi/api/jams_api.py +vrchatapi/api/miscellaneous_api.py vrchatapi/api/notifications_api.py -vrchatapi/api/permissions_api.py vrchatapi/api/playermoderation_api.py vrchatapi/api/prints_api.py -vrchatapi/api/system_api.py vrchatapi/api/users_api.py vrchatapi/api/worlds_api.py vrchatapi/api_client.py @@ -435,6 +434,7 @@ vrchatapi/models/update_avatar_request.py vrchatapi/models/update_favorite_group_request.py vrchatapi/models/update_group_gallery_request.py vrchatapi/models/update_group_member_request.py +vrchatapi/models/update_group_representation_request.py vrchatapi/models/update_group_request.py vrchatapi/models/update_group_role_request.py vrchatapi/models/update_invite_message_request.py diff --git a/docs/GroupsApi.md b/docs/GroupsApi.md index 333a5942..9fb3ced3 100644 --- a/docs/GroupsApi.md +++ b/docs/GroupsApi.md @@ -46,6 +46,7 @@ Method | HTTP request | Description [**update_group_gallery**](GroupsApi.md#update_group_gallery) | **PUT** /groups/{groupId}/galleries/{groupGalleryId} | Update Group Gallery [**update_group_member**](GroupsApi.md#update_group_member) | **PUT** /groups/{groupId}/members/{userId} | Update Group Member [**update_group_post**](GroupsApi.md#update_group_post) | **PUT** /groups/{groupId}/posts/{notificationId} | Edits a Group post +[**update_group_representation**](GroupsApi.md#update_group_representation) | **PUT** /groups/{groupId}/representation | Update Group Representation [**update_group_role**](GroupsApi.md#update_group_role) | **PUT** /groups/{groupId}/roles/{groupRoleId} | Update Group Role @@ -3302,6 +3303,83 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **update_group_representation** +> Success update_group_representation(group_id, update_group_representation_request) + +Update Group Representation + +Updates whether the user is representing the group. When `isRepresenting` is set to `true`, this flag will be set to `false` for all other groups + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +update_group_representation_request = vrchatapi.UpdateGroupRepresentationRequest() # UpdateGroupRepresentationRequest | + + try: + # Update Group Representation + api_response = api_instance.update_group_representation(group_id, update_group_representation_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->update_group_representation: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **update_group_representation_request** | [**UpdateGroupRepresentationRequest**](UpdateGroupRepresentationRequest.md)| | + +### Return type + +[**Success**](Success.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response after updating group representation. | - | +**401** | Error response due to missing auth cookie. | - | +**403** | Error response when trying to perform operations on a group you are not member of. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **update_group_role** > list[GroupRole] update_group_role(group_id, group_role_id, update_group_role_request=update_group_role_request) diff --git a/docs/SystemApi.md b/docs/MiscellaneousApi.md similarity index 67% rename from docs/SystemApi.md rename to docs/MiscellaneousApi.md index c094dddc..1acb32c7 100644 --- a/docs/SystemApi.md +++ b/docs/MiscellaneousApi.md @@ -1,18 +1,90 @@ -# vrchatapi.SystemApi +# vrchatapi.MiscellaneousApi All URIs are relative to *https://api.vrchat.cloud/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- -[**get_config**](SystemApi.md#get_config) | **GET** /config | Fetch API Config -[**get_css**](SystemApi.md#get_css) | **GET** /css/app.css | Download CSS -[**get_current_online_users**](SystemApi.md#get_current_online_users) | **GET** /visits | Current Online Users -[**get_health**](SystemApi.md#get_health) | **GET** /health | Check API Health -[**get_info_push**](SystemApi.md#get_info_push) | **GET** /infoPush | Show Information Notices -[**get_java_script**](SystemApi.md#get_java_script) | **GET** /js/app.js | Download JavaScript -[**get_system_time**](SystemApi.md#get_system_time) | **GET** /time | Current System Time +[**get_assigned_permissions**](MiscellaneousApi.md#get_assigned_permissions) | **GET** /auth/permissions | Get Assigned Permissions +[**get_config**](MiscellaneousApi.md#get_config) | **GET** /config | Fetch API Config +[**get_css**](MiscellaneousApi.md#get_css) | **GET** /css/app.css | Download CSS +[**get_current_online_users**](MiscellaneousApi.md#get_current_online_users) | **GET** /visits | Current Online Users +[**get_health**](MiscellaneousApi.md#get_health) | **GET** /health | Check API Health +[**get_info_push**](MiscellaneousApi.md#get_info_push) | **GET** /infoPush | Show Information Notices +[**get_java_script**](MiscellaneousApi.md#get_java_script) | **GET** /js/app.js | Download JavaScript +[**get_permission**](MiscellaneousApi.md#get_permission) | **GET** /permissions/{permissionId} | Get Permission +[**get_system_time**](MiscellaneousApi.md#get_system_time) | **GET** /time | Current System Time +# **get_assigned_permissions** +> list[Permission] get_assigned_permissions() + +Get Assigned Permissions + +Returns a list of all permissions currently granted by the user. Permissions are assigned e.g. by subscribing to VRC+. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.MiscellaneousApi(api_client) + + try: + # Get Assigned Permissions + api_response = api_instance.get_assigned_permissions() + pprint(api_response) + except ApiException as e: + print("Exception when calling MiscellaneousApi->get_assigned_permissions: %s\n" % e) +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**list[Permission]**](Permission.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of Permission objects. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_config** > APIConfig get_config() @@ -38,14 +110,14 @@ configuration = vrchatapi.Configuration( # Enter a context with an instance of the API client with vrchatapi.ApiClient() as api_client: # Create an instance of the API class - api_instance = vrchatapi.SystemApi(api_client) + api_instance = vrchatapi.MiscellaneousApi(api_client) try: # Fetch API Config api_response = api_instance.get_config() pprint(api_response) except ApiException as e: - print("Exception when calling SystemApi->get_config: %s\n" % e) + print("Exception when calling MiscellaneousApi->get_config: %s\n" % e) ``` ### Parameters @@ -96,7 +168,7 @@ configuration = vrchatapi.Configuration( # Enter a context with an instance of the API client with vrchatapi.ApiClient() as api_client: # Create an instance of the API class - api_instance = vrchatapi.SystemApi(api_client) + api_instance = vrchatapi.MiscellaneousApi(api_client) variant = 'public' # str | Specifies which `variant` of the site. Public is the end-user site, while `internal` is the staff-only site with special pages for moderation and management. (optional) (default to 'public') branch = 'main' # str | Specifies which git branch the site should load frontend source code from. (optional) (default to 'main') @@ -105,7 +177,7 @@ branch = 'main' # str | Specifies which git branch the site should load frontend api_response = api_instance.get_css(variant=variant, branch=branch) pprint(api_response) except ApiException as e: - print("Exception when calling SystemApi->get_css: %s\n" % e) + print("Exception when calling MiscellaneousApi->get_css: %s\n" % e) ``` ### Parameters @@ -161,14 +233,14 @@ configuration = vrchatapi.Configuration( # Enter a context with an instance of the API client with vrchatapi.ApiClient() as api_client: # Create an instance of the API class - api_instance = vrchatapi.SystemApi(api_client) + api_instance = vrchatapi.MiscellaneousApi(api_client) try: # Current Online Users api_response = api_instance.get_current_online_users() pprint(api_response) except ApiException as e: - print("Exception when calling SystemApi->get_current_online_users: %s\n" % e) + print("Exception when calling MiscellaneousApi->get_current_online_users: %s\n" % e) ``` ### Parameters @@ -219,14 +291,14 @@ configuration = vrchatapi.Configuration( # Enter a context with an instance of the API client with vrchatapi.ApiClient() as api_client: # Create an instance of the API class - api_instance = vrchatapi.SystemApi(api_client) + api_instance = vrchatapi.MiscellaneousApi(api_client) try: # Check API Health api_response = api_instance.get_health() pprint(api_response) except ApiException as e: - print("Exception when calling SystemApi->get_health: %s\n" % e) + print("Exception when calling MiscellaneousApi->get_health: %s\n" % e) ``` ### Parameters @@ -277,7 +349,7 @@ configuration = vrchatapi.Configuration( # Enter a context with an instance of the API client with vrchatapi.ApiClient() as api_client: # Create an instance of the API class - api_instance = vrchatapi.SystemApi(api_client) + api_instance = vrchatapi.MiscellaneousApi(api_client) require = 'require_example' # str | Tags to include (comma-separated). All of the tags needs to be present. (optional) include = 'include_example' # str | Tags to include (comma-separated). Any of the tags needs to be present. (optional) @@ -286,7 +358,7 @@ include = 'include_example' # str | Tags to include (comma-separated). Any of th api_response = api_instance.get_info_push(require=require, include=include) pprint(api_response) except ApiException as e: - print("Exception when calling SystemApi->get_info_push: %s\n" % e) + print("Exception when calling MiscellaneousApi->get_info_push: %s\n" % e) ``` ### Parameters @@ -341,7 +413,7 @@ configuration = vrchatapi.Configuration( # Enter a context with an instance of the API client with vrchatapi.ApiClient() as api_client: # Create an instance of the API class - api_instance = vrchatapi.SystemApi(api_client) + api_instance = vrchatapi.MiscellaneousApi(api_client) variant = 'public' # str | Specifies which `variant` of the site. Public is the end-user site, while `internal` is the staff-only site with special pages for moderation and management. (optional) (default to 'public') branch = 'main' # str | Specifies which git branch the site should load frontend source code from. (optional) (default to 'main') @@ -350,7 +422,7 @@ branch = 'main' # str | Specifies which git branch the site should load frontend api_response = api_instance.get_java_script(variant=variant, branch=branch) pprint(api_response) except ApiException as e: - print("Exception when calling SystemApi->get_java_script: %s\n" % e) + print("Exception when calling MiscellaneousApi->get_java_script: %s\n" % e) ``` ### Parameters @@ -381,6 +453,80 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_permission** +> Permission get_permission(permission_id) + +Get Permission + +Returns a single permission. This endpoint is pretty useless, as it returns the exact same information as `/auth/permissions`. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.MiscellaneousApi(api_client) + permission_id = 'permission_id_example' # str | Must be a valid permission ID. + + try: + # Get Permission + api_response = api_instance.get_permission(permission_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling MiscellaneousApi->get_permission: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **permission_id** | **str**| Must be a valid permission ID. | + +### Return type + +[**Permission**](Permission.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single Permission object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_system_time** > datetime get_system_time() @@ -406,14 +552,14 @@ configuration = vrchatapi.Configuration( # Enter a context with an instance of the API client with vrchatapi.ApiClient() as api_client: # Create an instance of the API class - api_instance = vrchatapi.SystemApi(api_client) + api_instance = vrchatapi.MiscellaneousApi(api_client) try: # Current System Time api_response = api_instance.get_system_time() pprint(api_response) except ApiException as e: - print("Exception when calling SystemApi->get_system_time: %s\n" % e) + print("Exception when calling MiscellaneousApi->get_system_time: %s\n" % e) ``` ### Parameters diff --git a/docs/PermissionsApi.md b/docs/PermissionsApi.md deleted file mode 100644 index d69cdce5..00000000 --- a/docs/PermissionsApi.md +++ /dev/null @@ -1,154 +0,0 @@ -# vrchatapi.PermissionsApi - -All URIs are relative to *https://api.vrchat.cloud/api/1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_assigned_permissions**](PermissionsApi.md#get_assigned_permissions) | **GET** /auth/permissions | Get Assigned Permissions -[**get_permission**](PermissionsApi.md#get_permission) | **GET** /permissions/{permissionId} | Get Permission - - -# **get_assigned_permissions** -> list[Permission] get_assigned_permissions() - -Get Assigned Permissions - -Returns a list of all permissions currently granted by the user. Permissions are assigned e.g. by subscribing to VRC+. - -### Example - -* Api Key Authentication (authCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.PermissionsApi(api_client) - - try: - # Get Assigned Permissions - api_response = api_instance.get_assigned_permissions() - pprint(api_response) - except ApiException as e: - print("Exception when calling PermissionsApi->get_assigned_permissions: %s\n" % e) -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**list[Permission]**](Permission.md) - -### Authorization - -[authCookie](../README.md#authCookie) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Returns a list of Permission objects. | - | -**401** | Error response due to missing auth cookie. | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_permission** -> Permission get_permission(permission_id) - -Get Permission - -Returns a single permission. This endpoint is pretty useless, as it returns the exact same information as `/auth/permissions`. - -### Example - -* Api Key Authentication (authCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.PermissionsApi(api_client) - permission_id = 'permission_id_example' # str | Must be a valid permission ID. - - try: - # Get Permission - api_response = api_instance.get_permission(permission_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling PermissionsApi->get_permission: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **permission_id** | **str**| Must be a valid permission ID. | - -### Return type - -[**Permission**](Permission.md) - -### Authorization - -[authCookie](../README.md#authCookie) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Returns a single Permission object. | - | -**401** | Error response due to missing auth cookie. | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/docs/UpdateGroupRepresentationRequest.md b/docs/UpdateGroupRepresentationRequest.md new file mode 100644 index 00000000..30d46523 --- /dev/null +++ b/docs/UpdateGroupRepresentationRequest.md @@ -0,0 +1,11 @@ +# UpdateGroupRepresentationRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**is_representing** | **bool** | Whether the user is representing the group. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/setup.py b/setup.py index f66ea031..af5b034f 100644 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.19.3" +VERSION = "1.19.4" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 82419219..1569ebf4 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,7 +6,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -27,11 +27,10 @@ from vrchatapi.api.instances_api import InstancesApi from vrchatapi.api.invite_api import InviteApi from vrchatapi.api.jams_api import JamsApi +from vrchatapi.api.miscellaneous_api import MiscellaneousApi from vrchatapi.api.notifications_api import NotificationsApi -from vrchatapi.api.permissions_api import PermissionsApi from vrchatapi.api.playermoderation_api import PlayermoderationApi from vrchatapi.api.prints_api import PrintsApi -from vrchatapi.api.system_api import SystemApi from vrchatapi.api.users_api import UsersApi from vrchatapi.api.worlds_api import WorldsApi @@ -230,6 +229,7 @@ from vrchatapi.models.update_favorite_group_request import UpdateFavoriteGroupRequest from vrchatapi.models.update_group_gallery_request import UpdateGroupGalleryRequest from vrchatapi.models.update_group_member_request import UpdateGroupMemberRequest +from vrchatapi.models.update_group_representation_request import UpdateGroupRepresentationRequest from vrchatapi.models.update_group_request import UpdateGroupRequest from vrchatapi.models.update_group_role_request import UpdateGroupRoleRequest from vrchatapi.models.update_invite_message_request import UpdateInviteMessageRequest diff --git a/vrchatapi/api/__init__.py b/vrchatapi/api/__init__.py index 6e5e9c8e..d7830164 100644 --- a/vrchatapi/api/__init__.py +++ b/vrchatapi/api/__init__.py @@ -13,10 +13,9 @@ from vrchatapi.api.instances_api import InstancesApi from vrchatapi.api.invite_api import InviteApi from vrchatapi.api.jams_api import JamsApi +from vrchatapi.api.miscellaneous_api import MiscellaneousApi from vrchatapi.api.notifications_api import NotificationsApi -from vrchatapi.api.permissions_api import PermissionsApi from vrchatapi.api.playermoderation_api import PlayermoderationApi from vrchatapi.api.prints_api import PrintsApi -from vrchatapi.api.system_api import SystemApi from vrchatapi.api.users_api import UsersApi from vrchatapi.api.worlds_api import WorldsApi diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index c246076a..97febc40 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index f0f03b53..d32ff263 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 40e5ceaa..3b7bffc4 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index f2df1121..742439e6 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index 97070553..508e8182 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index c4ecf140..a60600ac 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index bb6aa772..245e25ae 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -6483,6 +6483,163 @@ def update_group_post_with_http_info(self, group_id, notification_id, create_gro collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def update_group_representation(self, group_id, update_group_representation_request, **kwargs): # noqa: E501 + """Update Group Representation # noqa: E501 + + Updates whether the user is representing the group. When `isRepresenting` is set to `true`, this flag will be set to `false` for all other groups # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_group_representation(group_id, update_group_representation_request, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param update_group_representation_request: (required) + :type update_group_representation_request: UpdateGroupRepresentationRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Success + """ + kwargs['_return_http_data_only'] = True + return self.update_group_representation_with_http_info(group_id, update_group_representation_request, **kwargs) # noqa: E501 + + def update_group_representation_with_http_info(self, group_id, update_group_representation_request, **kwargs): # noqa: E501 + """Update Group Representation # noqa: E501 + + Updates whether the user is representing the group. When `isRepresenting` is set to `true`, this flag will be set to `false` for all other groups # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_group_representation_with_http_info(group_id, update_group_representation_request, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param update_group_representation_request: (required) + :type update_group_representation_request: UpdateGroupRepresentationRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Success, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id', + 'update_group_representation_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method update_group_representation" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `update_group_representation`") # noqa: E501 + # verify the required parameter 'update_group_representation_request' is set + if self.api_client.client_side_validation and local_var_params.get('update_group_representation_request') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `update_group_representation_request` when calling `update_group_representation`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'update_group_representation_request' in local_var_params: + body_params = local_var_params['update_group_representation_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'PUT', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "Success", + 401: "Error", + 403: "Error", + } + + return self.api_client.call_api( + '/groups/{groupId}/representation', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def update_group_role(self, group_id, group_role_id, **kwargs): # noqa: E501 """Update Group Role # noqa: E501 diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index a2a66efb..e6436588 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index a69aae4a..1c9d7426 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/jams_api.py b/vrchatapi/api/jams_api.py index b64c349c..ebc9f1af 100644 --- a/vrchatapi/api/jams_api.py +++ b/vrchatapi/api/jams_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/system_api.py b/vrchatapi/api/miscellaneous_api.py similarity index 78% rename from vrchatapi/api/system_api.py rename to vrchatapi/api/miscellaneous_api.py index ae1d16f4..5a00ddbc 100644 --- a/vrchatapi/api/system_api.py +++ b/vrchatapi/api/miscellaneous_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -24,7 +24,7 @@ ) -class SystemApi(object): +class MiscellaneousApi(object): """NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech @@ -36,6 +36,134 @@ def __init__(self, api_client=None): api_client = ApiClient() self.api_client = api_client + def get_assigned_permissions(self, **kwargs): # noqa: E501 + """Get Assigned Permissions # noqa: E501 + + Returns a list of all permissions currently granted by the user. Permissions are assigned e.g. by subscribing to VRC+. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_assigned_permissions(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[Permission] + """ + kwargs['_return_http_data_only'] = True + return self.get_assigned_permissions_with_http_info(**kwargs) # noqa: E501 + + def get_assigned_permissions_with_http_info(self, **kwargs): # noqa: E501 + """Get Assigned Permissions # noqa: E501 + + Returns a list of all permissions currently granted by the user. Permissions are assigned e.g. by subscribing to VRC+. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_assigned_permissions_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[Permission], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_assigned_permissions" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[Permission]", + 401: "Error", + } + + return self.api_client.call_api( + '/auth/permissions', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def get_config(self, **kwargs): # noqa: E501 """Fetch API Config # noqa: E501 @@ -842,6 +970,144 @@ def get_java_script_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def get_permission(self, permission_id, **kwargs): # noqa: E501 + """Get Permission # noqa: E501 + + Returns a single permission. This endpoint is pretty useless, as it returns the exact same information as `/auth/permissions`. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_permission(permission_id, async_req=True) + >>> result = thread.get() + + :param permission_id: Must be a valid permission ID. (required) + :type permission_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Permission + """ + kwargs['_return_http_data_only'] = True + return self.get_permission_with_http_info(permission_id, **kwargs) # noqa: E501 + + def get_permission_with_http_info(self, permission_id, **kwargs): # noqa: E501 + """Get Permission # noqa: E501 + + Returns a single permission. This endpoint is pretty useless, as it returns the exact same information as `/auth/permissions`. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_permission_with_http_info(permission_id, async_req=True) + >>> result = thread.get() + + :param permission_id: Must be a valid permission ID. (required) + :type permission_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Permission, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'permission_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_permission" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'permission_id' is set + if self.api_client.client_side_validation and local_var_params.get('permission_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `permission_id` when calling `get_permission`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'permission_id' in local_var_params: + path_params['permissionId'] = local_var_params['permission_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "Permission", + 401: "Error", + } + + return self.api_client.call_api( + '/permissions/{permissionId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def get_system_time(self, **kwargs): # noqa: E501 """Current System Time # noqa: E501 diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index 4ad5fee5..2c087ae8 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/permissions_api.py b/vrchatapi/api/permissions_api.py deleted file mode 100644 index f28c5f34..00000000 --- a/vrchatapi/api/permissions_api.py +++ /dev/null @@ -1,303 +0,0 @@ -# coding: utf-8 - -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.19.3 - Contact: vrchatapi.lpv0t@aries.fyi - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import re # noqa: F401 - -# python 2 and python 3 compatibility library -import six - -from vrchatapi.api_client import ApiClient -from vrchatapi.exceptions import ( # noqa: F401 - ApiTypeError, - ApiValueError -) - - -class PermissionsApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - - def get_assigned_permissions(self, **kwargs): # noqa: E501 - """Get Assigned Permissions # noqa: E501 - - Returns a list of all permissions currently granted by the user. Permissions are assigned e.g. by subscribing to VRC+. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_assigned_permissions(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: list[Permission] - """ - kwargs['_return_http_data_only'] = True - return self.get_assigned_permissions_with_http_info(**kwargs) # noqa: E501 - - def get_assigned_permissions_with_http_info(self, **kwargs): # noqa: E501 - """Get Assigned Permissions # noqa: E501 - - Returns a list of all permissions currently granted by the user. Permissions are assigned e.g. by subscribing to VRC+. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_assigned_permissions_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _return_http_data_only: response data without head status code - and headers - :type _return_http_data_only: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(list[Permission], status_code(int), headers(HTTPHeaderDict)) - """ - - local_var_params = locals() - - all_params = [ - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method get_assigned_permissions" % key - ) - local_var_params[key] = val - del local_var_params['kwargs'] - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = dict(local_var_params.get('_headers', {})) - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['authCookie'] # noqa: E501 - - response_types_map = { - 200: "list[Permission]", - 401: "Error", - } - - return self.api_client.call_api( - '/auth/permissions', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_types_map=response_types_map, - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats, - _request_auth=local_var_params.get('_request_auth')) - - def get_permission(self, permission_id, **kwargs): # noqa: E501 - """Get Permission # noqa: E501 - - Returns a single permission. This endpoint is pretty useless, as it returns the exact same information as `/auth/permissions`. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_permission(permission_id, async_req=True) - >>> result = thread.get() - - :param permission_id: Must be a valid permission ID. (required) - :type permission_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: Permission - """ - kwargs['_return_http_data_only'] = True - return self.get_permission_with_http_info(permission_id, **kwargs) # noqa: E501 - - def get_permission_with_http_info(self, permission_id, **kwargs): # noqa: E501 - """Get Permission # noqa: E501 - - Returns a single permission. This endpoint is pretty useless, as it returns the exact same information as `/auth/permissions`. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_permission_with_http_info(permission_id, async_req=True) - >>> result = thread.get() - - :param permission_id: Must be a valid permission ID. (required) - :type permission_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _return_http_data_only: response data without head status code - and headers - :type _return_http_data_only: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(Permission, status_code(int), headers(HTTPHeaderDict)) - """ - - local_var_params = locals() - - all_params = [ - 'permission_id' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method get_permission" % key - ) - local_var_params[key] = val - del local_var_params['kwargs'] - # verify the required parameter 'permission_id' is set - if self.api_client.client_side_validation and local_var_params.get('permission_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `permission_id` when calling `get_permission`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'permission_id' in local_var_params: - path_params['permissionId'] = local_var_params['permission_id'] # noqa: E501 - - query_params = [] - - header_params = dict(local_var_params.get('_headers', {})) - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['authCookie'] # noqa: E501 - - response_types_map = { - 200: "Permission", - 401: "Error", - } - - return self.api_client.call_api( - '/permissions/{permissionId}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_types_map=response_types_map, - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats, - _request_auth=local_var_params.get('_request_auth')) diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index e6f734ef..88a9ecd9 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/prints_api.py b/vrchatapi/api/prints_api.py index 2c3fb85a..73acac5a 100644 --- a/vrchatapi/api/prints_api.py +++ b/vrchatapi/api/prints_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index 3f1f4a5a..ab795c2f 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 2f182210..92c076cd 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index ad3832b4..c1de1e30 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,7 +3,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index 2b374933..41262a3c 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -441,7 +441,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.19.3\n"\ + "Version of the API: 1.19.4\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index 316d5bed..185364c4 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index 19144eb8..4accd051 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,7 +5,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -199,6 +199,7 @@ from vrchatapi.models.update_favorite_group_request import UpdateFavoriteGroupRequest from vrchatapi.models.update_group_gallery_request import UpdateGroupGalleryRequest from vrchatapi.models.update_group_member_request import UpdateGroupMemberRequest +from vrchatapi.models.update_group_representation_request import UpdateGroupRepresentationRequest from vrchatapi.models.update_group_request import UpdateGroupRequest from vrchatapi.models.update_group_role_request import UpdateGroupRoleRequest from vrchatapi.models.update_invite_message_request import UpdateInviteMessageRequest diff --git a/vrchatapi/models/account_deletion_log.py b/vrchatapi/models/account_deletion_log.py index ba92a5c9..6f2fd7f8 100644 --- a/vrchatapi/models/account_deletion_log.py +++ b/vrchatapi/models/account_deletion_log.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index 9ded2d7d..d1e65169 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index bed90cff..e0e2f75a 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/age_verification_status.py b/vrchatapi/models/age_verification_status.py index 3d7883ed..ff813f4d 100644 --- a/vrchatapi/models/age_verification_status.py +++ b/vrchatapi/models/age_verification_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index c297bf3f..c740fe3e 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_access_logs_urls.py b/vrchatapi/models/api_config_access_logs_urls.py index 9593258b..42cf4375 100644 --- a/vrchatapi/models/api_config_access_logs_urls.py +++ b/vrchatapi/models/api_config_access_logs_urls.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index 6b048149..96bd86bc 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_avatar_perf_limiter.py b/vrchatapi/models/api_config_avatar_perf_limiter.py index cd07f634..ed7edc08 100644 --- a/vrchatapi/models/api_config_avatar_perf_limiter.py +++ b/vrchatapi/models/api_config_avatar_perf_limiter.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants.py b/vrchatapi/models/api_config_constants.py index c066b700..156305d1 100644 --- a/vrchatapi/models/api_config_constants.py +++ b/vrchatapi/models/api_config_constants.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_groups.py b/vrchatapi/models/api_config_constants_groups.py index 8445266e..a99aabfd 100644 --- a/vrchatapi/models/api_config_constants_groups.py +++ b/vrchatapi/models/api_config_constants_groups.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instance.py b/vrchatapi/models/api_config_constants_instance.py index f46100eb..e386cc8d 100644 --- a/vrchatapi/models/api_config_constants_instance.py +++ b/vrchatapi/models/api_config_constants_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbrackets.py b/vrchatapi/models/api_config_constants_instancepopulationbrackets.py index 269d9423..8bef7988 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbrackets.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbrackets.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py b/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py index 58de5268..82a81b91 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py b/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py index d6c6df99..19a1e3de 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py b/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py index 1fe5b9d2..75f10e5f 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_language.py b/vrchatapi/models/api_config_constants_language.py index 84c0af8a..6c57a8b5 100644 --- a/vrchatapi/models/api_config_constants_language.py +++ b/vrchatapi/models/api_config_constants_language.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index 182a0a01..98fb7ec8 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index d8314782..df23371f 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_min_supported_client_build_number.py b/vrchatapi/models/api_config_min_supported_client_build_number.py index 04c24a25..5f96696c 100644 --- a/vrchatapi/models/api_config_min_supported_client_build_number.py +++ b/vrchatapi/models/api_config_min_supported_client_build_number.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_offline_analysis.py b/vrchatapi/models/api_config_offline_analysis.py index 5c0bfc3e..435d4402 100644 --- a/vrchatapi/models/api_config_offline_analysis.py +++ b/vrchatapi/models/api_config_offline_analysis.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_categories.py b/vrchatapi/models/api_config_report_categories.py index c2cc7335..667935f0 100644 --- a/vrchatapi/models/api_config_report_categories.py +++ b/vrchatapi/models/api_config_report_categories.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options.py b/vrchatapi/models/api_config_report_options.py index 0f6ea247..a8ac4d29 100644 --- a/vrchatapi/models/api_config_report_options.py +++ b/vrchatapi/models/api_config_report_options.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options_avatar.py b/vrchatapi/models/api_config_report_options_avatar.py index a21acdf7..c0747dcd 100644 --- a/vrchatapi/models/api_config_report_options_avatar.py +++ b/vrchatapi/models/api_config_report_options_avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options_group.py b/vrchatapi/models/api_config_report_options_group.py index 47f6430f..48ea1e90 100644 --- a/vrchatapi/models/api_config_report_options_group.py +++ b/vrchatapi/models/api_config_report_options_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options_user.py b/vrchatapi/models/api_config_report_options_user.py index 64ee6fdc..31c023a0 100644 --- a/vrchatapi/models/api_config_report_options_user.py +++ b/vrchatapi/models/api_config_report_options_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options_world.py b/vrchatapi/models/api_config_report_options_world.py index 484ba739..21b9e524 100644 --- a/vrchatapi/models/api_config_report_options_world.py +++ b/vrchatapi/models/api_config_report_options_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_reasons.py b/vrchatapi/models/api_config_report_reasons.py index 3fc605d7..96daa733 100644 --- a/vrchatapi/models/api_config_report_reasons.py +++ b/vrchatapi/models/api_config_report_reasons.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index a4aaac44..91afb24f 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index aca75007..c7b37bd1 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_published_listings_inner.py b/vrchatapi/models/avatar_published_listings_inner.py index 6a890d4c..daabfea3 100644 --- a/vrchatapi/models/avatar_published_listings_inner.py +++ b/vrchatapi/models/avatar_published_listings_inner.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_styles.py b/vrchatapi/models/avatar_styles.py index f4d1bf02..998eefe7 100644 --- a/vrchatapi/models/avatar_styles.py +++ b/vrchatapi/models/avatar_styles.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index b506519e..fa3ab97c 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/badge.py b/vrchatapi/models/badge.py index 7072a197..83bdda1e 100644 --- a/vrchatapi/models/badge.py +++ b/vrchatapi/models/badge.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/balance.py b/vrchatapi/models/balance.py index ec94d4e6..7939ecb9 100644 --- a/vrchatapi/models/balance.py +++ b/vrchatapi/models/balance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index 9bcd8a8e..53acff23 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/change_user_tags_request.py b/vrchatapi/models/change_user_tags_request.py index 7a60504f..9711cd96 100644 --- a/vrchatapi/models/change_user_tags_request.py +++ b/vrchatapi/models/change_user_tags_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index 70d479d4..47673e99 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index 0d2b3cba..6f6b1f53 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index 67f72c18..a7cfac8c 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index 71367105..00073c51 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index 260fe5df..d0b30a23 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index a499a7bc..60036506 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_post_request.py b/vrchatapi/models/create_group_post_request.py index 4142e5f9..eb913e48 100644 --- a/vrchatapi/models/create_group_post_request.py +++ b/vrchatapi/models/create_group_post_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index b4eaee49..20b355cf 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index 0351bcef..c123236a 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_instance_request.py b/vrchatapi/models/create_instance_request.py index 83106e55..b1df55ce 100644 --- a/vrchatapi/models/create_instance_request.py +++ b/vrchatapi/models/create_instance_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index db470d19..4883d6a3 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index 88984be9..999f3183 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user_platform_history_inner.py b/vrchatapi/models/current_user_platform_history_inner.py index 35674626..670a9f5f 100644 --- a/vrchatapi/models/current_user_platform_history_inner.py +++ b/vrchatapi/models/current_user_platform_history_inner.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user_presence.py b/vrchatapi/models/current_user_presence.py index cf70f808..2e096c14 100644 --- a/vrchatapi/models/current_user_presence.py +++ b/vrchatapi/models/current_user_presence.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index 684a6838..459c1924 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/disable2_fa_result.py b/vrchatapi/models/disable2_fa_result.py index 235b38f2..86e0a881 100644 --- a/vrchatapi/models/disable2_fa_result.py +++ b/vrchatapi/models/disable2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index 7a99f34b..43619f23 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index c96aef94..e587a5a8 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index 5e3365e9..df7d8184 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index fa512210..cdca7be8 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_limits.py b/vrchatapi/models/favorite_group_limits.py index ac3832b1..4add3c10 100644 --- a/vrchatapi/models/favorite_group_limits.py +++ b/vrchatapi/models/favorite_group_limits.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index 131279da..30b6c3f1 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_limits.py b/vrchatapi/models/favorite_limits.py index 29286750..a030b0d5 100644 --- a/vrchatapi/models/favorite_limits.py +++ b/vrchatapi/models/favorite_limits.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index c72541e6..8127e36e 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorited_world.py b/vrchatapi/models/favorited_world.py index 1f3927b1..c5f38813 100644 --- a/vrchatapi/models/favorited_world.py +++ b/vrchatapi/models/favorited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/feedback.py b/vrchatapi/models/feedback.py index cef98560..63d39fbd 100644 --- a/vrchatapi/models/feedback.py +++ b/vrchatapi/models/feedback.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index 01523ab7..aa6805ce 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_analysis.py b/vrchatapi/models/file_analysis.py index fe5d6632..66860ef9 100644 --- a/vrchatapi/models/file_analysis.py +++ b/vrchatapi/models/file_analysis.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_analysis_avatar_stats.py b/vrchatapi/models/file_analysis_avatar_stats.py index dcf9aad2..aae164f9 100644 --- a/vrchatapi/models/file_analysis_avatar_stats.py +++ b/vrchatapi/models/file_analysis_avatar_stats.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index db4612ea..fff1c081 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index ba5209da..55fef4b8 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index 9046821e..75f62b1e 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index 93991d04..a1b3ff73 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index 00b8d6d6..0a52232f 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index fb2f7263..42ed1e0c 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index e3ba980c..004e1934 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/get_group_posts200_response.py b/vrchatapi/models/get_group_posts200_response.py index d6884d5b..ddc458ef 100644 --- a/vrchatapi/models/get_group_posts200_response.py +++ b/vrchatapi/models/get_group_posts200_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/get_user_group_instances200_response.py b/vrchatapi/models/get_user_group_instances200_response.py index c6cffaa8..ed9fdcc9 100644 --- a/vrchatapi/models/get_user_group_instances200_response.py +++ b/vrchatapi/models/get_user_group_instances200_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index ac1b3b81..7e8464a5 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_access_type.py b/vrchatapi/models/group_access_type.py index f34312d9..54ff3e52 100644 --- a/vrchatapi/models/group_access_type.py +++ b/vrchatapi/models/group_access_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index 3022a7d3..e76f0ccf 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index fb040334..4ca7ee4f 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index 3152ac06..c87a630d 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index 34b8ba6a..813e9b96 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_instance.py b/vrchatapi/models/group_instance.py index 4a7d6f8b..1a02b3a4 100644 --- a/vrchatapi/models/group_instance.py +++ b/vrchatapi/models/group_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_request_action.py b/vrchatapi/models/group_join_request_action.py index 6cd1d6a5..bdb1e5d4 100644 --- a/vrchatapi/models/group_join_request_action.py +++ b/vrchatapi/models/group_join_request_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index 2b365ce4..8787fa41 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index 99d95608..e0cf0127 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index b15e8ed7..d268f66b 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index ab73acf8..b3b8b897 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index d9b953f8..9e0194b8 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index d3090a8e..692fce71 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index d85cf3d7..12b539ab 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permissions.py b/vrchatapi/models/group_permissions.py index a657f736..85e63c9d 100644 --- a/vrchatapi/models/group_permissions.py +++ b/vrchatapi/models/group_permissions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post.py b/vrchatapi/models/group_post.py index 052c5116..3e1ea5f7 100644 --- a/vrchatapi/models/group_post.py +++ b/vrchatapi/models/group_post.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post_visibility.py b/vrchatapi/models/group_post_visibility.py index 9d345229..144e54a2 100644 --- a/vrchatapi/models/group_post_visibility.py +++ b/vrchatapi/models/group_post_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index b59487fe..8de77d0c 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index 38f1aa62..9f72bb95 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index 98b1a359..f0e34cd7 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template_values.py b/vrchatapi/models/group_role_template_values.py index 8c328c9c..d63929e6 100644 --- a/vrchatapi/models/group_role_template_values.py +++ b/vrchatapi/models/group_role_template_values.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template_values_roles.py b/vrchatapi/models/group_role_template_values_roles.py index 124ea7b2..d6d15782 100644 --- a/vrchatapi/models/group_role_template_values_roles.py +++ b/vrchatapi/models/group_role_template_values_roles.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_search_sort.py b/vrchatapi/models/group_search_sort.py index 7e86e2c3..f4fec939 100644 --- a/vrchatapi/models/group_search_sort.py +++ b/vrchatapi/models/group_search_sort.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index 4836ca8e..803ec7be 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index ff10b7d8..503a9812 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index ed15e84b..7c3efc0f 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index 79110163..b9fc2feb 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index 7d58bef5..dea4f3cd 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index 47af13fa..b530c816 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index 85c8836f..d72d4f67 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_content_settings.py b/vrchatapi/models/instance_content_settings.py index 6fbe0993..febb6646 100644 --- a/vrchatapi/models/instance_content_settings.py +++ b/vrchatapi/models/instance_content_settings.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index 65ab938f..b75306f4 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_region.py b/vrchatapi/models/instance_region.py index 079cf2ab..5ba05ade 100644 --- a/vrchatapi/models/instance_region.py +++ b/vrchatapi/models/instance_region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index d424ac3c..0a5331c6 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index 0f5c3b34..3f75bdf7 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index 556bf5b5..893cbd00 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index 542bf115..2cf57c22 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index 4d727e31..a116e131 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index ec492395..007e4ef9 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/jam.py b/vrchatapi/models/jam.py index f88ec9a3..421c3cbb 100644 --- a/vrchatapi/models/jam.py +++ b/vrchatapi/models/jam.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/jam_state_change_dates.py b/vrchatapi/models/jam_state_change_dates.py index d95c3cfa..2c9e6b7a 100644 --- a/vrchatapi/models/jam_state_change_dates.py +++ b/vrchatapi/models/jam_state_change_dates.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index 340322b4..c72273d5 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index 2667d57e..4836a949 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index ad571bd0..c948ac19 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index 99f5938c..65933af8 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_group.py b/vrchatapi/models/limited_group.py index 976f5588..3ae1c8a0 100644 --- a/vrchatapi/models/limited_group.py +++ b/vrchatapi/models/limited_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index 04b36362..d0e0b840 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user.py b/vrchatapi/models/limited_user.py index c396ff46..d23c92fd 100644 --- a/vrchatapi/models/limited_user.py +++ b/vrchatapi/models/limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user_groups.py b/vrchatapi/models/limited_user_groups.py index 5b1d95df..b7130764 100644 --- a/vrchatapi/models/limited_user_groups.py +++ b/vrchatapi/models/limited_user_groups.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index f475d21b..b1eda5d1 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index 26a7f889..1a3a8c12 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/model_print.py b/vrchatapi/models/model_print.py index 1370dc59..dd389b81 100644 --- a/vrchatapi/models/model_print.py +++ b/vrchatapi/models/model_print.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index efc74a67..735bc24a 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index 6b26ad71..3969d0bd 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite.py b/vrchatapi/models/notification_detail_invite.py index 0534218d..f78338c7 100644 --- a/vrchatapi/models/notification_detail_invite.py +++ b/vrchatapi/models/notification_detail_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite_response.py b/vrchatapi/models/notification_detail_invite_response.py index 47865d25..bba97d62 100644 --- a/vrchatapi/models/notification_detail_invite_response.py +++ b/vrchatapi/models/notification_detail_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite.py b/vrchatapi/models/notification_detail_request_invite.py index 9370cc63..2aeff11d 100644 --- a/vrchatapi/models/notification_detail_request_invite.py +++ b/vrchatapi/models/notification_detail_request_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite_response.py b/vrchatapi/models/notification_detail_request_invite_response.py index a516cbeb..90601e3d 100644 --- a/vrchatapi/models/notification_detail_request_invite_response.py +++ b/vrchatapi/models/notification_detail_request_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_vote_to_kick.py b/vrchatapi/models/notification_detail_vote_to_kick.py index f7d73c6b..6a3f52c3 100644 --- a/vrchatapi/models/notification_detail_vote_to_kick.py +++ b/vrchatapi/models/notification_detail_vote_to_kick.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index f905ae06..964ee521 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index 7b78d627..0c2442ac 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index 4904533d..365a7cb5 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index 52322149..7e744b8c 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/pending2_fa_result.py b/vrchatapi/models/pending2_fa_result.py index 0bd1f757..e99e283d 100644 --- a/vrchatapi/models/pending2_fa_result.py +++ b/vrchatapi/models/pending2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/performance_limiter_info.py b/vrchatapi/models/performance_limiter_info.py index 02304323..1cf4a91c 100644 --- a/vrchatapi/models/performance_limiter_info.py +++ b/vrchatapi/models/performance_limiter_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/performance_ratings.py b/vrchatapi/models/performance_ratings.py index 1907312c..1801284f 100644 --- a/vrchatapi/models/performance_ratings.py +++ b/vrchatapi/models/performance_ratings.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index 2ede8354..9a4d0784 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/platform_build_info.py b/vrchatapi/models/platform_build_info.py index fee84d47..93c89bdf 100644 --- a/vrchatapi/models/platform_build_info.py +++ b/vrchatapi/models/platform_build_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index bc69cb95..bd3e38d1 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index aeabccfa..b3bbe1ea 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/print_files.py b/vrchatapi/models/print_files.py index 7d83949b..c59f4335 100644 --- a/vrchatapi/models/print_files.py +++ b/vrchatapi/models/print_files.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product.py b/vrchatapi/models/product.py index 87dff9ab..870e4de8 100644 --- a/vrchatapi/models/product.py +++ b/vrchatapi/models/product.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_listing.py b/vrchatapi/models/product_listing.py index a70e3039..ae4fdb5b 100644 --- a/vrchatapi/models/product_listing.py +++ b/vrchatapi/models/product_listing.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_listing_type.py b/vrchatapi/models/product_listing_type.py index 3fb2436e..7382bef5 100644 --- a/vrchatapi/models/product_listing_type.py +++ b/vrchatapi/models/product_listing_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_listing_variant.py b/vrchatapi/models/product_listing_variant.py index 0dd04b10..648b8e01 100644 --- a/vrchatapi/models/product_listing_variant.py +++ b/vrchatapi/models/product_listing_variant.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_type.py b/vrchatapi/models/product_type.py index 22f8b21c..e8372b56 100644 --- a/vrchatapi/models/product_type.py +++ b/vrchatapi/models/product_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index 11b235f9..b4c2604b 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/register_user_account_request.py b/vrchatapi/models/register_user_account_request.py index 38923ed3..296fcea8 100644 --- a/vrchatapi/models/register_user_account_request.py +++ b/vrchatapi/models/register_user_account_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index 1c7a9714..0f936464 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/report_category.py b/vrchatapi/models/report_category.py index 481fac0a..c6125d9b 100644 --- a/vrchatapi/models/report_category.py +++ b/vrchatapi/models/report_category.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/report_reason.py b/vrchatapi/models/report_reason.py index 50d2bb9d..ea9c7462 100644 --- a/vrchatapi/models/report_reason.py +++ b/vrchatapi/models/report_reason.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/represented_group.py b/vrchatapi/models/represented_group.py index 43774ec1..9517900a 100644 --- a/vrchatapi/models/represented_group.py +++ b/vrchatapi/models/represented_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index 5b244b15..9ba0e0e9 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index a483aeb6..4f01d760 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index 8ef5004f..fbb4f856 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index 0c9e5a45..37b50bba 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/service_queue_stats.py b/vrchatapi/models/service_queue_stats.py index 884ef901..a7d79944 100644 --- a/vrchatapi/models/service_queue_stats.py +++ b/vrchatapi/models/service_queue_stats.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/service_status.py b/vrchatapi/models/service_status.py index ac879f76..c97ced79 100644 --- a/vrchatapi/models/service_status.py +++ b/vrchatapi/models/service_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index e45a2a88..b28567aa 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/submission.py b/vrchatapi/models/submission.py index c65ff713..b617f4fb 100644 --- a/vrchatapi/models/submission.py +++ b/vrchatapi/models/submission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index 3a776a99..b98042a4 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index b83e798a..0539c60c 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index 6f72d6d0..da9da9ec 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/tilia_status.py b/vrchatapi/models/tilia_status.py index 50a33c24..b9b95a29 100644 --- a/vrchatapi/models/tilia_status.py +++ b/vrchatapi/models/tilia_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/tilia_tos.py b/vrchatapi/models/tilia_tos.py index 18c16457..a2f151b6 100644 --- a/vrchatapi/models/tilia_tos.py +++ b/vrchatapi/models/tilia_tos.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/token_bundle.py b/vrchatapi/models/token_bundle.py index a8ed2b9a..2137cb79 100644 --- a/vrchatapi/models/token_bundle.py +++ b/vrchatapi/models/token_bundle.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index b51bb5e9..8053698a 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index 79243317..a44099b8 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index 0ff33d4f..c7715616 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index ef992429..b3aba96c 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index 6dfe4069..7880e6de 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index 9ac1ffbe..6b75c699 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_email_code.py b/vrchatapi/models/two_factor_email_code.py index 36a8dfea..4e770304 100644 --- a/vrchatapi/models/two_factor_email_code.py +++ b/vrchatapi/models/two_factor_email_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_recovery_codes.py b/vrchatapi/models/two_factor_recovery_codes.py index b1a8874e..2e2ab383 100644 --- a/vrchatapi/models/two_factor_recovery_codes.py +++ b/vrchatapi/models/two_factor_recovery_codes.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_recovery_codes_otp_inner.py b/vrchatapi/models/two_factor_recovery_codes_otp_inner.py index eed0d3ed..30d02619 100644 --- a/vrchatapi/models/two_factor_recovery_codes_otp_inner.py +++ b/vrchatapi/models/two_factor_recovery_codes_otp_inner.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index 6ed12efb..7bdde690 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index 3b29e0c8..f8a4aed1 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index 1d6b5a1f..892ad56e 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index 36431b3b..5e16ffd1 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index 76624593..1bc72243 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_representation_request.py b/vrchatapi/models/update_group_representation_request.py new file mode 100644 index 00000000..9a96d1b0 --- /dev/null +++ b/vrchatapi/models/update_group_representation_request.py @@ -0,0 +1,134 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.19.4 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class UpdateGroupRepresentationRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'is_representing': 'bool' + } + + attribute_map = { + 'is_representing': 'isRepresenting' + } + + def __init__(self, is_representing=None, local_vars_configuration=None): # noqa: E501 + """UpdateGroupRepresentationRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._is_representing = None + self.discriminator = None + + self.is_representing = is_representing + + @property + def is_representing(self): + """Gets the is_representing of this UpdateGroupRepresentationRequest. # noqa: E501 + + Whether the user is representing the group. # noqa: E501 + + :return: The is_representing of this UpdateGroupRepresentationRequest. # noqa: E501 + :rtype: bool + """ + return self._is_representing + + @is_representing.setter + def is_representing(self, is_representing): + """Sets the is_representing of this UpdateGroupRepresentationRequest. + + Whether the user is representing the group. # noqa: E501 + + :param is_representing: The is_representing of this UpdateGroupRepresentationRequest. # noqa: E501 + :type is_representing: bool + """ + if self.local_vars_configuration.client_side_validation and is_representing is None: # noqa: E501 + raise ValueError("Invalid value for `is_representing`, must not be `None`") # noqa: E501 + + self._is_representing = is_representing + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, UpdateGroupRepresentationRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, UpdateGroupRepresentationRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index 8f482eff..7751e8d9 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index e8ad5d69..99295125 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index 8bfb761a..e611de3a 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_badge_request.py b/vrchatapi/models/update_user_badge_request.py index 95f24fcf..57510ae0 100644 --- a/vrchatapi/models/update_user_badge_request.py +++ b/vrchatapi/models/update_user_badge_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_note_request.py b/vrchatapi/models/update_user_note_request.py index fdc76276..9a93f7e0 100644 --- a/vrchatapi/models/update_user_note_request.py +++ b/vrchatapi/models/update_user_note_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index 4b655e36..f88ab609 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index 91cd2197..bce0403b 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index 8930e32d..6111258c 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index bfcbe1d9..a220cbe9 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_note.py b/vrchatapi/models/user_note.py index 794648b0..a94d9804 100644 --- a/vrchatapi/models/user_note.py +++ b/vrchatapi/models/user_note.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_note_target_user.py b/vrchatapi/models/user_note_target_user.py index 8f78fbe9..09f78704 100644 --- a/vrchatapi/models/user_note_target_user.py +++ b/vrchatapi/models/user_note_target_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index b9ee257a..781f5668 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index da0a45db..efa89a7b 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index 0c84bb8b..8c583b40 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_email_code_result.py b/vrchatapi/models/verify2_fa_email_code_result.py index dc03dff5..a929de71 100644 --- a/vrchatapi/models/verify2_fa_email_code_result.py +++ b/vrchatapi/models/verify2_fa_email_code_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index 4745ee78..061521ef 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index aa0df91e..3f311ec6 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index c80b525f..11dc4e58 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index 6530ee74..a667d9c1 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index e1a9e679..9aa11f49 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index 1c71e3b4..0f28e5d5 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.3 + The version of the OpenAPI document: 1.19.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ From a86cc36165c6945c9d6d19e232bba884e12fa713 Mon Sep 17 00:00:00 2001 From: VRCCat Date: Sun, 22 Jun 2025 19:20:44 +0000 Subject: [PATCH 073/102] Upgrade Python SDK to spec 1.20.0 --- .openapi-generator/FILES | 10 +- docs/Avatar.md | 1 + docs/AvatarPerformance.md | 16 + docs/CurrentUserPresence.md | 1 + docs/FriendsApi.md | 6 +- docs/Instance.md | 2 +- docs/InstanceContentSettings.md | 1 + docs/{LimitedUser.md => LimitedUserFriend.md} | 24 +- docs/LimitedUserInstance.md | 38 + docs/LimitedUserSearch.md | 27 + docs/Subscription.md | 1 + docs/TokenBundle.md | 1 + docs/UsersApi.md | 6 +- setup.py | 4 +- vrchatapi/__init__.py | 7 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 8 +- vrchatapi/api/groups_api.py | 2 +- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/jams_api.py | 2 +- vrchatapi/api/miscellaneous_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/prints_api.py | 2 +- vrchatapi/api/users_api.py | 8 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 +- vrchatapi/exceptions.py | 2 +- vrchatapi/models/__init__.py | 7 +- vrchatapi/models/account_deletion_log.py | 2 +- vrchatapi/models/add_favorite_request.py | 2 +- .../models/add_group_gallery_image_request.py | 2 +- vrchatapi/models/age_verification_status.py | 2 +- vrchatapi/models/api_config.py | 2 +- .../models/api_config_access_logs_urls.py | 2 +- vrchatapi/models/api_config_announcement.py | 2 +- .../models/api_config_avatar_perf_limiter.py | 2 +- vrchatapi/models/api_config_constants.py | 2 +- .../models/api_config_constants_groups.py | 2 +- .../models/api_config_constants_instance.py | 2 +- ...ig_constants_instancepopulationbrackets.py | 2 +- ...tants_instancepopulationbracketscrowded.py | 2 +- ...constants_instancepopulationbracketsfew.py | 2 +- ...onstants_instancepopulationbracketsmany.py | 2 +- .../models/api_config_constants_language.py | 2 +- .../models/api_config_download_url_list.py | 2 +- vrchatapi/models/api_config_events.py | 2 +- ...onfig_min_supported_client_build_number.py | 2 +- .../models/api_config_offline_analysis.py | 2 +- .../models/api_config_report_categories.py | 2 +- vrchatapi/models/api_config_report_options.py | 2 +- .../api_config_report_options_avatar.py | 2 +- .../models/api_config_report_options_group.py | 2 +- .../models/api_config_report_options_user.py | 2 +- .../models/api_config_report_options_world.py | 2 +- vrchatapi/models/api_config_report_reasons.py | 2 +- vrchatapi/models/api_health.py | 2 +- vrchatapi/models/avatar.py | 31 +- vrchatapi/models/avatar_performance.py | 261 ++++++ .../models/avatar_published_listings_inner.py | 2 +- vrchatapi/models/avatar_styles.py | 2 +- .../models/avatar_unity_package_url_object.py | 2 +- vrchatapi/models/badge.py | 2 +- vrchatapi/models/balance.py | 2 +- vrchatapi/models/ban_group_member_request.py | 2 +- vrchatapi/models/change_user_tags_request.py | 2 +- vrchatapi/models/create_avatar_request.py | 2 +- vrchatapi/models/create_file_request.py | 2 +- .../models/create_file_version_request.py | 2 +- .../create_group_announcement_request.py | 2 +- .../models/create_group_gallery_request.py | 2 +- .../models/create_group_invite_request.py | 2 +- vrchatapi/models/create_group_post_request.py | 2 +- vrchatapi/models/create_group_request.py | 2 +- vrchatapi/models/create_group_role_request.py | 2 +- vrchatapi/models/create_instance_request.py | 2 +- vrchatapi/models/create_world_request.py | 2 +- vrchatapi/models/current_user.py | 2 +- .../current_user_platform_history_inner.py | 2 +- vrchatapi/models/current_user_presence.py | 30 +- vrchatapi/models/developer_type.py | 2 +- vrchatapi/models/disable2_fa_result.py | 2 +- vrchatapi/models/dynamic_content_row.py | 2 +- vrchatapi/models/error.py | 2 +- vrchatapi/models/favorite.py | 2 +- vrchatapi/models/favorite_group.py | 2 +- vrchatapi/models/favorite_group_limits.py | 2 +- vrchatapi/models/favorite_group_visibility.py | 2 +- vrchatapi/models/favorite_limits.py | 2 +- vrchatapi/models/favorite_type.py | 2 +- vrchatapi/models/favorited_world.py | 2 +- vrchatapi/models/feedback.py | 2 +- vrchatapi/models/file.py | 2 +- vrchatapi/models/file_analysis.py | 2 +- .../models/file_analysis_avatar_stats.py | 2 +- vrchatapi/models/file_data.py | 2 +- vrchatapi/models/file_status.py | 2 +- vrchatapi/models/file_upload_url.py | 2 +- vrchatapi/models/file_version.py | 2 +- .../models/file_version_upload_status.py | 2 +- .../models/finish_file_data_upload_request.py | 2 +- vrchatapi/models/friend_status.py | 2 +- .../models/get_group_posts200_response.py | 2 +- .../get_user_group_instances200_response.py | 2 +- vrchatapi/models/group.py | 2 +- vrchatapi/models/group_access_type.py | 2 +- vrchatapi/models/group_announcement.py | 2 +- vrchatapi/models/group_audit_log_entry.py | 2 +- vrchatapi/models/group_gallery.py | 2 +- vrchatapi/models/group_gallery_image.py | 2 +- vrchatapi/models/group_instance.py | 2 +- vrchatapi/models/group_join_request_action.py | 2 +- vrchatapi/models/group_join_state.py | 2 +- vrchatapi/models/group_limited_member.py | 2 +- vrchatapi/models/group_member.py | 2 +- vrchatapi/models/group_member_limited_user.py | 2 +- vrchatapi/models/group_member_status.py | 2 +- vrchatapi/models/group_my_member.py | 2 +- vrchatapi/models/group_permission.py | 2 +- vrchatapi/models/group_permissions.py | 2 +- vrchatapi/models/group_post.py | 2 +- vrchatapi/models/group_post_visibility.py | 2 +- vrchatapi/models/group_privacy.py | 2 +- vrchatapi/models/group_role.py | 2 +- vrchatapi/models/group_role_template.py | 2 +- .../models/group_role_template_values.py | 2 +- .../group_role_template_values_roles.py | 2 +- vrchatapi/models/group_search_sort.py | 2 +- vrchatapi/models/group_user_visibility.py | 2 +- vrchatapi/models/info_push.py | 2 +- vrchatapi/models/info_push_data.py | 2 +- vrchatapi/models/info_push_data_article.py | 2 +- .../models/info_push_data_article_content.py | 2 +- vrchatapi/models/info_push_data_clickable.py | 2 +- vrchatapi/models/instance.py | 8 +- vrchatapi/models/instance_content_settings.py | 34 +- vrchatapi/models/instance_platforms.py | 2 +- vrchatapi/models/instance_region.py | 2 +- .../models/instance_short_name_response.py | 2 +- vrchatapi/models/instance_type.py | 2 +- vrchatapi/models/invite_message.py | 2 +- vrchatapi/models/invite_message_type.py | 2 +- vrchatapi/models/invite_request.py | 2 +- vrchatapi/models/invite_response.py | 2 +- vrchatapi/models/jam.py | 2 +- vrchatapi/models/jam_state_change_dates.py | 2 +- vrchatapi/models/license.py | 2 +- vrchatapi/models/license_action.py | 2 +- vrchatapi/models/license_group.py | 2 +- vrchatapi/models/license_type.py | 2 +- vrchatapi/models/limited_group.py | 2 +- vrchatapi/models/limited_unity_package.py | 2 +- vrchatapi/models/limited_user_friend.py | 728 +++++++++++++++ vrchatapi/models/limited_user_groups.py | 2 +- vrchatapi/models/limited_user_instance.py | 836 ++++++++++++++++++ ...limited_user.py => limited_user_search.py} | 300 ++----- vrchatapi/models/limited_world.py | 2 +- vrchatapi/models/mime_type.py | 2 +- vrchatapi/models/model_print.py | 2 +- vrchatapi/models/moderate_user_request.py | 2 +- vrchatapi/models/notification.py | 2 +- .../models/notification_detail_invite.py | 2 +- .../notification_detail_invite_response.py | 2 +- .../notification_detail_request_invite.py | 2 +- ...fication_detail_request_invite_response.py | 2 +- .../notification_detail_vote_to_kick.py | 2 +- vrchatapi/models/notification_type.py | 2 +- vrchatapi/models/order_option.py | 2 +- .../paginated_group_audit_log_entry_list.py | 2 +- vrchatapi/models/past_display_name.py | 2 +- vrchatapi/models/pending2_fa_result.py | 2 +- vrchatapi/models/performance_limiter_info.py | 2 +- vrchatapi/models/performance_ratings.py | 2 +- vrchatapi/models/permission.py | 2 +- vrchatapi/models/platform_build_info.py | 2 +- vrchatapi/models/player_moderation.py | 2 +- vrchatapi/models/player_moderation_type.py | 2 +- vrchatapi/models/print_files.py | 2 +- vrchatapi/models/product.py | 2 +- vrchatapi/models/product_listing.py | 2 +- vrchatapi/models/product_listing_type.py | 2 +- vrchatapi/models/product_listing_variant.py | 2 +- vrchatapi/models/product_type.py | 2 +- vrchatapi/models/region.py | 2 +- .../models/register_user_account_request.py | 2 +- vrchatapi/models/release_status.py | 2 +- vrchatapi/models/report_category.py | 2 +- vrchatapi/models/report_reason.py | 2 +- vrchatapi/models/represented_group.py | 2 +- vrchatapi/models/request_invite_request.py | 2 +- .../models/respond_group_join_request.py | 2 +- vrchatapi/models/response.py | 2 +- vrchatapi/models/sent_notification.py | 2 +- vrchatapi/models/service_queue_stats.py | 2 +- vrchatapi/models/service_status.py | 2 +- vrchatapi/models/sort_option.py | 2 +- vrchatapi/models/submission.py | 2 +- vrchatapi/models/subscription.py | 33 +- vrchatapi/models/subscription_period.py | 2 +- vrchatapi/models/success.py | 2 +- vrchatapi/models/tilia_status.py | 2 +- vrchatapi/models/tilia_tos.py | 2 +- vrchatapi/models/token_bundle.py | 30 +- vrchatapi/models/transaction.py | 2 +- vrchatapi/models/transaction_agreement.py | 2 +- vrchatapi/models/transaction_status.py | 2 +- vrchatapi/models/transaction_steam_info.py | 2 +- .../models/transaction_steam_wallet_info.py | 2 +- vrchatapi/models/two_factor_auth_code.py | 2 +- vrchatapi/models/two_factor_email_code.py | 2 +- vrchatapi/models/two_factor_recovery_codes.py | 2 +- .../two_factor_recovery_codes_otp_inner.py | 2 +- vrchatapi/models/unity_package.py | 2 +- vrchatapi/models/update_avatar_request.py | 2 +- .../models/update_favorite_group_request.py | 2 +- .../models/update_group_gallery_request.py | 2 +- .../models/update_group_member_request.py | 2 +- .../update_group_representation_request.py | 2 +- vrchatapi/models/update_group_request.py | 2 +- vrchatapi/models/update_group_role_request.py | 2 +- .../models/update_invite_message_request.py | 2 +- vrchatapi/models/update_user_badge_request.py | 2 +- vrchatapi/models/update_user_note_request.py | 2 +- vrchatapi/models/update_user_request.py | 2 +- vrchatapi/models/update_world_request.py | 2 +- vrchatapi/models/user.py | 2 +- vrchatapi/models/user_exists.py | 2 +- vrchatapi/models/user_note.py | 2 +- vrchatapi/models/user_note_target_user.py | 2 +- vrchatapi/models/user_state.py | 2 +- vrchatapi/models/user_status.py | 2 +- vrchatapi/models/user_subscription.py | 2 +- .../models/verify2_fa_email_code_result.py | 2 +- vrchatapi/models/verify2_fa_result.py | 2 +- vrchatapi/models/verify_auth_token_result.py | 2 +- vrchatapi/models/world.py | 2 +- vrchatapi/models/world_metadata.py | 2 +- vrchatapi/models/world_publish_status.py | 2 +- vrchatapi/rest.py | 2 +- 245 files changed, 2414 insertions(+), 481 deletions(-) create mode 100644 docs/AvatarPerformance.md rename docs/{LimitedUser.md => LimitedUserFriend.md} (70%) create mode 100644 docs/LimitedUserInstance.md create mode 100644 docs/LimitedUserSearch.md create mode 100644 vrchatapi/models/avatar_performance.py create mode 100644 vrchatapi/models/limited_user_friend.py create mode 100644 vrchatapi/models/limited_user_instance.py rename vrchatapi/models/{limited_user.py => limited_user_search.py} (61%) diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index b615fd6e..1fcdd2f1 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -29,6 +29,7 @@ docs/AddGroupGalleryImageRequest.md docs/AgeVerificationStatus.md docs/AuthenticationApi.md docs/Avatar.md +docs/AvatarPerformance.md docs/AvatarPublishedListingsInner.md docs/AvatarStyles.md docs/AvatarUnityPackageUrlObject.md @@ -131,8 +132,10 @@ docs/LicenseGroup.md docs/LicenseType.md docs/LimitedGroup.md docs/LimitedUnityPackage.md -docs/LimitedUser.md +docs/LimitedUserFriend.md docs/LimitedUserGroups.md +docs/LimitedUserInstance.md +docs/LimitedUserSearch.md docs/LimitedWorld.md docs/MIMEType.md docs/MiscellaneousApi.md @@ -278,6 +281,7 @@ vrchatapi/models/api_config_report_options_world.py vrchatapi/models/api_config_report_reasons.py vrchatapi/models/api_health.py vrchatapi/models/avatar.py +vrchatapi/models/avatar_performance.py vrchatapi/models/avatar_published_listings_inner.py vrchatapi/models/avatar_styles.py vrchatapi/models/avatar_unity_package_url_object.py @@ -371,8 +375,10 @@ vrchatapi/models/license_group.py vrchatapi/models/license_type.py vrchatapi/models/limited_group.py vrchatapi/models/limited_unity_package.py -vrchatapi/models/limited_user.py +vrchatapi/models/limited_user_friend.py vrchatapi/models/limited_user_groups.py +vrchatapi/models/limited_user_instance.py +vrchatapi/models/limited_user_search.py vrchatapi/models/limited_world.py vrchatapi/models/mime_type.py vrchatapi/models/model_print.py diff --git a/docs/Avatar.md b/docs/Avatar.md index 1db6d2c9..504562ed 100644 --- a/docs/Avatar.md +++ b/docs/Avatar.md @@ -19,6 +19,7 @@ Name | Type | Description | Notes **lock** | **bool** | | [optional] **lowest_price** | **int** | | [optional] **name** | **str** | | +**performance** | [**AvatarPerformance**](AvatarPerformance.md) | | **product_id** | **str** | | [optional] **published_listings** | [**list[AvatarPublishedListingsInner]**](AvatarPublishedListingsInner.md) | | [optional] **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | diff --git a/docs/AvatarPerformance.md b/docs/AvatarPerformance.md new file mode 100644 index 00000000..79342375 --- /dev/null +++ b/docs/AvatarPerformance.md @@ -0,0 +1,16 @@ +# AvatarPerformance + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**android** | **str** | | [optional] +**android_sort** | **int** | | [optional] +**ios** | **str** | | [optional] +**ios_sort** | **int** | | [optional] +**standalonewindows** | **str** | | [optional] +**standalonewindows_sort** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CurrentUserPresence.md b/docs/CurrentUserPresence.md index 255f7f68..093e5ddc 100644 --- a/docs/CurrentUserPresence.md +++ b/docs/CurrentUserPresence.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **avatar_thumbnail** | **str** | | [optional] **current_avatar_tags** | **str** | | [optional] **display_name** | **str** | | [optional] +**debugflag** | **str** | | [optional] **groups** | **list[str]** | | [optional] **id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] **instance** | **str** | | [optional] diff --git a/docs/FriendsApi.md b/docs/FriendsApi.md index 3439a292..077cf168 100644 --- a/docs/FriendsApi.md +++ b/docs/FriendsApi.md @@ -237,7 +237,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_friends** -> list[LimitedUser] get_friends(offset=offset, n=n, offline=offline) +> list[LimitedUserFriend] get_friends(offset=offset, n=n, offline=offline) List Friends @@ -295,7 +295,7 @@ Name | Type | Description | Notes ### Return type -[**list[LimitedUser]**](LimitedUser.md) +[**list[LimitedUserFriend]**](LimitedUserFriend.md) ### Authorization @@ -309,7 +309,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a list of LimitedUser objects. | - | +**200** | Returns a list of LimitedUserFriend objects. | - | **401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/Instance.md b/docs/Instance.md index 2dd7c84b..aacf928d 100644 --- a/docs/Instance.md +++ b/docs/Instance.md @@ -41,7 +41,7 @@ Name | Type | Description | Notes **strict** | **bool** | | **user_count** | **int** | | **world** | [**World**](World.md) | | -**users** | [**list[LimitedUser]**](LimitedUser.md) | The users field is present on instances created by the requesting user. | [optional] +**users** | [**list[LimitedUserInstance]**](LimitedUserInstance.md) | The users field is present on instances created by the requesting user. | [optional] **group_access_type** | [**GroupAccessType**](GroupAccessType.md) | | [optional] **has_capacity_for_you** | **bool** | | [optional] **nonce** | **str** | | [optional] diff --git a/docs/InstanceContentSettings.md b/docs/InstanceContentSettings.md index 1d23f0b0..209f5b8b 100644 --- a/docs/InstanceContentSettings.md +++ b/docs/InstanceContentSettings.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **pedestals** | **bool** | | [optional] [default to True] **prints** | **bool** | | [optional] [default to True] **stickers** | **bool** | | [optional] [default to True] +**props** | **bool** | | [optional] [default to True] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/LimitedUser.md b/docs/LimitedUserFriend.md similarity index 70% rename from docs/LimitedUser.md rename to docs/LimitedUserFriend.md index c14a11f4..a04b500a 100644 --- a/docs/LimitedUser.md +++ b/docs/LimitedUserFriend.md @@ -1,31 +1,33 @@ -# LimitedUser - +# LimitedUserFriend +User object received when querying your friends list ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **bio** | **str** | | [optional] **bio_links** | **list[str]** | | [optional] -**current_avatar_image_url** | **str** | When profilePicOverride is not empty, use it instead. | [optional] +**current_avatar_image_url** | **str** | When profilePicOverride is not empty, use it instead. | **current_avatar_thumbnail_image_url** | **str** | When profilePicOverride is not empty, use it instead. | [optional] **current_avatar_tags** | **list[str]** | | [optional] **developer_type** | [**DeveloperType**](DeveloperType.md) | | **display_name** | **str** | | -**fallback_avatar** | **str** | | [optional] +**friend_key** | **str** | | **id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | **is_friend** | **bool** | | +**image_url** | **str** | | **last_platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | -**last_login** | **datetime** | | [optional] -**profile_pic_override** | **str** | | [optional] -**pronouns** | **str** | | [optional] +**location** | **str** | | +**last_login** | **datetime** | | +**last_activity** | **datetime** | | +**last_mobile** | **datetime** | | +**platform** | **str** | | +**profile_pic_override** | **str** | | +**profile_pic_override_thumbnail** | **str** | | **status** | [**UserStatus**](UserStatus.md) | | **status_description** | **str** | | **tags** | **list[str]** | <- Always empty. | -**user_icon** | **str** | | [optional] -**username** | **str** | -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). | [optional] -**location** | **str** | | [optional] -**friend_key** | **str** | | [optional] +**user_icon** | **str** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/LimitedUserInstance.md b/docs/LimitedUserInstance.md new file mode 100644 index 00000000..708d6ba8 --- /dev/null +++ b/docs/LimitedUserInstance.md @@ -0,0 +1,38 @@ +# LimitedUserInstance + +User object received when querying your own instance + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**age_verification_status** | [**AgeVerificationStatus**](AgeVerificationStatus.md) | | +**age_verified** | **bool** | `true` if, user is age verified (not 18+). | +**allow_avatar_copying** | **bool** | | +**bio** | **str** | | [optional] +**bio_links** | **list[str]** | | [optional] +**current_avatar_image_url** | **str** | When profilePicOverride is not empty, use it instead. | +**current_avatar_thumbnail_image_url** | **str** | When profilePicOverride is not empty, use it instead. | +**current_avatar_tags** | **list[str]** | | +**date_joined** | **datetime** | | +**developer_type** | [**DeveloperType**](DeveloperType.md) | | +**display_name** | **str** | | +**friend_key** | **str** | | +**id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**is_friend** | **bool** | | +**image_url** | **str** | | [optional] +**last_platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | +**last_activity** | **datetime** | | +**last_mobile** | **datetime** | | +**platform** | **str** | | [optional] +**profile_pic_override** | **str** | | +**profile_pic_override_thumbnail** | **str** | | +**pronouns** | **str** | | +**state** | [**UserState**](UserState.md) | | +**status** | [**UserStatus**](UserStatus.md) | | +**status_description** | **str** | | +**tags** | **list[str]** | | +**user_icon** | **str** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/LimitedUserSearch.md b/docs/LimitedUserSearch.md new file mode 100644 index 00000000..b7e09cbf --- /dev/null +++ b/docs/LimitedUserSearch.md @@ -0,0 +1,27 @@ +# LimitedUserSearch + +User object received when searching + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**bio** | **str** | | [optional] +**bio_links** | **list[str]** | | [optional] +**current_avatar_image_url** | **str** | When profilePicOverride is not empty, use it instead. | +**current_avatar_thumbnail_image_url** | **str** | When profilePicOverride is not empty, use it instead. | +**current_avatar_tags** | **list[str]** | | +**developer_type** | [**DeveloperType**](DeveloperType.md) | | +**display_name** | **str** | | +**id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**is_friend** | **bool** | | +**last_platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | +**profile_pic_override** | **str** | | +**pronouns** | **str** | | [optional] +**status** | [**UserStatus**](UserStatus.md) | | +**status_description** | **str** | | +**tags** | **list[str]** | <- Always empty. | +**user_icon** | **str** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Subscription.md b/docs/Subscription.md index c49839b0..3bf0d315 100644 --- a/docs/Subscription.md +++ b/docs/Subscription.md @@ -11,6 +11,7 @@ Name | Type | Description | Notes **google_product_id** | **str** | | [optional] **google_plan_id** | **str** | | [optional] **pico_sku** | **str** | | [optional] +**apple_product_id** | **str** | | [optional] **amount** | **float** | | **description** | **str** | | **period** | [**SubscriptionPeriod**](SubscriptionPeriod.md) | | diff --git a/docs/TokenBundle.md b/docs/TokenBundle.md index 4b4b4d7e..54c6b49c 100644 --- a/docs/TokenBundle.md +++ b/docs/TokenBundle.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **id** | **str** | | **steam_item_id** | **str** | | **oculus_sku** | **str** | | +**google_product_id** | **str** | | [optional] **amount** | **int** | price of the bundle | **description** | **str** | | **tokens** | **int** | number of tokens received | diff --git a/docs/UsersApi.md b/docs/UsersApi.md index eda400f1..1506af52 100644 --- a/docs/UsersApi.md +++ b/docs/UsersApi.md @@ -1005,7 +1005,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **search_users** -> list[LimitedUser] search_users(search=search, developer_type=developer_type, n=n, offset=offset) +> list[LimitedUserSearch] search_users(search=search, developer_type=developer_type, n=n, offset=offset) Search All Users @@ -1065,7 +1065,7 @@ Name | Type | Description | Notes ### Return type -[**list[LimitedUser]**](LimitedUser.md) +[**list[LimitedUserSearch]**](LimitedUserSearch.md) ### Authorization @@ -1079,7 +1079,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a list of LimitedUser objects. | - | +**200** | Returns a list of LimitedUserSearch objects. | - | **400** | Error response when trying to search list of users with an invalid request. | - | **401** | Error response due to missing auth cookie. | - | diff --git a/setup.py b/setup.py index af5b034f..0569b3cf 100644 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.19.4" +VERSION = "1.20.0" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 1569ebf4..438f02c6 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,7 +6,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -73,6 +73,7 @@ from vrchatapi.models.add_group_gallery_image_request import AddGroupGalleryImageRequest from vrchatapi.models.age_verification_status import AgeVerificationStatus from vrchatapi.models.avatar import Avatar +from vrchatapi.models.avatar_performance import AvatarPerformance from vrchatapi.models.avatar_published_listings_inner import AvatarPublishedListingsInner from vrchatapi.models.avatar_styles import AvatarStyles from vrchatapi.models.avatar_unity_package_url_object import AvatarUnityPackageUrlObject @@ -166,8 +167,10 @@ from vrchatapi.models.license_type import LicenseType from vrchatapi.models.limited_group import LimitedGroup from vrchatapi.models.limited_unity_package import LimitedUnityPackage -from vrchatapi.models.limited_user import LimitedUser +from vrchatapi.models.limited_user_friend import LimitedUserFriend from vrchatapi.models.limited_user_groups import LimitedUserGroups +from vrchatapi.models.limited_user_instance import LimitedUserInstance +from vrchatapi.models.limited_user_search import LimitedUserSearch from vrchatapi.models.limited_world import LimitedWorld from vrchatapi.models.mime_type import MIMEType from vrchatapi.models.model_print import ModelPrint diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index 97febc40..b13ab38f 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index d32ff263..abf9e9cf 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 3b7bffc4..d571419a 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index 742439e6..974c195b 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index 508e8182..9979f2e3 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index a60600ac..5e11d87c 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -482,7 +482,7 @@ def get_friends(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[LimitedUser] + :rtype: list[LimitedUserFriend] """ kwargs['_return_http_data_only'] = True return self.get_friends_with_http_info(**kwargs) # noqa: E501 @@ -524,7 +524,7 @@ def get_friends_with_http_info(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[LimitedUser], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(list[LimitedUserFriend], status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() @@ -587,7 +587,7 @@ def get_friends_with_http_info(self, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "list[LimitedUser]", + 200: "list[LimitedUserFriend]", 401: "Error", } diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index 245e25ae..577d1726 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index e6436588..2642b867 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index 1c9d7426..96e22a5b 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/jams_api.py b/vrchatapi/api/jams_api.py index ebc9f1af..14a6e95a 100644 --- a/vrchatapi/api/jams_api.py +++ b/vrchatapi/api/jams_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/miscellaneous_api.py b/vrchatapi/api/miscellaneous_api.py index 5a00ddbc..72271b45 100644 --- a/vrchatapi/api/miscellaneous_api.py +++ b/vrchatapi/api/miscellaneous_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index 2c087ae8..59ec0f0c 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index 88a9ecd9..50309330 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/prints_api.py b/vrchatapi/api/prints_api.py index 73acac5a..8f5872c3 100644 --- a/vrchatapi/api/prints_api.py +++ b/vrchatapi/api/prints_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index ab795c2f..df3ec1b5 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -1951,7 +1951,7 @@ def search_users(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[LimitedUser] + :rtype: list[LimitedUserSearch] """ kwargs['_return_http_data_only'] = True return self.search_users_with_http_info(**kwargs) # noqa: E501 @@ -1995,7 +1995,7 @@ def search_users_with_http_info(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[LimitedUser], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(list[LimitedUserSearch], status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() @@ -2064,7 +2064,7 @@ def search_users_with_http_info(self, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "list[LimitedUser]", + 200: "list[LimitedUserSearch]", 400: "Error", 401: "Error", } diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 92c076cd..792c0fa1 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index c1de1e30..a55ee63e 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,7 +3,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index 41262a3c..f7c5e1f8 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -441,7 +441,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.19.4\n"\ + "Version of the API: 1.20.0\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index 185364c4..1dfc497e 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index 4accd051..37d3b8cb 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,7 +5,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -43,6 +43,7 @@ from vrchatapi.models.add_group_gallery_image_request import AddGroupGalleryImageRequest from vrchatapi.models.age_verification_status import AgeVerificationStatus from vrchatapi.models.avatar import Avatar +from vrchatapi.models.avatar_performance import AvatarPerformance from vrchatapi.models.avatar_published_listings_inner import AvatarPublishedListingsInner from vrchatapi.models.avatar_styles import AvatarStyles from vrchatapi.models.avatar_unity_package_url_object import AvatarUnityPackageUrlObject @@ -136,8 +137,10 @@ from vrchatapi.models.license_type import LicenseType from vrchatapi.models.limited_group import LimitedGroup from vrchatapi.models.limited_unity_package import LimitedUnityPackage -from vrchatapi.models.limited_user import LimitedUser +from vrchatapi.models.limited_user_friend import LimitedUserFriend from vrchatapi.models.limited_user_groups import LimitedUserGroups +from vrchatapi.models.limited_user_instance import LimitedUserInstance +from vrchatapi.models.limited_user_search import LimitedUserSearch from vrchatapi.models.limited_world import LimitedWorld from vrchatapi.models.mime_type import MIMEType from vrchatapi.models.model_print import ModelPrint diff --git a/vrchatapi/models/account_deletion_log.py b/vrchatapi/models/account_deletion_log.py index 6f2fd7f8..1e9d62f6 100644 --- a/vrchatapi/models/account_deletion_log.py +++ b/vrchatapi/models/account_deletion_log.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index d1e65169..05694ed5 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index e0e2f75a..6bfe2ec4 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/age_verification_status.py b/vrchatapi/models/age_verification_status.py index ff813f4d..44ea7437 100644 --- a/vrchatapi/models/age_verification_status.py +++ b/vrchatapi/models/age_verification_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index c740fe3e..28d3fe7d 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_access_logs_urls.py b/vrchatapi/models/api_config_access_logs_urls.py index 42cf4375..fb19591b 100644 --- a/vrchatapi/models/api_config_access_logs_urls.py +++ b/vrchatapi/models/api_config_access_logs_urls.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index 96bd86bc..08e9ac19 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_avatar_perf_limiter.py b/vrchatapi/models/api_config_avatar_perf_limiter.py index ed7edc08..12028f66 100644 --- a/vrchatapi/models/api_config_avatar_perf_limiter.py +++ b/vrchatapi/models/api_config_avatar_perf_limiter.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants.py b/vrchatapi/models/api_config_constants.py index 156305d1..775c0f36 100644 --- a/vrchatapi/models/api_config_constants.py +++ b/vrchatapi/models/api_config_constants.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_groups.py b/vrchatapi/models/api_config_constants_groups.py index a99aabfd..d3d2ad34 100644 --- a/vrchatapi/models/api_config_constants_groups.py +++ b/vrchatapi/models/api_config_constants_groups.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instance.py b/vrchatapi/models/api_config_constants_instance.py index e386cc8d..bd75e241 100644 --- a/vrchatapi/models/api_config_constants_instance.py +++ b/vrchatapi/models/api_config_constants_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbrackets.py b/vrchatapi/models/api_config_constants_instancepopulationbrackets.py index 8bef7988..f4ec2030 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbrackets.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbrackets.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py b/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py index 82a81b91..c73e32c2 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py b/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py index 19a1e3de..2f9a37ec 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py b/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py index 75f10e5f..dafe4643 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_language.py b/vrchatapi/models/api_config_constants_language.py index 6c57a8b5..586d3c91 100644 --- a/vrchatapi/models/api_config_constants_language.py +++ b/vrchatapi/models/api_config_constants_language.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index 98fb7ec8..e8a63515 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index df23371f..9c59a8cf 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_min_supported_client_build_number.py b/vrchatapi/models/api_config_min_supported_client_build_number.py index 5f96696c..bd206d58 100644 --- a/vrchatapi/models/api_config_min_supported_client_build_number.py +++ b/vrchatapi/models/api_config_min_supported_client_build_number.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_offline_analysis.py b/vrchatapi/models/api_config_offline_analysis.py index 435d4402..ba4def39 100644 --- a/vrchatapi/models/api_config_offline_analysis.py +++ b/vrchatapi/models/api_config_offline_analysis.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_categories.py b/vrchatapi/models/api_config_report_categories.py index 667935f0..c835ad89 100644 --- a/vrchatapi/models/api_config_report_categories.py +++ b/vrchatapi/models/api_config_report_categories.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options.py b/vrchatapi/models/api_config_report_options.py index a8ac4d29..38588077 100644 --- a/vrchatapi/models/api_config_report_options.py +++ b/vrchatapi/models/api_config_report_options.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options_avatar.py b/vrchatapi/models/api_config_report_options_avatar.py index c0747dcd..24695bac 100644 --- a/vrchatapi/models/api_config_report_options_avatar.py +++ b/vrchatapi/models/api_config_report_options_avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options_group.py b/vrchatapi/models/api_config_report_options_group.py index 48ea1e90..a61874f4 100644 --- a/vrchatapi/models/api_config_report_options_group.py +++ b/vrchatapi/models/api_config_report_options_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options_user.py b/vrchatapi/models/api_config_report_options_user.py index 31c023a0..55e0cd81 100644 --- a/vrchatapi/models/api_config_report_options_user.py +++ b/vrchatapi/models/api_config_report_options_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options_world.py b/vrchatapi/models/api_config_report_options_world.py index 21b9e524..d69d880b 100644 --- a/vrchatapi/models/api_config_report_options_world.py +++ b/vrchatapi/models/api_config_report_options_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_reasons.py b/vrchatapi/models/api_config_report_reasons.py index 96daa733..c11e828e 100644 --- a/vrchatapi/models/api_config_report_reasons.py +++ b/vrchatapi/models/api_config_report_reasons.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index 91afb24f..4968a0e8 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index c7b37bd1..37b53d1e 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -50,6 +50,7 @@ class Avatar(object): 'lock': 'bool', 'lowest_price': 'int', 'name': 'str', + 'performance': 'AvatarPerformance', 'product_id': 'str', 'published_listings': 'list[AvatarPublishedListingsInner]', 'release_status': 'ReleaseStatus', @@ -79,6 +80,7 @@ class Avatar(object): 'lock': 'lock', 'lowest_price': 'lowestPrice', 'name': 'name', + 'performance': 'performance', 'product_id': 'productId', 'published_listings': 'publishedListings', 'release_status': 'releaseStatus', @@ -93,7 +95,7 @@ class Avatar(object): 'version': 'version' } - def __init__(self, acknowledgements=None, asset_url=None, asset_url_object=None, author_id=None, author_name=None, created_at=None, description=None, featured=False, highest_price=None, id=None, image_url=None, lock=None, lowest_price=None, name=None, product_id=None, published_listings=None, release_status=None, searchable=False, styles=None, tags=None, thumbnail_image_url=None, unity_package_url=None, unity_package_url_object=None, unity_packages=None, updated_at=None, version=0, local_vars_configuration=None): # noqa: E501 + def __init__(self, acknowledgements=None, asset_url=None, asset_url_object=None, author_id=None, author_name=None, created_at=None, description=None, featured=False, highest_price=None, id=None, image_url=None, lock=None, lowest_price=None, name=None, performance=None, product_id=None, published_listings=None, release_status=None, searchable=False, styles=None, tags=None, thumbnail_image_url=None, unity_package_url=None, unity_package_url_object=None, unity_packages=None, updated_at=None, version=0, local_vars_configuration=None): # noqa: E501 """Avatar - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -113,6 +115,7 @@ def __init__(self, acknowledgements=None, asset_url=None, asset_url_object=None, self._lock = None self._lowest_price = None self._name = None + self._performance = None self._product_id = None self._published_listings = None self._release_status = None @@ -147,6 +150,7 @@ def __init__(self, acknowledgements=None, asset_url=None, asset_url_object=None, if lowest_price is not None: self.lowest_price = lowest_price self.name = name + self.performance = performance if product_id is not None: self.product_id = product_id if published_listings is not None: @@ -494,6 +498,29 @@ def name(self, name): self._name = name + @property + def performance(self): + """Gets the performance of this Avatar. # noqa: E501 + + + :return: The performance of this Avatar. # noqa: E501 + :rtype: AvatarPerformance + """ + return self._performance + + @performance.setter + def performance(self, performance): + """Sets the performance of this Avatar. + + + :param performance: The performance of this Avatar. # noqa: E501 + :type performance: AvatarPerformance + """ + if self.local_vars_configuration.client_side_validation and performance is None: # noqa: E501 + raise ValueError("Invalid value for `performance`, must not be `None`") # noqa: E501 + + self._performance = performance + @property def product_id(self): """Gets the product_id of this Avatar. # noqa: E501 diff --git a/vrchatapi/models/avatar_performance.py b/vrchatapi/models/avatar_performance.py new file mode 100644 index 00000000..1ae1e541 --- /dev/null +++ b/vrchatapi/models/avatar_performance.py @@ -0,0 +1,261 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.0 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class AvatarPerformance(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'android': 'str', + 'android_sort': 'int', + 'ios': 'str', + 'ios_sort': 'int', + 'standalonewindows': 'str', + 'standalonewindows_sort': 'int' + } + + attribute_map = { + 'android': 'android', + 'android_sort': 'android-sort', + 'ios': 'ios', + 'ios_sort': 'ios-sort', + 'standalonewindows': 'standalonewindows', + 'standalonewindows_sort': 'standalonewindows-sort' + } + + def __init__(self, android=None, android_sort=None, ios=None, ios_sort=None, standalonewindows=None, standalonewindows_sort=None, local_vars_configuration=None): # noqa: E501 + """AvatarPerformance - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._android = None + self._android_sort = None + self._ios = None + self._ios_sort = None + self._standalonewindows = None + self._standalonewindows_sort = None + self.discriminator = None + + if android is not None: + self.android = android + if android_sort is not None: + self.android_sort = android_sort + if ios is not None: + self.ios = ios + if ios_sort is not None: + self.ios_sort = ios_sort + if standalonewindows is not None: + self.standalonewindows = standalonewindows + if standalonewindows_sort is not None: + self.standalonewindows_sort = standalonewindows_sort + + @property + def android(self): + """Gets the android of this AvatarPerformance. # noqa: E501 + + + :return: The android of this AvatarPerformance. # noqa: E501 + :rtype: str + """ + return self._android + + @android.setter + def android(self, android): + """Sets the android of this AvatarPerformance. + + + :param android: The android of this AvatarPerformance. # noqa: E501 + :type android: str + """ + + self._android = android + + @property + def android_sort(self): + """Gets the android_sort of this AvatarPerformance. # noqa: E501 + + + :return: The android_sort of this AvatarPerformance. # noqa: E501 + :rtype: int + """ + return self._android_sort + + @android_sort.setter + def android_sort(self, android_sort): + """Sets the android_sort of this AvatarPerformance. + + + :param android_sort: The android_sort of this AvatarPerformance. # noqa: E501 + :type android_sort: int + """ + + self._android_sort = android_sort + + @property + def ios(self): + """Gets the ios of this AvatarPerformance. # noqa: E501 + + + :return: The ios of this AvatarPerformance. # noqa: E501 + :rtype: str + """ + return self._ios + + @ios.setter + def ios(self, ios): + """Sets the ios of this AvatarPerformance. + + + :param ios: The ios of this AvatarPerformance. # noqa: E501 + :type ios: str + """ + + self._ios = ios + + @property + def ios_sort(self): + """Gets the ios_sort of this AvatarPerformance. # noqa: E501 + + + :return: The ios_sort of this AvatarPerformance. # noqa: E501 + :rtype: int + """ + return self._ios_sort + + @ios_sort.setter + def ios_sort(self, ios_sort): + """Sets the ios_sort of this AvatarPerformance. + + + :param ios_sort: The ios_sort of this AvatarPerformance. # noqa: E501 + :type ios_sort: int + """ + + self._ios_sort = ios_sort + + @property + def standalonewindows(self): + """Gets the standalonewindows of this AvatarPerformance. # noqa: E501 + + + :return: The standalonewindows of this AvatarPerformance. # noqa: E501 + :rtype: str + """ + return self._standalonewindows + + @standalonewindows.setter + def standalonewindows(self, standalonewindows): + """Sets the standalonewindows of this AvatarPerformance. + + + :param standalonewindows: The standalonewindows of this AvatarPerformance. # noqa: E501 + :type standalonewindows: str + """ + + self._standalonewindows = standalonewindows + + @property + def standalonewindows_sort(self): + """Gets the standalonewindows_sort of this AvatarPerformance. # noqa: E501 + + + :return: The standalonewindows_sort of this AvatarPerformance. # noqa: E501 + :rtype: int + """ + return self._standalonewindows_sort + + @standalonewindows_sort.setter + def standalonewindows_sort(self, standalonewindows_sort): + """Sets the standalonewindows_sort of this AvatarPerformance. + + + :param standalonewindows_sort: The standalonewindows_sort of this AvatarPerformance. # noqa: E501 + :type standalonewindows_sort: int + """ + + self._standalonewindows_sort = standalonewindows_sort + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AvatarPerformance): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, AvatarPerformance): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/avatar_published_listings_inner.py b/vrchatapi/models/avatar_published_listings_inner.py index daabfea3..23e5b4c5 100644 --- a/vrchatapi/models/avatar_published_listings_inner.py +++ b/vrchatapi/models/avatar_published_listings_inner.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_styles.py b/vrchatapi/models/avatar_styles.py index 998eefe7..b7f43069 100644 --- a/vrchatapi/models/avatar_styles.py +++ b/vrchatapi/models/avatar_styles.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index fa3ab97c..a38e262b 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/badge.py b/vrchatapi/models/badge.py index 83bdda1e..efca9a88 100644 --- a/vrchatapi/models/badge.py +++ b/vrchatapi/models/badge.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/balance.py b/vrchatapi/models/balance.py index 7939ecb9..63b0e721 100644 --- a/vrchatapi/models/balance.py +++ b/vrchatapi/models/balance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index 53acff23..e0aab412 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/change_user_tags_request.py b/vrchatapi/models/change_user_tags_request.py index 9711cd96..19eb1202 100644 --- a/vrchatapi/models/change_user_tags_request.py +++ b/vrchatapi/models/change_user_tags_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index 47673e99..b0290816 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index 6f6b1f53..c6cc3fb2 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index a7cfac8c..3dded762 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index 00073c51..86f2cb9c 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index d0b30a23..046f54bc 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index 60036506..72faa8b6 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_post_request.py b/vrchatapi/models/create_group_post_request.py index eb913e48..6325fc93 100644 --- a/vrchatapi/models/create_group_post_request.py +++ b/vrchatapi/models/create_group_post_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index 20b355cf..d555e194 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index c123236a..afadd77c 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_instance_request.py b/vrchatapi/models/create_instance_request.py index b1df55ce..ea3bb096 100644 --- a/vrchatapi/models/create_instance_request.py +++ b/vrchatapi/models/create_instance_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index 4883d6a3..d14a1e38 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index 999f3183..6095fc0d 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user_platform_history_inner.py b/vrchatapi/models/current_user_platform_history_inner.py index 670a9f5f..2f59c999 100644 --- a/vrchatapi/models/current_user_platform_history_inner.py +++ b/vrchatapi/models/current_user_platform_history_inner.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user_presence.py b/vrchatapi/models/current_user_presence.py index 2e096c14..bcadd013 100644 --- a/vrchatapi/models/current_user_presence.py +++ b/vrchatapi/models/current_user_presence.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -39,6 +39,7 @@ class CurrentUserPresence(object): 'avatar_thumbnail': 'str', 'current_avatar_tags': 'str', 'display_name': 'str', + 'debugflag': 'str', 'groups': 'list[str]', 'id': 'str', 'instance': 'str', @@ -57,6 +58,7 @@ class CurrentUserPresence(object): 'avatar_thumbnail': 'avatarThumbnail', 'current_avatar_tags': 'currentAvatarTags', 'display_name': 'displayName', + 'debugflag': 'debugflag', 'groups': 'groups', 'id': 'id', 'instance': 'instance', @@ -71,7 +73,7 @@ class CurrentUserPresence(object): 'world': 'world' } - def __init__(self, avatar_thumbnail=None, current_avatar_tags=None, display_name=None, groups=None, id=None, instance=None, instance_type=None, is_rejoining=None, platform=None, profile_pic_override=None, status=None, traveling_to_instance=None, traveling_to_world=None, user_icon=None, world=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, avatar_thumbnail=None, current_avatar_tags=None, display_name=None, debugflag=None, groups=None, id=None, instance=None, instance_type=None, is_rejoining=None, platform=None, profile_pic_override=None, status=None, traveling_to_instance=None, traveling_to_world=None, user_icon=None, world=None, local_vars_configuration=None): # noqa: E501 """CurrentUserPresence - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -80,6 +82,7 @@ def __init__(self, avatar_thumbnail=None, current_avatar_tags=None, display_name self._avatar_thumbnail = None self._current_avatar_tags = None self._display_name = None + self._debugflag = None self._groups = None self._id = None self._instance = None @@ -99,6 +102,8 @@ def __init__(self, avatar_thumbnail=None, current_avatar_tags=None, display_name self.current_avatar_tags = current_avatar_tags if display_name is not None: self.display_name = display_name + if debugflag is not None: + self.debugflag = debugflag self.groups = groups if id is not None: self.id = id @@ -178,6 +183,27 @@ def display_name(self, display_name): self._display_name = display_name + @property + def debugflag(self): + """Gets the debugflag of this CurrentUserPresence. # noqa: E501 + + + :return: The debugflag of this CurrentUserPresence. # noqa: E501 + :rtype: str + """ + return self._debugflag + + @debugflag.setter + def debugflag(self, debugflag): + """Sets the debugflag of this CurrentUserPresence. + + + :param debugflag: The debugflag of this CurrentUserPresence. # noqa: E501 + :type debugflag: str + """ + + self._debugflag = debugflag + @property def groups(self): """Gets the groups of this CurrentUserPresence. # noqa: E501 diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index 459c1924..051079fc 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/disable2_fa_result.py b/vrchatapi/models/disable2_fa_result.py index 86e0a881..03bc1735 100644 --- a/vrchatapi/models/disable2_fa_result.py +++ b/vrchatapi/models/disable2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index 43619f23..bc93ab3b 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index e587a5a8..932789a4 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index df7d8184..5b64fdde 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index cdca7be8..2e18e08d 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_limits.py b/vrchatapi/models/favorite_group_limits.py index 4add3c10..67624a3d 100644 --- a/vrchatapi/models/favorite_group_limits.py +++ b/vrchatapi/models/favorite_group_limits.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index 30b6c3f1..6f2c0168 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_limits.py b/vrchatapi/models/favorite_limits.py index a030b0d5..be636fdd 100644 --- a/vrchatapi/models/favorite_limits.py +++ b/vrchatapi/models/favorite_limits.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index 8127e36e..0312894c 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorited_world.py b/vrchatapi/models/favorited_world.py index c5f38813..b1480738 100644 --- a/vrchatapi/models/favorited_world.py +++ b/vrchatapi/models/favorited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/feedback.py b/vrchatapi/models/feedback.py index 63d39fbd..ceed096c 100644 --- a/vrchatapi/models/feedback.py +++ b/vrchatapi/models/feedback.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index aa6805ce..e7a43fd0 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_analysis.py b/vrchatapi/models/file_analysis.py index 66860ef9..8b273a8c 100644 --- a/vrchatapi/models/file_analysis.py +++ b/vrchatapi/models/file_analysis.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_analysis_avatar_stats.py b/vrchatapi/models/file_analysis_avatar_stats.py index aae164f9..c48afc1b 100644 --- a/vrchatapi/models/file_analysis_avatar_stats.py +++ b/vrchatapi/models/file_analysis_avatar_stats.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index fff1c081..cb2aa703 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index 55fef4b8..a6857359 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index 75f62b1e..92d2571b 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index a1b3ff73..f079559b 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index 0a52232f..f055990a 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index 42ed1e0c..dff99624 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index 004e1934..7bea4f01 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/get_group_posts200_response.py b/vrchatapi/models/get_group_posts200_response.py index ddc458ef..b30ed08e 100644 --- a/vrchatapi/models/get_group_posts200_response.py +++ b/vrchatapi/models/get_group_posts200_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/get_user_group_instances200_response.py b/vrchatapi/models/get_user_group_instances200_response.py index ed9fdcc9..27611898 100644 --- a/vrchatapi/models/get_user_group_instances200_response.py +++ b/vrchatapi/models/get_user_group_instances200_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index 7e8464a5..851ddc26 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_access_type.py b/vrchatapi/models/group_access_type.py index 54ff3e52..9926aff9 100644 --- a/vrchatapi/models/group_access_type.py +++ b/vrchatapi/models/group_access_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index e76f0ccf..8d60381c 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index 4ca7ee4f..87161228 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index c87a630d..329d1952 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index 813e9b96..bda438d8 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_instance.py b/vrchatapi/models/group_instance.py index 1a02b3a4..2d1e6ed7 100644 --- a/vrchatapi/models/group_instance.py +++ b/vrchatapi/models/group_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_request_action.py b/vrchatapi/models/group_join_request_action.py index bdb1e5d4..f68461fc 100644 --- a/vrchatapi/models/group_join_request_action.py +++ b/vrchatapi/models/group_join_request_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index 8787fa41..4cbe17de 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index e0cf0127..a76c2e67 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index d268f66b..1c6ed3c9 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index b3b8b897..299be072 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index 9e0194b8..3247bfb8 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index 692fce71..75fb98e7 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index 12b539ab..66537ed3 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permissions.py b/vrchatapi/models/group_permissions.py index 85e63c9d..8d76d92b 100644 --- a/vrchatapi/models/group_permissions.py +++ b/vrchatapi/models/group_permissions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post.py b/vrchatapi/models/group_post.py index 3e1ea5f7..762f9770 100644 --- a/vrchatapi/models/group_post.py +++ b/vrchatapi/models/group_post.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post_visibility.py b/vrchatapi/models/group_post_visibility.py index 144e54a2..352309fa 100644 --- a/vrchatapi/models/group_post_visibility.py +++ b/vrchatapi/models/group_post_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index 8de77d0c..39d2d938 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index 9f72bb95..006e7d7e 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index f0e34cd7..64b0da8f 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template_values.py b/vrchatapi/models/group_role_template_values.py index d63929e6..aa34e25a 100644 --- a/vrchatapi/models/group_role_template_values.py +++ b/vrchatapi/models/group_role_template_values.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template_values_roles.py b/vrchatapi/models/group_role_template_values_roles.py index d6d15782..7a47b61f 100644 --- a/vrchatapi/models/group_role_template_values_roles.py +++ b/vrchatapi/models/group_role_template_values_roles.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_search_sort.py b/vrchatapi/models/group_search_sort.py index f4fec939..98575920 100644 --- a/vrchatapi/models/group_search_sort.py +++ b/vrchatapi/models/group_search_sort.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index 803ec7be..47ec4e03 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index 503a9812..8bf441de 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index 7c3efc0f..23e8fddd 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index b9fc2feb..b51580c8 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index dea4f3cd..89ea482e 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index b530c816..1dd664ee 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index d72d4f67..56b542ed 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -72,7 +72,7 @@ class Instance(object): 'strict': 'bool', 'user_count': 'int', 'world': 'World', - 'users': 'list[LimitedUser]', + 'users': 'list[LimitedUserInstance]', 'group_access_type': 'GroupAccessType', 'has_capacity_for_you': 'bool', 'nonce': 'str', @@ -1088,7 +1088,7 @@ def users(self): The users field is present on instances created by the requesting user. # noqa: E501 :return: The users of this Instance. # noqa: E501 - :rtype: list[LimitedUser] + :rtype: list[LimitedUserInstance] """ return self._users @@ -1099,7 +1099,7 @@ def users(self, users): The users field is present on instances created by the requesting user. # noqa: E501 :param users: The users of this Instance. # noqa: E501 - :type users: list[LimitedUser] + :type users: list[LimitedUserInstance] """ self._users = users diff --git a/vrchatapi/models/instance_content_settings.py b/vrchatapi/models/instance_content_settings.py index febb6646..aa991f35 100644 --- a/vrchatapi/models/instance_content_settings.py +++ b/vrchatapi/models/instance_content_settings.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -40,7 +40,8 @@ class InstanceContentSettings(object): 'emoji': 'bool', 'pedestals': 'bool', 'prints': 'bool', - 'stickers': 'bool' + 'stickers': 'bool', + 'props': 'bool' } attribute_map = { @@ -48,10 +49,11 @@ class InstanceContentSettings(object): 'emoji': 'emoji', 'pedestals': 'pedestals', 'prints': 'prints', - 'stickers': 'stickers' + 'stickers': 'stickers', + 'props': 'props' } - def __init__(self, drones=True, emoji=True, pedestals=True, prints=True, stickers=True, local_vars_configuration=None): # noqa: E501 + def __init__(self, drones=True, emoji=True, pedestals=True, prints=True, stickers=True, props=True, local_vars_configuration=None): # noqa: E501 """InstanceContentSettings - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -62,6 +64,7 @@ def __init__(self, drones=True, emoji=True, pedestals=True, prints=True, sticker self._pedestals = None self._prints = None self._stickers = None + self._props = None self.discriminator = None if drones is not None: @@ -74,6 +77,8 @@ def __init__(self, drones=True, emoji=True, pedestals=True, prints=True, sticker self.prints = prints if stickers is not None: self.stickers = stickers + if props is not None: + self.props = props @property def drones(self): @@ -180,6 +185,27 @@ def stickers(self, stickers): self._stickers = stickers + @property + def props(self): + """Gets the props of this InstanceContentSettings. # noqa: E501 + + + :return: The props of this InstanceContentSettings. # noqa: E501 + :rtype: bool + """ + return self._props + + @props.setter + def props(self, props): + """Sets the props of this InstanceContentSettings. + + + :param props: The props of this InstanceContentSettings. # noqa: E501 + :type props: bool + """ + + self._props = props + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index b75306f4..7e76d292 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_region.py b/vrchatapi/models/instance_region.py index 5ba05ade..b84a0577 100644 --- a/vrchatapi/models/instance_region.py +++ b/vrchatapi/models/instance_region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index 0a5331c6..69f2521c 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index 3f75bdf7..a8d841e7 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index 893cbd00..a26e2ac6 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index 2cf57c22..f626667d 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index a116e131..585e8d87 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index 007e4ef9..3e3cbbba 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/jam.py b/vrchatapi/models/jam.py index 421c3cbb..15ca99e3 100644 --- a/vrchatapi/models/jam.py +++ b/vrchatapi/models/jam.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/jam_state_change_dates.py b/vrchatapi/models/jam_state_change_dates.py index 2c9e6b7a..2b027b74 100644 --- a/vrchatapi/models/jam_state_change_dates.py +++ b/vrchatapi/models/jam_state_change_dates.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index c72273d5..cf9619e9 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index 4836a949..2978ed35 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index c948ac19..8f0ff274 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index 65933af8..d02b1cc6 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_group.py b/vrchatapi/models/limited_group.py index 3ae1c8a0..adb59997 100644 --- a/vrchatapi/models/limited_group.py +++ b/vrchatapi/models/limited_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index d0e0b840..e220f821 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user_friend.py b/vrchatapi/models/limited_user_friend.py new file mode 100644 index 00000000..81a06db8 --- /dev/null +++ b/vrchatapi/models/limited_user_friend.py @@ -0,0 +1,728 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.0 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class LimitedUserFriend(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'bio': 'str', + 'bio_links': 'list[str]', + 'current_avatar_image_url': 'str', + 'current_avatar_thumbnail_image_url': 'str', + 'current_avatar_tags': 'list[str]', + 'developer_type': 'DeveloperType', + 'display_name': 'str', + 'friend_key': 'str', + 'id': 'str', + 'is_friend': 'bool', + 'image_url': 'str', + 'last_platform': 'str', + 'location': 'str', + 'last_login': 'datetime', + 'last_activity': 'datetime', + 'last_mobile': 'datetime', + 'platform': 'str', + 'profile_pic_override': 'str', + 'profile_pic_override_thumbnail': 'str', + 'status': 'UserStatus', + 'status_description': 'str', + 'tags': 'list[str]', + 'user_icon': 'str' + } + + attribute_map = { + 'bio': 'bio', + 'bio_links': 'bioLinks', + 'current_avatar_image_url': 'currentAvatarImageUrl', + 'current_avatar_thumbnail_image_url': 'currentAvatarThumbnailImageUrl', + 'current_avatar_tags': 'currentAvatarTags', + 'developer_type': 'developerType', + 'display_name': 'displayName', + 'friend_key': 'friendKey', + 'id': 'id', + 'is_friend': 'isFriend', + 'image_url': 'imageUrl', + 'last_platform': 'last_platform', + 'location': 'location', + 'last_login': 'last_login', + 'last_activity': 'last_activity', + 'last_mobile': 'last_mobile', + 'platform': 'platform', + 'profile_pic_override': 'profilePicOverride', + 'profile_pic_override_thumbnail': 'profilePicOverrideThumbnail', + 'status': 'status', + 'status_description': 'statusDescription', + 'tags': 'tags', + 'user_icon': 'userIcon' + } + + def __init__(self, bio=None, bio_links=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, developer_type=None, display_name=None, friend_key=None, id=None, is_friend=None, image_url=None, last_platform=None, location=None, last_login=None, last_activity=None, last_mobile=None, platform=None, profile_pic_override=None, profile_pic_override_thumbnail=None, status=None, status_description=None, tags=None, user_icon=None, local_vars_configuration=None): # noqa: E501 + """LimitedUserFriend - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._bio = None + self._bio_links = None + self._current_avatar_image_url = None + self._current_avatar_thumbnail_image_url = None + self._current_avatar_tags = None + self._developer_type = None + self._display_name = None + self._friend_key = None + self._id = None + self._is_friend = None + self._image_url = None + self._last_platform = None + self._location = None + self._last_login = None + self._last_activity = None + self._last_mobile = None + self._platform = None + self._profile_pic_override = None + self._profile_pic_override_thumbnail = None + self._status = None + self._status_description = None + self._tags = None + self._user_icon = None + self.discriminator = None + + if bio is not None: + self.bio = bio + if bio_links is not None: + self.bio_links = bio_links + self.current_avatar_image_url = current_avatar_image_url + if current_avatar_thumbnail_image_url is not None: + self.current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url + if current_avatar_tags is not None: + self.current_avatar_tags = current_avatar_tags + self.developer_type = developer_type + self.display_name = display_name + self.friend_key = friend_key + self.id = id + self.is_friend = is_friend + self.image_url = image_url + self.last_platform = last_platform + self.location = location + self.last_login = last_login + self.last_activity = last_activity + self.last_mobile = last_mobile + self.platform = platform + self.profile_pic_override = profile_pic_override + self.profile_pic_override_thumbnail = profile_pic_override_thumbnail + self.status = status + self.status_description = status_description + self.tags = tags + self.user_icon = user_icon + + @property + def bio(self): + """Gets the bio of this LimitedUserFriend. # noqa: E501 + + + :return: The bio of this LimitedUserFriend. # noqa: E501 + :rtype: str + """ + return self._bio + + @bio.setter + def bio(self, bio): + """Sets the bio of this LimitedUserFriend. + + + :param bio: The bio of this LimitedUserFriend. # noqa: E501 + :type bio: str + """ + + self._bio = bio + + @property + def bio_links(self): + """Gets the bio_links of this LimitedUserFriend. # noqa: E501 + + # noqa: E501 + + :return: The bio_links of this LimitedUserFriend. # noqa: E501 + :rtype: list[str] + """ + return self._bio_links + + @bio_links.setter + def bio_links(self, bio_links): + """Sets the bio_links of this LimitedUserFriend. + + # noqa: E501 + + :param bio_links: The bio_links of this LimitedUserFriend. # noqa: E501 + :type bio_links: list[str] + """ + + self._bio_links = bio_links + + @property + def current_avatar_image_url(self): + """Gets the current_avatar_image_url of this LimitedUserFriend. # noqa: E501 + + When profilePicOverride is not empty, use it instead. # noqa: E501 + + :return: The current_avatar_image_url of this LimitedUserFriend. # noqa: E501 + :rtype: str + """ + return self._current_avatar_image_url + + @current_avatar_image_url.setter + def current_avatar_image_url(self, current_avatar_image_url): + """Sets the current_avatar_image_url of this LimitedUserFriend. + + When profilePicOverride is not empty, use it instead. # noqa: E501 + + :param current_avatar_image_url: The current_avatar_image_url of this LimitedUserFriend. # noqa: E501 + :type current_avatar_image_url: str + """ + if self.local_vars_configuration.client_side_validation and current_avatar_image_url is None: # noqa: E501 + raise ValueError("Invalid value for `current_avatar_image_url`, must not be `None`") # noqa: E501 + + self._current_avatar_image_url = current_avatar_image_url + + @property + def current_avatar_thumbnail_image_url(self): + """Gets the current_avatar_thumbnail_image_url of this LimitedUserFriend. # noqa: E501 + + When profilePicOverride is not empty, use it instead. # noqa: E501 + + :return: The current_avatar_thumbnail_image_url of this LimitedUserFriend. # noqa: E501 + :rtype: str + """ + return self._current_avatar_thumbnail_image_url + + @current_avatar_thumbnail_image_url.setter + def current_avatar_thumbnail_image_url(self, current_avatar_thumbnail_image_url): + """Sets the current_avatar_thumbnail_image_url of this LimitedUserFriend. + + When profilePicOverride is not empty, use it instead. # noqa: E501 + + :param current_avatar_thumbnail_image_url: The current_avatar_thumbnail_image_url of this LimitedUserFriend. # noqa: E501 + :type current_avatar_thumbnail_image_url: str + """ + + self._current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url + + @property + def current_avatar_tags(self): + """Gets the current_avatar_tags of this LimitedUserFriend. # noqa: E501 + + + :return: The current_avatar_tags of this LimitedUserFriend. # noqa: E501 + :rtype: list[str] + """ + return self._current_avatar_tags + + @current_avatar_tags.setter + def current_avatar_tags(self, current_avatar_tags): + """Sets the current_avatar_tags of this LimitedUserFriend. + + + :param current_avatar_tags: The current_avatar_tags of this LimitedUserFriend. # noqa: E501 + :type current_avatar_tags: list[str] + """ + + self._current_avatar_tags = current_avatar_tags + + @property + def developer_type(self): + """Gets the developer_type of this LimitedUserFriend. # noqa: E501 + + + :return: The developer_type of this LimitedUserFriend. # noqa: E501 + :rtype: DeveloperType + """ + return self._developer_type + + @developer_type.setter + def developer_type(self, developer_type): + """Sets the developer_type of this LimitedUserFriend. + + + :param developer_type: The developer_type of this LimitedUserFriend. # noqa: E501 + :type developer_type: DeveloperType + """ + if self.local_vars_configuration.client_side_validation and developer_type is None: # noqa: E501 + raise ValueError("Invalid value for `developer_type`, must not be `None`") # noqa: E501 + + self._developer_type = developer_type + + @property + def display_name(self): + """Gets the display_name of this LimitedUserFriend. # noqa: E501 + + + :return: The display_name of this LimitedUserFriend. # noqa: E501 + :rtype: str + """ + return self._display_name + + @display_name.setter + def display_name(self, display_name): + """Sets the display_name of this LimitedUserFriend. + + + :param display_name: The display_name of this LimitedUserFriend. # noqa: E501 + :type display_name: str + """ + if self.local_vars_configuration.client_side_validation and display_name is None: # noqa: E501 + raise ValueError("Invalid value for `display_name`, must not be `None`") # noqa: E501 + + self._display_name = display_name + + @property + def friend_key(self): + """Gets the friend_key of this LimitedUserFriend. # noqa: E501 + + + :return: The friend_key of this LimitedUserFriend. # noqa: E501 + :rtype: str + """ + return self._friend_key + + @friend_key.setter + def friend_key(self, friend_key): + """Sets the friend_key of this LimitedUserFriend. + + + :param friend_key: The friend_key of this LimitedUserFriend. # noqa: E501 + :type friend_key: str + """ + if self.local_vars_configuration.client_side_validation and friend_key is None: # noqa: E501 + raise ValueError("Invalid value for `friend_key`, must not be `None`") # noqa: E501 + + self._friend_key = friend_key + + @property + def id(self): + """Gets the id of this LimitedUserFriend. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The id of this LimitedUserFriend. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this LimitedUserFriend. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param id: The id of this LimitedUserFriend. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + + self._id = id + + @property + def is_friend(self): + """Gets the is_friend of this LimitedUserFriend. # noqa: E501 + + + :return: The is_friend of this LimitedUserFriend. # noqa: E501 + :rtype: bool + """ + return self._is_friend + + @is_friend.setter + def is_friend(self, is_friend): + """Sets the is_friend of this LimitedUserFriend. + + + :param is_friend: The is_friend of this LimitedUserFriend. # noqa: E501 + :type is_friend: bool + """ + if self.local_vars_configuration.client_side_validation and is_friend is None: # noqa: E501 + raise ValueError("Invalid value for `is_friend`, must not be `None`") # noqa: E501 + + self._is_friend = is_friend + + @property + def image_url(self): + """Gets the image_url of this LimitedUserFriend. # noqa: E501 + + + :return: The image_url of this LimitedUserFriend. # noqa: E501 + :rtype: str + """ + return self._image_url + + @image_url.setter + def image_url(self, image_url): + """Sets the image_url of this LimitedUserFriend. + + + :param image_url: The image_url of this LimitedUserFriend. # noqa: E501 + :type image_url: str + """ + if self.local_vars_configuration.client_side_validation and image_url is None: # noqa: E501 + raise ValueError("Invalid value for `image_url`, must not be `None`") # noqa: E501 + + self._image_url = image_url + + @property + def last_platform(self): + """Gets the last_platform of this LimitedUserFriend. # noqa: E501 + + This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + + :return: The last_platform of this LimitedUserFriend. # noqa: E501 + :rtype: str + """ + return self._last_platform + + @last_platform.setter + def last_platform(self, last_platform): + """Sets the last_platform of this LimitedUserFriend. + + This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + + :param last_platform: The last_platform of this LimitedUserFriend. # noqa: E501 + :type last_platform: str + """ + if self.local_vars_configuration.client_side_validation and last_platform is None: # noqa: E501 + raise ValueError("Invalid value for `last_platform`, must not be `None`") # noqa: E501 + + self._last_platform = last_platform + + @property + def location(self): + """Gets the location of this LimitedUserFriend. # noqa: E501 + + + :return: The location of this LimitedUserFriend. # noqa: E501 + :rtype: str + """ + return self._location + + @location.setter + def location(self, location): + """Sets the location of this LimitedUserFriend. + + + :param location: The location of this LimitedUserFriend. # noqa: E501 + :type location: str + """ + if self.local_vars_configuration.client_side_validation and location is None: # noqa: E501 + raise ValueError("Invalid value for `location`, must not be `None`") # noqa: E501 + + self._location = location + + @property + def last_login(self): + """Gets the last_login of this LimitedUserFriend. # noqa: E501 + + + :return: The last_login of this LimitedUserFriend. # noqa: E501 + :rtype: datetime + """ + return self._last_login + + @last_login.setter + def last_login(self, last_login): + """Sets the last_login of this LimitedUserFriend. + + + :param last_login: The last_login of this LimitedUserFriend. # noqa: E501 + :type last_login: datetime + """ + + self._last_login = last_login + + @property + def last_activity(self): + """Gets the last_activity of this LimitedUserFriend. # noqa: E501 + + + :return: The last_activity of this LimitedUserFriend. # noqa: E501 + :rtype: datetime + """ + return self._last_activity + + @last_activity.setter + def last_activity(self, last_activity): + """Sets the last_activity of this LimitedUserFriend. + + + :param last_activity: The last_activity of this LimitedUserFriend. # noqa: E501 + :type last_activity: datetime + """ + + self._last_activity = last_activity + + @property + def last_mobile(self): + """Gets the last_mobile of this LimitedUserFriend. # noqa: E501 + + + :return: The last_mobile of this LimitedUserFriend. # noqa: E501 + :rtype: datetime + """ + return self._last_mobile + + @last_mobile.setter + def last_mobile(self, last_mobile): + """Sets the last_mobile of this LimitedUserFriend. + + + :param last_mobile: The last_mobile of this LimitedUserFriend. # noqa: E501 + :type last_mobile: datetime + """ + + self._last_mobile = last_mobile + + @property + def platform(self): + """Gets the platform of this LimitedUserFriend. # noqa: E501 + + + :return: The platform of this LimitedUserFriend. # noqa: E501 + :rtype: str + """ + return self._platform + + @platform.setter + def platform(self, platform): + """Sets the platform of this LimitedUserFriend. + + + :param platform: The platform of this LimitedUserFriend. # noqa: E501 + :type platform: str + """ + if self.local_vars_configuration.client_side_validation and platform is None: # noqa: E501 + raise ValueError("Invalid value for `platform`, must not be `None`") # noqa: E501 + + self._platform = platform + + @property + def profile_pic_override(self): + """Gets the profile_pic_override of this LimitedUserFriend. # noqa: E501 + + + :return: The profile_pic_override of this LimitedUserFriend. # noqa: E501 + :rtype: str + """ + return self._profile_pic_override + + @profile_pic_override.setter + def profile_pic_override(self, profile_pic_override): + """Sets the profile_pic_override of this LimitedUserFriend. + + + :param profile_pic_override: The profile_pic_override of this LimitedUserFriend. # noqa: E501 + :type profile_pic_override: str + """ + if self.local_vars_configuration.client_side_validation and profile_pic_override is None: # noqa: E501 + raise ValueError("Invalid value for `profile_pic_override`, must not be `None`") # noqa: E501 + + self._profile_pic_override = profile_pic_override + + @property + def profile_pic_override_thumbnail(self): + """Gets the profile_pic_override_thumbnail of this LimitedUserFriend. # noqa: E501 + + + :return: The profile_pic_override_thumbnail of this LimitedUserFriend. # noqa: E501 + :rtype: str + """ + return self._profile_pic_override_thumbnail + + @profile_pic_override_thumbnail.setter + def profile_pic_override_thumbnail(self, profile_pic_override_thumbnail): + """Sets the profile_pic_override_thumbnail of this LimitedUserFriend. + + + :param profile_pic_override_thumbnail: The profile_pic_override_thumbnail of this LimitedUserFriend. # noqa: E501 + :type profile_pic_override_thumbnail: str + """ + if self.local_vars_configuration.client_side_validation and profile_pic_override_thumbnail is None: # noqa: E501 + raise ValueError("Invalid value for `profile_pic_override_thumbnail`, must not be `None`") # noqa: E501 + + self._profile_pic_override_thumbnail = profile_pic_override_thumbnail + + @property + def status(self): + """Gets the status of this LimitedUserFriend. # noqa: E501 + + + :return: The status of this LimitedUserFriend. # noqa: E501 + :rtype: UserStatus + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this LimitedUserFriend. + + + :param status: The status of this LimitedUserFriend. # noqa: E501 + :type status: UserStatus + """ + if self.local_vars_configuration.client_side_validation and status is None: # noqa: E501 + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 + + self._status = status + + @property + def status_description(self): + """Gets the status_description of this LimitedUserFriend. # noqa: E501 + + + :return: The status_description of this LimitedUserFriend. # noqa: E501 + :rtype: str + """ + return self._status_description + + @status_description.setter + def status_description(self, status_description): + """Sets the status_description of this LimitedUserFriend. + + + :param status_description: The status_description of this LimitedUserFriend. # noqa: E501 + :type status_description: str + """ + if self.local_vars_configuration.client_side_validation and status_description is None: # noqa: E501 + raise ValueError("Invalid value for `status_description`, must not be `None`") # noqa: E501 + + self._status_description = status_description + + @property + def tags(self): + """Gets the tags of this LimitedUserFriend. # noqa: E501 + + <- Always empty. # noqa: E501 + + :return: The tags of this LimitedUserFriend. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this LimitedUserFriend. + + <- Always empty. # noqa: E501 + + :param tags: The tags of this LimitedUserFriend. # noqa: E501 + :type tags: list[str] + """ + if self.local_vars_configuration.client_side_validation and tags is None: # noqa: E501 + raise ValueError("Invalid value for `tags`, must not be `None`") # noqa: E501 + + self._tags = tags + + @property + def user_icon(self): + """Gets the user_icon of this LimitedUserFriend. # noqa: E501 + + + :return: The user_icon of this LimitedUserFriend. # noqa: E501 + :rtype: str + """ + return self._user_icon + + @user_icon.setter + def user_icon(self, user_icon): + """Sets the user_icon of this LimitedUserFriend. + + + :param user_icon: The user_icon of this LimitedUserFriend. # noqa: E501 + :type user_icon: str + """ + if self.local_vars_configuration.client_side_validation and user_icon is None: # noqa: E501 + raise ValueError("Invalid value for `user_icon`, must not be `None`") # noqa: E501 + + self._user_icon = user_icon + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, LimitedUserFriend): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, LimitedUserFriend): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/limited_user_groups.py b/vrchatapi/models/limited_user_groups.py index b7130764..5b582a8b 100644 --- a/vrchatapi/models/limited_user_groups.py +++ b/vrchatapi/models/limited_user_groups.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user_instance.py b/vrchatapi/models/limited_user_instance.py new file mode 100644 index 00000000..5bce23a2 --- /dev/null +++ b/vrchatapi/models/limited_user_instance.py @@ -0,0 +1,836 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.0 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class LimitedUserInstance(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'age_verification_status': 'AgeVerificationStatus', + 'age_verified': 'bool', + 'allow_avatar_copying': 'bool', + 'bio': 'str', + 'bio_links': 'list[str]', + 'current_avatar_image_url': 'str', + 'current_avatar_thumbnail_image_url': 'str', + 'current_avatar_tags': 'list[str]', + 'date_joined': 'datetime', + 'developer_type': 'DeveloperType', + 'display_name': 'str', + 'friend_key': 'str', + 'id': 'str', + 'is_friend': 'bool', + 'image_url': 'str', + 'last_platform': 'str', + 'last_activity': 'datetime', + 'last_mobile': 'datetime', + 'platform': 'str', + 'profile_pic_override': 'str', + 'profile_pic_override_thumbnail': 'str', + 'pronouns': 'str', + 'state': 'UserState', + 'status': 'UserStatus', + 'status_description': 'str', + 'tags': 'list[str]', + 'user_icon': 'str' + } + + attribute_map = { + 'age_verification_status': 'ageVerificationStatus', + 'age_verified': 'ageVerified', + 'allow_avatar_copying': 'allowAvatarCopying', + 'bio': 'bio', + 'bio_links': 'bioLinks', + 'current_avatar_image_url': 'currentAvatarImageUrl', + 'current_avatar_thumbnail_image_url': 'currentAvatarThumbnailImageUrl', + 'current_avatar_tags': 'currentAvatarTags', + 'date_joined': 'date_joined', + 'developer_type': 'developerType', + 'display_name': 'displayName', + 'friend_key': 'friendKey', + 'id': 'id', + 'is_friend': 'isFriend', + 'image_url': 'imageUrl', + 'last_platform': 'last_platform', + 'last_activity': 'last_activity', + 'last_mobile': 'last_mobile', + 'platform': 'platform', + 'profile_pic_override': 'profilePicOverride', + 'profile_pic_override_thumbnail': 'profilePicOverrideThumbnail', + 'pronouns': 'pronouns', + 'state': 'state', + 'status': 'status', + 'status_description': 'statusDescription', + 'tags': 'tags', + 'user_icon': 'userIcon' + } + + def __init__(self, age_verification_status=None, age_verified=None, allow_avatar_copying=None, bio=None, bio_links=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, date_joined=None, developer_type=None, display_name=None, friend_key=None, id=None, is_friend=None, image_url=None, last_platform=None, last_activity=None, last_mobile=None, platform=None, profile_pic_override=None, profile_pic_override_thumbnail=None, pronouns=None, state=None, status=None, status_description=None, tags=None, user_icon=None, local_vars_configuration=None): # noqa: E501 + """LimitedUserInstance - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._age_verification_status = None + self._age_verified = None + self._allow_avatar_copying = None + self._bio = None + self._bio_links = None + self._current_avatar_image_url = None + self._current_avatar_thumbnail_image_url = None + self._current_avatar_tags = None + self._date_joined = None + self._developer_type = None + self._display_name = None + self._friend_key = None + self._id = None + self._is_friend = None + self._image_url = None + self._last_platform = None + self._last_activity = None + self._last_mobile = None + self._platform = None + self._profile_pic_override = None + self._profile_pic_override_thumbnail = None + self._pronouns = None + self._state = None + self._status = None + self._status_description = None + self._tags = None + self._user_icon = None + self.discriminator = None + + self.age_verification_status = age_verification_status + self.age_verified = age_verified + self.allow_avatar_copying = allow_avatar_copying + if bio is not None: + self.bio = bio + if bio_links is not None: + self.bio_links = bio_links + self.current_avatar_image_url = current_avatar_image_url + self.current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url + self.current_avatar_tags = current_avatar_tags + self.date_joined = date_joined + self.developer_type = developer_type + self.display_name = display_name + self.friend_key = friend_key + self.id = id + self.is_friend = is_friend + if image_url is not None: + self.image_url = image_url + self.last_platform = last_platform + self.last_activity = last_activity + self.last_mobile = last_mobile + if platform is not None: + self.platform = platform + self.profile_pic_override = profile_pic_override + self.profile_pic_override_thumbnail = profile_pic_override_thumbnail + self.pronouns = pronouns + self.state = state + self.status = status + self.status_description = status_description + self.tags = tags + self.user_icon = user_icon + + @property + def age_verification_status(self): + """Gets the age_verification_status of this LimitedUserInstance. # noqa: E501 + + + :return: The age_verification_status of this LimitedUserInstance. # noqa: E501 + :rtype: AgeVerificationStatus + """ + return self._age_verification_status + + @age_verification_status.setter + def age_verification_status(self, age_verification_status): + """Sets the age_verification_status of this LimitedUserInstance. + + + :param age_verification_status: The age_verification_status of this LimitedUserInstance. # noqa: E501 + :type age_verification_status: AgeVerificationStatus + """ + if self.local_vars_configuration.client_side_validation and age_verification_status is None: # noqa: E501 + raise ValueError("Invalid value for `age_verification_status`, must not be `None`") # noqa: E501 + + self._age_verification_status = age_verification_status + + @property + def age_verified(self): + """Gets the age_verified of this LimitedUserInstance. # noqa: E501 + + `true` if, user is age verified (not 18+). # noqa: E501 + + :return: The age_verified of this LimitedUserInstance. # noqa: E501 + :rtype: bool + """ + return self._age_verified + + @age_verified.setter + def age_verified(self, age_verified): + """Sets the age_verified of this LimitedUserInstance. + + `true` if, user is age verified (not 18+). # noqa: E501 + + :param age_verified: The age_verified of this LimitedUserInstance. # noqa: E501 + :type age_verified: bool + """ + if self.local_vars_configuration.client_side_validation and age_verified is None: # noqa: E501 + raise ValueError("Invalid value for `age_verified`, must not be `None`") # noqa: E501 + + self._age_verified = age_verified + + @property + def allow_avatar_copying(self): + """Gets the allow_avatar_copying of this LimitedUserInstance. # noqa: E501 + + + :return: The allow_avatar_copying of this LimitedUserInstance. # noqa: E501 + :rtype: bool + """ + return self._allow_avatar_copying + + @allow_avatar_copying.setter + def allow_avatar_copying(self, allow_avatar_copying): + """Sets the allow_avatar_copying of this LimitedUserInstance. + + + :param allow_avatar_copying: The allow_avatar_copying of this LimitedUserInstance. # noqa: E501 + :type allow_avatar_copying: bool + """ + if self.local_vars_configuration.client_side_validation and allow_avatar_copying is None: # noqa: E501 + raise ValueError("Invalid value for `allow_avatar_copying`, must not be `None`") # noqa: E501 + + self._allow_avatar_copying = allow_avatar_copying + + @property + def bio(self): + """Gets the bio of this LimitedUserInstance. # noqa: E501 + + + :return: The bio of this LimitedUserInstance. # noqa: E501 + :rtype: str + """ + return self._bio + + @bio.setter + def bio(self, bio): + """Sets the bio of this LimitedUserInstance. + + + :param bio: The bio of this LimitedUserInstance. # noqa: E501 + :type bio: str + """ + + self._bio = bio + + @property + def bio_links(self): + """Gets the bio_links of this LimitedUserInstance. # noqa: E501 + + # noqa: E501 + + :return: The bio_links of this LimitedUserInstance. # noqa: E501 + :rtype: list[str] + """ + return self._bio_links + + @bio_links.setter + def bio_links(self, bio_links): + """Sets the bio_links of this LimitedUserInstance. + + # noqa: E501 + + :param bio_links: The bio_links of this LimitedUserInstance. # noqa: E501 + :type bio_links: list[str] + """ + + self._bio_links = bio_links + + @property + def current_avatar_image_url(self): + """Gets the current_avatar_image_url of this LimitedUserInstance. # noqa: E501 + + When profilePicOverride is not empty, use it instead. # noqa: E501 + + :return: The current_avatar_image_url of this LimitedUserInstance. # noqa: E501 + :rtype: str + """ + return self._current_avatar_image_url + + @current_avatar_image_url.setter + def current_avatar_image_url(self, current_avatar_image_url): + """Sets the current_avatar_image_url of this LimitedUserInstance. + + When profilePicOverride is not empty, use it instead. # noqa: E501 + + :param current_avatar_image_url: The current_avatar_image_url of this LimitedUserInstance. # noqa: E501 + :type current_avatar_image_url: str + """ + if self.local_vars_configuration.client_side_validation and current_avatar_image_url is None: # noqa: E501 + raise ValueError("Invalid value for `current_avatar_image_url`, must not be `None`") # noqa: E501 + + self._current_avatar_image_url = current_avatar_image_url + + @property + def current_avatar_thumbnail_image_url(self): + """Gets the current_avatar_thumbnail_image_url of this LimitedUserInstance. # noqa: E501 + + When profilePicOverride is not empty, use it instead. # noqa: E501 + + :return: The current_avatar_thumbnail_image_url of this LimitedUserInstance. # noqa: E501 + :rtype: str + """ + return self._current_avatar_thumbnail_image_url + + @current_avatar_thumbnail_image_url.setter + def current_avatar_thumbnail_image_url(self, current_avatar_thumbnail_image_url): + """Sets the current_avatar_thumbnail_image_url of this LimitedUserInstance. + + When profilePicOverride is not empty, use it instead. # noqa: E501 + + :param current_avatar_thumbnail_image_url: The current_avatar_thumbnail_image_url of this LimitedUserInstance. # noqa: E501 + :type current_avatar_thumbnail_image_url: str + """ + if self.local_vars_configuration.client_side_validation and current_avatar_thumbnail_image_url is None: # noqa: E501 + raise ValueError("Invalid value for `current_avatar_thumbnail_image_url`, must not be `None`") # noqa: E501 + + self._current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url + + @property + def current_avatar_tags(self): + """Gets the current_avatar_tags of this LimitedUserInstance. # noqa: E501 + + + :return: The current_avatar_tags of this LimitedUserInstance. # noqa: E501 + :rtype: list[str] + """ + return self._current_avatar_tags + + @current_avatar_tags.setter + def current_avatar_tags(self, current_avatar_tags): + """Sets the current_avatar_tags of this LimitedUserInstance. + + + :param current_avatar_tags: The current_avatar_tags of this LimitedUserInstance. # noqa: E501 + :type current_avatar_tags: list[str] + """ + if self.local_vars_configuration.client_side_validation and current_avatar_tags is None: # noqa: E501 + raise ValueError("Invalid value for `current_avatar_tags`, must not be `None`") # noqa: E501 + + self._current_avatar_tags = current_avatar_tags + + @property + def date_joined(self): + """Gets the date_joined of this LimitedUserInstance. # noqa: E501 + + + :return: The date_joined of this LimitedUserInstance. # noqa: E501 + :rtype: datetime + """ + return self._date_joined + + @date_joined.setter + def date_joined(self, date_joined): + """Sets the date_joined of this LimitedUserInstance. + + + :param date_joined: The date_joined of this LimitedUserInstance. # noqa: E501 + :type date_joined: datetime + """ + + self._date_joined = date_joined + + @property + def developer_type(self): + """Gets the developer_type of this LimitedUserInstance. # noqa: E501 + + + :return: The developer_type of this LimitedUserInstance. # noqa: E501 + :rtype: DeveloperType + """ + return self._developer_type + + @developer_type.setter + def developer_type(self, developer_type): + """Sets the developer_type of this LimitedUserInstance. + + + :param developer_type: The developer_type of this LimitedUserInstance. # noqa: E501 + :type developer_type: DeveloperType + """ + if self.local_vars_configuration.client_side_validation and developer_type is None: # noqa: E501 + raise ValueError("Invalid value for `developer_type`, must not be `None`") # noqa: E501 + + self._developer_type = developer_type + + @property + def display_name(self): + """Gets the display_name of this LimitedUserInstance. # noqa: E501 + + + :return: The display_name of this LimitedUserInstance. # noqa: E501 + :rtype: str + """ + return self._display_name + + @display_name.setter + def display_name(self, display_name): + """Sets the display_name of this LimitedUserInstance. + + + :param display_name: The display_name of this LimitedUserInstance. # noqa: E501 + :type display_name: str + """ + if self.local_vars_configuration.client_side_validation and display_name is None: # noqa: E501 + raise ValueError("Invalid value for `display_name`, must not be `None`") # noqa: E501 + + self._display_name = display_name + + @property + def friend_key(self): + """Gets the friend_key of this LimitedUserInstance. # noqa: E501 + + + :return: The friend_key of this LimitedUserInstance. # noqa: E501 + :rtype: str + """ + return self._friend_key + + @friend_key.setter + def friend_key(self, friend_key): + """Sets the friend_key of this LimitedUserInstance. + + + :param friend_key: The friend_key of this LimitedUserInstance. # noqa: E501 + :type friend_key: str + """ + if self.local_vars_configuration.client_side_validation and friend_key is None: # noqa: E501 + raise ValueError("Invalid value for `friend_key`, must not be `None`") # noqa: E501 + + self._friend_key = friend_key + + @property + def id(self): + """Gets the id of this LimitedUserInstance. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The id of this LimitedUserInstance. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this LimitedUserInstance. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param id: The id of this LimitedUserInstance. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + + self._id = id + + @property + def is_friend(self): + """Gets the is_friend of this LimitedUserInstance. # noqa: E501 + + + :return: The is_friend of this LimitedUserInstance. # noqa: E501 + :rtype: bool + """ + return self._is_friend + + @is_friend.setter + def is_friend(self, is_friend): + """Sets the is_friend of this LimitedUserInstance. + + + :param is_friend: The is_friend of this LimitedUserInstance. # noqa: E501 + :type is_friend: bool + """ + if self.local_vars_configuration.client_side_validation and is_friend is None: # noqa: E501 + raise ValueError("Invalid value for `is_friend`, must not be `None`") # noqa: E501 + + self._is_friend = is_friend + + @property + def image_url(self): + """Gets the image_url of this LimitedUserInstance. # noqa: E501 + + + :return: The image_url of this LimitedUserInstance. # noqa: E501 + :rtype: str + """ + return self._image_url + + @image_url.setter + def image_url(self, image_url): + """Sets the image_url of this LimitedUserInstance. + + + :param image_url: The image_url of this LimitedUserInstance. # noqa: E501 + :type image_url: str + """ + + self._image_url = image_url + + @property + def last_platform(self): + """Gets the last_platform of this LimitedUserInstance. # noqa: E501 + + This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + + :return: The last_platform of this LimitedUserInstance. # noqa: E501 + :rtype: str + """ + return self._last_platform + + @last_platform.setter + def last_platform(self, last_platform): + """Sets the last_platform of this LimitedUserInstance. + + This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + + :param last_platform: The last_platform of this LimitedUserInstance. # noqa: E501 + :type last_platform: str + """ + if self.local_vars_configuration.client_side_validation and last_platform is None: # noqa: E501 + raise ValueError("Invalid value for `last_platform`, must not be `None`") # noqa: E501 + + self._last_platform = last_platform + + @property + def last_activity(self): + """Gets the last_activity of this LimitedUserInstance. # noqa: E501 + + + :return: The last_activity of this LimitedUserInstance. # noqa: E501 + :rtype: datetime + """ + return self._last_activity + + @last_activity.setter + def last_activity(self, last_activity): + """Sets the last_activity of this LimitedUserInstance. + + + :param last_activity: The last_activity of this LimitedUserInstance. # noqa: E501 + :type last_activity: datetime + """ + + self._last_activity = last_activity + + @property + def last_mobile(self): + """Gets the last_mobile of this LimitedUserInstance. # noqa: E501 + + + :return: The last_mobile of this LimitedUserInstance. # noqa: E501 + :rtype: datetime + """ + return self._last_mobile + + @last_mobile.setter + def last_mobile(self, last_mobile): + """Sets the last_mobile of this LimitedUserInstance. + + + :param last_mobile: The last_mobile of this LimitedUserInstance. # noqa: E501 + :type last_mobile: datetime + """ + + self._last_mobile = last_mobile + + @property + def platform(self): + """Gets the platform of this LimitedUserInstance. # noqa: E501 + + + :return: The platform of this LimitedUserInstance. # noqa: E501 + :rtype: str + """ + return self._platform + + @platform.setter + def platform(self, platform): + """Sets the platform of this LimitedUserInstance. + + + :param platform: The platform of this LimitedUserInstance. # noqa: E501 + :type platform: str + """ + + self._platform = platform + + @property + def profile_pic_override(self): + """Gets the profile_pic_override of this LimitedUserInstance. # noqa: E501 + + + :return: The profile_pic_override of this LimitedUserInstance. # noqa: E501 + :rtype: str + """ + return self._profile_pic_override + + @profile_pic_override.setter + def profile_pic_override(self, profile_pic_override): + """Sets the profile_pic_override of this LimitedUserInstance. + + + :param profile_pic_override: The profile_pic_override of this LimitedUserInstance. # noqa: E501 + :type profile_pic_override: str + """ + if self.local_vars_configuration.client_side_validation and profile_pic_override is None: # noqa: E501 + raise ValueError("Invalid value for `profile_pic_override`, must not be `None`") # noqa: E501 + + self._profile_pic_override = profile_pic_override + + @property + def profile_pic_override_thumbnail(self): + """Gets the profile_pic_override_thumbnail of this LimitedUserInstance. # noqa: E501 + + + :return: The profile_pic_override_thumbnail of this LimitedUserInstance. # noqa: E501 + :rtype: str + """ + return self._profile_pic_override_thumbnail + + @profile_pic_override_thumbnail.setter + def profile_pic_override_thumbnail(self, profile_pic_override_thumbnail): + """Sets the profile_pic_override_thumbnail of this LimitedUserInstance. + + + :param profile_pic_override_thumbnail: The profile_pic_override_thumbnail of this LimitedUserInstance. # noqa: E501 + :type profile_pic_override_thumbnail: str + """ + if self.local_vars_configuration.client_side_validation and profile_pic_override_thumbnail is None: # noqa: E501 + raise ValueError("Invalid value for `profile_pic_override_thumbnail`, must not be `None`") # noqa: E501 + + self._profile_pic_override_thumbnail = profile_pic_override_thumbnail + + @property + def pronouns(self): + """Gets the pronouns of this LimitedUserInstance. # noqa: E501 + + + :return: The pronouns of this LimitedUserInstance. # noqa: E501 + :rtype: str + """ + return self._pronouns + + @pronouns.setter + def pronouns(self, pronouns): + """Sets the pronouns of this LimitedUserInstance. + + + :param pronouns: The pronouns of this LimitedUserInstance. # noqa: E501 + :type pronouns: str + """ + if self.local_vars_configuration.client_side_validation and pronouns is None: # noqa: E501 + raise ValueError("Invalid value for `pronouns`, must not be `None`") # noqa: E501 + + self._pronouns = pronouns + + @property + def state(self): + """Gets the state of this LimitedUserInstance. # noqa: E501 + + + :return: The state of this LimitedUserInstance. # noqa: E501 + :rtype: UserState + """ + return self._state + + @state.setter + def state(self, state): + """Sets the state of this LimitedUserInstance. + + + :param state: The state of this LimitedUserInstance. # noqa: E501 + :type state: UserState + """ + if self.local_vars_configuration.client_side_validation and state is None: # noqa: E501 + raise ValueError("Invalid value for `state`, must not be `None`") # noqa: E501 + + self._state = state + + @property + def status(self): + """Gets the status of this LimitedUserInstance. # noqa: E501 + + + :return: The status of this LimitedUserInstance. # noqa: E501 + :rtype: UserStatus + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this LimitedUserInstance. + + + :param status: The status of this LimitedUserInstance. # noqa: E501 + :type status: UserStatus + """ + if self.local_vars_configuration.client_side_validation and status is None: # noqa: E501 + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 + + self._status = status + + @property + def status_description(self): + """Gets the status_description of this LimitedUserInstance. # noqa: E501 + + + :return: The status_description of this LimitedUserInstance. # noqa: E501 + :rtype: str + """ + return self._status_description + + @status_description.setter + def status_description(self, status_description): + """Sets the status_description of this LimitedUserInstance. + + + :param status_description: The status_description of this LimitedUserInstance. # noqa: E501 + :type status_description: str + """ + if self.local_vars_configuration.client_side_validation and status_description is None: # noqa: E501 + raise ValueError("Invalid value for `status_description`, must not be `None`") # noqa: E501 + + self._status_description = status_description + + @property + def tags(self): + """Gets the tags of this LimitedUserInstance. # noqa: E501 + + + :return: The tags of this LimitedUserInstance. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this LimitedUserInstance. + + + :param tags: The tags of this LimitedUserInstance. # noqa: E501 + :type tags: list[str] + """ + if self.local_vars_configuration.client_side_validation and tags is None: # noqa: E501 + raise ValueError("Invalid value for `tags`, must not be `None`") # noqa: E501 + + self._tags = tags + + @property + def user_icon(self): + """Gets the user_icon of this LimitedUserInstance. # noqa: E501 + + + :return: The user_icon of this LimitedUserInstance. # noqa: E501 + :rtype: str + """ + return self._user_icon + + @user_icon.setter + def user_icon(self, user_icon): + """Sets the user_icon of this LimitedUserInstance. + + + :param user_icon: The user_icon of this LimitedUserInstance. # noqa: E501 + :type user_icon: str + """ + if self.local_vars_configuration.client_side_validation and user_icon is None: # noqa: E501 + raise ValueError("Invalid value for `user_icon`, must not be `None`") # noqa: E501 + + self._user_icon = user_icon + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, LimitedUserInstance): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, LimitedUserInstance): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/limited_user.py b/vrchatapi/models/limited_user_search.py similarity index 61% rename from vrchatapi/models/limited_user.py rename to vrchatapi/models/limited_user_search.py index d23c92fd..b7cbf720 100644 --- a/vrchatapi/models/limited_user.py +++ b/vrchatapi/models/limited_user_search.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -21,7 +21,7 @@ from vrchatapi.configuration import Configuration -class LimitedUser(object): +class LimitedUserSearch(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -43,20 +43,15 @@ class LimitedUser(object): 'current_avatar_tags': 'list[str]', 'developer_type': 'DeveloperType', 'display_name': 'str', - 'fallback_avatar': 'str', 'id': 'str', 'is_friend': 'bool', 'last_platform': 'str', - 'last_login': 'datetime', 'profile_pic_override': 'str', 'pronouns': 'str', 'status': 'UserStatus', 'status_description': 'str', 'tags': 'list[str]', - 'user_icon': 'str', - 'username': 'str', - 'location': 'str', - 'friend_key': 'str' + 'user_icon': 'str' } attribute_map = { @@ -67,24 +62,19 @@ class LimitedUser(object): 'current_avatar_tags': 'currentAvatarTags', 'developer_type': 'developerType', 'display_name': 'displayName', - 'fallback_avatar': 'fallbackAvatar', 'id': 'id', 'is_friend': 'isFriend', 'last_platform': 'last_platform', - 'last_login': 'last_login', 'profile_pic_override': 'profilePicOverride', 'pronouns': 'pronouns', 'status': 'status', 'status_description': 'statusDescription', 'tags': 'tags', - 'user_icon': 'userIcon', - 'username': 'username', - 'location': 'location', - 'friend_key': 'friendKey' + 'user_icon': 'userIcon' } - def __init__(self, bio=None, bio_links=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, developer_type=None, display_name=None, fallback_avatar=None, id=None, is_friend=None, last_platform=None, last_login=None, profile_pic_override=None, pronouns=None, status=None, status_description=None, tags=None, user_icon=None, username=None, location=None, friend_key=None, local_vars_configuration=None): # noqa: E501 - """LimitedUser - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, bio=None, bio_links=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, developer_type=None, display_name=None, id=None, is_friend=None, last_platform=None, profile_pic_override=None, pronouns=None, status=None, status_description=None, tags=None, user_icon=None, local_vars_configuration=None): # noqa: E501 + """LimitedUserSearch - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration @@ -96,72 +86,53 @@ def __init__(self, bio=None, bio_links=None, current_avatar_image_url=None, curr self._current_avatar_tags = None self._developer_type = None self._display_name = None - self._fallback_avatar = None self._id = None self._is_friend = None self._last_platform = None - self._last_login = None self._profile_pic_override = None self._pronouns = None self._status = None self._status_description = None self._tags = None self._user_icon = None - self._username = None - self._location = None - self._friend_key = None self.discriminator = None if bio is not None: self.bio = bio if bio_links is not None: self.bio_links = bio_links - if current_avatar_image_url is not None: - self.current_avatar_image_url = current_avatar_image_url - if current_avatar_thumbnail_image_url is not None: - self.current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url - if current_avatar_tags is not None: - self.current_avatar_tags = current_avatar_tags + self.current_avatar_image_url = current_avatar_image_url + self.current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url + self.current_avatar_tags = current_avatar_tags self.developer_type = developer_type self.display_name = display_name - if fallback_avatar is not None: - self.fallback_avatar = fallback_avatar self.id = id self.is_friend = is_friend self.last_platform = last_platform - self.last_login = last_login - if profile_pic_override is not None: - self.profile_pic_override = profile_pic_override + self.profile_pic_override = profile_pic_override if pronouns is not None: self.pronouns = pronouns self.status = status self.status_description = status_description self.tags = tags - if user_icon is not None: - self.user_icon = user_icon - if username is not None: - self.username = username - if location is not None: - self.location = location - if friend_key is not None: - self.friend_key = friend_key + self.user_icon = user_icon @property def bio(self): - """Gets the bio of this LimitedUser. # noqa: E501 + """Gets the bio of this LimitedUserSearch. # noqa: E501 - :return: The bio of this LimitedUser. # noqa: E501 + :return: The bio of this LimitedUserSearch. # noqa: E501 :rtype: str """ return self._bio @bio.setter def bio(self, bio): - """Sets the bio of this LimitedUser. + """Sets the bio of this LimitedUserSearch. - :param bio: The bio of this LimitedUser. # noqa: E501 + :param bio: The bio of this LimitedUserSearch. # noqa: E501 :type bio: str """ @@ -169,22 +140,22 @@ def bio(self, bio): @property def bio_links(self): - """Gets the bio_links of this LimitedUser. # noqa: E501 + """Gets the bio_links of this LimitedUserSearch. # noqa: E501 # noqa: E501 - :return: The bio_links of this LimitedUser. # noqa: E501 + :return: The bio_links of this LimitedUserSearch. # noqa: E501 :rtype: list[str] """ return self._bio_links @bio_links.setter def bio_links(self, bio_links): - """Sets the bio_links of this LimitedUser. + """Sets the bio_links of this LimitedUserSearch. # noqa: E501 - :param bio_links: The bio_links of this LimitedUser. # noqa: E501 + :param bio_links: The bio_links of this LimitedUserSearch. # noqa: E501 :type bio_links: list[str] """ @@ -192,87 +163,93 @@ def bio_links(self, bio_links): @property def current_avatar_image_url(self): - """Gets the current_avatar_image_url of this LimitedUser. # noqa: E501 + """Gets the current_avatar_image_url of this LimitedUserSearch. # noqa: E501 When profilePicOverride is not empty, use it instead. # noqa: E501 - :return: The current_avatar_image_url of this LimitedUser. # noqa: E501 + :return: The current_avatar_image_url of this LimitedUserSearch. # noqa: E501 :rtype: str """ return self._current_avatar_image_url @current_avatar_image_url.setter def current_avatar_image_url(self, current_avatar_image_url): - """Sets the current_avatar_image_url of this LimitedUser. + """Sets the current_avatar_image_url of this LimitedUserSearch. When profilePicOverride is not empty, use it instead. # noqa: E501 - :param current_avatar_image_url: The current_avatar_image_url of this LimitedUser. # noqa: E501 + :param current_avatar_image_url: The current_avatar_image_url of this LimitedUserSearch. # noqa: E501 :type current_avatar_image_url: str """ + if self.local_vars_configuration.client_side_validation and current_avatar_image_url is None: # noqa: E501 + raise ValueError("Invalid value for `current_avatar_image_url`, must not be `None`") # noqa: E501 self._current_avatar_image_url = current_avatar_image_url @property def current_avatar_thumbnail_image_url(self): - """Gets the current_avatar_thumbnail_image_url of this LimitedUser. # noqa: E501 + """Gets the current_avatar_thumbnail_image_url of this LimitedUserSearch. # noqa: E501 When profilePicOverride is not empty, use it instead. # noqa: E501 - :return: The current_avatar_thumbnail_image_url of this LimitedUser. # noqa: E501 + :return: The current_avatar_thumbnail_image_url of this LimitedUserSearch. # noqa: E501 :rtype: str """ return self._current_avatar_thumbnail_image_url @current_avatar_thumbnail_image_url.setter def current_avatar_thumbnail_image_url(self, current_avatar_thumbnail_image_url): - """Sets the current_avatar_thumbnail_image_url of this LimitedUser. + """Sets the current_avatar_thumbnail_image_url of this LimitedUserSearch. When profilePicOverride is not empty, use it instead. # noqa: E501 - :param current_avatar_thumbnail_image_url: The current_avatar_thumbnail_image_url of this LimitedUser. # noqa: E501 + :param current_avatar_thumbnail_image_url: The current_avatar_thumbnail_image_url of this LimitedUserSearch. # noqa: E501 :type current_avatar_thumbnail_image_url: str """ + if self.local_vars_configuration.client_side_validation and current_avatar_thumbnail_image_url is None: # noqa: E501 + raise ValueError("Invalid value for `current_avatar_thumbnail_image_url`, must not be `None`") # noqa: E501 self._current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url @property def current_avatar_tags(self): - """Gets the current_avatar_tags of this LimitedUser. # noqa: E501 + """Gets the current_avatar_tags of this LimitedUserSearch. # noqa: E501 - :return: The current_avatar_tags of this LimitedUser. # noqa: E501 + :return: The current_avatar_tags of this LimitedUserSearch. # noqa: E501 :rtype: list[str] """ return self._current_avatar_tags @current_avatar_tags.setter def current_avatar_tags(self, current_avatar_tags): - """Sets the current_avatar_tags of this LimitedUser. + """Sets the current_avatar_tags of this LimitedUserSearch. - :param current_avatar_tags: The current_avatar_tags of this LimitedUser. # noqa: E501 + :param current_avatar_tags: The current_avatar_tags of this LimitedUserSearch. # noqa: E501 :type current_avatar_tags: list[str] """ + if self.local_vars_configuration.client_side_validation and current_avatar_tags is None: # noqa: E501 + raise ValueError("Invalid value for `current_avatar_tags`, must not be `None`") # noqa: E501 self._current_avatar_tags = current_avatar_tags @property def developer_type(self): - """Gets the developer_type of this LimitedUser. # noqa: E501 + """Gets the developer_type of this LimitedUserSearch. # noqa: E501 - :return: The developer_type of this LimitedUser. # noqa: E501 + :return: The developer_type of this LimitedUserSearch. # noqa: E501 :rtype: DeveloperType """ return self._developer_type @developer_type.setter def developer_type(self, developer_type): - """Sets the developer_type of this LimitedUser. + """Sets the developer_type of this LimitedUserSearch. - :param developer_type: The developer_type of this LimitedUser. # noqa: E501 + :param developer_type: The developer_type of this LimitedUserSearch. # noqa: E501 :type developer_type: DeveloperType """ if self.local_vars_configuration.client_side_validation and developer_type is None: # noqa: E501 @@ -282,20 +259,20 @@ def developer_type(self, developer_type): @property def display_name(self): - """Gets the display_name of this LimitedUser. # noqa: E501 + """Gets the display_name of this LimitedUserSearch. # noqa: E501 - :return: The display_name of this LimitedUser. # noqa: E501 + :return: The display_name of this LimitedUserSearch. # noqa: E501 :rtype: str """ return self._display_name @display_name.setter def display_name(self, display_name): - """Sets the display_name of this LimitedUser. + """Sets the display_name of this LimitedUserSearch. - :param display_name: The display_name of this LimitedUser. # noqa: E501 + :param display_name: The display_name of this LimitedUserSearch. # noqa: E501 :type display_name: str """ if self.local_vars_configuration.client_side_validation and display_name is None: # noqa: E501 @@ -303,45 +280,24 @@ def display_name(self, display_name): self._display_name = display_name - @property - def fallback_avatar(self): - """Gets the fallback_avatar of this LimitedUser. # noqa: E501 - - - :return: The fallback_avatar of this LimitedUser. # noqa: E501 - :rtype: str - """ - return self._fallback_avatar - - @fallback_avatar.setter - def fallback_avatar(self, fallback_avatar): - """Sets the fallback_avatar of this LimitedUser. - - - :param fallback_avatar: The fallback_avatar of this LimitedUser. # noqa: E501 - :type fallback_avatar: str - """ - - self._fallback_avatar = fallback_avatar - @property def id(self): - """Gets the id of this LimitedUser. # noqa: E501 + """Gets the id of this LimitedUserSearch. # noqa: E501 A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :return: The id of this LimitedUser. # noqa: E501 + :return: The id of this LimitedUserSearch. # noqa: E501 :rtype: str """ return self._id @id.setter def id(self, id): - """Sets the id of this LimitedUser. + """Sets the id of this LimitedUserSearch. A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :param id: The id of this LimitedUser. # noqa: E501 + :param id: The id of this LimitedUserSearch. # noqa: E501 :type id: str """ if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 @@ -351,20 +307,20 @@ def id(self, id): @property def is_friend(self): - """Gets the is_friend of this LimitedUser. # noqa: E501 + """Gets the is_friend of this LimitedUserSearch. # noqa: E501 - :return: The is_friend of this LimitedUser. # noqa: E501 + :return: The is_friend of this LimitedUserSearch. # noqa: E501 :rtype: bool """ return self._is_friend @is_friend.setter def is_friend(self, is_friend): - """Sets the is_friend of this LimitedUser. + """Sets the is_friend of this LimitedUserSearch. - :param is_friend: The is_friend of this LimitedUser. # noqa: E501 + :param is_friend: The is_friend of this LimitedUserSearch. # noqa: E501 :type is_friend: bool """ if self.local_vars_configuration.client_side_validation and is_friend is None: # noqa: E501 @@ -374,22 +330,22 @@ def is_friend(self, is_friend): @property def last_platform(self): - """Gets the last_platform of this LimitedUser. # noqa: E501 + """Gets the last_platform of this LimitedUserSearch. # noqa: E501 This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 - :return: The last_platform of this LimitedUser. # noqa: E501 + :return: The last_platform of this LimitedUserSearch. # noqa: E501 :rtype: str """ return self._last_platform @last_platform.setter def last_platform(self, last_platform): - """Sets the last_platform of this LimitedUser. + """Sets the last_platform of this LimitedUserSearch. This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 - :param last_platform: The last_platform of this LimitedUser. # noqa: E501 + :param last_platform: The last_platform of this LimitedUserSearch. # noqa: E501 :type last_platform: str """ if self.local_vars_configuration.client_side_validation and last_platform is None: # noqa: E501 @@ -397,64 +353,45 @@ def last_platform(self, last_platform): self._last_platform = last_platform - @property - def last_login(self): - """Gets the last_login of this LimitedUser. # noqa: E501 - - - :return: The last_login of this LimitedUser. # noqa: E501 - :rtype: datetime - """ - return self._last_login - - @last_login.setter - def last_login(self, last_login): - """Sets the last_login of this LimitedUser. - - - :param last_login: The last_login of this LimitedUser. # noqa: E501 - :type last_login: datetime - """ - - self._last_login = last_login - @property def profile_pic_override(self): - """Gets the profile_pic_override of this LimitedUser. # noqa: E501 + """Gets the profile_pic_override of this LimitedUserSearch. # noqa: E501 - :return: The profile_pic_override of this LimitedUser. # noqa: E501 + :return: The profile_pic_override of this LimitedUserSearch. # noqa: E501 :rtype: str """ return self._profile_pic_override @profile_pic_override.setter def profile_pic_override(self, profile_pic_override): - """Sets the profile_pic_override of this LimitedUser. + """Sets the profile_pic_override of this LimitedUserSearch. - :param profile_pic_override: The profile_pic_override of this LimitedUser. # noqa: E501 + :param profile_pic_override: The profile_pic_override of this LimitedUserSearch. # noqa: E501 :type profile_pic_override: str """ + if self.local_vars_configuration.client_side_validation and profile_pic_override is None: # noqa: E501 + raise ValueError("Invalid value for `profile_pic_override`, must not be `None`") # noqa: E501 self._profile_pic_override = profile_pic_override @property def pronouns(self): - """Gets the pronouns of this LimitedUser. # noqa: E501 + """Gets the pronouns of this LimitedUserSearch. # noqa: E501 - :return: The pronouns of this LimitedUser. # noqa: E501 + :return: The pronouns of this LimitedUserSearch. # noqa: E501 :rtype: str """ return self._pronouns @pronouns.setter def pronouns(self, pronouns): - """Sets the pronouns of this LimitedUser. + """Sets the pronouns of this LimitedUserSearch. - :param pronouns: The pronouns of this LimitedUser. # noqa: E501 + :param pronouns: The pronouns of this LimitedUserSearch. # noqa: E501 :type pronouns: str """ @@ -462,20 +399,20 @@ def pronouns(self, pronouns): @property def status(self): - """Gets the status of this LimitedUser. # noqa: E501 + """Gets the status of this LimitedUserSearch. # noqa: E501 - :return: The status of this LimitedUser. # noqa: E501 + :return: The status of this LimitedUserSearch. # noqa: E501 :rtype: UserStatus """ return self._status @status.setter def status(self, status): - """Sets the status of this LimitedUser. + """Sets the status of this LimitedUserSearch. - :param status: The status of this LimitedUser. # noqa: E501 + :param status: The status of this LimitedUserSearch. # noqa: E501 :type status: UserStatus """ if self.local_vars_configuration.client_side_validation and status is None: # noqa: E501 @@ -485,20 +422,20 @@ def status(self, status): @property def status_description(self): - """Gets the status_description of this LimitedUser. # noqa: E501 + """Gets the status_description of this LimitedUserSearch. # noqa: E501 - :return: The status_description of this LimitedUser. # noqa: E501 + :return: The status_description of this LimitedUserSearch. # noqa: E501 :rtype: str """ return self._status_description @status_description.setter def status_description(self, status_description): - """Sets the status_description of this LimitedUser. + """Sets the status_description of this LimitedUserSearch. - :param status_description: The status_description of this LimitedUser. # noqa: E501 + :param status_description: The status_description of this LimitedUserSearch. # noqa: E501 :type status_description: str """ if self.local_vars_configuration.client_side_validation and status_description is None: # noqa: E501 @@ -508,22 +445,22 @@ def status_description(self, status_description): @property def tags(self): - """Gets the tags of this LimitedUser. # noqa: E501 + """Gets the tags of this LimitedUserSearch. # noqa: E501 <- Always empty. # noqa: E501 - :return: The tags of this LimitedUser. # noqa: E501 + :return: The tags of this LimitedUserSearch. # noqa: E501 :rtype: list[str] """ return self._tags @tags.setter def tags(self, tags): - """Sets the tags of this LimitedUser. + """Sets the tags of this LimitedUserSearch. <- Always empty. # noqa: E501 - :param tags: The tags of this LimitedUser. # noqa: E501 + :param tags: The tags of this LimitedUserSearch. # noqa: E501 :type tags: list[str] """ if self.local_vars_configuration.client_side_validation and tags is None: # noqa: E501 @@ -533,90 +470,27 @@ def tags(self, tags): @property def user_icon(self): - """Gets the user_icon of this LimitedUser. # noqa: E501 + """Gets the user_icon of this LimitedUserSearch. # noqa: E501 - :return: The user_icon of this LimitedUser. # noqa: E501 + :return: The user_icon of this LimitedUserSearch. # noqa: E501 :rtype: str """ return self._user_icon @user_icon.setter def user_icon(self, user_icon): - """Sets the user_icon of this LimitedUser. + """Sets the user_icon of this LimitedUserSearch. - :param user_icon: The user_icon of this LimitedUser. # noqa: E501 + :param user_icon: The user_icon of this LimitedUserSearch. # noqa: E501 :type user_icon: str """ + if self.local_vars_configuration.client_side_validation and user_icon is None: # noqa: E501 + raise ValueError("Invalid value for `user_icon`, must not be `None`") # noqa: E501 self._user_icon = user_icon - @property - def username(self): - """Gets the username of this LimitedUser. # noqa: E501 - - -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). # noqa: E501 - - :return: The username of this LimitedUser. # noqa: E501 - :rtype: str - """ - return self._username - - @username.setter - def username(self, username): - """Sets the username of this LimitedUser. - - -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). # noqa: E501 - - :param username: The username of this LimitedUser. # noqa: E501 - :type username: str - """ - - self._username = username - - @property - def location(self): - """Gets the location of this LimitedUser. # noqa: E501 - - - :return: The location of this LimitedUser. # noqa: E501 - :rtype: str - """ - return self._location - - @location.setter - def location(self, location): - """Sets the location of this LimitedUser. - - - :param location: The location of this LimitedUser. # noqa: E501 - :type location: str - """ - - self._location = location - - @property - def friend_key(self): - """Gets the friend_key of this LimitedUser. # noqa: E501 - - - :return: The friend_key of this LimitedUser. # noqa: E501 - :rtype: str - """ - return self._friend_key - - @friend_key.setter - def friend_key(self, friend_key): - """Sets the friend_key of this LimitedUser. - - - :param friend_key: The friend_key of this LimitedUser. # noqa: E501 - :type friend_key: str - """ - - self._friend_key = friend_key - def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} @@ -659,14 +533,14 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, LimitedUser): + if not isinstance(other, LimitedUserSearch): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, LimitedUser): + if not isinstance(other, LimitedUserSearch): return True return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index b1eda5d1..f706dcaf 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index 1a3a8c12..7cb509a6 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/model_print.py b/vrchatapi/models/model_print.py index dd389b81..3250929f 100644 --- a/vrchatapi/models/model_print.py +++ b/vrchatapi/models/model_print.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index 735bc24a..839c069a 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index 3969d0bd..8a96e9f4 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite.py b/vrchatapi/models/notification_detail_invite.py index f78338c7..aea2d65d 100644 --- a/vrchatapi/models/notification_detail_invite.py +++ b/vrchatapi/models/notification_detail_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite_response.py b/vrchatapi/models/notification_detail_invite_response.py index bba97d62..ec47ea8b 100644 --- a/vrchatapi/models/notification_detail_invite_response.py +++ b/vrchatapi/models/notification_detail_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite.py b/vrchatapi/models/notification_detail_request_invite.py index 2aeff11d..b6fc1d73 100644 --- a/vrchatapi/models/notification_detail_request_invite.py +++ b/vrchatapi/models/notification_detail_request_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite_response.py b/vrchatapi/models/notification_detail_request_invite_response.py index 90601e3d..bea6af41 100644 --- a/vrchatapi/models/notification_detail_request_invite_response.py +++ b/vrchatapi/models/notification_detail_request_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_vote_to_kick.py b/vrchatapi/models/notification_detail_vote_to_kick.py index 6a3f52c3..bbf9d68a 100644 --- a/vrchatapi/models/notification_detail_vote_to_kick.py +++ b/vrchatapi/models/notification_detail_vote_to_kick.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index 964ee521..2dc1bc00 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index 0c2442ac..4b3237c4 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index 365a7cb5..6ce62b08 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index 7e744b8c..f3963ae0 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/pending2_fa_result.py b/vrchatapi/models/pending2_fa_result.py index e99e283d..85fe97ab 100644 --- a/vrchatapi/models/pending2_fa_result.py +++ b/vrchatapi/models/pending2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/performance_limiter_info.py b/vrchatapi/models/performance_limiter_info.py index 1cf4a91c..34572055 100644 --- a/vrchatapi/models/performance_limiter_info.py +++ b/vrchatapi/models/performance_limiter_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/performance_ratings.py b/vrchatapi/models/performance_ratings.py index 1801284f..5962f375 100644 --- a/vrchatapi/models/performance_ratings.py +++ b/vrchatapi/models/performance_ratings.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index 9a4d0784..89423241 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/platform_build_info.py b/vrchatapi/models/platform_build_info.py index 93c89bdf..a38658be 100644 --- a/vrchatapi/models/platform_build_info.py +++ b/vrchatapi/models/platform_build_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index bd3e38d1..9184c100 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index b3bbe1ea..62a8e563 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/print_files.py b/vrchatapi/models/print_files.py index c59f4335..3b48fb67 100644 --- a/vrchatapi/models/print_files.py +++ b/vrchatapi/models/print_files.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product.py b/vrchatapi/models/product.py index 870e4de8..bf828c82 100644 --- a/vrchatapi/models/product.py +++ b/vrchatapi/models/product.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_listing.py b/vrchatapi/models/product_listing.py index ae4fdb5b..6af6d66e 100644 --- a/vrchatapi/models/product_listing.py +++ b/vrchatapi/models/product_listing.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_listing_type.py b/vrchatapi/models/product_listing_type.py index 7382bef5..2a01eaa7 100644 --- a/vrchatapi/models/product_listing_type.py +++ b/vrchatapi/models/product_listing_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_listing_variant.py b/vrchatapi/models/product_listing_variant.py index 648b8e01..d5943474 100644 --- a/vrchatapi/models/product_listing_variant.py +++ b/vrchatapi/models/product_listing_variant.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_type.py b/vrchatapi/models/product_type.py index e8372b56..e79aa8fc 100644 --- a/vrchatapi/models/product_type.py +++ b/vrchatapi/models/product_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index b4c2604b..622c4728 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/register_user_account_request.py b/vrchatapi/models/register_user_account_request.py index 296fcea8..09e96dcf 100644 --- a/vrchatapi/models/register_user_account_request.py +++ b/vrchatapi/models/register_user_account_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index 0f936464..c9d86d6f 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/report_category.py b/vrchatapi/models/report_category.py index c6125d9b..a83529b9 100644 --- a/vrchatapi/models/report_category.py +++ b/vrchatapi/models/report_category.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/report_reason.py b/vrchatapi/models/report_reason.py index ea9c7462..20838a9a 100644 --- a/vrchatapi/models/report_reason.py +++ b/vrchatapi/models/report_reason.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/represented_group.py b/vrchatapi/models/represented_group.py index 9517900a..39e37231 100644 --- a/vrchatapi/models/represented_group.py +++ b/vrchatapi/models/represented_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index 9ba0e0e9..5635dc71 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index 4f01d760..b75f2e44 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index fbb4f856..f4b34892 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index 37b50bba..73e7cf6f 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/service_queue_stats.py b/vrchatapi/models/service_queue_stats.py index a7d79944..eb30e735 100644 --- a/vrchatapi/models/service_queue_stats.py +++ b/vrchatapi/models/service_queue_stats.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/service_status.py b/vrchatapi/models/service_status.py index c97ced79..8396affe 100644 --- a/vrchatapi/models/service_status.py +++ b/vrchatapi/models/service_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index b28567aa..4927c1c4 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/submission.py b/vrchatapi/models/submission.py index b617f4fb..f4ebd77a 100644 --- a/vrchatapi/models/submission.py +++ b/vrchatapi/models/submission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index b98042a4..7c114067 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -42,6 +42,7 @@ class Subscription(object): 'google_product_id': 'str', 'google_plan_id': 'str', 'pico_sku': 'str', + 'apple_product_id': 'str', 'amount': 'float', 'description': 'str', 'period': 'SubscriptionPeriod', @@ -55,13 +56,14 @@ class Subscription(object): 'google_product_id': 'googleProductId', 'google_plan_id': 'googlePlanId', 'pico_sku': 'picoSku', + 'apple_product_id': 'appleProductId', 'amount': 'amount', 'description': 'description', 'period': 'period', 'tier': 'tier' } - def __init__(self, id=None, steam_item_id=None, oculus_sku=None, google_product_id=None, google_plan_id=None, pico_sku=None, amount=None, description=None, period=None, tier=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, id=None, steam_item_id=None, oculus_sku=None, google_product_id=None, google_plan_id=None, pico_sku=None, apple_product_id=None, amount=None, description=None, period=None, tier=None, local_vars_configuration=None): # noqa: E501 """Subscription - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -73,6 +75,7 @@ def __init__(self, id=None, steam_item_id=None, oculus_sku=None, google_product_ self._google_product_id = None self._google_plan_id = None self._pico_sku = None + self._apple_product_id = None self._amount = None self._description = None self._period = None @@ -89,6 +92,8 @@ def __init__(self, id=None, steam_item_id=None, oculus_sku=None, google_product_ self.google_plan_id = google_plan_id if pico_sku is not None: self.pico_sku = pico_sku + if apple_product_id is not None: + self.apple_product_id = apple_product_id self.amount = amount self.description = description self.period = period @@ -239,6 +244,30 @@ def pico_sku(self, pico_sku): self._pico_sku = pico_sku + @property + def apple_product_id(self): + """Gets the apple_product_id of this Subscription. # noqa: E501 + + + :return: The apple_product_id of this Subscription. # noqa: E501 + :rtype: str + """ + return self._apple_product_id + + @apple_product_id.setter + def apple_product_id(self, apple_product_id): + """Sets the apple_product_id of this Subscription. + + + :param apple_product_id: The apple_product_id of this Subscription. # noqa: E501 + :type apple_product_id: str + """ + if (self.local_vars_configuration.client_side_validation and + apple_product_id is not None and len(apple_product_id) < 1): + raise ValueError("Invalid value for `apple_product_id`, length must be greater than or equal to `1`") # noqa: E501 + + self._apple_product_id = apple_product_id + @property def amount(self): """Gets the amount of this Subscription. # noqa: E501 diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index 0539c60c..d01dd643 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index da9da9ec..0d6d4524 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/tilia_status.py b/vrchatapi/models/tilia_status.py index b9b95a29..8ba5eb4d 100644 --- a/vrchatapi/models/tilia_status.py +++ b/vrchatapi/models/tilia_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/tilia_tos.py b/vrchatapi/models/tilia_tos.py index a2f151b6..15e941e6 100644 --- a/vrchatapi/models/tilia_tos.py +++ b/vrchatapi/models/tilia_tos.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/token_bundle.py b/vrchatapi/models/token_bundle.py index 2137cb79..09b00df1 100644 --- a/vrchatapi/models/token_bundle.py +++ b/vrchatapi/models/token_bundle.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -39,6 +39,7 @@ class TokenBundle(object): 'id': 'str', 'steam_item_id': 'str', 'oculus_sku': 'str', + 'google_product_id': 'str', 'amount': 'int', 'description': 'str', 'tokens': 'int', @@ -49,13 +50,14 @@ class TokenBundle(object): 'id': 'id', 'steam_item_id': 'steamItemId', 'oculus_sku': 'oculusSku', + 'google_product_id': 'googleProductId', 'amount': 'amount', 'description': 'description', 'tokens': 'tokens', 'image_url': 'imageUrl' } - def __init__(self, id=None, steam_item_id=None, oculus_sku=None, amount=None, description=None, tokens=None, image_url=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, id=None, steam_item_id=None, oculus_sku=None, google_product_id=None, amount=None, description=None, tokens=None, image_url=None, local_vars_configuration=None): # noqa: E501 """TokenBundle - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -64,6 +66,7 @@ def __init__(self, id=None, steam_item_id=None, oculus_sku=None, amount=None, de self._id = None self._steam_item_id = None self._oculus_sku = None + self._google_product_id = None self._amount = None self._description = None self._tokens = None @@ -73,6 +76,8 @@ def __init__(self, id=None, steam_item_id=None, oculus_sku=None, amount=None, de self.id = id self.steam_item_id = steam_item_id self.oculus_sku = oculus_sku + if google_product_id is not None: + self.google_product_id = google_product_id self.amount = amount self.description = description self.tokens = tokens @@ -147,6 +152,27 @@ def oculus_sku(self, oculus_sku): self._oculus_sku = oculus_sku + @property + def google_product_id(self): + """Gets the google_product_id of this TokenBundle. # noqa: E501 + + + :return: The google_product_id of this TokenBundle. # noqa: E501 + :rtype: str + """ + return self._google_product_id + + @google_product_id.setter + def google_product_id(self, google_product_id): + """Sets the google_product_id of this TokenBundle. + + + :param google_product_id: The google_product_id of this TokenBundle. # noqa: E501 + :type google_product_id: str + """ + + self._google_product_id = google_product_id + @property def amount(self): """Gets the amount of this TokenBundle. # noqa: E501 diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index 8053698a..f98df8d8 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index a44099b8..8fc38584 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index c7715616..a565c19a 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index b3aba96c..199b3719 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index 7880e6de..2cef3013 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index 6b75c699..1dda9d88 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_email_code.py b/vrchatapi/models/two_factor_email_code.py index 4e770304..a227218b 100644 --- a/vrchatapi/models/two_factor_email_code.py +++ b/vrchatapi/models/two_factor_email_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_recovery_codes.py b/vrchatapi/models/two_factor_recovery_codes.py index 2e2ab383..60527702 100644 --- a/vrchatapi/models/two_factor_recovery_codes.py +++ b/vrchatapi/models/two_factor_recovery_codes.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_recovery_codes_otp_inner.py b/vrchatapi/models/two_factor_recovery_codes_otp_inner.py index 30d02619..402ddf03 100644 --- a/vrchatapi/models/two_factor_recovery_codes_otp_inner.py +++ b/vrchatapi/models/two_factor_recovery_codes_otp_inner.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index 7bdde690..f6dd2e4f 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index f8a4aed1..e5c21265 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index 892ad56e..16982c9a 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index 5e16ffd1..f9392264 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index 1bc72243..f3025904 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_representation_request.py b/vrchatapi/models/update_group_representation_request.py index 9a96d1b0..2077ba03 100644 --- a/vrchatapi/models/update_group_representation_request.py +++ b/vrchatapi/models/update_group_representation_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index 7751e8d9..0127e745 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index 99295125..d24e751d 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index e611de3a..b3843e94 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_badge_request.py b/vrchatapi/models/update_user_badge_request.py index 57510ae0..5a0e46fe 100644 --- a/vrchatapi/models/update_user_badge_request.py +++ b/vrchatapi/models/update_user_badge_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_note_request.py b/vrchatapi/models/update_user_note_request.py index 9a93f7e0..729a54af 100644 --- a/vrchatapi/models/update_user_note_request.py +++ b/vrchatapi/models/update_user_note_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index f88ab609..14a9fd97 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index bce0403b..9dbd4bde 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index 6111258c..6548e4a8 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index a220cbe9..77cb09f4 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_note.py b/vrchatapi/models/user_note.py index a94d9804..380acddc 100644 --- a/vrchatapi/models/user_note.py +++ b/vrchatapi/models/user_note.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_note_target_user.py b/vrchatapi/models/user_note_target_user.py index 09f78704..e44b1812 100644 --- a/vrchatapi/models/user_note_target_user.py +++ b/vrchatapi/models/user_note_target_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index 781f5668..a0452bdb 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index efa89a7b..729db2ad 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index 8c583b40..d8126d70 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_email_code_result.py b/vrchatapi/models/verify2_fa_email_code_result.py index a929de71..e53289be 100644 --- a/vrchatapi/models/verify2_fa_email_code_result.py +++ b/vrchatapi/models/verify2_fa_email_code_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index 061521ef..647f63a9 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index 3f311ec6..ef2d2233 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index 11dc4e58..843f43a9 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index a667d9c1..7c0a15fa 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index 9aa11f49..7c386f89 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index 0f28e5d5..4acdfb32 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.19.4 + The version of the OpenAPI document: 1.20.0 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ From 9c803f778f7d8abe743a05d282237406e9f633ea Mon Sep 17 00:00:00 2001 From: VRCCat Date: Thu, 24 Jul 2025 09:26:12 +0000 Subject: [PATCH 074/102] Upgrade Python SDK to spec 1.20.1 --- .openapi-generator/FILES | 30 + docs/AdminAssetBundle.md | 24 + docs/AdminUnityPackage.md | 16 + docs/AvatarStyle.md | 13 + docs/AvatarsApi.md | 59 + docs/EconomyApi.md | 4 +- docs/FilesApi.md | 74 ++ docs/Inventory.md | 12 + docs/InventoryApi.md | 389 +++++++ docs/InventoryDrop.md | 23 + docs/InventoryItem.md | 29 + docs/InventoryItemType.md | 10 + docs/InventoryMetadata.md | 18 + docs/InventoryNotificationDetails.md | 13 + docs/InventorySpawn.md | 12 + docs/InventoryTemplate.md | 25 + docs/Prop.md | 27 + docs/PropUnityPackage.md | 17 + docs/PropsApi.md | 83 ++ docs/RequestInviteRequest.md | 2 +- docs/UsersApi.md | 4 +- package-lock.json | 1035 ++++++++++++----- package.json | 2 +- setup.py | 4 +- vrchatapi/__init__.py | 17 +- vrchatapi/api/__init__.py | 2 + vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 129 +- vrchatapi/api/economy_api.py | 6 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 139 ++- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/groups_api.py | 2 +- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/inventory_api.py | 748 ++++++++++++ vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/jams_api.py | 2 +- vrchatapi/api/miscellaneous_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/prints_api.py | 2 +- vrchatapi/api/props_api.py | 175 +++ vrchatapi/api/users_api.py | 6 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 +- vrchatapi/exceptions.py | 2 +- vrchatapi/models/__init__.py | 15 +- vrchatapi/models/account_deletion_log.py | 2 +- vrchatapi/models/add_favorite_request.py | 2 +- .../models/add_group_gallery_image_request.py | 2 +- vrchatapi/models/admin_asset_bundle.py | 459 ++++++++ vrchatapi/models/admin_unity_package.py | 248 ++++ vrchatapi/models/age_verification_status.py | 2 +- vrchatapi/models/api_config.py | 2 +- .../models/api_config_access_logs_urls.py | 2 +- vrchatapi/models/api_config_announcement.py | 2 +- .../models/api_config_avatar_perf_limiter.py | 2 +- vrchatapi/models/api_config_constants.py | 2 +- .../models/api_config_constants_groups.py | 2 +- .../models/api_config_constants_instance.py | 2 +- ...ig_constants_instancepopulationbrackets.py | 2 +- ...tants_instancepopulationbracketscrowded.py | 2 +- ...constants_instancepopulationbracketsfew.py | 2 +- ...onstants_instancepopulationbracketsmany.py | 2 +- .../models/api_config_constants_language.py | 2 +- .../models/api_config_download_url_list.py | 2 +- vrchatapi/models/api_config_events.py | 2 +- ...onfig_min_supported_client_build_number.py | 2 +- .../models/api_config_offline_analysis.py | 2 +- .../models/api_config_report_categories.py | 2 +- vrchatapi/models/api_config_report_options.py | 2 +- .../api_config_report_options_avatar.py | 2 +- .../models/api_config_report_options_group.py | 2 +- .../models/api_config_report_options_user.py | 2 +- .../models/api_config_report_options_world.py | 2 +- vrchatapi/models/api_config_report_reasons.py | 2 +- vrchatapi/models/api_health.py | 2 +- vrchatapi/models/avatar.py | 2 +- vrchatapi/models/avatar_performance.py | 2 +- .../models/avatar_published_listings_inner.py | 2 +- vrchatapi/models/avatar_style.py | 159 +++ vrchatapi/models/avatar_styles.py | 2 +- .../models/avatar_unity_package_url_object.py | 2 +- vrchatapi/models/badge.py | 2 +- vrchatapi/models/balance.py | 2 +- vrchatapi/models/ban_group_member_request.py | 2 +- vrchatapi/models/change_user_tags_request.py | 2 +- vrchatapi/models/create_avatar_request.py | 2 +- vrchatapi/models/create_file_request.py | 2 +- .../models/create_file_version_request.py | 2 +- .../create_group_announcement_request.py | 2 +- .../models/create_group_gallery_request.py | 2 +- .../models/create_group_invite_request.py | 2 +- vrchatapi/models/create_group_post_request.py | 2 +- vrchatapi/models/create_group_request.py | 2 +- vrchatapi/models/create_group_role_request.py | 2 +- vrchatapi/models/create_instance_request.py | 2 +- vrchatapi/models/create_world_request.py | 2 +- vrchatapi/models/current_user.py | 2 +- .../current_user_platform_history_inner.py | 2 +- vrchatapi/models/current_user_presence.py | 2 +- vrchatapi/models/developer_type.py | 2 +- vrchatapi/models/disable2_fa_result.py | 2 +- vrchatapi/models/dynamic_content_row.py | 2 +- vrchatapi/models/error.py | 2 +- vrchatapi/models/favorite.py | 2 +- vrchatapi/models/favorite_group.py | 2 +- vrchatapi/models/favorite_group_limits.py | 2 +- vrchatapi/models/favorite_group_visibility.py | 2 +- vrchatapi/models/favorite_limits.py | 2 +- vrchatapi/models/favorite_type.py | 2 +- vrchatapi/models/favorited_world.py | 2 +- vrchatapi/models/feedback.py | 2 +- vrchatapi/models/file.py | 2 +- vrchatapi/models/file_analysis.py | 2 +- .../models/file_analysis_avatar_stats.py | 2 +- vrchatapi/models/file_data.py | 2 +- vrchatapi/models/file_status.py | 2 +- vrchatapi/models/file_upload_url.py | 2 +- vrchatapi/models/file_version.py | 2 +- .../models/file_version_upload_status.py | 2 +- .../models/finish_file_data_upload_request.py | 2 +- vrchatapi/models/friend_status.py | 2 +- .../models/get_group_posts200_response.py | 2 +- .../get_user_group_instances200_response.py | 2 +- vrchatapi/models/group.py | 2 +- vrchatapi/models/group_access_type.py | 2 +- vrchatapi/models/group_announcement.py | 2 +- vrchatapi/models/group_audit_log_entry.py | 2 +- vrchatapi/models/group_gallery.py | 2 +- vrchatapi/models/group_gallery_image.py | 2 +- vrchatapi/models/group_instance.py | 2 +- vrchatapi/models/group_join_request_action.py | 2 +- vrchatapi/models/group_join_state.py | 2 +- vrchatapi/models/group_limited_member.py | 2 +- vrchatapi/models/group_member.py | 2 +- vrchatapi/models/group_member_limited_user.py | 2 +- vrchatapi/models/group_member_status.py | 2 +- vrchatapi/models/group_my_member.py | 2 +- vrchatapi/models/group_permission.py | 2 +- vrchatapi/models/group_permissions.py | 5 +- vrchatapi/models/group_post.py | 2 +- vrchatapi/models/group_post_visibility.py | 2 +- vrchatapi/models/group_privacy.py | 2 +- vrchatapi/models/group_role.py | 2 +- vrchatapi/models/group_role_template.py | 2 +- .../models/group_role_template_values.py | 2 +- .../group_role_template_values_roles.py | 2 +- vrchatapi/models/group_search_sort.py | 2 +- vrchatapi/models/group_user_visibility.py | 2 +- vrchatapi/models/info_push.py | 2 +- vrchatapi/models/info_push_data.py | 2 +- vrchatapi/models/info_push_data_article.py | 2 +- .../models/info_push_data_article_content.py | 2 +- vrchatapi/models/info_push_data_clickable.py | 2 +- vrchatapi/models/instance.py | 2 +- vrchatapi/models/instance_content_settings.py | 2 +- vrchatapi/models/instance_platforms.py | 2 +- vrchatapi/models/instance_region.py | 2 +- .../models/instance_short_name_response.py | 2 +- vrchatapi/models/instance_type.py | 2 +- vrchatapi/models/inventory.py | 159 +++ vrchatapi/models/inventory_drop.py | 456 ++++++++ vrchatapi/models/inventory_item.py | 618 ++++++++++ vrchatapi/models/inventory_item_type.py | 113 ++ vrchatapi/models/inventory_metadata.py | 315 +++++ .../models/inventory_notification_details.py | 186 +++ vrchatapi/models/inventory_spawn.py | 159 +++ vrchatapi/models/inventory_template.py | 510 ++++++++ vrchatapi/models/invite_message.py | 2 +- vrchatapi/models/invite_message_type.py | 2 +- vrchatapi/models/invite_request.py | 2 +- vrchatapi/models/invite_response.py | 2 +- vrchatapi/models/jam.py | 2 +- vrchatapi/models/jam_state_change_dates.py | 2 +- vrchatapi/models/license.py | 2 +- vrchatapi/models/license_action.py | 2 +- vrchatapi/models/license_group.py | 2 +- vrchatapi/models/license_type.py | 2 +- vrchatapi/models/limited_group.py | 2 +- vrchatapi/models/limited_unity_package.py | 2 +- vrchatapi/models/limited_user_friend.py | 2 +- vrchatapi/models/limited_user_groups.py | 2 +- vrchatapi/models/limited_user_instance.py | 2 +- vrchatapi/models/limited_user_search.py | 2 +- vrchatapi/models/limited_world.py | 2 +- vrchatapi/models/mime_type.py | 2 +- vrchatapi/models/model_print.py | 2 +- vrchatapi/models/moderate_user_request.py | 2 +- vrchatapi/models/notification.py | 2 +- .../models/notification_detail_invite.py | 2 +- .../notification_detail_invite_response.py | 2 +- .../notification_detail_request_invite.py | 2 +- ...fication_detail_request_invite_response.py | 2 +- .../notification_detail_vote_to_kick.py | 2 +- vrchatapi/models/notification_type.py | 2 +- vrchatapi/models/order_option.py | 2 +- .../paginated_group_audit_log_entry_list.py | 2 +- vrchatapi/models/past_display_name.py | 2 +- vrchatapi/models/pending2_fa_result.py | 2 +- vrchatapi/models/performance_limiter_info.py | 2 +- vrchatapi/models/performance_ratings.py | 2 +- vrchatapi/models/permission.py | 2 +- vrchatapi/models/platform_build_info.py | 2 +- vrchatapi/models/player_moderation.py | 2 +- vrchatapi/models/player_moderation_type.py | 2 +- vrchatapi/models/print_files.py | 2 +- vrchatapi/models/product.py | 2 +- vrchatapi/models/product_listing.py | 2 +- vrchatapi/models/product_listing_type.py | 2 +- vrchatapi/models/product_listing_variant.py | 2 +- vrchatapi/models/product_type.py | 2 +- vrchatapi/models/prop.py | 540 +++++++++ vrchatapi/models/prop_unity_package.py | 275 +++++ vrchatapi/models/region.py | 2 +- .../models/register_user_account_request.py | 2 +- vrchatapi/models/release_status.py | 2 +- vrchatapi/models/report_category.py | 2 +- vrchatapi/models/report_reason.py | 2 +- vrchatapi/models/represented_group.py | 2 +- vrchatapi/models/request_invite_request.py | 42 +- .../models/respond_group_join_request.py | 2 +- vrchatapi/models/response.py | 2 +- vrchatapi/models/sent_notification.py | 2 +- vrchatapi/models/service_queue_stats.py | 2 +- vrchatapi/models/service_status.py | 2 +- vrchatapi/models/sort_option.py | 2 +- vrchatapi/models/submission.py | 2 +- vrchatapi/models/subscription.py | 2 +- vrchatapi/models/subscription_period.py | 2 +- vrchatapi/models/success.py | 2 +- vrchatapi/models/tilia_status.py | 2 +- vrchatapi/models/tilia_tos.py | 2 +- vrchatapi/models/token_bundle.py | 2 +- vrchatapi/models/transaction.py | 2 +- vrchatapi/models/transaction_agreement.py | 2 +- vrchatapi/models/transaction_status.py | 2 +- vrchatapi/models/transaction_steam_info.py | 2 +- .../models/transaction_steam_wallet_info.py | 2 +- vrchatapi/models/two_factor_auth_code.py | 2 +- vrchatapi/models/two_factor_email_code.py | 2 +- vrchatapi/models/two_factor_recovery_codes.py | 2 +- .../two_factor_recovery_codes_otp_inner.py | 2 +- vrchatapi/models/unity_package.py | 2 +- vrchatapi/models/update_avatar_request.py | 2 +- .../models/update_favorite_group_request.py | 2 +- .../models/update_group_gallery_request.py | 2 +- .../models/update_group_member_request.py | 2 +- .../update_group_representation_request.py | 2 +- vrchatapi/models/update_group_request.py | 2 +- vrchatapi/models/update_group_role_request.py | 2 +- .../models/update_invite_message_request.py | 2 +- vrchatapi/models/update_user_badge_request.py | 2 +- vrchatapi/models/update_user_note_request.py | 2 +- vrchatapi/models/update_user_request.py | 2 +- vrchatapi/models/update_world_request.py | 2 +- vrchatapi/models/user.py | 2 +- vrchatapi/models/user_exists.py | 2 +- vrchatapi/models/user_note.py | 2 +- vrchatapi/models/user_note_target_user.py | 2 +- vrchatapi/models/user_state.py | 2 +- vrchatapi/models/user_status.py | 2 +- vrchatapi/models/user_subscription.py | 2 +- .../models/verify2_fa_email_code_result.py | 2 +- vrchatapi/models/verify2_fa_result.py | 2 +- vrchatapi/models/verify_auth_token_result.py | 2 +- vrchatapi/models/world.py | 2 +- vrchatapi/models/world_metadata.py | 2 +- vrchatapi/models/world_publish_status.py | 2 +- vrchatapi/rest.py | 2 +- 271 files changed, 7281 insertions(+), 573 deletions(-) create mode 100644 docs/AdminAssetBundle.md create mode 100644 docs/AdminUnityPackage.md create mode 100644 docs/AvatarStyle.md create mode 100644 docs/Inventory.md create mode 100644 docs/InventoryApi.md create mode 100644 docs/InventoryDrop.md create mode 100644 docs/InventoryItem.md create mode 100644 docs/InventoryItemType.md create mode 100644 docs/InventoryMetadata.md create mode 100644 docs/InventoryNotificationDetails.md create mode 100644 docs/InventorySpawn.md create mode 100644 docs/InventoryTemplate.md create mode 100644 docs/Prop.md create mode 100644 docs/PropUnityPackage.md create mode 100644 docs/PropsApi.md create mode 100644 vrchatapi/api/inventory_api.py create mode 100644 vrchatapi/api/props_api.py create mode 100644 vrchatapi/models/admin_asset_bundle.py create mode 100644 vrchatapi/models/admin_unity_package.py create mode 100644 vrchatapi/models/avatar_style.py create mode 100644 vrchatapi/models/inventory.py create mode 100644 vrchatapi/models/inventory_drop.py create mode 100644 vrchatapi/models/inventory_item.py create mode 100644 vrchatapi/models/inventory_item_type.py create mode 100644 vrchatapi/models/inventory_metadata.py create mode 100644 vrchatapi/models/inventory_notification_details.py create mode 100644 vrchatapi/models/inventory_spawn.py create mode 100644 vrchatapi/models/inventory_template.py create mode 100644 vrchatapi/models/prop.py create mode 100644 vrchatapi/models/prop_unity_package.py diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 1fcdd2f1..c4ef5995 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -26,11 +26,14 @@ docs/APIHealth.md docs/AccountDeletionLog.md docs/AddFavoriteRequest.md docs/AddGroupGalleryImageRequest.md +docs/AdminAssetBundle.md +docs/AdminUnityPackage.md docs/AgeVerificationStatus.md docs/AuthenticationApi.md docs/Avatar.md docs/AvatarPerformance.md docs/AvatarPublishedListingsInner.md +docs/AvatarStyle.md docs/AvatarStyles.md docs/AvatarUnityPackageUrlObject.md docs/AvatarsApi.md @@ -118,6 +121,15 @@ docs/InstanceRegion.md docs/InstanceShortNameResponse.md docs/InstanceType.md docs/InstancesApi.md +docs/Inventory.md +docs/InventoryApi.md +docs/InventoryDrop.md +docs/InventoryItem.md +docs/InventoryItemType.md +docs/InventoryMetadata.md +docs/InventoryNotificationDetails.md +docs/InventorySpawn.md +docs/InventoryTemplate.md docs/InviteApi.md docs/InviteMessage.md docs/InviteMessageType.md @@ -167,6 +179,9 @@ docs/ProductListing.md docs/ProductListingType.md docs/ProductListingVariant.md docs/ProductType.md +docs/Prop.md +docs/PropUnityPackage.md +docs/PropsApi.md docs/Region.md docs/RegisterUserAccountRequest.md docs/ReleaseStatus.md @@ -240,12 +255,14 @@ vrchatapi/api/files_api.py vrchatapi/api/friends_api.py vrchatapi/api/groups_api.py vrchatapi/api/instances_api.py +vrchatapi/api/inventory_api.py vrchatapi/api/invite_api.py vrchatapi/api/jams_api.py vrchatapi/api/miscellaneous_api.py vrchatapi/api/notifications_api.py vrchatapi/api/playermoderation_api.py vrchatapi/api/prints_api.py +vrchatapi/api/props_api.py vrchatapi/api/users_api.py vrchatapi/api/worlds_api.py vrchatapi/api_client.py @@ -255,6 +272,8 @@ vrchatapi/models/__init__.py vrchatapi/models/account_deletion_log.py vrchatapi/models/add_favorite_request.py vrchatapi/models/add_group_gallery_image_request.py +vrchatapi/models/admin_asset_bundle.py +vrchatapi/models/admin_unity_package.py vrchatapi/models/age_verification_status.py vrchatapi/models/api_config.py vrchatapi/models/api_config_access_logs_urls.py @@ -283,6 +302,7 @@ vrchatapi/models/api_health.py vrchatapi/models/avatar.py vrchatapi/models/avatar_performance.py vrchatapi/models/avatar_published_listings_inner.py +vrchatapi/models/avatar_style.py vrchatapi/models/avatar_styles.py vrchatapi/models/avatar_unity_package_url_object.py vrchatapi/models/badge.py @@ -363,6 +383,14 @@ vrchatapi/models/instance_platforms.py vrchatapi/models/instance_region.py vrchatapi/models/instance_short_name_response.py vrchatapi/models/instance_type.py +vrchatapi/models/inventory.py +vrchatapi/models/inventory_drop.py +vrchatapi/models/inventory_item.py +vrchatapi/models/inventory_item_type.py +vrchatapi/models/inventory_metadata.py +vrchatapi/models/inventory_notification_details.py +vrchatapi/models/inventory_spawn.py +vrchatapi/models/inventory_template.py vrchatapi/models/invite_message.py vrchatapi/models/invite_message_type.py vrchatapi/models/invite_request.py @@ -406,6 +434,8 @@ vrchatapi/models/product_listing.py vrchatapi/models/product_listing_type.py vrchatapi/models/product_listing_variant.py vrchatapi/models/product_type.py +vrchatapi/models/prop.py +vrchatapi/models/prop_unity_package.py vrchatapi/models/region.py vrchatapi/models/register_user_account_request.py vrchatapi/models/release_status.py diff --git a/docs/AdminAssetBundle.md b/docs/AdminAssetBundle.md new file mode 100644 index 00000000..02026bb4 --- /dev/null +++ b/docs/AdminAssetBundle.md @@ -0,0 +1,24 @@ +# AdminAssetBundle + + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**created_at** | **datetime** | | +**updated_at** | **datetime** | | +**asset_type** | **str** | | +**author_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**author_name** | **str** | | +**description** | **str** | | +**image_url** | **str** | | +**name** | **str** | | +**release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | +**tags** | **list[str]** | | +**thumbnail_image_url** | **str** | | +**unity_package_url** | **str** | | +**unity_packages** | [**list[AdminUnityPackage]**](AdminUnityPackage.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AdminUnityPackage.md b/docs/AdminUnityPackage.md new file mode 100644 index 00000000..96bc4f2a --- /dev/null +++ b/docs/AdminUnityPackage.md @@ -0,0 +1,16 @@ +# AdminUnityPackage + + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**asset_url** | **str** | | +**asset_version** | **int** | | +**platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | +**unity_version** | **str** | | [default to '2022.3.22f1-DWR'] +**variant** | **str** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AvatarStyle.md b/docs/AvatarStyle.md new file mode 100644 index 00000000..a758cd24 --- /dev/null +++ b/docs/AvatarStyle.md @@ -0,0 +1,13 @@ +# AvatarStyle + + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | | +**style_name** | **str** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AvatarsApi.md b/docs/AvatarsApi.md index b119eefd..52f37f5d 100644 --- a/docs/AvatarsApi.md +++ b/docs/AvatarsApi.md @@ -9,6 +9,7 @@ Method | HTTP request | Description [**delete_impostor**](AvatarsApi.md#delete_impostor) | **DELETE** /avatars/{avatarId}/impostor | Delete generated Impostor [**enqueue_impostor**](AvatarsApi.md#enqueue_impostor) | **POST** /avatars/{avatarId}/impostor/enqueue | Enqueue Impostor generation [**get_avatar**](AvatarsApi.md#get_avatar) | **GET** /avatars/{avatarId} | Get Avatar +[**get_avatar_styles**](AvatarsApi.md#get_avatar_styles) | **GET** /avatarStyles | Get Avatar Styles [**get_favorited_avatars**](AvatarsApi.md#get_favorited_avatars) | **GET** /avatars/favorites | List Favorited Avatars [**get_impostor_queue_stats**](AvatarsApi.md#get_impostor_queue_stats) | **GET** /avatars/impostor/queue/stats | Get Impostor Queue Stats [**get_licensed_avatars**](AvatarsApi.md#get_licensed_avatars) | **GET** /avatars/licensed | List Licensed Avatars @@ -393,6 +394,64 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_avatar_styles** +> list[AvatarStyle] get_avatar_styles() + +Get Avatar Styles + +List avatar styles. + +### Example + +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient() as api_client: + # Create an instance of the API class + api_instance = vrchatapi.AvatarsApi(api_client) + + try: + # Get Avatar Styles + api_response = api_instance.get_avatar_styles() + pprint(api_response) + except ApiException as e: + print("Exception when calling AvatarsApi->get_avatar_styles: %s\n" % e) +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**list[AvatarStyle]**](AvatarStyle.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of AvatarStyle objects. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_favorited_avatars** > list[Avatar] get_favorited_avatars(featured=featured, sort=sort, n=n, order=order, offset=offset, search=search, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform, user_id=user_id) diff --git a/docs/EconomyApi.md b/docs/EconomyApi.md index a8034f75..20ae2d1c 100644 --- a/docs/EconomyApi.md +++ b/docs/EconomyApi.md @@ -353,7 +353,7 @@ n = 60 # int | The number of objects to return. (optional) (default to 60) offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) hydrate = True # bool | Populates some fields and changes types of others for certain objects. (optional) group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. (optional) -active = True # bool | Filter for users' listings. (optional) +active = True # bool | Filter for users' listings and inventory bundles. (optional) try: # Get User Product Listings @@ -372,7 +372,7 @@ Name | Type | Description | Notes **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] **hydrate** | **bool**| Populates some fields and changes types of others for certain objects. | [optional] **group_id** | **str**| Must be a valid group ID. | [optional] - **active** | **bool**| Filter for users' listings. | [optional] + **active** | **bool**| Filter for users' listings and inventory bundles. | [optional] ### Return type diff --git a/docs/FilesApi.md b/docs/FilesApi.md index fc5ba9fd..170a2be2 100644 --- a/docs/FilesApi.md +++ b/docs/FilesApi.md @@ -10,6 +10,7 @@ Method | HTTP request | Description [**delete_file_version**](FilesApi.md#delete_file_version) | **DELETE** /file/{fileId}/{versionId} | Delete File Version [**download_file_version**](FilesApi.md#download_file_version) | **GET** /file/{fileId}/{versionId} | Download File Version [**finish_file_data_upload**](FilesApi.md#finish_file_data_upload) | **PUT** /file/{fileId}/{versionId}/{fileType}/finish | Finish FileData Upload +[**get_admin_asset_bundle**](FilesApi.md#get_admin_asset_bundle) | **GET** /adminassetbundles/{adminAssetBundleId} | Get AdminAssetBundle [**get_file**](FilesApi.md#get_file) | **GET** /file/{fileId} | Show File [**get_file_analysis**](FilesApi.md#get_file_analysis) | **GET** /analysis/{fileId}/{versionId} | Get File Version Analysis [**get_file_analysis_security**](FilesApi.md#get_file_analysis_security) | **GET** /analysis/{fileId}/{versionId}/security | Get File Version Analysis Security @@ -476,6 +477,79 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_admin_asset_bundle** +> AdminAssetBundle get_admin_asset_bundle(admin_asset_bundle_id) + +Get AdminAssetBundle + +Returns an AdminAssetBundle + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.FilesApi(api_client) + admin_asset_bundle_id = 'aab_e159e72c-ce54-4fbe-8c37-96af02f6d18d' # str | Must be a valid admin asset bundle ID. + + try: + # Get AdminAssetBundle + api_response = api_instance.get_admin_asset_bundle(admin_asset_bundle_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling FilesApi->get_admin_asset_bundle: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **admin_asset_bundle_id** | **str**| Must be a valid admin asset bundle ID. | + +### Return type + +[**AdminAssetBundle**](AdminAssetBundle.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single AdminAssetBundle object. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_file** > File get_file(file_id) diff --git a/docs/Inventory.md b/docs/Inventory.md new file mode 100644 index 00000000..8f477fbb --- /dev/null +++ b/docs/Inventory.md @@ -0,0 +1,12 @@ +# Inventory + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**list[InventoryItem]**](InventoryItem.md) | | +**total_count** | **int** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InventoryApi.md b/docs/InventoryApi.md new file mode 100644 index 00000000..67b9dfaa --- /dev/null +++ b/docs/InventoryApi.md @@ -0,0 +1,389 @@ +# vrchatapi.InventoryApi + +All URIs are relative to *https://api.vrchat.cloud/api/1* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**get_inventory**](InventoryApi.md#get_inventory) | **GET** /inventory | Get Inventory +[**get_inventory_drops**](InventoryApi.md#get_inventory_drops) | **GET** /inventory/drops | List Inventory Drops +[**get_inventory_template**](InventoryApi.md#get_inventory_template) | **GET** /inventory/template/{inventoryTemplateId} | Get Inventory Template +[**get_own_inventory_item**](InventoryApi.md#get_own_inventory_item) | **GET** /inventory/{inventoryItemId} | Get Own Inventory Item +[**spawn_inventory_item**](InventoryApi.md#spawn_inventory_item) | **GET** /inventory/spawn | Spawn Inventory Item + + +# **get_inventory** +> Inventory get_inventory(n=n, offset=offset, inventory_sort_order=inventory_sort_order, inventory_item_type=inventory_item_type) + +Get Inventory + +Returns an Inventory object. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.InventoryApi(api_client) + n = 60 # int | The number of objects to return. (optional) (default to 60) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) +inventory_sort_order = 'inventory_sort_order_example' # str | Sort order for inventory retrieval. (optional) +inventory_item_type = vrchatapi.InventoryItemType() # InventoryItemType | Filter for inventory retrieval. (optional) + + try: + # Get Inventory + api_response = api_instance.get_inventory(n=n, offset=offset, inventory_sort_order=inventory_sort_order, inventory_item_type=inventory_item_type) + pprint(api_response) + except ApiException as e: + print("Exception when calling InventoryApi->get_inventory: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + **inventory_sort_order** | **str**| Sort order for inventory retrieval. | [optional] + **inventory_item_type** | [**InventoryItemType**](.md)| Filter for inventory retrieval. | [optional] + +### Return type + +[**Inventory**](Inventory.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns an Inventory object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_inventory_drops** +> list[InventoryDrop] get_inventory_drops(active=active) + +List Inventory Drops + +Returns a list of InventoryDrop objects. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.InventoryApi(api_client) + active = True # bool | Filter for users' listings and inventory bundles. (optional) + + try: + # List Inventory Drops + api_response = api_instance.get_inventory_drops(active=active) + pprint(api_response) + except ApiException as e: + print("Exception when calling InventoryApi->get_inventory_drops: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **active** | **bool**| Filter for users' listings and inventory bundles. | [optional] + +### Return type + +[**list[InventoryDrop]**](InventoryDrop.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of InventoryDrop objects. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_inventory_template** +> InventoryTemplate get_inventory_template(inventory_template_id) + +Get Inventory Template + +Returns an InventoryTemplate object. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.InventoryApi(api_client) + inventory_template_id = 'invt_00000000-0000-0000-0000-000000000000' # str | Must be a valid inventory template ID. + + try: + # Get Inventory Template + api_response = api_instance.get_inventory_template(inventory_template_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling InventoryApi->get_inventory_template: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **inventory_template_id** | **str**| Must be a valid inventory template ID. | + +### Return type + +[**InventoryTemplate**](InventoryTemplate.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns an InventoryTemplate object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_own_inventory_item** +> InventoryItem get_own_inventory_item(inventory_item_id) + +Get Own Inventory Item + +Returns an InventoryItem object held by the currently logged in user. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.InventoryApi(api_client) + inventory_item_id = 'inv_00000000-0000-0000-0000-000000000000' # str | Must be a valid inventory item ID. + + try: + # Get Own Inventory Item + api_response = api_instance.get_own_inventory_item(inventory_item_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling InventoryApi->get_own_inventory_item: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **inventory_item_id** | **str**| Must be a valid inventory item ID. | + +### Return type + +[**InventoryItem**](InventoryItem.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns an InventoryItem object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **spawn_inventory_item** +> InventorySpawn spawn_inventory_item(id) + +Spawn Inventory Item + +Returns an InventorySpawn object. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.InventoryApi(api_client) + id = 'id_example' # str | Id for inventory item spawning. + + try: + # Spawn Inventory Item + api_response = api_instance.spawn_inventory_item(id) + pprint(api_response) + except ApiException as e: + print("Exception when calling InventoryApi->spawn_inventory_item: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| Id for inventory item spawning. | + +### Return type + +[**InventorySpawn**](InventorySpawn.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns an InventorySpawn object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/InventoryDrop.md b/docs/InventoryDrop.md new file mode 100644 index 00000000..7b59e84b --- /dev/null +++ b/docs/InventoryDrop.md @@ -0,0 +1,23 @@ +# InventoryDrop + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**author_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**created_at** | **datetime** | | +**drop_expiry_date** | **datetime** | | +**end_drop_date** | **datetime** | | +**id** | **str** | | +**name** | **str** | | +**notification_details** | [**InventoryNotificationDetails**](InventoryNotificationDetails.md) | | +**start_drop_date** | **datetime** | | +**status** | **str** | | +**tags** | **list[str]** | | +**target_group** | **str** | | +**template_ids** | **list[str]** | | +**updated_at** | **datetime** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InventoryItem.md b/docs/InventoryItem.md new file mode 100644 index 00000000..d8612c1f --- /dev/null +++ b/docs/InventoryItem.md @@ -0,0 +1,29 @@ +# InventoryItem + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**collections** | **list[str]** | | +**created_at** | **datetime** | | +**description** | **str** | | +**expiry_date** | **datetime** | | +**flags** | **list[str]** | | +**holder_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**id** | **str** | | +**image_url** | **str** | | +**is_archived** | **bool** | | +**is_seen** | **bool** | | +**item_type** | [**InventoryItemType**](InventoryItemType.md) | | +**item_type_label** | **str** | | +**metadata** | [**InventoryMetadata**](InventoryMetadata.md) | | +**name** | **str** | | +**tags** | **list[str]** | | +**template_id** | **str** | | +**template_created_at** | **datetime** | | +**template_updated_at** | **datetime** | | +**updated_at** | **datetime** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InventoryItemType.md b/docs/InventoryItemType.md new file mode 100644 index 00000000..5a003690 --- /dev/null +++ b/docs/InventoryItemType.md @@ -0,0 +1,10 @@ +# InventoryItemType + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InventoryMetadata.md b/docs/InventoryMetadata.md new file mode 100644 index 00000000..5cc57f6d --- /dev/null +++ b/docs/InventoryMetadata.md @@ -0,0 +1,18 @@ +# InventoryMetadata + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**inventory_items_to_instantiate** | **list[str]** | Only in bundles | [optional] +**animated** | **bool** | | [optional] +**animation_style** | **str** | | [optional] +**asset_bundle_id** | **str** | | [optional] +**file_id** | **str** | | [optional] +**image_url** | **str** | | [optional] +**mask_tag** | **str** | | [optional] +**prop_id** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InventoryNotificationDetails.md b/docs/InventoryNotificationDetails.md new file mode 100644 index 00000000..2ad33c59 --- /dev/null +++ b/docs/InventoryNotificationDetails.md @@ -0,0 +1,13 @@ +# InventoryNotificationDetails + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**body** | **str** | | +**image_url** | **str** | | +**title** | **str** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InventorySpawn.md b/docs/InventorySpawn.md new file mode 100644 index 00000000..4f2d9325 --- /dev/null +++ b/docs/InventorySpawn.md @@ -0,0 +1,12 @@ +# InventorySpawn + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**token** | **str** | | +**version** | **int** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InventoryTemplate.md b/docs/InventoryTemplate.md new file mode 100644 index 00000000..7d1d3384 --- /dev/null +++ b/docs/InventoryTemplate.md @@ -0,0 +1,25 @@ +# InventoryTemplate + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**author_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**collections** | **list[str]** | | +**created_at** | **datetime** | | +**description** | **str** | | +**flags** | **list[str]** | | +**id** | **str** | | +**image_url** | **str** | | +**item_type** | [**InventoryItemType**](InventoryItemType.md) | | +**item_type_label** | **str** | | +**metadata** | [**InventoryMetadata**](InventoryMetadata.md) | | [optional] +**name** | **str** | | +**notification_details** | [**InventoryNotificationDetails**](InventoryNotificationDetails.md) | | [optional] +**status** | **str** | | +**tags** | **list[str]** | | +**updated_at** | **datetime** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Prop.md b/docs/Prop.md new file mode 100644 index 00000000..d6cd5a68 --- /dev/null +++ b/docs/Prop.md @@ -0,0 +1,27 @@ +# Prop + + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**created_at** | **datetime** | | +**updated_at** | **datetime** | | +**author_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**author_name** | **str** | | +**description** | **str** | | +**id** | **str** | | +**image_url** | **str** | | +**max_count_per_user** | **int** | | [default to 1] +**name** | **str** | | +**release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | +**spawn_type** | **int** | | [default to 0] +**tags** | **list[str]** | | +**thumbnail_image_url** | **str** | | +**unity_package_url** | **str** | | +**unity_packages** | [**list[PropUnityPackage]**](PropUnityPackage.md) | | +**world_placement_mask** | **int** | | [default to 1] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/PropUnityPackage.md b/docs/PropUnityPackage.md new file mode 100644 index 00000000..354737ca --- /dev/null +++ b/docs/PropUnityPackage.md @@ -0,0 +1,17 @@ +# PropUnityPackage + + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**asset_url** | **str** | | +**asset_version** | **int** | | +**prop_signature** | **str** | | +**platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | +**unity_version** | **str** | | [default to '2022.3.22f1'] +**variant** | **str** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/PropsApi.md b/docs/PropsApi.md new file mode 100644 index 00000000..b37bda65 --- /dev/null +++ b/docs/PropsApi.md @@ -0,0 +1,83 @@ +# vrchatapi.PropsApi + +All URIs are relative to *https://api.vrchat.cloud/api/1* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**get_prop**](PropsApi.md#get_prop) | **GET** /props/{propId} | Get Prop + + +# **get_prop** +> Prop get_prop(prop_id) + +Get Prop + +Returns a Prop object. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.PropsApi(api_client) + prop_id = 'prop_829ba6f6-b837-49d9-b9a9-056b82103b58' # str | Prop ID. + + try: + # Get Prop + api_response = api_instance.get_prop(prop_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling PropsApi->get_prop: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **prop_id** | **str**| Prop ID. | + +### Return type + +[**Prop**](Prop.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single Prop object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/RequestInviteRequest.md b/docs/RequestInviteRequest.md index af165072..66a67572 100644 --- a/docs/RequestInviteRequest.md +++ b/docs/RequestInviteRequest.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**message_slot** | **int** | | [optional] +**request_slot** | **int** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsersApi.md b/docs/UsersApi.md index 1506af52..968a3734 100644 --- a/docs/UsersApi.md +++ b/docs/UsersApi.md @@ -438,7 +438,7 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.UsersApi(api_client) user_id = 'user_id_example' # str | Must be a valid user ID. -content_id = True # bool | Filter for users' previously submitted feedback, e.g., a groupId, useeId, avatarId, etc. (optional) +content_id = True # bool | Filter for users' previously submitted feedback, e.g., a groupId, userId, avatarId, etc. (optional) n = 60 # int | The number of objects to return. (optional) (default to 60) offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) @@ -455,7 +455,7 @@ offset = 56 # int | A zero-based offset from the default object sorting from whe Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **user_id** | **str**| Must be a valid user ID. | - **content_id** | **bool**| Filter for users' previously submitted feedback, e.g., a groupId, useeId, avatarId, etc. | [optional] + **content_id** | **bool**| Filter for users' previously submitted feedback, e.g., a groupId, userId, avatarId, etc. | [optional] **n** | **int**| The number of objects to return. | [optional] [default to 60] **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] diff --git a/package-lock.json b/package-lock.json index 69ec2e57..9436377b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,7 +5,88 @@ "packages": { "": { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.20.2" + "@openapitools/openapi-generator-cli": "^2.21.4" + } + }, + "node_modules/@isaacs/balanced-match": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@isaacs/balanced-match/-/balanced-match-4.0.1.tgz", + "integrity": "sha512-yzMTt9lEb8Gv7zRioUilSglI0c0smZ9k5D65677DLWLtWJaXIS3CqcGyUFByYKlnUj6TkjLVs54fBl6+TiGQDQ==", + "engines": { + "node": "20 || >=22" + } + }, + "node_modules/@isaacs/brace-expansion": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@isaacs/brace-expansion/-/brace-expansion-5.0.0.tgz", + "integrity": "sha512-ZT55BDLV0yv0RBm2czMiZ+SqCGO7AvmOM3G/w2xhVPH+te0aKgFjmBvGlL1dH+ql2tgGO3MVrbb3jCKyvpgnxA==", + "dependencies": { + "@isaacs/balanced-match": "^4.0.1" + }, + "engines": { + "node": "20 || >=22" + } + }, + "node_modules/@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "dependencies": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@isaacs/cliui/node_modules/ansi-regex": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", + "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" + }, + "node_modules/@isaacs/cliui/node_modules/string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@isaacs/cliui/node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" } }, "node_modules/@lukeed/csprng": { @@ -17,9 +98,9 @@ } }, "node_modules/@nestjs/axios": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@nestjs/axios/-/axios-4.0.0.tgz", - "integrity": "sha512-1cB+Jyltu/uUPNQrpUimRHEQHrnQrpLzVj6dU3dgn6iDDDdahr10TgHFGTmw5VuJ9GzKZsCLDL78VSwJAs/9JQ==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@nestjs/axios/-/axios-4.0.1.tgz", + "integrity": "sha512-68pFJgu+/AZbWkGu65Z3r55bTsCPlgyKaV4BSG8yUAD72q1PPuyVRgUwFv6BxdnibTUHlyxm06FmYWNC+bjN7A==", "peerDependencies": { "@nestjs/common": "^10.0.0 || ^11.0.0", "axios": "^1.3.1", @@ -27,11 +108,11 @@ } }, "node_modules/@nestjs/common": { - "version": "11.1.1", - "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-11.1.1.tgz", - "integrity": "sha512-crzp+1qeZ5EGL0nFTPy9NrVMAaUWewV5AwtQyv6SQ9yQPXwRl9W9hm1pt0nAtUu5QbYMbSuo7lYcF81EjM+nCA==", + "version": "11.1.5", + "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-11.1.5.tgz", + "integrity": "sha512-DQpWdr3ShO0BHWkHl3I4W/jR6R3pDtxyBlmrpTuZF+PXxQyBXNvsUne0Wyo6QHPEDi+pAz9XchBFoKbqOhcdTg==", "dependencies": { - "file-type": "20.5.0", + "file-type": "21.0.0", "iterare": "1.2.1", "load-esm": "1.0.2", "tslib": "2.8.1", @@ -57,9 +138,9 @@ } }, "node_modules/@nestjs/core": { - "version": "11.1.1", - "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-11.1.1.tgz", - "integrity": "sha512-UFoUAgLKFT+RwHTANJdr0dF7p0qS9QjkaUPjg8aafnjM/qxxxrUVDB49nVvyMlk+Hr1+vvcNaOHbWWQBxoZcHA==", + "version": "11.1.5", + "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-11.1.5.tgz", + "integrity": "sha512-Qr25MEY9t8VsMETy7eXQ0cNXqu0lzuFrrTr+f+1G57ABCtV5Pogm7n9bF71OU2bnkDD32Bi4hQLeFR90cku3Tw==", "hasInstallScript": true, "dependencies": { "@nuxt/opencollective": "0.4.1", @@ -134,23 +215,23 @@ "integrity": "sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw==" }, "node_modules/@openapitools/openapi-generator-cli": { - "version": "2.20.2", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.20.2.tgz", - "integrity": "sha512-dNFwQcQu6+rmEWSJj4KUx468+p6Co7nfpVgi5QEfVhzKj7wBytz9GEhCN2qmVgtg3ZX8H6nxbXI8cjh7hAxAqg==", + "version": "2.21.4", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.21.4.tgz", + "integrity": "sha512-s2OBgiNml0DL0ebkvAMQxZi7c8SUQMHssTUJwWsFDv4kVtBVDV4UzsCh9gQEXlNjuEcEgZoa5BIOai2sT0sE8g==", "hasInstallScript": true, "dependencies": { - "@nestjs/axios": "4.0.0", - "@nestjs/common": "11.1.1", - "@nestjs/core": "11.1.1", + "@nestjs/axios": "4.0.1", + "@nestjs/common": "11.1.5", + "@nestjs/core": "11.1.5", "@nuxtjs/opencollective": "0.3.2", - "axios": "1.9.0", + "axios": "1.11.0", "chalk": "4.1.2", "commander": "8.3.0", "compare-versions": "4.1.4", - "concurrently": "6.5.1", + "concurrently": "9.2.0", "console.table": "0.10.0", "fs-extra": "11.3.0", - "glob": "9.3.5", + "glob": "11.0.3", "inquirer": "8.2.6", "lodash": "4.17.21", "proxy-agent": "6.5.0", @@ -257,20 +338,15 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "node_modules/axios": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.9.0.tgz", - "integrity": "sha512-re4CqKTJaURpzbLHtIi6XpDv20/CnpXOtjRY5/CU32L8gU8ek9UIivcfvSWvmKEngmVbrUtPpdDwWDWL7DNHvg==", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.11.0.tgz", + "integrity": "sha512-1Lx3WLFQWm3ooKDYZD1eXmoGO9fxYQjrycfHFC8P0sCfQVXyROp0p9PFWBehewBOdCwHc+f/b8I0fMto5eSfwA==", "dependencies": { "follow-redirects": "^1.15.6", - "form-data": "^4.0.0", + "form-data": "^4.0.4", "proxy-from-env": "^1.1.0" } }, - "node_modules/balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" - }, "node_modules/base64-js": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", @@ -308,14 +384,6 @@ "readable-stream": "^3.4.0" } }, - "node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dependencies": { - "balanced-match": "^1.0.0" - } - }, "node_modules/buffer": { "version": "5.7.1", "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", @@ -402,13 +470,32 @@ } }, "node_modules/cliui": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", "dependencies": { "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", + "strip-ansi": "^6.0.1", "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/cliui/node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, "node_modules/clone": { @@ -460,35 +547,27 @@ "integrity": "sha512-FemMreK9xNyL8gQevsdRMrvO4lFCkQP7qbuktn1q8ndcNk1+0mz7lgE7b/sNvbhVgY4w6tMN1FDp6aADjqw2rw==" }, "node_modules/concurrently": { - "version": "6.5.1", - "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-6.5.1.tgz", - "integrity": "sha512-FlSwNpGjWQfRwPLXvJ/OgysbBxPkWpiVjy1042b0U7on7S7qwwMIILRj7WTN1mTgqa582bG6NFuScOoh6Zgdag==", + "version": "9.2.0", + "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-9.2.0.tgz", + "integrity": "sha512-IsB/fiXTupmagMW4MNp2lx2cdSN2FfZq78vF90LBB+zZHArbIQZjQtzXCiXnvTxCZSvXanTqFLWBjw2UkLx1SQ==", "dependencies": { - "chalk": "^4.1.0", - "date-fns": "^2.16.1", + "chalk": "^4.1.2", "lodash": "^4.17.21", - "rxjs": "^6.6.3", - "spawn-command": "^0.0.2-1", - "supports-color": "^8.1.0", + "rxjs": "^7.8.1", + "shell-quote": "^1.8.1", + "supports-color": "^8.1.1", "tree-kill": "^1.2.2", - "yargs": "^16.2.0" + "yargs": "^17.7.2" }, "bin": { - "concurrently": "bin/concurrently.js" + "conc": "dist/bin/concurrently.js", + "concurrently": "dist/bin/concurrently.js" }, "engines": { - "node": ">=10.0.0" - } - }, - "node_modules/concurrently/node_modules/rxjs": { - "version": "6.6.7", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz", - "integrity": "sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==", - "dependencies": { - "tslib": "^1.9.0" + "node": ">=18" }, - "engines": { - "npm": ">=2.0.0" + "funding": { + "url": "https://github.com/open-cli-tools/concurrently?sponsor=1" } }, "node_modules/concurrently/node_modules/supports-color": { @@ -505,11 +584,6 @@ "url": "https://github.com/chalk/supports-color?sponsor=1" } }, - "node_modules/concurrently/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - }, "node_modules/consola": { "version": "3.4.2", "resolved": "https://registry.npmjs.org/consola/-/consola-3.4.2.tgz", @@ -529,6 +603,19 @@ "node": "> 0.10" } }, + "node_modules/cross-spawn": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, "node_modules/data-uri-to-buffer": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-6.0.2.tgz", @@ -537,18 +624,6 @@ "node": ">= 14" } }, - "node_modules/date-fns": { - "version": "2.27.0", - "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.27.0.tgz", - "integrity": "sha512-sj+J0Mo2p2X1e306MHq282WS4/A8Pz/95GIFcsPNMPMZVI3EUrAdSv90al1k+p74WGLCruMXk23bfEDZa71X9Q==", - "engines": { - "node": ">=0.11" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/date-fns" - } - }, "node_modules/debug": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz", @@ -607,6 +682,11 @@ "node": ">= 0.4" } }, + "node_modules/eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==" + }, "node_modules/easy-table": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/easy-table/-/easy-table-1.1.0.tgz", @@ -662,9 +742,9 @@ } }, "node_modules/escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", "engines": { "node": ">=6" } @@ -763,17 +843,17 @@ } }, "node_modules/file-type": { - "version": "20.5.0", - "resolved": "https://registry.npmjs.org/file-type/-/file-type-20.5.0.tgz", - "integrity": "sha512-BfHZtG/l9iMm4Ecianu7P8HRD2tBHLtjXinm4X62XBOYzi7CYA7jyqfJzOvXHqzVrVPYqBo2/GvbARMaaJkKVg==", + "version": "21.0.0", + "resolved": "https://registry.npmjs.org/file-type/-/file-type-21.0.0.tgz", + "integrity": "sha512-ek5xNX2YBYlXhiUXui3D/BXa3LdqPmoLJ7rqEx2bKJ7EAUEfmXgW0Das7Dc6Nr9MvqaOnIqiPV0mZk/r/UpNAg==", "dependencies": { - "@tokenizer/inflate": "^0.2.6", - "strtok3": "^10.2.0", + "@tokenizer/inflate": "^0.2.7", + "strtok3": "^10.2.2", "token-types": "^6.0.0", "uint8array-extras": "^1.4.0" }, "engines": { - "node": ">=18" + "node": ">=20" }, "funding": { "url": "https://github.com/sindresorhus/file-type?sponsor=1" @@ -798,14 +878,41 @@ } } }, + "node_modules/foreground-child": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz", + "integrity": "sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==", + "dependencies": { + "cross-spawn": "^7.0.6", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/foreground-child/node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/form-data": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.2.tgz", - "integrity": "sha512-hGfm/slu0ZabnNt4oaRZ6uREyfCj6P4fT/n6A1rGV+Z0VdGXjfOhVUpkn6qVQONHGIFwmveGXyDs75+nr6FM8w==", + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.4.tgz", + "integrity": "sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==", "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", "es-set-tostringtag": "^2.1.0", + "hasown": "^2.0.2", "mime-types": "^2.1.12" }, "engines": { @@ -825,11 +932,6 @@ "node": ">=14.14" } }, - "node_modules/fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" - }, "node_modules/function-bind": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", @@ -895,17 +997,22 @@ } }, "node_modules/glob": { - "version": "9.3.5", - "resolved": "https://registry.npmjs.org/glob/-/glob-9.3.5.tgz", - "integrity": "sha512-e1LleDykUz2Iu+MTYdkSsuWX8lvAjAcs0Xef0lNIu0S2wOAzuTxCJtcd9S3cijlwYF18EsU3rzb8jPVobxDh9Q==", + "version": "11.0.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-11.0.3.tgz", + "integrity": "sha512-2Nim7dha1KVkaiF4q6Dj+ngPPMdfvLJEOpZk/jKiUAkqKebpGAWQXAq9z1xu9HKu5lWfqw/FASuccEjyznjPaA==", "dependencies": { - "fs.realpath": "^1.0.0", - "minimatch": "^8.0.2", - "minipass": "^4.2.4", - "path-scurry": "^1.6.1" + "foreground-child": "^3.3.1", + "jackspeak": "^4.1.1", + "minimatch": "^10.0.3", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^2.0.0" + }, + "bin": { + "glob": "dist/esm/bin.mjs" }, "engines": { - "node": ">=16 || 14 >=14.17" + "node": "20 || >=22" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -1107,6 +1214,11 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==" + }, "node_modules/iterare": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/iterare/-/iterare-1.2.1.tgz", @@ -1115,6 +1227,20 @@ "node": ">=6" } }, + "node_modules/jackspeak": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-4.1.1.tgz", + "integrity": "sha512-zptv57P3GpL+O0I7VdMJNBZCu+BPHVQUk55Ft8/QCJjTVxrnJHuVuX/0Bl2A6/+2oyR/ZMEuFKwmzqqZ/U5nPQ==", + "dependencies": { + "@isaacs/cliui": "^8.0.2" + }, + "engines": { + "node": "20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/jsbn": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-1.1.0.tgz", @@ -1170,9 +1296,12 @@ } }, "node_modules/lru-cache": { - "version": "10.4.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", - "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==" + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.1.0.tgz", + "integrity": "sha512-QIXZUBJUx+2zHUdQujWejBkcD9+cs94tLn0+YL8UrCh+D5sCXZ4c7LaEH48pNwRY3MLDgqUFyhlCyjJPf1WP0A==", + "engines": { + "node": "20 || >=22" + } }, "node_modules/math-intrinsics": { "version": "1.1.0", @@ -1210,25 +1339,25 @@ } }, "node_modules/minimatch": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-8.0.4.tgz", - "integrity": "sha512-W0Wvr9HyFXZRGIDgCicunpQ299OKXs9RgZfaukz4qAW/pJhcpUfupc9c+OObPOFueNy8VSrZgEmDtk6Kh4WzDA==", + "version": "10.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.0.3.tgz", + "integrity": "sha512-IPZ167aShDZZUMdRk66cyQAW3qr0WzbHkPdMYa8bzZhlHhO3jALbKdxcaak7W9FfT2rZNpQuUu4Od7ILEpXSaw==", "dependencies": { - "brace-expansion": "^2.0.1" + "@isaacs/brace-expansion": "^5.0.0" }, "engines": { - "node": ">=16 || 14 >=14.17" + "node": "20 || >=22" }, "funding": { "url": "https://github.com/sponsors/isaacs" } }, "node_modules/minipass": { - "version": "4.2.8", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-4.2.8.tgz", - "integrity": "sha512-fNzuVyifolSLFL4NzpF+wEF4qrgqaaKX0haXPQEdQ7NKAN+WecoKMHV09YcuL/DHxrUsYQOK3MiuDf7Ip2OXfQ==", + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", "engines": { - "node": ">=8" + "node": ">=16 || 14 >=14.17" } }, "node_modules/ms": { @@ -1342,29 +1471,34 @@ "node": ">= 14" } }, + "node_modules/package-json-from-dist": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz", + "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==" + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "engines": { + "node": ">=8" + } + }, "node_modules/path-scurry": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", - "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.0.tgz", + "integrity": "sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg==", "dependencies": { - "lru-cache": "^10.2.0", - "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + "lru-cache": "^11.0.0", + "minipass": "^7.1.2" }, "engines": { - "node": ">=16 || 14 >=14.18" + "node": "20 || >=22" }, "funding": { "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/path-scurry/node_modules/minipass": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", - "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", - "engines": { - "node": ">=16 || 14 >=14.17" - } - }, "node_modules/path-to-regexp": { "version": "8.2.0", "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.2.0.tgz", @@ -1373,18 +1507,6 @@ "node": ">=16" } }, - "node_modules/peek-readable": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/peek-readable/-/peek-readable-7.0.0.tgz", - "integrity": "sha512-nri2TO5JE3/mRryik9LlHFT53cgHfRK0Lt0BAZQXku/AW3E6XLt2GaY8siWi7dvW/m1z0ecn+J+bpDa9ZN3IsQ==", - "engines": { - "node": ">=18" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/Borewit" - } - }, "node_modules/proxy-agent": { "version": "6.5.0", "resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-6.5.0.tgz", @@ -1437,7 +1559,7 @@ "node_modules/require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", "engines": { "node": ">=0.10.0" } @@ -1494,6 +1616,36 @@ "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "engines": { + "node": ">=8" + } + }, + "node_modules/shell-quote": { + "version": "1.8.3", + "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.8.3.tgz", + "integrity": "sha512-ObmnIF4hXNg1BqhnHmgbDETF8dLPCggZWBjkQfhZpbszZnYur5DUljTcCHii5LC3J5E0yeO/1LIMyH+UvHQgyw==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/signal-exit": { "version": "3.0.7", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", @@ -1543,11 +1695,6 @@ "node": ">=0.10.0" } }, - "node_modules/spawn-command": { - "version": "0.0.2-1", - "resolved": "https://registry.npmjs.org/spawn-command/-/spawn-command-0.0.2-1.tgz", - "integrity": "sha1-YvXpRmmBwbeW3Fkpk34RycaSG9A=" - }, "node_modules/sprintf-js": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.3.tgz", @@ -1574,6 +1721,20 @@ "node": ">=8" } }, + "node_modules/string-width-cjs": { + "name": "string-width", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/strip-ansi": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", @@ -1585,13 +1746,24 @@ "node": ">=8" } }, + "node_modules/strip-ansi-cjs": { + "name": "strip-ansi", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/strtok3": { - "version": "10.2.2", - "resolved": "https://registry.npmjs.org/strtok3/-/strtok3-10.2.2.tgz", - "integrity": "sha512-Xt18+h4s7Z8xyZ0tmBoRmzxcop97R4BAh+dXouUDCYn+Em+1P3qpkUfI5ueWLT8ynC5hZ+q4iPEmGG1urvQGBg==", + "version": "10.3.2", + "resolved": "https://registry.npmjs.org/strtok3/-/strtok3-10.3.2.tgz", + "integrity": "sha512-or9w505RhhY66+uoe5YOC5QO/bRuATaoim3XTh+pGKx5VMWi/HDhMKuCjDLsLJouU2zg9Hf1nLPcNW7IHv80kQ==", "dependencies": { - "@tokenizer/token": "^0.3.0", - "peek-readable": "^7.0.0" + "@tokenizer/token": "^0.3.0" }, "engines": { "node": ">=18" @@ -1629,9 +1801,9 @@ } }, "node_modules/token-types": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/token-types/-/token-types-6.0.0.tgz", - "integrity": "sha512-lbDrTLVsHhOMljPscd0yitpozq7Ga2M5Cvez5AjGg8GASBjtt6iERCAJ93yommPmz62fb45oFIXHEZ3u9bfJEA==", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/token-types/-/token-types-6.0.3.tgz", + "integrity": "sha512-IKJ6EzuPPWtKtEIEPpIdXv9j5j2LGJEYk0CKY2efgKoYKLBiZdh6iQkLVBow/CB3phyWAWCyk+bZeaimJn6uRQ==", "dependencies": { "@tokenizer/token": "^0.3.0", "ieee754": "^1.2.1" @@ -1730,7 +1902,38 @@ "webidl-conversions": "^3.0.0" } }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, "node_modules/wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "dependencies": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs": { + "name": "wrap-ansi", "version": "7.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", @@ -1746,6 +1949,63 @@ "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, + "node_modules/wrap-ansi/node_modules/ansi-regex": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", + "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/wrap-ansi/node_modules/ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/wrap-ansi/node_modules/emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" + }, + "node_modules/wrap-ansi/node_modules/string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/wrap-ansi/node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, "node_modules/y18n": { "version": "5.0.8", "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", @@ -1755,49 +2015,105 @@ } }, "node_modules/yargs": { - "version": "16.2.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", - "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "version": "17.7.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", + "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", "dependencies": { - "cliui": "^7.0.2", + "cliui": "^8.0.1", "escalade": "^3.1.1", "get-caller-file": "^2.0.5", "require-directory": "^2.1.1", - "string-width": "^4.2.0", + "string-width": "^4.2.3", "y18n": "^5.0.5", - "yargs-parser": "^20.2.2" + "yargs-parser": "^21.1.1" }, "engines": { - "node": ">=10" + "node": ">=12" } }, "node_modules/yargs-parser": { - "version": "20.2.9", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", - "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", "engines": { - "node": ">=10" + "node": ">=12" } } }, "dependencies": { + "@isaacs/balanced-match": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@isaacs/balanced-match/-/balanced-match-4.0.1.tgz", + "integrity": "sha512-yzMTt9lEb8Gv7zRioUilSglI0c0smZ9k5D65677DLWLtWJaXIS3CqcGyUFByYKlnUj6TkjLVs54fBl6+TiGQDQ==" + }, + "@isaacs/brace-expansion": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@isaacs/brace-expansion/-/brace-expansion-5.0.0.tgz", + "integrity": "sha512-ZT55BDLV0yv0RBm2czMiZ+SqCGO7AvmOM3G/w2xhVPH+te0aKgFjmBvGlL1dH+ql2tgGO3MVrbb3jCKyvpgnxA==", + "requires": { + "@isaacs/balanced-match": "^4.0.1" + } + }, + "@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "requires": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", + "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==" + }, + "emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" + }, + "string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "requires": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + } + }, + "strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "requires": { + "ansi-regex": "^6.0.1" + } + } + } + }, "@lukeed/csprng": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@lukeed/csprng/-/csprng-1.1.0.tgz", "integrity": "sha512-Z7C/xXCiGWsg0KuKsHTKJxbWhpI3Vs5GwLfOean7MGyVFGqdRgBbAjOCh6u4bbjPc/8MJ2pZmK/0DLdCbivLDA==" }, "@nestjs/axios": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@nestjs/axios/-/axios-4.0.0.tgz", - "integrity": "sha512-1cB+Jyltu/uUPNQrpUimRHEQHrnQrpLzVj6dU3dgn6iDDDdahr10TgHFGTmw5VuJ9GzKZsCLDL78VSwJAs/9JQ==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@nestjs/axios/-/axios-4.0.1.tgz", + "integrity": "sha512-68pFJgu+/AZbWkGu65Z3r55bTsCPlgyKaV4BSG8yUAD72q1PPuyVRgUwFv6BxdnibTUHlyxm06FmYWNC+bjN7A==", "requires": {} }, "@nestjs/common": { - "version": "11.1.1", - "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-11.1.1.tgz", - "integrity": "sha512-crzp+1qeZ5EGL0nFTPy9NrVMAaUWewV5AwtQyv6SQ9yQPXwRl9W9hm1pt0nAtUu5QbYMbSuo7lYcF81EjM+nCA==", + "version": "11.1.5", + "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-11.1.5.tgz", + "integrity": "sha512-DQpWdr3ShO0BHWkHl3I4W/jR6R3pDtxyBlmrpTuZF+PXxQyBXNvsUne0Wyo6QHPEDi+pAz9XchBFoKbqOhcdTg==", "requires": { - "file-type": "20.5.0", + "file-type": "21.0.0", "iterare": "1.2.1", "load-esm": "1.0.2", "tslib": "2.8.1", @@ -1805,9 +2121,9 @@ } }, "@nestjs/core": { - "version": "11.1.1", - "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-11.1.1.tgz", - "integrity": "sha512-UFoUAgLKFT+RwHTANJdr0dF7p0qS9QjkaUPjg8aafnjM/qxxxrUVDB49nVvyMlk+Hr1+vvcNaOHbWWQBxoZcHA==", + "version": "11.1.5", + "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-11.1.5.tgz", + "integrity": "sha512-Qr25MEY9t8VsMETy7eXQ0cNXqu0lzuFrrTr+f+1G57ABCtV5Pogm7n9bF71OU2bnkDD32Bi4hQLeFR90cku3Tw==", "requires": { "@nuxt/opencollective": "0.4.1", "fast-safe-stringify": "2.1.1", @@ -1843,22 +2159,22 @@ } }, "@openapitools/openapi-generator-cli": { - "version": "2.20.2", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.20.2.tgz", - "integrity": "sha512-dNFwQcQu6+rmEWSJj4KUx468+p6Co7nfpVgi5QEfVhzKj7wBytz9GEhCN2qmVgtg3ZX8H6nxbXI8cjh7hAxAqg==", + "version": "2.21.4", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.21.4.tgz", + "integrity": "sha512-s2OBgiNml0DL0ebkvAMQxZi7c8SUQMHssTUJwWsFDv4kVtBVDV4UzsCh9gQEXlNjuEcEgZoa5BIOai2sT0sE8g==", "requires": { - "@nestjs/axios": "4.0.0", - "@nestjs/common": "11.1.1", - "@nestjs/core": "11.1.1", + "@nestjs/axios": "4.0.1", + "@nestjs/common": "11.1.5", + "@nestjs/core": "11.1.5", "@nuxtjs/opencollective": "0.3.2", - "axios": "1.9.0", + "axios": "1.11.0", "chalk": "4.1.2", "commander": "8.3.0", "compare-versions": "4.1.4", - "concurrently": "6.5.1", + "concurrently": "9.2.0", "console.table": "0.10.0", "fs-extra": "11.3.0", - "glob": "9.3.5", + "glob": "11.0.3", "inquirer": "8.2.6", "lodash": "4.17.21", "proxy-agent": "6.5.0", @@ -1927,20 +2243,15 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "axios": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.9.0.tgz", - "integrity": "sha512-re4CqKTJaURpzbLHtIi6XpDv20/CnpXOtjRY5/CU32L8gU8ek9UIivcfvSWvmKEngmVbrUtPpdDwWDWL7DNHvg==", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.11.0.tgz", + "integrity": "sha512-1Lx3WLFQWm3ooKDYZD1eXmoGO9fxYQjrycfHFC8P0sCfQVXyROp0p9PFWBehewBOdCwHc+f/b8I0fMto5eSfwA==", "requires": { "follow-redirects": "^1.15.6", - "form-data": "^4.0.0", + "form-data": "^4.0.4", "proxy-from-env": "^1.1.0" } }, - "balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" - }, "base64-js": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", @@ -1961,14 +2272,6 @@ "readable-stream": "^3.4.0" } }, - "brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "requires": { - "balanced-match": "^1.0.0" - } - }, "buffer": { "version": "5.7.1", "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", @@ -2020,13 +2323,25 @@ "integrity": "sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==" }, "cliui": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", "requires": { "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", + "strip-ansi": "^6.0.1", "wrap-ansi": "^7.0.0" + }, + "dependencies": { + "wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + } + } } }, "clone": { @@ -2066,28 +2381,19 @@ "integrity": "sha512-FemMreK9xNyL8gQevsdRMrvO4lFCkQP7qbuktn1q8ndcNk1+0mz7lgE7b/sNvbhVgY4w6tMN1FDp6aADjqw2rw==" }, "concurrently": { - "version": "6.5.1", - "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-6.5.1.tgz", - "integrity": "sha512-FlSwNpGjWQfRwPLXvJ/OgysbBxPkWpiVjy1042b0U7on7S7qwwMIILRj7WTN1mTgqa582bG6NFuScOoh6Zgdag==", + "version": "9.2.0", + "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-9.2.0.tgz", + "integrity": "sha512-IsB/fiXTupmagMW4MNp2lx2cdSN2FfZq78vF90LBB+zZHArbIQZjQtzXCiXnvTxCZSvXanTqFLWBjw2UkLx1SQ==", "requires": { - "chalk": "^4.1.0", - "date-fns": "^2.16.1", + "chalk": "^4.1.2", "lodash": "^4.17.21", - "rxjs": "^6.6.3", - "spawn-command": "^0.0.2-1", - "supports-color": "^8.1.0", + "rxjs": "^7.8.1", + "shell-quote": "^1.8.1", + "supports-color": "^8.1.1", "tree-kill": "^1.2.2", - "yargs": "^16.2.0" + "yargs": "^17.7.2" }, "dependencies": { - "rxjs": { - "version": "6.6.7", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz", - "integrity": "sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==", - "requires": { - "tslib": "^1.9.0" - } - }, "supports-color": { "version": "8.1.1", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", @@ -2095,11 +2401,6 @@ "requires": { "has-flag": "^4.0.0" } - }, - "tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" } } }, @@ -2116,16 +2417,21 @@ "easy-table": "1.1.0" } }, + "cross-spawn": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", + "requires": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + } + }, "data-uri-to-buffer": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-6.0.2.tgz", "integrity": "sha512-7hvf7/GW8e86rW0ptuwS3OcBGDjIi6SZva7hCyWC0yYry2cOPmLIjXAUHI6DK2HsnwJd9ifmt57i8eV2n4YNpw==" }, - "date-fns": { - "version": "2.27.0", - "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.27.0.tgz", - "integrity": "sha512-sj+J0Mo2p2X1e306MHq282WS4/A8Pz/95GIFcsPNMPMZVI3EUrAdSv90al1k+p74WGLCruMXk23bfEDZa71X9Q==" - }, "debug": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz", @@ -2167,6 +2473,11 @@ "gopd": "^1.2.0" } }, + "eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==" + }, "easy-table": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/easy-table/-/easy-table-1.1.0.tgz", @@ -2210,9 +2521,9 @@ } }, "escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==" }, "escape-string-regexp": { "version": "1.0.5", @@ -2274,12 +2585,12 @@ } }, "file-type": { - "version": "20.5.0", - "resolved": "https://registry.npmjs.org/file-type/-/file-type-20.5.0.tgz", - "integrity": "sha512-BfHZtG/l9iMm4Ecianu7P8HRD2tBHLtjXinm4X62XBOYzi7CYA7jyqfJzOvXHqzVrVPYqBo2/GvbARMaaJkKVg==", + "version": "21.0.0", + "resolved": "https://registry.npmjs.org/file-type/-/file-type-21.0.0.tgz", + "integrity": "sha512-ek5xNX2YBYlXhiUXui3D/BXa3LdqPmoLJ7rqEx2bKJ7EAUEfmXgW0Das7Dc6Nr9MvqaOnIqiPV0mZk/r/UpNAg==", "requires": { - "@tokenizer/inflate": "^0.2.6", - "strtok3": "^10.2.0", + "@tokenizer/inflate": "^0.2.7", + "strtok3": "^10.2.2", "token-types": "^6.0.0", "uint8array-extras": "^1.4.0" } @@ -2289,14 +2600,31 @@ "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz", "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==" }, + "foreground-child": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz", + "integrity": "sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==", + "requires": { + "cross-spawn": "^7.0.6", + "signal-exit": "^4.0.1" + }, + "dependencies": { + "signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==" + } + } + }, "form-data": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.2.tgz", - "integrity": "sha512-hGfm/slu0ZabnNt4oaRZ6uREyfCj6P4fT/n6A1rGV+Z0VdGXjfOhVUpkn6qVQONHGIFwmveGXyDs75+nr6FM8w==", + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.4.tgz", + "integrity": "sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==", "requires": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", "es-set-tostringtag": "^2.1.0", + "hasown": "^2.0.2", "mime-types": "^2.1.12" } }, @@ -2310,11 +2638,6 @@ "universalify": "^2.0.0" } }, - "fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" - }, "function-bind": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", @@ -2362,14 +2685,16 @@ } }, "glob": { - "version": "9.3.5", - "resolved": "https://registry.npmjs.org/glob/-/glob-9.3.5.tgz", - "integrity": "sha512-e1LleDykUz2Iu+MTYdkSsuWX8lvAjAcs0Xef0lNIu0S2wOAzuTxCJtcd9S3cijlwYF18EsU3rzb8jPVobxDh9Q==", + "version": "11.0.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-11.0.3.tgz", + "integrity": "sha512-2Nim7dha1KVkaiF4q6Dj+ngPPMdfvLJEOpZk/jKiUAkqKebpGAWQXAq9z1xu9HKu5lWfqw/FASuccEjyznjPaA==", "requires": { - "fs.realpath": "^1.0.0", - "minimatch": "^8.0.2", - "minipass": "^4.2.4", - "path-scurry": "^1.6.1" + "foreground-child": "^3.3.1", + "jackspeak": "^4.1.1", + "minimatch": "^10.0.3", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^2.0.0" } }, "gopd": { @@ -2502,11 +2827,24 @@ "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==" }, + "isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==" + }, "iterare": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/iterare/-/iterare-1.2.1.tgz", "integrity": "sha512-RKYVTCjAnRthyJes037NX/IiqeidgN1xc3j1RjFfECFp28A1GVwK9nA+i0rJPaHqSZwygLzRnFlzUuHFoWWy+Q==" }, + "jackspeak": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-4.1.1.tgz", + "integrity": "sha512-zptv57P3GpL+O0I7VdMJNBZCu+BPHVQUk55Ft8/QCJjTVxrnJHuVuX/0Bl2A6/+2oyR/ZMEuFKwmzqqZ/U5nPQ==", + "requires": { + "@isaacs/cliui": "^8.0.2" + } + }, "jsbn": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-1.1.0.tgz", @@ -2541,9 +2879,9 @@ } }, "lru-cache": { - "version": "10.4.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", - "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==" + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.1.0.tgz", + "integrity": "sha512-QIXZUBJUx+2zHUdQujWejBkcD9+cs94tLn0+YL8UrCh+D5sCXZ4c7LaEH48pNwRY3MLDgqUFyhlCyjJPf1WP0A==" }, "math-intrinsics": { "version": "1.1.0", @@ -2569,17 +2907,17 @@ "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==" }, "minimatch": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-8.0.4.tgz", - "integrity": "sha512-W0Wvr9HyFXZRGIDgCicunpQ299OKXs9RgZfaukz4qAW/pJhcpUfupc9c+OObPOFueNy8VSrZgEmDtk6Kh4WzDA==", + "version": "10.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.0.3.tgz", + "integrity": "sha512-IPZ167aShDZZUMdRk66cyQAW3qr0WzbHkPdMYa8bzZhlHhO3jALbKdxcaak7W9FfT2rZNpQuUu4Od7ILEpXSaw==", "requires": { - "brace-expansion": "^2.0.1" + "@isaacs/brace-expansion": "^5.0.0" } }, "minipass": { - "version": "4.2.8", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-4.2.8.tgz", - "integrity": "sha512-fNzuVyifolSLFL4NzpF+wEF4qrgqaaKX0haXPQEdQ7NKAN+WecoKMHV09YcuL/DHxrUsYQOK3MiuDf7Ip2OXfQ==" + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==" }, "ms": { "version": "2.1.3", @@ -2657,20 +2995,23 @@ "netmask": "^2.0.2" } }, + "package-json-from-dist": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz", + "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==" + }, + "path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==" + }, "path-scurry": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", - "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.0.tgz", + "integrity": "sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg==", "requires": { - "lru-cache": "^10.2.0", - "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" - }, - "dependencies": { - "minipass": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", - "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==" - } + "lru-cache": "^11.0.0", + "minipass": "^7.1.2" } }, "path-to-regexp": { @@ -2678,11 +3019,6 @@ "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.2.0.tgz", "integrity": "sha512-TdrF7fW9Rphjq4RjrW0Kp2AW0Ahwu9sRGTkS6bvDi0SCwZlEZYmcfDbEsTz8RVk0EHIS/Vd1bv3JhG+1xZuAyQ==" }, - "peek-readable": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/peek-readable/-/peek-readable-7.0.0.tgz", - "integrity": "sha512-nri2TO5JE3/mRryik9LlHFT53cgHfRK0Lt0BAZQXku/AW3E6XLt2GaY8siWi7dvW/m1z0ecn+J+bpDa9ZN3IsQ==" - }, "proxy-agent": { "version": "6.5.0", "resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-6.5.0.tgz", @@ -2728,7 +3064,7 @@ "require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=" + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==" }, "restore-cursor": { "version": "3.1.0", @@ -2762,6 +3098,24 @@ "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, + "shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "requires": { + "shebang-regex": "^3.0.0" + } + }, + "shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==" + }, + "shell-quote": { + "version": "1.8.3", + "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.8.3.tgz", + "integrity": "sha512-ObmnIF4hXNg1BqhnHmgbDETF8dLPCggZWBjkQfhZpbszZnYur5DUljTcCHii5LC3J5E0yeO/1LIMyH+UvHQgyw==" + }, "signal-exit": { "version": "3.0.7", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", @@ -2797,11 +3151,6 @@ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "optional": true }, - "spawn-command": { - "version": "0.0.2-1", - "resolved": "https://registry.npmjs.org/spawn-command/-/spawn-command-0.0.2-1.tgz", - "integrity": "sha1-YvXpRmmBwbeW3Fkpk34RycaSG9A=" - }, "sprintf-js": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.3.tgz", @@ -2825,6 +3174,16 @@ "strip-ansi": "^6.0.1" } }, + "string-width-cjs": { + "version": "npm:string-width@4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + }, "strip-ansi": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", @@ -2833,13 +3192,20 @@ "ansi-regex": "^5.0.1" } }, + "strip-ansi-cjs": { + "version": "npm:strip-ansi@6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "requires": { + "ansi-regex": "^5.0.1" + } + }, "strtok3": { - "version": "10.2.2", - "resolved": "https://registry.npmjs.org/strtok3/-/strtok3-10.2.2.tgz", - "integrity": "sha512-Xt18+h4s7Z8xyZ0tmBoRmzxcop97R4BAh+dXouUDCYn+Em+1P3qpkUfI5ueWLT8ynC5hZ+q4iPEmGG1urvQGBg==", + "version": "10.3.2", + "resolved": "https://registry.npmjs.org/strtok3/-/strtok3-10.3.2.tgz", + "integrity": "sha512-or9w505RhhY66+uoe5YOC5QO/bRuATaoim3XTh+pGKx5VMWi/HDhMKuCjDLsLJouU2zg9Hf1nLPcNW7IHv80kQ==", "requires": { - "@tokenizer/token": "^0.3.0", - "peek-readable": "^7.0.0" + "@tokenizer/token": "^0.3.0" } }, "supports-color": { @@ -2864,9 +3230,9 @@ } }, "token-types": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/token-types/-/token-types-6.0.0.tgz", - "integrity": "sha512-lbDrTLVsHhOMljPscd0yitpozq7Ga2M5Cvez5AjGg8GASBjtt6iERCAJ93yommPmz62fb45oFIXHEZ3u9bfJEA==", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/token-types/-/token-types-6.0.3.tgz", + "integrity": "sha512-IKJ6EzuPPWtKtEIEPpIdXv9j5j2LGJEYk0CKY2efgKoYKLBiZdh6iQkLVBow/CB3phyWAWCyk+bZeaimJn6uRQ==", "requires": { "@tokenizer/token": "^0.3.0", "ieee754": "^1.2.1" @@ -2937,8 +3303,61 @@ "webidl-conversions": "^3.0.0" } }, + "which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "requires": { + "isexe": "^2.0.0" + } + }, "wrap-ansi": { - "version": "7.0.0", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "requires": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "dependencies": { + "ansi-regex": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", + "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==" + }, + "ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==" + }, + "emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" + }, + "string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "requires": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + } + }, + "strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "requires": { + "ansi-regex": "^6.0.1" + } + } + } + }, + "wrap-ansi-cjs": { + "version": "npm:wrap-ansi@7.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", "requires": { @@ -2953,23 +3372,23 @@ "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==" }, "yargs": { - "version": "16.2.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", - "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "version": "17.7.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", + "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", "requires": { - "cliui": "^7.0.2", + "cliui": "^8.0.1", "escalade": "^3.1.1", "get-caller-file": "^2.0.5", "require-directory": "^2.1.1", - "string-width": "^4.2.0", + "string-width": "^4.2.3", "y18n": "^5.0.5", - "yargs-parser": "^20.2.2" + "yargs-parser": "^21.1.1" } }, "yargs-parser": { - "version": "20.2.9", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", - "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==" + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==" } } } diff --git a/package.json b/package.json index 5c43d827..7a9c8cb3 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.20.2" + "@openapitools/openapi-generator-cli": "^2.21.4" } } diff --git a/setup.py b/setup.py index 0569b3cf..0e097518 100644 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.20.0" +VERSION = "1.20.1" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 438f02c6..54baf14f 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,7 +6,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -25,12 +25,14 @@ from vrchatapi.api.friends_api import FriendsApi from vrchatapi.api.groups_api import GroupsApi from vrchatapi.api.instances_api import InstancesApi +from vrchatapi.api.inventory_api import InventoryApi from vrchatapi.api.invite_api import InviteApi from vrchatapi.api.jams_api import JamsApi from vrchatapi.api.miscellaneous_api import MiscellaneousApi from vrchatapi.api.notifications_api import NotificationsApi from vrchatapi.api.playermoderation_api import PlayermoderationApi from vrchatapi.api.prints_api import PrintsApi +from vrchatapi.api.props_api import PropsApi from vrchatapi.api.users_api import UsersApi from vrchatapi.api.worlds_api import WorldsApi @@ -71,10 +73,13 @@ from vrchatapi.models.account_deletion_log import AccountDeletionLog from vrchatapi.models.add_favorite_request import AddFavoriteRequest from vrchatapi.models.add_group_gallery_image_request import AddGroupGalleryImageRequest +from vrchatapi.models.admin_asset_bundle import AdminAssetBundle +from vrchatapi.models.admin_unity_package import AdminUnityPackage from vrchatapi.models.age_verification_status import AgeVerificationStatus from vrchatapi.models.avatar import Avatar from vrchatapi.models.avatar_performance import AvatarPerformance from vrchatapi.models.avatar_published_listings_inner import AvatarPublishedListingsInner +from vrchatapi.models.avatar_style import AvatarStyle from vrchatapi.models.avatar_styles import AvatarStyles from vrchatapi.models.avatar_unity_package_url_object import AvatarUnityPackageUrlObject from vrchatapi.models.badge import Badge @@ -155,6 +160,14 @@ from vrchatapi.models.instance_region import InstanceRegion from vrchatapi.models.instance_short_name_response import InstanceShortNameResponse from vrchatapi.models.instance_type import InstanceType +from vrchatapi.models.inventory import Inventory +from vrchatapi.models.inventory_drop import InventoryDrop +from vrchatapi.models.inventory_item import InventoryItem +from vrchatapi.models.inventory_item_type import InventoryItemType +from vrchatapi.models.inventory_metadata import InventoryMetadata +from vrchatapi.models.inventory_notification_details import InventoryNotificationDetails +from vrchatapi.models.inventory_spawn import InventorySpawn +from vrchatapi.models.inventory_template import InventoryTemplate from vrchatapi.models.invite_message import InviteMessage from vrchatapi.models.invite_message_type import InviteMessageType from vrchatapi.models.invite_request import InviteRequest @@ -198,6 +211,8 @@ from vrchatapi.models.product_listing_type import ProductListingType from vrchatapi.models.product_listing_variant import ProductListingVariant from vrchatapi.models.product_type import ProductType +from vrchatapi.models.prop import Prop +from vrchatapi.models.prop_unity_package import PropUnityPackage from vrchatapi.models.region import Region from vrchatapi.models.register_user_account_request import RegisterUserAccountRequest from vrchatapi.models.release_status import ReleaseStatus diff --git a/vrchatapi/api/__init__.py b/vrchatapi/api/__init__.py index d7830164..118f1007 100644 --- a/vrchatapi/api/__init__.py +++ b/vrchatapi/api/__init__.py @@ -11,11 +11,13 @@ from vrchatapi.api.friends_api import FriendsApi from vrchatapi.api.groups_api import GroupsApi from vrchatapi.api.instances_api import InstancesApi +from vrchatapi.api.inventory_api import InventoryApi from vrchatapi.api.invite_api import InviteApi from vrchatapi.api.jams_api import JamsApi from vrchatapi.api.miscellaneous_api import MiscellaneousApi from vrchatapi.api.notifications_api import NotificationsApi from vrchatapi.api.playermoderation_api import PlayermoderationApi from vrchatapi.api.prints_api import PrintsApi +from vrchatapi.api.props_api import PropsApi from vrchatapi.api.users_api import UsersApi from vrchatapi.api.worlds_api import WorldsApi diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index b13ab38f..68764c30 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index abf9e9cf..f3703945 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -732,6 +732,133 @@ def get_avatar_with_http_info(self, avatar_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def get_avatar_styles(self, **kwargs): # noqa: E501 + """Get Avatar Styles # noqa: E501 + + List avatar styles. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_avatar_styles(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[AvatarStyle] + """ + kwargs['_return_http_data_only'] = True + return self.get_avatar_styles_with_http_info(**kwargs) # noqa: E501 + + def get_avatar_styles_with_http_info(self, **kwargs): # noqa: E501 + """Get Avatar Styles # noqa: E501 + + List avatar styles. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_avatar_styles_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[AvatarStyle], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_avatar_styles" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + response_types_map = { + 200: "list[AvatarStyle]", + } + + return self.api_client.call_api( + '/avatarStyles', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def get_favorited_avatars(self, **kwargs): # noqa: E501 """List Favorited Avatars # noqa: E501 diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index d571419a..4a0de43c 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -605,7 +605,7 @@ def get_product_listings(self, user_id, **kwargs): # noqa: E501 :type hydrate: bool :param group_id: Must be a valid group ID. :type group_id: str - :param active: Filter for users' listings. + :param active: Filter for users' listings and inventory bundles. :type active: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -645,7 +645,7 @@ def get_product_listings_with_http_info(self, user_id, **kwargs): # noqa: E501 :type hydrate: bool :param group_id: Must be a valid group ID. :type group_id: str - :param active: Filter for users' listings. + :param active: Filter for users' listings and inventory bundles. :type active: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index 974c195b..9359959b 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index 9979f2e3..974679cf 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -943,6 +943,143 @@ def finish_file_data_upload_with_http_info(self, file_id, version_id, file_type, collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def get_admin_asset_bundle(self, admin_asset_bundle_id, **kwargs): # noqa: E501 + """Get AdminAssetBundle # noqa: E501 + + Returns an AdminAssetBundle # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_admin_asset_bundle(admin_asset_bundle_id, async_req=True) + >>> result = thread.get() + + :param admin_asset_bundle_id: Must be a valid admin asset bundle ID. (required) + :type admin_asset_bundle_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: AdminAssetBundle + """ + kwargs['_return_http_data_only'] = True + return self.get_admin_asset_bundle_with_http_info(admin_asset_bundle_id, **kwargs) # noqa: E501 + + def get_admin_asset_bundle_with_http_info(self, admin_asset_bundle_id, **kwargs): # noqa: E501 + """Get AdminAssetBundle # noqa: E501 + + Returns an AdminAssetBundle # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_admin_asset_bundle_with_http_info(admin_asset_bundle_id, async_req=True) + >>> result = thread.get() + + :param admin_asset_bundle_id: Must be a valid admin asset bundle ID. (required) + :type admin_asset_bundle_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(AdminAssetBundle, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'admin_asset_bundle_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_admin_asset_bundle" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'admin_asset_bundle_id' is set + if self.api_client.client_side_validation and local_var_params.get('admin_asset_bundle_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `admin_asset_bundle_id` when calling `get_admin_asset_bundle`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'admin_asset_bundle_id' in local_var_params: + path_params['adminAssetBundleId'] = local_var_params['admin_asset_bundle_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "AdminAssetBundle", + } + + return self.api_client.call_api( + '/adminassetbundles/{adminAssetBundleId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def get_file(self, file_id, **kwargs): # noqa: E501 """Show File # noqa: E501 diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index 5e11d87c..48679c86 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index 577d1726..5e5a0b32 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 2642b867..88624379 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/inventory_api.py b/vrchatapi/api/inventory_api.py new file mode 100644 index 00000000..c6e6d85a --- /dev/null +++ b/vrchatapi/api/inventory_api.py @@ -0,0 +1,748 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.1 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from vrchatapi.api_client import ApiClient +from vrchatapi.exceptions import ( # noqa: F401 + ApiTypeError, + ApiValueError +) + + +class InventoryApi(object): + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def get_inventory(self, **kwargs): # noqa: E501 + """Get Inventory # noqa: E501 + + Returns an Inventory object. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_inventory(async_req=True) + >>> result = thread.get() + + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param inventory_sort_order: Sort order for inventory retrieval. + :type inventory_sort_order: str + :param inventory_item_type: Filter for inventory retrieval. + :type inventory_item_type: InventoryItemType + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Inventory + """ + kwargs['_return_http_data_only'] = True + return self.get_inventory_with_http_info(**kwargs) # noqa: E501 + + def get_inventory_with_http_info(self, **kwargs): # noqa: E501 + """Get Inventory # noqa: E501 + + Returns an Inventory object. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_inventory_with_http_info(async_req=True) + >>> result = thread.get() + + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param inventory_sort_order: Sort order for inventory retrieval. + :type inventory_sort_order: str + :param inventory_item_type: Filter for inventory retrieval. + :type inventory_item_type: InventoryItemType + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Inventory, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'n', + 'offset', + 'inventory_sort_order', + 'inventory_item_type' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_inventory" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_inventory`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_inventory`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_inventory`, must be a value greater than or equal to `0`") # noqa: E501 + collection_formats = {} + + path_params = {} + + query_params = [] + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + if local_var_params.get('inventory_sort_order') is not None: # noqa: E501 + query_params.append(('inventorySortOrder', local_var_params['inventory_sort_order'])) # noqa: E501 + if local_var_params.get('inventory_item_type') is not None: # noqa: E501 + query_params.append(('inventoryItemType', local_var_params['inventory_item_type'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "Inventory", + 401: "Error", + } + + return self.api_client.call_api( + '/inventory', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_inventory_drops(self, **kwargs): # noqa: E501 + """List Inventory Drops # noqa: E501 + + Returns a list of InventoryDrop objects. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_inventory_drops(async_req=True) + >>> result = thread.get() + + :param active: Filter for users' listings and inventory bundles. + :type active: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[InventoryDrop] + """ + kwargs['_return_http_data_only'] = True + return self.get_inventory_drops_with_http_info(**kwargs) # noqa: E501 + + def get_inventory_drops_with_http_info(self, **kwargs): # noqa: E501 + """List Inventory Drops # noqa: E501 + + Returns a list of InventoryDrop objects. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_inventory_drops_with_http_info(async_req=True) + >>> result = thread.get() + + :param active: Filter for users' listings and inventory bundles. + :type active: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[InventoryDrop], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'active' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_inventory_drops" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if local_var_params.get('active') is not None: # noqa: E501 + query_params.append(('active', local_var_params['active'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[InventoryDrop]", + 401: "Error", + } + + return self.api_client.call_api( + '/inventory/drops', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_inventory_template(self, inventory_template_id, **kwargs): # noqa: E501 + """Get Inventory Template # noqa: E501 + + Returns an InventoryTemplate object. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_inventory_template(inventory_template_id, async_req=True) + >>> result = thread.get() + + :param inventory_template_id: Must be a valid inventory template ID. (required) + :type inventory_template_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: InventoryTemplate + """ + kwargs['_return_http_data_only'] = True + return self.get_inventory_template_with_http_info(inventory_template_id, **kwargs) # noqa: E501 + + def get_inventory_template_with_http_info(self, inventory_template_id, **kwargs): # noqa: E501 + """Get Inventory Template # noqa: E501 + + Returns an InventoryTemplate object. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_inventory_template_with_http_info(inventory_template_id, async_req=True) + >>> result = thread.get() + + :param inventory_template_id: Must be a valid inventory template ID. (required) + :type inventory_template_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(InventoryTemplate, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'inventory_template_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_inventory_template" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'inventory_template_id' is set + if self.api_client.client_side_validation and local_var_params.get('inventory_template_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `inventory_template_id` when calling `get_inventory_template`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'inventory_template_id' in local_var_params: + path_params['inventoryTemplateId'] = local_var_params['inventory_template_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "InventoryTemplate", + 401: "Error", + } + + return self.api_client.call_api( + '/inventory/template/{inventoryTemplateId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_own_inventory_item(self, inventory_item_id, **kwargs): # noqa: E501 + """Get Own Inventory Item # noqa: E501 + + Returns an InventoryItem object held by the currently logged in user. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_own_inventory_item(inventory_item_id, async_req=True) + >>> result = thread.get() + + :param inventory_item_id: Must be a valid inventory item ID. (required) + :type inventory_item_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: InventoryItem + """ + kwargs['_return_http_data_only'] = True + return self.get_own_inventory_item_with_http_info(inventory_item_id, **kwargs) # noqa: E501 + + def get_own_inventory_item_with_http_info(self, inventory_item_id, **kwargs): # noqa: E501 + """Get Own Inventory Item # noqa: E501 + + Returns an InventoryItem object held by the currently logged in user. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_own_inventory_item_with_http_info(inventory_item_id, async_req=True) + >>> result = thread.get() + + :param inventory_item_id: Must be a valid inventory item ID. (required) + :type inventory_item_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(InventoryItem, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'inventory_item_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_own_inventory_item" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'inventory_item_id' is set + if self.api_client.client_side_validation and local_var_params.get('inventory_item_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `inventory_item_id` when calling `get_own_inventory_item`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'inventory_item_id' in local_var_params: + path_params['inventoryItemId'] = local_var_params['inventory_item_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "InventoryItem", + 401: "Error", + } + + return self.api_client.call_api( + '/inventory/{inventoryItemId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def spawn_inventory_item(self, id, **kwargs): # noqa: E501 + """Spawn Inventory Item # noqa: E501 + + Returns an InventorySpawn object. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.spawn_inventory_item(id, async_req=True) + >>> result = thread.get() + + :param id: Id for inventory item spawning. (required) + :type id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: InventorySpawn + """ + kwargs['_return_http_data_only'] = True + return self.spawn_inventory_item_with_http_info(id, **kwargs) # noqa: E501 + + def spawn_inventory_item_with_http_info(self, id, **kwargs): # noqa: E501 + """Spawn Inventory Item # noqa: E501 + + Returns an InventorySpawn object. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.spawn_inventory_item_with_http_info(id, async_req=True) + >>> result = thread.get() + + :param id: Id for inventory item spawning. (required) + :type id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(InventorySpawn, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method spawn_inventory_item" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'id' is set + if self.api_client.client_side_validation and local_var_params.get('id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `id` when calling `spawn_inventory_item`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if local_var_params.get('id') is not None: # noqa: E501 + query_params.append(('id', local_var_params['id'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "InventorySpawn", + 401: "Error", + } + + return self.api_client.call_api( + '/inventory/spawn', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index 96e22a5b..6e345968 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/jams_api.py b/vrchatapi/api/jams_api.py index 14a6e95a..c4492c4f 100644 --- a/vrchatapi/api/jams_api.py +++ b/vrchatapi/api/jams_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/miscellaneous_api.py b/vrchatapi/api/miscellaneous_api.py index 72271b45..221c0401 100644 --- a/vrchatapi/api/miscellaneous_api.py +++ b/vrchatapi/api/miscellaneous_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index 59ec0f0c..52bb75f3 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index 50309330..3f68c93d 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/prints_api.py b/vrchatapi/api/prints_api.py index 8f5872c3..e6291558 100644 --- a/vrchatapi/api/prints_api.py +++ b/vrchatapi/api/prints_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/props_api.py b/vrchatapi/api/props_api.py new file mode 100644 index 00000000..f4341aaa --- /dev/null +++ b/vrchatapi/api/props_api.py @@ -0,0 +1,175 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.1 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from vrchatapi.api_client import ApiClient +from vrchatapi.exceptions import ( # noqa: F401 + ApiTypeError, + ApiValueError +) + + +class PropsApi(object): + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def get_prop(self, prop_id, **kwargs): # noqa: E501 + """Get Prop # noqa: E501 + + Returns a Prop object. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_prop(prop_id, async_req=True) + >>> result = thread.get() + + :param prop_id: Prop ID. (required) + :type prop_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Prop + """ + kwargs['_return_http_data_only'] = True + return self.get_prop_with_http_info(prop_id, **kwargs) # noqa: E501 + + def get_prop_with_http_info(self, prop_id, **kwargs): # noqa: E501 + """Get Prop # noqa: E501 + + Returns a Prop object. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_prop_with_http_info(prop_id, async_req=True) + >>> result = thread.get() + + :param prop_id: Prop ID. (required) + :type prop_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Prop, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'prop_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_prop" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'prop_id' is set + if self.api_client.client_side_validation and local_var_params.get('prop_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `prop_id` when calling `get_prop`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'prop_id' in local_var_params: + path_params['propId'] = local_var_params['prop_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "Prop", + 401: "Error", + } + + return self.api_client.call_api( + '/props/{propId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index df3ec1b5..95794713 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -771,7 +771,7 @@ def get_user_feedback(self, user_id, **kwargs): # noqa: E501 :param user_id: Must be a valid user ID. (required) :type user_id: str - :param content_id: Filter for users' previously submitted feedback, e.g., a groupId, useeId, avatarId, etc. + :param content_id: Filter for users' previously submitted feedback, e.g., a groupId, userId, avatarId, etc. :type content_id: bool :param n: The number of objects to return. :type n: int @@ -807,7 +807,7 @@ def get_user_feedback_with_http_info(self, user_id, **kwargs): # noqa: E501 :param user_id: Must be a valid user ID. (required) :type user_id: str - :param content_id: Filter for users' previously submitted feedback, e.g., a groupId, useeId, avatarId, etc. + :param content_id: Filter for users' previously submitted feedback, e.g., a groupId, userId, avatarId, etc. :type content_id: bool :param n: The number of objects to return. :type n: int diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 792c0fa1..e46147cb 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index a55ee63e..2ee43f1d 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,7 +3,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index f7c5e1f8..f21a5f08 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -441,7 +441,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.20.0\n"\ + "Version of the API: 1.20.1\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index 1dfc497e..09204a16 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index 37d3b8cb..db8a5b90 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,7 +5,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -41,10 +41,13 @@ from vrchatapi.models.account_deletion_log import AccountDeletionLog from vrchatapi.models.add_favorite_request import AddFavoriteRequest from vrchatapi.models.add_group_gallery_image_request import AddGroupGalleryImageRequest +from vrchatapi.models.admin_asset_bundle import AdminAssetBundle +from vrchatapi.models.admin_unity_package import AdminUnityPackage from vrchatapi.models.age_verification_status import AgeVerificationStatus from vrchatapi.models.avatar import Avatar from vrchatapi.models.avatar_performance import AvatarPerformance from vrchatapi.models.avatar_published_listings_inner import AvatarPublishedListingsInner +from vrchatapi.models.avatar_style import AvatarStyle from vrchatapi.models.avatar_styles import AvatarStyles from vrchatapi.models.avatar_unity_package_url_object import AvatarUnityPackageUrlObject from vrchatapi.models.badge import Badge @@ -125,6 +128,14 @@ from vrchatapi.models.instance_region import InstanceRegion from vrchatapi.models.instance_short_name_response import InstanceShortNameResponse from vrchatapi.models.instance_type import InstanceType +from vrchatapi.models.inventory import Inventory +from vrchatapi.models.inventory_drop import InventoryDrop +from vrchatapi.models.inventory_item import InventoryItem +from vrchatapi.models.inventory_item_type import InventoryItemType +from vrchatapi.models.inventory_metadata import InventoryMetadata +from vrchatapi.models.inventory_notification_details import InventoryNotificationDetails +from vrchatapi.models.inventory_spawn import InventorySpawn +from vrchatapi.models.inventory_template import InventoryTemplate from vrchatapi.models.invite_message import InviteMessage from vrchatapi.models.invite_message_type import InviteMessageType from vrchatapi.models.invite_request import InviteRequest @@ -168,6 +179,8 @@ from vrchatapi.models.product_listing_type import ProductListingType from vrchatapi.models.product_listing_variant import ProductListingVariant from vrchatapi.models.product_type import ProductType +from vrchatapi.models.prop import Prop +from vrchatapi.models.prop_unity_package import PropUnityPackage from vrchatapi.models.region import Region from vrchatapi.models.register_user_account_request import RegisterUserAccountRequest from vrchatapi.models.release_status import ReleaseStatus diff --git a/vrchatapi/models/account_deletion_log.py b/vrchatapi/models/account_deletion_log.py index 1e9d62f6..82b54b03 100644 --- a/vrchatapi/models/account_deletion_log.py +++ b/vrchatapi/models/account_deletion_log.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index 05694ed5..e339b517 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index 6bfe2ec4..2fc20923 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/admin_asset_bundle.py b/vrchatapi/models/admin_asset_bundle.py new file mode 100644 index 00000000..914f46c0 --- /dev/null +++ b/vrchatapi/models/admin_asset_bundle.py @@ -0,0 +1,459 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.1 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class AdminAssetBundle(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'created_at': 'datetime', + 'updated_at': 'datetime', + 'asset_type': 'str', + 'author_id': 'str', + 'author_name': 'str', + 'description': 'str', + 'image_url': 'str', + 'name': 'str', + 'release_status': 'ReleaseStatus', + 'tags': 'list[str]', + 'thumbnail_image_url': 'str', + 'unity_package_url': 'str', + 'unity_packages': 'list[AdminUnityPackage]' + } + + attribute_map = { + 'created_at': '_created_at', + 'updated_at': '_updated_at', + 'asset_type': 'assetType', + 'author_id': 'authorId', + 'author_name': 'authorName', + 'description': 'description', + 'image_url': 'imageUrl', + 'name': 'name', + 'release_status': 'releaseStatus', + 'tags': 'tags', + 'thumbnail_image_url': 'thumbnailImageUrl', + 'unity_package_url': 'unityPackageUrl', + 'unity_packages': 'unityPackages' + } + + def __init__(self, created_at=None, updated_at=None, asset_type=None, author_id=None, author_name=None, description=None, image_url=None, name=None, release_status=None, tags=None, thumbnail_image_url=None, unity_package_url=None, unity_packages=None, local_vars_configuration=None): # noqa: E501 + """AdminAssetBundle - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._created_at = None + self._updated_at = None + self._asset_type = None + self._author_id = None + self._author_name = None + self._description = None + self._image_url = None + self._name = None + self._release_status = None + self._tags = None + self._thumbnail_image_url = None + self._unity_package_url = None + self._unity_packages = None + self.discriminator = None + + self.created_at = created_at + self.updated_at = updated_at + self.asset_type = asset_type + self.author_id = author_id + self.author_name = author_name + self.description = description + self.image_url = image_url + self.name = name + self.release_status = release_status + self.tags = tags + self.thumbnail_image_url = thumbnail_image_url + self.unity_package_url = unity_package_url + self.unity_packages = unity_packages + + @property + def created_at(self): + """Gets the created_at of this AdminAssetBundle. # noqa: E501 + + + :return: The created_at of this AdminAssetBundle. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this AdminAssetBundle. + + + :param created_at: The created_at of this AdminAssetBundle. # noqa: E501 + :type created_at: datetime + """ + if self.local_vars_configuration.client_side_validation and created_at is None: # noqa: E501 + raise ValueError("Invalid value for `created_at`, must not be `None`") # noqa: E501 + + self._created_at = created_at + + @property + def updated_at(self): + """Gets the updated_at of this AdminAssetBundle. # noqa: E501 + + + :return: The updated_at of this AdminAssetBundle. # noqa: E501 + :rtype: datetime + """ + return self._updated_at + + @updated_at.setter + def updated_at(self, updated_at): + """Sets the updated_at of this AdminAssetBundle. + + + :param updated_at: The updated_at of this AdminAssetBundle. # noqa: E501 + :type updated_at: datetime + """ + if self.local_vars_configuration.client_side_validation and updated_at is None: # noqa: E501 + raise ValueError("Invalid value for `updated_at`, must not be `None`") # noqa: E501 + + self._updated_at = updated_at + + @property + def asset_type(self): + """Gets the asset_type of this AdminAssetBundle. # noqa: E501 + + + :return: The asset_type of this AdminAssetBundle. # noqa: E501 + :rtype: str + """ + return self._asset_type + + @asset_type.setter + def asset_type(self, asset_type): + """Sets the asset_type of this AdminAssetBundle. + + + :param asset_type: The asset_type of this AdminAssetBundle. # noqa: E501 + :type asset_type: str + """ + if self.local_vars_configuration.client_side_validation and asset_type is None: # noqa: E501 + raise ValueError("Invalid value for `asset_type`, must not be `None`") # noqa: E501 + + self._asset_type = asset_type + + @property + def author_id(self): + """Gets the author_id of this AdminAssetBundle. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The author_id of this AdminAssetBundle. # noqa: E501 + :rtype: str + """ + return self._author_id + + @author_id.setter + def author_id(self, author_id): + """Sets the author_id of this AdminAssetBundle. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param author_id: The author_id of this AdminAssetBundle. # noqa: E501 + :type author_id: str + """ + if self.local_vars_configuration.client_side_validation and author_id is None: # noqa: E501 + raise ValueError("Invalid value for `author_id`, must not be `None`") # noqa: E501 + + self._author_id = author_id + + @property + def author_name(self): + """Gets the author_name of this AdminAssetBundle. # noqa: E501 + + + :return: The author_name of this AdminAssetBundle. # noqa: E501 + :rtype: str + """ + return self._author_name + + @author_name.setter + def author_name(self, author_name): + """Sets the author_name of this AdminAssetBundle. + + + :param author_name: The author_name of this AdminAssetBundle. # noqa: E501 + :type author_name: str + """ + if self.local_vars_configuration.client_side_validation and author_name is None: # noqa: E501 + raise ValueError("Invalid value for `author_name`, must not be `None`") # noqa: E501 + + self._author_name = author_name + + @property + def description(self): + """Gets the description of this AdminAssetBundle. # noqa: E501 + + + :return: The description of this AdminAssetBundle. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this AdminAssetBundle. + + + :param description: The description of this AdminAssetBundle. # noqa: E501 + :type description: str + """ + if self.local_vars_configuration.client_side_validation and description is None: # noqa: E501 + raise ValueError("Invalid value for `description`, must not be `None`") # noqa: E501 + + self._description = description + + @property + def image_url(self): + """Gets the image_url of this AdminAssetBundle. # noqa: E501 + + + :return: The image_url of this AdminAssetBundle. # noqa: E501 + :rtype: str + """ + return self._image_url + + @image_url.setter + def image_url(self, image_url): + """Sets the image_url of this AdminAssetBundle. + + + :param image_url: The image_url of this AdminAssetBundle. # noqa: E501 + :type image_url: str + """ + if self.local_vars_configuration.client_side_validation and image_url is None: # noqa: E501 + raise ValueError("Invalid value for `image_url`, must not be `None`") # noqa: E501 + + self._image_url = image_url + + @property + def name(self): + """Gets the name of this AdminAssetBundle. # noqa: E501 + + + :return: The name of this AdminAssetBundle. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this AdminAssetBundle. + + + :param name: The name of this AdminAssetBundle. # noqa: E501 + :type name: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + + @property + def release_status(self): + """Gets the release_status of this AdminAssetBundle. # noqa: E501 + + + :return: The release_status of this AdminAssetBundle. # noqa: E501 + :rtype: ReleaseStatus + """ + return self._release_status + + @release_status.setter + def release_status(self, release_status): + """Sets the release_status of this AdminAssetBundle. + + + :param release_status: The release_status of this AdminAssetBundle. # noqa: E501 + :type release_status: ReleaseStatus + """ + if self.local_vars_configuration.client_side_validation and release_status is None: # noqa: E501 + raise ValueError("Invalid value for `release_status`, must not be `None`") # noqa: E501 + + self._release_status = release_status + + @property + def tags(self): + """Gets the tags of this AdminAssetBundle. # noqa: E501 + + + :return: The tags of this AdminAssetBundle. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this AdminAssetBundle. + + + :param tags: The tags of this AdminAssetBundle. # noqa: E501 + :type tags: list[str] + """ + if self.local_vars_configuration.client_side_validation and tags is None: # noqa: E501 + raise ValueError("Invalid value for `tags`, must not be `None`") # noqa: E501 + + self._tags = tags + + @property + def thumbnail_image_url(self): + """Gets the thumbnail_image_url of this AdminAssetBundle. # noqa: E501 + + + :return: The thumbnail_image_url of this AdminAssetBundle. # noqa: E501 + :rtype: str + """ + return self._thumbnail_image_url + + @thumbnail_image_url.setter + def thumbnail_image_url(self, thumbnail_image_url): + """Sets the thumbnail_image_url of this AdminAssetBundle. + + + :param thumbnail_image_url: The thumbnail_image_url of this AdminAssetBundle. # noqa: E501 + :type thumbnail_image_url: str + """ + if self.local_vars_configuration.client_side_validation and thumbnail_image_url is None: # noqa: E501 + raise ValueError("Invalid value for `thumbnail_image_url`, must not be `None`") # noqa: E501 + + self._thumbnail_image_url = thumbnail_image_url + + @property + def unity_package_url(self): + """Gets the unity_package_url of this AdminAssetBundle. # noqa: E501 + + + :return: The unity_package_url of this AdminAssetBundle. # noqa: E501 + :rtype: str + """ + return self._unity_package_url + + @unity_package_url.setter + def unity_package_url(self, unity_package_url): + """Sets the unity_package_url of this AdminAssetBundle. + + + :param unity_package_url: The unity_package_url of this AdminAssetBundle. # noqa: E501 + :type unity_package_url: str + """ + + self._unity_package_url = unity_package_url + + @property + def unity_packages(self): + """Gets the unity_packages of this AdminAssetBundle. # noqa: E501 + + + :return: The unity_packages of this AdminAssetBundle. # noqa: E501 + :rtype: list[AdminUnityPackage] + """ + return self._unity_packages + + @unity_packages.setter + def unity_packages(self, unity_packages): + """Sets the unity_packages of this AdminAssetBundle. + + + :param unity_packages: The unity_packages of this AdminAssetBundle. # noqa: E501 + :type unity_packages: list[AdminUnityPackage] + """ + if self.local_vars_configuration.client_side_validation and unity_packages is None: # noqa: E501 + raise ValueError("Invalid value for `unity_packages`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + unity_packages is not None and len(unity_packages) < 1): + raise ValueError("Invalid value for `unity_packages`, number of items must be greater than or equal to `1`") # noqa: E501 + + self._unity_packages = unity_packages + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminAssetBundle): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, AdminAssetBundle): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/admin_unity_package.py b/vrchatapi/models/admin_unity_package.py new file mode 100644 index 00000000..b9342dbf --- /dev/null +++ b/vrchatapi/models/admin_unity_package.py @@ -0,0 +1,248 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.1 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class AdminUnityPackage(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'asset_url': 'str', + 'asset_version': 'int', + 'platform': 'str', + 'unity_version': 'str', + 'variant': 'str' + } + + attribute_map = { + 'asset_url': 'assetUrl', + 'asset_version': 'assetVersion', + 'platform': 'platform', + 'unity_version': 'unityVersion', + 'variant': 'variant' + } + + def __init__(self, asset_url=None, asset_version=None, platform=None, unity_version='2022.3.22f1-DWR', variant=None, local_vars_configuration=None): # noqa: E501 + """AdminUnityPackage - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._asset_url = None + self._asset_version = None + self._platform = None + self._unity_version = None + self._variant = None + self.discriminator = None + + self.asset_url = asset_url + self.asset_version = asset_version + self.platform = platform + self.unity_version = unity_version + self.variant = variant + + @property + def asset_url(self): + """Gets the asset_url of this AdminUnityPackage. # noqa: E501 + + + :return: The asset_url of this AdminUnityPackage. # noqa: E501 + :rtype: str + """ + return self._asset_url + + @asset_url.setter + def asset_url(self, asset_url): + """Sets the asset_url of this AdminUnityPackage. + + + :param asset_url: The asset_url of this AdminUnityPackage. # noqa: E501 + :type asset_url: str + """ + if self.local_vars_configuration.client_side_validation and asset_url is None: # noqa: E501 + raise ValueError("Invalid value for `asset_url`, must not be `None`") # noqa: E501 + + self._asset_url = asset_url + + @property + def asset_version(self): + """Gets the asset_version of this AdminUnityPackage. # noqa: E501 + + + :return: The asset_version of this AdminUnityPackage. # noqa: E501 + :rtype: int + """ + return self._asset_version + + @asset_version.setter + def asset_version(self, asset_version): + """Sets the asset_version of this AdminUnityPackage. + + + :param asset_version: The asset_version of this AdminUnityPackage. # noqa: E501 + :type asset_version: int + """ + if self.local_vars_configuration.client_side_validation and asset_version is None: # noqa: E501 + raise ValueError("Invalid value for `asset_version`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + asset_version is not None and asset_version < 0): # noqa: E501 + raise ValueError("Invalid value for `asset_version`, must be a value greater than or equal to `0`") # noqa: E501 + + self._asset_version = asset_version + + @property + def platform(self): + """Gets the platform of this AdminUnityPackage. # noqa: E501 + + This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + + :return: The platform of this AdminUnityPackage. # noqa: E501 + :rtype: str + """ + return self._platform + + @platform.setter + def platform(self, platform): + """Sets the platform of this AdminUnityPackage. + + This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + + :param platform: The platform of this AdminUnityPackage. # noqa: E501 + :type platform: str + """ + if self.local_vars_configuration.client_side_validation and platform is None: # noqa: E501 + raise ValueError("Invalid value for `platform`, must not be `None`") # noqa: E501 + + self._platform = platform + + @property + def unity_version(self): + """Gets the unity_version of this AdminUnityPackage. # noqa: E501 + + + :return: The unity_version of this AdminUnityPackage. # noqa: E501 + :rtype: str + """ + return self._unity_version + + @unity_version.setter + def unity_version(self, unity_version): + """Sets the unity_version of this AdminUnityPackage. + + + :param unity_version: The unity_version of this AdminUnityPackage. # noqa: E501 + :type unity_version: str + """ + if self.local_vars_configuration.client_side_validation and unity_version is None: # noqa: E501 + raise ValueError("Invalid value for `unity_version`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + unity_version is not None and len(unity_version) < 1): + raise ValueError("Invalid value for `unity_version`, length must be greater than or equal to `1`") # noqa: E501 + + self._unity_version = unity_version + + @property + def variant(self): + """Gets the variant of this AdminUnityPackage. # noqa: E501 + + + :return: The variant of this AdminUnityPackage. # noqa: E501 + :rtype: str + """ + return self._variant + + @variant.setter + def variant(self, variant): + """Sets the variant of this AdminUnityPackage. + + + :param variant: The variant of this AdminUnityPackage. # noqa: E501 + :type variant: str + """ + if self.local_vars_configuration.client_side_validation and variant is None: # noqa: E501 + raise ValueError("Invalid value for `variant`, must not be `None`") # noqa: E501 + + self._variant = variant + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminUnityPackage): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, AdminUnityPackage): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/age_verification_status.py b/vrchatapi/models/age_verification_status.py index 44ea7437..46348a8e 100644 --- a/vrchatapi/models/age_verification_status.py +++ b/vrchatapi/models/age_verification_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index 28d3fe7d..44d44881 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_access_logs_urls.py b/vrchatapi/models/api_config_access_logs_urls.py index fb19591b..fb479338 100644 --- a/vrchatapi/models/api_config_access_logs_urls.py +++ b/vrchatapi/models/api_config_access_logs_urls.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index 08e9ac19..6652700d 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_avatar_perf_limiter.py b/vrchatapi/models/api_config_avatar_perf_limiter.py index 12028f66..e0358aea 100644 --- a/vrchatapi/models/api_config_avatar_perf_limiter.py +++ b/vrchatapi/models/api_config_avatar_perf_limiter.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants.py b/vrchatapi/models/api_config_constants.py index 775c0f36..c61d8677 100644 --- a/vrchatapi/models/api_config_constants.py +++ b/vrchatapi/models/api_config_constants.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_groups.py b/vrchatapi/models/api_config_constants_groups.py index d3d2ad34..146f71b4 100644 --- a/vrchatapi/models/api_config_constants_groups.py +++ b/vrchatapi/models/api_config_constants_groups.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instance.py b/vrchatapi/models/api_config_constants_instance.py index bd75e241..b00b6965 100644 --- a/vrchatapi/models/api_config_constants_instance.py +++ b/vrchatapi/models/api_config_constants_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbrackets.py b/vrchatapi/models/api_config_constants_instancepopulationbrackets.py index f4ec2030..01a48b62 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbrackets.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbrackets.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py b/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py index c73e32c2..541f3ee7 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py b/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py index 2f9a37ec..1723f505 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py b/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py index dafe4643..49ca776c 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_language.py b/vrchatapi/models/api_config_constants_language.py index 586d3c91..924c4eda 100644 --- a/vrchatapi/models/api_config_constants_language.py +++ b/vrchatapi/models/api_config_constants_language.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index e8a63515..bcdd5a96 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index 9c59a8cf..875108b0 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_min_supported_client_build_number.py b/vrchatapi/models/api_config_min_supported_client_build_number.py index bd206d58..81c12e41 100644 --- a/vrchatapi/models/api_config_min_supported_client_build_number.py +++ b/vrchatapi/models/api_config_min_supported_client_build_number.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_offline_analysis.py b/vrchatapi/models/api_config_offline_analysis.py index ba4def39..aa5a15b9 100644 --- a/vrchatapi/models/api_config_offline_analysis.py +++ b/vrchatapi/models/api_config_offline_analysis.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_categories.py b/vrchatapi/models/api_config_report_categories.py index c835ad89..f1a10169 100644 --- a/vrchatapi/models/api_config_report_categories.py +++ b/vrchatapi/models/api_config_report_categories.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options.py b/vrchatapi/models/api_config_report_options.py index 38588077..d344a1d3 100644 --- a/vrchatapi/models/api_config_report_options.py +++ b/vrchatapi/models/api_config_report_options.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options_avatar.py b/vrchatapi/models/api_config_report_options_avatar.py index 24695bac..7c7aaa2e 100644 --- a/vrchatapi/models/api_config_report_options_avatar.py +++ b/vrchatapi/models/api_config_report_options_avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options_group.py b/vrchatapi/models/api_config_report_options_group.py index a61874f4..400f4afa 100644 --- a/vrchatapi/models/api_config_report_options_group.py +++ b/vrchatapi/models/api_config_report_options_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options_user.py b/vrchatapi/models/api_config_report_options_user.py index 55e0cd81..da08245b 100644 --- a/vrchatapi/models/api_config_report_options_user.py +++ b/vrchatapi/models/api_config_report_options_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options_world.py b/vrchatapi/models/api_config_report_options_world.py index d69d880b..2839b81b 100644 --- a/vrchatapi/models/api_config_report_options_world.py +++ b/vrchatapi/models/api_config_report_options_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_reasons.py b/vrchatapi/models/api_config_report_reasons.py index c11e828e..4b88bc2c 100644 --- a/vrchatapi/models/api_config_report_reasons.py +++ b/vrchatapi/models/api_config_report_reasons.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index 4968a0e8..542539a8 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index 37b53d1e..baae852d 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_performance.py b/vrchatapi/models/avatar_performance.py index 1ae1e541..e5133d4c 100644 --- a/vrchatapi/models/avatar_performance.py +++ b/vrchatapi/models/avatar_performance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_published_listings_inner.py b/vrchatapi/models/avatar_published_listings_inner.py index 23e5b4c5..5bdcb3b0 100644 --- a/vrchatapi/models/avatar_published_listings_inner.py +++ b/vrchatapi/models/avatar_published_listings_inner.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_style.py b/vrchatapi/models/avatar_style.py new file mode 100644 index 00000000..e6885791 --- /dev/null +++ b/vrchatapi/models/avatar_style.py @@ -0,0 +1,159 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.1 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class AvatarStyle(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'id': 'str', + 'style_name': 'str' + } + + attribute_map = { + 'id': 'id', + 'style_name': 'styleName' + } + + def __init__(self, id=None, style_name=None, local_vars_configuration=None): # noqa: E501 + """AvatarStyle - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._id = None + self._style_name = None + self.discriminator = None + + self.id = id + self.style_name = style_name + + @property + def id(self): + """Gets the id of this AvatarStyle. # noqa: E501 + + + :return: The id of this AvatarStyle. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this AvatarStyle. + + + :param id: The id of this AvatarStyle. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + + self._id = id + + @property + def style_name(self): + """Gets the style_name of this AvatarStyle. # noqa: E501 + + + :return: The style_name of this AvatarStyle. # noqa: E501 + :rtype: str + """ + return self._style_name + + @style_name.setter + def style_name(self, style_name): + """Sets the style_name of this AvatarStyle. + + + :param style_name: The style_name of this AvatarStyle. # noqa: E501 + :type style_name: str + """ + if self.local_vars_configuration.client_side_validation and style_name is None: # noqa: E501 + raise ValueError("Invalid value for `style_name`, must not be `None`") # noqa: E501 + + self._style_name = style_name + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AvatarStyle): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, AvatarStyle): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/avatar_styles.py b/vrchatapi/models/avatar_styles.py index b7f43069..aaf6c3af 100644 --- a/vrchatapi/models/avatar_styles.py +++ b/vrchatapi/models/avatar_styles.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index a38e262b..3f38e16e 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/badge.py b/vrchatapi/models/badge.py index efca9a88..ef44c16c 100644 --- a/vrchatapi/models/badge.py +++ b/vrchatapi/models/badge.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/balance.py b/vrchatapi/models/balance.py index 63b0e721..fa8fb6f2 100644 --- a/vrchatapi/models/balance.py +++ b/vrchatapi/models/balance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index e0aab412..cae211a7 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/change_user_tags_request.py b/vrchatapi/models/change_user_tags_request.py index 19eb1202..181a6b65 100644 --- a/vrchatapi/models/change_user_tags_request.py +++ b/vrchatapi/models/change_user_tags_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index b0290816..f66435b5 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index c6cc3fb2..fc967909 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index 3dded762..3b92b619 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index 86f2cb9c..c7943e39 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index 046f54bc..d43b8d80 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index 72faa8b6..5ec7eb66 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_post_request.py b/vrchatapi/models/create_group_post_request.py index 6325fc93..b7d9c8e1 100644 --- a/vrchatapi/models/create_group_post_request.py +++ b/vrchatapi/models/create_group_post_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index d555e194..1acd31ef 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index afadd77c..e1cf1ad0 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_instance_request.py b/vrchatapi/models/create_instance_request.py index ea3bb096..fcf84433 100644 --- a/vrchatapi/models/create_instance_request.py +++ b/vrchatapi/models/create_instance_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index d14a1e38..a1957198 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index 6095fc0d..33a9cff3 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user_platform_history_inner.py b/vrchatapi/models/current_user_platform_history_inner.py index 2f59c999..7ed130e1 100644 --- a/vrchatapi/models/current_user_platform_history_inner.py +++ b/vrchatapi/models/current_user_platform_history_inner.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user_presence.py b/vrchatapi/models/current_user_presence.py index bcadd013..5277c479 100644 --- a/vrchatapi/models/current_user_presence.py +++ b/vrchatapi/models/current_user_presence.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index 051079fc..6b1fffb9 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/disable2_fa_result.py b/vrchatapi/models/disable2_fa_result.py index 03bc1735..1a1845ba 100644 --- a/vrchatapi/models/disable2_fa_result.py +++ b/vrchatapi/models/disable2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index bc93ab3b..4154e78f 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index 932789a4..bcb0fe79 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index 5b64fdde..10404c23 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index 2e18e08d..f598b3f5 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_limits.py b/vrchatapi/models/favorite_group_limits.py index 67624a3d..df80d601 100644 --- a/vrchatapi/models/favorite_group_limits.py +++ b/vrchatapi/models/favorite_group_limits.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index 6f2c0168..371e2baa 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_limits.py b/vrchatapi/models/favorite_limits.py index be636fdd..59dbec12 100644 --- a/vrchatapi/models/favorite_limits.py +++ b/vrchatapi/models/favorite_limits.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index 0312894c..4eb94dcd 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorited_world.py b/vrchatapi/models/favorited_world.py index b1480738..b70daf39 100644 --- a/vrchatapi/models/favorited_world.py +++ b/vrchatapi/models/favorited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/feedback.py b/vrchatapi/models/feedback.py index ceed096c..a9b948c1 100644 --- a/vrchatapi/models/feedback.py +++ b/vrchatapi/models/feedback.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index e7a43fd0..e61b98c9 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_analysis.py b/vrchatapi/models/file_analysis.py index 8b273a8c..1f827a24 100644 --- a/vrchatapi/models/file_analysis.py +++ b/vrchatapi/models/file_analysis.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_analysis_avatar_stats.py b/vrchatapi/models/file_analysis_avatar_stats.py index c48afc1b..6807c165 100644 --- a/vrchatapi/models/file_analysis_avatar_stats.py +++ b/vrchatapi/models/file_analysis_avatar_stats.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index cb2aa703..541ef3b7 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index a6857359..81b85e12 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index 92d2571b..756b6824 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index f079559b..57a9d524 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index f055990a..5d355e89 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index dff99624..6b1ee986 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index 7bea4f01..b8033f5d 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/get_group_posts200_response.py b/vrchatapi/models/get_group_posts200_response.py index b30ed08e..3781716e 100644 --- a/vrchatapi/models/get_group_posts200_response.py +++ b/vrchatapi/models/get_group_posts200_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/get_user_group_instances200_response.py b/vrchatapi/models/get_user_group_instances200_response.py index 27611898..ca4371d4 100644 --- a/vrchatapi/models/get_user_group_instances200_response.py +++ b/vrchatapi/models/get_user_group_instances200_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index 851ddc26..e2caa3f3 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_access_type.py b/vrchatapi/models/group_access_type.py index 9926aff9..dc9fabbf 100644 --- a/vrchatapi/models/group_access_type.py +++ b/vrchatapi/models/group_access_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index 8d60381c..f7b8ca3b 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index 87161228..16bca38a 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index 329d1952..5b6d428a 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index bda438d8..b1d190f8 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_instance.py b/vrchatapi/models/group_instance.py index 2d1e6ed7..c338537e 100644 --- a/vrchatapi/models/group_instance.py +++ b/vrchatapi/models/group_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_request_action.py b/vrchatapi/models/group_join_request_action.py index f68461fc..d2745839 100644 --- a/vrchatapi/models/group_join_request_action.py +++ b/vrchatapi/models/group_join_request_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index 4cbe17de..338afd3c 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index a76c2e67..f855cd9a 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index 1c6ed3c9..efdf20a2 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index 299be072..3c40d63c 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index 3247bfb8..58c350d0 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index 75fb98e7..d67c0f51 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index 66537ed3..3ad1ed86 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permissions.py b/vrchatapi/models/group_permissions.py index 8d76d92b..dde39704 100644 --- a/vrchatapi/models/group_permissions.py +++ b/vrchatapi/models/group_permissions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -55,8 +55,9 @@ class GroupPermissions(object): group_members_viewall = "group-members-viewall" group_roles_assign = "group-roles-assign" group_roles_manage = "group-roles-manage" + group_calendar_manage = "group-calendar-manage" - allowable_values = [group_all, group_announcement_manage, group_audit_view, group_bans_manage, group_data_manage, group_default_role_manage, group_galleries_manage, group_instance_age_gated_create, group_instance_join, group_instance_manage, group_instance_moderate, group_instance_open_create, group_instance_plus_create, group_instance_plus_portal, group_instance_plus_portal_unlocked, group_instance_public_create, group_instance_queue_priority, group_instance_restricted_create, group_invites_manage, group_members_manage, group_members_remove, group_members_viewall, group_roles_assign, group_roles_manage] # noqa: E501 + allowable_values = [group_all, group_announcement_manage, group_audit_view, group_bans_manage, group_data_manage, group_default_role_manage, group_galleries_manage, group_instance_age_gated_create, group_instance_join, group_instance_manage, group_instance_moderate, group_instance_open_create, group_instance_plus_create, group_instance_plus_portal, group_instance_plus_portal_unlocked, group_instance_public_create, group_instance_queue_priority, group_instance_restricted_create, group_invites_manage, group_members_manage, group_members_remove, group_members_viewall, group_roles_assign, group_roles_manage, group_calendar_manage] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/group_post.py b/vrchatapi/models/group_post.py index 762f9770..2f74f677 100644 --- a/vrchatapi/models/group_post.py +++ b/vrchatapi/models/group_post.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post_visibility.py b/vrchatapi/models/group_post_visibility.py index 352309fa..10f976d2 100644 --- a/vrchatapi/models/group_post_visibility.py +++ b/vrchatapi/models/group_post_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index 39d2d938..8d90ae72 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index 006e7d7e..8f64e652 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index 64b0da8f..0a861ea5 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template_values.py b/vrchatapi/models/group_role_template_values.py index aa34e25a..eb286471 100644 --- a/vrchatapi/models/group_role_template_values.py +++ b/vrchatapi/models/group_role_template_values.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template_values_roles.py b/vrchatapi/models/group_role_template_values_roles.py index 7a47b61f..9a1cb89c 100644 --- a/vrchatapi/models/group_role_template_values_roles.py +++ b/vrchatapi/models/group_role_template_values_roles.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_search_sort.py b/vrchatapi/models/group_search_sort.py index 98575920..2f7e65f5 100644 --- a/vrchatapi/models/group_search_sort.py +++ b/vrchatapi/models/group_search_sort.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index 47ec4e03..75bcd41a 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index 8bf441de..8092e972 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index 23e8fddd..5c927255 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index b51580c8..f3e21eb8 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index 89ea482e..27b11f62 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index 1dd664ee..17aed65a 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index 56b542ed..1aae6eee 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_content_settings.py b/vrchatapi/models/instance_content_settings.py index aa991f35..aa311096 100644 --- a/vrchatapi/models/instance_content_settings.py +++ b/vrchatapi/models/instance_content_settings.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index 7e76d292..5fdadec0 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_region.py b/vrchatapi/models/instance_region.py index b84a0577..aff8a379 100644 --- a/vrchatapi/models/instance_region.py +++ b/vrchatapi/models/instance_region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index 69f2521c..bc29c6bb 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index a8d841e7..ed96ebd6 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory.py b/vrchatapi/models/inventory.py new file mode 100644 index 00000000..6c6abfae --- /dev/null +++ b/vrchatapi/models/inventory.py @@ -0,0 +1,159 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.1 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class Inventory(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'data': 'list[InventoryItem]', + 'total_count': 'int' + } + + attribute_map = { + 'data': 'data', + 'total_count': 'totalCount' + } + + def __init__(self, data=None, total_count=None, local_vars_configuration=None): # noqa: E501 + """Inventory - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._data = None + self._total_count = None + self.discriminator = None + + self.data = data + self.total_count = total_count + + @property + def data(self): + """Gets the data of this Inventory. # noqa: E501 + + + :return: The data of this Inventory. # noqa: E501 + :rtype: list[InventoryItem] + """ + return self._data + + @data.setter + def data(self, data): + """Sets the data of this Inventory. + + + :param data: The data of this Inventory. # noqa: E501 + :type data: list[InventoryItem] + """ + if self.local_vars_configuration.client_side_validation and data is None: # noqa: E501 + raise ValueError("Invalid value for `data`, must not be `None`") # noqa: E501 + + self._data = data + + @property + def total_count(self): + """Gets the total_count of this Inventory. # noqa: E501 + + + :return: The total_count of this Inventory. # noqa: E501 + :rtype: int + """ + return self._total_count + + @total_count.setter + def total_count(self, total_count): + """Sets the total_count of this Inventory. + + + :param total_count: The total_count of this Inventory. # noqa: E501 + :type total_count: int + """ + if self.local_vars_configuration.client_side_validation and total_count is None: # noqa: E501 + raise ValueError("Invalid value for `total_count`, must not be `None`") # noqa: E501 + + self._total_count = total_count + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, Inventory): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, Inventory): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/inventory_drop.py b/vrchatapi/models/inventory_drop.py new file mode 100644 index 00000000..b94efaa3 --- /dev/null +++ b/vrchatapi/models/inventory_drop.py @@ -0,0 +1,456 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.1 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class InventoryDrop(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'author_id': 'str', + 'created_at': 'datetime', + 'drop_expiry_date': 'datetime', + 'end_drop_date': 'datetime', + 'id': 'str', + 'name': 'str', + 'notification_details': 'InventoryNotificationDetails', + 'start_drop_date': 'datetime', + 'status': 'str', + 'tags': 'list[str]', + 'target_group': 'str', + 'template_ids': 'list[str]', + 'updated_at': 'datetime' + } + + attribute_map = { + 'author_id': 'authorId', + 'created_at': 'created_at', + 'drop_expiry_date': 'dropExpiryDate', + 'end_drop_date': 'endDropDate', + 'id': 'id', + 'name': 'name', + 'notification_details': 'notificationDetails', + 'start_drop_date': 'startDropDate', + 'status': 'status', + 'tags': 'tags', + 'target_group': 'targetGroup', + 'template_ids': 'templateIds', + 'updated_at': 'updated_at' + } + + def __init__(self, author_id=None, created_at=None, drop_expiry_date=None, end_drop_date=None, id=None, name=None, notification_details=None, start_drop_date=None, status=None, tags=None, target_group=None, template_ids=None, updated_at=None, local_vars_configuration=None): # noqa: E501 + """InventoryDrop - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._author_id = None + self._created_at = None + self._drop_expiry_date = None + self._end_drop_date = None + self._id = None + self._name = None + self._notification_details = None + self._start_drop_date = None + self._status = None + self._tags = None + self._target_group = None + self._template_ids = None + self._updated_at = None + self.discriminator = None + + self.author_id = author_id + self.created_at = created_at + self.drop_expiry_date = drop_expiry_date + self.end_drop_date = end_drop_date + self.id = id + self.name = name + self.notification_details = notification_details + self.start_drop_date = start_drop_date + self.status = status + self.tags = tags + self.target_group = target_group + self.template_ids = template_ids + self.updated_at = updated_at + + @property + def author_id(self): + """Gets the author_id of this InventoryDrop. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The author_id of this InventoryDrop. # noqa: E501 + :rtype: str + """ + return self._author_id + + @author_id.setter + def author_id(self, author_id): + """Sets the author_id of this InventoryDrop. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param author_id: The author_id of this InventoryDrop. # noqa: E501 + :type author_id: str + """ + if self.local_vars_configuration.client_side_validation and author_id is None: # noqa: E501 + raise ValueError("Invalid value for `author_id`, must not be `None`") # noqa: E501 + + self._author_id = author_id + + @property + def created_at(self): + """Gets the created_at of this InventoryDrop. # noqa: E501 + + + :return: The created_at of this InventoryDrop. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this InventoryDrop. + + + :param created_at: The created_at of this InventoryDrop. # noqa: E501 + :type created_at: datetime + """ + if self.local_vars_configuration.client_side_validation and created_at is None: # noqa: E501 + raise ValueError("Invalid value for `created_at`, must not be `None`") # noqa: E501 + + self._created_at = created_at + + @property + def drop_expiry_date(self): + """Gets the drop_expiry_date of this InventoryDrop. # noqa: E501 + + + :return: The drop_expiry_date of this InventoryDrop. # noqa: E501 + :rtype: datetime + """ + return self._drop_expiry_date + + @drop_expiry_date.setter + def drop_expiry_date(self, drop_expiry_date): + """Sets the drop_expiry_date of this InventoryDrop. + + + :param drop_expiry_date: The drop_expiry_date of this InventoryDrop. # noqa: E501 + :type drop_expiry_date: datetime + """ + + self._drop_expiry_date = drop_expiry_date + + @property + def end_drop_date(self): + """Gets the end_drop_date of this InventoryDrop. # noqa: E501 + + + :return: The end_drop_date of this InventoryDrop. # noqa: E501 + :rtype: datetime + """ + return self._end_drop_date + + @end_drop_date.setter + def end_drop_date(self, end_drop_date): + """Sets the end_drop_date of this InventoryDrop. + + + :param end_drop_date: The end_drop_date of this InventoryDrop. # noqa: E501 + :type end_drop_date: datetime + """ + if self.local_vars_configuration.client_side_validation and end_drop_date is None: # noqa: E501 + raise ValueError("Invalid value for `end_drop_date`, must not be `None`") # noqa: E501 + + self._end_drop_date = end_drop_date + + @property + def id(self): + """Gets the id of this InventoryDrop. # noqa: E501 + + + :return: The id of this InventoryDrop. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this InventoryDrop. + + + :param id: The id of this InventoryDrop. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + + self._id = id + + @property + def name(self): + """Gets the name of this InventoryDrop. # noqa: E501 + + + :return: The name of this InventoryDrop. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this InventoryDrop. + + + :param name: The name of this InventoryDrop. # noqa: E501 + :type name: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + + @property + def notification_details(self): + """Gets the notification_details of this InventoryDrop. # noqa: E501 + + + :return: The notification_details of this InventoryDrop. # noqa: E501 + :rtype: InventoryNotificationDetails + """ + return self._notification_details + + @notification_details.setter + def notification_details(self, notification_details): + """Sets the notification_details of this InventoryDrop. + + + :param notification_details: The notification_details of this InventoryDrop. # noqa: E501 + :type notification_details: InventoryNotificationDetails + """ + if self.local_vars_configuration.client_side_validation and notification_details is None: # noqa: E501 + raise ValueError("Invalid value for `notification_details`, must not be `None`") # noqa: E501 + + self._notification_details = notification_details + + @property + def start_drop_date(self): + """Gets the start_drop_date of this InventoryDrop. # noqa: E501 + + + :return: The start_drop_date of this InventoryDrop. # noqa: E501 + :rtype: datetime + """ + return self._start_drop_date + + @start_drop_date.setter + def start_drop_date(self, start_drop_date): + """Sets the start_drop_date of this InventoryDrop. + + + :param start_drop_date: The start_drop_date of this InventoryDrop. # noqa: E501 + :type start_drop_date: datetime + """ + if self.local_vars_configuration.client_side_validation and start_drop_date is None: # noqa: E501 + raise ValueError("Invalid value for `start_drop_date`, must not be `None`") # noqa: E501 + + self._start_drop_date = start_drop_date + + @property + def status(self): + """Gets the status of this InventoryDrop. # noqa: E501 + + + :return: The status of this InventoryDrop. # noqa: E501 + :rtype: str + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this InventoryDrop. + + + :param status: The status of this InventoryDrop. # noqa: E501 + :type status: str + """ + if self.local_vars_configuration.client_side_validation and status is None: # noqa: E501 + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 + + self._status = status + + @property + def tags(self): + """Gets the tags of this InventoryDrop. # noqa: E501 + + + :return: The tags of this InventoryDrop. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this InventoryDrop. + + + :param tags: The tags of this InventoryDrop. # noqa: E501 + :type tags: list[str] + """ + if self.local_vars_configuration.client_side_validation and tags is None: # noqa: E501 + raise ValueError("Invalid value for `tags`, must not be `None`") # noqa: E501 + + self._tags = tags + + @property + def target_group(self): + """Gets the target_group of this InventoryDrop. # noqa: E501 + + + :return: The target_group of this InventoryDrop. # noqa: E501 + :rtype: str + """ + return self._target_group + + @target_group.setter + def target_group(self, target_group): + """Sets the target_group of this InventoryDrop. + + + :param target_group: The target_group of this InventoryDrop. # noqa: E501 + :type target_group: str + """ + if self.local_vars_configuration.client_side_validation and target_group is None: # noqa: E501 + raise ValueError("Invalid value for `target_group`, must not be `None`") # noqa: E501 + + self._target_group = target_group + + @property + def template_ids(self): + """Gets the template_ids of this InventoryDrop. # noqa: E501 + + + :return: The template_ids of this InventoryDrop. # noqa: E501 + :rtype: list[str] + """ + return self._template_ids + + @template_ids.setter + def template_ids(self, template_ids): + """Sets the template_ids of this InventoryDrop. + + + :param template_ids: The template_ids of this InventoryDrop. # noqa: E501 + :type template_ids: list[str] + """ + if self.local_vars_configuration.client_side_validation and template_ids is None: # noqa: E501 + raise ValueError("Invalid value for `template_ids`, must not be `None`") # noqa: E501 + + self._template_ids = template_ids + + @property + def updated_at(self): + """Gets the updated_at of this InventoryDrop. # noqa: E501 + + + :return: The updated_at of this InventoryDrop. # noqa: E501 + :rtype: datetime + """ + return self._updated_at + + @updated_at.setter + def updated_at(self, updated_at): + """Sets the updated_at of this InventoryDrop. + + + :param updated_at: The updated_at of this InventoryDrop. # noqa: E501 + :type updated_at: datetime + """ + if self.local_vars_configuration.client_side_validation and updated_at is None: # noqa: E501 + raise ValueError("Invalid value for `updated_at`, must not be `None`") # noqa: E501 + + self._updated_at = updated_at + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InventoryDrop): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, InventoryDrop): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/inventory_item.py b/vrchatapi/models/inventory_item.py new file mode 100644 index 00000000..4a007001 --- /dev/null +++ b/vrchatapi/models/inventory_item.py @@ -0,0 +1,618 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.1 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class InventoryItem(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'collections': 'list[str]', + 'created_at': 'datetime', + 'description': 'str', + 'expiry_date': 'datetime', + 'flags': 'list[str]', + 'holder_id': 'str', + 'id': 'str', + 'image_url': 'str', + 'is_archived': 'bool', + 'is_seen': 'bool', + 'item_type': 'InventoryItemType', + 'item_type_label': 'str', + 'metadata': 'InventoryMetadata', + 'name': 'str', + 'tags': 'list[str]', + 'template_id': 'str', + 'template_created_at': 'datetime', + 'template_updated_at': 'datetime', + 'updated_at': 'datetime' + } + + attribute_map = { + 'collections': 'collections', + 'created_at': 'created_at', + 'description': 'description', + 'expiry_date': 'expiryDate', + 'flags': 'flags', + 'holder_id': 'holderId', + 'id': 'id', + 'image_url': 'imageUrl', + 'is_archived': 'isArchived', + 'is_seen': 'isSeen', + 'item_type': 'itemType', + 'item_type_label': 'itemTypeLabel', + 'metadata': 'metadata', + 'name': 'name', + 'tags': 'tags', + 'template_id': 'templateId', + 'template_created_at': 'template_created_at', + 'template_updated_at': 'template_updated_at', + 'updated_at': 'updated_at' + } + + def __init__(self, collections=None, created_at=None, description=None, expiry_date=None, flags=None, holder_id=None, id=None, image_url=None, is_archived=None, is_seen=None, item_type=None, item_type_label=None, metadata=None, name=None, tags=None, template_id=None, template_created_at=None, template_updated_at=None, updated_at=None, local_vars_configuration=None): # noqa: E501 + """InventoryItem - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._collections = None + self._created_at = None + self._description = None + self._expiry_date = None + self._flags = None + self._holder_id = None + self._id = None + self._image_url = None + self._is_archived = None + self._is_seen = None + self._item_type = None + self._item_type_label = None + self._metadata = None + self._name = None + self._tags = None + self._template_id = None + self._template_created_at = None + self._template_updated_at = None + self._updated_at = None + self.discriminator = None + + self.collections = collections + self.created_at = created_at + self.description = description + self.expiry_date = expiry_date + self.flags = flags + self.holder_id = holder_id + self.id = id + self.image_url = image_url + self.is_archived = is_archived + self.is_seen = is_seen + self.item_type = item_type + self.item_type_label = item_type_label + self.metadata = metadata + self.name = name + self.tags = tags + self.template_id = template_id + self.template_created_at = template_created_at + self.template_updated_at = template_updated_at + self.updated_at = updated_at + + @property + def collections(self): + """Gets the collections of this InventoryItem. # noqa: E501 + + + :return: The collections of this InventoryItem. # noqa: E501 + :rtype: list[str] + """ + return self._collections + + @collections.setter + def collections(self, collections): + """Sets the collections of this InventoryItem. + + + :param collections: The collections of this InventoryItem. # noqa: E501 + :type collections: list[str] + """ + if self.local_vars_configuration.client_side_validation and collections is None: # noqa: E501 + raise ValueError("Invalid value for `collections`, must not be `None`") # noqa: E501 + + self._collections = collections + + @property + def created_at(self): + """Gets the created_at of this InventoryItem. # noqa: E501 + + + :return: The created_at of this InventoryItem. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this InventoryItem. + + + :param created_at: The created_at of this InventoryItem. # noqa: E501 + :type created_at: datetime + """ + if self.local_vars_configuration.client_side_validation and created_at is None: # noqa: E501 + raise ValueError("Invalid value for `created_at`, must not be `None`") # noqa: E501 + + self._created_at = created_at + + @property + def description(self): + """Gets the description of this InventoryItem. # noqa: E501 + + + :return: The description of this InventoryItem. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this InventoryItem. + + + :param description: The description of this InventoryItem. # noqa: E501 + :type description: str + """ + if self.local_vars_configuration.client_side_validation and description is None: # noqa: E501 + raise ValueError("Invalid value for `description`, must not be `None`") # noqa: E501 + + self._description = description + + @property + def expiry_date(self): + """Gets the expiry_date of this InventoryItem. # noqa: E501 + + + :return: The expiry_date of this InventoryItem. # noqa: E501 + :rtype: datetime + """ + return self._expiry_date + + @expiry_date.setter + def expiry_date(self, expiry_date): + """Sets the expiry_date of this InventoryItem. + + + :param expiry_date: The expiry_date of this InventoryItem. # noqa: E501 + :type expiry_date: datetime + """ + + self._expiry_date = expiry_date + + @property + def flags(self): + """Gets the flags of this InventoryItem. # noqa: E501 + + + :return: The flags of this InventoryItem. # noqa: E501 + :rtype: list[str] + """ + return self._flags + + @flags.setter + def flags(self, flags): + """Sets the flags of this InventoryItem. + + + :param flags: The flags of this InventoryItem. # noqa: E501 + :type flags: list[str] + """ + if self.local_vars_configuration.client_side_validation and flags is None: # noqa: E501 + raise ValueError("Invalid value for `flags`, must not be `None`") # noqa: E501 + + self._flags = flags + + @property + def holder_id(self): + """Gets the holder_id of this InventoryItem. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The holder_id of this InventoryItem. # noqa: E501 + :rtype: str + """ + return self._holder_id + + @holder_id.setter + def holder_id(self, holder_id): + """Sets the holder_id of this InventoryItem. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param holder_id: The holder_id of this InventoryItem. # noqa: E501 + :type holder_id: str + """ + if self.local_vars_configuration.client_side_validation and holder_id is None: # noqa: E501 + raise ValueError("Invalid value for `holder_id`, must not be `None`") # noqa: E501 + + self._holder_id = holder_id + + @property + def id(self): + """Gets the id of this InventoryItem. # noqa: E501 + + + :return: The id of this InventoryItem. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this InventoryItem. + + + :param id: The id of this InventoryItem. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + + self._id = id + + @property + def image_url(self): + """Gets the image_url of this InventoryItem. # noqa: E501 + + + :return: The image_url of this InventoryItem. # noqa: E501 + :rtype: str + """ + return self._image_url + + @image_url.setter + def image_url(self, image_url): + """Sets the image_url of this InventoryItem. + + + :param image_url: The image_url of this InventoryItem. # noqa: E501 + :type image_url: str + """ + if self.local_vars_configuration.client_side_validation and image_url is None: # noqa: E501 + raise ValueError("Invalid value for `image_url`, must not be `None`") # noqa: E501 + + self._image_url = image_url + + @property + def is_archived(self): + """Gets the is_archived of this InventoryItem. # noqa: E501 + + + :return: The is_archived of this InventoryItem. # noqa: E501 + :rtype: bool + """ + return self._is_archived + + @is_archived.setter + def is_archived(self, is_archived): + """Sets the is_archived of this InventoryItem. + + + :param is_archived: The is_archived of this InventoryItem. # noqa: E501 + :type is_archived: bool + """ + if self.local_vars_configuration.client_side_validation and is_archived is None: # noqa: E501 + raise ValueError("Invalid value for `is_archived`, must not be `None`") # noqa: E501 + + self._is_archived = is_archived + + @property + def is_seen(self): + """Gets the is_seen of this InventoryItem. # noqa: E501 + + + :return: The is_seen of this InventoryItem. # noqa: E501 + :rtype: bool + """ + return self._is_seen + + @is_seen.setter + def is_seen(self, is_seen): + """Sets the is_seen of this InventoryItem. + + + :param is_seen: The is_seen of this InventoryItem. # noqa: E501 + :type is_seen: bool + """ + if self.local_vars_configuration.client_side_validation and is_seen is None: # noqa: E501 + raise ValueError("Invalid value for `is_seen`, must not be `None`") # noqa: E501 + + self._is_seen = is_seen + + @property + def item_type(self): + """Gets the item_type of this InventoryItem. # noqa: E501 + + + :return: The item_type of this InventoryItem. # noqa: E501 + :rtype: InventoryItemType + """ + return self._item_type + + @item_type.setter + def item_type(self, item_type): + """Sets the item_type of this InventoryItem. + + + :param item_type: The item_type of this InventoryItem. # noqa: E501 + :type item_type: InventoryItemType + """ + if self.local_vars_configuration.client_side_validation and item_type is None: # noqa: E501 + raise ValueError("Invalid value for `item_type`, must not be `None`") # noqa: E501 + + self._item_type = item_type + + @property + def item_type_label(self): + """Gets the item_type_label of this InventoryItem. # noqa: E501 + + + :return: The item_type_label of this InventoryItem. # noqa: E501 + :rtype: str + """ + return self._item_type_label + + @item_type_label.setter + def item_type_label(self, item_type_label): + """Sets the item_type_label of this InventoryItem. + + + :param item_type_label: The item_type_label of this InventoryItem. # noqa: E501 + :type item_type_label: str + """ + if self.local_vars_configuration.client_side_validation and item_type_label is None: # noqa: E501 + raise ValueError("Invalid value for `item_type_label`, must not be `None`") # noqa: E501 + + self._item_type_label = item_type_label + + @property + def metadata(self): + """Gets the metadata of this InventoryItem. # noqa: E501 + + + :return: The metadata of this InventoryItem. # noqa: E501 + :rtype: InventoryMetadata + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this InventoryItem. + + + :param metadata: The metadata of this InventoryItem. # noqa: E501 + :type metadata: InventoryMetadata + """ + if self.local_vars_configuration.client_side_validation and metadata is None: # noqa: E501 + raise ValueError("Invalid value for `metadata`, must not be `None`") # noqa: E501 + + self._metadata = metadata + + @property + def name(self): + """Gets the name of this InventoryItem. # noqa: E501 + + + :return: The name of this InventoryItem. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this InventoryItem. + + + :param name: The name of this InventoryItem. # noqa: E501 + :type name: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + + @property + def tags(self): + """Gets the tags of this InventoryItem. # noqa: E501 + + + :return: The tags of this InventoryItem. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this InventoryItem. + + + :param tags: The tags of this InventoryItem. # noqa: E501 + :type tags: list[str] + """ + if self.local_vars_configuration.client_side_validation and tags is None: # noqa: E501 + raise ValueError("Invalid value for `tags`, must not be `None`") # noqa: E501 + + self._tags = tags + + @property + def template_id(self): + """Gets the template_id of this InventoryItem. # noqa: E501 + + + :return: The template_id of this InventoryItem. # noqa: E501 + :rtype: str + """ + return self._template_id + + @template_id.setter + def template_id(self, template_id): + """Sets the template_id of this InventoryItem. + + + :param template_id: The template_id of this InventoryItem. # noqa: E501 + :type template_id: str + """ + if self.local_vars_configuration.client_side_validation and template_id is None: # noqa: E501 + raise ValueError("Invalid value for `template_id`, must not be `None`") # noqa: E501 + + self._template_id = template_id + + @property + def template_created_at(self): + """Gets the template_created_at of this InventoryItem. # noqa: E501 + + + :return: The template_created_at of this InventoryItem. # noqa: E501 + :rtype: datetime + """ + return self._template_created_at + + @template_created_at.setter + def template_created_at(self, template_created_at): + """Sets the template_created_at of this InventoryItem. + + + :param template_created_at: The template_created_at of this InventoryItem. # noqa: E501 + :type template_created_at: datetime + """ + if self.local_vars_configuration.client_side_validation and template_created_at is None: # noqa: E501 + raise ValueError("Invalid value for `template_created_at`, must not be `None`") # noqa: E501 + + self._template_created_at = template_created_at + + @property + def template_updated_at(self): + """Gets the template_updated_at of this InventoryItem. # noqa: E501 + + + :return: The template_updated_at of this InventoryItem. # noqa: E501 + :rtype: datetime + """ + return self._template_updated_at + + @template_updated_at.setter + def template_updated_at(self, template_updated_at): + """Sets the template_updated_at of this InventoryItem. + + + :param template_updated_at: The template_updated_at of this InventoryItem. # noqa: E501 + :type template_updated_at: datetime + """ + if self.local_vars_configuration.client_side_validation and template_updated_at is None: # noqa: E501 + raise ValueError("Invalid value for `template_updated_at`, must not be `None`") # noqa: E501 + + self._template_updated_at = template_updated_at + + @property + def updated_at(self): + """Gets the updated_at of this InventoryItem. # noqa: E501 + + + :return: The updated_at of this InventoryItem. # noqa: E501 + :rtype: datetime + """ + return self._updated_at + + @updated_at.setter + def updated_at(self, updated_at): + """Sets the updated_at of this InventoryItem. + + + :param updated_at: The updated_at of this InventoryItem. # noqa: E501 + :type updated_at: datetime + """ + if self.local_vars_configuration.client_side_validation and updated_at is None: # noqa: E501 + raise ValueError("Invalid value for `updated_at`, must not be `None`") # noqa: E501 + + self._updated_at = updated_at + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InventoryItem): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, InventoryItem): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/inventory_item_type.py b/vrchatapi/models/inventory_item_type.py new file mode 100644 index 00000000..36156e97 --- /dev/null +++ b/vrchatapi/models/inventory_item_type.py @@ -0,0 +1,113 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.1 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class InventoryItemType(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + BUNDLE = "bundle" + PROP = "prop" + EMOJI = "emoji" + STICKER = "sticker" + + allowable_values = [BUNDLE, PROP, EMOJI, STICKER] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """InventoryItemType - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InventoryItemType): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, InventoryItemType): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/inventory_metadata.py b/vrchatapi/models/inventory_metadata.py new file mode 100644 index 00000000..ca1d32eb --- /dev/null +++ b/vrchatapi/models/inventory_metadata.py @@ -0,0 +1,315 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.1 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class InventoryMetadata(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'inventory_items_to_instantiate': 'list[str]', + 'animated': 'bool', + 'animation_style': 'str', + 'asset_bundle_id': 'str', + 'file_id': 'str', + 'image_url': 'str', + 'mask_tag': 'str', + 'prop_id': 'str' + } + + attribute_map = { + 'inventory_items_to_instantiate': 'inventoryItemsToInstantiate', + 'animated': 'animated', + 'animation_style': 'animationStyle', + 'asset_bundle_id': 'assetBundleId', + 'file_id': 'fileId', + 'image_url': 'imageUrl', + 'mask_tag': 'maskTag', + 'prop_id': 'propId' + } + + def __init__(self, inventory_items_to_instantiate=None, animated=None, animation_style=None, asset_bundle_id=None, file_id=None, image_url=None, mask_tag=None, prop_id=None, local_vars_configuration=None): # noqa: E501 + """InventoryMetadata - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._inventory_items_to_instantiate = None + self._animated = None + self._animation_style = None + self._asset_bundle_id = None + self._file_id = None + self._image_url = None + self._mask_tag = None + self._prop_id = None + self.discriminator = None + + if inventory_items_to_instantiate is not None: + self.inventory_items_to_instantiate = inventory_items_to_instantiate + if animated is not None: + self.animated = animated + if animation_style is not None: + self.animation_style = animation_style + if asset_bundle_id is not None: + self.asset_bundle_id = asset_bundle_id + if file_id is not None: + self.file_id = file_id + if image_url is not None: + self.image_url = image_url + if mask_tag is not None: + self.mask_tag = mask_tag + if prop_id is not None: + self.prop_id = prop_id + + @property + def inventory_items_to_instantiate(self): + """Gets the inventory_items_to_instantiate of this InventoryMetadata. # noqa: E501 + + Only in bundles # noqa: E501 + + :return: The inventory_items_to_instantiate of this InventoryMetadata. # noqa: E501 + :rtype: list[str] + """ + return self._inventory_items_to_instantiate + + @inventory_items_to_instantiate.setter + def inventory_items_to_instantiate(self, inventory_items_to_instantiate): + """Sets the inventory_items_to_instantiate of this InventoryMetadata. + + Only in bundles # noqa: E501 + + :param inventory_items_to_instantiate: The inventory_items_to_instantiate of this InventoryMetadata. # noqa: E501 + :type inventory_items_to_instantiate: list[str] + """ + + self._inventory_items_to_instantiate = inventory_items_to_instantiate + + @property + def animated(self): + """Gets the animated of this InventoryMetadata. # noqa: E501 + + + :return: The animated of this InventoryMetadata. # noqa: E501 + :rtype: bool + """ + return self._animated + + @animated.setter + def animated(self, animated): + """Sets the animated of this InventoryMetadata. + + + :param animated: The animated of this InventoryMetadata. # noqa: E501 + :type animated: bool + """ + + self._animated = animated + + @property + def animation_style(self): + """Gets the animation_style of this InventoryMetadata. # noqa: E501 + + + :return: The animation_style of this InventoryMetadata. # noqa: E501 + :rtype: str + """ + return self._animation_style + + @animation_style.setter + def animation_style(self, animation_style): + """Sets the animation_style of this InventoryMetadata. + + + :param animation_style: The animation_style of this InventoryMetadata. # noqa: E501 + :type animation_style: str + """ + + self._animation_style = animation_style + + @property + def asset_bundle_id(self): + """Gets the asset_bundle_id of this InventoryMetadata. # noqa: E501 + + + :return: The asset_bundle_id of this InventoryMetadata. # noqa: E501 + :rtype: str + """ + return self._asset_bundle_id + + @asset_bundle_id.setter + def asset_bundle_id(self, asset_bundle_id): + """Sets the asset_bundle_id of this InventoryMetadata. + + + :param asset_bundle_id: The asset_bundle_id of this InventoryMetadata. # noqa: E501 + :type asset_bundle_id: str + """ + + self._asset_bundle_id = asset_bundle_id + + @property + def file_id(self): + """Gets the file_id of this InventoryMetadata. # noqa: E501 + + + :return: The file_id of this InventoryMetadata. # noqa: E501 + :rtype: str + """ + return self._file_id + + @file_id.setter + def file_id(self, file_id): + """Sets the file_id of this InventoryMetadata. + + + :param file_id: The file_id of this InventoryMetadata. # noqa: E501 + :type file_id: str + """ + + self._file_id = file_id + + @property + def image_url(self): + """Gets the image_url of this InventoryMetadata. # noqa: E501 + + + :return: The image_url of this InventoryMetadata. # noqa: E501 + :rtype: str + """ + return self._image_url + + @image_url.setter + def image_url(self, image_url): + """Sets the image_url of this InventoryMetadata. + + + :param image_url: The image_url of this InventoryMetadata. # noqa: E501 + :type image_url: str + """ + + self._image_url = image_url + + @property + def mask_tag(self): + """Gets the mask_tag of this InventoryMetadata. # noqa: E501 + + + :return: The mask_tag of this InventoryMetadata. # noqa: E501 + :rtype: str + """ + return self._mask_tag + + @mask_tag.setter + def mask_tag(self, mask_tag): + """Sets the mask_tag of this InventoryMetadata. + + + :param mask_tag: The mask_tag of this InventoryMetadata. # noqa: E501 + :type mask_tag: str + """ + + self._mask_tag = mask_tag + + @property + def prop_id(self): + """Gets the prop_id of this InventoryMetadata. # noqa: E501 + + + :return: The prop_id of this InventoryMetadata. # noqa: E501 + :rtype: str + """ + return self._prop_id + + @prop_id.setter + def prop_id(self, prop_id): + """Sets the prop_id of this InventoryMetadata. + + + :param prop_id: The prop_id of this InventoryMetadata. # noqa: E501 + :type prop_id: str + """ + + self._prop_id = prop_id + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InventoryMetadata): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, InventoryMetadata): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/inventory_notification_details.py b/vrchatapi/models/inventory_notification_details.py new file mode 100644 index 00000000..174ae13d --- /dev/null +++ b/vrchatapi/models/inventory_notification_details.py @@ -0,0 +1,186 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.1 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class InventoryNotificationDetails(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'body': 'str', + 'image_url': 'str', + 'title': 'str' + } + + attribute_map = { + 'body': 'body', + 'image_url': 'imageUrl', + 'title': 'title' + } + + def __init__(self, body=None, image_url=None, title=None, local_vars_configuration=None): # noqa: E501 + """InventoryNotificationDetails - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._body = None + self._image_url = None + self._title = None + self.discriminator = None + + self.body = body + self.image_url = image_url + self.title = title + + @property + def body(self): + """Gets the body of this InventoryNotificationDetails. # noqa: E501 + + + :return: The body of this InventoryNotificationDetails. # noqa: E501 + :rtype: str + """ + return self._body + + @body.setter + def body(self, body): + """Sets the body of this InventoryNotificationDetails. + + + :param body: The body of this InventoryNotificationDetails. # noqa: E501 + :type body: str + """ + if self.local_vars_configuration.client_side_validation and body is None: # noqa: E501 + raise ValueError("Invalid value for `body`, must not be `None`") # noqa: E501 + + self._body = body + + @property + def image_url(self): + """Gets the image_url of this InventoryNotificationDetails. # noqa: E501 + + + :return: The image_url of this InventoryNotificationDetails. # noqa: E501 + :rtype: str + """ + return self._image_url + + @image_url.setter + def image_url(self, image_url): + """Sets the image_url of this InventoryNotificationDetails. + + + :param image_url: The image_url of this InventoryNotificationDetails. # noqa: E501 + :type image_url: str + """ + if self.local_vars_configuration.client_side_validation and image_url is None: # noqa: E501 + raise ValueError("Invalid value for `image_url`, must not be `None`") # noqa: E501 + + self._image_url = image_url + + @property + def title(self): + """Gets the title of this InventoryNotificationDetails. # noqa: E501 + + + :return: The title of this InventoryNotificationDetails. # noqa: E501 + :rtype: str + """ + return self._title + + @title.setter + def title(self, title): + """Sets the title of this InventoryNotificationDetails. + + + :param title: The title of this InventoryNotificationDetails. # noqa: E501 + :type title: str + """ + if self.local_vars_configuration.client_side_validation and title is None: # noqa: E501 + raise ValueError("Invalid value for `title`, must not be `None`") # noqa: E501 + + self._title = title + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InventoryNotificationDetails): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, InventoryNotificationDetails): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/inventory_spawn.py b/vrchatapi/models/inventory_spawn.py new file mode 100644 index 00000000..de6b8512 --- /dev/null +++ b/vrchatapi/models/inventory_spawn.py @@ -0,0 +1,159 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.1 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class InventorySpawn(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'token': 'str', + 'version': 'int' + } + + attribute_map = { + 'token': 'token', + 'version': 'version' + } + + def __init__(self, token=None, version=None, local_vars_configuration=None): # noqa: E501 + """InventorySpawn - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._token = None + self._version = None + self.discriminator = None + + self.token = token + self.version = version + + @property + def token(self): + """Gets the token of this InventorySpawn. # noqa: E501 + + + :return: The token of this InventorySpawn. # noqa: E501 + :rtype: str + """ + return self._token + + @token.setter + def token(self, token): + """Sets the token of this InventorySpawn. + + + :param token: The token of this InventorySpawn. # noqa: E501 + :type token: str + """ + if self.local_vars_configuration.client_side_validation and token is None: # noqa: E501 + raise ValueError("Invalid value for `token`, must not be `None`") # noqa: E501 + + self._token = token + + @property + def version(self): + """Gets the version of this InventorySpawn. # noqa: E501 + + + :return: The version of this InventorySpawn. # noqa: E501 + :rtype: int + """ + return self._version + + @version.setter + def version(self, version): + """Sets the version of this InventorySpawn. + + + :param version: The version of this InventorySpawn. # noqa: E501 + :type version: int + """ + if self.local_vars_configuration.client_side_validation and version is None: # noqa: E501 + raise ValueError("Invalid value for `version`, must not be `None`") # noqa: E501 + + self._version = version + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InventorySpawn): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, InventorySpawn): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/inventory_template.py b/vrchatapi/models/inventory_template.py new file mode 100644 index 00000000..cd547d10 --- /dev/null +++ b/vrchatapi/models/inventory_template.py @@ -0,0 +1,510 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.1 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class InventoryTemplate(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'author_id': 'str', + 'collections': 'list[str]', + 'created_at': 'datetime', + 'description': 'str', + 'flags': 'list[str]', + 'id': 'str', + 'image_url': 'str', + 'item_type': 'InventoryItemType', + 'item_type_label': 'str', + 'metadata': 'InventoryMetadata', + 'name': 'str', + 'notification_details': 'InventoryNotificationDetails', + 'status': 'str', + 'tags': 'list[str]', + 'updated_at': 'datetime' + } + + attribute_map = { + 'author_id': 'authorId', + 'collections': 'collections', + 'created_at': 'created_at', + 'description': 'description', + 'flags': 'flags', + 'id': 'id', + 'image_url': 'imageUrl', + 'item_type': 'itemType', + 'item_type_label': 'itemTypeLabel', + 'metadata': 'metadata', + 'name': 'name', + 'notification_details': 'notificationDetails', + 'status': 'status', + 'tags': 'tags', + 'updated_at': 'updated_at' + } + + def __init__(self, author_id=None, collections=None, created_at=None, description=None, flags=None, id=None, image_url=None, item_type=None, item_type_label=None, metadata=None, name=None, notification_details=None, status=None, tags=None, updated_at=None, local_vars_configuration=None): # noqa: E501 + """InventoryTemplate - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._author_id = None + self._collections = None + self._created_at = None + self._description = None + self._flags = None + self._id = None + self._image_url = None + self._item_type = None + self._item_type_label = None + self._metadata = None + self._name = None + self._notification_details = None + self._status = None + self._tags = None + self._updated_at = None + self.discriminator = None + + self.author_id = author_id + self.collections = collections + self.created_at = created_at + self.description = description + self.flags = flags + self.id = id + self.image_url = image_url + self.item_type = item_type + self.item_type_label = item_type_label + if metadata is not None: + self.metadata = metadata + self.name = name + if notification_details is not None: + self.notification_details = notification_details + self.status = status + self.tags = tags + self.updated_at = updated_at + + @property + def author_id(self): + """Gets the author_id of this InventoryTemplate. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The author_id of this InventoryTemplate. # noqa: E501 + :rtype: str + """ + return self._author_id + + @author_id.setter + def author_id(self, author_id): + """Sets the author_id of this InventoryTemplate. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param author_id: The author_id of this InventoryTemplate. # noqa: E501 + :type author_id: str + """ + if self.local_vars_configuration.client_side_validation and author_id is None: # noqa: E501 + raise ValueError("Invalid value for `author_id`, must not be `None`") # noqa: E501 + + self._author_id = author_id + + @property + def collections(self): + """Gets the collections of this InventoryTemplate. # noqa: E501 + + + :return: The collections of this InventoryTemplate. # noqa: E501 + :rtype: list[str] + """ + return self._collections + + @collections.setter + def collections(self, collections): + """Sets the collections of this InventoryTemplate. + + + :param collections: The collections of this InventoryTemplate. # noqa: E501 + :type collections: list[str] + """ + if self.local_vars_configuration.client_side_validation and collections is None: # noqa: E501 + raise ValueError("Invalid value for `collections`, must not be `None`") # noqa: E501 + + self._collections = collections + + @property + def created_at(self): + """Gets the created_at of this InventoryTemplate. # noqa: E501 + + + :return: The created_at of this InventoryTemplate. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this InventoryTemplate. + + + :param created_at: The created_at of this InventoryTemplate. # noqa: E501 + :type created_at: datetime + """ + if self.local_vars_configuration.client_side_validation and created_at is None: # noqa: E501 + raise ValueError("Invalid value for `created_at`, must not be `None`") # noqa: E501 + + self._created_at = created_at + + @property + def description(self): + """Gets the description of this InventoryTemplate. # noqa: E501 + + + :return: The description of this InventoryTemplate. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this InventoryTemplate. + + + :param description: The description of this InventoryTemplate. # noqa: E501 + :type description: str + """ + if self.local_vars_configuration.client_side_validation and description is None: # noqa: E501 + raise ValueError("Invalid value for `description`, must not be `None`") # noqa: E501 + + self._description = description + + @property + def flags(self): + """Gets the flags of this InventoryTemplate. # noqa: E501 + + + :return: The flags of this InventoryTemplate. # noqa: E501 + :rtype: list[str] + """ + return self._flags + + @flags.setter + def flags(self, flags): + """Sets the flags of this InventoryTemplate. + + + :param flags: The flags of this InventoryTemplate. # noqa: E501 + :type flags: list[str] + """ + if self.local_vars_configuration.client_side_validation and flags is None: # noqa: E501 + raise ValueError("Invalid value for `flags`, must not be `None`") # noqa: E501 + + self._flags = flags + + @property + def id(self): + """Gets the id of this InventoryTemplate. # noqa: E501 + + + :return: The id of this InventoryTemplate. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this InventoryTemplate. + + + :param id: The id of this InventoryTemplate. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + + self._id = id + + @property + def image_url(self): + """Gets the image_url of this InventoryTemplate. # noqa: E501 + + + :return: The image_url of this InventoryTemplate. # noqa: E501 + :rtype: str + """ + return self._image_url + + @image_url.setter + def image_url(self, image_url): + """Sets the image_url of this InventoryTemplate. + + + :param image_url: The image_url of this InventoryTemplate. # noqa: E501 + :type image_url: str + """ + if self.local_vars_configuration.client_side_validation and image_url is None: # noqa: E501 + raise ValueError("Invalid value for `image_url`, must not be `None`") # noqa: E501 + + self._image_url = image_url + + @property + def item_type(self): + """Gets the item_type of this InventoryTemplate. # noqa: E501 + + + :return: The item_type of this InventoryTemplate. # noqa: E501 + :rtype: InventoryItemType + """ + return self._item_type + + @item_type.setter + def item_type(self, item_type): + """Sets the item_type of this InventoryTemplate. + + + :param item_type: The item_type of this InventoryTemplate. # noqa: E501 + :type item_type: InventoryItemType + """ + if self.local_vars_configuration.client_side_validation and item_type is None: # noqa: E501 + raise ValueError("Invalid value for `item_type`, must not be `None`") # noqa: E501 + + self._item_type = item_type + + @property + def item_type_label(self): + """Gets the item_type_label of this InventoryTemplate. # noqa: E501 + + + :return: The item_type_label of this InventoryTemplate. # noqa: E501 + :rtype: str + """ + return self._item_type_label + + @item_type_label.setter + def item_type_label(self, item_type_label): + """Sets the item_type_label of this InventoryTemplate. + + + :param item_type_label: The item_type_label of this InventoryTemplate. # noqa: E501 + :type item_type_label: str + """ + if self.local_vars_configuration.client_side_validation and item_type_label is None: # noqa: E501 + raise ValueError("Invalid value for `item_type_label`, must not be `None`") # noqa: E501 + + self._item_type_label = item_type_label + + @property + def metadata(self): + """Gets the metadata of this InventoryTemplate. # noqa: E501 + + + :return: The metadata of this InventoryTemplate. # noqa: E501 + :rtype: InventoryMetadata + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this InventoryTemplate. + + + :param metadata: The metadata of this InventoryTemplate. # noqa: E501 + :type metadata: InventoryMetadata + """ + + self._metadata = metadata + + @property + def name(self): + """Gets the name of this InventoryTemplate. # noqa: E501 + + + :return: The name of this InventoryTemplate. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this InventoryTemplate. + + + :param name: The name of this InventoryTemplate. # noqa: E501 + :type name: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + + @property + def notification_details(self): + """Gets the notification_details of this InventoryTemplate. # noqa: E501 + + + :return: The notification_details of this InventoryTemplate. # noqa: E501 + :rtype: InventoryNotificationDetails + """ + return self._notification_details + + @notification_details.setter + def notification_details(self, notification_details): + """Sets the notification_details of this InventoryTemplate. + + + :param notification_details: The notification_details of this InventoryTemplate. # noqa: E501 + :type notification_details: InventoryNotificationDetails + """ + + self._notification_details = notification_details + + @property + def status(self): + """Gets the status of this InventoryTemplate. # noqa: E501 + + + :return: The status of this InventoryTemplate. # noqa: E501 + :rtype: str + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this InventoryTemplate. + + + :param status: The status of this InventoryTemplate. # noqa: E501 + :type status: str + """ + if self.local_vars_configuration.client_side_validation and status is None: # noqa: E501 + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 + + self._status = status + + @property + def tags(self): + """Gets the tags of this InventoryTemplate. # noqa: E501 + + + :return: The tags of this InventoryTemplate. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this InventoryTemplate. + + + :param tags: The tags of this InventoryTemplate. # noqa: E501 + :type tags: list[str] + """ + if self.local_vars_configuration.client_side_validation and tags is None: # noqa: E501 + raise ValueError("Invalid value for `tags`, must not be `None`") # noqa: E501 + + self._tags = tags + + @property + def updated_at(self): + """Gets the updated_at of this InventoryTemplate. # noqa: E501 + + + :return: The updated_at of this InventoryTemplate. # noqa: E501 + :rtype: datetime + """ + return self._updated_at + + @updated_at.setter + def updated_at(self, updated_at): + """Sets the updated_at of this InventoryTemplate. + + + :param updated_at: The updated_at of this InventoryTemplate. # noqa: E501 + :type updated_at: datetime + """ + if self.local_vars_configuration.client_side_validation and updated_at is None: # noqa: E501 + raise ValueError("Invalid value for `updated_at`, must not be `None`") # noqa: E501 + + self._updated_at = updated_at + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InventoryTemplate): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, InventoryTemplate): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index a26e2ac6..96a36824 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index f626667d..935d652a 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index 585e8d87..0a58cb34 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index 3e3cbbba..17d7b92b 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/jam.py b/vrchatapi/models/jam.py index 15ca99e3..345fecbf 100644 --- a/vrchatapi/models/jam.py +++ b/vrchatapi/models/jam.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/jam_state_change_dates.py b/vrchatapi/models/jam_state_change_dates.py index 2b027b74..d71af232 100644 --- a/vrchatapi/models/jam_state_change_dates.py +++ b/vrchatapi/models/jam_state_change_dates.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index cf9619e9..a0096ebc 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index 2978ed35..ef1d3df2 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index 8f0ff274..b638aa20 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index d02b1cc6..84cdad4d 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_group.py b/vrchatapi/models/limited_group.py index adb59997..bbd3b129 100644 --- a/vrchatapi/models/limited_group.py +++ b/vrchatapi/models/limited_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index e220f821..568e49f8 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user_friend.py b/vrchatapi/models/limited_user_friend.py index 81a06db8..e3766356 100644 --- a/vrchatapi/models/limited_user_friend.py +++ b/vrchatapi/models/limited_user_friend.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user_groups.py b/vrchatapi/models/limited_user_groups.py index 5b582a8b..28574337 100644 --- a/vrchatapi/models/limited_user_groups.py +++ b/vrchatapi/models/limited_user_groups.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user_instance.py b/vrchatapi/models/limited_user_instance.py index 5bce23a2..94d45dbe 100644 --- a/vrchatapi/models/limited_user_instance.py +++ b/vrchatapi/models/limited_user_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user_search.py b/vrchatapi/models/limited_user_search.py index b7cbf720..c716e096 100644 --- a/vrchatapi/models/limited_user_search.py +++ b/vrchatapi/models/limited_user_search.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index f706dcaf..91fc895f 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index 7cb509a6..8ac88e97 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/model_print.py b/vrchatapi/models/model_print.py index 3250929f..0db152b2 100644 --- a/vrchatapi/models/model_print.py +++ b/vrchatapi/models/model_print.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index 839c069a..3241a326 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index 8a96e9f4..d58ffb0e 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite.py b/vrchatapi/models/notification_detail_invite.py index aea2d65d..abba5b2f 100644 --- a/vrchatapi/models/notification_detail_invite.py +++ b/vrchatapi/models/notification_detail_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite_response.py b/vrchatapi/models/notification_detail_invite_response.py index ec47ea8b..0c8a6fdf 100644 --- a/vrchatapi/models/notification_detail_invite_response.py +++ b/vrchatapi/models/notification_detail_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite.py b/vrchatapi/models/notification_detail_request_invite.py index b6fc1d73..316fe2c2 100644 --- a/vrchatapi/models/notification_detail_request_invite.py +++ b/vrchatapi/models/notification_detail_request_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite_response.py b/vrchatapi/models/notification_detail_request_invite_response.py index bea6af41..bf373990 100644 --- a/vrchatapi/models/notification_detail_request_invite_response.py +++ b/vrchatapi/models/notification_detail_request_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_vote_to_kick.py b/vrchatapi/models/notification_detail_vote_to_kick.py index bbf9d68a..4f1aefe9 100644 --- a/vrchatapi/models/notification_detail_vote_to_kick.py +++ b/vrchatapi/models/notification_detail_vote_to_kick.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index 2dc1bc00..ffa94f4f 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index 4b3237c4..053ae213 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index 6ce62b08..27fdc92a 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index f3963ae0..960bd9c1 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/pending2_fa_result.py b/vrchatapi/models/pending2_fa_result.py index 85fe97ab..a49df9a4 100644 --- a/vrchatapi/models/pending2_fa_result.py +++ b/vrchatapi/models/pending2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/performance_limiter_info.py b/vrchatapi/models/performance_limiter_info.py index 34572055..e34ac516 100644 --- a/vrchatapi/models/performance_limiter_info.py +++ b/vrchatapi/models/performance_limiter_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/performance_ratings.py b/vrchatapi/models/performance_ratings.py index 5962f375..a2fe4cb3 100644 --- a/vrchatapi/models/performance_ratings.py +++ b/vrchatapi/models/performance_ratings.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index 89423241..73e4cf83 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/platform_build_info.py b/vrchatapi/models/platform_build_info.py index a38658be..aa47985f 100644 --- a/vrchatapi/models/platform_build_info.py +++ b/vrchatapi/models/platform_build_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index 9184c100..12916208 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index 62a8e563..584bd4c9 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/print_files.py b/vrchatapi/models/print_files.py index 3b48fb67..6a8c0964 100644 --- a/vrchatapi/models/print_files.py +++ b/vrchatapi/models/print_files.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product.py b/vrchatapi/models/product.py index bf828c82..cc9a5dd0 100644 --- a/vrchatapi/models/product.py +++ b/vrchatapi/models/product.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_listing.py b/vrchatapi/models/product_listing.py index 6af6d66e..a741f209 100644 --- a/vrchatapi/models/product_listing.py +++ b/vrchatapi/models/product_listing.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_listing_type.py b/vrchatapi/models/product_listing_type.py index 2a01eaa7..f2361d22 100644 --- a/vrchatapi/models/product_listing_type.py +++ b/vrchatapi/models/product_listing_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_listing_variant.py b/vrchatapi/models/product_listing_variant.py index d5943474..2a10ae87 100644 --- a/vrchatapi/models/product_listing_variant.py +++ b/vrchatapi/models/product_listing_variant.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_type.py b/vrchatapi/models/product_type.py index e79aa8fc..83bd7358 100644 --- a/vrchatapi/models/product_type.py +++ b/vrchatapi/models/product_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/prop.py b/vrchatapi/models/prop.py new file mode 100644 index 00000000..7cc5e0de --- /dev/null +++ b/vrchatapi/models/prop.py @@ -0,0 +1,540 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.1 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class Prop(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'created_at': 'datetime', + 'updated_at': 'datetime', + 'author_id': 'str', + 'author_name': 'str', + 'description': 'str', + 'id': 'str', + 'image_url': 'str', + 'max_count_per_user': 'int', + 'name': 'str', + 'release_status': 'ReleaseStatus', + 'spawn_type': 'int', + 'tags': 'list[str]', + 'thumbnail_image_url': 'str', + 'unity_package_url': 'str', + 'unity_packages': 'list[PropUnityPackage]', + 'world_placement_mask': 'int' + } + + attribute_map = { + 'created_at': '_created_at', + 'updated_at': '_updated_at', + 'author_id': 'authorId', + 'author_name': 'authorName', + 'description': 'description', + 'id': 'id', + 'image_url': 'imageUrl', + 'max_count_per_user': 'maxCountPerUser', + 'name': 'name', + 'release_status': 'releaseStatus', + 'spawn_type': 'spawnType', + 'tags': 'tags', + 'thumbnail_image_url': 'thumbnailImageUrl', + 'unity_package_url': 'unityPackageUrl', + 'unity_packages': 'unityPackages', + 'world_placement_mask': 'worldPlacementMask' + } + + def __init__(self, created_at=None, updated_at=None, author_id=None, author_name=None, description=None, id=None, image_url=None, max_count_per_user=1, name=None, release_status=None, spawn_type=0, tags=None, thumbnail_image_url=None, unity_package_url=None, unity_packages=None, world_placement_mask=1, local_vars_configuration=None): # noqa: E501 + """Prop - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._created_at = None + self._updated_at = None + self._author_id = None + self._author_name = None + self._description = None + self._id = None + self._image_url = None + self._max_count_per_user = None + self._name = None + self._release_status = None + self._spawn_type = None + self._tags = None + self._thumbnail_image_url = None + self._unity_package_url = None + self._unity_packages = None + self._world_placement_mask = None + self.discriminator = None + + self.created_at = created_at + self.updated_at = updated_at + self.author_id = author_id + self.author_name = author_name + self.description = description + self.id = id + self.image_url = image_url + self.max_count_per_user = max_count_per_user + self.name = name + self.release_status = release_status + self.spawn_type = spawn_type + self.tags = tags + self.thumbnail_image_url = thumbnail_image_url + self.unity_package_url = unity_package_url + self.unity_packages = unity_packages + self.world_placement_mask = world_placement_mask + + @property + def created_at(self): + """Gets the created_at of this Prop. # noqa: E501 + + + :return: The created_at of this Prop. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this Prop. + + + :param created_at: The created_at of this Prop. # noqa: E501 + :type created_at: datetime + """ + if self.local_vars_configuration.client_side_validation and created_at is None: # noqa: E501 + raise ValueError("Invalid value for `created_at`, must not be `None`") # noqa: E501 + + self._created_at = created_at + + @property + def updated_at(self): + """Gets the updated_at of this Prop. # noqa: E501 + + + :return: The updated_at of this Prop. # noqa: E501 + :rtype: datetime + """ + return self._updated_at + + @updated_at.setter + def updated_at(self, updated_at): + """Sets the updated_at of this Prop. + + + :param updated_at: The updated_at of this Prop. # noqa: E501 + :type updated_at: datetime + """ + if self.local_vars_configuration.client_side_validation and updated_at is None: # noqa: E501 + raise ValueError("Invalid value for `updated_at`, must not be `None`") # noqa: E501 + + self._updated_at = updated_at + + @property + def author_id(self): + """Gets the author_id of this Prop. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The author_id of this Prop. # noqa: E501 + :rtype: str + """ + return self._author_id + + @author_id.setter + def author_id(self, author_id): + """Sets the author_id of this Prop. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param author_id: The author_id of this Prop. # noqa: E501 + :type author_id: str + """ + if self.local_vars_configuration.client_side_validation and author_id is None: # noqa: E501 + raise ValueError("Invalid value for `author_id`, must not be `None`") # noqa: E501 + + self._author_id = author_id + + @property + def author_name(self): + """Gets the author_name of this Prop. # noqa: E501 + + + :return: The author_name of this Prop. # noqa: E501 + :rtype: str + """ + return self._author_name + + @author_name.setter + def author_name(self, author_name): + """Sets the author_name of this Prop. + + + :param author_name: The author_name of this Prop. # noqa: E501 + :type author_name: str + """ + if self.local_vars_configuration.client_side_validation and author_name is None: # noqa: E501 + raise ValueError("Invalid value for `author_name`, must not be `None`") # noqa: E501 + + self._author_name = author_name + + @property + def description(self): + """Gets the description of this Prop. # noqa: E501 + + + :return: The description of this Prop. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this Prop. + + + :param description: The description of this Prop. # noqa: E501 + :type description: str + """ + if self.local_vars_configuration.client_side_validation and description is None: # noqa: E501 + raise ValueError("Invalid value for `description`, must not be `None`") # noqa: E501 + + self._description = description + + @property + def id(self): + """Gets the id of this Prop. # noqa: E501 + + + :return: The id of this Prop. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this Prop. + + + :param id: The id of this Prop. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + + self._id = id + + @property + def image_url(self): + """Gets the image_url of this Prop. # noqa: E501 + + + :return: The image_url of this Prop. # noqa: E501 + :rtype: str + """ + return self._image_url + + @image_url.setter + def image_url(self, image_url): + """Sets the image_url of this Prop. + + + :param image_url: The image_url of this Prop. # noqa: E501 + :type image_url: str + """ + if self.local_vars_configuration.client_side_validation and image_url is None: # noqa: E501 + raise ValueError("Invalid value for `image_url`, must not be `None`") # noqa: E501 + + self._image_url = image_url + + @property + def max_count_per_user(self): + """Gets the max_count_per_user of this Prop. # noqa: E501 + + + :return: The max_count_per_user of this Prop. # noqa: E501 + :rtype: int + """ + return self._max_count_per_user + + @max_count_per_user.setter + def max_count_per_user(self, max_count_per_user): + """Sets the max_count_per_user of this Prop. + + + :param max_count_per_user: The max_count_per_user of this Prop. # noqa: E501 + :type max_count_per_user: int + """ + if self.local_vars_configuration.client_side_validation and max_count_per_user is None: # noqa: E501 + raise ValueError("Invalid value for `max_count_per_user`, must not be `None`") # noqa: E501 + + self._max_count_per_user = max_count_per_user + + @property + def name(self): + """Gets the name of this Prop. # noqa: E501 + + + :return: The name of this Prop. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this Prop. + + + :param name: The name of this Prop. # noqa: E501 + :type name: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + + @property + def release_status(self): + """Gets the release_status of this Prop. # noqa: E501 + + + :return: The release_status of this Prop. # noqa: E501 + :rtype: ReleaseStatus + """ + return self._release_status + + @release_status.setter + def release_status(self, release_status): + """Sets the release_status of this Prop. + + + :param release_status: The release_status of this Prop. # noqa: E501 + :type release_status: ReleaseStatus + """ + if self.local_vars_configuration.client_side_validation and release_status is None: # noqa: E501 + raise ValueError("Invalid value for `release_status`, must not be `None`") # noqa: E501 + + self._release_status = release_status + + @property + def spawn_type(self): + """Gets the spawn_type of this Prop. # noqa: E501 + + + :return: The spawn_type of this Prop. # noqa: E501 + :rtype: int + """ + return self._spawn_type + + @spawn_type.setter + def spawn_type(self, spawn_type): + """Sets the spawn_type of this Prop. + + + :param spawn_type: The spawn_type of this Prop. # noqa: E501 + :type spawn_type: int + """ + if self.local_vars_configuration.client_side_validation and spawn_type is None: # noqa: E501 + raise ValueError("Invalid value for `spawn_type`, must not be `None`") # noqa: E501 + + self._spawn_type = spawn_type + + @property + def tags(self): + """Gets the tags of this Prop. # noqa: E501 + + + :return: The tags of this Prop. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this Prop. + + + :param tags: The tags of this Prop. # noqa: E501 + :type tags: list[str] + """ + if self.local_vars_configuration.client_side_validation and tags is None: # noqa: E501 + raise ValueError("Invalid value for `tags`, must not be `None`") # noqa: E501 + + self._tags = tags + + @property + def thumbnail_image_url(self): + """Gets the thumbnail_image_url of this Prop. # noqa: E501 + + + :return: The thumbnail_image_url of this Prop. # noqa: E501 + :rtype: str + """ + return self._thumbnail_image_url + + @thumbnail_image_url.setter + def thumbnail_image_url(self, thumbnail_image_url): + """Sets the thumbnail_image_url of this Prop. + + + :param thumbnail_image_url: The thumbnail_image_url of this Prop. # noqa: E501 + :type thumbnail_image_url: str + """ + if self.local_vars_configuration.client_side_validation and thumbnail_image_url is None: # noqa: E501 + raise ValueError("Invalid value for `thumbnail_image_url`, must not be `None`") # noqa: E501 + + self._thumbnail_image_url = thumbnail_image_url + + @property + def unity_package_url(self): + """Gets the unity_package_url of this Prop. # noqa: E501 + + + :return: The unity_package_url of this Prop. # noqa: E501 + :rtype: str + """ + return self._unity_package_url + + @unity_package_url.setter + def unity_package_url(self, unity_package_url): + """Sets the unity_package_url of this Prop. + + + :param unity_package_url: The unity_package_url of this Prop. # noqa: E501 + :type unity_package_url: str + """ + + self._unity_package_url = unity_package_url + + @property + def unity_packages(self): + """Gets the unity_packages of this Prop. # noqa: E501 + + + :return: The unity_packages of this Prop. # noqa: E501 + :rtype: list[PropUnityPackage] + """ + return self._unity_packages + + @unity_packages.setter + def unity_packages(self, unity_packages): + """Sets the unity_packages of this Prop. + + + :param unity_packages: The unity_packages of this Prop. # noqa: E501 + :type unity_packages: list[PropUnityPackage] + """ + if self.local_vars_configuration.client_side_validation and unity_packages is None: # noqa: E501 + raise ValueError("Invalid value for `unity_packages`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + unity_packages is not None and len(unity_packages) < 1): + raise ValueError("Invalid value for `unity_packages`, number of items must be greater than or equal to `1`") # noqa: E501 + + self._unity_packages = unity_packages + + @property + def world_placement_mask(self): + """Gets the world_placement_mask of this Prop. # noqa: E501 + + + :return: The world_placement_mask of this Prop. # noqa: E501 + :rtype: int + """ + return self._world_placement_mask + + @world_placement_mask.setter + def world_placement_mask(self, world_placement_mask): + """Sets the world_placement_mask of this Prop. + + + :param world_placement_mask: The world_placement_mask of this Prop. # noqa: E501 + :type world_placement_mask: int + """ + if self.local_vars_configuration.client_side_validation and world_placement_mask is None: # noqa: E501 + raise ValueError("Invalid value for `world_placement_mask`, must not be `None`") # noqa: E501 + + self._world_placement_mask = world_placement_mask + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, Prop): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, Prop): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/prop_unity_package.py b/vrchatapi/models/prop_unity_package.py new file mode 100644 index 00000000..54062a8f --- /dev/null +++ b/vrchatapi/models/prop_unity_package.py @@ -0,0 +1,275 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.1 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class PropUnityPackage(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'asset_url': 'str', + 'asset_version': 'int', + 'prop_signature': 'str', + 'platform': 'str', + 'unity_version': 'str', + 'variant': 'str' + } + + attribute_map = { + 'asset_url': 'assetUrl', + 'asset_version': 'assetVersion', + 'prop_signature': 'propSignature', + 'platform': 'platform', + 'unity_version': 'unityVersion', + 'variant': 'variant' + } + + def __init__(self, asset_url=None, asset_version=None, prop_signature=None, platform=None, unity_version='2022.3.22f1', variant=None, local_vars_configuration=None): # noqa: E501 + """PropUnityPackage - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._asset_url = None + self._asset_version = None + self._prop_signature = None + self._platform = None + self._unity_version = None + self._variant = None + self.discriminator = None + + self.asset_url = asset_url + self.asset_version = asset_version + self.prop_signature = prop_signature + self.platform = platform + self.unity_version = unity_version + self.variant = variant + + @property + def asset_url(self): + """Gets the asset_url of this PropUnityPackage. # noqa: E501 + + + :return: The asset_url of this PropUnityPackage. # noqa: E501 + :rtype: str + """ + return self._asset_url + + @asset_url.setter + def asset_url(self, asset_url): + """Sets the asset_url of this PropUnityPackage. + + + :param asset_url: The asset_url of this PropUnityPackage. # noqa: E501 + :type asset_url: str + """ + if self.local_vars_configuration.client_side_validation and asset_url is None: # noqa: E501 + raise ValueError("Invalid value for `asset_url`, must not be `None`") # noqa: E501 + + self._asset_url = asset_url + + @property + def asset_version(self): + """Gets the asset_version of this PropUnityPackage. # noqa: E501 + + + :return: The asset_version of this PropUnityPackage. # noqa: E501 + :rtype: int + """ + return self._asset_version + + @asset_version.setter + def asset_version(self, asset_version): + """Sets the asset_version of this PropUnityPackage. + + + :param asset_version: The asset_version of this PropUnityPackage. # noqa: E501 + :type asset_version: int + """ + if self.local_vars_configuration.client_side_validation and asset_version is None: # noqa: E501 + raise ValueError("Invalid value for `asset_version`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + asset_version is not None and asset_version < 0): # noqa: E501 + raise ValueError("Invalid value for `asset_version`, must be a value greater than or equal to `0`") # noqa: E501 + + self._asset_version = asset_version + + @property + def prop_signature(self): + """Gets the prop_signature of this PropUnityPackage. # noqa: E501 + + + :return: The prop_signature of this PropUnityPackage. # noqa: E501 + :rtype: str + """ + return self._prop_signature + + @prop_signature.setter + def prop_signature(self, prop_signature): + """Sets the prop_signature of this PropUnityPackage. + + + :param prop_signature: The prop_signature of this PropUnityPackage. # noqa: E501 + :type prop_signature: str + """ + if self.local_vars_configuration.client_side_validation and prop_signature is None: # noqa: E501 + raise ValueError("Invalid value for `prop_signature`, must not be `None`") # noqa: E501 + + self._prop_signature = prop_signature + + @property + def platform(self): + """Gets the platform of this PropUnityPackage. # noqa: E501 + + This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + + :return: The platform of this PropUnityPackage. # noqa: E501 + :rtype: str + """ + return self._platform + + @platform.setter + def platform(self, platform): + """Sets the platform of this PropUnityPackage. + + This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + + :param platform: The platform of this PropUnityPackage. # noqa: E501 + :type platform: str + """ + if self.local_vars_configuration.client_side_validation and platform is None: # noqa: E501 + raise ValueError("Invalid value for `platform`, must not be `None`") # noqa: E501 + + self._platform = platform + + @property + def unity_version(self): + """Gets the unity_version of this PropUnityPackage. # noqa: E501 + + + :return: The unity_version of this PropUnityPackage. # noqa: E501 + :rtype: str + """ + return self._unity_version + + @unity_version.setter + def unity_version(self, unity_version): + """Sets the unity_version of this PropUnityPackage. + + + :param unity_version: The unity_version of this PropUnityPackage. # noqa: E501 + :type unity_version: str + """ + if self.local_vars_configuration.client_side_validation and unity_version is None: # noqa: E501 + raise ValueError("Invalid value for `unity_version`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + unity_version is not None and len(unity_version) < 1): + raise ValueError("Invalid value for `unity_version`, length must be greater than or equal to `1`") # noqa: E501 + + self._unity_version = unity_version + + @property + def variant(self): + """Gets the variant of this PropUnityPackage. # noqa: E501 + + + :return: The variant of this PropUnityPackage. # noqa: E501 + :rtype: str + """ + return self._variant + + @variant.setter + def variant(self, variant): + """Sets the variant of this PropUnityPackage. + + + :param variant: The variant of this PropUnityPackage. # noqa: E501 + :type variant: str + """ + if self.local_vars_configuration.client_side_validation and variant is None: # noqa: E501 + raise ValueError("Invalid value for `variant`, must not be `None`") # noqa: E501 + + self._variant = variant + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, PropUnityPackage): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, PropUnityPackage): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index 622c4728..debfb856 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/register_user_account_request.py b/vrchatapi/models/register_user_account_request.py index 09e96dcf..cc6f01dd 100644 --- a/vrchatapi/models/register_user_account_request.py +++ b/vrchatapi/models/register_user_account_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index c9d86d6f..6e30a2dc 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/report_category.py b/vrchatapi/models/report_category.py index a83529b9..bee12a25 100644 --- a/vrchatapi/models/report_category.py +++ b/vrchatapi/models/report_category.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/report_reason.py b/vrchatapi/models/report_reason.py index 20838a9a..a72d1cd1 100644 --- a/vrchatapi/models/report_reason.py +++ b/vrchatapi/models/report_reason.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/represented_group.py b/vrchatapi/models/represented_group.py index 39e37231..d9a8b762 100644 --- a/vrchatapi/models/represented_group.py +++ b/vrchatapi/models/represented_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index 5635dc71..8eb9ee4b 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,51 +36,51 @@ class RequestInviteRequest(object): and the value is json key in definition. """ openapi_types = { - 'message_slot': 'int' + 'request_slot': 'int' } attribute_map = { - 'message_slot': 'messageSlot' + 'request_slot': 'requestSlot' } - def __init__(self, message_slot=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, request_slot=None, local_vars_configuration=None): # noqa: E501 """RequestInviteRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._message_slot = None + self._request_slot = None self.discriminator = None - if message_slot is not None: - self.message_slot = message_slot + if request_slot is not None: + self.request_slot = request_slot @property - def message_slot(self): - """Gets the message_slot of this RequestInviteRequest. # noqa: E501 + def request_slot(self): + """Gets the request_slot of this RequestInviteRequest. # noqa: E501 - :return: The message_slot of this RequestInviteRequest. # noqa: E501 + :return: The request_slot of this RequestInviteRequest. # noqa: E501 :rtype: int """ - return self._message_slot + return self._request_slot - @message_slot.setter - def message_slot(self, message_slot): - """Sets the message_slot of this RequestInviteRequest. + @request_slot.setter + def request_slot(self, request_slot): + """Sets the request_slot of this RequestInviteRequest. - :param message_slot: The message_slot of this RequestInviteRequest. # noqa: E501 - :type message_slot: int + :param request_slot: The request_slot of this RequestInviteRequest. # noqa: E501 + :type request_slot: int """ if (self.local_vars_configuration.client_side_validation and - message_slot is not None and message_slot > 11): # noqa: E501 - raise ValueError("Invalid value for `message_slot`, must be a value less than or equal to `11`") # noqa: E501 + request_slot is not None and request_slot > 11): # noqa: E501 + raise ValueError("Invalid value for `request_slot`, must be a value less than or equal to `11`") # noqa: E501 if (self.local_vars_configuration.client_side_validation and - message_slot is not None and message_slot < 0): # noqa: E501 - raise ValueError("Invalid value for `message_slot`, must be a value greater than or equal to `0`") # noqa: E501 + request_slot is not None and request_slot < 0): # noqa: E501 + raise ValueError("Invalid value for `request_slot`, must be a value greater than or equal to `0`") # noqa: E501 - self._message_slot = message_slot + self._request_slot = request_slot def to_dict(self, serialize=False): """Returns the model properties as a dict""" diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index b75f2e44..b2a5d140 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index f4b34892..bae6c617 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index 73e7cf6f..3c13405f 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/service_queue_stats.py b/vrchatapi/models/service_queue_stats.py index eb30e735..c75c9f18 100644 --- a/vrchatapi/models/service_queue_stats.py +++ b/vrchatapi/models/service_queue_stats.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/service_status.py b/vrchatapi/models/service_status.py index 8396affe..ced14401 100644 --- a/vrchatapi/models/service_status.py +++ b/vrchatapi/models/service_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index 4927c1c4..a78ef094 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/submission.py b/vrchatapi/models/submission.py index f4ebd77a..b448ba1f 100644 --- a/vrchatapi/models/submission.py +++ b/vrchatapi/models/submission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index 7c114067..251a1d99 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index d01dd643..f1dc4bc8 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index 0d6d4524..65e97825 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/tilia_status.py b/vrchatapi/models/tilia_status.py index 8ba5eb4d..ea089cb6 100644 --- a/vrchatapi/models/tilia_status.py +++ b/vrchatapi/models/tilia_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/tilia_tos.py b/vrchatapi/models/tilia_tos.py index 15e941e6..f9c634fa 100644 --- a/vrchatapi/models/tilia_tos.py +++ b/vrchatapi/models/tilia_tos.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/token_bundle.py b/vrchatapi/models/token_bundle.py index 09b00df1..ad11ac2e 100644 --- a/vrchatapi/models/token_bundle.py +++ b/vrchatapi/models/token_bundle.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index f98df8d8..10f2104c 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index 8fc38584..6b12db5e 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index a565c19a..d31236e5 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index 199b3719..bda629a9 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index 2cef3013..02f4b810 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index 1dda9d88..4e9448ec 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_email_code.py b/vrchatapi/models/two_factor_email_code.py index a227218b..aca42af4 100644 --- a/vrchatapi/models/two_factor_email_code.py +++ b/vrchatapi/models/two_factor_email_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_recovery_codes.py b/vrchatapi/models/two_factor_recovery_codes.py index 60527702..a36051b0 100644 --- a/vrchatapi/models/two_factor_recovery_codes.py +++ b/vrchatapi/models/two_factor_recovery_codes.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_recovery_codes_otp_inner.py b/vrchatapi/models/two_factor_recovery_codes_otp_inner.py index 402ddf03..2ea29f8d 100644 --- a/vrchatapi/models/two_factor_recovery_codes_otp_inner.py +++ b/vrchatapi/models/two_factor_recovery_codes_otp_inner.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index f6dd2e4f..253e00de 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index e5c21265..f83c4134 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index 16982c9a..1460c2a6 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index f9392264..cc6b4777 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index f3025904..725dabe2 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_representation_request.py b/vrchatapi/models/update_group_representation_request.py index 2077ba03..34c4f8a5 100644 --- a/vrchatapi/models/update_group_representation_request.py +++ b/vrchatapi/models/update_group_representation_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index 0127e745..8aa6b03d 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index d24e751d..19c42e56 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index b3843e94..0add18ea 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_badge_request.py b/vrchatapi/models/update_user_badge_request.py index 5a0e46fe..8ae5f58b 100644 --- a/vrchatapi/models/update_user_badge_request.py +++ b/vrchatapi/models/update_user_badge_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_note_request.py b/vrchatapi/models/update_user_note_request.py index 729a54af..f8e288ef 100644 --- a/vrchatapi/models/update_user_note_request.py +++ b/vrchatapi/models/update_user_note_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index 14a9fd97..3b5d434b 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index 9dbd4bde..ef48d50b 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index 6548e4a8..c3939120 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index 77cb09f4..d9b88217 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_note.py b/vrchatapi/models/user_note.py index 380acddc..626d0aaa 100644 --- a/vrchatapi/models/user_note.py +++ b/vrchatapi/models/user_note.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_note_target_user.py b/vrchatapi/models/user_note_target_user.py index e44b1812..7ba27004 100644 --- a/vrchatapi/models/user_note_target_user.py +++ b/vrchatapi/models/user_note_target_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index a0452bdb..01cd0488 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index 729db2ad..e6a1947f 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index d8126d70..035da270 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_email_code_result.py b/vrchatapi/models/verify2_fa_email_code_result.py index e53289be..1538c05a 100644 --- a/vrchatapi/models/verify2_fa_email_code_result.py +++ b/vrchatapi/models/verify2_fa_email_code_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index 647f63a9..e55dbe66 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index ef2d2233..aa6873d5 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index 843f43a9..bd5e7c0b 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index 7c0a15fa..d16dcfec 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index 7c386f89..1a7ddce8 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index 4acdfb32..2e36fc5d 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.0 + The version of the OpenAPI document: 1.20.1 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ From b3c92024474404f376b81e2e06a3b76979663331 Mon Sep 17 00:00:00 2001 From: VRCCat Date: Wed, 20 Aug 2025 21:40:26 +0000 Subject: [PATCH 075/102] Upgrade Python SDK to spec 1.20.2 --- .openapi-generator/FILES | 14 + docs/CalendarApi.md | 782 ++++++++ docs/CalendarEvent.md | 37 + docs/CalendarEventUserInterest.md | 13 + docs/CreateCalendarEventRequest.md | 29 + docs/FollowCalendarEventRequest.md | 11 + docs/PaginatedCalendarEventList.md | 13 + docs/UpdateCalendarEventRequest.md | 28 + package-lock.json | 208 +-- package.json | 2 +- setup.py | 4 +- vrchatapi/__init__.py | 9 +- vrchatapi/api/__init__.py | 1 + vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/calendar_api.py | 1600 +++++++++++++++++ vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/groups_api.py | 2 +- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/inventory_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/jams_api.py | 2 +- vrchatapi/api/miscellaneous_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/prints_api.py | 2 +- vrchatapi/api/props_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 +- vrchatapi/exceptions.py | 2 +- vrchatapi/models/__init__.py | 8 +- vrchatapi/models/account_deletion_log.py | 2 +- vrchatapi/models/add_favorite_request.py | 2 +- .../models/add_group_gallery_image_request.py | 2 +- vrchatapi/models/admin_asset_bundle.py | 2 +- vrchatapi/models/admin_unity_package.py | 2 +- vrchatapi/models/age_verification_status.py | 2 +- vrchatapi/models/api_config.py | 2 +- .../models/api_config_access_logs_urls.py | 2 +- vrchatapi/models/api_config_announcement.py | 2 +- .../models/api_config_avatar_perf_limiter.py | 2 +- vrchatapi/models/api_config_constants.py | 2 +- .../models/api_config_constants_groups.py | 2 +- .../models/api_config_constants_instance.py | 2 +- ...ig_constants_instancepopulationbrackets.py | 2 +- ...tants_instancepopulationbracketscrowded.py | 2 +- ...constants_instancepopulationbracketsfew.py | 2 +- ...onstants_instancepopulationbracketsmany.py | 2 +- .../models/api_config_constants_language.py | 2 +- .../models/api_config_download_url_list.py | 2 +- vrchatapi/models/api_config_events.py | 2 +- ...onfig_min_supported_client_build_number.py | 2 +- .../models/api_config_offline_analysis.py | 2 +- .../models/api_config_report_categories.py | 2 +- vrchatapi/models/api_config_report_options.py | 2 +- .../api_config_report_options_avatar.py | 2 +- .../models/api_config_report_options_group.py | 2 +- .../models/api_config_report_options_user.py | 2 +- .../models/api_config_report_options_world.py | 2 +- vrchatapi/models/api_config_report_reasons.py | 2 +- vrchatapi/models/api_health.py | 2 +- vrchatapi/models/avatar.py | 2 +- vrchatapi/models/avatar_performance.py | 2 +- .../models/avatar_published_listings_inner.py | 2 +- vrchatapi/models/avatar_style.py | 2 +- vrchatapi/models/avatar_styles.py | 2 +- .../models/avatar_unity_package_url_object.py | 2 +- vrchatapi/models/badge.py | 2 +- vrchatapi/models/balance.py | 2 +- vrchatapi/models/ban_group_member_request.py | 2 +- vrchatapi/models/calendar_event.py | 793 ++++++++ .../models/calendar_event_user_interest.py | 183 ++ vrchatapi/models/change_user_tags_request.py | 2 +- vrchatapi/models/create_avatar_request.py | 2 +- .../models/create_calendar_event_request.py | 626 +++++++ vrchatapi/models/create_file_request.py | 2 +- .../models/create_file_version_request.py | 2 +- .../create_group_announcement_request.py | 2 +- .../models/create_group_gallery_request.py | 2 +- .../models/create_group_invite_request.py | 2 +- vrchatapi/models/create_group_post_request.py | 2 +- vrchatapi/models/create_group_request.py | 2 +- vrchatapi/models/create_group_role_request.py | 2 +- vrchatapi/models/create_instance_request.py | 2 +- vrchatapi/models/create_world_request.py | 2 +- vrchatapi/models/current_user.py | 2 +- .../current_user_platform_history_inner.py | 2 +- vrchatapi/models/current_user_presence.py | 2 +- vrchatapi/models/developer_type.py | 2 +- vrchatapi/models/disable2_fa_result.py | 2 +- vrchatapi/models/dynamic_content_row.py | 2 +- vrchatapi/models/error.py | 2 +- vrchatapi/models/favorite.py | 2 +- vrchatapi/models/favorite_group.py | 2 +- vrchatapi/models/favorite_group_limits.py | 2 +- vrchatapi/models/favorite_group_visibility.py | 2 +- vrchatapi/models/favorite_limits.py | 2 +- vrchatapi/models/favorite_type.py | 2 +- vrchatapi/models/favorited_world.py | 2 +- vrchatapi/models/feedback.py | 2 +- vrchatapi/models/file.py | 2 +- vrchatapi/models/file_analysis.py | 2 +- .../models/file_analysis_avatar_stats.py | 2 +- vrchatapi/models/file_data.py | 2 +- vrchatapi/models/file_status.py | 2 +- vrchatapi/models/file_upload_url.py | 2 +- vrchatapi/models/file_version.py | 2 +- .../models/file_version_upload_status.py | 2 +- .../models/finish_file_data_upload_request.py | 2 +- .../models/follow_calendar_event_request.py | 132 ++ vrchatapi/models/friend_status.py | 2 +- .../models/get_group_posts200_response.py | 2 +- .../get_user_group_instances200_response.py | 2 +- vrchatapi/models/group.py | 2 +- vrchatapi/models/group_access_type.py | 2 +- vrchatapi/models/group_announcement.py | 2 +- vrchatapi/models/group_audit_log_entry.py | 2 +- vrchatapi/models/group_gallery.py | 2 +- vrchatapi/models/group_gallery_image.py | 2 +- vrchatapi/models/group_instance.py | 2 +- vrchatapi/models/group_join_request_action.py | 2 +- vrchatapi/models/group_join_state.py | 2 +- vrchatapi/models/group_limited_member.py | 2 +- vrchatapi/models/group_member.py | 2 +- vrchatapi/models/group_member_limited_user.py | 2 +- vrchatapi/models/group_member_status.py | 2 +- vrchatapi/models/group_my_member.py | 2 +- vrchatapi/models/group_permission.py | 2 +- vrchatapi/models/group_permissions.py | 2 +- vrchatapi/models/group_post.py | 2 +- vrchatapi/models/group_post_visibility.py | 2 +- vrchatapi/models/group_privacy.py | 2 +- vrchatapi/models/group_role.py | 2 +- vrchatapi/models/group_role_template.py | 2 +- .../models/group_role_template_values.py | 2 +- .../group_role_template_values_roles.py | 2 +- vrchatapi/models/group_search_sort.py | 2 +- vrchatapi/models/group_user_visibility.py | 2 +- vrchatapi/models/info_push.py | 2 +- vrchatapi/models/info_push_data.py | 2 +- vrchatapi/models/info_push_data_article.py | 2 +- .../models/info_push_data_article_content.py | 2 +- vrchatapi/models/info_push_data_clickable.py | 2 +- vrchatapi/models/instance.py | 2 +- vrchatapi/models/instance_content_settings.py | 2 +- vrchatapi/models/instance_platforms.py | 2 +- vrchatapi/models/instance_region.py | 2 +- .../models/instance_short_name_response.py | 2 +- vrchatapi/models/instance_type.py | 2 +- vrchatapi/models/inventory.py | 2 +- vrchatapi/models/inventory_drop.py | 2 +- vrchatapi/models/inventory_item.py | 2 +- vrchatapi/models/inventory_item_type.py | 2 +- vrchatapi/models/inventory_metadata.py | 2 +- .../models/inventory_notification_details.py | 2 +- vrchatapi/models/inventory_spawn.py | 2 +- vrchatapi/models/inventory_template.py | 2 +- vrchatapi/models/invite_message.py | 2 +- vrchatapi/models/invite_message_type.py | 2 +- vrchatapi/models/invite_request.py | 2 +- vrchatapi/models/invite_response.py | 2 +- vrchatapi/models/jam.py | 2 +- vrchatapi/models/jam_state_change_dates.py | 2 +- vrchatapi/models/license.py | 2 +- vrchatapi/models/license_action.py | 2 +- vrchatapi/models/license_group.py | 2 +- vrchatapi/models/license_type.py | 2 +- vrchatapi/models/limited_group.py | 2 +- vrchatapi/models/limited_unity_package.py | 2 +- vrchatapi/models/limited_user_friend.py | 2 +- vrchatapi/models/limited_user_groups.py | 2 +- vrchatapi/models/limited_user_instance.py | 2 +- vrchatapi/models/limited_user_search.py | 2 +- vrchatapi/models/limited_world.py | 2 +- vrchatapi/models/mime_type.py | 2 +- vrchatapi/models/model_print.py | 2 +- vrchatapi/models/moderate_user_request.py | 2 +- vrchatapi/models/notification.py | 2 +- .../models/notification_detail_invite.py | 2 +- .../notification_detail_invite_response.py | 2 +- .../notification_detail_request_invite.py | 2 +- ...fication_detail_request_invite_response.py | 2 +- .../notification_detail_vote_to_kick.py | 2 +- vrchatapi/models/notification_type.py | 2 +- vrchatapi/models/order_option.py | 2 +- .../models/paginated_calendar_event_list.py | 189 ++ .../paginated_group_audit_log_entry_list.py | 2 +- vrchatapi/models/past_display_name.py | 2 +- vrchatapi/models/pending2_fa_result.py | 2 +- vrchatapi/models/performance_limiter_info.py | 2 +- vrchatapi/models/performance_ratings.py | 2 +- vrchatapi/models/permission.py | 2 +- vrchatapi/models/platform_build_info.py | 2 +- vrchatapi/models/player_moderation.py | 2 +- vrchatapi/models/player_moderation_type.py | 2 +- vrchatapi/models/print_files.py | 2 +- vrchatapi/models/product.py | 2 +- vrchatapi/models/product_listing.py | 2 +- vrchatapi/models/product_listing_type.py | 2 +- vrchatapi/models/product_listing_variant.py | 2 +- vrchatapi/models/product_type.py | 2 +- vrchatapi/models/prop.py | 2 +- vrchatapi/models/prop_unity_package.py | 2 +- vrchatapi/models/region.py | 2 +- .../models/register_user_account_request.py | 2 +- vrchatapi/models/release_status.py | 2 +- vrchatapi/models/report_category.py | 2 +- vrchatapi/models/report_reason.py | 2 +- vrchatapi/models/represented_group.py | 2 +- vrchatapi/models/request_invite_request.py | 2 +- .../models/respond_group_join_request.py | 2 +- vrchatapi/models/response.py | 2 +- vrchatapi/models/sent_notification.py | 2 +- vrchatapi/models/service_queue_stats.py | 2 +- vrchatapi/models/service_status.py | 2 +- vrchatapi/models/sort_option.py | 2 +- vrchatapi/models/submission.py | 2 +- vrchatapi/models/subscription.py | 2 +- vrchatapi/models/subscription_period.py | 2 +- vrchatapi/models/success.py | 2 +- vrchatapi/models/tilia_status.py | 2 +- vrchatapi/models/tilia_tos.py | 2 +- vrchatapi/models/token_bundle.py | 2 +- vrchatapi/models/transaction.py | 2 +- vrchatapi/models/transaction_agreement.py | 2 +- vrchatapi/models/transaction_status.py | 2 +- vrchatapi/models/transaction_steam_info.py | 2 +- .../models/transaction_steam_wallet_info.py | 2 +- vrchatapi/models/two_factor_auth_code.py | 2 +- vrchatapi/models/two_factor_email_code.py | 2 +- vrchatapi/models/two_factor_recovery_codes.py | 2 +- .../two_factor_recovery_codes_otp_inner.py | 2 +- vrchatapi/models/unity_package.py | 2 +- vrchatapi/models/update_avatar_request.py | 2 +- .../models/update_calendar_event_request.py | 587 ++++++ .../models/update_favorite_group_request.py | 2 +- .../models/update_group_gallery_request.py | 2 +- .../models/update_group_member_request.py | 2 +- .../update_group_representation_request.py | 2 +- vrchatapi/models/update_group_request.py | 2 +- vrchatapi/models/update_group_role_request.py | 2 +- .../models/update_invite_message_request.py | 2 +- vrchatapi/models/update_user_badge_request.py | 2 +- vrchatapi/models/update_user_note_request.py | 2 +- vrchatapi/models/update_user_request.py | 2 +- vrchatapi/models/update_world_request.py | 2 +- vrchatapi/models/user.py | 2 +- vrchatapi/models/user_exists.py | 2 +- vrchatapi/models/user_note.py | 2 +- vrchatapi/models/user_note_target_user.py | 2 +- vrchatapi/models/user_state.py | 2 +- vrchatapi/models/user_status.py | 2 +- vrchatapi/models/user_subscription.py | 2 +- .../models/verify2_fa_email_code_result.py | 2 +- vrchatapi/models/verify2_fa_result.py | 2 +- vrchatapi/models/verify_auth_token_result.py | 2 +- vrchatapi/models/world.py | 2 +- vrchatapi/models/world_metadata.py | 2 +- vrchatapi/models/world_publish_status.py | 2 +- vrchatapi/rest.py | 2 +- 265 files changed, 5391 insertions(+), 368 deletions(-) create mode 100644 docs/CalendarApi.md create mode 100644 docs/CalendarEvent.md create mode 100644 docs/CalendarEventUserInterest.md create mode 100644 docs/CreateCalendarEventRequest.md create mode 100644 docs/FollowCalendarEventRequest.md create mode 100644 docs/PaginatedCalendarEventList.md create mode 100644 docs/UpdateCalendarEventRequest.md create mode 100644 vrchatapi/api/calendar_api.py create mode 100644 vrchatapi/models/calendar_event.py create mode 100644 vrchatapi/models/calendar_event_user_interest.py create mode 100644 vrchatapi/models/create_calendar_event_request.py create mode 100644 vrchatapi/models/follow_calendar_event_request.py create mode 100644 vrchatapi/models/paginated_calendar_event_list.py create mode 100644 vrchatapi/models/update_calendar_event_request.py diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index c4ef5995..8706bb23 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -40,8 +40,12 @@ docs/AvatarsApi.md docs/Badge.md docs/Balance.md docs/BanGroupMemberRequest.md +docs/CalendarApi.md +docs/CalendarEvent.md +docs/CalendarEventUserInterest.md docs/ChangeUserTagsRequest.md docs/CreateAvatarRequest.md +docs/CreateCalendarEventRequest.md docs/CreateFileRequest.md docs/CreateFileVersionRequest.md docs/CreateGroupAnnouncementRequest.md @@ -79,6 +83,7 @@ docs/FileVersion.md docs/FileVersionUploadStatus.md docs/FilesApi.md docs/FinishFileDataUploadRequest.md +docs/FollowCalendarEventRequest.md docs/FriendStatus.md docs/FriendsApi.md docs/GetGroupPosts200Response.md @@ -162,6 +167,7 @@ docs/NotificationDetailVoteToKick.md docs/NotificationType.md docs/NotificationsApi.md docs/OrderOption.md +docs/PaginatedCalendarEventList.md docs/PaginatedGroupAuditLogEntryList.md docs/PastDisplayName.md docs/Pending2FAResult.md @@ -213,6 +219,7 @@ docs/TwoFactorRecoveryCodes.md docs/TwoFactorRecoveryCodesOtpInner.md docs/UnityPackage.md docs/UpdateAvatarRequest.md +docs/UpdateCalendarEventRequest.md docs/UpdateFavoriteGroupRequest.md docs/UpdateGroupGalleryRequest.md docs/UpdateGroupMemberRequest.md @@ -249,6 +256,7 @@ vrchatapi/__init__.py vrchatapi/api/__init__.py vrchatapi/api/authentication_api.py vrchatapi/api/avatars_api.py +vrchatapi/api/calendar_api.py vrchatapi/api/economy_api.py vrchatapi/api/favorites_api.py vrchatapi/api/files_api.py @@ -308,8 +316,11 @@ vrchatapi/models/avatar_unity_package_url_object.py vrchatapi/models/badge.py vrchatapi/models/balance.py vrchatapi/models/ban_group_member_request.py +vrchatapi/models/calendar_event.py +vrchatapi/models/calendar_event_user_interest.py vrchatapi/models/change_user_tags_request.py vrchatapi/models/create_avatar_request.py +vrchatapi/models/create_calendar_event_request.py vrchatapi/models/create_file_request.py vrchatapi/models/create_file_version_request.py vrchatapi/models/create_group_announcement_request.py @@ -344,6 +355,7 @@ vrchatapi/models/file_upload_url.py vrchatapi/models/file_version.py vrchatapi/models/file_version_upload_status.py vrchatapi/models/finish_file_data_upload_request.py +vrchatapi/models/follow_calendar_event_request.py vrchatapi/models/friend_status.py vrchatapi/models/get_group_posts200_response.py vrchatapi/models/get_user_group_instances200_response.py @@ -419,6 +431,7 @@ vrchatapi/models/notification_detail_request_invite_response.py vrchatapi/models/notification_detail_vote_to_kick.py vrchatapi/models/notification_type.py vrchatapi/models/order_option.py +vrchatapi/models/paginated_calendar_event_list.py vrchatapi/models/paginated_group_audit_log_entry_list.py vrchatapi/models/past_display_name.py vrchatapi/models/pending2_fa_result.py @@ -467,6 +480,7 @@ vrchatapi/models/two_factor_recovery_codes.py vrchatapi/models/two_factor_recovery_codes_otp_inner.py vrchatapi/models/unity_package.py vrchatapi/models/update_avatar_request.py +vrchatapi/models/update_calendar_event_request.py vrchatapi/models/update_favorite_group_request.py vrchatapi/models/update_group_gallery_request.py vrchatapi/models/update_group_member_request.py diff --git a/docs/CalendarApi.md b/docs/CalendarApi.md new file mode 100644 index 00000000..dbd53e48 --- /dev/null +++ b/docs/CalendarApi.md @@ -0,0 +1,782 @@ +# vrchatapi.CalendarApi + +All URIs are relative to *https://api.vrchat.cloud/api/1* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**create_group_calendar_event**](CalendarApi.md#create_group_calendar_event) | **POST** /calendar/{groupId}/event | Create a calendar event +[**delete_group_calendar_event**](CalendarApi.md#delete_group_calendar_event) | **DELETE** /calendar/{groupId}/{calendarId} | Delete a calendar event +[**follow_group_calendar_event**](CalendarApi.md#follow_group_calendar_event) | **POST** /calendar/{groupId}/{calendarId}/follow | Follow a calendar event +[**get_calendar_events**](CalendarApi.md#get_calendar_events) | **GET** /calendar | List calendar events +[**get_featured_calendar_events**](CalendarApi.md#get_featured_calendar_events) | **GET** /calendar/featured | List featured calendar events +[**get_followed_calendar_events**](CalendarApi.md#get_followed_calendar_events) | **GET** /calendar/following | List followed calendar events +[**get_group_calendar_event**](CalendarApi.md#get_group_calendar_event) | **GET** /calendar/{groupId}/{calendarId} | Get a calendar event +[**get_group_calendar_event_ics**](CalendarApi.md#get_group_calendar_event_ics) | **GET** /calendar/{groupId}/{calendarId}.ics | Download calendar event as ICS +[**get_group_calendar_events**](CalendarApi.md#get_group_calendar_events) | **GET** /calendar/{groupId} | List a group's calendar events +[**update_group_calendar_event**](CalendarApi.md#update_group_calendar_event) | **PUT** /calendar/{groupId}/{calendarId}/event | Update a calendar event + + +# **create_group_calendar_event** +> CalendarEvent create_group_calendar_event(group_id, create_calendar_event_request) + +Create a calendar event + +Creates an event for a group on the calendar + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.CalendarApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +create_calendar_event_request = vrchatapi.CreateCalendarEventRequest() # CreateCalendarEventRequest | + + try: + # Create a calendar event + api_response = api_instance.create_group_calendar_event(group_id, create_calendar_event_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling CalendarApi->create_group_calendar_event: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **create_calendar_event_request** | [**CreateCalendarEventRequest**](CreateCalendarEventRequest.md)| | + +### Return type + +[**CalendarEvent**](CalendarEvent.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single CalendarEvent object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_group_calendar_event** +> Success delete_group_calendar_event(group_id, calendar_id) + +Delete a calendar event + +Delete a group calendar event + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.CalendarApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +calendar_id = 'cal_00000000-0000-0000-0000-000000000000' # str | Must be a valid calendar ID. + + try: + # Delete a calendar event + api_response = api_instance.delete_group_calendar_event(group_id, calendar_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling CalendarApi->delete_group_calendar_event: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **calendar_id** | **str**| Must be a valid calendar ID. | + +### Return type + +[**Success**](Success.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response after deleting a calendar event. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **follow_group_calendar_event** +> CalendarEvent follow_group_calendar_event(group_id, calendar_id, follow_calendar_event_request) + +Follow a calendar event + +Follow or unfollow an event on a group's calendar + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.CalendarApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +calendar_id = 'cal_00000000-0000-0000-0000-000000000000' # str | Must be a valid calendar ID. +follow_calendar_event_request = vrchatapi.FollowCalendarEventRequest() # FollowCalendarEventRequest | + + try: + # Follow a calendar event + api_response = api_instance.follow_group_calendar_event(group_id, calendar_id, follow_calendar_event_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling CalendarApi->follow_group_calendar_event: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **calendar_id** | **str**| Must be a valid calendar ID. | + **follow_calendar_event_request** | [**FollowCalendarEventRequest**](FollowCalendarEventRequest.md)| | + +### Return type + +[**CalendarEvent**](CalendarEvent.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single CalendarEvent object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_calendar_events** +> PaginatedCalendarEventList get_calendar_events(date=date, n=n, offset=offset) + +List calendar events + +Get a list of a user's calendar events for the month in ?date + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.CalendarApi(api_client) + date = '2013-10-20T19:20:30+01:00' # datetime | The month to search in. (optional) +n = 60 # int | The number of objects to return. (optional) (default to 60) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) + + try: + # List calendar events + api_response = api_instance.get_calendar_events(date=date, n=n, offset=offset) + pprint(api_response) + except ApiException as e: + print("Exception when calling CalendarApi->get_calendar_events: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **date** | **datetime**| The month to search in. | [optional] + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + +### Return type + +[**PaginatedCalendarEventList**](PaginatedCalendarEventList.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of CalendarEvent objects. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_featured_calendar_events** +> PaginatedCalendarEventList get_featured_calendar_events(date=date, n=n, offset=offset) + +List featured calendar events + +Get a list of a featured calendar events for the month in ?date + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.CalendarApi(api_client) + date = '2013-10-20T19:20:30+01:00' # datetime | The month to search in. (optional) +n = 60 # int | The number of objects to return. (optional) (default to 60) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) + + try: + # List featured calendar events + api_response = api_instance.get_featured_calendar_events(date=date, n=n, offset=offset) + pprint(api_response) + except ApiException as e: + print("Exception when calling CalendarApi->get_featured_calendar_events: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **date** | **datetime**| The month to search in. | [optional] + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + +### Return type + +[**PaginatedCalendarEventList**](PaginatedCalendarEventList.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of CalendarEvent objects. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_followed_calendar_events** +> PaginatedCalendarEventList get_followed_calendar_events(date=date, n=n, offset=offset) + +List followed calendar events + +Get a list of a followed calendar events for the month in ?date + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.CalendarApi(api_client) + date = '2013-10-20T19:20:30+01:00' # datetime | The month to search in. (optional) +n = 60 # int | The number of objects to return. (optional) (default to 60) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) + + try: + # List followed calendar events + api_response = api_instance.get_followed_calendar_events(date=date, n=n, offset=offset) + pprint(api_response) + except ApiException as e: + print("Exception when calling CalendarApi->get_followed_calendar_events: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **date** | **datetime**| The month to search in. | [optional] + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + +### Return type + +[**PaginatedCalendarEventList**](PaginatedCalendarEventList.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of CalendarEvent objects. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_group_calendar_event** +> CalendarEvent get_group_calendar_event(group_id, calendar_id) + +Get a calendar event + +Get a group calendar event + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.CalendarApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +calendar_id = 'cal_00000000-0000-0000-0000-000000000000' # str | Must be a valid calendar ID. + + try: + # Get a calendar event + api_response = api_instance.get_group_calendar_event(group_id, calendar_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling CalendarApi->get_group_calendar_event: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **calendar_id** | **str**| Must be a valid calendar ID. | + +### Return type + +[**CalendarEvent**](CalendarEvent.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single CalendarEvent object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_group_calendar_event_ics** +> file get_group_calendar_event_ics(group_id, calendar_id) + +Download calendar event as ICS + +Returns the specified calendar in iCalendar (ICS) format. + +### Example + +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient() as api_client: + # Create an instance of the API class + api_instance = vrchatapi.CalendarApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +calendar_id = 'cal_00000000-0000-0000-0000-000000000000' # str | Must be a valid calendar ID. + + try: + # Download calendar event as ICS + api_response = api_instance.get_group_calendar_event_ics(group_id, calendar_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling CalendarApi->get_group_calendar_event_ics: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **calendar_id** | **str**| Must be a valid calendar ID. | + +### Return type + +**file** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: text/calendar, application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | iCalendar file download | - | +**401** | Error response due to missing auth cookie. | - | +**404** | Error response when trying to download ICS calendar of a non-existent calendar entry. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_group_calendar_events** +> PaginatedCalendarEventList get_group_calendar_events(group_id, date=date, n=n, offset=offset) + +List a group's calendar events + +Get a list of a group's calendar events + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.CalendarApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +date = '2013-10-20T19:20:30+01:00' # datetime | The month to search in. (optional) +n = 60 # int | The number of objects to return. (optional) (default to 60) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) + + try: + # List a group's calendar events + api_response = api_instance.get_group_calendar_events(group_id, date=date, n=n, offset=offset) + pprint(api_response) + except ApiException as e: + print("Exception when calling CalendarApi->get_group_calendar_events: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **date** | **datetime**| The month to search in. | [optional] + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + +### Return type + +[**PaginatedCalendarEventList**](PaginatedCalendarEventList.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of CalendarEvent objects. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **update_group_calendar_event** +> CalendarEvent update_group_calendar_event(group_id, calendar_id, update_calendar_event_request) + +Update a calendar event + +Updates an event for a group on the calendar + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.CalendarApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +calendar_id = 'cal_00000000-0000-0000-0000-000000000000' # str | Must be a valid calendar ID. +update_calendar_event_request = vrchatapi.UpdateCalendarEventRequest() # UpdateCalendarEventRequest | + + try: + # Update a calendar event + api_response = api_instance.update_group_calendar_event(group_id, calendar_id, update_calendar_event_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling CalendarApi->update_group_calendar_event: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **calendar_id** | **str**| Must be a valid calendar ID. | + **update_calendar_event_request** | [**UpdateCalendarEventRequest**](UpdateCalendarEventRequest.md)| | + +### Return type + +[**CalendarEvent**](CalendarEvent.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single CalendarEvent object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/CalendarEvent.md b/docs/CalendarEvent.md new file mode 100644 index 00000000..738fbba8 --- /dev/null +++ b/docs/CalendarEvent.md @@ -0,0 +1,37 @@ +# CalendarEvent + + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**access_type** | **str** | | +**category** | **str** | | [optional] +**close_instance_after_end_minutes** | **int** | | [optional] +**created_at** | **datetime** | | +**deleted_at** | **datetime** | | [optional] +**description** | **str** | | [optional] +**ends_at** | **datetime** | | [optional] +**featured** | **bool** | | [optional] +**guest_early_join_minutes** | **int** | | [optional] +**host_early_join_minutes** | **int** | | [optional] +**id** | **str** | | +**image_id** | **str** | | [optional] +**image_url** | **str** | | [optional] +**interested_user_count** | **int** | | [optional] +**is_draft** | **bool** | | [optional] +**languages** | **list[str]** | | [optional] +**owner_id** | **str** | | [optional] +**platforms** | **list[str]** | | [optional] +**role_ids** | **list[str]** | | [optional] +**starts_at** | **datetime** | | [optional] +**tags** | **list[str]** | | [optional] +**title** | **str** | | +**type** | **str** | | [optional] +**updated_at** | **datetime** | | [optional] +**uses_instance_overflow** | **bool** | | [optional] +**user_interest** | [**CalendarEventUserInterest**](CalendarEventUserInterest.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CalendarEventUserInterest.md b/docs/CalendarEventUserInterest.md new file mode 100644 index 00000000..b6e51e5a --- /dev/null +++ b/docs/CalendarEventUserInterest.md @@ -0,0 +1,13 @@ +# CalendarEventUserInterest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**created_at** | **datetime** | | [optional] +**is_following** | **bool** | | [optional] +**updated_at** | **datetime** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CreateCalendarEventRequest.md b/docs/CreateCalendarEventRequest.md new file mode 100644 index 00000000..564bb83c --- /dev/null +++ b/docs/CreateCalendarEventRequest.md @@ -0,0 +1,29 @@ +# CreateCalendarEventRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**title** | **str** | Event title | +**starts_at** | **datetime** | Time the event starts at | +**description** | **str** | | +**ends_at** | **datetime** | Time the event ends at | +**category** | **str** | | +**tags** | **list[str]** | | [optional] +**is_draft** | **bool** | | [optional] +**image_id** | **str** | | [optional] +**role_ids** | **list[str]** | | [optional] +**parent_id** | **str** | | [optional] +**platforms** | **list[str]** | | [optional] +**languages** | **list[str]** | | [optional] +**send_creation_notification** | **bool** | Send notification to group members. | +**featured** | **bool** | | [optional] +**host_early_join_minutes** | **int** | | [optional] +**guest_early_join_minutes** | **int** | | [optional] +**close_instance_after_end_minutes** | **int** | | [optional] +**uses_instance_overflow** | **bool** | | [optional] +**access_type** | **str** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FollowCalendarEventRequest.md b/docs/FollowCalendarEventRequest.md new file mode 100644 index 00000000..85b4a3e0 --- /dev/null +++ b/docs/FollowCalendarEventRequest.md @@ -0,0 +1,11 @@ +# FollowCalendarEventRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**is_following** | **bool** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/PaginatedCalendarEventList.md b/docs/PaginatedCalendarEventList.md new file mode 100644 index 00000000..7d1dc084 --- /dev/null +++ b/docs/PaginatedCalendarEventList.md @@ -0,0 +1,13 @@ +# PaginatedCalendarEventList + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**results** | [**list[CalendarEvent]**](CalendarEvent.md) | | [optional] +**total_count** | **int** | The total number of results that the query would return if there were no pagination. | [optional] +**has_next** | **bool** | Whether there are more results after this page. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/UpdateCalendarEventRequest.md b/docs/UpdateCalendarEventRequest.md new file mode 100644 index 00000000..88dcc77b --- /dev/null +++ b/docs/UpdateCalendarEventRequest.md @@ -0,0 +1,28 @@ +# UpdateCalendarEventRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**title** | **str** | Event title | [optional] +**starts_at** | **datetime** | Time the vent starts at | [optional] +**description** | **str** | | [optional] +**ends_at** | **datetime** | Time the vent starts at | [optional] +**category** | **str** | | [optional] +**tags** | **list[str]** | | [optional] +**is_draft** | **bool** | | [optional] +**image_id** | **str** | | [optional] +**role_ids** | **list[str]** | | [optional] +**parent_id** | **str** | | [optional] +**platforms** | **list[str]** | | [optional] +**languages** | **list[str]** | | [optional] +**send_creation_notification** | **bool** | Send notification to group members. | [optional] [default to False] +**featured** | **bool** | | [optional] +**host_early_join_minutes** | **int** | | [optional] +**guest_early_join_minutes** | **int** | | [optional] +**close_instance_after_end_minutes** | **int** | | [optional] +**uses_instance_overflow** | **bool** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/package-lock.json b/package-lock.json index 9436377b..6cee9cfe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,7 +5,27 @@ "packages": { "": { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.21.4" + "@openapitools/openapi-generator-cli": "^2.22.0" + } + }, + "node_modules/@inquirer/external-editor": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-1.0.1.tgz", + "integrity": "sha512-Oau4yL24d2B5IL4ma4UpbQigkVhzPDXLoqy1ggK4gnHg/stmkffJE4oOXHXF3uz0UEpywG68KcyXsyYpA1Re/Q==", + "dependencies": { + "chardet": "^2.1.0", + "iconv-lite": "^0.6.3" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, "node_modules/@isaacs/balanced-match": { @@ -108,9 +128,9 @@ } }, "node_modules/@nestjs/common": { - "version": "11.1.5", - "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-11.1.5.tgz", - "integrity": "sha512-DQpWdr3ShO0BHWkHl3I4W/jR6R3pDtxyBlmrpTuZF+PXxQyBXNvsUne0Wyo6QHPEDi+pAz9XchBFoKbqOhcdTg==", + "version": "11.1.6", + "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-11.1.6.tgz", + "integrity": "sha512-krKwLLcFmeuKDqngG2N/RuZHCs2ycsKcxWIDgcm7i1lf3sQ0iG03ci+DsP/r3FcT/eJDFsIHnKtNta2LIi7PzQ==", "dependencies": { "file-type": "21.0.0", "iterare": "1.2.1", @@ -138,9 +158,9 @@ } }, "node_modules/@nestjs/core": { - "version": "11.1.5", - "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-11.1.5.tgz", - "integrity": "sha512-Qr25MEY9t8VsMETy7eXQ0cNXqu0lzuFrrTr+f+1G57ABCtV5Pogm7n9bF71OU2bnkDD32Bi4hQLeFR90cku3Tw==", + "version": "11.1.6", + "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-11.1.6.tgz", + "integrity": "sha512-siWX7UDgErisW18VTeJA+x+/tpNZrJewjTBsRPF3JVxuWRuAB1kRoiJcxHgln8Lb5UY9NdvklITR84DUEXD0Cg==", "hasInstallScript": true, "dependencies": { "@nuxt/opencollective": "0.4.1", @@ -215,14 +235,14 @@ "integrity": "sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw==" }, "node_modules/@openapitools/openapi-generator-cli": { - "version": "2.21.4", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.21.4.tgz", - "integrity": "sha512-s2OBgiNml0DL0ebkvAMQxZi7c8SUQMHssTUJwWsFDv4kVtBVDV4UzsCh9gQEXlNjuEcEgZoa5BIOai2sT0sE8g==", + "version": "2.22.0", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.22.0.tgz", + "integrity": "sha512-HdjSiKsXpbnXBcSCnft494fv5pFZxPKFAV1eR+yMjo3bt1ONLb7OGy1D/5SrbjRfy9b82JcYUJ3gssh49suWKg==", "hasInstallScript": true, "dependencies": { "@nestjs/axios": "4.0.1", - "@nestjs/common": "11.1.5", - "@nestjs/core": "11.1.5", + "@nestjs/common": "11.1.6", + "@nestjs/core": "11.1.6", "@nuxtjs/opencollective": "0.3.2", "axios": "1.11.0", "chalk": "4.1.2", @@ -230,10 +250,9 @@ "compare-versions": "4.1.4", "concurrently": "9.2.0", "console.table": "0.10.0", - "fs-extra": "11.3.0", + "fs-extra": "11.3.1", "glob": "11.0.3", - "inquirer": "8.2.6", - "lodash": "4.17.21", + "inquirer": "8.2.7", "proxy-agent": "6.5.0", "reflect-metadata": "0.2.2", "rxjs": "7.8.2", @@ -435,9 +454,9 @@ } }, "node_modules/chardet": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", - "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==" + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/chardet/-/chardet-2.1.0.tgz", + "integrity": "sha512-bNFETTG/pM5ryzQ9Ad0lJOTa6HWD/YsScAR3EnCPZRPlQh77JocYktSHOUHelyhm8IARL+o4c4F1bP5KVOjiRA==" }, "node_modules/cli-cursor": { "version": "3.1.0", @@ -805,19 +824,6 @@ "node": ">=0.10.0" } }, - "node_modules/external-editor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", - "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", - "dependencies": { - "chardet": "^0.7.0", - "iconv-lite": "^0.4.24", - "tmp": "^0.0.33" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/fast-safe-stringify": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz", @@ -920,9 +926,9 @@ } }, "node_modules/fs-extra": { - "version": "11.3.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.0.tgz", - "integrity": "sha512-Z4XaCL6dUDHfP/jT25jJKMmtxvuwbkrD1vNSMFlo9lNLY2c5FHYSQgHPRZUjAB26TpDEoW9HCOgplrdbaPV/ew==", + "version": "11.3.1", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.1.tgz", + "integrity": "sha512-eXvGGwZ5CL17ZSwHWd3bbgk7UUpF6IFHtP57NYYakPvHOs8GDgDe5KJI36jIJzDkJ6eJjuzRA8eBQb6SkKue0g==", "dependencies": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", @@ -1103,11 +1109,11 @@ } }, "node_modules/iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", "dependencies": { - "safer-buffer": ">= 2.1.2 < 3" + "safer-buffer": ">= 2.1.2 < 3.0.0" }, "engines": { "node": ">=0.10.0" @@ -1138,15 +1144,15 @@ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" }, "node_modules/inquirer": { - "version": "8.2.6", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.6.tgz", - "integrity": "sha512-M1WuAmb7pn9zdFRtQYk26ZBoY043Sse0wVDdk4Bppr+JOXyQYybdtvK+l9wUibhtjdjvtoiNy8tk+EgsYIUqKg==", + "version": "8.2.7", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.7.tgz", + "integrity": "sha512-UjOaSel/iddGZJ5xP/Eixh6dY1XghiBw4XK13rCCIJcJfyhhoul/7KhLLUGtebEj6GDYM6Vnx/mVsjx2L/mFIA==", "dependencies": { + "@inquirer/external-editor": "^1.0.0", "ansi-escapes": "^4.2.1", "chalk": "^4.1.1", "cli-cursor": "^3.1.0", "cli-width": "^3.0.0", - "external-editor": "^3.0.3", "figures": "^3.0.0", "lodash": "^4.17.21", "mute-stream": "0.0.8", @@ -1247,9 +1253,9 @@ "integrity": "sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A==" }, "node_modules/jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.2.0.tgz", + "integrity": "sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg==", "dependencies": { "universalify": "^2.0.0" }, @@ -1433,14 +1439,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/os-tmpdir": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", - "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/pac-proxy-agent": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-7.2.0.tgz", @@ -1789,17 +1787,6 @@ "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==" }, - "node_modules/tmp": { - "version": "0.0.33", - "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", - "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", - "dependencies": { - "os-tmpdir": "~1.0.2" - }, - "engines": { - "node": ">=0.6.0" - } - }, "node_modules/token-types": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/token-types/-/token-types-6.0.3.tgz", @@ -2041,6 +2028,15 @@ } }, "dependencies": { + "@inquirer/external-editor": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-1.0.1.tgz", + "integrity": "sha512-Oau4yL24d2B5IL4ma4UpbQigkVhzPDXLoqy1ggK4gnHg/stmkffJE4oOXHXF3uz0UEpywG68KcyXsyYpA1Re/Q==", + "requires": { + "chardet": "^2.1.0", + "iconv-lite": "^0.6.3" + } + }, "@isaacs/balanced-match": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/@isaacs/balanced-match/-/balanced-match-4.0.1.tgz", @@ -2109,9 +2105,9 @@ "requires": {} }, "@nestjs/common": { - "version": "11.1.5", - "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-11.1.5.tgz", - "integrity": "sha512-DQpWdr3ShO0BHWkHl3I4W/jR6R3pDtxyBlmrpTuZF+PXxQyBXNvsUne0Wyo6QHPEDi+pAz9XchBFoKbqOhcdTg==", + "version": "11.1.6", + "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-11.1.6.tgz", + "integrity": "sha512-krKwLLcFmeuKDqngG2N/RuZHCs2ycsKcxWIDgcm7i1lf3sQ0iG03ci+DsP/r3FcT/eJDFsIHnKtNta2LIi7PzQ==", "requires": { "file-type": "21.0.0", "iterare": "1.2.1", @@ -2121,9 +2117,9 @@ } }, "@nestjs/core": { - "version": "11.1.5", - "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-11.1.5.tgz", - "integrity": "sha512-Qr25MEY9t8VsMETy7eXQ0cNXqu0lzuFrrTr+f+1G57ABCtV5Pogm7n9bF71OU2bnkDD32Bi4hQLeFR90cku3Tw==", + "version": "11.1.6", + "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-11.1.6.tgz", + "integrity": "sha512-siWX7UDgErisW18VTeJA+x+/tpNZrJewjTBsRPF3JVxuWRuAB1kRoiJcxHgln8Lb5UY9NdvklITR84DUEXD0Cg==", "requires": { "@nuxt/opencollective": "0.4.1", "fast-safe-stringify": "2.1.1", @@ -2159,13 +2155,13 @@ } }, "@openapitools/openapi-generator-cli": { - "version": "2.21.4", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.21.4.tgz", - "integrity": "sha512-s2OBgiNml0DL0ebkvAMQxZi7c8SUQMHssTUJwWsFDv4kVtBVDV4UzsCh9gQEXlNjuEcEgZoa5BIOai2sT0sE8g==", + "version": "2.22.0", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.22.0.tgz", + "integrity": "sha512-HdjSiKsXpbnXBcSCnft494fv5pFZxPKFAV1eR+yMjo3bt1ONLb7OGy1D/5SrbjRfy9b82JcYUJ3gssh49suWKg==", "requires": { "@nestjs/axios": "4.0.1", - "@nestjs/common": "11.1.5", - "@nestjs/core": "11.1.5", + "@nestjs/common": "11.1.6", + "@nestjs/core": "11.1.6", "@nuxtjs/opencollective": "0.3.2", "axios": "1.11.0", "chalk": "4.1.2", @@ -2173,10 +2169,9 @@ "compare-versions": "4.1.4", "concurrently": "9.2.0", "console.table": "0.10.0", - "fs-extra": "11.3.0", + "fs-extra": "11.3.1", "glob": "11.0.3", - "inquirer": "8.2.6", - "lodash": "4.17.21", + "inquirer": "8.2.7", "proxy-agent": "6.5.0", "reflect-metadata": "0.2.2", "rxjs": "7.8.2", @@ -2300,9 +2295,9 @@ } }, "chardet": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", - "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==" + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/chardet/-/chardet-2.1.0.tgz", + "integrity": "sha512-bNFETTG/pM5ryzQ9Ad0lJOTa6HWD/YsScAR3EnCPZRPlQh77JocYktSHOUHelyhm8IARL+o4c4F1bP5KVOjiRA==" }, "cli-cursor": { "version": "3.1.0", @@ -2556,16 +2551,6 @@ "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==" }, - "external-editor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", - "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", - "requires": { - "chardet": "^0.7.0", - "iconv-lite": "^0.4.24", - "tmp": "^0.0.33" - } - }, "fast-safe-stringify": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz", @@ -2629,9 +2614,9 @@ } }, "fs-extra": { - "version": "11.3.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.0.tgz", - "integrity": "sha512-Z4XaCL6dUDHfP/jT25jJKMmtxvuwbkrD1vNSMFlo9lNLY2c5FHYSQgHPRZUjAB26TpDEoW9HCOgplrdbaPV/ew==", + "version": "11.3.1", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.1.tgz", + "integrity": "sha512-eXvGGwZ5CL17ZSwHWd3bbgk7UUpF6IFHtP57NYYakPvHOs8GDgDe5KJI36jIJzDkJ6eJjuzRA8eBQb6SkKue0g==", "requires": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", @@ -2752,11 +2737,11 @@ } }, "iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", "requires": { - "safer-buffer": ">= 2.1.2 < 3" + "safer-buffer": ">= 2.1.2 < 3.0.0" } }, "ieee754": { @@ -2770,15 +2755,15 @@ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" }, "inquirer": { - "version": "8.2.6", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.6.tgz", - "integrity": "sha512-M1WuAmb7pn9zdFRtQYk26ZBoY043Sse0wVDdk4Bppr+JOXyQYybdtvK+l9wUibhtjdjvtoiNy8tk+EgsYIUqKg==", + "version": "8.2.7", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.7.tgz", + "integrity": "sha512-UjOaSel/iddGZJ5xP/Eixh6dY1XghiBw4XK13rCCIJcJfyhhoul/7KhLLUGtebEj6GDYM6Vnx/mVsjx2L/mFIA==", "requires": { + "@inquirer/external-editor": "^1.0.0", "ansi-escapes": "^4.2.1", "chalk": "^4.1.1", "cli-cursor": "^3.1.0", "cli-width": "^3.0.0", - "external-editor": "^3.0.3", "figures": "^3.0.0", "lodash": "^4.17.21", "mute-stream": "0.0.8", @@ -2851,9 +2836,9 @@ "integrity": "sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A==" }, "jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.2.0.tgz", + "integrity": "sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg==", "requires": { "graceful-fs": "^4.1.6", "universalify": "^2.0.0" @@ -2966,11 +2951,6 @@ "wcwidth": "^1.0.1" } }, - "os-tmpdir": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", - "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==" - }, "pac-proxy-agent": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-7.2.0.tgz", @@ -3221,14 +3201,6 @@ "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==" }, - "tmp": { - "version": "0.0.33", - "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", - "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", - "requires": { - "os-tmpdir": "~1.0.2" - } - }, "token-types": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/token-types/-/token-types-6.0.3.tgz", diff --git a/package.json b/package.json index 7a9c8cb3..12cdf6cf 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.21.4" + "@openapitools/openapi-generator-cli": "^2.22.0" } } diff --git a/setup.py b/setup.py index 0e097518..99226783 100644 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.20.1" +VERSION = "1.20.2" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 54baf14f..160fa147 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,7 +6,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -19,6 +19,7 @@ # import apis into sdk package from vrchatapi.api.authentication_api import AuthenticationApi from vrchatapi.api.avatars_api import AvatarsApi +from vrchatapi.api.calendar_api import CalendarApi from vrchatapi.api.economy_api import EconomyApi from vrchatapi.api.favorites_api import FavoritesApi from vrchatapi.api.files_api import FilesApi @@ -85,8 +86,11 @@ from vrchatapi.models.badge import Badge from vrchatapi.models.balance import Balance from vrchatapi.models.ban_group_member_request import BanGroupMemberRequest +from vrchatapi.models.calendar_event import CalendarEvent +from vrchatapi.models.calendar_event_user_interest import CalendarEventUserInterest from vrchatapi.models.change_user_tags_request import ChangeUserTagsRequest from vrchatapi.models.create_avatar_request import CreateAvatarRequest +from vrchatapi.models.create_calendar_event_request import CreateCalendarEventRequest from vrchatapi.models.create_file_request import CreateFileRequest from vrchatapi.models.create_file_version_request import CreateFileVersionRequest from vrchatapi.models.create_group_announcement_request import CreateGroupAnnouncementRequest @@ -121,6 +125,7 @@ from vrchatapi.models.file_version import FileVersion from vrchatapi.models.file_version_upload_status import FileVersionUploadStatus from vrchatapi.models.finish_file_data_upload_request import FinishFileDataUploadRequest +from vrchatapi.models.follow_calendar_event_request import FollowCalendarEventRequest from vrchatapi.models.friend_status import FriendStatus from vrchatapi.models.get_group_posts200_response import GetGroupPosts200Response from vrchatapi.models.get_user_group_instances200_response import GetUserGroupInstances200Response @@ -196,6 +201,7 @@ from vrchatapi.models.notification_detail_vote_to_kick import NotificationDetailVoteToKick from vrchatapi.models.notification_type import NotificationType from vrchatapi.models.order_option import OrderOption +from vrchatapi.models.paginated_calendar_event_list import PaginatedCalendarEventList from vrchatapi.models.paginated_group_audit_log_entry_list import PaginatedGroupAuditLogEntryList from vrchatapi.models.past_display_name import PastDisplayName from vrchatapi.models.pending2_fa_result import Pending2FAResult @@ -244,6 +250,7 @@ from vrchatapi.models.two_factor_recovery_codes_otp_inner import TwoFactorRecoveryCodesOtpInner from vrchatapi.models.unity_package import UnityPackage from vrchatapi.models.update_avatar_request import UpdateAvatarRequest +from vrchatapi.models.update_calendar_event_request import UpdateCalendarEventRequest from vrchatapi.models.update_favorite_group_request import UpdateFavoriteGroupRequest from vrchatapi.models.update_group_gallery_request import UpdateGroupGalleryRequest from vrchatapi.models.update_group_member_request import UpdateGroupMemberRequest diff --git a/vrchatapi/api/__init__.py b/vrchatapi/api/__init__.py index 118f1007..39dbd9f8 100644 --- a/vrchatapi/api/__init__.py +++ b/vrchatapi/api/__init__.py @@ -5,6 +5,7 @@ # import apis into api package from vrchatapi.api.authentication_api import AuthenticationApi from vrchatapi.api.avatars_api import AvatarsApi +from vrchatapi.api.calendar_api import CalendarApi from vrchatapi.api.economy_api import EconomyApi from vrchatapi.api.favorites_api import FavoritesApi from vrchatapi.api.files_api import FilesApi diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index 68764c30..779ddf11 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index f3703945..056ad226 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/calendar_api.py b/vrchatapi/api/calendar_api.py new file mode 100644 index 00000000..b8d39a15 --- /dev/null +++ b/vrchatapi/api/calendar_api.py @@ -0,0 +1,1600 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.2 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from vrchatapi.api_client import ApiClient +from vrchatapi.exceptions import ( # noqa: F401 + ApiTypeError, + ApiValueError +) + + +class CalendarApi(object): + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def create_group_calendar_event(self, group_id, create_calendar_event_request, **kwargs): # noqa: E501 + """Create a calendar event # noqa: E501 + + Creates an event for a group on the calendar # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.create_group_calendar_event(group_id, create_calendar_event_request, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param create_calendar_event_request: (required) + :type create_calendar_event_request: CreateCalendarEventRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: CalendarEvent + """ + kwargs['_return_http_data_only'] = True + return self.create_group_calendar_event_with_http_info(group_id, create_calendar_event_request, **kwargs) # noqa: E501 + + def create_group_calendar_event_with_http_info(self, group_id, create_calendar_event_request, **kwargs): # noqa: E501 + """Create a calendar event # noqa: E501 + + Creates an event for a group on the calendar # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.create_group_calendar_event_with_http_info(group_id, create_calendar_event_request, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param create_calendar_event_request: (required) + :type create_calendar_event_request: CreateCalendarEventRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(CalendarEvent, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id', + 'create_calendar_event_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method create_group_calendar_event" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `create_group_calendar_event`") # noqa: E501 + # verify the required parameter 'create_calendar_event_request' is set + if self.api_client.client_side_validation and local_var_params.get('create_calendar_event_request') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `create_calendar_event_request` when calling `create_group_calendar_event`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'create_calendar_event_request' in local_var_params: + body_params = local_var_params['create_calendar_event_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "CalendarEvent", + 401: "Error", + } + + return self.api_client.call_api( + '/calendar/{groupId}/event', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def delete_group_calendar_event(self, group_id, calendar_id, **kwargs): # noqa: E501 + """Delete a calendar event # noqa: E501 + + Delete a group calendar event # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_group_calendar_event(group_id, calendar_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param calendar_id: Must be a valid calendar ID. (required) + :type calendar_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Success + """ + kwargs['_return_http_data_only'] = True + return self.delete_group_calendar_event_with_http_info(group_id, calendar_id, **kwargs) # noqa: E501 + + def delete_group_calendar_event_with_http_info(self, group_id, calendar_id, **kwargs): # noqa: E501 + """Delete a calendar event # noqa: E501 + + Delete a group calendar event # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_group_calendar_event_with_http_info(group_id, calendar_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param calendar_id: Must be a valid calendar ID. (required) + :type calendar_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Success, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id', + 'calendar_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_group_calendar_event" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `delete_group_calendar_event`") # noqa: E501 + # verify the required parameter 'calendar_id' is set + if self.api_client.client_side_validation and local_var_params.get('calendar_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `calendar_id` when calling `delete_group_calendar_event`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + if 'calendar_id' in local_var_params: + path_params['calendarId'] = local_var_params['calendar_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "Success", + 401: "Error", + } + + return self.api_client.call_api( + '/calendar/{groupId}/{calendarId}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def follow_group_calendar_event(self, group_id, calendar_id, follow_calendar_event_request, **kwargs): # noqa: E501 + """Follow a calendar event # noqa: E501 + + Follow or unfollow an event on a group's calendar # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.follow_group_calendar_event(group_id, calendar_id, follow_calendar_event_request, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param calendar_id: Must be a valid calendar ID. (required) + :type calendar_id: str + :param follow_calendar_event_request: (required) + :type follow_calendar_event_request: FollowCalendarEventRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: CalendarEvent + """ + kwargs['_return_http_data_only'] = True + return self.follow_group_calendar_event_with_http_info(group_id, calendar_id, follow_calendar_event_request, **kwargs) # noqa: E501 + + def follow_group_calendar_event_with_http_info(self, group_id, calendar_id, follow_calendar_event_request, **kwargs): # noqa: E501 + """Follow a calendar event # noqa: E501 + + Follow or unfollow an event on a group's calendar # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.follow_group_calendar_event_with_http_info(group_id, calendar_id, follow_calendar_event_request, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param calendar_id: Must be a valid calendar ID. (required) + :type calendar_id: str + :param follow_calendar_event_request: (required) + :type follow_calendar_event_request: FollowCalendarEventRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(CalendarEvent, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id', + 'calendar_id', + 'follow_calendar_event_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method follow_group_calendar_event" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `follow_group_calendar_event`") # noqa: E501 + # verify the required parameter 'calendar_id' is set + if self.api_client.client_side_validation and local_var_params.get('calendar_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `calendar_id` when calling `follow_group_calendar_event`") # noqa: E501 + # verify the required parameter 'follow_calendar_event_request' is set + if self.api_client.client_side_validation and local_var_params.get('follow_calendar_event_request') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `follow_calendar_event_request` when calling `follow_group_calendar_event`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + if 'calendar_id' in local_var_params: + path_params['calendarId'] = local_var_params['calendar_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'follow_calendar_event_request' in local_var_params: + body_params = local_var_params['follow_calendar_event_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "CalendarEvent", + 401: "Error", + } + + return self.api_client.call_api( + '/calendar/{groupId}/{calendarId}/follow', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_calendar_events(self, **kwargs): # noqa: E501 + """List calendar events # noqa: E501 + + Get a list of a user's calendar events for the month in ?date # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_calendar_events(async_req=True) + >>> result = thread.get() + + :param date: The month to search in. + :type date: datetime + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: PaginatedCalendarEventList + """ + kwargs['_return_http_data_only'] = True + return self.get_calendar_events_with_http_info(**kwargs) # noqa: E501 + + def get_calendar_events_with_http_info(self, **kwargs): # noqa: E501 + """List calendar events # noqa: E501 + + Get a list of a user's calendar events for the month in ?date # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_calendar_events_with_http_info(async_req=True) + >>> result = thread.get() + + :param date: The month to search in. + :type date: datetime + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(PaginatedCalendarEventList, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'date', + 'n', + 'offset' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_calendar_events" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_calendar_events`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_calendar_events`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_calendar_events`, must be a value greater than or equal to `0`") # noqa: E501 + collection_formats = {} + + path_params = {} + + query_params = [] + if local_var_params.get('date') is not None: # noqa: E501 + query_params.append(('date', local_var_params['date'])) # noqa: E501 + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "PaginatedCalendarEventList", + 401: "Error", + } + + return self.api_client.call_api( + '/calendar', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_featured_calendar_events(self, **kwargs): # noqa: E501 + """List featured calendar events # noqa: E501 + + Get a list of a featured calendar events for the month in ?date # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_featured_calendar_events(async_req=True) + >>> result = thread.get() + + :param date: The month to search in. + :type date: datetime + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: PaginatedCalendarEventList + """ + kwargs['_return_http_data_only'] = True + return self.get_featured_calendar_events_with_http_info(**kwargs) # noqa: E501 + + def get_featured_calendar_events_with_http_info(self, **kwargs): # noqa: E501 + """List featured calendar events # noqa: E501 + + Get a list of a featured calendar events for the month in ?date # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_featured_calendar_events_with_http_info(async_req=True) + >>> result = thread.get() + + :param date: The month to search in. + :type date: datetime + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(PaginatedCalendarEventList, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'date', + 'n', + 'offset' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_featured_calendar_events" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_featured_calendar_events`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_featured_calendar_events`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_featured_calendar_events`, must be a value greater than or equal to `0`") # noqa: E501 + collection_formats = {} + + path_params = {} + + query_params = [] + if local_var_params.get('date') is not None: # noqa: E501 + query_params.append(('date', local_var_params['date'])) # noqa: E501 + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "PaginatedCalendarEventList", + 401: "Error", + } + + return self.api_client.call_api( + '/calendar/featured', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_followed_calendar_events(self, **kwargs): # noqa: E501 + """List followed calendar events # noqa: E501 + + Get a list of a followed calendar events for the month in ?date # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_followed_calendar_events(async_req=True) + >>> result = thread.get() + + :param date: The month to search in. + :type date: datetime + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: PaginatedCalendarEventList + """ + kwargs['_return_http_data_only'] = True + return self.get_followed_calendar_events_with_http_info(**kwargs) # noqa: E501 + + def get_followed_calendar_events_with_http_info(self, **kwargs): # noqa: E501 + """List followed calendar events # noqa: E501 + + Get a list of a followed calendar events for the month in ?date # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_followed_calendar_events_with_http_info(async_req=True) + >>> result = thread.get() + + :param date: The month to search in. + :type date: datetime + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(PaginatedCalendarEventList, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'date', + 'n', + 'offset' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_followed_calendar_events" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_followed_calendar_events`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_followed_calendar_events`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_followed_calendar_events`, must be a value greater than or equal to `0`") # noqa: E501 + collection_formats = {} + + path_params = {} + + query_params = [] + if local_var_params.get('date') is not None: # noqa: E501 + query_params.append(('date', local_var_params['date'])) # noqa: E501 + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "PaginatedCalendarEventList", + 401: "Error", + } + + return self.api_client.call_api( + '/calendar/following', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_group_calendar_event(self, group_id, calendar_id, **kwargs): # noqa: E501 + """Get a calendar event # noqa: E501 + + Get a group calendar event # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_calendar_event(group_id, calendar_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param calendar_id: Must be a valid calendar ID. (required) + :type calendar_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: CalendarEvent + """ + kwargs['_return_http_data_only'] = True + return self.get_group_calendar_event_with_http_info(group_id, calendar_id, **kwargs) # noqa: E501 + + def get_group_calendar_event_with_http_info(self, group_id, calendar_id, **kwargs): # noqa: E501 + """Get a calendar event # noqa: E501 + + Get a group calendar event # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_calendar_event_with_http_info(group_id, calendar_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param calendar_id: Must be a valid calendar ID. (required) + :type calendar_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(CalendarEvent, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id', + 'calendar_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_group_calendar_event" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_calendar_event`") # noqa: E501 + # verify the required parameter 'calendar_id' is set + if self.api_client.client_side_validation and local_var_params.get('calendar_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `calendar_id` when calling `get_group_calendar_event`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + if 'calendar_id' in local_var_params: + path_params['calendarId'] = local_var_params['calendar_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "CalendarEvent", + 401: "Error", + } + + return self.api_client.call_api( + '/calendar/{groupId}/{calendarId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_group_calendar_event_ics(self, group_id, calendar_id, **kwargs): # noqa: E501 + """Download calendar event as ICS # noqa: E501 + + Returns the specified calendar in iCalendar (ICS) format. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_calendar_event_ics(group_id, calendar_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param calendar_id: Must be a valid calendar ID. (required) + :type calendar_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: file + """ + kwargs['_return_http_data_only'] = True + return self.get_group_calendar_event_ics_with_http_info(group_id, calendar_id, **kwargs) # noqa: E501 + + def get_group_calendar_event_ics_with_http_info(self, group_id, calendar_id, **kwargs): # noqa: E501 + """Download calendar event as ICS # noqa: E501 + + Returns the specified calendar in iCalendar (ICS) format. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_calendar_event_ics_with_http_info(group_id, calendar_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param calendar_id: Must be a valid calendar ID. (required) + :type calendar_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(file, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id', + 'calendar_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_group_calendar_event_ics" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_calendar_event_ics`") # noqa: E501 + # verify the required parameter 'calendar_id' is set + if self.api_client.client_side_validation and local_var_params.get('calendar_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `calendar_id` when calling `get_group_calendar_event_ics`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + if 'calendar_id' in local_var_params: + path_params['calendarId'] = local_var_params['calendar_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['text/calendar', 'application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + response_types_map = { + 200: "file", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/calendar/{groupId}/{calendarId}.ics', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_group_calendar_events(self, group_id, **kwargs): # noqa: E501 + """List a group's calendar events # noqa: E501 + + Get a list of a group's calendar events # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_calendar_events(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param date: The month to search in. + :type date: datetime + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: PaginatedCalendarEventList + """ + kwargs['_return_http_data_only'] = True + return self.get_group_calendar_events_with_http_info(group_id, **kwargs) # noqa: E501 + + def get_group_calendar_events_with_http_info(self, group_id, **kwargs): # noqa: E501 + """List a group's calendar events # noqa: E501 + + Get a list of a group's calendar events # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_calendar_events_with_http_info(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param date: The month to search in. + :type date: datetime + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(PaginatedCalendarEventList, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id', + 'date', + 'n', + 'offset' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_group_calendar_events" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_calendar_events`") # noqa: E501 + + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_group_calendar_events`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_group_calendar_events`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_group_calendar_events`, must be a value greater than or equal to `0`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + + query_params = [] + if local_var_params.get('date') is not None: # noqa: E501 + query_params.append(('date', local_var_params['date'])) # noqa: E501 + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "PaginatedCalendarEventList", + 401: "Error", + } + + return self.api_client.call_api( + '/calendar/{groupId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def update_group_calendar_event(self, group_id, calendar_id, update_calendar_event_request, **kwargs): # noqa: E501 + """Update a calendar event # noqa: E501 + + Updates an event for a group on the calendar # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_group_calendar_event(group_id, calendar_id, update_calendar_event_request, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param calendar_id: Must be a valid calendar ID. (required) + :type calendar_id: str + :param update_calendar_event_request: (required) + :type update_calendar_event_request: UpdateCalendarEventRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: CalendarEvent + """ + kwargs['_return_http_data_only'] = True + return self.update_group_calendar_event_with_http_info(group_id, calendar_id, update_calendar_event_request, **kwargs) # noqa: E501 + + def update_group_calendar_event_with_http_info(self, group_id, calendar_id, update_calendar_event_request, **kwargs): # noqa: E501 + """Update a calendar event # noqa: E501 + + Updates an event for a group on the calendar # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_group_calendar_event_with_http_info(group_id, calendar_id, update_calendar_event_request, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param calendar_id: Must be a valid calendar ID. (required) + :type calendar_id: str + :param update_calendar_event_request: (required) + :type update_calendar_event_request: UpdateCalendarEventRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(CalendarEvent, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id', + 'calendar_id', + 'update_calendar_event_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method update_group_calendar_event" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `update_group_calendar_event`") # noqa: E501 + # verify the required parameter 'calendar_id' is set + if self.api_client.client_side_validation and local_var_params.get('calendar_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `calendar_id` when calling `update_group_calendar_event`") # noqa: E501 + # verify the required parameter 'update_calendar_event_request' is set + if self.api_client.client_side_validation and local_var_params.get('update_calendar_event_request') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `update_calendar_event_request` when calling `update_group_calendar_event`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + if 'calendar_id' in local_var_params: + path_params['calendarId'] = local_var_params['calendar_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'update_calendar_event_request' in local_var_params: + body_params = local_var_params['update_calendar_event_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'PUT', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "CalendarEvent", + 401: "Error", + } + + return self.api_client.call_api( + '/calendar/{groupId}/{calendarId}/event', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 4a0de43c..544ffe8e 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index 9359959b..47bf03b8 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index 974679cf..fdc6b191 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index 48679c86..34e8e062 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index 5e5a0b32..8c6be458 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 88624379..95ea6b3a 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/inventory_api.py b/vrchatapi/api/inventory_api.py index c6e6d85a..e7830c1a 100644 --- a/vrchatapi/api/inventory_api.py +++ b/vrchatapi/api/inventory_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index 6e345968..c15b0f61 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/jams_api.py b/vrchatapi/api/jams_api.py index c4492c4f..c4f04315 100644 --- a/vrchatapi/api/jams_api.py +++ b/vrchatapi/api/jams_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/miscellaneous_api.py b/vrchatapi/api/miscellaneous_api.py index 221c0401..936c5eb0 100644 --- a/vrchatapi/api/miscellaneous_api.py +++ b/vrchatapi/api/miscellaneous_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index 52bb75f3..8c24d9ab 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index 3f68c93d..719a8310 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/prints_api.py b/vrchatapi/api/prints_api.py index e6291558..bf98b8d3 100644 --- a/vrchatapi/api/prints_api.py +++ b/vrchatapi/api/prints_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/props_api.py b/vrchatapi/api/props_api.py index f4341aaa..83b95f49 100644 --- a/vrchatapi/api/props_api.py +++ b/vrchatapi/api/props_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index 95794713..ce9f4fd1 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index e46147cb..fdf1d970 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index 2ee43f1d..972cc51b 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,7 +3,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index f21a5f08..9f133115 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -441,7 +441,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.20.1\n"\ + "Version of the API: 1.20.2\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index 09204a16..6b1f0923 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index db8a5b90..11c05fcb 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,7 +5,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -53,8 +53,11 @@ from vrchatapi.models.badge import Badge from vrchatapi.models.balance import Balance from vrchatapi.models.ban_group_member_request import BanGroupMemberRequest +from vrchatapi.models.calendar_event import CalendarEvent +from vrchatapi.models.calendar_event_user_interest import CalendarEventUserInterest from vrchatapi.models.change_user_tags_request import ChangeUserTagsRequest from vrchatapi.models.create_avatar_request import CreateAvatarRequest +from vrchatapi.models.create_calendar_event_request import CreateCalendarEventRequest from vrchatapi.models.create_file_request import CreateFileRequest from vrchatapi.models.create_file_version_request import CreateFileVersionRequest from vrchatapi.models.create_group_announcement_request import CreateGroupAnnouncementRequest @@ -89,6 +92,7 @@ from vrchatapi.models.file_version import FileVersion from vrchatapi.models.file_version_upload_status import FileVersionUploadStatus from vrchatapi.models.finish_file_data_upload_request import FinishFileDataUploadRequest +from vrchatapi.models.follow_calendar_event_request import FollowCalendarEventRequest from vrchatapi.models.friend_status import FriendStatus from vrchatapi.models.get_group_posts200_response import GetGroupPosts200Response from vrchatapi.models.get_user_group_instances200_response import GetUserGroupInstances200Response @@ -164,6 +168,7 @@ from vrchatapi.models.notification_detail_vote_to_kick import NotificationDetailVoteToKick from vrchatapi.models.notification_type import NotificationType from vrchatapi.models.order_option import OrderOption +from vrchatapi.models.paginated_calendar_event_list import PaginatedCalendarEventList from vrchatapi.models.paginated_group_audit_log_entry_list import PaginatedGroupAuditLogEntryList from vrchatapi.models.past_display_name import PastDisplayName from vrchatapi.models.pending2_fa_result import Pending2FAResult @@ -212,6 +217,7 @@ from vrchatapi.models.two_factor_recovery_codes_otp_inner import TwoFactorRecoveryCodesOtpInner from vrchatapi.models.unity_package import UnityPackage from vrchatapi.models.update_avatar_request import UpdateAvatarRequest +from vrchatapi.models.update_calendar_event_request import UpdateCalendarEventRequest from vrchatapi.models.update_favorite_group_request import UpdateFavoriteGroupRequest from vrchatapi.models.update_group_gallery_request import UpdateGroupGalleryRequest from vrchatapi.models.update_group_member_request import UpdateGroupMemberRequest diff --git a/vrchatapi/models/account_deletion_log.py b/vrchatapi/models/account_deletion_log.py index 82b54b03..48a74a73 100644 --- a/vrchatapi/models/account_deletion_log.py +++ b/vrchatapi/models/account_deletion_log.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index e339b517..c7d40c10 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index 2fc20923..121b2056 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/admin_asset_bundle.py b/vrchatapi/models/admin_asset_bundle.py index 914f46c0..794d8c1b 100644 --- a/vrchatapi/models/admin_asset_bundle.py +++ b/vrchatapi/models/admin_asset_bundle.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/admin_unity_package.py b/vrchatapi/models/admin_unity_package.py index b9342dbf..d03bb683 100644 --- a/vrchatapi/models/admin_unity_package.py +++ b/vrchatapi/models/admin_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/age_verification_status.py b/vrchatapi/models/age_verification_status.py index 46348a8e..788bf2ca 100644 --- a/vrchatapi/models/age_verification_status.py +++ b/vrchatapi/models/age_verification_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index 44d44881..1a7617be 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_access_logs_urls.py b/vrchatapi/models/api_config_access_logs_urls.py index fb479338..503f9547 100644 --- a/vrchatapi/models/api_config_access_logs_urls.py +++ b/vrchatapi/models/api_config_access_logs_urls.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index 6652700d..7e842ef6 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_avatar_perf_limiter.py b/vrchatapi/models/api_config_avatar_perf_limiter.py index e0358aea..2813aed1 100644 --- a/vrchatapi/models/api_config_avatar_perf_limiter.py +++ b/vrchatapi/models/api_config_avatar_perf_limiter.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants.py b/vrchatapi/models/api_config_constants.py index c61d8677..cb17e27a 100644 --- a/vrchatapi/models/api_config_constants.py +++ b/vrchatapi/models/api_config_constants.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_groups.py b/vrchatapi/models/api_config_constants_groups.py index 146f71b4..4985dbaf 100644 --- a/vrchatapi/models/api_config_constants_groups.py +++ b/vrchatapi/models/api_config_constants_groups.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instance.py b/vrchatapi/models/api_config_constants_instance.py index b00b6965..db6e6257 100644 --- a/vrchatapi/models/api_config_constants_instance.py +++ b/vrchatapi/models/api_config_constants_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbrackets.py b/vrchatapi/models/api_config_constants_instancepopulationbrackets.py index 01a48b62..fcf6ff5e 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbrackets.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbrackets.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py b/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py index 541f3ee7..fd7cb64b 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py b/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py index 1723f505..169e8e49 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py b/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py index 49ca776c..6c0e7afb 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_language.py b/vrchatapi/models/api_config_constants_language.py index 924c4eda..eb5cd218 100644 --- a/vrchatapi/models/api_config_constants_language.py +++ b/vrchatapi/models/api_config_constants_language.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index bcdd5a96..5440b75b 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index 875108b0..8c962ac3 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_min_supported_client_build_number.py b/vrchatapi/models/api_config_min_supported_client_build_number.py index 81c12e41..d8905ecb 100644 --- a/vrchatapi/models/api_config_min_supported_client_build_number.py +++ b/vrchatapi/models/api_config_min_supported_client_build_number.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_offline_analysis.py b/vrchatapi/models/api_config_offline_analysis.py index aa5a15b9..4a8be268 100644 --- a/vrchatapi/models/api_config_offline_analysis.py +++ b/vrchatapi/models/api_config_offline_analysis.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_categories.py b/vrchatapi/models/api_config_report_categories.py index f1a10169..dbcc4669 100644 --- a/vrchatapi/models/api_config_report_categories.py +++ b/vrchatapi/models/api_config_report_categories.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options.py b/vrchatapi/models/api_config_report_options.py index d344a1d3..6082e886 100644 --- a/vrchatapi/models/api_config_report_options.py +++ b/vrchatapi/models/api_config_report_options.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options_avatar.py b/vrchatapi/models/api_config_report_options_avatar.py index 7c7aaa2e..bbd39ca6 100644 --- a/vrchatapi/models/api_config_report_options_avatar.py +++ b/vrchatapi/models/api_config_report_options_avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options_group.py b/vrchatapi/models/api_config_report_options_group.py index 400f4afa..7aacf3d4 100644 --- a/vrchatapi/models/api_config_report_options_group.py +++ b/vrchatapi/models/api_config_report_options_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options_user.py b/vrchatapi/models/api_config_report_options_user.py index da08245b..5e6adafd 100644 --- a/vrchatapi/models/api_config_report_options_user.py +++ b/vrchatapi/models/api_config_report_options_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options_world.py b/vrchatapi/models/api_config_report_options_world.py index 2839b81b..4adc57fb 100644 --- a/vrchatapi/models/api_config_report_options_world.py +++ b/vrchatapi/models/api_config_report_options_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_reasons.py b/vrchatapi/models/api_config_report_reasons.py index 4b88bc2c..9d91873d 100644 --- a/vrchatapi/models/api_config_report_reasons.py +++ b/vrchatapi/models/api_config_report_reasons.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index 542539a8..54247bb2 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index baae852d..e7b55243 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_performance.py b/vrchatapi/models/avatar_performance.py index e5133d4c..4e90a947 100644 --- a/vrchatapi/models/avatar_performance.py +++ b/vrchatapi/models/avatar_performance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_published_listings_inner.py b/vrchatapi/models/avatar_published_listings_inner.py index 5bdcb3b0..82200a61 100644 --- a/vrchatapi/models/avatar_published_listings_inner.py +++ b/vrchatapi/models/avatar_published_listings_inner.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_style.py b/vrchatapi/models/avatar_style.py index e6885791..b9146042 100644 --- a/vrchatapi/models/avatar_style.py +++ b/vrchatapi/models/avatar_style.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_styles.py b/vrchatapi/models/avatar_styles.py index aaf6c3af..a67eb5c5 100644 --- a/vrchatapi/models/avatar_styles.py +++ b/vrchatapi/models/avatar_styles.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index 3f38e16e..d9b5f650 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/badge.py b/vrchatapi/models/badge.py index ef44c16c..853d7b85 100644 --- a/vrchatapi/models/badge.py +++ b/vrchatapi/models/badge.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/balance.py b/vrchatapi/models/balance.py index fa8fb6f2..6ab2ca2f 100644 --- a/vrchatapi/models/balance.py +++ b/vrchatapi/models/balance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index cae211a7..5058808b 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/calendar_event.py b/vrchatapi/models/calendar_event.py new file mode 100644 index 00000000..375bee2f --- /dev/null +++ b/vrchatapi/models/calendar_event.py @@ -0,0 +1,793 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.2 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class CalendarEvent(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'access_type': 'str', + 'category': 'str', + 'close_instance_after_end_minutes': 'int', + 'created_at': 'datetime', + 'deleted_at': 'datetime', + 'description': 'str', + 'ends_at': 'datetime', + 'featured': 'bool', + 'guest_early_join_minutes': 'int', + 'host_early_join_minutes': 'int', + 'id': 'str', + 'image_id': 'str', + 'image_url': 'str', + 'interested_user_count': 'int', + 'is_draft': 'bool', + 'languages': 'list[str]', + 'owner_id': 'str', + 'platforms': 'list[str]', + 'role_ids': 'list[str]', + 'starts_at': 'datetime', + 'tags': 'list[str]', + 'title': 'str', + 'type': 'str', + 'updated_at': 'datetime', + 'uses_instance_overflow': 'bool', + 'user_interest': 'CalendarEventUserInterest' + } + + attribute_map = { + 'access_type': 'accessType', + 'category': 'category', + 'close_instance_after_end_minutes': 'closeInstanceAfterEndMinutes', + 'created_at': 'createdAt', + 'deleted_at': 'deletedAt', + 'description': 'description', + 'ends_at': 'endsAt', + 'featured': 'featured', + 'guest_early_join_minutes': 'guestEarlyJoinMinutes', + 'host_early_join_minutes': 'hostEarlyJoinMinutes', + 'id': 'id', + 'image_id': 'imageId', + 'image_url': 'imageUrl', + 'interested_user_count': 'interestedUserCount', + 'is_draft': 'isDraft', + 'languages': 'languages', + 'owner_id': 'ownerId', + 'platforms': 'platforms', + 'role_ids': 'roleIds', + 'starts_at': 'startsAt', + 'tags': 'tags', + 'title': 'title', + 'type': 'type', + 'updated_at': 'updatedAt', + 'uses_instance_overflow': 'usesInstanceOverflow', + 'user_interest': 'userInterest' + } + + def __init__(self, access_type=None, category=None, close_instance_after_end_minutes=None, created_at=None, deleted_at=None, description=None, ends_at=None, featured=None, guest_early_join_minutes=None, host_early_join_minutes=None, id=None, image_id=None, image_url=None, interested_user_count=None, is_draft=None, languages=None, owner_id=None, platforms=None, role_ids=None, starts_at=None, tags=None, title=None, type=None, updated_at=None, uses_instance_overflow=None, user_interest=None, local_vars_configuration=None): # noqa: E501 + """CalendarEvent - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._access_type = None + self._category = None + self._close_instance_after_end_minutes = None + self._created_at = None + self._deleted_at = None + self._description = None + self._ends_at = None + self._featured = None + self._guest_early_join_minutes = None + self._host_early_join_minutes = None + self._id = None + self._image_id = None + self._image_url = None + self._interested_user_count = None + self._is_draft = None + self._languages = None + self._owner_id = None + self._platforms = None + self._role_ids = None + self._starts_at = None + self._tags = None + self._title = None + self._type = None + self._updated_at = None + self._uses_instance_overflow = None + self._user_interest = None + self.discriminator = None + + self.access_type = access_type + if category is not None: + self.category = category + if close_instance_after_end_minutes is not None: + self.close_instance_after_end_minutes = close_instance_after_end_minutes + self.created_at = created_at + self.deleted_at = deleted_at + if description is not None: + self.description = description + if ends_at is not None: + self.ends_at = ends_at + if featured is not None: + self.featured = featured + if guest_early_join_minutes is not None: + self.guest_early_join_minutes = guest_early_join_minutes + if host_early_join_minutes is not None: + self.host_early_join_minutes = host_early_join_minutes + self.id = id + if image_id is not None: + self.image_id = image_id + self.image_url = image_url + if interested_user_count is not None: + self.interested_user_count = interested_user_count + if is_draft is not None: + self.is_draft = is_draft + if languages is not None: + self.languages = languages + if owner_id is not None: + self.owner_id = owner_id + if platforms is not None: + self.platforms = platforms + self.role_ids = role_ids + if starts_at is not None: + self.starts_at = starts_at + if tags is not None: + self.tags = tags + self.title = title + if type is not None: + self.type = type + if updated_at is not None: + self.updated_at = updated_at + if uses_instance_overflow is not None: + self.uses_instance_overflow = uses_instance_overflow + if user_interest is not None: + self.user_interest = user_interest + + @property + def access_type(self): + """Gets the access_type of this CalendarEvent. # noqa: E501 + + + :return: The access_type of this CalendarEvent. # noqa: E501 + :rtype: str + """ + return self._access_type + + @access_type.setter + def access_type(self, access_type): + """Sets the access_type of this CalendarEvent. + + + :param access_type: The access_type of this CalendarEvent. # noqa: E501 + :type access_type: str + """ + if self.local_vars_configuration.client_side_validation and access_type is None: # noqa: E501 + raise ValueError("Invalid value for `access_type`, must not be `None`") # noqa: E501 + + self._access_type = access_type + + @property + def category(self): + """Gets the category of this CalendarEvent. # noqa: E501 + + + :return: The category of this CalendarEvent. # noqa: E501 + :rtype: str + """ + return self._category + + @category.setter + def category(self, category): + """Sets the category of this CalendarEvent. + + + :param category: The category of this CalendarEvent. # noqa: E501 + :type category: str + """ + + self._category = category + + @property + def close_instance_after_end_minutes(self): + """Gets the close_instance_after_end_minutes of this CalendarEvent. # noqa: E501 + + + :return: The close_instance_after_end_minutes of this CalendarEvent. # noqa: E501 + :rtype: int + """ + return self._close_instance_after_end_minutes + + @close_instance_after_end_minutes.setter + def close_instance_after_end_minutes(self, close_instance_after_end_minutes): + """Sets the close_instance_after_end_minutes of this CalendarEvent. + + + :param close_instance_after_end_minutes: The close_instance_after_end_minutes of this CalendarEvent. # noqa: E501 + :type close_instance_after_end_minutes: int + """ + + self._close_instance_after_end_minutes = close_instance_after_end_minutes + + @property + def created_at(self): + """Gets the created_at of this CalendarEvent. # noqa: E501 + + + :return: The created_at of this CalendarEvent. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this CalendarEvent. + + + :param created_at: The created_at of this CalendarEvent. # noqa: E501 + :type created_at: datetime + """ + if self.local_vars_configuration.client_side_validation and created_at is None: # noqa: E501 + raise ValueError("Invalid value for `created_at`, must not be `None`") # noqa: E501 + + self._created_at = created_at + + @property + def deleted_at(self): + """Gets the deleted_at of this CalendarEvent. # noqa: E501 + + + :return: The deleted_at of this CalendarEvent. # noqa: E501 + :rtype: datetime + """ + return self._deleted_at + + @deleted_at.setter + def deleted_at(self, deleted_at): + """Sets the deleted_at of this CalendarEvent. + + + :param deleted_at: The deleted_at of this CalendarEvent. # noqa: E501 + :type deleted_at: datetime + """ + + self._deleted_at = deleted_at + + @property + def description(self): + """Gets the description of this CalendarEvent. # noqa: E501 + + + :return: The description of this CalendarEvent. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this CalendarEvent. + + + :param description: The description of this CalendarEvent. # noqa: E501 + :type description: str + """ + + self._description = description + + @property + def ends_at(self): + """Gets the ends_at of this CalendarEvent. # noqa: E501 + + + :return: The ends_at of this CalendarEvent. # noqa: E501 + :rtype: datetime + """ + return self._ends_at + + @ends_at.setter + def ends_at(self, ends_at): + """Sets the ends_at of this CalendarEvent. + + + :param ends_at: The ends_at of this CalendarEvent. # noqa: E501 + :type ends_at: datetime + """ + + self._ends_at = ends_at + + @property + def featured(self): + """Gets the featured of this CalendarEvent. # noqa: E501 + + + :return: The featured of this CalendarEvent. # noqa: E501 + :rtype: bool + """ + return self._featured + + @featured.setter + def featured(self, featured): + """Sets the featured of this CalendarEvent. + + + :param featured: The featured of this CalendarEvent. # noqa: E501 + :type featured: bool + """ + + self._featured = featured + + @property + def guest_early_join_minutes(self): + """Gets the guest_early_join_minutes of this CalendarEvent. # noqa: E501 + + + :return: The guest_early_join_minutes of this CalendarEvent. # noqa: E501 + :rtype: int + """ + return self._guest_early_join_minutes + + @guest_early_join_minutes.setter + def guest_early_join_minutes(self, guest_early_join_minutes): + """Sets the guest_early_join_minutes of this CalendarEvent. + + + :param guest_early_join_minutes: The guest_early_join_minutes of this CalendarEvent. # noqa: E501 + :type guest_early_join_minutes: int + """ + + self._guest_early_join_minutes = guest_early_join_minutes + + @property + def host_early_join_minutes(self): + """Gets the host_early_join_minutes of this CalendarEvent. # noqa: E501 + + + :return: The host_early_join_minutes of this CalendarEvent. # noqa: E501 + :rtype: int + """ + return self._host_early_join_minutes + + @host_early_join_minutes.setter + def host_early_join_minutes(self, host_early_join_minutes): + """Sets the host_early_join_minutes of this CalendarEvent. + + + :param host_early_join_minutes: The host_early_join_minutes of this CalendarEvent. # noqa: E501 + :type host_early_join_minutes: int + """ + + self._host_early_join_minutes = host_early_join_minutes + + @property + def id(self): + """Gets the id of this CalendarEvent. # noqa: E501 + + + :return: The id of this CalendarEvent. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this CalendarEvent. + + + :param id: The id of this CalendarEvent. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + + self._id = id + + @property + def image_id(self): + """Gets the image_id of this CalendarEvent. # noqa: E501 + + + :return: The image_id of this CalendarEvent. # noqa: E501 + :rtype: str + """ + return self._image_id + + @image_id.setter + def image_id(self, image_id): + """Sets the image_id of this CalendarEvent. + + + :param image_id: The image_id of this CalendarEvent. # noqa: E501 + :type image_id: str + """ + + self._image_id = image_id + + @property + def image_url(self): + """Gets the image_url of this CalendarEvent. # noqa: E501 + + + :return: The image_url of this CalendarEvent. # noqa: E501 + :rtype: str + """ + return self._image_url + + @image_url.setter + def image_url(self, image_url): + """Sets the image_url of this CalendarEvent. + + + :param image_url: The image_url of this CalendarEvent. # noqa: E501 + :type image_url: str + """ + + self._image_url = image_url + + @property + def interested_user_count(self): + """Gets the interested_user_count of this CalendarEvent. # noqa: E501 + + + :return: The interested_user_count of this CalendarEvent. # noqa: E501 + :rtype: int + """ + return self._interested_user_count + + @interested_user_count.setter + def interested_user_count(self, interested_user_count): + """Sets the interested_user_count of this CalendarEvent. + + + :param interested_user_count: The interested_user_count of this CalendarEvent. # noqa: E501 + :type interested_user_count: int + """ + + self._interested_user_count = interested_user_count + + @property + def is_draft(self): + """Gets the is_draft of this CalendarEvent. # noqa: E501 + + + :return: The is_draft of this CalendarEvent. # noqa: E501 + :rtype: bool + """ + return self._is_draft + + @is_draft.setter + def is_draft(self, is_draft): + """Sets the is_draft of this CalendarEvent. + + + :param is_draft: The is_draft of this CalendarEvent. # noqa: E501 + :type is_draft: bool + """ + + self._is_draft = is_draft + + @property + def languages(self): + """Gets the languages of this CalendarEvent. # noqa: E501 + + # noqa: E501 + + :return: The languages of this CalendarEvent. # noqa: E501 + :rtype: list[str] + """ + return self._languages + + @languages.setter + def languages(self, languages): + """Sets the languages of this CalendarEvent. + + # noqa: E501 + + :param languages: The languages of this CalendarEvent. # noqa: E501 + :type languages: list[str] + """ + + self._languages = languages + + @property + def owner_id(self): + """Gets the owner_id of this CalendarEvent. # noqa: E501 + + + :return: The owner_id of this CalendarEvent. # noqa: E501 + :rtype: str + """ + return self._owner_id + + @owner_id.setter + def owner_id(self, owner_id): + """Sets the owner_id of this CalendarEvent. + + + :param owner_id: The owner_id of this CalendarEvent. # noqa: E501 + :type owner_id: str + """ + + self._owner_id = owner_id + + @property + def platforms(self): + """Gets the platforms of this CalendarEvent. # noqa: E501 + + # noqa: E501 + + :return: The platforms of this CalendarEvent. # noqa: E501 + :rtype: list[str] + """ + return self._platforms + + @platforms.setter + def platforms(self, platforms): + """Sets the platforms of this CalendarEvent. + + # noqa: E501 + + :param platforms: The platforms of this CalendarEvent. # noqa: E501 + :type platforms: list[str] + """ + + self._platforms = platforms + + @property + def role_ids(self): + """Gets the role_ids of this CalendarEvent. # noqa: E501 + + # noqa: E501 + + :return: The role_ids of this CalendarEvent. # noqa: E501 + :rtype: list[str] + """ + return self._role_ids + + @role_ids.setter + def role_ids(self, role_ids): + """Sets the role_ids of this CalendarEvent. + + # noqa: E501 + + :param role_ids: The role_ids of this CalendarEvent. # noqa: E501 + :type role_ids: list[str] + """ + + self._role_ids = role_ids + + @property + def starts_at(self): + """Gets the starts_at of this CalendarEvent. # noqa: E501 + + + :return: The starts_at of this CalendarEvent. # noqa: E501 + :rtype: datetime + """ + return self._starts_at + + @starts_at.setter + def starts_at(self, starts_at): + """Sets the starts_at of this CalendarEvent. + + + :param starts_at: The starts_at of this CalendarEvent. # noqa: E501 + :type starts_at: datetime + """ + + self._starts_at = starts_at + + @property + def tags(self): + """Gets the tags of this CalendarEvent. # noqa: E501 + + # noqa: E501 + + :return: The tags of this CalendarEvent. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this CalendarEvent. + + # noqa: E501 + + :param tags: The tags of this CalendarEvent. # noqa: E501 + :type tags: list[str] + """ + + self._tags = tags + + @property + def title(self): + """Gets the title of this CalendarEvent. # noqa: E501 + + + :return: The title of this CalendarEvent. # noqa: E501 + :rtype: str + """ + return self._title + + @title.setter + def title(self, title): + """Sets the title of this CalendarEvent. + + + :param title: The title of this CalendarEvent. # noqa: E501 + :type title: str + """ + if self.local_vars_configuration.client_side_validation and title is None: # noqa: E501 + raise ValueError("Invalid value for `title`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + title is not None and len(title) < 1): + raise ValueError("Invalid value for `title`, length must be greater than or equal to `1`") # noqa: E501 + + self._title = title + + @property + def type(self): + """Gets the type of this CalendarEvent. # noqa: E501 + + + :return: The type of this CalendarEvent. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this CalendarEvent. + + + :param type: The type of this CalendarEvent. # noqa: E501 + :type type: str + """ + + self._type = type + + @property + def updated_at(self): + """Gets the updated_at of this CalendarEvent. # noqa: E501 + + + :return: The updated_at of this CalendarEvent. # noqa: E501 + :rtype: datetime + """ + return self._updated_at + + @updated_at.setter + def updated_at(self, updated_at): + """Sets the updated_at of this CalendarEvent. + + + :param updated_at: The updated_at of this CalendarEvent. # noqa: E501 + :type updated_at: datetime + """ + + self._updated_at = updated_at + + @property + def uses_instance_overflow(self): + """Gets the uses_instance_overflow of this CalendarEvent. # noqa: E501 + + + :return: The uses_instance_overflow of this CalendarEvent. # noqa: E501 + :rtype: bool + """ + return self._uses_instance_overflow + + @uses_instance_overflow.setter + def uses_instance_overflow(self, uses_instance_overflow): + """Sets the uses_instance_overflow of this CalendarEvent. + + + :param uses_instance_overflow: The uses_instance_overflow of this CalendarEvent. # noqa: E501 + :type uses_instance_overflow: bool + """ + + self._uses_instance_overflow = uses_instance_overflow + + @property + def user_interest(self): + """Gets the user_interest of this CalendarEvent. # noqa: E501 + + + :return: The user_interest of this CalendarEvent. # noqa: E501 + :rtype: CalendarEventUserInterest + """ + return self._user_interest + + @user_interest.setter + def user_interest(self, user_interest): + """Sets the user_interest of this CalendarEvent. + + + :param user_interest: The user_interest of this CalendarEvent. # noqa: E501 + :type user_interest: CalendarEventUserInterest + """ + + self._user_interest = user_interest + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CalendarEvent): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, CalendarEvent): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/calendar_event_user_interest.py b/vrchatapi/models/calendar_event_user_interest.py new file mode 100644 index 00000000..1279cae1 --- /dev/null +++ b/vrchatapi/models/calendar_event_user_interest.py @@ -0,0 +1,183 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.2 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class CalendarEventUserInterest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'created_at': 'datetime', + 'is_following': 'bool', + 'updated_at': 'datetime' + } + + attribute_map = { + 'created_at': 'createdAt', + 'is_following': 'isFollowing', + 'updated_at': 'updatedAt' + } + + def __init__(self, created_at=None, is_following=None, updated_at=None, local_vars_configuration=None): # noqa: E501 + """CalendarEventUserInterest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._created_at = None + self._is_following = None + self._updated_at = None + self.discriminator = None + + if created_at is not None: + self.created_at = created_at + if is_following is not None: + self.is_following = is_following + if updated_at is not None: + self.updated_at = updated_at + + @property + def created_at(self): + """Gets the created_at of this CalendarEventUserInterest. # noqa: E501 + + + :return: The created_at of this CalendarEventUserInterest. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this CalendarEventUserInterest. + + + :param created_at: The created_at of this CalendarEventUserInterest. # noqa: E501 + :type created_at: datetime + """ + + self._created_at = created_at + + @property + def is_following(self): + """Gets the is_following of this CalendarEventUserInterest. # noqa: E501 + + + :return: The is_following of this CalendarEventUserInterest. # noqa: E501 + :rtype: bool + """ + return self._is_following + + @is_following.setter + def is_following(self, is_following): + """Sets the is_following of this CalendarEventUserInterest. + + + :param is_following: The is_following of this CalendarEventUserInterest. # noqa: E501 + :type is_following: bool + """ + + self._is_following = is_following + + @property + def updated_at(self): + """Gets the updated_at of this CalendarEventUserInterest. # noqa: E501 + + + :return: The updated_at of this CalendarEventUserInterest. # noqa: E501 + :rtype: datetime + """ + return self._updated_at + + @updated_at.setter + def updated_at(self, updated_at): + """Sets the updated_at of this CalendarEventUserInterest. + + + :param updated_at: The updated_at of this CalendarEventUserInterest. # noqa: E501 + :type updated_at: datetime + """ + + self._updated_at = updated_at + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CalendarEventUserInterest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, CalendarEventUserInterest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/change_user_tags_request.py b/vrchatapi/models/change_user_tags_request.py index 181a6b65..39e88363 100644 --- a/vrchatapi/models/change_user_tags_request.py +++ b/vrchatapi/models/change_user_tags_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index f66435b5..1df44157 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_calendar_event_request.py b/vrchatapi/models/create_calendar_event_request.py new file mode 100644 index 00000000..4eb66748 --- /dev/null +++ b/vrchatapi/models/create_calendar_event_request.py @@ -0,0 +1,626 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.2 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class CreateCalendarEventRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'title': 'str', + 'starts_at': 'datetime', + 'description': 'str', + 'ends_at': 'datetime', + 'category': 'str', + 'tags': 'list[str]', + 'is_draft': 'bool', + 'image_id': 'str', + 'role_ids': 'list[str]', + 'parent_id': 'str', + 'platforms': 'list[str]', + 'languages': 'list[str]', + 'send_creation_notification': 'bool', + 'featured': 'bool', + 'host_early_join_minutes': 'int', + 'guest_early_join_minutes': 'int', + 'close_instance_after_end_minutes': 'int', + 'uses_instance_overflow': 'bool', + 'access_type': 'str' + } + + attribute_map = { + 'title': 'title', + 'starts_at': 'startsAt', + 'description': 'description', + 'ends_at': 'endsAt', + 'category': 'category', + 'tags': 'tags', + 'is_draft': 'isDraft', + 'image_id': 'imageId', + 'role_ids': 'roleIds', + 'parent_id': 'parentId', + 'platforms': 'platforms', + 'languages': 'languages', + 'send_creation_notification': 'sendCreationNotification', + 'featured': 'featured', + 'host_early_join_minutes': 'hostEarlyJoinMinutes', + 'guest_early_join_minutes': 'guestEarlyJoinMinutes', + 'close_instance_after_end_minutes': 'closeInstanceAfterEndMinutes', + 'uses_instance_overflow': 'usesInstanceOverflow', + 'access_type': 'accessType' + } + + def __init__(self, title=None, starts_at=None, description=None, ends_at=None, category=None, tags=None, is_draft=None, image_id=None, role_ids=None, parent_id=None, platforms=None, languages=None, send_creation_notification=None, featured=None, host_early_join_minutes=None, guest_early_join_minutes=None, close_instance_after_end_minutes=None, uses_instance_overflow=None, access_type=None, local_vars_configuration=None): # noqa: E501 + """CreateCalendarEventRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._title = None + self._starts_at = None + self._description = None + self._ends_at = None + self._category = None + self._tags = None + self._is_draft = None + self._image_id = None + self._role_ids = None + self._parent_id = None + self._platforms = None + self._languages = None + self._send_creation_notification = None + self._featured = None + self._host_early_join_minutes = None + self._guest_early_join_minutes = None + self._close_instance_after_end_minutes = None + self._uses_instance_overflow = None + self._access_type = None + self.discriminator = None + + self.title = title + self.starts_at = starts_at + self.description = description + self.ends_at = ends_at + self.category = category + if tags is not None: + self.tags = tags + if is_draft is not None: + self.is_draft = is_draft + if image_id is not None: + self.image_id = image_id + if role_ids is not None: + self.role_ids = role_ids + if parent_id is not None: + self.parent_id = parent_id + if platforms is not None: + self.platforms = platforms + if languages is not None: + self.languages = languages + self.send_creation_notification = send_creation_notification + if featured is not None: + self.featured = featured + if host_early_join_minutes is not None: + self.host_early_join_minutes = host_early_join_minutes + if guest_early_join_minutes is not None: + self.guest_early_join_minutes = guest_early_join_minutes + if close_instance_after_end_minutes is not None: + self.close_instance_after_end_minutes = close_instance_after_end_minutes + if uses_instance_overflow is not None: + self.uses_instance_overflow = uses_instance_overflow + self.access_type = access_type + + @property + def title(self): + """Gets the title of this CreateCalendarEventRequest. # noqa: E501 + + Event title # noqa: E501 + + :return: The title of this CreateCalendarEventRequest. # noqa: E501 + :rtype: str + """ + return self._title + + @title.setter + def title(self, title): + """Sets the title of this CreateCalendarEventRequest. + + Event title # noqa: E501 + + :param title: The title of this CreateCalendarEventRequest. # noqa: E501 + :type title: str + """ + if self.local_vars_configuration.client_side_validation and title is None: # noqa: E501 + raise ValueError("Invalid value for `title`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + title is not None and len(title) < 1): + raise ValueError("Invalid value for `title`, length must be greater than or equal to `1`") # noqa: E501 + + self._title = title + + @property + def starts_at(self): + """Gets the starts_at of this CreateCalendarEventRequest. # noqa: E501 + + Time the event starts at # noqa: E501 + + :return: The starts_at of this CreateCalendarEventRequest. # noqa: E501 + :rtype: datetime + """ + return self._starts_at + + @starts_at.setter + def starts_at(self, starts_at): + """Sets the starts_at of this CreateCalendarEventRequest. + + Time the event starts at # noqa: E501 + + :param starts_at: The starts_at of this CreateCalendarEventRequest. # noqa: E501 + :type starts_at: datetime + """ + if self.local_vars_configuration.client_side_validation and starts_at is None: # noqa: E501 + raise ValueError("Invalid value for `starts_at`, must not be `None`") # noqa: E501 + + self._starts_at = starts_at + + @property + def description(self): + """Gets the description of this CreateCalendarEventRequest. # noqa: E501 + + + :return: The description of this CreateCalendarEventRequest. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this CreateCalendarEventRequest. + + + :param description: The description of this CreateCalendarEventRequest. # noqa: E501 + :type description: str + """ + if self.local_vars_configuration.client_side_validation and description is None: # noqa: E501 + raise ValueError("Invalid value for `description`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + description is not None and len(description) < 1): + raise ValueError("Invalid value for `description`, length must be greater than or equal to `1`") # noqa: E501 + + self._description = description + + @property + def ends_at(self): + """Gets the ends_at of this CreateCalendarEventRequest. # noqa: E501 + + Time the event ends at # noqa: E501 + + :return: The ends_at of this CreateCalendarEventRequest. # noqa: E501 + :rtype: datetime + """ + return self._ends_at + + @ends_at.setter + def ends_at(self, ends_at): + """Sets the ends_at of this CreateCalendarEventRequest. + + Time the event ends at # noqa: E501 + + :param ends_at: The ends_at of this CreateCalendarEventRequest. # noqa: E501 + :type ends_at: datetime + """ + if self.local_vars_configuration.client_side_validation and ends_at is None: # noqa: E501 + raise ValueError("Invalid value for `ends_at`, must not be `None`") # noqa: E501 + + self._ends_at = ends_at + + @property + def category(self): + """Gets the category of this CreateCalendarEventRequest. # noqa: E501 + + + :return: The category of this CreateCalendarEventRequest. # noqa: E501 + :rtype: str + """ + return self._category + + @category.setter + def category(self, category): + """Sets the category of this CreateCalendarEventRequest. + + + :param category: The category of this CreateCalendarEventRequest. # noqa: E501 + :type category: str + """ + if self.local_vars_configuration.client_side_validation and category is None: # noqa: E501 + raise ValueError("Invalid value for `category`, must not be `None`") # noqa: E501 + + self._category = category + + @property + def tags(self): + """Gets the tags of this CreateCalendarEventRequest. # noqa: E501 + + + :return: The tags of this CreateCalendarEventRequest. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this CreateCalendarEventRequest. + + + :param tags: The tags of this CreateCalendarEventRequest. # noqa: E501 + :type tags: list[str] + """ + + self._tags = tags + + @property + def is_draft(self): + """Gets the is_draft of this CreateCalendarEventRequest. # noqa: E501 + + + :return: The is_draft of this CreateCalendarEventRequest. # noqa: E501 + :rtype: bool + """ + return self._is_draft + + @is_draft.setter + def is_draft(self, is_draft): + """Sets the is_draft of this CreateCalendarEventRequest. + + + :param is_draft: The is_draft of this CreateCalendarEventRequest. # noqa: E501 + :type is_draft: bool + """ + + self._is_draft = is_draft + + @property + def image_id(self): + """Gets the image_id of this CreateCalendarEventRequest. # noqa: E501 + + + :return: The image_id of this CreateCalendarEventRequest. # noqa: E501 + :rtype: str + """ + return self._image_id + + @image_id.setter + def image_id(self, image_id): + """Sets the image_id of this CreateCalendarEventRequest. + + + :param image_id: The image_id of this CreateCalendarEventRequest. # noqa: E501 + :type image_id: str + """ + + self._image_id = image_id + + @property + def role_ids(self): + """Gets the role_ids of this CreateCalendarEventRequest. # noqa: E501 + + + :return: The role_ids of this CreateCalendarEventRequest. # noqa: E501 + :rtype: list[str] + """ + return self._role_ids + + @role_ids.setter + def role_ids(self, role_ids): + """Sets the role_ids of this CreateCalendarEventRequest. + + + :param role_ids: The role_ids of this CreateCalendarEventRequest. # noqa: E501 + :type role_ids: list[str] + """ + + self._role_ids = role_ids + + @property + def parent_id(self): + """Gets the parent_id of this CreateCalendarEventRequest. # noqa: E501 + + + :return: The parent_id of this CreateCalendarEventRequest. # noqa: E501 + :rtype: str + """ + return self._parent_id + + @parent_id.setter + def parent_id(self, parent_id): + """Sets the parent_id of this CreateCalendarEventRequest. + + + :param parent_id: The parent_id of this CreateCalendarEventRequest. # noqa: E501 + :type parent_id: str + """ + + self._parent_id = parent_id + + @property + def platforms(self): + """Gets the platforms of this CreateCalendarEventRequest. # noqa: E501 + + + :return: The platforms of this CreateCalendarEventRequest. # noqa: E501 + :rtype: list[str] + """ + return self._platforms + + @platforms.setter + def platforms(self, platforms): + """Sets the platforms of this CreateCalendarEventRequest. + + + :param platforms: The platforms of this CreateCalendarEventRequest. # noqa: E501 + :type platforms: list[str] + """ + + self._platforms = platforms + + @property + def languages(self): + """Gets the languages of this CreateCalendarEventRequest. # noqa: E501 + + + :return: The languages of this CreateCalendarEventRequest. # noqa: E501 + :rtype: list[str] + """ + return self._languages + + @languages.setter + def languages(self, languages): + """Sets the languages of this CreateCalendarEventRequest. + + + :param languages: The languages of this CreateCalendarEventRequest. # noqa: E501 + :type languages: list[str] + """ + + self._languages = languages + + @property + def send_creation_notification(self): + """Gets the send_creation_notification of this CreateCalendarEventRequest. # noqa: E501 + + Send notification to group members. # noqa: E501 + + :return: The send_creation_notification of this CreateCalendarEventRequest. # noqa: E501 + :rtype: bool + """ + return self._send_creation_notification + + @send_creation_notification.setter + def send_creation_notification(self, send_creation_notification): + """Sets the send_creation_notification of this CreateCalendarEventRequest. + + Send notification to group members. # noqa: E501 + + :param send_creation_notification: The send_creation_notification of this CreateCalendarEventRequest. # noqa: E501 + :type send_creation_notification: bool + """ + if self.local_vars_configuration.client_side_validation and send_creation_notification is None: # noqa: E501 + raise ValueError("Invalid value for `send_creation_notification`, must not be `None`") # noqa: E501 + + self._send_creation_notification = send_creation_notification + + @property + def featured(self): + """Gets the featured of this CreateCalendarEventRequest. # noqa: E501 + + + :return: The featured of this CreateCalendarEventRequest. # noqa: E501 + :rtype: bool + """ + return self._featured + + @featured.setter + def featured(self, featured): + """Sets the featured of this CreateCalendarEventRequest. + + + :param featured: The featured of this CreateCalendarEventRequest. # noqa: E501 + :type featured: bool + """ + + self._featured = featured + + @property + def host_early_join_minutes(self): + """Gets the host_early_join_minutes of this CreateCalendarEventRequest. # noqa: E501 + + + :return: The host_early_join_minutes of this CreateCalendarEventRequest. # noqa: E501 + :rtype: int + """ + return self._host_early_join_minutes + + @host_early_join_minutes.setter + def host_early_join_minutes(self, host_early_join_minutes): + """Sets the host_early_join_minutes of this CreateCalendarEventRequest. + + + :param host_early_join_minutes: The host_early_join_minutes of this CreateCalendarEventRequest. # noqa: E501 + :type host_early_join_minutes: int + """ + + self._host_early_join_minutes = host_early_join_minutes + + @property + def guest_early_join_minutes(self): + """Gets the guest_early_join_minutes of this CreateCalendarEventRequest. # noqa: E501 + + + :return: The guest_early_join_minutes of this CreateCalendarEventRequest. # noqa: E501 + :rtype: int + """ + return self._guest_early_join_minutes + + @guest_early_join_minutes.setter + def guest_early_join_minutes(self, guest_early_join_minutes): + """Sets the guest_early_join_minutes of this CreateCalendarEventRequest. + + + :param guest_early_join_minutes: The guest_early_join_minutes of this CreateCalendarEventRequest. # noqa: E501 + :type guest_early_join_minutes: int + """ + + self._guest_early_join_minutes = guest_early_join_minutes + + @property + def close_instance_after_end_minutes(self): + """Gets the close_instance_after_end_minutes of this CreateCalendarEventRequest. # noqa: E501 + + + :return: The close_instance_after_end_minutes of this CreateCalendarEventRequest. # noqa: E501 + :rtype: int + """ + return self._close_instance_after_end_minutes + + @close_instance_after_end_minutes.setter + def close_instance_after_end_minutes(self, close_instance_after_end_minutes): + """Sets the close_instance_after_end_minutes of this CreateCalendarEventRequest. + + + :param close_instance_after_end_minutes: The close_instance_after_end_minutes of this CreateCalendarEventRequest. # noqa: E501 + :type close_instance_after_end_minutes: int + """ + + self._close_instance_after_end_minutes = close_instance_after_end_minutes + + @property + def uses_instance_overflow(self): + """Gets the uses_instance_overflow of this CreateCalendarEventRequest. # noqa: E501 + + + :return: The uses_instance_overflow of this CreateCalendarEventRequest. # noqa: E501 + :rtype: bool + """ + return self._uses_instance_overflow + + @uses_instance_overflow.setter + def uses_instance_overflow(self, uses_instance_overflow): + """Sets the uses_instance_overflow of this CreateCalendarEventRequest. + + + :param uses_instance_overflow: The uses_instance_overflow of this CreateCalendarEventRequest. # noqa: E501 + :type uses_instance_overflow: bool + """ + + self._uses_instance_overflow = uses_instance_overflow + + @property + def access_type(self): + """Gets the access_type of this CreateCalendarEventRequest. # noqa: E501 + + + :return: The access_type of this CreateCalendarEventRequest. # noqa: E501 + :rtype: str + """ + return self._access_type + + @access_type.setter + def access_type(self, access_type): + """Sets the access_type of this CreateCalendarEventRequest. + + + :param access_type: The access_type of this CreateCalendarEventRequest. # noqa: E501 + :type access_type: str + """ + if self.local_vars_configuration.client_side_validation and access_type is None: # noqa: E501 + raise ValueError("Invalid value for `access_type`, must not be `None`") # noqa: E501 + allowed_values = ["public", "group"] # noqa: E501 + if self.local_vars_configuration.client_side_validation and access_type not in allowed_values: # noqa: E501 + raise ValueError( + "Invalid value for `access_type` ({0}), must be one of {1}" # noqa: E501 + .format(access_type, allowed_values) + ) + + self._access_type = access_type + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CreateCalendarEventRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, CreateCalendarEventRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index fc967909..9ac39f04 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index 3b92b619..b36f4205 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index c7943e39..9fc7d59d 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index d43b8d80..5dd97bc3 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index 5ec7eb66..e14c37a4 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_post_request.py b/vrchatapi/models/create_group_post_request.py index b7d9c8e1..fad216ef 100644 --- a/vrchatapi/models/create_group_post_request.py +++ b/vrchatapi/models/create_group_post_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index 1acd31ef..c5b0f08a 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index e1cf1ad0..12f70bd9 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_instance_request.py b/vrchatapi/models/create_instance_request.py index fcf84433..a8fc3cc1 100644 --- a/vrchatapi/models/create_instance_request.py +++ b/vrchatapi/models/create_instance_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index a1957198..8cf56d79 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index 33a9cff3..ff9331e4 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user_platform_history_inner.py b/vrchatapi/models/current_user_platform_history_inner.py index 7ed130e1..96dc8dcf 100644 --- a/vrchatapi/models/current_user_platform_history_inner.py +++ b/vrchatapi/models/current_user_platform_history_inner.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user_presence.py b/vrchatapi/models/current_user_presence.py index 5277c479..2cc71744 100644 --- a/vrchatapi/models/current_user_presence.py +++ b/vrchatapi/models/current_user_presence.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index 6b1fffb9..33508d17 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/disable2_fa_result.py b/vrchatapi/models/disable2_fa_result.py index 1a1845ba..457c8fae 100644 --- a/vrchatapi/models/disable2_fa_result.py +++ b/vrchatapi/models/disable2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index 4154e78f..f1ff2243 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index bcb0fe79..e8b7331d 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index 10404c23..8db3a543 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index f598b3f5..f8e73487 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_limits.py b/vrchatapi/models/favorite_group_limits.py index df80d601..f8aa5963 100644 --- a/vrchatapi/models/favorite_group_limits.py +++ b/vrchatapi/models/favorite_group_limits.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index 371e2baa..e1a007c5 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_limits.py b/vrchatapi/models/favorite_limits.py index 59dbec12..d3ea9c8c 100644 --- a/vrchatapi/models/favorite_limits.py +++ b/vrchatapi/models/favorite_limits.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index 4eb94dcd..6f622e2a 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorited_world.py b/vrchatapi/models/favorited_world.py index b70daf39..ea1c259d 100644 --- a/vrchatapi/models/favorited_world.py +++ b/vrchatapi/models/favorited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/feedback.py b/vrchatapi/models/feedback.py index a9b948c1..711d7249 100644 --- a/vrchatapi/models/feedback.py +++ b/vrchatapi/models/feedback.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index e61b98c9..5bc494a6 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_analysis.py b/vrchatapi/models/file_analysis.py index 1f827a24..50b07124 100644 --- a/vrchatapi/models/file_analysis.py +++ b/vrchatapi/models/file_analysis.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_analysis_avatar_stats.py b/vrchatapi/models/file_analysis_avatar_stats.py index 6807c165..81a18451 100644 --- a/vrchatapi/models/file_analysis_avatar_stats.py +++ b/vrchatapi/models/file_analysis_avatar_stats.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index 541ef3b7..69947066 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index 81b85e12..69130fbd 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index 756b6824..5e58465f 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index 57a9d524..c446cb50 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index 5d355e89..c64a44b2 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index 6b1ee986..248ff433 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/follow_calendar_event_request.py b/vrchatapi/models/follow_calendar_event_request.py new file mode 100644 index 00000000..33d26b5e --- /dev/null +++ b/vrchatapi/models/follow_calendar_event_request.py @@ -0,0 +1,132 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.2 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class FollowCalendarEventRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'is_following': 'bool' + } + + attribute_map = { + 'is_following': 'isFollowing' + } + + def __init__(self, is_following=None, local_vars_configuration=None): # noqa: E501 + """FollowCalendarEventRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._is_following = None + self.discriminator = None + + self.is_following = is_following + + @property + def is_following(self): + """Gets the is_following of this FollowCalendarEventRequest. # noqa: E501 + + + :return: The is_following of this FollowCalendarEventRequest. # noqa: E501 + :rtype: bool + """ + return self._is_following + + @is_following.setter + def is_following(self, is_following): + """Sets the is_following of this FollowCalendarEventRequest. + + + :param is_following: The is_following of this FollowCalendarEventRequest. # noqa: E501 + :type is_following: bool + """ + if self.local_vars_configuration.client_side_validation and is_following is None: # noqa: E501 + raise ValueError("Invalid value for `is_following`, must not be `None`") # noqa: E501 + + self._is_following = is_following + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, FollowCalendarEventRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, FollowCalendarEventRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index b8033f5d..512021f4 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/get_group_posts200_response.py b/vrchatapi/models/get_group_posts200_response.py index 3781716e..7927a8a7 100644 --- a/vrchatapi/models/get_group_posts200_response.py +++ b/vrchatapi/models/get_group_posts200_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/get_user_group_instances200_response.py b/vrchatapi/models/get_user_group_instances200_response.py index ca4371d4..1fe4a2d5 100644 --- a/vrchatapi/models/get_user_group_instances200_response.py +++ b/vrchatapi/models/get_user_group_instances200_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index e2caa3f3..afac037c 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_access_type.py b/vrchatapi/models/group_access_type.py index dc9fabbf..7e9b04f1 100644 --- a/vrchatapi/models/group_access_type.py +++ b/vrchatapi/models/group_access_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index f7b8ca3b..53d15e70 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index 16bca38a..a9cf67cd 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index 5b6d428a..4bc27eef 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index b1d190f8..7b593c1f 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_instance.py b/vrchatapi/models/group_instance.py index c338537e..c3e8f1f3 100644 --- a/vrchatapi/models/group_instance.py +++ b/vrchatapi/models/group_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_request_action.py b/vrchatapi/models/group_join_request_action.py index d2745839..7ce11c83 100644 --- a/vrchatapi/models/group_join_request_action.py +++ b/vrchatapi/models/group_join_request_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index 338afd3c..f37dad73 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index f855cd9a..55a8e3fc 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index efdf20a2..66e8c489 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index 3c40d63c..a1b306b3 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index 58c350d0..456896d9 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index d67c0f51..806071c5 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index 3ad1ed86..319f41d5 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permissions.py b/vrchatapi/models/group_permissions.py index dde39704..30d345f4 100644 --- a/vrchatapi/models/group_permissions.py +++ b/vrchatapi/models/group_permissions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post.py b/vrchatapi/models/group_post.py index 2f74f677..735a8eda 100644 --- a/vrchatapi/models/group_post.py +++ b/vrchatapi/models/group_post.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post_visibility.py b/vrchatapi/models/group_post_visibility.py index 10f976d2..0d2b1c06 100644 --- a/vrchatapi/models/group_post_visibility.py +++ b/vrchatapi/models/group_post_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index 8d90ae72..93b44b2f 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index 8f64e652..3a49e7c6 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index 0a861ea5..827c52e6 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template_values.py b/vrchatapi/models/group_role_template_values.py index eb286471..1f058921 100644 --- a/vrchatapi/models/group_role_template_values.py +++ b/vrchatapi/models/group_role_template_values.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template_values_roles.py b/vrchatapi/models/group_role_template_values_roles.py index 9a1cb89c..3ac358b6 100644 --- a/vrchatapi/models/group_role_template_values_roles.py +++ b/vrchatapi/models/group_role_template_values_roles.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_search_sort.py b/vrchatapi/models/group_search_sort.py index 2f7e65f5..63191ea3 100644 --- a/vrchatapi/models/group_search_sort.py +++ b/vrchatapi/models/group_search_sort.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index 75bcd41a..4f5bd154 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index 8092e972..54c80191 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index 5c927255..a638d056 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index f3e21eb8..9aa1c102 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index 27b11f62..75f6c2fd 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index 17aed65a..e38f40b1 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index 1aae6eee..cbb2fba3 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_content_settings.py b/vrchatapi/models/instance_content_settings.py index aa311096..2dad0834 100644 --- a/vrchatapi/models/instance_content_settings.py +++ b/vrchatapi/models/instance_content_settings.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index 5fdadec0..39e59db2 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_region.py b/vrchatapi/models/instance_region.py index aff8a379..8fcffd7f 100644 --- a/vrchatapi/models/instance_region.py +++ b/vrchatapi/models/instance_region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index bc29c6bb..2235ee4f 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index ed96ebd6..fa43e0c1 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory.py b/vrchatapi/models/inventory.py index 6c6abfae..09fb63fa 100644 --- a/vrchatapi/models/inventory.py +++ b/vrchatapi/models/inventory.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_drop.py b/vrchatapi/models/inventory_drop.py index b94efaa3..6a46db77 100644 --- a/vrchatapi/models/inventory_drop.py +++ b/vrchatapi/models/inventory_drop.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_item.py b/vrchatapi/models/inventory_item.py index 4a007001..861ba831 100644 --- a/vrchatapi/models/inventory_item.py +++ b/vrchatapi/models/inventory_item.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_item_type.py b/vrchatapi/models/inventory_item_type.py index 36156e97..3fa976a1 100644 --- a/vrchatapi/models/inventory_item_type.py +++ b/vrchatapi/models/inventory_item_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_metadata.py b/vrchatapi/models/inventory_metadata.py index ca1d32eb..01d91d3a 100644 --- a/vrchatapi/models/inventory_metadata.py +++ b/vrchatapi/models/inventory_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_notification_details.py b/vrchatapi/models/inventory_notification_details.py index 174ae13d..fd453508 100644 --- a/vrchatapi/models/inventory_notification_details.py +++ b/vrchatapi/models/inventory_notification_details.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_spawn.py b/vrchatapi/models/inventory_spawn.py index de6b8512..9ff23236 100644 --- a/vrchatapi/models/inventory_spawn.py +++ b/vrchatapi/models/inventory_spawn.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_template.py b/vrchatapi/models/inventory_template.py index cd547d10..7326215a 100644 --- a/vrchatapi/models/inventory_template.py +++ b/vrchatapi/models/inventory_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index 96a36824..d88cd1b2 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index 935d652a..6fde1039 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index 0a58cb34..3953e9f7 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index 17d7b92b..a1efefaa 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/jam.py b/vrchatapi/models/jam.py index 345fecbf..b0135875 100644 --- a/vrchatapi/models/jam.py +++ b/vrchatapi/models/jam.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/jam_state_change_dates.py b/vrchatapi/models/jam_state_change_dates.py index d71af232..b2476de5 100644 --- a/vrchatapi/models/jam_state_change_dates.py +++ b/vrchatapi/models/jam_state_change_dates.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index a0096ebc..d0b89842 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index ef1d3df2..b3511bd1 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index b638aa20..3a4120ea 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index 84cdad4d..fbd520e6 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_group.py b/vrchatapi/models/limited_group.py index bbd3b129..bdf64f0d 100644 --- a/vrchatapi/models/limited_group.py +++ b/vrchatapi/models/limited_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index 568e49f8..c5d2f6ed 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user_friend.py b/vrchatapi/models/limited_user_friend.py index e3766356..cef5a0ae 100644 --- a/vrchatapi/models/limited_user_friend.py +++ b/vrchatapi/models/limited_user_friend.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user_groups.py b/vrchatapi/models/limited_user_groups.py index 28574337..a77c8528 100644 --- a/vrchatapi/models/limited_user_groups.py +++ b/vrchatapi/models/limited_user_groups.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user_instance.py b/vrchatapi/models/limited_user_instance.py index 94d45dbe..f0b7bd8e 100644 --- a/vrchatapi/models/limited_user_instance.py +++ b/vrchatapi/models/limited_user_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user_search.py b/vrchatapi/models/limited_user_search.py index c716e096..294b6153 100644 --- a/vrchatapi/models/limited_user_search.py +++ b/vrchatapi/models/limited_user_search.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index 91fc895f..8c736beb 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index 8ac88e97..87208b71 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/model_print.py b/vrchatapi/models/model_print.py index 0db152b2..909d0995 100644 --- a/vrchatapi/models/model_print.py +++ b/vrchatapi/models/model_print.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index 3241a326..bd8575a9 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index d58ffb0e..7a9edb36 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite.py b/vrchatapi/models/notification_detail_invite.py index abba5b2f..f7dfcfca 100644 --- a/vrchatapi/models/notification_detail_invite.py +++ b/vrchatapi/models/notification_detail_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite_response.py b/vrchatapi/models/notification_detail_invite_response.py index 0c8a6fdf..1faaeea2 100644 --- a/vrchatapi/models/notification_detail_invite_response.py +++ b/vrchatapi/models/notification_detail_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite.py b/vrchatapi/models/notification_detail_request_invite.py index 316fe2c2..b4b991ec 100644 --- a/vrchatapi/models/notification_detail_request_invite.py +++ b/vrchatapi/models/notification_detail_request_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite_response.py b/vrchatapi/models/notification_detail_request_invite_response.py index bf373990..8cfd67da 100644 --- a/vrchatapi/models/notification_detail_request_invite_response.py +++ b/vrchatapi/models/notification_detail_request_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_vote_to_kick.py b/vrchatapi/models/notification_detail_vote_to_kick.py index 4f1aefe9..b19cfdd7 100644 --- a/vrchatapi/models/notification_detail_vote_to_kick.py +++ b/vrchatapi/models/notification_detail_vote_to_kick.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index ffa94f4f..6b97df8a 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index 053ae213..059ad368 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_calendar_event_list.py b/vrchatapi/models/paginated_calendar_event_list.py new file mode 100644 index 00000000..d0cd3488 --- /dev/null +++ b/vrchatapi/models/paginated_calendar_event_list.py @@ -0,0 +1,189 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.2 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class PaginatedCalendarEventList(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'results': 'list[CalendarEvent]', + 'total_count': 'int', + 'has_next': 'bool' + } + + attribute_map = { + 'results': 'results', + 'total_count': 'totalCount', + 'has_next': 'hasNext' + } + + def __init__(self, results=None, total_count=None, has_next=None, local_vars_configuration=None): # noqa: E501 + """PaginatedCalendarEventList - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._results = None + self._total_count = None + self._has_next = None + self.discriminator = None + + if results is not None: + self.results = results + if total_count is not None: + self.total_count = total_count + if has_next is not None: + self.has_next = has_next + + @property + def results(self): + """Gets the results of this PaginatedCalendarEventList. # noqa: E501 + + # noqa: E501 + + :return: The results of this PaginatedCalendarEventList. # noqa: E501 + :rtype: list[CalendarEvent] + """ + return self._results + + @results.setter + def results(self, results): + """Sets the results of this PaginatedCalendarEventList. + + # noqa: E501 + + :param results: The results of this PaginatedCalendarEventList. # noqa: E501 + :type results: list[CalendarEvent] + """ + + self._results = results + + @property + def total_count(self): + """Gets the total_count of this PaginatedCalendarEventList. # noqa: E501 + + The total number of results that the query would return if there were no pagination. # noqa: E501 + + :return: The total_count of this PaginatedCalendarEventList. # noqa: E501 + :rtype: int + """ + return self._total_count + + @total_count.setter + def total_count(self, total_count): + """Sets the total_count of this PaginatedCalendarEventList. + + The total number of results that the query would return if there were no pagination. # noqa: E501 + + :param total_count: The total_count of this PaginatedCalendarEventList. # noqa: E501 + :type total_count: int + """ + + self._total_count = total_count + + @property + def has_next(self): + """Gets the has_next of this PaginatedCalendarEventList. # noqa: E501 + + Whether there are more results after this page. # noqa: E501 + + :return: The has_next of this PaginatedCalendarEventList. # noqa: E501 + :rtype: bool + """ + return self._has_next + + @has_next.setter + def has_next(self, has_next): + """Sets the has_next of this PaginatedCalendarEventList. + + Whether there are more results after this page. # noqa: E501 + + :param has_next: The has_next of this PaginatedCalendarEventList. # noqa: E501 + :type has_next: bool + """ + + self._has_next = has_next + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, PaginatedCalendarEventList): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, PaginatedCalendarEventList): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index 27fdc92a..843079f2 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index 960bd9c1..3aa1cb6f 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/pending2_fa_result.py b/vrchatapi/models/pending2_fa_result.py index a49df9a4..43265889 100644 --- a/vrchatapi/models/pending2_fa_result.py +++ b/vrchatapi/models/pending2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/performance_limiter_info.py b/vrchatapi/models/performance_limiter_info.py index e34ac516..100d5af6 100644 --- a/vrchatapi/models/performance_limiter_info.py +++ b/vrchatapi/models/performance_limiter_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/performance_ratings.py b/vrchatapi/models/performance_ratings.py index a2fe4cb3..6d415b42 100644 --- a/vrchatapi/models/performance_ratings.py +++ b/vrchatapi/models/performance_ratings.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index 73e4cf83..8f7f496e 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/platform_build_info.py b/vrchatapi/models/platform_build_info.py index aa47985f..a07d1045 100644 --- a/vrchatapi/models/platform_build_info.py +++ b/vrchatapi/models/platform_build_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index 12916208..ccbb0dd2 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index 584bd4c9..d89bcb8f 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/print_files.py b/vrchatapi/models/print_files.py index 6a8c0964..e0ba231e 100644 --- a/vrchatapi/models/print_files.py +++ b/vrchatapi/models/print_files.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product.py b/vrchatapi/models/product.py index cc9a5dd0..7eaa84d7 100644 --- a/vrchatapi/models/product.py +++ b/vrchatapi/models/product.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_listing.py b/vrchatapi/models/product_listing.py index a741f209..bcf3e740 100644 --- a/vrchatapi/models/product_listing.py +++ b/vrchatapi/models/product_listing.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_listing_type.py b/vrchatapi/models/product_listing_type.py index f2361d22..7c146ba5 100644 --- a/vrchatapi/models/product_listing_type.py +++ b/vrchatapi/models/product_listing_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_listing_variant.py b/vrchatapi/models/product_listing_variant.py index 2a10ae87..4814ab32 100644 --- a/vrchatapi/models/product_listing_variant.py +++ b/vrchatapi/models/product_listing_variant.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_type.py b/vrchatapi/models/product_type.py index 83bd7358..10f8a468 100644 --- a/vrchatapi/models/product_type.py +++ b/vrchatapi/models/product_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/prop.py b/vrchatapi/models/prop.py index 7cc5e0de..9be0d221 100644 --- a/vrchatapi/models/prop.py +++ b/vrchatapi/models/prop.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/prop_unity_package.py b/vrchatapi/models/prop_unity_package.py index 54062a8f..e9b18d7b 100644 --- a/vrchatapi/models/prop_unity_package.py +++ b/vrchatapi/models/prop_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index debfb856..eb1d0502 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/register_user_account_request.py b/vrchatapi/models/register_user_account_request.py index cc6f01dd..d206d12f 100644 --- a/vrchatapi/models/register_user_account_request.py +++ b/vrchatapi/models/register_user_account_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index 6e30a2dc..1aa57879 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/report_category.py b/vrchatapi/models/report_category.py index bee12a25..c1e96c67 100644 --- a/vrchatapi/models/report_category.py +++ b/vrchatapi/models/report_category.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/report_reason.py b/vrchatapi/models/report_reason.py index a72d1cd1..2a5a9861 100644 --- a/vrchatapi/models/report_reason.py +++ b/vrchatapi/models/report_reason.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/represented_group.py b/vrchatapi/models/represented_group.py index d9a8b762..9415e7c8 100644 --- a/vrchatapi/models/represented_group.py +++ b/vrchatapi/models/represented_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index 8eb9ee4b..eb298024 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index b2a5d140..85408d81 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index bae6c617..060c380b 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index 3c13405f..d6f9f33e 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/service_queue_stats.py b/vrchatapi/models/service_queue_stats.py index c75c9f18..2569a55e 100644 --- a/vrchatapi/models/service_queue_stats.py +++ b/vrchatapi/models/service_queue_stats.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/service_status.py b/vrchatapi/models/service_status.py index ced14401..0c0b5ae9 100644 --- a/vrchatapi/models/service_status.py +++ b/vrchatapi/models/service_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index a78ef094..fbe0fc68 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/submission.py b/vrchatapi/models/submission.py index b448ba1f..a4bbc283 100644 --- a/vrchatapi/models/submission.py +++ b/vrchatapi/models/submission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index 251a1d99..3ace08af 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index f1dc4bc8..4a6ad849 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index 65e97825..250ce803 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/tilia_status.py b/vrchatapi/models/tilia_status.py index ea089cb6..0ad8ad02 100644 --- a/vrchatapi/models/tilia_status.py +++ b/vrchatapi/models/tilia_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/tilia_tos.py b/vrchatapi/models/tilia_tos.py index f9c634fa..29a13695 100644 --- a/vrchatapi/models/tilia_tos.py +++ b/vrchatapi/models/tilia_tos.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/token_bundle.py b/vrchatapi/models/token_bundle.py index ad11ac2e..f5326d2c 100644 --- a/vrchatapi/models/token_bundle.py +++ b/vrchatapi/models/token_bundle.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index 10f2104c..1ea638d8 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index 6b12db5e..c34652e3 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index d31236e5..814bd18b 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index bda629a9..bbf55dbf 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index 02f4b810..2b139af2 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index 4e9448ec..47847e77 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_email_code.py b/vrchatapi/models/two_factor_email_code.py index aca42af4..63100a13 100644 --- a/vrchatapi/models/two_factor_email_code.py +++ b/vrchatapi/models/two_factor_email_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_recovery_codes.py b/vrchatapi/models/two_factor_recovery_codes.py index a36051b0..20b0c230 100644 --- a/vrchatapi/models/two_factor_recovery_codes.py +++ b/vrchatapi/models/two_factor_recovery_codes.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_recovery_codes_otp_inner.py b/vrchatapi/models/two_factor_recovery_codes_otp_inner.py index 2ea29f8d..bc6a63d7 100644 --- a/vrchatapi/models/two_factor_recovery_codes_otp_inner.py +++ b/vrchatapi/models/two_factor_recovery_codes_otp_inner.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index 253e00de..9e7edd76 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index f83c4134..44a39366 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_calendar_event_request.py b/vrchatapi/models/update_calendar_event_request.py new file mode 100644 index 00000000..3376ae03 --- /dev/null +++ b/vrchatapi/models/update_calendar_event_request.py @@ -0,0 +1,587 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.2 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class UpdateCalendarEventRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'title': 'str', + 'starts_at': 'datetime', + 'description': 'str', + 'ends_at': 'datetime', + 'category': 'str', + 'tags': 'list[str]', + 'is_draft': 'bool', + 'image_id': 'str', + 'role_ids': 'list[str]', + 'parent_id': 'str', + 'platforms': 'list[str]', + 'languages': 'list[str]', + 'send_creation_notification': 'bool', + 'featured': 'bool', + 'host_early_join_minutes': 'int', + 'guest_early_join_minutes': 'int', + 'close_instance_after_end_minutes': 'int', + 'uses_instance_overflow': 'bool' + } + + attribute_map = { + 'title': 'title', + 'starts_at': 'startsAt', + 'description': 'description', + 'ends_at': 'endsAt', + 'category': 'category', + 'tags': 'tags', + 'is_draft': 'isDraft', + 'image_id': 'imageId', + 'role_ids': 'roleIds', + 'parent_id': 'parentId', + 'platforms': 'platforms', + 'languages': 'languages', + 'send_creation_notification': 'sendCreationNotification', + 'featured': 'featured', + 'host_early_join_minutes': 'hostEarlyJoinMinutes', + 'guest_early_join_minutes': 'guestEarlyJoinMinutes', + 'close_instance_after_end_minutes': 'closeInstanceAfterEndMinutes', + 'uses_instance_overflow': 'usesInstanceOverflow' + } + + def __init__(self, title=None, starts_at=None, description=None, ends_at=None, category=None, tags=None, is_draft=None, image_id=None, role_ids=None, parent_id=None, platforms=None, languages=None, send_creation_notification=False, featured=None, host_early_join_minutes=None, guest_early_join_minutes=None, close_instance_after_end_minutes=None, uses_instance_overflow=None, local_vars_configuration=None): # noqa: E501 + """UpdateCalendarEventRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._title = None + self._starts_at = None + self._description = None + self._ends_at = None + self._category = None + self._tags = None + self._is_draft = None + self._image_id = None + self._role_ids = None + self._parent_id = None + self._platforms = None + self._languages = None + self._send_creation_notification = None + self._featured = None + self._host_early_join_minutes = None + self._guest_early_join_minutes = None + self._close_instance_after_end_minutes = None + self._uses_instance_overflow = None + self.discriminator = None + + if title is not None: + self.title = title + if starts_at is not None: + self.starts_at = starts_at + if description is not None: + self.description = description + if ends_at is not None: + self.ends_at = ends_at + if category is not None: + self.category = category + if tags is not None: + self.tags = tags + if is_draft is not None: + self.is_draft = is_draft + if image_id is not None: + self.image_id = image_id + if role_ids is not None: + self.role_ids = role_ids + if parent_id is not None: + self.parent_id = parent_id + if platforms is not None: + self.platforms = platforms + if languages is not None: + self.languages = languages + if send_creation_notification is not None: + self.send_creation_notification = send_creation_notification + if featured is not None: + self.featured = featured + if host_early_join_minutes is not None: + self.host_early_join_minutes = host_early_join_minutes + if guest_early_join_minutes is not None: + self.guest_early_join_minutes = guest_early_join_minutes + if close_instance_after_end_minutes is not None: + self.close_instance_after_end_minutes = close_instance_after_end_minutes + if uses_instance_overflow is not None: + self.uses_instance_overflow = uses_instance_overflow + + @property + def title(self): + """Gets the title of this UpdateCalendarEventRequest. # noqa: E501 + + Event title # noqa: E501 + + :return: The title of this UpdateCalendarEventRequest. # noqa: E501 + :rtype: str + """ + return self._title + + @title.setter + def title(self, title): + """Sets the title of this UpdateCalendarEventRequest. + + Event title # noqa: E501 + + :param title: The title of this UpdateCalendarEventRequest. # noqa: E501 + :type title: str + """ + if (self.local_vars_configuration.client_side_validation and + title is not None and len(title) < 1): + raise ValueError("Invalid value for `title`, length must be greater than or equal to `1`") # noqa: E501 + + self._title = title + + @property + def starts_at(self): + """Gets the starts_at of this UpdateCalendarEventRequest. # noqa: E501 + + Time the vent starts at # noqa: E501 + + :return: The starts_at of this UpdateCalendarEventRequest. # noqa: E501 + :rtype: datetime + """ + return self._starts_at + + @starts_at.setter + def starts_at(self, starts_at): + """Sets the starts_at of this UpdateCalendarEventRequest. + + Time the vent starts at # noqa: E501 + + :param starts_at: The starts_at of this UpdateCalendarEventRequest. # noqa: E501 + :type starts_at: datetime + """ + + self._starts_at = starts_at + + @property + def description(self): + """Gets the description of this UpdateCalendarEventRequest. # noqa: E501 + + + :return: The description of this UpdateCalendarEventRequest. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this UpdateCalendarEventRequest. + + + :param description: The description of this UpdateCalendarEventRequest. # noqa: E501 + :type description: str + """ + if (self.local_vars_configuration.client_side_validation and + description is not None and len(description) < 1): + raise ValueError("Invalid value for `description`, length must be greater than or equal to `1`") # noqa: E501 + + self._description = description + + @property + def ends_at(self): + """Gets the ends_at of this UpdateCalendarEventRequest. # noqa: E501 + + Time the vent starts at # noqa: E501 + + :return: The ends_at of this UpdateCalendarEventRequest. # noqa: E501 + :rtype: datetime + """ + return self._ends_at + + @ends_at.setter + def ends_at(self, ends_at): + """Sets the ends_at of this UpdateCalendarEventRequest. + + Time the vent starts at # noqa: E501 + + :param ends_at: The ends_at of this UpdateCalendarEventRequest. # noqa: E501 + :type ends_at: datetime + """ + + self._ends_at = ends_at + + @property + def category(self): + """Gets the category of this UpdateCalendarEventRequest. # noqa: E501 + + + :return: The category of this UpdateCalendarEventRequest. # noqa: E501 + :rtype: str + """ + return self._category + + @category.setter + def category(self, category): + """Sets the category of this UpdateCalendarEventRequest. + + + :param category: The category of this UpdateCalendarEventRequest. # noqa: E501 + :type category: str + """ + + self._category = category + + @property + def tags(self): + """Gets the tags of this UpdateCalendarEventRequest. # noqa: E501 + + + :return: The tags of this UpdateCalendarEventRequest. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this UpdateCalendarEventRequest. + + + :param tags: The tags of this UpdateCalendarEventRequest. # noqa: E501 + :type tags: list[str] + """ + + self._tags = tags + + @property + def is_draft(self): + """Gets the is_draft of this UpdateCalendarEventRequest. # noqa: E501 + + + :return: The is_draft of this UpdateCalendarEventRequest. # noqa: E501 + :rtype: bool + """ + return self._is_draft + + @is_draft.setter + def is_draft(self, is_draft): + """Sets the is_draft of this UpdateCalendarEventRequest. + + + :param is_draft: The is_draft of this UpdateCalendarEventRequest. # noqa: E501 + :type is_draft: bool + """ + + self._is_draft = is_draft + + @property + def image_id(self): + """Gets the image_id of this UpdateCalendarEventRequest. # noqa: E501 + + + :return: The image_id of this UpdateCalendarEventRequest. # noqa: E501 + :rtype: str + """ + return self._image_id + + @image_id.setter + def image_id(self, image_id): + """Sets the image_id of this UpdateCalendarEventRequest. + + + :param image_id: The image_id of this UpdateCalendarEventRequest. # noqa: E501 + :type image_id: str + """ + + self._image_id = image_id + + @property + def role_ids(self): + """Gets the role_ids of this UpdateCalendarEventRequest. # noqa: E501 + + + :return: The role_ids of this UpdateCalendarEventRequest. # noqa: E501 + :rtype: list[str] + """ + return self._role_ids + + @role_ids.setter + def role_ids(self, role_ids): + """Sets the role_ids of this UpdateCalendarEventRequest. + + + :param role_ids: The role_ids of this UpdateCalendarEventRequest. # noqa: E501 + :type role_ids: list[str] + """ + + self._role_ids = role_ids + + @property + def parent_id(self): + """Gets the parent_id of this UpdateCalendarEventRequest. # noqa: E501 + + + :return: The parent_id of this UpdateCalendarEventRequest. # noqa: E501 + :rtype: str + """ + return self._parent_id + + @parent_id.setter + def parent_id(self, parent_id): + """Sets the parent_id of this UpdateCalendarEventRequest. + + + :param parent_id: The parent_id of this UpdateCalendarEventRequest. # noqa: E501 + :type parent_id: str + """ + + self._parent_id = parent_id + + @property + def platforms(self): + """Gets the platforms of this UpdateCalendarEventRequest. # noqa: E501 + + + :return: The platforms of this UpdateCalendarEventRequest. # noqa: E501 + :rtype: list[str] + """ + return self._platforms + + @platforms.setter + def platforms(self, platforms): + """Sets the platforms of this UpdateCalendarEventRequest. + + + :param platforms: The platforms of this UpdateCalendarEventRequest. # noqa: E501 + :type platforms: list[str] + """ + + self._platforms = platforms + + @property + def languages(self): + """Gets the languages of this UpdateCalendarEventRequest. # noqa: E501 + + + :return: The languages of this UpdateCalendarEventRequest. # noqa: E501 + :rtype: list[str] + """ + return self._languages + + @languages.setter + def languages(self, languages): + """Sets the languages of this UpdateCalendarEventRequest. + + + :param languages: The languages of this UpdateCalendarEventRequest. # noqa: E501 + :type languages: list[str] + """ + + self._languages = languages + + @property + def send_creation_notification(self): + """Gets the send_creation_notification of this UpdateCalendarEventRequest. # noqa: E501 + + Send notification to group members. # noqa: E501 + + :return: The send_creation_notification of this UpdateCalendarEventRequest. # noqa: E501 + :rtype: bool + """ + return self._send_creation_notification + + @send_creation_notification.setter + def send_creation_notification(self, send_creation_notification): + """Sets the send_creation_notification of this UpdateCalendarEventRequest. + + Send notification to group members. # noqa: E501 + + :param send_creation_notification: The send_creation_notification of this UpdateCalendarEventRequest. # noqa: E501 + :type send_creation_notification: bool + """ + + self._send_creation_notification = send_creation_notification + + @property + def featured(self): + """Gets the featured of this UpdateCalendarEventRequest. # noqa: E501 + + + :return: The featured of this UpdateCalendarEventRequest. # noqa: E501 + :rtype: bool + """ + return self._featured + + @featured.setter + def featured(self, featured): + """Sets the featured of this UpdateCalendarEventRequest. + + + :param featured: The featured of this UpdateCalendarEventRequest. # noqa: E501 + :type featured: bool + """ + + self._featured = featured + + @property + def host_early_join_minutes(self): + """Gets the host_early_join_minutes of this UpdateCalendarEventRequest. # noqa: E501 + + + :return: The host_early_join_minutes of this UpdateCalendarEventRequest. # noqa: E501 + :rtype: int + """ + return self._host_early_join_minutes + + @host_early_join_minutes.setter + def host_early_join_minutes(self, host_early_join_minutes): + """Sets the host_early_join_minutes of this UpdateCalendarEventRequest. + + + :param host_early_join_minutes: The host_early_join_minutes of this UpdateCalendarEventRequest. # noqa: E501 + :type host_early_join_minutes: int + """ + + self._host_early_join_minutes = host_early_join_minutes + + @property + def guest_early_join_minutes(self): + """Gets the guest_early_join_minutes of this UpdateCalendarEventRequest. # noqa: E501 + + + :return: The guest_early_join_minutes of this UpdateCalendarEventRequest. # noqa: E501 + :rtype: int + """ + return self._guest_early_join_minutes + + @guest_early_join_minutes.setter + def guest_early_join_minutes(self, guest_early_join_minutes): + """Sets the guest_early_join_minutes of this UpdateCalendarEventRequest. + + + :param guest_early_join_minutes: The guest_early_join_minutes of this UpdateCalendarEventRequest. # noqa: E501 + :type guest_early_join_minutes: int + """ + + self._guest_early_join_minutes = guest_early_join_minutes + + @property + def close_instance_after_end_minutes(self): + """Gets the close_instance_after_end_minutes of this UpdateCalendarEventRequest. # noqa: E501 + + + :return: The close_instance_after_end_minutes of this UpdateCalendarEventRequest. # noqa: E501 + :rtype: int + """ + return self._close_instance_after_end_minutes + + @close_instance_after_end_minutes.setter + def close_instance_after_end_minutes(self, close_instance_after_end_minutes): + """Sets the close_instance_after_end_minutes of this UpdateCalendarEventRequest. + + + :param close_instance_after_end_minutes: The close_instance_after_end_minutes of this UpdateCalendarEventRequest. # noqa: E501 + :type close_instance_after_end_minutes: int + """ + + self._close_instance_after_end_minutes = close_instance_after_end_minutes + + @property + def uses_instance_overflow(self): + """Gets the uses_instance_overflow of this UpdateCalendarEventRequest. # noqa: E501 + + + :return: The uses_instance_overflow of this UpdateCalendarEventRequest. # noqa: E501 + :rtype: bool + """ + return self._uses_instance_overflow + + @uses_instance_overflow.setter + def uses_instance_overflow(self, uses_instance_overflow): + """Sets the uses_instance_overflow of this UpdateCalendarEventRequest. + + + :param uses_instance_overflow: The uses_instance_overflow of this UpdateCalendarEventRequest. # noqa: E501 + :type uses_instance_overflow: bool + """ + + self._uses_instance_overflow = uses_instance_overflow + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, UpdateCalendarEventRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, UpdateCalendarEventRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index 1460c2a6..732dbc55 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index cc6b4777..054cd90d 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index 725dabe2..910f1d54 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_representation_request.py b/vrchatapi/models/update_group_representation_request.py index 34c4f8a5..2428f25c 100644 --- a/vrchatapi/models/update_group_representation_request.py +++ b/vrchatapi/models/update_group_representation_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index 8aa6b03d..573f0950 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index 19c42e56..4835e63f 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index 0add18ea..60cecce1 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_badge_request.py b/vrchatapi/models/update_user_badge_request.py index 8ae5f58b..7b1ec2c0 100644 --- a/vrchatapi/models/update_user_badge_request.py +++ b/vrchatapi/models/update_user_badge_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_note_request.py b/vrchatapi/models/update_user_note_request.py index f8e288ef..c576ca46 100644 --- a/vrchatapi/models/update_user_note_request.py +++ b/vrchatapi/models/update_user_note_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index 3b5d434b..5374e8f3 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index ef48d50b..0dbc7f7f 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index c3939120..c364e6ac 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index d9b88217..1e19ef01 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_note.py b/vrchatapi/models/user_note.py index 626d0aaa..b00b4e5f 100644 --- a/vrchatapi/models/user_note.py +++ b/vrchatapi/models/user_note.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_note_target_user.py b/vrchatapi/models/user_note_target_user.py index 7ba27004..44f87bba 100644 --- a/vrchatapi/models/user_note_target_user.py +++ b/vrchatapi/models/user_note_target_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index 01cd0488..e46efb7f 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index e6a1947f..12930393 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index 035da270..19e97c41 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_email_code_result.py b/vrchatapi/models/verify2_fa_email_code_result.py index 1538c05a..4696a63e 100644 --- a/vrchatapi/models/verify2_fa_email_code_result.py +++ b/vrchatapi/models/verify2_fa_email_code_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index e55dbe66..6df7c708 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index aa6873d5..99a0a743 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index bd5e7c0b..c14e113d 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index d16dcfec..32f49e14 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index 1a7ddce8..15d513ad 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index 2e36fc5d..a8125d6a 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.1 + The version of the OpenAPI document: 1.20.2 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ From 3a6b7e5d170a3ae2b80a28961d9595c4a24f74f9 Mon Sep 17 00:00:00 2001 From: VRCCat Date: Thu, 4 Sep 2025 23:07:05 +0000 Subject: [PATCH 076/102] Upgrade Python SDK to spec 1.20.3 --- docs/Avatar.md | 1 + docs/CurrentUser.md | 1 + docs/FavoritedWorld.md | 2 +- docs/FileAnalysisAvatarStats.md | 1 + docs/GroupLimitedMember.md | 1 + docs/GroupMember.md | 1 + docs/GroupMyMember.md | 1 + docs/LimitedUnityPackage.md | 1 + docs/ProductListing.md | 21 +- docs/TokenBundle.md | 1 + docs/UpdateGroupMemberRequest.md | 1 + package-lock.json | 56 +++-- package.json | 2 +- setup.py | 4 +- vrchatapi/__init__.py | 2 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/calendar_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/groups_api.py | 2 +- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/inventory_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/jams_api.py | 2 +- vrchatapi/api/miscellaneous_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/prints_api.py | 2 +- vrchatapi/api/props_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 +- vrchatapi/exceptions.py | 2 +- vrchatapi/models/__init__.py | 2 +- vrchatapi/models/account_deletion_log.py | 2 +- vrchatapi/models/add_favorite_request.py | 2 +- .../models/add_group_gallery_image_request.py | 2 +- vrchatapi/models/admin_asset_bundle.py | 2 +- vrchatapi/models/admin_unity_package.py | 2 +- vrchatapi/models/age_verification_status.py | 2 +- vrchatapi/models/api_config.py | 2 +- .../models/api_config_access_logs_urls.py | 2 +- vrchatapi/models/api_config_announcement.py | 2 +- .../models/api_config_avatar_perf_limiter.py | 2 +- vrchatapi/models/api_config_constants.py | 2 +- .../models/api_config_constants_groups.py | 2 +- .../models/api_config_constants_instance.py | 2 +- ...ig_constants_instancepopulationbrackets.py | 2 +- ...tants_instancepopulationbracketscrowded.py | 2 +- ...constants_instancepopulationbracketsfew.py | 2 +- ...onstants_instancepopulationbracketsmany.py | 2 +- .../models/api_config_constants_language.py | 2 +- .../models/api_config_download_url_list.py | 2 +- vrchatapi/models/api_config_events.py | 2 +- ...onfig_min_supported_client_build_number.py | 2 +- .../models/api_config_offline_analysis.py | 2 +- .../models/api_config_report_categories.py | 2 +- vrchatapi/models/api_config_report_options.py | 2 +- .../api_config_report_options_avatar.py | 2 +- .../models/api_config_report_options_group.py | 2 +- .../models/api_config_report_options_user.py | 2 +- .../models/api_config_report_options_world.py | 2 +- vrchatapi/models/api_config_report_reasons.py | 2 +- vrchatapi/models/api_health.py | 2 +- vrchatapi/models/avatar.py | 29 ++- vrchatapi/models/avatar_performance.py | 2 +- .../models/avatar_published_listings_inner.py | 2 +- vrchatapi/models/avatar_style.py | 2 +- vrchatapi/models/avatar_styles.py | 2 +- .../models/avatar_unity_package_url_object.py | 2 +- vrchatapi/models/badge.py | 2 +- vrchatapi/models/balance.py | 2 +- vrchatapi/models/ban_group_member_request.py | 2 +- vrchatapi/models/calendar_event.py | 2 +- .../models/calendar_event_user_interest.py | 2 +- vrchatapi/models/change_user_tags_request.py | 2 +- vrchatapi/models/create_avatar_request.py | 2 +- .../models/create_calendar_event_request.py | 2 +- vrchatapi/models/create_file_request.py | 2 +- .../models/create_file_version_request.py | 2 +- .../create_group_announcement_request.py | 2 +- .../models/create_group_gallery_request.py | 2 +- .../models/create_group_invite_request.py | 2 +- vrchatapi/models/create_group_post_request.py | 2 +- vrchatapi/models/create_group_request.py | 2 +- vrchatapi/models/create_group_role_request.py | 2 +- vrchatapi/models/create_instance_request.py | 2 +- vrchatapi/models/create_world_request.py | 2 +- vrchatapi/models/current_user.py | 31 ++- .../current_user_platform_history_inner.py | 2 +- vrchatapi/models/current_user_presence.py | 2 +- vrchatapi/models/developer_type.py | 2 +- vrchatapi/models/disable2_fa_result.py | 2 +- vrchatapi/models/dynamic_content_row.py | 2 +- vrchatapi/models/error.py | 2 +- vrchatapi/models/favorite.py | 2 +- vrchatapi/models/favorite_group.py | 2 +- vrchatapi/models/favorite_group_limits.py | 2 +- vrchatapi/models/favorite_group_visibility.py | 2 +- vrchatapi/models/favorite_limits.py | 2 +- vrchatapi/models/favorite_type.py | 2 +- vrchatapi/models/favorited_world.py | 7 +- vrchatapi/models/feedback.py | 2 +- vrchatapi/models/file.py | 2 +- vrchatapi/models/file_analysis.py | 2 +- .../models/file_analysis_avatar_stats.py | 31 ++- vrchatapi/models/file_data.py | 2 +- vrchatapi/models/file_status.py | 2 +- vrchatapi/models/file_upload_url.py | 2 +- vrchatapi/models/file_version.py | 2 +- .../models/file_version_upload_status.py | 2 +- .../models/finish_file_data_upload_request.py | 2 +- .../models/follow_calendar_event_request.py | 2 +- vrchatapi/models/friend_status.py | 2 +- .../models/get_group_posts200_response.py | 2 +- .../get_user_group_instances200_response.py | 2 +- vrchatapi/models/group.py | 2 +- vrchatapi/models/group_access_type.py | 2 +- vrchatapi/models/group_announcement.py | 2 +- vrchatapi/models/group_audit_log_entry.py | 2 +- vrchatapi/models/group_gallery.py | 2 +- vrchatapi/models/group_gallery_image.py | 2 +- vrchatapi/models/group_instance.py | 2 +- vrchatapi/models/group_join_request_action.py | 2 +- vrchatapi/models/group_join_state.py | 2 +- vrchatapi/models/group_limited_member.py | 30 ++- vrchatapi/models/group_member.py | 30 ++- vrchatapi/models/group_member_limited_user.py | 2 +- vrchatapi/models/group_member_status.py | 2 +- vrchatapi/models/group_my_member.py | 30 ++- vrchatapi/models/group_permission.py | 2 +- vrchatapi/models/group_permissions.py | 2 +- vrchatapi/models/group_post.py | 2 +- vrchatapi/models/group_post_visibility.py | 2 +- vrchatapi/models/group_privacy.py | 2 +- vrchatapi/models/group_role.py | 2 +- vrchatapi/models/group_role_template.py | 2 +- .../models/group_role_template_values.py | 2 +- .../group_role_template_values_roles.py | 2 +- vrchatapi/models/group_search_sort.py | 2 +- vrchatapi/models/group_user_visibility.py | 2 +- vrchatapi/models/info_push.py | 2 +- vrchatapi/models/info_push_data.py | 2 +- vrchatapi/models/info_push_data_article.py | 2 +- .../models/info_push_data_article_content.py | 2 +- vrchatapi/models/info_push_data_clickable.py | 2 +- vrchatapi/models/instance.py | 2 +- vrchatapi/models/instance_content_settings.py | 2 +- vrchatapi/models/instance_platforms.py | 2 +- vrchatapi/models/instance_region.py | 2 +- .../models/instance_short_name_response.py | 2 +- vrchatapi/models/instance_type.py | 2 +- vrchatapi/models/inventory.py | 2 +- vrchatapi/models/inventory_drop.py | 2 +- vrchatapi/models/inventory_item.py | 2 +- vrchatapi/models/inventory_item_type.py | 2 +- vrchatapi/models/inventory_metadata.py | 2 +- .../models/inventory_notification_details.py | 2 +- vrchatapi/models/inventory_spawn.py | 2 +- vrchatapi/models/inventory_template.py | 2 +- vrchatapi/models/invite_message.py | 2 +- vrchatapi/models/invite_message_type.py | 2 +- vrchatapi/models/invite_request.py | 2 +- vrchatapi/models/invite_response.py | 2 +- vrchatapi/models/jam.py | 2 +- vrchatapi/models/jam_state_change_dates.py | 2 +- vrchatapi/models/license.py | 2 +- vrchatapi/models/license_action.py | 2 +- vrchatapi/models/license_group.py | 2 +- vrchatapi/models/license_type.py | 2 +- vrchatapi/models/limited_group.py | 2 +- vrchatapi/models/limited_unity_package.py | 29 ++- vrchatapi/models/limited_user_friend.py | 2 +- vrchatapi/models/limited_user_groups.py | 2 +- vrchatapi/models/limited_user_instance.py | 2 +- vrchatapi/models/limited_user_search.py | 2 +- vrchatapi/models/limited_world.py | 2 +- vrchatapi/models/mime_type.py | 2 +- vrchatapi/models/model_print.py | 2 +- vrchatapi/models/moderate_user_request.py | 2 +- vrchatapi/models/notification.py | 2 +- .../models/notification_detail_invite.py | 2 +- .../notification_detail_invite_response.py | 2 +- .../notification_detail_request_invite.py | 2 +- ...fication_detail_request_invite_response.py | 2 +- .../notification_detail_vote_to_kick.py | 2 +- vrchatapi/models/notification_type.py | 2 +- vrchatapi/models/order_option.py | 2 +- .../models/paginated_calendar_event_list.py | 2 +- .../paginated_group_audit_log_entry_list.py | 2 +- vrchatapi/models/past_display_name.py | 2 +- vrchatapi/models/pending2_fa_result.py | 2 +- vrchatapi/models/performance_limiter_info.py | 2 +- vrchatapi/models/performance_ratings.py | 2 +- vrchatapi/models/permission.py | 2 +- vrchatapi/models/platform_build_info.py | 2 +- vrchatapi/models/player_moderation.py | 2 +- vrchatapi/models/player_moderation_type.py | 2 +- vrchatapi/models/print_files.py | 2 +- vrchatapi/models/product.py | 2 +- vrchatapi/models/product_listing.py | 211 ++++++++---------- vrchatapi/models/product_listing_type.py | 2 +- vrchatapi/models/product_listing_variant.py | 2 +- vrchatapi/models/product_type.py | 2 +- vrchatapi/models/prop.py | 2 +- vrchatapi/models/prop_unity_package.py | 2 +- vrchatapi/models/region.py | 2 +- .../models/register_user_account_request.py | 2 +- vrchatapi/models/release_status.py | 2 +- vrchatapi/models/report_category.py | 2 +- vrchatapi/models/report_reason.py | 2 +- vrchatapi/models/represented_group.py | 2 +- vrchatapi/models/request_invite_request.py | 2 +- .../models/respond_group_join_request.py | 2 +- vrchatapi/models/response.py | 2 +- vrchatapi/models/sent_notification.py | 2 +- vrchatapi/models/service_queue_stats.py | 2 +- vrchatapi/models/service_status.py | 2 +- vrchatapi/models/sort_option.py | 2 +- vrchatapi/models/submission.py | 2 +- vrchatapi/models/subscription.py | 2 +- vrchatapi/models/subscription_period.py | 2 +- vrchatapi/models/success.py | 2 +- vrchatapi/models/tilia_status.py | 2 +- vrchatapi/models/tilia_tos.py | 2 +- vrchatapi/models/token_bundle.py | 31 ++- vrchatapi/models/transaction.py | 4 +- vrchatapi/models/transaction_agreement.py | 2 +- vrchatapi/models/transaction_status.py | 2 +- vrchatapi/models/transaction_steam_info.py | 2 +- .../models/transaction_steam_wallet_info.py | 2 +- vrchatapi/models/two_factor_auth_code.py | 2 +- vrchatapi/models/two_factor_email_code.py | 2 +- vrchatapi/models/two_factor_recovery_codes.py | 2 +- .../two_factor_recovery_codes_otp_inner.py | 2 +- vrchatapi/models/unity_package.py | 2 +- vrchatapi/models/update_avatar_request.py | 2 +- .../models/update_calendar_event_request.py | 2 +- .../models/update_favorite_group_request.py | 2 +- .../models/update_group_gallery_request.py | 2 +- .../models/update_group_member_request.py | 30 ++- .../update_group_representation_request.py | 2 +- vrchatapi/models/update_group_request.py | 2 +- vrchatapi/models/update_group_role_request.py | 2 +- .../models/update_invite_message_request.py | 2 +- vrchatapi/models/update_user_badge_request.py | 2 +- vrchatapi/models/update_user_note_request.py | 2 +- vrchatapi/models/update_user_request.py | 2 +- vrchatapi/models/update_world_request.py | 2 +- vrchatapi/models/user.py | 2 +- vrchatapi/models/user_exists.py | 2 +- vrchatapi/models/user_note.py | 2 +- vrchatapi/models/user_note_target_user.py | 2 +- vrchatapi/models/user_state.py | 2 +- vrchatapi/models/user_status.py | 2 +- vrchatapi/models/user_subscription.py | 2 +- .../models/verify2_fa_email_code_result.py | 2 +- vrchatapi/models/verify2_fa_result.py | 2 +- vrchatapi/models/verify_auth_token_result.py | 2 +- vrchatapi/models/world.py | 2 +- vrchatapi/models/world_metadata.py | 2 +- vrchatapi/models/world_publish_status.py | 2 +- vrchatapi/rest.py | 2 +- 267 files changed, 636 insertions(+), 435 deletions(-) diff --git a/docs/Avatar.md b/docs/Avatar.md index 504562ed..fb4e37d0 100644 --- a/docs/Avatar.md +++ b/docs/Avatar.md @@ -16,6 +16,7 @@ Name | Type | Description | Notes **highest_price** | **int** | | [optional] **id** | **str** | | **image_url** | **str** | | +**listing_date** | **str** | | **lock** | **bool** | | [optional] **lowest_price** | **int** | | [optional] **name** | **str** | | diff --git a/docs/CurrentUser.md b/docs/CurrentUser.md index 9cfab6f6..1dcbbba9 100644 --- a/docs/CurrentUser.md +++ b/docs/CurrentUser.md @@ -60,6 +60,7 @@ Name | Type | Description | Notes **profile_pic_override** | **str** | | **profile_pic_override_thumbnail** | **str** | | **pronouns** | **str** | | +**pronouns_history** | **list[str]** | | **queued_instance** | **str** | | [optional] **receive_mobile_invitations** | **bool** | | [optional] **state** | [**UserState**](UserState.md) | | diff --git a/docs/FavoritedWorld.md b/docs/FavoritedWorld.md index 97a606b7..48ca4e00 100644 --- a/docs/FavoritedWorld.md +++ b/docs/FavoritedWorld.md @@ -5,7 +5,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**author_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**author_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] **author_name** | **str** | | **capacity** | **int** | | **description** | **str** | | diff --git a/docs/FileAnalysisAvatarStats.md b/docs/FileAnalysisAvatarStats.md index 31489aa7..60493ed5 100644 --- a/docs/FileAnalysisAvatarStats.md +++ b/docs/FileAnalysisAvatarStats.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **camera_count** | **int** | | [optional] **cloth_count** | **int** | | **constraint_count** | **int** | | +**constraint_depth** | **int** | | **contact_count** | **int** | | **custom_expressions** | **bool** | | **customize_animation_layers** | **bool** | | diff --git a/docs/GroupLimitedMember.md b/docs/GroupLimitedMember.md index 63105916..1b581f6c 100644 --- a/docs/GroupLimitedMember.md +++ b/docs/GroupLimitedMember.md @@ -14,6 +14,7 @@ Name | Type | Description | Notes **membership_status** | [**GroupMemberStatus**](GroupMemberStatus.md) | | [optional] **visibility** | **str** | | [optional] **is_subscribed_to_announcements** | **bool** | | [optional] [default to False] +**is_subscribed_to_event_announcements** | **bool** | | [optional] **created_at** | **datetime** | Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. | [optional] **banned_at** | **datetime** | Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. | [optional] **manager_notes** | **str** | Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. | [optional] diff --git a/docs/GroupMember.md b/docs/GroupMember.md index dc599a08..8f4785bf 100644 --- a/docs/GroupMember.md +++ b/docs/GroupMember.md @@ -17,6 +17,7 @@ Name | Type | Description | Notes **membership_status** | [**GroupMemberStatus**](GroupMemberStatus.md) | | [optional] **visibility** | **str** | | [optional] **is_subscribed_to_announcements** | **bool** | | [optional] [default to False] +**is_subscribed_to_event_announcements** | **bool** | | [optional] **created_at** | **datetime** | Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. | [optional] **banned_at** | **datetime** | Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. | [optional] **manager_notes** | **str** | Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. | [optional] diff --git a/docs/GroupMyMember.md b/docs/GroupMyMember.md index b0c57492..977be5ce 100644 --- a/docs/GroupMyMember.md +++ b/docs/GroupMyMember.md @@ -14,6 +14,7 @@ Name | Type | Description | Notes **manager_notes** | **str** | | [optional] **membership_status** | **str** | | [optional] **is_subscribed_to_announcements** | **bool** | | [optional] [default to True] +**is_subscribed_to_event_announcements** | **bool** | | [optional] **visibility** | **str** | | [optional] **is_representing** | **bool** | | [optional] [default to False] **joined_at** | **datetime** | | [optional] diff --git a/docs/LimitedUnityPackage.md b/docs/LimitedUnityPackage.md index 3c6a2299..2aaeb6d8 100644 --- a/docs/LimitedUnityPackage.md +++ b/docs/LimitedUnityPackage.md @@ -5,6 +5,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**created_at** | **datetime** | | **platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | **unity_version** | **str** | | diff --git a/docs/ProductListing.md b/docs/ProductListing.md index c2f3152a..85cf2b7b 100644 --- a/docs/ProductListing.md +++ b/docs/ProductListing.md @@ -5,23 +5,23 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **active** | **bool** | | -**archived** | **bool** | | **buyer_refundable** | **bool** | | -**created** | **datetime** | | **description** | **str** | | **display_name** | **str** | | **duration** | **int** | | [optional] **duration_type** | **str** | | [optional] -**group_icon** | **str** | | -**group_id** | **str** | | -**group_name** | **str** | | +**group_icon** | **str** | | [optional] +**group_id** | **str** | | [optional] +**group_name** | **str** | | [optional] +**has_avatar** | **bool** | | +**has_udon** | **bool** | | **hydrated_products** | [**list[Product]**](Product.md) | | [optional] **id** | **str** | | -**image_id** | **str** | | -**instant** | **bool** | | +**image_id** | **str** | | [optional] +**image_url** | **str** | | [optional] **listing_type** | [**ProductListingType**](ProductListingType.md) | | -**listing_variants** | [**list[ProductListingVariant]**](ProductListingVariant.md) | | -**permanent** | **bool** | | +**listing_variants** | [**list[ProductListingVariant]**](ProductListingVariant.md) | | [optional] +**permanent** | **bool** | | [optional] **price_tokens** | **int** | | **product_ids** | **list[str]** | | **product_type** | [**ProductType**](ProductType.md) | | @@ -33,8 +33,7 @@ Name | Type | Description | Notes **seller_id** | **str** | | **stackable** | **bool** | | **store_ids** | **list[str]** | | -**tags** | **list[str]** | | -**updated** | **datetime** | | +**tags** | **list[str]** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/TokenBundle.md b/docs/TokenBundle.md index 54c6b49c..5e7da949 100644 --- a/docs/TokenBundle.md +++ b/docs/TokenBundle.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **str** | | +**apple_product_id** | **str** | | **steam_item_id** | **str** | | **oculus_sku** | **str** | | **google_product_id** | **str** | | [optional] diff --git a/docs/UpdateGroupMemberRequest.md b/docs/UpdateGroupMemberRequest.md index 6b491ed5..c482b9db 100644 --- a/docs/UpdateGroupMemberRequest.md +++ b/docs/UpdateGroupMemberRequest.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **visibility** | [**GroupUserVisibility**](GroupUserVisibility.md) | | [optional] **is_subscribed_to_announcements** | **bool** | | [optional] +**is_subscribed_to_event_announcements** | **bool** | | [optional] **manager_notes** | **str** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/package-lock.json b/package-lock.json index 6cee9cfe..8aa420f6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.22.0" + "@openapitools/openapi-generator-cli": "^2.23.1" } }, "node_modules/@inquirer/external-editor": { @@ -235,9 +235,9 @@ "integrity": "sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw==" }, "node_modules/@openapitools/openapi-generator-cli": { - "version": "2.22.0", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.22.0.tgz", - "integrity": "sha512-HdjSiKsXpbnXBcSCnft494fv5pFZxPKFAV1eR+yMjo3bt1ONLb7OGy1D/5SrbjRfy9b82JcYUJ3gssh49suWKg==", + "version": "2.23.1", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.23.1.tgz", + "integrity": "sha512-Kd5EZqzbcIXf6KRlpUrheHMzQNRHsJWzAGrm4ncWCNhnQl+Mh6TsFcqq+hIetgiFCknWBH6cZ2f37SxPxaon4w==", "hasInstallScript": true, "dependencies": { "@nestjs/axios": "4.0.1", @@ -248,7 +248,7 @@ "chalk": "4.1.2", "commander": "8.3.0", "compare-versions": "4.1.4", - "concurrently": "9.2.0", + "concurrently": "9.2.1", "console.table": "0.10.0", "fs-extra": "11.3.1", "glob": "11.0.3", @@ -566,17 +566,16 @@ "integrity": "sha512-FemMreK9xNyL8gQevsdRMrvO4lFCkQP7qbuktn1q8ndcNk1+0mz7lgE7b/sNvbhVgY4w6tMN1FDp6aADjqw2rw==" }, "node_modules/concurrently": { - "version": "9.2.0", - "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-9.2.0.tgz", - "integrity": "sha512-IsB/fiXTupmagMW4MNp2lx2cdSN2FfZq78vF90LBB+zZHArbIQZjQtzXCiXnvTxCZSvXanTqFLWBjw2UkLx1SQ==", + "version": "9.2.1", + "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-9.2.1.tgz", + "integrity": "sha512-fsfrO0MxV64Znoy8/l1vVIjjHa29SZyyqPgQBwhiDcaW8wJc2W3XWVOGx4M3oJBnv/zdUZIIp1gDeS98GzP8Ng==", "dependencies": { - "chalk": "^4.1.2", - "lodash": "^4.17.21", - "rxjs": "^7.8.1", - "shell-quote": "^1.8.1", - "supports-color": "^8.1.1", - "tree-kill": "^1.2.2", - "yargs": "^17.7.2" + "chalk": "4.1.2", + "rxjs": "7.8.2", + "shell-quote": "1.8.3", + "supports-color": "8.1.1", + "tree-kill": "1.2.2", + "yargs": "17.7.2" }, "bin": { "conc": "dist/bin/concurrently.js", @@ -2155,9 +2154,9 @@ } }, "@openapitools/openapi-generator-cli": { - "version": "2.22.0", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.22.0.tgz", - "integrity": "sha512-HdjSiKsXpbnXBcSCnft494fv5pFZxPKFAV1eR+yMjo3bt1ONLb7OGy1D/5SrbjRfy9b82JcYUJ3gssh49suWKg==", + "version": "2.23.1", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.23.1.tgz", + "integrity": "sha512-Kd5EZqzbcIXf6KRlpUrheHMzQNRHsJWzAGrm4ncWCNhnQl+Mh6TsFcqq+hIetgiFCknWBH6cZ2f37SxPxaon4w==", "requires": { "@nestjs/axios": "4.0.1", "@nestjs/common": "11.1.6", @@ -2167,7 +2166,7 @@ "chalk": "4.1.2", "commander": "8.3.0", "compare-versions": "4.1.4", - "concurrently": "9.2.0", + "concurrently": "9.2.1", "console.table": "0.10.0", "fs-extra": "11.3.1", "glob": "11.0.3", @@ -2376,17 +2375,16 @@ "integrity": "sha512-FemMreK9xNyL8gQevsdRMrvO4lFCkQP7qbuktn1q8ndcNk1+0mz7lgE7b/sNvbhVgY4w6tMN1FDp6aADjqw2rw==" }, "concurrently": { - "version": "9.2.0", - "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-9.2.0.tgz", - "integrity": "sha512-IsB/fiXTupmagMW4MNp2lx2cdSN2FfZq78vF90LBB+zZHArbIQZjQtzXCiXnvTxCZSvXanTqFLWBjw2UkLx1SQ==", + "version": "9.2.1", + "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-9.2.1.tgz", + "integrity": "sha512-fsfrO0MxV64Znoy8/l1vVIjjHa29SZyyqPgQBwhiDcaW8wJc2W3XWVOGx4M3oJBnv/zdUZIIp1gDeS98GzP8Ng==", "requires": { - "chalk": "^4.1.2", - "lodash": "^4.17.21", - "rxjs": "^7.8.1", - "shell-quote": "^1.8.1", - "supports-color": "^8.1.1", - "tree-kill": "^1.2.2", - "yargs": "^17.7.2" + "chalk": "4.1.2", + "rxjs": "7.8.2", + "shell-quote": "1.8.3", + "supports-color": "8.1.1", + "tree-kill": "1.2.2", + "yargs": "17.7.2" }, "dependencies": { "supports-color": { diff --git a/package.json b/package.json index 12cdf6cf..51b17094 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.22.0" + "@openapitools/openapi-generator-cli": "^2.23.1" } } diff --git a/setup.py b/setup.py index 99226783..935fdb97 100644 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.20.2" +VERSION = "1.20.3" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 160fa147..b236763b 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,7 +6,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index 779ddf11..ec287e3f 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index 056ad226..d044879b 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/calendar_api.py b/vrchatapi/api/calendar_api.py index b8d39a15..2308c58a 100644 --- a/vrchatapi/api/calendar_api.py +++ b/vrchatapi/api/calendar_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 544ffe8e..d43073f2 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index 47bf03b8..666e4e79 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index fdc6b191..6a825f28 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index 34e8e062..692c0147 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index 8c6be458..6db8ab85 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 95ea6b3a..e36b57e3 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/inventory_api.py b/vrchatapi/api/inventory_api.py index e7830c1a..a671e744 100644 --- a/vrchatapi/api/inventory_api.py +++ b/vrchatapi/api/inventory_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index c15b0f61..e1f3d7a4 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/jams_api.py b/vrchatapi/api/jams_api.py index c4f04315..0aa9ad42 100644 --- a/vrchatapi/api/jams_api.py +++ b/vrchatapi/api/jams_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/miscellaneous_api.py b/vrchatapi/api/miscellaneous_api.py index 936c5eb0..91588768 100644 --- a/vrchatapi/api/miscellaneous_api.py +++ b/vrchatapi/api/miscellaneous_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index 8c24d9ab..e59f2ff9 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index 719a8310..a8e9d6f8 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/prints_api.py b/vrchatapi/api/prints_api.py index bf98b8d3..f114d78b 100644 --- a/vrchatapi/api/prints_api.py +++ b/vrchatapi/api/prints_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/props_api.py b/vrchatapi/api/props_api.py index 83b95f49..1d4a0c0a 100644 --- a/vrchatapi/api/props_api.py +++ b/vrchatapi/api/props_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index ce9f4fd1..2fcdffbb 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index fdf1d970..4c8c0e79 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index 972cc51b..d8d57691 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,7 +3,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index 9f133115..6f390f4b 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -441,7 +441,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.20.2\n"\ + "Version of the API: 1.20.3\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index 6b1f0923..92b54def 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index 11c05fcb..02cbe062 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,7 +5,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/account_deletion_log.py b/vrchatapi/models/account_deletion_log.py index 48a74a73..036fde66 100644 --- a/vrchatapi/models/account_deletion_log.py +++ b/vrchatapi/models/account_deletion_log.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index c7d40c10..9d898ed1 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index 121b2056..f43d4686 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/admin_asset_bundle.py b/vrchatapi/models/admin_asset_bundle.py index 794d8c1b..f8ca1092 100644 --- a/vrchatapi/models/admin_asset_bundle.py +++ b/vrchatapi/models/admin_asset_bundle.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/admin_unity_package.py b/vrchatapi/models/admin_unity_package.py index d03bb683..8866faa0 100644 --- a/vrchatapi/models/admin_unity_package.py +++ b/vrchatapi/models/admin_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/age_verification_status.py b/vrchatapi/models/age_verification_status.py index 788bf2ca..8506bc8b 100644 --- a/vrchatapi/models/age_verification_status.py +++ b/vrchatapi/models/age_verification_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index 1a7617be..a9a01b47 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_access_logs_urls.py b/vrchatapi/models/api_config_access_logs_urls.py index 503f9547..5b29d072 100644 --- a/vrchatapi/models/api_config_access_logs_urls.py +++ b/vrchatapi/models/api_config_access_logs_urls.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index 7e842ef6..826de922 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_avatar_perf_limiter.py b/vrchatapi/models/api_config_avatar_perf_limiter.py index 2813aed1..3ae419df 100644 --- a/vrchatapi/models/api_config_avatar_perf_limiter.py +++ b/vrchatapi/models/api_config_avatar_perf_limiter.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants.py b/vrchatapi/models/api_config_constants.py index cb17e27a..a08a1ebd 100644 --- a/vrchatapi/models/api_config_constants.py +++ b/vrchatapi/models/api_config_constants.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_groups.py b/vrchatapi/models/api_config_constants_groups.py index 4985dbaf..9e7ca085 100644 --- a/vrchatapi/models/api_config_constants_groups.py +++ b/vrchatapi/models/api_config_constants_groups.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instance.py b/vrchatapi/models/api_config_constants_instance.py index db6e6257..c71552f7 100644 --- a/vrchatapi/models/api_config_constants_instance.py +++ b/vrchatapi/models/api_config_constants_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbrackets.py b/vrchatapi/models/api_config_constants_instancepopulationbrackets.py index fcf6ff5e..58d66448 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbrackets.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbrackets.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py b/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py index fd7cb64b..0a9da5cb 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py b/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py index 169e8e49..f99ce62e 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py b/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py index 6c0e7afb..b2dd761d 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_language.py b/vrchatapi/models/api_config_constants_language.py index eb5cd218..176326d0 100644 --- a/vrchatapi/models/api_config_constants_language.py +++ b/vrchatapi/models/api_config_constants_language.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index 5440b75b..31c54bd9 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index 8c962ac3..27b52413 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_min_supported_client_build_number.py b/vrchatapi/models/api_config_min_supported_client_build_number.py index d8905ecb..01c55d35 100644 --- a/vrchatapi/models/api_config_min_supported_client_build_number.py +++ b/vrchatapi/models/api_config_min_supported_client_build_number.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_offline_analysis.py b/vrchatapi/models/api_config_offline_analysis.py index 4a8be268..ca32b078 100644 --- a/vrchatapi/models/api_config_offline_analysis.py +++ b/vrchatapi/models/api_config_offline_analysis.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_categories.py b/vrchatapi/models/api_config_report_categories.py index dbcc4669..dd36ca52 100644 --- a/vrchatapi/models/api_config_report_categories.py +++ b/vrchatapi/models/api_config_report_categories.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options.py b/vrchatapi/models/api_config_report_options.py index 6082e886..dd1b1624 100644 --- a/vrchatapi/models/api_config_report_options.py +++ b/vrchatapi/models/api_config_report_options.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options_avatar.py b/vrchatapi/models/api_config_report_options_avatar.py index bbd39ca6..550e72ce 100644 --- a/vrchatapi/models/api_config_report_options_avatar.py +++ b/vrchatapi/models/api_config_report_options_avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options_group.py b/vrchatapi/models/api_config_report_options_group.py index 7aacf3d4..fcbb6bca 100644 --- a/vrchatapi/models/api_config_report_options_group.py +++ b/vrchatapi/models/api_config_report_options_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options_user.py b/vrchatapi/models/api_config_report_options_user.py index 5e6adafd..f20d8125 100644 --- a/vrchatapi/models/api_config_report_options_user.py +++ b/vrchatapi/models/api_config_report_options_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options_world.py b/vrchatapi/models/api_config_report_options_world.py index 4adc57fb..75a15e39 100644 --- a/vrchatapi/models/api_config_report_options_world.py +++ b/vrchatapi/models/api_config_report_options_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_reasons.py b/vrchatapi/models/api_config_report_reasons.py index 9d91873d..508c3712 100644 --- a/vrchatapi/models/api_config_report_reasons.py +++ b/vrchatapi/models/api_config_report_reasons.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index 54247bb2..3e8fc5a2 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index e7b55243..06ef7ee7 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -47,6 +47,7 @@ class Avatar(object): 'highest_price': 'int', 'id': 'str', 'image_url': 'str', + 'listing_date': 'str', 'lock': 'bool', 'lowest_price': 'int', 'name': 'str', @@ -77,6 +78,7 @@ class Avatar(object): 'highest_price': 'highestPrice', 'id': 'id', 'image_url': 'imageUrl', + 'listing_date': 'listingDate', 'lock': 'lock', 'lowest_price': 'lowestPrice', 'name': 'name', @@ -95,7 +97,7 @@ class Avatar(object): 'version': 'version' } - def __init__(self, acknowledgements=None, asset_url=None, asset_url_object=None, author_id=None, author_name=None, created_at=None, description=None, featured=False, highest_price=None, id=None, image_url=None, lock=None, lowest_price=None, name=None, performance=None, product_id=None, published_listings=None, release_status=None, searchable=False, styles=None, tags=None, thumbnail_image_url=None, unity_package_url=None, unity_package_url_object=None, unity_packages=None, updated_at=None, version=0, local_vars_configuration=None): # noqa: E501 + def __init__(self, acknowledgements=None, asset_url=None, asset_url_object=None, author_id=None, author_name=None, created_at=None, description=None, featured=False, highest_price=None, id=None, image_url=None, listing_date=None, lock=None, lowest_price=None, name=None, performance=None, product_id=None, published_listings=None, release_status=None, searchable=False, styles=None, tags=None, thumbnail_image_url=None, unity_package_url=None, unity_package_url_object=None, unity_packages=None, updated_at=None, version=0, local_vars_configuration=None): # noqa: E501 """Avatar - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -112,6 +114,7 @@ def __init__(self, acknowledgements=None, asset_url=None, asset_url_object=None, self._highest_price = None self._id = None self._image_url = None + self._listing_date = None self._lock = None self._lowest_price = None self._name = None @@ -145,6 +148,7 @@ def __init__(self, acknowledgements=None, asset_url=None, asset_url_object=None, self.highest_price = highest_price self.id = id self.image_url = image_url + self.listing_date = listing_date if lock is not None: self.lock = lock if lowest_price is not None: @@ -430,6 +434,27 @@ def image_url(self, image_url): self._image_url = image_url + @property + def listing_date(self): + """Gets the listing_date of this Avatar. # noqa: E501 + + + :return: The listing_date of this Avatar. # noqa: E501 + :rtype: str + """ + return self._listing_date + + @listing_date.setter + def listing_date(self, listing_date): + """Sets the listing_date of this Avatar. + + + :param listing_date: The listing_date of this Avatar. # noqa: E501 + :type listing_date: str + """ + + self._listing_date = listing_date + @property def lock(self): """Gets the lock of this Avatar. # noqa: E501 diff --git a/vrchatapi/models/avatar_performance.py b/vrchatapi/models/avatar_performance.py index 4e90a947..75572823 100644 --- a/vrchatapi/models/avatar_performance.py +++ b/vrchatapi/models/avatar_performance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_published_listings_inner.py b/vrchatapi/models/avatar_published_listings_inner.py index 82200a61..7a5c7736 100644 --- a/vrchatapi/models/avatar_published_listings_inner.py +++ b/vrchatapi/models/avatar_published_listings_inner.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_style.py b/vrchatapi/models/avatar_style.py index b9146042..4c8711a8 100644 --- a/vrchatapi/models/avatar_style.py +++ b/vrchatapi/models/avatar_style.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_styles.py b/vrchatapi/models/avatar_styles.py index a67eb5c5..46b09a91 100644 --- a/vrchatapi/models/avatar_styles.py +++ b/vrchatapi/models/avatar_styles.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index d9b5f650..2d1509e7 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/badge.py b/vrchatapi/models/badge.py index 853d7b85..6b6572ca 100644 --- a/vrchatapi/models/badge.py +++ b/vrchatapi/models/badge.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/balance.py b/vrchatapi/models/balance.py index 6ab2ca2f..ea1627fd 100644 --- a/vrchatapi/models/balance.py +++ b/vrchatapi/models/balance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index 5058808b..db8e35c4 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/calendar_event.py b/vrchatapi/models/calendar_event.py index 375bee2f..1a343638 100644 --- a/vrchatapi/models/calendar_event.py +++ b/vrchatapi/models/calendar_event.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/calendar_event_user_interest.py b/vrchatapi/models/calendar_event_user_interest.py index 1279cae1..3c06bdce 100644 --- a/vrchatapi/models/calendar_event_user_interest.py +++ b/vrchatapi/models/calendar_event_user_interest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/change_user_tags_request.py b/vrchatapi/models/change_user_tags_request.py index 39e88363..c937ea56 100644 --- a/vrchatapi/models/change_user_tags_request.py +++ b/vrchatapi/models/change_user_tags_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index 1df44157..0b278b62 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_calendar_event_request.py b/vrchatapi/models/create_calendar_event_request.py index 4eb66748..5a1d96fc 100644 --- a/vrchatapi/models/create_calendar_event_request.py +++ b/vrchatapi/models/create_calendar_event_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index 9ac39f04..70eab30b 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index b36f4205..0c3474c4 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index 9fc7d59d..8cf39ab4 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index 5dd97bc3..d3f940c9 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index e14c37a4..9340b13b 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_post_request.py b/vrchatapi/models/create_group_post_request.py index fad216ef..2a07a84e 100644 --- a/vrchatapi/models/create_group_post_request.py +++ b/vrchatapi/models/create_group_post_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index c5b0f08a..af0a885b 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index 12f70bd9..1fe7b70d 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_instance_request.py b/vrchatapi/models/create_instance_request.py index a8fc3cc1..da7d1477 100644 --- a/vrchatapi/models/create_instance_request.py +++ b/vrchatapi/models/create_instance_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index 8cf56d79..fcbd6a6e 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index ff9331e4..9d8e9c6f 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -92,6 +92,7 @@ class CurrentUser(object): 'profile_pic_override': 'str', 'profile_pic_override_thumbnail': 'str', 'pronouns': 'str', + 'pronouns_history': 'list[str]', 'queued_instance': 'str', 'receive_mobile_invitations': 'bool', 'state': 'UserState', @@ -167,6 +168,7 @@ class CurrentUser(object): 'profile_pic_override': 'profilePicOverride', 'profile_pic_override_thumbnail': 'profilePicOverrideThumbnail', 'pronouns': 'pronouns', + 'pronouns_history': 'pronounsHistory', 'queued_instance': 'queuedInstance', 'receive_mobile_invitations': 'receiveMobileInvitations', 'state': 'state', @@ -185,7 +187,7 @@ class CurrentUser(object): 'username': 'username' } - def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, account_deletion_date=None, account_deletion_log=None, active_friends=None, age_verification_status=None, age_verified=None, allow_avatar_copying=None, auth_token=None, badges=None, bio=None, bio_links=None, content_filters=None, current_avatar=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, date_joined=None, developer_type=None, display_name=None, email_verified=None, fallback_avatar=None, friend_group_names=None, friend_key=None, friends=None, has_birthday=None, hide_content_filter_settings=None, user_language=None, user_language_code=None, has_email=None, has_logged_in_from_client=None, has_pending_email=None, home_location=None, id=None, is_adult=None, is_booping_enabled=True, is_friend=False, last_activity=None, last_login=None, last_mobile=None, last_platform=None, obfuscated_email=None, obfuscated_pending_email=None, oculus_id=None, google_id=None, google_details=None, pico_id=None, vive_id=None, offline_friends=None, online_friends=None, past_display_names=None, presence=None, platform_history=None, profile_pic_override=None, profile_pic_override_thumbnail=None, pronouns=None, queued_instance=None, receive_mobile_invitations=None, state=None, status=None, status_description=None, status_first_time=None, status_history=None, steam_details=None, steam_id=None, tags=None, two_factor_auth_enabled=None, two_factor_auth_enabled_date=None, unsubscribe=None, updated_at=None, user_icon=None, username=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, account_deletion_date=None, account_deletion_log=None, active_friends=None, age_verification_status=None, age_verified=None, allow_avatar_copying=None, auth_token=None, badges=None, bio=None, bio_links=None, content_filters=None, current_avatar=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, date_joined=None, developer_type=None, display_name=None, email_verified=None, fallback_avatar=None, friend_group_names=None, friend_key=None, friends=None, has_birthday=None, hide_content_filter_settings=None, user_language=None, user_language_code=None, has_email=None, has_logged_in_from_client=None, has_pending_email=None, home_location=None, id=None, is_adult=None, is_booping_enabled=True, is_friend=False, last_activity=None, last_login=None, last_mobile=None, last_platform=None, obfuscated_email=None, obfuscated_pending_email=None, oculus_id=None, google_id=None, google_details=None, pico_id=None, vive_id=None, offline_friends=None, online_friends=None, past_display_names=None, presence=None, platform_history=None, profile_pic_override=None, profile_pic_override_thumbnail=None, pronouns=None, pronouns_history=None, queued_instance=None, receive_mobile_invitations=None, state=None, status=None, status_description=None, status_first_time=None, status_history=None, steam_details=None, steam_id=None, tags=None, two_factor_auth_enabled=None, two_factor_auth_enabled_date=None, unsubscribe=None, updated_at=None, user_icon=None, username=None, local_vars_configuration=None): # noqa: E501 """CurrentUser - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -247,6 +249,7 @@ def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, acc self._profile_pic_override = None self._profile_pic_override_thumbnail = None self._pronouns = None + self._pronouns_history = None self._queued_instance = None self._receive_mobile_invitations = None self._state = None @@ -338,6 +341,7 @@ def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, acc self.profile_pic_override = profile_pic_override self.profile_pic_override_thumbnail = profile_pic_override_thumbnail self.pronouns = pronouns + self.pronouns_history = pronouns_history self.queued_instance = queued_instance if receive_mobile_invitations is not None: self.receive_mobile_invitations = receive_mobile_invitations @@ -1636,6 +1640,29 @@ def pronouns(self, pronouns): self._pronouns = pronouns + @property + def pronouns_history(self): + """Gets the pronouns_history of this CurrentUser. # noqa: E501 + + + :return: The pronouns_history of this CurrentUser. # noqa: E501 + :rtype: list[str] + """ + return self._pronouns_history + + @pronouns_history.setter + def pronouns_history(self, pronouns_history): + """Sets the pronouns_history of this CurrentUser. + + + :param pronouns_history: The pronouns_history of this CurrentUser. # noqa: E501 + :type pronouns_history: list[str] + """ + if self.local_vars_configuration.client_side_validation and pronouns_history is None: # noqa: E501 + raise ValueError("Invalid value for `pronouns_history`, must not be `None`") # noqa: E501 + + self._pronouns_history = pronouns_history + @property def queued_instance(self): """Gets the queued_instance of this CurrentUser. # noqa: E501 diff --git a/vrchatapi/models/current_user_platform_history_inner.py b/vrchatapi/models/current_user_platform_history_inner.py index 96dc8dcf..684df286 100644 --- a/vrchatapi/models/current_user_platform_history_inner.py +++ b/vrchatapi/models/current_user_platform_history_inner.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user_presence.py b/vrchatapi/models/current_user_presence.py index 2cc71744..5015e8f3 100644 --- a/vrchatapi/models/current_user_presence.py +++ b/vrchatapi/models/current_user_presence.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index 33508d17..1b12e1a4 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/disable2_fa_result.py b/vrchatapi/models/disable2_fa_result.py index 457c8fae..48ef0163 100644 --- a/vrchatapi/models/disable2_fa_result.py +++ b/vrchatapi/models/disable2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index f1ff2243..2a2f5166 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index e8b7331d..ed0bef84 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index 8db3a543..484b1243 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index f8e73487..4510491c 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_limits.py b/vrchatapi/models/favorite_group_limits.py index f8aa5963..2d97dd6a 100644 --- a/vrchatapi/models/favorite_group_limits.py +++ b/vrchatapi/models/favorite_group_limits.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index e1a007c5..8c4f46da 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_limits.py b/vrchatapi/models/favorite_limits.py index d3ea9c8c..96b35b7b 100644 --- a/vrchatapi/models/favorite_limits.py +++ b/vrchatapi/models/favorite_limits.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index 6f622e2a..0ffa7a5b 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorited_world.py b/vrchatapi/models/favorited_world.py index ea1c259d..e9551905 100644 --- a/vrchatapi/models/favorited_world.py +++ b/vrchatapi/models/favorited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -139,7 +139,8 @@ def __init__(self, author_id=None, author_name=None, capacity=None, description= self._version = None self.discriminator = None - self.author_id = author_id + if author_id is not None: + self.author_id = author_id self.author_name = author_name self.capacity = capacity self.description = description @@ -194,8 +195,6 @@ def author_id(self, author_id): :param author_id: The author_id of this FavoritedWorld. # noqa: E501 :type author_id: str """ - if self.local_vars_configuration.client_side_validation and author_id is None: # noqa: E501 - raise ValueError("Invalid value for `author_id`, must not be `None`") # noqa: E501 self._author_id = author_id diff --git a/vrchatapi/models/feedback.py b/vrchatapi/models/feedback.py index 711d7249..ae6cf1f8 100644 --- a/vrchatapi/models/feedback.py +++ b/vrchatapi/models/feedback.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index 5bc494a6..973df2ee 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_analysis.py b/vrchatapi/models/file_analysis.py index 50b07124..1c3b06b6 100644 --- a/vrchatapi/models/file_analysis.py +++ b/vrchatapi/models/file_analysis.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_analysis_avatar_stats.py b/vrchatapi/models/file_analysis_avatar_stats.py index 81a18451..5adf6bfe 100644 --- a/vrchatapi/models/file_analysis_avatar_stats.py +++ b/vrchatapi/models/file_analysis_avatar_stats.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -44,6 +44,7 @@ class FileAnalysisAvatarStats(object): 'camera_count': 'int', 'cloth_count': 'int', 'constraint_count': 'int', + 'constraint_depth': 'int', 'contact_count': 'int', 'custom_expressions': 'bool', 'customize_animation_layers': 'bool', @@ -90,6 +91,7 @@ class FileAnalysisAvatarStats(object): 'camera_count': 'cameraCount', 'cloth_count': 'clothCount', 'constraint_count': 'constraintCount', + 'constraint_depth': 'constraintDepth', 'contact_count': 'contactCount', 'custom_expressions': 'customExpressions', 'customize_animation_layers': 'customizeAnimationLayers', @@ -127,7 +129,7 @@ class FileAnalysisAvatarStats(object): 'write_defaults_used': 'writeDefaultsUsed' } - def __init__(self, animator_count=None, audio_source_count=None, blend_shape_count=None, bone_count=None, bounds=None, camera_count=None, cloth_count=None, constraint_count=None, contact_count=None, custom_expressions=None, customize_animation_layers=None, enable_eye_look=None, light_count=None, line_renderer_count=None, lip_sync=None, material_count=None, material_slots_used=None, mesh_count=None, mesh_indices=None, mesh_particle_max_polygons=None, mesh_polygons=None, mesh_vertices=None, particle_collision_enabled=None, particle_system_count=None, particle_trails_enabled=None, phys_bone_collider_count=None, phys_bone_collision_check_count=None, phys_bone_component_count=None, phys_bone_transform_count=None, physics_colliders=None, physics_rigidbodies=None, skinned_mesh_count=None, skinned_mesh_indices=None, skinned_mesh_polygons=None, skinned_mesh_vertices=None, total_cloth_vertices=None, total_indices=None, total_max_particles=None, total_polygons=None, total_texture_usage=None, total_vertices=None, trail_renderer_count=None, write_defaults_used=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, animator_count=None, audio_source_count=None, blend_shape_count=None, bone_count=None, bounds=None, camera_count=None, cloth_count=None, constraint_count=None, constraint_depth=None, contact_count=None, custom_expressions=None, customize_animation_layers=None, enable_eye_look=None, light_count=None, line_renderer_count=None, lip_sync=None, material_count=None, material_slots_used=None, mesh_count=None, mesh_indices=None, mesh_particle_max_polygons=None, mesh_polygons=None, mesh_vertices=None, particle_collision_enabled=None, particle_system_count=None, particle_trails_enabled=None, phys_bone_collider_count=None, phys_bone_collision_check_count=None, phys_bone_component_count=None, phys_bone_transform_count=None, physics_colliders=None, physics_rigidbodies=None, skinned_mesh_count=None, skinned_mesh_indices=None, skinned_mesh_polygons=None, skinned_mesh_vertices=None, total_cloth_vertices=None, total_indices=None, total_max_particles=None, total_polygons=None, total_texture_usage=None, total_vertices=None, trail_renderer_count=None, write_defaults_used=None, local_vars_configuration=None): # noqa: E501 """FileAnalysisAvatarStats - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -141,6 +143,7 @@ def __init__(self, animator_count=None, audio_source_count=None, blend_shape_cou self._camera_count = None self._cloth_count = None self._constraint_count = None + self._constraint_depth = None self._contact_count = None self._custom_expressions = None self._customize_animation_layers = None @@ -187,6 +190,7 @@ def __init__(self, animator_count=None, audio_source_count=None, blend_shape_cou self.camera_count = camera_count self.cloth_count = cloth_count self.constraint_count = constraint_count + self.constraint_depth = constraint_depth self.contact_count = contact_count self.custom_expressions = custom_expressions self.customize_animation_layers = customize_animation_layers @@ -405,6 +409,29 @@ def constraint_count(self, constraint_count): self._constraint_count = constraint_count + @property + def constraint_depth(self): + """Gets the constraint_depth of this FileAnalysisAvatarStats. # noqa: E501 + + + :return: The constraint_depth of this FileAnalysisAvatarStats. # noqa: E501 + :rtype: int + """ + return self._constraint_depth + + @constraint_depth.setter + def constraint_depth(self, constraint_depth): + """Sets the constraint_depth of this FileAnalysisAvatarStats. + + + :param constraint_depth: The constraint_depth of this FileAnalysisAvatarStats. # noqa: E501 + :type constraint_depth: int + """ + if self.local_vars_configuration.client_side_validation and constraint_depth is None: # noqa: E501 + raise ValueError("Invalid value for `constraint_depth`, must not be `None`") # noqa: E501 + + self._constraint_depth = constraint_depth + @property def contact_count(self): """Gets the contact_count of this FileAnalysisAvatarStats. # noqa: E501 diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index 69947066..a543d674 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index 69130fbd..8aeb2838 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index 5e58465f..ffe62433 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index c446cb50..8c2008f7 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index c64a44b2..b6e4dda8 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index 248ff433..f5167f69 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/follow_calendar_event_request.py b/vrchatapi/models/follow_calendar_event_request.py index 33d26b5e..accd3cd9 100644 --- a/vrchatapi/models/follow_calendar_event_request.py +++ b/vrchatapi/models/follow_calendar_event_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index 512021f4..b5a38ef2 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/get_group_posts200_response.py b/vrchatapi/models/get_group_posts200_response.py index 7927a8a7..40dbcd66 100644 --- a/vrchatapi/models/get_group_posts200_response.py +++ b/vrchatapi/models/get_group_posts200_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/get_user_group_instances200_response.py b/vrchatapi/models/get_user_group_instances200_response.py index 1fe4a2d5..5934c737 100644 --- a/vrchatapi/models/get_user_group_instances200_response.py +++ b/vrchatapi/models/get_user_group_instances200_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index afac037c..9d59eade 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_access_type.py b/vrchatapi/models/group_access_type.py index 7e9b04f1..7486d5d4 100644 --- a/vrchatapi/models/group_access_type.py +++ b/vrchatapi/models/group_access_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index 53d15e70..8111ef0c 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index a9cf67cd..a1820d72 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index 4bc27eef..3eddabd2 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index 7b593c1f..7c21369d 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_instance.py b/vrchatapi/models/group_instance.py index c3e8f1f3..0689be66 100644 --- a/vrchatapi/models/group_instance.py +++ b/vrchatapi/models/group_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_request_action.py b/vrchatapi/models/group_join_request_action.py index 7ce11c83..be72dc67 100644 --- a/vrchatapi/models/group_join_request_action.py +++ b/vrchatapi/models/group_join_request_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index f37dad73..05a76569 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index 55a8e3fc..c5abeb44 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -46,6 +46,7 @@ class GroupLimitedMember(object): 'membership_status': 'GroupMemberStatus', 'visibility': 'str', 'is_subscribed_to_announcements': 'bool', + 'is_subscribed_to_event_announcements': 'bool', 'created_at': 'datetime', 'banned_at': 'datetime', 'manager_notes': 'str', @@ -64,6 +65,7 @@ class GroupLimitedMember(object): 'membership_status': 'membershipStatus', 'visibility': 'visibility', 'is_subscribed_to_announcements': 'isSubscribedToAnnouncements', + 'is_subscribed_to_event_announcements': 'isSubscribedToEventAnnouncements', 'created_at': 'createdAt', 'banned_at': 'bannedAt', 'manager_notes': 'managerNotes', @@ -71,7 +73,7 @@ class GroupLimitedMember(object): 'has_joined_from_purchase': 'hasJoinedFromPurchase' } - def __init__(self, id=None, group_id=None, user_id=None, is_representing=False, role_ids=None, m_role_ids=None, joined_at=None, membership_status=None, visibility=None, is_subscribed_to_announcements=False, created_at=None, banned_at=None, manager_notes=None, last_post_read_at=None, has_joined_from_purchase=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, id=None, group_id=None, user_id=None, is_representing=False, role_ids=None, m_role_ids=None, joined_at=None, membership_status=None, visibility=None, is_subscribed_to_announcements=False, is_subscribed_to_event_announcements=None, created_at=None, banned_at=None, manager_notes=None, last_post_read_at=None, has_joined_from_purchase=None, local_vars_configuration=None): # noqa: E501 """GroupLimitedMember - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -87,6 +89,7 @@ def __init__(self, id=None, group_id=None, user_id=None, is_representing=False, self._membership_status = None self._visibility = None self._is_subscribed_to_announcements = None + self._is_subscribed_to_event_announcements = None self._created_at = None self._banned_at = None self._manager_notes = None @@ -113,6 +116,8 @@ def __init__(self, id=None, group_id=None, user_id=None, is_representing=False, self.visibility = visibility if is_subscribed_to_announcements is not None: self.is_subscribed_to_announcements = is_subscribed_to_announcements + if is_subscribed_to_event_announcements is not None: + self.is_subscribed_to_event_announcements = is_subscribed_to_event_announcements self.created_at = created_at self.banned_at = banned_at self.manager_notes = manager_notes @@ -334,6 +339,27 @@ def is_subscribed_to_announcements(self, is_subscribed_to_announcements): self._is_subscribed_to_announcements = is_subscribed_to_announcements + @property + def is_subscribed_to_event_announcements(self): + """Gets the is_subscribed_to_event_announcements of this GroupLimitedMember. # noqa: E501 + + + :return: The is_subscribed_to_event_announcements of this GroupLimitedMember. # noqa: E501 + :rtype: bool + """ + return self._is_subscribed_to_event_announcements + + @is_subscribed_to_event_announcements.setter + def is_subscribed_to_event_announcements(self, is_subscribed_to_event_announcements): + """Sets the is_subscribed_to_event_announcements of this GroupLimitedMember. + + + :param is_subscribed_to_event_announcements: The is_subscribed_to_event_announcements of this GroupLimitedMember. # noqa: E501 + :type is_subscribed_to_event_announcements: bool + """ + + self._is_subscribed_to_event_announcements = is_subscribed_to_event_announcements + @property def created_at(self): """Gets the created_at of this GroupLimitedMember. # noqa: E501 diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index 66e8c489..5d086785 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -49,6 +49,7 @@ class GroupMember(object): 'membership_status': 'GroupMemberStatus', 'visibility': 'str', 'is_subscribed_to_announcements': 'bool', + 'is_subscribed_to_event_announcements': 'bool', 'created_at': 'datetime', 'banned_at': 'datetime', 'manager_notes': 'str', @@ -70,6 +71,7 @@ class GroupMember(object): 'membership_status': 'membershipStatus', 'visibility': 'visibility', 'is_subscribed_to_announcements': 'isSubscribedToAnnouncements', + 'is_subscribed_to_event_announcements': 'isSubscribedToEventAnnouncements', 'created_at': 'createdAt', 'banned_at': 'bannedAt', 'manager_notes': 'managerNotes', @@ -77,7 +79,7 @@ class GroupMember(object): 'has_joined_from_purchase': 'hasJoinedFromPurchase' } - def __init__(self, accepted_by_display_name=None, accepted_by_id=None, id=None, group_id=None, user_id=None, is_representing=False, user=None, role_ids=None, m_role_ids=None, joined_at=None, membership_status=None, visibility=None, is_subscribed_to_announcements=False, created_at=None, banned_at=None, manager_notes=None, last_post_read_at=None, has_joined_from_purchase=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, accepted_by_display_name=None, accepted_by_id=None, id=None, group_id=None, user_id=None, is_representing=False, user=None, role_ids=None, m_role_ids=None, joined_at=None, membership_status=None, visibility=None, is_subscribed_to_announcements=False, is_subscribed_to_event_announcements=None, created_at=None, banned_at=None, manager_notes=None, last_post_read_at=None, has_joined_from_purchase=None, local_vars_configuration=None): # noqa: E501 """GroupMember - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -96,6 +98,7 @@ def __init__(self, accepted_by_display_name=None, accepted_by_id=None, id=None, self._membership_status = None self._visibility = None self._is_subscribed_to_announcements = None + self._is_subscribed_to_event_announcements = None self._created_at = None self._banned_at = None self._manager_notes = None @@ -126,6 +129,8 @@ def __init__(self, accepted_by_display_name=None, accepted_by_id=None, id=None, self.visibility = visibility if is_subscribed_to_announcements is not None: self.is_subscribed_to_announcements = is_subscribed_to_announcements + if is_subscribed_to_event_announcements is not None: + self.is_subscribed_to_event_announcements = is_subscribed_to_event_announcements self.created_at = created_at self.banned_at = banned_at self.manager_notes = manager_notes @@ -410,6 +415,27 @@ def is_subscribed_to_announcements(self, is_subscribed_to_announcements): self._is_subscribed_to_announcements = is_subscribed_to_announcements + @property + def is_subscribed_to_event_announcements(self): + """Gets the is_subscribed_to_event_announcements of this GroupMember. # noqa: E501 + + + :return: The is_subscribed_to_event_announcements of this GroupMember. # noqa: E501 + :rtype: bool + """ + return self._is_subscribed_to_event_announcements + + @is_subscribed_to_event_announcements.setter + def is_subscribed_to_event_announcements(self, is_subscribed_to_event_announcements): + """Sets the is_subscribed_to_event_announcements of this GroupMember. + + + :param is_subscribed_to_event_announcements: The is_subscribed_to_event_announcements of this GroupMember. # noqa: E501 + :type is_subscribed_to_event_announcements: bool + """ + + self._is_subscribed_to_event_announcements = is_subscribed_to_event_announcements + @property def created_at(self): """Gets the created_at of this GroupMember. # noqa: E501 diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index a1b306b3..f2daf2f6 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index 456896d9..40cc9c3e 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index 806071c5..56da19e6 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -46,6 +46,7 @@ class GroupMyMember(object): 'manager_notes': 'str', 'membership_status': 'str', 'is_subscribed_to_announcements': 'bool', + 'is_subscribed_to_event_announcements': 'bool', 'visibility': 'str', 'is_representing': 'bool', 'joined_at': 'datetime', @@ -68,6 +69,7 @@ class GroupMyMember(object): 'manager_notes': 'managerNotes', 'membership_status': 'membershipStatus', 'is_subscribed_to_announcements': 'isSubscribedToAnnouncements', + 'is_subscribed_to_event_announcements': 'isSubscribedToEventAnnouncements', 'visibility': 'visibility', 'is_representing': 'isRepresenting', 'joined_at': 'joinedAt', @@ -79,7 +81,7 @@ class GroupMyMember(object): 'permissions': 'permissions' } - def __init__(self, id=None, group_id=None, user_id=None, role_ids=None, accepted_by_display_name=None, accepted_by_id=None, created_at=None, manager_notes=None, membership_status=None, is_subscribed_to_announcements=True, visibility=None, is_representing=False, joined_at=None, banned_at=None, has2_fa=False, has_joined_from_purchase=False, last_post_read_at=None, m_role_ids=None, permissions=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, id=None, group_id=None, user_id=None, role_ids=None, accepted_by_display_name=None, accepted_by_id=None, created_at=None, manager_notes=None, membership_status=None, is_subscribed_to_announcements=True, is_subscribed_to_event_announcements=None, visibility=None, is_representing=False, joined_at=None, banned_at=None, has2_fa=False, has_joined_from_purchase=False, last_post_read_at=None, m_role_ids=None, permissions=None, local_vars_configuration=None): # noqa: E501 """GroupMyMember - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -95,6 +97,7 @@ def __init__(self, id=None, group_id=None, user_id=None, role_ids=None, accepted self._manager_notes = None self._membership_status = None self._is_subscribed_to_announcements = None + self._is_subscribed_to_event_announcements = None self._visibility = None self._is_representing = None self._joined_at = None @@ -124,6 +127,8 @@ def __init__(self, id=None, group_id=None, user_id=None, role_ids=None, accepted self.membership_status = membership_status if is_subscribed_to_announcements is not None: self.is_subscribed_to_announcements = is_subscribed_to_announcements + if is_subscribed_to_event_announcements is not None: + self.is_subscribed_to_event_announcements = is_subscribed_to_event_announcements if visibility is not None: self.visibility = visibility if is_representing is not None: @@ -353,6 +358,27 @@ def is_subscribed_to_announcements(self, is_subscribed_to_announcements): self._is_subscribed_to_announcements = is_subscribed_to_announcements + @property + def is_subscribed_to_event_announcements(self): + """Gets the is_subscribed_to_event_announcements of this GroupMyMember. # noqa: E501 + + + :return: The is_subscribed_to_event_announcements of this GroupMyMember. # noqa: E501 + :rtype: bool + """ + return self._is_subscribed_to_event_announcements + + @is_subscribed_to_event_announcements.setter + def is_subscribed_to_event_announcements(self, is_subscribed_to_event_announcements): + """Sets the is_subscribed_to_event_announcements of this GroupMyMember. + + + :param is_subscribed_to_event_announcements: The is_subscribed_to_event_announcements of this GroupMyMember. # noqa: E501 + :type is_subscribed_to_event_announcements: bool + """ + + self._is_subscribed_to_event_announcements = is_subscribed_to_event_announcements + @property def visibility(self): """Gets the visibility of this GroupMyMember. # noqa: E501 diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index 319f41d5..0d4aa96c 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permissions.py b/vrchatapi/models/group_permissions.py index 30d345f4..1cf5f7a1 100644 --- a/vrchatapi/models/group_permissions.py +++ b/vrchatapi/models/group_permissions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post.py b/vrchatapi/models/group_post.py index 735a8eda..4b7ab347 100644 --- a/vrchatapi/models/group_post.py +++ b/vrchatapi/models/group_post.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post_visibility.py b/vrchatapi/models/group_post_visibility.py index 0d2b1c06..76f8646b 100644 --- a/vrchatapi/models/group_post_visibility.py +++ b/vrchatapi/models/group_post_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index 93b44b2f..40838fb6 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index 3a49e7c6..6b20ed3e 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index 827c52e6..7acc08cf 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template_values.py b/vrchatapi/models/group_role_template_values.py index 1f058921..a9e87a72 100644 --- a/vrchatapi/models/group_role_template_values.py +++ b/vrchatapi/models/group_role_template_values.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template_values_roles.py b/vrchatapi/models/group_role_template_values_roles.py index 3ac358b6..1bca717f 100644 --- a/vrchatapi/models/group_role_template_values_roles.py +++ b/vrchatapi/models/group_role_template_values_roles.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_search_sort.py b/vrchatapi/models/group_search_sort.py index 63191ea3..1a0bdc05 100644 --- a/vrchatapi/models/group_search_sort.py +++ b/vrchatapi/models/group_search_sort.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index 4f5bd154..e66e8b82 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index 54c80191..db9a1f4d 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index a638d056..e55a1f75 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index 9aa1c102..5b141627 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index 75f6c2fd..d326a2c9 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index e38f40b1..3cf0461f 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index cbb2fba3..4d1c5fbe 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_content_settings.py b/vrchatapi/models/instance_content_settings.py index 2dad0834..6027389b 100644 --- a/vrchatapi/models/instance_content_settings.py +++ b/vrchatapi/models/instance_content_settings.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index 39e59db2..eda6859d 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_region.py b/vrchatapi/models/instance_region.py index 8fcffd7f..68c58dac 100644 --- a/vrchatapi/models/instance_region.py +++ b/vrchatapi/models/instance_region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index 2235ee4f..39f70109 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index fa43e0c1..3a20d22b 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory.py b/vrchatapi/models/inventory.py index 09fb63fa..2f6de28d 100644 --- a/vrchatapi/models/inventory.py +++ b/vrchatapi/models/inventory.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_drop.py b/vrchatapi/models/inventory_drop.py index 6a46db77..88a62513 100644 --- a/vrchatapi/models/inventory_drop.py +++ b/vrchatapi/models/inventory_drop.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_item.py b/vrchatapi/models/inventory_item.py index 861ba831..f94e508d 100644 --- a/vrchatapi/models/inventory_item.py +++ b/vrchatapi/models/inventory_item.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_item_type.py b/vrchatapi/models/inventory_item_type.py index 3fa976a1..ed1d2420 100644 --- a/vrchatapi/models/inventory_item_type.py +++ b/vrchatapi/models/inventory_item_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_metadata.py b/vrchatapi/models/inventory_metadata.py index 01d91d3a..299d4f59 100644 --- a/vrchatapi/models/inventory_metadata.py +++ b/vrchatapi/models/inventory_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_notification_details.py b/vrchatapi/models/inventory_notification_details.py index fd453508..c40d7e65 100644 --- a/vrchatapi/models/inventory_notification_details.py +++ b/vrchatapi/models/inventory_notification_details.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_spawn.py b/vrchatapi/models/inventory_spawn.py index 9ff23236..2609f78a 100644 --- a/vrchatapi/models/inventory_spawn.py +++ b/vrchatapi/models/inventory_spawn.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_template.py b/vrchatapi/models/inventory_template.py index 7326215a..c0716375 100644 --- a/vrchatapi/models/inventory_template.py +++ b/vrchatapi/models/inventory_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index d88cd1b2..3384fa27 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index 6fde1039..e55fff79 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index 3953e9f7..c0224fca 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index a1efefaa..01d17b42 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/jam.py b/vrchatapi/models/jam.py index b0135875..486eeb79 100644 --- a/vrchatapi/models/jam.py +++ b/vrchatapi/models/jam.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/jam_state_change_dates.py b/vrchatapi/models/jam_state_change_dates.py index b2476de5..ec135e13 100644 --- a/vrchatapi/models/jam_state_change_dates.py +++ b/vrchatapi/models/jam_state_change_dates.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index d0b89842..4489594c 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index b3511bd1..163c0391 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index 3a4120ea..f3158190 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index fbd520e6..680b444a 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_group.py b/vrchatapi/models/limited_group.py index bdf64f0d..6488e85e 100644 --- a/vrchatapi/models/limited_group.py +++ b/vrchatapi/models/limited_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index c5d2f6ed..edb5161f 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,28 +36,53 @@ class LimitedUnityPackage(object): and the value is json key in definition. """ openapi_types = { + 'created_at': 'datetime', 'platform': 'str', 'unity_version': 'str' } attribute_map = { + 'created_at': 'created_at', 'platform': 'platform', 'unity_version': 'unityVersion' } - def __init__(self, platform=None, unity_version=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, created_at=None, platform=None, unity_version=None, local_vars_configuration=None): # noqa: E501 """LimitedUnityPackage - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration + self._created_at = None self._platform = None self._unity_version = None self.discriminator = None + self.created_at = created_at self.platform = platform self.unity_version = unity_version + @property + def created_at(self): + """Gets the created_at of this LimitedUnityPackage. # noqa: E501 + + + :return: The created_at of this LimitedUnityPackage. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this LimitedUnityPackage. + + + :param created_at: The created_at of this LimitedUnityPackage. # noqa: E501 + :type created_at: datetime + """ + + self._created_at = created_at + @property def platform(self): """Gets the platform of this LimitedUnityPackage. # noqa: E501 diff --git a/vrchatapi/models/limited_user_friend.py b/vrchatapi/models/limited_user_friend.py index cef5a0ae..09ea0c3b 100644 --- a/vrchatapi/models/limited_user_friend.py +++ b/vrchatapi/models/limited_user_friend.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user_groups.py b/vrchatapi/models/limited_user_groups.py index a77c8528..9a4a233c 100644 --- a/vrchatapi/models/limited_user_groups.py +++ b/vrchatapi/models/limited_user_groups.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user_instance.py b/vrchatapi/models/limited_user_instance.py index f0b7bd8e..9d8b8887 100644 --- a/vrchatapi/models/limited_user_instance.py +++ b/vrchatapi/models/limited_user_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user_search.py b/vrchatapi/models/limited_user_search.py index 294b6153..ea0dcdd6 100644 --- a/vrchatapi/models/limited_user_search.py +++ b/vrchatapi/models/limited_user_search.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index 8c736beb..89bb253d 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index 87208b71..f42a1811 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/model_print.py b/vrchatapi/models/model_print.py index 909d0995..545eee8e 100644 --- a/vrchatapi/models/model_print.py +++ b/vrchatapi/models/model_print.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index bd8575a9..2adbaf08 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index 7a9edb36..6d45d257 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite.py b/vrchatapi/models/notification_detail_invite.py index f7dfcfca..de2d8a79 100644 --- a/vrchatapi/models/notification_detail_invite.py +++ b/vrchatapi/models/notification_detail_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite_response.py b/vrchatapi/models/notification_detail_invite_response.py index 1faaeea2..2322665f 100644 --- a/vrchatapi/models/notification_detail_invite_response.py +++ b/vrchatapi/models/notification_detail_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite.py b/vrchatapi/models/notification_detail_request_invite.py index b4b991ec..623b9786 100644 --- a/vrchatapi/models/notification_detail_request_invite.py +++ b/vrchatapi/models/notification_detail_request_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite_response.py b/vrchatapi/models/notification_detail_request_invite_response.py index 8cfd67da..ee1f438e 100644 --- a/vrchatapi/models/notification_detail_request_invite_response.py +++ b/vrchatapi/models/notification_detail_request_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_vote_to_kick.py b/vrchatapi/models/notification_detail_vote_to_kick.py index b19cfdd7..242301c4 100644 --- a/vrchatapi/models/notification_detail_vote_to_kick.py +++ b/vrchatapi/models/notification_detail_vote_to_kick.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index 6b97df8a..ae97caa9 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index 059ad368..8fc6bbad 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_calendar_event_list.py b/vrchatapi/models/paginated_calendar_event_list.py index d0cd3488..8cc1a77f 100644 --- a/vrchatapi/models/paginated_calendar_event_list.py +++ b/vrchatapi/models/paginated_calendar_event_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index 843079f2..a6e3354b 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index 3aa1cb6f..843d916d 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/pending2_fa_result.py b/vrchatapi/models/pending2_fa_result.py index 43265889..7e47b9d6 100644 --- a/vrchatapi/models/pending2_fa_result.py +++ b/vrchatapi/models/pending2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/performance_limiter_info.py b/vrchatapi/models/performance_limiter_info.py index 100d5af6..69bb3a5e 100644 --- a/vrchatapi/models/performance_limiter_info.py +++ b/vrchatapi/models/performance_limiter_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/performance_ratings.py b/vrchatapi/models/performance_ratings.py index 6d415b42..00212c3d 100644 --- a/vrchatapi/models/performance_ratings.py +++ b/vrchatapi/models/performance_ratings.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index 8f7f496e..f83b5c95 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/platform_build_info.py b/vrchatapi/models/platform_build_info.py index a07d1045..ce7aa90f 100644 --- a/vrchatapi/models/platform_build_info.py +++ b/vrchatapi/models/platform_build_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index ccbb0dd2..e267f0c5 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index d89bcb8f..b9aab0b8 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/print_files.py b/vrchatapi/models/print_files.py index e0ba231e..aac898f2 100644 --- a/vrchatapi/models/print_files.py +++ b/vrchatapi/models/print_files.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product.py b/vrchatapi/models/product.py index 7eaa84d7..41ec54f1 100644 --- a/vrchatapi/models/product.py +++ b/vrchatapi/models/product.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_listing.py b/vrchatapi/models/product_listing.py index bcf3e740..a3161bc1 100644 --- a/vrchatapi/models/product_listing.py +++ b/vrchatapi/models/product_listing.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -37,9 +37,7 @@ class ProductListing(object): """ openapi_types = { 'active': 'bool', - 'archived': 'bool', 'buyer_refundable': 'bool', - 'created': 'datetime', 'description': 'str', 'display_name': 'str', 'duration': 'int', @@ -47,10 +45,12 @@ class ProductListing(object): 'group_icon': 'str', 'group_id': 'str', 'group_name': 'str', + 'has_avatar': 'bool', + 'has_udon': 'bool', 'hydrated_products': 'list[Product]', 'id': 'str', 'image_id': 'str', - 'instant': 'bool', + 'image_url': 'str', 'listing_type': 'ProductListingType', 'listing_variants': 'list[ProductListingVariant]', 'permanent': 'bool', @@ -65,15 +65,12 @@ class ProductListing(object): 'seller_id': 'str', 'stackable': 'bool', 'store_ids': 'list[str]', - 'tags': 'list[str]', - 'updated': 'datetime' + 'tags': 'list[str]' } attribute_map = { 'active': 'active', - 'archived': 'archived', 'buyer_refundable': 'buyerRefundable', - 'created': 'created', 'description': 'description', 'display_name': 'displayName', 'duration': 'duration', @@ -81,10 +78,12 @@ class ProductListing(object): 'group_icon': 'groupIcon', 'group_id': 'groupId', 'group_name': 'groupName', + 'has_avatar': 'hasAvatar', + 'has_udon': 'hasUdon', 'hydrated_products': 'hydratedProducts', 'id': 'id', 'image_id': 'imageId', - 'instant': 'instant', + 'image_url': 'imageUrl', 'listing_type': 'listingType', 'listing_variants': 'listingVariants', 'permanent': 'permanent', @@ -99,20 +98,17 @@ class ProductListing(object): 'seller_id': 'sellerId', 'stackable': 'stackable', 'store_ids': 'storeIds', - 'tags': 'tags', - 'updated': 'updated' + 'tags': 'tags' } - def __init__(self, active=None, archived=None, buyer_refundable=None, created=None, description=None, display_name=None, duration=None, duration_type=None, group_icon=None, group_id=None, group_name=None, hydrated_products=None, id=None, image_id=None, instant=None, listing_type=None, listing_variants=None, permanent=None, price_tokens=None, product_ids=None, product_type=None, products=None, quantifiable=None, recurrable=None, refundable=None, seller_display_name=None, seller_id=None, stackable=None, store_ids=None, tags=None, updated=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, active=None, buyer_refundable=None, description=None, display_name=None, duration=None, duration_type=None, group_icon=None, group_id=None, group_name=None, has_avatar=None, has_udon=None, hydrated_products=None, id=None, image_id=None, image_url=None, listing_type=None, listing_variants=None, permanent=None, price_tokens=None, product_ids=None, product_type=None, products=None, quantifiable=None, recurrable=None, refundable=None, seller_display_name=None, seller_id=None, stackable=None, store_ids=None, tags=None, local_vars_configuration=None): # noqa: E501 """ProductListing - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._active = None - self._archived = None self._buyer_refundable = None - self._created = None self._description = None self._display_name = None self._duration = None @@ -120,10 +116,12 @@ def __init__(self, active=None, archived=None, buyer_refundable=None, created=No self._group_icon = None self._group_id = None self._group_name = None + self._has_avatar = None + self._has_udon = None self._hydrated_products = None self._id = None self._image_id = None - self._instant = None + self._image_url = None self._listing_type = None self._listing_variants = None self._permanent = None @@ -139,30 +137,32 @@ def __init__(self, active=None, archived=None, buyer_refundable=None, created=No self._stackable = None self._store_ids = None self._tags = None - self._updated = None self.discriminator = None self.active = active - self.archived = archived self.buyer_refundable = buyer_refundable - self.created = created self.description = description self.display_name = display_name - if duration is not None: - self.duration = duration - if duration_type is not None: - self.duration_type = duration_type - self.group_icon = group_icon - self.group_id = group_id + self.duration = duration + self.duration_type = duration_type + if group_icon is not None: + self.group_icon = group_icon + if group_id is not None: + self.group_id = group_id self.group_name = group_name + self.has_avatar = has_avatar + self.has_udon = has_udon if hydrated_products is not None: self.hydrated_products = hydrated_products self.id = id - self.image_id = image_id - self.instant = instant + if image_id is not None: + self.image_id = image_id + self.image_url = image_url self.listing_type = listing_type - self.listing_variants = listing_variants - self.permanent = permanent + if listing_variants is not None: + self.listing_variants = listing_variants + if permanent is not None: + self.permanent = permanent self.price_tokens = price_tokens self.product_ids = product_ids self.product_type = product_type @@ -175,8 +175,8 @@ def __init__(self, active=None, archived=None, buyer_refundable=None, created=No self.seller_id = seller_id self.stackable = stackable self.store_ids = store_ids - self.tags = tags - self.updated = updated + if tags is not None: + self.tags = tags @property def active(self): @@ -201,29 +201,6 @@ def active(self, active): self._active = active - @property - def archived(self): - """Gets the archived of this ProductListing. # noqa: E501 - - - :return: The archived of this ProductListing. # noqa: E501 - :rtype: bool - """ - return self._archived - - @archived.setter - def archived(self, archived): - """Sets the archived of this ProductListing. - - - :param archived: The archived of this ProductListing. # noqa: E501 - :type archived: bool - """ - if self.local_vars_configuration.client_side_validation and archived is None: # noqa: E501 - raise ValueError("Invalid value for `archived`, must not be `None`") # noqa: E501 - - self._archived = archived - @property def buyer_refundable(self): """Gets the buyer_refundable of this ProductListing. # noqa: E501 @@ -247,29 +224,6 @@ def buyer_refundable(self, buyer_refundable): self._buyer_refundable = buyer_refundable - @property - def created(self): - """Gets the created of this ProductListing. # noqa: E501 - - - :return: The created of this ProductListing. # noqa: E501 - :rtype: datetime - """ - return self._created - - @created.setter - def created(self, created): - """Sets the created of this ProductListing. - - - :param created: The created of this ProductListing. # noqa: E501 - :type created: datetime - """ - if self.local_vars_configuration.client_side_validation and created is None: # noqa: E501 - raise ValueError("Invalid value for `created`, must not be `None`") # noqa: E501 - - self._created = created - @property def description(self): """Gets the description of this ProductListing. # noqa: E501 @@ -376,8 +330,6 @@ def group_icon(self, group_icon): :param group_icon: The group_icon of this ProductListing. # noqa: E501 :type group_icon: str """ - if self.local_vars_configuration.client_side_validation and group_icon is None: # noqa: E501 - raise ValueError("Invalid value for `group_icon`, must not be `None`") # noqa: E501 self._group_icon = group_icon @@ -399,8 +351,6 @@ def group_id(self, group_id): :param group_id: The group_id of this ProductListing. # noqa: E501 :type group_id: str """ - if self.local_vars_configuration.client_side_validation and group_id is None: # noqa: E501 - raise ValueError("Invalid value for `group_id`, must not be `None`") # noqa: E501 self._group_id = group_id @@ -422,11 +372,55 @@ def group_name(self, group_name): :param group_name: The group_name of this ProductListing. # noqa: E501 :type group_name: str """ - if self.local_vars_configuration.client_side_validation and group_name is None: # noqa: E501 - raise ValueError("Invalid value for `group_name`, must not be `None`") # noqa: E501 self._group_name = group_name + @property + def has_avatar(self): + """Gets the has_avatar of this ProductListing. # noqa: E501 + + + :return: The has_avatar of this ProductListing. # noqa: E501 + :rtype: bool + """ + return self._has_avatar + + @has_avatar.setter + def has_avatar(self, has_avatar): + """Sets the has_avatar of this ProductListing. + + + :param has_avatar: The has_avatar of this ProductListing. # noqa: E501 + :type has_avatar: bool + """ + if self.local_vars_configuration.client_side_validation and has_avatar is None: # noqa: E501 + raise ValueError("Invalid value for `has_avatar`, must not be `None`") # noqa: E501 + + self._has_avatar = has_avatar + + @property + def has_udon(self): + """Gets the has_udon of this ProductListing. # noqa: E501 + + + :return: The has_udon of this ProductListing. # noqa: E501 + :rtype: bool + """ + return self._has_udon + + @has_udon.setter + def has_udon(self, has_udon): + """Sets the has_udon of this ProductListing. + + + :param has_udon: The has_udon of this ProductListing. # noqa: E501 + :type has_udon: bool + """ + if self.local_vars_configuration.client_side_validation and has_udon is None: # noqa: E501 + raise ValueError("Invalid value for `has_udon`, must not be `None`") # noqa: E501 + + self._has_udon = has_udon + @property def hydrated_products(self): """Gets the hydrated_products of this ProductListing. # noqa: E501 @@ -489,33 +483,29 @@ def image_id(self, image_id): :param image_id: The image_id of this ProductListing. # noqa: E501 :type image_id: str """ - if self.local_vars_configuration.client_side_validation and image_id is None: # noqa: E501 - raise ValueError("Invalid value for `image_id`, must not be `None`") # noqa: E501 self._image_id = image_id @property - def instant(self): - """Gets the instant of this ProductListing. # noqa: E501 + def image_url(self): + """Gets the image_url of this ProductListing. # noqa: E501 - :return: The instant of this ProductListing. # noqa: E501 - :rtype: bool + :return: The image_url of this ProductListing. # noqa: E501 + :rtype: str """ - return self._instant + return self._image_url - @instant.setter - def instant(self, instant): - """Sets the instant of this ProductListing. + @image_url.setter + def image_url(self, image_url): + """Sets the image_url of this ProductListing. - :param instant: The instant of this ProductListing. # noqa: E501 - :type instant: bool + :param image_url: The image_url of this ProductListing. # noqa: E501 + :type image_url: str """ - if self.local_vars_configuration.client_side_validation and instant is None: # noqa: E501 - raise ValueError("Invalid value for `instant`, must not be `None`") # noqa: E501 - self._instant = instant + self._image_url = image_url @property def listing_type(self): @@ -558,8 +548,6 @@ def listing_variants(self, listing_variants): :param listing_variants: The listing_variants of this ProductListing. # noqa: E501 :type listing_variants: list[ProductListingVariant] """ - if self.local_vars_configuration.client_side_validation and listing_variants is None: # noqa: E501 - raise ValueError("Invalid value for `listing_variants`, must not be `None`") # noqa: E501 self._listing_variants = listing_variants @@ -581,8 +569,6 @@ def permanent(self, permanent): :param permanent: The permanent of this ProductListing. # noqa: E501 :type permanent: bool """ - if self.local_vars_configuration.client_side_validation and permanent is None: # noqa: E501 - raise ValueError("Invalid value for `permanent`, must not be `None`") # noqa: E501 self._permanent = permanent @@ -855,32 +841,9 @@ def tags(self, tags): :param tags: The tags of this ProductListing. # noqa: E501 :type tags: list[str] """ - if self.local_vars_configuration.client_side_validation and tags is None: # noqa: E501 - raise ValueError("Invalid value for `tags`, must not be `None`") # noqa: E501 self._tags = tags - @property - def updated(self): - """Gets the updated of this ProductListing. # noqa: E501 - - - :return: The updated of this ProductListing. # noqa: E501 - :rtype: datetime - """ - return self._updated - - @updated.setter - def updated(self, updated): - """Sets the updated of this ProductListing. - - - :param updated: The updated of this ProductListing. # noqa: E501 - :type updated: datetime - """ - - self._updated = updated - def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/product_listing_type.py b/vrchatapi/models/product_listing_type.py index 7c146ba5..b8211f40 100644 --- a/vrchatapi/models/product_listing_type.py +++ b/vrchatapi/models/product_listing_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_listing_variant.py b/vrchatapi/models/product_listing_variant.py index 4814ab32..a510c718 100644 --- a/vrchatapi/models/product_listing_variant.py +++ b/vrchatapi/models/product_listing_variant.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_type.py b/vrchatapi/models/product_type.py index 10f8a468..bb39762b 100644 --- a/vrchatapi/models/product_type.py +++ b/vrchatapi/models/product_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/prop.py b/vrchatapi/models/prop.py index 9be0d221..5955546f 100644 --- a/vrchatapi/models/prop.py +++ b/vrchatapi/models/prop.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/prop_unity_package.py b/vrchatapi/models/prop_unity_package.py index e9b18d7b..fe26b7ac 100644 --- a/vrchatapi/models/prop_unity_package.py +++ b/vrchatapi/models/prop_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index eb1d0502..8e065fea 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/register_user_account_request.py b/vrchatapi/models/register_user_account_request.py index d206d12f..bbf97566 100644 --- a/vrchatapi/models/register_user_account_request.py +++ b/vrchatapi/models/register_user_account_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index 1aa57879..77e58aa2 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/report_category.py b/vrchatapi/models/report_category.py index c1e96c67..0419d300 100644 --- a/vrchatapi/models/report_category.py +++ b/vrchatapi/models/report_category.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/report_reason.py b/vrchatapi/models/report_reason.py index 2a5a9861..279dcb69 100644 --- a/vrchatapi/models/report_reason.py +++ b/vrchatapi/models/report_reason.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/represented_group.py b/vrchatapi/models/represented_group.py index 9415e7c8..858eccd9 100644 --- a/vrchatapi/models/represented_group.py +++ b/vrchatapi/models/represented_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index eb298024..209d2bf8 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index 85408d81..423d110c 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index 060c380b..d57006fe 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index d6f9f33e..0956c54f 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/service_queue_stats.py b/vrchatapi/models/service_queue_stats.py index 2569a55e..8c195e1d 100644 --- a/vrchatapi/models/service_queue_stats.py +++ b/vrchatapi/models/service_queue_stats.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/service_status.py b/vrchatapi/models/service_status.py index 0c0b5ae9..5d6c397a 100644 --- a/vrchatapi/models/service_status.py +++ b/vrchatapi/models/service_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index fbe0fc68..71d8600d 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/submission.py b/vrchatapi/models/submission.py index a4bbc283..9536bd8e 100644 --- a/vrchatapi/models/submission.py +++ b/vrchatapi/models/submission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index 3ace08af..17c07320 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index 4a6ad849..a72acb02 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index 250ce803..7e242f21 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/tilia_status.py b/vrchatapi/models/tilia_status.py index 0ad8ad02..7add055c 100644 --- a/vrchatapi/models/tilia_status.py +++ b/vrchatapi/models/tilia_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/tilia_tos.py b/vrchatapi/models/tilia_tos.py index 29a13695..adfd1a69 100644 --- a/vrchatapi/models/tilia_tos.py +++ b/vrchatapi/models/tilia_tos.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/token_bundle.py b/vrchatapi/models/token_bundle.py index f5326d2c..21b0b150 100644 --- a/vrchatapi/models/token_bundle.py +++ b/vrchatapi/models/token_bundle.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -37,6 +37,7 @@ class TokenBundle(object): """ openapi_types = { 'id': 'str', + 'apple_product_id': 'str', 'steam_item_id': 'str', 'oculus_sku': 'str', 'google_product_id': 'str', @@ -48,6 +49,7 @@ class TokenBundle(object): attribute_map = { 'id': 'id', + 'apple_product_id': 'appleProductId', 'steam_item_id': 'steamItemId', 'oculus_sku': 'oculusSku', 'google_product_id': 'googleProductId', @@ -57,13 +59,14 @@ class TokenBundle(object): 'image_url': 'imageUrl' } - def __init__(self, id=None, steam_item_id=None, oculus_sku=None, google_product_id=None, amount=None, description=None, tokens=None, image_url=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, id=None, apple_product_id=None, steam_item_id=None, oculus_sku=None, google_product_id=None, amount=None, description=None, tokens=None, image_url=None, local_vars_configuration=None): # noqa: E501 """TokenBundle - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._id = None + self._apple_product_id = None self._steam_item_id = None self._oculus_sku = None self._google_product_id = None @@ -74,6 +77,7 @@ def __init__(self, id=None, steam_item_id=None, oculus_sku=None, google_product_ self.discriminator = None self.id = id + self.apple_product_id = apple_product_id self.steam_item_id = steam_item_id self.oculus_sku = oculus_sku if google_product_id is not None: @@ -106,6 +110,29 @@ def id(self, id): self._id = id + @property + def apple_product_id(self): + """Gets the apple_product_id of this TokenBundle. # noqa: E501 + + + :return: The apple_product_id of this TokenBundle. # noqa: E501 + :rtype: str + """ + return self._apple_product_id + + @apple_product_id.setter + def apple_product_id(self, apple_product_id): + """Sets the apple_product_id of this TokenBundle. + + + :param apple_product_id: The apple_product_id of this TokenBundle. # noqa: E501 + :type apple_product_id: str + """ + if self.local_vars_configuration.client_side_validation and apple_product_id is None: # noqa: E501 + raise ValueError("Invalid value for `apple_product_id`, must not be `None`") # noqa: E501 + + self._apple_product_id = apple_product_id + @property def steam_item_id(self): """Gets the steam_item_id of this TokenBundle. # noqa: E501 diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index 1ea638d8..3c8a9681 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -350,8 +350,6 @@ def error(self, error): :param error: The error of this Transaction. # noqa: E501 :type error: str """ - if self.local_vars_configuration.client_side_validation and error is None: # noqa: E501 - raise ValueError("Invalid value for `error`, must not be `None`") # noqa: E501 self._error = error diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index c34652e3..8ef992b0 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index 814bd18b..1826619a 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index bbf55dbf..84d9bb64 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index 2b139af2..72552da2 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index 47847e77..e29baa62 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_email_code.py b/vrchatapi/models/two_factor_email_code.py index 63100a13..7b489c54 100644 --- a/vrchatapi/models/two_factor_email_code.py +++ b/vrchatapi/models/two_factor_email_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_recovery_codes.py b/vrchatapi/models/two_factor_recovery_codes.py index 20b0c230..e61ac76b 100644 --- a/vrchatapi/models/two_factor_recovery_codes.py +++ b/vrchatapi/models/two_factor_recovery_codes.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_recovery_codes_otp_inner.py b/vrchatapi/models/two_factor_recovery_codes_otp_inner.py index bc6a63d7..c0dc86be 100644 --- a/vrchatapi/models/two_factor_recovery_codes_otp_inner.py +++ b/vrchatapi/models/two_factor_recovery_codes_otp_inner.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index 9e7edd76..9c3483dd 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index 44a39366..ae7446e9 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_calendar_event_request.py b/vrchatapi/models/update_calendar_event_request.py index 3376ae03..bbcf6e78 100644 --- a/vrchatapi/models/update_calendar_event_request.py +++ b/vrchatapi/models/update_calendar_event_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index 732dbc55..f1138300 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index 054cd90d..9c61d0ad 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index 910f1d54..df776852 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -38,16 +38,18 @@ class UpdateGroupMemberRequest(object): openapi_types = { 'visibility': 'GroupUserVisibility', 'is_subscribed_to_announcements': 'bool', + 'is_subscribed_to_event_announcements': 'bool', 'manager_notes': 'str' } attribute_map = { 'visibility': 'visibility', 'is_subscribed_to_announcements': 'isSubscribedToAnnouncements', + 'is_subscribed_to_event_announcements': 'isSubscribedToEventAnnouncements', 'manager_notes': 'managerNotes' } - def __init__(self, visibility=None, is_subscribed_to_announcements=None, manager_notes=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, visibility=None, is_subscribed_to_announcements=None, is_subscribed_to_event_announcements=None, manager_notes=None, local_vars_configuration=None): # noqa: E501 """UpdateGroupMemberRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -55,6 +57,7 @@ def __init__(self, visibility=None, is_subscribed_to_announcements=None, manager self._visibility = None self._is_subscribed_to_announcements = None + self._is_subscribed_to_event_announcements = None self._manager_notes = None self.discriminator = None @@ -62,6 +65,8 @@ def __init__(self, visibility=None, is_subscribed_to_announcements=None, manager self.visibility = visibility if is_subscribed_to_announcements is not None: self.is_subscribed_to_announcements = is_subscribed_to_announcements + if is_subscribed_to_event_announcements is not None: + self.is_subscribed_to_event_announcements = is_subscribed_to_event_announcements if manager_notes is not None: self.manager_notes = manager_notes @@ -107,6 +112,27 @@ def is_subscribed_to_announcements(self, is_subscribed_to_announcements): self._is_subscribed_to_announcements = is_subscribed_to_announcements + @property + def is_subscribed_to_event_announcements(self): + """Gets the is_subscribed_to_event_announcements of this UpdateGroupMemberRequest. # noqa: E501 + + + :return: The is_subscribed_to_event_announcements of this UpdateGroupMemberRequest. # noqa: E501 + :rtype: bool + """ + return self._is_subscribed_to_event_announcements + + @is_subscribed_to_event_announcements.setter + def is_subscribed_to_event_announcements(self, is_subscribed_to_event_announcements): + """Sets the is_subscribed_to_event_announcements of this UpdateGroupMemberRequest. + + + :param is_subscribed_to_event_announcements: The is_subscribed_to_event_announcements of this UpdateGroupMemberRequest. # noqa: E501 + :type is_subscribed_to_event_announcements: bool + """ + + self._is_subscribed_to_event_announcements = is_subscribed_to_event_announcements + @property def manager_notes(self): """Gets the manager_notes of this UpdateGroupMemberRequest. # noqa: E501 diff --git a/vrchatapi/models/update_group_representation_request.py b/vrchatapi/models/update_group_representation_request.py index 2428f25c..d49cdcc9 100644 --- a/vrchatapi/models/update_group_representation_request.py +++ b/vrchatapi/models/update_group_representation_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index 573f0950..38c87b78 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index 4835e63f..47188ca2 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index 60cecce1..226b29d0 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_badge_request.py b/vrchatapi/models/update_user_badge_request.py index 7b1ec2c0..4b8fcda3 100644 --- a/vrchatapi/models/update_user_badge_request.py +++ b/vrchatapi/models/update_user_badge_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_note_request.py b/vrchatapi/models/update_user_note_request.py index c576ca46..f39eb4e7 100644 --- a/vrchatapi/models/update_user_note_request.py +++ b/vrchatapi/models/update_user_note_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index 5374e8f3..ddf177e6 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index 0dbc7f7f..567d3d12 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index c364e6ac..9d1b2ade 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index 1e19ef01..a4266dde 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_note.py b/vrchatapi/models/user_note.py index b00b4e5f..f354c53f 100644 --- a/vrchatapi/models/user_note.py +++ b/vrchatapi/models/user_note.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_note_target_user.py b/vrchatapi/models/user_note_target_user.py index 44f87bba..04802764 100644 --- a/vrchatapi/models/user_note_target_user.py +++ b/vrchatapi/models/user_note_target_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index e46efb7f..3b91cf4f 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index 12930393..4e975813 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index 19e97c41..0460aa25 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_email_code_result.py b/vrchatapi/models/verify2_fa_email_code_result.py index 4696a63e..09f3c411 100644 --- a/vrchatapi/models/verify2_fa_email_code_result.py +++ b/vrchatapi/models/verify2_fa_email_code_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index 6df7c708..aeafcccb 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index 99a0a743..11007640 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index c14e113d..cbc57aab 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index 32f49e14..bf2c762f 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index 15d513ad..d5df1411 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index a8125d6a..0447f99f 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.2 + The version of the OpenAPI document: 1.20.3 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ From 7782d6236ad03cecd66748ccb6517e07501956e4 Mon Sep 17 00:00:00 2001 From: VRCCat Date: Sat, 4 Oct 2025 20:56:09 +0000 Subject: [PATCH 077/102] Upgrade Python SDK to spec 1.20.4 --- .openapi-generator/FILES | 20 + docs/CalendarApi.md | 81 ++ docs/CalendarEvent.md | 2 +- docs/CurrentUserPresence.md | 2 +- docs/EconomyAccount.md | 16 + docs/EconomyApi.md | 456 +++++++ docs/GroupInstance.md | 4 +- docs/Instance.md | 4 +- docs/InstancesApi.md | 77 ++ docs/InventoryApi.md | 255 +++- docs/InventoryFlag.md | 10 + docs/LimitedUserFriend.md | 6 +- docs/LimitedUserInstance.md | 6 +- docs/LimitedUserSearch.md | 4 +- docs/NotificationDetailInvite.md | 2 +- docs/OkStatus.md | 12 + docs/ShareInventoryItemDirectRequest.md | 12 + docs/Store.md | 24 + docs/StoreShelf.md | 17 + docs/StoreType.md | 10 + docs/StoreView.md | 10 + docs/UpdateInventoryItemRequest.md | 11 + docs/User.md | 2 +- docs/UserSubscriptionEligible.md | 16 + package-lock.json | 62 +- package.json | 2 +- setup.py | 4 +- vrchatapi/__init__.py | 12 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/calendar_api.py | 171 ++- vrchatapi/api/economy_api.py | 1199 ++++++++++++++--- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/groups_api.py | 2 +- vrchatapi/api/instances_api.py | 150 ++- vrchatapi/api/inventory_api.py | 543 +++++++- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/jams_api.py | 2 +- vrchatapi/api/miscellaneous_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/prints_api.py | 2 +- vrchatapi/api/props_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 +- vrchatapi/exceptions.py | 2 +- vrchatapi/models/__init__.py | 12 +- vrchatapi/models/account_deletion_log.py | 2 +- vrchatapi/models/add_favorite_request.py | 2 +- .../models/add_group_gallery_image_request.py | 2 +- vrchatapi/models/admin_asset_bundle.py | 2 +- vrchatapi/models/admin_unity_package.py | 2 +- vrchatapi/models/age_verification_status.py | 2 +- vrchatapi/models/api_config.py | 2 +- .../models/api_config_access_logs_urls.py | 2 +- vrchatapi/models/api_config_announcement.py | 2 +- .../models/api_config_avatar_perf_limiter.py | 2 +- vrchatapi/models/api_config_constants.py | 2 +- .../models/api_config_constants_groups.py | 2 +- .../models/api_config_constants_instance.py | 2 +- ...ig_constants_instancepopulationbrackets.py | 2 +- ...tants_instancepopulationbracketscrowded.py | 2 +- ...constants_instancepopulationbracketsfew.py | 2 +- ...onstants_instancepopulationbracketsmany.py | 2 +- .../models/api_config_constants_language.py | 2 +- .../models/api_config_download_url_list.py | 2 +- vrchatapi/models/api_config_events.py | 2 +- ...onfig_min_supported_client_build_number.py | 2 +- .../models/api_config_offline_analysis.py | 2 +- .../models/api_config_report_categories.py | 2 +- vrchatapi/models/api_config_report_options.py | 2 +- .../api_config_report_options_avatar.py | 2 +- .../models/api_config_report_options_group.py | 2 +- .../models/api_config_report_options_user.py | 2 +- .../models/api_config_report_options_world.py | 2 +- vrchatapi/models/api_config_report_reasons.py | 2 +- vrchatapi/models/api_health.py | 2 +- vrchatapi/models/avatar.py | 2 +- vrchatapi/models/avatar_performance.py | 2 +- .../models/avatar_published_listings_inner.py | 2 +- vrchatapi/models/avatar_style.py | 2 +- vrchatapi/models/avatar_styles.py | 2 +- .../models/avatar_unity_package_url_object.py | 2 +- vrchatapi/models/badge.py | 2 +- vrchatapi/models/balance.py | 2 +- vrchatapi/models/ban_group_member_request.py | 2 +- vrchatapi/models/calendar_event.py | 7 +- .../models/calendar_event_user_interest.py | 2 +- vrchatapi/models/change_user_tags_request.py | 2 +- vrchatapi/models/create_avatar_request.py | 2 +- .../models/create_calendar_event_request.py | 2 +- vrchatapi/models/create_file_request.py | 2 +- .../models/create_file_version_request.py | 2 +- .../create_group_announcement_request.py | 2 +- .../models/create_group_gallery_request.py | 2 +- .../models/create_group_invite_request.py | 2 +- vrchatapi/models/create_group_post_request.py | 2 +- vrchatapi/models/create_group_request.py | 2 +- vrchatapi/models/create_group_role_request.py | 2 +- vrchatapi/models/create_instance_request.py | 2 +- vrchatapi/models/create_world_request.py | 2 +- vrchatapi/models/current_user.py | 2 +- .../current_user_platform_history_inner.py | 2 +- vrchatapi/models/current_user_presence.py | 6 +- vrchatapi/models/developer_type.py | 2 +- vrchatapi/models/disable2_fa_result.py | 2 +- vrchatapi/models/dynamic_content_row.py | 2 +- vrchatapi/models/economy_account.py | 265 ++++ vrchatapi/models/error.py | 2 +- vrchatapi/models/favorite.py | 2 +- vrchatapi/models/favorite_group.py | 2 +- vrchatapi/models/favorite_group_limits.py | 2 +- vrchatapi/models/favorite_group_visibility.py | 2 +- vrchatapi/models/favorite_limits.py | 2 +- vrchatapi/models/favorite_type.py | 2 +- vrchatapi/models/favorited_world.py | 2 +- vrchatapi/models/feedback.py | 2 +- vrchatapi/models/file.py | 2 +- vrchatapi/models/file_analysis.py | 2 +- .../models/file_analysis_avatar_stats.py | 2 +- vrchatapi/models/file_data.py | 2 +- vrchatapi/models/file_status.py | 2 +- vrchatapi/models/file_upload_url.py | 2 +- vrchatapi/models/file_version.py | 2 +- .../models/file_version_upload_status.py | 2 +- .../models/finish_file_data_upload_request.py | 2 +- .../models/follow_calendar_event_request.py | 2 +- vrchatapi/models/friend_status.py | 2 +- .../models/get_group_posts200_response.py | 2 +- .../get_user_group_instances200_response.py | 2 +- vrchatapi/models/group.py | 2 +- vrchatapi/models/group_access_type.py | 2 +- vrchatapi/models/group_announcement.py | 2 +- vrchatapi/models/group_audit_log_entry.py | 2 +- vrchatapi/models/group_gallery.py | 2 +- vrchatapi/models/group_gallery_image.py | 2 +- vrchatapi/models/group_instance.py | 11 +- vrchatapi/models/group_join_request_action.py | 2 +- vrchatapi/models/group_join_state.py | 2 +- vrchatapi/models/group_limited_member.py | 2 +- vrchatapi/models/group_member.py | 2 +- vrchatapi/models/group_member_limited_user.py | 2 +- vrchatapi/models/group_member_status.py | 2 +- vrchatapi/models/group_my_member.py | 2 +- vrchatapi/models/group_permission.py | 2 +- vrchatapi/models/group_permissions.py | 5 +- vrchatapi/models/group_post.py | 2 +- vrchatapi/models/group_post_visibility.py | 2 +- vrchatapi/models/group_privacy.py | 2 +- vrchatapi/models/group_role.py | 2 +- vrchatapi/models/group_role_template.py | 2 +- .../models/group_role_template_values.py | 2 +- .../group_role_template_values_roles.py | 2 +- vrchatapi/models/group_search_sort.py | 2 +- vrchatapi/models/group_user_visibility.py | 2 +- vrchatapi/models/info_push.py | 2 +- vrchatapi/models/info_push_data.py | 2 +- vrchatapi/models/info_push_data_article.py | 2 +- .../models/info_push_data_article_content.py | 2 +- vrchatapi/models/info_push_data_clickable.py | 2 +- vrchatapi/models/instance.py | 11 +- vrchatapi/models/instance_content_settings.py | 2 +- vrchatapi/models/instance_platforms.py | 2 +- vrchatapi/models/instance_region.py | 2 +- .../models/instance_short_name_response.py | 2 +- vrchatapi/models/instance_type.py | 2 +- vrchatapi/models/inventory.py | 2 +- vrchatapi/models/inventory_drop.py | 2 +- vrchatapi/models/inventory_flag.py | 115 ++ vrchatapi/models/inventory_item.py | 2 +- vrchatapi/models/inventory_item_type.py | 2 +- vrchatapi/models/inventory_metadata.py | 2 +- .../models/inventory_notification_details.py | 2 +- vrchatapi/models/inventory_spawn.py | 2 +- vrchatapi/models/inventory_template.py | 2 +- vrchatapi/models/invite_message.py | 2 +- vrchatapi/models/invite_message_type.py | 2 +- vrchatapi/models/invite_request.py | 2 +- vrchatapi/models/invite_response.py | 2 +- vrchatapi/models/jam.py | 2 +- vrchatapi/models/jam_state_change_dates.py | 2 +- vrchatapi/models/license.py | 2 +- vrchatapi/models/license_action.py | 2 +- vrchatapi/models/license_group.py | 2 +- vrchatapi/models/license_type.py | 2 +- vrchatapi/models/limited_group.py | 2 +- vrchatapi/models/limited_unity_package.py | 2 +- vrchatapi/models/limited_user_friend.py | 17 +- vrchatapi/models/limited_user_groups.py | 2 +- vrchatapi/models/limited_user_instance.py | 17 +- vrchatapi/models/limited_user_search.py | 12 +- vrchatapi/models/limited_world.py | 2 +- vrchatapi/models/mime_type.py | 2 +- vrchatapi/models/model_print.py | 2 +- vrchatapi/models/moderate_user_request.py | 2 +- vrchatapi/models/notification.py | 2 +- .../models/notification_detail_invite.py | 6 +- .../notification_detail_invite_response.py | 2 +- .../notification_detail_request_invite.py | 2 +- ...fication_detail_request_invite_response.py | 2 +- .../notification_detail_vote_to_kick.py | 2 +- vrchatapi/models/notification_type.py | 2 +- vrchatapi/models/ok_status.py | 134 ++ vrchatapi/models/order_option.py | 2 +- .../models/paginated_calendar_event_list.py | 2 +- .../paginated_group_audit_log_entry_list.py | 2 +- vrchatapi/models/past_display_name.py | 2 +- vrchatapi/models/pending2_fa_result.py | 2 +- vrchatapi/models/performance_limiter_info.py | 2 +- vrchatapi/models/performance_ratings.py | 2 +- vrchatapi/models/permission.py | 2 +- vrchatapi/models/platform_build_info.py | 2 +- vrchatapi/models/player_moderation.py | 2 +- vrchatapi/models/player_moderation_type.py | 2 +- vrchatapi/models/print_files.py | 2 +- vrchatapi/models/product.py | 2 +- vrchatapi/models/product_listing.py | 2 +- vrchatapi/models/product_listing_type.py | 2 +- vrchatapi/models/product_listing_variant.py | 2 +- vrchatapi/models/product_type.py | 2 +- vrchatapi/models/prop.py | 2 +- vrchatapi/models/prop_unity_package.py | 2 +- vrchatapi/models/region.py | 2 +- .../models/register_user_account_request.py | 2 +- vrchatapi/models/release_status.py | 2 +- vrchatapi/models/report_category.py | 2 +- vrchatapi/models/report_reason.py | 2 +- vrchatapi/models/represented_group.py | 2 +- vrchatapi/models/request_invite_request.py | 2 +- .../models/respond_group_join_request.py | 2 +- vrchatapi/models/response.py | 2 +- vrchatapi/models/sent_notification.py | 2 +- vrchatapi/models/service_queue_stats.py | 2 +- vrchatapi/models/service_status.py | 2 +- .../share_inventory_item_direct_request.py | 159 +++ vrchatapi/models/sort_option.py | 2 +- vrchatapi/models/store.py | 489 +++++++ vrchatapi/models/store_shelf.py | 293 ++++ vrchatapi/models/store_type.py | 112 ++ vrchatapi/models/store_view.py | 114 ++ vrchatapi/models/submission.py | 2 +- vrchatapi/models/subscription.py | 2 +- vrchatapi/models/subscription_period.py | 2 +- vrchatapi/models/success.py | 2 +- vrchatapi/models/tilia_status.py | 2 +- vrchatapi/models/tilia_tos.py | 2 +- vrchatapi/models/token_bundle.py | 2 +- vrchatapi/models/transaction.py | 2 +- vrchatapi/models/transaction_agreement.py | 2 +- vrchatapi/models/transaction_status.py | 2 +- vrchatapi/models/transaction_steam_info.py | 2 +- .../models/transaction_steam_wallet_info.py | 2 +- vrchatapi/models/two_factor_auth_code.py | 2 +- vrchatapi/models/two_factor_email_code.py | 2 +- vrchatapi/models/two_factor_recovery_codes.py | 2 +- .../two_factor_recovery_codes_otp_inner.py | 2 +- vrchatapi/models/unity_package.py | 2 +- vrchatapi/models/update_avatar_request.py | 2 +- .../models/update_calendar_event_request.py | 2 +- .../models/update_favorite_group_request.py | 2 +- .../models/update_group_gallery_request.py | 2 +- .../models/update_group_member_request.py | 2 +- .../update_group_representation_request.py | 2 +- vrchatapi/models/update_group_request.py | 2 +- vrchatapi/models/update_group_role_request.py | 2 +- .../models/update_inventory_item_request.py | 131 ++ .../models/update_invite_message_request.py | 2 +- vrchatapi/models/update_user_badge_request.py | 2 +- vrchatapi/models/update_user_note_request.py | 2 +- vrchatapi/models/update_user_request.py | 2 +- vrchatapi/models/update_world_request.py | 2 +- vrchatapi/models/user.py | 6 +- vrchatapi/models/user_exists.py | 2 +- vrchatapi/models/user_note.py | 2 +- vrchatapi/models/user_note_target_user.py | 2 +- vrchatapi/models/user_state.py | 2 +- vrchatapi/models/user_status.py | 2 +- vrchatapi/models/user_subscription.py | 2 +- .../models/user_subscription_eligible.py | 267 ++++ .../models/verify2_fa_email_code_result.py | 2 +- vrchatapi/models/verify2_fa_result.py | 2 +- vrchatapi/models/verify_auth_token_result.py | 2 +- vrchatapi/models/world.py | 2 +- vrchatapi/models/world_metadata.py | 2 +- vrchatapi/models/world_publish_status.py | 2 +- vrchatapi/rest.py | 2 +- 290 files changed, 5327 insertions(+), 540 deletions(-) create mode 100644 docs/EconomyAccount.md create mode 100644 docs/InventoryFlag.md create mode 100644 docs/OkStatus.md create mode 100644 docs/ShareInventoryItemDirectRequest.md create mode 100644 docs/Store.md create mode 100644 docs/StoreShelf.md create mode 100644 docs/StoreType.md create mode 100644 docs/StoreView.md create mode 100644 docs/UpdateInventoryItemRequest.md create mode 100644 docs/UserSubscriptionEligible.md create mode 100644 vrchatapi/models/economy_account.py create mode 100644 vrchatapi/models/inventory_flag.py create mode 100644 vrchatapi/models/ok_status.py create mode 100644 vrchatapi/models/share_inventory_item_direct_request.py create mode 100644 vrchatapi/models/store.py create mode 100644 vrchatapi/models/store_shelf.py create mode 100644 vrchatapi/models/store_type.py create mode 100644 vrchatapi/models/store_view.py create mode 100644 vrchatapi/models/update_inventory_item_request.py create mode 100644 vrchatapi/models/user_subscription_eligible.py diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 8706bb23..545ed457 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -62,6 +62,7 @@ docs/CurrentUserPresence.md docs/DeveloperType.md docs/Disable2FAResult.md docs/DynamicContentRow.md +docs/EconomyAccount.md docs/EconomyApi.md docs/Error.md docs/Favorite.md @@ -129,6 +130,7 @@ docs/InstancesApi.md docs/Inventory.md docs/InventoryApi.md docs/InventoryDrop.md +docs/InventoryFlag.md docs/InventoryItem.md docs/InventoryItemType.md docs/InventoryMetadata.md @@ -166,6 +168,7 @@ docs/NotificationDetailRequestInviteResponse.md docs/NotificationDetailVoteToKick.md docs/NotificationType.md docs/NotificationsApi.md +docs/OkStatus.md docs/OrderOption.md docs/PaginatedCalendarEventList.md docs/PaginatedGroupAuditLogEntryList.md @@ -200,7 +203,12 @@ docs/Response.md docs/SentNotification.md docs/ServiceQueueStats.md docs/ServiceStatus.md +docs/ShareInventoryItemDirectRequest.md docs/SortOption.md +docs/Store.md +docs/StoreShelf.md +docs/StoreType.md +docs/StoreView.md docs/Submission.md docs/Subscription.md docs/SubscriptionPeriod.md @@ -226,6 +234,7 @@ docs/UpdateGroupMemberRequest.md docs/UpdateGroupRepresentationRequest.md docs/UpdateGroupRequest.md docs/UpdateGroupRoleRequest.md +docs/UpdateInventoryItemRequest.md docs/UpdateInviteMessageRequest.md docs/UpdateUserBadgeRequest.md docs/UpdateUserNoteRequest.md @@ -238,6 +247,7 @@ docs/UserNoteTargetUser.md docs/UserState.md docs/UserStatus.md docs/UserSubscription.md +docs/UserSubscriptionEligible.md docs/UsersApi.md docs/Verify2FAEmailCodeResult.md docs/Verify2FAResult.md @@ -337,6 +347,7 @@ vrchatapi/models/current_user_presence.py vrchatapi/models/developer_type.py vrchatapi/models/disable2_fa_result.py vrchatapi/models/dynamic_content_row.py +vrchatapi/models/economy_account.py vrchatapi/models/error.py vrchatapi/models/favorite.py vrchatapi/models/favorite_group.py @@ -397,6 +408,7 @@ vrchatapi/models/instance_short_name_response.py vrchatapi/models/instance_type.py vrchatapi/models/inventory.py vrchatapi/models/inventory_drop.py +vrchatapi/models/inventory_flag.py vrchatapi/models/inventory_item.py vrchatapi/models/inventory_item_type.py vrchatapi/models/inventory_metadata.py @@ -430,6 +442,7 @@ vrchatapi/models/notification_detail_request_invite.py vrchatapi/models/notification_detail_request_invite_response.py vrchatapi/models/notification_detail_vote_to_kick.py vrchatapi/models/notification_type.py +vrchatapi/models/ok_status.py vrchatapi/models/order_option.py vrchatapi/models/paginated_calendar_event_list.py vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -461,7 +474,12 @@ vrchatapi/models/response.py vrchatapi/models/sent_notification.py vrchatapi/models/service_queue_stats.py vrchatapi/models/service_status.py +vrchatapi/models/share_inventory_item_direct_request.py vrchatapi/models/sort_option.py +vrchatapi/models/store.py +vrchatapi/models/store_shelf.py +vrchatapi/models/store_type.py +vrchatapi/models/store_view.py vrchatapi/models/submission.py vrchatapi/models/subscription.py vrchatapi/models/subscription_period.py @@ -487,6 +505,7 @@ vrchatapi/models/update_group_member_request.py vrchatapi/models/update_group_representation_request.py vrchatapi/models/update_group_request.py vrchatapi/models/update_group_role_request.py +vrchatapi/models/update_inventory_item_request.py vrchatapi/models/update_invite_message_request.py vrchatapi/models/update_user_badge_request.py vrchatapi/models/update_user_note_request.py @@ -499,6 +518,7 @@ vrchatapi/models/user_note_target_user.py vrchatapi/models/user_state.py vrchatapi/models/user_status.py vrchatapi/models/user_subscription.py +vrchatapi/models/user_subscription_eligible.py vrchatapi/models/verify2_fa_email_code_result.py vrchatapi/models/verify2_fa_result.py vrchatapi/models/verify_auth_token_result.py diff --git a/docs/CalendarApi.md b/docs/CalendarApi.md index dbd53e48..bb0590b6 100644 --- a/docs/CalendarApi.md +++ b/docs/CalendarApi.md @@ -13,6 +13,7 @@ Method | HTTP request | Description [**get_group_calendar_event**](CalendarApi.md#get_group_calendar_event) | **GET** /calendar/{groupId}/{calendarId} | Get a calendar event [**get_group_calendar_event_ics**](CalendarApi.md#get_group_calendar_event_ics) | **GET** /calendar/{groupId}/{calendarId}.ics | Download calendar event as ICS [**get_group_calendar_events**](CalendarApi.md#get_group_calendar_events) | **GET** /calendar/{groupId} | List a group's calendar events +[**search_calendar_events**](CalendarApi.md#search_calendar_events) | **GET** /calendar/search | Search for calendar events [**update_group_calendar_event**](CalendarApi.md#update_group_calendar_event) | **PUT** /calendar/{groupId}/{calendarId}/event | Update a calendar event @@ -702,6 +703,86 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **search_calendar_events** +> PaginatedCalendarEventList search_calendar_events(search_term, utc_offset=utc_offset, n=n, offset=offset) + +Search for calendar events + +Get a list of calendar events by search terms + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.CalendarApi(api_client) + search_term = 'game night' # str | Search term for calendar events. +utc_offset = 56 # int | The offset from UTC in hours of the client or authenticated user. (optional) +n = 60 # int | The number of objects to return. (optional) (default to 60) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) + + try: + # Search for calendar events + api_response = api_instance.search_calendar_events(search_term, utc_offset=utc_offset, n=n, offset=offset) + pprint(api_response) + except ApiException as e: + print("Exception when calling CalendarApi->search_calendar_events: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **search_term** | **str**| Search term for calendar events. | + **utc_offset** | **int**| The offset from UTC in hours of the client or authenticated user. | [optional] + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + +### Return type + +[**PaginatedCalendarEventList**](PaginatedCalendarEventList.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of CalendarEvent objects. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **update_group_calendar_event** > CalendarEvent update_group_calendar_event(group_id, calendar_id, update_calendar_event_request) diff --git a/docs/CalendarEvent.md b/docs/CalendarEvent.md index 738fbba8..8bde9aed 100644 --- a/docs/CalendarEvent.md +++ b/docs/CalendarEvent.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **access_type** | **str** | | **category** | **str** | | [optional] **close_instance_after_end_minutes** | **int** | | [optional] -**created_at** | **datetime** | | +**created_at** | **datetime** | | [optional] **deleted_at** | **datetime** | | [optional] **description** | **str** | | [optional] **ends_at** | **datetime** | | [optional] diff --git a/docs/CurrentUserPresence.md b/docs/CurrentUserPresence.md index 093e5ddc..ce606eb7 100644 --- a/docs/CurrentUserPresence.md +++ b/docs/CurrentUserPresence.md @@ -17,7 +17,7 @@ Name | Type | Description | Notes **profile_pic_override** | **str** | | [optional] **status** | **str** | either a UserStatus or empty string | [optional] **traveling_to_instance** | **str** | | [optional] -**traveling_to_world** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | [optional] +**traveling_to_world** | **str** | Represents a unique location, consisting of a world identifier and an instance identifier, or \"offline\" if the user is not on your friends list. | [optional] **user_icon** | **str** | | [optional] **world** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | [optional] diff --git a/docs/EconomyAccount.md b/docs/EconomyAccount.md new file mode 100644 index 00000000..c291b46d --- /dev/null +++ b/docs/EconomyAccount.md @@ -0,0 +1,16 @@ +# EconomyAccount + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**account_activated_on** | **datetime** | | +**account_id** | **str** | | +**blocked** | **bool** | | +**can_spend** | **bool** | | +**source** | **str** | | +**user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EconomyApi.md b/docs/EconomyApi.md index 20ae2d1c..13aa062b 100644 --- a/docs/EconomyApi.md +++ b/docs/EconomyApi.md @@ -4,19 +4,95 @@ All URIs are relative to *https://api.vrchat.cloud/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- +[**get_active_licenses**](EconomyApi.md#get_active_licenses) | **GET** /economy/licenses/active | Get Active Licenses [**get_balance**](EconomyApi.md#get_balance) | **GET** /user/{userId}/balance | Get Balance +[**get_balance_earnings**](EconomyApi.md#get_balance_earnings) | **GET** /user/{userId}/balance/earnings | Get Balance Earnings [**get_current_subscriptions**](EconomyApi.md#get_current_subscriptions) | **GET** /auth/user/subscription | Get Current Subscriptions +[**get_economy_account**](EconomyApi.md#get_economy_account) | **GET** /user/{userId}/economy/account | Get Economy Account [**get_license_group**](EconomyApi.md#get_license_group) | **GET** /licenseGroups/{licenseGroupId} | Get License Group [**get_product_listing**](EconomyApi.md#get_product_listing) | **GET** /listing/{productId} | Get Product Listing [**get_product_listings**](EconomyApi.md#get_product_listings) | **GET** /user/{userId}/listings | Get User Product Listings [**get_steam_transaction**](EconomyApi.md#get_steam_transaction) | **GET** /Steam/transactions/{transactionId} | Get Steam Transaction [**get_steam_transactions**](EconomyApi.md#get_steam_transactions) | **GET** /Steam/transactions | List Steam Transactions +[**get_store**](EconomyApi.md#get_store) | **GET** /economy/store | Get Store +[**get_store_shelves**](EconomyApi.md#get_store_shelves) | **GET** /economy/store/shelves | Get Store Shelves [**get_subscriptions**](EconomyApi.md#get_subscriptions) | **GET** /subscriptions | List Subscriptions [**get_tilia_status**](EconomyApi.md#get_tilia_status) | **GET** /tilia/status | Get Tilia Status [**get_tilia_tos**](EconomyApi.md#get_tilia_tos) | **GET** /user/{userId}/tilia/tos | Get Tilia TOS Agreement Status [**get_token_bundles**](EconomyApi.md#get_token_bundles) | **GET** /tokenBundles | List Token Bundles +[**get_user_subscription_eligible**](EconomyApi.md#get_user_subscription_eligible) | **GET** /users/{userId}/subscription/eligible | Get User Subscription Eligiblity +# **get_active_licenses** +> list[License] get_active_licenses() + +Get Active Licenses + +Gets active licenses + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.EconomyApi(api_client) + + try: + # Get Active Licenses + api_response = api_instance.get_active_licenses() + pprint(api_response) + except ApiException as e: + print("Exception when calling EconomyApi->get_active_licenses: %s\n" % e) +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**list[License]**](License.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of License objects. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_balance** > Balance get_balance(user_id) @@ -91,6 +167,80 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_balance_earnings** +> Balance get_balance_earnings(user_id) + +Get Balance Earnings + +Gets the balance of a user from earnings + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.EconomyApi(api_client) + user_id = 'user_id_example' # str | Must be a valid user ID. + + try: + # Get Balance Earnings + api_response = api_instance.get_balance_earnings(user_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling EconomyApi->get_balance_earnings: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | + +### Return type + +[**Balance**](Balance.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single Balance object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_current_subscriptions** > list[UserSubscription] get_current_subscriptions() @@ -161,6 +311,80 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_economy_account** +> EconomyAccount get_economy_account(user_id) + +Get Economy Account + +Gets the economy account of a user + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.EconomyApi(api_client) + user_id = 'user_id_example' # str | Must be a valid user ID. + + try: + # Get Economy Account + api_response = api_instance.get_economy_account(user_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling EconomyApi->get_economy_account: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | + +### Return type + +[**EconomyAccount**](EconomyAccount.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single EconomyAccount object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_license_group** > LicenseGroup get_license_group(license_group_id) @@ -539,6 +763,162 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_store** +> Store get_store(store_id, hydrate_listings=hydrate_listings, hydrate_products=hydrate_products) + +Get Store + +Gets a store + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.EconomyApi(api_client) + store_id = 'store_id_example' # str | +hydrate_listings = True # bool | Listings fields will be populated. (optional) +hydrate_products = True # bool | Products fields will be populated. (optional) + + try: + # Get Store + api_response = api_instance.get_store(store_id, hydrate_listings=hydrate_listings, hydrate_products=hydrate_products) + pprint(api_response) + except ApiException as e: + print("Exception when calling EconomyApi->get_store: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **store_id** | **str**| | + **hydrate_listings** | **bool**| Listings fields will be populated. | [optional] + **hydrate_products** | **bool**| Products fields will be populated. | [optional] + +### Return type + +[**Store**](Store.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single Store object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_store_shelves** +> list[StoreShelf] get_store_shelves(store_id, hydrate_listings=hydrate_listings, fetch=fetch) + +Get Store Shelves + +Gets the shelves for a store + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.EconomyApi(api_client) + store_id = 'store_id_example' # str | +hydrate_listings = True # bool | Listings fields will be populated. (optional) +fetch = vrchatapi.StoreView() # StoreView | (optional) + + try: + # Get Store Shelves + api_response = api_instance.get_store_shelves(store_id, hydrate_listings=hydrate_listings, fetch=fetch) + pprint(api_response) + except ApiException as e: + print("Exception when calling EconomyApi->get_store_shelves: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **store_id** | **str**| | + **hydrate_listings** | **bool**| Listings fields will be populated. | [optional] + **fetch** | [**StoreView**](.md)| | [optional] + +### Return type + +[**list[StoreShelf]**](StoreShelf.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of StoreShelf objects. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_subscriptions** > list[Subscription] get_subscriptions() @@ -823,3 +1203,79 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_user_subscription_eligible** +> UserSubscriptionEligible get_user_subscription_eligible(user_id, steam_id=steam_id) + +Get User Subscription Eligiblity + +Get the user's eligibility status for subscriptions. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.EconomyApi(api_client) + user_id = 'user_id_example' # str | Must be a valid user ID. +steam_id = 'game night' # str | The Steam ID of the user. (optional) + + try: + # Get User Subscription Eligiblity + api_response = api_instance.get_user_subscription_eligible(user_id, steam_id=steam_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling EconomyApi->get_user_subscription_eligible: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | + **steam_id** | **str**| The Steam ID of the user. | [optional] + +### Return type + +[**UserSubscriptionEligible**](UserSubscriptionEligible.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single UserSubscriptionEligible object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/GroupInstance.md b/docs/GroupInstance.md index de6a8904..43765822 100644 --- a/docs/GroupInstance.md +++ b/docs/GroupInstance.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**instance_id** | **str** | | -**location** | **str** | InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. | +**instance_id** | **str** | InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. | +**location** | **str** | Represents a unique location, consisting of a world identifier and an instance identifier, or \"offline\" if the user is not on your friends list. | **world** | [**World**](World.md) | | **member_count** | **int** | | diff --git a/docs/Instance.md b/docs/Instance.md index aacf928d..a6011823 100644 --- a/docs/Instance.md +++ b/docs/Instance.md @@ -15,9 +15,9 @@ Name | Type | Description | Notes **full** | **bool** | | [default to False] **game_server_version** | **int** | | [optional] **id** | **str** | InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. | -**instance_id** | **str** | | +**instance_id** | **str** | InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. | **instance_persistence_enabled** | **str** | | -**location** | **str** | InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. | +**location** | **str** | Represents a unique location, consisting of a world identifier and an instance identifier, or \"offline\" if the user is not on your friends list. | **n_users** | **int** | | **name** | **str** | | **owner_id** | **str** | A groupId if the instance type is \"group\", null if instance type is public, or a userId otherwise | [optional] diff --git a/docs/InstancesApi.md b/docs/InstancesApi.md index 7b7c326a..1bd0cddb 100644 --- a/docs/InstancesApi.md +++ b/docs/InstancesApi.md @@ -8,6 +8,7 @@ Method | HTTP request | Description [**create_instance**](InstancesApi.md#create_instance) | **POST** /instances | Create Instance [**get_instance**](InstancesApi.md#get_instance) | **GET** /instances/{worldId}:{instanceId} | Get Instance [**get_instance_by_short_name**](InstancesApi.md#get_instance_by_short_name) | **GET** /instances/s/{shortName} | Get Instance By Short Name +[**get_recent_locations**](InstancesApi.md#get_recent_locations) | **GET** /instances/recent | List Recent Locations [**get_short_name**](InstancesApi.md#get_short_name) | **GET** /instances/{worldId}:{instanceId}/shortName | Get Instance Short Name @@ -318,6 +319,82 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_recent_locations** +> list[str] get_recent_locations(n=n, offset=offset) + +List Recent Locations + +Returns a list of recently visited locations. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.InstancesApi(api_client) + n = 60 # int | The number of objects to return. (optional) (default to 60) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) + + try: + # List Recent Locations + api_response = api_instance.get_recent_locations(n=n, offset=offset) + pprint(api_response) + except ApiException as e: + print("Exception when calling InstancesApi->get_recent_locations: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + +### Return type + +**list[str]** + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of LocationIDs. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_short_name** > InstanceShortNameResponse get_short_name(world_id, instance_id) diff --git a/docs/InventoryApi.md b/docs/InventoryApi.md index 67b9dfaa..f97b1da3 100644 --- a/docs/InventoryApi.md +++ b/docs/InventoryApi.md @@ -8,11 +8,14 @@ Method | HTTP request | Description [**get_inventory_drops**](InventoryApi.md#get_inventory_drops) | **GET** /inventory/drops | List Inventory Drops [**get_inventory_template**](InventoryApi.md#get_inventory_template) | **GET** /inventory/template/{inventoryTemplateId} | Get Inventory Template [**get_own_inventory_item**](InventoryApi.md#get_own_inventory_item) | **GET** /inventory/{inventoryItemId} | Get Own Inventory Item +[**share_inventory_item_direct**](InventoryApi.md#share_inventory_item_direct) | **POST** /inventory/cloning/direct | Share Inventory Item Direct +[**share_inventory_item_pedestal**](InventoryApi.md#share_inventory_item_pedestal) | **GET** /inventory/cloning/pedestal | Share Inventory Item by Pedestal [**spawn_inventory_item**](InventoryApi.md#spawn_inventory_item) | **GET** /inventory/spawn | Spawn Inventory Item +[**update_own_inventory_item**](InventoryApi.md#update_own_inventory_item) | **PUT** /inventory/{inventoryItemId} | Update Own Inventory Item # **get_inventory** -> Inventory get_inventory(n=n, offset=offset, inventory_sort_order=inventory_sort_order, inventory_item_type=inventory_item_type) +> Inventory get_inventory(n=n, offset=offset, order=order, tags=tags, types=types, flags=flags, not_types=not_types, not_flags=not_flags, archived=archived) Get Inventory @@ -50,12 +53,17 @@ with vrchatapi.ApiClient(configuration) as api_client: api_instance = vrchatapi.InventoryApi(api_client) n = 60 # int | The number of objects to return. (optional) (default to 60) offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) -inventory_sort_order = 'inventory_sort_order_example' # str | Sort order for inventory retrieval. (optional) -inventory_item_type = vrchatapi.InventoryItemType() # InventoryItemType | Filter for inventory retrieval. (optional) +order = 'order_example' # str | Sort order for inventory retrieval. (optional) +tags = 'tags_example' # str | Filter tags for inventory retrieval (comma-separated). (optional) +types = vrchatapi.InventoryItemType() # InventoryItemType | Filter for inventory retrieval. (optional) +flags = vrchatapi.InventoryFlag() # InventoryFlag | Filter flags for inventory retrieval (comma-separated). (optional) +not_types = vrchatapi.InventoryItemType() # InventoryItemType | Filter out types for inventory retrieval (comma-separated). (optional) +not_flags = vrchatapi.InventoryFlag() # InventoryFlag | Filter out flags for inventory retrieval (comma-separated). (optional) +archived = True # bool | Filter archived status for inventory retrieval. (optional) try: # Get Inventory - api_response = api_instance.get_inventory(n=n, offset=offset, inventory_sort_order=inventory_sort_order, inventory_item_type=inventory_item_type) + api_response = api_instance.get_inventory(n=n, offset=offset, order=order, tags=tags, types=types, flags=flags, not_types=not_types, not_flags=not_flags, archived=archived) pprint(api_response) except ApiException as e: print("Exception when calling InventoryApi->get_inventory: %s\n" % e) @@ -67,8 +75,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **n** | **int**| The number of objects to return. | [optional] [default to 60] **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] - **inventory_sort_order** | **str**| Sort order for inventory retrieval. | [optional] - **inventory_item_type** | [**InventoryItemType**](.md)| Filter for inventory retrieval. | [optional] + **order** | **str**| Sort order for inventory retrieval. | [optional] + **tags** | **str**| Filter tags for inventory retrieval (comma-separated). | [optional] + **types** | [**InventoryItemType**](.md)| Filter for inventory retrieval. | [optional] + **flags** | [**InventoryFlag**](.md)| Filter flags for inventory retrieval (comma-separated). | [optional] + **not_types** | [**InventoryItemType**](.md)| Filter out types for inventory retrieval (comma-separated). | [optional] + **not_flags** | [**InventoryFlag**](.md)| Filter out flags for inventory retrieval (comma-separated). | [optional] + **archived** | **bool**| Filter archived status for inventory retrieval. | [optional] ### Return type @@ -313,6 +326,160 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **share_inventory_item_direct** +> OkStatus share_inventory_item_direct(item_id, duration, share_inventory_item_direct_request) + +Share Inventory Item Direct + +Share content directly with other users. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.InventoryApi(api_client) + item_id = 'item_id_example' # str | Id for inventory item sharing. +duration = 90 # int | The duration before the sharing pedestal despawns. (default to 90) +share_inventory_item_direct_request = vrchatapi.ShareInventoryItemDirectRequest() # ShareInventoryItemDirectRequest | + + try: + # Share Inventory Item Direct + api_response = api_instance.share_inventory_item_direct(item_id, duration, share_inventory_item_direct_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling InventoryApi->share_inventory_item_direct: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **item_id** | **str**| Id for inventory item sharing. | + **duration** | **int**| The duration before the sharing pedestal despawns. | [default to 90] + **share_inventory_item_direct_request** | [**ShareInventoryItemDirectRequest**](ShareInventoryItemDirectRequest.md)| | + +### Return type + +[**OkStatus**](OkStatus.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns an OkStatus object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **share_inventory_item_pedestal** +> InventorySpawn share_inventory_item_pedestal(item_id, duration) + +Share Inventory Item by Pedestal + +Returns an InventorySpawn object. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.InventoryApi(api_client) + item_id = 'item_id_example' # str | Id for inventory item sharing. +duration = 90 # int | The duration before the sharing pedestal despawns. (default to 90) + + try: + # Share Inventory Item by Pedestal + api_response = api_instance.share_inventory_item_pedestal(item_id, duration) + pprint(api_response) + except ApiException as e: + print("Exception when calling InventoryApi->share_inventory_item_pedestal: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **item_id** | **str**| Id for inventory item sharing. | + **duration** | **int**| The duration before the sharing pedestal despawns. | [default to 90] + +### Return type + +[**InventorySpawn**](InventorySpawn.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns an InventorySpawn object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **spawn_inventory_item** > InventorySpawn spawn_inventory_item(id) @@ -387,3 +554,79 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **update_own_inventory_item** +> InventoryItem update_own_inventory_item(inventory_item_id, update_inventory_item_request=update_inventory_item_request) + +Update Own Inventory Item + +Returns the modified InventoryItem object as held by the currently logged in user. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.InventoryApi(api_client) + inventory_item_id = 'inv_00000000-0000-0000-0000-000000000000' # str | Must be a valid inventory item ID. +update_inventory_item_request = vrchatapi.UpdateInventoryItemRequest() # UpdateInventoryItemRequest | (optional) + + try: + # Update Own Inventory Item + api_response = api_instance.update_own_inventory_item(inventory_item_id, update_inventory_item_request=update_inventory_item_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling InventoryApi->update_own_inventory_item: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **inventory_item_id** | **str**| Must be a valid inventory item ID. | + **update_inventory_item_request** | [**UpdateInventoryItemRequest**](UpdateInventoryItemRequest.md)| | [optional] + +### Return type + +[**InventoryItem**](InventoryItem.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns an InventoryItem object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/InventoryFlag.md b/docs/InventoryFlag.md new file mode 100644 index 00000000..e35863dc --- /dev/null +++ b/docs/InventoryFlag.md @@ -0,0 +1,10 @@ +# InventoryFlag + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/LimitedUserFriend.md b/docs/LimitedUserFriend.md index a04b500a..70906806 100644 --- a/docs/LimitedUserFriend.md +++ b/docs/LimitedUserFriend.md @@ -22,12 +22,12 @@ Name | Type | Description | Notes **last_activity** | **datetime** | | **last_mobile** | **datetime** | | **platform** | **str** | | -**profile_pic_override** | **str** | | -**profile_pic_override_thumbnail** | **str** | | +**profile_pic_override** | **str** | | [optional] +**profile_pic_override_thumbnail** | **str** | | [optional] **status** | [**UserStatus**](UserStatus.md) | | **status_description** | **str** | | **tags** | **list[str]** | <- Always empty. | -**user_icon** | **str** | | +**user_icon** | **str** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/LimitedUserInstance.md b/docs/LimitedUserInstance.md index 708d6ba8..62969813 100644 --- a/docs/LimitedUserInstance.md +++ b/docs/LimitedUserInstance.md @@ -24,14 +24,14 @@ Name | Type | Description | Notes **last_activity** | **datetime** | | **last_mobile** | **datetime** | | **platform** | **str** | | [optional] -**profile_pic_override** | **str** | | -**profile_pic_override_thumbnail** | **str** | | +**profile_pic_override** | **str** | | [optional] +**profile_pic_override_thumbnail** | **str** | | [optional] **pronouns** | **str** | | **state** | [**UserState**](UserState.md) | | **status** | [**UserStatus**](UserStatus.md) | | **status_description** | **str** | | **tags** | **list[str]** | | -**user_icon** | **str** | | +**user_icon** | **str** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/LimitedUserSearch.md b/docs/LimitedUserSearch.md index b7e09cbf..ac1d8602 100644 --- a/docs/LimitedUserSearch.md +++ b/docs/LimitedUserSearch.md @@ -15,12 +15,12 @@ Name | Type | Description | Notes **id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | **is_friend** | **bool** | | **last_platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | -**profile_pic_override** | **str** | | +**profile_pic_override** | **str** | | [optional] **pronouns** | **str** | | [optional] **status** | [**UserStatus**](UserStatus.md) | | **status_description** | **str** | | **tags** | **list[str]** | <- Always empty. | -**user_icon** | **str** | | +**user_icon** | **str** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/NotificationDetailInvite.md b/docs/NotificationDetailInvite.md index eec5044b..e3148d4b 100644 --- a/docs/NotificationDetailInvite.md +++ b/docs/NotificationDetailInvite.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **invite_message** | **str** | | [optional] -**world_id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | +**world_id** | **str** | Represents a unique location, consisting of a world identifier and an instance identifier, or \"offline\" if the user is not on your friends list. | **world_name** | **str** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/OkStatus.md b/docs/OkStatus.md new file mode 100644 index 00000000..441a118d --- /dev/null +++ b/docs/OkStatus.md @@ -0,0 +1,12 @@ +# OkStatus + +A status response consisting of solely a string description of whether the result of an operation was ok. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ok** | **str** | The actual status itself | [default to 'maybe?'] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ShareInventoryItemDirectRequest.md b/docs/ShareInventoryItemDirectRequest.md new file mode 100644 index 00000000..8ed935c2 --- /dev/null +++ b/docs/ShareInventoryItemDirectRequest.md @@ -0,0 +1,12 @@ +# ShareInventoryItemDirectRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**item_id** | **str** | | +**users** | **list[str]** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Store.md b/docs/Store.md new file mode 100644 index 00000000..10055bda --- /dev/null +++ b/docs/Store.md @@ -0,0 +1,24 @@ +# Store + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**description** | **str** | | +**display_name** | **str** | | +**id** | **str** | | +**seller_display_name** | **str** | | +**seller_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**store_id** | **str** | | +**store_type** | [**StoreType**](StoreType.md) | | +**tags** | **list[str]** | | +**listing_ids** | **list[str]** | Only for store type world and group | [optional] +**listings** | [**list[ProductListing]**](ProductListing.md) | Only for store type world and group | [optional] +**world_id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | [optional] +**group_id** | **str** | | [optional] +**shelf_ids** | **list[str]** | Only for store type house | [optional] +**shelves** | [**list[StoreShelf]**](StoreShelf.md) | Only for store type house | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/StoreShelf.md b/docs/StoreShelf.md new file mode 100644 index 00000000..2e2ae371 --- /dev/null +++ b/docs/StoreShelf.md @@ -0,0 +1,17 @@ +# StoreShelf + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | | +**listing_ids** | **list[str]** | | +**listings** | [**list[ProductListing]**](ProductListing.md) | | [optional] +**shelf_description** | **str** | | +**shelf_layout** | **str** | | +**shelf_title** | **str** | | +**updated_at** | **str** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/StoreType.md b/docs/StoreType.md new file mode 100644 index 00000000..92204c49 --- /dev/null +++ b/docs/StoreType.md @@ -0,0 +1,10 @@ +# StoreType + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/StoreView.md b/docs/StoreView.md new file mode 100644 index 00000000..04ef2580 --- /dev/null +++ b/docs/StoreView.md @@ -0,0 +1,10 @@ +# StoreView + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/UpdateInventoryItemRequest.md b/docs/UpdateInventoryItemRequest.md new file mode 100644 index 00000000..8fa03921 --- /dev/null +++ b/docs/UpdateInventoryItemRequest.md @@ -0,0 +1,11 @@ +# UpdateInventoryItemRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**is_archived** | **bool** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/User.md b/docs/User.md index 2dd4f220..b67cebcf 100644 --- a/docs/User.md +++ b/docs/User.md @@ -25,7 +25,7 @@ Name | Type | Description | Notes **last_login** | **str** | Either a date-time or empty string. | **last_mobile** | **str** | | [optional] **last_platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | -**location** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | [optional] +**location** | **str** | Represents a unique location, consisting of a world identifier and an instance identifier, or \"offline\" if the user is not on your friends list. | [optional] **note** | **str** | | [optional] **platform** | **str** | | [optional] **profile_pic_override** | **str** | | diff --git a/docs/UserSubscriptionEligible.md b/docs/UserSubscriptionEligible.md new file mode 100644 index 00000000..1858f3d5 --- /dev/null +++ b/docs/UserSubscriptionEligible.md @@ -0,0 +1,16 @@ +# UserSubscriptionEligible + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**active_cancelled_subscription** | **bool** | | +**gift_eligible** | **bool** | | +**non_extend_vendor_will_lose_gift_time** | **bool** | | +**purchase_eligible** | **bool** | | +**subscription_eligible** | **bool** | | +**subscription_on_alt_account** | **bool** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/package-lock.json b/package-lock.json index 8aa420f6..5b8ee5fc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.23.1" + "@openapitools/openapi-generator-cli": "^2.24.0" } }, "node_modules/@inquirer/external-editor": { @@ -235,22 +235,22 @@ "integrity": "sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw==" }, "node_modules/@openapitools/openapi-generator-cli": { - "version": "2.23.1", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.23.1.tgz", - "integrity": "sha512-Kd5EZqzbcIXf6KRlpUrheHMzQNRHsJWzAGrm4ncWCNhnQl+Mh6TsFcqq+hIetgiFCknWBH6cZ2f37SxPxaon4w==", + "version": "2.24.0", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.24.0.tgz", + "integrity": "sha512-VS0sfW46oe/hQq7g1YZU1cJJebAQIwKhKqjsDY1/QFmcJMXYfe339yjMDTv02kMbsx621cSH46HIdvmW+i+7mg==", "hasInstallScript": true, "dependencies": { "@nestjs/axios": "4.0.1", "@nestjs/common": "11.1.6", "@nestjs/core": "11.1.6", "@nuxtjs/opencollective": "0.3.2", - "axios": "1.11.0", + "axios": "1.12.2", "chalk": "4.1.2", "commander": "8.3.0", - "compare-versions": "4.1.4", + "compare-versions": "6.1.1", "concurrently": "9.2.1", "console.table": "0.10.0", - "fs-extra": "11.3.1", + "fs-extra": "11.3.2", "glob": "11.0.3", "inquirer": "8.2.7", "proxy-agent": "6.5.0", @@ -357,9 +357,9 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "node_modules/axios": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.11.0.tgz", - "integrity": "sha512-1Lx3WLFQWm3ooKDYZD1eXmoGO9fxYQjrycfHFC8P0sCfQVXyROp0p9PFWBehewBOdCwHc+f/b8I0fMto5eSfwA==", + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.12.2.tgz", + "integrity": "sha512-vMJzPewAlRyOgxV2dU0Cuz2O8zzzx9VYtbJOaBgXFeLc4IV/Eg50n4LowmehOOR61S8ZMpc2K5Sa7g6A4jfkUw==", "dependencies": { "follow-redirects": "^1.15.6", "form-data": "^4.0.4", @@ -561,9 +561,9 @@ } }, "node_modules/compare-versions": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-4.1.4.tgz", - "integrity": "sha512-FemMreK9xNyL8gQevsdRMrvO4lFCkQP7qbuktn1q8ndcNk1+0mz7lgE7b/sNvbhVgY4w6tMN1FDp6aADjqw2rw==" + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-6.1.1.tgz", + "integrity": "sha512-4hm4VPpIecmlg59CHXnRDnqGplJFrbLG4aFEl5vl6cK1u76ws3LLvX7ikFnTDl5vo39sjWD6AaDPYodJp/NNHg==" }, "node_modules/concurrently": { "version": "9.2.1", @@ -925,9 +925,9 @@ } }, "node_modules/fs-extra": { - "version": "11.3.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.1.tgz", - "integrity": "sha512-eXvGGwZ5CL17ZSwHWd3bbgk7UUpF6IFHtP57NYYakPvHOs8GDgDe5KJI36jIJzDkJ6eJjuzRA8eBQb6SkKue0g==", + "version": "11.3.2", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.2.tgz", + "integrity": "sha512-Xr9F6z6up6Ws+NjzMCZc6WXg2YFRlrLP9NQDO3VQrWrfiojdhS56TzueT88ze0uBdCTwEIhQ3ptnmKeWGFAe0A==", "dependencies": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", @@ -2154,21 +2154,21 @@ } }, "@openapitools/openapi-generator-cli": { - "version": "2.23.1", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.23.1.tgz", - "integrity": "sha512-Kd5EZqzbcIXf6KRlpUrheHMzQNRHsJWzAGrm4ncWCNhnQl+Mh6TsFcqq+hIetgiFCknWBH6cZ2f37SxPxaon4w==", + "version": "2.24.0", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.24.0.tgz", + "integrity": "sha512-VS0sfW46oe/hQq7g1YZU1cJJebAQIwKhKqjsDY1/QFmcJMXYfe339yjMDTv02kMbsx621cSH46HIdvmW+i+7mg==", "requires": { "@nestjs/axios": "4.0.1", "@nestjs/common": "11.1.6", "@nestjs/core": "11.1.6", "@nuxtjs/opencollective": "0.3.2", - "axios": "1.11.0", + "axios": "1.12.2", "chalk": "4.1.2", "commander": "8.3.0", - "compare-versions": "4.1.4", + "compare-versions": "6.1.1", "concurrently": "9.2.1", "console.table": "0.10.0", - "fs-extra": "11.3.1", + "fs-extra": "11.3.2", "glob": "11.0.3", "inquirer": "8.2.7", "proxy-agent": "6.5.0", @@ -2237,9 +2237,9 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "axios": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.11.0.tgz", - "integrity": "sha512-1Lx3WLFQWm3ooKDYZD1eXmoGO9fxYQjrycfHFC8P0sCfQVXyROp0p9PFWBehewBOdCwHc+f/b8I0fMto5eSfwA==", + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.12.2.tgz", + "integrity": "sha512-vMJzPewAlRyOgxV2dU0Cuz2O8zzzx9VYtbJOaBgXFeLc4IV/Eg50n4LowmehOOR61S8ZMpc2K5Sa7g6A4jfkUw==", "requires": { "follow-redirects": "^1.15.6", "form-data": "^4.0.4", @@ -2370,9 +2370,9 @@ "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==" }, "compare-versions": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-4.1.4.tgz", - "integrity": "sha512-FemMreK9xNyL8gQevsdRMrvO4lFCkQP7qbuktn1q8ndcNk1+0mz7lgE7b/sNvbhVgY4w6tMN1FDp6aADjqw2rw==" + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-6.1.1.tgz", + "integrity": "sha512-4hm4VPpIecmlg59CHXnRDnqGplJFrbLG4aFEl5vl6cK1u76ws3LLvX7ikFnTDl5vo39sjWD6AaDPYodJp/NNHg==" }, "concurrently": { "version": "9.2.1", @@ -2612,9 +2612,9 @@ } }, "fs-extra": { - "version": "11.3.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.1.tgz", - "integrity": "sha512-eXvGGwZ5CL17ZSwHWd3bbgk7UUpF6IFHtP57NYYakPvHOs8GDgDe5KJI36jIJzDkJ6eJjuzRA8eBQb6SkKue0g==", + "version": "11.3.2", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.2.tgz", + "integrity": "sha512-Xr9F6z6up6Ws+NjzMCZc6WXg2YFRlrLP9NQDO3VQrWrfiojdhS56TzueT88ze0uBdCTwEIhQ3ptnmKeWGFAe0A==", "requires": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", diff --git a/package.json b/package.json index 51b17094..e813d108 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.23.1" + "@openapitools/openapi-generator-cli": "^2.24.0" } } diff --git a/setup.py b/setup.py index 935fdb97..3370e7da 100644 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.20.3" +VERSION = "1.20.4" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index b236763b..bb099b21 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,7 +6,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -107,6 +107,7 @@ from vrchatapi.models.developer_type import DeveloperType from vrchatapi.models.disable2_fa_result import Disable2FAResult from vrchatapi.models.dynamic_content_row import DynamicContentRow +from vrchatapi.models.economy_account import EconomyAccount from vrchatapi.models.error import Error from vrchatapi.models.favorite import Favorite from vrchatapi.models.favorite_group import FavoriteGroup @@ -167,6 +168,7 @@ from vrchatapi.models.instance_type import InstanceType from vrchatapi.models.inventory import Inventory from vrchatapi.models.inventory_drop import InventoryDrop +from vrchatapi.models.inventory_flag import InventoryFlag from vrchatapi.models.inventory_item import InventoryItem from vrchatapi.models.inventory_item_type import InventoryItemType from vrchatapi.models.inventory_metadata import InventoryMetadata @@ -200,6 +202,7 @@ from vrchatapi.models.notification_detail_request_invite_response import NotificationDetailRequestInviteResponse from vrchatapi.models.notification_detail_vote_to_kick import NotificationDetailVoteToKick from vrchatapi.models.notification_type import NotificationType +from vrchatapi.models.ok_status import OkStatus from vrchatapi.models.order_option import OrderOption from vrchatapi.models.paginated_calendar_event_list import PaginatedCalendarEventList from vrchatapi.models.paginated_group_audit_log_entry_list import PaginatedGroupAuditLogEntryList @@ -231,7 +234,12 @@ from vrchatapi.models.sent_notification import SentNotification from vrchatapi.models.service_queue_stats import ServiceQueueStats from vrchatapi.models.service_status import ServiceStatus +from vrchatapi.models.share_inventory_item_direct_request import ShareInventoryItemDirectRequest from vrchatapi.models.sort_option import SortOption +from vrchatapi.models.store import Store +from vrchatapi.models.store_shelf import StoreShelf +from vrchatapi.models.store_type import StoreType +from vrchatapi.models.store_view import StoreView from vrchatapi.models.submission import Submission from vrchatapi.models.subscription import Subscription from vrchatapi.models.subscription_period import SubscriptionPeriod @@ -257,6 +265,7 @@ from vrchatapi.models.update_group_representation_request import UpdateGroupRepresentationRequest from vrchatapi.models.update_group_request import UpdateGroupRequest from vrchatapi.models.update_group_role_request import UpdateGroupRoleRequest +from vrchatapi.models.update_inventory_item_request import UpdateInventoryItemRequest from vrchatapi.models.update_invite_message_request import UpdateInviteMessageRequest from vrchatapi.models.update_user_badge_request import UpdateUserBadgeRequest from vrchatapi.models.update_user_note_request import UpdateUserNoteRequest @@ -269,6 +278,7 @@ from vrchatapi.models.user_state import UserState from vrchatapi.models.user_status import UserStatus from vrchatapi.models.user_subscription import UserSubscription +from vrchatapi.models.user_subscription_eligible import UserSubscriptionEligible from vrchatapi.models.verify2_fa_email_code_result import Verify2FAEmailCodeResult from vrchatapi.models.verify2_fa_result import Verify2FAResult from vrchatapi.models.verify_auth_token_result import VerifyAuthTokenResult diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index ec287e3f..a8b13ff8 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index d044879b..65c86a2d 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/calendar_api.py b/vrchatapi/api/calendar_api.py index 2308c58a..0e36e483 100644 --- a/vrchatapi/api/calendar_api.py +++ b/vrchatapi/api/calendar_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -1433,6 +1433,175 @@ def get_group_calendar_events_with_http_info(self, group_id, **kwargs): # noqa: collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def search_calendar_events(self, search_term, **kwargs): # noqa: E501 + """Search for calendar events # noqa: E501 + + Get a list of calendar events by search terms # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.search_calendar_events(search_term, async_req=True) + >>> result = thread.get() + + :param search_term: Search term for calendar events. (required) + :type search_term: str + :param utc_offset: The offset from UTC in hours of the client or authenticated user. + :type utc_offset: int + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: PaginatedCalendarEventList + """ + kwargs['_return_http_data_only'] = True + return self.search_calendar_events_with_http_info(search_term, **kwargs) # noqa: E501 + + def search_calendar_events_with_http_info(self, search_term, **kwargs): # noqa: E501 + """Search for calendar events # noqa: E501 + + Get a list of calendar events by search terms # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.search_calendar_events_with_http_info(search_term, async_req=True) + >>> result = thread.get() + + :param search_term: Search term for calendar events. (required) + :type search_term: str + :param utc_offset: The offset from UTC in hours of the client or authenticated user. + :type utc_offset: int + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(PaginatedCalendarEventList, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'search_term', + 'utc_offset', + 'n', + 'offset' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method search_calendar_events" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'search_term' is set + if self.api_client.client_side_validation and local_var_params.get('search_term') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `search_term` when calling `search_calendar_events`") # noqa: E501 + + if self.api_client.client_side_validation and 'utc_offset' in local_var_params and local_var_params['utc_offset'] > 12: # noqa: E501 + raise ApiValueError("Invalid value for parameter `utc_offset` when calling `search_calendar_events`, must be a value less than or equal to `12`") # noqa: E501 + if self.api_client.client_side_validation and 'utc_offset' in local_var_params and local_var_params['utc_offset'] < -12: # noqa: E501 + raise ApiValueError("Invalid value for parameter `utc_offset` when calling `search_calendar_events`, must be a value greater than or equal to `-12`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `search_calendar_events`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `search_calendar_events`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `search_calendar_events`, must be a value greater than or equal to `0`") # noqa: E501 + collection_formats = {} + + path_params = {} + + query_params = [] + if local_var_params.get('search_term') is not None: # noqa: E501 + query_params.append(('searchTerm', local_var_params['search_term'])) # noqa: E501 + if local_var_params.get('utc_offset') is not None: # noqa: E501 + query_params.append(('utcOffset', local_var_params['utc_offset'])) # noqa: E501 + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "PaginatedCalendarEventList", + 401: "Error", + } + + return self.api_client.call_api( + '/calendar/search', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def update_group_calendar_event(self, group_id, calendar_id, update_calendar_event_request, **kwargs): # noqa: E501 """Update a calendar event # noqa: E501 diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index d43073f2..5e28d2c3 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,6 +36,134 @@ def __init__(self, api_client=None): api_client = ApiClient() self.api_client = api_client + def get_active_licenses(self, **kwargs): # noqa: E501 + """Get Active Licenses # noqa: E501 + + Gets active licenses # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_active_licenses(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[License] + """ + kwargs['_return_http_data_only'] = True + return self.get_active_licenses_with_http_info(**kwargs) # noqa: E501 + + def get_active_licenses_with_http_info(self, **kwargs): # noqa: E501 + """Get Active Licenses # noqa: E501 + + Gets active licenses # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_active_licenses_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[License], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_active_licenses" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[License]", + 401: "Error", + } + + return self.api_client.call_api( + '/economy/licenses/active', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def get_balance(self, user_id, **kwargs): # noqa: E501 """Get Balance # noqa: E501 @@ -174,16 +302,18 @@ def get_balance_with_http_info(self, user_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_current_subscriptions(self, **kwargs): # noqa: E501 - """Get Current Subscriptions # noqa: E501 + def get_balance_earnings(self, user_id, **kwargs): # noqa: E501 + """Get Balance Earnings # noqa: E501 - Get a list of all current user subscriptions. # noqa: E501 + Gets the balance of a user from earnings # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_current_subscriptions(async_req=True) + >>> thread = api.get_balance_earnings(user_id, async_req=True) >>> result = thread.get() + :param user_id: Must be a valid user ID. (required) + :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -197,21 +327,23 @@ def get_current_subscriptions(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[UserSubscription] + :rtype: Balance """ kwargs['_return_http_data_only'] = True - return self.get_current_subscriptions_with_http_info(**kwargs) # noqa: E501 + return self.get_balance_earnings_with_http_info(user_id, **kwargs) # noqa: E501 - def get_current_subscriptions_with_http_info(self, **kwargs): # noqa: E501 - """Get Current Subscriptions # noqa: E501 + def get_balance_earnings_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get Balance Earnings # noqa: E501 - Get a list of all current user subscriptions. # noqa: E501 + Gets the balance of a user from earnings # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_current_subscriptions_with_http_info(async_req=True) + >>> thread = api.get_balance_earnings_with_http_info(user_id, async_req=True) >>> result = thread.get() + :param user_id: Must be a valid user ID. (required) + :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -233,12 +365,13 @@ def get_current_subscriptions_with_http_info(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[UserSubscription], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(Balance, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ + 'user_id' ] all_params.extend( [ @@ -256,14 +389,19 @@ def get_current_subscriptions_with_http_info(self, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_current_subscriptions" % key + " to method get_balance_earnings" % key ) local_var_params[key] = val del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_balance_earnings`") # noqa: E501 collection_formats = {} path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 query_params = [] @@ -281,12 +419,12 @@ def get_current_subscriptions_with_http_info(self, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "list[UserSubscription]", + 200: "Balance", 401: "Error", } return self.api_client.call_api( - '/auth/user/subscription', 'GET', + '/user/{userId}/balance/earnings', 'GET', path_params, query_params, header_params, @@ -302,18 +440,16 @@ def get_current_subscriptions_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_license_group(self, license_group_id, **kwargs): # noqa: E501 - """Get License Group # noqa: E501 + def get_current_subscriptions(self, **kwargs): # noqa: E501 + """Get Current Subscriptions # noqa: E501 - Get a single License Group by given ID. # noqa: E501 + Get a list of all current user subscriptions. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_license_group(license_group_id, async_req=True) + >>> thread = api.get_current_subscriptions(async_req=True) >>> result = thread.get() - :param license_group_id: Must be a valid license group ID. (required) - :type license_group_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -327,23 +463,21 @@ def get_license_group(self, license_group_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: LicenseGroup + :rtype: list[UserSubscription] """ kwargs['_return_http_data_only'] = True - return self.get_license_group_with_http_info(license_group_id, **kwargs) # noqa: E501 + return self.get_current_subscriptions_with_http_info(**kwargs) # noqa: E501 - def get_license_group_with_http_info(self, license_group_id, **kwargs): # noqa: E501 - """Get License Group # noqa: E501 + def get_current_subscriptions_with_http_info(self, **kwargs): # noqa: E501 + """Get Current Subscriptions # noqa: E501 - Get a single License Group by given ID. # noqa: E501 + Get a list of all current user subscriptions. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_license_group_with_http_info(license_group_id, async_req=True) + >>> thread = api.get_current_subscriptions_with_http_info(async_req=True) >>> result = thread.get() - :param license_group_id: Must be a valid license group ID. (required) - :type license_group_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -365,13 +499,12 @@ def get_license_group_with_http_info(self, license_group_id, **kwargs): # noqa: :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(LicenseGroup, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(list[UserSubscription], status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'license_group_id' ] all_params.extend( [ @@ -389,19 +522,14 @@ def get_license_group_with_http_info(self, license_group_id, **kwargs): # noqa: if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_license_group" % key + " to method get_current_subscriptions" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'license_group_id' is set - if self.api_client.client_side_validation and local_var_params.get('license_group_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `license_group_id` when calling `get_license_group`") # noqa: E501 collection_formats = {} path_params = {} - if 'license_group_id' in local_var_params: - path_params['licenseGroupId'] = local_var_params['license_group_id'] # noqa: E501 query_params = [] @@ -419,12 +547,12 @@ def get_license_group_with_http_info(self, license_group_id, **kwargs): # noqa: auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "LicenseGroup", + 200: "list[UserSubscription]", 401: "Error", } return self.api_client.call_api( - '/licenseGroups/{licenseGroupId}', 'GET', + '/auth/user/subscription', 'GET', path_params, query_params, header_params, @@ -440,20 +568,18 @@ def get_license_group_with_http_info(self, license_group_id, **kwargs): # noqa: collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_product_listing(self, product_id, **kwargs): # noqa: E501 - """Get Product Listing # noqa: E501 + def get_economy_account(self, user_id, **kwargs): # noqa: E501 + """Get Economy Account # noqa: E501 - Gets a product listing # noqa: E501 + Gets the economy account of a user # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_product_listing(product_id, async_req=True) + >>> thread = api.get_economy_account(user_id, async_req=True) >>> result = thread.get() - :param product_id: Must be a valid product ID. (required) - :type product_id: str - :param hydrate: Populates some fields and changes types of others for certain objects. - :type hydrate: bool + :param user_id: Must be a valid user ID. (required) + :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -467,25 +593,23 @@ def get_product_listing(self, product_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: ProductListing + :rtype: EconomyAccount """ kwargs['_return_http_data_only'] = True - return self.get_product_listing_with_http_info(product_id, **kwargs) # noqa: E501 + return self.get_economy_account_with_http_info(user_id, **kwargs) # noqa: E501 - def get_product_listing_with_http_info(self, product_id, **kwargs): # noqa: E501 - """Get Product Listing # noqa: E501 + def get_economy_account_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get Economy Account # noqa: E501 - Gets a product listing # noqa: E501 + Gets the economy account of a user # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_product_listing_with_http_info(product_id, async_req=True) + >>> thread = api.get_economy_account_with_http_info(user_id, async_req=True) >>> result = thread.get() - :param product_id: Must be a valid product ID. (required) - :type product_id: str - :param hydrate: Populates some fields and changes types of others for certain objects. - :type hydrate: bool + :param user_id: Must be a valid user ID. (required) + :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -507,14 +631,13 @@ def get_product_listing_with_http_info(self, product_id, **kwargs): # noqa: E50 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(ProductListing, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(EconomyAccount, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'product_id', - 'hydrate' + 'user_id' ] all_params.extend( [ @@ -532,23 +655,621 @@ def get_product_listing_with_http_info(self, product_id, **kwargs): # noqa: E50 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_product_listing" % key + " to method get_economy_account" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_economy_account`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "EconomyAccount", + 401: "Error", + } + + return self.api_client.call_api( + '/user/{userId}/economy/account', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_license_group(self, license_group_id, **kwargs): # noqa: E501 + """Get License Group # noqa: E501 + + Get a single License Group by given ID. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_license_group(license_group_id, async_req=True) + >>> result = thread.get() + + :param license_group_id: Must be a valid license group ID. (required) + :type license_group_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: LicenseGroup + """ + kwargs['_return_http_data_only'] = True + return self.get_license_group_with_http_info(license_group_id, **kwargs) # noqa: E501 + + def get_license_group_with_http_info(self, license_group_id, **kwargs): # noqa: E501 + """Get License Group # noqa: E501 + + Get a single License Group by given ID. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_license_group_with_http_info(license_group_id, async_req=True) + >>> result = thread.get() + + :param license_group_id: Must be a valid license group ID. (required) + :type license_group_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(LicenseGroup, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'license_group_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_license_group" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'license_group_id' is set + if self.api_client.client_side_validation and local_var_params.get('license_group_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `license_group_id` when calling `get_license_group`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'license_group_id' in local_var_params: + path_params['licenseGroupId'] = local_var_params['license_group_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "LicenseGroup", + 401: "Error", + } + + return self.api_client.call_api( + '/licenseGroups/{licenseGroupId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_product_listing(self, product_id, **kwargs): # noqa: E501 + """Get Product Listing # noqa: E501 + + Gets a product listing # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_product_listing(product_id, async_req=True) + >>> result = thread.get() + + :param product_id: Must be a valid product ID. (required) + :type product_id: str + :param hydrate: Populates some fields and changes types of others for certain objects. + :type hydrate: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: ProductListing + """ + kwargs['_return_http_data_only'] = True + return self.get_product_listing_with_http_info(product_id, **kwargs) # noqa: E501 + + def get_product_listing_with_http_info(self, product_id, **kwargs): # noqa: E501 + """Get Product Listing # noqa: E501 + + Gets a product listing # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_product_listing_with_http_info(product_id, async_req=True) + >>> result = thread.get() + + :param product_id: Must be a valid product ID. (required) + :type product_id: str + :param hydrate: Populates some fields and changes types of others for certain objects. + :type hydrate: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(ProductListing, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'product_id', + 'hydrate' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_product_listing" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'product_id' is set + if self.api_client.client_side_validation and local_var_params.get('product_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `product_id` when calling `get_product_listing`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'product_id' in local_var_params: + path_params['productId'] = local_var_params['product_id'] # noqa: E501 + + query_params = [] + if local_var_params.get('hydrate') is not None: # noqa: E501 + query_params.append(('hydrate', local_var_params['hydrate'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "ProductListing", + 401: "Error", + } + + return self.api_client.call_api( + '/listing/{productId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_product_listings(self, user_id, **kwargs): # noqa: E501 + """Get User Product Listings # noqa: E501 + + Gets the product listings of a given user # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_product_listings(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param hydrate: Populates some fields and changes types of others for certain objects. + :type hydrate: bool + :param group_id: Must be a valid group ID. + :type group_id: str + :param active: Filter for users' listings and inventory bundles. + :type active: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[ProductListing] + """ + kwargs['_return_http_data_only'] = True + return self.get_product_listings_with_http_info(user_id, **kwargs) # noqa: E501 + + def get_product_listings_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get User Product Listings # noqa: E501 + + Gets the product listings of a given user # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_product_listings_with_http_info(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param hydrate: Populates some fields and changes types of others for certain objects. + :type hydrate: bool + :param group_id: Must be a valid group ID. + :type group_id: str + :param active: Filter for users' listings and inventory bundles. + :type active: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[ProductListing], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_id', + 'n', + 'offset', + 'hydrate', + 'group_id', + 'active' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_product_listings" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_product_listings`") # noqa: E501 + + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_product_listings`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_product_listings`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_product_listings`, must be a value greater than or equal to `0`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + if local_var_params.get('hydrate') is not None: # noqa: E501 + query_params.append(('hydrate', local_var_params['hydrate'])) # noqa: E501 + if local_var_params.get('group_id') is not None: # noqa: E501 + query_params.append(('groupId', local_var_params['group_id'])) # noqa: E501 + if local_var_params.get('active') is not None: # noqa: E501 + query_params.append(('active', local_var_params['active'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[ProductListing]", + 401: "Error", + } + + return self.api_client.call_api( + '/user/{userId}/listings', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_steam_transaction(self, transaction_id, **kwargs): # noqa: E501 + """Get Steam Transaction # noqa: E501 + + Get a single Steam transactions by ID. This returns the exact same information as `getSteamTransactions`, so no point in using this endpoint. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_steam_transaction(transaction_id, async_req=True) + >>> result = thread.get() + + :param transaction_id: Must be a valid transaction ID. (required) + :type transaction_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Transaction + """ + kwargs['_return_http_data_only'] = True + return self.get_steam_transaction_with_http_info(transaction_id, **kwargs) # noqa: E501 + + def get_steam_transaction_with_http_info(self, transaction_id, **kwargs): # noqa: E501 + """Get Steam Transaction # noqa: E501 + + Get a single Steam transactions by ID. This returns the exact same information as `getSteamTransactions`, so no point in using this endpoint. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_steam_transaction_with_http_info(transaction_id, async_req=True) + >>> result = thread.get() + + :param transaction_id: Must be a valid transaction ID. (required) + :type transaction_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Transaction, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'transaction_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_steam_transaction" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'product_id' is set - if self.api_client.client_side_validation and local_var_params.get('product_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `product_id` when calling `get_product_listing`") # noqa: E501 + # verify the required parameter 'transaction_id' is set + if self.api_client.client_side_validation and local_var_params.get('transaction_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `transaction_id` when calling `get_steam_transaction`") # noqa: E501 collection_formats = {} path_params = {} - if 'product_id' in local_var_params: - path_params['productId'] = local_var_params['product_id'] # noqa: E501 + if 'transaction_id' in local_var_params: + path_params['transactionId'] = local_var_params['transaction_id'] # noqa: E501 query_params = [] - if local_var_params.get('hydrate') is not None: # noqa: E501 - query_params.append(('hydrate', local_var_params['hydrate'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -564,12 +1285,12 @@ def get_product_listing_with_http_info(self, product_id, **kwargs): # noqa: E50 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "ProductListing", + 200: "Transaction", 401: "Error", } return self.api_client.call_api( - '/listing/{productId}', 'GET', + '/Steam/transactions/{transactionId}', 'GET', path_params, query_params, header_params, @@ -585,28 +1306,16 @@ def get_product_listing_with_http_info(self, product_id, **kwargs): # noqa: E50 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_product_listings(self, user_id, **kwargs): # noqa: E501 - """Get User Product Listings # noqa: E501 + def get_steam_transactions(self, **kwargs): # noqa: E501 + """List Steam Transactions # noqa: E501 - Gets the product listings of a given user # noqa: E501 + Get all own Steam transactions. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_product_listings(user_id, async_req=True) + >>> thread = api.get_steam_transactions(async_req=True) >>> result = thread.get() - :param user_id: Must be a valid user ID. (required) - :type user_id: str - :param n: The number of objects to return. - :type n: int - :param offset: A zero-based offset from the default object sorting from where search results start. - :type offset: int - :param hydrate: Populates some fields and changes types of others for certain objects. - :type hydrate: bool - :param group_id: Must be a valid group ID. - :type group_id: str - :param active: Filter for users' listings and inventory bundles. - :type active: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -620,33 +1329,21 @@ def get_product_listings(self, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[ProductListing] + :rtype: list[Transaction] """ kwargs['_return_http_data_only'] = True - return self.get_product_listings_with_http_info(user_id, **kwargs) # noqa: E501 + return self.get_steam_transactions_with_http_info(**kwargs) # noqa: E501 - def get_product_listings_with_http_info(self, user_id, **kwargs): # noqa: E501 - """Get User Product Listings # noqa: E501 + def get_steam_transactions_with_http_info(self, **kwargs): # noqa: E501 + """List Steam Transactions # noqa: E501 - Gets the product listings of a given user # noqa: E501 + Get all own Steam transactions. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_product_listings_with_http_info(user_id, async_req=True) + >>> thread = api.get_steam_transactions_with_http_info(async_req=True) >>> result = thread.get() - :param user_id: Must be a valid user ID. (required) - :type user_id: str - :param n: The number of objects to return. - :type n: int - :param offset: A zero-based offset from the default object sorting from where search results start. - :type offset: int - :param hydrate: Populates some fields and changes types of others for certain objects. - :type hydrate: bool - :param group_id: Must be a valid group ID. - :type group_id: str - :param active: Filter for users' listings and inventory bundles. - :type active: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -668,18 +1365,12 @@ def get_product_listings_with_http_info(self, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[ProductListing], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(list[Transaction], status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'user_id', - 'n', - 'offset', - 'hydrate', - 'group_id', - 'active' ] all_params.extend( [ @@ -697,37 +1388,16 @@ def get_product_listings_with_http_info(self, user_id, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_product_listings" % key + " to method get_steam_transactions" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `user_id` when calling `get_product_listings`") # noqa: E501 - if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 - raise ApiValueError("Invalid value for parameter `n` when calling `get_product_listings`, must be a value less than or equal to `100`") # noqa: E501 - if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 - raise ApiValueError("Invalid value for parameter `n` when calling `get_product_listings`, must be a value greater than or equal to `1`") # noqa: E501 - if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 - raise ApiValueError("Invalid value for parameter `offset` when calling `get_product_listings`, must be a value greater than or equal to `0`") # noqa: E501 collection_formats = {} path_params = {} - if 'user_id' in local_var_params: - path_params['userId'] = local_var_params['user_id'] # noqa: E501 query_params = [] - if local_var_params.get('n') is not None: # noqa: E501 - query_params.append(('n', local_var_params['n'])) # noqa: E501 - if local_var_params.get('offset') is not None: # noqa: E501 - query_params.append(('offset', local_var_params['offset'])) # noqa: E501 - if local_var_params.get('hydrate') is not None: # noqa: E501 - query_params.append(('hydrate', local_var_params['hydrate'])) # noqa: E501 - if local_var_params.get('group_id') is not None: # noqa: E501 - query_params.append(('groupId', local_var_params['group_id'])) # noqa: E501 - if local_var_params.get('active') is not None: # noqa: E501 - query_params.append(('active', local_var_params['active'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -743,12 +1413,12 @@ def get_product_listings_with_http_info(self, user_id, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "list[ProductListing]", + 200: "list[Transaction]", 401: "Error", } return self.api_client.call_api( - '/user/{userId}/listings', 'GET', + '/Steam/transactions', 'GET', path_params, query_params, header_params, @@ -764,18 +1434,22 @@ def get_product_listings_with_http_info(self, user_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_steam_transaction(self, transaction_id, **kwargs): # noqa: E501 - """Get Steam Transaction # noqa: E501 + def get_store(self, store_id, **kwargs): # noqa: E501 + """Get Store # noqa: E501 - Get a single Steam transactions by ID. This returns the exact same information as `getSteamTransactions`, so no point in using this endpoint. # noqa: E501 + Gets a store # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_steam_transaction(transaction_id, async_req=True) + >>> thread = api.get_store(store_id, async_req=True) >>> result = thread.get() - :param transaction_id: Must be a valid transaction ID. (required) - :type transaction_id: str + :param store_id: (required) + :type store_id: str + :param hydrate_listings: Listings fields will be populated. + :type hydrate_listings: bool + :param hydrate_products: Products fields will be populated. + :type hydrate_products: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -789,23 +1463,27 @@ def get_steam_transaction(self, transaction_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: Transaction + :rtype: Store """ kwargs['_return_http_data_only'] = True - return self.get_steam_transaction_with_http_info(transaction_id, **kwargs) # noqa: E501 + return self.get_store_with_http_info(store_id, **kwargs) # noqa: E501 - def get_steam_transaction_with_http_info(self, transaction_id, **kwargs): # noqa: E501 - """Get Steam Transaction # noqa: E501 + def get_store_with_http_info(self, store_id, **kwargs): # noqa: E501 + """Get Store # noqa: E501 - Get a single Steam transactions by ID. This returns the exact same information as `getSteamTransactions`, so no point in using this endpoint. # noqa: E501 + Gets a store # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_steam_transaction_with_http_info(transaction_id, async_req=True) + >>> thread = api.get_store_with_http_info(store_id, async_req=True) >>> result = thread.get() - :param transaction_id: Must be a valid transaction ID. (required) - :type transaction_id: str + :param store_id: (required) + :type store_id: str + :param hydrate_listings: Listings fields will be populated. + :type hydrate_listings: bool + :param hydrate_products: Products fields will be populated. + :type hydrate_products: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -827,13 +1505,15 @@ def get_steam_transaction_with_http_info(self, transaction_id, **kwargs): # noq :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(Transaction, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(Store, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'transaction_id' + 'store_id', + 'hydrate_listings', + 'hydrate_products' ] all_params.extend( [ @@ -851,21 +1531,25 @@ def get_steam_transaction_with_http_info(self, transaction_id, **kwargs): # noq if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_steam_transaction" % key + " to method get_store" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'transaction_id' is set - if self.api_client.client_side_validation and local_var_params.get('transaction_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `transaction_id` when calling `get_steam_transaction`") # noqa: E501 + # verify the required parameter 'store_id' is set + if self.api_client.client_side_validation and local_var_params.get('store_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `store_id` when calling `get_store`") # noqa: E501 collection_formats = {} path_params = {} - if 'transaction_id' in local_var_params: - path_params['transactionId'] = local_var_params['transaction_id'] # noqa: E501 query_params = [] + if local_var_params.get('store_id') is not None: # noqa: E501 + query_params.append(('storeId', local_var_params['store_id'])) # noqa: E501 + if local_var_params.get('hydrate_listings') is not None: # noqa: E501 + query_params.append(('hydrateListings', local_var_params['hydrate_listings'])) # noqa: E501 + if local_var_params.get('hydrate_products') is not None: # noqa: E501 + query_params.append(('hydrateProducts', local_var_params['hydrate_products'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -881,12 +1565,12 @@ def get_steam_transaction_with_http_info(self, transaction_id, **kwargs): # noq auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "Transaction", + 200: "Store", 401: "Error", } return self.api_client.call_api( - '/Steam/transactions/{transactionId}', 'GET', + '/economy/store', 'GET', path_params, query_params, header_params, @@ -902,16 +1586,22 @@ def get_steam_transaction_with_http_info(self, transaction_id, **kwargs): # noq collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_steam_transactions(self, **kwargs): # noqa: E501 - """List Steam Transactions # noqa: E501 + def get_store_shelves(self, store_id, **kwargs): # noqa: E501 + """Get Store Shelves # noqa: E501 - Get all own Steam transactions. # noqa: E501 + Gets the shelves for a store # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_steam_transactions(async_req=True) + >>> thread = api.get_store_shelves(store_id, async_req=True) >>> result = thread.get() + :param store_id: (required) + :type store_id: str + :param hydrate_listings: Listings fields will be populated. + :type hydrate_listings: bool + :param fetch: + :type fetch: StoreView :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -925,21 +1615,27 @@ def get_steam_transactions(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[Transaction] + :rtype: list[StoreShelf] """ kwargs['_return_http_data_only'] = True - return self.get_steam_transactions_with_http_info(**kwargs) # noqa: E501 + return self.get_store_shelves_with_http_info(store_id, **kwargs) # noqa: E501 - def get_steam_transactions_with_http_info(self, **kwargs): # noqa: E501 - """List Steam Transactions # noqa: E501 + def get_store_shelves_with_http_info(self, store_id, **kwargs): # noqa: E501 + """Get Store Shelves # noqa: E501 - Get all own Steam transactions. # noqa: E501 + Gets the shelves for a store # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_steam_transactions_with_http_info(async_req=True) + >>> thread = api.get_store_shelves_with_http_info(store_id, async_req=True) >>> result = thread.get() + :param store_id: (required) + :type store_id: str + :param hydrate_listings: Listings fields will be populated. + :type hydrate_listings: bool + :param fetch: + :type fetch: StoreView :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -961,12 +1657,15 @@ def get_steam_transactions_with_http_info(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[Transaction], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(list[StoreShelf], status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ + 'store_id', + 'hydrate_listings', + 'fetch' ] all_params.extend( [ @@ -984,16 +1683,25 @@ def get_steam_transactions_with_http_info(self, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_steam_transactions" % key + " to method get_store_shelves" % key ) local_var_params[key] = val del local_var_params['kwargs'] + # verify the required parameter 'store_id' is set + if self.api_client.client_side_validation and local_var_params.get('store_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `store_id` when calling `get_store_shelves`") # noqa: E501 collection_formats = {} path_params = {} query_params = [] + if local_var_params.get('store_id') is not None: # noqa: E501 + query_params.append(('storeId', local_var_params['store_id'])) # noqa: E501 + if local_var_params.get('hydrate_listings') is not None: # noqa: E501 + query_params.append(('hydrateListings', local_var_params['hydrate_listings'])) # noqa: E501 + if local_var_params.get('fetch') is not None: # noqa: E501 + query_params.append(('fetch', local_var_params['fetch'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -1009,12 +1717,12 @@ def get_steam_transactions_with_http_info(self, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "list[Transaction]", + 200: "list[StoreShelf]", 401: "Error", } return self.api_client.call_api( - '/Steam/transactions', 'GET', + '/economy/store/shelves', 'GET', path_params, query_params, header_params, @@ -1551,3 +2259,148 @@ def get_token_bundles_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + + def get_user_subscription_eligible(self, user_id, **kwargs): # noqa: E501 + """Get User Subscription Eligiblity # noqa: E501 + + Get the user's eligibility status for subscriptions. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_user_subscription_eligible(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param steam_id: The Steam ID of the user. + :type steam_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: UserSubscriptionEligible + """ + kwargs['_return_http_data_only'] = True + return self.get_user_subscription_eligible_with_http_info(user_id, **kwargs) # noqa: E501 + + def get_user_subscription_eligible_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get User Subscription Eligiblity # noqa: E501 + + Get the user's eligibility status for subscriptions. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_user_subscription_eligible_with_http_info(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param steam_id: The Steam ID of the user. + :type steam_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(UserSubscriptionEligible, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_id', + 'steam_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_user_subscription_eligible" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_user_subscription_eligible`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + if local_var_params.get('steam_id') is not None: # noqa: E501 + query_params.append(('steamId', local_var_params['steam_id'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "UserSubscriptionEligible", + 401: "Error", + } + + return self.api_client.call_api( + '/users/{userId}/subscription/eligible', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index 666e4e79..f0ee91a6 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index 6a825f28..16f443d1 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index 692c0147..93b83aa3 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index 6db8ab85..bc2ce842 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index e36b57e3..1acaa344 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -633,6 +633,154 @@ def get_instance_by_short_name_with_http_info(self, short_name, **kwargs): # no collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def get_recent_locations(self, **kwargs): # noqa: E501 + """List Recent Locations # noqa: E501 + + Returns a list of recently visited locations. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_recent_locations(async_req=True) + >>> result = thread.get() + + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[str] + """ + kwargs['_return_http_data_only'] = True + return self.get_recent_locations_with_http_info(**kwargs) # noqa: E501 + + def get_recent_locations_with_http_info(self, **kwargs): # noqa: E501 + """List Recent Locations # noqa: E501 + + Returns a list of recently visited locations. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_recent_locations_with_http_info(async_req=True) + >>> result = thread.get() + + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[str], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'n', + 'offset' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_recent_locations" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_recent_locations`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_recent_locations`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_recent_locations`, must be a value greater than or equal to `0`") # noqa: E501 + collection_formats = {} + + path_params = {} + + query_params = [] + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[str]", + 401: "Error", + } + + return self.api_client.call_api( + '/instances/recent', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def get_short_name(self, world_id, instance_id, **kwargs): # noqa: E501 """Get Instance Short Name # noqa: E501 diff --git a/vrchatapi/api/inventory_api.py b/vrchatapi/api/inventory_api.py index a671e744..33f2949a 100644 --- a/vrchatapi/api/inventory_api.py +++ b/vrchatapi/api/inventory_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -50,10 +50,20 @@ def get_inventory(self, **kwargs): # noqa: E501 :type n: int :param offset: A zero-based offset from the default object sorting from where search results start. :type offset: int - :param inventory_sort_order: Sort order for inventory retrieval. - :type inventory_sort_order: str - :param inventory_item_type: Filter for inventory retrieval. - :type inventory_item_type: InventoryItemType + :param order: Sort order for inventory retrieval. + :type order: str + :param tags: Filter tags for inventory retrieval (comma-separated). + :type tags: str + :param types: Filter for inventory retrieval. + :type types: InventoryItemType + :param flags: Filter flags for inventory retrieval (comma-separated). + :type flags: InventoryFlag + :param not_types: Filter out types for inventory retrieval (comma-separated). + :type not_types: InventoryItemType + :param not_flags: Filter out flags for inventory retrieval (comma-separated). + :type not_flags: InventoryFlag + :param archived: Filter archived status for inventory retrieval. + :type archived: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -86,10 +96,20 @@ def get_inventory_with_http_info(self, **kwargs): # noqa: E501 :type n: int :param offset: A zero-based offset from the default object sorting from where search results start. :type offset: int - :param inventory_sort_order: Sort order for inventory retrieval. - :type inventory_sort_order: str - :param inventory_item_type: Filter for inventory retrieval. - :type inventory_item_type: InventoryItemType + :param order: Sort order for inventory retrieval. + :type order: str + :param tags: Filter tags for inventory retrieval (comma-separated). + :type tags: str + :param types: Filter for inventory retrieval. + :type types: InventoryItemType + :param flags: Filter flags for inventory retrieval (comma-separated). + :type flags: InventoryFlag + :param not_types: Filter out types for inventory retrieval (comma-separated). + :type not_types: InventoryItemType + :param not_flags: Filter out flags for inventory retrieval (comma-separated). + :type not_flags: InventoryFlag + :param archived: Filter archived status for inventory retrieval. + :type archived: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -119,8 +139,13 @@ def get_inventory_with_http_info(self, **kwargs): # noqa: E501 all_params = [ 'n', 'offset', - 'inventory_sort_order', - 'inventory_item_type' + 'order', + 'tags', + 'types', + 'flags', + 'not_types', + 'not_flags', + 'archived' ] all_params.extend( [ @@ -149,6 +174,9 @@ def get_inventory_with_http_info(self, **kwargs): # noqa: E501 raise ApiValueError("Invalid value for parameter `n` when calling `get_inventory`, must be a value greater than or equal to `1`") # noqa: E501 if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 raise ApiValueError("Invalid value for parameter `offset` when calling `get_inventory`, must be a value greater than or equal to `0`") # noqa: E501 + if self.api_client.client_side_validation and ('tags' in local_var_params and # noqa: E501 + len(local_var_params['tags']) < 1): # noqa: E501 + raise ApiValueError("Invalid value for parameter `tags` when calling `get_inventory`, length must be greater than or equal to `1`") # noqa: E501 collection_formats = {} path_params = {} @@ -158,10 +186,20 @@ def get_inventory_with_http_info(self, **kwargs): # noqa: E501 query_params.append(('n', local_var_params['n'])) # noqa: E501 if local_var_params.get('offset') is not None: # noqa: E501 query_params.append(('offset', local_var_params['offset'])) # noqa: E501 - if local_var_params.get('inventory_sort_order') is not None: # noqa: E501 - query_params.append(('inventorySortOrder', local_var_params['inventory_sort_order'])) # noqa: E501 - if local_var_params.get('inventory_item_type') is not None: # noqa: E501 - query_params.append(('inventoryItemType', local_var_params['inventory_item_type'])) # noqa: E501 + if local_var_params.get('order') is not None: # noqa: E501 + query_params.append(('order', local_var_params['order'])) # noqa: E501 + if local_var_params.get('tags') is not None: # noqa: E501 + query_params.append(('tags', local_var_params['tags'])) # noqa: E501 + if local_var_params.get('types') is not None: # noqa: E501 + query_params.append(('types', local_var_params['types'])) # noqa: E501 + if local_var_params.get('flags') is not None: # noqa: E501 + query_params.append(('flags', local_var_params['flags'])) # noqa: E501 + if local_var_params.get('not_types') is not None: # noqa: E501 + query_params.append(('notTypes', local_var_params['not_types'])) # noqa: E501 + if local_var_params.get('not_flags') is not None: # noqa: E501 + query_params.append(('notFlags', local_var_params['not_flags'])) # noqa: E501 + if local_var_params.get('archived') is not None: # noqa: E501 + query_params.append(('archived', local_var_params['archived'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -609,6 +647,328 @@ def get_own_inventory_item_with_http_info(self, inventory_item_id, **kwargs): # collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def share_inventory_item_direct(self, item_id, duration, share_inventory_item_direct_request, **kwargs): # noqa: E501 + """Share Inventory Item Direct # noqa: E501 + + Share content directly with other users. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.share_inventory_item_direct(item_id, duration, share_inventory_item_direct_request, async_req=True) + >>> result = thread.get() + + :param item_id: Id for inventory item sharing. (required) + :type item_id: str + :param duration: The duration before the sharing pedestal despawns. (required) + :type duration: int + :param share_inventory_item_direct_request: (required) + :type share_inventory_item_direct_request: ShareInventoryItemDirectRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: OkStatus + """ + kwargs['_return_http_data_only'] = True + return self.share_inventory_item_direct_with_http_info(item_id, duration, share_inventory_item_direct_request, **kwargs) # noqa: E501 + + def share_inventory_item_direct_with_http_info(self, item_id, duration, share_inventory_item_direct_request, **kwargs): # noqa: E501 + """Share Inventory Item Direct # noqa: E501 + + Share content directly with other users. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.share_inventory_item_direct_with_http_info(item_id, duration, share_inventory_item_direct_request, async_req=True) + >>> result = thread.get() + + :param item_id: Id for inventory item sharing. (required) + :type item_id: str + :param duration: The duration before the sharing pedestal despawns. (required) + :type duration: int + :param share_inventory_item_direct_request: (required) + :type share_inventory_item_direct_request: ShareInventoryItemDirectRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(OkStatus, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'item_id', + 'duration', + 'share_inventory_item_direct_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method share_inventory_item_direct" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'item_id' is set + if self.api_client.client_side_validation and local_var_params.get('item_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `item_id` when calling `share_inventory_item_direct`") # noqa: E501 + # verify the required parameter 'duration' is set + if self.api_client.client_side_validation and local_var_params.get('duration') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `duration` when calling `share_inventory_item_direct`") # noqa: E501 + # verify the required parameter 'share_inventory_item_direct_request' is set + if self.api_client.client_side_validation and local_var_params.get('share_inventory_item_direct_request') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `share_inventory_item_direct_request` when calling `share_inventory_item_direct`") # noqa: E501 + + if self.api_client.client_side_validation and 'duration' in local_var_params and local_var_params['duration'] > 86400: # noqa: E501 + raise ApiValueError("Invalid value for parameter `duration` when calling `share_inventory_item_direct`, must be a value less than or equal to `86400`") # noqa: E501 + if self.api_client.client_side_validation and 'duration' in local_var_params and local_var_params['duration'] < 30: # noqa: E501 + raise ApiValueError("Invalid value for parameter `duration` when calling `share_inventory_item_direct`, must be a value greater than or equal to `30`") # noqa: E501 + collection_formats = {} + + path_params = {} + + query_params = [] + if local_var_params.get('item_id') is not None: # noqa: E501 + query_params.append(('itemId', local_var_params['item_id'])) # noqa: E501 + if local_var_params.get('duration') is not None: # noqa: E501 + query_params.append(('duration', local_var_params['duration'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'share_inventory_item_direct_request' in local_var_params: + body_params = local_var_params['share_inventory_item_direct_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "OkStatus", + 401: "Error", + } + + return self.api_client.call_api( + '/inventory/cloning/direct', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def share_inventory_item_pedestal(self, item_id, duration, **kwargs): # noqa: E501 + """Share Inventory Item by Pedestal # noqa: E501 + + Returns an InventorySpawn object. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.share_inventory_item_pedestal(item_id, duration, async_req=True) + >>> result = thread.get() + + :param item_id: Id for inventory item sharing. (required) + :type item_id: str + :param duration: The duration before the sharing pedestal despawns. (required) + :type duration: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: InventorySpawn + """ + kwargs['_return_http_data_only'] = True + return self.share_inventory_item_pedestal_with_http_info(item_id, duration, **kwargs) # noqa: E501 + + def share_inventory_item_pedestal_with_http_info(self, item_id, duration, **kwargs): # noqa: E501 + """Share Inventory Item by Pedestal # noqa: E501 + + Returns an InventorySpawn object. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.share_inventory_item_pedestal_with_http_info(item_id, duration, async_req=True) + >>> result = thread.get() + + :param item_id: Id for inventory item sharing. (required) + :type item_id: str + :param duration: The duration before the sharing pedestal despawns. (required) + :type duration: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(InventorySpawn, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'item_id', + 'duration' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method share_inventory_item_pedestal" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'item_id' is set + if self.api_client.client_side_validation and local_var_params.get('item_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `item_id` when calling `share_inventory_item_pedestal`") # noqa: E501 + # verify the required parameter 'duration' is set + if self.api_client.client_side_validation and local_var_params.get('duration') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `duration` when calling `share_inventory_item_pedestal`") # noqa: E501 + + if self.api_client.client_side_validation and 'duration' in local_var_params and local_var_params['duration'] > 86400: # noqa: E501 + raise ApiValueError("Invalid value for parameter `duration` when calling `share_inventory_item_pedestal`, must be a value less than or equal to `86400`") # noqa: E501 + if self.api_client.client_side_validation and 'duration' in local_var_params and local_var_params['duration'] < 30: # noqa: E501 + raise ApiValueError("Invalid value for parameter `duration` when calling `share_inventory_item_pedestal`, must be a value greater than or equal to `30`") # noqa: E501 + collection_formats = {} + + path_params = {} + + query_params = [] + if local_var_params.get('item_id') is not None: # noqa: E501 + query_params.append(('itemId', local_var_params['item_id'])) # noqa: E501 + if local_var_params.get('duration') is not None: # noqa: E501 + query_params.append(('duration', local_var_params['duration'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "InventorySpawn", + 401: "Error", + } + + return self.api_client.call_api( + '/inventory/cloning/pedestal', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def spawn_inventory_item(self, id, **kwargs): # noqa: E501 """Spawn Inventory Item # noqa: E501 @@ -746,3 +1106,156 @@ def spawn_inventory_item_with_http_info(self, id, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + + def update_own_inventory_item(self, inventory_item_id, **kwargs): # noqa: E501 + """Update Own Inventory Item # noqa: E501 + + Returns the modified InventoryItem object as held by the currently logged in user. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_own_inventory_item(inventory_item_id, async_req=True) + >>> result = thread.get() + + :param inventory_item_id: Must be a valid inventory item ID. (required) + :type inventory_item_id: str + :param update_inventory_item_request: + :type update_inventory_item_request: UpdateInventoryItemRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: InventoryItem + """ + kwargs['_return_http_data_only'] = True + return self.update_own_inventory_item_with_http_info(inventory_item_id, **kwargs) # noqa: E501 + + def update_own_inventory_item_with_http_info(self, inventory_item_id, **kwargs): # noqa: E501 + """Update Own Inventory Item # noqa: E501 + + Returns the modified InventoryItem object as held by the currently logged in user. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_own_inventory_item_with_http_info(inventory_item_id, async_req=True) + >>> result = thread.get() + + :param inventory_item_id: Must be a valid inventory item ID. (required) + :type inventory_item_id: str + :param update_inventory_item_request: + :type update_inventory_item_request: UpdateInventoryItemRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(InventoryItem, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'inventory_item_id', + 'update_inventory_item_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method update_own_inventory_item" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'inventory_item_id' is set + if self.api_client.client_side_validation and local_var_params.get('inventory_item_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `inventory_item_id` when calling `update_own_inventory_item`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'inventory_item_id' in local_var_params: + path_params['inventoryItemId'] = local_var_params['inventory_item_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'update_inventory_item_request' in local_var_params: + body_params = local_var_params['update_inventory_item_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'PUT', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "InventoryItem", + 401: "Error", + } + + return self.api_client.call_api( + '/inventory/{inventoryItemId}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index e1f3d7a4..0e466f57 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/jams_api.py b/vrchatapi/api/jams_api.py index 0aa9ad42..f65cf5ed 100644 --- a/vrchatapi/api/jams_api.py +++ b/vrchatapi/api/jams_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/miscellaneous_api.py b/vrchatapi/api/miscellaneous_api.py index 91588768..a8985060 100644 --- a/vrchatapi/api/miscellaneous_api.py +++ b/vrchatapi/api/miscellaneous_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index e59f2ff9..fc01848f 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index a8e9d6f8..af7d83a1 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/prints_api.py b/vrchatapi/api/prints_api.py index f114d78b..32a8b5e0 100644 --- a/vrchatapi/api/prints_api.py +++ b/vrchatapi/api/prints_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/props_api.py b/vrchatapi/api/props_api.py index 1d4a0c0a..9076dc8d 100644 --- a/vrchatapi/api/props_api.py +++ b/vrchatapi/api/props_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index 2fcdffbb..6482d5eb 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 4c8c0e79..4afb5f54 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index d8d57691..ebf2a94d 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,7 +3,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index 6f390f4b..c0481ac4 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -441,7 +441,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.20.3\n"\ + "Version of the API: 1.20.4\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index 92b54def..f5e37caf 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index 02cbe062..b90a8c8b 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,7 +5,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -74,6 +74,7 @@ from vrchatapi.models.developer_type import DeveloperType from vrchatapi.models.disable2_fa_result import Disable2FAResult from vrchatapi.models.dynamic_content_row import DynamicContentRow +from vrchatapi.models.economy_account import EconomyAccount from vrchatapi.models.error import Error from vrchatapi.models.favorite import Favorite from vrchatapi.models.favorite_group import FavoriteGroup @@ -134,6 +135,7 @@ from vrchatapi.models.instance_type import InstanceType from vrchatapi.models.inventory import Inventory from vrchatapi.models.inventory_drop import InventoryDrop +from vrchatapi.models.inventory_flag import InventoryFlag from vrchatapi.models.inventory_item import InventoryItem from vrchatapi.models.inventory_item_type import InventoryItemType from vrchatapi.models.inventory_metadata import InventoryMetadata @@ -167,6 +169,7 @@ from vrchatapi.models.notification_detail_request_invite_response import NotificationDetailRequestInviteResponse from vrchatapi.models.notification_detail_vote_to_kick import NotificationDetailVoteToKick from vrchatapi.models.notification_type import NotificationType +from vrchatapi.models.ok_status import OkStatus from vrchatapi.models.order_option import OrderOption from vrchatapi.models.paginated_calendar_event_list import PaginatedCalendarEventList from vrchatapi.models.paginated_group_audit_log_entry_list import PaginatedGroupAuditLogEntryList @@ -198,7 +201,12 @@ from vrchatapi.models.sent_notification import SentNotification from vrchatapi.models.service_queue_stats import ServiceQueueStats from vrchatapi.models.service_status import ServiceStatus +from vrchatapi.models.share_inventory_item_direct_request import ShareInventoryItemDirectRequest from vrchatapi.models.sort_option import SortOption +from vrchatapi.models.store import Store +from vrchatapi.models.store_shelf import StoreShelf +from vrchatapi.models.store_type import StoreType +from vrchatapi.models.store_view import StoreView from vrchatapi.models.submission import Submission from vrchatapi.models.subscription import Subscription from vrchatapi.models.subscription_period import SubscriptionPeriod @@ -224,6 +232,7 @@ from vrchatapi.models.update_group_representation_request import UpdateGroupRepresentationRequest from vrchatapi.models.update_group_request import UpdateGroupRequest from vrchatapi.models.update_group_role_request import UpdateGroupRoleRequest +from vrchatapi.models.update_inventory_item_request import UpdateInventoryItemRequest from vrchatapi.models.update_invite_message_request import UpdateInviteMessageRequest from vrchatapi.models.update_user_badge_request import UpdateUserBadgeRequest from vrchatapi.models.update_user_note_request import UpdateUserNoteRequest @@ -236,6 +245,7 @@ from vrchatapi.models.user_state import UserState from vrchatapi.models.user_status import UserStatus from vrchatapi.models.user_subscription import UserSubscription +from vrchatapi.models.user_subscription_eligible import UserSubscriptionEligible from vrchatapi.models.verify2_fa_email_code_result import Verify2FAEmailCodeResult from vrchatapi.models.verify2_fa_result import Verify2FAResult from vrchatapi.models.verify_auth_token_result import VerifyAuthTokenResult diff --git a/vrchatapi/models/account_deletion_log.py b/vrchatapi/models/account_deletion_log.py index 036fde66..fe12211a 100644 --- a/vrchatapi/models/account_deletion_log.py +++ b/vrchatapi/models/account_deletion_log.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index 9d898ed1..049683ad 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index f43d4686..82b6084b 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/admin_asset_bundle.py b/vrchatapi/models/admin_asset_bundle.py index f8ca1092..d440825e 100644 --- a/vrchatapi/models/admin_asset_bundle.py +++ b/vrchatapi/models/admin_asset_bundle.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/admin_unity_package.py b/vrchatapi/models/admin_unity_package.py index 8866faa0..05cd033f 100644 --- a/vrchatapi/models/admin_unity_package.py +++ b/vrchatapi/models/admin_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/age_verification_status.py b/vrchatapi/models/age_verification_status.py index 8506bc8b..a6388d32 100644 --- a/vrchatapi/models/age_verification_status.py +++ b/vrchatapi/models/age_verification_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index a9a01b47..ed7de893 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_access_logs_urls.py b/vrchatapi/models/api_config_access_logs_urls.py index 5b29d072..14dea11c 100644 --- a/vrchatapi/models/api_config_access_logs_urls.py +++ b/vrchatapi/models/api_config_access_logs_urls.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index 826de922..2c71c2a5 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_avatar_perf_limiter.py b/vrchatapi/models/api_config_avatar_perf_limiter.py index 3ae419df..b78c89f3 100644 --- a/vrchatapi/models/api_config_avatar_perf_limiter.py +++ b/vrchatapi/models/api_config_avatar_perf_limiter.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants.py b/vrchatapi/models/api_config_constants.py index a08a1ebd..dbf311ad 100644 --- a/vrchatapi/models/api_config_constants.py +++ b/vrchatapi/models/api_config_constants.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_groups.py b/vrchatapi/models/api_config_constants_groups.py index 9e7ca085..8596bce7 100644 --- a/vrchatapi/models/api_config_constants_groups.py +++ b/vrchatapi/models/api_config_constants_groups.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instance.py b/vrchatapi/models/api_config_constants_instance.py index c71552f7..32079a20 100644 --- a/vrchatapi/models/api_config_constants_instance.py +++ b/vrchatapi/models/api_config_constants_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbrackets.py b/vrchatapi/models/api_config_constants_instancepopulationbrackets.py index 58d66448..3d5480ed 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbrackets.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbrackets.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py b/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py index 0a9da5cb..b21e3ea2 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py b/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py index f99ce62e..96409315 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py b/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py index b2dd761d..5f8149a5 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_language.py b/vrchatapi/models/api_config_constants_language.py index 176326d0..df6e0a4a 100644 --- a/vrchatapi/models/api_config_constants_language.py +++ b/vrchatapi/models/api_config_constants_language.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index 31c54bd9..1330f6f9 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index 27b52413..69f5164c 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_min_supported_client_build_number.py b/vrchatapi/models/api_config_min_supported_client_build_number.py index 01c55d35..e7bb8cde 100644 --- a/vrchatapi/models/api_config_min_supported_client_build_number.py +++ b/vrchatapi/models/api_config_min_supported_client_build_number.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_offline_analysis.py b/vrchatapi/models/api_config_offline_analysis.py index ca32b078..1a853434 100644 --- a/vrchatapi/models/api_config_offline_analysis.py +++ b/vrchatapi/models/api_config_offline_analysis.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_categories.py b/vrchatapi/models/api_config_report_categories.py index dd36ca52..67faeafc 100644 --- a/vrchatapi/models/api_config_report_categories.py +++ b/vrchatapi/models/api_config_report_categories.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options.py b/vrchatapi/models/api_config_report_options.py index dd1b1624..d2aa0c01 100644 --- a/vrchatapi/models/api_config_report_options.py +++ b/vrchatapi/models/api_config_report_options.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options_avatar.py b/vrchatapi/models/api_config_report_options_avatar.py index 550e72ce..d935600a 100644 --- a/vrchatapi/models/api_config_report_options_avatar.py +++ b/vrchatapi/models/api_config_report_options_avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options_group.py b/vrchatapi/models/api_config_report_options_group.py index fcbb6bca..69f2f185 100644 --- a/vrchatapi/models/api_config_report_options_group.py +++ b/vrchatapi/models/api_config_report_options_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options_user.py b/vrchatapi/models/api_config_report_options_user.py index f20d8125..cb106883 100644 --- a/vrchatapi/models/api_config_report_options_user.py +++ b/vrchatapi/models/api_config_report_options_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options_world.py b/vrchatapi/models/api_config_report_options_world.py index 75a15e39..50ba5760 100644 --- a/vrchatapi/models/api_config_report_options_world.py +++ b/vrchatapi/models/api_config_report_options_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_reasons.py b/vrchatapi/models/api_config_report_reasons.py index 508c3712..9a608eb3 100644 --- a/vrchatapi/models/api_config_report_reasons.py +++ b/vrchatapi/models/api_config_report_reasons.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index 3e8fc5a2..fe474594 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index 06ef7ee7..b2e2fd8c 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_performance.py b/vrchatapi/models/avatar_performance.py index 75572823..6b8806d6 100644 --- a/vrchatapi/models/avatar_performance.py +++ b/vrchatapi/models/avatar_performance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_published_listings_inner.py b/vrchatapi/models/avatar_published_listings_inner.py index 7a5c7736..098a8e9e 100644 --- a/vrchatapi/models/avatar_published_listings_inner.py +++ b/vrchatapi/models/avatar_published_listings_inner.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_style.py b/vrchatapi/models/avatar_style.py index 4c8711a8..dedbf15a 100644 --- a/vrchatapi/models/avatar_style.py +++ b/vrchatapi/models/avatar_style.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_styles.py b/vrchatapi/models/avatar_styles.py index 46b09a91..f5a2258c 100644 --- a/vrchatapi/models/avatar_styles.py +++ b/vrchatapi/models/avatar_styles.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index 2d1509e7..8720fa34 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/badge.py b/vrchatapi/models/badge.py index 6b6572ca..9b377cdc 100644 --- a/vrchatapi/models/badge.py +++ b/vrchatapi/models/badge.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/balance.py b/vrchatapi/models/balance.py index ea1627fd..f0d2e18a 100644 --- a/vrchatapi/models/balance.py +++ b/vrchatapi/models/balance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index db8e35c4..60db3176 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/calendar_event.py b/vrchatapi/models/calendar_event.py index 1a343638..229c0901 100644 --- a/vrchatapi/models/calendar_event.py +++ b/vrchatapi/models/calendar_event.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -132,7 +132,8 @@ def __init__(self, access_type=None, category=None, close_instance_after_end_min self.category = category if close_instance_after_end_minutes is not None: self.close_instance_after_end_minutes = close_instance_after_end_minutes - self.created_at = created_at + if created_at is not None: + self.created_at = created_at self.deleted_at = deleted_at if description is not None: self.description = description @@ -256,8 +257,6 @@ def created_at(self, created_at): :param created_at: The created_at of this CalendarEvent. # noqa: E501 :type created_at: datetime """ - if self.local_vars_configuration.client_side_validation and created_at is None: # noqa: E501 - raise ValueError("Invalid value for `created_at`, must not be `None`") # noqa: E501 self._created_at = created_at diff --git a/vrchatapi/models/calendar_event_user_interest.py b/vrchatapi/models/calendar_event_user_interest.py index 3c06bdce..98a682e6 100644 --- a/vrchatapi/models/calendar_event_user_interest.py +++ b/vrchatapi/models/calendar_event_user_interest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/change_user_tags_request.py b/vrchatapi/models/change_user_tags_request.py index c937ea56..81736a1b 100644 --- a/vrchatapi/models/change_user_tags_request.py +++ b/vrchatapi/models/change_user_tags_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index 0b278b62..dfd3c629 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_calendar_event_request.py b/vrchatapi/models/create_calendar_event_request.py index 5a1d96fc..812597ed 100644 --- a/vrchatapi/models/create_calendar_event_request.py +++ b/vrchatapi/models/create_calendar_event_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index 70eab30b..b02be8c1 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index 0c3474c4..b495b85d 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index 8cf39ab4..54a6b727 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index d3f940c9..16b49bdc 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index 9340b13b..d5dbe8ae 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_post_request.py b/vrchatapi/models/create_group_post_request.py index 2a07a84e..cc79c11e 100644 --- a/vrchatapi/models/create_group_post_request.py +++ b/vrchatapi/models/create_group_post_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index af0a885b..9d5dd7e8 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index 1fe7b70d..c5d19d34 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_instance_request.py b/vrchatapi/models/create_instance_request.py index da7d1477..d9c62386 100644 --- a/vrchatapi/models/create_instance_request.py +++ b/vrchatapi/models/create_instance_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index fcbd6a6e..561753ba 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index 9d8e9c6f..ad144bcb 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user_platform_history_inner.py b/vrchatapi/models/current_user_platform_history_inner.py index 684df286..70d90053 100644 --- a/vrchatapi/models/current_user_platform_history_inner.py +++ b/vrchatapi/models/current_user_platform_history_inner.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user_presence.py b/vrchatapi/models/current_user_presence.py index 5015e8f3..47d86ad9 100644 --- a/vrchatapi/models/current_user_presence.py +++ b/vrchatapi/models/current_user_presence.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -405,7 +405,7 @@ def traveling_to_instance(self, traveling_to_instance): def traveling_to_world(self): """Gets the traveling_to_world of this CurrentUserPresence. # noqa: E501 - WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + Represents a unique location, consisting of a world identifier and an instance identifier, or \"offline\" if the user is not on your friends list. # noqa: E501 :return: The traveling_to_world of this CurrentUserPresence. # noqa: E501 :rtype: str @@ -416,7 +416,7 @@ def traveling_to_world(self): def traveling_to_world(self, traveling_to_world): """Sets the traveling_to_world of this CurrentUserPresence. - WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + Represents a unique location, consisting of a world identifier and an instance identifier, or \"offline\" if the user is not on your friends list. # noqa: E501 :param traveling_to_world: The traveling_to_world of this CurrentUserPresence. # noqa: E501 :type traveling_to_world: str diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index 1b12e1a4..564f27fe 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/disable2_fa_result.py b/vrchatapi/models/disable2_fa_result.py index 48ef0163..f221f307 100644 --- a/vrchatapi/models/disable2_fa_result.py +++ b/vrchatapi/models/disable2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index 2a2f5166..b61aa246 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/economy_account.py b/vrchatapi/models/economy_account.py new file mode 100644 index 00000000..a18d4a39 --- /dev/null +++ b/vrchatapi/models/economy_account.py @@ -0,0 +1,265 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.4 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class EconomyAccount(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'account_activated_on': 'datetime', + 'account_id': 'str', + 'blocked': 'bool', + 'can_spend': 'bool', + 'source': 'str', + 'user_id': 'str' + } + + attribute_map = { + 'account_activated_on': 'accountActivatedOn', + 'account_id': 'accountId', + 'blocked': 'blocked', + 'can_spend': 'canSpend', + 'source': 'source', + 'user_id': 'userId' + } + + def __init__(self, account_activated_on=None, account_id=None, blocked=None, can_spend=None, source=None, user_id=None, local_vars_configuration=None): # noqa: E501 + """EconomyAccount - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._account_activated_on = None + self._account_id = None + self._blocked = None + self._can_spend = None + self._source = None + self._user_id = None + self.discriminator = None + + self.account_activated_on = account_activated_on + self.account_id = account_id + self.blocked = blocked + self.can_spend = can_spend + self.source = source + self.user_id = user_id + + @property + def account_activated_on(self): + """Gets the account_activated_on of this EconomyAccount. # noqa: E501 + + + :return: The account_activated_on of this EconomyAccount. # noqa: E501 + :rtype: datetime + """ + return self._account_activated_on + + @account_activated_on.setter + def account_activated_on(self, account_activated_on): + """Sets the account_activated_on of this EconomyAccount. + + + :param account_activated_on: The account_activated_on of this EconomyAccount. # noqa: E501 + :type account_activated_on: datetime + """ + + self._account_activated_on = account_activated_on + + @property + def account_id(self): + """Gets the account_id of this EconomyAccount. # noqa: E501 + + + :return: The account_id of this EconomyAccount. # noqa: E501 + :rtype: str + """ + return self._account_id + + @account_id.setter + def account_id(self, account_id): + """Sets the account_id of this EconomyAccount. + + + :param account_id: The account_id of this EconomyAccount. # noqa: E501 + :type account_id: str + """ + + self._account_id = account_id + + @property + def blocked(self): + """Gets the blocked of this EconomyAccount. # noqa: E501 + + + :return: The blocked of this EconomyAccount. # noqa: E501 + :rtype: bool + """ + return self._blocked + + @blocked.setter + def blocked(self, blocked): + """Sets the blocked of this EconomyAccount. + + + :param blocked: The blocked of this EconomyAccount. # noqa: E501 + :type blocked: bool + """ + if self.local_vars_configuration.client_side_validation and blocked is None: # noqa: E501 + raise ValueError("Invalid value for `blocked`, must not be `None`") # noqa: E501 + + self._blocked = blocked + + @property + def can_spend(self): + """Gets the can_spend of this EconomyAccount. # noqa: E501 + + + :return: The can_spend of this EconomyAccount. # noqa: E501 + :rtype: bool + """ + return self._can_spend + + @can_spend.setter + def can_spend(self, can_spend): + """Sets the can_spend of this EconomyAccount. + + + :param can_spend: The can_spend of this EconomyAccount. # noqa: E501 + :type can_spend: bool + """ + if self.local_vars_configuration.client_side_validation and can_spend is None: # noqa: E501 + raise ValueError("Invalid value for `can_spend`, must not be `None`") # noqa: E501 + + self._can_spend = can_spend + + @property + def source(self): + """Gets the source of this EconomyAccount. # noqa: E501 + + + :return: The source of this EconomyAccount. # noqa: E501 + :rtype: str + """ + return self._source + + @source.setter + def source(self, source): + """Sets the source of this EconomyAccount. + + + :param source: The source of this EconomyAccount. # noqa: E501 + :type source: str + """ + if self.local_vars_configuration.client_side_validation and source is None: # noqa: E501 + raise ValueError("Invalid value for `source`, must not be `None`") # noqa: E501 + + self._source = source + + @property + def user_id(self): + """Gets the user_id of this EconomyAccount. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The user_id of this EconomyAccount. # noqa: E501 + :rtype: str + """ + return self._user_id + + @user_id.setter + def user_id(self, user_id): + """Sets the user_id of this EconomyAccount. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param user_id: The user_id of this EconomyAccount. # noqa: E501 + :type user_id: str + """ + if self.local_vars_configuration.client_side_validation and user_id is None: # noqa: E501 + raise ValueError("Invalid value for `user_id`, must not be `None`") # noqa: E501 + + self._user_id = user_id + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, EconomyAccount): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, EconomyAccount): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index ed0bef84..b6f2a863 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index 484b1243..dacf5a12 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index 4510491c..d3e8c879 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_limits.py b/vrchatapi/models/favorite_group_limits.py index 2d97dd6a..df900cfb 100644 --- a/vrchatapi/models/favorite_group_limits.py +++ b/vrchatapi/models/favorite_group_limits.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index 8c4f46da..be02fe1b 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_limits.py b/vrchatapi/models/favorite_limits.py index 96b35b7b..e9a55b1d 100644 --- a/vrchatapi/models/favorite_limits.py +++ b/vrchatapi/models/favorite_limits.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index 0ffa7a5b..5985d0cb 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorited_world.py b/vrchatapi/models/favorited_world.py index e9551905..841bc79f 100644 --- a/vrchatapi/models/favorited_world.py +++ b/vrchatapi/models/favorited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/feedback.py b/vrchatapi/models/feedback.py index ae6cf1f8..b35fcf10 100644 --- a/vrchatapi/models/feedback.py +++ b/vrchatapi/models/feedback.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index 973df2ee..27c67af3 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_analysis.py b/vrchatapi/models/file_analysis.py index 1c3b06b6..054e6c86 100644 --- a/vrchatapi/models/file_analysis.py +++ b/vrchatapi/models/file_analysis.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_analysis_avatar_stats.py b/vrchatapi/models/file_analysis_avatar_stats.py index 5adf6bfe..e26c1fea 100644 --- a/vrchatapi/models/file_analysis_avatar_stats.py +++ b/vrchatapi/models/file_analysis_avatar_stats.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index a543d674..3d3c22c2 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index 8aeb2838..6cc39fde 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index ffe62433..76b8be79 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index 8c2008f7..b046d936 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index b6e4dda8..3a408304 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index f5167f69..b2f558ef 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/follow_calendar_event_request.py b/vrchatapi/models/follow_calendar_event_request.py index accd3cd9..1d83daeb 100644 --- a/vrchatapi/models/follow_calendar_event_request.py +++ b/vrchatapi/models/follow_calendar_event_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index b5a38ef2..33272f24 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/get_group_posts200_response.py b/vrchatapi/models/get_group_posts200_response.py index 40dbcd66..75dc0dad 100644 --- a/vrchatapi/models/get_group_posts200_response.py +++ b/vrchatapi/models/get_group_posts200_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/get_user_group_instances200_response.py b/vrchatapi/models/get_user_group_instances200_response.py index 5934c737..2de35144 100644 --- a/vrchatapi/models/get_user_group_instances200_response.py +++ b/vrchatapi/models/get_user_group_instances200_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index 9d59eade..5e7bd0ba 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_access_type.py b/vrchatapi/models/group_access_type.py index 7486d5d4..832bdeef 100644 --- a/vrchatapi/models/group_access_type.py +++ b/vrchatapi/models/group_access_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index 8111ef0c..4318f52f 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index a1820d72..bb898a95 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index 3eddabd2..2d731749 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index 7c21369d..92569784 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_instance.py b/vrchatapi/models/group_instance.py index 0689be66..dcdf513c 100644 --- a/vrchatapi/models/group_instance.py +++ b/vrchatapi/models/group_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -70,6 +70,7 @@ def __init__(self, instance_id=None, location=None, world=None, member_count=Non def instance_id(self): """Gets the instance_id of this GroupInstance. # noqa: E501 + InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. # noqa: E501 :return: The instance_id of this GroupInstance. # noqa: E501 :rtype: str @@ -80,15 +81,13 @@ def instance_id(self): def instance_id(self, instance_id): """Sets the instance_id of this GroupInstance. + InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. # noqa: E501 :param instance_id: The instance_id of this GroupInstance. # noqa: E501 :type instance_id: str """ if self.local_vars_configuration.client_side_validation and instance_id is None: # noqa: E501 raise ValueError("Invalid value for `instance_id`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - instance_id is not None and len(instance_id) < 1): - raise ValueError("Invalid value for `instance_id`, length must be greater than or equal to `1`") # noqa: E501 self._instance_id = instance_id @@ -96,7 +95,7 @@ def instance_id(self, instance_id): def location(self): """Gets the location of this GroupInstance. # noqa: E501 - InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. # noqa: E501 + Represents a unique location, consisting of a world identifier and an instance identifier, or \"offline\" if the user is not on your friends list. # noqa: E501 :return: The location of this GroupInstance. # noqa: E501 :rtype: str @@ -107,7 +106,7 @@ def location(self): def location(self, location): """Sets the location of this GroupInstance. - InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. # noqa: E501 + Represents a unique location, consisting of a world identifier and an instance identifier, or \"offline\" if the user is not on your friends list. # noqa: E501 :param location: The location of this GroupInstance. # noqa: E501 :type location: str diff --git a/vrchatapi/models/group_join_request_action.py b/vrchatapi/models/group_join_request_action.py index be72dc67..9984e04f 100644 --- a/vrchatapi/models/group_join_request_action.py +++ b/vrchatapi/models/group_join_request_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index 05a76569..bab8dd3d 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index c5abeb44..740b3c7e 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index 5d086785..aebbf962 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index f2daf2f6..d5030852 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index 40cc9c3e..7d1521b5 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index 56da19e6..3d58f7df 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index 0d4aa96c..f27339c0 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permissions.py b/vrchatapi/models/group_permissions.py index 1cf5f7a1..3e3f2147 100644 --- a/vrchatapi/models/group_permissions.py +++ b/vrchatapi/models/group_permissions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -56,8 +56,9 @@ class GroupPermissions(object): group_roles_assign = "group-roles-assign" group_roles_manage = "group-roles-manage" group_calendar_manage = "group-calendar-manage" + group_instance_calendar_link = "group-instance-calendar-link" - allowable_values = [group_all, group_announcement_manage, group_audit_view, group_bans_manage, group_data_manage, group_default_role_manage, group_galleries_manage, group_instance_age_gated_create, group_instance_join, group_instance_manage, group_instance_moderate, group_instance_open_create, group_instance_plus_create, group_instance_plus_portal, group_instance_plus_portal_unlocked, group_instance_public_create, group_instance_queue_priority, group_instance_restricted_create, group_invites_manage, group_members_manage, group_members_remove, group_members_viewall, group_roles_assign, group_roles_manage, group_calendar_manage] # noqa: E501 + allowable_values = [group_all, group_announcement_manage, group_audit_view, group_bans_manage, group_data_manage, group_default_role_manage, group_galleries_manage, group_instance_age_gated_create, group_instance_join, group_instance_manage, group_instance_moderate, group_instance_open_create, group_instance_plus_create, group_instance_plus_portal, group_instance_plus_portal_unlocked, group_instance_public_create, group_instance_queue_priority, group_instance_restricted_create, group_invites_manage, group_members_manage, group_members_remove, group_members_viewall, group_roles_assign, group_roles_manage, group_calendar_manage, group_instance_calendar_link] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/group_post.py b/vrchatapi/models/group_post.py index 4b7ab347..02ff934d 100644 --- a/vrchatapi/models/group_post.py +++ b/vrchatapi/models/group_post.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post_visibility.py b/vrchatapi/models/group_post_visibility.py index 76f8646b..be74f63a 100644 --- a/vrchatapi/models/group_post_visibility.py +++ b/vrchatapi/models/group_post_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index 40838fb6..38c00d0c 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index 6b20ed3e..bdba756b 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index 7acc08cf..dcfd77cf 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template_values.py b/vrchatapi/models/group_role_template_values.py index a9e87a72..e0ee17f6 100644 --- a/vrchatapi/models/group_role_template_values.py +++ b/vrchatapi/models/group_role_template_values.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template_values_roles.py b/vrchatapi/models/group_role_template_values_roles.py index 1bca717f..a4c5363a 100644 --- a/vrchatapi/models/group_role_template_values_roles.py +++ b/vrchatapi/models/group_role_template_values_roles.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_search_sort.py b/vrchatapi/models/group_search_sort.py index 1a0bdc05..fad6a397 100644 --- a/vrchatapi/models/group_search_sort.py +++ b/vrchatapi/models/group_search_sort.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index e66e8b82..05aadfdb 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index db9a1f4d..7f2a5781 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index e55a1f75..67cc89e5 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index 5b141627..217cc950 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index d326a2c9..a8e918be 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index 3cf0461f..a97785f1 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index 4d1c5fbe..0c867ce7 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -465,6 +465,7 @@ def id(self, id): def instance_id(self): """Gets the instance_id of this Instance. # noqa: E501 + InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. # noqa: E501 :return: The instance_id of this Instance. # noqa: E501 :rtype: str @@ -475,15 +476,13 @@ def instance_id(self): def instance_id(self, instance_id): """Sets the instance_id of this Instance. + InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. # noqa: E501 :param instance_id: The instance_id of this Instance. # noqa: E501 :type instance_id: str """ if self.local_vars_configuration.client_side_validation and instance_id is None: # noqa: E501 raise ValueError("Invalid value for `instance_id`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - instance_id is not None and len(instance_id) < 1): - raise ValueError("Invalid value for `instance_id`, length must be greater than or equal to `1`") # noqa: E501 self._instance_id = instance_id @@ -512,7 +511,7 @@ def instance_persistence_enabled(self, instance_persistence_enabled): def location(self): """Gets the location of this Instance. # noqa: E501 - InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. # noqa: E501 + Represents a unique location, consisting of a world identifier and an instance identifier, or \"offline\" if the user is not on your friends list. # noqa: E501 :return: The location of this Instance. # noqa: E501 :rtype: str @@ -523,7 +522,7 @@ def location(self): def location(self, location): """Sets the location of this Instance. - InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. # noqa: E501 + Represents a unique location, consisting of a world identifier and an instance identifier, or \"offline\" if the user is not on your friends list. # noqa: E501 :param location: The location of this Instance. # noqa: E501 :type location: str diff --git a/vrchatapi/models/instance_content_settings.py b/vrchatapi/models/instance_content_settings.py index 6027389b..333b9c70 100644 --- a/vrchatapi/models/instance_content_settings.py +++ b/vrchatapi/models/instance_content_settings.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index eda6859d..fb52a2be 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_region.py b/vrchatapi/models/instance_region.py index 68c58dac..ce980edf 100644 --- a/vrchatapi/models/instance_region.py +++ b/vrchatapi/models/instance_region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index 39f70109..6abdd6a0 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index 3a20d22b..9d02fa88 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory.py b/vrchatapi/models/inventory.py index 2f6de28d..3a451cf6 100644 --- a/vrchatapi/models/inventory.py +++ b/vrchatapi/models/inventory.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_drop.py b/vrchatapi/models/inventory_drop.py index 88a62513..103068e2 100644 --- a/vrchatapi/models/inventory_drop.py +++ b/vrchatapi/models/inventory_drop.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_flag.py b/vrchatapi/models/inventory_flag.py new file mode 100644 index 00000000..9bb64989 --- /dev/null +++ b/vrchatapi/models/inventory_flag.py @@ -0,0 +1,115 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.4 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class InventoryFlag(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + INSTANTIATABLE = "instantiatable" + ARCHIVABLE = "archivable" + CONSUMABLE = "consumable" + TRASHABLE = "trashable" + CLONEABLE = "cloneable" + UGC = "ugc" + + allowable_values = [INSTANTIATABLE, ARCHIVABLE, CONSUMABLE, TRASHABLE, CLONEABLE, UGC] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """InventoryFlag - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InventoryFlag): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, InventoryFlag): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/inventory_item.py b/vrchatapi/models/inventory_item.py index f94e508d..4c6f407a 100644 --- a/vrchatapi/models/inventory_item.py +++ b/vrchatapi/models/inventory_item.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_item_type.py b/vrchatapi/models/inventory_item_type.py index ed1d2420..16a6e911 100644 --- a/vrchatapi/models/inventory_item_type.py +++ b/vrchatapi/models/inventory_item_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_metadata.py b/vrchatapi/models/inventory_metadata.py index 299d4f59..9bfd56b8 100644 --- a/vrchatapi/models/inventory_metadata.py +++ b/vrchatapi/models/inventory_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_notification_details.py b/vrchatapi/models/inventory_notification_details.py index c40d7e65..1bda728d 100644 --- a/vrchatapi/models/inventory_notification_details.py +++ b/vrchatapi/models/inventory_notification_details.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_spawn.py b/vrchatapi/models/inventory_spawn.py index 2609f78a..444757de 100644 --- a/vrchatapi/models/inventory_spawn.py +++ b/vrchatapi/models/inventory_spawn.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_template.py b/vrchatapi/models/inventory_template.py index c0716375..9ff99fd6 100644 --- a/vrchatapi/models/inventory_template.py +++ b/vrchatapi/models/inventory_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index 3384fa27..99843d64 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index e55fff79..08ac1848 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index c0224fca..e9e0cce8 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index 01d17b42..885d8349 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/jam.py b/vrchatapi/models/jam.py index 486eeb79..99986a30 100644 --- a/vrchatapi/models/jam.py +++ b/vrchatapi/models/jam.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/jam_state_change_dates.py b/vrchatapi/models/jam_state_change_dates.py index ec135e13..a6d1bccf 100644 --- a/vrchatapi/models/jam_state_change_dates.py +++ b/vrchatapi/models/jam_state_change_dates.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index 4489594c..024d538b 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index 163c0391..1ef38753 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index f3158190..356e8245 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index 680b444a..c9be456a 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_group.py b/vrchatapi/models/limited_group.py index 6488e85e..245b7acd 100644 --- a/vrchatapi/models/limited_group.py +++ b/vrchatapi/models/limited_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index edb5161f..d0b8ebc4 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user_friend.py b/vrchatapi/models/limited_user_friend.py index 09ea0c3b..6b45ea56 100644 --- a/vrchatapi/models/limited_user_friend.py +++ b/vrchatapi/models/limited_user_friend.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -139,12 +139,15 @@ def __init__(self, bio=None, bio_links=None, current_avatar_image_url=None, curr self.last_activity = last_activity self.last_mobile = last_mobile self.platform = platform - self.profile_pic_override = profile_pic_override - self.profile_pic_override_thumbnail = profile_pic_override_thumbnail + if profile_pic_override is not None: + self.profile_pic_override = profile_pic_override + if profile_pic_override_thumbnail is not None: + self.profile_pic_override_thumbnail = profile_pic_override_thumbnail self.status = status self.status_description = status_description self.tags = tags - self.user_icon = user_icon + if user_icon is not None: + self.user_icon = user_icon @property def bio(self): @@ -551,8 +554,6 @@ def profile_pic_override(self, profile_pic_override): :param profile_pic_override: The profile_pic_override of this LimitedUserFriend. # noqa: E501 :type profile_pic_override: str """ - if self.local_vars_configuration.client_side_validation and profile_pic_override is None: # noqa: E501 - raise ValueError("Invalid value for `profile_pic_override`, must not be `None`") # noqa: E501 self._profile_pic_override = profile_pic_override @@ -574,8 +575,6 @@ def profile_pic_override_thumbnail(self, profile_pic_override_thumbnail): :param profile_pic_override_thumbnail: The profile_pic_override_thumbnail of this LimitedUserFriend. # noqa: E501 :type profile_pic_override_thumbnail: str """ - if self.local_vars_configuration.client_side_validation and profile_pic_override_thumbnail is None: # noqa: E501 - raise ValueError("Invalid value for `profile_pic_override_thumbnail`, must not be `None`") # noqa: E501 self._profile_pic_override_thumbnail = profile_pic_override_thumbnail @@ -668,8 +667,6 @@ def user_icon(self, user_icon): :param user_icon: The user_icon of this LimitedUserFriend. # noqa: E501 :type user_icon: str """ - if self.local_vars_configuration.client_side_validation and user_icon is None: # noqa: E501 - raise ValueError("Invalid value for `user_icon`, must not be `None`") # noqa: E501 self._user_icon = user_icon diff --git a/vrchatapi/models/limited_user_groups.py b/vrchatapi/models/limited_user_groups.py index 9a4a233c..a1a4e320 100644 --- a/vrchatapi/models/limited_user_groups.py +++ b/vrchatapi/models/limited_user_groups.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user_instance.py b/vrchatapi/models/limited_user_instance.py index 9d8b8887..188f642b 100644 --- a/vrchatapi/models/limited_user_instance.py +++ b/vrchatapi/models/limited_user_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -153,14 +153,17 @@ def __init__(self, age_verification_status=None, age_verified=None, allow_avatar self.last_mobile = last_mobile if platform is not None: self.platform = platform - self.profile_pic_override = profile_pic_override - self.profile_pic_override_thumbnail = profile_pic_override_thumbnail + if profile_pic_override is not None: + self.profile_pic_override = profile_pic_override + if profile_pic_override_thumbnail is not None: + self.profile_pic_override_thumbnail = profile_pic_override_thumbnail self.pronouns = pronouns self.state = state self.status = status self.status_description = status_description self.tags = tags - self.user_icon = user_icon + if user_icon is not None: + self.user_icon = user_icon @property def age_verification_status(self): @@ -615,8 +618,6 @@ def profile_pic_override(self, profile_pic_override): :param profile_pic_override: The profile_pic_override of this LimitedUserInstance. # noqa: E501 :type profile_pic_override: str """ - if self.local_vars_configuration.client_side_validation and profile_pic_override is None: # noqa: E501 - raise ValueError("Invalid value for `profile_pic_override`, must not be `None`") # noqa: E501 self._profile_pic_override = profile_pic_override @@ -638,8 +639,6 @@ def profile_pic_override_thumbnail(self, profile_pic_override_thumbnail): :param profile_pic_override_thumbnail: The profile_pic_override_thumbnail of this LimitedUserInstance. # noqa: E501 :type profile_pic_override_thumbnail: str """ - if self.local_vars_configuration.client_side_validation and profile_pic_override_thumbnail is None: # noqa: E501 - raise ValueError("Invalid value for `profile_pic_override_thumbnail`, must not be `None`") # noqa: E501 self._profile_pic_override_thumbnail = profile_pic_override_thumbnail @@ -776,8 +775,6 @@ def user_icon(self, user_icon): :param user_icon: The user_icon of this LimitedUserInstance. # noqa: E501 :type user_icon: str """ - if self.local_vars_configuration.client_side_validation and user_icon is None: # noqa: E501 - raise ValueError("Invalid value for `user_icon`, must not be `None`") # noqa: E501 self._user_icon = user_icon diff --git a/vrchatapi/models/limited_user_search.py b/vrchatapi/models/limited_user_search.py index ea0dcdd6..7803d19f 100644 --- a/vrchatapi/models/limited_user_search.py +++ b/vrchatapi/models/limited_user_search.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -109,13 +109,15 @@ def __init__(self, bio=None, bio_links=None, current_avatar_image_url=None, curr self.id = id self.is_friend = is_friend self.last_platform = last_platform - self.profile_pic_override = profile_pic_override + if profile_pic_override is not None: + self.profile_pic_override = profile_pic_override if pronouns is not None: self.pronouns = pronouns self.status = status self.status_description = status_description self.tags = tags - self.user_icon = user_icon + if user_icon is not None: + self.user_icon = user_icon @property def bio(self): @@ -371,8 +373,6 @@ def profile_pic_override(self, profile_pic_override): :param profile_pic_override: The profile_pic_override of this LimitedUserSearch. # noqa: E501 :type profile_pic_override: str """ - if self.local_vars_configuration.client_side_validation and profile_pic_override is None: # noqa: E501 - raise ValueError("Invalid value for `profile_pic_override`, must not be `None`") # noqa: E501 self._profile_pic_override = profile_pic_override @@ -486,8 +486,6 @@ def user_icon(self, user_icon): :param user_icon: The user_icon of this LimitedUserSearch. # noqa: E501 :type user_icon: str """ - if self.local_vars_configuration.client_side_validation and user_icon is None: # noqa: E501 - raise ValueError("Invalid value for `user_icon`, must not be `None`") # noqa: E501 self._user_icon = user_icon diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index 89bb253d..cd6a596d 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index f42a1811..37d6acaf 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/model_print.py b/vrchatapi/models/model_print.py index 545eee8e..09557931 100644 --- a/vrchatapi/models/model_print.py +++ b/vrchatapi/models/model_print.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index 2adbaf08..b1cd9b0b 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index 6d45d257..e3f4e69c 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite.py b/vrchatapi/models/notification_detail_invite.py index de2d8a79..e8c87f04 100644 --- a/vrchatapi/models/notification_detail_invite.py +++ b/vrchatapi/models/notification_detail_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -88,7 +88,7 @@ def invite_message(self, invite_message): def world_id(self): """Gets the world_id of this NotificationDetailInvite. # noqa: E501 - WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + Represents a unique location, consisting of a world identifier and an instance identifier, or \"offline\" if the user is not on your friends list. # noqa: E501 :return: The world_id of this NotificationDetailInvite. # noqa: E501 :rtype: str @@ -99,7 +99,7 @@ def world_id(self): def world_id(self, world_id): """Sets the world_id of this NotificationDetailInvite. - WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + Represents a unique location, consisting of a world identifier and an instance identifier, or \"offline\" if the user is not on your friends list. # noqa: E501 :param world_id: The world_id of this NotificationDetailInvite. # noqa: E501 :type world_id: str diff --git a/vrchatapi/models/notification_detail_invite_response.py b/vrchatapi/models/notification_detail_invite_response.py index 2322665f..8b2eb03c 100644 --- a/vrchatapi/models/notification_detail_invite_response.py +++ b/vrchatapi/models/notification_detail_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite.py b/vrchatapi/models/notification_detail_request_invite.py index 623b9786..3d03b8a6 100644 --- a/vrchatapi/models/notification_detail_request_invite.py +++ b/vrchatapi/models/notification_detail_request_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite_response.py b/vrchatapi/models/notification_detail_request_invite_response.py index ee1f438e..12548ef7 100644 --- a/vrchatapi/models/notification_detail_request_invite_response.py +++ b/vrchatapi/models/notification_detail_request_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_vote_to_kick.py b/vrchatapi/models/notification_detail_vote_to_kick.py index 242301c4..484986eb 100644 --- a/vrchatapi/models/notification_detail_vote_to_kick.py +++ b/vrchatapi/models/notification_detail_vote_to_kick.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index ae97caa9..65cf93bc 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ok_status.py b/vrchatapi/models/ok_status.py new file mode 100644 index 00000000..8d6f923a --- /dev/null +++ b/vrchatapi/models/ok_status.py @@ -0,0 +1,134 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.4 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class OkStatus(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'ok': 'str' + } + + attribute_map = { + 'ok': 'ok' + } + + def __init__(self, ok='maybe?', local_vars_configuration=None): # noqa: E501 + """OkStatus - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._ok = None + self.discriminator = None + + self.ok = ok + + @property + def ok(self): + """Gets the ok of this OkStatus. # noqa: E501 + + The actual status itself # noqa: E501 + + :return: The ok of this OkStatus. # noqa: E501 + :rtype: str + """ + return self._ok + + @ok.setter + def ok(self, ok): + """Sets the ok of this OkStatus. + + The actual status itself # noqa: E501 + + :param ok: The ok of this OkStatus. # noqa: E501 + :type ok: str + """ + if self.local_vars_configuration.client_side_validation and ok is None: # noqa: E501 + raise ValueError("Invalid value for `ok`, must not be `None`") # noqa: E501 + + self._ok = ok + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, OkStatus): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, OkStatus): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index 8fc6bbad..129bbe69 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_calendar_event_list.py b/vrchatapi/models/paginated_calendar_event_list.py index 8cc1a77f..e8e6f2fc 100644 --- a/vrchatapi/models/paginated_calendar_event_list.py +++ b/vrchatapi/models/paginated_calendar_event_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index a6e3354b..cf8e1a21 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index 843d916d..81190a85 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/pending2_fa_result.py b/vrchatapi/models/pending2_fa_result.py index 7e47b9d6..3993897c 100644 --- a/vrchatapi/models/pending2_fa_result.py +++ b/vrchatapi/models/pending2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/performance_limiter_info.py b/vrchatapi/models/performance_limiter_info.py index 69bb3a5e..31156622 100644 --- a/vrchatapi/models/performance_limiter_info.py +++ b/vrchatapi/models/performance_limiter_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/performance_ratings.py b/vrchatapi/models/performance_ratings.py index 00212c3d..03795f6c 100644 --- a/vrchatapi/models/performance_ratings.py +++ b/vrchatapi/models/performance_ratings.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index f83b5c95..2c48887e 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/platform_build_info.py b/vrchatapi/models/platform_build_info.py index ce7aa90f..1919e047 100644 --- a/vrchatapi/models/platform_build_info.py +++ b/vrchatapi/models/platform_build_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index e267f0c5..dd9c81eb 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index b9aab0b8..e1a76aee 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/print_files.py b/vrchatapi/models/print_files.py index aac898f2..a729698c 100644 --- a/vrchatapi/models/print_files.py +++ b/vrchatapi/models/print_files.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product.py b/vrchatapi/models/product.py index 41ec54f1..799bc378 100644 --- a/vrchatapi/models/product.py +++ b/vrchatapi/models/product.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_listing.py b/vrchatapi/models/product_listing.py index a3161bc1..06934895 100644 --- a/vrchatapi/models/product_listing.py +++ b/vrchatapi/models/product_listing.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_listing_type.py b/vrchatapi/models/product_listing_type.py index b8211f40..45d2bb4f 100644 --- a/vrchatapi/models/product_listing_type.py +++ b/vrchatapi/models/product_listing_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_listing_variant.py b/vrchatapi/models/product_listing_variant.py index a510c718..0c2ecb1b 100644 --- a/vrchatapi/models/product_listing_variant.py +++ b/vrchatapi/models/product_listing_variant.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_type.py b/vrchatapi/models/product_type.py index bb39762b..7314494b 100644 --- a/vrchatapi/models/product_type.py +++ b/vrchatapi/models/product_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/prop.py b/vrchatapi/models/prop.py index 5955546f..5b9aa1cc 100644 --- a/vrchatapi/models/prop.py +++ b/vrchatapi/models/prop.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/prop_unity_package.py b/vrchatapi/models/prop_unity_package.py index fe26b7ac..b03f53a6 100644 --- a/vrchatapi/models/prop_unity_package.py +++ b/vrchatapi/models/prop_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index 8e065fea..4fe87128 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/register_user_account_request.py b/vrchatapi/models/register_user_account_request.py index bbf97566..994f72f0 100644 --- a/vrchatapi/models/register_user_account_request.py +++ b/vrchatapi/models/register_user_account_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index 77e58aa2..8bcf7672 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/report_category.py b/vrchatapi/models/report_category.py index 0419d300..3f374940 100644 --- a/vrchatapi/models/report_category.py +++ b/vrchatapi/models/report_category.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/report_reason.py b/vrchatapi/models/report_reason.py index 279dcb69..d1ce4de1 100644 --- a/vrchatapi/models/report_reason.py +++ b/vrchatapi/models/report_reason.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/represented_group.py b/vrchatapi/models/represented_group.py index 858eccd9..6749b9af 100644 --- a/vrchatapi/models/represented_group.py +++ b/vrchatapi/models/represented_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index 209d2bf8..b9bac493 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index 423d110c..c39464e0 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index d57006fe..04c9d312 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index 0956c54f..79e9be2d 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/service_queue_stats.py b/vrchatapi/models/service_queue_stats.py index 8c195e1d..643de141 100644 --- a/vrchatapi/models/service_queue_stats.py +++ b/vrchatapi/models/service_queue_stats.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/service_status.py b/vrchatapi/models/service_status.py index 5d6c397a..412a81b7 100644 --- a/vrchatapi/models/service_status.py +++ b/vrchatapi/models/service_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/share_inventory_item_direct_request.py b/vrchatapi/models/share_inventory_item_direct_request.py new file mode 100644 index 00000000..f05e8003 --- /dev/null +++ b/vrchatapi/models/share_inventory_item_direct_request.py @@ -0,0 +1,159 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.4 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class ShareInventoryItemDirectRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'item_id': 'str', + 'users': 'list[str]' + } + + attribute_map = { + 'item_id': 'itemId', + 'users': 'users' + } + + def __init__(self, item_id=None, users=None, local_vars_configuration=None): # noqa: E501 + """ShareInventoryItemDirectRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._item_id = None + self._users = None + self.discriminator = None + + self.item_id = item_id + self.users = users + + @property + def item_id(self): + """Gets the item_id of this ShareInventoryItemDirectRequest. # noqa: E501 + + + :return: The item_id of this ShareInventoryItemDirectRequest. # noqa: E501 + :rtype: str + """ + return self._item_id + + @item_id.setter + def item_id(self, item_id): + """Sets the item_id of this ShareInventoryItemDirectRequest. + + + :param item_id: The item_id of this ShareInventoryItemDirectRequest. # noqa: E501 + :type item_id: str + """ + if self.local_vars_configuration.client_side_validation and item_id is None: # noqa: E501 + raise ValueError("Invalid value for `item_id`, must not be `None`") # noqa: E501 + + self._item_id = item_id + + @property + def users(self): + """Gets the users of this ShareInventoryItemDirectRequest. # noqa: E501 + + + :return: The users of this ShareInventoryItemDirectRequest. # noqa: E501 + :rtype: list[str] + """ + return self._users + + @users.setter + def users(self, users): + """Sets the users of this ShareInventoryItemDirectRequest. + + + :param users: The users of this ShareInventoryItemDirectRequest. # noqa: E501 + :type users: list[str] + """ + if self.local_vars_configuration.client_side_validation and users is None: # noqa: E501 + raise ValueError("Invalid value for `users`, must not be `None`") # noqa: E501 + + self._users = users + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ShareInventoryItemDirectRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ShareInventoryItemDirectRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index 71d8600d..e0055572 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/store.py b/vrchatapi/models/store.py new file mode 100644 index 00000000..5ae6dc32 --- /dev/null +++ b/vrchatapi/models/store.py @@ -0,0 +1,489 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.4 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class Store(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'description': 'str', + 'display_name': 'str', + 'id': 'str', + 'seller_display_name': 'str', + 'seller_id': 'str', + 'store_id': 'str', + 'store_type': 'StoreType', + 'tags': 'list[str]', + 'listing_ids': 'list[str]', + 'listings': 'list[ProductListing]', + 'world_id': 'str', + 'group_id': 'str', + 'shelf_ids': 'list[str]', + 'shelves': 'list[StoreShelf]' + } + + attribute_map = { + 'description': 'description', + 'display_name': 'displayName', + 'id': 'id', + 'seller_display_name': 'sellerDisplayName', + 'seller_id': 'sellerId', + 'store_id': 'storeId', + 'store_type': 'storeType', + 'tags': 'tags', + 'listing_ids': 'listingIds', + 'listings': 'listings', + 'world_id': 'worldId', + 'group_id': 'groupId', + 'shelf_ids': 'shelfIds', + 'shelves': 'shelves' + } + + def __init__(self, description=None, display_name=None, id=None, seller_display_name=None, seller_id=None, store_id=None, store_type=None, tags=None, listing_ids=None, listings=None, world_id=None, group_id=None, shelf_ids=None, shelves=None, local_vars_configuration=None): # noqa: E501 + """Store - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._description = None + self._display_name = None + self._id = None + self._seller_display_name = None + self._seller_id = None + self._store_id = None + self._store_type = None + self._tags = None + self._listing_ids = None + self._listings = None + self._world_id = None + self._group_id = None + self._shelf_ids = None + self._shelves = None + self.discriminator = None + + self.description = description + self.display_name = display_name + self.id = id + self.seller_display_name = seller_display_name + self.seller_id = seller_id + self.store_id = store_id + self.store_type = store_type + self.tags = tags + if listing_ids is not None: + self.listing_ids = listing_ids + if listings is not None: + self.listings = listings + if world_id is not None: + self.world_id = world_id + if group_id is not None: + self.group_id = group_id + if shelf_ids is not None: + self.shelf_ids = shelf_ids + if shelves is not None: + self.shelves = shelves + + @property + def description(self): + """Gets the description of this Store. # noqa: E501 + + + :return: The description of this Store. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this Store. + + + :param description: The description of this Store. # noqa: E501 + :type description: str + """ + if self.local_vars_configuration.client_side_validation and description is None: # noqa: E501 + raise ValueError("Invalid value for `description`, must not be `None`") # noqa: E501 + + self._description = description + + @property + def display_name(self): + """Gets the display_name of this Store. # noqa: E501 + + + :return: The display_name of this Store. # noqa: E501 + :rtype: str + """ + return self._display_name + + @display_name.setter + def display_name(self, display_name): + """Sets the display_name of this Store. + + + :param display_name: The display_name of this Store. # noqa: E501 + :type display_name: str + """ + if self.local_vars_configuration.client_side_validation and display_name is None: # noqa: E501 + raise ValueError("Invalid value for `display_name`, must not be `None`") # noqa: E501 + + self._display_name = display_name + + @property + def id(self): + """Gets the id of this Store. # noqa: E501 + + + :return: The id of this Store. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this Store. + + + :param id: The id of this Store. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + + self._id = id + + @property + def seller_display_name(self): + """Gets the seller_display_name of this Store. # noqa: E501 + + + :return: The seller_display_name of this Store. # noqa: E501 + :rtype: str + """ + return self._seller_display_name + + @seller_display_name.setter + def seller_display_name(self, seller_display_name): + """Sets the seller_display_name of this Store. + + + :param seller_display_name: The seller_display_name of this Store. # noqa: E501 + :type seller_display_name: str + """ + if self.local_vars_configuration.client_side_validation and seller_display_name is None: # noqa: E501 + raise ValueError("Invalid value for `seller_display_name`, must not be `None`") # noqa: E501 + + self._seller_display_name = seller_display_name + + @property + def seller_id(self): + """Gets the seller_id of this Store. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The seller_id of this Store. # noqa: E501 + :rtype: str + """ + return self._seller_id + + @seller_id.setter + def seller_id(self, seller_id): + """Sets the seller_id of this Store. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param seller_id: The seller_id of this Store. # noqa: E501 + :type seller_id: str + """ + if self.local_vars_configuration.client_side_validation and seller_id is None: # noqa: E501 + raise ValueError("Invalid value for `seller_id`, must not be `None`") # noqa: E501 + + self._seller_id = seller_id + + @property + def store_id(self): + """Gets the store_id of this Store. # noqa: E501 + + + :return: The store_id of this Store. # noqa: E501 + :rtype: str + """ + return self._store_id + + @store_id.setter + def store_id(self, store_id): + """Sets the store_id of this Store. + + + :param store_id: The store_id of this Store. # noqa: E501 + :type store_id: str + """ + if self.local_vars_configuration.client_side_validation and store_id is None: # noqa: E501 + raise ValueError("Invalid value for `store_id`, must not be `None`") # noqa: E501 + + self._store_id = store_id + + @property + def store_type(self): + """Gets the store_type of this Store. # noqa: E501 + + + :return: The store_type of this Store. # noqa: E501 + :rtype: StoreType + """ + return self._store_type + + @store_type.setter + def store_type(self, store_type): + """Sets the store_type of this Store. + + + :param store_type: The store_type of this Store. # noqa: E501 + :type store_type: StoreType + """ + if self.local_vars_configuration.client_side_validation and store_type is None: # noqa: E501 + raise ValueError("Invalid value for `store_type`, must not be `None`") # noqa: E501 + + self._store_type = store_type + + @property + def tags(self): + """Gets the tags of this Store. # noqa: E501 + + + :return: The tags of this Store. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this Store. + + + :param tags: The tags of this Store. # noqa: E501 + :type tags: list[str] + """ + if self.local_vars_configuration.client_side_validation and tags is None: # noqa: E501 + raise ValueError("Invalid value for `tags`, must not be `None`") # noqa: E501 + + self._tags = tags + + @property + def listing_ids(self): + """Gets the listing_ids of this Store. # noqa: E501 + + Only for store type world and group # noqa: E501 + + :return: The listing_ids of this Store. # noqa: E501 + :rtype: list[str] + """ + return self._listing_ids + + @listing_ids.setter + def listing_ids(self, listing_ids): + """Sets the listing_ids of this Store. + + Only for store type world and group # noqa: E501 + + :param listing_ids: The listing_ids of this Store. # noqa: E501 + :type listing_ids: list[str] + """ + + self._listing_ids = listing_ids + + @property + def listings(self): + """Gets the listings of this Store. # noqa: E501 + + Only for store type world and group # noqa: E501 + + :return: The listings of this Store. # noqa: E501 + :rtype: list[ProductListing] + """ + return self._listings + + @listings.setter + def listings(self, listings): + """Sets the listings of this Store. + + Only for store type world and group # noqa: E501 + + :param listings: The listings of this Store. # noqa: E501 + :type listings: list[ProductListing] + """ + + self._listings = listings + + @property + def world_id(self): + """Gets the world_id of this Store. # noqa: E501 + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :return: The world_id of this Store. # noqa: E501 + :rtype: str + """ + return self._world_id + + @world_id.setter + def world_id(self, world_id): + """Sets the world_id of this Store. + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :param world_id: The world_id of this Store. # noqa: E501 + :type world_id: str + """ + + self._world_id = world_id + + @property + def group_id(self): + """Gets the group_id of this Store. # noqa: E501 + + + :return: The group_id of this Store. # noqa: E501 + :rtype: str + """ + return self._group_id + + @group_id.setter + def group_id(self, group_id): + """Sets the group_id of this Store. + + + :param group_id: The group_id of this Store. # noqa: E501 + :type group_id: str + """ + + self._group_id = group_id + + @property + def shelf_ids(self): + """Gets the shelf_ids of this Store. # noqa: E501 + + Only for store type house # noqa: E501 + + :return: The shelf_ids of this Store. # noqa: E501 + :rtype: list[str] + """ + return self._shelf_ids + + @shelf_ids.setter + def shelf_ids(self, shelf_ids): + """Sets the shelf_ids of this Store. + + Only for store type house # noqa: E501 + + :param shelf_ids: The shelf_ids of this Store. # noqa: E501 + :type shelf_ids: list[str] + """ + + self._shelf_ids = shelf_ids + + @property + def shelves(self): + """Gets the shelves of this Store. # noqa: E501 + + Only for store type house # noqa: E501 + + :return: The shelves of this Store. # noqa: E501 + :rtype: list[StoreShelf] + """ + return self._shelves + + @shelves.setter + def shelves(self, shelves): + """Sets the shelves of this Store. + + Only for store type house # noqa: E501 + + :param shelves: The shelves of this Store. # noqa: E501 + :type shelves: list[StoreShelf] + """ + + self._shelves = shelves + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, Store): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, Store): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/store_shelf.py b/vrchatapi/models/store_shelf.py new file mode 100644 index 00000000..8fd41645 --- /dev/null +++ b/vrchatapi/models/store_shelf.py @@ -0,0 +1,293 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.4 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class StoreShelf(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'id': 'str', + 'listing_ids': 'list[str]', + 'listings': 'list[ProductListing]', + 'shelf_description': 'str', + 'shelf_layout': 'str', + 'shelf_title': 'str', + 'updated_at': 'str' + } + + attribute_map = { + 'id': 'id', + 'listing_ids': 'listingIds', + 'listings': 'listings', + 'shelf_description': 'shelfDescription', + 'shelf_layout': 'shelfLayout', + 'shelf_title': 'shelfTitle', + 'updated_at': 'updatedAt' + } + + def __init__(self, id=None, listing_ids=None, listings=None, shelf_description=None, shelf_layout=None, shelf_title=None, updated_at=None, local_vars_configuration=None): # noqa: E501 + """StoreShelf - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._id = None + self._listing_ids = None + self._listings = None + self._shelf_description = None + self._shelf_layout = None + self._shelf_title = None + self._updated_at = None + self.discriminator = None + + self.id = id + self.listing_ids = listing_ids + if listings is not None: + self.listings = listings + self.shelf_description = shelf_description + self.shelf_layout = shelf_layout + self.shelf_title = shelf_title + self.updated_at = updated_at + + @property + def id(self): + """Gets the id of this StoreShelf. # noqa: E501 + + + :return: The id of this StoreShelf. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this StoreShelf. + + + :param id: The id of this StoreShelf. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + + self._id = id + + @property + def listing_ids(self): + """Gets the listing_ids of this StoreShelf. # noqa: E501 + + + :return: The listing_ids of this StoreShelf. # noqa: E501 + :rtype: list[str] + """ + return self._listing_ids + + @listing_ids.setter + def listing_ids(self, listing_ids): + """Sets the listing_ids of this StoreShelf. + + + :param listing_ids: The listing_ids of this StoreShelf. # noqa: E501 + :type listing_ids: list[str] + """ + if self.local_vars_configuration.client_side_validation and listing_ids is None: # noqa: E501 + raise ValueError("Invalid value for `listing_ids`, must not be `None`") # noqa: E501 + + self._listing_ids = listing_ids + + @property + def listings(self): + """Gets the listings of this StoreShelf. # noqa: E501 + + + :return: The listings of this StoreShelf. # noqa: E501 + :rtype: list[ProductListing] + """ + return self._listings + + @listings.setter + def listings(self, listings): + """Sets the listings of this StoreShelf. + + + :param listings: The listings of this StoreShelf. # noqa: E501 + :type listings: list[ProductListing] + """ + + self._listings = listings + + @property + def shelf_description(self): + """Gets the shelf_description of this StoreShelf. # noqa: E501 + + + :return: The shelf_description of this StoreShelf. # noqa: E501 + :rtype: str + """ + return self._shelf_description + + @shelf_description.setter + def shelf_description(self, shelf_description): + """Sets the shelf_description of this StoreShelf. + + + :param shelf_description: The shelf_description of this StoreShelf. # noqa: E501 + :type shelf_description: str + """ + if self.local_vars_configuration.client_side_validation and shelf_description is None: # noqa: E501 + raise ValueError("Invalid value for `shelf_description`, must not be `None`") # noqa: E501 + + self._shelf_description = shelf_description + + @property + def shelf_layout(self): + """Gets the shelf_layout of this StoreShelf. # noqa: E501 + + + :return: The shelf_layout of this StoreShelf. # noqa: E501 + :rtype: str + """ + return self._shelf_layout + + @shelf_layout.setter + def shelf_layout(self, shelf_layout): + """Sets the shelf_layout of this StoreShelf. + + + :param shelf_layout: The shelf_layout of this StoreShelf. # noqa: E501 + :type shelf_layout: str + """ + if self.local_vars_configuration.client_side_validation and shelf_layout is None: # noqa: E501 + raise ValueError("Invalid value for `shelf_layout`, must not be `None`") # noqa: E501 + + self._shelf_layout = shelf_layout + + @property + def shelf_title(self): + """Gets the shelf_title of this StoreShelf. # noqa: E501 + + + :return: The shelf_title of this StoreShelf. # noqa: E501 + :rtype: str + """ + return self._shelf_title + + @shelf_title.setter + def shelf_title(self, shelf_title): + """Sets the shelf_title of this StoreShelf. + + + :param shelf_title: The shelf_title of this StoreShelf. # noqa: E501 + :type shelf_title: str + """ + if self.local_vars_configuration.client_side_validation and shelf_title is None: # noqa: E501 + raise ValueError("Invalid value for `shelf_title`, must not be `None`") # noqa: E501 + + self._shelf_title = shelf_title + + @property + def updated_at(self): + """Gets the updated_at of this StoreShelf. # noqa: E501 + + + :return: The updated_at of this StoreShelf. # noqa: E501 + :rtype: str + """ + return self._updated_at + + @updated_at.setter + def updated_at(self, updated_at): + """Sets the updated_at of this StoreShelf. + + + :param updated_at: The updated_at of this StoreShelf. # noqa: E501 + :type updated_at: str + """ + if self.local_vars_configuration.client_side_validation and updated_at is None: # noqa: E501 + raise ValueError("Invalid value for `updated_at`, must not be `None`") # noqa: E501 + + self._updated_at = updated_at + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, StoreShelf): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, StoreShelf): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/store_type.py b/vrchatapi/models/store_type.py new file mode 100644 index 00000000..ad535aab --- /dev/null +++ b/vrchatapi/models/store_type.py @@ -0,0 +1,112 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.4 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class StoreType(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + HOUSE = "house" + WORLD = "world" + GROUP = "group" + + allowable_values = [HOUSE, WORLD, GROUP] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """StoreType - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, StoreType): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, StoreType): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/store_view.py b/vrchatapi/models/store_view.py new file mode 100644 index 00000000..f1e663d4 --- /dev/null +++ b/vrchatapi/models/store_view.py @@ -0,0 +1,114 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.4 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class StoreView(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + ALL = "all" + PUBLICPREVIEW = "publicPreview" + PUBLIC = "public" + PREVIEW = "preview" + DRAFT = "draft" + + allowable_values = [ALL, PUBLICPREVIEW, PUBLIC, PREVIEW, DRAFT] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """StoreView - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, StoreView): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, StoreView): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/submission.py b/vrchatapi/models/submission.py index 9536bd8e..723bc22d 100644 --- a/vrchatapi/models/submission.py +++ b/vrchatapi/models/submission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index 17c07320..722c6379 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index a72acb02..2c1698a2 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index 7e242f21..ba77964a 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/tilia_status.py b/vrchatapi/models/tilia_status.py index 7add055c..9039e55e 100644 --- a/vrchatapi/models/tilia_status.py +++ b/vrchatapi/models/tilia_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/tilia_tos.py b/vrchatapi/models/tilia_tos.py index adfd1a69..fa6638e1 100644 --- a/vrchatapi/models/tilia_tos.py +++ b/vrchatapi/models/tilia_tos.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/token_bundle.py b/vrchatapi/models/token_bundle.py index 21b0b150..1e9afad9 100644 --- a/vrchatapi/models/token_bundle.py +++ b/vrchatapi/models/token_bundle.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index 3c8a9681..4c7d73f4 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index 8ef992b0..45c3b0f8 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index 1826619a..0e45e2c8 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index 84d9bb64..948d2af7 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index 72552da2..9dbc2c7e 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index e29baa62..a69b817f 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_email_code.py b/vrchatapi/models/two_factor_email_code.py index 7b489c54..87de1a85 100644 --- a/vrchatapi/models/two_factor_email_code.py +++ b/vrchatapi/models/two_factor_email_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_recovery_codes.py b/vrchatapi/models/two_factor_recovery_codes.py index e61ac76b..7f3a2c90 100644 --- a/vrchatapi/models/two_factor_recovery_codes.py +++ b/vrchatapi/models/two_factor_recovery_codes.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_recovery_codes_otp_inner.py b/vrchatapi/models/two_factor_recovery_codes_otp_inner.py index c0dc86be..4392a7d5 100644 --- a/vrchatapi/models/two_factor_recovery_codes_otp_inner.py +++ b/vrchatapi/models/two_factor_recovery_codes_otp_inner.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index 9c3483dd..cc9ea4d5 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index ae7446e9..bba95555 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_calendar_event_request.py b/vrchatapi/models/update_calendar_event_request.py index bbcf6e78..d9086618 100644 --- a/vrchatapi/models/update_calendar_event_request.py +++ b/vrchatapi/models/update_calendar_event_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index f1138300..910e0c9b 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index 9c61d0ad..54494e68 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index df776852..69de8f44 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_representation_request.py b/vrchatapi/models/update_group_representation_request.py index d49cdcc9..43a209fd 100644 --- a/vrchatapi/models/update_group_representation_request.py +++ b/vrchatapi/models/update_group_representation_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index 38c87b78..9f693c28 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index 47188ca2..53819cbf 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_inventory_item_request.py b/vrchatapi/models/update_inventory_item_request.py new file mode 100644 index 00000000..5393b58e --- /dev/null +++ b/vrchatapi/models/update_inventory_item_request.py @@ -0,0 +1,131 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.4 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class UpdateInventoryItemRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'is_archived': 'bool' + } + + attribute_map = { + 'is_archived': 'isArchived' + } + + def __init__(self, is_archived=None, local_vars_configuration=None): # noqa: E501 + """UpdateInventoryItemRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._is_archived = None + self.discriminator = None + + if is_archived is not None: + self.is_archived = is_archived + + @property + def is_archived(self): + """Gets the is_archived of this UpdateInventoryItemRequest. # noqa: E501 + + + :return: The is_archived of this UpdateInventoryItemRequest. # noqa: E501 + :rtype: bool + """ + return self._is_archived + + @is_archived.setter + def is_archived(self, is_archived): + """Sets the is_archived of this UpdateInventoryItemRequest. + + + :param is_archived: The is_archived of this UpdateInventoryItemRequest. # noqa: E501 + :type is_archived: bool + """ + + self._is_archived = is_archived + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, UpdateInventoryItemRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, UpdateInventoryItemRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index 226b29d0..2f6b76fb 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_badge_request.py b/vrchatapi/models/update_user_badge_request.py index 4b8fcda3..ae4166fb 100644 --- a/vrchatapi/models/update_user_badge_request.py +++ b/vrchatapi/models/update_user_badge_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_note_request.py b/vrchatapi/models/update_user_note_request.py index f39eb4e7..6505edd4 100644 --- a/vrchatapi/models/update_user_note_request.py +++ b/vrchatapi/models/update_user_note_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index ddf177e6..b129cc5a 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index 567d3d12..b5bd802f 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index 9d1b2ade..d8b63fda 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -716,7 +716,7 @@ def last_platform(self, last_platform): def location(self): """Gets the location of this User. # noqa: E501 - WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + Represents a unique location, consisting of a world identifier and an instance identifier, or \"offline\" if the user is not on your friends list. # noqa: E501 :return: The location of this User. # noqa: E501 :rtype: str @@ -727,7 +727,7 @@ def location(self): def location(self, location): """Sets the location of this User. - WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + Represents a unique location, consisting of a world identifier and an instance identifier, or \"offline\" if the user is not on your friends list. # noqa: E501 :param location: The location of this User. # noqa: E501 :type location: str diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index a4266dde..0e07696e 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_note.py b/vrchatapi/models/user_note.py index f354c53f..4b565080 100644 --- a/vrchatapi/models/user_note.py +++ b/vrchatapi/models/user_note.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_note_target_user.py b/vrchatapi/models/user_note_target_user.py index 04802764..b0f0c0b1 100644 --- a/vrchatapi/models/user_note_target_user.py +++ b/vrchatapi/models/user_note_target_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index 3b91cf4f..af39041e 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index 4e975813..bc81c3c9 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index 0460aa25..63bec9e2 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription_eligible.py b/vrchatapi/models/user_subscription_eligible.py new file mode 100644 index 00000000..5a30ff19 --- /dev/null +++ b/vrchatapi/models/user_subscription_eligible.py @@ -0,0 +1,267 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.4 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class UserSubscriptionEligible(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'active_cancelled_subscription': 'bool', + 'gift_eligible': 'bool', + 'non_extend_vendor_will_lose_gift_time': 'bool', + 'purchase_eligible': 'bool', + 'subscription_eligible': 'bool', + 'subscription_on_alt_account': 'bool' + } + + attribute_map = { + 'active_cancelled_subscription': 'activeCancelledSubscription', + 'gift_eligible': 'giftEligible', + 'non_extend_vendor_will_lose_gift_time': 'nonExtendVendorWillLoseGiftTime', + 'purchase_eligible': 'purchaseEligible', + 'subscription_eligible': 'subscriptionEligible', + 'subscription_on_alt_account': 'subscriptionOnAltAccount' + } + + def __init__(self, active_cancelled_subscription=None, gift_eligible=None, non_extend_vendor_will_lose_gift_time=None, purchase_eligible=None, subscription_eligible=None, subscription_on_alt_account=None, local_vars_configuration=None): # noqa: E501 + """UserSubscriptionEligible - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._active_cancelled_subscription = None + self._gift_eligible = None + self._non_extend_vendor_will_lose_gift_time = None + self._purchase_eligible = None + self._subscription_eligible = None + self._subscription_on_alt_account = None + self.discriminator = None + + self.active_cancelled_subscription = active_cancelled_subscription + self.gift_eligible = gift_eligible + self.non_extend_vendor_will_lose_gift_time = non_extend_vendor_will_lose_gift_time + self.purchase_eligible = purchase_eligible + self.subscription_eligible = subscription_eligible + self.subscription_on_alt_account = subscription_on_alt_account + + @property + def active_cancelled_subscription(self): + """Gets the active_cancelled_subscription of this UserSubscriptionEligible. # noqa: E501 + + + :return: The active_cancelled_subscription of this UserSubscriptionEligible. # noqa: E501 + :rtype: bool + """ + return self._active_cancelled_subscription + + @active_cancelled_subscription.setter + def active_cancelled_subscription(self, active_cancelled_subscription): + """Sets the active_cancelled_subscription of this UserSubscriptionEligible. + + + :param active_cancelled_subscription: The active_cancelled_subscription of this UserSubscriptionEligible. # noqa: E501 + :type active_cancelled_subscription: bool + """ + if self.local_vars_configuration.client_side_validation and active_cancelled_subscription is None: # noqa: E501 + raise ValueError("Invalid value for `active_cancelled_subscription`, must not be `None`") # noqa: E501 + + self._active_cancelled_subscription = active_cancelled_subscription + + @property + def gift_eligible(self): + """Gets the gift_eligible of this UserSubscriptionEligible. # noqa: E501 + + + :return: The gift_eligible of this UserSubscriptionEligible. # noqa: E501 + :rtype: bool + """ + return self._gift_eligible + + @gift_eligible.setter + def gift_eligible(self, gift_eligible): + """Sets the gift_eligible of this UserSubscriptionEligible. + + + :param gift_eligible: The gift_eligible of this UserSubscriptionEligible. # noqa: E501 + :type gift_eligible: bool + """ + if self.local_vars_configuration.client_side_validation and gift_eligible is None: # noqa: E501 + raise ValueError("Invalid value for `gift_eligible`, must not be `None`") # noqa: E501 + + self._gift_eligible = gift_eligible + + @property + def non_extend_vendor_will_lose_gift_time(self): + """Gets the non_extend_vendor_will_lose_gift_time of this UserSubscriptionEligible. # noqa: E501 + + + :return: The non_extend_vendor_will_lose_gift_time of this UserSubscriptionEligible. # noqa: E501 + :rtype: bool + """ + return self._non_extend_vendor_will_lose_gift_time + + @non_extend_vendor_will_lose_gift_time.setter + def non_extend_vendor_will_lose_gift_time(self, non_extend_vendor_will_lose_gift_time): + """Sets the non_extend_vendor_will_lose_gift_time of this UserSubscriptionEligible. + + + :param non_extend_vendor_will_lose_gift_time: The non_extend_vendor_will_lose_gift_time of this UserSubscriptionEligible. # noqa: E501 + :type non_extend_vendor_will_lose_gift_time: bool + """ + if self.local_vars_configuration.client_side_validation and non_extend_vendor_will_lose_gift_time is None: # noqa: E501 + raise ValueError("Invalid value for `non_extend_vendor_will_lose_gift_time`, must not be `None`") # noqa: E501 + + self._non_extend_vendor_will_lose_gift_time = non_extend_vendor_will_lose_gift_time + + @property + def purchase_eligible(self): + """Gets the purchase_eligible of this UserSubscriptionEligible. # noqa: E501 + + + :return: The purchase_eligible of this UserSubscriptionEligible. # noqa: E501 + :rtype: bool + """ + return self._purchase_eligible + + @purchase_eligible.setter + def purchase_eligible(self, purchase_eligible): + """Sets the purchase_eligible of this UserSubscriptionEligible. + + + :param purchase_eligible: The purchase_eligible of this UserSubscriptionEligible. # noqa: E501 + :type purchase_eligible: bool + """ + if self.local_vars_configuration.client_side_validation and purchase_eligible is None: # noqa: E501 + raise ValueError("Invalid value for `purchase_eligible`, must not be `None`") # noqa: E501 + + self._purchase_eligible = purchase_eligible + + @property + def subscription_eligible(self): + """Gets the subscription_eligible of this UserSubscriptionEligible. # noqa: E501 + + + :return: The subscription_eligible of this UserSubscriptionEligible. # noqa: E501 + :rtype: bool + """ + return self._subscription_eligible + + @subscription_eligible.setter + def subscription_eligible(self, subscription_eligible): + """Sets the subscription_eligible of this UserSubscriptionEligible. + + + :param subscription_eligible: The subscription_eligible of this UserSubscriptionEligible. # noqa: E501 + :type subscription_eligible: bool + """ + if self.local_vars_configuration.client_side_validation and subscription_eligible is None: # noqa: E501 + raise ValueError("Invalid value for `subscription_eligible`, must not be `None`") # noqa: E501 + + self._subscription_eligible = subscription_eligible + + @property + def subscription_on_alt_account(self): + """Gets the subscription_on_alt_account of this UserSubscriptionEligible. # noqa: E501 + + + :return: The subscription_on_alt_account of this UserSubscriptionEligible. # noqa: E501 + :rtype: bool + """ + return self._subscription_on_alt_account + + @subscription_on_alt_account.setter + def subscription_on_alt_account(self, subscription_on_alt_account): + """Sets the subscription_on_alt_account of this UserSubscriptionEligible. + + + :param subscription_on_alt_account: The subscription_on_alt_account of this UserSubscriptionEligible. # noqa: E501 + :type subscription_on_alt_account: bool + """ + if self.local_vars_configuration.client_side_validation and subscription_on_alt_account is None: # noqa: E501 + raise ValueError("Invalid value for `subscription_on_alt_account`, must not be `None`") # noqa: E501 + + self._subscription_on_alt_account = subscription_on_alt_account + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, UserSubscriptionEligible): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, UserSubscriptionEligible): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/verify2_fa_email_code_result.py b/vrchatapi/models/verify2_fa_email_code_result.py index 09f3c411..2de07360 100644 --- a/vrchatapi/models/verify2_fa_email_code_result.py +++ b/vrchatapi/models/verify2_fa_email_code_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index aeafcccb..9d04f566 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index 11007640..ca9ef62a 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index cbc57aab..8bdf2c2b 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index bf2c762f..7b91020e 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index d5df1411..44056f42 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index 0447f99f..2712e269 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.3 + The version of the OpenAPI document: 1.20.4 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ From 65295e407d041478f3980f2df02c7080924327fd Mon Sep 17 00:00:00 2001 From: VRCCat Date: Sun, 16 Nov 2025 21:48:15 +0000 Subject: [PATCH 078/102] Upgrade Python SDK to spec 1.20.5 --- .openapi-generator/FILES | 10 + docs/AuthenticationApi.md | 71 +++ docs/AvatarModeration.md | 13 + docs/AvatarModerationType.md | 10 + docs/CalendarEvent.md | 8 +- docs/CreateAvatarRequest.md | 1 + docs/CreatePermissionRequest.md | 12 + docs/CurrentUser.md | 2 + docs/DiscordDetails.md | 13 + docs/EconomyApi.md | 146 +++++ docs/Instance.md | 8 +- docs/LimitedUserFriend.md | 2 +- docs/MiscellaneousApi.md | 308 +++++++++ docs/PlayermoderationApi.md | 10 +- docs/UpdateAvatarRequest.md | 1 + docs/UpdatePermissionRequest.md | 12 + docs/UsersApi.md | 82 +++ package-lock.json | 14 +- package.json | 2 +- setup.py | 4 +- vrchatapi/__init__.py | 7 +- vrchatapi/api/authentication_api.py | 130 +++- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/calendar_api.py | 2 +- vrchatapi/api/economy_api.py | 268 +++++++- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/groups_api.py | 2 +- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/inventory_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/jams_api.py | 2 +- vrchatapi/api/miscellaneous_api.py | 595 +++++++++++++++++- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 17 +- vrchatapi/api/prints_api.py | 2 +- vrchatapi/api/props_api.py | 2 +- vrchatapi/api/users_api.py | 168 ++++- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 +- vrchatapi/exceptions.py | 2 +- vrchatapi/models/__init__.py | 7 +- vrchatapi/models/account_deletion_log.py | 2 +- vrchatapi/models/add_favorite_request.py | 2 +- .../models/add_group_gallery_image_request.py | 2 +- vrchatapi/models/admin_asset_bundle.py | 2 +- vrchatapi/models/admin_unity_package.py | 2 +- vrchatapi/models/age_verification_status.py | 2 +- vrchatapi/models/api_config.py | 2 +- .../models/api_config_access_logs_urls.py | 2 +- vrchatapi/models/api_config_announcement.py | 2 +- .../models/api_config_avatar_perf_limiter.py | 2 +- vrchatapi/models/api_config_constants.py | 2 +- .../models/api_config_constants_groups.py | 2 +- .../models/api_config_constants_instance.py | 2 +- ...ig_constants_instancepopulationbrackets.py | 2 +- ...tants_instancepopulationbracketscrowded.py | 2 +- ...constants_instancepopulationbracketsfew.py | 2 +- ...onstants_instancepopulationbracketsmany.py | 2 +- .../models/api_config_constants_language.py | 2 +- .../models/api_config_download_url_list.py | 2 +- vrchatapi/models/api_config_events.py | 2 +- ...onfig_min_supported_client_build_number.py | 2 +- .../models/api_config_offline_analysis.py | 2 +- .../models/api_config_report_categories.py | 2 +- vrchatapi/models/api_config_report_options.py | 2 +- .../api_config_report_options_avatar.py | 2 +- .../models/api_config_report_options_group.py | 2 +- .../models/api_config_report_options_user.py | 2 +- .../models/api_config_report_options_world.py | 2 +- vrchatapi/models/api_config_report_reasons.py | 2 +- vrchatapi/models/api_health.py | 2 +- vrchatapi/models/avatar.py | 2 +- vrchatapi/models/avatar_moderation.py | 186 ++++++ vrchatapi/models/avatar_moderation_type.py | 110 ++++ vrchatapi/models/avatar_performance.py | 2 +- .../models/avatar_published_listings_inner.py | 2 +- vrchatapi/models/avatar_style.py | 2 +- vrchatapi/models/avatar_styles.py | 2 +- .../models/avatar_unity_package_url_object.py | 2 +- vrchatapi/models/badge.py | 2 +- vrchatapi/models/balance.py | 2 +- vrchatapi/models/ban_group_member_request.py | 2 +- vrchatapi/models/calendar_event.py | 22 +- .../models/calendar_event_user_interest.py | 2 +- vrchatapi/models/change_user_tags_request.py | 2 +- vrchatapi/models/create_avatar_request.py | 32 +- .../models/create_calendar_event_request.py | 2 +- vrchatapi/models/create_file_request.py | 2 +- .../models/create_file_version_request.py | 2 +- .../create_group_announcement_request.py | 2 +- .../models/create_group_gallery_request.py | 2 +- .../models/create_group_invite_request.py | 2 +- vrchatapi/models/create_group_post_request.py | 2 +- vrchatapi/models/create_group_request.py | 2 +- vrchatapi/models/create_group_role_request.py | 2 +- vrchatapi/models/create_instance_request.py | 2 +- vrchatapi/models/create_permission_request.py | 160 +++++ vrchatapi/models/create_world_request.py | 2 +- vrchatapi/models/current_user.py | 58 +- .../current_user_platform_history_inner.py | 2 +- vrchatapi/models/current_user_presence.py | 2 +- vrchatapi/models/developer_type.py | 2 +- vrchatapi/models/disable2_fa_result.py | 2 +- vrchatapi/models/discord_details.py | 159 +++++ vrchatapi/models/dynamic_content_row.py | 2 +- vrchatapi/models/economy_account.py | 2 +- vrchatapi/models/error.py | 2 +- vrchatapi/models/favorite.py | 2 +- vrchatapi/models/favorite_group.py | 2 +- vrchatapi/models/favorite_group_limits.py | 2 +- vrchatapi/models/favorite_group_visibility.py | 2 +- vrchatapi/models/favorite_limits.py | 2 +- vrchatapi/models/favorite_type.py | 2 +- vrchatapi/models/favorited_world.py | 2 +- vrchatapi/models/feedback.py | 2 +- vrchatapi/models/file.py | 2 +- vrchatapi/models/file_analysis.py | 2 +- .../models/file_analysis_avatar_stats.py | 2 +- vrchatapi/models/file_data.py | 2 +- vrchatapi/models/file_status.py | 2 +- vrchatapi/models/file_upload_url.py | 2 +- vrchatapi/models/file_version.py | 2 +- .../models/file_version_upload_status.py | 2 +- .../models/finish_file_data_upload_request.py | 2 +- .../models/follow_calendar_event_request.py | 2 +- vrchatapi/models/friend_status.py | 2 +- .../models/get_group_posts200_response.py | 2 +- .../get_user_group_instances200_response.py | 2 +- vrchatapi/models/group.py | 2 +- vrchatapi/models/group_access_type.py | 2 +- vrchatapi/models/group_announcement.py | 2 +- vrchatapi/models/group_audit_log_entry.py | 2 +- vrchatapi/models/group_gallery.py | 2 +- vrchatapi/models/group_gallery_image.py | 2 +- vrchatapi/models/group_instance.py | 2 +- vrchatapi/models/group_join_request_action.py | 2 +- vrchatapi/models/group_join_state.py | 2 +- vrchatapi/models/group_limited_member.py | 2 +- vrchatapi/models/group_member.py | 2 +- vrchatapi/models/group_member_limited_user.py | 2 +- vrchatapi/models/group_member_status.py | 2 +- vrchatapi/models/group_my_member.py | 2 +- vrchatapi/models/group_permission.py | 2 +- vrchatapi/models/group_permissions.py | 2 +- vrchatapi/models/group_post.py | 2 +- vrchatapi/models/group_post_visibility.py | 2 +- vrchatapi/models/group_privacy.py | 2 +- vrchatapi/models/group_role.py | 2 +- vrchatapi/models/group_role_template.py | 2 +- .../models/group_role_template_values.py | 2 +- .../group_role_template_values_roles.py | 2 +- vrchatapi/models/group_search_sort.py | 2 +- vrchatapi/models/group_user_visibility.py | 2 +- vrchatapi/models/info_push.py | 2 +- vrchatapi/models/info_push_data.py | 2 +- vrchatapi/models/info_push_data_article.py | 2 +- .../models/info_push_data_article_content.py | 2 +- vrchatapi/models/info_push_data_clickable.py | 2 +- vrchatapi/models/instance.py | 7 +- vrchatapi/models/instance_content_settings.py | 2 +- vrchatapi/models/instance_platforms.py | 2 +- vrchatapi/models/instance_region.py | 2 +- .../models/instance_short_name_response.py | 2 +- vrchatapi/models/instance_type.py | 2 +- vrchatapi/models/inventory.py | 2 +- vrchatapi/models/inventory_drop.py | 2 +- vrchatapi/models/inventory_flag.py | 2 +- vrchatapi/models/inventory_item.py | 2 +- vrchatapi/models/inventory_item_type.py | 2 +- vrchatapi/models/inventory_metadata.py | 2 +- .../models/inventory_notification_details.py | 2 +- vrchatapi/models/inventory_spawn.py | 2 +- vrchatapi/models/inventory_template.py | 2 +- vrchatapi/models/invite_message.py | 2 +- vrchatapi/models/invite_message_type.py | 2 +- vrchatapi/models/invite_request.py | 2 +- vrchatapi/models/invite_response.py | 2 +- vrchatapi/models/jam.py | 2 +- vrchatapi/models/jam_state_change_dates.py | 2 +- vrchatapi/models/license.py | 2 +- vrchatapi/models/license_action.py | 2 +- vrchatapi/models/license_group.py | 2 +- vrchatapi/models/license_type.py | 2 +- vrchatapi/models/limited_group.py | 2 +- vrchatapi/models/limited_unity_package.py | 2 +- vrchatapi/models/limited_user_friend.py | 7 +- vrchatapi/models/limited_user_groups.py | 2 +- vrchatapi/models/limited_user_instance.py | 2 +- vrchatapi/models/limited_user_search.py | 2 +- vrchatapi/models/limited_world.py | 2 +- vrchatapi/models/mime_type.py | 2 +- vrchatapi/models/model_print.py | 2 +- vrchatapi/models/moderate_user_request.py | 2 +- vrchatapi/models/notification.py | 2 +- .../models/notification_detail_invite.py | 2 +- .../notification_detail_invite_response.py | 2 +- .../notification_detail_request_invite.py | 2 +- ...fication_detail_request_invite_response.py | 2 +- .../notification_detail_vote_to_kick.py | 2 +- vrchatapi/models/notification_type.py | 2 +- vrchatapi/models/ok_status.py | 2 +- vrchatapi/models/order_option.py | 2 +- .../models/paginated_calendar_event_list.py | 2 +- .../paginated_group_audit_log_entry_list.py | 2 +- vrchatapi/models/past_display_name.py | 2 +- vrchatapi/models/pending2_fa_result.py | 2 +- vrchatapi/models/performance_limiter_info.py | 2 +- vrchatapi/models/performance_ratings.py | 2 +- vrchatapi/models/permission.py | 2 +- vrchatapi/models/platform_build_info.py | 2 +- vrchatapi/models/player_moderation.py | 2 +- vrchatapi/models/player_moderation_type.py | 11 +- vrchatapi/models/print_files.py | 2 +- vrchatapi/models/product.py | 2 +- vrchatapi/models/product_listing.py | 2 +- vrchatapi/models/product_listing_type.py | 2 +- vrchatapi/models/product_listing_variant.py | 2 +- vrchatapi/models/product_type.py | 2 +- vrchatapi/models/prop.py | 2 +- vrchatapi/models/prop_unity_package.py | 2 +- vrchatapi/models/region.py | 2 +- .../models/register_user_account_request.py | 2 +- vrchatapi/models/release_status.py | 2 +- vrchatapi/models/report_category.py | 2 +- vrchatapi/models/report_reason.py | 2 +- vrchatapi/models/represented_group.py | 2 +- vrchatapi/models/request_invite_request.py | 2 +- .../models/respond_group_join_request.py | 2 +- vrchatapi/models/response.py | 2 +- vrchatapi/models/sent_notification.py | 2 +- vrchatapi/models/service_queue_stats.py | 2 +- vrchatapi/models/service_status.py | 2 +- .../share_inventory_item_direct_request.py | 2 +- vrchatapi/models/sort_option.py | 2 +- vrchatapi/models/store.py | 2 +- vrchatapi/models/store_shelf.py | 2 +- vrchatapi/models/store_type.py | 2 +- vrchatapi/models/store_view.py | 2 +- vrchatapi/models/submission.py | 2 +- vrchatapi/models/subscription.py | 2 +- vrchatapi/models/subscription_period.py | 2 +- vrchatapi/models/success.py | 2 +- vrchatapi/models/tilia_status.py | 2 +- vrchatapi/models/tilia_tos.py | 2 +- vrchatapi/models/token_bundle.py | 2 +- vrchatapi/models/transaction.py | 2 +- vrchatapi/models/transaction_agreement.py | 2 +- vrchatapi/models/transaction_status.py | 2 +- vrchatapi/models/transaction_steam_info.py | 2 +- .../models/transaction_steam_wallet_info.py | 2 +- vrchatapi/models/two_factor_auth_code.py | 2 +- vrchatapi/models/two_factor_email_code.py | 2 +- vrchatapi/models/two_factor_recovery_codes.py | 2 +- .../two_factor_recovery_codes_otp_inner.py | 2 +- vrchatapi/models/unity_package.py | 2 +- vrchatapi/models/update_avatar_request.py | 32 +- .../models/update_calendar_event_request.py | 2 +- .../models/update_favorite_group_request.py | 2 +- .../models/update_group_gallery_request.py | 2 +- .../models/update_group_member_request.py | 2 +- .../update_group_representation_request.py | 2 +- vrchatapi/models/update_group_request.py | 2 +- vrchatapi/models/update_group_role_request.py | 2 +- .../models/update_inventory_item_request.py | 2 +- .../models/update_invite_message_request.py | 2 +- vrchatapi/models/update_permission_request.py | 159 +++++ vrchatapi/models/update_user_badge_request.py | 2 +- vrchatapi/models/update_user_note_request.py | 2 +- vrchatapi/models/update_user_request.py | 2 +- vrchatapi/models/update_world_request.py | 2 +- vrchatapi/models/user.py | 2 +- vrchatapi/models/user_exists.py | 2 +- vrchatapi/models/user_note.py | 2 +- vrchatapi/models/user_note_target_user.py | 2 +- vrchatapi/models/user_state.py | 2 +- vrchatapi/models/user_status.py | 2 +- vrchatapi/models/user_subscription.py | 2 +- .../models/user_subscription_eligible.py | 2 +- .../models/verify2_fa_email_code_result.py | 2 +- vrchatapi/models/verify2_fa_result.py | 2 +- vrchatapi/models/verify_auth_token_result.py | 2 +- vrchatapi/models/world.py | 2 +- vrchatapi/models/world_metadata.py | 2 +- vrchatapi/models/world_publish_status.py | 2 +- vrchatapi/rest.py | 2 +- 288 files changed, 3053 insertions(+), 311 deletions(-) create mode 100644 docs/AvatarModeration.md create mode 100644 docs/AvatarModerationType.md create mode 100644 docs/CreatePermissionRequest.md create mode 100644 docs/DiscordDetails.md create mode 100644 docs/UpdatePermissionRequest.md create mode 100644 vrchatapi/models/avatar_moderation.py create mode 100644 vrchatapi/models/avatar_moderation_type.py create mode 100644 vrchatapi/models/create_permission_request.py create mode 100644 vrchatapi/models/discord_details.py create mode 100644 vrchatapi/models/update_permission_request.py diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 545ed457..9a11e197 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -31,6 +31,8 @@ docs/AdminUnityPackage.md docs/AgeVerificationStatus.md docs/AuthenticationApi.md docs/Avatar.md +docs/AvatarModeration.md +docs/AvatarModerationType.md docs/AvatarPerformance.md docs/AvatarPublishedListingsInner.md docs/AvatarStyle.md @@ -55,12 +57,14 @@ docs/CreateGroupPostRequest.md docs/CreateGroupRequest.md docs/CreateGroupRoleRequest.md docs/CreateInstanceRequest.md +docs/CreatePermissionRequest.md docs/CreateWorldRequest.md docs/CurrentUser.md docs/CurrentUserPlatformHistoryInner.md docs/CurrentUserPresence.md docs/DeveloperType.md docs/Disable2FAResult.md +docs/DiscordDetails.md docs/DynamicContentRow.md docs/EconomyAccount.md docs/EconomyApi.md @@ -236,6 +240,7 @@ docs/UpdateGroupRequest.md docs/UpdateGroupRoleRequest.md docs/UpdateInventoryItemRequest.md docs/UpdateInviteMessageRequest.md +docs/UpdatePermissionRequest.md docs/UpdateUserBadgeRequest.md docs/UpdateUserNoteRequest.md docs/UpdateUserRequest.md @@ -318,6 +323,8 @@ vrchatapi/models/api_config_report_options_world.py vrchatapi/models/api_config_report_reasons.py vrchatapi/models/api_health.py vrchatapi/models/avatar.py +vrchatapi/models/avatar_moderation.py +vrchatapi/models/avatar_moderation_type.py vrchatapi/models/avatar_performance.py vrchatapi/models/avatar_published_listings_inner.py vrchatapi/models/avatar_style.py @@ -340,12 +347,14 @@ vrchatapi/models/create_group_post_request.py vrchatapi/models/create_group_request.py vrchatapi/models/create_group_role_request.py vrchatapi/models/create_instance_request.py +vrchatapi/models/create_permission_request.py vrchatapi/models/create_world_request.py vrchatapi/models/current_user.py vrchatapi/models/current_user_platform_history_inner.py vrchatapi/models/current_user_presence.py vrchatapi/models/developer_type.py vrchatapi/models/disable2_fa_result.py +vrchatapi/models/discord_details.py vrchatapi/models/dynamic_content_row.py vrchatapi/models/economy_account.py vrchatapi/models/error.py @@ -507,6 +516,7 @@ vrchatapi/models/update_group_request.py vrchatapi/models/update_group_role_request.py vrchatapi/models/update_inventory_item_request.py vrchatapi/models/update_invite_message_request.py +vrchatapi/models/update_permission_request.py vrchatapi/models/update_user_badge_request.py vrchatapi/models/update_user_note_request.py vrchatapi/models/update_user_request.py diff --git a/docs/AuthenticationApi.md b/docs/AuthenticationApi.md index 9bec437d..ccbde181 100644 --- a/docs/AuthenticationApi.md +++ b/docs/AuthenticationApi.md @@ -11,6 +11,7 @@ Method | HTTP request | Description [**disable2_fa**](AuthenticationApi.md#disable2_fa) | **DELETE** /auth/twofactorauth | Disable 2FA [**enable2_fa**](AuthenticationApi.md#enable2_fa) | **POST** /auth/twofactorauth/totp/pending | Enable time-based 2FA codes [**get_current_user**](AuthenticationApi.md#get_current_user) | **GET** /auth/user | Login and/or Get Current User Info +[**get_global_avatar_moderations**](AuthenticationApi.md#get_global_avatar_moderations) | **GET** /auth/user/avatarmoderations | Get Global Avatar Moderations [**get_recovery_codes**](AuthenticationApi.md#get_recovery_codes) | **GET** /auth/user/twofactorauth/otp | Get 2FA Recovery codes [**logout**](AuthenticationApi.md#logout) | **PUT** /logout | Logout [**register_user_account**](AuthenticationApi.md#register_user_account) | **POST** /auth/register | Register User Account @@ -619,6 +620,76 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_global_avatar_moderations** +> list[AvatarModeration] get_global_avatar_moderations() + +Get Global Avatar Moderations + +Returns list of globally blocked avatars. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.AuthenticationApi(api_client) + + try: + # Get Global Avatar Moderations + api_response = api_instance.get_global_avatar_moderations() + pprint(api_response) + except ApiException as e: + print("Exception when calling AuthenticationApi->get_global_avatar_moderations: %s\n" % e) +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**list[AvatarModeration]**](AvatarModeration.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns list of globally blocked avatars with timestamps | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_recovery_codes** > TwoFactorRecoveryCodes get_recovery_codes() diff --git a/docs/AvatarModeration.md b/docs/AvatarModeration.md new file mode 100644 index 00000000..42d3ee96 --- /dev/null +++ b/docs/AvatarModeration.md @@ -0,0 +1,13 @@ +# AvatarModeration + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**avatar_moderation_type** | [**AvatarModerationType**](AvatarModerationType.md) | | +**created** | **datetime** | | +**target_avatar_id** | **str** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AvatarModerationType.md b/docs/AvatarModerationType.md new file mode 100644 index 00000000..c7443e0e --- /dev/null +++ b/docs/AvatarModerationType.md @@ -0,0 +1,10 @@ +# AvatarModerationType + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CalendarEvent.md b/docs/CalendarEvent.md index 8bde9aed..73459b0b 100644 --- a/docs/CalendarEvent.md +++ b/docs/CalendarEvent.md @@ -6,12 +6,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **access_type** | **str** | | -**category** | **str** | | [optional] +**category** | **str** | | **close_instance_after_end_minutes** | **int** | | [optional] **created_at** | **datetime** | | [optional] **deleted_at** | **datetime** | | [optional] -**description** | **str** | | [optional] -**ends_at** | **datetime** | | [optional] +**description** | **str** | | +**ends_at** | **datetime** | | **featured** | **bool** | | [optional] **guest_early_join_minutes** | **int** | | [optional] **host_early_join_minutes** | **int** | | [optional] @@ -24,7 +24,7 @@ Name | Type | Description | Notes **owner_id** | **str** | | [optional] **platforms** | **list[str]** | | [optional] **role_ids** | **list[str]** | | [optional] -**starts_at** | **datetime** | | [optional] +**starts_at** | **datetime** | | **tags** | **list[str]** | | [optional] **title** | **str** | | **type** | **str** | | [optional] diff --git a/docs/CreateAvatarRequest.md b/docs/CreateAvatarRequest.md index 11cb5eff..6dd84a3d 100644 --- a/docs/CreateAvatarRequest.md +++ b/docs/CreateAvatarRequest.md @@ -17,6 +17,7 @@ Name | Type | Description | Notes **thumbnail_image_url** | **str** | | [optional] **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | [optional] **version** | **int** | | [optional] [default to 1] +**featured** | **bool** | Enabling featured tag requires Admin Credentials. | [optional] **unity_package_url** | **str** | | [optional] **unity_version** | **str** | | [optional] [default to '5.3.4p1'] diff --git a/docs/CreatePermissionRequest.md b/docs/CreatePermissionRequest.md new file mode 100644 index 00000000..0e6ed772 --- /dev/null +++ b/docs/CreatePermissionRequest.md @@ -0,0 +1,12 @@ +# CreatePermissionRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **str** | | +**owner_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CurrentUser.md b/docs/CurrentUser.md index 1dcbbba9..72efe5ce 100644 --- a/docs/CurrentUser.md +++ b/docs/CurrentUser.md @@ -23,6 +23,8 @@ Name | Type | Description | Notes **current_avatar_tags** | **list[str]** | | **date_joined** | **date** | | **developer_type** | [**DeveloperType**](DeveloperType.md) | | +**discord_details** | [**DiscordDetails**](DiscordDetails.md) | | [optional] +**discord_id** | **str** | https://discord.com/developers/docs/reference#snowflakes | [optional] **display_name** | **str** | | **email_verified** | **bool** | | **fallback_avatar** | **str** | | [optional] diff --git a/docs/DiscordDetails.md b/docs/DiscordDetails.md new file mode 100644 index 00000000..31ed894e --- /dev/null +++ b/docs/DiscordDetails.md @@ -0,0 +1,13 @@ +# DiscordDetails + + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**global_name** | **str** | | [optional] +**id** | **str** | https://discord.com/developers/docs/reference#snowflakes | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EconomyApi.md b/docs/EconomyApi.md index 13aa062b..45287808 100644 --- a/docs/EconomyApi.md +++ b/docs/EconomyApi.md @@ -5,6 +5,8 @@ All URIs are relative to *https://api.vrchat.cloud/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- [**get_active_licenses**](EconomyApi.md#get_active_licenses) | **GET** /economy/licenses/active | Get Active Licenses +[**get_admin_transaction**](EconomyApi.md#get_admin_transaction) | **GET** /Admin/transactions/{transactionId} | Get Admin Transactions +[**get_admin_transactions**](EconomyApi.md#get_admin_transactions) | **GET** /Admin/transactions | Get Admin Transactions [**get_balance**](EconomyApi.md#get_balance) | **GET** /user/{userId}/balance | Get Balance [**get_balance_earnings**](EconomyApi.md#get_balance_earnings) | **GET** /user/{userId}/balance/earnings | Get Balance Earnings [**get_current_subscriptions**](EconomyApi.md#get_current_subscriptions) | **GET** /auth/user/subscription | Get Current Subscriptions @@ -93,6 +95,150 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_admin_transaction** +> Transaction get_admin_transaction(transaction_id) + +Get Admin Transactions + +Get a single Admin transactions by ID. This returns the exact same information as `getAdminTransactions`, so no point in using this endpoint. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.EconomyApi(api_client) + transaction_id = 'transaction_id_example' # str | Must be a valid transaction ID. + + try: + # Get Admin Transactions + api_response = api_instance.get_admin_transaction(transaction_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling EconomyApi->get_admin_transaction: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **transaction_id** | **str**| Must be a valid transaction ID. | + +### Return type + +[**Transaction**](Transaction.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single Transaction object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_admin_transactions** +> list[Transaction] get_admin_transactions() + +Get Admin Transactions + +Get all own Admin transactions. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.EconomyApi(api_client) + + try: + # Get Admin Transactions + api_response = api_instance.get_admin_transactions() + pprint(api_response) + except ApiException as e: + print("Exception when calling EconomyApi->get_admin_transactions: %s\n" % e) +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**list[Transaction]**](Transaction.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of Transaction objects. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_balance** > Balance get_balance(user_id) diff --git a/docs/Instance.md b/docs/Instance.md index a6011823..4bbfbd10 100644 --- a/docs/Instance.md +++ b/docs/Instance.md @@ -10,13 +10,13 @@ Name | Type | Description | Notes **can_request_invite** | **bool** | | [default to True] **capacity** | **int** | | **client_number** | **str** | Always returns \"unknown\". | -**content_settings** | [**InstanceContentSettings**](InstanceContentSettings.md) | | -**display_name** | **str** | | +**content_settings** | [**InstanceContentSettings**](InstanceContentSettings.md) | | [optional] +**display_name** | **str** | | [optional] **full** | **bool** | | [default to False] **game_server_version** | **int** | | [optional] **id** | **str** | InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. | **instance_id** | **str** | InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. | -**instance_persistence_enabled** | **str** | | +**instance_persistence_enabled** | **str** | | [optional] **location** | **str** | Represents a unique location, consisting of a world identifier and an instance identifier, or \"offline\" if the user is not on your friends list. | **n_users** | **int** | | **name** | **str** | | @@ -24,7 +24,7 @@ Name | Type | Description | Notes **permanent** | **bool** | | [default to False] **photon_region** | [**Region**](Region.md) | | **platforms** | [**InstancePlatforms**](InstancePlatforms.md) | | -**player_persistence_enabled** | **bool** | | +**player_persistence_enabled** | **bool** | | [optional] **region** | [**InstanceRegion**](InstanceRegion.md) | | **secure_name** | **str** | | **short_name** | **str** | | [optional] diff --git a/docs/LimitedUserFriend.md b/docs/LimitedUserFriend.md index 70906806..e85b6608 100644 --- a/docs/LimitedUserFriend.md +++ b/docs/LimitedUserFriend.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **bio** | **str** | | [optional] **bio_links** | **list[str]** | | [optional] -**current_avatar_image_url** | **str** | When profilePicOverride is not empty, use it instead. | +**current_avatar_image_url** | **str** | When profilePicOverride is not empty, use it instead. | [optional] **current_avatar_thumbnail_image_url** | **str** | When profilePicOverride is not empty, use it instead. | [optional] **current_avatar_tags** | **list[str]** | | [optional] **developer_type** | [**DeveloperType**](DeveloperType.md) | | diff --git a/docs/MiscellaneousApi.md b/docs/MiscellaneousApi.md index 1acb32c7..d560d015 100644 --- a/docs/MiscellaneousApi.md +++ b/docs/MiscellaneousApi.md @@ -4,6 +4,8 @@ All URIs are relative to *https://api.vrchat.cloud/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- +[**create_permission**](MiscellaneousApi.md#create_permission) | **POST** /permissions | Create Permission +[**delete_permission**](MiscellaneousApi.md#delete_permission) | **DELETE** /permissions/{permissionId} | Delete Permission [**get_assigned_permissions**](MiscellaneousApi.md#get_assigned_permissions) | **GET** /auth/permissions | Get Assigned Permissions [**get_config**](MiscellaneousApi.md#get_config) | **GET** /config | Fetch API Config [**get_css**](MiscellaneousApi.md#get_css) | **GET** /css/app.css | Download CSS @@ -12,9 +14,167 @@ Method | HTTP request | Description [**get_info_push**](MiscellaneousApi.md#get_info_push) | **GET** /infoPush | Show Information Notices [**get_java_script**](MiscellaneousApi.md#get_java_script) | **GET** /js/app.js | Download JavaScript [**get_permission**](MiscellaneousApi.md#get_permission) | **GET** /permissions/{permissionId} | Get Permission +[**get_permissions**](MiscellaneousApi.md#get_permissions) | **GET** /permissions | Get Permissions [**get_system_time**](MiscellaneousApi.md#get_system_time) | **GET** /time | Current System Time +[**update_permission**](MiscellaneousApi.md#update_permission) | **PUT** /permissions/{permissionId} | Update Permission +# **create_permission** +> Permission create_permission(n=n, offset=offset, owner_id=owner_id, create_permission_request=create_permission_request) + +Create Permission + +**REQUIRES ADMIN CREDENTIALS**. Creates and returns a new Permission. The permission will by default be owned by the sender of the request unless otherwise specified. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.MiscellaneousApi(api_client) + n = 60 # int | The number of objects to return. (optional) (default to 60) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) +owner_id = 'owner_id_example' # str | Owner of the Permission, MUST be valid UserID. (optional) +create_permission_request = vrchatapi.CreatePermissionRequest() # CreatePermissionRequest | (optional) + + try: + # Create Permission + api_response = api_instance.create_permission(n=n, offset=offset, owner_id=owner_id, create_permission_request=create_permission_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling MiscellaneousApi->create_permission: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + **owner_id** | **str**| Owner of the Permission, MUST be valid UserID. | [optional] + **create_permission_request** | [**CreatePermissionRequest**](CreatePermissionRequest.md)| | [optional] + +### Return type + +[**Permission**](Permission.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single Permission object. | - | +**401** | Error response due to missing auth cookie. | - | +**403** | Error response due to missing Administrator credentials. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_permission** +> Permission delete_permission(permission_id) + +Delete Permission + +**REQUIRES ADMIN CREDENTIALS**. Deletes a permission. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.MiscellaneousApi(api_client) + permission_id = 'permission_id_example' # str | Must be a valid permission ID. + + try: + # Delete Permission + api_response = api_instance.delete_permission(permission_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling MiscellaneousApi->delete_permission: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **permission_id** | **str**| Must be a valid permission ID. | + +### Return type + +[**Permission**](Permission.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single Permission object. | - | +**401** | Error response due to missing auth cookie. | - | +**403** | Error response due to missing Administrator credentials. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_assigned_permissions** > list[Permission] get_assigned_permissions() @@ -527,6 +687,77 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_permissions** +> list[Permission] get_permissions() + +Get Permissions + +**REQUIRES ADMIN CREDENTIALS**. Returns a list of all existing permissions, just like `/users` with empty search would. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.MiscellaneousApi(api_client) + + try: + # Get Permissions + api_response = api_instance.get_permissions() + pprint(api_response) + except ApiException as e: + print("Exception when calling MiscellaneousApi->get_permissions: %s\n" % e) +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**list[Permission]**](Permission.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of Permission objects. | - | +**401** | Error response due to missing auth cookie. | - | +**403** | Error response due to missing Administrator credentials. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_system_time** > datetime get_system_time() @@ -585,3 +816,80 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **update_permission** +> Permission update_permission(permission_id, update_permission_request=update_permission_request) + +Update Permission + +**REQUIRES ADMIN CREDENTIALS**. Updates the info on a permission. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.MiscellaneousApi(api_client) + permission_id = 'permission_id_example' # str | Must be a valid permission ID. +update_permission_request = vrchatapi.UpdatePermissionRequest() # UpdatePermissionRequest | (optional) + + try: + # Update Permission + api_response = api_instance.update_permission(permission_id, update_permission_request=update_permission_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling MiscellaneousApi->update_permission: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **permission_id** | **str**| Must be a valid permission ID. | + **update_permission_request** | [**UpdatePermissionRequest**](UpdatePermissionRequest.md)| | [optional] + +### Return type + +[**Permission**](Permission.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single Permission object. | - | +**401** | Error response due to missing auth cookie. | - | +**403** | Error response due to missing Administrator credentials. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/PlayermoderationApi.md b/docs/PlayermoderationApi.md index 001a9361..9e77fa86 100644 --- a/docs/PlayermoderationApi.md +++ b/docs/PlayermoderationApi.md @@ -81,7 +81,7 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_player_moderations** -> list[PlayerModeration] get_player_moderations(type=type, target_user_id=target_user_id) +> list[PlayerModeration] get_player_moderations(type=type, source_user_id=source_user_id, target_user_id=target_user_id) Search Player Moderations @@ -117,12 +117,13 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.PlayermoderationApi(api_client) - type = 'type_example' # str | Must be one of PlayerModerationType, except unblock. Unblocking simply removes a block. (optional) + type = vrchatapi.PlayerModerationType() # PlayerModerationType | Must be one of PlayerModerationType. (optional) +source_user_id = 'source_user_id_example' # str | Must be valid UserID. Trying to view someone else's moderations results with \"Can't view someone else's player moderations\" error. (optional) target_user_id = 'target_user_id_example' # str | Must be valid UserID. (optional) try: # Search Player Moderations - api_response = api_instance.get_player_moderations(type=type, target_user_id=target_user_id) + api_response = api_instance.get_player_moderations(type=type, source_user_id=source_user_id, target_user_id=target_user_id) pprint(api_response) except ApiException as e: print("Exception when calling PlayermoderationApi->get_player_moderations: %s\n" % e) @@ -132,7 +133,8 @@ target_user_id = 'target_user_id_example' # str | Must be valid UserID. (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **type** | **str**| Must be one of PlayerModerationType, except unblock. Unblocking simply removes a block. | [optional] + **type** | [**PlayerModerationType**](.md)| Must be one of PlayerModerationType. | [optional] + **source_user_id** | **str**| Must be valid UserID. Trying to view someone else's moderations results with \"Can't view someone else's player moderations\" error. | [optional] **target_user_id** | **str**| Must be valid UserID. | [optional] ### Return type diff --git a/docs/UpdateAvatarRequest.md b/docs/UpdateAvatarRequest.md index 7b0b5b5b..52dd0f6d 100644 --- a/docs/UpdateAvatarRequest.md +++ b/docs/UpdateAvatarRequest.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **image_url** | **str** | | [optional] **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | [optional] **version** | **int** | | [optional] [default to 1] +**featured** | **bool** | Enabling featured tag requires Admin Credentials. | [optional] **unity_package_url** | **str** | | [optional] **unity_version** | **str** | | [optional] [default to '5.3.4p1'] diff --git a/docs/UpdatePermissionRequest.md b/docs/UpdatePermissionRequest.md new file mode 100644 index 00000000..a41f35d0 --- /dev/null +++ b/docs/UpdatePermissionRequest.md @@ -0,0 +1,12 @@ +# UpdatePermissionRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **str** | | [optional] +**owner_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/UsersApi.md b/docs/UsersApi.md index 968a3734..f2500abd 100644 --- a/docs/UsersApi.md +++ b/docs/UsersApi.md @@ -17,6 +17,7 @@ Method | HTTP request | Description [**get_user_notes**](UsersApi.md#get_user_notes) | **GET** /userNotes | Get User Notes [**get_user_represented_group**](UsersApi.md#get_user_represented_group) | **GET** /users/{userId}/groups/represented | Get user's current represented group [**remove_tags**](UsersApi.md#remove_tags) | **POST** /users/{userId}/removeTags | Remove User Tags +[**search_active_users**](UsersApi.md#search_active_users) | **GET** /users/active | Search Active Users [**search_users**](UsersApi.md#search_users) | **GET** /users | Search All Users [**update_badge**](UsersApi.md#update_badge) | **PUT** /users/{userId}/badges/{badgeId} | Update User Badge [**update_user**](UsersApi.md#update_user) | **PUT** /users/{userId} | Update User Info @@ -1004,6 +1005,87 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **search_active_users** +> list[LimitedUserFriend] search_active_users(search, developer_type=developer_type, offset=offset, n=n) + +Search Active Users + +**REQUIRES ADMIN CREDENTIALS**. Search and list any Active users by text query. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.UsersApi(api_client) + search = 'search_example' # str | Username to search for +developer_type = 'developer_type_example' # str | Active user by developer type, none for normal users and internal for moderators (optional) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) +n = 60 # int | The number of objects to return. (optional) (default to 60) + + try: + # Search Active Users + api_response = api_instance.search_active_users(search, developer_type=developer_type, offset=offset, n=n) + pprint(api_response) + except ApiException as e: + print("Exception when calling UsersApi->search_active_users: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **search** | **str**| Username to search for | + **developer_type** | **str**| Active user by developer type, none for normal users and internal for moderators | [optional] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + **n** | **int**| The number of objects to return. | [optional] [default to 60] + +### Return type + +[**list[LimitedUserFriend]**](LimitedUserFriend.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Error response due to missing auth cookie. | - | +**403** | Error response due to missing Administrator credentials. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **search_users** > list[LimitedUserSearch] search_users(search=search, developer_type=developer_type, n=n, offset=offset) diff --git a/package-lock.json b/package-lock.json index 5b8ee5fc..daad75fd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.24.0" + "@openapitools/openapi-generator-cli": "^2.25.0" } }, "node_modules/@inquirer/external-editor": { @@ -235,9 +235,9 @@ "integrity": "sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw==" }, "node_modules/@openapitools/openapi-generator-cli": { - "version": "2.24.0", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.24.0.tgz", - "integrity": "sha512-VS0sfW46oe/hQq7g1YZU1cJJebAQIwKhKqjsDY1/QFmcJMXYfe339yjMDTv02kMbsx621cSH46HIdvmW+i+7mg==", + "version": "2.25.0", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.25.0.tgz", + "integrity": "sha512-u/3VAbF8c68AXBgm8nBAdDPLPW/KgrtHz28yemf92zNB0iDZFGdRUX2W80Lzf177g6ctYLz0GIPHCOU0LTJegQ==", "hasInstallScript": true, "dependencies": { "@nestjs/axios": "4.0.1", @@ -2154,9 +2154,9 @@ } }, "@openapitools/openapi-generator-cli": { - "version": "2.24.0", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.24.0.tgz", - "integrity": "sha512-VS0sfW46oe/hQq7g1YZU1cJJebAQIwKhKqjsDY1/QFmcJMXYfe339yjMDTv02kMbsx621cSH46HIdvmW+i+7mg==", + "version": "2.25.0", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.25.0.tgz", + "integrity": "sha512-u/3VAbF8c68AXBgm8nBAdDPLPW/KgrtHz28yemf92zNB0iDZFGdRUX2W80Lzf177g6ctYLz0GIPHCOU0LTJegQ==", "requires": { "@nestjs/axios": "4.0.1", "@nestjs/common": "11.1.6", diff --git a/package.json b/package.json index e813d108..4af5160a 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.24.0" + "@openapitools/openapi-generator-cli": "^2.25.0" } } diff --git a/setup.py b/setup.py index 3370e7da..84f5aa0d 100644 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.20.4" +VERSION = "1.20.5" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index bb099b21..5821823e 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,7 +6,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -78,6 +78,8 @@ from vrchatapi.models.admin_unity_package import AdminUnityPackage from vrchatapi.models.age_verification_status import AgeVerificationStatus from vrchatapi.models.avatar import Avatar +from vrchatapi.models.avatar_moderation import AvatarModeration +from vrchatapi.models.avatar_moderation_type import AvatarModerationType from vrchatapi.models.avatar_performance import AvatarPerformance from vrchatapi.models.avatar_published_listings_inner import AvatarPublishedListingsInner from vrchatapi.models.avatar_style import AvatarStyle @@ -100,12 +102,14 @@ from vrchatapi.models.create_group_request import CreateGroupRequest from vrchatapi.models.create_group_role_request import CreateGroupRoleRequest from vrchatapi.models.create_instance_request import CreateInstanceRequest +from vrchatapi.models.create_permission_request import CreatePermissionRequest from vrchatapi.models.create_world_request import CreateWorldRequest from vrchatapi.models.current_user import CurrentUser from vrchatapi.models.current_user_platform_history_inner import CurrentUserPlatformHistoryInner from vrchatapi.models.current_user_presence import CurrentUserPresence from vrchatapi.models.developer_type import DeveloperType from vrchatapi.models.disable2_fa_result import Disable2FAResult +from vrchatapi.models.discord_details import DiscordDetails from vrchatapi.models.dynamic_content_row import DynamicContentRow from vrchatapi.models.economy_account import EconomyAccount from vrchatapi.models.error import Error @@ -267,6 +271,7 @@ from vrchatapi.models.update_group_role_request import UpdateGroupRoleRequest from vrchatapi.models.update_inventory_item_request import UpdateInventoryItemRequest from vrchatapi.models.update_invite_message_request import UpdateInviteMessageRequest +from vrchatapi.models.update_permission_request import UpdatePermissionRequest from vrchatapi.models.update_user_badge_request import UpdateUserBadgeRequest from vrchatapi.models.update_user_note_request import UpdateUserNoteRequest from vrchatapi.models.update_user_request import UpdateUserRequest diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index a8b13ff8..981a179d 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -983,6 +983,134 @@ def get_current_user_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def get_global_avatar_moderations(self, **kwargs): # noqa: E501 + """Get Global Avatar Moderations # noqa: E501 + + Returns list of globally blocked avatars. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_global_avatar_moderations(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[AvatarModeration] + """ + kwargs['_return_http_data_only'] = True + return self.get_global_avatar_moderations_with_http_info(**kwargs) # noqa: E501 + + def get_global_avatar_moderations_with_http_info(self, **kwargs): # noqa: E501 + """Get Global Avatar Moderations # noqa: E501 + + Returns list of globally blocked avatars. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_global_avatar_moderations_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[AvatarModeration], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_global_avatar_moderations" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[AvatarModeration]", + 401: "Error", + } + + return self.api_client.call_api( + '/auth/user/avatarmoderations', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def get_recovery_codes(self, **kwargs): # noqa: E501 """Get 2FA Recovery codes # noqa: E501 diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index 65c86a2d..803fb777 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/calendar_api.py b/vrchatapi/api/calendar_api.py index 0e36e483..7d7d9556 100644 --- a/vrchatapi/api/calendar_api.py +++ b/vrchatapi/api/calendar_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 5e28d2c3..42b69989 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -164,6 +164,272 @@ def get_active_licenses_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def get_admin_transaction(self, transaction_id, **kwargs): # noqa: E501 + """Get Admin Transactions # noqa: E501 + + Get a single Admin transactions by ID. This returns the exact same information as `getAdminTransactions`, so no point in using this endpoint. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_admin_transaction(transaction_id, async_req=True) + >>> result = thread.get() + + :param transaction_id: Must be a valid transaction ID. (required) + :type transaction_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Transaction + """ + kwargs['_return_http_data_only'] = True + return self.get_admin_transaction_with_http_info(transaction_id, **kwargs) # noqa: E501 + + def get_admin_transaction_with_http_info(self, transaction_id, **kwargs): # noqa: E501 + """Get Admin Transactions # noqa: E501 + + Get a single Admin transactions by ID. This returns the exact same information as `getAdminTransactions`, so no point in using this endpoint. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_admin_transaction_with_http_info(transaction_id, async_req=True) + >>> result = thread.get() + + :param transaction_id: Must be a valid transaction ID. (required) + :type transaction_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Transaction, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'transaction_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_admin_transaction" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'transaction_id' is set + if self.api_client.client_side_validation and local_var_params.get('transaction_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `transaction_id` when calling `get_admin_transaction`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'transaction_id' in local_var_params: + path_params['transactionId'] = local_var_params['transaction_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "Transaction", + 401: "Error", + } + + return self.api_client.call_api( + '/Admin/transactions/{transactionId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_admin_transactions(self, **kwargs): # noqa: E501 + """Get Admin Transactions # noqa: E501 + + Get all own Admin transactions. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_admin_transactions(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[Transaction] + """ + kwargs['_return_http_data_only'] = True + return self.get_admin_transactions_with_http_info(**kwargs) # noqa: E501 + + def get_admin_transactions_with_http_info(self, **kwargs): # noqa: E501 + """Get Admin Transactions # noqa: E501 + + Get all own Admin transactions. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_admin_transactions_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[Transaction], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_admin_transactions" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[Transaction]", + 401: "Error", + } + + return self.api_client.call_api( + '/Admin/transactions', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def get_balance(self, user_id, **kwargs): # noqa: E501 """Get Balance # noqa: E501 diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index f0ee91a6..3275a2de 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index 16f443d1..13666ce6 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index 93b83aa3..d0758c5b 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index bc2ce842..5ce0c528 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 1acaa344..6ab45764 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/inventory_api.py b/vrchatapi/api/inventory_api.py index 33f2949a..5a0558ac 100644 --- a/vrchatapi/api/inventory_api.py +++ b/vrchatapi/api/inventory_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index 0e466f57..2483b2f3 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/jams_api.py b/vrchatapi/api/jams_api.py index f65cf5ed..a4f08a46 100644 --- a/vrchatapi/api/jams_api.py +++ b/vrchatapi/api/jams_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/miscellaneous_api.py b/vrchatapi/api/miscellaneous_api.py index a8985060..fc8f7643 100644 --- a/vrchatapi/api/miscellaneous_api.py +++ b/vrchatapi/api/miscellaneous_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,6 +36,316 @@ def __init__(self, api_client=None): api_client = ApiClient() self.api_client = api_client + def create_permission(self, **kwargs): # noqa: E501 + """Create Permission # noqa: E501 + + **REQUIRES ADMIN CREDENTIALS**. Creates and returns a new Permission. The permission will by default be owned by the sender of the request unless otherwise specified. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.create_permission(async_req=True) + >>> result = thread.get() + + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param owner_id: Owner of the Permission, MUST be valid UserID. + :type owner_id: str + :param create_permission_request: + :type create_permission_request: CreatePermissionRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Permission + """ + kwargs['_return_http_data_only'] = True + return self.create_permission_with_http_info(**kwargs) # noqa: E501 + + def create_permission_with_http_info(self, **kwargs): # noqa: E501 + """Create Permission # noqa: E501 + + **REQUIRES ADMIN CREDENTIALS**. Creates and returns a new Permission. The permission will by default be owned by the sender of the request unless otherwise specified. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.create_permission_with_http_info(async_req=True) + >>> result = thread.get() + + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param owner_id: Owner of the Permission, MUST be valid UserID. + :type owner_id: str + :param create_permission_request: + :type create_permission_request: CreatePermissionRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Permission, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'n', + 'offset', + 'owner_id', + 'create_permission_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method create_permission" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `create_permission`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `create_permission`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `create_permission`, must be a value greater than or equal to `0`") # noqa: E501 + collection_formats = {} + + path_params = {} + + query_params = [] + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + if local_var_params.get('owner_id') is not None: # noqa: E501 + query_params.append(('ownerId', local_var_params['owner_id'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'create_permission_request' in local_var_params: + body_params = local_var_params['create_permission_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "Permission", + 401: "Error", + 403: "Error", + } + + return self.api_client.call_api( + '/permissions', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def delete_permission(self, permission_id, **kwargs): # noqa: E501 + """Delete Permission # noqa: E501 + + **REQUIRES ADMIN CREDENTIALS**. Deletes a permission. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_permission(permission_id, async_req=True) + >>> result = thread.get() + + :param permission_id: Must be a valid permission ID. (required) + :type permission_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Permission + """ + kwargs['_return_http_data_only'] = True + return self.delete_permission_with_http_info(permission_id, **kwargs) # noqa: E501 + + def delete_permission_with_http_info(self, permission_id, **kwargs): # noqa: E501 + """Delete Permission # noqa: E501 + + **REQUIRES ADMIN CREDENTIALS**. Deletes a permission. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_permission_with_http_info(permission_id, async_req=True) + >>> result = thread.get() + + :param permission_id: Must be a valid permission ID. (required) + :type permission_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Permission, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'permission_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_permission" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'permission_id' is set + if self.api_client.client_side_validation and local_var_params.get('permission_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `permission_id` when calling `delete_permission`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'permission_id' in local_var_params: + path_params['permissionId'] = local_var_params['permission_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "Permission", + 401: "Error", + 403: "Error", + } + + return self.api_client.call_api( + '/permissions/{permissionId}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def get_assigned_permissions(self, **kwargs): # noqa: E501 """Get Assigned Permissions # noqa: E501 @@ -1108,6 +1418,135 @@ def get_permission_with_http_info(self, permission_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def get_permissions(self, **kwargs): # noqa: E501 + """Get Permissions # noqa: E501 + + **REQUIRES ADMIN CREDENTIALS**. Returns a list of all existing permissions, just like `/users` with empty search would. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_permissions(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[Permission] + """ + kwargs['_return_http_data_only'] = True + return self.get_permissions_with_http_info(**kwargs) # noqa: E501 + + def get_permissions_with_http_info(self, **kwargs): # noqa: E501 + """Get Permissions # noqa: E501 + + **REQUIRES ADMIN CREDENTIALS**. Returns a list of all existing permissions, just like `/users` with empty search would. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_permissions_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[Permission], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_permissions" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[Permission]", + 401: "Error", + 403: "Error", + } + + return self.api_client.call_api( + '/permissions', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def get_system_time(self, **kwargs): # noqa: E501 """Current System Time # noqa: E501 @@ -1234,3 +1673,157 @@ def get_system_time_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + + def update_permission(self, permission_id, **kwargs): # noqa: E501 + """Update Permission # noqa: E501 + + **REQUIRES ADMIN CREDENTIALS**. Updates the info on a permission. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_permission(permission_id, async_req=True) + >>> result = thread.get() + + :param permission_id: Must be a valid permission ID. (required) + :type permission_id: str + :param update_permission_request: + :type update_permission_request: UpdatePermissionRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Permission + """ + kwargs['_return_http_data_only'] = True + return self.update_permission_with_http_info(permission_id, **kwargs) # noqa: E501 + + def update_permission_with_http_info(self, permission_id, **kwargs): # noqa: E501 + """Update Permission # noqa: E501 + + **REQUIRES ADMIN CREDENTIALS**. Updates the info on a permission. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_permission_with_http_info(permission_id, async_req=True) + >>> result = thread.get() + + :param permission_id: Must be a valid permission ID. (required) + :type permission_id: str + :param update_permission_request: + :type update_permission_request: UpdatePermissionRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Permission, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'permission_id', + 'update_permission_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method update_permission" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'permission_id' is set + if self.api_client.client_side_validation and local_var_params.get('permission_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `permission_id` when calling `update_permission`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'permission_id' in local_var_params: + path_params['permissionId'] = local_var_params['permission_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'update_permission_request' in local_var_params: + body_params = local_var_params['update_permission_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'PUT', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "Permission", + 401: "Error", + 403: "Error", + } + + return self.api_client.call_api( + '/permissions/{permissionId}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index fc01848f..d156b3d3 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index af7d83a1..81106b57 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -174,8 +174,10 @@ def get_player_moderations(self, **kwargs): # noqa: E501 >>> thread = api.get_player_moderations(async_req=True) >>> result = thread.get() - :param type: Must be one of PlayerModerationType, except unblock. Unblocking simply removes a block. - :type type: str + :param type: Must be one of PlayerModerationType. + :type type: PlayerModerationType + :param source_user_id: Must be valid UserID. Trying to view someone else's moderations results with \"Can't view someone else's player moderations\" error. + :type source_user_id: str :param target_user_id: Must be valid UserID. :type target_user_id: str :param async_req: Whether to execute the request asynchronously. @@ -206,8 +208,10 @@ def get_player_moderations_with_http_info(self, **kwargs): # noqa: E501 >>> thread = api.get_player_moderations_with_http_info(async_req=True) >>> result = thread.get() - :param type: Must be one of PlayerModerationType, except unblock. Unblocking simply removes a block. - :type type: str + :param type: Must be one of PlayerModerationType. + :type type: PlayerModerationType + :param source_user_id: Must be valid UserID. Trying to view someone else's moderations results with \"Can't view someone else's player moderations\" error. + :type source_user_id: str :param target_user_id: Must be valid UserID. :type target_user_id: str :param async_req: Whether to execute the request asynchronously. @@ -238,6 +242,7 @@ def get_player_moderations_with_http_info(self, **kwargs): # noqa: E501 all_params = [ 'type', + 'source_user_id', 'target_user_id' ] all_params.extend( @@ -268,6 +273,8 @@ def get_player_moderations_with_http_info(self, **kwargs): # noqa: E501 query_params = [] if local_var_params.get('type') is not None: # noqa: E501 query_params.append(('type', local_var_params['type'])) # noqa: E501 + if local_var_params.get('source_user_id') is not None: # noqa: E501 + query_params.append(('sourceUserId', local_var_params['source_user_id'])) # noqa: E501 if local_var_params.get('target_user_id') is not None: # noqa: E501 query_params.append(('targetUserId', local_var_params['target_user_id'])) # noqa: E501 diff --git a/vrchatapi/api/prints_api.py b/vrchatapi/api/prints_api.py index 32a8b5e0..02e06cf1 100644 --- a/vrchatapi/api/prints_api.py +++ b/vrchatapi/api/prints_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/props_api.py b/vrchatapi/api/props_api.py index 9076dc8d..3156afc8 100644 --- a/vrchatapi/api/props_api.py +++ b/vrchatapi/api/props_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index 6482d5eb..a8146359 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -1920,6 +1920,172 @@ def remove_tags_with_http_info(self, user_id, change_user_tags_request, **kwargs collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def search_active_users(self, search, **kwargs): # noqa: E501 + """Search Active Users # noqa: E501 + + **REQUIRES ADMIN CREDENTIALS**. Search and list any Active users by text query. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.search_active_users(search, async_req=True) + >>> result = thread.get() + + :param search: Username to search for (required) + :type search: str + :param developer_type: Active user by developer type, none for normal users and internal for moderators + :type developer_type: str + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param n: The number of objects to return. + :type n: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[LimitedUserFriend] + """ + kwargs['_return_http_data_only'] = True + return self.search_active_users_with_http_info(search, **kwargs) # noqa: E501 + + def search_active_users_with_http_info(self, search, **kwargs): # noqa: E501 + """Search Active Users # noqa: E501 + + **REQUIRES ADMIN CREDENTIALS**. Search and list any Active users by text query. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.search_active_users_with_http_info(search, async_req=True) + >>> result = thread.get() + + :param search: Username to search for (required) + :type search: str + :param developer_type: Active user by developer type, none for normal users and internal for moderators + :type developer_type: str + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param n: The number of objects to return. + :type n: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[LimitedUserFriend], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'search', + 'developer_type', + 'offset', + 'n' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method search_active_users" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'search' is set + if self.api_client.client_side_validation and local_var_params.get('search') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `search` when calling `search_active_users`") # noqa: E501 + + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `search_active_users`, must be a value greater than or equal to `0`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `search_active_users`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `search_active_users`, must be a value greater than or equal to `1`") # noqa: E501 + collection_formats = {} + + path_params = {} + + query_params = [] + if local_var_params.get('search') is not None: # noqa: E501 + query_params.append(('search', local_var_params['search'])) # noqa: E501 + if local_var_params.get('developer_type') is not None: # noqa: E501 + query_params.append(('developerType', local_var_params['developer_type'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[LimitedUserFriend]", + 401: "Error", + 403: "Error", + } + + return self.api_client.call_api( + '/users/active', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def search_users(self, **kwargs): # noqa: E501 """Search All Users # noqa: E501 diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 4afb5f54..1d3141e9 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index ebf2a94d..f5d07e9e 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,7 +3,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index c0481ac4..cc12c343 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -441,7 +441,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.20.4\n"\ + "Version of the API: 1.20.5\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index f5e37caf..745b226f 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index b90a8c8b..aaca5fcb 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,7 +5,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -45,6 +45,8 @@ from vrchatapi.models.admin_unity_package import AdminUnityPackage from vrchatapi.models.age_verification_status import AgeVerificationStatus from vrchatapi.models.avatar import Avatar +from vrchatapi.models.avatar_moderation import AvatarModeration +from vrchatapi.models.avatar_moderation_type import AvatarModerationType from vrchatapi.models.avatar_performance import AvatarPerformance from vrchatapi.models.avatar_published_listings_inner import AvatarPublishedListingsInner from vrchatapi.models.avatar_style import AvatarStyle @@ -67,12 +69,14 @@ from vrchatapi.models.create_group_request import CreateGroupRequest from vrchatapi.models.create_group_role_request import CreateGroupRoleRequest from vrchatapi.models.create_instance_request import CreateInstanceRequest +from vrchatapi.models.create_permission_request import CreatePermissionRequest from vrchatapi.models.create_world_request import CreateWorldRequest from vrchatapi.models.current_user import CurrentUser from vrchatapi.models.current_user_platform_history_inner import CurrentUserPlatformHistoryInner from vrchatapi.models.current_user_presence import CurrentUserPresence from vrchatapi.models.developer_type import DeveloperType from vrchatapi.models.disable2_fa_result import Disable2FAResult +from vrchatapi.models.discord_details import DiscordDetails from vrchatapi.models.dynamic_content_row import DynamicContentRow from vrchatapi.models.economy_account import EconomyAccount from vrchatapi.models.error import Error @@ -234,6 +238,7 @@ from vrchatapi.models.update_group_role_request import UpdateGroupRoleRequest from vrchatapi.models.update_inventory_item_request import UpdateInventoryItemRequest from vrchatapi.models.update_invite_message_request import UpdateInviteMessageRequest +from vrchatapi.models.update_permission_request import UpdatePermissionRequest from vrchatapi.models.update_user_badge_request import UpdateUserBadgeRequest from vrchatapi.models.update_user_note_request import UpdateUserNoteRequest from vrchatapi.models.update_user_request import UpdateUserRequest diff --git a/vrchatapi/models/account_deletion_log.py b/vrchatapi/models/account_deletion_log.py index fe12211a..05930e46 100644 --- a/vrchatapi/models/account_deletion_log.py +++ b/vrchatapi/models/account_deletion_log.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index 049683ad..e6d183bb 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index 82b6084b..5e62949b 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/admin_asset_bundle.py b/vrchatapi/models/admin_asset_bundle.py index d440825e..2d748072 100644 --- a/vrchatapi/models/admin_asset_bundle.py +++ b/vrchatapi/models/admin_asset_bundle.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/admin_unity_package.py b/vrchatapi/models/admin_unity_package.py index 05cd033f..f54cd440 100644 --- a/vrchatapi/models/admin_unity_package.py +++ b/vrchatapi/models/admin_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/age_verification_status.py b/vrchatapi/models/age_verification_status.py index a6388d32..6ad44665 100644 --- a/vrchatapi/models/age_verification_status.py +++ b/vrchatapi/models/age_verification_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index ed7de893..0890c16c 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_access_logs_urls.py b/vrchatapi/models/api_config_access_logs_urls.py index 14dea11c..8558fc2a 100644 --- a/vrchatapi/models/api_config_access_logs_urls.py +++ b/vrchatapi/models/api_config_access_logs_urls.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index 2c71c2a5..4b6e89b3 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_avatar_perf_limiter.py b/vrchatapi/models/api_config_avatar_perf_limiter.py index b78c89f3..57955938 100644 --- a/vrchatapi/models/api_config_avatar_perf_limiter.py +++ b/vrchatapi/models/api_config_avatar_perf_limiter.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants.py b/vrchatapi/models/api_config_constants.py index dbf311ad..2e676894 100644 --- a/vrchatapi/models/api_config_constants.py +++ b/vrchatapi/models/api_config_constants.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_groups.py b/vrchatapi/models/api_config_constants_groups.py index 8596bce7..471a2535 100644 --- a/vrchatapi/models/api_config_constants_groups.py +++ b/vrchatapi/models/api_config_constants_groups.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instance.py b/vrchatapi/models/api_config_constants_instance.py index 32079a20..fd0046b9 100644 --- a/vrchatapi/models/api_config_constants_instance.py +++ b/vrchatapi/models/api_config_constants_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbrackets.py b/vrchatapi/models/api_config_constants_instancepopulationbrackets.py index 3d5480ed..5de26ece 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbrackets.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbrackets.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py b/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py index b21e3ea2..662ea240 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py b/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py index 96409315..27b03ed1 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py b/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py index 5f8149a5..22c35ab8 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_language.py b/vrchatapi/models/api_config_constants_language.py index df6e0a4a..9a8c82f4 100644 --- a/vrchatapi/models/api_config_constants_language.py +++ b/vrchatapi/models/api_config_constants_language.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index 1330f6f9..63d5a4e1 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index 69f5164c..1def28a9 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_min_supported_client_build_number.py b/vrchatapi/models/api_config_min_supported_client_build_number.py index e7bb8cde..01957e5f 100644 --- a/vrchatapi/models/api_config_min_supported_client_build_number.py +++ b/vrchatapi/models/api_config_min_supported_client_build_number.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_offline_analysis.py b/vrchatapi/models/api_config_offline_analysis.py index 1a853434..6f67d5ff 100644 --- a/vrchatapi/models/api_config_offline_analysis.py +++ b/vrchatapi/models/api_config_offline_analysis.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_categories.py b/vrchatapi/models/api_config_report_categories.py index 67faeafc..06b8b173 100644 --- a/vrchatapi/models/api_config_report_categories.py +++ b/vrchatapi/models/api_config_report_categories.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options.py b/vrchatapi/models/api_config_report_options.py index d2aa0c01..3f8a74ec 100644 --- a/vrchatapi/models/api_config_report_options.py +++ b/vrchatapi/models/api_config_report_options.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options_avatar.py b/vrchatapi/models/api_config_report_options_avatar.py index d935600a..588bd75d 100644 --- a/vrchatapi/models/api_config_report_options_avatar.py +++ b/vrchatapi/models/api_config_report_options_avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options_group.py b/vrchatapi/models/api_config_report_options_group.py index 69f2f185..fd930d29 100644 --- a/vrchatapi/models/api_config_report_options_group.py +++ b/vrchatapi/models/api_config_report_options_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options_user.py b/vrchatapi/models/api_config_report_options_user.py index cb106883..c08e8b55 100644 --- a/vrchatapi/models/api_config_report_options_user.py +++ b/vrchatapi/models/api_config_report_options_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options_world.py b/vrchatapi/models/api_config_report_options_world.py index 50ba5760..661e022e 100644 --- a/vrchatapi/models/api_config_report_options_world.py +++ b/vrchatapi/models/api_config_report_options_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_reasons.py b/vrchatapi/models/api_config_report_reasons.py index 9a608eb3..232c3aa6 100644 --- a/vrchatapi/models/api_config_report_reasons.py +++ b/vrchatapi/models/api_config_report_reasons.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index fe474594..33585400 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index b2e2fd8c..98c9e9f1 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_moderation.py b/vrchatapi/models/avatar_moderation.py new file mode 100644 index 00000000..3839bf36 --- /dev/null +++ b/vrchatapi/models/avatar_moderation.py @@ -0,0 +1,186 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.5 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class AvatarModeration(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'avatar_moderation_type': 'AvatarModerationType', + 'created': 'datetime', + 'target_avatar_id': 'str' + } + + attribute_map = { + 'avatar_moderation_type': 'avatarModerationType', + 'created': 'created', + 'target_avatar_id': 'targetAvatarId' + } + + def __init__(self, avatar_moderation_type=None, created=None, target_avatar_id=None, local_vars_configuration=None): # noqa: E501 + """AvatarModeration - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._avatar_moderation_type = None + self._created = None + self._target_avatar_id = None + self.discriminator = None + + self.avatar_moderation_type = avatar_moderation_type + self.created = created + self.target_avatar_id = target_avatar_id + + @property + def avatar_moderation_type(self): + """Gets the avatar_moderation_type of this AvatarModeration. # noqa: E501 + + + :return: The avatar_moderation_type of this AvatarModeration. # noqa: E501 + :rtype: AvatarModerationType + """ + return self._avatar_moderation_type + + @avatar_moderation_type.setter + def avatar_moderation_type(self, avatar_moderation_type): + """Sets the avatar_moderation_type of this AvatarModeration. + + + :param avatar_moderation_type: The avatar_moderation_type of this AvatarModeration. # noqa: E501 + :type avatar_moderation_type: AvatarModerationType + """ + if self.local_vars_configuration.client_side_validation and avatar_moderation_type is None: # noqa: E501 + raise ValueError("Invalid value for `avatar_moderation_type`, must not be `None`") # noqa: E501 + + self._avatar_moderation_type = avatar_moderation_type + + @property + def created(self): + """Gets the created of this AvatarModeration. # noqa: E501 + + + :return: The created of this AvatarModeration. # noqa: E501 + :rtype: datetime + """ + return self._created + + @created.setter + def created(self, created): + """Sets the created of this AvatarModeration. + + + :param created: The created of this AvatarModeration. # noqa: E501 + :type created: datetime + """ + if self.local_vars_configuration.client_side_validation and created is None: # noqa: E501 + raise ValueError("Invalid value for `created`, must not be `None`") # noqa: E501 + + self._created = created + + @property + def target_avatar_id(self): + """Gets the target_avatar_id of this AvatarModeration. # noqa: E501 + + + :return: The target_avatar_id of this AvatarModeration. # noqa: E501 + :rtype: str + """ + return self._target_avatar_id + + @target_avatar_id.setter + def target_avatar_id(self, target_avatar_id): + """Sets the target_avatar_id of this AvatarModeration. + + + :param target_avatar_id: The target_avatar_id of this AvatarModeration. # noqa: E501 + :type target_avatar_id: str + """ + if self.local_vars_configuration.client_side_validation and target_avatar_id is None: # noqa: E501 + raise ValueError("Invalid value for `target_avatar_id`, must not be `None`") # noqa: E501 + + self._target_avatar_id = target_avatar_id + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AvatarModeration): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, AvatarModeration): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/avatar_moderation_type.py b/vrchatapi/models/avatar_moderation_type.py new file mode 100644 index 00000000..a23c2ace --- /dev/null +++ b/vrchatapi/models/avatar_moderation_type.py @@ -0,0 +1,110 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.5 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class AvatarModerationType(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + BLOCK = "block" + + allowable_values = [BLOCK] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """AvatarModerationType - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AvatarModerationType): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, AvatarModerationType): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/avatar_performance.py b/vrchatapi/models/avatar_performance.py index 6b8806d6..b4cbc1b4 100644 --- a/vrchatapi/models/avatar_performance.py +++ b/vrchatapi/models/avatar_performance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_published_listings_inner.py b/vrchatapi/models/avatar_published_listings_inner.py index 098a8e9e..09f319ab 100644 --- a/vrchatapi/models/avatar_published_listings_inner.py +++ b/vrchatapi/models/avatar_published_listings_inner.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_style.py b/vrchatapi/models/avatar_style.py index dedbf15a..37d22317 100644 --- a/vrchatapi/models/avatar_style.py +++ b/vrchatapi/models/avatar_style.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_styles.py b/vrchatapi/models/avatar_styles.py index f5a2258c..48627163 100644 --- a/vrchatapi/models/avatar_styles.py +++ b/vrchatapi/models/avatar_styles.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index 8720fa34..c55b8063 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/badge.py b/vrchatapi/models/badge.py index 9b377cdc..8d266e36 100644 --- a/vrchatapi/models/badge.py +++ b/vrchatapi/models/badge.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/balance.py b/vrchatapi/models/balance.py index f0d2e18a..23f8ad65 100644 --- a/vrchatapi/models/balance.py +++ b/vrchatapi/models/balance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index 60db3176..d71dc2b7 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/calendar_event.py b/vrchatapi/models/calendar_event.py index 229c0901..813038bf 100644 --- a/vrchatapi/models/calendar_event.py +++ b/vrchatapi/models/calendar_event.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -128,17 +128,14 @@ def __init__(self, access_type=None, category=None, close_instance_after_end_min self.discriminator = None self.access_type = access_type - if category is not None: - self.category = category + self.category = category if close_instance_after_end_minutes is not None: self.close_instance_after_end_minutes = close_instance_after_end_minutes if created_at is not None: self.created_at = created_at self.deleted_at = deleted_at - if description is not None: - self.description = description - if ends_at is not None: - self.ends_at = ends_at + self.description = description + self.ends_at = ends_at if featured is not None: self.featured = featured if guest_early_join_minutes is not None: @@ -160,8 +157,7 @@ def __init__(self, access_type=None, category=None, close_instance_after_end_min if platforms is not None: self.platforms = platforms self.role_ids = role_ids - if starts_at is not None: - self.starts_at = starts_at + self.starts_at = starts_at if tags is not None: self.tags = tags self.title = title @@ -215,6 +211,8 @@ def category(self, category): :param category: The category of this CalendarEvent. # noqa: E501 :type category: str """ + if self.local_vars_configuration.client_side_validation and category is None: # noqa: E501 + raise ValueError("Invalid value for `category`, must not be `None`") # noqa: E501 self._category = category @@ -299,6 +297,8 @@ def description(self, description): :param description: The description of this CalendarEvent. # noqa: E501 :type description: str """ + if self.local_vars_configuration.client_side_validation and description is None: # noqa: E501 + raise ValueError("Invalid value for `description`, must not be `None`") # noqa: E501 self._description = description @@ -320,6 +320,8 @@ def ends_at(self, ends_at): :param ends_at: The ends_at of this CalendarEvent. # noqa: E501 :type ends_at: datetime """ + if self.local_vars_configuration.client_side_validation and ends_at is None: # noqa: E501 + raise ValueError("Invalid value for `ends_at`, must not be `None`") # noqa: E501 self._ends_at = ends_at @@ -601,6 +603,8 @@ def starts_at(self, starts_at): :param starts_at: The starts_at of this CalendarEvent. # noqa: E501 :type starts_at: datetime """ + if self.local_vars_configuration.client_side_validation and starts_at is None: # noqa: E501 + raise ValueError("Invalid value for `starts_at`, must not be `None`") # noqa: E501 self._starts_at = starts_at diff --git a/vrchatapi/models/calendar_event_user_interest.py b/vrchatapi/models/calendar_event_user_interest.py index 98a682e6..c94ef197 100644 --- a/vrchatapi/models/calendar_event_user_interest.py +++ b/vrchatapi/models/calendar_event_user_interest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/change_user_tags_request.py b/vrchatapi/models/change_user_tags_request.py index 81736a1b..5f50836b 100644 --- a/vrchatapi/models/change_user_tags_request.py +++ b/vrchatapi/models/change_user_tags_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index dfd3c629..b492b9bc 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -49,6 +49,7 @@ class CreateAvatarRequest(object): 'thumbnail_image_url': 'str', 'release_status': 'ReleaseStatus', 'version': 'int', + 'featured': 'bool', 'unity_package_url': 'str', 'unity_version': 'str' } @@ -67,11 +68,12 @@ class CreateAvatarRequest(object): 'thumbnail_image_url': 'thumbnailImageUrl', 'release_status': 'releaseStatus', 'version': 'version', + 'featured': 'featured', 'unity_package_url': 'unityPackageUrl', 'unity_version': 'unityVersion' } - def __init__(self, asset_url=None, asset_version=None, platform=None, created_at=None, updated_at=None, id=None, name=None, description=None, tags=None, image_url=None, thumbnail_image_url=None, release_status=None, version=1, unity_package_url=None, unity_version='5.3.4p1', local_vars_configuration=None): # noqa: E501 + def __init__(self, asset_url=None, asset_version=None, platform=None, created_at=None, updated_at=None, id=None, name=None, description=None, tags=None, image_url=None, thumbnail_image_url=None, release_status=None, version=1, featured=None, unity_package_url=None, unity_version='5.3.4p1', local_vars_configuration=None): # noqa: E501 """CreateAvatarRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -90,6 +92,7 @@ def __init__(self, asset_url=None, asset_version=None, platform=None, created_at self._thumbnail_image_url = None self._release_status = None self._version = None + self._featured = None self._unity_package_url = None self._unity_version = None self.discriminator = None @@ -118,6 +121,8 @@ def __init__(self, asset_url=None, asset_version=None, platform=None, created_at self.release_status = release_status if version is not None: self.version = version + if featured is not None: + self.featured = featured if unity_package_url is not None: self.unity_package_url = unity_package_url if unity_version is not None: @@ -423,6 +428,29 @@ def version(self, version): self._version = version + @property + def featured(self): + """Gets the featured of this CreateAvatarRequest. # noqa: E501 + + Enabling featured tag requires Admin Credentials. # noqa: E501 + + :return: The featured of this CreateAvatarRequest. # noqa: E501 + :rtype: bool + """ + return self._featured + + @featured.setter + def featured(self, featured): + """Sets the featured of this CreateAvatarRequest. + + Enabling featured tag requires Admin Credentials. # noqa: E501 + + :param featured: The featured of this CreateAvatarRequest. # noqa: E501 + :type featured: bool + """ + + self._featured = featured + @property def unity_package_url(self): """Gets the unity_package_url of this CreateAvatarRequest. # noqa: E501 diff --git a/vrchatapi/models/create_calendar_event_request.py b/vrchatapi/models/create_calendar_event_request.py index 812597ed..a21efe4e 100644 --- a/vrchatapi/models/create_calendar_event_request.py +++ b/vrchatapi/models/create_calendar_event_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index b02be8c1..b5dffafb 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index b495b85d..0ecfb637 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index 54a6b727..de96e7e8 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index 16b49bdc..3748b84a 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index d5dbe8ae..3d87977f 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_post_request.py b/vrchatapi/models/create_group_post_request.py index cc79c11e..4ac57f38 100644 --- a/vrchatapi/models/create_group_post_request.py +++ b/vrchatapi/models/create_group_post_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index 9d5dd7e8..bad8f50d 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index c5d19d34..f688220a 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_instance_request.py b/vrchatapi/models/create_instance_request.py index d9c62386..e9eb2c55 100644 --- a/vrchatapi/models/create_instance_request.py +++ b/vrchatapi/models/create_instance_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_permission_request.py b/vrchatapi/models/create_permission_request.py new file mode 100644 index 00000000..59cf46ee --- /dev/null +++ b/vrchatapi/models/create_permission_request.py @@ -0,0 +1,160 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.5 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class CreatePermissionRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'name': 'str', + 'owner_id': 'str' + } + + attribute_map = { + 'name': 'name', + 'owner_id': 'ownerId' + } + + def __init__(self, name=None, owner_id=None, local_vars_configuration=None): # noqa: E501 + """CreatePermissionRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._name = None + self._owner_id = None + self.discriminator = None + + self.name = name + if owner_id is not None: + self.owner_id = owner_id + + @property + def name(self): + """Gets the name of this CreatePermissionRequest. # noqa: E501 + + + :return: The name of this CreatePermissionRequest. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this CreatePermissionRequest. + + + :param name: The name of this CreatePermissionRequest. # noqa: E501 + :type name: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + + @property + def owner_id(self): + """Gets the owner_id of this CreatePermissionRequest. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The owner_id of this CreatePermissionRequest. # noqa: E501 + :rtype: str + """ + return self._owner_id + + @owner_id.setter + def owner_id(self, owner_id): + """Sets the owner_id of this CreatePermissionRequest. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param owner_id: The owner_id of this CreatePermissionRequest. # noqa: E501 + :type owner_id: str + """ + + self._owner_id = owner_id + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CreatePermissionRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, CreatePermissionRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index 561753ba..60967e62 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index ad144bcb..800cb92d 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -55,6 +55,8 @@ class CurrentUser(object): 'current_avatar_tags': 'list[str]', 'date_joined': 'date', 'developer_type': 'DeveloperType', + 'discord_details': 'DiscordDetails', + 'discord_id': 'str', 'display_name': 'str', 'email_verified': 'bool', 'fallback_avatar': 'str', @@ -131,6 +133,8 @@ class CurrentUser(object): 'current_avatar_tags': 'currentAvatarTags', 'date_joined': 'date_joined', 'developer_type': 'developerType', + 'discord_details': 'discordDetails', + 'discord_id': 'discordId', 'display_name': 'displayName', 'email_verified': 'emailVerified', 'fallback_avatar': 'fallbackAvatar', @@ -187,7 +191,7 @@ class CurrentUser(object): 'username': 'username' } - def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, account_deletion_date=None, account_deletion_log=None, active_friends=None, age_verification_status=None, age_verified=None, allow_avatar_copying=None, auth_token=None, badges=None, bio=None, bio_links=None, content_filters=None, current_avatar=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, date_joined=None, developer_type=None, display_name=None, email_verified=None, fallback_avatar=None, friend_group_names=None, friend_key=None, friends=None, has_birthday=None, hide_content_filter_settings=None, user_language=None, user_language_code=None, has_email=None, has_logged_in_from_client=None, has_pending_email=None, home_location=None, id=None, is_adult=None, is_booping_enabled=True, is_friend=False, last_activity=None, last_login=None, last_mobile=None, last_platform=None, obfuscated_email=None, obfuscated_pending_email=None, oculus_id=None, google_id=None, google_details=None, pico_id=None, vive_id=None, offline_friends=None, online_friends=None, past_display_names=None, presence=None, platform_history=None, profile_pic_override=None, profile_pic_override_thumbnail=None, pronouns=None, pronouns_history=None, queued_instance=None, receive_mobile_invitations=None, state=None, status=None, status_description=None, status_first_time=None, status_history=None, steam_details=None, steam_id=None, tags=None, two_factor_auth_enabled=None, two_factor_auth_enabled_date=None, unsubscribe=None, updated_at=None, user_icon=None, username=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, account_deletion_date=None, account_deletion_log=None, active_friends=None, age_verification_status=None, age_verified=None, allow_avatar_copying=None, auth_token=None, badges=None, bio=None, bio_links=None, content_filters=None, current_avatar=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, date_joined=None, developer_type=None, discord_details=None, discord_id=None, display_name=None, email_verified=None, fallback_avatar=None, friend_group_names=None, friend_key=None, friends=None, has_birthday=None, hide_content_filter_settings=None, user_language=None, user_language_code=None, has_email=None, has_logged_in_from_client=None, has_pending_email=None, home_location=None, id=None, is_adult=None, is_booping_enabled=True, is_friend=False, last_activity=None, last_login=None, last_mobile=None, last_platform=None, obfuscated_email=None, obfuscated_pending_email=None, oculus_id=None, google_id=None, google_details=None, pico_id=None, vive_id=None, offline_friends=None, online_friends=None, past_display_names=None, presence=None, platform_history=None, profile_pic_override=None, profile_pic_override_thumbnail=None, pronouns=None, pronouns_history=None, queued_instance=None, receive_mobile_invitations=None, state=None, status=None, status_description=None, status_first_time=None, status_history=None, steam_details=None, steam_id=None, tags=None, two_factor_auth_enabled=None, two_factor_auth_enabled_date=None, unsubscribe=None, updated_at=None, user_icon=None, username=None, local_vars_configuration=None): # noqa: E501 """CurrentUser - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -212,6 +216,8 @@ def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, acc self._current_avatar_tags = None self._date_joined = None self._developer_type = None + self._discord_details = None + self._discord_id = None self._display_name = None self._email_verified = None self._fallback_avatar = None @@ -292,6 +298,10 @@ def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, acc self.current_avatar_tags = current_avatar_tags self.date_joined = date_joined self.developer_type = developer_type + if discord_details is not None: + self.discord_details = discord_details + if discord_id is not None: + self.discord_id = discord_id self.display_name = display_name self.email_verified = email_verified if fallback_avatar is not None: @@ -809,6 +819,50 @@ def developer_type(self, developer_type): self._developer_type = developer_type + @property + def discord_details(self): + """Gets the discord_details of this CurrentUser. # noqa: E501 + + + :return: The discord_details of this CurrentUser. # noqa: E501 + :rtype: DiscordDetails + """ + return self._discord_details + + @discord_details.setter + def discord_details(self, discord_details): + """Sets the discord_details of this CurrentUser. + + + :param discord_details: The discord_details of this CurrentUser. # noqa: E501 + :type discord_details: DiscordDetails + """ + + self._discord_details = discord_details + + @property + def discord_id(self): + """Gets the discord_id of this CurrentUser. # noqa: E501 + + https://discord.com/developers/docs/reference#snowflakes # noqa: E501 + + :return: The discord_id of this CurrentUser. # noqa: E501 + :rtype: str + """ + return self._discord_id + + @discord_id.setter + def discord_id(self, discord_id): + """Sets the discord_id of this CurrentUser. + + https://discord.com/developers/docs/reference#snowflakes # noqa: E501 + + :param discord_id: The discord_id of this CurrentUser. # noqa: E501 + :type discord_id: str + """ + + self._discord_id = discord_id + @property def display_name(self): """Gets the display_name of this CurrentUser. # noqa: E501 diff --git a/vrchatapi/models/current_user_platform_history_inner.py b/vrchatapi/models/current_user_platform_history_inner.py index 70d90053..c435ca90 100644 --- a/vrchatapi/models/current_user_platform_history_inner.py +++ b/vrchatapi/models/current_user_platform_history_inner.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user_presence.py b/vrchatapi/models/current_user_presence.py index 47d86ad9..5cbeb465 100644 --- a/vrchatapi/models/current_user_presence.py +++ b/vrchatapi/models/current_user_presence.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index 564f27fe..94f8d919 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/disable2_fa_result.py b/vrchatapi/models/disable2_fa_result.py index f221f307..f6f46b78 100644 --- a/vrchatapi/models/disable2_fa_result.py +++ b/vrchatapi/models/disable2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/discord_details.py b/vrchatapi/models/discord_details.py new file mode 100644 index 00000000..c309c5e5 --- /dev/null +++ b/vrchatapi/models/discord_details.py @@ -0,0 +1,159 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.5 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class DiscordDetails(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'global_name': 'str', + 'id': 'str' + } + + attribute_map = { + 'global_name': 'global_name', + 'id': 'id' + } + + def __init__(self, global_name=None, id=None, local_vars_configuration=None): # noqa: E501 + """DiscordDetails - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._global_name = None + self._id = None + self.discriminator = None + + if global_name is not None: + self.global_name = global_name + if id is not None: + self.id = id + + @property + def global_name(self): + """Gets the global_name of this DiscordDetails. # noqa: E501 + + + :return: The global_name of this DiscordDetails. # noqa: E501 + :rtype: str + """ + return self._global_name + + @global_name.setter + def global_name(self, global_name): + """Sets the global_name of this DiscordDetails. + + + :param global_name: The global_name of this DiscordDetails. # noqa: E501 + :type global_name: str + """ + + self._global_name = global_name + + @property + def id(self): + """Gets the id of this DiscordDetails. # noqa: E501 + + https://discord.com/developers/docs/reference#snowflakes # noqa: E501 + + :return: The id of this DiscordDetails. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this DiscordDetails. + + https://discord.com/developers/docs/reference#snowflakes # noqa: E501 + + :param id: The id of this DiscordDetails. # noqa: E501 + :type id: str + """ + + self._id = id + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, DiscordDetails): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, DiscordDetails): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index b61aa246..799b46eb 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/economy_account.py b/vrchatapi/models/economy_account.py index a18d4a39..94412a0f 100644 --- a/vrchatapi/models/economy_account.py +++ b/vrchatapi/models/economy_account.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index b6f2a863..0a573c54 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index dacf5a12..06cc3078 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index d3e8c879..6d82461e 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_limits.py b/vrchatapi/models/favorite_group_limits.py index df900cfb..5cc4d677 100644 --- a/vrchatapi/models/favorite_group_limits.py +++ b/vrchatapi/models/favorite_group_limits.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index be02fe1b..71279261 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_limits.py b/vrchatapi/models/favorite_limits.py index e9a55b1d..474b2213 100644 --- a/vrchatapi/models/favorite_limits.py +++ b/vrchatapi/models/favorite_limits.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index 5985d0cb..f4dddcb7 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorited_world.py b/vrchatapi/models/favorited_world.py index 841bc79f..a109857a 100644 --- a/vrchatapi/models/favorited_world.py +++ b/vrchatapi/models/favorited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/feedback.py b/vrchatapi/models/feedback.py index b35fcf10..28975195 100644 --- a/vrchatapi/models/feedback.py +++ b/vrchatapi/models/feedback.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index 27c67af3..24b402fd 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_analysis.py b/vrchatapi/models/file_analysis.py index 054e6c86..9c2c2add 100644 --- a/vrchatapi/models/file_analysis.py +++ b/vrchatapi/models/file_analysis.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_analysis_avatar_stats.py b/vrchatapi/models/file_analysis_avatar_stats.py index e26c1fea..1cd45a83 100644 --- a/vrchatapi/models/file_analysis_avatar_stats.py +++ b/vrchatapi/models/file_analysis_avatar_stats.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index 3d3c22c2..c1fbf4ab 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index 6cc39fde..8ed1ace6 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index 76b8be79..e241a16e 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index b046d936..5af8a010 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index 3a408304..33baf139 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index b2f558ef..9f77f984 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/follow_calendar_event_request.py b/vrchatapi/models/follow_calendar_event_request.py index 1d83daeb..8295061d 100644 --- a/vrchatapi/models/follow_calendar_event_request.py +++ b/vrchatapi/models/follow_calendar_event_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index 33272f24..ae95c6e5 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/get_group_posts200_response.py b/vrchatapi/models/get_group_posts200_response.py index 75dc0dad..974badcc 100644 --- a/vrchatapi/models/get_group_posts200_response.py +++ b/vrchatapi/models/get_group_posts200_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/get_user_group_instances200_response.py b/vrchatapi/models/get_user_group_instances200_response.py index 2de35144..df1241f0 100644 --- a/vrchatapi/models/get_user_group_instances200_response.py +++ b/vrchatapi/models/get_user_group_instances200_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index 5e7bd0ba..e23b0898 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_access_type.py b/vrchatapi/models/group_access_type.py index 832bdeef..fc4eeeac 100644 --- a/vrchatapi/models/group_access_type.py +++ b/vrchatapi/models/group_access_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index 4318f52f..298c4b29 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index bb898a95..c1d780c3 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index 2d731749..877b3e6d 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index 92569784..a024b09c 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_instance.py b/vrchatapi/models/group_instance.py index dcdf513c..c4544e0a 100644 --- a/vrchatapi/models/group_instance.py +++ b/vrchatapi/models/group_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_request_action.py b/vrchatapi/models/group_join_request_action.py index 9984e04f..0cab62cb 100644 --- a/vrchatapi/models/group_join_request_action.py +++ b/vrchatapi/models/group_join_request_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index bab8dd3d..4c79b744 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index 740b3c7e..cef0c8e6 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index aebbf962..9ad06e1d 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index d5030852..bf282d7a 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index 7d1521b5..5b15567f 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index 3d58f7df..930fe02d 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index f27339c0..3cc8656a 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permissions.py b/vrchatapi/models/group_permissions.py index 3e3f2147..57b902e3 100644 --- a/vrchatapi/models/group_permissions.py +++ b/vrchatapi/models/group_permissions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post.py b/vrchatapi/models/group_post.py index 02ff934d..017374c3 100644 --- a/vrchatapi/models/group_post.py +++ b/vrchatapi/models/group_post.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post_visibility.py b/vrchatapi/models/group_post_visibility.py index be74f63a..5134b5cc 100644 --- a/vrchatapi/models/group_post_visibility.py +++ b/vrchatapi/models/group_post_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index 38c00d0c..f40bbf83 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index bdba756b..e1064f1e 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index dcfd77cf..4bf2fd24 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template_values.py b/vrchatapi/models/group_role_template_values.py index e0ee17f6..7810b17b 100644 --- a/vrchatapi/models/group_role_template_values.py +++ b/vrchatapi/models/group_role_template_values.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template_values_roles.py b/vrchatapi/models/group_role_template_values_roles.py index a4c5363a..7df5bf41 100644 --- a/vrchatapi/models/group_role_template_values_roles.py +++ b/vrchatapi/models/group_role_template_values_roles.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_search_sort.py b/vrchatapi/models/group_search_sort.py index fad6a397..5bf25081 100644 --- a/vrchatapi/models/group_search_sort.py +++ b/vrchatapi/models/group_search_sort.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index 05aadfdb..ef11bebf 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index 7f2a5781..b39695ef 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index 67cc89e5..33d319c1 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index 217cc950..7b3f9921 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index a8e918be..832f6bce 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index a97785f1..6b5f3375 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index 0c867ce7..8549dd40 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -180,7 +180,8 @@ def __init__(self, active=True, age_gate=None, can_request_invite=True, capacity self.can_request_invite = can_request_invite self.capacity = capacity self.client_number = client_number - self.content_settings = content_settings + if content_settings is not None: + self.content_settings = content_settings self.display_name = display_name self.full = full if game_server_version is not None: @@ -366,8 +367,6 @@ def content_settings(self, content_settings): :param content_settings: The content_settings of this Instance. # noqa: E501 :type content_settings: InstanceContentSettings """ - if self.local_vars_configuration.client_side_validation and content_settings is None: # noqa: E501 - raise ValueError("Invalid value for `content_settings`, must not be `None`") # noqa: E501 self._content_settings = content_settings diff --git a/vrchatapi/models/instance_content_settings.py b/vrchatapi/models/instance_content_settings.py index 333b9c70..b9497e46 100644 --- a/vrchatapi/models/instance_content_settings.py +++ b/vrchatapi/models/instance_content_settings.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index fb52a2be..10865f01 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_region.py b/vrchatapi/models/instance_region.py index ce980edf..b0969949 100644 --- a/vrchatapi/models/instance_region.py +++ b/vrchatapi/models/instance_region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index 6abdd6a0..23015072 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index 9d02fa88..f8299ca7 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory.py b/vrchatapi/models/inventory.py index 3a451cf6..cc3014e9 100644 --- a/vrchatapi/models/inventory.py +++ b/vrchatapi/models/inventory.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_drop.py b/vrchatapi/models/inventory_drop.py index 103068e2..a1a15389 100644 --- a/vrchatapi/models/inventory_drop.py +++ b/vrchatapi/models/inventory_drop.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_flag.py b/vrchatapi/models/inventory_flag.py index 9bb64989..2a970b88 100644 --- a/vrchatapi/models/inventory_flag.py +++ b/vrchatapi/models/inventory_flag.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_item.py b/vrchatapi/models/inventory_item.py index 4c6f407a..ffb44b72 100644 --- a/vrchatapi/models/inventory_item.py +++ b/vrchatapi/models/inventory_item.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_item_type.py b/vrchatapi/models/inventory_item_type.py index 16a6e911..fb54ae6d 100644 --- a/vrchatapi/models/inventory_item_type.py +++ b/vrchatapi/models/inventory_item_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_metadata.py b/vrchatapi/models/inventory_metadata.py index 9bfd56b8..5ccfccf8 100644 --- a/vrchatapi/models/inventory_metadata.py +++ b/vrchatapi/models/inventory_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_notification_details.py b/vrchatapi/models/inventory_notification_details.py index 1bda728d..096beabe 100644 --- a/vrchatapi/models/inventory_notification_details.py +++ b/vrchatapi/models/inventory_notification_details.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_spawn.py b/vrchatapi/models/inventory_spawn.py index 444757de..a7d9141e 100644 --- a/vrchatapi/models/inventory_spawn.py +++ b/vrchatapi/models/inventory_spawn.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_template.py b/vrchatapi/models/inventory_template.py index 9ff99fd6..901784e5 100644 --- a/vrchatapi/models/inventory_template.py +++ b/vrchatapi/models/inventory_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index 99843d64..8da7c1cd 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index 08ac1848..86147e2b 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index e9e0cce8..b67f52a1 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index 885d8349..e3ba0177 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/jam.py b/vrchatapi/models/jam.py index 99986a30..5dc13619 100644 --- a/vrchatapi/models/jam.py +++ b/vrchatapi/models/jam.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/jam_state_change_dates.py b/vrchatapi/models/jam_state_change_dates.py index a6d1bccf..4b42c10f 100644 --- a/vrchatapi/models/jam_state_change_dates.py +++ b/vrchatapi/models/jam_state_change_dates.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index 024d538b..065631ea 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index 1ef38753..14c2b5bf 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index 356e8245..2b1726c9 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index c9be456a..768fa0d1 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_group.py b/vrchatapi/models/limited_group.py index 245b7acd..53bbe2c2 100644 --- a/vrchatapi/models/limited_group.py +++ b/vrchatapi/models/limited_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index d0b8ebc4..644f2d9e 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user_friend.py b/vrchatapi/models/limited_user_friend.py index 6b45ea56..af16d491 100644 --- a/vrchatapi/models/limited_user_friend.py +++ b/vrchatapi/models/limited_user_friend.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -122,7 +122,8 @@ def __init__(self, bio=None, bio_links=None, current_avatar_image_url=None, curr self.bio = bio if bio_links is not None: self.bio_links = bio_links - self.current_avatar_image_url = current_avatar_image_url + if current_avatar_image_url is not None: + self.current_avatar_image_url = current_avatar_image_url if current_avatar_thumbnail_image_url is not None: self.current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url if current_avatar_tags is not None: @@ -213,8 +214,6 @@ def current_avatar_image_url(self, current_avatar_image_url): :param current_avatar_image_url: The current_avatar_image_url of this LimitedUserFriend. # noqa: E501 :type current_avatar_image_url: str """ - if self.local_vars_configuration.client_side_validation and current_avatar_image_url is None: # noqa: E501 - raise ValueError("Invalid value for `current_avatar_image_url`, must not be `None`") # noqa: E501 self._current_avatar_image_url = current_avatar_image_url diff --git a/vrchatapi/models/limited_user_groups.py b/vrchatapi/models/limited_user_groups.py index a1a4e320..d91696de 100644 --- a/vrchatapi/models/limited_user_groups.py +++ b/vrchatapi/models/limited_user_groups.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user_instance.py b/vrchatapi/models/limited_user_instance.py index 188f642b..843662f4 100644 --- a/vrchatapi/models/limited_user_instance.py +++ b/vrchatapi/models/limited_user_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user_search.py b/vrchatapi/models/limited_user_search.py index 7803d19f..712e424a 100644 --- a/vrchatapi/models/limited_user_search.py +++ b/vrchatapi/models/limited_user_search.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index cd6a596d..b6ba4c4f 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index 37d6acaf..d2fac663 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/model_print.py b/vrchatapi/models/model_print.py index 09557931..f3a26142 100644 --- a/vrchatapi/models/model_print.py +++ b/vrchatapi/models/model_print.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index b1cd9b0b..c404413d 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index e3f4e69c..6af188d4 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite.py b/vrchatapi/models/notification_detail_invite.py index e8c87f04..20751eeb 100644 --- a/vrchatapi/models/notification_detail_invite.py +++ b/vrchatapi/models/notification_detail_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite_response.py b/vrchatapi/models/notification_detail_invite_response.py index 8b2eb03c..d526282e 100644 --- a/vrchatapi/models/notification_detail_invite_response.py +++ b/vrchatapi/models/notification_detail_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite.py b/vrchatapi/models/notification_detail_request_invite.py index 3d03b8a6..3503d50e 100644 --- a/vrchatapi/models/notification_detail_request_invite.py +++ b/vrchatapi/models/notification_detail_request_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite_response.py b/vrchatapi/models/notification_detail_request_invite_response.py index 12548ef7..cbddbe36 100644 --- a/vrchatapi/models/notification_detail_request_invite_response.py +++ b/vrchatapi/models/notification_detail_request_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_vote_to_kick.py b/vrchatapi/models/notification_detail_vote_to_kick.py index 484986eb..7303267a 100644 --- a/vrchatapi/models/notification_detail_vote_to_kick.py +++ b/vrchatapi/models/notification_detail_vote_to_kick.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index 65cf93bc..947fc08d 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ok_status.py b/vrchatapi/models/ok_status.py index 8d6f923a..89c62fce 100644 --- a/vrchatapi/models/ok_status.py +++ b/vrchatapi/models/ok_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index 129bbe69..f410ad70 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_calendar_event_list.py b/vrchatapi/models/paginated_calendar_event_list.py index e8e6f2fc..02aebedb 100644 --- a/vrchatapi/models/paginated_calendar_event_list.py +++ b/vrchatapi/models/paginated_calendar_event_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index cf8e1a21..62acae04 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index 81190a85..41981e73 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/pending2_fa_result.py b/vrchatapi/models/pending2_fa_result.py index 3993897c..ad815ebc 100644 --- a/vrchatapi/models/pending2_fa_result.py +++ b/vrchatapi/models/pending2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/performance_limiter_info.py b/vrchatapi/models/performance_limiter_info.py index 31156622..0d0b986f 100644 --- a/vrchatapi/models/performance_limiter_info.py +++ b/vrchatapi/models/performance_limiter_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/performance_ratings.py b/vrchatapi/models/performance_ratings.py index 03795f6c..87c84c99 100644 --- a/vrchatapi/models/performance_ratings.py +++ b/vrchatapi/models/performance_ratings.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index 2c48887e..bd7da35d 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/platform_build_info.py b/vrchatapi/models/platform_build_info.py index 1919e047..788266f9 100644 --- a/vrchatapi/models/platform_build_info.py +++ b/vrchatapi/models/platform_build_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index dd9c81eb..3b35e7be 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index e1a76aee..2e12c94b 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -31,14 +31,17 @@ class PlayerModerationType(object): """ allowed enum values """ + BLOCK = "block" MUTE = "mute" + MUTECHAT = "muteChat" UNMUTE = "unmute" - BLOCK = "block" - UNBLOCK = "unblock" + UNMUTECHAT = "unmuteChat" + HIDEAVATAR = "hideAvatar" + SHOWAVATAR = "showAvatar" INTERACTON = "interactOn" INTERACTOFF = "interactOff" - allowable_values = [MUTE, UNMUTE, BLOCK, UNBLOCK, INTERACTON, INTERACTOFF] # noqa: E501 + allowable_values = [BLOCK, MUTE, MUTECHAT, UNMUTE, UNMUTECHAT, HIDEAVATAR, SHOWAVATAR, INTERACTON, INTERACTOFF] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/print_files.py b/vrchatapi/models/print_files.py index a729698c..8dc584a2 100644 --- a/vrchatapi/models/print_files.py +++ b/vrchatapi/models/print_files.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product.py b/vrchatapi/models/product.py index 799bc378..922e1b33 100644 --- a/vrchatapi/models/product.py +++ b/vrchatapi/models/product.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_listing.py b/vrchatapi/models/product_listing.py index 06934895..6f6c2ff0 100644 --- a/vrchatapi/models/product_listing.py +++ b/vrchatapi/models/product_listing.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_listing_type.py b/vrchatapi/models/product_listing_type.py index 45d2bb4f..e8736dce 100644 --- a/vrchatapi/models/product_listing_type.py +++ b/vrchatapi/models/product_listing_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_listing_variant.py b/vrchatapi/models/product_listing_variant.py index 0c2ecb1b..3890c127 100644 --- a/vrchatapi/models/product_listing_variant.py +++ b/vrchatapi/models/product_listing_variant.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_type.py b/vrchatapi/models/product_type.py index 7314494b..4b3e6777 100644 --- a/vrchatapi/models/product_type.py +++ b/vrchatapi/models/product_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/prop.py b/vrchatapi/models/prop.py index 5b9aa1cc..1a4075f3 100644 --- a/vrchatapi/models/prop.py +++ b/vrchatapi/models/prop.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/prop_unity_package.py b/vrchatapi/models/prop_unity_package.py index b03f53a6..b27eccb9 100644 --- a/vrchatapi/models/prop_unity_package.py +++ b/vrchatapi/models/prop_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index 4fe87128..bca28873 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/register_user_account_request.py b/vrchatapi/models/register_user_account_request.py index 994f72f0..ca9a8326 100644 --- a/vrchatapi/models/register_user_account_request.py +++ b/vrchatapi/models/register_user_account_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index 8bcf7672..0134c216 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/report_category.py b/vrchatapi/models/report_category.py index 3f374940..02a4cdda 100644 --- a/vrchatapi/models/report_category.py +++ b/vrchatapi/models/report_category.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/report_reason.py b/vrchatapi/models/report_reason.py index d1ce4de1..02160919 100644 --- a/vrchatapi/models/report_reason.py +++ b/vrchatapi/models/report_reason.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/represented_group.py b/vrchatapi/models/represented_group.py index 6749b9af..44db0091 100644 --- a/vrchatapi/models/represented_group.py +++ b/vrchatapi/models/represented_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index b9bac493..f65f8dd5 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index c39464e0..a5d4d8a4 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index 04c9d312..3a123dea 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index 79e9be2d..53a27b4f 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/service_queue_stats.py b/vrchatapi/models/service_queue_stats.py index 643de141..c40fccc9 100644 --- a/vrchatapi/models/service_queue_stats.py +++ b/vrchatapi/models/service_queue_stats.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/service_status.py b/vrchatapi/models/service_status.py index 412a81b7..b5b1e2ce 100644 --- a/vrchatapi/models/service_status.py +++ b/vrchatapi/models/service_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/share_inventory_item_direct_request.py b/vrchatapi/models/share_inventory_item_direct_request.py index f05e8003..3ba8c6f5 100644 --- a/vrchatapi/models/share_inventory_item_direct_request.py +++ b/vrchatapi/models/share_inventory_item_direct_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index e0055572..e40361f6 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/store.py b/vrchatapi/models/store.py index 5ae6dc32..87d82ff5 100644 --- a/vrchatapi/models/store.py +++ b/vrchatapi/models/store.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/store_shelf.py b/vrchatapi/models/store_shelf.py index 8fd41645..1df4995a 100644 --- a/vrchatapi/models/store_shelf.py +++ b/vrchatapi/models/store_shelf.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/store_type.py b/vrchatapi/models/store_type.py index ad535aab..e10ac460 100644 --- a/vrchatapi/models/store_type.py +++ b/vrchatapi/models/store_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/store_view.py b/vrchatapi/models/store_view.py index f1e663d4..0409652a 100644 --- a/vrchatapi/models/store_view.py +++ b/vrchatapi/models/store_view.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/submission.py b/vrchatapi/models/submission.py index 723bc22d..a227b4ae 100644 --- a/vrchatapi/models/submission.py +++ b/vrchatapi/models/submission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index 722c6379..df82c6a6 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index 2c1698a2..1c44a82f 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index ba77964a..5e417ff9 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/tilia_status.py b/vrchatapi/models/tilia_status.py index 9039e55e..c2d98bf7 100644 --- a/vrchatapi/models/tilia_status.py +++ b/vrchatapi/models/tilia_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/tilia_tos.py b/vrchatapi/models/tilia_tos.py index fa6638e1..df2f37ad 100644 --- a/vrchatapi/models/tilia_tos.py +++ b/vrchatapi/models/tilia_tos.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/token_bundle.py b/vrchatapi/models/token_bundle.py index 1e9afad9..c67807bb 100644 --- a/vrchatapi/models/token_bundle.py +++ b/vrchatapi/models/token_bundle.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index 4c7d73f4..bfc8b0ae 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index 45c3b0f8..a553d69d 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index 0e45e2c8..aa46ac12 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index 948d2af7..5af9a886 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index 9dbc2c7e..03475782 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index a69b817f..c8b490e7 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_email_code.py b/vrchatapi/models/two_factor_email_code.py index 87de1a85..d75f966e 100644 --- a/vrchatapi/models/two_factor_email_code.py +++ b/vrchatapi/models/two_factor_email_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_recovery_codes.py b/vrchatapi/models/two_factor_recovery_codes.py index 7f3a2c90..d5fd4eba 100644 --- a/vrchatapi/models/two_factor_recovery_codes.py +++ b/vrchatapi/models/two_factor_recovery_codes.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_recovery_codes_otp_inner.py b/vrchatapi/models/two_factor_recovery_codes_otp_inner.py index 4392a7d5..e4e95513 100644 --- a/vrchatapi/models/two_factor_recovery_codes_otp_inner.py +++ b/vrchatapi/models/two_factor_recovery_codes_otp_inner.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index cc9ea4d5..83cef5a0 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index bba95555..5de5f6f3 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -44,6 +44,7 @@ class UpdateAvatarRequest(object): 'image_url': 'str', 'release_status': 'ReleaseStatus', 'version': 'int', + 'featured': 'bool', 'unity_package_url': 'str', 'unity_version': 'str' } @@ -57,11 +58,12 @@ class UpdateAvatarRequest(object): 'image_url': 'imageUrl', 'release_status': 'releaseStatus', 'version': 'version', + 'featured': 'featured', 'unity_package_url': 'unityPackageUrl', 'unity_version': 'unityVersion' } - def __init__(self, asset_url=None, id=None, name=None, description=None, tags=None, image_url=None, release_status=None, version=1, unity_package_url=None, unity_version='5.3.4p1', local_vars_configuration=None): # noqa: E501 + def __init__(self, asset_url=None, id=None, name=None, description=None, tags=None, image_url=None, release_status=None, version=1, featured=None, unity_package_url=None, unity_version='5.3.4p1', local_vars_configuration=None): # noqa: E501 """UpdateAvatarRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -75,6 +77,7 @@ def __init__(self, asset_url=None, id=None, name=None, description=None, tags=No self._image_url = None self._release_status = None self._version = None + self._featured = None self._unity_package_url = None self._unity_version = None self.discriminator = None @@ -95,6 +98,8 @@ def __init__(self, asset_url=None, id=None, name=None, description=None, tags=No self.release_status = release_status if version is not None: self.version = version + if featured is not None: + self.featured = featured if unity_package_url is not None: self.unity_package_url = unity_package_url if unity_version is not None: @@ -282,6 +287,29 @@ def version(self, version): self._version = version + @property + def featured(self): + """Gets the featured of this UpdateAvatarRequest. # noqa: E501 + + Enabling featured tag requires Admin Credentials. # noqa: E501 + + :return: The featured of this UpdateAvatarRequest. # noqa: E501 + :rtype: bool + """ + return self._featured + + @featured.setter + def featured(self, featured): + """Sets the featured of this UpdateAvatarRequest. + + Enabling featured tag requires Admin Credentials. # noqa: E501 + + :param featured: The featured of this UpdateAvatarRequest. # noqa: E501 + :type featured: bool + """ + + self._featured = featured + @property def unity_package_url(self): """Gets the unity_package_url of this UpdateAvatarRequest. # noqa: E501 diff --git a/vrchatapi/models/update_calendar_event_request.py b/vrchatapi/models/update_calendar_event_request.py index d9086618..3686f730 100644 --- a/vrchatapi/models/update_calendar_event_request.py +++ b/vrchatapi/models/update_calendar_event_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index 910e0c9b..d5a03fd6 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index 54494e68..d6a66358 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index 69de8f44..c58d1058 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_representation_request.py b/vrchatapi/models/update_group_representation_request.py index 43a209fd..aa0bdc30 100644 --- a/vrchatapi/models/update_group_representation_request.py +++ b/vrchatapi/models/update_group_representation_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index 9f693c28..b15940e9 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index 53819cbf..baeb08e8 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_inventory_item_request.py b/vrchatapi/models/update_inventory_item_request.py index 5393b58e..015f34ac 100644 --- a/vrchatapi/models/update_inventory_item_request.py +++ b/vrchatapi/models/update_inventory_item_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index 2f6b76fb..5175cfc3 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_permission_request.py b/vrchatapi/models/update_permission_request.py new file mode 100644 index 00000000..e443d0eb --- /dev/null +++ b/vrchatapi/models/update_permission_request.py @@ -0,0 +1,159 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.5 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class UpdatePermissionRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'name': 'str', + 'owner_id': 'str' + } + + attribute_map = { + 'name': 'name', + 'owner_id': 'ownerId' + } + + def __init__(self, name=None, owner_id=None, local_vars_configuration=None): # noqa: E501 + """UpdatePermissionRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._name = None + self._owner_id = None + self.discriminator = None + + if name is not None: + self.name = name + if owner_id is not None: + self.owner_id = owner_id + + @property + def name(self): + """Gets the name of this UpdatePermissionRequest. # noqa: E501 + + + :return: The name of this UpdatePermissionRequest. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this UpdatePermissionRequest. + + + :param name: The name of this UpdatePermissionRequest. # noqa: E501 + :type name: str + """ + + self._name = name + + @property + def owner_id(self): + """Gets the owner_id of this UpdatePermissionRequest. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The owner_id of this UpdatePermissionRequest. # noqa: E501 + :rtype: str + """ + return self._owner_id + + @owner_id.setter + def owner_id(self, owner_id): + """Sets the owner_id of this UpdatePermissionRequest. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param owner_id: The owner_id of this UpdatePermissionRequest. # noqa: E501 + :type owner_id: str + """ + + self._owner_id = owner_id + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, UpdatePermissionRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, UpdatePermissionRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/update_user_badge_request.py b/vrchatapi/models/update_user_badge_request.py index ae4166fb..b1626286 100644 --- a/vrchatapi/models/update_user_badge_request.py +++ b/vrchatapi/models/update_user_badge_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_note_request.py b/vrchatapi/models/update_user_note_request.py index 6505edd4..32b091f1 100644 --- a/vrchatapi/models/update_user_note_request.py +++ b/vrchatapi/models/update_user_note_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index b129cc5a..8fb999d4 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index b5bd802f..41776eea 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index d8b63fda..131f0f07 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index 0e07696e..1a94a0f3 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_note.py b/vrchatapi/models/user_note.py index 4b565080..5a249786 100644 --- a/vrchatapi/models/user_note.py +++ b/vrchatapi/models/user_note.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_note_target_user.py b/vrchatapi/models/user_note_target_user.py index b0f0c0b1..76d240f8 100644 --- a/vrchatapi/models/user_note_target_user.py +++ b/vrchatapi/models/user_note_target_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index af39041e..f9ee15bc 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index bc81c3c9..5b00adf7 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index 63bec9e2..b6990fd8 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription_eligible.py b/vrchatapi/models/user_subscription_eligible.py index 5a30ff19..60e9434c 100644 --- a/vrchatapi/models/user_subscription_eligible.py +++ b/vrchatapi/models/user_subscription_eligible.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_email_code_result.py b/vrchatapi/models/verify2_fa_email_code_result.py index 2de07360..c201ab6a 100644 --- a/vrchatapi/models/verify2_fa_email_code_result.py +++ b/vrchatapi/models/verify2_fa_email_code_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index 9d04f566..6b367c73 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index ca9ef62a..56eb5573 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index 8bdf2c2b..3845333b 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index 7b91020e..4f2f3ea6 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index 44056f42..85a797d1 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index 2712e269..b7ffc582 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.4 + The version of the OpenAPI document: 1.20.5 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ From 77c1eafe5ca13c605fd04d9431a0959ba72f14c2 Mon Sep 17 00:00:00 2001 From: Laura <85845965+Oestrogenproblem@users.noreply.github.com> Date: Sat, 27 Dec 2025 10:22:18 +0000 Subject: [PATCH 079/102] Fixes "Missing credentials issue" (#31) * Fix login issue: URL encode username and password in `get_basic_auth_token` to handle special characters * Added patch for the URL encoding in `get_basic_auth_token` * Added `encode_basic_auth.patch` to `generate.sh` --- generate.sh | 5 ++++- patches/encode_basic_auth.patch | 27 +++++++++++++++++++++++++++ vrchatapi/configuration.py | 8 +++++++- 3 files changed, 38 insertions(+), 2 deletions(-) create mode 100644 patches/encode_basic_auth.patch diff --git a/generate.sh b/generate.sh index c849b6a4..b3e29ec2 100755 --- a/generate.sh +++ b/generate.sh @@ -38,4 +38,7 @@ patch ./vrchatapi/rest.py < ./patches/error_2fa_verify_readable.patch patch ./vrchatapi/configuration.py < ./patches/safe_param_symbols.patch # Boolean to lower str conversion for query parameters -patch ./vrchatapi/api_client.py < ./patches/query_param_bool.patch \ No newline at end of file +patch ./vrchatapi/api_client.py < ./patches/query_param_bool.patch + +# Add URL encoding to basic auth parameters +patch ./vrchatapi/configuration.py < ./patches/encode_basic_auth.patch \ No newline at end of file diff --git a/patches/encode_basic_auth.patch b/patches/encode_basic_auth.patch new file mode 100644 index 00000000..cbbd9c3b --- /dev/null +++ b/patches/encode_basic_auth.patch @@ -0,0 +1,27 @@ +diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py +index c0481ac4..45724ff1 100644 +--- a/vrchatapi/configuration.py ++++ b/vrchatapi/configuration.py +@@ -17,6 +17,7 @@ import logging + import multiprocessing + import sys + import urllib3 ++import urllib.parse + + import six + from six.moves import http_client as httplib +@@ -396,8 +397,13 @@ conf = vrchatapi.Configuration( + password = "" + if self.password is not None: + password = self.password ++ ++ #URL encoding username/password to avoid issues with special characters ++ encoded_username = urllib.parse.quote(username) ++ encoded_password = urllib.parse.quote(password) ++ + return urllib3.util.make_headers( +- basic_auth=username + ':' + password ++ basic_auth=encoded_username + ':' + encoded_password + ).get('authorization') + + def auth_settings(self): diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index cc12c343..1a0fec08 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -17,6 +17,7 @@ import multiprocessing import sys import urllib3 +import urllib.parse import six from six.moves import http_client as httplib @@ -396,8 +397,13 @@ def get_basic_auth_token(self): password = "" if self.password is not None: password = self.password + + #URL encoding username/password to avoid issues with special characters + encoded_username = urllib.parse.quote(username) + encoded_password = urllib.parse.quote(password) + return urllib3.util.make_headers( - basic_auth=username + ':' + password + basic_auth=encoded_username + ':' + encoded_password ).get('authorization') def auth_settings(self): From f8385c61d6771b8ae18fcf86a923abfeb7765452 Mon Sep 17 00:00:00 2001 From: JelleJurre <76777936+jellejurre@users.noreply.github.com> Date: Sun, 28 Dec 2025 11:58:43 +0100 Subject: [PATCH 080/102] Update CI for new Release CI (#32) * Update CI to match dotnet's version * Update generate too * Update .github/workflows/ci.yaml Co-authored-by: C0D3 M4513R <28912031+C0D3-M4513R@users.noreply.github.com> * Remove error from copy * Fix wrong commit message --------- Co-authored-by: C0D3 M4513R <28912031+C0D3-M4513R@users.noreply.github.com> --- .github/workflows/ci.yaml | 48 ++++++++++++++++++++++++++++++++------- generate.sh | 14 +++++++----- 2 files changed, 48 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f2b3bb3a..e0dcfb22 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,8 +1,17 @@ on: repository_dispatch: - types: [spec_release] + types: [release] workflow_dispatch: -#on: push + inputs: + json: + description: 'Passed json from repository_dispatch' + required: true + type: string + version_postfix: + description: 'Additional string to concatenate onto the existing version before release' + required: false + type: string + default: '' name: Generate VRChat API SDK @@ -10,11 +19,19 @@ jobs: generate: runs-on: ubuntu-latest name: Generate VRChat API SDK + env: + ARTIFACT_NAME: "openapi.yaml" + INPUT: ${{ github.event_name == 'repository_dispatch' && toJSON(github.event.client_payload) || inputs.json }} + SPEC_URL: ${{ (github.event_name == 'repository_dispatch' && github.event.client_payload || fromJSON(inputs.json))['artifacts']['openapi-legacy.yaml'] }} + PASSED_VERSION: ${{ (github.event_name == 'repository_dispatch' && github.event.client_payload || fromJSON(inputs.json))['version'] }} + VERSION_POSTPEND: ${{ github.event_name == 'workflow_dispatch' && inputs.version_postfix || '' }} steps: - uses: actions/setup-node@v1 with: node-version: 16 + - uses: actions/checkout@v2 + - name: 'Cache node_modules' uses: actions/cache@v4 with: @@ -22,31 +39,46 @@ jobs: key: ${{ runner.os }}-node-v16-${{ hashFiles('**/generate.sh') }} restore-keys: | ${{ runner.os }}-node-v16 + - name: Install OpenAPI Generator CLI run: npm install @openapitools/openapi-generator-cli + - name: Set OpenAPI Generator version run: ./node_modules/\@openapitools/openapi-generator-cli/main.js version-manager set 6.2.1 + - name: Set up Python 3.9 uses: actions/setup-python@v1 with: python-version: 3.9 - - name: Generate SDK Client - run: bash ./generate.sh + + - name: Download Specification + run: wget "${SPEC_URL}" '--output-document' "${ARTIFACT_NAME}" + - name: Check version number run: | - echo "spec_version=$(grep "VERSION =" setup.py | cut -d "\"" -f 2)" >> $GITHUB_ENV - - name: Print version number - run: echo ${{ env.spec_version }} + vrchat_sdk_version=$(( ${PASSED_VERSION%%.*})).${PASSED_VERSION#*.}${VERSION_POSTPEND} + echo "Version is: ${vrchat_sdk_version}" + echo "vrchat_sdk_version=$vrchat_sdk_version" >> $GITHUB_ENV + + - name: Generate SDK Client + run: bash ./generate.sh "${ARTIFACT_NAME}" "${vrchat_sdk_version}" + + - name: Delete openapi.yaml file + run: unlink ${ARTIFACT_NAME} + - name: Deploy SDK back into main branch uses: JamesIves/github-pages-deploy-action@v4 with: branch: main folder: . - commit-message: "Upgrade Python SDK to spec ${{ env.spec_version }}" + commit-message: "Upgrade Python SDK to spec ${vrchat_sdk_version}" + - name: Install pypa/build run: python -m pip install build --user + - name: Build a binary wheel and a source tarball run: python -m build --sdist --wheel --outdir dist/ . + - name: Publish SDK 📦 to PyPI uses: pypa/gh-action-pypi-publish@release/v1 with: diff --git a/generate.sh b/generate.sh index b3e29ec2..5d0ebc2c 100755 --- a/generate.sh +++ b/generate.sh @@ -1,7 +1,10 @@ -#!/bin/bash - -npm install @openapitools/openapi-generator-cli +#!/usr/bin/env bash +if [ ${#} -le 1 ] +then + echo "Usage: generate.sh " >&2 + exit 1 +fi rm vrchatapi docs -rf ./node_modules/\@openapitools/openapi-generator-cli/main.js generate \ @@ -10,13 +13,12 @@ rm vrchatapi docs -rf --git-user-id=vrchatapi \ --git-repo-id=vrchatapi-python \ -o . \ --i https://raw.githubusercontent.com/vrchatapi/specification/gh-pages/openapi.yaml \ +-i "${1}" \ --http-user-agent="vrchatapi-py" # Fix description, keywords, etc... # Echo to trim whitespace -VERSION=`echo $(cat setup.py | grep "The version of the OpenAPI document" | cut -d ":" -f 2)` -sed -i "s/VERSION = \"1.0.0\"/VERSION = \"$VERSION\"/" ./setup.py +sed -i "s/VERSION = \"1.0.0\"/VERSION = \"${2}\"/" ./setup.py sed -i 's/description="VRChat API Documentation"/description="VRChat API Library for Python"/' ./setup.py sed -i 's/keywords=\["OpenAPI", "OpenAPI-Generator", "VRChat API Documentation"\]/keywords=["vrchat", "vrchatapi", "vrc"]/' ./setup.py From 852a30d7bbbec614320f052d4cff9929daf311ac Mon Sep 17 00:00:00 2001 From: ariesclark Date: Sun, 28 Dec 2025 11:03:36 +0000 Subject: [PATCH 081/102] Upgrade Python SDK to spec ${vrchat_sdk_version} --- .openapi-generator/FILES | 134 +- docs/APIConfig.md | 43 +- docs/APIConfigAudioConfig.md | 22 + docs/APIConfigDownloadURLList.md | 2 +- docs/APIConfigEvents.md | 1 + ...OptionsGroup.md => APIConfigIosVersion.md} | 8 +- docs/APIConfigReportCategories.md | 24 - docs/APIConfigReportOptions.md | 15 - docs/APIConfigReportOptionsUser.md | 16 - docs/APIConfigReportReasons.md | 33 - docs/APIHealth.md | 2 +- docs/AccountDeletionLog.md | 4 +- docs/AddFavoriteRequest.md | 2 +- docs/AdminUnityPackage.md | 2 +- docs/Agreement.md | 18 + ...eportOptionsAvatar.md => AgreementCode.md} | 6 +- docs/AgreementRequest.md | 14 + docs/AgreementStatus.md | 15 + docs/AuthenticationApi.md | 391 ++- docs/Avatar.md | 2 + ...onsWorld.md => AvatarModerationCreated.md} | 10 +- docs/AvatarsApi.md | 6 +- docs/BoopRequest.md | 14 + docs/CalendarApi.md | 182 +- docs/CalendarEvent.md | 17 +- docs/CalendarEventAccess.md | 11 + docs/CalendarEventCategory.md | 11 + docs/CalendarEventDiscovery.md | 12 + docs/CalendarEventDiscoveryInclusion.md | 10 + docs/CalendarEventDiscoveryScope.md | 10 + docs/CalendarEventPlatform.md | 10 + docs/ContentFilter.md | 11 + docs/CreateAvatarModerationRequest.md | 12 + docs/CreateAvatarRequest.md | 13 +- docs/CreateCalendarEventRequest.md | 26 +- docs/CreateFileRequest.md | 4 +- docs/CreateFileVersionRequest.md | 4 +- docs/CreateGroupAnnouncementRequest.md | 4 +- docs/CreateGroupGalleryRequest.md | 6 +- docs/CreateGroupInviteRequest.md | 2 +- docs/CreateGroupPostRequest.md | 6 +- docs/CreateGroupRequest.md | 8 +- docs/CreateGroupRoleRequest.md | 4 +- docs/CreateInstanceRequest.md | 26 +- docs/CreatePermissionRequest.md | 12 - docs/CreatePropRequest.md | 22 + docs/CreateWorldRequest.md | 2 +- docs/CurrentUser.md | 23 +- docs/CurrentUserPlatformHistoryInner.md | 2 +- docs/CurrentUserPresence.md | 6 +- docs/DeclineGroupInviteRequest.md | 11 + docs/DynamicContentRow.md | 4 +- docs/EconomyApi.md | 571 +++- docs/EquipInventoryItemRequest.md | 11 + docs/FavoriteGroupLimits.md | 1 + docs/FavoritedWorld.md | 32 +- docs/FavoritesApi.md | 2 +- docs/File.md | 8 +- docs/FileVersionUploadStatus.md | 6 +- docs/FilesApi.md | 333 ++- docs/FinishFileDataUploadRequest.md | 2 +- docs/FriendsApi.md | 79 + docs/Group.md | 43 +- docs/GroupAnnouncement.md | 10 +- docs/GroupAuditLogEntry.md | 12 +- docs/GroupGallery.md | 10 +- docs/GroupGalleryFileOrder.md | 11 + docs/GroupGalleryFileOrderRequest.md | 12 + docs/GroupGalleryImage.md | 14 +- docs/GroupInstance.md | 2 +- docs/GroupLimitedMember.md | 23 +- docs/GroupMember.md | 24 +- docs/GroupMemberLimitedUser.md | 8 +- docs/GroupMyMember.md | 22 +- docs/GroupPermission.md | 4 +- docs/GroupPost.md | 14 +- docs/GroupRole.md | 14 +- docs/GroupRoleTemplateValuesRoles.md | 2 +- docs/GroupTransferable.md | 11 + docs/GroupTransferableRequirements.md | 15 + docs/GroupsApi.md | 580 +++- docs/ImageAnimationStyle.md | 11 + docs/ImageLoopStyle.md | 11 + docs/ImageMask.md | 11 + docs/InfoPush.md | 12 +- docs/InfoPushData.md | 2 +- docs/InfoPushDataArticleContent.md | 2 +- docs/InfoPushDataClickable.md | 2 +- docs/Instance.md | 38 +- docs/InstanceContentSettings.md | 2 +- docs/InventoryApi.md | 461 ++- docs/InventoryConsumptionResults.md | 13 + docs/InventoryDefaultAttributes1.md | 12 + docs/InventoryDefaultAttributes1Validator.md | 11 + docs/InventoryDrop.md | 1 + docs/InventoryEquipSlot.md | 10 + docs/InventoryItem.md | 8 +- docs/InventoryMetadata.md | 2 +- docs/InventoryTemplate.md | 3 + docs/InventoryUserAttributes.md | 13 + docs/InviteApi.md | 24 +- docs/JoinGroupRequest.md | 11 + docs/License.md | 4 +- docs/LicenseGroup.md | 4 +- docs/LimitedGroup.md | 24 +- docs/LimitedUnityPackage.md | 2 +- docs/LimitedUserFriend.md | 10 +- docs/LimitedUserGroups.md | 22 +- docs/LimitedUserInstance.md | 12 +- docs/LimitedUserSearch.md | 4 +- docs/LimitedWorld.md | 6 +- docs/MiscellaneousApi.md | 308 -- docs/ModerationReport.md | 20 + docs/MutualFriend.md | 21 + docs/Mutuals.md | 12 + docs/Notification.md | 2 +- docs/NotificationDetailRequestInvite.md | 2 +- docs/NotificationV2.md | 39 + docs/NotificationV2DetailsBoop.md | 14 + docs/NotificationV2Response.md | 15 + docs/NotificationV2Type.md | 10 + docs/NotificationsApi.md | 534 ++++ docs/OkStatus2.md | 12 + docs/OrderOptionShort.md | 10 + docs/PaginatedCalendarEventList.md | 3 +- docs/PaginatedGroupAuditLogEntryList.md | 2 +- docs/PaginatedModerationReportList.md | 13 + docs/Permission.md | 6 +- docs/PermissionData.md | 16 + docs/PlayermoderationApi.md | 6 +- docs/Product.md | 6 +- docs/ProductListing.md | 4 + docs/ProductPurchase.md | 47 + docs/ProductPurchasePurchaseContext.md | 11 + docs/Prop.md | 4 +- docs/PropPublishStatus.md | 11 + docs/PropUnityPackage.md | 2 +- docs/PropsApi.md | 543 ++++ docs/PurchaseProductListingRequest.md | 13 + docs/RegisterUserAccountRequest.md | 12 +- docs/ReportCategory.md | 2 +- docs/RepresentedGroup.md | 18 +- docs/RespondNotificationV2Request.md | 12 + docs/SearchGroupMembers200Response.md | 12 + docs/SentNotification.md | 2 +- docs/SortOptionProductPurchase.md | 10 + docs/Store.md | 10 +- docs/StoreShelf.md | 4 +- docs/SubmitModerationReportRequest.md | 17 + docs/SubmitModerationReportRequestDetails.md | 18 + docs/Subscription.md | 14 +- docs/SuccessFlag.md | 11 + docs/TiliaStatus.md | 2 +- docs/TokenBundle.md | 12 +- docs/Transaction.md | 18 +- docs/TransactionAgreement.md | 24 +- docs/TransactionSteamInfo.md | 4 +- docs/TransactionSteamWalletInfo.md | 2 +- docs/TransferGroupRequest.md | 11 + docs/TwoFactorRecoveryCodes.md | 2 +- docs/UnityPackage.md | 10 +- docs/UpdateAssetReviewNotesRequest.md | 11 + docs/UpdateAvatarRequest.md | 9 +- docs/UpdateCalendarEventRequest.md | 22 +- docs/UpdateFavoriteGroupRequest.md | 2 +- docs/UpdateGroupGalleryRequest.md | 6 +- docs/UpdateGroupMemberRequest.md | 2 +- docs/UpdateGroupRequest.md | 8 +- docs/UpdateGroupRoleRequest.md | 4 +- docs/UpdateInventoryItemRequest.md | 2 + docs/UpdatePermissionRequest.md | 12 - docs/UpdatePropRequest.md | 21 + docs/UpdateTiliaTOSRequest.md | 11 + docs/UpdateUserNoteRequest.md | 2 +- docs/UpdateUserRequest.md | 25 +- docs/UpdateWorldRequest.md | 2 +- docs/User.md | 4 +- docs/UserCreditsEligible.md | 12 + docs/UserExists.md | 2 +- docs/UserNoteTargetUser.md | 2 +- docs/UserSubscription.md | 24 +- docs/UsersApi.md | 720 ++++- docs/Verify2FAResult.md | 2 +- docs/World.md | 4 +- docs/WorldsApi.md | 88 +- package-lock.json | 782 +---- package.json | 2 +- setup.py | 4 +- vrchatapi/__init__.py | 69 +- vrchatapi/api/authentication_api.py | 759 ++++- vrchatapi/api/avatars_api.py | 23 +- vrchatapi/api/calendar_api.py | 362 ++- vrchatapi/api/economy_api.py | 1614 +++++++--- vrchatapi/api/favorites_api.py | 5 +- vrchatapi/api/files_api.py | 653 ++++- vrchatapi/api/friends_api.py | 160 +- vrchatapi/api/groups_api.py | 2590 ++++++++++++----- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/inventory_api.py | 866 +++++- vrchatapi/api/invite_api.py | 98 +- vrchatapi/api/jams_api.py | 2 +- vrchatapi/api/miscellaneous_api.py | 601 +--- vrchatapi/api/notifications_api.py | 1254 +++++++- vrchatapi/api/playermoderation_api.py | 9 +- vrchatapi/api/prints_api.py | 6 +- vrchatapi/api/props_api.py | 1022 ++++++- vrchatapi/api/users_api.py | 1526 ++++++++-- vrchatapi/api/worlds_api.py | 186 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 +- vrchatapi/exceptions.py | 2 +- vrchatapi/models/__init__.py | 69 +- vrchatapi/models/account_deletion_log.py | 74 +- vrchatapi/models/add_favorite_request.py | 62 +- .../models/add_group_gallery_image_request.py | 2 +- vrchatapi/models/admin_asset_bundle.py | 2 +- vrchatapi/models/admin_unity_package.py | 6 +- vrchatapi/models/age_verification_status.py | 8 +- vrchatapi/models/agreement.py | 332 +++ vrchatapi/models/agreement_code.py | 110 + vrchatapi/models/agreement_request.py | 219 ++ vrchatapi/models/agreement_status.py | 248 ++ vrchatapi/models/api_config.py | 865 ++++-- .../models/api_config_access_logs_urls.py | 2 +- vrchatapi/models/api_config_announcement.py | 2 +- vrchatapi/models/api_config_audio_config.py | 424 +++ .../models/api_config_avatar_perf_limiter.py | 2 +- vrchatapi/models/api_config_constants.py | 2 +- .../models/api_config_constants_groups.py | 2 +- .../models/api_config_constants_instance.py | 2 +- ...ig_constants_instancepopulationbrackets.py | 2 +- ...tants_instancepopulationbracketscrowded.py | 2 +- ...constants_instancepopulationbracketsfew.py | 2 +- ...onstants_instancepopulationbracketsmany.py | 2 +- .../models/api_config_constants_language.py | 2 +- .../models/api_config_download_url_list.py | 72 +- vrchatapi/models/api_config_events.py | 33 +- vrchatapi/models/api_config_ios_version.py | 159 + ...onfig_min_supported_client_build_number.py | 2 +- .../models/api_config_offline_analysis.py | 2 +- .../models/api_config_report_categories.py | 453 --- vrchatapi/models/api_config_report_options.py | 209 -- .../models/api_config_report_options_user.py | 261 -- .../models/api_config_report_options_world.py | 235 -- vrchatapi/models/api_config_report_reasons.py | 696 ----- vrchatapi/models/api_health.py | 68 +- vrchatapi/models/avatar.py | 58 +- vrchatapi/models/avatar_moderation.py | 2 +- vrchatapi/models/avatar_moderation_created.py | 188 ++ vrchatapi/models/avatar_moderation_type.py | 2 +- vrchatapi/models/avatar_performance.py | 2 +- .../models/avatar_published_listings_inner.py | 2 +- vrchatapi/models/avatar_style.py | 2 +- vrchatapi/models/avatar_styles.py | 2 +- .../models/avatar_unity_package_url_object.py | 2 +- vrchatapi/models/badge.py | 2 +- vrchatapi/models/balance.py | 2 +- vrchatapi/models/ban_group_member_request.py | 2 +- vrchatapi/models/boop_request.py | 185 ++ vrchatapi/models/calendar_event.py | 118 +- vrchatapi/models/calendar_event_access.py | 111 + vrchatapi/models/calendar_event_category.py | 122 + vrchatapi/models/calendar_event_discovery.py | 161 + .../calendar_event_discovery_inclusion.py | 112 + .../models/calendar_event_discovery_scope.py | 112 + vrchatapi/models/calendar_event_platform.py | 112 + .../models/calendar_event_user_interest.py | 2 +- vrchatapi/models/change_user_tags_request.py | 2 +- vrchatapi/models/content_filter.py | 114 + .../create_avatar_moderation_request.py | 159 + vrchatapi/models/create_avatar_request.py | 332 +-- .../models/create_calendar_event_request.py | 477 +-- vrchatapi/models/create_file_request.py | 76 +- .../models/create_file_version_request.py | 114 +- .../create_group_announcement_request.py | 126 +- .../models/create_group_gallery_request.py | 160 +- .../models/create_group_invite_request.py | 58 +- vrchatapi/models/create_group_post_request.py | 166 +- vrchatapi/models/create_group_request.py | 196 +- vrchatapi/models/create_group_role_request.py | 106 +- vrchatapi/models/create_instance_request.py | 497 ++-- vrchatapi/models/create_prop_request.py | 440 +++ vrchatapi/models/create_world_request.py | 6 +- vrchatapi/models/current_user.py | 525 ++-- .../current_user_platform_history_inner.py | 7 +- vrchatapi/models/current_user_presence.py | 67 +- .../models/decline_group_invite_request.py | 131 + vrchatapi/models/developer_type.py | 8 +- vrchatapi/models/disable2_fa_result.py | 2 +- vrchatapi/models/discord_details.py | 2 +- vrchatapi/models/dynamic_content_row.py | 13 +- vrchatapi/models/economy_account.py | 2 +- .../models/equip_inventory_item_request.py | 132 + vrchatapi/models/error.py | 2 +- vrchatapi/models/favorite.py | 2 +- vrchatapi/models/favorite_group.py | 2 +- vrchatapi/models/favorite_group_limits.py | 31 +- vrchatapi/models/favorite_group_visibility.py | 6 +- vrchatapi/models/favorite_limits.py | 2 +- vrchatapi/models/favorite_type.py | 8 +- vrchatapi/models/favorited_world.py | 322 +- vrchatapi/models/feedback.py | 2 +- vrchatapi/models/file.py | 182 +- vrchatapi/models/file_analysis.py | 2 +- .../models/file_analysis_avatar_stats.py | 2 +- vrchatapi/models/file_data.py | 2 +- vrchatapi/models/file_status.py | 6 +- vrchatapi/models/file_upload_url.py | 2 +- vrchatapi/models/file_version.py | 2 +- .../models/file_version_upload_status.py | 144 +- .../models/finish_file_data_upload_request.py | 78 +- .../models/follow_calendar_event_request.py | 2 +- vrchatapi/models/friend_status.py | 2 +- .../models/get_group_posts200_response.py | 2 +- .../get_user_group_instances200_response.py | 2 +- vrchatapi/models/group.py | 874 +++--- vrchatapi/models/group_access_type.py | 8 +- vrchatapi/models/group_announcement.py | 194 +- vrchatapi/models/group_audit_log_entry.py | 268 +- vrchatapi/models/group_gallery.py | 218 +- vrchatapi/models/group_gallery_file_order.py | 132 + ...py => group_gallery_file_order_request.py} | 102 +- vrchatapi/models/group_gallery_image.py | 292 +- vrchatapi/models/group_instance.py | 62 +- vrchatapi/models/group_join_request_action.py | 2 +- vrchatapi/models/group_join_state.py | 6 +- vrchatapi/models/group_limited_member.py | 440 +-- vrchatapi/models/group_member.py | 474 +-- vrchatapi/models/group_member_limited_user.py | 166 +- vrchatapi/models/group_member_status.py | 8 +- vrchatapi/models/group_my_member.py | 504 ++-- vrchatapi/models/group_permission.py | 76 +- vrchatapi/models/group_permissions.py | 8 +- vrchatapi/models/group_post.py | 310 +- vrchatapi/models/group_post_visibility.py | 2 +- vrchatapi/models/group_privacy.py | 2 +- vrchatapi/models/group_role.py | 266 +- vrchatapi/models/group_role_template.py | 2 +- .../models/group_role_template_values.py | 2 +- .../group_role_template_values_roles.py | 54 +- vrchatapi/models/group_search_sort.py | 2 +- vrchatapi/models/group_transferable.py | 132 + .../models/group_transferable_requirements.py | 240 ++ vrchatapi/models/group_user_visibility.py | 8 +- vrchatapi/models/image_animation_style.py | 136 + vrchatapi/models/image_loop_style.py | 111 + vrchatapi/models/image_mask.py | 115 + vrchatapi/models/info_push.py | 322 +- vrchatapi/models/info_push_data.py | 60 +- vrchatapi/models/info_push_data_article.py | 2 +- .../models/info_push_data_article_content.py | 60 +- vrchatapi/models/info_push_data_clickable.py | 64 +- vrchatapi/models/instance.py | 947 +++--- vrchatapi/models/instance_content_settings.py | 58 +- vrchatapi/models/instance_platforms.py | 2 +- vrchatapi/models/instance_region.py | 8 +- .../models/instance_short_name_response.py | 2 +- vrchatapi/models/instance_type.py | 10 +- vrchatapi/models/inventory.py | 2 +- .../models/inventory_consumption_results.py | 186 ++ .../models/inventory_default_attributes1.py | 157 + ...inventory_default_attributes1_validator.py | 131 + vrchatapi/models/inventory_drop.py | 31 +- vrchatapi/models/inventory_equip_slot.py | 113 + vrchatapi/models/inventory_flag.py | 10 +- vrchatapi/models/inventory_item.py | 168 +- vrchatapi/models/inventory_item_type.py | 9 +- vrchatapi/models/inventory_metadata.py | 60 +- .../models/inventory_notification_details.py | 2 +- vrchatapi/models/inventory_spawn.py | 2 +- vrchatapi/models/inventory_template.py | 89 +- vrchatapi/models/inventory_user_attributes.py | 183 ++ vrchatapi/models/invite_message.py | 2 +- vrchatapi/models/invite_message_type.py | 6 +- vrchatapi/models/invite_request.py | 2 +- vrchatapi/models/invite_response.py | 2 +- vrchatapi/models/jam.py | 2 +- vrchatapi/models/jam_state_change_dates.py | 2 +- vrchatapi/models/join_group_request.py | 131 + vrchatapi/models/license.py | 92 +- vrchatapi/models/license_action.py | 6 +- vrchatapi/models/license_group.py | 116 +- vrchatapi/models/license_type.py | 2 +- vrchatapi/models/limited_group.py | 466 +-- vrchatapi/models/limited_unity_package.py | 6 +- vrchatapi/models/limited_user_friend.py | 232 +- vrchatapi/models/limited_user_groups.py | 404 +-- vrchatapi/models/limited_user_instance.py | 157 +- vrchatapi/models/limited_user_search.py | 62 +- vrchatapi/models/limited_world.py | 146 +- vrchatapi/models/mime_type.py | 22 +- vrchatapi/models/model_print.py | 2 +- vrchatapi/models/moderate_user_request.py | 2 +- vrchatapi/models/moderation_report.py | 381 +++ vrchatapi/models/mutual_friend.py | 379 +++ vrchatapi/models/mutuals.py | 165 ++ vrchatapi/models/notification.py | 60 +- .../models/notification_detail_invite.py | 2 +- .../notification_detail_invite_response.py | 2 +- .../notification_detail_request_invite.py | 6 +- ...fication_detail_request_invite_response.py | 2 +- .../notification_detail_vote_to_kick.py | 2 +- vrchatapi/models/notification_type.py | 5 +- vrchatapi/models/notification_v2.py | 850 ++++++ .../models/notification_v2_details_boop.py | 186 ++ vrchatapi/models/notification_v2_response.py | 238 ++ vrchatapi/models/notification_v2_type.py | 132 + vrchatapi/models/ok_status.py | 2 +- vrchatapi/models/ok_status2.py | 134 + vrchatapi/models/order_option.py | 2 +- vrchatapi/models/order_option_short.py | 111 + .../models/paginated_calendar_event_list.py | 64 +- .../paginated_group_audit_log_entry_list.py | 64 +- .../paginated_moderation_report_list.py | 189 ++ vrchatapi/models/past_display_name.py | 2 +- vrchatapi/models/pending2_fa_result.py | 2 +- vrchatapi/models/performance_limiter_info.py | 2 +- vrchatapi/models/performance_ratings.py | 6 +- vrchatapi/models/permission.py | 146 +- vrchatapi/models/permission_data.py | 245 ++ vrchatapi/models/platform_build_info.py | 2 +- vrchatapi/models/player_moderation.py | 2 +- vrchatapi/models/player_moderation_type.py | 12 +- vrchatapi/models/print_files.py | 2 +- vrchatapi/models/product.py | 12 +- vrchatapi/models/product_listing.py | 111 +- vrchatapi/models/product_listing_type.py | 6 +- vrchatapi/models/product_listing_variant.py | 2 +- vrchatapi/models/product_purchase.py | 1105 +++++++ .../product_purchase_purchase_context.py | 131 + vrchatapi/models/product_type.py | 5 +- vrchatapi/models/prop.py | 14 +- vrchatapi/models/prop_publish_status.py | 131 + vrchatapi/models/prop_unity_package.py | 62 +- .../purchase_product_listing_request.py | 195 ++ vrchatapi/models/region.py | 10 +- .../models/register_user_account_request.py | 284 +- vrchatapi/models/release_status.py | 10 +- vrchatapi/models/report_category.py | 58 +- vrchatapi/models/report_reason.py | 2 +- vrchatapi/models/represented_group.py | 342 +-- vrchatapi/models/request_invite_request.py | 2 +- .../models/respond_group_join_request.py | 2 +- .../models/respond_notification_v2_request.py | 158 + vrchatapi/models/response.py | 2 +- ...py => search_group_members200_response.py} | 104 +- vrchatapi/models/sent_notification.py | 8 +- vrchatapi/models/service_queue_stats.py | 2 +- vrchatapi/models/service_status.py | 2 +- .../share_inventory_item_direct_request.py | 2 +- vrchatapi/models/sort_option.py | 32 +- .../models/sort_option_product_purchase.py | 110 + vrchatapi/models/store.py | 282 +- vrchatapi/models/store_shelf.py | 62 +- vrchatapi/models/store_type.py | 6 +- vrchatapi/models/store_view.py | 10 +- vrchatapi/models/submission.py | 2 +- .../submit_moderation_report_request.py | 275 ++ ...ubmit_moderation_report_request_details.py | 299 ++ vrchatapi/models/subscription.py | 316 +- vrchatapi/models/subscription_period.py | 8 +- vrchatapi/models/success.py | 2 +- vrchatapi/models/success_flag.py | 132 + vrchatapi/models/tilia_status.py | 58 +- vrchatapi/models/tilia_tos.py | 2 +- vrchatapi/models/token_bundle.py | 254 +- vrchatapi/models/transaction.py | 364 +-- vrchatapi/models/transaction_agreement.py | 572 ++-- vrchatapi/models/transaction_status.py | 8 +- vrchatapi/models/transaction_steam_info.py | 106 +- .../models/transaction_steam_wallet_info.py | 58 +- ...n_request.py => transfer_group_request.py} | 68 +- vrchatapi/models/two_factor_auth_code.py | 2 +- vrchatapi/models/two_factor_email_code.py | 2 +- vrchatapi/models/two_factor_recovery_codes.py | 60 +- .../two_factor_recovery_codes_otp_inner.py | 2 +- vrchatapi/models/unity_package.py | 216 +- .../update_asset_review_notes_request.py | 132 + vrchatapi/models/update_avatar_request.py | 220 +- .../models/update_calendar_event_request.py | 384 +-- .../models/update_favorite_group_request.py | 60 +- .../models/update_group_gallery_request.py | 158 +- .../models/update_group_member_request.py | 60 +- .../update_group_representation_request.py | 2 +- vrchatapi/models/update_group_request.py | 190 +- vrchatapi/models/update_group_role_request.py | 92 +- .../models/update_inventory_item_request.py | 60 +- .../models/update_invite_message_request.py | 2 +- vrchatapi/models/update_prop_request.py | 403 +++ vrchatapi/models/update_tilia_tos_request.py | 132 + vrchatapi/models/update_user_badge_request.py | 2 +- vrchatapi/models/update_user_note_request.py | 62 +- vrchatapi/models/update_user_request.py | 520 ++-- vrchatapi/models/update_world_request.py | 6 +- vrchatapi/models/user.py | 62 +- ...on_request.py => user_credits_eligible.py} | 78 +- vrchatapi/models/user_exists.py | 62 +- vrchatapi/models/user_note.py | 2 +- vrchatapi/models/user_note_target_user.py | 56 +- vrchatapi/models/user_state.py | 6 +- vrchatapi/models/user_status.py | 6 +- vrchatapi/models/user_subscription.py | 556 ++-- .../models/user_subscription_eligible.py | 2 +- .../models/verify2_fa_email_code_result.py | 2 +- vrchatapi/models/verify2_fa_result.py | 58 +- vrchatapi/models/verify_auth_token_result.py | 2 +- vrchatapi/models/world.py | 114 +- vrchatapi/models/world_metadata.py | 2 +- vrchatapi/models/world_publish_status.py | 2 +- vrchatapi/rest.py | 2 +- 510 files changed, 37500 insertions(+), 15269 deletions(-) create mode 100644 docs/APIConfigAudioConfig.md rename docs/{APIConfigReportOptionsGroup.md => APIConfigIosVersion.md} (62%) delete mode 100644 docs/APIConfigReportCategories.md delete mode 100644 docs/APIConfigReportOptions.md delete mode 100644 docs/APIConfigReportOptionsUser.md delete mode 100644 docs/APIConfigReportReasons.md create mode 100644 docs/Agreement.md rename docs/{APIConfigReportOptionsAvatar.md => AgreementCode.md} (62%) create mode 100644 docs/AgreementRequest.md create mode 100644 docs/AgreementStatus.md rename docs/{APIConfigReportOptionsWorld.md => AvatarModerationCreated.md} (51%) create mode 100644 docs/BoopRequest.md create mode 100644 docs/CalendarEventAccess.md create mode 100644 docs/CalendarEventCategory.md create mode 100644 docs/CalendarEventDiscovery.md create mode 100644 docs/CalendarEventDiscoveryInclusion.md create mode 100644 docs/CalendarEventDiscoveryScope.md create mode 100644 docs/CalendarEventPlatform.md create mode 100644 docs/ContentFilter.md create mode 100644 docs/CreateAvatarModerationRequest.md delete mode 100644 docs/CreatePermissionRequest.md create mode 100644 docs/CreatePropRequest.md create mode 100644 docs/DeclineGroupInviteRequest.md create mode 100644 docs/EquipInventoryItemRequest.md create mode 100644 docs/GroupGalleryFileOrder.md create mode 100644 docs/GroupGalleryFileOrderRequest.md create mode 100644 docs/GroupTransferable.md create mode 100644 docs/GroupTransferableRequirements.md create mode 100644 docs/ImageAnimationStyle.md create mode 100644 docs/ImageLoopStyle.md create mode 100644 docs/ImageMask.md create mode 100644 docs/InventoryConsumptionResults.md create mode 100644 docs/InventoryDefaultAttributes1.md create mode 100644 docs/InventoryDefaultAttributes1Validator.md create mode 100644 docs/InventoryEquipSlot.md create mode 100644 docs/InventoryUserAttributes.md create mode 100644 docs/JoinGroupRequest.md create mode 100644 docs/ModerationReport.md create mode 100644 docs/MutualFriend.md create mode 100644 docs/Mutuals.md create mode 100644 docs/NotificationV2.md create mode 100644 docs/NotificationV2DetailsBoop.md create mode 100644 docs/NotificationV2Response.md create mode 100644 docs/NotificationV2Type.md create mode 100644 docs/OkStatus2.md create mode 100644 docs/OrderOptionShort.md create mode 100644 docs/PaginatedModerationReportList.md create mode 100644 docs/PermissionData.md create mode 100644 docs/ProductPurchase.md create mode 100644 docs/ProductPurchasePurchaseContext.md create mode 100644 docs/PropPublishStatus.md create mode 100644 docs/PurchaseProductListingRequest.md create mode 100644 docs/RespondNotificationV2Request.md create mode 100644 docs/SearchGroupMembers200Response.md create mode 100644 docs/SortOptionProductPurchase.md create mode 100644 docs/SubmitModerationReportRequest.md create mode 100644 docs/SubmitModerationReportRequestDetails.md create mode 100644 docs/SuccessFlag.md create mode 100644 docs/TransferGroupRequest.md create mode 100644 docs/UpdateAssetReviewNotesRequest.md delete mode 100644 docs/UpdatePermissionRequest.md create mode 100644 docs/UpdatePropRequest.md create mode 100644 docs/UpdateTiliaTOSRequest.md create mode 100644 docs/UserCreditsEligible.md create mode 100644 vrchatapi/models/agreement.py create mode 100644 vrchatapi/models/agreement_code.py create mode 100644 vrchatapi/models/agreement_request.py create mode 100644 vrchatapi/models/agreement_status.py create mode 100644 vrchatapi/models/api_config_audio_config.py create mode 100644 vrchatapi/models/api_config_ios_version.py delete mode 100644 vrchatapi/models/api_config_report_categories.py delete mode 100644 vrchatapi/models/api_config_report_options.py delete mode 100644 vrchatapi/models/api_config_report_options_user.py delete mode 100644 vrchatapi/models/api_config_report_options_world.py delete mode 100644 vrchatapi/models/api_config_report_reasons.py create mode 100644 vrchatapi/models/avatar_moderation_created.py create mode 100644 vrchatapi/models/boop_request.py create mode 100644 vrchatapi/models/calendar_event_access.py create mode 100644 vrchatapi/models/calendar_event_category.py create mode 100644 vrchatapi/models/calendar_event_discovery.py create mode 100644 vrchatapi/models/calendar_event_discovery_inclusion.py create mode 100644 vrchatapi/models/calendar_event_discovery_scope.py create mode 100644 vrchatapi/models/calendar_event_platform.py create mode 100644 vrchatapi/models/content_filter.py create mode 100644 vrchatapi/models/create_avatar_moderation_request.py create mode 100644 vrchatapi/models/create_prop_request.py create mode 100644 vrchatapi/models/decline_group_invite_request.py create mode 100644 vrchatapi/models/equip_inventory_item_request.py create mode 100644 vrchatapi/models/group_gallery_file_order.py rename vrchatapi/models/{api_config_report_options_group.py => group_gallery_file_order_request.py} (54%) create mode 100644 vrchatapi/models/group_transferable.py create mode 100644 vrchatapi/models/group_transferable_requirements.py create mode 100644 vrchatapi/models/image_animation_style.py create mode 100644 vrchatapi/models/image_loop_style.py create mode 100644 vrchatapi/models/image_mask.py create mode 100644 vrchatapi/models/inventory_consumption_results.py create mode 100644 vrchatapi/models/inventory_default_attributes1.py create mode 100644 vrchatapi/models/inventory_default_attributes1_validator.py create mode 100644 vrchatapi/models/inventory_equip_slot.py create mode 100644 vrchatapi/models/inventory_user_attributes.py create mode 100644 vrchatapi/models/join_group_request.py create mode 100644 vrchatapi/models/moderation_report.py create mode 100644 vrchatapi/models/mutual_friend.py create mode 100644 vrchatapi/models/mutuals.py create mode 100644 vrchatapi/models/notification_v2.py create mode 100644 vrchatapi/models/notification_v2_details_boop.py create mode 100644 vrchatapi/models/notification_v2_response.py create mode 100644 vrchatapi/models/notification_v2_type.py create mode 100644 vrchatapi/models/ok_status2.py create mode 100644 vrchatapi/models/order_option_short.py create mode 100644 vrchatapi/models/paginated_moderation_report_list.py create mode 100644 vrchatapi/models/permission_data.py create mode 100644 vrchatapi/models/product_purchase.py create mode 100644 vrchatapi/models/product_purchase_purchase_context.py create mode 100644 vrchatapi/models/prop_publish_status.py create mode 100644 vrchatapi/models/purchase_product_listing_request.py create mode 100644 vrchatapi/models/respond_notification_v2_request.py rename vrchatapi/models/{api_config_report_options_avatar.py => search_group_members200_response.py} (52%) create mode 100644 vrchatapi/models/sort_option_product_purchase.py create mode 100644 vrchatapi/models/submit_moderation_report_request.py create mode 100644 vrchatapi/models/submit_moderation_report_request_details.py create mode 100644 vrchatapi/models/success_flag.py rename vrchatapi/models/{update_permission_request.py => transfer_group_request.py} (65%) create mode 100644 vrchatapi/models/update_asset_review_notes_request.py create mode 100644 vrchatapi/models/update_prop_request.py create mode 100644 vrchatapi/models/update_tilia_tos_request.py rename vrchatapi/models/{create_permission_request.py => user_credits_eligible.py} (58%) diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 9a11e197..2624a571 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -2,6 +2,7 @@ docs/APIConfig.md docs/APIConfigAccessLogsUrls.md docs/APIConfigAnnouncement.md +docs/APIConfigAudioConfig.md docs/APIConfigAvatarPerfLimiter.md docs/APIConfigConstants.md docs/APIConfigConstantsGROUPS.md @@ -13,15 +14,9 @@ docs/APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY.md docs/APIConfigConstantsLANGUAGE.md docs/APIConfigDownloadURLList.md docs/APIConfigEvents.md +docs/APIConfigIosVersion.md docs/APIConfigMinSupportedClientBuildNumber.md docs/APIConfigOfflineAnalysis.md -docs/APIConfigReportCategories.md -docs/APIConfigReportOptions.md -docs/APIConfigReportOptionsAvatar.md -docs/APIConfigReportOptionsGroup.md -docs/APIConfigReportOptionsUser.md -docs/APIConfigReportOptionsWorld.md -docs/APIConfigReportReasons.md docs/APIHealth.md docs/AccountDeletionLog.md docs/AddFavoriteRequest.md @@ -29,9 +24,14 @@ docs/AddGroupGalleryImageRequest.md docs/AdminAssetBundle.md docs/AdminUnityPackage.md docs/AgeVerificationStatus.md +docs/Agreement.md +docs/AgreementCode.md +docs/AgreementRequest.md +docs/AgreementStatus.md docs/AuthenticationApi.md docs/Avatar.md docs/AvatarModeration.md +docs/AvatarModerationCreated.md docs/AvatarModerationType.md docs/AvatarPerformance.md docs/AvatarPublishedListingsInner.md @@ -42,10 +42,19 @@ docs/AvatarsApi.md docs/Badge.md docs/Balance.md docs/BanGroupMemberRequest.md +docs/BoopRequest.md docs/CalendarApi.md docs/CalendarEvent.md +docs/CalendarEventAccess.md +docs/CalendarEventCategory.md +docs/CalendarEventDiscovery.md +docs/CalendarEventDiscoveryInclusion.md +docs/CalendarEventDiscoveryScope.md +docs/CalendarEventPlatform.md docs/CalendarEventUserInterest.md docs/ChangeUserTagsRequest.md +docs/ContentFilter.md +docs/CreateAvatarModerationRequest.md docs/CreateAvatarRequest.md docs/CreateCalendarEventRequest.md docs/CreateFileRequest.md @@ -57,17 +66,19 @@ docs/CreateGroupPostRequest.md docs/CreateGroupRequest.md docs/CreateGroupRoleRequest.md docs/CreateInstanceRequest.md -docs/CreatePermissionRequest.md +docs/CreatePropRequest.md docs/CreateWorldRequest.md docs/CurrentUser.md docs/CurrentUserPlatformHistoryInner.md docs/CurrentUserPresence.md +docs/DeclineGroupInviteRequest.md docs/DeveloperType.md docs/Disable2FAResult.md docs/DiscordDetails.md docs/DynamicContentRow.md docs/EconomyAccount.md docs/EconomyApi.md +docs/EquipInventoryItemRequest.md docs/Error.md docs/Favorite.md docs/FavoriteGroup.md @@ -98,6 +109,8 @@ docs/GroupAccessType.md docs/GroupAnnouncement.md docs/GroupAuditLogEntry.md docs/GroupGallery.md +docs/GroupGalleryFileOrder.md +docs/GroupGalleryFileOrderRequest.md docs/GroupGalleryImage.md docs/GroupInstance.md docs/GroupJoinRequestAction.md @@ -117,8 +130,13 @@ docs/GroupRoleTemplate.md docs/GroupRoleTemplateValues.md docs/GroupRoleTemplateValuesRoles.md docs/GroupSearchSort.md +docs/GroupTransferable.md +docs/GroupTransferableRequirements.md docs/GroupUserVisibility.md docs/GroupsApi.md +docs/ImageAnimationStyle.md +docs/ImageLoopStyle.md +docs/ImageMask.md docs/InfoPush.md docs/InfoPushData.md docs/InfoPushDataArticle.md @@ -133,7 +151,11 @@ docs/InstanceType.md docs/InstancesApi.md docs/Inventory.md docs/InventoryApi.md +docs/InventoryConsumptionResults.md +docs/InventoryDefaultAttributes1.md +docs/InventoryDefaultAttributes1Validator.md docs/InventoryDrop.md +docs/InventoryEquipSlot.md docs/InventoryFlag.md docs/InventoryItem.md docs/InventoryItemType.md @@ -141,6 +163,7 @@ docs/InventoryMetadata.md docs/InventoryNotificationDetails.md docs/InventorySpawn.md docs/InventoryTemplate.md +docs/InventoryUserAttributes.md docs/InviteApi.md docs/InviteMessage.md docs/InviteMessageType.md @@ -149,6 +172,7 @@ docs/InviteResponse.md docs/Jam.md docs/JamStateChangeDates.md docs/JamsApi.md +docs/JoinGroupRequest.md docs/License.md docs/LicenseAction.md docs/LicenseGroup.md @@ -164,6 +188,9 @@ docs/MIMEType.md docs/MiscellaneousApi.md docs/ModelPrint.md docs/ModerateUserRequest.md +docs/ModerationReport.md +docs/MutualFriend.md +docs/Mutuals.md docs/Notification.md docs/NotificationDetailInvite.md docs/NotificationDetailInviteResponse.md @@ -171,16 +198,24 @@ docs/NotificationDetailRequestInvite.md docs/NotificationDetailRequestInviteResponse.md docs/NotificationDetailVoteToKick.md docs/NotificationType.md +docs/NotificationV2.md +docs/NotificationV2DetailsBoop.md +docs/NotificationV2Response.md +docs/NotificationV2Type.md docs/NotificationsApi.md docs/OkStatus.md +docs/OkStatus2.md docs/OrderOption.md +docs/OrderOptionShort.md docs/PaginatedCalendarEventList.md docs/PaginatedGroupAuditLogEntryList.md +docs/PaginatedModerationReportList.md docs/PastDisplayName.md docs/Pending2FAResult.md docs/PerformanceLimiterInfo.md docs/PerformanceRatings.md docs/Permission.md +docs/PermissionData.md docs/PlatformBuildInfo.md docs/PlayerModeration.md docs/PlayerModerationType.md @@ -191,10 +226,14 @@ docs/Product.md docs/ProductListing.md docs/ProductListingType.md docs/ProductListingVariant.md +docs/ProductPurchase.md +docs/ProductPurchasePurchaseContext.md docs/ProductType.md docs/Prop.md +docs/PropPublishStatus.md docs/PropUnityPackage.md docs/PropsApi.md +docs/PurchaseProductListingRequest.md docs/Region.md docs/RegisterUserAccountRequest.md docs/ReleaseStatus.md @@ -203,20 +242,26 @@ docs/ReportReason.md docs/RepresentedGroup.md docs/RequestInviteRequest.md docs/RespondGroupJoinRequest.md +docs/RespondNotificationV2Request.md docs/Response.md +docs/SearchGroupMembers200Response.md docs/SentNotification.md docs/ServiceQueueStats.md docs/ServiceStatus.md docs/ShareInventoryItemDirectRequest.md docs/SortOption.md +docs/SortOptionProductPurchase.md docs/Store.md docs/StoreShelf.md docs/StoreType.md docs/StoreView.md docs/Submission.md +docs/SubmitModerationReportRequest.md +docs/SubmitModerationReportRequestDetails.md docs/Subscription.md docs/SubscriptionPeriod.md docs/Success.md +docs/SuccessFlag.md docs/TiliaStatus.md docs/TiliaTOS.md docs/TokenBundle.md @@ -225,11 +270,13 @@ docs/TransactionAgreement.md docs/TransactionStatus.md docs/TransactionSteamInfo.md docs/TransactionSteamWalletInfo.md +docs/TransferGroupRequest.md docs/TwoFactorAuthCode.md docs/TwoFactorEmailCode.md docs/TwoFactorRecoveryCodes.md docs/TwoFactorRecoveryCodesOtpInner.md docs/UnityPackage.md +docs/UpdateAssetReviewNotesRequest.md docs/UpdateAvatarRequest.md docs/UpdateCalendarEventRequest.md docs/UpdateFavoriteGroupRequest.md @@ -240,12 +287,14 @@ docs/UpdateGroupRequest.md docs/UpdateGroupRoleRequest.md docs/UpdateInventoryItemRequest.md docs/UpdateInviteMessageRequest.md -docs/UpdatePermissionRequest.md +docs/UpdatePropRequest.md +docs/UpdateTiliaTOSRequest.md docs/UpdateUserBadgeRequest.md docs/UpdateUserNoteRequest.md docs/UpdateUserRequest.md docs/UpdateWorldRequest.md docs/User.md +docs/UserCreditsEligible.md docs/UserExists.md docs/UserNote.md docs/UserNoteTargetUser.md @@ -298,9 +347,14 @@ vrchatapi/models/add_group_gallery_image_request.py vrchatapi/models/admin_asset_bundle.py vrchatapi/models/admin_unity_package.py vrchatapi/models/age_verification_status.py +vrchatapi/models/agreement.py +vrchatapi/models/agreement_code.py +vrchatapi/models/agreement_request.py +vrchatapi/models/agreement_status.py vrchatapi/models/api_config.py vrchatapi/models/api_config_access_logs_urls.py vrchatapi/models/api_config_announcement.py +vrchatapi/models/api_config_audio_config.py vrchatapi/models/api_config_avatar_perf_limiter.py vrchatapi/models/api_config_constants.py vrchatapi/models/api_config_constants_groups.py @@ -312,18 +366,13 @@ vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py vrchatapi/models/api_config_constants_language.py vrchatapi/models/api_config_download_url_list.py vrchatapi/models/api_config_events.py +vrchatapi/models/api_config_ios_version.py vrchatapi/models/api_config_min_supported_client_build_number.py vrchatapi/models/api_config_offline_analysis.py -vrchatapi/models/api_config_report_categories.py -vrchatapi/models/api_config_report_options.py -vrchatapi/models/api_config_report_options_avatar.py -vrchatapi/models/api_config_report_options_group.py -vrchatapi/models/api_config_report_options_user.py -vrchatapi/models/api_config_report_options_world.py -vrchatapi/models/api_config_report_reasons.py vrchatapi/models/api_health.py vrchatapi/models/avatar.py vrchatapi/models/avatar_moderation.py +vrchatapi/models/avatar_moderation_created.py vrchatapi/models/avatar_moderation_type.py vrchatapi/models/avatar_performance.py vrchatapi/models/avatar_published_listings_inner.py @@ -333,9 +382,18 @@ vrchatapi/models/avatar_unity_package_url_object.py vrchatapi/models/badge.py vrchatapi/models/balance.py vrchatapi/models/ban_group_member_request.py +vrchatapi/models/boop_request.py vrchatapi/models/calendar_event.py +vrchatapi/models/calendar_event_access.py +vrchatapi/models/calendar_event_category.py +vrchatapi/models/calendar_event_discovery.py +vrchatapi/models/calendar_event_discovery_inclusion.py +vrchatapi/models/calendar_event_discovery_scope.py +vrchatapi/models/calendar_event_platform.py vrchatapi/models/calendar_event_user_interest.py vrchatapi/models/change_user_tags_request.py +vrchatapi/models/content_filter.py +vrchatapi/models/create_avatar_moderation_request.py vrchatapi/models/create_avatar_request.py vrchatapi/models/create_calendar_event_request.py vrchatapi/models/create_file_request.py @@ -347,16 +405,18 @@ vrchatapi/models/create_group_post_request.py vrchatapi/models/create_group_request.py vrchatapi/models/create_group_role_request.py vrchatapi/models/create_instance_request.py -vrchatapi/models/create_permission_request.py +vrchatapi/models/create_prop_request.py vrchatapi/models/create_world_request.py vrchatapi/models/current_user.py vrchatapi/models/current_user_platform_history_inner.py vrchatapi/models/current_user_presence.py +vrchatapi/models/decline_group_invite_request.py vrchatapi/models/developer_type.py vrchatapi/models/disable2_fa_result.py vrchatapi/models/discord_details.py vrchatapi/models/dynamic_content_row.py vrchatapi/models/economy_account.py +vrchatapi/models/equip_inventory_item_request.py vrchatapi/models/error.py vrchatapi/models/favorite.py vrchatapi/models/favorite_group.py @@ -384,6 +444,8 @@ vrchatapi/models/group_access_type.py vrchatapi/models/group_announcement.py vrchatapi/models/group_audit_log_entry.py vrchatapi/models/group_gallery.py +vrchatapi/models/group_gallery_file_order.py +vrchatapi/models/group_gallery_file_order_request.py vrchatapi/models/group_gallery_image.py vrchatapi/models/group_instance.py vrchatapi/models/group_join_request_action.py @@ -403,7 +465,12 @@ vrchatapi/models/group_role_template.py vrchatapi/models/group_role_template_values.py vrchatapi/models/group_role_template_values_roles.py vrchatapi/models/group_search_sort.py +vrchatapi/models/group_transferable.py +vrchatapi/models/group_transferable_requirements.py vrchatapi/models/group_user_visibility.py +vrchatapi/models/image_animation_style.py +vrchatapi/models/image_loop_style.py +vrchatapi/models/image_mask.py vrchatapi/models/info_push.py vrchatapi/models/info_push_data.py vrchatapi/models/info_push_data_article.py @@ -416,7 +483,11 @@ vrchatapi/models/instance_region.py vrchatapi/models/instance_short_name_response.py vrchatapi/models/instance_type.py vrchatapi/models/inventory.py +vrchatapi/models/inventory_consumption_results.py +vrchatapi/models/inventory_default_attributes1.py +vrchatapi/models/inventory_default_attributes1_validator.py vrchatapi/models/inventory_drop.py +vrchatapi/models/inventory_equip_slot.py vrchatapi/models/inventory_flag.py vrchatapi/models/inventory_item.py vrchatapi/models/inventory_item_type.py @@ -424,12 +495,14 @@ vrchatapi/models/inventory_metadata.py vrchatapi/models/inventory_notification_details.py vrchatapi/models/inventory_spawn.py vrchatapi/models/inventory_template.py +vrchatapi/models/inventory_user_attributes.py vrchatapi/models/invite_message.py vrchatapi/models/invite_message_type.py vrchatapi/models/invite_request.py vrchatapi/models/invite_response.py vrchatapi/models/jam.py vrchatapi/models/jam_state_change_dates.py +vrchatapi/models/join_group_request.py vrchatapi/models/license.py vrchatapi/models/license_action.py vrchatapi/models/license_group.py @@ -444,6 +517,9 @@ vrchatapi/models/limited_world.py vrchatapi/models/mime_type.py vrchatapi/models/model_print.py vrchatapi/models/moderate_user_request.py +vrchatapi/models/moderation_report.py +vrchatapi/models/mutual_friend.py +vrchatapi/models/mutuals.py vrchatapi/models/notification.py vrchatapi/models/notification_detail_invite.py vrchatapi/models/notification_detail_invite_response.py @@ -451,15 +527,23 @@ vrchatapi/models/notification_detail_request_invite.py vrchatapi/models/notification_detail_request_invite_response.py vrchatapi/models/notification_detail_vote_to_kick.py vrchatapi/models/notification_type.py +vrchatapi/models/notification_v2.py +vrchatapi/models/notification_v2_details_boop.py +vrchatapi/models/notification_v2_response.py +vrchatapi/models/notification_v2_type.py vrchatapi/models/ok_status.py +vrchatapi/models/ok_status2.py vrchatapi/models/order_option.py +vrchatapi/models/order_option_short.py vrchatapi/models/paginated_calendar_event_list.py vrchatapi/models/paginated_group_audit_log_entry_list.py +vrchatapi/models/paginated_moderation_report_list.py vrchatapi/models/past_display_name.py vrchatapi/models/pending2_fa_result.py vrchatapi/models/performance_limiter_info.py vrchatapi/models/performance_ratings.py vrchatapi/models/permission.py +vrchatapi/models/permission_data.py vrchatapi/models/platform_build_info.py vrchatapi/models/player_moderation.py vrchatapi/models/player_moderation_type.py @@ -468,9 +552,13 @@ vrchatapi/models/product.py vrchatapi/models/product_listing.py vrchatapi/models/product_listing_type.py vrchatapi/models/product_listing_variant.py +vrchatapi/models/product_purchase.py +vrchatapi/models/product_purchase_purchase_context.py vrchatapi/models/product_type.py vrchatapi/models/prop.py +vrchatapi/models/prop_publish_status.py vrchatapi/models/prop_unity_package.py +vrchatapi/models/purchase_product_listing_request.py vrchatapi/models/region.py vrchatapi/models/register_user_account_request.py vrchatapi/models/release_status.py @@ -479,20 +567,26 @@ vrchatapi/models/report_reason.py vrchatapi/models/represented_group.py vrchatapi/models/request_invite_request.py vrchatapi/models/respond_group_join_request.py +vrchatapi/models/respond_notification_v2_request.py vrchatapi/models/response.py +vrchatapi/models/search_group_members200_response.py vrchatapi/models/sent_notification.py vrchatapi/models/service_queue_stats.py vrchatapi/models/service_status.py vrchatapi/models/share_inventory_item_direct_request.py vrchatapi/models/sort_option.py +vrchatapi/models/sort_option_product_purchase.py vrchatapi/models/store.py vrchatapi/models/store_shelf.py vrchatapi/models/store_type.py vrchatapi/models/store_view.py vrchatapi/models/submission.py +vrchatapi/models/submit_moderation_report_request.py +vrchatapi/models/submit_moderation_report_request_details.py vrchatapi/models/subscription.py vrchatapi/models/subscription_period.py vrchatapi/models/success.py +vrchatapi/models/success_flag.py vrchatapi/models/tilia_status.py vrchatapi/models/tilia_tos.py vrchatapi/models/token_bundle.py @@ -501,11 +595,13 @@ vrchatapi/models/transaction_agreement.py vrchatapi/models/transaction_status.py vrchatapi/models/transaction_steam_info.py vrchatapi/models/transaction_steam_wallet_info.py +vrchatapi/models/transfer_group_request.py vrchatapi/models/two_factor_auth_code.py vrchatapi/models/two_factor_email_code.py vrchatapi/models/two_factor_recovery_codes.py vrchatapi/models/two_factor_recovery_codes_otp_inner.py vrchatapi/models/unity_package.py +vrchatapi/models/update_asset_review_notes_request.py vrchatapi/models/update_avatar_request.py vrchatapi/models/update_calendar_event_request.py vrchatapi/models/update_favorite_group_request.py @@ -516,12 +612,14 @@ vrchatapi/models/update_group_request.py vrchatapi/models/update_group_role_request.py vrchatapi/models/update_inventory_item_request.py vrchatapi/models/update_invite_message_request.py -vrchatapi/models/update_permission_request.py +vrchatapi/models/update_prop_request.py +vrchatapi/models/update_tilia_tos_request.py vrchatapi/models/update_user_badge_request.py vrchatapi/models/update_user_note_request.py vrchatapi/models/update_user_request.py vrchatapi/models/update_world_request.py vrchatapi/models/user.py +vrchatapi/models/user_credits_eligible.py vrchatapi/models/user_exists.py vrchatapi/models/user_note.py vrchatapi/models/user_note_target_user.py diff --git a/docs/APIConfig.md b/docs/APIConfig.md index 59558668..3d077c2a 100644 --- a/docs/APIConfig.md +++ b/docs/APIConfig.md @@ -1,10 +1,13 @@ # APIConfig - +Global configuration for various features. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**campaign_status** | **str** | The current platform-wide event taking place | +**disable_background_preloads** | **bool** | Toggles if certain assets are preloaded in the background | [default to True] +**location_gifting_non_sub_prio_enabled** | **bool** | Toggles whether users without a current VRC+ subscription are priority recipients for gift drops | [default to True] **voice_enable_degradation** | **bool** | Unknown, probably voice optimization testing | [default to False] **voice_enable_receiver_limiting** | **bool** | Unknown, probably voice optimization testing | [default to True] **access_logs_urls** | [**APIConfigAccessLogsUrls**](APIConfigAccessLogsUrls.md) | | @@ -14,9 +17,10 @@ Name | Type | Description | Notes **age_verification_status_visible** | **bool** | | **analysis_max_retries** | **int** | Max retries for avatar analysis requests | **analysis_retry_interval** | **int** | Interval between retries for avatar analysis requests | -**announcements** | [**list[APIConfigAnnouncement]**](APIConfigAnnouncement.md) | Public Announcements | **analytics_segment_new_ui_pct_of_users** | **int** | Unknown | **analytics_segment_new_ui_salt** | **str** | Unknown | +**announcements** | [**list[APIConfigAnnouncement]**](APIConfigAnnouncement.md) | Public Announcements | +**audio_config** | [**APIConfigAudioConfig**](APIConfigAudioConfig.md) | | [optional] **available_language_codes** | **list[str]** | List of supported Languages | **available_languages** | **list[str]** | List of supported Languages | **avatar_perf_limiter** | [**APIConfigAvatarPerfLimiter**](APIConfigAvatarPerfLimiter.md) | | @@ -40,7 +44,8 @@ Name | Type | Description | Notes **constants** | [**APIConfigConstants**](APIConfigConstants.md) | | **contact_email** | **str** | VRChat's contact email | **copyright_email** | **str** | VRChat's copyright-issues-related email | -**current_privacy_version** | **int** | Current version number of the Privacy Agreement | [optional] [default to 1] +**copyright_form_url** | **str** | VRChat's DMCA claim webform url | +**current_privacy_version** | **int** | Current version number of the Privacy Agreement | [default to 1] **current_tos_version** | **int** | Current version number of the Terms of Service | **default_avatar** | **str** | | **default_sticker_set** | **str** | | @@ -51,10 +56,10 @@ Name | Type | Description | Notes **disable_av_pro_in_proton** | **bool** | Unknown | [optional] [default to False] **disable_avatar_copying** | **bool** | Toggles if copying avatars should be disabled | [default to False] **disable_avatar_gating** | **bool** | Toggles if avatar gating should be disabled. Avatar gating restricts uploading of avatars to people with the `system_avatar_access` Tag or `admin_avatar_access` Tag | [default to False] +**disable_captcha** | **bool** | Unknown | [optional] [default to True] **disable_community_labs** | **bool** | Toggles if the Community Labs should be disabled | [default to False] **disable_community_labs_promotion** | **bool** | Toggles if promotion out of Community Labs should be disabled | [default to False] **disable_email** | **bool** | Unknown | [default to False] -**disable_captcha** | **bool** | Unknown | [optional] [default to True] **disable_event_stream** | **bool** | Toggles if Analytics should be disabled. | [default to False] **disable_feedback_gating** | **bool** | Toggles if feedback gating should be disabled. Feedback gating restricts submission of feedback (reporting a World or User) to people with the `system_feedback_access` Tag. | [default to False] **disable_frontend_builds** | **bool** | Unknown, probably toggles compilation of frontend web builds? So internal flag? | [default to False] @@ -69,9 +74,13 @@ Name | Type | Description | Notes **download_link_windows** | **str** | Download link for game on the Oculus Rift website. | **download_urls** | [**APIConfigDownloadURLList**](APIConfigDownloadURLList.md) | | **dynamic_world_rows** | [**list[DynamicContentRow]**](DynamicContentRow.md) | Array of DynamicWorldRow objects, used by the game to display the list of world rows | -**economy_pause_end** | **str** | Unknown | [optional] -**economy_pause_start** | **str** | Unknown | [optional] -**economy_state** | **int** | Unknown | [optional] [default to 1] +**economy_ledger_backfill** | **bool** | Unknown | +**economy_ledger_migration_stop** | **str** | Unknown | +**economy_ledger_mode** | **str** | Unknown | +**economy_pause_end** | **datetime** | Unknown | +**economy_pause_start** | **datetime** | Unknown | +**economy_purchase_repair_enabled** | **bool** | Unknown | +**economy_state** | **int** | Unknown | [default to 1] **events** | [**APIConfigEvents**](APIConfigEvents.md) | | **force_use_latest_world** | **bool** | Unknown | [default to True] **gift_display_type** | **str** | Display type of gifts | @@ -80,7 +89,11 @@ Name | Type | Description | Notes **homepage_redirect_target** | **str** | Redirect target if you try to open the base API domain in your browser | [default to 'https://hello.vrchat.com'] **hub_world_id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | **image_host_url_list** | **list[str]** | A list of explicitly allowed origins that worlds can request images from via the Udon's [VRCImageDownloader#DownloadImage](https://creators.vrchat.com/worlds/udon/image-loading/#downloadimage). | +**ios_app_version** | **list[str]** | Current app version for iOS | +**ios_version** | [**APIConfigIosVersion**](APIConfigIosVersion.md) | | **jobs_email** | **str** | VRChat's job application email | +**max_user_emoji** | **int** | The maximum number of custom emoji each user may have at a given time. | [default to 18] +**max_user_stickers** | **int** | The maximum number of custom stickers each user may have at a given time. | [default to 18] **min_supported_client_build_number** | [**APIConfigMinSupportedClientBuildNumber**](APIConfigMinSupportedClientBuildNumber.md) | | **minimum_unity_version_for_uploads** | **str** | Minimum Unity version required for uploading assets | [default to '2019.0.0f1'] **moderation_email** | **str** | VRChat's moderation related email | @@ -88,10 +101,13 @@ Name | Type | Description | Notes **offline_analysis** | [**APIConfigOfflineAnalysis**](APIConfigOfflineAnalysis.md) | | **photon_nameserver_overrides** | **list[str]** | Unknown | **photon_public_keys** | **list[str]** | Unknown | -**report_categories** | [**APIConfigReportCategories**](APIConfigReportCategories.md) | | +**player_url_resolver_sha1** | **str** | Currently used youtube-dl.exe hash in SHA1-delimited format | +**player_url_resolver_version** | **str** | Currently used youtube-dl.exe version | +**public_key** | **str** | Public key, hex encoded | +**report_categories** | [**dict(str, ReportCategory)**](ReportCategory.md) | Categories available for reporting objectionable content | **report_form_url** | **str** | URL to the report form | [default to 'https://help.vrchat.com/hc/en-us/requests/new?ticket_form_id=1500000182242&tf_360056455174=user_report&tf_360057451993={userId}&tf_1500001445142={reportedId}&tf_subject={reason} {category} By {contentType} {reportedName}&tf_description={description}'] -**report_options** | [**APIConfigReportOptions**](APIConfigReportOptions.md) | | -**report_reasons** | [**APIConfigReportReasons**](APIConfigReportReasons.md) | | +**report_options** | **dict(str, dict(str, list[str]))** | Options for reporting content. Select a key+value from this mapping as the `type` of the report. Select one key+value from the object at reportOptions[type] as the `category` of the report. reportCategories[category] contains user-facing text to display for all possible categories. Select one value from the array at reportOptions[type][category] as the `reason` of the report. reportReasons[reason] contains user-facing text to display for all possible categories. | +**report_reasons** | [**dict(str, ReportReason)**](ReportReason.md) | Reasons available for submitting a report | **require_age_verification_beta_tag** | **bool** | | **sdk_developer_faq_url** | **str** | Link to the developer FAQ | **sdk_discord_url** | **str** | Link to the official VRChat Discord | @@ -100,8 +116,8 @@ Name | Type | Description | Notes **string_host_url_list** | **list[str]** | A list of explicitly allowed origins that worlds can request strings from via the Udon's [VRCStringDownloader.LoadUrl](https://creators.vrchat.com/worlds/udon/string-loading/#ivrcstringdownload). | **support_email** | **str** | VRChat's support email | **support_form_url** | **str** | VRChat's support form | -**timekeeping** | **bool** | Unknown | [default to True] **time_out_world_id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | +**timekeeping** | **bool** | Unknown | [default to True] **tutorial_world_id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | **update_rate_ms_maximum** | **int** | Unknown | **update_rate_ms_minimum** | **int** | Unknown | @@ -111,13 +127,10 @@ Name | Type | Description | Notes **url_list** | **list[str]** | List of allowed URLs that bypass the \"Allow untrusted URL's\" setting in-game | **use_reliable_udp_for_voice** | **bool** | Unknown | [default to False] **vive_windows_url** | **str** | Download link for game on the Steam website. | -**white_listed_asset_urls** | **list[str]** | List of allowed URLs that are allowed to host avatar assets | -**player_url_resolver_version** | **str** | Currently used youtube-dl.exe version | -**player_url_resolver_sha1** | **str** | Currently used youtube-dl.exe hash in SHA1-delimited format | -**public_key** | **str** | Public key, hex encoded | **websocket_max_friends_refresh_delay** | **int** | Unknown | [default to 900] **websocket_quick_reconnect_time** | **int** | Unknown | [default to 2] **websocket_reconnect_max_delay** | **int** | Unknown | [default to 2] +**white_listed_asset_urls** | **list[str]** | List of allowed URLs that are allowed to host avatar assets | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/APIConfigAudioConfig.md b/docs/APIConfigAudioConfig.md new file mode 100644 index 00000000..770d8b39 --- /dev/null +++ b/docs/APIConfigAudioConfig.md @@ -0,0 +1,22 @@ +# APIConfigAudioConfig + +Global configuration for Steam Audio + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**eq** | **float** | Unknown | +**near_field_ild_nudge** | **float** | Unknown | +**near_field_ild_nudge_distance** | **float** | Unknown | +**near_field_ild_nudge_ear_radius** | **float** | Unknown | +**per_ear_directionality_ear_radius** | **float** | Unknown | +**per_ear_directionality_fade_distance** | **float** | Unknown | +**per_ear_directionality_max_scale** | **float** | Unknown | +**per_ear_directionality_pc_factor** | **float** | Unknown | +**tracking_scale_max** | **float** | Unknown | +**tracking_scale_min** | **float** | Unknown | +**tracking_scale_multiplier** | **float** | Unknown | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/APIConfigDownloadURLList.md b/docs/APIConfigDownloadURLList.md index 815a3650..f864864b 100644 --- a/docs/APIConfigDownloadURLList.md +++ b/docs/APIConfigDownloadURLList.md @@ -5,11 +5,11 @@ Download links for various development assets. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**bootstrap** | **str** | Download link for ??? | **sdk2** | **str** | Download link for legacy SDK2 | **sdk3_avatars** | **str** | Download link for SDK3 for Avatars | **sdk3_worlds** | **str** | Download link for SDK3 for Worlds | **vcc** | **str** | Download link for the Creator Companion | -**bootstrap** | **str** | Download link for ??? | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/APIConfigEvents.md b/docs/APIConfigEvents.md index 8e0d08a1..a2b5d62e 100644 --- a/docs/APIConfigEvents.md +++ b/docs/APIConfigEvents.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **player_order_bucket_size** | **int** | Unknown | **player_order_factor** | **int** | Unknown | **slow_update_factor_threshold** | **int** | Unknown | +**use_direct_player_serialization** | **bool** | Unknown | **view_segment_length** | **int** | Unknown | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/APIConfigReportOptionsGroup.md b/docs/APIConfigIosVersion.md similarity index 62% rename from docs/APIConfigReportOptionsGroup.md rename to docs/APIConfigIosVersion.md index 072f1245..b6d322a4 100644 --- a/docs/APIConfigReportOptionsGroup.md +++ b/docs/APIConfigIosVersion.md @@ -1,12 +1,12 @@ -# APIConfigReportOptionsGroup +# APIConfigIosVersion +Current version for iOS ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**groupstore** | **list[str]** | | [optional] -**image** | **list[str]** | | [optional] -**text** | **list[str]** | | [optional] +**major** | **int** | | +**minor** | **int** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/APIConfigReportCategories.md b/docs/APIConfigReportCategories.md deleted file mode 100644 index 6fcd75fd..00000000 --- a/docs/APIConfigReportCategories.md +++ /dev/null @@ -1,24 +0,0 @@ -# APIConfigReportCategories - -Categories available for reporting objectionable content - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**avatar** | [**ReportCategory**](ReportCategory.md) | | -**avatarpage** | [**ReportCategory**](ReportCategory.md) | | [optional] -**behavior** | [**ReportCategory**](ReportCategory.md) | | -**chat** | [**ReportCategory**](ReportCategory.md) | | -**emoji** | [**ReportCategory**](ReportCategory.md) | | [optional] -**environment** | [**ReportCategory**](ReportCategory.md) | | -**groupstore** | [**ReportCategory**](ReportCategory.md) | | -**image** | [**ReportCategory**](ReportCategory.md) | | -**text** | [**ReportCategory**](ReportCategory.md) | | -**sticker** | [**ReportCategory**](ReportCategory.md) | | [optional] -**warnings** | [**ReportCategory**](ReportCategory.md) | | -**worldimage** | [**ReportCategory**](ReportCategory.md) | | -**worldstore** | [**ReportCategory**](ReportCategory.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/APIConfigReportOptions.md b/docs/APIConfigReportOptions.md deleted file mode 100644 index 2605bdf2..00000000 --- a/docs/APIConfigReportOptions.md +++ /dev/null @@ -1,15 +0,0 @@ -# APIConfigReportOptions - -Options for reporting content - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**avatar** | [**APIConfigReportOptionsAvatar**](APIConfigReportOptionsAvatar.md) | | [optional] -**group** | [**APIConfigReportOptionsGroup**](APIConfigReportOptionsGroup.md) | | [optional] -**user** | [**APIConfigReportOptionsUser**](APIConfigReportOptionsUser.md) | | [optional] -**world** | [**APIConfigReportOptionsWorld**](APIConfigReportOptionsWorld.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/APIConfigReportOptionsUser.md b/docs/APIConfigReportOptionsUser.md deleted file mode 100644 index e0816c3e..00000000 --- a/docs/APIConfigReportOptionsUser.md +++ /dev/null @@ -1,16 +0,0 @@ -# APIConfigReportOptionsUser - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**behavior** | **list[str]** | | [optional] -**chat** | **list[str]** | | [optional] -**emoji** | **list[str]** | | [optional] -**image** | **list[str]** | | [optional] -**sticker** | **list[str]** | | [optional] -**text** | **list[str]** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/APIConfigReportReasons.md b/docs/APIConfigReportReasons.md deleted file mode 100644 index 8ff34b6f..00000000 --- a/docs/APIConfigReportReasons.md +++ /dev/null @@ -1,33 +0,0 @@ -# APIConfigReportReasons - -Reasons available for reporting users - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**billing** | [**ReportReason**](ReportReason.md) | | -**botting** | [**ReportReason**](ReportReason.md) | | -**cancellation** | [**ReportReason**](ReportReason.md) | | -**copyright** | [**ReportReason**](ReportReason.md) | | [optional] -**fraud** | [**ReportReason**](ReportReason.md) | | [optional] -**gore** | [**ReportReason**](ReportReason.md) | | -**hacking** | [**ReportReason**](ReportReason.md) | | -**harassing** | [**ReportReason**](ReportReason.md) | | -**hateful** | [**ReportReason**](ReportReason.md) | | -**impersonation** | [**ReportReason**](ReportReason.md) | | -**inappropriate** | [**ReportReason**](ReportReason.md) | | -**leaking** | [**ReportReason**](ReportReason.md) | | -**malicious** | [**ReportReason**](ReportReason.md) | | -**missing** | [**ReportReason**](ReportReason.md) | | -**nudity** | [**ReportReason**](ReportReason.md) | | -**renewal** | [**ReportReason**](ReportReason.md) | | -**security** | [**ReportReason**](ReportReason.md) | | -**service** | [**ReportReason**](ReportReason.md) | | -**sexual** | [**ReportReason**](ReportReason.md) | | -**technical** | [**ReportReason**](ReportReason.md) | | [optional] -**threatening** | [**ReportReason**](ReportReason.md) | | -**visuals** | [**ReportReason**](ReportReason.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/APIHealth.md b/docs/APIHealth.md index 8b9db7ae..53a96291 100644 --- a/docs/APIHealth.md +++ b/docs/APIHealth.md @@ -4,9 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**build_version_tag** | **str** | | **ok** | **bool** | | **server_name** | **str** | | -**build_version_tag** | **str** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/AccountDeletionLog.md b/docs/AccountDeletionLog.md index 79f7f7a5..15cf5b11 100644 --- a/docs/AccountDeletionLog.md +++ b/docs/AccountDeletionLog.md @@ -4,9 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**message** | **str** | Typically \"Deletion requested\" or \"Deletion canceled\". Other messages like \"Deletion completed\" may exist, but are these are not possible to see as a regular user. | [optional] [default to 'Deletion requested'] -**deletion_scheduled** | **datetime** | When the deletion is scheduled to happen, standard is 14 days after the request. | [optional] **date_time** | **datetime** | Date and time of the deletion request. | [optional] +**deletion_scheduled** | **datetime** | When the deletion is scheduled to happen, standard is 14 days after the request. | [optional] +**message** | **str** | Typically \"Deletion requested\" or \"Deletion canceled\". Other messages like \"Deletion completed\" may exist, but are these are not possible to see as a regular user. | [optional] [default to 'Deletion requested'] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/AddFavoriteRequest.md b/docs/AddFavoriteRequest.md index 08a293f0..d34d0ec7 100644 --- a/docs/AddFavoriteRequest.md +++ b/docs/AddFavoriteRequest.md @@ -4,9 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | [**FavoriteType**](FavoriteType.md) | | **favorite_id** | **str** | Must be either AvatarID, WorldID or UserID. | **tags** | **list[str]** | Tags indicate which group this favorite belongs to. Adding multiple groups makes it show up in all. Removing it from one in that case removes it from all. | +**type** | [**FavoriteType**](FavoriteType.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/AdminUnityPackage.md b/docs/AdminUnityPackage.md index 96bc4f2a..b4486605 100644 --- a/docs/AdminUnityPackage.md +++ b/docs/AdminUnityPackage.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **asset_url** | **str** | | **asset_version** | **int** | | -**platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | +**platform** | **str** | This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | **unity_version** | **str** | | [default to '2022.3.22f1-DWR'] **variant** | **str** | | diff --git a/docs/Agreement.md b/docs/Agreement.md new file mode 100644 index 00000000..6a2fd519 --- /dev/null +++ b/docs/Agreement.md @@ -0,0 +1,18 @@ +# Agreement + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**agreement_code** | [**AgreementCode**](AgreementCode.md) | | +**agreement_fulltext** | **str** | The full text of the agreement. | [optional] +**content_id** | **str** | The id of the content being uploaded, such as a WorldID, AvatarID, or PropID. | +**created** | **str** | When the agreement was created | +**id** | **str** | The id of the agreement. | +**tags** | **list[str]** | | +**user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**version** | **int** | The version of the agreement. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/APIConfigReportOptionsAvatar.md b/docs/AgreementCode.md similarity index 62% rename from docs/APIConfigReportOptionsAvatar.md rename to docs/AgreementCode.md index c9415e81..33970f52 100644 --- a/docs/APIConfigReportOptionsAvatar.md +++ b/docs/AgreementCode.md @@ -1,12 +1,10 @@ -# APIConfigReportOptionsAvatar +# AgreementCode +The type of agreement. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**avatar** | **list[str]** | | [optional] -**avatarpage** | **list[str]** | | [optional] -**warnings** | **list[str]** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/AgreementRequest.md b/docs/AgreementRequest.md new file mode 100644 index 00000000..984b8f8c --- /dev/null +++ b/docs/AgreementRequest.md @@ -0,0 +1,14 @@ +# AgreementRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**agreement_code** | [**AgreementCode**](AgreementCode.md) | | +**agreement_fulltext** | **str** | The full text of the agreement (currently `By clicking OK, I certify that I have the necessary rights to upload this content and that it will not infringe on any third-party legal or intellectual property rights.`). | +**content_id** | **str** | The id of the content being uploaded, such as a WorldID, AvatarID, or PropID. | +**version** | **int** | The version of the agreement (currently `1`). | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AgreementStatus.md b/docs/AgreementStatus.md new file mode 100644 index 00000000..a53f05e6 --- /dev/null +++ b/docs/AgreementStatus.md @@ -0,0 +1,15 @@ +# AgreementStatus + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**agreed** | **bool** | Whether the user has agreed for this content. | +**agreement_code** | [**AgreementCode**](AgreementCode.md) | | +**content_id** | **str** | The id of the content being uploaded, such as a WorldID, AvatarID, or PropID. | +**user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**version** | **int** | The version of the agreement. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AuthenticationApi.md b/docs/AuthenticationApi.md index ccbde181..c0a670a7 100644 --- a/docs/AuthenticationApi.md +++ b/docs/AuthenticationApi.md @@ -7,15 +7,20 @@ Method | HTTP request | Description [**cancel_pending2_fa**](AuthenticationApi.md#cancel_pending2_fa) | **DELETE** /auth/twofactorauth/totp/pending | Cancel pending enabling of time-based 2FA codes [**check_user_exists**](AuthenticationApi.md#check_user_exists) | **GET** /auth/exists | Check User Exists [**confirm_email**](AuthenticationApi.md#confirm_email) | **GET** /auth/confirmEmail | Confirm Email +[**create_global_avatar_moderation**](AuthenticationApi.md#create_global_avatar_moderation) | **POST** /auth/user/avatarmoderations | Create Global Avatar Moderation +[**delete_global_avatar_moderation**](AuthenticationApi.md#delete_global_avatar_moderation) | **DELETE** /auth/user/avatarmoderations | Delete Global Avatar Moderation +[**delete_moderation_report**](AuthenticationApi.md#delete_moderation_report) | **DELETE** /moderationReports/{moderationReportId} | Delete Moderation Report [**delete_user**](AuthenticationApi.md#delete_user) | **PUT** /users/{userId}/delete | Delete User [**disable2_fa**](AuthenticationApi.md#disable2_fa) | **DELETE** /auth/twofactorauth | Disable 2FA [**enable2_fa**](AuthenticationApi.md#enable2_fa) | **POST** /auth/twofactorauth/totp/pending | Enable time-based 2FA codes [**get_current_user**](AuthenticationApi.md#get_current_user) | **GET** /auth/user | Login and/or Get Current User Info [**get_global_avatar_moderations**](AuthenticationApi.md#get_global_avatar_moderations) | **GET** /auth/user/avatarmoderations | Get Global Avatar Moderations +[**get_moderation_reports**](AuthenticationApi.md#get_moderation_reports) | **GET** /moderationReports | Get Moderation Reports [**get_recovery_codes**](AuthenticationApi.md#get_recovery_codes) | **GET** /auth/user/twofactorauth/otp | Get 2FA Recovery codes [**logout**](AuthenticationApi.md#logout) | **PUT** /logout | Logout [**register_user_account**](AuthenticationApi.md#register_user_account) | **POST** /auth/register | Register User Account [**resend_email_confirmation**](AuthenticationApi.md#resend_email_confirmation) | **POST** /auth/user/resendEmail | Resend Email Confirmation +[**submit_moderation_report**](AuthenticationApi.md#submit_moderation_report) | **POST** /moderationReports | Submit Moderation Report [**verify2_fa**](AuthenticationApi.md#verify2_fa) | **POST** /auth/twofactorauth/totp/verify | Verify 2FA code [**verify2_fa_email_code**](AuthenticationApi.md#verify2_fa_email_code) | **POST** /auth/twofactorauth/emailotp/verify | Verify 2FA email code [**verify_auth_token**](AuthenticationApi.md#verify_auth_token) | **GET** /auth | Verify Auth Token @@ -226,6 +231,231 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **create_global_avatar_moderation** +> AvatarModerationCreated create_global_avatar_moderation(create_avatar_moderation_request) + +Create Global Avatar Moderation + +Globally moderates an avatar. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.AuthenticationApi(api_client) + create_avatar_moderation_request = vrchatapi.CreateAvatarModerationRequest() # CreateAvatarModerationRequest | + + try: + # Create Global Avatar Moderation + api_response = api_instance.create_global_avatar_moderation(create_avatar_moderation_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling AuthenticationApi->create_global_avatar_moderation: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **create_avatar_moderation_request** | [**CreateAvatarModerationRequest**](CreateAvatarModerationRequest.md)| | + +### Return type + +[**AvatarModerationCreated**](AvatarModerationCreated.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single AvatarModerationCreated object | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_global_avatar_moderation** +> OkStatus2 delete_global_avatar_moderation(target_avatar_id, avatar_moderation_type) + +Delete Global Avatar Moderation + +Globally unmoderates an avatar. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.AuthenticationApi(api_client) + target_avatar_id = 'target_avatar_id_example' # str | Must be a valid avatar ID. +avatar_moderation_type = vrchatapi.AvatarModerationType() # AvatarModerationType | The avatar moderation type associated with the avatar. + + try: + # Delete Global Avatar Moderation + api_response = api_instance.delete_global_avatar_moderation(target_avatar_id, avatar_moderation_type) + pprint(api_response) + except ApiException as e: + print("Exception when calling AuthenticationApi->delete_global_avatar_moderation: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **target_avatar_id** | **str**| Must be a valid avatar ID. | + **avatar_moderation_type** | [**AvatarModerationType**](.md)| The avatar moderation type associated with the avatar. | + +### Return type + +[**OkStatus2**](OkStatus2.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single OkStatus2 object | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_moderation_report** +> SuccessFlag delete_moderation_report(moderation_report_id) + +Delete Moderation Report + +Delete a moderation report + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.AuthenticationApi(api_client) + moderation_report_id = 'moderation_report_id_example' # str | The moderation report id. + + try: + # Delete Moderation Report + api_response = api_instance.delete_moderation_report(moderation_report_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling AuthenticationApi->delete_moderation_report: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **moderation_report_id** | **str**| The moderation report id. | + +### Return type + +[**SuccessFlag**](SuccessFlag.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns an SuccessFlag object. | - | +**401** | Error response due to missing auth cookie. | - | +**403** | Error response due to missing Administrator credentials. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **delete_user** > CurrentUser delete_user(user_id) @@ -445,7 +675,7 @@ This endpoint does not need any parameter. Login and/or Get Current User Info -This endpoint does the following two operations: 1) Checks if you are already logged in by looking for a valid `auth` cookie. If you are have a valid auth cookie then no additional auth-related actions are taken. If you are **not** logged in then it will log you in with the `Authorization` header and set the `auth` cookie. The `auth` cookie will only be sent once. 2) If logged in, this function will also return the CurrentUser object containing detailed information about the currently logged in user. The auth string after `Authorization: Basic {string}` is a base64-encoded string of the username and password, both individually url-encoded, and then joined with a colon. > base64(urlencode(username):urlencode(password)) **WARNING: Session Limit:** Each authentication with login credentials counts as a separate session, out of which you have a limited amount. Make sure to save and reuse the `auth` cookie if you are often restarting the program. The provided API libraries automatically save cookies during runtime, but does not persist during restart. While it can be fine to use username/password during development, expect in production to very fast run into the rate-limit and be temporarily blocked from making new sessions until older ones expire. The exact number of simultaneous sessions is unknown/undisclosed. +This endpoint does the following two operations: 1) Checks if you are already logged in by looking for a valid `auth` cookie. If you are have a valid auth cookie then no additional auth-related actions are taken. If you are **not** logged in then it will log you in with the `Authorization` header and set the `auth` cookie. The `auth` cookie will only be sent once. 2) If logged in, this function will also return the CurrentUser object containing detailed information about the currently logged in user. The auth string after `Authorization: Basic {string}` is a base64-encoded string of the username and password, both individually url-encoded, and then joined with a colon. > base64(urlencode(username):urlencode(password)) **WARNING: Session Limit:** Each authentication with login credentials counts as a separate session, out of which you have a limited amount. Make sure to save and reuse the `auth` cookie if you are often restarting the program. The provided API libraries automatically save cookies during runtime, but does not persist during restart. While it can be fine to use username/password during development, expect in production to very fast run into the rate-limit and be temporarily blocked from making new sessions until older ones expire. The exact number of simultaneous sessions is unknown/undisclosed. ### Example @@ -625,7 +855,7 @@ This endpoint does not need any parameter. Get Global Avatar Moderations -Returns list of globally blocked avatars. +Returns list of globally moderated avatars. ### Example @@ -690,6 +920,89 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_moderation_reports** +> PaginatedModerationReportList get_moderation_reports(offset=offset, n=n, reporting_user_id=reporting_user_id, status=status, type=type) + +Get Moderation Reports + +Get submitted moderation reports + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.AuthenticationApi(api_client) + offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) +n = 60 # int | The number of objects to return. (optional) (default to 60) +reporting_user_id = 'reporting_user_id_example' # str | Filter for moderation reports. (optional) +status = 'status_example' # str | Filter for moderation reports. One of: `closed`... (optional) +type = 'type_example' # str | Filter for moderation reports. One of: `avatar`, `group`, `user`, `world`... (optional) + + try: + # Get Moderation Reports + api_response = api_instance.get_moderation_reports(offset=offset, n=n, reporting_user_id=reporting_user_id, status=status, type=type) + pprint(api_response) + except ApiException as e: + print("Exception when calling AuthenticationApi->get_moderation_reports: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **reporting_user_id** | **str**| Filter for moderation reports. | [optional] + **status** | **str**| Filter for moderation reports. One of: `closed`... | [optional] + **type** | **str**| Filter for moderation reports. One of: `avatar`, `group`, `user`, `world`... | [optional] + +### Return type + +[**PaginatedModerationReportList**](PaginatedModerationReportList.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of ModerationReport objects, wrapped in new pagination format. | - | +**401** | Error response due to missing auth cookie. | - | +**403** | Error response due to missing Administrator credentials. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_recovery_codes** > TwoFactorRecoveryCodes get_recovery_codes() @@ -963,6 +1276,80 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **submit_moderation_report** +> ModerationReport submit_moderation_report(submit_moderation_report_request) + +Submit Moderation Report + +Submit a moderation report + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.AuthenticationApi(api_client) + submit_moderation_report_request = vrchatapi.SubmitModerationReportRequest() # SubmitModerationReportRequest | + + try: + # Submit Moderation Report + api_response = api_instance.submit_moderation_report(submit_moderation_report_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling AuthenticationApi->submit_moderation_report: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **submit_moderation_report_request** | [**SubmitModerationReportRequest**](SubmitModerationReportRequest.md)| | + +### Return type + +[**ModerationReport**](ModerationReport.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single ModerationReport object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **verify2_fa** > Verify2FAResult verify2_fa(two_factor_auth_code) diff --git a/docs/Avatar.md b/docs/Avatar.md index fb4e37d0..70cef5ef 100644 --- a/docs/Avatar.md +++ b/docs/Avatar.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **acknowledgements** | **str** | | [optional] +**active_asset_review_id** | **str** | Only present for the avatar author on avatars under active review. | [optional] **asset_url** | **str** | Not present from general search `/avatars`, only on specific requests `/avatars/{avatarId}`. | [optional] **asset_url_object** | **object** | Not present from general search `/avatars`, only on specific requests `/avatars/{avatarId}`. **Deprecation:** `Object` has unknown usage/fields, and is always empty. Use normal `Url` field instead. | [optional] **author_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | @@ -20,6 +21,7 @@ Name | Type | Description | Notes **lock** | **bool** | | [optional] **lowest_price** | **int** | | [optional] **name** | **str** | | +**pending_upload** | **bool** | | [optional] [default to False] **performance** | [**AvatarPerformance**](AvatarPerformance.md) | | **product_id** | **str** | | [optional] **published_listings** | [**list[AvatarPublishedListingsInner]**](AvatarPublishedListingsInner.md) | | [optional] diff --git a/docs/APIConfigReportOptionsWorld.md b/docs/AvatarModerationCreated.md similarity index 51% rename from docs/APIConfigReportOptionsWorld.md rename to docs/AvatarModerationCreated.md index d7fbfcdd..aa6a0492 100644 --- a/docs/APIConfigReportOptionsWorld.md +++ b/docs/AvatarModerationCreated.md @@ -1,14 +1,12 @@ -# APIConfigReportOptionsWorld +# AvatarModerationCreated ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**environment** | **list[str]** | | [optional] -**text** | **list[str]** | | [optional] -**warnings** | **list[str]** | | [optional] -**worldimage** | **list[str]** | | [optional] -**worldstore** | **list[str]** | | [optional] +**avatar_moderation_type** | [**AvatarModerationType**](AvatarModerationType.md) | | +**created** | **int** | Timestamp in milliseconds since Unix epoch | +**target_avatar_id** | **str** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/AvatarsApi.md b/docs/AvatarsApi.md index 52f37f5d..a70878d5 100644 --- a/docs/AvatarsApi.md +++ b/docs/AvatarsApi.md @@ -773,7 +773,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **search_avatars** -> list[Avatar] search_avatars(featured=featured, sort=sort, user=user, user_id=user_id, n=n, order=order, offset=offset, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform) +> list[Avatar] search_avatars(featured=featured, sort=sort, user=user, user_id=user_id, n=n, order=order, offset=offset, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform, is_internal_variant=is_internal_variant) Search Avatars @@ -822,10 +822,11 @@ release_status = vrchatapi.ReleaseStatus() # ReleaseStatus | Filter by ReleaseSt max_unity_version = 'max_unity_version_example' # str | The maximum Unity version supported by the asset. (optional) min_unity_version = 'min_unity_version_example' # str | The minimum Unity version supported by the asset. (optional) platform = 'platform_example' # str | The platform the asset supports. (optional) +is_internal_variant = false # bool | Not quite sure what this actually does (exists on the website but doesn't seem to be used) (optional) try: # Search Avatars - api_response = api_instance.search_avatars(featured=featured, sort=sort, user=user, user_id=user_id, n=n, order=order, offset=offset, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform) + api_response = api_instance.search_avatars(featured=featured, sort=sort, user=user, user_id=user_id, n=n, order=order, offset=offset, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform, is_internal_variant=is_internal_variant) pprint(api_response) except ApiException as e: print("Exception when calling AvatarsApi->search_avatars: %s\n" % e) @@ -848,6 +849,7 @@ Name | Type | Description | Notes **max_unity_version** | **str**| The maximum Unity version supported by the asset. | [optional] **min_unity_version** | **str**| The minimum Unity version supported by the asset. | [optional] **platform** | **str**| The platform the asset supports. | [optional] + **is_internal_variant** | **bool**| Not quite sure what this actually does (exists on the website but doesn't seem to be used) | [optional] ### Return type diff --git a/docs/BoopRequest.md b/docs/BoopRequest.md new file mode 100644 index 00000000..45ac7d08 --- /dev/null +++ b/docs/BoopRequest.md @@ -0,0 +1,14 @@ +# BoopRequest + +See NotificationDetailBoop; either inventoryItemId (accessed through .id) by itself, or emojiId (accessed through .metadata.fileId or built-in emoji name) with optional emojiVersion + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**emoji_id** | **str** | Either a FileID or a string constant for default emojis | [optional] +**emoji_version** | **int** | | [optional] +**inventory_item_id** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CalendarApi.md b/docs/CalendarApi.md index bb0590b6..0139c598 100644 --- a/docs/CalendarApi.md +++ b/docs/CalendarApi.md @@ -6,6 +6,7 @@ Method | HTTP request | Description ------------- | ------------- | ------------- [**create_group_calendar_event**](CalendarApi.md#create_group_calendar_event) | **POST** /calendar/{groupId}/event | Create a calendar event [**delete_group_calendar_event**](CalendarApi.md#delete_group_calendar_event) | **DELETE** /calendar/{groupId}/{calendarId} | Delete a calendar event +[**discover_calendar_events**](CalendarApi.md#discover_calendar_events) | **GET** /calendar/discover | Discover calendar events [**follow_group_calendar_event**](CalendarApi.md#follow_group_calendar_event) | **POST** /calendar/{groupId}/{calendarId}/follow | Follow a calendar event [**get_calendar_events**](CalendarApi.md#get_calendar_events) | **GET** /calendar | List calendar events [**get_featured_calendar_events**](CalendarApi.md#get_featured_calendar_events) | **GET** /calendar/featured | List featured calendar events @@ -13,6 +14,7 @@ Method | HTTP request | Description [**get_group_calendar_event**](CalendarApi.md#get_group_calendar_event) | **GET** /calendar/{groupId}/{calendarId} | Get a calendar event [**get_group_calendar_event_ics**](CalendarApi.md#get_group_calendar_event_ics) | **GET** /calendar/{groupId}/{calendarId}.ics | Download calendar event as ICS [**get_group_calendar_events**](CalendarApi.md#get_group_calendar_events) | **GET** /calendar/{groupId} | List a group's calendar events +[**get_group_next_calendar_event**](CalendarApi.md#get_group_next_calendar_event) | **GET** /calendar/{groupId}/next | Get next calendar event [**search_calendar_events**](CalendarApi.md#search_calendar_events) | **GET** /calendar/search | Search for calendar events [**update_group_calendar_event**](CalendarApi.md#update_group_calendar_event) | **PUT** /calendar/{groupId}/{calendarId}/event | Update a calendar event @@ -89,7 +91,9 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Returns a single CalendarEvent object. | - | +**400** | Error response due to an invalid or illegal calendar request. | - | **401** | Error response due to missing auth cookie. | - | +**403** | Error response due to an invalid or illegal calendar request. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -166,6 +170,101 @@ Name | Type | Description | Notes |-------------|-------------|------------------| **200** | Successful response after deleting a calendar event. | - | **401** | Error response due to missing auth cookie. | - | +**404** | Error response when trying to download ICS calendar of a non-existent calendar entry, get such a calendar entry, or get the next event for a group that lacks any future scheduled events. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **discover_calendar_events** +> CalendarEventDiscovery discover_calendar_events(scope=scope, categories=categories, tags=tags, featured_results=featured_results, non_featured_results=non_featured_results, personalized_results=personalized_results, minimum_interest_count=minimum_interest_count, minimum_remaining_minutes=minimum_remaining_minutes, upcoming_offset_minutes=upcoming_offset_minutes, n=n, next_cursor=next_cursor) + +Discover calendar events + +Get a list of calendar events Initially, call without a `nextCursor` parameter For every successive call, use the `nextCursor` property returned in the previous call & the `number` of entries desired for this call The `nextCursor` internally keeps track of the `offset` of the results, the initial request parameters, and accounts for discrepancies that might arise from time elapsed between calls + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.CalendarApi(api_client) + scope = vrchatapi.CalendarEventDiscoveryScope() # CalendarEventDiscoveryScope | Scope for calendar event discovery. (optional) +categories = 'avatars,exploration,gaming,roleplaying,music,performance' # str | Filter for calendar event discovery. (optional) +tags = 'vrc_event_group_fair' # str | Filter for calendar event discovery. (optional) +featured_results = vrchatapi.CalendarEventDiscoveryInclusion() # CalendarEventDiscoveryInclusion | Filter for calendar event discovery. (optional) +non_featured_results = vrchatapi.CalendarEventDiscoveryInclusion() # CalendarEventDiscoveryInclusion | Filter for calendar event discovery. (optional) +personalized_results = vrchatapi.CalendarEventDiscoveryInclusion() # CalendarEventDiscoveryInclusion | Filter for calendar event discovery. (optional) +minimum_interest_count = 5 # int | Filter for calendar event discovery. (optional) +minimum_remaining_minutes = 10 # int | Filter for calendar event discovery. (optional) +upcoming_offset_minutes = 10080 # int | Filter for calendar event discovery. (optional) +n = 60 # int | The number of objects to return. (optional) (default to 60) +next_cursor = 'next_cursor_example' # str | Cursor returned from previous calendar discovery queries (see nextCursor property of the schema CalendarEventDiscovery). (optional) + + try: + # Discover calendar events + api_response = api_instance.discover_calendar_events(scope=scope, categories=categories, tags=tags, featured_results=featured_results, non_featured_results=non_featured_results, personalized_results=personalized_results, minimum_interest_count=minimum_interest_count, minimum_remaining_minutes=minimum_remaining_minutes, upcoming_offset_minutes=upcoming_offset_minutes, n=n, next_cursor=next_cursor) + pprint(api_response) + except ApiException as e: + print("Exception when calling CalendarApi->discover_calendar_events: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **scope** | [**CalendarEventDiscoveryScope**](.md)| Scope for calendar event discovery. | [optional] + **categories** | **str**| Filter for calendar event discovery. | [optional] + **tags** | **str**| Filter for calendar event discovery. | [optional] + **featured_results** | [**CalendarEventDiscoveryInclusion**](.md)| Filter for calendar event discovery. | [optional] + **non_featured_results** | [**CalendarEventDiscoveryInclusion**](.md)| Filter for calendar event discovery. | [optional] + **personalized_results** | [**CalendarEventDiscoveryInclusion**](.md)| Filter for calendar event discovery. | [optional] + **minimum_interest_count** | **int**| Filter for calendar event discovery. | [optional] + **minimum_remaining_minutes** | **int**| Filter for calendar event discovery. | [optional] + **upcoming_offset_minutes** | **int**| Filter for calendar event discovery. | [optional] + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **next_cursor** | **str**| Cursor returned from previous calendar discovery queries (see nextCursor property of the schema CalendarEventDiscovery). | [optional] + +### Return type + +[**CalendarEventDiscovery**](CalendarEventDiscovery.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a CalendarEventDiscovery objects. | - | +**401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -619,7 +718,7 @@ No authorization required |-------------|-------------|------------------| **200** | iCalendar file download | - | **401** | Error response due to missing auth cookie. | - | -**404** | Error response when trying to download ICS calendar of a non-existent calendar entry. | - | +**404** | Error response when trying to download ICS calendar of a non-existent calendar entry, get such a calendar entry, or get the next event for a group that lacks any future scheduled events. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -703,8 +802,83 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_group_next_calendar_event** +> CalendarEvent get_group_next_calendar_event(group_id) + +Get next calendar event + +Get the closest future calendar event scheduled for a group + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.CalendarApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + + try: + # Get next calendar event + api_response = api_instance.get_group_next_calendar_event(group_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling CalendarApi->get_group_next_calendar_event: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + +### Return type + +[**CalendarEvent**](CalendarEvent.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single CalendarEvent object. | - | +**401** | Error response due to missing auth cookie. | - | +**404** | Error response when trying to download ICS calendar of a non-existent calendar entry, get such a calendar entry, or get the next event for a group that lacks any future scheduled events. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **search_calendar_events** -> PaginatedCalendarEventList search_calendar_events(search_term, utc_offset=utc_offset, n=n, offset=offset) +> PaginatedCalendarEventList search_calendar_events(search_term, utc_offset=utc_offset, n=n, offset=offset, is_internal_variant=is_internal_variant) Search for calendar events @@ -744,10 +918,11 @@ with vrchatapi.ApiClient(configuration) as api_client: utc_offset = 56 # int | The offset from UTC in hours of the client or authenticated user. (optional) n = 60 # int | The number of objects to return. (optional) (default to 60) offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) +is_internal_variant = false # bool | Not quite sure what this actually does (exists on the website but doesn't seem to be used) (optional) try: # Search for calendar events - api_response = api_instance.search_calendar_events(search_term, utc_offset=utc_offset, n=n, offset=offset) + api_response = api_instance.search_calendar_events(search_term, utc_offset=utc_offset, n=n, offset=offset, is_internal_variant=is_internal_variant) pprint(api_response) except ApiException as e: print("Exception when calling CalendarApi->search_calendar_events: %s\n" % e) @@ -761,6 +936,7 @@ Name | Type | Description | Notes **utc_offset** | **int**| The offset from UTC in hours of the client or authenticated user. | [optional] **n** | **int**| The number of objects to return. | [optional] [default to 60] **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + **is_internal_variant** | **bool**| Not quite sure what this actually does (exists on the website but doesn't seem to be used) | [optional] ### Return type diff --git a/docs/CalendarEvent.md b/docs/CalendarEvent.md index 73459b0b..0e83330f 100644 --- a/docs/CalendarEvent.md +++ b/docs/CalendarEvent.md @@ -1,16 +1,17 @@ # CalendarEvent - +An event scheduled on a group's calendar ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**access_type** | **str** | | -**category** | **str** | | +**access_type** | [**CalendarEventAccess**](CalendarEventAccess.md) | | +**category** | [**CalendarEventCategory**](CalendarEventCategory.md) | | **close_instance_after_end_minutes** | **int** | | [optional] **created_at** | **datetime** | | [optional] **deleted_at** | **datetime** | | [optional] **description** | **str** | | +**duration_in_ms** | **int** | | [optional] **ends_at** | **datetime** | | **featured** | **bool** | | [optional] **guest_early_join_minutes** | **int** | | [optional] @@ -20,17 +21,17 @@ Name | Type | Description | Notes **image_url** | **str** | | [optional] **interested_user_count** | **int** | | [optional] **is_draft** | **bool** | | [optional] -**languages** | **list[str]** | | [optional] +**languages** | **list[str]** | Languages that might be spoken at this event | [optional] **owner_id** | **str** | | [optional] -**platforms** | **list[str]** | | [optional] -**role_ids** | **list[str]** | | [optional] +**platforms** | [**list[CalendarEventPlatform]**](CalendarEventPlatform.md) | | [optional] +**role_ids** | **list[str]** | Group roles that may join this event | [optional] **starts_at** | **datetime** | | -**tags** | **list[str]** | | [optional] +**tags** | **list[str]** | Custom tags for this event | [optional] **title** | **str** | | **type** | **str** | | [optional] **updated_at** | **datetime** | | [optional] -**uses_instance_overflow** | **bool** | | [optional] **user_interest** | [**CalendarEventUserInterest**](CalendarEventUserInterest.md) | | [optional] +**uses_instance_overflow** | **bool** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CalendarEventAccess.md b/docs/CalendarEventAccess.md new file mode 100644 index 00000000..a4400948 --- /dev/null +++ b/docs/CalendarEventAccess.md @@ -0,0 +1,11 @@ +# CalendarEventAccess + +Who the event is for + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CalendarEventCategory.md b/docs/CalendarEventCategory.md new file mode 100644 index 00000000..87119132 --- /dev/null +++ b/docs/CalendarEventCategory.md @@ -0,0 +1,11 @@ +# CalendarEventCategory + +The activity intended to take place at an event + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CalendarEventDiscovery.md b/docs/CalendarEventDiscovery.md new file mode 100644 index 00000000..f21eeb9a --- /dev/null +++ b/docs/CalendarEventDiscovery.md @@ -0,0 +1,12 @@ +# CalendarEventDiscovery + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**next_cursor** | **str** | Base64-encoded JSON: type: object properties: dataSource: type: string enum: - featured - personalized dataIndex: type: integer format: int32 phase: type: string enum: - all - live - upcoming description: see CalendarEventDiscoveryScope asOf: type: integer format: int64 description: milliseconds since Unix epoch paramHash: type: string format: string description: Base64-encoded 256-bit hash of the original query parameters | +**results** | [**list[CalendarEvent]**](CalendarEvent.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CalendarEventDiscoveryInclusion.md b/docs/CalendarEventDiscoveryInclusion.md new file mode 100644 index 00000000..f3cf2989 --- /dev/null +++ b/docs/CalendarEventDiscoveryInclusion.md @@ -0,0 +1,10 @@ +# CalendarEventDiscoveryInclusion + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CalendarEventDiscoveryScope.md b/docs/CalendarEventDiscoveryScope.md new file mode 100644 index 00000000..7be1172d --- /dev/null +++ b/docs/CalendarEventDiscoveryScope.md @@ -0,0 +1,10 @@ +# CalendarEventDiscoveryScope + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CalendarEventPlatform.md b/docs/CalendarEventPlatform.md new file mode 100644 index 00000000..0d9d05ee --- /dev/null +++ b/docs/CalendarEventPlatform.md @@ -0,0 +1,10 @@ +# CalendarEventPlatform + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ContentFilter.md b/docs/ContentFilter.md new file mode 100644 index 00000000..6073b2ad --- /dev/null +++ b/docs/ContentFilter.md @@ -0,0 +1,11 @@ +# ContentFilter + +Flags for content filtering + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CreateAvatarModerationRequest.md b/docs/CreateAvatarModerationRequest.md new file mode 100644 index 00000000..71468a41 --- /dev/null +++ b/docs/CreateAvatarModerationRequest.md @@ -0,0 +1,12 @@ +# CreateAvatarModerationRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**avatar_moderation_type** | [**AvatarModerationType**](AvatarModerationType.md) | | +**target_avatar_id** | **str** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CreateAvatarRequest.md b/docs/CreateAvatarRequest.md index 6dd84a3d..416341ce 100644 --- a/docs/CreateAvatarRequest.md +++ b/docs/CreateAvatarRequest.md @@ -6,20 +6,19 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **asset_url** | **str** | | [optional] **asset_version** | **str** | | [optional] -**platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | [optional] **created_at** | **str** | A date and time of the pattern `M/d/yyyy h:mm:ss tt` (see C Sharp `System.DateTime`) | [optional] -**updated_at** | **str** | A date and time of the pattern `M/d/yyyy h:mm:ss tt` (see C Sharp `System.DateTime`) | [optional] +**description** | **str** | | [optional] **id** | **str** | | [optional] +**image_url** | **str** | | **name** | **str** | | -**description** | **str** | | [optional] +**platform** | **str** | This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | [optional] +**release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | [optional] **tags** | **list[str]** | | [optional] -**image_url** | **str** | | **thumbnail_image_url** | **str** | | [optional] -**release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | [optional] -**version** | **int** | | [optional] [default to 1] -**featured** | **bool** | Enabling featured tag requires Admin Credentials. | [optional] **unity_package_url** | **str** | | [optional] **unity_version** | **str** | | [optional] [default to '5.3.4p1'] +**updated_at** | **str** | A date and time of the pattern `M/d/yyyy h:mm:ss tt` (see C Sharp `System.DateTime`) | [optional] +**version** | **int** | | [optional] [default to 1] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreateCalendarEventRequest.md b/docs/CreateCalendarEventRequest.md index 564bb83c..39ba73d2 100644 --- a/docs/CreateCalendarEventRequest.md +++ b/docs/CreateCalendarEventRequest.md @@ -4,25 +4,25 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**title** | **str** | Event title | -**starts_at** | **datetime** | Time the event starts at | +**access_type** | [**CalendarEventAccess**](CalendarEventAccess.md) | | +**category** | [**CalendarEventCategory**](CalendarEventCategory.md) | | +**close_instance_after_end_minutes** | **int** | | [optional] **description** | **str** | | **ends_at** | **datetime** | Time the event ends at | -**category** | **str** | | -**tags** | **list[str]** | | [optional] -**is_draft** | **bool** | | [optional] +**featured** | **bool** | | [optional] +**guest_early_join_minutes** | **int** | | [optional] +**host_early_join_minutes** | **int** | | [optional] **image_id** | **str** | | [optional] -**role_ids** | **list[str]** | | [optional] -**parent_id** | **str** | | [optional] -**platforms** | **list[str]** | | [optional] +**is_draft** | **bool** | | [optional] **languages** | **list[str]** | | [optional] +**parent_id** | **str** | | [optional] +**platforms** | [**list[CalendarEventPlatform]**](CalendarEventPlatform.md) | | [optional] +**role_ids** | **list[str]** | | [optional] **send_creation_notification** | **bool** | Send notification to group members. | -**featured** | **bool** | | [optional] -**host_early_join_minutes** | **int** | | [optional] -**guest_early_join_minutes** | **int** | | [optional] -**close_instance_after_end_minutes** | **int** | | [optional] +**starts_at** | **datetime** | Time the event starts at | +**tags** | **list[str]** | | [optional] +**title** | **str** | Event title | **uses_instance_overflow** | **bool** | | [optional] -**access_type** | **str** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreateFileRequest.md b/docs/CreateFileRequest.md index 2da93660..10d15476 100644 --- a/docs/CreateFileRequest.md +++ b/docs/CreateFileRequest.md @@ -4,9 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**name** | **str** | | -**mime_type** | [**MIMEType**](MIMEType.md) | | **extension** | **str** | | +**mime_type** | [**MIMEType**](MIMEType.md) | | +**name** | **str** | | **tags** | **list[str]** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreateFileVersionRequest.md b/docs/CreateFileVersionRequest.md index 3ad87dc1..1e6abdc7 100644 --- a/docs/CreateFileVersionRequest.md +++ b/docs/CreateFileVersionRequest.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**signature_md5** | **str** | | -**signature_size_in_bytes** | **int** | | **file_md5** | **str** | | [optional] **file_size_in_bytes** | **int** | | [optional] +**signature_md5** | **str** | | +**signature_size_in_bytes** | **int** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreateGroupAnnouncementRequest.md b/docs/CreateGroupAnnouncementRequest.md index c4554425..9c26c6d2 100644 --- a/docs/CreateGroupAnnouncementRequest.md +++ b/docs/CreateGroupAnnouncementRequest.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**title** | **str** | Announcement title | -**text** | **str** | Announcement text | [optional] **image_id** | **str** | | [optional] **send_notification** | **bool** | Send notification to group members. | [optional] [default to False] +**text** | **str** | Announcement text | [optional] +**title** | **str** | Announcement title | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreateGroupGalleryRequest.md b/docs/CreateGroupGalleryRequest.md index 11007b24..5c9db2fc 100644 --- a/docs/CreateGroupGalleryRequest.md +++ b/docs/CreateGroupGalleryRequest.md @@ -4,13 +4,13 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**name** | **str** | Name of the gallery. | **description** | **str** | Description of the gallery. | [optional] **members_only** | **bool** | Whether the gallery is members only. | [optional] [default to False] -**role_ids_to_view** | **list[str]** | | [optional] -**role_ids_to_submit** | **list[str]** | | [optional] +**name** | **str** | Name of the gallery. | **role_ids_to_auto_approve** | **list[str]** | | [optional] **role_ids_to_manage** | **list[str]** | | [optional] +**role_ids_to_submit** | **list[str]** | | [optional] +**role_ids_to_view** | **list[str]** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreateGroupInviteRequest.md b/docs/CreateGroupInviteRequest.md index a9cd2269..84034d94 100644 --- a/docs/CreateGroupInviteRequest.md +++ b/docs/CreateGroupInviteRequest.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | **confirm_override_block** | **bool** | | [optional] [default to True] +**user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreateGroupPostRequest.md b/docs/CreateGroupPostRequest.md index 7e07b6eb..e2d63645 100644 --- a/docs/CreateGroupPostRequest.md +++ b/docs/CreateGroupPostRequest.md @@ -4,11 +4,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**title** | **str** | Post title | -**text** | **str** | Post text | **image_id** | **str** | | [optional] -**send_notification** | **bool** | Send notification to group members. | [default to False] **role_ids** | **list[str]** | | [optional] +**send_notification** | **bool** | Send notification to group members. | [default to False] +**text** | **str** | Post text | +**title** | **str** | Post title | **visibility** | [**GroupPostVisibility**](GroupPostVisibility.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreateGroupRequest.md b/docs/CreateGroupRequest.md index 77ab7ac0..4624f5cb 100644 --- a/docs/CreateGroupRequest.md +++ b/docs/CreateGroupRequest.md @@ -4,14 +4,14 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**name** | **str** | | -**short_code** | **str** | | +**banner_id** | **str** | | [optional] **description** | **str** | | [optional] -**join_state** | [**GroupJoinState**](GroupJoinState.md) | | [optional] **icon_id** | **str** | | [optional] -**banner_id** | **str** | | [optional] +**join_state** | [**GroupJoinState**](GroupJoinState.md) | | [optional] +**name** | **str** | | **privacy** | [**GroupPrivacy**](GroupPrivacy.md) | | [optional] **role_template** | [**GroupRoleTemplate**](GroupRoleTemplate.md) | | +**short_code** | **str** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreateGroupRoleRequest.md b/docs/CreateGroupRoleRequest.md index eaa54398..d6b0a521 100644 --- a/docs/CreateGroupRoleRequest.md +++ b/docs/CreateGroupRoleRequest.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**name** | **str** | | [optional] **description** | **str** | | [optional] +**id** | **str** | | [optional] **is_self_assignable** | **bool** | | [optional] [default to False] +**name** | **str** | | [optional] **permissions** | [**list[GroupPermissions]**](GroupPermissions.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreateInstanceRequest.md b/docs/CreateInstanceRequest.md index 24bb8408..8050f586 100644 --- a/docs/CreateInstanceRequest.md +++ b/docs/CreateInstanceRequest.md @@ -4,21 +4,23 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**world_id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | -**type** | [**InstanceType**](InstanceType.md) | | -**region** | [**InstanceRegion**](InstanceRegion.md) | | -**owner_id** | **str** | A groupId if the instance type is \"group\", null if instance type is public, or a userId otherwise | [optional] -**role_ids** | **list[str]** | Group roleIds that are allowed to join if the type is \"group\" and groupAccessType is \"member\" | [optional] -**group_access_type** | [**GroupAccessType**](GroupAccessType.md) | | [optional] -**queue_enabled** | **bool** | | [optional] [default to False] -**closed_at** | **datetime** | The time after which users won't be allowed to join the instance. This doesn't work for public instances. | [optional] +**age_gate** | **bool** | | [optional] [default to False] +**calendar_entry_id** | **str** | | [optional] **can_request_invite** | **bool** | Only applies to invite type instances to make them invite+ | [optional] [default to False] +**closed_at** | **datetime** | The time after which users won't be allowed to join the instance. This doesn't work for public instances. | [optional] +**content_settings** | [**InstanceContentSettings**](InstanceContentSettings.md) | | [optional] +**display_name** | **str** | | [optional] +**group_access_type** | [**GroupAccessType**](GroupAccessType.md) | | [optional] **hard_close** | **bool** | Currently unused, but will eventually be a flag to set if the closing of the instance should kick people. | [optional] [default to False] -**invite_only** | **bool** | | [optional] [default to False] -**age_gate** | **bool** | | [optional] [default to False] **instance_persistence_enabled** | **bool** | | [optional] -**display_name** | **str** | | [optional] -**content_settings** | [**InstanceContentSettings**](InstanceContentSettings.md) | | [optional] +**invite_only** | **bool** | | [optional] [default to False] +**owner_id** | **str** | A groupId if the instance type is \"group\", null if instance type is public, or a userId otherwise | [optional] +**player_persistence_enabled** | **bool** | | [optional] +**queue_enabled** | **bool** | | [optional] [default to False] +**region** | [**InstanceRegion**](InstanceRegion.md) | | +**role_ids** | **list[str]** | Group roleIds that are allowed to join if the type is \"group\" and groupAccessType is \"member\" | [optional] +**type** | [**InstanceType**](InstanceType.md) | | +**world_id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreatePermissionRequest.md b/docs/CreatePermissionRequest.md deleted file mode 100644 index 0e6ed772..00000000 --- a/docs/CreatePermissionRequest.md +++ /dev/null @@ -1,12 +0,0 @@ -# CreatePermissionRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | | -**owner_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/CreatePropRequest.md b/docs/CreatePropRequest.md new file mode 100644 index 00000000..68b80475 --- /dev/null +++ b/docs/CreatePropRequest.md @@ -0,0 +1,22 @@ +# CreatePropRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**asset_url** | **str** | | +**asset_version** | **int** | | +**description** | **str** | | +**id** | **str** | | +**image_url** | **str** | | +**name** | **str** | | +**platform** | **str** | This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | +**prop_signature** | **str** | | [optional] +**spawn_type** | **int** | How a prop is summoned and interacted with. 0: the prop fixed to some surface in the world 1: the prop is a pickup and may be held by users 2: ??? | [default to 1] +**tags** | **list[str]** | | +**unity_version** | **str** | | +**world_placement_mask** | **int** | Bitmask for restrictions on what world surfaces a prop may be summoned. 0: no restrictions 1: floors 2: walls 4: ceilings | [default to 1] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CreateWorldRequest.md b/docs/CreateWorldRequest.md index 03ad3edd..52a51f94 100644 --- a/docs/CreateWorldRequest.md +++ b/docs/CreateWorldRequest.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes **id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | [optional] **image_url** | **str** | | **name** | **str** | | -**platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | [optional] +**platform** | **str** | This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | [optional] **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | [optional] **tags** | **list[str]** | | [optional] **unity_package_url** | **str** | | [optional] diff --git a/docs/CurrentUser.md b/docs/CurrentUser.md index 72efe5ce..00dbde78 100644 --- a/docs/CurrentUser.md +++ b/docs/CurrentUser.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**accepted_tos_version** | **int** | | **accepted_privacy_version** | **int** | | [optional] +**accepted_tos_version** | **int** | | **account_deletion_date** | **date** | | [optional] **account_deletion_log** | [**list[AccountDeletionLog]**](AccountDeletionLog.md) | | [optional] **active_friends** | **list[str]** | | [optional] @@ -19,8 +19,8 @@ Name | Type | Description | Notes **content_filters** | **list[str]** | These tags begin with `content_` and control content gating | [optional] **current_avatar** | **str** | | **current_avatar_image_url** | **str** | When profilePicOverride is not empty, use it instead. | -**current_avatar_thumbnail_image_url** | **str** | When profilePicOverride is not empty, use it instead. | **current_avatar_tags** | **list[str]** | | +**current_avatar_thumbnail_image_url** | **str** | When profilePicOverride is not empty, use it instead. | **date_joined** | **date** | | **developer_type** | [**DeveloperType**](DeveloperType.md) | | **discord_details** | [**DiscordDetails**](DiscordDetails.md) | | [optional] @@ -31,13 +31,13 @@ Name | Type | Description | Notes **friend_group_names** | **list[str]** | Always empty array. | **friend_key** | **str** | | **friends** | **list[str]** | | +**google_details** | **object** | | [optional] +**google_id** | **str** | | [optional] **has_birthday** | **bool** | | -**hide_content_filter_settings** | **bool** | | [optional] -**user_language** | **str** | | [optional] -**user_language_code** | **str** | | [optional] **has_email** | **bool** | | **has_logged_in_from_client** | **bool** | | **has_pending_email** | **bool** | | +**hide_content_filter_settings** | **bool** | | [optional] **home_location** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | **id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | **is_adult** | **bool** | | @@ -46,19 +46,16 @@ Name | Type | Description | Notes **last_activity** | **datetime** | | [optional] **last_login** | **datetime** | | **last_mobile** | **datetime** | | -**last_platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | +**last_platform** | **str** | This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | **obfuscated_email** | **str** | | **obfuscated_pending_email** | **str** | | **oculus_id** | **str** | | -**google_id** | **str** | | [optional] -**google_details** | **object** | | [optional] -**pico_id** | **str** | | [optional] -**vive_id** | **str** | | [optional] **offline_friends** | **list[str]** | | [optional] **online_friends** | **list[str]** | | [optional] **past_display_names** | [**list[PastDisplayName]**](PastDisplayName.md) | | -**presence** | [**CurrentUserPresence**](CurrentUserPresence.md) | | [optional] +**pico_id** | **str** | | [optional] **platform_history** | [**list[CurrentUserPlatformHistoryInner]**](CurrentUserPlatformHistoryInner.md) | | [optional] +**presence** | [**CurrentUserPresence**](CurrentUserPresence.md) | | [optional] **profile_pic_override** | **str** | | **profile_pic_override_thumbnail** | **str** | | **pronouns** | **str** | | @@ -78,7 +75,11 @@ Name | Type | Description | Notes **unsubscribe** | **bool** | | **updated_at** | **datetime** | | [optional] **user_icon** | **str** | | +**user_language** | **str** | | [optional] +**user_language_code** | **str** | | [optional] **username** | **str** | -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). | [optional] +**uses_generated_password** | **bool** | | +**vive_id** | **str** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CurrentUserPlatformHistoryInner.md b/docs/CurrentUserPlatformHistoryInner.md index 08520025..18756d7b 100644 --- a/docs/CurrentUserPlatformHistoryInner.md +++ b/docs/CurrentUserPlatformHistoryInner.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **is_mobile** | **bool** | | [optional] -**platform** | **str** | | [optional] +**platform** | **str** | This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | [optional] **recorded** | **datetime** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CurrentUserPresence.md b/docs/CurrentUserPresence.md index ce606eb7..9e08c686 100644 --- a/docs/CurrentUserPresence.md +++ b/docs/CurrentUserPresence.md @@ -5,15 +5,15 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **avatar_thumbnail** | **str** | | [optional] -**current_avatar_tags** | **str** | | [optional] -**display_name** | **str** | | [optional] +**current_avatar_tags** | **list[str]** | | [optional] **debugflag** | **str** | | [optional] +**display_name** | **str** | | [optional] **groups** | **list[str]** | | [optional] **id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] **instance** | **str** | | [optional] **instance_type** | **str** | either an InstanceType or an empty string | [optional] **is_rejoining** | **str** | | [optional] -**platform** | **str** | either a Platform or an empty string | [optional] +**platform** | **str** | This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | [optional] **profile_pic_override** | **str** | | [optional] **status** | **str** | either a UserStatus or empty string | [optional] **traveling_to_instance** | **str** | | [optional] diff --git a/docs/DeclineGroupInviteRequest.md b/docs/DeclineGroupInviteRequest.md new file mode 100644 index 00000000..04c2f293 --- /dev/null +++ b/docs/DeclineGroupInviteRequest.md @@ -0,0 +1,11 @@ +# DeclineGroupInviteRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**block** | **bool** | | [optional] [default to False] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DynamicContentRow.md b/docs/DynamicContentRow.md index f9bb0760..267628e8 100644 --- a/docs/DynamicContentRow.md +++ b/docs/DynamicContentRow.md @@ -6,11 +6,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **index** | **int** | | [optional] **name** | **str** | | -**platform** | **str** | Usually \"ThisPlatformSupported\", but can also be other values such as \"all\" or platform specific identifiers. | +**platform** | **str** | This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | **sort_heading** | **str** | | **sort_order** | **str** | | **sort_ownership** | **str** | | -**tag** | **str** | Tag to filter content for this row. | [optional] +**tag** | **str** | Tags are a way to grant various access, assign restrictions or other kinds of metadata to various to objects such as worlds, users and avatars. System tags starting with `system_` are granted automatically by the system, while admin tags with `admin_` are granted manually. More prefixes such as `language_ ` (to indicate that a player can speak the tagged language), and `author_tag_` (provided by a world author for search and sorting) exist as well. | [optional] **type** | **str** | Type is not present if it is a world. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EconomyApi.md b/docs/EconomyApi.md index 45287808..59dc64b1 100644 --- a/docs/EconomyApi.md +++ b/docs/EconomyApi.md @@ -5,15 +5,17 @@ All URIs are relative to *https://api.vrchat.cloud/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- [**get_active_licenses**](EconomyApi.md#get_active_licenses) | **GET** /economy/licenses/active | Get Active Licenses -[**get_admin_transaction**](EconomyApi.md#get_admin_transaction) | **GET** /Admin/transactions/{transactionId} | Get Admin Transactions -[**get_admin_transactions**](EconomyApi.md#get_admin_transactions) | **GET** /Admin/transactions | Get Admin Transactions [**get_balance**](EconomyApi.md#get_balance) | **GET** /user/{userId}/balance | Get Balance [**get_balance_earnings**](EconomyApi.md#get_balance_earnings) | **GET** /user/{userId}/balance/earnings | Get Balance Earnings +[**get_bulk_gift_purchases**](EconomyApi.md#get_bulk_gift_purchases) | **GET** /user/bulk/gift/purchases | Get Bulk Gift Purchases [**get_current_subscriptions**](EconomyApi.md#get_current_subscriptions) | **GET** /auth/user/subscription | Get Current Subscriptions [**get_economy_account**](EconomyApi.md#get_economy_account) | **GET** /user/{userId}/economy/account | Get Economy Account [**get_license_group**](EconomyApi.md#get_license_group) | **GET** /licenseGroups/{licenseGroupId} | Get License Group [**get_product_listing**](EconomyApi.md#get_product_listing) | **GET** /listing/{productId} | Get Product Listing +[**get_product_listing_alternate**](EconomyApi.md#get_product_listing_alternate) | **GET** /products/{productId} | Get Product Listing (alternate) [**get_product_listings**](EconomyApi.md#get_product_listings) | **GET** /user/{userId}/listings | Get User Product Listings +[**get_product_purchases**](EconomyApi.md#get_product_purchases) | **GET** /economy/purchases | Get Product Purchases +[**get_recent_subscription**](EconomyApi.md#get_recent_subscription) | **GET** /user/subscription/recent | Get Recent Subscription [**get_steam_transaction**](EconomyApi.md#get_steam_transaction) | **GET** /Steam/transactions/{transactionId} | Get Steam Transaction [**get_steam_transactions**](EconomyApi.md#get_steam_transactions) | **GET** /Steam/transactions | List Steam Transactions [**get_store**](EconomyApi.md#get_store) | **GET** /economy/store | Get Store @@ -22,7 +24,10 @@ Method | HTTP request | Description [**get_tilia_status**](EconomyApi.md#get_tilia_status) | **GET** /tilia/status | Get Tilia Status [**get_tilia_tos**](EconomyApi.md#get_tilia_tos) | **GET** /user/{userId}/tilia/tos | Get Tilia TOS Agreement Status [**get_token_bundles**](EconomyApi.md#get_token_bundles) | **GET** /tokenBundles | List Token Bundles +[**get_user_credits_eligible**](EconomyApi.md#get_user_credits_eligible) | **GET** /users/{userId}/credits/eligible | Get User Credits Eligiblity [**get_user_subscription_eligible**](EconomyApi.md#get_user_subscription_eligible) | **GET** /users/{userId}/subscription/eligible | Get User Subscription Eligiblity +[**purchase_product_listing**](EconomyApi.md#purchase_product_listing) | **POST** /economy/purchase/listing | Purchase Product Listing +[**update_tilia_tos**](EconomyApi.md#update_tilia_tos) | **PUT** /user/{userId}/tilia/tos | Update Tilia TOS Agreement Status # **get_active_licenses** @@ -95,12 +100,12 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_admin_transaction** -> Transaction get_admin_transaction(transaction_id) +# **get_balance** +> Balance get_balance(user_id) -Get Admin Transactions +Get Balance -Get a single Admin transactions by ID. This returns the exact same information as `getAdminTransactions`, so no point in using this endpoint. +Gets the balance of a user ### Example @@ -132,25 +137,25 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.EconomyApi(api_client) - transaction_id = 'transaction_id_example' # str | Must be a valid transaction ID. + user_id = 'user_id_example' # str | Must be a valid user ID. try: - # Get Admin Transactions - api_response = api_instance.get_admin_transaction(transaction_id) + # Get Balance + api_response = api_instance.get_balance(user_id) pprint(api_response) except ApiException as e: - print("Exception when calling EconomyApi->get_admin_transaction: %s\n" % e) + print("Exception when calling EconomyApi->get_balance: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **transaction_id** | **str**| Must be a valid transaction ID. | + **user_id** | **str**| Must be a valid user ID. | ### Return type -[**Transaction**](Transaction.md) +[**Balance**](Balance.md) ### Authorization @@ -164,17 +169,17 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a single Transaction object. | - | +**200** | Returns a single Balance object. | - | **401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_admin_transactions** -> list[Transaction] get_admin_transactions() +# **get_balance_earnings** +> Balance get_balance_earnings(user_id) -Get Admin Transactions +Get Balance Earnings -Get all own Admin transactions. +Gets the balance of a user from earnings ### Example @@ -206,21 +211,25 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.EconomyApi(api_client) - + user_id = 'user_id_example' # str | Must be a valid user ID. + try: - # Get Admin Transactions - api_response = api_instance.get_admin_transactions() + # Get Balance Earnings + api_response = api_instance.get_balance_earnings(user_id) pprint(api_response) except ApiException as e: - print("Exception when calling EconomyApi->get_admin_transactions: %s\n" % e) + print("Exception when calling EconomyApi->get_balance_earnings: %s\n" % e) ``` ### Parameters -This endpoint does not need any parameter. + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | ### Return type -[**list[Transaction]**](Transaction.md) +[**Balance**](Balance.md) ### Authorization @@ -234,17 +243,17 @@ This endpoint does not need any parameter. ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a list of Transaction objects. | - | +**200** | Returns a single Balance object. | - | **401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_balance** -> Balance get_balance(user_id) +# **get_bulk_gift_purchases** +> list[object] get_bulk_gift_purchases(most_recent=most_recent) -Get Balance +Get Bulk Gift Purchases -Gets the balance of a user +Get bulk gift purchases made by the user. ### Example @@ -276,25 +285,25 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.EconomyApi(api_client) - user_id = 'user_id_example' # str | Must be a valid user ID. + most_recent = True # bool | (optional) try: - # Get Balance - api_response = api_instance.get_balance(user_id) + # Get Bulk Gift Purchases + api_response = api_instance.get_bulk_gift_purchases(most_recent=most_recent) pprint(api_response) except ApiException as e: - print("Exception when calling EconomyApi->get_balance: %s\n" % e) + print("Exception when calling EconomyApi->get_bulk_gift_purchases: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **user_id** | **str**| Must be a valid user ID. | + **most_recent** | **bool**| | [optional] ### Return type -[**Balance**](Balance.md) +**list[object]** ### Authorization @@ -308,17 +317,17 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a single Balance object. | - | +**200** | Returns a list of ??? objects. | - | **401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_balance_earnings** -> Balance get_balance_earnings(user_id) +# **get_current_subscriptions** +> list[UserSubscription] get_current_subscriptions() -Get Balance Earnings +Get Current Subscriptions -Gets the balance of a user from earnings +Get a list of all current user subscriptions. ### Example @@ -350,25 +359,21 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.EconomyApi(api_client) - user_id = 'user_id_example' # str | Must be a valid user ID. - + try: - # Get Balance Earnings - api_response = api_instance.get_balance_earnings(user_id) + # Get Current Subscriptions + api_response = api_instance.get_current_subscriptions() pprint(api_response) except ApiException as e: - print("Exception when calling EconomyApi->get_balance_earnings: %s\n" % e) + print("Exception when calling EconomyApi->get_current_subscriptions: %s\n" % e) ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **user_id** | **str**| Must be a valid user ID. | +This endpoint does not need any parameter. ### Return type -[**Balance**](Balance.md) +[**list[UserSubscription]**](UserSubscription.md) ### Authorization @@ -382,17 +387,17 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a single Balance object. | - | +**200** | Returns a list of UserSubscription objects. | - | **401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_current_subscriptions** -> list[UserSubscription] get_current_subscriptions() +# **get_economy_account** +> EconomyAccount get_economy_account(user_id) -Get Current Subscriptions +Get Economy Account -Get a list of all current user subscriptions. +Gets the economy account of a user ### Example @@ -424,21 +429,25 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.EconomyApi(api_client) - + user_id = 'user_id_example' # str | Must be a valid user ID. + try: - # Get Current Subscriptions - api_response = api_instance.get_current_subscriptions() + # Get Economy Account + api_response = api_instance.get_economy_account(user_id) pprint(api_response) except ApiException as e: - print("Exception when calling EconomyApi->get_current_subscriptions: %s\n" % e) + print("Exception when calling EconomyApi->get_economy_account: %s\n" % e) ``` ### Parameters -This endpoint does not need any parameter. + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | ### Return type -[**list[UserSubscription]**](UserSubscription.md) +[**EconomyAccount**](EconomyAccount.md) ### Authorization @@ -452,17 +461,17 @@ This endpoint does not need any parameter. ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a list of UserSubscription objects. | - | +**200** | Returns a single EconomyAccount object. | - | **401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_economy_account** -> EconomyAccount get_economy_account(user_id) +# **get_license_group** +> LicenseGroup get_license_group(license_group_id) -Get Economy Account +Get License Group -Gets the economy account of a user +Get a single License Group by given ID. ### Example @@ -494,25 +503,25 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.EconomyApi(api_client) - user_id = 'user_id_example' # str | Must be a valid user ID. + license_group_id = 'license_group_id_example' # str | Must be a valid license group ID. try: - # Get Economy Account - api_response = api_instance.get_economy_account(user_id) + # Get License Group + api_response = api_instance.get_license_group(license_group_id) pprint(api_response) except ApiException as e: - print("Exception when calling EconomyApi->get_economy_account: %s\n" % e) + print("Exception when calling EconomyApi->get_license_group: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **user_id** | **str**| Must be a valid user ID. | + **license_group_id** | **str**| Must be a valid license group ID. | ### Return type -[**EconomyAccount**](EconomyAccount.md) +[**LicenseGroup**](LicenseGroup.md) ### Authorization @@ -526,17 +535,17 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a single EconomyAccount object. | - | +**200** | Returns a single LicenseGroup object. | - | **401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_license_group** -> LicenseGroup get_license_group(license_group_id) +# **get_product_listing** +> ProductListing get_product_listing(product_id, hydrate=hydrate) -Get License Group +Get Product Listing -Get a single License Group by given ID. +Gets a product listing ### Example @@ -568,25 +577,27 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.EconomyApi(api_client) - license_group_id = 'license_group_id_example' # str | Must be a valid license group ID. + product_id = 'product_id_example' # str | Must be a valid product ID. +hydrate = True # bool | Populates some fields and changes types of others for certain objects. (optional) try: - # Get License Group - api_response = api_instance.get_license_group(license_group_id) + # Get Product Listing + api_response = api_instance.get_product_listing(product_id, hydrate=hydrate) pprint(api_response) except ApiException as e: - print("Exception when calling EconomyApi->get_license_group: %s\n" % e) + print("Exception when calling EconomyApi->get_product_listing: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **license_group_id** | **str**| Must be a valid license group ID. | + **product_id** | **str**| Must be a valid product ID. | + **hydrate** | **bool**| Populates some fields and changes types of others for certain objects. | [optional] ### Return type -[**LicenseGroup**](LicenseGroup.md) +[**ProductListing**](ProductListing.md) ### Authorization @@ -600,15 +611,15 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a single LicenseGroup object. | - | +**200** | Returns a single ProductListing object. | - | **401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_product_listing** -> ProductListing get_product_listing(product_id, hydrate=hydrate) +# **get_product_listing_alternate** +> ProductListing get_product_listing_alternate(product_id) -Get Product Listing +Get Product Listing (alternate) Gets a product listing @@ -643,14 +654,13 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.EconomyApi(api_client) product_id = 'product_id_example' # str | Must be a valid product ID. -hydrate = True # bool | Populates some fields and changes types of others for certain objects. (optional) try: - # Get Product Listing - api_response = api_instance.get_product_listing(product_id, hydrate=hydrate) + # Get Product Listing (alternate) + api_response = api_instance.get_product_listing_alternate(product_id) pprint(api_response) except ApiException as e: - print("Exception when calling EconomyApi->get_product_listing: %s\n" % e) + print("Exception when calling EconomyApi->get_product_listing_alternate: %s\n" % e) ``` ### Parameters @@ -658,7 +668,6 @@ hydrate = True # bool | Populates some fields and changes types of others for ce Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **product_id** | **str**| Must be a valid product ID. | - **hydrate** | **bool**| Populates some fields and changes types of others for certain objects. | [optional] ### Return type @@ -765,6 +774,160 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_product_purchases** +> list[ProductPurchase] get_product_purchases(buyer_id, n=n, offset=offset, most_recent=most_recent, sort=sort, order=order) + +Get Product Purchases + +Gets product purchases + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.EconomyApi(api_client) + buyer_id = 'buyer_id_example' # str | Must be a valid user ID. +n = 60 # int | The number of objects to return. (optional) (default to 60) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) +most_recent = True # bool | (optional) +sort = vrchatapi.SortOptionProductPurchase() # SortOptionProductPurchase | The sort order of the results. (optional) +order = vrchatapi.OrderOptionShort() # OrderOptionShort | Result ordering (optional) + + try: + # Get Product Purchases + api_response = api_instance.get_product_purchases(buyer_id, n=n, offset=offset, most_recent=most_recent, sort=sort, order=order) + pprint(api_response) + except ApiException as e: + print("Exception when calling EconomyApi->get_product_purchases: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **buyer_id** | **str**| Must be a valid user ID. | + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + **most_recent** | **bool**| | [optional] + **sort** | [**SortOptionProductPurchase**](.md)| The sort order of the results. | [optional] + **order** | [**OrderOptionShort**](.md)| Result ordering | [optional] + +### Return type + +[**list[ProductPurchase]**](ProductPurchase.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of ProductPurchase objects. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_recent_subscription** +> UserSubscription get_recent_subscription() + +Get Recent Subscription + +Get the most recent user subscription. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.EconomyApi(api_client) + + try: + # Get Recent Subscription + api_response = api_instance.get_recent_subscription() + pprint(api_response) + except ApiException as e: + print("Exception when calling EconomyApi->get_recent_subscription: %s\n" % e) +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**UserSubscription**](UserSubscription.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a UserSubscription object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_steam_transaction** > Transaction get_steam_transaction(transaction_id) @@ -1349,6 +1512,82 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_user_credits_eligible** +> UserCreditsEligible get_user_credits_eligible(user_id, subscription_id) + +Get User Credits Eligiblity + +Get the user's eligibility status for subscriptions based on available credits. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.EconomyApi(api_client) + user_id = 'user_id_example' # str | Must be a valid user ID. +subscription_id = 'subscription_id_example' # str | + + try: + # Get User Credits Eligiblity + api_response = api_instance.get_user_credits_eligible(user_id, subscription_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling EconomyApi->get_user_credits_eligible: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | + **subscription_id** | **str**| | + +### Return type + +[**UserCreditsEligible**](UserCreditsEligible.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single UserCreditsEligible object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_user_subscription_eligible** > UserSubscriptionEligible get_user_subscription_eligible(user_id, steam_id=steam_id) @@ -1425,3 +1664,153 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **purchase_product_listing** +> ProductPurchase purchase_product_listing(purchase_product_listing_request=purchase_product_listing_request) + +Purchase Product Listing + +Purchases a product listing + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.EconomyApi(api_client) + purchase_product_listing_request = vrchatapi.PurchaseProductListingRequest() # PurchaseProductListingRequest | (optional) + + try: + # Purchase Product Listing + api_response = api_instance.purchase_product_listing(purchase_product_listing_request=purchase_product_listing_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling EconomyApi->purchase_product_listing: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **purchase_product_listing_request** | [**PurchaseProductListingRequest**](PurchaseProductListingRequest.md)| | [optional] + +### Return type + +[**ProductPurchase**](ProductPurchase.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single ProductPurchase object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **update_tilia_tos** +> object update_tilia_tos(user_id, update_tilia_tos_request=update_tilia_tos_request) + +Update Tilia TOS Agreement Status + +Updates the status of the agreement of a user to the Tilia TOS + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.EconomyApi(api_client) + user_id = 'user_id_example' # str | Must be a valid user ID. +update_tilia_tos_request = vrchatapi.UpdateTiliaTOSRequest() # UpdateTiliaTOSRequest | (optional) + + try: + # Update Tilia TOS Agreement Status + api_response = api_instance.update_tilia_tos(user_id, update_tilia_tos_request=update_tilia_tos_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling EconomyApi->update_tilia_tos: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | + **update_tilia_tos_request** | [**UpdateTiliaTOSRequest**](UpdateTiliaTOSRequest.md)| | [optional] + +### Return type + +**object** + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a UserSubscription object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/EquipInventoryItemRequest.md b/docs/EquipInventoryItemRequest.md new file mode 100644 index 00000000..afabdae8 --- /dev/null +++ b/docs/EquipInventoryItemRequest.md @@ -0,0 +1,11 @@ +# EquipInventoryItemRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**equip_slot** | [**InventoryEquipSlot**](InventoryEquipSlot.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FavoriteGroupLimits.md b/docs/FavoriteGroupLimits.md index 2113d033..13026ca2 100644 --- a/docs/FavoriteGroupLimits.md +++ b/docs/FavoriteGroupLimits.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **avatar** | **int** | | **friend** | **int** | | +**vrc_plus_world** | **int** | | **world** | **int** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FavoritedWorld.md b/docs/FavoritedWorld.md index 48ca4e00..0c1c37da 100644 --- a/docs/FavoritedWorld.md +++ b/docs/FavoritedWorld.md @@ -8,33 +8,33 @@ Name | Type | Description | Notes **author_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] **author_name** | **str** | | **capacity** | **int** | | -**description** | **str** | | -**recommended_capacity** | **int** | | [optional] -**created_at** | **datetime** | | +**created_at** | **datetime** | | [optional] **default_content_settings** | [**InstanceContentSettings**](InstanceContentSettings.md) | | [optional] -**favorites** | **int** | | [default to 0] +**description** | **str** | | [optional] **favorite_group** | **str** | | **favorite_id** | **str** | | -**featured** | **bool** | | [default to False] -**visits** | **int** | | [optional] [default to 0] -**heat** | **int** | | [default to 0] +**favorites** | **int** | | [optional] [default to 0] +**featured** | **bool** | | [optional] [default to False] +**heat** | **int** | | [optional] [default to 0] **id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | **image_url** | **str** | | -**labs_publication_date** | **str** | | +**labs_publication_date** | **str** | | [optional] **name** | **str** | | **occupants** | **int** | | [default to 0] -**organization** | **str** | | [default to 'vrchat'] -**popularity** | **int** | | [default to 0] +**organization** | **str** | | [optional] [default to 'vrchat'] +**popularity** | **int** | | [optional] [default to 0] **preview_youtube_id** | **str** | | [optional] -**publication_date** | **str** | | +**publication_date** | **str** | | [optional] +**recommended_capacity** | **int** | | [optional] **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | -**tags** | **list[str]** | | +**tags** | **list[str]** | | [optional] **thumbnail_image_url** | **str** | | -**unity_packages** | [**list[UnityPackage]**](UnityPackage.md) | | -**updated_at** | **datetime** | | -**url_list** | **list[str]** | | **udon_products** | **list[str]** | | [optional] -**version** | **int** | | +**unity_packages** | [**list[UnityPackage]**](UnityPackage.md) | | [optional] +**updated_at** | **datetime** | | [optional] +**url_list** | **list[str]** | | [optional] +**version** | **int** | | [optional] +**visits** | **int** | | [optional] [default to 0] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FavoritesApi.md b/docs/FavoritesApi.md index 9a4efc4c..15cf660b 100644 --- a/docs/FavoritesApi.md +++ b/docs/FavoritesApi.md @@ -51,7 +51,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FavoritesApi(api_client) - add_favorite_request = {"type":"friend","favoriteId":"usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469","tags":["group_0"]} # AddFavoriteRequest | (optional) + add_favorite_request = {"type":"avatar","favoriteId":"avtr_912d66a4-4714-43b8-8407-7de2cafbf55b","tags":["avatars1"]} # AddFavoriteRequest | (optional) try: # Add Favorite diff --git a/docs/File.md b/docs/File.md index 711a028f..884b945d 100644 --- a/docs/File.md +++ b/docs/File.md @@ -5,11 +5,15 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**animation_style** | **str** | | [optional] -**mask_tag** | **str** | | [optional] +**animation_style** | [**ImageAnimationStyle**](ImageAnimationStyle.md) | | [optional] **extension** | **str** | | +**frames** | **int** | The number of frames for animated spritesheet images. | [optional] +**frames_over_time** | **int** | The frames per second for animated spritesheet images. | [optional] **id** | **str** | | +**loop_style** | [**ImageLoopStyle**](ImageLoopStyle.md) | | [optional] +**mask_tag** | [**ImageMask**](ImageMask.md) | | [optional] **mime_type** | [**MIMEType**](MIMEType.md) | | +**modified_thumbnail_file_name** | **str** | | [optional] **name** | **str** | | **owner_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | **tags** | **list[str]** | | diff --git a/docs/FileVersionUploadStatus.md b/docs/FileVersionUploadStatus.md index 9a74e8e5..9ed931c0 100644 --- a/docs/FileVersionUploadStatus.md +++ b/docs/FileVersionUploadStatus.md @@ -5,12 +5,12 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**upload_id** | **str** | | +**etags** | **list[object]** | Unknown | **file_name** | **str** | | -**next_part_number** | **int** | | **max_parts** | **int** | | +**next_part_number** | **int** | | **parts** | **list[object]** | | -**etags** | **list[object]** | Unknown | +**upload_id** | **str** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FilesApi.md b/docs/FilesApi.md index 170a2be2..0ef2ab90 100644 --- a/docs/FilesApi.md +++ b/docs/FilesApi.md @@ -11,13 +11,17 @@ Method | HTTP request | Description [**download_file_version**](FilesApi.md#download_file_version) | **GET** /file/{fileId}/{versionId} | Download File Version [**finish_file_data_upload**](FilesApi.md#finish_file_data_upload) | **PUT** /file/{fileId}/{versionId}/{fileType}/finish | Finish FileData Upload [**get_admin_asset_bundle**](FilesApi.md#get_admin_asset_bundle) | **GET** /adminassetbundles/{adminAssetBundleId} | Get AdminAssetBundle +[**get_content_agreement_status**](FilesApi.md#get_content_agreement_status) | **GET** /agreement | Get Content Agreement Status [**get_file**](FilesApi.md#get_file) | **GET** /file/{fileId} | Show File [**get_file_analysis**](FilesApi.md#get_file_analysis) | **GET** /analysis/{fileId}/{versionId} | Get File Version Analysis [**get_file_analysis_security**](FilesApi.md#get_file_analysis_security) | **GET** /analysis/{fileId}/{versionId}/security | Get File Version Analysis Security [**get_file_analysis_standard**](FilesApi.md#get_file_analysis_standard) | **GET** /analysis/{fileId}/{versionId}/standard | Get File Version Analysis Standard [**get_file_data_upload_status**](FilesApi.md#get_file_data_upload_status) | **GET** /file/{fileId}/{versionId}/{fileType}/status | Check FileData Upload Status [**get_files**](FilesApi.md#get_files) | **GET** /files | List Files +[**set_group_gallery_file_order**](FilesApi.md#set_group_gallery_file_order) | **PUT** /files/order | Set Group Gallery File Order [**start_file_data_upload**](FilesApi.md#start_file_data_upload) | **PUT** /file/{fileId}/{versionId}/{fileType}/start | Start FileData Upload +[**submit_content_agreement**](FilesApi.md#submit_content_agreement) | **POST** /agreement | Submit Content Agreement +[**update_asset_review_notes**](FilesApi.md#update_asset_review_notes) | **PUT** /assetReview/{assetReviewId}/notes | Update Asset Review Notes [**upload_gallery_image**](FilesApi.md#upload_gallery_image) | **POST** /gallery | Upload gallery image [**upload_icon**](FilesApi.md#upload_icon) | **POST** /icon | Upload icon [**upload_image**](FilesApi.md#upload_image) | **POST** /file/image | Upload gallery image, icon, emoji or sticker @@ -438,7 +442,7 @@ with vrchatapi.ApiClient(configuration) as api_client: file_id = 'file_00000000-0000-0000-0000-000000000000' # str | Must be a valid file ID. version_id = 1 # int | Version ID of the asset. file_type = 'file' # str | Type of file. -finish_file_data_upload_request = {"etags":["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy"],"nextPartNumber":"0","maxParts":"0"} # FinishFileDataUploadRequest | Please see documentation on ETag's: [https://teppen.io/2018/06/23/aws_s3_etags/](https://teppen.io/2018/06/23/aws_s3_etags/) ETag's should NOT be present when uploading a `signature`. (optional) +finish_file_data_upload_request = {"etags":["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy"],"maxParts":"0","nextPartNumber":"0"} # FinishFileDataUploadRequest | Please see documentation on ETag's: [https://teppen.io/2018/06/23/aws_s3_etags/](https://teppen.io/2018/06/23/aws_s3_etags/) ETag's should NOT be present when uploading a `signature`. (optional) try: # Finish FileData Upload @@ -550,6 +554,84 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_content_agreement_status** +> AgreementStatus get_content_agreement_status(agreement_code, content_id, version) + +Get Content Agreement Status + +Returns the agreement status of the currently authenticated user for the given agreementCode, contentId, and version. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.FilesApi(api_client) + agreement_code = vrchatapi.AgreementCode() # AgreementCode | The type of agreement (currently content.copyright.owned) +content_id = 'avtr_c38a1615-5bf5-42b4-84eb-a8b6c37cbd11' # str | The id of the content being uploaded, such as a WorldID, AvatarID, or PropID +version = 1 # int | The version of the agreement (currently 1) + + try: + # Get Content Agreement Status + api_response = api_instance.get_content_agreement_status(agreement_code, content_id, version) + pprint(api_response) + except ApiException as e: + print("Exception when calling FilesApi->get_content_agreement_status: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **agreement_code** | [**AgreementCode**](.md)| The type of agreement (currently content.copyright.owned) | + **content_id** | **str**| The id of the content being uploaded, such as a WorldID, AvatarID, or PropID | + **version** | **int**| The version of the agreement (currently 1) | + +### Return type + +[**AgreementStatus**](AgreementStatus.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single AgreementStatus object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_file** > File get_file(file_id) @@ -1011,6 +1093,80 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **set_group_gallery_file_order** +> GroupGalleryFileOrder set_group_gallery_file_order(group_gallery_file_order_request=group_gallery_file_order_request) + +Set Group Gallery File Order + +Set the order of the files in a group gallery + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.FilesApi(api_client) + group_gallery_file_order_request = vrchatapi.GroupGalleryFileOrderRequest() # GroupGalleryFileOrderRequest | (optional) + + try: + # Set Group Gallery File Order + api_response = api_instance.set_group_gallery_file_order(group_gallery_file_order_request=group_gallery_file_order_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling FilesApi->set_group_gallery_file_order: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_gallery_file_order_request** | [**GroupGalleryFileOrderRequest**](GroupGalleryFileOrderRequest.md)| | [optional] + +### Return type + +[**GroupGalleryFileOrder**](GroupGalleryFileOrder.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of File IDs. | - | +**404** | Error response when trying to show information about a non-existent file. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **start_file_data_upload** > FileUploadURL start_file_data_upload(file_id, version_id, file_type, part_number=part_number) @@ -1091,6 +1247,155 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **submit_content_agreement** +> Agreement submit_content_agreement(agreement_request=agreement_request) + +Submit Content Agreement + +Returns the agreement of the currently authenticated user for the given agreementCode, contentId, and version. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.FilesApi(api_client) + agreement_request = vrchatapi.AgreementRequest() # AgreementRequest | (optional) + + try: + # Submit Content Agreement + api_response = api_instance.submit_content_agreement(agreement_request=agreement_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling FilesApi->submit_content_agreement: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **agreement_request** | [**AgreementRequest**](AgreementRequest.md)| | [optional] + +### Return type + +[**Agreement**](Agreement.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single Agreement object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **update_asset_review_notes** +> update_asset_review_notes(asset_review_id, update_asset_review_notes_request=update_asset_review_notes_request) + +Update Asset Review Notes + +Update notes regarding an asset review. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.FilesApi(api_client) + asset_review_id = 'asset_review_id_example' # str | Must be an valid asset review ID. +update_asset_review_notes_request = vrchatapi.UpdateAssetReviewNotesRequest() # UpdateAssetReviewNotesRequest | (optional) + + try: + # Update Asset Review Notes + api_instance.update_asset_review_notes(asset_review_id, update_asset_review_notes_request=update_asset_review_notes_request) + except ApiException as e: + print("Exception when calling FilesApi->update_asset_review_notes: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **asset_review_id** | **str**| Must be an valid asset review ID. | + **update_asset_review_notes_request** | [**UpdateAssetReviewNotesRequest**](UpdateAssetReviewNotesRequest.md)| | [optional] + +### Return type + +void (empty response body) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | The asset review notes are submitted. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **upload_gallery_image** > File upload_gallery_image(file) @@ -1238,7 +1543,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **upload_image** -> File upload_image(file, tag, frames=frames, frames_over_time=frames_over_time, animation_style=animation_style, mask_tag=mask_tag) +> File upload_image(file, tag, animation_style=animation_style, frames=frames, frames_over_time=frames_over_time, loop_style=loop_style, mask_tag=mask_tag) Upload gallery image, icon, emoji or sticker @@ -1275,15 +1580,16 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FilesApi(api_client) file = '/path/to/file' # file | The binary blob of the png file. -tag = 'tag_example' # str | Needs to be either icon, gallery, sticker, emoji, or emojianimated -frames = 56 # int | Required for emojianimated. Total number of frames to be animated (2-64) (optional) -frames_over_time = 56 # int | Required for emojianimated. Animation frames per second (1-64) (optional) -animation_style = 'animation_style_example' # str | Animation style for sticker, required for emoji. (optional) -mask_tag = 'mask_tag_example' # str | Mask of the sticker, optional for emoji. (optional) +tag = vrchatapi.ImagePurpose() # ImagePurpose | +animation_style = vrchatapi.ImageAnimationStyle() # ImageAnimationStyle | (optional) +frames = 56 # int | Required for animated images. Total number of frames of the spritesheet to be animated. (optional) +frames_over_time = 56 # int | Required for animated images. Animation frames per second. (optional) +loop_style = vrchatapi.ImageLoopStyle() # ImageLoopStyle | (optional) +mask_tag = vrchatapi.ImageMask() # ImageMask | (optional) try: # Upload gallery image, icon, emoji or sticker - api_response = api_instance.upload_image(file, tag, frames=frames, frames_over_time=frames_over_time, animation_style=animation_style, mask_tag=mask_tag) + api_response = api_instance.upload_image(file, tag, animation_style=animation_style, frames=frames, frames_over_time=frames_over_time, loop_style=loop_style, mask_tag=mask_tag) pprint(api_response) except ApiException as e: print("Exception when calling FilesApi->upload_image: %s\n" % e) @@ -1294,11 +1600,12 @@ mask_tag = 'mask_tag_example' # str | Mask of the sticker, optional for emoji. ( Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **file** | **file**| The binary blob of the png file. | - **tag** | **str**| Needs to be either icon, gallery, sticker, emoji, or emojianimated | - **frames** | **int**| Required for emojianimated. Total number of frames to be animated (2-64) | [optional] - **frames_over_time** | **int**| Required for emojianimated. Animation frames per second (1-64) | [optional] - **animation_style** | **str**| Animation style for sticker, required for emoji. | [optional] - **mask_tag** | **str**| Mask of the sticker, optional for emoji. | [optional] + **tag** | [**ImagePurpose**](ImagePurpose.md)| | + **animation_style** | [**ImageAnimationStyle**](ImageAnimationStyle.md)| | [optional] + **frames** | **int**| Required for animated images. Total number of frames of the spritesheet to be animated. | [optional] + **frames_over_time** | **int**| Required for animated images. Animation frames per second. | [optional] + **loop_style** | [**ImageLoopStyle**](ImageLoopStyle.md)| | [optional] + **mask_tag** | [**ImageMask**](ImageMask.md)| | [optional] ### Return type diff --git a/docs/FinishFileDataUploadRequest.md b/docs/FinishFileDataUploadRequest.md index e89dc552..86d076c0 100644 --- a/docs/FinishFileDataUploadRequest.md +++ b/docs/FinishFileDataUploadRequest.md @@ -6,8 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **etags** | **list[str]** | Array of ETags uploaded. | [optional] -**next_part_number** | **str** | Always a zero in string form, despite how many parts uploaded. | [default to '0'] **max_parts** | **str** | Always a zero in string form, despite how many parts uploaded. | [default to '0'] +**next_part_number** | **str** | Always a zero in string form, despite how many parts uploaded. | [default to '0'] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FriendsApi.md b/docs/FriendsApi.md index 077cf168..65ea8875 100644 --- a/docs/FriendsApi.md +++ b/docs/FriendsApi.md @@ -4,6 +4,7 @@ All URIs are relative to *https://api.vrchat.cloud/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- +[**boop**](FriendsApi.md#boop) | **POST** /users/{userId}/boop | Send Boop [**delete_friend_request**](FriendsApi.md#delete_friend_request) | **DELETE** /user/{userId}/friendRequest | Delete Friend Request [**friend**](FriendsApi.md#friend) | **POST** /user/{userId}/friendRequest | Send Friend Request [**get_friend_status**](FriendsApi.md#get_friend_status) | **GET** /user/{userId}/friendStatus | Check Friend Status @@ -11,6 +12,84 @@ Method | HTTP request | Description [**unfriend**](FriendsApi.md#unfriend) | **DELETE** /auth/user/friends/{userId} | Unfriend +# **boop** +> Success boop(user_id, boop_request) + +Send Boop + +Send a boop to another user. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.FriendsApi(api_client) + user_id = 'user_id_example' # str | Must be a valid user ID. +boop_request = vrchatapi.BoopRequest() # BoopRequest | + + try: + # Send Boop + api_response = api_instance.boop(user_id, boop_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling FriendsApi->boop: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | + **boop_request** | [**BoopRequest**](BoopRequest.md)| | + +### Return type + +[**Success**](Success.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response after booping a user. | - | +**400** | Error response when trying to unfriend someone who is not a friend. | - | +**401** | Error response due to missing auth cookie. | - | +**404** | Error response when trying to send a friend request to a user which doesn't exist. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **delete_friend_request** > Success delete_friend_request(user_id) diff --git a/docs/Group.md b/docs/Group.md index 15d1e219..684bcab4 100644 --- a/docs/Group.md +++ b/docs/Group.md @@ -4,38 +4,39 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**age_verification_slots_available** | **bool** | | [optional] **age_verification_beta_code** | **str** | | [optional] **age_verification_beta_slots** | **float** | | [optional] +**age_verification_slots_available** | **bool** | | [optional] +**allow_group_join_prompt** | **bool** | | [optional] **badges** | **list[str]** | | [optional] -**id** | **str** | | [optional] -**name** | **str** | | [optional] -**short_code** | **str** | | [optional] -**discriminator** | **str** | | [optional] -**description** | **str** | | [optional] -**icon_url** | **str** | | [optional] +**banner_id** | **str** | | [optional] **banner_url** | **str** | | [optional] -**privacy** | [**GroupPrivacy**](GroupPrivacy.md) | | [optional] -**owner_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] -**rules** | **str** | | [optional] -**links** | **list[str]** | | [optional] -**languages** | **list[str]** | | [optional] +**created_at** | **datetime** | | [optional] +**description** | **str** | | [optional] +**discriminator** | **str** | | [optional] +**galleries** | [**list[GroupGallery]**](GroupGallery.md) | | [optional] **icon_id** | **str** | | [optional] -**banner_id** | **str** | | [optional] -**member_count** | **int** | | [optional] -**member_count_synced_at** | **datetime** | | [optional] +**icon_url** | **str** | | [optional] +**id** | **str** | | [optional] **is_verified** | **bool** | | [optional] [default to False] **join_state** | [**GroupJoinState**](GroupJoinState.md) | | [optional] -**tags** | **list[str]** | | [optional] -**transfer_target_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] -**galleries** | [**list[GroupGallery]**](GroupGallery.md) | | [optional] -**created_at** | **datetime** | | [optional] -**updated_at** | **datetime** | | [optional] +**languages** | **list[str]** | | [optional] **last_post_created_at** | **datetime** | | [optional] -**online_member_count** | **int** | | [optional] +**links** | **list[str]** | | [optional] +**member_count** | **int** | | [optional] +**member_count_synced_at** | **datetime** | | [optional] **membership_status** | [**GroupMemberStatus**](GroupMemberStatus.md) | | [optional] **my_member** | [**GroupMyMember**](GroupMyMember.md) | | [optional] +**name** | **str** | | [optional] +**online_member_count** | **int** | | [optional] +**owner_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] +**privacy** | [**GroupPrivacy**](GroupPrivacy.md) | | [optional] **roles** | [**list[GroupRole]**](GroupRole.md) | Only returned if ?includeRoles=true is specified. | [optional] +**rules** | **str** | | [optional] +**short_code** | **str** | | [optional] +**tags** | **list[str]** | | [optional] +**transfer_target_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] +**updated_at** | **datetime** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GroupAnnouncement.md b/docs/GroupAnnouncement.md index be38e6b7..e305461e 100644 --- a/docs/GroupAnnouncement.md +++ b/docs/GroupAnnouncement.md @@ -4,14 +4,14 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**group_id** | **str** | | [optional] **author_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] -**title** | **str** | | [optional] -**text** | **str** | | [optional] +**created_at** | **datetime** | | [optional] +**group_id** | **str** | | [optional] +**id** | **str** | | [optional] **image_id** | **str** | | [optional] **image_url** | **str** | | [optional] -**created_at** | **datetime** | | [optional] +**text** | **str** | | [optional] +**title** | **str** | | [optional] **updated_at** | **datetime** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GroupAuditLogEntry.md b/docs/GroupAuditLogEntry.md index 0db29c1a..e4217441 100644 --- a/docs/GroupAuditLogEntry.md +++ b/docs/GroupAuditLogEntry.md @@ -4,15 +4,15 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] +**actor_display_name** | **str** | | [optional] +**actor_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] **created_at** | **datetime** | | [optional] +**data** | **object** | The data associated with the event. The format of this data is dependent on the event type. | [optional] +**description** | **str** | A human-readable description of the event. | [optional] +**event_type** | **str** | The type of event that occurred. This is a string that is prefixed with the type of object that the event occurred on. For example, a group role update event would be prefixed with `group.role`. | [optional] [default to 'group.update'] **group_id** | **str** | | [optional] -**actor_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] -**actor_display_name** | **str** | | [optional] +**id** | **str** | | [optional] **target_id** | **str** | Typically a UserID, GroupID, GroupRoleID, or Location, but could be other types of IDs. | [optional] -**event_type** | **str** | The type of event that occurred. This is a string that is prefixed with the type of object that the event occurred on. For example, a group role update event would be prefixed with `group.role`. | [optional] [default to 'group.update'] -**description** | **str** | A human-readable description of the event. | [optional] -**data** | **object** | The data associated with the event. The format of this data is dependent on the event type. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GroupGallery.md b/docs/GroupGallery.md index 25cc8958..8870143a 100644 --- a/docs/GroupGallery.md +++ b/docs/GroupGallery.md @@ -4,15 +4,15 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**name** | **str** | Name of the gallery. | [optional] +**created_at** | **datetime** | | [optional] **description** | **str** | Description of the gallery. | [optional] +**id** | **str** | | [optional] **members_only** | **bool** | Whether the gallery is members only. | [optional] [default to False] -**role_ids_to_view** | **list[str]** | | [optional] -**role_ids_to_submit** | **list[str]** | | [optional] +**name** | **str** | Name of the gallery. | [optional] **role_ids_to_auto_approve** | **list[str]** | | [optional] **role_ids_to_manage** | **list[str]** | | [optional] -**created_at** | **datetime** | | [optional] +**role_ids_to_submit** | **list[str]** | | [optional] +**role_ids_to_view** | **list[str]** | | [optional] **updated_at** | **datetime** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GroupGalleryFileOrder.md b/docs/GroupGalleryFileOrder.md new file mode 100644 index 00000000..3cb1d92e --- /dev/null +++ b/docs/GroupGalleryFileOrder.md @@ -0,0 +1,11 @@ +# GroupGalleryFileOrder + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ids** | **list[str]** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GroupGalleryFileOrderRequest.md b/docs/GroupGalleryFileOrderRequest.md new file mode 100644 index 00000000..f1709c77 --- /dev/null +++ b/docs/GroupGalleryFileOrderRequest.md @@ -0,0 +1,12 @@ +# GroupGalleryFileOrderRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**gallery_id** | **str** | | +**ids** | **list[str]** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GroupGalleryImage.md b/docs/GroupGalleryImage.md index eb061839..9a99c829 100644 --- a/docs/GroupGalleryImage.md +++ b/docs/GroupGalleryImage.md @@ -4,16 +4,16 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**group_id** | **str** | | [optional] -**gallery_id** | **str** | | [optional] +**approved** | **bool** | | [optional] [default to False] +**approved_at** | **datetime** | | [optional] +**approved_by_user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] +**created_at** | **datetime** | | [optional] **file_id** | **str** | | [optional] +**gallery_id** | **str** | | [optional] +**group_id** | **str** | | [optional] +**id** | **str** | | [optional] **image_url** | **str** | | [optional] -**created_at** | **datetime** | | [optional] **submitted_by_user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] -**approved** | **bool** | | [optional] [default to False] -**approved_by_user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] -**approved_at** | **datetime** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GroupInstance.md b/docs/GroupInstance.md index 43765822..50bf3696 100644 --- a/docs/GroupInstance.md +++ b/docs/GroupInstance.md @@ -6,8 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **instance_id** | **str** | InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. | **location** | **str** | Represents a unique location, consisting of a world identifier and an instance identifier, or \"offline\" if the user is not on your friends list. | -**world** | [**World**](World.md) | | **member_count** | **int** | | +**world** | [**World**](World.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GroupLimitedMember.md b/docs/GroupLimitedMember.md index 1b581f6c..42c35104 100644 --- a/docs/GroupLimitedMember.md +++ b/docs/GroupLimitedMember.md @@ -1,25 +1,26 @@ # GroupLimitedMember +May be null when attempting to retrieve group membership for a user who is not part of the group ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] +**banned_at** | **datetime** | Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. | [optional] +**created_at** | **datetime** | Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. | [optional] **group_id** | **str** | | [optional] -**user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] +**has_joined_from_purchase** | **bool** | | [optional] +**id** | **str** | | [optional] **is_representing** | **bool** | Whether the user is representing the group. This makes the group show up above the name tag in-game. | [optional] [default to False] -**role_ids** | **list[str]** | | [optional] -**m_role_ids** | **list[str]** | | [optional] -**joined_at** | **datetime** | | [optional] -**membership_status** | [**GroupMemberStatus**](GroupMemberStatus.md) | | [optional] -**visibility** | **str** | | [optional] **is_subscribed_to_announcements** | **bool** | | [optional] [default to False] **is_subscribed_to_event_announcements** | **bool** | | [optional] -**created_at** | **datetime** | Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. | [optional] -**banned_at** | **datetime** | Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. | [optional] -**manager_notes** | **str** | Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. | [optional] +**joined_at** | **datetime** | | [optional] **last_post_read_at** | **datetime** | | [optional] -**has_joined_from_purchase** | **bool** | | [optional] +**m_role_ids** | **list[str]** | | [optional] +**manager_notes** | **str** | Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. | [optional] +**membership_status** | [**GroupMemberStatus**](GroupMemberStatus.md) | | [optional] +**role_ids** | **list[str]** | | [optional] +**user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] +**visibility** | **str** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GroupMember.md b/docs/GroupMember.md index 8f4785bf..d92d19e6 100644 --- a/docs/GroupMember.md +++ b/docs/GroupMember.md @@ -6,23 +6,23 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **accepted_by_display_name** | **str** | | [optional] **accepted_by_id** | **str** | | [optional] -**id** | **str** | | [optional] +**banned_at** | **datetime** | Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. | [optional] +**created_at** | **datetime** | Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. | [optional] **group_id** | **str** | | [optional] -**user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] +**has_joined_from_purchase** | **bool** | | [optional] +**id** | **str** | | [optional] **is_representing** | **bool** | Whether the user is representing the group. This makes the group show up above the name tag in-game. | [optional] [default to False] -**user** | [**GroupMemberLimitedUser**](GroupMemberLimitedUser.md) | | [optional] -**role_ids** | **list[str]** | | [optional] -**m_role_ids** | **list[str]** | | [optional] -**joined_at** | **datetime** | | [optional] -**membership_status** | [**GroupMemberStatus**](GroupMemberStatus.md) | | [optional] -**visibility** | **str** | | [optional] **is_subscribed_to_announcements** | **bool** | | [optional] [default to False] **is_subscribed_to_event_announcements** | **bool** | | [optional] -**created_at** | **datetime** | Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. | [optional] -**banned_at** | **datetime** | Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. | [optional] -**manager_notes** | **str** | Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. | [optional] +**joined_at** | **datetime** | | [optional] **last_post_read_at** | **datetime** | | [optional] -**has_joined_from_purchase** | **bool** | | [optional] +**m_role_ids** | **list[str]** | | [optional] +**manager_notes** | **str** | Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. | [optional] +**membership_status** | [**GroupMemberStatus**](GroupMemberStatus.md) | | [optional] +**role_ids** | **list[str]** | | [optional] +**user** | [**GroupMemberLimitedUser**](GroupMemberLimitedUser.md) | | [optional] +**user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] +**visibility** | **str** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GroupMemberLimitedUser.md b/docs/GroupMemberLimitedUser.md index 858b522d..c6950b6d 100644 --- a/docs/GroupMemberLimitedUser.md +++ b/docs/GroupMemberLimitedUser.md @@ -5,13 +5,13 @@ Only visible via the /groups/:groupId/members endpoint, **not** when fetching a ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] +**current_avatar_tags** | **list[str]** | | [optional] +**current_avatar_thumbnail_image_url** | **str** | | [optional] **display_name** | **str** | | [optional] -**thumbnail_url** | **str** | | [optional] **icon_url** | **str** | | [optional] +**id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] **profile_pic_override** | **str** | | [optional] -**current_avatar_thumbnail_image_url** | **str** | | [optional] -**current_avatar_tags** | **list[str]** | | [optional] +**thumbnail_url** | **str** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GroupMyMember.md b/docs/GroupMyMember.md index 977be5ce..8fc60017 100644 --- a/docs/GroupMyMember.md +++ b/docs/GroupMyMember.md @@ -4,26 +4,26 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**group_id** | **str** | | [optional] -**user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] -**role_ids** | **list[str]** | | [optional] **accepted_by_display_name** | **str** | | [optional] **accepted_by_id** | **str** | | [optional] +**banned_at** | **str** | | [optional] **created_at** | **datetime** | | [optional] -**manager_notes** | **str** | | [optional] -**membership_status** | **str** | | [optional] +**group_id** | **str** | | [optional] +**has2_fa** | **bool** | | [optional] [default to False] +**has_joined_from_purchase** | **bool** | | [optional] [default to False] +**id** | **str** | | [optional] +**is_representing** | **bool** | | [optional] [default to False] **is_subscribed_to_announcements** | **bool** | | [optional] [default to True] **is_subscribed_to_event_announcements** | **bool** | | [optional] -**visibility** | **str** | | [optional] -**is_representing** | **bool** | | [optional] [default to False] **joined_at** | **datetime** | | [optional] -**banned_at** | **str** | | [optional] -**has2_fa** | **bool** | | [optional] [default to False] -**has_joined_from_purchase** | **bool** | | [optional] [default to False] **last_post_read_at** | **datetime** | | [optional] **m_role_ids** | **list[str]** | | [optional] +**manager_notes** | **str** | | [optional] +**membership_status** | **str** | | [optional] **permissions** | [**list[GroupPermissions]**](GroupPermissions.md) | | [optional] +**role_ids** | **list[str]** | | [optional] +**user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] +**visibility** | **str** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GroupPermission.md b/docs/GroupPermission.md index a00fdcfc..5316968c 100644 --- a/docs/GroupPermission.md +++ b/docs/GroupPermission.md @@ -5,11 +5,11 @@ A permission that can be granted to a role in a group. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**name** | **str** | The name of the permission. | [optional] +**allowed_to_add** | **bool** | Whether the user is allowed to add this permission to a role. | [optional] [default to False] **display_name** | **str** | The display name of the permission. | [optional] **help** | **str** | Human-readable description of the permission. | [optional] **is_management_permission** | **bool** | Whether this permission is a \"management\" permission. | [optional] [default to False] -**allowed_to_add** | **bool** | Whether the user is allowed to add this permission to a role. | [optional] [default to False] +**name** | **str** | The name of the permission. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GroupPost.md b/docs/GroupPost.md index cefde906..4410f7e7 100644 --- a/docs/GroupPost.md +++ b/docs/GroupPost.md @@ -4,18 +4,18 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**group_id** | **str** | | [optional] **author_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] +**created_at** | **datetime** | | [optional] **editor_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] -**visibility** | [**GroupPostVisibility**](GroupPostVisibility.md) | | [optional] -**role_id** | **list[str]** | | [optional] -**title** | **str** | | [optional] -**text** | **str** | | [optional] +**group_id** | **str** | | [optional] +**id** | **str** | | [optional] **image_id** | **str** | | [optional] **image_url** | **str** | | [optional] -**created_at** | **datetime** | | [optional] +**role_id** | **list[str]** | | [optional] +**text** | **str** | | [optional] +**title** | **str** | | [optional] **updated_at** | **datetime** | | [optional] +**visibility** | [**GroupPostVisibility**](GroupPostVisibility.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GroupRole.md b/docs/GroupRole.md index 786b390e..7e8933ad 100644 --- a/docs/GroupRole.md +++ b/docs/GroupRole.md @@ -4,17 +4,17 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**group_id** | **str** | | [optional] -**name** | **str** | | [optional] +**created_at** | **datetime** | | [optional] **description** | **str** | | [optional] +**group_id** | **str** | | [optional] +**id** | **str** | | [optional] +**is_management_role** | **bool** | | [optional] [default to False] **is_self_assignable** | **bool** | | [optional] [default to False] +**name** | **str** | | [optional] +**order** | **int** | | [optional] **permissions** | [**list[GroupPermissions]**](GroupPermissions.md) | | [optional] -**is_management_role** | **bool** | | [optional] [default to False] -**requires_two_factor** | **bool** | | [optional] [default to False] **requires_purchase** | **bool** | | [optional] [default to False] -**order** | **int** | | [optional] -**created_at** | **datetime** | | [optional] +**requires_two_factor** | **bool** | | [optional] [default to False] **updated_at** | **datetime** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GroupRoleTemplateValuesRoles.md b/docs/GroupRoleTemplateValuesRoles.md index 99166934..e98e48e8 100644 --- a/docs/GroupRoleTemplateValuesRoles.md +++ b/docs/GroupRoleTemplateValuesRoles.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**description** | **str** | | [optional] **name** | **str** | | [optional] +**description** | **str** | | [optional] **base_permissions** | [**list[GroupPermissions]**](GroupPermissions.md) | | [optional] **is_added_on_join** | **bool** | | [optional] [default to False] diff --git a/docs/GroupTransferable.md b/docs/GroupTransferable.md new file mode 100644 index 00000000..1a6513fd --- /dev/null +++ b/docs/GroupTransferable.md @@ -0,0 +1,11 @@ +# GroupTransferable + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**requirements** | [**GroupTransferableRequirements**](GroupTransferableRequirements.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GroupTransferableRequirements.md b/docs/GroupTransferableRequirements.md new file mode 100644 index 00000000..3a2a1717 --- /dev/null +++ b/docs/GroupTransferableRequirements.md @@ -0,0 +1,15 @@ +# GroupTransferableRequirements + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**group_not_monetized** | **bool** | | [default to False] +**has_vrc_plus** | **bool** | | [default to False] +**has_verified_email** | **bool** | | [default to False] +**target_can_own_more_groups** | **bool** | | [default to False] +**target_is_group_member** | **bool** | | [default to False] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GroupsApi.md b/docs/GroupsApi.md index 9fb3ced3..95a96e85 100644 --- a/docs/GroupsApi.md +++ b/docs/GroupsApi.md @@ -8,12 +8,15 @@ Method | HTTP request | Description [**add_group_member_role**](GroupsApi.md#add_group_member_role) | **PUT** /groups/{groupId}/members/{userId}/roles/{groupRoleId} | Add Role to GroupMember [**add_group_post**](GroupsApi.md#add_group_post) | **POST** /groups/{groupId}/posts | Create a post in a Group [**ban_group_member**](GroupsApi.md#ban_group_member) | **POST** /groups/{groupId}/bans | Ban Group Member +[**block_group**](GroupsApi.md#block_group) | **POST** /groups/{groupId}/block | Block Group [**cancel_group_request**](GroupsApi.md#cancel_group_request) | **DELETE** /groups/{groupId}/requests | Cancel Group Join Request +[**cancel_group_transfer**](GroupsApi.md#cancel_group_transfer) | **DELETE** /groups/{groupId}/transfer | Cancel Group Transfer [**create_group**](GroupsApi.md#create_group) | **POST** /groups | Create Group [**create_group_announcement**](GroupsApi.md#create_group_announcement) | **POST** /groups/{groupId}/announcement | Create Group Announcement [**create_group_gallery**](GroupsApi.md#create_group_gallery) | **POST** /groups/{groupId}/galleries | Create Group Gallery [**create_group_invite**](GroupsApi.md#create_group_invite) | **POST** /groups/{groupId}/invites | Invite User to Group [**create_group_role**](GroupsApi.md#create_group_role) | **POST** /groups/{groupId}/roles | Create GroupRole +[**decline_group_invite**](GroupsApi.md#decline_group_invite) | **PUT** /groups/{groupId}/invites | Decline Invite from Group [**delete_group**](GroupsApi.md#delete_group) | **DELETE** /groups/{groupId} | Delete Group [**delete_group_announcement**](GroupsApi.md#delete_group_announcement) | **DELETE** /groups/{groupId}/announcement | Delete Group Announcement [**delete_group_gallery**](GroupsApi.md#delete_group_gallery) | **DELETE** /groups/{groupId}/galleries/{groupGalleryId} | Delete Group Gallery @@ -23,6 +26,7 @@ Method | HTTP request | Description [**delete_group_role**](GroupsApi.md#delete_group_role) | **DELETE** /groups/{groupId}/roles/{groupRoleId} | Delete Group Role [**get_group**](GroupsApi.md#get_group) | **GET** /groups/{groupId} | Get Group by ID [**get_group_announcements**](GroupsApi.md#get_group_announcements) | **GET** /groups/{groupId}/announcement | Get Group Announcement +[**get_group_audit_log_entry_types**](GroupsApi.md#get_group_audit_log_entry_types) | **GET** /groups/{groupId}/auditLogTypes | Get Group Audit Log Entry Types [**get_group_audit_logs**](GroupsApi.md#get_group_audit_logs) | **GET** /groups/{groupId}/auditLogs | Get Group Audit Logs [**get_group_bans**](GroupsApi.md#get_group_bans) | **GET** /groups/{groupId}/bans | Get Group Bans [**get_group_gallery_images**](GroupsApi.md#get_group_gallery_images) | **GET** /groups/{groupId}/galleries/{groupGalleryId} | Get Group Gallery Images @@ -35,11 +39,14 @@ Method | HTTP request | Description [**get_group_requests**](GroupsApi.md#get_group_requests) | **GET** /groups/{groupId}/requests | Get Group Join Requests [**get_group_role_templates**](GroupsApi.md#get_group_role_templates) | **GET** /groups/roleTemplates | Get Group Role Templates [**get_group_roles**](GroupsApi.md#get_group_roles) | **GET** /groups/{groupId}/roles | Get Group Roles +[**get_group_transferability**](GroupsApi.md#get_group_transferability) | **GET** /groups/{groupId}/transfer | Get Group Transferability +[**initiate_or_accept_group_transfer**](GroupsApi.md#initiate_or_accept_group_transfer) | **POST** /groups/{groupId}/transfer | Initiate or Accept Group Transfer [**join_group**](GroupsApi.md#join_group) | **POST** /groups/{groupId}/join | Join Group [**kick_group_member**](GroupsApi.md#kick_group_member) | **DELETE** /groups/{groupId}/members/{userId} | Kick Group Member [**leave_group**](GroupsApi.md#leave_group) | **POST** /groups/{groupId}/leave | Leave Group [**remove_group_member_role**](GroupsApi.md#remove_group_member_role) | **DELETE** /groups/{groupId}/members/{userId}/roles/{groupRoleId} | Remove Role from GroupMember [**respond_group_join_request**](GroupsApi.md#respond_group_join_request) | **PUT** /groups/{groupId}/requests/{userId} | Respond Group Join request +[**search_group_members**](GroupsApi.md#search_group_members) | **GET** /groups/{groupId}/members/search | Search Group Members [**search_groups**](GroupsApi.md#search_groups) | **GET** /groups | Search Group [**unban_group_member**](GroupsApi.md#unban_group_member) | **DELETE** /groups/{groupId}/bans/{userId} | Unban Group Member [**update_group**](GroupsApi.md#update_group) | **PUT** /groups/{groupId} | Update Group @@ -362,6 +369,83 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **block_group** +> Success block_group(group_id) + +Block Group + +Blocks a Group for the current user. To unblock a group, call kickGroupMember (DELETE /groups/{groupId}/members/{userId}). + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + + try: + # Block Group + api_response = api_instance.block_group(group_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->block_group: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + +### Return type + +[**Success**](Success.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response after blocking a Group. | - | +**400** | Bad request error response when banning a user | - | +**401** | Error response due to missing auth cookie. | - | +**403** | Error response when trying to block a group you already have blocked. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **cancel_group_request** > cancel_group_request(group_id) @@ -437,6 +521,82 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **cancel_group_transfer** +> Success cancel_group_transfer(group_id) + +Cancel Group Transfer + +Cancel a Group Transfer. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + + try: + # Cancel Group Transfer + api_response = api_instance.cancel_group_transfer(group_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->cancel_group_transfer: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + +### Return type + +[**Success**](Success.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response after cancelling a group transfer. | - | +**400** | Error response when trying to cancel a transfer for a group without a pending transfer. | - | +**401** | Error response due to missing auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **create_group** > Group create_group(create_group_request) @@ -820,8 +980,86 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **decline_group_invite** +> Success decline_group_invite(group_id, decline_group_invite_request=decline_group_invite_request) + +Decline Invite from Group + +Declines an invite to the user from a group. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +decline_group_invite_request = vrchatapi.DeclineGroupInviteRequest() # DeclineGroupInviteRequest | (optional) + + try: + # Decline Invite from Group + api_response = api_instance.decline_group_invite(group_id, decline_group_invite_request=decline_group_invite_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->decline_group_invite: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **decline_group_invite_request** | [**DeclineGroupInviteRequest**](DeclineGroupInviteRequest.md)| | [optional] + +### Return type + +[**Success**](Success.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response after declining a group invite. | - | +**400** | Bad request error response when declining a group invite. | - | +**401** | Error response due to missing auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **delete_group** -> Success delete_group(group_id) +> Success delete_group(group_id, hard_delete=hard_delete) Delete Group @@ -858,10 +1096,11 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +hard_delete = True # bool | (optional) try: # Delete Group - api_response = api_instance.delete_group(group_id) + api_response = api_instance.delete_group(group_id, hard_delete=hard_delete) pprint(api_response) except ApiException as e: print("Exception when calling GroupsApi->delete_group: %s\n" % e) @@ -872,6 +1111,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **group_id** | **str**| Must be a valid group ID. | + **hard_delete** | **bool**| | [optional] ### Return type @@ -1439,7 +1679,7 @@ Name | Type | Description | Notes Get Group Announcement -Returns the announcement for a Group. If no announcement has been made, then it returns **empty object**. If an announcement exists, then it will always return all fields except `imageId` and `imageUrl` which may be null. +Returns the announcement for a Group. If no announcement has been made, then it returns **empty object**. If an announcement exists, then it will always return all fields except `imageId` and `imageUrl` which may be null. ### Example @@ -1509,6 +1749,81 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_group_audit_log_entry_types** +> list[str] get_group_audit_log_entry_types(group_id) + +Get Group Audit Log Entry Types + +Returns a list of audit log entry types for which the group has entries. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + + try: + # Get Group Audit Log Entry Types + api_response = api_instance.get_group_audit_log_entry_types(group_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->get_group_audit_log_entry_types: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + +### Return type + +**list[str]** + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of GroupAuditLogEntryTypes. | - | +**401** | Error response due to missing auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_group_audit_logs** > PaginatedGroupAuditLogEntryList get_group_audit_logs(group_id, n=n, offset=offset, start_date=start_date, end_date=end_date, actor_ids=actor_ids, event_types=event_types, target_ids=target_ids) @@ -2461,8 +2776,164 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_group_transferability** +> GroupTransferable get_group_transferability(group_id, transfer_target_id=transfer_target_id) + +Get Group Transferability + +Returns the transferability of the group to a given user. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +transfer_target_id = 'transfer_target_id_example' # str | The UserID of the prospective transferee. (optional) + + try: + # Get Group Transferability + api_response = api_instance.get_group_transferability(group_id, transfer_target_id=transfer_target_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->get_group_transferability: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **transfer_target_id** | **str**| The UserID of the prospective transferee. | [optional] + +### Return type + +[**GroupTransferable**](GroupTransferable.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single GroupTransferable object. | - | +**401** | Error response due to missing auth cookie. | - | +**403** | Error response when trying to perform operations on a group you are not member of. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **initiate_or_accept_group_transfer** +> Success initiate_or_accept_group_transfer(group_id, transfer_group_request=transfer_group_request) + +Initiate or Accept Group Transfer + +To initiate, must be logged in as the current owner and specify the transferTargetId in the body. To accept, must be logged in as the user targetted by a pending transfer, no body is required. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +transfer_group_request = vrchatapi.TransferGroupRequest() # TransferGroupRequest | (optional) + + try: + # Initiate or Accept Group Transfer + api_response = api_instance.initiate_or_accept_group_transfer(group_id, transfer_group_request=transfer_group_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->initiate_or_accept_group_transfer: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **transfer_group_request** | [**TransferGroupRequest**](TransferGroupRequest.md)| | [optional] + +### Return type + +[**Success**](Success.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response after initiating or completing a group transfer. | - | +**401** | Error response due to missing auth cookie. | - | +**403** | Error response when trying to transfer a group to an ineligible target user. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **join_group** -> GroupMember join_group(group_id) +> GroupMember join_group(group_id, confirm_override_block=confirm_override_block, join_group_request=join_group_request) Join Group @@ -2499,10 +2970,12 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +confirm_override_block = True # bool | Manually override the failure that would occur if the user has blocked the group. (optional) +join_group_request = vrchatapi.JoinGroupRequest() # JoinGroupRequest | (optional) try: # Join Group - api_response = api_instance.join_group(group_id) + api_response = api_instance.join_group(group_id, confirm_override_block=confirm_override_block, join_group_request=join_group_request) pprint(api_response) except ApiException as e: print("Exception when calling GroupsApi->join_group: %s\n" % e) @@ -2513,6 +2986,8 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **group_id** | **str**| Must be a valid group ID. | + **confirm_override_block** | **bool**| Manually override the failure that would occur if the user has blocked the group. | [optional] + **join_group_request** | [**JoinGroupRequest**](JoinGroupRequest.md)| | [optional] ### Return type @@ -2524,7 +2999,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -2538,11 +3013,11 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **kick_group_member** -> kick_group_member(group_id, user_id) +> Success kick_group_member(group_id, user_id) Kick Group Member -Kicks a Group Member from the Group. The current user must have the \"Remove Group Members\" permission. +Kicks a Group Member from the Group. The current user must have the \"Remove Group Members\" permission. Also used for unblocking groups. ### Example @@ -2579,7 +3054,8 @@ user_id = 'user_id_example' # str | Must be a valid user ID. try: # Kick Group Member - api_instance.kick_group_member(group_id, user_id) + api_response = api_instance.kick_group_member(group_id, user_id) + pprint(api_response) except ApiException as e: print("Exception when calling GroupsApi->kick_group_member: %s\n" % e) ``` @@ -2593,7 +3069,7 @@ Name | Type | Description | Notes ### Return type -void (empty response body) +[**Success**](Success.md) ### Authorization @@ -2607,7 +3083,7 @@ void (empty response body) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | OK | - | +**200** | Successful response after deleting a group member. | - | **401** | Error response due to missing auth cookie. | - | **403** | Error response when trying to perform operations on a group you are not member of. | - | **404** | Error response when trying to perform operations on a non-existing group. | - | @@ -2845,6 +3321,88 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **search_group_members** +> SearchGroupMembers200Response search_group_members(group_id, query, n=n, offset=offset) + +Search Group Members + +Search for members in the group by displayName. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.GroupsApi(api_client) + group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +query = 'query_example' # str | Filter for member displayName. +n = 60 # int | The number of objects to return. (optional) (default to 60) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) + + try: + # Search Group Members + api_response = api_instance.search_group_members(group_id, query, n=n, offset=offset) + pprint(api_response) + except ApiException as e: + print("Exception when calling GroupsApi->search_group_members: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group_id** | **str**| Must be a valid group ID. | + **query** | **str**| Filter for member displayName. | + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + +### Return type + +[**SearchGroupMembers200Response**](SearchGroupMembers200Response.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of GroupMember objects from a search. | - | +**400** | Error response when trying to search list of users with an invalid request. | - | +**401** | Error response due to missing auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing group. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **search_groups** > list[LimitedGroup] search_groups(query=query, offset=offset, n=n) diff --git a/docs/ImageAnimationStyle.md b/docs/ImageAnimationStyle.md new file mode 100644 index 00000000..9ef99ce5 --- /dev/null +++ b/docs/ImageAnimationStyle.md @@ -0,0 +1,11 @@ +# ImageAnimationStyle + +Animation style for images. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ImageLoopStyle.md b/docs/ImageLoopStyle.md new file mode 100644 index 00000000..29956055 --- /dev/null +++ b/docs/ImageLoopStyle.md @@ -0,0 +1,11 @@ +# ImageLoopStyle + +Animation looping style for images. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ImageMask.md b/docs/ImageMask.md new file mode 100644 index 00000000..73bab2d9 --- /dev/null +++ b/docs/ImageMask.md @@ -0,0 +1,11 @@ +# ImageMask + +Mask shape for images. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InfoPush.md b/docs/InfoPush.md index f6500fce..c4e8c3fc 100644 --- a/docs/InfoPush.md +++ b/docs/InfoPush.md @@ -5,17 +5,17 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**created_at** | **datetime** | | +**data** | [**InfoPushData**](InfoPushData.md) | | +**end_date** | **datetime** | | [optional] +**hash** | **str** | Unknown usage, MD5 | **id** | **str** | | **is_enabled** | **bool** | | [default to True] -**release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | **priority** | **int** | | +**release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | +**start_date** | **datetime** | | [optional] **tags** | **list[str]** | | -**data** | [**InfoPushData**](InfoPushData.md) | | -**hash** | **str** | Unknown usage, MD5 | -**created_at** | **datetime** | | **updated_at** | **datetime** | | -**start_date** | **datetime** | | [optional] -**end_date** | **datetime** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InfoPushData.md b/docs/InfoPushData.md index 26891523..8cb53bf7 100644 --- a/docs/InfoPushData.md +++ b/docs/InfoPushData.md @@ -5,6 +5,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**article** | [**InfoPushDataArticle**](InfoPushDataArticle.md) | | [optional] **content_list** | [**DynamicContentRow**](DynamicContentRow.md) | | [optional] **description** | **str** | | [optional] **image_url** | **str** | | [optional] @@ -12,7 +13,6 @@ Name | Type | Description | Notes **on_pressed** | [**InfoPushDataClickable**](InfoPushDataClickable.md) | | [optional] **template** | **str** | | [optional] **version** | **str** | | [optional] -**article** | [**InfoPushDataArticle**](InfoPushDataArticle.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InfoPushDataArticleContent.md b/docs/InfoPushDataArticleContent.md index 10bb7ddf..ca6e0d3c 100644 --- a/docs/InfoPushDataArticleContent.md +++ b/docs/InfoPushDataArticleContent.md @@ -4,9 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**text** | **str** | | [optional] **image_url** | **str** | | [optional] **on_pressed** | [**InfoPushDataClickable**](InfoPushDataClickable.md) | | [optional] +**text** | **str** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InfoPushDataClickable.md b/docs/InfoPushDataClickable.md index 238f821c..984b6e5d 100644 --- a/docs/InfoPushDataClickable.md +++ b/docs/InfoPushDataClickable.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**command** | **str** | | **parameters** | **list[str]** | In case of OpenURL, this would contain the link. | [optional] +**command** | **str** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Instance.md b/docs/Instance.md index 4bbfbd10..56cd69bf 100644 --- a/docs/Instance.md +++ b/docs/Instance.md @@ -5,48 +5,50 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**active** | **bool** | | [default to True] +**active** | **bool** | | [optional] [default to True] **age_gate** | **bool** | | [optional] -**can_request_invite** | **bool** | | [default to True] -**capacity** | **int** | | +**calendar_entry_id** | **str** | | [optional] +**can_request_invite** | **bool** | | [optional] [default to True] +**capacity** | **int** | | [optional] **client_number** | **str** | Always returns \"unknown\". | +**closed_at** | **datetime** | | [optional] **content_settings** | [**InstanceContentSettings**](InstanceContentSettings.md) | | [optional] +**creator_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] **display_name** | **str** | | [optional] +**friends** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] **full** | **bool** | | [default to False] **game_server_version** | **int** | | [optional] +**group_access_type** | [**GroupAccessType**](GroupAccessType.md) | | [optional] +**hard_close** | **bool** | | [optional] +**has_capacity_for_you** | **bool** | | [optional] +**hidden** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] **id** | **str** | InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. | **instance_id** | **str** | InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. | -**instance_persistence_enabled** | **str** | | [optional] +**instance_persistence_enabled** | **bool** | | [optional] **location** | **str** | Represents a unique location, consisting of a world identifier and an instance identifier, or \"offline\" if the user is not on your friends list. | **n_users** | **int** | | **name** | **str** | | +**nonce** | **str** | | [optional] **owner_id** | **str** | A groupId if the instance type is \"group\", null if instance type is public, or a userId otherwise | [optional] **permanent** | **bool** | | [default to False] **photon_region** | [**Region**](Region.md) | | **platforms** | [**InstancePlatforms**](InstancePlatforms.md) | | **player_persistence_enabled** | **bool** | | [optional] -**region** | [**InstanceRegion**](InstanceRegion.md) | | -**secure_name** | **str** | | -**short_name** | **str** | | [optional] -**tags** | **list[str]** | The tags array on Instances usually contain the language tags of the people in the instance. | -**type** | [**InstanceType**](InstanceType.md) | | -**world_id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | -**hidden** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] -**friends** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] **private** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] **queue_enabled** | **bool** | | **queue_size** | **int** | | **recommended_capacity** | **int** | | +**region** | [**InstanceRegion**](InstanceRegion.md) | | **role_restricted** | **bool** | | [optional] +**secure_name** | **str** | | +**short_name** | **str** | | [optional] **strict** | **bool** | | +**tags** | **list[str]** | The tags array on Instances usually contain the language tags of the people in the instance. | +**type** | [**InstanceType**](InstanceType.md) | | **user_count** | **int** | | -**world** | [**World**](World.md) | | **users** | [**list[LimitedUserInstance]**](LimitedUserInstance.md) | The users field is present on instances created by the requesting user. | [optional] -**group_access_type** | [**GroupAccessType**](GroupAccessType.md) | | [optional] -**has_capacity_for_you** | **bool** | | [optional] -**nonce** | **str** | | [optional] -**closed_at** | **datetime** | | [optional] -**hard_close** | **bool** | | [optional] +**world** | [**World**](World.md) | | +**world_id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InstanceContentSettings.md b/docs/InstanceContentSettings.md index 209f5b8b..f2394854 100644 --- a/docs/InstanceContentSettings.md +++ b/docs/InstanceContentSettings.md @@ -9,8 +9,8 @@ Name | Type | Description | Notes **emoji** | **bool** | | [optional] [default to True] **pedestals** | **bool** | | [optional] [default to True] **prints** | **bool** | | [optional] [default to True] -**stickers** | **bool** | | [optional] [default to True] **props** | **bool** | | [optional] [default to True] +**stickers** | **bool** | | [optional] [default to True] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InventoryApi.md b/docs/InventoryApi.md index f97b1da3..aea414c3 100644 --- a/docs/InventoryApi.md +++ b/docs/InventoryApi.md @@ -4,18 +4,250 @@ All URIs are relative to *https://api.vrchat.cloud/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- +[**consume_own_inventory_item**](InventoryApi.md#consume_own_inventory_item) | **PUT** /inventory/{inventoryItemId}/consume | Consume Own Inventory Item +[**delete_own_inventory_item**](InventoryApi.md#delete_own_inventory_item) | **DELETE** /inventory/{inventoryItemId} | Delete Own Inventory Item +[**equip_own_inventory_item**](InventoryApi.md#equip_own_inventory_item) | **PUT** /inventory/{inventoryItemId}/equip | Equip Own Inventory Item [**get_inventory**](InventoryApi.md#get_inventory) | **GET** /inventory | Get Inventory +[**get_inventory_collections**](InventoryApi.md#get_inventory_collections) | **GET** /inventory/collections | List Inventory Collections [**get_inventory_drops**](InventoryApi.md#get_inventory_drops) | **GET** /inventory/drops | List Inventory Drops [**get_inventory_template**](InventoryApi.md#get_inventory_template) | **GET** /inventory/template/{inventoryTemplateId} | Get Inventory Template [**get_own_inventory_item**](InventoryApi.md#get_own_inventory_item) | **GET** /inventory/{inventoryItemId} | Get Own Inventory Item +[**get_user_inventory_item**](InventoryApi.md#get_user_inventory_item) | **GET** /user/{userId}/inventory/{inventoryItemId} | Get User Inventory Item [**share_inventory_item_direct**](InventoryApi.md#share_inventory_item_direct) | **POST** /inventory/cloning/direct | Share Inventory Item Direct [**share_inventory_item_pedestal**](InventoryApi.md#share_inventory_item_pedestal) | **GET** /inventory/cloning/pedestal | Share Inventory Item by Pedestal [**spawn_inventory_item**](InventoryApi.md#spawn_inventory_item) | **GET** /inventory/spawn | Spawn Inventory Item +[**unequip_own_inventory_slot**](InventoryApi.md#unequip_own_inventory_slot) | **DELETE** /inventory/{inventoryItemId}/equip | Unequip Own Inventory Slot [**update_own_inventory_item**](InventoryApi.md#update_own_inventory_item) | **PUT** /inventory/{inventoryItemId} | Update Own Inventory Item +# **consume_own_inventory_item** +> InventoryConsumptionResults consume_own_inventory_item(inventory_item_id) + +Consume Own Inventory Item + +Returns the modified InventoryItem object as held by the currently logged in user. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.InventoryApi(api_client) + inventory_item_id = 'inv_00000000-0000-0000-0000-000000000000' # str | Must be a valid inventory item ID. + + try: + # Consume Own Inventory Item + api_response = api_instance.consume_own_inventory_item(inventory_item_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling InventoryApi->consume_own_inventory_item: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **inventory_item_id** | **str**| Must be a valid inventory item ID. | + +### Return type + +[**InventoryConsumptionResults**](InventoryConsumptionResults.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns an InventoryConsumptionResults object. | - | +**400** | Error response when trying to consume an InventoryItem lacking the consumable flag. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_own_inventory_item** +> SuccessFlag delete_own_inventory_item(inventory_item_id) + +Delete Own Inventory Item + +Deletes an InventoryItem from the inventory of the currently logged in user. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.InventoryApi(api_client) + inventory_item_id = 'inv_00000000-0000-0000-0000-000000000000' # str | Must be a valid inventory item ID. + + try: + # Delete Own Inventory Item + api_response = api_instance.delete_own_inventory_item(inventory_item_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling InventoryApi->delete_own_inventory_item: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **inventory_item_id** | **str**| Must be a valid inventory item ID. | + +### Return type + +[**SuccessFlag**](SuccessFlag.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns an SuccessFlag object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **equip_own_inventory_item** +> InventoryItem equip_own_inventory_item(inventory_item_id, equip_inventory_item_request=equip_inventory_item_request) + +Equip Own Inventory Item + +Returns the modified InventoryItem object as held by the currently logged in user. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.InventoryApi(api_client) + inventory_item_id = 'inv_00000000-0000-0000-0000-000000000000' # str | Must be a valid inventory item ID. +equip_inventory_item_request = vrchatapi.EquipInventoryItemRequest() # EquipInventoryItemRequest | (optional) + + try: + # Equip Own Inventory Item + api_response = api_instance.equip_own_inventory_item(inventory_item_id, equip_inventory_item_request=equip_inventory_item_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling InventoryApi->equip_own_inventory_item: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **inventory_item_id** | **str**| Must be a valid inventory item ID. | + **equip_inventory_item_request** | [**EquipInventoryItemRequest**](EquipInventoryItemRequest.md)| | [optional] + +### Return type + +[**InventoryItem**](InventoryItem.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns an InventoryItem object. | - | +**400** | Error response when trying to equip an InventoryItem lacking the equippable flag. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_inventory** -> Inventory get_inventory(n=n, offset=offset, order=order, tags=tags, types=types, flags=flags, not_types=not_types, not_flags=not_flags, archived=archived) +> Inventory get_inventory(n=n, offset=offset, holder_id=holder_id, equip_slot=equip_slot, order=order, tags=tags, types=types, flags=flags, not_types=not_types, not_flags=not_flags, archived=archived) Get Inventory @@ -53,6 +285,8 @@ with vrchatapi.ApiClient(configuration) as api_client: api_instance = vrchatapi.InventoryApi(api_client) n = 60 # int | The number of objects to return. (optional) (default to 60) offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) +holder_id = 'holder_id_example' # str | The UserID of the owner of the inventory; defaults to the currently authenticated user. (optional) +equip_slot = vrchatapi.InventoryEquipSlot() # InventoryEquipSlot | Filter for inventory retrieval. (optional) order = 'order_example' # str | Sort order for inventory retrieval. (optional) tags = 'tags_example' # str | Filter tags for inventory retrieval (comma-separated). (optional) types = vrchatapi.InventoryItemType() # InventoryItemType | Filter for inventory retrieval. (optional) @@ -63,7 +297,7 @@ archived = True # bool | Filter archived status for inventory retrieval. (option try: # Get Inventory - api_response = api_instance.get_inventory(n=n, offset=offset, order=order, tags=tags, types=types, flags=flags, not_types=not_types, not_flags=not_flags, archived=archived) + api_response = api_instance.get_inventory(n=n, offset=offset, holder_id=holder_id, equip_slot=equip_slot, order=order, tags=tags, types=types, flags=flags, not_types=not_types, not_flags=not_flags, archived=archived) pprint(api_response) except ApiException as e: print("Exception when calling InventoryApi->get_inventory: %s\n" % e) @@ -75,6 +309,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **n** | **int**| The number of objects to return. | [optional] [default to 60] **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + **holder_id** | **str**| The UserID of the owner of the inventory; defaults to the currently authenticated user. | [optional] + **equip_slot** | [**InventoryEquipSlot**](.md)| Filter for inventory retrieval. | [optional] **order** | **str**| Sort order for inventory retrieval. | [optional] **tags** | **str**| Filter tags for inventory retrieval (comma-separated). | [optional] **types** | [**InventoryItemType**](.md)| Filter for inventory retrieval. | [optional] @@ -101,6 +337,77 @@ Name | Type | Description | Notes |-------------|-------------|------------------| **200** | Returns an Inventory object. | - | **401** | Error response due to missing auth cookie. | - | +**403** | Error response due to missing permissions. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_inventory_collections** +> list[str] get_inventory_collections() + +List Inventory Collections + +Returns a list of collection names. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.InventoryApi(api_client) + + try: + # List Inventory Collections + api_response = api_instance.get_inventory_collections() + pprint(api_response) + except ApiException as e: + print("Exception when calling InventoryApi->get_inventory_collections: %s\n" % e) +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +**list[str]** + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of strings. | - | +**401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -326,6 +633,82 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_user_inventory_item** +> InventoryItem get_user_inventory_item(user_id, inventory_item_id) + +Get User Inventory Item + +Returns an InventoryItem object held by the given user. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.InventoryApi(api_client) + user_id = 'user_id_example' # str | Must be a valid user ID. +inventory_item_id = 'inv_00000000-0000-0000-0000-000000000000' # str | Must be a valid inventory item ID. + + try: + # Get User Inventory Item + api_response = api_instance.get_user_inventory_item(user_id, inventory_item_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling InventoryApi->get_user_inventory_item: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | + **inventory_item_id** | **str**| Must be a valid inventory item ID. | + +### Return type + +[**InventoryItem**](InventoryItem.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns an InventoryItem object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **share_inventory_item_direct** > OkStatus share_inventory_item_direct(item_id, duration, share_inventory_item_direct_request) @@ -554,6 +937,80 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **unequip_own_inventory_slot** +> str unequip_own_inventory_slot(inventory_item_id) + +Unequip Own Inventory Slot + +Unequips the InventoryItem in the given slot of the inventory of the currently logged in user. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.InventoryApi(api_client) + inventory_item_id = vrchatapi.InventoryEquipSlot() # InventoryEquipSlot | Selector for inventory slot management. + + try: + # Unequip Own Inventory Slot + api_response = api_instance.unequip_own_inventory_slot(inventory_item_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling InventoryApi->unequip_own_inventory_slot: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **inventory_item_id** | [**InventoryEquipSlot**](.md)| Selector for inventory slot management. | + +### Return type + +**str** + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a string. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **update_own_inventory_item** > InventoryItem update_own_inventory_item(inventory_item_id, update_inventory_item_request=update_inventory_item_request) diff --git a/docs/InventoryConsumptionResults.md b/docs/InventoryConsumptionResults.md new file mode 100644 index 00000000..d06de5cc --- /dev/null +++ b/docs/InventoryConsumptionResults.md @@ -0,0 +1,13 @@ +# InventoryConsumptionResults + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**errors** | **list[object]** | | +**inventory_items** | [**list[InventoryItem]**](InventoryItem.md) | | +**inventory_items_created** | **int** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InventoryDefaultAttributes1.md b/docs/InventoryDefaultAttributes1.md new file mode 100644 index 00000000..e64bcd20 --- /dev/null +++ b/docs/InventoryDefaultAttributes1.md @@ -0,0 +1,12 @@ +# InventoryDefaultAttributes1 + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**default_value** | **str** | | [optional] +**validator** | [**InventoryDefaultAttributes1Validator**](InventoryDefaultAttributes1Validator.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InventoryDefaultAttributes1Validator.md b/docs/InventoryDefaultAttributes1Validator.md new file mode 100644 index 00000000..a618e116 --- /dev/null +++ b/docs/InventoryDefaultAttributes1Validator.md @@ -0,0 +1,11 @@ +# InventoryDefaultAttributes1Validator + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InventoryDrop.md b/docs/InventoryDrop.md index 7b59e84b..c2fc6766 100644 --- a/docs/InventoryDrop.md +++ b/docs/InventoryDrop.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **drop_expiry_date** | **datetime** | | **end_drop_date** | **datetime** | | **id** | **str** | | +**is_disabled** | **bool** | | **name** | **str** | | **notification_details** | [**InventoryNotificationDetails**](InventoryNotificationDetails.md) | | **start_drop_date** | **datetime** | | diff --git a/docs/InventoryEquipSlot.md b/docs/InventoryEquipSlot.md new file mode 100644 index 00000000..472dbb10 --- /dev/null +++ b/docs/InventoryEquipSlot.md @@ -0,0 +1,10 @@ +# InventoryEquipSlot + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InventoryItem.md b/docs/InventoryItem.md index d8612c1f..92dd2c16 100644 --- a/docs/InventoryItem.md +++ b/docs/InventoryItem.md @@ -6,8 +6,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **collections** | **list[str]** | | **created_at** | **datetime** | | +**default_attributes** | [**dict(str, InventoryDefaultAttributes1)**](InventoryDefaultAttributes1.md) | | **description** | **str** | | -**expiry_date** | **datetime** | | +**equip_slot** | [**InventoryEquipSlot**](InventoryEquipSlot.md) | | [optional] +**equip_slots** | [**list[InventoryEquipSlot]**](InventoryEquipSlot.md) | | [optional] +**expiry_date** | **datetime** | | [optional] **flags** | **list[str]** | | **holder_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | **id** | **str** | | @@ -18,11 +21,14 @@ Name | Type | Description | Notes **item_type_label** | **str** | | **metadata** | [**InventoryMetadata**](InventoryMetadata.md) | | **name** | **str** | | +**quantifiable** | **bool** | | **tags** | **list[str]** | | **template_id** | **str** | | **template_created_at** | **datetime** | | **template_updated_at** | **datetime** | | **updated_at** | **datetime** | | +**user_attributes** | [**InventoryUserAttributes**](InventoryUserAttributes.md) | | +**validate_user_attributes** | **bool** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InventoryMetadata.md b/docs/InventoryMetadata.md index 5cc57f6d..faab6e02 100644 --- a/docs/InventoryMetadata.md +++ b/docs/InventoryMetadata.md @@ -4,12 +4,12 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**inventory_items_to_instantiate** | **list[str]** | Only in bundles | [optional] **animated** | **bool** | | [optional] **animation_style** | **str** | | [optional] **asset_bundle_id** | **str** | | [optional] **file_id** | **str** | | [optional] **image_url** | **str** | | [optional] +**inventory_items_to_instantiate** | **list[str]** | Only in bundles | [optional] **mask_tag** | **str** | | [optional] **prop_id** | **str** | | [optional] diff --git a/docs/InventoryTemplate.md b/docs/InventoryTemplate.md index 7d1d3384..4b5ed0fc 100644 --- a/docs/InventoryTemplate.md +++ b/docs/InventoryTemplate.md @@ -7,7 +7,9 @@ Name | Type | Description | Notes **author_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | **collections** | **list[str]** | | **created_at** | **datetime** | | +**default_attributes** | **object** | | **description** | **str** | | +**equip_slots** | **list[str]** | | **flags** | **list[str]** | | **id** | **str** | | **image_url** | **str** | | @@ -19,6 +21,7 @@ Name | Type | Description | Notes **status** | **str** | | **tags** | **list[str]** | | **updated_at** | **datetime** | | +**validate_user_attributes** | **bool** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InventoryUserAttributes.md b/docs/InventoryUserAttributes.md new file mode 100644 index 00000000..764bd73c --- /dev/null +++ b/docs/InventoryUserAttributes.md @@ -0,0 +1,13 @@ +# InventoryUserAttributes + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**primary_color** | **str** | | [optional] +**secondary_color** | **str** | | [optional] +**trail_color** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InviteApi.md b/docs/InviteApi.md index fbbfbd64..642a3fe7 100644 --- a/docs/InviteApi.md +++ b/docs/InviteApi.md @@ -328,7 +328,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **invite_user_with_photo** -> SentNotification invite_user_with_photo(user_id, image, data) +> SentNotification invite_user_with_photo(user_id, data, image) Invite User with photo @@ -365,12 +365,12 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.InviteApi(api_client) user_id = 'user_id_example' # str | Must be a valid user ID. -image = '/path/to/file' # file | The binary blob of the png file. data = vrchatapi.InviteRequest() # InviteRequest | +image = '/path/to/file' # file | The binary blob of the png file. try: # Invite User with photo - api_response = api_instance.invite_user_with_photo(user_id, image, data) + api_response = api_instance.invite_user_with_photo(user_id, data, image) pprint(api_response) except ApiException as e: print("Exception when calling InviteApi->invite_user_with_photo: %s\n" % e) @@ -381,8 +381,8 @@ data = vrchatapi.InviteRequest() # InviteRequest | Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **user_id** | **str**| Must be a valid user ID. | - **image** | **file**| The binary blob of the png file. | **data** | [**InviteRequest**](InviteRequest.md)| | + **image** | **file**| The binary blob of the png file. | ### Return type @@ -482,7 +482,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **request_invite_with_photo** -> Notification request_invite_with_photo(user_id, image, data) +> Notification request_invite_with_photo(user_id, data, image) Request Invite with photo @@ -519,12 +519,12 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.InviteApi(api_client) user_id = 'user_id_example' # str | Must be a valid user ID. -image = '/path/to/file' # file | The binary blob of the png file. data = vrchatapi.RequestInviteRequest() # RequestInviteRequest | +image = '/path/to/file' # file | The binary blob of the png file. try: # Request Invite with photo - api_response = api_instance.request_invite_with_photo(user_id, image, data) + api_response = api_instance.request_invite_with_photo(user_id, data, image) pprint(api_response) except ApiException as e: print("Exception when calling InviteApi->request_invite_with_photo: %s\n" % e) @@ -535,8 +535,8 @@ data = vrchatapi.RequestInviteRequest() # RequestInviteRequest | Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **user_id** | **str**| Must be a valid user ID. | - **image** | **file**| The binary blob of the png file. | **data** | [**RequestInviteRequest**](RequestInviteRequest.md)| | + **image** | **file**| The binary blob of the png file. | ### Return type @@ -717,7 +717,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **respond_invite_with_photo** -> Notification respond_invite_with_photo(notification_id, image, data) +> Notification respond_invite_with_photo(notification_id, data, image) Respond Invite with photo @@ -754,12 +754,12 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.InviteApi(api_client) notification_id = 'notification_id_example' # str | Must be a valid notification ID. -image = '/path/to/file' # file | The binary blob of the png file. data = vrchatapi.InviteResponse() # InviteResponse | +image = '/path/to/file' # file | The binary blob of the png file. try: # Respond Invite with photo - api_response = api_instance.respond_invite_with_photo(notification_id, image, data) + api_response = api_instance.respond_invite_with_photo(notification_id, data, image) pprint(api_response) except ApiException as e: print("Exception when calling InviteApi->respond_invite_with_photo: %s\n" % e) @@ -770,8 +770,8 @@ data = vrchatapi.InviteResponse() # InviteResponse | Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **notification_id** | **str**| Must be a valid notification ID. | - **image** | **file**| The binary blob of the png file. | **data** | [**InviteResponse**](InviteResponse.md)| | + **image** | **file**| The binary blob of the png file. | ### Return type diff --git a/docs/JoinGroupRequest.md b/docs/JoinGroupRequest.md new file mode 100644 index 00000000..1094173a --- /dev/null +++ b/docs/JoinGroupRequest.md @@ -0,0 +1,11 @@ +# JoinGroupRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**invite_id** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/License.md b/docs/License.md index e6e18258..68960b89 100644 --- a/docs/License.md +++ b/docs/License.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**for_action** | [**LicenseAction**](LicenseAction.md) | | **for_id** | **str** | Either a AvatarID, LicenseGroupID, PermissionID or ProductID. This depends on the `forType` field. | -**for_type** | [**LicenseType**](LicenseType.md) | | **for_name** | **str** | | -**for_action** | [**LicenseAction**](LicenseAction.md) | | +**for_type** | [**LicenseType**](LicenseType.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/LicenseGroup.md b/docs/LicenseGroup.md index 71f89aa5..bc9d3955 100644 --- a/docs/LicenseGroup.md +++ b/docs/LicenseGroup.md @@ -5,10 +5,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | -**name** | **str** | | **description** | **str** | | +**id** | **str** | | **licenses** | [**list[License]**](License.md) | | +**name** | **str** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/LimitedGroup.md b/docs/LimitedGroup.md index 91d49551..9fa50596 100644 --- a/docs/LimitedGroup.md +++ b/docs/LimitedGroup.md @@ -4,23 +4,23 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**name** | **str** | | [optional] -**short_code** | **str** | | [optional] -**discriminator** | **str** | | [optional] +**banner_id** | **str** | | [optional] +**banner_url** | **str** | | [optional] +**created_at** | **datetime** | | [optional] **description** | **str** | | [optional] +**discriminator** | **str** | | [optional] +**galleries** | [**list[GroupGallery]**](GroupGallery.md) | | [optional] +**icon_id** | **str** | | [optional] **icon_url** | **str** | | [optional] -**banner_url** | **str** | | [optional] +**id** | **str** | | [optional] +**is_searchable** | **bool** | | [optional] +**member_count** | **int** | | [optional] +**membership_status** | [**GroupMemberStatus**](GroupMemberStatus.md) | | [optional] +**name** | **str** | | [optional] **owner_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] **rules** | **str** | | [optional] -**icon_id** | **str** | | [optional] -**banner_id** | **str** | | [optional] -**member_count** | **int** | | [optional] +**short_code** | **str** | | [optional] **tags** | **list[str]** | | [optional] -**created_at** | **datetime** | | [optional] -**membership_status** | [**GroupMemberStatus**](GroupMemberStatus.md) | | [optional] -**is_searchable** | **bool** | | [optional] -**galleries** | [**list[GroupGallery]**](GroupGallery.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/LimitedUnityPackage.md b/docs/LimitedUnityPackage.md index 2aaeb6d8..5065188d 100644 --- a/docs/LimitedUnityPackage.md +++ b/docs/LimitedUnityPackage.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **created_at** | **datetime** | | -**platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | +**platform** | **str** | This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | **unity_version** | **str** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/LimitedUserFriend.md b/docs/LimitedUserFriend.md index e85b6608..19f14a93 100644 --- a/docs/LimitedUserFriend.md +++ b/docs/LimitedUserFriend.md @@ -8,19 +8,19 @@ Name | Type | Description | Notes **bio** | **str** | | [optional] **bio_links** | **list[str]** | | [optional] **current_avatar_image_url** | **str** | When profilePicOverride is not empty, use it instead. | [optional] -**current_avatar_thumbnail_image_url** | **str** | When profilePicOverride is not empty, use it instead. | [optional] **current_avatar_tags** | **list[str]** | | [optional] +**current_avatar_thumbnail_image_url** | **str** | When profilePicOverride is not empty, use it instead. | [optional] **developer_type** | [**DeveloperType**](DeveloperType.md) | | **display_name** | **str** | | **friend_key** | **str** | | **id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | -**is_friend** | **bool** | | **image_url** | **str** | | -**last_platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | -**location** | **str** | | -**last_login** | **datetime** | | +**is_friend** | **bool** | | **last_activity** | **datetime** | | +**last_login** | **datetime** | | **last_mobile** | **datetime** | | +**last_platform** | **str** | This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | +**location** | **str** | | **platform** | **str** | | **profile_pic_override** | **str** | | [optional] **profile_pic_override_thumbnail** | **str** | | [optional] diff --git a/docs/LimitedUserGroups.md b/docs/LimitedUserGroups.md index d7c3e09b..04f50072 100644 --- a/docs/LimitedUserGroups.md +++ b/docs/LimitedUserGroups.md @@ -4,24 +4,24 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**name** | **str** | | [optional] -**short_code** | **str** | | [optional] -**discriminator** | **str** | | [optional] +**banner_id** | **str** | | [optional] +**banner_url** | **str** | | [optional] **description** | **str** | | [optional] +**discriminator** | **str** | | [optional] +**group_id** | **str** | | [optional] **icon_id** | **str** | | [optional] **icon_url** | **str** | | [optional] -**banner_id** | **str** | | [optional] -**banner_url** | **str** | | [optional] -**privacy** | **str** | | [optional] +**id** | **str** | | [optional] +**is_representing** | **bool** | | [optional] **last_post_created_at** | **datetime** | | [optional] -**owner_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] +**last_post_read_at** | **datetime** | | [optional] **member_count** | **int** | | [optional] -**group_id** | **str** | | [optional] **member_visibility** | **str** | | [optional] -**is_representing** | **bool** | | [optional] **mutual_group** | **bool** | | [optional] -**last_post_read_at** | **datetime** | | [optional] +**name** | **str** | | [optional] +**owner_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] +**privacy** | **str** | | [optional] +**short_code** | **str** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/LimitedUserInstance.md b/docs/LimitedUserInstance.md index 62969813..76f6761d 100644 --- a/docs/LimitedUserInstance.md +++ b/docs/LimitedUserInstance.md @@ -11,23 +11,23 @@ Name | Type | Description | Notes **bio** | **str** | | [optional] **bio_links** | **list[str]** | | [optional] **current_avatar_image_url** | **str** | When profilePicOverride is not empty, use it instead. | -**current_avatar_thumbnail_image_url** | **str** | When profilePicOverride is not empty, use it instead. | **current_avatar_tags** | **list[str]** | | +**current_avatar_thumbnail_image_url** | **str** | When profilePicOverride is not empty, use it instead. | **date_joined** | **datetime** | | **developer_type** | [**DeveloperType**](DeveloperType.md) | | **display_name** | **str** | | **friend_key** | **str** | | **id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | -**is_friend** | **bool** | | **image_url** | **str** | | [optional] -**last_platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | +**is_friend** | **bool** | | **last_activity** | **datetime** | | -**last_mobile** | **datetime** | | -**platform** | **str** | | [optional] +**last_mobile** | **datetime** | | [optional] +**last_platform** | **str** | This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | +**platform** | **str** | This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | [optional] **profile_pic_override** | **str** | | [optional] **profile_pic_override_thumbnail** | **str** | | [optional] **pronouns** | **str** | | -**state** | [**UserState**](UserState.md) | | +**state** | [**UserState**](UserState.md) | | [optional] **status** | [**UserStatus**](UserStatus.md) | | **status_description** | **str** | | **tags** | **list[str]** | | diff --git a/docs/LimitedUserSearch.md b/docs/LimitedUserSearch.md index ac1d8602..72a10f0d 100644 --- a/docs/LimitedUserSearch.md +++ b/docs/LimitedUserSearch.md @@ -8,13 +8,13 @@ Name | Type | Description | Notes **bio** | **str** | | [optional] **bio_links** | **list[str]** | | [optional] **current_avatar_image_url** | **str** | When profilePicOverride is not empty, use it instead. | -**current_avatar_thumbnail_image_url** | **str** | When profilePicOverride is not empty, use it instead. | **current_avatar_tags** | **list[str]** | | +**current_avatar_thumbnail_image_url** | **str** | When profilePicOverride is not empty, use it instead. | **developer_type** | [**DeveloperType**](DeveloperType.md) | | **display_name** | **str** | | **id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | **is_friend** | **bool** | | -**last_platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | +**last_platform** | **str** | This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | **profile_pic_override** | **str** | | [optional] **pronouns** | **str** | | [optional] **status** | [**UserStatus**](UserStatus.md) | | diff --git a/docs/LimitedWorld.md b/docs/LimitedWorld.md index 939352c6..4c981481 100644 --- a/docs/LimitedWorld.md +++ b/docs/LimitedWorld.md @@ -8,11 +8,9 @@ Name | Type | Description | Notes **author_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | **author_name** | **str** | | **capacity** | **int** | | -**recommended_capacity** | **int** | | [optional] **created_at** | **datetime** | | **default_content_settings** | [**InstanceContentSettings**](InstanceContentSettings.md) | | [optional] **favorites** | **int** | | [default to 0] -**visits** | **int** | | [optional] [default to 0] **heat** | **int** | | [default to 0] **id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | **image_url** | **str** | | @@ -23,13 +21,15 @@ Name | Type | Description | Notes **popularity** | **int** | | [default to 0] **preview_youtube_id** | **str** | | [optional] **publication_date** | **str** | | +**recommended_capacity** | **int** | | [optional] **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | **store_id** | **str** | | [optional] **tags** | **list[str]** | | **thumbnail_image_url** | **str** | | +**udon_products** | **list[str]** | | [optional] **unity_packages** | [**list[LimitedUnityPackage]**](LimitedUnityPackage.md) | | **updated_at** | **datetime** | | -**udon_products** | **list[str]** | | [optional] +**visits** | **int** | | [optional] [default to 0] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/MiscellaneousApi.md b/docs/MiscellaneousApi.md index d560d015..1acb32c7 100644 --- a/docs/MiscellaneousApi.md +++ b/docs/MiscellaneousApi.md @@ -4,8 +4,6 @@ All URIs are relative to *https://api.vrchat.cloud/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- -[**create_permission**](MiscellaneousApi.md#create_permission) | **POST** /permissions | Create Permission -[**delete_permission**](MiscellaneousApi.md#delete_permission) | **DELETE** /permissions/{permissionId} | Delete Permission [**get_assigned_permissions**](MiscellaneousApi.md#get_assigned_permissions) | **GET** /auth/permissions | Get Assigned Permissions [**get_config**](MiscellaneousApi.md#get_config) | **GET** /config | Fetch API Config [**get_css**](MiscellaneousApi.md#get_css) | **GET** /css/app.css | Download CSS @@ -14,167 +12,9 @@ Method | HTTP request | Description [**get_info_push**](MiscellaneousApi.md#get_info_push) | **GET** /infoPush | Show Information Notices [**get_java_script**](MiscellaneousApi.md#get_java_script) | **GET** /js/app.js | Download JavaScript [**get_permission**](MiscellaneousApi.md#get_permission) | **GET** /permissions/{permissionId} | Get Permission -[**get_permissions**](MiscellaneousApi.md#get_permissions) | **GET** /permissions | Get Permissions [**get_system_time**](MiscellaneousApi.md#get_system_time) | **GET** /time | Current System Time -[**update_permission**](MiscellaneousApi.md#update_permission) | **PUT** /permissions/{permissionId} | Update Permission -# **create_permission** -> Permission create_permission(n=n, offset=offset, owner_id=owner_id, create_permission_request=create_permission_request) - -Create Permission - -**REQUIRES ADMIN CREDENTIALS**. Creates and returns a new Permission. The permission will by default be owned by the sender of the request unless otherwise specified. - -### Example - -* Api Key Authentication (authCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.MiscellaneousApi(api_client) - n = 60 # int | The number of objects to return. (optional) (default to 60) -offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) -owner_id = 'owner_id_example' # str | Owner of the Permission, MUST be valid UserID. (optional) -create_permission_request = vrchatapi.CreatePermissionRequest() # CreatePermissionRequest | (optional) - - try: - # Create Permission - api_response = api_instance.create_permission(n=n, offset=offset, owner_id=owner_id, create_permission_request=create_permission_request) - pprint(api_response) - except ApiException as e: - print("Exception when calling MiscellaneousApi->create_permission: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **n** | **int**| The number of objects to return. | [optional] [default to 60] - **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] - **owner_id** | **str**| Owner of the Permission, MUST be valid UserID. | [optional] - **create_permission_request** | [**CreatePermissionRequest**](CreatePermissionRequest.md)| | [optional] - -### Return type - -[**Permission**](Permission.md) - -### Authorization - -[authCookie](../README.md#authCookie) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Returns a single Permission object. | - | -**401** | Error response due to missing auth cookie. | - | -**403** | Error response due to missing Administrator credentials. | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_permission** -> Permission delete_permission(permission_id) - -Delete Permission - -**REQUIRES ADMIN CREDENTIALS**. Deletes a permission. - -### Example - -* Api Key Authentication (authCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.MiscellaneousApi(api_client) - permission_id = 'permission_id_example' # str | Must be a valid permission ID. - - try: - # Delete Permission - api_response = api_instance.delete_permission(permission_id) - pprint(api_response) - except ApiException as e: - print("Exception when calling MiscellaneousApi->delete_permission: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **permission_id** | **str**| Must be a valid permission ID. | - -### Return type - -[**Permission**](Permission.md) - -### Authorization - -[authCookie](../README.md#authCookie) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Returns a single Permission object. | - | -**401** | Error response due to missing auth cookie. | - | -**403** | Error response due to missing Administrator credentials. | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - # **get_assigned_permissions** > list[Permission] get_assigned_permissions() @@ -687,77 +527,6 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_permissions** -> list[Permission] get_permissions() - -Get Permissions - -**REQUIRES ADMIN CREDENTIALS**. Returns a list of all existing permissions, just like `/users` with empty search would. - -### Example - -* Api Key Authentication (authCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.MiscellaneousApi(api_client) - - try: - # Get Permissions - api_response = api_instance.get_permissions() - pprint(api_response) - except ApiException as e: - print("Exception when calling MiscellaneousApi->get_permissions: %s\n" % e) -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**list[Permission]**](Permission.md) - -### Authorization - -[authCookie](../README.md#authCookie) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Returns a list of Permission objects. | - | -**401** | Error response due to missing auth cookie. | - | -**403** | Error response due to missing Administrator credentials. | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - # **get_system_time** > datetime get_system_time() @@ -816,80 +585,3 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **update_permission** -> Permission update_permission(permission_id, update_permission_request=update_permission_request) - -Update Permission - -**REQUIRES ADMIN CREDENTIALS**. Updates the info on a permission. - -### Example - -* Api Key Authentication (authCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.MiscellaneousApi(api_client) - permission_id = 'permission_id_example' # str | Must be a valid permission ID. -update_permission_request = vrchatapi.UpdatePermissionRequest() # UpdatePermissionRequest | (optional) - - try: - # Update Permission - api_response = api_instance.update_permission(permission_id, update_permission_request=update_permission_request) - pprint(api_response) - except ApiException as e: - print("Exception when calling MiscellaneousApi->update_permission: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **permission_id** | **str**| Must be a valid permission ID. | - **update_permission_request** | [**UpdatePermissionRequest**](UpdatePermissionRequest.md)| | [optional] - -### Return type - -[**Permission**](Permission.md) - -### Authorization - -[authCookie](../README.md#authCookie) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Returns a single Permission object. | - | -**401** | Error response due to missing auth cookie. | - | -**403** | Error response due to missing Administrator credentials. | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/docs/ModerationReport.md b/docs/ModerationReport.md new file mode 100644 index 00000000..2dd3cb70 --- /dev/null +++ b/docs/ModerationReport.md @@ -0,0 +1,20 @@ +# ModerationReport + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**category** | **str** | Valid values are the keys of the object `$.reportOptions[type]` from `GET /config`. Descriptions of these are found at `$.reportCategories[type]`. | +**content_id** | **str** | | +**content_name** | **str** | | +**content_thumbnail_image_url** | **str** | | +**description** | **str** | The subjective reason for the report | +**evidence_required** | **bool** | | +**id** | **str** | | +**reason** | **str** | Valid values are the strings in the array `$.reportOptions[type][category]` from `GET /config`. Descriptions of these are found at `$.reportReasons[type]`. | +**support_required** | **bool** | | +**type** | **str** | Valid values are the keys of the object `$.reportOptions` from `GET /config`. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/MutualFriend.md b/docs/MutualFriend.md new file mode 100644 index 00000000..efad7447 --- /dev/null +++ b/docs/MutualFriend.md @@ -0,0 +1,21 @@ +# MutualFriend + +User object received when querying mutual friends + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**avatar_thumbnail** | **str** | When profilePicOverride is not empty, use it instead. | [optional] +**current_avatar_image_url** | **str** | When profilePicOverride is not empty, use it instead. | +**current_avatar_tags** | **list[str]** | | [optional] +**current_avatar_thumbnail_image_url** | **str** | When profilePicOverride is not empty, use it instead. | [optional] +**display_name** | **str** | | +**id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**image_url** | **str** | | +**profile_pic_override** | **str** | | [optional] +**status** | [**UserStatus**](UserStatus.md) | | +**status_description** | **str** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Mutuals.md b/docs/Mutuals.md new file mode 100644 index 00000000..f1f22da8 --- /dev/null +++ b/docs/Mutuals.md @@ -0,0 +1,12 @@ +# Mutuals + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**friends** | **int** | | [default to 0] +**groups** | **int** | | [default to 0] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Notification.md b/docs/Notification.md index ffa47ac9..fdee1136 100644 --- a/docs/Notification.md +++ b/docs/Notification.md @@ -9,8 +9,8 @@ Name | Type | Description | Notes **details** | **str** | **NOTICE:** This is not a JSON object when received from the REST API, but it is when received from the Websocket API. When received from the REST API, this is a json **encoded** object, meaning you have to json-de-encode to get the NotificationDetail object depending on the NotificationType. | [default to '{}'] **id** | **str** | | **message** | **str** | | -**seen** | **bool** | Not included in notification objects received from the Websocket API | [optional] [default to False] **receiver_user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] +**seen** | **bool** | Not included in notification objects received from the Websocket API | [optional] [default to False] **sender_user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | **sender_username** | **str** | -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). | [optional] **type** | [**NotificationType**](NotificationType.md) | | diff --git a/docs/NotificationDetailRequestInvite.md b/docs/NotificationDetailRequestInvite.md index 55c68084..27fdb44e 100644 --- a/docs/NotificationDetailRequestInvite.md +++ b/docs/NotificationDetailRequestInvite.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**platform** | **str** | TODO: Does this still exist? | [optional] +**platform** | **str** | This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | [optional] **request_message** | **str** | Used when using InviteMessage Slot. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/NotificationV2.md b/docs/NotificationV2.md new file mode 100644 index 00000000..71ff12a5 --- /dev/null +++ b/docs/NotificationV2.md @@ -0,0 +1,39 @@ +# NotificationV2 + + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**can_delete** | **bool** | | +**category** | **str** | | +**created_at** | **datetime** | | +**data** | **dict(str, str)** | | +**details** | [**NotificationV2DetailsBoop**](NotificationV2DetailsBoop.md) | | [optional] +**expires_at** | **datetime** | | +**expiry_after_seen** | **int** | | +**id** | **str** | | +**ignore_dnd** | **bool** | | +**image_url** | **str** | | +**is_system** | **bool** | | +**link** | **str** | | +**link_text** | **str** | | +**link_text_key** | **str** | | +**message** | **str** | | +**message_key** | **str** | | [optional] +**receiver_user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**related_notifications_id** | **str** | | +**require_seen** | **bool** | | +**responses** | [**list[NotificationV2Response]**](NotificationV2Response.md) | | +**seen** | **bool** | | +**sender_user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**sender_username** | **str** | | +**title** | **str** | | +**title_key** | **str** | | +**type** | [**NotificationV2Type**](NotificationV2Type.md) | | +**updated_at** | **datetime** | | +**version** | **int** | | [default to 2] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/NotificationV2DetailsBoop.md b/docs/NotificationV2DetailsBoop.md new file mode 100644 index 00000000..d00219e5 --- /dev/null +++ b/docs/NotificationV2DetailsBoop.md @@ -0,0 +1,14 @@ +# NotificationV2DetailsBoop + +Either inventoryItemId by itself, or emojiId with optional emojiVersion + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**emoji_id** | **str** | Either a FileID or a string constant for default emojis | +**emoji_version** | **int** | | +**inventory_item_id** | **str** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/NotificationV2Response.md b/docs/NotificationV2Response.md new file mode 100644 index 00000000..5a86d339 --- /dev/null +++ b/docs/NotificationV2Response.md @@ -0,0 +1,15 @@ +# NotificationV2Response + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | **str** | | +**icon** | **str** | | +**text** | **str** | | +**text_key** | **str** | | +**type** | **str** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/NotificationV2Type.md b/docs/NotificationV2Type.md new file mode 100644 index 00000000..ffc29b8b --- /dev/null +++ b/docs/NotificationV2Type.md @@ -0,0 +1,10 @@ +# NotificationV2Type + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/NotificationsApi.md b/docs/NotificationsApi.md index 0186eb3b..6a013755 100644 --- a/docs/NotificationsApi.md +++ b/docs/NotificationsApi.md @@ -5,11 +5,18 @@ All URIs are relative to *https://api.vrchat.cloud/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- [**accept_friend_request**](NotificationsApi.md#accept_friend_request) | **PUT** /auth/user/notifications/{notificationId}/accept | Accept Friend Request +[**acknowledge_notification_v2**](NotificationsApi.md#acknowledge_notification_v2) | **POST** /notifications/{notificationId}/see | Acknowledge NotificationV2 [**clear_notifications**](NotificationsApi.md#clear_notifications) | **PUT** /auth/user/notifications/clear | Clear All Notifications +[**delete_all_notification_v2s**](NotificationsApi.md#delete_all_notification_v2s) | **DELETE** /notifications | Delete All NotificationV2s [**delete_notification**](NotificationsApi.md#delete_notification) | **PUT** /auth/user/notifications/{notificationId}/hide | Delete Notification +[**delete_notification_v2**](NotificationsApi.md#delete_notification_v2) | **DELETE** /notifications/{notificationId} | Delete NotificationV2 [**get_notification**](NotificationsApi.md#get_notification) | **GET** /auth/user/notifications/{notificationId} | Show notification +[**get_notification_v2**](NotificationsApi.md#get_notification_v2) | **GET** /notifications/{notificationId} | Get NotificationV2 +[**get_notification_v2s**](NotificationsApi.md#get_notification_v2s) | **GET** /notifications | List NotificationV2s [**get_notifications**](NotificationsApi.md#get_notifications) | **GET** /auth/user/notifications | List Notifications [**mark_notification_as_read**](NotificationsApi.md#mark_notification_as_read) | **PUT** /auth/user/notifications/{notificationId}/see | Mark Notification As Read +[**reply_notification_v2**](NotificationsApi.md#reply_notification_v2) | **POST** /notifications/{notificationId}/reply | Reply NotificationV2 +[**respond_notification_v2**](NotificationsApi.md#respond_notification_v2) | **POST** /notifications/{notificationId}/respond | Respond NotificationV2 # **accept_friend_request** @@ -87,6 +94,81 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **acknowledge_notification_v2** +> NotificationV2 acknowledge_notification_v2(notification_id) + +Acknowledge NotificationV2 + +Acknowledge a specific notification + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.NotificationsApi(api_client) + notification_id = 'notification_id_example' # str | Must be a valid notification ID. + + try: + # Acknowledge NotificationV2 + api_response = api_instance.acknowledge_notification_v2(notification_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling NotificationsApi->acknowledge_notification_v2: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **notification_id** | **str**| Must be a valid notification ID. | + +### Return type + +[**NotificationV2**](NotificationV2.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single NotifcationV2 object. | - | +**401** | Error response due to missing auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing notification. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **clear_notifications** > Success clear_notifications() @@ -157,6 +239,76 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **delete_all_notification_v2s** +> Success delete_all_notification_v2s() + +Delete All NotificationV2s + +Delete all of the current user's notifications. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.NotificationsApi(api_client) + + try: + # Delete All NotificationV2s + api_response = api_instance.delete_all_notification_v2s() + pprint(api_response) + except ApiException as e: + print("Exception when calling NotificationsApi->delete_all_notification_v2s: %s\n" % e) +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**Success**](Success.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response after clearing all notifications. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **delete_notification** > Notification delete_notification(notification_id) @@ -231,6 +383,82 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **delete_notification_v2** +> Success delete_notification_v2(notification_id) + +Delete NotificationV2 + +Delete a specific notification + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.NotificationsApi(api_client) + notification_id = 'notification_id_example' # str | Must be a valid notification ID. + + try: + # Delete NotificationV2 + api_response = api_instance.delete_notification_v2(notification_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling NotificationsApi->delete_notification_v2: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **notification_id** | **str**| Must be a valid notification ID. | + +### Return type + +[**Success**](Success.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response after clearing a notification. | - | +**400** | Error response when trying to perform an invalid operations on a notification. | - | +**401** | Error response due to missing auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing notification. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_notification** > Notification get_notification(notification_id) @@ -306,6 +534,156 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_notification_v2** +> NotificationV2 get_notification_v2(notification_id) + +Get NotificationV2 + +Get a specific notification. Appears to require admin credentials by default. Expect a 403 Forbidden error response for normal users. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.NotificationsApi(api_client) + notification_id = 'notification_id_example' # str | Must be a valid notification ID. + + try: + # Get NotificationV2 + api_response = api_instance.get_notification_v2(notification_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling NotificationsApi->get_notification_v2: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **notification_id** | **str**| Must be a valid notification ID. | + +### Return type + +[**NotificationV2**](NotificationV2.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single NotifcationV2 object. | - | +**401** | Error response due to missing auth cookie. | - | +**403** | Error response due to missing Administrator credentials. | - | +**404** | Error response when trying to perform operations on a non-existing notification. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_notification_v2s** +> list[NotificationV2] get_notification_v2s(limit=limit) + +List NotificationV2s + +Retrieve all of the current user's notifications. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.NotificationsApi(api_client) + limit = 100 # int | The maximum number of entries to get. (optional) + + try: + # List NotificationV2s + api_response = api_instance.get_notification_v2s(limit=limit) + pprint(api_response) + except ApiException as e: + print("Exception when calling NotificationsApi->get_notification_v2s: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **limit** | **int**| The maximum number of entries to get. | [optional] + +### Return type + +[**list[NotificationV2]**](NotificationV2.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of NotifcationV2 objects. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_notifications** > list[Notification] get_notifications(type=type, sent=sent, hidden=hidden, after=after, n=n, offset=offset) @@ -464,3 +842,159 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **reply_notification_v2** +> NotificationV2 reply_notification_v2(notification_id, body) + +Reply NotificationV2 + +Reply to a specific notification + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.NotificationsApi(api_client) + notification_id = 'notification_id_example' # str | Must be a valid notification ID. +body = None # object | + + try: + # Reply NotificationV2 + api_response = api_instance.reply_notification_v2(notification_id, body) + pprint(api_response) + except ApiException as e: + print("Exception when calling NotificationsApi->reply_notification_v2: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **notification_id** | **str**| Must be a valid notification ID. | + **body** | **object**| | + +### Return type + +[**NotificationV2**](NotificationV2.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single NotifcationV2 object. | - | +**400** | Error response when trying to perform an invalid operations on a notification. | - | +**401** | Error response due to missing auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing notification. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **respond_notification_v2** +> NotificationV2 respond_notification_v2(notification_id, respond_notification_v2_request) + +Respond NotificationV2 + +Respond to a specific notification + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.NotificationsApi(api_client) + notification_id = 'notification_id_example' # str | Must be a valid notification ID. +respond_notification_v2_request = vrchatapi.RespondNotificationV2Request() # RespondNotificationV2Request | + + try: + # Respond NotificationV2 + api_response = api_instance.respond_notification_v2(notification_id, respond_notification_v2_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling NotificationsApi->respond_notification_v2: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **notification_id** | **str**| Must be a valid notification ID. | + **respond_notification_v2_request** | [**RespondNotificationV2Request**](RespondNotificationV2Request.md)| | + +### Return type + +[**NotificationV2**](NotificationV2.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single NotifcationV2 object. | - | +**400** | Error response when trying to perform an invalid operations on a notification. | - | +**401** | Error response due to missing auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing notification. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/OkStatus2.md b/docs/OkStatus2.md new file mode 100644 index 00000000..96d765e0 --- /dev/null +++ b/docs/OkStatus2.md @@ -0,0 +1,12 @@ +# OkStatus2 + +Another status response consisting of solely a string description of whether the result of an operation was ok. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ok** | **str** | The actual status itself | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/OrderOptionShort.md b/docs/OrderOptionShort.md new file mode 100644 index 00000000..acaecd51 --- /dev/null +++ b/docs/OrderOptionShort.md @@ -0,0 +1,10 @@ +# OrderOptionShort + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/PaginatedCalendarEventList.md b/docs/PaginatedCalendarEventList.md index 7d1dc084..6ece61d9 100644 --- a/docs/PaginatedCalendarEventList.md +++ b/docs/PaginatedCalendarEventList.md @@ -1,12 +1,13 @@ # PaginatedCalendarEventList +An offset-based list of CalendarEvents ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**has_next** | **bool** | Whether there are more results after this page. | [optional] **results** | [**list[CalendarEvent]**](CalendarEvent.md) | | [optional] **total_count** | **int** | The total number of results that the query would return if there were no pagination. | [optional] -**has_next** | **bool** | Whether there are more results after this page. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PaginatedGroupAuditLogEntryList.md b/docs/PaginatedGroupAuditLogEntryList.md index 3d20f1bd..3fd15ce2 100644 --- a/docs/PaginatedGroupAuditLogEntryList.md +++ b/docs/PaginatedGroupAuditLogEntryList.md @@ -4,9 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**has_next** | **bool** | Whether there are more results after this page. | [optional] **results** | [**list[GroupAuditLogEntry]**](GroupAuditLogEntry.md) | | [optional] **total_count** | **int** | The total number of results that the query would return if there were no pagination. | [optional] -**has_next** | **bool** | Whether there are more results after this page. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PaginatedModerationReportList.md b/docs/PaginatedModerationReportList.md new file mode 100644 index 00000000..3dd38b2c --- /dev/null +++ b/docs/PaginatedModerationReportList.md @@ -0,0 +1,13 @@ +# PaginatedModerationReportList + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**has_next** | **bool** | Whether there are more results after this page. | [optional] +**results** | [**list[ModerationReport]**](ModerationReport.md) | The list of moderation reports. | [optional] +**total_count** | **int** | The total number of results that the query would return if there were no pagination. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Permission.md b/docs/Permission.md index fa97f1a5..42910169 100644 --- a/docs/Permission.md +++ b/docs/Permission.md @@ -5,14 +5,14 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**display_name** | **str** | | [optional] +**data** | [**PermissionData**](PermissionData.md) | | [optional] **description** | **str** | | [optional] +**display_name** | **str** | | [optional] **id** | **str** | | -**owner_display_name** | **str** | | **name** | **str** | | +**owner_display_name** | **str** | | **owner_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | **type** | **str** | | [optional] -**data** | **object** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PermissionData.md b/docs/PermissionData.md new file mode 100644 index 00000000..95ca4e0c --- /dev/null +++ b/docs/PermissionData.md @@ -0,0 +1,16 @@ +# PermissionData + +Specific values afforded the user by this permission + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**badges** | **list[str]** | Badges afforded the user by this permission | [optional] +**max** | **int** | Maximum value afforded the user by this permission | [optional] +**max_favorite_groups** | **dict(str, int)** | Maximum favorite groups afforded the user by this permission | [optional] +**max_favorites_per_group** | **dict(str, int)** | Maximum favorites per group afforded the user by this permission | [optional] +**tags** | **list[str]** | Tags afforded the user by this permission | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/PlayermoderationApi.md b/docs/PlayermoderationApi.md index 9e77fa86..628556e6 100644 --- a/docs/PlayermoderationApi.md +++ b/docs/PlayermoderationApi.md @@ -81,7 +81,7 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_player_moderations** -> list[PlayerModeration] get_player_moderations(type=type, source_user_id=source_user_id, target_user_id=target_user_id) +> list[PlayerModeration] get_player_moderations(type=type, target_user_id=target_user_id) Search Player Moderations @@ -118,12 +118,11 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.PlayermoderationApi(api_client) type = vrchatapi.PlayerModerationType() # PlayerModerationType | Must be one of PlayerModerationType. (optional) -source_user_id = 'source_user_id_example' # str | Must be valid UserID. Trying to view someone else's moderations results with \"Can't view someone else's player moderations\" error. (optional) target_user_id = 'target_user_id_example' # str | Must be valid UserID. (optional) try: # Search Player Moderations - api_response = api_instance.get_player_moderations(type=type, source_user_id=source_user_id, target_user_id=target_user_id) + api_response = api_instance.get_player_moderations(type=type, target_user_id=target_user_id) pprint(api_response) except ApiException as e: print("Exception when calling PlayermoderationApi->get_player_moderations: %s\n" % e) @@ -134,7 +133,6 @@ target_user_id = 'target_user_id_example' # str | Must be valid UserID. (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **type** | [**PlayerModerationType**](.md)| Must be one of PlayerModerationType. | [optional] - **source_user_id** | **str**| Must be valid UserID. Trying to view someone else's moderations results with \"Can't view someone else's player moderations\" error. | [optional] **target_user_id** | **str**| Must be valid UserID. | [optional] ### Return type diff --git a/docs/Product.md b/docs/Product.md index 5f9a1e20..e91aeb01 100644 --- a/docs/Product.md +++ b/docs/Product.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**archived** | **bool** | | -**created** | **datetime** | | +**archived** | **bool** | | [optional] +**created** | **datetime** | | [optional] **description** | **str** | | **display_name** | **str** | | **group_access** | **bool** | | [optional] [default to False] @@ -19,7 +19,7 @@ Name | Type | Description | Notes **seller_display_name** | **str** | | **seller_id** | **str** | | **tags** | **list[str]** | | -**updated** | **datetime** | | +**updated** | **datetime** | | [optional] **use_for_subscriber_list** | **bool** | | [optional] [default to False] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ProductListing.md b/docs/ProductListing.md index 85cf2b7b..bd580d04 100644 --- a/docs/ProductListing.md +++ b/docs/ProductListing.md @@ -31,9 +31,13 @@ Name | Type | Description | Notes **refundable** | **bool** | | **seller_display_name** | **str** | | **seller_id** | **str** | | +**sold_by_vrc** | **bool** | | [optional] **stackable** | **bool** | | **store_ids** | **list[str]** | | +**subtitle** | **str** | | [optional] **tags** | **list[str]** | | [optional] +**vrc_plus_discount_price** | **int** | | [optional] +**when_to_expire** | **datetime** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ProductPurchase.md b/docs/ProductPurchase.md new file mode 100644 index 00000000..9626a458 --- /dev/null +++ b/docs/ProductPurchase.md @@ -0,0 +1,47 @@ +# ProductPurchase + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**buyer_display_name** | **str** | | +**buyer_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**first_party** | **bool** | | [optional] +**is_buyer** | **bool** | | +**is_gift** | **bool** | | +**is_receiver** | **bool** | | +**is_seller** | **bool** | | +**listing_currently_available** | **bool** | | +**listing_display_name** | **str** | | +**listing_id** | **str** | | +**listing_image_id** | **str** | | +**listing_subtitle** | **str** | | +**listing_type** | [**ProductListingType**](ProductListingType.md) | | +**products** | **list[object]** | | +**purchase_active** | **bool** | | +**purchase_context** | [**ProductPurchasePurchaseContext**](ProductPurchasePurchaseContext.md) | | +**purchase_current_status** | **str** | | +**purchase_date** | **datetime** | | +**purchase_duration** | **int** | | [optional] +**purchase_duration_type** | **str** | | [optional] +**purchase_end_date** | **datetime** | | +**purchase_id** | **str** | | +**purchase_latest** | **bool** | | +**purchase_price** | **int** | | +**purchase_quantity** | **int** | | +**purchase_start_date** | **datetime** | | +**purchase_token** | **object** | | +**purchase_type** | **str** | | +**purchase_unit_price** | **int** | | +**receiver_display_name** | **str** | | +**receiver_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**recurrable** | **bool** | | +**refundable** | **bool** | | +**seller_display_name** | **str** | | +**seller_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**stackable** | **bool** | | +**will_recur** | **bool** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ProductPurchasePurchaseContext.md b/docs/ProductPurchasePurchaseContext.md new file mode 100644 index 00000000..8c54b488 --- /dev/null +++ b/docs/ProductPurchasePurchaseContext.md @@ -0,0 +1,11 @@ +# ProductPurchasePurchaseContext + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**location_type** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Prop.md b/docs/Prop.md index d6cd5a68..cae34043 100644 --- a/docs/Prop.md +++ b/docs/Prop.md @@ -15,12 +15,12 @@ Name | Type | Description | Notes **max_count_per_user** | **int** | | [default to 1] **name** | **str** | | **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | -**spawn_type** | **int** | | [default to 0] +**spawn_type** | **int** | How a prop is summoned and interacted with. 0: the prop fixed to some surface in the world 1: the prop is a pickup and may be held by users 2: ??? | [default to 1] **tags** | **list[str]** | | **thumbnail_image_url** | **str** | | **unity_package_url** | **str** | | **unity_packages** | [**list[PropUnityPackage]**](PropUnityPackage.md) | | -**world_placement_mask** | **int** | | [default to 1] +**world_placement_mask** | **int** | Bitmask for restrictions on what world surfaces a prop may be summoned. 0: no restrictions 1: floors 2: walls 4: ceilings | [default to 1] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PropPublishStatus.md b/docs/PropPublishStatus.md new file mode 100644 index 00000000..9e27ca46 --- /dev/null +++ b/docs/PropPublishStatus.md @@ -0,0 +1,11 @@ +# PropPublishStatus + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**can_publish** | **bool** | | [optional] [default to False] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/PropUnityPackage.md b/docs/PropUnityPackage.md index 354737ca..8af0b87f 100644 --- a/docs/PropUnityPackage.md +++ b/docs/PropUnityPackage.md @@ -7,8 +7,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **asset_url** | **str** | | **asset_version** | **int** | | +**platform** | **str** | This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | **prop_signature** | **str** | | -**platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | **unity_version** | **str** | | [default to '2022.3.22f1'] **variant** | **str** | | diff --git a/docs/PropsApi.md b/docs/PropsApi.md index b37bda65..1997f300 100644 --- a/docs/PropsApi.md +++ b/docs/PropsApi.md @@ -4,9 +4,166 @@ All URIs are relative to *https://api.vrchat.cloud/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- +[**create_prop**](PropsApi.md#create_prop) | **POST** /props | Create Prop +[**delete_prop**](PropsApi.md#delete_prop) | **DELETE** /props/{propId} | Delete Prop [**get_prop**](PropsApi.md#get_prop) | **GET** /props/{propId} | Get Prop +[**get_prop_publish_status**](PropsApi.md#get_prop_publish_status) | **GET** /props/{propId}/publish | Get Prop Publish Status +[**list_props**](PropsApi.md#list_props) | **GET** /props | List Props +[**publish_prop**](PropsApi.md#publish_prop) | **PUT** /props/{propId}/publish | Publish Prop +[**unpublish_prop**](PropsApi.md#unpublish_prop) | **DELETE** /props/{propId}/publish | Unpublish Prop +[**update_prop**](PropsApi.md#update_prop) | **PUT** /props/{propId} | Update Prop +# **create_prop** +> Prop create_prop(create_prop_request) + +Create Prop + +Create a Prop and return the new Prop object. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.PropsApi(api_client) + create_prop_request = vrchatapi.CreatePropRequest() # CreatePropRequest | + + try: + # Create Prop + api_response = api_instance.create_prop(create_prop_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling PropsApi->create_prop: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **create_prop_request** | [**CreatePropRequest**](CreatePropRequest.md)| | + +### Return type + +[**Prop**](Prop.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single Prop object. | - | +**401** | Error response due to missing auth cookie. | - | +**403** | Error response due to missing permissions. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_prop** +> delete_prop(prop_id) + +Delete Prop + +Delete a Prop. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.PropsApi(api_client) + prop_id = 'prop_829ba6f6-b837-49d9-b9a9-056b82103b58' # str | Prop ID. + + try: + # Delete Prop + api_instance.delete_prop(prop_id) + except ApiException as e: + print("Exception when calling PropsApi->delete_prop: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **prop_id** | **str**| Prop ID. | + +### Return type + +void (empty response body) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | The Prop is successfully deleted. | - | +**401** | Error response due to missing auth cookie. | - | +**403** | Error response due to missing permissions. | - | +**404** | Error response when trying to perform operations on a non-existing prop. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_prop** > Prop get_prop(prop_id) @@ -78,6 +235,392 @@ Name | Type | Description | Notes |-------------|-------------|------------------| **200** | Returns a single Prop object. | - | **401** | Error response due to missing auth cookie. | - | +**404** | Error response when trying to perform operations on a non-existing prop. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_prop_publish_status** +> PropPublishStatus get_prop_publish_status(prop_id) + +Get Prop Publish Status + +Returns a PropPublishStatus object. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.PropsApi(api_client) + prop_id = 'prop_829ba6f6-b837-49d9-b9a9-056b82103b58' # str | Prop ID. + + try: + # Get Prop Publish Status + api_response = api_instance.get_prop_publish_status(prop_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling PropsApi->get_prop_publish_status: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **prop_id** | **str**| Prop ID. | + +### Return type + +[**PropPublishStatus**](PropPublishStatus.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single PropPublishStatus object. | - | +**401** | Error response due to missing auth cookie. | - | +**403** | Error response due to missing permissions. | - | +**404** | Error response when trying to perform operations on a non-existing prop. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **list_props** +> list[Prop] list_props(author_id, n=n, offset=offset) + +List Props + +Returns a list Prop objects. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.PropsApi(api_client) + author_id = 'author_id_example' # str | Must be a valid user ID. +n = 60 # int | The number of objects to return. (optional) (default to 60) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) + + try: + # List Props + api_response = api_instance.list_props(author_id, n=n, offset=offset) + pprint(api_response) + except ApiException as e: + print("Exception when calling PropsApi->list_props: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **author_id** | **str**| Must be a valid user ID. | + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + +### Return type + +[**list[Prop]**](Prop.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of Prop objects. | - | +**401** | Error response due to missing auth cookie. | - | +**403** | Error response due to missing permissions. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **publish_prop** +> PropPublishStatus publish_prop(prop_id) + +Publish Prop + +Publish a Prop and return the updated PropPublishStatus object. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.PropsApi(api_client) + prop_id = 'prop_829ba6f6-b837-49d9-b9a9-056b82103b58' # str | Prop ID. + + try: + # Publish Prop + api_response = api_instance.publish_prop(prop_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling PropsApi->publish_prop: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **prop_id** | **str**| Prop ID. | + +### Return type + +[**PropPublishStatus**](PropPublishStatus.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single PropPublishStatus object. | - | +**401** | Error response due to missing auth cookie. | - | +**403** | Error response due to missing permissions. | - | +**404** | Error response when trying to perform operations on a non-existing prop. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **unpublish_prop** +> PropPublishStatus unpublish_prop(prop_id) + +Unpublish Prop + +Unpublish a Prop and return the updated PropPublishStatus object. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.PropsApi(api_client) + prop_id = 'prop_829ba6f6-b837-49d9-b9a9-056b82103b58' # str | Prop ID. + + try: + # Unpublish Prop + api_response = api_instance.unpublish_prop(prop_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling PropsApi->unpublish_prop: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **prop_id** | **str**| Prop ID. | + +### Return type + +[**PropPublishStatus**](PropPublishStatus.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single PropPublishStatus object. | - | +**401** | Error response due to missing auth cookie. | - | +**403** | Error response due to missing permissions. | - | +**404** | Error response when trying to perform operations on a non-existing prop. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **update_prop** +> Prop update_prop(prop_id, update_prop_request) + +Update Prop + +Updates a Prop and returns the updated Prop object. When updating the asset bundle, all of `name`, `assetUrl`, `platform`, `unityVersion`, `assetVersion`, `spawnType`, and `worldPlacementMask` must be present, as well as `propSignature` if this value is not blank. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.PropsApi(api_client) + prop_id = 'prop_829ba6f6-b837-49d9-b9a9-056b82103b58' # str | Prop ID. +update_prop_request = vrchatapi.UpdatePropRequest() # UpdatePropRequest | + + try: + # Update Prop + api_response = api_instance.update_prop(prop_id, update_prop_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling PropsApi->update_prop: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **prop_id** | **str**| Prop ID. | + **update_prop_request** | [**UpdatePropRequest**](UpdatePropRequest.md)| | + +### Return type + +[**Prop**](Prop.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single Prop object. | - | +**401** | Error response due to missing auth cookie. | - | +**403** | Error response due to missing permissions. | - | +**404** | Error response when trying to perform operations on a non-existing prop. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/PurchaseProductListingRequest.md b/docs/PurchaseProductListingRequest.md new file mode 100644 index 00000000..a3e744a9 --- /dev/null +++ b/docs/PurchaseProductListingRequest.md @@ -0,0 +1,13 @@ +# PurchaseProductListingRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**listing_id** | **str** | | +**quantity** | **int** | | [default to 1] +**total_price** | **int** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/RegisterUserAccountRequest.md b/docs/RegisterUserAccountRequest.md index ed9363bb..add44ebe 100644 --- a/docs/RegisterUserAccountRequest.md +++ b/docs/RegisterUserAccountRequest.md @@ -4,15 +4,15 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**username** | **str** | Display Name / Username (Username is a sanitized version) | -**password** | **str** | Password | +**accepted_tos_version** | **int** | The most recent version of the TOS | +**captcha_code** | **str** | Captcha code | +**day** | **str** | Birth day of month | **email** | **str** | Email address | -**year** | **str** | Birth year | **month** | **str** | Birth month of year | -**day** | **str** | Birth day of month | -**captcha_code** | **str** | Captcha code | +**password** | **str** | Password | **subscribe** | **bool** | Whether to recieve promotional emails | -**accepted_tos_version** | **int** | The most recent version of the TOS | +**username** | **str** | Display Name / Username (Username is a sanitized version) | +**year** | **str** | Birth year | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ReportCategory.md b/docs/ReportCategory.md index a28870bc..7bc60d9c 100644 --- a/docs/ReportCategory.md +++ b/docs/ReportCategory.md @@ -6,8 +6,8 @@ A category used for reporting content Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **description** | **str** | The description of the report category | [optional] -**title** | **str** | The title of the report category | [optional] **text** | **str** | The label of the report category | +**title** | **str** | The title of the report category | [optional] **tooltip** | **str** | The tooltip that describes the category | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/RepresentedGroup.md b/docs/RepresentedGroup.md index 9c9cd718..5ef9c6c3 100644 --- a/docs/RepresentedGroup.md +++ b/docs/RepresentedGroup.md @@ -4,20 +4,20 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**name** | **str** | | [optional] -**short_code** | **str** | | [optional] -**discriminator** | **str** | | [optional] +**banner_id** | **str** | | [optional] +**banner_url** | **str** | | [optional] **description** | **str** | | [optional] +**discriminator** | **str** | | [optional] +**group_id** | **str** | | [optional] **icon_id** | **str** | | [optional] **icon_url** | **str** | | [optional] -**banner_id** | **str** | | [optional] -**banner_url** | **str** | | [optional] -**privacy** | [**GroupPrivacy**](GroupPrivacy.md) | | [optional] -**owner_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] +**is_representing** | **bool** | | [optional] **member_count** | **int** | | [optional] -**group_id** | **str** | | [optional] **member_visibility** | [**GroupUserVisibility**](GroupUserVisibility.md) | | [optional] -**is_representing** | **bool** | | [optional] +**name** | **str** | | [optional] +**owner_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] +**privacy** | [**GroupPrivacy**](GroupPrivacy.md) | | [optional] +**short_code** | **str** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/RespondNotificationV2Request.md b/docs/RespondNotificationV2Request.md new file mode 100644 index 00000000..6cfc294b --- /dev/null +++ b/docs/RespondNotificationV2Request.md @@ -0,0 +1,12 @@ +# RespondNotificationV2Request + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**response_data** | **str** | | [optional] [default to ''] +**response_type** | **str** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SearchGroupMembers200Response.md b/docs/SearchGroupMembers200Response.md new file mode 100644 index 00000000..9b3ef2ab --- /dev/null +++ b/docs/SearchGroupMembers200Response.md @@ -0,0 +1,12 @@ +# SearchGroupMembers200Response + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**results** | [**list[GroupMember]**](GroupMember.md) | | [optional] +**total** | **int** | Number of members returned | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SentNotification.md b/docs/SentNotification.md index 02a06220..571909cf 100644 --- a/docs/SentNotification.md +++ b/docs/SentNotification.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **created_at** | **datetime** | | -**details** | **object** | | +**details** | **dict(str, str)** | | **id** | **str** | | **message** | **str** | | **receiver_user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | diff --git a/docs/SortOptionProductPurchase.md b/docs/SortOptionProductPurchase.md new file mode 100644 index 00000000..3e13a65b --- /dev/null +++ b/docs/SortOptionProductPurchase.md @@ -0,0 +1,10 @@ +# SortOptionProductPurchase + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Store.md b/docs/Store.md index 10055bda..febb0d99 100644 --- a/docs/Store.md +++ b/docs/Store.md @@ -6,18 +6,18 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **description** | **str** | | **display_name** | **str** | | +**group_id** | **str** | | [optional] **id** | **str** | | +**listing_ids** | **list[str]** | Only for store type world and group | [optional] +**listings** | [**list[ProductListing]**](ProductListing.md) | Only for store type world and group | [optional] **seller_display_name** | **str** | | **seller_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**shelf_ids** | **list[str]** | Only for store type house | [optional] +**shelves** | [**list[StoreShelf]**](StoreShelf.md) | Only for store type house | [optional] **store_id** | **str** | | **store_type** | [**StoreType**](StoreType.md) | | **tags** | **list[str]** | | -**listing_ids** | **list[str]** | Only for store type world and group | [optional] -**listings** | [**list[ProductListing]**](ProductListing.md) | Only for store type world and group | [optional] **world_id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | [optional] -**group_id** | **str** | | [optional] -**shelf_ids** | **list[str]** | Only for store type house | [optional] -**shelves** | [**list[StoreShelf]**](StoreShelf.md) | Only for store type house | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/StoreShelf.md b/docs/StoreShelf.md index 2e2ae371..24ad221a 100644 --- a/docs/StoreShelf.md +++ b/docs/StoreShelf.md @@ -4,13 +4,15 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**highlight_listing** | [**ProductListing**](ProductListing.md) | | [optional] +**highlight_listing_id** | **str** | | [optional] **id** | **str** | | **listing_ids** | **list[str]** | | **listings** | [**list[ProductListing]**](ProductListing.md) | | [optional] **shelf_description** | **str** | | **shelf_layout** | **str** | | **shelf_title** | **str** | | -**updated_at** | **str** | | +**updated_at** | **datetime** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SubmitModerationReportRequest.md b/docs/SubmitModerationReportRequest.md new file mode 100644 index 00000000..7a3ed2e9 --- /dev/null +++ b/docs/SubmitModerationReportRequest.md @@ -0,0 +1,17 @@ +# SubmitModerationReportRequest + +Pseudocode steps to build a request with a valid combination: request = {} config = json.parse(GET /config) valid_types = config.reportOptions.keys request.type = select_one(valid_types, (id) => { text: id, tooltip: \"\" }) valid_categories = config.reportOptions[request.type].keys request.category = select_one(valid_categories, (id) => config.reportCategories[id]) valid_reasons = config.reportOptions[request.type][request.category] request.reason = select_one(valid_reasons, (id) => config.reportReasons[id]) request.contentId = relevant_id_of_type(request.type) request.details = relevant_details_based_on_type(request.type) request.description = input_string() + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**category** | **str** | Valid values are the keys of the object `$.reportOptions[type]` from `GET /config`. Descriptions of these are found at `$.reportCategories[type]`. | +**content_id** | **str** | The id of the user, group, world, avatar, inventory item, print, etc. being reported. | +**description** | **str** | The subjective reason for the report | [optional] +**details** | [**SubmitModerationReportRequestDetails**](SubmitModerationReportRequestDetails.md) | | [optional] +**reason** | **str** | Valid values are the strings in the array `$.reportOptions[type][category]` from `GET /config`. Descriptions of these are found at `$.reportReasons[type]`. | +**type** | **str** | Valid values are the keys of the object `$.reportOptions` from `GET /config`. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SubmitModerationReportRequestDetails.md b/docs/SubmitModerationReportRequestDetails.md new file mode 100644 index 00000000..edfcd63f --- /dev/null +++ b/docs/SubmitModerationReportRequestDetails.md @@ -0,0 +1,18 @@ +# SubmitModerationReportRequestDetails + +Relevant details specific to the type of the report. `fileId` is for the image file attached to an inventory item, such as an emoji. `holderId` is for the user who owns an inventory item, such as a emoji. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**file_id** | **str** | | [optional] +**holder_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] +**image_type** | **str** | Relevant detail for reports about image content, such as emoji. | [optional] +**instance_age_gated** | **bool** | Relevant detail for reports taking place from within an instance. | [optional] +**instance_type** | **str** | Relevant detail for reports taking place from within an instance. | [optional] +**suggested_warnings** | [**list[ContentFilter]**](ContentFilter.md) | Relevant detail for reports about content that might not be tagged properly. | [optional] +**user_in_same_instance** | **bool** | Relevant detail for reports involving another user in the same instance world. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Subscription.md b/docs/Subscription.md index 3bf0d315..0836bd4f 100644 --- a/docs/Subscription.md +++ b/docs/Subscription.md @@ -5,16 +5,16 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | -**steam_item_id** | **str** | | -**oculus_sku** | **str** | | [optional] -**google_product_id** | **str** | | [optional] -**google_plan_id** | **str** | | [optional] -**pico_sku** | **str** | | [optional] -**apple_product_id** | **str** | | [optional] **amount** | **float** | | +**apple_product_id** | **str** | | [optional] **description** | **str** | | +**google_plan_id** | **str** | | [optional] +**google_product_id** | **str** | | [optional] +**id** | **str** | | +**oculus_sku** | **str** | | [optional] **period** | [**SubscriptionPeriod**](SubscriptionPeriod.md) | | +**pico_sku** | **str** | | [optional] +**steam_item_id** | **str** | | **tier** | **int** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SuccessFlag.md b/docs/SuccessFlag.md new file mode 100644 index 00000000..aaef9f9b --- /dev/null +++ b/docs/SuccessFlag.md @@ -0,0 +1,11 @@ +# SuccessFlag + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **bool** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/TiliaStatus.md b/docs/TiliaStatus.md index 4fccdc94..3b78be9f 100644 --- a/docs/TiliaStatus.md +++ b/docs/TiliaStatus.md @@ -7,8 +7,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **economy_online** | **bool** | | **economy_state** | **int** | | [optional] -**planned_offline_window_start** | **datetime** | | [optional] **planned_offline_window_end** | **datetime** | | [optional] +**planned_offline_window_start** | **datetime** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/TokenBundle.md b/docs/TokenBundle.md index 5e7da949..446cc88b 100644 --- a/docs/TokenBundle.md +++ b/docs/TokenBundle.md @@ -4,15 +4,15 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | -**apple_product_id** | **str** | | -**steam_item_id** | **str** | | -**oculus_sku** | **str** | | -**google_product_id** | **str** | | [optional] **amount** | **int** | price of the bundle | +**apple_product_id** | **str** | | **description** | **str** | | -**tokens** | **int** | number of tokens received | +**google_product_id** | **str** | | [optional] +**id** | **str** | | **image_url** | **str** | direct url to image | +**oculus_sku** | **str** | | +**steam_item_id** | **str** | | +**tokens** | **int** | number of tokens received | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Transaction.md b/docs/Transaction.md index abb7e264..a2f8ca85 100644 --- a/docs/Transaction.md +++ b/docs/Transaction.md @@ -5,19 +5,19 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | -**user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] -**user_display_name** | **str** | | [optional] -**status** | [**TransactionStatus**](TransactionStatus.md) | | -**subscription** | [**Subscription**](Subscription.md) | | -**sandbox** | **bool** | | [default to False] -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**steam** | [**TransactionSteamInfo**](TransactionSteamInfo.md) | | [optional] **agreement** | [**TransactionAgreement**](TransactionAgreement.md) | | [optional] +**created_at** | **datetime** | | **error** | **str** | | +**id** | **str** | | **is_gift** | **bool** | | [optional] [default to False] **is_tokens** | **bool** | | [optional] [default to False] +**sandbox** | **bool** | | [default to False] +**status** | [**TransactionStatus**](TransactionStatus.md) | | +**steam** | [**TransactionSteamInfo**](TransactionSteamInfo.md) | | [optional] +**subscription** | [**Subscription**](Subscription.md) | | +**updated_at** | **datetime** | | +**user_display_name** | **str** | | [optional] +**user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/TransactionAgreement.md b/docs/TransactionAgreement.md index 3e952af7..46228a1c 100644 --- a/docs/TransactionAgreement.md +++ b/docs/TransactionAgreement.md @@ -5,24 +5,24 @@ Represents a single Transaction, which is likely between VRChat and Steam. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**agreement_id** | **str** | | -**item_id** | **int** | | **agreement** | **str** | | -**status** | **str** | This is NOT TransactionStatus, but whatever Steam return. | -**period** | **str** | | -**frequency** | **int** | | +**agreement_id** | **str** | | **billing_type** | **str** | | -**start_date** | **str** | | -**end_date** | **str** | | -**recurring_amt** | **float** | | **currency** | **str** | | -**time_created** | **str** | | -**next_payment** | **str** | | -**last_payment** | **str** | | +**end_date** | **str** | | +**failed_attempts** | **int** | | +**frequency** | **int** | | +**item_id** | **int** | | **last_amount** | **float** | | **last_amount_vat** | **float** | | +**last_payment** | **str** | | +**next_payment** | **str** | | **outstanding** | **int** | | -**failed_attempts** | **int** | | +**period** | **str** | | +**recurring_amt** | **float** | | +**start_date** | **str** | | +**status** | **str** | This is NOT TransactionStatus, but whatever Steam return. | +**time_created** | **str** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/TransactionSteamInfo.md b/docs/TransactionSteamInfo.md index 0facfdf8..766b712d 100644 --- a/docs/TransactionSteamInfo.md +++ b/docs/TransactionSteamInfo.md @@ -5,11 +5,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**wallet_info** | [**TransactionSteamWalletInfo**](TransactionSteamWalletInfo.md) | | -**steam_id** | **str** | Steam User ID | **order_id** | **str** | Steam Order ID | +**steam_id** | **str** | Steam User ID | **steam_url** | **str** | Empty | **trans_id** | **str** | Steam Transaction ID, NOT the same as VRChat TransactionID | +**wallet_info** | [**TransactionSteamWalletInfo**](TransactionSteamWalletInfo.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/TransactionSteamWalletInfo.md b/docs/TransactionSteamWalletInfo.md index 5bc682fa..cf7d2ce3 100644 --- a/docs/TransactionSteamWalletInfo.md +++ b/docs/TransactionSteamWalletInfo.md @@ -5,9 +5,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**state** | **str** | | **country** | **str** | | [default to 'US'] **currency** | **str** | | [default to 'USD'] +**state** | **str** | | **status** | **str** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/TransferGroupRequest.md b/docs/TransferGroupRequest.md new file mode 100644 index 00000000..664a519e --- /dev/null +++ b/docs/TransferGroupRequest.md @@ -0,0 +1,11 @@ +# TransferGroupRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**transfer_target_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/TwoFactorRecoveryCodes.md b/docs/TwoFactorRecoveryCodes.md index 512aa188..18c48db0 100644 --- a/docs/TwoFactorRecoveryCodes.md +++ b/docs/TwoFactorRecoveryCodes.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**requires_two_factor_auth** | **list[str]** | | [optional] **otp** | [**list[TwoFactorRecoveryCodesOtpInner]**](TwoFactorRecoveryCodesOtpInner.md) | | [optional] +**requires_two_factor_auth** | **list[str]** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UnityPackage.md b/docs/UnityPackage.md index 6b91fdd1..6232c8bb 100644 --- a/docs/UnityPackage.md +++ b/docs/UnityPackage.md @@ -5,22 +5,22 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | **asset_url** | **str** | | [optional] **asset_url_object** | **object** | | [optional] **asset_version** | **int** | | **created_at** | **datetime** | | [optional] +**id** | **str** | | +**impostor_url** | **str** | | [optional] **impostorizer_version** | **str** | | [optional] **performance_rating** | [**PerformanceRatings**](PerformanceRatings.md) | | [optional] -**platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | +**platform** | **str** | This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | **plugin_url** | **str** | | [optional] **plugin_url_object** | **object** | | [optional] +**scan_status** | **str** | | [optional] **unity_sort_number** | **int** | | [optional] **unity_version** | **str** | | [default to '5.3.4p1'] -**world_signature** | **str** | | [optional] -**impostor_url** | **str** | | [optional] -**scan_status** | **str** | | [optional] **variant** | **str** | | [optional] +**world_signature** | **str** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UpdateAssetReviewNotesRequest.md b/docs/UpdateAssetReviewNotesRequest.md new file mode 100644 index 00000000..da58df06 --- /dev/null +++ b/docs/UpdateAssetReviewNotesRequest.md @@ -0,0 +1,11 @@ +# UpdateAssetReviewNotesRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**review_notes** | **str** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/UpdateAvatarRequest.md b/docs/UpdateAvatarRequest.md index 52dd0f6d..09527850 100644 --- a/docs/UpdateAvatarRequest.md +++ b/docs/UpdateAvatarRequest.md @@ -5,16 +5,15 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **asset_url** | **str** | | [optional] -**id** | **str** | | [optional] -**name** | **str** | | [optional] **description** | **str** | | [optional] -**tags** | **list[str]** | | [optional] +**id** | **str** | | [optional] **image_url** | **str** | | [optional] +**name** | **str** | | [optional] **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | [optional] -**version** | **int** | | [optional] [default to 1] -**featured** | **bool** | Enabling featured tag requires Admin Credentials. | [optional] +**tags** | **list[str]** | | [optional] **unity_package_url** | **str** | | [optional] **unity_version** | **str** | | [optional] [default to '5.3.4p1'] +**version** | **int** | | [optional] [default to 1] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UpdateCalendarEventRequest.md b/docs/UpdateCalendarEventRequest.md index 88dcc77b..0da224c5 100644 --- a/docs/UpdateCalendarEventRequest.md +++ b/docs/UpdateCalendarEventRequest.md @@ -4,23 +4,23 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**title** | **str** | Event title | [optional] -**starts_at** | **datetime** | Time the vent starts at | [optional] +**category** | **str** | | [optional] +**close_instance_after_end_minutes** | **int** | | [optional] **description** | **str** | | [optional] **ends_at** | **datetime** | Time the vent starts at | [optional] -**category** | **str** | | [optional] -**tags** | **list[str]** | | [optional] -**is_draft** | **bool** | | [optional] +**featured** | **bool** | | [optional] +**guest_early_join_minutes** | **int** | | [optional] +**host_early_join_minutes** | **int** | | [optional] **image_id** | **str** | | [optional] -**role_ids** | **list[str]** | | [optional] +**is_draft** | **bool** | | [optional] +**languages** | **list[str]** | | [optional] **parent_id** | **str** | | [optional] **platforms** | **list[str]** | | [optional] -**languages** | **list[str]** | | [optional] +**role_ids** | **list[str]** | | [optional] **send_creation_notification** | **bool** | Send notification to group members. | [optional] [default to False] -**featured** | **bool** | | [optional] -**host_early_join_minutes** | **int** | | [optional] -**guest_early_join_minutes** | **int** | | [optional] -**close_instance_after_end_minutes** | **int** | | [optional] +**starts_at** | **datetime** | Time the vent starts at | [optional] +**tags** | **list[str]** | | [optional] +**title** | **str** | Event title | [optional] **uses_instance_overflow** | **bool** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UpdateFavoriteGroupRequest.md b/docs/UpdateFavoriteGroupRequest.md index d4824d64..8edd850b 100644 --- a/docs/UpdateFavoriteGroupRequest.md +++ b/docs/UpdateFavoriteGroupRequest.md @@ -5,8 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **display_name** | **str** | | [optional] -**visibility** | [**FavoriteGroupVisibility**](FavoriteGroupVisibility.md) | | [optional] **tags** | **list[str]** | Tags on FavoriteGroups are believed to do nothing. | [optional] +**visibility** | [**FavoriteGroupVisibility**](FavoriteGroupVisibility.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UpdateGroupGalleryRequest.md b/docs/UpdateGroupGalleryRequest.md index 100559ce..41e8fab8 100644 --- a/docs/UpdateGroupGalleryRequest.md +++ b/docs/UpdateGroupGalleryRequest.md @@ -4,13 +4,13 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**name** | **str** | Name of the gallery. | [optional] **description** | **str** | Description of the gallery. | [optional] **members_only** | **bool** | Whether the gallery is members only. | [optional] [default to False] -**role_ids_to_view** | **list[str]** | | [optional] -**role_ids_to_submit** | **list[str]** | | [optional] +**name** | **str** | Name of the gallery. | [optional] **role_ids_to_auto_approve** | **list[str]** | | [optional] **role_ids_to_manage** | **list[str]** | | [optional] +**role_ids_to_submit** | **list[str]** | | [optional] +**role_ids_to_view** | **list[str]** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UpdateGroupMemberRequest.md b/docs/UpdateGroupMemberRequest.md index c482b9db..3723f832 100644 --- a/docs/UpdateGroupMemberRequest.md +++ b/docs/UpdateGroupMemberRequest.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**visibility** | [**GroupUserVisibility**](GroupUserVisibility.md) | | [optional] **is_subscribed_to_announcements** | **bool** | | [optional] **is_subscribed_to_event_announcements** | **bool** | | [optional] **manager_notes** | **str** | | [optional] +**visibility** | [**GroupUserVisibility**](GroupUserVisibility.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UpdateGroupRequest.md b/docs/UpdateGroupRequest.md index ab2c9864..794d74b8 100644 --- a/docs/UpdateGroupRequest.md +++ b/docs/UpdateGroupRequest.md @@ -4,15 +4,15 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**name** | **str** | | [optional] -**short_code** | **str** | | [optional] +**banner_id** | **str** | | [optional] **description** | **str** | | [optional] -**join_state** | [**GroupJoinState**](GroupJoinState.md) | | [optional] **icon_id** | **str** | | [optional] -**banner_id** | **str** | | [optional] +**join_state** | [**GroupJoinState**](GroupJoinState.md) | | [optional] **languages** | **list[str]** | 3 letter language code | [optional] **links** | **list[str]** | | [optional] +**name** | **str** | | [optional] **rules** | **str** | | [optional] +**short_code** | **str** | | [optional] **tags** | **list[str]** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UpdateGroupRoleRequest.md b/docs/UpdateGroupRoleRequest.md index 61d48489..49ee802f 100644 --- a/docs/UpdateGroupRoleRequest.md +++ b/docs/UpdateGroupRoleRequest.md @@ -4,11 +4,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**name** | **str** | | [optional] **description** | **str** | | [optional] **is_self_assignable** | **bool** | | [optional] [default to False] -**permissions** | [**list[GroupPermissions]**](GroupPermissions.md) | | [optional] +**name** | **str** | | [optional] **order** | **int** | | [optional] +**permissions** | [**list[GroupPermissions]**](GroupPermissions.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UpdateInventoryItemRequest.md b/docs/UpdateInventoryItemRequest.md index 8fa03921..74207d1f 100644 --- a/docs/UpdateInventoryItemRequest.md +++ b/docs/UpdateInventoryItemRequest.md @@ -5,6 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **is_archived** | **bool** | | [optional] +**is_seen** | **bool** | | [optional] +**user_attributes** | [**InventoryUserAttributes**](InventoryUserAttributes.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UpdatePermissionRequest.md b/docs/UpdatePermissionRequest.md deleted file mode 100644 index a41f35d0..00000000 --- a/docs/UpdatePermissionRequest.md +++ /dev/null @@ -1,12 +0,0 @@ -# UpdatePermissionRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | | [optional] -**owner_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/UpdatePropRequest.md b/docs/UpdatePropRequest.md new file mode 100644 index 00000000..2c01f4af --- /dev/null +++ b/docs/UpdatePropRequest.md @@ -0,0 +1,21 @@ +# UpdatePropRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**asset_url** | **str** | | [optional] +**asset_version** | **int** | | [optional] +**description** | **str** | | [optional] +**image_url** | **str** | | [optional] +**name** | **str** | | [optional] +**platform** | **str** | This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | [optional] +**prop_signature** | **str** | | [optional] +**spawn_type** | **int** | How a prop is summoned and interacted with. 0: the prop fixed to some surface in the world 1: the prop is a pickup and may be held by users 2: ??? | [optional] [default to 1] +**tags** | **list[str]** | | [optional] +**unity_version** | **str** | | [optional] +**world_placement_mask** | **int** | Bitmask for restrictions on what world surfaces a prop may be summoned. 0: no restrictions 1: floors 2: walls 4: ceilings | [optional] [default to 1] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/UpdateTiliaTOSRequest.md b/docs/UpdateTiliaTOSRequest.md new file mode 100644 index 00000000..3badb64c --- /dev/null +++ b/docs/UpdateTiliaTOSRequest.md @@ -0,0 +1,11 @@ +# UpdateTiliaTOSRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**accepted** | **bool** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/UpdateUserNoteRequest.md b/docs/UpdateUserNoteRequest.md index ac03b22a..a19eeb64 100644 --- a/docs/UpdateUserNoteRequest.md +++ b/docs/UpdateUserNoteRequest.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**target_user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | **note** | **str** | | +**target_user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UpdateUserRequest.md b/docs/UpdateUserRequest.md index d2d8f702..6fcc28ef 100644 --- a/docs/UpdateUserRequest.md +++ b/docs/UpdateUserRequest.md @@ -4,23 +4,24 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**email** | **str** | | [optional] -**unsubscribe** | **bool** | | [optional] -**birthday** | **date** | | [optional] **accepted_tos_version** | **int** | | [optional] -**tags** | **list[str]** | | [optional] -**status** | [**UserStatus**](UserStatus.md) | | [optional] -**status_description** | **str** | | [optional] **bio** | **str** | | [optional] **bio_links** | **list[str]** | | [optional] -**pronouns** | **str** | | [optional] -**is_booping_enabled** | **bool** | | [optional] -**user_icon** | **str** | MUST be a valid VRChat /file/ url. | [optional] -**content_filters** | **list[str]** | These tags begin with `content_` and control content gating | [optional] +**birthday** | **date** | | [optional] +**content_filters** | [**list[ContentFilter]**](ContentFilter.md) | These tags begin with `content_` and control content gating | [optional] +**current_password** | **str** | | [optional] **display_name** | **str** | MUST specify currentPassword as well to change display name | [optional] -**revert_display_name** | **bool** | MUST specify currentPassword as well to revert display name | [optional] +**email** | **str** | | [optional] +**has_shared_connections_opt_out** | **bool** | Opt out of the Mutuals feature | [optional] +**is_booping_enabled** | **bool** | | [optional] **password** | **str** | MUST specify currentPassword as well to change password | [optional] -**current_password** | **str** | | [optional] +**pronouns** | **str** | | [optional] +**revert_display_name** | **bool** | MUST specify currentPassword as well to revert display name | [optional] +**status** | [**UserStatus**](UserStatus.md) | | [optional] +**status_description** | **str** | | [optional] +**tags** | **list[str]** | | [optional] +**unsubscribe** | **bool** | | [optional] +**user_icon** | **str** | MUST be a valid VRChat /file/ url. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UpdateWorldRequest.md b/docs/UpdateWorldRequest.md index 968fed3a..ef6ec1af 100644 --- a/docs/UpdateWorldRequest.md +++ b/docs/UpdateWorldRequest.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes **description** | **str** | | [optional] **image_url** | **str** | | [optional] **name** | **str** | | [optional] -**platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | [optional] +**platform** | **str** | This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | [optional] **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | [optional] **tags** | **list[str]** | | [optional] **unity_package_url** | **str** | | [optional] diff --git a/docs/User.md b/docs/User.md index b67cebcf..3736e98c 100644 --- a/docs/User.md +++ b/docs/User.md @@ -11,8 +11,8 @@ Name | Type | Description | Notes **bio** | **str** | | **bio_links** | **list[str]** | | **current_avatar_image_url** | **str** | When profilePicOverride is not empty, use it instead. | -**current_avatar_thumbnail_image_url** | **str** | When profilePicOverride is not empty, use it instead. | **current_avatar_tags** | **list[str]** | | +**current_avatar_thumbnail_image_url** | **str** | When profilePicOverride is not empty, use it instead. | **date_joined** | **date** | | **developer_type** | [**DeveloperType**](DeveloperType.md) | | **display_name** | **str** | A users visual display name. This is what shows up in-game, and can different from their `username`. Changing display name is restricted to a cooldown period. | @@ -24,7 +24,7 @@ Name | Type | Description | Notes **last_activity** | **str** | Either a date-time or empty string. | **last_login** | **str** | Either a date-time or empty string. | **last_mobile** | **str** | | [optional] -**last_platform** | **str** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | +**last_platform** | **str** | This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | **location** | **str** | Represents a unique location, consisting of a world identifier and an instance identifier, or \"offline\" if the user is not on your friends list. | [optional] **note** | **str** | | [optional] **platform** | **str** | | [optional] diff --git a/docs/UserCreditsEligible.md b/docs/UserCreditsEligible.md new file mode 100644 index 00000000..b6e57d6b --- /dev/null +++ b/docs/UserCreditsEligible.md @@ -0,0 +1,12 @@ +# UserCreditsEligible + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**eligible** | **bool** | | +**reason** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/UserExists.md b/docs/UserExists.md index 666ea9ef..892c674e 100644 --- a/docs/UserExists.md +++ b/docs/UserExists.md @@ -5,8 +5,8 @@ Status object representing if a queried user by username or userId exists or not ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**user_exists** | **bool** | Status if a user exist with that username or userId. | [default to False] **name_ok** | **bool** | Is the username valid? | [optional] [default to False] +**user_exists** | **bool** | Status if a user exist with that username or userId. | [default to False] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserNoteTargetUser.md b/docs/UserNoteTargetUser.md index dbe70542..2e82d673 100644 --- a/docs/UserNoteTargetUser.md +++ b/docs/UserNoteTargetUser.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**id** | **str** | | [optional] **current_avatar_tags** | **list[str]** | | [optional] **current_avatar_thumbnail_image_url** | **str** | When profilePicOverride is not empty, use it instead. | [optional] **display_name** | **str** | | [optional] -**id** | **str** | | [optional] **profile_pic_override** | **str** | | [optional] **user_icon** | **str** | | [optional] diff --git a/docs/UserSubscription.md b/docs/UserSubscription.md index 6c43589e..d454f010 100644 --- a/docs/UserSubscription.md +++ b/docs/UserSubscription.md @@ -5,23 +5,23 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | -**transaction_id** | **str** | | -**store** | **str** | Which \"Store\" it came from. Right now only Stores are \"Steam\" and \"Admin\". | -**steam_item_id** | **str** | | [optional] +**active** | **bool** | | [default to True] **amount** | **float** | | +**created_at** | **datetime** | | **description** | **str** | | +**expires** | **datetime** | | +**id** | **str** | | +**is_bulk_gift** | **bool** | | [default to False] +**is_gift** | **bool** | | [default to False] +**license_groups** | **list[str]** | | **period** | [**SubscriptionPeriod**](SubscriptionPeriod.md) | | -**tier** | **int** | | -**active** | **bool** | | [default to True] -**status** | [**TransactionStatus**](TransactionStatus.md) | | **starts** | **str** | | [optional] -**expires** | **datetime** | | -**created_at** | **datetime** | | +**status** | [**TransactionStatus**](TransactionStatus.md) | | +**steam_item_id** | **str** | | [optional] +**store** | **str** | Which \"Store\" it came from. Right now only Stores are \"Steam\" and \"Admin\". | +**tier** | **int** | | +**transaction_id** | **str** | | **updated_at** | **datetime** | | -**license_groups** | **list[str]** | | -**is_gift** | **bool** | | [default to False] -**is_bulk_gift** | **bool** | | [default to False] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsersApi.md b/docs/UsersApi.md index f2500abd..8e1b6b05 100644 --- a/docs/UsersApi.md +++ b/docs/UsersApi.md @@ -6,18 +6,25 @@ Method | HTTP request | Description ------------- | ------------- | ------------- [**add_tags**](UsersApi.md#add_tags) | **POST** /users/{userId}/addTags | Add User Tags [**check_user_persistence_exists**](UsersApi.md#check_user_persistence_exists) | **GET** /users/{userId}/{worldId}/persist/exists | Check User Persistence Exists +[**delete_all_user_persistence_data**](UsersApi.md#delete_all_user_persistence_data) | **DELETE** /users/{userId}/persist | Delete All User Persistence Data [**delete_user_persistence**](UsersApi.md#delete_user_persistence) | **DELETE** /users/{userId}/{worldId}/persist | Delete User Persistence +[**get_blocked_groups**](UsersApi.md#get_blocked_groups) | **GET** /users/{userId}/groups/userblocked | Get User Group Blocks +[**get_invited_groups**](UsersApi.md#get_invited_groups) | **GET** /users/{userId}/groups/invited | Get User Group Invited +[**get_mutual_friends**](UsersApi.md#get_mutual_friends) | **GET** /users/{userId}/mutuals/friends | Get User Mutual Friends +[**get_mutual_groups**](UsersApi.md#get_mutual_groups) | **GET** /users/{userId}/mutuals/groups | Get User Mutual Groups +[**get_mutuals**](UsersApi.md#get_mutuals) | **GET** /users/{userId}/mutuals | Get User Mutuals [**get_user**](UsersApi.md#get_user) | **GET** /users/{userId} | Get User by ID +[**get_user_all_group_permissions**](UsersApi.md#get_user_all_group_permissions) | **GET** /users/{userId}/groups/permissions | Get user's permissions for all joined groups. [**get_user_by_name**](UsersApi.md#get_user_by_name) | **GET** /users/{username}/name | Get User by Username [**get_user_feedback**](UsersApi.md#get_user_feedback) | **GET** /users/{userId}/feedback | Get User Feedback [**get_user_group_instances**](UsersApi.md#get_user_group_instances) | **GET** /users/{userId}/instances/groups | Get User Group Instances +[**get_user_group_instances_for_group**](UsersApi.md#get_user_group_instances_for_group) | **GET** /users/{userId}/instances/groups/{groupId} | Get User Group Instances for a specific Group [**get_user_group_requests**](UsersApi.md#get_user_group_requests) | **GET** /users/{userId}/groups/requested | Get User Group Requests [**get_user_groups**](UsersApi.md#get_user_groups) | **GET** /users/{userId}/groups | Get User Groups [**get_user_note**](UsersApi.md#get_user_note) | **GET** /userNotes/{userNoteId} | Get User Note [**get_user_notes**](UsersApi.md#get_user_notes) | **GET** /userNotes | Get User Notes [**get_user_represented_group**](UsersApi.md#get_user_represented_group) | **GET** /users/{userId}/groups/represented | Get user's current represented group [**remove_tags**](UsersApi.md#remove_tags) | **POST** /users/{userId}/removeTags | Remove User Tags -[**search_active_users**](UsersApi.md#search_active_users) | **GET** /users/active | Search Active Users [**search_users**](UsersApi.md#search_users) | **GET** /users | Search All Users [**update_badge**](UsersApi.md#update_badge) | **PUT** /users/{userId}/badges/{badgeId} | Update User Badge [**update_user**](UsersApi.md#update_user) | **PUT** /users/{userId} | Update User Info @@ -177,12 +184,465 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **delete_all_user_persistence_data** +> delete_all_user_persistence_data(user_id) + +Delete All User Persistence Data + +Deletes all of the user's persistence data for every world. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.UsersApi(api_client) + user_id = 'user_id_example' # str | Must be a valid user ID. + + try: + # Delete All User Persistence Data + api_instance.delete_all_user_persistence_data(user_id) + except ApiException as e: + print("Exception when calling UsersApi->delete_all_user_persistence_data: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | + +### Return type + +void (empty response body) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | The user's persistence data for all worlds is deleted. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **delete_user_persistence** > delete_user_persistence(user_id, world_id) -Delete User Persistence +Delete User Persistence + +Deletes the user's persistence data for a given world + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.UsersApi(api_client) + user_id = 'user_id_example' # str | Must be a valid user ID. +world_id = 'world_id_example' # str | Must be a valid world ID. + + try: + # Delete User Persistence + api_instance.delete_user_persistence(user_id, world_id) + except ApiException as e: + print("Exception when calling UsersApi->delete_user_persistence: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | + **world_id** | **str**| Must be a valid world ID. | + +### Return type + +void (empty response body) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | The user's persistence data for the given world is deleted. | - | +**401** | Error response due to missing auth cookie. | - | +**404** | The user does not have persistence data for the given world. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_blocked_groups** +> list[Group] get_blocked_groups(user_id) + +Get User Group Blocks + +Returns a list of Groups the user has blocked. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.UsersApi(api_client) + user_id = 'user_id_example' # str | Must be a valid user ID. + + try: + # Get User Group Blocks + api_response = api_instance.get_blocked_groups(user_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling UsersApi->get_blocked_groups: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | + +### Return type + +[**list[Group]**](Group.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of Group objects. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_invited_groups** +> list[Group] get_invited_groups(user_id) + +Get User Group Invited + +Returns a list of Groups the user has been invited to. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.UsersApi(api_client) + user_id = 'user_id_example' # str | Must be a valid user ID. + + try: + # Get User Group Invited + api_response = api_instance.get_invited_groups(user_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling UsersApi->get_invited_groups: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | + +### Return type + +[**list[Group]**](Group.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of Group objects. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_mutual_friends** +> list[MutualFriend] get_mutual_friends(user_id, n=n, offset=offset) + +Get User Mutual Friends + +Gets a list of mutual friends between the logged in user and the specified user + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.UsersApi(api_client) + user_id = 'user_id_example' # str | Must be a valid user ID. +n = 60 # int | The number of objects to return. (optional) (default to 60) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) + + try: + # Get User Mutual Friends + api_response = api_instance.get_mutual_friends(user_id, n=n, offset=offset) + pprint(api_response) + except ApiException as e: + print("Exception when calling UsersApi->get_mutual_friends: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + +### Return type + +[**list[MutualFriend]**](MutualFriend.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of MutualFriend objects. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_mutual_groups** +> list[LimitedUserGroups] get_mutual_groups(user_id, n=n, offset=offset) + +Get User Mutual Groups + +Gets a list of mutual groups between the logged in user and the specified user + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.UsersApi(api_client) + user_id = 'user_id_example' # str | Must be a valid user ID. +n = 60 # int | The number of objects to return. (optional) (default to 60) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) + + try: + # Get User Mutual Groups + api_response = api_instance.get_mutual_groups(user_id, n=n, offset=offset) + pprint(api_response) + except ApiException as e: + print("Exception when calling UsersApi->get_mutual_groups: %s\n" % e) +``` -Deletes the user's persistence data for a given world +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + +### Return type + +[**list[LimitedUserGroups]**](LimitedUserGroups.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of LimitedUserGroups objects. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_mutuals** +> Mutuals get_mutuals(user_id) + +Get User Mutuals + +Gets the counts of mutuals between the logged in user and the specified user ### Example @@ -215,13 +675,13 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.UsersApi(api_client) user_id = 'user_id_example' # str | Must be a valid user ID. -world_id = 'world_id_example' # str | Must be a valid world ID. try: - # Delete User Persistence - api_instance.delete_user_persistence(user_id, world_id) + # Get User Mutuals + api_response = api_instance.get_mutuals(user_id) + pprint(api_response) except ApiException as e: - print("Exception when calling UsersApi->delete_user_persistence: %s\n" % e) + print("Exception when calling UsersApi->get_mutuals: %s\n" % e) ``` ### Parameters @@ -229,11 +689,10 @@ world_id = 'world_id_example' # str | Must be a valid world ID. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **user_id** | **str**| Must be a valid user ID. | - **world_id** | **str**| Must be a valid world ID. | ### Return type -void (empty response body) +[**Mutuals**](Mutuals.md) ### Authorization @@ -247,9 +706,8 @@ void (empty response body) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | The user's persistence data for the given world is deleted. | - | +**200** | Returns a single Mutuals object. | - | **401** | Error response due to missing auth cookie. | - | -**404** | The user does not have persistence data for the given world. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -327,6 +785,82 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_user_all_group_permissions** +> dict(str, list[GroupPermissions]) get_user_all_group_permissions(user_id, group_ids=group_ids) + +Get user's permissions for all joined groups. + +Returns a mapping of GroupIDs to arrays of GroupPermissions. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.UsersApi(api_client) + user_id = 'user_id_example' # str | Must be a valid user ID. +group_ids = 'grp_00000000-0000-0000-0000-000000000000,grp_11111111-1111-1111-1111-111111111111' # str | Comma-separated (no spaces!) list of GroupIDs to retrieve permissions for. (optional) + + try: + # Get user's permissions for all joined groups. + api_response = api_instance.get_user_all_group_permissions(user_id, group_ids=group_ids) + pprint(api_response) + except ApiException as e: + print("Exception when calling UsersApi->get_user_all_group_permissions: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | + **group_ids** | **str**| Comma-separated (no spaces!) list of GroupIDs to retrieve permissions for. | [optional] + +### Return type + +**dict(str, list[GroupPermissions])** + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | The group permissions the user has for every joined group. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_user_by_name** > User get_user_by_name(username) @@ -556,6 +1090,83 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_user_group_instances_for_group** +> GetUserGroupInstances200Response get_user_group_instances_for_group(user_id, group_id) + +Get User Group Instances for a specific Group + +Returns a list of a group's instances for a user + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.UsersApi(api_client) + user_id = 'user_id_example' # str | Must be a valid user ID. +group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + + try: + # Get User Group Instances for a specific Group + api_response = api_instance.get_user_group_instances_for_group(user_id, group_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling UsersApi->get_user_group_instances_for_group: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | + **group_id** | **str**| Must be a valid group ID. | + +### Return type + +[**GetUserGroupInstances200Response**](GetUserGroupInstances200Response.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of Instance objects with a fetched at time. | - | +**401** | Error response due to missing auth cookie. | - | +**403** | Error response when trying get group instances of another user. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_user_group_requests** > list[Group] get_user_group_requests(user_id) @@ -1005,89 +1616,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **search_active_users** -> list[LimitedUserFriend] search_active_users(search, developer_type=developer_type, offset=offset, n=n) - -Search Active Users - -**REQUIRES ADMIN CREDENTIALS**. Search and list any Active users by text query. - -### Example - -* Api Key Authentication (authCookie): -```python -from __future__ import print_function -import time -import vrchatapi -from vrchatapi.rest import ApiException -from pprint import pprint -# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 -# See configuration.py for a list of all supported configuration parameters. -configuration = vrchatapi.Configuration( - host = "https://api.vrchat.cloud/api/1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' - -# Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = vrchatapi.UsersApi(api_client) - search = 'search_example' # str | Username to search for -developer_type = 'developer_type_example' # str | Active user by developer type, none for normal users and internal for moderators (optional) -offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) -n = 60 # int | The number of objects to return. (optional) (default to 60) - - try: - # Search Active Users - api_response = api_instance.search_active_users(search, developer_type=developer_type, offset=offset, n=n) - pprint(api_response) - except ApiException as e: - print("Exception when calling UsersApi->search_active_users: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **search** | **str**| Username to search for | - **developer_type** | **str**| Active user by developer type, none for normal users and internal for moderators | [optional] - **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] - **n** | **int**| The number of objects to return. | [optional] [default to 60] - -### Return type - -[**list[LimitedUserFriend]**](LimitedUserFriend.md) - -### Authorization - -[authCookie](../README.md#authCookie) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**401** | Error response due to missing auth cookie. | - | -**403** | Error response due to missing Administrator credentials. | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - # **search_users** -> list[LimitedUserSearch] search_users(search=search, developer_type=developer_type, n=n, offset=offset) +> list[LimitedUserSearch] search_users(search=search, developer_type=developer_type, n=n, offset=offset, is_internal_variant=is_internal_variant) Search All Users @@ -1127,10 +1657,11 @@ with vrchatapi.ApiClient(configuration) as api_client: developer_type = 'developer_type_example' # str | Active user by developer type, none for normal users and internal for moderators (optional) n = 60 # int | The number of objects to return. (optional) (default to 60) offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) +is_internal_variant = false # bool | Not quite sure what this actually does (exists on the website but doesn't seem to be used) (optional) try: # Search All Users - api_response = api_instance.search_users(search=search, developer_type=developer_type, n=n, offset=offset) + api_response = api_instance.search_users(search=search, developer_type=developer_type, n=n, offset=offset, is_internal_variant=is_internal_variant) pprint(api_response) except ApiException as e: print("Exception when calling UsersApi->search_users: %s\n" % e) @@ -1144,6 +1675,7 @@ Name | Type | Description | Notes **developer_type** | **str**| Active user by developer type, none for normal users and internal for moderators | [optional] **n** | **int**| The number of objects to return. | [optional] [default to 60] **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + **is_internal_variant** | **bool**| Not quite sure what this actually does (exists on the website but doesn't seem to be used) | [optional] ### Return type diff --git a/docs/Verify2FAResult.md b/docs/Verify2FAResult.md index 70967706..958f1456 100644 --- a/docs/Verify2FAResult.md +++ b/docs/Verify2FAResult.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**verified** | **bool** | | **enabled** | **bool** | | [optional] [default to True] +**verified** | **bool** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/World.md b/docs/World.md index c35439fd..2ba27420 100644 --- a/docs/World.md +++ b/docs/World.md @@ -8,7 +8,6 @@ Name | Type | Description | Notes **author_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | **author_name** | **str** | | **capacity** | **int** | | -**recommended_capacity** | **int** | | **created_at** | **datetime** | | **default_content_settings** | [**InstanceContentSettings**](InstanceContentSettings.md) | | [optional] **description** | **str** | | @@ -28,16 +27,17 @@ Name | Type | Description | Notes **private_occupants** | **int** | Will always be `0` when unauthenticated. | [optional] [default to 0] **public_occupants** | **int** | Will always be `0` when unauthenticated. | [optional] [default to 0] **publication_date** | **str** | | +**recommended_capacity** | **int** | | **release_status** | [**ReleaseStatus**](ReleaseStatus.md) | | **store_id** | **str** | | [optional] **tags** | **list[str]** | | **thumbnail_image_url** | **str** | | +**udon_products** | **list[str]** | | [optional] **unity_packages** | [**list[UnityPackage]**](UnityPackage.md) | Empty if unauthenticated. | [optional] **updated_at** | **datetime** | | **url_list** | **list[str]** | | [optional] **version** | **int** | | [default to 0] **visits** | **int** | | [default to 0] -**udon_products** | **list[str]** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WorldsApi.md b/docs/WorldsApi.md index b2461ba7..413fd245 100644 --- a/docs/WorldsApi.md +++ b/docs/WorldsApi.md @@ -6,6 +6,7 @@ Method | HTTP request | Description ------------- | ------------- | ------------- [**check_user_persistence_exists**](WorldsApi.md#check_user_persistence_exists) | **GET** /users/{userId}/{worldId}/persist/exists | Check User Persistence Exists [**create_world**](WorldsApi.md#create_world) | **POST** /worlds | Create World +[**delete_all_user_persistence_data**](WorldsApi.md#delete_all_user_persistence_data) | **DELETE** /users/{userId}/persist | Delete All User Persistence Data [**delete_user_persistence**](WorldsApi.md#delete_user_persistence) | **DELETE** /users/{userId}/{worldId}/persist | Delete User Persistence [**delete_world**](WorldsApi.md#delete_world) | **DELETE** /worlds/{worldId} | Delete World [**get_active_worlds**](WorldsApi.md#get_active_worlds) | **GET** /worlds/active | List Active Worlds @@ -161,6 +162,79 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **delete_all_user_persistence_data** +> delete_all_user_persistence_data(user_id) + +Delete All User Persistence Data + +Deletes all of the user's persistence data for every world. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.WorldsApi(api_client) + user_id = 'user_id_example' # str | Must be a valid user ID. + + try: + # Delete All User Persistence Data + api_instance.delete_all_user_persistence_data(user_id) + except ApiException as e: + print("Exception when calling WorldsApi->delete_all_user_persistence_data: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | + +### Return type + +void (empty response body) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | The user's persistence data for all worlds is deleted. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **delete_user_persistence** > delete_user_persistence(user_id, world_id) @@ -312,7 +386,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_active_worlds** -> list[LimitedWorld] get_active_worlds(featured=featured, sort=sort, n=n, order=order, offset=offset, search=search, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform) +> list[LimitedWorld] get_active_worlds(featured=featured, sort=sort, n=n, order=order, offset=offset, search=search, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform, noplatform=noplatform) List Active Worlds @@ -360,10 +434,11 @@ release_status = vrchatapi.ReleaseStatus() # ReleaseStatus | Filter by ReleaseSt max_unity_version = 'max_unity_version_example' # str | The maximum Unity version supported by the asset. (optional) min_unity_version = 'min_unity_version_example' # str | The minimum Unity version supported by the asset. (optional) platform = 'platform_example' # str | The platform the asset supports. (optional) +noplatform = 'noplatform_example' # str | The platform the asset does not support. (optional) try: # List Active Worlds - api_response = api_instance.get_active_worlds(featured=featured, sort=sort, n=n, order=order, offset=offset, search=search, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform) + api_response = api_instance.get_active_worlds(featured=featured, sort=sort, n=n, order=order, offset=offset, search=search, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform, noplatform=noplatform) pprint(api_response) except ApiException as e: print("Exception when calling WorldsApi->get_active_worlds: %s\n" % e) @@ -385,6 +460,7 @@ Name | Type | Description | Notes **max_unity_version** | **str**| The maximum Unity version supported by the asset. | [optional] **min_unity_version** | **str**| The minimum Unity version supported by the asset. | [optional] **platform** | **str**| The platform the asset supports. | [optional] + **noplatform** | **str**| The platform the asset does not support. | [optional] ### Return type @@ -968,7 +1044,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **search_worlds** -> list[LimitedWorld] search_worlds(featured=featured, sort=sort, user=user, user_id=user_id, n=n, order=order, offset=offset, search=search, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform, fuzzy=fuzzy) +> list[LimitedWorld] search_worlds(featured=featured, sort=sort, user=user, user_id=user_id, n=n, order=order, offset=offset, search=search, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform, noplatform=noplatform, fuzzy=fuzzy, avatar_specific=avatar_specific) Search All Worlds @@ -1018,11 +1094,13 @@ release_status = vrchatapi.ReleaseStatus() # ReleaseStatus | Filter by ReleaseSt max_unity_version = 'max_unity_version_example' # str | The maximum Unity version supported by the asset. (optional) min_unity_version = 'min_unity_version_example' # str | The minimum Unity version supported by the asset. (optional) platform = 'platform_example' # str | The platform the asset supports. (optional) +noplatform = 'noplatform_example' # str | The platform the asset does not support. (optional) fuzzy = True # bool | (optional) +avatar_specific = True # bool | Only search for avatar worlds. (optional) try: # Search All Worlds - api_response = api_instance.search_worlds(featured=featured, sort=sort, user=user, user_id=user_id, n=n, order=order, offset=offset, search=search, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform, fuzzy=fuzzy) + api_response = api_instance.search_worlds(featured=featured, sort=sort, user=user, user_id=user_id, n=n, order=order, offset=offset, search=search, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform, noplatform=noplatform, fuzzy=fuzzy, avatar_specific=avatar_specific) pprint(api_response) except ApiException as e: print("Exception when calling WorldsApi->search_worlds: %s\n" % e) @@ -1046,7 +1124,9 @@ Name | Type | Description | Notes **max_unity_version** | **str**| The maximum Unity version supported by the asset. | [optional] **min_unity_version** | **str**| The minimum Unity version supported by the asset. | [optional] **platform** | **str**| The platform the asset supports. | [optional] + **noplatform** | **str**| The platform the asset does not support. | [optional] **fuzzy** | **bool**| | [optional] + **avatar_specific** | **bool**| Only search for avatar worlds. | [optional] ### Return type diff --git a/package-lock.json b/package-lock.json index daad75fd..039c615e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,7 +5,16 @@ "packages": { "": { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.25.0" + "@openapitools/openapi-generator-cli": "^2.26.0" + } + }, + "node_modules/@borewit/text-codec": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/@borewit/text-codec/-/text-codec-0.1.1.tgz", + "integrity": "sha512-5L/uBxmjaCIX5h8Z+uu+kA9BQLkc/Wl06UGR5ajNRxu+/XjonB5i8JpgFMrPj3LXTCPA0pv8yxUvbUi+QthGGA==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Borewit" } }, "node_modules/@inquirer/external-editor": { @@ -47,68 +56,6 @@ "node": "20 || >=22" } }, - "node_modules/@isaacs/cliui": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", - "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", - "dependencies": { - "string-width": "^5.1.2", - "string-width-cjs": "npm:string-width@^4.2.0", - "strip-ansi": "^7.0.1", - "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", - "wrap-ansi": "^8.1.0", - "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/@isaacs/cliui/node_modules/ansi-regex": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", - "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" - } - }, - "node_modules/@isaacs/cliui/node_modules/emoji-regex": { - "version": "9.2.2", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", - "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" - }, - "node_modules/@isaacs/cliui/node_modules/string-width": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", - "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", - "dependencies": { - "eastasianwidth": "^0.2.0", - "emoji-regex": "^9.2.2", - "strip-ansi": "^7.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@isaacs/cliui/node_modules/strip-ansi": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", - "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", - "dependencies": { - "ansi-regex": "^6.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" - } - }, "node_modules/@lukeed/csprng": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@lukeed/csprng/-/csprng-1.1.0.tgz", @@ -128,13 +75,13 @@ } }, "node_modules/@nestjs/common": { - "version": "11.1.6", - "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-11.1.6.tgz", - "integrity": "sha512-krKwLLcFmeuKDqngG2N/RuZHCs2ycsKcxWIDgcm7i1lf3sQ0iG03ci+DsP/r3FcT/eJDFsIHnKtNta2LIi7PzQ==", + "version": "11.1.10", + "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-11.1.10.tgz", + "integrity": "sha512-NoBzJFtq1bzHGia5Q5NO1pJNpx530nupbEu/auCWOFCGL5y8Zo8kiG28EXTCDfIhQgregEtn1Cs6H8WSLUC8kg==", "dependencies": { - "file-type": "21.0.0", + "file-type": "21.1.1", "iterare": "1.2.1", - "load-esm": "1.0.2", + "load-esm": "1.0.3", "tslib": "2.8.1", "uid": "2.0.2" }, @@ -158,15 +105,15 @@ } }, "node_modules/@nestjs/core": { - "version": "11.1.6", - "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-11.1.6.tgz", - "integrity": "sha512-siWX7UDgErisW18VTeJA+x+/tpNZrJewjTBsRPF3JVxuWRuAB1kRoiJcxHgln8Lb5UY9NdvklITR84DUEXD0Cg==", + "version": "11.1.10", + "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-11.1.10.tgz", + "integrity": "sha512-LYpaacSb8X9dcRpeZxA7Mvi5Aozv11s6028ZNoVKY2j/fyThLd+xrkksg3u+sw7F8mipFaxS/LuVpoHQ/MrACg==", "hasInstallScript": true, "dependencies": { "@nuxt/opencollective": "0.4.1", "fast-safe-stringify": "2.1.1", "iterare": "1.2.1", - "path-to-regexp": "8.2.0", + "path-to-regexp": "8.3.0", "tslib": "2.8.1", "uid": "2.0.2" }, @@ -235,23 +182,23 @@ "integrity": "sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw==" }, "node_modules/@openapitools/openapi-generator-cli": { - "version": "2.25.0", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.25.0.tgz", - "integrity": "sha512-u/3VAbF8c68AXBgm8nBAdDPLPW/KgrtHz28yemf92zNB0iDZFGdRUX2W80Lzf177g6ctYLz0GIPHCOU0LTJegQ==", + "version": "2.26.0", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.26.0.tgz", + "integrity": "sha512-+3eV0dkmyrTXQW2ZU1hHuJD4x+rnH/LOQimNYMY1sT2A04eseZvLtvcWK2BQ5c/kujcCX6RC3WJHeq+2VyTG7A==", "hasInstallScript": true, "dependencies": { "@nestjs/axios": "4.0.1", - "@nestjs/common": "11.1.6", - "@nestjs/core": "11.1.6", + "@nestjs/common": "11.1.10", + "@nestjs/core": "11.1.10", "@nuxtjs/opencollective": "0.3.2", - "axios": "1.12.2", + "axios": "1.13.2", "chalk": "4.1.2", "commander": "8.3.0", "compare-versions": "6.1.1", "concurrently": "9.2.1", "console.table": "0.10.0", - "fs-extra": "11.3.2", - "glob": "11.0.3", + "fs-extra": "11.3.3", + "glob": "13.0.0", "inquirer": "8.2.7", "proxy-agent": "6.5.0", "reflect-metadata": "0.2.2", @@ -270,13 +217,12 @@ } }, "node_modules/@tokenizer/inflate": { - "version": "0.2.7", - "resolved": "https://registry.npmjs.org/@tokenizer/inflate/-/inflate-0.2.7.tgz", - "integrity": "sha512-MADQgmZT1eKjp06jpI2yozxaU9uVs4GzzgSL+uEq7bVcJ9V1ZXQkeGNql1fsSI0gMy1vhvNTNbUqrx+pZfJVmg==", + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@tokenizer/inflate/-/inflate-0.4.1.tgz", + "integrity": "sha512-2mAv+8pkG6GIZiF1kNg1jAjh27IDxEPKwdGul3snfztFerfPGI1LjDezZp3i7BElXompqEtPmoPx6c2wgtWsOA==", "dependencies": { - "debug": "^4.4.0", - "fflate": "^0.8.2", - "token-types": "^6.0.0" + "debug": "^4.4.3", + "token-types": "^6.1.1" }, "engines": { "node": ">=18" @@ -357,9 +303,9 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "node_modules/axios": { - "version": "1.12.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.12.2.tgz", - "integrity": "sha512-vMJzPewAlRyOgxV2dU0Cuz2O8zzzx9VYtbJOaBgXFeLc4IV/Eg50n4LowmehOOR61S8ZMpc2K5Sa7g6A4jfkUw==", + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.13.2.tgz", + "integrity": "sha512-VPk9ebNqPcy5lRGuSlKx752IlDatOjT9paPlm8A7yOuW2Fbvp4X3JznJtT4f0GzGLLiWE9W8onz51SqLYwzGaA==", "dependencies": { "follow-redirects": "^1.15.6", "form-data": "^4.0.4", @@ -621,19 +567,6 @@ "node": "> 0.10" } }, - "node_modules/cross-spawn": { - "version": "7.0.6", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", - "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", - "dependencies": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - }, - "engines": { - "node": ">= 8" - } - }, "node_modules/data-uri-to-buffer": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-6.0.2.tgz", @@ -643,9 +576,9 @@ } }, "node_modules/debug": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz", - "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==", + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", "dependencies": { "ms": "^2.1.3" }, @@ -700,11 +633,6 @@ "node": ">= 0.4" } }, - "node_modules/eastasianwidth": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", - "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==" - }, "node_modules/easy-table": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/easy-table/-/easy-table-1.1.0.tgz", @@ -828,11 +756,6 @@ "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz", "integrity": "sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==" }, - "node_modules/fflate": { - "version": "0.8.2", - "resolved": "https://registry.npmjs.org/fflate/-/fflate-0.8.2.tgz", - "integrity": "sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==" - }, "node_modules/figures": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", @@ -848,13 +771,13 @@ } }, "node_modules/file-type": { - "version": "21.0.0", - "resolved": "https://registry.npmjs.org/file-type/-/file-type-21.0.0.tgz", - "integrity": "sha512-ek5xNX2YBYlXhiUXui3D/BXa3LdqPmoLJ7rqEx2bKJ7EAUEfmXgW0Das7Dc6Nr9MvqaOnIqiPV0mZk/r/UpNAg==", + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/file-type/-/file-type-21.1.1.tgz", + "integrity": "sha512-ifJXo8zUqbQ/bLbl9sFoqHNTNWbnPY1COImFfM6CCy7z+E+jC1eY9YfOKkx0fckIg+VljAy2/87T61fp0+eEkg==", "dependencies": { - "@tokenizer/inflate": "^0.2.7", - "strtok3": "^10.2.2", - "token-types": "^6.0.0", + "@tokenizer/inflate": "^0.4.1", + "strtok3": "^10.3.4", + "token-types": "^6.1.1", "uint8array-extras": "^1.4.0" }, "engines": { @@ -883,32 +806,6 @@ } } }, - "node_modules/foreground-child": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz", - "integrity": "sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==", - "dependencies": { - "cross-spawn": "^7.0.6", - "signal-exit": "^4.0.1" - }, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/foreground-child/node_modules/signal-exit": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/form-data": { "version": "4.0.4", "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.4.tgz", @@ -925,9 +822,9 @@ } }, "node_modules/fs-extra": { - "version": "11.3.2", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.2.tgz", - "integrity": "sha512-Xr9F6z6up6Ws+NjzMCZc6WXg2YFRlrLP9NQDO3VQrWrfiojdhS56TzueT88ze0uBdCTwEIhQ3ptnmKeWGFAe0A==", + "version": "11.3.3", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.3.tgz", + "integrity": "sha512-VWSRii4t0AFm6ixFFmLLx1t7wS1gh+ckoa84aOeapGum0h+EZd1EhEumSB+ZdDLnEPuucsVB9oB7cxJHap6Afg==", "dependencies": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", @@ -1002,20 +899,14 @@ } }, "node_modules/glob": { - "version": "11.0.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-11.0.3.tgz", - "integrity": "sha512-2Nim7dha1KVkaiF4q6Dj+ngPPMdfvLJEOpZk/jKiUAkqKebpGAWQXAq9z1xu9HKu5lWfqw/FASuccEjyznjPaA==", + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.0.tgz", + "integrity": "sha512-tvZgpqk6fz4BaNZ66ZsRaZnbHvP/jG3uKJvAZOwEVUL4RTA5nJeeLYfyN9/VA8NX/V3IBG+hkeuGpKjvELkVhA==", "dependencies": { - "foreground-child": "^3.3.1", - "jackspeak": "^4.1.1", - "minimatch": "^10.0.3", + "minimatch": "^10.1.1", "minipass": "^7.1.2", - "package-json-from-dist": "^1.0.0", "path-scurry": "^2.0.0" }, - "bin": { - "glob": "dist/esm/bin.mjs" - }, "engines": { "node": "20 || >=22" }, @@ -1219,11 +1110,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==" - }, "node_modules/iterare": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/iterare/-/iterare-1.2.1.tgz", @@ -1232,20 +1118,6 @@ "node": ">=6" } }, - "node_modules/jackspeak": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-4.1.1.tgz", - "integrity": "sha512-zptv57P3GpL+O0I7VdMJNBZCu+BPHVQUk55Ft8/QCJjTVxrnJHuVuX/0Bl2A6/+2oyR/ZMEuFKwmzqqZ/U5nPQ==", - "dependencies": { - "@isaacs/cliui": "^8.0.2" - }, - "engines": { - "node": "20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/jsbn": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-1.1.0.tgz", @@ -1263,9 +1135,9 @@ } }, "node_modules/load-esm": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/load-esm/-/load-esm-1.0.2.tgz", - "integrity": "sha512-nVAvWk/jeyrWyXEAs84mpQCYccxRqgKY4OznLuJhJCa0XsPSfdOIr2zvBZEj3IHEHbX97jjscKRRV539bW0Gpw==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/load-esm/-/load-esm-1.0.3.tgz", + "integrity": "sha512-v5xlu8eHD1+6r8EHTg6hfmO97LN8ugKtiXcy5e6oN72iD2r6u0RPfLl6fxM+7Wnh2ZRq15o0russMst44WauPA==", "funding": [ { "type": "github", @@ -1301,9 +1173,9 @@ } }, "node_modules/lru-cache": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.1.0.tgz", - "integrity": "sha512-QIXZUBJUx+2zHUdQujWejBkcD9+cs94tLn0+YL8UrCh+D5sCXZ4c7LaEH48pNwRY3MLDgqUFyhlCyjJPf1WP0A==", + "version": "11.2.4", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.2.4.tgz", + "integrity": "sha512-B5Y16Jr9LB9dHVkh6ZevG+vAbOsNOYCX+sXvFWFu7B3Iz5mijW3zdbMyhsh8ANd2mSWBYdJgnqi+mL7/LrOPYg==", "engines": { "node": "20 || >=22" } @@ -1344,9 +1216,9 @@ } }, "node_modules/minimatch": { - "version": "10.0.3", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.0.3.tgz", - "integrity": "sha512-IPZ167aShDZZUMdRk66cyQAW3qr0WzbHkPdMYa8bzZhlHhO3jALbKdxcaak7W9FfT2rZNpQuUu4Od7ILEpXSaw==", + "version": "10.1.1", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.1.1.tgz", + "integrity": "sha512-enIvLvRAFZYXJzkCYG5RKmPfrFArdLv+R+lbQ53BmIMLIry74bjKzX6iHAm8WYamJkhSSEabrWN5D97XnKObjQ==", "dependencies": { "@isaacs/brace-expansion": "^5.0.0" }, @@ -1468,23 +1340,10 @@ "node": ">= 14" } }, - "node_modules/package-json-from-dist": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz", - "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==" - }, - "node_modules/path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "engines": { - "node": ">=8" - } - }, "node_modules/path-scurry": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.0.tgz", - "integrity": "sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.1.tgz", + "integrity": "sha512-oWyT4gICAu+kaA7QWk/jvCHWarMKNs6pXOGWKDTr7cw4IGcUbW+PeTfbaQiLGheFRpjo6O9J0PmyMfQPjH71oA==", "dependencies": { "lru-cache": "^11.0.0", "minipass": "^7.1.2" @@ -1497,11 +1356,12 @@ } }, "node_modules/path-to-regexp": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.2.0.tgz", - "integrity": "sha512-TdrF7fW9Rphjq4RjrW0Kp2AW0Ahwu9sRGTkS6bvDi0SCwZlEZYmcfDbEsTz8RVk0EHIS/Vd1bv3JhG+1xZuAyQ==", - "engines": { - "node": ">=16" + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.3.0.tgz", + "integrity": "sha512-7jdwVIRtsP8MYpdXSwOS0YdD0Du+qOoF/AEPIt88PcCFrZCzx41oxku1jD88hZBwbNUIEfpqvuhjFaMAqMTWnA==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" } }, "node_modules/proxy-agent": { @@ -1613,25 +1473,6 @@ "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, - "node_modules/shebang-command": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "dependencies": { - "shebang-regex": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/shebang-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", - "engines": { - "node": ">=8" - } - }, "node_modules/shell-quote": { "version": "1.8.3", "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.8.3.tgz", @@ -1718,20 +1559,6 @@ "node": ">=8" } }, - "node_modules/string-width-cjs": { - "name": "string-width", - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/strip-ansi": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", @@ -1743,22 +1570,10 @@ "node": ">=8" } }, - "node_modules/strip-ansi-cjs": { - "name": "strip-ansi", - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/strtok3": { - "version": "10.3.2", - "resolved": "https://registry.npmjs.org/strtok3/-/strtok3-10.3.2.tgz", - "integrity": "sha512-or9w505RhhY66+uoe5YOC5QO/bRuATaoim3XTh+pGKx5VMWi/HDhMKuCjDLsLJouU2zg9Hf1nLPcNW7IHv80kQ==", + "version": "10.3.4", + "resolved": "https://registry.npmjs.org/strtok3/-/strtok3-10.3.4.tgz", + "integrity": "sha512-KIy5nylvC5le1OdaaoCJ07L+8iQzJHGH6pWDuzS+d07Cu7n1MZ2x26P8ZKIWfbK02+XIL8Mp4RkWeqdUCrDMfg==", "dependencies": { "@tokenizer/token": "^0.3.0" }, @@ -1787,10 +1602,11 @@ "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==" }, "node_modules/token-types": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/token-types/-/token-types-6.0.3.tgz", - "integrity": "sha512-IKJ6EzuPPWtKtEIEPpIdXv9j5j2LGJEYk0CKY2efgKoYKLBiZdh6iQkLVBow/CB3phyWAWCyk+bZeaimJn6uRQ==", + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/token-types/-/token-types-6.1.1.tgz", + "integrity": "sha512-kh9LVIWH5CnL63Ipf0jhlBIy0UsrMj/NJDfpsy1SqOXlLKEVyXXYrnFxFT1yOOYVGBSApeVnjPw/sBz5BfEjAQ==", "dependencies": { + "@borewit/text-codec": "^0.1.0", "@tokenizer/token": "^0.3.0", "ieee754": "^1.2.1" }, @@ -1843,9 +1659,9 @@ } }, "node_modules/uint8array-extras": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/uint8array-extras/-/uint8array-extras-1.4.0.tgz", - "integrity": "sha512-ZPtzy0hu4cZjv3z5NW9gfKnNLjoz4y6uv4HlelAjDK7sY/xOkKZv9xK/WQpcsBB3jEybChz9DPC2U/+cusjJVQ==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/uint8array-extras/-/uint8array-extras-1.5.0.tgz", + "integrity": "sha512-rvKSBiC5zqCCiDZ9kAOszZcDvdAHwwIKJG33Ykj43OKcWsnmcBRL09YTU4nOeHZ8Y2a7l1MgTd08SBe9A8Qj6A==", "engines": { "node": ">=18" }, @@ -1888,110 +1704,6 @@ "webidl-conversions": "^3.0.0" } }, - "node_modules/which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "node-which": "bin/node-which" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/wrap-ansi": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", - "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", - "dependencies": { - "ansi-styles": "^6.1.0", - "string-width": "^5.0.1", - "strip-ansi": "^7.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/wrap-ansi-cjs": { - "name": "wrap-ansi", - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/wrap-ansi/node_modules/ansi-regex": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", - "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" - } - }, - "node_modules/wrap-ansi/node_modules/ansi-styles": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", - "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/wrap-ansi/node_modules/emoji-regex": { - "version": "9.2.2", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", - "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" - }, - "node_modules/wrap-ansi/node_modules/string-width": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", - "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", - "dependencies": { - "eastasianwidth": "^0.2.0", - "emoji-regex": "^9.2.2", - "strip-ansi": "^7.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/wrap-ansi/node_modules/strip-ansi": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", - "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", - "dependencies": { - "ansi-regex": "^6.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" - } - }, "node_modules/y18n": { "version": "5.0.8", "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", @@ -2027,6 +1739,11 @@ } }, "dependencies": { + "@borewit/text-codec": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/@borewit/text-codec/-/text-codec-0.1.1.tgz", + "integrity": "sha512-5L/uBxmjaCIX5h8Z+uu+kA9BQLkc/Wl06UGR5ajNRxu+/XjonB5i8JpgFMrPj3LXTCPA0pv8yxUvbUi+QthGGA==" + }, "@inquirer/external-editor": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-1.0.1.tgz", @@ -2049,49 +1766,6 @@ "@isaacs/balanced-match": "^4.0.1" } }, - "@isaacs/cliui": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", - "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", - "requires": { - "string-width": "^5.1.2", - "string-width-cjs": "npm:string-width@^4.2.0", - "strip-ansi": "^7.0.1", - "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", - "wrap-ansi": "^8.1.0", - "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" - }, - "dependencies": { - "ansi-regex": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", - "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==" - }, - "emoji-regex": { - "version": "9.2.2", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", - "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" - }, - "string-width": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", - "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", - "requires": { - "eastasianwidth": "^0.2.0", - "emoji-regex": "^9.2.2", - "strip-ansi": "^7.0.1" - } - }, - "strip-ansi": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", - "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", - "requires": { - "ansi-regex": "^6.0.1" - } - } - } - }, "@lukeed/csprng": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@lukeed/csprng/-/csprng-1.1.0.tgz", @@ -2104,26 +1778,26 @@ "requires": {} }, "@nestjs/common": { - "version": "11.1.6", - "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-11.1.6.tgz", - "integrity": "sha512-krKwLLcFmeuKDqngG2N/RuZHCs2ycsKcxWIDgcm7i1lf3sQ0iG03ci+DsP/r3FcT/eJDFsIHnKtNta2LIi7PzQ==", + "version": "11.1.10", + "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-11.1.10.tgz", + "integrity": "sha512-NoBzJFtq1bzHGia5Q5NO1pJNpx530nupbEu/auCWOFCGL5y8Zo8kiG28EXTCDfIhQgregEtn1Cs6H8WSLUC8kg==", "requires": { - "file-type": "21.0.0", + "file-type": "21.1.1", "iterare": "1.2.1", - "load-esm": "1.0.2", + "load-esm": "1.0.3", "tslib": "2.8.1", "uid": "2.0.2" } }, "@nestjs/core": { - "version": "11.1.6", - "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-11.1.6.tgz", - "integrity": "sha512-siWX7UDgErisW18VTeJA+x+/tpNZrJewjTBsRPF3JVxuWRuAB1kRoiJcxHgln8Lb5UY9NdvklITR84DUEXD0Cg==", + "version": "11.1.10", + "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-11.1.10.tgz", + "integrity": "sha512-LYpaacSb8X9dcRpeZxA7Mvi5Aozv11s6028ZNoVKY2j/fyThLd+xrkksg3u+sw7F8mipFaxS/LuVpoHQ/MrACg==", "requires": { "@nuxt/opencollective": "0.4.1", "fast-safe-stringify": "2.1.1", "iterare": "1.2.1", - "path-to-regexp": "8.2.0", + "path-to-regexp": "8.3.0", "tslib": "2.8.1", "uid": "2.0.2" } @@ -2154,22 +1828,22 @@ } }, "@openapitools/openapi-generator-cli": { - "version": "2.25.0", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.25.0.tgz", - "integrity": "sha512-u/3VAbF8c68AXBgm8nBAdDPLPW/KgrtHz28yemf92zNB0iDZFGdRUX2W80Lzf177g6ctYLz0GIPHCOU0LTJegQ==", + "version": "2.26.0", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.26.0.tgz", + "integrity": "sha512-+3eV0dkmyrTXQW2ZU1hHuJD4x+rnH/LOQimNYMY1sT2A04eseZvLtvcWK2BQ5c/kujcCX6RC3WJHeq+2VyTG7A==", "requires": { "@nestjs/axios": "4.0.1", - "@nestjs/common": "11.1.6", - "@nestjs/core": "11.1.6", + "@nestjs/common": "11.1.10", + "@nestjs/core": "11.1.10", "@nuxtjs/opencollective": "0.3.2", - "axios": "1.12.2", + "axios": "1.13.2", "chalk": "4.1.2", "commander": "8.3.0", "compare-versions": "6.1.1", "concurrently": "9.2.1", "console.table": "0.10.0", - "fs-extra": "11.3.2", - "glob": "11.0.3", + "fs-extra": "11.3.3", + "glob": "13.0.0", "inquirer": "8.2.7", "proxy-agent": "6.5.0", "reflect-metadata": "0.2.2", @@ -2178,13 +1852,12 @@ } }, "@tokenizer/inflate": { - "version": "0.2.7", - "resolved": "https://registry.npmjs.org/@tokenizer/inflate/-/inflate-0.2.7.tgz", - "integrity": "sha512-MADQgmZT1eKjp06jpI2yozxaU9uVs4GzzgSL+uEq7bVcJ9V1ZXQkeGNql1fsSI0gMy1vhvNTNbUqrx+pZfJVmg==", + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@tokenizer/inflate/-/inflate-0.4.1.tgz", + "integrity": "sha512-2mAv+8pkG6GIZiF1kNg1jAjh27IDxEPKwdGul3snfztFerfPGI1LjDezZp3i7BElXompqEtPmoPx6c2wgtWsOA==", "requires": { - "debug": "^4.4.0", - "fflate": "^0.8.2", - "token-types": "^6.0.0" + "debug": "^4.4.3", + "token-types": "^6.1.1" } }, "@tokenizer/token": { @@ -2237,9 +1910,9 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "axios": { - "version": "1.12.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.12.2.tgz", - "integrity": "sha512-vMJzPewAlRyOgxV2dU0Cuz2O8zzzx9VYtbJOaBgXFeLc4IV/Eg50n4LowmehOOR61S8ZMpc2K5Sa7g6A4jfkUw==", + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.13.2.tgz", + "integrity": "sha512-VPk9ebNqPcy5lRGuSlKx752IlDatOjT9paPlm8A7yOuW2Fbvp4X3JznJtT4f0GzGLLiWE9W8onz51SqLYwzGaA==", "requires": { "follow-redirects": "^1.15.6", "form-data": "^4.0.4", @@ -2410,25 +2083,15 @@ "easy-table": "1.1.0" } }, - "cross-spawn": { - "version": "7.0.6", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", - "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", - "requires": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - } - }, "data-uri-to-buffer": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-6.0.2.tgz", "integrity": "sha512-7hvf7/GW8e86rW0ptuwS3OcBGDjIi6SZva7hCyWC0yYry2cOPmLIjXAUHI6DK2HsnwJd9ifmt57i8eV2n4YNpw==" }, "debug": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz", - "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==", + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", "requires": { "ms": "^2.1.3" } @@ -2466,11 +2129,6 @@ "gopd": "^1.2.0" } }, - "eastasianwidth": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", - "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==" - }, "easy-table": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/easy-table/-/easy-table-1.1.0.tgz", @@ -2554,11 +2212,6 @@ "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz", "integrity": "sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==" }, - "fflate": { - "version": "0.8.2", - "resolved": "https://registry.npmjs.org/fflate/-/fflate-0.8.2.tgz", - "integrity": "sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==" - }, "figures": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", @@ -2568,13 +2221,13 @@ } }, "file-type": { - "version": "21.0.0", - "resolved": "https://registry.npmjs.org/file-type/-/file-type-21.0.0.tgz", - "integrity": "sha512-ek5xNX2YBYlXhiUXui3D/BXa3LdqPmoLJ7rqEx2bKJ7EAUEfmXgW0Das7Dc6Nr9MvqaOnIqiPV0mZk/r/UpNAg==", + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/file-type/-/file-type-21.1.1.tgz", + "integrity": "sha512-ifJXo8zUqbQ/bLbl9sFoqHNTNWbnPY1COImFfM6CCy7z+E+jC1eY9YfOKkx0fckIg+VljAy2/87T61fp0+eEkg==", "requires": { - "@tokenizer/inflate": "^0.2.7", - "strtok3": "^10.2.2", - "token-types": "^6.0.0", + "@tokenizer/inflate": "^0.4.1", + "strtok3": "^10.3.4", + "token-types": "^6.1.1", "uint8array-extras": "^1.4.0" } }, @@ -2583,22 +2236,6 @@ "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz", "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==" }, - "foreground-child": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz", - "integrity": "sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==", - "requires": { - "cross-spawn": "^7.0.6", - "signal-exit": "^4.0.1" - }, - "dependencies": { - "signal-exit": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==" - } - } - }, "form-data": { "version": "4.0.4", "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.4.tgz", @@ -2612,9 +2249,9 @@ } }, "fs-extra": { - "version": "11.3.2", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.2.tgz", - "integrity": "sha512-Xr9F6z6up6Ws+NjzMCZc6WXg2YFRlrLP9NQDO3VQrWrfiojdhS56TzueT88ze0uBdCTwEIhQ3ptnmKeWGFAe0A==", + "version": "11.3.3", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.3.tgz", + "integrity": "sha512-VWSRii4t0AFm6ixFFmLLx1t7wS1gh+ckoa84aOeapGum0h+EZd1EhEumSB+ZdDLnEPuucsVB9oB7cxJHap6Afg==", "requires": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", @@ -2668,15 +2305,12 @@ } }, "glob": { - "version": "11.0.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-11.0.3.tgz", - "integrity": "sha512-2Nim7dha1KVkaiF4q6Dj+ngPPMdfvLJEOpZk/jKiUAkqKebpGAWQXAq9z1xu9HKu5lWfqw/FASuccEjyznjPaA==", + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.0.tgz", + "integrity": "sha512-tvZgpqk6fz4BaNZ66ZsRaZnbHvP/jG3uKJvAZOwEVUL4RTA5nJeeLYfyN9/VA8NX/V3IBG+hkeuGpKjvELkVhA==", "requires": { - "foreground-child": "^3.3.1", - "jackspeak": "^4.1.1", - "minimatch": "^10.0.3", + "minimatch": "^10.1.1", "minipass": "^7.1.2", - "package-json-from-dist": "^1.0.0", "path-scurry": "^2.0.0" } }, @@ -2810,24 +2444,11 @@ "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==" }, - "isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==" - }, "iterare": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/iterare/-/iterare-1.2.1.tgz", "integrity": "sha512-RKYVTCjAnRthyJes037NX/IiqeidgN1xc3j1RjFfECFp28A1GVwK9nA+i0rJPaHqSZwygLzRnFlzUuHFoWWy+Q==" }, - "jackspeak": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-4.1.1.tgz", - "integrity": "sha512-zptv57P3GpL+O0I7VdMJNBZCu+BPHVQUk55Ft8/QCJjTVxrnJHuVuX/0Bl2A6/+2oyR/ZMEuFKwmzqqZ/U5nPQ==", - "requires": { - "@isaacs/cliui": "^8.0.2" - } - }, "jsbn": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-1.1.0.tgz", @@ -2843,9 +2464,9 @@ } }, "load-esm": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/load-esm/-/load-esm-1.0.2.tgz", - "integrity": "sha512-nVAvWk/jeyrWyXEAs84mpQCYccxRqgKY4OznLuJhJCa0XsPSfdOIr2zvBZEj3IHEHbX97jjscKRRV539bW0Gpw==" + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/load-esm/-/load-esm-1.0.3.tgz", + "integrity": "sha512-v5xlu8eHD1+6r8EHTg6hfmO97LN8ugKtiXcy5e6oN72iD2r6u0RPfLl6fxM+7Wnh2ZRq15o0russMst44WauPA==" }, "lodash": { "version": "4.17.21", @@ -2862,9 +2483,9 @@ } }, "lru-cache": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.1.0.tgz", - "integrity": "sha512-QIXZUBJUx+2zHUdQujWejBkcD9+cs94tLn0+YL8UrCh+D5sCXZ4c7LaEH48pNwRY3MLDgqUFyhlCyjJPf1WP0A==" + "version": "11.2.4", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.2.4.tgz", + "integrity": "sha512-B5Y16Jr9LB9dHVkh6ZevG+vAbOsNOYCX+sXvFWFu7B3Iz5mijW3zdbMyhsh8ANd2mSWBYdJgnqi+mL7/LrOPYg==" }, "math-intrinsics": { "version": "1.1.0", @@ -2890,9 +2511,9 @@ "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==" }, "minimatch": { - "version": "10.0.3", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.0.3.tgz", - "integrity": "sha512-IPZ167aShDZZUMdRk66cyQAW3qr0WzbHkPdMYa8bzZhlHhO3jALbKdxcaak7W9FfT2rZNpQuUu4Od7ILEpXSaw==", + "version": "10.1.1", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.1.1.tgz", + "integrity": "sha512-enIvLvRAFZYXJzkCYG5RKmPfrFArdLv+R+lbQ53BmIMLIry74bjKzX6iHAm8WYamJkhSSEabrWN5D97XnKObjQ==", "requires": { "@isaacs/brace-expansion": "^5.0.0" } @@ -2973,29 +2594,19 @@ "netmask": "^2.0.2" } }, - "package-json-from-dist": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz", - "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==" - }, - "path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==" - }, "path-scurry": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.0.tgz", - "integrity": "sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.1.tgz", + "integrity": "sha512-oWyT4gICAu+kaA7QWk/jvCHWarMKNs6pXOGWKDTr7cw4IGcUbW+PeTfbaQiLGheFRpjo6O9J0PmyMfQPjH71oA==", "requires": { "lru-cache": "^11.0.0", "minipass": "^7.1.2" } }, "path-to-regexp": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.2.0.tgz", - "integrity": "sha512-TdrF7fW9Rphjq4RjrW0Kp2AW0Ahwu9sRGTkS6bvDi0SCwZlEZYmcfDbEsTz8RVk0EHIS/Vd1bv3JhG+1xZuAyQ==" + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.3.0.tgz", + "integrity": "sha512-7jdwVIRtsP8MYpdXSwOS0YdD0Du+qOoF/AEPIt88PcCFrZCzx41oxku1jD88hZBwbNUIEfpqvuhjFaMAqMTWnA==" }, "proxy-agent": { "version": "6.5.0", @@ -3076,19 +2687,6 @@ "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, - "shebang-command": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "requires": { - "shebang-regex": "^3.0.0" - } - }, - "shebang-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==" - }, "shell-quote": { "version": "1.8.3", "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.8.3.tgz", @@ -3152,16 +2750,6 @@ "strip-ansi": "^6.0.1" } }, - "string-width-cjs": { - "version": "npm:string-width@4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "requires": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - } - }, "strip-ansi": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", @@ -3170,18 +2758,10 @@ "ansi-regex": "^5.0.1" } }, - "strip-ansi-cjs": { - "version": "npm:strip-ansi@6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "requires": { - "ansi-regex": "^5.0.1" - } - }, "strtok3": { - "version": "10.3.2", - "resolved": "https://registry.npmjs.org/strtok3/-/strtok3-10.3.2.tgz", - "integrity": "sha512-or9w505RhhY66+uoe5YOC5QO/bRuATaoim3XTh+pGKx5VMWi/HDhMKuCjDLsLJouU2zg9Hf1nLPcNW7IHv80kQ==", + "version": "10.3.4", + "resolved": "https://registry.npmjs.org/strtok3/-/strtok3-10.3.4.tgz", + "integrity": "sha512-KIy5nylvC5le1OdaaoCJ07L+8iQzJHGH6pWDuzS+d07Cu7n1MZ2x26P8ZKIWfbK02+XIL8Mp4RkWeqdUCrDMfg==", "requires": { "@tokenizer/token": "^0.3.0" } @@ -3200,10 +2780,11 @@ "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==" }, "token-types": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/token-types/-/token-types-6.0.3.tgz", - "integrity": "sha512-IKJ6EzuPPWtKtEIEPpIdXv9j5j2LGJEYk0CKY2efgKoYKLBiZdh6iQkLVBow/CB3phyWAWCyk+bZeaimJn6uRQ==", + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/token-types/-/token-types-6.1.1.tgz", + "integrity": "sha512-kh9LVIWH5CnL63Ipf0jhlBIy0UsrMj/NJDfpsy1SqOXlLKEVyXXYrnFxFT1yOOYVGBSApeVnjPw/sBz5BfEjAQ==", "requires": { + "@borewit/text-codec": "^0.1.0", "@tokenizer/token": "^0.3.0", "ieee754": "^1.2.1" } @@ -3237,9 +2818,9 @@ } }, "uint8array-extras": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/uint8array-extras/-/uint8array-extras-1.4.0.tgz", - "integrity": "sha512-ZPtzy0hu4cZjv3z5NW9gfKnNLjoz4y6uv4HlelAjDK7sY/xOkKZv9xK/WQpcsBB3jEybChz9DPC2U/+cusjJVQ==" + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/uint8array-extras/-/uint8array-extras-1.5.0.tgz", + "integrity": "sha512-rvKSBiC5zqCCiDZ9kAOszZcDvdAHwwIKJG33Ykj43OKcWsnmcBRL09YTU4nOeHZ8Y2a7l1MgTd08SBe9A8Qj6A==" }, "universalify": { "version": "2.0.1", @@ -3273,69 +2854,6 @@ "webidl-conversions": "^3.0.0" } }, - "which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "requires": { - "isexe": "^2.0.0" - } - }, - "wrap-ansi": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", - "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", - "requires": { - "ansi-styles": "^6.1.0", - "string-width": "^5.0.1", - "strip-ansi": "^7.0.1" - }, - "dependencies": { - "ansi-regex": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", - "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==" - }, - "ansi-styles": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", - "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==" - }, - "emoji-regex": { - "version": "9.2.2", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", - "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" - }, - "string-width": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", - "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", - "requires": { - "eastasianwidth": "^0.2.0", - "emoji-regex": "^9.2.2", - "strip-ansi": "^7.0.1" - } - }, - "strip-ansi": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", - "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", - "requires": { - "ansi-regex": "^6.0.1" - } - } - } - }, - "wrap-ansi-cjs": { - "version": "npm:wrap-ansi@7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "requires": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - } - }, "y18n": { "version": "5.0.8", "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", diff --git a/package.json b/package.json index 4af5160a..e8a85d9a 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.25.0" + "@openapitools/openapi-generator-cli": "^2.26.0" } } diff --git a/setup.py b/setup.py index 84f5aa0d..882b3aed 100644 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.20.5" +VERSION = "1.20.7-nightly.33" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 5821823e..50b30185 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,7 +6,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -50,6 +50,7 @@ from vrchatapi.models.api_config import APIConfig from vrchatapi.models.api_config_access_logs_urls import APIConfigAccessLogsUrls from vrchatapi.models.api_config_announcement import APIConfigAnnouncement +from vrchatapi.models.api_config_audio_config import APIConfigAudioConfig from vrchatapi.models.api_config_avatar_perf_limiter import APIConfigAvatarPerfLimiter from vrchatapi.models.api_config_constants import APIConfigConstants from vrchatapi.models.api_config_constants_groups import APIConfigConstantsGROUPS @@ -61,15 +62,9 @@ from vrchatapi.models.api_config_constants_language import APIConfigConstantsLANGUAGE from vrchatapi.models.api_config_download_url_list import APIConfigDownloadURLList from vrchatapi.models.api_config_events import APIConfigEvents +from vrchatapi.models.api_config_ios_version import APIConfigIosVersion from vrchatapi.models.api_config_min_supported_client_build_number import APIConfigMinSupportedClientBuildNumber from vrchatapi.models.api_config_offline_analysis import APIConfigOfflineAnalysis -from vrchatapi.models.api_config_report_categories import APIConfigReportCategories -from vrchatapi.models.api_config_report_options import APIConfigReportOptions -from vrchatapi.models.api_config_report_options_avatar import APIConfigReportOptionsAvatar -from vrchatapi.models.api_config_report_options_group import APIConfigReportOptionsGroup -from vrchatapi.models.api_config_report_options_user import APIConfigReportOptionsUser -from vrchatapi.models.api_config_report_options_world import APIConfigReportOptionsWorld -from vrchatapi.models.api_config_report_reasons import APIConfigReportReasons from vrchatapi.models.api_health import APIHealth from vrchatapi.models.account_deletion_log import AccountDeletionLog from vrchatapi.models.add_favorite_request import AddFavoriteRequest @@ -77,8 +72,13 @@ from vrchatapi.models.admin_asset_bundle import AdminAssetBundle from vrchatapi.models.admin_unity_package import AdminUnityPackage from vrchatapi.models.age_verification_status import AgeVerificationStatus +from vrchatapi.models.agreement import Agreement +from vrchatapi.models.agreement_code import AgreementCode +from vrchatapi.models.agreement_request import AgreementRequest +from vrchatapi.models.agreement_status import AgreementStatus from vrchatapi.models.avatar import Avatar from vrchatapi.models.avatar_moderation import AvatarModeration +from vrchatapi.models.avatar_moderation_created import AvatarModerationCreated from vrchatapi.models.avatar_moderation_type import AvatarModerationType from vrchatapi.models.avatar_performance import AvatarPerformance from vrchatapi.models.avatar_published_listings_inner import AvatarPublishedListingsInner @@ -88,9 +88,18 @@ from vrchatapi.models.badge import Badge from vrchatapi.models.balance import Balance from vrchatapi.models.ban_group_member_request import BanGroupMemberRequest +from vrchatapi.models.boop_request import BoopRequest from vrchatapi.models.calendar_event import CalendarEvent +from vrchatapi.models.calendar_event_access import CalendarEventAccess +from vrchatapi.models.calendar_event_category import CalendarEventCategory +from vrchatapi.models.calendar_event_discovery import CalendarEventDiscovery +from vrchatapi.models.calendar_event_discovery_inclusion import CalendarEventDiscoveryInclusion +from vrchatapi.models.calendar_event_discovery_scope import CalendarEventDiscoveryScope +from vrchatapi.models.calendar_event_platform import CalendarEventPlatform from vrchatapi.models.calendar_event_user_interest import CalendarEventUserInterest from vrchatapi.models.change_user_tags_request import ChangeUserTagsRequest +from vrchatapi.models.content_filter import ContentFilter +from vrchatapi.models.create_avatar_moderation_request import CreateAvatarModerationRequest from vrchatapi.models.create_avatar_request import CreateAvatarRequest from vrchatapi.models.create_calendar_event_request import CreateCalendarEventRequest from vrchatapi.models.create_file_request import CreateFileRequest @@ -102,16 +111,18 @@ from vrchatapi.models.create_group_request import CreateGroupRequest from vrchatapi.models.create_group_role_request import CreateGroupRoleRequest from vrchatapi.models.create_instance_request import CreateInstanceRequest -from vrchatapi.models.create_permission_request import CreatePermissionRequest +from vrchatapi.models.create_prop_request import CreatePropRequest from vrchatapi.models.create_world_request import CreateWorldRequest from vrchatapi.models.current_user import CurrentUser from vrchatapi.models.current_user_platform_history_inner import CurrentUserPlatformHistoryInner from vrchatapi.models.current_user_presence import CurrentUserPresence +from vrchatapi.models.decline_group_invite_request import DeclineGroupInviteRequest from vrchatapi.models.developer_type import DeveloperType from vrchatapi.models.disable2_fa_result import Disable2FAResult from vrchatapi.models.discord_details import DiscordDetails from vrchatapi.models.dynamic_content_row import DynamicContentRow from vrchatapi.models.economy_account import EconomyAccount +from vrchatapi.models.equip_inventory_item_request import EquipInventoryItemRequest from vrchatapi.models.error import Error from vrchatapi.models.favorite import Favorite from vrchatapi.models.favorite_group import FavoriteGroup @@ -139,6 +150,8 @@ from vrchatapi.models.group_announcement import GroupAnnouncement from vrchatapi.models.group_audit_log_entry import GroupAuditLogEntry from vrchatapi.models.group_gallery import GroupGallery +from vrchatapi.models.group_gallery_file_order import GroupGalleryFileOrder +from vrchatapi.models.group_gallery_file_order_request import GroupGalleryFileOrderRequest from vrchatapi.models.group_gallery_image import GroupGalleryImage from vrchatapi.models.group_instance import GroupInstance from vrchatapi.models.group_join_request_action import GroupJoinRequestAction @@ -158,7 +171,12 @@ from vrchatapi.models.group_role_template_values import GroupRoleTemplateValues from vrchatapi.models.group_role_template_values_roles import GroupRoleTemplateValuesRoles from vrchatapi.models.group_search_sort import GroupSearchSort +from vrchatapi.models.group_transferable import GroupTransferable +from vrchatapi.models.group_transferable_requirements import GroupTransferableRequirements from vrchatapi.models.group_user_visibility import GroupUserVisibility +from vrchatapi.models.image_animation_style import ImageAnimationStyle +from vrchatapi.models.image_loop_style import ImageLoopStyle +from vrchatapi.models.image_mask import ImageMask from vrchatapi.models.info_push import InfoPush from vrchatapi.models.info_push_data import InfoPushData from vrchatapi.models.info_push_data_article import InfoPushDataArticle @@ -171,7 +189,11 @@ from vrchatapi.models.instance_short_name_response import InstanceShortNameResponse from vrchatapi.models.instance_type import InstanceType from vrchatapi.models.inventory import Inventory +from vrchatapi.models.inventory_consumption_results import InventoryConsumptionResults +from vrchatapi.models.inventory_default_attributes1 import InventoryDefaultAttributes1 +from vrchatapi.models.inventory_default_attributes1_validator import InventoryDefaultAttributes1Validator from vrchatapi.models.inventory_drop import InventoryDrop +from vrchatapi.models.inventory_equip_slot import InventoryEquipSlot from vrchatapi.models.inventory_flag import InventoryFlag from vrchatapi.models.inventory_item import InventoryItem from vrchatapi.models.inventory_item_type import InventoryItemType @@ -179,12 +201,14 @@ from vrchatapi.models.inventory_notification_details import InventoryNotificationDetails from vrchatapi.models.inventory_spawn import InventorySpawn from vrchatapi.models.inventory_template import InventoryTemplate +from vrchatapi.models.inventory_user_attributes import InventoryUserAttributes from vrchatapi.models.invite_message import InviteMessage from vrchatapi.models.invite_message_type import InviteMessageType from vrchatapi.models.invite_request import InviteRequest from vrchatapi.models.invite_response import InviteResponse from vrchatapi.models.jam import Jam from vrchatapi.models.jam_state_change_dates import JamStateChangeDates +from vrchatapi.models.join_group_request import JoinGroupRequest from vrchatapi.models.license import License from vrchatapi.models.license_action import LicenseAction from vrchatapi.models.license_group import LicenseGroup @@ -199,6 +223,9 @@ from vrchatapi.models.mime_type import MIMEType from vrchatapi.models.model_print import ModelPrint from vrchatapi.models.moderate_user_request import ModerateUserRequest +from vrchatapi.models.moderation_report import ModerationReport +from vrchatapi.models.mutual_friend import MutualFriend +from vrchatapi.models.mutuals import Mutuals from vrchatapi.models.notification import Notification from vrchatapi.models.notification_detail_invite import NotificationDetailInvite from vrchatapi.models.notification_detail_invite_response import NotificationDetailInviteResponse @@ -206,15 +233,23 @@ from vrchatapi.models.notification_detail_request_invite_response import NotificationDetailRequestInviteResponse from vrchatapi.models.notification_detail_vote_to_kick import NotificationDetailVoteToKick from vrchatapi.models.notification_type import NotificationType +from vrchatapi.models.notification_v2 import NotificationV2 +from vrchatapi.models.notification_v2_details_boop import NotificationV2DetailsBoop +from vrchatapi.models.notification_v2_response import NotificationV2Response +from vrchatapi.models.notification_v2_type import NotificationV2Type from vrchatapi.models.ok_status import OkStatus +from vrchatapi.models.ok_status2 import OkStatus2 from vrchatapi.models.order_option import OrderOption +from vrchatapi.models.order_option_short import OrderOptionShort from vrchatapi.models.paginated_calendar_event_list import PaginatedCalendarEventList from vrchatapi.models.paginated_group_audit_log_entry_list import PaginatedGroupAuditLogEntryList +from vrchatapi.models.paginated_moderation_report_list import PaginatedModerationReportList from vrchatapi.models.past_display_name import PastDisplayName from vrchatapi.models.pending2_fa_result import Pending2FAResult from vrchatapi.models.performance_limiter_info import PerformanceLimiterInfo from vrchatapi.models.performance_ratings import PerformanceRatings from vrchatapi.models.permission import Permission +from vrchatapi.models.permission_data import PermissionData from vrchatapi.models.platform_build_info import PlatformBuildInfo from vrchatapi.models.player_moderation import PlayerModeration from vrchatapi.models.player_moderation_type import PlayerModerationType @@ -223,9 +258,13 @@ from vrchatapi.models.product_listing import ProductListing from vrchatapi.models.product_listing_type import ProductListingType from vrchatapi.models.product_listing_variant import ProductListingVariant +from vrchatapi.models.product_purchase import ProductPurchase +from vrchatapi.models.product_purchase_purchase_context import ProductPurchasePurchaseContext from vrchatapi.models.product_type import ProductType from vrchatapi.models.prop import Prop +from vrchatapi.models.prop_publish_status import PropPublishStatus from vrchatapi.models.prop_unity_package import PropUnityPackage +from vrchatapi.models.purchase_product_listing_request import PurchaseProductListingRequest from vrchatapi.models.region import Region from vrchatapi.models.register_user_account_request import RegisterUserAccountRequest from vrchatapi.models.release_status import ReleaseStatus @@ -234,20 +273,26 @@ from vrchatapi.models.represented_group import RepresentedGroup from vrchatapi.models.request_invite_request import RequestInviteRequest from vrchatapi.models.respond_group_join_request import RespondGroupJoinRequest +from vrchatapi.models.respond_notification_v2_request import RespondNotificationV2Request from vrchatapi.models.response import Response +from vrchatapi.models.search_group_members200_response import SearchGroupMembers200Response from vrchatapi.models.sent_notification import SentNotification from vrchatapi.models.service_queue_stats import ServiceQueueStats from vrchatapi.models.service_status import ServiceStatus from vrchatapi.models.share_inventory_item_direct_request import ShareInventoryItemDirectRequest from vrchatapi.models.sort_option import SortOption +from vrchatapi.models.sort_option_product_purchase import SortOptionProductPurchase from vrchatapi.models.store import Store from vrchatapi.models.store_shelf import StoreShelf from vrchatapi.models.store_type import StoreType from vrchatapi.models.store_view import StoreView from vrchatapi.models.submission import Submission +from vrchatapi.models.submit_moderation_report_request import SubmitModerationReportRequest +from vrchatapi.models.submit_moderation_report_request_details import SubmitModerationReportRequestDetails from vrchatapi.models.subscription import Subscription from vrchatapi.models.subscription_period import SubscriptionPeriod from vrchatapi.models.success import Success +from vrchatapi.models.success_flag import SuccessFlag from vrchatapi.models.tilia_status import TiliaStatus from vrchatapi.models.tilia_tos import TiliaTOS from vrchatapi.models.token_bundle import TokenBundle @@ -256,11 +301,13 @@ from vrchatapi.models.transaction_status import TransactionStatus from vrchatapi.models.transaction_steam_info import TransactionSteamInfo from vrchatapi.models.transaction_steam_wallet_info import TransactionSteamWalletInfo +from vrchatapi.models.transfer_group_request import TransferGroupRequest from vrchatapi.models.two_factor_auth_code import TwoFactorAuthCode from vrchatapi.models.two_factor_email_code import TwoFactorEmailCode from vrchatapi.models.two_factor_recovery_codes import TwoFactorRecoveryCodes from vrchatapi.models.two_factor_recovery_codes_otp_inner import TwoFactorRecoveryCodesOtpInner from vrchatapi.models.unity_package import UnityPackage +from vrchatapi.models.update_asset_review_notes_request import UpdateAssetReviewNotesRequest from vrchatapi.models.update_avatar_request import UpdateAvatarRequest from vrchatapi.models.update_calendar_event_request import UpdateCalendarEventRequest from vrchatapi.models.update_favorite_group_request import UpdateFavoriteGroupRequest @@ -271,12 +318,14 @@ from vrchatapi.models.update_group_role_request import UpdateGroupRoleRequest from vrchatapi.models.update_inventory_item_request import UpdateInventoryItemRequest from vrchatapi.models.update_invite_message_request import UpdateInviteMessageRequest -from vrchatapi.models.update_permission_request import UpdatePermissionRequest +from vrchatapi.models.update_prop_request import UpdatePropRequest +from vrchatapi.models.update_tilia_tos_request import UpdateTiliaTOSRequest from vrchatapi.models.update_user_badge_request import UpdateUserBadgeRequest from vrchatapi.models.update_user_note_request import UpdateUserNoteRequest from vrchatapi.models.update_user_request import UpdateUserRequest from vrchatapi.models.update_world_request import UpdateWorldRequest from vrchatapi.models.user import User +from vrchatapi.models.user_credits_eligible import UserCreditsEligible from vrchatapi.models.user_exists import UserExists from vrchatapi.models.user_note import UserNote from vrchatapi.models.user_note_target_user import UserNoteTargetUser diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index 981a179d..a99a1dca 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -461,6 +461,439 @@ def confirm_email_with_http_info(self, id, verify_email, **kwargs): # noqa: E50 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def create_global_avatar_moderation(self, create_avatar_moderation_request, **kwargs): # noqa: E501 + """Create Global Avatar Moderation # noqa: E501 + + Globally moderates an avatar. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.create_global_avatar_moderation(create_avatar_moderation_request, async_req=True) + >>> result = thread.get() + + :param create_avatar_moderation_request: (required) + :type create_avatar_moderation_request: CreateAvatarModerationRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: AvatarModerationCreated + """ + kwargs['_return_http_data_only'] = True + return self.create_global_avatar_moderation_with_http_info(create_avatar_moderation_request, **kwargs) # noqa: E501 + + def create_global_avatar_moderation_with_http_info(self, create_avatar_moderation_request, **kwargs): # noqa: E501 + """Create Global Avatar Moderation # noqa: E501 + + Globally moderates an avatar. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.create_global_avatar_moderation_with_http_info(create_avatar_moderation_request, async_req=True) + >>> result = thread.get() + + :param create_avatar_moderation_request: (required) + :type create_avatar_moderation_request: CreateAvatarModerationRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(AvatarModerationCreated, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'create_avatar_moderation_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method create_global_avatar_moderation" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'create_avatar_moderation_request' is set + if self.api_client.client_side_validation and local_var_params.get('create_avatar_moderation_request') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `create_avatar_moderation_request` when calling `create_global_avatar_moderation`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'create_avatar_moderation_request' in local_var_params: + body_params = local_var_params['create_avatar_moderation_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "AvatarModerationCreated", + 401: "Error", + } + + return self.api_client.call_api( + '/auth/user/avatarmoderations', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def delete_global_avatar_moderation(self, target_avatar_id, avatar_moderation_type, **kwargs): # noqa: E501 + """Delete Global Avatar Moderation # noqa: E501 + + Globally unmoderates an avatar. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_global_avatar_moderation(target_avatar_id, avatar_moderation_type, async_req=True) + >>> result = thread.get() + + :param target_avatar_id: Must be a valid avatar ID. (required) + :type target_avatar_id: str + :param avatar_moderation_type: The avatar moderation type associated with the avatar. (required) + :type avatar_moderation_type: AvatarModerationType + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: OkStatus2 + """ + kwargs['_return_http_data_only'] = True + return self.delete_global_avatar_moderation_with_http_info(target_avatar_id, avatar_moderation_type, **kwargs) # noqa: E501 + + def delete_global_avatar_moderation_with_http_info(self, target_avatar_id, avatar_moderation_type, **kwargs): # noqa: E501 + """Delete Global Avatar Moderation # noqa: E501 + + Globally unmoderates an avatar. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_global_avatar_moderation_with_http_info(target_avatar_id, avatar_moderation_type, async_req=True) + >>> result = thread.get() + + :param target_avatar_id: Must be a valid avatar ID. (required) + :type target_avatar_id: str + :param avatar_moderation_type: The avatar moderation type associated with the avatar. (required) + :type avatar_moderation_type: AvatarModerationType + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(OkStatus2, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'target_avatar_id', + 'avatar_moderation_type' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_global_avatar_moderation" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'target_avatar_id' is set + if self.api_client.client_side_validation and local_var_params.get('target_avatar_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `target_avatar_id` when calling `delete_global_avatar_moderation`") # noqa: E501 + # verify the required parameter 'avatar_moderation_type' is set + if self.api_client.client_side_validation and local_var_params.get('avatar_moderation_type') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `avatar_moderation_type` when calling `delete_global_avatar_moderation`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if local_var_params.get('target_avatar_id') is not None: # noqa: E501 + query_params.append(('targetAvatarId', local_var_params['target_avatar_id'])) # noqa: E501 + if local_var_params.get('avatar_moderation_type') is not None: # noqa: E501 + query_params.append(('avatarModerationType', local_var_params['avatar_moderation_type'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "OkStatus2", + 401: "Error", + } + + return self.api_client.call_api( + '/auth/user/avatarmoderations', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def delete_moderation_report(self, moderation_report_id, **kwargs): # noqa: E501 + """Delete Moderation Report # noqa: E501 + + Delete a moderation report # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_moderation_report(moderation_report_id, async_req=True) + >>> result = thread.get() + + :param moderation_report_id: The moderation report id. (required) + :type moderation_report_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: SuccessFlag + """ + kwargs['_return_http_data_only'] = True + return self.delete_moderation_report_with_http_info(moderation_report_id, **kwargs) # noqa: E501 + + def delete_moderation_report_with_http_info(self, moderation_report_id, **kwargs): # noqa: E501 + """Delete Moderation Report # noqa: E501 + + Delete a moderation report # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_moderation_report_with_http_info(moderation_report_id, async_req=True) + >>> result = thread.get() + + :param moderation_report_id: The moderation report id. (required) + :type moderation_report_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(SuccessFlag, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'moderation_report_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_moderation_report" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'moderation_report_id' is set + if self.api_client.client_side_validation and local_var_params.get('moderation_report_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `moderation_report_id` when calling `delete_moderation_report`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'moderation_report_id' in local_var_params: + path_params['moderationReportId'] = local_var_params['moderation_report_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "SuccessFlag", + 401: "Error", + 403: "Error", + } + + return self.api_client.call_api( + '/moderationReports/{moderationReportId}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def delete_user(self, user_id, **kwargs): # noqa: E501 """Delete User # noqa: E501 @@ -858,7 +1291,7 @@ def enable2_fa_with_http_info(self, **kwargs): # noqa: E501 def get_current_user(self, **kwargs): # noqa: E501 """Login and/or Get Current User Info # noqa: E501 - This endpoint does the following two operations: 1) Checks if you are already logged in by looking for a valid `auth` cookie. If you are have a valid auth cookie then no additional auth-related actions are taken. If you are **not** logged in then it will log you in with the `Authorization` header and set the `auth` cookie. The `auth` cookie will only be sent once. 2) If logged in, this function will also return the CurrentUser object containing detailed information about the currently logged in user. The auth string after `Authorization: Basic {string}` is a base64-encoded string of the username and password, both individually url-encoded, and then joined with a colon. > base64(urlencode(username):urlencode(password)) **WARNING: Session Limit:** Each authentication with login credentials counts as a separate session, out of which you have a limited amount. Make sure to save and reuse the `auth` cookie if you are often restarting the program. The provided API libraries automatically save cookies during runtime, but does not persist during restart. While it can be fine to use username/password during development, expect in production to very fast run into the rate-limit and be temporarily blocked from making new sessions until older ones expire. The exact number of simultaneous sessions is unknown/undisclosed. # noqa: E501 + This endpoint does the following two operations: 1) Checks if you are already logged in by looking for a valid `auth` cookie. If you are have a valid auth cookie then no additional auth-related actions are taken. If you are **not** logged in then it will log you in with the `Authorization` header and set the `auth` cookie. The `auth` cookie will only be sent once. 2) If logged in, this function will also return the CurrentUser object containing detailed information about the currently logged in user. The auth string after `Authorization: Basic {string}` is a base64-encoded string of the username and password, both individually url-encoded, and then joined with a colon. > base64(urlencode(username):urlencode(password)) **WARNING: Session Limit:** Each authentication with login credentials counts as a separate session, out of which you have a limited amount. Make sure to save and reuse the `auth` cookie if you are often restarting the program. The provided API libraries automatically save cookies during runtime, but does not persist during restart. While it can be fine to use username/password during development, expect in production to very fast run into the rate-limit and be temporarily blocked from making new sessions until older ones expire. The exact number of simultaneous sessions is unknown/undisclosed. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -886,7 +1319,7 @@ def get_current_user(self, **kwargs): # noqa: E501 def get_current_user_with_http_info(self, **kwargs): # noqa: E501 """Login and/or Get Current User Info # noqa: E501 - This endpoint does the following two operations: 1) Checks if you are already logged in by looking for a valid `auth` cookie. If you are have a valid auth cookie then no additional auth-related actions are taken. If you are **not** logged in then it will log you in with the `Authorization` header and set the `auth` cookie. The `auth` cookie will only be sent once. 2) If logged in, this function will also return the CurrentUser object containing detailed information about the currently logged in user. The auth string after `Authorization: Basic {string}` is a base64-encoded string of the username and password, both individually url-encoded, and then joined with a colon. > base64(urlencode(username):urlencode(password)) **WARNING: Session Limit:** Each authentication with login credentials counts as a separate session, out of which you have a limited amount. Make sure to save and reuse the `auth` cookie if you are often restarting the program. The provided API libraries automatically save cookies during runtime, but does not persist during restart. While it can be fine to use username/password during development, expect in production to very fast run into the rate-limit and be temporarily blocked from making new sessions until older ones expire. The exact number of simultaneous sessions is unknown/undisclosed. # noqa: E501 + This endpoint does the following two operations: 1) Checks if you are already logged in by looking for a valid `auth` cookie. If you are have a valid auth cookie then no additional auth-related actions are taken. If you are **not** logged in then it will log you in with the `Authorization` header and set the `auth` cookie. The `auth` cookie will only be sent once. 2) If logged in, this function will also return the CurrentUser object containing detailed information about the currently logged in user. The auth string after `Authorization: Basic {string}` is a base64-encoded string of the username and password, both individually url-encoded, and then joined with a colon. > base64(urlencode(username):urlencode(password)) **WARNING: Session Limit:** Each authentication with login credentials counts as a separate session, out of which you have a limited amount. Make sure to save and reuse the `auth` cookie if you are often restarting the program. The provided API libraries automatically save cookies during runtime, but does not persist during restart. While it can be fine to use username/password during development, expect in production to very fast run into the rate-limit and be temporarily blocked from making new sessions until older ones expire. The exact number of simultaneous sessions is unknown/undisclosed. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -986,7 +1419,7 @@ def get_current_user_with_http_info(self, **kwargs): # noqa: E501 def get_global_avatar_moderations(self, **kwargs): # noqa: E501 """Get Global Avatar Moderations # noqa: E501 - Returns list of globally blocked avatars. # noqa: E501 + Returns list of globally moderated avatars. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1014,7 +1447,7 @@ def get_global_avatar_moderations(self, **kwargs): # noqa: E501 def get_global_avatar_moderations_with_http_info(self, **kwargs): # noqa: E501 """Get Global Avatar Moderations # noqa: E501 - Returns list of globally blocked avatars. # noqa: E501 + Returns list of globally moderated avatars. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1111,6 +1544,176 @@ def get_global_avatar_moderations_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def get_moderation_reports(self, **kwargs): # noqa: E501 + """Get Moderation Reports # noqa: E501 + + Get submitted moderation reports # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_moderation_reports(async_req=True) + >>> result = thread.get() + + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param n: The number of objects to return. + :type n: int + :param reporting_user_id: Filter for moderation reports. + :type reporting_user_id: str + :param status: Filter for moderation reports. One of: `closed`... + :type status: str + :param type: Filter for moderation reports. One of: `avatar`, `group`, `user`, `world`... + :type type: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: PaginatedModerationReportList + """ + kwargs['_return_http_data_only'] = True + return self.get_moderation_reports_with_http_info(**kwargs) # noqa: E501 + + def get_moderation_reports_with_http_info(self, **kwargs): # noqa: E501 + """Get Moderation Reports # noqa: E501 + + Get submitted moderation reports # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_moderation_reports_with_http_info(async_req=True) + >>> result = thread.get() + + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param n: The number of objects to return. + :type n: int + :param reporting_user_id: Filter for moderation reports. + :type reporting_user_id: str + :param status: Filter for moderation reports. One of: `closed`... + :type status: str + :param type: Filter for moderation reports. One of: `avatar`, `group`, `user`, `world`... + :type type: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(PaginatedModerationReportList, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'offset', + 'n', + 'reporting_user_id', + 'status', + 'type' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_moderation_reports" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_moderation_reports`, must be a value greater than or equal to `0`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_moderation_reports`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_moderation_reports`, must be a value greater than or equal to `1`") # noqa: E501 + collection_formats = {} + + path_params = {} + + query_params = [] + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('reporting_user_id') is not None: # noqa: E501 + query_params.append(('reportingUserId', local_var_params['reporting_user_id'])) # noqa: E501 + if local_var_params.get('status') is not None: # noqa: E501 + query_params.append(('status', local_var_params['status'])) # noqa: E501 + if local_var_params.get('type') is not None: # noqa: E501 + query_params.append(('type', local_var_params['type'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "PaginatedModerationReportList", + 401: "Error", + 403: "Error", + } + + return self.api_client.call_api( + '/moderationReports', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def get_recovery_codes(self, **kwargs): # noqa: E501 """Get 2FA Recovery codes # noqa: E501 @@ -1641,6 +2244,152 @@ def resend_email_confirmation_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def submit_moderation_report(self, submit_moderation_report_request, **kwargs): # noqa: E501 + """Submit Moderation Report # noqa: E501 + + Submit a moderation report # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.submit_moderation_report(submit_moderation_report_request, async_req=True) + >>> result = thread.get() + + :param submit_moderation_report_request: (required) + :type submit_moderation_report_request: SubmitModerationReportRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: ModerationReport + """ + kwargs['_return_http_data_only'] = True + return self.submit_moderation_report_with_http_info(submit_moderation_report_request, **kwargs) # noqa: E501 + + def submit_moderation_report_with_http_info(self, submit_moderation_report_request, **kwargs): # noqa: E501 + """Submit Moderation Report # noqa: E501 + + Submit a moderation report # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.submit_moderation_report_with_http_info(submit_moderation_report_request, async_req=True) + >>> result = thread.get() + + :param submit_moderation_report_request: (required) + :type submit_moderation_report_request: SubmitModerationReportRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(ModerationReport, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'submit_moderation_report_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method submit_moderation_report" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'submit_moderation_report_request' is set + if self.api_client.client_side_validation and local_var_params.get('submit_moderation_report_request') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `submit_moderation_report_request` when calling `submit_moderation_report`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'submit_moderation_report_request' in local_var_params: + body_params = local_var_params['submit_moderation_report_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "ModerationReport", + 401: "Error", + } + + return self.api_client.call_api( + '/moderationReports', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def verify2_fa(self, two_factor_auth_code, **kwargs): # noqa: E501 """Verify 2FA code # noqa: E501 diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index 803fb777..97065fe4 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -1017,6 +1017,12 @@ def get_favorited_avatars_with_http_info(self, **kwargs): # noqa: E501 raise ApiValueError("Invalid value for parameter `n` when calling `get_favorited_avatars`, must be a value greater than or equal to `1`") # noqa: E501 if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 raise ApiValueError("Invalid value for parameter `offset` when calling `get_favorited_avatars`, must be a value greater than or equal to `0`") # noqa: E501 + if self.api_client.client_side_validation and ('tag' in local_var_params and # noqa: E501 + len(local_var_params['tag']) < 1): # noqa: E501 + raise ApiValueError("Invalid value for parameter `tag` when calling `get_favorited_avatars`, length must be greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and ('notag' in local_var_params and # noqa: E501 + len(local_var_params['notag']) < 1): # noqa: E501 + raise ApiValueError("Invalid value for parameter `notag` when calling `get_favorited_avatars`, length must be greater than or equal to `1`") # noqa: E501 collection_formats = {} path_params = {} @@ -1536,6 +1542,8 @@ def search_avatars(self, **kwargs): # noqa: E501 :type min_unity_version: str :param platform: The platform the asset supports. :type platform: str + :param is_internal_variant: Not quite sure what this actually does (exists on the website but doesn't seem to be used) + :type is_internal_variant: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -1590,6 +1598,8 @@ def search_avatars_with_http_info(self, **kwargs): # noqa: E501 :type min_unity_version: str :param platform: The platform the asset supports. :type platform: str + :param is_internal_variant: Not quite sure what this actually does (exists on the website but doesn't seem to be used) + :type is_internal_variant: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -1629,7 +1639,8 @@ def search_avatars_with_http_info(self, **kwargs): # noqa: E501 'release_status', 'max_unity_version', 'min_unity_version', - 'platform' + 'platform', + 'is_internal_variant' ] all_params.extend( [ @@ -1658,6 +1669,12 @@ def search_avatars_with_http_info(self, **kwargs): # noqa: E501 raise ApiValueError("Invalid value for parameter `n` when calling `search_avatars`, must be a value greater than or equal to `1`") # noqa: E501 if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 raise ApiValueError("Invalid value for parameter `offset` when calling `search_avatars`, must be a value greater than or equal to `0`") # noqa: E501 + if self.api_client.client_side_validation and ('tag' in local_var_params and # noqa: E501 + len(local_var_params['tag']) < 1): # noqa: E501 + raise ApiValueError("Invalid value for parameter `tag` when calling `search_avatars`, length must be greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and ('notag' in local_var_params and # noqa: E501 + len(local_var_params['notag']) < 1): # noqa: E501 + raise ApiValueError("Invalid value for parameter `notag` when calling `search_avatars`, length must be greater than or equal to `1`") # noqa: E501 collection_formats = {} path_params = {} @@ -1689,6 +1706,8 @@ def search_avatars_with_http_info(self, **kwargs): # noqa: E501 query_params.append(('minUnityVersion', local_var_params['min_unity_version'])) # noqa: E501 if local_var_params.get('platform') is not None: # noqa: E501 query_params.append(('platform', local_var_params['platform'])) # noqa: E501 + if local_var_params.get('is_internal_variant') is not None: # noqa: E501 + query_params.append(('isInternalVariant', local_var_params['is_internal_variant'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) diff --git a/vrchatapi/api/calendar_api.py b/vrchatapi/api/calendar_api.py index 7d7d9556..e2e73366 100644 --- a/vrchatapi/api/calendar_api.py +++ b/vrchatapi/api/calendar_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -172,7 +172,9 @@ def create_group_calendar_event_with_http_info(self, group_id, create_calendar_e response_types_map = { 200: "CalendarEvent", + 400: "Error", 401: "Error", + 403: "Error", } return self.api_client.call_api( @@ -321,6 +323,7 @@ def delete_group_calendar_event_with_http_info(self, group_id, calendar_id, **kw response_types_map = { 200: "Success", 401: "Error", + 404: "Error", } return self.api_client.call_api( @@ -340,6 +343,215 @@ def delete_group_calendar_event_with_http_info(self, group_id, calendar_id, **kw collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def discover_calendar_events(self, **kwargs): # noqa: E501 + """Discover calendar events # noqa: E501 + + Get a list of calendar events Initially, call without a `nextCursor` parameter For every successive call, use the `nextCursor` property returned in the previous call & the `number` of entries desired for this call The `nextCursor` internally keeps track of the `offset` of the results, the initial request parameters, and accounts for discrepancies that might arise from time elapsed between calls # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.discover_calendar_events(async_req=True) + >>> result = thread.get() + + :param scope: Scope for calendar event discovery. + :type scope: CalendarEventDiscoveryScope + :param categories: Filter for calendar event discovery. + :type categories: str + :param tags: Filter for calendar event discovery. + :type tags: str + :param featured_results: Filter for calendar event discovery. + :type featured_results: CalendarEventDiscoveryInclusion + :param non_featured_results: Filter for calendar event discovery. + :type non_featured_results: CalendarEventDiscoveryInclusion + :param personalized_results: Filter for calendar event discovery. + :type personalized_results: CalendarEventDiscoveryInclusion + :param minimum_interest_count: Filter for calendar event discovery. + :type minimum_interest_count: int + :param minimum_remaining_minutes: Filter for calendar event discovery. + :type minimum_remaining_minutes: int + :param upcoming_offset_minutes: Filter for calendar event discovery. + :type upcoming_offset_minutes: int + :param n: The number of objects to return. + :type n: int + :param next_cursor: Cursor returned from previous calendar discovery queries (see nextCursor property of the schema CalendarEventDiscovery). + :type next_cursor: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: CalendarEventDiscovery + """ + kwargs['_return_http_data_only'] = True + return self.discover_calendar_events_with_http_info(**kwargs) # noqa: E501 + + def discover_calendar_events_with_http_info(self, **kwargs): # noqa: E501 + """Discover calendar events # noqa: E501 + + Get a list of calendar events Initially, call without a `nextCursor` parameter For every successive call, use the `nextCursor` property returned in the previous call & the `number` of entries desired for this call The `nextCursor` internally keeps track of the `offset` of the results, the initial request parameters, and accounts for discrepancies that might arise from time elapsed between calls # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.discover_calendar_events_with_http_info(async_req=True) + >>> result = thread.get() + + :param scope: Scope for calendar event discovery. + :type scope: CalendarEventDiscoveryScope + :param categories: Filter for calendar event discovery. + :type categories: str + :param tags: Filter for calendar event discovery. + :type tags: str + :param featured_results: Filter for calendar event discovery. + :type featured_results: CalendarEventDiscoveryInclusion + :param non_featured_results: Filter for calendar event discovery. + :type non_featured_results: CalendarEventDiscoveryInclusion + :param personalized_results: Filter for calendar event discovery. + :type personalized_results: CalendarEventDiscoveryInclusion + :param minimum_interest_count: Filter for calendar event discovery. + :type minimum_interest_count: int + :param minimum_remaining_minutes: Filter for calendar event discovery. + :type minimum_remaining_minutes: int + :param upcoming_offset_minutes: Filter for calendar event discovery. + :type upcoming_offset_minutes: int + :param n: The number of objects to return. + :type n: int + :param next_cursor: Cursor returned from previous calendar discovery queries (see nextCursor property of the schema CalendarEventDiscovery). + :type next_cursor: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(CalendarEventDiscovery, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'scope', + 'categories', + 'tags', + 'featured_results', + 'non_featured_results', + 'personalized_results', + 'minimum_interest_count', + 'minimum_remaining_minutes', + 'upcoming_offset_minutes', + 'n', + 'next_cursor' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method discover_calendar_events" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `discover_calendar_events`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `discover_calendar_events`, must be a value greater than or equal to `1`") # noqa: E501 + collection_formats = {} + + path_params = {} + + query_params = [] + if local_var_params.get('scope') is not None: # noqa: E501 + query_params.append(('scope', local_var_params['scope'])) # noqa: E501 + if local_var_params.get('categories') is not None: # noqa: E501 + query_params.append(('categories', local_var_params['categories'])) # noqa: E501 + if local_var_params.get('tags') is not None: # noqa: E501 + query_params.append(('tags', local_var_params['tags'])) # noqa: E501 + if local_var_params.get('featured_results') is not None: # noqa: E501 + query_params.append(('featuredResults', local_var_params['featured_results'])) # noqa: E501 + if local_var_params.get('non_featured_results') is not None: # noqa: E501 + query_params.append(('nonFeaturedResults', local_var_params['non_featured_results'])) # noqa: E501 + if local_var_params.get('personalized_results') is not None: # noqa: E501 + query_params.append(('personalizedResults', local_var_params['personalized_results'])) # noqa: E501 + if local_var_params.get('minimum_interest_count') is not None: # noqa: E501 + query_params.append(('minimumInterestCount', local_var_params['minimum_interest_count'])) # noqa: E501 + if local_var_params.get('minimum_remaining_minutes') is not None: # noqa: E501 + query_params.append(('minimumRemainingMinutes', local_var_params['minimum_remaining_minutes'])) # noqa: E501 + if local_var_params.get('upcoming_offset_minutes') is not None: # noqa: E501 + query_params.append(('upcomingOffsetMinutes', local_var_params['upcoming_offset_minutes'])) # noqa: E501 + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('next_cursor') is not None: # noqa: E501 + query_params.append(('nextCursor', local_var_params['next_cursor'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "CalendarEventDiscovery", + 401: "Error", + } + + return self.api_client.call_api( + '/calendar/discover', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def follow_group_calendar_event(self, group_id, calendar_id, follow_calendar_event_request, **kwargs): # noqa: E501 """Follow a calendar event # noqa: E501 @@ -1433,6 +1645,145 @@ def get_group_calendar_events_with_http_info(self, group_id, **kwargs): # noqa: collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def get_group_next_calendar_event(self, group_id, **kwargs): # noqa: E501 + """Get next calendar event # noqa: E501 + + Get the closest future calendar event scheduled for a group # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_next_calendar_event(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: CalendarEvent + """ + kwargs['_return_http_data_only'] = True + return self.get_group_next_calendar_event_with_http_info(group_id, **kwargs) # noqa: E501 + + def get_group_next_calendar_event_with_http_info(self, group_id, **kwargs): # noqa: E501 + """Get next calendar event # noqa: E501 + + Get the closest future calendar event scheduled for a group # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_next_calendar_event_with_http_info(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(CalendarEvent, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_group_next_calendar_event" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_next_calendar_event`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "CalendarEvent", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/calendar/{groupId}/next', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def search_calendar_events(self, search_term, **kwargs): # noqa: E501 """Search for calendar events # noqa: E501 @@ -1451,6 +1802,8 @@ def search_calendar_events(self, search_term, **kwargs): # noqa: E501 :type n: int :param offset: A zero-based offset from the default object sorting from where search results start. :type offset: int + :param is_internal_variant: Not quite sure what this actually does (exists on the website but doesn't seem to be used) + :type is_internal_variant: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -1487,6 +1840,8 @@ def search_calendar_events_with_http_info(self, search_term, **kwargs): # noqa: :type n: int :param offset: A zero-based offset from the default object sorting from where search results start. :type offset: int + :param is_internal_variant: Not quite sure what this actually does (exists on the website but doesn't seem to be used) + :type is_internal_variant: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -1517,7 +1872,8 @@ def search_calendar_events_with_http_info(self, search_term, **kwargs): # noqa: 'search_term', 'utc_offset', 'n', - 'offset' + 'offset', + 'is_internal_variant' ] all_params.extend( [ @@ -1566,6 +1922,8 @@ def search_calendar_events_with_http_info(self, search_term, **kwargs): # noqa: query_params.append(('n', local_var_params['n'])) # noqa: E501 if local_var_params.get('offset') is not None: # noqa: E501 query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + if local_var_params.get('is_internal_variant') is not None: # noqa: E501 + query_params.append(('isInternalVariant', local_var_params['is_internal_variant'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 42b69989..8c03631c 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -164,154 +164,18 @@ def get_active_licenses_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_admin_transaction(self, transaction_id, **kwargs): # noqa: E501 - """Get Admin Transactions # noqa: E501 - - Get a single Admin transactions by ID. This returns the exact same information as `getAdminTransactions`, so no point in using this endpoint. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_admin_transaction(transaction_id, async_req=True) - >>> result = thread.get() - - :param transaction_id: Must be a valid transaction ID. (required) - :type transaction_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: Transaction - """ - kwargs['_return_http_data_only'] = True - return self.get_admin_transaction_with_http_info(transaction_id, **kwargs) # noqa: E501 - - def get_admin_transaction_with_http_info(self, transaction_id, **kwargs): # noqa: E501 - """Get Admin Transactions # noqa: E501 - - Get a single Admin transactions by ID. This returns the exact same information as `getAdminTransactions`, so no point in using this endpoint. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_admin_transaction_with_http_info(transaction_id, async_req=True) - >>> result = thread.get() - - :param transaction_id: Must be a valid transaction ID. (required) - :type transaction_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _return_http_data_only: response data without head status code - and headers - :type _return_http_data_only: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(Transaction, status_code(int), headers(HTTPHeaderDict)) - """ - - local_var_params = locals() - - all_params = [ - 'transaction_id' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method get_admin_transaction" % key - ) - local_var_params[key] = val - del local_var_params['kwargs'] - # verify the required parameter 'transaction_id' is set - if self.api_client.client_side_validation and local_var_params.get('transaction_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `transaction_id` when calling `get_admin_transaction`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'transaction_id' in local_var_params: - path_params['transactionId'] = local_var_params['transaction_id'] # noqa: E501 - - query_params = [] - - header_params = dict(local_var_params.get('_headers', {})) - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['authCookie'] # noqa: E501 - - response_types_map = { - 200: "Transaction", - 401: "Error", - } - - return self.api_client.call_api( - '/Admin/transactions/{transactionId}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_types_map=response_types_map, - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats, - _request_auth=local_var_params.get('_request_auth')) - - def get_admin_transactions(self, **kwargs): # noqa: E501 - """Get Admin Transactions # noqa: E501 + def get_balance(self, user_id, **kwargs): # noqa: E501 + """Get Balance # noqa: E501 - Get all own Admin transactions. # noqa: E501 + Gets the balance of a user # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_admin_transactions(async_req=True) + >>> thread = api.get_balance(user_id, async_req=True) >>> result = thread.get() + :param user_id: Must be a valid user ID. (required) + :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -325,21 +189,23 @@ def get_admin_transactions(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[Transaction] + :rtype: Balance """ kwargs['_return_http_data_only'] = True - return self.get_admin_transactions_with_http_info(**kwargs) # noqa: E501 + return self.get_balance_with_http_info(user_id, **kwargs) # noqa: E501 - def get_admin_transactions_with_http_info(self, **kwargs): # noqa: E501 - """Get Admin Transactions # noqa: E501 + def get_balance_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get Balance # noqa: E501 - Get all own Admin transactions. # noqa: E501 + Gets the balance of a user # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_admin_transactions_with_http_info(async_req=True) + >>> thread = api.get_balance_with_http_info(user_id, async_req=True) >>> result = thread.get() + :param user_id: Must be a valid user ID. (required) + :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -361,12 +227,13 @@ def get_admin_transactions_with_http_info(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[Transaction], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(Balance, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ + 'user_id' ] all_params.extend( [ @@ -384,14 +251,19 @@ def get_admin_transactions_with_http_info(self, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_admin_transactions" % key + " to method get_balance" % key ) local_var_params[key] = val del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_balance`") # noqa: E501 collection_formats = {} path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 query_params = [] @@ -409,12 +281,12 @@ def get_admin_transactions_with_http_info(self, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "list[Transaction]", + 200: "Balance", 401: "Error", } return self.api_client.call_api( - '/Admin/transactions', 'GET', + '/user/{userId}/balance', 'GET', path_params, query_params, header_params, @@ -430,14 +302,14 @@ def get_admin_transactions_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_balance(self, user_id, **kwargs): # noqa: E501 - """Get Balance # noqa: E501 + def get_balance_earnings(self, user_id, **kwargs): # noqa: E501 + """Get Balance Earnings # noqa: E501 - Gets the balance of a user # noqa: E501 + Gets the balance of a user from earnings # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_balance(user_id, async_req=True) + >>> thread = api.get_balance_earnings(user_id, async_req=True) >>> result = thread.get() :param user_id: Must be a valid user ID. (required) @@ -458,16 +330,16 @@ def get_balance(self, user_id, **kwargs): # noqa: E501 :rtype: Balance """ kwargs['_return_http_data_only'] = True - return self.get_balance_with_http_info(user_id, **kwargs) # noqa: E501 + return self.get_balance_earnings_with_http_info(user_id, **kwargs) # noqa: E501 - def get_balance_with_http_info(self, user_id, **kwargs): # noqa: E501 - """Get Balance # noqa: E501 + def get_balance_earnings_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get Balance Earnings # noqa: E501 - Gets the balance of a user # noqa: E501 + Gets the balance of a user from earnings # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_balance_with_http_info(user_id, async_req=True) + >>> thread = api.get_balance_earnings_with_http_info(user_id, async_req=True) >>> result = thread.get() :param user_id: Must be a valid user ID. (required) @@ -517,13 +389,13 @@ def get_balance_with_http_info(self, user_id, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_balance" % key + " to method get_balance_earnings" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `user_id` when calling `get_balance`") # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_balance_earnings`") # noqa: E501 collection_formats = {} @@ -552,7 +424,7 @@ def get_balance_with_http_info(self, user_id, **kwargs): # noqa: E501 } return self.api_client.call_api( - '/user/{userId}/balance', 'GET', + '/user/{userId}/balance/earnings', 'GET', path_params, query_params, header_params, @@ -568,18 +440,18 @@ def get_balance_with_http_info(self, user_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_balance_earnings(self, user_id, **kwargs): # noqa: E501 - """Get Balance Earnings # noqa: E501 + def get_bulk_gift_purchases(self, **kwargs): # noqa: E501 + """Get Bulk Gift Purchases # noqa: E501 - Gets the balance of a user from earnings # noqa: E501 + Get bulk gift purchases made by the user. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_balance_earnings(user_id, async_req=True) + >>> thread = api.get_bulk_gift_purchases(async_req=True) >>> result = thread.get() - :param user_id: Must be a valid user ID. (required) - :type user_id: str + :param most_recent: + :type most_recent: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -593,23 +465,23 @@ def get_balance_earnings(self, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: Balance + :rtype: list[object] """ kwargs['_return_http_data_only'] = True - return self.get_balance_earnings_with_http_info(user_id, **kwargs) # noqa: E501 + return self.get_bulk_gift_purchases_with_http_info(**kwargs) # noqa: E501 - def get_balance_earnings_with_http_info(self, user_id, **kwargs): # noqa: E501 - """Get Balance Earnings # noqa: E501 + def get_bulk_gift_purchases_with_http_info(self, **kwargs): # noqa: E501 + """Get Bulk Gift Purchases # noqa: E501 - Gets the balance of a user from earnings # noqa: E501 + Get bulk gift purchases made by the user. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_balance_earnings_with_http_info(user_id, async_req=True) + >>> thread = api.get_bulk_gift_purchases_with_http_info(async_req=True) >>> result = thread.get() - :param user_id: Must be a valid user ID. (required) - :type user_id: str + :param most_recent: + :type most_recent: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -631,13 +503,13 @@ def get_balance_earnings_with_http_info(self, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(Balance, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(list[object], status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'user_id' + 'most_recent' ] all_params.extend( [ @@ -655,21 +527,18 @@ def get_balance_earnings_with_http_info(self, user_id, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_balance_earnings" % key + " to method get_bulk_gift_purchases" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `user_id` when calling `get_balance_earnings`") # noqa: E501 collection_formats = {} path_params = {} - if 'user_id' in local_var_params: - path_params['userId'] = local_var_params['user_id'] # noqa: E501 query_params = [] + if local_var_params.get('most_recent') is not None: # noqa: E501 + query_params.append(('mostRecent', local_var_params['most_recent'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -685,12 +554,12 @@ def get_balance_earnings_with_http_info(self, user_id, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "Balance", + 200: "list[object]", 401: "Error", } return self.api_client.call_api( - '/user/{userId}/balance/earnings', 'GET', + '/user/bulk/gift/purchases', 'GET', path_params, query_params, header_params, @@ -1255,28 +1124,18 @@ def get_product_listing_with_http_info(self, product_id, **kwargs): # noqa: E50 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_product_listings(self, user_id, **kwargs): # noqa: E501 - """Get User Product Listings # noqa: E501 + def get_product_listing_alternate(self, product_id, **kwargs): # noqa: E501 + """Get Product Listing (alternate) # noqa: E501 - Gets the product listings of a given user # noqa: E501 + Gets a product listing # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_product_listings(user_id, async_req=True) + >>> thread = api.get_product_listing_alternate(product_id, async_req=True) >>> result = thread.get() - :param user_id: Must be a valid user ID. (required) - :type user_id: str - :param n: The number of objects to return. - :type n: int - :param offset: A zero-based offset from the default object sorting from where search results start. - :type offset: int - :param hydrate: Populates some fields and changes types of others for certain objects. - :type hydrate: bool - :param group_id: Must be a valid group ID. - :type group_id: str - :param active: Filter for users' listings and inventory bundles. - :type active: bool + :param product_id: Must be a valid product ID. (required) + :type product_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -1290,33 +1149,23 @@ def get_product_listings(self, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[ProductListing] + :rtype: ProductListing """ kwargs['_return_http_data_only'] = True - return self.get_product_listings_with_http_info(user_id, **kwargs) # noqa: E501 + return self.get_product_listing_alternate_with_http_info(product_id, **kwargs) # noqa: E501 - def get_product_listings_with_http_info(self, user_id, **kwargs): # noqa: E501 - """Get User Product Listings # noqa: E501 + def get_product_listing_alternate_with_http_info(self, product_id, **kwargs): # noqa: E501 + """Get Product Listing (alternate) # noqa: E501 - Gets the product listings of a given user # noqa: E501 + Gets a product listing # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_product_listings_with_http_info(user_id, async_req=True) + >>> thread = api.get_product_listing_alternate_with_http_info(product_id, async_req=True) >>> result = thread.get() - :param user_id: Must be a valid user ID. (required) - :type user_id: str - :param n: The number of objects to return. - :type n: int - :param offset: A zero-based offset from the default object sorting from where search results start. - :type offset: int - :param hydrate: Populates some fields and changes types of others for certain objects. - :type hydrate: bool - :param group_id: Must be a valid group ID. - :type group_id: str - :param active: Filter for users' listings and inventory bundles. - :type active: bool + :param product_id: Must be a valid product ID. (required) + :type product_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -1338,18 +1187,13 @@ def get_product_listings_with_http_info(self, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[ProductListing], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(ProductListing, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'user_id', - 'n', - 'offset', - 'hydrate', - 'group_id', - 'active' + 'product_id' ] all_params.extend( [ @@ -1367,13 +1211,176 @@ def get_product_listings_with_http_info(self, user_id, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_product_listings" % key + " to method get_product_listing_alternate" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `user_id` when calling `get_product_listings`") # noqa: E501 + # verify the required parameter 'product_id' is set + if self.api_client.client_side_validation and local_var_params.get('product_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `product_id` when calling `get_product_listing_alternate`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'product_id' in local_var_params: + path_params['productId'] = local_var_params['product_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "ProductListing", + 401: "Error", + } + + return self.api_client.call_api( + '/products/{productId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_product_listings(self, user_id, **kwargs): # noqa: E501 + """Get User Product Listings # noqa: E501 + + Gets the product listings of a given user # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_product_listings(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param hydrate: Populates some fields and changes types of others for certain objects. + :type hydrate: bool + :param group_id: Must be a valid group ID. + :type group_id: str + :param active: Filter for users' listings and inventory bundles. + :type active: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[ProductListing] + """ + kwargs['_return_http_data_only'] = True + return self.get_product_listings_with_http_info(user_id, **kwargs) # noqa: E501 + + def get_product_listings_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get User Product Listings # noqa: E501 + + Gets the product listings of a given user # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_product_listings_with_http_info(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param hydrate: Populates some fields and changes types of others for certain objects. + :type hydrate: bool + :param group_id: Must be a valid group ID. + :type group_id: str + :param active: Filter for users' listings and inventory bundles. + :type active: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[ProductListing], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_id', + 'n', + 'offset', + 'hydrate', + 'group_id', + 'active' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_product_listings" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_product_listings`") # noqa: E501 if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 raise ApiValueError("Invalid value for parameter `n` when calling `get_product_listings`, must be a value less than or equal to `100`") # noqa: E501 @@ -1434,18 +1441,28 @@ def get_product_listings_with_http_info(self, user_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_steam_transaction(self, transaction_id, **kwargs): # noqa: E501 - """Get Steam Transaction # noqa: E501 + def get_product_purchases(self, buyer_id, **kwargs): # noqa: E501 + """Get Product Purchases # noqa: E501 - Get a single Steam transactions by ID. This returns the exact same information as `getSteamTransactions`, so no point in using this endpoint. # noqa: E501 + Gets product purchases # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_steam_transaction(transaction_id, async_req=True) + >>> thread = api.get_product_purchases(buyer_id, async_req=True) >>> result = thread.get() - :param transaction_id: Must be a valid transaction ID. (required) - :type transaction_id: str + :param buyer_id: Must be a valid user ID. (required) + :type buyer_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param most_recent: + :type most_recent: bool + :param sort: The sort order of the results. + :type sort: SortOptionProductPurchase + :param order: Result ordering + :type order: OrderOptionShort :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -1459,23 +1476,33 @@ def get_steam_transaction(self, transaction_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: Transaction + :rtype: list[ProductPurchase] """ kwargs['_return_http_data_only'] = True - return self.get_steam_transaction_with_http_info(transaction_id, **kwargs) # noqa: E501 + return self.get_product_purchases_with_http_info(buyer_id, **kwargs) # noqa: E501 - def get_steam_transaction_with_http_info(self, transaction_id, **kwargs): # noqa: E501 - """Get Steam Transaction # noqa: E501 + def get_product_purchases_with_http_info(self, buyer_id, **kwargs): # noqa: E501 + """Get Product Purchases # noqa: E501 - Get a single Steam transactions by ID. This returns the exact same information as `getSteamTransactions`, so no point in using this endpoint. # noqa: E501 + Gets product purchases # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_steam_transaction_with_http_info(transaction_id, async_req=True) + >>> thread = api.get_product_purchases_with_http_info(buyer_id, async_req=True) >>> result = thread.get() - :param transaction_id: Must be a valid transaction ID. (required) - :type transaction_id: str + :param buyer_id: Must be a valid user ID. (required) + :type buyer_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param most_recent: + :type most_recent: bool + :param sort: The sort order of the results. + :type sort: SortOptionProductPurchase + :param order: Result ordering + :type order: OrderOptionShort :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -1497,13 +1524,18 @@ def get_steam_transaction_with_http_info(self, transaction_id, **kwargs): # noq :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(Transaction, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(list[ProductPurchase], status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'transaction_id' + 'buyer_id', + 'n', + 'offset', + 'most_recent', + 'sort', + 'order' ] all_params.extend( [ @@ -1521,21 +1553,37 @@ def get_steam_transaction_with_http_info(self, transaction_id, **kwargs): # noq if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_steam_transaction" % key + " to method get_product_purchases" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'transaction_id' is set - if self.api_client.client_side_validation and local_var_params.get('transaction_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `transaction_id` when calling `get_steam_transaction`") # noqa: E501 + # verify the required parameter 'buyer_id' is set + if self.api_client.client_side_validation and local_var_params.get('buyer_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `buyer_id` when calling `get_product_purchases`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_product_purchases`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_product_purchases`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_product_purchases`, must be a value greater than or equal to `0`") # noqa: E501 collection_formats = {} path_params = {} - if 'transaction_id' in local_var_params: - path_params['transactionId'] = local_var_params['transaction_id'] # noqa: E501 query_params = [] + if local_var_params.get('buyer_id') is not None: # noqa: E501 + query_params.append(('buyerId', local_var_params['buyer_id'])) # noqa: E501 + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + if local_var_params.get('most_recent') is not None: # noqa: E501 + query_params.append(('mostRecent', local_var_params['most_recent'])) # noqa: E501 + if local_var_params.get('sort') is not None: # noqa: E501 + query_params.append(('sort', local_var_params['sort'])) # noqa: E501 + if local_var_params.get('order') is not None: # noqa: E501 + query_params.append(('order', local_var_params['order'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -1551,12 +1599,12 @@ def get_steam_transaction_with_http_info(self, transaction_id, **kwargs): # noq auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "Transaction", + 200: "list[ProductPurchase]", 401: "Error", } return self.api_client.call_api( - '/Steam/transactions/{transactionId}', 'GET', + '/economy/purchases', 'GET', path_params, query_params, header_params, @@ -1572,14 +1620,14 @@ def get_steam_transaction_with_http_info(self, transaction_id, **kwargs): # noq collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_steam_transactions(self, **kwargs): # noqa: E501 - """List Steam Transactions # noqa: E501 + def get_recent_subscription(self, **kwargs): # noqa: E501 + """Get Recent Subscription # noqa: E501 - Get all own Steam transactions. # noqa: E501 + Get the most recent user subscription. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_steam_transactions(async_req=True) + >>> thread = api.get_recent_subscription(async_req=True) >>> result = thread.get() :param async_req: Whether to execute the request asynchronously. @@ -1595,19 +1643,717 @@ def get_steam_transactions(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[Transaction] + :rtype: UserSubscription """ kwargs['_return_http_data_only'] = True - return self.get_steam_transactions_with_http_info(**kwargs) # noqa: E501 + return self.get_recent_subscription_with_http_info(**kwargs) # noqa: E501 - def get_steam_transactions_with_http_info(self, **kwargs): # noqa: E501 - """List Steam Transactions # noqa: E501 + def get_recent_subscription_with_http_info(self, **kwargs): # noqa: E501 + """Get Recent Subscription # noqa: E501 + + Get the most recent user subscription. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_recent_subscription_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(UserSubscription, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_recent_subscription" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "UserSubscription", + 401: "Error", + } + + return self.api_client.call_api( + '/user/subscription/recent', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_steam_transaction(self, transaction_id, **kwargs): # noqa: E501 + """Get Steam Transaction # noqa: E501 + + Get a single Steam transactions by ID. This returns the exact same information as `getSteamTransactions`, so no point in using this endpoint. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_steam_transaction(transaction_id, async_req=True) + >>> result = thread.get() + + :param transaction_id: Must be a valid transaction ID. (required) + :type transaction_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Transaction + """ + kwargs['_return_http_data_only'] = True + return self.get_steam_transaction_with_http_info(transaction_id, **kwargs) # noqa: E501 + + def get_steam_transaction_with_http_info(self, transaction_id, **kwargs): # noqa: E501 + """Get Steam Transaction # noqa: E501 + + Get a single Steam transactions by ID. This returns the exact same information as `getSteamTransactions`, so no point in using this endpoint. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_steam_transaction_with_http_info(transaction_id, async_req=True) + >>> result = thread.get() + + :param transaction_id: Must be a valid transaction ID. (required) + :type transaction_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Transaction, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'transaction_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_steam_transaction" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'transaction_id' is set + if self.api_client.client_side_validation and local_var_params.get('transaction_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `transaction_id` when calling `get_steam_transaction`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'transaction_id' in local_var_params: + path_params['transactionId'] = local_var_params['transaction_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "Transaction", + 401: "Error", + } + + return self.api_client.call_api( + '/Steam/transactions/{transactionId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_steam_transactions(self, **kwargs): # noqa: E501 + """List Steam Transactions # noqa: E501 + + Get all own Steam transactions. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_steam_transactions(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[Transaction] + """ + kwargs['_return_http_data_only'] = True + return self.get_steam_transactions_with_http_info(**kwargs) # noqa: E501 + + def get_steam_transactions_with_http_info(self, **kwargs): # noqa: E501 + """List Steam Transactions # noqa: E501 + + Get all own Steam transactions. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_steam_transactions_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[Transaction], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_steam_transactions" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[Transaction]", + 401: "Error", + } + + return self.api_client.call_api( + '/Steam/transactions', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_store(self, store_id, **kwargs): # noqa: E501 + """Get Store # noqa: E501 + + Gets a store # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_store(store_id, async_req=True) + >>> result = thread.get() + + :param store_id: (required) + :type store_id: str + :param hydrate_listings: Listings fields will be populated. + :type hydrate_listings: bool + :param hydrate_products: Products fields will be populated. + :type hydrate_products: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Store + """ + kwargs['_return_http_data_only'] = True + return self.get_store_with_http_info(store_id, **kwargs) # noqa: E501 + + def get_store_with_http_info(self, store_id, **kwargs): # noqa: E501 + """Get Store # noqa: E501 + + Gets a store # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_store_with_http_info(store_id, async_req=True) + >>> result = thread.get() + + :param store_id: (required) + :type store_id: str + :param hydrate_listings: Listings fields will be populated. + :type hydrate_listings: bool + :param hydrate_products: Products fields will be populated. + :type hydrate_products: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Store, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'store_id', + 'hydrate_listings', + 'hydrate_products' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_store" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'store_id' is set + if self.api_client.client_side_validation and local_var_params.get('store_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `store_id` when calling `get_store`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if local_var_params.get('store_id') is not None: # noqa: E501 + query_params.append(('storeId', local_var_params['store_id'])) # noqa: E501 + if local_var_params.get('hydrate_listings') is not None: # noqa: E501 + query_params.append(('hydrateListings', local_var_params['hydrate_listings'])) # noqa: E501 + if local_var_params.get('hydrate_products') is not None: # noqa: E501 + query_params.append(('hydrateProducts', local_var_params['hydrate_products'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "Store", + 401: "Error", + } + + return self.api_client.call_api( + '/economy/store', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_store_shelves(self, store_id, **kwargs): # noqa: E501 + """Get Store Shelves # noqa: E501 + + Gets the shelves for a store # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_store_shelves(store_id, async_req=True) + >>> result = thread.get() + + :param store_id: (required) + :type store_id: str + :param hydrate_listings: Listings fields will be populated. + :type hydrate_listings: bool + :param fetch: + :type fetch: StoreView + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[StoreShelf] + """ + kwargs['_return_http_data_only'] = True + return self.get_store_shelves_with_http_info(store_id, **kwargs) # noqa: E501 + + def get_store_shelves_with_http_info(self, store_id, **kwargs): # noqa: E501 + """Get Store Shelves # noqa: E501 + + Gets the shelves for a store # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_store_shelves_with_http_info(store_id, async_req=True) + >>> result = thread.get() + + :param store_id: (required) + :type store_id: str + :param hydrate_listings: Listings fields will be populated. + :type hydrate_listings: bool + :param fetch: + :type fetch: StoreView + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[StoreShelf], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'store_id', + 'hydrate_listings', + 'fetch' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_store_shelves" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'store_id' is set + if self.api_client.client_side_validation and local_var_params.get('store_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `store_id` when calling `get_store_shelves`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if local_var_params.get('store_id') is not None: # noqa: E501 + query_params.append(('storeId', local_var_params['store_id'])) # noqa: E501 + if local_var_params.get('hydrate_listings') is not None: # noqa: E501 + query_params.append(('hydrateListings', local_var_params['hydrate_listings'])) # noqa: E501 + if local_var_params.get('fetch') is not None: # noqa: E501 + query_params.append(('fetch', local_var_params['fetch'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[StoreShelf]", + 401: "Error", + } + + return self.api_client.call_api( + '/economy/store/shelves', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_subscriptions(self, **kwargs): # noqa: E501 + """List Subscriptions # noqa: E501 + + List all existing Subscriptions. For example, \"vrchatplus-monthly\" and \"vrchatplus-yearly\". # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_subscriptions(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[Subscription] + """ + kwargs['_return_http_data_only'] = True + return self.get_subscriptions_with_http_info(**kwargs) # noqa: E501 + + def get_subscriptions_with_http_info(self, **kwargs): # noqa: E501 + """List Subscriptions # noqa: E501 - Get all own Steam transactions. # noqa: E501 + List all existing Subscriptions. For example, \"vrchatplus-monthly\" and \"vrchatplus-yearly\". # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_steam_transactions_with_http_info(async_req=True) + >>> thread = api.get_subscriptions_with_http_info(async_req=True) >>> result = thread.get() :param async_req: Whether to execute the request asynchronously. @@ -1631,7 +2377,7 @@ def get_steam_transactions_with_http_info(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[Transaction], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(list[Subscription], status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() @@ -1654,7 +2400,7 @@ def get_steam_transactions_with_http_info(self, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_steam_transactions" % key + " to method get_subscriptions" % key ) local_var_params[key] = val del local_var_params['kwargs'] @@ -1679,12 +2425,12 @@ def get_steam_transactions_with_http_info(self, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "list[Transaction]", + 200: "list[Subscription]", 401: "Error", } return self.api_client.call_api( - '/Steam/transactions', 'GET', + '/subscriptions', 'GET', path_params, query_params, header_params, @@ -1700,22 +2446,16 @@ def get_steam_transactions_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_store(self, store_id, **kwargs): # noqa: E501 - """Get Store # noqa: E501 + def get_tilia_status(self, **kwargs): # noqa: E501 + """Get Tilia Status # noqa: E501 - Gets a store # noqa: E501 + Gets the status of Tilia integration # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_store(store_id, async_req=True) + >>> thread = api.get_tilia_status(async_req=True) >>> result = thread.get() - :param store_id: (required) - :type store_id: str - :param hydrate_listings: Listings fields will be populated. - :type hydrate_listings: bool - :param hydrate_products: Products fields will be populated. - :type hydrate_products: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -1729,27 +2469,21 @@ def get_store(self, store_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: Store + :rtype: TiliaStatus """ kwargs['_return_http_data_only'] = True - return self.get_store_with_http_info(store_id, **kwargs) # noqa: E501 + return self.get_tilia_status_with_http_info(**kwargs) # noqa: E501 - def get_store_with_http_info(self, store_id, **kwargs): # noqa: E501 - """Get Store # noqa: E501 + def get_tilia_status_with_http_info(self, **kwargs): # noqa: E501 + """Get Tilia Status # noqa: E501 - Gets a store # noqa: E501 + Gets the status of Tilia integration # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_store_with_http_info(store_id, async_req=True) + >>> thread = api.get_tilia_status_with_http_info(async_req=True) >>> result = thread.get() - :param store_id: (required) - :type store_id: str - :param hydrate_listings: Listings fields will be populated. - :type hydrate_listings: bool - :param hydrate_products: Products fields will be populated. - :type hydrate_products: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -1771,15 +2505,12 @@ def get_store_with_http_info(self, store_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(Store, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(TiliaStatus, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'store_id', - 'hydrate_listings', - 'hydrate_products' ] all_params.extend( [ @@ -1797,25 +2528,16 @@ def get_store_with_http_info(self, store_id, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_store" % key + " to method get_tilia_status" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'store_id' is set - if self.api_client.client_side_validation and local_var_params.get('store_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `store_id` when calling `get_store`") # noqa: E501 collection_formats = {} path_params = {} query_params = [] - if local_var_params.get('store_id') is not None: # noqa: E501 - query_params.append(('storeId', local_var_params['store_id'])) # noqa: E501 - if local_var_params.get('hydrate_listings') is not None: # noqa: E501 - query_params.append(('hydrateListings', local_var_params['hydrate_listings'])) # noqa: E501 - if local_var_params.get('hydrate_products') is not None: # noqa: E501 - query_params.append(('hydrateProducts', local_var_params['hydrate_products'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -1831,12 +2553,12 @@ def get_store_with_http_info(self, store_id, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "Store", + 200: "TiliaStatus", 401: "Error", } return self.api_client.call_api( - '/economy/store', 'GET', + '/tilia/status', 'GET', path_params, query_params, header_params, @@ -1852,22 +2574,18 @@ def get_store_with_http_info(self, store_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_store_shelves(self, store_id, **kwargs): # noqa: E501 - """Get Store Shelves # noqa: E501 + def get_tilia_tos(self, user_id, **kwargs): # noqa: E501 + """Get Tilia TOS Agreement Status # noqa: E501 - Gets the shelves for a store # noqa: E501 + Gets the status of the agreement of a user to the Tilia TOS # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_store_shelves(store_id, async_req=True) + >>> thread = api.get_tilia_tos(user_id, async_req=True) >>> result = thread.get() - :param store_id: (required) - :type store_id: str - :param hydrate_listings: Listings fields will be populated. - :type hydrate_listings: bool - :param fetch: - :type fetch: StoreView + :param user_id: Must be a valid user ID. (required) + :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -1881,27 +2599,23 @@ def get_store_shelves(self, store_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[StoreShelf] + :rtype: TiliaTOS """ kwargs['_return_http_data_only'] = True - return self.get_store_shelves_with_http_info(store_id, **kwargs) # noqa: E501 + return self.get_tilia_tos_with_http_info(user_id, **kwargs) # noqa: E501 - def get_store_shelves_with_http_info(self, store_id, **kwargs): # noqa: E501 - """Get Store Shelves # noqa: E501 + def get_tilia_tos_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get Tilia TOS Agreement Status # noqa: E501 - Gets the shelves for a store # noqa: E501 + Gets the status of the agreement of a user to the Tilia TOS # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_store_shelves_with_http_info(store_id, async_req=True) + >>> thread = api.get_tilia_tos_with_http_info(user_id, async_req=True) >>> result = thread.get() - :param store_id: (required) - :type store_id: str - :param hydrate_listings: Listings fields will be populated. - :type hydrate_listings: bool - :param fetch: - :type fetch: StoreView + :param user_id: Must be a valid user ID. (required) + :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -1923,15 +2637,13 @@ def get_store_shelves_with_http_info(self, store_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[StoreShelf], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(TiliaTOS, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'store_id', - 'hydrate_listings', - 'fetch' + 'user_id' ] all_params.extend( [ @@ -1949,25 +2661,21 @@ def get_store_shelves_with_http_info(self, store_id, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_store_shelves" % key + " to method get_tilia_tos" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'store_id' is set - if self.api_client.client_side_validation and local_var_params.get('store_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `store_id` when calling `get_store_shelves`") # noqa: E501 + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_tilia_tos`") # noqa: E501 collection_formats = {} path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 query_params = [] - if local_var_params.get('store_id') is not None: # noqa: E501 - query_params.append(('storeId', local_var_params['store_id'])) # noqa: E501 - if local_var_params.get('hydrate_listings') is not None: # noqa: E501 - query_params.append(('hydrateListings', local_var_params['hydrate_listings'])) # noqa: E501 - if local_var_params.get('fetch') is not None: # noqa: E501 - query_params.append(('fetch', local_var_params['fetch'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -1983,12 +2691,12 @@ def get_store_shelves_with_http_info(self, store_id, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "list[StoreShelf]", + 200: "TiliaTOS", 401: "Error", } return self.api_client.call_api( - '/economy/store/shelves', 'GET', + '/user/{userId}/tilia/tos', 'GET', path_params, query_params, header_params, @@ -2004,14 +2712,14 @@ def get_store_shelves_with_http_info(self, store_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_subscriptions(self, **kwargs): # noqa: E501 - """List Subscriptions # noqa: E501 + def get_token_bundles(self, **kwargs): # noqa: E501 + """List Token Bundles # noqa: E501 - List all existing Subscriptions. For example, \"vrchatplus-monthly\" and \"vrchatplus-yearly\". # noqa: E501 + Gets the list of token bundles # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_subscriptions(async_req=True) + >>> thread = api.get_token_bundles(async_req=True) >>> result = thread.get() :param async_req: Whether to execute the request asynchronously. @@ -2027,19 +2735,19 @@ def get_subscriptions(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[Subscription] + :rtype: list[TokenBundle] """ kwargs['_return_http_data_only'] = True - return self.get_subscriptions_with_http_info(**kwargs) # noqa: E501 + return self.get_token_bundles_with_http_info(**kwargs) # noqa: E501 - def get_subscriptions_with_http_info(self, **kwargs): # noqa: E501 - """List Subscriptions # noqa: E501 + def get_token_bundles_with_http_info(self, **kwargs): # noqa: E501 + """List Token Bundles # noqa: E501 - List all existing Subscriptions. For example, \"vrchatplus-monthly\" and \"vrchatplus-yearly\". # noqa: E501 + Gets the list of token bundles # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_subscriptions_with_http_info(async_req=True) + >>> thread = api.get_token_bundles_with_http_info(async_req=True) >>> result = thread.get() :param async_req: Whether to execute the request asynchronously. @@ -2063,7 +2771,7 @@ def get_subscriptions_with_http_info(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[Subscription], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(list[TokenBundle], status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() @@ -2086,7 +2794,7 @@ def get_subscriptions_with_http_info(self, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_subscriptions" % key + " to method get_token_bundles" % key ) local_var_params[key] = val del local_var_params['kwargs'] @@ -2111,12 +2819,12 @@ def get_subscriptions_with_http_info(self, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "list[Subscription]", + 200: "list[TokenBundle]", 401: "Error", } return self.api_client.call_api( - '/subscriptions', 'GET', + '/tokenBundles', 'GET', path_params, query_params, header_params, @@ -2132,16 +2840,20 @@ def get_subscriptions_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_tilia_status(self, **kwargs): # noqa: E501 - """Get Tilia Status # noqa: E501 + def get_user_credits_eligible(self, user_id, subscription_id, **kwargs): # noqa: E501 + """Get User Credits Eligiblity # noqa: E501 - Gets the status of Tilia integration # noqa: E501 + Get the user's eligibility status for subscriptions based on available credits. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_tilia_status(async_req=True) + >>> thread = api.get_user_credits_eligible(user_id, subscription_id, async_req=True) >>> result = thread.get() + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param subscription_id: (required) + :type subscription_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -2155,21 +2867,25 @@ def get_tilia_status(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: TiliaStatus + :rtype: UserCreditsEligible """ kwargs['_return_http_data_only'] = True - return self.get_tilia_status_with_http_info(**kwargs) # noqa: E501 + return self.get_user_credits_eligible_with_http_info(user_id, subscription_id, **kwargs) # noqa: E501 - def get_tilia_status_with_http_info(self, **kwargs): # noqa: E501 - """Get Tilia Status # noqa: E501 + def get_user_credits_eligible_with_http_info(self, user_id, subscription_id, **kwargs): # noqa: E501 + """Get User Credits Eligiblity # noqa: E501 - Gets the status of Tilia integration # noqa: E501 + Get the user's eligibility status for subscriptions based on available credits. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_tilia_status_with_http_info(async_req=True) + >>> thread = api.get_user_credits_eligible_with_http_info(user_id, subscription_id, async_req=True) >>> result = thread.get() + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param subscription_id: (required) + :type subscription_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -2191,12 +2907,14 @@ def get_tilia_status_with_http_info(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(TiliaStatus, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(UserCreditsEligible, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ + 'user_id', + 'subscription_id' ] all_params.extend( [ @@ -2214,16 +2932,26 @@ def get_tilia_status_with_http_info(self, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_tilia_status" % key + " to method get_user_credits_eligible" % key ) local_var_params[key] = val del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_user_credits_eligible`") # noqa: E501 + # verify the required parameter 'subscription_id' is set + if self.api_client.client_side_validation and local_var_params.get('subscription_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `subscription_id` when calling `get_user_credits_eligible`") # noqa: E501 collection_formats = {} path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 query_params = [] + if local_var_params.get('subscription_id') is not None: # noqa: E501 + query_params.append(('subscriptionId', local_var_params['subscription_id'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -2239,12 +2967,12 @@ def get_tilia_status_with_http_info(self, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "TiliaStatus", + 200: "UserCreditsEligible", 401: "Error", } return self.api_client.call_api( - '/tilia/status', 'GET', + '/users/{userId}/credits/eligible', 'GET', path_params, query_params, header_params, @@ -2260,18 +2988,20 @@ def get_tilia_status_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_tilia_tos(self, user_id, **kwargs): # noqa: E501 - """Get Tilia TOS Agreement Status # noqa: E501 + def get_user_subscription_eligible(self, user_id, **kwargs): # noqa: E501 + """Get User Subscription Eligiblity # noqa: E501 - Gets the status of the agreement of a user to the Tilia TOS # noqa: E501 + Get the user's eligibility status for subscriptions. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_tilia_tos(user_id, async_req=True) + >>> thread = api.get_user_subscription_eligible(user_id, async_req=True) >>> result = thread.get() :param user_id: Must be a valid user ID. (required) :type user_id: str + :param steam_id: The Steam ID of the user. + :type steam_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -2285,23 +3015,25 @@ def get_tilia_tos(self, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: TiliaTOS + :rtype: UserSubscriptionEligible """ kwargs['_return_http_data_only'] = True - return self.get_tilia_tos_with_http_info(user_id, **kwargs) # noqa: E501 + return self.get_user_subscription_eligible_with_http_info(user_id, **kwargs) # noqa: E501 - def get_tilia_tos_with_http_info(self, user_id, **kwargs): # noqa: E501 - """Get Tilia TOS Agreement Status # noqa: E501 + def get_user_subscription_eligible_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get User Subscription Eligiblity # noqa: E501 - Gets the status of the agreement of a user to the Tilia TOS # noqa: E501 + Get the user's eligibility status for subscriptions. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_tilia_tos_with_http_info(user_id, async_req=True) + >>> thread = api.get_user_subscription_eligible_with_http_info(user_id, async_req=True) >>> result = thread.get() :param user_id: Must be a valid user ID. (required) :type user_id: str + :param steam_id: The Steam ID of the user. + :type steam_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -2323,13 +3055,14 @@ def get_tilia_tos_with_http_info(self, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(TiliaTOS, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(UserSubscriptionEligible, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'user_id' + 'user_id', + 'steam_id' ] all_params.extend( [ @@ -2347,13 +3080,13 @@ def get_tilia_tos_with_http_info(self, user_id, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_tilia_tos" % key + " to method get_user_subscription_eligible" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `user_id` when calling `get_tilia_tos`") # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_user_subscription_eligible`") # noqa: E501 collection_formats = {} @@ -2362,6 +3095,8 @@ def get_tilia_tos_with_http_info(self, user_id, **kwargs): # noqa: E501 path_params['userId'] = local_var_params['user_id'] # noqa: E501 query_params = [] + if local_var_params.get('steam_id') is not None: # noqa: E501 + query_params.append(('steamId', local_var_params['steam_id'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -2377,12 +3112,12 @@ def get_tilia_tos_with_http_info(self, user_id, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "TiliaTOS", + 200: "UserSubscriptionEligible", 401: "Error", } return self.api_client.call_api( - '/user/{userId}/tilia/tos', 'GET', + '/users/{userId}/subscription/eligible', 'GET', path_params, query_params, header_params, @@ -2398,16 +3133,18 @@ def get_tilia_tos_with_http_info(self, user_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_token_bundles(self, **kwargs): # noqa: E501 - """List Token Bundles # noqa: E501 + def purchase_product_listing(self, **kwargs): # noqa: E501 + """Purchase Product Listing # noqa: E501 - Gets the list of token bundles # noqa: E501 + Purchases a product listing # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_token_bundles(async_req=True) + >>> thread = api.purchase_product_listing(async_req=True) >>> result = thread.get() + :param purchase_product_listing_request: + :type purchase_product_listing_request: PurchaseProductListingRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -2421,21 +3158,23 @@ def get_token_bundles(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[TokenBundle] + :rtype: ProductPurchase """ kwargs['_return_http_data_only'] = True - return self.get_token_bundles_with_http_info(**kwargs) # noqa: E501 + return self.purchase_product_listing_with_http_info(**kwargs) # noqa: E501 - def get_token_bundles_with_http_info(self, **kwargs): # noqa: E501 - """List Token Bundles # noqa: E501 + def purchase_product_listing_with_http_info(self, **kwargs): # noqa: E501 + """Purchase Product Listing # noqa: E501 - Gets the list of token bundles # noqa: E501 + Purchases a product listing # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_token_bundles_with_http_info(async_req=True) + >>> thread = api.purchase_product_listing_with_http_info(async_req=True) >>> result = thread.get() + :param purchase_product_listing_request: + :type purchase_product_listing_request: PurchaseProductListingRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -2457,12 +3196,13 @@ def get_token_bundles_with_http_info(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[TokenBundle], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(ProductPurchase, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ + 'purchase_product_listing_request' ] all_params.extend( [ @@ -2480,7 +3220,7 @@ def get_token_bundles_with_http_info(self, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_token_bundles" % key + " to method purchase_product_listing" % key ) local_var_params[key] = val del local_var_params['kwargs'] @@ -2497,20 +3237,30 @@ def get_token_bundles_with_http_info(self, **kwargs): # noqa: E501 local_var_files = {} body_params = None + if 'purchase_product_listing_request' in local_var_params: + body_params = local_var_params['purchase_product_listing_request'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + # Authentication setting auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "list[TokenBundle]", + 200: "ProductPurchase", 401: "Error", } return self.api_client.call_api( - '/tokenBundles', 'GET', + '/economy/purchase/listing', 'POST', path_params, query_params, header_params, @@ -2526,20 +3276,20 @@ def get_token_bundles_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_user_subscription_eligible(self, user_id, **kwargs): # noqa: E501 - """Get User Subscription Eligiblity # noqa: E501 + def update_tilia_tos(self, user_id, **kwargs): # noqa: E501 + """Update Tilia TOS Agreement Status # noqa: E501 - Get the user's eligibility status for subscriptions. # noqa: E501 + Updates the status of the agreement of a user to the Tilia TOS # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_user_subscription_eligible(user_id, async_req=True) + >>> thread = api.update_tilia_tos(user_id, async_req=True) >>> result = thread.get() :param user_id: Must be a valid user ID. (required) :type user_id: str - :param steam_id: The Steam ID of the user. - :type steam_id: str + :param update_tilia_tos_request: + :type update_tilia_tos_request: UpdateTiliaTOSRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -2553,25 +3303,25 @@ def get_user_subscription_eligible(self, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: UserSubscriptionEligible + :rtype: object """ kwargs['_return_http_data_only'] = True - return self.get_user_subscription_eligible_with_http_info(user_id, **kwargs) # noqa: E501 + return self.update_tilia_tos_with_http_info(user_id, **kwargs) # noqa: E501 - def get_user_subscription_eligible_with_http_info(self, user_id, **kwargs): # noqa: E501 - """Get User Subscription Eligiblity # noqa: E501 + def update_tilia_tos_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Update Tilia TOS Agreement Status # noqa: E501 - Get the user's eligibility status for subscriptions. # noqa: E501 + Updates the status of the agreement of a user to the Tilia TOS # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_user_subscription_eligible_with_http_info(user_id, async_req=True) + >>> thread = api.update_tilia_tos_with_http_info(user_id, async_req=True) >>> result = thread.get() :param user_id: Must be a valid user ID. (required) :type user_id: str - :param steam_id: The Steam ID of the user. - :type steam_id: str + :param update_tilia_tos_request: + :type update_tilia_tos_request: UpdateTiliaTOSRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -2593,14 +3343,14 @@ def get_user_subscription_eligible_with_http_info(self, user_id, **kwargs): # n :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(UserSubscriptionEligible, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(object, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ 'user_id', - 'steam_id' + 'update_tilia_tos_request' ] all_params.extend( [ @@ -2618,13 +3368,13 @@ def get_user_subscription_eligible_with_http_info(self, user_id, **kwargs): # n if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_user_subscription_eligible" % key + " to method update_tilia_tos" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `user_id` when calling `get_user_subscription_eligible`") # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `update_tilia_tos`") # noqa: E501 collection_formats = {} @@ -2633,8 +3383,6 @@ def get_user_subscription_eligible_with_http_info(self, user_id, **kwargs): # n path_params['userId'] = local_var_params['user_id'] # noqa: E501 query_params = [] - if local_var_params.get('steam_id') is not None: # noqa: E501 - query_params.append(('steamId', local_var_params['steam_id'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -2642,20 +3390,30 @@ def get_user_subscription_eligible_with_http_info(self, user_id, **kwargs): # n local_var_files = {} body_params = None + if 'update_tilia_tos_request' in local_var_params: + body_params = local_var_params['update_tilia_tos_request'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'PUT', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + # Authentication setting auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "UserSubscriptionEligible", + 200: "object", 401: "Error", } return self.api_client.call_api( - '/users/{userId}/subscription/eligible', 'GET', + '/user/{userId}/tilia/tos', 'PUT', path_params, query_params, header_params, diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index 3275a2de..63914954 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -897,6 +897,9 @@ def get_favorites_with_http_info(self, **kwargs): # noqa: E501 raise ApiValueError("Invalid value for parameter `n` when calling `get_favorites`, must be a value greater than or equal to `1`") # noqa: E501 if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 raise ApiValueError("Invalid value for parameter `offset` when calling `get_favorites`, must be a value greater than or equal to `0`") # noqa: E501 + if self.api_client.client_side_validation and ('tag' in local_var_params and # noqa: E501 + len(local_var_params['tag']) < 1): # noqa: E501 + raise ApiValueError("Invalid value for parameter `tag` when calling `get_favorites`, length must be greater than or equal to `1`") # noqa: E501 collection_formats = {} path_params = {} diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index 13666ce6..2f904bd2 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -1080,6 +1080,164 @@ def get_admin_asset_bundle_with_http_info(self, admin_asset_bundle_id, **kwargs) collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def get_content_agreement_status(self, agreement_code, content_id, version, **kwargs): # noqa: E501 + """Get Content Agreement Status # noqa: E501 + + Returns the agreement status of the currently authenticated user for the given agreementCode, contentId, and version. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_content_agreement_status(agreement_code, content_id, version, async_req=True) + >>> result = thread.get() + + :param agreement_code: The type of agreement (currently content.copyright.owned) (required) + :type agreement_code: AgreementCode + :param content_id: The id of the content being uploaded, such as a WorldID, AvatarID, or PropID (required) + :type content_id: str + :param version: The version of the agreement (currently 1) (required) + :type version: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: AgreementStatus + """ + kwargs['_return_http_data_only'] = True + return self.get_content_agreement_status_with_http_info(agreement_code, content_id, version, **kwargs) # noqa: E501 + + def get_content_agreement_status_with_http_info(self, agreement_code, content_id, version, **kwargs): # noqa: E501 + """Get Content Agreement Status # noqa: E501 + + Returns the agreement status of the currently authenticated user for the given agreementCode, contentId, and version. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_content_agreement_status_with_http_info(agreement_code, content_id, version, async_req=True) + >>> result = thread.get() + + :param agreement_code: The type of agreement (currently content.copyright.owned) (required) + :type agreement_code: AgreementCode + :param content_id: The id of the content being uploaded, such as a WorldID, AvatarID, or PropID (required) + :type content_id: str + :param version: The version of the agreement (currently 1) (required) + :type version: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(AgreementStatus, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'agreement_code', + 'content_id', + 'version' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_content_agreement_status" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'agreement_code' is set + if self.api_client.client_side_validation and local_var_params.get('agreement_code') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `agreement_code` when calling `get_content_agreement_status`") # noqa: E501 + # verify the required parameter 'content_id' is set + if self.api_client.client_side_validation and local_var_params.get('content_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `content_id` when calling `get_content_agreement_status`") # noqa: E501 + # verify the required parameter 'version' is set + if self.api_client.client_side_validation and local_var_params.get('version') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `version` when calling `get_content_agreement_status`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if local_var_params.get('agreement_code') is not None: # noqa: E501 + query_params.append(('agreementCode', local_var_params['agreement_code'])) # noqa: E501 + if local_var_params.get('content_id') is not None: # noqa: E501 + query_params.append(('contentId', local_var_params['content_id'])) # noqa: E501 + if local_var_params.get('version') is not None: # noqa: E501 + query_params.append(('version', local_var_params['version'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "AgreementStatus", + 401: "Error", + } + + return self.api_client.call_api( + '/agreement', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def get_file(self, file_id, **kwargs): # noqa: E501 """Show File # noqa: E501 @@ -1994,6 +2152,149 @@ def get_files_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def set_group_gallery_file_order(self, **kwargs): # noqa: E501 + """Set Group Gallery File Order # noqa: E501 + + Set the order of the files in a group gallery # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.set_group_gallery_file_order(async_req=True) + >>> result = thread.get() + + :param group_gallery_file_order_request: + :type group_gallery_file_order_request: GroupGalleryFileOrderRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: GroupGalleryFileOrder + """ + kwargs['_return_http_data_only'] = True + return self.set_group_gallery_file_order_with_http_info(**kwargs) # noqa: E501 + + def set_group_gallery_file_order_with_http_info(self, **kwargs): # noqa: E501 + """Set Group Gallery File Order # noqa: E501 + + Set the order of the files in a group gallery # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.set_group_gallery_file_order_with_http_info(async_req=True) + >>> result = thread.get() + + :param group_gallery_file_order_request: + :type group_gallery_file_order_request: GroupGalleryFileOrderRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(GroupGalleryFileOrder, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_gallery_file_order_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method set_group_gallery_file_order" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'group_gallery_file_order_request' in local_var_params: + body_params = local_var_params['group_gallery_file_order_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'PUT', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "GroupGalleryFileOrder", + 404: "Error", + } + + return self.api_client.call_api( + '/files/order', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def start_file_data_upload(self, file_id, version_id, file_type, **kwargs): # noqa: E501 """Start FileData Upload # noqa: E501 @@ -2163,6 +2464,299 @@ def start_file_data_upload_with_http_info(self, file_id, version_id, file_type, collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def submit_content_agreement(self, **kwargs): # noqa: E501 + """Submit Content Agreement # noqa: E501 + + Returns the agreement of the currently authenticated user for the given agreementCode, contentId, and version. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.submit_content_agreement(async_req=True) + >>> result = thread.get() + + :param agreement_request: + :type agreement_request: AgreementRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Agreement + """ + kwargs['_return_http_data_only'] = True + return self.submit_content_agreement_with_http_info(**kwargs) # noqa: E501 + + def submit_content_agreement_with_http_info(self, **kwargs): # noqa: E501 + """Submit Content Agreement # noqa: E501 + + Returns the agreement of the currently authenticated user for the given agreementCode, contentId, and version. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.submit_content_agreement_with_http_info(async_req=True) + >>> result = thread.get() + + :param agreement_request: + :type agreement_request: AgreementRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Agreement, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'agreement_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method submit_content_agreement" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'agreement_request' in local_var_params: + body_params = local_var_params['agreement_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "Agreement", + 401: "Error", + } + + return self.api_client.call_api( + '/agreement', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def update_asset_review_notes(self, asset_review_id, **kwargs): # noqa: E501 + """Update Asset Review Notes # noqa: E501 + + Update notes regarding an asset review. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_asset_review_notes(asset_review_id, async_req=True) + >>> result = thread.get() + + :param asset_review_id: Must be an valid asset review ID. (required) + :type asset_review_id: str + :param update_asset_review_notes_request: + :type update_asset_review_notes_request: UpdateAssetReviewNotesRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + kwargs['_return_http_data_only'] = True + return self.update_asset_review_notes_with_http_info(asset_review_id, **kwargs) # noqa: E501 + + def update_asset_review_notes_with_http_info(self, asset_review_id, **kwargs): # noqa: E501 + """Update Asset Review Notes # noqa: E501 + + Update notes regarding an asset review. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_asset_review_notes_with_http_info(asset_review_id, async_req=True) + >>> result = thread.get() + + :param asset_review_id: Must be an valid asset review ID. (required) + :type asset_review_id: str + :param update_asset_review_notes_request: + :type update_asset_review_notes_request: UpdateAssetReviewNotesRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + + local_var_params = locals() + + all_params = [ + 'asset_review_id', + 'update_asset_review_notes_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method update_asset_review_notes" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'asset_review_id' is set + if self.api_client.client_side_validation and local_var_params.get('asset_review_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `asset_review_id` when calling `update_asset_review_notes`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'asset_review_id' in local_var_params: + path_params['assetReviewId'] = local_var_params['asset_review_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'update_asset_review_notes_request' in local_var_params: + body_params = local_var_params['update_asset_review_notes_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'PUT', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = {} + + return self.api_client.call_api( + '/assetReview/{assetReviewId}/notes', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def upload_gallery_image(self, file, **kwargs): # noqa: E501 """Upload gallery image # noqa: E501 @@ -2465,16 +3059,18 @@ def upload_image(self, file, tag, **kwargs): # noqa: E501 :param file: The binary blob of the png file. (required) :type file: file - :param tag: Needs to be either icon, gallery, sticker, emoji, or emojianimated (required) - :type tag: str - :param frames: Required for emojianimated. Total number of frames to be animated (2-64) + :param tag: (required) + :type tag: ImagePurpose + :param animation_style: + :type animation_style: ImageAnimationStyle + :param frames: Required for animated images. Total number of frames of the spritesheet to be animated. :type frames: int - :param frames_over_time: Required for emojianimated. Animation frames per second (1-64) + :param frames_over_time: Required for animated images. Animation frames per second. :type frames_over_time: int - :param animation_style: Animation style for sticker, required for emoji. - :type animation_style: str - :param mask_tag: Mask of the sticker, optional for emoji. - :type mask_tag: str + :param loop_style: + :type loop_style: ImageLoopStyle + :param mask_tag: + :type mask_tag: ImageMask :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -2505,16 +3101,18 @@ def upload_image_with_http_info(self, file, tag, **kwargs): # noqa: E501 :param file: The binary blob of the png file. (required) :type file: file - :param tag: Needs to be either icon, gallery, sticker, emoji, or emojianimated (required) - :type tag: str - :param frames: Required for emojianimated. Total number of frames to be animated (2-64) + :param tag: (required) + :type tag: ImagePurpose + :param animation_style: + :type animation_style: ImageAnimationStyle + :param frames: Required for animated images. Total number of frames of the spritesheet to be animated. :type frames: int - :param frames_over_time: Required for emojianimated. Animation frames per second (1-64) + :param frames_over_time: Required for animated images. Animation frames per second. :type frames_over_time: int - :param animation_style: Animation style for sticker, required for emoji. - :type animation_style: str - :param mask_tag: Mask of the sticker, optional for emoji. - :type mask_tag: str + :param loop_style: + :type loop_style: ImageLoopStyle + :param mask_tag: + :type mask_tag: ImageMask :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -2544,9 +3142,10 @@ def upload_image_with_http_info(self, file, tag, **kwargs): # noqa: E501 all_params = [ 'file', 'tag', + 'animation_style', 'frames', 'frames_over_time', - 'animation_style', + 'loop_style', 'mask_tag' ] all_params.extend( @@ -2576,6 +3175,14 @@ def upload_image_with_http_info(self, file, tag, **kwargs): # noqa: E501 if self.api_client.client_side_validation and local_var_params.get('tag') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `tag` when calling `upload_image`") # noqa: E501 + if self.api_client.client_side_validation and 'frames' in local_var_params and local_var_params['frames'] > 64: # noqa: E501 + raise ApiValueError("Invalid value for parameter `frames` when calling `upload_image`, must be a value less than or equal to `64`") # noqa: E501 + if self.api_client.client_side_validation and 'frames' in local_var_params and local_var_params['frames'] < 2: # noqa: E501 + raise ApiValueError("Invalid value for parameter `frames` when calling `upload_image`, must be a value greater than or equal to `2`") # noqa: E501 + if self.api_client.client_side_validation and 'frames_over_time' in local_var_params and local_var_params['frames_over_time'] > 64: # noqa: E501 + raise ApiValueError("Invalid value for parameter `frames_over_time` when calling `upload_image`, must be a value less than or equal to `64`") # noqa: E501 + if self.api_client.client_side_validation and 'frames_over_time' in local_var_params and local_var_params['frames_over_time'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `frames_over_time` when calling `upload_image`, must be a value greater than or equal to `1`") # noqa: E501 collection_formats = {} path_params = {} @@ -2586,18 +3193,20 @@ def upload_image_with_http_info(self, file, tag, **kwargs): # noqa: E501 form_params = [] local_var_files = {} + if 'animation_style' in local_var_params: + form_params.append(('animationStyle', local_var_params['animation_style'])) # noqa: E501 if 'file' in local_var_params: local_var_files['file'] = local_var_params['file'] # noqa: E501 - if 'tag' in local_var_params: - form_params.append(('tag', local_var_params['tag'])) # noqa: E501 if 'frames' in local_var_params: form_params.append(('frames', local_var_params['frames'])) # noqa: E501 if 'frames_over_time' in local_var_params: form_params.append(('framesOverTime', local_var_params['frames_over_time'])) # noqa: E501 - if 'animation_style' in local_var_params: - form_params.append(('animationStyle', local_var_params['animation_style'])) # noqa: E501 + if 'loop_style' in local_var_params: + form_params.append(('loopStyle', local_var_params['loop_style'])) # noqa: E501 if 'mask_tag' in local_var_params: form_params.append(('maskTag', local_var_params['mask_tag'])) # noqa: E501 + if 'tag' in local_var_params: + form_params.append(('tag', local_var_params['tag'])) # noqa: E501 body_params = None # HTTP header `Accept` diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index d0758c5b..c9b675e1 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,6 +36,164 @@ def __init__(self, api_client=None): api_client = ApiClient() self.api_client = api_client + def boop(self, user_id, boop_request, **kwargs): # noqa: E501 + """Send Boop # noqa: E501 + + Send a boop to another user. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.boop(user_id, boop_request, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param boop_request: (required) + :type boop_request: BoopRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Success + """ + kwargs['_return_http_data_only'] = True + return self.boop_with_http_info(user_id, boop_request, **kwargs) # noqa: E501 + + def boop_with_http_info(self, user_id, boop_request, **kwargs): # noqa: E501 + """Send Boop # noqa: E501 + + Send a boop to another user. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.boop_with_http_info(user_id, boop_request, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param boop_request: (required) + :type boop_request: BoopRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Success, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_id', + 'boop_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method boop" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `boop`") # noqa: E501 + # verify the required parameter 'boop_request' is set + if self.api_client.client_side_validation and local_var_params.get('boop_request') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `boop_request` when calling `boop`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'boop_request' in local_var_params: + body_params = local_var_params['boop_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "Success", + 400: "Error", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/users/{userId}/boop', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def delete_friend_request(self, user_id, **kwargs): # noqa: E501 """Delete Friend Request # noqa: E501 diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index 5ce0c528..1d0115b3 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -676,14 +676,14 @@ def ban_group_member_with_http_info(self, group_id, ban_group_member_request, ** collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def cancel_group_request(self, group_id, **kwargs): # noqa: E501 - """Cancel Group Join Request # noqa: E501 + def block_group(self, group_id, **kwargs): # noqa: E501 + """Block Group # noqa: E501 - Cancels a request sent to join the group. # noqa: E501 + Blocks a Group for the current user. To unblock a group, call kickGroupMember (DELETE /groups/{groupId}/members/{userId}). # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.cancel_group_request(group_id, async_req=True) + >>> thread = api.block_group(group_id, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) @@ -701,19 +701,19 @@ def cancel_group_request(self, group_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: None + :rtype: Success """ kwargs['_return_http_data_only'] = True - return self.cancel_group_request_with_http_info(group_id, **kwargs) # noqa: E501 + return self.block_group_with_http_info(group_id, **kwargs) # noqa: E501 - def cancel_group_request_with_http_info(self, group_id, **kwargs): # noqa: E501 - """Cancel Group Join Request # noqa: E501 + def block_group_with_http_info(self, group_id, **kwargs): # noqa: E501 + """Block Group # noqa: E501 - Cancels a request sent to join the group. # noqa: E501 + Blocks a Group for the current user. To unblock a group, call kickGroupMember (DELETE /groups/{groupId}/members/{userId}). # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.cancel_group_request_with_http_info(group_id, async_req=True) + >>> thread = api.block_group_with_http_info(group_id, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) @@ -739,7 +739,7 @@ def cancel_group_request_with_http_info(self, group_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: None + :rtype: tuple(Success, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() @@ -763,13 +763,13 @@ def cancel_group_request_with_http_info(self, group_id, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method cancel_group_request" % key + " to method block_group" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `group_id` when calling `cancel_group_request`") # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `block_group`") # noqa: E501 collection_formats = {} @@ -792,10 +792,16 @@ def cancel_group_request_with_http_info(self, group_id, **kwargs): # noqa: E501 # Authentication setting auth_settings = ['authCookie'] # noqa: E501 - response_types_map = {} + response_types_map = { + 200: "Success", + 400: "Error", + 401: "Error", + 403: "Error", + 404: "Error", + } return self.api_client.call_api( - '/groups/{groupId}/requests', 'DELETE', + '/groups/{groupId}/block', 'POST', path_params, query_params, header_params, @@ -811,18 +817,18 @@ def cancel_group_request_with_http_info(self, group_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def create_group(self, create_group_request, **kwargs): # noqa: E501 - """Create Group # noqa: E501 + def cancel_group_request(self, group_id, **kwargs): # noqa: E501 + """Cancel Group Join Request # noqa: E501 - Creates a Group and returns a Group object. **Requires VRC+ Subscription.** # noqa: E501 + Cancels a request sent to join the group. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_group(create_group_request, async_req=True) + >>> thread = api.cancel_group_request(group_id, async_req=True) >>> result = thread.get() - :param create_group_request: (required) - :type create_group_request: CreateGroupRequest + :param group_id: Must be a valid group ID. (required) + :type group_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -836,23 +842,23 @@ def create_group(self, create_group_request, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: Group + :rtype: None """ kwargs['_return_http_data_only'] = True - return self.create_group_with_http_info(create_group_request, **kwargs) # noqa: E501 + return self.cancel_group_request_with_http_info(group_id, **kwargs) # noqa: E501 - def create_group_with_http_info(self, create_group_request, **kwargs): # noqa: E501 - """Create Group # noqa: E501 + def cancel_group_request_with_http_info(self, group_id, **kwargs): # noqa: E501 + """Cancel Group Join Request # noqa: E501 - Creates a Group and returns a Group object. **Requires VRC+ Subscription.** # noqa: E501 + Cancels a request sent to join the group. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_group_with_http_info(create_group_request, async_req=True) + >>> thread = api.cancel_group_request_with_http_info(group_id, async_req=True) >>> result = thread.get() - :param create_group_request: (required) - :type create_group_request: CreateGroupRequest + :param group_id: Must be a valid group ID. (required) + :type group_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -874,13 +880,13 @@ def create_group_with_http_info(self, create_group_request, **kwargs): # noqa: :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(Group, status_code(int), headers(HTTPHeaderDict)) + :rtype: None """ local_var_params = locals() all_params = [ - 'create_group_request' + 'group_id' ] all_params.extend( [ @@ -898,17 +904,19 @@ def create_group_with_http_info(self, create_group_request, **kwargs): # noqa: if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method create_group" % key + " to method cancel_group_request" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'create_group_request' is set - if self.api_client.client_side_validation and local_var_params.get('create_group_request') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `create_group_request` when calling `create_group`") # noqa: E501 + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `cancel_group_request`") # noqa: E501 collection_formats = {} path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 query_params = [] @@ -918,30 +926,17 @@ def create_group_with_http_info(self, create_group_request, **kwargs): # noqa: local_var_files = {} body_params = None - if 'create_group_request' in local_var_params: - body_params = local_var_params['create_group_request'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 - # HTTP header `Content-Type` - content_types_list = local_var_params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'], - 'POST', body_params)) # noqa: E501 - if content_types_list: - header_params['Content-Type'] = content_types_list - # Authentication setting auth_settings = ['authCookie'] # noqa: E501 - response_types_map = { - 200: "Group", - 401: "Error", - } + response_types_map = {} return self.api_client.call_api( - '/groups', 'POST', + '/groups/{groupId}/requests', 'DELETE', path_params, query_params, header_params, @@ -957,20 +952,18 @@ def create_group_with_http_info(self, create_group_request, **kwargs): # noqa: collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def create_group_announcement(self, group_id, create_group_announcement_request, **kwargs): # noqa: E501 - """Create Group Announcement # noqa: E501 + def cancel_group_transfer(self, group_id, **kwargs): # noqa: E501 + """Cancel Group Transfer # noqa: E501 - Creates an Announcement for a Group. Warning: This will also remove all announcements. To make proper announcements, use the posts endpoint instead # noqa: E501 + Cancel a Group Transfer. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_group_announcement(group_id, create_group_announcement_request, async_req=True) + >>> thread = api.cancel_group_transfer(group_id, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str - :param create_group_announcement_request: (required) - :type create_group_announcement_request: CreateGroupAnnouncementRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -984,25 +977,23 @@ def create_group_announcement(self, group_id, create_group_announcement_request, :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: GroupAnnouncement + :rtype: Success """ kwargs['_return_http_data_only'] = True - return self.create_group_announcement_with_http_info(group_id, create_group_announcement_request, **kwargs) # noqa: E501 + return self.cancel_group_transfer_with_http_info(group_id, **kwargs) # noqa: E501 - def create_group_announcement_with_http_info(self, group_id, create_group_announcement_request, **kwargs): # noqa: E501 - """Create Group Announcement # noqa: E501 + def cancel_group_transfer_with_http_info(self, group_id, **kwargs): # noqa: E501 + """Cancel Group Transfer # noqa: E501 - Creates an Announcement for a Group. Warning: This will also remove all announcements. To make proper announcements, use the posts endpoint instead # noqa: E501 + Cancel a Group Transfer. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_group_announcement_with_http_info(group_id, create_group_announcement_request, async_req=True) + >>> thread = api.cancel_group_transfer_with_http_info(group_id, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str - :param create_group_announcement_request: (required) - :type create_group_announcement_request: CreateGroupAnnouncementRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -1024,14 +1015,13 @@ def create_group_announcement_with_http_info(self, group_id, create_group_announ :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(GroupAnnouncement, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(Success, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'group_id', - 'create_group_announcement_request' + 'group_id' ] all_params.extend( [ @@ -1049,16 +1039,13 @@ def create_group_announcement_with_http_info(self, group_id, create_group_announ if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method create_group_announcement" % key + " to method cancel_group_transfer" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `group_id` when calling `create_group_announcement`") # noqa: E501 - # verify the required parameter 'create_group_announcement_request' is set - if self.api_client.client_side_validation and local_var_params.get('create_group_announcement_request') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `create_group_announcement_request` when calling `create_group_announcement`") # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `cancel_group_transfer`") # noqa: E501 collection_formats = {} @@ -1074,31 +1061,22 @@ def create_group_announcement_with_http_info(self, group_id, create_group_announ local_var_files = {} body_params = None - if 'create_group_announcement_request' in local_var_params: - body_params = local_var_params['create_group_announcement_request'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 - # HTTP header `Content-Type` - content_types_list = local_var_params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'], - 'POST', body_params)) # noqa: E501 - if content_types_list: - header_params['Content-Type'] = content_types_list - # Authentication setting auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "GroupAnnouncement", + 200: "Success", + 400: "Error", 401: "Error", 404: "Error", } return self.api_client.call_api( - '/groups/{groupId}/announcement', 'POST', + '/groups/{groupId}/transfer', 'DELETE', path_params, query_params, header_params, @@ -1114,20 +1092,18 @@ def create_group_announcement_with_http_info(self, group_id, create_group_announ collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def create_group_gallery(self, group_id, create_group_gallery_request, **kwargs): # noqa: E501 - """Create Group Gallery # noqa: E501 + def create_group(self, create_group_request, **kwargs): # noqa: E501 + """Create Group # noqa: E501 - Creates a gallery for a Group. # noqa: E501 + Creates a Group and returns a Group object. **Requires VRC+ Subscription.** # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_group_gallery(group_id, create_group_gallery_request, async_req=True) + >>> thread = api.create_group(create_group_request, async_req=True) >>> result = thread.get() - :param group_id: Must be a valid group ID. (required) - :type group_id: str - :param create_group_gallery_request: (required) - :type create_group_gallery_request: CreateGroupGalleryRequest + :param create_group_request: (required) + :type create_group_request: CreateGroupRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -1141,25 +1117,23 @@ def create_group_gallery(self, group_id, create_group_gallery_request, **kwargs) :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: GroupGallery + :rtype: Group """ kwargs['_return_http_data_only'] = True - return self.create_group_gallery_with_http_info(group_id, create_group_gallery_request, **kwargs) # noqa: E501 + return self.create_group_with_http_info(create_group_request, **kwargs) # noqa: E501 - def create_group_gallery_with_http_info(self, group_id, create_group_gallery_request, **kwargs): # noqa: E501 - """Create Group Gallery # noqa: E501 + def create_group_with_http_info(self, create_group_request, **kwargs): # noqa: E501 + """Create Group # noqa: E501 - Creates a gallery for a Group. # noqa: E501 + Creates a Group and returns a Group object. **Requires VRC+ Subscription.** # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_group_gallery_with_http_info(group_id, create_group_gallery_request, async_req=True) + >>> thread = api.create_group_with_http_info(create_group_request, async_req=True) >>> result = thread.get() - :param group_id: Must be a valid group ID. (required) - :type group_id: str - :param create_group_gallery_request: (required) - :type create_group_gallery_request: CreateGroupGalleryRequest + :param create_group_request: (required) + :type create_group_request: CreateGroupRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -1181,14 +1155,13 @@ def create_group_gallery_with_http_info(self, group_id, create_group_gallery_req :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(GroupGallery, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(Group, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'group_id', - 'create_group_gallery_request' + 'create_group_request' ] all_params.extend( [ @@ -1206,22 +1179,17 @@ def create_group_gallery_with_http_info(self, group_id, create_group_gallery_req if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method create_group_gallery" % key + " to method create_group" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'group_id' is set - if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `group_id` when calling `create_group_gallery`") # noqa: E501 - # verify the required parameter 'create_group_gallery_request' is set - if self.api_client.client_side_validation and local_var_params.get('create_group_gallery_request') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `create_group_gallery_request` when calling `create_group_gallery`") # noqa: E501 + # verify the required parameter 'create_group_request' is set + if self.api_client.client_side_validation and local_var_params.get('create_group_request') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `create_group_request` when calling `create_group`") # noqa: E501 collection_formats = {} path_params = {} - if 'group_id' in local_var_params: - path_params['groupId'] = local_var_params['group_id'] # noqa: E501 query_params = [] @@ -1231,8 +1199,8 @@ def create_group_gallery_with_http_info(self, group_id, create_group_gallery_req local_var_files = {} body_params = None - if 'create_group_gallery_request' in local_var_params: - body_params = local_var_params['create_group_gallery_request'] + if 'create_group_request' in local_var_params: + body_params = local_var_params['create_group_request'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 @@ -1249,13 +1217,12 @@ def create_group_gallery_with_http_info(self, group_id, create_group_gallery_req auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "GroupGallery", + 200: "Group", 401: "Error", - 404: "Error", } return self.api_client.call_api( - '/groups/{groupId}/galleries', 'POST', + '/groups', 'POST', path_params, query_params, header_params, @@ -1271,20 +1238,20 @@ def create_group_gallery_with_http_info(self, group_id, create_group_gallery_req collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def create_group_invite(self, group_id, create_group_invite_request, **kwargs): # noqa: E501 - """Invite User to Group # noqa: E501 + def create_group_announcement(self, group_id, create_group_announcement_request, **kwargs): # noqa: E501 + """Create Group Announcement # noqa: E501 - Sends an invite to a user to join the group. # noqa: E501 + Creates an Announcement for a Group. Warning: This will also remove all announcements. To make proper announcements, use the posts endpoint instead # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_group_invite(group_id, create_group_invite_request, async_req=True) + >>> thread = api.create_group_announcement(group_id, create_group_announcement_request, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str - :param create_group_invite_request: (required) - :type create_group_invite_request: CreateGroupInviteRequest + :param create_group_announcement_request: (required) + :type create_group_announcement_request: CreateGroupAnnouncementRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -1298,25 +1265,25 @@ def create_group_invite(self, group_id, create_group_invite_request, **kwargs): :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: None + :rtype: GroupAnnouncement """ kwargs['_return_http_data_only'] = True - return self.create_group_invite_with_http_info(group_id, create_group_invite_request, **kwargs) # noqa: E501 + return self.create_group_announcement_with_http_info(group_id, create_group_announcement_request, **kwargs) # noqa: E501 - def create_group_invite_with_http_info(self, group_id, create_group_invite_request, **kwargs): # noqa: E501 - """Invite User to Group # noqa: E501 + def create_group_announcement_with_http_info(self, group_id, create_group_announcement_request, **kwargs): # noqa: E501 + """Create Group Announcement # noqa: E501 - Sends an invite to a user to join the group. # noqa: E501 + Creates an Announcement for a Group. Warning: This will also remove all announcements. To make proper announcements, use the posts endpoint instead # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_group_invite_with_http_info(group_id, create_group_invite_request, async_req=True) + >>> thread = api.create_group_announcement_with_http_info(group_id, create_group_announcement_request, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str - :param create_group_invite_request: (required) - :type create_group_invite_request: CreateGroupInviteRequest + :param create_group_announcement_request: (required) + :type create_group_announcement_request: CreateGroupAnnouncementRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -1338,14 +1305,14 @@ def create_group_invite_with_http_info(self, group_id, create_group_invite_reque :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: None + :rtype: tuple(GroupAnnouncement, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ 'group_id', - 'create_group_invite_request' + 'create_group_announcement_request' ] all_params.extend( [ @@ -1363,16 +1330,16 @@ def create_group_invite_with_http_info(self, group_id, create_group_invite_reque if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method create_group_invite" % key + " to method create_group_announcement" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `group_id` when calling `create_group_invite`") # noqa: E501 - # verify the required parameter 'create_group_invite_request' is set - if self.api_client.client_side_validation and local_var_params.get('create_group_invite_request') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `create_group_invite_request` when calling `create_group_invite`") # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `create_group_announcement`") # noqa: E501 + # verify the required parameter 'create_group_announcement_request' is set + if self.api_client.client_side_validation and local_var_params.get('create_group_announcement_request') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `create_group_announcement_request` when calling `create_group_announcement`") # noqa: E501 collection_formats = {} @@ -1388,8 +1355,8 @@ def create_group_invite_with_http_info(self, group_id, create_group_invite_reque local_var_files = {} body_params = None - if 'create_group_invite_request' in local_var_params: - body_params = local_var_params['create_group_invite_request'] + if 'create_group_announcement_request' in local_var_params: + body_params = local_var_params['create_group_announcement_request'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 @@ -1405,10 +1372,14 @@ def create_group_invite_with_http_info(self, group_id, create_group_invite_reque # Authentication setting auth_settings = ['authCookie'] # noqa: E501 - response_types_map = {} + response_types_map = { + 200: "GroupAnnouncement", + 401: "Error", + 404: "Error", + } return self.api_client.call_api( - '/groups/{groupId}/invites', 'POST', + '/groups/{groupId}/announcement', 'POST', path_params, query_params, header_params, @@ -1424,20 +1395,20 @@ def create_group_invite_with_http_info(self, group_id, create_group_invite_reque collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def create_group_role(self, group_id, create_group_role_request, **kwargs): # noqa: E501 - """Create GroupRole # noqa: E501 + def create_group_gallery(self, group_id, create_group_gallery_request, **kwargs): # noqa: E501 + """Create Group Gallery # noqa: E501 - Create a Group role. # noqa: E501 + Creates a gallery for a Group. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_group_role(group_id, create_group_role_request, async_req=True) + >>> thread = api.create_group_gallery(group_id, create_group_gallery_request, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str - :param create_group_role_request: (required) - :type create_group_role_request: CreateGroupRoleRequest + :param create_group_gallery_request: (required) + :type create_group_gallery_request: CreateGroupGalleryRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -1451,25 +1422,25 @@ def create_group_role(self, group_id, create_group_role_request, **kwargs): # n :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: GroupRole + :rtype: GroupGallery """ kwargs['_return_http_data_only'] = True - return self.create_group_role_with_http_info(group_id, create_group_role_request, **kwargs) # noqa: E501 + return self.create_group_gallery_with_http_info(group_id, create_group_gallery_request, **kwargs) # noqa: E501 - def create_group_role_with_http_info(self, group_id, create_group_role_request, **kwargs): # noqa: E501 - """Create GroupRole # noqa: E501 + def create_group_gallery_with_http_info(self, group_id, create_group_gallery_request, **kwargs): # noqa: E501 + """Create Group Gallery # noqa: E501 - Create a Group role. # noqa: E501 + Creates a gallery for a Group. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_group_role_with_http_info(group_id, create_group_role_request, async_req=True) + >>> thread = api.create_group_gallery_with_http_info(group_id, create_group_gallery_request, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str - :param create_group_role_request: (required) - :type create_group_role_request: CreateGroupRoleRequest + :param create_group_gallery_request: (required) + :type create_group_gallery_request: CreateGroupGalleryRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -1491,14 +1462,14 @@ def create_group_role_with_http_info(self, group_id, create_group_role_request, :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(GroupRole, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(GroupGallery, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ 'group_id', - 'create_group_role_request' + 'create_group_gallery_request' ] all_params.extend( [ @@ -1516,16 +1487,16 @@ def create_group_role_with_http_info(self, group_id, create_group_role_request, if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method create_group_role" % key + " to method create_group_gallery" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `group_id` when calling `create_group_role`") # noqa: E501 - # verify the required parameter 'create_group_role_request' is set - if self.api_client.client_side_validation and local_var_params.get('create_group_role_request') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `create_group_role_request` when calling `create_group_role`") # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `create_group_gallery`") # noqa: E501 + # verify the required parameter 'create_group_gallery_request' is set + if self.api_client.client_side_validation and local_var_params.get('create_group_gallery_request') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `create_group_gallery_request` when calling `create_group_gallery`") # noqa: E501 collection_formats = {} @@ -1541,8 +1512,8 @@ def create_group_role_with_http_info(self, group_id, create_group_role_request, local_var_files = {} body_params = None - if 'create_group_role_request' in local_var_params: - body_params = local_var_params['create_group_role_request'] + if 'create_group_gallery_request' in local_var_params: + body_params = local_var_params['create_group_gallery_request'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 @@ -1559,13 +1530,13 @@ def create_group_role_with_http_info(self, group_id, create_group_role_request, auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "GroupRole", + 200: "GroupGallery", 401: "Error", 404: "Error", } return self.api_client.call_api( - '/groups/{groupId}/roles', 'POST', + '/groups/{groupId}/galleries', 'POST', path_params, query_params, header_params, @@ -1581,18 +1552,20 @@ def create_group_role_with_http_info(self, group_id, create_group_role_request, collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def delete_group(self, group_id, **kwargs): # noqa: E501 - """Delete Group # noqa: E501 + def create_group_invite(self, group_id, create_group_invite_request, **kwargs): # noqa: E501 + """Invite User to Group # noqa: E501 - Deletes a Group. # noqa: E501 + Sends an invite to a user to join the group. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_group(group_id, async_req=True) + >>> thread = api.create_group_invite(group_id, create_group_invite_request, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str + :param create_group_invite_request: (required) + :type create_group_invite_request: CreateGroupInviteRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -1606,23 +1579,25 @@ def delete_group(self, group_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: Success + :rtype: None """ kwargs['_return_http_data_only'] = True - return self.delete_group_with_http_info(group_id, **kwargs) # noqa: E501 + return self.create_group_invite_with_http_info(group_id, create_group_invite_request, **kwargs) # noqa: E501 - def delete_group_with_http_info(self, group_id, **kwargs): # noqa: E501 - """Delete Group # noqa: E501 + def create_group_invite_with_http_info(self, group_id, create_group_invite_request, **kwargs): # noqa: E501 + """Invite User to Group # noqa: E501 - Deletes a Group. # noqa: E501 + Sends an invite to a user to join the group. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_group_with_http_info(group_id, async_req=True) + >>> thread = api.create_group_invite_with_http_info(group_id, create_group_invite_request, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str + :param create_group_invite_request: (required) + :type create_group_invite_request: CreateGroupInviteRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -1644,13 +1619,14 @@ def delete_group_with_http_info(self, group_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(Success, status_code(int), headers(HTTPHeaderDict)) + :rtype: None """ local_var_params = locals() all_params = [ - 'group_id' + 'group_id', + 'create_group_invite_request' ] all_params.extend( [ @@ -1668,13 +1644,16 @@ def delete_group_with_http_info(self, group_id, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method delete_group" % key + " to method create_group_invite" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `group_id` when calling `delete_group`") # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `create_group_invite`") # noqa: E501 + # verify the required parameter 'create_group_invite_request' is set + if self.api_client.client_side_validation and local_var_params.get('create_group_invite_request') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `create_group_invite_request` when calling `create_group_invite`") # noqa: E501 collection_formats = {} @@ -1690,21 +1669,27 @@ def delete_group_with_http_info(self, group_id, **kwargs): # noqa: E501 local_var_files = {} body_params = None + if 'create_group_invite_request' in local_var_params: + body_params = local_var_params['create_group_invite_request'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + # Authentication setting auth_settings = ['authCookie'] # noqa: E501 - response_types_map = { - 200: "Success", - 401: "Error", - 404: "Error", - } + response_types_map = {} return self.api_client.call_api( - '/groups/{groupId}', 'DELETE', + '/groups/{groupId}/invites', 'POST', path_params, query_params, header_params, @@ -1720,18 +1705,20 @@ def delete_group_with_http_info(self, group_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def delete_group_announcement(self, group_id, **kwargs): # noqa: E501 - """Delete Group Announcement # noqa: E501 + def create_group_role(self, group_id, create_group_role_request, **kwargs): # noqa: E501 + """Create GroupRole # noqa: E501 - Deletes the announcement for a Group. # noqa: E501 + Create a Group role. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_group_announcement(group_id, async_req=True) + >>> thread = api.create_group_role(group_id, create_group_role_request, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str + :param create_group_role_request: (required) + :type create_group_role_request: CreateGroupRoleRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -1745,23 +1732,25 @@ def delete_group_announcement(self, group_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: Success + :rtype: GroupRole """ kwargs['_return_http_data_only'] = True - return self.delete_group_announcement_with_http_info(group_id, **kwargs) # noqa: E501 + return self.create_group_role_with_http_info(group_id, create_group_role_request, **kwargs) # noqa: E501 - def delete_group_announcement_with_http_info(self, group_id, **kwargs): # noqa: E501 - """Delete Group Announcement # noqa: E501 + def create_group_role_with_http_info(self, group_id, create_group_role_request, **kwargs): # noqa: E501 + """Create GroupRole # noqa: E501 - Deletes the announcement for a Group. # noqa: E501 + Create a Group role. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_group_announcement_with_http_info(group_id, async_req=True) + >>> thread = api.create_group_role_with_http_info(group_id, create_group_role_request, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str + :param create_group_role_request: (required) + :type create_group_role_request: CreateGroupRoleRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -1783,13 +1772,14 @@ def delete_group_announcement_with_http_info(self, group_id, **kwargs): # noqa: :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(Success, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(GroupRole, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'group_id' + 'group_id', + 'create_group_role_request' ] all_params.extend( [ @@ -1807,13 +1797,16 @@ def delete_group_announcement_with_http_info(self, group_id, **kwargs): # noqa: if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method delete_group_announcement" % key + " to method create_group_role" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `group_id` when calling `delete_group_announcement`") # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `create_group_role`") # noqa: E501 + # verify the required parameter 'create_group_role_request' is set + if self.api_client.client_side_validation and local_var_params.get('create_group_role_request') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `create_group_role_request` when calling `create_group_role`") # noqa: E501 collection_formats = {} @@ -1829,21 +1822,31 @@ def delete_group_announcement_with_http_info(self, group_id, **kwargs): # noqa: local_var_files = {} body_params = None + if 'create_group_role_request' in local_var_params: + body_params = local_var_params['create_group_role_request'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + # Authentication setting auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "Success", + 200: "GroupRole", 401: "Error", 404: "Error", } return self.api_client.call_api( - '/groups/{groupId}/announcement', 'DELETE', + '/groups/{groupId}/roles', 'POST', path_params, query_params, header_params, @@ -1859,20 +1862,20 @@ def delete_group_announcement_with_http_info(self, group_id, **kwargs): # noqa: collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def delete_group_gallery(self, group_id, group_gallery_id, **kwargs): # noqa: E501 - """Delete Group Gallery # noqa: E501 + def decline_group_invite(self, group_id, **kwargs): # noqa: E501 + """Decline Invite from Group # noqa: E501 - Deletes a gallery for a Group. # noqa: E501 + Declines an invite to the user from a group. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_group_gallery(group_id, group_gallery_id, async_req=True) + >>> thread = api.decline_group_invite(group_id, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str - :param group_gallery_id: Must be a valid group gallery ID. (required) - :type group_gallery_id: str + :param decline_group_invite_request: + :type decline_group_invite_request: DeclineGroupInviteRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -1889,22 +1892,22 @@ def delete_group_gallery(self, group_id, group_gallery_id, **kwargs): # noqa: E :rtype: Success """ kwargs['_return_http_data_only'] = True - return self.delete_group_gallery_with_http_info(group_id, group_gallery_id, **kwargs) # noqa: E501 + return self.decline_group_invite_with_http_info(group_id, **kwargs) # noqa: E501 - def delete_group_gallery_with_http_info(self, group_id, group_gallery_id, **kwargs): # noqa: E501 - """Delete Group Gallery # noqa: E501 + def decline_group_invite_with_http_info(self, group_id, **kwargs): # noqa: E501 + """Decline Invite from Group # noqa: E501 - Deletes a gallery for a Group. # noqa: E501 + Declines an invite to the user from a group. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_group_gallery_with_http_info(group_id, group_gallery_id, async_req=True) + >>> thread = api.decline_group_invite_with_http_info(group_id, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str - :param group_gallery_id: Must be a valid group gallery ID. (required) - :type group_gallery_id: str + :param decline_group_invite_request: + :type decline_group_invite_request: DeclineGroupInviteRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -1933,7 +1936,7 @@ def delete_group_gallery_with_http_info(self, group_id, group_gallery_id, **kwar all_params = [ 'group_id', - 'group_gallery_id' + 'decline_group_invite_request' ] all_params.extend( [ @@ -1951,24 +1954,19 @@ def delete_group_gallery_with_http_info(self, group_id, group_gallery_id, **kwar if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method delete_group_gallery" % key + " to method decline_group_invite" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `group_id` when calling `delete_group_gallery`") # noqa: E501 - # verify the required parameter 'group_gallery_id' is set - if self.api_client.client_side_validation and local_var_params.get('group_gallery_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `group_gallery_id` when calling `delete_group_gallery`") # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `decline_group_invite`") # noqa: E501 collection_formats = {} path_params = {} if 'group_id' in local_var_params: path_params['groupId'] = local_var_params['group_id'] # noqa: E501 - if 'group_gallery_id' in local_var_params: - path_params['groupGalleryId'] = local_var_params['group_gallery_id'] # noqa: E501 query_params = [] @@ -1978,21 +1976,32 @@ def delete_group_gallery_with_http_info(self, group_id, group_gallery_id, **kwar local_var_files = {} body_params = None + if 'decline_group_invite_request' in local_var_params: + body_params = local_var_params['decline_group_invite_request'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'PUT', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + # Authentication setting auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "Success", + 400: "Error", 401: "Error", 404: "Error", } return self.api_client.call_api( - '/groups/{groupId}/galleries/{groupGalleryId}', 'DELETE', + '/groups/{groupId}/invites', 'PUT', path_params, query_params, header_params, @@ -2008,22 +2017,20 @@ def delete_group_gallery_with_http_info(self, group_id, group_gallery_id, **kwar collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def delete_group_gallery_image(self, group_id, group_gallery_id, group_gallery_image_id, **kwargs): # noqa: E501 - """Delete Group Gallery Image # noqa: E501 + def delete_group(self, group_id, **kwargs): # noqa: E501 + """Delete Group # noqa: E501 - Deletes an image from a Group gallery. # noqa: E501 + Deletes a Group. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_group_gallery_image(group_id, group_gallery_id, group_gallery_image_id, async_req=True) + >>> thread = api.delete_group(group_id, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str - :param group_gallery_id: Must be a valid group gallery ID. (required) - :type group_gallery_id: str - :param group_gallery_image_id: Must be a valid group gallery image ID. (required) - :type group_gallery_image_id: str + :param hard_delete: + :type hard_delete: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -2040,24 +2047,22 @@ def delete_group_gallery_image(self, group_id, group_gallery_id, group_gallery_i :rtype: Success """ kwargs['_return_http_data_only'] = True - return self.delete_group_gallery_image_with_http_info(group_id, group_gallery_id, group_gallery_image_id, **kwargs) # noqa: E501 + return self.delete_group_with_http_info(group_id, **kwargs) # noqa: E501 - def delete_group_gallery_image_with_http_info(self, group_id, group_gallery_id, group_gallery_image_id, **kwargs): # noqa: E501 - """Delete Group Gallery Image # noqa: E501 + def delete_group_with_http_info(self, group_id, **kwargs): # noqa: E501 + """Delete Group # noqa: E501 - Deletes an image from a Group gallery. # noqa: E501 + Deletes a Group. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_group_gallery_image_with_http_info(group_id, group_gallery_id, group_gallery_image_id, async_req=True) + >>> thread = api.delete_group_with_http_info(group_id, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str - :param group_gallery_id: Must be a valid group gallery ID. (required) - :type group_gallery_id: str - :param group_gallery_image_id: Must be a valid group gallery image ID. (required) - :type group_gallery_image_id: str + :param hard_delete: + :type hard_delete: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -2086,8 +2091,7 @@ def delete_group_gallery_image_with_http_info(self, group_id, group_gallery_id, all_params = [ 'group_id', - 'group_gallery_id', - 'group_gallery_image_id' + 'hard_delete' ] all_params.extend( [ @@ -2105,31 +2109,23 @@ def delete_group_gallery_image_with_http_info(self, group_id, group_gallery_id, if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method delete_group_gallery_image" % key + " to method delete_group" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `group_id` when calling `delete_group_gallery_image`") # noqa: E501 - # verify the required parameter 'group_gallery_id' is set - if self.api_client.client_side_validation and local_var_params.get('group_gallery_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `group_gallery_id` when calling `delete_group_gallery_image`") # noqa: E501 - # verify the required parameter 'group_gallery_image_id' is set - if self.api_client.client_side_validation and local_var_params.get('group_gallery_image_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `group_gallery_image_id` when calling `delete_group_gallery_image`") # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `delete_group`") # noqa: E501 collection_formats = {} path_params = {} if 'group_id' in local_var_params: path_params['groupId'] = local_var_params['group_id'] # noqa: E501 - if 'group_gallery_id' in local_var_params: - path_params['groupGalleryId'] = local_var_params['group_gallery_id'] # noqa: E501 - if 'group_gallery_image_id' in local_var_params: - path_params['groupGalleryImageId'] = local_var_params['group_gallery_image_id'] # noqa: E501 query_params = [] + if local_var_params.get('hard_delete') is not None: # noqa: E501 + query_params.append(('hardDelete', local_var_params['hard_delete'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -2147,12 +2143,11 @@ def delete_group_gallery_image_with_http_info(self, group_id, group_gallery_id, response_types_map = { 200: "Success", 401: "Error", - 403: "Error", 404: "Error", } return self.api_client.call_api( - '/groups/{groupId}/galleries/{groupGalleryId}/images/{groupGalleryImageId}', 'DELETE', + '/groups/{groupId}', 'DELETE', path_params, query_params, header_params, @@ -2168,20 +2163,18 @@ def delete_group_gallery_image_with_http_info(self, group_id, group_gallery_id, collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def delete_group_invite(self, group_id, user_id, **kwargs): # noqa: E501 - """Delete User Invite # noqa: E501 + def delete_group_announcement(self, group_id, **kwargs): # noqa: E501 + """Delete Group Announcement # noqa: E501 - Deletes an Group invite sent to a User # noqa: E501 + Deletes the announcement for a Group. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_group_invite(group_id, user_id, async_req=True) + >>> thread = api.delete_group_announcement(group_id, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str - :param user_id: Must be a valid user ID. (required) - :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -2195,25 +2188,23 @@ def delete_group_invite(self, group_id, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: None + :rtype: Success """ kwargs['_return_http_data_only'] = True - return self.delete_group_invite_with_http_info(group_id, user_id, **kwargs) # noqa: E501 + return self.delete_group_announcement_with_http_info(group_id, **kwargs) # noqa: E501 - def delete_group_invite_with_http_info(self, group_id, user_id, **kwargs): # noqa: E501 - """Delete User Invite # noqa: E501 + def delete_group_announcement_with_http_info(self, group_id, **kwargs): # noqa: E501 + """Delete Group Announcement # noqa: E501 - Deletes an Group invite sent to a User # noqa: E501 + Deletes the announcement for a Group. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_group_invite_with_http_info(group_id, user_id, async_req=True) + >>> thread = api.delete_group_announcement_with_http_info(group_id, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str - :param user_id: Must be a valid user ID. (required) - :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -2235,14 +2226,13 @@ def delete_group_invite_with_http_info(self, group_id, user_id, **kwargs): # no :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: None + :rtype: tuple(Success, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'group_id', - 'user_id' + 'group_id' ] all_params.extend( [ @@ -2260,24 +2250,19 @@ def delete_group_invite_with_http_info(self, group_id, user_id, **kwargs): # no if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method delete_group_invite" % key + " to method delete_group_announcement" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `group_id` when calling `delete_group_invite`") # noqa: E501 - # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `user_id` when calling `delete_group_invite`") # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `delete_group_announcement`") # noqa: E501 collection_formats = {} path_params = {} if 'group_id' in local_var_params: path_params['groupId'] = local_var_params['group_id'] # noqa: E501 - if 'user_id' in local_var_params: - path_params['userId'] = local_var_params['user_id'] # noqa: E501 query_params = [] @@ -2294,10 +2279,14 @@ def delete_group_invite_with_http_info(self, group_id, user_id, **kwargs): # no # Authentication setting auth_settings = ['authCookie'] # noqa: E501 - response_types_map = {} + response_types_map = { + 200: "Success", + 401: "Error", + 404: "Error", + } return self.api_client.call_api( - '/groups/{groupId}/invites/{userId}', 'DELETE', + '/groups/{groupId}/announcement', 'DELETE', path_params, query_params, header_params, @@ -2313,20 +2302,20 @@ def delete_group_invite_with_http_info(self, group_id, user_id, **kwargs): # no collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def delete_group_post(self, group_id, notification_id, **kwargs): # noqa: E501 - """Delete a Group post # noqa: E501 + def delete_group_gallery(self, group_id, group_gallery_id, **kwargs): # noqa: E501 + """Delete Group Gallery # noqa: E501 - Delete a Group post # noqa: E501 + Deletes a gallery for a Group. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_group_post(group_id, notification_id, async_req=True) + >>> thread = api.delete_group_gallery(group_id, group_gallery_id, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str - :param notification_id: Must be a valid notification ID. (required) - :type notification_id: str + :param group_gallery_id: Must be a valid group gallery ID. (required) + :type group_gallery_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -2343,22 +2332,22 @@ def delete_group_post(self, group_id, notification_id, **kwargs): # noqa: E501 :rtype: Success """ kwargs['_return_http_data_only'] = True - return self.delete_group_post_with_http_info(group_id, notification_id, **kwargs) # noqa: E501 + return self.delete_group_gallery_with_http_info(group_id, group_gallery_id, **kwargs) # noqa: E501 - def delete_group_post_with_http_info(self, group_id, notification_id, **kwargs): # noqa: E501 - """Delete a Group post # noqa: E501 + def delete_group_gallery_with_http_info(self, group_id, group_gallery_id, **kwargs): # noqa: E501 + """Delete Group Gallery # noqa: E501 - Delete a Group post # noqa: E501 + Deletes a gallery for a Group. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_group_post_with_http_info(group_id, notification_id, async_req=True) + >>> thread = api.delete_group_gallery_with_http_info(group_id, group_gallery_id, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str - :param notification_id: Must be a valid notification ID. (required) - :type notification_id: str + :param group_gallery_id: Must be a valid group gallery ID. (required) + :type group_gallery_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -2387,7 +2376,7 @@ def delete_group_post_with_http_info(self, group_id, notification_id, **kwargs): all_params = [ 'group_id', - 'notification_id' + 'group_gallery_id' ] all_params.extend( [ @@ -2405,24 +2394,24 @@ def delete_group_post_with_http_info(self, group_id, notification_id, **kwargs): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method delete_group_post" % key + " to method delete_group_gallery" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `group_id` when calling `delete_group_post`") # noqa: E501 - # verify the required parameter 'notification_id' is set - if self.api_client.client_side_validation and local_var_params.get('notification_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `notification_id` when calling `delete_group_post`") # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `delete_group_gallery`") # noqa: E501 + # verify the required parameter 'group_gallery_id' is set + if self.api_client.client_side_validation and local_var_params.get('group_gallery_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `group_gallery_id` when calling `delete_group_gallery`") # noqa: E501 collection_formats = {} path_params = {} if 'group_id' in local_var_params: path_params['groupId'] = local_var_params['group_id'] # noqa: E501 - if 'notification_id' in local_var_params: - path_params['notificationId'] = local_var_params['notification_id'] # noqa: E501 + if 'group_gallery_id' in local_var_params: + path_params['groupGalleryId'] = local_var_params['group_gallery_id'] # noqa: E501 query_params = [] @@ -2442,11 +2431,11 @@ def delete_group_post_with_http_info(self, group_id, notification_id, **kwargs): response_types_map = { 200: "Success", 401: "Error", - 404: "Success", + 404: "Error", } return self.api_client.call_api( - '/groups/{groupId}/posts/{notificationId}', 'DELETE', + '/groups/{groupId}/galleries/{groupGalleryId}', 'DELETE', path_params, query_params, header_params, @@ -2462,20 +2451,22 @@ def delete_group_post_with_http_info(self, group_id, notification_id, **kwargs): collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def delete_group_role(self, group_id, group_role_id, **kwargs): # noqa: E501 - """Delete Group Role # noqa: E501 + def delete_group_gallery_image(self, group_id, group_gallery_id, group_gallery_image_id, **kwargs): # noqa: E501 + """Delete Group Gallery Image # noqa: E501 - Deletes a Group Role by ID and returns the remaining roles. # noqa: E501 + Deletes an image from a Group gallery. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_group_role(group_id, group_role_id, async_req=True) + >>> thread = api.delete_group_gallery_image(group_id, group_gallery_id, group_gallery_image_id, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str - :param group_role_id: Must be a valid group role ID. (required) - :type group_role_id: str + :param group_gallery_id: Must be a valid group gallery ID. (required) + :type group_gallery_id: str + :param group_gallery_image_id: Must be a valid group gallery image ID. (required) + :type group_gallery_image_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -2489,25 +2480,27 @@ def delete_group_role(self, group_id, group_role_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[GroupRole] + :rtype: Success """ kwargs['_return_http_data_only'] = True - return self.delete_group_role_with_http_info(group_id, group_role_id, **kwargs) # noqa: E501 + return self.delete_group_gallery_image_with_http_info(group_id, group_gallery_id, group_gallery_image_id, **kwargs) # noqa: E501 - def delete_group_role_with_http_info(self, group_id, group_role_id, **kwargs): # noqa: E501 - """Delete Group Role # noqa: E501 + def delete_group_gallery_image_with_http_info(self, group_id, group_gallery_id, group_gallery_image_id, **kwargs): # noqa: E501 + """Delete Group Gallery Image # noqa: E501 - Deletes a Group Role by ID and returns the remaining roles. # noqa: E501 + Deletes an image from a Group gallery. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_group_role_with_http_info(group_id, group_role_id, async_req=True) + >>> thread = api.delete_group_gallery_image_with_http_info(group_id, group_gallery_id, group_gallery_image_id, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str - :param group_role_id: Must be a valid group role ID. (required) - :type group_role_id: str + :param group_gallery_id: Must be a valid group gallery ID. (required) + :type group_gallery_id: str + :param group_gallery_image_id: Must be a valid group gallery image ID. (required) + :type group_gallery_image_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -2529,14 +2522,15 @@ def delete_group_role_with_http_info(self, group_id, group_role_id, **kwargs): :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[GroupRole], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(Success, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ 'group_id', - 'group_role_id' + 'group_gallery_id', + 'group_gallery_image_id' ] all_params.extend( [ @@ -2554,24 +2548,29 @@ def delete_group_role_with_http_info(self, group_id, group_role_id, **kwargs): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method delete_group_role" % key + " to method delete_group_gallery_image" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `group_id` when calling `delete_group_role`") # noqa: E501 - # verify the required parameter 'group_role_id' is set - if self.api_client.client_side_validation and local_var_params.get('group_role_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `group_role_id` when calling `delete_group_role`") # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `delete_group_gallery_image`") # noqa: E501 + # verify the required parameter 'group_gallery_id' is set + if self.api_client.client_side_validation and local_var_params.get('group_gallery_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `group_gallery_id` when calling `delete_group_gallery_image`") # noqa: E501 + # verify the required parameter 'group_gallery_image_id' is set + if self.api_client.client_side_validation and local_var_params.get('group_gallery_image_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `group_gallery_image_id` when calling `delete_group_gallery_image`") # noqa: E501 collection_formats = {} path_params = {} if 'group_id' in local_var_params: path_params['groupId'] = local_var_params['group_id'] # noqa: E501 - if 'group_role_id' in local_var_params: - path_params['groupRoleId'] = local_var_params['group_role_id'] # noqa: E501 + if 'group_gallery_id' in local_var_params: + path_params['groupGalleryId'] = local_var_params['group_gallery_id'] # noqa: E501 + if 'group_gallery_image_id' in local_var_params: + path_params['groupGalleryImageId'] = local_var_params['group_gallery_image_id'] # noqa: E501 query_params = [] @@ -2589,13 +2588,14 @@ def delete_group_role_with_http_info(self, group_id, group_role_id, **kwargs): auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "list[GroupRole]", + 200: "Success", 401: "Error", + 403: "Error", 404: "Error", } return self.api_client.call_api( - '/groups/{groupId}/roles/{groupRoleId}', 'DELETE', + '/groups/{groupId}/galleries/{groupGalleryId}/images/{groupGalleryImageId}', 'DELETE', path_params, query_params, header_params, @@ -2611,20 +2611,20 @@ def delete_group_role_with_http_info(self, group_id, group_role_id, **kwargs): collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_group(self, group_id, **kwargs): # noqa: E501 - """Get Group by ID # noqa: E501 + def delete_group_invite(self, group_id, user_id, **kwargs): # noqa: E501 + """Delete User Invite # noqa: E501 - Returns a single Group by ID. # noqa: E501 + Deletes an Group invite sent to a User # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_group(group_id, async_req=True) + >>> thread = api.delete_group_invite(group_id, user_id, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str - :param include_roles: Include roles for the Group object. Defaults to false. - :type include_roles: bool + :param user_id: Must be a valid user ID. (required) + :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -2638,25 +2638,25 @@ def get_group(self, group_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: Group + :rtype: None """ kwargs['_return_http_data_only'] = True - return self.get_group_with_http_info(group_id, **kwargs) # noqa: E501 + return self.delete_group_invite_with_http_info(group_id, user_id, **kwargs) # noqa: E501 - def get_group_with_http_info(self, group_id, **kwargs): # noqa: E501 - """Get Group by ID # noqa: E501 + def delete_group_invite_with_http_info(self, group_id, user_id, **kwargs): # noqa: E501 + """Delete User Invite # noqa: E501 - Returns a single Group by ID. # noqa: E501 + Deletes an Group invite sent to a User # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_group_with_http_info(group_id, async_req=True) + >>> thread = api.delete_group_invite_with_http_info(group_id, user_id, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str - :param include_roles: Include roles for the Group object. Defaults to false. - :type include_roles: bool + :param user_id: Must be a valid user ID. (required) + :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -2678,14 +2678,14 @@ def get_group_with_http_info(self, group_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(Group, status_code(int), headers(HTTPHeaderDict)) + :rtype: None """ local_var_params = locals() all_params = [ 'group_id', - 'include_roles' + 'user_id' ] all_params.extend( [ @@ -2703,23 +2703,26 @@ def get_group_with_http_info(self, group_id, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_group" % key + " to method delete_group_invite" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `group_id` when calling `get_group`") # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `delete_group_invite`") # noqa: E501 + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `delete_group_invite`") # noqa: E501 collection_formats = {} path_params = {} if 'group_id' in local_var_params: path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 query_params = [] - if local_var_params.get('include_roles') is not None: # noqa: E501 - query_params.append(('includeRoles', local_var_params['include_roles'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -2734,14 +2737,10 @@ def get_group_with_http_info(self, group_id, **kwargs): # noqa: E501 # Authentication setting auth_settings = ['authCookie'] # noqa: E501 - response_types_map = { - 200: "Group", - 401: "Error", - 404: "Error", - } + response_types_map = {} return self.api_client.call_api( - '/groups/{groupId}', 'GET', + '/groups/{groupId}/invites/{userId}', 'DELETE', path_params, query_params, header_params, @@ -2757,18 +2756,20 @@ def get_group_with_http_info(self, group_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_group_announcements(self, group_id, **kwargs): # noqa: E501 - """Get Group Announcement # noqa: E501 + def delete_group_post(self, group_id, notification_id, **kwargs): # noqa: E501 + """Delete a Group post # noqa: E501 - Returns the announcement for a Group. If no announcement has been made, then it returns **empty object**. If an announcement exists, then it will always return all fields except `imageId` and `imageUrl` which may be null. # noqa: E501 + Delete a Group post # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_group_announcements(group_id, async_req=True) + >>> thread = api.delete_group_post(group_id, notification_id, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str + :param notification_id: Must be a valid notification ID. (required) + :type notification_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -2782,23 +2783,25 @@ def get_group_announcements(self, group_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: GroupAnnouncement + :rtype: Success """ kwargs['_return_http_data_only'] = True - return self.get_group_announcements_with_http_info(group_id, **kwargs) # noqa: E501 + return self.delete_group_post_with_http_info(group_id, notification_id, **kwargs) # noqa: E501 - def get_group_announcements_with_http_info(self, group_id, **kwargs): # noqa: E501 - """Get Group Announcement # noqa: E501 + def delete_group_post_with_http_info(self, group_id, notification_id, **kwargs): # noqa: E501 + """Delete a Group post # noqa: E501 - Returns the announcement for a Group. If no announcement has been made, then it returns **empty object**. If an announcement exists, then it will always return all fields except `imageId` and `imageUrl` which may be null. # noqa: E501 + Delete a Group post # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_group_announcements_with_http_info(group_id, async_req=True) + >>> thread = api.delete_group_post_with_http_info(group_id, notification_id, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str + :param notification_id: Must be a valid notification ID. (required) + :type notification_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -2820,13 +2823,14 @@ def get_group_announcements_with_http_info(self, group_id, **kwargs): # noqa: E :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(GroupAnnouncement, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(Success, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'group_id' + 'group_id', + 'notification_id' ] all_params.extend( [ @@ -2844,19 +2848,24 @@ def get_group_announcements_with_http_info(self, group_id, **kwargs): # noqa: E if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_group_announcements" % key + " to method delete_group_post" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_announcements`") # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `delete_group_post`") # noqa: E501 + # verify the required parameter 'notification_id' is set + if self.api_client.client_side_validation and local_var_params.get('notification_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `notification_id` when calling `delete_group_post`") # noqa: E501 collection_formats = {} path_params = {} if 'group_id' in local_var_params: path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + if 'notification_id' in local_var_params: + path_params['notificationId'] = local_var_params['notification_id'] # noqa: E501 query_params = [] @@ -2874,13 +2883,13 @@ def get_group_announcements_with_http_info(self, group_id, **kwargs): # noqa: E auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "GroupAnnouncement", + 200: "Success", 401: "Error", - 404: "Error", + 404: "Success", } return self.api_client.call_api( - '/groups/{groupId}/announcement', 'GET', + '/groups/{groupId}/posts/{notificationId}', 'DELETE', path_params, query_params, header_params, @@ -2896,32 +2905,20 @@ def get_group_announcements_with_http_info(self, group_id, **kwargs): # noqa: E collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_group_audit_logs(self, group_id, **kwargs): # noqa: E501 - """Get Group Audit Logs # noqa: E501 + def delete_group_role(self, group_id, group_role_id, **kwargs): # noqa: E501 + """Delete Group Role # noqa: E501 - Returns a list of audit logs for a Group. # noqa: E501 + Deletes a Group Role by ID and returns the remaining roles. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_group_audit_logs(group_id, async_req=True) + >>> thread = api.delete_group_role(group_id, group_role_id, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str - :param n: The number of objects to return. - :type n: int - :param offset: A zero-based offset from the default object sorting from where search results start. - :type offset: int - :param start_date: The start date of the search range. - :type start_date: datetime - :param end_date: The end date of the search range. - :type end_date: datetime - :param actor_ids: The comma-separated actor ids to search for. - :type actor_ids: str - :param event_types: The comma-separated event types to search for. - :type event_types: str - :param target_ids: The comma-separated target ids to search for. - :type target_ids: str + :param group_role_id: Must be a valid group role ID. (required) + :type group_role_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -2935,37 +2932,25 @@ def get_group_audit_logs(self, group_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: PaginatedGroupAuditLogEntryList + :rtype: list[GroupRole] """ kwargs['_return_http_data_only'] = True - return self.get_group_audit_logs_with_http_info(group_id, **kwargs) # noqa: E501 + return self.delete_group_role_with_http_info(group_id, group_role_id, **kwargs) # noqa: E501 - def get_group_audit_logs_with_http_info(self, group_id, **kwargs): # noqa: E501 - """Get Group Audit Logs # noqa: E501 + def delete_group_role_with_http_info(self, group_id, group_role_id, **kwargs): # noqa: E501 + """Delete Group Role # noqa: E501 - Returns a list of audit logs for a Group. # noqa: E501 + Deletes a Group Role by ID and returns the remaining roles. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_group_audit_logs_with_http_info(group_id, async_req=True) + >>> thread = api.delete_group_role_with_http_info(group_id, group_role_id, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str - :param n: The number of objects to return. - :type n: int - :param offset: A zero-based offset from the default object sorting from where search results start. - :type offset: int - :param start_date: The start date of the search range. - :type start_date: datetime - :param end_date: The end date of the search range. - :type end_date: datetime - :param actor_ids: The comma-separated actor ids to search for. - :type actor_ids: str - :param event_types: The comma-separated event types to search for. - :type event_types: str - :param target_ids: The comma-separated target ids to search for. - :type target_ids: str + :param group_role_id: Must be a valid group role ID. (required) + :type group_role_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -2987,20 +2972,14 @@ def get_group_audit_logs_with_http_info(self, group_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(PaginatedGroupAuditLogEntryList, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(list[GroupRole], status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ 'group_id', - 'n', - 'offset', - 'start_date', - 'end_date', - 'actor_ids', - 'event_types', - 'target_ids' + 'group_role_id' ] all_params.extend( [ @@ -3018,41 +2997,26 @@ def get_group_audit_logs_with_http_info(self, group_id, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_group_audit_logs" % key + " to method delete_group_role" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_audit_logs`") # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `delete_group_role`") # noqa: E501 + # verify the required parameter 'group_role_id' is set + if self.api_client.client_side_validation and local_var_params.get('group_role_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `group_role_id` when calling `delete_group_role`") # noqa: E501 - if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 - raise ApiValueError("Invalid value for parameter `n` when calling `get_group_audit_logs`, must be a value less than or equal to `100`") # noqa: E501 - if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 - raise ApiValueError("Invalid value for parameter `n` when calling `get_group_audit_logs`, must be a value greater than or equal to `1`") # noqa: E501 - if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 - raise ApiValueError("Invalid value for parameter `offset` when calling `get_group_audit_logs`, must be a value greater than or equal to `0`") # noqa: E501 collection_formats = {} path_params = {} if 'group_id' in local_var_params: path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + if 'group_role_id' in local_var_params: + path_params['groupRoleId'] = local_var_params['group_role_id'] # noqa: E501 query_params = [] - if local_var_params.get('n') is not None: # noqa: E501 - query_params.append(('n', local_var_params['n'])) # noqa: E501 - if local_var_params.get('offset') is not None: # noqa: E501 - query_params.append(('offset', local_var_params['offset'])) # noqa: E501 - if local_var_params.get('start_date') is not None: # noqa: E501 - query_params.append(('startDate', local_var_params['start_date'])) # noqa: E501 - if local_var_params.get('end_date') is not None: # noqa: E501 - query_params.append(('endDate', local_var_params['end_date'])) # noqa: E501 - if local_var_params.get('actor_ids') is not None: # noqa: E501 - query_params.append(('actorIds', local_var_params['actor_ids'])) # noqa: E501 - if local_var_params.get('event_types') is not None: # noqa: E501 - query_params.append(('eventTypes', local_var_params['event_types'])) # noqa: E501 - if local_var_params.get('target_ids') is not None: # noqa: E501 - query_params.append(('targetIds', local_var_params['target_ids'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -3068,13 +3032,13 @@ def get_group_audit_logs_with_http_info(self, group_id, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "PaginatedGroupAuditLogEntryList", + 200: "list[GroupRole]", 401: "Error", 404: "Error", } return self.api_client.call_api( - '/groups/{groupId}/auditLogs', 'GET', + '/groups/{groupId}/roles/{groupRoleId}', 'DELETE', path_params, query_params, header_params, @@ -3090,22 +3054,20 @@ def get_group_audit_logs_with_http_info(self, group_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_group_bans(self, group_id, **kwargs): # noqa: E501 - """Get Group Bans # noqa: E501 + def get_group(self, group_id, **kwargs): # noqa: E501 + """Get Group by ID # noqa: E501 - Returns a list of banned users for a Group. # noqa: E501 + Returns a single Group by ID. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_group_bans(group_id, async_req=True) + >>> thread = api.get_group(group_id, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str - :param n: The number of objects to return. - :type n: int - :param offset: A zero-based offset from the default object sorting from where search results start. - :type offset: int + :param include_roles: Include roles for the Group object. Defaults to false. + :type include_roles: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -3119,27 +3081,25 @@ def get_group_bans(self, group_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[GroupMember] + :rtype: Group """ kwargs['_return_http_data_only'] = True - return self.get_group_bans_with_http_info(group_id, **kwargs) # noqa: E501 + return self.get_group_with_http_info(group_id, **kwargs) # noqa: E501 - def get_group_bans_with_http_info(self, group_id, **kwargs): # noqa: E501 - """Get Group Bans # noqa: E501 + def get_group_with_http_info(self, group_id, **kwargs): # noqa: E501 + """Get Group by ID # noqa: E501 - Returns a list of banned users for a Group. # noqa: E501 + Returns a single Group by ID. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_group_bans_with_http_info(group_id, async_req=True) + >>> thread = api.get_group_with_http_info(group_id, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str - :param n: The number of objects to return. - :type n: int - :param offset: A zero-based offset from the default object sorting from where search results start. - :type offset: int + :param include_roles: Include roles for the Group object. Defaults to false. + :type include_roles: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -3161,15 +3121,14 @@ def get_group_bans_with_http_info(self, group_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[GroupMember], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(Group, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ 'group_id', - 'n', - 'offset' + 'include_roles' ] all_params.extend( [ @@ -3187,20 +3146,14 @@ def get_group_bans_with_http_info(self, group_id, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_group_bans" % key + " to method get_group" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_bans`") # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `get_group`") # noqa: E501 - if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 - raise ApiValueError("Invalid value for parameter `n` when calling `get_group_bans`, must be a value less than or equal to `100`") # noqa: E501 - if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 - raise ApiValueError("Invalid value for parameter `n` when calling `get_group_bans`, must be a value greater than or equal to `1`") # noqa: E501 - if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 - raise ApiValueError("Invalid value for parameter `offset` when calling `get_group_bans`, must be a value greater than or equal to `0`") # noqa: E501 collection_formats = {} path_params = {} @@ -3208,10 +3161,8 @@ def get_group_bans_with_http_info(self, group_id, **kwargs): # noqa: E501 path_params['groupId'] = local_var_params['group_id'] # noqa: E501 query_params = [] - if local_var_params.get('n') is not None: # noqa: E501 - query_params.append(('n', local_var_params['n'])) # noqa: E501 - if local_var_params.get('offset') is not None: # noqa: E501 - query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + if local_var_params.get('include_roles') is not None: # noqa: E501 + query_params.append(('includeRoles', local_var_params['include_roles'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -3227,14 +3178,13 @@ def get_group_bans_with_http_info(self, group_id, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "list[GroupMember]", + 200: "Group", 401: "Error", - 403: "Error", 404: "Error", } return self.api_client.call_api( - '/groups/{groupId}/bans', 'GET', + '/groups/{groupId}', 'GET', path_params, query_params, header_params, @@ -3250,26 +3200,18 @@ def get_group_bans_with_http_info(self, group_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_group_gallery_images(self, group_id, group_gallery_id, **kwargs): # noqa: E501 - """Get Group Gallery Images # noqa: E501 + def get_group_announcements(self, group_id, **kwargs): # noqa: E501 + """Get Group Announcement # noqa: E501 - Returns a list of images for a Group gallery. # noqa: E501 + Returns the announcement for a Group. If no announcement has been made, then it returns **empty object**. If an announcement exists, then it will always return all fields except `imageId` and `imageUrl` which may be null. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_group_gallery_images(group_id, group_gallery_id, async_req=True) + >>> thread = api.get_group_announcements(group_id, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str - :param group_gallery_id: Must be a valid group gallery ID. (required) - :type group_gallery_id: str - :param n: The number of objects to return. - :type n: int - :param offset: A zero-based offset from the default object sorting from where search results start. - :type offset: int - :param approved: If specified, only returns images that have been approved or not approved. - :type approved: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -3283,31 +3225,23 @@ def get_group_gallery_images(self, group_id, group_gallery_id, **kwargs): # noq :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[GroupGalleryImage] + :rtype: GroupAnnouncement """ kwargs['_return_http_data_only'] = True - return self.get_group_gallery_images_with_http_info(group_id, group_gallery_id, **kwargs) # noqa: E501 + return self.get_group_announcements_with_http_info(group_id, **kwargs) # noqa: E501 - def get_group_gallery_images_with_http_info(self, group_id, group_gallery_id, **kwargs): # noqa: E501 - """Get Group Gallery Images # noqa: E501 + def get_group_announcements_with_http_info(self, group_id, **kwargs): # noqa: E501 + """Get Group Announcement # noqa: E501 - Returns a list of images for a Group gallery. # noqa: E501 + Returns the announcement for a Group. If no announcement has been made, then it returns **empty object**. If an announcement exists, then it will always return all fields except `imageId` and `imageUrl` which may be null. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_group_gallery_images_with_http_info(group_id, group_gallery_id, async_req=True) + >>> thread = api.get_group_announcements_with_http_info(group_id, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str - :param group_gallery_id: Must be a valid group gallery ID. (required) - :type group_gallery_id: str - :param n: The number of objects to return. - :type n: int - :param offset: A zero-based offset from the default object sorting from where search results start. - :type offset: int - :param approved: If specified, only returns images that have been approved or not approved. - :type approved: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -3329,17 +3263,13 @@ def get_group_gallery_images_with_http_info(self, group_id, group_gallery_id, ** :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[GroupGalleryImage], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(GroupAnnouncement, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'group_id', - 'group_gallery_id', - 'n', - 'offset', - 'approved' + 'group_id' ] all_params.extend( [ @@ -3357,38 +3287,21 @@ def get_group_gallery_images_with_http_info(self, group_id, group_gallery_id, ** if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_group_gallery_images" % key + " to method get_group_announcements" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_gallery_images`") # noqa: E501 - # verify the required parameter 'group_gallery_id' is set - if self.api_client.client_side_validation and local_var_params.get('group_gallery_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `group_gallery_id` when calling `get_group_gallery_images`") # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_announcements`") # noqa: E501 - if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 - raise ApiValueError("Invalid value for parameter `n` when calling `get_group_gallery_images`, must be a value less than or equal to `100`") # noqa: E501 - if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 - raise ApiValueError("Invalid value for parameter `n` when calling `get_group_gallery_images`, must be a value greater than or equal to `1`") # noqa: E501 - if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 - raise ApiValueError("Invalid value for parameter `offset` when calling `get_group_gallery_images`, must be a value greater than or equal to `0`") # noqa: E501 collection_formats = {} path_params = {} if 'group_id' in local_var_params: path_params['groupId'] = local_var_params['group_id'] # noqa: E501 - if 'group_gallery_id' in local_var_params: - path_params['groupGalleryId'] = local_var_params['group_gallery_id'] # noqa: E501 query_params = [] - if local_var_params.get('n') is not None: # noqa: E501 - query_params.append(('n', local_var_params['n'])) # noqa: E501 - if local_var_params.get('offset') is not None: # noqa: E501 - query_params.append(('offset', local_var_params['offset'])) # noqa: E501 - if local_var_params.get('approved') is not None: # noqa: E501 - query_params.append(('approved', local_var_params['approved'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -3404,13 +3317,13 @@ def get_group_gallery_images_with_http_info(self, group_id, group_gallery_id, ** auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "list[GroupGalleryImage]", + 200: "GroupAnnouncement", 401: "Error", 404: "Error", } return self.api_client.call_api( - '/groups/{groupId}/galleries/{groupGalleryId}', 'GET', + '/groups/{groupId}/announcement', 'GET', path_params, query_params, header_params, @@ -3426,14 +3339,14 @@ def get_group_gallery_images_with_http_info(self, group_id, group_gallery_id, ** collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_group_instances(self, group_id, **kwargs): # noqa: E501 - """Get Group Instances # noqa: E501 + def get_group_audit_log_entry_types(self, group_id, **kwargs): # noqa: E501 + """Get Group Audit Log Entry Types # noqa: E501 - Returns a list of group instances # noqa: E501 + Returns a list of audit log entry types for which the group has entries. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_group_instances(group_id, async_req=True) + >>> thread = api.get_group_audit_log_entry_types(group_id, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) @@ -3451,19 +3364,19 @@ def get_group_instances(self, group_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[GroupInstance] + :rtype: list[str] """ kwargs['_return_http_data_only'] = True - return self.get_group_instances_with_http_info(group_id, **kwargs) # noqa: E501 + return self.get_group_audit_log_entry_types_with_http_info(group_id, **kwargs) # noqa: E501 - def get_group_instances_with_http_info(self, group_id, **kwargs): # noqa: E501 - """Get Group Instances # noqa: E501 + def get_group_audit_log_entry_types_with_http_info(self, group_id, **kwargs): # noqa: E501 + """Get Group Audit Log Entry Types # noqa: E501 - Returns a list of group instances # noqa: E501 + Returns a list of audit log entry types for which the group has entries. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_group_instances_with_http_info(group_id, async_req=True) + >>> thread = api.get_group_audit_log_entry_types_with_http_info(group_id, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) @@ -3489,7 +3402,7 @@ def get_group_instances_with_http_info(self, group_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[GroupInstance], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(list[str], status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() @@ -3513,13 +3426,13 @@ def get_group_instances_with_http_info(self, group_id, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_group_instances" % key + " to method get_group_audit_log_entry_types" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_instances`") # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_audit_log_entry_types`") # noqa: E501 collection_formats = {} @@ -3543,13 +3456,13 @@ def get_group_instances_with_http_info(self, group_id, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "list[GroupInstance]", + 200: "list[str]", 401: "Error", 404: "Error", } return self.api_client.call_api( - '/groups/{groupId}/instances', 'GET', + '/groups/{groupId}/auditLogTypes', 'GET', path_params, query_params, header_params, @@ -3565,14 +3478,14 @@ def get_group_instances_with_http_info(self, group_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_group_invites(self, group_id, **kwargs): # noqa: E501 - """Get Group Invites Sent # noqa: E501 + def get_group_audit_logs(self, group_id, **kwargs): # noqa: E501 + """Get Group Audit Logs # noqa: E501 - Returns a list of members that have been invited to the Group. # noqa: E501 + Returns a list of audit logs for a Group. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_group_invites(group_id, async_req=True) + >>> thread = api.get_group_audit_logs(group_id, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) @@ -3581,6 +3494,16 @@ def get_group_invites(self, group_id, **kwargs): # noqa: E501 :type n: int :param offset: A zero-based offset from the default object sorting from where search results start. :type offset: int + :param start_date: The start date of the search range. + :type start_date: datetime + :param end_date: The end date of the search range. + :type end_date: datetime + :param actor_ids: The comma-separated actor ids to search for. + :type actor_ids: str + :param event_types: The comma-separated event types to search for. + :type event_types: str + :param target_ids: The comma-separated target ids to search for. + :type target_ids: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -3594,19 +3517,19 @@ def get_group_invites(self, group_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[GroupMember] + :rtype: PaginatedGroupAuditLogEntryList """ kwargs['_return_http_data_only'] = True - return self.get_group_invites_with_http_info(group_id, **kwargs) # noqa: E501 + return self.get_group_audit_logs_with_http_info(group_id, **kwargs) # noqa: E501 - def get_group_invites_with_http_info(self, group_id, **kwargs): # noqa: E501 - """Get Group Invites Sent # noqa: E501 + def get_group_audit_logs_with_http_info(self, group_id, **kwargs): # noqa: E501 + """Get Group Audit Logs # noqa: E501 - Returns a list of members that have been invited to the Group. # noqa: E501 + Returns a list of audit logs for a Group. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_group_invites_with_http_info(group_id, async_req=True) + >>> thread = api.get_group_audit_logs_with_http_info(group_id, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) @@ -3615,6 +3538,16 @@ def get_group_invites_with_http_info(self, group_id, **kwargs): # noqa: E501 :type n: int :param offset: A zero-based offset from the default object sorting from where search results start. :type offset: int + :param start_date: The start date of the search range. + :type start_date: datetime + :param end_date: The end date of the search range. + :type end_date: datetime + :param actor_ids: The comma-separated actor ids to search for. + :type actor_ids: str + :param event_types: The comma-separated event types to search for. + :type event_types: str + :param target_ids: The comma-separated target ids to search for. + :type target_ids: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -3636,7 +3569,7 @@ def get_group_invites_with_http_info(self, group_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[GroupMember], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(PaginatedGroupAuditLogEntryList, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() @@ -3644,7 +3577,12 @@ def get_group_invites_with_http_info(self, group_id, **kwargs): # noqa: E501 all_params = [ 'group_id', 'n', - 'offset' + 'offset', + 'start_date', + 'end_date', + 'actor_ids', + 'event_types', + 'target_ids' ] all_params.extend( [ @@ -3662,20 +3600,20 @@ def get_group_invites_with_http_info(self, group_id, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_group_invites" % key + " to method get_group_audit_logs" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_invites`") # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_audit_logs`") # noqa: E501 if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 - raise ApiValueError("Invalid value for parameter `n` when calling `get_group_invites`, must be a value less than or equal to `100`") # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_group_audit_logs`, must be a value less than or equal to `100`") # noqa: E501 if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 - raise ApiValueError("Invalid value for parameter `n` when calling `get_group_invites`, must be a value greater than or equal to `1`") # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_group_audit_logs`, must be a value greater than or equal to `1`") # noqa: E501 if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 - raise ApiValueError("Invalid value for parameter `offset` when calling `get_group_invites`, must be a value greater than or equal to `0`") # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_group_audit_logs`, must be a value greater than or equal to `0`") # noqa: E501 collection_formats = {} path_params = {} @@ -3687,6 +3625,16 @@ def get_group_invites_with_http_info(self, group_id, **kwargs): # noqa: E501 query_params.append(('n', local_var_params['n'])) # noqa: E501 if local_var_params.get('offset') is not None: # noqa: E501 query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + if local_var_params.get('start_date') is not None: # noqa: E501 + query_params.append(('startDate', local_var_params['start_date'])) # noqa: E501 + if local_var_params.get('end_date') is not None: # noqa: E501 + query_params.append(('endDate', local_var_params['end_date'])) # noqa: E501 + if local_var_params.get('actor_ids') is not None: # noqa: E501 + query_params.append(('actorIds', local_var_params['actor_ids'])) # noqa: E501 + if local_var_params.get('event_types') is not None: # noqa: E501 + query_params.append(('eventTypes', local_var_params['event_types'])) # noqa: E501 + if local_var_params.get('target_ids') is not None: # noqa: E501 + query_params.append(('targetIds', local_var_params['target_ids'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -3702,14 +3650,13 @@ def get_group_invites_with_http_info(self, group_id, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "list[GroupMember]", + 200: "PaginatedGroupAuditLogEntryList", 401: "Error", - 403: "Error", 404: "Error", } return self.api_client.call_api( - '/groups/{groupId}/invites', 'GET', + '/groups/{groupId}/auditLogs', 'GET', path_params, query_params, header_params, @@ -3725,20 +3672,22 @@ def get_group_invites_with_http_info(self, group_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_group_member(self, group_id, user_id, **kwargs): # noqa: E501 - """Get Group Member # noqa: E501 + def get_group_bans(self, group_id, **kwargs): # noqa: E501 + """Get Group Bans # noqa: E501 - Returns a LimitedGroup Member. # noqa: E501 + Returns a list of banned users for a Group. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_group_member(group_id, user_id, async_req=True) + >>> thread = api.get_group_bans(group_id, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str - :param user_id: Must be a valid user ID. (required) - :type user_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -3752,25 +3701,27 @@ def get_group_member(self, group_id, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: GroupLimitedMember + :rtype: list[GroupMember] """ kwargs['_return_http_data_only'] = True - return self.get_group_member_with_http_info(group_id, user_id, **kwargs) # noqa: E501 + return self.get_group_bans_with_http_info(group_id, **kwargs) # noqa: E501 - def get_group_member_with_http_info(self, group_id, user_id, **kwargs): # noqa: E501 - """Get Group Member # noqa: E501 + def get_group_bans_with_http_info(self, group_id, **kwargs): # noqa: E501 + """Get Group Bans # noqa: E501 - Returns a LimitedGroup Member. # noqa: E501 + Returns a list of banned users for a Group. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_group_member_with_http_info(group_id, user_id, async_req=True) + >>> thread = api.get_group_bans_with_http_info(group_id, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str - :param user_id: Must be a valid user ID. (required) - :type user_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -3792,14 +3743,15 @@ def get_group_member_with_http_info(self, group_id, user_id, **kwargs): # noqa: :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(GroupLimitedMember, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(list[GroupMember], status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ 'group_id', - 'user_id' + 'n', + 'offset' ] all_params.extend( [ @@ -3817,26 +3769,31 @@ def get_group_member_with_http_info(self, group_id, user_id, **kwargs): # noqa: if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_group_member" % key + " to method get_group_bans" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_member`") # noqa: E501 - # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `user_id` when calling `get_group_member`") # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_bans`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_group_bans`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_group_bans`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_group_bans`, must be a value greater than or equal to `0`") # noqa: E501 collection_formats = {} path_params = {} if 'group_id' in local_var_params: path_params['groupId'] = local_var_params['group_id'] # noqa: E501 - if 'user_id' in local_var_params: - path_params['userId'] = local_var_params['user_id'] # noqa: E501 query_params = [] + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -3852,14 +3809,14 @@ def get_group_member_with_http_info(self, group_id, user_id, **kwargs): # noqa: auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "GroupLimitedMember", + 200: "list[GroupMember]", 401: "Error", 403: "Error", 404: "Error", } return self.api_client.call_api( - '/groups/{groupId}/members/{userId}', 'GET', + '/groups/{groupId}/bans', 'GET', path_params, query_params, header_params, @@ -3875,26 +3832,26 @@ def get_group_member_with_http_info(self, group_id, user_id, **kwargs): # noqa: collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_group_members(self, group_id, **kwargs): # noqa: E501 - """List Group Members # noqa: E501 + def get_group_gallery_images(self, group_id, group_gallery_id, **kwargs): # noqa: E501 + """Get Group Gallery Images # noqa: E501 - Returns a List of all **other** Group Members. This endpoint will never return the user calling the endpoint. Information about the user calling the endpoint must be found in the `myMember` field of the Group object. # noqa: E501 + Returns a list of images for a Group gallery. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_group_members(group_id, async_req=True) + >>> thread = api.get_group_gallery_images(group_id, group_gallery_id, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str + :param group_gallery_id: Must be a valid group gallery ID. (required) + :type group_gallery_id: str :param n: The number of objects to return. :type n: int :param offset: A zero-based offset from the default object sorting from where search results start. :type offset: int - :param sort: The sort order of Group Member results - :type sort: GroupSearchSort - :param role_id: Only returns members with a specific groupRoleId - :type role_id: str + :param approved: If specified, only returns images that have been approved or not approved. + :type approved: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -3908,31 +3865,31 @@ def get_group_members(self, group_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[GroupMember] + :rtype: list[GroupGalleryImage] """ kwargs['_return_http_data_only'] = True - return self.get_group_members_with_http_info(group_id, **kwargs) # noqa: E501 + return self.get_group_gallery_images_with_http_info(group_id, group_gallery_id, **kwargs) # noqa: E501 - def get_group_members_with_http_info(self, group_id, **kwargs): # noqa: E501 - """List Group Members # noqa: E501 + def get_group_gallery_images_with_http_info(self, group_id, group_gallery_id, **kwargs): # noqa: E501 + """Get Group Gallery Images # noqa: E501 - Returns a List of all **other** Group Members. This endpoint will never return the user calling the endpoint. Information about the user calling the endpoint must be found in the `myMember` field of the Group object. # noqa: E501 + Returns a list of images for a Group gallery. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_group_members_with_http_info(group_id, async_req=True) + >>> thread = api.get_group_gallery_images_with_http_info(group_id, group_gallery_id, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str + :param group_gallery_id: Must be a valid group gallery ID. (required) + :type group_gallery_id: str :param n: The number of objects to return. :type n: int :param offset: A zero-based offset from the default object sorting from where search results start. :type offset: int - :param sort: The sort order of Group Member results - :type sort: GroupSearchSort - :param role_id: Only returns members with a specific groupRoleId - :type role_id: str + :param approved: If specified, only returns images that have been approved or not approved. + :type approved: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -3954,17 +3911,17 @@ def get_group_members_with_http_info(self, group_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[GroupMember], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(list[GroupGalleryImage], status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ 'group_id', + 'group_gallery_id', 'n', 'offset', - 'sort', - 'role_id' + 'approved' ] all_params.extend( [ @@ -3982,35 +3939,38 @@ def get_group_members_with_http_info(self, group_id, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_group_members" % key + " to method get_group_gallery_images" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_members`") # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_gallery_images`") # noqa: E501 + # verify the required parameter 'group_gallery_id' is set + if self.api_client.client_side_validation and local_var_params.get('group_gallery_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `group_gallery_id` when calling `get_group_gallery_images`") # noqa: E501 if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 - raise ApiValueError("Invalid value for parameter `n` when calling `get_group_members`, must be a value less than or equal to `100`") # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_group_gallery_images`, must be a value less than or equal to `100`") # noqa: E501 if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 - raise ApiValueError("Invalid value for parameter `n` when calling `get_group_members`, must be a value greater than or equal to `1`") # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_group_gallery_images`, must be a value greater than or equal to `1`") # noqa: E501 if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 - raise ApiValueError("Invalid value for parameter `offset` when calling `get_group_members`, must be a value greater than or equal to `0`") # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_group_gallery_images`, must be a value greater than or equal to `0`") # noqa: E501 collection_formats = {} path_params = {} if 'group_id' in local_var_params: path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + if 'group_gallery_id' in local_var_params: + path_params['groupGalleryId'] = local_var_params['group_gallery_id'] # noqa: E501 query_params = [] if local_var_params.get('n') is not None: # noqa: E501 query_params.append(('n', local_var_params['n'])) # noqa: E501 if local_var_params.get('offset') is not None: # noqa: E501 query_params.append(('offset', local_var_params['offset'])) # noqa: E501 - if local_var_params.get('sort') is not None: # noqa: E501 - query_params.append(('sort', local_var_params['sort'])) # noqa: E501 - if local_var_params.get('role_id') is not None: # noqa: E501 - query_params.append(('roleId', local_var_params['role_id'])) # noqa: E501 + if local_var_params.get('approved') is not None: # noqa: E501 + query_params.append(('approved', local_var_params['approved'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -4026,14 +3986,13 @@ def get_group_members_with_http_info(self, group_id, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "list[GroupMember]", - 400: "Error", + 200: "list[GroupGalleryImage]", 401: "Error", 404: "Error", } return self.api_client.call_api( - '/groups/{groupId}/members', 'GET', + '/groups/{groupId}/galleries/{groupGalleryId}', 'GET', path_params, query_params, header_params, @@ -4049,14 +4008,14 @@ def get_group_members_with_http_info(self, group_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_group_permissions(self, group_id, **kwargs): # noqa: E501 - """List Group Permissions # noqa: E501 + def get_group_instances(self, group_id, **kwargs): # noqa: E501 + """Get Group Instances # noqa: E501 - Returns a List of all possible/available permissions for a Group. # noqa: E501 + Returns a list of group instances # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_group_permissions(group_id, async_req=True) + >>> thread = api.get_group_instances(group_id, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) @@ -4074,19 +4033,19 @@ def get_group_permissions(self, group_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[GroupPermission] + :rtype: list[GroupInstance] """ kwargs['_return_http_data_only'] = True - return self.get_group_permissions_with_http_info(group_id, **kwargs) # noqa: E501 + return self.get_group_instances_with_http_info(group_id, **kwargs) # noqa: E501 - def get_group_permissions_with_http_info(self, group_id, **kwargs): # noqa: E501 - """List Group Permissions # noqa: E501 + def get_group_instances_with_http_info(self, group_id, **kwargs): # noqa: E501 + """Get Group Instances # noqa: E501 - Returns a List of all possible/available permissions for a Group. # noqa: E501 + Returns a list of group instances # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_group_permissions_with_http_info(group_id, async_req=True) + >>> thread = api.get_group_instances_with_http_info(group_id, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) @@ -4112,7 +4071,7 @@ def get_group_permissions_with_http_info(self, group_id, **kwargs): # noqa: E50 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[GroupPermission], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(list[GroupInstance], status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() @@ -4136,13 +4095,13 @@ def get_group_permissions_with_http_info(self, group_id, **kwargs): # noqa: E50 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_group_permissions" % key + " to method get_group_instances" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_permissions`") # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_instances`") # noqa: E501 collection_formats = {} @@ -4166,14 +4125,13 @@ def get_group_permissions_with_http_info(self, group_id, **kwargs): # noqa: E50 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "list[GroupPermission]", - 400: "Error", + 200: "list[GroupInstance]", 401: "Error", 404: "Error", } return self.api_client.call_api( - '/groups/{groupId}/permissions', 'GET', + '/groups/{groupId}/instances', 'GET', path_params, query_params, header_params, @@ -4189,14 +4147,14 @@ def get_group_permissions_with_http_info(self, group_id, **kwargs): # noqa: E50 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_group_posts(self, group_id, **kwargs): # noqa: E501 - """Get posts from a Group # noqa: E501 + def get_group_invites(self, group_id, **kwargs): # noqa: E501 + """Get Group Invites Sent # noqa: E501 - Get posts from a Group # noqa: E501 + Returns a list of members that have been invited to the Group. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_group_posts(group_id, async_req=True) + >>> thread = api.get_group_invites(group_id, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) @@ -4205,8 +4163,6 @@ def get_group_posts(self, group_id, **kwargs): # noqa: E501 :type n: int :param offset: A zero-based offset from the default object sorting from where search results start. :type offset: int - :param public_only: See public posts only. - :type public_only: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -4220,19 +4176,19 @@ def get_group_posts(self, group_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: GetGroupPosts200Response + :rtype: list[GroupMember] """ kwargs['_return_http_data_only'] = True - return self.get_group_posts_with_http_info(group_id, **kwargs) # noqa: E501 + return self.get_group_invites_with_http_info(group_id, **kwargs) # noqa: E501 - def get_group_posts_with_http_info(self, group_id, **kwargs): # noqa: E501 - """Get posts from a Group # noqa: E501 + def get_group_invites_with_http_info(self, group_id, **kwargs): # noqa: E501 + """Get Group Invites Sent # noqa: E501 - Get posts from a Group # noqa: E501 + Returns a list of members that have been invited to the Group. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_group_posts_with_http_info(group_id, async_req=True) + >>> thread = api.get_group_invites_with_http_info(group_id, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) @@ -4241,8 +4197,6 @@ def get_group_posts_with_http_info(self, group_id, **kwargs): # noqa: E501 :type n: int :param offset: A zero-based offset from the default object sorting from where search results start. :type offset: int - :param public_only: See public posts only. - :type public_only: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -4264,7 +4218,7 @@ def get_group_posts_with_http_info(self, group_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(GetGroupPosts200Response, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(list[GroupMember], status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() @@ -4272,8 +4226,7 @@ def get_group_posts_with_http_info(self, group_id, **kwargs): # noqa: E501 all_params = [ 'group_id', 'n', - 'offset', - 'public_only' + 'offset' ] all_params.extend( [ @@ -4291,20 +4244,20 @@ def get_group_posts_with_http_info(self, group_id, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_group_posts" % key + " to method get_group_invites" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_posts`") # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_invites`") # noqa: E501 if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 - raise ApiValueError("Invalid value for parameter `n` when calling `get_group_posts`, must be a value less than or equal to `100`") # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_group_invites`, must be a value less than or equal to `100`") # noqa: E501 if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 - raise ApiValueError("Invalid value for parameter `n` when calling `get_group_posts`, must be a value greater than or equal to `1`") # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_group_invites`, must be a value greater than or equal to `1`") # noqa: E501 if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 - raise ApiValueError("Invalid value for parameter `offset` when calling `get_group_posts`, must be a value greater than or equal to `0`") # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_group_invites`, must be a value greater than or equal to `0`") # noqa: E501 collection_formats = {} path_params = {} @@ -4316,8 +4269,6 @@ def get_group_posts_with_http_info(self, group_id, **kwargs): # noqa: E501 query_params.append(('n', local_var_params['n'])) # noqa: E501 if local_var_params.get('offset') is not None: # noqa: E501 query_params.append(('offset', local_var_params['offset'])) # noqa: E501 - if local_var_params.get('public_only') is not None: # noqa: E501 - query_params.append(('publicOnly', local_var_params['public_only'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -4333,12 +4284,14 @@ def get_group_posts_with_http_info(self, group_id, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "GetGroupPosts200Response", + 200: "list[GroupMember]", 401: "Error", + 403: "Error", + 404: "Error", } return self.api_client.call_api( - '/groups/{groupId}/posts', 'GET', + '/groups/{groupId}/invites', 'GET', path_params, query_params, header_params, @@ -4354,24 +4307,20 @@ def get_group_posts_with_http_info(self, group_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_group_requests(self, group_id, **kwargs): # noqa: E501 - """Get Group Join Requests # noqa: E501 + def get_group_member(self, group_id, user_id, **kwargs): # noqa: E501 + """Get Group Member # noqa: E501 - Returns a list of members that have requested to join the Group. # noqa: E501 + Returns a LimitedGroup Member. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_group_requests(group_id, async_req=True) + >>> thread = api.get_group_member(group_id, user_id, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str - :param n: The number of objects to return. - :type n: int - :param offset: A zero-based offset from the default object sorting from where search results start. - :type offset: int - :param blocked: See blocked join requests - :type blocked: bool + :param user_id: Must be a valid user ID. (required) + :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -4385,29 +4334,945 @@ def get_group_requests(self, group_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[GroupMember] + :rtype: GroupLimitedMember """ kwargs['_return_http_data_only'] = True - return self.get_group_requests_with_http_info(group_id, **kwargs) # noqa: E501 + return self.get_group_member_with_http_info(group_id, user_id, **kwargs) # noqa: E501 - def get_group_requests_with_http_info(self, group_id, **kwargs): # noqa: E501 - """Get Group Join Requests # noqa: E501 + def get_group_member_with_http_info(self, group_id, user_id, **kwargs): # noqa: E501 + """Get Group Member # noqa: E501 - Returns a list of members that have requested to join the Group. # noqa: E501 + Returns a LimitedGroup Member. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_group_requests_with_http_info(group_id, async_req=True) + >>> thread = api.get_group_member_with_http_info(group_id, user_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(GroupLimitedMember, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id', + 'user_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_group_member" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_member`") # noqa: E501 + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_group_member`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "GroupLimitedMember", + 401: "Error", + 403: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/groups/{groupId}/members/{userId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_group_members(self, group_id, **kwargs): # noqa: E501 + """List Group Members # noqa: E501 + + Returns a List of all **other** Group Members. This endpoint will never return the user calling the endpoint. Information about the user calling the endpoint must be found in the `myMember` field of the Group object. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_members(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param sort: The sort order of Group Member results + :type sort: GroupSearchSort + :param role_id: Only returns members with a specific groupRoleId + :type role_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[GroupMember] + """ + kwargs['_return_http_data_only'] = True + return self.get_group_members_with_http_info(group_id, **kwargs) # noqa: E501 + + def get_group_members_with_http_info(self, group_id, **kwargs): # noqa: E501 + """List Group Members # noqa: E501 + + Returns a List of all **other** Group Members. This endpoint will never return the user calling the endpoint. Information about the user calling the endpoint must be found in the `myMember` field of the Group object. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_members_with_http_info(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param sort: The sort order of Group Member results + :type sort: GroupSearchSort + :param role_id: Only returns members with a specific groupRoleId + :type role_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[GroupMember], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id', + 'n', + 'offset', + 'sort', + 'role_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_group_members" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_members`") # noqa: E501 + + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_group_members`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_group_members`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_group_members`, must be a value greater than or equal to `0`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + + query_params = [] + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + if local_var_params.get('sort') is not None: # noqa: E501 + query_params.append(('sort', local_var_params['sort'])) # noqa: E501 + if local_var_params.get('role_id') is not None: # noqa: E501 + query_params.append(('roleId', local_var_params['role_id'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[GroupMember]", + 400: "Error", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/groups/{groupId}/members', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_group_permissions(self, group_id, **kwargs): # noqa: E501 + """List Group Permissions # noqa: E501 + + Returns a List of all possible/available permissions for a Group. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_permissions(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[GroupPermission] + """ + kwargs['_return_http_data_only'] = True + return self.get_group_permissions_with_http_info(group_id, **kwargs) # noqa: E501 + + def get_group_permissions_with_http_info(self, group_id, **kwargs): # noqa: E501 + """List Group Permissions # noqa: E501 + + Returns a List of all possible/available permissions for a Group. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_permissions_with_http_info(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[GroupPermission], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_group_permissions" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_permissions`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[GroupPermission]", + 400: "Error", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/groups/{groupId}/permissions', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_group_posts(self, group_id, **kwargs): # noqa: E501 + """Get posts from a Group # noqa: E501 + + Get posts from a Group # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_posts(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param public_only: See public posts only. + :type public_only: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: GetGroupPosts200Response + """ + kwargs['_return_http_data_only'] = True + return self.get_group_posts_with_http_info(group_id, **kwargs) # noqa: E501 + + def get_group_posts_with_http_info(self, group_id, **kwargs): # noqa: E501 + """Get posts from a Group # noqa: E501 + + Get posts from a Group # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_posts_with_http_info(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param public_only: See public posts only. + :type public_only: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(GetGroupPosts200Response, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id', + 'n', + 'offset', + 'public_only' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_group_posts" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_posts`") # noqa: E501 + + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_group_posts`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_group_posts`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_group_posts`, must be a value greater than or equal to `0`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + + query_params = [] + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + if local_var_params.get('public_only') is not None: # noqa: E501 + query_params.append(('publicOnly', local_var_params['public_only'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "GetGroupPosts200Response", + 401: "Error", + } + + return self.api_client.call_api( + '/groups/{groupId}/posts', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_group_requests(self, group_id, **kwargs): # noqa: E501 + """Get Group Join Requests # noqa: E501 + + Returns a list of members that have requested to join the Group. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_requests(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param blocked: See blocked join requests + :type blocked: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[GroupMember] + """ + kwargs['_return_http_data_only'] = True + return self.get_group_requests_with_http_info(group_id, **kwargs) # noqa: E501 + + def get_group_requests_with_http_info(self, group_id, **kwargs): # noqa: E501 + """Get Group Join Requests # noqa: E501 + + Returns a list of members that have requested to join the Group. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_requests_with_http_info(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param blocked: See blocked join requests + :type blocked: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[GroupMember], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id', + 'n', + 'offset', + 'blocked' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_group_requests" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_requests`") # noqa: E501 + + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_group_requests`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_group_requests`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_group_requests`, must be a value greater than or equal to `0`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + + query_params = [] + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + if local_var_params.get('blocked') is not None: # noqa: E501 + query_params.append(('blocked', local_var_params['blocked'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[GroupMember]", + 400: "Error", + 403: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/groups/{groupId}/requests', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_group_role_templates(self, **kwargs): # noqa: E501 + """Get Group Role Templates # noqa: E501 + + Obtain predefined templates for group roles # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_role_templates(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: dict(str, GroupRoleTemplateValues) + """ + kwargs['_return_http_data_only'] = True + return self.get_group_role_templates_with_http_info(**kwargs) # noqa: E501 + + def get_group_role_templates_with_http_info(self, **kwargs): # noqa: E501 + """Get Group Role Templates # noqa: E501 + + Obtain predefined templates for group roles # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_role_templates_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(dict(str, GroupRoleTemplateValues), status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_group_role_templates" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "dict(str, GroupRoleTemplateValues)", + 401: "Error", + } + + return self.api_client.call_api( + '/groups/roleTemplates', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_group_roles(self, group_id, **kwargs): # noqa: E501 + """Get Group Roles # noqa: E501 + + Returns a Group Role by ID. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_roles(group_id, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[GroupRole] + """ + kwargs['_return_http_data_only'] = True + return self.get_group_roles_with_http_info(group_id, **kwargs) # noqa: E501 + + def get_group_roles_with_http_info(self, group_id, **kwargs): # noqa: E501 + """Get Group Roles # noqa: E501 + + Returns a Group Role by ID. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_group_roles_with_http_info(group_id, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str - :param n: The number of objects to return. - :type n: int - :param offset: A zero-based offset from the default object sorting from where search results start. - :type offset: int - :param blocked: See blocked join requests - :type blocked: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -4429,16 +5294,13 @@ def get_group_requests_with_http_info(self, group_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[GroupMember], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(list[GroupRole], status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'group_id', - 'n', - 'offset', - 'blocked' + 'group_id' ] all_params.extend( [ @@ -4456,20 +5318,14 @@ def get_group_requests_with_http_info(self, group_id, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_group_requests" % key + " to method get_group_roles" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_requests`") # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_roles`") # noqa: E501 - if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 - raise ApiValueError("Invalid value for parameter `n` when calling `get_group_requests`, must be a value less than or equal to `100`") # noqa: E501 - if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 - raise ApiValueError("Invalid value for parameter `n` when calling `get_group_requests`, must be a value greater than or equal to `1`") # noqa: E501 - if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 - raise ApiValueError("Invalid value for parameter `offset` when calling `get_group_requests`, must be a value greater than or equal to `0`") # noqa: E501 collection_formats = {} path_params = {} @@ -4477,12 +5333,6 @@ def get_group_requests_with_http_info(self, group_id, **kwargs): # noqa: E501 path_params['groupId'] = local_var_params['group_id'] # noqa: E501 query_params = [] - if local_var_params.get('n') is not None: # noqa: E501 - query_params.append(('n', local_var_params['n'])) # noqa: E501 - if local_var_params.get('offset') is not None: # noqa: E501 - query_params.append(('offset', local_var_params['offset'])) # noqa: E501 - if local_var_params.get('blocked') is not None: # noqa: E501 - query_params.append(('blocked', local_var_params['blocked'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -4498,14 +5348,13 @@ def get_group_requests_with_http_info(self, group_id, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "list[GroupMember]", - 400: "Error", - 403: "Error", + 200: "list[GroupRole]", + 401: "Error", 404: "Error", } return self.api_client.call_api( - '/groups/{groupId}/requests', 'GET', + '/groups/{groupId}/roles', 'GET', path_params, query_params, header_params, @@ -4521,16 +5370,20 @@ def get_group_requests_with_http_info(self, group_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_group_role_templates(self, **kwargs): # noqa: E501 - """Get Group Role Templates # noqa: E501 + def get_group_transferability(self, group_id, **kwargs): # noqa: E501 + """Get Group Transferability # noqa: E501 - Obtain predefined templates for group roles # noqa: E501 + Returns the transferability of the group to a given user. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_group_role_templates(async_req=True) + >>> thread = api.get_group_transferability(group_id, async_req=True) >>> result = thread.get() + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param transfer_target_id: The UserID of the prospective transferee. + :type transfer_target_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -4544,21 +5397,25 @@ def get_group_role_templates(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: dict(str, GroupRoleTemplateValues) + :rtype: GroupTransferable """ kwargs['_return_http_data_only'] = True - return self.get_group_role_templates_with_http_info(**kwargs) # noqa: E501 + return self.get_group_transferability_with_http_info(group_id, **kwargs) # noqa: E501 - def get_group_role_templates_with_http_info(self, **kwargs): # noqa: E501 - """Get Group Role Templates # noqa: E501 + def get_group_transferability_with_http_info(self, group_id, **kwargs): # noqa: E501 + """Get Group Transferability # noqa: E501 - Obtain predefined templates for group roles # noqa: E501 + Returns the transferability of the group to a given user. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_group_role_templates_with_http_info(async_req=True) + >>> thread = api.get_group_transferability_with_http_info(group_id, async_req=True) >>> result = thread.get() + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param transfer_target_id: The UserID of the prospective transferee. + :type transfer_target_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -4580,12 +5437,14 @@ def get_group_role_templates_with_http_info(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(dict(str, GroupRoleTemplateValues), status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(GroupTransferable, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ + 'group_id', + 'transfer_target_id' ] all_params.extend( [ @@ -4603,16 +5462,23 @@ def get_group_role_templates_with_http_info(self, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_group_role_templates" % key + " to method get_group_transferability" % key ) local_var_params[key] = val del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_transferability`") # noqa: E501 collection_formats = {} path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 query_params = [] + if local_var_params.get('transfer_target_id') is not None: # noqa: E501 + query_params.append(('transferTargetId', local_var_params['transfer_target_id'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -4628,12 +5494,14 @@ def get_group_role_templates_with_http_info(self, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "dict(str, GroupRoleTemplateValues)", + 200: "GroupTransferable", 401: "Error", + 403: "Error", + 404: "Error", } return self.api_client.call_api( - '/groups/roleTemplates', 'GET', + '/groups/{groupId}/transfer', 'GET', path_params, query_params, header_params, @@ -4649,18 +5517,20 @@ def get_group_role_templates_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_group_roles(self, group_id, **kwargs): # noqa: E501 - """Get Group Roles # noqa: E501 + def initiate_or_accept_group_transfer(self, group_id, **kwargs): # noqa: E501 + """Initiate or Accept Group Transfer # noqa: E501 - Returns a Group Role by ID. # noqa: E501 + To initiate, must be logged in as the current owner and specify the transferTargetId in the body. To accept, must be logged in as the user targetted by a pending transfer, no body is required. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_group_roles(group_id, async_req=True) + >>> thread = api.initiate_or_accept_group_transfer(group_id, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str + :param transfer_group_request: + :type transfer_group_request: TransferGroupRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -4674,23 +5544,25 @@ def get_group_roles(self, group_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[GroupRole] + :rtype: Success """ kwargs['_return_http_data_only'] = True - return self.get_group_roles_with_http_info(group_id, **kwargs) # noqa: E501 + return self.initiate_or_accept_group_transfer_with_http_info(group_id, **kwargs) # noqa: E501 - def get_group_roles_with_http_info(self, group_id, **kwargs): # noqa: E501 - """Get Group Roles # noqa: E501 + def initiate_or_accept_group_transfer_with_http_info(self, group_id, **kwargs): # noqa: E501 + """Initiate or Accept Group Transfer # noqa: E501 - Returns a Group Role by ID. # noqa: E501 + To initiate, must be logged in as the current owner and specify the transferTargetId in the body. To accept, must be logged in as the user targetted by a pending transfer, no body is required. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_group_roles_with_http_info(group_id, async_req=True) + >>> thread = api.initiate_or_accept_group_transfer_with_http_info(group_id, async_req=True) >>> result = thread.get() :param group_id: Must be a valid group ID. (required) :type group_id: str + :param transfer_group_request: + :type transfer_group_request: TransferGroupRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -4712,13 +5584,14 @@ def get_group_roles_with_http_info(self, group_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[GroupRole], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(Success, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'group_id' + 'group_id', + 'transfer_group_request' ] all_params.extend( [ @@ -4736,13 +5609,13 @@ def get_group_roles_with_http_info(self, group_id, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_group_roles" % key + " to method initiate_or_accept_group_transfer" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'group_id' is set if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_roles`") # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `initiate_or_accept_group_transfer`") # noqa: E501 collection_formats = {} @@ -4758,21 +5631,32 @@ def get_group_roles_with_http_info(self, group_id, **kwargs): # noqa: E501 local_var_files = {} body_params = None + if 'transfer_group_request' in local_var_params: + body_params = local_var_params['transfer_group_request'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + # Authentication setting auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "list[GroupRole]", + 200: "Success", 401: "Error", + 403: "Error", 404: "Error", } return self.api_client.call_api( - '/groups/{groupId}/roles', 'GET', + '/groups/{groupId}/transfer', 'POST', path_params, query_params, header_params, @@ -4800,6 +5684,10 @@ def join_group(self, group_id, **kwargs): # noqa: E501 :param group_id: Must be a valid group ID. (required) :type group_id: str + :param confirm_override_block: Manually override the failure that would occur if the user has blocked the group. + :type confirm_override_block: bool + :param join_group_request: + :type join_group_request: JoinGroupRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -4830,6 +5718,10 @@ def join_group_with_http_info(self, group_id, **kwargs): # noqa: E501 :param group_id: Must be a valid group ID. (required) :type group_id: str + :param confirm_override_block: Manually override the failure that would occur if the user has blocked the group. + :type confirm_override_block: bool + :param join_group_request: + :type join_group_request: JoinGroupRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -4857,7 +5749,9 @@ def join_group_with_http_info(self, group_id, **kwargs): # noqa: E501 local_var_params = locals() all_params = [ - 'group_id' + 'group_id', + 'confirm_override_block', + 'join_group_request' ] all_params.extend( [ @@ -4890,6 +5784,8 @@ def join_group_with_http_info(self, group_id, **kwargs): # noqa: E501 path_params['groupId'] = local_var_params['group_id'] # noqa: E501 query_params = [] + if local_var_params.get('confirm_override_block') is not None: # noqa: E501 + query_params.append(('confirmOverrideBlock', local_var_params['confirm_override_block'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -4897,10 +5793,20 @@ def join_group_with_http_info(self, group_id, **kwargs): # noqa: E501 local_var_files = {} body_params = None + if 'join_group_request' in local_var_params: + body_params = local_var_params['join_group_request'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + # Authentication setting auth_settings = ['authCookie'] # noqa: E501 @@ -4931,7 +5837,7 @@ def join_group_with_http_info(self, group_id, **kwargs): # noqa: E501 def kick_group_member(self, group_id, user_id, **kwargs): # noqa: E501 """Kick Group Member # noqa: E501 - Kicks a Group Member from the Group. The current user must have the \"Remove Group Members\" permission. # noqa: E501 + Kicks a Group Member from the Group. The current user must have the \"Remove Group Members\" permission. Also used for unblocking groups. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -4955,7 +5861,7 @@ def kick_group_member(self, group_id, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: None + :rtype: Success """ kwargs['_return_http_data_only'] = True return self.kick_group_member_with_http_info(group_id, user_id, **kwargs) # noqa: E501 @@ -4963,7 +5869,7 @@ def kick_group_member(self, group_id, user_id, **kwargs): # noqa: E501 def kick_group_member_with_http_info(self, group_id, user_id, **kwargs): # noqa: E501 """Kick Group Member # noqa: E501 - Kicks a Group Member from the Group. The current user must have the \"Remove Group Members\" permission. # noqa: E501 + Kicks a Group Member from the Group. The current user must have the \"Remove Group Members\" permission. Also used for unblocking groups. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -4995,7 +5901,7 @@ def kick_group_member_with_http_info(self, group_id, user_id, **kwargs): # noqa :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: None + :rtype: tuple(Success, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() @@ -5054,7 +5960,12 @@ def kick_group_member_with_http_info(self, group_id, user_id, **kwargs): # noqa # Authentication setting auth_settings = ['authCookie'] # noqa: E501 - response_types_map = {} + response_types_map = { + 200: "Success", + 401: "Error", + 403: "Error", + 404: "Error", + } return self.api_client.call_api( '/groups/{groupId}/members/{userId}', 'DELETE', @@ -5530,6 +6441,179 @@ def respond_group_join_request_with_http_info(self, group_id, user_id, respond_g collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def search_group_members(self, group_id, query, **kwargs): # noqa: E501 + """Search Group Members # noqa: E501 + + Search for members in the group by displayName. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.search_group_members(group_id, query, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param query: Filter for member displayName. (required) + :type query: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: SearchGroupMembers200Response + """ + kwargs['_return_http_data_only'] = True + return self.search_group_members_with_http_info(group_id, query, **kwargs) # noqa: E501 + + def search_group_members_with_http_info(self, group_id, query, **kwargs): # noqa: E501 + """Search Group Members # noqa: E501 + + Search for members in the group by displayName. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.search_group_members_with_http_info(group_id, query, async_req=True) + >>> result = thread.get() + + :param group_id: Must be a valid group ID. (required) + :type group_id: str + :param query: Filter for member displayName. (required) + :type query: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(SearchGroupMembers200Response, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'group_id', + 'query', + 'n', + 'offset' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method search_group_members" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `search_group_members`") # noqa: E501 + # verify the required parameter 'query' is set + if self.api_client.client_side_validation and local_var_params.get('query') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `query` when calling `search_group_members`") # noqa: E501 + + if self.api_client.client_side_validation and ('query' in local_var_params and # noqa: E501 + len(local_var_params['query']) < 3): # noqa: E501 + raise ApiValueError("Invalid value for parameter `query` when calling `search_group_members`, length must be greater than or equal to `3`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `search_group_members`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `search_group_members`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `search_group_members`, must be a value greater than or equal to `0`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 + + query_params = [] + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + if local_var_params.get('query') is not None: # noqa: E501 + query_params.append(('query', local_var_params['query'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "SearchGroupMembers200Response", + 400: "Error", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/groups/{groupId}/members/search', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def search_groups(self, **kwargs): # noqa: E501 """Search Group # noqa: E501 diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 6ab45764..7960c937 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/inventory_api.py b/vrchatapi/api/inventory_api.py index 5a0558ac..7c144a4a 100644 --- a/vrchatapi/api/inventory_api.py +++ b/vrchatapi/api/inventory_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,6 +36,437 @@ def __init__(self, api_client=None): api_client = ApiClient() self.api_client = api_client + def consume_own_inventory_item(self, inventory_item_id, **kwargs): # noqa: E501 + """Consume Own Inventory Item # noqa: E501 + + Returns the modified InventoryItem object as held by the currently logged in user. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.consume_own_inventory_item(inventory_item_id, async_req=True) + >>> result = thread.get() + + :param inventory_item_id: Must be a valid inventory item ID. (required) + :type inventory_item_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: InventoryConsumptionResults + """ + kwargs['_return_http_data_only'] = True + return self.consume_own_inventory_item_with_http_info(inventory_item_id, **kwargs) # noqa: E501 + + def consume_own_inventory_item_with_http_info(self, inventory_item_id, **kwargs): # noqa: E501 + """Consume Own Inventory Item # noqa: E501 + + Returns the modified InventoryItem object as held by the currently logged in user. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.consume_own_inventory_item_with_http_info(inventory_item_id, async_req=True) + >>> result = thread.get() + + :param inventory_item_id: Must be a valid inventory item ID. (required) + :type inventory_item_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(InventoryConsumptionResults, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'inventory_item_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method consume_own_inventory_item" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'inventory_item_id' is set + if self.api_client.client_side_validation and local_var_params.get('inventory_item_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `inventory_item_id` when calling `consume_own_inventory_item`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'inventory_item_id' in local_var_params: + path_params['inventoryItemId'] = local_var_params['inventory_item_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "InventoryConsumptionResults", + 400: "Error", + 401: "Error", + } + + return self.api_client.call_api( + '/inventory/{inventoryItemId}/consume', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def delete_own_inventory_item(self, inventory_item_id, **kwargs): # noqa: E501 + """Delete Own Inventory Item # noqa: E501 + + Deletes an InventoryItem from the inventory of the currently logged in user. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_own_inventory_item(inventory_item_id, async_req=True) + >>> result = thread.get() + + :param inventory_item_id: Must be a valid inventory item ID. (required) + :type inventory_item_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: SuccessFlag + """ + kwargs['_return_http_data_only'] = True + return self.delete_own_inventory_item_with_http_info(inventory_item_id, **kwargs) # noqa: E501 + + def delete_own_inventory_item_with_http_info(self, inventory_item_id, **kwargs): # noqa: E501 + """Delete Own Inventory Item # noqa: E501 + + Deletes an InventoryItem from the inventory of the currently logged in user. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_own_inventory_item_with_http_info(inventory_item_id, async_req=True) + >>> result = thread.get() + + :param inventory_item_id: Must be a valid inventory item ID. (required) + :type inventory_item_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(SuccessFlag, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'inventory_item_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_own_inventory_item" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'inventory_item_id' is set + if self.api_client.client_side_validation and local_var_params.get('inventory_item_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `inventory_item_id` when calling `delete_own_inventory_item`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'inventory_item_id' in local_var_params: + path_params['inventoryItemId'] = local_var_params['inventory_item_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "SuccessFlag", + 401: "Error", + } + + return self.api_client.call_api( + '/inventory/{inventoryItemId}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def equip_own_inventory_item(self, inventory_item_id, **kwargs): # noqa: E501 + """Equip Own Inventory Item # noqa: E501 + + Returns the modified InventoryItem object as held by the currently logged in user. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.equip_own_inventory_item(inventory_item_id, async_req=True) + >>> result = thread.get() + + :param inventory_item_id: Must be a valid inventory item ID. (required) + :type inventory_item_id: str + :param equip_inventory_item_request: + :type equip_inventory_item_request: EquipInventoryItemRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: InventoryItem + """ + kwargs['_return_http_data_only'] = True + return self.equip_own_inventory_item_with_http_info(inventory_item_id, **kwargs) # noqa: E501 + + def equip_own_inventory_item_with_http_info(self, inventory_item_id, **kwargs): # noqa: E501 + """Equip Own Inventory Item # noqa: E501 + + Returns the modified InventoryItem object as held by the currently logged in user. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.equip_own_inventory_item_with_http_info(inventory_item_id, async_req=True) + >>> result = thread.get() + + :param inventory_item_id: Must be a valid inventory item ID. (required) + :type inventory_item_id: str + :param equip_inventory_item_request: + :type equip_inventory_item_request: EquipInventoryItemRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(InventoryItem, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'inventory_item_id', + 'equip_inventory_item_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method equip_own_inventory_item" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'inventory_item_id' is set + if self.api_client.client_side_validation and local_var_params.get('inventory_item_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `inventory_item_id` when calling `equip_own_inventory_item`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'inventory_item_id' in local_var_params: + path_params['inventoryItemId'] = local_var_params['inventory_item_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'equip_inventory_item_request' in local_var_params: + body_params = local_var_params['equip_inventory_item_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'PUT', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "InventoryItem", + 400: "Error", + 401: "Error", + } + + return self.api_client.call_api( + '/inventory/{inventoryItemId}/equip', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def get_inventory(self, **kwargs): # noqa: E501 """Get Inventory # noqa: E501 @@ -50,6 +481,10 @@ def get_inventory(self, **kwargs): # noqa: E501 :type n: int :param offset: A zero-based offset from the default object sorting from where search results start. :type offset: int + :param holder_id: The UserID of the owner of the inventory; defaults to the currently authenticated user. + :type holder_id: str + :param equip_slot: Filter for inventory retrieval. + :type equip_slot: InventoryEquipSlot :param order: Sort order for inventory retrieval. :type order: str :param tags: Filter tags for inventory retrieval (comma-separated). @@ -96,6 +531,10 @@ def get_inventory_with_http_info(self, **kwargs): # noqa: E501 :type n: int :param offset: A zero-based offset from the default object sorting from where search results start. :type offset: int + :param holder_id: The UserID of the owner of the inventory; defaults to the currently authenticated user. + :type holder_id: str + :param equip_slot: Filter for inventory retrieval. + :type equip_slot: InventoryEquipSlot :param order: Sort order for inventory retrieval. :type order: str :param tags: Filter tags for inventory retrieval (comma-separated). @@ -139,6 +578,8 @@ def get_inventory_with_http_info(self, **kwargs): # noqa: E501 all_params = [ 'n', 'offset', + 'holder_id', + 'equip_slot', 'order', 'tags', 'types', @@ -186,6 +627,10 @@ def get_inventory_with_http_info(self, **kwargs): # noqa: E501 query_params.append(('n', local_var_params['n'])) # noqa: E501 if local_var_params.get('offset') is not None: # noqa: E501 query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + if local_var_params.get('holder_id') is not None: # noqa: E501 + query_params.append(('holderId', local_var_params['holder_id'])) # noqa: E501 + if local_var_params.get('equip_slot') is not None: # noqa: E501 + query_params.append(('equipSlot', local_var_params['equip_slot'])) # noqa: E501 if local_var_params.get('order') is not None: # noqa: E501 query_params.append(('order', local_var_params['order'])) # noqa: E501 if local_var_params.get('tags') is not None: # noqa: E501 @@ -215,12 +660,141 @@ def get_inventory_with_http_info(self, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "Inventory", + 200: "Inventory", + 401: "Error", + 403: "Error", + } + + return self.api_client.call_api( + '/inventory', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_inventory_collections(self, **kwargs): # noqa: E501 + """List Inventory Collections # noqa: E501 + + Returns a list of collection names. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_inventory_collections(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[str] + """ + kwargs['_return_http_data_only'] = True + return self.get_inventory_collections_with_http_info(**kwargs) # noqa: E501 + + def get_inventory_collections_with_http_info(self, **kwargs): # noqa: E501 + """List Inventory Collections # noqa: E501 + + Returns a list of collection names. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_inventory_collections_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[str], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_inventory_collections" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[str]", 401: "Error", } return self.api_client.call_api( - '/inventory', 'GET', + '/inventory/collections', 'GET', path_params, query_params, header_params, @@ -647,6 +1221,154 @@ def get_own_inventory_item_with_http_info(self, inventory_item_id, **kwargs): # collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def get_user_inventory_item(self, user_id, inventory_item_id, **kwargs): # noqa: E501 + """Get User Inventory Item # noqa: E501 + + Returns an InventoryItem object held by the given user. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_user_inventory_item(user_id, inventory_item_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param inventory_item_id: Must be a valid inventory item ID. (required) + :type inventory_item_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: InventoryItem + """ + kwargs['_return_http_data_only'] = True + return self.get_user_inventory_item_with_http_info(user_id, inventory_item_id, **kwargs) # noqa: E501 + + def get_user_inventory_item_with_http_info(self, user_id, inventory_item_id, **kwargs): # noqa: E501 + """Get User Inventory Item # noqa: E501 + + Returns an InventoryItem object held by the given user. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_user_inventory_item_with_http_info(user_id, inventory_item_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param inventory_item_id: Must be a valid inventory item ID. (required) + :type inventory_item_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(InventoryItem, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_id', + 'inventory_item_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_user_inventory_item" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_user_inventory_item`") # noqa: E501 + # verify the required parameter 'inventory_item_id' is set + if self.api_client.client_side_validation and local_var_params.get('inventory_item_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `inventory_item_id` when calling `get_user_inventory_item`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + if 'inventory_item_id' in local_var_params: + path_params['inventoryItemId'] = local_var_params['inventory_item_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "InventoryItem", + 401: "Error", + } + + return self.api_client.call_api( + '/user/{userId}/inventory/{inventoryItemId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def share_inventory_item_direct(self, item_id, duration, share_inventory_item_direct_request, **kwargs): # noqa: E501 """Share Inventory Item Direct # noqa: E501 @@ -1107,6 +1829,144 @@ def spawn_inventory_item_with_http_info(self, id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def unequip_own_inventory_slot(self, inventory_item_id, **kwargs): # noqa: E501 + """Unequip Own Inventory Slot # noqa: E501 + + Unequips the InventoryItem in the given slot of the inventory of the currently logged in user. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.unequip_own_inventory_slot(inventory_item_id, async_req=True) + >>> result = thread.get() + + :param inventory_item_id: Selector for inventory slot management. (required) + :type inventory_item_id: InventoryEquipSlot + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: str + """ + kwargs['_return_http_data_only'] = True + return self.unequip_own_inventory_slot_with_http_info(inventory_item_id, **kwargs) # noqa: E501 + + def unequip_own_inventory_slot_with_http_info(self, inventory_item_id, **kwargs): # noqa: E501 + """Unequip Own Inventory Slot # noqa: E501 + + Unequips the InventoryItem in the given slot of the inventory of the currently logged in user. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.unequip_own_inventory_slot_with_http_info(inventory_item_id, async_req=True) + >>> result = thread.get() + + :param inventory_item_id: Selector for inventory slot management. (required) + :type inventory_item_id: InventoryEquipSlot + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(str, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'inventory_item_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method unequip_own_inventory_slot" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'inventory_item_id' is set + if self.api_client.client_side_validation and local_var_params.get('inventory_item_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `inventory_item_id` when calling `unequip_own_inventory_slot`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'inventory_item_id' in local_var_params: + path_params['inventoryItemId'] = local_var_params['inventory_item_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "str", + 401: "Error", + } + + return self.api_client.call_api( + '/inventory/{inventoryItemId}/equip', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def update_own_inventory_item(self, inventory_item_id, **kwargs): # noqa: E501 """Update Own Inventory Item # noqa: E501 diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index 2483b2f3..c0a6682a 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -654,22 +654,22 @@ def invite_user_with_http_info(self, user_id, invite_request, **kwargs): # noqa collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def invite_user_with_photo(self, user_id, image, data, **kwargs): # noqa: E501 + def invite_user_with_photo(self, user_id, data, image, **kwargs): # noqa: E501 """Invite User with photo # noqa: E501 Sends an photo invite to a user. Returns the Notification of type `invite` that was sent. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.invite_user_with_photo(user_id, image, data, async_req=True) + >>> thread = api.invite_user_with_photo(user_id, data, image, async_req=True) >>> result = thread.get() :param user_id: Must be a valid user ID. (required) :type user_id: str - :param image: The binary blob of the png file. (required) - :type image: file :param data: (required) :type data: InviteRequest + :param image: The binary blob of the png file. (required) + :type image: file :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -686,24 +686,24 @@ def invite_user_with_photo(self, user_id, image, data, **kwargs): # noqa: E501 :rtype: SentNotification """ kwargs['_return_http_data_only'] = True - return self.invite_user_with_photo_with_http_info(user_id, image, data, **kwargs) # noqa: E501 + return self.invite_user_with_photo_with_http_info(user_id, data, image, **kwargs) # noqa: E501 - def invite_user_with_photo_with_http_info(self, user_id, image, data, **kwargs): # noqa: E501 + def invite_user_with_photo_with_http_info(self, user_id, data, image, **kwargs): # noqa: E501 """Invite User with photo # noqa: E501 Sends an photo invite to a user. Returns the Notification of type `invite` that was sent. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.invite_user_with_photo_with_http_info(user_id, image, data, async_req=True) + >>> thread = api.invite_user_with_photo_with_http_info(user_id, data, image, async_req=True) >>> result = thread.get() :param user_id: Must be a valid user ID. (required) :type user_id: str - :param image: The binary blob of the png file. (required) - :type image: file :param data: (required) :type data: InviteRequest + :param image: The binary blob of the png file. (required) + :type image: file :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -732,8 +732,8 @@ def invite_user_with_photo_with_http_info(self, user_id, image, data, **kwargs): all_params = [ 'user_id', - 'image', - 'data' + 'data', + 'image' ] all_params.extend( [ @@ -758,12 +758,12 @@ def invite_user_with_photo_with_http_info(self, user_id, image, data, **kwargs): # verify the required parameter 'user_id' is set if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `invite_user_with_photo`") # noqa: E501 - # verify the required parameter 'image' is set - if self.api_client.client_side_validation and local_var_params.get('image') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `image` when calling `invite_user_with_photo`") # noqa: E501 # verify the required parameter 'data' is set if self.api_client.client_side_validation and local_var_params.get('data') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `data` when calling `invite_user_with_photo`") # noqa: E501 + # verify the required parameter 'image' is set + if self.api_client.client_side_validation and local_var_params.get('image') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `image` when calling `invite_user_with_photo`") # noqa: E501 collection_formats = {} @@ -777,10 +777,10 @@ def invite_user_with_photo_with_http_info(self, user_id, image, data, **kwargs): form_params = [] local_var_files = {} - if 'image' in local_var_params: - local_var_files['image'] = local_var_params['image'] # noqa: E501 if 'data' in local_var_params: form_params.append(('data', local_var_params['data'])) # noqa: E501 + if 'image' in local_var_params: + local_var_files['image'] = local_var_params['image'] # noqa: E501 body_params = None # HTTP header `Accept` @@ -973,22 +973,22 @@ def request_invite_with_http_info(self, user_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def request_invite_with_photo(self, user_id, image, data, **kwargs): # noqa: E501 + def request_invite_with_photo(self, user_id, data, image, **kwargs): # noqa: E501 """Request Invite with photo # noqa: E501 Requests with photo an invite from a user. Returns the Notification of type `requestInvite` that was sent. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.request_invite_with_photo(user_id, image, data, async_req=True) + >>> thread = api.request_invite_with_photo(user_id, data, image, async_req=True) >>> result = thread.get() :param user_id: Must be a valid user ID. (required) :type user_id: str - :param image: The binary blob of the png file. (required) - :type image: file :param data: (required) :type data: RequestInviteRequest + :param image: The binary blob of the png file. (required) + :type image: file :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -1005,24 +1005,24 @@ def request_invite_with_photo(self, user_id, image, data, **kwargs): # noqa: E5 :rtype: Notification """ kwargs['_return_http_data_only'] = True - return self.request_invite_with_photo_with_http_info(user_id, image, data, **kwargs) # noqa: E501 + return self.request_invite_with_photo_with_http_info(user_id, data, image, **kwargs) # noqa: E501 - def request_invite_with_photo_with_http_info(self, user_id, image, data, **kwargs): # noqa: E501 + def request_invite_with_photo_with_http_info(self, user_id, data, image, **kwargs): # noqa: E501 """Request Invite with photo # noqa: E501 Requests with photo an invite from a user. Returns the Notification of type `requestInvite` that was sent. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.request_invite_with_photo_with_http_info(user_id, image, data, async_req=True) + >>> thread = api.request_invite_with_photo_with_http_info(user_id, data, image, async_req=True) >>> result = thread.get() :param user_id: Must be a valid user ID. (required) :type user_id: str - :param image: The binary blob of the png file. (required) - :type image: file :param data: (required) :type data: RequestInviteRequest + :param image: The binary blob of the png file. (required) + :type image: file :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -1051,8 +1051,8 @@ def request_invite_with_photo_with_http_info(self, user_id, image, data, **kwarg all_params = [ 'user_id', - 'image', - 'data' + 'data', + 'image' ] all_params.extend( [ @@ -1077,12 +1077,12 @@ def request_invite_with_photo_with_http_info(self, user_id, image, data, **kwarg # verify the required parameter 'user_id' is set if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `user_id` when calling `request_invite_with_photo`") # noqa: E501 - # verify the required parameter 'image' is set - if self.api_client.client_side_validation and local_var_params.get('image') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `image` when calling `request_invite_with_photo`") # noqa: E501 # verify the required parameter 'data' is set if self.api_client.client_side_validation and local_var_params.get('data') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `data` when calling `request_invite_with_photo`") # noqa: E501 + # verify the required parameter 'image' is set + if self.api_client.client_side_validation and local_var_params.get('image') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `image` when calling `request_invite_with_photo`") # noqa: E501 collection_formats = {} @@ -1096,10 +1096,10 @@ def request_invite_with_photo_with_http_info(self, user_id, image, data, **kwarg form_params = [] local_var_files = {} - if 'image' in local_var_params: - local_var_files['image'] = local_var_params['image'] # noqa: E501 if 'data' in local_var_params: form_params.append(('data', local_var_params['data'])) # noqa: E501 + if 'image' in local_var_params: + local_var_files['image'] = local_var_params['image'] # noqa: E501 body_params = None # HTTP header `Accept` @@ -1460,22 +1460,22 @@ def respond_invite_with_http_info(self, notification_id, invite_response, **kwar collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def respond_invite_with_photo(self, notification_id, image, data, **kwargs): # noqa: E501 + def respond_invite_with_photo(self, notification_id, data, image, **kwargs): # noqa: E501 """Respond Invite with photo # noqa: E501 Respond with photo to an invite or invite request without accepting it. `:notificationId` is the ID of the requesting notification. In case the notification being replied to is an invite, the `responseSlot` refers to a response message from the the `message` collection. In case the notification is an invite request, it will refer to one from the `requestResponse` collection instead.' # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.respond_invite_with_photo(notification_id, image, data, async_req=True) + >>> thread = api.respond_invite_with_photo(notification_id, data, image, async_req=True) >>> result = thread.get() :param notification_id: Must be a valid notification ID. (required) :type notification_id: str - :param image: The binary blob of the png file. (required) - :type image: file :param data: (required) :type data: InviteResponse + :param image: The binary blob of the png file. (required) + :type image: file :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -1492,24 +1492,24 @@ def respond_invite_with_photo(self, notification_id, image, data, **kwargs): # :rtype: Notification """ kwargs['_return_http_data_only'] = True - return self.respond_invite_with_photo_with_http_info(notification_id, image, data, **kwargs) # noqa: E501 + return self.respond_invite_with_photo_with_http_info(notification_id, data, image, **kwargs) # noqa: E501 - def respond_invite_with_photo_with_http_info(self, notification_id, image, data, **kwargs): # noqa: E501 + def respond_invite_with_photo_with_http_info(self, notification_id, data, image, **kwargs): # noqa: E501 """Respond Invite with photo # noqa: E501 Respond with photo to an invite or invite request without accepting it. `:notificationId` is the ID of the requesting notification. In case the notification being replied to is an invite, the `responseSlot` refers to a response message from the the `message` collection. In case the notification is an invite request, it will refer to one from the `requestResponse` collection instead.' # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.respond_invite_with_photo_with_http_info(notification_id, image, data, async_req=True) + >>> thread = api.respond_invite_with_photo_with_http_info(notification_id, data, image, async_req=True) >>> result = thread.get() :param notification_id: Must be a valid notification ID. (required) :type notification_id: str - :param image: The binary blob of the png file. (required) - :type image: file :param data: (required) :type data: InviteResponse + :param image: The binary blob of the png file. (required) + :type image: file :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -1538,8 +1538,8 @@ def respond_invite_with_photo_with_http_info(self, notification_id, image, data, all_params = [ 'notification_id', - 'image', - 'data' + 'data', + 'image' ] all_params.extend( [ @@ -1564,12 +1564,12 @@ def respond_invite_with_photo_with_http_info(self, notification_id, image, data, # verify the required parameter 'notification_id' is set if self.api_client.client_side_validation and local_var_params.get('notification_id') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `notification_id` when calling `respond_invite_with_photo`") # noqa: E501 - # verify the required parameter 'image' is set - if self.api_client.client_side_validation and local_var_params.get('image') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `image` when calling `respond_invite_with_photo`") # noqa: E501 # verify the required parameter 'data' is set if self.api_client.client_side_validation and local_var_params.get('data') is None: # noqa: E501 raise ApiValueError("Missing the required parameter `data` when calling `respond_invite_with_photo`") # noqa: E501 + # verify the required parameter 'image' is set + if self.api_client.client_side_validation and local_var_params.get('image') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `image` when calling `respond_invite_with_photo`") # noqa: E501 collection_formats = {} @@ -1583,10 +1583,10 @@ def respond_invite_with_photo_with_http_info(self, notification_id, image, data, form_params = [] local_var_files = {} - if 'image' in local_var_params: - local_var_files['image'] = local_var_params['image'] # noqa: E501 if 'data' in local_var_params: form_params.append(('data', local_var_params['data'])) # noqa: E501 + if 'image' in local_var_params: + local_var_files['image'] = local_var_params['image'] # noqa: E501 body_params = None # HTTP header `Accept` diff --git a/vrchatapi/api/jams_api.py b/vrchatapi/api/jams_api.py index a4f08a46..4e0755b2 100644 --- a/vrchatapi/api/jams_api.py +++ b/vrchatapi/api/jams_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/miscellaneous_api.py b/vrchatapi/api/miscellaneous_api.py index fc8f7643..9989b2cf 100644 --- a/vrchatapi/api/miscellaneous_api.py +++ b/vrchatapi/api/miscellaneous_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,316 +36,6 @@ def __init__(self, api_client=None): api_client = ApiClient() self.api_client = api_client - def create_permission(self, **kwargs): # noqa: E501 - """Create Permission # noqa: E501 - - **REQUIRES ADMIN CREDENTIALS**. Creates and returns a new Permission. The permission will by default be owned by the sender of the request unless otherwise specified. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_permission(async_req=True) - >>> result = thread.get() - - :param n: The number of objects to return. - :type n: int - :param offset: A zero-based offset from the default object sorting from where search results start. - :type offset: int - :param owner_id: Owner of the Permission, MUST be valid UserID. - :type owner_id: str - :param create_permission_request: - :type create_permission_request: CreatePermissionRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: Permission - """ - kwargs['_return_http_data_only'] = True - return self.create_permission_with_http_info(**kwargs) # noqa: E501 - - def create_permission_with_http_info(self, **kwargs): # noqa: E501 - """Create Permission # noqa: E501 - - **REQUIRES ADMIN CREDENTIALS**. Creates and returns a new Permission. The permission will by default be owned by the sender of the request unless otherwise specified. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_permission_with_http_info(async_req=True) - >>> result = thread.get() - - :param n: The number of objects to return. - :type n: int - :param offset: A zero-based offset from the default object sorting from where search results start. - :type offset: int - :param owner_id: Owner of the Permission, MUST be valid UserID. - :type owner_id: str - :param create_permission_request: - :type create_permission_request: CreatePermissionRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _return_http_data_only: response data without head status code - and headers - :type _return_http_data_only: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(Permission, status_code(int), headers(HTTPHeaderDict)) - """ - - local_var_params = locals() - - all_params = [ - 'n', - 'offset', - 'owner_id', - 'create_permission_request' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method create_permission" % key - ) - local_var_params[key] = val - del local_var_params['kwargs'] - - if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 - raise ApiValueError("Invalid value for parameter `n` when calling `create_permission`, must be a value less than or equal to `100`") # noqa: E501 - if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 - raise ApiValueError("Invalid value for parameter `n` when calling `create_permission`, must be a value greater than or equal to `1`") # noqa: E501 - if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 - raise ApiValueError("Invalid value for parameter `offset` when calling `create_permission`, must be a value greater than or equal to `0`") # noqa: E501 - collection_formats = {} - - path_params = {} - - query_params = [] - if local_var_params.get('n') is not None: # noqa: E501 - query_params.append(('n', local_var_params['n'])) # noqa: E501 - if local_var_params.get('offset') is not None: # noqa: E501 - query_params.append(('offset', local_var_params['offset'])) # noqa: E501 - if local_var_params.get('owner_id') is not None: # noqa: E501 - query_params.append(('ownerId', local_var_params['owner_id'])) # noqa: E501 - - header_params = dict(local_var_params.get('_headers', {})) - - form_params = [] - local_var_files = {} - - body_params = None - if 'create_permission_request' in local_var_params: - body_params = local_var_params['create_permission_request'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - content_types_list = local_var_params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'], - 'POST', body_params)) # noqa: E501 - if content_types_list: - header_params['Content-Type'] = content_types_list - - # Authentication setting - auth_settings = ['authCookie'] # noqa: E501 - - response_types_map = { - 200: "Permission", - 401: "Error", - 403: "Error", - } - - return self.api_client.call_api( - '/permissions', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_types_map=response_types_map, - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats, - _request_auth=local_var_params.get('_request_auth')) - - def delete_permission(self, permission_id, **kwargs): # noqa: E501 - """Delete Permission # noqa: E501 - - **REQUIRES ADMIN CREDENTIALS**. Deletes a permission. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_permission(permission_id, async_req=True) - >>> result = thread.get() - - :param permission_id: Must be a valid permission ID. (required) - :type permission_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: Permission - """ - kwargs['_return_http_data_only'] = True - return self.delete_permission_with_http_info(permission_id, **kwargs) # noqa: E501 - - def delete_permission_with_http_info(self, permission_id, **kwargs): # noqa: E501 - """Delete Permission # noqa: E501 - - **REQUIRES ADMIN CREDENTIALS**. Deletes a permission. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_permission_with_http_info(permission_id, async_req=True) - >>> result = thread.get() - - :param permission_id: Must be a valid permission ID. (required) - :type permission_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _return_http_data_only: response data without head status code - and headers - :type _return_http_data_only: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(Permission, status_code(int), headers(HTTPHeaderDict)) - """ - - local_var_params = locals() - - all_params = [ - 'permission_id' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method delete_permission" % key - ) - local_var_params[key] = val - del local_var_params['kwargs'] - # verify the required parameter 'permission_id' is set - if self.api_client.client_side_validation and local_var_params.get('permission_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `permission_id` when calling `delete_permission`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'permission_id' in local_var_params: - path_params['permissionId'] = local_var_params['permission_id'] # noqa: E501 - - query_params = [] - - header_params = dict(local_var_params.get('_headers', {})) - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['authCookie'] # noqa: E501 - - response_types_map = { - 200: "Permission", - 401: "Error", - 403: "Error", - } - - return self.api_client.call_api( - '/permissions/{permissionId}', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_types_map=response_types_map, - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats, - _request_auth=local_var_params.get('_request_auth')) - def get_assigned_permissions(self, **kwargs): # noqa: E501 """Get Assigned Permissions # noqa: E501 @@ -1094,6 +784,12 @@ def get_info_push_with_http_info(self, **kwargs): # noqa: E501 local_var_params[key] = val del local_var_params['kwargs'] + if self.api_client.client_side_validation and ('require' in local_var_params and # noqa: E501 + len(local_var_params['require']) < 1): # noqa: E501 + raise ApiValueError("Invalid value for parameter `require` when calling `get_info_push`, length must be greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and ('include' in local_var_params and # noqa: E501 + len(local_var_params['include']) < 1): # noqa: E501 + raise ApiValueError("Invalid value for parameter `include` when calling `get_info_push`, length must be greater than or equal to `1`") # noqa: E501 collection_formats = {} path_params = {} @@ -1418,135 +1114,6 @@ def get_permission_with_http_info(self, permission_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_permissions(self, **kwargs): # noqa: E501 - """Get Permissions # noqa: E501 - - **REQUIRES ADMIN CREDENTIALS**. Returns a list of all existing permissions, just like `/users` with empty search would. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_permissions(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: list[Permission] - """ - kwargs['_return_http_data_only'] = True - return self.get_permissions_with_http_info(**kwargs) # noqa: E501 - - def get_permissions_with_http_info(self, **kwargs): # noqa: E501 - """Get Permissions # noqa: E501 - - **REQUIRES ADMIN CREDENTIALS**. Returns a list of all existing permissions, just like `/users` with empty search would. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_permissions_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _return_http_data_only: response data without head status code - and headers - :type _return_http_data_only: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(list[Permission], status_code(int), headers(HTTPHeaderDict)) - """ - - local_var_params = locals() - - all_params = [ - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method get_permissions" % key - ) - local_var_params[key] = val - del local_var_params['kwargs'] - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = dict(local_var_params.get('_headers', {})) - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['authCookie'] # noqa: E501 - - response_types_map = { - 200: "list[Permission]", - 401: "Error", - 403: "Error", - } - - return self.api_client.call_api( - '/permissions', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_types_map=response_types_map, - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats, - _request_auth=local_var_params.get('_request_auth')) - def get_system_time(self, **kwargs): # noqa: E501 """Current System Time # noqa: E501 @@ -1673,157 +1240,3 @@ def get_system_time_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - - def update_permission(self, permission_id, **kwargs): # noqa: E501 - """Update Permission # noqa: E501 - - **REQUIRES ADMIN CREDENTIALS**. Updates the info on a permission. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_permission(permission_id, async_req=True) - >>> result = thread.get() - - :param permission_id: Must be a valid permission ID. (required) - :type permission_id: str - :param update_permission_request: - :type update_permission_request: UpdatePermissionRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: Permission - """ - kwargs['_return_http_data_only'] = True - return self.update_permission_with_http_info(permission_id, **kwargs) # noqa: E501 - - def update_permission_with_http_info(self, permission_id, **kwargs): # noqa: E501 - """Update Permission # noqa: E501 - - **REQUIRES ADMIN CREDENTIALS**. Updates the info on a permission. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_permission_with_http_info(permission_id, async_req=True) - >>> result = thread.get() - - :param permission_id: Must be a valid permission ID. (required) - :type permission_id: str - :param update_permission_request: - :type update_permission_request: UpdatePermissionRequest - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _return_http_data_only: response data without head status code - and headers - :type _return_http_data_only: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(Permission, status_code(int), headers(HTTPHeaderDict)) - """ - - local_var_params = locals() - - all_params = [ - 'permission_id', - 'update_permission_request' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method update_permission" % key - ) - local_var_params[key] = val - del local_var_params['kwargs'] - # verify the required parameter 'permission_id' is set - if self.api_client.client_side_validation and local_var_params.get('permission_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `permission_id` when calling `update_permission`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'permission_id' in local_var_params: - path_params['permissionId'] = local_var_params['permission_id'] # noqa: E501 - - query_params = [] - - header_params = dict(local_var_params.get('_headers', {})) - - form_params = [] - local_var_files = {} - - body_params = None - if 'update_permission_request' in local_var_params: - body_params = local_var_params['update_permission_request'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - content_types_list = local_var_params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'], - 'PUT', body_params)) # noqa: E501 - if content_types_list: - header_params['Content-Type'] = content_types_list - - # Authentication setting - auth_settings = ['authCookie'] # noqa: E501 - - response_types_map = { - 200: "Permission", - 401: "Error", - 403: "Error", - } - - return self.api_client.call_api( - '/permissions/{permissionId}', 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_types_map=response_types_map, - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats, - _request_auth=local_var_params.get('_request_auth')) diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index d156b3d3..e5f0a855 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -175,16 +175,970 @@ def accept_friend_request_with_http_info(self, notification_id, **kwargs): # no collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def acknowledge_notification_v2(self, notification_id, **kwargs): # noqa: E501 + """Acknowledge NotificationV2 # noqa: E501 + + Acknowledge a specific notification # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.acknowledge_notification_v2(notification_id, async_req=True) + >>> result = thread.get() + + :param notification_id: Must be a valid notification ID. (required) + :type notification_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: NotificationV2 + """ + kwargs['_return_http_data_only'] = True + return self.acknowledge_notification_v2_with_http_info(notification_id, **kwargs) # noqa: E501 + + def acknowledge_notification_v2_with_http_info(self, notification_id, **kwargs): # noqa: E501 + """Acknowledge NotificationV2 # noqa: E501 + + Acknowledge a specific notification # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.acknowledge_notification_v2_with_http_info(notification_id, async_req=True) + >>> result = thread.get() + + :param notification_id: Must be a valid notification ID. (required) + :type notification_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(NotificationV2, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'notification_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method acknowledge_notification_v2" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'notification_id' is set + if self.api_client.client_side_validation and local_var_params.get('notification_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `notification_id` when calling `acknowledge_notification_v2`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'notification_id' in local_var_params: + path_params['notificationId'] = local_var_params['notification_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "NotificationV2", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/notifications/{notificationId}/see', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def clear_notifications(self, **kwargs): # noqa: E501 """Clear All Notifications # noqa: E501 - Clear **all** notifications. # noqa: E501 + Clear **all** notifications. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.clear_notifications(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Success + """ + kwargs['_return_http_data_only'] = True + return self.clear_notifications_with_http_info(**kwargs) # noqa: E501 + + def clear_notifications_with_http_info(self, **kwargs): # noqa: E501 + """Clear All Notifications # noqa: E501 + + Clear **all** notifications. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.clear_notifications_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Success, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method clear_notifications" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "Success", + 401: "Error", + } + + return self.api_client.call_api( + '/auth/user/notifications/clear', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def delete_all_notification_v2s(self, **kwargs): # noqa: E501 + """Delete All NotificationV2s # noqa: E501 + + Delete all of the current user's notifications. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_all_notification_v2s(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Success + """ + kwargs['_return_http_data_only'] = True + return self.delete_all_notification_v2s_with_http_info(**kwargs) # noqa: E501 + + def delete_all_notification_v2s_with_http_info(self, **kwargs): # noqa: E501 + """Delete All NotificationV2s # noqa: E501 + + Delete all of the current user's notifications. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_all_notification_v2s_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Success, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_all_notification_v2s" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "Success", + 401: "Error", + } + + return self.api_client.call_api( + '/notifications', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def delete_notification(self, notification_id, **kwargs): # noqa: E501 + """Delete Notification # noqa: E501 + + Delete a notification. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_notification(notification_id, async_req=True) + >>> result = thread.get() + + :param notification_id: Must be a valid notification ID. (required) + :type notification_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Notification + """ + kwargs['_return_http_data_only'] = True + return self.delete_notification_with_http_info(notification_id, **kwargs) # noqa: E501 + + def delete_notification_with_http_info(self, notification_id, **kwargs): # noqa: E501 + """Delete Notification # noqa: E501 + + Delete a notification. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_notification_with_http_info(notification_id, async_req=True) + >>> result = thread.get() + + :param notification_id: Must be a valid notification ID. (required) + :type notification_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Notification, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'notification_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_notification" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'notification_id' is set + if self.api_client.client_side_validation and local_var_params.get('notification_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `notification_id` when calling `delete_notification`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'notification_id' in local_var_params: + path_params['notificationId'] = local_var_params['notification_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "Notification", + 401: "Error", + } + + return self.api_client.call_api( + '/auth/user/notifications/{notificationId}/hide', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def delete_notification_v2(self, notification_id, **kwargs): # noqa: E501 + """Delete NotificationV2 # noqa: E501 + + Delete a specific notification # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_notification_v2(notification_id, async_req=True) + >>> result = thread.get() + + :param notification_id: Must be a valid notification ID. (required) + :type notification_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Success + """ + kwargs['_return_http_data_only'] = True + return self.delete_notification_v2_with_http_info(notification_id, **kwargs) # noqa: E501 + + def delete_notification_v2_with_http_info(self, notification_id, **kwargs): # noqa: E501 + """Delete NotificationV2 # noqa: E501 + + Delete a specific notification # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_notification_v2_with_http_info(notification_id, async_req=True) + >>> result = thread.get() + + :param notification_id: Must be a valid notification ID. (required) + :type notification_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Success, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'notification_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_notification_v2" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'notification_id' is set + if self.api_client.client_side_validation and local_var_params.get('notification_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `notification_id` when calling `delete_notification_v2`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'notification_id' in local_var_params: + path_params['notificationId'] = local_var_params['notification_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "Success", + 400: "Error", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/notifications/{notificationId}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_notification(self, notification_id, **kwargs): # noqa: E501 + """Show notification # noqa: E501 + + Get a notification by notification `not_` ID. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_notification(notification_id, async_req=True) + >>> result = thread.get() + + :param notification_id: Must be a valid notification ID. (required) + :type notification_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Notification + """ + kwargs['_return_http_data_only'] = True + return self.get_notification_with_http_info(notification_id, **kwargs) # noqa: E501 + + def get_notification_with_http_info(self, notification_id, **kwargs): # noqa: E501 + """Show notification # noqa: E501 + + Get a notification by notification `not_` ID. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_notification_with_http_info(notification_id, async_req=True) + >>> result = thread.get() + + :param notification_id: Must be a valid notification ID. (required) + :type notification_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Notification, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'notification_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_notification" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'notification_id' is set + if self.api_client.client_side_validation and local_var_params.get('notification_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `notification_id` when calling `get_notification`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'notification_id' in local_var_params: + path_params['notificationId'] = local_var_params['notification_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "Notification", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/auth/user/notifications/{notificationId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_notification_v2(self, notification_id, **kwargs): # noqa: E501 + """Get NotificationV2 # noqa: E501 + + Get a specific notification. Appears to require admin credentials by default. Expect a 403 Forbidden error response for normal users. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_notification_v2(notification_id, async_req=True) + >>> result = thread.get() + + :param notification_id: Must be a valid notification ID. (required) + :type notification_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: NotificationV2 + """ + kwargs['_return_http_data_only'] = True + return self.get_notification_v2_with_http_info(notification_id, **kwargs) # noqa: E501 + + def get_notification_v2_with_http_info(self, notification_id, **kwargs): # noqa: E501 + """Get NotificationV2 # noqa: E501 + + Get a specific notification. Appears to require admin credentials by default. Expect a 403 Forbidden error response for normal users. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_notification_v2_with_http_info(notification_id, async_req=True) + >>> result = thread.get() + + :param notification_id: Must be a valid notification ID. (required) + :type notification_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(NotificationV2, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'notification_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_notification_v2" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'notification_id' is set + if self.api_client.client_side_validation and local_var_params.get('notification_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `notification_id` when calling `get_notification_v2`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'notification_id' in local_var_params: + path_params['notificationId'] = local_var_params['notification_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "NotificationV2", + 401: "Error", + 403: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/notifications/{notificationId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_notification_v2s(self, **kwargs): # noqa: E501 + """List NotificationV2s # noqa: E501 + + Retrieve all of the current user's notifications. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.clear_notifications(async_req=True) + >>> thread = api.get_notification_v2s(async_req=True) >>> result = thread.get() + :param limit: The maximum number of entries to get. + :type limit: int :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -198,21 +1152,23 @@ def clear_notifications(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: Success + :rtype: list[NotificationV2] """ kwargs['_return_http_data_only'] = True - return self.clear_notifications_with_http_info(**kwargs) # noqa: E501 + return self.get_notification_v2s_with_http_info(**kwargs) # noqa: E501 - def clear_notifications_with_http_info(self, **kwargs): # noqa: E501 - """Clear All Notifications # noqa: E501 + def get_notification_v2s_with_http_info(self, **kwargs): # noqa: E501 + """List NotificationV2s # noqa: E501 - Clear **all** notifications. # noqa: E501 + Retrieve all of the current user's notifications. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.clear_notifications_with_http_info(async_req=True) + >>> thread = api.get_notification_v2s_with_http_info(async_req=True) >>> result = thread.get() + :param limit: The maximum number of entries to get. + :type limit: int :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -234,12 +1190,13 @@ def clear_notifications_with_http_info(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(Success, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(list[NotificationV2], status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ + 'limit' ] all_params.extend( [ @@ -257,7 +1214,7 @@ def clear_notifications_with_http_info(self, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method clear_notifications" % key + " to method get_notification_v2s" % key ) local_var_params[key] = val del local_var_params['kwargs'] @@ -267,6 +1224,8 @@ def clear_notifications_with_http_info(self, **kwargs): # noqa: E501 path_params = {} query_params = [] + if local_var_params.get('limit') is not None: # noqa: E501 + query_params.append(('limit', local_var_params['limit'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -282,12 +1241,12 @@ def clear_notifications_with_http_info(self, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "Success", + 200: "list[NotificationV2]", 401: "Error", } return self.api_client.call_api( - '/auth/user/notifications/clear', 'PUT', + '/notifications', 'GET', path_params, query_params, header_params, @@ -303,18 +1262,28 @@ def clear_notifications_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def delete_notification(self, notification_id, **kwargs): # noqa: E501 - """Delete Notification # noqa: E501 + def get_notifications(self, **kwargs): # noqa: E501 + """List Notifications # noqa: E501 - Delete a notification. # noqa: E501 + Retrieve all of the current user's notifications. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_notification(notification_id, async_req=True) + >>> thread = api.get_notifications(async_req=True) >>> result = thread.get() - :param notification_id: Must be a valid notification ID. (required) - :type notification_id: str + :param type: Only send notifications of this type (can use `all` for all). This parameter no longer does anything, and is deprecated. + :type type: str + :param sent: Return notifications sent by the user. Must be false or omitted. + :type sent: bool + :param hidden: Whether to return hidden or non-hidden notifications. True only allowed on type `friendRequest`. + :type hidden: bool + :param after: Only return notifications sent after this Date. Ignored if type is `friendRequest`. + :type after: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -328,23 +1297,33 @@ def delete_notification(self, notification_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: Notification + :rtype: list[Notification] """ kwargs['_return_http_data_only'] = True - return self.delete_notification_with_http_info(notification_id, **kwargs) # noqa: E501 + return self.get_notifications_with_http_info(**kwargs) # noqa: E501 - def delete_notification_with_http_info(self, notification_id, **kwargs): # noqa: E501 - """Delete Notification # noqa: E501 + def get_notifications_with_http_info(self, **kwargs): # noqa: E501 + """List Notifications # noqa: E501 - Delete a notification. # noqa: E501 + Retrieve all of the current user's notifications. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_notification_with_http_info(notification_id, async_req=True) + >>> thread = api.get_notifications_with_http_info(async_req=True) >>> result = thread.get() - :param notification_id: Must be a valid notification ID. (required) - :type notification_id: str + :param type: Only send notifications of this type (can use `all` for all). This parameter no longer does anything, and is deprecated. + :type type: str + :param sent: Return notifications sent by the user. Must be false or omitted. + :type sent: bool + :param hidden: Whether to return hidden or non-hidden notifications. True only allowed on type `friendRequest`. + :type hidden: bool + :param after: Only return notifications sent after this Date. Ignored if type is `friendRequest`. + :type after: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -366,13 +1345,18 @@ def delete_notification_with_http_info(self, notification_id, **kwargs): # noqa :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(Notification, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(list[Notification], status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'notification_id' + 'type', + 'sent', + 'hidden', + 'after', + 'n', + 'offset' ] all_params.extend( [ @@ -390,21 +1374,34 @@ def delete_notification_with_http_info(self, notification_id, **kwargs): # noqa if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method delete_notification" % key + " to method get_notifications" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'notification_id' is set - if self.api_client.client_side_validation and local_var_params.get('notification_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `notification_id` when calling `delete_notification`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_notifications`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_notifications`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_notifications`, must be a value greater than or equal to `0`") # noqa: E501 collection_formats = {} path_params = {} - if 'notification_id' in local_var_params: - path_params['notificationId'] = local_var_params['notification_id'] # noqa: E501 query_params = [] + if local_var_params.get('type') is not None: # noqa: E501 + query_params.append(('type', local_var_params['type'])) # noqa: E501 + if local_var_params.get('sent') is not None: # noqa: E501 + query_params.append(('sent', local_var_params['sent'])) # noqa: E501 + if local_var_params.get('hidden') is not None: # noqa: E501 + query_params.append(('hidden', local_var_params['hidden'])) # noqa: E501 + if local_var_params.get('after') is not None: # noqa: E501 + query_params.append(('after', local_var_params['after'])) # noqa: E501 + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -420,12 +1417,12 @@ def delete_notification_with_http_info(self, notification_id, **kwargs): # noqa auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "Notification", + 200: "list[Notification]", 401: "Error", } return self.api_client.call_api( - '/auth/user/notifications/{notificationId}/hide', 'PUT', + '/auth/user/notifications', 'GET', path_params, query_params, header_params, @@ -441,14 +1438,14 @@ def delete_notification_with_http_info(self, notification_id, **kwargs): # noqa collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_notification(self, notification_id, **kwargs): # noqa: E501 - """Show notification # noqa: E501 + def mark_notification_as_read(self, notification_id, **kwargs): # noqa: E501 + """Mark Notification As Read # noqa: E501 - Get a notification by notification `not_` ID. # noqa: E501 + Mark a notification as seen. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_notification(notification_id, async_req=True) + >>> thread = api.mark_notification_as_read(notification_id, async_req=True) >>> result = thread.get() :param notification_id: Must be a valid notification ID. (required) @@ -469,16 +1466,16 @@ def get_notification(self, notification_id, **kwargs): # noqa: E501 :rtype: Notification """ kwargs['_return_http_data_only'] = True - return self.get_notification_with_http_info(notification_id, **kwargs) # noqa: E501 + return self.mark_notification_as_read_with_http_info(notification_id, **kwargs) # noqa: E501 - def get_notification_with_http_info(self, notification_id, **kwargs): # noqa: E501 - """Show notification # noqa: E501 + def mark_notification_as_read_with_http_info(self, notification_id, **kwargs): # noqa: E501 + """Mark Notification As Read # noqa: E501 - Get a notification by notification `not_` ID. # noqa: E501 + Mark a notification as seen. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_notification_with_http_info(notification_id, async_req=True) + >>> thread = api.mark_notification_as_read_with_http_info(notification_id, async_req=True) >>> result = thread.get() :param notification_id: Must be a valid notification ID. (required) @@ -528,13 +1525,13 @@ def get_notification_with_http_info(self, notification_id, **kwargs): # noqa: E if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_notification" % key + " to method mark_notification_as_read" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'notification_id' is set if self.api_client.client_side_validation and local_var_params.get('notification_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `notification_id` when calling `get_notification`") # noqa: E501 + raise ApiValueError("Missing the required parameter `notification_id` when calling `mark_notification_as_read`") # noqa: E501 collection_formats = {} @@ -560,11 +1557,10 @@ def get_notification_with_http_info(self, notification_id, **kwargs): # noqa: E response_types_map = { 200: "Notification", 401: "Error", - 404: "Error", } return self.api_client.call_api( - '/auth/user/notifications/{notificationId}', 'GET', + '/auth/user/notifications/{notificationId}/see', 'PUT', path_params, query_params, header_params, @@ -580,28 +1576,20 @@ def get_notification_with_http_info(self, notification_id, **kwargs): # noqa: E collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_notifications(self, **kwargs): # noqa: E501 - """List Notifications # noqa: E501 + def reply_notification_v2(self, notification_id, body, **kwargs): # noqa: E501 + """Reply NotificationV2 # noqa: E501 - Retrieve all of the current user's notifications. # noqa: E501 + Reply to a specific notification # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_notifications(async_req=True) + >>> thread = api.reply_notification_v2(notification_id, body, async_req=True) >>> result = thread.get() - :param type: Only send notifications of this type (can use `all` for all). This parameter no longer does anything, and is deprecated. - :type type: str - :param sent: Return notifications sent by the user. Must be false or omitted. - :type sent: bool - :param hidden: Whether to return hidden or non-hidden notifications. True only allowed on type `friendRequest`. - :type hidden: bool - :param after: Only return notifications sent after this Date. Ignored if type is `friendRequest`. - :type after: str - :param n: The number of objects to return. - :type n: int - :param offset: A zero-based offset from the default object sorting from where search results start. - :type offset: int + :param notification_id: Must be a valid notification ID. (required) + :type notification_id: str + :param body: (required) + :type body: object :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -615,33 +1603,25 @@ def get_notifications(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[Notification] + :rtype: NotificationV2 """ kwargs['_return_http_data_only'] = True - return self.get_notifications_with_http_info(**kwargs) # noqa: E501 + return self.reply_notification_v2_with_http_info(notification_id, body, **kwargs) # noqa: E501 - def get_notifications_with_http_info(self, **kwargs): # noqa: E501 - """List Notifications # noqa: E501 + def reply_notification_v2_with_http_info(self, notification_id, body, **kwargs): # noqa: E501 + """Reply NotificationV2 # noqa: E501 - Retrieve all of the current user's notifications. # noqa: E501 + Reply to a specific notification # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_notifications_with_http_info(async_req=True) + >>> thread = api.reply_notification_v2_with_http_info(notification_id, body, async_req=True) >>> result = thread.get() - :param type: Only send notifications of this type (can use `all` for all). This parameter no longer does anything, and is deprecated. - :type type: str - :param sent: Return notifications sent by the user. Must be false or omitted. - :type sent: bool - :param hidden: Whether to return hidden or non-hidden notifications. True only allowed on type `friendRequest`. - :type hidden: bool - :param after: Only return notifications sent after this Date. Ignored if type is `friendRequest`. - :type after: str - :param n: The number of objects to return. - :type n: int - :param offset: A zero-based offset from the default object sorting from where search results start. - :type offset: int + :param notification_id: Must be a valid notification ID. (required) + :type notification_id: str + :param body: (required) + :type body: object :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -663,18 +1643,14 @@ def get_notifications_with_http_info(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[Notification], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(NotificationV2, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'type', - 'sent', - 'hidden', - 'after', - 'n', - 'offset' + 'notification_id', + 'body' ] all_params.extend( [ @@ -692,34 +1668,24 @@ def get_notifications_with_http_info(self, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_notifications" % key + " to method reply_notification_v2" % key ) local_var_params[key] = val del local_var_params['kwargs'] + # verify the required parameter 'notification_id' is set + if self.api_client.client_side_validation and local_var_params.get('notification_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `notification_id` when calling `reply_notification_v2`") # noqa: E501 + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and local_var_params.get('body') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `reply_notification_v2`") # noqa: E501 - if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 - raise ApiValueError("Invalid value for parameter `n` when calling `get_notifications`, must be a value less than or equal to `100`") # noqa: E501 - if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 - raise ApiValueError("Invalid value for parameter `n` when calling `get_notifications`, must be a value greater than or equal to `1`") # noqa: E501 - if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 - raise ApiValueError("Invalid value for parameter `offset` when calling `get_notifications`, must be a value greater than or equal to `0`") # noqa: E501 collection_formats = {} path_params = {} + if 'notification_id' in local_var_params: + path_params['notificationId'] = local_var_params['notification_id'] # noqa: E501 query_params = [] - if local_var_params.get('type') is not None: # noqa: E501 - query_params.append(('type', local_var_params['type'])) # noqa: E501 - if local_var_params.get('sent') is not None: # noqa: E501 - query_params.append(('sent', local_var_params['sent'])) # noqa: E501 - if local_var_params.get('hidden') is not None: # noqa: E501 - query_params.append(('hidden', local_var_params['hidden'])) # noqa: E501 - if local_var_params.get('after') is not None: # noqa: E501 - query_params.append(('after', local_var_params['after'])) # noqa: E501 - if local_var_params.get('n') is not None: # noqa: E501 - query_params.append(('n', local_var_params['n'])) # noqa: E501 - if local_var_params.get('offset') is not None: # noqa: E501 - query_params.append(('offset', local_var_params['offset'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -727,20 +1693,32 @@ def get_notifications_with_http_info(self, **kwargs): # noqa: E501 local_var_files = {} body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + # Authentication setting auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "list[Notification]", + 200: "NotificationV2", + 400: "Error", 401: "Error", + 404: "Error", } return self.api_client.call_api( - '/auth/user/notifications', 'GET', + '/notifications/{notificationId}/reply', 'POST', path_params, query_params, header_params, @@ -756,18 +1734,20 @@ def get_notifications_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def mark_notification_as_read(self, notification_id, **kwargs): # noqa: E501 - """Mark Notification As Read # noqa: E501 + def respond_notification_v2(self, notification_id, respond_notification_v2_request, **kwargs): # noqa: E501 + """Respond NotificationV2 # noqa: E501 - Mark a notification as seen. # noqa: E501 + Respond to a specific notification # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.mark_notification_as_read(notification_id, async_req=True) + >>> thread = api.respond_notification_v2(notification_id, respond_notification_v2_request, async_req=True) >>> result = thread.get() :param notification_id: Must be a valid notification ID. (required) :type notification_id: str + :param respond_notification_v2_request: (required) + :type respond_notification_v2_request: RespondNotificationV2Request :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -781,23 +1761,25 @@ def mark_notification_as_read(self, notification_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: Notification + :rtype: NotificationV2 """ kwargs['_return_http_data_only'] = True - return self.mark_notification_as_read_with_http_info(notification_id, **kwargs) # noqa: E501 + return self.respond_notification_v2_with_http_info(notification_id, respond_notification_v2_request, **kwargs) # noqa: E501 - def mark_notification_as_read_with_http_info(self, notification_id, **kwargs): # noqa: E501 - """Mark Notification As Read # noqa: E501 + def respond_notification_v2_with_http_info(self, notification_id, respond_notification_v2_request, **kwargs): # noqa: E501 + """Respond NotificationV2 # noqa: E501 - Mark a notification as seen. # noqa: E501 + Respond to a specific notification # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.mark_notification_as_read_with_http_info(notification_id, async_req=True) + >>> thread = api.respond_notification_v2_with_http_info(notification_id, respond_notification_v2_request, async_req=True) >>> result = thread.get() :param notification_id: Must be a valid notification ID. (required) :type notification_id: str + :param respond_notification_v2_request: (required) + :type respond_notification_v2_request: RespondNotificationV2Request :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -819,13 +1801,14 @@ def mark_notification_as_read_with_http_info(self, notification_id, **kwargs): :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(Notification, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(NotificationV2, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'notification_id' + 'notification_id', + 'respond_notification_v2_request' ] all_params.extend( [ @@ -843,13 +1826,16 @@ def mark_notification_as_read_with_http_info(self, notification_id, **kwargs): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method mark_notification_as_read" % key + " to method respond_notification_v2" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'notification_id' is set if self.api_client.client_side_validation and local_var_params.get('notification_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `notification_id` when calling `mark_notification_as_read`") # noqa: E501 + raise ApiValueError("Missing the required parameter `notification_id` when calling `respond_notification_v2`") # noqa: E501 + # verify the required parameter 'respond_notification_v2_request' is set + if self.api_client.client_side_validation and local_var_params.get('respond_notification_v2_request') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `respond_notification_v2_request` when calling `respond_notification_v2`") # noqa: E501 collection_formats = {} @@ -865,20 +1851,32 @@ def mark_notification_as_read_with_http_info(self, notification_id, **kwargs): local_var_files = {} body_params = None + if 'respond_notification_v2_request' in local_var_params: + body_params = local_var_params['respond_notification_v2_request'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + # Authentication setting auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "Notification", + 200: "NotificationV2", + 400: "Error", 401: "Error", + 404: "Error", } return self.api_client.call_api( - '/auth/user/notifications/{notificationId}/see', 'PUT', + '/notifications/{notificationId}/respond', 'POST', path_params, query_params, header_params, diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index 81106b57..0d716454 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -176,8 +176,6 @@ def get_player_moderations(self, **kwargs): # noqa: E501 :param type: Must be one of PlayerModerationType. :type type: PlayerModerationType - :param source_user_id: Must be valid UserID. Trying to view someone else's moderations results with \"Can't view someone else's player moderations\" error. - :type source_user_id: str :param target_user_id: Must be valid UserID. :type target_user_id: str :param async_req: Whether to execute the request asynchronously. @@ -210,8 +208,6 @@ def get_player_moderations_with_http_info(self, **kwargs): # noqa: E501 :param type: Must be one of PlayerModerationType. :type type: PlayerModerationType - :param source_user_id: Must be valid UserID. Trying to view someone else's moderations results with \"Can't view someone else's player moderations\" error. - :type source_user_id: str :param target_user_id: Must be valid UserID. :type target_user_id: str :param async_req: Whether to execute the request asynchronously. @@ -242,7 +238,6 @@ def get_player_moderations_with_http_info(self, **kwargs): # noqa: E501 all_params = [ 'type', - 'source_user_id', 'target_user_id' ] all_params.extend( @@ -273,8 +268,6 @@ def get_player_moderations_with_http_info(self, **kwargs): # noqa: E501 query_params = [] if local_var_params.get('type') is not None: # noqa: E501 query_params.append(('type', local_var_params['type'])) # noqa: E501 - if local_var_params.get('source_user_id') is not None: # noqa: E501 - query_params.append(('sourceUserId', local_var_params['source_user_id'])) # noqa: E501 if local_var_params.get('target_user_id') is not None: # noqa: E501 query_params.append(('targetUserId', local_var_params['target_user_id'])) # noqa: E501 diff --git a/vrchatapi/api/prints_api.py b/vrchatapi/api/prints_api.py index 02e06cf1..a70d8b94 100644 --- a/vrchatapi/api/prints_api.py +++ b/vrchatapi/api/prints_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -741,10 +741,10 @@ def upload_print_with_http_info(self, image, timestamp, **kwargs): # noqa: E501 local_var_files = {} if 'image' in local_var_params: local_var_files['image'] = local_var_params['image'] # noqa: E501 - if 'timestamp' in local_var_params: - form_params.append(('timestamp', local_var_params['timestamp'])) # noqa: E501 if 'note' in local_var_params: form_params.append(('note', local_var_params['note'])) # noqa: E501 + if 'timestamp' in local_var_params: + form_params.append(('timestamp', local_var_params['timestamp'])) # noqa: E501 if 'world_id' in local_var_params: form_params.append(('worldId', local_var_params['world_id'])) # noqa: E501 if 'world_name' in local_var_params: diff --git a/vrchatapi/api/props_api.py b/vrchatapi/api/props_api.py index 3156afc8..88e81069 100644 --- a/vrchatapi/api/props_api.py +++ b/vrchatapi/api/props_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,6 +36,288 @@ def __init__(self, api_client=None): api_client = ApiClient() self.api_client = api_client + def create_prop(self, create_prop_request, **kwargs): # noqa: E501 + """Create Prop # noqa: E501 + + Create a Prop and return the new Prop object. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.create_prop(create_prop_request, async_req=True) + >>> result = thread.get() + + :param create_prop_request: (required) + :type create_prop_request: CreatePropRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Prop + """ + kwargs['_return_http_data_only'] = True + return self.create_prop_with_http_info(create_prop_request, **kwargs) # noqa: E501 + + def create_prop_with_http_info(self, create_prop_request, **kwargs): # noqa: E501 + """Create Prop # noqa: E501 + + Create a Prop and return the new Prop object. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.create_prop_with_http_info(create_prop_request, async_req=True) + >>> result = thread.get() + + :param create_prop_request: (required) + :type create_prop_request: CreatePropRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Prop, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'create_prop_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method create_prop" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'create_prop_request' is set + if self.api_client.client_side_validation and local_var_params.get('create_prop_request') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `create_prop_request` when calling `create_prop`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'create_prop_request' in local_var_params: + body_params = local_var_params['create_prop_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "Prop", + 401: "Error", + 403: "Error", + } + + return self.api_client.call_api( + '/props', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def delete_prop(self, prop_id, **kwargs): # noqa: E501 + """Delete Prop # noqa: E501 + + Delete a Prop. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_prop(prop_id, async_req=True) + >>> result = thread.get() + + :param prop_id: Prop ID. (required) + :type prop_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + kwargs['_return_http_data_only'] = True + return self.delete_prop_with_http_info(prop_id, **kwargs) # noqa: E501 + + def delete_prop_with_http_info(self, prop_id, **kwargs): # noqa: E501 + """Delete Prop # noqa: E501 + + Delete a Prop. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_prop_with_http_info(prop_id, async_req=True) + >>> result = thread.get() + + :param prop_id: Prop ID. (required) + :type prop_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + + local_var_params = locals() + + all_params = [ + 'prop_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_prop" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'prop_id' is set + if self.api_client.client_side_validation and local_var_params.get('prop_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `prop_id` when calling `delete_prop`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'prop_id' in local_var_params: + path_params['propId'] = local_var_params['prop_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = {} + + return self.api_client.call_api( + '/props/{propId}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def get_prop(self, prop_id, **kwargs): # noqa: E501 """Get Prop # noqa: E501 @@ -155,6 +437,7 @@ def get_prop_with_http_info(self, prop_id, **kwargs): # noqa: E501 response_types_map = { 200: "Prop", 401: "Error", + 404: "Error", } return self.api_client.call_api( @@ -173,3 +456,740 @@ def get_prop_with_http_info(self, prop_id, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + + def get_prop_publish_status(self, prop_id, **kwargs): # noqa: E501 + """Get Prop Publish Status # noqa: E501 + + Returns a PropPublishStatus object. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_prop_publish_status(prop_id, async_req=True) + >>> result = thread.get() + + :param prop_id: Prop ID. (required) + :type prop_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: PropPublishStatus + """ + kwargs['_return_http_data_only'] = True + return self.get_prop_publish_status_with_http_info(prop_id, **kwargs) # noqa: E501 + + def get_prop_publish_status_with_http_info(self, prop_id, **kwargs): # noqa: E501 + """Get Prop Publish Status # noqa: E501 + + Returns a PropPublishStatus object. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_prop_publish_status_with_http_info(prop_id, async_req=True) + >>> result = thread.get() + + :param prop_id: Prop ID. (required) + :type prop_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(PropPublishStatus, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'prop_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_prop_publish_status" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'prop_id' is set + if self.api_client.client_side_validation and local_var_params.get('prop_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `prop_id` when calling `get_prop_publish_status`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'prop_id' in local_var_params: + path_params['propId'] = local_var_params['prop_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "PropPublishStatus", + 401: "Error", + 403: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/props/{propId}/publish', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def list_props(self, author_id, **kwargs): # noqa: E501 + """List Props # noqa: E501 + + Returns a list Prop objects. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.list_props(author_id, async_req=True) + >>> result = thread.get() + + :param author_id: Must be a valid user ID. (required) + :type author_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[Prop] + """ + kwargs['_return_http_data_only'] = True + return self.list_props_with_http_info(author_id, **kwargs) # noqa: E501 + + def list_props_with_http_info(self, author_id, **kwargs): # noqa: E501 + """List Props # noqa: E501 + + Returns a list Prop objects. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.list_props_with_http_info(author_id, async_req=True) + >>> result = thread.get() + + :param author_id: Must be a valid user ID. (required) + :type author_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[Prop], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'author_id', + 'n', + 'offset' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_props" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'author_id' is set + if self.api_client.client_side_validation and local_var_params.get('author_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `author_id` when calling `list_props`") # noqa: E501 + + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `list_props`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `list_props`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `list_props`, must be a value greater than or equal to `0`") # noqa: E501 + collection_formats = {} + + path_params = {} + + query_params = [] + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + if local_var_params.get('author_id') is not None: # noqa: E501 + query_params.append(('authorId', local_var_params['author_id'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[Prop]", + 401: "Error", + 403: "Error", + } + + return self.api_client.call_api( + '/props', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def publish_prop(self, prop_id, **kwargs): # noqa: E501 + """Publish Prop # noqa: E501 + + Publish a Prop and return the updated PropPublishStatus object. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.publish_prop(prop_id, async_req=True) + >>> result = thread.get() + + :param prop_id: Prop ID. (required) + :type prop_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: PropPublishStatus + """ + kwargs['_return_http_data_only'] = True + return self.publish_prop_with_http_info(prop_id, **kwargs) # noqa: E501 + + def publish_prop_with_http_info(self, prop_id, **kwargs): # noqa: E501 + """Publish Prop # noqa: E501 + + Publish a Prop and return the updated PropPublishStatus object. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.publish_prop_with_http_info(prop_id, async_req=True) + >>> result = thread.get() + + :param prop_id: Prop ID. (required) + :type prop_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(PropPublishStatus, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'prop_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method publish_prop" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'prop_id' is set + if self.api_client.client_side_validation and local_var_params.get('prop_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `prop_id` when calling `publish_prop`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'prop_id' in local_var_params: + path_params['propId'] = local_var_params['prop_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "PropPublishStatus", + 401: "Error", + 403: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/props/{propId}/publish', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def unpublish_prop(self, prop_id, **kwargs): # noqa: E501 + """Unpublish Prop # noqa: E501 + + Unpublish a Prop and return the updated PropPublishStatus object. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.unpublish_prop(prop_id, async_req=True) + >>> result = thread.get() + + :param prop_id: Prop ID. (required) + :type prop_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: PropPublishStatus + """ + kwargs['_return_http_data_only'] = True + return self.unpublish_prop_with_http_info(prop_id, **kwargs) # noqa: E501 + + def unpublish_prop_with_http_info(self, prop_id, **kwargs): # noqa: E501 + """Unpublish Prop # noqa: E501 + + Unpublish a Prop and return the updated PropPublishStatus object. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.unpublish_prop_with_http_info(prop_id, async_req=True) + >>> result = thread.get() + + :param prop_id: Prop ID. (required) + :type prop_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(PropPublishStatus, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'prop_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method unpublish_prop" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'prop_id' is set + if self.api_client.client_side_validation and local_var_params.get('prop_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `prop_id` when calling `unpublish_prop`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'prop_id' in local_var_params: + path_params['propId'] = local_var_params['prop_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "PropPublishStatus", + 401: "Error", + 403: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/props/{propId}/publish', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def update_prop(self, prop_id, update_prop_request, **kwargs): # noqa: E501 + """Update Prop # noqa: E501 + + Updates a Prop and returns the updated Prop object. When updating the asset bundle, all of `name`, `assetUrl`, `platform`, `unityVersion`, `assetVersion`, `spawnType`, and `worldPlacementMask` must be present, as well as `propSignature` if this value is not blank. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_prop(prop_id, update_prop_request, async_req=True) + >>> result = thread.get() + + :param prop_id: Prop ID. (required) + :type prop_id: str + :param update_prop_request: (required) + :type update_prop_request: UpdatePropRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Prop + """ + kwargs['_return_http_data_only'] = True + return self.update_prop_with_http_info(prop_id, update_prop_request, **kwargs) # noqa: E501 + + def update_prop_with_http_info(self, prop_id, update_prop_request, **kwargs): # noqa: E501 + """Update Prop # noqa: E501 + + Updates a Prop and returns the updated Prop object. When updating the asset bundle, all of `name`, `assetUrl`, `platform`, `unityVersion`, `assetVersion`, `spawnType`, and `worldPlacementMask` must be present, as well as `propSignature` if this value is not blank. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_prop_with_http_info(prop_id, update_prop_request, async_req=True) + >>> result = thread.get() + + :param prop_id: Prop ID. (required) + :type prop_id: str + :param update_prop_request: (required) + :type update_prop_request: UpdatePropRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Prop, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'prop_id', + 'update_prop_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method update_prop" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'prop_id' is set + if self.api_client.client_side_validation and local_var_params.get('prop_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `prop_id` when calling `update_prop`") # noqa: E501 + # verify the required parameter 'update_prop_request' is set + if self.api_client.client_side_validation and local_var_params.get('update_prop_request') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `update_prop_request` when calling `update_prop`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'prop_id' in local_var_params: + path_params['propId'] = local_var_params['prop_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'update_prop_request' in local_var_params: + body_params = local_var_params['update_prop_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'PUT', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "Prop", + 401: "Error", + 403: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/props/{propId}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index a8146359..192db527 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -338,6 +338,141 @@ def check_user_persistence_exists_with_http_info(self, user_id, world_id, **kwar collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def delete_all_user_persistence_data(self, user_id, **kwargs): # noqa: E501 + """Delete All User Persistence Data # noqa: E501 + + Deletes all of the user's persistence data for every world. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_all_user_persistence_data(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + kwargs['_return_http_data_only'] = True + return self.delete_all_user_persistence_data_with_http_info(user_id, **kwargs) # noqa: E501 + + def delete_all_user_persistence_data_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Delete All User Persistence Data # noqa: E501 + + Deletes all of the user's persistence data for every world. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_all_user_persistence_data_with_http_info(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + + local_var_params = locals() + + all_params = [ + 'user_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_all_user_persistence_data" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `delete_all_user_persistence_data`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = {} + + return self.api_client.call_api( + '/users/{userId}/persist', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def delete_user_persistence(self, user_id, world_id, **kwargs): # noqa: E501 """Delete User Persistence # noqa: E501 @@ -483,14 +618,14 @@ def delete_user_persistence_with_http_info(self, user_id, world_id, **kwargs): collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_user(self, user_id, **kwargs): # noqa: E501 - """Get User by ID # noqa: E501 + def get_blocked_groups(self, user_id, **kwargs): # noqa: E501 + """Get User Group Blocks # noqa: E501 - Get public user information about a specific user using their ID. # noqa: E501 + Returns a list of Groups the user has blocked. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_user(user_id, async_req=True) + >>> thread = api.get_blocked_groups(user_id, async_req=True) >>> result = thread.get() :param user_id: Must be a valid user ID. (required) @@ -508,19 +643,19 @@ def get_user(self, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: User + :rtype: list[Group] """ kwargs['_return_http_data_only'] = True - return self.get_user_with_http_info(user_id, **kwargs) # noqa: E501 + return self.get_blocked_groups_with_http_info(user_id, **kwargs) # noqa: E501 - def get_user_with_http_info(self, user_id, **kwargs): # noqa: E501 - """Get User by ID # noqa: E501 + def get_blocked_groups_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get User Group Blocks # noqa: E501 - Get public user information about a specific user using their ID. # noqa: E501 + Returns a list of Groups the user has blocked. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_user_with_http_info(user_id, async_req=True) + >>> thread = api.get_blocked_groups_with_http_info(user_id, async_req=True) >>> result = thread.get() :param user_id: Must be a valid user ID. (required) @@ -546,7 +681,7 @@ def get_user_with_http_info(self, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(User, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(list[Group], status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() @@ -570,13 +705,13 @@ def get_user_with_http_info(self, user_id, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_user" % key + " to method get_blocked_groups" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `user_id` when calling `get_user`") # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_blocked_groups`") # noqa: E501 collection_formats = {} @@ -600,12 +735,12 @@ def get_user_with_http_info(self, user_id, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "User", + 200: "list[Group]", 401: "Error", } return self.api_client.call_api( - '/users/{userId}', 'GET', + '/users/{userId}/groups/userblocked', 'GET', path_params, query_params, header_params, @@ -621,18 +756,18 @@ def get_user_with_http_info(self, user_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_user_by_name(self, username, **kwargs): # noqa: E501 - """Get User by Username # noqa: E501 + def get_invited_groups(self, user_id, **kwargs): # noqa: E501 + """Get User Group Invited # noqa: E501 - ~~Get public user information about a specific user using their name.~~ **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). This endpoint now require Admin Credentials. # noqa: E501 + Returns a list of Groups the user has been invited to. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_user_by_name(username, async_req=True) + >>> thread = api.get_invited_groups(user_id, async_req=True) >>> result = thread.get() - :param username: Username of the user (required) - :type username: str + :param user_id: Must be a valid user ID. (required) + :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -646,23 +781,1048 @@ def get_user_by_name(self, username, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: User + :rtype: list[Group] """ kwargs['_return_http_data_only'] = True - return self.get_user_by_name_with_http_info(username, **kwargs) # noqa: E501 + return self.get_invited_groups_with_http_info(user_id, **kwargs) # noqa: E501 - def get_user_by_name_with_http_info(self, username, **kwargs): # noqa: E501 - """Get User by Username # noqa: E501 + def get_invited_groups_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get User Group Invited # noqa: E501 - ~~Get public user information about a specific user using their name.~~ **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). This endpoint now require Admin Credentials. # noqa: E501 + Returns a list of Groups the user has been invited to. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_user_by_name_with_http_info(username, async_req=True) + >>> thread = api.get_invited_groups_with_http_info(user_id, async_req=True) >>> result = thread.get() - :param username: Username of the user (required) - :type username: str + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[Group], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_invited_groups" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_invited_groups`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[Group]", + 401: "Error", + } + + return self.api_client.call_api( + '/users/{userId}/groups/invited', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_mutual_friends(self, user_id, **kwargs): # noqa: E501 + """Get User Mutual Friends # noqa: E501 + + Gets a list of mutual friends between the logged in user and the specified user # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_mutual_friends(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[MutualFriend] + """ + kwargs['_return_http_data_only'] = True + return self.get_mutual_friends_with_http_info(user_id, **kwargs) # noqa: E501 + + def get_mutual_friends_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get User Mutual Friends # noqa: E501 + + Gets a list of mutual friends between the logged in user and the specified user # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_mutual_friends_with_http_info(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[MutualFriend], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_id', + 'n', + 'offset' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_mutual_friends" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_mutual_friends`") # noqa: E501 + + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_mutual_friends`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_mutual_friends`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_mutual_friends`, must be a value greater than or equal to `0`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[MutualFriend]", + 401: "Error", + } + + return self.api_client.call_api( + '/users/{userId}/mutuals/friends', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_mutual_groups(self, user_id, **kwargs): # noqa: E501 + """Get User Mutual Groups # noqa: E501 + + Gets a list of mutual groups between the logged in user and the specified user # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_mutual_groups(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[LimitedUserGroups] + """ + kwargs['_return_http_data_only'] = True + return self.get_mutual_groups_with_http_info(user_id, **kwargs) # noqa: E501 + + def get_mutual_groups_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get User Mutual Groups # noqa: E501 + + Gets a list of mutual groups between the logged in user and the specified user # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_mutual_groups_with_http_info(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[LimitedUserGroups], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_id', + 'n', + 'offset' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_mutual_groups" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_mutual_groups`") # noqa: E501 + + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_mutual_groups`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_mutual_groups`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_mutual_groups`, must be a value greater than or equal to `0`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[LimitedUserGroups]", + 401: "Error", + } + + return self.api_client.call_api( + '/users/{userId}/mutuals/groups', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_mutuals(self, user_id, **kwargs): # noqa: E501 + """Get User Mutuals # noqa: E501 + + Gets the counts of mutuals between the logged in user and the specified user # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_mutuals(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Mutuals + """ + kwargs['_return_http_data_only'] = True + return self.get_mutuals_with_http_info(user_id, **kwargs) # noqa: E501 + + def get_mutuals_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get User Mutuals # noqa: E501 + + Gets the counts of mutuals between the logged in user and the specified user # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_mutuals_with_http_info(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Mutuals, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_mutuals" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_mutuals`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "Mutuals", + 401: "Error", + } + + return self.api_client.call_api( + '/users/{userId}/mutuals', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_user(self, user_id, **kwargs): # noqa: E501 + """Get User by ID # noqa: E501 + + Get public user information about a specific user using their ID. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_user(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: User + """ + kwargs['_return_http_data_only'] = True + return self.get_user_with_http_info(user_id, **kwargs) # noqa: E501 + + def get_user_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get User by ID # noqa: E501 + + Get public user information about a specific user using their ID. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_user_with_http_info(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(User, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_user" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_user`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "User", + 401: "Error", + } + + return self.api_client.call_api( + '/users/{userId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_user_all_group_permissions(self, user_id, **kwargs): # noqa: E501 + """Get user's permissions for all joined groups. # noqa: E501 + + Returns a mapping of GroupIDs to arrays of GroupPermissions. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_user_all_group_permissions(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param group_ids: Comma-separated (no spaces!) list of GroupIDs to retrieve permissions for. + :type group_ids: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: dict(str, list[GroupPermissions]) + """ + kwargs['_return_http_data_only'] = True + return self.get_user_all_group_permissions_with_http_info(user_id, **kwargs) # noqa: E501 + + def get_user_all_group_permissions_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get user's permissions for all joined groups. # noqa: E501 + + Returns a mapping of GroupIDs to arrays of GroupPermissions. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_user_all_group_permissions_with_http_info(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param group_ids: Comma-separated (no spaces!) list of GroupIDs to retrieve permissions for. + :type group_ids: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(dict(str, list[GroupPermissions]), status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_id', + 'group_ids' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_user_all_group_permissions" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_user_all_group_permissions`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + if local_var_params.get('group_ids') is not None: # noqa: E501 + query_params.append(('groupIds', local_var_params['group_ids'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "dict(str, list[GroupPermissions])", + 401: "Error", + } + + return self.api_client.call_api( + '/users/{userId}/groups/permissions', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_user_by_name(self, username, **kwargs): # noqa: E501 + """Get User by Username # noqa: E501 + + ~~Get public user information about a specific user using their name.~~ **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). This endpoint now require Admin Credentials. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_user_by_name(username, async_req=True) + >>> result = thread.get() + + :param username: Username of the user (required) + :type username: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: User + """ + kwargs['_return_http_data_only'] = True + return self.get_user_by_name_with_http_info(username, **kwargs) # noqa: E501 + + def get_user_by_name_with_http_info(self, username, **kwargs): # noqa: E501 + """Get User by Username # noqa: E501 + + ~~Get public user information about a specific user using their name.~~ **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). This endpoint now require Admin Credentials. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_user_by_name_with_http_info(username, async_req=True) + >>> result = thread.get() + + :param username: Username of the user (required) + :type username: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(User, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'username' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_user_by_name" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'username' is set + if self.api_client.client_side_validation and local_var_params.get('username') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `username` when calling `get_user_by_name`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'username' in local_var_params: + path_params['username'] = local_var_params['username'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "User", + 401: "Error", + } + + return self.api_client.call_api( + '/users/{username}/name', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_user_feedback(self, user_id, **kwargs): # noqa: E501 + """Get User Feedback # noqa: E501 + + Get user's submitted feedback # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_user_feedback(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param content_id: Filter for users' previously submitted feedback, e.g., a groupId, userId, avatarId, etc. + :type content_id: bool + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[Feedback] + """ + kwargs['_return_http_data_only'] = True + return self.get_user_feedback_with_http_info(user_id, **kwargs) # noqa: E501 + + def get_user_feedback_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get User Feedback # noqa: E501 + + Get user's submitted feedback # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_user_feedback_with_http_info(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param content_id: Filter for users' previously submitted feedback, e.g., a groupId, userId, avatarId, etc. + :type content_id: bool + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -684,13 +1844,16 @@ def get_user_by_name_with_http_info(self, username, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(User, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(list[Feedback], status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'username' + 'user_id', + 'content_id', + 'n', + 'offset' ] all_params.extend( [ @@ -708,21 +1871,33 @@ def get_user_by_name_with_http_info(self, username, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_user_by_name" % key + " to method get_user_feedback" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'username' is set - if self.api_client.client_side_validation and local_var_params.get('username') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `username` when calling `get_user_by_name`") # noqa: E501 + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_user_feedback`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_user_feedback`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_user_feedback`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_user_feedback`, must be a value greater than or equal to `0`") # noqa: E501 collection_formats = {} path_params = {} - if 'username' in local_var_params: - path_params['username'] = local_var_params['username'] # noqa: E501 + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 query_params = [] + if local_var_params.get('content_id') is not None: # noqa: E501 + query_params.append(('contentId', local_var_params['content_id'])) # noqa: E501 + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -738,12 +1913,12 @@ def get_user_by_name_with_http_info(self, username, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "User", + 200: "list[Feedback]", 401: "Error", } return self.api_client.call_api( - '/users/{username}/name', 'GET', + '/users/{userId}/feedback', 'GET', path_params, query_params, header_params, @@ -759,24 +1934,18 @@ def get_user_by_name_with_http_info(self, username, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_user_feedback(self, user_id, **kwargs): # noqa: E501 - """Get User Feedback # noqa: E501 + def get_user_group_instances(self, user_id, **kwargs): # noqa: E501 + """Get User Group Instances # noqa: E501 - Get user's submitted feedback # noqa: E501 + Returns a list of group instances for a user # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_user_feedback(user_id, async_req=True) + >>> thread = api.get_user_group_instances(user_id, async_req=True) >>> result = thread.get() :param user_id: Must be a valid user ID. (required) :type user_id: str - :param content_id: Filter for users' previously submitted feedback, e.g., a groupId, userId, avatarId, etc. - :type content_id: bool - :param n: The number of objects to return. - :type n: int - :param offset: A zero-based offset from the default object sorting from where search results start. - :type offset: int :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -790,29 +1959,23 @@ def get_user_feedback(self, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[Feedback] + :rtype: GetUserGroupInstances200Response """ kwargs['_return_http_data_only'] = True - return self.get_user_feedback_with_http_info(user_id, **kwargs) # noqa: E501 + return self.get_user_group_instances_with_http_info(user_id, **kwargs) # noqa: E501 - def get_user_feedback_with_http_info(self, user_id, **kwargs): # noqa: E501 - """Get User Feedback # noqa: E501 + def get_user_group_instances_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get User Group Instances # noqa: E501 - Get user's submitted feedback # noqa: E501 + Returns a list of group instances for a user # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_user_feedback_with_http_info(user_id, async_req=True) + >>> thread = api.get_user_group_instances_with_http_info(user_id, async_req=True) >>> result = thread.get() :param user_id: Must be a valid user ID. (required) :type user_id: str - :param content_id: Filter for users' previously submitted feedback, e.g., a groupId, userId, avatarId, etc. - :type content_id: bool - :param n: The number of objects to return. - :type n: int - :param offset: A zero-based offset from the default object sorting from where search results start. - :type offset: int :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -834,16 +1997,13 @@ def get_user_feedback_with_http_info(self, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[Feedback], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(GetUserGroupInstances200Response, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'user_id', - 'content_id', - 'n', - 'offset' + 'user_id' ] all_params.extend( [ @@ -861,20 +2021,14 @@ def get_user_feedback_with_http_info(self, user_id, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_user_feedback" % key + " to method get_user_group_instances" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `user_id` when calling `get_user_feedback`") # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_user_group_instances`") # noqa: E501 - if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 - raise ApiValueError("Invalid value for parameter `n` when calling `get_user_feedback`, must be a value less than or equal to `100`") # noqa: E501 - if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 - raise ApiValueError("Invalid value for parameter `n` when calling `get_user_feedback`, must be a value greater than or equal to `1`") # noqa: E501 - if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 - raise ApiValueError("Invalid value for parameter `offset` when calling `get_user_feedback`, must be a value greater than or equal to `0`") # noqa: E501 collection_formats = {} path_params = {} @@ -882,12 +2036,6 @@ def get_user_feedback_with_http_info(self, user_id, **kwargs): # noqa: E501 path_params['userId'] = local_var_params['user_id'] # noqa: E501 query_params = [] - if local_var_params.get('content_id') is not None: # noqa: E501 - query_params.append(('contentId', local_var_params['content_id'])) # noqa: E501 - if local_var_params.get('n') is not None: # noqa: E501 - query_params.append(('n', local_var_params['n'])) # noqa: E501 - if local_var_params.get('offset') is not None: # noqa: E501 - query_params.append(('offset', local_var_params['offset'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -903,12 +2051,13 @@ def get_user_feedback_with_http_info(self, user_id, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "list[Feedback]", + 200: "GetUserGroupInstances200Response", 401: "Error", + 403: "Error", } return self.api_client.call_api( - '/users/{userId}/feedback', 'GET', + '/users/{userId}/instances/groups', 'GET', path_params, query_params, header_params, @@ -924,18 +2073,20 @@ def get_user_feedback_with_http_info(self, user_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_user_group_instances(self, user_id, **kwargs): # noqa: E501 - """Get User Group Instances # noqa: E501 + def get_user_group_instances_for_group(self, user_id, group_id, **kwargs): # noqa: E501 + """Get User Group Instances for a specific Group # noqa: E501 - Returns a list of group instances for a user # noqa: E501 + Returns a list of a group's instances for a user # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_user_group_instances(user_id, async_req=True) + >>> thread = api.get_user_group_instances_for_group(user_id, group_id, async_req=True) >>> result = thread.get() :param user_id: Must be a valid user ID. (required) :type user_id: str + :param group_id: Must be a valid group ID. (required) + :type group_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -952,20 +2103,22 @@ def get_user_group_instances(self, user_id, **kwargs): # noqa: E501 :rtype: GetUserGroupInstances200Response """ kwargs['_return_http_data_only'] = True - return self.get_user_group_instances_with_http_info(user_id, **kwargs) # noqa: E501 + return self.get_user_group_instances_for_group_with_http_info(user_id, group_id, **kwargs) # noqa: E501 - def get_user_group_instances_with_http_info(self, user_id, **kwargs): # noqa: E501 - """Get User Group Instances # noqa: E501 + def get_user_group_instances_for_group_with_http_info(self, user_id, group_id, **kwargs): # noqa: E501 + """Get User Group Instances for a specific Group # noqa: E501 - Returns a list of group instances for a user # noqa: E501 + Returns a list of a group's instances for a user # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_user_group_instances_with_http_info(user_id, async_req=True) + >>> thread = api.get_user_group_instances_for_group_with_http_info(user_id, group_id, async_req=True) >>> result = thread.get() :param user_id: Must be a valid user ID. (required) :type user_id: str + :param group_id: Must be a valid group ID. (required) + :type group_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -993,7 +2146,8 @@ def get_user_group_instances_with_http_info(self, user_id, **kwargs): # noqa: E local_var_params = locals() all_params = [ - 'user_id' + 'user_id', + 'group_id' ] all_params.extend( [ @@ -1011,19 +2165,24 @@ def get_user_group_instances_with_http_info(self, user_id, **kwargs): # noqa: E if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_user_group_instances" % key + " to method get_user_group_instances_for_group" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `user_id` when calling `get_user_group_instances`") # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_user_group_instances_for_group`") # noqa: E501 + # verify the required parameter 'group_id' is set + if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `group_id` when calling `get_user_group_instances_for_group`") # noqa: E501 collection_formats = {} path_params = {} if 'user_id' in local_var_params: path_params['userId'] = local_var_params['user_id'] # noqa: E501 + if 'group_id' in local_var_params: + path_params['groupId'] = local_var_params['group_id'] # noqa: E501 query_params = [] @@ -1047,7 +2206,7 @@ def get_user_group_instances_with_http_info(self, user_id, **kwargs): # noqa: E } return self.api_client.call_api( - '/users/{userId}/instances/groups', 'GET', + '/users/{userId}/instances/groups/{groupId}', 'GET', path_params, query_params, header_params, @@ -1920,172 +3079,6 @@ def remove_tags_with_http_info(self, user_id, change_user_tags_request, **kwargs collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def search_active_users(self, search, **kwargs): # noqa: E501 - """Search Active Users # noqa: E501 - - **REQUIRES ADMIN CREDENTIALS**. Search and list any Active users by text query. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.search_active_users(search, async_req=True) - >>> result = thread.get() - - :param search: Username to search for (required) - :type search: str - :param developer_type: Active user by developer type, none for normal users and internal for moderators - :type developer_type: str - :param offset: A zero-based offset from the default object sorting from where search results start. - :type offset: int - :param n: The number of objects to return. - :type n: int - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: list[LimitedUserFriend] - """ - kwargs['_return_http_data_only'] = True - return self.search_active_users_with_http_info(search, **kwargs) # noqa: E501 - - def search_active_users_with_http_info(self, search, **kwargs): # noqa: E501 - """Search Active Users # noqa: E501 - - **REQUIRES ADMIN CREDENTIALS**. Search and list any Active users by text query. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.search_active_users_with_http_info(search, async_req=True) - >>> result = thread.get() - - :param search: Username to search for (required) - :type search: str - :param developer_type: Active user by developer type, none for normal users and internal for moderators - :type developer_type: str - :param offset: A zero-based offset from the default object sorting from where search results start. - :type offset: int - :param n: The number of objects to return. - :type n: int - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _return_http_data_only: response data without head status code - and headers - :type _return_http_data_only: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(list[LimitedUserFriend], status_code(int), headers(HTTPHeaderDict)) - """ - - local_var_params = locals() - - all_params = [ - 'search', - 'developer_type', - 'offset', - 'n' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method search_active_users" % key - ) - local_var_params[key] = val - del local_var_params['kwargs'] - # verify the required parameter 'search' is set - if self.api_client.client_side_validation and local_var_params.get('search') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `search` when calling `search_active_users`") # noqa: E501 - - if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 - raise ApiValueError("Invalid value for parameter `offset` when calling `search_active_users`, must be a value greater than or equal to `0`") # noqa: E501 - if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 - raise ApiValueError("Invalid value for parameter `n` when calling `search_active_users`, must be a value less than or equal to `100`") # noqa: E501 - if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 - raise ApiValueError("Invalid value for parameter `n` when calling `search_active_users`, must be a value greater than or equal to `1`") # noqa: E501 - collection_formats = {} - - path_params = {} - - query_params = [] - if local_var_params.get('search') is not None: # noqa: E501 - query_params.append(('search', local_var_params['search'])) # noqa: E501 - if local_var_params.get('developer_type') is not None: # noqa: E501 - query_params.append(('developerType', local_var_params['developer_type'])) # noqa: E501 - if local_var_params.get('offset') is not None: # noqa: E501 - query_params.append(('offset', local_var_params['offset'])) # noqa: E501 - if local_var_params.get('n') is not None: # noqa: E501 - query_params.append(('n', local_var_params['n'])) # noqa: E501 - - header_params = dict(local_var_params.get('_headers', {})) - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['authCookie'] # noqa: E501 - - response_types_map = { - 200: "list[LimitedUserFriend]", - 401: "Error", - 403: "Error", - } - - return self.api_client.call_api( - '/users/active', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_types_map=response_types_map, - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats, - _request_auth=local_var_params.get('_request_auth')) - def search_users(self, **kwargs): # noqa: E501 """Search All Users # noqa: E501 @@ -2104,6 +3097,8 @@ def search_users(self, **kwargs): # noqa: E501 :type n: int :param offset: A zero-based offset from the default object sorting from where search results start. :type offset: int + :param is_internal_variant: Not quite sure what this actually does (exists on the website but doesn't seem to be used) + :type is_internal_variant: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -2140,6 +3135,8 @@ def search_users_with_http_info(self, **kwargs): # noqa: E501 :type n: int :param offset: A zero-based offset from the default object sorting from where search results start. :type offset: int + :param is_internal_variant: Not quite sure what this actually does (exists on the website but doesn't seem to be used) + :type is_internal_variant: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -2170,7 +3167,8 @@ def search_users_with_http_info(self, **kwargs): # noqa: E501 'search', 'developer_type', 'n', - 'offset' + 'offset', + 'is_internal_variant' ] all_params.extend( [ @@ -2215,6 +3213,8 @@ def search_users_with_http_info(self, **kwargs): # noqa: E501 query_params.append(('n', local_var_params['n'])) # noqa: E501 if local_var_params.get('offset') is not None: # noqa: E501 query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + if local_var_params.get('is_internal_variant') is not None: # noqa: E501 + query_params.append(('isInternalVariant', local_var_params['is_internal_variant'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 1d3141e9..a6ccd3b0 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -325,6 +325,141 @@ def create_world_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def delete_all_user_persistence_data(self, user_id, **kwargs): # noqa: E501 + """Delete All User Persistence Data # noqa: E501 + + Deletes all of the user's persistence data for every world. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_all_user_persistence_data(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + kwargs['_return_http_data_only'] = True + return self.delete_all_user_persistence_data_with_http_info(user_id, **kwargs) # noqa: E501 + + def delete_all_user_persistence_data_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Delete All User Persistence Data # noqa: E501 + + Deletes all of the user's persistence data for every world. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_all_user_persistence_data_with_http_info(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + + local_var_params = locals() + + all_params = [ + 'user_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_all_user_persistence_data" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `delete_all_user_persistence_data`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = {} + + return self.api_client.call_api( + '/users/{userId}/persist', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def delete_user_persistence(self, user_id, world_id, **kwargs): # noqa: E501 """Delete User Persistence # noqa: E501 @@ -639,6 +774,8 @@ def get_active_worlds(self, **kwargs): # noqa: E501 :type min_unity_version: str :param platform: The platform the asset supports. :type platform: str + :param noplatform: The platform the asset does not support. + :type noplatform: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -691,6 +828,8 @@ def get_active_worlds_with_http_info(self, **kwargs): # noqa: E501 :type min_unity_version: str :param platform: The platform the asset supports. :type platform: str + :param noplatform: The platform the asset does not support. + :type noplatform: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -729,7 +868,8 @@ def get_active_worlds_with_http_info(self, **kwargs): # noqa: E501 'release_status', 'max_unity_version', 'min_unity_version', - 'platform' + 'platform', + 'noplatform' ] all_params.extend( [ @@ -758,6 +898,12 @@ def get_active_worlds_with_http_info(self, **kwargs): # noqa: E501 raise ApiValueError("Invalid value for parameter `n` when calling `get_active_worlds`, must be a value greater than or equal to `1`") # noqa: E501 if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 raise ApiValueError("Invalid value for parameter `offset` when calling `get_active_worlds`, must be a value greater than or equal to `0`") # noqa: E501 + if self.api_client.client_side_validation and ('tag' in local_var_params and # noqa: E501 + len(local_var_params['tag']) < 1): # noqa: E501 + raise ApiValueError("Invalid value for parameter `tag` when calling `get_active_worlds`, length must be greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and ('notag' in local_var_params and # noqa: E501 + len(local_var_params['notag']) < 1): # noqa: E501 + raise ApiValueError("Invalid value for parameter `notag` when calling `get_active_worlds`, length must be greater than or equal to `1`") # noqa: E501 collection_formats = {} path_params = {} @@ -787,6 +933,8 @@ def get_active_worlds_with_http_info(self, **kwargs): # noqa: E501 query_params.append(('minUnityVersion', local_var_params['min_unity_version'])) # noqa: E501 if local_var_params.get('platform') is not None: # noqa: E501 query_params.append(('platform', local_var_params['platform'])) # noqa: E501 + if local_var_params.get('noplatform') is not None: # noqa: E501 + query_params.append(('noplatform', local_var_params['noplatform'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -981,6 +1129,12 @@ def get_favorited_worlds_with_http_info(self, **kwargs): # noqa: E501 raise ApiValueError("Invalid value for parameter `n` when calling `get_favorited_worlds`, must be a value greater than or equal to `1`") # noqa: E501 if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 raise ApiValueError("Invalid value for parameter `offset` when calling `get_favorited_worlds`, must be a value greater than or equal to `0`") # noqa: E501 + if self.api_client.client_side_validation and ('tag' in local_var_params and # noqa: E501 + len(local_var_params['tag']) < 1): # noqa: E501 + raise ApiValueError("Invalid value for parameter `tag` when calling `get_favorited_worlds`, length must be greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and ('notag' in local_var_params and # noqa: E501 + len(local_var_params['notag']) < 1): # noqa: E501 + raise ApiValueError("Invalid value for parameter `notag` when calling `get_favorited_worlds`, length must be greater than or equal to `1`") # noqa: E501 collection_formats = {} path_params = {} @@ -1207,6 +1361,12 @@ def get_recent_worlds_with_http_info(self, **kwargs): # noqa: E501 raise ApiValueError("Invalid value for parameter `n` when calling `get_recent_worlds`, must be a value greater than or equal to `1`") # noqa: E501 if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 raise ApiValueError("Invalid value for parameter `offset` when calling `get_recent_worlds`, must be a value greater than or equal to `0`") # noqa: E501 + if self.api_client.client_side_validation and ('tag' in local_var_params and # noqa: E501 + len(local_var_params['tag']) < 1): # noqa: E501 + raise ApiValueError("Invalid value for parameter `tag` when calling `get_recent_worlds`, length must be greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and ('notag' in local_var_params and # noqa: E501 + len(local_var_params['notag']) < 1): # noqa: E501 + raise ApiValueError("Invalid value for parameter `notag` when calling `get_recent_worlds`, length must be greater than or equal to `1`") # noqa: E501 collection_formats = {} path_params = {} @@ -2011,8 +2171,12 @@ def search_worlds(self, **kwargs): # noqa: E501 :type min_unity_version: str :param platform: The platform the asset supports. :type platform: str + :param noplatform: The platform the asset does not support. + :type noplatform: str :param fuzzy: :type fuzzy: bool + :param avatar_specific: Only search for avatar worlds. + :type avatar_specific: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -2069,8 +2233,12 @@ def search_worlds_with_http_info(self, **kwargs): # noqa: E501 :type min_unity_version: str :param platform: The platform the asset supports. :type platform: str + :param noplatform: The platform the asset does not support. + :type noplatform: str :param fuzzy: :type fuzzy: bool + :param avatar_specific: Only search for avatar worlds. + :type avatar_specific: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -2112,7 +2280,9 @@ def search_worlds_with_http_info(self, **kwargs): # noqa: E501 'max_unity_version', 'min_unity_version', 'platform', - 'fuzzy' + 'noplatform', + 'fuzzy', + 'avatar_specific' ] all_params.extend( [ @@ -2141,6 +2311,12 @@ def search_worlds_with_http_info(self, **kwargs): # noqa: E501 raise ApiValueError("Invalid value for parameter `n` when calling `search_worlds`, must be a value greater than or equal to `1`") # noqa: E501 if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 raise ApiValueError("Invalid value for parameter `offset` when calling `search_worlds`, must be a value greater than or equal to `0`") # noqa: E501 + if self.api_client.client_side_validation and ('tag' in local_var_params and # noqa: E501 + len(local_var_params['tag']) < 1): # noqa: E501 + raise ApiValueError("Invalid value for parameter `tag` when calling `search_worlds`, length must be greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and ('notag' in local_var_params and # noqa: E501 + len(local_var_params['notag']) < 1): # noqa: E501 + raise ApiValueError("Invalid value for parameter `notag` when calling `search_worlds`, length must be greater than or equal to `1`") # noqa: E501 collection_formats = {} path_params = {} @@ -2174,8 +2350,12 @@ def search_worlds_with_http_info(self, **kwargs): # noqa: E501 query_params.append(('minUnityVersion', local_var_params['min_unity_version'])) # noqa: E501 if local_var_params.get('platform') is not None: # noqa: E501 query_params.append(('platform', local_var_params['platform'])) # noqa: E501 + if local_var_params.get('noplatform') is not None: # noqa: E501 + query_params.append(('noplatform', local_var_params['noplatform'])) # noqa: E501 if local_var_params.get('fuzzy') is not None: # noqa: E501 query_params.append(('fuzzy', local_var_params['fuzzy'])) # noqa: E501 + if local_var_params.get('avatar_specific') is not None: # noqa: E501 + query_params.append(('avatarSpecific', local_var_params['avatar_specific'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index f5d07e9e..4af84c43 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,7 +3,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index 1a0fec08..e37e69a6 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -447,7 +447,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.20.5\n"\ + "Version of the API: 1.20.6\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index 745b226f..4ee5e686 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index aaca5fcb..5c5dcc67 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,7 +5,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -17,6 +17,7 @@ from vrchatapi.models.api_config import APIConfig from vrchatapi.models.api_config_access_logs_urls import APIConfigAccessLogsUrls from vrchatapi.models.api_config_announcement import APIConfigAnnouncement +from vrchatapi.models.api_config_audio_config import APIConfigAudioConfig from vrchatapi.models.api_config_avatar_perf_limiter import APIConfigAvatarPerfLimiter from vrchatapi.models.api_config_constants import APIConfigConstants from vrchatapi.models.api_config_constants_groups import APIConfigConstantsGROUPS @@ -28,15 +29,9 @@ from vrchatapi.models.api_config_constants_language import APIConfigConstantsLANGUAGE from vrchatapi.models.api_config_download_url_list import APIConfigDownloadURLList from vrchatapi.models.api_config_events import APIConfigEvents +from vrchatapi.models.api_config_ios_version import APIConfigIosVersion from vrchatapi.models.api_config_min_supported_client_build_number import APIConfigMinSupportedClientBuildNumber from vrchatapi.models.api_config_offline_analysis import APIConfigOfflineAnalysis -from vrchatapi.models.api_config_report_categories import APIConfigReportCategories -from vrchatapi.models.api_config_report_options import APIConfigReportOptions -from vrchatapi.models.api_config_report_options_avatar import APIConfigReportOptionsAvatar -from vrchatapi.models.api_config_report_options_group import APIConfigReportOptionsGroup -from vrchatapi.models.api_config_report_options_user import APIConfigReportOptionsUser -from vrchatapi.models.api_config_report_options_world import APIConfigReportOptionsWorld -from vrchatapi.models.api_config_report_reasons import APIConfigReportReasons from vrchatapi.models.api_health import APIHealth from vrchatapi.models.account_deletion_log import AccountDeletionLog from vrchatapi.models.add_favorite_request import AddFavoriteRequest @@ -44,8 +39,13 @@ from vrchatapi.models.admin_asset_bundle import AdminAssetBundle from vrchatapi.models.admin_unity_package import AdminUnityPackage from vrchatapi.models.age_verification_status import AgeVerificationStatus +from vrchatapi.models.agreement import Agreement +from vrchatapi.models.agreement_code import AgreementCode +from vrchatapi.models.agreement_request import AgreementRequest +from vrchatapi.models.agreement_status import AgreementStatus from vrchatapi.models.avatar import Avatar from vrchatapi.models.avatar_moderation import AvatarModeration +from vrchatapi.models.avatar_moderation_created import AvatarModerationCreated from vrchatapi.models.avatar_moderation_type import AvatarModerationType from vrchatapi.models.avatar_performance import AvatarPerformance from vrchatapi.models.avatar_published_listings_inner import AvatarPublishedListingsInner @@ -55,9 +55,18 @@ from vrchatapi.models.badge import Badge from vrchatapi.models.balance import Balance from vrchatapi.models.ban_group_member_request import BanGroupMemberRequest +from vrchatapi.models.boop_request import BoopRequest from vrchatapi.models.calendar_event import CalendarEvent +from vrchatapi.models.calendar_event_access import CalendarEventAccess +from vrchatapi.models.calendar_event_category import CalendarEventCategory +from vrchatapi.models.calendar_event_discovery import CalendarEventDiscovery +from vrchatapi.models.calendar_event_discovery_inclusion import CalendarEventDiscoveryInclusion +from vrchatapi.models.calendar_event_discovery_scope import CalendarEventDiscoveryScope +from vrchatapi.models.calendar_event_platform import CalendarEventPlatform from vrchatapi.models.calendar_event_user_interest import CalendarEventUserInterest from vrchatapi.models.change_user_tags_request import ChangeUserTagsRequest +from vrchatapi.models.content_filter import ContentFilter +from vrchatapi.models.create_avatar_moderation_request import CreateAvatarModerationRequest from vrchatapi.models.create_avatar_request import CreateAvatarRequest from vrchatapi.models.create_calendar_event_request import CreateCalendarEventRequest from vrchatapi.models.create_file_request import CreateFileRequest @@ -69,16 +78,18 @@ from vrchatapi.models.create_group_request import CreateGroupRequest from vrchatapi.models.create_group_role_request import CreateGroupRoleRequest from vrchatapi.models.create_instance_request import CreateInstanceRequest -from vrchatapi.models.create_permission_request import CreatePermissionRequest +from vrchatapi.models.create_prop_request import CreatePropRequest from vrchatapi.models.create_world_request import CreateWorldRequest from vrchatapi.models.current_user import CurrentUser from vrchatapi.models.current_user_platform_history_inner import CurrentUserPlatformHistoryInner from vrchatapi.models.current_user_presence import CurrentUserPresence +from vrchatapi.models.decline_group_invite_request import DeclineGroupInviteRequest from vrchatapi.models.developer_type import DeveloperType from vrchatapi.models.disable2_fa_result import Disable2FAResult from vrchatapi.models.discord_details import DiscordDetails from vrchatapi.models.dynamic_content_row import DynamicContentRow from vrchatapi.models.economy_account import EconomyAccount +from vrchatapi.models.equip_inventory_item_request import EquipInventoryItemRequest from vrchatapi.models.error import Error from vrchatapi.models.favorite import Favorite from vrchatapi.models.favorite_group import FavoriteGroup @@ -106,6 +117,8 @@ from vrchatapi.models.group_announcement import GroupAnnouncement from vrchatapi.models.group_audit_log_entry import GroupAuditLogEntry from vrchatapi.models.group_gallery import GroupGallery +from vrchatapi.models.group_gallery_file_order import GroupGalleryFileOrder +from vrchatapi.models.group_gallery_file_order_request import GroupGalleryFileOrderRequest from vrchatapi.models.group_gallery_image import GroupGalleryImage from vrchatapi.models.group_instance import GroupInstance from vrchatapi.models.group_join_request_action import GroupJoinRequestAction @@ -125,7 +138,12 @@ from vrchatapi.models.group_role_template_values import GroupRoleTemplateValues from vrchatapi.models.group_role_template_values_roles import GroupRoleTemplateValuesRoles from vrchatapi.models.group_search_sort import GroupSearchSort +from vrchatapi.models.group_transferable import GroupTransferable +from vrchatapi.models.group_transferable_requirements import GroupTransferableRequirements from vrchatapi.models.group_user_visibility import GroupUserVisibility +from vrchatapi.models.image_animation_style import ImageAnimationStyle +from vrchatapi.models.image_loop_style import ImageLoopStyle +from vrchatapi.models.image_mask import ImageMask from vrchatapi.models.info_push import InfoPush from vrchatapi.models.info_push_data import InfoPushData from vrchatapi.models.info_push_data_article import InfoPushDataArticle @@ -138,7 +156,11 @@ from vrchatapi.models.instance_short_name_response import InstanceShortNameResponse from vrchatapi.models.instance_type import InstanceType from vrchatapi.models.inventory import Inventory +from vrchatapi.models.inventory_consumption_results import InventoryConsumptionResults +from vrchatapi.models.inventory_default_attributes1 import InventoryDefaultAttributes1 +from vrchatapi.models.inventory_default_attributes1_validator import InventoryDefaultAttributes1Validator from vrchatapi.models.inventory_drop import InventoryDrop +from vrchatapi.models.inventory_equip_slot import InventoryEquipSlot from vrchatapi.models.inventory_flag import InventoryFlag from vrchatapi.models.inventory_item import InventoryItem from vrchatapi.models.inventory_item_type import InventoryItemType @@ -146,12 +168,14 @@ from vrchatapi.models.inventory_notification_details import InventoryNotificationDetails from vrchatapi.models.inventory_spawn import InventorySpawn from vrchatapi.models.inventory_template import InventoryTemplate +from vrchatapi.models.inventory_user_attributes import InventoryUserAttributes from vrchatapi.models.invite_message import InviteMessage from vrchatapi.models.invite_message_type import InviteMessageType from vrchatapi.models.invite_request import InviteRequest from vrchatapi.models.invite_response import InviteResponse from vrchatapi.models.jam import Jam from vrchatapi.models.jam_state_change_dates import JamStateChangeDates +from vrchatapi.models.join_group_request import JoinGroupRequest from vrchatapi.models.license import License from vrchatapi.models.license_action import LicenseAction from vrchatapi.models.license_group import LicenseGroup @@ -166,6 +190,9 @@ from vrchatapi.models.mime_type import MIMEType from vrchatapi.models.model_print import ModelPrint from vrchatapi.models.moderate_user_request import ModerateUserRequest +from vrchatapi.models.moderation_report import ModerationReport +from vrchatapi.models.mutual_friend import MutualFriend +from vrchatapi.models.mutuals import Mutuals from vrchatapi.models.notification import Notification from vrchatapi.models.notification_detail_invite import NotificationDetailInvite from vrchatapi.models.notification_detail_invite_response import NotificationDetailInviteResponse @@ -173,15 +200,23 @@ from vrchatapi.models.notification_detail_request_invite_response import NotificationDetailRequestInviteResponse from vrchatapi.models.notification_detail_vote_to_kick import NotificationDetailVoteToKick from vrchatapi.models.notification_type import NotificationType +from vrchatapi.models.notification_v2 import NotificationV2 +from vrchatapi.models.notification_v2_details_boop import NotificationV2DetailsBoop +from vrchatapi.models.notification_v2_response import NotificationV2Response +from vrchatapi.models.notification_v2_type import NotificationV2Type from vrchatapi.models.ok_status import OkStatus +from vrchatapi.models.ok_status2 import OkStatus2 from vrchatapi.models.order_option import OrderOption +from vrchatapi.models.order_option_short import OrderOptionShort from vrchatapi.models.paginated_calendar_event_list import PaginatedCalendarEventList from vrchatapi.models.paginated_group_audit_log_entry_list import PaginatedGroupAuditLogEntryList +from vrchatapi.models.paginated_moderation_report_list import PaginatedModerationReportList from vrchatapi.models.past_display_name import PastDisplayName from vrchatapi.models.pending2_fa_result import Pending2FAResult from vrchatapi.models.performance_limiter_info import PerformanceLimiterInfo from vrchatapi.models.performance_ratings import PerformanceRatings from vrchatapi.models.permission import Permission +from vrchatapi.models.permission_data import PermissionData from vrchatapi.models.platform_build_info import PlatformBuildInfo from vrchatapi.models.player_moderation import PlayerModeration from vrchatapi.models.player_moderation_type import PlayerModerationType @@ -190,9 +225,13 @@ from vrchatapi.models.product_listing import ProductListing from vrchatapi.models.product_listing_type import ProductListingType from vrchatapi.models.product_listing_variant import ProductListingVariant +from vrchatapi.models.product_purchase import ProductPurchase +from vrchatapi.models.product_purchase_purchase_context import ProductPurchasePurchaseContext from vrchatapi.models.product_type import ProductType from vrchatapi.models.prop import Prop +from vrchatapi.models.prop_publish_status import PropPublishStatus from vrchatapi.models.prop_unity_package import PropUnityPackage +from vrchatapi.models.purchase_product_listing_request import PurchaseProductListingRequest from vrchatapi.models.region import Region from vrchatapi.models.register_user_account_request import RegisterUserAccountRequest from vrchatapi.models.release_status import ReleaseStatus @@ -201,20 +240,26 @@ from vrchatapi.models.represented_group import RepresentedGroup from vrchatapi.models.request_invite_request import RequestInviteRequest from vrchatapi.models.respond_group_join_request import RespondGroupJoinRequest +from vrchatapi.models.respond_notification_v2_request import RespondNotificationV2Request from vrchatapi.models.response import Response +from vrchatapi.models.search_group_members200_response import SearchGroupMembers200Response from vrchatapi.models.sent_notification import SentNotification from vrchatapi.models.service_queue_stats import ServiceQueueStats from vrchatapi.models.service_status import ServiceStatus from vrchatapi.models.share_inventory_item_direct_request import ShareInventoryItemDirectRequest from vrchatapi.models.sort_option import SortOption +from vrchatapi.models.sort_option_product_purchase import SortOptionProductPurchase from vrchatapi.models.store import Store from vrchatapi.models.store_shelf import StoreShelf from vrchatapi.models.store_type import StoreType from vrchatapi.models.store_view import StoreView from vrchatapi.models.submission import Submission +from vrchatapi.models.submit_moderation_report_request import SubmitModerationReportRequest +from vrchatapi.models.submit_moderation_report_request_details import SubmitModerationReportRequestDetails from vrchatapi.models.subscription import Subscription from vrchatapi.models.subscription_period import SubscriptionPeriod from vrchatapi.models.success import Success +from vrchatapi.models.success_flag import SuccessFlag from vrchatapi.models.tilia_status import TiliaStatus from vrchatapi.models.tilia_tos import TiliaTOS from vrchatapi.models.token_bundle import TokenBundle @@ -223,11 +268,13 @@ from vrchatapi.models.transaction_status import TransactionStatus from vrchatapi.models.transaction_steam_info import TransactionSteamInfo from vrchatapi.models.transaction_steam_wallet_info import TransactionSteamWalletInfo +from vrchatapi.models.transfer_group_request import TransferGroupRequest from vrchatapi.models.two_factor_auth_code import TwoFactorAuthCode from vrchatapi.models.two_factor_email_code import TwoFactorEmailCode from vrchatapi.models.two_factor_recovery_codes import TwoFactorRecoveryCodes from vrchatapi.models.two_factor_recovery_codes_otp_inner import TwoFactorRecoveryCodesOtpInner from vrchatapi.models.unity_package import UnityPackage +from vrchatapi.models.update_asset_review_notes_request import UpdateAssetReviewNotesRequest from vrchatapi.models.update_avatar_request import UpdateAvatarRequest from vrchatapi.models.update_calendar_event_request import UpdateCalendarEventRequest from vrchatapi.models.update_favorite_group_request import UpdateFavoriteGroupRequest @@ -238,12 +285,14 @@ from vrchatapi.models.update_group_role_request import UpdateGroupRoleRequest from vrchatapi.models.update_inventory_item_request import UpdateInventoryItemRequest from vrchatapi.models.update_invite_message_request import UpdateInviteMessageRequest -from vrchatapi.models.update_permission_request import UpdatePermissionRequest +from vrchatapi.models.update_prop_request import UpdatePropRequest +from vrchatapi.models.update_tilia_tos_request import UpdateTiliaTOSRequest from vrchatapi.models.update_user_badge_request import UpdateUserBadgeRequest from vrchatapi.models.update_user_note_request import UpdateUserNoteRequest from vrchatapi.models.update_user_request import UpdateUserRequest from vrchatapi.models.update_world_request import UpdateWorldRequest from vrchatapi.models.user import User +from vrchatapi.models.user_credits_eligible import UserCreditsEligible from vrchatapi.models.user_exists import UserExists from vrchatapi.models.user_note import UserNote from vrchatapi.models.user_note_target_user import UserNoteTargetUser diff --git a/vrchatapi/models/account_deletion_log.py b/vrchatapi/models/account_deletion_log.py index 05930e46..53d59bcd 100644 --- a/vrchatapi/models/account_deletion_log.py +++ b/vrchatapi/models/account_deletion_log.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,56 +36,56 @@ class AccountDeletionLog(object): and the value is json key in definition. """ openapi_types = { - 'message': 'str', + 'date_time': 'datetime', 'deletion_scheduled': 'datetime', - 'date_time': 'datetime' + 'message': 'str' } attribute_map = { - 'message': 'message', + 'date_time': 'dateTime', 'deletion_scheduled': 'deletionScheduled', - 'date_time': 'dateTime' + 'message': 'message' } - def __init__(self, message='Deletion requested', deletion_scheduled=None, date_time=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, date_time=None, deletion_scheduled=None, message='Deletion requested', local_vars_configuration=None): # noqa: E501 """AccountDeletionLog - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._message = None - self._deletion_scheduled = None self._date_time = None + self._deletion_scheduled = None + self._message = None self.discriminator = None - if message is not None: - self.message = message - self.deletion_scheduled = deletion_scheduled if date_time is not None: self.date_time = date_time + self.deletion_scheduled = deletion_scheduled + if message is not None: + self.message = message @property - def message(self): - """Gets the message of this AccountDeletionLog. # noqa: E501 + def date_time(self): + """Gets the date_time of this AccountDeletionLog. # noqa: E501 - Typically \"Deletion requested\" or \"Deletion canceled\". Other messages like \"Deletion completed\" may exist, but are these are not possible to see as a regular user. # noqa: E501 + Date and time of the deletion request. # noqa: E501 - :return: The message of this AccountDeletionLog. # noqa: E501 - :rtype: str + :return: The date_time of this AccountDeletionLog. # noqa: E501 + :rtype: datetime """ - return self._message + return self._date_time - @message.setter - def message(self, message): - """Sets the message of this AccountDeletionLog. + @date_time.setter + def date_time(self, date_time): + """Sets the date_time of this AccountDeletionLog. - Typically \"Deletion requested\" or \"Deletion canceled\". Other messages like \"Deletion completed\" may exist, but are these are not possible to see as a regular user. # noqa: E501 + Date and time of the deletion request. # noqa: E501 - :param message: The message of this AccountDeletionLog. # noqa: E501 - :type message: str + :param date_time: The date_time of this AccountDeletionLog. # noqa: E501 + :type date_time: datetime """ - self._message = message + self._date_time = date_time @property def deletion_scheduled(self): @@ -111,27 +111,27 @@ def deletion_scheduled(self, deletion_scheduled): self._deletion_scheduled = deletion_scheduled @property - def date_time(self): - """Gets the date_time of this AccountDeletionLog. # noqa: E501 + def message(self): + """Gets the message of this AccountDeletionLog. # noqa: E501 - Date and time of the deletion request. # noqa: E501 + Typically \"Deletion requested\" or \"Deletion canceled\". Other messages like \"Deletion completed\" may exist, but are these are not possible to see as a regular user. # noqa: E501 - :return: The date_time of this AccountDeletionLog. # noqa: E501 - :rtype: datetime + :return: The message of this AccountDeletionLog. # noqa: E501 + :rtype: str """ - return self._date_time + return self._message - @date_time.setter - def date_time(self, date_time): - """Sets the date_time of this AccountDeletionLog. + @message.setter + def message(self, message): + """Sets the message of this AccountDeletionLog. - Date and time of the deletion request. # noqa: E501 + Typically \"Deletion requested\" or \"Deletion canceled\". Other messages like \"Deletion completed\" may exist, but are these are not possible to see as a regular user. # noqa: E501 - :param date_time: The date_time of this AccountDeletionLog. # noqa: E501 - :type date_time: datetime + :param message: The message of this AccountDeletionLog. # noqa: E501 + :type message: str """ - self._date_time = date_time + self._message = message def to_dict(self, serialize=False): """Returns the model properties as a dict""" diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index e6d183bb..3ab47e68 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,54 +36,31 @@ class AddFavoriteRequest(object): and the value is json key in definition. """ openapi_types = { - 'type': 'FavoriteType', 'favorite_id': 'str', - 'tags': 'list[str]' + 'tags': 'list[str]', + 'type': 'FavoriteType' } attribute_map = { - 'type': 'type', 'favorite_id': 'favoriteId', - 'tags': 'tags' + 'tags': 'tags', + 'type': 'type' } - def __init__(self, type=None, favorite_id=None, tags=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, favorite_id=None, tags=None, type=None, local_vars_configuration=None): # noqa: E501 """AddFavoriteRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._type = None self._favorite_id = None self._tags = None + self._type = None self.discriminator = None - self.type = type self.favorite_id = favorite_id self.tags = tags - - @property - def type(self): - """Gets the type of this AddFavoriteRequest. # noqa: E501 - - - :return: The type of this AddFavoriteRequest. # noqa: E501 - :rtype: FavoriteType - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this AddFavoriteRequest. - - - :param type: The type of this AddFavoriteRequest. # noqa: E501 - :type type: FavoriteType - """ - if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501 - raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 - - self._type = type + self.type = type @property def favorite_id(self): @@ -135,6 +112,29 @@ def tags(self, tags): self._tags = tags + @property + def type(self): + """Gets the type of this AddFavoriteRequest. # noqa: E501 + + + :return: The type of this AddFavoriteRequest. # noqa: E501 + :rtype: FavoriteType + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this AddFavoriteRequest. + + + :param type: The type of this AddFavoriteRequest. # noqa: E501 + :type type: FavoriteType + """ + if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501 + raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 + + self._type = type + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index 5e62949b..c878defc 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/admin_asset_bundle.py b/vrchatapi/models/admin_asset_bundle.py index 2d748072..a1507283 100644 --- a/vrchatapi/models/admin_asset_bundle.py +++ b/vrchatapi/models/admin_asset_bundle.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/admin_unity_package.py b/vrchatapi/models/admin_unity_package.py index f54cd440..d410a20c 100644 --- a/vrchatapi/models/admin_unity_package.py +++ b/vrchatapi/models/admin_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -123,7 +123,7 @@ def asset_version(self, asset_version): def platform(self): """Gets the platform of this AdminUnityPackage. # noqa: E501 - This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 :return: The platform of this AdminUnityPackage. # noqa: E501 :rtype: str @@ -134,7 +134,7 @@ def platform(self): def platform(self, platform): """Sets the platform of this AdminUnityPackage. - This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 :param platform: The platform of this AdminUnityPackage. # noqa: E501 :type platform: str diff --git a/vrchatapi/models/age_verification_status.py b/vrchatapi/models/age_verification_status.py index 6ad44665..e6db2a84 100644 --- a/vrchatapi/models/age_verification_status.py +++ b/vrchatapi/models/age_verification_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -31,11 +31,11 @@ class AgeVerificationStatus(object): """ allowed enum values """ - hidden = "hidden" + hidden = "18+" + plus18 = "hidden" verified = "verified" - plus18 = "18+" - allowable_values = [hidden, verified, plus18] # noqa: E501 + allowable_values = [hidden, plus18, verified] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/agreement.py b/vrchatapi/models/agreement.py new file mode 100644 index 00000000..d1929a61 --- /dev/null +++ b/vrchatapi/models/agreement.py @@ -0,0 +1,332 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class Agreement(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'agreement_code': 'AgreementCode', + 'agreement_fulltext': 'str', + 'content_id': 'str', + 'created': 'str', + 'id': 'str', + 'tags': 'list[str]', + 'user_id': 'str', + 'version': 'int' + } + + attribute_map = { + 'agreement_code': 'agreementCode', + 'agreement_fulltext': 'agreementFulltext', + 'content_id': 'contentId', + 'created': 'created', + 'id': 'id', + 'tags': 'tags', + 'user_id': 'userId', + 'version': 'version' + } + + def __init__(self, agreement_code=None, agreement_fulltext=None, content_id=None, created=None, id=None, tags=None, user_id=None, version=None, local_vars_configuration=None): # noqa: E501 + """Agreement - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._agreement_code = None + self._agreement_fulltext = None + self._content_id = None + self._created = None + self._id = None + self._tags = None + self._user_id = None + self._version = None + self.discriminator = None + + self.agreement_code = agreement_code + if agreement_fulltext is not None: + self.agreement_fulltext = agreement_fulltext + self.content_id = content_id + self.created = created + self.id = id + self.tags = tags + self.user_id = user_id + self.version = version + + @property + def agreement_code(self): + """Gets the agreement_code of this Agreement. # noqa: E501 + + + :return: The agreement_code of this Agreement. # noqa: E501 + :rtype: AgreementCode + """ + return self._agreement_code + + @agreement_code.setter + def agreement_code(self, agreement_code): + """Sets the agreement_code of this Agreement. + + + :param agreement_code: The agreement_code of this Agreement. # noqa: E501 + :type agreement_code: AgreementCode + """ + if self.local_vars_configuration.client_side_validation and agreement_code is None: # noqa: E501 + raise ValueError("Invalid value for `agreement_code`, must not be `None`") # noqa: E501 + + self._agreement_code = agreement_code + + @property + def agreement_fulltext(self): + """Gets the agreement_fulltext of this Agreement. # noqa: E501 + + The full text of the agreement. # noqa: E501 + + :return: The agreement_fulltext of this Agreement. # noqa: E501 + :rtype: str + """ + return self._agreement_fulltext + + @agreement_fulltext.setter + def agreement_fulltext(self, agreement_fulltext): + """Sets the agreement_fulltext of this Agreement. + + The full text of the agreement. # noqa: E501 + + :param agreement_fulltext: The agreement_fulltext of this Agreement. # noqa: E501 + :type agreement_fulltext: str + """ + + self._agreement_fulltext = agreement_fulltext + + @property + def content_id(self): + """Gets the content_id of this Agreement. # noqa: E501 + + The id of the content being uploaded, such as a WorldID, AvatarID, or PropID. # noqa: E501 + + :return: The content_id of this Agreement. # noqa: E501 + :rtype: str + """ + return self._content_id + + @content_id.setter + def content_id(self, content_id): + """Sets the content_id of this Agreement. + + The id of the content being uploaded, such as a WorldID, AvatarID, or PropID. # noqa: E501 + + :param content_id: The content_id of this Agreement. # noqa: E501 + :type content_id: str + """ + if self.local_vars_configuration.client_side_validation and content_id is None: # noqa: E501 + raise ValueError("Invalid value for `content_id`, must not be `None`") # noqa: E501 + + self._content_id = content_id + + @property + def created(self): + """Gets the created of this Agreement. # noqa: E501 + + When the agreement was created # noqa: E501 + + :return: The created of this Agreement. # noqa: E501 + :rtype: str + """ + return self._created + + @created.setter + def created(self, created): + """Sets the created of this Agreement. + + When the agreement was created # noqa: E501 + + :param created: The created of this Agreement. # noqa: E501 + :type created: str + """ + if self.local_vars_configuration.client_side_validation and created is None: # noqa: E501 + raise ValueError("Invalid value for `created`, must not be `None`") # noqa: E501 + + self._created = created + + @property + def id(self): + """Gets the id of this Agreement. # noqa: E501 + + The id of the agreement. # noqa: E501 + + :return: The id of this Agreement. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this Agreement. + + The id of the agreement. # noqa: E501 + + :param id: The id of this Agreement. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + + self._id = id + + @property + def tags(self): + """Gets the tags of this Agreement. # noqa: E501 + + + :return: The tags of this Agreement. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this Agreement. + + + :param tags: The tags of this Agreement. # noqa: E501 + :type tags: list[str] + """ + if self.local_vars_configuration.client_side_validation and tags is None: # noqa: E501 + raise ValueError("Invalid value for `tags`, must not be `None`") # noqa: E501 + + self._tags = tags + + @property + def user_id(self): + """Gets the user_id of this Agreement. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The user_id of this Agreement. # noqa: E501 + :rtype: str + """ + return self._user_id + + @user_id.setter + def user_id(self, user_id): + """Sets the user_id of this Agreement. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param user_id: The user_id of this Agreement. # noqa: E501 + :type user_id: str + """ + if self.local_vars_configuration.client_side_validation and user_id is None: # noqa: E501 + raise ValueError("Invalid value for `user_id`, must not be `None`") # noqa: E501 + + self._user_id = user_id + + @property + def version(self): + """Gets the version of this Agreement. # noqa: E501 + + The version of the agreement. # noqa: E501 + + :return: The version of this Agreement. # noqa: E501 + :rtype: int + """ + return self._version + + @version.setter + def version(self, version): + """Sets the version of this Agreement. + + The version of the agreement. # noqa: E501 + + :param version: The version of this Agreement. # noqa: E501 + :type version: int + """ + if self.local_vars_configuration.client_side_validation and version is None: # noqa: E501 + raise ValueError("Invalid value for `version`, must not be `None`") # noqa: E501 + + self._version = version + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, Agreement): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, Agreement): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/agreement_code.py b/vrchatapi/models/agreement_code.py new file mode 100644 index 00000000..e7697c68 --- /dev/null +++ b/vrchatapi/models/agreement_code.py @@ -0,0 +1,110 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class AgreementCode(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + CONTENT_COPYRIGHT_OWNED = "content.copyright.owned" + + allowable_values = [CONTENT_COPYRIGHT_OWNED] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """AgreementCode - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AgreementCode): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, AgreementCode): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/agreement_request.py b/vrchatapi/models/agreement_request.py new file mode 100644 index 00000000..231aed82 --- /dev/null +++ b/vrchatapi/models/agreement_request.py @@ -0,0 +1,219 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class AgreementRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'agreement_code': 'AgreementCode', + 'agreement_fulltext': 'str', + 'content_id': 'str', + 'version': 'int' + } + + attribute_map = { + 'agreement_code': 'agreementCode', + 'agreement_fulltext': 'agreementFulltext', + 'content_id': 'contentId', + 'version': 'version' + } + + def __init__(self, agreement_code=None, agreement_fulltext=None, content_id=None, version=None, local_vars_configuration=None): # noqa: E501 + """AgreementRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._agreement_code = None + self._agreement_fulltext = None + self._content_id = None + self._version = None + self.discriminator = None + + self.agreement_code = agreement_code + self.agreement_fulltext = agreement_fulltext + self.content_id = content_id + self.version = version + + @property + def agreement_code(self): + """Gets the agreement_code of this AgreementRequest. # noqa: E501 + + + :return: The agreement_code of this AgreementRequest. # noqa: E501 + :rtype: AgreementCode + """ + return self._agreement_code + + @agreement_code.setter + def agreement_code(self, agreement_code): + """Sets the agreement_code of this AgreementRequest. + + + :param agreement_code: The agreement_code of this AgreementRequest. # noqa: E501 + :type agreement_code: AgreementCode + """ + if self.local_vars_configuration.client_side_validation and agreement_code is None: # noqa: E501 + raise ValueError("Invalid value for `agreement_code`, must not be `None`") # noqa: E501 + + self._agreement_code = agreement_code + + @property + def agreement_fulltext(self): + """Gets the agreement_fulltext of this AgreementRequest. # noqa: E501 + + The full text of the agreement (currently `By clicking OK, I certify that I have the necessary rights to upload this content and that it will not infringe on any third-party legal or intellectual property rights.`). # noqa: E501 + + :return: The agreement_fulltext of this AgreementRequest. # noqa: E501 + :rtype: str + """ + return self._agreement_fulltext + + @agreement_fulltext.setter + def agreement_fulltext(self, agreement_fulltext): + """Sets the agreement_fulltext of this AgreementRequest. + + The full text of the agreement (currently `By clicking OK, I certify that I have the necessary rights to upload this content and that it will not infringe on any third-party legal or intellectual property rights.`). # noqa: E501 + + :param agreement_fulltext: The agreement_fulltext of this AgreementRequest. # noqa: E501 + :type agreement_fulltext: str + """ + if self.local_vars_configuration.client_side_validation and agreement_fulltext is None: # noqa: E501 + raise ValueError("Invalid value for `agreement_fulltext`, must not be `None`") # noqa: E501 + + self._agreement_fulltext = agreement_fulltext + + @property + def content_id(self): + """Gets the content_id of this AgreementRequest. # noqa: E501 + + The id of the content being uploaded, such as a WorldID, AvatarID, or PropID. # noqa: E501 + + :return: The content_id of this AgreementRequest. # noqa: E501 + :rtype: str + """ + return self._content_id + + @content_id.setter + def content_id(self, content_id): + """Sets the content_id of this AgreementRequest. + + The id of the content being uploaded, such as a WorldID, AvatarID, or PropID. # noqa: E501 + + :param content_id: The content_id of this AgreementRequest. # noqa: E501 + :type content_id: str + """ + if self.local_vars_configuration.client_side_validation and content_id is None: # noqa: E501 + raise ValueError("Invalid value for `content_id`, must not be `None`") # noqa: E501 + + self._content_id = content_id + + @property + def version(self): + """Gets the version of this AgreementRequest. # noqa: E501 + + The version of the agreement (currently `1`). # noqa: E501 + + :return: The version of this AgreementRequest. # noqa: E501 + :rtype: int + """ + return self._version + + @version.setter + def version(self, version): + """Sets the version of this AgreementRequest. + + The version of the agreement (currently `1`). # noqa: E501 + + :param version: The version of this AgreementRequest. # noqa: E501 + :type version: int + """ + if self.local_vars_configuration.client_side_validation and version is None: # noqa: E501 + raise ValueError("Invalid value for `version`, must not be `None`") # noqa: E501 + + self._version = version + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AgreementRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, AgreementRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/agreement_status.py b/vrchatapi/models/agreement_status.py new file mode 100644 index 00000000..c69c52b7 --- /dev/null +++ b/vrchatapi/models/agreement_status.py @@ -0,0 +1,248 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class AgreementStatus(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'agreed': 'bool', + 'agreement_code': 'AgreementCode', + 'content_id': 'str', + 'user_id': 'str', + 'version': 'int' + } + + attribute_map = { + 'agreed': 'agreed', + 'agreement_code': 'agreementCode', + 'content_id': 'contentId', + 'user_id': 'userId', + 'version': 'version' + } + + def __init__(self, agreed=None, agreement_code=None, content_id=None, user_id=None, version=None, local_vars_configuration=None): # noqa: E501 + """AgreementStatus - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._agreed = None + self._agreement_code = None + self._content_id = None + self._user_id = None + self._version = None + self.discriminator = None + + self.agreed = agreed + self.agreement_code = agreement_code + self.content_id = content_id + self.user_id = user_id + self.version = version + + @property + def agreed(self): + """Gets the agreed of this AgreementStatus. # noqa: E501 + + Whether the user has agreed for this content. # noqa: E501 + + :return: The agreed of this AgreementStatus. # noqa: E501 + :rtype: bool + """ + return self._agreed + + @agreed.setter + def agreed(self, agreed): + """Sets the agreed of this AgreementStatus. + + Whether the user has agreed for this content. # noqa: E501 + + :param agreed: The agreed of this AgreementStatus. # noqa: E501 + :type agreed: bool + """ + if self.local_vars_configuration.client_side_validation and agreed is None: # noqa: E501 + raise ValueError("Invalid value for `agreed`, must not be `None`") # noqa: E501 + + self._agreed = agreed + + @property + def agreement_code(self): + """Gets the agreement_code of this AgreementStatus. # noqa: E501 + + + :return: The agreement_code of this AgreementStatus. # noqa: E501 + :rtype: AgreementCode + """ + return self._agreement_code + + @agreement_code.setter + def agreement_code(self, agreement_code): + """Sets the agreement_code of this AgreementStatus. + + + :param agreement_code: The agreement_code of this AgreementStatus. # noqa: E501 + :type agreement_code: AgreementCode + """ + if self.local_vars_configuration.client_side_validation and agreement_code is None: # noqa: E501 + raise ValueError("Invalid value for `agreement_code`, must not be `None`") # noqa: E501 + + self._agreement_code = agreement_code + + @property + def content_id(self): + """Gets the content_id of this AgreementStatus. # noqa: E501 + + The id of the content being uploaded, such as a WorldID, AvatarID, or PropID. # noqa: E501 + + :return: The content_id of this AgreementStatus. # noqa: E501 + :rtype: str + """ + return self._content_id + + @content_id.setter + def content_id(self, content_id): + """Sets the content_id of this AgreementStatus. + + The id of the content being uploaded, such as a WorldID, AvatarID, or PropID. # noqa: E501 + + :param content_id: The content_id of this AgreementStatus. # noqa: E501 + :type content_id: str + """ + if self.local_vars_configuration.client_side_validation and content_id is None: # noqa: E501 + raise ValueError("Invalid value for `content_id`, must not be `None`") # noqa: E501 + + self._content_id = content_id + + @property + def user_id(self): + """Gets the user_id of this AgreementStatus. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The user_id of this AgreementStatus. # noqa: E501 + :rtype: str + """ + return self._user_id + + @user_id.setter + def user_id(self, user_id): + """Sets the user_id of this AgreementStatus. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param user_id: The user_id of this AgreementStatus. # noqa: E501 + :type user_id: str + """ + if self.local_vars_configuration.client_side_validation and user_id is None: # noqa: E501 + raise ValueError("Invalid value for `user_id`, must not be `None`") # noqa: E501 + + self._user_id = user_id + + @property + def version(self): + """Gets the version of this AgreementStatus. # noqa: E501 + + The version of the agreement. # noqa: E501 + + :return: The version of this AgreementStatus. # noqa: E501 + :rtype: int + """ + return self._version + + @version.setter + def version(self, version): + """Sets the version of this AgreementStatus. + + The version of the agreement. # noqa: E501 + + :param version: The version of this AgreementStatus. # noqa: E501 + :type version: int + """ + if self.local_vars_configuration.client_side_validation and version is None: # noqa: E501 + raise ValueError("Invalid value for `version`, must not be `None`") # noqa: E501 + + self._version = version + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AgreementStatus): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, AgreementStatus): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index 0890c16c..d2189ab2 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,6 +36,9 @@ class APIConfig(object): and the value is json key in definition. """ openapi_types = { + 'campaign_status': 'str', + 'disable_background_preloads': 'bool', + 'location_gifting_non_sub_prio_enabled': 'bool', 'voice_enable_degradation': 'bool', 'voice_enable_receiver_limiting': 'bool', 'access_logs_urls': 'APIConfigAccessLogsUrls', @@ -45,9 +48,10 @@ class APIConfig(object): 'age_verification_status_visible': 'bool', 'analysis_max_retries': 'int', 'analysis_retry_interval': 'int', - 'announcements': 'list[APIConfigAnnouncement]', 'analytics_segment_new_ui_pct_of_users': 'int', 'analytics_segment_new_ui_salt': 'str', + 'announcements': 'list[APIConfigAnnouncement]', + 'audio_config': 'APIConfigAudioConfig', 'available_language_codes': 'list[str]', 'available_languages': 'list[str]', 'avatar_perf_limiter': 'APIConfigAvatarPerfLimiter', @@ -71,6 +75,7 @@ class APIConfig(object): 'constants': 'APIConfigConstants', 'contact_email': 'str', 'copyright_email': 'str', + 'copyright_form_url': 'str', 'current_privacy_version': 'int', 'current_tos_version': 'int', 'default_avatar': 'str', @@ -82,10 +87,10 @@ class APIConfig(object): 'disable_av_pro_in_proton': 'bool', 'disable_avatar_copying': 'bool', 'disable_avatar_gating': 'bool', + 'disable_captcha': 'bool', 'disable_community_labs': 'bool', 'disable_community_labs_promotion': 'bool', 'disable_email': 'bool', - 'disable_captcha': 'bool', 'disable_event_stream': 'bool', 'disable_feedback_gating': 'bool', 'disable_frontend_builds': 'bool', @@ -100,8 +105,12 @@ class APIConfig(object): 'download_link_windows': 'str', 'download_urls': 'APIConfigDownloadURLList', 'dynamic_world_rows': 'list[DynamicContentRow]', - 'economy_pause_end': 'str', - 'economy_pause_start': 'str', + 'economy_ledger_backfill': 'bool', + 'economy_ledger_migration_stop': 'str', + 'economy_ledger_mode': 'str', + 'economy_pause_end': 'datetime', + 'economy_pause_start': 'datetime', + 'economy_purchase_repair_enabled': 'bool', 'economy_state': 'int', 'events': 'APIConfigEvents', 'force_use_latest_world': 'bool', @@ -111,7 +120,11 @@ class APIConfig(object): 'homepage_redirect_target': 'str', 'hub_world_id': 'str', 'image_host_url_list': 'list[str]', + 'ios_app_version': 'list[str]', + 'ios_version': 'APIConfigIosVersion', 'jobs_email': 'str', + 'max_user_emoji': 'int', + 'max_user_stickers': 'int', 'min_supported_client_build_number': 'APIConfigMinSupportedClientBuildNumber', 'minimum_unity_version_for_uploads': 'str', 'moderation_email': 'str', @@ -119,10 +132,13 @@ class APIConfig(object): 'offline_analysis': 'APIConfigOfflineAnalysis', 'photon_nameserver_overrides': 'list[str]', 'photon_public_keys': 'list[str]', - 'report_categories': 'APIConfigReportCategories', + 'player_url_resolver_sha1': 'str', + 'player_url_resolver_version': 'str', + 'public_key': 'str', + 'report_categories': 'dict(str, ReportCategory)', 'report_form_url': 'str', - 'report_options': 'APIConfigReportOptions', - 'report_reasons': 'APIConfigReportReasons', + 'report_options': 'dict(str, dict(str, list[str]))', + 'report_reasons': 'dict(str, ReportReason)', 'require_age_verification_beta_tag': 'bool', 'sdk_developer_faq_url': 'str', 'sdk_discord_url': 'str', @@ -131,8 +147,8 @@ class APIConfig(object): 'string_host_url_list': 'list[str]', 'support_email': 'str', 'support_form_url': 'str', - 'timekeeping': 'bool', 'time_out_world_id': 'str', + 'timekeeping': 'bool', 'tutorial_world_id': 'str', 'update_rate_ms_maximum': 'int', 'update_rate_ms_minimum': 'int', @@ -142,16 +158,16 @@ class APIConfig(object): 'url_list': 'list[str]', 'use_reliable_udp_for_voice': 'bool', 'vive_windows_url': 'str', - 'white_listed_asset_urls': 'list[str]', - 'player_url_resolver_version': 'str', - 'player_url_resolver_sha1': 'str', - 'public_key': 'str', 'websocket_max_friends_refresh_delay': 'int', 'websocket_quick_reconnect_time': 'int', - 'websocket_reconnect_max_delay': 'int' + 'websocket_reconnect_max_delay': 'int', + 'white_listed_asset_urls': 'list[str]' } attribute_map = { + 'campaign_status': 'CampaignStatus', + 'disable_background_preloads': 'DisableBackgroundPreloads', + 'location_gifting_non_sub_prio_enabled': 'LocationGiftingNonSubPrioEnabled', 'voice_enable_degradation': 'VoiceEnableDegradation', 'voice_enable_receiver_limiting': 'VoiceEnableReceiverLimiting', 'access_logs_urls': 'accessLogsUrls', @@ -161,9 +177,10 @@ class APIConfig(object): 'age_verification_status_visible': 'ageVerificationStatusVisible', 'analysis_max_retries': 'analysisMaxRetries', 'analysis_retry_interval': 'analysisRetryInterval', - 'announcements': 'announcements', 'analytics_segment_new_ui_pct_of_users': 'analyticsSegment_NewUI_PctOfUsers', 'analytics_segment_new_ui_salt': 'analyticsSegment_NewUI_Salt', + 'announcements': 'announcements', + 'audio_config': 'audioConfig', 'available_language_codes': 'availableLanguageCodes', 'available_languages': 'availableLanguages', 'avatar_perf_limiter': 'avatarPerfLimiter', @@ -187,6 +204,7 @@ class APIConfig(object): 'constants': 'constants', 'contact_email': 'contactEmail', 'copyright_email': 'copyrightEmail', + 'copyright_form_url': 'copyrightFormUrl', 'current_privacy_version': 'currentPrivacyVersion', 'current_tos_version': 'currentTOSVersion', 'default_avatar': 'defaultAvatar', @@ -198,10 +216,10 @@ class APIConfig(object): 'disable_av_pro_in_proton': 'disableAVProInProton', 'disable_avatar_copying': 'disableAvatarCopying', 'disable_avatar_gating': 'disableAvatarGating', + 'disable_captcha': 'disableCaptcha', 'disable_community_labs': 'disableCommunityLabs', 'disable_community_labs_promotion': 'disableCommunityLabsPromotion', 'disable_email': 'disableEmail', - 'disable_captcha': 'disableCaptcha', 'disable_event_stream': 'disableEventStream', 'disable_feedback_gating': 'disableFeedbackGating', 'disable_frontend_builds': 'disableFrontendBuilds', @@ -216,8 +234,12 @@ class APIConfig(object): 'download_link_windows': 'downloadLinkWindows', 'download_urls': 'downloadUrls', 'dynamic_world_rows': 'dynamicWorldRows', + 'economy_ledger_backfill': 'economyLedgerBackfill', + 'economy_ledger_migration_stop': 'economyLedgerMigrationStop', + 'economy_ledger_mode': 'economyLedgerMode', 'economy_pause_end': 'economyPauseEnd', 'economy_pause_start': 'economyPauseStart', + 'economy_purchase_repair_enabled': 'economyPurchaseRepairEnabled', 'economy_state': 'economyState', 'events': 'events', 'force_use_latest_world': 'forceUseLatestWorld', @@ -227,7 +249,11 @@ class APIConfig(object): 'homepage_redirect_target': 'homepageRedirectTarget', 'hub_world_id': 'hubWorldId', 'image_host_url_list': 'imageHostUrlList', + 'ios_app_version': 'iosAppVersion', + 'ios_version': 'iosVersion', 'jobs_email': 'jobsEmail', + 'max_user_emoji': 'maxUserEmoji', + 'max_user_stickers': 'maxUserStickers', 'min_supported_client_build_number': 'minSupportedClientBuildNumber', 'minimum_unity_version_for_uploads': 'minimumUnityVersionForUploads', 'moderation_email': 'moderationEmail', @@ -235,6 +261,9 @@ class APIConfig(object): 'offline_analysis': 'offlineAnalysis', 'photon_nameserver_overrides': 'photonNameserverOverrides', 'photon_public_keys': 'photonPublicKeys', + 'player_url_resolver_sha1': 'player-url-resolver-sha1', + 'player_url_resolver_version': 'player-url-resolver-version', + 'public_key': 'publicKey', 'report_categories': 'reportCategories', 'report_form_url': 'reportFormUrl', 'report_options': 'reportOptions', @@ -247,8 +276,8 @@ class APIConfig(object): 'string_host_url_list': 'stringHostUrlList', 'support_email': 'supportEmail', 'support_form_url': 'supportFormUrl', - 'timekeeping': 'timekeeping', 'time_out_world_id': 'timeOutWorldId', + 'timekeeping': 'timekeeping', 'tutorial_world_id': 'tutorialWorldId', 'update_rate_ms_maximum': 'updateRateMsMaximum', 'update_rate_ms_minimum': 'updateRateMsMinimum', @@ -258,21 +287,21 @@ class APIConfig(object): 'url_list': 'urlList', 'use_reliable_udp_for_voice': 'useReliableUdpForVoice', 'vive_windows_url': 'viveWindowsUrl', - 'white_listed_asset_urls': 'whiteListedAssetUrls', - 'player_url_resolver_version': 'player-url-resolver-version', - 'player_url_resolver_sha1': 'player-url-resolver-sha1', - 'public_key': 'publicKey', 'websocket_max_friends_refresh_delay': 'websocketMaxFriendsRefreshDelay', 'websocket_quick_reconnect_time': 'websocketQuickReconnectTime', - 'websocket_reconnect_max_delay': 'websocketReconnectMaxDelay' + 'websocket_reconnect_max_delay': 'websocketReconnectMaxDelay', + 'white_listed_asset_urls': 'whiteListedAssetUrls' } - def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limiting=True, access_logs_urls=None, address=None, age_verification_invite_visible=None, age_verification_p=None, age_verification_status_visible=None, analysis_max_retries=None, analysis_retry_interval=None, announcements=None, analytics_segment_new_ui_pct_of_users=None, analytics_segment_new_ui_salt=None, available_language_codes=None, available_languages=None, avatar_perf_limiter=None, chatbox_log_buffer_seconds=40, client_api_key=None, client_bps_ceiling=18432, client_disconnect_timeout=30000, client_net_dispatch_thread=False, client_net_dispatch_thread_mobile=True, client_net_in_thread=False, client_net_in_thread2=False, client_net_in_thread_mobile=False, client_net_in_thread_mobile2=False, client_net_out_thread=False, client_net_out_thread2=False, client_net_out_thread_mobile=False, client_net_out_thread_mobile2=False, client_qr=1, client_reserved_player_bps=7168, client_sent_count_allowance=15, constants=None, contact_email=None, copyright_email=None, current_privacy_version=1, current_tos_version=None, default_avatar=None, default_sticker_set=None, dev_language_codes=None, dev_sdk_url=None, dev_sdk_version=None, dis_countdown=None, disable_av_pro_in_proton=False, disable_avatar_copying=False, disable_avatar_gating=False, disable_community_labs=False, disable_community_labs_promotion=False, disable_email=False, disable_captcha=True, disable_event_stream=False, disable_feedback_gating=False, disable_frontend_builds=False, disable_gift_drops=False, disable_hello=False, disable_oculus_subs=False, disable_registration=False, disable_steam_networking=True, disable_two_factor_auth=False, disable_udon=False, disable_upgrade_account=False, download_link_windows=None, download_urls=None, dynamic_world_rows=None, economy_pause_end=None, economy_pause_start=None, economy_state=1, events=None, force_use_latest_world=True, gift_display_type=None, google_api_client_id='827942544393-r2ouvckvouldn9dg9uruseje575e878f.apps.googleusercontent.com', home_world_id=None, homepage_redirect_target='https://hello.vrchat.com', hub_world_id=None, image_host_url_list=None, jobs_email=None, min_supported_client_build_number=None, minimum_unity_version_for_uploads='2019.0.0f1', moderation_email=None, not_allowed_to_select_avatar_in_private_world_message=None, offline_analysis=None, photon_nameserver_overrides=None, photon_public_keys=None, report_categories=None, report_form_url='https://help.vrchat.com/hc/en-us/requests/new?ticket_form_id=1500000182242&tf_360056455174=user_report&tf_360057451993={userId}&tf_1500001445142={reportedId}&tf_subject={reason} {category} By {contentType} {reportedName}&tf_description={description}', report_options=None, report_reasons=None, require_age_verification_beta_tag=None, sdk_developer_faq_url=None, sdk_discord_url=None, sdk_not_allowed_to_publish_message=None, sdk_unity_version=None, string_host_url_list=None, support_email=None, support_form_url=None, timekeeping=True, time_out_world_id=None, tutorial_world_id=None, update_rate_ms_maximum=None, update_rate_ms_minimum=None, update_rate_ms_normal=None, update_rate_ms_udon_manual=None, upload_analysis_percent=None, url_list=None, use_reliable_udp_for_voice=False, vive_windows_url=None, white_listed_asset_urls=None, player_url_resolver_version=None, player_url_resolver_sha1=None, public_key=None, websocket_max_friends_refresh_delay=900, websocket_quick_reconnect_time=2, websocket_reconnect_max_delay=2, local_vars_configuration=None): # noqa: E501 + def __init__(self, campaign_status=None, disable_background_preloads=True, location_gifting_non_sub_prio_enabled=True, voice_enable_degradation=False, voice_enable_receiver_limiting=True, access_logs_urls=None, address=None, age_verification_invite_visible=None, age_verification_p=None, age_verification_status_visible=None, analysis_max_retries=None, analysis_retry_interval=None, analytics_segment_new_ui_pct_of_users=None, analytics_segment_new_ui_salt=None, announcements=None, audio_config=None, available_language_codes=None, available_languages=None, avatar_perf_limiter=None, chatbox_log_buffer_seconds=40, client_api_key=None, client_bps_ceiling=18432, client_disconnect_timeout=30000, client_net_dispatch_thread=False, client_net_dispatch_thread_mobile=True, client_net_in_thread=False, client_net_in_thread2=False, client_net_in_thread_mobile=False, client_net_in_thread_mobile2=False, client_net_out_thread=False, client_net_out_thread2=False, client_net_out_thread_mobile=False, client_net_out_thread_mobile2=False, client_qr=1, client_reserved_player_bps=7168, client_sent_count_allowance=15, constants=None, contact_email=None, copyright_email=None, copyright_form_url=None, current_privacy_version=1, current_tos_version=None, default_avatar=None, default_sticker_set=None, dev_language_codes=None, dev_sdk_url=None, dev_sdk_version=None, dis_countdown=None, disable_av_pro_in_proton=False, disable_avatar_copying=False, disable_avatar_gating=False, disable_captcha=True, disable_community_labs=False, disable_community_labs_promotion=False, disable_email=False, disable_event_stream=False, disable_feedback_gating=False, disable_frontend_builds=False, disable_gift_drops=False, disable_hello=False, disable_oculus_subs=False, disable_registration=False, disable_steam_networking=True, disable_two_factor_auth=False, disable_udon=False, disable_upgrade_account=False, download_link_windows=None, download_urls=None, dynamic_world_rows=None, economy_ledger_backfill=None, economy_ledger_migration_stop=None, economy_ledger_mode=None, economy_pause_end=None, economy_pause_start=None, economy_purchase_repair_enabled=None, economy_state=1, events=None, force_use_latest_world=True, gift_display_type=None, google_api_client_id='827942544393-r2ouvckvouldn9dg9uruseje575e878f.apps.googleusercontent.com', home_world_id=None, homepage_redirect_target='https://hello.vrchat.com', hub_world_id=None, image_host_url_list=None, ios_app_version=None, ios_version=None, jobs_email=None, max_user_emoji=18, max_user_stickers=18, min_supported_client_build_number=None, minimum_unity_version_for_uploads='2019.0.0f1', moderation_email=None, not_allowed_to_select_avatar_in_private_world_message=None, offline_analysis=None, photon_nameserver_overrides=None, photon_public_keys=None, player_url_resolver_sha1=None, player_url_resolver_version=None, public_key=None, report_categories=None, report_form_url='https://help.vrchat.com/hc/en-us/requests/new?ticket_form_id=1500000182242&tf_360056455174=user_report&tf_360057451993={userId}&tf_1500001445142={reportedId}&tf_subject={reason} {category} By {contentType} {reportedName}&tf_description={description}', report_options=None, report_reasons=None, require_age_verification_beta_tag=None, sdk_developer_faq_url=None, sdk_discord_url=None, sdk_not_allowed_to_publish_message=None, sdk_unity_version=None, string_host_url_list=None, support_email=None, support_form_url=None, time_out_world_id=None, timekeeping=True, tutorial_world_id=None, update_rate_ms_maximum=None, update_rate_ms_minimum=None, update_rate_ms_normal=None, update_rate_ms_udon_manual=None, upload_analysis_percent=None, url_list=None, use_reliable_udp_for_voice=False, vive_windows_url=None, websocket_max_friends_refresh_delay=900, websocket_quick_reconnect_time=2, websocket_reconnect_max_delay=2, white_listed_asset_urls=None, local_vars_configuration=None): # noqa: E501 """APIConfig - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration + self._campaign_status = None + self._disable_background_preloads = None + self._location_gifting_non_sub_prio_enabled = None self._voice_enable_degradation = None self._voice_enable_receiver_limiting = None self._access_logs_urls = None @@ -282,9 +311,10 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self._age_verification_status_visible = None self._analysis_max_retries = None self._analysis_retry_interval = None - self._announcements = None self._analytics_segment_new_ui_pct_of_users = None self._analytics_segment_new_ui_salt = None + self._announcements = None + self._audio_config = None self._available_language_codes = None self._available_languages = None self._avatar_perf_limiter = None @@ -308,6 +338,7 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self._constants = None self._contact_email = None self._copyright_email = None + self._copyright_form_url = None self._current_privacy_version = None self._current_tos_version = None self._default_avatar = None @@ -319,10 +350,10 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self._disable_av_pro_in_proton = None self._disable_avatar_copying = None self._disable_avatar_gating = None + self._disable_captcha = None self._disable_community_labs = None self._disable_community_labs_promotion = None self._disable_email = None - self._disable_captcha = None self._disable_event_stream = None self._disable_feedback_gating = None self._disable_frontend_builds = None @@ -337,8 +368,12 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self._download_link_windows = None self._download_urls = None self._dynamic_world_rows = None + self._economy_ledger_backfill = None + self._economy_ledger_migration_stop = None + self._economy_ledger_mode = None self._economy_pause_end = None self._economy_pause_start = None + self._economy_purchase_repair_enabled = None self._economy_state = None self._events = None self._force_use_latest_world = None @@ -348,7 +383,11 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self._homepage_redirect_target = None self._hub_world_id = None self._image_host_url_list = None + self._ios_app_version = None + self._ios_version = None self._jobs_email = None + self._max_user_emoji = None + self._max_user_stickers = None self._min_supported_client_build_number = None self._minimum_unity_version_for_uploads = None self._moderation_email = None @@ -356,6 +395,9 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self._offline_analysis = None self._photon_nameserver_overrides = None self._photon_public_keys = None + self._player_url_resolver_sha1 = None + self._player_url_resolver_version = None + self._public_key = None self._report_categories = None self._report_form_url = None self._report_options = None @@ -368,8 +410,8 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self._string_host_url_list = None self._support_email = None self._support_form_url = None - self._timekeeping = None self._time_out_world_id = None + self._timekeeping = None self._tutorial_world_id = None self._update_rate_ms_maximum = None self._update_rate_ms_minimum = None @@ -379,15 +421,15 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self._url_list = None self._use_reliable_udp_for_voice = None self._vive_windows_url = None - self._white_listed_asset_urls = None - self._player_url_resolver_version = None - self._player_url_resolver_sha1 = None - self._public_key = None self._websocket_max_friends_refresh_delay = None self._websocket_quick_reconnect_time = None self._websocket_reconnect_max_delay = None + self._white_listed_asset_urls = None self.discriminator = None + self.campaign_status = campaign_status + self.disable_background_preloads = disable_background_preloads + self.location_gifting_non_sub_prio_enabled = location_gifting_non_sub_prio_enabled self.voice_enable_degradation = voice_enable_degradation self.voice_enable_receiver_limiting = voice_enable_receiver_limiting self.access_logs_urls = access_logs_urls @@ -397,9 +439,11 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self.age_verification_status_visible = age_verification_status_visible self.analysis_max_retries = analysis_max_retries self.analysis_retry_interval = analysis_retry_interval - self.announcements = announcements self.analytics_segment_new_ui_pct_of_users = analytics_segment_new_ui_pct_of_users self.analytics_segment_new_ui_salt = analytics_segment_new_ui_salt + self.announcements = announcements + if audio_config is not None: + self.audio_config = audio_config self.available_language_codes = available_language_codes self.available_languages = available_languages self.avatar_perf_limiter = avatar_perf_limiter @@ -433,8 +477,8 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self.constants = constants self.contact_email = contact_email self.copyright_email = copyright_email - if current_privacy_version is not None: - self.current_privacy_version = current_privacy_version + self.copyright_form_url = copyright_form_url + self.current_privacy_version = current_privacy_version self.current_tos_version = current_tos_version self.default_avatar = default_avatar self.default_sticker_set = default_sticker_set @@ -447,11 +491,11 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self.disable_av_pro_in_proton = disable_av_pro_in_proton self.disable_avatar_copying = disable_avatar_copying self.disable_avatar_gating = disable_avatar_gating + if disable_captcha is not None: + self.disable_captcha = disable_captcha self.disable_community_labs = disable_community_labs self.disable_community_labs_promotion = disable_community_labs_promotion self.disable_email = disable_email - if disable_captcha is not None: - self.disable_captcha = disable_captcha self.disable_event_stream = disable_event_stream self.disable_feedback_gating = disable_feedback_gating self.disable_frontend_builds = disable_frontend_builds @@ -466,12 +510,13 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self.download_link_windows = download_link_windows self.download_urls = download_urls self.dynamic_world_rows = dynamic_world_rows - if economy_pause_end is not None: - self.economy_pause_end = economy_pause_end - if economy_pause_start is not None: - self.economy_pause_start = economy_pause_start - if economy_state is not None: - self.economy_state = economy_state + self.economy_ledger_backfill = economy_ledger_backfill + self.economy_ledger_migration_stop = economy_ledger_migration_stop + self.economy_ledger_mode = economy_ledger_mode + self.economy_pause_end = economy_pause_end + self.economy_pause_start = economy_pause_start + self.economy_purchase_repair_enabled = economy_purchase_repair_enabled + self.economy_state = economy_state self.events = events self.force_use_latest_world = force_use_latest_world self.gift_display_type = gift_display_type @@ -480,7 +525,11 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self.homepage_redirect_target = homepage_redirect_target self.hub_world_id = hub_world_id self.image_host_url_list = image_host_url_list + self.ios_app_version = ios_app_version + self.ios_version = ios_version self.jobs_email = jobs_email + self.max_user_emoji = max_user_emoji + self.max_user_stickers = max_user_stickers self.min_supported_client_build_number = min_supported_client_build_number self.minimum_unity_version_for_uploads = minimum_unity_version_for_uploads self.moderation_email = moderation_email @@ -488,6 +537,9 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self.offline_analysis = offline_analysis self.photon_nameserver_overrides = photon_nameserver_overrides self.photon_public_keys = photon_public_keys + self.player_url_resolver_sha1 = player_url_resolver_sha1 + self.player_url_resolver_version = player_url_resolver_version + self.public_key = public_key self.report_categories = report_categories self.report_form_url = report_form_url self.report_options = report_options @@ -500,8 +552,8 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self.string_host_url_list = string_host_url_list self.support_email = support_email self.support_form_url = support_form_url - self.timekeeping = timekeeping self.time_out_world_id = time_out_world_id + self.timekeeping = timekeeping self.tutorial_world_id = tutorial_world_id self.update_rate_ms_maximum = update_rate_ms_maximum self.update_rate_ms_minimum = update_rate_ms_minimum @@ -511,13 +563,85 @@ def __init__(self, voice_enable_degradation=False, voice_enable_receiver_limitin self.url_list = url_list self.use_reliable_udp_for_voice = use_reliable_udp_for_voice self.vive_windows_url = vive_windows_url - self.white_listed_asset_urls = white_listed_asset_urls - self.player_url_resolver_version = player_url_resolver_version - self.player_url_resolver_sha1 = player_url_resolver_sha1 - self.public_key = public_key self.websocket_max_friends_refresh_delay = websocket_max_friends_refresh_delay self.websocket_quick_reconnect_time = websocket_quick_reconnect_time self.websocket_reconnect_max_delay = websocket_reconnect_max_delay + self.white_listed_asset_urls = white_listed_asset_urls + + @property + def campaign_status(self): + """Gets the campaign_status of this APIConfig. # noqa: E501 + + The current platform-wide event taking place # noqa: E501 + + :return: The campaign_status of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._campaign_status + + @campaign_status.setter + def campaign_status(self, campaign_status): + """Sets the campaign_status of this APIConfig. + + The current platform-wide event taking place # noqa: E501 + + :param campaign_status: The campaign_status of this APIConfig. # noqa: E501 + :type campaign_status: str + """ + if self.local_vars_configuration.client_side_validation and campaign_status is None: # noqa: E501 + raise ValueError("Invalid value for `campaign_status`, must not be `None`") # noqa: E501 + + self._campaign_status = campaign_status + + @property + def disable_background_preloads(self): + """Gets the disable_background_preloads of this APIConfig. # noqa: E501 + + Toggles if certain assets are preloaded in the background # noqa: E501 + + :return: The disable_background_preloads of this APIConfig. # noqa: E501 + :rtype: bool + """ + return self._disable_background_preloads + + @disable_background_preloads.setter + def disable_background_preloads(self, disable_background_preloads): + """Sets the disable_background_preloads of this APIConfig. + + Toggles if certain assets are preloaded in the background # noqa: E501 + + :param disable_background_preloads: The disable_background_preloads of this APIConfig. # noqa: E501 + :type disable_background_preloads: bool + """ + if self.local_vars_configuration.client_side_validation and disable_background_preloads is None: # noqa: E501 + raise ValueError("Invalid value for `disable_background_preloads`, must not be `None`") # noqa: E501 + + self._disable_background_preloads = disable_background_preloads + + @property + def location_gifting_non_sub_prio_enabled(self): + """Gets the location_gifting_non_sub_prio_enabled of this APIConfig. # noqa: E501 + + Toggles whether users without a current VRC+ subscription are priority recipients for gift drops # noqa: E501 + + :return: The location_gifting_non_sub_prio_enabled of this APIConfig. # noqa: E501 + :rtype: bool + """ + return self._location_gifting_non_sub_prio_enabled + + @location_gifting_non_sub_prio_enabled.setter + def location_gifting_non_sub_prio_enabled(self, location_gifting_non_sub_prio_enabled): + """Sets the location_gifting_non_sub_prio_enabled of this APIConfig. + + Toggles whether users without a current VRC+ subscription are priority recipients for gift drops # noqa: E501 + + :param location_gifting_non_sub_prio_enabled: The location_gifting_non_sub_prio_enabled of this APIConfig. # noqa: E501 + :type location_gifting_non_sub_prio_enabled: bool + """ + if self.local_vars_configuration.client_side_validation and location_gifting_non_sub_prio_enabled is None: # noqa: E501 + raise ValueError("Invalid value for `location_gifting_non_sub_prio_enabled`, must not be `None`") # noqa: E501 + + self._location_gifting_non_sub_prio_enabled = location_gifting_non_sub_prio_enabled @property def voice_enable_degradation(self): @@ -739,34 +863,6 @@ def analysis_retry_interval(self, analysis_retry_interval): self._analysis_retry_interval = analysis_retry_interval - @property - def announcements(self): - """Gets the announcements of this APIConfig. # noqa: E501 - - Public Announcements # noqa: E501 - - :return: The announcements of this APIConfig. # noqa: E501 - :rtype: list[APIConfigAnnouncement] - """ - return self._announcements - - @announcements.setter - def announcements(self, announcements): - """Sets the announcements of this APIConfig. - - Public Announcements # noqa: E501 - - :param announcements: The announcements of this APIConfig. # noqa: E501 - :type announcements: list[APIConfigAnnouncement] - """ - if self.local_vars_configuration.client_side_validation and announcements is None: # noqa: E501 - raise ValueError("Invalid value for `announcements`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - announcements is not None and len(announcements) < 0): - raise ValueError("Invalid value for `announcements`, number of items must be greater than or equal to `0`") # noqa: E501 - - self._announcements = announcements - @property def analytics_segment_new_ui_pct_of_users(self): """Gets the analytics_segment_new_ui_pct_of_users of this APIConfig. # noqa: E501 @@ -817,6 +913,55 @@ def analytics_segment_new_ui_salt(self, analytics_segment_new_ui_salt): self._analytics_segment_new_ui_salt = analytics_segment_new_ui_salt + @property + def announcements(self): + """Gets the announcements of this APIConfig. # noqa: E501 + + Public Announcements # noqa: E501 + + :return: The announcements of this APIConfig. # noqa: E501 + :rtype: list[APIConfigAnnouncement] + """ + return self._announcements + + @announcements.setter + def announcements(self, announcements): + """Sets the announcements of this APIConfig. + + Public Announcements # noqa: E501 + + :param announcements: The announcements of this APIConfig. # noqa: E501 + :type announcements: list[APIConfigAnnouncement] + """ + if self.local_vars_configuration.client_side_validation and announcements is None: # noqa: E501 + raise ValueError("Invalid value for `announcements`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + announcements is not None and len(announcements) < 0): + raise ValueError("Invalid value for `announcements`, number of items must be greater than or equal to `0`") # noqa: E501 + + self._announcements = announcements + + @property + def audio_config(self): + """Gets the audio_config of this APIConfig. # noqa: E501 + + + :return: The audio_config of this APIConfig. # noqa: E501 + :rtype: APIConfigAudioConfig + """ + return self._audio_config + + @audio_config.setter + def audio_config(self, audio_config): + """Sets the audio_config of this APIConfig. + + + :param audio_config: The audio_config of this APIConfig. # noqa: E501 + :type audio_config: APIConfigAudioConfig + """ + + self._audio_config = audio_config + @property def available_language_codes(self): """Gets the available_language_codes of this APIConfig. # noqa: E501 @@ -1377,6 +1522,34 @@ def copyright_email(self, copyright_email): self._copyright_email = copyright_email + @property + def copyright_form_url(self): + """Gets the copyright_form_url of this APIConfig. # noqa: E501 + + VRChat's DMCA claim webform url # noqa: E501 + + :return: The copyright_form_url of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._copyright_form_url + + @copyright_form_url.setter + def copyright_form_url(self, copyright_form_url): + """Sets the copyright_form_url of this APIConfig. + + VRChat's DMCA claim webform url # noqa: E501 + + :param copyright_form_url: The copyright_form_url of this APIConfig. # noqa: E501 + :type copyright_form_url: str + """ + if self.local_vars_configuration.client_side_validation and copyright_form_url is None: # noqa: E501 + raise ValueError("Invalid value for `copyright_form_url`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + copyright_form_url is not None and len(copyright_form_url) < 1): + raise ValueError("Invalid value for `copyright_form_url`, length must be greater than or equal to `1`") # noqa: E501 + + self._copyright_form_url = copyright_form_url + @property def current_privacy_version(self): """Gets the current_privacy_version of this APIConfig. # noqa: E501 @@ -1397,6 +1570,8 @@ def current_privacy_version(self, current_privacy_version): :param current_privacy_version: The current_privacy_version of this APIConfig. # noqa: E501 :type current_privacy_version: int """ + if self.local_vars_configuration.client_side_validation and current_privacy_version is None: # noqa: E501 + raise ValueError("Invalid value for `current_privacy_version`, must not be `None`") # noqa: E501 self._current_privacy_version = current_privacy_version @@ -1651,6 +1826,29 @@ def disable_avatar_gating(self, disable_avatar_gating): self._disable_avatar_gating = disable_avatar_gating + @property + def disable_captcha(self): + """Gets the disable_captcha of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The disable_captcha of this APIConfig. # noqa: E501 + :rtype: bool + """ + return self._disable_captcha + + @disable_captcha.setter + def disable_captcha(self, disable_captcha): + """Sets the disable_captcha of this APIConfig. + + Unknown # noqa: E501 + + :param disable_captcha: The disable_captcha of this APIConfig. # noqa: E501 + :type disable_captcha: bool + """ + + self._disable_captcha = disable_captcha + @property def disable_community_labs(self): """Gets the disable_community_labs of this APIConfig. # noqa: E501 @@ -1726,29 +1924,6 @@ def disable_email(self, disable_email): self._disable_email = disable_email - @property - def disable_captcha(self): - """Gets the disable_captcha of this APIConfig. # noqa: E501 - - Unknown # noqa: E501 - - :return: The disable_captcha of this APIConfig. # noqa: E501 - :rtype: bool - """ - return self._disable_captcha - - @disable_captcha.setter - def disable_captcha(self, disable_captcha): - """Sets the disable_captcha of this APIConfig. - - Unknown # noqa: E501 - - :param disable_captcha: The disable_captcha of this APIConfig. # noqa: E501 - :type disable_captcha: bool - """ - - self._disable_captcha = disable_captcha - @property def disable_event_stream(self): """Gets the disable_event_stream of this APIConfig. # noqa: E501 @@ -2103,6 +2278,81 @@ def dynamic_world_rows(self, dynamic_world_rows): self._dynamic_world_rows = dynamic_world_rows + @property + def economy_ledger_backfill(self): + """Gets the economy_ledger_backfill of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The economy_ledger_backfill of this APIConfig. # noqa: E501 + :rtype: bool + """ + return self._economy_ledger_backfill + + @economy_ledger_backfill.setter + def economy_ledger_backfill(self, economy_ledger_backfill): + """Sets the economy_ledger_backfill of this APIConfig. + + Unknown # noqa: E501 + + :param economy_ledger_backfill: The economy_ledger_backfill of this APIConfig. # noqa: E501 + :type economy_ledger_backfill: bool + """ + if self.local_vars_configuration.client_side_validation and economy_ledger_backfill is None: # noqa: E501 + raise ValueError("Invalid value for `economy_ledger_backfill`, must not be `None`") # noqa: E501 + + self._economy_ledger_backfill = economy_ledger_backfill + + @property + def economy_ledger_migration_stop(self): + """Gets the economy_ledger_migration_stop of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The economy_ledger_migration_stop of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._economy_ledger_migration_stop + + @economy_ledger_migration_stop.setter + def economy_ledger_migration_stop(self, economy_ledger_migration_stop): + """Sets the economy_ledger_migration_stop of this APIConfig. + + Unknown # noqa: E501 + + :param economy_ledger_migration_stop: The economy_ledger_migration_stop of this APIConfig. # noqa: E501 + :type economy_ledger_migration_stop: str + """ + if self.local_vars_configuration.client_side_validation and economy_ledger_migration_stop is None: # noqa: E501 + raise ValueError("Invalid value for `economy_ledger_migration_stop`, must not be `None`") # noqa: E501 + + self._economy_ledger_migration_stop = economy_ledger_migration_stop + + @property + def economy_ledger_mode(self): + """Gets the economy_ledger_mode of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The economy_ledger_mode of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._economy_ledger_mode + + @economy_ledger_mode.setter + def economy_ledger_mode(self, economy_ledger_mode): + """Sets the economy_ledger_mode of this APIConfig. + + Unknown # noqa: E501 + + :param economy_ledger_mode: The economy_ledger_mode of this APIConfig. # noqa: E501 + :type economy_ledger_mode: str + """ + if self.local_vars_configuration.client_side_validation and economy_ledger_mode is None: # noqa: E501 + raise ValueError("Invalid value for `economy_ledger_mode`, must not be `None`") # noqa: E501 + + self._economy_ledger_mode = economy_ledger_mode + @property def economy_pause_end(self): """Gets the economy_pause_end of this APIConfig. # noqa: E501 @@ -2110,7 +2360,7 @@ def economy_pause_end(self): Unknown # noqa: E501 :return: The economy_pause_end of this APIConfig. # noqa: E501 - :rtype: str + :rtype: datetime """ return self._economy_pause_end @@ -2121,8 +2371,10 @@ def economy_pause_end(self, economy_pause_end): Unknown # noqa: E501 :param economy_pause_end: The economy_pause_end of this APIConfig. # noqa: E501 - :type economy_pause_end: str + :type economy_pause_end: datetime """ + if self.local_vars_configuration.client_side_validation and economy_pause_end is None: # noqa: E501 + raise ValueError("Invalid value for `economy_pause_end`, must not be `None`") # noqa: E501 self._economy_pause_end = economy_pause_end @@ -2133,7 +2385,7 @@ def economy_pause_start(self): Unknown # noqa: E501 :return: The economy_pause_start of this APIConfig. # noqa: E501 - :rtype: str + :rtype: datetime """ return self._economy_pause_start @@ -2144,14 +2396,41 @@ def economy_pause_start(self, economy_pause_start): Unknown # noqa: E501 :param economy_pause_start: The economy_pause_start of this APIConfig. # noqa: E501 - :type economy_pause_start: str + :type economy_pause_start: datetime """ + if self.local_vars_configuration.client_side_validation and economy_pause_start is None: # noqa: E501 + raise ValueError("Invalid value for `economy_pause_start`, must not be `None`") # noqa: E501 self._economy_pause_start = economy_pause_start @property - def economy_state(self): - """Gets the economy_state of this APIConfig. # noqa: E501 + def economy_purchase_repair_enabled(self): + """Gets the economy_purchase_repair_enabled of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The economy_purchase_repair_enabled of this APIConfig. # noqa: E501 + :rtype: bool + """ + return self._economy_purchase_repair_enabled + + @economy_purchase_repair_enabled.setter + def economy_purchase_repair_enabled(self, economy_purchase_repair_enabled): + """Sets the economy_purchase_repair_enabled of this APIConfig. + + Unknown # noqa: E501 + + :param economy_purchase_repair_enabled: The economy_purchase_repair_enabled of this APIConfig. # noqa: E501 + :type economy_purchase_repair_enabled: bool + """ + if self.local_vars_configuration.client_side_validation and economy_purchase_repair_enabled is None: # noqa: E501 + raise ValueError("Invalid value for `economy_purchase_repair_enabled`, must not be `None`") # noqa: E501 + + self._economy_purchase_repair_enabled = economy_purchase_repair_enabled + + @property + def economy_state(self): + """Gets the economy_state of this APIConfig. # noqa: E501 Unknown # noqa: E501 @@ -2169,6 +2448,8 @@ def economy_state(self, economy_state): :param economy_state: The economy_state of this APIConfig. # noqa: E501 :type economy_state: int """ + if self.local_vars_configuration.client_side_validation and economy_state is None: # noqa: E501 + raise ValueError("Invalid value for `economy_state`, must not be `None`") # noqa: E501 self._economy_state = economy_state @@ -2373,6 +2654,54 @@ def image_host_url_list(self, image_host_url_list): self._image_host_url_list = image_host_url_list + @property + def ios_app_version(self): + """Gets the ios_app_version of this APIConfig. # noqa: E501 + + Current app version for iOS # noqa: E501 + + :return: The ios_app_version of this APIConfig. # noqa: E501 + :rtype: list[str] + """ + return self._ios_app_version + + @ios_app_version.setter + def ios_app_version(self, ios_app_version): + """Sets the ios_app_version of this APIConfig. + + Current app version for iOS # noqa: E501 + + :param ios_app_version: The ios_app_version of this APIConfig. # noqa: E501 + :type ios_app_version: list[str] + """ + if self.local_vars_configuration.client_side_validation and ios_app_version is None: # noqa: E501 + raise ValueError("Invalid value for `ios_app_version`, must not be `None`") # noqa: E501 + + self._ios_app_version = ios_app_version + + @property + def ios_version(self): + """Gets the ios_version of this APIConfig. # noqa: E501 + + + :return: The ios_version of this APIConfig. # noqa: E501 + :rtype: APIConfigIosVersion + """ + return self._ios_version + + @ios_version.setter + def ios_version(self, ios_version): + """Sets the ios_version of this APIConfig. + + + :param ios_version: The ios_version of this APIConfig. # noqa: E501 + :type ios_version: APIConfigIosVersion + """ + if self.local_vars_configuration.client_side_validation and ios_version is None: # noqa: E501 + raise ValueError("Invalid value for `ios_version`, must not be `None`") # noqa: E501 + + self._ios_version = ios_version + @property def jobs_email(self): """Gets the jobs_email of this APIConfig. # noqa: E501 @@ -2401,6 +2730,56 @@ def jobs_email(self, jobs_email): self._jobs_email = jobs_email + @property + def max_user_emoji(self): + """Gets the max_user_emoji of this APIConfig. # noqa: E501 + + The maximum number of custom emoji each user may have at a given time. # noqa: E501 + + :return: The max_user_emoji of this APIConfig. # noqa: E501 + :rtype: int + """ + return self._max_user_emoji + + @max_user_emoji.setter + def max_user_emoji(self, max_user_emoji): + """Sets the max_user_emoji of this APIConfig. + + The maximum number of custom emoji each user may have at a given time. # noqa: E501 + + :param max_user_emoji: The max_user_emoji of this APIConfig. # noqa: E501 + :type max_user_emoji: int + """ + if self.local_vars_configuration.client_side_validation and max_user_emoji is None: # noqa: E501 + raise ValueError("Invalid value for `max_user_emoji`, must not be `None`") # noqa: E501 + + self._max_user_emoji = max_user_emoji + + @property + def max_user_stickers(self): + """Gets the max_user_stickers of this APIConfig. # noqa: E501 + + The maximum number of custom stickers each user may have at a given time. # noqa: E501 + + :return: The max_user_stickers of this APIConfig. # noqa: E501 + :rtype: int + """ + return self._max_user_stickers + + @max_user_stickers.setter + def max_user_stickers(self, max_user_stickers): + """Sets the max_user_stickers of this APIConfig. + + The maximum number of custom stickers each user may have at a given time. # noqa: E501 + + :param max_user_stickers: The max_user_stickers of this APIConfig. # noqa: E501 + :type max_user_stickers: int + """ + if self.local_vars_configuration.client_side_validation and max_user_stickers is None: # noqa: E501 + raise ValueError("Invalid value for `max_user_stickers`, must not be `None`") # noqa: E501 + + self._max_user_stickers = max_user_stickers + @property def min_supported_client_build_number(self): """Gets the min_supported_client_build_number of this APIConfig. # noqa: E501 @@ -2578,13 +2957,95 @@ def photon_public_keys(self, photon_public_keys): self._photon_public_keys = photon_public_keys + @property + def player_url_resolver_sha1(self): + """Gets the player_url_resolver_sha1 of this APIConfig. # noqa: E501 + + Currently used youtube-dl.exe hash in SHA1-delimited format # noqa: E501 + + :return: The player_url_resolver_sha1 of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._player_url_resolver_sha1 + + @player_url_resolver_sha1.setter + def player_url_resolver_sha1(self, player_url_resolver_sha1): + """Sets the player_url_resolver_sha1 of this APIConfig. + + Currently used youtube-dl.exe hash in SHA1-delimited format # noqa: E501 + + :param player_url_resolver_sha1: The player_url_resolver_sha1 of this APIConfig. # noqa: E501 + :type player_url_resolver_sha1: str + """ + if self.local_vars_configuration.client_side_validation and player_url_resolver_sha1 is None: # noqa: E501 + raise ValueError("Invalid value for `player_url_resolver_sha1`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + player_url_resolver_sha1 is not None and len(player_url_resolver_sha1) < 1): + raise ValueError("Invalid value for `player_url_resolver_sha1`, length must be greater than or equal to `1`") # noqa: E501 + + self._player_url_resolver_sha1 = player_url_resolver_sha1 + + @property + def player_url_resolver_version(self): + """Gets the player_url_resolver_version of this APIConfig. # noqa: E501 + + Currently used youtube-dl.exe version # noqa: E501 + + :return: The player_url_resolver_version of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._player_url_resolver_version + + @player_url_resolver_version.setter + def player_url_resolver_version(self, player_url_resolver_version): + """Sets the player_url_resolver_version of this APIConfig. + + Currently used youtube-dl.exe version # noqa: E501 + + :param player_url_resolver_version: The player_url_resolver_version of this APIConfig. # noqa: E501 + :type player_url_resolver_version: str + """ + if self.local_vars_configuration.client_side_validation and player_url_resolver_version is None: # noqa: E501 + raise ValueError("Invalid value for `player_url_resolver_version`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + player_url_resolver_version is not None and len(player_url_resolver_version) < 1): + raise ValueError("Invalid value for `player_url_resolver_version`, length must be greater than or equal to `1`") # noqa: E501 + + self._player_url_resolver_version = player_url_resolver_version + + @property + def public_key(self): + """Gets the public_key of this APIConfig. # noqa: E501 + + Public key, hex encoded # noqa: E501 + + :return: The public_key of this APIConfig. # noqa: E501 + :rtype: str + """ + return self._public_key + + @public_key.setter + def public_key(self, public_key): + """Sets the public_key of this APIConfig. + + Public key, hex encoded # noqa: E501 + + :param public_key: The public_key of this APIConfig. # noqa: E501 + :type public_key: str + """ + if self.local_vars_configuration.client_side_validation and public_key is None: # noqa: E501 + raise ValueError("Invalid value for `public_key`, must not be `None`") # noqa: E501 + + self._public_key = public_key + @property def report_categories(self): """Gets the report_categories of this APIConfig. # noqa: E501 + Categories available for reporting objectionable content # noqa: E501 :return: The report_categories of this APIConfig. # noqa: E501 - :rtype: APIConfigReportCategories + :rtype: dict(str, ReportCategory) """ return self._report_categories @@ -2592,9 +3053,10 @@ def report_categories(self): def report_categories(self, report_categories): """Sets the report_categories of this APIConfig. + Categories available for reporting objectionable content # noqa: E501 :param report_categories: The report_categories of this APIConfig. # noqa: E501 - :type report_categories: APIConfigReportCategories + :type report_categories: dict(str, ReportCategory) """ if self.local_vars_configuration.client_side_validation and report_categories is None: # noqa: E501 raise ValueError("Invalid value for `report_categories`, must not be `None`") # noqa: E501 @@ -2630,9 +3092,10 @@ def report_form_url(self, report_form_url): def report_options(self): """Gets the report_options of this APIConfig. # noqa: E501 + Options for reporting content. Select a key+value from this mapping as the `type` of the report. Select one key+value from the object at reportOptions[type] as the `category` of the report. reportCategories[category] contains user-facing text to display for all possible categories. Select one value from the array at reportOptions[type][category] as the `reason` of the report. reportReasons[reason] contains user-facing text to display for all possible categories. # noqa: E501 :return: The report_options of this APIConfig. # noqa: E501 - :rtype: APIConfigReportOptions + :rtype: dict(str, dict(str, list[str])) """ return self._report_options @@ -2640,9 +3103,10 @@ def report_options(self): def report_options(self, report_options): """Sets the report_options of this APIConfig. + Options for reporting content. Select a key+value from this mapping as the `type` of the report. Select one key+value from the object at reportOptions[type] as the `category` of the report. reportCategories[category] contains user-facing text to display for all possible categories. Select one value from the array at reportOptions[type][category] as the `reason` of the report. reportReasons[reason] contains user-facing text to display for all possible categories. # noqa: E501 :param report_options: The report_options of this APIConfig. # noqa: E501 - :type report_options: APIConfigReportOptions + :type report_options: dict(str, dict(str, list[str])) """ if self.local_vars_configuration.client_side_validation and report_options is None: # noqa: E501 raise ValueError("Invalid value for `report_options`, must not be `None`") # noqa: E501 @@ -2653,9 +3117,10 @@ def report_options(self, report_options): def report_reasons(self): """Gets the report_reasons of this APIConfig. # noqa: E501 + Reasons available for submitting a report # noqa: E501 :return: The report_reasons of this APIConfig. # noqa: E501 - :rtype: APIConfigReportReasons + :rtype: dict(str, ReportReason) """ return self._report_reasons @@ -2663,9 +3128,10 @@ def report_reasons(self): def report_reasons(self, report_reasons): """Sets the report_reasons of this APIConfig. + Reasons available for submitting a report # noqa: E501 :param report_reasons: The report_reasons of this APIConfig. # noqa: E501 - :type report_reasons: APIConfigReportReasons + :type report_reasons: dict(str, ReportReason) """ if self.local_vars_configuration.client_side_validation and report_reasons is None: # noqa: E501 raise ValueError("Invalid value for `report_reasons`, must not be `None`") # noqa: E501 @@ -2885,31 +3351,6 @@ def support_form_url(self, support_form_url): self._support_form_url = support_form_url - @property - def timekeeping(self): - """Gets the timekeeping of this APIConfig. # noqa: E501 - - Unknown # noqa: E501 - - :return: The timekeeping of this APIConfig. # noqa: E501 - :rtype: bool - """ - return self._timekeeping - - @timekeeping.setter - def timekeeping(self, timekeeping): - """Sets the timekeeping of this APIConfig. - - Unknown # noqa: E501 - - :param timekeeping: The timekeeping of this APIConfig. # noqa: E501 - :type timekeeping: bool - """ - if self.local_vars_configuration.client_side_validation and timekeeping is None: # noqa: E501 - raise ValueError("Invalid value for `timekeeping`, must not be `None`") # noqa: E501 - - self._timekeeping = timekeeping - @property def time_out_world_id(self): """Gets the time_out_world_id of this APIConfig. # noqa: E501 @@ -2935,6 +3376,31 @@ def time_out_world_id(self, time_out_world_id): self._time_out_world_id = time_out_world_id + @property + def timekeeping(self): + """Gets the timekeeping of this APIConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The timekeeping of this APIConfig. # noqa: E501 + :rtype: bool + """ + return self._timekeeping + + @timekeeping.setter + def timekeeping(self, timekeeping): + """Sets the timekeeping of this APIConfig. + + Unknown # noqa: E501 + + :param timekeeping: The timekeeping of this APIConfig. # noqa: E501 + :type timekeeping: bool + """ + if self.local_vars_configuration.client_side_validation and timekeeping is None: # noqa: E501 + raise ValueError("Invalid value for `timekeeping`, must not be `None`") # noqa: E501 + + self._timekeeping = timekeeping + @property def tutorial_world_id(self): """Gets the tutorial_world_id of this APIConfig. # noqa: E501 @@ -3163,112 +3629,6 @@ def vive_windows_url(self, vive_windows_url): self._vive_windows_url = vive_windows_url - @property - def white_listed_asset_urls(self): - """Gets the white_listed_asset_urls of this APIConfig. # noqa: E501 - - List of allowed URLs that are allowed to host avatar assets # noqa: E501 - - :return: The white_listed_asset_urls of this APIConfig. # noqa: E501 - :rtype: list[str] - """ - return self._white_listed_asset_urls - - @white_listed_asset_urls.setter - def white_listed_asset_urls(self, white_listed_asset_urls): - """Sets the white_listed_asset_urls of this APIConfig. - - List of allowed URLs that are allowed to host avatar assets # noqa: E501 - - :param white_listed_asset_urls: The white_listed_asset_urls of this APIConfig. # noqa: E501 - :type white_listed_asset_urls: list[str] - """ - if self.local_vars_configuration.client_side_validation and white_listed_asset_urls is None: # noqa: E501 - raise ValueError("Invalid value for `white_listed_asset_urls`, must not be `None`") # noqa: E501 - - self._white_listed_asset_urls = white_listed_asset_urls - - @property - def player_url_resolver_version(self): - """Gets the player_url_resolver_version of this APIConfig. # noqa: E501 - - Currently used youtube-dl.exe version # noqa: E501 - - :return: The player_url_resolver_version of this APIConfig. # noqa: E501 - :rtype: str - """ - return self._player_url_resolver_version - - @player_url_resolver_version.setter - def player_url_resolver_version(self, player_url_resolver_version): - """Sets the player_url_resolver_version of this APIConfig. - - Currently used youtube-dl.exe version # noqa: E501 - - :param player_url_resolver_version: The player_url_resolver_version of this APIConfig. # noqa: E501 - :type player_url_resolver_version: str - """ - if self.local_vars_configuration.client_side_validation and player_url_resolver_version is None: # noqa: E501 - raise ValueError("Invalid value for `player_url_resolver_version`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - player_url_resolver_version is not None and len(player_url_resolver_version) < 1): - raise ValueError("Invalid value for `player_url_resolver_version`, length must be greater than or equal to `1`") # noqa: E501 - - self._player_url_resolver_version = player_url_resolver_version - - @property - def player_url_resolver_sha1(self): - """Gets the player_url_resolver_sha1 of this APIConfig. # noqa: E501 - - Currently used youtube-dl.exe hash in SHA1-delimited format # noqa: E501 - - :return: The player_url_resolver_sha1 of this APIConfig. # noqa: E501 - :rtype: str - """ - return self._player_url_resolver_sha1 - - @player_url_resolver_sha1.setter - def player_url_resolver_sha1(self, player_url_resolver_sha1): - """Sets the player_url_resolver_sha1 of this APIConfig. - - Currently used youtube-dl.exe hash in SHA1-delimited format # noqa: E501 - - :param player_url_resolver_sha1: The player_url_resolver_sha1 of this APIConfig. # noqa: E501 - :type player_url_resolver_sha1: str - """ - if self.local_vars_configuration.client_side_validation and player_url_resolver_sha1 is None: # noqa: E501 - raise ValueError("Invalid value for `player_url_resolver_sha1`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - player_url_resolver_sha1 is not None and len(player_url_resolver_sha1) < 1): - raise ValueError("Invalid value for `player_url_resolver_sha1`, length must be greater than or equal to `1`") # noqa: E501 - - self._player_url_resolver_sha1 = player_url_resolver_sha1 - - @property - def public_key(self): - """Gets the public_key of this APIConfig. # noqa: E501 - - Public key, hex encoded # noqa: E501 - - :return: The public_key of this APIConfig. # noqa: E501 - :rtype: str - """ - return self._public_key - - @public_key.setter - def public_key(self, public_key): - """Sets the public_key of this APIConfig. - - Public key, hex encoded # noqa: E501 - - :param public_key: The public_key of this APIConfig. # noqa: E501 - :type public_key: str - """ - if self.local_vars_configuration.client_side_validation and public_key is None: # noqa: E501 - raise ValueError("Invalid value for `public_key`, must not be `None`") # noqa: E501 - - self._public_key = public_key - @property def websocket_max_friends_refresh_delay(self): """Gets the websocket_max_friends_refresh_delay of this APIConfig. # noqa: E501 @@ -3344,6 +3704,31 @@ def websocket_reconnect_max_delay(self, websocket_reconnect_max_delay): self._websocket_reconnect_max_delay = websocket_reconnect_max_delay + @property + def white_listed_asset_urls(self): + """Gets the white_listed_asset_urls of this APIConfig. # noqa: E501 + + List of allowed URLs that are allowed to host avatar assets # noqa: E501 + + :return: The white_listed_asset_urls of this APIConfig. # noqa: E501 + :rtype: list[str] + """ + return self._white_listed_asset_urls + + @white_listed_asset_urls.setter + def white_listed_asset_urls(self, white_listed_asset_urls): + """Sets the white_listed_asset_urls of this APIConfig. + + List of allowed URLs that are allowed to host avatar assets # noqa: E501 + + :param white_listed_asset_urls: The white_listed_asset_urls of this APIConfig. # noqa: E501 + :type white_listed_asset_urls: list[str] + """ + if self.local_vars_configuration.client_side_validation and white_listed_asset_urls is None: # noqa: E501 + raise ValueError("Invalid value for `white_listed_asset_urls`, must not be `None`") # noqa: E501 + + self._white_listed_asset_urls = white_listed_asset_urls + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/api_config_access_logs_urls.py b/vrchatapi/models/api_config_access_logs_urls.py index 8558fc2a..31c15783 100644 --- a/vrchatapi/models/api_config_access_logs_urls.py +++ b/vrchatapi/models/api_config_access_logs_urls.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index 4b6e89b3..1cc1b26f 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_audio_config.py b/vrchatapi/models/api_config_audio_config.py new file mode 100644 index 00000000..47dd0cc8 --- /dev/null +++ b/vrchatapi/models/api_config_audio_config.py @@ -0,0 +1,424 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class APIConfigAudioConfig(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'eq': 'float', + 'near_field_ild_nudge': 'float', + 'near_field_ild_nudge_distance': 'float', + 'near_field_ild_nudge_ear_radius': 'float', + 'per_ear_directionality_ear_radius': 'float', + 'per_ear_directionality_fade_distance': 'float', + 'per_ear_directionality_max_scale': 'float', + 'per_ear_directionality_pc_factor': 'float', + 'tracking_scale_max': 'float', + 'tracking_scale_min': 'float', + 'tracking_scale_multiplier': 'float' + } + + attribute_map = { + 'eq': 'eq', + 'near_field_ild_nudge': 'nearFieldILDNudge', + 'near_field_ild_nudge_distance': 'nearFieldILDNudgeDistance', + 'near_field_ild_nudge_ear_radius': 'nearFieldILDNudgeEarRadius', + 'per_ear_directionality_ear_radius': 'perEarDirectionalityEarRadius', + 'per_ear_directionality_fade_distance': 'perEarDirectionalityFadeDistance', + 'per_ear_directionality_max_scale': 'perEarDirectionalityMaxScale', + 'per_ear_directionality_pc_factor': 'perEarDirectionalityPCFactor', + 'tracking_scale_max': 'trackingScaleMax', + 'tracking_scale_min': 'trackingScaleMin', + 'tracking_scale_multiplier': 'trackingScaleMultiplier' + } + + def __init__(self, eq=None, near_field_ild_nudge=None, near_field_ild_nudge_distance=None, near_field_ild_nudge_ear_radius=None, per_ear_directionality_ear_radius=None, per_ear_directionality_fade_distance=None, per_ear_directionality_max_scale=None, per_ear_directionality_pc_factor=None, tracking_scale_max=None, tracking_scale_min=None, tracking_scale_multiplier=None, local_vars_configuration=None): # noqa: E501 + """APIConfigAudioConfig - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._eq = None + self._near_field_ild_nudge = None + self._near_field_ild_nudge_distance = None + self._near_field_ild_nudge_ear_radius = None + self._per_ear_directionality_ear_radius = None + self._per_ear_directionality_fade_distance = None + self._per_ear_directionality_max_scale = None + self._per_ear_directionality_pc_factor = None + self._tracking_scale_max = None + self._tracking_scale_min = None + self._tracking_scale_multiplier = None + self.discriminator = None + + self.eq = eq + self.near_field_ild_nudge = near_field_ild_nudge + self.near_field_ild_nudge_distance = near_field_ild_nudge_distance + self.near_field_ild_nudge_ear_radius = near_field_ild_nudge_ear_radius + self.per_ear_directionality_ear_radius = per_ear_directionality_ear_radius + self.per_ear_directionality_fade_distance = per_ear_directionality_fade_distance + self.per_ear_directionality_max_scale = per_ear_directionality_max_scale + self.per_ear_directionality_pc_factor = per_ear_directionality_pc_factor + self.tracking_scale_max = tracking_scale_max + self.tracking_scale_min = tracking_scale_min + self.tracking_scale_multiplier = tracking_scale_multiplier + + @property + def eq(self): + """Gets the eq of this APIConfigAudioConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The eq of this APIConfigAudioConfig. # noqa: E501 + :rtype: float + """ + return self._eq + + @eq.setter + def eq(self, eq): + """Sets the eq of this APIConfigAudioConfig. + + Unknown # noqa: E501 + + :param eq: The eq of this APIConfigAudioConfig. # noqa: E501 + :type eq: float + """ + if self.local_vars_configuration.client_side_validation and eq is None: # noqa: E501 + raise ValueError("Invalid value for `eq`, must not be `None`") # noqa: E501 + + self._eq = eq + + @property + def near_field_ild_nudge(self): + """Gets the near_field_ild_nudge of this APIConfigAudioConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The near_field_ild_nudge of this APIConfigAudioConfig. # noqa: E501 + :rtype: float + """ + return self._near_field_ild_nudge + + @near_field_ild_nudge.setter + def near_field_ild_nudge(self, near_field_ild_nudge): + """Sets the near_field_ild_nudge of this APIConfigAudioConfig. + + Unknown # noqa: E501 + + :param near_field_ild_nudge: The near_field_ild_nudge of this APIConfigAudioConfig. # noqa: E501 + :type near_field_ild_nudge: float + """ + if self.local_vars_configuration.client_side_validation and near_field_ild_nudge is None: # noqa: E501 + raise ValueError("Invalid value for `near_field_ild_nudge`, must not be `None`") # noqa: E501 + + self._near_field_ild_nudge = near_field_ild_nudge + + @property + def near_field_ild_nudge_distance(self): + """Gets the near_field_ild_nudge_distance of this APIConfigAudioConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The near_field_ild_nudge_distance of this APIConfigAudioConfig. # noqa: E501 + :rtype: float + """ + return self._near_field_ild_nudge_distance + + @near_field_ild_nudge_distance.setter + def near_field_ild_nudge_distance(self, near_field_ild_nudge_distance): + """Sets the near_field_ild_nudge_distance of this APIConfigAudioConfig. + + Unknown # noqa: E501 + + :param near_field_ild_nudge_distance: The near_field_ild_nudge_distance of this APIConfigAudioConfig. # noqa: E501 + :type near_field_ild_nudge_distance: float + """ + if self.local_vars_configuration.client_side_validation and near_field_ild_nudge_distance is None: # noqa: E501 + raise ValueError("Invalid value for `near_field_ild_nudge_distance`, must not be `None`") # noqa: E501 + + self._near_field_ild_nudge_distance = near_field_ild_nudge_distance + + @property + def near_field_ild_nudge_ear_radius(self): + """Gets the near_field_ild_nudge_ear_radius of this APIConfigAudioConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The near_field_ild_nudge_ear_radius of this APIConfigAudioConfig. # noqa: E501 + :rtype: float + """ + return self._near_field_ild_nudge_ear_radius + + @near_field_ild_nudge_ear_radius.setter + def near_field_ild_nudge_ear_radius(self, near_field_ild_nudge_ear_radius): + """Sets the near_field_ild_nudge_ear_radius of this APIConfigAudioConfig. + + Unknown # noqa: E501 + + :param near_field_ild_nudge_ear_radius: The near_field_ild_nudge_ear_radius of this APIConfigAudioConfig. # noqa: E501 + :type near_field_ild_nudge_ear_radius: float + """ + if self.local_vars_configuration.client_side_validation and near_field_ild_nudge_ear_radius is None: # noqa: E501 + raise ValueError("Invalid value for `near_field_ild_nudge_ear_radius`, must not be `None`") # noqa: E501 + + self._near_field_ild_nudge_ear_radius = near_field_ild_nudge_ear_radius + + @property + def per_ear_directionality_ear_radius(self): + """Gets the per_ear_directionality_ear_radius of this APIConfigAudioConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The per_ear_directionality_ear_radius of this APIConfigAudioConfig. # noqa: E501 + :rtype: float + """ + return self._per_ear_directionality_ear_radius + + @per_ear_directionality_ear_radius.setter + def per_ear_directionality_ear_radius(self, per_ear_directionality_ear_radius): + """Sets the per_ear_directionality_ear_radius of this APIConfigAudioConfig. + + Unknown # noqa: E501 + + :param per_ear_directionality_ear_radius: The per_ear_directionality_ear_radius of this APIConfigAudioConfig. # noqa: E501 + :type per_ear_directionality_ear_radius: float + """ + if self.local_vars_configuration.client_side_validation and per_ear_directionality_ear_radius is None: # noqa: E501 + raise ValueError("Invalid value for `per_ear_directionality_ear_radius`, must not be `None`") # noqa: E501 + + self._per_ear_directionality_ear_radius = per_ear_directionality_ear_radius + + @property + def per_ear_directionality_fade_distance(self): + """Gets the per_ear_directionality_fade_distance of this APIConfigAudioConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The per_ear_directionality_fade_distance of this APIConfigAudioConfig. # noqa: E501 + :rtype: float + """ + return self._per_ear_directionality_fade_distance + + @per_ear_directionality_fade_distance.setter + def per_ear_directionality_fade_distance(self, per_ear_directionality_fade_distance): + """Sets the per_ear_directionality_fade_distance of this APIConfigAudioConfig. + + Unknown # noqa: E501 + + :param per_ear_directionality_fade_distance: The per_ear_directionality_fade_distance of this APIConfigAudioConfig. # noqa: E501 + :type per_ear_directionality_fade_distance: float + """ + if self.local_vars_configuration.client_side_validation and per_ear_directionality_fade_distance is None: # noqa: E501 + raise ValueError("Invalid value for `per_ear_directionality_fade_distance`, must not be `None`") # noqa: E501 + + self._per_ear_directionality_fade_distance = per_ear_directionality_fade_distance + + @property + def per_ear_directionality_max_scale(self): + """Gets the per_ear_directionality_max_scale of this APIConfigAudioConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The per_ear_directionality_max_scale of this APIConfigAudioConfig. # noqa: E501 + :rtype: float + """ + return self._per_ear_directionality_max_scale + + @per_ear_directionality_max_scale.setter + def per_ear_directionality_max_scale(self, per_ear_directionality_max_scale): + """Sets the per_ear_directionality_max_scale of this APIConfigAudioConfig. + + Unknown # noqa: E501 + + :param per_ear_directionality_max_scale: The per_ear_directionality_max_scale of this APIConfigAudioConfig. # noqa: E501 + :type per_ear_directionality_max_scale: float + """ + if self.local_vars_configuration.client_side_validation and per_ear_directionality_max_scale is None: # noqa: E501 + raise ValueError("Invalid value for `per_ear_directionality_max_scale`, must not be `None`") # noqa: E501 + + self._per_ear_directionality_max_scale = per_ear_directionality_max_scale + + @property + def per_ear_directionality_pc_factor(self): + """Gets the per_ear_directionality_pc_factor of this APIConfigAudioConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The per_ear_directionality_pc_factor of this APIConfigAudioConfig. # noqa: E501 + :rtype: float + """ + return self._per_ear_directionality_pc_factor + + @per_ear_directionality_pc_factor.setter + def per_ear_directionality_pc_factor(self, per_ear_directionality_pc_factor): + """Sets the per_ear_directionality_pc_factor of this APIConfigAudioConfig. + + Unknown # noqa: E501 + + :param per_ear_directionality_pc_factor: The per_ear_directionality_pc_factor of this APIConfigAudioConfig. # noqa: E501 + :type per_ear_directionality_pc_factor: float + """ + if self.local_vars_configuration.client_side_validation and per_ear_directionality_pc_factor is None: # noqa: E501 + raise ValueError("Invalid value for `per_ear_directionality_pc_factor`, must not be `None`") # noqa: E501 + + self._per_ear_directionality_pc_factor = per_ear_directionality_pc_factor + + @property + def tracking_scale_max(self): + """Gets the tracking_scale_max of this APIConfigAudioConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The tracking_scale_max of this APIConfigAudioConfig. # noqa: E501 + :rtype: float + """ + return self._tracking_scale_max + + @tracking_scale_max.setter + def tracking_scale_max(self, tracking_scale_max): + """Sets the tracking_scale_max of this APIConfigAudioConfig. + + Unknown # noqa: E501 + + :param tracking_scale_max: The tracking_scale_max of this APIConfigAudioConfig. # noqa: E501 + :type tracking_scale_max: float + """ + if self.local_vars_configuration.client_side_validation and tracking_scale_max is None: # noqa: E501 + raise ValueError("Invalid value for `tracking_scale_max`, must not be `None`") # noqa: E501 + + self._tracking_scale_max = tracking_scale_max + + @property + def tracking_scale_min(self): + """Gets the tracking_scale_min of this APIConfigAudioConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The tracking_scale_min of this APIConfigAudioConfig. # noqa: E501 + :rtype: float + """ + return self._tracking_scale_min + + @tracking_scale_min.setter + def tracking_scale_min(self, tracking_scale_min): + """Sets the tracking_scale_min of this APIConfigAudioConfig. + + Unknown # noqa: E501 + + :param tracking_scale_min: The tracking_scale_min of this APIConfigAudioConfig. # noqa: E501 + :type tracking_scale_min: float + """ + if self.local_vars_configuration.client_side_validation and tracking_scale_min is None: # noqa: E501 + raise ValueError("Invalid value for `tracking_scale_min`, must not be `None`") # noqa: E501 + + self._tracking_scale_min = tracking_scale_min + + @property + def tracking_scale_multiplier(self): + """Gets the tracking_scale_multiplier of this APIConfigAudioConfig. # noqa: E501 + + Unknown # noqa: E501 + + :return: The tracking_scale_multiplier of this APIConfigAudioConfig. # noqa: E501 + :rtype: float + """ + return self._tracking_scale_multiplier + + @tracking_scale_multiplier.setter + def tracking_scale_multiplier(self, tracking_scale_multiplier): + """Sets the tracking_scale_multiplier of this APIConfigAudioConfig. + + Unknown # noqa: E501 + + :param tracking_scale_multiplier: The tracking_scale_multiplier of this APIConfigAudioConfig. # noqa: E501 + :type tracking_scale_multiplier: float + """ + if self.local_vars_configuration.client_side_validation and tracking_scale_multiplier is None: # noqa: E501 + raise ValueError("Invalid value for `tracking_scale_multiplier`, must not be `None`") # noqa: E501 + + self._tracking_scale_multiplier = tracking_scale_multiplier + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, APIConfigAudioConfig): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, APIConfigAudioConfig): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/api_config_avatar_perf_limiter.py b/vrchatapi/models/api_config_avatar_perf_limiter.py index 57955938..8e9e657d 100644 --- a/vrchatapi/models/api_config_avatar_perf_limiter.py +++ b/vrchatapi/models/api_config_avatar_perf_limiter.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants.py b/vrchatapi/models/api_config_constants.py index 2e676894..0932cb05 100644 --- a/vrchatapi/models/api_config_constants.py +++ b/vrchatapi/models/api_config_constants.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_groups.py b/vrchatapi/models/api_config_constants_groups.py index 471a2535..3c5ef995 100644 --- a/vrchatapi/models/api_config_constants_groups.py +++ b/vrchatapi/models/api_config_constants_groups.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instance.py b/vrchatapi/models/api_config_constants_instance.py index fd0046b9..c5579b82 100644 --- a/vrchatapi/models/api_config_constants_instance.py +++ b/vrchatapi/models/api_config_constants_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbrackets.py b/vrchatapi/models/api_config_constants_instancepopulationbrackets.py index 5de26ece..f5e33202 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbrackets.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbrackets.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py b/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py index 662ea240..55b7cd1b 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py b/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py index 27b03ed1..6f12aabe 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py b/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py index 22c35ab8..6b45daae 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_language.py b/vrchatapi/models/api_config_constants_language.py index 9a8c82f4..744016cb 100644 --- a/vrchatapi/models/api_config_constants_language.py +++ b/vrchatapi/models/api_config_constants_language.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index 63d5a4e1..6b82db08 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,39 +36,67 @@ class APIConfigDownloadURLList(object): and the value is json key in definition. """ openapi_types = { + 'bootstrap': 'str', 'sdk2': 'str', 'sdk3_avatars': 'str', 'sdk3_worlds': 'str', - 'vcc': 'str', - 'bootstrap': 'str' + 'vcc': 'str' } attribute_map = { + 'bootstrap': 'bootstrap', 'sdk2': 'sdk2', 'sdk3_avatars': 'sdk3-avatars', 'sdk3_worlds': 'sdk3-worlds', - 'vcc': 'vcc', - 'bootstrap': 'bootstrap' + 'vcc': 'vcc' } - def __init__(self, sdk2=None, sdk3_avatars=None, sdk3_worlds=None, vcc=None, bootstrap=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, bootstrap=None, sdk2=None, sdk3_avatars=None, sdk3_worlds=None, vcc=None, local_vars_configuration=None): # noqa: E501 """APIConfigDownloadURLList - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration + self._bootstrap = None self._sdk2 = None self._sdk3_avatars = None self._sdk3_worlds = None self._vcc = None - self._bootstrap = None self.discriminator = None + self.bootstrap = bootstrap self.sdk2 = sdk2 self.sdk3_avatars = sdk3_avatars self.sdk3_worlds = sdk3_worlds self.vcc = vcc - self.bootstrap = bootstrap + + @property + def bootstrap(self): + """Gets the bootstrap of this APIConfigDownloadURLList. # noqa: E501 + + Download link for ??? # noqa: E501 + + :return: The bootstrap of this APIConfigDownloadURLList. # noqa: E501 + :rtype: str + """ + return self._bootstrap + + @bootstrap.setter + def bootstrap(self, bootstrap): + """Sets the bootstrap of this APIConfigDownloadURLList. + + Download link for ??? # noqa: E501 + + :param bootstrap: The bootstrap of this APIConfigDownloadURLList. # noqa: E501 + :type bootstrap: str + """ + if self.local_vars_configuration.client_side_validation and bootstrap is None: # noqa: E501 + raise ValueError("Invalid value for `bootstrap`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + bootstrap is not None and len(bootstrap) < 1): + raise ValueError("Invalid value for `bootstrap`, length must be greater than or equal to `1`") # noqa: E501 + + self._bootstrap = bootstrap @property def sdk2(self): @@ -182,34 +210,6 @@ def vcc(self, vcc): self._vcc = vcc - @property - def bootstrap(self): - """Gets the bootstrap of this APIConfigDownloadURLList. # noqa: E501 - - Download link for ??? # noqa: E501 - - :return: The bootstrap of this APIConfigDownloadURLList. # noqa: E501 - :rtype: str - """ - return self._bootstrap - - @bootstrap.setter - def bootstrap(self, bootstrap): - """Sets the bootstrap of this APIConfigDownloadURLList. - - Download link for ??? # noqa: E501 - - :param bootstrap: The bootstrap of this APIConfigDownloadURLList. # noqa: E501 - :type bootstrap: str - """ - if self.local_vars_configuration.client_side_validation and bootstrap is None: # noqa: E501 - raise ValueError("Invalid value for `bootstrap`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - bootstrap is not None and len(bootstrap) < 1): - raise ValueError("Invalid value for `bootstrap`, length must be greater than or equal to `1`") # noqa: E501 - - self._bootstrap = bootstrap - def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index 1def28a9..3b68fe32 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -45,6 +45,7 @@ class APIConfigEvents(object): 'player_order_bucket_size': 'int', 'player_order_factor': 'int', 'slow_update_factor_threshold': 'int', + 'use_direct_player_serialization': 'bool', 'view_segment_length': 'int' } @@ -58,10 +59,11 @@ class APIConfigEvents(object): 'player_order_bucket_size': 'playerOrderBucketSize', 'player_order_factor': 'playerOrderFactor', 'slow_update_factor_threshold': 'slowUpdateFactorThreshold', + 'use_direct_player_serialization': 'useDirectPlayerSerialization', 'view_segment_length': 'viewSegmentLength' } - def __init__(self, distance_close=None, distance_factor=None, distance_far=None, group_distance=None, maximum_bunch_size=None, not_visible_factor=None, player_order_bucket_size=None, player_order_factor=None, slow_update_factor_threshold=None, view_segment_length=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, distance_close=None, distance_factor=None, distance_far=None, group_distance=None, maximum_bunch_size=None, not_visible_factor=None, player_order_bucket_size=None, player_order_factor=None, slow_update_factor_threshold=None, use_direct_player_serialization=None, view_segment_length=None, local_vars_configuration=None): # noqa: E501 """APIConfigEvents - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -76,6 +78,7 @@ def __init__(self, distance_close=None, distance_factor=None, distance_far=None, self._player_order_bucket_size = None self._player_order_factor = None self._slow_update_factor_threshold = None + self._use_direct_player_serialization = None self._view_segment_length = None self.discriminator = None @@ -88,6 +91,7 @@ def __init__(self, distance_close=None, distance_factor=None, distance_far=None, self.player_order_bucket_size = player_order_bucket_size self.player_order_factor = player_order_factor self.slow_update_factor_threshold = slow_update_factor_threshold + self.use_direct_player_serialization = use_direct_player_serialization self.view_segment_length = view_segment_length @property @@ -315,6 +319,31 @@ def slow_update_factor_threshold(self, slow_update_factor_threshold): self._slow_update_factor_threshold = slow_update_factor_threshold + @property + def use_direct_player_serialization(self): + """Gets the use_direct_player_serialization of this APIConfigEvents. # noqa: E501 + + Unknown # noqa: E501 + + :return: The use_direct_player_serialization of this APIConfigEvents. # noqa: E501 + :rtype: bool + """ + return self._use_direct_player_serialization + + @use_direct_player_serialization.setter + def use_direct_player_serialization(self, use_direct_player_serialization): + """Sets the use_direct_player_serialization of this APIConfigEvents. + + Unknown # noqa: E501 + + :param use_direct_player_serialization: The use_direct_player_serialization of this APIConfigEvents. # noqa: E501 + :type use_direct_player_serialization: bool + """ + if self.local_vars_configuration.client_side_validation and use_direct_player_serialization is None: # noqa: E501 + raise ValueError("Invalid value for `use_direct_player_serialization`, must not be `None`") # noqa: E501 + + self._use_direct_player_serialization = use_direct_player_serialization + @property def view_segment_length(self): """Gets the view_segment_length of this APIConfigEvents. # noqa: E501 diff --git a/vrchatapi/models/api_config_ios_version.py b/vrchatapi/models/api_config_ios_version.py new file mode 100644 index 00000000..a70cd596 --- /dev/null +++ b/vrchatapi/models/api_config_ios_version.py @@ -0,0 +1,159 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class APIConfigIosVersion(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'major': 'int', + 'minor': 'int' + } + + attribute_map = { + 'major': 'major', + 'minor': 'minor' + } + + def __init__(self, major=None, minor=None, local_vars_configuration=None): # noqa: E501 + """APIConfigIosVersion - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._major = None + self._minor = None + self.discriminator = None + + self.major = major + self.minor = minor + + @property + def major(self): + """Gets the major of this APIConfigIosVersion. # noqa: E501 + + + :return: The major of this APIConfigIosVersion. # noqa: E501 + :rtype: int + """ + return self._major + + @major.setter + def major(self, major): + """Sets the major of this APIConfigIosVersion. + + + :param major: The major of this APIConfigIosVersion. # noqa: E501 + :type major: int + """ + if self.local_vars_configuration.client_side_validation and major is None: # noqa: E501 + raise ValueError("Invalid value for `major`, must not be `None`") # noqa: E501 + + self._major = major + + @property + def minor(self): + """Gets the minor of this APIConfigIosVersion. # noqa: E501 + + + :return: The minor of this APIConfigIosVersion. # noqa: E501 + :rtype: int + """ + return self._minor + + @minor.setter + def minor(self, minor): + """Sets the minor of this APIConfigIosVersion. + + + :param minor: The minor of this APIConfigIosVersion. # noqa: E501 + :type minor: int + """ + if self.local_vars_configuration.client_side_validation and minor is None: # noqa: E501 + raise ValueError("Invalid value for `minor`, must not be `None`") # noqa: E501 + + self._minor = minor + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, APIConfigIosVersion): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, APIConfigIosVersion): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/api_config_min_supported_client_build_number.py b/vrchatapi/models/api_config_min_supported_client_build_number.py index 01957e5f..b896bbb6 100644 --- a/vrchatapi/models/api_config_min_supported_client_build_number.py +++ b/vrchatapi/models/api_config_min_supported_client_build_number.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_offline_analysis.py b/vrchatapi/models/api_config_offline_analysis.py index 6f67d5ff..16417f83 100644 --- a/vrchatapi/models/api_config_offline_analysis.py +++ b/vrchatapi/models/api_config_offline_analysis.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_categories.py b/vrchatapi/models/api_config_report_categories.py deleted file mode 100644 index 06b8b173..00000000 --- a/vrchatapi/models/api_config_report_categories.py +++ /dev/null @@ -1,453 +0,0 @@ -# coding: utf-8 - -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.20.5 - Contact: vrchatapi.lpv0t@aries.fyi - Generated by: https://openapi-generator.tech -""" - - -try: - from inspect import getfullargspec -except ImportError: - from inspect import getargspec as getfullargspec -import pprint -import re # noqa: F401 -import six - -from vrchatapi.configuration import Configuration - - -class APIConfigReportCategories(object): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - openapi_types = { - 'avatar': 'ReportCategory', - 'avatarpage': 'ReportCategory', - 'behavior': 'ReportCategory', - 'chat': 'ReportCategory', - 'emoji': 'ReportCategory', - 'environment': 'ReportCategory', - 'groupstore': 'ReportCategory', - 'image': 'ReportCategory', - 'text': 'ReportCategory', - 'sticker': 'ReportCategory', - 'warnings': 'ReportCategory', - 'worldimage': 'ReportCategory', - 'worldstore': 'ReportCategory' - } - - attribute_map = { - 'avatar': 'avatar', - 'avatarpage': 'avatarpage', - 'behavior': 'behavior', - 'chat': 'chat', - 'emoji': 'emoji', - 'environment': 'environment', - 'groupstore': 'groupstore', - 'image': 'image', - 'text': 'text', - 'sticker': 'sticker', - 'warnings': 'warnings', - 'worldimage': 'worldimage', - 'worldstore': 'worldstore' - } - - def __init__(self, avatar=None, avatarpage=None, behavior=None, chat=None, emoji=None, environment=None, groupstore=None, image=None, text=None, sticker=None, warnings=None, worldimage=None, worldstore=None, local_vars_configuration=None): # noqa: E501 - """APIConfigReportCategories - a model defined in OpenAPI""" # noqa: E501 - if local_vars_configuration is None: - local_vars_configuration = Configuration.get_default_copy() - self.local_vars_configuration = local_vars_configuration - - self._avatar = None - self._avatarpage = None - self._behavior = None - self._chat = None - self._emoji = None - self._environment = None - self._groupstore = None - self._image = None - self._text = None - self._sticker = None - self._warnings = None - self._worldimage = None - self._worldstore = None - self.discriminator = None - - self.avatar = avatar - if avatarpage is not None: - self.avatarpage = avatarpage - self.behavior = behavior - self.chat = chat - if emoji is not None: - self.emoji = emoji - self.environment = environment - self.groupstore = groupstore - self.image = image - self.text = text - if sticker is not None: - self.sticker = sticker - self.warnings = warnings - self.worldimage = worldimage - self.worldstore = worldstore - - @property - def avatar(self): - """Gets the avatar of this APIConfigReportCategories. # noqa: E501 - - - :return: The avatar of this APIConfigReportCategories. # noqa: E501 - :rtype: ReportCategory - """ - return self._avatar - - @avatar.setter - def avatar(self, avatar): - """Sets the avatar of this APIConfigReportCategories. - - - :param avatar: The avatar of this APIConfigReportCategories. # noqa: E501 - :type avatar: ReportCategory - """ - if self.local_vars_configuration.client_side_validation and avatar is None: # noqa: E501 - raise ValueError("Invalid value for `avatar`, must not be `None`") # noqa: E501 - - self._avatar = avatar - - @property - def avatarpage(self): - """Gets the avatarpage of this APIConfigReportCategories. # noqa: E501 - - - :return: The avatarpage of this APIConfigReportCategories. # noqa: E501 - :rtype: ReportCategory - """ - return self._avatarpage - - @avatarpage.setter - def avatarpage(self, avatarpage): - """Sets the avatarpage of this APIConfigReportCategories. - - - :param avatarpage: The avatarpage of this APIConfigReportCategories. # noqa: E501 - :type avatarpage: ReportCategory - """ - - self._avatarpage = avatarpage - - @property - def behavior(self): - """Gets the behavior of this APIConfigReportCategories. # noqa: E501 - - - :return: The behavior of this APIConfigReportCategories. # noqa: E501 - :rtype: ReportCategory - """ - return self._behavior - - @behavior.setter - def behavior(self, behavior): - """Sets the behavior of this APIConfigReportCategories. - - - :param behavior: The behavior of this APIConfigReportCategories. # noqa: E501 - :type behavior: ReportCategory - """ - if self.local_vars_configuration.client_side_validation and behavior is None: # noqa: E501 - raise ValueError("Invalid value for `behavior`, must not be `None`") # noqa: E501 - - self._behavior = behavior - - @property - def chat(self): - """Gets the chat of this APIConfigReportCategories. # noqa: E501 - - - :return: The chat of this APIConfigReportCategories. # noqa: E501 - :rtype: ReportCategory - """ - return self._chat - - @chat.setter - def chat(self, chat): - """Sets the chat of this APIConfigReportCategories. - - - :param chat: The chat of this APIConfigReportCategories. # noqa: E501 - :type chat: ReportCategory - """ - if self.local_vars_configuration.client_side_validation and chat is None: # noqa: E501 - raise ValueError("Invalid value for `chat`, must not be `None`") # noqa: E501 - - self._chat = chat - - @property - def emoji(self): - """Gets the emoji of this APIConfigReportCategories. # noqa: E501 - - - :return: The emoji of this APIConfigReportCategories. # noqa: E501 - :rtype: ReportCategory - """ - return self._emoji - - @emoji.setter - def emoji(self, emoji): - """Sets the emoji of this APIConfigReportCategories. - - - :param emoji: The emoji of this APIConfigReportCategories. # noqa: E501 - :type emoji: ReportCategory - """ - - self._emoji = emoji - - @property - def environment(self): - """Gets the environment of this APIConfigReportCategories. # noqa: E501 - - - :return: The environment of this APIConfigReportCategories. # noqa: E501 - :rtype: ReportCategory - """ - return self._environment - - @environment.setter - def environment(self, environment): - """Sets the environment of this APIConfigReportCategories. - - - :param environment: The environment of this APIConfigReportCategories. # noqa: E501 - :type environment: ReportCategory - """ - if self.local_vars_configuration.client_side_validation and environment is None: # noqa: E501 - raise ValueError("Invalid value for `environment`, must not be `None`") # noqa: E501 - - self._environment = environment - - @property - def groupstore(self): - """Gets the groupstore of this APIConfigReportCategories. # noqa: E501 - - - :return: The groupstore of this APIConfigReportCategories. # noqa: E501 - :rtype: ReportCategory - """ - return self._groupstore - - @groupstore.setter - def groupstore(self, groupstore): - """Sets the groupstore of this APIConfigReportCategories. - - - :param groupstore: The groupstore of this APIConfigReportCategories. # noqa: E501 - :type groupstore: ReportCategory - """ - if self.local_vars_configuration.client_side_validation and groupstore is None: # noqa: E501 - raise ValueError("Invalid value for `groupstore`, must not be `None`") # noqa: E501 - - self._groupstore = groupstore - - @property - def image(self): - """Gets the image of this APIConfigReportCategories. # noqa: E501 - - - :return: The image of this APIConfigReportCategories. # noqa: E501 - :rtype: ReportCategory - """ - return self._image - - @image.setter - def image(self, image): - """Sets the image of this APIConfigReportCategories. - - - :param image: The image of this APIConfigReportCategories. # noqa: E501 - :type image: ReportCategory - """ - if self.local_vars_configuration.client_side_validation and image is None: # noqa: E501 - raise ValueError("Invalid value for `image`, must not be `None`") # noqa: E501 - - self._image = image - - @property - def text(self): - """Gets the text of this APIConfigReportCategories. # noqa: E501 - - - :return: The text of this APIConfigReportCategories. # noqa: E501 - :rtype: ReportCategory - """ - return self._text - - @text.setter - def text(self, text): - """Sets the text of this APIConfigReportCategories. - - - :param text: The text of this APIConfigReportCategories. # noqa: E501 - :type text: ReportCategory - """ - if self.local_vars_configuration.client_side_validation and text is None: # noqa: E501 - raise ValueError("Invalid value for `text`, must not be `None`") # noqa: E501 - - self._text = text - - @property - def sticker(self): - """Gets the sticker of this APIConfigReportCategories. # noqa: E501 - - - :return: The sticker of this APIConfigReportCategories. # noqa: E501 - :rtype: ReportCategory - """ - return self._sticker - - @sticker.setter - def sticker(self, sticker): - """Sets the sticker of this APIConfigReportCategories. - - - :param sticker: The sticker of this APIConfigReportCategories. # noqa: E501 - :type sticker: ReportCategory - """ - - self._sticker = sticker - - @property - def warnings(self): - """Gets the warnings of this APIConfigReportCategories. # noqa: E501 - - - :return: The warnings of this APIConfigReportCategories. # noqa: E501 - :rtype: ReportCategory - """ - return self._warnings - - @warnings.setter - def warnings(self, warnings): - """Sets the warnings of this APIConfigReportCategories. - - - :param warnings: The warnings of this APIConfigReportCategories. # noqa: E501 - :type warnings: ReportCategory - """ - if self.local_vars_configuration.client_side_validation and warnings is None: # noqa: E501 - raise ValueError("Invalid value for `warnings`, must not be `None`") # noqa: E501 - - self._warnings = warnings - - @property - def worldimage(self): - """Gets the worldimage of this APIConfigReportCategories. # noqa: E501 - - - :return: The worldimage of this APIConfigReportCategories. # noqa: E501 - :rtype: ReportCategory - """ - return self._worldimage - - @worldimage.setter - def worldimage(self, worldimage): - """Sets the worldimage of this APIConfigReportCategories. - - - :param worldimage: The worldimage of this APIConfigReportCategories. # noqa: E501 - :type worldimage: ReportCategory - """ - if self.local_vars_configuration.client_side_validation and worldimage is None: # noqa: E501 - raise ValueError("Invalid value for `worldimage`, must not be `None`") # noqa: E501 - - self._worldimage = worldimage - - @property - def worldstore(self): - """Gets the worldstore of this APIConfigReportCategories. # noqa: E501 - - - :return: The worldstore of this APIConfigReportCategories. # noqa: E501 - :rtype: ReportCategory - """ - return self._worldstore - - @worldstore.setter - def worldstore(self, worldstore): - """Sets the worldstore of this APIConfigReportCategories. - - - :param worldstore: The worldstore of this APIConfigReportCategories. # noqa: E501 - :type worldstore: ReportCategory - """ - if self.local_vars_configuration.client_side_validation and worldstore is None: # noqa: E501 - raise ValueError("Invalid value for `worldstore`, must not be `None`") # noqa: E501 - - self._worldstore = worldstore - - def to_dict(self, serialize=False): - """Returns the model properties as a dict""" - result = {} - - def convert(x): - if hasattr(x, "to_dict"): - args = getfullargspec(x.to_dict).args - if len(args) == 1: - return x.to_dict() - else: - return x.to_dict(serialize) - else: - return x - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - attr = self.attribute_map.get(attr, attr) if serialize else attr - if isinstance(value, list): - result[attr] = list(map( - lambda x: convert(x), - value - )) - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], convert(item[1])), - value.items() - )) - else: - result[attr] = convert(value) - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, APIConfigReportCategories): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, APIConfigReportCategories): - return True - - return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/api_config_report_options.py b/vrchatapi/models/api_config_report_options.py deleted file mode 100644 index 3f8a74ec..00000000 --- a/vrchatapi/models/api_config_report_options.py +++ /dev/null @@ -1,209 +0,0 @@ -# coding: utf-8 - -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.20.5 - Contact: vrchatapi.lpv0t@aries.fyi - Generated by: https://openapi-generator.tech -""" - - -try: - from inspect import getfullargspec -except ImportError: - from inspect import getargspec as getfullargspec -import pprint -import re # noqa: F401 -import six - -from vrchatapi.configuration import Configuration - - -class APIConfigReportOptions(object): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - openapi_types = { - 'avatar': 'APIConfigReportOptionsAvatar', - 'group': 'APIConfigReportOptionsGroup', - 'user': 'APIConfigReportOptionsUser', - 'world': 'APIConfigReportOptionsWorld' - } - - attribute_map = { - 'avatar': 'avatar', - 'group': 'group', - 'user': 'user', - 'world': 'world' - } - - def __init__(self, avatar=None, group=None, user=None, world=None, local_vars_configuration=None): # noqa: E501 - """APIConfigReportOptions - a model defined in OpenAPI""" # noqa: E501 - if local_vars_configuration is None: - local_vars_configuration = Configuration.get_default_copy() - self.local_vars_configuration = local_vars_configuration - - self._avatar = None - self._group = None - self._user = None - self._world = None - self.discriminator = None - - if avatar is not None: - self.avatar = avatar - if group is not None: - self.group = group - if user is not None: - self.user = user - if world is not None: - self.world = world - - @property - def avatar(self): - """Gets the avatar of this APIConfigReportOptions. # noqa: E501 - - - :return: The avatar of this APIConfigReportOptions. # noqa: E501 - :rtype: APIConfigReportOptionsAvatar - """ - return self._avatar - - @avatar.setter - def avatar(self, avatar): - """Sets the avatar of this APIConfigReportOptions. - - - :param avatar: The avatar of this APIConfigReportOptions. # noqa: E501 - :type avatar: APIConfigReportOptionsAvatar - """ - - self._avatar = avatar - - @property - def group(self): - """Gets the group of this APIConfigReportOptions. # noqa: E501 - - - :return: The group of this APIConfigReportOptions. # noqa: E501 - :rtype: APIConfigReportOptionsGroup - """ - return self._group - - @group.setter - def group(self, group): - """Sets the group of this APIConfigReportOptions. - - - :param group: The group of this APIConfigReportOptions. # noqa: E501 - :type group: APIConfigReportOptionsGroup - """ - - self._group = group - - @property - def user(self): - """Gets the user of this APIConfigReportOptions. # noqa: E501 - - - :return: The user of this APIConfigReportOptions. # noqa: E501 - :rtype: APIConfigReportOptionsUser - """ - return self._user - - @user.setter - def user(self, user): - """Sets the user of this APIConfigReportOptions. - - - :param user: The user of this APIConfigReportOptions. # noqa: E501 - :type user: APIConfigReportOptionsUser - """ - - self._user = user - - @property - def world(self): - """Gets the world of this APIConfigReportOptions. # noqa: E501 - - - :return: The world of this APIConfigReportOptions. # noqa: E501 - :rtype: APIConfigReportOptionsWorld - """ - return self._world - - @world.setter - def world(self, world): - """Sets the world of this APIConfigReportOptions. - - - :param world: The world of this APIConfigReportOptions. # noqa: E501 - :type world: APIConfigReportOptionsWorld - """ - - self._world = world - - def to_dict(self, serialize=False): - """Returns the model properties as a dict""" - result = {} - - def convert(x): - if hasattr(x, "to_dict"): - args = getfullargspec(x.to_dict).args - if len(args) == 1: - return x.to_dict() - else: - return x.to_dict(serialize) - else: - return x - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - attr = self.attribute_map.get(attr, attr) if serialize else attr - if isinstance(value, list): - result[attr] = list(map( - lambda x: convert(x), - value - )) - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], convert(item[1])), - value.items() - )) - else: - result[attr] = convert(value) - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, APIConfigReportOptions): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, APIConfigReportOptions): - return True - - return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/api_config_report_options_user.py b/vrchatapi/models/api_config_report_options_user.py deleted file mode 100644 index c08e8b55..00000000 --- a/vrchatapi/models/api_config_report_options_user.py +++ /dev/null @@ -1,261 +0,0 @@ -# coding: utf-8 - -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.20.5 - Contact: vrchatapi.lpv0t@aries.fyi - Generated by: https://openapi-generator.tech -""" - - -try: - from inspect import getfullargspec -except ImportError: - from inspect import getargspec as getfullargspec -import pprint -import re # noqa: F401 -import six - -from vrchatapi.configuration import Configuration - - -class APIConfigReportOptionsUser(object): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - openapi_types = { - 'behavior': 'list[str]', - 'chat': 'list[str]', - 'emoji': 'list[str]', - 'image': 'list[str]', - 'sticker': 'list[str]', - 'text': 'list[str]' - } - - attribute_map = { - 'behavior': 'behavior', - 'chat': 'chat', - 'emoji': 'emoji', - 'image': 'image', - 'sticker': 'sticker', - 'text': 'text' - } - - def __init__(self, behavior=None, chat=None, emoji=None, image=None, sticker=None, text=None, local_vars_configuration=None): # noqa: E501 - """APIConfigReportOptionsUser - a model defined in OpenAPI""" # noqa: E501 - if local_vars_configuration is None: - local_vars_configuration = Configuration.get_default_copy() - self.local_vars_configuration = local_vars_configuration - - self._behavior = None - self._chat = None - self._emoji = None - self._image = None - self._sticker = None - self._text = None - self.discriminator = None - - if behavior is not None: - self.behavior = behavior - if chat is not None: - self.chat = chat - if emoji is not None: - self.emoji = emoji - if image is not None: - self.image = image - if sticker is not None: - self.sticker = sticker - if text is not None: - self.text = text - - @property - def behavior(self): - """Gets the behavior of this APIConfigReportOptionsUser. # noqa: E501 - - - :return: The behavior of this APIConfigReportOptionsUser. # noqa: E501 - :rtype: list[str] - """ - return self._behavior - - @behavior.setter - def behavior(self, behavior): - """Sets the behavior of this APIConfigReportOptionsUser. - - - :param behavior: The behavior of this APIConfigReportOptionsUser. # noqa: E501 - :type behavior: list[str] - """ - - self._behavior = behavior - - @property - def chat(self): - """Gets the chat of this APIConfigReportOptionsUser. # noqa: E501 - - - :return: The chat of this APIConfigReportOptionsUser. # noqa: E501 - :rtype: list[str] - """ - return self._chat - - @chat.setter - def chat(self, chat): - """Sets the chat of this APIConfigReportOptionsUser. - - - :param chat: The chat of this APIConfigReportOptionsUser. # noqa: E501 - :type chat: list[str] - """ - - self._chat = chat - - @property - def emoji(self): - """Gets the emoji of this APIConfigReportOptionsUser. # noqa: E501 - - - :return: The emoji of this APIConfigReportOptionsUser. # noqa: E501 - :rtype: list[str] - """ - return self._emoji - - @emoji.setter - def emoji(self, emoji): - """Sets the emoji of this APIConfigReportOptionsUser. - - - :param emoji: The emoji of this APIConfigReportOptionsUser. # noqa: E501 - :type emoji: list[str] - """ - - self._emoji = emoji - - @property - def image(self): - """Gets the image of this APIConfigReportOptionsUser. # noqa: E501 - - - :return: The image of this APIConfigReportOptionsUser. # noqa: E501 - :rtype: list[str] - """ - return self._image - - @image.setter - def image(self, image): - """Sets the image of this APIConfigReportOptionsUser. - - - :param image: The image of this APIConfigReportOptionsUser. # noqa: E501 - :type image: list[str] - """ - - self._image = image - - @property - def sticker(self): - """Gets the sticker of this APIConfigReportOptionsUser. # noqa: E501 - - - :return: The sticker of this APIConfigReportOptionsUser. # noqa: E501 - :rtype: list[str] - """ - return self._sticker - - @sticker.setter - def sticker(self, sticker): - """Sets the sticker of this APIConfigReportOptionsUser. - - - :param sticker: The sticker of this APIConfigReportOptionsUser. # noqa: E501 - :type sticker: list[str] - """ - - self._sticker = sticker - - @property - def text(self): - """Gets the text of this APIConfigReportOptionsUser. # noqa: E501 - - - :return: The text of this APIConfigReportOptionsUser. # noqa: E501 - :rtype: list[str] - """ - return self._text - - @text.setter - def text(self, text): - """Sets the text of this APIConfigReportOptionsUser. - - - :param text: The text of this APIConfigReportOptionsUser. # noqa: E501 - :type text: list[str] - """ - - self._text = text - - def to_dict(self, serialize=False): - """Returns the model properties as a dict""" - result = {} - - def convert(x): - if hasattr(x, "to_dict"): - args = getfullargspec(x.to_dict).args - if len(args) == 1: - return x.to_dict() - else: - return x.to_dict(serialize) - else: - return x - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - attr = self.attribute_map.get(attr, attr) if serialize else attr - if isinstance(value, list): - result[attr] = list(map( - lambda x: convert(x), - value - )) - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], convert(item[1])), - value.items() - )) - else: - result[attr] = convert(value) - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, APIConfigReportOptionsUser): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, APIConfigReportOptionsUser): - return True - - return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/api_config_report_options_world.py b/vrchatapi/models/api_config_report_options_world.py deleted file mode 100644 index 661e022e..00000000 --- a/vrchatapi/models/api_config_report_options_world.py +++ /dev/null @@ -1,235 +0,0 @@ -# coding: utf-8 - -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.20.5 - Contact: vrchatapi.lpv0t@aries.fyi - Generated by: https://openapi-generator.tech -""" - - -try: - from inspect import getfullargspec -except ImportError: - from inspect import getargspec as getfullargspec -import pprint -import re # noqa: F401 -import six - -from vrchatapi.configuration import Configuration - - -class APIConfigReportOptionsWorld(object): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - openapi_types = { - 'environment': 'list[str]', - 'text': 'list[str]', - 'warnings': 'list[str]', - 'worldimage': 'list[str]', - 'worldstore': 'list[str]' - } - - attribute_map = { - 'environment': 'environment', - 'text': 'text', - 'warnings': 'warnings', - 'worldimage': 'worldimage', - 'worldstore': 'worldstore' - } - - def __init__(self, environment=None, text=None, warnings=None, worldimage=None, worldstore=None, local_vars_configuration=None): # noqa: E501 - """APIConfigReportOptionsWorld - a model defined in OpenAPI""" # noqa: E501 - if local_vars_configuration is None: - local_vars_configuration = Configuration.get_default_copy() - self.local_vars_configuration = local_vars_configuration - - self._environment = None - self._text = None - self._warnings = None - self._worldimage = None - self._worldstore = None - self.discriminator = None - - if environment is not None: - self.environment = environment - if text is not None: - self.text = text - if warnings is not None: - self.warnings = warnings - if worldimage is not None: - self.worldimage = worldimage - if worldstore is not None: - self.worldstore = worldstore - - @property - def environment(self): - """Gets the environment of this APIConfigReportOptionsWorld. # noqa: E501 - - - :return: The environment of this APIConfigReportOptionsWorld. # noqa: E501 - :rtype: list[str] - """ - return self._environment - - @environment.setter - def environment(self, environment): - """Sets the environment of this APIConfigReportOptionsWorld. - - - :param environment: The environment of this APIConfigReportOptionsWorld. # noqa: E501 - :type environment: list[str] - """ - - self._environment = environment - - @property - def text(self): - """Gets the text of this APIConfigReportOptionsWorld. # noqa: E501 - - - :return: The text of this APIConfigReportOptionsWorld. # noqa: E501 - :rtype: list[str] - """ - return self._text - - @text.setter - def text(self, text): - """Sets the text of this APIConfigReportOptionsWorld. - - - :param text: The text of this APIConfigReportOptionsWorld. # noqa: E501 - :type text: list[str] - """ - - self._text = text - - @property - def warnings(self): - """Gets the warnings of this APIConfigReportOptionsWorld. # noqa: E501 - - - :return: The warnings of this APIConfigReportOptionsWorld. # noqa: E501 - :rtype: list[str] - """ - return self._warnings - - @warnings.setter - def warnings(self, warnings): - """Sets the warnings of this APIConfigReportOptionsWorld. - - - :param warnings: The warnings of this APIConfigReportOptionsWorld. # noqa: E501 - :type warnings: list[str] - """ - - self._warnings = warnings - - @property - def worldimage(self): - """Gets the worldimage of this APIConfigReportOptionsWorld. # noqa: E501 - - - :return: The worldimage of this APIConfigReportOptionsWorld. # noqa: E501 - :rtype: list[str] - """ - return self._worldimage - - @worldimage.setter - def worldimage(self, worldimage): - """Sets the worldimage of this APIConfigReportOptionsWorld. - - - :param worldimage: The worldimage of this APIConfigReportOptionsWorld. # noqa: E501 - :type worldimage: list[str] - """ - - self._worldimage = worldimage - - @property - def worldstore(self): - """Gets the worldstore of this APIConfigReportOptionsWorld. # noqa: E501 - - - :return: The worldstore of this APIConfigReportOptionsWorld. # noqa: E501 - :rtype: list[str] - """ - return self._worldstore - - @worldstore.setter - def worldstore(self, worldstore): - """Sets the worldstore of this APIConfigReportOptionsWorld. - - - :param worldstore: The worldstore of this APIConfigReportOptionsWorld. # noqa: E501 - :type worldstore: list[str] - """ - - self._worldstore = worldstore - - def to_dict(self, serialize=False): - """Returns the model properties as a dict""" - result = {} - - def convert(x): - if hasattr(x, "to_dict"): - args = getfullargspec(x.to_dict).args - if len(args) == 1: - return x.to_dict() - else: - return x.to_dict(serialize) - else: - return x - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - attr = self.attribute_map.get(attr, attr) if serialize else attr - if isinstance(value, list): - result[attr] = list(map( - lambda x: convert(x), - value - )) - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], convert(item[1])), - value.items() - )) - else: - result[attr] = convert(value) - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, APIConfigReportOptionsWorld): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, APIConfigReportOptionsWorld): - return True - - return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/api_config_report_reasons.py b/vrchatapi/models/api_config_report_reasons.py deleted file mode 100644 index 232c3aa6..00000000 --- a/vrchatapi/models/api_config_report_reasons.py +++ /dev/null @@ -1,696 +0,0 @@ -# coding: utf-8 - -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.20.5 - Contact: vrchatapi.lpv0t@aries.fyi - Generated by: https://openapi-generator.tech -""" - - -try: - from inspect import getfullargspec -except ImportError: - from inspect import getargspec as getfullargspec -import pprint -import re # noqa: F401 -import six - -from vrchatapi.configuration import Configuration - - -class APIConfigReportReasons(object): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - openapi_types = { - 'billing': 'ReportReason', - 'botting': 'ReportReason', - 'cancellation': 'ReportReason', - 'copyright': 'ReportReason', - 'fraud': 'ReportReason', - 'gore': 'ReportReason', - 'hacking': 'ReportReason', - 'harassing': 'ReportReason', - 'hateful': 'ReportReason', - 'impersonation': 'ReportReason', - 'inappropriate': 'ReportReason', - 'leaking': 'ReportReason', - 'malicious': 'ReportReason', - 'missing': 'ReportReason', - 'nudity': 'ReportReason', - 'renewal': 'ReportReason', - 'security': 'ReportReason', - 'service': 'ReportReason', - 'sexual': 'ReportReason', - 'technical': 'ReportReason', - 'threatening': 'ReportReason', - 'visuals': 'ReportReason' - } - - attribute_map = { - 'billing': 'billing', - 'botting': 'botting', - 'cancellation': 'cancellation', - 'copyright': 'copyright', - 'fraud': 'fraud', - 'gore': 'gore', - 'hacking': 'hacking', - 'harassing': 'harassing', - 'hateful': 'hateful', - 'impersonation': 'impersonation', - 'inappropriate': 'inappropriate', - 'leaking': 'leaking', - 'malicious': 'malicious', - 'missing': 'missing', - 'nudity': 'nudity', - 'renewal': 'renewal', - 'security': 'security', - 'service': 'service', - 'sexual': 'sexual', - 'technical': 'technical', - 'threatening': 'threatening', - 'visuals': 'visuals' - } - - def __init__(self, billing=None, botting=None, cancellation=None, copyright=None, fraud=None, gore=None, hacking=None, harassing=None, hateful=None, impersonation=None, inappropriate=None, leaking=None, malicious=None, missing=None, nudity=None, renewal=None, security=None, service=None, sexual=None, technical=None, threatening=None, visuals=None, local_vars_configuration=None): # noqa: E501 - """APIConfigReportReasons - a model defined in OpenAPI""" # noqa: E501 - if local_vars_configuration is None: - local_vars_configuration = Configuration.get_default_copy() - self.local_vars_configuration = local_vars_configuration - - self._billing = None - self._botting = None - self._cancellation = None - self._copyright = None - self._fraud = None - self._gore = None - self._hacking = None - self._harassing = None - self._hateful = None - self._impersonation = None - self._inappropriate = None - self._leaking = None - self._malicious = None - self._missing = None - self._nudity = None - self._renewal = None - self._security = None - self._service = None - self._sexual = None - self._technical = None - self._threatening = None - self._visuals = None - self.discriminator = None - - self.billing = billing - self.botting = botting - self.cancellation = cancellation - if copyright is not None: - self.copyright = copyright - if fraud is not None: - self.fraud = fraud - self.gore = gore - self.hacking = hacking - self.harassing = harassing - self.hateful = hateful - self.impersonation = impersonation - self.inappropriate = inappropriate - self.leaking = leaking - self.malicious = malicious - self.missing = missing - self.nudity = nudity - self.renewal = renewal - self.security = security - self.service = service - self.sexual = sexual - if technical is not None: - self.technical = technical - self.threatening = threatening - self.visuals = visuals - - @property - def billing(self): - """Gets the billing of this APIConfigReportReasons. # noqa: E501 - - - :return: The billing of this APIConfigReportReasons. # noqa: E501 - :rtype: ReportReason - """ - return self._billing - - @billing.setter - def billing(self, billing): - """Sets the billing of this APIConfigReportReasons. - - - :param billing: The billing of this APIConfigReportReasons. # noqa: E501 - :type billing: ReportReason - """ - if self.local_vars_configuration.client_side_validation and billing is None: # noqa: E501 - raise ValueError("Invalid value for `billing`, must not be `None`") # noqa: E501 - - self._billing = billing - - @property - def botting(self): - """Gets the botting of this APIConfigReportReasons. # noqa: E501 - - - :return: The botting of this APIConfigReportReasons. # noqa: E501 - :rtype: ReportReason - """ - return self._botting - - @botting.setter - def botting(self, botting): - """Sets the botting of this APIConfigReportReasons. - - - :param botting: The botting of this APIConfigReportReasons. # noqa: E501 - :type botting: ReportReason - """ - if self.local_vars_configuration.client_side_validation and botting is None: # noqa: E501 - raise ValueError("Invalid value for `botting`, must not be `None`") # noqa: E501 - - self._botting = botting - - @property - def cancellation(self): - """Gets the cancellation of this APIConfigReportReasons. # noqa: E501 - - - :return: The cancellation of this APIConfigReportReasons. # noqa: E501 - :rtype: ReportReason - """ - return self._cancellation - - @cancellation.setter - def cancellation(self, cancellation): - """Sets the cancellation of this APIConfigReportReasons. - - - :param cancellation: The cancellation of this APIConfigReportReasons. # noqa: E501 - :type cancellation: ReportReason - """ - if self.local_vars_configuration.client_side_validation and cancellation is None: # noqa: E501 - raise ValueError("Invalid value for `cancellation`, must not be `None`") # noqa: E501 - - self._cancellation = cancellation - - @property - def copyright(self): - """Gets the copyright of this APIConfigReportReasons. # noqa: E501 - - - :return: The copyright of this APIConfigReportReasons. # noqa: E501 - :rtype: ReportReason - """ - return self._copyright - - @copyright.setter - def copyright(self, copyright): - """Sets the copyright of this APIConfigReportReasons. - - - :param copyright: The copyright of this APIConfigReportReasons. # noqa: E501 - :type copyright: ReportReason - """ - - self._copyright = copyright - - @property - def fraud(self): - """Gets the fraud of this APIConfigReportReasons. # noqa: E501 - - - :return: The fraud of this APIConfigReportReasons. # noqa: E501 - :rtype: ReportReason - """ - return self._fraud - - @fraud.setter - def fraud(self, fraud): - """Sets the fraud of this APIConfigReportReasons. - - - :param fraud: The fraud of this APIConfigReportReasons. # noqa: E501 - :type fraud: ReportReason - """ - - self._fraud = fraud - - @property - def gore(self): - """Gets the gore of this APIConfigReportReasons. # noqa: E501 - - - :return: The gore of this APIConfigReportReasons. # noqa: E501 - :rtype: ReportReason - """ - return self._gore - - @gore.setter - def gore(self, gore): - """Sets the gore of this APIConfigReportReasons. - - - :param gore: The gore of this APIConfigReportReasons. # noqa: E501 - :type gore: ReportReason - """ - if self.local_vars_configuration.client_side_validation and gore is None: # noqa: E501 - raise ValueError("Invalid value for `gore`, must not be `None`") # noqa: E501 - - self._gore = gore - - @property - def hacking(self): - """Gets the hacking of this APIConfigReportReasons. # noqa: E501 - - - :return: The hacking of this APIConfigReportReasons. # noqa: E501 - :rtype: ReportReason - """ - return self._hacking - - @hacking.setter - def hacking(self, hacking): - """Sets the hacking of this APIConfigReportReasons. - - - :param hacking: The hacking of this APIConfigReportReasons. # noqa: E501 - :type hacking: ReportReason - """ - if self.local_vars_configuration.client_side_validation and hacking is None: # noqa: E501 - raise ValueError("Invalid value for `hacking`, must not be `None`") # noqa: E501 - - self._hacking = hacking - - @property - def harassing(self): - """Gets the harassing of this APIConfigReportReasons. # noqa: E501 - - - :return: The harassing of this APIConfigReportReasons. # noqa: E501 - :rtype: ReportReason - """ - return self._harassing - - @harassing.setter - def harassing(self, harassing): - """Sets the harassing of this APIConfigReportReasons. - - - :param harassing: The harassing of this APIConfigReportReasons. # noqa: E501 - :type harassing: ReportReason - """ - if self.local_vars_configuration.client_side_validation and harassing is None: # noqa: E501 - raise ValueError("Invalid value for `harassing`, must not be `None`") # noqa: E501 - - self._harassing = harassing - - @property - def hateful(self): - """Gets the hateful of this APIConfigReportReasons. # noqa: E501 - - - :return: The hateful of this APIConfigReportReasons. # noqa: E501 - :rtype: ReportReason - """ - return self._hateful - - @hateful.setter - def hateful(self, hateful): - """Sets the hateful of this APIConfigReportReasons. - - - :param hateful: The hateful of this APIConfigReportReasons. # noqa: E501 - :type hateful: ReportReason - """ - if self.local_vars_configuration.client_side_validation and hateful is None: # noqa: E501 - raise ValueError("Invalid value for `hateful`, must not be `None`") # noqa: E501 - - self._hateful = hateful - - @property - def impersonation(self): - """Gets the impersonation of this APIConfigReportReasons. # noqa: E501 - - - :return: The impersonation of this APIConfigReportReasons. # noqa: E501 - :rtype: ReportReason - """ - return self._impersonation - - @impersonation.setter - def impersonation(self, impersonation): - """Sets the impersonation of this APIConfigReportReasons. - - - :param impersonation: The impersonation of this APIConfigReportReasons. # noqa: E501 - :type impersonation: ReportReason - """ - if self.local_vars_configuration.client_side_validation and impersonation is None: # noqa: E501 - raise ValueError("Invalid value for `impersonation`, must not be `None`") # noqa: E501 - - self._impersonation = impersonation - - @property - def inappropriate(self): - """Gets the inappropriate of this APIConfigReportReasons. # noqa: E501 - - - :return: The inappropriate of this APIConfigReportReasons. # noqa: E501 - :rtype: ReportReason - """ - return self._inappropriate - - @inappropriate.setter - def inappropriate(self, inappropriate): - """Sets the inappropriate of this APIConfigReportReasons. - - - :param inappropriate: The inappropriate of this APIConfigReportReasons. # noqa: E501 - :type inappropriate: ReportReason - """ - if self.local_vars_configuration.client_side_validation and inappropriate is None: # noqa: E501 - raise ValueError("Invalid value for `inappropriate`, must not be `None`") # noqa: E501 - - self._inappropriate = inappropriate - - @property - def leaking(self): - """Gets the leaking of this APIConfigReportReasons. # noqa: E501 - - - :return: The leaking of this APIConfigReportReasons. # noqa: E501 - :rtype: ReportReason - """ - return self._leaking - - @leaking.setter - def leaking(self, leaking): - """Sets the leaking of this APIConfigReportReasons. - - - :param leaking: The leaking of this APIConfigReportReasons. # noqa: E501 - :type leaking: ReportReason - """ - if self.local_vars_configuration.client_side_validation and leaking is None: # noqa: E501 - raise ValueError("Invalid value for `leaking`, must not be `None`") # noqa: E501 - - self._leaking = leaking - - @property - def malicious(self): - """Gets the malicious of this APIConfigReportReasons. # noqa: E501 - - - :return: The malicious of this APIConfigReportReasons. # noqa: E501 - :rtype: ReportReason - """ - return self._malicious - - @malicious.setter - def malicious(self, malicious): - """Sets the malicious of this APIConfigReportReasons. - - - :param malicious: The malicious of this APIConfigReportReasons. # noqa: E501 - :type malicious: ReportReason - """ - if self.local_vars_configuration.client_side_validation and malicious is None: # noqa: E501 - raise ValueError("Invalid value for `malicious`, must not be `None`") # noqa: E501 - - self._malicious = malicious - - @property - def missing(self): - """Gets the missing of this APIConfigReportReasons. # noqa: E501 - - - :return: The missing of this APIConfigReportReasons. # noqa: E501 - :rtype: ReportReason - """ - return self._missing - - @missing.setter - def missing(self, missing): - """Sets the missing of this APIConfigReportReasons. - - - :param missing: The missing of this APIConfigReportReasons. # noqa: E501 - :type missing: ReportReason - """ - if self.local_vars_configuration.client_side_validation and missing is None: # noqa: E501 - raise ValueError("Invalid value for `missing`, must not be `None`") # noqa: E501 - - self._missing = missing - - @property - def nudity(self): - """Gets the nudity of this APIConfigReportReasons. # noqa: E501 - - - :return: The nudity of this APIConfigReportReasons. # noqa: E501 - :rtype: ReportReason - """ - return self._nudity - - @nudity.setter - def nudity(self, nudity): - """Sets the nudity of this APIConfigReportReasons. - - - :param nudity: The nudity of this APIConfigReportReasons. # noqa: E501 - :type nudity: ReportReason - """ - if self.local_vars_configuration.client_side_validation and nudity is None: # noqa: E501 - raise ValueError("Invalid value for `nudity`, must not be `None`") # noqa: E501 - - self._nudity = nudity - - @property - def renewal(self): - """Gets the renewal of this APIConfigReportReasons. # noqa: E501 - - - :return: The renewal of this APIConfigReportReasons. # noqa: E501 - :rtype: ReportReason - """ - return self._renewal - - @renewal.setter - def renewal(self, renewal): - """Sets the renewal of this APIConfigReportReasons. - - - :param renewal: The renewal of this APIConfigReportReasons. # noqa: E501 - :type renewal: ReportReason - """ - if self.local_vars_configuration.client_side_validation and renewal is None: # noqa: E501 - raise ValueError("Invalid value for `renewal`, must not be `None`") # noqa: E501 - - self._renewal = renewal - - @property - def security(self): - """Gets the security of this APIConfigReportReasons. # noqa: E501 - - - :return: The security of this APIConfigReportReasons. # noqa: E501 - :rtype: ReportReason - """ - return self._security - - @security.setter - def security(self, security): - """Sets the security of this APIConfigReportReasons. - - - :param security: The security of this APIConfigReportReasons. # noqa: E501 - :type security: ReportReason - """ - if self.local_vars_configuration.client_side_validation and security is None: # noqa: E501 - raise ValueError("Invalid value for `security`, must not be `None`") # noqa: E501 - - self._security = security - - @property - def service(self): - """Gets the service of this APIConfigReportReasons. # noqa: E501 - - - :return: The service of this APIConfigReportReasons. # noqa: E501 - :rtype: ReportReason - """ - return self._service - - @service.setter - def service(self, service): - """Sets the service of this APIConfigReportReasons. - - - :param service: The service of this APIConfigReportReasons. # noqa: E501 - :type service: ReportReason - """ - if self.local_vars_configuration.client_side_validation and service is None: # noqa: E501 - raise ValueError("Invalid value for `service`, must not be `None`") # noqa: E501 - - self._service = service - - @property - def sexual(self): - """Gets the sexual of this APIConfigReportReasons. # noqa: E501 - - - :return: The sexual of this APIConfigReportReasons. # noqa: E501 - :rtype: ReportReason - """ - return self._sexual - - @sexual.setter - def sexual(self, sexual): - """Sets the sexual of this APIConfigReportReasons. - - - :param sexual: The sexual of this APIConfigReportReasons. # noqa: E501 - :type sexual: ReportReason - """ - if self.local_vars_configuration.client_side_validation and sexual is None: # noqa: E501 - raise ValueError("Invalid value for `sexual`, must not be `None`") # noqa: E501 - - self._sexual = sexual - - @property - def technical(self): - """Gets the technical of this APIConfigReportReasons. # noqa: E501 - - - :return: The technical of this APIConfigReportReasons. # noqa: E501 - :rtype: ReportReason - """ - return self._technical - - @technical.setter - def technical(self, technical): - """Sets the technical of this APIConfigReportReasons. - - - :param technical: The technical of this APIConfigReportReasons. # noqa: E501 - :type technical: ReportReason - """ - - self._technical = technical - - @property - def threatening(self): - """Gets the threatening of this APIConfigReportReasons. # noqa: E501 - - - :return: The threatening of this APIConfigReportReasons. # noqa: E501 - :rtype: ReportReason - """ - return self._threatening - - @threatening.setter - def threatening(self, threatening): - """Sets the threatening of this APIConfigReportReasons. - - - :param threatening: The threatening of this APIConfigReportReasons. # noqa: E501 - :type threatening: ReportReason - """ - if self.local_vars_configuration.client_side_validation and threatening is None: # noqa: E501 - raise ValueError("Invalid value for `threatening`, must not be `None`") # noqa: E501 - - self._threatening = threatening - - @property - def visuals(self): - """Gets the visuals of this APIConfigReportReasons. # noqa: E501 - - - :return: The visuals of this APIConfigReportReasons. # noqa: E501 - :rtype: ReportReason - """ - return self._visuals - - @visuals.setter - def visuals(self, visuals): - """Sets the visuals of this APIConfigReportReasons. - - - :param visuals: The visuals of this APIConfigReportReasons. # noqa: E501 - :type visuals: ReportReason - """ - if self.local_vars_configuration.client_side_validation and visuals is None: # noqa: E501 - raise ValueError("Invalid value for `visuals`, must not be `None`") # noqa: E501 - - self._visuals = visuals - - def to_dict(self, serialize=False): - """Returns the model properties as a dict""" - result = {} - - def convert(x): - if hasattr(x, "to_dict"): - args = getfullargspec(x.to_dict).args - if len(args) == 1: - return x.to_dict() - else: - return x.to_dict(serialize) - else: - return x - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - attr = self.attribute_map.get(attr, attr) if serialize else attr - if isinstance(value, list): - result[attr] = list(map( - lambda x: convert(x), - value - )) - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], convert(item[1])), - value.items() - )) - else: - result[attr] = convert(value) - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, APIConfigReportReasons): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, APIConfigReportReasons): - return True - - return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index 33585400..bd56d222 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,31 +36,57 @@ class APIHealth(object): and the value is json key in definition. """ openapi_types = { + 'build_version_tag': 'str', 'ok': 'bool', - 'server_name': 'str', - 'build_version_tag': 'str' + 'server_name': 'str' } attribute_map = { + 'build_version_tag': 'buildVersionTag', 'ok': 'ok', - 'server_name': 'serverName', - 'build_version_tag': 'buildVersionTag' + 'server_name': 'serverName' } - def __init__(self, ok=None, server_name=None, build_version_tag=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, build_version_tag=None, ok=None, server_name=None, local_vars_configuration=None): # noqa: E501 """APIHealth - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration + self._build_version_tag = None self._ok = None self._server_name = None - self._build_version_tag = None self.discriminator = None + self.build_version_tag = build_version_tag self.ok = ok self.server_name = server_name - self.build_version_tag = build_version_tag + + @property + def build_version_tag(self): + """Gets the build_version_tag of this APIHealth. # noqa: E501 + + + :return: The build_version_tag of this APIHealth. # noqa: E501 + :rtype: str + """ + return self._build_version_tag + + @build_version_tag.setter + def build_version_tag(self, build_version_tag): + """Sets the build_version_tag of this APIHealth. + + + :param build_version_tag: The build_version_tag of this APIHealth. # noqa: E501 + :type build_version_tag: str + """ + if self.local_vars_configuration.client_side_validation and build_version_tag is None: # noqa: E501 + raise ValueError("Invalid value for `build_version_tag`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + build_version_tag is not None and len(build_version_tag) < 1): + raise ValueError("Invalid value for `build_version_tag`, length must be greater than or equal to `1`") # noqa: E501 + + self._build_version_tag = build_version_tag @property def ok(self): @@ -111,32 +137,6 @@ def server_name(self, server_name): self._server_name = server_name - @property - def build_version_tag(self): - """Gets the build_version_tag of this APIHealth. # noqa: E501 - - - :return: The build_version_tag of this APIHealth. # noqa: E501 - :rtype: str - """ - return self._build_version_tag - - @build_version_tag.setter - def build_version_tag(self, build_version_tag): - """Sets the build_version_tag of this APIHealth. - - - :param build_version_tag: The build_version_tag of this APIHealth. # noqa: E501 - :type build_version_tag: str - """ - if self.local_vars_configuration.client_side_validation and build_version_tag is None: # noqa: E501 - raise ValueError("Invalid value for `build_version_tag`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - build_version_tag is not None and len(build_version_tag) < 1): - raise ValueError("Invalid value for `build_version_tag`, length must be greater than or equal to `1`") # noqa: E501 - - self._build_version_tag = build_version_tag - def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index 98c9e9f1..9c911490 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -37,6 +37,7 @@ class Avatar(object): """ openapi_types = { 'acknowledgements': 'str', + 'active_asset_review_id': 'str', 'asset_url': 'str', 'asset_url_object': 'object', 'author_id': 'str', @@ -51,6 +52,7 @@ class Avatar(object): 'lock': 'bool', 'lowest_price': 'int', 'name': 'str', + 'pending_upload': 'bool', 'performance': 'AvatarPerformance', 'product_id': 'str', 'published_listings': 'list[AvatarPublishedListingsInner]', @@ -68,6 +70,7 @@ class Avatar(object): attribute_map = { 'acknowledgements': 'acknowledgements', + 'active_asset_review_id': 'activeAssetReviewId', 'asset_url': 'assetUrl', 'asset_url_object': 'assetUrlObject', 'author_id': 'authorId', @@ -82,6 +85,7 @@ class Avatar(object): 'lock': 'lock', 'lowest_price': 'lowestPrice', 'name': 'name', + 'pending_upload': 'pendingUpload', 'performance': 'performance', 'product_id': 'productId', 'published_listings': 'publishedListings', @@ -97,13 +101,14 @@ class Avatar(object): 'version': 'version' } - def __init__(self, acknowledgements=None, asset_url=None, asset_url_object=None, author_id=None, author_name=None, created_at=None, description=None, featured=False, highest_price=None, id=None, image_url=None, listing_date=None, lock=None, lowest_price=None, name=None, performance=None, product_id=None, published_listings=None, release_status=None, searchable=False, styles=None, tags=None, thumbnail_image_url=None, unity_package_url=None, unity_package_url_object=None, unity_packages=None, updated_at=None, version=0, local_vars_configuration=None): # noqa: E501 + def __init__(self, acknowledgements=None, active_asset_review_id=None, asset_url=None, asset_url_object=None, author_id=None, author_name=None, created_at=None, description=None, featured=False, highest_price=None, id=None, image_url=None, listing_date=None, lock=None, lowest_price=None, name=None, pending_upload=False, performance=None, product_id=None, published_listings=None, release_status=None, searchable=False, styles=None, tags=None, thumbnail_image_url=None, unity_package_url=None, unity_package_url_object=None, unity_packages=None, updated_at=None, version=0, local_vars_configuration=None): # noqa: E501 """Avatar - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._acknowledgements = None + self._active_asset_review_id = None self._asset_url = None self._asset_url_object = None self._author_id = None @@ -118,6 +123,7 @@ def __init__(self, acknowledgements=None, asset_url=None, asset_url_object=None, self._lock = None self._lowest_price = None self._name = None + self._pending_upload = None self._performance = None self._product_id = None self._published_listings = None @@ -135,6 +141,8 @@ def __init__(self, acknowledgements=None, asset_url=None, asset_url_object=None, if acknowledgements is not None: self.acknowledgements = acknowledgements + if active_asset_review_id is not None: + self.active_asset_review_id = active_asset_review_id if asset_url is not None: self.asset_url = asset_url if asset_url_object is not None: @@ -154,6 +162,8 @@ def __init__(self, acknowledgements=None, asset_url=None, asset_url_object=None, if lowest_price is not None: self.lowest_price = lowest_price self.name = name + if pending_upload is not None: + self.pending_upload = pending_upload self.performance = performance if product_id is not None: self.product_id = product_id @@ -192,6 +202,29 @@ def acknowledgements(self, acknowledgements): self._acknowledgements = acknowledgements + @property + def active_asset_review_id(self): + """Gets the active_asset_review_id of this Avatar. # noqa: E501 + + Only present for the avatar author on avatars under active review. # noqa: E501 + + :return: The active_asset_review_id of this Avatar. # noqa: E501 + :rtype: str + """ + return self._active_asset_review_id + + @active_asset_review_id.setter + def active_asset_review_id(self, active_asset_review_id): + """Sets the active_asset_review_id of this Avatar. + + Only present for the avatar author on avatars under active review. # noqa: E501 + + :param active_asset_review_id: The active_asset_review_id of this Avatar. # noqa: E501 + :type active_asset_review_id: str + """ + + self._active_asset_review_id = active_asset_review_id + @property def asset_url(self): """Gets the asset_url of this Avatar. # noqa: E501 @@ -523,6 +556,27 @@ def name(self, name): self._name = name + @property + def pending_upload(self): + """Gets the pending_upload of this Avatar. # noqa: E501 + + + :return: The pending_upload of this Avatar. # noqa: E501 + :rtype: bool + """ + return self._pending_upload + + @pending_upload.setter + def pending_upload(self, pending_upload): + """Sets the pending_upload of this Avatar. + + + :param pending_upload: The pending_upload of this Avatar. # noqa: E501 + :type pending_upload: bool + """ + + self._pending_upload = pending_upload + @property def performance(self): """Gets the performance of this Avatar. # noqa: E501 diff --git a/vrchatapi/models/avatar_moderation.py b/vrchatapi/models/avatar_moderation.py index 3839bf36..02888c69 100644 --- a/vrchatapi/models/avatar_moderation.py +++ b/vrchatapi/models/avatar_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_moderation_created.py b/vrchatapi/models/avatar_moderation_created.py new file mode 100644 index 00000000..86343a72 --- /dev/null +++ b/vrchatapi/models/avatar_moderation_created.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class AvatarModerationCreated(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'avatar_moderation_type': 'AvatarModerationType', + 'created': 'int', + 'target_avatar_id': 'str' + } + + attribute_map = { + 'avatar_moderation_type': 'avatarModerationType', + 'created': 'created', + 'target_avatar_id': 'targetAvatarId' + } + + def __init__(self, avatar_moderation_type=None, created=None, target_avatar_id=None, local_vars_configuration=None): # noqa: E501 + """AvatarModerationCreated - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._avatar_moderation_type = None + self._created = None + self._target_avatar_id = None + self.discriminator = None + + self.avatar_moderation_type = avatar_moderation_type + self.created = created + self.target_avatar_id = target_avatar_id + + @property + def avatar_moderation_type(self): + """Gets the avatar_moderation_type of this AvatarModerationCreated. # noqa: E501 + + + :return: The avatar_moderation_type of this AvatarModerationCreated. # noqa: E501 + :rtype: AvatarModerationType + """ + return self._avatar_moderation_type + + @avatar_moderation_type.setter + def avatar_moderation_type(self, avatar_moderation_type): + """Sets the avatar_moderation_type of this AvatarModerationCreated. + + + :param avatar_moderation_type: The avatar_moderation_type of this AvatarModerationCreated. # noqa: E501 + :type avatar_moderation_type: AvatarModerationType + """ + if self.local_vars_configuration.client_side_validation and avatar_moderation_type is None: # noqa: E501 + raise ValueError("Invalid value for `avatar_moderation_type`, must not be `None`") # noqa: E501 + + self._avatar_moderation_type = avatar_moderation_type + + @property + def created(self): + """Gets the created of this AvatarModerationCreated. # noqa: E501 + + Timestamp in milliseconds since Unix epoch # noqa: E501 + + :return: The created of this AvatarModerationCreated. # noqa: E501 + :rtype: int + """ + return self._created + + @created.setter + def created(self, created): + """Sets the created of this AvatarModerationCreated. + + Timestamp in milliseconds since Unix epoch # noqa: E501 + + :param created: The created of this AvatarModerationCreated. # noqa: E501 + :type created: int + """ + if self.local_vars_configuration.client_side_validation and created is None: # noqa: E501 + raise ValueError("Invalid value for `created`, must not be `None`") # noqa: E501 + + self._created = created + + @property + def target_avatar_id(self): + """Gets the target_avatar_id of this AvatarModerationCreated. # noqa: E501 + + + :return: The target_avatar_id of this AvatarModerationCreated. # noqa: E501 + :rtype: str + """ + return self._target_avatar_id + + @target_avatar_id.setter + def target_avatar_id(self, target_avatar_id): + """Sets the target_avatar_id of this AvatarModerationCreated. + + + :param target_avatar_id: The target_avatar_id of this AvatarModerationCreated. # noqa: E501 + :type target_avatar_id: str + """ + if self.local_vars_configuration.client_side_validation and target_avatar_id is None: # noqa: E501 + raise ValueError("Invalid value for `target_avatar_id`, must not be `None`") # noqa: E501 + + self._target_avatar_id = target_avatar_id + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AvatarModerationCreated): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, AvatarModerationCreated): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/avatar_moderation_type.py b/vrchatapi/models/avatar_moderation_type.py index a23c2ace..5d81abb7 100644 --- a/vrchatapi/models/avatar_moderation_type.py +++ b/vrchatapi/models/avatar_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_performance.py b/vrchatapi/models/avatar_performance.py index b4cbc1b4..fc000998 100644 --- a/vrchatapi/models/avatar_performance.py +++ b/vrchatapi/models/avatar_performance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_published_listings_inner.py b/vrchatapi/models/avatar_published_listings_inner.py index 09f319ab..89348b5f 100644 --- a/vrchatapi/models/avatar_published_listings_inner.py +++ b/vrchatapi/models/avatar_published_listings_inner.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_style.py b/vrchatapi/models/avatar_style.py index 37d22317..3c1d8e74 100644 --- a/vrchatapi/models/avatar_style.py +++ b/vrchatapi/models/avatar_style.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_styles.py b/vrchatapi/models/avatar_styles.py index 48627163..2bd9fa85 100644 --- a/vrchatapi/models/avatar_styles.py +++ b/vrchatapi/models/avatar_styles.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index c55b8063..c750b18b 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/badge.py b/vrchatapi/models/badge.py index 8d266e36..3cb5eb89 100644 --- a/vrchatapi/models/badge.py +++ b/vrchatapi/models/badge.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/balance.py b/vrchatapi/models/balance.py index 23f8ad65..4115de6d 100644 --- a/vrchatapi/models/balance.py +++ b/vrchatapi/models/balance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index d71dc2b7..254327af 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/boop_request.py b/vrchatapi/models/boop_request.py new file mode 100644 index 00000000..8a59cbc5 --- /dev/null +++ b/vrchatapi/models/boop_request.py @@ -0,0 +1,185 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class BoopRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'emoji_id': 'str', + 'emoji_version': 'int', + 'inventory_item_id': 'str' + } + + attribute_map = { + 'emoji_id': 'emojiId', + 'emoji_version': 'emojiVersion', + 'inventory_item_id': 'inventoryItemId' + } + + def __init__(self, emoji_id=None, emoji_version=None, inventory_item_id=None, local_vars_configuration=None): # noqa: E501 + """BoopRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._emoji_id = None + self._emoji_version = None + self._inventory_item_id = None + self.discriminator = None + + if emoji_id is not None: + self.emoji_id = emoji_id + if emoji_version is not None: + self.emoji_version = emoji_version + if inventory_item_id is not None: + self.inventory_item_id = inventory_item_id + + @property + def emoji_id(self): + """Gets the emoji_id of this BoopRequest. # noqa: E501 + + Either a FileID or a string constant for default emojis # noqa: E501 + + :return: The emoji_id of this BoopRequest. # noqa: E501 + :rtype: str + """ + return self._emoji_id + + @emoji_id.setter + def emoji_id(self, emoji_id): + """Sets the emoji_id of this BoopRequest. + + Either a FileID or a string constant for default emojis # noqa: E501 + + :param emoji_id: The emoji_id of this BoopRequest. # noqa: E501 + :type emoji_id: str + """ + + self._emoji_id = emoji_id + + @property + def emoji_version(self): + """Gets the emoji_version of this BoopRequest. # noqa: E501 + + + :return: The emoji_version of this BoopRequest. # noqa: E501 + :rtype: int + """ + return self._emoji_version + + @emoji_version.setter + def emoji_version(self, emoji_version): + """Sets the emoji_version of this BoopRequest. + + + :param emoji_version: The emoji_version of this BoopRequest. # noqa: E501 + :type emoji_version: int + """ + + self._emoji_version = emoji_version + + @property + def inventory_item_id(self): + """Gets the inventory_item_id of this BoopRequest. # noqa: E501 + + + :return: The inventory_item_id of this BoopRequest. # noqa: E501 + :rtype: str + """ + return self._inventory_item_id + + @inventory_item_id.setter + def inventory_item_id(self, inventory_item_id): + """Sets the inventory_item_id of this BoopRequest. + + + :param inventory_item_id: The inventory_item_id of this BoopRequest. # noqa: E501 + :type inventory_item_id: str + """ + + self._inventory_item_id = inventory_item_id + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, BoopRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, BoopRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/calendar_event.py b/vrchatapi/models/calendar_event.py index 813038bf..f33bd703 100644 --- a/vrchatapi/models/calendar_event.py +++ b/vrchatapi/models/calendar_event.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,12 +36,13 @@ class CalendarEvent(object): and the value is json key in definition. """ openapi_types = { - 'access_type': 'str', - 'category': 'str', + 'access_type': 'CalendarEventAccess', + 'category': 'CalendarEventCategory', 'close_instance_after_end_minutes': 'int', 'created_at': 'datetime', 'deleted_at': 'datetime', 'description': 'str', + 'duration_in_ms': 'int', 'ends_at': 'datetime', 'featured': 'bool', 'guest_early_join_minutes': 'int', @@ -53,15 +54,15 @@ class CalendarEvent(object): 'is_draft': 'bool', 'languages': 'list[str]', 'owner_id': 'str', - 'platforms': 'list[str]', + 'platforms': 'list[CalendarEventPlatform]', 'role_ids': 'list[str]', 'starts_at': 'datetime', 'tags': 'list[str]', 'title': 'str', 'type': 'str', 'updated_at': 'datetime', - 'uses_instance_overflow': 'bool', - 'user_interest': 'CalendarEventUserInterest' + 'user_interest': 'CalendarEventUserInterest', + 'uses_instance_overflow': 'bool' } attribute_map = { @@ -71,6 +72,7 @@ class CalendarEvent(object): 'created_at': 'createdAt', 'deleted_at': 'deletedAt', 'description': 'description', + 'duration_in_ms': 'durationInMs', 'ends_at': 'endsAt', 'featured': 'featured', 'guest_early_join_minutes': 'guestEarlyJoinMinutes', @@ -89,11 +91,11 @@ class CalendarEvent(object): 'title': 'title', 'type': 'type', 'updated_at': 'updatedAt', - 'uses_instance_overflow': 'usesInstanceOverflow', - 'user_interest': 'userInterest' + 'user_interest': 'userInterest', + 'uses_instance_overflow': 'usesInstanceOverflow' } - def __init__(self, access_type=None, category=None, close_instance_after_end_minutes=None, created_at=None, deleted_at=None, description=None, ends_at=None, featured=None, guest_early_join_minutes=None, host_early_join_minutes=None, id=None, image_id=None, image_url=None, interested_user_count=None, is_draft=None, languages=None, owner_id=None, platforms=None, role_ids=None, starts_at=None, tags=None, title=None, type=None, updated_at=None, uses_instance_overflow=None, user_interest=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, access_type=None, category=None, close_instance_after_end_minutes=None, created_at=None, deleted_at=None, description=None, duration_in_ms=None, ends_at=None, featured=None, guest_early_join_minutes=None, host_early_join_minutes=None, id=None, image_id=None, image_url=None, interested_user_count=None, is_draft=None, languages=None, owner_id=None, platforms=None, role_ids=None, starts_at=None, tags=None, title=None, type=None, updated_at=None, user_interest=None, uses_instance_overflow=None, local_vars_configuration=None): # noqa: E501 """CalendarEvent - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -105,6 +107,7 @@ def __init__(self, access_type=None, category=None, close_instance_after_end_min self._created_at = None self._deleted_at = None self._description = None + self._duration_in_ms = None self._ends_at = None self._featured = None self._guest_early_join_minutes = None @@ -123,8 +126,8 @@ def __init__(self, access_type=None, category=None, close_instance_after_end_min self._title = None self._type = None self._updated_at = None - self._uses_instance_overflow = None self._user_interest = None + self._uses_instance_overflow = None self.discriminator = None self.access_type = access_type @@ -135,6 +138,8 @@ def __init__(self, access_type=None, category=None, close_instance_after_end_min self.created_at = created_at self.deleted_at = deleted_at self.description = description + if duration_in_ms is not None: + self.duration_in_ms = duration_in_ms self.ends_at = ends_at if featured is not None: self.featured = featured @@ -165,10 +170,10 @@ def __init__(self, access_type=None, category=None, close_instance_after_end_min self.type = type if updated_at is not None: self.updated_at = updated_at - if uses_instance_overflow is not None: - self.uses_instance_overflow = uses_instance_overflow if user_interest is not None: self.user_interest = user_interest + if uses_instance_overflow is not None: + self.uses_instance_overflow = uses_instance_overflow @property def access_type(self): @@ -176,7 +181,7 @@ def access_type(self): :return: The access_type of this CalendarEvent. # noqa: E501 - :rtype: str + :rtype: CalendarEventAccess """ return self._access_type @@ -186,7 +191,7 @@ def access_type(self, access_type): :param access_type: The access_type of this CalendarEvent. # noqa: E501 - :type access_type: str + :type access_type: CalendarEventAccess """ if self.local_vars_configuration.client_side_validation and access_type is None: # noqa: E501 raise ValueError("Invalid value for `access_type`, must not be `None`") # noqa: E501 @@ -199,7 +204,7 @@ def category(self): :return: The category of this CalendarEvent. # noqa: E501 - :rtype: str + :rtype: CalendarEventCategory """ return self._category @@ -209,7 +214,7 @@ def category(self, category): :param category: The category of this CalendarEvent. # noqa: E501 - :type category: str + :type category: CalendarEventCategory """ if self.local_vars_configuration.client_side_validation and category is None: # noqa: E501 raise ValueError("Invalid value for `category`, must not be `None`") # noqa: E501 @@ -302,6 +307,27 @@ def description(self, description): self._description = description + @property + def duration_in_ms(self): + """Gets the duration_in_ms of this CalendarEvent. # noqa: E501 + + + :return: The duration_in_ms of this CalendarEvent. # noqa: E501 + :rtype: int + """ + return self._duration_in_ms + + @duration_in_ms.setter + def duration_in_ms(self, duration_in_ms): + """Sets the duration_in_ms of this CalendarEvent. + + + :param duration_in_ms: The duration_in_ms of this CalendarEvent. # noqa: E501 + :type duration_in_ms: int + """ + + self._duration_in_ms = duration_in_ms + @property def ends_at(self): """Gets the ends_at of this CalendarEvent. # noqa: E501 @@ -499,7 +525,7 @@ def is_draft(self, is_draft): def languages(self): """Gets the languages of this CalendarEvent. # noqa: E501 - # noqa: E501 + Languages that might be spoken at this event # noqa: E501 :return: The languages of this CalendarEvent. # noqa: E501 :rtype: list[str] @@ -510,7 +536,7 @@ def languages(self): def languages(self, languages): """Sets the languages of this CalendarEvent. - # noqa: E501 + Languages that might be spoken at this event # noqa: E501 :param languages: The languages of this CalendarEvent. # noqa: E501 :type languages: list[str] @@ -543,10 +569,9 @@ def owner_id(self, owner_id): def platforms(self): """Gets the platforms of this CalendarEvent. # noqa: E501 - # noqa: E501 :return: The platforms of this CalendarEvent. # noqa: E501 - :rtype: list[str] + :rtype: list[CalendarEventPlatform] """ return self._platforms @@ -554,10 +579,9 @@ def platforms(self): def platforms(self, platforms): """Sets the platforms of this CalendarEvent. - # noqa: E501 :param platforms: The platforms of this CalendarEvent. # noqa: E501 - :type platforms: list[str] + :type platforms: list[CalendarEventPlatform] """ self._platforms = platforms @@ -566,7 +590,7 @@ def platforms(self, platforms): def role_ids(self): """Gets the role_ids of this CalendarEvent. # noqa: E501 - # noqa: E501 + Group roles that may join this event # noqa: E501 :return: The role_ids of this CalendarEvent. # noqa: E501 :rtype: list[str] @@ -577,7 +601,7 @@ def role_ids(self): def role_ids(self, role_ids): """Sets the role_ids of this CalendarEvent. - # noqa: E501 + Group roles that may join this event # noqa: E501 :param role_ids: The role_ids of this CalendarEvent. # noqa: E501 :type role_ids: list[str] @@ -612,7 +636,7 @@ def starts_at(self, starts_at): def tags(self): """Gets the tags of this CalendarEvent. # noqa: E501 - # noqa: E501 + Custom tags for this event # noqa: E501 :return: The tags of this CalendarEvent. # noqa: E501 :rtype: list[str] @@ -623,7 +647,7 @@ def tags(self): def tags(self, tags): """Sets the tags of this CalendarEvent. - # noqa: E501 + Custom tags for this event # noqa: E501 :param tags: The tags of this CalendarEvent. # noqa: E501 :type tags: list[str] @@ -699,27 +723,6 @@ def updated_at(self, updated_at): self._updated_at = updated_at - @property - def uses_instance_overflow(self): - """Gets the uses_instance_overflow of this CalendarEvent. # noqa: E501 - - - :return: The uses_instance_overflow of this CalendarEvent. # noqa: E501 - :rtype: bool - """ - return self._uses_instance_overflow - - @uses_instance_overflow.setter - def uses_instance_overflow(self, uses_instance_overflow): - """Sets the uses_instance_overflow of this CalendarEvent. - - - :param uses_instance_overflow: The uses_instance_overflow of this CalendarEvent. # noqa: E501 - :type uses_instance_overflow: bool - """ - - self._uses_instance_overflow = uses_instance_overflow - @property def user_interest(self): """Gets the user_interest of this CalendarEvent. # noqa: E501 @@ -741,6 +744,27 @@ def user_interest(self, user_interest): self._user_interest = user_interest + @property + def uses_instance_overflow(self): + """Gets the uses_instance_overflow of this CalendarEvent. # noqa: E501 + + + :return: The uses_instance_overflow of this CalendarEvent. # noqa: E501 + :rtype: bool + """ + return self._uses_instance_overflow + + @uses_instance_overflow.setter + def uses_instance_overflow(self, uses_instance_overflow): + """Sets the uses_instance_overflow of this CalendarEvent. + + + :param uses_instance_overflow: The uses_instance_overflow of this CalendarEvent. # noqa: E501 + :type uses_instance_overflow: bool + """ + + self._uses_instance_overflow = uses_instance_overflow + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/calendar_event_access.py b/vrchatapi/models/calendar_event_access.py new file mode 100644 index 00000000..0dde37d7 --- /dev/null +++ b/vrchatapi/models/calendar_event_access.py @@ -0,0 +1,111 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class CalendarEventAccess(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + GROUP = "group" + PUBLIC = "public" + + allowable_values = [GROUP, PUBLIC] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """CalendarEventAccess - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CalendarEventAccess): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, CalendarEventAccess): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/calendar_event_category.py b/vrchatapi/models/calendar_event_category.py new file mode 100644 index 00000000..cbb6a5f0 --- /dev/null +++ b/vrchatapi/models/calendar_event_category.py @@ -0,0 +1,122 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class CalendarEventCategory(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + ARTS = "arts" + AVATARS = "avatars" + DANCE = "dance" + EDUCATION = "education" + EXPLORATION = "exploration" + FILM_MEDIA = "film_media" + GAMING = "gaming" + HANGOUT = "hangout" + MUSIC = "music" + OTHER = "other" + PERFORMANCE = "performance" + ROLEPLAYING = "roleplaying" + WELLNESS = "wellness" + + allowable_values = [ARTS, AVATARS, DANCE, EDUCATION, EXPLORATION, FILM_MEDIA, GAMING, HANGOUT, MUSIC, OTHER, PERFORMANCE, ROLEPLAYING, WELLNESS] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """CalendarEventCategory - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CalendarEventCategory): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, CalendarEventCategory): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/calendar_event_discovery.py b/vrchatapi/models/calendar_event_discovery.py new file mode 100644 index 00000000..ef06f1da --- /dev/null +++ b/vrchatapi/models/calendar_event_discovery.py @@ -0,0 +1,161 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class CalendarEventDiscovery(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'next_cursor': 'str', + 'results': 'list[CalendarEvent]' + } + + attribute_map = { + 'next_cursor': 'nextCursor', + 'results': 'results' + } + + def __init__(self, next_cursor=None, results=None, local_vars_configuration=None): # noqa: E501 + """CalendarEventDiscovery - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._next_cursor = None + self._results = None + self.discriminator = None + + self.next_cursor = next_cursor + self.results = results + + @property + def next_cursor(self): + """Gets the next_cursor of this CalendarEventDiscovery. # noqa: E501 + + Base64-encoded JSON: type: object properties: dataSource: type: string enum: - featured - personalized dataIndex: type: integer format: int32 phase: type: string enum: - all - live - upcoming description: see CalendarEventDiscoveryScope asOf: type: integer format: int64 description: milliseconds since Unix epoch paramHash: type: string format: string description: Base64-encoded 256-bit hash of the original query parameters # noqa: E501 + + :return: The next_cursor of this CalendarEventDiscovery. # noqa: E501 + :rtype: str + """ + return self._next_cursor + + @next_cursor.setter + def next_cursor(self, next_cursor): + """Sets the next_cursor of this CalendarEventDiscovery. + + Base64-encoded JSON: type: object properties: dataSource: type: string enum: - featured - personalized dataIndex: type: integer format: int32 phase: type: string enum: - all - live - upcoming description: see CalendarEventDiscoveryScope asOf: type: integer format: int64 description: milliseconds since Unix epoch paramHash: type: string format: string description: Base64-encoded 256-bit hash of the original query parameters # noqa: E501 + + :param next_cursor: The next_cursor of this CalendarEventDiscovery. # noqa: E501 + :type next_cursor: str + """ + if self.local_vars_configuration.client_side_validation and next_cursor is None: # noqa: E501 + raise ValueError("Invalid value for `next_cursor`, must not be `None`") # noqa: E501 + + self._next_cursor = next_cursor + + @property + def results(self): + """Gets the results of this CalendarEventDiscovery. # noqa: E501 + + + :return: The results of this CalendarEventDiscovery. # noqa: E501 + :rtype: list[CalendarEvent] + """ + return self._results + + @results.setter + def results(self, results): + """Sets the results of this CalendarEventDiscovery. + + + :param results: The results of this CalendarEventDiscovery. # noqa: E501 + :type results: list[CalendarEvent] + """ + if self.local_vars_configuration.client_side_validation and results is None: # noqa: E501 + raise ValueError("Invalid value for `results`, must not be `None`") # noqa: E501 + + self._results = results + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CalendarEventDiscovery): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, CalendarEventDiscovery): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/calendar_event_discovery_inclusion.py b/vrchatapi/models/calendar_event_discovery_inclusion.py new file mode 100644 index 00000000..7031f0b7 --- /dev/null +++ b/vrchatapi/models/calendar_event_discovery_inclusion.py @@ -0,0 +1,112 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class CalendarEventDiscoveryInclusion(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + EXCLUDE = "exclude" + INCLUDE = "include" + SKIP = "skip" + + allowable_values = [EXCLUDE, INCLUDE, SKIP] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """CalendarEventDiscoveryInclusion - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CalendarEventDiscoveryInclusion): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, CalendarEventDiscoveryInclusion): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/calendar_event_discovery_scope.py b/vrchatapi/models/calendar_event_discovery_scope.py new file mode 100644 index 00000000..91ed8443 --- /dev/null +++ b/vrchatapi/models/calendar_event_discovery_scope.py @@ -0,0 +1,112 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class CalendarEventDiscoveryScope(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + ALL = "all" + LIVE = "live" + UPCOMING = "upcoming" + + allowable_values = [ALL, LIVE, UPCOMING] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """CalendarEventDiscoveryScope - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CalendarEventDiscoveryScope): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, CalendarEventDiscoveryScope): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/calendar_event_platform.py b/vrchatapi/models/calendar_event_platform.py new file mode 100644 index 00000000..83143005 --- /dev/null +++ b/vrchatapi/models/calendar_event_platform.py @@ -0,0 +1,112 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class CalendarEventPlatform(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + ANDROID = "android" + IOS = "ios" + STANDALONEWINDOWS = "standalonewindows" + + allowable_values = [ANDROID, IOS, STANDALONEWINDOWS] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """CalendarEventPlatform - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CalendarEventPlatform): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, CalendarEventPlatform): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/calendar_event_user_interest.py b/vrchatapi/models/calendar_event_user_interest.py index c94ef197..08dae349 100644 --- a/vrchatapi/models/calendar_event_user_interest.py +++ b/vrchatapi/models/calendar_event_user_interest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/change_user_tags_request.py b/vrchatapi/models/change_user_tags_request.py index 5f50836b..e4ddbb17 100644 --- a/vrchatapi/models/change_user_tags_request.py +++ b/vrchatapi/models/change_user_tags_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/content_filter.py b/vrchatapi/models/content_filter.py new file mode 100644 index 00000000..71e6635f --- /dev/null +++ b/vrchatapi/models/content_filter.py @@ -0,0 +1,114 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class ContentFilter(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + ADULT = "content_adult" + GORE = "content_gore" + HORROR = "content_horror" + SEX = "content_sex" + VIOLENCE = "content_violence" + + allowable_values = [ADULT, GORE, HORROR, SEX, VIOLENCE] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """ContentFilter - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ContentFilter): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ContentFilter): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/create_avatar_moderation_request.py b/vrchatapi/models/create_avatar_moderation_request.py new file mode 100644 index 00000000..05382598 --- /dev/null +++ b/vrchatapi/models/create_avatar_moderation_request.py @@ -0,0 +1,159 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class CreateAvatarModerationRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'avatar_moderation_type': 'AvatarModerationType', + 'target_avatar_id': 'str' + } + + attribute_map = { + 'avatar_moderation_type': 'avatarModerationType', + 'target_avatar_id': 'targetAvatarId' + } + + def __init__(self, avatar_moderation_type=None, target_avatar_id=None, local_vars_configuration=None): # noqa: E501 + """CreateAvatarModerationRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._avatar_moderation_type = None + self._target_avatar_id = None + self.discriminator = None + + self.avatar_moderation_type = avatar_moderation_type + self.target_avatar_id = target_avatar_id + + @property + def avatar_moderation_type(self): + """Gets the avatar_moderation_type of this CreateAvatarModerationRequest. # noqa: E501 + + + :return: The avatar_moderation_type of this CreateAvatarModerationRequest. # noqa: E501 + :rtype: AvatarModerationType + """ + return self._avatar_moderation_type + + @avatar_moderation_type.setter + def avatar_moderation_type(self, avatar_moderation_type): + """Sets the avatar_moderation_type of this CreateAvatarModerationRequest. + + + :param avatar_moderation_type: The avatar_moderation_type of this CreateAvatarModerationRequest. # noqa: E501 + :type avatar_moderation_type: AvatarModerationType + """ + if self.local_vars_configuration.client_side_validation and avatar_moderation_type is None: # noqa: E501 + raise ValueError("Invalid value for `avatar_moderation_type`, must not be `None`") # noqa: E501 + + self._avatar_moderation_type = avatar_moderation_type + + @property + def target_avatar_id(self): + """Gets the target_avatar_id of this CreateAvatarModerationRequest. # noqa: E501 + + + :return: The target_avatar_id of this CreateAvatarModerationRequest. # noqa: E501 + :rtype: str + """ + return self._target_avatar_id + + @target_avatar_id.setter + def target_avatar_id(self, target_avatar_id): + """Sets the target_avatar_id of this CreateAvatarModerationRequest. + + + :param target_avatar_id: The target_avatar_id of this CreateAvatarModerationRequest. # noqa: E501 + :type target_avatar_id: str + """ + if self.local_vars_configuration.client_side_validation and target_avatar_id is None: # noqa: E501 + raise ValueError("Invalid value for `target_avatar_id`, must not be `None`") # noqa: E501 + + self._target_avatar_id = target_avatar_id + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CreateAvatarModerationRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, CreateAvatarModerationRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index b492b9bc..dd61cbb1 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -38,42 +38,40 @@ class CreateAvatarRequest(object): openapi_types = { 'asset_url': 'str', 'asset_version': 'str', - 'platform': 'str', 'created_at': 'str', - 'updated_at': 'str', + 'description': 'str', 'id': 'str', + 'image_url': 'str', 'name': 'str', - 'description': 'str', + 'platform': 'str', + 'release_status': 'ReleaseStatus', 'tags': 'list[str]', - 'image_url': 'str', 'thumbnail_image_url': 'str', - 'release_status': 'ReleaseStatus', - 'version': 'int', - 'featured': 'bool', 'unity_package_url': 'str', - 'unity_version': 'str' + 'unity_version': 'str', + 'updated_at': 'str', + 'version': 'int' } attribute_map = { 'asset_url': 'assetUrl', 'asset_version': 'assetVersion', - 'platform': 'platform', 'created_at': 'created_at', - 'updated_at': 'updated_at', + 'description': 'description', 'id': 'id', + 'image_url': 'imageUrl', 'name': 'name', - 'description': 'description', + 'platform': 'platform', + 'release_status': 'releaseStatus', 'tags': 'tags', - 'image_url': 'imageUrl', 'thumbnail_image_url': 'thumbnailImageUrl', - 'release_status': 'releaseStatus', - 'version': 'version', - 'featured': 'featured', 'unity_package_url': 'unityPackageUrl', - 'unity_version': 'unityVersion' + 'unity_version': 'unityVersion', + 'updated_at': 'updated_at', + 'version': 'version' } - def __init__(self, asset_url=None, asset_version=None, platform=None, created_at=None, updated_at=None, id=None, name=None, description=None, tags=None, image_url=None, thumbnail_image_url=None, release_status=None, version=1, featured=None, unity_package_url=None, unity_version='5.3.4p1', local_vars_configuration=None): # noqa: E501 + def __init__(self, asset_url=None, asset_version=None, created_at=None, description=None, id=None, image_url=None, name=None, platform=None, release_status=None, tags=None, thumbnail_image_url=None, unity_package_url=None, unity_version='5.3.4p1', updated_at=None, version=1, local_vars_configuration=None): # noqa: E501 """CreateAvatarRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -81,52 +79,49 @@ def __init__(self, asset_url=None, asset_version=None, platform=None, created_at self._asset_url = None self._asset_version = None - self._platform = None self._created_at = None - self._updated_at = None + self._description = None self._id = None + self._image_url = None self._name = None - self._description = None + self._platform = None + self._release_status = None self._tags = None - self._image_url = None self._thumbnail_image_url = None - self._release_status = None - self._version = None - self._featured = None self._unity_package_url = None self._unity_version = None + self._updated_at = None + self._version = None self.discriminator = None if asset_url is not None: self.asset_url = asset_url if asset_version is not None: self.asset_version = asset_version - if platform is not None: - self.platform = platform if created_at is not None: self.created_at = created_at - if updated_at is not None: - self.updated_at = updated_at + if description is not None: + self.description = description if id is not None: self.id = id + self.image_url = image_url self.name = name - if description is not None: - self.description = description + if platform is not None: + self.platform = platform + if release_status is not None: + self.release_status = release_status if tags is not None: self.tags = tags - self.image_url = image_url if thumbnail_image_url is not None: self.thumbnail_image_url = thumbnail_image_url - if release_status is not None: - self.release_status = release_status - if version is not None: - self.version = version - if featured is not None: - self.featured = featured if unity_package_url is not None: self.unity_package_url = unity_package_url if unity_version is not None: self.unity_version = unity_version + if updated_at is not None: + self.updated_at = updated_at + if version is not None: + self.version = version @property def asset_url(self): @@ -170,29 +165,6 @@ def asset_version(self, asset_version): self._asset_version = asset_version - @property - def platform(self): - """Gets the platform of this CreateAvatarRequest. # noqa: E501 - - This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 - - :return: The platform of this CreateAvatarRequest. # noqa: E501 - :rtype: str - """ - return self._platform - - @platform.setter - def platform(self, platform): - """Sets the platform of this CreateAvatarRequest. - - This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 - - :param platform: The platform of this CreateAvatarRequest. # noqa: E501 - :type platform: str - """ - - self._platform = platform - @property def created_at(self): """Gets the created_at of this CreateAvatarRequest. # noqa: E501 @@ -217,27 +189,28 @@ def created_at(self, created_at): self._created_at = created_at @property - def updated_at(self): - """Gets the updated_at of this CreateAvatarRequest. # noqa: E501 + def description(self): + """Gets the description of this CreateAvatarRequest. # noqa: E501 - A date and time of the pattern `M/d/yyyy h:mm:ss tt` (see C Sharp `System.DateTime`) # noqa: E501 - :return: The updated_at of this CreateAvatarRequest. # noqa: E501 + :return: The description of this CreateAvatarRequest. # noqa: E501 :rtype: str """ - return self._updated_at + return self._description - @updated_at.setter - def updated_at(self, updated_at): - """Sets the updated_at of this CreateAvatarRequest. + @description.setter + def description(self, description): + """Sets the description of this CreateAvatarRequest. - A date and time of the pattern `M/d/yyyy h:mm:ss tt` (see C Sharp `System.DateTime`) # noqa: E501 - :param updated_at: The updated_at of this CreateAvatarRequest. # noqa: E501 - :type updated_at: str + :param description: The description of this CreateAvatarRequest. # noqa: E501 + :type description: str """ + if (self.local_vars_configuration.client_side_validation and + description is not None and len(description) < 1): + raise ValueError("Invalid value for `description`, length must be greater than or equal to `1`") # noqa: E501 - self._updated_at = updated_at + self._description = description @property def id(self): @@ -260,6 +233,32 @@ def id(self, id): self._id = id + @property + def image_url(self): + """Gets the image_url of this CreateAvatarRequest. # noqa: E501 + + + :return: The image_url of this CreateAvatarRequest. # noqa: E501 + :rtype: str + """ + return self._image_url + + @image_url.setter + def image_url(self, image_url): + """Sets the image_url of this CreateAvatarRequest. + + + :param image_url: The image_url of this CreateAvatarRequest. # noqa: E501 + :type image_url: str + """ + if self.local_vars_configuration.client_side_validation and image_url is None: # noqa: E501 + raise ValueError("Invalid value for `image_url`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + image_url is not None and len(image_url) < 1): + raise ValueError("Invalid value for `image_url`, length must be greater than or equal to `1`") # noqa: E501 + + self._image_url = image_url + @property def name(self): """Gets the name of this CreateAvatarRequest. # noqa: E501 @@ -287,28 +286,48 @@ def name(self, name): self._name = name @property - def description(self): - """Gets the description of this CreateAvatarRequest. # noqa: E501 + def platform(self): + """Gets the platform of this CreateAvatarRequest. # noqa: E501 + This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 - :return: The description of this CreateAvatarRequest. # noqa: E501 + :return: The platform of this CreateAvatarRequest. # noqa: E501 :rtype: str """ - return self._description + return self._platform - @description.setter - def description(self, description): - """Sets the description of this CreateAvatarRequest. + @platform.setter + def platform(self, platform): + """Sets the platform of this CreateAvatarRequest. + This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 - :param description: The description of this CreateAvatarRequest. # noqa: E501 - :type description: str + :param platform: The platform of this CreateAvatarRequest. # noqa: E501 + :type platform: str """ - if (self.local_vars_configuration.client_side_validation and - description is not None and len(description) < 1): - raise ValueError("Invalid value for `description`, length must be greater than or equal to `1`") # noqa: E501 - self._description = description + self._platform = platform + + @property + def release_status(self): + """Gets the release_status of this CreateAvatarRequest. # noqa: E501 + + + :return: The release_status of this CreateAvatarRequest. # noqa: E501 + :rtype: ReleaseStatus + """ + return self._release_status + + @release_status.setter + def release_status(self, release_status): + """Sets the release_status of this CreateAvatarRequest. + + + :param release_status: The release_status of this CreateAvatarRequest. # noqa: E501 + :type release_status: ReleaseStatus + """ + + self._release_status = release_status @property def tags(self): @@ -333,32 +352,6 @@ def tags(self, tags): self._tags = tags - @property - def image_url(self): - """Gets the image_url of this CreateAvatarRequest. # noqa: E501 - - - :return: The image_url of this CreateAvatarRequest. # noqa: E501 - :rtype: str - """ - return self._image_url - - @image_url.setter - def image_url(self, image_url): - """Sets the image_url of this CreateAvatarRequest. - - - :param image_url: The image_url of this CreateAvatarRequest. # noqa: E501 - :type image_url: str - """ - if self.local_vars_configuration.client_side_validation and image_url is None: # noqa: E501 - raise ValueError("Invalid value for `image_url`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - image_url is not None and len(image_url) < 1): - raise ValueError("Invalid value for `image_url`, length must be greater than or equal to `1`") # noqa: E501 - - self._image_url = image_url - @property def thumbnail_image_url(self): """Gets the thumbnail_image_url of this CreateAvatarRequest. # noqa: E501 @@ -383,74 +376,6 @@ def thumbnail_image_url(self, thumbnail_image_url): self._thumbnail_image_url = thumbnail_image_url - @property - def release_status(self): - """Gets the release_status of this CreateAvatarRequest. # noqa: E501 - - - :return: The release_status of this CreateAvatarRequest. # noqa: E501 - :rtype: ReleaseStatus - """ - return self._release_status - - @release_status.setter - def release_status(self, release_status): - """Sets the release_status of this CreateAvatarRequest. - - - :param release_status: The release_status of this CreateAvatarRequest. # noqa: E501 - :type release_status: ReleaseStatus - """ - - self._release_status = release_status - - @property - def version(self): - """Gets the version of this CreateAvatarRequest. # noqa: E501 - - - :return: The version of this CreateAvatarRequest. # noqa: E501 - :rtype: int - """ - return self._version - - @version.setter - def version(self, version): - """Sets the version of this CreateAvatarRequest. - - - :param version: The version of this CreateAvatarRequest. # noqa: E501 - :type version: int - """ - if (self.local_vars_configuration.client_side_validation and - version is not None and version < 0): # noqa: E501 - raise ValueError("Invalid value for `version`, must be a value greater than or equal to `0`") # noqa: E501 - - self._version = version - - @property - def featured(self): - """Gets the featured of this CreateAvatarRequest. # noqa: E501 - - Enabling featured tag requires Admin Credentials. # noqa: E501 - - :return: The featured of this CreateAvatarRequest. # noqa: E501 - :rtype: bool - """ - return self._featured - - @featured.setter - def featured(self, featured): - """Sets the featured of this CreateAvatarRequest. - - Enabling featured tag requires Admin Credentials. # noqa: E501 - - :param featured: The featured of this CreateAvatarRequest. # noqa: E501 - :type featured: bool - """ - - self._featured = featured - @property def unity_package_url(self): """Gets the unity_package_url of this CreateAvatarRequest. # noqa: E501 @@ -496,6 +421,53 @@ def unity_version(self, unity_version): self._unity_version = unity_version + @property + def updated_at(self): + """Gets the updated_at of this CreateAvatarRequest. # noqa: E501 + + A date and time of the pattern `M/d/yyyy h:mm:ss tt` (see C Sharp `System.DateTime`) # noqa: E501 + + :return: The updated_at of this CreateAvatarRequest. # noqa: E501 + :rtype: str + """ + return self._updated_at + + @updated_at.setter + def updated_at(self, updated_at): + """Sets the updated_at of this CreateAvatarRequest. + + A date and time of the pattern `M/d/yyyy h:mm:ss tt` (see C Sharp `System.DateTime`) # noqa: E501 + + :param updated_at: The updated_at of this CreateAvatarRequest. # noqa: E501 + :type updated_at: str + """ + + self._updated_at = updated_at + + @property + def version(self): + """Gets the version of this CreateAvatarRequest. # noqa: E501 + + + :return: The version of this CreateAvatarRequest. # noqa: E501 + :rtype: int + """ + return self._version + + @version.setter + def version(self, version): + """Sets the version of this CreateAvatarRequest. + + + :param version: The version of this CreateAvatarRequest. # noqa: E501 + :type version: int + """ + if (self.local_vars_configuration.client_side_validation and + version is not None and version < 0): # noqa: E501 + raise ValueError("Invalid value for `version`, must be a value greater than or equal to `0`") # noqa: E501 + + self._version = version + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/create_calendar_event_request.py b/vrchatapi/models/create_calendar_event_request.py index a21efe4e..2ecfa078 100644 --- a/vrchatapi/models/create_calendar_event_request.py +++ b/vrchatapi/models/create_calendar_event_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,160 +36,174 @@ class CreateCalendarEventRequest(object): and the value is json key in definition. """ openapi_types = { - 'title': 'str', - 'starts_at': 'datetime', + 'access_type': 'CalendarEventAccess', + 'category': 'CalendarEventCategory', + 'close_instance_after_end_minutes': 'int', 'description': 'str', 'ends_at': 'datetime', - 'category': 'str', - 'tags': 'list[str]', - 'is_draft': 'bool', + 'featured': 'bool', + 'guest_early_join_minutes': 'int', + 'host_early_join_minutes': 'int', 'image_id': 'str', - 'role_ids': 'list[str]', - 'parent_id': 'str', - 'platforms': 'list[str]', + 'is_draft': 'bool', 'languages': 'list[str]', + 'parent_id': 'str', + 'platforms': 'list[CalendarEventPlatform]', + 'role_ids': 'list[str]', 'send_creation_notification': 'bool', - 'featured': 'bool', - 'host_early_join_minutes': 'int', - 'guest_early_join_minutes': 'int', - 'close_instance_after_end_minutes': 'int', - 'uses_instance_overflow': 'bool', - 'access_type': 'str' + 'starts_at': 'datetime', + 'tags': 'list[str]', + 'title': 'str', + 'uses_instance_overflow': 'bool' } attribute_map = { - 'title': 'title', - 'starts_at': 'startsAt', + 'access_type': 'accessType', + 'category': 'category', + 'close_instance_after_end_minutes': 'closeInstanceAfterEndMinutes', 'description': 'description', 'ends_at': 'endsAt', - 'category': 'category', - 'tags': 'tags', - 'is_draft': 'isDraft', + 'featured': 'featured', + 'guest_early_join_minutes': 'guestEarlyJoinMinutes', + 'host_early_join_minutes': 'hostEarlyJoinMinutes', 'image_id': 'imageId', - 'role_ids': 'roleIds', + 'is_draft': 'isDraft', + 'languages': 'languages', 'parent_id': 'parentId', 'platforms': 'platforms', - 'languages': 'languages', + 'role_ids': 'roleIds', 'send_creation_notification': 'sendCreationNotification', - 'featured': 'featured', - 'host_early_join_minutes': 'hostEarlyJoinMinutes', - 'guest_early_join_minutes': 'guestEarlyJoinMinutes', - 'close_instance_after_end_minutes': 'closeInstanceAfterEndMinutes', - 'uses_instance_overflow': 'usesInstanceOverflow', - 'access_type': 'accessType' + 'starts_at': 'startsAt', + 'tags': 'tags', + 'title': 'title', + 'uses_instance_overflow': 'usesInstanceOverflow' } - def __init__(self, title=None, starts_at=None, description=None, ends_at=None, category=None, tags=None, is_draft=None, image_id=None, role_ids=None, parent_id=None, platforms=None, languages=None, send_creation_notification=None, featured=None, host_early_join_minutes=None, guest_early_join_minutes=None, close_instance_after_end_minutes=None, uses_instance_overflow=None, access_type=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, access_type=None, category=None, close_instance_after_end_minutes=None, description=None, ends_at=None, featured=None, guest_early_join_minutes=None, host_early_join_minutes=None, image_id=None, is_draft=None, languages=None, parent_id=None, platforms=None, role_ids=None, send_creation_notification=None, starts_at=None, tags=None, title=None, uses_instance_overflow=None, local_vars_configuration=None): # noqa: E501 """CreateCalendarEventRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._title = None - self._starts_at = None + self._access_type = None + self._category = None + self._close_instance_after_end_minutes = None self._description = None self._ends_at = None - self._category = None - self._tags = None - self._is_draft = None + self._featured = None + self._guest_early_join_minutes = None + self._host_early_join_minutes = None self._image_id = None - self._role_ids = None + self._is_draft = None + self._languages = None self._parent_id = None self._platforms = None - self._languages = None + self._role_ids = None self._send_creation_notification = None - self._featured = None - self._host_early_join_minutes = None - self._guest_early_join_minutes = None - self._close_instance_after_end_minutes = None + self._starts_at = None + self._tags = None + self._title = None self._uses_instance_overflow = None - self._access_type = None self.discriminator = None - self.title = title - self.starts_at = starts_at + self.access_type = access_type + self.category = category + if close_instance_after_end_minutes is not None: + self.close_instance_after_end_minutes = close_instance_after_end_minutes self.description = description self.ends_at = ends_at - self.category = category - if tags is not None: - self.tags = tags - if is_draft is not None: - self.is_draft = is_draft + if featured is not None: + self.featured = featured + if guest_early_join_minutes is not None: + self.guest_early_join_minutes = guest_early_join_minutes + if host_early_join_minutes is not None: + self.host_early_join_minutes = host_early_join_minutes if image_id is not None: self.image_id = image_id - if role_ids is not None: - self.role_ids = role_ids + if is_draft is not None: + self.is_draft = is_draft + if languages is not None: + self.languages = languages if parent_id is not None: self.parent_id = parent_id if platforms is not None: self.platforms = platforms - if languages is not None: - self.languages = languages + if role_ids is not None: + self.role_ids = role_ids self.send_creation_notification = send_creation_notification - if featured is not None: - self.featured = featured - if host_early_join_minutes is not None: - self.host_early_join_minutes = host_early_join_minutes - if guest_early_join_minutes is not None: - self.guest_early_join_minutes = guest_early_join_minutes - if close_instance_after_end_minutes is not None: - self.close_instance_after_end_minutes = close_instance_after_end_minutes + self.starts_at = starts_at + if tags is not None: + self.tags = tags + self.title = title if uses_instance_overflow is not None: self.uses_instance_overflow = uses_instance_overflow - self.access_type = access_type @property - def title(self): - """Gets the title of this CreateCalendarEventRequest. # noqa: E501 + def access_type(self): + """Gets the access_type of this CreateCalendarEventRequest. # noqa: E501 - Event title # noqa: E501 - :return: The title of this CreateCalendarEventRequest. # noqa: E501 - :rtype: str + :return: The access_type of this CreateCalendarEventRequest. # noqa: E501 + :rtype: CalendarEventAccess """ - return self._title + return self._access_type - @title.setter - def title(self, title): - """Sets the title of this CreateCalendarEventRequest. + @access_type.setter + def access_type(self, access_type): + """Sets the access_type of this CreateCalendarEventRequest. - Event title # noqa: E501 - :param title: The title of this CreateCalendarEventRequest. # noqa: E501 - :type title: str + :param access_type: The access_type of this CreateCalendarEventRequest. # noqa: E501 + :type access_type: CalendarEventAccess """ - if self.local_vars_configuration.client_side_validation and title is None: # noqa: E501 - raise ValueError("Invalid value for `title`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - title is not None and len(title) < 1): - raise ValueError("Invalid value for `title`, length must be greater than or equal to `1`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and access_type is None: # noqa: E501 + raise ValueError("Invalid value for `access_type`, must not be `None`") # noqa: E501 - self._title = title + self._access_type = access_type @property - def starts_at(self): - """Gets the starts_at of this CreateCalendarEventRequest. # noqa: E501 + def category(self): + """Gets the category of this CreateCalendarEventRequest. # noqa: E501 - Time the event starts at # noqa: E501 - :return: The starts_at of this CreateCalendarEventRequest. # noqa: E501 - :rtype: datetime + :return: The category of this CreateCalendarEventRequest. # noqa: E501 + :rtype: CalendarEventCategory """ - return self._starts_at + return self._category - @starts_at.setter - def starts_at(self, starts_at): - """Sets the starts_at of this CreateCalendarEventRequest. + @category.setter + def category(self, category): + """Sets the category of this CreateCalendarEventRequest. - Time the event starts at # noqa: E501 - :param starts_at: The starts_at of this CreateCalendarEventRequest. # noqa: E501 - :type starts_at: datetime + :param category: The category of this CreateCalendarEventRequest. # noqa: E501 + :type category: CalendarEventCategory """ - if self.local_vars_configuration.client_side_validation and starts_at is None: # noqa: E501 - raise ValueError("Invalid value for `starts_at`, must not be `None`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and category is None: # noqa: E501 + raise ValueError("Invalid value for `category`, must not be `None`") # noqa: E501 - self._starts_at = starts_at + self._category = category + + @property + def close_instance_after_end_minutes(self): + """Gets the close_instance_after_end_minutes of this CreateCalendarEventRequest. # noqa: E501 + + + :return: The close_instance_after_end_minutes of this CreateCalendarEventRequest. # noqa: E501 + :rtype: int + """ + return self._close_instance_after_end_minutes + + @close_instance_after_end_minutes.setter + def close_instance_after_end_minutes(self, close_instance_after_end_minutes): + """Sets the close_instance_after_end_minutes of this CreateCalendarEventRequest. + + + :param close_instance_after_end_minutes: The close_instance_after_end_minutes of this CreateCalendarEventRequest. # noqa: E501 + :type close_instance_after_end_minutes: int + """ + + self._close_instance_after_end_minutes = close_instance_after_end_minutes @property def description(self): @@ -243,69 +257,67 @@ def ends_at(self, ends_at): self._ends_at = ends_at @property - def category(self): - """Gets the category of this CreateCalendarEventRequest. # noqa: E501 + def featured(self): + """Gets the featured of this CreateCalendarEventRequest. # noqa: E501 - :return: The category of this CreateCalendarEventRequest. # noqa: E501 - :rtype: str + :return: The featured of this CreateCalendarEventRequest. # noqa: E501 + :rtype: bool """ - return self._category + return self._featured - @category.setter - def category(self, category): - """Sets the category of this CreateCalendarEventRequest. + @featured.setter + def featured(self, featured): + """Sets the featured of this CreateCalendarEventRequest. - :param category: The category of this CreateCalendarEventRequest. # noqa: E501 - :type category: str + :param featured: The featured of this CreateCalendarEventRequest. # noqa: E501 + :type featured: bool """ - if self.local_vars_configuration.client_side_validation and category is None: # noqa: E501 - raise ValueError("Invalid value for `category`, must not be `None`") # noqa: E501 - self._category = category + self._featured = featured @property - def tags(self): - """Gets the tags of this CreateCalendarEventRequest. # noqa: E501 + def guest_early_join_minutes(self): + """Gets the guest_early_join_minutes of this CreateCalendarEventRequest. # noqa: E501 - :return: The tags of this CreateCalendarEventRequest. # noqa: E501 - :rtype: list[str] + :return: The guest_early_join_minutes of this CreateCalendarEventRequest. # noqa: E501 + :rtype: int """ - return self._tags + return self._guest_early_join_minutes - @tags.setter - def tags(self, tags): - """Sets the tags of this CreateCalendarEventRequest. + @guest_early_join_minutes.setter + def guest_early_join_minutes(self, guest_early_join_minutes): + """Sets the guest_early_join_minutes of this CreateCalendarEventRequest. - :param tags: The tags of this CreateCalendarEventRequest. # noqa: E501 - :type tags: list[str] + :param guest_early_join_minutes: The guest_early_join_minutes of this CreateCalendarEventRequest. # noqa: E501 + :type guest_early_join_minutes: int """ - self._tags = tags + self._guest_early_join_minutes = guest_early_join_minutes @property - def is_draft(self): - """Gets the is_draft of this CreateCalendarEventRequest. # noqa: E501 + def host_early_join_minutes(self): + """Gets the host_early_join_minutes of this CreateCalendarEventRequest. # noqa: E501 - :return: The is_draft of this CreateCalendarEventRequest. # noqa: E501 - :rtype: bool + :return: The host_early_join_minutes of this CreateCalendarEventRequest. # noqa: E501 + :rtype: int """ - return self._is_draft + return self._host_early_join_minutes - @is_draft.setter - def is_draft(self, is_draft): - """Sets the is_draft of this CreateCalendarEventRequest. + @host_early_join_minutes.setter + def host_early_join_minutes(self, host_early_join_minutes): + """Sets the host_early_join_minutes of this CreateCalendarEventRequest. - :param is_draft: The is_draft of this CreateCalendarEventRequest. # noqa: E501 - :type is_draft: bool + :param host_early_join_minutes: The host_early_join_minutes of this CreateCalendarEventRequest. # noqa: E501 + :type host_early_join_minutes: int """ - self._is_draft = is_draft + self._host_early_join_minutes = host_early_join_minutes @property def image_id(self): @@ -329,25 +341,52 @@ def image_id(self, image_id): self._image_id = image_id @property - def role_ids(self): - """Gets the role_ids of this CreateCalendarEventRequest. # noqa: E501 + def is_draft(self): + """Gets the is_draft of this CreateCalendarEventRequest. # noqa: E501 - :return: The role_ids of this CreateCalendarEventRequest. # noqa: E501 + :return: The is_draft of this CreateCalendarEventRequest. # noqa: E501 + :rtype: bool + """ + return self._is_draft + + @is_draft.setter + def is_draft(self, is_draft): + """Sets the is_draft of this CreateCalendarEventRequest. + + + :param is_draft: The is_draft of this CreateCalendarEventRequest. # noqa: E501 + :type is_draft: bool + """ + + self._is_draft = is_draft + + @property + def languages(self): + """Gets the languages of this CreateCalendarEventRequest. # noqa: E501 + + + :return: The languages of this CreateCalendarEventRequest. # noqa: E501 :rtype: list[str] """ - return self._role_ids + return self._languages - @role_ids.setter - def role_ids(self, role_ids): - """Sets the role_ids of this CreateCalendarEventRequest. + @languages.setter + def languages(self, languages): + """Sets the languages of this CreateCalendarEventRequest. - :param role_ids: The role_ids of this CreateCalendarEventRequest. # noqa: E501 - :type role_ids: list[str] + :param languages: The languages of this CreateCalendarEventRequest. # noqa: E501 + :type languages: list[str] """ + if (self.local_vars_configuration.client_side_validation and + languages is not None and len(languages) > 3): + raise ValueError("Invalid value for `languages`, number of items must be less than or equal to `3`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + languages is not None and len(languages) < 0): + raise ValueError("Invalid value for `languages`, number of items must be greater than or equal to `0`") # noqa: E501 - self._role_ids = role_ids + self._languages = languages @property def parent_id(self): @@ -376,7 +415,7 @@ def platforms(self): :return: The platforms of this CreateCalendarEventRequest. # noqa: E501 - :rtype: list[str] + :rtype: list[CalendarEventPlatform] """ return self._platforms @@ -386,31 +425,31 @@ def platforms(self, platforms): :param platforms: The platforms of this CreateCalendarEventRequest. # noqa: E501 - :type platforms: list[str] + :type platforms: list[CalendarEventPlatform] """ self._platforms = platforms @property - def languages(self): - """Gets the languages of this CreateCalendarEventRequest. # noqa: E501 + def role_ids(self): + """Gets the role_ids of this CreateCalendarEventRequest. # noqa: E501 - :return: The languages of this CreateCalendarEventRequest. # noqa: E501 + :return: The role_ids of this CreateCalendarEventRequest. # noqa: E501 :rtype: list[str] """ - return self._languages + return self._role_ids - @languages.setter - def languages(self, languages): - """Sets the languages of this CreateCalendarEventRequest. + @role_ids.setter + def role_ids(self, role_ids): + """Sets the role_ids of this CreateCalendarEventRequest. - :param languages: The languages of this CreateCalendarEventRequest. # noqa: E501 - :type languages: list[str] + :param role_ids: The role_ids of this CreateCalendarEventRequest. # noqa: E501 + :type role_ids: list[str] """ - self._languages = languages + self._role_ids = role_ids @property def send_creation_notification(self): @@ -438,88 +477,87 @@ def send_creation_notification(self, send_creation_notification): self._send_creation_notification = send_creation_notification @property - def featured(self): - """Gets the featured of this CreateCalendarEventRequest. # noqa: E501 - - - :return: The featured of this CreateCalendarEventRequest. # noqa: E501 - :rtype: bool - """ - return self._featured - - @featured.setter - def featured(self, featured): - """Sets the featured of this CreateCalendarEventRequest. - - - :param featured: The featured of this CreateCalendarEventRequest. # noqa: E501 - :type featured: bool - """ - - self._featured = featured - - @property - def host_early_join_minutes(self): - """Gets the host_early_join_minutes of this CreateCalendarEventRequest. # noqa: E501 + def starts_at(self): + """Gets the starts_at of this CreateCalendarEventRequest. # noqa: E501 + Time the event starts at # noqa: E501 - :return: The host_early_join_minutes of this CreateCalendarEventRequest. # noqa: E501 - :rtype: int + :return: The starts_at of this CreateCalendarEventRequest. # noqa: E501 + :rtype: datetime """ - return self._host_early_join_minutes + return self._starts_at - @host_early_join_minutes.setter - def host_early_join_minutes(self, host_early_join_minutes): - """Sets the host_early_join_minutes of this CreateCalendarEventRequest. + @starts_at.setter + def starts_at(self, starts_at): + """Sets the starts_at of this CreateCalendarEventRequest. + Time the event starts at # noqa: E501 - :param host_early_join_minutes: The host_early_join_minutes of this CreateCalendarEventRequest. # noqa: E501 - :type host_early_join_minutes: int + :param starts_at: The starts_at of this CreateCalendarEventRequest. # noqa: E501 + :type starts_at: datetime """ + if self.local_vars_configuration.client_side_validation and starts_at is None: # noqa: E501 + raise ValueError("Invalid value for `starts_at`, must not be `None`") # noqa: E501 - self._host_early_join_minutes = host_early_join_minutes + self._starts_at = starts_at @property - def guest_early_join_minutes(self): - """Gets the guest_early_join_minutes of this CreateCalendarEventRequest. # noqa: E501 + def tags(self): + """Gets the tags of this CreateCalendarEventRequest. # noqa: E501 - :return: The guest_early_join_minutes of this CreateCalendarEventRequest. # noqa: E501 - :rtype: int + :return: The tags of this CreateCalendarEventRequest. # noqa: E501 + :rtype: list[str] """ - return self._guest_early_join_minutes + return self._tags - @guest_early_join_minutes.setter - def guest_early_join_minutes(self, guest_early_join_minutes): - """Sets the guest_early_join_minutes of this CreateCalendarEventRequest. + @tags.setter + def tags(self, tags): + """Sets the tags of this CreateCalendarEventRequest. - :param guest_early_join_minutes: The guest_early_join_minutes of this CreateCalendarEventRequest. # noqa: E501 - :type guest_early_join_minutes: int + :param tags: The tags of this CreateCalendarEventRequest. # noqa: E501 + :type tags: list[str] """ + if (self.local_vars_configuration.client_side_validation and + tags is not None and len(tags) > 5): + raise ValueError("Invalid value for `tags`, number of items must be less than or equal to `5`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + tags is not None and len(tags) < 0): + raise ValueError("Invalid value for `tags`, number of items must be greater than or equal to `0`") # noqa: E501 - self._guest_early_join_minutes = guest_early_join_minutes + self._tags = tags @property - def close_instance_after_end_minutes(self): - """Gets the close_instance_after_end_minutes of this CreateCalendarEventRequest. # noqa: E501 + def title(self): + """Gets the title of this CreateCalendarEventRequest. # noqa: E501 + Event title # noqa: E501 - :return: The close_instance_after_end_minutes of this CreateCalendarEventRequest. # noqa: E501 - :rtype: int + :return: The title of this CreateCalendarEventRequest. # noqa: E501 + :rtype: str """ - return self._close_instance_after_end_minutes + return self._title - @close_instance_after_end_minutes.setter - def close_instance_after_end_minutes(self, close_instance_after_end_minutes): - """Sets the close_instance_after_end_minutes of this CreateCalendarEventRequest. + @title.setter + def title(self, title): + """Sets the title of this CreateCalendarEventRequest. + Event title # noqa: E501 - :param close_instance_after_end_minutes: The close_instance_after_end_minutes of this CreateCalendarEventRequest. # noqa: E501 - :type close_instance_after_end_minutes: int + :param title: The title of this CreateCalendarEventRequest. # noqa: E501 + :type title: str """ + if self.local_vars_configuration.client_side_validation and title is None: # noqa: E501 + raise ValueError("Invalid value for `title`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + title is not None and len(title) > 64): + raise ValueError("Invalid value for `title`, length must be less than or equal to `64`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + title is not None and len(title) < 1): + raise ValueError("Invalid value for `title`, length must be greater than or equal to `1`") # noqa: E501 - self._close_instance_after_end_minutes = close_instance_after_end_minutes + self._title = title @property def uses_instance_overflow(self): @@ -542,35 +580,6 @@ def uses_instance_overflow(self, uses_instance_overflow): self._uses_instance_overflow = uses_instance_overflow - @property - def access_type(self): - """Gets the access_type of this CreateCalendarEventRequest. # noqa: E501 - - - :return: The access_type of this CreateCalendarEventRequest. # noqa: E501 - :rtype: str - """ - return self._access_type - - @access_type.setter - def access_type(self, access_type): - """Sets the access_type of this CreateCalendarEventRequest. - - - :param access_type: The access_type of this CreateCalendarEventRequest. # noqa: E501 - :type access_type: str - """ - if self.local_vars_configuration.client_side_validation and access_type is None: # noqa: E501 - raise ValueError("Invalid value for `access_type`, must not be `None`") # noqa: E501 - allowed_values = ["public", "group"] # noqa: E501 - if self.local_vars_configuration.client_side_validation and access_type not in allowed_values: # noqa: E501 - raise ValueError( - "Invalid value for `access_type` ({0}), must be one of {1}" # noqa: E501 - .format(access_type, allowed_values) - ) - - self._access_type = access_type - def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index b5dffafb..1e0f8073 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,62 +36,62 @@ class CreateFileRequest(object): and the value is json key in definition. """ openapi_types = { - 'name': 'str', - 'mime_type': 'MIMEType', 'extension': 'str', + 'mime_type': 'MIMEType', + 'name': 'str', 'tags': 'list[str]' } attribute_map = { - 'name': 'name', - 'mime_type': 'mimeType', 'extension': 'extension', + 'mime_type': 'mimeType', + 'name': 'name', 'tags': 'tags' } - def __init__(self, name=None, mime_type=None, extension=None, tags=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, extension=None, mime_type=None, name=None, tags=None, local_vars_configuration=None): # noqa: E501 """CreateFileRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._name = None - self._mime_type = None self._extension = None + self._mime_type = None + self._name = None self._tags = None self.discriminator = None - self.name = name - self.mime_type = mime_type self.extension = extension + self.mime_type = mime_type + self.name = name if tags is not None: self.tags = tags @property - def name(self): - """Gets the name of this CreateFileRequest. # noqa: E501 + def extension(self): + """Gets the extension of this CreateFileRequest. # noqa: E501 - :return: The name of this CreateFileRequest. # noqa: E501 + :return: The extension of this CreateFileRequest. # noqa: E501 :rtype: str """ - return self._name + return self._extension - @name.setter - def name(self, name): - """Sets the name of this CreateFileRequest. + @extension.setter + def extension(self, extension): + """Sets the extension of this CreateFileRequest. - :param name: The name of this CreateFileRequest. # noqa: E501 - :type name: str + :param extension: The extension of this CreateFileRequest. # noqa: E501 + :type extension: str """ - if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 - raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and extension is None: # noqa: E501 + raise ValueError("Invalid value for `extension`, must not be `None`") # noqa: E501 if (self.local_vars_configuration.client_side_validation and - name is not None and len(name) < 0): - raise ValueError("Invalid value for `name`, length must be greater than or equal to `0`") # noqa: E501 + extension is not None and len(extension) < 1): + raise ValueError("Invalid value for `extension`, length must be greater than or equal to `1`") # noqa: E501 - self._name = name + self._extension = extension @property def mime_type(self): @@ -117,30 +117,30 @@ def mime_type(self, mime_type): self._mime_type = mime_type @property - def extension(self): - """Gets the extension of this CreateFileRequest. # noqa: E501 + def name(self): + """Gets the name of this CreateFileRequest. # noqa: E501 - :return: The extension of this CreateFileRequest. # noqa: E501 + :return: The name of this CreateFileRequest. # noqa: E501 :rtype: str """ - return self._extension + return self._name - @extension.setter - def extension(self, extension): - """Sets the extension of this CreateFileRequest. + @name.setter + def name(self, name): + """Sets the name of this CreateFileRequest. - :param extension: The extension of this CreateFileRequest. # noqa: E501 - :type extension: str + :param name: The name of this CreateFileRequest. # noqa: E501 + :type name: str """ - if self.local_vars_configuration.client_side_validation and extension is None: # noqa: E501 - raise ValueError("Invalid value for `extension`, must not be `None`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 if (self.local_vars_configuration.client_side_validation and - extension is not None and len(extension) < 1): - raise ValueError("Invalid value for `extension`, length must be greater than or equal to `1`") # noqa: E501 + name is not None and len(name) < 0): + raise ValueError("Invalid value for `name`, length must be greater than or equal to `0`") # noqa: E501 - self._extension = extension + self._name = name @property def tags(self): diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index 0ecfb637..5c63cc96 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,37 +36,82 @@ class CreateFileVersionRequest(object): and the value is json key in definition. """ openapi_types = { - 'signature_md5': 'str', - 'signature_size_in_bytes': 'int', 'file_md5': 'str', - 'file_size_in_bytes': 'int' + 'file_size_in_bytes': 'int', + 'signature_md5': 'str', + 'signature_size_in_bytes': 'int' } attribute_map = { - 'signature_md5': 'signatureMd5', - 'signature_size_in_bytes': 'signatureSizeInBytes', 'file_md5': 'fileMd5', - 'file_size_in_bytes': 'fileSizeInBytes' + 'file_size_in_bytes': 'fileSizeInBytes', + 'signature_md5': 'signatureMd5', + 'signature_size_in_bytes': 'signatureSizeInBytes' } - def __init__(self, signature_md5=None, signature_size_in_bytes=None, file_md5=None, file_size_in_bytes=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, file_md5=None, file_size_in_bytes=None, signature_md5=None, signature_size_in_bytes=None, local_vars_configuration=None): # noqa: E501 """CreateFileVersionRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._signature_md5 = None - self._signature_size_in_bytes = None self._file_md5 = None self._file_size_in_bytes = None + self._signature_md5 = None + self._signature_size_in_bytes = None self.discriminator = None - self.signature_md5 = signature_md5 - self.signature_size_in_bytes = signature_size_in_bytes if file_md5 is not None: self.file_md5 = file_md5 if file_size_in_bytes is not None: self.file_size_in_bytes = file_size_in_bytes + self.signature_md5 = signature_md5 + self.signature_size_in_bytes = signature_size_in_bytes + + @property + def file_md5(self): + """Gets the file_md5 of this CreateFileVersionRequest. # noqa: E501 + + + :return: The file_md5 of this CreateFileVersionRequest. # noqa: E501 + :rtype: str + """ + return self._file_md5 + + @file_md5.setter + def file_md5(self, file_md5): + """Sets the file_md5 of this CreateFileVersionRequest. + + + :param file_md5: The file_md5 of this CreateFileVersionRequest. # noqa: E501 + :type file_md5: str + """ + if (self.local_vars_configuration.client_side_validation and + file_md5 is not None and len(file_md5) < 1): + raise ValueError("Invalid value for `file_md5`, length must be greater than or equal to `1`") # noqa: E501 + + self._file_md5 = file_md5 + + @property + def file_size_in_bytes(self): + """Gets the file_size_in_bytes of this CreateFileVersionRequest. # noqa: E501 + + + :return: The file_size_in_bytes of this CreateFileVersionRequest. # noqa: E501 + :rtype: int + """ + return self._file_size_in_bytes + + @file_size_in_bytes.setter + def file_size_in_bytes(self, file_size_in_bytes): + """Sets the file_size_in_bytes of this CreateFileVersionRequest. + + + :param file_size_in_bytes: The file_size_in_bytes of this CreateFileVersionRequest. # noqa: E501 + :type file_size_in_bytes: int + """ + + self._file_size_in_bytes = file_size_in_bytes @property def signature_md5(self): @@ -117,51 +162,6 @@ def signature_size_in_bytes(self, signature_size_in_bytes): self._signature_size_in_bytes = signature_size_in_bytes - @property - def file_md5(self): - """Gets the file_md5 of this CreateFileVersionRequest. # noqa: E501 - - - :return: The file_md5 of this CreateFileVersionRequest. # noqa: E501 - :rtype: str - """ - return self._file_md5 - - @file_md5.setter - def file_md5(self, file_md5): - """Sets the file_md5 of this CreateFileVersionRequest. - - - :param file_md5: The file_md5 of this CreateFileVersionRequest. # noqa: E501 - :type file_md5: str - """ - if (self.local_vars_configuration.client_side_validation and - file_md5 is not None and len(file_md5) < 1): - raise ValueError("Invalid value for `file_md5`, length must be greater than or equal to `1`") # noqa: E501 - - self._file_md5 = file_md5 - - @property - def file_size_in_bytes(self): - """Gets the file_size_in_bytes of this CreateFileVersionRequest. # noqa: E501 - - - :return: The file_size_in_bytes of this CreateFileVersionRequest. # noqa: E501 - :rtype: int - """ - return self._file_size_in_bytes - - @file_size_in_bytes.setter - def file_size_in_bytes(self, file_size_in_bytes): - """Sets the file_size_in_bytes of this CreateFileVersionRequest. - - - :param file_size_in_bytes: The file_size_in_bytes of this CreateFileVersionRequest. # noqa: E501 - :type file_size_in_bytes: int - """ - - self._file_size_in_bytes = file_size_in_bytes - def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index de96e7e8..33255200 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,66 +36,82 @@ class CreateGroupAnnouncementRequest(object): and the value is json key in definition. """ openapi_types = { - 'title': 'str', - 'text': 'str', 'image_id': 'str', - 'send_notification': 'bool' + 'send_notification': 'bool', + 'text': 'str', + 'title': 'str' } attribute_map = { - 'title': 'title', - 'text': 'text', 'image_id': 'imageId', - 'send_notification': 'sendNotification' + 'send_notification': 'sendNotification', + 'text': 'text', + 'title': 'title' } - def __init__(self, title=None, text=None, image_id=None, send_notification=False, local_vars_configuration=None): # noqa: E501 + def __init__(self, image_id=None, send_notification=False, text=None, title=None, local_vars_configuration=None): # noqa: E501 """CreateGroupAnnouncementRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._title = None - self._text = None self._image_id = None self._send_notification = None + self._text = None + self._title = None self.discriminator = None - self.title = title - if text is not None: - self.text = text if image_id is not None: self.image_id = image_id if send_notification is not None: self.send_notification = send_notification + if text is not None: + self.text = text + self.title = title @property - def title(self): - """Gets the title of this CreateGroupAnnouncementRequest. # noqa: E501 + def image_id(self): + """Gets the image_id of this CreateGroupAnnouncementRequest. # noqa: E501 - Announcement title # noqa: E501 - :return: The title of this CreateGroupAnnouncementRequest. # noqa: E501 + :return: The image_id of this CreateGroupAnnouncementRequest. # noqa: E501 :rtype: str """ - return self._title + return self._image_id - @title.setter - def title(self, title): - """Sets the title of this CreateGroupAnnouncementRequest. + @image_id.setter + def image_id(self, image_id): + """Sets the image_id of this CreateGroupAnnouncementRequest. - Announcement title # noqa: E501 - :param title: The title of this CreateGroupAnnouncementRequest. # noqa: E501 - :type title: str + :param image_id: The image_id of this CreateGroupAnnouncementRequest. # noqa: E501 + :type image_id: str """ - if self.local_vars_configuration.client_side_validation and title is None: # noqa: E501 - raise ValueError("Invalid value for `title`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - title is not None and len(title) < 1): - raise ValueError("Invalid value for `title`, length must be greater than or equal to `1`") # noqa: E501 - self._title = title + self._image_id = image_id + + @property + def send_notification(self): + """Gets the send_notification of this CreateGroupAnnouncementRequest. # noqa: E501 + + Send notification to group members. # noqa: E501 + + :return: The send_notification of this CreateGroupAnnouncementRequest. # noqa: E501 + :rtype: bool + """ + return self._send_notification + + @send_notification.setter + def send_notification(self, send_notification): + """Sets the send_notification of this CreateGroupAnnouncementRequest. + + Send notification to group members. # noqa: E501 + + :param send_notification: The send_notification of this CreateGroupAnnouncementRequest. # noqa: E501 + :type send_notification: bool + """ + + self._send_notification = send_notification @property def text(self): @@ -124,48 +140,32 @@ def text(self, text): self._text = text @property - def image_id(self): - """Gets the image_id of this CreateGroupAnnouncementRequest. # noqa: E501 + def title(self): + """Gets the title of this CreateGroupAnnouncementRequest. # noqa: E501 + Announcement title # noqa: E501 - :return: The image_id of this CreateGroupAnnouncementRequest. # noqa: E501 + :return: The title of this CreateGroupAnnouncementRequest. # noqa: E501 :rtype: str """ - return self._image_id - - @image_id.setter - def image_id(self, image_id): - """Sets the image_id of this CreateGroupAnnouncementRequest. - - - :param image_id: The image_id of this CreateGroupAnnouncementRequest. # noqa: E501 - :type image_id: str - """ - - self._image_id = image_id - - @property - def send_notification(self): - """Gets the send_notification of this CreateGroupAnnouncementRequest. # noqa: E501 - - Send notification to group members. # noqa: E501 - - :return: The send_notification of this CreateGroupAnnouncementRequest. # noqa: E501 - :rtype: bool - """ - return self._send_notification + return self._title - @send_notification.setter - def send_notification(self, send_notification): - """Sets the send_notification of this CreateGroupAnnouncementRequest. + @title.setter + def title(self, title): + """Sets the title of this CreateGroupAnnouncementRequest. - Send notification to group members. # noqa: E501 + Announcement title # noqa: E501 - :param send_notification: The send_notification of this CreateGroupAnnouncementRequest. # noqa: E501 - :type send_notification: bool + :param title: The title of this CreateGroupAnnouncementRequest. # noqa: E501 + :type title: str """ + if self.local_vars_configuration.client_side_validation and title is None: # noqa: E501 + raise ValueError("Invalid value for `title`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + title is not None and len(title) < 1): + raise ValueError("Invalid value for `title`, length must be greater than or equal to `1`") # noqa: E501 - self._send_notification = send_notification + self._title = title def to_dict(self, serialize=False): """Returns the model properties as a dict""" diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index 3748b84a..f5cd3fb3 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,77 +36,49 @@ class CreateGroupGalleryRequest(object): and the value is json key in definition. """ openapi_types = { - 'name': 'str', 'description': 'str', 'members_only': 'bool', - 'role_ids_to_view': 'list[str]', - 'role_ids_to_submit': 'list[str]', + 'name': 'str', 'role_ids_to_auto_approve': 'list[str]', - 'role_ids_to_manage': 'list[str]' + 'role_ids_to_manage': 'list[str]', + 'role_ids_to_submit': 'list[str]', + 'role_ids_to_view': 'list[str]' } attribute_map = { - 'name': 'name', 'description': 'description', 'members_only': 'membersOnly', - 'role_ids_to_view': 'roleIdsToView', - 'role_ids_to_submit': 'roleIdsToSubmit', + 'name': 'name', 'role_ids_to_auto_approve': 'roleIdsToAutoApprove', - 'role_ids_to_manage': 'roleIdsToManage' + 'role_ids_to_manage': 'roleIdsToManage', + 'role_ids_to_submit': 'roleIdsToSubmit', + 'role_ids_to_view': 'roleIdsToView' } - def __init__(self, name=None, description=None, members_only=False, role_ids_to_view=None, role_ids_to_submit=None, role_ids_to_auto_approve=None, role_ids_to_manage=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, description=None, members_only=False, name=None, role_ids_to_auto_approve=None, role_ids_to_manage=None, role_ids_to_submit=None, role_ids_to_view=None, local_vars_configuration=None): # noqa: E501 """CreateGroupGalleryRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._name = None self._description = None self._members_only = None - self._role_ids_to_view = None - self._role_ids_to_submit = None + self._name = None self._role_ids_to_auto_approve = None self._role_ids_to_manage = None + self._role_ids_to_submit = None + self._role_ids_to_view = None self.discriminator = None - self.name = name if description is not None: self.description = description if members_only is not None: self.members_only = members_only - self.role_ids_to_view = role_ids_to_view - self.role_ids_to_submit = role_ids_to_submit + self.name = name self.role_ids_to_auto_approve = role_ids_to_auto_approve self.role_ids_to_manage = role_ids_to_manage - - @property - def name(self): - """Gets the name of this CreateGroupGalleryRequest. # noqa: E501 - - Name of the gallery. # noqa: E501 - - :return: The name of this CreateGroupGalleryRequest. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this CreateGroupGalleryRequest. - - Name of the gallery. # noqa: E501 - - :param name: The name of this CreateGroupGalleryRequest. # noqa: E501 - :type name: str - """ - if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 - raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - name is not None and len(name) < 1): - raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 - - self._name = name + self.role_ids_to_submit = role_ids_to_submit + self.role_ids_to_view = role_ids_to_view @property def description(self): @@ -158,50 +130,32 @@ def members_only(self, members_only): self._members_only = members_only @property - def role_ids_to_view(self): - """Gets the role_ids_to_view of this CreateGroupGalleryRequest. # noqa: E501 - - # noqa: E501 - - :return: The role_ids_to_view of this CreateGroupGalleryRequest. # noqa: E501 - :rtype: list[str] - """ - return self._role_ids_to_view - - @role_ids_to_view.setter - def role_ids_to_view(self, role_ids_to_view): - """Sets the role_ids_to_view of this CreateGroupGalleryRequest. - - # noqa: E501 - - :param role_ids_to_view: The role_ids_to_view of this CreateGroupGalleryRequest. # noqa: E501 - :type role_ids_to_view: list[str] - """ - - self._role_ids_to_view = role_ids_to_view - - @property - def role_ids_to_submit(self): - """Gets the role_ids_to_submit of this CreateGroupGalleryRequest. # noqa: E501 + def name(self): + """Gets the name of this CreateGroupGalleryRequest. # noqa: E501 - # noqa: E501 + Name of the gallery. # noqa: E501 - :return: The role_ids_to_submit of this CreateGroupGalleryRequest. # noqa: E501 - :rtype: list[str] + :return: The name of this CreateGroupGalleryRequest. # noqa: E501 + :rtype: str """ - return self._role_ids_to_submit + return self._name - @role_ids_to_submit.setter - def role_ids_to_submit(self, role_ids_to_submit): - """Sets the role_ids_to_submit of this CreateGroupGalleryRequest. + @name.setter + def name(self, name): + """Sets the name of this CreateGroupGalleryRequest. - # noqa: E501 + Name of the gallery. # noqa: E501 - :param role_ids_to_submit: The role_ids_to_submit of this CreateGroupGalleryRequest. # noqa: E501 - :type role_ids_to_submit: list[str] + :param name: The name of this CreateGroupGalleryRequest. # noqa: E501 + :type name: str """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + name is not None and len(name) < 1): + raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 - self._role_ids_to_submit = role_ids_to_submit + self._name = name @property def role_ids_to_auto_approve(self): @@ -249,6 +203,52 @@ def role_ids_to_manage(self, role_ids_to_manage): self._role_ids_to_manage = role_ids_to_manage + @property + def role_ids_to_submit(self): + """Gets the role_ids_to_submit of this CreateGroupGalleryRequest. # noqa: E501 + + # noqa: E501 + + :return: The role_ids_to_submit of this CreateGroupGalleryRequest. # noqa: E501 + :rtype: list[str] + """ + return self._role_ids_to_submit + + @role_ids_to_submit.setter + def role_ids_to_submit(self, role_ids_to_submit): + """Sets the role_ids_to_submit of this CreateGroupGalleryRequest. + + # noqa: E501 + + :param role_ids_to_submit: The role_ids_to_submit of this CreateGroupGalleryRequest. # noqa: E501 + :type role_ids_to_submit: list[str] + """ + + self._role_ids_to_submit = role_ids_to_submit + + @property + def role_ids_to_view(self): + """Gets the role_ids_to_view of this CreateGroupGalleryRequest. # noqa: E501 + + # noqa: E501 + + :return: The role_ids_to_view of this CreateGroupGalleryRequest. # noqa: E501 + :rtype: list[str] + """ + return self._role_ids_to_view + + @role_ids_to_view.setter + def role_ids_to_view(self, role_ids_to_view): + """Sets the role_ids_to_view of this CreateGroupGalleryRequest. + + # noqa: E501 + + :param role_ids_to_view: The role_ids_to_view of this CreateGroupGalleryRequest. # noqa: E501 + :type role_ids_to_view: list[str] + """ + + self._role_ids_to_view = role_ids_to_view + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index 3d87977f..ba67aa0d 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,28 +36,49 @@ class CreateGroupInviteRequest(object): and the value is json key in definition. """ openapi_types = { - 'user_id': 'str', - 'confirm_override_block': 'bool' + 'confirm_override_block': 'bool', + 'user_id': 'str' } attribute_map = { - 'user_id': 'userId', - 'confirm_override_block': 'confirmOverrideBlock' + 'confirm_override_block': 'confirmOverrideBlock', + 'user_id': 'userId' } - def __init__(self, user_id=None, confirm_override_block=True, local_vars_configuration=None): # noqa: E501 + def __init__(self, confirm_override_block=True, user_id=None, local_vars_configuration=None): # noqa: E501 """CreateGroupInviteRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._user_id = None self._confirm_override_block = None + self._user_id = None self.discriminator = None - self.user_id = user_id if confirm_override_block is not None: self.confirm_override_block = confirm_override_block + self.user_id = user_id + + @property + def confirm_override_block(self): + """Gets the confirm_override_block of this CreateGroupInviteRequest. # noqa: E501 + + + :return: The confirm_override_block of this CreateGroupInviteRequest. # noqa: E501 + :rtype: bool + """ + return self._confirm_override_block + + @confirm_override_block.setter + def confirm_override_block(self, confirm_override_block): + """Sets the confirm_override_block of this CreateGroupInviteRequest. + + + :param confirm_override_block: The confirm_override_block of this CreateGroupInviteRequest. # noqa: E501 + :type confirm_override_block: bool + """ + + self._confirm_override_block = confirm_override_block @property def user_id(self): @@ -84,27 +105,6 @@ def user_id(self, user_id): self._user_id = user_id - @property - def confirm_override_block(self): - """Gets the confirm_override_block of this CreateGroupInviteRequest. # noqa: E501 - - - :return: The confirm_override_block of this CreateGroupInviteRequest. # noqa: E501 - :rtype: bool - """ - return self._confirm_override_block - - @confirm_override_block.setter - def confirm_override_block(self, confirm_override_block): - """Sets the confirm_override_block of this CreateGroupInviteRequest. - - - :param confirm_override_block: The confirm_override_block of this CreateGroupInviteRequest. # noqa: E501 - :type confirm_override_block: bool - """ - - self._confirm_override_block = confirm_override_block - def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/create_group_post_request.py b/vrchatapi/models/create_group_post_request.py index 4ac57f38..d39080bb 100644 --- a/vrchatapi/models/create_group_post_request.py +++ b/vrchatapi/models/create_group_post_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,102 +36,46 @@ class CreateGroupPostRequest(object): and the value is json key in definition. """ openapi_types = { - 'title': 'str', - 'text': 'str', 'image_id': 'str', - 'send_notification': 'bool', 'role_ids': 'list[str]', + 'send_notification': 'bool', + 'text': 'str', + 'title': 'str', 'visibility': 'GroupPostVisibility' } attribute_map = { - 'title': 'title', - 'text': 'text', 'image_id': 'imageId', - 'send_notification': 'sendNotification', 'role_ids': 'roleIds', + 'send_notification': 'sendNotification', + 'text': 'text', + 'title': 'title', 'visibility': 'visibility' } - def __init__(self, title=None, text=None, image_id=None, send_notification=False, role_ids=None, visibility=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, image_id=None, role_ids=None, send_notification=False, text=None, title=None, visibility=None, local_vars_configuration=None): # noqa: E501 """CreateGroupPostRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._title = None - self._text = None self._image_id = None - self._send_notification = None self._role_ids = None + self._send_notification = None + self._text = None + self._title = None self._visibility = None self.discriminator = None - self.title = title - self.text = text if image_id is not None: self.image_id = image_id - self.send_notification = send_notification if role_ids is not None: self.role_ids = role_ids + self.send_notification = send_notification + self.text = text + self.title = title self.visibility = visibility - @property - def title(self): - """Gets the title of this CreateGroupPostRequest. # noqa: E501 - - Post title # noqa: E501 - - :return: The title of this CreateGroupPostRequest. # noqa: E501 - :rtype: str - """ - return self._title - - @title.setter - def title(self, title): - """Sets the title of this CreateGroupPostRequest. - - Post title # noqa: E501 - - :param title: The title of this CreateGroupPostRequest. # noqa: E501 - :type title: str - """ - if self.local_vars_configuration.client_side_validation and title is None: # noqa: E501 - raise ValueError("Invalid value for `title`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - title is not None and len(title) < 1): - raise ValueError("Invalid value for `title`, length must be greater than or equal to `1`") # noqa: E501 - - self._title = title - - @property - def text(self): - """Gets the text of this CreateGroupPostRequest. # noqa: E501 - - Post text # noqa: E501 - - :return: The text of this CreateGroupPostRequest. # noqa: E501 - :rtype: str - """ - return self._text - - @text.setter - def text(self, text): - """Sets the text of this CreateGroupPostRequest. - - Post text # noqa: E501 - - :param text: The text of this CreateGroupPostRequest. # noqa: E501 - :type text: str - """ - if self.local_vars_configuration.client_side_validation and text is None: # noqa: E501 - raise ValueError("Invalid value for `text`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - text is not None and len(text) < 1): - raise ValueError("Invalid value for `text`, length must be greater than or equal to `1`") # noqa: E501 - - self._text = text - @property def image_id(self): """Gets the image_id of this CreateGroupPostRequest. # noqa: E501 @@ -153,6 +97,29 @@ def image_id(self, image_id): self._image_id = image_id + @property + def role_ids(self): + """Gets the role_ids of this CreateGroupPostRequest. # noqa: E501 + + # noqa: E501 + + :return: The role_ids of this CreateGroupPostRequest. # noqa: E501 + :rtype: list[str] + """ + return self._role_ids + + @role_ids.setter + def role_ids(self, role_ids): + """Sets the role_ids of this CreateGroupPostRequest. + + # noqa: E501 + + :param role_ids: The role_ids of this CreateGroupPostRequest. # noqa: E501 + :type role_ids: list[str] + """ + + self._role_ids = role_ids + @property def send_notification(self): """Gets the send_notification of this CreateGroupPostRequest. # noqa: E501 @@ -179,27 +146,60 @@ def send_notification(self, send_notification): self._send_notification = send_notification @property - def role_ids(self): - """Gets the role_ids of this CreateGroupPostRequest. # noqa: E501 + def text(self): + """Gets the text of this CreateGroupPostRequest. # noqa: E501 - # noqa: E501 + Post text # noqa: E501 - :return: The role_ids of this CreateGroupPostRequest. # noqa: E501 - :rtype: list[str] + :return: The text of this CreateGroupPostRequest. # noqa: E501 + :rtype: str """ - return self._role_ids + return self._text - @role_ids.setter - def role_ids(self, role_ids): - """Sets the role_ids of this CreateGroupPostRequest. + @text.setter + def text(self, text): + """Sets the text of this CreateGroupPostRequest. - # noqa: E501 + Post text # noqa: E501 - :param role_ids: The role_ids of this CreateGroupPostRequest. # noqa: E501 - :type role_ids: list[str] + :param text: The text of this CreateGroupPostRequest. # noqa: E501 + :type text: str """ + if self.local_vars_configuration.client_side_validation and text is None: # noqa: E501 + raise ValueError("Invalid value for `text`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + text is not None and len(text) < 1): + raise ValueError("Invalid value for `text`, length must be greater than or equal to `1`") # noqa: E501 - self._role_ids = role_ids + self._text = text + + @property + def title(self): + """Gets the title of this CreateGroupPostRequest. # noqa: E501 + + Post title # noqa: E501 + + :return: The title of this CreateGroupPostRequest. # noqa: E501 + :rtype: str + """ + return self._title + + @title.setter + def title(self, title): + """Sets the title of this CreateGroupPostRequest. + + Post title # noqa: E501 + + :param title: The title of this CreateGroupPostRequest. # noqa: E501 + :type title: str + """ + if self.local_vars_configuration.client_side_validation and title is None: # noqa: E501 + raise ValueError("Invalid value for `title`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + title is not None and len(title) < 1): + raise ValueError("Invalid value for `title`, length must be greater than or equal to `1`") # noqa: E501 + + self._title = title @property def visibility(self): diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index bad8f50d..6f05202c 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,112 +36,75 @@ class CreateGroupRequest(object): and the value is json key in definition. """ openapi_types = { - 'name': 'str', - 'short_code': 'str', + 'banner_id': 'str', 'description': 'str', - 'join_state': 'GroupJoinState', 'icon_id': 'str', - 'banner_id': 'str', + 'join_state': 'GroupJoinState', + 'name': 'str', 'privacy': 'GroupPrivacy', - 'role_template': 'GroupRoleTemplate' + 'role_template': 'GroupRoleTemplate', + 'short_code': 'str' } attribute_map = { - 'name': 'name', - 'short_code': 'shortCode', + 'banner_id': 'bannerId', 'description': 'description', - 'join_state': 'joinState', 'icon_id': 'iconId', - 'banner_id': 'bannerId', + 'join_state': 'joinState', + 'name': 'name', 'privacy': 'privacy', - 'role_template': 'roleTemplate' + 'role_template': 'roleTemplate', + 'short_code': 'shortCode' } - def __init__(self, name=None, short_code=None, description=None, join_state=None, icon_id=None, banner_id=None, privacy=None, role_template=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, banner_id=None, description=None, icon_id=None, join_state=None, name=None, privacy=None, role_template=None, short_code=None, local_vars_configuration=None): # noqa: E501 """CreateGroupRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._name = None - self._short_code = None + self._banner_id = None self._description = None - self._join_state = None self._icon_id = None - self._banner_id = None + self._join_state = None + self._name = None self._privacy = None self._role_template = None + self._short_code = None self.discriminator = None - self.name = name - self.short_code = short_code + self.banner_id = banner_id if description is not None: self.description = description + self.icon_id = icon_id if join_state is not None: self.join_state = join_state - self.icon_id = icon_id - self.banner_id = banner_id + self.name = name if privacy is not None: self.privacy = privacy self.role_template = role_template + self.short_code = short_code @property - def name(self): - """Gets the name of this CreateGroupRequest. # noqa: E501 - - - :return: The name of this CreateGroupRequest. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this CreateGroupRequest. - - - :param name: The name of this CreateGroupRequest. # noqa: E501 - :type name: str - """ - if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 - raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - name is not None and len(name) > 64): - raise ValueError("Invalid value for `name`, length must be less than or equal to `64`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - name is not None and len(name) < 3): - raise ValueError("Invalid value for `name`, length must be greater than or equal to `3`") # noqa: E501 - - self._name = name - - @property - def short_code(self): - """Gets the short_code of this CreateGroupRequest. # noqa: E501 + def banner_id(self): + """Gets the banner_id of this CreateGroupRequest. # noqa: E501 - :return: The short_code of this CreateGroupRequest. # noqa: E501 + :return: The banner_id of this CreateGroupRequest. # noqa: E501 :rtype: str """ - return self._short_code + return self._banner_id - @short_code.setter - def short_code(self, short_code): - """Sets the short_code of this CreateGroupRequest. + @banner_id.setter + def banner_id(self, banner_id): + """Sets the banner_id of this CreateGroupRequest. - :param short_code: The short_code of this CreateGroupRequest. # noqa: E501 - :type short_code: str + :param banner_id: The banner_id of this CreateGroupRequest. # noqa: E501 + :type banner_id: str """ - if self.local_vars_configuration.client_side_validation and short_code is None: # noqa: E501 - raise ValueError("Invalid value for `short_code`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - short_code is not None and len(short_code) > 6): - raise ValueError("Invalid value for `short_code`, length must be less than or equal to `6`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - short_code is not None and len(short_code) < 3): - raise ValueError("Invalid value for `short_code`, length must be greater than or equal to `3`") # noqa: E501 - self._short_code = short_code + self._banner_id = banner_id @property def description(self): @@ -170,27 +133,6 @@ def description(self, description): self._description = description - @property - def join_state(self): - """Gets the join_state of this CreateGroupRequest. # noqa: E501 - - - :return: The join_state of this CreateGroupRequest. # noqa: E501 - :rtype: GroupJoinState - """ - return self._join_state - - @join_state.setter - def join_state(self, join_state): - """Sets the join_state of this CreateGroupRequest. - - - :param join_state: The join_state of this CreateGroupRequest. # noqa: E501 - :type join_state: GroupJoinState - """ - - self._join_state = join_state - @property def icon_id(self): """Gets the icon_id of this CreateGroupRequest. # noqa: E501 @@ -213,25 +155,54 @@ def icon_id(self, icon_id): self._icon_id = icon_id @property - def banner_id(self): - """Gets the banner_id of this CreateGroupRequest. # noqa: E501 + def join_state(self): + """Gets the join_state of this CreateGroupRequest. # noqa: E501 - :return: The banner_id of this CreateGroupRequest. # noqa: E501 + :return: The join_state of this CreateGroupRequest. # noqa: E501 + :rtype: GroupJoinState + """ + return self._join_state + + @join_state.setter + def join_state(self, join_state): + """Sets the join_state of this CreateGroupRequest. + + + :param join_state: The join_state of this CreateGroupRequest. # noqa: E501 + :type join_state: GroupJoinState + """ + + self._join_state = join_state + + @property + def name(self): + """Gets the name of this CreateGroupRequest. # noqa: E501 + + + :return: The name of this CreateGroupRequest. # noqa: E501 :rtype: str """ - return self._banner_id + return self._name - @banner_id.setter - def banner_id(self, banner_id): - """Sets the banner_id of this CreateGroupRequest. + @name.setter + def name(self, name): + """Sets the name of this CreateGroupRequest. - :param banner_id: The banner_id of this CreateGroupRequest. # noqa: E501 - :type banner_id: str + :param name: The name of this CreateGroupRequest. # noqa: E501 + :type name: str """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + name is not None and len(name) > 64): + raise ValueError("Invalid value for `name`, length must be less than or equal to `64`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + name is not None and len(name) < 3): + raise ValueError("Invalid value for `name`, length must be greater than or equal to `3`") # noqa: E501 - self._banner_id = banner_id + self._name = name @property def privacy(self): @@ -277,6 +248,35 @@ def role_template(self, role_template): self._role_template = role_template + @property + def short_code(self): + """Gets the short_code of this CreateGroupRequest. # noqa: E501 + + + :return: The short_code of this CreateGroupRequest. # noqa: E501 + :rtype: str + """ + return self._short_code + + @short_code.setter + def short_code(self, short_code): + """Sets the short_code of this CreateGroupRequest. + + + :param short_code: The short_code of this CreateGroupRequest. # noqa: E501 + :type short_code: str + """ + if self.local_vars_configuration.client_side_validation and short_code is None: # noqa: E501 + raise ValueError("Invalid value for `short_code`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + short_code is not None and len(short_code) > 6): + raise ValueError("Invalid value for `short_code`, length must be less than or equal to `6`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + short_code is not None and len(short_code) < 3): + raise ValueError("Invalid value for `short_code`, length must be greater than or equal to `3`") # noqa: E501 + + self._short_code = short_code + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index f688220a..a8816e0d 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,107 +36,86 @@ class CreateGroupRoleRequest(object): and the value is json key in definition. """ openapi_types = { - 'id': 'str', - 'name': 'str', 'description': 'str', + 'id': 'str', 'is_self_assignable': 'bool', + 'name': 'str', 'permissions': 'list[GroupPermissions]' } attribute_map = { - 'id': 'id', - 'name': 'name', 'description': 'description', + 'id': 'id', 'is_self_assignable': 'isSelfAssignable', + 'name': 'name', 'permissions': 'permissions' } - def __init__(self, id=None, name=None, description=None, is_self_assignable=False, permissions=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, description=None, id=None, is_self_assignable=False, name=None, permissions=None, local_vars_configuration=None): # noqa: E501 """CreateGroupRoleRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._id = None - self._name = None self._description = None + self._id = None self._is_self_assignable = None + self._name = None self._permissions = None self.discriminator = None - if id is not None: - self.id = id - if name is not None: - self.name = name if description is not None: self.description = description + if id is not None: + self.id = id if is_self_assignable is not None: self.is_self_assignable = is_self_assignable + if name is not None: + self.name = name if permissions is not None: self.permissions = permissions @property - def id(self): - """Gets the id of this CreateGroupRoleRequest. # noqa: E501 - - - :return: The id of this CreateGroupRoleRequest. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this CreateGroupRoleRequest. - - - :param id: The id of this CreateGroupRoleRequest. # noqa: E501 - :type id: str - """ - - self._id = id - - @property - def name(self): - """Gets the name of this CreateGroupRoleRequest. # noqa: E501 + def description(self): + """Gets the description of this CreateGroupRoleRequest. # noqa: E501 - :return: The name of this CreateGroupRoleRequest. # noqa: E501 + :return: The description of this CreateGroupRoleRequest. # noqa: E501 :rtype: str """ - return self._name + return self._description - @name.setter - def name(self, name): - """Sets the name of this CreateGroupRoleRequest. + @description.setter + def description(self, description): + """Sets the description of this CreateGroupRoleRequest. - :param name: The name of this CreateGroupRoleRequest. # noqa: E501 - :type name: str + :param description: The description of this CreateGroupRoleRequest. # noqa: E501 + :type description: str """ - self._name = name + self._description = description @property - def description(self): - """Gets the description of this CreateGroupRoleRequest. # noqa: E501 + def id(self): + """Gets the id of this CreateGroupRoleRequest. # noqa: E501 - :return: The description of this CreateGroupRoleRequest. # noqa: E501 + :return: The id of this CreateGroupRoleRequest. # noqa: E501 :rtype: str """ - return self._description + return self._id - @description.setter - def description(self, description): - """Sets the description of this CreateGroupRoleRequest. + @id.setter + def id(self, id): + """Sets the id of this CreateGroupRoleRequest. - :param description: The description of this CreateGroupRoleRequest. # noqa: E501 - :type description: str + :param id: The id of this CreateGroupRoleRequest. # noqa: E501 + :type id: str """ - self._description = description + self._id = id @property def is_self_assignable(self): @@ -159,6 +138,27 @@ def is_self_assignable(self, is_self_assignable): self._is_self_assignable = is_self_assignable + @property + def name(self): + """Gets the name of this CreateGroupRoleRequest. # noqa: E501 + + + :return: The name of this CreateGroupRoleRequest. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this CreateGroupRoleRequest. + + + :param name: The name of this CreateGroupRoleRequest. # noqa: E501 + :type name: str + """ + + self._name = name + @property def permissions(self): """Gets the permissions of this CreateGroupRoleRequest. # noqa: E501 diff --git a/vrchatapi/models/create_instance_request.py b/vrchatapi/models/create_instance_request.py index e9eb2c55..6745e693 100644 --- a/vrchatapi/models/create_instance_request.py +++ b/vrchatapi/models/create_instance_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,205 +36,227 @@ class CreateInstanceRequest(object): and the value is json key in definition. """ openapi_types = { - 'world_id': 'str', - 'type': 'InstanceType', - 'region': 'InstanceRegion', - 'owner_id': 'str', - 'role_ids': 'list[str]', - 'group_access_type': 'GroupAccessType', - 'queue_enabled': 'bool', - 'closed_at': 'datetime', + 'age_gate': 'bool', + 'calendar_entry_id': 'str', 'can_request_invite': 'bool', + 'closed_at': 'datetime', + 'content_settings': 'InstanceContentSettings', + 'display_name': 'str', + 'group_access_type': 'GroupAccessType', 'hard_close': 'bool', - 'invite_only': 'bool', - 'age_gate': 'bool', 'instance_persistence_enabled': 'bool', - 'display_name': 'str', - 'content_settings': 'InstanceContentSettings' + 'invite_only': 'bool', + 'owner_id': 'str', + 'player_persistence_enabled': 'bool', + 'queue_enabled': 'bool', + 'region': 'InstanceRegion', + 'role_ids': 'list[str]', + 'type': 'InstanceType', + 'world_id': 'str' } attribute_map = { - 'world_id': 'worldId', - 'type': 'type', - 'region': 'region', - 'owner_id': 'ownerId', - 'role_ids': 'roleIds', - 'group_access_type': 'groupAccessType', - 'queue_enabled': 'queueEnabled', - 'closed_at': 'closedAt', + 'age_gate': 'ageGate', + 'calendar_entry_id': 'calendarEntryId', 'can_request_invite': 'canRequestInvite', + 'closed_at': 'closedAt', + 'content_settings': 'contentSettings', + 'display_name': 'displayName', + 'group_access_type': 'groupAccessType', 'hard_close': 'hardClose', - 'invite_only': 'inviteOnly', - 'age_gate': 'ageGate', 'instance_persistence_enabled': 'instancePersistenceEnabled', - 'display_name': 'displayName', - 'content_settings': 'contentSettings' + 'invite_only': 'inviteOnly', + 'owner_id': 'ownerId', + 'player_persistence_enabled': 'playerPersistenceEnabled', + 'queue_enabled': 'queueEnabled', + 'region': 'region', + 'role_ids': 'roleIds', + 'type': 'type', + 'world_id': 'worldId' } - def __init__(self, world_id=None, type=None, region=None, owner_id=None, role_ids=None, group_access_type=None, queue_enabled=False, closed_at=None, can_request_invite=False, hard_close=False, invite_only=False, age_gate=False, instance_persistence_enabled=None, display_name=None, content_settings=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, age_gate=False, calendar_entry_id=None, can_request_invite=False, closed_at=None, content_settings=None, display_name=None, group_access_type=None, hard_close=False, instance_persistence_enabled=None, invite_only=False, owner_id=None, player_persistence_enabled=None, queue_enabled=False, region=None, role_ids=None, type=None, world_id=None, local_vars_configuration=None): # noqa: E501 """CreateInstanceRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._world_id = None - self._type = None - self._region = None - self._owner_id = None - self._role_ids = None - self._group_access_type = None - self._queue_enabled = None - self._closed_at = None + self._age_gate = None + self._calendar_entry_id = None self._can_request_invite = None + self._closed_at = None + self._content_settings = None + self._display_name = None + self._group_access_type = None self._hard_close = None - self._invite_only = None - self._age_gate = None self._instance_persistence_enabled = None - self._display_name = None - self._content_settings = None + self._invite_only = None + self._owner_id = None + self._player_persistence_enabled = None + self._queue_enabled = None + self._region = None + self._role_ids = None + self._type = None + self._world_id = None self.discriminator = None - self.world_id = world_id - self.type = type - self.region = region - self.owner_id = owner_id - if role_ids is not None: - self.role_ids = role_ids - if group_access_type is not None: - self.group_access_type = group_access_type - if queue_enabled is not None: - self.queue_enabled = queue_enabled - if closed_at is not None: - self.closed_at = closed_at + if age_gate is not None: + self.age_gate = age_gate + if calendar_entry_id is not None: + self.calendar_entry_id = calendar_entry_id if can_request_invite is not None: self.can_request_invite = can_request_invite + if closed_at is not None: + self.closed_at = closed_at + if content_settings is not None: + self.content_settings = content_settings + self.display_name = display_name + if group_access_type is not None: + self.group_access_type = group_access_type if hard_close is not None: self.hard_close = hard_close + self.instance_persistence_enabled = instance_persistence_enabled if invite_only is not None: self.invite_only = invite_only - if age_gate is not None: - self.age_gate = age_gate - self.instance_persistence_enabled = instance_persistence_enabled - self.display_name = display_name - if content_settings is not None: - self.content_settings = content_settings + self.owner_id = owner_id + self.player_persistence_enabled = player_persistence_enabled + if queue_enabled is not None: + self.queue_enabled = queue_enabled + self.region = region + if role_ids is not None: + self.role_ids = role_ids + self.type = type + self.world_id = world_id @property - def world_id(self): - """Gets the world_id of this CreateInstanceRequest. # noqa: E501 + def age_gate(self): + """Gets the age_gate of this CreateInstanceRequest. # noqa: E501 - WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 - :return: The world_id of this CreateInstanceRequest. # noqa: E501 + :return: The age_gate of this CreateInstanceRequest. # noqa: E501 + :rtype: bool + """ + return self._age_gate + + @age_gate.setter + def age_gate(self, age_gate): + """Sets the age_gate of this CreateInstanceRequest. + + + :param age_gate: The age_gate of this CreateInstanceRequest. # noqa: E501 + :type age_gate: bool + """ + + self._age_gate = age_gate + + @property + def calendar_entry_id(self): + """Gets the calendar_entry_id of this CreateInstanceRequest. # noqa: E501 + + + :return: The calendar_entry_id of this CreateInstanceRequest. # noqa: E501 :rtype: str """ - return self._world_id + return self._calendar_entry_id - @world_id.setter - def world_id(self, world_id): - """Sets the world_id of this CreateInstanceRequest. + @calendar_entry_id.setter + def calendar_entry_id(self, calendar_entry_id): + """Sets the calendar_entry_id of this CreateInstanceRequest. - WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 - :param world_id: The world_id of this CreateInstanceRequest. # noqa: E501 - :type world_id: str + :param calendar_entry_id: The calendar_entry_id of this CreateInstanceRequest. # noqa: E501 + :type calendar_entry_id: str """ - if self.local_vars_configuration.client_side_validation and world_id is None: # noqa: E501 - raise ValueError("Invalid value for `world_id`, must not be `None`") # noqa: E501 - self._world_id = world_id + self._calendar_entry_id = calendar_entry_id @property - def type(self): - """Gets the type of this CreateInstanceRequest. # noqa: E501 + def can_request_invite(self): + """Gets the can_request_invite of this CreateInstanceRequest. # noqa: E501 + Only applies to invite type instances to make them invite+ # noqa: E501 - :return: The type of this CreateInstanceRequest. # noqa: E501 - :rtype: InstanceType + :return: The can_request_invite of this CreateInstanceRequest. # noqa: E501 + :rtype: bool """ - return self._type + return self._can_request_invite - @type.setter - def type(self, type): - """Sets the type of this CreateInstanceRequest. + @can_request_invite.setter + def can_request_invite(self, can_request_invite): + """Sets the can_request_invite of this CreateInstanceRequest. + Only applies to invite type instances to make them invite+ # noqa: E501 - :param type: The type of this CreateInstanceRequest. # noqa: E501 - :type type: InstanceType + :param can_request_invite: The can_request_invite of this CreateInstanceRequest. # noqa: E501 + :type can_request_invite: bool """ - if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501 - raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 - self._type = type + self._can_request_invite = can_request_invite @property - def region(self): - """Gets the region of this CreateInstanceRequest. # noqa: E501 + def closed_at(self): + """Gets the closed_at of this CreateInstanceRequest. # noqa: E501 + The time after which users won't be allowed to join the instance. This doesn't work for public instances. # noqa: E501 - :return: The region of this CreateInstanceRequest. # noqa: E501 - :rtype: InstanceRegion + :return: The closed_at of this CreateInstanceRequest. # noqa: E501 + :rtype: datetime """ - return self._region + return self._closed_at - @region.setter - def region(self, region): - """Sets the region of this CreateInstanceRequest. + @closed_at.setter + def closed_at(self, closed_at): + """Sets the closed_at of this CreateInstanceRequest. + The time after which users won't be allowed to join the instance. This doesn't work for public instances. # noqa: E501 - :param region: The region of this CreateInstanceRequest. # noqa: E501 - :type region: InstanceRegion + :param closed_at: The closed_at of this CreateInstanceRequest. # noqa: E501 + :type closed_at: datetime """ - if self.local_vars_configuration.client_side_validation and region is None: # noqa: E501 - raise ValueError("Invalid value for `region`, must not be `None`") # noqa: E501 - self._region = region + self._closed_at = closed_at @property - def owner_id(self): - """Gets the owner_id of this CreateInstanceRequest. # noqa: E501 + def content_settings(self): + """Gets the content_settings of this CreateInstanceRequest. # noqa: E501 - A groupId if the instance type is \"group\", null if instance type is public, or a userId otherwise # noqa: E501 - :return: The owner_id of this CreateInstanceRequest. # noqa: E501 - :rtype: str + :return: The content_settings of this CreateInstanceRequest. # noqa: E501 + :rtype: InstanceContentSettings """ - return self._owner_id + return self._content_settings - @owner_id.setter - def owner_id(self, owner_id): - """Sets the owner_id of this CreateInstanceRequest. + @content_settings.setter + def content_settings(self, content_settings): + """Sets the content_settings of this CreateInstanceRequest. - A groupId if the instance type is \"group\", null if instance type is public, or a userId otherwise # noqa: E501 - :param owner_id: The owner_id of this CreateInstanceRequest. # noqa: E501 - :type owner_id: str + :param content_settings: The content_settings of this CreateInstanceRequest. # noqa: E501 + :type content_settings: InstanceContentSettings """ - self._owner_id = owner_id + self._content_settings = content_settings @property - def role_ids(self): - """Gets the role_ids of this CreateInstanceRequest. # noqa: E501 + def display_name(self): + """Gets the display_name of this CreateInstanceRequest. # noqa: E501 - Group roleIds that are allowed to join if the type is \"group\" and groupAccessType is \"member\" # noqa: E501 - :return: The role_ids of this CreateInstanceRequest. # noqa: E501 - :rtype: list[str] + :return: The display_name of this CreateInstanceRequest. # noqa: E501 + :rtype: str """ - return self._role_ids + return self._display_name - @role_ids.setter - def role_ids(self, role_ids): - """Sets the role_ids of this CreateInstanceRequest. + @display_name.setter + def display_name(self, display_name): + """Sets the display_name of this CreateInstanceRequest. - Group roleIds that are allowed to join if the type is \"group\" and groupAccessType is \"member\" # noqa: E501 - :param role_ids: The role_ids of this CreateInstanceRequest. # noqa: E501 - :type role_ids: list[str] + :param display_name: The display_name of this CreateInstanceRequest. # noqa: E501 + :type display_name: str """ - self._role_ids = role_ids + self._display_name = display_name @property def group_access_type(self): @@ -258,199 +280,228 @@ def group_access_type(self, group_access_type): self._group_access_type = group_access_type @property - def queue_enabled(self): - """Gets the queue_enabled of this CreateInstanceRequest. # noqa: E501 + def hard_close(self): + """Gets the hard_close of this CreateInstanceRequest. # noqa: E501 + Currently unused, but will eventually be a flag to set if the closing of the instance should kick people. # noqa: E501 - :return: The queue_enabled of this CreateInstanceRequest. # noqa: E501 + :return: The hard_close of this CreateInstanceRequest. # noqa: E501 :rtype: bool """ - return self._queue_enabled + return self._hard_close - @queue_enabled.setter - def queue_enabled(self, queue_enabled): - """Sets the queue_enabled of this CreateInstanceRequest. + @hard_close.setter + def hard_close(self, hard_close): + """Sets the hard_close of this CreateInstanceRequest. + Currently unused, but will eventually be a flag to set if the closing of the instance should kick people. # noqa: E501 - :param queue_enabled: The queue_enabled of this CreateInstanceRequest. # noqa: E501 - :type queue_enabled: bool + :param hard_close: The hard_close of this CreateInstanceRequest. # noqa: E501 + :type hard_close: bool """ - self._queue_enabled = queue_enabled + self._hard_close = hard_close @property - def closed_at(self): - """Gets the closed_at of this CreateInstanceRequest. # noqa: E501 + def instance_persistence_enabled(self): + """Gets the instance_persistence_enabled of this CreateInstanceRequest. # noqa: E501 - The time after which users won't be allowed to join the instance. This doesn't work for public instances. # noqa: E501 - :return: The closed_at of this CreateInstanceRequest. # noqa: E501 - :rtype: datetime + :return: The instance_persistence_enabled of this CreateInstanceRequest. # noqa: E501 + :rtype: bool """ - return self._closed_at + return self._instance_persistence_enabled - @closed_at.setter - def closed_at(self, closed_at): - """Sets the closed_at of this CreateInstanceRequest. + @instance_persistence_enabled.setter + def instance_persistence_enabled(self, instance_persistence_enabled): + """Sets the instance_persistence_enabled of this CreateInstanceRequest. - The time after which users won't be allowed to join the instance. This doesn't work for public instances. # noqa: E501 - :param closed_at: The closed_at of this CreateInstanceRequest. # noqa: E501 - :type closed_at: datetime + :param instance_persistence_enabled: The instance_persistence_enabled of this CreateInstanceRequest. # noqa: E501 + :type instance_persistence_enabled: bool """ - self._closed_at = closed_at + self._instance_persistence_enabled = instance_persistence_enabled @property - def can_request_invite(self): - """Gets the can_request_invite of this CreateInstanceRequest. # noqa: E501 + def invite_only(self): + """Gets the invite_only of this CreateInstanceRequest. # noqa: E501 - Only applies to invite type instances to make them invite+ # noqa: E501 - :return: The can_request_invite of this CreateInstanceRequest. # noqa: E501 + :return: The invite_only of this CreateInstanceRequest. # noqa: E501 :rtype: bool """ - return self._can_request_invite + return self._invite_only - @can_request_invite.setter - def can_request_invite(self, can_request_invite): - """Sets the can_request_invite of this CreateInstanceRequest. + @invite_only.setter + def invite_only(self, invite_only): + """Sets the invite_only of this CreateInstanceRequest. - Only applies to invite type instances to make them invite+ # noqa: E501 - :param can_request_invite: The can_request_invite of this CreateInstanceRequest. # noqa: E501 - :type can_request_invite: bool + :param invite_only: The invite_only of this CreateInstanceRequest. # noqa: E501 + :type invite_only: bool """ - self._can_request_invite = can_request_invite + self._invite_only = invite_only @property - def hard_close(self): - """Gets the hard_close of this CreateInstanceRequest. # noqa: E501 + def owner_id(self): + """Gets the owner_id of this CreateInstanceRequest. # noqa: E501 - Currently unused, but will eventually be a flag to set if the closing of the instance should kick people. # noqa: E501 + A groupId if the instance type is \"group\", null if instance type is public, or a userId otherwise # noqa: E501 - :return: The hard_close of this CreateInstanceRequest. # noqa: E501 - :rtype: bool + :return: The owner_id of this CreateInstanceRequest. # noqa: E501 + :rtype: str """ - return self._hard_close + return self._owner_id - @hard_close.setter - def hard_close(self, hard_close): - """Sets the hard_close of this CreateInstanceRequest. + @owner_id.setter + def owner_id(self, owner_id): + """Sets the owner_id of this CreateInstanceRequest. - Currently unused, but will eventually be a flag to set if the closing of the instance should kick people. # noqa: E501 + A groupId if the instance type is \"group\", null if instance type is public, or a userId otherwise # noqa: E501 - :param hard_close: The hard_close of this CreateInstanceRequest. # noqa: E501 - :type hard_close: bool + :param owner_id: The owner_id of this CreateInstanceRequest. # noqa: E501 + :type owner_id: str """ - self._hard_close = hard_close + self._owner_id = owner_id @property - def invite_only(self): - """Gets the invite_only of this CreateInstanceRequest. # noqa: E501 + def player_persistence_enabled(self): + """Gets the player_persistence_enabled of this CreateInstanceRequest. # noqa: E501 - :return: The invite_only of this CreateInstanceRequest. # noqa: E501 + :return: The player_persistence_enabled of this CreateInstanceRequest. # noqa: E501 :rtype: bool """ - return self._invite_only + return self._player_persistence_enabled - @invite_only.setter - def invite_only(self, invite_only): - """Sets the invite_only of this CreateInstanceRequest. + @player_persistence_enabled.setter + def player_persistence_enabled(self, player_persistence_enabled): + """Sets the player_persistence_enabled of this CreateInstanceRequest. - :param invite_only: The invite_only of this CreateInstanceRequest. # noqa: E501 - :type invite_only: bool + :param player_persistence_enabled: The player_persistence_enabled of this CreateInstanceRequest. # noqa: E501 + :type player_persistence_enabled: bool """ - self._invite_only = invite_only + self._player_persistence_enabled = player_persistence_enabled @property - def age_gate(self): - """Gets the age_gate of this CreateInstanceRequest. # noqa: E501 + def queue_enabled(self): + """Gets the queue_enabled of this CreateInstanceRequest. # noqa: E501 - :return: The age_gate of this CreateInstanceRequest. # noqa: E501 + :return: The queue_enabled of this CreateInstanceRequest. # noqa: E501 :rtype: bool """ - return self._age_gate + return self._queue_enabled - @age_gate.setter - def age_gate(self, age_gate): - """Sets the age_gate of this CreateInstanceRequest. + @queue_enabled.setter + def queue_enabled(self, queue_enabled): + """Sets the queue_enabled of this CreateInstanceRequest. - :param age_gate: The age_gate of this CreateInstanceRequest. # noqa: E501 - :type age_gate: bool + :param queue_enabled: The queue_enabled of this CreateInstanceRequest. # noqa: E501 + :type queue_enabled: bool """ - self._age_gate = age_gate + self._queue_enabled = queue_enabled @property - def instance_persistence_enabled(self): - """Gets the instance_persistence_enabled of this CreateInstanceRequest. # noqa: E501 + def region(self): + """Gets the region of this CreateInstanceRequest. # noqa: E501 - :return: The instance_persistence_enabled of this CreateInstanceRequest. # noqa: E501 - :rtype: bool + :return: The region of this CreateInstanceRequest. # noqa: E501 + :rtype: InstanceRegion """ - return self._instance_persistence_enabled + return self._region - @instance_persistence_enabled.setter - def instance_persistence_enabled(self, instance_persistence_enabled): - """Sets the instance_persistence_enabled of this CreateInstanceRequest. + @region.setter + def region(self, region): + """Sets the region of this CreateInstanceRequest. - :param instance_persistence_enabled: The instance_persistence_enabled of this CreateInstanceRequest. # noqa: E501 - :type instance_persistence_enabled: bool + :param region: The region of this CreateInstanceRequest. # noqa: E501 + :type region: InstanceRegion """ + if self.local_vars_configuration.client_side_validation and region is None: # noqa: E501 + raise ValueError("Invalid value for `region`, must not be `None`") # noqa: E501 - self._instance_persistence_enabled = instance_persistence_enabled + self._region = region @property - def display_name(self): - """Gets the display_name of this CreateInstanceRequest. # noqa: E501 + def role_ids(self): + """Gets the role_ids of this CreateInstanceRequest. # noqa: E501 + Group roleIds that are allowed to join if the type is \"group\" and groupAccessType is \"member\" # noqa: E501 - :return: The display_name of this CreateInstanceRequest. # noqa: E501 - :rtype: str + :return: The role_ids of this CreateInstanceRequest. # noqa: E501 + :rtype: list[str] """ - return self._display_name + return self._role_ids - @display_name.setter - def display_name(self, display_name): - """Sets the display_name of this CreateInstanceRequest. + @role_ids.setter + def role_ids(self, role_ids): + """Sets the role_ids of this CreateInstanceRequest. + Group roleIds that are allowed to join if the type is \"group\" and groupAccessType is \"member\" # noqa: E501 - :param display_name: The display_name of this CreateInstanceRequest. # noqa: E501 - :type display_name: str + :param role_ids: The role_ids of this CreateInstanceRequest. # noqa: E501 + :type role_ids: list[str] """ - self._display_name = display_name + self._role_ids = role_ids @property - def content_settings(self): - """Gets the content_settings of this CreateInstanceRequest. # noqa: E501 + def type(self): + """Gets the type of this CreateInstanceRequest. # noqa: E501 - :return: The content_settings of this CreateInstanceRequest. # noqa: E501 - :rtype: InstanceContentSettings + :return: The type of this CreateInstanceRequest. # noqa: E501 + :rtype: InstanceType """ - return self._content_settings + return self._type - @content_settings.setter - def content_settings(self, content_settings): - """Sets the content_settings of this CreateInstanceRequest. + @type.setter + def type(self, type): + """Sets the type of this CreateInstanceRequest. - :param content_settings: The content_settings of this CreateInstanceRequest. # noqa: E501 - :type content_settings: InstanceContentSettings + :param type: The type of this CreateInstanceRequest. # noqa: E501 + :type type: InstanceType """ + if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501 + raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 - self._content_settings = content_settings + self._type = type + + @property + def world_id(self): + """Gets the world_id of this CreateInstanceRequest. # noqa: E501 + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :return: The world_id of this CreateInstanceRequest. # noqa: E501 + :rtype: str + """ + return self._world_id + + @world_id.setter + def world_id(self, world_id): + """Sets the world_id of this CreateInstanceRequest. + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :param world_id: The world_id of this CreateInstanceRequest. # noqa: E501 + :type world_id: str + """ + if self.local_vars_configuration.client_side_validation and world_id is None: # noqa: E501 + raise ValueError("Invalid value for `world_id`, must not be `None`") # noqa: E501 + + self._world_id = world_id def to_dict(self, serialize=False): """Returns the model properties as a dict""" diff --git a/vrchatapi/models/create_prop_request.py b/vrchatapi/models/create_prop_request.py new file mode 100644 index 00000000..b476c4ba --- /dev/null +++ b/vrchatapi/models/create_prop_request.py @@ -0,0 +1,440 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class CreatePropRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'asset_url': 'str', + 'asset_version': 'int', + 'description': 'str', + 'id': 'str', + 'image_url': 'str', + 'name': 'str', + 'platform': 'str', + 'prop_signature': 'str', + 'spawn_type': 'int', + 'tags': 'list[str]', + 'unity_version': 'str', + 'world_placement_mask': 'int' + } + + attribute_map = { + 'asset_url': 'assetUrl', + 'asset_version': 'assetVersion', + 'description': 'description', + 'id': 'id', + 'image_url': 'imageUrl', + 'name': 'name', + 'platform': 'platform', + 'prop_signature': 'propSignature', + 'spawn_type': 'spawnType', + 'tags': 'tags', + 'unity_version': 'unityVersion', + 'world_placement_mask': 'worldPlacementMask' + } + + def __init__(self, asset_url=None, asset_version=None, description=None, id=None, image_url=None, name=None, platform=None, prop_signature=None, spawn_type=1, tags=None, unity_version=None, world_placement_mask=1, local_vars_configuration=None): # noqa: E501 + """CreatePropRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._asset_url = None + self._asset_version = None + self._description = None + self._id = None + self._image_url = None + self._name = None + self._platform = None + self._prop_signature = None + self._spawn_type = None + self._tags = None + self._unity_version = None + self._world_placement_mask = None + self.discriminator = None + + self.asset_url = asset_url + self.asset_version = asset_version + self.description = description + self.id = id + self.image_url = image_url + self.name = name + self.platform = platform + if prop_signature is not None: + self.prop_signature = prop_signature + self.spawn_type = spawn_type + self.tags = tags + self.unity_version = unity_version + self.world_placement_mask = world_placement_mask + + @property + def asset_url(self): + """Gets the asset_url of this CreatePropRequest. # noqa: E501 + + + :return: The asset_url of this CreatePropRequest. # noqa: E501 + :rtype: str + """ + return self._asset_url + + @asset_url.setter + def asset_url(self, asset_url): + """Sets the asset_url of this CreatePropRequest. + + + :param asset_url: The asset_url of this CreatePropRequest. # noqa: E501 + :type asset_url: str + """ + if self.local_vars_configuration.client_side_validation and asset_url is None: # noqa: E501 + raise ValueError("Invalid value for `asset_url`, must not be `None`") # noqa: E501 + + self._asset_url = asset_url + + @property + def asset_version(self): + """Gets the asset_version of this CreatePropRequest. # noqa: E501 + + + :return: The asset_version of this CreatePropRequest. # noqa: E501 + :rtype: int + """ + return self._asset_version + + @asset_version.setter + def asset_version(self, asset_version): + """Sets the asset_version of this CreatePropRequest. + + + :param asset_version: The asset_version of this CreatePropRequest. # noqa: E501 + :type asset_version: int + """ + if self.local_vars_configuration.client_side_validation and asset_version is None: # noqa: E501 + raise ValueError("Invalid value for `asset_version`, must not be `None`") # noqa: E501 + + self._asset_version = asset_version + + @property + def description(self): + """Gets the description of this CreatePropRequest. # noqa: E501 + + + :return: The description of this CreatePropRequest. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this CreatePropRequest. + + + :param description: The description of this CreatePropRequest. # noqa: E501 + :type description: str + """ + if self.local_vars_configuration.client_side_validation and description is None: # noqa: E501 + raise ValueError("Invalid value for `description`, must not be `None`") # noqa: E501 + + self._description = description + + @property + def id(self): + """Gets the id of this CreatePropRequest. # noqa: E501 + + + :return: The id of this CreatePropRequest. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this CreatePropRequest. + + + :param id: The id of this CreatePropRequest. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + + self._id = id + + @property + def image_url(self): + """Gets the image_url of this CreatePropRequest. # noqa: E501 + + + :return: The image_url of this CreatePropRequest. # noqa: E501 + :rtype: str + """ + return self._image_url + + @image_url.setter + def image_url(self, image_url): + """Sets the image_url of this CreatePropRequest. + + + :param image_url: The image_url of this CreatePropRequest. # noqa: E501 + :type image_url: str + """ + if self.local_vars_configuration.client_side_validation and image_url is None: # noqa: E501 + raise ValueError("Invalid value for `image_url`, must not be `None`") # noqa: E501 + + self._image_url = image_url + + @property + def name(self): + """Gets the name of this CreatePropRequest. # noqa: E501 + + + :return: The name of this CreatePropRequest. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this CreatePropRequest. + + + :param name: The name of this CreatePropRequest. # noqa: E501 + :type name: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + + @property + def platform(self): + """Gets the platform of this CreatePropRequest. # noqa: E501 + + This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + + :return: The platform of this CreatePropRequest. # noqa: E501 + :rtype: str + """ + return self._platform + + @platform.setter + def platform(self, platform): + """Sets the platform of this CreatePropRequest. + + This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + + :param platform: The platform of this CreatePropRequest. # noqa: E501 + :type platform: str + """ + if self.local_vars_configuration.client_side_validation and platform is None: # noqa: E501 + raise ValueError("Invalid value for `platform`, must not be `None`") # noqa: E501 + + self._platform = platform + + @property + def prop_signature(self): + """Gets the prop_signature of this CreatePropRequest. # noqa: E501 + + + :return: The prop_signature of this CreatePropRequest. # noqa: E501 + :rtype: str + """ + return self._prop_signature + + @prop_signature.setter + def prop_signature(self, prop_signature): + """Sets the prop_signature of this CreatePropRequest. + + + :param prop_signature: The prop_signature of this CreatePropRequest. # noqa: E501 + :type prop_signature: str + """ + + self._prop_signature = prop_signature + + @property + def spawn_type(self): + """Gets the spawn_type of this CreatePropRequest. # noqa: E501 + + How a prop is summoned and interacted with. 0: the prop fixed to some surface in the world 1: the prop is a pickup and may be held by users 2: ??? # noqa: E501 + + :return: The spawn_type of this CreatePropRequest. # noqa: E501 + :rtype: int + """ + return self._spawn_type + + @spawn_type.setter + def spawn_type(self, spawn_type): + """Sets the spawn_type of this CreatePropRequest. + + How a prop is summoned and interacted with. 0: the prop fixed to some surface in the world 1: the prop is a pickup and may be held by users 2: ??? # noqa: E501 + + :param spawn_type: The spawn_type of this CreatePropRequest. # noqa: E501 + :type spawn_type: int + """ + if self.local_vars_configuration.client_side_validation and spawn_type is None: # noqa: E501 + raise ValueError("Invalid value for `spawn_type`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + spawn_type is not None and spawn_type < 0): # noqa: E501 + raise ValueError("Invalid value for `spawn_type`, must be a value greater than or equal to `0`") # noqa: E501 + + self._spawn_type = spawn_type + + @property + def tags(self): + """Gets the tags of this CreatePropRequest. # noqa: E501 + + + :return: The tags of this CreatePropRequest. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this CreatePropRequest. + + + :param tags: The tags of this CreatePropRequest. # noqa: E501 + :type tags: list[str] + """ + if self.local_vars_configuration.client_side_validation and tags is None: # noqa: E501 + raise ValueError("Invalid value for `tags`, must not be `None`") # noqa: E501 + + self._tags = tags + + @property + def unity_version(self): + """Gets the unity_version of this CreatePropRequest. # noqa: E501 + + + :return: The unity_version of this CreatePropRequest. # noqa: E501 + :rtype: str + """ + return self._unity_version + + @unity_version.setter + def unity_version(self, unity_version): + """Sets the unity_version of this CreatePropRequest. + + + :param unity_version: The unity_version of this CreatePropRequest. # noqa: E501 + :type unity_version: str + """ + if self.local_vars_configuration.client_side_validation and unity_version is None: # noqa: E501 + raise ValueError("Invalid value for `unity_version`, must not be `None`") # noqa: E501 + + self._unity_version = unity_version + + @property + def world_placement_mask(self): + """Gets the world_placement_mask of this CreatePropRequest. # noqa: E501 + + Bitmask for restrictions on what world surfaces a prop may be summoned. 0: no restrictions 1: floors 2: walls 4: ceilings # noqa: E501 + + :return: The world_placement_mask of this CreatePropRequest. # noqa: E501 + :rtype: int + """ + return self._world_placement_mask + + @world_placement_mask.setter + def world_placement_mask(self, world_placement_mask): + """Sets the world_placement_mask of this CreatePropRequest. + + Bitmask for restrictions on what world surfaces a prop may be summoned. 0: no restrictions 1: floors 2: walls 4: ceilings # noqa: E501 + + :param world_placement_mask: The world_placement_mask of this CreatePropRequest. # noqa: E501 + :type world_placement_mask: int + """ + if self.local_vars_configuration.client_side_validation and world_placement_mask is None: # noqa: E501 + raise ValueError("Invalid value for `world_placement_mask`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + world_placement_mask is not None and world_placement_mask < 0): # noqa: E501 + raise ValueError("Invalid value for `world_placement_mask`, must be a value greater than or equal to `0`") # noqa: E501 + + self._world_placement_mask = world_placement_mask + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CreatePropRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, CreatePropRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index 60967e62..dc0e295b 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -341,7 +341,7 @@ def name(self, name): def platform(self): """Gets the platform of this CreateWorldRequest. # noqa: E501 - This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 :return: The platform of this CreateWorldRequest. # noqa: E501 :rtype: str @@ -352,7 +352,7 @@ def platform(self): def platform(self, platform): """Sets the platform of this CreateWorldRequest. - This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 :param platform: The platform of this CreateWorldRequest. # noqa: E501 :type platform: str diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index 800cb92d..ecdd8114 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,8 +36,8 @@ class CurrentUser(object): and the value is json key in definition. """ openapi_types = { - 'accepted_tos_version': 'int', 'accepted_privacy_version': 'int', + 'accepted_tos_version': 'int', 'account_deletion_date': 'date', 'account_deletion_log': 'list[AccountDeletionLog]', 'active_friends': 'list[str]', @@ -51,8 +51,8 @@ class CurrentUser(object): 'content_filters': 'list[str]', 'current_avatar': 'str', 'current_avatar_image_url': 'str', - 'current_avatar_thumbnail_image_url': 'str', 'current_avatar_tags': 'list[str]', + 'current_avatar_thumbnail_image_url': 'str', 'date_joined': 'date', 'developer_type': 'DeveloperType', 'discord_details': 'DiscordDetails', @@ -63,13 +63,13 @@ class CurrentUser(object): 'friend_group_names': 'list[str]', 'friend_key': 'str', 'friends': 'list[str]', + 'google_details': 'object', + 'google_id': 'str', 'has_birthday': 'bool', - 'hide_content_filter_settings': 'bool', - 'user_language': 'str', - 'user_language_code': 'str', 'has_email': 'bool', 'has_logged_in_from_client': 'bool', 'has_pending_email': 'bool', + 'hide_content_filter_settings': 'bool', 'home_location': 'str', 'id': 'str', 'is_adult': 'bool', @@ -82,15 +82,12 @@ class CurrentUser(object): 'obfuscated_email': 'str', 'obfuscated_pending_email': 'str', 'oculus_id': 'str', - 'google_id': 'str', - 'google_details': 'object', - 'pico_id': 'str', - 'vive_id': 'str', 'offline_friends': 'list[str]', 'online_friends': 'list[str]', 'past_display_names': 'list[PastDisplayName]', - 'presence': 'CurrentUserPresence', + 'pico_id': 'str', 'platform_history': 'list[CurrentUserPlatformHistoryInner]', + 'presence': 'CurrentUserPresence', 'profile_pic_override': 'str', 'profile_pic_override_thumbnail': 'str', 'pronouns': 'str', @@ -110,12 +107,16 @@ class CurrentUser(object): 'unsubscribe': 'bool', 'updated_at': 'datetime', 'user_icon': 'str', - 'username': 'str' + 'user_language': 'str', + 'user_language_code': 'str', + 'username': 'str', + 'uses_generated_password': 'bool', + 'vive_id': 'str' } attribute_map = { - 'accepted_tos_version': 'acceptedTOSVersion', 'accepted_privacy_version': 'acceptedPrivacyVersion', + 'accepted_tos_version': 'acceptedTOSVersion', 'account_deletion_date': 'accountDeletionDate', 'account_deletion_log': 'accountDeletionLog', 'active_friends': 'activeFriends', @@ -129,8 +130,8 @@ class CurrentUser(object): 'content_filters': 'contentFilters', 'current_avatar': 'currentAvatar', 'current_avatar_image_url': 'currentAvatarImageUrl', - 'current_avatar_thumbnail_image_url': 'currentAvatarThumbnailImageUrl', 'current_avatar_tags': 'currentAvatarTags', + 'current_avatar_thumbnail_image_url': 'currentAvatarThumbnailImageUrl', 'date_joined': 'date_joined', 'developer_type': 'developerType', 'discord_details': 'discordDetails', @@ -141,13 +142,13 @@ class CurrentUser(object): 'friend_group_names': 'friendGroupNames', 'friend_key': 'friendKey', 'friends': 'friends', + 'google_details': 'googleDetails', + 'google_id': 'googleId', 'has_birthday': 'hasBirthday', - 'hide_content_filter_settings': 'hideContentFilterSettings', - 'user_language': 'userLanguage', - 'user_language_code': 'userLanguageCode', 'has_email': 'hasEmail', 'has_logged_in_from_client': 'hasLoggedInFromClient', 'has_pending_email': 'hasPendingEmail', + 'hide_content_filter_settings': 'hideContentFilterSettings', 'home_location': 'homeLocation', 'id': 'id', 'is_adult': 'isAdult', @@ -160,15 +161,12 @@ class CurrentUser(object): 'obfuscated_email': 'obfuscatedEmail', 'obfuscated_pending_email': 'obfuscatedPendingEmail', 'oculus_id': 'oculusId', - 'google_id': 'googleId', - 'google_details': 'googleDetails', - 'pico_id': 'picoId', - 'vive_id': 'viveId', 'offline_friends': 'offlineFriends', 'online_friends': 'onlineFriends', 'past_display_names': 'pastDisplayNames', - 'presence': 'presence', + 'pico_id': 'picoId', 'platform_history': 'platform_history', + 'presence': 'presence', 'profile_pic_override': 'profilePicOverride', 'profile_pic_override_thumbnail': 'profilePicOverrideThumbnail', 'pronouns': 'pronouns', @@ -188,17 +186,21 @@ class CurrentUser(object): 'unsubscribe': 'unsubscribe', 'updated_at': 'updated_at', 'user_icon': 'userIcon', - 'username': 'username' + 'user_language': 'userLanguage', + 'user_language_code': 'userLanguageCode', + 'username': 'username', + 'uses_generated_password': 'usesGeneratedPassword', + 'vive_id': 'viveId' } - def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, account_deletion_date=None, account_deletion_log=None, active_friends=None, age_verification_status=None, age_verified=None, allow_avatar_copying=None, auth_token=None, badges=None, bio=None, bio_links=None, content_filters=None, current_avatar=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, date_joined=None, developer_type=None, discord_details=None, discord_id=None, display_name=None, email_verified=None, fallback_avatar=None, friend_group_names=None, friend_key=None, friends=None, has_birthday=None, hide_content_filter_settings=None, user_language=None, user_language_code=None, has_email=None, has_logged_in_from_client=None, has_pending_email=None, home_location=None, id=None, is_adult=None, is_booping_enabled=True, is_friend=False, last_activity=None, last_login=None, last_mobile=None, last_platform=None, obfuscated_email=None, obfuscated_pending_email=None, oculus_id=None, google_id=None, google_details=None, pico_id=None, vive_id=None, offline_friends=None, online_friends=None, past_display_names=None, presence=None, platform_history=None, profile_pic_override=None, profile_pic_override_thumbnail=None, pronouns=None, pronouns_history=None, queued_instance=None, receive_mobile_invitations=None, state=None, status=None, status_description=None, status_first_time=None, status_history=None, steam_details=None, steam_id=None, tags=None, two_factor_auth_enabled=None, two_factor_auth_enabled_date=None, unsubscribe=None, updated_at=None, user_icon=None, username=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, accepted_privacy_version=None, accepted_tos_version=None, account_deletion_date=None, account_deletion_log=None, active_friends=None, age_verification_status=None, age_verified=None, allow_avatar_copying=None, auth_token=None, badges=None, bio=None, bio_links=None, content_filters=None, current_avatar=None, current_avatar_image_url=None, current_avatar_tags=None, current_avatar_thumbnail_image_url=None, date_joined=None, developer_type=None, discord_details=None, discord_id=None, display_name=None, email_verified=None, fallback_avatar=None, friend_group_names=None, friend_key=None, friends=None, google_details=None, google_id=None, has_birthday=None, has_email=None, has_logged_in_from_client=None, has_pending_email=None, hide_content_filter_settings=None, home_location=None, id=None, is_adult=None, is_booping_enabled=True, is_friend=False, last_activity=None, last_login=None, last_mobile=None, last_platform=None, obfuscated_email=None, obfuscated_pending_email=None, oculus_id=None, offline_friends=None, online_friends=None, past_display_names=None, pico_id=None, platform_history=None, presence=None, profile_pic_override=None, profile_pic_override_thumbnail=None, pronouns=None, pronouns_history=None, queued_instance=None, receive_mobile_invitations=None, state=None, status=None, status_description=None, status_first_time=None, status_history=None, steam_details=None, steam_id=None, tags=None, two_factor_auth_enabled=None, two_factor_auth_enabled_date=None, unsubscribe=None, updated_at=None, user_icon=None, user_language=None, user_language_code=None, username=None, uses_generated_password=None, vive_id=None, local_vars_configuration=None): # noqa: E501 """CurrentUser - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._accepted_tos_version = None self._accepted_privacy_version = None + self._accepted_tos_version = None self._account_deletion_date = None self._account_deletion_log = None self._active_friends = None @@ -212,8 +214,8 @@ def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, acc self._content_filters = None self._current_avatar = None self._current_avatar_image_url = None - self._current_avatar_thumbnail_image_url = None self._current_avatar_tags = None + self._current_avatar_thumbnail_image_url = None self._date_joined = None self._developer_type = None self._discord_details = None @@ -224,13 +226,13 @@ def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, acc self._friend_group_names = None self._friend_key = None self._friends = None + self._google_details = None + self._google_id = None self._has_birthday = None - self._hide_content_filter_settings = None - self._user_language = None - self._user_language_code = None self._has_email = None self._has_logged_in_from_client = None self._has_pending_email = None + self._hide_content_filter_settings = None self._home_location = None self._id = None self._is_adult = None @@ -243,15 +245,12 @@ def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, acc self._obfuscated_email = None self._obfuscated_pending_email = None self._oculus_id = None - self._google_id = None - self._google_details = None - self._pico_id = None - self._vive_id = None self._offline_friends = None self._online_friends = None self._past_display_names = None - self._presence = None + self._pico_id = None self._platform_history = None + self._presence = None self._profile_pic_override = None self._profile_pic_override_thumbnail = None self._pronouns = None @@ -271,12 +270,16 @@ def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, acc self._unsubscribe = None self._updated_at = None self._user_icon = None + self._user_language = None + self._user_language_code = None self._username = None + self._uses_generated_password = None + self._vive_id = None self.discriminator = None - self.accepted_tos_version = accepted_tos_version if accepted_privacy_version is not None: self.accepted_privacy_version = accepted_privacy_version + self.accepted_tos_version = accepted_tos_version self.account_deletion_date = account_deletion_date self.account_deletion_log = account_deletion_log if active_friends is not None: @@ -294,8 +297,8 @@ def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, acc self.content_filters = content_filters self.current_avatar = current_avatar self.current_avatar_image_url = current_avatar_image_url - self.current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url self.current_avatar_tags = current_avatar_tags + self.current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url self.date_joined = date_joined self.developer_type = developer_type if discord_details is not None: @@ -309,14 +312,16 @@ def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, acc self.friend_group_names = friend_group_names self.friend_key = friend_key self.friends = friends + if google_details is not None: + self.google_details = google_details + if google_id is not None: + self.google_id = google_id self.has_birthday = has_birthday - if hide_content_filter_settings is not None: - self.hide_content_filter_settings = hide_content_filter_settings - self.user_language = user_language - self.user_language_code = user_language_code self.has_email = has_email self.has_logged_in_from_client = has_logged_in_from_client self.has_pending_email = has_pending_email + if hide_content_filter_settings is not None: + self.hide_content_filter_settings = hide_content_filter_settings self.home_location = home_location self.id = id self.is_adult = is_adult @@ -331,23 +336,17 @@ def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, acc self.obfuscated_email = obfuscated_email self.obfuscated_pending_email = obfuscated_pending_email self.oculus_id = oculus_id - if google_id is not None: - self.google_id = google_id - if google_details is not None: - self.google_details = google_details - if pico_id is not None: - self.pico_id = pico_id - if vive_id is not None: - self.vive_id = vive_id if offline_friends is not None: self.offline_friends = offline_friends if online_friends is not None: self.online_friends = online_friends self.past_display_names = past_display_names - if presence is not None: - self.presence = presence + if pico_id is not None: + self.pico_id = pico_id if platform_history is not None: self.platform_history = platform_history + if presence is not None: + self.presence = presence self.profile_pic_override = profile_pic_override self.profile_pic_override_thumbnail = profile_pic_override_thumbnail self.pronouns = pronouns @@ -369,8 +368,37 @@ def __init__(self, accepted_tos_version=None, accepted_privacy_version=None, acc if updated_at is not None: self.updated_at = updated_at self.user_icon = user_icon + self.user_language = user_language + self.user_language_code = user_language_code if username is not None: self.username = username + self.uses_generated_password = uses_generated_password + if vive_id is not None: + self.vive_id = vive_id + + @property + def accepted_privacy_version(self): + """Gets the accepted_privacy_version of this CurrentUser. # noqa: E501 + + + :return: The accepted_privacy_version of this CurrentUser. # noqa: E501 + :rtype: int + """ + return self._accepted_privacy_version + + @accepted_privacy_version.setter + def accepted_privacy_version(self, accepted_privacy_version): + """Sets the accepted_privacy_version of this CurrentUser. + + + :param accepted_privacy_version: The accepted_privacy_version of this CurrentUser. # noqa: E501 + :type accepted_privacy_version: int + """ + if (self.local_vars_configuration.client_side_validation and + accepted_privacy_version is not None and accepted_privacy_version < 0): # noqa: E501 + raise ValueError("Invalid value for `accepted_privacy_version`, must be a value greater than or equal to `0`") # noqa: E501 + + self._accepted_privacy_version = accepted_privacy_version @property def accepted_tos_version(self): @@ -398,30 +426,6 @@ def accepted_tos_version(self, accepted_tos_version): self._accepted_tos_version = accepted_tos_version - @property - def accepted_privacy_version(self): - """Gets the accepted_privacy_version of this CurrentUser. # noqa: E501 - - - :return: The accepted_privacy_version of this CurrentUser. # noqa: E501 - :rtype: int - """ - return self._accepted_privacy_version - - @accepted_privacy_version.setter - def accepted_privacy_version(self, accepted_privacy_version): - """Sets the accepted_privacy_version of this CurrentUser. - - - :param accepted_privacy_version: The accepted_privacy_version of this CurrentUser. # noqa: E501 - :type accepted_privacy_version: int - """ - if (self.local_vars_configuration.client_side_validation and - accepted_privacy_version is not None and accepted_privacy_version < 0): # noqa: E501 - raise ValueError("Invalid value for `accepted_privacy_version`, must be a value greater than or equal to `0`") # noqa: E501 - - self._accepted_privacy_version = accepted_privacy_version - @property def account_deletion_date(self): """Gets the account_deletion_date of this CurrentUser. # noqa: E501 @@ -725,6 +729,29 @@ def current_avatar_image_url(self, current_avatar_image_url): self._current_avatar_image_url = current_avatar_image_url + @property + def current_avatar_tags(self): + """Gets the current_avatar_tags of this CurrentUser. # noqa: E501 + + + :return: The current_avatar_tags of this CurrentUser. # noqa: E501 + :rtype: list[str] + """ + return self._current_avatar_tags + + @current_avatar_tags.setter + def current_avatar_tags(self, current_avatar_tags): + """Sets the current_avatar_tags of this CurrentUser. + + + :param current_avatar_tags: The current_avatar_tags of this CurrentUser. # noqa: E501 + :type current_avatar_tags: list[str] + """ + if self.local_vars_configuration.client_side_validation and current_avatar_tags is None: # noqa: E501 + raise ValueError("Invalid value for `current_avatar_tags`, must not be `None`") # noqa: E501 + + self._current_avatar_tags = current_avatar_tags + @property def current_avatar_thumbnail_image_url(self): """Gets the current_avatar_thumbnail_image_url of this CurrentUser. # noqa: E501 @@ -750,29 +777,6 @@ def current_avatar_thumbnail_image_url(self, current_avatar_thumbnail_image_url) self._current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url - @property - def current_avatar_tags(self): - """Gets the current_avatar_tags of this CurrentUser. # noqa: E501 - - - :return: The current_avatar_tags of this CurrentUser. # noqa: E501 - :rtype: list[str] - """ - return self._current_avatar_tags - - @current_avatar_tags.setter - def current_avatar_tags(self, current_avatar_tags): - """Sets the current_avatar_tags of this CurrentUser. - - - :param current_avatar_tags: The current_avatar_tags of this CurrentUser. # noqa: E501 - :type current_avatar_tags: list[str] - """ - if self.local_vars_configuration.client_side_validation and current_avatar_tags is None: # noqa: E501 - raise ValueError("Invalid value for `current_avatar_tags`, must not be `None`") # noqa: E501 - - self._current_avatar_tags = current_avatar_tags - @property def date_joined(self): """Gets the date_joined of this CurrentUser. # noqa: E501 @@ -1002,90 +1006,69 @@ def friends(self, friends): self._friends = friends @property - def has_birthday(self): - """Gets the has_birthday of this CurrentUser. # noqa: E501 - - - :return: The has_birthday of this CurrentUser. # noqa: E501 - :rtype: bool - """ - return self._has_birthday - - @has_birthday.setter - def has_birthday(self, has_birthday): - """Sets the has_birthday of this CurrentUser. - - - :param has_birthday: The has_birthday of this CurrentUser. # noqa: E501 - :type has_birthday: bool - """ - if self.local_vars_configuration.client_side_validation and has_birthday is None: # noqa: E501 - raise ValueError("Invalid value for `has_birthday`, must not be `None`") # noqa: E501 - - self._has_birthday = has_birthday - - @property - def hide_content_filter_settings(self): - """Gets the hide_content_filter_settings of this CurrentUser. # noqa: E501 + def google_details(self): + """Gets the google_details of this CurrentUser. # noqa: E501 - :return: The hide_content_filter_settings of this CurrentUser. # noqa: E501 - :rtype: bool + :return: The google_details of this CurrentUser. # noqa: E501 + :rtype: object """ - return self._hide_content_filter_settings + return self._google_details - @hide_content_filter_settings.setter - def hide_content_filter_settings(self, hide_content_filter_settings): - """Sets the hide_content_filter_settings of this CurrentUser. + @google_details.setter + def google_details(self, google_details): + """Sets the google_details of this CurrentUser. - :param hide_content_filter_settings: The hide_content_filter_settings of this CurrentUser. # noqa: E501 - :type hide_content_filter_settings: bool + :param google_details: The google_details of this CurrentUser. # noqa: E501 + :type google_details: object """ - self._hide_content_filter_settings = hide_content_filter_settings + self._google_details = google_details @property - def user_language(self): - """Gets the user_language of this CurrentUser. # noqa: E501 + def google_id(self): + """Gets the google_id of this CurrentUser. # noqa: E501 - :return: The user_language of this CurrentUser. # noqa: E501 + :return: The google_id of this CurrentUser. # noqa: E501 :rtype: str """ - return self._user_language + return self._google_id - @user_language.setter - def user_language(self, user_language): - """Sets the user_language of this CurrentUser. + @google_id.setter + def google_id(self, google_id): + """Sets the google_id of this CurrentUser. - :param user_language: The user_language of this CurrentUser. # noqa: E501 - :type user_language: str + :param google_id: The google_id of this CurrentUser. # noqa: E501 + :type google_id: str """ - self._user_language = user_language + self._google_id = google_id @property - def user_language_code(self): - """Gets the user_language_code of this CurrentUser. # noqa: E501 + def has_birthday(self): + """Gets the has_birthday of this CurrentUser. # noqa: E501 - :return: The user_language_code of this CurrentUser. # noqa: E501 - :rtype: str + :return: The has_birthday of this CurrentUser. # noqa: E501 + :rtype: bool """ - return self._user_language_code + return self._has_birthday - @user_language_code.setter - def user_language_code(self, user_language_code): - """Sets the user_language_code of this CurrentUser. + @has_birthday.setter + def has_birthday(self, has_birthday): + """Sets the has_birthday of this CurrentUser. - :param user_language_code: The user_language_code of this CurrentUser. # noqa: E501 - :type user_language_code: str + :param has_birthday: The has_birthday of this CurrentUser. # noqa: E501 + :type has_birthday: bool """ + if self.local_vars_configuration.client_side_validation and has_birthday is None: # noqa: E501 + raise ValueError("Invalid value for `has_birthday`, must not be `None`") # noqa: E501 - self._user_language_code = user_language_code + self._has_birthday = has_birthday @property def has_email(self): @@ -1156,6 +1139,27 @@ def has_pending_email(self, has_pending_email): self._has_pending_email = has_pending_email + @property + def hide_content_filter_settings(self): + """Gets the hide_content_filter_settings of this CurrentUser. # noqa: E501 + + + :return: The hide_content_filter_settings of this CurrentUser. # noqa: E501 + :rtype: bool + """ + return self._hide_content_filter_settings + + @hide_content_filter_settings.setter + def hide_content_filter_settings(self, hide_content_filter_settings): + """Sets the hide_content_filter_settings of this CurrentUser. + + + :param hide_content_filter_settings: The hide_content_filter_settings of this CurrentUser. # noqa: E501 + :type hide_content_filter_settings: bool + """ + + self._hide_content_filter_settings = hide_content_filter_settings + @property def home_location(self): """Gets the home_location of this CurrentUser. # noqa: E501 @@ -1342,7 +1346,7 @@ def last_mobile(self, last_mobile): def last_platform(self): """Gets the last_platform of this CurrentUser. # noqa: E501 - This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 :return: The last_platform of this CurrentUser. # noqa: E501 :rtype: str @@ -1353,7 +1357,7 @@ def last_platform(self): def last_platform(self, last_platform): """Sets the last_platform of this CurrentUser. - This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 :param last_platform: The last_platform of this CurrentUser. # noqa: E501 :type last_platform: str @@ -1432,90 +1436,6 @@ def oculus_id(self, oculus_id): self._oculus_id = oculus_id - @property - def google_id(self): - """Gets the google_id of this CurrentUser. # noqa: E501 - - - :return: The google_id of this CurrentUser. # noqa: E501 - :rtype: str - """ - return self._google_id - - @google_id.setter - def google_id(self, google_id): - """Sets the google_id of this CurrentUser. - - - :param google_id: The google_id of this CurrentUser. # noqa: E501 - :type google_id: str - """ - - self._google_id = google_id - - @property - def google_details(self): - """Gets the google_details of this CurrentUser. # noqa: E501 - - - :return: The google_details of this CurrentUser. # noqa: E501 - :rtype: object - """ - return self._google_details - - @google_details.setter - def google_details(self, google_details): - """Sets the google_details of this CurrentUser. - - - :param google_details: The google_details of this CurrentUser. # noqa: E501 - :type google_details: object - """ - - self._google_details = google_details - - @property - def pico_id(self): - """Gets the pico_id of this CurrentUser. # noqa: E501 - - - :return: The pico_id of this CurrentUser. # noqa: E501 - :rtype: str - """ - return self._pico_id - - @pico_id.setter - def pico_id(self, pico_id): - """Sets the pico_id of this CurrentUser. - - - :param pico_id: The pico_id of this CurrentUser. # noqa: E501 - :type pico_id: str - """ - - self._pico_id = pico_id - - @property - def vive_id(self): - """Gets the vive_id of this CurrentUser. # noqa: E501 - - - :return: The vive_id of this CurrentUser. # noqa: E501 - :rtype: str - """ - return self._vive_id - - @vive_id.setter - def vive_id(self, vive_id): - """Sets the vive_id of this CurrentUser. - - - :param vive_id: The vive_id of this CurrentUser. # noqa: E501 - :type vive_id: str - """ - - self._vive_id = vive_id - @property def offline_friends(self): """Gets the offline_friends of this CurrentUser. # noqa: E501 @@ -1584,25 +1504,25 @@ def past_display_names(self, past_display_names): self._past_display_names = past_display_names @property - def presence(self): - """Gets the presence of this CurrentUser. # noqa: E501 + def pico_id(self): + """Gets the pico_id of this CurrentUser. # noqa: E501 - :return: The presence of this CurrentUser. # noqa: E501 - :rtype: CurrentUserPresence + :return: The pico_id of this CurrentUser. # noqa: E501 + :rtype: str """ - return self._presence + return self._pico_id - @presence.setter - def presence(self, presence): - """Sets the presence of this CurrentUser. + @pico_id.setter + def pico_id(self, pico_id): + """Sets the pico_id of this CurrentUser. - :param presence: The presence of this CurrentUser. # noqa: E501 - :type presence: CurrentUserPresence + :param pico_id: The pico_id of this CurrentUser. # noqa: E501 + :type pico_id: str """ - self._presence = presence + self._pico_id = pico_id @property def platform_history(self): @@ -1625,6 +1545,27 @@ def platform_history(self, platform_history): self._platform_history = platform_history + @property + def presence(self): + """Gets the presence of this CurrentUser. # noqa: E501 + + + :return: The presence of this CurrentUser. # noqa: E501 + :rtype: CurrentUserPresence + """ + return self._presence + + @presence.setter + def presence(self, presence): + """Sets the presence of this CurrentUser. + + + :param presence: The presence of this CurrentUser. # noqa: E501 + :type presence: CurrentUserPresence + """ + + self._presence = presence + @property def profile_pic_override(self): """Gets the profile_pic_override of this CurrentUser. # noqa: E501 @@ -2054,6 +1995,48 @@ def user_icon(self, user_icon): self._user_icon = user_icon + @property + def user_language(self): + """Gets the user_language of this CurrentUser. # noqa: E501 + + + :return: The user_language of this CurrentUser. # noqa: E501 + :rtype: str + """ + return self._user_language + + @user_language.setter + def user_language(self, user_language): + """Sets the user_language of this CurrentUser. + + + :param user_language: The user_language of this CurrentUser. # noqa: E501 + :type user_language: str + """ + + self._user_language = user_language + + @property + def user_language_code(self): + """Gets the user_language_code of this CurrentUser. # noqa: E501 + + + :return: The user_language_code of this CurrentUser. # noqa: E501 + :rtype: str + """ + return self._user_language_code + + @user_language_code.setter + def user_language_code(self, user_language_code): + """Sets the user_language_code of this CurrentUser. + + + :param user_language_code: The user_language_code of this CurrentUser. # noqa: E501 + :type user_language_code: str + """ + + self._user_language_code = user_language_code + @property def username(self): """Gets the username of this CurrentUser. # noqa: E501 @@ -2077,6 +2060,50 @@ def username(self, username): self._username = username + @property + def uses_generated_password(self): + """Gets the uses_generated_password of this CurrentUser. # noqa: E501 + + + :return: The uses_generated_password of this CurrentUser. # noqa: E501 + :rtype: bool + """ + return self._uses_generated_password + + @uses_generated_password.setter + def uses_generated_password(self, uses_generated_password): + """Sets the uses_generated_password of this CurrentUser. + + + :param uses_generated_password: The uses_generated_password of this CurrentUser. # noqa: E501 + :type uses_generated_password: bool + """ + if self.local_vars_configuration.client_side_validation and uses_generated_password is None: # noqa: E501 + raise ValueError("Invalid value for `uses_generated_password`, must not be `None`") # noqa: E501 + + self._uses_generated_password = uses_generated_password + + @property + def vive_id(self): + """Gets the vive_id of this CurrentUser. # noqa: E501 + + + :return: The vive_id of this CurrentUser. # noqa: E501 + :rtype: str + """ + return self._vive_id + + @vive_id.setter + def vive_id(self, vive_id): + """Sets the vive_id of this CurrentUser. + + + :param vive_id: The vive_id of this CurrentUser. # noqa: E501 + :type vive_id: str + """ + + self._vive_id = vive_id + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/current_user_platform_history_inner.py b/vrchatapi/models/current_user_platform_history_inner.py index c435ca90..708896e7 100644 --- a/vrchatapi/models/current_user_platform_history_inner.py +++ b/vrchatapi/models/current_user_platform_history_inner.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -60,7 +60,8 @@ def __init__(self, is_mobile=None, platform=None, recorded=None, local_vars_conf if is_mobile is not None: self.is_mobile = is_mobile - self.platform = platform + if platform is not None: + self.platform = platform if recorded is not None: self.recorded = recorded @@ -89,6 +90,7 @@ def is_mobile(self, is_mobile): def platform(self): """Gets the platform of this CurrentUserPlatformHistoryInner. # noqa: E501 + This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 :return: The platform of this CurrentUserPlatformHistoryInner. # noqa: E501 :rtype: str @@ -99,6 +101,7 @@ def platform(self): def platform(self, platform): """Sets the platform of this CurrentUserPlatformHistoryInner. + This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 :param platform: The platform of this CurrentUserPlatformHistoryInner. # noqa: E501 :type platform: str diff --git a/vrchatapi/models/current_user_presence.py b/vrchatapi/models/current_user_presence.py index 5cbeb465..4982d493 100644 --- a/vrchatapi/models/current_user_presence.py +++ b/vrchatapi/models/current_user_presence.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -37,9 +37,9 @@ class CurrentUserPresence(object): """ openapi_types = { 'avatar_thumbnail': 'str', - 'current_avatar_tags': 'str', - 'display_name': 'str', + 'current_avatar_tags': 'list[str]', 'debugflag': 'str', + 'display_name': 'str', 'groups': 'list[str]', 'id': 'str', 'instance': 'str', @@ -57,8 +57,8 @@ class CurrentUserPresence(object): attribute_map = { 'avatar_thumbnail': 'avatarThumbnail', 'current_avatar_tags': 'currentAvatarTags', - 'display_name': 'displayName', 'debugflag': 'debugflag', + 'display_name': 'displayName', 'groups': 'groups', 'id': 'id', 'instance': 'instance', @@ -73,7 +73,7 @@ class CurrentUserPresence(object): 'world': 'world' } - def __init__(self, avatar_thumbnail=None, current_avatar_tags=None, display_name=None, debugflag=None, groups=None, id=None, instance=None, instance_type=None, is_rejoining=None, platform=None, profile_pic_override=None, status=None, traveling_to_instance=None, traveling_to_world=None, user_icon=None, world=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, avatar_thumbnail=None, current_avatar_tags=None, debugflag=None, display_name=None, groups=None, id=None, instance=None, instance_type=None, is_rejoining=None, platform=None, profile_pic_override=None, status=None, traveling_to_instance=None, traveling_to_world=None, user_icon=None, world=None, local_vars_configuration=None): # noqa: E501 """CurrentUserPresence - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -81,8 +81,8 @@ def __init__(self, avatar_thumbnail=None, current_avatar_tags=None, display_name self._avatar_thumbnail = None self._current_avatar_tags = None - self._display_name = None self._debugflag = None + self._display_name = None self._groups = None self._id = None self._instance = None @@ -100,17 +100,18 @@ def __init__(self, avatar_thumbnail=None, current_avatar_tags=None, display_name self.avatar_thumbnail = avatar_thumbnail if current_avatar_tags is not None: self.current_avatar_tags = current_avatar_tags - if display_name is not None: - self.display_name = display_name if debugflag is not None: self.debugflag = debugflag + if display_name is not None: + self.display_name = display_name self.groups = groups if id is not None: self.id = id self.instance = instance self.instance_type = instance_type self.is_rejoining = is_rejoining - self.platform = platform + if platform is not None: + self.platform = platform self.profile_pic_override = profile_pic_override self.status = status self.traveling_to_instance = traveling_to_instance @@ -147,7 +148,7 @@ def current_avatar_tags(self): :return: The current_avatar_tags of this CurrentUserPresence. # noqa: E501 - :rtype: str + :rtype: list[str] """ return self._current_avatar_tags @@ -157,52 +158,52 @@ def current_avatar_tags(self, current_avatar_tags): :param current_avatar_tags: The current_avatar_tags of this CurrentUserPresence. # noqa: E501 - :type current_avatar_tags: str + :type current_avatar_tags: list[str] """ self._current_avatar_tags = current_avatar_tags @property - def display_name(self): - """Gets the display_name of this CurrentUserPresence. # noqa: E501 + def debugflag(self): + """Gets the debugflag of this CurrentUserPresence. # noqa: E501 - :return: The display_name of this CurrentUserPresence. # noqa: E501 + :return: The debugflag of this CurrentUserPresence. # noqa: E501 :rtype: str """ - return self._display_name + return self._debugflag - @display_name.setter - def display_name(self, display_name): - """Sets the display_name of this CurrentUserPresence. + @debugflag.setter + def debugflag(self, debugflag): + """Sets the debugflag of this CurrentUserPresence. - :param display_name: The display_name of this CurrentUserPresence. # noqa: E501 - :type display_name: str + :param debugflag: The debugflag of this CurrentUserPresence. # noqa: E501 + :type debugflag: str """ - self._display_name = display_name + self._debugflag = debugflag @property - def debugflag(self): - """Gets the debugflag of this CurrentUserPresence. # noqa: E501 + def display_name(self): + """Gets the display_name of this CurrentUserPresence. # noqa: E501 - :return: The debugflag of this CurrentUserPresence. # noqa: E501 + :return: The display_name of this CurrentUserPresence. # noqa: E501 :rtype: str """ - return self._debugflag + return self._display_name - @debugflag.setter - def debugflag(self, debugflag): - """Sets the debugflag of this CurrentUserPresence. + @display_name.setter + def display_name(self, display_name): + """Sets the display_name of this CurrentUserPresence. - :param debugflag: The debugflag of this CurrentUserPresence. # noqa: E501 - :type debugflag: str + :param display_name: The display_name of this CurrentUserPresence. # noqa: E501 + :type display_name: str """ - self._debugflag = debugflag + self._display_name = display_name @property def groups(self): @@ -317,7 +318,7 @@ def is_rejoining(self, is_rejoining): def platform(self): """Gets the platform of this CurrentUserPresence. # noqa: E501 - either a Platform or an empty string # noqa: E501 + This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 :return: The platform of this CurrentUserPresence. # noqa: E501 :rtype: str @@ -328,7 +329,7 @@ def platform(self): def platform(self, platform): """Sets the platform of this CurrentUserPresence. - either a Platform or an empty string # noqa: E501 + This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 :param platform: The platform of this CurrentUserPresence. # noqa: E501 :type platform: str diff --git a/vrchatapi/models/decline_group_invite_request.py b/vrchatapi/models/decline_group_invite_request.py new file mode 100644 index 00000000..b44ea9e2 --- /dev/null +++ b/vrchatapi/models/decline_group_invite_request.py @@ -0,0 +1,131 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class DeclineGroupInviteRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'block': 'bool' + } + + attribute_map = { + 'block': 'block' + } + + def __init__(self, block=False, local_vars_configuration=None): # noqa: E501 + """DeclineGroupInviteRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._block = None + self.discriminator = None + + if block is not None: + self.block = block + + @property + def block(self): + """Gets the block of this DeclineGroupInviteRequest. # noqa: E501 + + + :return: The block of this DeclineGroupInviteRequest. # noqa: E501 + :rtype: bool + """ + return self._block + + @block.setter + def block(self, block): + """Sets the block of this DeclineGroupInviteRequest. + + + :param block: The block of this DeclineGroupInviteRequest. # noqa: E501 + :type block: bool + """ + + self._block = block + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, DeclineGroupInviteRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, DeclineGroupInviteRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index 94f8d919..3b05c0ff 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -31,12 +31,12 @@ class DeveloperType(object): """ allowed enum values """ - NONE = "none" - TRUSTED = "trusted" INTERNAL = "internal" MODERATOR = "moderator" + NONE = "none" + TRUSTED = "trusted" - allowable_values = [NONE, TRUSTED, INTERNAL, MODERATOR] # noqa: E501 + allowable_values = [INTERNAL, MODERATOR, NONE, TRUSTED] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/disable2_fa_result.py b/vrchatapi/models/disable2_fa_result.py index f6f46b78..95d82fae 100644 --- a/vrchatapi/models/disable2_fa_result.py +++ b/vrchatapi/models/disable2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/discord_details.py b/vrchatapi/models/discord_details.py index c309c5e5..a85f8192 100644 --- a/vrchatapi/models/discord_details.py +++ b/vrchatapi/models/discord_details.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index 799b46eb..e3e80248 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -139,7 +139,7 @@ def name(self, name): def platform(self): """Gets the platform of this DynamicContentRow. # noqa: E501 - Usually \"ThisPlatformSupported\", but can also be other values such as \"all\" or platform specific identifiers. # noqa: E501 + This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 :return: The platform of this DynamicContentRow. # noqa: E501 :rtype: str @@ -150,16 +150,13 @@ def platform(self): def platform(self, platform): """Sets the platform of this DynamicContentRow. - Usually \"ThisPlatformSupported\", but can also be other values such as \"all\" or platform specific identifiers. # noqa: E501 + This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 :param platform: The platform of this DynamicContentRow. # noqa: E501 :type platform: str """ if self.local_vars_configuration.client_side_validation and platform is None: # noqa: E501 raise ValueError("Invalid value for `platform`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - platform is not None and len(platform) < 1): - raise ValueError("Invalid value for `platform`, length must be greater than or equal to `1`") # noqa: E501 self._platform = platform @@ -245,7 +242,7 @@ def sort_ownership(self, sort_ownership): def tag(self): """Gets the tag of this DynamicContentRow. # noqa: E501 - Tag to filter content for this row. # noqa: E501 + Tags are a way to grant various access, assign restrictions or other kinds of metadata to various to objects such as worlds, users and avatars. System tags starting with `system_` are granted automatically by the system, while admin tags with `admin_` are granted manually. More prefixes such as `language_ ` (to indicate that a player can speak the tagged language), and `author_tag_` (provided by a world author for search and sorting) exist as well. # noqa: E501 :return: The tag of this DynamicContentRow. # noqa: E501 :rtype: str @@ -256,7 +253,7 @@ def tag(self): def tag(self, tag): """Sets the tag of this DynamicContentRow. - Tag to filter content for this row. # noqa: E501 + Tags are a way to grant various access, assign restrictions or other kinds of metadata to various to objects such as worlds, users and avatars. System tags starting with `system_` are granted automatically by the system, while admin tags with `admin_` are granted manually. More prefixes such as `language_ ` (to indicate that a player can speak the tagged language), and `author_tag_` (provided by a world author for search and sorting) exist as well. # noqa: E501 :param tag: The tag of this DynamicContentRow. # noqa: E501 :type tag: str diff --git a/vrchatapi/models/economy_account.py b/vrchatapi/models/economy_account.py index 94412a0f..65e0f92e 100644 --- a/vrchatapi/models/economy_account.py +++ b/vrchatapi/models/economy_account.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/equip_inventory_item_request.py b/vrchatapi/models/equip_inventory_item_request.py new file mode 100644 index 00000000..948c38c0 --- /dev/null +++ b/vrchatapi/models/equip_inventory_item_request.py @@ -0,0 +1,132 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class EquipInventoryItemRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'equip_slot': 'InventoryEquipSlot' + } + + attribute_map = { + 'equip_slot': 'equipSlot' + } + + def __init__(self, equip_slot=None, local_vars_configuration=None): # noqa: E501 + """EquipInventoryItemRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._equip_slot = None + self.discriminator = None + + self.equip_slot = equip_slot + + @property + def equip_slot(self): + """Gets the equip_slot of this EquipInventoryItemRequest. # noqa: E501 + + + :return: The equip_slot of this EquipInventoryItemRequest. # noqa: E501 + :rtype: InventoryEquipSlot + """ + return self._equip_slot + + @equip_slot.setter + def equip_slot(self, equip_slot): + """Sets the equip_slot of this EquipInventoryItemRequest. + + + :param equip_slot: The equip_slot of this EquipInventoryItemRequest. # noqa: E501 + :type equip_slot: InventoryEquipSlot + """ + if self.local_vars_configuration.client_side_validation and equip_slot is None: # noqa: E501 + raise ValueError("Invalid value for `equip_slot`, must not be `None`") # noqa: E501 + + self._equip_slot = equip_slot + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, EquipInventoryItemRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, EquipInventoryItemRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index 0a573c54..05f6de4e 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index 06cc3078..4b966246 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index 6d82461e..15264da7 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_limits.py b/vrchatapi/models/favorite_group_limits.py index 5cc4d677..bdc04f4f 100644 --- a/vrchatapi/models/favorite_group_limits.py +++ b/vrchatapi/models/favorite_group_limits.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -38,16 +38,18 @@ class FavoriteGroupLimits(object): openapi_types = { 'avatar': 'int', 'friend': 'int', + 'vrc_plus_world': 'int', 'world': 'int' } attribute_map = { 'avatar': 'avatar', 'friend': 'friend', + 'vrc_plus_world': 'vrcPlusWorld', 'world': 'world' } - def __init__(self, avatar=None, friend=None, world=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, avatar=None, friend=None, vrc_plus_world=None, world=None, local_vars_configuration=None): # noqa: E501 """FavoriteGroupLimits - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -55,11 +57,13 @@ def __init__(self, avatar=None, friend=None, world=None, local_vars_configuratio self._avatar = None self._friend = None + self._vrc_plus_world = None self._world = None self.discriminator = None self.avatar = avatar self.friend = friend + self.vrc_plus_world = vrc_plus_world self.world = world @property @@ -108,6 +112,29 @@ def friend(self, friend): self._friend = friend + @property + def vrc_plus_world(self): + """Gets the vrc_plus_world of this FavoriteGroupLimits. # noqa: E501 + + + :return: The vrc_plus_world of this FavoriteGroupLimits. # noqa: E501 + :rtype: int + """ + return self._vrc_plus_world + + @vrc_plus_world.setter + def vrc_plus_world(self, vrc_plus_world): + """Sets the vrc_plus_world of this FavoriteGroupLimits. + + + :param vrc_plus_world: The vrc_plus_world of this FavoriteGroupLimits. # noqa: E501 + :type vrc_plus_world: int + """ + if self.local_vars_configuration.client_side_validation and vrc_plus_world is None: # noqa: E501 + raise ValueError("Invalid value for `vrc_plus_world`, must not be `None`") # noqa: E501 + + self._vrc_plus_world = vrc_plus_world + @property def world(self): """Gets the world of this FavoriteGroupLimits. # noqa: E501 diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index 71279261..0cb5f3ab 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -31,11 +31,11 @@ class FavoriteGroupVisibility(object): """ allowed enum values """ - PRIVATE = "private" FRIENDS = "friends" + PRIVATE = "private" PUBLIC = "public" - allowable_values = [PRIVATE, FRIENDS, PUBLIC] # noqa: E501 + allowable_values = [FRIENDS, PRIVATE, PUBLIC] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/favorite_limits.py b/vrchatapi/models/favorite_limits.py index 474b2213..fa1d001a 100644 --- a/vrchatapi/models/favorite_limits.py +++ b/vrchatapi/models/favorite_limits.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index f4dddcb7..4eabb732 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -31,11 +31,11 @@ class FavoriteType(object): """ allowed enum values """ - WORLD = "world" - FRIEND = "friend" AVATAR = "avatar" + FRIEND = "friend" + WORLD = "world" - allowable_values = [WORLD, FRIEND, AVATAR] # noqa: E501 + allowable_values = [AVATAR, FRIEND, WORLD] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/favorited_world.py b/vrchatapi/models/favorited_world.py index a109857a..6dd2e428 100644 --- a/vrchatapi/models/favorited_world.py +++ b/vrchatapi/models/favorited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -39,15 +39,13 @@ class FavoritedWorld(object): 'author_id': 'str', 'author_name': 'str', 'capacity': 'int', - 'description': 'str', - 'recommended_capacity': 'int', 'created_at': 'datetime', 'default_content_settings': 'InstanceContentSettings', - 'favorites': 'int', + 'description': 'str', 'favorite_group': 'str', 'favorite_id': 'str', + 'favorites': 'int', 'featured': 'bool', - 'visits': 'int', 'heat': 'int', 'id': 'str', 'image_url': 'str', @@ -58,29 +56,29 @@ class FavoritedWorld(object): 'popularity': 'int', 'preview_youtube_id': 'str', 'publication_date': 'str', + 'recommended_capacity': 'int', 'release_status': 'ReleaseStatus', 'tags': 'list[str]', 'thumbnail_image_url': 'str', + 'udon_products': 'list[str]', 'unity_packages': 'list[UnityPackage]', 'updated_at': 'datetime', 'url_list': 'list[str]', - 'udon_products': 'list[str]', - 'version': 'int' + 'version': 'int', + 'visits': 'int' } attribute_map = { 'author_id': 'authorId', 'author_name': 'authorName', 'capacity': 'capacity', - 'description': 'description', - 'recommended_capacity': 'recommendedCapacity', 'created_at': 'created_at', 'default_content_settings': 'defaultContentSettings', - 'favorites': 'favorites', + 'description': 'description', 'favorite_group': 'favoriteGroup', 'favorite_id': 'favoriteId', + 'favorites': 'favorites', 'featured': 'featured', - 'visits': 'visits', 'heat': 'heat', 'id': 'id', 'image_url': 'imageUrl', @@ -91,17 +89,19 @@ class FavoritedWorld(object): 'popularity': 'popularity', 'preview_youtube_id': 'previewYoutubeId', 'publication_date': 'publicationDate', + 'recommended_capacity': 'recommendedCapacity', 'release_status': 'releaseStatus', 'tags': 'tags', 'thumbnail_image_url': 'thumbnailImageUrl', + 'udon_products': 'udonProducts', 'unity_packages': 'unityPackages', 'updated_at': 'updated_at', 'url_list': 'urlList', - 'udon_products': 'udonProducts', - 'version': 'version' + 'version': 'version', + 'visits': 'visits' } - def __init__(self, author_id=None, author_name=None, capacity=None, description=None, recommended_capacity=None, created_at=None, default_content_settings=None, favorites=0, favorite_group=None, favorite_id=None, featured=False, visits=0, heat=0, id=None, image_url=None, labs_publication_date=None, name=None, occupants=0, organization='vrchat', popularity=0, preview_youtube_id=None, publication_date=None, release_status=None, tags=None, thumbnail_image_url=None, unity_packages=None, updated_at=None, url_list=None, udon_products=None, version=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, author_id=None, author_name=None, capacity=None, created_at=None, default_content_settings=None, description=None, favorite_group=None, favorite_id=None, favorites=0, featured=False, heat=0, id=None, image_url=None, labs_publication_date=None, name=None, occupants=0, organization='vrchat', popularity=0, preview_youtube_id=None, publication_date=None, recommended_capacity=None, release_status=None, tags=None, thumbnail_image_url=None, udon_products=None, unity_packages=None, updated_at=None, url_list=None, version=None, visits=0, local_vars_configuration=None): # noqa: E501 """FavoritedWorld - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -110,15 +110,13 @@ def __init__(self, author_id=None, author_name=None, capacity=None, description= self._author_id = None self._author_name = None self._capacity = None - self._description = None - self._recommended_capacity = None self._created_at = None self._default_content_settings = None - self._favorites = None + self._description = None self._favorite_group = None self._favorite_id = None + self._favorites = None self._featured = None - self._visits = None self._heat = None self._id = None self._image_url = None @@ -129,51 +127,67 @@ def __init__(self, author_id=None, author_name=None, capacity=None, description= self._popularity = None self._preview_youtube_id = None self._publication_date = None + self._recommended_capacity = None self._release_status = None self._tags = None self._thumbnail_image_url = None + self._udon_products = None self._unity_packages = None self._updated_at = None self._url_list = None - self._udon_products = None self._version = None + self._visits = None self.discriminator = None if author_id is not None: self.author_id = author_id self.author_name = author_name self.capacity = capacity - self.description = description - if recommended_capacity is not None: - self.recommended_capacity = recommended_capacity - self.created_at = created_at + if created_at is not None: + self.created_at = created_at if default_content_settings is not None: self.default_content_settings = default_content_settings - self.favorites = favorites + if description is not None: + self.description = description self.favorite_group = favorite_group self.favorite_id = favorite_id - self.featured = featured - if visits is not None: - self.visits = visits - self.heat = heat + if favorites is not None: + self.favorites = favorites + if featured is not None: + self.featured = featured + if heat is not None: + self.heat = heat self.id = id self.image_url = image_url - self.labs_publication_date = labs_publication_date + if labs_publication_date is not None: + self.labs_publication_date = labs_publication_date self.name = name self.occupants = occupants - self.organization = organization - self.popularity = popularity + if organization is not None: + self.organization = organization + if popularity is not None: + self.popularity = popularity self.preview_youtube_id = preview_youtube_id - self.publication_date = publication_date + if publication_date is not None: + self.publication_date = publication_date + if recommended_capacity is not None: + self.recommended_capacity = recommended_capacity self.release_status = release_status - self.tags = tags + if tags is not None: + self.tags = tags self.thumbnail_image_url = thumbnail_image_url - self.unity_packages = unity_packages - self.updated_at = updated_at - self.url_list = url_list if udon_products is not None: self.udon_products = udon_products - self.version = version + if unity_packages is not None: + self.unity_packages = unity_packages + if updated_at is not None: + self.updated_at = updated_at + if url_list is not None: + self.url_list = url_list + if version is not None: + self.version = version + if visits is not None: + self.visits = visits @property def author_id(self): @@ -247,53 +261,6 @@ def capacity(self, capacity): self._capacity = capacity - @property - def description(self): - """Gets the description of this FavoritedWorld. # noqa: E501 - - - :return: The description of this FavoritedWorld. # noqa: E501 - :rtype: str - """ - return self._description - - @description.setter - def description(self, description): - """Sets the description of this FavoritedWorld. - - - :param description: The description of this FavoritedWorld. # noqa: E501 - :type description: str - """ - if self.local_vars_configuration.client_side_validation and description is None: # noqa: E501 - raise ValueError("Invalid value for `description`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - description is not None and len(description) < 1): - raise ValueError("Invalid value for `description`, length must be greater than or equal to `1`") # noqa: E501 - - self._description = description - - @property - def recommended_capacity(self): - """Gets the recommended_capacity of this FavoritedWorld. # noqa: E501 - - - :return: The recommended_capacity of this FavoritedWorld. # noqa: E501 - :rtype: int - """ - return self._recommended_capacity - - @recommended_capacity.setter - def recommended_capacity(self, recommended_capacity): - """Sets the recommended_capacity of this FavoritedWorld. - - - :param recommended_capacity: The recommended_capacity of this FavoritedWorld. # noqa: E501 - :type recommended_capacity: int - """ - - self._recommended_capacity = recommended_capacity - @property def created_at(self): """Gets the created_at of this FavoritedWorld. # noqa: E501 @@ -312,8 +279,6 @@ def created_at(self, created_at): :param created_at: The created_at of this FavoritedWorld. # noqa: E501 :type created_at: datetime """ - if self.local_vars_configuration.client_side_validation and created_at is None: # noqa: E501 - raise ValueError("Invalid value for `created_at`, must not be `None`") # noqa: E501 self._created_at = created_at @@ -339,30 +304,28 @@ def default_content_settings(self, default_content_settings): self._default_content_settings = default_content_settings @property - def favorites(self): - """Gets the favorites of this FavoritedWorld. # noqa: E501 + def description(self): + """Gets the description of this FavoritedWorld. # noqa: E501 - :return: The favorites of this FavoritedWorld. # noqa: E501 - :rtype: int + :return: The description of this FavoritedWorld. # noqa: E501 + :rtype: str """ - return self._favorites + return self._description - @favorites.setter - def favorites(self, favorites): - """Sets the favorites of this FavoritedWorld. + @description.setter + def description(self, description): + """Sets the description of this FavoritedWorld. - :param favorites: The favorites of this FavoritedWorld. # noqa: E501 - :type favorites: int + :param description: The description of this FavoritedWorld. # noqa: E501 + :type description: str """ - if self.local_vars_configuration.client_side_validation and favorites is None: # noqa: E501 - raise ValueError("Invalid value for `favorites`, must not be `None`") # noqa: E501 if (self.local_vars_configuration.client_side_validation and - favorites is not None and favorites < 0): # noqa: E501 - raise ValueError("Invalid value for `favorites`, must be a value greater than or equal to `0`") # noqa: E501 + description is not None and len(description) < 1): + raise ValueError("Invalid value for `description`, length must be greater than or equal to `1`") # noqa: E501 - self._favorites = favorites + self._description = description @property def favorite_group(self): @@ -413,6 +376,30 @@ def favorite_id(self, favorite_id): self._favorite_id = favorite_id + @property + def favorites(self): + """Gets the favorites of this FavoritedWorld. # noqa: E501 + + + :return: The favorites of this FavoritedWorld. # noqa: E501 + :rtype: int + """ + return self._favorites + + @favorites.setter + def favorites(self, favorites): + """Sets the favorites of this FavoritedWorld. + + + :param favorites: The favorites of this FavoritedWorld. # noqa: E501 + :type favorites: int + """ + if (self.local_vars_configuration.client_side_validation and + favorites is not None and favorites < 0): # noqa: E501 + raise ValueError("Invalid value for `favorites`, must be a value greater than or equal to `0`") # noqa: E501 + + self._favorites = favorites + @property def featured(self): """Gets the featured of this FavoritedWorld. # noqa: E501 @@ -431,35 +418,9 @@ def featured(self, featured): :param featured: The featured of this FavoritedWorld. # noqa: E501 :type featured: bool """ - if self.local_vars_configuration.client_side_validation and featured is None: # noqa: E501 - raise ValueError("Invalid value for `featured`, must not be `None`") # noqa: E501 self._featured = featured - @property - def visits(self): - """Gets the visits of this FavoritedWorld. # noqa: E501 - - - :return: The visits of this FavoritedWorld. # noqa: E501 - :rtype: int - """ - return self._visits - - @visits.setter - def visits(self, visits): - """Sets the visits of this FavoritedWorld. - - - :param visits: The visits of this FavoritedWorld. # noqa: E501 - :type visits: int - """ - if (self.local_vars_configuration.client_side_validation and - visits is not None and visits < 0): # noqa: E501 - raise ValueError("Invalid value for `visits`, must be a value greater than or equal to `0`") # noqa: E501 - - self._visits = visits - @property def heat(self): """Gets the heat of this FavoritedWorld. # noqa: E501 @@ -478,8 +439,6 @@ def heat(self, heat): :param heat: The heat of this FavoritedWorld. # noqa: E501 :type heat: int """ - if self.local_vars_configuration.client_side_validation and heat is None: # noqa: E501 - raise ValueError("Invalid value for `heat`, must not be `None`") # noqa: E501 if (self.local_vars_configuration.client_side_validation and heat is not None and heat < 0): # noqa: E501 raise ValueError("Invalid value for `heat`, must be a value greater than or equal to `0`") # noqa: E501 @@ -555,8 +514,6 @@ def labs_publication_date(self, labs_publication_date): :param labs_publication_date: The labs_publication_date of this FavoritedWorld. # noqa: E501 :type labs_publication_date: str """ - if self.local_vars_configuration.client_side_validation and labs_publication_date is None: # noqa: E501 - raise ValueError("Invalid value for `labs_publication_date`, must not be `None`") # noqa: E501 if (self.local_vars_configuration.client_side_validation and labs_publication_date is not None and len(labs_publication_date) < 1): raise ValueError("Invalid value for `labs_publication_date`, length must be greater than or equal to `1`") # noqa: E501 @@ -633,8 +590,6 @@ def organization(self, organization): :param organization: The organization of this FavoritedWorld. # noqa: E501 :type organization: str """ - if self.local_vars_configuration.client_side_validation and organization is None: # noqa: E501 - raise ValueError("Invalid value for `organization`, must not be `None`") # noqa: E501 if (self.local_vars_configuration.client_side_validation and organization is not None and len(organization) < 1): raise ValueError("Invalid value for `organization`, length must be greater than or equal to `1`") # noqa: E501 @@ -659,8 +614,6 @@ def popularity(self, popularity): :param popularity: The popularity of this FavoritedWorld. # noqa: E501 :type popularity: int """ - if self.local_vars_configuration.client_side_validation and popularity is None: # noqa: E501 - raise ValueError("Invalid value for `popularity`, must not be `None`") # noqa: E501 if (self.local_vars_configuration.client_side_validation and popularity is not None and popularity < 0): # noqa: E501 raise ValueError("Invalid value for `popularity`, must be a value greater than or equal to `0`") # noqa: E501 @@ -706,14 +659,33 @@ def publication_date(self, publication_date): :param publication_date: The publication_date of this FavoritedWorld. # noqa: E501 :type publication_date: str """ - if self.local_vars_configuration.client_side_validation and publication_date is None: # noqa: E501 - raise ValueError("Invalid value for `publication_date`, must not be `None`") # noqa: E501 if (self.local_vars_configuration.client_side_validation and publication_date is not None and len(publication_date) < 1): raise ValueError("Invalid value for `publication_date`, length must be greater than or equal to `1`") # noqa: E501 self._publication_date = publication_date + @property + def recommended_capacity(self): + """Gets the recommended_capacity of this FavoritedWorld. # noqa: E501 + + + :return: The recommended_capacity of this FavoritedWorld. # noqa: E501 + :rtype: int + """ + return self._recommended_capacity + + @recommended_capacity.setter + def recommended_capacity(self, recommended_capacity): + """Sets the recommended_capacity of this FavoritedWorld. + + + :param recommended_capacity: The recommended_capacity of this FavoritedWorld. # noqa: E501 + :type recommended_capacity: int + """ + + self._recommended_capacity = recommended_capacity + @property def release_status(self): """Gets the release_status of this FavoritedWorld. # noqa: E501 @@ -757,8 +729,6 @@ def tags(self, tags): :param tags: The tags of this FavoritedWorld. # noqa: E501 :type tags: list[str] """ - if self.local_vars_configuration.client_side_validation and tags is None: # noqa: E501 - raise ValueError("Invalid value for `tags`, must not be `None`") # noqa: E501 self._tags = tags @@ -788,6 +758,27 @@ def thumbnail_image_url(self, thumbnail_image_url): self._thumbnail_image_url = thumbnail_image_url + @property + def udon_products(self): + """Gets the udon_products of this FavoritedWorld. # noqa: E501 + + + :return: The udon_products of this FavoritedWorld. # noqa: E501 + :rtype: list[str] + """ + return self._udon_products + + @udon_products.setter + def udon_products(self, udon_products): + """Sets the udon_products of this FavoritedWorld. + + + :param udon_products: The udon_products of this FavoritedWorld. # noqa: E501 + :type udon_products: list[str] + """ + + self._udon_products = udon_products + @property def unity_packages(self): """Gets the unity_packages of this FavoritedWorld. # noqa: E501 @@ -808,8 +799,6 @@ def unity_packages(self, unity_packages): :param unity_packages: The unity_packages of this FavoritedWorld. # noqa: E501 :type unity_packages: list[UnityPackage] """ - if self.local_vars_configuration.client_side_validation and unity_packages is None: # noqa: E501 - raise ValueError("Invalid value for `unity_packages`, must not be `None`") # noqa: E501 if (self.local_vars_configuration.client_side_validation and unity_packages is not None and len(unity_packages) < 1): raise ValueError("Invalid value for `unity_packages`, number of items must be greater than or equal to `1`") # noqa: E501 @@ -834,8 +823,6 @@ def updated_at(self, updated_at): :param updated_at: The updated_at of this FavoritedWorld. # noqa: E501 :type updated_at: datetime """ - if self.local_vars_configuration.client_side_validation and updated_at is None: # noqa: E501 - raise ValueError("Invalid value for `updated_at`, must not be `None`") # noqa: E501 self._updated_at = updated_at @@ -857,32 +844,9 @@ def url_list(self, url_list): :param url_list: The url_list of this FavoritedWorld. # noqa: E501 :type url_list: list[str] """ - if self.local_vars_configuration.client_side_validation and url_list is None: # noqa: E501 - raise ValueError("Invalid value for `url_list`, must not be `None`") # noqa: E501 self._url_list = url_list - @property - def udon_products(self): - """Gets the udon_products of this FavoritedWorld. # noqa: E501 - - - :return: The udon_products of this FavoritedWorld. # noqa: E501 - :rtype: list[str] - """ - return self._udon_products - - @udon_products.setter - def udon_products(self, udon_products): - """Sets the udon_products of this FavoritedWorld. - - - :param udon_products: The udon_products of this FavoritedWorld. # noqa: E501 - :type udon_products: list[str] - """ - - self._udon_products = udon_products - @property def version(self): """Gets the version of this FavoritedWorld. # noqa: E501 @@ -901,14 +865,36 @@ def version(self, version): :param version: The version of this FavoritedWorld. # noqa: E501 :type version: int """ - if self.local_vars_configuration.client_side_validation and version is None: # noqa: E501 - raise ValueError("Invalid value for `version`, must not be `None`") # noqa: E501 if (self.local_vars_configuration.client_side_validation and version is not None and version < 1): # noqa: E501 raise ValueError("Invalid value for `version`, must be a value greater than or equal to `1`") # noqa: E501 self._version = version + @property + def visits(self): + """Gets the visits of this FavoritedWorld. # noqa: E501 + + + :return: The visits of this FavoritedWorld. # noqa: E501 + :rtype: int + """ + return self._visits + + @visits.setter + def visits(self, visits): + """Sets the visits of this FavoritedWorld. + + + :param visits: The visits of this FavoritedWorld. # noqa: E501 + :type visits: int + """ + if (self.local_vars_configuration.client_side_validation and + visits is not None and visits < 0): # noqa: E501 + raise ValueError("Invalid value for `visits`, must be a value greater than or equal to `0`") # noqa: E501 + + self._visits = visits + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/feedback.py b/vrchatapi/models/feedback.py index 28975195..155cb534 100644 --- a/vrchatapi/models/feedback.py +++ b/vrchatapi/models/feedback.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index 24b402fd..28c035fb 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,11 +36,15 @@ class File(object): and the value is json key in definition. """ openapi_types = { - 'animation_style': 'str', - 'mask_tag': 'str', + 'animation_style': 'ImageAnimationStyle', 'extension': 'str', + 'frames': 'int', + 'frames_over_time': 'int', 'id': 'str', + 'loop_style': 'ImageLoopStyle', + 'mask_tag': 'ImageMask', 'mime_type': 'MIMEType', + 'modified_thumbnail_file_name': 'str', 'name': 'str', 'owner_id': 'str', 'tags': 'list[str]', @@ -49,27 +53,35 @@ class File(object): attribute_map = { 'animation_style': 'animationStyle', - 'mask_tag': 'maskTag', 'extension': 'extension', + 'frames': 'frames', + 'frames_over_time': 'framesOverTime', 'id': 'id', + 'loop_style': 'loopStyle', + 'mask_tag': 'maskTag', 'mime_type': 'mimeType', + 'modified_thumbnail_file_name': 'modifiedThumbnailFileName', 'name': 'name', 'owner_id': 'ownerId', 'tags': 'tags', 'versions': 'versions' } - def __init__(self, animation_style=None, mask_tag=None, extension=None, id=None, mime_type=None, name=None, owner_id=None, tags=None, versions=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, animation_style=None, extension=None, frames=None, frames_over_time=None, id=None, loop_style=None, mask_tag=None, mime_type=None, modified_thumbnail_file_name=None, name=None, owner_id=None, tags=None, versions=None, local_vars_configuration=None): # noqa: E501 """File - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._animation_style = None - self._mask_tag = None self._extension = None + self._frames = None + self._frames_over_time = None self._id = None + self._loop_style = None + self._mask_tag = None self._mime_type = None + self._modified_thumbnail_file_name = None self._name = None self._owner_id = None self._tags = None @@ -78,11 +90,19 @@ def __init__(self, animation_style=None, mask_tag=None, extension=None, id=None, if animation_style is not None: self.animation_style = animation_style - if mask_tag is not None: - self.mask_tag = mask_tag self.extension = extension + if frames is not None: + self.frames = frames + if frames_over_time is not None: + self.frames_over_time = frames_over_time self.id = id + if loop_style is not None: + self.loop_style = loop_style + if mask_tag is not None: + self.mask_tag = mask_tag self.mime_type = mime_type + if modified_thumbnail_file_name is not None: + self.modified_thumbnail_file_name = modified_thumbnail_file_name self.name = name self.owner_id = owner_id self.tags = tags @@ -94,7 +114,7 @@ def animation_style(self): :return: The animation_style of this File. # noqa: E501 - :rtype: str + :rtype: ImageAnimationStyle """ return self._animation_style @@ -104,32 +124,11 @@ def animation_style(self, animation_style): :param animation_style: The animation_style of this File. # noqa: E501 - :type animation_style: str + :type animation_style: ImageAnimationStyle """ self._animation_style = animation_style - @property - def mask_tag(self): - """Gets the mask_tag of this File. # noqa: E501 - - - :return: The mask_tag of this File. # noqa: E501 - :rtype: str - """ - return self._mask_tag - - @mask_tag.setter - def mask_tag(self, mask_tag): - """Sets the mask_tag of this File. - - - :param mask_tag: The mask_tag of this File. # noqa: E501 - :type mask_tag: str - """ - - self._mask_tag = mask_tag - @property def extension(self): """Gets the extension of this File. # noqa: E501 @@ -156,6 +155,64 @@ def extension(self, extension): self._extension = extension + @property + def frames(self): + """Gets the frames of this File. # noqa: E501 + + The number of frames for animated spritesheet images. # noqa: E501 + + :return: The frames of this File. # noqa: E501 + :rtype: int + """ + return self._frames + + @frames.setter + def frames(self, frames): + """Sets the frames of this File. + + The number of frames for animated spritesheet images. # noqa: E501 + + :param frames: The frames of this File. # noqa: E501 + :type frames: int + """ + if (self.local_vars_configuration.client_side_validation and + frames is not None and frames > 64): # noqa: E501 + raise ValueError("Invalid value for `frames`, must be a value less than or equal to `64`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + frames is not None and frames < 2): # noqa: E501 + raise ValueError("Invalid value for `frames`, must be a value greater than or equal to `2`") # noqa: E501 + + self._frames = frames + + @property + def frames_over_time(self): + """Gets the frames_over_time of this File. # noqa: E501 + + The frames per second for animated spritesheet images. # noqa: E501 + + :return: The frames_over_time of this File. # noqa: E501 + :rtype: int + """ + return self._frames_over_time + + @frames_over_time.setter + def frames_over_time(self, frames_over_time): + """Sets the frames_over_time of this File. + + The frames per second for animated spritesheet images. # noqa: E501 + + :param frames_over_time: The frames_over_time of this File. # noqa: E501 + :type frames_over_time: int + """ + if (self.local_vars_configuration.client_side_validation and + frames_over_time is not None and frames_over_time > 64): # noqa: E501 + raise ValueError("Invalid value for `frames_over_time`, must be a value less than or equal to `64`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + frames_over_time is not None and frames_over_time < 1): # noqa: E501 + raise ValueError("Invalid value for `frames_over_time`, must be a value greater than or equal to `1`") # noqa: E501 + + self._frames_over_time = frames_over_time + @property def id(self): """Gets the id of this File. # noqa: E501 @@ -179,6 +236,48 @@ def id(self, id): self._id = id + @property + def loop_style(self): + """Gets the loop_style of this File. # noqa: E501 + + + :return: The loop_style of this File. # noqa: E501 + :rtype: ImageLoopStyle + """ + return self._loop_style + + @loop_style.setter + def loop_style(self, loop_style): + """Sets the loop_style of this File. + + + :param loop_style: The loop_style of this File. # noqa: E501 + :type loop_style: ImageLoopStyle + """ + + self._loop_style = loop_style + + @property + def mask_tag(self): + """Gets the mask_tag of this File. # noqa: E501 + + + :return: The mask_tag of this File. # noqa: E501 + :rtype: ImageMask + """ + return self._mask_tag + + @mask_tag.setter + def mask_tag(self, mask_tag): + """Sets the mask_tag of this File. + + + :param mask_tag: The mask_tag of this File. # noqa: E501 + :type mask_tag: ImageMask + """ + + self._mask_tag = mask_tag + @property def mime_type(self): """Gets the mime_type of this File. # noqa: E501 @@ -202,6 +301,27 @@ def mime_type(self, mime_type): self._mime_type = mime_type + @property + def modified_thumbnail_file_name(self): + """Gets the modified_thumbnail_file_name of this File. # noqa: E501 + + + :return: The modified_thumbnail_file_name of this File. # noqa: E501 + :rtype: str + """ + return self._modified_thumbnail_file_name + + @modified_thumbnail_file_name.setter + def modified_thumbnail_file_name(self, modified_thumbnail_file_name): + """Sets the modified_thumbnail_file_name of this File. + + + :param modified_thumbnail_file_name: The modified_thumbnail_file_name of this File. # noqa: E501 + :type modified_thumbnail_file_name: str + """ + + self._modified_thumbnail_file_name = modified_thumbnail_file_name + @property def name(self): """Gets the name of this File. # noqa: E501 diff --git a/vrchatapi/models/file_analysis.py b/vrchatapi/models/file_analysis.py index 9c2c2add..d419b2ac 100644 --- a/vrchatapi/models/file_analysis.py +++ b/vrchatapi/models/file_analysis.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_analysis_avatar_stats.py b/vrchatapi/models/file_analysis_avatar_stats.py index 1cd45a83..8d845f5f 100644 --- a/vrchatapi/models/file_analysis_avatar_stats.py +++ b/vrchatapi/models/file_analysis_avatar_stats.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index c1fbf4ab..c2ae2c82 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index 8ed1ace6..975adbda 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -31,12 +31,12 @@ class FileStatus(object): """ allowed enum values """ - WAITING = "waiting" COMPLETE = "complete" NONE = "none" QUEUED = "queued" + WAITING = "waiting" - allowable_values = [WAITING, COMPLETE, NONE, QUEUED] # noqa: E501 + allowable_values = [COMPLETE, NONE, QUEUED, WAITING] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index e241a16e..77d0a5b2 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index 5af8a010..c75c65b3 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index 33baf139..ffc5bcc6 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,69 +36,71 @@ class FileVersionUploadStatus(object): and the value is json key in definition. """ openapi_types = { - 'upload_id': 'str', + 'etags': 'list[object]', 'file_name': 'str', - 'next_part_number': 'int', 'max_parts': 'int', + 'next_part_number': 'int', 'parts': 'list[object]', - 'etags': 'list[object]' + 'upload_id': 'str' } attribute_map = { - 'upload_id': 'uploadId', + 'etags': 'etags', 'file_name': 'fileName', - 'next_part_number': 'nextPartNumber', 'max_parts': 'maxParts', + 'next_part_number': 'nextPartNumber', 'parts': 'parts', - 'etags': 'etags' + 'upload_id': 'uploadId' } - def __init__(self, upload_id=None, file_name=None, next_part_number=None, max_parts=None, parts=None, etags=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, etags=None, file_name=None, max_parts=None, next_part_number=None, parts=None, upload_id=None, local_vars_configuration=None): # noqa: E501 """FileVersionUploadStatus - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._upload_id = None + self._etags = None self._file_name = None - self._next_part_number = None self._max_parts = None + self._next_part_number = None self._parts = None - self._etags = None + self._upload_id = None self.discriminator = None - self.upload_id = upload_id + self.etags = etags self.file_name = file_name - self.next_part_number = next_part_number self.max_parts = max_parts + self.next_part_number = next_part_number self.parts = parts - self.etags = etags + self.upload_id = upload_id @property - def upload_id(self): - """Gets the upload_id of this FileVersionUploadStatus. # noqa: E501 + def etags(self): + """Gets the etags of this FileVersionUploadStatus. # noqa: E501 + Unknown # noqa: E501 - :return: The upload_id of this FileVersionUploadStatus. # noqa: E501 - :rtype: str + :return: The etags of this FileVersionUploadStatus. # noqa: E501 + :rtype: list[object] """ - return self._upload_id + return self._etags - @upload_id.setter - def upload_id(self, upload_id): - """Sets the upload_id of this FileVersionUploadStatus. + @etags.setter + def etags(self, etags): + """Sets the etags of this FileVersionUploadStatus. + Unknown # noqa: E501 - :param upload_id: The upload_id of this FileVersionUploadStatus. # noqa: E501 - :type upload_id: str + :param etags: The etags of this FileVersionUploadStatus. # noqa: E501 + :type etags: list[object] """ - if self.local_vars_configuration.client_side_validation and upload_id is None: # noqa: E501 - raise ValueError("Invalid value for `upload_id`, must not be `None`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and etags is None: # noqa: E501 + raise ValueError("Invalid value for `etags`, must not be `None`") # noqa: E501 if (self.local_vars_configuration.client_side_validation and - upload_id is not None and len(upload_id) < 1): - raise ValueError("Invalid value for `upload_id`, length must be greater than or equal to `1`") # noqa: E501 + etags is not None and len(etags) < 0): + raise ValueError("Invalid value for `etags`, number of items must be greater than or equal to `0`") # noqa: E501 - self._upload_id = upload_id + self._etags = etags @property def file_name(self): @@ -126,32 +128,6 @@ def file_name(self, file_name): self._file_name = file_name - @property - def next_part_number(self): - """Gets the next_part_number of this FileVersionUploadStatus. # noqa: E501 - - - :return: The next_part_number of this FileVersionUploadStatus. # noqa: E501 - :rtype: int - """ - return self._next_part_number - - @next_part_number.setter - def next_part_number(self, next_part_number): - """Sets the next_part_number of this FileVersionUploadStatus. - - - :param next_part_number: The next_part_number of this FileVersionUploadStatus. # noqa: E501 - :type next_part_number: int - """ - if self.local_vars_configuration.client_side_validation and next_part_number is None: # noqa: E501 - raise ValueError("Invalid value for `next_part_number`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - next_part_number is not None and next_part_number < 0): # noqa: E501 - raise ValueError("Invalid value for `next_part_number`, must be a value greater than or equal to `0`") # noqa: E501 - - self._next_part_number = next_part_number - @property def max_parts(self): """Gets the max_parts of this FileVersionUploadStatus. # noqa: E501 @@ -178,6 +154,32 @@ def max_parts(self, max_parts): self._max_parts = max_parts + @property + def next_part_number(self): + """Gets the next_part_number of this FileVersionUploadStatus. # noqa: E501 + + + :return: The next_part_number of this FileVersionUploadStatus. # noqa: E501 + :rtype: int + """ + return self._next_part_number + + @next_part_number.setter + def next_part_number(self, next_part_number): + """Sets the next_part_number of this FileVersionUploadStatus. + + + :param next_part_number: The next_part_number of this FileVersionUploadStatus. # noqa: E501 + :type next_part_number: int + """ + if self.local_vars_configuration.client_side_validation and next_part_number is None: # noqa: E501 + raise ValueError("Invalid value for `next_part_number`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + next_part_number is not None and next_part_number < 0): # noqa: E501 + raise ValueError("Invalid value for `next_part_number`, must be a value greater than or equal to `0`") # noqa: E501 + + self._next_part_number = next_part_number + @property def parts(self): """Gets the parts of this FileVersionUploadStatus. # noqa: E501 @@ -205,32 +207,30 @@ def parts(self, parts): self._parts = parts @property - def etags(self): - """Gets the etags of this FileVersionUploadStatus. # noqa: E501 + def upload_id(self): + """Gets the upload_id of this FileVersionUploadStatus. # noqa: E501 - Unknown # noqa: E501 - :return: The etags of this FileVersionUploadStatus. # noqa: E501 - :rtype: list[object] + :return: The upload_id of this FileVersionUploadStatus. # noqa: E501 + :rtype: str """ - return self._etags + return self._upload_id - @etags.setter - def etags(self, etags): - """Sets the etags of this FileVersionUploadStatus. + @upload_id.setter + def upload_id(self, upload_id): + """Sets the upload_id of this FileVersionUploadStatus. - Unknown # noqa: E501 - :param etags: The etags of this FileVersionUploadStatus. # noqa: E501 - :type etags: list[object] + :param upload_id: The upload_id of this FileVersionUploadStatus. # noqa: E501 + :type upload_id: str """ - if self.local_vars_configuration.client_side_validation and etags is None: # noqa: E501 - raise ValueError("Invalid value for `etags`, must not be `None`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and upload_id is None: # noqa: E501 + raise ValueError("Invalid value for `upload_id`, must not be `None`") # noqa: E501 if (self.local_vars_configuration.client_side_validation and - etags is not None and len(etags) < 0): - raise ValueError("Invalid value for `etags`, number of items must be greater than or equal to `0`") # noqa: E501 + upload_id is not None and len(upload_id) < 1): + raise ValueError("Invalid value for `upload_id`, length must be greater than or equal to `1`") # noqa: E501 - self._etags = etags + self._upload_id = upload_id def to_dict(self, serialize=False): """Returns the model properties as a dict""" diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index 9f77f984..0813ee97 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -37,31 +37,31 @@ class FinishFileDataUploadRequest(object): """ openapi_types = { 'etags': 'list[str]', - 'next_part_number': 'str', - 'max_parts': 'str' + 'max_parts': 'str', + 'next_part_number': 'str' } attribute_map = { 'etags': 'etags', - 'next_part_number': 'nextPartNumber', - 'max_parts': 'maxParts' + 'max_parts': 'maxParts', + 'next_part_number': 'nextPartNumber' } - def __init__(self, etags=None, next_part_number='0', max_parts='0', local_vars_configuration=None): # noqa: E501 + def __init__(self, etags=None, max_parts='0', next_part_number='0', local_vars_configuration=None): # noqa: E501 """FinishFileDataUploadRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._etags = None - self._next_part_number = None self._max_parts = None + self._next_part_number = None self.discriminator = None if etags is not None: self.etags = etags - self.next_part_number = next_part_number self.max_parts = max_parts + self.next_part_number = next_part_number @property def etags(self): @@ -89,37 +89,6 @@ def etags(self, etags): self._etags = etags - @property - def next_part_number(self): - """Gets the next_part_number of this FinishFileDataUploadRequest. # noqa: E501 - - Always a zero in string form, despite how many parts uploaded. # noqa: E501 - - :return: The next_part_number of this FinishFileDataUploadRequest. # noqa: E501 - :rtype: str - """ - return self._next_part_number - - @next_part_number.setter - def next_part_number(self, next_part_number): - """Sets the next_part_number of this FinishFileDataUploadRequest. - - Always a zero in string form, despite how many parts uploaded. # noqa: E501 - - :param next_part_number: The next_part_number of this FinishFileDataUploadRequest. # noqa: E501 - :type next_part_number: str - """ - if self.local_vars_configuration.client_side_validation and next_part_number is None: # noqa: E501 - raise ValueError("Invalid value for `next_part_number`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - next_part_number is not None and len(next_part_number) > 1): - raise ValueError("Invalid value for `next_part_number`, length must be less than or equal to `1`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - next_part_number is not None and len(next_part_number) < 1): - raise ValueError("Invalid value for `next_part_number`, length must be greater than or equal to `1`") # noqa: E501 - - self._next_part_number = next_part_number - @property def max_parts(self): """Gets the max_parts of this FinishFileDataUploadRequest. # noqa: E501 @@ -151,6 +120,37 @@ def max_parts(self, max_parts): self._max_parts = max_parts + @property + def next_part_number(self): + """Gets the next_part_number of this FinishFileDataUploadRequest. # noqa: E501 + + Always a zero in string form, despite how many parts uploaded. # noqa: E501 + + :return: The next_part_number of this FinishFileDataUploadRequest. # noqa: E501 + :rtype: str + """ + return self._next_part_number + + @next_part_number.setter + def next_part_number(self, next_part_number): + """Sets the next_part_number of this FinishFileDataUploadRequest. + + Always a zero in string form, despite how many parts uploaded. # noqa: E501 + + :param next_part_number: The next_part_number of this FinishFileDataUploadRequest. # noqa: E501 + :type next_part_number: str + """ + if self.local_vars_configuration.client_side_validation and next_part_number is None: # noqa: E501 + raise ValueError("Invalid value for `next_part_number`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + next_part_number is not None and len(next_part_number) > 1): + raise ValueError("Invalid value for `next_part_number`, length must be less than or equal to `1`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + next_part_number is not None and len(next_part_number) < 1): + raise ValueError("Invalid value for `next_part_number`, length must be greater than or equal to `1`") # noqa: E501 + + self._next_part_number = next_part_number + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/follow_calendar_event_request.py b/vrchatapi/models/follow_calendar_event_request.py index 8295061d..993a9e96 100644 --- a/vrchatapi/models/follow_calendar_event_request.py +++ b/vrchatapi/models/follow_calendar_event_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index ae95c6e5..d441bd57 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/get_group_posts200_response.py b/vrchatapi/models/get_group_posts200_response.py index 974badcc..55f3560e 100644 --- a/vrchatapi/models/get_group_posts200_response.py +++ b/vrchatapi/models/get_group_posts200_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/get_user_group_instances200_response.py b/vrchatapi/models/get_user_group_instances200_response.py index df1241f0..ae16ecae 100644 --- a/vrchatapi/models/get_user_group_instances200_response.py +++ b/vrchatapi/models/get_user_group_instances200_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index e23b0898..146118cc 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,193 +36,177 @@ class Group(object): and the value is json key in definition. """ openapi_types = { - 'age_verification_slots_available': 'bool', 'age_verification_beta_code': 'str', 'age_verification_beta_slots': 'float', + 'age_verification_slots_available': 'bool', + 'allow_group_join_prompt': 'bool', 'badges': 'list[str]', - 'id': 'str', - 'name': 'str', - 'short_code': 'str', - 'discriminator': 'str', - 'description': 'str', - 'icon_url': 'str', + 'banner_id': 'str', 'banner_url': 'str', - 'privacy': 'GroupPrivacy', - 'owner_id': 'str', - 'rules': 'str', - 'links': 'list[str]', - 'languages': 'list[str]', + 'created_at': 'datetime', + 'description': 'str', + 'discriminator': 'str', + 'galleries': 'list[GroupGallery]', 'icon_id': 'str', - 'banner_id': 'str', - 'member_count': 'int', - 'member_count_synced_at': 'datetime', + 'icon_url': 'str', + 'id': 'str', 'is_verified': 'bool', 'join_state': 'GroupJoinState', - 'tags': 'list[str]', - 'transfer_target_id': 'str', - 'galleries': 'list[GroupGallery]', - 'created_at': 'datetime', - 'updated_at': 'datetime', + 'languages': 'list[str]', 'last_post_created_at': 'datetime', - 'online_member_count': 'int', + 'links': 'list[str]', + 'member_count': 'int', + 'member_count_synced_at': 'datetime', 'membership_status': 'GroupMemberStatus', 'my_member': 'GroupMyMember', - 'roles': 'list[GroupRole]' + 'name': 'str', + 'online_member_count': 'int', + 'owner_id': 'str', + 'privacy': 'GroupPrivacy', + 'roles': 'list[GroupRole]', + 'rules': 'str', + 'short_code': 'str', + 'tags': 'list[str]', + 'transfer_target_id': 'str', + 'updated_at': 'datetime' } attribute_map = { - 'age_verification_slots_available': 'ageVerificationSlotsAvailable', 'age_verification_beta_code': 'ageVerificationBetaCode', 'age_verification_beta_slots': 'ageVerificationBetaSlots', + 'age_verification_slots_available': 'ageVerificationSlotsAvailable', + 'allow_group_join_prompt': 'allowGroupJoinPrompt', 'badges': 'badges', - 'id': 'id', - 'name': 'name', - 'short_code': 'shortCode', - 'discriminator': 'discriminator', - 'description': 'description', - 'icon_url': 'iconUrl', + 'banner_id': 'bannerId', 'banner_url': 'bannerUrl', - 'privacy': 'privacy', - 'owner_id': 'ownerId', - 'rules': 'rules', - 'links': 'links', - 'languages': 'languages', + 'created_at': 'createdAt', + 'description': 'description', + 'discriminator': 'discriminator', + 'galleries': 'galleries', 'icon_id': 'iconId', - 'banner_id': 'bannerId', - 'member_count': 'memberCount', - 'member_count_synced_at': 'memberCountSyncedAt', + 'icon_url': 'iconUrl', + 'id': 'id', 'is_verified': 'isVerified', 'join_state': 'joinState', - 'tags': 'tags', - 'transfer_target_id': 'transferTargetId', - 'galleries': 'galleries', - 'created_at': 'createdAt', - 'updated_at': 'updatedAt', + 'languages': 'languages', 'last_post_created_at': 'lastPostCreatedAt', - 'online_member_count': 'onlineMemberCount', + 'links': 'links', + 'member_count': 'memberCount', + 'member_count_synced_at': 'memberCountSyncedAt', 'membership_status': 'membershipStatus', 'my_member': 'myMember', - 'roles': 'roles' + 'name': 'name', + 'online_member_count': 'onlineMemberCount', + 'owner_id': 'ownerId', + 'privacy': 'privacy', + 'roles': 'roles', + 'rules': 'rules', + 'short_code': 'shortCode', + 'tags': 'tags', + 'transfer_target_id': 'transferTargetId', + 'updated_at': 'updatedAt' } - def __init__(self, age_verification_slots_available=None, age_verification_beta_code=None, age_verification_beta_slots=None, badges=None, id=None, name=None, short_code=None, discriminator=None, description=None, icon_url=None, banner_url=None, privacy=None, owner_id=None, rules=None, links=None, languages=None, icon_id=None, banner_id=None, member_count=None, member_count_synced_at=None, is_verified=False, join_state=None, tags=None, transfer_target_id=None, galleries=None, created_at=None, updated_at=None, last_post_created_at=None, online_member_count=None, membership_status=None, my_member=None, roles=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, age_verification_beta_code=None, age_verification_beta_slots=None, age_verification_slots_available=None, allow_group_join_prompt=None, badges=None, banner_id=None, banner_url=None, created_at=None, description=None, discriminator=None, galleries=None, icon_id=None, icon_url=None, id=None, is_verified=False, join_state=None, languages=None, last_post_created_at=None, links=None, member_count=None, member_count_synced_at=None, membership_status=None, my_member=None, name=None, online_member_count=None, owner_id=None, privacy=None, roles=None, rules=None, short_code=None, tags=None, transfer_target_id=None, updated_at=None, local_vars_configuration=None): # noqa: E501 """Group - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._age_verification_slots_available = None self._age_verification_beta_code = None self._age_verification_beta_slots = None + self._age_verification_slots_available = None + self._allow_group_join_prompt = None self._badges = None - self._id = None - self._name = None - self._short_code = None - self._discriminator = None - self._description = None - self._icon_url = None + self._banner_id = None self._banner_url = None - self._privacy = None - self._owner_id = None - self._rules = None - self._links = None - self._languages = None + self._created_at = None + self._description = None + self._discriminator = None + self._galleries = None self._icon_id = None - self._banner_id = None - self._member_count = None - self._member_count_synced_at = None + self._icon_url = None + self._id = None self._is_verified = None self._join_state = None - self._tags = None - self._transfer_target_id = None - self._galleries = None - self._created_at = None - self._updated_at = None + self._languages = None self._last_post_created_at = None - self._online_member_count = None + self._links = None + self._member_count = None + self._member_count_synced_at = None self._membership_status = None self._my_member = None + self._name = None + self._online_member_count = None + self._owner_id = None + self._privacy = None self._roles = None + self._rules = None + self._short_code = None + self._tags = None + self._transfer_target_id = None + self._updated_at = None self.discriminator = None - if age_verification_slots_available is not None: - self.age_verification_slots_available = age_verification_slots_available if age_verification_beta_code is not None: self.age_verification_beta_code = age_verification_beta_code if age_verification_beta_slots is not None: self.age_verification_beta_slots = age_verification_beta_slots + if age_verification_slots_available is not None: + self.age_verification_slots_available = age_verification_slots_available + if allow_group_join_prompt is not None: + self.allow_group_join_prompt = allow_group_join_prompt if badges is not None: self.badges = badges - if id is not None: - self.id = id - if name is not None: - self.name = name - if short_code is not None: - self.short_code = short_code - if discriminator is not None: - self.discriminator = discriminator + self.banner_id = banner_id + self.banner_url = banner_url + if created_at is not None: + self.created_at = created_at if description is not None: self.description = description + if discriminator is not None: + self.discriminator = discriminator + if galleries is not None: + self.galleries = galleries + self.icon_id = icon_id self.icon_url = icon_url - self.banner_url = banner_url - if privacy is not None: - self.privacy = privacy - if owner_id is not None: - self.owner_id = owner_id - self.rules = rules - if links is not None: - self.links = links + if id is not None: + self.id = id + if is_verified is not None: + self.is_verified = is_verified + if join_state is not None: + self.join_state = join_state if languages is not None: self.languages = languages - self.icon_id = icon_id - self.banner_id = banner_id + self.last_post_created_at = last_post_created_at + if links is not None: + self.links = links if member_count is not None: self.member_count = member_count if member_count_synced_at is not None: self.member_count_synced_at = member_count_synced_at - if is_verified is not None: - self.is_verified = is_verified - if join_state is not None: - self.join_state = join_state + if membership_status is not None: + self.membership_status = membership_status + if my_member is not None: + self.my_member = my_member + if name is not None: + self.name = name + if online_member_count is not None: + self.online_member_count = online_member_count + if owner_id is not None: + self.owner_id = owner_id + if privacy is not None: + self.privacy = privacy + self.roles = roles + self.rules = rules + if short_code is not None: + self.short_code = short_code if tags is not None: self.tags = tags if transfer_target_id is not None: self.transfer_target_id = transfer_target_id - if galleries is not None: - self.galleries = galleries - if created_at is not None: - self.created_at = created_at if updated_at is not None: self.updated_at = updated_at - self.last_post_created_at = last_post_created_at - if online_member_count is not None: - self.online_member_count = online_member_count - if membership_status is not None: - self.membership_status = membership_status - if my_member is not None: - self.my_member = my_member - self.roles = roles - - @property - def age_verification_slots_available(self): - """Gets the age_verification_slots_available of this Group. # noqa: E501 - - - :return: The age_verification_slots_available of this Group. # noqa: E501 - :rtype: bool - """ - return self._age_verification_slots_available - - @age_verification_slots_available.setter - def age_verification_slots_available(self, age_verification_slots_available): - """Sets the age_verification_slots_available of this Group. - - - :param age_verification_slots_available: The age_verification_slots_available of this Group. # noqa: E501 - :type age_verification_slots_available: bool - """ - - self._age_verification_slots_available = age_verification_slots_available @property def age_verification_beta_code(self): @@ -266,6 +250,48 @@ def age_verification_beta_slots(self, age_verification_beta_slots): self._age_verification_beta_slots = age_verification_beta_slots + @property + def age_verification_slots_available(self): + """Gets the age_verification_slots_available of this Group. # noqa: E501 + + + :return: The age_verification_slots_available of this Group. # noqa: E501 + :rtype: bool + """ + return self._age_verification_slots_available + + @age_verification_slots_available.setter + def age_verification_slots_available(self, age_verification_slots_available): + """Sets the age_verification_slots_available of this Group. + + + :param age_verification_slots_available: The age_verification_slots_available of this Group. # noqa: E501 + :type age_verification_slots_available: bool + """ + + self._age_verification_slots_available = age_verification_slots_available + + @property + def allow_group_join_prompt(self): + """Gets the allow_group_join_prompt of this Group. # noqa: E501 + + + :return: The allow_group_join_prompt of this Group. # noqa: E501 + :rtype: bool + """ + return self._allow_group_join_prompt + + @allow_group_join_prompt.setter + def allow_group_join_prompt(self, allow_group_join_prompt): + """Sets the allow_group_join_prompt of this Group. + + + :param allow_group_join_prompt: The allow_group_join_prompt of this Group. # noqa: E501 + :type allow_group_join_prompt: bool + """ + + self._allow_group_join_prompt = allow_group_join_prompt + @property def badges(self): """Gets the badges of this Group. # noqa: E501 @@ -288,67 +314,88 @@ def badges(self, badges): self._badges = badges @property - def id(self): - """Gets the id of this Group. # noqa: E501 + def banner_id(self): + """Gets the banner_id of this Group. # noqa: E501 - :return: The id of this Group. # noqa: E501 + :return: The banner_id of this Group. # noqa: E501 :rtype: str """ - return self._id + return self._banner_id - @id.setter - def id(self, id): - """Sets the id of this Group. + @banner_id.setter + def banner_id(self, banner_id): + """Sets the banner_id of this Group. - :param id: The id of this Group. # noqa: E501 - :type id: str + :param banner_id: The banner_id of this Group. # noqa: E501 + :type banner_id: str """ - self._id = id + self._banner_id = banner_id @property - def name(self): - """Gets the name of this Group. # noqa: E501 + def banner_url(self): + """Gets the banner_url of this Group. # noqa: E501 - :return: The name of this Group. # noqa: E501 + :return: The banner_url of this Group. # noqa: E501 :rtype: str """ - return self._name + return self._banner_url - @name.setter - def name(self, name): - """Sets the name of this Group. + @banner_url.setter + def banner_url(self, banner_url): + """Sets the banner_url of this Group. - :param name: The name of this Group. # noqa: E501 - :type name: str + :param banner_url: The banner_url of this Group. # noqa: E501 + :type banner_url: str """ - self._name = name + self._banner_url = banner_url @property - def short_code(self): - """Gets the short_code of this Group. # noqa: E501 + def created_at(self): + """Gets the created_at of this Group. # noqa: E501 - :return: The short_code of this Group. # noqa: E501 + :return: The created_at of this Group. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this Group. + + + :param created_at: The created_at of this Group. # noqa: E501 + :type created_at: datetime + """ + + self._created_at = created_at + + @property + def description(self): + """Gets the description of this Group. # noqa: E501 + + + :return: The description of this Group. # noqa: E501 :rtype: str """ - return self._short_code + return self._description - @short_code.setter - def short_code(self, short_code): - """Sets the short_code of this Group. + @description.setter + def description(self, description): + """Sets the description of this Group. - :param short_code: The short_code of this Group. # noqa: E501 - :type short_code: str + :param description: The description of this Group. # noqa: E501 + :type description: str """ - self._short_code = short_code + self._description = description @property def discriminator(self): @@ -372,25 +419,46 @@ def discriminator(self, discriminator): self._discriminator = discriminator @property - def description(self): - """Gets the description of this Group. # noqa: E501 + def galleries(self): + """Gets the galleries of this Group. # noqa: E501 - :return: The description of this Group. # noqa: E501 + :return: The galleries of this Group. # noqa: E501 + :rtype: list[GroupGallery] + """ + return self._galleries + + @galleries.setter + def galleries(self, galleries): + """Sets the galleries of this Group. + + + :param galleries: The galleries of this Group. # noqa: E501 + :type galleries: list[GroupGallery] + """ + + self._galleries = galleries + + @property + def icon_id(self): + """Gets the icon_id of this Group. # noqa: E501 + + + :return: The icon_id of this Group. # noqa: E501 :rtype: str """ - return self._description + return self._icon_id - @description.setter - def description(self, description): - """Sets the description of this Group. + @icon_id.setter + def icon_id(self, icon_id): + """Sets the icon_id of this Group. - :param description: The description of this Group. # noqa: E501 - :type description: str + :param icon_id: The icon_id of this Group. # noqa: E501 + :type icon_id: str """ - self._description = description + self._icon_id = icon_id @property def icon_url(self): @@ -414,90 +482,109 @@ def icon_url(self, icon_url): self._icon_url = icon_url @property - def banner_url(self): - """Gets the banner_url of this Group. # noqa: E501 + def id(self): + """Gets the id of this Group. # noqa: E501 - :return: The banner_url of this Group. # noqa: E501 + :return: The id of this Group. # noqa: E501 :rtype: str """ - return self._banner_url + return self._id - @banner_url.setter - def banner_url(self, banner_url): - """Sets the banner_url of this Group. + @id.setter + def id(self, id): + """Sets the id of this Group. - :param banner_url: The banner_url of this Group. # noqa: E501 - :type banner_url: str + :param id: The id of this Group. # noqa: E501 + :type id: str """ - self._banner_url = banner_url + self._id = id @property - def privacy(self): - """Gets the privacy of this Group. # noqa: E501 + def is_verified(self): + """Gets the is_verified of this Group. # noqa: E501 - :return: The privacy of this Group. # noqa: E501 - :rtype: GroupPrivacy + :return: The is_verified of this Group. # noqa: E501 + :rtype: bool """ - return self._privacy + return self._is_verified - @privacy.setter - def privacy(self, privacy): - """Sets the privacy of this Group. + @is_verified.setter + def is_verified(self, is_verified): + """Sets the is_verified of this Group. - :param privacy: The privacy of this Group. # noqa: E501 - :type privacy: GroupPrivacy + :param is_verified: The is_verified of this Group. # noqa: E501 + :type is_verified: bool """ - self._privacy = privacy + self._is_verified = is_verified @property - def owner_id(self): - """Gets the owner_id of this Group. # noqa: E501 + def join_state(self): + """Gets the join_state of this Group. # noqa: E501 - A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :return: The owner_id of this Group. # noqa: E501 - :rtype: str + :return: The join_state of this Group. # noqa: E501 + :rtype: GroupJoinState """ - return self._owner_id + return self._join_state - @owner_id.setter - def owner_id(self, owner_id): - """Sets the owner_id of this Group. + @join_state.setter + def join_state(self, join_state): + """Sets the join_state of this Group. - A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :param owner_id: The owner_id of this Group. # noqa: E501 - :type owner_id: str + :param join_state: The join_state of this Group. # noqa: E501 + :type join_state: GroupJoinState """ - self._owner_id = owner_id + self._join_state = join_state @property - def rules(self): - """Gets the rules of this Group. # noqa: E501 + def languages(self): + """Gets the languages of this Group. # noqa: E501 - :return: The rules of this Group. # noqa: E501 - :rtype: str + :return: The languages of this Group. # noqa: E501 + :rtype: list[str] """ - return self._rules + return self._languages - @rules.setter - def rules(self, rules): - """Sets the rules of this Group. + @languages.setter + def languages(self, languages): + """Sets the languages of this Group. - :param rules: The rules of this Group. # noqa: E501 - :type rules: str + :param languages: The languages of this Group. # noqa: E501 + :type languages: list[str] """ - self._rules = rules + self._languages = languages + + @property + def last_post_created_at(self): + """Gets the last_post_created_at of this Group. # noqa: E501 + + + :return: The last_post_created_at of this Group. # noqa: E501 + :rtype: datetime + """ + return self._last_post_created_at + + @last_post_created_at.setter + def last_post_created_at(self, last_post_created_at): + """Sets the last_post_created_at of this Group. + + + :param last_post_created_at: The last_post_created_at of this Group. # noqa: E501 + :type last_post_created_at: datetime + """ + + self._last_post_created_at = last_post_created_at @property def links(self): @@ -521,98 +608,35 @@ def links(self, links): self._links = links @property - def languages(self): - """Gets the languages of this Group. # noqa: E501 + def member_count(self): + """Gets the member_count of this Group. # noqa: E501 - :return: The languages of this Group. # noqa: E501 - :rtype: list[str] + :return: The member_count of this Group. # noqa: E501 + :rtype: int """ - return self._languages + return self._member_count - @languages.setter - def languages(self, languages): - """Sets the languages of this Group. + @member_count.setter + def member_count(self, member_count): + """Sets the member_count of this Group. - :param languages: The languages of this Group. # noqa: E501 - :type languages: list[str] + :param member_count: The member_count of this Group. # noqa: E501 + :type member_count: int """ - self._languages = languages + self._member_count = member_count @property - def icon_id(self): - """Gets the icon_id of this Group. # noqa: E501 + def member_count_synced_at(self): + """Gets the member_count_synced_at of this Group. # noqa: E501 - :return: The icon_id of this Group. # noqa: E501 - :rtype: str + :return: The member_count_synced_at of this Group. # noqa: E501 + :rtype: datetime """ - return self._icon_id - - @icon_id.setter - def icon_id(self, icon_id): - """Sets the icon_id of this Group. - - - :param icon_id: The icon_id of this Group. # noqa: E501 - :type icon_id: str - """ - - self._icon_id = icon_id - - @property - def banner_id(self): - """Gets the banner_id of this Group. # noqa: E501 - - - :return: The banner_id of this Group. # noqa: E501 - :rtype: str - """ - return self._banner_id - - @banner_id.setter - def banner_id(self, banner_id): - """Sets the banner_id of this Group. - - - :param banner_id: The banner_id of this Group. # noqa: E501 - :type banner_id: str - """ - - self._banner_id = banner_id - - @property - def member_count(self): - """Gets the member_count of this Group. # noqa: E501 - - - :return: The member_count of this Group. # noqa: E501 - :rtype: int - """ - return self._member_count - - @member_count.setter - def member_count(self, member_count): - """Sets the member_count of this Group. - - - :param member_count: The member_count of this Group. # noqa: E501 - :type member_count: int - """ - - self._member_count = member_count - - @property - def member_count_synced_at(self): - """Gets the member_count_synced_at of this Group. # noqa: E501 - - - :return: The member_count_synced_at of this Group. # noqa: E501 - :rtype: datetime - """ - return self._member_count_synced_at + return self._member_count_synced_at @member_count_synced_at.setter def member_count_synced_at(self, member_count_synced_at): @@ -626,260 +650,262 @@ def member_count_synced_at(self, member_count_synced_at): self._member_count_synced_at = member_count_synced_at @property - def is_verified(self): - """Gets the is_verified of this Group. # noqa: E501 + def membership_status(self): + """Gets the membership_status of this Group. # noqa: E501 - :return: The is_verified of this Group. # noqa: E501 - :rtype: bool + :return: The membership_status of this Group. # noqa: E501 + :rtype: GroupMemberStatus """ - return self._is_verified + return self._membership_status - @is_verified.setter - def is_verified(self, is_verified): - """Sets the is_verified of this Group. + @membership_status.setter + def membership_status(self, membership_status): + """Sets the membership_status of this Group. - :param is_verified: The is_verified of this Group. # noqa: E501 - :type is_verified: bool + :param membership_status: The membership_status of this Group. # noqa: E501 + :type membership_status: GroupMemberStatus """ - self._is_verified = is_verified + self._membership_status = membership_status @property - def join_state(self): - """Gets the join_state of this Group. # noqa: E501 + def my_member(self): + """Gets the my_member of this Group. # noqa: E501 - :return: The join_state of this Group. # noqa: E501 - :rtype: GroupJoinState + :return: The my_member of this Group. # noqa: E501 + :rtype: GroupMyMember """ - return self._join_state + return self._my_member - @join_state.setter - def join_state(self, join_state): - """Sets the join_state of this Group. + @my_member.setter + def my_member(self, my_member): + """Sets the my_member of this Group. - :param join_state: The join_state of this Group. # noqa: E501 - :type join_state: GroupJoinState + :param my_member: The my_member of this Group. # noqa: E501 + :type my_member: GroupMyMember """ - self._join_state = join_state + self._my_member = my_member @property - def tags(self): - """Gets the tags of this Group. # noqa: E501 + def name(self): + """Gets the name of this Group. # noqa: E501 - :return: The tags of this Group. # noqa: E501 - :rtype: list[str] + :return: The name of this Group. # noqa: E501 + :rtype: str """ - return self._tags + return self._name - @tags.setter - def tags(self, tags): - """Sets the tags of this Group. + @name.setter + def name(self, name): + """Sets the name of this Group. - :param tags: The tags of this Group. # noqa: E501 - :type tags: list[str] + :param name: The name of this Group. # noqa: E501 + :type name: str """ - self._tags = tags + self._name = name @property - def transfer_target_id(self): - """Gets the transfer_target_id of this Group. # noqa: E501 + def online_member_count(self): + """Gets the online_member_count of this Group. # noqa: E501 - A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :return: The transfer_target_id of this Group. # noqa: E501 - :rtype: str + :return: The online_member_count of this Group. # noqa: E501 + :rtype: int """ - return self._transfer_target_id + return self._online_member_count - @transfer_target_id.setter - def transfer_target_id(self, transfer_target_id): - """Sets the transfer_target_id of this Group. + @online_member_count.setter + def online_member_count(self, online_member_count): + """Sets the online_member_count of this Group. - A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :param transfer_target_id: The transfer_target_id of this Group. # noqa: E501 - :type transfer_target_id: str + :param online_member_count: The online_member_count of this Group. # noqa: E501 + :type online_member_count: int """ - self._transfer_target_id = transfer_target_id + self._online_member_count = online_member_count @property - def galleries(self): - """Gets the galleries of this Group. # noqa: E501 + def owner_id(self): + """Gets the owner_id of this Group. # noqa: E501 + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :return: The galleries of this Group. # noqa: E501 - :rtype: list[GroupGallery] + :return: The owner_id of this Group. # noqa: E501 + :rtype: str """ - return self._galleries + return self._owner_id - @galleries.setter - def galleries(self, galleries): - """Sets the galleries of this Group. + @owner_id.setter + def owner_id(self, owner_id): + """Sets the owner_id of this Group. + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :param galleries: The galleries of this Group. # noqa: E501 - :type galleries: list[GroupGallery] + :param owner_id: The owner_id of this Group. # noqa: E501 + :type owner_id: str """ - self._galleries = galleries + self._owner_id = owner_id @property - def created_at(self): - """Gets the created_at of this Group. # noqa: E501 + def privacy(self): + """Gets the privacy of this Group. # noqa: E501 - :return: The created_at of this Group. # noqa: E501 - :rtype: datetime + :return: The privacy of this Group. # noqa: E501 + :rtype: GroupPrivacy """ - return self._created_at + return self._privacy - @created_at.setter - def created_at(self, created_at): - """Sets the created_at of this Group. + @privacy.setter + def privacy(self, privacy): + """Sets the privacy of this Group. - :param created_at: The created_at of this Group. # noqa: E501 - :type created_at: datetime + :param privacy: The privacy of this Group. # noqa: E501 + :type privacy: GroupPrivacy """ - self._created_at = created_at + self._privacy = privacy @property - def updated_at(self): - """Gets the updated_at of this Group. # noqa: E501 + def roles(self): + """Gets the roles of this Group. # noqa: E501 + Only returned if ?includeRoles=true is specified. # noqa: E501 - :return: The updated_at of this Group. # noqa: E501 - :rtype: datetime + :return: The roles of this Group. # noqa: E501 + :rtype: list[GroupRole] """ - return self._updated_at + return self._roles - @updated_at.setter - def updated_at(self, updated_at): - """Sets the updated_at of this Group. + @roles.setter + def roles(self, roles): + """Sets the roles of this Group. + Only returned if ?includeRoles=true is specified. # noqa: E501 - :param updated_at: The updated_at of this Group. # noqa: E501 - :type updated_at: datetime + :param roles: The roles of this Group. # noqa: E501 + :type roles: list[GroupRole] """ - self._updated_at = updated_at + self._roles = roles @property - def last_post_created_at(self): - """Gets the last_post_created_at of this Group. # noqa: E501 + def rules(self): + """Gets the rules of this Group. # noqa: E501 - :return: The last_post_created_at of this Group. # noqa: E501 - :rtype: datetime + :return: The rules of this Group. # noqa: E501 + :rtype: str """ - return self._last_post_created_at + return self._rules - @last_post_created_at.setter - def last_post_created_at(self, last_post_created_at): - """Sets the last_post_created_at of this Group. + @rules.setter + def rules(self, rules): + """Sets the rules of this Group. - :param last_post_created_at: The last_post_created_at of this Group. # noqa: E501 - :type last_post_created_at: datetime + :param rules: The rules of this Group. # noqa: E501 + :type rules: str """ - self._last_post_created_at = last_post_created_at + self._rules = rules @property - def online_member_count(self): - """Gets the online_member_count of this Group. # noqa: E501 + def short_code(self): + """Gets the short_code of this Group. # noqa: E501 - :return: The online_member_count of this Group. # noqa: E501 - :rtype: int + :return: The short_code of this Group. # noqa: E501 + :rtype: str """ - return self._online_member_count + return self._short_code - @online_member_count.setter - def online_member_count(self, online_member_count): - """Sets the online_member_count of this Group. + @short_code.setter + def short_code(self, short_code): + """Sets the short_code of this Group. - :param online_member_count: The online_member_count of this Group. # noqa: E501 - :type online_member_count: int + :param short_code: The short_code of this Group. # noqa: E501 + :type short_code: str """ - self._online_member_count = online_member_count + self._short_code = short_code @property - def membership_status(self): - """Gets the membership_status of this Group. # noqa: E501 + def tags(self): + """Gets the tags of this Group. # noqa: E501 - :return: The membership_status of this Group. # noqa: E501 - :rtype: GroupMemberStatus + :return: The tags of this Group. # noqa: E501 + :rtype: list[str] """ - return self._membership_status + return self._tags - @membership_status.setter - def membership_status(self, membership_status): - """Sets the membership_status of this Group. + @tags.setter + def tags(self, tags): + """Sets the tags of this Group. - :param membership_status: The membership_status of this Group. # noqa: E501 - :type membership_status: GroupMemberStatus + :param tags: The tags of this Group. # noqa: E501 + :type tags: list[str] """ - self._membership_status = membership_status + self._tags = tags @property - def my_member(self): - """Gets the my_member of this Group. # noqa: E501 + def transfer_target_id(self): + """Gets the transfer_target_id of this Group. # noqa: E501 + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :return: The my_member of this Group. # noqa: E501 - :rtype: GroupMyMember + :return: The transfer_target_id of this Group. # noqa: E501 + :rtype: str """ - return self._my_member + return self._transfer_target_id - @my_member.setter - def my_member(self, my_member): - """Sets the my_member of this Group. + @transfer_target_id.setter + def transfer_target_id(self, transfer_target_id): + """Sets the transfer_target_id of this Group. + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :param my_member: The my_member of this Group. # noqa: E501 - :type my_member: GroupMyMember + :param transfer_target_id: The transfer_target_id of this Group. # noqa: E501 + :type transfer_target_id: str """ - self._my_member = my_member + self._transfer_target_id = transfer_target_id @property - def roles(self): - """Gets the roles of this Group. # noqa: E501 + def updated_at(self): + """Gets the updated_at of this Group. # noqa: E501 - Only returned if ?includeRoles=true is specified. # noqa: E501 - :return: The roles of this Group. # noqa: E501 - :rtype: list[GroupRole] + :return: The updated_at of this Group. # noqa: E501 + :rtype: datetime """ - return self._roles + return self._updated_at - @roles.setter - def roles(self, roles): - """Sets the roles of this Group. + @updated_at.setter + def updated_at(self, updated_at): + """Sets the updated_at of this Group. - Only returned if ?includeRoles=true is specified. # noqa: E501 - :param roles: The roles of this Group. # noqa: E501 - :type roles: list[GroupRole] + :param updated_at: The updated_at of this Group. # noqa: E501 + :type updated_at: datetime """ - self._roles = roles + self._updated_at = updated_at def to_dict(self, serialize=False): """Returns the model properties as a dict""" diff --git a/vrchatapi/models/group_access_type.py b/vrchatapi/models/group_access_type.py index fc4eeeac..32eb9f3b 100644 --- a/vrchatapi/models/group_access_type.py +++ b/vrchatapi/models/group_access_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -31,11 +31,11 @@ class GroupAccessType(object): """ allowed enum values """ - PUBLIC = "public" - PLUS = "plus" MEMBERS = "members" + PLUS = "plus" + PUBLIC = "public" - allowable_values = [PUBLIC, PLUS, MEMBERS] # noqa: E501 + allowable_values = [MEMBERS, PLUS, PUBLIC] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index 298c4b29..af423dd7 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,102 +36,60 @@ class GroupAnnouncement(object): and the value is json key in definition. """ openapi_types = { - 'id': 'str', - 'group_id': 'str', 'author_id': 'str', - 'title': 'str', - 'text': 'str', + 'created_at': 'datetime', + 'group_id': 'str', + 'id': 'str', 'image_id': 'str', 'image_url': 'str', - 'created_at': 'datetime', + 'text': 'str', + 'title': 'str', 'updated_at': 'datetime' } attribute_map = { - 'id': 'id', - 'group_id': 'groupId', 'author_id': 'authorId', - 'title': 'title', - 'text': 'text', + 'created_at': 'createdAt', + 'group_id': 'groupId', + 'id': 'id', 'image_id': 'imageId', 'image_url': 'imageUrl', - 'created_at': 'createdAt', + 'text': 'text', + 'title': 'title', 'updated_at': 'updatedAt' } - def __init__(self, id=None, group_id=None, author_id=None, title=None, text=None, image_id=None, image_url=None, created_at=None, updated_at=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, author_id=None, created_at=None, group_id=None, id=None, image_id=None, image_url=None, text=None, title=None, updated_at=None, local_vars_configuration=None): # noqa: E501 """GroupAnnouncement - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._id = None - self._group_id = None self._author_id = None - self._title = None - self._text = None + self._created_at = None + self._group_id = None + self._id = None self._image_id = None self._image_url = None - self._created_at = None + self._text = None + self._title = None self._updated_at = None self.discriminator = None - if id is not None: - self.id = id - if group_id is not None: - self.group_id = group_id if author_id is not None: self.author_id = author_id - self.title = title - self.text = text + self.created_at = created_at + if group_id is not None: + self.group_id = group_id + if id is not None: + self.id = id if image_id is not None: self.image_id = image_id self.image_url = image_url - self.created_at = created_at + self.text = text + self.title = title self.updated_at = updated_at - @property - def id(self): - """Gets the id of this GroupAnnouncement. # noqa: E501 - - - :return: The id of this GroupAnnouncement. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this GroupAnnouncement. - - - :param id: The id of this GroupAnnouncement. # noqa: E501 - :type id: str - """ - - self._id = id - - @property - def group_id(self): - """Gets the group_id of this GroupAnnouncement. # noqa: E501 - - - :return: The group_id of this GroupAnnouncement. # noqa: E501 - :rtype: str - """ - return self._group_id - - @group_id.setter - def group_id(self, group_id): - """Sets the group_id of this GroupAnnouncement. - - - :param group_id: The group_id of this GroupAnnouncement. # noqa: E501 - :type group_id: str - """ - - self._group_id = group_id - @property def author_id(self): """Gets the author_id of this GroupAnnouncement. # noqa: E501 @@ -156,46 +114,67 @@ def author_id(self, author_id): self._author_id = author_id @property - def title(self): - """Gets the title of this GroupAnnouncement. # noqa: E501 + def created_at(self): + """Gets the created_at of this GroupAnnouncement. # noqa: E501 - :return: The title of this GroupAnnouncement. # noqa: E501 + :return: The created_at of this GroupAnnouncement. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this GroupAnnouncement. + + + :param created_at: The created_at of this GroupAnnouncement. # noqa: E501 + :type created_at: datetime + """ + + self._created_at = created_at + + @property + def group_id(self): + """Gets the group_id of this GroupAnnouncement. # noqa: E501 + + + :return: The group_id of this GroupAnnouncement. # noqa: E501 :rtype: str """ - return self._title + return self._group_id - @title.setter - def title(self, title): - """Sets the title of this GroupAnnouncement. + @group_id.setter + def group_id(self, group_id): + """Sets the group_id of this GroupAnnouncement. - :param title: The title of this GroupAnnouncement. # noqa: E501 - :type title: str + :param group_id: The group_id of this GroupAnnouncement. # noqa: E501 + :type group_id: str """ - self._title = title + self._group_id = group_id @property - def text(self): - """Gets the text of this GroupAnnouncement. # noqa: E501 + def id(self): + """Gets the id of this GroupAnnouncement. # noqa: E501 - :return: The text of this GroupAnnouncement. # noqa: E501 + :return: The id of this GroupAnnouncement. # noqa: E501 :rtype: str """ - return self._text + return self._id - @text.setter - def text(self, text): - """Sets the text of this GroupAnnouncement. + @id.setter + def id(self, id): + """Sets the id of this GroupAnnouncement. - :param text: The text of this GroupAnnouncement. # noqa: E501 - :type text: str + :param id: The id of this GroupAnnouncement. # noqa: E501 + :type id: str """ - self._text = text + self._id = id @property def image_id(self): @@ -240,25 +219,46 @@ def image_url(self, image_url): self._image_url = image_url @property - def created_at(self): - """Gets the created_at of this GroupAnnouncement. # noqa: E501 + def text(self): + """Gets the text of this GroupAnnouncement. # noqa: E501 - :return: The created_at of this GroupAnnouncement. # noqa: E501 - :rtype: datetime + :return: The text of this GroupAnnouncement. # noqa: E501 + :rtype: str """ - return self._created_at + return self._text - @created_at.setter - def created_at(self, created_at): - """Sets the created_at of this GroupAnnouncement. + @text.setter + def text(self, text): + """Sets the text of this GroupAnnouncement. - :param created_at: The created_at of this GroupAnnouncement. # noqa: E501 - :type created_at: datetime + :param text: The text of this GroupAnnouncement. # noqa: E501 + :type text: str """ - self._created_at = created_at + self._text = text + + @property + def title(self): + """Gets the title of this GroupAnnouncement. # noqa: E501 + + + :return: The title of this GroupAnnouncement. # noqa: E501 + :rtype: str + """ + return self._title + + @title.setter + def title(self, title): + """Sets the title of this GroupAnnouncement. + + + :param title: The title of this GroupAnnouncement. # noqa: E501 + :type title: str + """ + + self._title = title @property def updated_at(self): diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index c1d780c3..26301cb0 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,127 +36,85 @@ class GroupAuditLogEntry(object): and the value is json key in definition. """ openapi_types = { - 'id': 'str', - 'created_at': 'datetime', - 'group_id': 'str', - 'actor_id': 'str', 'actor_display_name': 'str', - 'target_id': 'str', - 'event_type': 'str', + 'actor_id': 'str', + 'created_at': 'datetime', + 'data': 'object', 'description': 'str', - 'data': 'object' + 'event_type': 'str', + 'group_id': 'str', + 'id': 'str', + 'target_id': 'str' } attribute_map = { - 'id': 'id', - 'created_at': 'created_at', - 'group_id': 'groupId', - 'actor_id': 'actorId', 'actor_display_name': 'actorDisplayName', - 'target_id': 'targetId', - 'event_type': 'eventType', + 'actor_id': 'actorId', + 'created_at': 'created_at', + 'data': 'data', 'description': 'description', - 'data': 'data' + 'event_type': 'eventType', + 'group_id': 'groupId', + 'id': 'id', + 'target_id': 'targetId' } - def __init__(self, id=None, created_at=None, group_id=None, actor_id=None, actor_display_name=None, target_id=None, event_type='group.update', description=None, data=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, actor_display_name=None, actor_id=None, created_at=None, data=None, description=None, event_type='group.update', group_id=None, id=None, target_id=None, local_vars_configuration=None): # noqa: E501 """GroupAuditLogEntry - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._id = None + self._actor_display_name = None + self._actor_id = None self._created_at = None + self._data = None + self._description = None + self._event_type = None self._group_id = None - self._actor_id = None - self._actor_display_name = None + self._id = None self._target_id = None - self._event_type = None - self._description = None - self._data = None self.discriminator = None - if id is not None: - self.id = id + if actor_display_name is not None: + self.actor_display_name = actor_display_name + if actor_id is not None: + self.actor_id = actor_id if created_at is not None: self.created_at = created_at + if data is not None: + self.data = data + if description is not None: + self.description = description + if event_type is not None: + self.event_type = event_type if group_id is not None: self.group_id = group_id - if actor_id is not None: - self.actor_id = actor_id - if actor_display_name is not None: - self.actor_display_name = actor_display_name + if id is not None: + self.id = id if target_id is not None: self.target_id = target_id - if event_type is not None: - self.event_type = event_type - if description is not None: - self.description = description - if data is not None: - self.data = data - - @property - def id(self): - """Gets the id of this GroupAuditLogEntry. # noqa: E501 - - - :return: The id of this GroupAuditLogEntry. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this GroupAuditLogEntry. - - - :param id: The id of this GroupAuditLogEntry. # noqa: E501 - :type id: str - """ - - self._id = id - - @property - def created_at(self): - """Gets the created_at of this GroupAuditLogEntry. # noqa: E501 - - - :return: The created_at of this GroupAuditLogEntry. # noqa: E501 - :rtype: datetime - """ - return self._created_at - - @created_at.setter - def created_at(self, created_at): - """Sets the created_at of this GroupAuditLogEntry. - - - :param created_at: The created_at of this GroupAuditLogEntry. # noqa: E501 - :type created_at: datetime - """ - - self._created_at = created_at @property - def group_id(self): - """Gets the group_id of this GroupAuditLogEntry. # noqa: E501 + def actor_display_name(self): + """Gets the actor_display_name of this GroupAuditLogEntry. # noqa: E501 - :return: The group_id of this GroupAuditLogEntry. # noqa: E501 + :return: The actor_display_name of this GroupAuditLogEntry. # noqa: E501 :rtype: str """ - return self._group_id + return self._actor_display_name - @group_id.setter - def group_id(self, group_id): - """Sets the group_id of this GroupAuditLogEntry. + @actor_display_name.setter + def actor_display_name(self, actor_display_name): + """Sets the actor_display_name of this GroupAuditLogEntry. - :param group_id: The group_id of this GroupAuditLogEntry. # noqa: E501 - :type group_id: str + :param actor_display_name: The actor_display_name of this GroupAuditLogEntry. # noqa: E501 + :type actor_display_name: str """ - self._group_id = group_id + self._actor_display_name = actor_display_name @property def actor_id(self): @@ -182,48 +140,71 @@ def actor_id(self, actor_id): self._actor_id = actor_id @property - def actor_display_name(self): - """Gets the actor_display_name of this GroupAuditLogEntry. # noqa: E501 + def created_at(self): + """Gets the created_at of this GroupAuditLogEntry. # noqa: E501 - :return: The actor_display_name of this GroupAuditLogEntry. # noqa: E501 - :rtype: str + :return: The created_at of this GroupAuditLogEntry. # noqa: E501 + :rtype: datetime """ - return self._actor_display_name + return self._created_at - @actor_display_name.setter - def actor_display_name(self, actor_display_name): - """Sets the actor_display_name of this GroupAuditLogEntry. + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this GroupAuditLogEntry. - :param actor_display_name: The actor_display_name of this GroupAuditLogEntry. # noqa: E501 - :type actor_display_name: str + :param created_at: The created_at of this GroupAuditLogEntry. # noqa: E501 + :type created_at: datetime """ - self._actor_display_name = actor_display_name + self._created_at = created_at @property - def target_id(self): - """Gets the target_id of this GroupAuditLogEntry. # noqa: E501 + def data(self): + """Gets the data of this GroupAuditLogEntry. # noqa: E501 - Typically a UserID, GroupID, GroupRoleID, or Location, but could be other types of IDs. # noqa: E501 + The data associated with the event. The format of this data is dependent on the event type. # noqa: E501 - :return: The target_id of this GroupAuditLogEntry. # noqa: E501 + :return: The data of this GroupAuditLogEntry. # noqa: E501 + :rtype: object + """ + return self._data + + @data.setter + def data(self, data): + """Sets the data of this GroupAuditLogEntry. + + The data associated with the event. The format of this data is dependent on the event type. # noqa: E501 + + :param data: The data of this GroupAuditLogEntry. # noqa: E501 + :type data: object + """ + + self._data = data + + @property + def description(self): + """Gets the description of this GroupAuditLogEntry. # noqa: E501 + + A human-readable description of the event. # noqa: E501 + + :return: The description of this GroupAuditLogEntry. # noqa: E501 :rtype: str """ - return self._target_id + return self._description - @target_id.setter - def target_id(self, target_id): - """Sets the target_id of this GroupAuditLogEntry. + @description.setter + def description(self, description): + """Sets the description of this GroupAuditLogEntry. - Typically a UserID, GroupID, GroupRoleID, or Location, but could be other types of IDs. # noqa: E501 + A human-readable description of the event. # noqa: E501 - :param target_id: The target_id of this GroupAuditLogEntry. # noqa: E501 - :type target_id: str + :param description: The description of this GroupAuditLogEntry. # noqa: E501 + :type description: str """ - self._target_id = target_id + self._description = description @property def event_type(self): @@ -249,50 +230,69 @@ def event_type(self, event_type): self._event_type = event_type @property - def description(self): - """Gets the description of this GroupAuditLogEntry. # noqa: E501 + def group_id(self): + """Gets the group_id of this GroupAuditLogEntry. # noqa: E501 - A human-readable description of the event. # noqa: E501 - :return: The description of this GroupAuditLogEntry. # noqa: E501 + :return: The group_id of this GroupAuditLogEntry. # noqa: E501 :rtype: str """ - return self._description + return self._group_id - @description.setter - def description(self, description): - """Sets the description of this GroupAuditLogEntry. + @group_id.setter + def group_id(self, group_id): + """Sets the group_id of this GroupAuditLogEntry. - A human-readable description of the event. # noqa: E501 - :param description: The description of this GroupAuditLogEntry. # noqa: E501 - :type description: str + :param group_id: The group_id of this GroupAuditLogEntry. # noqa: E501 + :type group_id: str """ - self._description = description + self._group_id = group_id @property - def data(self): - """Gets the data of this GroupAuditLogEntry. # noqa: E501 + def id(self): + """Gets the id of this GroupAuditLogEntry. # noqa: E501 - The data associated with the event. The format of this data is dependent on the event type. # noqa: E501 - :return: The data of this GroupAuditLogEntry. # noqa: E501 - :rtype: object + :return: The id of this GroupAuditLogEntry. # noqa: E501 + :rtype: str """ - return self._data + return self._id - @data.setter - def data(self, data): - """Sets the data of this GroupAuditLogEntry. + @id.setter + def id(self, id): + """Sets the id of this GroupAuditLogEntry. - The data associated with the event. The format of this data is dependent on the event type. # noqa: E501 - :param data: The data of this GroupAuditLogEntry. # noqa: E501 - :type data: object + :param id: The id of this GroupAuditLogEntry. # noqa: E501 + :type id: str """ - self._data = data + self._id = id + + @property + def target_id(self): + """Gets the target_id of this GroupAuditLogEntry. # noqa: E501 + + Typically a UserID, GroupID, GroupRoleID, or Location, but could be other types of IDs. # noqa: E501 + + :return: The target_id of this GroupAuditLogEntry. # noqa: E501 + :rtype: str + """ + return self._target_id + + @target_id.setter + def target_id(self, target_id): + """Sets the target_id of this GroupAuditLogEntry. + + Typically a UserID, GroupID, GroupRoleID, or Location, but could be other types of IDs. # noqa: E501 + + :param target_id: The target_id of this GroupAuditLogEntry. # noqa: E501 + :type target_id: str + """ + + self._target_id = target_id def to_dict(self, serialize=False): """Returns the model properties as a dict""" diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index 877b3e6d..11b217cf 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,112 +36,86 @@ class GroupGallery(object): and the value is json key in definition. """ openapi_types = { - 'id': 'str', - 'name': 'str', + 'created_at': 'datetime', 'description': 'str', + 'id': 'str', 'members_only': 'bool', - 'role_ids_to_view': 'list[str]', - 'role_ids_to_submit': 'list[str]', + 'name': 'str', 'role_ids_to_auto_approve': 'list[str]', 'role_ids_to_manage': 'list[str]', - 'created_at': 'datetime', + 'role_ids_to_submit': 'list[str]', + 'role_ids_to_view': 'list[str]', 'updated_at': 'datetime' } attribute_map = { - 'id': 'id', - 'name': 'name', + 'created_at': 'createdAt', 'description': 'description', + 'id': 'id', 'members_only': 'membersOnly', - 'role_ids_to_view': 'roleIdsToView', - 'role_ids_to_submit': 'roleIdsToSubmit', + 'name': 'name', 'role_ids_to_auto_approve': 'roleIdsToAutoApprove', 'role_ids_to_manage': 'roleIdsToManage', - 'created_at': 'createdAt', + 'role_ids_to_submit': 'roleIdsToSubmit', + 'role_ids_to_view': 'roleIdsToView', 'updated_at': 'updatedAt' } - def __init__(self, id=None, name=None, description=None, members_only=False, role_ids_to_view=None, role_ids_to_submit=None, role_ids_to_auto_approve=None, role_ids_to_manage=None, created_at=None, updated_at=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, created_at=None, description=None, id=None, members_only=False, name=None, role_ids_to_auto_approve=None, role_ids_to_manage=None, role_ids_to_submit=None, role_ids_to_view=None, updated_at=None, local_vars_configuration=None): # noqa: E501 """GroupGallery - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._id = None - self._name = None + self._created_at = None self._description = None + self._id = None self._members_only = None - self._role_ids_to_view = None - self._role_ids_to_submit = None + self._name = None self._role_ids_to_auto_approve = None self._role_ids_to_manage = None - self._created_at = None + self._role_ids_to_submit = None + self._role_ids_to_view = None self._updated_at = None self.discriminator = None - if id is not None: - self.id = id - if name is not None: - self.name = name + if created_at is not None: + self.created_at = created_at if description is not None: self.description = description + if id is not None: + self.id = id if members_only is not None: self.members_only = members_only - self.role_ids_to_view = role_ids_to_view - self.role_ids_to_submit = role_ids_to_submit + if name is not None: + self.name = name self.role_ids_to_auto_approve = role_ids_to_auto_approve self.role_ids_to_manage = role_ids_to_manage - if created_at is not None: - self.created_at = created_at + self.role_ids_to_submit = role_ids_to_submit + self.role_ids_to_view = role_ids_to_view if updated_at is not None: self.updated_at = updated_at @property - def id(self): - """Gets the id of this GroupGallery. # noqa: E501 - - - :return: The id of this GroupGallery. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this GroupGallery. - - - :param id: The id of this GroupGallery. # noqa: E501 - :type id: str - """ - - self._id = id - - @property - def name(self): - """Gets the name of this GroupGallery. # noqa: E501 + def created_at(self): + """Gets the created_at of this GroupGallery. # noqa: E501 - Name of the gallery. # noqa: E501 - :return: The name of this GroupGallery. # noqa: E501 - :rtype: str + :return: The created_at of this GroupGallery. # noqa: E501 + :rtype: datetime """ - return self._name + return self._created_at - @name.setter - def name(self, name): - """Sets the name of this GroupGallery. + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this GroupGallery. - Name of the gallery. # noqa: E501 - :param name: The name of this GroupGallery. # noqa: E501 - :type name: str + :param created_at: The created_at of this GroupGallery. # noqa: E501 + :type created_at: datetime """ - if (self.local_vars_configuration.client_side_validation and - name is not None and len(name) < 1): - raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 - self._name = name + self._created_at = created_at @property def description(self): @@ -169,6 +143,27 @@ def description(self, description): self._description = description + @property + def id(self): + """Gets the id of this GroupGallery. # noqa: E501 + + + :return: The id of this GroupGallery. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this GroupGallery. + + + :param id: The id of this GroupGallery. # noqa: E501 + :type id: str + """ + + self._id = id + @property def members_only(self): """Gets the members_only of this GroupGallery. # noqa: E501 @@ -193,50 +188,30 @@ def members_only(self, members_only): self._members_only = members_only @property - def role_ids_to_view(self): - """Gets the role_ids_to_view of this GroupGallery. # noqa: E501 - - # noqa: E501 - - :return: The role_ids_to_view of this GroupGallery. # noqa: E501 - :rtype: list[str] - """ - return self._role_ids_to_view - - @role_ids_to_view.setter - def role_ids_to_view(self, role_ids_to_view): - """Sets the role_ids_to_view of this GroupGallery. - - # noqa: E501 - - :param role_ids_to_view: The role_ids_to_view of this GroupGallery. # noqa: E501 - :type role_ids_to_view: list[str] - """ - - self._role_ids_to_view = role_ids_to_view - - @property - def role_ids_to_submit(self): - """Gets the role_ids_to_submit of this GroupGallery. # noqa: E501 + def name(self): + """Gets the name of this GroupGallery. # noqa: E501 - # noqa: E501 + Name of the gallery. # noqa: E501 - :return: The role_ids_to_submit of this GroupGallery. # noqa: E501 - :rtype: list[str] + :return: The name of this GroupGallery. # noqa: E501 + :rtype: str """ - return self._role_ids_to_submit + return self._name - @role_ids_to_submit.setter - def role_ids_to_submit(self, role_ids_to_submit): - """Sets the role_ids_to_submit of this GroupGallery. + @name.setter + def name(self, name): + """Sets the name of this GroupGallery. - # noqa: E501 + Name of the gallery. # noqa: E501 - :param role_ids_to_submit: The role_ids_to_submit of this GroupGallery. # noqa: E501 - :type role_ids_to_submit: list[str] + :param name: The name of this GroupGallery. # noqa: E501 + :type name: str """ + if (self.local_vars_configuration.client_side_validation and + name is not None and len(name) < 1): + raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 - self._role_ids_to_submit = role_ids_to_submit + self._name = name @property def role_ids_to_auto_approve(self): @@ -285,25 +260,50 @@ def role_ids_to_manage(self, role_ids_to_manage): self._role_ids_to_manage = role_ids_to_manage @property - def created_at(self): - """Gets the created_at of this GroupGallery. # noqa: E501 + def role_ids_to_submit(self): + """Gets the role_ids_to_submit of this GroupGallery. # noqa: E501 + # noqa: E501 - :return: The created_at of this GroupGallery. # noqa: E501 - :rtype: datetime + :return: The role_ids_to_submit of this GroupGallery. # noqa: E501 + :rtype: list[str] """ - return self._created_at + return self._role_ids_to_submit - @created_at.setter - def created_at(self, created_at): - """Sets the created_at of this GroupGallery. + @role_ids_to_submit.setter + def role_ids_to_submit(self, role_ids_to_submit): + """Sets the role_ids_to_submit of this GroupGallery. + # noqa: E501 - :param created_at: The created_at of this GroupGallery. # noqa: E501 - :type created_at: datetime + :param role_ids_to_submit: The role_ids_to_submit of this GroupGallery. # noqa: E501 + :type role_ids_to_submit: list[str] """ - self._created_at = created_at + self._role_ids_to_submit = role_ids_to_submit + + @property + def role_ids_to_view(self): + """Gets the role_ids_to_view of this GroupGallery. # noqa: E501 + + # noqa: E501 + + :return: The role_ids_to_view of this GroupGallery. # noqa: E501 + :rtype: list[str] + """ + return self._role_ids_to_view + + @role_ids_to_view.setter + def role_ids_to_view(self, role_ids_to_view): + """Sets the role_ids_to_view of this GroupGallery. + + # noqa: E501 + + :param role_ids_to_view: The role_ids_to_view of this GroupGallery. # noqa: E501 + :type role_ids_to_view: list[str] + """ + + self._role_ids_to_view = role_ids_to_view @property def updated_at(self): diff --git a/vrchatapi/models/group_gallery_file_order.py b/vrchatapi/models/group_gallery_file_order.py new file mode 100644 index 00000000..13f105d5 --- /dev/null +++ b/vrchatapi/models/group_gallery_file_order.py @@ -0,0 +1,132 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class GroupGalleryFileOrder(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'ids': 'list[str]' + } + + attribute_map = { + 'ids': 'ids' + } + + def __init__(self, ids=None, local_vars_configuration=None): # noqa: E501 + """GroupGalleryFileOrder - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._ids = None + self.discriminator = None + + self.ids = ids + + @property + def ids(self): + """Gets the ids of this GroupGalleryFileOrder. # noqa: E501 + + + :return: The ids of this GroupGalleryFileOrder. # noqa: E501 + :rtype: list[str] + """ + return self._ids + + @ids.setter + def ids(self, ids): + """Sets the ids of this GroupGalleryFileOrder. + + + :param ids: The ids of this GroupGalleryFileOrder. # noqa: E501 + :type ids: list[str] + """ + if self.local_vars_configuration.client_side_validation and ids is None: # noqa: E501 + raise ValueError("Invalid value for `ids`, must not be `None`") # noqa: E501 + + self._ids = ids + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GroupGalleryFileOrder): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GroupGalleryFileOrder): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/api_config_report_options_group.py b/vrchatapi/models/group_gallery_file_order_request.py similarity index 54% rename from vrchatapi/models/api_config_report_options_group.py rename to vrchatapi/models/group_gallery_file_order_request.py index fd930d29..8fa6d8d3 100644 --- a/vrchatapi/models/api_config_report_options_group.py +++ b/vrchatapi/models/group_gallery_file_order_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -21,7 +21,7 @@ from vrchatapi.configuration import Configuration -class APIConfigReportOptionsGroup(object): +class GroupGalleryFileOrderRequest(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -36,97 +36,73 @@ class APIConfigReportOptionsGroup(object): and the value is json key in definition. """ openapi_types = { - 'groupstore': 'list[str]', - 'image': 'list[str]', - 'text': 'list[str]' + 'gallery_id': 'str', + 'ids': 'list[str]' } attribute_map = { - 'groupstore': 'groupstore', - 'image': 'image', - 'text': 'text' + 'gallery_id': 'galleryId', + 'ids': 'ids' } - def __init__(self, groupstore=None, image=None, text=None, local_vars_configuration=None): # noqa: E501 - """APIConfigReportOptionsGroup - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, gallery_id=None, ids=None, local_vars_configuration=None): # noqa: E501 + """GroupGalleryFileOrderRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._groupstore = None - self._image = None - self._text = None + self._gallery_id = None + self._ids = None self.discriminator = None - if groupstore is not None: - self.groupstore = groupstore - if image is not None: - self.image = image - if text is not None: - self.text = text + self.gallery_id = gallery_id + self.ids = ids @property - def groupstore(self): - """Gets the groupstore of this APIConfigReportOptionsGroup. # noqa: E501 + def gallery_id(self): + """Gets the gallery_id of this GroupGalleryFileOrderRequest. # noqa: E501 - :return: The groupstore of this APIConfigReportOptionsGroup. # noqa: E501 - :rtype: list[str] - """ - return self._groupstore - - @groupstore.setter - def groupstore(self, groupstore): - """Sets the groupstore of this APIConfigReportOptionsGroup. - - - :param groupstore: The groupstore of this APIConfigReportOptionsGroup. # noqa: E501 - :type groupstore: list[str] - """ - - self._groupstore = groupstore - - @property - def image(self): - """Gets the image of this APIConfigReportOptionsGroup. # noqa: E501 - - - :return: The image of this APIConfigReportOptionsGroup. # noqa: E501 - :rtype: list[str] + :return: The gallery_id of this GroupGalleryFileOrderRequest. # noqa: E501 + :rtype: str """ - return self._image + return self._gallery_id - @image.setter - def image(self, image): - """Sets the image of this APIConfigReportOptionsGroup. + @gallery_id.setter + def gallery_id(self, gallery_id): + """Sets the gallery_id of this GroupGalleryFileOrderRequest. - :param image: The image of this APIConfigReportOptionsGroup. # noqa: E501 - :type image: list[str] + :param gallery_id: The gallery_id of this GroupGalleryFileOrderRequest. # noqa: E501 + :type gallery_id: str """ + if self.local_vars_configuration.client_side_validation and gallery_id is None: # noqa: E501 + raise ValueError("Invalid value for `gallery_id`, must not be `None`") # noqa: E501 - self._image = image + self._gallery_id = gallery_id @property - def text(self): - """Gets the text of this APIConfigReportOptionsGroup. # noqa: E501 + def ids(self): + """Gets the ids of this GroupGalleryFileOrderRequest. # noqa: E501 - :return: The text of this APIConfigReportOptionsGroup. # noqa: E501 + :return: The ids of this GroupGalleryFileOrderRequest. # noqa: E501 :rtype: list[str] """ - return self._text + return self._ids - @text.setter - def text(self, text): - """Sets the text of this APIConfigReportOptionsGroup. + @ids.setter + def ids(self, ids): + """Sets the ids of this GroupGalleryFileOrderRequest. - :param text: The text of this APIConfigReportOptionsGroup. # noqa: E501 - :type text: list[str] + :param ids: The ids of this GroupGalleryFileOrderRequest. # noqa: E501 + :type ids: list[str] """ + if self.local_vars_configuration.client_side_validation and ids is None: # noqa: E501 + raise ValueError("Invalid value for `ids`, must not be `None`") # noqa: E501 - self._text = text + self._ids = ids def to_dict(self, serialize=False): """Returns the model properties as a dict""" @@ -170,14 +146,14 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, APIConfigReportOptionsGroup): + if not isinstance(other, GroupGalleryFileOrderRequest): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, APIConfigReportOptionsGroup): + if not isinstance(other, GroupGalleryFileOrderRequest): return True return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index a024b09c..2094d551 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,132 +36,155 @@ class GroupGalleryImage(object): and the value is json key in definition. """ openapi_types = { - 'id': 'str', - 'group_id': 'str', - 'gallery_id': 'str', - 'file_id': 'str', - 'image_url': 'str', - 'created_at': 'datetime', - 'submitted_by_user_id': 'str', 'approved': 'bool', + 'approved_at': 'datetime', 'approved_by_user_id': 'str', - 'approved_at': 'datetime' + 'created_at': 'datetime', + 'file_id': 'str', + 'gallery_id': 'str', + 'group_id': 'str', + 'id': 'str', + 'image_url': 'str', + 'submitted_by_user_id': 'str' } attribute_map = { - 'id': 'id', - 'group_id': 'groupId', - 'gallery_id': 'galleryId', - 'file_id': 'fileId', - 'image_url': 'imageUrl', - 'created_at': 'createdAt', - 'submitted_by_user_id': 'submittedByUserId', 'approved': 'approved', + 'approved_at': 'approvedAt', 'approved_by_user_id': 'approvedByUserId', - 'approved_at': 'approvedAt' + 'created_at': 'createdAt', + 'file_id': 'fileId', + 'gallery_id': 'galleryId', + 'group_id': 'groupId', + 'id': 'id', + 'image_url': 'imageUrl', + 'submitted_by_user_id': 'submittedByUserId' } - def __init__(self, id=None, group_id=None, gallery_id=None, file_id=None, image_url=None, created_at=None, submitted_by_user_id=None, approved=False, approved_by_user_id=None, approved_at=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, approved=False, approved_at=None, approved_by_user_id=None, created_at=None, file_id=None, gallery_id=None, group_id=None, id=None, image_url=None, submitted_by_user_id=None, local_vars_configuration=None): # noqa: E501 """GroupGalleryImage - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._id = None - self._group_id = None - self._gallery_id = None + self._approved = None + self._approved_at = None + self._approved_by_user_id = None + self._created_at = None self._file_id = None + self._gallery_id = None + self._group_id = None + self._id = None self._image_url = None - self._created_at = None self._submitted_by_user_id = None - self._approved = None - self._approved_by_user_id = None - self._approved_at = None self.discriminator = None - if id is not None: - self.id = id - if group_id is not None: - self.group_id = group_id - if gallery_id is not None: - self.gallery_id = gallery_id + if approved is not None: + self.approved = approved + if approved_at is not None: + self.approved_at = approved_at + if approved_by_user_id is not None: + self.approved_by_user_id = approved_by_user_id + if created_at is not None: + self.created_at = created_at if file_id is not None: self.file_id = file_id + if gallery_id is not None: + self.gallery_id = gallery_id + if group_id is not None: + self.group_id = group_id + if id is not None: + self.id = id if image_url is not None: self.image_url = image_url - if created_at is not None: - self.created_at = created_at if submitted_by_user_id is not None: self.submitted_by_user_id = submitted_by_user_id - if approved is not None: - self.approved = approved - if approved_by_user_id is not None: - self.approved_by_user_id = approved_by_user_id - if approved_at is not None: - self.approved_at = approved_at @property - def id(self): - """Gets the id of this GroupGalleryImage. # noqa: E501 + def approved(self): + """Gets the approved of this GroupGalleryImage. # noqa: E501 - :return: The id of this GroupGalleryImage. # noqa: E501 - :rtype: str + :return: The approved of this GroupGalleryImage. # noqa: E501 + :rtype: bool """ - return self._id + return self._approved - @id.setter - def id(self, id): - """Sets the id of this GroupGalleryImage. + @approved.setter + def approved(self, approved): + """Sets the approved of this GroupGalleryImage. - :param id: The id of this GroupGalleryImage. # noqa: E501 - :type id: str + :param approved: The approved of this GroupGalleryImage. # noqa: E501 + :type approved: bool """ - self._id = id + self._approved = approved @property - def group_id(self): - """Gets the group_id of this GroupGalleryImage. # noqa: E501 + def approved_at(self): + """Gets the approved_at of this GroupGalleryImage. # noqa: E501 - :return: The group_id of this GroupGalleryImage. # noqa: E501 - :rtype: str + :return: The approved_at of this GroupGalleryImage. # noqa: E501 + :rtype: datetime """ - return self._group_id + return self._approved_at - @group_id.setter - def group_id(self, group_id): - """Sets the group_id of this GroupGalleryImage. + @approved_at.setter + def approved_at(self, approved_at): + """Sets the approved_at of this GroupGalleryImage. - :param group_id: The group_id of this GroupGalleryImage. # noqa: E501 - :type group_id: str + :param approved_at: The approved_at of this GroupGalleryImage. # noqa: E501 + :type approved_at: datetime """ - self._group_id = group_id + self._approved_at = approved_at @property - def gallery_id(self): - """Gets the gallery_id of this GroupGalleryImage. # noqa: E501 + def approved_by_user_id(self): + """Gets the approved_by_user_id of this GroupGalleryImage. # noqa: E501 + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :return: The gallery_id of this GroupGalleryImage. # noqa: E501 + :return: The approved_by_user_id of this GroupGalleryImage. # noqa: E501 :rtype: str """ - return self._gallery_id + return self._approved_by_user_id - @gallery_id.setter - def gallery_id(self, gallery_id): - """Sets the gallery_id of this GroupGalleryImage. + @approved_by_user_id.setter + def approved_by_user_id(self, approved_by_user_id): + """Sets the approved_by_user_id of this GroupGalleryImage. + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :param gallery_id: The gallery_id of this GroupGalleryImage. # noqa: E501 - :type gallery_id: str + :param approved_by_user_id: The approved_by_user_id of this GroupGalleryImage. # noqa: E501 + :type approved_by_user_id: str """ - self._gallery_id = gallery_id + self._approved_by_user_id = approved_by_user_id + + @property + def created_at(self): + """Gets the created_at of this GroupGalleryImage. # noqa: E501 + + + :return: The created_at of this GroupGalleryImage. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this GroupGalleryImage. + + + :param created_at: The created_at of this GroupGalleryImage. # noqa: E501 + :type created_at: datetime + """ + + self._created_at = created_at @property def file_id(self): @@ -185,134 +208,111 @@ def file_id(self, file_id): self._file_id = file_id @property - def image_url(self): - """Gets the image_url of this GroupGalleryImage. # noqa: E501 + def gallery_id(self): + """Gets the gallery_id of this GroupGalleryImage. # noqa: E501 - :return: The image_url of this GroupGalleryImage. # noqa: E501 + :return: The gallery_id of this GroupGalleryImage. # noqa: E501 :rtype: str """ - return self._image_url + return self._gallery_id - @image_url.setter - def image_url(self, image_url): - """Sets the image_url of this GroupGalleryImage. + @gallery_id.setter + def gallery_id(self, gallery_id): + """Sets the gallery_id of this GroupGalleryImage. - :param image_url: The image_url of this GroupGalleryImage. # noqa: E501 - :type image_url: str + :param gallery_id: The gallery_id of this GroupGalleryImage. # noqa: E501 + :type gallery_id: str """ - self._image_url = image_url + self._gallery_id = gallery_id @property - def created_at(self): - """Gets the created_at of this GroupGalleryImage. # noqa: E501 + def group_id(self): + """Gets the group_id of this GroupGalleryImage. # noqa: E501 - :return: The created_at of this GroupGalleryImage. # noqa: E501 - :rtype: datetime + :return: The group_id of this GroupGalleryImage. # noqa: E501 + :rtype: str """ - return self._created_at + return self._group_id - @created_at.setter - def created_at(self, created_at): - """Sets the created_at of this GroupGalleryImage. + @group_id.setter + def group_id(self, group_id): + """Sets the group_id of this GroupGalleryImage. - :param created_at: The created_at of this GroupGalleryImage. # noqa: E501 - :type created_at: datetime + :param group_id: The group_id of this GroupGalleryImage. # noqa: E501 + :type group_id: str """ - self._created_at = created_at + self._group_id = group_id @property - def submitted_by_user_id(self): - """Gets the submitted_by_user_id of this GroupGalleryImage. # noqa: E501 + def id(self): + """Gets the id of this GroupGalleryImage. # noqa: E501 - A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :return: The submitted_by_user_id of this GroupGalleryImage. # noqa: E501 + :return: The id of this GroupGalleryImage. # noqa: E501 :rtype: str """ - return self._submitted_by_user_id + return self._id - @submitted_by_user_id.setter - def submitted_by_user_id(self, submitted_by_user_id): - """Sets the submitted_by_user_id of this GroupGalleryImage. + @id.setter + def id(self, id): + """Sets the id of this GroupGalleryImage. - A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :param submitted_by_user_id: The submitted_by_user_id of this GroupGalleryImage. # noqa: E501 - :type submitted_by_user_id: str + :param id: The id of this GroupGalleryImage. # noqa: E501 + :type id: str """ - self._submitted_by_user_id = submitted_by_user_id + self._id = id @property - def approved(self): - """Gets the approved of this GroupGalleryImage. # noqa: E501 + def image_url(self): + """Gets the image_url of this GroupGalleryImage. # noqa: E501 - :return: The approved of this GroupGalleryImage. # noqa: E501 - :rtype: bool + :return: The image_url of this GroupGalleryImage. # noqa: E501 + :rtype: str """ - return self._approved + return self._image_url - @approved.setter - def approved(self, approved): - """Sets the approved of this GroupGalleryImage. + @image_url.setter + def image_url(self, image_url): + """Sets the image_url of this GroupGalleryImage. - :param approved: The approved of this GroupGalleryImage. # noqa: E501 - :type approved: bool + :param image_url: The image_url of this GroupGalleryImage. # noqa: E501 + :type image_url: str """ - self._approved = approved + self._image_url = image_url @property - def approved_by_user_id(self): - """Gets the approved_by_user_id of this GroupGalleryImage. # noqa: E501 + def submitted_by_user_id(self): + """Gets the submitted_by_user_id of this GroupGalleryImage. # noqa: E501 A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :return: The approved_by_user_id of this GroupGalleryImage. # noqa: E501 + :return: The submitted_by_user_id of this GroupGalleryImage. # noqa: E501 :rtype: str """ - return self._approved_by_user_id + return self._submitted_by_user_id - @approved_by_user_id.setter - def approved_by_user_id(self, approved_by_user_id): - """Sets the approved_by_user_id of this GroupGalleryImage. + @submitted_by_user_id.setter + def submitted_by_user_id(self, submitted_by_user_id): + """Sets the submitted_by_user_id of this GroupGalleryImage. A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :param approved_by_user_id: The approved_by_user_id of this GroupGalleryImage. # noqa: E501 - :type approved_by_user_id: str - """ - - self._approved_by_user_id = approved_by_user_id - - @property - def approved_at(self): - """Gets the approved_at of this GroupGalleryImage. # noqa: E501 - - - :return: The approved_at of this GroupGalleryImage. # noqa: E501 - :rtype: datetime - """ - return self._approved_at - - @approved_at.setter - def approved_at(self, approved_at): - """Sets the approved_at of this GroupGalleryImage. - - - :param approved_at: The approved_at of this GroupGalleryImage. # noqa: E501 - :type approved_at: datetime + :param submitted_by_user_id: The submitted_by_user_id of this GroupGalleryImage. # noqa: E501 + :type submitted_by_user_id: str """ - self._approved_at = approved_at + self._submitted_by_user_id = submitted_by_user_id def to_dict(self, serialize=False): """Returns the model properties as a dict""" diff --git a/vrchatapi/models/group_instance.py b/vrchatapi/models/group_instance.py index c4544e0a..88ee0fdd 100644 --- a/vrchatapi/models/group_instance.py +++ b/vrchatapi/models/group_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -38,18 +38,18 @@ class GroupInstance(object): openapi_types = { 'instance_id': 'str', 'location': 'str', - 'world': 'World', - 'member_count': 'int' + 'member_count': 'int', + 'world': 'World' } attribute_map = { 'instance_id': 'instanceId', 'location': 'location', - 'world': 'world', - 'member_count': 'memberCount' + 'member_count': 'memberCount', + 'world': 'world' } - def __init__(self, instance_id=None, location=None, world=None, member_count=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, instance_id=None, location=None, member_count=None, world=None, local_vars_configuration=None): # noqa: E501 """GroupInstance - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -57,14 +57,14 @@ def __init__(self, instance_id=None, location=None, world=None, member_count=Non self._instance_id = None self._location = None - self._world = None self._member_count = None + self._world = None self.discriminator = None self.instance_id = instance_id self.location = location - self.world = world self.member_count = member_count + self.world = world @property def instance_id(self): @@ -116,29 +116,6 @@ def location(self, location): self._location = location - @property - def world(self): - """Gets the world of this GroupInstance. # noqa: E501 - - - :return: The world of this GroupInstance. # noqa: E501 - :rtype: World - """ - return self._world - - @world.setter - def world(self, world): - """Sets the world of this GroupInstance. - - - :param world: The world of this GroupInstance. # noqa: E501 - :type world: World - """ - if self.local_vars_configuration.client_side_validation and world is None: # noqa: E501 - raise ValueError("Invalid value for `world`, must not be `None`") # noqa: E501 - - self._world = world - @property def member_count(self): """Gets the member_count of this GroupInstance. # noqa: E501 @@ -165,6 +142,29 @@ def member_count(self, member_count): self._member_count = member_count + @property + def world(self): + """Gets the world of this GroupInstance. # noqa: E501 + + + :return: The world of this GroupInstance. # noqa: E501 + :rtype: World + """ + return self._world + + @world.setter + def world(self, world): + """Sets the world of this GroupInstance. + + + :param world: The world of this GroupInstance. # noqa: E501 + :type world: World + """ + if self.local_vars_configuration.client_side_validation and world is None: # noqa: E501 + raise ValueError("Invalid value for `world`, must not be `None`") # noqa: E501 + + self._world = world + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/group_join_request_action.py b/vrchatapi/models/group_join_request_action.py index 0cab62cb..d63bb9d6 100644 --- a/vrchatapi/models/group_join_request_action.py +++ b/vrchatapi/models/group_join_request_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index 4c79b744..e80e5346 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -33,10 +33,10 @@ class GroupJoinState(object): """ CLOSED = "closed" INVITE = "invite" - REQUEST = "request" OPEN = "open" + REQUEST = "request" - allowable_values = [CLOSED, INVITE, REQUEST, OPEN] # noqa: E501 + allowable_values = [CLOSED, INVITE, OPEN, REQUEST] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index cef0c8e6..b18ebcd0 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,115 +36,140 @@ class GroupLimitedMember(object): and the value is json key in definition. """ openapi_types = { - 'id': 'str', + 'banned_at': 'datetime', + 'created_at': 'datetime', 'group_id': 'str', - 'user_id': 'str', + 'has_joined_from_purchase': 'bool', + 'id': 'str', 'is_representing': 'bool', - 'role_ids': 'list[str]', - 'm_role_ids': 'list[str]', - 'joined_at': 'datetime', - 'membership_status': 'GroupMemberStatus', - 'visibility': 'str', 'is_subscribed_to_announcements': 'bool', 'is_subscribed_to_event_announcements': 'bool', - 'created_at': 'datetime', - 'banned_at': 'datetime', - 'manager_notes': 'str', + 'joined_at': 'datetime', 'last_post_read_at': 'datetime', - 'has_joined_from_purchase': 'bool' + 'm_role_ids': 'list[str]', + 'manager_notes': 'str', + 'membership_status': 'GroupMemberStatus', + 'role_ids': 'list[str]', + 'user_id': 'str', + 'visibility': 'str' } attribute_map = { - 'id': 'id', + 'banned_at': 'bannedAt', + 'created_at': 'createdAt', 'group_id': 'groupId', - 'user_id': 'userId', + 'has_joined_from_purchase': 'hasJoinedFromPurchase', + 'id': 'id', 'is_representing': 'isRepresenting', - 'role_ids': 'roleIds', - 'm_role_ids': 'mRoleIds', - 'joined_at': 'joinedAt', - 'membership_status': 'membershipStatus', - 'visibility': 'visibility', 'is_subscribed_to_announcements': 'isSubscribedToAnnouncements', 'is_subscribed_to_event_announcements': 'isSubscribedToEventAnnouncements', - 'created_at': 'createdAt', - 'banned_at': 'bannedAt', - 'manager_notes': 'managerNotes', + 'joined_at': 'joinedAt', 'last_post_read_at': 'lastPostReadAt', - 'has_joined_from_purchase': 'hasJoinedFromPurchase' + 'm_role_ids': 'mRoleIds', + 'manager_notes': 'managerNotes', + 'membership_status': 'membershipStatus', + 'role_ids': 'roleIds', + 'user_id': 'userId', + 'visibility': 'visibility' } - def __init__(self, id=None, group_id=None, user_id=None, is_representing=False, role_ids=None, m_role_ids=None, joined_at=None, membership_status=None, visibility=None, is_subscribed_to_announcements=False, is_subscribed_to_event_announcements=None, created_at=None, banned_at=None, manager_notes=None, last_post_read_at=None, has_joined_from_purchase=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, banned_at=None, created_at=None, group_id=None, has_joined_from_purchase=None, id=None, is_representing=False, is_subscribed_to_announcements=False, is_subscribed_to_event_announcements=None, joined_at=None, last_post_read_at=None, m_role_ids=None, manager_notes=None, membership_status=None, role_ids=None, user_id=None, visibility=None, local_vars_configuration=None): # noqa: E501 """GroupLimitedMember - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._id = None + self._banned_at = None + self._created_at = None self._group_id = None - self._user_id = None + self._has_joined_from_purchase = None + self._id = None self._is_representing = None - self._role_ids = None - self._m_role_ids = None - self._joined_at = None - self._membership_status = None - self._visibility = None self._is_subscribed_to_announcements = None self._is_subscribed_to_event_announcements = None - self._created_at = None - self._banned_at = None - self._manager_notes = None + self._joined_at = None self._last_post_read_at = None - self._has_joined_from_purchase = None + self._m_role_ids = None + self._manager_notes = None + self._membership_status = None + self._role_ids = None + self._user_id = None + self._visibility = None self.discriminator = None - if id is not None: - self.id = id + self.banned_at = banned_at + self.created_at = created_at if group_id is not None: self.group_id = group_id - if user_id is not None: - self.user_id = user_id + if has_joined_from_purchase is not None: + self.has_joined_from_purchase = has_joined_from_purchase + if id is not None: + self.id = id if is_representing is not None: self.is_representing = is_representing - if role_ids is not None: - self.role_ids = role_ids + if is_subscribed_to_announcements is not None: + self.is_subscribed_to_announcements = is_subscribed_to_announcements + if is_subscribed_to_event_announcements is not None: + self.is_subscribed_to_event_announcements = is_subscribed_to_event_announcements + self.joined_at = joined_at + self.last_post_read_at = last_post_read_at if m_role_ids is not None: self.m_role_ids = m_role_ids - self.joined_at = joined_at + self.manager_notes = manager_notes if membership_status is not None: self.membership_status = membership_status + if role_ids is not None: + self.role_ids = role_ids + if user_id is not None: + self.user_id = user_id if visibility is not None: self.visibility = visibility - if is_subscribed_to_announcements is not None: - self.is_subscribed_to_announcements = is_subscribed_to_announcements - if is_subscribed_to_event_announcements is not None: - self.is_subscribed_to_event_announcements = is_subscribed_to_event_announcements - self.created_at = created_at - self.banned_at = banned_at - self.manager_notes = manager_notes - self.last_post_read_at = last_post_read_at - if has_joined_from_purchase is not None: - self.has_joined_from_purchase = has_joined_from_purchase @property - def id(self): - """Gets the id of this GroupLimitedMember. # noqa: E501 + def banned_at(self): + """Gets the banned_at of this GroupLimitedMember. # noqa: E501 + Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 - :return: The id of this GroupLimitedMember. # noqa: E501 - :rtype: str + :return: The banned_at of this GroupLimitedMember. # noqa: E501 + :rtype: datetime """ - return self._id + return self._banned_at - @id.setter - def id(self, id): - """Sets the id of this GroupLimitedMember. + @banned_at.setter + def banned_at(self, banned_at): + """Sets the banned_at of this GroupLimitedMember. + Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 - :param id: The id of this GroupLimitedMember. # noqa: E501 - :type id: str + :param banned_at: The banned_at of this GroupLimitedMember. # noqa: E501 + :type banned_at: datetime """ - self._id = id + self._banned_at = banned_at + + @property + def created_at(self): + """Gets the created_at of this GroupLimitedMember. # noqa: E501 + + Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 + + :return: The created_at of this GroupLimitedMember. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this GroupLimitedMember. + + Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 + + :param created_at: The created_at of this GroupLimitedMember. # noqa: E501 + :type created_at: datetime + """ + + self._created_at = created_at @property def group_id(self): @@ -168,27 +193,46 @@ def group_id(self, group_id): self._group_id = group_id @property - def user_id(self): - """Gets the user_id of this GroupLimitedMember. # noqa: E501 + def has_joined_from_purchase(self): + """Gets the has_joined_from_purchase of this GroupLimitedMember. # noqa: E501 - A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :return: The user_id of this GroupLimitedMember. # noqa: E501 + :return: The has_joined_from_purchase of this GroupLimitedMember. # noqa: E501 + :rtype: bool + """ + return self._has_joined_from_purchase + + @has_joined_from_purchase.setter + def has_joined_from_purchase(self, has_joined_from_purchase): + """Sets the has_joined_from_purchase of this GroupLimitedMember. + + + :param has_joined_from_purchase: The has_joined_from_purchase of this GroupLimitedMember. # noqa: E501 + :type has_joined_from_purchase: bool + """ + + self._has_joined_from_purchase = has_joined_from_purchase + + @property + def id(self): + """Gets the id of this GroupLimitedMember. # noqa: E501 + + + :return: The id of this GroupLimitedMember. # noqa: E501 :rtype: str """ - return self._user_id + return self._id - @user_id.setter - def user_id(self, user_id): - """Sets the user_id of this GroupLimitedMember. + @id.setter + def id(self, id): + """Sets the id of this GroupLimitedMember. - A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :param user_id: The user_id of this GroupLimitedMember. # noqa: E501 - :type user_id: str + :param id: The id of this GroupLimitedMember. # noqa: E501 + :type id: str """ - self._user_id = user_id + self._id = id @property def is_representing(self): @@ -214,46 +258,46 @@ def is_representing(self, is_representing): self._is_representing = is_representing @property - def role_ids(self): - """Gets the role_ids of this GroupLimitedMember. # noqa: E501 + def is_subscribed_to_announcements(self): + """Gets the is_subscribed_to_announcements of this GroupLimitedMember. # noqa: E501 - :return: The role_ids of this GroupLimitedMember. # noqa: E501 - :rtype: list[str] + :return: The is_subscribed_to_announcements of this GroupLimitedMember. # noqa: E501 + :rtype: bool """ - return self._role_ids + return self._is_subscribed_to_announcements - @role_ids.setter - def role_ids(self, role_ids): - """Sets the role_ids of this GroupLimitedMember. + @is_subscribed_to_announcements.setter + def is_subscribed_to_announcements(self, is_subscribed_to_announcements): + """Sets the is_subscribed_to_announcements of this GroupLimitedMember. - :param role_ids: The role_ids of this GroupLimitedMember. # noqa: E501 - :type role_ids: list[str] + :param is_subscribed_to_announcements: The is_subscribed_to_announcements of this GroupLimitedMember. # noqa: E501 + :type is_subscribed_to_announcements: bool """ - self._role_ids = role_ids + self._is_subscribed_to_announcements = is_subscribed_to_announcements @property - def m_role_ids(self): - """Gets the m_role_ids of this GroupLimitedMember. # noqa: E501 + def is_subscribed_to_event_announcements(self): + """Gets the is_subscribed_to_event_announcements of this GroupLimitedMember. # noqa: E501 - :return: The m_role_ids of this GroupLimitedMember. # noqa: E501 - :rtype: list[str] + :return: The is_subscribed_to_event_announcements of this GroupLimitedMember. # noqa: E501 + :rtype: bool """ - return self._m_role_ids + return self._is_subscribed_to_event_announcements - @m_role_ids.setter - def m_role_ids(self, m_role_ids): - """Sets the m_role_ids of this GroupLimitedMember. + @is_subscribed_to_event_announcements.setter + def is_subscribed_to_event_announcements(self, is_subscribed_to_event_announcements): + """Sets the is_subscribed_to_event_announcements of this GroupLimitedMember. - :param m_role_ids: The m_role_ids of this GroupLimitedMember. # noqa: E501 - :type m_role_ids: list[str] + :param is_subscribed_to_event_announcements: The is_subscribed_to_event_announcements of this GroupLimitedMember. # noqa: E501 + :type is_subscribed_to_event_announcements: bool """ - self._m_role_ids = m_role_ids + self._is_subscribed_to_event_announcements = is_subscribed_to_event_announcements @property def joined_at(self): @@ -277,199 +321,155 @@ def joined_at(self, joined_at): self._joined_at = joined_at @property - def membership_status(self): - """Gets the membership_status of this GroupLimitedMember. # noqa: E501 - - - :return: The membership_status of this GroupLimitedMember. # noqa: E501 - :rtype: GroupMemberStatus - """ - return self._membership_status - - @membership_status.setter - def membership_status(self, membership_status): - """Sets the membership_status of this GroupLimitedMember. - - - :param membership_status: The membership_status of this GroupLimitedMember. # noqa: E501 - :type membership_status: GroupMemberStatus - """ - - self._membership_status = membership_status - - @property - def visibility(self): - """Gets the visibility of this GroupLimitedMember. # noqa: E501 - - - :return: The visibility of this GroupLimitedMember. # noqa: E501 - :rtype: str - """ - return self._visibility - - @visibility.setter - def visibility(self, visibility): - """Sets the visibility of this GroupLimitedMember. - - - :param visibility: The visibility of this GroupLimitedMember. # noqa: E501 - :type visibility: str - """ - - self._visibility = visibility - - @property - def is_subscribed_to_announcements(self): - """Gets the is_subscribed_to_announcements of this GroupLimitedMember. # noqa: E501 + def last_post_read_at(self): + """Gets the last_post_read_at of this GroupLimitedMember. # noqa: E501 - :return: The is_subscribed_to_announcements of this GroupLimitedMember. # noqa: E501 - :rtype: bool + :return: The last_post_read_at of this GroupLimitedMember. # noqa: E501 + :rtype: datetime """ - return self._is_subscribed_to_announcements + return self._last_post_read_at - @is_subscribed_to_announcements.setter - def is_subscribed_to_announcements(self, is_subscribed_to_announcements): - """Sets the is_subscribed_to_announcements of this GroupLimitedMember. + @last_post_read_at.setter + def last_post_read_at(self, last_post_read_at): + """Sets the last_post_read_at of this GroupLimitedMember. - :param is_subscribed_to_announcements: The is_subscribed_to_announcements of this GroupLimitedMember. # noqa: E501 - :type is_subscribed_to_announcements: bool + :param last_post_read_at: The last_post_read_at of this GroupLimitedMember. # noqa: E501 + :type last_post_read_at: datetime """ - self._is_subscribed_to_announcements = is_subscribed_to_announcements + self._last_post_read_at = last_post_read_at @property - def is_subscribed_to_event_announcements(self): - """Gets the is_subscribed_to_event_announcements of this GroupLimitedMember. # noqa: E501 + def m_role_ids(self): + """Gets the m_role_ids of this GroupLimitedMember. # noqa: E501 - :return: The is_subscribed_to_event_announcements of this GroupLimitedMember. # noqa: E501 - :rtype: bool + :return: The m_role_ids of this GroupLimitedMember. # noqa: E501 + :rtype: list[str] """ - return self._is_subscribed_to_event_announcements + return self._m_role_ids - @is_subscribed_to_event_announcements.setter - def is_subscribed_to_event_announcements(self, is_subscribed_to_event_announcements): - """Sets the is_subscribed_to_event_announcements of this GroupLimitedMember. + @m_role_ids.setter + def m_role_ids(self, m_role_ids): + """Sets the m_role_ids of this GroupLimitedMember. - :param is_subscribed_to_event_announcements: The is_subscribed_to_event_announcements of this GroupLimitedMember. # noqa: E501 - :type is_subscribed_to_event_announcements: bool + :param m_role_ids: The m_role_ids of this GroupLimitedMember. # noqa: E501 + :type m_role_ids: list[str] """ - self._is_subscribed_to_event_announcements = is_subscribed_to_event_announcements + self._m_role_ids = m_role_ids @property - def created_at(self): - """Gets the created_at of this GroupLimitedMember. # noqa: E501 + def manager_notes(self): + """Gets the manager_notes of this GroupLimitedMember. # noqa: E501 Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 - :return: The created_at of this GroupLimitedMember. # noqa: E501 - :rtype: datetime + :return: The manager_notes of this GroupLimitedMember. # noqa: E501 + :rtype: str """ - return self._created_at + return self._manager_notes - @created_at.setter - def created_at(self, created_at): - """Sets the created_at of this GroupLimitedMember. + @manager_notes.setter + def manager_notes(self, manager_notes): + """Sets the manager_notes of this GroupLimitedMember. Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 - :param created_at: The created_at of this GroupLimitedMember. # noqa: E501 - :type created_at: datetime + :param manager_notes: The manager_notes of this GroupLimitedMember. # noqa: E501 + :type manager_notes: str """ - self._created_at = created_at + self._manager_notes = manager_notes @property - def banned_at(self): - """Gets the banned_at of this GroupLimitedMember. # noqa: E501 + def membership_status(self): + """Gets the membership_status of this GroupLimitedMember. # noqa: E501 - Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 - :return: The banned_at of this GroupLimitedMember. # noqa: E501 - :rtype: datetime + :return: The membership_status of this GroupLimitedMember. # noqa: E501 + :rtype: GroupMemberStatus """ - return self._banned_at + return self._membership_status - @banned_at.setter - def banned_at(self, banned_at): - """Sets the banned_at of this GroupLimitedMember. + @membership_status.setter + def membership_status(self, membership_status): + """Sets the membership_status of this GroupLimitedMember. - Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 - :param banned_at: The banned_at of this GroupLimitedMember. # noqa: E501 - :type banned_at: datetime + :param membership_status: The membership_status of this GroupLimitedMember. # noqa: E501 + :type membership_status: GroupMemberStatus """ - self._banned_at = banned_at + self._membership_status = membership_status @property - def manager_notes(self): - """Gets the manager_notes of this GroupLimitedMember. # noqa: E501 + def role_ids(self): + """Gets the role_ids of this GroupLimitedMember. # noqa: E501 - Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 - :return: The manager_notes of this GroupLimitedMember. # noqa: E501 - :rtype: str + :return: The role_ids of this GroupLimitedMember. # noqa: E501 + :rtype: list[str] """ - return self._manager_notes + return self._role_ids - @manager_notes.setter - def manager_notes(self, manager_notes): - """Sets the manager_notes of this GroupLimitedMember. + @role_ids.setter + def role_ids(self, role_ids): + """Sets the role_ids of this GroupLimitedMember. - Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 - :param manager_notes: The manager_notes of this GroupLimitedMember. # noqa: E501 - :type manager_notes: str + :param role_ids: The role_ids of this GroupLimitedMember. # noqa: E501 + :type role_ids: list[str] """ - self._manager_notes = manager_notes + self._role_ids = role_ids @property - def last_post_read_at(self): - """Gets the last_post_read_at of this GroupLimitedMember. # noqa: E501 + def user_id(self): + """Gets the user_id of this GroupLimitedMember. # noqa: E501 + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :return: The last_post_read_at of this GroupLimitedMember. # noqa: E501 - :rtype: datetime + :return: The user_id of this GroupLimitedMember. # noqa: E501 + :rtype: str """ - return self._last_post_read_at + return self._user_id - @last_post_read_at.setter - def last_post_read_at(self, last_post_read_at): - """Sets the last_post_read_at of this GroupLimitedMember. + @user_id.setter + def user_id(self, user_id): + """Sets the user_id of this GroupLimitedMember. + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :param last_post_read_at: The last_post_read_at of this GroupLimitedMember. # noqa: E501 - :type last_post_read_at: datetime + :param user_id: The user_id of this GroupLimitedMember. # noqa: E501 + :type user_id: str """ - self._last_post_read_at = last_post_read_at + self._user_id = user_id @property - def has_joined_from_purchase(self): - """Gets the has_joined_from_purchase of this GroupLimitedMember. # noqa: E501 + def visibility(self): + """Gets the visibility of this GroupLimitedMember. # noqa: E501 - :return: The has_joined_from_purchase of this GroupLimitedMember. # noqa: E501 - :rtype: bool + :return: The visibility of this GroupLimitedMember. # noqa: E501 + :rtype: str """ - return self._has_joined_from_purchase + return self._visibility - @has_joined_from_purchase.setter - def has_joined_from_purchase(self, has_joined_from_purchase): - """Sets the has_joined_from_purchase of this GroupLimitedMember. + @visibility.setter + def visibility(self, visibility): + """Sets the visibility of this GroupLimitedMember. - :param has_joined_from_purchase: The has_joined_from_purchase of this GroupLimitedMember. # noqa: E501 - :type has_joined_from_purchase: bool + :param visibility: The visibility of this GroupLimitedMember. # noqa: E501 + :type visibility: str """ - self._has_joined_from_purchase = has_joined_from_purchase + self._visibility = visibility def to_dict(self, serialize=False): """Returns the model properties as a dict""" diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index 9ad06e1d..e2dea1a5 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -38,48 +38,48 @@ class GroupMember(object): openapi_types = { 'accepted_by_display_name': 'str', 'accepted_by_id': 'str', - 'id': 'str', + 'banned_at': 'datetime', + 'created_at': 'datetime', 'group_id': 'str', - 'user_id': 'str', + 'has_joined_from_purchase': 'bool', + 'id': 'str', 'is_representing': 'bool', - 'user': 'GroupMemberLimitedUser', - 'role_ids': 'list[str]', - 'm_role_ids': 'list[str]', - 'joined_at': 'datetime', - 'membership_status': 'GroupMemberStatus', - 'visibility': 'str', 'is_subscribed_to_announcements': 'bool', 'is_subscribed_to_event_announcements': 'bool', - 'created_at': 'datetime', - 'banned_at': 'datetime', - 'manager_notes': 'str', + 'joined_at': 'datetime', 'last_post_read_at': 'datetime', - 'has_joined_from_purchase': 'bool' + 'm_role_ids': 'list[str]', + 'manager_notes': 'str', + 'membership_status': 'GroupMemberStatus', + 'role_ids': 'list[str]', + 'user': 'GroupMemberLimitedUser', + 'user_id': 'str', + 'visibility': 'str' } attribute_map = { 'accepted_by_display_name': 'acceptedByDisplayName', 'accepted_by_id': 'acceptedById', - 'id': 'id', + 'banned_at': 'bannedAt', + 'created_at': 'createdAt', 'group_id': 'groupId', - 'user_id': 'userId', + 'has_joined_from_purchase': 'hasJoinedFromPurchase', + 'id': 'id', 'is_representing': 'isRepresenting', - 'user': 'user', - 'role_ids': 'roleIds', - 'm_role_ids': 'mRoleIds', - 'joined_at': 'joinedAt', - 'membership_status': 'membershipStatus', - 'visibility': 'visibility', 'is_subscribed_to_announcements': 'isSubscribedToAnnouncements', 'is_subscribed_to_event_announcements': 'isSubscribedToEventAnnouncements', - 'created_at': 'createdAt', - 'banned_at': 'bannedAt', - 'manager_notes': 'managerNotes', + 'joined_at': 'joinedAt', 'last_post_read_at': 'lastPostReadAt', - 'has_joined_from_purchase': 'hasJoinedFromPurchase' + 'm_role_ids': 'mRoleIds', + 'manager_notes': 'managerNotes', + 'membership_status': 'membershipStatus', + 'role_ids': 'roleIds', + 'user': 'user', + 'user_id': 'userId', + 'visibility': 'visibility' } - def __init__(self, accepted_by_display_name=None, accepted_by_id=None, id=None, group_id=None, user_id=None, is_representing=False, user=None, role_ids=None, m_role_ids=None, joined_at=None, membership_status=None, visibility=None, is_subscribed_to_announcements=False, is_subscribed_to_event_announcements=None, created_at=None, banned_at=None, manager_notes=None, last_post_read_at=None, has_joined_from_purchase=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, accepted_by_display_name=None, accepted_by_id=None, banned_at=None, created_at=None, group_id=None, has_joined_from_purchase=None, id=None, is_representing=False, is_subscribed_to_announcements=False, is_subscribed_to_event_announcements=None, joined_at=None, last_post_read_at=None, m_role_ids=None, manager_notes=None, membership_status=None, role_ids=None, user=None, user_id=None, visibility=None, local_vars_configuration=None): # noqa: E501 """GroupMember - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -87,56 +87,56 @@ def __init__(self, accepted_by_display_name=None, accepted_by_id=None, id=None, self._accepted_by_display_name = None self._accepted_by_id = None - self._id = None + self._banned_at = None + self._created_at = None self._group_id = None - self._user_id = None + self._has_joined_from_purchase = None + self._id = None self._is_representing = None - self._user = None - self._role_ids = None - self._m_role_ids = None - self._joined_at = None - self._membership_status = None - self._visibility = None self._is_subscribed_to_announcements = None self._is_subscribed_to_event_announcements = None - self._created_at = None - self._banned_at = None - self._manager_notes = None + self._joined_at = None self._last_post_read_at = None - self._has_joined_from_purchase = None + self._m_role_ids = None + self._manager_notes = None + self._membership_status = None + self._role_ids = None + self._user = None + self._user_id = None + self._visibility = None self.discriminator = None self.accepted_by_display_name = accepted_by_display_name self.accepted_by_id = accepted_by_id - if id is not None: - self.id = id + self.banned_at = banned_at + self.created_at = created_at if group_id is not None: self.group_id = group_id - if user_id is not None: - self.user_id = user_id + if has_joined_from_purchase is not None: + self.has_joined_from_purchase = has_joined_from_purchase + if id is not None: + self.id = id if is_representing is not None: self.is_representing = is_representing - if user is not None: - self.user = user - if role_ids is not None: - self.role_ids = role_ids + if is_subscribed_to_announcements is not None: + self.is_subscribed_to_announcements = is_subscribed_to_announcements + if is_subscribed_to_event_announcements is not None: + self.is_subscribed_to_event_announcements = is_subscribed_to_event_announcements + self.joined_at = joined_at + self.last_post_read_at = last_post_read_at if m_role_ids is not None: self.m_role_ids = m_role_ids - self.joined_at = joined_at + self.manager_notes = manager_notes if membership_status is not None: self.membership_status = membership_status + if role_ids is not None: + self.role_ids = role_ids + if user is not None: + self.user = user + if user_id is not None: + self.user_id = user_id if visibility is not None: self.visibility = visibility - if is_subscribed_to_announcements is not None: - self.is_subscribed_to_announcements = is_subscribed_to_announcements - if is_subscribed_to_event_announcements is not None: - self.is_subscribed_to_event_announcements = is_subscribed_to_event_announcements - self.created_at = created_at - self.banned_at = banned_at - self.manager_notes = manager_notes - self.last_post_read_at = last_post_read_at - if has_joined_from_purchase is not None: - self.has_joined_from_purchase = has_joined_from_purchase @property def accepted_by_display_name(self): @@ -181,25 +181,50 @@ def accepted_by_id(self, accepted_by_id): self._accepted_by_id = accepted_by_id @property - def id(self): - """Gets the id of this GroupMember. # noqa: E501 + def banned_at(self): + """Gets the banned_at of this GroupMember. # noqa: E501 + Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 - :return: The id of this GroupMember. # noqa: E501 - :rtype: str + :return: The banned_at of this GroupMember. # noqa: E501 + :rtype: datetime """ - return self._id + return self._banned_at - @id.setter - def id(self, id): - """Sets the id of this GroupMember. + @banned_at.setter + def banned_at(self, banned_at): + """Sets the banned_at of this GroupMember. + Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 - :param id: The id of this GroupMember. # noqa: E501 - :type id: str + :param banned_at: The banned_at of this GroupMember. # noqa: E501 + :type banned_at: datetime """ - self._id = id + self._banned_at = banned_at + + @property + def created_at(self): + """Gets the created_at of this GroupMember. # noqa: E501 + + Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 + + :return: The created_at of this GroupMember. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this GroupMember. + + Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 + + :param created_at: The created_at of this GroupMember. # noqa: E501 + :type created_at: datetime + """ + + self._created_at = created_at @property def group_id(self): @@ -223,27 +248,46 @@ def group_id(self, group_id): self._group_id = group_id @property - def user_id(self): - """Gets the user_id of this GroupMember. # noqa: E501 + def has_joined_from_purchase(self): + """Gets the has_joined_from_purchase of this GroupMember. # noqa: E501 - A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :return: The user_id of this GroupMember. # noqa: E501 + :return: The has_joined_from_purchase of this GroupMember. # noqa: E501 + :rtype: bool + """ + return self._has_joined_from_purchase + + @has_joined_from_purchase.setter + def has_joined_from_purchase(self, has_joined_from_purchase): + """Sets the has_joined_from_purchase of this GroupMember. + + + :param has_joined_from_purchase: The has_joined_from_purchase of this GroupMember. # noqa: E501 + :type has_joined_from_purchase: bool + """ + + self._has_joined_from_purchase = has_joined_from_purchase + + @property + def id(self): + """Gets the id of this GroupMember. # noqa: E501 + + + :return: The id of this GroupMember. # noqa: E501 :rtype: str """ - return self._user_id + return self._id - @user_id.setter - def user_id(self, user_id): - """Sets the user_id of this GroupMember. + @id.setter + def id(self, id): + """Sets the id of this GroupMember. - A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :param user_id: The user_id of this GroupMember. # noqa: E501 - :type user_id: str + :param id: The id of this GroupMember. # noqa: E501 + :type id: str """ - self._user_id = user_id + self._id = id @property def is_representing(self): @@ -269,67 +313,46 @@ def is_representing(self, is_representing): self._is_representing = is_representing @property - def user(self): - """Gets the user of this GroupMember. # noqa: E501 - - - :return: The user of this GroupMember. # noqa: E501 - :rtype: GroupMemberLimitedUser - """ - return self._user - - @user.setter - def user(self, user): - """Sets the user of this GroupMember. - - - :param user: The user of this GroupMember. # noqa: E501 - :type user: GroupMemberLimitedUser - """ - - self._user = user - - @property - def role_ids(self): - """Gets the role_ids of this GroupMember. # noqa: E501 + def is_subscribed_to_announcements(self): + """Gets the is_subscribed_to_announcements of this GroupMember. # noqa: E501 - :return: The role_ids of this GroupMember. # noqa: E501 - :rtype: list[str] + :return: The is_subscribed_to_announcements of this GroupMember. # noqa: E501 + :rtype: bool """ - return self._role_ids + return self._is_subscribed_to_announcements - @role_ids.setter - def role_ids(self, role_ids): - """Sets the role_ids of this GroupMember. + @is_subscribed_to_announcements.setter + def is_subscribed_to_announcements(self, is_subscribed_to_announcements): + """Sets the is_subscribed_to_announcements of this GroupMember. - :param role_ids: The role_ids of this GroupMember. # noqa: E501 - :type role_ids: list[str] + :param is_subscribed_to_announcements: The is_subscribed_to_announcements of this GroupMember. # noqa: E501 + :type is_subscribed_to_announcements: bool """ - self._role_ids = role_ids + self._is_subscribed_to_announcements = is_subscribed_to_announcements @property - def m_role_ids(self): - """Gets the m_role_ids of this GroupMember. # noqa: E501 + def is_subscribed_to_event_announcements(self): + """Gets the is_subscribed_to_event_announcements of this GroupMember. # noqa: E501 - :return: The m_role_ids of this GroupMember. # noqa: E501 - :rtype: list[str] + :return: The is_subscribed_to_event_announcements of this GroupMember. # noqa: E501 + :rtype: bool """ - return self._m_role_ids + return self._is_subscribed_to_event_announcements - @m_role_ids.setter - def m_role_ids(self, m_role_ids): - """Sets the m_role_ids of this GroupMember. + @is_subscribed_to_event_announcements.setter + def is_subscribed_to_event_announcements(self, is_subscribed_to_event_announcements): + """Sets the is_subscribed_to_event_announcements of this GroupMember. - :param m_role_ids: The m_role_ids of this GroupMember. # noqa: E501 - :type m_role_ids: list[str] + :param is_subscribed_to_event_announcements: The is_subscribed_to_event_announcements of this GroupMember. # noqa: E501 + :type is_subscribed_to_event_announcements: bool """ - self._m_role_ids = m_role_ids + self._is_subscribed_to_event_announcements = is_subscribed_to_event_announcements @property def joined_at(self): @@ -353,199 +376,176 @@ def joined_at(self, joined_at): self._joined_at = joined_at @property - def membership_status(self): - """Gets the membership_status of this GroupMember. # noqa: E501 + def last_post_read_at(self): + """Gets the last_post_read_at of this GroupMember. # noqa: E501 - :return: The membership_status of this GroupMember. # noqa: E501 - :rtype: GroupMemberStatus + :return: The last_post_read_at of this GroupMember. # noqa: E501 + :rtype: datetime """ - return self._membership_status + return self._last_post_read_at - @membership_status.setter - def membership_status(self, membership_status): - """Sets the membership_status of this GroupMember. + @last_post_read_at.setter + def last_post_read_at(self, last_post_read_at): + """Sets the last_post_read_at of this GroupMember. - :param membership_status: The membership_status of this GroupMember. # noqa: E501 - :type membership_status: GroupMemberStatus + :param last_post_read_at: The last_post_read_at of this GroupMember. # noqa: E501 + :type last_post_read_at: datetime """ - self._membership_status = membership_status + self._last_post_read_at = last_post_read_at @property - def visibility(self): - """Gets the visibility of this GroupMember. # noqa: E501 + def m_role_ids(self): + """Gets the m_role_ids of this GroupMember. # noqa: E501 - :return: The visibility of this GroupMember. # noqa: E501 - :rtype: str + :return: The m_role_ids of this GroupMember. # noqa: E501 + :rtype: list[str] """ - return self._visibility + return self._m_role_ids - @visibility.setter - def visibility(self, visibility): - """Sets the visibility of this GroupMember. + @m_role_ids.setter + def m_role_ids(self, m_role_ids): + """Sets the m_role_ids of this GroupMember. - :param visibility: The visibility of this GroupMember. # noqa: E501 - :type visibility: str + :param m_role_ids: The m_role_ids of this GroupMember. # noqa: E501 + :type m_role_ids: list[str] """ - self._visibility = visibility + self._m_role_ids = m_role_ids @property - def is_subscribed_to_announcements(self): - """Gets the is_subscribed_to_announcements of this GroupMember. # noqa: E501 + def manager_notes(self): + """Gets the manager_notes of this GroupMember. # noqa: E501 + Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 - :return: The is_subscribed_to_announcements of this GroupMember. # noqa: E501 - :rtype: bool + :return: The manager_notes of this GroupMember. # noqa: E501 + :rtype: str """ - return self._is_subscribed_to_announcements + return self._manager_notes - @is_subscribed_to_announcements.setter - def is_subscribed_to_announcements(self, is_subscribed_to_announcements): - """Sets the is_subscribed_to_announcements of this GroupMember. + @manager_notes.setter + def manager_notes(self, manager_notes): + """Sets the manager_notes of this GroupMember. + Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 - :param is_subscribed_to_announcements: The is_subscribed_to_announcements of this GroupMember. # noqa: E501 - :type is_subscribed_to_announcements: bool + :param manager_notes: The manager_notes of this GroupMember. # noqa: E501 + :type manager_notes: str """ - self._is_subscribed_to_announcements = is_subscribed_to_announcements + self._manager_notes = manager_notes @property - def is_subscribed_to_event_announcements(self): - """Gets the is_subscribed_to_event_announcements of this GroupMember. # noqa: E501 + def membership_status(self): + """Gets the membership_status of this GroupMember. # noqa: E501 - :return: The is_subscribed_to_event_announcements of this GroupMember. # noqa: E501 - :rtype: bool + :return: The membership_status of this GroupMember. # noqa: E501 + :rtype: GroupMemberStatus """ - return self._is_subscribed_to_event_announcements + return self._membership_status - @is_subscribed_to_event_announcements.setter - def is_subscribed_to_event_announcements(self, is_subscribed_to_event_announcements): - """Sets the is_subscribed_to_event_announcements of this GroupMember. + @membership_status.setter + def membership_status(self, membership_status): + """Sets the membership_status of this GroupMember. - :param is_subscribed_to_event_announcements: The is_subscribed_to_event_announcements of this GroupMember. # noqa: E501 - :type is_subscribed_to_event_announcements: bool + :param membership_status: The membership_status of this GroupMember. # noqa: E501 + :type membership_status: GroupMemberStatus """ - self._is_subscribed_to_event_announcements = is_subscribed_to_event_announcements + self._membership_status = membership_status @property - def created_at(self): - """Gets the created_at of this GroupMember. # noqa: E501 + def role_ids(self): + """Gets the role_ids of this GroupMember. # noqa: E501 - Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 - :return: The created_at of this GroupMember. # noqa: E501 - :rtype: datetime + :return: The role_ids of this GroupMember. # noqa: E501 + :rtype: list[str] """ - return self._created_at + return self._role_ids - @created_at.setter - def created_at(self, created_at): - """Sets the created_at of this GroupMember. + @role_ids.setter + def role_ids(self, role_ids): + """Sets the role_ids of this GroupMember. - Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 - :param created_at: The created_at of this GroupMember. # noqa: E501 - :type created_at: datetime + :param role_ids: The role_ids of this GroupMember. # noqa: E501 + :type role_ids: list[str] """ - self._created_at = created_at + self._role_ids = role_ids @property - def banned_at(self): - """Gets the banned_at of this GroupMember. # noqa: E501 + def user(self): + """Gets the user of this GroupMember. # noqa: E501 - Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 - :return: The banned_at of this GroupMember. # noqa: E501 - :rtype: datetime + :return: The user of this GroupMember. # noqa: E501 + :rtype: GroupMemberLimitedUser """ - return self._banned_at + return self._user - @banned_at.setter - def banned_at(self, banned_at): - """Sets the banned_at of this GroupMember. + @user.setter + def user(self, user): + """Sets the user of this GroupMember. - Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 - :param banned_at: The banned_at of this GroupMember. # noqa: E501 - :type banned_at: datetime + :param user: The user of this GroupMember. # noqa: E501 + :type user: GroupMemberLimitedUser """ - self._banned_at = banned_at + self._user = user @property - def manager_notes(self): - """Gets the manager_notes of this GroupMember. # noqa: E501 + def user_id(self): + """Gets the user_id of this GroupMember. # noqa: E501 - Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :return: The manager_notes of this GroupMember. # noqa: E501 + :return: The user_id of this GroupMember. # noqa: E501 :rtype: str """ - return self._manager_notes - - @manager_notes.setter - def manager_notes(self, manager_notes): - """Sets the manager_notes of this GroupMember. - - Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 - - :param manager_notes: The manager_notes of this GroupMember. # noqa: E501 - :type manager_notes: str - """ - - self._manager_notes = manager_notes - - @property - def last_post_read_at(self): - """Gets the last_post_read_at of this GroupMember. # noqa: E501 - - - :return: The last_post_read_at of this GroupMember. # noqa: E501 - :rtype: datetime - """ - return self._last_post_read_at + return self._user_id - @last_post_read_at.setter - def last_post_read_at(self, last_post_read_at): - """Sets the last_post_read_at of this GroupMember. + @user_id.setter + def user_id(self, user_id): + """Sets the user_id of this GroupMember. + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :param last_post_read_at: The last_post_read_at of this GroupMember. # noqa: E501 - :type last_post_read_at: datetime + :param user_id: The user_id of this GroupMember. # noqa: E501 + :type user_id: str """ - self._last_post_read_at = last_post_read_at + self._user_id = user_id @property - def has_joined_from_purchase(self): - """Gets the has_joined_from_purchase of this GroupMember. # noqa: E501 + def visibility(self): + """Gets the visibility of this GroupMember. # noqa: E501 - :return: The has_joined_from_purchase of this GroupMember. # noqa: E501 - :rtype: bool + :return: The visibility of this GroupMember. # noqa: E501 + :rtype: str """ - return self._has_joined_from_purchase + return self._visibility - @has_joined_from_purchase.setter - def has_joined_from_purchase(self, has_joined_from_purchase): - """Sets the has_joined_from_purchase of this GroupMember. + @visibility.setter + def visibility(self, visibility): + """Sets the visibility of this GroupMember. - :param has_joined_from_purchase: The has_joined_from_purchase of this GroupMember. # noqa: E501 - :type has_joined_from_purchase: bool + :param visibility: The visibility of this GroupMember. # noqa: E501 + :type visibility: str """ - self._has_joined_from_purchase = has_joined_from_purchase + self._visibility = visibility def to_dict(self, serialize=False): """Returns the model properties as a dict""" diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index bf282d7a..4de41f00 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,75 +36,94 @@ class GroupMemberLimitedUser(object): and the value is json key in definition. """ openapi_types = { - 'id': 'str', + 'current_avatar_tags': 'list[str]', + 'current_avatar_thumbnail_image_url': 'str', 'display_name': 'str', - 'thumbnail_url': 'str', 'icon_url': 'str', + 'id': 'str', 'profile_pic_override': 'str', - 'current_avatar_thumbnail_image_url': 'str', - 'current_avatar_tags': 'list[str]' + 'thumbnail_url': 'str' } attribute_map = { - 'id': 'id', + 'current_avatar_tags': 'currentAvatarTags', + 'current_avatar_thumbnail_image_url': 'currentAvatarThumbnailImageUrl', 'display_name': 'displayName', - 'thumbnail_url': 'thumbnailUrl', 'icon_url': 'iconUrl', + 'id': 'id', 'profile_pic_override': 'profilePicOverride', - 'current_avatar_thumbnail_image_url': 'currentAvatarThumbnailImageUrl', - 'current_avatar_tags': 'currentAvatarTags' + 'thumbnail_url': 'thumbnailUrl' } - def __init__(self, id=None, display_name=None, thumbnail_url=None, icon_url=None, profile_pic_override=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, current_avatar_tags=None, current_avatar_thumbnail_image_url=None, display_name=None, icon_url=None, id=None, profile_pic_override=None, thumbnail_url=None, local_vars_configuration=None): # noqa: E501 """GroupMemberLimitedUser - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._id = None + self._current_avatar_tags = None + self._current_avatar_thumbnail_image_url = None self._display_name = None - self._thumbnail_url = None self._icon_url = None + self._id = None self._profile_pic_override = None - self._current_avatar_thumbnail_image_url = None - self._current_avatar_tags = None + self._thumbnail_url = None self.discriminator = None - if id is not None: - self.id = id + if current_avatar_tags is not None: + self.current_avatar_tags = current_avatar_tags + self.current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url if display_name is not None: self.display_name = display_name - self.thumbnail_url = thumbnail_url if icon_url is not None: self.icon_url = icon_url + if id is not None: + self.id = id if profile_pic_override is not None: self.profile_pic_override = profile_pic_override - self.current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url - if current_avatar_tags is not None: - self.current_avatar_tags = current_avatar_tags + self.thumbnail_url = thumbnail_url @property - def id(self): - """Gets the id of this GroupMemberLimitedUser. # noqa: E501 + def current_avatar_tags(self): + """Gets the current_avatar_tags of this GroupMemberLimitedUser. # noqa: E501 - A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :return: The id of this GroupMemberLimitedUser. # noqa: E501 + :return: The current_avatar_tags of this GroupMemberLimitedUser. # noqa: E501 + :rtype: list[str] + """ + return self._current_avatar_tags + + @current_avatar_tags.setter + def current_avatar_tags(self, current_avatar_tags): + """Sets the current_avatar_tags of this GroupMemberLimitedUser. + + + :param current_avatar_tags: The current_avatar_tags of this GroupMemberLimitedUser. # noqa: E501 + :type current_avatar_tags: list[str] + """ + + self._current_avatar_tags = current_avatar_tags + + @property + def current_avatar_thumbnail_image_url(self): + """Gets the current_avatar_thumbnail_image_url of this GroupMemberLimitedUser. # noqa: E501 + + + :return: The current_avatar_thumbnail_image_url of this GroupMemberLimitedUser. # noqa: E501 :rtype: str """ - return self._id + return self._current_avatar_thumbnail_image_url - @id.setter - def id(self, id): - """Sets the id of this GroupMemberLimitedUser. + @current_avatar_thumbnail_image_url.setter + def current_avatar_thumbnail_image_url(self, current_avatar_thumbnail_image_url): + """Sets the current_avatar_thumbnail_image_url of this GroupMemberLimitedUser. - A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :param id: The id of this GroupMemberLimitedUser. # noqa: E501 - :type id: str + :param current_avatar_thumbnail_image_url: The current_avatar_thumbnail_image_url of this GroupMemberLimitedUser. # noqa: E501 + :type current_avatar_thumbnail_image_url: str """ - self._id = id + self._current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url @property def display_name(self): @@ -128,46 +147,48 @@ def display_name(self, display_name): self._display_name = display_name @property - def thumbnail_url(self): - """Gets the thumbnail_url of this GroupMemberLimitedUser. # noqa: E501 + def icon_url(self): + """Gets the icon_url of this GroupMemberLimitedUser. # noqa: E501 - :return: The thumbnail_url of this GroupMemberLimitedUser. # noqa: E501 + :return: The icon_url of this GroupMemberLimitedUser. # noqa: E501 :rtype: str """ - return self._thumbnail_url + return self._icon_url - @thumbnail_url.setter - def thumbnail_url(self, thumbnail_url): - """Sets the thumbnail_url of this GroupMemberLimitedUser. + @icon_url.setter + def icon_url(self, icon_url): + """Sets the icon_url of this GroupMemberLimitedUser. - :param thumbnail_url: The thumbnail_url of this GroupMemberLimitedUser. # noqa: E501 - :type thumbnail_url: str + :param icon_url: The icon_url of this GroupMemberLimitedUser. # noqa: E501 + :type icon_url: str """ - self._thumbnail_url = thumbnail_url + self._icon_url = icon_url @property - def icon_url(self): - """Gets the icon_url of this GroupMemberLimitedUser. # noqa: E501 + def id(self): + """Gets the id of this GroupMemberLimitedUser. # noqa: E501 + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :return: The icon_url of this GroupMemberLimitedUser. # noqa: E501 + :return: The id of this GroupMemberLimitedUser. # noqa: E501 :rtype: str """ - return self._icon_url + return self._id - @icon_url.setter - def icon_url(self, icon_url): - """Sets the icon_url of this GroupMemberLimitedUser. + @id.setter + def id(self, id): + """Sets the id of this GroupMemberLimitedUser. + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :param icon_url: The icon_url of this GroupMemberLimitedUser. # noqa: E501 - :type icon_url: str + :param id: The id of this GroupMemberLimitedUser. # noqa: E501 + :type id: str """ - self._icon_url = icon_url + self._id = id @property def profile_pic_override(self): @@ -191,46 +212,25 @@ def profile_pic_override(self, profile_pic_override): self._profile_pic_override = profile_pic_override @property - def current_avatar_thumbnail_image_url(self): - """Gets the current_avatar_thumbnail_image_url of this GroupMemberLimitedUser. # noqa: E501 + def thumbnail_url(self): + """Gets the thumbnail_url of this GroupMemberLimitedUser. # noqa: E501 - :return: The current_avatar_thumbnail_image_url of this GroupMemberLimitedUser. # noqa: E501 + :return: The thumbnail_url of this GroupMemberLimitedUser. # noqa: E501 :rtype: str """ - return self._current_avatar_thumbnail_image_url - - @current_avatar_thumbnail_image_url.setter - def current_avatar_thumbnail_image_url(self, current_avatar_thumbnail_image_url): - """Sets the current_avatar_thumbnail_image_url of this GroupMemberLimitedUser. - - - :param current_avatar_thumbnail_image_url: The current_avatar_thumbnail_image_url of this GroupMemberLimitedUser. # noqa: E501 - :type current_avatar_thumbnail_image_url: str - """ - - self._current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url - - @property - def current_avatar_tags(self): - """Gets the current_avatar_tags of this GroupMemberLimitedUser. # noqa: E501 - - - :return: The current_avatar_tags of this GroupMemberLimitedUser. # noqa: E501 - :rtype: list[str] - """ - return self._current_avatar_tags + return self._thumbnail_url - @current_avatar_tags.setter - def current_avatar_tags(self, current_avatar_tags): - """Sets the current_avatar_tags of this GroupMemberLimitedUser. + @thumbnail_url.setter + def thumbnail_url(self, thumbnail_url): + """Sets the thumbnail_url of this GroupMemberLimitedUser. - :param current_avatar_tags: The current_avatar_tags of this GroupMemberLimitedUser. # noqa: E501 - :type current_avatar_tags: list[str] + :param thumbnail_url: The thumbnail_url of this GroupMemberLimitedUser. # noqa: E501 + :type thumbnail_url: str """ - self._current_avatar_tags = current_avatar_tags + self._thumbnail_url = thumbnail_url def to_dict(self, serialize=False): """Returns the model properties as a dict""" diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index 5b15567f..beeccfc7 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -31,14 +31,14 @@ class GroupMemberStatus(object): """ allowed enum values """ + BANNED = "banned" INACTIVE = "inactive" + INVITED = "invited" MEMBER = "member" REQUESTED = "requested" - INVITED = "invited" - BANNED = "banned" USERBLOCKED = "userblocked" - allowable_values = [INACTIVE, MEMBER, REQUESTED, INVITED, BANNED, USERBLOCKED] # noqa: E501 + allowable_values = [BANNED, INACTIVE, INVITED, MEMBER, REQUESTED, USERBLOCKED] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index 930fe02d..1162a20e 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,306 +36,304 @@ class GroupMyMember(object): and the value is json key in definition. """ openapi_types = { - 'id': 'str', - 'group_id': 'str', - 'user_id': 'str', - 'role_ids': 'list[str]', 'accepted_by_display_name': 'str', 'accepted_by_id': 'str', + 'banned_at': 'str', 'created_at': 'datetime', - 'manager_notes': 'str', - 'membership_status': 'str', + 'group_id': 'str', + 'has2_fa': 'bool', + 'has_joined_from_purchase': 'bool', + 'id': 'str', + 'is_representing': 'bool', 'is_subscribed_to_announcements': 'bool', 'is_subscribed_to_event_announcements': 'bool', - 'visibility': 'str', - 'is_representing': 'bool', 'joined_at': 'datetime', - 'banned_at': 'str', - 'has2_fa': 'bool', - 'has_joined_from_purchase': 'bool', 'last_post_read_at': 'datetime', 'm_role_ids': 'list[str]', - 'permissions': 'list[GroupPermissions]' + 'manager_notes': 'str', + 'membership_status': 'str', + 'permissions': 'list[GroupPermissions]', + 'role_ids': 'list[str]', + 'user_id': 'str', + 'visibility': 'str' } attribute_map = { - 'id': 'id', - 'group_id': 'groupId', - 'user_id': 'userId', - 'role_ids': 'roleIds', 'accepted_by_display_name': 'acceptedByDisplayName', 'accepted_by_id': 'acceptedById', + 'banned_at': 'bannedAt', 'created_at': 'createdAt', - 'manager_notes': 'managerNotes', - 'membership_status': 'membershipStatus', + 'group_id': 'groupId', + 'has2_fa': 'has2FA', + 'has_joined_from_purchase': 'hasJoinedFromPurchase', + 'id': 'id', + 'is_representing': 'isRepresenting', 'is_subscribed_to_announcements': 'isSubscribedToAnnouncements', 'is_subscribed_to_event_announcements': 'isSubscribedToEventAnnouncements', - 'visibility': 'visibility', - 'is_representing': 'isRepresenting', 'joined_at': 'joinedAt', - 'banned_at': 'bannedAt', - 'has2_fa': 'has2FA', - 'has_joined_from_purchase': 'hasJoinedFromPurchase', 'last_post_read_at': 'lastPostReadAt', 'm_role_ids': 'mRoleIds', - 'permissions': 'permissions' + 'manager_notes': 'managerNotes', + 'membership_status': 'membershipStatus', + 'permissions': 'permissions', + 'role_ids': 'roleIds', + 'user_id': 'userId', + 'visibility': 'visibility' } - def __init__(self, id=None, group_id=None, user_id=None, role_ids=None, accepted_by_display_name=None, accepted_by_id=None, created_at=None, manager_notes=None, membership_status=None, is_subscribed_to_announcements=True, is_subscribed_to_event_announcements=None, visibility=None, is_representing=False, joined_at=None, banned_at=None, has2_fa=False, has_joined_from_purchase=False, last_post_read_at=None, m_role_ids=None, permissions=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, accepted_by_display_name=None, accepted_by_id=None, banned_at=None, created_at=None, group_id=None, has2_fa=False, has_joined_from_purchase=False, id=None, is_representing=False, is_subscribed_to_announcements=True, is_subscribed_to_event_announcements=None, joined_at=None, last_post_read_at=None, m_role_ids=None, manager_notes=None, membership_status=None, permissions=None, role_ids=None, user_id=None, visibility=None, local_vars_configuration=None): # noqa: E501 """GroupMyMember - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._id = None - self._group_id = None - self._user_id = None - self._role_ids = None self._accepted_by_display_name = None self._accepted_by_id = None + self._banned_at = None self._created_at = None - self._manager_notes = None - self._membership_status = None + self._group_id = None + self._has2_fa = None + self._has_joined_from_purchase = None + self._id = None + self._is_representing = None self._is_subscribed_to_announcements = None self._is_subscribed_to_event_announcements = None - self._visibility = None - self._is_representing = None self._joined_at = None - self._banned_at = None - self._has2_fa = None - self._has_joined_from_purchase = None self._last_post_read_at = None self._m_role_ids = None + self._manager_notes = None + self._membership_status = None self._permissions = None + self._role_ids = None + self._user_id = None + self._visibility = None self.discriminator = None - if id is not None: - self.id = id - if group_id is not None: - self.group_id = group_id - if user_id is not None: - self.user_id = user_id - if role_ids is not None: - self.role_ids = role_ids self.accepted_by_display_name = accepted_by_display_name self.accepted_by_id = accepted_by_id + self.banned_at = banned_at if created_at is not None: self.created_at = created_at - if manager_notes is not None: - self.manager_notes = manager_notes - if membership_status is not None: - self.membership_status = membership_status + if group_id is not None: + self.group_id = group_id + if has2_fa is not None: + self.has2_fa = has2_fa + if has_joined_from_purchase is not None: + self.has_joined_from_purchase = has_joined_from_purchase + if id is not None: + self.id = id + if is_representing is not None: + self.is_representing = is_representing if is_subscribed_to_announcements is not None: self.is_subscribed_to_announcements = is_subscribed_to_announcements if is_subscribed_to_event_announcements is not None: self.is_subscribed_to_event_announcements = is_subscribed_to_event_announcements - if visibility is not None: - self.visibility = visibility - if is_representing is not None: - self.is_representing = is_representing if joined_at is not None: self.joined_at = joined_at - self.banned_at = banned_at - if has2_fa is not None: - self.has2_fa = has2_fa - if has_joined_from_purchase is not None: - self.has_joined_from_purchase = has_joined_from_purchase self.last_post_read_at = last_post_read_at if m_role_ids is not None: self.m_role_ids = m_role_ids + if manager_notes is not None: + self.manager_notes = manager_notes + if membership_status is not None: + self.membership_status = membership_status if permissions is not None: self.permissions = permissions + if role_ids is not None: + self.role_ids = role_ids + if user_id is not None: + self.user_id = user_id + if visibility is not None: + self.visibility = visibility @property - def id(self): - """Gets the id of this GroupMyMember. # noqa: E501 + def accepted_by_display_name(self): + """Gets the accepted_by_display_name of this GroupMyMember. # noqa: E501 - :return: The id of this GroupMyMember. # noqa: E501 + :return: The accepted_by_display_name of this GroupMyMember. # noqa: E501 :rtype: str """ - return self._id + return self._accepted_by_display_name - @id.setter - def id(self, id): - """Sets the id of this GroupMyMember. + @accepted_by_display_name.setter + def accepted_by_display_name(self, accepted_by_display_name): + """Sets the accepted_by_display_name of this GroupMyMember. - :param id: The id of this GroupMyMember. # noqa: E501 - :type id: str + :param accepted_by_display_name: The accepted_by_display_name of this GroupMyMember. # noqa: E501 + :type accepted_by_display_name: str """ - self._id = id + self._accepted_by_display_name = accepted_by_display_name @property - def group_id(self): - """Gets the group_id of this GroupMyMember. # noqa: E501 + def accepted_by_id(self): + """Gets the accepted_by_id of this GroupMyMember. # noqa: E501 - :return: The group_id of this GroupMyMember. # noqa: E501 + :return: The accepted_by_id of this GroupMyMember. # noqa: E501 :rtype: str """ - return self._group_id + return self._accepted_by_id - @group_id.setter - def group_id(self, group_id): - """Sets the group_id of this GroupMyMember. + @accepted_by_id.setter + def accepted_by_id(self, accepted_by_id): + """Sets the accepted_by_id of this GroupMyMember. - :param group_id: The group_id of this GroupMyMember. # noqa: E501 - :type group_id: str + :param accepted_by_id: The accepted_by_id of this GroupMyMember. # noqa: E501 + :type accepted_by_id: str """ - self._group_id = group_id + self._accepted_by_id = accepted_by_id @property - def user_id(self): - """Gets the user_id of this GroupMyMember. # noqa: E501 + def banned_at(self): + """Gets the banned_at of this GroupMyMember. # noqa: E501 - A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :return: The user_id of this GroupMyMember. # noqa: E501 + :return: The banned_at of this GroupMyMember. # noqa: E501 :rtype: str """ - return self._user_id + return self._banned_at - @user_id.setter - def user_id(self, user_id): - """Sets the user_id of this GroupMyMember. + @banned_at.setter + def banned_at(self, banned_at): + """Sets the banned_at of this GroupMyMember. - A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :param user_id: The user_id of this GroupMyMember. # noqa: E501 - :type user_id: str + :param banned_at: The banned_at of this GroupMyMember. # noqa: E501 + :type banned_at: str """ - self._user_id = user_id + self._banned_at = banned_at @property - def role_ids(self): - """Gets the role_ids of this GroupMyMember. # noqa: E501 + def created_at(self): + """Gets the created_at of this GroupMyMember. # noqa: E501 - :return: The role_ids of this GroupMyMember. # noqa: E501 - :rtype: list[str] + :return: The created_at of this GroupMyMember. # noqa: E501 + :rtype: datetime """ - return self._role_ids + return self._created_at - @role_ids.setter - def role_ids(self, role_ids): - """Sets the role_ids of this GroupMyMember. + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this GroupMyMember. - :param role_ids: The role_ids of this GroupMyMember. # noqa: E501 - :type role_ids: list[str] + :param created_at: The created_at of this GroupMyMember. # noqa: E501 + :type created_at: datetime """ - self._role_ids = role_ids + self._created_at = created_at @property - def accepted_by_display_name(self): - """Gets the accepted_by_display_name of this GroupMyMember. # noqa: E501 + def group_id(self): + """Gets the group_id of this GroupMyMember. # noqa: E501 - :return: The accepted_by_display_name of this GroupMyMember. # noqa: E501 + :return: The group_id of this GroupMyMember. # noqa: E501 :rtype: str """ - return self._accepted_by_display_name + return self._group_id - @accepted_by_display_name.setter - def accepted_by_display_name(self, accepted_by_display_name): - """Sets the accepted_by_display_name of this GroupMyMember. + @group_id.setter + def group_id(self, group_id): + """Sets the group_id of this GroupMyMember. - :param accepted_by_display_name: The accepted_by_display_name of this GroupMyMember. # noqa: E501 - :type accepted_by_display_name: str + :param group_id: The group_id of this GroupMyMember. # noqa: E501 + :type group_id: str """ - self._accepted_by_display_name = accepted_by_display_name + self._group_id = group_id @property - def accepted_by_id(self): - """Gets the accepted_by_id of this GroupMyMember. # noqa: E501 + def has2_fa(self): + """Gets the has2_fa of this GroupMyMember. # noqa: E501 - :return: The accepted_by_id of this GroupMyMember. # noqa: E501 - :rtype: str + :return: The has2_fa of this GroupMyMember. # noqa: E501 + :rtype: bool """ - return self._accepted_by_id + return self._has2_fa - @accepted_by_id.setter - def accepted_by_id(self, accepted_by_id): - """Sets the accepted_by_id of this GroupMyMember. + @has2_fa.setter + def has2_fa(self, has2_fa): + """Sets the has2_fa of this GroupMyMember. - :param accepted_by_id: The accepted_by_id of this GroupMyMember. # noqa: E501 - :type accepted_by_id: str + :param has2_fa: The has2_fa of this GroupMyMember. # noqa: E501 + :type has2_fa: bool """ - self._accepted_by_id = accepted_by_id + self._has2_fa = has2_fa @property - def created_at(self): - """Gets the created_at of this GroupMyMember. # noqa: E501 + def has_joined_from_purchase(self): + """Gets the has_joined_from_purchase of this GroupMyMember. # noqa: E501 - :return: The created_at of this GroupMyMember. # noqa: E501 - :rtype: datetime + :return: The has_joined_from_purchase of this GroupMyMember. # noqa: E501 + :rtype: bool """ - return self._created_at + return self._has_joined_from_purchase - @created_at.setter - def created_at(self, created_at): - """Sets the created_at of this GroupMyMember. + @has_joined_from_purchase.setter + def has_joined_from_purchase(self, has_joined_from_purchase): + """Sets the has_joined_from_purchase of this GroupMyMember. - :param created_at: The created_at of this GroupMyMember. # noqa: E501 - :type created_at: datetime + :param has_joined_from_purchase: The has_joined_from_purchase of this GroupMyMember. # noqa: E501 + :type has_joined_from_purchase: bool """ - self._created_at = created_at + self._has_joined_from_purchase = has_joined_from_purchase @property - def manager_notes(self): - """Gets the manager_notes of this GroupMyMember. # noqa: E501 + def id(self): + """Gets the id of this GroupMyMember. # noqa: E501 - :return: The manager_notes of this GroupMyMember. # noqa: E501 + :return: The id of this GroupMyMember. # noqa: E501 :rtype: str """ - return self._manager_notes + return self._id - @manager_notes.setter - def manager_notes(self, manager_notes): - """Sets the manager_notes of this GroupMyMember. + @id.setter + def id(self, id): + """Sets the id of this GroupMyMember. - :param manager_notes: The manager_notes of this GroupMyMember. # noqa: E501 - :type manager_notes: str + :param id: The id of this GroupMyMember. # noqa: E501 + :type id: str """ - self._manager_notes = manager_notes + self._id = id @property - def membership_status(self): - """Gets the membership_status of this GroupMyMember. # noqa: E501 + def is_representing(self): + """Gets the is_representing of this GroupMyMember. # noqa: E501 - :return: The membership_status of this GroupMyMember. # noqa: E501 - :rtype: str + :return: The is_representing of this GroupMyMember. # noqa: E501 + :rtype: bool """ - return self._membership_status + return self._is_representing - @membership_status.setter - def membership_status(self, membership_status): - """Sets the membership_status of this GroupMyMember. + @is_representing.setter + def is_representing(self, is_representing): + """Sets the is_representing of this GroupMyMember. - :param membership_status: The membership_status of this GroupMyMember. # noqa: E501 - :type membership_status: str + :param is_representing: The is_representing of this GroupMyMember. # noqa: E501 + :type is_representing: bool """ - self._membership_status = membership_status + self._is_representing = is_representing @property def is_subscribed_to_announcements(self): @@ -380,193 +378,195 @@ def is_subscribed_to_event_announcements(self, is_subscribed_to_event_announceme self._is_subscribed_to_event_announcements = is_subscribed_to_event_announcements @property - def visibility(self): - """Gets the visibility of this GroupMyMember. # noqa: E501 + def joined_at(self): + """Gets the joined_at of this GroupMyMember. # noqa: E501 - :return: The visibility of this GroupMyMember. # noqa: E501 - :rtype: str + :return: The joined_at of this GroupMyMember. # noqa: E501 + :rtype: datetime """ - return self._visibility + return self._joined_at - @visibility.setter - def visibility(self, visibility): - """Sets the visibility of this GroupMyMember. + @joined_at.setter + def joined_at(self, joined_at): + """Sets the joined_at of this GroupMyMember. - :param visibility: The visibility of this GroupMyMember. # noqa: E501 - :type visibility: str + :param joined_at: The joined_at of this GroupMyMember. # noqa: E501 + :type joined_at: datetime """ - self._visibility = visibility + self._joined_at = joined_at @property - def is_representing(self): - """Gets the is_representing of this GroupMyMember. # noqa: E501 + def last_post_read_at(self): + """Gets the last_post_read_at of this GroupMyMember. # noqa: E501 - :return: The is_representing of this GroupMyMember. # noqa: E501 - :rtype: bool + :return: The last_post_read_at of this GroupMyMember. # noqa: E501 + :rtype: datetime """ - return self._is_representing + return self._last_post_read_at - @is_representing.setter - def is_representing(self, is_representing): - """Sets the is_representing of this GroupMyMember. + @last_post_read_at.setter + def last_post_read_at(self, last_post_read_at): + """Sets the last_post_read_at of this GroupMyMember. - :param is_representing: The is_representing of this GroupMyMember. # noqa: E501 - :type is_representing: bool + :param last_post_read_at: The last_post_read_at of this GroupMyMember. # noqa: E501 + :type last_post_read_at: datetime """ - self._is_representing = is_representing + self._last_post_read_at = last_post_read_at @property - def joined_at(self): - """Gets the joined_at of this GroupMyMember. # noqa: E501 + def m_role_ids(self): + """Gets the m_role_ids of this GroupMyMember. # noqa: E501 - :return: The joined_at of this GroupMyMember. # noqa: E501 - :rtype: datetime + :return: The m_role_ids of this GroupMyMember. # noqa: E501 + :rtype: list[str] """ - return self._joined_at + return self._m_role_ids - @joined_at.setter - def joined_at(self, joined_at): - """Sets the joined_at of this GroupMyMember. + @m_role_ids.setter + def m_role_ids(self, m_role_ids): + """Sets the m_role_ids of this GroupMyMember. - :param joined_at: The joined_at of this GroupMyMember. # noqa: E501 - :type joined_at: datetime + :param m_role_ids: The m_role_ids of this GroupMyMember. # noqa: E501 + :type m_role_ids: list[str] """ - self._joined_at = joined_at + self._m_role_ids = m_role_ids @property - def banned_at(self): - """Gets the banned_at of this GroupMyMember. # noqa: E501 + def manager_notes(self): + """Gets the manager_notes of this GroupMyMember. # noqa: E501 - :return: The banned_at of this GroupMyMember. # noqa: E501 + :return: The manager_notes of this GroupMyMember. # noqa: E501 :rtype: str """ - return self._banned_at + return self._manager_notes - @banned_at.setter - def banned_at(self, banned_at): - """Sets the banned_at of this GroupMyMember. + @manager_notes.setter + def manager_notes(self, manager_notes): + """Sets the manager_notes of this GroupMyMember. - :param banned_at: The banned_at of this GroupMyMember. # noqa: E501 - :type banned_at: str + :param manager_notes: The manager_notes of this GroupMyMember. # noqa: E501 + :type manager_notes: str """ - self._banned_at = banned_at + self._manager_notes = manager_notes @property - def has2_fa(self): - """Gets the has2_fa of this GroupMyMember. # noqa: E501 + def membership_status(self): + """Gets the membership_status of this GroupMyMember. # noqa: E501 - :return: The has2_fa of this GroupMyMember. # noqa: E501 - :rtype: bool + :return: The membership_status of this GroupMyMember. # noqa: E501 + :rtype: str """ - return self._has2_fa + return self._membership_status - @has2_fa.setter - def has2_fa(self, has2_fa): - """Sets the has2_fa of this GroupMyMember. + @membership_status.setter + def membership_status(self, membership_status): + """Sets the membership_status of this GroupMyMember. - :param has2_fa: The has2_fa of this GroupMyMember. # noqa: E501 - :type has2_fa: bool + :param membership_status: The membership_status of this GroupMyMember. # noqa: E501 + :type membership_status: str """ - self._has2_fa = has2_fa + self._membership_status = membership_status @property - def has_joined_from_purchase(self): - """Gets the has_joined_from_purchase of this GroupMyMember. # noqa: E501 + def permissions(self): + """Gets the permissions of this GroupMyMember. # noqa: E501 - :return: The has_joined_from_purchase of this GroupMyMember. # noqa: E501 - :rtype: bool + :return: The permissions of this GroupMyMember. # noqa: E501 + :rtype: list[GroupPermissions] """ - return self._has_joined_from_purchase + return self._permissions - @has_joined_from_purchase.setter - def has_joined_from_purchase(self, has_joined_from_purchase): - """Sets the has_joined_from_purchase of this GroupMyMember. + @permissions.setter + def permissions(self, permissions): + """Sets the permissions of this GroupMyMember. - :param has_joined_from_purchase: The has_joined_from_purchase of this GroupMyMember. # noqa: E501 - :type has_joined_from_purchase: bool + :param permissions: The permissions of this GroupMyMember. # noqa: E501 + :type permissions: list[GroupPermissions] """ - self._has_joined_from_purchase = has_joined_from_purchase + self._permissions = permissions @property - def last_post_read_at(self): - """Gets the last_post_read_at of this GroupMyMember. # noqa: E501 + def role_ids(self): + """Gets the role_ids of this GroupMyMember. # noqa: E501 - :return: The last_post_read_at of this GroupMyMember. # noqa: E501 - :rtype: datetime + :return: The role_ids of this GroupMyMember. # noqa: E501 + :rtype: list[str] """ - return self._last_post_read_at + return self._role_ids - @last_post_read_at.setter - def last_post_read_at(self, last_post_read_at): - """Sets the last_post_read_at of this GroupMyMember. + @role_ids.setter + def role_ids(self, role_ids): + """Sets the role_ids of this GroupMyMember. - :param last_post_read_at: The last_post_read_at of this GroupMyMember. # noqa: E501 - :type last_post_read_at: datetime + :param role_ids: The role_ids of this GroupMyMember. # noqa: E501 + :type role_ids: list[str] """ - self._last_post_read_at = last_post_read_at + self._role_ids = role_ids @property - def m_role_ids(self): - """Gets the m_role_ids of this GroupMyMember. # noqa: E501 + def user_id(self): + """Gets the user_id of this GroupMyMember. # noqa: E501 + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :return: The m_role_ids of this GroupMyMember. # noqa: E501 - :rtype: list[str] + :return: The user_id of this GroupMyMember. # noqa: E501 + :rtype: str """ - return self._m_role_ids + return self._user_id - @m_role_ids.setter - def m_role_ids(self, m_role_ids): - """Sets the m_role_ids of this GroupMyMember. + @user_id.setter + def user_id(self, user_id): + """Sets the user_id of this GroupMyMember. + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :param m_role_ids: The m_role_ids of this GroupMyMember. # noqa: E501 - :type m_role_ids: list[str] + :param user_id: The user_id of this GroupMyMember. # noqa: E501 + :type user_id: str """ - self._m_role_ids = m_role_ids + self._user_id = user_id @property - def permissions(self): - """Gets the permissions of this GroupMyMember. # noqa: E501 + def visibility(self): + """Gets the visibility of this GroupMyMember. # noqa: E501 - :return: The permissions of this GroupMyMember. # noqa: E501 - :rtype: list[GroupPermissions] + :return: The visibility of this GroupMyMember. # noqa: E501 + :rtype: str """ - return self._permissions + return self._visibility - @permissions.setter - def permissions(self, permissions): - """Sets the permissions of this GroupMyMember. + @visibility.setter + def visibility(self, visibility): + """Sets the visibility of this GroupMyMember. - :param permissions: The permissions of this GroupMyMember. # noqa: E501 - :type permissions: list[GroupPermissions] + :param visibility: The visibility of this GroupMyMember. # noqa: E501 + :type visibility: str """ - self._permissions = permissions + self._visibility = visibility def to_dict(self, serialize=False): """Returns the model properties as a dict""" diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index 3cc8656a..6595fdcf 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,67 +36,67 @@ class GroupPermission(object): and the value is json key in definition. """ openapi_types = { - 'name': 'str', + 'allowed_to_add': 'bool', 'display_name': 'str', 'help': 'str', 'is_management_permission': 'bool', - 'allowed_to_add': 'bool' + 'name': 'str' } attribute_map = { - 'name': 'name', + 'allowed_to_add': 'allowedToAdd', 'display_name': 'displayName', 'help': 'help', 'is_management_permission': 'isManagementPermission', - 'allowed_to_add': 'allowedToAdd' + 'name': 'name' } - def __init__(self, name=None, display_name=None, help=None, is_management_permission=False, allowed_to_add=False, local_vars_configuration=None): # noqa: E501 + def __init__(self, allowed_to_add=False, display_name=None, help=None, is_management_permission=False, name=None, local_vars_configuration=None): # noqa: E501 """GroupPermission - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._name = None + self._allowed_to_add = None self._display_name = None self._help = None self._is_management_permission = None - self._allowed_to_add = None + self._name = None self.discriminator = None - if name is not None: - self.name = name + if allowed_to_add is not None: + self.allowed_to_add = allowed_to_add if display_name is not None: self.display_name = display_name if help is not None: self.help = help if is_management_permission is not None: self.is_management_permission = is_management_permission - if allowed_to_add is not None: - self.allowed_to_add = allowed_to_add + if name is not None: + self.name = name @property - def name(self): - """Gets the name of this GroupPermission. # noqa: E501 + def allowed_to_add(self): + """Gets the allowed_to_add of this GroupPermission. # noqa: E501 - The name of the permission. # noqa: E501 + Whether the user is allowed to add this permission to a role. # noqa: E501 - :return: The name of this GroupPermission. # noqa: E501 - :rtype: str + :return: The allowed_to_add of this GroupPermission. # noqa: E501 + :rtype: bool """ - return self._name + return self._allowed_to_add - @name.setter - def name(self, name): - """Sets the name of this GroupPermission. + @allowed_to_add.setter + def allowed_to_add(self, allowed_to_add): + """Sets the allowed_to_add of this GroupPermission. - The name of the permission. # noqa: E501 + Whether the user is allowed to add this permission to a role. # noqa: E501 - :param name: The name of this GroupPermission. # noqa: E501 - :type name: str + :param allowed_to_add: The allowed_to_add of this GroupPermission. # noqa: E501 + :type allowed_to_add: bool """ - self._name = name + self._allowed_to_add = allowed_to_add @property def display_name(self): @@ -168,27 +168,27 @@ def is_management_permission(self, is_management_permission): self._is_management_permission = is_management_permission @property - def allowed_to_add(self): - """Gets the allowed_to_add of this GroupPermission. # noqa: E501 + def name(self): + """Gets the name of this GroupPermission. # noqa: E501 - Whether the user is allowed to add this permission to a role. # noqa: E501 + The name of the permission. # noqa: E501 - :return: The allowed_to_add of this GroupPermission. # noqa: E501 - :rtype: bool + :return: The name of this GroupPermission. # noqa: E501 + :rtype: str """ - return self._allowed_to_add + return self._name - @allowed_to_add.setter - def allowed_to_add(self, allowed_to_add): - """Sets the allowed_to_add of this GroupPermission. + @name.setter + def name(self, name): + """Sets the name of this GroupPermission. - Whether the user is allowed to add this permission to a role. # noqa: E501 + The name of the permission. # noqa: E501 - :param allowed_to_add: The allowed_to_add of this GroupPermission. # noqa: E501 - :type allowed_to_add: bool + :param name: The name of this GroupPermission. # noqa: E501 + :type name: str """ - self._allowed_to_add = allowed_to_add + self._name = name def to_dict(self, serialize=False): """Returns the model properties as a dict""" diff --git a/vrchatapi/models/group_permissions.py b/vrchatapi/models/group_permissions.py index 57b902e3..29551e8b 100644 --- a/vrchatapi/models/group_permissions.py +++ b/vrchatapi/models/group_permissions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -35,10 +35,12 @@ class GroupPermissions(object): group_announcement_manage = "group-announcement-manage" group_audit_view = "group-audit-view" group_bans_manage = "group-bans-manage" + group_calendar_manage = "group-calendar-manage" group_data_manage = "group-data-manage" group_default_role_manage = "group-default-role-manage" group_galleries_manage = "group-galleries-manage" group_instance_age_gated_create = "group-instance-age-gated-create" + group_instance_calendar_link = "group-instance-calendar-link" group_instance_join = "group-instance-join" group_instance_manage = "group-instance-manage" group_instance_moderate = "group-instance-moderate" @@ -55,10 +57,8 @@ class GroupPermissions(object): group_members_viewall = "group-members-viewall" group_roles_assign = "group-roles-assign" group_roles_manage = "group-roles-manage" - group_calendar_manage = "group-calendar-manage" - group_instance_calendar_link = "group-instance-calendar-link" - allowable_values = [group_all, group_announcement_manage, group_audit_view, group_bans_manage, group_data_manage, group_default_role_manage, group_galleries_manage, group_instance_age_gated_create, group_instance_join, group_instance_manage, group_instance_moderate, group_instance_open_create, group_instance_plus_create, group_instance_plus_portal, group_instance_plus_portal_unlocked, group_instance_public_create, group_instance_queue_priority, group_instance_restricted_create, group_invites_manage, group_members_manage, group_members_remove, group_members_viewall, group_roles_assign, group_roles_manage, group_calendar_manage, group_instance_calendar_link] # noqa: E501 + allowable_values = [group_all, group_announcement_manage, group_audit_view, group_bans_manage, group_calendar_manage, group_data_manage, group_default_role_manage, group_galleries_manage, group_instance_age_gated_create, group_instance_calendar_link, group_instance_join, group_instance_manage, group_instance_moderate, group_instance_open_create, group_instance_plus_create, group_instance_plus_portal, group_instance_plus_portal_unlocked, group_instance_public_create, group_instance_queue_priority, group_instance_restricted_create, group_invites_manage, group_members_manage, group_members_remove, group_members_viewall, group_roles_assign, group_roles_manage] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/group_post.py b/vrchatapi/models/group_post.py index 017374c3..86784647 100644 --- a/vrchatapi/models/group_post.py +++ b/vrchatapi/models/group_post.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,120 +36,78 @@ class GroupPost(object): and the value is json key in definition. """ openapi_types = { - 'id': 'str', - 'group_id': 'str', 'author_id': 'str', + 'created_at': 'datetime', 'editor_id': 'str', - 'visibility': 'GroupPostVisibility', - 'role_id': 'list[str]', - 'title': 'str', - 'text': 'str', + 'group_id': 'str', + 'id': 'str', 'image_id': 'str', 'image_url': 'str', - 'created_at': 'datetime', - 'updated_at': 'datetime' + 'role_id': 'list[str]', + 'text': 'str', + 'title': 'str', + 'updated_at': 'datetime', + 'visibility': 'GroupPostVisibility' } attribute_map = { - 'id': 'id', - 'group_id': 'groupId', 'author_id': 'authorId', + 'created_at': 'createdAt', 'editor_id': 'editorId', - 'visibility': 'visibility', - 'role_id': 'roleId', - 'title': 'title', - 'text': 'text', + 'group_id': 'groupId', + 'id': 'id', 'image_id': 'imageId', 'image_url': 'imageUrl', - 'created_at': 'createdAt', - 'updated_at': 'updatedAt' + 'role_id': 'roleId', + 'text': 'text', + 'title': 'title', + 'updated_at': 'updatedAt', + 'visibility': 'visibility' } - def __init__(self, id=None, group_id=None, author_id=None, editor_id=None, visibility=None, role_id=None, title=None, text=None, image_id=None, image_url=None, created_at=None, updated_at=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, author_id=None, created_at=None, editor_id=None, group_id=None, id=None, image_id=None, image_url=None, role_id=None, text=None, title=None, updated_at=None, visibility=None, local_vars_configuration=None): # noqa: E501 """GroupPost - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._id = None - self._group_id = None self._author_id = None + self._created_at = None self._editor_id = None - self._visibility = None - self._role_id = None - self._title = None - self._text = None + self._group_id = None + self._id = None self._image_id = None self._image_url = None - self._created_at = None + self._role_id = None + self._text = None + self._title = None self._updated_at = None + self._visibility = None self.discriminator = None - if id is not None: - self.id = id - if group_id is not None: - self.group_id = group_id if author_id is not None: self.author_id = author_id + if created_at is not None: + self.created_at = created_at if editor_id is not None: self.editor_id = editor_id - if visibility is not None: - self.visibility = visibility + if group_id is not None: + self.group_id = group_id + if id is not None: + self.id = id + if image_id is not None: + self.image_id = image_id + self.image_url = image_url if role_id is not None: self.role_id = role_id - if title is not None: - self.title = title if text is not None: self.text = text - if image_id is not None: - self.image_id = image_id - self.image_url = image_url - if created_at is not None: - self.created_at = created_at + if title is not None: + self.title = title if updated_at is not None: self.updated_at = updated_at - - @property - def id(self): - """Gets the id of this GroupPost. # noqa: E501 - - - :return: The id of this GroupPost. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this GroupPost. - - - :param id: The id of this GroupPost. # noqa: E501 - :type id: str - """ - - self._id = id - - @property - def group_id(self): - """Gets the group_id of this GroupPost. # noqa: E501 - - - :return: The group_id of this GroupPost. # noqa: E501 - :rtype: str - """ - return self._group_id - - @group_id.setter - def group_id(self, group_id): - """Sets the group_id of this GroupPost. - - - :param group_id: The group_id of this GroupPost. # noqa: E501 - :type group_id: str - """ - - self._group_id = group_id + if visibility is not None: + self.visibility = visibility @property def author_id(self): @@ -174,6 +132,27 @@ def author_id(self, author_id): self._author_id = author_id + @property + def created_at(self): + """Gets the created_at of this GroupPost. # noqa: E501 + + + :return: The created_at of this GroupPost. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this GroupPost. + + + :param created_at: The created_at of this GroupPost. # noqa: E501 + :type created_at: datetime + """ + + self._created_at = created_at + @property def editor_id(self): """Gets the editor_id of this GroupPost. # noqa: E501 @@ -198,90 +177,46 @@ def editor_id(self, editor_id): self._editor_id = editor_id @property - def visibility(self): - """Gets the visibility of this GroupPost. # noqa: E501 - - - :return: The visibility of this GroupPost. # noqa: E501 - :rtype: GroupPostVisibility - """ - return self._visibility - - @visibility.setter - def visibility(self, visibility): - """Sets the visibility of this GroupPost. - - - :param visibility: The visibility of this GroupPost. # noqa: E501 - :type visibility: GroupPostVisibility - """ - - self._visibility = visibility - - @property - def role_id(self): - """Gets the role_id of this GroupPost. # noqa: E501 - - # noqa: E501 - - :return: The role_id of this GroupPost. # noqa: E501 - :rtype: list[str] - """ - return self._role_id - - @role_id.setter - def role_id(self, role_id): - """Sets the role_id of this GroupPost. - - # noqa: E501 - - :param role_id: The role_id of this GroupPost. # noqa: E501 - :type role_id: list[str] - """ - - self._role_id = role_id - - @property - def title(self): - """Gets the title of this GroupPost. # noqa: E501 + def group_id(self): + """Gets the group_id of this GroupPost. # noqa: E501 - :return: The title of this GroupPost. # noqa: E501 + :return: The group_id of this GroupPost. # noqa: E501 :rtype: str """ - return self._title + return self._group_id - @title.setter - def title(self, title): - """Sets the title of this GroupPost. + @group_id.setter + def group_id(self, group_id): + """Sets the group_id of this GroupPost. - :param title: The title of this GroupPost. # noqa: E501 - :type title: str + :param group_id: The group_id of this GroupPost. # noqa: E501 + :type group_id: str """ - self._title = title + self._group_id = group_id @property - def text(self): - """Gets the text of this GroupPost. # noqa: E501 + def id(self): + """Gets the id of this GroupPost. # noqa: E501 - :return: The text of this GroupPost. # noqa: E501 + :return: The id of this GroupPost. # noqa: E501 :rtype: str """ - return self._text + return self._id - @text.setter - def text(self, text): - """Sets the text of this GroupPost. + @id.setter + def id(self, id): + """Sets the id of this GroupPost. - :param text: The text of this GroupPost. # noqa: E501 - :type text: str + :param id: The id of this GroupPost. # noqa: E501 + :type id: str """ - self._text = text + self._id = id @property def image_id(self): @@ -326,25 +261,69 @@ def image_url(self, image_url): self._image_url = image_url @property - def created_at(self): - """Gets the created_at of this GroupPost. # noqa: E501 + def role_id(self): + """Gets the role_id of this GroupPost. # noqa: E501 + # noqa: E501 - :return: The created_at of this GroupPost. # noqa: E501 - :rtype: datetime + :return: The role_id of this GroupPost. # noqa: E501 + :rtype: list[str] """ - return self._created_at + return self._role_id - @created_at.setter - def created_at(self, created_at): - """Sets the created_at of this GroupPost. + @role_id.setter + def role_id(self, role_id): + """Sets the role_id of this GroupPost. + # noqa: E501 - :param created_at: The created_at of this GroupPost. # noqa: E501 - :type created_at: datetime + :param role_id: The role_id of this GroupPost. # noqa: E501 + :type role_id: list[str] """ - self._created_at = created_at + self._role_id = role_id + + @property + def text(self): + """Gets the text of this GroupPost. # noqa: E501 + + + :return: The text of this GroupPost. # noqa: E501 + :rtype: str + """ + return self._text + + @text.setter + def text(self, text): + """Sets the text of this GroupPost. + + + :param text: The text of this GroupPost. # noqa: E501 + :type text: str + """ + + self._text = text + + @property + def title(self): + """Gets the title of this GroupPost. # noqa: E501 + + + :return: The title of this GroupPost. # noqa: E501 + :rtype: str + """ + return self._title + + @title.setter + def title(self, title): + """Sets the title of this GroupPost. + + + :param title: The title of this GroupPost. # noqa: E501 + :type title: str + """ + + self._title = title @property def updated_at(self): @@ -367,6 +346,27 @@ def updated_at(self, updated_at): self._updated_at = updated_at + @property + def visibility(self): + """Gets the visibility of this GroupPost. # noqa: E501 + + + :return: The visibility of this GroupPost. # noqa: E501 + :rtype: GroupPostVisibility + """ + return self._visibility + + @visibility.setter + def visibility(self, visibility): + """Sets the visibility of this GroupPost. + + + :param visibility: The visibility of this GroupPost. # noqa: E501 + :type visibility: GroupPostVisibility + """ + + self._visibility = visibility + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/group_post_visibility.py b/vrchatapi/models/group_post_visibility.py index 5134b5cc..2d8c9bba 100644 --- a/vrchatapi/models/group_post_visibility.py +++ b/vrchatapi/models/group_post_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index f40bbf83..1f13f57e 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index e1064f1e..c1e82cb2 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,100 +36,121 @@ class GroupRole(object): and the value is json key in definition. """ openapi_types = { - 'id': 'str', - 'group_id': 'str', - 'name': 'str', + 'created_at': 'datetime', 'description': 'str', + 'group_id': 'str', + 'id': 'str', + 'is_management_role': 'bool', 'is_self_assignable': 'bool', + 'name': 'str', + 'order': 'int', 'permissions': 'list[GroupPermissions]', - 'is_management_role': 'bool', - 'requires_two_factor': 'bool', 'requires_purchase': 'bool', - 'order': 'int', - 'created_at': 'datetime', + 'requires_two_factor': 'bool', 'updated_at': 'datetime' } attribute_map = { - 'id': 'id', - 'group_id': 'groupId', - 'name': 'name', + 'created_at': 'createdAt', 'description': 'description', + 'group_id': 'groupId', + 'id': 'id', + 'is_management_role': 'isManagementRole', 'is_self_assignable': 'isSelfAssignable', + 'name': 'name', + 'order': 'order', 'permissions': 'permissions', - 'is_management_role': 'isManagementRole', - 'requires_two_factor': 'requiresTwoFactor', 'requires_purchase': 'requiresPurchase', - 'order': 'order', - 'created_at': 'createdAt', + 'requires_two_factor': 'requiresTwoFactor', 'updated_at': 'updatedAt' } - def __init__(self, id=None, group_id=None, name=None, description=None, is_self_assignable=False, permissions=None, is_management_role=False, requires_two_factor=False, requires_purchase=False, order=None, created_at=None, updated_at=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, created_at=None, description=None, group_id=None, id=None, is_management_role=False, is_self_assignable=False, name=None, order=None, permissions=None, requires_purchase=False, requires_two_factor=False, updated_at=None, local_vars_configuration=None): # noqa: E501 """GroupRole - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._id = None - self._group_id = None - self._name = None + self._created_at = None self._description = None + self._group_id = None + self._id = None + self._is_management_role = None self._is_self_assignable = None + self._name = None + self._order = None self._permissions = None - self._is_management_role = None - self._requires_two_factor = None self._requires_purchase = None - self._order = None - self._created_at = None + self._requires_two_factor = None self._updated_at = None self.discriminator = None - if id is not None: - self.id = id - if group_id is not None: - self.group_id = group_id - if name is not None: - self.name = name + if created_at is not None: + self.created_at = created_at if description is not None: self.description = description + if group_id is not None: + self.group_id = group_id + if id is not None: + self.id = id + if is_management_role is not None: + self.is_management_role = is_management_role if is_self_assignable is not None: self.is_self_assignable = is_self_assignable + if name is not None: + self.name = name + if order is not None: + self.order = order if permissions is not None: self.permissions = permissions - if is_management_role is not None: - self.is_management_role = is_management_role - if requires_two_factor is not None: - self.requires_two_factor = requires_two_factor if requires_purchase is not None: self.requires_purchase = requires_purchase - if order is not None: - self.order = order - if created_at is not None: - self.created_at = created_at + if requires_two_factor is not None: + self.requires_two_factor = requires_two_factor if updated_at is not None: self.updated_at = updated_at @property - def id(self): - """Gets the id of this GroupRole. # noqa: E501 + def created_at(self): + """Gets the created_at of this GroupRole. # noqa: E501 - :return: The id of this GroupRole. # noqa: E501 + :return: The created_at of this GroupRole. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this GroupRole. + + + :param created_at: The created_at of this GroupRole. # noqa: E501 + :type created_at: datetime + """ + + self._created_at = created_at + + @property + def description(self): + """Gets the description of this GroupRole. # noqa: E501 + + + :return: The description of this GroupRole. # noqa: E501 :rtype: str """ - return self._id + return self._description - @id.setter - def id(self, id): - """Sets the id of this GroupRole. + @description.setter + def description(self, description): + """Sets the description of this GroupRole. - :param id: The id of this GroupRole. # noqa: E501 - :type id: str + :param description: The description of this GroupRole. # noqa: E501 + :type description: str """ - self._id = id + self._description = description @property def group_id(self): @@ -153,46 +174,46 @@ def group_id(self, group_id): self._group_id = group_id @property - def name(self): - """Gets the name of this GroupRole. # noqa: E501 + def id(self): + """Gets the id of this GroupRole. # noqa: E501 - :return: The name of this GroupRole. # noqa: E501 + :return: The id of this GroupRole. # noqa: E501 :rtype: str """ - return self._name + return self._id - @name.setter - def name(self, name): - """Sets the name of this GroupRole. + @id.setter + def id(self, id): + """Sets the id of this GroupRole. - :param name: The name of this GroupRole. # noqa: E501 - :type name: str + :param id: The id of this GroupRole. # noqa: E501 + :type id: str """ - self._name = name + self._id = id @property - def description(self): - """Gets the description of this GroupRole. # noqa: E501 + def is_management_role(self): + """Gets the is_management_role of this GroupRole. # noqa: E501 - :return: The description of this GroupRole. # noqa: E501 - :rtype: str + :return: The is_management_role of this GroupRole. # noqa: E501 + :rtype: bool """ - return self._description + return self._is_management_role - @description.setter - def description(self, description): - """Sets the description of this GroupRole. + @is_management_role.setter + def is_management_role(self, is_management_role): + """Sets the is_management_role of this GroupRole. - :param description: The description of this GroupRole. # noqa: E501 - :type description: str + :param is_management_role: The is_management_role of this GroupRole. # noqa: E501 + :type is_management_role: bool """ - self._description = description + self._is_management_role = is_management_role @property def is_self_assignable(self): @@ -216,67 +237,67 @@ def is_self_assignable(self, is_self_assignable): self._is_self_assignable = is_self_assignable @property - def permissions(self): - """Gets the permissions of this GroupRole. # noqa: E501 + def name(self): + """Gets the name of this GroupRole. # noqa: E501 - :return: The permissions of this GroupRole. # noqa: E501 - :rtype: list[GroupPermissions] + :return: The name of this GroupRole. # noqa: E501 + :rtype: str """ - return self._permissions + return self._name - @permissions.setter - def permissions(self, permissions): - """Sets the permissions of this GroupRole. + @name.setter + def name(self, name): + """Sets the name of this GroupRole. - :param permissions: The permissions of this GroupRole. # noqa: E501 - :type permissions: list[GroupPermissions] + :param name: The name of this GroupRole. # noqa: E501 + :type name: str """ - self._permissions = permissions + self._name = name @property - def is_management_role(self): - """Gets the is_management_role of this GroupRole. # noqa: E501 + def order(self): + """Gets the order of this GroupRole. # noqa: E501 - :return: The is_management_role of this GroupRole. # noqa: E501 - :rtype: bool + :return: The order of this GroupRole. # noqa: E501 + :rtype: int """ - return self._is_management_role + return self._order - @is_management_role.setter - def is_management_role(self, is_management_role): - """Sets the is_management_role of this GroupRole. + @order.setter + def order(self, order): + """Sets the order of this GroupRole. - :param is_management_role: The is_management_role of this GroupRole. # noqa: E501 - :type is_management_role: bool + :param order: The order of this GroupRole. # noqa: E501 + :type order: int """ - self._is_management_role = is_management_role + self._order = order @property - def requires_two_factor(self): - """Gets the requires_two_factor of this GroupRole. # noqa: E501 + def permissions(self): + """Gets the permissions of this GroupRole. # noqa: E501 - :return: The requires_two_factor of this GroupRole. # noqa: E501 - :rtype: bool + :return: The permissions of this GroupRole. # noqa: E501 + :rtype: list[GroupPermissions] """ - return self._requires_two_factor + return self._permissions - @requires_two_factor.setter - def requires_two_factor(self, requires_two_factor): - """Sets the requires_two_factor of this GroupRole. + @permissions.setter + def permissions(self, permissions): + """Sets the permissions of this GroupRole. - :param requires_two_factor: The requires_two_factor of this GroupRole. # noqa: E501 - :type requires_two_factor: bool + :param permissions: The permissions of this GroupRole. # noqa: E501 + :type permissions: list[GroupPermissions] """ - self._requires_two_factor = requires_two_factor + self._permissions = permissions @property def requires_purchase(self): @@ -300,46 +321,25 @@ def requires_purchase(self, requires_purchase): self._requires_purchase = requires_purchase @property - def order(self): - """Gets the order of this GroupRole. # noqa: E501 - - - :return: The order of this GroupRole. # noqa: E501 - :rtype: int - """ - return self._order - - @order.setter - def order(self, order): - """Sets the order of this GroupRole. - - - :param order: The order of this GroupRole. # noqa: E501 - :type order: int - """ - - self._order = order - - @property - def created_at(self): - """Gets the created_at of this GroupRole. # noqa: E501 + def requires_two_factor(self): + """Gets the requires_two_factor of this GroupRole. # noqa: E501 - :return: The created_at of this GroupRole. # noqa: E501 - :rtype: datetime + :return: The requires_two_factor of this GroupRole. # noqa: E501 + :rtype: bool """ - return self._created_at + return self._requires_two_factor - @created_at.setter - def created_at(self, created_at): - """Sets the created_at of this GroupRole. + @requires_two_factor.setter + def requires_two_factor(self, requires_two_factor): + """Sets the requires_two_factor of this GroupRole. - :param created_at: The created_at of this GroupRole. # noqa: E501 - :type created_at: datetime + :param requires_two_factor: The requires_two_factor of this GroupRole. # noqa: E501 + :type requires_two_factor: bool """ - self._created_at = created_at + self._requires_two_factor = requires_two_factor @property def updated_at(self): diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index 4bf2fd24..fc9d760a 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template_values.py b/vrchatapi/models/group_role_template_values.py index 7810b17b..777dfc31 100644 --- a/vrchatapi/models/group_role_template_values.py +++ b/vrchatapi/models/group_role_template_values.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template_values_roles.py b/vrchatapi/models/group_role_template_values_roles.py index 7df5bf41..3852339a 100644 --- a/vrchatapi/models/group_role_template_values_roles.py +++ b/vrchatapi/models/group_role_template_values_roles.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,81 +36,81 @@ class GroupRoleTemplateValuesRoles(object): and the value is json key in definition. """ openapi_types = { - 'description': 'str', 'name': 'str', + 'description': 'str', 'base_permissions': 'list[GroupPermissions]', 'is_added_on_join': 'bool' } attribute_map = { - 'description': 'description', 'name': 'name', + 'description': 'description', 'base_permissions': 'basePermissions', 'is_added_on_join': 'isAddedOnJoin' } - def __init__(self, description=None, name=None, base_permissions=None, is_added_on_join=False, local_vars_configuration=None): # noqa: E501 + def __init__(self, name=None, description=None, base_permissions=None, is_added_on_join=False, local_vars_configuration=None): # noqa: E501 """GroupRoleTemplateValuesRoles - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._description = None self._name = None + self._description = None self._base_permissions = None self._is_added_on_join = None self.discriminator = None - if description is not None: - self.description = description if name is not None: self.name = name + if description is not None: + self.description = description if base_permissions is not None: self.base_permissions = base_permissions if is_added_on_join is not None: self.is_added_on_join = is_added_on_join @property - def description(self): - """Gets the description of this GroupRoleTemplateValuesRoles. # noqa: E501 + def name(self): + """Gets the name of this GroupRoleTemplateValuesRoles. # noqa: E501 - :return: The description of this GroupRoleTemplateValuesRoles. # noqa: E501 + :return: The name of this GroupRoleTemplateValuesRoles. # noqa: E501 :rtype: str """ - return self._description + return self._name - @description.setter - def description(self, description): - """Sets the description of this GroupRoleTemplateValuesRoles. + @name.setter + def name(self, name): + """Sets the name of this GroupRoleTemplateValuesRoles. - :param description: The description of this GroupRoleTemplateValuesRoles. # noqa: E501 - :type description: str + :param name: The name of this GroupRoleTemplateValuesRoles. # noqa: E501 + :type name: str """ - self._description = description + self._name = name @property - def name(self): - """Gets the name of this GroupRoleTemplateValuesRoles. # noqa: E501 + def description(self): + """Gets the description of this GroupRoleTemplateValuesRoles. # noqa: E501 - :return: The name of this GroupRoleTemplateValuesRoles. # noqa: E501 + :return: The description of this GroupRoleTemplateValuesRoles. # noqa: E501 :rtype: str """ - return self._name + return self._description - @name.setter - def name(self, name): - """Sets the name of this GroupRoleTemplateValuesRoles. + @description.setter + def description(self, description): + """Sets the description of this GroupRoleTemplateValuesRoles. - :param name: The name of this GroupRoleTemplateValuesRoles. # noqa: E501 - :type name: str + :param description: The description of this GroupRoleTemplateValuesRoles. # noqa: E501 + :type description: str """ - self._name = name + self._description = description @property def base_permissions(self): diff --git a/vrchatapi/models/group_search_sort.py b/vrchatapi/models/group_search_sort.py index 5bf25081..c73cbee5 100644 --- a/vrchatapi/models/group_search_sort.py +++ b/vrchatapi/models/group_search_sort.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_transferable.py b/vrchatapi/models/group_transferable.py new file mode 100644 index 00000000..89a99f07 --- /dev/null +++ b/vrchatapi/models/group_transferable.py @@ -0,0 +1,132 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class GroupTransferable(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'requirements': 'GroupTransferableRequirements' + } + + attribute_map = { + 'requirements': 'requirements' + } + + def __init__(self, requirements=None, local_vars_configuration=None): # noqa: E501 + """GroupTransferable - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._requirements = None + self.discriminator = None + + self.requirements = requirements + + @property + def requirements(self): + """Gets the requirements of this GroupTransferable. # noqa: E501 + + + :return: The requirements of this GroupTransferable. # noqa: E501 + :rtype: GroupTransferableRequirements + """ + return self._requirements + + @requirements.setter + def requirements(self, requirements): + """Sets the requirements of this GroupTransferable. + + + :param requirements: The requirements of this GroupTransferable. # noqa: E501 + :type requirements: GroupTransferableRequirements + """ + if self.local_vars_configuration.client_side_validation and requirements is None: # noqa: E501 + raise ValueError("Invalid value for `requirements`, must not be `None`") # noqa: E501 + + self._requirements = requirements + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GroupTransferable): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GroupTransferable): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/group_transferable_requirements.py b/vrchatapi/models/group_transferable_requirements.py new file mode 100644 index 00000000..4a3363ef --- /dev/null +++ b/vrchatapi/models/group_transferable_requirements.py @@ -0,0 +1,240 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class GroupTransferableRequirements(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'group_not_monetized': 'bool', + 'has_vrc_plus': 'bool', + 'has_verified_email': 'bool', + 'target_can_own_more_groups': 'bool', + 'target_is_group_member': 'bool' + } + + attribute_map = { + 'group_not_monetized': 'groupNotMonetized', + 'has_vrc_plus': 'hasVRCPlus', + 'has_verified_email': 'hasVerifiedEmail', + 'target_can_own_more_groups': 'targetCanOwnMoreGroups', + 'target_is_group_member': 'targetIsGroupMember' + } + + def __init__(self, group_not_monetized=False, has_vrc_plus=False, has_verified_email=False, target_can_own_more_groups=False, target_is_group_member=False, local_vars_configuration=None): # noqa: E501 + """GroupTransferableRequirements - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._group_not_monetized = None + self._has_vrc_plus = None + self._has_verified_email = None + self._target_can_own_more_groups = None + self._target_is_group_member = None + self.discriminator = None + + self.group_not_monetized = group_not_monetized + self.has_vrc_plus = has_vrc_plus + self.has_verified_email = has_verified_email + self.target_can_own_more_groups = target_can_own_more_groups + self.target_is_group_member = target_is_group_member + + @property + def group_not_monetized(self): + """Gets the group_not_monetized of this GroupTransferableRequirements. # noqa: E501 + + + :return: The group_not_monetized of this GroupTransferableRequirements. # noqa: E501 + :rtype: bool + """ + return self._group_not_monetized + + @group_not_monetized.setter + def group_not_monetized(self, group_not_monetized): + """Sets the group_not_monetized of this GroupTransferableRequirements. + + + :param group_not_monetized: The group_not_monetized of this GroupTransferableRequirements. # noqa: E501 + :type group_not_monetized: bool + """ + if self.local_vars_configuration.client_side_validation and group_not_monetized is None: # noqa: E501 + raise ValueError("Invalid value for `group_not_monetized`, must not be `None`") # noqa: E501 + + self._group_not_monetized = group_not_monetized + + @property + def has_vrc_plus(self): + """Gets the has_vrc_plus of this GroupTransferableRequirements. # noqa: E501 + + + :return: The has_vrc_plus of this GroupTransferableRequirements. # noqa: E501 + :rtype: bool + """ + return self._has_vrc_plus + + @has_vrc_plus.setter + def has_vrc_plus(self, has_vrc_plus): + """Sets the has_vrc_plus of this GroupTransferableRequirements. + + + :param has_vrc_plus: The has_vrc_plus of this GroupTransferableRequirements. # noqa: E501 + :type has_vrc_plus: bool + """ + if self.local_vars_configuration.client_side_validation and has_vrc_plus is None: # noqa: E501 + raise ValueError("Invalid value for `has_vrc_plus`, must not be `None`") # noqa: E501 + + self._has_vrc_plus = has_vrc_plus + + @property + def has_verified_email(self): + """Gets the has_verified_email of this GroupTransferableRequirements. # noqa: E501 + + + :return: The has_verified_email of this GroupTransferableRequirements. # noqa: E501 + :rtype: bool + """ + return self._has_verified_email + + @has_verified_email.setter + def has_verified_email(self, has_verified_email): + """Sets the has_verified_email of this GroupTransferableRequirements. + + + :param has_verified_email: The has_verified_email of this GroupTransferableRequirements. # noqa: E501 + :type has_verified_email: bool + """ + if self.local_vars_configuration.client_side_validation and has_verified_email is None: # noqa: E501 + raise ValueError("Invalid value for `has_verified_email`, must not be `None`") # noqa: E501 + + self._has_verified_email = has_verified_email + + @property + def target_can_own_more_groups(self): + """Gets the target_can_own_more_groups of this GroupTransferableRequirements. # noqa: E501 + + + :return: The target_can_own_more_groups of this GroupTransferableRequirements. # noqa: E501 + :rtype: bool + """ + return self._target_can_own_more_groups + + @target_can_own_more_groups.setter + def target_can_own_more_groups(self, target_can_own_more_groups): + """Sets the target_can_own_more_groups of this GroupTransferableRequirements. + + + :param target_can_own_more_groups: The target_can_own_more_groups of this GroupTransferableRequirements. # noqa: E501 + :type target_can_own_more_groups: bool + """ + if self.local_vars_configuration.client_side_validation and target_can_own_more_groups is None: # noqa: E501 + raise ValueError("Invalid value for `target_can_own_more_groups`, must not be `None`") # noqa: E501 + + self._target_can_own_more_groups = target_can_own_more_groups + + @property + def target_is_group_member(self): + """Gets the target_is_group_member of this GroupTransferableRequirements. # noqa: E501 + + + :return: The target_is_group_member of this GroupTransferableRequirements. # noqa: E501 + :rtype: bool + """ + return self._target_is_group_member + + @target_is_group_member.setter + def target_is_group_member(self, target_is_group_member): + """Sets the target_is_group_member of this GroupTransferableRequirements. + + + :param target_is_group_member: The target_is_group_member of this GroupTransferableRequirements. # noqa: E501 + :type target_is_group_member: bool + """ + if self.local_vars_configuration.client_side_validation and target_is_group_member is None: # noqa: E501 + raise ValueError("Invalid value for `target_is_group_member`, must not be `None`") # noqa: E501 + + self._target_is_group_member = target_is_group_member + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GroupTransferableRequirements): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GroupTransferableRequirements): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index ef11bebf..b729b70e 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -31,11 +31,11 @@ class GroupUserVisibility(object): """ allowed enum values """ - VISIBLE = "visible" - HIDDEN = "hidden" FRIENDS = "friends" + HIDDEN = "hidden" + VISIBLE = "visible" - allowable_values = [VISIBLE, HIDDEN, FRIENDS] # noqa: E501 + allowable_values = [FRIENDS, HIDDEN, VISIBLE] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/image_animation_style.py b/vrchatapi/models/image_animation_style.py new file mode 100644 index 00000000..6697d142 --- /dev/null +++ b/vrchatapi/models/image_animation_style.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class ImageAnimationStyle(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + AURA = "aura" + BATS = "bats" + BEES = "bees" + BOUNCE = "bounce" + CLOUD = "cloud" + CONFETTI = "confetti" + CRYING = "crying" + DISLIKE = "dislike" + FIRE = "fire" + IDEA = "idea" + LASERS = "lasers" + LIKE = "like" + MAGNET = "magnet" + MISTLETOE = "mistletoe" + MONEY = "money" + NOISE = "noise" + ORBIT = "orbit" + PIZZA = "pizza" + RAIN = "rain" + ROTATE = "rotate" + SHAKE = "shake" + SNOW = "snow" + SNOWBALL = "snowball" + SPIN = "spin" + SPLASH = "splash" + STOP = "stop" + ZZZ = "zzz" + + allowable_values = [AURA, BATS, BEES, BOUNCE, CLOUD, CONFETTI, CRYING, DISLIKE, FIRE, IDEA, LASERS, LIKE, MAGNET, MISTLETOE, MONEY, NOISE, ORBIT, PIZZA, RAIN, ROTATE, SHAKE, SNOW, SNOWBALL, SPIN, SPLASH, STOP, ZZZ] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """ImageAnimationStyle - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ImageAnimationStyle): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ImageAnimationStyle): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/image_loop_style.py b/vrchatapi/models/image_loop_style.py new file mode 100644 index 00000000..c2278ef1 --- /dev/null +++ b/vrchatapi/models/image_loop_style.py @@ -0,0 +1,111 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class ImageLoopStyle(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + LINEAR = "linear" + PINGPONG = "pingpong" + + allowable_values = [LINEAR, PINGPONG] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """ImageLoopStyle - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ImageLoopStyle): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ImageLoopStyle): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/image_mask.py b/vrchatapi/models/image_mask.py new file mode 100644 index 00000000..06dcd2e0 --- /dev/null +++ b/vrchatapi/models/image_mask.py @@ -0,0 +1,115 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class ImageMask(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + CIRCLE = "circle" + FLOWER = "flower" + HEART = "heart" + POW = "pow" + SQUARE = "square" + STAR = "star" + + allowable_values = [CIRCLE, FLOWER, HEART, POW, SQUARE, STAR] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """ImageMask - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ImageMask): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ImageMask): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index b39695ef..ef775c6d 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,65 +36,160 @@ class InfoPush(object): and the value is json key in definition. """ openapi_types = { + 'created_at': 'datetime', + 'data': 'InfoPushData', + 'end_date': 'datetime', + 'hash': 'str', 'id': 'str', 'is_enabled': 'bool', - 'release_status': 'ReleaseStatus', 'priority': 'int', - 'tags': 'list[str]', - 'data': 'InfoPushData', - 'hash': 'str', - 'created_at': 'datetime', - 'updated_at': 'datetime', + 'release_status': 'ReleaseStatus', 'start_date': 'datetime', - 'end_date': 'datetime' + 'tags': 'list[str]', + 'updated_at': 'datetime' } attribute_map = { + 'created_at': 'createdAt', + 'data': 'data', + 'end_date': 'endDate', + 'hash': 'hash', 'id': 'id', 'is_enabled': 'isEnabled', - 'release_status': 'releaseStatus', 'priority': 'priority', - 'tags': 'tags', - 'data': 'data', - 'hash': 'hash', - 'created_at': 'createdAt', - 'updated_at': 'updatedAt', + 'release_status': 'releaseStatus', 'start_date': 'startDate', - 'end_date': 'endDate' + 'tags': 'tags', + 'updated_at': 'updatedAt' } - def __init__(self, id=None, is_enabled=True, release_status=None, priority=None, tags=None, data=None, hash=None, created_at=None, updated_at=None, start_date=None, end_date=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, created_at=None, data=None, end_date=None, hash=None, id=None, is_enabled=True, priority=None, release_status=None, start_date=None, tags=None, updated_at=None, local_vars_configuration=None): # noqa: E501 """InfoPush - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration + self._created_at = None + self._data = None + self._end_date = None + self._hash = None self._id = None self._is_enabled = None - self._release_status = None self._priority = None + self._release_status = None + self._start_date = None self._tags = None - self._data = None - self._hash = None - self._created_at = None self._updated_at = None - self._start_date = None - self._end_date = None self.discriminator = None + self.created_at = created_at + self.data = data + if end_date is not None: + self.end_date = end_date + self.hash = hash self.id = id self.is_enabled = is_enabled - self.release_status = release_status self.priority = priority - self.tags = tags - self.data = data - self.hash = hash - self.created_at = created_at - self.updated_at = updated_at + self.release_status = release_status if start_date is not None: self.start_date = start_date - if end_date is not None: - self.end_date = end_date + self.tags = tags + self.updated_at = updated_at + + @property + def created_at(self): + """Gets the created_at of this InfoPush. # noqa: E501 + + + :return: The created_at of this InfoPush. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this InfoPush. + + + :param created_at: The created_at of this InfoPush. # noqa: E501 + :type created_at: datetime + """ + if self.local_vars_configuration.client_side_validation and created_at is None: # noqa: E501 + raise ValueError("Invalid value for `created_at`, must not be `None`") # noqa: E501 + + self._created_at = created_at + + @property + def data(self): + """Gets the data of this InfoPush. # noqa: E501 + + + :return: The data of this InfoPush. # noqa: E501 + :rtype: InfoPushData + """ + return self._data + + @data.setter + def data(self, data): + """Sets the data of this InfoPush. + + + :param data: The data of this InfoPush. # noqa: E501 + :type data: InfoPushData + """ + if self.local_vars_configuration.client_side_validation and data is None: # noqa: E501 + raise ValueError("Invalid value for `data`, must not be `None`") # noqa: E501 + + self._data = data + + @property + def end_date(self): + """Gets the end_date of this InfoPush. # noqa: E501 + + + :return: The end_date of this InfoPush. # noqa: E501 + :rtype: datetime + """ + return self._end_date + + @end_date.setter + def end_date(self, end_date): + """Sets the end_date of this InfoPush. + + + :param end_date: The end_date of this InfoPush. # noqa: E501 + :type end_date: datetime + """ + + self._end_date = end_date + + @property + def hash(self): + """Gets the hash of this InfoPush. # noqa: E501 + + Unknown usage, MD5 # noqa: E501 + + :return: The hash of this InfoPush. # noqa: E501 + :rtype: str + """ + return self._hash + + @hash.setter + def hash(self, hash): + """Sets the hash of this InfoPush. + + Unknown usage, MD5 # noqa: E501 + + :param hash: The hash of this InfoPush. # noqa: E501 + :type hash: str + """ + if self.local_vars_configuration.client_side_validation and hash is None: # noqa: E501 + raise ValueError("Invalid value for `hash`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + hash is not None and len(hash) < 1): + raise ValueError("Invalid value for `hash`, length must be greater than or equal to `1`") # noqa: E501 + + self._hash = hash @property def id(self): @@ -145,6 +240,29 @@ def is_enabled(self, is_enabled): self._is_enabled = is_enabled + @property + def priority(self): + """Gets the priority of this InfoPush. # noqa: E501 + + + :return: The priority of this InfoPush. # noqa: E501 + :rtype: int + """ + return self._priority + + @priority.setter + def priority(self, priority): + """Sets the priority of this InfoPush. + + + :param priority: The priority of this InfoPush. # noqa: E501 + :type priority: int + """ + if self.local_vars_configuration.client_side_validation and priority is None: # noqa: E501 + raise ValueError("Invalid value for `priority`, must not be `None`") # noqa: E501 + + self._priority = priority + @property def release_status(self): """Gets the release_status of this InfoPush. # noqa: E501 @@ -169,27 +287,27 @@ def release_status(self, release_status): self._release_status = release_status @property - def priority(self): - """Gets the priority of this InfoPush. # noqa: E501 + def start_date(self): + """Gets the start_date of this InfoPush. # noqa: E501 + # noqa: E501 - :return: The priority of this InfoPush. # noqa: E501 - :rtype: int + :return: The start_date of this InfoPush. # noqa: E501 + :rtype: datetime """ - return self._priority + return self._start_date - @priority.setter - def priority(self, priority): - """Sets the priority of this InfoPush. + @start_date.setter + def start_date(self, start_date): + """Sets the start_date of this InfoPush. + # noqa: E501 - :param priority: The priority of this InfoPush. # noqa: E501 - :type priority: int + :param start_date: The start_date of this InfoPush. # noqa: E501 + :type start_date: datetime """ - if self.local_vars_configuration.client_side_validation and priority is None: # noqa: E501 - raise ValueError("Invalid value for `priority`, must not be `None`") # noqa: E501 - self._priority = priority + self._start_date = start_date @property def tags(self): @@ -216,80 +334,6 @@ def tags(self, tags): self._tags = tags - @property - def data(self): - """Gets the data of this InfoPush. # noqa: E501 - - - :return: The data of this InfoPush. # noqa: E501 - :rtype: InfoPushData - """ - return self._data - - @data.setter - def data(self, data): - """Sets the data of this InfoPush. - - - :param data: The data of this InfoPush. # noqa: E501 - :type data: InfoPushData - """ - if self.local_vars_configuration.client_side_validation and data is None: # noqa: E501 - raise ValueError("Invalid value for `data`, must not be `None`") # noqa: E501 - - self._data = data - - @property - def hash(self): - """Gets the hash of this InfoPush. # noqa: E501 - - Unknown usage, MD5 # noqa: E501 - - :return: The hash of this InfoPush. # noqa: E501 - :rtype: str - """ - return self._hash - - @hash.setter - def hash(self, hash): - """Sets the hash of this InfoPush. - - Unknown usage, MD5 # noqa: E501 - - :param hash: The hash of this InfoPush. # noqa: E501 - :type hash: str - """ - if self.local_vars_configuration.client_side_validation and hash is None: # noqa: E501 - raise ValueError("Invalid value for `hash`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - hash is not None and len(hash) < 1): - raise ValueError("Invalid value for `hash`, length must be greater than or equal to `1`") # noqa: E501 - - self._hash = hash - - @property - def created_at(self): - """Gets the created_at of this InfoPush. # noqa: E501 - - - :return: The created_at of this InfoPush. # noqa: E501 - :rtype: datetime - """ - return self._created_at - - @created_at.setter - def created_at(self, created_at): - """Sets the created_at of this InfoPush. - - - :param created_at: The created_at of this InfoPush. # noqa: E501 - :type created_at: datetime - """ - if self.local_vars_configuration.client_side_validation and created_at is None: # noqa: E501 - raise ValueError("Invalid value for `created_at`, must not be `None`") # noqa: E501 - - self._created_at = created_at - @property def updated_at(self): """Gets the updated_at of this InfoPush. # noqa: E501 @@ -313,50 +357,6 @@ def updated_at(self, updated_at): self._updated_at = updated_at - @property - def start_date(self): - """Gets the start_date of this InfoPush. # noqa: E501 - - # noqa: E501 - - :return: The start_date of this InfoPush. # noqa: E501 - :rtype: datetime - """ - return self._start_date - - @start_date.setter - def start_date(self, start_date): - """Sets the start_date of this InfoPush. - - # noqa: E501 - - :param start_date: The start_date of this InfoPush. # noqa: E501 - :type start_date: datetime - """ - - self._start_date = start_date - - @property - def end_date(self): - """Gets the end_date of this InfoPush. # noqa: E501 - - - :return: The end_date of this InfoPush. # noqa: E501 - :rtype: datetime - """ - return self._end_date - - @end_date.setter - def end_date(self, end_date): - """Sets the end_date of this InfoPush. - - - :param end_date: The end_date of this InfoPush. # noqa: E501 - :type end_date: datetime - """ - - self._end_date = end_date - def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index 33d319c1..eecaf298 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,33 +36,34 @@ class InfoPushData(object): and the value is json key in definition. """ openapi_types = { + 'article': 'InfoPushDataArticle', 'content_list': 'DynamicContentRow', 'description': 'str', 'image_url': 'str', 'name': 'str', 'on_pressed': 'InfoPushDataClickable', 'template': 'str', - 'version': 'str', - 'article': 'InfoPushDataArticle' + 'version': 'str' } attribute_map = { + 'article': 'article', 'content_list': 'contentList', 'description': 'description', 'image_url': 'imageUrl', 'name': 'name', 'on_pressed': 'onPressed', 'template': 'template', - 'version': 'version', - 'article': 'article' + 'version': 'version' } - def __init__(self, content_list=None, description=None, image_url=None, name=None, on_pressed=None, template=None, version=None, article=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, article=None, content_list=None, description=None, image_url=None, name=None, on_pressed=None, template=None, version=None, local_vars_configuration=None): # noqa: E501 """InfoPushData - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration + self._article = None self._content_list = None self._description = None self._image_url = None @@ -70,9 +71,10 @@ def __init__(self, content_list=None, description=None, image_url=None, name=Non self._on_pressed = None self._template = None self._version = None - self._article = None self.discriminator = None + if article is not None: + self.article = article if content_list is not None: self.content_list = content_list if description is not None: @@ -87,8 +89,27 @@ def __init__(self, content_list=None, description=None, image_url=None, name=Non self.template = template if version is not None: self.version = version - if article is not None: - self.article = article + + @property + def article(self): + """Gets the article of this InfoPushData. # noqa: E501 + + + :return: The article of this InfoPushData. # noqa: E501 + :rtype: InfoPushDataArticle + """ + return self._article + + @article.setter + def article(self, article): + """Sets the article of this InfoPushData. + + + :param article: The article of this InfoPushData. # noqa: E501 + :type article: InfoPushDataArticle + """ + + self._article = article @property def content_list(self): @@ -243,27 +264,6 @@ def version(self, version): self._version = version - @property - def article(self): - """Gets the article of this InfoPushData. # noqa: E501 - - - :return: The article of this InfoPushData. # noqa: E501 - :rtype: InfoPushDataArticle - """ - return self._article - - @article.setter - def article(self, article): - """Sets the article of this InfoPushData. - - - :param article: The article of this InfoPushData. # noqa: E501 - :type article: InfoPushDataArticle - """ - - self._article = article - def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index 7b3f9921..90bbfbe7 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index 832f6bce..3af27619 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,55 +36,34 @@ class InfoPushDataArticleContent(object): and the value is json key in definition. """ openapi_types = { - 'text': 'str', 'image_url': 'str', - 'on_pressed': 'InfoPushDataClickable' + 'on_pressed': 'InfoPushDataClickable', + 'text': 'str' } attribute_map = { - 'text': 'text', 'image_url': 'imageUrl', - 'on_pressed': 'onPressed' + 'on_pressed': 'onPressed', + 'text': 'text' } - def __init__(self, text=None, image_url=None, on_pressed=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, image_url=None, on_pressed=None, text=None, local_vars_configuration=None): # noqa: E501 """InfoPushDataArticleContent - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._text = None self._image_url = None self._on_pressed = None + self._text = None self.discriminator = None - if text is not None: - self.text = text if image_url is not None: self.image_url = image_url if on_pressed is not None: self.on_pressed = on_pressed - - @property - def text(self): - """Gets the text of this InfoPushDataArticleContent. # noqa: E501 - - - :return: The text of this InfoPushDataArticleContent. # noqa: E501 - :rtype: str - """ - return self._text - - @text.setter - def text(self, text): - """Sets the text of this InfoPushDataArticleContent. - - - :param text: The text of this InfoPushDataArticleContent. # noqa: E501 - :type text: str - """ - - self._text = text + if text is not None: + self.text = text @property def image_url(self): @@ -128,6 +107,27 @@ def on_pressed(self, on_pressed): self._on_pressed = on_pressed + @property + def text(self): + """Gets the text of this InfoPushDataArticleContent. # noqa: E501 + + + :return: The text of this InfoPushDataArticleContent. # noqa: E501 + :rtype: str + """ + return self._text + + @text.setter + def text(self, text): + """Sets the text of this InfoPushDataArticleContent. + + + :param text: The text of this InfoPushDataArticleContent. # noqa: E501 + :type text: str + """ + + self._text = text + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index 6b5f3375..78c3860b 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,28 +36,51 @@ class InfoPushDataClickable(object): and the value is json key in definition. """ openapi_types = { - 'command': 'str', - 'parameters': 'list[str]' + 'parameters': 'list[str]', + 'command': 'str' } attribute_map = { - 'command': 'command', - 'parameters': 'parameters' + 'parameters': 'parameters', + 'command': 'command' } - def __init__(self, command=None, parameters=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, parameters=None, command=None, local_vars_configuration=None): # noqa: E501 """InfoPushDataClickable - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._command = None self._parameters = None + self._command = None self.discriminator = None - self.command = command if parameters is not None: self.parameters = parameters + self.command = command + + @property + def parameters(self): + """Gets the parameters of this InfoPushDataClickable. # noqa: E501 + + In case of OpenURL, this would contain the link. # noqa: E501 + + :return: The parameters of this InfoPushDataClickable. # noqa: E501 + :rtype: list[str] + """ + return self._parameters + + @parameters.setter + def parameters(self, parameters): + """Sets the parameters of this InfoPushDataClickable. + + In case of OpenURL, this would contain the link. # noqa: E501 + + :param parameters: The parameters of this InfoPushDataClickable. # noqa: E501 + :type parameters: list[str] + """ + + self._parameters = parameters @property def command(self): @@ -79,7 +102,7 @@ def command(self, command): """ if self.local_vars_configuration.client_side_validation and command is None: # noqa: E501 raise ValueError("Invalid value for `command`, must not be `None`") # noqa: E501 - allowed_values = ["OpenURL", "OpenVRCPlusMenu", "OpenSafetyMenu", "CannedWorldSearch"] # noqa: E501 + allowed_values = ["CannedWorldSearch", "OpenSafetyMenu", "OpenURL", "OpenVRCPlusMenu"] # noqa: E501 if self.local_vars_configuration.client_side_validation and command not in allowed_values: # noqa: E501 raise ValueError( "Invalid value for `command` ({0}), must be one of {1}" # noqa: E501 @@ -88,29 +111,6 @@ def command(self, command): self._command = command - @property - def parameters(self): - """Gets the parameters of this InfoPushDataClickable. # noqa: E501 - - In case of OpenURL, this would contain the link. # noqa: E501 - - :return: The parameters of this InfoPushDataClickable. # noqa: E501 - :rtype: list[str] - """ - return self._parameters - - @parameters.setter - def parameters(self, parameters): - """Sets the parameters of this InfoPushDataClickable. - - In case of OpenURL, this would contain the link. # noqa: E501 - - :param parameters: The parameters of this InfoPushDataClickable. # noqa: E501 - :type parameters: list[str] - """ - - self._parameters = parameters - def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index 8549dd40..749fb02d 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -38,94 +38,98 @@ class Instance(object): openapi_types = { 'active': 'bool', 'age_gate': 'bool', + 'calendar_entry_id': 'str', 'can_request_invite': 'bool', 'capacity': 'int', 'client_number': 'str', + 'closed_at': 'datetime', 'content_settings': 'InstanceContentSettings', + 'creator_id': 'str', 'display_name': 'str', + 'friends': 'str', 'full': 'bool', 'game_server_version': 'int', + 'group_access_type': 'GroupAccessType', + 'hard_close': 'bool', + 'has_capacity_for_you': 'bool', + 'hidden': 'str', 'id': 'str', 'instance_id': 'str', - 'instance_persistence_enabled': 'str', + 'instance_persistence_enabled': 'bool', 'location': 'str', 'n_users': 'int', 'name': 'str', + 'nonce': 'str', 'owner_id': 'str', 'permanent': 'bool', 'photon_region': 'Region', 'platforms': 'InstancePlatforms', 'player_persistence_enabled': 'bool', - 'region': 'InstanceRegion', - 'secure_name': 'str', - 'short_name': 'str', - 'tags': 'list[str]', - 'type': 'InstanceType', - 'world_id': 'str', - 'hidden': 'str', - 'friends': 'str', 'private': 'str', 'queue_enabled': 'bool', 'queue_size': 'int', 'recommended_capacity': 'int', + 'region': 'InstanceRegion', 'role_restricted': 'bool', + 'secure_name': 'str', + 'short_name': 'str', 'strict': 'bool', + 'tags': 'list[str]', + 'type': 'InstanceType', 'user_count': 'int', - 'world': 'World', 'users': 'list[LimitedUserInstance]', - 'group_access_type': 'GroupAccessType', - 'has_capacity_for_you': 'bool', - 'nonce': 'str', - 'closed_at': 'datetime', - 'hard_close': 'bool' + 'world': 'World', + 'world_id': 'str' } attribute_map = { 'active': 'active', 'age_gate': 'ageGate', + 'calendar_entry_id': 'calendarEntryId', 'can_request_invite': 'canRequestInvite', 'capacity': 'capacity', 'client_number': 'clientNumber', + 'closed_at': 'closedAt', 'content_settings': 'contentSettings', + 'creator_id': 'creatorId', 'display_name': 'displayName', + 'friends': 'friends', 'full': 'full', 'game_server_version': 'gameServerVersion', + 'group_access_type': 'groupAccessType', + 'hard_close': 'hardClose', + 'has_capacity_for_you': 'hasCapacityForYou', + 'hidden': 'hidden', 'id': 'id', 'instance_id': 'instanceId', 'instance_persistence_enabled': 'instancePersistenceEnabled', 'location': 'location', 'n_users': 'n_users', 'name': 'name', + 'nonce': 'nonce', 'owner_id': 'ownerId', 'permanent': 'permanent', 'photon_region': 'photonRegion', 'platforms': 'platforms', 'player_persistence_enabled': 'playerPersistenceEnabled', - 'region': 'region', - 'secure_name': 'secureName', - 'short_name': 'shortName', - 'tags': 'tags', - 'type': 'type', - 'world_id': 'worldId', - 'hidden': 'hidden', - 'friends': 'friends', 'private': 'private', 'queue_enabled': 'queueEnabled', 'queue_size': 'queueSize', 'recommended_capacity': 'recommendedCapacity', + 'region': 'region', 'role_restricted': 'roleRestricted', + 'secure_name': 'secureName', + 'short_name': 'shortName', 'strict': 'strict', + 'tags': 'tags', + 'type': 'type', 'user_count': 'userCount', - 'world': 'world', 'users': 'users', - 'group_access_type': 'groupAccessType', - 'has_capacity_for_you': 'hasCapacityForYou', - 'nonce': 'nonce', - 'closed_at': 'closedAt', - 'hard_close': 'hardClose' + 'world': 'world', + 'world_id': 'worldId' } - def __init__(self, active=True, age_gate=None, can_request_invite=True, capacity=None, client_number=None, content_settings=None, display_name=None, full=False, game_server_version=None, id=None, instance_id=None, instance_persistence_enabled=None, location=None, n_users=None, name=None, owner_id=None, permanent=False, photon_region=None, platforms=None, player_persistence_enabled=None, region=None, secure_name=None, short_name=None, tags=None, type=None, world_id=None, hidden=None, friends=None, private=None, queue_enabled=None, queue_size=None, recommended_capacity=None, role_restricted=None, strict=None, user_count=None, world=None, users=None, group_access_type=None, has_capacity_for_you=None, nonce=None, closed_at=None, hard_close=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, active=True, age_gate=None, calendar_entry_id=None, can_request_invite=True, capacity=None, client_number=None, closed_at=None, content_settings=None, creator_id=None, display_name=None, friends=None, full=False, game_server_version=None, group_access_type=None, hard_close=None, has_capacity_for_you=None, hidden=None, id=None, instance_id=None, instance_persistence_enabled=None, location=None, n_users=None, name=None, nonce=None, owner_id=None, permanent=False, photon_region=None, platforms=None, player_persistence_enabled=None, private=None, queue_enabled=None, queue_size=None, recommended_capacity=None, region=None, role_restricted=None, secure_name=None, short_name=None, strict=None, tags=None, type=None, user_count=None, users=None, world=None, world_id=None, local_vars_configuration=None): # noqa: E501 """Instance - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -133,100 +137,107 @@ def __init__(self, active=True, age_gate=None, can_request_invite=True, capacity self._active = None self._age_gate = None + self._calendar_entry_id = None self._can_request_invite = None self._capacity = None self._client_number = None + self._closed_at = None self._content_settings = None + self._creator_id = None self._display_name = None + self._friends = None self._full = None self._game_server_version = None + self._group_access_type = None + self._hard_close = None + self._has_capacity_for_you = None + self._hidden = None self._id = None self._instance_id = None self._instance_persistence_enabled = None self._location = None self._n_users = None self._name = None + self._nonce = None self._owner_id = None self._permanent = None self._photon_region = None self._platforms = None self._player_persistence_enabled = None - self._region = None - self._secure_name = None - self._short_name = None - self._tags = None - self._type = None - self._world_id = None - self._hidden = None - self._friends = None self._private = None self._queue_enabled = None self._queue_size = None self._recommended_capacity = None + self._region = None self._role_restricted = None + self._secure_name = None + self._short_name = None self._strict = None + self._tags = None + self._type = None self._user_count = None - self._world = None self._users = None - self._group_access_type = None - self._has_capacity_for_you = None - self._nonce = None - self._closed_at = None - self._hard_close = None + self._world = None + self._world_id = None self.discriminator = None - self.active = active + if active is not None: + self.active = active self.age_gate = age_gate - self.can_request_invite = can_request_invite - self.capacity = capacity + self.calendar_entry_id = calendar_entry_id + if can_request_invite is not None: + self.can_request_invite = can_request_invite + if capacity is not None: + self.capacity = capacity self.client_number = client_number + self.closed_at = closed_at if content_settings is not None: self.content_settings = content_settings + if creator_id is not None: + self.creator_id = creator_id self.display_name = display_name + if friends is not None: + self.friends = friends self.full = full - if game_server_version is not None: - self.game_server_version = game_server_version + self.game_server_version = game_server_version + if group_access_type is not None: + self.group_access_type = group_access_type + self.hard_close = hard_close + if has_capacity_for_you is not None: + self.has_capacity_for_you = has_capacity_for_you + if hidden is not None: + self.hidden = hidden self.id = id self.instance_id = instance_id self.instance_persistence_enabled = instance_persistence_enabled self.location = location self.n_users = n_users self.name = name + if nonce is not None: + self.nonce = nonce self.owner_id = owner_id self.permanent = permanent self.photon_region = photon_region self.platforms = platforms self.player_persistence_enabled = player_persistence_enabled - self.region = region - self.secure_name = secure_name - self.short_name = short_name - self.tags = tags - self.type = type - self.world_id = world_id - if hidden is not None: - self.hidden = hidden - if friends is not None: - self.friends = friends if private is not None: self.private = private self.queue_enabled = queue_enabled self.queue_size = queue_size self.recommended_capacity = recommended_capacity + self.region = region if role_restricted is not None: self.role_restricted = role_restricted + self.secure_name = secure_name + self.short_name = short_name self.strict = strict + self.tags = tags + self.type = type self.user_count = user_count - self.world = world if users is not None: self.users = users - if group_access_type is not None: - self.group_access_type = group_access_type - if has_capacity_for_you is not None: - self.has_capacity_for_you = has_capacity_for_you - if nonce is not None: - self.nonce = nonce - self.closed_at = closed_at - self.hard_close = hard_close + self.world = world + self.world_id = world_id @property def active(self): @@ -246,8 +257,6 @@ def active(self, active): :param active: The active of this Instance. # noqa: E501 :type active: bool """ - if self.local_vars_configuration.client_side_validation and active is None: # noqa: E501 - raise ValueError("Invalid value for `active`, must not be `None`") # noqa: E501 self._active = active @@ -272,6 +281,27 @@ def age_gate(self, age_gate): self._age_gate = age_gate + @property + def calendar_entry_id(self): + """Gets the calendar_entry_id of this Instance. # noqa: E501 + + + :return: The calendar_entry_id of this Instance. # noqa: E501 + :rtype: str + """ + return self._calendar_entry_id + + @calendar_entry_id.setter + def calendar_entry_id(self, calendar_entry_id): + """Sets the calendar_entry_id of this Instance. + + + :param calendar_entry_id: The calendar_entry_id of this Instance. # noqa: E501 + :type calendar_entry_id: str + """ + + self._calendar_entry_id = calendar_entry_id + @property def can_request_invite(self): """Gets the can_request_invite of this Instance. # noqa: E501 @@ -290,8 +320,6 @@ def can_request_invite(self, can_request_invite): :param can_request_invite: The can_request_invite of this Instance. # noqa: E501 :type can_request_invite: bool """ - if self.local_vars_configuration.client_side_validation and can_request_invite is None: # noqa: E501 - raise ValueError("Invalid value for `can_request_invite`, must not be `None`") # noqa: E501 self._can_request_invite = can_request_invite @@ -313,8 +341,6 @@ def capacity(self, capacity): :param capacity: The capacity of this Instance. # noqa: E501 :type capacity: int """ - if self.local_vars_configuration.client_side_validation and capacity is None: # noqa: E501 - raise ValueError("Invalid value for `capacity`, must not be `None`") # noqa: E501 if (self.local_vars_configuration.client_side_validation and capacity is not None and capacity < 0): # noqa: E501 raise ValueError("Invalid value for `capacity`, must be a value greater than or equal to `0`") # noqa: E501 @@ -349,6 +375,27 @@ def client_number(self, client_number): self._client_number = client_number + @property + def closed_at(self): + """Gets the closed_at of this Instance. # noqa: E501 + + + :return: The closed_at of this Instance. # noqa: E501 + :rtype: datetime + """ + return self._closed_at + + @closed_at.setter + def closed_at(self, closed_at): + """Sets the closed_at of this Instance. + + + :param closed_at: The closed_at of this Instance. # noqa: E501 + :type closed_at: datetime + """ + + self._closed_at = closed_at + @property def content_settings(self): """Gets the content_settings of this Instance. # noqa: E501 @@ -370,6 +417,29 @@ def content_settings(self, content_settings): self._content_settings = content_settings + @property + def creator_id(self): + """Gets the creator_id of this Instance. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The creator_id of this Instance. # noqa: E501 + :rtype: str + """ + return self._creator_id + + @creator_id.setter + def creator_id(self, creator_id): + """Sets the creator_id of this Instance. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param creator_id: The creator_id of this Instance. # noqa: E501 + :type creator_id: str + """ + + self._creator_id = creator_id + @property def display_name(self): """Gets the display_name of this Instance. # noqa: E501 @@ -391,6 +461,29 @@ def display_name(self, display_name): self._display_name = display_name + @property + def friends(self): + """Gets the friends of this Instance. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The friends of this Instance. # noqa: E501 + :rtype: str + """ + return self._friends + + @friends.setter + def friends(self, friends): + """Sets the friends of this Instance. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param friends: The friends of this Instance. # noqa: E501 + :type friends: str + """ + + self._friends = friends + @property def full(self): """Gets the full of this Instance. # noqa: E501 @@ -436,78 +529,164 @@ def game_server_version(self, game_server_version): self._game_server_version = game_server_version @property - def id(self): - """Gets the id of this Instance. # noqa: E501 + def group_access_type(self): + """Gets the group_access_type of this Instance. # noqa: E501 - InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. # noqa: E501 - :return: The id of this Instance. # noqa: E501 - :rtype: str + :return: The group_access_type of this Instance. # noqa: E501 + :rtype: GroupAccessType """ - return self._id + return self._group_access_type - @id.setter - def id(self, id): - """Sets the id of this Instance. + @group_access_type.setter + def group_access_type(self, group_access_type): + """Sets the group_access_type of this Instance. - InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. # noqa: E501 - :param id: The id of this Instance. # noqa: E501 - :type id: str + :param group_access_type: The group_access_type of this Instance. # noqa: E501 + :type group_access_type: GroupAccessType """ - if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 - self._id = id + self._group_access_type = group_access_type @property - def instance_id(self): - """Gets the instance_id of this Instance. # noqa: E501 + def hard_close(self): + """Gets the hard_close of this Instance. # noqa: E501 - InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. # noqa: E501 - :return: The instance_id of this Instance. # noqa: E501 - :rtype: str + :return: The hard_close of this Instance. # noqa: E501 + :rtype: bool """ - return self._instance_id + return self._hard_close - @instance_id.setter - def instance_id(self, instance_id): - """Sets the instance_id of this Instance. + @hard_close.setter + def hard_close(self, hard_close): + """Sets the hard_close of this Instance. - InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. # noqa: E501 - :param instance_id: The instance_id of this Instance. # noqa: E501 - :type instance_id: str + :param hard_close: The hard_close of this Instance. # noqa: E501 + :type hard_close: bool """ - if self.local_vars_configuration.client_side_validation and instance_id is None: # noqa: E501 - raise ValueError("Invalid value for `instance_id`, must not be `None`") # noqa: E501 - self._instance_id = instance_id + self._hard_close = hard_close @property - def instance_persistence_enabled(self): - """Gets the instance_persistence_enabled of this Instance. # noqa: E501 + def has_capacity_for_you(self): + """Gets the has_capacity_for_you of this Instance. # noqa: E501 - :return: The instance_persistence_enabled of this Instance. # noqa: E501 - :rtype: str + :return: The has_capacity_for_you of this Instance. # noqa: E501 + :rtype: bool """ - return self._instance_persistence_enabled + return self._has_capacity_for_you - @instance_persistence_enabled.setter - def instance_persistence_enabled(self, instance_persistence_enabled): - """Sets the instance_persistence_enabled of this Instance. + @has_capacity_for_you.setter + def has_capacity_for_you(self, has_capacity_for_you): + """Sets the has_capacity_for_you of this Instance. - :param instance_persistence_enabled: The instance_persistence_enabled of this Instance. # noqa: E501 - :type instance_persistence_enabled: str + :param has_capacity_for_you: The has_capacity_for_you of this Instance. # noqa: E501 + :type has_capacity_for_you: bool """ - self._instance_persistence_enabled = instance_persistence_enabled + self._has_capacity_for_you = has_capacity_for_you @property - def location(self): + def hidden(self): + """Gets the hidden of this Instance. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The hidden of this Instance. # noqa: E501 + :rtype: str + """ + return self._hidden + + @hidden.setter + def hidden(self, hidden): + """Sets the hidden of this Instance. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param hidden: The hidden of this Instance. # noqa: E501 + :type hidden: str + """ + + self._hidden = hidden + + @property + def id(self): + """Gets the id of this Instance. # noqa: E501 + + InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. # noqa: E501 + + :return: The id of this Instance. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this Instance. + + InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. # noqa: E501 + + :param id: The id of this Instance. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + + self._id = id + + @property + def instance_id(self): + """Gets the instance_id of this Instance. # noqa: E501 + + InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. # noqa: E501 + + :return: The instance_id of this Instance. # noqa: E501 + :rtype: str + """ + return self._instance_id + + @instance_id.setter + def instance_id(self, instance_id): + """Sets the instance_id of this Instance. + + InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. # noqa: E501 + + :param instance_id: The instance_id of this Instance. # noqa: E501 + :type instance_id: str + """ + if self.local_vars_configuration.client_side_validation and instance_id is None: # noqa: E501 + raise ValueError("Invalid value for `instance_id`, must not be `None`") # noqa: E501 + + self._instance_id = instance_id + + @property + def instance_persistence_enabled(self): + """Gets the instance_persistence_enabled of this Instance. # noqa: E501 + + + :return: The instance_persistence_enabled of this Instance. # noqa: E501 + :rtype: bool + """ + return self._instance_persistence_enabled + + @instance_persistence_enabled.setter + def instance_persistence_enabled(self, instance_persistence_enabled): + """Sets the instance_persistence_enabled of this Instance. + + + :param instance_persistence_enabled: The instance_persistence_enabled of this Instance. # noqa: E501 + :type instance_persistence_enabled: bool + """ + + self._instance_persistence_enabled = instance_persistence_enabled + + @property + def location(self): """Gets the location of this Instance. # noqa: E501 Represents a unique location, consisting of a world identifier and an instance identifier, or \"offline\" if the user is not on your friends list. # noqa: E501 @@ -583,6 +762,27 @@ def name(self, name): self._name = name + @property + def nonce(self): + """Gets the nonce of this Instance. # noqa: E501 + + + :return: The nonce of this Instance. # noqa: E501 + :rtype: str + """ + return self._nonce + + @nonce.setter + def nonce(self, nonce): + """Sets the nonce of this Instance. + + + :param nonce: The nonce of this Instance. # noqa: E501 + :type nonce: str + """ + + self._nonce = nonce + @property def owner_id(self): """Gets the owner_id of this Instance. # noqa: E501 @@ -696,6 +896,104 @@ def player_persistence_enabled(self, player_persistence_enabled): self._player_persistence_enabled = player_persistence_enabled + @property + def private(self): + """Gets the private of this Instance. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The private of this Instance. # noqa: E501 + :rtype: str + """ + return self._private + + @private.setter + def private(self, private): + """Sets the private of this Instance. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param private: The private of this Instance. # noqa: E501 + :type private: str + """ + + self._private = private + + @property + def queue_enabled(self): + """Gets the queue_enabled of this Instance. # noqa: E501 + + + :return: The queue_enabled of this Instance. # noqa: E501 + :rtype: bool + """ + return self._queue_enabled + + @queue_enabled.setter + def queue_enabled(self, queue_enabled): + """Sets the queue_enabled of this Instance. + + + :param queue_enabled: The queue_enabled of this Instance. # noqa: E501 + :type queue_enabled: bool + """ + if self.local_vars_configuration.client_side_validation and queue_enabled is None: # noqa: E501 + raise ValueError("Invalid value for `queue_enabled`, must not be `None`") # noqa: E501 + + self._queue_enabled = queue_enabled + + @property + def queue_size(self): + """Gets the queue_size of this Instance. # noqa: E501 + + + :return: The queue_size of this Instance. # noqa: E501 + :rtype: int + """ + return self._queue_size + + @queue_size.setter + def queue_size(self, queue_size): + """Sets the queue_size of this Instance. + + + :param queue_size: The queue_size of this Instance. # noqa: E501 + :type queue_size: int + """ + if self.local_vars_configuration.client_side_validation and queue_size is None: # noqa: E501 + raise ValueError("Invalid value for `queue_size`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + queue_size is not None and queue_size < 0): # noqa: E501 + raise ValueError("Invalid value for `queue_size`, must be a value greater than or equal to `0`") # noqa: E501 + + self._queue_size = queue_size + + @property + def recommended_capacity(self): + """Gets the recommended_capacity of this Instance. # noqa: E501 + + + :return: The recommended_capacity of this Instance. # noqa: E501 + :rtype: int + """ + return self._recommended_capacity + + @recommended_capacity.setter + def recommended_capacity(self, recommended_capacity): + """Sets the recommended_capacity of this Instance. + + + :param recommended_capacity: The recommended_capacity of this Instance. # noqa: E501 + :type recommended_capacity: int + """ + if self.local_vars_configuration.client_side_validation and recommended_capacity is None: # noqa: E501 + raise ValueError("Invalid value for `recommended_capacity`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + recommended_capacity is not None and recommended_capacity < 0): # noqa: E501 + raise ValueError("Invalid value for `recommended_capacity`, must be a value greater than or equal to `0`") # noqa: E501 + + self._recommended_capacity = recommended_capacity + @property def region(self): """Gets the region of this Instance. # noqa: E501 @@ -719,6 +1017,27 @@ def region(self, region): self._region = region + @property + def role_restricted(self): + """Gets the role_restricted of this Instance. # noqa: E501 + + + :return: The role_restricted of this Instance. # noqa: E501 + :rtype: bool + """ + return self._role_restricted + + @role_restricted.setter + def role_restricted(self, role_restricted): + """Sets the role_restricted of this Instance. + + + :param role_restricted: The role_restricted of this Instance. # noqa: E501 + :type role_restricted: bool + """ + + self._role_restricted = role_restricted + @property def secure_name(self): """Gets the secure_name of this Instance. # noqa: E501 @@ -770,24 +1089,47 @@ def short_name(self, short_name): self._short_name = short_name @property - def tags(self): - """Gets the tags of this Instance. # noqa: E501 + def strict(self): + """Gets the strict of this Instance. # noqa: E501 - The tags array on Instances usually contain the language tags of the people in the instance. # noqa: E501 - :return: The tags of this Instance. # noqa: E501 - :rtype: list[str] + :return: The strict of this Instance. # noqa: E501 + :rtype: bool """ - return self._tags + return self._strict - @tags.setter - def tags(self, tags): - """Sets the tags of this Instance. + @strict.setter + def strict(self, strict): + """Sets the strict of this Instance. - The tags array on Instances usually contain the language tags of the people in the instance. # noqa: E501 - :param tags: The tags of this Instance. # noqa: E501 - :type tags: list[str] + :param strict: The strict of this Instance. # noqa: E501 + :type strict: bool + """ + if self.local_vars_configuration.client_side_validation and strict is None: # noqa: E501 + raise ValueError("Invalid value for `strict`, must not be `None`") # noqa: E501 + + self._strict = strict + + @property + def tags(self): + """Gets the tags of this Instance. # noqa: E501 + + The tags array on Instances usually contain the language tags of the people in the instance. # noqa: E501 + + :return: The tags of this Instance. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this Instance. + + The tags array on Instances usually contain the language tags of the people in the instance. # noqa: E501 + + :param tags: The tags of this Instance. # noqa: E501 + :type tags: list[str] """ if self.local_vars_configuration.client_side_validation and tags is None: # noqa: E501 raise ValueError("Invalid value for `tags`, must not be `None`") # noqa: E501 @@ -817,219 +1159,6 @@ def type(self, type): self._type = type - @property - def world_id(self): - """Gets the world_id of this Instance. # noqa: E501 - - WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 - - :return: The world_id of this Instance. # noqa: E501 - :rtype: str - """ - return self._world_id - - @world_id.setter - def world_id(self, world_id): - """Sets the world_id of this Instance. - - WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 - - :param world_id: The world_id of this Instance. # noqa: E501 - :type world_id: str - """ - if self.local_vars_configuration.client_side_validation and world_id is None: # noqa: E501 - raise ValueError("Invalid value for `world_id`, must not be `None`") # noqa: E501 - - self._world_id = world_id - - @property - def hidden(self): - """Gets the hidden of this Instance. # noqa: E501 - - A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - - :return: The hidden of this Instance. # noqa: E501 - :rtype: str - """ - return self._hidden - - @hidden.setter - def hidden(self, hidden): - """Sets the hidden of this Instance. - - A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - - :param hidden: The hidden of this Instance. # noqa: E501 - :type hidden: str - """ - - self._hidden = hidden - - @property - def friends(self): - """Gets the friends of this Instance. # noqa: E501 - - A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - - :return: The friends of this Instance. # noqa: E501 - :rtype: str - """ - return self._friends - - @friends.setter - def friends(self, friends): - """Sets the friends of this Instance. - - A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - - :param friends: The friends of this Instance. # noqa: E501 - :type friends: str - """ - - self._friends = friends - - @property - def private(self): - """Gets the private of this Instance. # noqa: E501 - - A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - - :return: The private of this Instance. # noqa: E501 - :rtype: str - """ - return self._private - - @private.setter - def private(self, private): - """Sets the private of this Instance. - - A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - - :param private: The private of this Instance. # noqa: E501 - :type private: str - """ - - self._private = private - - @property - def queue_enabled(self): - """Gets the queue_enabled of this Instance. # noqa: E501 - - - :return: The queue_enabled of this Instance. # noqa: E501 - :rtype: bool - """ - return self._queue_enabled - - @queue_enabled.setter - def queue_enabled(self, queue_enabled): - """Sets the queue_enabled of this Instance. - - - :param queue_enabled: The queue_enabled of this Instance. # noqa: E501 - :type queue_enabled: bool - """ - if self.local_vars_configuration.client_side_validation and queue_enabled is None: # noqa: E501 - raise ValueError("Invalid value for `queue_enabled`, must not be `None`") # noqa: E501 - - self._queue_enabled = queue_enabled - - @property - def queue_size(self): - """Gets the queue_size of this Instance. # noqa: E501 - - - :return: The queue_size of this Instance. # noqa: E501 - :rtype: int - """ - return self._queue_size - - @queue_size.setter - def queue_size(self, queue_size): - """Sets the queue_size of this Instance. - - - :param queue_size: The queue_size of this Instance. # noqa: E501 - :type queue_size: int - """ - if self.local_vars_configuration.client_side_validation and queue_size is None: # noqa: E501 - raise ValueError("Invalid value for `queue_size`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - queue_size is not None and queue_size < 0): # noqa: E501 - raise ValueError("Invalid value for `queue_size`, must be a value greater than or equal to `0`") # noqa: E501 - - self._queue_size = queue_size - - @property - def recommended_capacity(self): - """Gets the recommended_capacity of this Instance. # noqa: E501 - - - :return: The recommended_capacity of this Instance. # noqa: E501 - :rtype: int - """ - return self._recommended_capacity - - @recommended_capacity.setter - def recommended_capacity(self, recommended_capacity): - """Sets the recommended_capacity of this Instance. - - - :param recommended_capacity: The recommended_capacity of this Instance. # noqa: E501 - :type recommended_capacity: int - """ - if self.local_vars_configuration.client_side_validation and recommended_capacity is None: # noqa: E501 - raise ValueError("Invalid value for `recommended_capacity`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - recommended_capacity is not None and recommended_capacity < 0): # noqa: E501 - raise ValueError("Invalid value for `recommended_capacity`, must be a value greater than or equal to `0`") # noqa: E501 - - self._recommended_capacity = recommended_capacity - - @property - def role_restricted(self): - """Gets the role_restricted of this Instance. # noqa: E501 - - - :return: The role_restricted of this Instance. # noqa: E501 - :rtype: bool - """ - return self._role_restricted - - @role_restricted.setter - def role_restricted(self, role_restricted): - """Sets the role_restricted of this Instance. - - - :param role_restricted: The role_restricted of this Instance. # noqa: E501 - :type role_restricted: bool - """ - - self._role_restricted = role_restricted - - @property - def strict(self): - """Gets the strict of this Instance. # noqa: E501 - - - :return: The strict of this Instance. # noqa: E501 - :rtype: bool - """ - return self._strict - - @strict.setter - def strict(self, strict): - """Sets the strict of this Instance. - - - :param strict: The strict of this Instance. # noqa: E501 - :type strict: bool - """ - if self.local_vars_configuration.client_side_validation and strict is None: # noqa: E501 - raise ValueError("Invalid value for `strict`, must not be `None`") # noqa: E501 - - self._strict = strict - @property def user_count(self): """Gets the user_count of this Instance. # noqa: E501 @@ -1056,29 +1185,6 @@ def user_count(self, user_count): self._user_count = user_count - @property - def world(self): - """Gets the world of this Instance. # noqa: E501 - - - :return: The world of this Instance. # noqa: E501 - :rtype: World - """ - return self._world - - @world.setter - def world(self, world): - """Sets the world of this Instance. - - - :param world: The world of this Instance. # noqa: E501 - :type world: World - """ - if self.local_vars_configuration.client_side_validation and world is None: # noqa: E501 - raise ValueError("Invalid value for `world`, must not be `None`") # noqa: E501 - - self._world = world - @property def users(self): """Gets the users of this Instance. # noqa: E501 @@ -1103,109 +1209,52 @@ def users(self, users): self._users = users @property - def group_access_type(self): - """Gets the group_access_type of this Instance. # noqa: E501 - - - :return: The group_access_type of this Instance. # noqa: E501 - :rtype: GroupAccessType - """ - return self._group_access_type - - @group_access_type.setter - def group_access_type(self, group_access_type): - """Sets the group_access_type of this Instance. - - - :param group_access_type: The group_access_type of this Instance. # noqa: E501 - :type group_access_type: GroupAccessType - """ - - self._group_access_type = group_access_type - - @property - def has_capacity_for_you(self): - """Gets the has_capacity_for_you of this Instance. # noqa: E501 + def world(self): + """Gets the world of this Instance. # noqa: E501 - :return: The has_capacity_for_you of this Instance. # noqa: E501 - :rtype: bool + :return: The world of this Instance. # noqa: E501 + :rtype: World """ - return self._has_capacity_for_you + return self._world - @has_capacity_for_you.setter - def has_capacity_for_you(self, has_capacity_for_you): - """Sets the has_capacity_for_you of this Instance. + @world.setter + def world(self, world): + """Sets the world of this Instance. - :param has_capacity_for_you: The has_capacity_for_you of this Instance. # noqa: E501 - :type has_capacity_for_you: bool + :param world: The world of this Instance. # noqa: E501 + :type world: World """ + if self.local_vars_configuration.client_side_validation and world is None: # noqa: E501 + raise ValueError("Invalid value for `world`, must not be `None`") # noqa: E501 - self._has_capacity_for_you = has_capacity_for_you + self._world = world @property - def nonce(self): - """Gets the nonce of this Instance. # noqa: E501 + def world_id(self): + """Gets the world_id of this Instance. # noqa: E501 + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 - :return: The nonce of this Instance. # noqa: E501 + :return: The world_id of this Instance. # noqa: E501 :rtype: str """ - return self._nonce - - @nonce.setter - def nonce(self, nonce): - """Sets the nonce of this Instance. - - - :param nonce: The nonce of this Instance. # noqa: E501 - :type nonce: str - """ - - self._nonce = nonce - - @property - def closed_at(self): - """Gets the closed_at of this Instance. # noqa: E501 - - - :return: The closed_at of this Instance. # noqa: E501 - :rtype: datetime - """ - return self._closed_at - - @closed_at.setter - def closed_at(self, closed_at): - """Sets the closed_at of this Instance. - - - :param closed_at: The closed_at of this Instance. # noqa: E501 - :type closed_at: datetime - """ - - self._closed_at = closed_at - - @property - def hard_close(self): - """Gets the hard_close of this Instance. # noqa: E501 - - - :return: The hard_close of this Instance. # noqa: E501 - :rtype: bool - """ - return self._hard_close + return self._world_id - @hard_close.setter - def hard_close(self, hard_close): - """Sets the hard_close of this Instance. + @world_id.setter + def world_id(self, world_id): + """Sets the world_id of this Instance. + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 - :param hard_close: The hard_close of this Instance. # noqa: E501 - :type hard_close: bool + :param world_id: The world_id of this Instance. # noqa: E501 + :type world_id: str """ + if self.local_vars_configuration.client_side_validation and world_id is None: # noqa: E501 + raise ValueError("Invalid value for `world_id`, must not be `None`") # noqa: E501 - self._hard_close = hard_close + self._world_id = world_id def to_dict(self, serialize=False): """Returns the model properties as a dict""" diff --git a/vrchatapi/models/instance_content_settings.py b/vrchatapi/models/instance_content_settings.py index b9497e46..f5d6e65f 100644 --- a/vrchatapi/models/instance_content_settings.py +++ b/vrchatapi/models/instance_content_settings.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -40,8 +40,8 @@ class InstanceContentSettings(object): 'emoji': 'bool', 'pedestals': 'bool', 'prints': 'bool', - 'stickers': 'bool', - 'props': 'bool' + 'props': 'bool', + 'stickers': 'bool' } attribute_map = { @@ -49,11 +49,11 @@ class InstanceContentSettings(object): 'emoji': 'emoji', 'pedestals': 'pedestals', 'prints': 'prints', - 'stickers': 'stickers', - 'props': 'props' + 'props': 'props', + 'stickers': 'stickers' } - def __init__(self, drones=True, emoji=True, pedestals=True, prints=True, stickers=True, props=True, local_vars_configuration=None): # noqa: E501 + def __init__(self, drones=True, emoji=True, pedestals=True, prints=True, props=True, stickers=True, local_vars_configuration=None): # noqa: E501 """InstanceContentSettings - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -63,8 +63,8 @@ def __init__(self, drones=True, emoji=True, pedestals=True, prints=True, sticker self._emoji = None self._pedestals = None self._prints = None - self._stickers = None self._props = None + self._stickers = None self.discriminator = None if drones is not None: @@ -75,10 +75,10 @@ def __init__(self, drones=True, emoji=True, pedestals=True, prints=True, sticker self.pedestals = pedestals if prints is not None: self.prints = prints - if stickers is not None: - self.stickers = stickers if props is not None: self.props = props + if stickers is not None: + self.stickers = stickers @property def drones(self): @@ -165,46 +165,46 @@ def prints(self, prints): self._prints = prints @property - def stickers(self): - """Gets the stickers of this InstanceContentSettings. # noqa: E501 + def props(self): + """Gets the props of this InstanceContentSettings. # noqa: E501 - :return: The stickers of this InstanceContentSettings. # noqa: E501 + :return: The props of this InstanceContentSettings. # noqa: E501 :rtype: bool """ - return self._stickers + return self._props - @stickers.setter - def stickers(self, stickers): - """Sets the stickers of this InstanceContentSettings. + @props.setter + def props(self, props): + """Sets the props of this InstanceContentSettings. - :param stickers: The stickers of this InstanceContentSettings. # noqa: E501 - :type stickers: bool + :param props: The props of this InstanceContentSettings. # noqa: E501 + :type props: bool """ - self._stickers = stickers + self._props = props @property - def props(self): - """Gets the props of this InstanceContentSettings. # noqa: E501 + def stickers(self): + """Gets the stickers of this InstanceContentSettings. # noqa: E501 - :return: The props of this InstanceContentSettings. # noqa: E501 + :return: The stickers of this InstanceContentSettings. # noqa: E501 :rtype: bool """ - return self._props + return self._stickers - @props.setter - def props(self, props): - """Sets the props of this InstanceContentSettings. + @stickers.setter + def stickers(self, stickers): + """Sets the stickers of this InstanceContentSettings. - :param props: The props of this InstanceContentSettings. # noqa: E501 - :type props: bool + :param stickers: The stickers of this InstanceContentSettings. # noqa: E501 + :type stickers: bool """ - self._props = props + self._stickers = stickers def to_dict(self, serialize=False): """Returns the model properties as a dict""" diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index 10865f01..3f636971 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_region.py b/vrchatapi/models/instance_region.py index b0969949..709817ea 100644 --- a/vrchatapi/models/instance_region.py +++ b/vrchatapi/models/instance_region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -31,13 +31,13 @@ class InstanceRegion(object): """ allowed enum values """ - US = "us" - USE = "use" EU = "eu" JP = "jp" UNKNOWN = "unknown" + US = "us" + USE = "use" - allowable_values = [US, USE, EU, JP, UNKNOWN] # noqa: E501 + allowable_values = [EU, JP, UNKNOWN, US, USE] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index 23015072..cd13e012 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index f8299ca7..6f292520 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -31,13 +31,13 @@ class InstanceType(object): """ allowed enum values """ - PUBLIC = "public" - HIDDEN = "hidden" FRIENDS = "friends" - PRIVATE = "private" GROUP = "group" + HIDDEN = "hidden" + PRIVATE = "private" + PUBLIC = "public" - allowable_values = [PUBLIC, HIDDEN, FRIENDS, PRIVATE, GROUP] # noqa: E501 + allowable_values = [FRIENDS, GROUP, HIDDEN, PRIVATE, PUBLIC] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/inventory.py b/vrchatapi/models/inventory.py index cc3014e9..ee1b6b5d 100644 --- a/vrchatapi/models/inventory.py +++ b/vrchatapi/models/inventory.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_consumption_results.py b/vrchatapi/models/inventory_consumption_results.py new file mode 100644 index 00000000..7bf0fba3 --- /dev/null +++ b/vrchatapi/models/inventory_consumption_results.py @@ -0,0 +1,186 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class InventoryConsumptionResults(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'errors': 'list[object]', + 'inventory_items': 'list[InventoryItem]', + 'inventory_items_created': 'int' + } + + attribute_map = { + 'errors': 'errors', + 'inventory_items': 'inventoryItems', + 'inventory_items_created': 'inventoryItemsCreated' + } + + def __init__(self, errors=None, inventory_items=None, inventory_items_created=None, local_vars_configuration=None): # noqa: E501 + """InventoryConsumptionResults - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._errors = None + self._inventory_items = None + self._inventory_items_created = None + self.discriminator = None + + self.errors = errors + self.inventory_items = inventory_items + self.inventory_items_created = inventory_items_created + + @property + def errors(self): + """Gets the errors of this InventoryConsumptionResults. # noqa: E501 + + + :return: The errors of this InventoryConsumptionResults. # noqa: E501 + :rtype: list[object] + """ + return self._errors + + @errors.setter + def errors(self, errors): + """Sets the errors of this InventoryConsumptionResults. + + + :param errors: The errors of this InventoryConsumptionResults. # noqa: E501 + :type errors: list[object] + """ + if self.local_vars_configuration.client_side_validation and errors is None: # noqa: E501 + raise ValueError("Invalid value for `errors`, must not be `None`") # noqa: E501 + + self._errors = errors + + @property + def inventory_items(self): + """Gets the inventory_items of this InventoryConsumptionResults. # noqa: E501 + + + :return: The inventory_items of this InventoryConsumptionResults. # noqa: E501 + :rtype: list[InventoryItem] + """ + return self._inventory_items + + @inventory_items.setter + def inventory_items(self, inventory_items): + """Sets the inventory_items of this InventoryConsumptionResults. + + + :param inventory_items: The inventory_items of this InventoryConsumptionResults. # noqa: E501 + :type inventory_items: list[InventoryItem] + """ + if self.local_vars_configuration.client_side_validation and inventory_items is None: # noqa: E501 + raise ValueError("Invalid value for `inventory_items`, must not be `None`") # noqa: E501 + + self._inventory_items = inventory_items + + @property + def inventory_items_created(self): + """Gets the inventory_items_created of this InventoryConsumptionResults. # noqa: E501 + + + :return: The inventory_items_created of this InventoryConsumptionResults. # noqa: E501 + :rtype: int + """ + return self._inventory_items_created + + @inventory_items_created.setter + def inventory_items_created(self, inventory_items_created): + """Sets the inventory_items_created of this InventoryConsumptionResults. + + + :param inventory_items_created: The inventory_items_created of this InventoryConsumptionResults. # noqa: E501 + :type inventory_items_created: int + """ + if self.local_vars_configuration.client_side_validation and inventory_items_created is None: # noqa: E501 + raise ValueError("Invalid value for `inventory_items_created`, must not be `None`") # noqa: E501 + + self._inventory_items_created = inventory_items_created + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InventoryConsumptionResults): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, InventoryConsumptionResults): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/inventory_default_attributes1.py b/vrchatapi/models/inventory_default_attributes1.py new file mode 100644 index 00000000..677e8ded --- /dev/null +++ b/vrchatapi/models/inventory_default_attributes1.py @@ -0,0 +1,157 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class InventoryDefaultAttributes1(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'default_value': 'str', + 'validator': 'InventoryDefaultAttributes1Validator' + } + + attribute_map = { + 'default_value': 'defaultValue', + 'validator': 'validator' + } + + def __init__(self, default_value=None, validator=None, local_vars_configuration=None): # noqa: E501 + """InventoryDefaultAttributes1 - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._default_value = None + self._validator = None + self.discriminator = None + + if default_value is not None: + self.default_value = default_value + if validator is not None: + self.validator = validator + + @property + def default_value(self): + """Gets the default_value of this InventoryDefaultAttributes1. # noqa: E501 + + + :return: The default_value of this InventoryDefaultAttributes1. # noqa: E501 + :rtype: str + """ + return self._default_value + + @default_value.setter + def default_value(self, default_value): + """Sets the default_value of this InventoryDefaultAttributes1. + + + :param default_value: The default_value of this InventoryDefaultAttributes1. # noqa: E501 + :type default_value: str + """ + + self._default_value = default_value + + @property + def validator(self): + """Gets the validator of this InventoryDefaultAttributes1. # noqa: E501 + + + :return: The validator of this InventoryDefaultAttributes1. # noqa: E501 + :rtype: InventoryDefaultAttributes1Validator + """ + return self._validator + + @validator.setter + def validator(self, validator): + """Sets the validator of this InventoryDefaultAttributes1. + + + :param validator: The validator of this InventoryDefaultAttributes1. # noqa: E501 + :type validator: InventoryDefaultAttributes1Validator + """ + + self._validator = validator + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InventoryDefaultAttributes1): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, InventoryDefaultAttributes1): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/inventory_default_attributes1_validator.py b/vrchatapi/models/inventory_default_attributes1_validator.py new file mode 100644 index 00000000..93174114 --- /dev/null +++ b/vrchatapi/models/inventory_default_attributes1_validator.py @@ -0,0 +1,131 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class InventoryDefaultAttributes1Validator(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'type': 'str' + } + + attribute_map = { + 'type': 'type' + } + + def __init__(self, type=None, local_vars_configuration=None): # noqa: E501 + """InventoryDefaultAttributes1Validator - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._type = None + self.discriminator = None + + if type is not None: + self.type = type + + @property + def type(self): + """Gets the type of this InventoryDefaultAttributes1Validator. # noqa: E501 + + + :return: The type of this InventoryDefaultAttributes1Validator. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this InventoryDefaultAttributes1Validator. + + + :param type: The type of this InventoryDefaultAttributes1Validator. # noqa: E501 + :type type: str + """ + + self._type = type + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InventoryDefaultAttributes1Validator): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, InventoryDefaultAttributes1Validator): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/inventory_drop.py b/vrchatapi/models/inventory_drop.py index a1a15389..7cd987c6 100644 --- a/vrchatapi/models/inventory_drop.py +++ b/vrchatapi/models/inventory_drop.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -41,6 +41,7 @@ class InventoryDrop(object): 'drop_expiry_date': 'datetime', 'end_drop_date': 'datetime', 'id': 'str', + 'is_disabled': 'bool', 'name': 'str', 'notification_details': 'InventoryNotificationDetails', 'start_drop_date': 'datetime', @@ -57,6 +58,7 @@ class InventoryDrop(object): 'drop_expiry_date': 'dropExpiryDate', 'end_drop_date': 'endDropDate', 'id': 'id', + 'is_disabled': 'isDisabled', 'name': 'name', 'notification_details': 'notificationDetails', 'start_drop_date': 'startDropDate', @@ -67,7 +69,7 @@ class InventoryDrop(object): 'updated_at': 'updated_at' } - def __init__(self, author_id=None, created_at=None, drop_expiry_date=None, end_drop_date=None, id=None, name=None, notification_details=None, start_drop_date=None, status=None, tags=None, target_group=None, template_ids=None, updated_at=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, author_id=None, created_at=None, drop_expiry_date=None, end_drop_date=None, id=None, is_disabled=None, name=None, notification_details=None, start_drop_date=None, status=None, tags=None, target_group=None, template_ids=None, updated_at=None, local_vars_configuration=None): # noqa: E501 """InventoryDrop - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -78,6 +80,7 @@ def __init__(self, author_id=None, created_at=None, drop_expiry_date=None, end_d self._drop_expiry_date = None self._end_drop_date = None self._id = None + self._is_disabled = None self._name = None self._notification_details = None self._start_drop_date = None @@ -93,6 +96,7 @@ def __init__(self, author_id=None, created_at=None, drop_expiry_date=None, end_d self.drop_expiry_date = drop_expiry_date self.end_drop_date = end_drop_date self.id = id + self.is_disabled = is_disabled self.name = name self.notification_details = notification_details self.start_drop_date = start_drop_date @@ -217,6 +221,29 @@ def id(self, id): self._id = id + @property + def is_disabled(self): + """Gets the is_disabled of this InventoryDrop. # noqa: E501 + + + :return: The is_disabled of this InventoryDrop. # noqa: E501 + :rtype: bool + """ + return self._is_disabled + + @is_disabled.setter + def is_disabled(self, is_disabled): + """Sets the is_disabled of this InventoryDrop. + + + :param is_disabled: The is_disabled of this InventoryDrop. # noqa: E501 + :type is_disabled: bool + """ + if self.local_vars_configuration.client_side_validation and is_disabled is None: # noqa: E501 + raise ValueError("Invalid value for `is_disabled`, must not be `None`") # noqa: E501 + + self._is_disabled = is_disabled + @property def name(self): """Gets the name of this InventoryDrop. # noqa: E501 diff --git a/vrchatapi/models/inventory_equip_slot.py b/vrchatapi/models/inventory_equip_slot.py new file mode 100644 index 00000000..d28adaa2 --- /dev/null +++ b/vrchatapi/models/inventory_equip_slot.py @@ -0,0 +1,113 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class InventoryEquipSlot(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + EMPTY = "" + DRONE = "drone" + PORTAL = "portal" + WARP = "warp" + + allowable_values = [EMPTY, DRONE, PORTAL, WARP] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """InventoryEquipSlot - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InventoryEquipSlot): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, InventoryEquipSlot): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/inventory_flag.py b/vrchatapi/models/inventory_flag.py index 2a970b88..49c77b12 100644 --- a/vrchatapi/models/inventory_flag.py +++ b/vrchatapi/models/inventory_flag.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -31,14 +31,16 @@ class InventoryFlag(object): """ allowed enum values """ - INSTANTIATABLE = "instantiatable" ARCHIVABLE = "archivable" + CLONEABLE = "cloneable" CONSUMABLE = "consumable" + EQUIPPABLE = "equippable" + INSTANTIATABLE = "instantiatable" TRASHABLE = "trashable" - CLONEABLE = "cloneable" UGC = "ugc" + UNIQUE = "unique" - allowable_values = [INSTANTIATABLE, ARCHIVABLE, CONSUMABLE, TRASHABLE, CLONEABLE, UGC] # noqa: E501 + allowable_values = [ARCHIVABLE, CLONEABLE, CONSUMABLE, EQUIPPABLE, INSTANTIATABLE, TRASHABLE, UGC, UNIQUE] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/inventory_item.py b/vrchatapi/models/inventory_item.py index ffb44b72..3843503d 100644 --- a/vrchatapi/models/inventory_item.py +++ b/vrchatapi/models/inventory_item.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -38,7 +38,10 @@ class InventoryItem(object): openapi_types = { 'collections': 'list[str]', 'created_at': 'datetime', + 'default_attributes': 'dict(str, InventoryDefaultAttributes1)', 'description': 'str', + 'equip_slot': 'InventoryEquipSlot', + 'equip_slots': 'list[InventoryEquipSlot]', 'expiry_date': 'datetime', 'flags': 'list[str]', 'holder_id': 'str', @@ -50,17 +53,23 @@ class InventoryItem(object): 'item_type_label': 'str', 'metadata': 'InventoryMetadata', 'name': 'str', + 'quantifiable': 'bool', 'tags': 'list[str]', 'template_id': 'str', 'template_created_at': 'datetime', 'template_updated_at': 'datetime', - 'updated_at': 'datetime' + 'updated_at': 'datetime', + 'user_attributes': 'InventoryUserAttributes', + 'validate_user_attributes': 'bool' } attribute_map = { 'collections': 'collections', 'created_at': 'created_at', + 'default_attributes': 'defaultAttributes', 'description': 'description', + 'equip_slot': 'equipSlot', + 'equip_slots': 'equipSlots', 'expiry_date': 'expiryDate', 'flags': 'flags', 'holder_id': 'holderId', @@ -72,14 +81,17 @@ class InventoryItem(object): 'item_type_label': 'itemTypeLabel', 'metadata': 'metadata', 'name': 'name', + 'quantifiable': 'quantifiable', 'tags': 'tags', 'template_id': 'templateId', 'template_created_at': 'template_created_at', 'template_updated_at': 'template_updated_at', - 'updated_at': 'updated_at' + 'updated_at': 'updated_at', + 'user_attributes': 'userAttributes', + 'validate_user_attributes': 'validateUserAttributes' } - def __init__(self, collections=None, created_at=None, description=None, expiry_date=None, flags=None, holder_id=None, id=None, image_url=None, is_archived=None, is_seen=None, item_type=None, item_type_label=None, metadata=None, name=None, tags=None, template_id=None, template_created_at=None, template_updated_at=None, updated_at=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, collections=None, created_at=None, default_attributes=None, description=None, equip_slot=None, equip_slots=None, expiry_date=None, flags=None, holder_id=None, id=None, image_url=None, is_archived=None, is_seen=None, item_type=None, item_type_label=None, metadata=None, name=None, quantifiable=None, tags=None, template_id=None, template_created_at=None, template_updated_at=None, updated_at=None, user_attributes=None, validate_user_attributes=None, local_vars_configuration=None): # noqa: E501 """InventoryItem - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -87,7 +99,10 @@ def __init__(self, collections=None, created_at=None, description=None, expiry_d self._collections = None self._created_at = None + self._default_attributes = None self._description = None + self._equip_slot = None + self._equip_slots = None self._expiry_date = None self._flags = None self._holder_id = None @@ -99,16 +114,24 @@ def __init__(self, collections=None, created_at=None, description=None, expiry_d self._item_type_label = None self._metadata = None self._name = None + self._quantifiable = None self._tags = None self._template_id = None self._template_created_at = None self._template_updated_at = None self._updated_at = None + self._user_attributes = None + self._validate_user_attributes = None self.discriminator = None self.collections = collections self.created_at = created_at + self.default_attributes = default_attributes self.description = description + if equip_slot is not None: + self.equip_slot = equip_slot + if equip_slots is not None: + self.equip_slots = equip_slots self.expiry_date = expiry_date self.flags = flags self.holder_id = holder_id @@ -120,11 +143,14 @@ def __init__(self, collections=None, created_at=None, description=None, expiry_d self.item_type_label = item_type_label self.metadata = metadata self.name = name + self.quantifiable = quantifiable self.tags = tags self.template_id = template_id self.template_created_at = template_created_at self.template_updated_at = template_updated_at self.updated_at = updated_at + self.user_attributes = user_attributes + self.validate_user_attributes = validate_user_attributes @property def collections(self): @@ -172,6 +198,29 @@ def created_at(self, created_at): self._created_at = created_at + @property + def default_attributes(self): + """Gets the default_attributes of this InventoryItem. # noqa: E501 + + + :return: The default_attributes of this InventoryItem. # noqa: E501 + :rtype: dict(str, InventoryDefaultAttributes1) + """ + return self._default_attributes + + @default_attributes.setter + def default_attributes(self, default_attributes): + """Sets the default_attributes of this InventoryItem. + + + :param default_attributes: The default_attributes of this InventoryItem. # noqa: E501 + :type default_attributes: dict(str, InventoryDefaultAttributes1) + """ + if self.local_vars_configuration.client_side_validation and default_attributes is None: # noqa: E501 + raise ValueError("Invalid value for `default_attributes`, must not be `None`") # noqa: E501 + + self._default_attributes = default_attributes + @property def description(self): """Gets the description of this InventoryItem. # noqa: E501 @@ -195,6 +244,48 @@ def description(self, description): self._description = description + @property + def equip_slot(self): + """Gets the equip_slot of this InventoryItem. # noqa: E501 + + + :return: The equip_slot of this InventoryItem. # noqa: E501 + :rtype: InventoryEquipSlot + """ + return self._equip_slot + + @equip_slot.setter + def equip_slot(self, equip_slot): + """Sets the equip_slot of this InventoryItem. + + + :param equip_slot: The equip_slot of this InventoryItem. # noqa: E501 + :type equip_slot: InventoryEquipSlot + """ + + self._equip_slot = equip_slot + + @property + def equip_slots(self): + """Gets the equip_slots of this InventoryItem. # noqa: E501 + + + :return: The equip_slots of this InventoryItem. # noqa: E501 + :rtype: list[InventoryEquipSlot] + """ + return self._equip_slots + + @equip_slots.setter + def equip_slots(self, equip_slots): + """Sets the equip_slots of this InventoryItem. + + + :param equip_slots: The equip_slots of this InventoryItem. # noqa: E501 + :type equip_slots: list[InventoryEquipSlot] + """ + + self._equip_slots = equip_slots + @property def expiry_date(self): """Gets the expiry_date of this InventoryItem. # noqa: E501 @@ -448,6 +539,29 @@ def name(self, name): self._name = name + @property + def quantifiable(self): + """Gets the quantifiable of this InventoryItem. # noqa: E501 + + + :return: The quantifiable of this InventoryItem. # noqa: E501 + :rtype: bool + """ + return self._quantifiable + + @quantifiable.setter + def quantifiable(self, quantifiable): + """Sets the quantifiable of this InventoryItem. + + + :param quantifiable: The quantifiable of this InventoryItem. # noqa: E501 + :type quantifiable: bool + """ + if self.local_vars_configuration.client_side_validation and quantifiable is None: # noqa: E501 + raise ValueError("Invalid value for `quantifiable`, must not be `None`") # noqa: E501 + + self._quantifiable = quantifiable + @property def tags(self): """Gets the tags of this InventoryItem. # noqa: E501 @@ -563,6 +677,52 @@ def updated_at(self, updated_at): self._updated_at = updated_at + @property + def user_attributes(self): + """Gets the user_attributes of this InventoryItem. # noqa: E501 + + + :return: The user_attributes of this InventoryItem. # noqa: E501 + :rtype: InventoryUserAttributes + """ + return self._user_attributes + + @user_attributes.setter + def user_attributes(self, user_attributes): + """Sets the user_attributes of this InventoryItem. + + + :param user_attributes: The user_attributes of this InventoryItem. # noqa: E501 + :type user_attributes: InventoryUserAttributes + """ + if self.local_vars_configuration.client_side_validation and user_attributes is None: # noqa: E501 + raise ValueError("Invalid value for `user_attributes`, must not be `None`") # noqa: E501 + + self._user_attributes = user_attributes + + @property + def validate_user_attributes(self): + """Gets the validate_user_attributes of this InventoryItem. # noqa: E501 + + + :return: The validate_user_attributes of this InventoryItem. # noqa: E501 + :rtype: bool + """ + return self._validate_user_attributes + + @validate_user_attributes.setter + def validate_user_attributes(self, validate_user_attributes): + """Sets the validate_user_attributes of this InventoryItem. + + + :param validate_user_attributes: The validate_user_attributes of this InventoryItem. # noqa: E501 + :type validate_user_attributes: bool + """ + if self.local_vars_configuration.client_side_validation and validate_user_attributes is None: # noqa: E501 + raise ValueError("Invalid value for `validate_user_attributes`, must not be `None`") # noqa: E501 + + self._validate_user_attributes = validate_user_attributes + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/inventory_item_type.py b/vrchatapi/models/inventory_item_type.py index fb54ae6d..24fa1e8d 100644 --- a/vrchatapi/models/inventory_item_type.py +++ b/vrchatapi/models/inventory_item_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -32,11 +32,14 @@ class InventoryItemType(object): allowed enum values """ BUNDLE = "bundle" - PROP = "prop" + DRONESKIN = "droneskin" EMOJI = "emoji" + PORTALSKIN = "portalskin" + PROP = "prop" STICKER = "sticker" + WARPEFFECT = "warpeffect" - allowable_values = [BUNDLE, PROP, EMOJI, STICKER] # noqa: E501 + allowable_values = [BUNDLE, DRONESKIN, EMOJI, PORTALSKIN, PROP, STICKER, WARPEFFECT] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/inventory_metadata.py b/vrchatapi/models/inventory_metadata.py index 5ccfccf8..3e21efbe 100644 --- a/vrchatapi/models/inventory_metadata.py +++ b/vrchatapi/models/inventory_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,45 +36,43 @@ class InventoryMetadata(object): and the value is json key in definition. """ openapi_types = { - 'inventory_items_to_instantiate': 'list[str]', 'animated': 'bool', 'animation_style': 'str', 'asset_bundle_id': 'str', 'file_id': 'str', 'image_url': 'str', + 'inventory_items_to_instantiate': 'list[str]', 'mask_tag': 'str', 'prop_id': 'str' } attribute_map = { - 'inventory_items_to_instantiate': 'inventoryItemsToInstantiate', 'animated': 'animated', 'animation_style': 'animationStyle', 'asset_bundle_id': 'assetBundleId', 'file_id': 'fileId', 'image_url': 'imageUrl', + 'inventory_items_to_instantiate': 'inventoryItemsToInstantiate', 'mask_tag': 'maskTag', 'prop_id': 'propId' } - def __init__(self, inventory_items_to_instantiate=None, animated=None, animation_style=None, asset_bundle_id=None, file_id=None, image_url=None, mask_tag=None, prop_id=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, animated=None, animation_style=None, asset_bundle_id=None, file_id=None, image_url=None, inventory_items_to_instantiate=None, mask_tag=None, prop_id=None, local_vars_configuration=None): # noqa: E501 """InventoryMetadata - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._inventory_items_to_instantiate = None self._animated = None self._animation_style = None self._asset_bundle_id = None self._file_id = None self._image_url = None + self._inventory_items_to_instantiate = None self._mask_tag = None self._prop_id = None self.discriminator = None - if inventory_items_to_instantiate is not None: - self.inventory_items_to_instantiate = inventory_items_to_instantiate if animated is not None: self.animated = animated if animation_style is not None: @@ -85,34 +83,13 @@ def __init__(self, inventory_items_to_instantiate=None, animated=None, animation self.file_id = file_id if image_url is not None: self.image_url = image_url + if inventory_items_to_instantiate is not None: + self.inventory_items_to_instantiate = inventory_items_to_instantiate if mask_tag is not None: self.mask_tag = mask_tag if prop_id is not None: self.prop_id = prop_id - @property - def inventory_items_to_instantiate(self): - """Gets the inventory_items_to_instantiate of this InventoryMetadata. # noqa: E501 - - Only in bundles # noqa: E501 - - :return: The inventory_items_to_instantiate of this InventoryMetadata. # noqa: E501 - :rtype: list[str] - """ - return self._inventory_items_to_instantiate - - @inventory_items_to_instantiate.setter - def inventory_items_to_instantiate(self, inventory_items_to_instantiate): - """Sets the inventory_items_to_instantiate of this InventoryMetadata. - - Only in bundles # noqa: E501 - - :param inventory_items_to_instantiate: The inventory_items_to_instantiate of this InventoryMetadata. # noqa: E501 - :type inventory_items_to_instantiate: list[str] - """ - - self._inventory_items_to_instantiate = inventory_items_to_instantiate - @property def animated(self): """Gets the animated of this InventoryMetadata. # noqa: E501 @@ -218,6 +195,29 @@ def image_url(self, image_url): self._image_url = image_url + @property + def inventory_items_to_instantiate(self): + """Gets the inventory_items_to_instantiate of this InventoryMetadata. # noqa: E501 + + Only in bundles # noqa: E501 + + :return: The inventory_items_to_instantiate of this InventoryMetadata. # noqa: E501 + :rtype: list[str] + """ + return self._inventory_items_to_instantiate + + @inventory_items_to_instantiate.setter + def inventory_items_to_instantiate(self, inventory_items_to_instantiate): + """Sets the inventory_items_to_instantiate of this InventoryMetadata. + + Only in bundles # noqa: E501 + + :param inventory_items_to_instantiate: The inventory_items_to_instantiate of this InventoryMetadata. # noqa: E501 + :type inventory_items_to_instantiate: list[str] + """ + + self._inventory_items_to_instantiate = inventory_items_to_instantiate + @property def mask_tag(self): """Gets the mask_tag of this InventoryMetadata. # noqa: E501 diff --git a/vrchatapi/models/inventory_notification_details.py b/vrchatapi/models/inventory_notification_details.py index 096beabe..125c21bf 100644 --- a/vrchatapi/models/inventory_notification_details.py +++ b/vrchatapi/models/inventory_notification_details.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_spawn.py b/vrchatapi/models/inventory_spawn.py index a7d9141e..c738e3d5 100644 --- a/vrchatapi/models/inventory_spawn.py +++ b/vrchatapi/models/inventory_spawn.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_template.py b/vrchatapi/models/inventory_template.py index 901784e5..a554f832 100644 --- a/vrchatapi/models/inventory_template.py +++ b/vrchatapi/models/inventory_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -39,7 +39,9 @@ class InventoryTemplate(object): 'author_id': 'str', 'collections': 'list[str]', 'created_at': 'datetime', + 'default_attributes': 'object', 'description': 'str', + 'equip_slots': 'list[str]', 'flags': 'list[str]', 'id': 'str', 'image_url': 'str', @@ -50,14 +52,17 @@ class InventoryTemplate(object): 'notification_details': 'InventoryNotificationDetails', 'status': 'str', 'tags': 'list[str]', - 'updated_at': 'datetime' + 'updated_at': 'datetime', + 'validate_user_attributes': 'bool' } attribute_map = { 'author_id': 'authorId', 'collections': 'collections', 'created_at': 'created_at', + 'default_attributes': 'defaultAttributes', 'description': 'description', + 'equip_slots': 'equipSlots', 'flags': 'flags', 'id': 'id', 'image_url': 'imageUrl', @@ -68,10 +73,11 @@ class InventoryTemplate(object): 'notification_details': 'notificationDetails', 'status': 'status', 'tags': 'tags', - 'updated_at': 'updated_at' + 'updated_at': 'updated_at', + 'validate_user_attributes': 'validateUserAttributes' } - def __init__(self, author_id=None, collections=None, created_at=None, description=None, flags=None, id=None, image_url=None, item_type=None, item_type_label=None, metadata=None, name=None, notification_details=None, status=None, tags=None, updated_at=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, author_id=None, collections=None, created_at=None, default_attributes=None, description=None, equip_slots=None, flags=None, id=None, image_url=None, item_type=None, item_type_label=None, metadata=None, name=None, notification_details=None, status=None, tags=None, updated_at=None, validate_user_attributes=None, local_vars_configuration=None): # noqa: E501 """InventoryTemplate - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -80,7 +86,9 @@ def __init__(self, author_id=None, collections=None, created_at=None, descriptio self._author_id = None self._collections = None self._created_at = None + self._default_attributes = None self._description = None + self._equip_slots = None self._flags = None self._id = None self._image_url = None @@ -92,12 +100,15 @@ def __init__(self, author_id=None, collections=None, created_at=None, descriptio self._status = None self._tags = None self._updated_at = None + self._validate_user_attributes = None self.discriminator = None self.author_id = author_id self.collections = collections self.created_at = created_at + self.default_attributes = default_attributes self.description = description + self.equip_slots = equip_slots self.flags = flags self.id = id self.image_url = image_url @@ -111,6 +122,7 @@ def __init__(self, author_id=None, collections=None, created_at=None, descriptio self.status = status self.tags = tags self.updated_at = updated_at + self.validate_user_attributes = validate_user_attributes @property def author_id(self): @@ -183,6 +195,29 @@ def created_at(self, created_at): self._created_at = created_at + @property + def default_attributes(self): + """Gets the default_attributes of this InventoryTemplate. # noqa: E501 + + + :return: The default_attributes of this InventoryTemplate. # noqa: E501 + :rtype: object + """ + return self._default_attributes + + @default_attributes.setter + def default_attributes(self, default_attributes): + """Sets the default_attributes of this InventoryTemplate. + + + :param default_attributes: The default_attributes of this InventoryTemplate. # noqa: E501 + :type default_attributes: object + """ + if self.local_vars_configuration.client_side_validation and default_attributes is None: # noqa: E501 + raise ValueError("Invalid value for `default_attributes`, must not be `None`") # noqa: E501 + + self._default_attributes = default_attributes + @property def description(self): """Gets the description of this InventoryTemplate. # noqa: E501 @@ -206,6 +241,29 @@ def description(self, description): self._description = description + @property + def equip_slots(self): + """Gets the equip_slots of this InventoryTemplate. # noqa: E501 + + + :return: The equip_slots of this InventoryTemplate. # noqa: E501 + :rtype: list[str] + """ + return self._equip_slots + + @equip_slots.setter + def equip_slots(self, equip_slots): + """Sets the equip_slots of this InventoryTemplate. + + + :param equip_slots: The equip_slots of this InventoryTemplate. # noqa: E501 + :type equip_slots: list[str] + """ + if self.local_vars_configuration.client_side_validation and equip_slots is None: # noqa: E501 + raise ValueError("Invalid value for `equip_slots`, must not be `None`") # noqa: E501 + + self._equip_slots = equip_slots + @property def flags(self): """Gets the flags of this InventoryTemplate. # noqa: E501 @@ -455,6 +513,29 @@ def updated_at(self, updated_at): self._updated_at = updated_at + @property + def validate_user_attributes(self): + """Gets the validate_user_attributes of this InventoryTemplate. # noqa: E501 + + + :return: The validate_user_attributes of this InventoryTemplate. # noqa: E501 + :rtype: bool + """ + return self._validate_user_attributes + + @validate_user_attributes.setter + def validate_user_attributes(self, validate_user_attributes): + """Sets the validate_user_attributes of this InventoryTemplate. + + + :param validate_user_attributes: The validate_user_attributes of this InventoryTemplate. # noqa: E501 + :type validate_user_attributes: bool + """ + if self.local_vars_configuration.client_side_validation and validate_user_attributes is None: # noqa: E501 + raise ValueError("Invalid value for `validate_user_attributes`, must not be `None`") # noqa: E501 + + self._validate_user_attributes = validate_user_attributes + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/inventory_user_attributes.py b/vrchatapi/models/inventory_user_attributes.py new file mode 100644 index 00000000..cf0fff79 --- /dev/null +++ b/vrchatapi/models/inventory_user_attributes.py @@ -0,0 +1,183 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class InventoryUserAttributes(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'primary_color': 'str', + 'secondary_color': 'str', + 'trail_color': 'str' + } + + attribute_map = { + 'primary_color': 'primaryColor', + 'secondary_color': 'secondaryColor', + 'trail_color': 'trailColor' + } + + def __init__(self, primary_color=None, secondary_color=None, trail_color=None, local_vars_configuration=None): # noqa: E501 + """InventoryUserAttributes - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._primary_color = None + self._secondary_color = None + self._trail_color = None + self.discriminator = None + + if primary_color is not None: + self.primary_color = primary_color + if secondary_color is not None: + self.secondary_color = secondary_color + if trail_color is not None: + self.trail_color = trail_color + + @property + def primary_color(self): + """Gets the primary_color of this InventoryUserAttributes. # noqa: E501 + + + :return: The primary_color of this InventoryUserAttributes. # noqa: E501 + :rtype: str + """ + return self._primary_color + + @primary_color.setter + def primary_color(self, primary_color): + """Sets the primary_color of this InventoryUserAttributes. + + + :param primary_color: The primary_color of this InventoryUserAttributes. # noqa: E501 + :type primary_color: str + """ + + self._primary_color = primary_color + + @property + def secondary_color(self): + """Gets the secondary_color of this InventoryUserAttributes. # noqa: E501 + + + :return: The secondary_color of this InventoryUserAttributes. # noqa: E501 + :rtype: str + """ + return self._secondary_color + + @secondary_color.setter + def secondary_color(self, secondary_color): + """Sets the secondary_color of this InventoryUserAttributes. + + + :param secondary_color: The secondary_color of this InventoryUserAttributes. # noqa: E501 + :type secondary_color: str + """ + + self._secondary_color = secondary_color + + @property + def trail_color(self): + """Gets the trail_color of this InventoryUserAttributes. # noqa: E501 + + + :return: The trail_color of this InventoryUserAttributes. # noqa: E501 + :rtype: str + """ + return self._trail_color + + @trail_color.setter + def trail_color(self, trail_color): + """Sets the trail_color of this InventoryUserAttributes. + + + :param trail_color: The trail_color of this InventoryUserAttributes. # noqa: E501 + :type trail_color: str + """ + + self._trail_color = trail_color + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InventoryUserAttributes): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, InventoryUserAttributes): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index 8da7c1cd..9e97d2cb 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index 86147e2b..729e5aa8 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -32,11 +32,11 @@ class InviteMessageType(object): allowed enum values """ MESSAGE = "message" - RESPONSE = "response" REQUEST = "request" REQUESTRESPONSE = "requestResponse" + RESPONSE = "response" - allowable_values = [MESSAGE, RESPONSE, REQUEST, REQUESTRESPONSE] # noqa: E501 + allowable_values = [MESSAGE, REQUEST, REQUESTRESPONSE, RESPONSE] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index b67f52a1..ba12e1aa 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index e3ba0177..cc99c187 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/jam.py b/vrchatapi/models/jam.py index 5dc13619..f9b38183 100644 --- a/vrchatapi/models/jam.py +++ b/vrchatapi/models/jam.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/jam_state_change_dates.py b/vrchatapi/models/jam_state_change_dates.py index 4b42c10f..b7554bcd 100644 --- a/vrchatapi/models/jam_state_change_dates.py +++ b/vrchatapi/models/jam_state_change_dates.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/join_group_request.py b/vrchatapi/models/join_group_request.py new file mode 100644 index 00000000..629119ca --- /dev/null +++ b/vrchatapi/models/join_group_request.py @@ -0,0 +1,131 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class JoinGroupRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'invite_id': 'str' + } + + attribute_map = { + 'invite_id': 'inviteId' + } + + def __init__(self, invite_id=None, local_vars_configuration=None): # noqa: E501 + """JoinGroupRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._invite_id = None + self.discriminator = None + + if invite_id is not None: + self.invite_id = invite_id + + @property + def invite_id(self): + """Gets the invite_id of this JoinGroupRequest. # noqa: E501 + + + :return: The invite_id of this JoinGroupRequest. # noqa: E501 + :rtype: str + """ + return self._invite_id + + @invite_id.setter + def invite_id(self, invite_id): + """Sets the invite_id of this JoinGroupRequest. + + + :param invite_id: The invite_id of this JoinGroupRequest. # noqa: E501 + :type invite_id: str + """ + + self._invite_id = invite_id + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, JoinGroupRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, JoinGroupRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index 065631ea..ac1a6345 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,35 +36,58 @@ class License(object): and the value is json key in definition. """ openapi_types = { + 'for_action': 'LicenseAction', 'for_id': 'str', - 'for_type': 'LicenseType', 'for_name': 'str', - 'for_action': 'LicenseAction' + 'for_type': 'LicenseType' } attribute_map = { + 'for_action': 'forAction', 'for_id': 'forId', - 'for_type': 'forType', 'for_name': 'forName', - 'for_action': 'forAction' + 'for_type': 'forType' } - def __init__(self, for_id=None, for_type=None, for_name=None, for_action=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, for_action=None, for_id=None, for_name=None, for_type=None, local_vars_configuration=None): # noqa: E501 """License - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration + self._for_action = None self._for_id = None - self._for_type = None self._for_name = None - self._for_action = None + self._for_type = None self.discriminator = None + self.for_action = for_action self.for_id = for_id - self.for_type = for_type self.for_name = for_name - self.for_action = for_action + self.for_type = for_type + + @property + def for_action(self): + """Gets the for_action of this License. # noqa: E501 + + + :return: The for_action of this License. # noqa: E501 + :rtype: LicenseAction + """ + return self._for_action + + @for_action.setter + def for_action(self, for_action): + """Sets the for_action of this License. + + + :param for_action: The for_action of this License. # noqa: E501 + :type for_action: LicenseAction + """ + if self.local_vars_configuration.client_side_validation and for_action is None: # noqa: E501 + raise ValueError("Invalid value for `for_action`, must not be `None`") # noqa: E501 + + self._for_action = for_action @property def for_id(self): @@ -94,29 +117,6 @@ def for_id(self, for_id): self._for_id = for_id - @property - def for_type(self): - """Gets the for_type of this License. # noqa: E501 - - - :return: The for_type of this License. # noqa: E501 - :rtype: LicenseType - """ - return self._for_type - - @for_type.setter - def for_type(self, for_type): - """Sets the for_type of this License. - - - :param for_type: The for_type of this License. # noqa: E501 - :type for_type: LicenseType - """ - if self.local_vars_configuration.client_side_validation and for_type is None: # noqa: E501 - raise ValueError("Invalid value for `for_type`, must not be `None`") # noqa: E501 - - self._for_type = for_type - @property def for_name(self): """Gets the for_name of this License. # noqa: E501 @@ -144,27 +144,27 @@ def for_name(self, for_name): self._for_name = for_name @property - def for_action(self): - """Gets the for_action of this License. # noqa: E501 + def for_type(self): + """Gets the for_type of this License. # noqa: E501 - :return: The for_action of this License. # noqa: E501 - :rtype: LicenseAction + :return: The for_type of this License. # noqa: E501 + :rtype: LicenseType """ - return self._for_action + return self._for_type - @for_action.setter - def for_action(self, for_action): - """Sets the for_action of this License. + @for_type.setter + def for_type(self, for_type): + """Sets the for_type of this License. - :param for_action: The for_action of this License. # noqa: E501 - :type for_action: LicenseAction + :param for_type: The for_type of this License. # noqa: E501 + :type for_type: LicenseType """ - if self.local_vars_configuration.client_side_validation and for_action is None: # noqa: E501 - raise ValueError("Invalid value for `for_action`, must not be `None`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and for_type is None: # noqa: E501 + raise ValueError("Invalid value for `for_type`, must not be `None`") # noqa: E501 - self._for_action = for_action + self._for_type = for_type def to_dict(self, serialize=False): """Returns the model properties as a dict""" diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index 14c2b5bf..1d1634c0 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -31,10 +31,10 @@ class LicenseAction(object): """ allowed enum values """ - WEAR = "wear" HAVE = "have" + WEAR = "wear" - allowable_values = [WEAR, HAVE] # noqa: E501 + allowable_values = [HAVE, WEAR] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index 2b1726c9..a26a48c7 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,35 +36,58 @@ class LicenseGroup(object): and the value is json key in definition. """ openapi_types = { - 'id': 'str', - 'name': 'str', 'description': 'str', - 'licenses': 'list[License]' + 'id': 'str', + 'licenses': 'list[License]', + 'name': 'str' } attribute_map = { - 'id': 'id', - 'name': 'name', 'description': 'description', - 'licenses': 'licenses' + 'id': 'id', + 'licenses': 'licenses', + 'name': 'name' } - def __init__(self, id=None, name=None, description=None, licenses=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, description=None, id=None, licenses=None, name=None, local_vars_configuration=None): # noqa: E501 """LicenseGroup - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._id = None - self._name = None self._description = None + self._id = None self._licenses = None + self._name = None self.discriminator = None - self.id = id - self.name = name self.description = description + self.id = id self.licenses = licenses + self.name = name + + @property + def description(self): + """Gets the description of this LicenseGroup. # noqa: E501 + + + :return: The description of this LicenseGroup. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this LicenseGroup. + + + :param description: The description of this LicenseGroup. # noqa: E501 + :type description: str + """ + if self.local_vars_configuration.client_side_validation and description is None: # noqa: E501 + raise ValueError("Invalid value for `description`, must not be `None`") # noqa: E501 + + self._description = description @property def id(self): @@ -89,6 +112,29 @@ def id(self, id): self._id = id + @property + def licenses(self): + """Gets the licenses of this LicenseGroup. # noqa: E501 + + + :return: The licenses of this LicenseGroup. # noqa: E501 + :rtype: list[License] + """ + return self._licenses + + @licenses.setter + def licenses(self, licenses): + """Sets the licenses of this LicenseGroup. + + + :param licenses: The licenses of this LicenseGroup. # noqa: E501 + :type licenses: list[License] + """ + if self.local_vars_configuration.client_side_validation and licenses is None: # noqa: E501 + raise ValueError("Invalid value for `licenses`, must not be `None`") # noqa: E501 + + self._licenses = licenses + @property def name(self): """Gets the name of this LicenseGroup. # noqa: E501 @@ -115,52 +161,6 @@ def name(self, name): self._name = name - @property - def description(self): - """Gets the description of this LicenseGroup. # noqa: E501 - - - :return: The description of this LicenseGroup. # noqa: E501 - :rtype: str - """ - return self._description - - @description.setter - def description(self, description): - """Sets the description of this LicenseGroup. - - - :param description: The description of this LicenseGroup. # noqa: E501 - :type description: str - """ - if self.local_vars_configuration.client_side_validation and description is None: # noqa: E501 - raise ValueError("Invalid value for `description`, must not be `None`") # noqa: E501 - - self._description = description - - @property - def licenses(self): - """Gets the licenses of this LicenseGroup. # noqa: E501 - - - :return: The licenses of this LicenseGroup. # noqa: E501 - :rtype: list[License] - """ - return self._licenses - - @licenses.setter - def licenses(self, licenses): - """Sets the licenses of this LicenseGroup. - - - :param licenses: The licenses of this LicenseGroup. # noqa: E501 - :type licenses: list[License] - """ - if self.local_vars_configuration.client_side_validation and licenses is None: # noqa: E501 - raise ValueError("Invalid value for `licenses`, must not be `None`") # noqa: E501 - - self._licenses = licenses - def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index 768fa0d1..d4a129f4 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_group.py b/vrchatapi/models/limited_group.py index 53bbe2c2..936019d4 100644 --- a/vrchatapi/models/limited_group.py +++ b/vrchatapi/models/limited_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,183 +36,162 @@ class LimitedGroup(object): and the value is json key in definition. """ openapi_types = { - 'id': 'str', - 'name': 'str', - 'short_code': 'str', - 'discriminator': 'str', - 'description': 'str', - 'icon_url': 'str', + 'banner_id': 'str', 'banner_url': 'str', - 'owner_id': 'str', - 'rules': 'str', + 'created_at': 'datetime', + 'description': 'str', + 'discriminator': 'str', + 'galleries': 'list[GroupGallery]', 'icon_id': 'str', - 'banner_id': 'str', + 'icon_url': 'str', + 'id': 'str', + 'is_searchable': 'bool', 'member_count': 'int', - 'tags': 'list[str]', - 'created_at': 'datetime', 'membership_status': 'GroupMemberStatus', - 'is_searchable': 'bool', - 'galleries': 'list[GroupGallery]' + 'name': 'str', + 'owner_id': 'str', + 'rules': 'str', + 'short_code': 'str', + 'tags': 'list[str]' } attribute_map = { - 'id': 'id', - 'name': 'name', - 'short_code': 'shortCode', - 'discriminator': 'discriminator', - 'description': 'description', - 'icon_url': 'iconUrl', + 'banner_id': 'bannerId', 'banner_url': 'bannerUrl', - 'owner_id': 'ownerId', - 'rules': 'rules', + 'created_at': 'createdAt', + 'description': 'description', + 'discriminator': 'discriminator', + 'galleries': 'galleries', 'icon_id': 'iconId', - 'banner_id': 'bannerId', + 'icon_url': 'iconUrl', + 'id': 'id', + 'is_searchable': 'isSearchable', 'member_count': 'memberCount', - 'tags': 'tags', - 'created_at': 'createdAt', 'membership_status': 'membershipStatus', - 'is_searchable': 'isSearchable', - 'galleries': 'galleries' + 'name': 'name', + 'owner_id': 'ownerId', + 'rules': 'rules', + 'short_code': 'shortCode', + 'tags': 'tags' } - def __init__(self, id=None, name=None, short_code=None, discriminator=None, description=None, icon_url=None, banner_url=None, owner_id=None, rules=None, icon_id=None, banner_id=None, member_count=None, tags=None, created_at=None, membership_status=None, is_searchable=None, galleries=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, banner_id=None, banner_url=None, created_at=None, description=None, discriminator=None, galleries=None, icon_id=None, icon_url=None, id=None, is_searchable=None, member_count=None, membership_status=None, name=None, owner_id=None, rules=None, short_code=None, tags=None, local_vars_configuration=None): # noqa: E501 """LimitedGroup - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._id = None - self._name = None - self._short_code = None - self._discriminator = None + self._banner_id = None + self._banner_url = None + self._created_at = None self._description = None + self._discriminator = None + self._galleries = None + self._icon_id = None self._icon_url = None - self._banner_url = None + self._id = None + self._is_searchable = None + self._member_count = None + self._membership_status = None + self._name = None self._owner_id = None self._rules = None - self._icon_id = None - self._banner_id = None - self._member_count = None + self._short_code = None self._tags = None - self._created_at = None - self._membership_status = None - self._is_searchable = None - self._galleries = None self.discriminator = None + self.banner_id = banner_id + self.banner_url = banner_url + if created_at is not None: + self.created_at = created_at + if description is not None: + self.description = description + if discriminator is not None: + self.discriminator = discriminator + if galleries is not None: + self.galleries = galleries + self.icon_id = icon_id + self.icon_url = icon_url if id is not None: self.id = id + if is_searchable is not None: + self.is_searchable = is_searchable + if member_count is not None: + self.member_count = member_count + if membership_status is not None: + self.membership_status = membership_status if name is not None: self.name = name - if short_code is not None: - self.short_code = short_code - if discriminator is not None: - self.discriminator = discriminator - if description is not None: - self.description = description - self.icon_url = icon_url - self.banner_url = banner_url if owner_id is not None: self.owner_id = owner_id self.rules = rules - self.icon_id = icon_id - self.banner_id = banner_id - if member_count is not None: - self.member_count = member_count + if short_code is not None: + self.short_code = short_code if tags is not None: self.tags = tags - if created_at is not None: - self.created_at = created_at - if membership_status is not None: - self.membership_status = membership_status - if is_searchable is not None: - self.is_searchable = is_searchable - if galleries is not None: - self.galleries = galleries @property - def id(self): - """Gets the id of this LimitedGroup. # noqa: E501 - - - :return: The id of this LimitedGroup. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this LimitedGroup. - - - :param id: The id of this LimitedGroup. # noqa: E501 - :type id: str - """ - - self._id = id - - @property - def name(self): - """Gets the name of this LimitedGroup. # noqa: E501 + def banner_id(self): + """Gets the banner_id of this LimitedGroup. # noqa: E501 - :return: The name of this LimitedGroup. # noqa: E501 + :return: The banner_id of this LimitedGroup. # noqa: E501 :rtype: str """ - return self._name + return self._banner_id - @name.setter - def name(self, name): - """Sets the name of this LimitedGroup. + @banner_id.setter + def banner_id(self, banner_id): + """Sets the banner_id of this LimitedGroup. - :param name: The name of this LimitedGroup. # noqa: E501 - :type name: str + :param banner_id: The banner_id of this LimitedGroup. # noqa: E501 + :type banner_id: str """ - self._name = name + self._banner_id = banner_id @property - def short_code(self): - """Gets the short_code of this LimitedGroup. # noqa: E501 + def banner_url(self): + """Gets the banner_url of this LimitedGroup. # noqa: E501 - :return: The short_code of this LimitedGroup. # noqa: E501 + :return: The banner_url of this LimitedGroup. # noqa: E501 :rtype: str """ - return self._short_code + return self._banner_url - @short_code.setter - def short_code(self, short_code): - """Sets the short_code of this LimitedGroup. + @banner_url.setter + def banner_url(self, banner_url): + """Sets the banner_url of this LimitedGroup. - :param short_code: The short_code of this LimitedGroup. # noqa: E501 - :type short_code: str + :param banner_url: The banner_url of this LimitedGroup. # noqa: E501 + :type banner_url: str """ - self._short_code = short_code + self._banner_url = banner_url @property - def discriminator(self): - """Gets the discriminator of this LimitedGroup. # noqa: E501 + def created_at(self): + """Gets the created_at of this LimitedGroup. # noqa: E501 - :return: The discriminator of this LimitedGroup. # noqa: E501 - :rtype: str + :return: The created_at of this LimitedGroup. # noqa: E501 + :rtype: datetime """ - return self._discriminator + return self._created_at - @discriminator.setter - def discriminator(self, discriminator): - """Sets the discriminator of this LimitedGroup. + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this LimitedGroup. - :param discriminator: The discriminator of this LimitedGroup. # noqa: E501 - :type discriminator: str + :param created_at: The created_at of this LimitedGroup. # noqa: E501 + :type created_at: datetime """ - self._discriminator = discriminator + self._created_at = created_at @property def description(self): @@ -236,132 +215,132 @@ def description(self, description): self._description = description @property - def icon_url(self): - """Gets the icon_url of this LimitedGroup. # noqa: E501 + def discriminator(self): + """Gets the discriminator of this LimitedGroup. # noqa: E501 - :return: The icon_url of this LimitedGroup. # noqa: E501 + :return: The discriminator of this LimitedGroup. # noqa: E501 :rtype: str """ - return self._icon_url + return self._discriminator - @icon_url.setter - def icon_url(self, icon_url): - """Sets the icon_url of this LimitedGroup. + @discriminator.setter + def discriminator(self, discriminator): + """Sets the discriminator of this LimitedGroup. - :param icon_url: The icon_url of this LimitedGroup. # noqa: E501 - :type icon_url: str + :param discriminator: The discriminator of this LimitedGroup. # noqa: E501 + :type discriminator: str """ - self._icon_url = icon_url + self._discriminator = discriminator @property - def banner_url(self): - """Gets the banner_url of this LimitedGroup. # noqa: E501 + def galleries(self): + """Gets the galleries of this LimitedGroup. # noqa: E501 + # noqa: E501 - :return: The banner_url of this LimitedGroup. # noqa: E501 - :rtype: str + :return: The galleries of this LimitedGroup. # noqa: E501 + :rtype: list[GroupGallery] """ - return self._banner_url + return self._galleries - @banner_url.setter - def banner_url(self, banner_url): - """Sets the banner_url of this LimitedGroup. + @galleries.setter + def galleries(self, galleries): + """Sets the galleries of this LimitedGroup. + # noqa: E501 - :param banner_url: The banner_url of this LimitedGroup. # noqa: E501 - :type banner_url: str + :param galleries: The galleries of this LimitedGroup. # noqa: E501 + :type galleries: list[GroupGallery] """ - self._banner_url = banner_url + self._galleries = galleries @property - def owner_id(self): - """Gets the owner_id of this LimitedGroup. # noqa: E501 + def icon_id(self): + """Gets the icon_id of this LimitedGroup. # noqa: E501 - A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :return: The owner_id of this LimitedGroup. # noqa: E501 + :return: The icon_id of this LimitedGroup. # noqa: E501 :rtype: str """ - return self._owner_id + return self._icon_id - @owner_id.setter - def owner_id(self, owner_id): - """Sets the owner_id of this LimitedGroup. + @icon_id.setter + def icon_id(self, icon_id): + """Sets the icon_id of this LimitedGroup. - A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :param owner_id: The owner_id of this LimitedGroup. # noqa: E501 - :type owner_id: str + :param icon_id: The icon_id of this LimitedGroup. # noqa: E501 + :type icon_id: str """ - self._owner_id = owner_id + self._icon_id = icon_id @property - def rules(self): - """Gets the rules of this LimitedGroup. # noqa: E501 + def icon_url(self): + """Gets the icon_url of this LimitedGroup. # noqa: E501 - :return: The rules of this LimitedGroup. # noqa: E501 + :return: The icon_url of this LimitedGroup. # noqa: E501 :rtype: str """ - return self._rules + return self._icon_url - @rules.setter - def rules(self, rules): - """Sets the rules of this LimitedGroup. + @icon_url.setter + def icon_url(self, icon_url): + """Sets the icon_url of this LimitedGroup. - :param rules: The rules of this LimitedGroup. # noqa: E501 - :type rules: str + :param icon_url: The icon_url of this LimitedGroup. # noqa: E501 + :type icon_url: str """ - self._rules = rules + self._icon_url = icon_url @property - def icon_id(self): - """Gets the icon_id of this LimitedGroup. # noqa: E501 + def id(self): + """Gets the id of this LimitedGroup. # noqa: E501 - :return: The icon_id of this LimitedGroup. # noqa: E501 + :return: The id of this LimitedGroup. # noqa: E501 :rtype: str """ - return self._icon_id + return self._id - @icon_id.setter - def icon_id(self, icon_id): - """Sets the icon_id of this LimitedGroup. + @id.setter + def id(self, id): + """Sets the id of this LimitedGroup. - :param icon_id: The icon_id of this LimitedGroup. # noqa: E501 - :type icon_id: str + :param id: The id of this LimitedGroup. # noqa: E501 + :type id: str """ - self._icon_id = icon_id + self._id = id @property - def banner_id(self): - """Gets the banner_id of this LimitedGroup. # noqa: E501 + def is_searchable(self): + """Gets the is_searchable of this LimitedGroup. # noqa: E501 - :return: The banner_id of this LimitedGroup. # noqa: E501 - :rtype: str + :return: The is_searchable of this LimitedGroup. # noqa: E501 + :rtype: bool """ - return self._banner_id + return self._is_searchable - @banner_id.setter - def banner_id(self, banner_id): - """Sets the banner_id of this LimitedGroup. + @is_searchable.setter + def is_searchable(self, is_searchable): + """Sets the is_searchable of this LimitedGroup. - :param banner_id: The banner_id of this LimitedGroup. # noqa: E501 - :type banner_id: str + :param is_searchable: The is_searchable of this LimitedGroup. # noqa: E501 + :type is_searchable: bool """ - self._banner_id = banner_id + self._is_searchable = is_searchable @property def member_count(self): @@ -385,113 +364,134 @@ def member_count(self, member_count): self._member_count = member_count @property - def tags(self): - """Gets the tags of this LimitedGroup. # noqa: E501 + def membership_status(self): + """Gets the membership_status of this LimitedGroup. # noqa: E501 - # noqa: E501 - :return: The tags of this LimitedGroup. # noqa: E501 - :rtype: list[str] + :return: The membership_status of this LimitedGroup. # noqa: E501 + :rtype: GroupMemberStatus """ - return self._tags + return self._membership_status - @tags.setter - def tags(self, tags): - """Sets the tags of this LimitedGroup. + @membership_status.setter + def membership_status(self, membership_status): + """Sets the membership_status of this LimitedGroup. - # noqa: E501 - :param tags: The tags of this LimitedGroup. # noqa: E501 - :type tags: list[str] + :param membership_status: The membership_status of this LimitedGroup. # noqa: E501 + :type membership_status: GroupMemberStatus """ - self._tags = tags + self._membership_status = membership_status @property - def created_at(self): - """Gets the created_at of this LimitedGroup. # noqa: E501 + def name(self): + """Gets the name of this LimitedGroup. # noqa: E501 - :return: The created_at of this LimitedGroup. # noqa: E501 - :rtype: datetime + :return: The name of this LimitedGroup. # noqa: E501 + :rtype: str """ - return self._created_at + return self._name - @created_at.setter - def created_at(self, created_at): - """Sets the created_at of this LimitedGroup. + @name.setter + def name(self, name): + """Sets the name of this LimitedGroup. - :param created_at: The created_at of this LimitedGroup. # noqa: E501 - :type created_at: datetime + :param name: The name of this LimitedGroup. # noqa: E501 + :type name: str """ - self._created_at = created_at + self._name = name @property - def membership_status(self): - """Gets the membership_status of this LimitedGroup. # noqa: E501 + def owner_id(self): + """Gets the owner_id of this LimitedGroup. # noqa: E501 + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :return: The membership_status of this LimitedGroup. # noqa: E501 - :rtype: GroupMemberStatus + :return: The owner_id of this LimitedGroup. # noqa: E501 + :rtype: str """ - return self._membership_status + return self._owner_id - @membership_status.setter - def membership_status(self, membership_status): - """Sets the membership_status of this LimitedGroup. + @owner_id.setter + def owner_id(self, owner_id): + """Sets the owner_id of this LimitedGroup. + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :param membership_status: The membership_status of this LimitedGroup. # noqa: E501 - :type membership_status: GroupMemberStatus + :param owner_id: The owner_id of this LimitedGroup. # noqa: E501 + :type owner_id: str """ - self._membership_status = membership_status + self._owner_id = owner_id @property - def is_searchable(self): - """Gets the is_searchable of this LimitedGroup. # noqa: E501 + def rules(self): + """Gets the rules of this LimitedGroup. # noqa: E501 - :return: The is_searchable of this LimitedGroup. # noqa: E501 - :rtype: bool + :return: The rules of this LimitedGroup. # noqa: E501 + :rtype: str """ - return self._is_searchable + return self._rules - @is_searchable.setter - def is_searchable(self, is_searchable): - """Sets the is_searchable of this LimitedGroup. + @rules.setter + def rules(self, rules): + """Sets the rules of this LimitedGroup. - :param is_searchable: The is_searchable of this LimitedGroup. # noqa: E501 - :type is_searchable: bool + :param rules: The rules of this LimitedGroup. # noqa: E501 + :type rules: str """ - self._is_searchable = is_searchable + self._rules = rules @property - def galleries(self): - """Gets the galleries of this LimitedGroup. # noqa: E501 + def short_code(self): + """Gets the short_code of this LimitedGroup. # noqa: E501 + + + :return: The short_code of this LimitedGroup. # noqa: E501 + :rtype: str + """ + return self._short_code + + @short_code.setter + def short_code(self, short_code): + """Sets the short_code of this LimitedGroup. + + + :param short_code: The short_code of this LimitedGroup. # noqa: E501 + :type short_code: str + """ + + self._short_code = short_code + + @property + def tags(self): + """Gets the tags of this LimitedGroup. # noqa: E501 # noqa: E501 - :return: The galleries of this LimitedGroup. # noqa: E501 - :rtype: list[GroupGallery] + :return: The tags of this LimitedGroup. # noqa: E501 + :rtype: list[str] """ - return self._galleries + return self._tags - @galleries.setter - def galleries(self, galleries): - """Sets the galleries of this LimitedGroup. + @tags.setter + def tags(self, tags): + """Sets the tags of this LimitedGroup. # noqa: E501 - :param galleries: The galleries of this LimitedGroup. # noqa: E501 - :type galleries: list[GroupGallery] + :param tags: The tags of this LimitedGroup. # noqa: E501 + :type tags: list[str] """ - self._galleries = galleries + self._tags = tags def to_dict(self, serialize=False): """Returns the model properties as a dict""" diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index 644f2d9e..0e71d09f 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -87,7 +87,7 @@ def created_at(self, created_at): def platform(self): """Gets the platform of this LimitedUnityPackage. # noqa: E501 - This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 :return: The platform of this LimitedUnityPackage. # noqa: E501 :rtype: str @@ -98,7 +98,7 @@ def platform(self): def platform(self, platform): """Sets the platform of this LimitedUnityPackage. - This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 :param platform: The platform of this LimitedUnityPackage. # noqa: E501 :type platform: str diff --git a/vrchatapi/models/limited_user_friend.py b/vrchatapi/models/limited_user_friend.py index af16d491..257f691f 100644 --- a/vrchatapi/models/limited_user_friend.py +++ b/vrchatapi/models/limited_user_friend.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -39,19 +39,19 @@ class LimitedUserFriend(object): 'bio': 'str', 'bio_links': 'list[str]', 'current_avatar_image_url': 'str', - 'current_avatar_thumbnail_image_url': 'str', 'current_avatar_tags': 'list[str]', + 'current_avatar_thumbnail_image_url': 'str', 'developer_type': 'DeveloperType', 'display_name': 'str', 'friend_key': 'str', 'id': 'str', - 'is_friend': 'bool', 'image_url': 'str', - 'last_platform': 'str', - 'location': 'str', - 'last_login': 'datetime', + 'is_friend': 'bool', 'last_activity': 'datetime', + 'last_login': 'datetime', 'last_mobile': 'datetime', + 'last_platform': 'str', + 'location': 'str', 'platform': 'str', 'profile_pic_override': 'str', 'profile_pic_override_thumbnail': 'str', @@ -65,19 +65,19 @@ class LimitedUserFriend(object): 'bio': 'bio', 'bio_links': 'bioLinks', 'current_avatar_image_url': 'currentAvatarImageUrl', - 'current_avatar_thumbnail_image_url': 'currentAvatarThumbnailImageUrl', 'current_avatar_tags': 'currentAvatarTags', + 'current_avatar_thumbnail_image_url': 'currentAvatarThumbnailImageUrl', 'developer_type': 'developerType', 'display_name': 'displayName', 'friend_key': 'friendKey', 'id': 'id', - 'is_friend': 'isFriend', 'image_url': 'imageUrl', - 'last_platform': 'last_platform', - 'location': 'location', - 'last_login': 'last_login', + 'is_friend': 'isFriend', 'last_activity': 'last_activity', + 'last_login': 'last_login', 'last_mobile': 'last_mobile', + 'last_platform': 'last_platform', + 'location': 'location', 'platform': 'platform', 'profile_pic_override': 'profilePicOverride', 'profile_pic_override_thumbnail': 'profilePicOverrideThumbnail', @@ -87,7 +87,7 @@ class LimitedUserFriend(object): 'user_icon': 'userIcon' } - def __init__(self, bio=None, bio_links=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, developer_type=None, display_name=None, friend_key=None, id=None, is_friend=None, image_url=None, last_platform=None, location=None, last_login=None, last_activity=None, last_mobile=None, platform=None, profile_pic_override=None, profile_pic_override_thumbnail=None, status=None, status_description=None, tags=None, user_icon=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, bio=None, bio_links=None, current_avatar_image_url=None, current_avatar_tags=None, current_avatar_thumbnail_image_url=None, developer_type=None, display_name=None, friend_key=None, id=None, image_url=None, is_friend=None, last_activity=None, last_login=None, last_mobile=None, last_platform=None, location=None, platform=None, profile_pic_override=None, profile_pic_override_thumbnail=None, status=None, status_description=None, tags=None, user_icon=None, local_vars_configuration=None): # noqa: E501 """LimitedUserFriend - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -96,19 +96,19 @@ def __init__(self, bio=None, bio_links=None, current_avatar_image_url=None, curr self._bio = None self._bio_links = None self._current_avatar_image_url = None - self._current_avatar_thumbnail_image_url = None self._current_avatar_tags = None + self._current_avatar_thumbnail_image_url = None self._developer_type = None self._display_name = None self._friend_key = None self._id = None - self._is_friend = None self._image_url = None - self._last_platform = None - self._location = None - self._last_login = None + self._is_friend = None self._last_activity = None + self._last_login = None self._last_mobile = None + self._last_platform = None + self._location = None self._platform = None self._profile_pic_override = None self._profile_pic_override_thumbnail = None @@ -124,21 +124,21 @@ def __init__(self, bio=None, bio_links=None, current_avatar_image_url=None, curr self.bio_links = bio_links if current_avatar_image_url is not None: self.current_avatar_image_url = current_avatar_image_url - if current_avatar_thumbnail_image_url is not None: - self.current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url if current_avatar_tags is not None: self.current_avatar_tags = current_avatar_tags + if current_avatar_thumbnail_image_url is not None: + self.current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url self.developer_type = developer_type self.display_name = display_name self.friend_key = friend_key self.id = id - self.is_friend = is_friend self.image_url = image_url - self.last_platform = last_platform - self.location = location - self.last_login = last_login + self.is_friend = is_friend self.last_activity = last_activity + self.last_login = last_login self.last_mobile = last_mobile + self.last_platform = last_platform + self.location = location self.platform = platform if profile_pic_override is not None: self.profile_pic_override = profile_pic_override @@ -217,6 +217,27 @@ def current_avatar_image_url(self, current_avatar_image_url): self._current_avatar_image_url = current_avatar_image_url + @property + def current_avatar_tags(self): + """Gets the current_avatar_tags of this LimitedUserFriend. # noqa: E501 + + + :return: The current_avatar_tags of this LimitedUserFriend. # noqa: E501 + :rtype: list[str] + """ + return self._current_avatar_tags + + @current_avatar_tags.setter + def current_avatar_tags(self, current_avatar_tags): + """Sets the current_avatar_tags of this LimitedUserFriend. + + + :param current_avatar_tags: The current_avatar_tags of this LimitedUserFriend. # noqa: E501 + :type current_avatar_tags: list[str] + """ + + self._current_avatar_tags = current_avatar_tags + @property def current_avatar_thumbnail_image_url(self): """Gets the current_avatar_thumbnail_image_url of this LimitedUserFriend. # noqa: E501 @@ -240,27 +261,6 @@ def current_avatar_thumbnail_image_url(self, current_avatar_thumbnail_image_url) self._current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url - @property - def current_avatar_tags(self): - """Gets the current_avatar_tags of this LimitedUserFriend. # noqa: E501 - - - :return: The current_avatar_tags of this LimitedUserFriend. # noqa: E501 - :rtype: list[str] - """ - return self._current_avatar_tags - - @current_avatar_tags.setter - def current_avatar_tags(self, current_avatar_tags): - """Sets the current_avatar_tags of this LimitedUserFriend. - - - :param current_avatar_tags: The current_avatar_tags of this LimitedUserFriend. # noqa: E501 - :type current_avatar_tags: list[str] - """ - - self._current_avatar_tags = current_avatar_tags - @property def developer_type(self): """Gets the developer_type of this LimitedUserFriend. # noqa: E501 @@ -355,29 +355,6 @@ def id(self, id): self._id = id - @property - def is_friend(self): - """Gets the is_friend of this LimitedUserFriend. # noqa: E501 - - - :return: The is_friend of this LimitedUserFriend. # noqa: E501 - :rtype: bool - """ - return self._is_friend - - @is_friend.setter - def is_friend(self, is_friend): - """Sets the is_friend of this LimitedUserFriend. - - - :param is_friend: The is_friend of this LimitedUserFriend. # noqa: E501 - :type is_friend: bool - """ - if self.local_vars_configuration.client_side_validation and is_friend is None: # noqa: E501 - raise ValueError("Invalid value for `is_friend`, must not be `None`") # noqa: E501 - - self._is_friend = is_friend - @property def image_url(self): """Gets the image_url of this LimitedUserFriend. # noqa: E501 @@ -402,52 +379,48 @@ def image_url(self, image_url): self._image_url = image_url @property - def last_platform(self): - """Gets the last_platform of this LimitedUserFriend. # noqa: E501 + def is_friend(self): + """Gets the is_friend of this LimitedUserFriend. # noqa: E501 - This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 - :return: The last_platform of this LimitedUserFriend. # noqa: E501 - :rtype: str + :return: The is_friend of this LimitedUserFriend. # noqa: E501 + :rtype: bool """ - return self._last_platform + return self._is_friend - @last_platform.setter - def last_platform(self, last_platform): - """Sets the last_platform of this LimitedUserFriend. + @is_friend.setter + def is_friend(self, is_friend): + """Sets the is_friend of this LimitedUserFriend. - This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 - :param last_platform: The last_platform of this LimitedUserFriend. # noqa: E501 - :type last_platform: str + :param is_friend: The is_friend of this LimitedUserFriend. # noqa: E501 + :type is_friend: bool """ - if self.local_vars_configuration.client_side_validation and last_platform is None: # noqa: E501 - raise ValueError("Invalid value for `last_platform`, must not be `None`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and is_friend is None: # noqa: E501 + raise ValueError("Invalid value for `is_friend`, must not be `None`") # noqa: E501 - self._last_platform = last_platform + self._is_friend = is_friend @property - def location(self): - """Gets the location of this LimitedUserFriend. # noqa: E501 + def last_activity(self): + """Gets the last_activity of this LimitedUserFriend. # noqa: E501 - :return: The location of this LimitedUserFriend. # noqa: E501 - :rtype: str + :return: The last_activity of this LimitedUserFriend. # noqa: E501 + :rtype: datetime """ - return self._location + return self._last_activity - @location.setter - def location(self, location): - """Sets the location of this LimitedUserFriend. + @last_activity.setter + def last_activity(self, last_activity): + """Sets the last_activity of this LimitedUserFriend. - :param location: The location of this LimitedUserFriend. # noqa: E501 - :type location: str + :param last_activity: The last_activity of this LimitedUserFriend. # noqa: E501 + :type last_activity: datetime """ - if self.local_vars_configuration.client_side_validation and location is None: # noqa: E501 - raise ValueError("Invalid value for `location`, must not be `None`") # noqa: E501 - self._location = location + self._last_activity = last_activity @property def last_login(self): @@ -470,27 +443,6 @@ def last_login(self, last_login): self._last_login = last_login - @property - def last_activity(self): - """Gets the last_activity of this LimitedUserFriend. # noqa: E501 - - - :return: The last_activity of this LimitedUserFriend. # noqa: E501 - :rtype: datetime - """ - return self._last_activity - - @last_activity.setter - def last_activity(self, last_activity): - """Sets the last_activity of this LimitedUserFriend. - - - :param last_activity: The last_activity of this LimitedUserFriend. # noqa: E501 - :type last_activity: datetime - """ - - self._last_activity = last_activity - @property def last_mobile(self): """Gets the last_mobile of this LimitedUserFriend. # noqa: E501 @@ -512,6 +464,54 @@ def last_mobile(self, last_mobile): self._last_mobile = last_mobile + @property + def last_platform(self): + """Gets the last_platform of this LimitedUserFriend. # noqa: E501 + + This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + + :return: The last_platform of this LimitedUserFriend. # noqa: E501 + :rtype: str + """ + return self._last_platform + + @last_platform.setter + def last_platform(self, last_platform): + """Sets the last_platform of this LimitedUserFriend. + + This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + + :param last_platform: The last_platform of this LimitedUserFriend. # noqa: E501 + :type last_platform: str + """ + if self.local_vars_configuration.client_side_validation and last_platform is None: # noqa: E501 + raise ValueError("Invalid value for `last_platform`, must not be `None`") # noqa: E501 + + self._last_platform = last_platform + + @property + def location(self): + """Gets the location of this LimitedUserFriend. # noqa: E501 + + + :return: The location of this LimitedUserFriend. # noqa: E501 + :rtype: str + """ + return self._location + + @location.setter + def location(self, location): + """Sets the location of this LimitedUserFriend. + + + :param location: The location of this LimitedUserFriend. # noqa: E501 + :type location: str + """ + if self.local_vars_configuration.client_side_validation and location is None: # noqa: E501 + raise ValueError("Invalid value for `location`, must not be `None`") # noqa: E501 + + self._location = location + @property def platform(self): """Gets the platform of this LimitedUserFriend. # noqa: E501 diff --git a/vrchatapi/models/limited_user_groups.py b/vrchatapi/models/limited_user_groups.py index d91696de..fc800bd3 100644 --- a/vrchatapi/models/limited_user_groups.py +++ b/vrchatapi/models/limited_user_groups.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,166 +36,166 @@ class LimitedUserGroups(object): and the value is json key in definition. """ openapi_types = { - 'id': 'str', - 'name': 'str', - 'short_code': 'str', - 'discriminator': 'str', + 'banner_id': 'str', + 'banner_url': 'str', 'description': 'str', + 'discriminator': 'str', + 'group_id': 'str', 'icon_id': 'str', 'icon_url': 'str', - 'banner_id': 'str', - 'banner_url': 'str', - 'privacy': 'str', + 'id': 'str', + 'is_representing': 'bool', 'last_post_created_at': 'datetime', - 'owner_id': 'str', + 'last_post_read_at': 'datetime', 'member_count': 'int', - 'group_id': 'str', 'member_visibility': 'str', - 'is_representing': 'bool', 'mutual_group': 'bool', - 'last_post_read_at': 'datetime' + 'name': 'str', + 'owner_id': 'str', + 'privacy': 'str', + 'short_code': 'str' } attribute_map = { - 'id': 'id', - 'name': 'name', - 'short_code': 'shortCode', - 'discriminator': 'discriminator', + 'banner_id': 'bannerId', + 'banner_url': 'bannerUrl', 'description': 'description', + 'discriminator': 'discriminator', + 'group_id': 'groupId', 'icon_id': 'iconId', 'icon_url': 'iconUrl', - 'banner_id': 'bannerId', - 'banner_url': 'bannerUrl', - 'privacy': 'privacy', + 'id': 'id', + 'is_representing': 'isRepresenting', 'last_post_created_at': 'lastPostCreatedAt', - 'owner_id': 'ownerId', + 'last_post_read_at': 'lastPostReadAt', 'member_count': 'memberCount', - 'group_id': 'groupId', 'member_visibility': 'memberVisibility', - 'is_representing': 'isRepresenting', 'mutual_group': 'mutualGroup', - 'last_post_read_at': 'lastPostReadAt' + 'name': 'name', + 'owner_id': 'ownerId', + 'privacy': 'privacy', + 'short_code': 'shortCode' } - def __init__(self, id=None, name=None, short_code=None, discriminator=None, description=None, icon_id=None, icon_url=None, banner_id=None, banner_url=None, privacy=None, last_post_created_at=None, owner_id=None, member_count=None, group_id=None, member_visibility=None, is_representing=None, mutual_group=None, last_post_read_at=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, banner_id=None, banner_url=None, description=None, discriminator=None, group_id=None, icon_id=None, icon_url=None, id=None, is_representing=None, last_post_created_at=None, last_post_read_at=None, member_count=None, member_visibility=None, mutual_group=None, name=None, owner_id=None, privacy=None, short_code=None, local_vars_configuration=None): # noqa: E501 """LimitedUserGroups - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._id = None - self._name = None - self._short_code = None - self._discriminator = None + self._banner_id = None + self._banner_url = None self._description = None + self._discriminator = None + self._group_id = None self._icon_id = None self._icon_url = None - self._banner_id = None - self._banner_url = None - self._privacy = None + self._id = None + self._is_representing = None self._last_post_created_at = None - self._owner_id = None + self._last_post_read_at = None self._member_count = None - self._group_id = None self._member_visibility = None - self._is_representing = None self._mutual_group = None - self._last_post_read_at = None + self._name = None + self._owner_id = None + self._privacy = None + self._short_code = None self.discriminator = None - if id is not None: - self.id = id - if name is not None: - self.name = name - if short_code is not None: - self.short_code = short_code - if discriminator is not None: - self.discriminator = discriminator + self.banner_id = banner_id + self.banner_url = banner_url if description is not None: self.description = description + if discriminator is not None: + self.discriminator = discriminator + if group_id is not None: + self.group_id = group_id self.icon_id = icon_id self.icon_url = icon_url - self.banner_id = banner_id - self.banner_url = banner_url - if privacy is not None: - self.privacy = privacy + if id is not None: + self.id = id + if is_representing is not None: + self.is_representing = is_representing self.last_post_created_at = last_post_created_at - if owner_id is not None: - self.owner_id = owner_id + self.last_post_read_at = last_post_read_at if member_count is not None: self.member_count = member_count - if group_id is not None: - self.group_id = group_id if member_visibility is not None: self.member_visibility = member_visibility - if is_representing is not None: - self.is_representing = is_representing if mutual_group is not None: self.mutual_group = mutual_group - self.last_post_read_at = last_post_read_at + if name is not None: + self.name = name + if owner_id is not None: + self.owner_id = owner_id + if privacy is not None: + self.privacy = privacy + if short_code is not None: + self.short_code = short_code @property - def id(self): - """Gets the id of this LimitedUserGroups. # noqa: E501 + def banner_id(self): + """Gets the banner_id of this LimitedUserGroups. # noqa: E501 - :return: The id of this LimitedUserGroups. # noqa: E501 + :return: The banner_id of this LimitedUserGroups. # noqa: E501 :rtype: str """ - return self._id + return self._banner_id - @id.setter - def id(self, id): - """Sets the id of this LimitedUserGroups. + @banner_id.setter + def banner_id(self, banner_id): + """Sets the banner_id of this LimitedUserGroups. - :param id: The id of this LimitedUserGroups. # noqa: E501 - :type id: str + :param banner_id: The banner_id of this LimitedUserGroups. # noqa: E501 + :type banner_id: str """ - self._id = id + self._banner_id = banner_id @property - def name(self): - """Gets the name of this LimitedUserGroups. # noqa: E501 + def banner_url(self): + """Gets the banner_url of this LimitedUserGroups. # noqa: E501 - :return: The name of this LimitedUserGroups. # noqa: E501 + :return: The banner_url of this LimitedUserGroups. # noqa: E501 :rtype: str """ - return self._name + return self._banner_url - @name.setter - def name(self, name): - """Sets the name of this LimitedUserGroups. + @banner_url.setter + def banner_url(self, banner_url): + """Sets the banner_url of this LimitedUserGroups. - :param name: The name of this LimitedUserGroups. # noqa: E501 - :type name: str + :param banner_url: The banner_url of this LimitedUserGroups. # noqa: E501 + :type banner_url: str """ - self._name = name + self._banner_url = banner_url @property - def short_code(self): - """Gets the short_code of this LimitedUserGroups. # noqa: E501 + def description(self): + """Gets the description of this LimitedUserGroups. # noqa: E501 - :return: The short_code of this LimitedUserGroups. # noqa: E501 + :return: The description of this LimitedUserGroups. # noqa: E501 :rtype: str """ - return self._short_code + return self._description - @short_code.setter - def short_code(self, short_code): - """Sets the short_code of this LimitedUserGroups. + @description.setter + def description(self, description): + """Sets the description of this LimitedUserGroups. - :param short_code: The short_code of this LimitedUserGroups. # noqa: E501 - :type short_code: str + :param description: The description of this LimitedUserGroups. # noqa: E501 + :type description: str """ - self._short_code = short_code + self._description = description @property def discriminator(self): @@ -219,25 +219,25 @@ def discriminator(self, discriminator): self._discriminator = discriminator @property - def description(self): - """Gets the description of this LimitedUserGroups. # noqa: E501 + def group_id(self): + """Gets the group_id of this LimitedUserGroups. # noqa: E501 - :return: The description of this LimitedUserGroups. # noqa: E501 + :return: The group_id of this LimitedUserGroups. # noqa: E501 :rtype: str """ - return self._description + return self._group_id - @description.setter - def description(self, description): - """Sets the description of this LimitedUserGroups. + @group_id.setter + def group_id(self, group_id): + """Sets the group_id of this LimitedUserGroups. - :param description: The description of this LimitedUserGroups. # noqa: E501 - :type description: str + :param group_id: The group_id of this LimitedUserGroups. # noqa: E501 + :type group_id: str """ - self._description = description + self._group_id = group_id @property def icon_id(self): @@ -282,67 +282,46 @@ def icon_url(self, icon_url): self._icon_url = icon_url @property - def banner_id(self): - """Gets the banner_id of this LimitedUserGroups. # noqa: E501 - - - :return: The banner_id of this LimitedUserGroups. # noqa: E501 - :rtype: str - """ - return self._banner_id - - @banner_id.setter - def banner_id(self, banner_id): - """Sets the banner_id of this LimitedUserGroups. - - - :param banner_id: The banner_id of this LimitedUserGroups. # noqa: E501 - :type banner_id: str - """ - - self._banner_id = banner_id - - @property - def banner_url(self): - """Gets the banner_url of this LimitedUserGroups. # noqa: E501 + def id(self): + """Gets the id of this LimitedUserGroups. # noqa: E501 - :return: The banner_url of this LimitedUserGroups. # noqa: E501 + :return: The id of this LimitedUserGroups. # noqa: E501 :rtype: str """ - return self._banner_url + return self._id - @banner_url.setter - def banner_url(self, banner_url): - """Sets the banner_url of this LimitedUserGroups. + @id.setter + def id(self, id): + """Sets the id of this LimitedUserGroups. - :param banner_url: The banner_url of this LimitedUserGroups. # noqa: E501 - :type banner_url: str + :param id: The id of this LimitedUserGroups. # noqa: E501 + :type id: str """ - self._banner_url = banner_url + self._id = id @property - def privacy(self): - """Gets the privacy of this LimitedUserGroups. # noqa: E501 + def is_representing(self): + """Gets the is_representing of this LimitedUserGroups. # noqa: E501 - :return: The privacy of this LimitedUserGroups. # noqa: E501 - :rtype: str + :return: The is_representing of this LimitedUserGroups. # noqa: E501 + :rtype: bool """ - return self._privacy + return self._is_representing - @privacy.setter - def privacy(self, privacy): - """Sets the privacy of this LimitedUserGroups. + @is_representing.setter + def is_representing(self, is_representing): + """Sets the is_representing of this LimitedUserGroups. - :param privacy: The privacy of this LimitedUserGroups. # noqa: E501 - :type privacy: str + :param is_representing: The is_representing of this LimitedUserGroups. # noqa: E501 + :type is_representing: bool """ - self._privacy = privacy + self._is_representing = is_representing @property def last_post_created_at(self): @@ -366,27 +345,25 @@ def last_post_created_at(self, last_post_created_at): self._last_post_created_at = last_post_created_at @property - def owner_id(self): - """Gets the owner_id of this LimitedUserGroups. # noqa: E501 + def last_post_read_at(self): + """Gets the last_post_read_at of this LimitedUserGroups. # noqa: E501 - A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :return: The owner_id of this LimitedUserGroups. # noqa: E501 - :rtype: str + :return: The last_post_read_at of this LimitedUserGroups. # noqa: E501 + :rtype: datetime """ - return self._owner_id + return self._last_post_read_at - @owner_id.setter - def owner_id(self, owner_id): - """Sets the owner_id of this LimitedUserGroups. + @last_post_read_at.setter + def last_post_read_at(self, last_post_read_at): + """Sets the last_post_read_at of this LimitedUserGroups. - A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :param owner_id: The owner_id of this LimitedUserGroups. # noqa: E501 - :type owner_id: str + :param last_post_read_at: The last_post_read_at of this LimitedUserGroups. # noqa: E501 + :type last_post_read_at: datetime """ - self._owner_id = owner_id + self._last_post_read_at = last_post_read_at @property def member_count(self): @@ -409,27 +386,6 @@ def member_count(self, member_count): self._member_count = member_count - @property - def group_id(self): - """Gets the group_id of this LimitedUserGroups. # noqa: E501 - - - :return: The group_id of this LimitedUserGroups. # noqa: E501 - :rtype: str - """ - return self._group_id - - @group_id.setter - def group_id(self, group_id): - """Sets the group_id of this LimitedUserGroups. - - - :param group_id: The group_id of this LimitedUserGroups. # noqa: E501 - :type group_id: str - """ - - self._group_id = group_id - @property def member_visibility(self): """Gets the member_visibility of this LimitedUserGroups. # noqa: E501 @@ -451,27 +407,6 @@ def member_visibility(self, member_visibility): self._member_visibility = member_visibility - @property - def is_representing(self): - """Gets the is_representing of this LimitedUserGroups. # noqa: E501 - - - :return: The is_representing of this LimitedUserGroups. # noqa: E501 - :rtype: bool - """ - return self._is_representing - - @is_representing.setter - def is_representing(self, is_representing): - """Sets the is_representing of this LimitedUserGroups. - - - :param is_representing: The is_representing of this LimitedUserGroups. # noqa: E501 - :type is_representing: bool - """ - - self._is_representing = is_representing - @property def mutual_group(self): """Gets the mutual_group of this LimitedUserGroups. # noqa: E501 @@ -494,25 +429,90 @@ def mutual_group(self, mutual_group): self._mutual_group = mutual_group @property - def last_post_read_at(self): - """Gets the last_post_read_at of this LimitedUserGroups. # noqa: E501 + def name(self): + """Gets the name of this LimitedUserGroups. # noqa: E501 - :return: The last_post_read_at of this LimitedUserGroups. # noqa: E501 - :rtype: datetime + :return: The name of this LimitedUserGroups. # noqa: E501 + :rtype: str """ - return self._last_post_read_at + return self._name - @last_post_read_at.setter - def last_post_read_at(self, last_post_read_at): - """Sets the last_post_read_at of this LimitedUserGroups. + @name.setter + def name(self, name): + """Sets the name of this LimitedUserGroups. - :param last_post_read_at: The last_post_read_at of this LimitedUserGroups. # noqa: E501 - :type last_post_read_at: datetime + :param name: The name of this LimitedUserGroups. # noqa: E501 + :type name: str """ - self._last_post_read_at = last_post_read_at + self._name = name + + @property + def owner_id(self): + """Gets the owner_id of this LimitedUserGroups. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The owner_id of this LimitedUserGroups. # noqa: E501 + :rtype: str + """ + return self._owner_id + + @owner_id.setter + def owner_id(self, owner_id): + """Sets the owner_id of this LimitedUserGroups. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param owner_id: The owner_id of this LimitedUserGroups. # noqa: E501 + :type owner_id: str + """ + + self._owner_id = owner_id + + @property + def privacy(self): + """Gets the privacy of this LimitedUserGroups. # noqa: E501 + + + :return: The privacy of this LimitedUserGroups. # noqa: E501 + :rtype: str + """ + return self._privacy + + @privacy.setter + def privacy(self, privacy): + """Sets the privacy of this LimitedUserGroups. + + + :param privacy: The privacy of this LimitedUserGroups. # noqa: E501 + :type privacy: str + """ + + self._privacy = privacy + + @property + def short_code(self): + """Gets the short_code of this LimitedUserGroups. # noqa: E501 + + + :return: The short_code of this LimitedUserGroups. # noqa: E501 + :rtype: str + """ + return self._short_code + + @short_code.setter + def short_code(self, short_code): + """Sets the short_code of this LimitedUserGroups. + + + :param short_code: The short_code of this LimitedUserGroups. # noqa: E501 + :type short_code: str + """ + + self._short_code = short_code def to_dict(self, serialize=False): """Returns the model properties as a dict""" diff --git a/vrchatapi/models/limited_user_instance.py b/vrchatapi/models/limited_user_instance.py index 843662f4..0f17b299 100644 --- a/vrchatapi/models/limited_user_instance.py +++ b/vrchatapi/models/limited_user_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -42,18 +42,18 @@ class LimitedUserInstance(object): 'bio': 'str', 'bio_links': 'list[str]', 'current_avatar_image_url': 'str', - 'current_avatar_thumbnail_image_url': 'str', 'current_avatar_tags': 'list[str]', + 'current_avatar_thumbnail_image_url': 'str', 'date_joined': 'datetime', 'developer_type': 'DeveloperType', 'display_name': 'str', 'friend_key': 'str', 'id': 'str', - 'is_friend': 'bool', 'image_url': 'str', - 'last_platform': 'str', + 'is_friend': 'bool', 'last_activity': 'datetime', 'last_mobile': 'datetime', + 'last_platform': 'str', 'platform': 'str', 'profile_pic_override': 'str', 'profile_pic_override_thumbnail': 'str', @@ -72,18 +72,18 @@ class LimitedUserInstance(object): 'bio': 'bio', 'bio_links': 'bioLinks', 'current_avatar_image_url': 'currentAvatarImageUrl', - 'current_avatar_thumbnail_image_url': 'currentAvatarThumbnailImageUrl', 'current_avatar_tags': 'currentAvatarTags', + 'current_avatar_thumbnail_image_url': 'currentAvatarThumbnailImageUrl', 'date_joined': 'date_joined', 'developer_type': 'developerType', 'display_name': 'displayName', 'friend_key': 'friendKey', 'id': 'id', - 'is_friend': 'isFriend', 'image_url': 'imageUrl', - 'last_platform': 'last_platform', + 'is_friend': 'isFriend', 'last_activity': 'last_activity', 'last_mobile': 'last_mobile', + 'last_platform': 'last_platform', 'platform': 'platform', 'profile_pic_override': 'profilePicOverride', 'profile_pic_override_thumbnail': 'profilePicOverrideThumbnail', @@ -95,7 +95,7 @@ class LimitedUserInstance(object): 'user_icon': 'userIcon' } - def __init__(self, age_verification_status=None, age_verified=None, allow_avatar_copying=None, bio=None, bio_links=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, date_joined=None, developer_type=None, display_name=None, friend_key=None, id=None, is_friend=None, image_url=None, last_platform=None, last_activity=None, last_mobile=None, platform=None, profile_pic_override=None, profile_pic_override_thumbnail=None, pronouns=None, state=None, status=None, status_description=None, tags=None, user_icon=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, age_verification_status=None, age_verified=None, allow_avatar_copying=None, bio=None, bio_links=None, current_avatar_image_url=None, current_avatar_tags=None, current_avatar_thumbnail_image_url=None, date_joined=None, developer_type=None, display_name=None, friend_key=None, id=None, image_url=None, is_friend=None, last_activity=None, last_mobile=None, last_platform=None, platform=None, profile_pic_override=None, profile_pic_override_thumbnail=None, pronouns=None, state=None, status=None, status_description=None, tags=None, user_icon=None, local_vars_configuration=None): # noqa: E501 """LimitedUserInstance - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -107,18 +107,18 @@ def __init__(self, age_verification_status=None, age_verified=None, allow_avatar self._bio = None self._bio_links = None self._current_avatar_image_url = None - self._current_avatar_thumbnail_image_url = None self._current_avatar_tags = None + self._current_avatar_thumbnail_image_url = None self._date_joined = None self._developer_type = None self._display_name = None self._friend_key = None self._id = None - self._is_friend = None self._image_url = None - self._last_platform = None + self._is_friend = None self._last_activity = None self._last_mobile = None + self._last_platform = None self._platform = None self._profile_pic_override = None self._profile_pic_override_thumbnail = None @@ -138,19 +138,19 @@ def __init__(self, age_verification_status=None, age_verified=None, allow_avatar if bio_links is not None: self.bio_links = bio_links self.current_avatar_image_url = current_avatar_image_url - self.current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url self.current_avatar_tags = current_avatar_tags + self.current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url self.date_joined = date_joined self.developer_type = developer_type self.display_name = display_name self.friend_key = friend_key self.id = id - self.is_friend = is_friend if image_url is not None: self.image_url = image_url - self.last_platform = last_platform + self.is_friend = is_friend self.last_activity = last_activity self.last_mobile = last_mobile + self.last_platform = last_platform if platform is not None: self.platform = platform if profile_pic_override is not None: @@ -158,7 +158,8 @@ def __init__(self, age_verification_status=None, age_verified=None, allow_avatar if profile_pic_override_thumbnail is not None: self.profile_pic_override_thumbnail = profile_pic_override_thumbnail self.pronouns = pronouns - self.state = state + if state is not None: + self.state = state self.status = status self.status_description = status_description self.tags = tags @@ -305,6 +306,29 @@ def current_avatar_image_url(self, current_avatar_image_url): self._current_avatar_image_url = current_avatar_image_url + @property + def current_avatar_tags(self): + """Gets the current_avatar_tags of this LimitedUserInstance. # noqa: E501 + + + :return: The current_avatar_tags of this LimitedUserInstance. # noqa: E501 + :rtype: list[str] + """ + return self._current_avatar_tags + + @current_avatar_tags.setter + def current_avatar_tags(self, current_avatar_tags): + """Sets the current_avatar_tags of this LimitedUserInstance. + + + :param current_avatar_tags: The current_avatar_tags of this LimitedUserInstance. # noqa: E501 + :type current_avatar_tags: list[str] + """ + if self.local_vars_configuration.client_side_validation and current_avatar_tags is None: # noqa: E501 + raise ValueError("Invalid value for `current_avatar_tags`, must not be `None`") # noqa: E501 + + self._current_avatar_tags = current_avatar_tags + @property def current_avatar_thumbnail_image_url(self): """Gets the current_avatar_thumbnail_image_url of this LimitedUserInstance. # noqa: E501 @@ -330,29 +354,6 @@ def current_avatar_thumbnail_image_url(self, current_avatar_thumbnail_image_url) self._current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url - @property - def current_avatar_tags(self): - """Gets the current_avatar_tags of this LimitedUserInstance. # noqa: E501 - - - :return: The current_avatar_tags of this LimitedUserInstance. # noqa: E501 - :rtype: list[str] - """ - return self._current_avatar_tags - - @current_avatar_tags.setter - def current_avatar_tags(self, current_avatar_tags): - """Sets the current_avatar_tags of this LimitedUserInstance. - - - :param current_avatar_tags: The current_avatar_tags of this LimitedUserInstance. # noqa: E501 - :type current_avatar_tags: list[str] - """ - if self.local_vars_configuration.client_side_validation and current_avatar_tags is None: # noqa: E501 - raise ValueError("Invalid value for `current_avatar_tags`, must not be `None`") # noqa: E501 - - self._current_avatar_tags = current_avatar_tags - @property def date_joined(self): """Gets the date_joined of this LimitedUserInstance. # noqa: E501 @@ -468,29 +469,6 @@ def id(self, id): self._id = id - @property - def is_friend(self): - """Gets the is_friend of this LimitedUserInstance. # noqa: E501 - - - :return: The is_friend of this LimitedUserInstance. # noqa: E501 - :rtype: bool - """ - return self._is_friend - - @is_friend.setter - def is_friend(self, is_friend): - """Sets the is_friend of this LimitedUserInstance. - - - :param is_friend: The is_friend of this LimitedUserInstance. # noqa: E501 - :type is_friend: bool - """ - if self.local_vars_configuration.client_side_validation and is_friend is None: # noqa: E501 - raise ValueError("Invalid value for `is_friend`, must not be `None`") # noqa: E501 - - self._is_friend = is_friend - @property def image_url(self): """Gets the image_url of this LimitedUserInstance. # noqa: E501 @@ -513,29 +491,27 @@ def image_url(self, image_url): self._image_url = image_url @property - def last_platform(self): - """Gets the last_platform of this LimitedUserInstance. # noqa: E501 + def is_friend(self): + """Gets the is_friend of this LimitedUserInstance. # noqa: E501 - This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 - :return: The last_platform of this LimitedUserInstance. # noqa: E501 - :rtype: str + :return: The is_friend of this LimitedUserInstance. # noqa: E501 + :rtype: bool """ - return self._last_platform + return self._is_friend - @last_platform.setter - def last_platform(self, last_platform): - """Sets the last_platform of this LimitedUserInstance. + @is_friend.setter + def is_friend(self, is_friend): + """Sets the is_friend of this LimitedUserInstance. - This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 - :param last_platform: The last_platform of this LimitedUserInstance. # noqa: E501 - :type last_platform: str + :param is_friend: The is_friend of this LimitedUserInstance. # noqa: E501 + :type is_friend: bool """ - if self.local_vars_configuration.client_side_validation and last_platform is None: # noqa: E501 - raise ValueError("Invalid value for `last_platform`, must not be `None`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and is_friend is None: # noqa: E501 + raise ValueError("Invalid value for `is_friend`, must not be `None`") # noqa: E501 - self._last_platform = last_platform + self._is_friend = is_friend @property def last_activity(self): @@ -579,10 +555,36 @@ def last_mobile(self, last_mobile): self._last_mobile = last_mobile + @property + def last_platform(self): + """Gets the last_platform of this LimitedUserInstance. # noqa: E501 + + This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + + :return: The last_platform of this LimitedUserInstance. # noqa: E501 + :rtype: str + """ + return self._last_platform + + @last_platform.setter + def last_platform(self, last_platform): + """Sets the last_platform of this LimitedUserInstance. + + This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + + :param last_platform: The last_platform of this LimitedUserInstance. # noqa: E501 + :type last_platform: str + """ + if self.local_vars_configuration.client_side_validation and last_platform is None: # noqa: E501 + raise ValueError("Invalid value for `last_platform`, must not be `None`") # noqa: E501 + + self._last_platform = last_platform + @property def platform(self): """Gets the platform of this LimitedUserInstance. # noqa: E501 + This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 :return: The platform of this LimitedUserInstance. # noqa: E501 :rtype: str @@ -593,6 +595,7 @@ def platform(self): def platform(self, platform): """Sets the platform of this LimitedUserInstance. + This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 :param platform: The platform of this LimitedUserInstance. # noqa: E501 :type platform: str @@ -683,8 +686,6 @@ def state(self, state): :param state: The state of this LimitedUserInstance. # noqa: E501 :type state: UserState """ - if self.local_vars_configuration.client_side_validation and state is None: # noqa: E501 - raise ValueError("Invalid value for `state`, must not be `None`") # noqa: E501 self._state = state diff --git a/vrchatapi/models/limited_user_search.py b/vrchatapi/models/limited_user_search.py index 712e424a..1ec9ad87 100644 --- a/vrchatapi/models/limited_user_search.py +++ b/vrchatapi/models/limited_user_search.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -39,8 +39,8 @@ class LimitedUserSearch(object): 'bio': 'str', 'bio_links': 'list[str]', 'current_avatar_image_url': 'str', - 'current_avatar_thumbnail_image_url': 'str', 'current_avatar_tags': 'list[str]', + 'current_avatar_thumbnail_image_url': 'str', 'developer_type': 'DeveloperType', 'display_name': 'str', 'id': 'str', @@ -58,8 +58,8 @@ class LimitedUserSearch(object): 'bio': 'bio', 'bio_links': 'bioLinks', 'current_avatar_image_url': 'currentAvatarImageUrl', - 'current_avatar_thumbnail_image_url': 'currentAvatarThumbnailImageUrl', 'current_avatar_tags': 'currentAvatarTags', + 'current_avatar_thumbnail_image_url': 'currentAvatarThumbnailImageUrl', 'developer_type': 'developerType', 'display_name': 'displayName', 'id': 'id', @@ -73,7 +73,7 @@ class LimitedUserSearch(object): 'user_icon': 'userIcon' } - def __init__(self, bio=None, bio_links=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, developer_type=None, display_name=None, id=None, is_friend=None, last_platform=None, profile_pic_override=None, pronouns=None, status=None, status_description=None, tags=None, user_icon=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, bio=None, bio_links=None, current_avatar_image_url=None, current_avatar_tags=None, current_avatar_thumbnail_image_url=None, developer_type=None, display_name=None, id=None, is_friend=None, last_platform=None, profile_pic_override=None, pronouns=None, status=None, status_description=None, tags=None, user_icon=None, local_vars_configuration=None): # noqa: E501 """LimitedUserSearch - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -82,8 +82,8 @@ def __init__(self, bio=None, bio_links=None, current_avatar_image_url=None, curr self._bio = None self._bio_links = None self._current_avatar_image_url = None - self._current_avatar_thumbnail_image_url = None self._current_avatar_tags = None + self._current_avatar_thumbnail_image_url = None self._developer_type = None self._display_name = None self._id = None @@ -102,8 +102,8 @@ def __init__(self, bio=None, bio_links=None, current_avatar_image_url=None, curr if bio_links is not None: self.bio_links = bio_links self.current_avatar_image_url = current_avatar_image_url - self.current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url self.current_avatar_tags = current_avatar_tags + self.current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url self.developer_type = developer_type self.display_name = display_name self.id = id @@ -188,6 +188,29 @@ def current_avatar_image_url(self, current_avatar_image_url): self._current_avatar_image_url = current_avatar_image_url + @property + def current_avatar_tags(self): + """Gets the current_avatar_tags of this LimitedUserSearch. # noqa: E501 + + + :return: The current_avatar_tags of this LimitedUserSearch. # noqa: E501 + :rtype: list[str] + """ + return self._current_avatar_tags + + @current_avatar_tags.setter + def current_avatar_tags(self, current_avatar_tags): + """Sets the current_avatar_tags of this LimitedUserSearch. + + + :param current_avatar_tags: The current_avatar_tags of this LimitedUserSearch. # noqa: E501 + :type current_avatar_tags: list[str] + """ + if self.local_vars_configuration.client_side_validation and current_avatar_tags is None: # noqa: E501 + raise ValueError("Invalid value for `current_avatar_tags`, must not be `None`") # noqa: E501 + + self._current_avatar_tags = current_avatar_tags + @property def current_avatar_thumbnail_image_url(self): """Gets the current_avatar_thumbnail_image_url of this LimitedUserSearch. # noqa: E501 @@ -213,29 +236,6 @@ def current_avatar_thumbnail_image_url(self, current_avatar_thumbnail_image_url) self._current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url - @property - def current_avatar_tags(self): - """Gets the current_avatar_tags of this LimitedUserSearch. # noqa: E501 - - - :return: The current_avatar_tags of this LimitedUserSearch. # noqa: E501 - :rtype: list[str] - """ - return self._current_avatar_tags - - @current_avatar_tags.setter - def current_avatar_tags(self, current_avatar_tags): - """Sets the current_avatar_tags of this LimitedUserSearch. - - - :param current_avatar_tags: The current_avatar_tags of this LimitedUserSearch. # noqa: E501 - :type current_avatar_tags: list[str] - """ - if self.local_vars_configuration.client_side_validation and current_avatar_tags is None: # noqa: E501 - raise ValueError("Invalid value for `current_avatar_tags`, must not be `None`") # noqa: E501 - - self._current_avatar_tags = current_avatar_tags - @property def developer_type(self): """Gets the developer_type of this LimitedUserSearch. # noqa: E501 @@ -334,7 +334,7 @@ def is_friend(self, is_friend): def last_platform(self): """Gets the last_platform of this LimitedUserSearch. # noqa: E501 - This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 :return: The last_platform of this LimitedUserSearch. # noqa: E501 :rtype: str @@ -345,7 +345,7 @@ def last_platform(self): def last_platform(self, last_platform): """Sets the last_platform of this LimitedUserSearch. - This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 :param last_platform: The last_platform of this LimitedUserSearch. # noqa: E501 :type last_platform: str diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index b6ba4c4f..ddca30d5 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -39,11 +39,9 @@ class LimitedWorld(object): 'author_id': 'str', 'author_name': 'str', 'capacity': 'int', - 'recommended_capacity': 'int', 'created_at': 'datetime', 'default_content_settings': 'InstanceContentSettings', 'favorites': 'int', - 'visits': 'int', 'heat': 'int', 'id': 'str', 'image_url': 'str', @@ -54,24 +52,24 @@ class LimitedWorld(object): 'popularity': 'int', 'preview_youtube_id': 'str', 'publication_date': 'str', + 'recommended_capacity': 'int', 'release_status': 'ReleaseStatus', 'store_id': 'str', 'tags': 'list[str]', 'thumbnail_image_url': 'str', + 'udon_products': 'list[str]', 'unity_packages': 'list[LimitedUnityPackage]', 'updated_at': 'datetime', - 'udon_products': 'list[str]' + 'visits': 'int' } attribute_map = { 'author_id': 'authorId', 'author_name': 'authorName', 'capacity': 'capacity', - 'recommended_capacity': 'recommendedCapacity', 'created_at': 'created_at', 'default_content_settings': 'defaultContentSettings', 'favorites': 'favorites', - 'visits': 'visits', 'heat': 'heat', 'id': 'id', 'image_url': 'imageUrl', @@ -82,16 +80,18 @@ class LimitedWorld(object): 'popularity': 'popularity', 'preview_youtube_id': 'previewYoutubeId', 'publication_date': 'publicationDate', + 'recommended_capacity': 'recommendedCapacity', 'release_status': 'releaseStatus', 'store_id': 'storeId', 'tags': 'tags', 'thumbnail_image_url': 'thumbnailImageUrl', + 'udon_products': 'udonProducts', 'unity_packages': 'unityPackages', 'updated_at': 'updated_at', - 'udon_products': 'udonProducts' + 'visits': 'visits' } - def __init__(self, author_id=None, author_name=None, capacity=None, recommended_capacity=None, created_at=None, default_content_settings=None, favorites=0, visits=0, heat=0, id=None, image_url=None, labs_publication_date=None, name=None, occupants=0, organization='vrchat', popularity=0, preview_youtube_id=None, publication_date=None, release_status=None, store_id=None, tags=None, thumbnail_image_url=None, unity_packages=None, updated_at=None, udon_products=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, author_id=None, author_name=None, capacity=None, created_at=None, default_content_settings=None, favorites=0, heat=0, id=None, image_url=None, labs_publication_date=None, name=None, occupants=0, organization='vrchat', popularity=0, preview_youtube_id=None, publication_date=None, recommended_capacity=None, release_status=None, store_id=None, tags=None, thumbnail_image_url=None, udon_products=None, unity_packages=None, updated_at=None, visits=0, local_vars_configuration=None): # noqa: E501 """LimitedWorld - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -100,11 +100,9 @@ def __init__(self, author_id=None, author_name=None, capacity=None, recommended_ self._author_id = None self._author_name = None self._capacity = None - self._recommended_capacity = None self._created_at = None self._default_content_settings = None self._favorites = None - self._visits = None self._heat = None self._id = None self._image_url = None @@ -115,26 +113,24 @@ def __init__(self, author_id=None, author_name=None, capacity=None, recommended_ self._popularity = None self._preview_youtube_id = None self._publication_date = None + self._recommended_capacity = None self._release_status = None self._store_id = None self._tags = None self._thumbnail_image_url = None + self._udon_products = None self._unity_packages = None self._updated_at = None - self._udon_products = None + self._visits = None self.discriminator = None self.author_id = author_id self.author_name = author_name self.capacity = capacity - if recommended_capacity is not None: - self.recommended_capacity = recommended_capacity self.created_at = created_at if default_content_settings is not None: self.default_content_settings = default_content_settings self.favorites = favorites - if visits is not None: - self.visits = visits self.heat = heat self.id = id self.image_url = image_url @@ -145,15 +141,19 @@ def __init__(self, author_id=None, author_name=None, capacity=None, recommended_ self.popularity = popularity self.preview_youtube_id = preview_youtube_id self.publication_date = publication_date + if recommended_capacity is not None: + self.recommended_capacity = recommended_capacity self.release_status = release_status if store_id is not None: self.store_id = store_id self.tags = tags self.thumbnail_image_url = thumbnail_image_url - self.unity_packages = unity_packages - self.updated_at = updated_at if udon_products is not None: self.udon_products = udon_products + self.unity_packages = unity_packages + self.updated_at = updated_at + if visits is not None: + self.visits = visits @property def author_id(self): @@ -229,27 +229,6 @@ def capacity(self, capacity): self._capacity = capacity - @property - def recommended_capacity(self): - """Gets the recommended_capacity of this LimitedWorld. # noqa: E501 - - - :return: The recommended_capacity of this LimitedWorld. # noqa: E501 - :rtype: int - """ - return self._recommended_capacity - - @recommended_capacity.setter - def recommended_capacity(self, recommended_capacity): - """Sets the recommended_capacity of this LimitedWorld. - - - :param recommended_capacity: The recommended_capacity of this LimitedWorld. # noqa: E501 - :type recommended_capacity: int - """ - - self._recommended_capacity = recommended_capacity - @property def created_at(self): """Gets the created_at of this LimitedWorld. # noqa: E501 @@ -320,30 +299,6 @@ def favorites(self, favorites): self._favorites = favorites - @property - def visits(self): - """Gets the visits of this LimitedWorld. # noqa: E501 - - - :return: The visits of this LimitedWorld. # noqa: E501 - :rtype: int - """ - return self._visits - - @visits.setter - def visits(self, visits): - """Sets the visits of this LimitedWorld. - - - :param visits: The visits of this LimitedWorld. # noqa: E501 - :type visits: int - """ - if (self.local_vars_configuration.client_side_validation and - visits is not None and visits < 0): # noqa: E501 - raise ValueError("Invalid value for `visits`, must be a value greater than or equal to `0`") # noqa: E501 - - self._visits = visits - @property def heat(self): """Gets the heat of this LimitedWorld. # noqa: E501 @@ -598,6 +553,27 @@ def publication_date(self, publication_date): self._publication_date = publication_date + @property + def recommended_capacity(self): + """Gets the recommended_capacity of this LimitedWorld. # noqa: E501 + + + :return: The recommended_capacity of this LimitedWorld. # noqa: E501 + :rtype: int + """ + return self._recommended_capacity + + @recommended_capacity.setter + def recommended_capacity(self, recommended_capacity): + """Sets the recommended_capacity of this LimitedWorld. + + + :param recommended_capacity: The recommended_capacity of this LimitedWorld. # noqa: E501 + :type recommended_capacity: int + """ + + self._recommended_capacity = recommended_capacity + @property def release_status(self): """Gets the release_status of this LimitedWorld. # noqa: E501 @@ -693,6 +669,27 @@ def thumbnail_image_url(self, thumbnail_image_url): self._thumbnail_image_url = thumbnail_image_url + @property + def udon_products(self): + """Gets the udon_products of this LimitedWorld. # noqa: E501 + + + :return: The udon_products of this LimitedWorld. # noqa: E501 + :rtype: list[str] + """ + return self._udon_products + + @udon_products.setter + def udon_products(self, udon_products): + """Sets the udon_products of this LimitedWorld. + + + :param udon_products: The udon_products of this LimitedWorld. # noqa: E501 + :type udon_products: list[str] + """ + + self._udon_products = udon_products + @property def unity_packages(self): """Gets the unity_packages of this LimitedWorld. # noqa: E501 @@ -745,25 +742,28 @@ def updated_at(self, updated_at): self._updated_at = updated_at @property - def udon_products(self): - """Gets the udon_products of this LimitedWorld. # noqa: E501 + def visits(self): + """Gets the visits of this LimitedWorld. # noqa: E501 - :return: The udon_products of this LimitedWorld. # noqa: E501 - :rtype: list[str] + :return: The visits of this LimitedWorld. # noqa: E501 + :rtype: int """ - return self._udon_products + return self._visits - @udon_products.setter - def udon_products(self, udon_products): - """Sets the udon_products of this LimitedWorld. + @visits.setter + def visits(self, visits): + """Sets the visits of this LimitedWorld. - :param udon_products: The udon_products of this LimitedWorld. # noqa: E501 - :type udon_products: list[str] + :param visits: The visits of this LimitedWorld. # noqa: E501 + :type visits: int """ + if (self.local_vars_configuration.client_side_validation and + visits is not None and visits < 0): # noqa: E501 + raise ValueError("Invalid value for `visits`, must be a value greater than or equal to `0`") # noqa: E501 - self._udon_products = udon_products + self._visits = visits def to_dict(self, serialize=False): """Returns the model properties as a dict""" diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index d2fac663..a9b7028f 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -31,22 +31,22 @@ class MIMEType(object): """ allowed enum values """ + APPLICATION_GZIP = "application/gzip" + APPLICATION_OCTET_STREAM = "application/octet-stream" + APPLICATION_X_AVATAR = "application/x-avatar" + APPLICATION_X_RSYNC_DELTA = "application/x-rsync-delta" + APPLICATION_X_RSYNC_SIGNATURE = "application/x-rsync-signature" + APPLICATION_X_WORLD = "application/x-world" + IMAGE_BMP = "image/bmp" + IMAGE_GIF = "image/gif" IMAGE_JPEG = "image/jpeg" IMAGE_JPG = "image/jpg" IMAGE_PNG = "image/png" - IMAGE_WEBP = "image/webp" - IMAGE_GIF = "image/gif" - IMAGE_BMP = "image/bmp" IMAGE_SVG_XML = "image/svg+xml" IMAGE_TIFF = "image/tiff" - APPLICATION_X_AVATAR = "application/x-avatar" - APPLICATION_X_WORLD = "application/x-world" - APPLICATION_GZIP = "application/gzip" - APPLICATION_X_RSYNC_SIGNATURE = "application/x-rsync-signature" - APPLICATION_X_RSYNC_DELTA = "application/x-rsync-delta" - APPLICATION_OCTET_STREAM = "application/octet-stream" + IMAGE_WEBP = "image/webp" - allowable_values = [IMAGE_JPEG, IMAGE_JPG, IMAGE_PNG, IMAGE_WEBP, IMAGE_GIF, IMAGE_BMP, IMAGE_SVG_XML, IMAGE_TIFF, APPLICATION_X_AVATAR, APPLICATION_X_WORLD, APPLICATION_GZIP, APPLICATION_X_RSYNC_SIGNATURE, APPLICATION_X_RSYNC_DELTA, APPLICATION_OCTET_STREAM] # noqa: E501 + allowable_values = [APPLICATION_GZIP, APPLICATION_OCTET_STREAM, APPLICATION_X_AVATAR, APPLICATION_X_RSYNC_DELTA, APPLICATION_X_RSYNC_SIGNATURE, APPLICATION_X_WORLD, IMAGE_BMP, IMAGE_GIF, IMAGE_JPEG, IMAGE_JPG, IMAGE_PNG, IMAGE_SVG_XML, IMAGE_TIFF, IMAGE_WEBP] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/model_print.py b/vrchatapi/models/model_print.py index f3a26142..b9b46a16 100644 --- a/vrchatapi/models/model_print.py +++ b/vrchatapi/models/model_print.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index c404413d..f5356d3e 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderation_report.py b/vrchatapi/models/moderation_report.py new file mode 100644 index 00000000..61d15b62 --- /dev/null +++ b/vrchatapi/models/moderation_report.py @@ -0,0 +1,381 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class ModerationReport(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'category': 'str', + 'content_id': 'str', + 'content_name': 'str', + 'content_thumbnail_image_url': 'str', + 'description': 'str', + 'evidence_required': 'bool', + 'id': 'str', + 'reason': 'str', + 'support_required': 'bool', + 'type': 'str' + } + + attribute_map = { + 'category': 'category', + 'content_id': 'contentId', + 'content_name': 'contentName', + 'content_thumbnail_image_url': 'contentThumbnailImageUrl', + 'description': 'description', + 'evidence_required': 'evidenceRequired', + 'id': 'id', + 'reason': 'reason', + 'support_required': 'supportRequired', + 'type': 'type' + } + + def __init__(self, category=None, content_id=None, content_name=None, content_thumbnail_image_url=None, description=None, evidence_required=None, id=None, reason=None, support_required=None, type=None, local_vars_configuration=None): # noqa: E501 + """ModerationReport - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._category = None + self._content_id = None + self._content_name = None + self._content_thumbnail_image_url = None + self._description = None + self._evidence_required = None + self._id = None + self._reason = None + self._support_required = None + self._type = None + self.discriminator = None + + self.category = category + self.content_id = content_id + self.content_name = content_name + self.content_thumbnail_image_url = content_thumbnail_image_url + self.description = description + self.evidence_required = evidence_required + self.id = id + self.reason = reason + self.support_required = support_required + self.type = type + + @property + def category(self): + """Gets the category of this ModerationReport. # noqa: E501 + + Valid values are the keys of the object `$.reportOptions[type]` from `GET /config`. Descriptions of these are found at `$.reportCategories[type]`. # noqa: E501 + + :return: The category of this ModerationReport. # noqa: E501 + :rtype: str + """ + return self._category + + @category.setter + def category(self, category): + """Sets the category of this ModerationReport. + + Valid values are the keys of the object `$.reportOptions[type]` from `GET /config`. Descriptions of these are found at `$.reportCategories[type]`. # noqa: E501 + + :param category: The category of this ModerationReport. # noqa: E501 + :type category: str + """ + if self.local_vars_configuration.client_side_validation and category is None: # noqa: E501 + raise ValueError("Invalid value for `category`, must not be `None`") # noqa: E501 + + self._category = category + + @property + def content_id(self): + """Gets the content_id of this ModerationReport. # noqa: E501 + + + :return: The content_id of this ModerationReport. # noqa: E501 + :rtype: str + """ + return self._content_id + + @content_id.setter + def content_id(self, content_id): + """Sets the content_id of this ModerationReport. + + + :param content_id: The content_id of this ModerationReport. # noqa: E501 + :type content_id: str + """ + if self.local_vars_configuration.client_side_validation and content_id is None: # noqa: E501 + raise ValueError("Invalid value for `content_id`, must not be `None`") # noqa: E501 + + self._content_id = content_id + + @property + def content_name(self): + """Gets the content_name of this ModerationReport. # noqa: E501 + + + :return: The content_name of this ModerationReport. # noqa: E501 + :rtype: str + """ + return self._content_name + + @content_name.setter + def content_name(self, content_name): + """Sets the content_name of this ModerationReport. + + + :param content_name: The content_name of this ModerationReport. # noqa: E501 + :type content_name: str + """ + if self.local_vars_configuration.client_side_validation and content_name is None: # noqa: E501 + raise ValueError("Invalid value for `content_name`, must not be `None`") # noqa: E501 + + self._content_name = content_name + + @property + def content_thumbnail_image_url(self): + """Gets the content_thumbnail_image_url of this ModerationReport. # noqa: E501 + + + :return: The content_thumbnail_image_url of this ModerationReport. # noqa: E501 + :rtype: str + """ + return self._content_thumbnail_image_url + + @content_thumbnail_image_url.setter + def content_thumbnail_image_url(self, content_thumbnail_image_url): + """Sets the content_thumbnail_image_url of this ModerationReport. + + + :param content_thumbnail_image_url: The content_thumbnail_image_url of this ModerationReport. # noqa: E501 + :type content_thumbnail_image_url: str + """ + + self._content_thumbnail_image_url = content_thumbnail_image_url + + @property + def description(self): + """Gets the description of this ModerationReport. # noqa: E501 + + The subjective reason for the report # noqa: E501 + + :return: The description of this ModerationReport. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this ModerationReport. + + The subjective reason for the report # noqa: E501 + + :param description: The description of this ModerationReport. # noqa: E501 + :type description: str + """ + if self.local_vars_configuration.client_side_validation and description is None: # noqa: E501 + raise ValueError("Invalid value for `description`, must not be `None`") # noqa: E501 + + self._description = description + + @property + def evidence_required(self): + """Gets the evidence_required of this ModerationReport. # noqa: E501 + + + :return: The evidence_required of this ModerationReport. # noqa: E501 + :rtype: bool + """ + return self._evidence_required + + @evidence_required.setter + def evidence_required(self, evidence_required): + """Sets the evidence_required of this ModerationReport. + + + :param evidence_required: The evidence_required of this ModerationReport. # noqa: E501 + :type evidence_required: bool + """ + if self.local_vars_configuration.client_side_validation and evidence_required is None: # noqa: E501 + raise ValueError("Invalid value for `evidence_required`, must not be `None`") # noqa: E501 + + self._evidence_required = evidence_required + + @property + def id(self): + """Gets the id of this ModerationReport. # noqa: E501 + + + :return: The id of this ModerationReport. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this ModerationReport. + + + :param id: The id of this ModerationReport. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + + self._id = id + + @property + def reason(self): + """Gets the reason of this ModerationReport. # noqa: E501 + + Valid values are the strings in the array `$.reportOptions[type][category]` from `GET /config`. Descriptions of these are found at `$.reportReasons[type]`. # noqa: E501 + + :return: The reason of this ModerationReport. # noqa: E501 + :rtype: str + """ + return self._reason + + @reason.setter + def reason(self, reason): + """Sets the reason of this ModerationReport. + + Valid values are the strings in the array `$.reportOptions[type][category]` from `GET /config`. Descriptions of these are found at `$.reportReasons[type]`. # noqa: E501 + + :param reason: The reason of this ModerationReport. # noqa: E501 + :type reason: str + """ + if self.local_vars_configuration.client_side_validation and reason is None: # noqa: E501 + raise ValueError("Invalid value for `reason`, must not be `None`") # noqa: E501 + + self._reason = reason + + @property + def support_required(self): + """Gets the support_required of this ModerationReport. # noqa: E501 + + + :return: The support_required of this ModerationReport. # noqa: E501 + :rtype: bool + """ + return self._support_required + + @support_required.setter + def support_required(self, support_required): + """Sets the support_required of this ModerationReport. + + + :param support_required: The support_required of this ModerationReport. # noqa: E501 + :type support_required: bool + """ + if self.local_vars_configuration.client_side_validation and support_required is None: # noqa: E501 + raise ValueError("Invalid value for `support_required`, must not be `None`") # noqa: E501 + + self._support_required = support_required + + @property + def type(self): + """Gets the type of this ModerationReport. # noqa: E501 + + Valid values are the keys of the object `$.reportOptions` from `GET /config`. # noqa: E501 + + :return: The type of this ModerationReport. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this ModerationReport. + + Valid values are the keys of the object `$.reportOptions` from `GET /config`. # noqa: E501 + + :param type: The type of this ModerationReport. # noqa: E501 + :type type: str + """ + if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501 + raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 + + self._type = type + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ModerationReport): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ModerationReport): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/mutual_friend.py b/vrchatapi/models/mutual_friend.py new file mode 100644 index 00000000..d5890875 --- /dev/null +++ b/vrchatapi/models/mutual_friend.py @@ -0,0 +1,379 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class MutualFriend(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'avatar_thumbnail': 'str', + 'current_avatar_image_url': 'str', + 'current_avatar_tags': 'list[str]', + 'current_avatar_thumbnail_image_url': 'str', + 'display_name': 'str', + 'id': 'str', + 'image_url': 'str', + 'profile_pic_override': 'str', + 'status': 'UserStatus', + 'status_description': 'str' + } + + attribute_map = { + 'avatar_thumbnail': 'avatarThumbnail', + 'current_avatar_image_url': 'currentAvatarImageUrl', + 'current_avatar_tags': 'currentAvatarTags', + 'current_avatar_thumbnail_image_url': 'currentAvatarThumbnailImageUrl', + 'display_name': 'displayName', + 'id': 'id', + 'image_url': 'imageUrl', + 'profile_pic_override': 'profilePicOverride', + 'status': 'status', + 'status_description': 'statusDescription' + } + + def __init__(self, avatar_thumbnail=None, current_avatar_image_url=None, current_avatar_tags=None, current_avatar_thumbnail_image_url=None, display_name=None, id=None, image_url=None, profile_pic_override=None, status=None, status_description=None, local_vars_configuration=None): # noqa: E501 + """MutualFriend - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._avatar_thumbnail = None + self._current_avatar_image_url = None + self._current_avatar_tags = None + self._current_avatar_thumbnail_image_url = None + self._display_name = None + self._id = None + self._image_url = None + self._profile_pic_override = None + self._status = None + self._status_description = None + self.discriminator = None + + if avatar_thumbnail is not None: + self.avatar_thumbnail = avatar_thumbnail + self.current_avatar_image_url = current_avatar_image_url + if current_avatar_tags is not None: + self.current_avatar_tags = current_avatar_tags + if current_avatar_thumbnail_image_url is not None: + self.current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url + self.display_name = display_name + self.id = id + self.image_url = image_url + if profile_pic_override is not None: + self.profile_pic_override = profile_pic_override + self.status = status + self.status_description = status_description + + @property + def avatar_thumbnail(self): + """Gets the avatar_thumbnail of this MutualFriend. # noqa: E501 + + When profilePicOverride is not empty, use it instead. # noqa: E501 + + :return: The avatar_thumbnail of this MutualFriend. # noqa: E501 + :rtype: str + """ + return self._avatar_thumbnail + + @avatar_thumbnail.setter + def avatar_thumbnail(self, avatar_thumbnail): + """Sets the avatar_thumbnail of this MutualFriend. + + When profilePicOverride is not empty, use it instead. # noqa: E501 + + :param avatar_thumbnail: The avatar_thumbnail of this MutualFriend. # noqa: E501 + :type avatar_thumbnail: str + """ + + self._avatar_thumbnail = avatar_thumbnail + + @property + def current_avatar_image_url(self): + """Gets the current_avatar_image_url of this MutualFriend. # noqa: E501 + + When profilePicOverride is not empty, use it instead. # noqa: E501 + + :return: The current_avatar_image_url of this MutualFriend. # noqa: E501 + :rtype: str + """ + return self._current_avatar_image_url + + @current_avatar_image_url.setter + def current_avatar_image_url(self, current_avatar_image_url): + """Sets the current_avatar_image_url of this MutualFriend. + + When profilePicOverride is not empty, use it instead. # noqa: E501 + + :param current_avatar_image_url: The current_avatar_image_url of this MutualFriend. # noqa: E501 + :type current_avatar_image_url: str + """ + if self.local_vars_configuration.client_side_validation and current_avatar_image_url is None: # noqa: E501 + raise ValueError("Invalid value for `current_avatar_image_url`, must not be `None`") # noqa: E501 + + self._current_avatar_image_url = current_avatar_image_url + + @property + def current_avatar_tags(self): + """Gets the current_avatar_tags of this MutualFriend. # noqa: E501 + + + :return: The current_avatar_tags of this MutualFriend. # noqa: E501 + :rtype: list[str] + """ + return self._current_avatar_tags + + @current_avatar_tags.setter + def current_avatar_tags(self, current_avatar_tags): + """Sets the current_avatar_tags of this MutualFriend. + + + :param current_avatar_tags: The current_avatar_tags of this MutualFriend. # noqa: E501 + :type current_avatar_tags: list[str] + """ + + self._current_avatar_tags = current_avatar_tags + + @property + def current_avatar_thumbnail_image_url(self): + """Gets the current_avatar_thumbnail_image_url of this MutualFriend. # noqa: E501 + + When profilePicOverride is not empty, use it instead. # noqa: E501 + + :return: The current_avatar_thumbnail_image_url of this MutualFriend. # noqa: E501 + :rtype: str + """ + return self._current_avatar_thumbnail_image_url + + @current_avatar_thumbnail_image_url.setter + def current_avatar_thumbnail_image_url(self, current_avatar_thumbnail_image_url): + """Sets the current_avatar_thumbnail_image_url of this MutualFriend. + + When profilePicOverride is not empty, use it instead. # noqa: E501 + + :param current_avatar_thumbnail_image_url: The current_avatar_thumbnail_image_url of this MutualFriend. # noqa: E501 + :type current_avatar_thumbnail_image_url: str + """ + + self._current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url + + @property + def display_name(self): + """Gets the display_name of this MutualFriend. # noqa: E501 + + + :return: The display_name of this MutualFriend. # noqa: E501 + :rtype: str + """ + return self._display_name + + @display_name.setter + def display_name(self, display_name): + """Sets the display_name of this MutualFriend. + + + :param display_name: The display_name of this MutualFriend. # noqa: E501 + :type display_name: str + """ + if self.local_vars_configuration.client_side_validation and display_name is None: # noqa: E501 + raise ValueError("Invalid value for `display_name`, must not be `None`") # noqa: E501 + + self._display_name = display_name + + @property + def id(self): + """Gets the id of this MutualFriend. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The id of this MutualFriend. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this MutualFriend. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param id: The id of this MutualFriend. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + + self._id = id + + @property + def image_url(self): + """Gets the image_url of this MutualFriend. # noqa: E501 + + + :return: The image_url of this MutualFriend. # noqa: E501 + :rtype: str + """ + return self._image_url + + @image_url.setter + def image_url(self, image_url): + """Sets the image_url of this MutualFriend. + + + :param image_url: The image_url of this MutualFriend. # noqa: E501 + :type image_url: str + """ + if self.local_vars_configuration.client_side_validation and image_url is None: # noqa: E501 + raise ValueError("Invalid value for `image_url`, must not be `None`") # noqa: E501 + + self._image_url = image_url + + @property + def profile_pic_override(self): + """Gets the profile_pic_override of this MutualFriend. # noqa: E501 + + + :return: The profile_pic_override of this MutualFriend. # noqa: E501 + :rtype: str + """ + return self._profile_pic_override + + @profile_pic_override.setter + def profile_pic_override(self, profile_pic_override): + """Sets the profile_pic_override of this MutualFriend. + + + :param profile_pic_override: The profile_pic_override of this MutualFriend. # noqa: E501 + :type profile_pic_override: str + """ + + self._profile_pic_override = profile_pic_override + + @property + def status(self): + """Gets the status of this MutualFriend. # noqa: E501 + + + :return: The status of this MutualFriend. # noqa: E501 + :rtype: UserStatus + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this MutualFriend. + + + :param status: The status of this MutualFriend. # noqa: E501 + :type status: UserStatus + """ + if self.local_vars_configuration.client_side_validation and status is None: # noqa: E501 + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 + + self._status = status + + @property + def status_description(self): + """Gets the status_description of this MutualFriend. # noqa: E501 + + + :return: The status_description of this MutualFriend. # noqa: E501 + :rtype: str + """ + return self._status_description + + @status_description.setter + def status_description(self, status_description): + """Sets the status_description of this MutualFriend. + + + :param status_description: The status_description of this MutualFriend. # noqa: E501 + :type status_description: str + """ + if self.local_vars_configuration.client_side_validation and status_description is None: # noqa: E501 + raise ValueError("Invalid value for `status_description`, must not be `None`") # noqa: E501 + + self._status_description = status_description + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, MutualFriend): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, MutualFriend): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/mutuals.py b/vrchatapi/models/mutuals.py new file mode 100644 index 00000000..1f2ac7ae --- /dev/null +++ b/vrchatapi/models/mutuals.py @@ -0,0 +1,165 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class Mutuals(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'friends': 'int', + 'groups': 'int' + } + + attribute_map = { + 'friends': 'friends', + 'groups': 'groups' + } + + def __init__(self, friends=0, groups=0, local_vars_configuration=None): # noqa: E501 + """Mutuals - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._friends = None + self._groups = None + self.discriminator = None + + self.friends = friends + self.groups = groups + + @property + def friends(self): + """Gets the friends of this Mutuals. # noqa: E501 + + + :return: The friends of this Mutuals. # noqa: E501 + :rtype: int + """ + return self._friends + + @friends.setter + def friends(self, friends): + """Sets the friends of this Mutuals. + + + :param friends: The friends of this Mutuals. # noqa: E501 + :type friends: int + """ + if self.local_vars_configuration.client_side_validation and friends is None: # noqa: E501 + raise ValueError("Invalid value for `friends`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + friends is not None and friends < 0): # noqa: E501 + raise ValueError("Invalid value for `friends`, must be a value greater than or equal to `0`") # noqa: E501 + + self._friends = friends + + @property + def groups(self): + """Gets the groups of this Mutuals. # noqa: E501 + + + :return: The groups of this Mutuals. # noqa: E501 + :rtype: int + """ + return self._groups + + @groups.setter + def groups(self, groups): + """Sets the groups of this Mutuals. + + + :param groups: The groups of this Mutuals. # noqa: E501 + :type groups: int + """ + if self.local_vars_configuration.client_side_validation and groups is None: # noqa: E501 + raise ValueError("Invalid value for `groups`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + groups is not None and groups < 0): # noqa: E501 + raise ValueError("Invalid value for `groups`, must be a value greater than or equal to `0`") # noqa: E501 + + self._groups = groups + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, Mutuals): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, Mutuals): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index 6af188d4..64aeaf79 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -40,8 +40,8 @@ class Notification(object): 'details': 'str', 'id': 'str', 'message': 'str', - 'seen': 'bool', 'receiver_user_id': 'str', + 'seen': 'bool', 'sender_user_id': 'str', 'sender_username': 'str', 'type': 'NotificationType' @@ -52,14 +52,14 @@ class Notification(object): 'details': 'details', 'id': 'id', 'message': 'message', - 'seen': 'seen', 'receiver_user_id': 'receiverUserId', + 'seen': 'seen', 'sender_user_id': 'senderUserId', 'sender_username': 'senderUsername', 'type': 'type' } - def __init__(self, created_at=None, details='{}', id=None, message=None, seen=False, receiver_user_id=None, sender_user_id=None, sender_username=None, type=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, created_at=None, details='{}', id=None, message=None, receiver_user_id=None, seen=False, sender_user_id=None, sender_username=None, type=None, local_vars_configuration=None): # noqa: E501 """Notification - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -69,8 +69,8 @@ def __init__(self, created_at=None, details='{}', id=None, message=None, seen=Fa self._details = None self._id = None self._message = None - self._seen = None self._receiver_user_id = None + self._seen = None self._sender_user_id = None self._sender_username = None self._type = None @@ -80,10 +80,10 @@ def __init__(self, created_at=None, details='{}', id=None, message=None, seen=Fa self.details = details self.id = id self.message = message - if seen is not None: - self.seen = seen if receiver_user_id is not None: self.receiver_user_id = receiver_user_id + if seen is not None: + self.seen = seen self.sender_user_id = sender_user_id if sender_username is not None: self.sender_username = sender_username @@ -188,29 +188,6 @@ def message(self, message): self._message = message - @property - def seen(self): - """Gets the seen of this Notification. # noqa: E501 - - Not included in notification objects received from the Websocket API # noqa: E501 - - :return: The seen of this Notification. # noqa: E501 - :rtype: bool - """ - return self._seen - - @seen.setter - def seen(self, seen): - """Sets the seen of this Notification. - - Not included in notification objects received from the Websocket API # noqa: E501 - - :param seen: The seen of this Notification. # noqa: E501 - :type seen: bool - """ - - self._seen = seen - @property def receiver_user_id(self): """Gets the receiver_user_id of this Notification. # noqa: E501 @@ -234,6 +211,29 @@ def receiver_user_id(self, receiver_user_id): self._receiver_user_id = receiver_user_id + @property + def seen(self): + """Gets the seen of this Notification. # noqa: E501 + + Not included in notification objects received from the Websocket API # noqa: E501 + + :return: The seen of this Notification. # noqa: E501 + :rtype: bool + """ + return self._seen + + @seen.setter + def seen(self, seen): + """Sets the seen of this Notification. + + Not included in notification objects received from the Websocket API # noqa: E501 + + :param seen: The seen of this Notification. # noqa: E501 + :type seen: bool + """ + + self._seen = seen + @property def sender_user_id(self): """Gets the sender_user_id of this Notification. # noqa: E501 diff --git a/vrchatapi/models/notification_detail_invite.py b/vrchatapi/models/notification_detail_invite.py index 20751eeb..bfbd2a06 100644 --- a/vrchatapi/models/notification_detail_invite.py +++ b/vrchatapi/models/notification_detail_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite_response.py b/vrchatapi/models/notification_detail_invite_response.py index d526282e..a08ac1c2 100644 --- a/vrchatapi/models/notification_detail_invite_response.py +++ b/vrchatapi/models/notification_detail_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite.py b/vrchatapi/models/notification_detail_request_invite.py index 3503d50e..abf82d88 100644 --- a/vrchatapi/models/notification_detail_request_invite.py +++ b/vrchatapi/models/notification_detail_request_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -64,7 +64,7 @@ def __init__(self, platform=None, request_message=None, local_vars_configuration def platform(self): """Gets the platform of this NotificationDetailRequestInvite. # noqa: E501 - TODO: Does this still exist? # noqa: E501 + This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 :return: The platform of this NotificationDetailRequestInvite. # noqa: E501 :rtype: str @@ -75,7 +75,7 @@ def platform(self): def platform(self, platform): """Sets the platform of this NotificationDetailRequestInvite. - TODO: Does this still exist? # noqa: E501 + This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 :param platform: The platform of this NotificationDetailRequestInvite. # noqa: E501 :type platform: str diff --git a/vrchatapi/models/notification_detail_request_invite_response.py b/vrchatapi/models/notification_detail_request_invite_response.py index cbddbe36..d5d110f6 100644 --- a/vrchatapi/models/notification_detail_request_invite_response.py +++ b/vrchatapi/models/notification_detail_request_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_vote_to_kick.py b/vrchatapi/models/notification_detail_vote_to_kick.py index 7303267a..e93e1926 100644 --- a/vrchatapi/models/notification_detail_vote_to_kick.py +++ b/vrchatapi/models/notification_detail_vote_to_kick.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index 947fc08d..cf762d78 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -31,6 +31,7 @@ class NotificationType(object): """ allowed enum values """ + BOOP = "boop" FRIENDREQUEST = "friendRequest" INVITE = "invite" INVITERESPONSE = "inviteResponse" @@ -39,7 +40,7 @@ class NotificationType(object): REQUESTINVITERESPONSE = "requestInviteResponse" VOTETOKICK = "votetokick" - allowable_values = [FRIENDREQUEST, INVITE, INVITERESPONSE, MESSAGE, REQUESTINVITE, REQUESTINVITERESPONSE, VOTETOKICK] # noqa: E501 + allowable_values = [BOOP, FRIENDREQUEST, INVITE, INVITERESPONSE, MESSAGE, REQUESTINVITE, REQUESTINVITERESPONSE, VOTETOKICK] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/notification_v2.py b/vrchatapi/models/notification_v2.py new file mode 100644 index 00000000..095d3e40 --- /dev/null +++ b/vrchatapi/models/notification_v2.py @@ -0,0 +1,850 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class NotificationV2(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'can_delete': 'bool', + 'category': 'str', + 'created_at': 'datetime', + 'data': 'dict(str, str)', + 'details': 'NotificationV2DetailsBoop', + 'expires_at': 'datetime', + 'expiry_after_seen': 'int', + 'id': 'str', + 'ignore_dnd': 'bool', + 'image_url': 'str', + 'is_system': 'bool', + 'link': 'str', + 'link_text': 'str', + 'link_text_key': 'str', + 'message': 'str', + 'message_key': 'str', + 'receiver_user_id': 'str', + 'related_notifications_id': 'str', + 'require_seen': 'bool', + 'responses': 'list[NotificationV2Response]', + 'seen': 'bool', + 'sender_user_id': 'str', + 'sender_username': 'str', + 'title': 'str', + 'title_key': 'str', + 'type': 'NotificationV2Type', + 'updated_at': 'datetime', + 'version': 'int' + } + + attribute_map = { + 'can_delete': 'canDelete', + 'category': 'category', + 'created_at': 'createdAt', + 'data': 'data', + 'details': 'details', + 'expires_at': 'expiresAt', + 'expiry_after_seen': 'expiryAfterSeen', + 'id': 'id', + 'ignore_dnd': 'ignoreDND', + 'image_url': 'imageUrl', + 'is_system': 'isSystem', + 'link': 'link', + 'link_text': 'linkText', + 'link_text_key': 'linkTextKey', + 'message': 'message', + 'message_key': 'messageKey', + 'receiver_user_id': 'receiverUserId', + 'related_notifications_id': 'relatedNotificationsId', + 'require_seen': 'requireSeen', + 'responses': 'responses', + 'seen': 'seen', + 'sender_user_id': 'senderUserId', + 'sender_username': 'senderUsername', + 'title': 'title', + 'title_key': 'titleKey', + 'type': 'type', + 'updated_at': 'updatedAt', + 'version': 'version' + } + + def __init__(self, can_delete=None, category=None, created_at=None, data=None, details=None, expires_at=None, expiry_after_seen=None, id=None, ignore_dnd=None, image_url=None, is_system=None, link=None, link_text=None, link_text_key=None, message=None, message_key=None, receiver_user_id=None, related_notifications_id=None, require_seen=None, responses=None, seen=None, sender_user_id=None, sender_username=None, title=None, title_key=None, type=None, updated_at=None, version=2, local_vars_configuration=None): # noqa: E501 + """NotificationV2 - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._can_delete = None + self._category = None + self._created_at = None + self._data = None + self._details = None + self._expires_at = None + self._expiry_after_seen = None + self._id = None + self._ignore_dnd = None + self._image_url = None + self._is_system = None + self._link = None + self._link_text = None + self._link_text_key = None + self._message = None + self._message_key = None + self._receiver_user_id = None + self._related_notifications_id = None + self._require_seen = None + self._responses = None + self._seen = None + self._sender_user_id = None + self._sender_username = None + self._title = None + self._title_key = None + self._type = None + self._updated_at = None + self._version = None + self.discriminator = None + + self.can_delete = can_delete + self.category = category + self.created_at = created_at + self.data = data + if details is not None: + self.details = details + self.expires_at = expires_at + self.expiry_after_seen = expiry_after_seen + self.id = id + self.ignore_dnd = ignore_dnd + self.image_url = image_url + self.is_system = is_system + self.link = link + self.link_text = link_text + self.link_text_key = link_text_key + self.message = message + self.message_key = message_key + self.receiver_user_id = receiver_user_id + self.related_notifications_id = related_notifications_id + self.require_seen = require_seen + self.responses = responses + self.seen = seen + self.sender_user_id = sender_user_id + self.sender_username = sender_username + self.title = title + self.title_key = title_key + self.type = type + self.updated_at = updated_at + self.version = version + + @property + def can_delete(self): + """Gets the can_delete of this NotificationV2. # noqa: E501 + + + :return: The can_delete of this NotificationV2. # noqa: E501 + :rtype: bool + """ + return self._can_delete + + @can_delete.setter + def can_delete(self, can_delete): + """Sets the can_delete of this NotificationV2. + + + :param can_delete: The can_delete of this NotificationV2. # noqa: E501 + :type can_delete: bool + """ + if self.local_vars_configuration.client_side_validation and can_delete is None: # noqa: E501 + raise ValueError("Invalid value for `can_delete`, must not be `None`") # noqa: E501 + + self._can_delete = can_delete + + @property + def category(self): + """Gets the category of this NotificationV2. # noqa: E501 + + + :return: The category of this NotificationV2. # noqa: E501 + :rtype: str + """ + return self._category + + @category.setter + def category(self, category): + """Sets the category of this NotificationV2. + + + :param category: The category of this NotificationV2. # noqa: E501 + :type category: str + """ + if self.local_vars_configuration.client_side_validation and category is None: # noqa: E501 + raise ValueError("Invalid value for `category`, must not be `None`") # noqa: E501 + + self._category = category + + @property + def created_at(self): + """Gets the created_at of this NotificationV2. # noqa: E501 + + + :return: The created_at of this NotificationV2. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this NotificationV2. + + + :param created_at: The created_at of this NotificationV2. # noqa: E501 + :type created_at: datetime + """ + if self.local_vars_configuration.client_side_validation and created_at is None: # noqa: E501 + raise ValueError("Invalid value for `created_at`, must not be `None`") # noqa: E501 + + self._created_at = created_at + + @property + def data(self): + """Gets the data of this NotificationV2. # noqa: E501 + + + :return: The data of this NotificationV2. # noqa: E501 + :rtype: dict(str, str) + """ + return self._data + + @data.setter + def data(self, data): + """Sets the data of this NotificationV2. + + + :param data: The data of this NotificationV2. # noqa: E501 + :type data: dict(str, str) + """ + if self.local_vars_configuration.client_side_validation and data is None: # noqa: E501 + raise ValueError("Invalid value for `data`, must not be `None`") # noqa: E501 + + self._data = data + + @property + def details(self): + """Gets the details of this NotificationV2. # noqa: E501 + + + :return: The details of this NotificationV2. # noqa: E501 + :rtype: NotificationV2DetailsBoop + """ + return self._details + + @details.setter + def details(self, details): + """Sets the details of this NotificationV2. + + + :param details: The details of this NotificationV2. # noqa: E501 + :type details: NotificationV2DetailsBoop + """ + + self._details = details + + @property + def expires_at(self): + """Gets the expires_at of this NotificationV2. # noqa: E501 + + + :return: The expires_at of this NotificationV2. # noqa: E501 + :rtype: datetime + """ + return self._expires_at + + @expires_at.setter + def expires_at(self, expires_at): + """Sets the expires_at of this NotificationV2. + + + :param expires_at: The expires_at of this NotificationV2. # noqa: E501 + :type expires_at: datetime + """ + if self.local_vars_configuration.client_side_validation and expires_at is None: # noqa: E501 + raise ValueError("Invalid value for `expires_at`, must not be `None`") # noqa: E501 + + self._expires_at = expires_at + + @property + def expiry_after_seen(self): + """Gets the expiry_after_seen of this NotificationV2. # noqa: E501 + + + :return: The expiry_after_seen of this NotificationV2. # noqa: E501 + :rtype: int + """ + return self._expiry_after_seen + + @expiry_after_seen.setter + def expiry_after_seen(self, expiry_after_seen): + """Sets the expiry_after_seen of this NotificationV2. + + + :param expiry_after_seen: The expiry_after_seen of this NotificationV2. # noqa: E501 + :type expiry_after_seen: int + """ + + self._expiry_after_seen = expiry_after_seen + + @property + def id(self): + """Gets the id of this NotificationV2. # noqa: E501 + + + :return: The id of this NotificationV2. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this NotificationV2. + + + :param id: The id of this NotificationV2. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + + self._id = id + + @property + def ignore_dnd(self): + """Gets the ignore_dnd of this NotificationV2. # noqa: E501 + + + :return: The ignore_dnd of this NotificationV2. # noqa: E501 + :rtype: bool + """ + return self._ignore_dnd + + @ignore_dnd.setter + def ignore_dnd(self, ignore_dnd): + """Sets the ignore_dnd of this NotificationV2. + + + :param ignore_dnd: The ignore_dnd of this NotificationV2. # noqa: E501 + :type ignore_dnd: bool + """ + if self.local_vars_configuration.client_side_validation and ignore_dnd is None: # noqa: E501 + raise ValueError("Invalid value for `ignore_dnd`, must not be `None`") # noqa: E501 + + self._ignore_dnd = ignore_dnd + + @property + def image_url(self): + """Gets the image_url of this NotificationV2. # noqa: E501 + + + :return: The image_url of this NotificationV2. # noqa: E501 + :rtype: str + """ + return self._image_url + + @image_url.setter + def image_url(self, image_url): + """Sets the image_url of this NotificationV2. + + + :param image_url: The image_url of this NotificationV2. # noqa: E501 + :type image_url: str + """ + + self._image_url = image_url + + @property + def is_system(self): + """Gets the is_system of this NotificationV2. # noqa: E501 + + + :return: The is_system of this NotificationV2. # noqa: E501 + :rtype: bool + """ + return self._is_system + + @is_system.setter + def is_system(self, is_system): + """Sets the is_system of this NotificationV2. + + + :param is_system: The is_system of this NotificationV2. # noqa: E501 + :type is_system: bool + """ + if self.local_vars_configuration.client_side_validation and is_system is None: # noqa: E501 + raise ValueError("Invalid value for `is_system`, must not be `None`") # noqa: E501 + + self._is_system = is_system + + @property + def link(self): + """Gets the link of this NotificationV2. # noqa: E501 + + + :return: The link of this NotificationV2. # noqa: E501 + :rtype: str + """ + return self._link + + @link.setter + def link(self, link): + """Sets the link of this NotificationV2. + + + :param link: The link of this NotificationV2. # noqa: E501 + :type link: str + """ + if self.local_vars_configuration.client_side_validation and link is None: # noqa: E501 + raise ValueError("Invalid value for `link`, must not be `None`") # noqa: E501 + + self._link = link + + @property + def link_text(self): + """Gets the link_text of this NotificationV2. # noqa: E501 + + + :return: The link_text of this NotificationV2. # noqa: E501 + :rtype: str + """ + return self._link_text + + @link_text.setter + def link_text(self, link_text): + """Sets the link_text of this NotificationV2. + + + :param link_text: The link_text of this NotificationV2. # noqa: E501 + :type link_text: str + """ + if self.local_vars_configuration.client_side_validation and link_text is None: # noqa: E501 + raise ValueError("Invalid value for `link_text`, must not be `None`") # noqa: E501 + + self._link_text = link_text + + @property + def link_text_key(self): + """Gets the link_text_key of this NotificationV2. # noqa: E501 + + + :return: The link_text_key of this NotificationV2. # noqa: E501 + :rtype: str + """ + return self._link_text_key + + @link_text_key.setter + def link_text_key(self, link_text_key): + """Sets the link_text_key of this NotificationV2. + + + :param link_text_key: The link_text_key of this NotificationV2. # noqa: E501 + :type link_text_key: str + """ + + self._link_text_key = link_text_key + + @property + def message(self): + """Gets the message of this NotificationV2. # noqa: E501 + + + :return: The message of this NotificationV2. # noqa: E501 + :rtype: str + """ + return self._message + + @message.setter + def message(self, message): + """Sets the message of this NotificationV2. + + + :param message: The message of this NotificationV2. # noqa: E501 + :type message: str + """ + if self.local_vars_configuration.client_side_validation and message is None: # noqa: E501 + raise ValueError("Invalid value for `message`, must not be `None`") # noqa: E501 + + self._message = message + + @property + def message_key(self): + """Gets the message_key of this NotificationV2. # noqa: E501 + + + :return: The message_key of this NotificationV2. # noqa: E501 + :rtype: str + """ + return self._message_key + + @message_key.setter + def message_key(self, message_key): + """Sets the message_key of this NotificationV2. + + + :param message_key: The message_key of this NotificationV2. # noqa: E501 + :type message_key: str + """ + + self._message_key = message_key + + @property + def receiver_user_id(self): + """Gets the receiver_user_id of this NotificationV2. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The receiver_user_id of this NotificationV2. # noqa: E501 + :rtype: str + """ + return self._receiver_user_id + + @receiver_user_id.setter + def receiver_user_id(self, receiver_user_id): + """Sets the receiver_user_id of this NotificationV2. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param receiver_user_id: The receiver_user_id of this NotificationV2. # noqa: E501 + :type receiver_user_id: str + """ + if self.local_vars_configuration.client_side_validation and receiver_user_id is None: # noqa: E501 + raise ValueError("Invalid value for `receiver_user_id`, must not be `None`") # noqa: E501 + + self._receiver_user_id = receiver_user_id + + @property + def related_notifications_id(self): + """Gets the related_notifications_id of this NotificationV2. # noqa: E501 + + + :return: The related_notifications_id of this NotificationV2. # noqa: E501 + :rtype: str + """ + return self._related_notifications_id + + @related_notifications_id.setter + def related_notifications_id(self, related_notifications_id): + """Sets the related_notifications_id of this NotificationV2. + + + :param related_notifications_id: The related_notifications_id of this NotificationV2. # noqa: E501 + :type related_notifications_id: str + """ + + self._related_notifications_id = related_notifications_id + + @property + def require_seen(self): + """Gets the require_seen of this NotificationV2. # noqa: E501 + + + :return: The require_seen of this NotificationV2. # noqa: E501 + :rtype: bool + """ + return self._require_seen + + @require_seen.setter + def require_seen(self, require_seen): + """Sets the require_seen of this NotificationV2. + + + :param require_seen: The require_seen of this NotificationV2. # noqa: E501 + :type require_seen: bool + """ + if self.local_vars_configuration.client_side_validation and require_seen is None: # noqa: E501 + raise ValueError("Invalid value for `require_seen`, must not be `None`") # noqa: E501 + + self._require_seen = require_seen + + @property + def responses(self): + """Gets the responses of this NotificationV2. # noqa: E501 + + + :return: The responses of this NotificationV2. # noqa: E501 + :rtype: list[NotificationV2Response] + """ + return self._responses + + @responses.setter + def responses(self, responses): + """Sets the responses of this NotificationV2. + + + :param responses: The responses of this NotificationV2. # noqa: E501 + :type responses: list[NotificationV2Response] + """ + if self.local_vars_configuration.client_side_validation and responses is None: # noqa: E501 + raise ValueError("Invalid value for `responses`, must not be `None`") # noqa: E501 + + self._responses = responses + + @property + def seen(self): + """Gets the seen of this NotificationV2. # noqa: E501 + + + :return: The seen of this NotificationV2. # noqa: E501 + :rtype: bool + """ + return self._seen + + @seen.setter + def seen(self, seen): + """Sets the seen of this NotificationV2. + + + :param seen: The seen of this NotificationV2. # noqa: E501 + :type seen: bool + """ + if self.local_vars_configuration.client_side_validation and seen is None: # noqa: E501 + raise ValueError("Invalid value for `seen`, must not be `None`") # noqa: E501 + + self._seen = seen + + @property + def sender_user_id(self): + """Gets the sender_user_id of this NotificationV2. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The sender_user_id of this NotificationV2. # noqa: E501 + :rtype: str + """ + return self._sender_user_id + + @sender_user_id.setter + def sender_user_id(self, sender_user_id): + """Sets the sender_user_id of this NotificationV2. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param sender_user_id: The sender_user_id of this NotificationV2. # noqa: E501 + :type sender_user_id: str + """ + if self.local_vars_configuration.client_side_validation and sender_user_id is None: # noqa: E501 + raise ValueError("Invalid value for `sender_user_id`, must not be `None`") # noqa: E501 + + self._sender_user_id = sender_user_id + + @property + def sender_username(self): + """Gets the sender_username of this NotificationV2. # noqa: E501 + + + :return: The sender_username of this NotificationV2. # noqa: E501 + :rtype: str + """ + return self._sender_username + + @sender_username.setter + def sender_username(self, sender_username): + """Sets the sender_username of this NotificationV2. + + + :param sender_username: The sender_username of this NotificationV2. # noqa: E501 + :type sender_username: str + """ + + self._sender_username = sender_username + + @property + def title(self): + """Gets the title of this NotificationV2. # noqa: E501 + + + :return: The title of this NotificationV2. # noqa: E501 + :rtype: str + """ + return self._title + + @title.setter + def title(self, title): + """Sets the title of this NotificationV2. + + + :param title: The title of this NotificationV2. # noqa: E501 + :type title: str + """ + if self.local_vars_configuration.client_side_validation and title is None: # noqa: E501 + raise ValueError("Invalid value for `title`, must not be `None`") # noqa: E501 + + self._title = title + + @property + def title_key(self): + """Gets the title_key of this NotificationV2. # noqa: E501 + + + :return: The title_key of this NotificationV2. # noqa: E501 + :rtype: str + """ + return self._title_key + + @title_key.setter + def title_key(self, title_key): + """Sets the title_key of this NotificationV2. + + + :param title_key: The title_key of this NotificationV2. # noqa: E501 + :type title_key: str + """ + + self._title_key = title_key + + @property + def type(self): + """Gets the type of this NotificationV2. # noqa: E501 + + + :return: The type of this NotificationV2. # noqa: E501 + :rtype: NotificationV2Type + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this NotificationV2. + + + :param type: The type of this NotificationV2. # noqa: E501 + :type type: NotificationV2Type + """ + if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501 + raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 + + self._type = type + + @property + def updated_at(self): + """Gets the updated_at of this NotificationV2. # noqa: E501 + + + :return: The updated_at of this NotificationV2. # noqa: E501 + :rtype: datetime + """ + return self._updated_at + + @updated_at.setter + def updated_at(self, updated_at): + """Sets the updated_at of this NotificationV2. + + + :param updated_at: The updated_at of this NotificationV2. # noqa: E501 + :type updated_at: datetime + """ + if self.local_vars_configuration.client_side_validation and updated_at is None: # noqa: E501 + raise ValueError("Invalid value for `updated_at`, must not be `None`") # noqa: E501 + + self._updated_at = updated_at + + @property + def version(self): + """Gets the version of this NotificationV2. # noqa: E501 + + + :return: The version of this NotificationV2. # noqa: E501 + :rtype: int + """ + return self._version + + @version.setter + def version(self, version): + """Sets the version of this NotificationV2. + + + :param version: The version of this NotificationV2. # noqa: E501 + :type version: int + """ + if self.local_vars_configuration.client_side_validation and version is None: # noqa: E501 + raise ValueError("Invalid value for `version`, must not be `None`") # noqa: E501 + + self._version = version + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, NotificationV2): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, NotificationV2): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/notification_v2_details_boop.py b/vrchatapi/models/notification_v2_details_boop.py new file mode 100644 index 00000000..ba7f2cf6 --- /dev/null +++ b/vrchatapi/models/notification_v2_details_boop.py @@ -0,0 +1,186 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class NotificationV2DetailsBoop(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'emoji_id': 'str', + 'emoji_version': 'int', + 'inventory_item_id': 'str' + } + + attribute_map = { + 'emoji_id': 'emojiId', + 'emoji_version': 'emojiVersion', + 'inventory_item_id': 'inventoryItemId' + } + + def __init__(self, emoji_id=None, emoji_version=None, inventory_item_id=None, local_vars_configuration=None): # noqa: E501 + """NotificationV2DetailsBoop - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._emoji_id = None + self._emoji_version = None + self._inventory_item_id = None + self.discriminator = None + + self.emoji_id = emoji_id + self.emoji_version = emoji_version + self.inventory_item_id = inventory_item_id + + @property + def emoji_id(self): + """Gets the emoji_id of this NotificationV2DetailsBoop. # noqa: E501 + + Either a FileID or a string constant for default emojis # noqa: E501 + + :return: The emoji_id of this NotificationV2DetailsBoop. # noqa: E501 + :rtype: str + """ + return self._emoji_id + + @emoji_id.setter + def emoji_id(self, emoji_id): + """Sets the emoji_id of this NotificationV2DetailsBoop. + + Either a FileID or a string constant for default emojis # noqa: E501 + + :param emoji_id: The emoji_id of this NotificationV2DetailsBoop. # noqa: E501 + :type emoji_id: str + """ + if self.local_vars_configuration.client_side_validation and emoji_id is None: # noqa: E501 + raise ValueError("Invalid value for `emoji_id`, must not be `None`") # noqa: E501 + + self._emoji_id = emoji_id + + @property + def emoji_version(self): + """Gets the emoji_version of this NotificationV2DetailsBoop. # noqa: E501 + + + :return: The emoji_version of this NotificationV2DetailsBoop. # noqa: E501 + :rtype: int + """ + return self._emoji_version + + @emoji_version.setter + def emoji_version(self, emoji_version): + """Sets the emoji_version of this NotificationV2DetailsBoop. + + + :param emoji_version: The emoji_version of this NotificationV2DetailsBoop. # noqa: E501 + :type emoji_version: int + """ + + self._emoji_version = emoji_version + + @property + def inventory_item_id(self): + """Gets the inventory_item_id of this NotificationV2DetailsBoop. # noqa: E501 + + + :return: The inventory_item_id of this NotificationV2DetailsBoop. # noqa: E501 + :rtype: str + """ + return self._inventory_item_id + + @inventory_item_id.setter + def inventory_item_id(self, inventory_item_id): + """Sets the inventory_item_id of this NotificationV2DetailsBoop. + + + :param inventory_item_id: The inventory_item_id of this NotificationV2DetailsBoop. # noqa: E501 + :type inventory_item_id: str + """ + if self.local_vars_configuration.client_side_validation and inventory_item_id is None: # noqa: E501 + raise ValueError("Invalid value for `inventory_item_id`, must not be `None`") # noqa: E501 + + self._inventory_item_id = inventory_item_id + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, NotificationV2DetailsBoop): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, NotificationV2DetailsBoop): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/notification_v2_response.py b/vrchatapi/models/notification_v2_response.py new file mode 100644 index 00000000..cd9f33be --- /dev/null +++ b/vrchatapi/models/notification_v2_response.py @@ -0,0 +1,238 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class NotificationV2Response(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'data': 'str', + 'icon': 'str', + 'text': 'str', + 'text_key': 'str', + 'type': 'str' + } + + attribute_map = { + 'data': 'data', + 'icon': 'icon', + 'text': 'text', + 'text_key': 'textKey', + 'type': 'type' + } + + def __init__(self, data=None, icon=None, text=None, text_key=None, type=None, local_vars_configuration=None): # noqa: E501 + """NotificationV2Response - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._data = None + self._icon = None + self._text = None + self._text_key = None + self._type = None + self.discriminator = None + + self.data = data + self.icon = icon + self.text = text + self.text_key = text_key + self.type = type + + @property + def data(self): + """Gets the data of this NotificationV2Response. # noqa: E501 + + + :return: The data of this NotificationV2Response. # noqa: E501 + :rtype: str + """ + return self._data + + @data.setter + def data(self, data): + """Sets the data of this NotificationV2Response. + + + :param data: The data of this NotificationV2Response. # noqa: E501 + :type data: str + """ + if self.local_vars_configuration.client_side_validation and data is None: # noqa: E501 + raise ValueError("Invalid value for `data`, must not be `None`") # noqa: E501 + + self._data = data + + @property + def icon(self): + """Gets the icon of this NotificationV2Response. # noqa: E501 + + + :return: The icon of this NotificationV2Response. # noqa: E501 + :rtype: str + """ + return self._icon + + @icon.setter + def icon(self, icon): + """Sets the icon of this NotificationV2Response. + + + :param icon: The icon of this NotificationV2Response. # noqa: E501 + :type icon: str + """ + if self.local_vars_configuration.client_side_validation and icon is None: # noqa: E501 + raise ValueError("Invalid value for `icon`, must not be `None`") # noqa: E501 + + self._icon = icon + + @property + def text(self): + """Gets the text of this NotificationV2Response. # noqa: E501 + + + :return: The text of this NotificationV2Response. # noqa: E501 + :rtype: str + """ + return self._text + + @text.setter + def text(self, text): + """Sets the text of this NotificationV2Response. + + + :param text: The text of this NotificationV2Response. # noqa: E501 + :type text: str + """ + if self.local_vars_configuration.client_side_validation and text is None: # noqa: E501 + raise ValueError("Invalid value for `text`, must not be `None`") # noqa: E501 + + self._text = text + + @property + def text_key(self): + """Gets the text_key of this NotificationV2Response. # noqa: E501 + + + :return: The text_key of this NotificationV2Response. # noqa: E501 + :rtype: str + """ + return self._text_key + + @text_key.setter + def text_key(self, text_key): + """Sets the text_key of this NotificationV2Response. + + + :param text_key: The text_key of this NotificationV2Response. # noqa: E501 + :type text_key: str + """ + + self._text_key = text_key + + @property + def type(self): + """Gets the type of this NotificationV2Response. # noqa: E501 + + + :return: The type of this NotificationV2Response. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this NotificationV2Response. + + + :param type: The type of this NotificationV2Response. # noqa: E501 + :type type: str + """ + if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501 + raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 + + self._type = type + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, NotificationV2Response): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, NotificationV2Response): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/notification_v2_type.py b/vrchatapi/models/notification_v2_type.py new file mode 100644 index 00000000..117c17ed --- /dev/null +++ b/vrchatapi/models/notification_v2_type.py @@ -0,0 +1,132 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class NotificationV2Type(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + AVATARREVIEW_FAILURE = "avatarreview.failure" + AVATARREVIEW_SUCCESS = "avatarreview.success" + BADGE_EARNED = "badge.earned" + BOOP = "boop" + ECONOMY_ALERT = "economy.alert" + ECONOMY_RECEIVED_GIFT = "economy.received.gift" + EVENT_ANNOUNCEMENT = "event.announcement" + GROUP_ANNOUNCEMENT = "group.announcement" + GROUP_EVENT_CREATED = "group.event.created" + GROUP_EVENT_STARTING = "group.event.starting" + GROUP_INFORMATIVE = "group.informative" + GROUP_INVITE = "group.invite" + GROUP_JOINREQUEST = "group.joinRequest" + GROUP_POST = "group.post" + GROUP_TRANSFER = "group.transfer" + INVITE_INSTANCE_CONTENTGATED = "invite.instance.contentGated" + MODERATION_CONTENTRESTRICTION = "moderation.contentrestriction" + MODERATION_NOTICE = "moderation.notice" + MODERATION_REPORT_CLOSED = "moderation.report.closed" + MODERATION_WARNING_GROUP = "moderation.warning.group" + PROMO_REDEEM = "promo.redeem" + TEXT_ADVENTURE = "text.adventure" + VRCPLUS_GIFT = "vrcplus.gift" + + allowable_values = [AVATARREVIEW_FAILURE, AVATARREVIEW_SUCCESS, BADGE_EARNED, BOOP, ECONOMY_ALERT, ECONOMY_RECEIVED_GIFT, EVENT_ANNOUNCEMENT, GROUP_ANNOUNCEMENT, GROUP_EVENT_CREATED, GROUP_EVENT_STARTING, GROUP_INFORMATIVE, GROUP_INVITE, GROUP_JOINREQUEST, GROUP_POST, GROUP_TRANSFER, INVITE_INSTANCE_CONTENTGATED, MODERATION_CONTENTRESTRICTION, MODERATION_NOTICE, MODERATION_REPORT_CLOSED, MODERATION_WARNING_GROUP, PROMO_REDEEM, TEXT_ADVENTURE, VRCPLUS_GIFT] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """NotificationV2Type - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, NotificationV2Type): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, NotificationV2Type): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/ok_status.py b/vrchatapi/models/ok_status.py index 89c62fce..1437bc0f 100644 --- a/vrchatapi/models/ok_status.py +++ b/vrchatapi/models/ok_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ok_status2.py b/vrchatapi/models/ok_status2.py new file mode 100644 index 00000000..17f19dee --- /dev/null +++ b/vrchatapi/models/ok_status2.py @@ -0,0 +1,134 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class OkStatus2(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'ok': 'str' + } + + attribute_map = { + 'ok': 'OK' + } + + def __init__(self, ok=None, local_vars_configuration=None): # noqa: E501 + """OkStatus2 - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._ok = None + self.discriminator = None + + self.ok = ok + + @property + def ok(self): + """Gets the ok of this OkStatus2. # noqa: E501 + + The actual status itself # noqa: E501 + + :return: The ok of this OkStatus2. # noqa: E501 + :rtype: str + """ + return self._ok + + @ok.setter + def ok(self, ok): + """Sets the ok of this OkStatus2. + + The actual status itself # noqa: E501 + + :param ok: The ok of this OkStatus2. # noqa: E501 + :type ok: str + """ + if self.local_vars_configuration.client_side_validation and ok is None: # noqa: E501 + raise ValueError("Invalid value for `ok`, must not be `None`") # noqa: E501 + + self._ok = ok + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, OkStatus2): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, OkStatus2): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index f410ad70..5d45d320 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option_short.py b/vrchatapi/models/order_option_short.py new file mode 100644 index 00000000..54d70750 --- /dev/null +++ b/vrchatapi/models/order_option_short.py @@ -0,0 +1,111 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class OrderOptionShort(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + ASC = "asc" + DESC = "desc" + + allowable_values = [ASC, DESC] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """OrderOptionShort - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, OrderOptionShort): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, OrderOptionShort): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/paginated_calendar_event_list.py b/vrchatapi/models/paginated_calendar_event_list.py index 02aebedb..4cd3beff 100644 --- a/vrchatapi/models/paginated_calendar_event_list.py +++ b/vrchatapi/models/paginated_calendar_event_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,34 +36,57 @@ class PaginatedCalendarEventList(object): and the value is json key in definition. """ openapi_types = { + 'has_next': 'bool', 'results': 'list[CalendarEvent]', - 'total_count': 'int', - 'has_next': 'bool' + 'total_count': 'int' } attribute_map = { + 'has_next': 'hasNext', 'results': 'results', - 'total_count': 'totalCount', - 'has_next': 'hasNext' + 'total_count': 'totalCount' } - def __init__(self, results=None, total_count=None, has_next=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, has_next=None, results=None, total_count=None, local_vars_configuration=None): # noqa: E501 """PaginatedCalendarEventList - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration + self._has_next = None self._results = None self._total_count = None - self._has_next = None self.discriminator = None + if has_next is not None: + self.has_next = has_next if results is not None: self.results = results if total_count is not None: self.total_count = total_count - if has_next is not None: - self.has_next = has_next + + @property + def has_next(self): + """Gets the has_next of this PaginatedCalendarEventList. # noqa: E501 + + Whether there are more results after this page. # noqa: E501 + + :return: The has_next of this PaginatedCalendarEventList. # noqa: E501 + :rtype: bool + """ + return self._has_next + + @has_next.setter + def has_next(self, has_next): + """Sets the has_next of this PaginatedCalendarEventList. + + Whether there are more results after this page. # noqa: E501 + + :param has_next: The has_next of this PaginatedCalendarEventList. # noqa: E501 + :type has_next: bool + """ + + self._has_next = has_next @property def results(self): @@ -111,29 +134,6 @@ def total_count(self, total_count): self._total_count = total_count - @property - def has_next(self): - """Gets the has_next of this PaginatedCalendarEventList. # noqa: E501 - - Whether there are more results after this page. # noqa: E501 - - :return: The has_next of this PaginatedCalendarEventList. # noqa: E501 - :rtype: bool - """ - return self._has_next - - @has_next.setter - def has_next(self, has_next): - """Sets the has_next of this PaginatedCalendarEventList. - - Whether there are more results after this page. # noqa: E501 - - :param has_next: The has_next of this PaginatedCalendarEventList. # noqa: E501 - :type has_next: bool - """ - - self._has_next = has_next - def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index 62acae04..4e4ea81f 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,34 +36,57 @@ class PaginatedGroupAuditLogEntryList(object): and the value is json key in definition. """ openapi_types = { + 'has_next': 'bool', 'results': 'list[GroupAuditLogEntry]', - 'total_count': 'int', - 'has_next': 'bool' + 'total_count': 'int' } attribute_map = { + 'has_next': 'hasNext', 'results': 'results', - 'total_count': 'totalCount', - 'has_next': 'hasNext' + 'total_count': 'totalCount' } - def __init__(self, results=None, total_count=None, has_next=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, has_next=None, results=None, total_count=None, local_vars_configuration=None): # noqa: E501 """PaginatedGroupAuditLogEntryList - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration + self._has_next = None self._results = None self._total_count = None - self._has_next = None self.discriminator = None + if has_next is not None: + self.has_next = has_next if results is not None: self.results = results if total_count is not None: self.total_count = total_count - if has_next is not None: - self.has_next = has_next + + @property + def has_next(self): + """Gets the has_next of this PaginatedGroupAuditLogEntryList. # noqa: E501 + + Whether there are more results after this page. # noqa: E501 + + :return: The has_next of this PaginatedGroupAuditLogEntryList. # noqa: E501 + :rtype: bool + """ + return self._has_next + + @has_next.setter + def has_next(self, has_next): + """Sets the has_next of this PaginatedGroupAuditLogEntryList. + + Whether there are more results after this page. # noqa: E501 + + :param has_next: The has_next of this PaginatedGroupAuditLogEntryList. # noqa: E501 + :type has_next: bool + """ + + self._has_next = has_next @property def results(self): @@ -111,29 +134,6 @@ def total_count(self, total_count): self._total_count = total_count - @property - def has_next(self): - """Gets the has_next of this PaginatedGroupAuditLogEntryList. # noqa: E501 - - Whether there are more results after this page. # noqa: E501 - - :return: The has_next of this PaginatedGroupAuditLogEntryList. # noqa: E501 - :rtype: bool - """ - return self._has_next - - @has_next.setter - def has_next(self, has_next): - """Sets the has_next of this PaginatedGroupAuditLogEntryList. - - Whether there are more results after this page. # noqa: E501 - - :param has_next: The has_next of this PaginatedGroupAuditLogEntryList. # noqa: E501 - :type has_next: bool - """ - - self._has_next = has_next - def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/paginated_moderation_report_list.py b/vrchatapi/models/paginated_moderation_report_list.py new file mode 100644 index 00000000..cbeb212f --- /dev/null +++ b/vrchatapi/models/paginated_moderation_report_list.py @@ -0,0 +1,189 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class PaginatedModerationReportList(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'has_next': 'bool', + 'results': 'list[ModerationReport]', + 'total_count': 'int' + } + + attribute_map = { + 'has_next': 'hasNext', + 'results': 'results', + 'total_count': 'totalCount' + } + + def __init__(self, has_next=None, results=None, total_count=None, local_vars_configuration=None): # noqa: E501 + """PaginatedModerationReportList - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._has_next = None + self._results = None + self._total_count = None + self.discriminator = None + + if has_next is not None: + self.has_next = has_next + if results is not None: + self.results = results + if total_count is not None: + self.total_count = total_count + + @property + def has_next(self): + """Gets the has_next of this PaginatedModerationReportList. # noqa: E501 + + Whether there are more results after this page. # noqa: E501 + + :return: The has_next of this PaginatedModerationReportList. # noqa: E501 + :rtype: bool + """ + return self._has_next + + @has_next.setter + def has_next(self, has_next): + """Sets the has_next of this PaginatedModerationReportList. + + Whether there are more results after this page. # noqa: E501 + + :param has_next: The has_next of this PaginatedModerationReportList. # noqa: E501 + :type has_next: bool + """ + + self._has_next = has_next + + @property + def results(self): + """Gets the results of this PaginatedModerationReportList. # noqa: E501 + + The list of moderation reports. # noqa: E501 + + :return: The results of this PaginatedModerationReportList. # noqa: E501 + :rtype: list[ModerationReport] + """ + return self._results + + @results.setter + def results(self, results): + """Sets the results of this PaginatedModerationReportList. + + The list of moderation reports. # noqa: E501 + + :param results: The results of this PaginatedModerationReportList. # noqa: E501 + :type results: list[ModerationReport] + """ + + self._results = results + + @property + def total_count(self): + """Gets the total_count of this PaginatedModerationReportList. # noqa: E501 + + The total number of results that the query would return if there were no pagination. # noqa: E501 + + :return: The total_count of this PaginatedModerationReportList. # noqa: E501 + :rtype: int + """ + return self._total_count + + @total_count.setter + def total_count(self, total_count): + """Sets the total_count of this PaginatedModerationReportList. + + The total number of results that the query would return if there were no pagination. # noqa: E501 + + :param total_count: The total_count of this PaginatedModerationReportList. # noqa: E501 + :type total_count: int + """ + + self._total_count = total_count + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, PaginatedModerationReportList): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, PaginatedModerationReportList): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index 41981e73..f9e6a16f 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/pending2_fa_result.py b/vrchatapi/models/pending2_fa_result.py index ad815ebc..f81d55ae 100644 --- a/vrchatapi/models/pending2_fa_result.py +++ b/vrchatapi/models/pending2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/performance_limiter_info.py b/vrchatapi/models/performance_limiter_info.py index 0d0b986f..820788b3 100644 --- a/vrchatapi/models/performance_limiter_info.py +++ b/vrchatapi/models/performance_limiter_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/performance_ratings.py b/vrchatapi/models/performance_ratings.py index 87c84c99..b247c739 100644 --- a/vrchatapi/models/performance_ratings.py +++ b/vrchatapi/models/performance_ratings.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -31,14 +31,14 @@ class PerformanceRatings(object): """ allowed enum values """ - NONE = "None" EXCELLENT = "Excellent" GOOD = "Good" MEDIUM = "Medium" + NONE = "None" POOR = "Poor" VERYPOOR = "VeryPoor" - allowable_values = [NONE, EXCELLENT, GOOD, MEDIUM, POOR, VERYPOOR] # noqa: E501 + allowable_values = [EXCELLENT, GOOD, MEDIUM, NONE, POOR, VERYPOOR] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index bd7da35d..ff5bc147 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,76 +36,76 @@ class Permission(object): and the value is json key in definition. """ openapi_types = { - 'display_name': 'str', + 'data': 'PermissionData', 'description': 'str', + 'display_name': 'str', 'id': 'str', - 'owner_display_name': 'str', 'name': 'str', + 'owner_display_name': 'str', 'owner_id': 'str', - 'type': 'str', - 'data': 'object' + 'type': 'str' } attribute_map = { - 'display_name': 'displayName', + 'data': 'data', 'description': 'description', + 'display_name': 'displayName', 'id': 'id', - 'owner_display_name': 'ownerDisplayName', 'name': 'name', + 'owner_display_name': 'ownerDisplayName', 'owner_id': 'ownerId', - 'type': 'type', - 'data': 'data' + 'type': 'type' } - def __init__(self, display_name=None, description=None, id=None, owner_display_name=None, name=None, owner_id=None, type=None, data=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, data=None, description=None, display_name=None, id=None, name=None, owner_display_name=None, owner_id=None, type=None, local_vars_configuration=None): # noqa: E501 """Permission - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._display_name = None + self._data = None self._description = None + self._display_name = None self._id = None - self._owner_display_name = None self._name = None + self._owner_display_name = None self._owner_id = None self._type = None - self._data = None self.discriminator = None - if display_name is not None: - self.display_name = display_name + if data is not None: + self.data = data if description is not None: self.description = description + if display_name is not None: + self.display_name = display_name self.id = id - self.owner_display_name = owner_display_name self.name = name + self.owner_display_name = owner_display_name self.owner_id = owner_id if type is not None: self.type = type - if data is not None: - self.data = data @property - def display_name(self): - """Gets the display_name of this Permission. # noqa: E501 + def data(self): + """Gets the data of this Permission. # noqa: E501 - :return: The display_name of this Permission. # noqa: E501 - :rtype: str + :return: The data of this Permission. # noqa: E501 + :rtype: PermissionData """ - return self._display_name + return self._data - @display_name.setter - def display_name(self, display_name): - """Sets the display_name of this Permission. + @data.setter + def data(self, data): + """Sets the data of this Permission. - :param display_name: The display_name of this Permission. # noqa: E501 - :type display_name: str + :param data: The data of this Permission. # noqa: E501 + :type data: PermissionData """ - self._display_name = display_name + self._data = data @property def description(self): @@ -128,6 +128,27 @@ def description(self, description): self._description = description + @property + def display_name(self): + """Gets the display_name of this Permission. # noqa: E501 + + + :return: The display_name of this Permission. # noqa: E501 + :rtype: str + """ + return self._display_name + + @display_name.setter + def display_name(self, display_name): + """Sets the display_name of this Permission. + + + :param display_name: The display_name of this Permission. # noqa: E501 + :type display_name: str + """ + + self._display_name = display_name + @property def id(self): """Gets the id of this Permission. # noqa: E501 @@ -151,29 +172,6 @@ def id(self, id): self._id = id - @property - def owner_display_name(self): - """Gets the owner_display_name of this Permission. # noqa: E501 - - - :return: The owner_display_name of this Permission. # noqa: E501 - :rtype: str - """ - return self._owner_display_name - - @owner_display_name.setter - def owner_display_name(self, owner_display_name): - """Sets the owner_display_name of this Permission. - - - :param owner_display_name: The owner_display_name of this Permission. # noqa: E501 - :type owner_display_name: str - """ - if self.local_vars_configuration.client_side_validation and owner_display_name is None: # noqa: E501 - raise ValueError("Invalid value for `owner_display_name`, must not be `None`") # noqa: E501 - - self._owner_display_name = owner_display_name - @property def name(self): """Gets the name of this Permission. # noqa: E501 @@ -200,6 +198,29 @@ def name(self, name): self._name = name + @property + def owner_display_name(self): + """Gets the owner_display_name of this Permission. # noqa: E501 + + + :return: The owner_display_name of this Permission. # noqa: E501 + :rtype: str + """ + return self._owner_display_name + + @owner_display_name.setter + def owner_display_name(self, owner_display_name): + """Sets the owner_display_name of this Permission. + + + :param owner_display_name: The owner_display_name of this Permission. # noqa: E501 + :type owner_display_name: str + """ + if self.local_vars_configuration.client_side_validation and owner_display_name is None: # noqa: E501 + raise ValueError("Invalid value for `owner_display_name`, must not be `None`") # noqa: E501 + + self._owner_display_name = owner_display_name + @property def owner_id(self): """Gets the owner_id of this Permission. # noqa: E501 @@ -246,27 +267,6 @@ def type(self, type): self._type = type - @property - def data(self): - """Gets the data of this Permission. # noqa: E501 - - - :return: The data of this Permission. # noqa: E501 - :rtype: object - """ - return self._data - - @data.setter - def data(self, data): - """Sets the data of this Permission. - - - :param data: The data of this Permission. # noqa: E501 - :type data: object - """ - - self._data = data - def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/permission_data.py b/vrchatapi/models/permission_data.py new file mode 100644 index 00000000..e549f1ed --- /dev/null +++ b/vrchatapi/models/permission_data.py @@ -0,0 +1,245 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class PermissionData(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'badges': 'list[str]', + 'max': 'int', + 'max_favorite_groups': 'dict(str, int)', + 'max_favorites_per_group': 'dict(str, int)', + 'tags': 'list[str]' + } + + attribute_map = { + 'badges': 'badges', + 'max': 'max', + 'max_favorite_groups': 'maxFavoriteGroups', + 'max_favorites_per_group': 'maxFavoritesPerGroup', + 'tags': 'tags' + } + + def __init__(self, badges=None, max=None, max_favorite_groups=None, max_favorites_per_group=None, tags=None, local_vars_configuration=None): # noqa: E501 + """PermissionData - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._badges = None + self._max = None + self._max_favorite_groups = None + self._max_favorites_per_group = None + self._tags = None + self.discriminator = None + + if badges is not None: + self.badges = badges + if max is not None: + self.max = max + if max_favorite_groups is not None: + self.max_favorite_groups = max_favorite_groups + if max_favorites_per_group is not None: + self.max_favorites_per_group = max_favorites_per_group + if tags is not None: + self.tags = tags + + @property + def badges(self): + """Gets the badges of this PermissionData. # noqa: E501 + + Badges afforded the user by this permission # noqa: E501 + + :return: The badges of this PermissionData. # noqa: E501 + :rtype: list[str] + """ + return self._badges + + @badges.setter + def badges(self, badges): + """Sets the badges of this PermissionData. + + Badges afforded the user by this permission # noqa: E501 + + :param badges: The badges of this PermissionData. # noqa: E501 + :type badges: list[str] + """ + + self._badges = badges + + @property + def max(self): + """Gets the max of this PermissionData. # noqa: E501 + + Maximum value afforded the user by this permission # noqa: E501 + + :return: The max of this PermissionData. # noqa: E501 + :rtype: int + """ + return self._max + + @max.setter + def max(self, max): + """Sets the max of this PermissionData. + + Maximum value afforded the user by this permission # noqa: E501 + + :param max: The max of this PermissionData. # noqa: E501 + :type max: int + """ + + self._max = max + + @property + def max_favorite_groups(self): + """Gets the max_favorite_groups of this PermissionData. # noqa: E501 + + Maximum favorite groups afforded the user by this permission # noqa: E501 + + :return: The max_favorite_groups of this PermissionData. # noqa: E501 + :rtype: dict(str, int) + """ + return self._max_favorite_groups + + @max_favorite_groups.setter + def max_favorite_groups(self, max_favorite_groups): + """Sets the max_favorite_groups of this PermissionData. + + Maximum favorite groups afforded the user by this permission # noqa: E501 + + :param max_favorite_groups: The max_favorite_groups of this PermissionData. # noqa: E501 + :type max_favorite_groups: dict(str, int) + """ + + self._max_favorite_groups = max_favorite_groups + + @property + def max_favorites_per_group(self): + """Gets the max_favorites_per_group of this PermissionData. # noqa: E501 + + Maximum favorites per group afforded the user by this permission # noqa: E501 + + :return: The max_favorites_per_group of this PermissionData. # noqa: E501 + :rtype: dict(str, int) + """ + return self._max_favorites_per_group + + @max_favorites_per_group.setter + def max_favorites_per_group(self, max_favorites_per_group): + """Sets the max_favorites_per_group of this PermissionData. + + Maximum favorites per group afforded the user by this permission # noqa: E501 + + :param max_favorites_per_group: The max_favorites_per_group of this PermissionData. # noqa: E501 + :type max_favorites_per_group: dict(str, int) + """ + + self._max_favorites_per_group = max_favorites_per_group + + @property + def tags(self): + """Gets the tags of this PermissionData. # noqa: E501 + + Tags afforded the user by this permission # noqa: E501 + + :return: The tags of this PermissionData. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this PermissionData. + + Tags afforded the user by this permission # noqa: E501 + + :param tags: The tags of this PermissionData. # noqa: E501 + :type tags: list[str] + """ + + self._tags = tags + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, PermissionData): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, PermissionData): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/platform_build_info.py b/vrchatapi/models/platform_build_info.py index 788266f9..6ceda152 100644 --- a/vrchatapi/models/platform_build_info.py +++ b/vrchatapi/models/platform_build_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index 3b35e7be..e146c9f4 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index 2e12c94b..66b9d1e5 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -32,16 +32,16 @@ class PlayerModerationType(object): allowed enum values """ BLOCK = "block" + HIDEAVATAR = "hideAvatar" + INTERACTOFF = "interactOff" + INTERACTON = "interactOn" MUTE = "mute" MUTECHAT = "muteChat" + SHOWAVATAR = "showAvatar" UNMUTE = "unmute" UNMUTECHAT = "unmuteChat" - HIDEAVATAR = "hideAvatar" - SHOWAVATAR = "showAvatar" - INTERACTON = "interactOn" - INTERACTOFF = "interactOff" - allowable_values = [BLOCK, MUTE, MUTECHAT, UNMUTE, UNMUTECHAT, HIDEAVATAR, SHOWAVATAR, INTERACTON, INTERACTOFF] # noqa: E501 + allowable_values = [BLOCK, HIDEAVATAR, INTERACTOFF, INTERACTON, MUTE, MUTECHAT, SHOWAVATAR, UNMUTE, UNMUTECHAT] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/print_files.py b/vrchatapi/models/print_files.py index 8dc584a2..47efb418 100644 --- a/vrchatapi/models/print_files.py +++ b/vrchatapi/models/print_files.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product.py b/vrchatapi/models/product.py index 922e1b33..edac9be5 100644 --- a/vrchatapi/models/product.py +++ b/vrchatapi/models/product.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -100,8 +100,10 @@ def __init__(self, archived=None, created=None, description=None, display_name=N self._use_for_subscriber_list = None self.discriminator = None - self.archived = archived - self.created = created + if archived is not None: + self.archived = archived + if created is not None: + self.created = created self.description = description self.display_name = display_name if group_access is not None: @@ -141,8 +143,6 @@ def archived(self, archived): :param archived: The archived of this Product. # noqa: E501 :type archived: bool """ - if self.local_vars_configuration.client_side_validation and archived is None: # noqa: E501 - raise ValueError("Invalid value for `archived`, must not be `None`") # noqa: E501 self._archived = archived @@ -164,8 +164,6 @@ def created(self, created): :param created: The created of this Product. # noqa: E501 :type created: datetime """ - if self.local_vars_configuration.client_side_validation and created is None: # noqa: E501 - raise ValueError("Invalid value for `created`, must not be `None`") # noqa: E501 self._created = created diff --git a/vrchatapi/models/product_listing.py b/vrchatapi/models/product_listing.py index 6f6c2ff0..4ba13e0b 100644 --- a/vrchatapi/models/product_listing.py +++ b/vrchatapi/models/product_listing.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -63,9 +63,13 @@ class ProductListing(object): 'refundable': 'bool', 'seller_display_name': 'str', 'seller_id': 'str', + 'sold_by_vrc': 'bool', 'stackable': 'bool', 'store_ids': 'list[str]', - 'tags': 'list[str]' + 'subtitle': 'str', + 'tags': 'list[str]', + 'vrc_plus_discount_price': 'int', + 'when_to_expire': 'datetime' } attribute_map = { @@ -96,12 +100,16 @@ class ProductListing(object): 'refundable': 'refundable', 'seller_display_name': 'sellerDisplayName', 'seller_id': 'sellerId', + 'sold_by_vrc': 'soldByVrc', 'stackable': 'stackable', 'store_ids': 'storeIds', - 'tags': 'tags' + 'subtitle': 'subtitle', + 'tags': 'tags', + 'vrc_plus_discount_price': 'vrcPlusDiscountPrice', + 'when_to_expire': 'whenToExpire' } - def __init__(self, active=None, buyer_refundable=None, description=None, display_name=None, duration=None, duration_type=None, group_icon=None, group_id=None, group_name=None, has_avatar=None, has_udon=None, hydrated_products=None, id=None, image_id=None, image_url=None, listing_type=None, listing_variants=None, permanent=None, price_tokens=None, product_ids=None, product_type=None, products=None, quantifiable=None, recurrable=None, refundable=None, seller_display_name=None, seller_id=None, stackable=None, store_ids=None, tags=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, active=None, buyer_refundable=None, description=None, display_name=None, duration=None, duration_type=None, group_icon=None, group_id=None, group_name=None, has_avatar=None, has_udon=None, hydrated_products=None, id=None, image_id=None, image_url=None, listing_type=None, listing_variants=None, permanent=None, price_tokens=None, product_ids=None, product_type=None, products=None, quantifiable=None, recurrable=None, refundable=None, seller_display_name=None, seller_id=None, sold_by_vrc=None, stackable=None, store_ids=None, subtitle=None, tags=None, vrc_plus_discount_price=None, when_to_expire=None, local_vars_configuration=None): # noqa: E501 """ProductListing - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -134,9 +142,13 @@ def __init__(self, active=None, buyer_refundable=None, description=None, display self._refundable = None self._seller_display_name = None self._seller_id = None + self._sold_by_vrc = None self._stackable = None self._store_ids = None + self._subtitle = None self._tags = None + self._vrc_plus_discount_price = None + self._when_to_expire = None self.discriminator = None self.active = active @@ -173,10 +185,17 @@ def __init__(self, active=None, buyer_refundable=None, description=None, display self.refundable = refundable self.seller_display_name = seller_display_name self.seller_id = seller_id + if sold_by_vrc is not None: + self.sold_by_vrc = sold_by_vrc self.stackable = stackable self.store_ids = store_ids + if subtitle is not None: + self.subtitle = subtitle if tags is not None: self.tags = tags + if vrc_plus_discount_price is not None: + self.vrc_plus_discount_price = vrc_plus_discount_price + self.when_to_expire = when_to_expire @property def active(self): @@ -777,6 +796,27 @@ def seller_id(self, seller_id): self._seller_id = seller_id + @property + def sold_by_vrc(self): + """Gets the sold_by_vrc of this ProductListing. # noqa: E501 + + + :return: The sold_by_vrc of this ProductListing. # noqa: E501 + :rtype: bool + """ + return self._sold_by_vrc + + @sold_by_vrc.setter + def sold_by_vrc(self, sold_by_vrc): + """Sets the sold_by_vrc of this ProductListing. + + + :param sold_by_vrc: The sold_by_vrc of this ProductListing. # noqa: E501 + :type sold_by_vrc: bool + """ + + self._sold_by_vrc = sold_by_vrc + @property def stackable(self): """Gets the stackable of this ProductListing. # noqa: E501 @@ -823,6 +863,27 @@ def store_ids(self, store_ids): self._store_ids = store_ids + @property + def subtitle(self): + """Gets the subtitle of this ProductListing. # noqa: E501 + + + :return: The subtitle of this ProductListing. # noqa: E501 + :rtype: str + """ + return self._subtitle + + @subtitle.setter + def subtitle(self, subtitle): + """Sets the subtitle of this ProductListing. + + + :param subtitle: The subtitle of this ProductListing. # noqa: E501 + :type subtitle: str + """ + + self._subtitle = subtitle + @property def tags(self): """Gets the tags of this ProductListing. # noqa: E501 @@ -844,6 +905,48 @@ def tags(self, tags): self._tags = tags + @property + def vrc_plus_discount_price(self): + """Gets the vrc_plus_discount_price of this ProductListing. # noqa: E501 + + + :return: The vrc_plus_discount_price of this ProductListing. # noqa: E501 + :rtype: int + """ + return self._vrc_plus_discount_price + + @vrc_plus_discount_price.setter + def vrc_plus_discount_price(self, vrc_plus_discount_price): + """Sets the vrc_plus_discount_price of this ProductListing. + + + :param vrc_plus_discount_price: The vrc_plus_discount_price of this ProductListing. # noqa: E501 + :type vrc_plus_discount_price: int + """ + + self._vrc_plus_discount_price = vrc_plus_discount_price + + @property + def when_to_expire(self): + """Gets the when_to_expire of this ProductListing. # noqa: E501 + + + :return: The when_to_expire of this ProductListing. # noqa: E501 + :rtype: datetime + """ + return self._when_to_expire + + @when_to_expire.setter + def when_to_expire(self, when_to_expire): + """Sets the when_to_expire of this ProductListing. + + + :param when_to_expire: The when_to_expire of this ProductListing. # noqa: E501 + :type when_to_expire: datetime + """ + + self._when_to_expire = when_to_expire + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/product_listing_type.py b/vrchatapi/models/product_listing_type.py index e8736dce..88d9465c 100644 --- a/vrchatapi/models/product_listing_type.py +++ b/vrchatapi/models/product_listing_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -31,9 +31,11 @@ class ProductListingType(object): """ allowed enum values """ + DURATION = "duration" + PERMANENT = "permanent" SUBSCRIPTION = "subscription" - allowable_values = [SUBSCRIPTION] # noqa: E501 + allowable_values = [DURATION, PERMANENT, SUBSCRIPTION] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/product_listing_variant.py b/vrchatapi/models/product_listing_variant.py index 3890c127..f5aee26b 100644 --- a/vrchatapi/models/product_listing_variant.py +++ b/vrchatapi/models/product_listing_variant.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_purchase.py b/vrchatapi/models/product_purchase.py new file mode 100644 index 00000000..c78e6982 --- /dev/null +++ b/vrchatapi/models/product_purchase.py @@ -0,0 +1,1105 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class ProductPurchase(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'buyer_display_name': 'str', + 'buyer_id': 'str', + 'first_party': 'bool', + 'is_buyer': 'bool', + 'is_gift': 'bool', + 'is_receiver': 'bool', + 'is_seller': 'bool', + 'listing_currently_available': 'bool', + 'listing_display_name': 'str', + 'listing_id': 'str', + 'listing_image_id': 'str', + 'listing_subtitle': 'str', + 'listing_type': 'ProductListingType', + 'products': 'list[object]', + 'purchase_active': 'bool', + 'purchase_context': 'ProductPurchasePurchaseContext', + 'purchase_current_status': 'str', + 'purchase_date': 'datetime', + 'purchase_duration': 'int', + 'purchase_duration_type': 'str', + 'purchase_end_date': 'datetime', + 'purchase_id': 'str', + 'purchase_latest': 'bool', + 'purchase_price': 'int', + 'purchase_quantity': 'int', + 'purchase_start_date': 'datetime', + 'purchase_token': 'object', + 'purchase_type': 'str', + 'purchase_unit_price': 'int', + 'receiver_display_name': 'str', + 'receiver_id': 'str', + 'recurrable': 'bool', + 'refundable': 'bool', + 'seller_display_name': 'str', + 'seller_id': 'str', + 'stackable': 'bool', + 'will_recur': 'bool' + } + + attribute_map = { + 'buyer_display_name': 'buyerDisplayName', + 'buyer_id': 'buyerId', + 'first_party': 'firstParty', + 'is_buyer': 'isBuyer', + 'is_gift': 'isGift', + 'is_receiver': 'isReceiver', + 'is_seller': 'isSeller', + 'listing_currently_available': 'listingCurrentlyAvailable', + 'listing_display_name': 'listingDisplayName', + 'listing_id': 'listingId', + 'listing_image_id': 'listingImageId', + 'listing_subtitle': 'listingSubtitle', + 'listing_type': 'listingType', + 'products': 'products', + 'purchase_active': 'purchaseActive', + 'purchase_context': 'purchaseContext', + 'purchase_current_status': 'purchaseCurrentStatus', + 'purchase_date': 'purchaseDate', + 'purchase_duration': 'purchaseDuration', + 'purchase_duration_type': 'purchaseDurationType', + 'purchase_end_date': 'purchaseEndDate', + 'purchase_id': 'purchaseId', + 'purchase_latest': 'purchaseLatest', + 'purchase_price': 'purchasePrice', + 'purchase_quantity': 'purchaseQuantity', + 'purchase_start_date': 'purchaseStartDate', + 'purchase_token': 'purchaseToken', + 'purchase_type': 'purchaseType', + 'purchase_unit_price': 'purchaseUnitPrice', + 'receiver_display_name': 'receiverDisplayName', + 'receiver_id': 'receiverId', + 'recurrable': 'recurrable', + 'refundable': 'refundable', + 'seller_display_name': 'sellerDisplayName', + 'seller_id': 'sellerId', + 'stackable': 'stackable', + 'will_recur': 'willRecur' + } + + def __init__(self, buyer_display_name=None, buyer_id=None, first_party=None, is_buyer=None, is_gift=None, is_receiver=None, is_seller=None, listing_currently_available=None, listing_display_name=None, listing_id=None, listing_image_id=None, listing_subtitle=None, listing_type=None, products=None, purchase_active=None, purchase_context=None, purchase_current_status=None, purchase_date=None, purchase_duration=None, purchase_duration_type=None, purchase_end_date=None, purchase_id=None, purchase_latest=None, purchase_price=None, purchase_quantity=None, purchase_start_date=None, purchase_token=None, purchase_type=None, purchase_unit_price=None, receiver_display_name=None, receiver_id=None, recurrable=None, refundable=None, seller_display_name=None, seller_id=None, stackable=None, will_recur=None, local_vars_configuration=None): # noqa: E501 + """ProductPurchase - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._buyer_display_name = None + self._buyer_id = None + self._first_party = None + self._is_buyer = None + self._is_gift = None + self._is_receiver = None + self._is_seller = None + self._listing_currently_available = None + self._listing_display_name = None + self._listing_id = None + self._listing_image_id = None + self._listing_subtitle = None + self._listing_type = None + self._products = None + self._purchase_active = None + self._purchase_context = None + self._purchase_current_status = None + self._purchase_date = None + self._purchase_duration = None + self._purchase_duration_type = None + self._purchase_end_date = None + self._purchase_id = None + self._purchase_latest = None + self._purchase_price = None + self._purchase_quantity = None + self._purchase_start_date = None + self._purchase_token = None + self._purchase_type = None + self._purchase_unit_price = None + self._receiver_display_name = None + self._receiver_id = None + self._recurrable = None + self._refundable = None + self._seller_display_name = None + self._seller_id = None + self._stackable = None + self._will_recur = None + self.discriminator = None + + self.buyer_display_name = buyer_display_name + self.buyer_id = buyer_id + if first_party is not None: + self.first_party = first_party + self.is_buyer = is_buyer + self.is_gift = is_gift + self.is_receiver = is_receiver + self.is_seller = is_seller + self.listing_currently_available = listing_currently_available + self.listing_display_name = listing_display_name + self.listing_id = listing_id + self.listing_image_id = listing_image_id + self.listing_subtitle = listing_subtitle + self.listing_type = listing_type + self.products = products + self.purchase_active = purchase_active + self.purchase_context = purchase_context + self.purchase_current_status = purchase_current_status + self.purchase_date = purchase_date + if purchase_duration is not None: + self.purchase_duration = purchase_duration + if purchase_duration_type is not None: + self.purchase_duration_type = purchase_duration_type + self.purchase_end_date = purchase_end_date + self.purchase_id = purchase_id + self.purchase_latest = purchase_latest + self.purchase_price = purchase_price + self.purchase_quantity = purchase_quantity + self.purchase_start_date = purchase_start_date + self.purchase_token = purchase_token + self.purchase_type = purchase_type + self.purchase_unit_price = purchase_unit_price + self.receiver_display_name = receiver_display_name + self.receiver_id = receiver_id + self.recurrable = recurrable + self.refundable = refundable + self.seller_display_name = seller_display_name + self.seller_id = seller_id + self.stackable = stackable + self.will_recur = will_recur + + @property + def buyer_display_name(self): + """Gets the buyer_display_name of this ProductPurchase. # noqa: E501 + + + :return: The buyer_display_name of this ProductPurchase. # noqa: E501 + :rtype: str + """ + return self._buyer_display_name + + @buyer_display_name.setter + def buyer_display_name(self, buyer_display_name): + """Sets the buyer_display_name of this ProductPurchase. + + + :param buyer_display_name: The buyer_display_name of this ProductPurchase. # noqa: E501 + :type buyer_display_name: str + """ + if self.local_vars_configuration.client_side_validation and buyer_display_name is None: # noqa: E501 + raise ValueError("Invalid value for `buyer_display_name`, must not be `None`") # noqa: E501 + + self._buyer_display_name = buyer_display_name + + @property + def buyer_id(self): + """Gets the buyer_id of this ProductPurchase. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The buyer_id of this ProductPurchase. # noqa: E501 + :rtype: str + """ + return self._buyer_id + + @buyer_id.setter + def buyer_id(self, buyer_id): + """Sets the buyer_id of this ProductPurchase. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param buyer_id: The buyer_id of this ProductPurchase. # noqa: E501 + :type buyer_id: str + """ + if self.local_vars_configuration.client_side_validation and buyer_id is None: # noqa: E501 + raise ValueError("Invalid value for `buyer_id`, must not be `None`") # noqa: E501 + + self._buyer_id = buyer_id + + @property + def first_party(self): + """Gets the first_party of this ProductPurchase. # noqa: E501 + + + :return: The first_party of this ProductPurchase. # noqa: E501 + :rtype: bool + """ + return self._first_party + + @first_party.setter + def first_party(self, first_party): + """Sets the first_party of this ProductPurchase. + + + :param first_party: The first_party of this ProductPurchase. # noqa: E501 + :type first_party: bool + """ + + self._first_party = first_party + + @property + def is_buyer(self): + """Gets the is_buyer of this ProductPurchase. # noqa: E501 + + + :return: The is_buyer of this ProductPurchase. # noqa: E501 + :rtype: bool + """ + return self._is_buyer + + @is_buyer.setter + def is_buyer(self, is_buyer): + """Sets the is_buyer of this ProductPurchase. + + + :param is_buyer: The is_buyer of this ProductPurchase. # noqa: E501 + :type is_buyer: bool + """ + if self.local_vars_configuration.client_side_validation and is_buyer is None: # noqa: E501 + raise ValueError("Invalid value for `is_buyer`, must not be `None`") # noqa: E501 + + self._is_buyer = is_buyer + + @property + def is_gift(self): + """Gets the is_gift of this ProductPurchase. # noqa: E501 + + + :return: The is_gift of this ProductPurchase. # noqa: E501 + :rtype: bool + """ + return self._is_gift + + @is_gift.setter + def is_gift(self, is_gift): + """Sets the is_gift of this ProductPurchase. + + + :param is_gift: The is_gift of this ProductPurchase. # noqa: E501 + :type is_gift: bool + """ + if self.local_vars_configuration.client_side_validation and is_gift is None: # noqa: E501 + raise ValueError("Invalid value for `is_gift`, must not be `None`") # noqa: E501 + + self._is_gift = is_gift + + @property + def is_receiver(self): + """Gets the is_receiver of this ProductPurchase. # noqa: E501 + + + :return: The is_receiver of this ProductPurchase. # noqa: E501 + :rtype: bool + """ + return self._is_receiver + + @is_receiver.setter + def is_receiver(self, is_receiver): + """Sets the is_receiver of this ProductPurchase. + + + :param is_receiver: The is_receiver of this ProductPurchase. # noqa: E501 + :type is_receiver: bool + """ + if self.local_vars_configuration.client_side_validation and is_receiver is None: # noqa: E501 + raise ValueError("Invalid value for `is_receiver`, must not be `None`") # noqa: E501 + + self._is_receiver = is_receiver + + @property + def is_seller(self): + """Gets the is_seller of this ProductPurchase. # noqa: E501 + + + :return: The is_seller of this ProductPurchase. # noqa: E501 + :rtype: bool + """ + return self._is_seller + + @is_seller.setter + def is_seller(self, is_seller): + """Sets the is_seller of this ProductPurchase. + + + :param is_seller: The is_seller of this ProductPurchase. # noqa: E501 + :type is_seller: bool + """ + if self.local_vars_configuration.client_side_validation and is_seller is None: # noqa: E501 + raise ValueError("Invalid value for `is_seller`, must not be `None`") # noqa: E501 + + self._is_seller = is_seller + + @property + def listing_currently_available(self): + """Gets the listing_currently_available of this ProductPurchase. # noqa: E501 + + + :return: The listing_currently_available of this ProductPurchase. # noqa: E501 + :rtype: bool + """ + return self._listing_currently_available + + @listing_currently_available.setter + def listing_currently_available(self, listing_currently_available): + """Sets the listing_currently_available of this ProductPurchase. + + + :param listing_currently_available: The listing_currently_available of this ProductPurchase. # noqa: E501 + :type listing_currently_available: bool + """ + if self.local_vars_configuration.client_side_validation and listing_currently_available is None: # noqa: E501 + raise ValueError("Invalid value for `listing_currently_available`, must not be `None`") # noqa: E501 + + self._listing_currently_available = listing_currently_available + + @property + def listing_display_name(self): + """Gets the listing_display_name of this ProductPurchase. # noqa: E501 + + + :return: The listing_display_name of this ProductPurchase. # noqa: E501 + :rtype: str + """ + return self._listing_display_name + + @listing_display_name.setter + def listing_display_name(self, listing_display_name): + """Sets the listing_display_name of this ProductPurchase. + + + :param listing_display_name: The listing_display_name of this ProductPurchase. # noqa: E501 + :type listing_display_name: str + """ + if self.local_vars_configuration.client_side_validation and listing_display_name is None: # noqa: E501 + raise ValueError("Invalid value for `listing_display_name`, must not be `None`") # noqa: E501 + + self._listing_display_name = listing_display_name + + @property + def listing_id(self): + """Gets the listing_id of this ProductPurchase. # noqa: E501 + + + :return: The listing_id of this ProductPurchase. # noqa: E501 + :rtype: str + """ + return self._listing_id + + @listing_id.setter + def listing_id(self, listing_id): + """Sets the listing_id of this ProductPurchase. + + + :param listing_id: The listing_id of this ProductPurchase. # noqa: E501 + :type listing_id: str + """ + if self.local_vars_configuration.client_side_validation and listing_id is None: # noqa: E501 + raise ValueError("Invalid value for `listing_id`, must not be `None`") # noqa: E501 + + self._listing_id = listing_id + + @property + def listing_image_id(self): + """Gets the listing_image_id of this ProductPurchase. # noqa: E501 + + + :return: The listing_image_id of this ProductPurchase. # noqa: E501 + :rtype: str + """ + return self._listing_image_id + + @listing_image_id.setter + def listing_image_id(self, listing_image_id): + """Sets the listing_image_id of this ProductPurchase. + + + :param listing_image_id: The listing_image_id of this ProductPurchase. # noqa: E501 + :type listing_image_id: str + """ + if self.local_vars_configuration.client_side_validation and listing_image_id is None: # noqa: E501 + raise ValueError("Invalid value for `listing_image_id`, must not be `None`") # noqa: E501 + + self._listing_image_id = listing_image_id + + @property + def listing_subtitle(self): + """Gets the listing_subtitle of this ProductPurchase. # noqa: E501 + + + :return: The listing_subtitle of this ProductPurchase. # noqa: E501 + :rtype: str + """ + return self._listing_subtitle + + @listing_subtitle.setter + def listing_subtitle(self, listing_subtitle): + """Sets the listing_subtitle of this ProductPurchase. + + + :param listing_subtitle: The listing_subtitle of this ProductPurchase. # noqa: E501 + :type listing_subtitle: str + """ + if self.local_vars_configuration.client_side_validation and listing_subtitle is None: # noqa: E501 + raise ValueError("Invalid value for `listing_subtitle`, must not be `None`") # noqa: E501 + + self._listing_subtitle = listing_subtitle + + @property + def listing_type(self): + """Gets the listing_type of this ProductPurchase. # noqa: E501 + + + :return: The listing_type of this ProductPurchase. # noqa: E501 + :rtype: ProductListingType + """ + return self._listing_type + + @listing_type.setter + def listing_type(self, listing_type): + """Sets the listing_type of this ProductPurchase. + + + :param listing_type: The listing_type of this ProductPurchase. # noqa: E501 + :type listing_type: ProductListingType + """ + if self.local_vars_configuration.client_side_validation and listing_type is None: # noqa: E501 + raise ValueError("Invalid value for `listing_type`, must not be `None`") # noqa: E501 + + self._listing_type = listing_type + + @property + def products(self): + """Gets the products of this ProductPurchase. # noqa: E501 + + + :return: The products of this ProductPurchase. # noqa: E501 + :rtype: list[object] + """ + return self._products + + @products.setter + def products(self, products): + """Sets the products of this ProductPurchase. + + + :param products: The products of this ProductPurchase. # noqa: E501 + :type products: list[object] + """ + if self.local_vars_configuration.client_side_validation and products is None: # noqa: E501 + raise ValueError("Invalid value for `products`, must not be `None`") # noqa: E501 + + self._products = products + + @property + def purchase_active(self): + """Gets the purchase_active of this ProductPurchase. # noqa: E501 + + + :return: The purchase_active of this ProductPurchase. # noqa: E501 + :rtype: bool + """ + return self._purchase_active + + @purchase_active.setter + def purchase_active(self, purchase_active): + """Sets the purchase_active of this ProductPurchase. + + + :param purchase_active: The purchase_active of this ProductPurchase. # noqa: E501 + :type purchase_active: bool + """ + if self.local_vars_configuration.client_side_validation and purchase_active is None: # noqa: E501 + raise ValueError("Invalid value for `purchase_active`, must not be `None`") # noqa: E501 + + self._purchase_active = purchase_active + + @property + def purchase_context(self): + """Gets the purchase_context of this ProductPurchase. # noqa: E501 + + + :return: The purchase_context of this ProductPurchase. # noqa: E501 + :rtype: ProductPurchasePurchaseContext + """ + return self._purchase_context + + @purchase_context.setter + def purchase_context(self, purchase_context): + """Sets the purchase_context of this ProductPurchase. + + + :param purchase_context: The purchase_context of this ProductPurchase. # noqa: E501 + :type purchase_context: ProductPurchasePurchaseContext + """ + if self.local_vars_configuration.client_side_validation and purchase_context is None: # noqa: E501 + raise ValueError("Invalid value for `purchase_context`, must not be `None`") # noqa: E501 + + self._purchase_context = purchase_context + + @property + def purchase_current_status(self): + """Gets the purchase_current_status of this ProductPurchase. # noqa: E501 + + + :return: The purchase_current_status of this ProductPurchase. # noqa: E501 + :rtype: str + """ + return self._purchase_current_status + + @purchase_current_status.setter + def purchase_current_status(self, purchase_current_status): + """Sets the purchase_current_status of this ProductPurchase. + + + :param purchase_current_status: The purchase_current_status of this ProductPurchase. # noqa: E501 + :type purchase_current_status: str + """ + if self.local_vars_configuration.client_side_validation and purchase_current_status is None: # noqa: E501 + raise ValueError("Invalid value for `purchase_current_status`, must not be `None`") # noqa: E501 + + self._purchase_current_status = purchase_current_status + + @property + def purchase_date(self): + """Gets the purchase_date of this ProductPurchase. # noqa: E501 + + + :return: The purchase_date of this ProductPurchase. # noqa: E501 + :rtype: datetime + """ + return self._purchase_date + + @purchase_date.setter + def purchase_date(self, purchase_date): + """Sets the purchase_date of this ProductPurchase. + + + :param purchase_date: The purchase_date of this ProductPurchase. # noqa: E501 + :type purchase_date: datetime + """ + if self.local_vars_configuration.client_side_validation and purchase_date is None: # noqa: E501 + raise ValueError("Invalid value for `purchase_date`, must not be `None`") # noqa: E501 + + self._purchase_date = purchase_date + + @property + def purchase_duration(self): + """Gets the purchase_duration of this ProductPurchase. # noqa: E501 + + + :return: The purchase_duration of this ProductPurchase. # noqa: E501 + :rtype: int + """ + return self._purchase_duration + + @purchase_duration.setter + def purchase_duration(self, purchase_duration): + """Sets the purchase_duration of this ProductPurchase. + + + :param purchase_duration: The purchase_duration of this ProductPurchase. # noqa: E501 + :type purchase_duration: int + """ + + self._purchase_duration = purchase_duration + + @property + def purchase_duration_type(self): + """Gets the purchase_duration_type of this ProductPurchase. # noqa: E501 + + + :return: The purchase_duration_type of this ProductPurchase. # noqa: E501 + :rtype: str + """ + return self._purchase_duration_type + + @purchase_duration_type.setter + def purchase_duration_type(self, purchase_duration_type): + """Sets the purchase_duration_type of this ProductPurchase. + + + :param purchase_duration_type: The purchase_duration_type of this ProductPurchase. # noqa: E501 + :type purchase_duration_type: str + """ + + self._purchase_duration_type = purchase_duration_type + + @property + def purchase_end_date(self): + """Gets the purchase_end_date of this ProductPurchase. # noqa: E501 + + + :return: The purchase_end_date of this ProductPurchase. # noqa: E501 + :rtype: datetime + """ + return self._purchase_end_date + + @purchase_end_date.setter + def purchase_end_date(self, purchase_end_date): + """Sets the purchase_end_date of this ProductPurchase. + + + :param purchase_end_date: The purchase_end_date of this ProductPurchase. # noqa: E501 + :type purchase_end_date: datetime + """ + if self.local_vars_configuration.client_side_validation and purchase_end_date is None: # noqa: E501 + raise ValueError("Invalid value for `purchase_end_date`, must not be `None`") # noqa: E501 + + self._purchase_end_date = purchase_end_date + + @property + def purchase_id(self): + """Gets the purchase_id of this ProductPurchase. # noqa: E501 + + + :return: The purchase_id of this ProductPurchase. # noqa: E501 + :rtype: str + """ + return self._purchase_id + + @purchase_id.setter + def purchase_id(self, purchase_id): + """Sets the purchase_id of this ProductPurchase. + + + :param purchase_id: The purchase_id of this ProductPurchase. # noqa: E501 + :type purchase_id: str + """ + if self.local_vars_configuration.client_side_validation and purchase_id is None: # noqa: E501 + raise ValueError("Invalid value for `purchase_id`, must not be `None`") # noqa: E501 + + self._purchase_id = purchase_id + + @property + def purchase_latest(self): + """Gets the purchase_latest of this ProductPurchase. # noqa: E501 + + + :return: The purchase_latest of this ProductPurchase. # noqa: E501 + :rtype: bool + """ + return self._purchase_latest + + @purchase_latest.setter + def purchase_latest(self, purchase_latest): + """Sets the purchase_latest of this ProductPurchase. + + + :param purchase_latest: The purchase_latest of this ProductPurchase. # noqa: E501 + :type purchase_latest: bool + """ + if self.local_vars_configuration.client_side_validation and purchase_latest is None: # noqa: E501 + raise ValueError("Invalid value for `purchase_latest`, must not be `None`") # noqa: E501 + + self._purchase_latest = purchase_latest + + @property + def purchase_price(self): + """Gets the purchase_price of this ProductPurchase. # noqa: E501 + + + :return: The purchase_price of this ProductPurchase. # noqa: E501 + :rtype: int + """ + return self._purchase_price + + @purchase_price.setter + def purchase_price(self, purchase_price): + """Sets the purchase_price of this ProductPurchase. + + + :param purchase_price: The purchase_price of this ProductPurchase. # noqa: E501 + :type purchase_price: int + """ + if self.local_vars_configuration.client_side_validation and purchase_price is None: # noqa: E501 + raise ValueError("Invalid value for `purchase_price`, must not be `None`") # noqa: E501 + + self._purchase_price = purchase_price + + @property + def purchase_quantity(self): + """Gets the purchase_quantity of this ProductPurchase. # noqa: E501 + + + :return: The purchase_quantity of this ProductPurchase. # noqa: E501 + :rtype: int + """ + return self._purchase_quantity + + @purchase_quantity.setter + def purchase_quantity(self, purchase_quantity): + """Sets the purchase_quantity of this ProductPurchase. + + + :param purchase_quantity: The purchase_quantity of this ProductPurchase. # noqa: E501 + :type purchase_quantity: int + """ + if self.local_vars_configuration.client_side_validation and purchase_quantity is None: # noqa: E501 + raise ValueError("Invalid value for `purchase_quantity`, must not be `None`") # noqa: E501 + + self._purchase_quantity = purchase_quantity + + @property + def purchase_start_date(self): + """Gets the purchase_start_date of this ProductPurchase. # noqa: E501 + + + :return: The purchase_start_date of this ProductPurchase. # noqa: E501 + :rtype: datetime + """ + return self._purchase_start_date + + @purchase_start_date.setter + def purchase_start_date(self, purchase_start_date): + """Sets the purchase_start_date of this ProductPurchase. + + + :param purchase_start_date: The purchase_start_date of this ProductPurchase. # noqa: E501 + :type purchase_start_date: datetime + """ + if self.local_vars_configuration.client_side_validation and purchase_start_date is None: # noqa: E501 + raise ValueError("Invalid value for `purchase_start_date`, must not be `None`") # noqa: E501 + + self._purchase_start_date = purchase_start_date + + @property + def purchase_token(self): + """Gets the purchase_token of this ProductPurchase. # noqa: E501 + + + :return: The purchase_token of this ProductPurchase. # noqa: E501 + :rtype: object + """ + return self._purchase_token + + @purchase_token.setter + def purchase_token(self, purchase_token): + """Sets the purchase_token of this ProductPurchase. + + + :param purchase_token: The purchase_token of this ProductPurchase. # noqa: E501 + :type purchase_token: object + """ + + self._purchase_token = purchase_token + + @property + def purchase_type(self): + """Gets the purchase_type of this ProductPurchase. # noqa: E501 + + + :return: The purchase_type of this ProductPurchase. # noqa: E501 + :rtype: str + """ + return self._purchase_type + + @purchase_type.setter + def purchase_type(self, purchase_type): + """Sets the purchase_type of this ProductPurchase. + + + :param purchase_type: The purchase_type of this ProductPurchase. # noqa: E501 + :type purchase_type: str + """ + if self.local_vars_configuration.client_side_validation and purchase_type is None: # noqa: E501 + raise ValueError("Invalid value for `purchase_type`, must not be `None`") # noqa: E501 + + self._purchase_type = purchase_type + + @property + def purchase_unit_price(self): + """Gets the purchase_unit_price of this ProductPurchase. # noqa: E501 + + + :return: The purchase_unit_price of this ProductPurchase. # noqa: E501 + :rtype: int + """ + return self._purchase_unit_price + + @purchase_unit_price.setter + def purchase_unit_price(self, purchase_unit_price): + """Sets the purchase_unit_price of this ProductPurchase. + + + :param purchase_unit_price: The purchase_unit_price of this ProductPurchase. # noqa: E501 + :type purchase_unit_price: int + """ + if self.local_vars_configuration.client_side_validation and purchase_unit_price is None: # noqa: E501 + raise ValueError("Invalid value for `purchase_unit_price`, must not be `None`") # noqa: E501 + + self._purchase_unit_price = purchase_unit_price + + @property + def receiver_display_name(self): + """Gets the receiver_display_name of this ProductPurchase. # noqa: E501 + + + :return: The receiver_display_name of this ProductPurchase. # noqa: E501 + :rtype: str + """ + return self._receiver_display_name + + @receiver_display_name.setter + def receiver_display_name(self, receiver_display_name): + """Sets the receiver_display_name of this ProductPurchase. + + + :param receiver_display_name: The receiver_display_name of this ProductPurchase. # noqa: E501 + :type receiver_display_name: str + """ + if self.local_vars_configuration.client_side_validation and receiver_display_name is None: # noqa: E501 + raise ValueError("Invalid value for `receiver_display_name`, must not be `None`") # noqa: E501 + + self._receiver_display_name = receiver_display_name + + @property + def receiver_id(self): + """Gets the receiver_id of this ProductPurchase. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The receiver_id of this ProductPurchase. # noqa: E501 + :rtype: str + """ + return self._receiver_id + + @receiver_id.setter + def receiver_id(self, receiver_id): + """Sets the receiver_id of this ProductPurchase. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param receiver_id: The receiver_id of this ProductPurchase. # noqa: E501 + :type receiver_id: str + """ + if self.local_vars_configuration.client_side_validation and receiver_id is None: # noqa: E501 + raise ValueError("Invalid value for `receiver_id`, must not be `None`") # noqa: E501 + + self._receiver_id = receiver_id + + @property + def recurrable(self): + """Gets the recurrable of this ProductPurchase. # noqa: E501 + + + :return: The recurrable of this ProductPurchase. # noqa: E501 + :rtype: bool + """ + return self._recurrable + + @recurrable.setter + def recurrable(self, recurrable): + """Sets the recurrable of this ProductPurchase. + + + :param recurrable: The recurrable of this ProductPurchase. # noqa: E501 + :type recurrable: bool + """ + if self.local_vars_configuration.client_side_validation and recurrable is None: # noqa: E501 + raise ValueError("Invalid value for `recurrable`, must not be `None`") # noqa: E501 + + self._recurrable = recurrable + + @property + def refundable(self): + """Gets the refundable of this ProductPurchase. # noqa: E501 + + + :return: The refundable of this ProductPurchase. # noqa: E501 + :rtype: bool + """ + return self._refundable + + @refundable.setter + def refundable(self, refundable): + """Sets the refundable of this ProductPurchase. + + + :param refundable: The refundable of this ProductPurchase. # noqa: E501 + :type refundable: bool + """ + if self.local_vars_configuration.client_side_validation and refundable is None: # noqa: E501 + raise ValueError("Invalid value for `refundable`, must not be `None`") # noqa: E501 + + self._refundable = refundable + + @property + def seller_display_name(self): + """Gets the seller_display_name of this ProductPurchase. # noqa: E501 + + + :return: The seller_display_name of this ProductPurchase. # noqa: E501 + :rtype: str + """ + return self._seller_display_name + + @seller_display_name.setter + def seller_display_name(self, seller_display_name): + """Sets the seller_display_name of this ProductPurchase. + + + :param seller_display_name: The seller_display_name of this ProductPurchase. # noqa: E501 + :type seller_display_name: str + """ + if self.local_vars_configuration.client_side_validation and seller_display_name is None: # noqa: E501 + raise ValueError("Invalid value for `seller_display_name`, must not be `None`") # noqa: E501 + + self._seller_display_name = seller_display_name + + @property + def seller_id(self): + """Gets the seller_id of this ProductPurchase. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The seller_id of this ProductPurchase. # noqa: E501 + :rtype: str + """ + return self._seller_id + + @seller_id.setter + def seller_id(self, seller_id): + """Sets the seller_id of this ProductPurchase. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param seller_id: The seller_id of this ProductPurchase. # noqa: E501 + :type seller_id: str + """ + if self.local_vars_configuration.client_side_validation and seller_id is None: # noqa: E501 + raise ValueError("Invalid value for `seller_id`, must not be `None`") # noqa: E501 + + self._seller_id = seller_id + + @property + def stackable(self): + """Gets the stackable of this ProductPurchase. # noqa: E501 + + + :return: The stackable of this ProductPurchase. # noqa: E501 + :rtype: bool + """ + return self._stackable + + @stackable.setter + def stackable(self, stackable): + """Sets the stackable of this ProductPurchase. + + + :param stackable: The stackable of this ProductPurchase. # noqa: E501 + :type stackable: bool + """ + if self.local_vars_configuration.client_side_validation and stackable is None: # noqa: E501 + raise ValueError("Invalid value for `stackable`, must not be `None`") # noqa: E501 + + self._stackable = stackable + + @property + def will_recur(self): + """Gets the will_recur of this ProductPurchase. # noqa: E501 + + + :return: The will_recur of this ProductPurchase. # noqa: E501 + :rtype: bool + """ + return self._will_recur + + @will_recur.setter + def will_recur(self, will_recur): + """Sets the will_recur of this ProductPurchase. + + + :param will_recur: The will_recur of this ProductPurchase. # noqa: E501 + :type will_recur: bool + """ + if self.local_vars_configuration.client_side_validation and will_recur is None: # noqa: E501 + raise ValueError("Invalid value for `will_recur`, must not be `None`") # noqa: E501 + + self._will_recur = will_recur + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ProductPurchase): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ProductPurchase): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/product_purchase_purchase_context.py b/vrchatapi/models/product_purchase_purchase_context.py new file mode 100644 index 00000000..ed7c07fb --- /dev/null +++ b/vrchatapi/models/product_purchase_purchase_context.py @@ -0,0 +1,131 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class ProductPurchasePurchaseContext(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'location_type': 'str' + } + + attribute_map = { + 'location_type': 'locationType' + } + + def __init__(self, location_type=None, local_vars_configuration=None): # noqa: E501 + """ProductPurchasePurchaseContext - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._location_type = None + self.discriminator = None + + if location_type is not None: + self.location_type = location_type + + @property + def location_type(self): + """Gets the location_type of this ProductPurchasePurchaseContext. # noqa: E501 + + + :return: The location_type of this ProductPurchasePurchaseContext. # noqa: E501 + :rtype: str + """ + return self._location_type + + @location_type.setter + def location_type(self, location_type): + """Sets the location_type of this ProductPurchasePurchaseContext. + + + :param location_type: The location_type of this ProductPurchasePurchaseContext. # noqa: E501 + :type location_type: str + """ + + self._location_type = location_type + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ProductPurchasePurchaseContext): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ProductPurchasePurchaseContext): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/product_type.py b/vrchatapi/models/product_type.py index 4b3e6777..46eaba47 100644 --- a/vrchatapi/models/product_type.py +++ b/vrchatapi/models/product_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -31,11 +31,12 @@ class ProductType(object): """ allowed enum values """ + INVENTORY = "inventory" LISTING = "listing" ROLE = "role" UDON = "udon" - allowable_values = [LISTING, ROLE, UDON] # noqa: E501 + allowable_values = [INVENTORY, LISTING, ROLE, UDON] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/prop.py b/vrchatapi/models/prop.py index 1a4075f3..0f1ec527 100644 --- a/vrchatapi/models/prop.py +++ b/vrchatapi/models/prop.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -73,7 +73,7 @@ class Prop(object): 'world_placement_mask': 'worldPlacementMask' } - def __init__(self, created_at=None, updated_at=None, author_id=None, author_name=None, description=None, id=None, image_url=None, max_count_per_user=1, name=None, release_status=None, spawn_type=0, tags=None, thumbnail_image_url=None, unity_package_url=None, unity_packages=None, world_placement_mask=1, local_vars_configuration=None): # noqa: E501 + def __init__(self, created_at=None, updated_at=None, author_id=None, author_name=None, description=None, id=None, image_url=None, max_count_per_user=1, name=None, release_status=None, spawn_type=1, tags=None, thumbnail_image_url=None, unity_package_url=None, unity_packages=None, world_placement_mask=1, local_vars_configuration=None): # noqa: E501 """Prop - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -350,6 +350,7 @@ def release_status(self, release_status): def spawn_type(self): """Gets the spawn_type of this Prop. # noqa: E501 + How a prop is summoned and interacted with. 0: the prop fixed to some surface in the world 1: the prop is a pickup and may be held by users 2: ??? # noqa: E501 :return: The spawn_type of this Prop. # noqa: E501 :rtype: int @@ -360,12 +361,16 @@ def spawn_type(self): def spawn_type(self, spawn_type): """Sets the spawn_type of this Prop. + How a prop is summoned and interacted with. 0: the prop fixed to some surface in the world 1: the prop is a pickup and may be held by users 2: ??? # noqa: E501 :param spawn_type: The spawn_type of this Prop. # noqa: E501 :type spawn_type: int """ if self.local_vars_configuration.client_side_validation and spawn_type is None: # noqa: E501 raise ValueError("Invalid value for `spawn_type`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + spawn_type is not None and spawn_type < 0): # noqa: E501 + raise ValueError("Invalid value for `spawn_type`, must be a value greater than or equal to `0`") # noqa: E501 self._spawn_type = spawn_type @@ -466,6 +471,7 @@ def unity_packages(self, unity_packages): def world_placement_mask(self): """Gets the world_placement_mask of this Prop. # noqa: E501 + Bitmask for restrictions on what world surfaces a prop may be summoned. 0: no restrictions 1: floors 2: walls 4: ceilings # noqa: E501 :return: The world_placement_mask of this Prop. # noqa: E501 :rtype: int @@ -476,12 +482,16 @@ def world_placement_mask(self): def world_placement_mask(self, world_placement_mask): """Sets the world_placement_mask of this Prop. + Bitmask for restrictions on what world surfaces a prop may be summoned. 0: no restrictions 1: floors 2: walls 4: ceilings # noqa: E501 :param world_placement_mask: The world_placement_mask of this Prop. # noqa: E501 :type world_placement_mask: int """ if self.local_vars_configuration.client_side_validation and world_placement_mask is None: # noqa: E501 raise ValueError("Invalid value for `world_placement_mask`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + world_placement_mask is not None and world_placement_mask < 0): # noqa: E501 + raise ValueError("Invalid value for `world_placement_mask`, must be a value greater than or equal to `0`") # noqa: E501 self._world_placement_mask = world_placement_mask diff --git a/vrchatapi/models/prop_publish_status.py b/vrchatapi/models/prop_publish_status.py new file mode 100644 index 00000000..d08b62c7 --- /dev/null +++ b/vrchatapi/models/prop_publish_status.py @@ -0,0 +1,131 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class PropPublishStatus(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'can_publish': 'bool' + } + + attribute_map = { + 'can_publish': 'canPublish' + } + + def __init__(self, can_publish=False, local_vars_configuration=None): # noqa: E501 + """PropPublishStatus - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._can_publish = None + self.discriminator = None + + if can_publish is not None: + self.can_publish = can_publish + + @property + def can_publish(self): + """Gets the can_publish of this PropPublishStatus. # noqa: E501 + + + :return: The can_publish of this PropPublishStatus. # noqa: E501 + :rtype: bool + """ + return self._can_publish + + @can_publish.setter + def can_publish(self, can_publish): + """Sets the can_publish of this PropPublishStatus. + + + :param can_publish: The can_publish of this PropPublishStatus. # noqa: E501 + :type can_publish: bool + """ + + self._can_publish = can_publish + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, PropPublishStatus): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, PropPublishStatus): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/prop_unity_package.py b/vrchatapi/models/prop_unity_package.py index b27eccb9..0e2b9dbe 100644 --- a/vrchatapi/models/prop_unity_package.py +++ b/vrchatapi/models/prop_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -38,8 +38,8 @@ class PropUnityPackage(object): openapi_types = { 'asset_url': 'str', 'asset_version': 'int', - 'prop_signature': 'str', 'platform': 'str', + 'prop_signature': 'str', 'unity_version': 'str', 'variant': 'str' } @@ -47,13 +47,13 @@ class PropUnityPackage(object): attribute_map = { 'asset_url': 'assetUrl', 'asset_version': 'assetVersion', - 'prop_signature': 'propSignature', 'platform': 'platform', + 'prop_signature': 'propSignature', 'unity_version': 'unityVersion', 'variant': 'variant' } - def __init__(self, asset_url=None, asset_version=None, prop_signature=None, platform=None, unity_version='2022.3.22f1', variant=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, asset_url=None, asset_version=None, platform=None, prop_signature=None, unity_version='2022.3.22f1', variant=None, local_vars_configuration=None): # noqa: E501 """PropUnityPackage - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -61,16 +61,16 @@ def __init__(self, asset_url=None, asset_version=None, prop_signature=None, plat self._asset_url = None self._asset_version = None - self._prop_signature = None self._platform = None + self._prop_signature = None self._unity_version = None self._variant = None self.discriminator = None self.asset_url = asset_url self.asset_version = asset_version - self.prop_signature = prop_signature self.platform = platform + self.prop_signature = prop_signature self.unity_version = unity_version self.variant = variant @@ -123,34 +123,11 @@ def asset_version(self, asset_version): self._asset_version = asset_version - @property - def prop_signature(self): - """Gets the prop_signature of this PropUnityPackage. # noqa: E501 - - - :return: The prop_signature of this PropUnityPackage. # noqa: E501 - :rtype: str - """ - return self._prop_signature - - @prop_signature.setter - def prop_signature(self, prop_signature): - """Sets the prop_signature of this PropUnityPackage. - - - :param prop_signature: The prop_signature of this PropUnityPackage. # noqa: E501 - :type prop_signature: str - """ - if self.local_vars_configuration.client_side_validation and prop_signature is None: # noqa: E501 - raise ValueError("Invalid value for `prop_signature`, must not be `None`") # noqa: E501 - - self._prop_signature = prop_signature - @property def platform(self): """Gets the platform of this PropUnityPackage. # noqa: E501 - This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 :return: The platform of this PropUnityPackage. # noqa: E501 :rtype: str @@ -161,7 +138,7 @@ def platform(self): def platform(self, platform): """Sets the platform of this PropUnityPackage. - This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 :param platform: The platform of this PropUnityPackage. # noqa: E501 :type platform: str @@ -171,6 +148,29 @@ def platform(self, platform): self._platform = platform + @property + def prop_signature(self): + """Gets the prop_signature of this PropUnityPackage. # noqa: E501 + + + :return: The prop_signature of this PropUnityPackage. # noqa: E501 + :rtype: str + """ + return self._prop_signature + + @prop_signature.setter + def prop_signature(self, prop_signature): + """Sets the prop_signature of this PropUnityPackage. + + + :param prop_signature: The prop_signature of this PropUnityPackage. # noqa: E501 + :type prop_signature: str + """ + if self.local_vars_configuration.client_side_validation and prop_signature is None: # noqa: E501 + raise ValueError("Invalid value for `prop_signature`, must not be `None`") # noqa: E501 + + self._prop_signature = prop_signature + @property def unity_version(self): """Gets the unity_version of this PropUnityPackage. # noqa: E501 diff --git a/vrchatapi/models/purchase_product_listing_request.py b/vrchatapi/models/purchase_product_listing_request.py new file mode 100644 index 00000000..5a850243 --- /dev/null +++ b/vrchatapi/models/purchase_product_listing_request.py @@ -0,0 +1,195 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class PurchaseProductListingRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'listing_id': 'str', + 'quantity': 'int', + 'total_price': 'int' + } + + attribute_map = { + 'listing_id': 'listingId', + 'quantity': 'quantity', + 'total_price': 'totalPrice' + } + + def __init__(self, listing_id=None, quantity=1, total_price=None, local_vars_configuration=None): # noqa: E501 + """PurchaseProductListingRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._listing_id = None + self._quantity = None + self._total_price = None + self.discriminator = None + + self.listing_id = listing_id + self.quantity = quantity + self.total_price = total_price + + @property + def listing_id(self): + """Gets the listing_id of this PurchaseProductListingRequest. # noqa: E501 + + + :return: The listing_id of this PurchaseProductListingRequest. # noqa: E501 + :rtype: str + """ + return self._listing_id + + @listing_id.setter + def listing_id(self, listing_id): + """Sets the listing_id of this PurchaseProductListingRequest. + + + :param listing_id: The listing_id of this PurchaseProductListingRequest. # noqa: E501 + :type listing_id: str + """ + if self.local_vars_configuration.client_side_validation and listing_id is None: # noqa: E501 + raise ValueError("Invalid value for `listing_id`, must not be `None`") # noqa: E501 + + self._listing_id = listing_id + + @property + def quantity(self): + """Gets the quantity of this PurchaseProductListingRequest. # noqa: E501 + + + :return: The quantity of this PurchaseProductListingRequest. # noqa: E501 + :rtype: int + """ + return self._quantity + + @quantity.setter + def quantity(self, quantity): + """Sets the quantity of this PurchaseProductListingRequest. + + + :param quantity: The quantity of this PurchaseProductListingRequest. # noqa: E501 + :type quantity: int + """ + if self.local_vars_configuration.client_side_validation and quantity is None: # noqa: E501 + raise ValueError("Invalid value for `quantity`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + quantity is not None and quantity > 99): # noqa: E501 + raise ValueError("Invalid value for `quantity`, must be a value less than or equal to `99`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + quantity is not None and quantity < 1): # noqa: E501 + raise ValueError("Invalid value for `quantity`, must be a value greater than or equal to `1`") # noqa: E501 + + self._quantity = quantity + + @property + def total_price(self): + """Gets the total_price of this PurchaseProductListingRequest. # noqa: E501 + + + :return: The total_price of this PurchaseProductListingRequest. # noqa: E501 + :rtype: int + """ + return self._total_price + + @total_price.setter + def total_price(self, total_price): + """Sets the total_price of this PurchaseProductListingRequest. + + + :param total_price: The total_price of this PurchaseProductListingRequest. # noqa: E501 + :type total_price: int + """ + if self.local_vars_configuration.client_side_validation and total_price is None: # noqa: E501 + raise ValueError("Invalid value for `total_price`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + total_price is not None and total_price < 0): # noqa: E501 + raise ValueError("Invalid value for `total_price`, must be a value greater than or equal to `0`") # noqa: E501 + + self._total_price = total_price + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, PurchaseProductListingRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, PurchaseProductListingRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index bca28873..4440672b 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -31,15 +31,15 @@ class Region(object): """ allowed enum values """ + EU = "eu" + JP = "jp" + UNKNOWN = "unknown" US = "us" USE = "use" USW = "usw" USX = "usx" - EU = "eu" - JP = "jp" - UNKNOWN = "unknown" - allowable_values = [US, USE, USW, USX, EU, JP, UNKNOWN] # noqa: E501 + allowable_values = [EU, JP, UNKNOWN, US, USE, USW, USX] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/register_user_account_request.py b/vrchatapi/models/register_user_account_request.py index ca9a8326..eb82785d 100644 --- a/vrchatapi/models/register_user_account_request.py +++ b/vrchatapi/models/register_user_account_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,114 +36,130 @@ class RegisterUserAccountRequest(object): and the value is json key in definition. """ openapi_types = { - 'username': 'str', - 'password': 'str', + 'accepted_tos_version': 'int', + 'captcha_code': 'str', + 'day': 'str', 'email': 'str', - 'year': 'str', 'month': 'str', - 'day': 'str', - 'captcha_code': 'str', + 'password': 'str', 'subscribe': 'bool', - 'accepted_tos_version': 'int' + 'username': 'str', + 'year': 'str' } attribute_map = { - 'username': 'username', - 'password': 'password', + 'accepted_tos_version': 'acceptedTOSVersion', + 'captcha_code': 'captchaCode', + 'day': 'day', 'email': 'email', - 'year': 'year', 'month': 'month', - 'day': 'day', - 'captcha_code': 'captchaCode', + 'password': 'password', 'subscribe': 'subscribe', - 'accepted_tos_version': 'acceptedTOSVersion' + 'username': 'username', + 'year': 'year' } - def __init__(self, username=None, password=None, email=None, year=None, month=None, day=None, captcha_code=None, subscribe=None, accepted_tos_version=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, accepted_tos_version=None, captcha_code=None, day=None, email=None, month=None, password=None, subscribe=None, username=None, year=None, local_vars_configuration=None): # noqa: E501 """RegisterUserAccountRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._username = None - self._password = None + self._accepted_tos_version = None + self._captcha_code = None + self._day = None self._email = None - self._year = None self._month = None - self._day = None - self._captcha_code = None + self._password = None self._subscribe = None - self._accepted_tos_version = None + self._username = None + self._year = None self.discriminator = None - self.username = username - self.password = password + self.accepted_tos_version = accepted_tos_version + self.captcha_code = captcha_code + self.day = day self.email = email - self.year = year self.month = month - self.day = day - self.captcha_code = captcha_code + self.password = password self.subscribe = subscribe - self.accepted_tos_version = accepted_tos_version + self.username = username + self.year = year @property - def username(self): - """Gets the username of this RegisterUserAccountRequest. # noqa: E501 + def accepted_tos_version(self): + """Gets the accepted_tos_version of this RegisterUserAccountRequest. # noqa: E501 - Display Name / Username (Username is a sanitized version) # noqa: E501 + The most recent version of the TOS # noqa: E501 - :return: The username of this RegisterUserAccountRequest. # noqa: E501 + :return: The accepted_tos_version of this RegisterUserAccountRequest. # noqa: E501 + :rtype: int + """ + return self._accepted_tos_version + + @accepted_tos_version.setter + def accepted_tos_version(self, accepted_tos_version): + """Sets the accepted_tos_version of this RegisterUserAccountRequest. + + The most recent version of the TOS # noqa: E501 + + :param accepted_tos_version: The accepted_tos_version of this RegisterUserAccountRequest. # noqa: E501 + :type accepted_tos_version: int + """ + if self.local_vars_configuration.client_side_validation and accepted_tos_version is None: # noqa: E501 + raise ValueError("Invalid value for `accepted_tos_version`, must not be `None`") # noqa: E501 + + self._accepted_tos_version = accepted_tos_version + + @property + def captcha_code(self): + """Gets the captcha_code of this RegisterUserAccountRequest. # noqa: E501 + + Captcha code # noqa: E501 + + :return: The captcha_code of this RegisterUserAccountRequest. # noqa: E501 :rtype: str """ - return self._username + return self._captcha_code - @username.setter - def username(self, username): - """Sets the username of this RegisterUserAccountRequest. + @captcha_code.setter + def captcha_code(self, captcha_code): + """Sets the captcha_code of this RegisterUserAccountRequest. - Display Name / Username (Username is a sanitized version) # noqa: E501 + Captcha code # noqa: E501 - :param username: The username of this RegisterUserAccountRequest. # noqa: E501 - :type username: str + :param captcha_code: The captcha_code of this RegisterUserAccountRequest. # noqa: E501 + :type captcha_code: str """ - if self.local_vars_configuration.client_side_validation and username is None: # noqa: E501 - raise ValueError("Invalid value for `username`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - username is not None and len(username) > 15): - raise ValueError("Invalid value for `username`, length must be less than or equal to `15`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - username is not None and len(username) < 4): - raise ValueError("Invalid value for `username`, length must be greater than or equal to `4`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and captcha_code is None: # noqa: E501 + raise ValueError("Invalid value for `captcha_code`, must not be `None`") # noqa: E501 - self._username = username + self._captcha_code = captcha_code @property - def password(self): - """Gets the password of this RegisterUserAccountRequest. # noqa: E501 + def day(self): + """Gets the day of this RegisterUserAccountRequest. # noqa: E501 - Password # noqa: E501 + Birth day of month # noqa: E501 - :return: The password of this RegisterUserAccountRequest. # noqa: E501 + :return: The day of this RegisterUserAccountRequest. # noqa: E501 :rtype: str """ - return self._password + return self._day - @password.setter - def password(self, password): - """Sets the password of this RegisterUserAccountRequest. + @day.setter + def day(self, day): + """Sets the day of this RegisterUserAccountRequest. - Password # noqa: E501 + Birth day of month # noqa: E501 - :param password: The password of this RegisterUserAccountRequest. # noqa: E501 - :type password: str + :param day: The day of this RegisterUserAccountRequest. # noqa: E501 + :type day: str """ - if self.local_vars_configuration.client_side_validation and password is None: # noqa: E501 - raise ValueError("Invalid value for `password`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - password is not None and len(password) < 8): - raise ValueError("Invalid value for `password`, length must be greater than or equal to `8`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and day is None: # noqa: E501 + raise ValueError("Invalid value for `day`, must not be `None`") # noqa: E501 - self._password = password + self._day = day @property def email(self): @@ -170,31 +186,6 @@ def email(self, email): self._email = email - @property - def year(self): - """Gets the year of this RegisterUserAccountRequest. # noqa: E501 - - Birth year # noqa: E501 - - :return: The year of this RegisterUserAccountRequest. # noqa: E501 - :rtype: str - """ - return self._year - - @year.setter - def year(self, year): - """Sets the year of this RegisterUserAccountRequest. - - Birth year # noqa: E501 - - :param year: The year of this RegisterUserAccountRequest. # noqa: E501 - :type year: str - """ - if self.local_vars_configuration.client_side_validation and year is None: # noqa: E501 - raise ValueError("Invalid value for `year`, must not be `None`") # noqa: E501 - - self._year = year - @property def month(self): """Gets the month of this RegisterUserAccountRequest. # noqa: E501 @@ -221,54 +212,32 @@ def month(self, month): self._month = month @property - def day(self): - """Gets the day of this RegisterUserAccountRequest. # noqa: E501 - - Birth day of month # noqa: E501 - - :return: The day of this RegisterUserAccountRequest. # noqa: E501 - :rtype: str - """ - return self._day - - @day.setter - def day(self, day): - """Sets the day of this RegisterUserAccountRequest. - - Birth day of month # noqa: E501 - - :param day: The day of this RegisterUserAccountRequest. # noqa: E501 - :type day: str - """ - if self.local_vars_configuration.client_side_validation and day is None: # noqa: E501 - raise ValueError("Invalid value for `day`, must not be `None`") # noqa: E501 - - self._day = day - - @property - def captcha_code(self): - """Gets the captcha_code of this RegisterUserAccountRequest. # noqa: E501 + def password(self): + """Gets the password of this RegisterUserAccountRequest. # noqa: E501 - Captcha code # noqa: E501 + Password # noqa: E501 - :return: The captcha_code of this RegisterUserAccountRequest. # noqa: E501 + :return: The password of this RegisterUserAccountRequest. # noqa: E501 :rtype: str """ - return self._captcha_code + return self._password - @captcha_code.setter - def captcha_code(self, captcha_code): - """Sets the captcha_code of this RegisterUserAccountRequest. + @password.setter + def password(self, password): + """Sets the password of this RegisterUserAccountRequest. - Captcha code # noqa: E501 + Password # noqa: E501 - :param captcha_code: The captcha_code of this RegisterUserAccountRequest. # noqa: E501 - :type captcha_code: str + :param password: The password of this RegisterUserAccountRequest. # noqa: E501 + :type password: str """ - if self.local_vars_configuration.client_side_validation and captcha_code is None: # noqa: E501 - raise ValueError("Invalid value for `captcha_code`, must not be `None`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and password is None: # noqa: E501 + raise ValueError("Invalid value for `password`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + password is not None and len(password) < 8): + raise ValueError("Invalid value for `password`, length must be greater than or equal to `8`") # noqa: E501 - self._captcha_code = captcha_code + self._password = password @property def subscribe(self): @@ -296,29 +265,60 @@ def subscribe(self, subscribe): self._subscribe = subscribe @property - def accepted_tos_version(self): - """Gets the accepted_tos_version of this RegisterUserAccountRequest. # noqa: E501 + def username(self): + """Gets the username of this RegisterUserAccountRequest. # noqa: E501 - The most recent version of the TOS # noqa: E501 + Display Name / Username (Username is a sanitized version) # noqa: E501 - :return: The accepted_tos_version of this RegisterUserAccountRequest. # noqa: E501 - :rtype: int + :return: The username of this RegisterUserAccountRequest. # noqa: E501 + :rtype: str """ - return self._accepted_tos_version + return self._username - @accepted_tos_version.setter - def accepted_tos_version(self, accepted_tos_version): - """Sets the accepted_tos_version of this RegisterUserAccountRequest. + @username.setter + def username(self, username): + """Sets the username of this RegisterUserAccountRequest. - The most recent version of the TOS # noqa: E501 + Display Name / Username (Username is a sanitized version) # noqa: E501 - :param accepted_tos_version: The accepted_tos_version of this RegisterUserAccountRequest. # noqa: E501 - :type accepted_tos_version: int + :param username: The username of this RegisterUserAccountRequest. # noqa: E501 + :type username: str """ - if self.local_vars_configuration.client_side_validation and accepted_tos_version is None: # noqa: E501 - raise ValueError("Invalid value for `accepted_tos_version`, must not be `None`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and username is None: # noqa: E501 + raise ValueError("Invalid value for `username`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + username is not None and len(username) > 15): + raise ValueError("Invalid value for `username`, length must be less than or equal to `15`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + username is not None and len(username) < 4): + raise ValueError("Invalid value for `username`, length must be greater than or equal to `4`") # noqa: E501 - self._accepted_tos_version = accepted_tos_version + self._username = username + + @property + def year(self): + """Gets the year of this RegisterUserAccountRequest. # noqa: E501 + + Birth year # noqa: E501 + + :return: The year of this RegisterUserAccountRequest. # noqa: E501 + :rtype: str + """ + return self._year + + @year.setter + def year(self, year): + """Sets the year of this RegisterUserAccountRequest. + + Birth year # noqa: E501 + + :param year: The year of this RegisterUserAccountRequest. # noqa: E501 + :type year: str + """ + if self.local_vars_configuration.client_side_validation and year is None: # noqa: E501 + raise ValueError("Invalid value for `year`, must not be `None`") # noqa: E501 + + self._year = year def to_dict(self, serialize=False): """Returns the model properties as a dict""" diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index 0134c216..c57de42c 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -31,12 +31,12 @@ class ReleaseStatus(object): """ allowed enum values """ - PUBLIC = "public" - PRIVATE = "private" - HIDDEN = "hidden" ALL = "all" + HIDDEN = "hidden" + PRIVATE = "private" + PUBLIC = "public" - allowable_values = [PUBLIC, PRIVATE, HIDDEN, ALL] # noqa: E501 + allowable_values = [ALL, HIDDEN, PRIVATE, PUBLIC] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/report_category.py b/vrchatapi/models/report_category.py index 02a4cdda..2be52454 100644 --- a/vrchatapi/models/report_category.py +++ b/vrchatapi/models/report_category.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -37,35 +37,35 @@ class ReportCategory(object): """ openapi_types = { 'description': 'str', - 'title': 'str', 'text': 'str', + 'title': 'str', 'tooltip': 'str' } attribute_map = { 'description': 'description', - 'title': 'title', 'text': 'text', + 'title': 'title', 'tooltip': 'tooltip' } - def __init__(self, description=None, title=None, text=None, tooltip=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, description=None, text=None, title=None, tooltip=None, local_vars_configuration=None): # noqa: E501 """ReportCategory - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._description = None - self._title = None self._text = None + self._title = None self._tooltip = None self.discriminator = None if description is not None: self.description = description + self.text = text if title is not None: self.title = title - self.text = text self.tooltip = tooltip @property @@ -91,29 +91,6 @@ def description(self, description): self._description = description - @property - def title(self): - """Gets the title of this ReportCategory. # noqa: E501 - - The title of the report category # noqa: E501 - - :return: The title of this ReportCategory. # noqa: E501 - :rtype: str - """ - return self._title - - @title.setter - def title(self, title): - """Sets the title of this ReportCategory. - - The title of the report category # noqa: E501 - - :param title: The title of this ReportCategory. # noqa: E501 - :type title: str - """ - - self._title = title - @property def text(self): """Gets the text of this ReportCategory. # noqa: E501 @@ -139,6 +116,29 @@ def text(self, text): self._text = text + @property + def title(self): + """Gets the title of this ReportCategory. # noqa: E501 + + The title of the report category # noqa: E501 + + :return: The title of this ReportCategory. # noqa: E501 + :rtype: str + """ + return self._title + + @title.setter + def title(self, title): + """Sets the title of this ReportCategory. + + The title of the report category # noqa: E501 + + :param title: The title of this ReportCategory. # noqa: E501 + :type title: str + """ + + self._title = title + @property def tooltip(self): """Gets the tooltip of this ReportCategory. # noqa: E501 diff --git a/vrchatapi/models/report_reason.py b/vrchatapi/models/report_reason.py index 02160919..1205e29f 100644 --- a/vrchatapi/models/report_reason.py +++ b/vrchatapi/models/report_reason.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/represented_group.py b/vrchatapi/models/represented_group.py index 44db0091..9aa5823c 100644 --- a/vrchatapi/models/represented_group.py +++ b/vrchatapi/models/represented_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,127 +36,148 @@ class RepresentedGroup(object): and the value is json key in definition. """ openapi_types = { - 'name': 'str', - 'short_code': 'str', - 'discriminator': 'str', + 'banner_id': 'str', + 'banner_url': 'str', 'description': 'str', + 'discriminator': 'str', + 'group_id': 'str', 'icon_id': 'str', 'icon_url': 'str', - 'banner_id': 'str', - 'banner_url': 'str', - 'privacy': 'GroupPrivacy', - 'owner_id': 'str', + 'is_representing': 'bool', 'member_count': 'int', - 'group_id': 'str', 'member_visibility': 'GroupUserVisibility', - 'is_representing': 'bool' + 'name': 'str', + 'owner_id': 'str', + 'privacy': 'GroupPrivacy', + 'short_code': 'str' } attribute_map = { - 'name': 'name', - 'short_code': 'shortCode', - 'discriminator': 'discriminator', + 'banner_id': 'bannerId', + 'banner_url': 'bannerUrl', 'description': 'description', + 'discriminator': 'discriminator', + 'group_id': 'groupId', 'icon_id': 'iconId', 'icon_url': 'iconUrl', - 'banner_id': 'bannerId', - 'banner_url': 'bannerUrl', - 'privacy': 'privacy', - 'owner_id': 'ownerId', + 'is_representing': 'isRepresenting', 'member_count': 'memberCount', - 'group_id': 'groupId', 'member_visibility': 'memberVisibility', - 'is_representing': 'isRepresenting' + 'name': 'name', + 'owner_id': 'ownerId', + 'privacy': 'privacy', + 'short_code': 'shortCode' } - def __init__(self, name=None, short_code=None, discriminator=None, description=None, icon_id=None, icon_url=None, banner_id=None, banner_url=None, privacy=None, owner_id=None, member_count=None, group_id=None, member_visibility=None, is_representing=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, banner_id=None, banner_url=None, description=None, discriminator=None, group_id=None, icon_id=None, icon_url=None, is_representing=None, member_count=None, member_visibility=None, name=None, owner_id=None, privacy=None, short_code=None, local_vars_configuration=None): # noqa: E501 """RepresentedGroup - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._name = None - self._short_code = None - self._discriminator = None + self._banner_id = None + self._banner_url = None self._description = None + self._discriminator = None + self._group_id = None self._icon_id = None self._icon_url = None - self._banner_id = None - self._banner_url = None - self._privacy = None - self._owner_id = None + self._is_representing = None self._member_count = None - self._group_id = None self._member_visibility = None - self._is_representing = None + self._name = None + self._owner_id = None + self._privacy = None + self._short_code = None self.discriminator = None - if name is not None: - self.name = name - if short_code is not None: - self.short_code = short_code - if discriminator is not None: - self.discriminator = discriminator + self.banner_id = banner_id + self.banner_url = banner_url if description is not None: self.description = description + if discriminator is not None: + self.discriminator = discriminator + if group_id is not None: + self.group_id = group_id self.icon_id = icon_id self.icon_url = icon_url - self.banner_id = banner_id - self.banner_url = banner_url - if privacy is not None: - self.privacy = privacy - if owner_id is not None: - self.owner_id = owner_id + if is_representing is not None: + self.is_representing = is_representing if member_count is not None: self.member_count = member_count - if group_id is not None: - self.group_id = group_id if member_visibility is not None: self.member_visibility = member_visibility - if is_representing is not None: - self.is_representing = is_representing + if name is not None: + self.name = name + if owner_id is not None: + self.owner_id = owner_id + if privacy is not None: + self.privacy = privacy + if short_code is not None: + self.short_code = short_code @property - def name(self): - """Gets the name of this RepresentedGroup. # noqa: E501 + def banner_id(self): + """Gets the banner_id of this RepresentedGroup. # noqa: E501 - :return: The name of this RepresentedGroup. # noqa: E501 + :return: The banner_id of this RepresentedGroup. # noqa: E501 :rtype: str """ - return self._name + return self._banner_id - @name.setter - def name(self, name): - """Sets the name of this RepresentedGroup. + @banner_id.setter + def banner_id(self, banner_id): + """Sets the banner_id of this RepresentedGroup. - :param name: The name of this RepresentedGroup. # noqa: E501 - :type name: str + :param banner_id: The banner_id of this RepresentedGroup. # noqa: E501 + :type banner_id: str """ - self._name = name + self._banner_id = banner_id @property - def short_code(self): - """Gets the short_code of this RepresentedGroup. # noqa: E501 + def banner_url(self): + """Gets the banner_url of this RepresentedGroup. # noqa: E501 - :return: The short_code of this RepresentedGroup. # noqa: E501 + :return: The banner_url of this RepresentedGroup. # noqa: E501 :rtype: str """ - return self._short_code + return self._banner_url - @short_code.setter - def short_code(self, short_code): - """Sets the short_code of this RepresentedGroup. + @banner_url.setter + def banner_url(self, banner_url): + """Sets the banner_url of this RepresentedGroup. - :param short_code: The short_code of this RepresentedGroup. # noqa: E501 - :type short_code: str + :param banner_url: The banner_url of this RepresentedGroup. # noqa: E501 + :type banner_url: str """ - self._short_code = short_code + self._banner_url = banner_url + + @property + def description(self): + """Gets the description of this RepresentedGroup. # noqa: E501 + + + :return: The description of this RepresentedGroup. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this RepresentedGroup. + + + :param description: The description of this RepresentedGroup. # noqa: E501 + :type description: str + """ + + self._description = description @property def discriminator(self): @@ -180,25 +201,25 @@ def discriminator(self, discriminator): self._discriminator = discriminator @property - def description(self): - """Gets the description of this RepresentedGroup. # noqa: E501 + def group_id(self): + """Gets the group_id of this RepresentedGroup. # noqa: E501 - :return: The description of this RepresentedGroup. # noqa: E501 + :return: The group_id of this RepresentedGroup. # noqa: E501 :rtype: str """ - return self._description + return self._group_id - @description.setter - def description(self, description): - """Sets the description of this RepresentedGroup. + @group_id.setter + def group_id(self, group_id): + """Sets the group_id of this RepresentedGroup. - :param description: The description of this RepresentedGroup. # noqa: E501 - :type description: str + :param group_id: The group_id of this RepresentedGroup. # noqa: E501 + :type group_id: str """ - self._description = description + self._group_id = group_id @property def icon_id(self): @@ -243,67 +264,88 @@ def icon_url(self, icon_url): self._icon_url = icon_url @property - def banner_id(self): - """Gets the banner_id of this RepresentedGroup. # noqa: E501 + def is_representing(self): + """Gets the is_representing of this RepresentedGroup. # noqa: E501 - :return: The banner_id of this RepresentedGroup. # noqa: E501 - :rtype: str + :return: The is_representing of this RepresentedGroup. # noqa: E501 + :rtype: bool """ - return self._banner_id + return self._is_representing - @banner_id.setter - def banner_id(self, banner_id): - """Sets the banner_id of this RepresentedGroup. + @is_representing.setter + def is_representing(self, is_representing): + """Sets the is_representing of this RepresentedGroup. - :param banner_id: The banner_id of this RepresentedGroup. # noqa: E501 - :type banner_id: str + :param is_representing: The is_representing of this RepresentedGroup. # noqa: E501 + :type is_representing: bool """ - self._banner_id = banner_id + self._is_representing = is_representing @property - def banner_url(self): - """Gets the banner_url of this RepresentedGroup. # noqa: E501 + def member_count(self): + """Gets the member_count of this RepresentedGroup. # noqa: E501 - :return: The banner_url of this RepresentedGroup. # noqa: E501 - :rtype: str + :return: The member_count of this RepresentedGroup. # noqa: E501 + :rtype: int """ - return self._banner_url + return self._member_count - @banner_url.setter - def banner_url(self, banner_url): - """Sets the banner_url of this RepresentedGroup. + @member_count.setter + def member_count(self, member_count): + """Sets the member_count of this RepresentedGroup. - :param banner_url: The banner_url of this RepresentedGroup. # noqa: E501 - :type banner_url: str + :param member_count: The member_count of this RepresentedGroup. # noqa: E501 + :type member_count: int """ - self._banner_url = banner_url + self._member_count = member_count @property - def privacy(self): - """Gets the privacy of this RepresentedGroup. # noqa: E501 + def member_visibility(self): + """Gets the member_visibility of this RepresentedGroup. # noqa: E501 - :return: The privacy of this RepresentedGroup. # noqa: E501 - :rtype: GroupPrivacy + :return: The member_visibility of this RepresentedGroup. # noqa: E501 + :rtype: GroupUserVisibility """ - return self._privacy + return self._member_visibility - @privacy.setter - def privacy(self, privacy): - """Sets the privacy of this RepresentedGroup. + @member_visibility.setter + def member_visibility(self, member_visibility): + """Sets the member_visibility of this RepresentedGroup. - :param privacy: The privacy of this RepresentedGroup. # noqa: E501 - :type privacy: GroupPrivacy + :param member_visibility: The member_visibility of this RepresentedGroup. # noqa: E501 + :type member_visibility: GroupUserVisibility """ - self._privacy = privacy + self._member_visibility = member_visibility + + @property + def name(self): + """Gets the name of this RepresentedGroup. # noqa: E501 + + + :return: The name of this RepresentedGroup. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this RepresentedGroup. + + + :param name: The name of this RepresentedGroup. # noqa: E501 + :type name: str + """ + + self._name = name @property def owner_id(self): @@ -329,88 +371,46 @@ def owner_id(self, owner_id): self._owner_id = owner_id @property - def member_count(self): - """Gets the member_count of this RepresentedGroup. # noqa: E501 + def privacy(self): + """Gets the privacy of this RepresentedGroup. # noqa: E501 - :return: The member_count of this RepresentedGroup. # noqa: E501 - :rtype: int + :return: The privacy of this RepresentedGroup. # noqa: E501 + :rtype: GroupPrivacy """ - return self._member_count + return self._privacy - @member_count.setter - def member_count(self, member_count): - """Sets the member_count of this RepresentedGroup. + @privacy.setter + def privacy(self, privacy): + """Sets the privacy of this RepresentedGroup. - :param member_count: The member_count of this RepresentedGroup. # noqa: E501 - :type member_count: int + :param privacy: The privacy of this RepresentedGroup. # noqa: E501 + :type privacy: GroupPrivacy """ - self._member_count = member_count + self._privacy = privacy @property - def group_id(self): - """Gets the group_id of this RepresentedGroup. # noqa: E501 + def short_code(self): + """Gets the short_code of this RepresentedGroup. # noqa: E501 - :return: The group_id of this RepresentedGroup. # noqa: E501 + :return: The short_code of this RepresentedGroup. # noqa: E501 :rtype: str """ - return self._group_id - - @group_id.setter - def group_id(self, group_id): - """Sets the group_id of this RepresentedGroup. - - - :param group_id: The group_id of this RepresentedGroup. # noqa: E501 - :type group_id: str - """ - - self._group_id = group_id - - @property - def member_visibility(self): - """Gets the member_visibility of this RepresentedGroup. # noqa: E501 - - - :return: The member_visibility of this RepresentedGroup. # noqa: E501 - :rtype: GroupUserVisibility - """ - return self._member_visibility - - @member_visibility.setter - def member_visibility(self, member_visibility): - """Sets the member_visibility of this RepresentedGroup. - - - :param member_visibility: The member_visibility of this RepresentedGroup. # noqa: E501 - :type member_visibility: GroupUserVisibility - """ - - self._member_visibility = member_visibility - - @property - def is_representing(self): - """Gets the is_representing of this RepresentedGroup. # noqa: E501 - - - :return: The is_representing of this RepresentedGroup. # noqa: E501 - :rtype: bool - """ - return self._is_representing + return self._short_code - @is_representing.setter - def is_representing(self, is_representing): - """Sets the is_representing of this RepresentedGroup. + @short_code.setter + def short_code(self, short_code): + """Sets the short_code of this RepresentedGroup. - :param is_representing: The is_representing of this RepresentedGroup. # noqa: E501 - :type is_representing: bool + :param short_code: The short_code of this RepresentedGroup. # noqa: E501 + :type short_code: str """ - self._is_representing = is_representing + self._short_code = short_code def to_dict(self, serialize=False): """Returns the model properties as a dict""" diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index f65f8dd5..7001c0a9 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index a5d4d8a4..39aa0ef9 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_notification_v2_request.py b/vrchatapi/models/respond_notification_v2_request.py new file mode 100644 index 00000000..b715dcd8 --- /dev/null +++ b/vrchatapi/models/respond_notification_v2_request.py @@ -0,0 +1,158 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class RespondNotificationV2Request(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'response_data': 'str', + 'response_type': 'str' + } + + attribute_map = { + 'response_data': 'responseData', + 'response_type': 'responseType' + } + + def __init__(self, response_data='', response_type=None, local_vars_configuration=None): # noqa: E501 + """RespondNotificationV2Request - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._response_data = None + self._response_type = None + self.discriminator = None + + if response_data is not None: + self.response_data = response_data + self.response_type = response_type + + @property + def response_data(self): + """Gets the response_data of this RespondNotificationV2Request. # noqa: E501 + + + :return: The response_data of this RespondNotificationV2Request. # noqa: E501 + :rtype: str + """ + return self._response_data + + @response_data.setter + def response_data(self, response_data): + """Sets the response_data of this RespondNotificationV2Request. + + + :param response_data: The response_data of this RespondNotificationV2Request. # noqa: E501 + :type response_data: str + """ + + self._response_data = response_data + + @property + def response_type(self): + """Gets the response_type of this RespondNotificationV2Request. # noqa: E501 + + + :return: The response_type of this RespondNotificationV2Request. # noqa: E501 + :rtype: str + """ + return self._response_type + + @response_type.setter + def response_type(self, response_type): + """Sets the response_type of this RespondNotificationV2Request. + + + :param response_type: The response_type of this RespondNotificationV2Request. # noqa: E501 + :type response_type: str + """ + if self.local_vars_configuration.client_side_validation and response_type is None: # noqa: E501 + raise ValueError("Invalid value for `response_type`, must not be `None`") # noqa: E501 + + self._response_type = response_type + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, RespondNotificationV2Request): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, RespondNotificationV2Request): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index 3a123dea..b97f4f9f 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_report_options_avatar.py b/vrchatapi/models/search_group_members200_response.py similarity index 52% rename from vrchatapi/models/api_config_report_options_avatar.py rename to vrchatapi/models/search_group_members200_response.py index 588bd75d..83864da6 100644 --- a/vrchatapi/models/api_config_report_options_avatar.py +++ b/vrchatapi/models/search_group_members200_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -21,7 +21,7 @@ from vrchatapi.configuration import Configuration -class APIConfigReportOptionsAvatar(object): +class SearchGroupMembers200Response(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -36,97 +36,73 @@ class APIConfigReportOptionsAvatar(object): and the value is json key in definition. """ openapi_types = { - 'avatar': 'list[str]', - 'avatarpage': 'list[str]', - 'warnings': 'list[str]' + 'results': 'list[GroupMember]', + 'total': 'int' } attribute_map = { - 'avatar': 'avatar', - 'avatarpage': 'avatarpage', - 'warnings': 'warnings' + 'results': 'results', + 'total': 'total' } - def __init__(self, avatar=None, avatarpage=None, warnings=None, local_vars_configuration=None): # noqa: E501 - """APIConfigReportOptionsAvatar - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, results=None, total=None, local_vars_configuration=None): # noqa: E501 + """SearchGroupMembers200Response - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._avatar = None - self._avatarpage = None - self._warnings = None + self._results = None + self._total = None self.discriminator = None - if avatar is not None: - self.avatar = avatar - if avatarpage is not None: - self.avatarpage = avatarpage - if warnings is not None: - self.warnings = warnings + if results is not None: + self.results = results + if total is not None: + self.total = total @property - def avatar(self): - """Gets the avatar of this APIConfigReportOptionsAvatar. # noqa: E501 + def results(self): + """Gets the results of this SearchGroupMembers200Response. # noqa: E501 - :return: The avatar of this APIConfigReportOptionsAvatar. # noqa: E501 - :rtype: list[str] + :return: The results of this SearchGroupMembers200Response. # noqa: E501 + :rtype: list[GroupMember] """ - return self._avatar + return self._results - @avatar.setter - def avatar(self, avatar): - """Sets the avatar of this APIConfigReportOptionsAvatar. + @results.setter + def results(self, results): + """Sets the results of this SearchGroupMembers200Response. - :param avatar: The avatar of this APIConfigReportOptionsAvatar. # noqa: E501 - :type avatar: list[str] + :param results: The results of this SearchGroupMembers200Response. # noqa: E501 + :type results: list[GroupMember] """ - self._avatar = avatar + self._results = results @property - def avatarpage(self): - """Gets the avatarpage of this APIConfigReportOptionsAvatar. # noqa: E501 + def total(self): + """Gets the total of this SearchGroupMembers200Response. # noqa: E501 + Number of members returned # noqa: E501 - :return: The avatarpage of this APIConfigReportOptionsAvatar. # noqa: E501 - :rtype: list[str] + :return: The total of this SearchGroupMembers200Response. # noqa: E501 + :rtype: int """ - return self._avatarpage + return self._total - @avatarpage.setter - def avatarpage(self, avatarpage): - """Sets the avatarpage of this APIConfigReportOptionsAvatar. + @total.setter + def total(self, total): + """Sets the total of this SearchGroupMembers200Response. + Number of members returned # noqa: E501 - :param avatarpage: The avatarpage of this APIConfigReportOptionsAvatar. # noqa: E501 - :type avatarpage: list[str] + :param total: The total of this SearchGroupMembers200Response. # noqa: E501 + :type total: int """ - self._avatarpage = avatarpage - - @property - def warnings(self): - """Gets the warnings of this APIConfigReportOptionsAvatar. # noqa: E501 - - - :return: The warnings of this APIConfigReportOptionsAvatar. # noqa: E501 - :rtype: list[str] - """ - return self._warnings - - @warnings.setter - def warnings(self, warnings): - """Sets the warnings of this APIConfigReportOptionsAvatar. - - - :param warnings: The warnings of this APIConfigReportOptionsAvatar. # noqa: E501 - :type warnings: list[str] - """ - - self._warnings = warnings + self._total = total def to_dict(self, serialize=False): """Returns the model properties as a dict""" @@ -170,14 +146,14 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, APIConfigReportOptionsAvatar): + if not isinstance(other, SearchGroupMembers200Response): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, APIConfigReportOptionsAvatar): + if not isinstance(other, SearchGroupMembers200Response): return True return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index 53a27b4f..e659d683 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -37,7 +37,7 @@ class SentNotification(object): """ openapi_types = { 'created_at': 'datetime', - 'details': 'object', + 'details': 'dict(str, str)', 'id': 'str', 'message': 'str', 'receiver_user_id': 'str', @@ -112,7 +112,7 @@ def details(self): :return: The details of this SentNotification. # noqa: E501 - :rtype: object + :rtype: dict(str, str) """ return self._details @@ -122,7 +122,7 @@ def details(self, details): :param details: The details of this SentNotification. # noqa: E501 - :type details: object + :type details: dict(str, str) """ if self.local_vars_configuration.client_side_validation and details is None: # noqa: E501 raise ValueError("Invalid value for `details`, must not be `None`") # noqa: E501 diff --git a/vrchatapi/models/service_queue_stats.py b/vrchatapi/models/service_queue_stats.py index c40fccc9..e35c34c2 100644 --- a/vrchatapi/models/service_queue_stats.py +++ b/vrchatapi/models/service_queue_stats.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/service_status.py b/vrchatapi/models/service_status.py index b5b1e2ce..28ad1ffc 100644 --- a/vrchatapi/models/service_status.py +++ b/vrchatapi/models/service_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/share_inventory_item_direct_request.py b/vrchatapi/models/share_inventory_item_direct_request.py index 3ba8c6f5..e0ce2308 100644 --- a/vrchatapi/models/share_inventory_item_direct_request.py +++ b/vrchatapi/models/share_inventory_item_direct_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index e40361f6..2bdac5c6 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -31,26 +31,26 @@ class SortOption(object): """ allowed enum values """ - POPULARITY = "popularity" - HEAT = "heat" - TRUST = "trust" - SHUFFLE = "shuffle" - RANDOM = "random" - FAVORITES = "favorites" - REPORTSCORE = "reportScore" - REPORTCOUNT = "reportCount" - PUBLICATIONDATE = "publicationDate" - LABSPUBLICATIONDATE = "labsPublicationDate" - CREATED = "created" _CREATED_AT = "_created_at" - UPDATED = "updated" _UPDATED_AT = "_updated_at" - ORDER = "order" - RELEVANCE = "relevance" + CREATED = "created" + FAVORITES = "favorites" + HEAT = "heat" + LABSPUBLICATIONDATE = "labsPublicationDate" MAGIC = "magic" NAME = "name" + ORDER = "order" + POPULARITY = "popularity" + PUBLICATIONDATE = "publicationDate" + RANDOM = "random" + RELEVANCE = "relevance" + REPORTCOUNT = "reportCount" + REPORTSCORE = "reportScore" + SHUFFLE = "shuffle" + TRUST = "trust" + UPDATED = "updated" - allowable_values = [POPULARITY, HEAT, TRUST, SHUFFLE, RANDOM, FAVORITES, REPORTSCORE, REPORTCOUNT, PUBLICATIONDATE, LABSPUBLICATIONDATE, CREATED, _CREATED_AT, UPDATED, _UPDATED_AT, ORDER, RELEVANCE, MAGIC, NAME] # noqa: E501 + allowable_values = [_CREATED_AT, _UPDATED_AT, CREATED, FAVORITES, HEAT, LABSPUBLICATIONDATE, MAGIC, NAME, ORDER, POPULARITY, PUBLICATIONDATE, RANDOM, RELEVANCE, REPORTCOUNT, REPORTSCORE, SHUFFLE, TRUST, UPDATED] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/sort_option_product_purchase.py b/vrchatapi/models/sort_option_product_purchase.py new file mode 100644 index 00000000..d8cf3dda --- /dev/null +++ b/vrchatapi/models/sort_option_product_purchase.py @@ -0,0 +1,110 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class SortOptionProductPurchase(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + PURCHASEDATE = "purchaseDate" + + allowable_values = [PURCHASEDATE] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """SortOptionProductPurchase - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, SortOptionProductPurchase): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, SortOptionProductPurchase): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/store.py b/vrchatapi/models/store.py index 87d82ff5..893face1 100644 --- a/vrchatapi/models/store.py +++ b/vrchatapi/models/store.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -38,38 +38,38 @@ class Store(object): openapi_types = { 'description': 'str', 'display_name': 'str', + 'group_id': 'str', 'id': 'str', + 'listing_ids': 'list[str]', + 'listings': 'list[ProductListing]', 'seller_display_name': 'str', 'seller_id': 'str', + 'shelf_ids': 'list[str]', + 'shelves': 'list[StoreShelf]', 'store_id': 'str', 'store_type': 'StoreType', 'tags': 'list[str]', - 'listing_ids': 'list[str]', - 'listings': 'list[ProductListing]', - 'world_id': 'str', - 'group_id': 'str', - 'shelf_ids': 'list[str]', - 'shelves': 'list[StoreShelf]' + 'world_id': 'str' } attribute_map = { 'description': 'description', 'display_name': 'displayName', + 'group_id': 'groupId', 'id': 'id', + 'listing_ids': 'listingIds', + 'listings': 'listings', 'seller_display_name': 'sellerDisplayName', 'seller_id': 'sellerId', + 'shelf_ids': 'shelfIds', + 'shelves': 'shelves', 'store_id': 'storeId', 'store_type': 'storeType', 'tags': 'tags', - 'listing_ids': 'listingIds', - 'listings': 'listings', - 'world_id': 'worldId', - 'group_id': 'groupId', - 'shelf_ids': 'shelfIds', - 'shelves': 'shelves' + 'world_id': 'worldId' } - def __init__(self, description=None, display_name=None, id=None, seller_display_name=None, seller_id=None, store_id=None, store_type=None, tags=None, listing_ids=None, listings=None, world_id=None, group_id=None, shelf_ids=None, shelves=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, description=None, display_name=None, group_id=None, id=None, listing_ids=None, listings=None, seller_display_name=None, seller_id=None, shelf_ids=None, shelves=None, store_id=None, store_type=None, tags=None, world_id=None, local_vars_configuration=None): # noqa: E501 """Store - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -77,40 +77,40 @@ def __init__(self, description=None, display_name=None, id=None, seller_display_ self._description = None self._display_name = None + self._group_id = None self._id = None + self._listing_ids = None + self._listings = None self._seller_display_name = None self._seller_id = None + self._shelf_ids = None + self._shelves = None self._store_id = None self._store_type = None self._tags = None - self._listing_ids = None - self._listings = None self._world_id = None - self._group_id = None - self._shelf_ids = None - self._shelves = None self.discriminator = None self.description = description self.display_name = display_name + if group_id is not None: + self.group_id = group_id self.id = id - self.seller_display_name = seller_display_name - self.seller_id = seller_id - self.store_id = store_id - self.store_type = store_type - self.tags = tags if listing_ids is not None: self.listing_ids = listing_ids if listings is not None: self.listings = listings - if world_id is not None: - self.world_id = world_id - if group_id is not None: - self.group_id = group_id + self.seller_display_name = seller_display_name + self.seller_id = seller_id if shelf_ids is not None: self.shelf_ids = shelf_ids if shelves is not None: self.shelves = shelves + self.store_id = store_id + self.store_type = store_type + self.tags = tags + if world_id is not None: + self.world_id = world_id @property def description(self): @@ -158,6 +158,27 @@ def display_name(self, display_name): self._display_name = display_name + @property + def group_id(self): + """Gets the group_id of this Store. # noqa: E501 + + + :return: The group_id of this Store. # noqa: E501 + :rtype: str + """ + return self._group_id + + @group_id.setter + def group_id(self, group_id): + """Sets the group_id of this Store. + + + :param group_id: The group_id of this Store. # noqa: E501 + :type group_id: str + """ + + self._group_id = group_id + @property def id(self): """Gets the id of this Store. # noqa: E501 @@ -181,6 +202,52 @@ def id(self, id): self._id = id + @property + def listing_ids(self): + """Gets the listing_ids of this Store. # noqa: E501 + + Only for store type world and group # noqa: E501 + + :return: The listing_ids of this Store. # noqa: E501 + :rtype: list[str] + """ + return self._listing_ids + + @listing_ids.setter + def listing_ids(self, listing_ids): + """Sets the listing_ids of this Store. + + Only for store type world and group # noqa: E501 + + :param listing_ids: The listing_ids of this Store. # noqa: E501 + :type listing_ids: list[str] + """ + + self._listing_ids = listing_ids + + @property + def listings(self): + """Gets the listings of this Store. # noqa: E501 + + Only for store type world and group # noqa: E501 + + :return: The listings of this Store. # noqa: E501 + :rtype: list[ProductListing] + """ + return self._listings + + @listings.setter + def listings(self, listings): + """Sets the listings of this Store. + + Only for store type world and group # noqa: E501 + + :param listings: The listings of this Store. # noqa: E501 + :type listings: list[ProductListing] + """ + + self._listings = listings + @property def seller_display_name(self): """Gets the seller_display_name of this Store. # noqa: E501 @@ -229,6 +296,52 @@ def seller_id(self, seller_id): self._seller_id = seller_id + @property + def shelf_ids(self): + """Gets the shelf_ids of this Store. # noqa: E501 + + Only for store type house # noqa: E501 + + :return: The shelf_ids of this Store. # noqa: E501 + :rtype: list[str] + """ + return self._shelf_ids + + @shelf_ids.setter + def shelf_ids(self, shelf_ids): + """Sets the shelf_ids of this Store. + + Only for store type house # noqa: E501 + + :param shelf_ids: The shelf_ids of this Store. # noqa: E501 + :type shelf_ids: list[str] + """ + + self._shelf_ids = shelf_ids + + @property + def shelves(self): + """Gets the shelves of this Store. # noqa: E501 + + Only for store type house # noqa: E501 + + :return: The shelves of this Store. # noqa: E501 + :rtype: list[StoreShelf] + """ + return self._shelves + + @shelves.setter + def shelves(self, shelves): + """Sets the shelves of this Store. + + Only for store type house # noqa: E501 + + :param shelves: The shelves of this Store. # noqa: E501 + :type shelves: list[StoreShelf] + """ + + self._shelves = shelves + @property def store_id(self): """Gets the store_id of this Store. # noqa: E501 @@ -298,52 +411,6 @@ def tags(self, tags): self._tags = tags - @property - def listing_ids(self): - """Gets the listing_ids of this Store. # noqa: E501 - - Only for store type world and group # noqa: E501 - - :return: The listing_ids of this Store. # noqa: E501 - :rtype: list[str] - """ - return self._listing_ids - - @listing_ids.setter - def listing_ids(self, listing_ids): - """Sets the listing_ids of this Store. - - Only for store type world and group # noqa: E501 - - :param listing_ids: The listing_ids of this Store. # noqa: E501 - :type listing_ids: list[str] - """ - - self._listing_ids = listing_ids - - @property - def listings(self): - """Gets the listings of this Store. # noqa: E501 - - Only for store type world and group # noqa: E501 - - :return: The listings of this Store. # noqa: E501 - :rtype: list[ProductListing] - """ - return self._listings - - @listings.setter - def listings(self, listings): - """Sets the listings of this Store. - - Only for store type world and group # noqa: E501 - - :param listings: The listings of this Store. # noqa: E501 - :type listings: list[ProductListing] - """ - - self._listings = listings - @property def world_id(self): """Gets the world_id of this Store. # noqa: E501 @@ -367,73 +434,6 @@ def world_id(self, world_id): self._world_id = world_id - @property - def group_id(self): - """Gets the group_id of this Store. # noqa: E501 - - - :return: The group_id of this Store. # noqa: E501 - :rtype: str - """ - return self._group_id - - @group_id.setter - def group_id(self, group_id): - """Sets the group_id of this Store. - - - :param group_id: The group_id of this Store. # noqa: E501 - :type group_id: str - """ - - self._group_id = group_id - - @property - def shelf_ids(self): - """Gets the shelf_ids of this Store. # noqa: E501 - - Only for store type house # noqa: E501 - - :return: The shelf_ids of this Store. # noqa: E501 - :rtype: list[str] - """ - return self._shelf_ids - - @shelf_ids.setter - def shelf_ids(self, shelf_ids): - """Sets the shelf_ids of this Store. - - Only for store type house # noqa: E501 - - :param shelf_ids: The shelf_ids of this Store. # noqa: E501 - :type shelf_ids: list[str] - """ - - self._shelf_ids = shelf_ids - - @property - def shelves(self): - """Gets the shelves of this Store. # noqa: E501 - - Only for store type house # noqa: E501 - - :return: The shelves of this Store. # noqa: E501 - :rtype: list[StoreShelf] - """ - return self._shelves - - @shelves.setter - def shelves(self, shelves): - """Sets the shelves of this Store. - - Only for store type house # noqa: E501 - - :param shelves: The shelves of this Store. # noqa: E501 - :type shelves: list[StoreShelf] - """ - - self._shelves = shelves - def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/store_shelf.py b/vrchatapi/models/store_shelf.py index 1df4995a..f1d898d1 100644 --- a/vrchatapi/models/store_shelf.py +++ b/vrchatapi/models/store_shelf.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,16 +36,20 @@ class StoreShelf(object): and the value is json key in definition. """ openapi_types = { + 'highlight_listing': 'ProductListing', + 'highlight_listing_id': 'str', 'id': 'str', 'listing_ids': 'list[str]', 'listings': 'list[ProductListing]', 'shelf_description': 'str', 'shelf_layout': 'str', 'shelf_title': 'str', - 'updated_at': 'str' + 'updated_at': 'datetime' } attribute_map = { + 'highlight_listing': 'highlightListing', + 'highlight_listing_id': 'highlightListingId', 'id': 'id', 'listing_ids': 'listingIds', 'listings': 'listings', @@ -55,12 +59,14 @@ class StoreShelf(object): 'updated_at': 'updatedAt' } - def __init__(self, id=None, listing_ids=None, listings=None, shelf_description=None, shelf_layout=None, shelf_title=None, updated_at=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, highlight_listing=None, highlight_listing_id=None, id=None, listing_ids=None, listings=None, shelf_description=None, shelf_layout=None, shelf_title=None, updated_at=None, local_vars_configuration=None): # noqa: E501 """StoreShelf - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration + self._highlight_listing = None + self._highlight_listing_id = None self._id = None self._listing_ids = None self._listings = None @@ -70,6 +76,10 @@ def __init__(self, id=None, listing_ids=None, listings=None, shelf_description=N self._updated_at = None self.discriminator = None + if highlight_listing is not None: + self.highlight_listing = highlight_listing + if highlight_listing_id is not None: + self.highlight_listing_id = highlight_listing_id self.id = id self.listing_ids = listing_ids if listings is not None: @@ -79,6 +89,48 @@ def __init__(self, id=None, listing_ids=None, listings=None, shelf_description=N self.shelf_title = shelf_title self.updated_at = updated_at + @property + def highlight_listing(self): + """Gets the highlight_listing of this StoreShelf. # noqa: E501 + + + :return: The highlight_listing of this StoreShelf. # noqa: E501 + :rtype: ProductListing + """ + return self._highlight_listing + + @highlight_listing.setter + def highlight_listing(self, highlight_listing): + """Sets the highlight_listing of this StoreShelf. + + + :param highlight_listing: The highlight_listing of this StoreShelf. # noqa: E501 + :type highlight_listing: ProductListing + """ + + self._highlight_listing = highlight_listing + + @property + def highlight_listing_id(self): + """Gets the highlight_listing_id of this StoreShelf. # noqa: E501 + + + :return: The highlight_listing_id of this StoreShelf. # noqa: E501 + :rtype: str + """ + return self._highlight_listing_id + + @highlight_listing_id.setter + def highlight_listing_id(self, highlight_listing_id): + """Sets the highlight_listing_id of this StoreShelf. + + + :param highlight_listing_id: The highlight_listing_id of this StoreShelf. # noqa: E501 + :type highlight_listing_id: str + """ + + self._highlight_listing_id = highlight_listing_id + @property def id(self): """Gets the id of this StoreShelf. # noqa: E501 @@ -221,7 +273,7 @@ def updated_at(self): :return: The updated_at of this StoreShelf. # noqa: E501 - :rtype: str + :rtype: datetime """ return self._updated_at @@ -231,7 +283,7 @@ def updated_at(self, updated_at): :param updated_at: The updated_at of this StoreShelf. # noqa: E501 - :type updated_at: str + :type updated_at: datetime """ if self.local_vars_configuration.client_side_validation and updated_at is None: # noqa: E501 raise ValueError("Invalid value for `updated_at`, must not be `None`") # noqa: E501 diff --git a/vrchatapi/models/store_type.py b/vrchatapi/models/store_type.py index e10ac460..cfd34707 100644 --- a/vrchatapi/models/store_type.py +++ b/vrchatapi/models/store_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -31,11 +31,11 @@ class StoreType(object): """ allowed enum values """ + GROUP = "group" HOUSE = "house" WORLD = "world" - GROUP = "group" - allowable_values = [HOUSE, WORLD, GROUP] # noqa: E501 + allowable_values = [GROUP, HOUSE, WORLD] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/store_view.py b/vrchatapi/models/store_view.py index 0409652a..cec98cb8 100644 --- a/vrchatapi/models/store_view.py +++ b/vrchatapi/models/store_view.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -32,12 +32,12 @@ class StoreView(object): allowed enum values """ ALL = "all" - PUBLICPREVIEW = "publicPreview" - PUBLIC = "public" - PREVIEW = "preview" DRAFT = "draft" + PREVIEW = "preview" + PUBLIC = "public" + PUBLICPREVIEW = "publicPreview" - allowable_values = [ALL, PUBLICPREVIEW, PUBLIC, PREVIEW, DRAFT] # noqa: E501 + allowable_values = [ALL, DRAFT, PREVIEW, PUBLIC, PUBLICPREVIEW] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/submission.py b/vrchatapi/models/submission.py index a227b4ae..def32282 100644 --- a/vrchatapi/models/submission.py +++ b/vrchatapi/models/submission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/submit_moderation_report_request.py b/vrchatapi/models/submit_moderation_report_request.py new file mode 100644 index 00000000..fa1c4da8 --- /dev/null +++ b/vrchatapi/models/submit_moderation_report_request.py @@ -0,0 +1,275 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class SubmitModerationReportRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'category': 'str', + 'content_id': 'str', + 'description': 'str', + 'details': 'SubmitModerationReportRequestDetails', + 'reason': 'str', + 'type': 'str' + } + + attribute_map = { + 'category': 'category', + 'content_id': 'contentId', + 'description': 'description', + 'details': 'details', + 'reason': 'reason', + 'type': 'type' + } + + def __init__(self, category=None, content_id=None, description=None, details=None, reason=None, type=None, local_vars_configuration=None): # noqa: E501 + """SubmitModerationReportRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._category = None + self._content_id = None + self._description = None + self._details = None + self._reason = None + self._type = None + self.discriminator = None + + self.category = category + self.content_id = content_id + if description is not None: + self.description = description + if details is not None: + self.details = details + self.reason = reason + self.type = type + + @property + def category(self): + """Gets the category of this SubmitModerationReportRequest. # noqa: E501 + + Valid values are the keys of the object `$.reportOptions[type]` from `GET /config`. Descriptions of these are found at `$.reportCategories[type]`. # noqa: E501 + + :return: The category of this SubmitModerationReportRequest. # noqa: E501 + :rtype: str + """ + return self._category + + @category.setter + def category(self, category): + """Sets the category of this SubmitModerationReportRequest. + + Valid values are the keys of the object `$.reportOptions[type]` from `GET /config`. Descriptions of these are found at `$.reportCategories[type]`. # noqa: E501 + + :param category: The category of this SubmitModerationReportRequest. # noqa: E501 + :type category: str + """ + if self.local_vars_configuration.client_side_validation and category is None: # noqa: E501 + raise ValueError("Invalid value for `category`, must not be `None`") # noqa: E501 + + self._category = category + + @property + def content_id(self): + """Gets the content_id of this SubmitModerationReportRequest. # noqa: E501 + + The id of the user, group, world, avatar, inventory item, print, etc. being reported. # noqa: E501 + + :return: The content_id of this SubmitModerationReportRequest. # noqa: E501 + :rtype: str + """ + return self._content_id + + @content_id.setter + def content_id(self, content_id): + """Sets the content_id of this SubmitModerationReportRequest. + + The id of the user, group, world, avatar, inventory item, print, etc. being reported. # noqa: E501 + + :param content_id: The content_id of this SubmitModerationReportRequest. # noqa: E501 + :type content_id: str + """ + if self.local_vars_configuration.client_side_validation and content_id is None: # noqa: E501 + raise ValueError("Invalid value for `content_id`, must not be `None`") # noqa: E501 + + self._content_id = content_id + + @property + def description(self): + """Gets the description of this SubmitModerationReportRequest. # noqa: E501 + + The subjective reason for the report # noqa: E501 + + :return: The description of this SubmitModerationReportRequest. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this SubmitModerationReportRequest. + + The subjective reason for the report # noqa: E501 + + :param description: The description of this SubmitModerationReportRequest. # noqa: E501 + :type description: str + """ + + self._description = description + + @property + def details(self): + """Gets the details of this SubmitModerationReportRequest. # noqa: E501 + + + :return: The details of this SubmitModerationReportRequest. # noqa: E501 + :rtype: SubmitModerationReportRequestDetails + """ + return self._details + + @details.setter + def details(self, details): + """Sets the details of this SubmitModerationReportRequest. + + + :param details: The details of this SubmitModerationReportRequest. # noqa: E501 + :type details: SubmitModerationReportRequestDetails + """ + + self._details = details + + @property + def reason(self): + """Gets the reason of this SubmitModerationReportRequest. # noqa: E501 + + Valid values are the strings in the array `$.reportOptions[type][category]` from `GET /config`. Descriptions of these are found at `$.reportReasons[type]`. # noqa: E501 + + :return: The reason of this SubmitModerationReportRequest. # noqa: E501 + :rtype: str + """ + return self._reason + + @reason.setter + def reason(self, reason): + """Sets the reason of this SubmitModerationReportRequest. + + Valid values are the strings in the array `$.reportOptions[type][category]` from `GET /config`. Descriptions of these are found at `$.reportReasons[type]`. # noqa: E501 + + :param reason: The reason of this SubmitModerationReportRequest. # noqa: E501 + :type reason: str + """ + if self.local_vars_configuration.client_side_validation and reason is None: # noqa: E501 + raise ValueError("Invalid value for `reason`, must not be `None`") # noqa: E501 + + self._reason = reason + + @property + def type(self): + """Gets the type of this SubmitModerationReportRequest. # noqa: E501 + + Valid values are the keys of the object `$.reportOptions` from `GET /config`. # noqa: E501 + + :return: The type of this SubmitModerationReportRequest. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this SubmitModerationReportRequest. + + Valid values are the keys of the object `$.reportOptions` from `GET /config`. # noqa: E501 + + :param type: The type of this SubmitModerationReportRequest. # noqa: E501 + :type type: str + """ + if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501 + raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 + + self._type = type + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, SubmitModerationReportRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, SubmitModerationReportRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/submit_moderation_report_request_details.py b/vrchatapi/models/submit_moderation_report_request_details.py new file mode 100644 index 00000000..d6e1d39d --- /dev/null +++ b/vrchatapi/models/submit_moderation_report_request_details.py @@ -0,0 +1,299 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class SubmitModerationReportRequestDetails(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'file_id': 'str', + 'holder_id': 'str', + 'image_type': 'str', + 'instance_age_gated': 'bool', + 'instance_type': 'str', + 'suggested_warnings': 'list[ContentFilter]', + 'user_in_same_instance': 'bool' + } + + attribute_map = { + 'file_id': 'fileId', + 'holder_id': 'holderId', + 'image_type': 'imageType', + 'instance_age_gated': 'instanceAgeGated', + 'instance_type': 'instanceType', + 'suggested_warnings': 'suggestedWarnings', + 'user_in_same_instance': 'userInSameInstance' + } + + def __init__(self, file_id=None, holder_id=None, image_type=None, instance_age_gated=None, instance_type=None, suggested_warnings=None, user_in_same_instance=None, local_vars_configuration=None): # noqa: E501 + """SubmitModerationReportRequestDetails - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._file_id = None + self._holder_id = None + self._image_type = None + self._instance_age_gated = None + self._instance_type = None + self._suggested_warnings = None + self._user_in_same_instance = None + self.discriminator = None + + if file_id is not None: + self.file_id = file_id + if holder_id is not None: + self.holder_id = holder_id + if image_type is not None: + self.image_type = image_type + if instance_age_gated is not None: + self.instance_age_gated = instance_age_gated + if instance_type is not None: + self.instance_type = instance_type + if suggested_warnings is not None: + self.suggested_warnings = suggested_warnings + if user_in_same_instance is not None: + self.user_in_same_instance = user_in_same_instance + + @property + def file_id(self): + """Gets the file_id of this SubmitModerationReportRequestDetails. # noqa: E501 + + + :return: The file_id of this SubmitModerationReportRequestDetails. # noqa: E501 + :rtype: str + """ + return self._file_id + + @file_id.setter + def file_id(self, file_id): + """Sets the file_id of this SubmitModerationReportRequestDetails. + + + :param file_id: The file_id of this SubmitModerationReportRequestDetails. # noqa: E501 + :type file_id: str + """ + + self._file_id = file_id + + @property + def holder_id(self): + """Gets the holder_id of this SubmitModerationReportRequestDetails. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The holder_id of this SubmitModerationReportRequestDetails. # noqa: E501 + :rtype: str + """ + return self._holder_id + + @holder_id.setter + def holder_id(self, holder_id): + """Sets the holder_id of this SubmitModerationReportRequestDetails. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param holder_id: The holder_id of this SubmitModerationReportRequestDetails. # noqa: E501 + :type holder_id: str + """ + + self._holder_id = holder_id + + @property + def image_type(self): + """Gets the image_type of this SubmitModerationReportRequestDetails. # noqa: E501 + + Relevant detail for reports about image content, such as emoji. # noqa: E501 + + :return: The image_type of this SubmitModerationReportRequestDetails. # noqa: E501 + :rtype: str + """ + return self._image_type + + @image_type.setter + def image_type(self, image_type): + """Sets the image_type of this SubmitModerationReportRequestDetails. + + Relevant detail for reports about image content, such as emoji. # noqa: E501 + + :param image_type: The image_type of this SubmitModerationReportRequestDetails. # noqa: E501 + :type image_type: str + """ + + self._image_type = image_type + + @property + def instance_age_gated(self): + """Gets the instance_age_gated of this SubmitModerationReportRequestDetails. # noqa: E501 + + Relevant detail for reports taking place from within an instance. # noqa: E501 + + :return: The instance_age_gated of this SubmitModerationReportRequestDetails. # noqa: E501 + :rtype: bool + """ + return self._instance_age_gated + + @instance_age_gated.setter + def instance_age_gated(self, instance_age_gated): + """Sets the instance_age_gated of this SubmitModerationReportRequestDetails. + + Relevant detail for reports taking place from within an instance. # noqa: E501 + + :param instance_age_gated: The instance_age_gated of this SubmitModerationReportRequestDetails. # noqa: E501 + :type instance_age_gated: bool + """ + + self._instance_age_gated = instance_age_gated + + @property + def instance_type(self): + """Gets the instance_type of this SubmitModerationReportRequestDetails. # noqa: E501 + + Relevant detail for reports taking place from within an instance. # noqa: E501 + + :return: The instance_type of this SubmitModerationReportRequestDetails. # noqa: E501 + :rtype: str + """ + return self._instance_type + + @instance_type.setter + def instance_type(self, instance_type): + """Sets the instance_type of this SubmitModerationReportRequestDetails. + + Relevant detail for reports taking place from within an instance. # noqa: E501 + + :param instance_type: The instance_type of this SubmitModerationReportRequestDetails. # noqa: E501 + :type instance_type: str + """ + + self._instance_type = instance_type + + @property + def suggested_warnings(self): + """Gets the suggested_warnings of this SubmitModerationReportRequestDetails. # noqa: E501 + + Relevant detail for reports about content that might not be tagged properly. # noqa: E501 + + :return: The suggested_warnings of this SubmitModerationReportRequestDetails. # noqa: E501 + :rtype: list[ContentFilter] + """ + return self._suggested_warnings + + @suggested_warnings.setter + def suggested_warnings(self, suggested_warnings): + """Sets the suggested_warnings of this SubmitModerationReportRequestDetails. + + Relevant detail for reports about content that might not be tagged properly. # noqa: E501 + + :param suggested_warnings: The suggested_warnings of this SubmitModerationReportRequestDetails. # noqa: E501 + :type suggested_warnings: list[ContentFilter] + """ + + self._suggested_warnings = suggested_warnings + + @property + def user_in_same_instance(self): + """Gets the user_in_same_instance of this SubmitModerationReportRequestDetails. # noqa: E501 + + Relevant detail for reports involving another user in the same instance world. # noqa: E501 + + :return: The user_in_same_instance of this SubmitModerationReportRequestDetails. # noqa: E501 + :rtype: bool + """ + return self._user_in_same_instance + + @user_in_same_instance.setter + def user_in_same_instance(self, user_in_same_instance): + """Sets the user_in_same_instance of this SubmitModerationReportRequestDetails. + + Relevant detail for reports involving another user in the same instance world. # noqa: E501 + + :param user_in_same_instance: The user_in_same_instance of this SubmitModerationReportRequestDetails. # noqa: E501 + :type user_in_same_instance: bool + """ + + self._user_in_same_instance = user_in_same_instance + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, SubmitModerationReportRequestDetails): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, SubmitModerationReportRequestDetails): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index df82c6a6..bba72e63 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,144 +36,159 @@ class Subscription(object): and the value is json key in definition. """ openapi_types = { - 'id': 'str', - 'steam_item_id': 'str', - 'oculus_sku': 'str', - 'google_product_id': 'str', - 'google_plan_id': 'str', - 'pico_sku': 'str', - 'apple_product_id': 'str', 'amount': 'float', + 'apple_product_id': 'str', 'description': 'str', + 'google_plan_id': 'str', + 'google_product_id': 'str', + 'id': 'str', + 'oculus_sku': 'str', 'period': 'SubscriptionPeriod', + 'pico_sku': 'str', + 'steam_item_id': 'str', 'tier': 'int' } attribute_map = { - 'id': 'id', - 'steam_item_id': 'steamItemId', - 'oculus_sku': 'oculusSku', - 'google_product_id': 'googleProductId', - 'google_plan_id': 'googlePlanId', - 'pico_sku': 'picoSku', - 'apple_product_id': 'appleProductId', 'amount': 'amount', + 'apple_product_id': 'appleProductId', 'description': 'description', + 'google_plan_id': 'googlePlanId', + 'google_product_id': 'googleProductId', + 'id': 'id', + 'oculus_sku': 'oculusSku', 'period': 'period', + 'pico_sku': 'picoSku', + 'steam_item_id': 'steamItemId', 'tier': 'tier' } - def __init__(self, id=None, steam_item_id=None, oculus_sku=None, google_product_id=None, google_plan_id=None, pico_sku=None, apple_product_id=None, amount=None, description=None, period=None, tier=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, amount=None, apple_product_id=None, description=None, google_plan_id=None, google_product_id=None, id=None, oculus_sku=None, period=None, pico_sku=None, steam_item_id=None, tier=None, local_vars_configuration=None): # noqa: E501 """Subscription - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._id = None - self._steam_item_id = None - self._oculus_sku = None - self._google_product_id = None - self._google_plan_id = None - self._pico_sku = None - self._apple_product_id = None self._amount = None + self._apple_product_id = None self._description = None + self._google_plan_id = None + self._google_product_id = None + self._id = None + self._oculus_sku = None self._period = None + self._pico_sku = None + self._steam_item_id = None self._tier = None self.discriminator = None + self.amount = amount + if apple_product_id is not None: + self.apple_product_id = apple_product_id + self.description = description + if google_plan_id is not None: + self.google_plan_id = google_plan_id + if google_product_id is not None: + self.google_product_id = google_product_id self.id = id - self.steam_item_id = steam_item_id if oculus_sku is not None: self.oculus_sku = oculus_sku - if google_product_id is not None: - self.google_product_id = google_product_id - if google_plan_id is not None: - self.google_plan_id = google_plan_id + self.period = period if pico_sku is not None: self.pico_sku = pico_sku - if apple_product_id is not None: - self.apple_product_id = apple_product_id - self.amount = amount - self.description = description - self.period = period + self.steam_item_id = steam_item_id self.tier = tier @property - def id(self): - """Gets the id of this Subscription. # noqa: E501 + def amount(self): + """Gets the amount of this Subscription. # noqa: E501 - :return: The id of this Subscription. # noqa: E501 + :return: The amount of this Subscription. # noqa: E501 + :rtype: float + """ + return self._amount + + @amount.setter + def amount(self, amount): + """Sets the amount of this Subscription. + + + :param amount: The amount of this Subscription. # noqa: E501 + :type amount: float + """ + if self.local_vars_configuration.client_side_validation and amount is None: # noqa: E501 + raise ValueError("Invalid value for `amount`, must not be `None`") # noqa: E501 + + self._amount = amount + + @property + def apple_product_id(self): + """Gets the apple_product_id of this Subscription. # noqa: E501 + + + :return: The apple_product_id of this Subscription. # noqa: E501 :rtype: str """ - return self._id + return self._apple_product_id - @id.setter - def id(self, id): - """Sets the id of this Subscription. + @apple_product_id.setter + def apple_product_id(self, apple_product_id): + """Sets the apple_product_id of this Subscription. - :param id: The id of this Subscription. # noqa: E501 - :type id: str + :param apple_product_id: The apple_product_id of this Subscription. # noqa: E501 + :type apple_product_id: str """ - if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 if (self.local_vars_configuration.client_side_validation and - id is not None and len(id) < 1): - raise ValueError("Invalid value for `id`, length must be greater than or equal to `1`") # noqa: E501 + apple_product_id is not None and len(apple_product_id) < 1): + raise ValueError("Invalid value for `apple_product_id`, length must be greater than or equal to `1`") # noqa: E501 - self._id = id + self._apple_product_id = apple_product_id @property - def steam_item_id(self): - """Gets the steam_item_id of this Subscription. # noqa: E501 + def description(self): + """Gets the description of this Subscription. # noqa: E501 - :return: The steam_item_id of this Subscription. # noqa: E501 + :return: The description of this Subscription. # noqa: E501 :rtype: str """ - return self._steam_item_id + return self._description - @steam_item_id.setter - def steam_item_id(self, steam_item_id): - """Sets the steam_item_id of this Subscription. + @description.setter + def description(self, description): + """Sets the description of this Subscription. - :param steam_item_id: The steam_item_id of this Subscription. # noqa: E501 - :type steam_item_id: str + :param description: The description of this Subscription. # noqa: E501 + :type description: str """ - if self.local_vars_configuration.client_side_validation and steam_item_id is None: # noqa: E501 - raise ValueError("Invalid value for `steam_item_id`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - steam_item_id is not None and len(steam_item_id) < 1): - raise ValueError("Invalid value for `steam_item_id`, length must be greater than or equal to `1`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and description is None: # noqa: E501 + raise ValueError("Invalid value for `description`, must not be `None`") # noqa: E501 - self._steam_item_id = steam_item_id + self._description = description @property - def oculus_sku(self): - """Gets the oculus_sku of this Subscription. # noqa: E501 + def google_plan_id(self): + """Gets the google_plan_id of this Subscription. # noqa: E501 - :return: The oculus_sku of this Subscription. # noqa: E501 + :return: The google_plan_id of this Subscription. # noqa: E501 :rtype: str """ - return self._oculus_sku + return self._google_plan_id - @oculus_sku.setter - def oculus_sku(self, oculus_sku): - """Sets the oculus_sku of this Subscription. + @google_plan_id.setter + def google_plan_id(self, google_plan_id): + """Sets the google_plan_id of this Subscription. - :param oculus_sku: The oculus_sku of this Subscription. # noqa: E501 - :type oculus_sku: str + :param google_plan_id: The google_plan_id of this Subscription. # noqa: E501 + :type google_plan_id: str """ - if (self.local_vars_configuration.client_side_validation and - oculus_sku is not None and len(oculus_sku) < 1): - raise ValueError("Invalid value for `oculus_sku`, length must be greater than or equal to `1`") # noqa: E501 - self._oculus_sku = oculus_sku + self._google_plan_id = google_plan_id @property def google_product_id(self): @@ -200,142 +215,127 @@ def google_product_id(self, google_product_id): self._google_product_id = google_product_id @property - def google_plan_id(self): - """Gets the google_plan_id of this Subscription. # noqa: E501 - - - :return: The google_plan_id of this Subscription. # noqa: E501 - :rtype: str - """ - return self._google_plan_id - - @google_plan_id.setter - def google_plan_id(self, google_plan_id): - """Sets the google_plan_id of this Subscription. - - - :param google_plan_id: The google_plan_id of this Subscription. # noqa: E501 - :type google_plan_id: str - """ - - self._google_plan_id = google_plan_id - - @property - def pico_sku(self): - """Gets the pico_sku of this Subscription. # noqa: E501 + def id(self): + """Gets the id of this Subscription. # noqa: E501 - :return: The pico_sku of this Subscription. # noqa: E501 + :return: The id of this Subscription. # noqa: E501 :rtype: str """ - return self._pico_sku + return self._id - @pico_sku.setter - def pico_sku(self, pico_sku): - """Sets the pico_sku of this Subscription. + @id.setter + def id(self, id): + """Sets the id of this Subscription. - :param pico_sku: The pico_sku of this Subscription. # noqa: E501 - :type pico_sku: str + :param id: The id of this Subscription. # noqa: E501 + :type id: str """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 if (self.local_vars_configuration.client_side_validation and - pico_sku is not None and len(pico_sku) < 1): - raise ValueError("Invalid value for `pico_sku`, length must be greater than or equal to `1`") # noqa: E501 + id is not None and len(id) < 1): + raise ValueError("Invalid value for `id`, length must be greater than or equal to `1`") # noqa: E501 - self._pico_sku = pico_sku + self._id = id @property - def apple_product_id(self): - """Gets the apple_product_id of this Subscription. # noqa: E501 + def oculus_sku(self): + """Gets the oculus_sku of this Subscription. # noqa: E501 - :return: The apple_product_id of this Subscription. # noqa: E501 + :return: The oculus_sku of this Subscription. # noqa: E501 :rtype: str """ - return self._apple_product_id + return self._oculus_sku - @apple_product_id.setter - def apple_product_id(self, apple_product_id): - """Sets the apple_product_id of this Subscription. + @oculus_sku.setter + def oculus_sku(self, oculus_sku): + """Sets the oculus_sku of this Subscription. - :param apple_product_id: The apple_product_id of this Subscription. # noqa: E501 - :type apple_product_id: str + :param oculus_sku: The oculus_sku of this Subscription. # noqa: E501 + :type oculus_sku: str """ if (self.local_vars_configuration.client_side_validation and - apple_product_id is not None and len(apple_product_id) < 1): - raise ValueError("Invalid value for `apple_product_id`, length must be greater than or equal to `1`") # noqa: E501 + oculus_sku is not None and len(oculus_sku) < 1): + raise ValueError("Invalid value for `oculus_sku`, length must be greater than or equal to `1`") # noqa: E501 - self._apple_product_id = apple_product_id + self._oculus_sku = oculus_sku @property - def amount(self): - """Gets the amount of this Subscription. # noqa: E501 + def period(self): + """Gets the period of this Subscription. # noqa: E501 - :return: The amount of this Subscription. # noqa: E501 - :rtype: float + :return: The period of this Subscription. # noqa: E501 + :rtype: SubscriptionPeriod """ - return self._amount + return self._period - @amount.setter - def amount(self, amount): - """Sets the amount of this Subscription. + @period.setter + def period(self, period): + """Sets the period of this Subscription. - :param amount: The amount of this Subscription. # noqa: E501 - :type amount: float + :param period: The period of this Subscription. # noqa: E501 + :type period: SubscriptionPeriod """ - if self.local_vars_configuration.client_side_validation and amount is None: # noqa: E501 - raise ValueError("Invalid value for `amount`, must not be `None`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and period is None: # noqa: E501 + raise ValueError("Invalid value for `period`, must not be `None`") # noqa: E501 - self._amount = amount + self._period = period @property - def description(self): - """Gets the description of this Subscription. # noqa: E501 + def pico_sku(self): + """Gets the pico_sku of this Subscription. # noqa: E501 - :return: The description of this Subscription. # noqa: E501 + :return: The pico_sku of this Subscription. # noqa: E501 :rtype: str """ - return self._description + return self._pico_sku - @description.setter - def description(self, description): - """Sets the description of this Subscription. + @pico_sku.setter + def pico_sku(self, pico_sku): + """Sets the pico_sku of this Subscription. - :param description: The description of this Subscription. # noqa: E501 - :type description: str + :param pico_sku: The pico_sku of this Subscription. # noqa: E501 + :type pico_sku: str """ - if self.local_vars_configuration.client_side_validation and description is None: # noqa: E501 - raise ValueError("Invalid value for `description`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + pico_sku is not None and len(pico_sku) < 1): + raise ValueError("Invalid value for `pico_sku`, length must be greater than or equal to `1`") # noqa: E501 - self._description = description + self._pico_sku = pico_sku @property - def period(self): - """Gets the period of this Subscription. # noqa: E501 + def steam_item_id(self): + """Gets the steam_item_id of this Subscription. # noqa: E501 - :return: The period of this Subscription. # noqa: E501 - :rtype: SubscriptionPeriod + :return: The steam_item_id of this Subscription. # noqa: E501 + :rtype: str """ - return self._period + return self._steam_item_id - @period.setter - def period(self, period): - """Sets the period of this Subscription. + @steam_item_id.setter + def steam_item_id(self, steam_item_id): + """Sets the steam_item_id of this Subscription. - :param period: The period of this Subscription. # noqa: E501 - :type period: SubscriptionPeriod + :param steam_item_id: The steam_item_id of this Subscription. # noqa: E501 + :type steam_item_id: str """ - if self.local_vars_configuration.client_side_validation and period is None: # noqa: E501 - raise ValueError("Invalid value for `period`, must not be `None`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and steam_item_id is None: # noqa: E501 + raise ValueError("Invalid value for `steam_item_id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + steam_item_id is not None and len(steam_item_id) < 1): + raise ValueError("Invalid value for `steam_item_id`, length must be greater than or equal to `1`") # noqa: E501 - self._period = period + self._steam_item_id = steam_item_id @property def tier(self): diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index 1c44a82f..edc1a13f 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -31,13 +31,13 @@ class SubscriptionPeriod(object): """ allowed enum values """ - HOUR = "hour" DAY = "day" - WEEK = "week" + HOUR = "hour" MONTH = "month" + WEEK = "week" YEAR = "year" - allowable_values = [HOUR, DAY, WEEK, MONTH, YEAR] # noqa: E501 + allowable_values = [DAY, HOUR, MONTH, WEEK, YEAR] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index 5e417ff9..d05d6b42 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success_flag.py b/vrchatapi/models/success_flag.py new file mode 100644 index 00000000..5786a11d --- /dev/null +++ b/vrchatapi/models/success_flag.py @@ -0,0 +1,132 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class SuccessFlag(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'success': 'bool' + } + + attribute_map = { + 'success': 'success' + } + + def __init__(self, success=None, local_vars_configuration=None): # noqa: E501 + """SuccessFlag - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._success = None + self.discriminator = None + + self.success = success + + @property + def success(self): + """Gets the success of this SuccessFlag. # noqa: E501 + + + :return: The success of this SuccessFlag. # noqa: E501 + :rtype: bool + """ + return self._success + + @success.setter + def success(self, success): + """Sets the success of this SuccessFlag. + + + :param success: The success of this SuccessFlag. # noqa: E501 + :type success: bool + """ + if self.local_vars_configuration.client_side_validation and success is None: # noqa: E501 + raise ValueError("Invalid value for `success`, must not be `None`") # noqa: E501 + + self._success = success + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, SuccessFlag): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, SuccessFlag): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/tilia_status.py b/vrchatapi/models/tilia_status.py index c2d98bf7..5f6bf825 100644 --- a/vrchatapi/models/tilia_status.py +++ b/vrchatapi/models/tilia_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -38,18 +38,18 @@ class TiliaStatus(object): openapi_types = { 'economy_online': 'bool', 'economy_state': 'int', - 'planned_offline_window_start': 'datetime', - 'planned_offline_window_end': 'datetime' + 'planned_offline_window_end': 'datetime', + 'planned_offline_window_start': 'datetime' } attribute_map = { 'economy_online': 'economyOnline', 'economy_state': 'economyState', - 'planned_offline_window_start': 'plannedOfflineWindowStart', - 'planned_offline_window_end': 'plannedOfflineWindowEnd' + 'planned_offline_window_end': 'plannedOfflineWindowEnd', + 'planned_offline_window_start': 'plannedOfflineWindowStart' } - def __init__(self, economy_online=None, economy_state=None, planned_offline_window_start=None, planned_offline_window_end=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, economy_online=None, economy_state=None, planned_offline_window_end=None, planned_offline_window_start=None, local_vars_configuration=None): # noqa: E501 """TiliaStatus - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -57,17 +57,17 @@ def __init__(self, economy_online=None, economy_state=None, planned_offline_wind self._economy_online = None self._economy_state = None - self._planned_offline_window_start = None self._planned_offline_window_end = None + self._planned_offline_window_start = None self.discriminator = None self.economy_online = economy_online if economy_state is not None: self.economy_state = economy_state - if planned_offline_window_start is not None: - self.planned_offline_window_start = planned_offline_window_start if planned_offline_window_end is not None: self.planned_offline_window_end = planned_offline_window_end + if planned_offline_window_start is not None: + self.planned_offline_window_start = planned_offline_window_start @property def economy_online(self): @@ -114,46 +114,46 @@ def economy_state(self, economy_state): self._economy_state = economy_state @property - def planned_offline_window_start(self): - """Gets the planned_offline_window_start of this TiliaStatus. # noqa: E501 + def planned_offline_window_end(self): + """Gets the planned_offline_window_end of this TiliaStatus. # noqa: E501 - :return: The planned_offline_window_start of this TiliaStatus. # noqa: E501 + :return: The planned_offline_window_end of this TiliaStatus. # noqa: E501 :rtype: datetime """ - return self._planned_offline_window_start + return self._planned_offline_window_end - @planned_offline_window_start.setter - def planned_offline_window_start(self, planned_offline_window_start): - """Sets the planned_offline_window_start of this TiliaStatus. + @planned_offline_window_end.setter + def planned_offline_window_end(self, planned_offline_window_end): + """Sets the planned_offline_window_end of this TiliaStatus. - :param planned_offline_window_start: The planned_offline_window_start of this TiliaStatus. # noqa: E501 - :type planned_offline_window_start: datetime + :param planned_offline_window_end: The planned_offline_window_end of this TiliaStatus. # noqa: E501 + :type planned_offline_window_end: datetime """ - self._planned_offline_window_start = planned_offline_window_start + self._planned_offline_window_end = planned_offline_window_end @property - def planned_offline_window_end(self): - """Gets the planned_offline_window_end of this TiliaStatus. # noqa: E501 + def planned_offline_window_start(self): + """Gets the planned_offline_window_start of this TiliaStatus. # noqa: E501 - :return: The planned_offline_window_end of this TiliaStatus. # noqa: E501 + :return: The planned_offline_window_start of this TiliaStatus. # noqa: E501 :rtype: datetime """ - return self._planned_offline_window_end + return self._planned_offline_window_start - @planned_offline_window_end.setter - def planned_offline_window_end(self, planned_offline_window_end): - """Sets the planned_offline_window_end of this TiliaStatus. + @planned_offline_window_start.setter + def planned_offline_window_start(self, planned_offline_window_start): + """Sets the planned_offline_window_start of this TiliaStatus. - :param planned_offline_window_end: The planned_offline_window_end of this TiliaStatus. # noqa: E501 - :type planned_offline_window_end: datetime + :param planned_offline_window_start: The planned_offline_window_start of this TiliaStatus. # noqa: E501 + :type planned_offline_window_start: datetime """ - self._planned_offline_window_end = planned_offline_window_end + self._planned_offline_window_start = planned_offline_window_start def to_dict(self, serialize=False): """Returns the model properties as a dict""" diff --git a/vrchatapi/models/tilia_tos.py b/vrchatapi/models/tilia_tos.py index df2f37ad..254a17ef 100644 --- a/vrchatapi/models/tilia_tos.py +++ b/vrchatapi/models/tilia_tos.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/token_bundle.py b/vrchatapi/models/token_bundle.py index c67807bb..142e1948 100644 --- a/vrchatapi/models/token_bundle.py +++ b/vrchatapi/models/token_bundle.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,79 +36,81 @@ class TokenBundle(object): and the value is json key in definition. """ openapi_types = { - 'id': 'str', - 'apple_product_id': 'str', - 'steam_item_id': 'str', - 'oculus_sku': 'str', - 'google_product_id': 'str', 'amount': 'int', + 'apple_product_id': 'str', 'description': 'str', - 'tokens': 'int', - 'image_url': 'str' + 'google_product_id': 'str', + 'id': 'str', + 'image_url': 'str', + 'oculus_sku': 'str', + 'steam_item_id': 'str', + 'tokens': 'int' } attribute_map = { - 'id': 'id', - 'apple_product_id': 'appleProductId', - 'steam_item_id': 'steamItemId', - 'oculus_sku': 'oculusSku', - 'google_product_id': 'googleProductId', 'amount': 'amount', + 'apple_product_id': 'appleProductId', 'description': 'description', - 'tokens': 'tokens', - 'image_url': 'imageUrl' + 'google_product_id': 'googleProductId', + 'id': 'id', + 'image_url': 'imageUrl', + 'oculus_sku': 'oculusSku', + 'steam_item_id': 'steamItemId', + 'tokens': 'tokens' } - def __init__(self, id=None, apple_product_id=None, steam_item_id=None, oculus_sku=None, google_product_id=None, amount=None, description=None, tokens=None, image_url=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, amount=None, apple_product_id=None, description=None, google_product_id=None, id=None, image_url=None, oculus_sku=None, steam_item_id=None, tokens=None, local_vars_configuration=None): # noqa: E501 """TokenBundle - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._id = None - self._apple_product_id = None - self._steam_item_id = None - self._oculus_sku = None - self._google_product_id = None self._amount = None + self._apple_product_id = None self._description = None - self._tokens = None + self._google_product_id = None + self._id = None self._image_url = None + self._oculus_sku = None + self._steam_item_id = None + self._tokens = None self.discriminator = None - self.id = id + self.amount = amount self.apple_product_id = apple_product_id - self.steam_item_id = steam_item_id - self.oculus_sku = oculus_sku + self.description = description if google_product_id is not None: self.google_product_id = google_product_id - self.amount = amount - self.description = description - self.tokens = tokens + self.id = id self.image_url = image_url + self.oculus_sku = oculus_sku + self.steam_item_id = steam_item_id + self.tokens = tokens @property - def id(self): - """Gets the id of this TokenBundle. # noqa: E501 + def amount(self): + """Gets the amount of this TokenBundle. # noqa: E501 + price of the bundle # noqa: E501 - :return: The id of this TokenBundle. # noqa: E501 - :rtype: str + :return: The amount of this TokenBundle. # noqa: E501 + :rtype: int """ - return self._id + return self._amount - @id.setter - def id(self, id): - """Sets the id of this TokenBundle. + @amount.setter + def amount(self, amount): + """Sets the amount of this TokenBundle. + price of the bundle # noqa: E501 - :param id: The id of this TokenBundle. # noqa: E501 - :type id: str + :param amount: The amount of this TokenBundle. # noqa: E501 + :type amount: int """ - if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and amount is None: # noqa: E501 + raise ValueError("Invalid value for `amount`, must not be `None`") # noqa: E501 - self._id = id + self._amount = amount @property def apple_product_id(self): @@ -134,119 +136,142 @@ def apple_product_id(self, apple_product_id): self._apple_product_id = apple_product_id @property - def steam_item_id(self): - """Gets the steam_item_id of this TokenBundle. # noqa: E501 + def description(self): + """Gets the description of this TokenBundle. # noqa: E501 - :return: The steam_item_id of this TokenBundle. # noqa: E501 + :return: The description of this TokenBundle. # noqa: E501 :rtype: str """ - return self._steam_item_id + return self._description - @steam_item_id.setter - def steam_item_id(self, steam_item_id): - """Sets the steam_item_id of this TokenBundle. + @description.setter + def description(self, description): + """Sets the description of this TokenBundle. - :param steam_item_id: The steam_item_id of this TokenBundle. # noqa: E501 - :type steam_item_id: str + :param description: The description of this TokenBundle. # noqa: E501 + :type description: str """ - if self.local_vars_configuration.client_side_validation and steam_item_id is None: # noqa: E501 - raise ValueError("Invalid value for `steam_item_id`, must not be `None`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and description is None: # noqa: E501 + raise ValueError("Invalid value for `description`, must not be `None`") # noqa: E501 - self._steam_item_id = steam_item_id + self._description = description @property - def oculus_sku(self): - """Gets the oculus_sku of this TokenBundle. # noqa: E501 + def google_product_id(self): + """Gets the google_product_id of this TokenBundle. # noqa: E501 - :return: The oculus_sku of this TokenBundle. # noqa: E501 + :return: The google_product_id of this TokenBundle. # noqa: E501 :rtype: str """ - return self._oculus_sku + return self._google_product_id - @oculus_sku.setter - def oculus_sku(self, oculus_sku): - """Sets the oculus_sku of this TokenBundle. + @google_product_id.setter + def google_product_id(self, google_product_id): + """Sets the google_product_id of this TokenBundle. - :param oculus_sku: The oculus_sku of this TokenBundle. # noqa: E501 - :type oculus_sku: str + :param google_product_id: The google_product_id of this TokenBundle. # noqa: E501 + :type google_product_id: str """ - if self.local_vars_configuration.client_side_validation and oculus_sku is None: # noqa: E501 - raise ValueError("Invalid value for `oculus_sku`, must not be `None`") # noqa: E501 - self._oculus_sku = oculus_sku + self._google_product_id = google_product_id @property - def google_product_id(self): - """Gets the google_product_id of this TokenBundle. # noqa: E501 + def id(self): + """Gets the id of this TokenBundle. # noqa: E501 - :return: The google_product_id of this TokenBundle. # noqa: E501 + :return: The id of this TokenBundle. # noqa: E501 :rtype: str """ - return self._google_product_id + return self._id - @google_product_id.setter - def google_product_id(self, google_product_id): - """Sets the google_product_id of this TokenBundle. + @id.setter + def id(self, id): + """Sets the id of this TokenBundle. - :param google_product_id: The google_product_id of this TokenBundle. # noqa: E501 - :type google_product_id: str + :param id: The id of this TokenBundle. # noqa: E501 + :type id: str """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 - self._google_product_id = google_product_id + self._id = id @property - def amount(self): - """Gets the amount of this TokenBundle. # noqa: E501 + def image_url(self): + """Gets the image_url of this TokenBundle. # noqa: E501 - price of the bundle # noqa: E501 + direct url to image # noqa: E501 - :return: The amount of this TokenBundle. # noqa: E501 - :rtype: int + :return: The image_url of this TokenBundle. # noqa: E501 + :rtype: str """ - return self._amount + return self._image_url - @amount.setter - def amount(self, amount): - """Sets the amount of this TokenBundle. + @image_url.setter + def image_url(self, image_url): + """Sets the image_url of this TokenBundle. - price of the bundle # noqa: E501 + direct url to image # noqa: E501 - :param amount: The amount of this TokenBundle. # noqa: E501 - :type amount: int + :param image_url: The image_url of this TokenBundle. # noqa: E501 + :type image_url: str """ - if self.local_vars_configuration.client_side_validation and amount is None: # noqa: E501 - raise ValueError("Invalid value for `amount`, must not be `None`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and image_url is None: # noqa: E501 + raise ValueError("Invalid value for `image_url`, must not be `None`") # noqa: E501 - self._amount = amount + self._image_url = image_url @property - def description(self): - """Gets the description of this TokenBundle. # noqa: E501 + def oculus_sku(self): + """Gets the oculus_sku of this TokenBundle. # noqa: E501 - :return: The description of this TokenBundle. # noqa: E501 + :return: The oculus_sku of this TokenBundle. # noqa: E501 :rtype: str """ - return self._description + return self._oculus_sku - @description.setter - def description(self, description): - """Sets the description of this TokenBundle. + @oculus_sku.setter + def oculus_sku(self, oculus_sku): + """Sets the oculus_sku of this TokenBundle. - :param description: The description of this TokenBundle. # noqa: E501 - :type description: str + :param oculus_sku: The oculus_sku of this TokenBundle. # noqa: E501 + :type oculus_sku: str """ - if self.local_vars_configuration.client_side_validation and description is None: # noqa: E501 - raise ValueError("Invalid value for `description`, must not be `None`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and oculus_sku is None: # noqa: E501 + raise ValueError("Invalid value for `oculus_sku`, must not be `None`") # noqa: E501 - self._description = description + self._oculus_sku = oculus_sku + + @property + def steam_item_id(self): + """Gets the steam_item_id of this TokenBundle. # noqa: E501 + + + :return: The steam_item_id of this TokenBundle. # noqa: E501 + :rtype: str + """ + return self._steam_item_id + + @steam_item_id.setter + def steam_item_id(self, steam_item_id): + """Sets the steam_item_id of this TokenBundle. + + + :param steam_item_id: The steam_item_id of this TokenBundle. # noqa: E501 + :type steam_item_id: str + """ + if self.local_vars_configuration.client_side_validation and steam_item_id is None: # noqa: E501 + raise ValueError("Invalid value for `steam_item_id`, must not be `None`") # noqa: E501 + + self._steam_item_id = steam_item_id @property def tokens(self): @@ -273,31 +298,6 @@ def tokens(self, tokens): self._tokens = tokens - @property - def image_url(self): - """Gets the image_url of this TokenBundle. # noqa: E501 - - direct url to image # noqa: E501 - - :return: The image_url of this TokenBundle. # noqa: E501 - :rtype: str - """ - return self._image_url - - @image_url.setter - def image_url(self, image_url): - """Sets the image_url of this TokenBundle. - - direct url to image # noqa: E501 - - :param image_url: The image_url of this TokenBundle. # noqa: E501 - :type image_url: str - """ - if self.local_vars_configuration.client_side_validation and image_url is None: # noqa: E501 - raise ValueError("Invalid value for `image_url`, must not be `None`") # noqa: E501 - - self._image_url = image_url - def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index bfc8b0ae..fc9c1e19 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,190 +36,207 @@ class Transaction(object): and the value is json key in definition. """ openapi_types = { + 'agreement': 'TransactionAgreement', + 'created_at': 'datetime', + 'error': 'str', 'id': 'str', - 'user_id': 'str', - 'user_display_name': 'str', + 'is_gift': 'bool', + 'is_tokens': 'bool', + 'sandbox': 'bool', 'status': 'TransactionStatus', + 'steam': 'TransactionSteamInfo', 'subscription': 'Subscription', - 'sandbox': 'bool', - 'created_at': 'datetime', 'updated_at': 'datetime', - 'steam': 'TransactionSteamInfo', - 'agreement': 'TransactionAgreement', - 'error': 'str', - 'is_gift': 'bool', - 'is_tokens': 'bool' + 'user_display_name': 'str', + 'user_id': 'str' } attribute_map = { + 'agreement': 'agreement', + 'created_at': 'created_at', + 'error': 'error', 'id': 'id', - 'user_id': 'userId', - 'user_display_name': 'userDisplayName', + 'is_gift': 'isGift', + 'is_tokens': 'isTokens', + 'sandbox': 'sandbox', 'status': 'status', + 'steam': 'steam', 'subscription': 'subscription', - 'sandbox': 'sandbox', - 'created_at': 'created_at', 'updated_at': 'updated_at', - 'steam': 'steam', - 'agreement': 'agreement', - 'error': 'error', - 'is_gift': 'isGift', - 'is_tokens': 'isTokens' + 'user_display_name': 'userDisplayName', + 'user_id': 'userId' } - def __init__(self, id=None, user_id=None, user_display_name=None, status=None, subscription=None, sandbox=False, created_at=None, updated_at=None, steam=None, agreement=None, error=None, is_gift=False, is_tokens=False, local_vars_configuration=None): # noqa: E501 + def __init__(self, agreement=None, created_at=None, error=None, id=None, is_gift=False, is_tokens=False, sandbox=False, status=None, steam=None, subscription=None, updated_at=None, user_display_name=None, user_id=None, local_vars_configuration=None): # noqa: E501 """Transaction - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._id = None - self._user_id = None - self._user_display_name = None - self._status = None - self._subscription = None - self._sandbox = None - self._created_at = None - self._updated_at = None - self._steam = None self._agreement = None + self._created_at = None self._error = None + self._id = None self._is_gift = None self._is_tokens = None + self._sandbox = None + self._status = None + self._steam = None + self._subscription = None + self._updated_at = None + self._user_display_name = None + self._user_id = None self.discriminator = None - self.id = id - if user_id is not None: - self.user_id = user_id - if user_display_name is not None: - self.user_display_name = user_display_name - self.status = status - self.subscription = subscription - self.sandbox = sandbox - self.created_at = created_at - self.updated_at = updated_at - if steam is not None: - self.steam = steam if agreement is not None: self.agreement = agreement + self.created_at = created_at self.error = error + self.id = id if is_gift is not None: self.is_gift = is_gift if is_tokens is not None: self.is_tokens = is_tokens + self.sandbox = sandbox + self.status = status + if steam is not None: + self.steam = steam + self.subscription = subscription + self.updated_at = updated_at + if user_display_name is not None: + self.user_display_name = user_display_name + if user_id is not None: + self.user_id = user_id @property - def id(self): - """Gets the id of this Transaction. # noqa: E501 + def agreement(self): + """Gets the agreement of this Transaction. # noqa: E501 - :return: The id of this Transaction. # noqa: E501 - :rtype: str + :return: The agreement of this Transaction. # noqa: E501 + :rtype: TransactionAgreement """ - return self._id + return self._agreement - @id.setter - def id(self, id): - """Sets the id of this Transaction. + @agreement.setter + def agreement(self, agreement): + """Sets the agreement of this Transaction. - :param id: The id of this Transaction. # noqa: E501 - :type id: str + :param agreement: The agreement of this Transaction. # noqa: E501 + :type agreement: TransactionAgreement """ - if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 - self._id = id + self._agreement = agreement @property - def user_id(self): - """Gets the user_id of this Transaction. # noqa: E501 + def created_at(self): + """Gets the created_at of this Transaction. # noqa: E501 - A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :return: The user_id of this Transaction. # noqa: E501 + :return: The created_at of this Transaction. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this Transaction. + + + :param created_at: The created_at of this Transaction. # noqa: E501 + :type created_at: datetime + """ + if self.local_vars_configuration.client_side_validation and created_at is None: # noqa: E501 + raise ValueError("Invalid value for `created_at`, must not be `None`") # noqa: E501 + + self._created_at = created_at + + @property + def error(self): + """Gets the error of this Transaction. # noqa: E501 + + + :return: The error of this Transaction. # noqa: E501 :rtype: str """ - return self._user_id + return self._error - @user_id.setter - def user_id(self, user_id): - """Sets the user_id of this Transaction. + @error.setter + def error(self, error): + """Sets the error of this Transaction. - A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :param user_id: The user_id of this Transaction. # noqa: E501 - :type user_id: str + :param error: The error of this Transaction. # noqa: E501 + :type error: str """ - self._user_id = user_id + self._error = error @property - def user_display_name(self): - """Gets the user_display_name of this Transaction. # noqa: E501 + def id(self): + """Gets the id of this Transaction. # noqa: E501 - :return: The user_display_name of this Transaction. # noqa: E501 + :return: The id of this Transaction. # noqa: E501 :rtype: str """ - return self._user_display_name + return self._id - @user_display_name.setter - def user_display_name(self, user_display_name): - """Sets the user_display_name of this Transaction. + @id.setter + def id(self, id): + """Sets the id of this Transaction. - :param user_display_name: The user_display_name of this Transaction. # noqa: E501 - :type user_display_name: str + :param id: The id of this Transaction. # noqa: E501 + :type id: str """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 - self._user_display_name = user_display_name + self._id = id @property - def status(self): - """Gets the status of this Transaction. # noqa: E501 + def is_gift(self): + """Gets the is_gift of this Transaction. # noqa: E501 - :return: The status of this Transaction. # noqa: E501 - :rtype: TransactionStatus + :return: The is_gift of this Transaction. # noqa: E501 + :rtype: bool """ - return self._status + return self._is_gift - @status.setter - def status(self, status): - """Sets the status of this Transaction. + @is_gift.setter + def is_gift(self, is_gift): + """Sets the is_gift of this Transaction. - :param status: The status of this Transaction. # noqa: E501 - :type status: TransactionStatus + :param is_gift: The is_gift of this Transaction. # noqa: E501 + :type is_gift: bool """ - if self.local_vars_configuration.client_side_validation and status is None: # noqa: E501 - raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 - self._status = status + self._is_gift = is_gift @property - def subscription(self): - """Gets the subscription of this Transaction. # noqa: E501 + def is_tokens(self): + """Gets the is_tokens of this Transaction. # noqa: E501 - :return: The subscription of this Transaction. # noqa: E501 - :rtype: Subscription + :return: The is_tokens of this Transaction. # noqa: E501 + :rtype: bool """ - return self._subscription + return self._is_tokens - @subscription.setter - def subscription(self, subscription): - """Sets the subscription of this Transaction. + @is_tokens.setter + def is_tokens(self, is_tokens): + """Sets the is_tokens of this Transaction. - :param subscription: The subscription of this Transaction. # noqa: E501 - :type subscription: Subscription + :param is_tokens: The is_tokens of this Transaction. # noqa: E501 + :type is_tokens: bool """ - if self.local_vars_configuration.client_side_validation and subscription is None: # noqa: E501 - raise ValueError("Invalid value for `subscription`, must not be `None`") # noqa: E501 - self._subscription = subscription + self._is_tokens = is_tokens @property def sandbox(self): @@ -245,50 +262,27 @@ def sandbox(self, sandbox): self._sandbox = sandbox @property - def created_at(self): - """Gets the created_at of this Transaction. # noqa: E501 - - - :return: The created_at of this Transaction. # noqa: E501 - :rtype: datetime - """ - return self._created_at - - @created_at.setter - def created_at(self, created_at): - """Sets the created_at of this Transaction. - - - :param created_at: The created_at of this Transaction. # noqa: E501 - :type created_at: datetime - """ - if self.local_vars_configuration.client_side_validation and created_at is None: # noqa: E501 - raise ValueError("Invalid value for `created_at`, must not be `None`") # noqa: E501 - - self._created_at = created_at - - @property - def updated_at(self): - """Gets the updated_at of this Transaction. # noqa: E501 + def status(self): + """Gets the status of this Transaction. # noqa: E501 - :return: The updated_at of this Transaction. # noqa: E501 - :rtype: datetime + :return: The status of this Transaction. # noqa: E501 + :rtype: TransactionStatus """ - return self._updated_at + return self._status - @updated_at.setter - def updated_at(self, updated_at): - """Sets the updated_at of this Transaction. + @status.setter + def status(self, status): + """Sets the status of this Transaction. - :param updated_at: The updated_at of this Transaction. # noqa: E501 - :type updated_at: datetime + :param status: The status of this Transaction. # noqa: E501 + :type status: TransactionStatus """ - if self.local_vars_configuration.client_side_validation and updated_at is None: # noqa: E501 - raise ValueError("Invalid value for `updated_at`, must not be `None`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and status is None: # noqa: E501 + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 - self._updated_at = updated_at + self._status = status @property def steam(self): @@ -312,88 +306,94 @@ def steam(self, steam): self._steam = steam @property - def agreement(self): - """Gets the agreement of this Transaction. # noqa: E501 + def subscription(self): + """Gets the subscription of this Transaction. # noqa: E501 - :return: The agreement of this Transaction. # noqa: E501 - :rtype: TransactionAgreement + :return: The subscription of this Transaction. # noqa: E501 + :rtype: Subscription """ - return self._agreement + return self._subscription - @agreement.setter - def agreement(self, agreement): - """Sets the agreement of this Transaction. + @subscription.setter + def subscription(self, subscription): + """Sets the subscription of this Transaction. - :param agreement: The agreement of this Transaction. # noqa: E501 - :type agreement: TransactionAgreement + :param subscription: The subscription of this Transaction. # noqa: E501 + :type subscription: Subscription """ + if self.local_vars_configuration.client_side_validation and subscription is None: # noqa: E501 + raise ValueError("Invalid value for `subscription`, must not be `None`") # noqa: E501 - self._agreement = agreement + self._subscription = subscription @property - def error(self): - """Gets the error of this Transaction. # noqa: E501 + def updated_at(self): + """Gets the updated_at of this Transaction. # noqa: E501 - :return: The error of this Transaction. # noqa: E501 - :rtype: str + :return: The updated_at of this Transaction. # noqa: E501 + :rtype: datetime """ - return self._error + return self._updated_at - @error.setter - def error(self, error): - """Sets the error of this Transaction. + @updated_at.setter + def updated_at(self, updated_at): + """Sets the updated_at of this Transaction. - :param error: The error of this Transaction. # noqa: E501 - :type error: str + :param updated_at: The updated_at of this Transaction. # noqa: E501 + :type updated_at: datetime """ + if self.local_vars_configuration.client_side_validation and updated_at is None: # noqa: E501 + raise ValueError("Invalid value for `updated_at`, must not be `None`") # noqa: E501 - self._error = error + self._updated_at = updated_at @property - def is_gift(self): - """Gets the is_gift of this Transaction. # noqa: E501 + def user_display_name(self): + """Gets the user_display_name of this Transaction. # noqa: E501 - :return: The is_gift of this Transaction. # noqa: E501 - :rtype: bool + :return: The user_display_name of this Transaction. # noqa: E501 + :rtype: str """ - return self._is_gift + return self._user_display_name - @is_gift.setter - def is_gift(self, is_gift): - """Sets the is_gift of this Transaction. + @user_display_name.setter + def user_display_name(self, user_display_name): + """Sets the user_display_name of this Transaction. - :param is_gift: The is_gift of this Transaction. # noqa: E501 - :type is_gift: bool + :param user_display_name: The user_display_name of this Transaction. # noqa: E501 + :type user_display_name: str """ - self._is_gift = is_gift + self._user_display_name = user_display_name @property - def is_tokens(self): - """Gets the is_tokens of this Transaction. # noqa: E501 + def user_id(self): + """Gets the user_id of this Transaction. # noqa: E501 + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :return: The is_tokens of this Transaction. # noqa: E501 - :rtype: bool + :return: The user_id of this Transaction. # noqa: E501 + :rtype: str """ - return self._is_tokens + return self._user_id - @is_tokens.setter - def is_tokens(self, is_tokens): - """Sets the is_tokens of this Transaction. + @user_id.setter + def user_id(self, user_id): + """Sets the user_id of this Transaction. + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :param is_tokens: The is_tokens of this Transaction. # noqa: E501 - :type is_tokens: bool + :param user_id: The user_id of this Transaction. # noqa: E501 + :type user_id: str """ - self._is_tokens = is_tokens + self._user_id = user_id def to_dict(self, serialize=False): """Returns the model properties as a dict""" diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index a553d69d..b182845e 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,140 +36,91 @@ class TransactionAgreement(object): and the value is json key in definition. """ openapi_types = { - 'agreement_id': 'str', - 'item_id': 'int', 'agreement': 'str', - 'status': 'str', - 'period': 'str', - 'frequency': 'int', + 'agreement_id': 'str', 'billing_type': 'str', - 'start_date': 'str', - 'end_date': 'str', - 'recurring_amt': 'float', 'currency': 'str', - 'time_created': 'str', - 'next_payment': 'str', - 'last_payment': 'str', + 'end_date': 'str', + 'failed_attempts': 'int', + 'frequency': 'int', + 'item_id': 'int', 'last_amount': 'float', 'last_amount_vat': 'float', + 'last_payment': 'str', + 'next_payment': 'str', 'outstanding': 'int', - 'failed_attempts': 'int' + 'period': 'str', + 'recurring_amt': 'float', + 'start_date': 'str', + 'status': 'str', + 'time_created': 'str' } attribute_map = { - 'agreement_id': 'agreementId', - 'item_id': 'itemId', 'agreement': 'agreement', - 'status': 'status', - 'period': 'period', - 'frequency': 'frequency', + 'agreement_id': 'agreementId', 'billing_type': 'billingType', - 'start_date': 'startDate', - 'end_date': 'endDate', - 'recurring_amt': 'recurringAmt', 'currency': 'currency', - 'time_created': 'timeCreated', - 'next_payment': 'nextPayment', - 'last_payment': 'lastPayment', + 'end_date': 'endDate', + 'failed_attempts': 'failedAttempts', + 'frequency': 'frequency', + 'item_id': 'itemId', 'last_amount': 'lastAmount', 'last_amount_vat': 'lastAmountVat', + 'last_payment': 'lastPayment', + 'next_payment': 'nextPayment', 'outstanding': 'outstanding', - 'failed_attempts': 'failedAttempts' + 'period': 'period', + 'recurring_amt': 'recurringAmt', + 'start_date': 'startDate', + 'status': 'status', + 'time_created': 'timeCreated' } - def __init__(self, agreement_id=None, item_id=None, agreement=None, status=None, period=None, frequency=None, billing_type=None, start_date=None, end_date=None, recurring_amt=None, currency=None, time_created=None, next_payment=None, last_payment=None, last_amount=None, last_amount_vat=None, outstanding=None, failed_attempts=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, agreement=None, agreement_id=None, billing_type=None, currency=None, end_date=None, failed_attempts=None, frequency=None, item_id=None, last_amount=None, last_amount_vat=None, last_payment=None, next_payment=None, outstanding=None, period=None, recurring_amt=None, start_date=None, status=None, time_created=None, local_vars_configuration=None): # noqa: E501 """TransactionAgreement - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._agreement_id = None - self._item_id = None self._agreement = None - self._status = None - self._period = None - self._frequency = None + self._agreement_id = None self._billing_type = None - self._start_date = None - self._end_date = None - self._recurring_amt = None self._currency = None - self._time_created = None - self._next_payment = None - self._last_payment = None + self._end_date = None + self._failed_attempts = None + self._frequency = None + self._item_id = None self._last_amount = None self._last_amount_vat = None + self._last_payment = None + self._next_payment = None self._outstanding = None - self._failed_attempts = None + self._period = None + self._recurring_amt = None + self._start_date = None + self._status = None + self._time_created = None self.discriminator = None - self.agreement_id = agreement_id - self.item_id = item_id self.agreement = agreement - self.status = status - self.period = period - self.frequency = frequency + self.agreement_id = agreement_id self.billing_type = billing_type - self.start_date = start_date - self.end_date = end_date - self.recurring_amt = recurring_amt self.currency = currency - self.time_created = time_created - self.next_payment = next_payment - self.last_payment = last_payment + self.end_date = end_date + self.failed_attempts = failed_attempts + self.frequency = frequency + self.item_id = item_id self.last_amount = last_amount self.last_amount_vat = last_amount_vat + self.last_payment = last_payment + self.next_payment = next_payment self.outstanding = outstanding - self.failed_attempts = failed_attempts - - @property - def agreement_id(self): - """Gets the agreement_id of this TransactionAgreement. # noqa: E501 - - - :return: The agreement_id of this TransactionAgreement. # noqa: E501 - :rtype: str - """ - return self._agreement_id - - @agreement_id.setter - def agreement_id(self, agreement_id): - """Sets the agreement_id of this TransactionAgreement. - - - :param agreement_id: The agreement_id of this TransactionAgreement. # noqa: E501 - :type agreement_id: str - """ - if self.local_vars_configuration.client_side_validation and agreement_id is None: # noqa: E501 - raise ValueError("Invalid value for `agreement_id`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - agreement_id is not None and len(agreement_id) < 1): - raise ValueError("Invalid value for `agreement_id`, length must be greater than or equal to `1`") # noqa: E501 - - self._agreement_id = agreement_id - - @property - def item_id(self): - """Gets the item_id of this TransactionAgreement. # noqa: E501 - - - :return: The item_id of this TransactionAgreement. # noqa: E501 - :rtype: int - """ - return self._item_id - - @item_id.setter - def item_id(self, item_id): - """Sets the item_id of this TransactionAgreement. - - - :param item_id: The item_id of this TransactionAgreement. # noqa: E501 - :type item_id: int - """ - if self.local_vars_configuration.client_side_validation and item_id is None: # noqa: E501 - raise ValueError("Invalid value for `item_id`, must not be `None`") # noqa: E501 - - self._item_id = item_id + self.period = period + self.recurring_amt = recurring_amt + self.start_date = start_date + self.status = status + self.time_created = time_created @property def agreement(self): @@ -195,81 +146,30 @@ def agreement(self, agreement): self._agreement = agreement @property - def status(self): - """Gets the status of this TransactionAgreement. # noqa: E501 - - This is NOT TransactionStatus, but whatever Steam return. # noqa: E501 - - :return: The status of this TransactionAgreement. # noqa: E501 - :rtype: str - """ - return self._status - - @status.setter - def status(self, status): - """Sets the status of this TransactionAgreement. - - This is NOT TransactionStatus, but whatever Steam return. # noqa: E501 - - :param status: The status of this TransactionAgreement. # noqa: E501 - :type status: str - """ - if self.local_vars_configuration.client_side_validation and status is None: # noqa: E501 - raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - status is not None and len(status) < 1): - raise ValueError("Invalid value for `status`, length must be greater than or equal to `1`") # noqa: E501 - - self._status = status - - @property - def period(self): - """Gets the period of this TransactionAgreement. # noqa: E501 + def agreement_id(self): + """Gets the agreement_id of this TransactionAgreement. # noqa: E501 - :return: The period of this TransactionAgreement. # noqa: E501 + :return: The agreement_id of this TransactionAgreement. # noqa: E501 :rtype: str """ - return self._period + return self._agreement_id - @period.setter - def period(self, period): - """Sets the period of this TransactionAgreement. + @agreement_id.setter + def agreement_id(self, agreement_id): + """Sets the agreement_id of this TransactionAgreement. - :param period: The period of this TransactionAgreement. # noqa: E501 - :type period: str + :param agreement_id: The agreement_id of this TransactionAgreement. # noqa: E501 + :type agreement_id: str """ - if self.local_vars_configuration.client_side_validation and period is None: # noqa: E501 - raise ValueError("Invalid value for `period`, must not be `None`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and agreement_id is None: # noqa: E501 + raise ValueError("Invalid value for `agreement_id`, must not be `None`") # noqa: E501 if (self.local_vars_configuration.client_side_validation and - period is not None and len(period) < 1): - raise ValueError("Invalid value for `period`, length must be greater than or equal to `1`") # noqa: E501 - - self._period = period - - @property - def frequency(self): - """Gets the frequency of this TransactionAgreement. # noqa: E501 - - - :return: The frequency of this TransactionAgreement. # noqa: E501 - :rtype: int - """ - return self._frequency - - @frequency.setter - def frequency(self, frequency): - """Sets the frequency of this TransactionAgreement. - - - :param frequency: The frequency of this TransactionAgreement. # noqa: E501 - :type frequency: int - """ - if self.local_vars_configuration.client_side_validation and frequency is None: # noqa: E501 - raise ValueError("Invalid value for `frequency`, must not be `None`") # noqa: E501 + agreement_id is not None and len(agreement_id) < 1): + raise ValueError("Invalid value for `agreement_id`, length must be greater than or equal to `1`") # noqa: E501 - self._frequency = frequency + self._agreement_id = agreement_id @property def billing_type(self): @@ -298,30 +198,30 @@ def billing_type(self, billing_type): self._billing_type = billing_type @property - def start_date(self): - """Gets the start_date of this TransactionAgreement. # noqa: E501 + def currency(self): + """Gets the currency of this TransactionAgreement. # noqa: E501 - :return: The start_date of this TransactionAgreement. # noqa: E501 + :return: The currency of this TransactionAgreement. # noqa: E501 :rtype: str """ - return self._start_date + return self._currency - @start_date.setter - def start_date(self, start_date): - """Sets the start_date of this TransactionAgreement. + @currency.setter + def currency(self, currency): + """Sets the currency of this TransactionAgreement. - :param start_date: The start_date of this TransactionAgreement. # noqa: E501 - :type start_date: str + :param currency: The currency of this TransactionAgreement. # noqa: E501 + :type currency: str """ - if self.local_vars_configuration.client_side_validation and start_date is None: # noqa: E501 - raise ValueError("Invalid value for `start_date`, must not be `None`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and currency is None: # noqa: E501 + raise ValueError("Invalid value for `currency`, must not be `None`") # noqa: E501 if (self.local_vars_configuration.client_side_validation and - start_date is not None and len(start_date) < 1): - raise ValueError("Invalid value for `start_date`, length must be greater than or equal to `1`") # noqa: E501 + currency is not None and len(currency) < 1): + raise ValueError("Invalid value for `currency`, length must be greater than or equal to `1`") # noqa: E501 - self._start_date = start_date + self._currency = currency @property def end_date(self): @@ -350,79 +250,145 @@ def end_date(self, end_date): self._end_date = end_date @property - def recurring_amt(self): - """Gets the recurring_amt of this TransactionAgreement. # noqa: E501 + def failed_attempts(self): + """Gets the failed_attempts of this TransactionAgreement. # noqa: E501 - :return: The recurring_amt of this TransactionAgreement. # noqa: E501 - :rtype: float + :return: The failed_attempts of this TransactionAgreement. # noqa: E501 + :rtype: int """ - return self._recurring_amt + return self._failed_attempts - @recurring_amt.setter - def recurring_amt(self, recurring_amt): - """Sets the recurring_amt of this TransactionAgreement. + @failed_attempts.setter + def failed_attempts(self, failed_attempts): + """Sets the failed_attempts of this TransactionAgreement. - :param recurring_amt: The recurring_amt of this TransactionAgreement. # noqa: E501 - :type recurring_amt: float + :param failed_attempts: The failed_attempts of this TransactionAgreement. # noqa: E501 + :type failed_attempts: int """ - if self.local_vars_configuration.client_side_validation and recurring_amt is None: # noqa: E501 - raise ValueError("Invalid value for `recurring_amt`, must not be `None`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and failed_attempts is None: # noqa: E501 + raise ValueError("Invalid value for `failed_attempts`, must not be `None`") # noqa: E501 - self._recurring_amt = recurring_amt + self._failed_attempts = failed_attempts @property - def currency(self): - """Gets the currency of this TransactionAgreement. # noqa: E501 + def frequency(self): + """Gets the frequency of this TransactionAgreement. # noqa: E501 - :return: The currency of this TransactionAgreement. # noqa: E501 - :rtype: str + :return: The frequency of this TransactionAgreement. # noqa: E501 + :rtype: int """ - return self._currency + return self._frequency - @currency.setter - def currency(self, currency): - """Sets the currency of this TransactionAgreement. + @frequency.setter + def frequency(self, frequency): + """Sets the frequency of this TransactionAgreement. - :param currency: The currency of this TransactionAgreement. # noqa: E501 - :type currency: str + :param frequency: The frequency of this TransactionAgreement. # noqa: E501 + :type frequency: int """ - if self.local_vars_configuration.client_side_validation and currency is None: # noqa: E501 - raise ValueError("Invalid value for `currency`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - currency is not None and len(currency) < 1): - raise ValueError("Invalid value for `currency`, length must be greater than or equal to `1`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and frequency is None: # noqa: E501 + raise ValueError("Invalid value for `frequency`, must not be `None`") # noqa: E501 - self._currency = currency + self._frequency = frequency @property - def time_created(self): - """Gets the time_created of this TransactionAgreement. # noqa: E501 + def item_id(self): + """Gets the item_id of this TransactionAgreement. # noqa: E501 - :return: The time_created of this TransactionAgreement. # noqa: E501 + :return: The item_id of this TransactionAgreement. # noqa: E501 + :rtype: int + """ + return self._item_id + + @item_id.setter + def item_id(self, item_id): + """Sets the item_id of this TransactionAgreement. + + + :param item_id: The item_id of this TransactionAgreement. # noqa: E501 + :type item_id: int + """ + if self.local_vars_configuration.client_side_validation and item_id is None: # noqa: E501 + raise ValueError("Invalid value for `item_id`, must not be `None`") # noqa: E501 + + self._item_id = item_id + + @property + def last_amount(self): + """Gets the last_amount of this TransactionAgreement. # noqa: E501 + + + :return: The last_amount of this TransactionAgreement. # noqa: E501 + :rtype: float + """ + return self._last_amount + + @last_amount.setter + def last_amount(self, last_amount): + """Sets the last_amount of this TransactionAgreement. + + + :param last_amount: The last_amount of this TransactionAgreement. # noqa: E501 + :type last_amount: float + """ + if self.local_vars_configuration.client_side_validation and last_amount is None: # noqa: E501 + raise ValueError("Invalid value for `last_amount`, must not be `None`") # noqa: E501 + + self._last_amount = last_amount + + @property + def last_amount_vat(self): + """Gets the last_amount_vat of this TransactionAgreement. # noqa: E501 + + + :return: The last_amount_vat of this TransactionAgreement. # noqa: E501 + :rtype: float + """ + return self._last_amount_vat + + @last_amount_vat.setter + def last_amount_vat(self, last_amount_vat): + """Sets the last_amount_vat of this TransactionAgreement. + + + :param last_amount_vat: The last_amount_vat of this TransactionAgreement. # noqa: E501 + :type last_amount_vat: float + """ + if self.local_vars_configuration.client_side_validation and last_amount_vat is None: # noqa: E501 + raise ValueError("Invalid value for `last_amount_vat`, must not be `None`") # noqa: E501 + + self._last_amount_vat = last_amount_vat + + @property + def last_payment(self): + """Gets the last_payment of this TransactionAgreement. # noqa: E501 + + + :return: The last_payment of this TransactionAgreement. # noqa: E501 :rtype: str """ - return self._time_created + return self._last_payment - @time_created.setter - def time_created(self, time_created): - """Sets the time_created of this TransactionAgreement. + @last_payment.setter + def last_payment(self, last_payment): + """Sets the last_payment of this TransactionAgreement. - :param time_created: The time_created of this TransactionAgreement. # noqa: E501 - :type time_created: str + :param last_payment: The last_payment of this TransactionAgreement. # noqa: E501 + :type last_payment: str """ - if self.local_vars_configuration.client_side_validation and time_created is None: # noqa: E501 - raise ValueError("Invalid value for `time_created`, must not be `None`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and last_payment is None: # noqa: E501 + raise ValueError("Invalid value for `last_payment`, must not be `None`") # noqa: E501 if (self.local_vars_configuration.client_side_validation and - time_created is not None and len(time_created) < 1): - raise ValueError("Invalid value for `time_created`, length must be greater than or equal to `1`") # noqa: E501 + last_payment is not None and len(last_payment) < 1): + raise ValueError("Invalid value for `last_payment`, length must be greater than or equal to `1`") # noqa: E501 - self._time_created = time_created + self._last_payment = last_payment @property def next_payment(self): @@ -451,122 +417,156 @@ def next_payment(self, next_payment): self._next_payment = next_payment @property - def last_payment(self): - """Gets the last_payment of this TransactionAgreement. # noqa: E501 + def outstanding(self): + """Gets the outstanding of this TransactionAgreement. # noqa: E501 - :return: The last_payment of this TransactionAgreement. # noqa: E501 + :return: The outstanding of this TransactionAgreement. # noqa: E501 + :rtype: int + """ + return self._outstanding + + @outstanding.setter + def outstanding(self, outstanding): + """Sets the outstanding of this TransactionAgreement. + + + :param outstanding: The outstanding of this TransactionAgreement. # noqa: E501 + :type outstanding: int + """ + if self.local_vars_configuration.client_side_validation and outstanding is None: # noqa: E501 + raise ValueError("Invalid value for `outstanding`, must not be `None`") # noqa: E501 + + self._outstanding = outstanding + + @property + def period(self): + """Gets the period of this TransactionAgreement. # noqa: E501 + + + :return: The period of this TransactionAgreement. # noqa: E501 :rtype: str """ - return self._last_payment + return self._period - @last_payment.setter - def last_payment(self, last_payment): - """Sets the last_payment of this TransactionAgreement. + @period.setter + def period(self, period): + """Sets the period of this TransactionAgreement. - :param last_payment: The last_payment of this TransactionAgreement. # noqa: E501 - :type last_payment: str + :param period: The period of this TransactionAgreement. # noqa: E501 + :type period: str """ - if self.local_vars_configuration.client_side_validation and last_payment is None: # noqa: E501 - raise ValueError("Invalid value for `last_payment`, must not be `None`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and period is None: # noqa: E501 + raise ValueError("Invalid value for `period`, must not be `None`") # noqa: E501 if (self.local_vars_configuration.client_side_validation and - last_payment is not None and len(last_payment) < 1): - raise ValueError("Invalid value for `last_payment`, length must be greater than or equal to `1`") # noqa: E501 + period is not None and len(period) < 1): + raise ValueError("Invalid value for `period`, length must be greater than or equal to `1`") # noqa: E501 - self._last_payment = last_payment + self._period = period @property - def last_amount(self): - """Gets the last_amount of this TransactionAgreement. # noqa: E501 + def recurring_amt(self): + """Gets the recurring_amt of this TransactionAgreement. # noqa: E501 - :return: The last_amount of this TransactionAgreement. # noqa: E501 + :return: The recurring_amt of this TransactionAgreement. # noqa: E501 :rtype: float """ - return self._last_amount + return self._recurring_amt - @last_amount.setter - def last_amount(self, last_amount): - """Sets the last_amount of this TransactionAgreement. + @recurring_amt.setter + def recurring_amt(self, recurring_amt): + """Sets the recurring_amt of this TransactionAgreement. - :param last_amount: The last_amount of this TransactionAgreement. # noqa: E501 - :type last_amount: float + :param recurring_amt: The recurring_amt of this TransactionAgreement. # noqa: E501 + :type recurring_amt: float """ - if self.local_vars_configuration.client_side_validation and last_amount is None: # noqa: E501 - raise ValueError("Invalid value for `last_amount`, must not be `None`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and recurring_amt is None: # noqa: E501 + raise ValueError("Invalid value for `recurring_amt`, must not be `None`") # noqa: E501 - self._last_amount = last_amount + self._recurring_amt = recurring_amt @property - def last_amount_vat(self): - """Gets the last_amount_vat of this TransactionAgreement. # noqa: E501 + def start_date(self): + """Gets the start_date of this TransactionAgreement. # noqa: E501 - :return: The last_amount_vat of this TransactionAgreement. # noqa: E501 - :rtype: float + :return: The start_date of this TransactionAgreement. # noqa: E501 + :rtype: str """ - return self._last_amount_vat + return self._start_date - @last_amount_vat.setter - def last_amount_vat(self, last_amount_vat): - """Sets the last_amount_vat of this TransactionAgreement. + @start_date.setter + def start_date(self, start_date): + """Sets the start_date of this TransactionAgreement. - :param last_amount_vat: The last_amount_vat of this TransactionAgreement. # noqa: E501 - :type last_amount_vat: float + :param start_date: The start_date of this TransactionAgreement. # noqa: E501 + :type start_date: str """ - if self.local_vars_configuration.client_side_validation and last_amount_vat is None: # noqa: E501 - raise ValueError("Invalid value for `last_amount_vat`, must not be `None`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and start_date is None: # noqa: E501 + raise ValueError("Invalid value for `start_date`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + start_date is not None and len(start_date) < 1): + raise ValueError("Invalid value for `start_date`, length must be greater than or equal to `1`") # noqa: E501 - self._last_amount_vat = last_amount_vat + self._start_date = start_date @property - def outstanding(self): - """Gets the outstanding of this TransactionAgreement. # noqa: E501 + def status(self): + """Gets the status of this TransactionAgreement. # noqa: E501 + This is NOT TransactionStatus, but whatever Steam return. # noqa: E501 - :return: The outstanding of this TransactionAgreement. # noqa: E501 - :rtype: int + :return: The status of this TransactionAgreement. # noqa: E501 + :rtype: str """ - return self._outstanding + return self._status - @outstanding.setter - def outstanding(self, outstanding): - """Sets the outstanding of this TransactionAgreement. + @status.setter + def status(self, status): + """Sets the status of this TransactionAgreement. + This is NOT TransactionStatus, but whatever Steam return. # noqa: E501 - :param outstanding: The outstanding of this TransactionAgreement. # noqa: E501 - :type outstanding: int + :param status: The status of this TransactionAgreement. # noqa: E501 + :type status: str """ - if self.local_vars_configuration.client_side_validation and outstanding is None: # noqa: E501 - raise ValueError("Invalid value for `outstanding`, must not be `None`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and status is None: # noqa: E501 + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + status is not None and len(status) < 1): + raise ValueError("Invalid value for `status`, length must be greater than or equal to `1`") # noqa: E501 - self._outstanding = outstanding + self._status = status @property - def failed_attempts(self): - """Gets the failed_attempts of this TransactionAgreement. # noqa: E501 + def time_created(self): + """Gets the time_created of this TransactionAgreement. # noqa: E501 - :return: The failed_attempts of this TransactionAgreement. # noqa: E501 - :rtype: int + :return: The time_created of this TransactionAgreement. # noqa: E501 + :rtype: str """ - return self._failed_attempts + return self._time_created - @failed_attempts.setter - def failed_attempts(self, failed_attempts): - """Sets the failed_attempts of this TransactionAgreement. + @time_created.setter + def time_created(self, time_created): + """Sets the time_created of this TransactionAgreement. - :param failed_attempts: The failed_attempts of this TransactionAgreement. # noqa: E501 - :type failed_attempts: int + :param time_created: The time_created of this TransactionAgreement. # noqa: E501 + :type time_created: str """ - if self.local_vars_configuration.client_side_validation and failed_attempts is None: # noqa: E501 - raise ValueError("Invalid value for `failed_attempts`, must not be `None`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and time_created is None: # noqa: E501 + raise ValueError("Invalid value for `time_created`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + time_created is not None and len(time_created) < 1): + raise ValueError("Invalid value for `time_created`, length must be greater than or equal to `1`") # noqa: E501 - self._failed_attempts = failed_attempts + self._time_created = time_created def to_dict(self, serialize=False): """Returns the model properties as a dict""" diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index aa46ac12..34730d80 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -32,11 +32,11 @@ class TransactionStatus(object): allowed enum values """ ACTIVE = "active" - FAILED = "failed" - EXPIRED = "expired" CHARGEBACK = "chargeback" + EXPIRED = "expired" + FAILED = "failed" - allowable_values = [ACTIVE, FAILED, EXPIRED, CHARGEBACK] # noqa: E501 + allowable_values = [ACTIVE, CHARGEBACK, EXPIRED, FAILED] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index 5af9a886..ab6f42c5 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,62 +36,67 @@ class TransactionSteamInfo(object): and the value is json key in definition. """ openapi_types = { - 'wallet_info': 'TransactionSteamWalletInfo', - 'steam_id': 'str', 'order_id': 'str', + 'steam_id': 'str', 'steam_url': 'str', - 'trans_id': 'str' + 'trans_id': 'str', + 'wallet_info': 'TransactionSteamWalletInfo' } attribute_map = { - 'wallet_info': 'walletInfo', - 'steam_id': 'steamId', 'order_id': 'orderId', + 'steam_id': 'steamId', 'steam_url': 'steamUrl', - 'trans_id': 'transId' + 'trans_id': 'transId', + 'wallet_info': 'walletInfo' } - def __init__(self, wallet_info=None, steam_id=None, order_id=None, steam_url=None, trans_id=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, order_id=None, steam_id=None, steam_url=None, trans_id=None, wallet_info=None, local_vars_configuration=None): # noqa: E501 """TransactionSteamInfo - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._wallet_info = None - self._steam_id = None self._order_id = None + self._steam_id = None self._steam_url = None self._trans_id = None + self._wallet_info = None self.discriminator = None - self.wallet_info = wallet_info - self.steam_id = steam_id self.order_id = order_id + self.steam_id = steam_id self.steam_url = steam_url self.trans_id = trans_id + self.wallet_info = wallet_info @property - def wallet_info(self): - """Gets the wallet_info of this TransactionSteamInfo. # noqa: E501 + def order_id(self): + """Gets the order_id of this TransactionSteamInfo. # noqa: E501 + Steam Order ID # noqa: E501 - :return: The wallet_info of this TransactionSteamInfo. # noqa: E501 - :rtype: TransactionSteamWalletInfo + :return: The order_id of this TransactionSteamInfo. # noqa: E501 + :rtype: str """ - return self._wallet_info + return self._order_id - @wallet_info.setter - def wallet_info(self, wallet_info): - """Sets the wallet_info of this TransactionSteamInfo. + @order_id.setter + def order_id(self, order_id): + """Sets the order_id of this TransactionSteamInfo. + Steam Order ID # noqa: E501 - :param wallet_info: The wallet_info of this TransactionSteamInfo. # noqa: E501 - :type wallet_info: TransactionSteamWalletInfo + :param order_id: The order_id of this TransactionSteamInfo. # noqa: E501 + :type order_id: str """ - if self.local_vars_configuration.client_side_validation and wallet_info is None: # noqa: E501 - raise ValueError("Invalid value for `wallet_info`, must not be `None`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and order_id is None: # noqa: E501 + raise ValueError("Invalid value for `order_id`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + order_id is not None and len(order_id) < 1): + raise ValueError("Invalid value for `order_id`, length must be greater than or equal to `1`") # noqa: E501 - self._wallet_info = wallet_info + self._order_id = order_id @property def steam_id(self): @@ -121,34 +126,6 @@ def steam_id(self, steam_id): self._steam_id = steam_id - @property - def order_id(self): - """Gets the order_id of this TransactionSteamInfo. # noqa: E501 - - Steam Order ID # noqa: E501 - - :return: The order_id of this TransactionSteamInfo. # noqa: E501 - :rtype: str - """ - return self._order_id - - @order_id.setter - def order_id(self, order_id): - """Sets the order_id of this TransactionSteamInfo. - - Steam Order ID # noqa: E501 - - :param order_id: The order_id of this TransactionSteamInfo. # noqa: E501 - :type order_id: str - """ - if self.local_vars_configuration.client_side_validation and order_id is None: # noqa: E501 - raise ValueError("Invalid value for `order_id`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - order_id is not None and len(order_id) < 1): - raise ValueError("Invalid value for `order_id`, length must be greater than or equal to `1`") # noqa: E501 - - self._order_id = order_id - @property def steam_url(self): """Gets the steam_url of this TransactionSteamInfo. # noqa: E501 @@ -202,6 +179,29 @@ def trans_id(self, trans_id): self._trans_id = trans_id + @property + def wallet_info(self): + """Gets the wallet_info of this TransactionSteamInfo. # noqa: E501 + + + :return: The wallet_info of this TransactionSteamInfo. # noqa: E501 + :rtype: TransactionSteamWalletInfo + """ + return self._wallet_info + + @wallet_info.setter + def wallet_info(self, wallet_info): + """Sets the wallet_info of this TransactionSteamInfo. + + + :param wallet_info: The wallet_info of this TransactionSteamInfo. # noqa: E501 + :type wallet_info: TransactionSteamWalletInfo + """ + if self.local_vars_configuration.client_side_validation and wallet_info is None: # noqa: E501 + raise ValueError("Invalid value for `wallet_info`, must not be `None`") # noqa: E501 + + self._wallet_info = wallet_info + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index 03475782..ecdfcd3e 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,59 +36,36 @@ class TransactionSteamWalletInfo(object): and the value is json key in definition. """ openapi_types = { - 'state': 'str', 'country': 'str', 'currency': 'str', + 'state': 'str', 'status': 'str' } attribute_map = { - 'state': 'state', 'country': 'country', 'currency': 'currency', + 'state': 'state', 'status': 'status' } - def __init__(self, state=None, country='US', currency='USD', status=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, country='US', currency='USD', state=None, status=None, local_vars_configuration=None): # noqa: E501 """TransactionSteamWalletInfo - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._state = None self._country = None self._currency = None + self._state = None self._status = None self.discriminator = None - self.state = state self.country = country self.currency = currency + self.state = state self.status = status - @property - def state(self): - """Gets the state of this TransactionSteamWalletInfo. # noqa: E501 - - - :return: The state of this TransactionSteamWalletInfo. # noqa: E501 - :rtype: str - """ - return self._state - - @state.setter - def state(self, state): - """Sets the state of this TransactionSteamWalletInfo. - - - :param state: The state of this TransactionSteamWalletInfo. # noqa: E501 - :type state: str - """ - if self.local_vars_configuration.client_side_validation and state is None: # noqa: E501 - raise ValueError("Invalid value for `state`, must not be `None`") # noqa: E501 - - self._state = state - @property def country(self): """Gets the country of this TransactionSteamWalletInfo. # noqa: E501 @@ -141,6 +118,29 @@ def currency(self, currency): self._currency = currency + @property + def state(self): + """Gets the state of this TransactionSteamWalletInfo. # noqa: E501 + + + :return: The state of this TransactionSteamWalletInfo. # noqa: E501 + :rtype: str + """ + return self._state + + @state.setter + def state(self, state): + """Sets the state of this TransactionSteamWalletInfo. + + + :param state: The state of this TransactionSteamWalletInfo. # noqa: E501 + :type state: str + """ + if self.local_vars_configuration.client_side_validation and state is None: # noqa: E501 + raise ValueError("Invalid value for `state`, must not be `None`") # noqa: E501 + + self._state = state + @property def status(self): """Gets the status of this TransactionSteamWalletInfo. # noqa: E501 diff --git a/vrchatapi/models/update_permission_request.py b/vrchatapi/models/transfer_group_request.py similarity index 65% rename from vrchatapi/models/update_permission_request.py rename to vrchatapi/models/transfer_group_request.py index e443d0eb..f3663e31 100644 --- a/vrchatapi/models/update_permission_request.py +++ b/vrchatapi/models/transfer_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -21,7 +21,7 @@ from vrchatapi.configuration import Configuration -class UpdatePermissionRequest(object): +class TransferGroupRequest(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -36,73 +36,47 @@ class UpdatePermissionRequest(object): and the value is json key in definition. """ openapi_types = { - 'name': 'str', - 'owner_id': 'str' + 'transfer_target_id': 'str' } attribute_map = { - 'name': 'name', - 'owner_id': 'ownerId' + 'transfer_target_id': 'transferTargetId' } - def __init__(self, name=None, owner_id=None, local_vars_configuration=None): # noqa: E501 - """UpdatePermissionRequest - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, transfer_target_id=None, local_vars_configuration=None): # noqa: E501 + """TransferGroupRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._name = None - self._owner_id = None + self._transfer_target_id = None self.discriminator = None - if name is not None: - self.name = name - if owner_id is not None: - self.owner_id = owner_id + if transfer_target_id is not None: + self.transfer_target_id = transfer_target_id @property - def name(self): - """Gets the name of this UpdatePermissionRequest. # noqa: E501 - - - :return: The name of this UpdatePermissionRequest. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this UpdatePermissionRequest. - - - :param name: The name of this UpdatePermissionRequest. # noqa: E501 - :type name: str - """ - - self._name = name - - @property - def owner_id(self): - """Gets the owner_id of this UpdatePermissionRequest. # noqa: E501 + def transfer_target_id(self): + """Gets the transfer_target_id of this TransferGroupRequest. # noqa: E501 A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :return: The owner_id of this UpdatePermissionRequest. # noqa: E501 + :return: The transfer_target_id of this TransferGroupRequest. # noqa: E501 :rtype: str """ - return self._owner_id + return self._transfer_target_id - @owner_id.setter - def owner_id(self, owner_id): - """Sets the owner_id of this UpdatePermissionRequest. + @transfer_target_id.setter + def transfer_target_id(self, transfer_target_id): + """Sets the transfer_target_id of this TransferGroupRequest. A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :param owner_id: The owner_id of this UpdatePermissionRequest. # noqa: E501 - :type owner_id: str + :param transfer_target_id: The transfer_target_id of this TransferGroupRequest. # noqa: E501 + :type transfer_target_id: str """ - self._owner_id = owner_id + self._transfer_target_id = transfer_target_id def to_dict(self, serialize=False): """Returns the model properties as a dict""" @@ -146,14 +120,14 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, UpdatePermissionRequest): + if not isinstance(other, TransferGroupRequest): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, UpdatePermissionRequest): + if not isinstance(other, TransferGroupRequest): return True return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index c8b490e7..be26d725 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_email_code.py b/vrchatapi/models/two_factor_email_code.py index d75f966e..d0bf5361 100644 --- a/vrchatapi/models/two_factor_email_code.py +++ b/vrchatapi/models/two_factor_email_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_recovery_codes.py b/vrchatapi/models/two_factor_recovery_codes.py index d5fd4eba..af16836d 100644 --- a/vrchatapi/models/two_factor_recovery_codes.py +++ b/vrchatapi/models/two_factor_recovery_codes.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,50 +36,29 @@ class TwoFactorRecoveryCodes(object): and the value is json key in definition. """ openapi_types = { - 'requires_two_factor_auth': 'list[str]', - 'otp': 'list[TwoFactorRecoveryCodesOtpInner]' + 'otp': 'list[TwoFactorRecoveryCodesOtpInner]', + 'requires_two_factor_auth': 'list[str]' } attribute_map = { - 'requires_two_factor_auth': 'requiresTwoFactorAuth', - 'otp': 'otp' + 'otp': 'otp', + 'requires_two_factor_auth': 'requiresTwoFactorAuth' } - def __init__(self, requires_two_factor_auth=None, otp=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, otp=None, requires_two_factor_auth=None, local_vars_configuration=None): # noqa: E501 """TwoFactorRecoveryCodes - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._requires_two_factor_auth = None self._otp = None + self._requires_two_factor_auth = None self.discriminator = None - if requires_two_factor_auth is not None: - self.requires_two_factor_auth = requires_two_factor_auth if otp is not None: self.otp = otp - - @property - def requires_two_factor_auth(self): - """Gets the requires_two_factor_auth of this TwoFactorRecoveryCodes. # noqa: E501 - - - :return: The requires_two_factor_auth of this TwoFactorRecoveryCodes. # noqa: E501 - :rtype: list[str] - """ - return self._requires_two_factor_auth - - @requires_two_factor_auth.setter - def requires_two_factor_auth(self, requires_two_factor_auth): - """Sets the requires_two_factor_auth of this TwoFactorRecoveryCodes. - - - :param requires_two_factor_auth: The requires_two_factor_auth of this TwoFactorRecoveryCodes. # noqa: E501 - :type requires_two_factor_auth: list[str] - """ - - self._requires_two_factor_auth = requires_two_factor_auth + if requires_two_factor_auth is not None: + self.requires_two_factor_auth = requires_two_factor_auth @property def otp(self): @@ -102,6 +81,27 @@ def otp(self, otp): self._otp = otp + @property + def requires_two_factor_auth(self): + """Gets the requires_two_factor_auth of this TwoFactorRecoveryCodes. # noqa: E501 + + + :return: The requires_two_factor_auth of this TwoFactorRecoveryCodes. # noqa: E501 + :rtype: list[str] + """ + return self._requires_two_factor_auth + + @requires_two_factor_auth.setter + def requires_two_factor_auth(self, requires_two_factor_auth): + """Sets the requires_two_factor_auth of this TwoFactorRecoveryCodes. + + + :param requires_two_factor_auth: The requires_two_factor_auth of this TwoFactorRecoveryCodes. # noqa: E501 + :type requires_two_factor_auth: list[str] + """ + + self._requires_two_factor_auth = requires_two_factor_auth + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/two_factor_recovery_codes_otp_inner.py b/vrchatapi/models/two_factor_recovery_codes_otp_inner.py index e4e95513..7b7ddaf4 100644 --- a/vrchatapi/models/two_factor_recovery_codes_otp_inner.py +++ b/vrchatapi/models/two_factor_recovery_codes_otp_inner.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index 83cef5a0..618376d4 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,74 +36,75 @@ class UnityPackage(object): and the value is json key in definition. """ openapi_types = { - 'id': 'str', 'asset_url': 'str', 'asset_url_object': 'object', 'asset_version': 'int', 'created_at': 'datetime', + 'id': 'str', + 'impostor_url': 'str', 'impostorizer_version': 'str', 'performance_rating': 'PerformanceRatings', 'platform': 'str', 'plugin_url': 'str', 'plugin_url_object': 'object', + 'scan_status': 'str', 'unity_sort_number': 'int', 'unity_version': 'str', - 'world_signature': 'str', - 'impostor_url': 'str', - 'scan_status': 'str', - 'variant': 'str' + 'variant': 'str', + 'world_signature': 'str' } attribute_map = { - 'id': 'id', 'asset_url': 'assetUrl', 'asset_url_object': 'assetUrlObject', 'asset_version': 'assetVersion', 'created_at': 'created_at', + 'id': 'id', + 'impostor_url': 'impostorUrl', 'impostorizer_version': 'impostorizerVersion', 'performance_rating': 'performanceRating', 'platform': 'platform', 'plugin_url': 'pluginUrl', 'plugin_url_object': 'pluginUrlObject', + 'scan_status': 'scanStatus', 'unity_sort_number': 'unitySortNumber', 'unity_version': 'unityVersion', - 'world_signature': 'worldSignature', - 'impostor_url': 'impostorUrl', - 'scan_status': 'scanStatus', - 'variant': 'variant' + 'variant': 'variant', + 'world_signature': 'worldSignature' } - def __init__(self, id=None, asset_url=None, asset_url_object=None, asset_version=None, created_at=None, impostorizer_version=None, performance_rating=None, platform=None, plugin_url=None, plugin_url_object=None, unity_sort_number=None, unity_version='5.3.4p1', world_signature=None, impostor_url=None, scan_status=None, variant=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, asset_url=None, asset_url_object=None, asset_version=None, created_at=None, id=None, impostor_url=None, impostorizer_version=None, performance_rating=None, platform=None, plugin_url=None, plugin_url_object=None, scan_status=None, unity_sort_number=None, unity_version='5.3.4p1', variant=None, world_signature=None, local_vars_configuration=None): # noqa: E501 """UnityPackage - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._id = None self._asset_url = None self._asset_url_object = None self._asset_version = None self._created_at = None + self._id = None + self._impostor_url = None self._impostorizer_version = None self._performance_rating = None self._platform = None self._plugin_url = None self._plugin_url_object = None + self._scan_status = None self._unity_sort_number = None self._unity_version = None - self._world_signature = None - self._impostor_url = None - self._scan_status = None self._variant = None + self._world_signature = None self.discriminator = None - self.id = id self.asset_url = asset_url if asset_url_object is not None: self.asset_url_object = asset_url_object self.asset_version = asset_version if created_at is not None: self.created_at = created_at + self.id = id + self.impostor_url = impostor_url if impostorizer_version is not None: self.impostorizer_version = impostorizer_version if performance_rating is not None: @@ -113,38 +114,14 @@ def __init__(self, id=None, asset_url=None, asset_url_object=None, asset_version self.plugin_url = plugin_url if plugin_url_object is not None: self.plugin_url_object = plugin_url_object + if scan_status is not None: + self.scan_status = scan_status if unity_sort_number is not None: self.unity_sort_number = unity_sort_number self.unity_version = unity_version - self.world_signature = world_signature - self.impostor_url = impostor_url - if scan_status is not None: - self.scan_status = scan_status if variant is not None: self.variant = variant - - @property - def id(self): - """Gets the id of this UnityPackage. # noqa: E501 - - - :return: The id of this UnityPackage. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this UnityPackage. - - - :param id: The id of this UnityPackage. # noqa: E501 - :type id: str - """ - if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 - - self._id = id + self.world_signature = world_signature @property def asset_url(self): @@ -235,6 +212,50 @@ def created_at(self, created_at): self._created_at = created_at + @property + def id(self): + """Gets the id of this UnityPackage. # noqa: E501 + + + :return: The id of this UnityPackage. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this UnityPackage. + + + :param id: The id of this UnityPackage. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + + self._id = id + + @property + def impostor_url(self): + """Gets the impostor_url of this UnityPackage. # noqa: E501 + + + :return: The impostor_url of this UnityPackage. # noqa: E501 + :rtype: str + """ + return self._impostor_url + + @impostor_url.setter + def impostor_url(self, impostor_url): + """Sets the impostor_url of this UnityPackage. + + + :param impostor_url: The impostor_url of this UnityPackage. # noqa: E501 + :type impostor_url: str + """ + + self._impostor_url = impostor_url + @property def impostorizer_version(self): """Gets the impostorizer_version of this UnityPackage. # noqa: E501 @@ -281,7 +302,7 @@ def performance_rating(self, performance_rating): def platform(self): """Gets the platform of this UnityPackage. # noqa: E501 - This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 :return: The platform of this UnityPackage. # noqa: E501 :rtype: str @@ -292,7 +313,7 @@ def platform(self): def platform(self, platform): """Sets the platform of this UnityPackage. - This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 :param platform: The platform of this UnityPackage. # noqa: E501 :type platform: str @@ -344,6 +365,27 @@ def plugin_url_object(self, plugin_url_object): self._plugin_url_object = plugin_url_object + @property + def scan_status(self): + """Gets the scan_status of this UnityPackage. # noqa: E501 + + + :return: The scan_status of this UnityPackage. # noqa: E501 + :rtype: str + """ + return self._scan_status + + @scan_status.setter + def scan_status(self, scan_status): + """Sets the scan_status of this UnityPackage. + + + :param scan_status: The scan_status of this UnityPackage. # noqa: E501 + :type scan_status: str + """ + + self._scan_status = scan_status + @property def unity_sort_number(self): """Gets the unity_sort_number of this UnityPackage. # noqa: E501 @@ -395,88 +437,46 @@ def unity_version(self, unity_version): self._unity_version = unity_version @property - def world_signature(self): - """Gets the world_signature of this UnityPackage. # noqa: E501 - - - :return: The world_signature of this UnityPackage. # noqa: E501 - :rtype: str - """ - return self._world_signature - - @world_signature.setter - def world_signature(self, world_signature): - """Sets the world_signature of this UnityPackage. - - - :param world_signature: The world_signature of this UnityPackage. # noqa: E501 - :type world_signature: str - """ - - self._world_signature = world_signature - - @property - def impostor_url(self): - """Gets the impostor_url of this UnityPackage. # noqa: E501 - - - :return: The impostor_url of this UnityPackage. # noqa: E501 - :rtype: str - """ - return self._impostor_url - - @impostor_url.setter - def impostor_url(self, impostor_url): - """Sets the impostor_url of this UnityPackage. - - - :param impostor_url: The impostor_url of this UnityPackage. # noqa: E501 - :type impostor_url: str - """ - - self._impostor_url = impostor_url - - @property - def scan_status(self): - """Gets the scan_status of this UnityPackage. # noqa: E501 + def variant(self): + """Gets the variant of this UnityPackage. # noqa: E501 - :return: The scan_status of this UnityPackage. # noqa: E501 + :return: The variant of this UnityPackage. # noqa: E501 :rtype: str """ - return self._scan_status + return self._variant - @scan_status.setter - def scan_status(self, scan_status): - """Sets the scan_status of this UnityPackage. + @variant.setter + def variant(self, variant): + """Sets the variant of this UnityPackage. - :param scan_status: The scan_status of this UnityPackage. # noqa: E501 - :type scan_status: str + :param variant: The variant of this UnityPackage. # noqa: E501 + :type variant: str """ - self._scan_status = scan_status + self._variant = variant @property - def variant(self): - """Gets the variant of this UnityPackage. # noqa: E501 + def world_signature(self): + """Gets the world_signature of this UnityPackage. # noqa: E501 - :return: The variant of this UnityPackage. # noqa: E501 + :return: The world_signature of this UnityPackage. # noqa: E501 :rtype: str """ - return self._variant + return self._world_signature - @variant.setter - def variant(self, variant): - """Sets the variant of this UnityPackage. + @world_signature.setter + def world_signature(self, world_signature): + """Sets the world_signature of this UnityPackage. - :param variant: The variant of this UnityPackage. # noqa: E501 - :type variant: str + :param world_signature: The world_signature of this UnityPackage. # noqa: E501 + :type world_signature: str """ - self._variant = variant + self._world_signature = world_signature def to_dict(self, serialize=False): """Returns the model properties as a dict""" diff --git a/vrchatapi/models/update_asset_review_notes_request.py b/vrchatapi/models/update_asset_review_notes_request.py new file mode 100644 index 00000000..ea1f40a1 --- /dev/null +++ b/vrchatapi/models/update_asset_review_notes_request.py @@ -0,0 +1,132 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class UpdateAssetReviewNotesRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'review_notes': 'str' + } + + attribute_map = { + 'review_notes': 'reviewNotes' + } + + def __init__(self, review_notes=None, local_vars_configuration=None): # noqa: E501 + """UpdateAssetReviewNotesRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._review_notes = None + self.discriminator = None + + self.review_notes = review_notes + + @property + def review_notes(self): + """Gets the review_notes of this UpdateAssetReviewNotesRequest. # noqa: E501 + + + :return: The review_notes of this UpdateAssetReviewNotesRequest. # noqa: E501 + :rtype: str + """ + return self._review_notes + + @review_notes.setter + def review_notes(self, review_notes): + """Sets the review_notes of this UpdateAssetReviewNotesRequest. + + + :param review_notes: The review_notes of this UpdateAssetReviewNotesRequest. # noqa: E501 + :type review_notes: str + """ + if self.local_vars_configuration.client_side_validation and review_notes is None: # noqa: E501 + raise ValueError("Invalid value for `review_notes`, must not be `None`") # noqa: E501 + + self._review_notes = review_notes + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, UpdateAssetReviewNotesRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, UpdateAssetReviewNotesRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index 5de5f6f3..fcffaf1b 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -37,73 +37,68 @@ class UpdateAvatarRequest(object): """ openapi_types = { 'asset_url': 'str', - 'id': 'str', - 'name': 'str', 'description': 'str', - 'tags': 'list[str]', + 'id': 'str', 'image_url': 'str', + 'name': 'str', 'release_status': 'ReleaseStatus', - 'version': 'int', - 'featured': 'bool', + 'tags': 'list[str]', 'unity_package_url': 'str', - 'unity_version': 'str' + 'unity_version': 'str', + 'version': 'int' } attribute_map = { 'asset_url': 'assetUrl', - 'id': 'id', - 'name': 'name', 'description': 'description', - 'tags': 'tags', + 'id': 'id', 'image_url': 'imageUrl', + 'name': 'name', 'release_status': 'releaseStatus', - 'version': 'version', - 'featured': 'featured', + 'tags': 'tags', 'unity_package_url': 'unityPackageUrl', - 'unity_version': 'unityVersion' + 'unity_version': 'unityVersion', + 'version': 'version' } - def __init__(self, asset_url=None, id=None, name=None, description=None, tags=None, image_url=None, release_status=None, version=1, featured=None, unity_package_url=None, unity_version='5.3.4p1', local_vars_configuration=None): # noqa: E501 + def __init__(self, asset_url=None, description=None, id=None, image_url=None, name=None, release_status=None, tags=None, unity_package_url=None, unity_version='5.3.4p1', version=1, local_vars_configuration=None): # noqa: E501 """UpdateAvatarRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._asset_url = None - self._id = None - self._name = None self._description = None - self._tags = None + self._id = None self._image_url = None + self._name = None self._release_status = None - self._version = None - self._featured = None + self._tags = None self._unity_package_url = None self._unity_version = None + self._version = None self.discriminator = None if asset_url is not None: self.asset_url = asset_url - if id is not None: - self.id = id - if name is not None: - self.name = name if description is not None: self.description = description - if tags is not None: - self.tags = tags + if id is not None: + self.id = id if image_url is not None: self.image_url = image_url + if name is not None: + self.name = name if release_status is not None: self.release_status = release_status - if version is not None: - self.version = version - if featured is not None: - self.featured = featured + if tags is not None: + self.tags = tags if unity_package_url is not None: self.unity_package_url = unity_package_url if unity_version is not None: self.unity_version = unity_version + if version is not None: + self.version = version @property def asset_url(self): @@ -126,51 +121,6 @@ def asset_url(self, asset_url): self._asset_url = asset_url - @property - def id(self): - """Gets the id of this UpdateAvatarRequest. # noqa: E501 - - - :return: The id of this UpdateAvatarRequest. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this UpdateAvatarRequest. - - - :param id: The id of this UpdateAvatarRequest. # noqa: E501 - :type id: str - """ - - self._id = id - - @property - def name(self): - """Gets the name of this UpdateAvatarRequest. # noqa: E501 - - - :return: The name of this UpdateAvatarRequest. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this UpdateAvatarRequest. - - - :param name: The name of this UpdateAvatarRequest. # noqa: E501 - :type name: str - """ - if (self.local_vars_configuration.client_side_validation and - name is not None and len(name) < 1): - raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 - - self._name = name - @property def description(self): """Gets the description of this UpdateAvatarRequest. # noqa: E501 @@ -196,27 +146,25 @@ def description(self, description): self._description = description @property - def tags(self): - """Gets the tags of this UpdateAvatarRequest. # noqa: E501 + def id(self): + """Gets the id of this UpdateAvatarRequest. # noqa: E501 - # noqa: E501 - :return: The tags of this UpdateAvatarRequest. # noqa: E501 - :rtype: list[str] + :return: The id of this UpdateAvatarRequest. # noqa: E501 + :rtype: str """ - return self._tags + return self._id - @tags.setter - def tags(self, tags): - """Sets the tags of this UpdateAvatarRequest. + @id.setter + def id(self, id): + """Sets the id of this UpdateAvatarRequest. - # noqa: E501 - :param tags: The tags of this UpdateAvatarRequest. # noqa: E501 - :type tags: list[str] + :param id: The id of this UpdateAvatarRequest. # noqa: E501 + :type id: str """ - self._tags = tags + self._id = id @property def image_url(self): @@ -242,6 +190,30 @@ def image_url(self, image_url): self._image_url = image_url + @property + def name(self): + """Gets the name of this UpdateAvatarRequest. # noqa: E501 + + + :return: The name of this UpdateAvatarRequest. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this UpdateAvatarRequest. + + + :param name: The name of this UpdateAvatarRequest. # noqa: E501 + :type name: str + """ + if (self.local_vars_configuration.client_side_validation and + name is not None and len(name) < 1): + raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 + + self._name = name + @property def release_status(self): """Gets the release_status of this UpdateAvatarRequest. # noqa: E501 @@ -264,51 +236,27 @@ def release_status(self, release_status): self._release_status = release_status @property - def version(self): - """Gets the version of this UpdateAvatarRequest. # noqa: E501 - - - :return: The version of this UpdateAvatarRequest. # noqa: E501 - :rtype: int - """ - return self._version - - @version.setter - def version(self, version): - """Sets the version of this UpdateAvatarRequest. - - - :param version: The version of this UpdateAvatarRequest. # noqa: E501 - :type version: int - """ - if (self.local_vars_configuration.client_side_validation and - version is not None and version < 0): # noqa: E501 - raise ValueError("Invalid value for `version`, must be a value greater than or equal to `0`") # noqa: E501 - - self._version = version - - @property - def featured(self): - """Gets the featured of this UpdateAvatarRequest. # noqa: E501 + def tags(self): + """Gets the tags of this UpdateAvatarRequest. # noqa: E501 - Enabling featured tag requires Admin Credentials. # noqa: E501 + # noqa: E501 - :return: The featured of this UpdateAvatarRequest. # noqa: E501 - :rtype: bool + :return: The tags of this UpdateAvatarRequest. # noqa: E501 + :rtype: list[str] """ - return self._featured + return self._tags - @featured.setter - def featured(self, featured): - """Sets the featured of this UpdateAvatarRequest. + @tags.setter + def tags(self, tags): + """Sets the tags of this UpdateAvatarRequest. - Enabling featured tag requires Admin Credentials. # noqa: E501 + # noqa: E501 - :param featured: The featured of this UpdateAvatarRequest. # noqa: E501 - :type featured: bool + :param tags: The tags of this UpdateAvatarRequest. # noqa: E501 + :type tags: list[str] """ - self._featured = featured + self._tags = tags @property def unity_package_url(self): @@ -355,6 +303,30 @@ def unity_version(self, unity_version): self._unity_version = unity_version + @property + def version(self): + """Gets the version of this UpdateAvatarRequest. # noqa: E501 + + + :return: The version of this UpdateAvatarRequest. # noqa: E501 + :rtype: int + """ + return self._version + + @version.setter + def version(self, version): + """Sets the version of this UpdateAvatarRequest. + + + :param version: The version of this UpdateAvatarRequest. # noqa: E501 + :type version: int + """ + if (self.local_vars_configuration.client_side_validation and + version is not None and version < 0): # noqa: E501 + raise ValueError("Invalid value for `version`, must be a value greater than or equal to `0`") # noqa: E501 + + self._version = version + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/update_calendar_event_request.py b/vrchatapi/models/update_calendar_event_request.py index 3686f730..438c7832 100644 --- a/vrchatapi/models/update_calendar_event_request.py +++ b/vrchatapi/models/update_calendar_event_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,158 +36,151 @@ class UpdateCalendarEventRequest(object): and the value is json key in definition. """ openapi_types = { - 'title': 'str', - 'starts_at': 'datetime', + 'category': 'str', + 'close_instance_after_end_minutes': 'int', 'description': 'str', 'ends_at': 'datetime', - 'category': 'str', - 'tags': 'list[str]', - 'is_draft': 'bool', + 'featured': 'bool', + 'guest_early_join_minutes': 'int', + 'host_early_join_minutes': 'int', 'image_id': 'str', - 'role_ids': 'list[str]', + 'is_draft': 'bool', + 'languages': 'list[str]', 'parent_id': 'str', 'platforms': 'list[str]', - 'languages': 'list[str]', + 'role_ids': 'list[str]', 'send_creation_notification': 'bool', - 'featured': 'bool', - 'host_early_join_minutes': 'int', - 'guest_early_join_minutes': 'int', - 'close_instance_after_end_minutes': 'int', + 'starts_at': 'datetime', + 'tags': 'list[str]', + 'title': 'str', 'uses_instance_overflow': 'bool' } attribute_map = { - 'title': 'title', - 'starts_at': 'startsAt', + 'category': 'category', + 'close_instance_after_end_minutes': 'closeInstanceAfterEndMinutes', 'description': 'description', 'ends_at': 'endsAt', - 'category': 'category', - 'tags': 'tags', - 'is_draft': 'isDraft', + 'featured': 'featured', + 'guest_early_join_minutes': 'guestEarlyJoinMinutes', + 'host_early_join_minutes': 'hostEarlyJoinMinutes', 'image_id': 'imageId', - 'role_ids': 'roleIds', + 'is_draft': 'isDraft', + 'languages': 'languages', 'parent_id': 'parentId', 'platforms': 'platforms', - 'languages': 'languages', + 'role_ids': 'roleIds', 'send_creation_notification': 'sendCreationNotification', - 'featured': 'featured', - 'host_early_join_minutes': 'hostEarlyJoinMinutes', - 'guest_early_join_minutes': 'guestEarlyJoinMinutes', - 'close_instance_after_end_minutes': 'closeInstanceAfterEndMinutes', + 'starts_at': 'startsAt', + 'tags': 'tags', + 'title': 'title', 'uses_instance_overflow': 'usesInstanceOverflow' } - def __init__(self, title=None, starts_at=None, description=None, ends_at=None, category=None, tags=None, is_draft=None, image_id=None, role_ids=None, parent_id=None, platforms=None, languages=None, send_creation_notification=False, featured=None, host_early_join_minutes=None, guest_early_join_minutes=None, close_instance_after_end_minutes=None, uses_instance_overflow=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, category=None, close_instance_after_end_minutes=None, description=None, ends_at=None, featured=None, guest_early_join_minutes=None, host_early_join_minutes=None, image_id=None, is_draft=None, languages=None, parent_id=None, platforms=None, role_ids=None, send_creation_notification=False, starts_at=None, tags=None, title=None, uses_instance_overflow=None, local_vars_configuration=None): # noqa: E501 """UpdateCalendarEventRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._title = None - self._starts_at = None + self._category = None + self._close_instance_after_end_minutes = None self._description = None self._ends_at = None - self._category = None - self._tags = None - self._is_draft = None + self._featured = None + self._guest_early_join_minutes = None + self._host_early_join_minutes = None self._image_id = None - self._role_ids = None + self._is_draft = None + self._languages = None self._parent_id = None self._platforms = None - self._languages = None + self._role_ids = None self._send_creation_notification = None - self._featured = None - self._host_early_join_minutes = None - self._guest_early_join_minutes = None - self._close_instance_after_end_minutes = None + self._starts_at = None + self._tags = None + self._title = None self._uses_instance_overflow = None self.discriminator = None - if title is not None: - self.title = title - if starts_at is not None: - self.starts_at = starts_at + if category is not None: + self.category = category + if close_instance_after_end_minutes is not None: + self.close_instance_after_end_minutes = close_instance_after_end_minutes if description is not None: self.description = description if ends_at is not None: self.ends_at = ends_at - if category is not None: - self.category = category - if tags is not None: - self.tags = tags - if is_draft is not None: - self.is_draft = is_draft + if featured is not None: + self.featured = featured + if guest_early_join_minutes is not None: + self.guest_early_join_minutes = guest_early_join_minutes + if host_early_join_minutes is not None: + self.host_early_join_minutes = host_early_join_minutes if image_id is not None: self.image_id = image_id - if role_ids is not None: - self.role_ids = role_ids + if is_draft is not None: + self.is_draft = is_draft + if languages is not None: + self.languages = languages if parent_id is not None: self.parent_id = parent_id if platforms is not None: self.platforms = platforms - if languages is not None: - self.languages = languages + if role_ids is not None: + self.role_ids = role_ids if send_creation_notification is not None: self.send_creation_notification = send_creation_notification - if featured is not None: - self.featured = featured - if host_early_join_minutes is not None: - self.host_early_join_minutes = host_early_join_minutes - if guest_early_join_minutes is not None: - self.guest_early_join_minutes = guest_early_join_minutes - if close_instance_after_end_minutes is not None: - self.close_instance_after_end_minutes = close_instance_after_end_minutes + if starts_at is not None: + self.starts_at = starts_at + if tags is not None: + self.tags = tags + if title is not None: + self.title = title if uses_instance_overflow is not None: self.uses_instance_overflow = uses_instance_overflow @property - def title(self): - """Gets the title of this UpdateCalendarEventRequest. # noqa: E501 + def category(self): + """Gets the category of this UpdateCalendarEventRequest. # noqa: E501 - Event title # noqa: E501 - :return: The title of this UpdateCalendarEventRequest. # noqa: E501 + :return: The category of this UpdateCalendarEventRequest. # noqa: E501 :rtype: str """ - return self._title + return self._category - @title.setter - def title(self, title): - """Sets the title of this UpdateCalendarEventRequest. + @category.setter + def category(self, category): + """Sets the category of this UpdateCalendarEventRequest. - Event title # noqa: E501 - :param title: The title of this UpdateCalendarEventRequest. # noqa: E501 - :type title: str + :param category: The category of this UpdateCalendarEventRequest. # noqa: E501 + :type category: str """ - if (self.local_vars_configuration.client_side_validation and - title is not None and len(title) < 1): - raise ValueError("Invalid value for `title`, length must be greater than or equal to `1`") # noqa: E501 - self._title = title + self._category = category @property - def starts_at(self): - """Gets the starts_at of this UpdateCalendarEventRequest. # noqa: E501 + def close_instance_after_end_minutes(self): + """Gets the close_instance_after_end_minutes of this UpdateCalendarEventRequest. # noqa: E501 - Time the vent starts at # noqa: E501 - :return: The starts_at of this UpdateCalendarEventRequest. # noqa: E501 - :rtype: datetime + :return: The close_instance_after_end_minutes of this UpdateCalendarEventRequest. # noqa: E501 + :rtype: int """ - return self._starts_at + return self._close_instance_after_end_minutes - @starts_at.setter - def starts_at(self, starts_at): - """Sets the starts_at of this UpdateCalendarEventRequest. + @close_instance_after_end_minutes.setter + def close_instance_after_end_minutes(self, close_instance_after_end_minutes): + """Sets the close_instance_after_end_minutes of this UpdateCalendarEventRequest. - Time the vent starts at # noqa: E501 - :param starts_at: The starts_at of this UpdateCalendarEventRequest. # noqa: E501 - :type starts_at: datetime + :param close_instance_after_end_minutes: The close_instance_after_end_minutes of this UpdateCalendarEventRequest. # noqa: E501 + :type close_instance_after_end_minutes: int """ - self._starts_at = starts_at + self._close_instance_after_end_minutes = close_instance_after_end_minutes @property def description(self): @@ -237,67 +230,67 @@ def ends_at(self, ends_at): self._ends_at = ends_at @property - def category(self): - """Gets the category of this UpdateCalendarEventRequest. # noqa: E501 + def featured(self): + """Gets the featured of this UpdateCalendarEventRequest. # noqa: E501 - :return: The category of this UpdateCalendarEventRequest. # noqa: E501 - :rtype: str + :return: The featured of this UpdateCalendarEventRequest. # noqa: E501 + :rtype: bool """ - return self._category + return self._featured - @category.setter - def category(self, category): - """Sets the category of this UpdateCalendarEventRequest. + @featured.setter + def featured(self, featured): + """Sets the featured of this UpdateCalendarEventRequest. - :param category: The category of this UpdateCalendarEventRequest. # noqa: E501 - :type category: str + :param featured: The featured of this UpdateCalendarEventRequest. # noqa: E501 + :type featured: bool """ - self._category = category + self._featured = featured @property - def tags(self): - """Gets the tags of this UpdateCalendarEventRequest. # noqa: E501 + def guest_early_join_minutes(self): + """Gets the guest_early_join_minutes of this UpdateCalendarEventRequest. # noqa: E501 - :return: The tags of this UpdateCalendarEventRequest. # noqa: E501 - :rtype: list[str] + :return: The guest_early_join_minutes of this UpdateCalendarEventRequest. # noqa: E501 + :rtype: int """ - return self._tags + return self._guest_early_join_minutes - @tags.setter - def tags(self, tags): - """Sets the tags of this UpdateCalendarEventRequest. + @guest_early_join_minutes.setter + def guest_early_join_minutes(self, guest_early_join_minutes): + """Sets the guest_early_join_minutes of this UpdateCalendarEventRequest. - :param tags: The tags of this UpdateCalendarEventRequest. # noqa: E501 - :type tags: list[str] + :param guest_early_join_minutes: The guest_early_join_minutes of this UpdateCalendarEventRequest. # noqa: E501 + :type guest_early_join_minutes: int """ - self._tags = tags + self._guest_early_join_minutes = guest_early_join_minutes @property - def is_draft(self): - """Gets the is_draft of this UpdateCalendarEventRequest. # noqa: E501 + def host_early_join_minutes(self): + """Gets the host_early_join_minutes of this UpdateCalendarEventRequest. # noqa: E501 - :return: The is_draft of this UpdateCalendarEventRequest. # noqa: E501 - :rtype: bool + :return: The host_early_join_minutes of this UpdateCalendarEventRequest. # noqa: E501 + :rtype: int """ - return self._is_draft + return self._host_early_join_minutes - @is_draft.setter - def is_draft(self, is_draft): - """Sets the is_draft of this UpdateCalendarEventRequest. + @host_early_join_minutes.setter + def host_early_join_minutes(self, host_early_join_minutes): + """Sets the host_early_join_minutes of this UpdateCalendarEventRequest. - :param is_draft: The is_draft of this UpdateCalendarEventRequest. # noqa: E501 - :type is_draft: bool + :param host_early_join_minutes: The host_early_join_minutes of this UpdateCalendarEventRequest. # noqa: E501 + :type host_early_join_minutes: int """ - self._is_draft = is_draft + self._host_early_join_minutes = host_early_join_minutes @property def image_id(self): @@ -321,25 +314,46 @@ def image_id(self, image_id): self._image_id = image_id @property - def role_ids(self): - """Gets the role_ids of this UpdateCalendarEventRequest. # noqa: E501 + def is_draft(self): + """Gets the is_draft of this UpdateCalendarEventRequest. # noqa: E501 - :return: The role_ids of this UpdateCalendarEventRequest. # noqa: E501 + :return: The is_draft of this UpdateCalendarEventRequest. # noqa: E501 + :rtype: bool + """ + return self._is_draft + + @is_draft.setter + def is_draft(self, is_draft): + """Sets the is_draft of this UpdateCalendarEventRequest. + + + :param is_draft: The is_draft of this UpdateCalendarEventRequest. # noqa: E501 + :type is_draft: bool + """ + + self._is_draft = is_draft + + @property + def languages(self): + """Gets the languages of this UpdateCalendarEventRequest. # noqa: E501 + + + :return: The languages of this UpdateCalendarEventRequest. # noqa: E501 :rtype: list[str] """ - return self._role_ids + return self._languages - @role_ids.setter - def role_ids(self, role_ids): - """Sets the role_ids of this UpdateCalendarEventRequest. + @languages.setter + def languages(self, languages): + """Sets the languages of this UpdateCalendarEventRequest. - :param role_ids: The role_ids of this UpdateCalendarEventRequest. # noqa: E501 - :type role_ids: list[str] + :param languages: The languages of this UpdateCalendarEventRequest. # noqa: E501 + :type languages: list[str] """ - self._role_ids = role_ids + self._languages = languages @property def parent_id(self): @@ -384,25 +398,25 @@ def platforms(self, platforms): self._platforms = platforms @property - def languages(self): - """Gets the languages of this UpdateCalendarEventRequest. # noqa: E501 + def role_ids(self): + """Gets the role_ids of this UpdateCalendarEventRequest. # noqa: E501 - :return: The languages of this UpdateCalendarEventRequest. # noqa: E501 + :return: The role_ids of this UpdateCalendarEventRequest. # noqa: E501 :rtype: list[str] """ - return self._languages + return self._role_ids - @languages.setter - def languages(self, languages): - """Sets the languages of this UpdateCalendarEventRequest. + @role_ids.setter + def role_ids(self, role_ids): + """Sets the role_ids of this UpdateCalendarEventRequest. - :param languages: The languages of this UpdateCalendarEventRequest. # noqa: E501 - :type languages: list[str] + :param role_ids: The role_ids of this UpdateCalendarEventRequest. # noqa: E501 + :type role_ids: list[str] """ - self._languages = languages + self._role_ids = role_ids @property def send_creation_notification(self): @@ -428,88 +442,74 @@ def send_creation_notification(self, send_creation_notification): self._send_creation_notification = send_creation_notification @property - def featured(self): - """Gets the featured of this UpdateCalendarEventRequest. # noqa: E501 - - - :return: The featured of this UpdateCalendarEventRequest. # noqa: E501 - :rtype: bool - """ - return self._featured - - @featured.setter - def featured(self, featured): - """Sets the featured of this UpdateCalendarEventRequest. - - - :param featured: The featured of this UpdateCalendarEventRequest. # noqa: E501 - :type featured: bool - """ - - self._featured = featured - - @property - def host_early_join_minutes(self): - """Gets the host_early_join_minutes of this UpdateCalendarEventRequest. # noqa: E501 + def starts_at(self): + """Gets the starts_at of this UpdateCalendarEventRequest. # noqa: E501 + Time the vent starts at # noqa: E501 - :return: The host_early_join_minutes of this UpdateCalendarEventRequest. # noqa: E501 - :rtype: int + :return: The starts_at of this UpdateCalendarEventRequest. # noqa: E501 + :rtype: datetime """ - return self._host_early_join_minutes + return self._starts_at - @host_early_join_minutes.setter - def host_early_join_minutes(self, host_early_join_minutes): - """Sets the host_early_join_minutes of this UpdateCalendarEventRequest. + @starts_at.setter + def starts_at(self, starts_at): + """Sets the starts_at of this UpdateCalendarEventRequest. + Time the vent starts at # noqa: E501 - :param host_early_join_minutes: The host_early_join_minutes of this UpdateCalendarEventRequest. # noqa: E501 - :type host_early_join_minutes: int + :param starts_at: The starts_at of this UpdateCalendarEventRequest. # noqa: E501 + :type starts_at: datetime """ - self._host_early_join_minutes = host_early_join_minutes + self._starts_at = starts_at @property - def guest_early_join_minutes(self): - """Gets the guest_early_join_minutes of this UpdateCalendarEventRequest. # noqa: E501 + def tags(self): + """Gets the tags of this UpdateCalendarEventRequest. # noqa: E501 - :return: The guest_early_join_minutes of this UpdateCalendarEventRequest. # noqa: E501 - :rtype: int + :return: The tags of this UpdateCalendarEventRequest. # noqa: E501 + :rtype: list[str] """ - return self._guest_early_join_minutes + return self._tags - @guest_early_join_minutes.setter - def guest_early_join_minutes(self, guest_early_join_minutes): - """Sets the guest_early_join_minutes of this UpdateCalendarEventRequest. + @tags.setter + def tags(self, tags): + """Sets the tags of this UpdateCalendarEventRequest. - :param guest_early_join_minutes: The guest_early_join_minutes of this UpdateCalendarEventRequest. # noqa: E501 - :type guest_early_join_minutes: int + :param tags: The tags of this UpdateCalendarEventRequest. # noqa: E501 + :type tags: list[str] """ - self._guest_early_join_minutes = guest_early_join_minutes + self._tags = tags @property - def close_instance_after_end_minutes(self): - """Gets the close_instance_after_end_minutes of this UpdateCalendarEventRequest. # noqa: E501 + def title(self): + """Gets the title of this UpdateCalendarEventRequest. # noqa: E501 + Event title # noqa: E501 - :return: The close_instance_after_end_minutes of this UpdateCalendarEventRequest. # noqa: E501 - :rtype: int + :return: The title of this UpdateCalendarEventRequest. # noqa: E501 + :rtype: str """ - return self._close_instance_after_end_minutes + return self._title - @close_instance_after_end_minutes.setter - def close_instance_after_end_minutes(self, close_instance_after_end_minutes): - """Sets the close_instance_after_end_minutes of this UpdateCalendarEventRequest. + @title.setter + def title(self, title): + """Sets the title of this UpdateCalendarEventRequest. + Event title # noqa: E501 - :param close_instance_after_end_minutes: The close_instance_after_end_minutes of this UpdateCalendarEventRequest. # noqa: E501 - :type close_instance_after_end_minutes: int + :param title: The title of this UpdateCalendarEventRequest. # noqa: E501 + :type title: str """ + if (self.local_vars_configuration.client_side_validation and + title is not None and len(title) < 1): + raise ValueError("Invalid value for `title`, length must be greater than or equal to `1`") # noqa: E501 - self._close_instance_after_end_minutes = close_instance_after_end_minutes + self._title = title @property def uses_instance_overflow(self): diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index d5a03fd6..222acabb 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -37,33 +37,33 @@ class UpdateFavoriteGroupRequest(object): """ openapi_types = { 'display_name': 'str', - 'visibility': 'FavoriteGroupVisibility', - 'tags': 'list[str]' + 'tags': 'list[str]', + 'visibility': 'FavoriteGroupVisibility' } attribute_map = { 'display_name': 'displayName', - 'visibility': 'visibility', - 'tags': 'tags' + 'tags': 'tags', + 'visibility': 'visibility' } - def __init__(self, display_name=None, visibility=None, tags=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, display_name=None, tags=None, visibility=None, local_vars_configuration=None): # noqa: E501 """UpdateFavoriteGroupRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._display_name = None - self._visibility = None self._tags = None + self._visibility = None self.discriminator = None if display_name is not None: self.display_name = display_name - if visibility is not None: - self.visibility = visibility if tags is not None: self.tags = tags + if visibility is not None: + self.visibility = visibility @property def display_name(self): @@ -86,27 +86,6 @@ def display_name(self, display_name): self._display_name = display_name - @property - def visibility(self): - """Gets the visibility of this UpdateFavoriteGroupRequest. # noqa: E501 - - - :return: The visibility of this UpdateFavoriteGroupRequest. # noqa: E501 - :rtype: FavoriteGroupVisibility - """ - return self._visibility - - @visibility.setter - def visibility(self, visibility): - """Sets the visibility of this UpdateFavoriteGroupRequest. - - - :param visibility: The visibility of this UpdateFavoriteGroupRequest. # noqa: E501 - :type visibility: FavoriteGroupVisibility - """ - - self._visibility = visibility - @property def tags(self): """Gets the tags of this UpdateFavoriteGroupRequest. # noqa: E501 @@ -130,6 +109,27 @@ def tags(self, tags): self._tags = tags + @property + def visibility(self): + """Gets the visibility of this UpdateFavoriteGroupRequest. # noqa: E501 + + + :return: The visibility of this UpdateFavoriteGroupRequest. # noqa: E501 + :rtype: FavoriteGroupVisibility + """ + return self._visibility + + @visibility.setter + def visibility(self, visibility): + """Sets the visibility of this UpdateFavoriteGroupRequest. + + + :param visibility: The visibility of this UpdateFavoriteGroupRequest. # noqa: E501 + :type visibility: FavoriteGroupVisibility + """ + + self._visibility = visibility + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index d6a66358..6ca03a6a 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,76 +36,50 @@ class UpdateGroupGalleryRequest(object): and the value is json key in definition. """ openapi_types = { - 'name': 'str', 'description': 'str', 'members_only': 'bool', - 'role_ids_to_view': 'list[str]', - 'role_ids_to_submit': 'list[str]', + 'name': 'str', 'role_ids_to_auto_approve': 'list[str]', - 'role_ids_to_manage': 'list[str]' + 'role_ids_to_manage': 'list[str]', + 'role_ids_to_submit': 'list[str]', + 'role_ids_to_view': 'list[str]' } attribute_map = { - 'name': 'name', 'description': 'description', 'members_only': 'membersOnly', - 'role_ids_to_view': 'roleIdsToView', - 'role_ids_to_submit': 'roleIdsToSubmit', + 'name': 'name', 'role_ids_to_auto_approve': 'roleIdsToAutoApprove', - 'role_ids_to_manage': 'roleIdsToManage' + 'role_ids_to_manage': 'roleIdsToManage', + 'role_ids_to_submit': 'roleIdsToSubmit', + 'role_ids_to_view': 'roleIdsToView' } - def __init__(self, name=None, description=None, members_only=False, role_ids_to_view=None, role_ids_to_submit=None, role_ids_to_auto_approve=None, role_ids_to_manage=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, description=None, members_only=False, name=None, role_ids_to_auto_approve=None, role_ids_to_manage=None, role_ids_to_submit=None, role_ids_to_view=None, local_vars_configuration=None): # noqa: E501 """UpdateGroupGalleryRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._name = None self._description = None self._members_only = None - self._role_ids_to_view = None - self._role_ids_to_submit = None + self._name = None self._role_ids_to_auto_approve = None self._role_ids_to_manage = None + self._role_ids_to_submit = None + self._role_ids_to_view = None self.discriminator = None - if name is not None: - self.name = name if description is not None: self.description = description if members_only is not None: self.members_only = members_only - self.role_ids_to_view = role_ids_to_view - self.role_ids_to_submit = role_ids_to_submit + if name is not None: + self.name = name self.role_ids_to_auto_approve = role_ids_to_auto_approve self.role_ids_to_manage = role_ids_to_manage - - @property - def name(self): - """Gets the name of this UpdateGroupGalleryRequest. # noqa: E501 - - Name of the gallery. # noqa: E501 - - :return: The name of this UpdateGroupGalleryRequest. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this UpdateGroupGalleryRequest. - - Name of the gallery. # noqa: E501 - - :param name: The name of this UpdateGroupGalleryRequest. # noqa: E501 - :type name: str - """ - if (self.local_vars_configuration.client_side_validation and - name is not None and len(name) < 1): - raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 - - self._name = name + self.role_ids_to_submit = role_ids_to_submit + self.role_ids_to_view = role_ids_to_view @property def description(self): @@ -157,50 +131,30 @@ def members_only(self, members_only): self._members_only = members_only @property - def role_ids_to_view(self): - """Gets the role_ids_to_view of this UpdateGroupGalleryRequest. # noqa: E501 - - # noqa: E501 - - :return: The role_ids_to_view of this UpdateGroupGalleryRequest. # noqa: E501 - :rtype: list[str] - """ - return self._role_ids_to_view - - @role_ids_to_view.setter - def role_ids_to_view(self, role_ids_to_view): - """Sets the role_ids_to_view of this UpdateGroupGalleryRequest. - - # noqa: E501 - - :param role_ids_to_view: The role_ids_to_view of this UpdateGroupGalleryRequest. # noqa: E501 - :type role_ids_to_view: list[str] - """ - - self._role_ids_to_view = role_ids_to_view - - @property - def role_ids_to_submit(self): - """Gets the role_ids_to_submit of this UpdateGroupGalleryRequest. # noqa: E501 + def name(self): + """Gets the name of this UpdateGroupGalleryRequest. # noqa: E501 - # noqa: E501 + Name of the gallery. # noqa: E501 - :return: The role_ids_to_submit of this UpdateGroupGalleryRequest. # noqa: E501 - :rtype: list[str] + :return: The name of this UpdateGroupGalleryRequest. # noqa: E501 + :rtype: str """ - return self._role_ids_to_submit + return self._name - @role_ids_to_submit.setter - def role_ids_to_submit(self, role_ids_to_submit): - """Sets the role_ids_to_submit of this UpdateGroupGalleryRequest. + @name.setter + def name(self, name): + """Sets the name of this UpdateGroupGalleryRequest. - # noqa: E501 + Name of the gallery. # noqa: E501 - :param role_ids_to_submit: The role_ids_to_submit of this UpdateGroupGalleryRequest. # noqa: E501 - :type role_ids_to_submit: list[str] + :param name: The name of this UpdateGroupGalleryRequest. # noqa: E501 + :type name: str """ + if (self.local_vars_configuration.client_side_validation and + name is not None and len(name) < 1): + raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 - self._role_ids_to_submit = role_ids_to_submit + self._name = name @property def role_ids_to_auto_approve(self): @@ -248,6 +202,52 @@ def role_ids_to_manage(self, role_ids_to_manage): self._role_ids_to_manage = role_ids_to_manage + @property + def role_ids_to_submit(self): + """Gets the role_ids_to_submit of this UpdateGroupGalleryRequest. # noqa: E501 + + # noqa: E501 + + :return: The role_ids_to_submit of this UpdateGroupGalleryRequest. # noqa: E501 + :rtype: list[str] + """ + return self._role_ids_to_submit + + @role_ids_to_submit.setter + def role_ids_to_submit(self, role_ids_to_submit): + """Sets the role_ids_to_submit of this UpdateGroupGalleryRequest. + + # noqa: E501 + + :param role_ids_to_submit: The role_ids_to_submit of this UpdateGroupGalleryRequest. # noqa: E501 + :type role_ids_to_submit: list[str] + """ + + self._role_ids_to_submit = role_ids_to_submit + + @property + def role_ids_to_view(self): + """Gets the role_ids_to_view of this UpdateGroupGalleryRequest. # noqa: E501 + + # noqa: E501 + + :return: The role_ids_to_view of this UpdateGroupGalleryRequest. # noqa: E501 + :rtype: list[str] + """ + return self._role_ids_to_view + + @role_ids_to_view.setter + def role_ids_to_view(self, role_ids_to_view): + """Sets the role_ids_to_view of this UpdateGroupGalleryRequest. + + # noqa: E501 + + :param role_ids_to_view: The role_ids_to_view of this UpdateGroupGalleryRequest. # noqa: E501 + :type role_ids_to_view: list[str] + """ + + self._role_ids_to_view = role_ids_to_view + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index c58d1058..bc650330 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,60 +36,39 @@ class UpdateGroupMemberRequest(object): and the value is json key in definition. """ openapi_types = { - 'visibility': 'GroupUserVisibility', 'is_subscribed_to_announcements': 'bool', 'is_subscribed_to_event_announcements': 'bool', - 'manager_notes': 'str' + 'manager_notes': 'str', + 'visibility': 'GroupUserVisibility' } attribute_map = { - 'visibility': 'visibility', 'is_subscribed_to_announcements': 'isSubscribedToAnnouncements', 'is_subscribed_to_event_announcements': 'isSubscribedToEventAnnouncements', - 'manager_notes': 'managerNotes' + 'manager_notes': 'managerNotes', + 'visibility': 'visibility' } - def __init__(self, visibility=None, is_subscribed_to_announcements=None, is_subscribed_to_event_announcements=None, manager_notes=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, is_subscribed_to_announcements=None, is_subscribed_to_event_announcements=None, manager_notes=None, visibility=None, local_vars_configuration=None): # noqa: E501 """UpdateGroupMemberRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._visibility = None self._is_subscribed_to_announcements = None self._is_subscribed_to_event_announcements = None self._manager_notes = None + self._visibility = None self.discriminator = None - if visibility is not None: - self.visibility = visibility if is_subscribed_to_announcements is not None: self.is_subscribed_to_announcements = is_subscribed_to_announcements if is_subscribed_to_event_announcements is not None: self.is_subscribed_to_event_announcements = is_subscribed_to_event_announcements if manager_notes is not None: self.manager_notes = manager_notes - - @property - def visibility(self): - """Gets the visibility of this UpdateGroupMemberRequest. # noqa: E501 - - - :return: The visibility of this UpdateGroupMemberRequest. # noqa: E501 - :rtype: GroupUserVisibility - """ - return self._visibility - - @visibility.setter - def visibility(self, visibility): - """Sets the visibility of this UpdateGroupMemberRequest. - - - :param visibility: The visibility of this UpdateGroupMemberRequest. # noqa: E501 - :type visibility: GroupUserVisibility - """ - - self._visibility = visibility + if visibility is not None: + self.visibility = visibility @property def is_subscribed_to_announcements(self): @@ -154,6 +133,27 @@ def manager_notes(self, manager_notes): self._manager_notes = manager_notes + @property + def visibility(self): + """Gets the visibility of this UpdateGroupMemberRequest. # noqa: E501 + + + :return: The visibility of this UpdateGroupMemberRequest. # noqa: E501 + :rtype: GroupUserVisibility + """ + return self._visibility + + @visibility.setter + def visibility(self, visibility): + """Sets the visibility of this UpdateGroupMemberRequest. + + + :param visibility: The visibility of this UpdateGroupMemberRequest. # noqa: E501 + :type visibility: GroupUserVisibility + """ + + self._visibility = visibility + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/update_group_representation_request.py b/vrchatapi/models/update_group_representation_request.py index aa0bdc30..d03b3dae 100644 --- a/vrchatapi/models/update_group_representation_request.py +++ b/vrchatapi/models/update_group_representation_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index b15940e9..5ce3c089 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,121 +36,88 @@ class UpdateGroupRequest(object): and the value is json key in definition. """ openapi_types = { - 'name': 'str', - 'short_code': 'str', + 'banner_id': 'str', 'description': 'str', - 'join_state': 'GroupJoinState', 'icon_id': 'str', - 'banner_id': 'str', + 'join_state': 'GroupJoinState', 'languages': 'list[str]', 'links': 'list[str]', + 'name': 'str', 'rules': 'str', + 'short_code': 'str', 'tags': 'list[str]' } attribute_map = { - 'name': 'name', - 'short_code': 'shortCode', + 'banner_id': 'bannerId', 'description': 'description', - 'join_state': 'joinState', 'icon_id': 'iconId', - 'banner_id': 'bannerId', + 'join_state': 'joinState', 'languages': 'languages', 'links': 'links', + 'name': 'name', 'rules': 'rules', + 'short_code': 'shortCode', 'tags': 'tags' } - def __init__(self, name=None, short_code=None, description=None, join_state=None, icon_id=None, banner_id=None, languages=None, links=None, rules=None, tags=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, banner_id=None, description=None, icon_id=None, join_state=None, languages=None, links=None, name=None, rules=None, short_code=None, tags=None, local_vars_configuration=None): # noqa: E501 """UpdateGroupRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._name = None - self._short_code = None + self._banner_id = None self._description = None - self._join_state = None self._icon_id = None - self._banner_id = None + self._join_state = None self._languages = None self._links = None + self._name = None self._rules = None + self._short_code = None self._tags = None self.discriminator = None - if name is not None: - self.name = name - if short_code is not None: - self.short_code = short_code + self.banner_id = banner_id if description is not None: self.description = description + self.icon_id = icon_id if join_state is not None: self.join_state = join_state - self.icon_id = icon_id - self.banner_id = banner_id if languages is not None: self.languages = languages if links is not None: self.links = links + if name is not None: + self.name = name if rules is not None: self.rules = rules + if short_code is not None: + self.short_code = short_code if tags is not None: self.tags = tags @property - def name(self): - """Gets the name of this UpdateGroupRequest. # noqa: E501 - - - :return: The name of this UpdateGroupRequest. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this UpdateGroupRequest. - - - :param name: The name of this UpdateGroupRequest. # noqa: E501 - :type name: str - """ - if (self.local_vars_configuration.client_side_validation and - name is not None and len(name) > 64): - raise ValueError("Invalid value for `name`, length must be less than or equal to `64`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - name is not None and len(name) < 3): - raise ValueError("Invalid value for `name`, length must be greater than or equal to `3`") # noqa: E501 - - self._name = name - - @property - def short_code(self): - """Gets the short_code of this UpdateGroupRequest. # noqa: E501 + def banner_id(self): + """Gets the banner_id of this UpdateGroupRequest. # noqa: E501 - :return: The short_code of this UpdateGroupRequest. # noqa: E501 + :return: The banner_id of this UpdateGroupRequest. # noqa: E501 :rtype: str """ - return self._short_code + return self._banner_id - @short_code.setter - def short_code(self, short_code): - """Sets the short_code of this UpdateGroupRequest. + @banner_id.setter + def banner_id(self, banner_id): + """Sets the banner_id of this UpdateGroupRequest. - :param short_code: The short_code of this UpdateGroupRequest. # noqa: E501 - :type short_code: str + :param banner_id: The banner_id of this UpdateGroupRequest. # noqa: E501 + :type banner_id: str """ - if (self.local_vars_configuration.client_side_validation and - short_code is not None and len(short_code) > 6): - raise ValueError("Invalid value for `short_code`, length must be less than or equal to `6`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - short_code is not None and len(short_code) < 3): - raise ValueError("Invalid value for `short_code`, length must be greater than or equal to `3`") # noqa: E501 - self._short_code = short_code + self._banner_id = banner_id @property def description(self): @@ -179,27 +146,6 @@ def description(self, description): self._description = description - @property - def join_state(self): - """Gets the join_state of this UpdateGroupRequest. # noqa: E501 - - - :return: The join_state of this UpdateGroupRequest. # noqa: E501 - :rtype: GroupJoinState - """ - return self._join_state - - @join_state.setter - def join_state(self, join_state): - """Sets the join_state of this UpdateGroupRequest. - - - :param join_state: The join_state of this UpdateGroupRequest. # noqa: E501 - :type join_state: GroupJoinState - """ - - self._join_state = join_state - @property def icon_id(self): """Gets the icon_id of this UpdateGroupRequest. # noqa: E501 @@ -222,25 +168,25 @@ def icon_id(self, icon_id): self._icon_id = icon_id @property - def banner_id(self): - """Gets the banner_id of this UpdateGroupRequest. # noqa: E501 + def join_state(self): + """Gets the join_state of this UpdateGroupRequest. # noqa: E501 - :return: The banner_id of this UpdateGroupRequest. # noqa: E501 - :rtype: str + :return: The join_state of this UpdateGroupRequest. # noqa: E501 + :rtype: GroupJoinState """ - return self._banner_id + return self._join_state - @banner_id.setter - def banner_id(self, banner_id): - """Sets the banner_id of this UpdateGroupRequest. + @join_state.setter + def join_state(self, join_state): + """Sets the join_state of this UpdateGroupRequest. - :param banner_id: The banner_id of this UpdateGroupRequest. # noqa: E501 - :type banner_id: str + :param join_state: The join_state of this UpdateGroupRequest. # noqa: E501 + :type join_state: GroupJoinState """ - self._banner_id = banner_id + self._join_state = join_state @property def languages(self): @@ -292,6 +238,33 @@ def links(self, links): self._links = links + @property + def name(self): + """Gets the name of this UpdateGroupRequest. # noqa: E501 + + + :return: The name of this UpdateGroupRequest. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this UpdateGroupRequest. + + + :param name: The name of this UpdateGroupRequest. # noqa: E501 + :type name: str + """ + if (self.local_vars_configuration.client_side_validation and + name is not None and len(name) > 64): + raise ValueError("Invalid value for `name`, length must be less than or equal to `64`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + name is not None and len(name) < 3): + raise ValueError("Invalid value for `name`, length must be greater than or equal to `3`") # noqa: E501 + + self._name = name + @property def rules(self): """Gets the rules of this UpdateGroupRequest. # noqa: E501 @@ -313,6 +286,33 @@ def rules(self, rules): self._rules = rules + @property + def short_code(self): + """Gets the short_code of this UpdateGroupRequest. # noqa: E501 + + + :return: The short_code of this UpdateGroupRequest. # noqa: E501 + :rtype: str + """ + return self._short_code + + @short_code.setter + def short_code(self, short_code): + """Sets the short_code of this UpdateGroupRequest. + + + :param short_code: The short_code of this UpdateGroupRequest. # noqa: E501 + :type short_code: str + """ + if (self.local_vars_configuration.client_side_validation and + short_code is not None and len(short_code) > 6): + raise ValueError("Invalid value for `short_code`, length must be less than or equal to `6`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + short_code is not None and len(short_code) < 3): + raise ValueError("Invalid value for `short_code`, length must be greater than or equal to `3`") # noqa: E501 + + self._short_code = short_code + @property def tags(self): """Gets the tags of this UpdateGroupRequest. # noqa: E501 diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index baeb08e8..ab687abb 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,65 +36,44 @@ class UpdateGroupRoleRequest(object): and the value is json key in definition. """ openapi_types = { - 'name': 'str', 'description': 'str', 'is_self_assignable': 'bool', - 'permissions': 'list[GroupPermissions]', - 'order': 'int' + 'name': 'str', + 'order': 'int', + 'permissions': 'list[GroupPermissions]' } attribute_map = { - 'name': 'name', 'description': 'description', 'is_self_assignable': 'isSelfAssignable', - 'permissions': 'permissions', - 'order': 'order' + 'name': 'name', + 'order': 'order', + 'permissions': 'permissions' } - def __init__(self, name=None, description=None, is_self_assignable=False, permissions=None, order=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, description=None, is_self_assignable=False, name=None, order=None, permissions=None, local_vars_configuration=None): # noqa: E501 """UpdateGroupRoleRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._name = None self._description = None self._is_self_assignable = None - self._permissions = None + self._name = None self._order = None + self._permissions = None self.discriminator = None - if name is not None: - self.name = name if description is not None: self.description = description if is_self_assignable is not None: self.is_self_assignable = is_self_assignable - if permissions is not None: - self.permissions = permissions + if name is not None: + self.name = name if order is not None: self.order = order - - @property - def name(self): - """Gets the name of this UpdateGroupRoleRequest. # noqa: E501 - - - :return: The name of this UpdateGroupRoleRequest. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this UpdateGroupRoleRequest. - - - :param name: The name of this UpdateGroupRoleRequest. # noqa: E501 - :type name: str - """ - - self._name = name + if permissions is not None: + self.permissions = permissions @property def description(self): @@ -139,25 +118,25 @@ def is_self_assignable(self, is_self_assignable): self._is_self_assignable = is_self_assignable @property - def permissions(self): - """Gets the permissions of this UpdateGroupRoleRequest. # noqa: E501 + def name(self): + """Gets the name of this UpdateGroupRoleRequest. # noqa: E501 - :return: The permissions of this UpdateGroupRoleRequest. # noqa: E501 - :rtype: list[GroupPermissions] + :return: The name of this UpdateGroupRoleRequest. # noqa: E501 + :rtype: str """ - return self._permissions + return self._name - @permissions.setter - def permissions(self, permissions): - """Sets the permissions of this UpdateGroupRoleRequest. + @name.setter + def name(self, name): + """Sets the name of this UpdateGroupRoleRequest. - :param permissions: The permissions of this UpdateGroupRoleRequest. # noqa: E501 - :type permissions: list[GroupPermissions] + :param name: The name of this UpdateGroupRoleRequest. # noqa: E501 + :type name: str """ - self._permissions = permissions + self._name = name @property def order(self): @@ -180,6 +159,27 @@ def order(self, order): self._order = order + @property + def permissions(self): + """Gets the permissions of this UpdateGroupRoleRequest. # noqa: E501 + + + :return: The permissions of this UpdateGroupRoleRequest. # noqa: E501 + :rtype: list[GroupPermissions] + """ + return self._permissions + + @permissions.setter + def permissions(self, permissions): + """Sets the permissions of this UpdateGroupRoleRequest. + + + :param permissions: The permissions of this UpdateGroupRoleRequest. # noqa: E501 + :type permissions: list[GroupPermissions] + """ + + self._permissions = permissions + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/update_inventory_item_request.py b/vrchatapi/models/update_inventory_item_request.py index 015f34ac..bea3aede 100644 --- a/vrchatapi/models/update_inventory_item_request.py +++ b/vrchatapi/models/update_inventory_item_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,24 +36,34 @@ class UpdateInventoryItemRequest(object): and the value is json key in definition. """ openapi_types = { - 'is_archived': 'bool' + 'is_archived': 'bool', + 'is_seen': 'bool', + 'user_attributes': 'InventoryUserAttributes' } attribute_map = { - 'is_archived': 'isArchived' + 'is_archived': 'isArchived', + 'is_seen': 'isSeen', + 'user_attributes': 'userAttributes' } - def __init__(self, is_archived=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, is_archived=None, is_seen=None, user_attributes=None, local_vars_configuration=None): # noqa: E501 """UpdateInventoryItemRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._is_archived = None + self._is_seen = None + self._user_attributes = None self.discriminator = None if is_archived is not None: self.is_archived = is_archived + if is_seen is not None: + self.is_seen = is_seen + if user_attributes is not None: + self.user_attributes = user_attributes @property def is_archived(self): @@ -76,6 +86,48 @@ def is_archived(self, is_archived): self._is_archived = is_archived + @property + def is_seen(self): + """Gets the is_seen of this UpdateInventoryItemRequest. # noqa: E501 + + + :return: The is_seen of this UpdateInventoryItemRequest. # noqa: E501 + :rtype: bool + """ + return self._is_seen + + @is_seen.setter + def is_seen(self, is_seen): + """Sets the is_seen of this UpdateInventoryItemRequest. + + + :param is_seen: The is_seen of this UpdateInventoryItemRequest. # noqa: E501 + :type is_seen: bool + """ + + self._is_seen = is_seen + + @property + def user_attributes(self): + """Gets the user_attributes of this UpdateInventoryItemRequest. # noqa: E501 + + + :return: The user_attributes of this UpdateInventoryItemRequest. # noqa: E501 + :rtype: InventoryUserAttributes + """ + return self._user_attributes + + @user_attributes.setter + def user_attributes(self, user_attributes): + """Sets the user_attributes of this UpdateInventoryItemRequest. + + + :param user_attributes: The user_attributes of this UpdateInventoryItemRequest. # noqa: E501 + :type user_attributes: InventoryUserAttributes + """ + + self._user_attributes = user_attributes + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index 5175cfc3..c12177b4 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_prop_request.py b/vrchatapi/models/update_prop_request.py new file mode 100644 index 00000000..d2304f10 --- /dev/null +++ b/vrchatapi/models/update_prop_request.py @@ -0,0 +1,403 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class UpdatePropRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'asset_url': 'str', + 'asset_version': 'int', + 'description': 'str', + 'image_url': 'str', + 'name': 'str', + 'platform': 'str', + 'prop_signature': 'str', + 'spawn_type': 'int', + 'tags': 'list[str]', + 'unity_version': 'str', + 'world_placement_mask': 'int' + } + + attribute_map = { + 'asset_url': 'assetUrl', + 'asset_version': 'assetVersion', + 'description': 'description', + 'image_url': 'imageUrl', + 'name': 'name', + 'platform': 'platform', + 'prop_signature': 'propSignature', + 'spawn_type': 'spawnType', + 'tags': 'tags', + 'unity_version': 'unityVersion', + 'world_placement_mask': 'worldPlacementMask' + } + + def __init__(self, asset_url=None, asset_version=None, description=None, image_url=None, name=None, platform=None, prop_signature=None, spawn_type=1, tags=None, unity_version=None, world_placement_mask=1, local_vars_configuration=None): # noqa: E501 + """UpdatePropRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._asset_url = None + self._asset_version = None + self._description = None + self._image_url = None + self._name = None + self._platform = None + self._prop_signature = None + self._spawn_type = None + self._tags = None + self._unity_version = None + self._world_placement_mask = None + self.discriminator = None + + if asset_url is not None: + self.asset_url = asset_url + if asset_version is not None: + self.asset_version = asset_version + if description is not None: + self.description = description + if image_url is not None: + self.image_url = image_url + if name is not None: + self.name = name + if platform is not None: + self.platform = platform + if prop_signature is not None: + self.prop_signature = prop_signature + if spawn_type is not None: + self.spawn_type = spawn_type + if tags is not None: + self.tags = tags + if unity_version is not None: + self.unity_version = unity_version + if world_placement_mask is not None: + self.world_placement_mask = world_placement_mask + + @property + def asset_url(self): + """Gets the asset_url of this UpdatePropRequest. # noqa: E501 + + + :return: The asset_url of this UpdatePropRequest. # noqa: E501 + :rtype: str + """ + return self._asset_url + + @asset_url.setter + def asset_url(self, asset_url): + """Sets the asset_url of this UpdatePropRequest. + + + :param asset_url: The asset_url of this UpdatePropRequest. # noqa: E501 + :type asset_url: str + """ + + self._asset_url = asset_url + + @property + def asset_version(self): + """Gets the asset_version of this UpdatePropRequest. # noqa: E501 + + + :return: The asset_version of this UpdatePropRequest. # noqa: E501 + :rtype: int + """ + return self._asset_version + + @asset_version.setter + def asset_version(self, asset_version): + """Sets the asset_version of this UpdatePropRequest. + + + :param asset_version: The asset_version of this UpdatePropRequest. # noqa: E501 + :type asset_version: int + """ + + self._asset_version = asset_version + + @property + def description(self): + """Gets the description of this UpdatePropRequest. # noqa: E501 + + + :return: The description of this UpdatePropRequest. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this UpdatePropRequest. + + + :param description: The description of this UpdatePropRequest. # noqa: E501 + :type description: str + """ + + self._description = description + + @property + def image_url(self): + """Gets the image_url of this UpdatePropRequest. # noqa: E501 + + + :return: The image_url of this UpdatePropRequest. # noqa: E501 + :rtype: str + """ + return self._image_url + + @image_url.setter + def image_url(self, image_url): + """Sets the image_url of this UpdatePropRequest. + + + :param image_url: The image_url of this UpdatePropRequest. # noqa: E501 + :type image_url: str + """ + + self._image_url = image_url + + @property + def name(self): + """Gets the name of this UpdatePropRequest. # noqa: E501 + + + :return: The name of this UpdatePropRequest. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this UpdatePropRequest. + + + :param name: The name of this UpdatePropRequest. # noqa: E501 + :type name: str + """ + + self._name = name + + @property + def platform(self): + """Gets the platform of this UpdatePropRequest. # noqa: E501 + + This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + + :return: The platform of this UpdatePropRequest. # noqa: E501 + :rtype: str + """ + return self._platform + + @platform.setter + def platform(self, platform): + """Sets the platform of this UpdatePropRequest. + + This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + + :param platform: The platform of this UpdatePropRequest. # noqa: E501 + :type platform: str + """ + + self._platform = platform + + @property + def prop_signature(self): + """Gets the prop_signature of this UpdatePropRequest. # noqa: E501 + + + :return: The prop_signature of this UpdatePropRequest. # noqa: E501 + :rtype: str + """ + return self._prop_signature + + @prop_signature.setter + def prop_signature(self, prop_signature): + """Sets the prop_signature of this UpdatePropRequest. + + + :param prop_signature: The prop_signature of this UpdatePropRequest. # noqa: E501 + :type prop_signature: str + """ + + self._prop_signature = prop_signature + + @property + def spawn_type(self): + """Gets the spawn_type of this UpdatePropRequest. # noqa: E501 + + How a prop is summoned and interacted with. 0: the prop fixed to some surface in the world 1: the prop is a pickup and may be held by users 2: ??? # noqa: E501 + + :return: The spawn_type of this UpdatePropRequest. # noqa: E501 + :rtype: int + """ + return self._spawn_type + + @spawn_type.setter + def spawn_type(self, spawn_type): + """Sets the spawn_type of this UpdatePropRequest. + + How a prop is summoned and interacted with. 0: the prop fixed to some surface in the world 1: the prop is a pickup and may be held by users 2: ??? # noqa: E501 + + :param spawn_type: The spawn_type of this UpdatePropRequest. # noqa: E501 + :type spawn_type: int + """ + if (self.local_vars_configuration.client_side_validation and + spawn_type is not None and spawn_type < 0): # noqa: E501 + raise ValueError("Invalid value for `spawn_type`, must be a value greater than or equal to `0`") # noqa: E501 + + self._spawn_type = spawn_type + + @property + def tags(self): + """Gets the tags of this UpdatePropRequest. # noqa: E501 + + + :return: The tags of this UpdatePropRequest. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this UpdatePropRequest. + + + :param tags: The tags of this UpdatePropRequest. # noqa: E501 + :type tags: list[str] + """ + + self._tags = tags + + @property + def unity_version(self): + """Gets the unity_version of this UpdatePropRequest. # noqa: E501 + + + :return: The unity_version of this UpdatePropRequest. # noqa: E501 + :rtype: str + """ + return self._unity_version + + @unity_version.setter + def unity_version(self, unity_version): + """Sets the unity_version of this UpdatePropRequest. + + + :param unity_version: The unity_version of this UpdatePropRequest. # noqa: E501 + :type unity_version: str + """ + + self._unity_version = unity_version + + @property + def world_placement_mask(self): + """Gets the world_placement_mask of this UpdatePropRequest. # noqa: E501 + + Bitmask for restrictions on what world surfaces a prop may be summoned. 0: no restrictions 1: floors 2: walls 4: ceilings # noqa: E501 + + :return: The world_placement_mask of this UpdatePropRequest. # noqa: E501 + :rtype: int + """ + return self._world_placement_mask + + @world_placement_mask.setter + def world_placement_mask(self, world_placement_mask): + """Sets the world_placement_mask of this UpdatePropRequest. + + Bitmask for restrictions on what world surfaces a prop may be summoned. 0: no restrictions 1: floors 2: walls 4: ceilings # noqa: E501 + + :param world_placement_mask: The world_placement_mask of this UpdatePropRequest. # noqa: E501 + :type world_placement_mask: int + """ + if (self.local_vars_configuration.client_side_validation and + world_placement_mask is not None and world_placement_mask < 0): # noqa: E501 + raise ValueError("Invalid value for `world_placement_mask`, must be a value greater than or equal to `0`") # noqa: E501 + + self._world_placement_mask = world_placement_mask + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, UpdatePropRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, UpdatePropRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/update_tilia_tos_request.py b/vrchatapi/models/update_tilia_tos_request.py new file mode 100644 index 00000000..715acdb6 --- /dev/null +++ b/vrchatapi/models/update_tilia_tos_request.py @@ -0,0 +1,132 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.6 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class UpdateTiliaTOSRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'accepted': 'bool' + } + + attribute_map = { + 'accepted': 'accepted' + } + + def __init__(self, accepted=None, local_vars_configuration=None): # noqa: E501 + """UpdateTiliaTOSRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._accepted = None + self.discriminator = None + + self.accepted = accepted + + @property + def accepted(self): + """Gets the accepted of this UpdateTiliaTOSRequest. # noqa: E501 + + + :return: The accepted of this UpdateTiliaTOSRequest. # noqa: E501 + :rtype: bool + """ + return self._accepted + + @accepted.setter + def accepted(self, accepted): + """Sets the accepted of this UpdateTiliaTOSRequest. + + + :param accepted: The accepted of this UpdateTiliaTOSRequest. # noqa: E501 + :type accepted: bool + """ + if self.local_vars_configuration.client_side_validation and accepted is None: # noqa: E501 + raise ValueError("Invalid value for `accepted`, must not be `None`") # noqa: E501 + + self._accepted = accepted + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, UpdateTiliaTOSRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, UpdateTiliaTOSRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/update_user_badge_request.py b/vrchatapi/models/update_user_badge_request.py index b1626286..ce70ab99 100644 --- a/vrchatapi/models/update_user_badge_request.py +++ b/vrchatapi/models/update_user_badge_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_note_request.py b/vrchatapi/models/update_user_note_request.py index 32b091f1..e0e0883a 100644 --- a/vrchatapi/models/update_user_note_request.py +++ b/vrchatapi/models/update_user_note_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,27 +36,50 @@ class UpdateUserNoteRequest(object): and the value is json key in definition. """ openapi_types = { - 'target_user_id': 'str', - 'note': 'str' + 'note': 'str', + 'target_user_id': 'str' } attribute_map = { - 'target_user_id': 'targetUserId', - 'note': 'note' + 'note': 'note', + 'target_user_id': 'targetUserId' } - def __init__(self, target_user_id=None, note=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, note=None, target_user_id=None, local_vars_configuration=None): # noqa: E501 """UpdateUserNoteRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._target_user_id = None self._note = None + self._target_user_id = None self.discriminator = None - self.target_user_id = target_user_id self.note = note + self.target_user_id = target_user_id + + @property + def note(self): + """Gets the note of this UpdateUserNoteRequest. # noqa: E501 + + + :return: The note of this UpdateUserNoteRequest. # noqa: E501 + :rtype: str + """ + return self._note + + @note.setter + def note(self, note): + """Sets the note of this UpdateUserNoteRequest. + + + :param note: The note of this UpdateUserNoteRequest. # noqa: E501 + :type note: str + """ + if self.local_vars_configuration.client_side_validation and note is None: # noqa: E501 + raise ValueError("Invalid value for `note`, must not be `None`") # noqa: E501 + + self._note = note @property def target_user_id(self): @@ -83,29 +106,6 @@ def target_user_id(self, target_user_id): self._target_user_id = target_user_id - @property - def note(self): - """Gets the note of this UpdateUserNoteRequest. # noqa: E501 - - - :return: The note of this UpdateUserNoteRequest. # noqa: E501 - :rtype: str - """ - return self._note - - @note.setter - def note(self, note): - """Sets the note of this UpdateUserNoteRequest. - - - :param note: The note of this UpdateUserNoteRequest. # noqa: E501 - :type note: str - """ - if self.local_vars_configuration.client_side_validation and note is None: # noqa: E501 - raise ValueError("Invalid value for `note`, must not be `None`") # noqa: E501 - - self._note = note - def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index 8fb999d4..2b14f5b9 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,146 +36,175 @@ class UpdateUserRequest(object): and the value is json key in definition. """ openapi_types = { - 'email': 'str', - 'unsubscribe': 'bool', - 'birthday': 'date', 'accepted_tos_version': 'int', - 'tags': 'list[str]', - 'status': 'UserStatus', - 'status_description': 'str', 'bio': 'str', 'bio_links': 'list[str]', - 'pronouns': 'str', - 'is_booping_enabled': 'bool', - 'user_icon': 'str', - 'content_filters': 'list[str]', + 'birthday': 'date', + 'content_filters': 'list[ContentFilter]', + 'current_password': 'str', 'display_name': 'str', - 'revert_display_name': 'bool', + 'email': 'str', + 'has_shared_connections_opt_out': 'bool', + 'is_booping_enabled': 'bool', 'password': 'str', - 'current_password': 'str' + 'pronouns': 'str', + 'revert_display_name': 'bool', + 'status': 'UserStatus', + 'status_description': 'str', + 'tags': 'list[str]', + 'unsubscribe': 'bool', + 'user_icon': 'str' } attribute_map = { - 'email': 'email', - 'unsubscribe': 'unsubscribe', - 'birthday': 'birthday', 'accepted_tos_version': 'acceptedTOSVersion', - 'tags': 'tags', - 'status': 'status', - 'status_description': 'statusDescription', 'bio': 'bio', 'bio_links': 'bioLinks', - 'pronouns': 'pronouns', - 'is_booping_enabled': 'isBoopingEnabled', - 'user_icon': 'userIcon', + 'birthday': 'birthday', 'content_filters': 'contentFilters', + 'current_password': 'currentPassword', 'display_name': 'displayName', - 'revert_display_name': 'revertDisplayName', + 'email': 'email', + 'has_shared_connections_opt_out': 'hasSharedConnectionsOptOut', + 'is_booping_enabled': 'isBoopingEnabled', 'password': 'password', - 'current_password': 'currentPassword' + 'pronouns': 'pronouns', + 'revert_display_name': 'revertDisplayName', + 'status': 'status', + 'status_description': 'statusDescription', + 'tags': 'tags', + 'unsubscribe': 'unsubscribe', + 'user_icon': 'userIcon' } - def __init__(self, email=None, unsubscribe=None, birthday=None, accepted_tos_version=None, tags=None, status=None, status_description=None, bio=None, bio_links=None, pronouns=None, is_booping_enabled=None, user_icon=None, content_filters=None, display_name=None, revert_display_name=None, password=None, current_password=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, accepted_tos_version=None, bio=None, bio_links=None, birthday=None, content_filters=None, current_password=None, display_name=None, email=None, has_shared_connections_opt_out=None, is_booping_enabled=None, password=None, pronouns=None, revert_display_name=None, status=None, status_description=None, tags=None, unsubscribe=None, user_icon=None, local_vars_configuration=None): # noqa: E501 """UpdateUserRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._email = None - self._unsubscribe = None - self._birthday = None self._accepted_tos_version = None - self._tags = None - self._status = None - self._status_description = None self._bio = None self._bio_links = None - self._pronouns = None - self._is_booping_enabled = None - self._user_icon = None + self._birthday = None self._content_filters = None + self._current_password = None self._display_name = None - self._revert_display_name = None + self._email = None + self._has_shared_connections_opt_out = None + self._is_booping_enabled = None self._password = None - self._current_password = None + self._pronouns = None + self._revert_display_name = None + self._status = None + self._status_description = None + self._tags = None + self._unsubscribe = None + self._user_icon = None self.discriminator = None - if email is not None: - self.email = email - if unsubscribe is not None: - self.unsubscribe = unsubscribe - if birthday is not None: - self.birthday = birthday if accepted_tos_version is not None: self.accepted_tos_version = accepted_tos_version - if tags is not None: - self.tags = tags - if status is not None: - self.status = status - if status_description is not None: - self.status_description = status_description if bio is not None: self.bio = bio if bio_links is not None: self.bio_links = bio_links - if pronouns is not None: - self.pronouns = pronouns - if is_booping_enabled is not None: - self.is_booping_enabled = is_booping_enabled - if user_icon is not None: - self.user_icon = user_icon + if birthday is not None: + self.birthday = birthday if content_filters is not None: self.content_filters = content_filters + if current_password is not None: + self.current_password = current_password if display_name is not None: self.display_name = display_name - if revert_display_name is not None: - self.revert_display_name = revert_display_name + if email is not None: + self.email = email + if has_shared_connections_opt_out is not None: + self.has_shared_connections_opt_out = has_shared_connections_opt_out + if is_booping_enabled is not None: + self.is_booping_enabled = is_booping_enabled if password is not None: self.password = password - if current_password is not None: - self.current_password = current_password + if pronouns is not None: + self.pronouns = pronouns + if revert_display_name is not None: + self.revert_display_name = revert_display_name + if status is not None: + self.status = status + if status_description is not None: + self.status_description = status_description + if tags is not None: + self.tags = tags + if unsubscribe is not None: + self.unsubscribe = unsubscribe + if user_icon is not None: + self.user_icon = user_icon @property - def email(self): - """Gets the email of this UpdateUserRequest. # noqa: E501 + def accepted_tos_version(self): + """Gets the accepted_tos_version of this UpdateUserRequest. # noqa: E501 - :return: The email of this UpdateUserRequest. # noqa: E501 + :return: The accepted_tos_version of this UpdateUserRequest. # noqa: E501 + :rtype: int + """ + return self._accepted_tos_version + + @accepted_tos_version.setter + def accepted_tos_version(self, accepted_tos_version): + """Sets the accepted_tos_version of this UpdateUserRequest. + + + :param accepted_tos_version: The accepted_tos_version of this UpdateUserRequest. # noqa: E501 + :type accepted_tos_version: int + """ + + self._accepted_tos_version = accepted_tos_version + + @property + def bio(self): + """Gets the bio of this UpdateUserRequest. # noqa: E501 + + + :return: The bio of this UpdateUserRequest. # noqa: E501 :rtype: str """ - return self._email + return self._bio - @email.setter - def email(self, email): - """Sets the email of this UpdateUserRequest. + @bio.setter + def bio(self, bio): + """Sets the bio of this UpdateUserRequest. - :param email: The email of this UpdateUserRequest. # noqa: E501 - :type email: str + :param bio: The bio of this UpdateUserRequest. # noqa: E501 + :type bio: str """ + if (self.local_vars_configuration.client_side_validation and + bio is not None and len(bio) < 0): + raise ValueError("Invalid value for `bio`, length must be greater than or equal to `0`") # noqa: E501 - self._email = email + self._bio = bio @property - def unsubscribe(self): - """Gets the unsubscribe of this UpdateUserRequest. # noqa: E501 + def bio_links(self): + """Gets the bio_links of this UpdateUserRequest. # noqa: E501 - :return: The unsubscribe of this UpdateUserRequest. # noqa: E501 - :rtype: bool + :return: The bio_links of this UpdateUserRequest. # noqa: E501 + :rtype: list[str] """ - return self._unsubscribe + return self._bio_links - @unsubscribe.setter - def unsubscribe(self, unsubscribe): - """Sets the unsubscribe of this UpdateUserRequest. + @bio_links.setter + def bio_links(self, bio_links): + """Sets the bio_links of this UpdateUserRequest. - :param unsubscribe: The unsubscribe of this UpdateUserRequest. # noqa: E501 - :type unsubscribe: bool + :param bio_links: The bio_links of this UpdateUserRequest. # noqa: E501 + :type bio_links: list[str] """ - self._unsubscribe = unsubscribe + self._bio_links = bio_links @property def birthday(self): @@ -199,135 +228,159 @@ def birthday(self, birthday): self._birthday = birthday @property - def accepted_tos_version(self): - """Gets the accepted_tos_version of this UpdateUserRequest. # noqa: E501 + def content_filters(self): + """Gets the content_filters of this UpdateUserRequest. # noqa: E501 + These tags begin with `content_` and control content gating # noqa: E501 - :return: The accepted_tos_version of this UpdateUserRequest. # noqa: E501 - :rtype: int + :return: The content_filters of this UpdateUserRequest. # noqa: E501 + :rtype: list[ContentFilter] """ - return self._accepted_tos_version + return self._content_filters - @accepted_tos_version.setter - def accepted_tos_version(self, accepted_tos_version): - """Sets the accepted_tos_version of this UpdateUserRequest. + @content_filters.setter + def content_filters(self, content_filters): + """Sets the content_filters of this UpdateUserRequest. + These tags begin with `content_` and control content gating # noqa: E501 - :param accepted_tos_version: The accepted_tos_version of this UpdateUserRequest. # noqa: E501 - :type accepted_tos_version: int + :param content_filters: The content_filters of this UpdateUserRequest. # noqa: E501 + :type content_filters: list[ContentFilter] """ - self._accepted_tos_version = accepted_tos_version + self._content_filters = content_filters @property - def tags(self): - """Gets the tags of this UpdateUserRequest. # noqa: E501 + def current_password(self): + """Gets the current_password of this UpdateUserRequest. # noqa: E501 - # noqa: E501 - :return: The tags of this UpdateUserRequest. # noqa: E501 - :rtype: list[str] + :return: The current_password of this UpdateUserRequest. # noqa: E501 + :rtype: str """ - return self._tags + return self._current_password - @tags.setter - def tags(self, tags): - """Sets the tags of this UpdateUserRequest. + @current_password.setter + def current_password(self, current_password): + """Sets the current_password of this UpdateUserRequest. - # noqa: E501 - :param tags: The tags of this UpdateUserRequest. # noqa: E501 - :type tags: list[str] + :param current_password: The current_password of this UpdateUserRequest. # noqa: E501 + :type current_password: str """ - self._tags = tags + self._current_password = current_password @property - def status(self): - """Gets the status of this UpdateUserRequest. # noqa: E501 + def display_name(self): + """Gets the display_name of this UpdateUserRequest. # noqa: E501 + MUST specify currentPassword as well to change display name # noqa: E501 - :return: The status of this UpdateUserRequest. # noqa: E501 - :rtype: UserStatus + :return: The display_name of this UpdateUserRequest. # noqa: E501 + :rtype: str """ - return self._status + return self._display_name - @status.setter - def status(self, status): - """Sets the status of this UpdateUserRequest. + @display_name.setter + def display_name(self, display_name): + """Sets the display_name of this UpdateUserRequest. + MUST specify currentPassword as well to change display name # noqa: E501 - :param status: The status of this UpdateUserRequest. # noqa: E501 - :type status: UserStatus + :param display_name: The display_name of this UpdateUserRequest. # noqa: E501 + :type display_name: str """ - self._status = status + self._display_name = display_name @property - def status_description(self): - """Gets the status_description of this UpdateUserRequest. # noqa: E501 + def email(self): + """Gets the email of this UpdateUserRequest. # noqa: E501 - :return: The status_description of this UpdateUserRequest. # noqa: E501 + :return: The email of this UpdateUserRequest. # noqa: E501 :rtype: str """ - return self._status_description + return self._email - @status_description.setter - def status_description(self, status_description): - """Sets the status_description of this UpdateUserRequest. + @email.setter + def email(self, email): + """Sets the email of this UpdateUserRequest. - :param status_description: The status_description of this UpdateUserRequest. # noqa: E501 - :type status_description: str + :param email: The email of this UpdateUserRequest. # noqa: E501 + :type email: str """ - self._status_description = status_description + self._email = email @property - def bio(self): - """Gets the bio of this UpdateUserRequest. # noqa: E501 + def has_shared_connections_opt_out(self): + """Gets the has_shared_connections_opt_out of this UpdateUserRequest. # noqa: E501 + Opt out of the Mutuals feature # noqa: E501 - :return: The bio of this UpdateUserRequest. # noqa: E501 - :rtype: str + :return: The has_shared_connections_opt_out of this UpdateUserRequest. # noqa: E501 + :rtype: bool """ - return self._bio + return self._has_shared_connections_opt_out - @bio.setter - def bio(self, bio): - """Sets the bio of this UpdateUserRequest. + @has_shared_connections_opt_out.setter + def has_shared_connections_opt_out(self, has_shared_connections_opt_out): + """Sets the has_shared_connections_opt_out of this UpdateUserRequest. + Opt out of the Mutuals feature # noqa: E501 - :param bio: The bio of this UpdateUserRequest. # noqa: E501 - :type bio: str + :param has_shared_connections_opt_out: The has_shared_connections_opt_out of this UpdateUserRequest. # noqa: E501 + :type has_shared_connections_opt_out: bool """ - if (self.local_vars_configuration.client_side_validation and - bio is not None and len(bio) < 0): - raise ValueError("Invalid value for `bio`, length must be greater than or equal to `0`") # noqa: E501 - self._bio = bio + self._has_shared_connections_opt_out = has_shared_connections_opt_out @property - def bio_links(self): - """Gets the bio_links of this UpdateUserRequest. # noqa: E501 + def is_booping_enabled(self): + """Gets the is_booping_enabled of this UpdateUserRequest. # noqa: E501 - :return: The bio_links of this UpdateUserRequest. # noqa: E501 - :rtype: list[str] + :return: The is_booping_enabled of this UpdateUserRequest. # noqa: E501 + :rtype: bool """ - return self._bio_links + return self._is_booping_enabled - @bio_links.setter - def bio_links(self, bio_links): - """Sets the bio_links of this UpdateUserRequest. + @is_booping_enabled.setter + def is_booping_enabled(self, is_booping_enabled): + """Sets the is_booping_enabled of this UpdateUserRequest. - :param bio_links: The bio_links of this UpdateUserRequest. # noqa: E501 - :type bio_links: list[str] + :param is_booping_enabled: The is_booping_enabled of this UpdateUserRequest. # noqa: E501 + :type is_booping_enabled: bool """ - self._bio_links = bio_links + self._is_booping_enabled = is_booping_enabled + + @property + def password(self): + """Gets the password of this UpdateUserRequest. # noqa: E501 + + MUST specify currentPassword as well to change password # noqa: E501 + + :return: The password of this UpdateUserRequest. # noqa: E501 + :rtype: str + """ + return self._password + + @password.setter + def password(self, password): + """Sets the password of this UpdateUserRequest. + + MUST specify currentPassword as well to change password # noqa: E501 + + :param password: The password of this UpdateUserRequest. # noqa: E501 + :type password: str + """ + + self._password = password @property def pronouns(self): @@ -357,164 +410,139 @@ def pronouns(self, pronouns): self._pronouns = pronouns @property - def is_booping_enabled(self): - """Gets the is_booping_enabled of this UpdateUserRequest. # noqa: E501 + def revert_display_name(self): + """Gets the revert_display_name of this UpdateUserRequest. # noqa: E501 + MUST specify currentPassword as well to revert display name # noqa: E501 - :return: The is_booping_enabled of this UpdateUserRequest. # noqa: E501 + :return: The revert_display_name of this UpdateUserRequest. # noqa: E501 :rtype: bool """ - return self._is_booping_enabled - - @is_booping_enabled.setter - def is_booping_enabled(self, is_booping_enabled): - """Sets the is_booping_enabled of this UpdateUserRequest. - - - :param is_booping_enabled: The is_booping_enabled of this UpdateUserRequest. # noqa: E501 - :type is_booping_enabled: bool - """ - - self._is_booping_enabled = is_booping_enabled - - @property - def user_icon(self): - """Gets the user_icon of this UpdateUserRequest. # noqa: E501 - - MUST be a valid VRChat /file/ url. # noqa: E501 - - :return: The user_icon of this UpdateUserRequest. # noqa: E501 - :rtype: str - """ - return self._user_icon + return self._revert_display_name - @user_icon.setter - def user_icon(self, user_icon): - """Sets the user_icon of this UpdateUserRequest. + @revert_display_name.setter + def revert_display_name(self, revert_display_name): + """Sets the revert_display_name of this UpdateUserRequest. - MUST be a valid VRChat /file/ url. # noqa: E501 + MUST specify currentPassword as well to revert display name # noqa: E501 - :param user_icon: The user_icon of this UpdateUserRequest. # noqa: E501 - :type user_icon: str + :param revert_display_name: The revert_display_name of this UpdateUserRequest. # noqa: E501 + :type revert_display_name: bool """ - if (self.local_vars_configuration.client_side_validation and - user_icon is not None and len(user_icon) < 0): - raise ValueError("Invalid value for `user_icon`, length must be greater than or equal to `0`") # noqa: E501 - self._user_icon = user_icon + self._revert_display_name = revert_display_name @property - def content_filters(self): - """Gets the content_filters of this UpdateUserRequest. # noqa: E501 + def status(self): + """Gets the status of this UpdateUserRequest. # noqa: E501 - These tags begin with `content_` and control content gating # noqa: E501 - :return: The content_filters of this UpdateUserRequest. # noqa: E501 - :rtype: list[str] + :return: The status of this UpdateUserRequest. # noqa: E501 + :rtype: UserStatus """ - return self._content_filters + return self._status - @content_filters.setter - def content_filters(self, content_filters): - """Sets the content_filters of this UpdateUserRequest. + @status.setter + def status(self, status): + """Sets the status of this UpdateUserRequest. - These tags begin with `content_` and control content gating # noqa: E501 - :param content_filters: The content_filters of this UpdateUserRequest. # noqa: E501 - :type content_filters: list[str] + :param status: The status of this UpdateUserRequest. # noqa: E501 + :type status: UserStatus """ - self._content_filters = content_filters + self._status = status @property - def display_name(self): - """Gets the display_name of this UpdateUserRequest. # noqa: E501 + def status_description(self): + """Gets the status_description of this UpdateUserRequest. # noqa: E501 - MUST specify currentPassword as well to change display name # noqa: E501 - :return: The display_name of this UpdateUserRequest. # noqa: E501 + :return: The status_description of this UpdateUserRequest. # noqa: E501 :rtype: str """ - return self._display_name + return self._status_description - @display_name.setter - def display_name(self, display_name): - """Sets the display_name of this UpdateUserRequest. + @status_description.setter + def status_description(self, status_description): + """Sets the status_description of this UpdateUserRequest. - MUST specify currentPassword as well to change display name # noqa: E501 - :param display_name: The display_name of this UpdateUserRequest. # noqa: E501 - :type display_name: str + :param status_description: The status_description of this UpdateUserRequest. # noqa: E501 + :type status_description: str """ - self._display_name = display_name + self._status_description = status_description @property - def revert_display_name(self): - """Gets the revert_display_name of this UpdateUserRequest. # noqa: E501 + def tags(self): + """Gets the tags of this UpdateUserRequest. # noqa: E501 - MUST specify currentPassword as well to revert display name # noqa: E501 + # noqa: E501 - :return: The revert_display_name of this UpdateUserRequest. # noqa: E501 - :rtype: bool + :return: The tags of this UpdateUserRequest. # noqa: E501 + :rtype: list[str] """ - return self._revert_display_name + return self._tags - @revert_display_name.setter - def revert_display_name(self, revert_display_name): - """Sets the revert_display_name of this UpdateUserRequest. + @tags.setter + def tags(self, tags): + """Sets the tags of this UpdateUserRequest. - MUST specify currentPassword as well to revert display name # noqa: E501 + # noqa: E501 - :param revert_display_name: The revert_display_name of this UpdateUserRequest. # noqa: E501 - :type revert_display_name: bool + :param tags: The tags of this UpdateUserRequest. # noqa: E501 + :type tags: list[str] """ - self._revert_display_name = revert_display_name + self._tags = tags @property - def password(self): - """Gets the password of this UpdateUserRequest. # noqa: E501 + def unsubscribe(self): + """Gets the unsubscribe of this UpdateUserRequest. # noqa: E501 - MUST specify currentPassword as well to change password # noqa: E501 - :return: The password of this UpdateUserRequest. # noqa: E501 - :rtype: str + :return: The unsubscribe of this UpdateUserRequest. # noqa: E501 + :rtype: bool """ - return self._password + return self._unsubscribe - @password.setter - def password(self, password): - """Sets the password of this UpdateUserRequest. + @unsubscribe.setter + def unsubscribe(self, unsubscribe): + """Sets the unsubscribe of this UpdateUserRequest. - MUST specify currentPassword as well to change password # noqa: E501 - :param password: The password of this UpdateUserRequest. # noqa: E501 - :type password: str + :param unsubscribe: The unsubscribe of this UpdateUserRequest. # noqa: E501 + :type unsubscribe: bool """ - self._password = password + self._unsubscribe = unsubscribe @property - def current_password(self): - """Gets the current_password of this UpdateUserRequest. # noqa: E501 + def user_icon(self): + """Gets the user_icon of this UpdateUserRequest. # noqa: E501 + MUST be a valid VRChat /file/ url. # noqa: E501 - :return: The current_password of this UpdateUserRequest. # noqa: E501 + :return: The user_icon of this UpdateUserRequest. # noqa: E501 :rtype: str """ - return self._current_password + return self._user_icon - @current_password.setter - def current_password(self, current_password): - """Sets the current_password of this UpdateUserRequest. + @user_icon.setter + def user_icon(self, user_icon): + """Sets the user_icon of this UpdateUserRequest. + MUST be a valid VRChat /file/ url. # noqa: E501 - :param current_password: The current_password of this UpdateUserRequest. # noqa: E501 - :type current_password: str + :param user_icon: The user_icon of this UpdateUserRequest. # noqa: E501 + :type user_icon: str """ + if (self.local_vars_configuration.client_side_validation and + user_icon is not None and len(user_icon) < 0): + raise ValueError("Invalid value for `user_icon`, length must be greater than or equal to `0`") # noqa: E501 - self._current_password = current_password + self._user_icon = user_icon def to_dict(self, serialize=False): """Returns the model properties as a dict""" diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index 41776eea..7063c5c3 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -310,7 +310,7 @@ def name(self, name): def platform(self): """Gets the platform of this UpdateWorldRequest. # noqa: E501 - This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 :return: The platform of this UpdateWorldRequest. # noqa: E501 :rtype: str @@ -321,7 +321,7 @@ def platform(self): def platform(self, platform): """Sets the platform of this UpdateWorldRequest. - This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 :param platform: The platform of this UpdateWorldRequest. # noqa: E501 :type platform: str diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index 131f0f07..8880c8e6 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -43,8 +43,8 @@ class User(object): 'bio': 'str', 'bio_links': 'list[str]', 'current_avatar_image_url': 'str', - 'current_avatar_thumbnail_image_url': 'str', 'current_avatar_tags': 'list[str]', + 'current_avatar_thumbnail_image_url': 'str', 'date_joined': 'date', 'developer_type': 'DeveloperType', 'display_name': 'str', @@ -83,8 +83,8 @@ class User(object): 'bio': 'bio', 'bio_links': 'bioLinks', 'current_avatar_image_url': 'currentAvatarImageUrl', - 'current_avatar_thumbnail_image_url': 'currentAvatarThumbnailImageUrl', 'current_avatar_tags': 'currentAvatarTags', + 'current_avatar_thumbnail_image_url': 'currentAvatarThumbnailImageUrl', 'date_joined': 'date_joined', 'developer_type': 'developerType', 'display_name': 'displayName', @@ -115,7 +115,7 @@ class User(object): 'world_id': 'worldId' } - def __init__(self, age_verification_status=None, age_verified=None, allow_avatar_copying=True, badges=None, bio=None, bio_links=None, current_avatar_image_url=None, current_avatar_thumbnail_image_url=None, current_avatar_tags=None, date_joined=None, developer_type=None, display_name=None, friend_key=None, friend_request_status=None, id=None, instance_id=None, is_friend=None, last_activity=None, last_login=None, last_mobile=None, last_platform=None, location=None, note=None, platform=None, profile_pic_override=None, profile_pic_override_thumbnail=None, pronouns=None, state=None, status=None, status_description=None, tags=None, traveling_to_instance=None, traveling_to_location=None, traveling_to_world=None, user_icon=None, username=None, world_id=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, age_verification_status=None, age_verified=None, allow_avatar_copying=True, badges=None, bio=None, bio_links=None, current_avatar_image_url=None, current_avatar_tags=None, current_avatar_thumbnail_image_url=None, date_joined=None, developer_type=None, display_name=None, friend_key=None, friend_request_status=None, id=None, instance_id=None, is_friend=None, last_activity=None, last_login=None, last_mobile=None, last_platform=None, location=None, note=None, platform=None, profile_pic_override=None, profile_pic_override_thumbnail=None, pronouns=None, state=None, status=None, status_description=None, tags=None, traveling_to_instance=None, traveling_to_location=None, traveling_to_world=None, user_icon=None, username=None, world_id=None, local_vars_configuration=None): # noqa: E501 """User - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -128,8 +128,8 @@ def __init__(self, age_verification_status=None, age_verified=None, allow_avatar self._bio = None self._bio_links = None self._current_avatar_image_url = None - self._current_avatar_thumbnail_image_url = None self._current_avatar_tags = None + self._current_avatar_thumbnail_image_url = None self._date_joined = None self._developer_type = None self._display_name = None @@ -168,8 +168,8 @@ def __init__(self, age_verification_status=None, age_verified=None, allow_avatar self.bio = bio self.bio_links = bio_links self.current_avatar_image_url = current_avatar_image_url - self.current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url self.current_avatar_tags = current_avatar_tags + self.current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url self.date_joined = date_joined self.developer_type = developer_type self.display_name = display_name @@ -380,6 +380,29 @@ def current_avatar_image_url(self, current_avatar_image_url): self._current_avatar_image_url = current_avatar_image_url + @property + def current_avatar_tags(self): + """Gets the current_avatar_tags of this User. # noqa: E501 + + + :return: The current_avatar_tags of this User. # noqa: E501 + :rtype: list[str] + """ + return self._current_avatar_tags + + @current_avatar_tags.setter + def current_avatar_tags(self, current_avatar_tags): + """Sets the current_avatar_tags of this User. + + + :param current_avatar_tags: The current_avatar_tags of this User. # noqa: E501 + :type current_avatar_tags: list[str] + """ + if self.local_vars_configuration.client_side_validation and current_avatar_tags is None: # noqa: E501 + raise ValueError("Invalid value for `current_avatar_tags`, must not be `None`") # noqa: E501 + + self._current_avatar_tags = current_avatar_tags + @property def current_avatar_thumbnail_image_url(self): """Gets the current_avatar_thumbnail_image_url of this User. # noqa: E501 @@ -405,29 +428,6 @@ def current_avatar_thumbnail_image_url(self, current_avatar_thumbnail_image_url) self._current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url - @property - def current_avatar_tags(self): - """Gets the current_avatar_tags of this User. # noqa: E501 - - - :return: The current_avatar_tags of this User. # noqa: E501 - :rtype: list[str] - """ - return self._current_avatar_tags - - @current_avatar_tags.setter - def current_avatar_tags(self, current_avatar_tags): - """Sets the current_avatar_tags of this User. - - - :param current_avatar_tags: The current_avatar_tags of this User. # noqa: E501 - :type current_avatar_tags: list[str] - """ - if self.local_vars_configuration.client_side_validation and current_avatar_tags is None: # noqa: E501 - raise ValueError("Invalid value for `current_avatar_tags`, must not be `None`") # noqa: E501 - - self._current_avatar_tags = current_avatar_tags - @property def date_joined(self): """Gets the date_joined of this User. # noqa: E501 @@ -691,7 +691,7 @@ def last_mobile(self, last_mobile): def last_platform(self): """Gets the last_platform of this User. # noqa: E501 - This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 :return: The last_platform of this User. # noqa: E501 :rtype: str @@ -702,7 +702,7 @@ def last_platform(self): def last_platform(self, last_platform): """Sets the last_platform of this User. - This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 + This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. # noqa: E501 :param last_platform: The last_platform of this User. # noqa: E501 :type last_platform: str diff --git a/vrchatapi/models/create_permission_request.py b/vrchatapi/models/user_credits_eligible.py similarity index 58% rename from vrchatapi/models/create_permission_request.py rename to vrchatapi/models/user_credits_eligible.py index 59cf46ee..e951662f 100644 --- a/vrchatapi/models/create_permission_request.py +++ b/vrchatapi/models/user_credits_eligible.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -21,7 +21,7 @@ from vrchatapi.configuration import Configuration -class CreatePermissionRequest(object): +class UserCreditsEligible(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -36,74 +36,72 @@ class CreatePermissionRequest(object): and the value is json key in definition. """ openapi_types = { - 'name': 'str', - 'owner_id': 'str' + 'eligible': 'bool', + 'reason': 'str' } attribute_map = { - 'name': 'name', - 'owner_id': 'ownerId' + 'eligible': 'eligible', + 'reason': 'reason' } - def __init__(self, name=None, owner_id=None, local_vars_configuration=None): # noqa: E501 - """CreatePermissionRequest - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, eligible=None, reason=None, local_vars_configuration=None): # noqa: E501 + """UserCreditsEligible - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._name = None - self._owner_id = None + self._eligible = None + self._reason = None self.discriminator = None - self.name = name - if owner_id is not None: - self.owner_id = owner_id + self.eligible = eligible + if reason is not None: + self.reason = reason @property - def name(self): - """Gets the name of this CreatePermissionRequest. # noqa: E501 + def eligible(self): + """Gets the eligible of this UserCreditsEligible. # noqa: E501 - :return: The name of this CreatePermissionRequest. # noqa: E501 - :rtype: str + :return: The eligible of this UserCreditsEligible. # noqa: E501 + :rtype: bool """ - return self._name + return self._eligible - @name.setter - def name(self, name): - """Sets the name of this CreatePermissionRequest. + @eligible.setter + def eligible(self, eligible): + """Sets the eligible of this UserCreditsEligible. - :param name: The name of this CreatePermissionRequest. # noqa: E501 - :type name: str + :param eligible: The eligible of this UserCreditsEligible. # noqa: E501 + :type eligible: bool """ - if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 - raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and eligible is None: # noqa: E501 + raise ValueError("Invalid value for `eligible`, must not be `None`") # noqa: E501 - self._name = name + self._eligible = eligible @property - def owner_id(self): - """Gets the owner_id of this CreatePermissionRequest. # noqa: E501 + def reason(self): + """Gets the reason of this UserCreditsEligible. # noqa: E501 - A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :return: The owner_id of this CreatePermissionRequest. # noqa: E501 + :return: The reason of this UserCreditsEligible. # noqa: E501 :rtype: str """ - return self._owner_id + return self._reason - @owner_id.setter - def owner_id(self, owner_id): - """Sets the owner_id of this CreatePermissionRequest. + @reason.setter + def reason(self, reason): + """Sets the reason of this UserCreditsEligible. - A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :param owner_id: The owner_id of this CreatePermissionRequest. # noqa: E501 - :type owner_id: str + :param reason: The reason of this UserCreditsEligible. # noqa: E501 + :type reason: str """ - self._owner_id = owner_id + self._reason = reason def to_dict(self, serialize=False): """Returns the model properties as a dict""" @@ -147,14 +145,14 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, CreatePermissionRequest): + if not isinstance(other, UserCreditsEligible): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, CreatePermissionRequest): + if not isinstance(other, UserCreditsEligible): return True return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index 1a94a0f3..6cf2cc95 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,28 +36,51 @@ class UserExists(object): and the value is json key in definition. """ openapi_types = { - 'user_exists': 'bool', - 'name_ok': 'bool' + 'name_ok': 'bool', + 'user_exists': 'bool' } attribute_map = { - 'user_exists': 'userExists', - 'name_ok': 'nameOk' + 'name_ok': 'nameOk', + 'user_exists': 'userExists' } - def __init__(self, user_exists=False, name_ok=False, local_vars_configuration=None): # noqa: E501 + def __init__(self, name_ok=False, user_exists=False, local_vars_configuration=None): # noqa: E501 """UserExists - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._user_exists = None self._name_ok = None + self._user_exists = None self.discriminator = None - self.user_exists = user_exists if name_ok is not None: self.name_ok = name_ok + self.user_exists = user_exists + + @property + def name_ok(self): + """Gets the name_ok of this UserExists. # noqa: E501 + + Is the username valid? # noqa: E501 + + :return: The name_ok of this UserExists. # noqa: E501 + :rtype: bool + """ + return self._name_ok + + @name_ok.setter + def name_ok(self, name_ok): + """Sets the name_ok of this UserExists. + + Is the username valid? # noqa: E501 + + :param name_ok: The name_ok of this UserExists. # noqa: E501 + :type name_ok: bool + """ + + self._name_ok = name_ok @property def user_exists(self): @@ -84,29 +107,6 @@ def user_exists(self, user_exists): self._user_exists = user_exists - @property - def name_ok(self): - """Gets the name_ok of this UserExists. # noqa: E501 - - Is the username valid? # noqa: E501 - - :return: The name_ok of this UserExists. # noqa: E501 - :rtype: bool - """ - return self._name_ok - - @name_ok.setter - def name_ok(self, name_ok): - """Sets the name_ok of this UserExists. - - Is the username valid? # noqa: E501 - - :param name_ok: The name_ok of this UserExists. # noqa: E501 - :type name_ok: bool - """ - - self._name_ok = name_ok - def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/user_note.py b/vrchatapi/models/user_note.py index 5a249786..6a87f3a5 100644 --- a/vrchatapi/models/user_note.py +++ b/vrchatapi/models/user_note.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_note_target_user.py b/vrchatapi/models/user_note_target_user.py index 76d240f8..8408292e 100644 --- a/vrchatapi/models/user_note_target_user.py +++ b/vrchatapi/models/user_note_target_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,49 +36,70 @@ class UserNoteTargetUser(object): and the value is json key in definition. """ openapi_types = { + 'id': 'str', 'current_avatar_tags': 'list[str]', 'current_avatar_thumbnail_image_url': 'str', 'display_name': 'str', - 'id': 'str', 'profile_pic_override': 'str', 'user_icon': 'str' } attribute_map = { + 'id': 'id', 'current_avatar_tags': 'currentAvatarTags', 'current_avatar_thumbnail_image_url': 'currentAvatarThumbnailImageUrl', 'display_name': 'displayName', - 'id': 'id', 'profile_pic_override': 'profilePicOverride', 'user_icon': 'userIcon' } - def __init__(self, current_avatar_tags=None, current_avatar_thumbnail_image_url=None, display_name=None, id=None, profile_pic_override=None, user_icon=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, id=None, current_avatar_tags=None, current_avatar_thumbnail_image_url=None, display_name=None, profile_pic_override=None, user_icon=None, local_vars_configuration=None): # noqa: E501 """UserNoteTargetUser - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration + self._id = None self._current_avatar_tags = None self._current_avatar_thumbnail_image_url = None self._display_name = None - self._id = None self._profile_pic_override = None self._user_icon = None self.discriminator = None + if id is not None: + self.id = id if current_avatar_tags is not None: self.current_avatar_tags = current_avatar_tags if current_avatar_thumbnail_image_url is not None: self.current_avatar_thumbnail_image_url = current_avatar_thumbnail_image_url if display_name is not None: self.display_name = display_name - if id is not None: - self.id = id self.profile_pic_override = profile_pic_override if user_icon is not None: self.user_icon = user_icon + @property + def id(self): + """Gets the id of this UserNoteTargetUser. # noqa: E501 + + + :return: The id of this UserNoteTargetUser. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this UserNoteTargetUser. + + + :param id: The id of this UserNoteTargetUser. # noqa: E501 + :type id: str + """ + + self._id = id + @property def current_avatar_tags(self): """Gets the current_avatar_tags of this UserNoteTargetUser. # noqa: E501 @@ -144,27 +165,6 @@ def display_name(self, display_name): self._display_name = display_name - @property - def id(self): - """Gets the id of this UserNoteTargetUser. # noqa: E501 - - - :return: The id of this UserNoteTargetUser. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this UserNoteTargetUser. - - - :param id: The id of this UserNoteTargetUser. # noqa: E501 - :type id: str - """ - - self._id = id - @property def profile_pic_override(self): """Gets the profile_pic_override of this UserNoteTargetUser. # noqa: E501 diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index f9ee15bc..dfba82c7 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -31,11 +31,11 @@ class UserState(object): """ allowed enum values """ - OFFLINE = "offline" ACTIVE = "active" + OFFLINE = "offline" ONLINE = "online" - allowable_values = [OFFLINE, ACTIVE, ONLINE] # noqa: E501 + allowable_values = [ACTIVE, OFFLINE, ONLINE] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index 5b00adf7..a0408939 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -32,12 +32,12 @@ class UserStatus(object): allowed enum values """ ACTIVE = "active" - JOIN_ME = "join me" ASK_ME = "ask me" BUSY = "busy" + JOIN_ME = "join me" OFFLINE = "offline" - allowable_values = [ACTIVE, JOIN_ME, ASK_ME, BUSY, OFFLINE] # noqa: E501 + allowable_values = [ACTIVE, ASK_ME, BUSY, JOIN_ME, OFFLINE] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index b6990fd8..8ff7d9c8 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,236 +36,299 @@ class UserSubscription(object): and the value is json key in definition. """ openapi_types = { - 'id': 'str', - 'transaction_id': 'str', - 'store': 'str', - 'steam_item_id': 'str', + 'active': 'bool', 'amount': 'float', + 'created_at': 'datetime', 'description': 'str', - 'period': 'SubscriptionPeriod', - 'tier': 'int', - 'active': 'bool', - 'status': 'TransactionStatus', - 'starts': 'str', 'expires': 'datetime', - 'created_at': 'datetime', - 'updated_at': 'datetime', - 'license_groups': 'list[str]', + 'id': 'str', + 'is_bulk_gift': 'bool', 'is_gift': 'bool', - 'is_bulk_gift': 'bool' + 'license_groups': 'list[str]', + 'period': 'SubscriptionPeriod', + 'starts': 'str', + 'status': 'TransactionStatus', + 'steam_item_id': 'str', + 'store': 'str', + 'tier': 'int', + 'transaction_id': 'str', + 'updated_at': 'datetime' } attribute_map = { - 'id': 'id', - 'transaction_id': 'transactionId', - 'store': 'store', - 'steam_item_id': 'steamItemId', + 'active': 'active', 'amount': 'amount', + 'created_at': 'created_at', 'description': 'description', - 'period': 'period', - 'tier': 'tier', - 'active': 'active', - 'status': 'status', - 'starts': 'starts', 'expires': 'expires', - 'created_at': 'created_at', - 'updated_at': 'updated_at', - 'license_groups': 'licenseGroups', + 'id': 'id', + 'is_bulk_gift': 'isBulkGift', 'is_gift': 'isGift', - 'is_bulk_gift': 'isBulkGift' + 'license_groups': 'licenseGroups', + 'period': 'period', + 'starts': 'starts', + 'status': 'status', + 'steam_item_id': 'steamItemId', + 'store': 'store', + 'tier': 'tier', + 'transaction_id': 'transactionId', + 'updated_at': 'updated_at' } - def __init__(self, id=None, transaction_id=None, store=None, steam_item_id=None, amount=None, description=None, period=None, tier=None, active=True, status=None, starts=None, expires=None, created_at=None, updated_at=None, license_groups=None, is_gift=False, is_bulk_gift=False, local_vars_configuration=None): # noqa: E501 + def __init__(self, active=True, amount=None, created_at=None, description=None, expires=None, id=None, is_bulk_gift=False, is_gift=False, license_groups=None, period=None, starts=None, status=None, steam_item_id=None, store=None, tier=None, transaction_id=None, updated_at=None, local_vars_configuration=None): # noqa: E501 """UserSubscription - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._id = None - self._transaction_id = None - self._store = None - self._steam_item_id = None + self._active = None self._amount = None + self._created_at = None self._description = None + self._expires = None + self._id = None + self._is_bulk_gift = None + self._is_gift = None + self._license_groups = None self._period = None - self._tier = None - self._active = None - self._status = None self._starts = None - self._expires = None - self._created_at = None + self._status = None + self._steam_item_id = None + self._store = None + self._tier = None + self._transaction_id = None self._updated_at = None - self._license_groups = None - self._is_gift = None - self._is_bulk_gift = None self.discriminator = None - self.id = id - self.transaction_id = transaction_id - self.store = store - if steam_item_id is not None: - self.steam_item_id = steam_item_id + self.active = active self.amount = amount + self.created_at = created_at self.description = description + self.expires = expires + self.id = id + self.is_bulk_gift = is_bulk_gift + self.is_gift = is_gift + self.license_groups = license_groups self.period = period - self.tier = tier - self.active = active - self.status = status if starts is not None: self.starts = starts - self.expires = expires - self.created_at = created_at + self.status = status + if steam_item_id is not None: + self.steam_item_id = steam_item_id + self.store = store + self.tier = tier + self.transaction_id = transaction_id self.updated_at = updated_at - self.license_groups = license_groups - self.is_gift = is_gift - self.is_bulk_gift = is_bulk_gift @property - def id(self): - """Gets the id of this UserSubscription. # noqa: E501 + def active(self): + """Gets the active of this UserSubscription. # noqa: E501 - :return: The id of this UserSubscription. # noqa: E501 - :rtype: str + :return: The active of this UserSubscription. # noqa: E501 + :rtype: bool """ - return self._id + return self._active - @id.setter - def id(self, id): - """Sets the id of this UserSubscription. + @active.setter + def active(self, active): + """Sets the active of this UserSubscription. - :param id: The id of this UserSubscription. # noqa: E501 - :type id: str + :param active: The active of this UserSubscription. # noqa: E501 + :type active: bool """ - if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - id is not None and len(id) < 1): - raise ValueError("Invalid value for `id`, length must be greater than or equal to `1`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and active is None: # noqa: E501 + raise ValueError("Invalid value for `active`, must not be `None`") # noqa: E501 - self._id = id + self._active = active @property - def transaction_id(self): - """Gets the transaction_id of this UserSubscription. # noqa: E501 + def amount(self): + """Gets the amount of this UserSubscription. # noqa: E501 - :return: The transaction_id of this UserSubscription. # noqa: E501 - :rtype: str + :return: The amount of this UserSubscription. # noqa: E501 + :rtype: float """ - return self._transaction_id + return self._amount - @transaction_id.setter - def transaction_id(self, transaction_id): - """Sets the transaction_id of this UserSubscription. + @amount.setter + def amount(self, amount): + """Sets the amount of this UserSubscription. - :param transaction_id: The transaction_id of this UserSubscription. # noqa: E501 - :type transaction_id: str + :param amount: The amount of this UserSubscription. # noqa: E501 + :type amount: float """ - if self.local_vars_configuration.client_side_validation and transaction_id is None: # noqa: E501 - raise ValueError("Invalid value for `transaction_id`, must not be `None`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and amount is None: # noqa: E501 + raise ValueError("Invalid value for `amount`, must not be `None`") # noqa: E501 - self._transaction_id = transaction_id + self._amount = amount @property - def store(self): - """Gets the store of this UserSubscription. # noqa: E501 + def created_at(self): + """Gets the created_at of this UserSubscription. # noqa: E501 - Which \"Store\" it came from. Right now only Stores are \"Steam\" and \"Admin\". # noqa: E501 - :return: The store of this UserSubscription. # noqa: E501 + :return: The created_at of this UserSubscription. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this UserSubscription. + + + :param created_at: The created_at of this UserSubscription. # noqa: E501 + :type created_at: datetime + """ + if self.local_vars_configuration.client_side_validation and created_at is None: # noqa: E501 + raise ValueError("Invalid value for `created_at`, must not be `None`") # noqa: E501 + + self._created_at = created_at + + @property + def description(self): + """Gets the description of this UserSubscription. # noqa: E501 + + + :return: The description of this UserSubscription. # noqa: E501 :rtype: str """ - return self._store + return self._description - @store.setter - def store(self, store): - """Sets the store of this UserSubscription. + @description.setter + def description(self, description): + """Sets the description of this UserSubscription. - Which \"Store\" it came from. Right now only Stores are \"Steam\" and \"Admin\". # noqa: E501 - :param store: The store of this UserSubscription. # noqa: E501 - :type store: str + :param description: The description of this UserSubscription. # noqa: E501 + :type description: str """ - if self.local_vars_configuration.client_side_validation and store is None: # noqa: E501 - raise ValueError("Invalid value for `store`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - store is not None and len(store) < 1): - raise ValueError("Invalid value for `store`, length must be greater than or equal to `1`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and description is None: # noqa: E501 + raise ValueError("Invalid value for `description`, must not be `None`") # noqa: E501 - self._store = store + self._description = description @property - def steam_item_id(self): - """Gets the steam_item_id of this UserSubscription. # noqa: E501 + def expires(self): + """Gets the expires of this UserSubscription. # noqa: E501 - :return: The steam_item_id of this UserSubscription. # noqa: E501 + :return: The expires of this UserSubscription. # noqa: E501 + :rtype: datetime + """ + return self._expires + + @expires.setter + def expires(self, expires): + """Sets the expires of this UserSubscription. + + + :param expires: The expires of this UserSubscription. # noqa: E501 + :type expires: datetime + """ + if self.local_vars_configuration.client_side_validation and expires is None: # noqa: E501 + raise ValueError("Invalid value for `expires`, must not be `None`") # noqa: E501 + + self._expires = expires + + @property + def id(self): + """Gets the id of this UserSubscription. # noqa: E501 + + + :return: The id of this UserSubscription. # noqa: E501 :rtype: str """ - return self._steam_item_id + return self._id - @steam_item_id.setter - def steam_item_id(self, steam_item_id): - """Sets the steam_item_id of this UserSubscription. + @id.setter + def id(self, id): + """Sets the id of this UserSubscription. - :param steam_item_id: The steam_item_id of this UserSubscription. # noqa: E501 - :type steam_item_id: str + :param id: The id of this UserSubscription. # noqa: E501 + :type id: str """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 if (self.local_vars_configuration.client_side_validation and - steam_item_id is not None and len(steam_item_id) < 1): - raise ValueError("Invalid value for `steam_item_id`, length must be greater than or equal to `1`") # noqa: E501 + id is not None and len(id) < 1): + raise ValueError("Invalid value for `id`, length must be greater than or equal to `1`") # noqa: E501 - self._steam_item_id = steam_item_id + self._id = id @property - def amount(self): - """Gets the amount of this UserSubscription. # noqa: E501 + def is_bulk_gift(self): + """Gets the is_bulk_gift of this UserSubscription. # noqa: E501 - :return: The amount of this UserSubscription. # noqa: E501 - :rtype: float + :return: The is_bulk_gift of this UserSubscription. # noqa: E501 + :rtype: bool """ - return self._amount + return self._is_bulk_gift - @amount.setter - def amount(self, amount): - """Sets the amount of this UserSubscription. + @is_bulk_gift.setter + def is_bulk_gift(self, is_bulk_gift): + """Sets the is_bulk_gift of this UserSubscription. + + + :param is_bulk_gift: The is_bulk_gift of this UserSubscription. # noqa: E501 + :type is_bulk_gift: bool + """ + if self.local_vars_configuration.client_side_validation and is_bulk_gift is None: # noqa: E501 + raise ValueError("Invalid value for `is_bulk_gift`, must not be `None`") # noqa: E501 + + self._is_bulk_gift = is_bulk_gift + + @property + def is_gift(self): + """Gets the is_gift of this UserSubscription. # noqa: E501 + + + :return: The is_gift of this UserSubscription. # noqa: E501 + :rtype: bool + """ + return self._is_gift + + @is_gift.setter + def is_gift(self, is_gift): + """Sets the is_gift of this UserSubscription. - :param amount: The amount of this UserSubscription. # noqa: E501 - :type amount: float + :param is_gift: The is_gift of this UserSubscription. # noqa: E501 + :type is_gift: bool """ - if self.local_vars_configuration.client_side_validation and amount is None: # noqa: E501 - raise ValueError("Invalid value for `amount`, must not be `None`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and is_gift is None: # noqa: E501 + raise ValueError("Invalid value for `is_gift`, must not be `None`") # noqa: E501 - self._amount = amount + self._is_gift = is_gift @property - def description(self): - """Gets the description of this UserSubscription. # noqa: E501 + def license_groups(self): + """Gets the license_groups of this UserSubscription. # noqa: E501 - :return: The description of this UserSubscription. # noqa: E501 - :rtype: str + :return: The license_groups of this UserSubscription. # noqa: E501 + :rtype: list[str] """ - return self._description + return self._license_groups - @description.setter - def description(self, description): - """Sets the description of this UserSubscription. + @license_groups.setter + def license_groups(self, license_groups): + """Sets the license_groups of this UserSubscription. - :param description: The description of this UserSubscription. # noqa: E501 - :type description: str + :param license_groups: The license_groups of this UserSubscription. # noqa: E501 + :type license_groups: list[str] """ - if self.local_vars_configuration.client_side_validation and description is None: # noqa: E501 - raise ValueError("Invalid value for `description`, must not be `None`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and license_groups is None: # noqa: E501 + raise ValueError("Invalid value for `license_groups`, must not be `None`") # noqa: E501 - self._description = description + self._license_groups = license_groups @property def period(self): @@ -291,50 +354,25 @@ def period(self, period): self._period = period @property - def tier(self): - """Gets the tier of this UserSubscription. # noqa: E501 - - - :return: The tier of this UserSubscription. # noqa: E501 - :rtype: int - """ - return self._tier - - @tier.setter - def tier(self, tier): - """Sets the tier of this UserSubscription. - - - :param tier: The tier of this UserSubscription. # noqa: E501 - :type tier: int - """ - if self.local_vars_configuration.client_side_validation and tier is None: # noqa: E501 - raise ValueError("Invalid value for `tier`, must not be `None`") # noqa: E501 - - self._tier = tier - - @property - def active(self): - """Gets the active of this UserSubscription. # noqa: E501 + def starts(self): + """Gets the starts of this UserSubscription. # noqa: E501 - :return: The active of this UserSubscription. # noqa: E501 - :rtype: bool + :return: The starts of this UserSubscription. # noqa: E501 + :rtype: str """ - return self._active + return self._starts - @active.setter - def active(self, active): - """Sets the active of this UserSubscription. + @starts.setter + def starts(self, starts): + """Sets the starts of this UserSubscription. - :param active: The active of this UserSubscription. # noqa: E501 - :type active: bool + :param starts: The starts of this UserSubscription. # noqa: E501 + :type starts: str """ - if self.local_vars_configuration.client_side_validation and active is None: # noqa: E501 - raise ValueError("Invalid value for `active`, must not be `None`") # noqa: E501 - self._active = active + self._starts = starts @property def status(self): @@ -360,71 +398,102 @@ def status(self, status): self._status = status @property - def starts(self): - """Gets the starts of this UserSubscription. # noqa: E501 + def steam_item_id(self): + """Gets the steam_item_id of this UserSubscription. # noqa: E501 - :return: The starts of this UserSubscription. # noqa: E501 + :return: The steam_item_id of this UserSubscription. # noqa: E501 :rtype: str """ - return self._starts + return self._steam_item_id - @starts.setter - def starts(self, starts): - """Sets the starts of this UserSubscription. + @steam_item_id.setter + def steam_item_id(self, steam_item_id): + """Sets the steam_item_id of this UserSubscription. - :param starts: The starts of this UserSubscription. # noqa: E501 - :type starts: str + :param steam_item_id: The steam_item_id of this UserSubscription. # noqa: E501 + :type steam_item_id: str """ + if (self.local_vars_configuration.client_side_validation and + steam_item_id is not None and len(steam_item_id) < 1): + raise ValueError("Invalid value for `steam_item_id`, length must be greater than or equal to `1`") # noqa: E501 - self._starts = starts + self._steam_item_id = steam_item_id @property - def expires(self): - """Gets the expires of this UserSubscription. # noqa: E501 + def store(self): + """Gets the store of this UserSubscription. # noqa: E501 + Which \"Store\" it came from. Right now only Stores are \"Steam\" and \"Admin\". # noqa: E501 - :return: The expires of this UserSubscription. # noqa: E501 - :rtype: datetime + :return: The store of this UserSubscription. # noqa: E501 + :rtype: str """ - return self._expires + return self._store - @expires.setter - def expires(self, expires): - """Sets the expires of this UserSubscription. + @store.setter + def store(self, store): + """Sets the store of this UserSubscription. + Which \"Store\" it came from. Right now only Stores are \"Steam\" and \"Admin\". # noqa: E501 - :param expires: The expires of this UserSubscription. # noqa: E501 - :type expires: datetime + :param store: The store of this UserSubscription. # noqa: E501 + :type store: str """ - if self.local_vars_configuration.client_side_validation and expires is None: # noqa: E501 - raise ValueError("Invalid value for `expires`, must not be `None`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and store is None: # noqa: E501 + raise ValueError("Invalid value for `store`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + store is not None and len(store) < 1): + raise ValueError("Invalid value for `store`, length must be greater than or equal to `1`") # noqa: E501 - self._expires = expires + self._store = store @property - def created_at(self): - """Gets the created_at of this UserSubscription. # noqa: E501 + def tier(self): + """Gets the tier of this UserSubscription. # noqa: E501 - :return: The created_at of this UserSubscription. # noqa: E501 - :rtype: datetime + :return: The tier of this UserSubscription. # noqa: E501 + :rtype: int """ - return self._created_at + return self._tier - @created_at.setter - def created_at(self, created_at): - """Sets the created_at of this UserSubscription. + @tier.setter + def tier(self, tier): + """Sets the tier of this UserSubscription. - :param created_at: The created_at of this UserSubscription. # noqa: E501 - :type created_at: datetime + :param tier: The tier of this UserSubscription. # noqa: E501 + :type tier: int """ - if self.local_vars_configuration.client_side_validation and created_at is None: # noqa: E501 - raise ValueError("Invalid value for `created_at`, must not be `None`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and tier is None: # noqa: E501 + raise ValueError("Invalid value for `tier`, must not be `None`") # noqa: E501 - self._created_at = created_at + self._tier = tier + + @property + def transaction_id(self): + """Gets the transaction_id of this UserSubscription. # noqa: E501 + + + :return: The transaction_id of this UserSubscription. # noqa: E501 + :rtype: str + """ + return self._transaction_id + + @transaction_id.setter + def transaction_id(self, transaction_id): + """Sets the transaction_id of this UserSubscription. + + + :param transaction_id: The transaction_id of this UserSubscription. # noqa: E501 + :type transaction_id: str + """ + if self.local_vars_configuration.client_side_validation and transaction_id is None: # noqa: E501 + raise ValueError("Invalid value for `transaction_id`, must not be `None`") # noqa: E501 + + self._transaction_id = transaction_id @property def updated_at(self): @@ -449,75 +518,6 @@ def updated_at(self, updated_at): self._updated_at = updated_at - @property - def license_groups(self): - """Gets the license_groups of this UserSubscription. # noqa: E501 - - - :return: The license_groups of this UserSubscription. # noqa: E501 - :rtype: list[str] - """ - return self._license_groups - - @license_groups.setter - def license_groups(self, license_groups): - """Sets the license_groups of this UserSubscription. - - - :param license_groups: The license_groups of this UserSubscription. # noqa: E501 - :type license_groups: list[str] - """ - if self.local_vars_configuration.client_side_validation and license_groups is None: # noqa: E501 - raise ValueError("Invalid value for `license_groups`, must not be `None`") # noqa: E501 - - self._license_groups = license_groups - - @property - def is_gift(self): - """Gets the is_gift of this UserSubscription. # noqa: E501 - - - :return: The is_gift of this UserSubscription. # noqa: E501 - :rtype: bool - """ - return self._is_gift - - @is_gift.setter - def is_gift(self, is_gift): - """Sets the is_gift of this UserSubscription. - - - :param is_gift: The is_gift of this UserSubscription. # noqa: E501 - :type is_gift: bool - """ - if self.local_vars_configuration.client_side_validation and is_gift is None: # noqa: E501 - raise ValueError("Invalid value for `is_gift`, must not be `None`") # noqa: E501 - - self._is_gift = is_gift - - @property - def is_bulk_gift(self): - """Gets the is_bulk_gift of this UserSubscription. # noqa: E501 - - - :return: The is_bulk_gift of this UserSubscription. # noqa: E501 - :rtype: bool - """ - return self._is_bulk_gift - - @is_bulk_gift.setter - def is_bulk_gift(self, is_bulk_gift): - """Sets the is_bulk_gift of this UserSubscription. - - - :param is_bulk_gift: The is_bulk_gift of this UserSubscription. # noqa: E501 - :type is_bulk_gift: bool - """ - if self.local_vars_configuration.client_side_validation and is_bulk_gift is None: # noqa: E501 - raise ValueError("Invalid value for `is_bulk_gift`, must not be `None`") # noqa: E501 - - self._is_bulk_gift = is_bulk_gift - def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/user_subscription_eligible.py b/vrchatapi/models/user_subscription_eligible.py index 60e9434c..6fb39be8 100644 --- a/vrchatapi/models/user_subscription_eligible.py +++ b/vrchatapi/models/user_subscription_eligible.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_email_code_result.py b/vrchatapi/models/verify2_fa_email_code_result.py index c201ab6a..9236e56b 100644 --- a/vrchatapi/models/verify2_fa_email_code_result.py +++ b/vrchatapi/models/verify2_fa_email_code_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index 6b367c73..325f6fd9 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -36,28 +36,49 @@ class Verify2FAResult(object): and the value is json key in definition. """ openapi_types = { - 'verified': 'bool', - 'enabled': 'bool' + 'enabled': 'bool', + 'verified': 'bool' } attribute_map = { - 'verified': 'verified', - 'enabled': 'enabled' + 'enabled': 'enabled', + 'verified': 'verified' } - def __init__(self, verified=None, enabled=True, local_vars_configuration=None): # noqa: E501 + def __init__(self, enabled=True, verified=None, local_vars_configuration=None): # noqa: E501 """Verify2FAResult - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration - self._verified = None self._enabled = None + self._verified = None self.discriminator = None - self.verified = verified if enabled is not None: self.enabled = enabled + self.verified = verified + + @property + def enabled(self): + """Gets the enabled of this Verify2FAResult. # noqa: E501 + + + :return: The enabled of this Verify2FAResult. # noqa: E501 + :rtype: bool + """ + return self._enabled + + @enabled.setter + def enabled(self, enabled): + """Sets the enabled of this Verify2FAResult. + + + :param enabled: The enabled of this Verify2FAResult. # noqa: E501 + :type enabled: bool + """ + + self._enabled = enabled @property def verified(self): @@ -82,27 +103,6 @@ def verified(self, verified): self._verified = verified - @property - def enabled(self): - """Gets the enabled of this Verify2FAResult. # noqa: E501 - - - :return: The enabled of this Verify2FAResult. # noqa: E501 - :rtype: bool - """ - return self._enabled - - @enabled.setter - def enabled(self, enabled): - """Sets the enabled of this Verify2FAResult. - - - :param enabled: The enabled of this Verify2FAResult. # noqa: E501 - :type enabled: bool - """ - - self._enabled = enabled - def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index 56eb5573..f3f6b601 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index 3845333b..e37a471d 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -39,7 +39,6 @@ class World(object): 'author_id': 'str', 'author_name': 'str', 'capacity': 'int', - 'recommended_capacity': 'int', 'created_at': 'datetime', 'default_content_settings': 'InstanceContentSettings', 'description': 'str', @@ -59,23 +58,23 @@ class World(object): 'private_occupants': 'int', 'public_occupants': 'int', 'publication_date': 'str', + 'recommended_capacity': 'int', 'release_status': 'ReleaseStatus', 'store_id': 'str', 'tags': 'list[str]', 'thumbnail_image_url': 'str', + 'udon_products': 'list[str]', 'unity_packages': 'list[UnityPackage]', 'updated_at': 'datetime', 'url_list': 'list[str]', 'version': 'int', - 'visits': 'int', - 'udon_products': 'list[str]' + 'visits': 'int' } attribute_map = { 'author_id': 'authorId', 'author_name': 'authorName', 'capacity': 'capacity', - 'recommended_capacity': 'recommendedCapacity', 'created_at': 'created_at', 'default_content_settings': 'defaultContentSettings', 'description': 'description', @@ -95,19 +94,20 @@ class World(object): 'private_occupants': 'privateOccupants', 'public_occupants': 'publicOccupants', 'publication_date': 'publicationDate', + 'recommended_capacity': 'recommendedCapacity', 'release_status': 'releaseStatus', 'store_id': 'storeId', 'tags': 'tags', 'thumbnail_image_url': 'thumbnailImageUrl', + 'udon_products': 'udonProducts', 'unity_packages': 'unityPackages', 'updated_at': 'updated_at', 'url_list': 'urlList', 'version': 'version', - 'visits': 'visits', - 'udon_products': 'udonProducts' + 'visits': 'visits' } - def __init__(self, author_id=None, author_name=None, capacity=None, recommended_capacity=None, created_at=None, default_content_settings=None, description=None, favorites=0, featured=False, heat=0, id=None, image_url=None, instances=None, labs_publication_date=None, name=None, namespace=None, occupants=0, organization='vrchat', popularity=0, preview_youtube_id=None, private_occupants=0, public_occupants=0, publication_date=None, release_status=None, store_id=None, tags=None, thumbnail_image_url=None, unity_packages=None, updated_at=None, url_list=None, version=0, visits=0, udon_products=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, author_id=None, author_name=None, capacity=None, created_at=None, default_content_settings=None, description=None, favorites=0, featured=False, heat=0, id=None, image_url=None, instances=None, labs_publication_date=None, name=None, namespace=None, occupants=0, organization='vrchat', popularity=0, preview_youtube_id=None, private_occupants=0, public_occupants=0, publication_date=None, recommended_capacity=None, release_status=None, store_id=None, tags=None, thumbnail_image_url=None, udon_products=None, unity_packages=None, updated_at=None, url_list=None, version=0, visits=0, local_vars_configuration=None): # noqa: E501 """World - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -116,7 +116,6 @@ def __init__(self, author_id=None, author_name=None, capacity=None, recommended_ self._author_id = None self._author_name = None self._capacity = None - self._recommended_capacity = None self._created_at = None self._default_content_settings = None self._description = None @@ -136,22 +135,22 @@ def __init__(self, author_id=None, author_name=None, capacity=None, recommended_ self._private_occupants = None self._public_occupants = None self._publication_date = None + self._recommended_capacity = None self._release_status = None self._store_id = None self._tags = None self._thumbnail_image_url = None + self._udon_products = None self._unity_packages = None self._updated_at = None self._url_list = None self._version = None self._visits = None - self._udon_products = None self.discriminator = None self.author_id = author_id self.author_name = author_name self.capacity = capacity - self.recommended_capacity = recommended_capacity self.created_at = created_at if default_content_settings is not None: self.default_content_settings = default_content_settings @@ -178,11 +177,14 @@ def __init__(self, author_id=None, author_name=None, capacity=None, recommended_ if public_occupants is not None: self.public_occupants = public_occupants self.publication_date = publication_date + self.recommended_capacity = recommended_capacity self.release_status = release_status if store_id is not None: self.store_id = store_id self.tags = tags self.thumbnail_image_url = thumbnail_image_url + if udon_products is not None: + self.udon_products = udon_products if unity_packages is not None: self.unity_packages = unity_packages self.updated_at = updated_at @@ -190,8 +192,6 @@ def __init__(self, author_id=None, author_name=None, capacity=None, recommended_ self.url_list = url_list self.version = version self.visits = visits - if udon_products is not None: - self.udon_products = udon_products @property def author_id(self): @@ -267,29 +267,6 @@ def capacity(self, capacity): self._capacity = capacity - @property - def recommended_capacity(self): - """Gets the recommended_capacity of this World. # noqa: E501 - - - :return: The recommended_capacity of this World. # noqa: E501 - :rtype: int - """ - return self._recommended_capacity - - @recommended_capacity.setter - def recommended_capacity(self, recommended_capacity): - """Sets the recommended_capacity of this World. - - - :param recommended_capacity: The recommended_capacity of this World. # noqa: E501 - :type recommended_capacity: int - """ - if self.local_vars_configuration.client_side_validation and recommended_capacity is None: # noqa: E501 - raise ValueError("Invalid value for `recommended_capacity`, must not be `None`") # noqa: E501 - - self._recommended_capacity = recommended_capacity - @property def created_at(self): """Gets the created_at of this World. # noqa: E501 @@ -757,6 +734,29 @@ def publication_date(self, publication_date): self._publication_date = publication_date + @property + def recommended_capacity(self): + """Gets the recommended_capacity of this World. # noqa: E501 + + + :return: The recommended_capacity of this World. # noqa: E501 + :rtype: int + """ + return self._recommended_capacity + + @recommended_capacity.setter + def recommended_capacity(self, recommended_capacity): + """Sets the recommended_capacity of this World. + + + :param recommended_capacity: The recommended_capacity of this World. # noqa: E501 + :type recommended_capacity: int + """ + if self.local_vars_configuration.client_side_validation and recommended_capacity is None: # noqa: E501 + raise ValueError("Invalid value for `recommended_capacity`, must not be `None`") # noqa: E501 + + self._recommended_capacity = recommended_capacity + @property def release_status(self): """Gets the release_status of this World. # noqa: E501 @@ -852,6 +852,27 @@ def thumbnail_image_url(self, thumbnail_image_url): self._thumbnail_image_url = thumbnail_image_url + @property + def udon_products(self): + """Gets the udon_products of this World. # noqa: E501 + + + :return: The udon_products of this World. # noqa: E501 + :rtype: list[str] + """ + return self._udon_products + + @udon_products.setter + def udon_products(self, udon_products): + """Sets the udon_products of this World. + + + :param udon_products: The udon_products of this World. # noqa: E501 + :type udon_products: list[str] + """ + + self._udon_products = udon_products + @property def unity_packages(self): """Gets the unity_packages of this World. # noqa: E501 @@ -971,27 +992,6 @@ def visits(self, visits): self._visits = visits - @property - def udon_products(self): - """Gets the udon_products of this World. # noqa: E501 - - - :return: The udon_products of this World. # noqa: E501 - :rtype: list[str] - """ - return self._udon_products - - @udon_products.setter - def udon_products(self, udon_products): - """Sets the udon_products of this World. - - - :param udon_products: The udon_products of this World. # noqa: E501 - :type udon_products: list[str] - """ - - self._udon_products = udon_products - def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index 4f2f3ea6..dd726238 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index 85a797d1..f103f215 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index b7ffc582..e5427dc8 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.5 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ From f9334b24ab3418fea182e587d4b25c50f94a77df Mon Sep 17 00:00:00 2001 From: jellejurre Date: Sun, 28 Dec 2025 12:20:42 +0100 Subject: [PATCH 082/102] CI Update test --- .github/workflows/ci.yaml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e0dcfb22..a0c2c7d5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -23,7 +23,7 @@ jobs: ARTIFACT_NAME: "openapi.yaml" INPUT: ${{ github.event_name == 'repository_dispatch' && toJSON(github.event.client_payload) || inputs.json }} SPEC_URL: ${{ (github.event_name == 'repository_dispatch' && github.event.client_payload || fromJSON(inputs.json))['artifacts']['openapi-legacy.yaml'] }} - PASSED_VERSION: ${{ (github.event_name == 'repository_dispatch' && github.event.client_payload || fromJSON(inputs.json))['version'] }} + PASSED_VERSION: ${{ replace((github.event_name == 'repository_dispatch' && github.event.client_payload || fromJSON(inputs.json))['version'], '-nightly.', '.dev') }} VERSION_POSTPEND: ${{ github.event_name == 'workflow_dispatch' && inputs.version_postfix || '' }} steps: - uses: actions/setup-node@v1 @@ -54,11 +54,9 @@ jobs: - name: Download Specification run: wget "${SPEC_URL}" '--output-document' "${ARTIFACT_NAME}" - - name: Check version number - run: | - vrchat_sdk_version=$(( ${PASSED_VERSION%%.*})).${PASSED_VERSION#*.}${VERSION_POSTPEND} - echo "Version is: ${vrchat_sdk_version}" - echo "vrchat_sdk_version=$vrchat_sdk_version" >> $GITHUB_ENV + - name: Apply Version Postpend + if: ${{ github.event_name == 'workflow_dispatch' && inputs.version_postfix != '' }} + run: yq '--inplace' ".info.version |= \"${PASSED_VERSION}${VERSION_POSTPEND}\"" "${ARTIFACT_NAME}" - name: Generate SDK Client run: bash ./generate.sh "${ARTIFACT_NAME}" "${vrchat_sdk_version}" @@ -71,7 +69,7 @@ jobs: with: branch: main folder: . - commit-message: "Upgrade Python SDK to spec ${vrchat_sdk_version}" + commit-message: "Upgrade Python SDK to spec ${{ env.PASSED_VERSION }}${{ env.VERSION_POSTPEND }}" - name: Install pypa/build run: python -m pip install build --user From d11fa41ea4be8e049fd43c04c428ca2093a7b175 Mon Sep 17 00:00:00 2001 From: jellejurre Date: Sun, 28 Dec 2025 12:28:24 +0100 Subject: [PATCH 083/102] Another try --- .github/workflows/ci.yaml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a0c2c7d5..72d377d8 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -23,7 +23,7 @@ jobs: ARTIFACT_NAME: "openapi.yaml" INPUT: ${{ github.event_name == 'repository_dispatch' && toJSON(github.event.client_payload) || inputs.json }} SPEC_URL: ${{ (github.event_name == 'repository_dispatch' && github.event.client_payload || fromJSON(inputs.json))['artifacts']['openapi-legacy.yaml'] }} - PASSED_VERSION: ${{ replace((github.event_name == 'repository_dispatch' && github.event.client_payload || fromJSON(inputs.json))['version'], '-nightly.', '.dev') }} + PASSED_VERSION: ${{ (github.event_name == 'repository_dispatch' && github.event.client_payload || fromJSON(inputs.json))['version'] }} VERSION_POSTPEND: ${{ github.event_name == 'workflow_dispatch' && inputs.version_postfix || '' }} steps: - uses: actions/setup-node@v1 @@ -54,12 +54,20 @@ jobs: - name: Download Specification run: wget "${SPEC_URL}" '--output-document' "${ARTIFACT_NAME}" + - name: Set version + id: version + run: | + # Replace using bash + VERSION="${PASSED_VERSION}${VERSION_POSTPEND}" + CLEAN_VERSION="${VERSION/-nightly./.dev}" + echo "version=${CLEAN_VERSION}" >> $GITHUB_OUTPUT + - name: Apply Version Postpend if: ${{ github.event_name == 'workflow_dispatch' && inputs.version_postfix != '' }} - run: yq '--inplace' ".info.version |= \"${PASSED_VERSION}${VERSION_POSTPEND}\"" "${ARTIFACT_NAME}" + run: yq '--inplace' ".info.version |= \"${{ steps.version.outputs.version }}\"" "${ARTIFACT_NAME}" - name: Generate SDK Client - run: bash ./generate.sh "${ARTIFACT_NAME}" "${vrchat_sdk_version}" + run: bash ./generate.sh "${ARTIFACT_NAME}" "${{ steps.version.outputs.version }}" - name: Delete openapi.yaml file run: unlink ${ARTIFACT_NAME} @@ -69,7 +77,7 @@ jobs: with: branch: main folder: . - commit-message: "Upgrade Python SDK to spec ${{ env.PASSED_VERSION }}${{ env.VERSION_POSTPEND }}" + commit-message: "Upgrade Python SDK to spec ${{ steps.version.outputs.version }}" - name: Install pypa/build run: python -m pip install build --user From 1b795b908fc470ef2b8bbd28475ae98dbd2943d9 Mon Sep 17 00:00:00 2001 From: jellejurre Date: Sun, 28 Dec 2025 11:46:43 +0000 Subject: [PATCH 084/102] Upgrade Python SDK to spec 1.20.7.dev33 --- setup.py | 4 ++-- vrchatapi/__init__.py | 2 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/calendar_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/groups_api.py | 2 +- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/inventory_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/jams_api.py | 2 +- vrchatapi/api/miscellaneous_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/prints_api.py | 2 +- vrchatapi/api/props_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 ++-- vrchatapi/exceptions.py | 2 +- vrchatapi/models/__init__.py | 2 +- vrchatapi/models/account_deletion_log.py | 2 +- vrchatapi/models/add_favorite_request.py | 2 +- vrchatapi/models/add_group_gallery_image_request.py | 2 +- vrchatapi/models/admin_asset_bundle.py | 2 +- vrchatapi/models/admin_unity_package.py | 2 +- vrchatapi/models/age_verification_status.py | 2 +- vrchatapi/models/agreement.py | 2 +- vrchatapi/models/agreement_code.py | 2 +- vrchatapi/models/agreement_request.py | 2 +- vrchatapi/models/agreement_status.py | 2 +- vrchatapi/models/api_config.py | 2 +- vrchatapi/models/api_config_access_logs_urls.py | 2 +- vrchatapi/models/api_config_announcement.py | 2 +- vrchatapi/models/api_config_audio_config.py | 2 +- vrchatapi/models/api_config_avatar_perf_limiter.py | 2 +- vrchatapi/models/api_config_constants.py | 2 +- vrchatapi/models/api_config_constants_groups.py | 2 +- vrchatapi/models/api_config_constants_instance.py | 2 +- .../models/api_config_constants_instancepopulationbrackets.py | 2 +- .../api_config_constants_instancepopulationbracketscrowded.py | 2 +- .../api_config_constants_instancepopulationbracketsfew.py | 2 +- .../api_config_constants_instancepopulationbracketsmany.py | 2 +- vrchatapi/models/api_config_constants_language.py | 2 +- vrchatapi/models/api_config_download_url_list.py | 2 +- vrchatapi/models/api_config_events.py | 2 +- vrchatapi/models/api_config_ios_version.py | 2 +- .../models/api_config_min_supported_client_build_number.py | 2 +- vrchatapi/models/api_config_offline_analysis.py | 2 +- vrchatapi/models/api_health.py | 2 +- vrchatapi/models/avatar.py | 2 +- vrchatapi/models/avatar_moderation.py | 2 +- vrchatapi/models/avatar_moderation_created.py | 2 +- vrchatapi/models/avatar_moderation_type.py | 2 +- vrchatapi/models/avatar_performance.py | 2 +- vrchatapi/models/avatar_published_listings_inner.py | 2 +- vrchatapi/models/avatar_style.py | 2 +- vrchatapi/models/avatar_styles.py | 2 +- vrchatapi/models/avatar_unity_package_url_object.py | 2 +- vrchatapi/models/badge.py | 2 +- vrchatapi/models/balance.py | 2 +- vrchatapi/models/ban_group_member_request.py | 2 +- vrchatapi/models/boop_request.py | 2 +- vrchatapi/models/calendar_event.py | 2 +- vrchatapi/models/calendar_event_access.py | 2 +- vrchatapi/models/calendar_event_category.py | 2 +- vrchatapi/models/calendar_event_discovery.py | 2 +- vrchatapi/models/calendar_event_discovery_inclusion.py | 2 +- vrchatapi/models/calendar_event_discovery_scope.py | 2 +- vrchatapi/models/calendar_event_platform.py | 2 +- vrchatapi/models/calendar_event_user_interest.py | 2 +- vrchatapi/models/change_user_tags_request.py | 2 +- vrchatapi/models/content_filter.py | 2 +- vrchatapi/models/create_avatar_moderation_request.py | 2 +- vrchatapi/models/create_avatar_request.py | 2 +- vrchatapi/models/create_calendar_event_request.py | 2 +- vrchatapi/models/create_file_request.py | 2 +- vrchatapi/models/create_file_version_request.py | 2 +- vrchatapi/models/create_group_announcement_request.py | 2 +- vrchatapi/models/create_group_gallery_request.py | 2 +- vrchatapi/models/create_group_invite_request.py | 2 +- vrchatapi/models/create_group_post_request.py | 2 +- vrchatapi/models/create_group_request.py | 2 +- vrchatapi/models/create_group_role_request.py | 2 +- vrchatapi/models/create_instance_request.py | 2 +- vrchatapi/models/create_prop_request.py | 2 +- vrchatapi/models/create_world_request.py | 2 +- vrchatapi/models/current_user.py | 2 +- vrchatapi/models/current_user_platform_history_inner.py | 2 +- vrchatapi/models/current_user_presence.py | 2 +- vrchatapi/models/decline_group_invite_request.py | 2 +- vrchatapi/models/developer_type.py | 2 +- vrchatapi/models/disable2_fa_result.py | 2 +- vrchatapi/models/discord_details.py | 2 +- vrchatapi/models/dynamic_content_row.py | 2 +- vrchatapi/models/economy_account.py | 2 +- vrchatapi/models/equip_inventory_item_request.py | 2 +- vrchatapi/models/error.py | 2 +- vrchatapi/models/favorite.py | 2 +- vrchatapi/models/favorite_group.py | 2 +- vrchatapi/models/favorite_group_limits.py | 2 +- vrchatapi/models/favorite_group_visibility.py | 2 +- vrchatapi/models/favorite_limits.py | 2 +- vrchatapi/models/favorite_type.py | 2 +- vrchatapi/models/favorited_world.py | 2 +- vrchatapi/models/feedback.py | 2 +- vrchatapi/models/file.py | 2 +- vrchatapi/models/file_analysis.py | 2 +- vrchatapi/models/file_analysis_avatar_stats.py | 2 +- vrchatapi/models/file_data.py | 2 +- vrchatapi/models/file_status.py | 2 +- vrchatapi/models/file_upload_url.py | 2 +- vrchatapi/models/file_version.py | 2 +- vrchatapi/models/file_version_upload_status.py | 2 +- vrchatapi/models/finish_file_data_upload_request.py | 2 +- vrchatapi/models/follow_calendar_event_request.py | 2 +- vrchatapi/models/friend_status.py | 2 +- vrchatapi/models/get_group_posts200_response.py | 2 +- vrchatapi/models/get_user_group_instances200_response.py | 2 +- vrchatapi/models/group.py | 2 +- vrchatapi/models/group_access_type.py | 2 +- vrchatapi/models/group_announcement.py | 2 +- vrchatapi/models/group_audit_log_entry.py | 2 +- vrchatapi/models/group_gallery.py | 2 +- vrchatapi/models/group_gallery_file_order.py | 2 +- vrchatapi/models/group_gallery_file_order_request.py | 2 +- vrchatapi/models/group_gallery_image.py | 2 +- vrchatapi/models/group_instance.py | 2 +- vrchatapi/models/group_join_request_action.py | 2 +- vrchatapi/models/group_join_state.py | 2 +- vrchatapi/models/group_limited_member.py | 2 +- vrchatapi/models/group_member.py | 2 +- vrchatapi/models/group_member_limited_user.py | 2 +- vrchatapi/models/group_member_status.py | 2 +- vrchatapi/models/group_my_member.py | 2 +- vrchatapi/models/group_permission.py | 2 +- vrchatapi/models/group_permissions.py | 2 +- vrchatapi/models/group_post.py | 2 +- vrchatapi/models/group_post_visibility.py | 2 +- vrchatapi/models/group_privacy.py | 2 +- vrchatapi/models/group_role.py | 2 +- vrchatapi/models/group_role_template.py | 2 +- vrchatapi/models/group_role_template_values.py | 2 +- vrchatapi/models/group_role_template_values_roles.py | 2 +- vrchatapi/models/group_search_sort.py | 2 +- vrchatapi/models/group_transferable.py | 2 +- vrchatapi/models/group_transferable_requirements.py | 2 +- vrchatapi/models/group_user_visibility.py | 2 +- vrchatapi/models/image_animation_style.py | 2 +- vrchatapi/models/image_loop_style.py | 2 +- vrchatapi/models/image_mask.py | 2 +- vrchatapi/models/info_push.py | 2 +- vrchatapi/models/info_push_data.py | 2 +- vrchatapi/models/info_push_data_article.py | 2 +- vrchatapi/models/info_push_data_article_content.py | 2 +- vrchatapi/models/info_push_data_clickable.py | 2 +- vrchatapi/models/instance.py | 2 +- vrchatapi/models/instance_content_settings.py | 2 +- vrchatapi/models/instance_platforms.py | 2 +- vrchatapi/models/instance_region.py | 2 +- vrchatapi/models/instance_short_name_response.py | 2 +- vrchatapi/models/instance_type.py | 2 +- vrchatapi/models/inventory.py | 2 +- vrchatapi/models/inventory_consumption_results.py | 2 +- vrchatapi/models/inventory_default_attributes1.py | 2 +- vrchatapi/models/inventory_default_attributes1_validator.py | 2 +- vrchatapi/models/inventory_drop.py | 2 +- vrchatapi/models/inventory_equip_slot.py | 2 +- vrchatapi/models/inventory_flag.py | 2 +- vrchatapi/models/inventory_item.py | 2 +- vrchatapi/models/inventory_item_type.py | 2 +- vrchatapi/models/inventory_metadata.py | 2 +- vrchatapi/models/inventory_notification_details.py | 2 +- vrchatapi/models/inventory_spawn.py | 2 +- vrchatapi/models/inventory_template.py | 2 +- vrchatapi/models/inventory_user_attributes.py | 2 +- vrchatapi/models/invite_message.py | 2 +- vrchatapi/models/invite_message_type.py | 2 +- vrchatapi/models/invite_request.py | 2 +- vrchatapi/models/invite_response.py | 2 +- vrchatapi/models/jam.py | 2 +- vrchatapi/models/jam_state_change_dates.py | 2 +- vrchatapi/models/join_group_request.py | 2 +- vrchatapi/models/license.py | 2 +- vrchatapi/models/license_action.py | 2 +- vrchatapi/models/license_group.py | 2 +- vrchatapi/models/license_type.py | 2 +- vrchatapi/models/limited_group.py | 2 +- vrchatapi/models/limited_unity_package.py | 2 +- vrchatapi/models/limited_user_friend.py | 2 +- vrchatapi/models/limited_user_groups.py | 2 +- vrchatapi/models/limited_user_instance.py | 2 +- vrchatapi/models/limited_user_search.py | 2 +- vrchatapi/models/limited_world.py | 2 +- vrchatapi/models/mime_type.py | 2 +- vrchatapi/models/model_print.py | 2 +- vrchatapi/models/moderate_user_request.py | 2 +- vrchatapi/models/moderation_report.py | 2 +- vrchatapi/models/mutual_friend.py | 2 +- vrchatapi/models/mutuals.py | 2 +- vrchatapi/models/notification.py | 2 +- vrchatapi/models/notification_detail_invite.py | 2 +- vrchatapi/models/notification_detail_invite_response.py | 2 +- vrchatapi/models/notification_detail_request_invite.py | 2 +- .../models/notification_detail_request_invite_response.py | 2 +- vrchatapi/models/notification_detail_vote_to_kick.py | 2 +- vrchatapi/models/notification_type.py | 2 +- vrchatapi/models/notification_v2.py | 2 +- vrchatapi/models/notification_v2_details_boop.py | 2 +- vrchatapi/models/notification_v2_response.py | 2 +- vrchatapi/models/notification_v2_type.py | 2 +- vrchatapi/models/ok_status.py | 2 +- vrchatapi/models/ok_status2.py | 2 +- vrchatapi/models/order_option.py | 2 +- vrchatapi/models/order_option_short.py | 2 +- vrchatapi/models/paginated_calendar_event_list.py | 2 +- vrchatapi/models/paginated_group_audit_log_entry_list.py | 2 +- vrchatapi/models/paginated_moderation_report_list.py | 2 +- vrchatapi/models/past_display_name.py | 2 +- vrchatapi/models/pending2_fa_result.py | 2 +- vrchatapi/models/performance_limiter_info.py | 2 +- vrchatapi/models/performance_ratings.py | 2 +- vrchatapi/models/permission.py | 2 +- vrchatapi/models/permission_data.py | 2 +- vrchatapi/models/platform_build_info.py | 2 +- vrchatapi/models/player_moderation.py | 2 +- vrchatapi/models/player_moderation_type.py | 2 +- vrchatapi/models/print_files.py | 2 +- vrchatapi/models/product.py | 2 +- vrchatapi/models/product_listing.py | 2 +- vrchatapi/models/product_listing_type.py | 2 +- vrchatapi/models/product_listing_variant.py | 2 +- vrchatapi/models/product_purchase.py | 2 +- vrchatapi/models/product_purchase_purchase_context.py | 2 +- vrchatapi/models/product_type.py | 2 +- vrchatapi/models/prop.py | 2 +- vrchatapi/models/prop_publish_status.py | 2 +- vrchatapi/models/prop_unity_package.py | 2 +- vrchatapi/models/purchase_product_listing_request.py | 2 +- vrchatapi/models/region.py | 2 +- vrchatapi/models/register_user_account_request.py | 2 +- vrchatapi/models/release_status.py | 2 +- vrchatapi/models/report_category.py | 2 +- vrchatapi/models/report_reason.py | 2 +- vrchatapi/models/represented_group.py | 2 +- vrchatapi/models/request_invite_request.py | 2 +- vrchatapi/models/respond_group_join_request.py | 2 +- vrchatapi/models/respond_notification_v2_request.py | 2 +- vrchatapi/models/response.py | 2 +- vrchatapi/models/search_group_members200_response.py | 2 +- vrchatapi/models/sent_notification.py | 2 +- vrchatapi/models/service_queue_stats.py | 2 +- vrchatapi/models/service_status.py | 2 +- vrchatapi/models/share_inventory_item_direct_request.py | 2 +- vrchatapi/models/sort_option.py | 2 +- vrchatapi/models/sort_option_product_purchase.py | 2 +- vrchatapi/models/store.py | 2 +- vrchatapi/models/store_shelf.py | 2 +- vrchatapi/models/store_type.py | 2 +- vrchatapi/models/store_view.py | 2 +- vrchatapi/models/submission.py | 2 +- vrchatapi/models/submit_moderation_report_request.py | 2 +- vrchatapi/models/submit_moderation_report_request_details.py | 2 +- vrchatapi/models/subscription.py | 2 +- vrchatapi/models/subscription_period.py | 2 +- vrchatapi/models/success.py | 2 +- vrchatapi/models/success_flag.py | 2 +- vrchatapi/models/tilia_status.py | 2 +- vrchatapi/models/tilia_tos.py | 2 +- vrchatapi/models/token_bundle.py | 2 +- vrchatapi/models/transaction.py | 2 +- vrchatapi/models/transaction_agreement.py | 2 +- vrchatapi/models/transaction_status.py | 2 +- vrchatapi/models/transaction_steam_info.py | 2 +- vrchatapi/models/transaction_steam_wallet_info.py | 2 +- vrchatapi/models/transfer_group_request.py | 2 +- vrchatapi/models/two_factor_auth_code.py | 2 +- vrchatapi/models/two_factor_email_code.py | 2 +- vrchatapi/models/two_factor_recovery_codes.py | 2 +- vrchatapi/models/two_factor_recovery_codes_otp_inner.py | 2 +- vrchatapi/models/unity_package.py | 2 +- vrchatapi/models/update_asset_review_notes_request.py | 2 +- vrchatapi/models/update_avatar_request.py | 2 +- vrchatapi/models/update_calendar_event_request.py | 2 +- vrchatapi/models/update_favorite_group_request.py | 2 +- vrchatapi/models/update_group_gallery_request.py | 2 +- vrchatapi/models/update_group_member_request.py | 2 +- vrchatapi/models/update_group_representation_request.py | 2 +- vrchatapi/models/update_group_request.py | 2 +- vrchatapi/models/update_group_role_request.py | 2 +- vrchatapi/models/update_inventory_item_request.py | 2 +- vrchatapi/models/update_invite_message_request.py | 2 +- vrchatapi/models/update_prop_request.py | 2 +- vrchatapi/models/update_tilia_tos_request.py | 2 +- vrchatapi/models/update_user_badge_request.py | 2 +- vrchatapi/models/update_user_note_request.py | 2 +- vrchatapi/models/update_user_request.py | 2 +- vrchatapi/models/update_world_request.py | 2 +- vrchatapi/models/user.py | 2 +- vrchatapi/models/user_credits_eligible.py | 2 +- vrchatapi/models/user_exists.py | 2 +- vrchatapi/models/user_note.py | 2 +- vrchatapi/models/user_note_target_user.py | 2 +- vrchatapi/models/user_state.py | 2 +- vrchatapi/models/user_status.py | 2 +- vrchatapi/models/user_subscription.py | 2 +- vrchatapi/models/user_subscription_eligible.py | 2 +- vrchatapi/models/verify2_fa_email_code_result.py | 2 +- vrchatapi/models/verify2_fa_result.py | 2 +- vrchatapi/models/verify_auth_token_result.py | 2 +- vrchatapi/models/world.py | 2 +- vrchatapi/models/world_metadata.py | 2 +- vrchatapi/models/world_publish_status.py | 2 +- vrchatapi/rest.py | 2 +- 318 files changed, 320 insertions(+), 320 deletions(-) diff --git a/setup.py b/setup.py index 882b3aed..04ca6745 100644 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.20.7-nightly.33" +VERSION = "1.20.7.dev33" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 50b30185..44fc6adc 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,7 +6,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index a99a1dca..0e72760b 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index 97065fe4..70f645a7 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/calendar_api.py b/vrchatapi/api/calendar_api.py index e2e73366..22731c62 100644 --- a/vrchatapi/api/calendar_api.py +++ b/vrchatapi/api/calendar_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 8c03631c..a35e0dbc 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index 63914954..c95f2bc6 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index 2f904bd2..c4543d86 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index c9b675e1..6c815a10 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index 1d0115b3..844d63bc 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 7960c937..ab687d6a 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/inventory_api.py b/vrchatapi/api/inventory_api.py index 7c144a4a..ec5c1f91 100644 --- a/vrchatapi/api/inventory_api.py +++ b/vrchatapi/api/inventory_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index c0a6682a..b3b416ae 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/jams_api.py b/vrchatapi/api/jams_api.py index 4e0755b2..b2e88b95 100644 --- a/vrchatapi/api/jams_api.py +++ b/vrchatapi/api/jams_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/miscellaneous_api.py b/vrchatapi/api/miscellaneous_api.py index 9989b2cf..fb6f8599 100644 --- a/vrchatapi/api/miscellaneous_api.py +++ b/vrchatapi/api/miscellaneous_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index e5f0a855..05b2a61c 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index 0d716454..ccce6cc1 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/prints_api.py b/vrchatapi/api/prints_api.py index a70d8b94..c7806133 100644 --- a/vrchatapi/api/prints_api.py +++ b/vrchatapi/api/prints_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/props_api.py b/vrchatapi/api/props_api.py index 88e81069..f054e9af 100644 --- a/vrchatapi/api/props_api.py +++ b/vrchatapi/api/props_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index 192db527..f6717c2f 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index a6ccd3b0..827ace16 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index 4af84c43..411bfa4c 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,7 +3,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index e37e69a6..ab9794d0 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -447,7 +447,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.20.6\n"\ + "Version of the API: 1.20.7.dev33\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index 4ee5e686..0d6333c9 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index 5c5dcc67..50aa089f 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,7 +5,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/account_deletion_log.py b/vrchatapi/models/account_deletion_log.py index 53d59bcd..4e5327ab 100644 --- a/vrchatapi/models/account_deletion_log.py +++ b/vrchatapi/models/account_deletion_log.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index 3ab47e68..c666e3a5 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index c878defc..959c894b 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/admin_asset_bundle.py b/vrchatapi/models/admin_asset_bundle.py index a1507283..035e0943 100644 --- a/vrchatapi/models/admin_asset_bundle.py +++ b/vrchatapi/models/admin_asset_bundle.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/admin_unity_package.py b/vrchatapi/models/admin_unity_package.py index d410a20c..fe4699c6 100644 --- a/vrchatapi/models/admin_unity_package.py +++ b/vrchatapi/models/admin_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/age_verification_status.py b/vrchatapi/models/age_verification_status.py index e6db2a84..e5563256 100644 --- a/vrchatapi/models/age_verification_status.py +++ b/vrchatapi/models/age_verification_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/agreement.py b/vrchatapi/models/agreement.py index d1929a61..4deb9d44 100644 --- a/vrchatapi/models/agreement.py +++ b/vrchatapi/models/agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/agreement_code.py b/vrchatapi/models/agreement_code.py index e7697c68..00ea034b 100644 --- a/vrchatapi/models/agreement_code.py +++ b/vrchatapi/models/agreement_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/agreement_request.py b/vrchatapi/models/agreement_request.py index 231aed82..c6f59617 100644 --- a/vrchatapi/models/agreement_request.py +++ b/vrchatapi/models/agreement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/agreement_status.py b/vrchatapi/models/agreement_status.py index c69c52b7..c3a016d9 100644 --- a/vrchatapi/models/agreement_status.py +++ b/vrchatapi/models/agreement_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index d2189ab2..cd20df14 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_access_logs_urls.py b/vrchatapi/models/api_config_access_logs_urls.py index 31c15783..5f8b82e0 100644 --- a/vrchatapi/models/api_config_access_logs_urls.py +++ b/vrchatapi/models/api_config_access_logs_urls.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index 1cc1b26f..984503e1 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_audio_config.py b/vrchatapi/models/api_config_audio_config.py index 47dd0cc8..de21027c 100644 --- a/vrchatapi/models/api_config_audio_config.py +++ b/vrchatapi/models/api_config_audio_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_avatar_perf_limiter.py b/vrchatapi/models/api_config_avatar_perf_limiter.py index 8e9e657d..f1ac03bc 100644 --- a/vrchatapi/models/api_config_avatar_perf_limiter.py +++ b/vrchatapi/models/api_config_avatar_perf_limiter.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants.py b/vrchatapi/models/api_config_constants.py index 0932cb05..51905ba8 100644 --- a/vrchatapi/models/api_config_constants.py +++ b/vrchatapi/models/api_config_constants.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_groups.py b/vrchatapi/models/api_config_constants_groups.py index 3c5ef995..ea34592a 100644 --- a/vrchatapi/models/api_config_constants_groups.py +++ b/vrchatapi/models/api_config_constants_groups.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instance.py b/vrchatapi/models/api_config_constants_instance.py index c5579b82..066a43e3 100644 --- a/vrchatapi/models/api_config_constants_instance.py +++ b/vrchatapi/models/api_config_constants_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbrackets.py b/vrchatapi/models/api_config_constants_instancepopulationbrackets.py index f5e33202..51583506 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbrackets.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbrackets.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py b/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py index 55b7cd1b..a8bb715d 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py b/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py index 6f12aabe..a3fa7841 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py b/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py index 6b45daae..8dd0570f 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_language.py b/vrchatapi/models/api_config_constants_language.py index 744016cb..2a513377 100644 --- a/vrchatapi/models/api_config_constants_language.py +++ b/vrchatapi/models/api_config_constants_language.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index 6b82db08..1f09062d 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index 3b68fe32..382de242 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_ios_version.py b/vrchatapi/models/api_config_ios_version.py index a70cd596..f4c5c8d2 100644 --- a/vrchatapi/models/api_config_ios_version.py +++ b/vrchatapi/models/api_config_ios_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_min_supported_client_build_number.py b/vrchatapi/models/api_config_min_supported_client_build_number.py index b896bbb6..cf5211f7 100644 --- a/vrchatapi/models/api_config_min_supported_client_build_number.py +++ b/vrchatapi/models/api_config_min_supported_client_build_number.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_offline_analysis.py b/vrchatapi/models/api_config_offline_analysis.py index 16417f83..a2e5c5d6 100644 --- a/vrchatapi/models/api_config_offline_analysis.py +++ b/vrchatapi/models/api_config_offline_analysis.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index bd56d222..4f68d90f 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index 9c911490..b5e8ae74 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_moderation.py b/vrchatapi/models/avatar_moderation.py index 02888c69..73bb8181 100644 --- a/vrchatapi/models/avatar_moderation.py +++ b/vrchatapi/models/avatar_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_moderation_created.py b/vrchatapi/models/avatar_moderation_created.py index 86343a72..8388874d 100644 --- a/vrchatapi/models/avatar_moderation_created.py +++ b/vrchatapi/models/avatar_moderation_created.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_moderation_type.py b/vrchatapi/models/avatar_moderation_type.py index 5d81abb7..ae68c21a 100644 --- a/vrchatapi/models/avatar_moderation_type.py +++ b/vrchatapi/models/avatar_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_performance.py b/vrchatapi/models/avatar_performance.py index fc000998..227d0aee 100644 --- a/vrchatapi/models/avatar_performance.py +++ b/vrchatapi/models/avatar_performance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_published_listings_inner.py b/vrchatapi/models/avatar_published_listings_inner.py index 89348b5f..91601ddf 100644 --- a/vrchatapi/models/avatar_published_listings_inner.py +++ b/vrchatapi/models/avatar_published_listings_inner.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_style.py b/vrchatapi/models/avatar_style.py index 3c1d8e74..e16adb95 100644 --- a/vrchatapi/models/avatar_style.py +++ b/vrchatapi/models/avatar_style.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_styles.py b/vrchatapi/models/avatar_styles.py index 2bd9fa85..904a1c29 100644 --- a/vrchatapi/models/avatar_styles.py +++ b/vrchatapi/models/avatar_styles.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index c750b18b..f574fce6 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/badge.py b/vrchatapi/models/badge.py index 3cb5eb89..71038455 100644 --- a/vrchatapi/models/badge.py +++ b/vrchatapi/models/badge.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/balance.py b/vrchatapi/models/balance.py index 4115de6d..6136e54e 100644 --- a/vrchatapi/models/balance.py +++ b/vrchatapi/models/balance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index 254327af..32e355ea 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/boop_request.py b/vrchatapi/models/boop_request.py index 8a59cbc5..a377f30e 100644 --- a/vrchatapi/models/boop_request.py +++ b/vrchatapi/models/boop_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/calendar_event.py b/vrchatapi/models/calendar_event.py index f33bd703..bab01206 100644 --- a/vrchatapi/models/calendar_event.py +++ b/vrchatapi/models/calendar_event.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/calendar_event_access.py b/vrchatapi/models/calendar_event_access.py index 0dde37d7..0b734dba 100644 --- a/vrchatapi/models/calendar_event_access.py +++ b/vrchatapi/models/calendar_event_access.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/calendar_event_category.py b/vrchatapi/models/calendar_event_category.py index cbb6a5f0..2de53afd 100644 --- a/vrchatapi/models/calendar_event_category.py +++ b/vrchatapi/models/calendar_event_category.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/calendar_event_discovery.py b/vrchatapi/models/calendar_event_discovery.py index ef06f1da..8e7f3d7e 100644 --- a/vrchatapi/models/calendar_event_discovery.py +++ b/vrchatapi/models/calendar_event_discovery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/calendar_event_discovery_inclusion.py b/vrchatapi/models/calendar_event_discovery_inclusion.py index 7031f0b7..d028f78b 100644 --- a/vrchatapi/models/calendar_event_discovery_inclusion.py +++ b/vrchatapi/models/calendar_event_discovery_inclusion.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/calendar_event_discovery_scope.py b/vrchatapi/models/calendar_event_discovery_scope.py index 91ed8443..62669ed8 100644 --- a/vrchatapi/models/calendar_event_discovery_scope.py +++ b/vrchatapi/models/calendar_event_discovery_scope.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/calendar_event_platform.py b/vrchatapi/models/calendar_event_platform.py index 83143005..8f2c3936 100644 --- a/vrchatapi/models/calendar_event_platform.py +++ b/vrchatapi/models/calendar_event_platform.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/calendar_event_user_interest.py b/vrchatapi/models/calendar_event_user_interest.py index 08dae349..46e5c04c 100644 --- a/vrchatapi/models/calendar_event_user_interest.py +++ b/vrchatapi/models/calendar_event_user_interest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/change_user_tags_request.py b/vrchatapi/models/change_user_tags_request.py index e4ddbb17..c3c3c08b 100644 --- a/vrchatapi/models/change_user_tags_request.py +++ b/vrchatapi/models/change_user_tags_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/content_filter.py b/vrchatapi/models/content_filter.py index 71e6635f..7c19dd93 100644 --- a/vrchatapi/models/content_filter.py +++ b/vrchatapi/models/content_filter.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_moderation_request.py b/vrchatapi/models/create_avatar_moderation_request.py index 05382598..7faef01c 100644 --- a/vrchatapi/models/create_avatar_moderation_request.py +++ b/vrchatapi/models/create_avatar_moderation_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index dd61cbb1..d06f47d6 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_calendar_event_request.py b/vrchatapi/models/create_calendar_event_request.py index 2ecfa078..b51beea2 100644 --- a/vrchatapi/models/create_calendar_event_request.py +++ b/vrchatapi/models/create_calendar_event_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index 1e0f8073..4f4cbc19 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index 5c63cc96..5036df6b 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index 33255200..cdd07c57 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index f5cd3fb3..3d040538 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index ba67aa0d..c7d5cb7f 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_post_request.py b/vrchatapi/models/create_group_post_request.py index d39080bb..a8024a60 100644 --- a/vrchatapi/models/create_group_post_request.py +++ b/vrchatapi/models/create_group_post_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index 6f05202c..32b0144c 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index a8816e0d..0815ca7d 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_instance_request.py b/vrchatapi/models/create_instance_request.py index 6745e693..43503434 100644 --- a/vrchatapi/models/create_instance_request.py +++ b/vrchatapi/models/create_instance_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_prop_request.py b/vrchatapi/models/create_prop_request.py index b476c4ba..90b660c6 100644 --- a/vrchatapi/models/create_prop_request.py +++ b/vrchatapi/models/create_prop_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index dc0e295b..21cf49be 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index ecdd8114..38bb7bec 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user_platform_history_inner.py b/vrchatapi/models/current_user_platform_history_inner.py index 708896e7..d917113f 100644 --- a/vrchatapi/models/current_user_platform_history_inner.py +++ b/vrchatapi/models/current_user_platform_history_inner.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user_presence.py b/vrchatapi/models/current_user_presence.py index 4982d493..de02c1da 100644 --- a/vrchatapi/models/current_user_presence.py +++ b/vrchatapi/models/current_user_presence.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/decline_group_invite_request.py b/vrchatapi/models/decline_group_invite_request.py index b44ea9e2..f2f9ba57 100644 --- a/vrchatapi/models/decline_group_invite_request.py +++ b/vrchatapi/models/decline_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index 3b05c0ff..c39718e3 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/disable2_fa_result.py b/vrchatapi/models/disable2_fa_result.py index 95d82fae..f92a7508 100644 --- a/vrchatapi/models/disable2_fa_result.py +++ b/vrchatapi/models/disable2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/discord_details.py b/vrchatapi/models/discord_details.py index a85f8192..15e53d9c 100644 --- a/vrchatapi/models/discord_details.py +++ b/vrchatapi/models/discord_details.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index e3e80248..a0b25ceb 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/economy_account.py b/vrchatapi/models/economy_account.py index 65e0f92e..a734153d 100644 --- a/vrchatapi/models/economy_account.py +++ b/vrchatapi/models/economy_account.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/equip_inventory_item_request.py b/vrchatapi/models/equip_inventory_item_request.py index 948c38c0..6163c855 100644 --- a/vrchatapi/models/equip_inventory_item_request.py +++ b/vrchatapi/models/equip_inventory_item_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index 05f6de4e..188f166b 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index 4b966246..e617c049 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index 15264da7..d43a9a50 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_limits.py b/vrchatapi/models/favorite_group_limits.py index bdc04f4f..6798e809 100644 --- a/vrchatapi/models/favorite_group_limits.py +++ b/vrchatapi/models/favorite_group_limits.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index 0cb5f3ab..4f91be31 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_limits.py b/vrchatapi/models/favorite_limits.py index fa1d001a..c55bd427 100644 --- a/vrchatapi/models/favorite_limits.py +++ b/vrchatapi/models/favorite_limits.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index 4eabb732..1e54bc87 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorited_world.py b/vrchatapi/models/favorited_world.py index 6dd2e428..be083e0e 100644 --- a/vrchatapi/models/favorited_world.py +++ b/vrchatapi/models/favorited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/feedback.py b/vrchatapi/models/feedback.py index 155cb534..092a03ae 100644 --- a/vrchatapi/models/feedback.py +++ b/vrchatapi/models/feedback.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index 28c035fb..d1ff6a21 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_analysis.py b/vrchatapi/models/file_analysis.py index d419b2ac..ef619c7b 100644 --- a/vrchatapi/models/file_analysis.py +++ b/vrchatapi/models/file_analysis.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_analysis_avatar_stats.py b/vrchatapi/models/file_analysis_avatar_stats.py index 8d845f5f..45ad0629 100644 --- a/vrchatapi/models/file_analysis_avatar_stats.py +++ b/vrchatapi/models/file_analysis_avatar_stats.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index c2ae2c82..8c192468 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index 975adbda..f55f5b3a 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index 77d0a5b2..dbd08a9e 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index c75c65b3..abce806e 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index ffc5bcc6..50f663db 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index 0813ee97..5a03b8df 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/follow_calendar_event_request.py b/vrchatapi/models/follow_calendar_event_request.py index 993a9e96..f749d0a4 100644 --- a/vrchatapi/models/follow_calendar_event_request.py +++ b/vrchatapi/models/follow_calendar_event_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index d441bd57..4711a919 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/get_group_posts200_response.py b/vrchatapi/models/get_group_posts200_response.py index 55f3560e..a08cd823 100644 --- a/vrchatapi/models/get_group_posts200_response.py +++ b/vrchatapi/models/get_group_posts200_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/get_user_group_instances200_response.py b/vrchatapi/models/get_user_group_instances200_response.py index ae16ecae..dca6ef2e 100644 --- a/vrchatapi/models/get_user_group_instances200_response.py +++ b/vrchatapi/models/get_user_group_instances200_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index 146118cc..9448fba8 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_access_type.py b/vrchatapi/models/group_access_type.py index 32eb9f3b..9d2300a9 100644 --- a/vrchatapi/models/group_access_type.py +++ b/vrchatapi/models/group_access_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index af423dd7..5a600617 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index 26301cb0..ec5acfe3 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index 11b217cf..1c825429 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_file_order.py b/vrchatapi/models/group_gallery_file_order.py index 13f105d5..50026a76 100644 --- a/vrchatapi/models/group_gallery_file_order.py +++ b/vrchatapi/models/group_gallery_file_order.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_file_order_request.py b/vrchatapi/models/group_gallery_file_order_request.py index 8fa6d8d3..1477a2e9 100644 --- a/vrchatapi/models/group_gallery_file_order_request.py +++ b/vrchatapi/models/group_gallery_file_order_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index 2094d551..69918667 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_instance.py b/vrchatapi/models/group_instance.py index 88ee0fdd..7a2713a9 100644 --- a/vrchatapi/models/group_instance.py +++ b/vrchatapi/models/group_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_request_action.py b/vrchatapi/models/group_join_request_action.py index d63bb9d6..15b71ca4 100644 --- a/vrchatapi/models/group_join_request_action.py +++ b/vrchatapi/models/group_join_request_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index e80e5346..621ba039 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index b18ebcd0..b3d1cc8b 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index e2dea1a5..b7e49eac 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index 4de41f00..07d06bd0 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index beeccfc7..b6a44d7f 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index 1162a20e..540c0472 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index 6595fdcf..64cb2cad 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permissions.py b/vrchatapi/models/group_permissions.py index 29551e8b..b7b26631 100644 --- a/vrchatapi/models/group_permissions.py +++ b/vrchatapi/models/group_permissions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post.py b/vrchatapi/models/group_post.py index 86784647..97d42897 100644 --- a/vrchatapi/models/group_post.py +++ b/vrchatapi/models/group_post.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post_visibility.py b/vrchatapi/models/group_post_visibility.py index 2d8c9bba..c4f0c786 100644 --- a/vrchatapi/models/group_post_visibility.py +++ b/vrchatapi/models/group_post_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index 1f13f57e..f7affeb4 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index c1e82cb2..6711317e 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index fc9d760a..d85b4338 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template_values.py b/vrchatapi/models/group_role_template_values.py index 777dfc31..1a9f3db0 100644 --- a/vrchatapi/models/group_role_template_values.py +++ b/vrchatapi/models/group_role_template_values.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template_values_roles.py b/vrchatapi/models/group_role_template_values_roles.py index 3852339a..b78675ac 100644 --- a/vrchatapi/models/group_role_template_values_roles.py +++ b/vrchatapi/models/group_role_template_values_roles.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_search_sort.py b/vrchatapi/models/group_search_sort.py index c73cbee5..3cfcf76a 100644 --- a/vrchatapi/models/group_search_sort.py +++ b/vrchatapi/models/group_search_sort.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_transferable.py b/vrchatapi/models/group_transferable.py index 89a99f07..948b19df 100644 --- a/vrchatapi/models/group_transferable.py +++ b/vrchatapi/models/group_transferable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_transferable_requirements.py b/vrchatapi/models/group_transferable_requirements.py index 4a3363ef..b6671256 100644 --- a/vrchatapi/models/group_transferable_requirements.py +++ b/vrchatapi/models/group_transferable_requirements.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index b729b70e..9d9a2420 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/image_animation_style.py b/vrchatapi/models/image_animation_style.py index 6697d142..c31dc562 100644 --- a/vrchatapi/models/image_animation_style.py +++ b/vrchatapi/models/image_animation_style.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/image_loop_style.py b/vrchatapi/models/image_loop_style.py index c2278ef1..4232daa7 100644 --- a/vrchatapi/models/image_loop_style.py +++ b/vrchatapi/models/image_loop_style.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/image_mask.py b/vrchatapi/models/image_mask.py index 06dcd2e0..e9fe8013 100644 --- a/vrchatapi/models/image_mask.py +++ b/vrchatapi/models/image_mask.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index ef775c6d..dbd15dd1 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index eecaf298..5d50210d 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index 90bbfbe7..79d83e93 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index 3af27619..367c6818 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index 78c3860b..ebcdd8f0 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index 749fb02d..45f9a61b 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_content_settings.py b/vrchatapi/models/instance_content_settings.py index f5d6e65f..1f1ee47d 100644 --- a/vrchatapi/models/instance_content_settings.py +++ b/vrchatapi/models/instance_content_settings.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index 3f636971..e1da0c10 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_region.py b/vrchatapi/models/instance_region.py index 709817ea..b3c63fba 100644 --- a/vrchatapi/models/instance_region.py +++ b/vrchatapi/models/instance_region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index cd13e012..e4488cf5 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index 6f292520..fcdb70c6 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory.py b/vrchatapi/models/inventory.py index ee1b6b5d..62cf9a32 100644 --- a/vrchatapi/models/inventory.py +++ b/vrchatapi/models/inventory.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_consumption_results.py b/vrchatapi/models/inventory_consumption_results.py index 7bf0fba3..a4de6fb1 100644 --- a/vrchatapi/models/inventory_consumption_results.py +++ b/vrchatapi/models/inventory_consumption_results.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_default_attributes1.py b/vrchatapi/models/inventory_default_attributes1.py index 677e8ded..8201d5cd 100644 --- a/vrchatapi/models/inventory_default_attributes1.py +++ b/vrchatapi/models/inventory_default_attributes1.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_default_attributes1_validator.py b/vrchatapi/models/inventory_default_attributes1_validator.py index 93174114..a1215eb0 100644 --- a/vrchatapi/models/inventory_default_attributes1_validator.py +++ b/vrchatapi/models/inventory_default_attributes1_validator.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_drop.py b/vrchatapi/models/inventory_drop.py index 7cd987c6..e68d13e3 100644 --- a/vrchatapi/models/inventory_drop.py +++ b/vrchatapi/models/inventory_drop.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_equip_slot.py b/vrchatapi/models/inventory_equip_slot.py index d28adaa2..c04d8f34 100644 --- a/vrchatapi/models/inventory_equip_slot.py +++ b/vrchatapi/models/inventory_equip_slot.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_flag.py b/vrchatapi/models/inventory_flag.py index 49c77b12..9cb032db 100644 --- a/vrchatapi/models/inventory_flag.py +++ b/vrchatapi/models/inventory_flag.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_item.py b/vrchatapi/models/inventory_item.py index 3843503d..fc86543f 100644 --- a/vrchatapi/models/inventory_item.py +++ b/vrchatapi/models/inventory_item.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_item_type.py b/vrchatapi/models/inventory_item_type.py index 24fa1e8d..0ce2c75f 100644 --- a/vrchatapi/models/inventory_item_type.py +++ b/vrchatapi/models/inventory_item_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_metadata.py b/vrchatapi/models/inventory_metadata.py index 3e21efbe..234f9e02 100644 --- a/vrchatapi/models/inventory_metadata.py +++ b/vrchatapi/models/inventory_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_notification_details.py b/vrchatapi/models/inventory_notification_details.py index 125c21bf..b32013b6 100644 --- a/vrchatapi/models/inventory_notification_details.py +++ b/vrchatapi/models/inventory_notification_details.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_spawn.py b/vrchatapi/models/inventory_spawn.py index c738e3d5..ebb3f0aa 100644 --- a/vrchatapi/models/inventory_spawn.py +++ b/vrchatapi/models/inventory_spawn.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_template.py b/vrchatapi/models/inventory_template.py index a554f832..296393e2 100644 --- a/vrchatapi/models/inventory_template.py +++ b/vrchatapi/models/inventory_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_user_attributes.py b/vrchatapi/models/inventory_user_attributes.py index cf0fff79..37c1cedb 100644 --- a/vrchatapi/models/inventory_user_attributes.py +++ b/vrchatapi/models/inventory_user_attributes.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index 9e97d2cb..df7f0c4d 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index 729e5aa8..4cabe936 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index ba12e1aa..b477c57b 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index cc99c187..22071160 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/jam.py b/vrchatapi/models/jam.py index f9b38183..15093268 100644 --- a/vrchatapi/models/jam.py +++ b/vrchatapi/models/jam.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/jam_state_change_dates.py b/vrchatapi/models/jam_state_change_dates.py index b7554bcd..0fbae0e8 100644 --- a/vrchatapi/models/jam_state_change_dates.py +++ b/vrchatapi/models/jam_state_change_dates.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/join_group_request.py b/vrchatapi/models/join_group_request.py index 629119ca..2f5df899 100644 --- a/vrchatapi/models/join_group_request.py +++ b/vrchatapi/models/join_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index ac1a6345..d1907271 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index 1d1634c0..f3939bef 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index a26a48c7..e56b63ba 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index d4a129f4..d7dbef64 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_group.py b/vrchatapi/models/limited_group.py index 936019d4..ea79de96 100644 --- a/vrchatapi/models/limited_group.py +++ b/vrchatapi/models/limited_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index 0e71d09f..2483c547 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user_friend.py b/vrchatapi/models/limited_user_friend.py index 257f691f..a8d736bf 100644 --- a/vrchatapi/models/limited_user_friend.py +++ b/vrchatapi/models/limited_user_friend.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user_groups.py b/vrchatapi/models/limited_user_groups.py index fc800bd3..579665f6 100644 --- a/vrchatapi/models/limited_user_groups.py +++ b/vrchatapi/models/limited_user_groups.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user_instance.py b/vrchatapi/models/limited_user_instance.py index 0f17b299..619b9052 100644 --- a/vrchatapi/models/limited_user_instance.py +++ b/vrchatapi/models/limited_user_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user_search.py b/vrchatapi/models/limited_user_search.py index 1ec9ad87..b5888805 100644 --- a/vrchatapi/models/limited_user_search.py +++ b/vrchatapi/models/limited_user_search.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index ddca30d5..9d1b83ee 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index a9b7028f..8ad3ed2f 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/model_print.py b/vrchatapi/models/model_print.py index b9b46a16..40f71fef 100644 --- a/vrchatapi/models/model_print.py +++ b/vrchatapi/models/model_print.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index f5356d3e..7df5f27d 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderation_report.py b/vrchatapi/models/moderation_report.py index 61d15b62..746a5cbe 100644 --- a/vrchatapi/models/moderation_report.py +++ b/vrchatapi/models/moderation_report.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mutual_friend.py b/vrchatapi/models/mutual_friend.py index d5890875..c3696c81 100644 --- a/vrchatapi/models/mutual_friend.py +++ b/vrchatapi/models/mutual_friend.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mutuals.py b/vrchatapi/models/mutuals.py index 1f2ac7ae..b92af7eb 100644 --- a/vrchatapi/models/mutuals.py +++ b/vrchatapi/models/mutuals.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index 64aeaf79..19814491 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite.py b/vrchatapi/models/notification_detail_invite.py index bfbd2a06..44398ff6 100644 --- a/vrchatapi/models/notification_detail_invite.py +++ b/vrchatapi/models/notification_detail_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite_response.py b/vrchatapi/models/notification_detail_invite_response.py index a08ac1c2..167000e0 100644 --- a/vrchatapi/models/notification_detail_invite_response.py +++ b/vrchatapi/models/notification_detail_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite.py b/vrchatapi/models/notification_detail_request_invite.py index abf82d88..a2f5c045 100644 --- a/vrchatapi/models/notification_detail_request_invite.py +++ b/vrchatapi/models/notification_detail_request_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite_response.py b/vrchatapi/models/notification_detail_request_invite_response.py index d5d110f6..dcdd6998 100644 --- a/vrchatapi/models/notification_detail_request_invite_response.py +++ b/vrchatapi/models/notification_detail_request_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_vote_to_kick.py b/vrchatapi/models/notification_detail_vote_to_kick.py index e93e1926..cefeb45c 100644 --- a/vrchatapi/models/notification_detail_vote_to_kick.py +++ b/vrchatapi/models/notification_detail_vote_to_kick.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index cf762d78..b2685351 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_v2.py b/vrchatapi/models/notification_v2.py index 095d3e40..e2ae4ea5 100644 --- a/vrchatapi/models/notification_v2.py +++ b/vrchatapi/models/notification_v2.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_v2_details_boop.py b/vrchatapi/models/notification_v2_details_boop.py index ba7f2cf6..d5c9bb0f 100644 --- a/vrchatapi/models/notification_v2_details_boop.py +++ b/vrchatapi/models/notification_v2_details_boop.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_v2_response.py b/vrchatapi/models/notification_v2_response.py index cd9f33be..292faa7c 100644 --- a/vrchatapi/models/notification_v2_response.py +++ b/vrchatapi/models/notification_v2_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_v2_type.py b/vrchatapi/models/notification_v2_type.py index 117c17ed..9eb60602 100644 --- a/vrchatapi/models/notification_v2_type.py +++ b/vrchatapi/models/notification_v2_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ok_status.py b/vrchatapi/models/ok_status.py index 1437bc0f..c9a23012 100644 --- a/vrchatapi/models/ok_status.py +++ b/vrchatapi/models/ok_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ok_status2.py b/vrchatapi/models/ok_status2.py index 17f19dee..2186ca9f 100644 --- a/vrchatapi/models/ok_status2.py +++ b/vrchatapi/models/ok_status2.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index 5d45d320..b28b5ec3 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option_short.py b/vrchatapi/models/order_option_short.py index 54d70750..00deac25 100644 --- a/vrchatapi/models/order_option_short.py +++ b/vrchatapi/models/order_option_short.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_calendar_event_list.py b/vrchatapi/models/paginated_calendar_event_list.py index 4cd3beff..3d812037 100644 --- a/vrchatapi/models/paginated_calendar_event_list.py +++ b/vrchatapi/models/paginated_calendar_event_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index 4e4ea81f..5908ef9d 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_moderation_report_list.py b/vrchatapi/models/paginated_moderation_report_list.py index cbeb212f..f74bdee7 100644 --- a/vrchatapi/models/paginated_moderation_report_list.py +++ b/vrchatapi/models/paginated_moderation_report_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index f9e6a16f..4bb54ad1 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/pending2_fa_result.py b/vrchatapi/models/pending2_fa_result.py index f81d55ae..dcfb8804 100644 --- a/vrchatapi/models/pending2_fa_result.py +++ b/vrchatapi/models/pending2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/performance_limiter_info.py b/vrchatapi/models/performance_limiter_info.py index 820788b3..b82bcd34 100644 --- a/vrchatapi/models/performance_limiter_info.py +++ b/vrchatapi/models/performance_limiter_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/performance_ratings.py b/vrchatapi/models/performance_ratings.py index b247c739..6c1335a4 100644 --- a/vrchatapi/models/performance_ratings.py +++ b/vrchatapi/models/performance_ratings.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index ff5bc147..2de4ccb6 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission_data.py b/vrchatapi/models/permission_data.py index e549f1ed..21bf3ff8 100644 --- a/vrchatapi/models/permission_data.py +++ b/vrchatapi/models/permission_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/platform_build_info.py b/vrchatapi/models/platform_build_info.py index 6ceda152..946f8170 100644 --- a/vrchatapi/models/platform_build_info.py +++ b/vrchatapi/models/platform_build_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index e146c9f4..7bd7696e 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index 66b9d1e5..cb2b0ad3 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/print_files.py b/vrchatapi/models/print_files.py index 47efb418..4b5bfdac 100644 --- a/vrchatapi/models/print_files.py +++ b/vrchatapi/models/print_files.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product.py b/vrchatapi/models/product.py index edac9be5..0e19fffe 100644 --- a/vrchatapi/models/product.py +++ b/vrchatapi/models/product.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_listing.py b/vrchatapi/models/product_listing.py index 4ba13e0b..b86b05f6 100644 --- a/vrchatapi/models/product_listing.py +++ b/vrchatapi/models/product_listing.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_listing_type.py b/vrchatapi/models/product_listing_type.py index 88d9465c..4c14b3b8 100644 --- a/vrchatapi/models/product_listing_type.py +++ b/vrchatapi/models/product_listing_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_listing_variant.py b/vrchatapi/models/product_listing_variant.py index f5aee26b..5f9468ad 100644 --- a/vrchatapi/models/product_listing_variant.py +++ b/vrchatapi/models/product_listing_variant.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_purchase.py b/vrchatapi/models/product_purchase.py index c78e6982..974b427c 100644 --- a/vrchatapi/models/product_purchase.py +++ b/vrchatapi/models/product_purchase.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_purchase_purchase_context.py b/vrchatapi/models/product_purchase_purchase_context.py index ed7c07fb..184e45ec 100644 --- a/vrchatapi/models/product_purchase_purchase_context.py +++ b/vrchatapi/models/product_purchase_purchase_context.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_type.py b/vrchatapi/models/product_type.py index 46eaba47..7d19f81a 100644 --- a/vrchatapi/models/product_type.py +++ b/vrchatapi/models/product_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/prop.py b/vrchatapi/models/prop.py index 0f1ec527..347e9d19 100644 --- a/vrchatapi/models/prop.py +++ b/vrchatapi/models/prop.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/prop_publish_status.py b/vrchatapi/models/prop_publish_status.py index d08b62c7..775378ac 100644 --- a/vrchatapi/models/prop_publish_status.py +++ b/vrchatapi/models/prop_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/prop_unity_package.py b/vrchatapi/models/prop_unity_package.py index 0e2b9dbe..2da899f8 100644 --- a/vrchatapi/models/prop_unity_package.py +++ b/vrchatapi/models/prop_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/purchase_product_listing_request.py b/vrchatapi/models/purchase_product_listing_request.py index 5a850243..951bca78 100644 --- a/vrchatapi/models/purchase_product_listing_request.py +++ b/vrchatapi/models/purchase_product_listing_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index 4440672b..3f43dca2 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/register_user_account_request.py b/vrchatapi/models/register_user_account_request.py index eb82785d..60141e6f 100644 --- a/vrchatapi/models/register_user_account_request.py +++ b/vrchatapi/models/register_user_account_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index c57de42c..c87e8d7b 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/report_category.py b/vrchatapi/models/report_category.py index 2be52454..254a780e 100644 --- a/vrchatapi/models/report_category.py +++ b/vrchatapi/models/report_category.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/report_reason.py b/vrchatapi/models/report_reason.py index 1205e29f..b8ffda96 100644 --- a/vrchatapi/models/report_reason.py +++ b/vrchatapi/models/report_reason.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/represented_group.py b/vrchatapi/models/represented_group.py index 9aa5823c..697b4af2 100644 --- a/vrchatapi/models/represented_group.py +++ b/vrchatapi/models/represented_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index 7001c0a9..5eafd194 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index 39aa0ef9..3327999a 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_notification_v2_request.py b/vrchatapi/models/respond_notification_v2_request.py index b715dcd8..efdf0629 100644 --- a/vrchatapi/models/respond_notification_v2_request.py +++ b/vrchatapi/models/respond_notification_v2_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index b97f4f9f..09ab690a 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/search_group_members200_response.py b/vrchatapi/models/search_group_members200_response.py index 83864da6..50f70479 100644 --- a/vrchatapi/models/search_group_members200_response.py +++ b/vrchatapi/models/search_group_members200_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index e659d683..a2e339d0 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/service_queue_stats.py b/vrchatapi/models/service_queue_stats.py index e35c34c2..74c6b5ca 100644 --- a/vrchatapi/models/service_queue_stats.py +++ b/vrchatapi/models/service_queue_stats.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/service_status.py b/vrchatapi/models/service_status.py index 28ad1ffc..76fb30a0 100644 --- a/vrchatapi/models/service_status.py +++ b/vrchatapi/models/service_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/share_inventory_item_direct_request.py b/vrchatapi/models/share_inventory_item_direct_request.py index e0ce2308..6cc08759 100644 --- a/vrchatapi/models/share_inventory_item_direct_request.py +++ b/vrchatapi/models/share_inventory_item_direct_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index 2bdac5c6..5b3f0577 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option_product_purchase.py b/vrchatapi/models/sort_option_product_purchase.py index d8cf3dda..7d2c7618 100644 --- a/vrchatapi/models/sort_option_product_purchase.py +++ b/vrchatapi/models/sort_option_product_purchase.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/store.py b/vrchatapi/models/store.py index 893face1..16f6cf2a 100644 --- a/vrchatapi/models/store.py +++ b/vrchatapi/models/store.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/store_shelf.py b/vrchatapi/models/store_shelf.py index f1d898d1..a15a76d1 100644 --- a/vrchatapi/models/store_shelf.py +++ b/vrchatapi/models/store_shelf.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/store_type.py b/vrchatapi/models/store_type.py index cfd34707..cd0f948e 100644 --- a/vrchatapi/models/store_type.py +++ b/vrchatapi/models/store_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/store_view.py b/vrchatapi/models/store_view.py index cec98cb8..94ab5d53 100644 --- a/vrchatapi/models/store_view.py +++ b/vrchatapi/models/store_view.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/submission.py b/vrchatapi/models/submission.py index def32282..8fe3e3a7 100644 --- a/vrchatapi/models/submission.py +++ b/vrchatapi/models/submission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/submit_moderation_report_request.py b/vrchatapi/models/submit_moderation_report_request.py index fa1c4da8..e5af32fd 100644 --- a/vrchatapi/models/submit_moderation_report_request.py +++ b/vrchatapi/models/submit_moderation_report_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/submit_moderation_report_request_details.py b/vrchatapi/models/submit_moderation_report_request_details.py index d6e1d39d..263ff808 100644 --- a/vrchatapi/models/submit_moderation_report_request_details.py +++ b/vrchatapi/models/submit_moderation_report_request_details.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index bba72e63..be4931be 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index edc1a13f..f000bdff 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index d05d6b42..dd02b710 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success_flag.py b/vrchatapi/models/success_flag.py index 5786a11d..39d56fd9 100644 --- a/vrchatapi/models/success_flag.py +++ b/vrchatapi/models/success_flag.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/tilia_status.py b/vrchatapi/models/tilia_status.py index 5f6bf825..4f06c662 100644 --- a/vrchatapi/models/tilia_status.py +++ b/vrchatapi/models/tilia_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/tilia_tos.py b/vrchatapi/models/tilia_tos.py index 254a17ef..c1e25138 100644 --- a/vrchatapi/models/tilia_tos.py +++ b/vrchatapi/models/tilia_tos.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/token_bundle.py b/vrchatapi/models/token_bundle.py index 142e1948..432f978f 100644 --- a/vrchatapi/models/token_bundle.py +++ b/vrchatapi/models/token_bundle.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index fc9c1e19..5e0dd818 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index b182845e..521f545f 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index 34730d80..c6540a2b 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index ab6f42c5..28821923 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index ecdfcd3e..94d3d05d 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transfer_group_request.py b/vrchatapi/models/transfer_group_request.py index f3663e31..3fd332af 100644 --- a/vrchatapi/models/transfer_group_request.py +++ b/vrchatapi/models/transfer_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index be26d725..bb3f64a8 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_email_code.py b/vrchatapi/models/two_factor_email_code.py index d0bf5361..09368d38 100644 --- a/vrchatapi/models/two_factor_email_code.py +++ b/vrchatapi/models/two_factor_email_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_recovery_codes.py b/vrchatapi/models/two_factor_recovery_codes.py index af16836d..4aadecb8 100644 --- a/vrchatapi/models/two_factor_recovery_codes.py +++ b/vrchatapi/models/two_factor_recovery_codes.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_recovery_codes_otp_inner.py b/vrchatapi/models/two_factor_recovery_codes_otp_inner.py index 7b7ddaf4..a8a53e7e 100644 --- a/vrchatapi/models/two_factor_recovery_codes_otp_inner.py +++ b/vrchatapi/models/two_factor_recovery_codes_otp_inner.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index 618376d4..ada860c9 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_asset_review_notes_request.py b/vrchatapi/models/update_asset_review_notes_request.py index ea1f40a1..6ef416d7 100644 --- a/vrchatapi/models/update_asset_review_notes_request.py +++ b/vrchatapi/models/update_asset_review_notes_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index fcffaf1b..90e8dc49 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_calendar_event_request.py b/vrchatapi/models/update_calendar_event_request.py index 438c7832..bdbf29a7 100644 --- a/vrchatapi/models/update_calendar_event_request.py +++ b/vrchatapi/models/update_calendar_event_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index 222acabb..e8bc0f49 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index 6ca03a6a..7fc535ec 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index bc650330..6e927f4c 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_representation_request.py b/vrchatapi/models/update_group_representation_request.py index d03b3dae..2fa099ca 100644 --- a/vrchatapi/models/update_group_representation_request.py +++ b/vrchatapi/models/update_group_representation_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index 5ce3c089..d6b68517 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index ab687abb..cc0834b9 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_inventory_item_request.py b/vrchatapi/models/update_inventory_item_request.py index bea3aede..ea17e462 100644 --- a/vrchatapi/models/update_inventory_item_request.py +++ b/vrchatapi/models/update_inventory_item_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index c12177b4..c66d3694 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_prop_request.py b/vrchatapi/models/update_prop_request.py index d2304f10..c59e648d 100644 --- a/vrchatapi/models/update_prop_request.py +++ b/vrchatapi/models/update_prop_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_tilia_tos_request.py b/vrchatapi/models/update_tilia_tos_request.py index 715acdb6..f6656685 100644 --- a/vrchatapi/models/update_tilia_tos_request.py +++ b/vrchatapi/models/update_tilia_tos_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_badge_request.py b/vrchatapi/models/update_user_badge_request.py index ce70ab99..de59ad2f 100644 --- a/vrchatapi/models/update_user_badge_request.py +++ b/vrchatapi/models/update_user_badge_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_note_request.py b/vrchatapi/models/update_user_note_request.py index e0e0883a..587fb53a 100644 --- a/vrchatapi/models/update_user_note_request.py +++ b/vrchatapi/models/update_user_note_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index 2b14f5b9..1663e850 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index 7063c5c3..d74b97a2 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index 8880c8e6..300bc895 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_credits_eligible.py b/vrchatapi/models/user_credits_eligible.py index e951662f..c42c7d55 100644 --- a/vrchatapi/models/user_credits_eligible.py +++ b/vrchatapi/models/user_credits_eligible.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index 6cf2cc95..33f4a3b4 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_note.py b/vrchatapi/models/user_note.py index 6a87f3a5..b2189d87 100644 --- a/vrchatapi/models/user_note.py +++ b/vrchatapi/models/user_note.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_note_target_user.py b/vrchatapi/models/user_note_target_user.py index 8408292e..ab2bc11a 100644 --- a/vrchatapi/models/user_note_target_user.py +++ b/vrchatapi/models/user_note_target_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index dfba82c7..d66c0151 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index a0408939..bace0b1a 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index 8ff7d9c8..98992967 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription_eligible.py b/vrchatapi/models/user_subscription_eligible.py index 6fb39be8..ef1abf57 100644 --- a/vrchatapi/models/user_subscription_eligible.py +++ b/vrchatapi/models/user_subscription_eligible.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_email_code_result.py b/vrchatapi/models/verify2_fa_email_code_result.py index 9236e56b..a69def17 100644 --- a/vrchatapi/models/verify2_fa_email_code_result.py +++ b/vrchatapi/models/verify2_fa_email_code_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index 325f6fd9..13e9d620 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index f3f6b601..6e48eaf6 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index e37a471d..446bce82 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index dd726238..6d247e79 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index f103f215..ef9e7dba 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index e5427dc8..5cd5e3f0 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7.dev33 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ From b24798553ae3d0f47e26232d989477ce8c01957b Mon Sep 17 00:00:00 2001 From: ariesclark Date: Thu, 1 Jan 2026 18:06:20 +0000 Subject: [PATCH 085/102] Upgrade Python SDK to spec 1.20.7.dev34 --- package-lock.json | 90 +++++++++---------- package.json | 2 +- setup.py | 4 +- vrchatapi/__init__.py | 2 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/calendar_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/groups_api.py | 2 +- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/inventory_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/jams_api.py | 2 +- vrchatapi/api/miscellaneous_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/prints_api.py | 2 +- vrchatapi/api/props_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 +- vrchatapi/exceptions.py | 2 +- vrchatapi/models/__init__.py | 2 +- vrchatapi/models/account_deletion_log.py | 2 +- vrchatapi/models/add_favorite_request.py | 2 +- .../models/add_group_gallery_image_request.py | 2 +- vrchatapi/models/admin_asset_bundle.py | 2 +- vrchatapi/models/admin_unity_package.py | 2 +- vrchatapi/models/age_verification_status.py | 2 +- vrchatapi/models/agreement.py | 2 +- vrchatapi/models/agreement_code.py | 2 +- vrchatapi/models/agreement_request.py | 2 +- vrchatapi/models/agreement_status.py | 2 +- vrchatapi/models/api_config.py | 2 +- .../models/api_config_access_logs_urls.py | 2 +- vrchatapi/models/api_config_announcement.py | 2 +- vrchatapi/models/api_config_audio_config.py | 2 +- .../models/api_config_avatar_perf_limiter.py | 2 +- vrchatapi/models/api_config_constants.py | 2 +- .../models/api_config_constants_groups.py | 2 +- .../models/api_config_constants_instance.py | 2 +- ...ig_constants_instancepopulationbrackets.py | 2 +- ...tants_instancepopulationbracketscrowded.py | 2 +- ...constants_instancepopulationbracketsfew.py | 2 +- ...onstants_instancepopulationbracketsmany.py | 2 +- .../models/api_config_constants_language.py | 2 +- .../models/api_config_download_url_list.py | 2 +- vrchatapi/models/api_config_events.py | 2 +- vrchatapi/models/api_config_ios_version.py | 2 +- ...onfig_min_supported_client_build_number.py | 2 +- .../models/api_config_offline_analysis.py | 2 +- vrchatapi/models/api_health.py | 2 +- vrchatapi/models/avatar.py | 2 +- vrchatapi/models/avatar_moderation.py | 2 +- vrchatapi/models/avatar_moderation_created.py | 2 +- vrchatapi/models/avatar_moderation_type.py | 2 +- vrchatapi/models/avatar_performance.py | 2 +- .../models/avatar_published_listings_inner.py | 2 +- vrchatapi/models/avatar_style.py | 2 +- vrchatapi/models/avatar_styles.py | 2 +- .../models/avatar_unity_package_url_object.py | 2 +- vrchatapi/models/badge.py | 2 +- vrchatapi/models/balance.py | 2 +- vrchatapi/models/ban_group_member_request.py | 2 +- vrchatapi/models/boop_request.py | 2 +- vrchatapi/models/calendar_event.py | 2 +- vrchatapi/models/calendar_event_access.py | 2 +- vrchatapi/models/calendar_event_category.py | 2 +- vrchatapi/models/calendar_event_discovery.py | 2 +- .../calendar_event_discovery_inclusion.py | 2 +- .../models/calendar_event_discovery_scope.py | 2 +- vrchatapi/models/calendar_event_platform.py | 2 +- .../models/calendar_event_user_interest.py | 2 +- vrchatapi/models/change_user_tags_request.py | 2 +- vrchatapi/models/content_filter.py | 2 +- .../create_avatar_moderation_request.py | 2 +- vrchatapi/models/create_avatar_request.py | 2 +- .../models/create_calendar_event_request.py | 2 +- vrchatapi/models/create_file_request.py | 2 +- .../models/create_file_version_request.py | 2 +- .../create_group_announcement_request.py | 2 +- .../models/create_group_gallery_request.py | 2 +- .../models/create_group_invite_request.py | 2 +- vrchatapi/models/create_group_post_request.py | 2 +- vrchatapi/models/create_group_request.py | 2 +- vrchatapi/models/create_group_role_request.py | 2 +- vrchatapi/models/create_instance_request.py | 2 +- vrchatapi/models/create_prop_request.py | 2 +- vrchatapi/models/create_world_request.py | 2 +- vrchatapi/models/current_user.py | 2 +- .../current_user_platform_history_inner.py | 2 +- vrchatapi/models/current_user_presence.py | 2 +- .../models/decline_group_invite_request.py | 2 +- vrchatapi/models/developer_type.py | 2 +- vrchatapi/models/disable2_fa_result.py | 2 +- vrchatapi/models/discord_details.py | 2 +- vrchatapi/models/dynamic_content_row.py | 2 +- vrchatapi/models/economy_account.py | 2 +- .../models/equip_inventory_item_request.py | 2 +- vrchatapi/models/error.py | 2 +- vrchatapi/models/favorite.py | 2 +- vrchatapi/models/favorite_group.py | 2 +- vrchatapi/models/favorite_group_limits.py | 2 +- vrchatapi/models/favorite_group_visibility.py | 2 +- vrchatapi/models/favorite_limits.py | 2 +- vrchatapi/models/favorite_type.py | 2 +- vrchatapi/models/favorited_world.py | 2 +- vrchatapi/models/feedback.py | 2 +- vrchatapi/models/file.py | 2 +- vrchatapi/models/file_analysis.py | 2 +- .../models/file_analysis_avatar_stats.py | 2 +- vrchatapi/models/file_data.py | 2 +- vrchatapi/models/file_status.py | 2 +- vrchatapi/models/file_upload_url.py | 2 +- vrchatapi/models/file_version.py | 2 +- .../models/file_version_upload_status.py | 2 +- .../models/finish_file_data_upload_request.py | 2 +- .../models/follow_calendar_event_request.py | 2 +- vrchatapi/models/friend_status.py | 2 +- .../models/get_group_posts200_response.py | 2 +- .../get_user_group_instances200_response.py | 2 +- vrchatapi/models/group.py | 2 +- vrchatapi/models/group_access_type.py | 2 +- vrchatapi/models/group_announcement.py | 2 +- vrchatapi/models/group_audit_log_entry.py | 2 +- vrchatapi/models/group_gallery.py | 2 +- vrchatapi/models/group_gallery_file_order.py | 2 +- .../group_gallery_file_order_request.py | 2 +- vrchatapi/models/group_gallery_image.py | 2 +- vrchatapi/models/group_instance.py | 2 +- vrchatapi/models/group_join_request_action.py | 2 +- vrchatapi/models/group_join_state.py | 2 +- vrchatapi/models/group_limited_member.py | 2 +- vrchatapi/models/group_member.py | 2 +- vrchatapi/models/group_member_limited_user.py | 2 +- vrchatapi/models/group_member_status.py | 2 +- vrchatapi/models/group_my_member.py | 2 +- vrchatapi/models/group_permission.py | 2 +- vrchatapi/models/group_permissions.py | 2 +- vrchatapi/models/group_post.py | 2 +- vrchatapi/models/group_post_visibility.py | 2 +- vrchatapi/models/group_privacy.py | 2 +- vrchatapi/models/group_role.py | 2 +- vrchatapi/models/group_role_template.py | 2 +- .../models/group_role_template_values.py | 2 +- .../group_role_template_values_roles.py | 2 +- vrchatapi/models/group_search_sort.py | 2 +- vrchatapi/models/group_transferable.py | 2 +- .../models/group_transferable_requirements.py | 2 +- vrchatapi/models/group_user_visibility.py | 2 +- vrchatapi/models/image_animation_style.py | 2 +- vrchatapi/models/image_loop_style.py | 2 +- vrchatapi/models/image_mask.py | 2 +- vrchatapi/models/info_push.py | 2 +- vrchatapi/models/info_push_data.py | 2 +- vrchatapi/models/info_push_data_article.py | 2 +- .../models/info_push_data_article_content.py | 2 +- vrchatapi/models/info_push_data_clickable.py | 2 +- vrchatapi/models/instance.py | 2 +- vrchatapi/models/instance_content_settings.py | 2 +- vrchatapi/models/instance_platforms.py | 2 +- vrchatapi/models/instance_region.py | 2 +- .../models/instance_short_name_response.py | 2 +- vrchatapi/models/instance_type.py | 2 +- vrchatapi/models/inventory.py | 2 +- .../models/inventory_consumption_results.py | 2 +- .../models/inventory_default_attributes1.py | 2 +- ...inventory_default_attributes1_validator.py | 2 +- vrchatapi/models/inventory_drop.py | 2 +- vrchatapi/models/inventory_equip_slot.py | 2 +- vrchatapi/models/inventory_flag.py | 2 +- vrchatapi/models/inventory_item.py | 2 +- vrchatapi/models/inventory_item_type.py | 2 +- vrchatapi/models/inventory_metadata.py | 2 +- .../models/inventory_notification_details.py | 2 +- vrchatapi/models/inventory_spawn.py | 2 +- vrchatapi/models/inventory_template.py | 2 +- vrchatapi/models/inventory_user_attributes.py | 2 +- vrchatapi/models/invite_message.py | 2 +- vrchatapi/models/invite_message_type.py | 2 +- vrchatapi/models/invite_request.py | 2 +- vrchatapi/models/invite_response.py | 2 +- vrchatapi/models/jam.py | 2 +- vrchatapi/models/jam_state_change_dates.py | 2 +- vrchatapi/models/join_group_request.py | 2 +- vrchatapi/models/license.py | 2 +- vrchatapi/models/license_action.py | 2 +- vrchatapi/models/license_group.py | 2 +- vrchatapi/models/license_type.py | 2 +- vrchatapi/models/limited_group.py | 2 +- vrchatapi/models/limited_unity_package.py | 2 +- vrchatapi/models/limited_user_friend.py | 2 +- vrchatapi/models/limited_user_groups.py | 2 +- vrchatapi/models/limited_user_instance.py | 2 +- vrchatapi/models/limited_user_search.py | 2 +- vrchatapi/models/limited_world.py | 2 +- vrchatapi/models/mime_type.py | 2 +- vrchatapi/models/model_print.py | 2 +- vrchatapi/models/moderate_user_request.py | 2 +- vrchatapi/models/moderation_report.py | 2 +- vrchatapi/models/mutual_friend.py | 2 +- vrchatapi/models/mutuals.py | 2 +- vrchatapi/models/notification.py | 2 +- .../models/notification_detail_invite.py | 2 +- .../notification_detail_invite_response.py | 2 +- .../notification_detail_request_invite.py | 2 +- ...fication_detail_request_invite_response.py | 2 +- .../notification_detail_vote_to_kick.py | 2 +- vrchatapi/models/notification_type.py | 2 +- vrchatapi/models/notification_v2.py | 2 +- .../models/notification_v2_details_boop.py | 2 +- vrchatapi/models/notification_v2_response.py | 2 +- vrchatapi/models/notification_v2_type.py | 2 +- vrchatapi/models/ok_status.py | 2 +- vrchatapi/models/ok_status2.py | 2 +- vrchatapi/models/order_option.py | 2 +- vrchatapi/models/order_option_short.py | 2 +- .../models/paginated_calendar_event_list.py | 2 +- .../paginated_group_audit_log_entry_list.py | 2 +- .../paginated_moderation_report_list.py | 2 +- vrchatapi/models/past_display_name.py | 2 +- vrchatapi/models/pending2_fa_result.py | 2 +- vrchatapi/models/performance_limiter_info.py | 2 +- vrchatapi/models/performance_ratings.py | 2 +- vrchatapi/models/permission.py | 2 +- vrchatapi/models/permission_data.py | 2 +- vrchatapi/models/platform_build_info.py | 2 +- vrchatapi/models/player_moderation.py | 2 +- vrchatapi/models/player_moderation_type.py | 2 +- vrchatapi/models/print_files.py | 2 +- vrchatapi/models/product.py | 2 +- vrchatapi/models/product_listing.py | 2 +- vrchatapi/models/product_listing_type.py | 2 +- vrchatapi/models/product_listing_variant.py | 2 +- vrchatapi/models/product_purchase.py | 2 +- .../product_purchase_purchase_context.py | 2 +- vrchatapi/models/product_type.py | 2 +- vrchatapi/models/prop.py | 2 +- vrchatapi/models/prop_publish_status.py | 2 +- vrchatapi/models/prop_unity_package.py | 2 +- .../purchase_product_listing_request.py | 2 +- vrchatapi/models/region.py | 2 +- .../models/register_user_account_request.py | 2 +- vrchatapi/models/release_status.py | 2 +- vrchatapi/models/report_category.py | 2 +- vrchatapi/models/report_reason.py | 2 +- vrchatapi/models/represented_group.py | 2 +- vrchatapi/models/request_invite_request.py | 2 +- .../models/respond_group_join_request.py | 2 +- .../models/respond_notification_v2_request.py | 2 +- vrchatapi/models/response.py | 2 +- .../search_group_members200_response.py | 2 +- vrchatapi/models/sent_notification.py | 2 +- vrchatapi/models/service_queue_stats.py | 2 +- vrchatapi/models/service_status.py | 2 +- .../share_inventory_item_direct_request.py | 2 +- vrchatapi/models/sort_option.py | 2 +- .../models/sort_option_product_purchase.py | 2 +- vrchatapi/models/store.py | 2 +- vrchatapi/models/store_shelf.py | 2 +- vrchatapi/models/store_type.py | 2 +- vrchatapi/models/store_view.py | 2 +- vrchatapi/models/submission.py | 2 +- .../submit_moderation_report_request.py | 2 +- ...ubmit_moderation_report_request_details.py | 2 +- vrchatapi/models/subscription.py | 2 +- vrchatapi/models/subscription_period.py | 2 +- vrchatapi/models/success.py | 2 +- vrchatapi/models/success_flag.py | 2 +- vrchatapi/models/tilia_status.py | 2 +- vrchatapi/models/tilia_tos.py | 2 +- vrchatapi/models/token_bundle.py | 2 +- vrchatapi/models/transaction.py | 2 +- vrchatapi/models/transaction_agreement.py | 2 +- vrchatapi/models/transaction_status.py | 2 +- vrchatapi/models/transaction_steam_info.py | 2 +- .../models/transaction_steam_wallet_info.py | 2 +- vrchatapi/models/transfer_group_request.py | 2 +- vrchatapi/models/two_factor_auth_code.py | 2 +- vrchatapi/models/two_factor_email_code.py | 2 +- vrchatapi/models/two_factor_recovery_codes.py | 2 +- .../two_factor_recovery_codes_otp_inner.py | 2 +- vrchatapi/models/unity_package.py | 2 +- .../update_asset_review_notes_request.py | 2 +- vrchatapi/models/update_avatar_request.py | 2 +- .../models/update_calendar_event_request.py | 2 +- .../models/update_favorite_group_request.py | 2 +- .../models/update_group_gallery_request.py | 2 +- .../models/update_group_member_request.py | 2 +- .../update_group_representation_request.py | 2 +- vrchatapi/models/update_group_request.py | 2 +- vrchatapi/models/update_group_role_request.py | 2 +- .../models/update_inventory_item_request.py | 2 +- .../models/update_invite_message_request.py | 2 +- vrchatapi/models/update_prop_request.py | 2 +- vrchatapi/models/update_tilia_tos_request.py | 2 +- vrchatapi/models/update_user_badge_request.py | 2 +- vrchatapi/models/update_user_note_request.py | 2 +- vrchatapi/models/update_user_request.py | 2 +- vrchatapi/models/update_world_request.py | 2 +- vrchatapi/models/user.py | 2 +- vrchatapi/models/user_credits_eligible.py | 2 +- vrchatapi/models/user_exists.py | 2 +- vrchatapi/models/user_note.py | 2 +- vrchatapi/models/user_note_target_user.py | 2 +- vrchatapi/models/user_state.py | 2 +- vrchatapi/models/user_status.py | 2 +- vrchatapi/models/user_subscription.py | 2 +- .../models/user_subscription_eligible.py | 2 +- .../models/verify2_fa_email_code_result.py | 2 +- vrchatapi/models/verify2_fa_result.py | 2 +- vrchatapi/models/verify_auth_token_result.py | 2 +- vrchatapi/models/world.py | 2 +- vrchatapi/models/world_metadata.py | 2 +- vrchatapi/models/world_publish_status.py | 2 +- vrchatapi/rest.py | 2 +- 320 files changed, 366 insertions(+), 366 deletions(-) diff --git a/package-lock.json b/package-lock.json index 039c615e..4ae79b12 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,13 +5,13 @@ "packages": { "": { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.26.0" + "@openapitools/openapi-generator-cli": "^2.27.0" } }, "node_modules/@borewit/text-codec": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/@borewit/text-codec/-/text-codec-0.1.1.tgz", - "integrity": "sha512-5L/uBxmjaCIX5h8Z+uu+kA9BQLkc/Wl06UGR5ajNRxu+/XjonB5i8JpgFMrPj3LXTCPA0pv8yxUvbUi+QthGGA==", + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/@borewit/text-codec/-/text-codec-0.2.1.tgz", + "integrity": "sha512-k7vvKPbf7J2fZ5klGRD9AeKfUvojuZIQ3BT5u7Jfv+puwXkUBUT5PVyMDfJZpy30CBDXGMgw7fguK/lpOMBvgw==", "funding": { "type": "github", "url": "https://github.com/sponsors/Borewit" @@ -75,11 +75,11 @@ } }, "node_modules/@nestjs/common": { - "version": "11.1.10", - "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-11.1.10.tgz", - "integrity": "sha512-NoBzJFtq1bzHGia5Q5NO1pJNpx530nupbEu/auCWOFCGL5y8Zo8kiG28EXTCDfIhQgregEtn1Cs6H8WSLUC8kg==", + "version": "11.1.11", + "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-11.1.11.tgz", + "integrity": "sha512-R/+A8XFqLgN8zNs2twhrOaE7dJbRQhdPX3g46am4RT/x8xGLqDphrXkUIno4cGUZHxbczChBAaAPTdPv73wDZA==", "dependencies": { - "file-type": "21.1.1", + "file-type": "21.2.0", "iterare": "1.2.1", "load-esm": "1.0.3", "tslib": "2.8.1", @@ -105,9 +105,9 @@ } }, "node_modules/@nestjs/core": { - "version": "11.1.10", - "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-11.1.10.tgz", - "integrity": "sha512-LYpaacSb8X9dcRpeZxA7Mvi5Aozv11s6028ZNoVKY2j/fyThLd+xrkksg3u+sw7F8mipFaxS/LuVpoHQ/MrACg==", + "version": "11.1.11", + "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-11.1.11.tgz", + "integrity": "sha512-H9i+zT3RvHi7tDc+lCmWHJ3ustXveABCr+Vcpl96dNOxgmrx4elQSTC4W93Mlav2opfLV+p0UTHY6L+bpUA4zA==", "hasInstallScript": true, "dependencies": { "@nuxt/opencollective": "0.4.1", @@ -182,14 +182,14 @@ "integrity": "sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw==" }, "node_modules/@openapitools/openapi-generator-cli": { - "version": "2.26.0", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.26.0.tgz", - "integrity": "sha512-+3eV0dkmyrTXQW2ZU1hHuJD4x+rnH/LOQimNYMY1sT2A04eseZvLtvcWK2BQ5c/kujcCX6RC3WJHeq+2VyTG7A==", + "version": "2.27.0", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.27.0.tgz", + "integrity": "sha512-JJWO9joe6TudGdHuwBi+NhEMIwXcz1B2FawBsJ5SjgTMQxSjArkChq+ro6Ovv6q1zfWavCs/q9uYeNPtRRcQBA==", "hasInstallScript": true, "dependencies": { "@nestjs/axios": "4.0.1", - "@nestjs/common": "11.1.10", - "@nestjs/core": "11.1.10", + "@nestjs/common": "11.1.11", + "@nestjs/core": "11.1.11", "@nuxtjs/opencollective": "0.3.2", "axios": "1.13.2", "chalk": "4.1.2", @@ -771,9 +771,9 @@ } }, "node_modules/file-type": { - "version": "21.1.1", - "resolved": "https://registry.npmjs.org/file-type/-/file-type-21.1.1.tgz", - "integrity": "sha512-ifJXo8zUqbQ/bLbl9sFoqHNTNWbnPY1COImFfM6CCy7z+E+jC1eY9YfOKkx0fckIg+VljAy2/87T61fp0+eEkg==", + "version": "21.2.0", + "resolved": "https://registry.npmjs.org/file-type/-/file-type-21.2.0.tgz", + "integrity": "sha512-vCYBgFOrJQLoTzDyAXAL/RFfKnXXpUYt4+tipVy26nJJhT7ftgGETf2tAQF59EEL61i3MrorV/PG6tf7LJK7eg==", "dependencies": { "@tokenizer/inflate": "^0.4.1", "strtok3": "^10.3.4", @@ -1602,11 +1602,11 @@ "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==" }, "node_modules/token-types": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/token-types/-/token-types-6.1.1.tgz", - "integrity": "sha512-kh9LVIWH5CnL63Ipf0jhlBIy0UsrMj/NJDfpsy1SqOXlLKEVyXXYrnFxFT1yOOYVGBSApeVnjPw/sBz5BfEjAQ==", + "version": "6.1.2", + "resolved": "https://registry.npmjs.org/token-types/-/token-types-6.1.2.tgz", + "integrity": "sha512-dRXchy+C0IgK8WPC6xvCHFRIWYUbqqdEIKPaKo/AcTUNzwLTK6AH7RjdLWsEZcAN/TBdtfUw3PYEgPr5VPr6ww==", "dependencies": { - "@borewit/text-codec": "^0.1.0", + "@borewit/text-codec": "^0.2.1", "@tokenizer/token": "^0.3.0", "ieee754": "^1.2.1" }, @@ -1740,9 +1740,9 @@ }, "dependencies": { "@borewit/text-codec": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/@borewit/text-codec/-/text-codec-0.1.1.tgz", - "integrity": "sha512-5L/uBxmjaCIX5h8Z+uu+kA9BQLkc/Wl06UGR5ajNRxu+/XjonB5i8JpgFMrPj3LXTCPA0pv8yxUvbUi+QthGGA==" + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/@borewit/text-codec/-/text-codec-0.2.1.tgz", + "integrity": "sha512-k7vvKPbf7J2fZ5klGRD9AeKfUvojuZIQ3BT5u7Jfv+puwXkUBUT5PVyMDfJZpy30CBDXGMgw7fguK/lpOMBvgw==" }, "@inquirer/external-editor": { "version": "1.0.1", @@ -1778,11 +1778,11 @@ "requires": {} }, "@nestjs/common": { - "version": "11.1.10", - "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-11.1.10.tgz", - "integrity": "sha512-NoBzJFtq1bzHGia5Q5NO1pJNpx530nupbEu/auCWOFCGL5y8Zo8kiG28EXTCDfIhQgregEtn1Cs6H8WSLUC8kg==", + "version": "11.1.11", + "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-11.1.11.tgz", + "integrity": "sha512-R/+A8XFqLgN8zNs2twhrOaE7dJbRQhdPX3g46am4RT/x8xGLqDphrXkUIno4cGUZHxbczChBAaAPTdPv73wDZA==", "requires": { - "file-type": "21.1.1", + "file-type": "21.2.0", "iterare": "1.2.1", "load-esm": "1.0.3", "tslib": "2.8.1", @@ -1790,9 +1790,9 @@ } }, "@nestjs/core": { - "version": "11.1.10", - "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-11.1.10.tgz", - "integrity": "sha512-LYpaacSb8X9dcRpeZxA7Mvi5Aozv11s6028ZNoVKY2j/fyThLd+xrkksg3u+sw7F8mipFaxS/LuVpoHQ/MrACg==", + "version": "11.1.11", + "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-11.1.11.tgz", + "integrity": "sha512-H9i+zT3RvHi7tDc+lCmWHJ3ustXveABCr+Vcpl96dNOxgmrx4elQSTC4W93Mlav2opfLV+p0UTHY6L+bpUA4zA==", "requires": { "@nuxt/opencollective": "0.4.1", "fast-safe-stringify": "2.1.1", @@ -1828,13 +1828,13 @@ } }, "@openapitools/openapi-generator-cli": { - "version": "2.26.0", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.26.0.tgz", - "integrity": "sha512-+3eV0dkmyrTXQW2ZU1hHuJD4x+rnH/LOQimNYMY1sT2A04eseZvLtvcWK2BQ5c/kujcCX6RC3WJHeq+2VyTG7A==", + "version": "2.27.0", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.27.0.tgz", + "integrity": "sha512-JJWO9joe6TudGdHuwBi+NhEMIwXcz1B2FawBsJ5SjgTMQxSjArkChq+ro6Ovv6q1zfWavCs/q9uYeNPtRRcQBA==", "requires": { "@nestjs/axios": "4.0.1", - "@nestjs/common": "11.1.10", - "@nestjs/core": "11.1.10", + "@nestjs/common": "11.1.11", + "@nestjs/core": "11.1.11", "@nuxtjs/opencollective": "0.3.2", "axios": "1.13.2", "chalk": "4.1.2", @@ -2221,9 +2221,9 @@ } }, "file-type": { - "version": "21.1.1", - "resolved": "https://registry.npmjs.org/file-type/-/file-type-21.1.1.tgz", - "integrity": "sha512-ifJXo8zUqbQ/bLbl9sFoqHNTNWbnPY1COImFfM6CCy7z+E+jC1eY9YfOKkx0fckIg+VljAy2/87T61fp0+eEkg==", + "version": "21.2.0", + "resolved": "https://registry.npmjs.org/file-type/-/file-type-21.2.0.tgz", + "integrity": "sha512-vCYBgFOrJQLoTzDyAXAL/RFfKnXXpUYt4+tipVy26nJJhT7ftgGETf2tAQF59EEL61i3MrorV/PG6tf7LJK7eg==", "requires": { "@tokenizer/inflate": "^0.4.1", "strtok3": "^10.3.4", @@ -2780,11 +2780,11 @@ "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==" }, "token-types": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/token-types/-/token-types-6.1.1.tgz", - "integrity": "sha512-kh9LVIWH5CnL63Ipf0jhlBIy0UsrMj/NJDfpsy1SqOXlLKEVyXXYrnFxFT1yOOYVGBSApeVnjPw/sBz5BfEjAQ==", + "version": "6.1.2", + "resolved": "https://registry.npmjs.org/token-types/-/token-types-6.1.2.tgz", + "integrity": "sha512-dRXchy+C0IgK8WPC6xvCHFRIWYUbqqdEIKPaKo/AcTUNzwLTK6AH7RjdLWsEZcAN/TBdtfUw3PYEgPr5VPr6ww==", "requires": { - "@borewit/text-codec": "^0.1.0", + "@borewit/text-codec": "^0.2.1", "@tokenizer/token": "^0.3.0", "ieee754": "^1.2.1" } diff --git a/package.json b/package.json index e8a85d9a..43798d11 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.26.0" + "@openapitools/openapi-generator-cli": "^2.27.0" } } diff --git a/setup.py b/setup.py index 04ca6745..22a8c175 100644 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.20.7.dev33" +VERSION = "1.20.7.dev34" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 44fc6adc..50b30185 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,7 +6,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index 0e72760b..a99a1dca 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index 70f645a7..97065fe4 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/calendar_api.py b/vrchatapi/api/calendar_api.py index 22731c62..e2e73366 100644 --- a/vrchatapi/api/calendar_api.py +++ b/vrchatapi/api/calendar_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index a35e0dbc..8c03631c 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index c95f2bc6..63914954 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index c4543d86..2f904bd2 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index 6c815a10..c9b675e1 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index 844d63bc..1d0115b3 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index ab687d6a..7960c937 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/inventory_api.py b/vrchatapi/api/inventory_api.py index ec5c1f91..7c144a4a 100644 --- a/vrchatapi/api/inventory_api.py +++ b/vrchatapi/api/inventory_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index b3b416ae..c0a6682a 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/jams_api.py b/vrchatapi/api/jams_api.py index b2e88b95..4e0755b2 100644 --- a/vrchatapi/api/jams_api.py +++ b/vrchatapi/api/jams_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/miscellaneous_api.py b/vrchatapi/api/miscellaneous_api.py index fb6f8599..9989b2cf 100644 --- a/vrchatapi/api/miscellaneous_api.py +++ b/vrchatapi/api/miscellaneous_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index 05b2a61c..e5f0a855 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index ccce6cc1..0d716454 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/prints_api.py b/vrchatapi/api/prints_api.py index c7806133..a70d8b94 100644 --- a/vrchatapi/api/prints_api.py +++ b/vrchatapi/api/prints_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/props_api.py b/vrchatapi/api/props_api.py index f054e9af..88e81069 100644 --- a/vrchatapi/api/props_api.py +++ b/vrchatapi/api/props_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index f6717c2f..192db527 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 827ace16..a6ccd3b0 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index 411bfa4c..4af84c43 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,7 +3,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index ab9794d0..e37e69a6 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -447,7 +447,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.20.7.dev33\n"\ + "Version of the API: 1.20.6\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index 0d6333c9..4ee5e686 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index 50aa089f..5c5dcc67 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,7 +5,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/account_deletion_log.py b/vrchatapi/models/account_deletion_log.py index 4e5327ab..53d59bcd 100644 --- a/vrchatapi/models/account_deletion_log.py +++ b/vrchatapi/models/account_deletion_log.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index c666e3a5..3ab47e68 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index 959c894b..c878defc 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/admin_asset_bundle.py b/vrchatapi/models/admin_asset_bundle.py index 035e0943..a1507283 100644 --- a/vrchatapi/models/admin_asset_bundle.py +++ b/vrchatapi/models/admin_asset_bundle.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/admin_unity_package.py b/vrchatapi/models/admin_unity_package.py index fe4699c6..d410a20c 100644 --- a/vrchatapi/models/admin_unity_package.py +++ b/vrchatapi/models/admin_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/age_verification_status.py b/vrchatapi/models/age_verification_status.py index e5563256..e6db2a84 100644 --- a/vrchatapi/models/age_verification_status.py +++ b/vrchatapi/models/age_verification_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/agreement.py b/vrchatapi/models/agreement.py index 4deb9d44..d1929a61 100644 --- a/vrchatapi/models/agreement.py +++ b/vrchatapi/models/agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/agreement_code.py b/vrchatapi/models/agreement_code.py index 00ea034b..e7697c68 100644 --- a/vrchatapi/models/agreement_code.py +++ b/vrchatapi/models/agreement_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/agreement_request.py b/vrchatapi/models/agreement_request.py index c6f59617..231aed82 100644 --- a/vrchatapi/models/agreement_request.py +++ b/vrchatapi/models/agreement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/agreement_status.py b/vrchatapi/models/agreement_status.py index c3a016d9..c69c52b7 100644 --- a/vrchatapi/models/agreement_status.py +++ b/vrchatapi/models/agreement_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index cd20df14..d2189ab2 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_access_logs_urls.py b/vrchatapi/models/api_config_access_logs_urls.py index 5f8b82e0..31c15783 100644 --- a/vrchatapi/models/api_config_access_logs_urls.py +++ b/vrchatapi/models/api_config_access_logs_urls.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index 984503e1..1cc1b26f 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_audio_config.py b/vrchatapi/models/api_config_audio_config.py index de21027c..47dd0cc8 100644 --- a/vrchatapi/models/api_config_audio_config.py +++ b/vrchatapi/models/api_config_audio_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_avatar_perf_limiter.py b/vrchatapi/models/api_config_avatar_perf_limiter.py index f1ac03bc..8e9e657d 100644 --- a/vrchatapi/models/api_config_avatar_perf_limiter.py +++ b/vrchatapi/models/api_config_avatar_perf_limiter.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants.py b/vrchatapi/models/api_config_constants.py index 51905ba8..0932cb05 100644 --- a/vrchatapi/models/api_config_constants.py +++ b/vrchatapi/models/api_config_constants.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_groups.py b/vrchatapi/models/api_config_constants_groups.py index ea34592a..3c5ef995 100644 --- a/vrchatapi/models/api_config_constants_groups.py +++ b/vrchatapi/models/api_config_constants_groups.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instance.py b/vrchatapi/models/api_config_constants_instance.py index 066a43e3..c5579b82 100644 --- a/vrchatapi/models/api_config_constants_instance.py +++ b/vrchatapi/models/api_config_constants_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbrackets.py b/vrchatapi/models/api_config_constants_instancepopulationbrackets.py index 51583506..f5e33202 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbrackets.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbrackets.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py b/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py index a8bb715d..55b7cd1b 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py b/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py index a3fa7841..6f12aabe 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py b/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py index 8dd0570f..6b45daae 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_language.py b/vrchatapi/models/api_config_constants_language.py index 2a513377..744016cb 100644 --- a/vrchatapi/models/api_config_constants_language.py +++ b/vrchatapi/models/api_config_constants_language.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index 1f09062d..6b82db08 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index 382de242..3b68fe32 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_ios_version.py b/vrchatapi/models/api_config_ios_version.py index f4c5c8d2..a70cd596 100644 --- a/vrchatapi/models/api_config_ios_version.py +++ b/vrchatapi/models/api_config_ios_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_min_supported_client_build_number.py b/vrchatapi/models/api_config_min_supported_client_build_number.py index cf5211f7..b896bbb6 100644 --- a/vrchatapi/models/api_config_min_supported_client_build_number.py +++ b/vrchatapi/models/api_config_min_supported_client_build_number.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_offline_analysis.py b/vrchatapi/models/api_config_offline_analysis.py index a2e5c5d6..16417f83 100644 --- a/vrchatapi/models/api_config_offline_analysis.py +++ b/vrchatapi/models/api_config_offline_analysis.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index 4f68d90f..bd56d222 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index b5e8ae74..9c911490 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_moderation.py b/vrchatapi/models/avatar_moderation.py index 73bb8181..02888c69 100644 --- a/vrchatapi/models/avatar_moderation.py +++ b/vrchatapi/models/avatar_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_moderation_created.py b/vrchatapi/models/avatar_moderation_created.py index 8388874d..86343a72 100644 --- a/vrchatapi/models/avatar_moderation_created.py +++ b/vrchatapi/models/avatar_moderation_created.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_moderation_type.py b/vrchatapi/models/avatar_moderation_type.py index ae68c21a..5d81abb7 100644 --- a/vrchatapi/models/avatar_moderation_type.py +++ b/vrchatapi/models/avatar_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_performance.py b/vrchatapi/models/avatar_performance.py index 227d0aee..fc000998 100644 --- a/vrchatapi/models/avatar_performance.py +++ b/vrchatapi/models/avatar_performance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_published_listings_inner.py b/vrchatapi/models/avatar_published_listings_inner.py index 91601ddf..89348b5f 100644 --- a/vrchatapi/models/avatar_published_listings_inner.py +++ b/vrchatapi/models/avatar_published_listings_inner.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_style.py b/vrchatapi/models/avatar_style.py index e16adb95..3c1d8e74 100644 --- a/vrchatapi/models/avatar_style.py +++ b/vrchatapi/models/avatar_style.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_styles.py b/vrchatapi/models/avatar_styles.py index 904a1c29..2bd9fa85 100644 --- a/vrchatapi/models/avatar_styles.py +++ b/vrchatapi/models/avatar_styles.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index f574fce6..c750b18b 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/badge.py b/vrchatapi/models/badge.py index 71038455..3cb5eb89 100644 --- a/vrchatapi/models/badge.py +++ b/vrchatapi/models/badge.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/balance.py b/vrchatapi/models/balance.py index 6136e54e..4115de6d 100644 --- a/vrchatapi/models/balance.py +++ b/vrchatapi/models/balance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index 32e355ea..254327af 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/boop_request.py b/vrchatapi/models/boop_request.py index a377f30e..8a59cbc5 100644 --- a/vrchatapi/models/boop_request.py +++ b/vrchatapi/models/boop_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/calendar_event.py b/vrchatapi/models/calendar_event.py index bab01206..f33bd703 100644 --- a/vrchatapi/models/calendar_event.py +++ b/vrchatapi/models/calendar_event.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/calendar_event_access.py b/vrchatapi/models/calendar_event_access.py index 0b734dba..0dde37d7 100644 --- a/vrchatapi/models/calendar_event_access.py +++ b/vrchatapi/models/calendar_event_access.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/calendar_event_category.py b/vrchatapi/models/calendar_event_category.py index 2de53afd..cbb6a5f0 100644 --- a/vrchatapi/models/calendar_event_category.py +++ b/vrchatapi/models/calendar_event_category.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/calendar_event_discovery.py b/vrchatapi/models/calendar_event_discovery.py index 8e7f3d7e..ef06f1da 100644 --- a/vrchatapi/models/calendar_event_discovery.py +++ b/vrchatapi/models/calendar_event_discovery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/calendar_event_discovery_inclusion.py b/vrchatapi/models/calendar_event_discovery_inclusion.py index d028f78b..7031f0b7 100644 --- a/vrchatapi/models/calendar_event_discovery_inclusion.py +++ b/vrchatapi/models/calendar_event_discovery_inclusion.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/calendar_event_discovery_scope.py b/vrchatapi/models/calendar_event_discovery_scope.py index 62669ed8..91ed8443 100644 --- a/vrchatapi/models/calendar_event_discovery_scope.py +++ b/vrchatapi/models/calendar_event_discovery_scope.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/calendar_event_platform.py b/vrchatapi/models/calendar_event_platform.py index 8f2c3936..83143005 100644 --- a/vrchatapi/models/calendar_event_platform.py +++ b/vrchatapi/models/calendar_event_platform.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/calendar_event_user_interest.py b/vrchatapi/models/calendar_event_user_interest.py index 46e5c04c..08dae349 100644 --- a/vrchatapi/models/calendar_event_user_interest.py +++ b/vrchatapi/models/calendar_event_user_interest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/change_user_tags_request.py b/vrchatapi/models/change_user_tags_request.py index c3c3c08b..e4ddbb17 100644 --- a/vrchatapi/models/change_user_tags_request.py +++ b/vrchatapi/models/change_user_tags_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/content_filter.py b/vrchatapi/models/content_filter.py index 7c19dd93..71e6635f 100644 --- a/vrchatapi/models/content_filter.py +++ b/vrchatapi/models/content_filter.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_moderation_request.py b/vrchatapi/models/create_avatar_moderation_request.py index 7faef01c..05382598 100644 --- a/vrchatapi/models/create_avatar_moderation_request.py +++ b/vrchatapi/models/create_avatar_moderation_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index d06f47d6..dd61cbb1 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_calendar_event_request.py b/vrchatapi/models/create_calendar_event_request.py index b51beea2..2ecfa078 100644 --- a/vrchatapi/models/create_calendar_event_request.py +++ b/vrchatapi/models/create_calendar_event_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index 4f4cbc19..1e0f8073 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index 5036df6b..5c63cc96 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index cdd07c57..33255200 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index 3d040538..f5cd3fb3 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index c7d5cb7f..ba67aa0d 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_post_request.py b/vrchatapi/models/create_group_post_request.py index a8024a60..d39080bb 100644 --- a/vrchatapi/models/create_group_post_request.py +++ b/vrchatapi/models/create_group_post_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index 32b0144c..6f05202c 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index 0815ca7d..a8816e0d 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_instance_request.py b/vrchatapi/models/create_instance_request.py index 43503434..6745e693 100644 --- a/vrchatapi/models/create_instance_request.py +++ b/vrchatapi/models/create_instance_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_prop_request.py b/vrchatapi/models/create_prop_request.py index 90b660c6..b476c4ba 100644 --- a/vrchatapi/models/create_prop_request.py +++ b/vrchatapi/models/create_prop_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index 21cf49be..dc0e295b 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index 38bb7bec..ecdd8114 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user_platform_history_inner.py b/vrchatapi/models/current_user_platform_history_inner.py index d917113f..708896e7 100644 --- a/vrchatapi/models/current_user_platform_history_inner.py +++ b/vrchatapi/models/current_user_platform_history_inner.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user_presence.py b/vrchatapi/models/current_user_presence.py index de02c1da..4982d493 100644 --- a/vrchatapi/models/current_user_presence.py +++ b/vrchatapi/models/current_user_presence.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/decline_group_invite_request.py b/vrchatapi/models/decline_group_invite_request.py index f2f9ba57..b44ea9e2 100644 --- a/vrchatapi/models/decline_group_invite_request.py +++ b/vrchatapi/models/decline_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index c39718e3..3b05c0ff 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/disable2_fa_result.py b/vrchatapi/models/disable2_fa_result.py index f92a7508..95d82fae 100644 --- a/vrchatapi/models/disable2_fa_result.py +++ b/vrchatapi/models/disable2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/discord_details.py b/vrchatapi/models/discord_details.py index 15e53d9c..a85f8192 100644 --- a/vrchatapi/models/discord_details.py +++ b/vrchatapi/models/discord_details.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index a0b25ceb..e3e80248 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/economy_account.py b/vrchatapi/models/economy_account.py index a734153d..65e0f92e 100644 --- a/vrchatapi/models/economy_account.py +++ b/vrchatapi/models/economy_account.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/equip_inventory_item_request.py b/vrchatapi/models/equip_inventory_item_request.py index 6163c855..948c38c0 100644 --- a/vrchatapi/models/equip_inventory_item_request.py +++ b/vrchatapi/models/equip_inventory_item_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index 188f166b..05f6de4e 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index e617c049..4b966246 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index d43a9a50..15264da7 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_limits.py b/vrchatapi/models/favorite_group_limits.py index 6798e809..bdc04f4f 100644 --- a/vrchatapi/models/favorite_group_limits.py +++ b/vrchatapi/models/favorite_group_limits.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index 4f91be31..0cb5f3ab 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_limits.py b/vrchatapi/models/favorite_limits.py index c55bd427..fa1d001a 100644 --- a/vrchatapi/models/favorite_limits.py +++ b/vrchatapi/models/favorite_limits.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index 1e54bc87..4eabb732 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorited_world.py b/vrchatapi/models/favorited_world.py index be083e0e..6dd2e428 100644 --- a/vrchatapi/models/favorited_world.py +++ b/vrchatapi/models/favorited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/feedback.py b/vrchatapi/models/feedback.py index 092a03ae..155cb534 100644 --- a/vrchatapi/models/feedback.py +++ b/vrchatapi/models/feedback.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index d1ff6a21..28c035fb 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_analysis.py b/vrchatapi/models/file_analysis.py index ef619c7b..d419b2ac 100644 --- a/vrchatapi/models/file_analysis.py +++ b/vrchatapi/models/file_analysis.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_analysis_avatar_stats.py b/vrchatapi/models/file_analysis_avatar_stats.py index 45ad0629..8d845f5f 100644 --- a/vrchatapi/models/file_analysis_avatar_stats.py +++ b/vrchatapi/models/file_analysis_avatar_stats.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index 8c192468..c2ae2c82 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index f55f5b3a..975adbda 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index dbd08a9e..77d0a5b2 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index abce806e..c75c65b3 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index 50f663db..ffc5bcc6 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index 5a03b8df..0813ee97 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/follow_calendar_event_request.py b/vrchatapi/models/follow_calendar_event_request.py index f749d0a4..993a9e96 100644 --- a/vrchatapi/models/follow_calendar_event_request.py +++ b/vrchatapi/models/follow_calendar_event_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index 4711a919..d441bd57 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/get_group_posts200_response.py b/vrchatapi/models/get_group_posts200_response.py index a08cd823..55f3560e 100644 --- a/vrchatapi/models/get_group_posts200_response.py +++ b/vrchatapi/models/get_group_posts200_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/get_user_group_instances200_response.py b/vrchatapi/models/get_user_group_instances200_response.py index dca6ef2e..ae16ecae 100644 --- a/vrchatapi/models/get_user_group_instances200_response.py +++ b/vrchatapi/models/get_user_group_instances200_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index 9448fba8..146118cc 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_access_type.py b/vrchatapi/models/group_access_type.py index 9d2300a9..32eb9f3b 100644 --- a/vrchatapi/models/group_access_type.py +++ b/vrchatapi/models/group_access_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index 5a600617..af423dd7 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index ec5acfe3..26301cb0 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index 1c825429..11b217cf 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_file_order.py b/vrchatapi/models/group_gallery_file_order.py index 50026a76..13f105d5 100644 --- a/vrchatapi/models/group_gallery_file_order.py +++ b/vrchatapi/models/group_gallery_file_order.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_file_order_request.py b/vrchatapi/models/group_gallery_file_order_request.py index 1477a2e9..8fa6d8d3 100644 --- a/vrchatapi/models/group_gallery_file_order_request.py +++ b/vrchatapi/models/group_gallery_file_order_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index 69918667..2094d551 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_instance.py b/vrchatapi/models/group_instance.py index 7a2713a9..88ee0fdd 100644 --- a/vrchatapi/models/group_instance.py +++ b/vrchatapi/models/group_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_request_action.py b/vrchatapi/models/group_join_request_action.py index 15b71ca4..d63bb9d6 100644 --- a/vrchatapi/models/group_join_request_action.py +++ b/vrchatapi/models/group_join_request_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index 621ba039..e80e5346 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index b3d1cc8b..b18ebcd0 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index b7e49eac..e2dea1a5 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index 07d06bd0..4de41f00 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index b6a44d7f..beeccfc7 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index 540c0472..1162a20e 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index 64cb2cad..6595fdcf 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permissions.py b/vrchatapi/models/group_permissions.py index b7b26631..29551e8b 100644 --- a/vrchatapi/models/group_permissions.py +++ b/vrchatapi/models/group_permissions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post.py b/vrchatapi/models/group_post.py index 97d42897..86784647 100644 --- a/vrchatapi/models/group_post.py +++ b/vrchatapi/models/group_post.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post_visibility.py b/vrchatapi/models/group_post_visibility.py index c4f0c786..2d8c9bba 100644 --- a/vrchatapi/models/group_post_visibility.py +++ b/vrchatapi/models/group_post_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index f7affeb4..1f13f57e 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index 6711317e..c1e82cb2 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index d85b4338..fc9d760a 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template_values.py b/vrchatapi/models/group_role_template_values.py index 1a9f3db0..777dfc31 100644 --- a/vrchatapi/models/group_role_template_values.py +++ b/vrchatapi/models/group_role_template_values.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template_values_roles.py b/vrchatapi/models/group_role_template_values_roles.py index b78675ac..3852339a 100644 --- a/vrchatapi/models/group_role_template_values_roles.py +++ b/vrchatapi/models/group_role_template_values_roles.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_search_sort.py b/vrchatapi/models/group_search_sort.py index 3cfcf76a..c73cbee5 100644 --- a/vrchatapi/models/group_search_sort.py +++ b/vrchatapi/models/group_search_sort.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_transferable.py b/vrchatapi/models/group_transferable.py index 948b19df..89a99f07 100644 --- a/vrchatapi/models/group_transferable.py +++ b/vrchatapi/models/group_transferable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_transferable_requirements.py b/vrchatapi/models/group_transferable_requirements.py index b6671256..4a3363ef 100644 --- a/vrchatapi/models/group_transferable_requirements.py +++ b/vrchatapi/models/group_transferable_requirements.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index 9d9a2420..b729b70e 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/image_animation_style.py b/vrchatapi/models/image_animation_style.py index c31dc562..6697d142 100644 --- a/vrchatapi/models/image_animation_style.py +++ b/vrchatapi/models/image_animation_style.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/image_loop_style.py b/vrchatapi/models/image_loop_style.py index 4232daa7..c2278ef1 100644 --- a/vrchatapi/models/image_loop_style.py +++ b/vrchatapi/models/image_loop_style.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/image_mask.py b/vrchatapi/models/image_mask.py index e9fe8013..06dcd2e0 100644 --- a/vrchatapi/models/image_mask.py +++ b/vrchatapi/models/image_mask.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index dbd15dd1..ef775c6d 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index 5d50210d..eecaf298 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index 79d83e93..90bbfbe7 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index 367c6818..3af27619 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index ebcdd8f0..78c3860b 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index 45f9a61b..749fb02d 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_content_settings.py b/vrchatapi/models/instance_content_settings.py index 1f1ee47d..f5d6e65f 100644 --- a/vrchatapi/models/instance_content_settings.py +++ b/vrchatapi/models/instance_content_settings.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index e1da0c10..3f636971 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_region.py b/vrchatapi/models/instance_region.py index b3c63fba..709817ea 100644 --- a/vrchatapi/models/instance_region.py +++ b/vrchatapi/models/instance_region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index e4488cf5..cd13e012 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index fcdb70c6..6f292520 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory.py b/vrchatapi/models/inventory.py index 62cf9a32..ee1b6b5d 100644 --- a/vrchatapi/models/inventory.py +++ b/vrchatapi/models/inventory.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_consumption_results.py b/vrchatapi/models/inventory_consumption_results.py index a4de6fb1..7bf0fba3 100644 --- a/vrchatapi/models/inventory_consumption_results.py +++ b/vrchatapi/models/inventory_consumption_results.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_default_attributes1.py b/vrchatapi/models/inventory_default_attributes1.py index 8201d5cd..677e8ded 100644 --- a/vrchatapi/models/inventory_default_attributes1.py +++ b/vrchatapi/models/inventory_default_attributes1.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_default_attributes1_validator.py b/vrchatapi/models/inventory_default_attributes1_validator.py index a1215eb0..93174114 100644 --- a/vrchatapi/models/inventory_default_attributes1_validator.py +++ b/vrchatapi/models/inventory_default_attributes1_validator.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_drop.py b/vrchatapi/models/inventory_drop.py index e68d13e3..7cd987c6 100644 --- a/vrchatapi/models/inventory_drop.py +++ b/vrchatapi/models/inventory_drop.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_equip_slot.py b/vrchatapi/models/inventory_equip_slot.py index c04d8f34..d28adaa2 100644 --- a/vrchatapi/models/inventory_equip_slot.py +++ b/vrchatapi/models/inventory_equip_slot.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_flag.py b/vrchatapi/models/inventory_flag.py index 9cb032db..49c77b12 100644 --- a/vrchatapi/models/inventory_flag.py +++ b/vrchatapi/models/inventory_flag.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_item.py b/vrchatapi/models/inventory_item.py index fc86543f..3843503d 100644 --- a/vrchatapi/models/inventory_item.py +++ b/vrchatapi/models/inventory_item.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_item_type.py b/vrchatapi/models/inventory_item_type.py index 0ce2c75f..24fa1e8d 100644 --- a/vrchatapi/models/inventory_item_type.py +++ b/vrchatapi/models/inventory_item_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_metadata.py b/vrchatapi/models/inventory_metadata.py index 234f9e02..3e21efbe 100644 --- a/vrchatapi/models/inventory_metadata.py +++ b/vrchatapi/models/inventory_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_notification_details.py b/vrchatapi/models/inventory_notification_details.py index b32013b6..125c21bf 100644 --- a/vrchatapi/models/inventory_notification_details.py +++ b/vrchatapi/models/inventory_notification_details.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_spawn.py b/vrchatapi/models/inventory_spawn.py index ebb3f0aa..c738e3d5 100644 --- a/vrchatapi/models/inventory_spawn.py +++ b/vrchatapi/models/inventory_spawn.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_template.py b/vrchatapi/models/inventory_template.py index 296393e2..a554f832 100644 --- a/vrchatapi/models/inventory_template.py +++ b/vrchatapi/models/inventory_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_user_attributes.py b/vrchatapi/models/inventory_user_attributes.py index 37c1cedb..cf0fff79 100644 --- a/vrchatapi/models/inventory_user_attributes.py +++ b/vrchatapi/models/inventory_user_attributes.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index df7f0c4d..9e97d2cb 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index 4cabe936..729e5aa8 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index b477c57b..ba12e1aa 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index 22071160..cc99c187 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/jam.py b/vrchatapi/models/jam.py index 15093268..f9b38183 100644 --- a/vrchatapi/models/jam.py +++ b/vrchatapi/models/jam.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/jam_state_change_dates.py b/vrchatapi/models/jam_state_change_dates.py index 0fbae0e8..b7554bcd 100644 --- a/vrchatapi/models/jam_state_change_dates.py +++ b/vrchatapi/models/jam_state_change_dates.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/join_group_request.py b/vrchatapi/models/join_group_request.py index 2f5df899..629119ca 100644 --- a/vrchatapi/models/join_group_request.py +++ b/vrchatapi/models/join_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index d1907271..ac1a6345 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index f3939bef..1d1634c0 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index e56b63ba..a26a48c7 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index d7dbef64..d4a129f4 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_group.py b/vrchatapi/models/limited_group.py index ea79de96..936019d4 100644 --- a/vrchatapi/models/limited_group.py +++ b/vrchatapi/models/limited_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index 2483c547..0e71d09f 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user_friend.py b/vrchatapi/models/limited_user_friend.py index a8d736bf..257f691f 100644 --- a/vrchatapi/models/limited_user_friend.py +++ b/vrchatapi/models/limited_user_friend.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user_groups.py b/vrchatapi/models/limited_user_groups.py index 579665f6..fc800bd3 100644 --- a/vrchatapi/models/limited_user_groups.py +++ b/vrchatapi/models/limited_user_groups.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user_instance.py b/vrchatapi/models/limited_user_instance.py index 619b9052..0f17b299 100644 --- a/vrchatapi/models/limited_user_instance.py +++ b/vrchatapi/models/limited_user_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user_search.py b/vrchatapi/models/limited_user_search.py index b5888805..1ec9ad87 100644 --- a/vrchatapi/models/limited_user_search.py +++ b/vrchatapi/models/limited_user_search.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index 9d1b83ee..ddca30d5 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index 8ad3ed2f..a9b7028f 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/model_print.py b/vrchatapi/models/model_print.py index 40f71fef..b9b46a16 100644 --- a/vrchatapi/models/model_print.py +++ b/vrchatapi/models/model_print.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index 7df5f27d..f5356d3e 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderation_report.py b/vrchatapi/models/moderation_report.py index 746a5cbe..61d15b62 100644 --- a/vrchatapi/models/moderation_report.py +++ b/vrchatapi/models/moderation_report.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mutual_friend.py b/vrchatapi/models/mutual_friend.py index c3696c81..d5890875 100644 --- a/vrchatapi/models/mutual_friend.py +++ b/vrchatapi/models/mutual_friend.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mutuals.py b/vrchatapi/models/mutuals.py index b92af7eb..1f2ac7ae 100644 --- a/vrchatapi/models/mutuals.py +++ b/vrchatapi/models/mutuals.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index 19814491..64aeaf79 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite.py b/vrchatapi/models/notification_detail_invite.py index 44398ff6..bfbd2a06 100644 --- a/vrchatapi/models/notification_detail_invite.py +++ b/vrchatapi/models/notification_detail_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite_response.py b/vrchatapi/models/notification_detail_invite_response.py index 167000e0..a08ac1c2 100644 --- a/vrchatapi/models/notification_detail_invite_response.py +++ b/vrchatapi/models/notification_detail_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite.py b/vrchatapi/models/notification_detail_request_invite.py index a2f5c045..abf82d88 100644 --- a/vrchatapi/models/notification_detail_request_invite.py +++ b/vrchatapi/models/notification_detail_request_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite_response.py b/vrchatapi/models/notification_detail_request_invite_response.py index dcdd6998..d5d110f6 100644 --- a/vrchatapi/models/notification_detail_request_invite_response.py +++ b/vrchatapi/models/notification_detail_request_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_vote_to_kick.py b/vrchatapi/models/notification_detail_vote_to_kick.py index cefeb45c..e93e1926 100644 --- a/vrchatapi/models/notification_detail_vote_to_kick.py +++ b/vrchatapi/models/notification_detail_vote_to_kick.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index b2685351..cf762d78 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_v2.py b/vrchatapi/models/notification_v2.py index e2ae4ea5..095d3e40 100644 --- a/vrchatapi/models/notification_v2.py +++ b/vrchatapi/models/notification_v2.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_v2_details_boop.py b/vrchatapi/models/notification_v2_details_boop.py index d5c9bb0f..ba7f2cf6 100644 --- a/vrchatapi/models/notification_v2_details_boop.py +++ b/vrchatapi/models/notification_v2_details_boop.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_v2_response.py b/vrchatapi/models/notification_v2_response.py index 292faa7c..cd9f33be 100644 --- a/vrchatapi/models/notification_v2_response.py +++ b/vrchatapi/models/notification_v2_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_v2_type.py b/vrchatapi/models/notification_v2_type.py index 9eb60602..117c17ed 100644 --- a/vrchatapi/models/notification_v2_type.py +++ b/vrchatapi/models/notification_v2_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ok_status.py b/vrchatapi/models/ok_status.py index c9a23012..1437bc0f 100644 --- a/vrchatapi/models/ok_status.py +++ b/vrchatapi/models/ok_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ok_status2.py b/vrchatapi/models/ok_status2.py index 2186ca9f..17f19dee 100644 --- a/vrchatapi/models/ok_status2.py +++ b/vrchatapi/models/ok_status2.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index b28b5ec3..5d45d320 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option_short.py b/vrchatapi/models/order_option_short.py index 00deac25..54d70750 100644 --- a/vrchatapi/models/order_option_short.py +++ b/vrchatapi/models/order_option_short.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_calendar_event_list.py b/vrchatapi/models/paginated_calendar_event_list.py index 3d812037..4cd3beff 100644 --- a/vrchatapi/models/paginated_calendar_event_list.py +++ b/vrchatapi/models/paginated_calendar_event_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index 5908ef9d..4e4ea81f 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_moderation_report_list.py b/vrchatapi/models/paginated_moderation_report_list.py index f74bdee7..cbeb212f 100644 --- a/vrchatapi/models/paginated_moderation_report_list.py +++ b/vrchatapi/models/paginated_moderation_report_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index 4bb54ad1..f9e6a16f 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/pending2_fa_result.py b/vrchatapi/models/pending2_fa_result.py index dcfb8804..f81d55ae 100644 --- a/vrchatapi/models/pending2_fa_result.py +++ b/vrchatapi/models/pending2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/performance_limiter_info.py b/vrchatapi/models/performance_limiter_info.py index b82bcd34..820788b3 100644 --- a/vrchatapi/models/performance_limiter_info.py +++ b/vrchatapi/models/performance_limiter_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/performance_ratings.py b/vrchatapi/models/performance_ratings.py index 6c1335a4..b247c739 100644 --- a/vrchatapi/models/performance_ratings.py +++ b/vrchatapi/models/performance_ratings.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index 2de4ccb6..ff5bc147 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission_data.py b/vrchatapi/models/permission_data.py index 21bf3ff8..e549f1ed 100644 --- a/vrchatapi/models/permission_data.py +++ b/vrchatapi/models/permission_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/platform_build_info.py b/vrchatapi/models/platform_build_info.py index 946f8170..6ceda152 100644 --- a/vrchatapi/models/platform_build_info.py +++ b/vrchatapi/models/platform_build_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index 7bd7696e..e146c9f4 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index cb2b0ad3..66b9d1e5 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/print_files.py b/vrchatapi/models/print_files.py index 4b5bfdac..47efb418 100644 --- a/vrchatapi/models/print_files.py +++ b/vrchatapi/models/print_files.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product.py b/vrchatapi/models/product.py index 0e19fffe..edac9be5 100644 --- a/vrchatapi/models/product.py +++ b/vrchatapi/models/product.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_listing.py b/vrchatapi/models/product_listing.py index b86b05f6..4ba13e0b 100644 --- a/vrchatapi/models/product_listing.py +++ b/vrchatapi/models/product_listing.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_listing_type.py b/vrchatapi/models/product_listing_type.py index 4c14b3b8..88d9465c 100644 --- a/vrchatapi/models/product_listing_type.py +++ b/vrchatapi/models/product_listing_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_listing_variant.py b/vrchatapi/models/product_listing_variant.py index 5f9468ad..f5aee26b 100644 --- a/vrchatapi/models/product_listing_variant.py +++ b/vrchatapi/models/product_listing_variant.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_purchase.py b/vrchatapi/models/product_purchase.py index 974b427c..c78e6982 100644 --- a/vrchatapi/models/product_purchase.py +++ b/vrchatapi/models/product_purchase.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_purchase_purchase_context.py b/vrchatapi/models/product_purchase_purchase_context.py index 184e45ec..ed7c07fb 100644 --- a/vrchatapi/models/product_purchase_purchase_context.py +++ b/vrchatapi/models/product_purchase_purchase_context.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_type.py b/vrchatapi/models/product_type.py index 7d19f81a..46eaba47 100644 --- a/vrchatapi/models/product_type.py +++ b/vrchatapi/models/product_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/prop.py b/vrchatapi/models/prop.py index 347e9d19..0f1ec527 100644 --- a/vrchatapi/models/prop.py +++ b/vrchatapi/models/prop.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/prop_publish_status.py b/vrchatapi/models/prop_publish_status.py index 775378ac..d08b62c7 100644 --- a/vrchatapi/models/prop_publish_status.py +++ b/vrchatapi/models/prop_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/prop_unity_package.py b/vrchatapi/models/prop_unity_package.py index 2da899f8..0e2b9dbe 100644 --- a/vrchatapi/models/prop_unity_package.py +++ b/vrchatapi/models/prop_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/purchase_product_listing_request.py b/vrchatapi/models/purchase_product_listing_request.py index 951bca78..5a850243 100644 --- a/vrchatapi/models/purchase_product_listing_request.py +++ b/vrchatapi/models/purchase_product_listing_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index 3f43dca2..4440672b 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/register_user_account_request.py b/vrchatapi/models/register_user_account_request.py index 60141e6f..eb82785d 100644 --- a/vrchatapi/models/register_user_account_request.py +++ b/vrchatapi/models/register_user_account_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index c87e8d7b..c57de42c 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/report_category.py b/vrchatapi/models/report_category.py index 254a780e..2be52454 100644 --- a/vrchatapi/models/report_category.py +++ b/vrchatapi/models/report_category.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/report_reason.py b/vrchatapi/models/report_reason.py index b8ffda96..1205e29f 100644 --- a/vrchatapi/models/report_reason.py +++ b/vrchatapi/models/report_reason.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/represented_group.py b/vrchatapi/models/represented_group.py index 697b4af2..9aa5823c 100644 --- a/vrchatapi/models/represented_group.py +++ b/vrchatapi/models/represented_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index 5eafd194..7001c0a9 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index 3327999a..39aa0ef9 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_notification_v2_request.py b/vrchatapi/models/respond_notification_v2_request.py index efdf0629..b715dcd8 100644 --- a/vrchatapi/models/respond_notification_v2_request.py +++ b/vrchatapi/models/respond_notification_v2_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index 09ab690a..b97f4f9f 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/search_group_members200_response.py b/vrchatapi/models/search_group_members200_response.py index 50f70479..83864da6 100644 --- a/vrchatapi/models/search_group_members200_response.py +++ b/vrchatapi/models/search_group_members200_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index a2e339d0..e659d683 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/service_queue_stats.py b/vrchatapi/models/service_queue_stats.py index 74c6b5ca..e35c34c2 100644 --- a/vrchatapi/models/service_queue_stats.py +++ b/vrchatapi/models/service_queue_stats.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/service_status.py b/vrchatapi/models/service_status.py index 76fb30a0..28ad1ffc 100644 --- a/vrchatapi/models/service_status.py +++ b/vrchatapi/models/service_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/share_inventory_item_direct_request.py b/vrchatapi/models/share_inventory_item_direct_request.py index 6cc08759..e0ce2308 100644 --- a/vrchatapi/models/share_inventory_item_direct_request.py +++ b/vrchatapi/models/share_inventory_item_direct_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index 5b3f0577..2bdac5c6 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option_product_purchase.py b/vrchatapi/models/sort_option_product_purchase.py index 7d2c7618..d8cf3dda 100644 --- a/vrchatapi/models/sort_option_product_purchase.py +++ b/vrchatapi/models/sort_option_product_purchase.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/store.py b/vrchatapi/models/store.py index 16f6cf2a..893face1 100644 --- a/vrchatapi/models/store.py +++ b/vrchatapi/models/store.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/store_shelf.py b/vrchatapi/models/store_shelf.py index a15a76d1..f1d898d1 100644 --- a/vrchatapi/models/store_shelf.py +++ b/vrchatapi/models/store_shelf.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/store_type.py b/vrchatapi/models/store_type.py index cd0f948e..cfd34707 100644 --- a/vrchatapi/models/store_type.py +++ b/vrchatapi/models/store_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/store_view.py b/vrchatapi/models/store_view.py index 94ab5d53..cec98cb8 100644 --- a/vrchatapi/models/store_view.py +++ b/vrchatapi/models/store_view.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/submission.py b/vrchatapi/models/submission.py index 8fe3e3a7..def32282 100644 --- a/vrchatapi/models/submission.py +++ b/vrchatapi/models/submission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/submit_moderation_report_request.py b/vrchatapi/models/submit_moderation_report_request.py index e5af32fd..fa1c4da8 100644 --- a/vrchatapi/models/submit_moderation_report_request.py +++ b/vrchatapi/models/submit_moderation_report_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/submit_moderation_report_request_details.py b/vrchatapi/models/submit_moderation_report_request_details.py index 263ff808..d6e1d39d 100644 --- a/vrchatapi/models/submit_moderation_report_request_details.py +++ b/vrchatapi/models/submit_moderation_report_request_details.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index be4931be..bba72e63 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index f000bdff..edc1a13f 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index dd02b710..d05d6b42 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success_flag.py b/vrchatapi/models/success_flag.py index 39d56fd9..5786a11d 100644 --- a/vrchatapi/models/success_flag.py +++ b/vrchatapi/models/success_flag.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/tilia_status.py b/vrchatapi/models/tilia_status.py index 4f06c662..5f6bf825 100644 --- a/vrchatapi/models/tilia_status.py +++ b/vrchatapi/models/tilia_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/tilia_tos.py b/vrchatapi/models/tilia_tos.py index c1e25138..254a17ef 100644 --- a/vrchatapi/models/tilia_tos.py +++ b/vrchatapi/models/tilia_tos.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/token_bundle.py b/vrchatapi/models/token_bundle.py index 432f978f..142e1948 100644 --- a/vrchatapi/models/token_bundle.py +++ b/vrchatapi/models/token_bundle.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index 5e0dd818..fc9c1e19 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index 521f545f..b182845e 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index c6540a2b..34730d80 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index 28821923..ab6f42c5 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index 94d3d05d..ecdfcd3e 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transfer_group_request.py b/vrchatapi/models/transfer_group_request.py index 3fd332af..f3663e31 100644 --- a/vrchatapi/models/transfer_group_request.py +++ b/vrchatapi/models/transfer_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index bb3f64a8..be26d725 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_email_code.py b/vrchatapi/models/two_factor_email_code.py index 09368d38..d0bf5361 100644 --- a/vrchatapi/models/two_factor_email_code.py +++ b/vrchatapi/models/two_factor_email_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_recovery_codes.py b/vrchatapi/models/two_factor_recovery_codes.py index 4aadecb8..af16836d 100644 --- a/vrchatapi/models/two_factor_recovery_codes.py +++ b/vrchatapi/models/two_factor_recovery_codes.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_recovery_codes_otp_inner.py b/vrchatapi/models/two_factor_recovery_codes_otp_inner.py index a8a53e7e..7b7ddaf4 100644 --- a/vrchatapi/models/two_factor_recovery_codes_otp_inner.py +++ b/vrchatapi/models/two_factor_recovery_codes_otp_inner.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index ada860c9..618376d4 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_asset_review_notes_request.py b/vrchatapi/models/update_asset_review_notes_request.py index 6ef416d7..ea1f40a1 100644 --- a/vrchatapi/models/update_asset_review_notes_request.py +++ b/vrchatapi/models/update_asset_review_notes_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index 90e8dc49..fcffaf1b 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_calendar_event_request.py b/vrchatapi/models/update_calendar_event_request.py index bdbf29a7..438c7832 100644 --- a/vrchatapi/models/update_calendar_event_request.py +++ b/vrchatapi/models/update_calendar_event_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index e8bc0f49..222acabb 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index 7fc535ec..6ca03a6a 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index 6e927f4c..bc650330 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_representation_request.py b/vrchatapi/models/update_group_representation_request.py index 2fa099ca..d03b3dae 100644 --- a/vrchatapi/models/update_group_representation_request.py +++ b/vrchatapi/models/update_group_representation_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index d6b68517..5ce3c089 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index cc0834b9..ab687abb 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_inventory_item_request.py b/vrchatapi/models/update_inventory_item_request.py index ea17e462..bea3aede 100644 --- a/vrchatapi/models/update_inventory_item_request.py +++ b/vrchatapi/models/update_inventory_item_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index c66d3694..c12177b4 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_prop_request.py b/vrchatapi/models/update_prop_request.py index c59e648d..d2304f10 100644 --- a/vrchatapi/models/update_prop_request.py +++ b/vrchatapi/models/update_prop_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_tilia_tos_request.py b/vrchatapi/models/update_tilia_tos_request.py index f6656685..715acdb6 100644 --- a/vrchatapi/models/update_tilia_tos_request.py +++ b/vrchatapi/models/update_tilia_tos_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_badge_request.py b/vrchatapi/models/update_user_badge_request.py index de59ad2f..ce70ab99 100644 --- a/vrchatapi/models/update_user_badge_request.py +++ b/vrchatapi/models/update_user_badge_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_note_request.py b/vrchatapi/models/update_user_note_request.py index 587fb53a..e0e0883a 100644 --- a/vrchatapi/models/update_user_note_request.py +++ b/vrchatapi/models/update_user_note_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index 1663e850..2b14f5b9 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index d74b97a2..7063c5c3 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index 300bc895..8880c8e6 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_credits_eligible.py b/vrchatapi/models/user_credits_eligible.py index c42c7d55..e951662f 100644 --- a/vrchatapi/models/user_credits_eligible.py +++ b/vrchatapi/models/user_credits_eligible.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index 33f4a3b4..6cf2cc95 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_note.py b/vrchatapi/models/user_note.py index b2189d87..6a87f3a5 100644 --- a/vrchatapi/models/user_note.py +++ b/vrchatapi/models/user_note.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_note_target_user.py b/vrchatapi/models/user_note_target_user.py index ab2bc11a..8408292e 100644 --- a/vrchatapi/models/user_note_target_user.py +++ b/vrchatapi/models/user_note_target_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index d66c0151..dfba82c7 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index bace0b1a..a0408939 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index 98992967..8ff7d9c8 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription_eligible.py b/vrchatapi/models/user_subscription_eligible.py index ef1abf57..6fb39be8 100644 --- a/vrchatapi/models/user_subscription_eligible.py +++ b/vrchatapi/models/user_subscription_eligible.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_email_code_result.py b/vrchatapi/models/verify2_fa_email_code_result.py index a69def17..9236e56b 100644 --- a/vrchatapi/models/verify2_fa_email_code_result.py +++ b/vrchatapi/models/verify2_fa_email_code_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index 13e9d620..325f6fd9 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index 6e48eaf6..f3f6b601 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index 446bce82..e37a471d 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index 6d247e79..dd726238 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index ef9e7dba..f103f215 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index 5cd5e3f0..e5427dc8 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.7.dev33 + The version of the OpenAPI document: 1.20.6 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ From e6aa1bc2653e8b25311222cb17495a16a5ef6ab8 Mon Sep 17 00:00:00 2001 From: ariesclark Date: Thu, 1 Jan 2026 18:18:45 +0000 Subject: [PATCH 086/102] Upgrade Python SDK to spec 1.20.8.dev0 --- setup.py | 4 ++-- vrchatapi/__init__.py | 2 +- vrchatapi/api/authentication_api.py | 2 +- vrchatapi/api/avatars_api.py | 2 +- vrchatapi/api/calendar_api.py | 2 +- vrchatapi/api/economy_api.py | 2 +- vrchatapi/api/favorites_api.py | 2 +- vrchatapi/api/files_api.py | 2 +- vrchatapi/api/friends_api.py | 2 +- vrchatapi/api/groups_api.py | 2 +- vrchatapi/api/instances_api.py | 2 +- vrchatapi/api/inventory_api.py | 2 +- vrchatapi/api/invite_api.py | 2 +- vrchatapi/api/jams_api.py | 2 +- vrchatapi/api/miscellaneous_api.py | 2 +- vrchatapi/api/notifications_api.py | 2 +- vrchatapi/api/playermoderation_api.py | 2 +- vrchatapi/api/prints_api.py | 2 +- vrchatapi/api/props_api.py | 2 +- vrchatapi/api/users_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- vrchatapi/api_client.py | 2 +- vrchatapi/configuration.py | 4 ++-- vrchatapi/exceptions.py | 2 +- vrchatapi/models/__init__.py | 2 +- vrchatapi/models/account_deletion_log.py | 2 +- vrchatapi/models/add_favorite_request.py | 2 +- vrchatapi/models/add_group_gallery_image_request.py | 2 +- vrchatapi/models/admin_asset_bundle.py | 2 +- vrchatapi/models/admin_unity_package.py | 2 +- vrchatapi/models/age_verification_status.py | 2 +- vrchatapi/models/agreement.py | 2 +- vrchatapi/models/agreement_code.py | 2 +- vrchatapi/models/agreement_request.py | 2 +- vrchatapi/models/agreement_status.py | 2 +- vrchatapi/models/api_config.py | 2 +- vrchatapi/models/api_config_access_logs_urls.py | 2 +- vrchatapi/models/api_config_announcement.py | 2 +- vrchatapi/models/api_config_audio_config.py | 2 +- vrchatapi/models/api_config_avatar_perf_limiter.py | 2 +- vrchatapi/models/api_config_constants.py | 2 +- vrchatapi/models/api_config_constants_groups.py | 2 +- vrchatapi/models/api_config_constants_instance.py | 2 +- .../models/api_config_constants_instancepopulationbrackets.py | 2 +- .../api_config_constants_instancepopulationbracketscrowded.py | 2 +- .../api_config_constants_instancepopulationbracketsfew.py | 2 +- .../api_config_constants_instancepopulationbracketsmany.py | 2 +- vrchatapi/models/api_config_constants_language.py | 2 +- vrchatapi/models/api_config_download_url_list.py | 2 +- vrchatapi/models/api_config_events.py | 2 +- vrchatapi/models/api_config_ios_version.py | 2 +- .../models/api_config_min_supported_client_build_number.py | 2 +- vrchatapi/models/api_config_offline_analysis.py | 2 +- vrchatapi/models/api_health.py | 2 +- vrchatapi/models/avatar.py | 2 +- vrchatapi/models/avatar_moderation.py | 2 +- vrchatapi/models/avatar_moderation_created.py | 2 +- vrchatapi/models/avatar_moderation_type.py | 2 +- vrchatapi/models/avatar_performance.py | 2 +- vrchatapi/models/avatar_published_listings_inner.py | 2 +- vrchatapi/models/avatar_style.py | 2 +- vrchatapi/models/avatar_styles.py | 2 +- vrchatapi/models/avatar_unity_package_url_object.py | 2 +- vrchatapi/models/badge.py | 2 +- vrchatapi/models/balance.py | 2 +- vrchatapi/models/ban_group_member_request.py | 2 +- vrchatapi/models/boop_request.py | 2 +- vrchatapi/models/calendar_event.py | 2 +- vrchatapi/models/calendar_event_access.py | 2 +- vrchatapi/models/calendar_event_category.py | 2 +- vrchatapi/models/calendar_event_discovery.py | 2 +- vrchatapi/models/calendar_event_discovery_inclusion.py | 2 +- vrchatapi/models/calendar_event_discovery_scope.py | 2 +- vrchatapi/models/calendar_event_platform.py | 2 +- vrchatapi/models/calendar_event_user_interest.py | 2 +- vrchatapi/models/change_user_tags_request.py | 2 +- vrchatapi/models/content_filter.py | 2 +- vrchatapi/models/create_avatar_moderation_request.py | 2 +- vrchatapi/models/create_avatar_request.py | 2 +- vrchatapi/models/create_calendar_event_request.py | 2 +- vrchatapi/models/create_file_request.py | 2 +- vrchatapi/models/create_file_version_request.py | 2 +- vrchatapi/models/create_group_announcement_request.py | 2 +- vrchatapi/models/create_group_gallery_request.py | 2 +- vrchatapi/models/create_group_invite_request.py | 2 +- vrchatapi/models/create_group_post_request.py | 2 +- vrchatapi/models/create_group_request.py | 2 +- vrchatapi/models/create_group_role_request.py | 2 +- vrchatapi/models/create_instance_request.py | 2 +- vrchatapi/models/create_prop_request.py | 2 +- vrchatapi/models/create_world_request.py | 2 +- vrchatapi/models/current_user.py | 2 +- vrchatapi/models/current_user_platform_history_inner.py | 2 +- vrchatapi/models/current_user_presence.py | 2 +- vrchatapi/models/decline_group_invite_request.py | 2 +- vrchatapi/models/developer_type.py | 2 +- vrchatapi/models/disable2_fa_result.py | 2 +- vrchatapi/models/discord_details.py | 2 +- vrchatapi/models/dynamic_content_row.py | 2 +- vrchatapi/models/economy_account.py | 2 +- vrchatapi/models/equip_inventory_item_request.py | 2 +- vrchatapi/models/error.py | 2 +- vrchatapi/models/favorite.py | 2 +- vrchatapi/models/favorite_group.py | 2 +- vrchatapi/models/favorite_group_limits.py | 2 +- vrchatapi/models/favorite_group_visibility.py | 2 +- vrchatapi/models/favorite_limits.py | 2 +- vrchatapi/models/favorite_type.py | 2 +- vrchatapi/models/favorited_world.py | 2 +- vrchatapi/models/feedback.py | 2 +- vrchatapi/models/file.py | 2 +- vrchatapi/models/file_analysis.py | 2 +- vrchatapi/models/file_analysis_avatar_stats.py | 2 +- vrchatapi/models/file_data.py | 2 +- vrchatapi/models/file_status.py | 2 +- vrchatapi/models/file_upload_url.py | 2 +- vrchatapi/models/file_version.py | 2 +- vrchatapi/models/file_version_upload_status.py | 2 +- vrchatapi/models/finish_file_data_upload_request.py | 2 +- vrchatapi/models/follow_calendar_event_request.py | 2 +- vrchatapi/models/friend_status.py | 2 +- vrchatapi/models/get_group_posts200_response.py | 2 +- vrchatapi/models/get_user_group_instances200_response.py | 2 +- vrchatapi/models/group.py | 2 +- vrchatapi/models/group_access_type.py | 2 +- vrchatapi/models/group_announcement.py | 2 +- vrchatapi/models/group_audit_log_entry.py | 2 +- vrchatapi/models/group_gallery.py | 2 +- vrchatapi/models/group_gallery_file_order.py | 2 +- vrchatapi/models/group_gallery_file_order_request.py | 2 +- vrchatapi/models/group_gallery_image.py | 2 +- vrchatapi/models/group_instance.py | 2 +- vrchatapi/models/group_join_request_action.py | 2 +- vrchatapi/models/group_join_state.py | 2 +- vrchatapi/models/group_limited_member.py | 2 +- vrchatapi/models/group_member.py | 2 +- vrchatapi/models/group_member_limited_user.py | 2 +- vrchatapi/models/group_member_status.py | 2 +- vrchatapi/models/group_my_member.py | 2 +- vrchatapi/models/group_permission.py | 2 +- vrchatapi/models/group_permissions.py | 2 +- vrchatapi/models/group_post.py | 2 +- vrchatapi/models/group_post_visibility.py | 2 +- vrchatapi/models/group_privacy.py | 2 +- vrchatapi/models/group_role.py | 2 +- vrchatapi/models/group_role_template.py | 2 +- vrchatapi/models/group_role_template_values.py | 2 +- vrchatapi/models/group_role_template_values_roles.py | 2 +- vrchatapi/models/group_search_sort.py | 2 +- vrchatapi/models/group_transferable.py | 2 +- vrchatapi/models/group_transferable_requirements.py | 2 +- vrchatapi/models/group_user_visibility.py | 2 +- vrchatapi/models/image_animation_style.py | 2 +- vrchatapi/models/image_loop_style.py | 2 +- vrchatapi/models/image_mask.py | 2 +- vrchatapi/models/info_push.py | 2 +- vrchatapi/models/info_push_data.py | 2 +- vrchatapi/models/info_push_data_article.py | 2 +- vrchatapi/models/info_push_data_article_content.py | 2 +- vrchatapi/models/info_push_data_clickable.py | 2 +- vrchatapi/models/instance.py | 2 +- vrchatapi/models/instance_content_settings.py | 2 +- vrchatapi/models/instance_platforms.py | 2 +- vrchatapi/models/instance_region.py | 2 +- vrchatapi/models/instance_short_name_response.py | 2 +- vrchatapi/models/instance_type.py | 2 +- vrchatapi/models/inventory.py | 2 +- vrchatapi/models/inventory_consumption_results.py | 2 +- vrchatapi/models/inventory_default_attributes1.py | 2 +- vrchatapi/models/inventory_default_attributes1_validator.py | 2 +- vrchatapi/models/inventory_drop.py | 2 +- vrchatapi/models/inventory_equip_slot.py | 2 +- vrchatapi/models/inventory_flag.py | 2 +- vrchatapi/models/inventory_item.py | 2 +- vrchatapi/models/inventory_item_type.py | 2 +- vrchatapi/models/inventory_metadata.py | 2 +- vrchatapi/models/inventory_notification_details.py | 2 +- vrchatapi/models/inventory_spawn.py | 2 +- vrchatapi/models/inventory_template.py | 2 +- vrchatapi/models/inventory_user_attributes.py | 2 +- vrchatapi/models/invite_message.py | 2 +- vrchatapi/models/invite_message_type.py | 2 +- vrchatapi/models/invite_request.py | 2 +- vrchatapi/models/invite_response.py | 2 +- vrchatapi/models/jam.py | 2 +- vrchatapi/models/jam_state_change_dates.py | 2 +- vrchatapi/models/join_group_request.py | 2 +- vrchatapi/models/license.py | 2 +- vrchatapi/models/license_action.py | 2 +- vrchatapi/models/license_group.py | 2 +- vrchatapi/models/license_type.py | 2 +- vrchatapi/models/limited_group.py | 2 +- vrchatapi/models/limited_unity_package.py | 2 +- vrchatapi/models/limited_user_friend.py | 2 +- vrchatapi/models/limited_user_groups.py | 2 +- vrchatapi/models/limited_user_instance.py | 2 +- vrchatapi/models/limited_user_search.py | 2 +- vrchatapi/models/limited_world.py | 2 +- vrchatapi/models/mime_type.py | 2 +- vrchatapi/models/model_print.py | 2 +- vrchatapi/models/moderate_user_request.py | 2 +- vrchatapi/models/moderation_report.py | 2 +- vrchatapi/models/mutual_friend.py | 2 +- vrchatapi/models/mutuals.py | 2 +- vrchatapi/models/notification.py | 2 +- vrchatapi/models/notification_detail_invite.py | 2 +- vrchatapi/models/notification_detail_invite_response.py | 2 +- vrchatapi/models/notification_detail_request_invite.py | 2 +- .../models/notification_detail_request_invite_response.py | 2 +- vrchatapi/models/notification_detail_vote_to_kick.py | 2 +- vrchatapi/models/notification_type.py | 2 +- vrchatapi/models/notification_v2.py | 2 +- vrchatapi/models/notification_v2_details_boop.py | 2 +- vrchatapi/models/notification_v2_response.py | 2 +- vrchatapi/models/notification_v2_type.py | 2 +- vrchatapi/models/ok_status.py | 2 +- vrchatapi/models/ok_status2.py | 2 +- vrchatapi/models/order_option.py | 2 +- vrchatapi/models/order_option_short.py | 2 +- vrchatapi/models/paginated_calendar_event_list.py | 2 +- vrchatapi/models/paginated_group_audit_log_entry_list.py | 2 +- vrchatapi/models/paginated_moderation_report_list.py | 2 +- vrchatapi/models/past_display_name.py | 2 +- vrchatapi/models/pending2_fa_result.py | 2 +- vrchatapi/models/performance_limiter_info.py | 2 +- vrchatapi/models/performance_ratings.py | 2 +- vrchatapi/models/permission.py | 2 +- vrchatapi/models/permission_data.py | 2 +- vrchatapi/models/platform_build_info.py | 2 +- vrchatapi/models/player_moderation.py | 2 +- vrchatapi/models/player_moderation_type.py | 2 +- vrchatapi/models/print_files.py | 2 +- vrchatapi/models/product.py | 2 +- vrchatapi/models/product_listing.py | 2 +- vrchatapi/models/product_listing_type.py | 2 +- vrchatapi/models/product_listing_variant.py | 2 +- vrchatapi/models/product_purchase.py | 2 +- vrchatapi/models/product_purchase_purchase_context.py | 2 +- vrchatapi/models/product_type.py | 2 +- vrchatapi/models/prop.py | 2 +- vrchatapi/models/prop_publish_status.py | 2 +- vrchatapi/models/prop_unity_package.py | 2 +- vrchatapi/models/purchase_product_listing_request.py | 2 +- vrchatapi/models/region.py | 2 +- vrchatapi/models/register_user_account_request.py | 2 +- vrchatapi/models/release_status.py | 2 +- vrchatapi/models/report_category.py | 2 +- vrchatapi/models/report_reason.py | 2 +- vrchatapi/models/represented_group.py | 2 +- vrchatapi/models/request_invite_request.py | 2 +- vrchatapi/models/respond_group_join_request.py | 2 +- vrchatapi/models/respond_notification_v2_request.py | 2 +- vrchatapi/models/response.py | 2 +- vrchatapi/models/search_group_members200_response.py | 2 +- vrchatapi/models/sent_notification.py | 2 +- vrchatapi/models/service_queue_stats.py | 2 +- vrchatapi/models/service_status.py | 2 +- vrchatapi/models/share_inventory_item_direct_request.py | 2 +- vrchatapi/models/sort_option.py | 2 +- vrchatapi/models/sort_option_product_purchase.py | 2 +- vrchatapi/models/store.py | 2 +- vrchatapi/models/store_shelf.py | 2 +- vrchatapi/models/store_type.py | 2 +- vrchatapi/models/store_view.py | 2 +- vrchatapi/models/submission.py | 2 +- vrchatapi/models/submit_moderation_report_request.py | 2 +- vrchatapi/models/submit_moderation_report_request_details.py | 2 +- vrchatapi/models/subscription.py | 2 +- vrchatapi/models/subscription_period.py | 2 +- vrchatapi/models/success.py | 2 +- vrchatapi/models/success_flag.py | 2 +- vrchatapi/models/tilia_status.py | 2 +- vrchatapi/models/tilia_tos.py | 2 +- vrchatapi/models/token_bundle.py | 2 +- vrchatapi/models/transaction.py | 2 +- vrchatapi/models/transaction_agreement.py | 2 +- vrchatapi/models/transaction_status.py | 2 +- vrchatapi/models/transaction_steam_info.py | 2 +- vrchatapi/models/transaction_steam_wallet_info.py | 2 +- vrchatapi/models/transfer_group_request.py | 2 +- vrchatapi/models/two_factor_auth_code.py | 2 +- vrchatapi/models/two_factor_email_code.py | 2 +- vrchatapi/models/two_factor_recovery_codes.py | 2 +- vrchatapi/models/two_factor_recovery_codes_otp_inner.py | 2 +- vrchatapi/models/unity_package.py | 2 +- vrchatapi/models/update_asset_review_notes_request.py | 2 +- vrchatapi/models/update_avatar_request.py | 2 +- vrchatapi/models/update_calendar_event_request.py | 2 +- vrchatapi/models/update_favorite_group_request.py | 2 +- vrchatapi/models/update_group_gallery_request.py | 2 +- vrchatapi/models/update_group_member_request.py | 2 +- vrchatapi/models/update_group_representation_request.py | 2 +- vrchatapi/models/update_group_request.py | 2 +- vrchatapi/models/update_group_role_request.py | 2 +- vrchatapi/models/update_inventory_item_request.py | 2 +- vrchatapi/models/update_invite_message_request.py | 2 +- vrchatapi/models/update_prop_request.py | 2 +- vrchatapi/models/update_tilia_tos_request.py | 2 +- vrchatapi/models/update_user_badge_request.py | 2 +- vrchatapi/models/update_user_note_request.py | 2 +- vrchatapi/models/update_user_request.py | 2 +- vrchatapi/models/update_world_request.py | 2 +- vrchatapi/models/user.py | 2 +- vrchatapi/models/user_credits_eligible.py | 2 +- vrchatapi/models/user_exists.py | 2 +- vrchatapi/models/user_note.py | 2 +- vrchatapi/models/user_note_target_user.py | 2 +- vrchatapi/models/user_state.py | 2 +- vrchatapi/models/user_status.py | 2 +- vrchatapi/models/user_subscription.py | 2 +- vrchatapi/models/user_subscription_eligible.py | 2 +- vrchatapi/models/verify2_fa_email_code_result.py | 2 +- vrchatapi/models/verify2_fa_result.py | 2 +- vrchatapi/models/verify_auth_token_result.py | 2 +- vrchatapi/models/world.py | 2 +- vrchatapi/models/world_metadata.py | 2 +- vrchatapi/models/world_publish_status.py | 2 +- vrchatapi/rest.py | 2 +- 318 files changed, 320 insertions(+), 320 deletions(-) diff --git a/setup.py b/setup.py index 22a8c175..d7f874b7 100644 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.20.7.dev34" +VERSION = "1.20.8.dev0" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 50b30185..bf5a8f40 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -6,7 +6,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/authentication_api.py b/vrchatapi/api/authentication_api.py index a99a1dca..b11d5a5c 100644 --- a/vrchatapi/api/authentication_api.py +++ b/vrchatapi/api/authentication_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/avatars_api.py b/vrchatapi/api/avatars_api.py index 97065fe4..f83c1ef5 100644 --- a/vrchatapi/api/avatars_api.py +++ b/vrchatapi/api/avatars_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/calendar_api.py b/vrchatapi/api/calendar_api.py index e2e73366..2bc6e962 100644 --- a/vrchatapi/api/calendar_api.py +++ b/vrchatapi/api/calendar_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 8c03631c..5b737a96 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index 63914954..b1eecb73 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/files_api.py b/vrchatapi/api/files_api.py index 2f904bd2..08b13435 100644 --- a/vrchatapi/api/files_api.py +++ b/vrchatapi/api/files_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/friends_api.py b/vrchatapi/api/friends_api.py index c9b675e1..b663adda 100644 --- a/vrchatapi/api/friends_api.py +++ b/vrchatapi/api/friends_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index 1d0115b3..451225d4 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/instances_api.py b/vrchatapi/api/instances_api.py index 7960c937..9710a814 100644 --- a/vrchatapi/api/instances_api.py +++ b/vrchatapi/api/instances_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/inventory_api.py b/vrchatapi/api/inventory_api.py index 7c144a4a..832aad91 100644 --- a/vrchatapi/api/inventory_api.py +++ b/vrchatapi/api/inventory_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/invite_api.py b/vrchatapi/api/invite_api.py index c0a6682a..b6657940 100644 --- a/vrchatapi/api/invite_api.py +++ b/vrchatapi/api/invite_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/jams_api.py b/vrchatapi/api/jams_api.py index 4e0755b2..f93b39ba 100644 --- a/vrchatapi/api/jams_api.py +++ b/vrchatapi/api/jams_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/miscellaneous_api.py b/vrchatapi/api/miscellaneous_api.py index 9989b2cf..976435da 100644 --- a/vrchatapi/api/miscellaneous_api.py +++ b/vrchatapi/api/miscellaneous_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/notifications_api.py b/vrchatapi/api/notifications_api.py index e5f0a855..0205f4e5 100644 --- a/vrchatapi/api/notifications_api.py +++ b/vrchatapi/api/notifications_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/playermoderation_api.py b/vrchatapi/api/playermoderation_api.py index 0d716454..9a7dcc6e 100644 --- a/vrchatapi/api/playermoderation_api.py +++ b/vrchatapi/api/playermoderation_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/prints_api.py b/vrchatapi/api/prints_api.py index a70d8b94..b8b0302c 100644 --- a/vrchatapi/api/prints_api.py +++ b/vrchatapi/api/prints_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/props_api.py b/vrchatapi/api/props_api.py index 88e81069..46d1e503 100644 --- a/vrchatapi/api/props_api.py +++ b/vrchatapi/api/props_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index 192db527..fafe5280 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index a6ccd3b0..5c6218e1 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/api_client.py b/vrchatapi/api_client.py index 4af84c43..ded48c2a 100644 --- a/vrchatapi/api_client.py +++ b/vrchatapi/api_client.py @@ -3,7 +3,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/configuration.py b/vrchatapi/configuration.py index e37e69a6..2e981666 100644 --- a/vrchatapi/configuration.py +++ b/vrchatapi/configuration.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ @@ -447,7 +447,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.20.6\n"\ + "Version of the API: 1.20.7\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/vrchatapi/exceptions.py b/vrchatapi/exceptions.py index 4ee5e686..f0129c08 100644 --- a/vrchatapi/exceptions.py +++ b/vrchatapi/exceptions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index 5c5dcc67..81ab89e3 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -5,7 +5,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/account_deletion_log.py b/vrchatapi/models/account_deletion_log.py index 53d59bcd..464a4908 100644 --- a/vrchatapi/models/account_deletion_log.py +++ b/vrchatapi/models/account_deletion_log.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_favorite_request.py b/vrchatapi/models/add_favorite_request.py index 3ab47e68..fc272720 100644 --- a/vrchatapi/models/add_favorite_request.py +++ b/vrchatapi/models/add_favorite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/add_group_gallery_image_request.py b/vrchatapi/models/add_group_gallery_image_request.py index c878defc..dbd6cb23 100644 --- a/vrchatapi/models/add_group_gallery_image_request.py +++ b/vrchatapi/models/add_group_gallery_image_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/admin_asset_bundle.py b/vrchatapi/models/admin_asset_bundle.py index a1507283..05257958 100644 --- a/vrchatapi/models/admin_asset_bundle.py +++ b/vrchatapi/models/admin_asset_bundle.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/admin_unity_package.py b/vrchatapi/models/admin_unity_package.py index d410a20c..6385b48b 100644 --- a/vrchatapi/models/admin_unity_package.py +++ b/vrchatapi/models/admin_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/age_verification_status.py b/vrchatapi/models/age_verification_status.py index e6db2a84..823081e1 100644 --- a/vrchatapi/models/age_verification_status.py +++ b/vrchatapi/models/age_verification_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/agreement.py b/vrchatapi/models/agreement.py index d1929a61..76b8e21e 100644 --- a/vrchatapi/models/agreement.py +++ b/vrchatapi/models/agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/agreement_code.py b/vrchatapi/models/agreement_code.py index e7697c68..cdff5e56 100644 --- a/vrchatapi/models/agreement_code.py +++ b/vrchatapi/models/agreement_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/agreement_request.py b/vrchatapi/models/agreement_request.py index 231aed82..0380e1ed 100644 --- a/vrchatapi/models/agreement_request.py +++ b/vrchatapi/models/agreement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/agreement_status.py b/vrchatapi/models/agreement_status.py index c69c52b7..75f89060 100644 --- a/vrchatapi/models/agreement_status.py +++ b/vrchatapi/models/agreement_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config.py b/vrchatapi/models/api_config.py index d2189ab2..0834ff86 100644 --- a/vrchatapi/models/api_config.py +++ b/vrchatapi/models/api_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_access_logs_urls.py b/vrchatapi/models/api_config_access_logs_urls.py index 31c15783..2ec5fb40 100644 --- a/vrchatapi/models/api_config_access_logs_urls.py +++ b/vrchatapi/models/api_config_access_logs_urls.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_announcement.py b/vrchatapi/models/api_config_announcement.py index 1cc1b26f..f97911b4 100644 --- a/vrchatapi/models/api_config_announcement.py +++ b/vrchatapi/models/api_config_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_audio_config.py b/vrchatapi/models/api_config_audio_config.py index 47dd0cc8..d6dbdf55 100644 --- a/vrchatapi/models/api_config_audio_config.py +++ b/vrchatapi/models/api_config_audio_config.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_avatar_perf_limiter.py b/vrchatapi/models/api_config_avatar_perf_limiter.py index 8e9e657d..8f6402cb 100644 --- a/vrchatapi/models/api_config_avatar_perf_limiter.py +++ b/vrchatapi/models/api_config_avatar_perf_limiter.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants.py b/vrchatapi/models/api_config_constants.py index 0932cb05..74b38cb7 100644 --- a/vrchatapi/models/api_config_constants.py +++ b/vrchatapi/models/api_config_constants.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_groups.py b/vrchatapi/models/api_config_constants_groups.py index 3c5ef995..3f09b1f6 100644 --- a/vrchatapi/models/api_config_constants_groups.py +++ b/vrchatapi/models/api_config_constants_groups.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instance.py b/vrchatapi/models/api_config_constants_instance.py index c5579b82..97518dd7 100644 --- a/vrchatapi/models/api_config_constants_instance.py +++ b/vrchatapi/models/api_config_constants_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbrackets.py b/vrchatapi/models/api_config_constants_instancepopulationbrackets.py index f5e33202..c8e49b3f 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbrackets.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbrackets.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py b/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py index 55b7cd1b..0c239cd0 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py b/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py index 6f12aabe..b2783d17 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py b/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py index 6b45daae..7781ef7f 100644 --- a/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py +++ b/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_constants_language.py b/vrchatapi/models/api_config_constants_language.py index 744016cb..e6d17392 100644 --- a/vrchatapi/models/api_config_constants_language.py +++ b/vrchatapi/models/api_config_constants_language.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_download_url_list.py b/vrchatapi/models/api_config_download_url_list.py index 6b82db08..2d33f553 100644 --- a/vrchatapi/models/api_config_download_url_list.py +++ b/vrchatapi/models/api_config_download_url_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_events.py b/vrchatapi/models/api_config_events.py index 3b68fe32..932a39c9 100644 --- a/vrchatapi/models/api_config_events.py +++ b/vrchatapi/models/api_config_events.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_ios_version.py b/vrchatapi/models/api_config_ios_version.py index a70cd596..efd78c64 100644 --- a/vrchatapi/models/api_config_ios_version.py +++ b/vrchatapi/models/api_config_ios_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_min_supported_client_build_number.py b/vrchatapi/models/api_config_min_supported_client_build_number.py index b896bbb6..4b93c332 100644 --- a/vrchatapi/models/api_config_min_supported_client_build_number.py +++ b/vrchatapi/models/api_config_min_supported_client_build_number.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_config_offline_analysis.py b/vrchatapi/models/api_config_offline_analysis.py index 16417f83..cb2236b9 100644 --- a/vrchatapi/models/api_config_offline_analysis.py +++ b/vrchatapi/models/api_config_offline_analysis.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/api_health.py b/vrchatapi/models/api_health.py index bd56d222..e482d620 100644 --- a/vrchatapi/models/api_health.py +++ b/vrchatapi/models/api_health.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar.py b/vrchatapi/models/avatar.py index 9c911490..04a7659d 100644 --- a/vrchatapi/models/avatar.py +++ b/vrchatapi/models/avatar.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_moderation.py b/vrchatapi/models/avatar_moderation.py index 02888c69..9c5d0680 100644 --- a/vrchatapi/models/avatar_moderation.py +++ b/vrchatapi/models/avatar_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_moderation_created.py b/vrchatapi/models/avatar_moderation_created.py index 86343a72..22cc0d5e 100644 --- a/vrchatapi/models/avatar_moderation_created.py +++ b/vrchatapi/models/avatar_moderation_created.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_moderation_type.py b/vrchatapi/models/avatar_moderation_type.py index 5d81abb7..f925086b 100644 --- a/vrchatapi/models/avatar_moderation_type.py +++ b/vrchatapi/models/avatar_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_performance.py b/vrchatapi/models/avatar_performance.py index fc000998..9a7cf461 100644 --- a/vrchatapi/models/avatar_performance.py +++ b/vrchatapi/models/avatar_performance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_published_listings_inner.py b/vrchatapi/models/avatar_published_listings_inner.py index 89348b5f..d878e70a 100644 --- a/vrchatapi/models/avatar_published_listings_inner.py +++ b/vrchatapi/models/avatar_published_listings_inner.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_style.py b/vrchatapi/models/avatar_style.py index 3c1d8e74..7316d406 100644 --- a/vrchatapi/models/avatar_style.py +++ b/vrchatapi/models/avatar_style.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_styles.py b/vrchatapi/models/avatar_styles.py index 2bd9fa85..d45205a4 100644 --- a/vrchatapi/models/avatar_styles.py +++ b/vrchatapi/models/avatar_styles.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/avatar_unity_package_url_object.py b/vrchatapi/models/avatar_unity_package_url_object.py index c750b18b..60a3a710 100644 --- a/vrchatapi/models/avatar_unity_package_url_object.py +++ b/vrchatapi/models/avatar_unity_package_url_object.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/badge.py b/vrchatapi/models/badge.py index 3cb5eb89..6c596d4a 100644 --- a/vrchatapi/models/badge.py +++ b/vrchatapi/models/badge.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/balance.py b/vrchatapi/models/balance.py index 4115de6d..01c6d64c 100644 --- a/vrchatapi/models/balance.py +++ b/vrchatapi/models/balance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ban_group_member_request.py b/vrchatapi/models/ban_group_member_request.py index 254327af..ff27f1e5 100644 --- a/vrchatapi/models/ban_group_member_request.py +++ b/vrchatapi/models/ban_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/boop_request.py b/vrchatapi/models/boop_request.py index 8a59cbc5..28b5d0da 100644 --- a/vrchatapi/models/boop_request.py +++ b/vrchatapi/models/boop_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/calendar_event.py b/vrchatapi/models/calendar_event.py index f33bd703..b7a25149 100644 --- a/vrchatapi/models/calendar_event.py +++ b/vrchatapi/models/calendar_event.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/calendar_event_access.py b/vrchatapi/models/calendar_event_access.py index 0dde37d7..c44b7572 100644 --- a/vrchatapi/models/calendar_event_access.py +++ b/vrchatapi/models/calendar_event_access.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/calendar_event_category.py b/vrchatapi/models/calendar_event_category.py index cbb6a5f0..8ff2c9ca 100644 --- a/vrchatapi/models/calendar_event_category.py +++ b/vrchatapi/models/calendar_event_category.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/calendar_event_discovery.py b/vrchatapi/models/calendar_event_discovery.py index ef06f1da..2b8209e8 100644 --- a/vrchatapi/models/calendar_event_discovery.py +++ b/vrchatapi/models/calendar_event_discovery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/calendar_event_discovery_inclusion.py b/vrchatapi/models/calendar_event_discovery_inclusion.py index 7031f0b7..5b8d471e 100644 --- a/vrchatapi/models/calendar_event_discovery_inclusion.py +++ b/vrchatapi/models/calendar_event_discovery_inclusion.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/calendar_event_discovery_scope.py b/vrchatapi/models/calendar_event_discovery_scope.py index 91ed8443..3c0b67fa 100644 --- a/vrchatapi/models/calendar_event_discovery_scope.py +++ b/vrchatapi/models/calendar_event_discovery_scope.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/calendar_event_platform.py b/vrchatapi/models/calendar_event_platform.py index 83143005..1f01ea54 100644 --- a/vrchatapi/models/calendar_event_platform.py +++ b/vrchatapi/models/calendar_event_platform.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/calendar_event_user_interest.py b/vrchatapi/models/calendar_event_user_interest.py index 08dae349..28b5ee9f 100644 --- a/vrchatapi/models/calendar_event_user_interest.py +++ b/vrchatapi/models/calendar_event_user_interest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/change_user_tags_request.py b/vrchatapi/models/change_user_tags_request.py index e4ddbb17..392387a1 100644 --- a/vrchatapi/models/change_user_tags_request.py +++ b/vrchatapi/models/change_user_tags_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/content_filter.py b/vrchatapi/models/content_filter.py index 71e6635f..ea3595f2 100644 --- a/vrchatapi/models/content_filter.py +++ b/vrchatapi/models/content_filter.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_moderation_request.py b/vrchatapi/models/create_avatar_moderation_request.py index 05382598..b6bed071 100644 --- a/vrchatapi/models/create_avatar_moderation_request.py +++ b/vrchatapi/models/create_avatar_moderation_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_avatar_request.py b/vrchatapi/models/create_avatar_request.py index dd61cbb1..43fecba0 100644 --- a/vrchatapi/models/create_avatar_request.py +++ b/vrchatapi/models/create_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_calendar_event_request.py b/vrchatapi/models/create_calendar_event_request.py index 2ecfa078..32416280 100644 --- a/vrchatapi/models/create_calendar_event_request.py +++ b/vrchatapi/models/create_calendar_event_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_request.py b/vrchatapi/models/create_file_request.py index 1e0f8073..69fa556b 100644 --- a/vrchatapi/models/create_file_request.py +++ b/vrchatapi/models/create_file_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_file_version_request.py b/vrchatapi/models/create_file_version_request.py index 5c63cc96..5d863493 100644 --- a/vrchatapi/models/create_file_version_request.py +++ b/vrchatapi/models/create_file_version_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_announcement_request.py b/vrchatapi/models/create_group_announcement_request.py index 33255200..4688883c 100644 --- a/vrchatapi/models/create_group_announcement_request.py +++ b/vrchatapi/models/create_group_announcement_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_gallery_request.py b/vrchatapi/models/create_group_gallery_request.py index f5cd3fb3..2f61da05 100644 --- a/vrchatapi/models/create_group_gallery_request.py +++ b/vrchatapi/models/create_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_invite_request.py b/vrchatapi/models/create_group_invite_request.py index ba67aa0d..7a54261e 100644 --- a/vrchatapi/models/create_group_invite_request.py +++ b/vrchatapi/models/create_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_post_request.py b/vrchatapi/models/create_group_post_request.py index d39080bb..cdbb30b3 100644 --- a/vrchatapi/models/create_group_post_request.py +++ b/vrchatapi/models/create_group_post_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_request.py b/vrchatapi/models/create_group_request.py index 6f05202c..e74b62e3 100644 --- a/vrchatapi/models/create_group_request.py +++ b/vrchatapi/models/create_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_group_role_request.py b/vrchatapi/models/create_group_role_request.py index a8816e0d..7f1cc20c 100644 --- a/vrchatapi/models/create_group_role_request.py +++ b/vrchatapi/models/create_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_instance_request.py b/vrchatapi/models/create_instance_request.py index 6745e693..dba0953e 100644 --- a/vrchatapi/models/create_instance_request.py +++ b/vrchatapi/models/create_instance_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_prop_request.py b/vrchatapi/models/create_prop_request.py index b476c4ba..112be7fd 100644 --- a/vrchatapi/models/create_prop_request.py +++ b/vrchatapi/models/create_prop_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/create_world_request.py b/vrchatapi/models/create_world_request.py index dc0e295b..9316b68b 100644 --- a/vrchatapi/models/create_world_request.py +++ b/vrchatapi/models/create_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user.py b/vrchatapi/models/current_user.py index ecdd8114..faa91272 100644 --- a/vrchatapi/models/current_user.py +++ b/vrchatapi/models/current_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user_platform_history_inner.py b/vrchatapi/models/current_user_platform_history_inner.py index 708896e7..12ce5934 100644 --- a/vrchatapi/models/current_user_platform_history_inner.py +++ b/vrchatapi/models/current_user_platform_history_inner.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/current_user_presence.py b/vrchatapi/models/current_user_presence.py index 4982d493..d5b8566d 100644 --- a/vrchatapi/models/current_user_presence.py +++ b/vrchatapi/models/current_user_presence.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/decline_group_invite_request.py b/vrchatapi/models/decline_group_invite_request.py index b44ea9e2..f773c26f 100644 --- a/vrchatapi/models/decline_group_invite_request.py +++ b/vrchatapi/models/decline_group_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/developer_type.py b/vrchatapi/models/developer_type.py index 3b05c0ff..36271c03 100644 --- a/vrchatapi/models/developer_type.py +++ b/vrchatapi/models/developer_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/disable2_fa_result.py b/vrchatapi/models/disable2_fa_result.py index 95d82fae..914e963b 100644 --- a/vrchatapi/models/disable2_fa_result.py +++ b/vrchatapi/models/disable2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/discord_details.py b/vrchatapi/models/discord_details.py index a85f8192..70ce0122 100644 --- a/vrchatapi/models/discord_details.py +++ b/vrchatapi/models/discord_details.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/dynamic_content_row.py b/vrchatapi/models/dynamic_content_row.py index e3e80248..dee290a7 100644 --- a/vrchatapi/models/dynamic_content_row.py +++ b/vrchatapi/models/dynamic_content_row.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/economy_account.py b/vrchatapi/models/economy_account.py index 65e0f92e..0fe53e16 100644 --- a/vrchatapi/models/economy_account.py +++ b/vrchatapi/models/economy_account.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/equip_inventory_item_request.py b/vrchatapi/models/equip_inventory_item_request.py index 948c38c0..98676e39 100644 --- a/vrchatapi/models/equip_inventory_item_request.py +++ b/vrchatapi/models/equip_inventory_item_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/error.py b/vrchatapi/models/error.py index 05f6de4e..1e799d86 100644 --- a/vrchatapi/models/error.py +++ b/vrchatapi/models/error.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite.py b/vrchatapi/models/favorite.py index 4b966246..0e4106c9 100644 --- a/vrchatapi/models/favorite.py +++ b/vrchatapi/models/favorite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group.py b/vrchatapi/models/favorite_group.py index 15264da7..0a2c70ce 100644 --- a/vrchatapi/models/favorite_group.py +++ b/vrchatapi/models/favorite_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_limits.py b/vrchatapi/models/favorite_group_limits.py index bdc04f4f..16aaa7ae 100644 --- a/vrchatapi/models/favorite_group_limits.py +++ b/vrchatapi/models/favorite_group_limits.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_group_visibility.py b/vrchatapi/models/favorite_group_visibility.py index 0cb5f3ab..cf374d40 100644 --- a/vrchatapi/models/favorite_group_visibility.py +++ b/vrchatapi/models/favorite_group_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_limits.py b/vrchatapi/models/favorite_limits.py index fa1d001a..6571076b 100644 --- a/vrchatapi/models/favorite_limits.py +++ b/vrchatapi/models/favorite_limits.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index 4eabb732..aa78869d 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/favorited_world.py b/vrchatapi/models/favorited_world.py index 6dd2e428..c63ed38a 100644 --- a/vrchatapi/models/favorited_world.py +++ b/vrchatapi/models/favorited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/feedback.py b/vrchatapi/models/feedback.py index 155cb534..9acbd222 100644 --- a/vrchatapi/models/feedback.py +++ b/vrchatapi/models/feedback.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file.py b/vrchatapi/models/file.py index 28c035fb..9325875a 100644 --- a/vrchatapi/models/file.py +++ b/vrchatapi/models/file.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_analysis.py b/vrchatapi/models/file_analysis.py index d419b2ac..cf63f682 100644 --- a/vrchatapi/models/file_analysis.py +++ b/vrchatapi/models/file_analysis.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_analysis_avatar_stats.py b/vrchatapi/models/file_analysis_avatar_stats.py index 8d845f5f..bbbc60d8 100644 --- a/vrchatapi/models/file_analysis_avatar_stats.py +++ b/vrchatapi/models/file_analysis_avatar_stats.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_data.py b/vrchatapi/models/file_data.py index c2ae2c82..edad8495 100644 --- a/vrchatapi/models/file_data.py +++ b/vrchatapi/models/file_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_status.py b/vrchatapi/models/file_status.py index 975adbda..32f8535b 100644 --- a/vrchatapi/models/file_status.py +++ b/vrchatapi/models/file_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_upload_url.py b/vrchatapi/models/file_upload_url.py index 77d0a5b2..5c96ae56 100644 --- a/vrchatapi/models/file_upload_url.py +++ b/vrchatapi/models/file_upload_url.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version.py b/vrchatapi/models/file_version.py index c75c65b3..19619a41 100644 --- a/vrchatapi/models/file_version.py +++ b/vrchatapi/models/file_version.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/file_version_upload_status.py b/vrchatapi/models/file_version_upload_status.py index ffc5bcc6..1847ce1e 100644 --- a/vrchatapi/models/file_version_upload_status.py +++ b/vrchatapi/models/file_version_upload_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/finish_file_data_upload_request.py b/vrchatapi/models/finish_file_data_upload_request.py index 0813ee97..c8995eba 100644 --- a/vrchatapi/models/finish_file_data_upload_request.py +++ b/vrchatapi/models/finish_file_data_upload_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/follow_calendar_event_request.py b/vrchatapi/models/follow_calendar_event_request.py index 993a9e96..1a5f3d16 100644 --- a/vrchatapi/models/follow_calendar_event_request.py +++ b/vrchatapi/models/follow_calendar_event_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/friend_status.py b/vrchatapi/models/friend_status.py index d441bd57..1e5bff7b 100644 --- a/vrchatapi/models/friend_status.py +++ b/vrchatapi/models/friend_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/get_group_posts200_response.py b/vrchatapi/models/get_group_posts200_response.py index 55f3560e..5058af68 100644 --- a/vrchatapi/models/get_group_posts200_response.py +++ b/vrchatapi/models/get_group_posts200_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/get_user_group_instances200_response.py b/vrchatapi/models/get_user_group_instances200_response.py index ae16ecae..07e2092a 100644 --- a/vrchatapi/models/get_user_group_instances200_response.py +++ b/vrchatapi/models/get_user_group_instances200_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group.py b/vrchatapi/models/group.py index 146118cc..f839717b 100644 --- a/vrchatapi/models/group.py +++ b/vrchatapi/models/group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_access_type.py b/vrchatapi/models/group_access_type.py index 32eb9f3b..c2f9fc04 100644 --- a/vrchatapi/models/group_access_type.py +++ b/vrchatapi/models/group_access_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_announcement.py b/vrchatapi/models/group_announcement.py index af423dd7..26a21e49 100644 --- a/vrchatapi/models/group_announcement.py +++ b/vrchatapi/models/group_announcement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_audit_log_entry.py b/vrchatapi/models/group_audit_log_entry.py index 26301cb0..f481a002 100644 --- a/vrchatapi/models/group_audit_log_entry.py +++ b/vrchatapi/models/group_audit_log_entry.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery.py b/vrchatapi/models/group_gallery.py index 11b217cf..16293dfd 100644 --- a/vrchatapi/models/group_gallery.py +++ b/vrchatapi/models/group_gallery.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_file_order.py b/vrchatapi/models/group_gallery_file_order.py index 13f105d5..bd3190ad 100644 --- a/vrchatapi/models/group_gallery_file_order.py +++ b/vrchatapi/models/group_gallery_file_order.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_file_order_request.py b/vrchatapi/models/group_gallery_file_order_request.py index 8fa6d8d3..3a6440b4 100644 --- a/vrchatapi/models/group_gallery_file_order_request.py +++ b/vrchatapi/models/group_gallery_file_order_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_gallery_image.py b/vrchatapi/models/group_gallery_image.py index 2094d551..1a5a20e7 100644 --- a/vrchatapi/models/group_gallery_image.py +++ b/vrchatapi/models/group_gallery_image.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_instance.py b/vrchatapi/models/group_instance.py index 88ee0fdd..90eb331a 100644 --- a/vrchatapi/models/group_instance.py +++ b/vrchatapi/models/group_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_request_action.py b/vrchatapi/models/group_join_request_action.py index d63bb9d6..25329bb2 100644 --- a/vrchatapi/models/group_join_request_action.py +++ b/vrchatapi/models/group_join_request_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_join_state.py b/vrchatapi/models/group_join_state.py index e80e5346..153b8618 100644 --- a/vrchatapi/models/group_join_state.py +++ b/vrchatapi/models/group_join_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py index b18ebcd0..376c6b8b 100644 --- a/vrchatapi/models/group_limited_member.py +++ b/vrchatapi/models/group_limited_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index e2dea1a5..0d437519 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_limited_user.py b/vrchatapi/models/group_member_limited_user.py index 4de41f00..feb9e72b 100644 --- a/vrchatapi/models/group_member_limited_user.py +++ b/vrchatapi/models/group_member_limited_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_member_status.py b/vrchatapi/models/group_member_status.py index beeccfc7..273ef01a 100644 --- a/vrchatapi/models/group_member_status.py +++ b/vrchatapi/models/group_member_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_my_member.py b/vrchatapi/models/group_my_member.py index 1162a20e..9dd51802 100644 --- a/vrchatapi/models/group_my_member.py +++ b/vrchatapi/models/group_my_member.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permission.py b/vrchatapi/models/group_permission.py index 6595fdcf..312f3985 100644 --- a/vrchatapi/models/group_permission.py +++ b/vrchatapi/models/group_permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_permissions.py b/vrchatapi/models/group_permissions.py index 29551e8b..5c7cb0f1 100644 --- a/vrchatapi/models/group_permissions.py +++ b/vrchatapi/models/group_permissions.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post.py b/vrchatapi/models/group_post.py index 86784647..ae8b1931 100644 --- a/vrchatapi/models/group_post.py +++ b/vrchatapi/models/group_post.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_post_visibility.py b/vrchatapi/models/group_post_visibility.py index 2d8c9bba..960ea248 100644 --- a/vrchatapi/models/group_post_visibility.py +++ b/vrchatapi/models/group_post_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_privacy.py b/vrchatapi/models/group_privacy.py index 1f13f57e..31e966f3 100644 --- a/vrchatapi/models/group_privacy.py +++ b/vrchatapi/models/group_privacy.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role.py b/vrchatapi/models/group_role.py index c1e82cb2..2f51f2f7 100644 --- a/vrchatapi/models/group_role.py +++ b/vrchatapi/models/group_role.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template.py b/vrchatapi/models/group_role_template.py index fc9d760a..7b585725 100644 --- a/vrchatapi/models/group_role_template.py +++ b/vrchatapi/models/group_role_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template_values.py b/vrchatapi/models/group_role_template_values.py index 777dfc31..3716faba 100644 --- a/vrchatapi/models/group_role_template_values.py +++ b/vrchatapi/models/group_role_template_values.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_role_template_values_roles.py b/vrchatapi/models/group_role_template_values_roles.py index 3852339a..81ef6488 100644 --- a/vrchatapi/models/group_role_template_values_roles.py +++ b/vrchatapi/models/group_role_template_values_roles.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_search_sort.py b/vrchatapi/models/group_search_sort.py index c73cbee5..12fd5fd0 100644 --- a/vrchatapi/models/group_search_sort.py +++ b/vrchatapi/models/group_search_sort.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_transferable.py b/vrchatapi/models/group_transferable.py index 89a99f07..8543925c 100644 --- a/vrchatapi/models/group_transferable.py +++ b/vrchatapi/models/group_transferable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_transferable_requirements.py b/vrchatapi/models/group_transferable_requirements.py index 4a3363ef..c41fd721 100644 --- a/vrchatapi/models/group_transferable_requirements.py +++ b/vrchatapi/models/group_transferable_requirements.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/group_user_visibility.py b/vrchatapi/models/group_user_visibility.py index b729b70e..f1126f02 100644 --- a/vrchatapi/models/group_user_visibility.py +++ b/vrchatapi/models/group_user_visibility.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/image_animation_style.py b/vrchatapi/models/image_animation_style.py index 6697d142..49faa2a4 100644 --- a/vrchatapi/models/image_animation_style.py +++ b/vrchatapi/models/image_animation_style.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/image_loop_style.py b/vrchatapi/models/image_loop_style.py index c2278ef1..889b449a 100644 --- a/vrchatapi/models/image_loop_style.py +++ b/vrchatapi/models/image_loop_style.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/image_mask.py b/vrchatapi/models/image_mask.py index 06dcd2e0..50c218d0 100644 --- a/vrchatapi/models/image_mask.py +++ b/vrchatapi/models/image_mask.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push.py b/vrchatapi/models/info_push.py index ef775c6d..8200dedd 100644 --- a/vrchatapi/models/info_push.py +++ b/vrchatapi/models/info_push.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data.py b/vrchatapi/models/info_push_data.py index eecaf298..0750acf3 100644 --- a/vrchatapi/models/info_push_data.py +++ b/vrchatapi/models/info_push_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article.py b/vrchatapi/models/info_push_data_article.py index 90bbfbe7..f64fb3c0 100644 --- a/vrchatapi/models/info_push_data_article.py +++ b/vrchatapi/models/info_push_data_article.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_article_content.py b/vrchatapi/models/info_push_data_article_content.py index 3af27619..9f901664 100644 --- a/vrchatapi/models/info_push_data_article_content.py +++ b/vrchatapi/models/info_push_data_article_content.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/info_push_data_clickable.py b/vrchatapi/models/info_push_data_clickable.py index 78c3860b..4a6eab49 100644 --- a/vrchatapi/models/info_push_data_clickable.py +++ b/vrchatapi/models/info_push_data_clickable.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance.py b/vrchatapi/models/instance.py index 749fb02d..7534d3a8 100644 --- a/vrchatapi/models/instance.py +++ b/vrchatapi/models/instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_content_settings.py b/vrchatapi/models/instance_content_settings.py index f5d6e65f..5207a76c 100644 --- a/vrchatapi/models/instance_content_settings.py +++ b/vrchatapi/models/instance_content_settings.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_platforms.py b/vrchatapi/models/instance_platforms.py index 3f636971..23bed0ab 100644 --- a/vrchatapi/models/instance_platforms.py +++ b/vrchatapi/models/instance_platforms.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_region.py b/vrchatapi/models/instance_region.py index 709817ea..bb5394dd 100644 --- a/vrchatapi/models/instance_region.py +++ b/vrchatapi/models/instance_region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_short_name_response.py b/vrchatapi/models/instance_short_name_response.py index cd13e012..5de29261 100644 --- a/vrchatapi/models/instance_short_name_response.py +++ b/vrchatapi/models/instance_short_name_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/instance_type.py b/vrchatapi/models/instance_type.py index 6f292520..29e8fdaf 100644 --- a/vrchatapi/models/instance_type.py +++ b/vrchatapi/models/instance_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory.py b/vrchatapi/models/inventory.py index ee1b6b5d..33a920a7 100644 --- a/vrchatapi/models/inventory.py +++ b/vrchatapi/models/inventory.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_consumption_results.py b/vrchatapi/models/inventory_consumption_results.py index 7bf0fba3..69aa7ee5 100644 --- a/vrchatapi/models/inventory_consumption_results.py +++ b/vrchatapi/models/inventory_consumption_results.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_default_attributes1.py b/vrchatapi/models/inventory_default_attributes1.py index 677e8ded..55637e60 100644 --- a/vrchatapi/models/inventory_default_attributes1.py +++ b/vrchatapi/models/inventory_default_attributes1.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_default_attributes1_validator.py b/vrchatapi/models/inventory_default_attributes1_validator.py index 93174114..2eda68e8 100644 --- a/vrchatapi/models/inventory_default_attributes1_validator.py +++ b/vrchatapi/models/inventory_default_attributes1_validator.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_drop.py b/vrchatapi/models/inventory_drop.py index 7cd987c6..21422852 100644 --- a/vrchatapi/models/inventory_drop.py +++ b/vrchatapi/models/inventory_drop.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_equip_slot.py b/vrchatapi/models/inventory_equip_slot.py index d28adaa2..3e8d81c1 100644 --- a/vrchatapi/models/inventory_equip_slot.py +++ b/vrchatapi/models/inventory_equip_slot.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_flag.py b/vrchatapi/models/inventory_flag.py index 49c77b12..36e60779 100644 --- a/vrchatapi/models/inventory_flag.py +++ b/vrchatapi/models/inventory_flag.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_item.py b/vrchatapi/models/inventory_item.py index 3843503d..8956b572 100644 --- a/vrchatapi/models/inventory_item.py +++ b/vrchatapi/models/inventory_item.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_item_type.py b/vrchatapi/models/inventory_item_type.py index 24fa1e8d..21b61755 100644 --- a/vrchatapi/models/inventory_item_type.py +++ b/vrchatapi/models/inventory_item_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_metadata.py b/vrchatapi/models/inventory_metadata.py index 3e21efbe..259f1d20 100644 --- a/vrchatapi/models/inventory_metadata.py +++ b/vrchatapi/models/inventory_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_notification_details.py b/vrchatapi/models/inventory_notification_details.py index 125c21bf..a48dbf1c 100644 --- a/vrchatapi/models/inventory_notification_details.py +++ b/vrchatapi/models/inventory_notification_details.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_spawn.py b/vrchatapi/models/inventory_spawn.py index c738e3d5..06175842 100644 --- a/vrchatapi/models/inventory_spawn.py +++ b/vrchatapi/models/inventory_spawn.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_template.py b/vrchatapi/models/inventory_template.py index a554f832..21bae808 100644 --- a/vrchatapi/models/inventory_template.py +++ b/vrchatapi/models/inventory_template.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/inventory_user_attributes.py b/vrchatapi/models/inventory_user_attributes.py index cf0fff79..081d9649 100644 --- a/vrchatapi/models/inventory_user_attributes.py +++ b/vrchatapi/models/inventory_user_attributes.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message.py b/vrchatapi/models/invite_message.py index 9e97d2cb..79b02c35 100644 --- a/vrchatapi/models/invite_message.py +++ b/vrchatapi/models/invite_message.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_message_type.py b/vrchatapi/models/invite_message_type.py index 729e5aa8..ae9a4de4 100644 --- a/vrchatapi/models/invite_message_type.py +++ b/vrchatapi/models/invite_message_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_request.py b/vrchatapi/models/invite_request.py index ba12e1aa..463594b5 100644 --- a/vrchatapi/models/invite_request.py +++ b/vrchatapi/models/invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/invite_response.py b/vrchatapi/models/invite_response.py index cc99c187..ec9bc728 100644 --- a/vrchatapi/models/invite_response.py +++ b/vrchatapi/models/invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/jam.py b/vrchatapi/models/jam.py index f9b38183..2e462274 100644 --- a/vrchatapi/models/jam.py +++ b/vrchatapi/models/jam.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/jam_state_change_dates.py b/vrchatapi/models/jam_state_change_dates.py index b7554bcd..965ebff7 100644 --- a/vrchatapi/models/jam_state_change_dates.py +++ b/vrchatapi/models/jam_state_change_dates.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/join_group_request.py b/vrchatapi/models/join_group_request.py index 629119ca..d1db106a 100644 --- a/vrchatapi/models/join_group_request.py +++ b/vrchatapi/models/join_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license.py b/vrchatapi/models/license.py index ac1a6345..a5e4e5d5 100644 --- a/vrchatapi/models/license.py +++ b/vrchatapi/models/license.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_action.py b/vrchatapi/models/license_action.py index 1d1634c0..0222b6d8 100644 --- a/vrchatapi/models/license_action.py +++ b/vrchatapi/models/license_action.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_group.py b/vrchatapi/models/license_group.py index a26a48c7..04a40964 100644 --- a/vrchatapi/models/license_group.py +++ b/vrchatapi/models/license_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/license_type.py b/vrchatapi/models/license_type.py index d4a129f4..89ffe6bc 100644 --- a/vrchatapi/models/license_type.py +++ b/vrchatapi/models/license_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_group.py b/vrchatapi/models/limited_group.py index 936019d4..9ff028ae 100644 --- a/vrchatapi/models/limited_group.py +++ b/vrchatapi/models/limited_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_unity_package.py b/vrchatapi/models/limited_unity_package.py index 0e71d09f..8a1228ac 100644 --- a/vrchatapi/models/limited_unity_package.py +++ b/vrchatapi/models/limited_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user_friend.py b/vrchatapi/models/limited_user_friend.py index 257f691f..b0ce2de1 100644 --- a/vrchatapi/models/limited_user_friend.py +++ b/vrchatapi/models/limited_user_friend.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user_groups.py b/vrchatapi/models/limited_user_groups.py index fc800bd3..90969081 100644 --- a/vrchatapi/models/limited_user_groups.py +++ b/vrchatapi/models/limited_user_groups.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user_instance.py b/vrchatapi/models/limited_user_instance.py index 0f17b299..5b56319d 100644 --- a/vrchatapi/models/limited_user_instance.py +++ b/vrchatapi/models/limited_user_instance.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_user_search.py b/vrchatapi/models/limited_user_search.py index 1ec9ad87..c53210c6 100644 --- a/vrchatapi/models/limited_user_search.py +++ b/vrchatapi/models/limited_user_search.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/limited_world.py b/vrchatapi/models/limited_world.py index ddca30d5..41627e15 100644 --- a/vrchatapi/models/limited_world.py +++ b/vrchatapi/models/limited_world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index a9b7028f..8b1a253a 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/model_print.py b/vrchatapi/models/model_print.py index b9b46a16..965b8f9f 100644 --- a/vrchatapi/models/model_print.py +++ b/vrchatapi/models/model_print.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderate_user_request.py b/vrchatapi/models/moderate_user_request.py index f5356d3e..6b85e03b 100644 --- a/vrchatapi/models/moderate_user_request.py +++ b/vrchatapi/models/moderate_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/moderation_report.py b/vrchatapi/models/moderation_report.py index 61d15b62..63b93e9d 100644 --- a/vrchatapi/models/moderation_report.py +++ b/vrchatapi/models/moderation_report.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mutual_friend.py b/vrchatapi/models/mutual_friend.py index d5890875..268f6d46 100644 --- a/vrchatapi/models/mutual_friend.py +++ b/vrchatapi/models/mutual_friend.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/mutuals.py b/vrchatapi/models/mutuals.py index 1f2ac7ae..8f92db45 100644 --- a/vrchatapi/models/mutuals.py +++ b/vrchatapi/models/mutuals.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification.py b/vrchatapi/models/notification.py index 64aeaf79..7f0f0f28 100644 --- a/vrchatapi/models/notification.py +++ b/vrchatapi/models/notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite.py b/vrchatapi/models/notification_detail_invite.py index bfbd2a06..0736ce7e 100644 --- a/vrchatapi/models/notification_detail_invite.py +++ b/vrchatapi/models/notification_detail_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_invite_response.py b/vrchatapi/models/notification_detail_invite_response.py index a08ac1c2..621d6bfd 100644 --- a/vrchatapi/models/notification_detail_invite_response.py +++ b/vrchatapi/models/notification_detail_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite.py b/vrchatapi/models/notification_detail_request_invite.py index abf82d88..204daf1e 100644 --- a/vrchatapi/models/notification_detail_request_invite.py +++ b/vrchatapi/models/notification_detail_request_invite.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_request_invite_response.py b/vrchatapi/models/notification_detail_request_invite_response.py index d5d110f6..fe1cb44f 100644 --- a/vrchatapi/models/notification_detail_request_invite_response.py +++ b/vrchatapi/models/notification_detail_request_invite_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_detail_vote_to_kick.py b/vrchatapi/models/notification_detail_vote_to_kick.py index e93e1926..1b861d13 100644 --- a/vrchatapi/models/notification_detail_vote_to_kick.py +++ b/vrchatapi/models/notification_detail_vote_to_kick.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_type.py b/vrchatapi/models/notification_type.py index cf762d78..634b2b79 100644 --- a/vrchatapi/models/notification_type.py +++ b/vrchatapi/models/notification_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_v2.py b/vrchatapi/models/notification_v2.py index 095d3e40..178385c6 100644 --- a/vrchatapi/models/notification_v2.py +++ b/vrchatapi/models/notification_v2.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_v2_details_boop.py b/vrchatapi/models/notification_v2_details_boop.py index ba7f2cf6..870c4ae9 100644 --- a/vrchatapi/models/notification_v2_details_boop.py +++ b/vrchatapi/models/notification_v2_details_boop.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_v2_response.py b/vrchatapi/models/notification_v2_response.py index cd9f33be..65a0c293 100644 --- a/vrchatapi/models/notification_v2_response.py +++ b/vrchatapi/models/notification_v2_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/notification_v2_type.py b/vrchatapi/models/notification_v2_type.py index 117c17ed..61d8db19 100644 --- a/vrchatapi/models/notification_v2_type.py +++ b/vrchatapi/models/notification_v2_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ok_status.py b/vrchatapi/models/ok_status.py index 1437bc0f..9c36c77d 100644 --- a/vrchatapi/models/ok_status.py +++ b/vrchatapi/models/ok_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/ok_status2.py b/vrchatapi/models/ok_status2.py index 17f19dee..77e3bdb7 100644 --- a/vrchatapi/models/ok_status2.py +++ b/vrchatapi/models/ok_status2.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option.py b/vrchatapi/models/order_option.py index 5d45d320..6a54eb6f 100644 --- a/vrchatapi/models/order_option.py +++ b/vrchatapi/models/order_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/order_option_short.py b/vrchatapi/models/order_option_short.py index 54d70750..81f51e90 100644 --- a/vrchatapi/models/order_option_short.py +++ b/vrchatapi/models/order_option_short.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_calendar_event_list.py b/vrchatapi/models/paginated_calendar_event_list.py index 4cd3beff..e343d676 100644 --- a/vrchatapi/models/paginated_calendar_event_list.py +++ b/vrchatapi/models/paginated_calendar_event_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_group_audit_log_entry_list.py b/vrchatapi/models/paginated_group_audit_log_entry_list.py index 4e4ea81f..d9df2777 100644 --- a/vrchatapi/models/paginated_group_audit_log_entry_list.py +++ b/vrchatapi/models/paginated_group_audit_log_entry_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/paginated_moderation_report_list.py b/vrchatapi/models/paginated_moderation_report_list.py index cbeb212f..e9e72060 100644 --- a/vrchatapi/models/paginated_moderation_report_list.py +++ b/vrchatapi/models/paginated_moderation_report_list.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/past_display_name.py b/vrchatapi/models/past_display_name.py index f9e6a16f..400bc226 100644 --- a/vrchatapi/models/past_display_name.py +++ b/vrchatapi/models/past_display_name.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/pending2_fa_result.py b/vrchatapi/models/pending2_fa_result.py index f81d55ae..5e0e74a4 100644 --- a/vrchatapi/models/pending2_fa_result.py +++ b/vrchatapi/models/pending2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/performance_limiter_info.py b/vrchatapi/models/performance_limiter_info.py index 820788b3..eb614381 100644 --- a/vrchatapi/models/performance_limiter_info.py +++ b/vrchatapi/models/performance_limiter_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/performance_ratings.py b/vrchatapi/models/performance_ratings.py index b247c739..db8d4ab8 100644 --- a/vrchatapi/models/performance_ratings.py +++ b/vrchatapi/models/performance_ratings.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission.py b/vrchatapi/models/permission.py index ff5bc147..54d25ce9 100644 --- a/vrchatapi/models/permission.py +++ b/vrchatapi/models/permission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/permission_data.py b/vrchatapi/models/permission_data.py index e549f1ed..bfb30709 100644 --- a/vrchatapi/models/permission_data.py +++ b/vrchatapi/models/permission_data.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/platform_build_info.py b/vrchatapi/models/platform_build_info.py index 6ceda152..212a7bb7 100644 --- a/vrchatapi/models/platform_build_info.py +++ b/vrchatapi/models/platform_build_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation.py b/vrchatapi/models/player_moderation.py index e146c9f4..d16128a3 100644 --- a/vrchatapi/models/player_moderation.py +++ b/vrchatapi/models/player_moderation.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/player_moderation_type.py b/vrchatapi/models/player_moderation_type.py index 66b9d1e5..85157946 100644 --- a/vrchatapi/models/player_moderation_type.py +++ b/vrchatapi/models/player_moderation_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/print_files.py b/vrchatapi/models/print_files.py index 47efb418..73db8b0b 100644 --- a/vrchatapi/models/print_files.py +++ b/vrchatapi/models/print_files.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product.py b/vrchatapi/models/product.py index edac9be5..8c9c6682 100644 --- a/vrchatapi/models/product.py +++ b/vrchatapi/models/product.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_listing.py b/vrchatapi/models/product_listing.py index 4ba13e0b..b5ac154d 100644 --- a/vrchatapi/models/product_listing.py +++ b/vrchatapi/models/product_listing.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_listing_type.py b/vrchatapi/models/product_listing_type.py index 88d9465c..28975deb 100644 --- a/vrchatapi/models/product_listing_type.py +++ b/vrchatapi/models/product_listing_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_listing_variant.py b/vrchatapi/models/product_listing_variant.py index f5aee26b..bac01cd1 100644 --- a/vrchatapi/models/product_listing_variant.py +++ b/vrchatapi/models/product_listing_variant.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_purchase.py b/vrchatapi/models/product_purchase.py index c78e6982..8e5bb252 100644 --- a/vrchatapi/models/product_purchase.py +++ b/vrchatapi/models/product_purchase.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_purchase_purchase_context.py b/vrchatapi/models/product_purchase_purchase_context.py index ed7c07fb..3d6faae8 100644 --- a/vrchatapi/models/product_purchase_purchase_context.py +++ b/vrchatapi/models/product_purchase_purchase_context.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/product_type.py b/vrchatapi/models/product_type.py index 46eaba47..049a552c 100644 --- a/vrchatapi/models/product_type.py +++ b/vrchatapi/models/product_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/prop.py b/vrchatapi/models/prop.py index 0f1ec527..91bd2b58 100644 --- a/vrchatapi/models/prop.py +++ b/vrchatapi/models/prop.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/prop_publish_status.py b/vrchatapi/models/prop_publish_status.py index d08b62c7..2f44f5cb 100644 --- a/vrchatapi/models/prop_publish_status.py +++ b/vrchatapi/models/prop_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/prop_unity_package.py b/vrchatapi/models/prop_unity_package.py index 0e2b9dbe..a822b9c4 100644 --- a/vrchatapi/models/prop_unity_package.py +++ b/vrchatapi/models/prop_unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/purchase_product_listing_request.py b/vrchatapi/models/purchase_product_listing_request.py index 5a850243..7ba22fa8 100644 --- a/vrchatapi/models/purchase_product_listing_request.py +++ b/vrchatapi/models/purchase_product_listing_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/region.py b/vrchatapi/models/region.py index 4440672b..900c77f8 100644 --- a/vrchatapi/models/region.py +++ b/vrchatapi/models/region.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/register_user_account_request.py b/vrchatapi/models/register_user_account_request.py index eb82785d..ae2e680b 100644 --- a/vrchatapi/models/register_user_account_request.py +++ b/vrchatapi/models/register_user_account_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/release_status.py b/vrchatapi/models/release_status.py index c57de42c..6f23059c 100644 --- a/vrchatapi/models/release_status.py +++ b/vrchatapi/models/release_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/report_category.py b/vrchatapi/models/report_category.py index 2be52454..5152d590 100644 --- a/vrchatapi/models/report_category.py +++ b/vrchatapi/models/report_category.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/report_reason.py b/vrchatapi/models/report_reason.py index 1205e29f..0a75f9c6 100644 --- a/vrchatapi/models/report_reason.py +++ b/vrchatapi/models/report_reason.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/represented_group.py b/vrchatapi/models/represented_group.py index 9aa5823c..33dc49d8 100644 --- a/vrchatapi/models/represented_group.py +++ b/vrchatapi/models/represented_group.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/request_invite_request.py b/vrchatapi/models/request_invite_request.py index 7001c0a9..3223476b 100644 --- a/vrchatapi/models/request_invite_request.py +++ b/vrchatapi/models/request_invite_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_group_join_request.py b/vrchatapi/models/respond_group_join_request.py index 39aa0ef9..fcf3867a 100644 --- a/vrchatapi/models/respond_group_join_request.py +++ b/vrchatapi/models/respond_group_join_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/respond_notification_v2_request.py b/vrchatapi/models/respond_notification_v2_request.py index b715dcd8..ae886aa0 100644 --- a/vrchatapi/models/respond_notification_v2_request.py +++ b/vrchatapi/models/respond_notification_v2_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/response.py b/vrchatapi/models/response.py index b97f4f9f..8ae66e4a 100644 --- a/vrchatapi/models/response.py +++ b/vrchatapi/models/response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/search_group_members200_response.py b/vrchatapi/models/search_group_members200_response.py index 83864da6..49cec19f 100644 --- a/vrchatapi/models/search_group_members200_response.py +++ b/vrchatapi/models/search_group_members200_response.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sent_notification.py b/vrchatapi/models/sent_notification.py index e659d683..37d05f5e 100644 --- a/vrchatapi/models/sent_notification.py +++ b/vrchatapi/models/sent_notification.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/service_queue_stats.py b/vrchatapi/models/service_queue_stats.py index e35c34c2..e35fe6ce 100644 --- a/vrchatapi/models/service_queue_stats.py +++ b/vrchatapi/models/service_queue_stats.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/service_status.py b/vrchatapi/models/service_status.py index 28ad1ffc..861c9ae5 100644 --- a/vrchatapi/models/service_status.py +++ b/vrchatapi/models/service_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/share_inventory_item_direct_request.py b/vrchatapi/models/share_inventory_item_direct_request.py index e0ce2308..ae6a5700 100644 --- a/vrchatapi/models/share_inventory_item_direct_request.py +++ b/vrchatapi/models/share_inventory_item_direct_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option.py b/vrchatapi/models/sort_option.py index 2bdac5c6..883b0f50 100644 --- a/vrchatapi/models/sort_option.py +++ b/vrchatapi/models/sort_option.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/sort_option_product_purchase.py b/vrchatapi/models/sort_option_product_purchase.py index d8cf3dda..b33e7e03 100644 --- a/vrchatapi/models/sort_option_product_purchase.py +++ b/vrchatapi/models/sort_option_product_purchase.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/store.py b/vrchatapi/models/store.py index 893face1..df43cf3d 100644 --- a/vrchatapi/models/store.py +++ b/vrchatapi/models/store.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/store_shelf.py b/vrchatapi/models/store_shelf.py index f1d898d1..bd218acd 100644 --- a/vrchatapi/models/store_shelf.py +++ b/vrchatapi/models/store_shelf.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/store_type.py b/vrchatapi/models/store_type.py index cfd34707..12c10be6 100644 --- a/vrchatapi/models/store_type.py +++ b/vrchatapi/models/store_type.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/store_view.py b/vrchatapi/models/store_view.py index cec98cb8..d6bd4b40 100644 --- a/vrchatapi/models/store_view.py +++ b/vrchatapi/models/store_view.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/submission.py b/vrchatapi/models/submission.py index def32282..490cf6c7 100644 --- a/vrchatapi/models/submission.py +++ b/vrchatapi/models/submission.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/submit_moderation_report_request.py b/vrchatapi/models/submit_moderation_report_request.py index fa1c4da8..206a6367 100644 --- a/vrchatapi/models/submit_moderation_report_request.py +++ b/vrchatapi/models/submit_moderation_report_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/submit_moderation_report_request_details.py b/vrchatapi/models/submit_moderation_report_request_details.py index d6e1d39d..819c8c41 100644 --- a/vrchatapi/models/submit_moderation_report_request_details.py +++ b/vrchatapi/models/submit_moderation_report_request_details.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription.py b/vrchatapi/models/subscription.py index bba72e63..c0beac76 100644 --- a/vrchatapi/models/subscription.py +++ b/vrchatapi/models/subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/subscription_period.py b/vrchatapi/models/subscription_period.py index edc1a13f..5292d993 100644 --- a/vrchatapi/models/subscription_period.py +++ b/vrchatapi/models/subscription_period.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success.py b/vrchatapi/models/success.py index d05d6b42..29e49597 100644 --- a/vrchatapi/models/success.py +++ b/vrchatapi/models/success.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/success_flag.py b/vrchatapi/models/success_flag.py index 5786a11d..4cccdda8 100644 --- a/vrchatapi/models/success_flag.py +++ b/vrchatapi/models/success_flag.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/tilia_status.py b/vrchatapi/models/tilia_status.py index 5f6bf825..135bf0ba 100644 --- a/vrchatapi/models/tilia_status.py +++ b/vrchatapi/models/tilia_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/tilia_tos.py b/vrchatapi/models/tilia_tos.py index 254a17ef..e5b18001 100644 --- a/vrchatapi/models/tilia_tos.py +++ b/vrchatapi/models/tilia_tos.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/token_bundle.py b/vrchatapi/models/token_bundle.py index 142e1948..acee57e3 100644 --- a/vrchatapi/models/token_bundle.py +++ b/vrchatapi/models/token_bundle.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction.py b/vrchatapi/models/transaction.py index fc9c1e19..5242a910 100644 --- a/vrchatapi/models/transaction.py +++ b/vrchatapi/models/transaction.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_agreement.py b/vrchatapi/models/transaction_agreement.py index b182845e..cd9b4c4d 100644 --- a/vrchatapi/models/transaction_agreement.py +++ b/vrchatapi/models/transaction_agreement.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_status.py b/vrchatapi/models/transaction_status.py index 34730d80..ed570534 100644 --- a/vrchatapi/models/transaction_status.py +++ b/vrchatapi/models/transaction_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_info.py b/vrchatapi/models/transaction_steam_info.py index ab6f42c5..ae6a26cd 100644 --- a/vrchatapi/models/transaction_steam_info.py +++ b/vrchatapi/models/transaction_steam_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transaction_steam_wallet_info.py b/vrchatapi/models/transaction_steam_wallet_info.py index ecdfcd3e..b0eda474 100644 --- a/vrchatapi/models/transaction_steam_wallet_info.py +++ b/vrchatapi/models/transaction_steam_wallet_info.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/transfer_group_request.py b/vrchatapi/models/transfer_group_request.py index f3663e31..658ccf7e 100644 --- a/vrchatapi/models/transfer_group_request.py +++ b/vrchatapi/models/transfer_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_auth_code.py b/vrchatapi/models/two_factor_auth_code.py index be26d725..af2f92ae 100644 --- a/vrchatapi/models/two_factor_auth_code.py +++ b/vrchatapi/models/two_factor_auth_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_email_code.py b/vrchatapi/models/two_factor_email_code.py index d0bf5361..1294fa9d 100644 --- a/vrchatapi/models/two_factor_email_code.py +++ b/vrchatapi/models/two_factor_email_code.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_recovery_codes.py b/vrchatapi/models/two_factor_recovery_codes.py index af16836d..b81bbfa8 100644 --- a/vrchatapi/models/two_factor_recovery_codes.py +++ b/vrchatapi/models/two_factor_recovery_codes.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/two_factor_recovery_codes_otp_inner.py b/vrchatapi/models/two_factor_recovery_codes_otp_inner.py index 7b7ddaf4..349abc80 100644 --- a/vrchatapi/models/two_factor_recovery_codes_otp_inner.py +++ b/vrchatapi/models/two_factor_recovery_codes_otp_inner.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/unity_package.py b/vrchatapi/models/unity_package.py index 618376d4..80aacf76 100644 --- a/vrchatapi/models/unity_package.py +++ b/vrchatapi/models/unity_package.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_asset_review_notes_request.py b/vrchatapi/models/update_asset_review_notes_request.py index ea1f40a1..bd97c3f1 100644 --- a/vrchatapi/models/update_asset_review_notes_request.py +++ b/vrchatapi/models/update_asset_review_notes_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_avatar_request.py b/vrchatapi/models/update_avatar_request.py index fcffaf1b..3f7ec430 100644 --- a/vrchatapi/models/update_avatar_request.py +++ b/vrchatapi/models/update_avatar_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_calendar_event_request.py b/vrchatapi/models/update_calendar_event_request.py index 438c7832..8ffa7b60 100644 --- a/vrchatapi/models/update_calendar_event_request.py +++ b/vrchatapi/models/update_calendar_event_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_favorite_group_request.py b/vrchatapi/models/update_favorite_group_request.py index 222acabb..eb4b4c23 100644 --- a/vrchatapi/models/update_favorite_group_request.py +++ b/vrchatapi/models/update_favorite_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_gallery_request.py b/vrchatapi/models/update_group_gallery_request.py index 6ca03a6a..7b365128 100644 --- a/vrchatapi/models/update_group_gallery_request.py +++ b/vrchatapi/models/update_group_gallery_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_member_request.py b/vrchatapi/models/update_group_member_request.py index bc650330..c4a6a1f1 100644 --- a/vrchatapi/models/update_group_member_request.py +++ b/vrchatapi/models/update_group_member_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_representation_request.py b/vrchatapi/models/update_group_representation_request.py index d03b3dae..ac7c550a 100644 --- a/vrchatapi/models/update_group_representation_request.py +++ b/vrchatapi/models/update_group_representation_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_request.py b/vrchatapi/models/update_group_request.py index 5ce3c089..534b17de 100644 --- a/vrchatapi/models/update_group_request.py +++ b/vrchatapi/models/update_group_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_group_role_request.py b/vrchatapi/models/update_group_role_request.py index ab687abb..9d14478c 100644 --- a/vrchatapi/models/update_group_role_request.py +++ b/vrchatapi/models/update_group_role_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_inventory_item_request.py b/vrchatapi/models/update_inventory_item_request.py index bea3aede..a9412295 100644 --- a/vrchatapi/models/update_inventory_item_request.py +++ b/vrchatapi/models/update_inventory_item_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_invite_message_request.py b/vrchatapi/models/update_invite_message_request.py index c12177b4..95b7c35c 100644 --- a/vrchatapi/models/update_invite_message_request.py +++ b/vrchatapi/models/update_invite_message_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_prop_request.py b/vrchatapi/models/update_prop_request.py index d2304f10..27cb3f96 100644 --- a/vrchatapi/models/update_prop_request.py +++ b/vrchatapi/models/update_prop_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_tilia_tos_request.py b/vrchatapi/models/update_tilia_tos_request.py index 715acdb6..18f7a259 100644 --- a/vrchatapi/models/update_tilia_tos_request.py +++ b/vrchatapi/models/update_tilia_tos_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_badge_request.py b/vrchatapi/models/update_user_badge_request.py index ce70ab99..602206af 100644 --- a/vrchatapi/models/update_user_badge_request.py +++ b/vrchatapi/models/update_user_badge_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_note_request.py b/vrchatapi/models/update_user_note_request.py index e0e0883a..c7a75164 100644 --- a/vrchatapi/models/update_user_note_request.py +++ b/vrchatapi/models/update_user_note_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_user_request.py b/vrchatapi/models/update_user_request.py index 2b14f5b9..6f9e0701 100644 --- a/vrchatapi/models/update_user_request.py +++ b/vrchatapi/models/update_user_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/update_world_request.py b/vrchatapi/models/update_world_request.py index 7063c5c3..032f115d 100644 --- a/vrchatapi/models/update_world_request.py +++ b/vrchatapi/models/update_world_request.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user.py b/vrchatapi/models/user.py index 8880c8e6..251fb5e6 100644 --- a/vrchatapi/models/user.py +++ b/vrchatapi/models/user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_credits_eligible.py b/vrchatapi/models/user_credits_eligible.py index e951662f..f71f07fb 100644 --- a/vrchatapi/models/user_credits_eligible.py +++ b/vrchatapi/models/user_credits_eligible.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_exists.py b/vrchatapi/models/user_exists.py index 6cf2cc95..fe8010fc 100644 --- a/vrchatapi/models/user_exists.py +++ b/vrchatapi/models/user_exists.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_note.py b/vrchatapi/models/user_note.py index 6a87f3a5..d6f44e7e 100644 --- a/vrchatapi/models/user_note.py +++ b/vrchatapi/models/user_note.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_note_target_user.py b/vrchatapi/models/user_note_target_user.py index 8408292e..7e9f0e96 100644 --- a/vrchatapi/models/user_note_target_user.py +++ b/vrchatapi/models/user_note_target_user.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_state.py b/vrchatapi/models/user_state.py index dfba82c7..cd1387b0 100644 --- a/vrchatapi/models/user_state.py +++ b/vrchatapi/models/user_state.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_status.py b/vrchatapi/models/user_status.py index a0408939..a5c28d7a 100644 --- a/vrchatapi/models/user_status.py +++ b/vrchatapi/models/user_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription.py b/vrchatapi/models/user_subscription.py index 8ff7d9c8..8b02bac0 100644 --- a/vrchatapi/models/user_subscription.py +++ b/vrchatapi/models/user_subscription.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/user_subscription_eligible.py b/vrchatapi/models/user_subscription_eligible.py index 6fb39be8..adf5857e 100644 --- a/vrchatapi/models/user_subscription_eligible.py +++ b/vrchatapi/models/user_subscription_eligible.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_email_code_result.py b/vrchatapi/models/verify2_fa_email_code_result.py index 9236e56b..6bbfefda 100644 --- a/vrchatapi/models/verify2_fa_email_code_result.py +++ b/vrchatapi/models/verify2_fa_email_code_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify2_fa_result.py b/vrchatapi/models/verify2_fa_result.py index 325f6fd9..28ea6959 100644 --- a/vrchatapi/models/verify2_fa_result.py +++ b/vrchatapi/models/verify2_fa_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/verify_auth_token_result.py b/vrchatapi/models/verify_auth_token_result.py index f3f6b601..b6d276b3 100644 --- a/vrchatapi/models/verify_auth_token_result.py +++ b/vrchatapi/models/verify_auth_token_result.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index e37a471d..f9c94adc 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_metadata.py b/vrchatapi/models/world_metadata.py index dd726238..b301f8de 100644 --- a/vrchatapi/models/world_metadata.py +++ b/vrchatapi/models/world_metadata.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/models/world_publish_status.py b/vrchatapi/models/world_publish_status.py index f103f215..4230d6f9 100644 --- a/vrchatapi/models/world_publish_status.py +++ b/vrchatapi/models/world_publish_status.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index e5427dc8..ff752eba 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -4,7 +4,7 @@ VRChat API Documentation - The version of the OpenAPI document: 1.20.6 + The version of the OpenAPI document: 1.20.7 Contact: vrchatapi.lpv0t@aries.fyi Generated by: https://openapi-generator.tech """ From fec2640711a663ed23340bb32c9818cc6514c24e Mon Sep 17 00:00:00 2001 From: ariesclark Date: Thu, 1 Jan 2026 22:25:52 +0000 Subject: [PATCH 087/102] Upgrade Python SDK to spec 1.20.7 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index d7f874b7..5495a845 100644 --- a/setup.py +++ b/setup.py @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.20.8.dev0" +VERSION = "1.20.7" # To install the library, run the following # # python setup.py install From f09dca087c97f07b6bc6813beb97dcfd0998abc4 Mon Sep 17 00:00:00 2001 From: ariesclark Date: Tue, 6 Jan 2026 02:32:41 +0000 Subject: [PATCH 088/102] Upgrade Python SDK to spec 1.20.8.dev1 --- docs/MiscellaneousApi.md | 15 +++++++++++++-- docs/WorldsApi.md | 15 ++------------- setup.py | 2 +- vrchatapi/api/miscellaneous_api.py | 2 +- vrchatapi/api/worlds_api.py | 2 +- 5 files changed, 18 insertions(+), 18 deletions(-) diff --git a/docs/MiscellaneousApi.md b/docs/MiscellaneousApi.md index 1acb32c7..85036b11 100644 --- a/docs/MiscellaneousApi.md +++ b/docs/MiscellaneousApi.md @@ -333,6 +333,7 @@ IPS (Info Push System) is a system for VRChat to push out dynamic information to ### Example +* Api Key Authentication (authCookie): ```python from __future__ import print_function import time @@ -345,9 +346,19 @@ configuration = vrchatapi.Configuration( host = "https://api.vrchat.cloud/api/1" ) +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' # Enter a context with an instance of the API client -with vrchatapi.ApiClient() as api_client: +with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.MiscellaneousApi(api_client) require = 'require_example' # str | Tags to include (comma-separated). All of the tags needs to be present. (optional) @@ -374,7 +385,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[authCookie](../README.md#authCookie) ### HTTP request headers diff --git a/docs/WorldsApi.md b/docs/WorldsApi.md index 413fd245..a3b79030 100644 --- a/docs/WorldsApi.md +++ b/docs/WorldsApi.md @@ -829,7 +829,6 @@ Return a worlds custom metadata. This is currently believed to be unused. Metada ### Example -* Api Key Authentication (authCookie): ```python from __future__ import print_function import time @@ -842,19 +841,9 @@ configuration = vrchatapi.Configuration( host = "https://api.vrchat.cloud/api/1" ) -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: authCookie -configuration.api_key['authCookie'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authCookie'] = 'Bearer' # Enter a context with an instance of the API client -with vrchatapi.ApiClient(configuration) as api_client: +with vrchatapi.ApiClient() as api_client: # Create an instance of the API class api_instance = vrchatapi.WorldsApi(api_client) world_id = 'world_id_example' # str | Must be a valid world ID. @@ -879,7 +868,7 @@ Name | Type | Description | Notes ### Authorization -[authCookie](../README.md#authCookie) +No authorization required ### HTTP request headers diff --git a/setup.py b/setup.py index 5495a845..2c5cef87 100644 --- a/setup.py +++ b/setup.py @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.20.7" +VERSION = "1.20.8.dev1" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/api/miscellaneous_api.py b/vrchatapi/api/miscellaneous_api.py index 976435da..3bde57d9 100644 --- a/vrchatapi/api/miscellaneous_api.py +++ b/vrchatapi/api/miscellaneous_api.py @@ -811,7 +811,7 @@ def get_info_push_with_http_info(self, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = [] # noqa: E501 + auth_settings = ['authCookie'] # noqa: E501 response_types_map = { 200: "list[InfoPush]", diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 5c6218e1..5cdf1abf 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -1835,7 +1835,7 @@ def get_world_metadata_with_http_info(self, world_id, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['authCookie'] # noqa: E501 + auth_settings = [] # noqa: E501 response_types_map = { 200: "WorldMetadata", From b108e9a88c86f04b4067d0ccff4286fc919812dd Mon Sep 17 00:00:00 2001 From: ariesclark Date: Tue, 6 Jan 2026 02:39:06 +0000 Subject: [PATCH 089/102] Upgrade Python SDK to spec 1.20.8.dev2 --- docs/CalendarEvent.md | 3 ++ setup.py | 2 +- vrchatapi/models/calendar_event.py | 84 +++++++++++++++++++++++++++++- 3 files changed, 87 insertions(+), 2 deletions(-) diff --git a/docs/CalendarEvent.md b/docs/CalendarEvent.md index 0e83330f..76e84173 100644 --- a/docs/CalendarEvent.md +++ b/docs/CalendarEvent.md @@ -22,9 +22,12 @@ Name | Type | Description | Notes **interested_user_count** | **int** | | [optional] **is_draft** | **bool** | | [optional] **languages** | **list[str]** | Languages that might be spoken at this event | [optional] +**occurrence_kind** | **str** | So far if it exists, always the string \"single\" | [optional] **owner_id** | **str** | | [optional] **platforms** | [**list[CalendarEventPlatform]**](CalendarEventPlatform.md) | | [optional] +**recurrence** | **str** | So far unused, always \"null\" | [optional] **role_ids** | **list[str]** | Group roles that may join this event | [optional] +**series_id** | **str** | So far unused, always \"null\" | [optional] **starts_at** | **datetime** | | **tags** | **list[str]** | Custom tags for this event | [optional] **title** | **str** | | diff --git a/setup.py b/setup.py index 2c5cef87..15cae70d 100644 --- a/setup.py +++ b/setup.py @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.20.8.dev1" +VERSION = "1.20.8.dev2" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/models/calendar_event.py b/vrchatapi/models/calendar_event.py index b7a25149..c26ae43c 100644 --- a/vrchatapi/models/calendar_event.py +++ b/vrchatapi/models/calendar_event.py @@ -53,9 +53,12 @@ class CalendarEvent(object): 'interested_user_count': 'int', 'is_draft': 'bool', 'languages': 'list[str]', + 'occurrence_kind': 'str', 'owner_id': 'str', 'platforms': 'list[CalendarEventPlatform]', + 'recurrence': 'str', 'role_ids': 'list[str]', + 'series_id': 'str', 'starts_at': 'datetime', 'tags': 'list[str]', 'title': 'str', @@ -83,9 +86,12 @@ class CalendarEvent(object): 'interested_user_count': 'interestedUserCount', 'is_draft': 'isDraft', 'languages': 'languages', + 'occurrence_kind': 'occurrenceKind', 'owner_id': 'ownerId', 'platforms': 'platforms', + 'recurrence': 'recurrence', 'role_ids': 'roleIds', + 'series_id': 'seriesId', 'starts_at': 'startsAt', 'tags': 'tags', 'title': 'title', @@ -95,7 +101,7 @@ class CalendarEvent(object): 'uses_instance_overflow': 'usesInstanceOverflow' } - def __init__(self, access_type=None, category=None, close_instance_after_end_minutes=None, created_at=None, deleted_at=None, description=None, duration_in_ms=None, ends_at=None, featured=None, guest_early_join_minutes=None, host_early_join_minutes=None, id=None, image_id=None, image_url=None, interested_user_count=None, is_draft=None, languages=None, owner_id=None, platforms=None, role_ids=None, starts_at=None, tags=None, title=None, type=None, updated_at=None, user_interest=None, uses_instance_overflow=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, access_type=None, category=None, close_instance_after_end_minutes=None, created_at=None, deleted_at=None, description=None, duration_in_ms=None, ends_at=None, featured=None, guest_early_join_minutes=None, host_early_join_minutes=None, id=None, image_id=None, image_url=None, interested_user_count=None, is_draft=None, languages=None, occurrence_kind=None, owner_id=None, platforms=None, recurrence=None, role_ids=None, series_id=None, starts_at=None, tags=None, title=None, type=None, updated_at=None, user_interest=None, uses_instance_overflow=None, local_vars_configuration=None): # noqa: E501 """CalendarEvent - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -118,9 +124,12 @@ def __init__(self, access_type=None, category=None, close_instance_after_end_min self._interested_user_count = None self._is_draft = None self._languages = None + self._occurrence_kind = None self._owner_id = None self._platforms = None + self._recurrence = None self._role_ids = None + self._series_id = None self._starts_at = None self._tags = None self._title = None @@ -157,11 +166,15 @@ def __init__(self, access_type=None, category=None, close_instance_after_end_min self.is_draft = is_draft if languages is not None: self.languages = languages + if occurrence_kind is not None: + self.occurrence_kind = occurrence_kind if owner_id is not None: self.owner_id = owner_id if platforms is not None: self.platforms = platforms + self.recurrence = recurrence self.role_ids = role_ids + self.series_id = series_id self.starts_at = starts_at if tags is not None: self.tags = tags @@ -544,6 +557,29 @@ def languages(self, languages): self._languages = languages + @property + def occurrence_kind(self): + """Gets the occurrence_kind of this CalendarEvent. # noqa: E501 + + So far if it exists, always the string \"single\" # noqa: E501 + + :return: The occurrence_kind of this CalendarEvent. # noqa: E501 + :rtype: str + """ + return self._occurrence_kind + + @occurrence_kind.setter + def occurrence_kind(self, occurrence_kind): + """Sets the occurrence_kind of this CalendarEvent. + + So far if it exists, always the string \"single\" # noqa: E501 + + :param occurrence_kind: The occurrence_kind of this CalendarEvent. # noqa: E501 + :type occurrence_kind: str + """ + + self._occurrence_kind = occurrence_kind + @property def owner_id(self): """Gets the owner_id of this CalendarEvent. # noqa: E501 @@ -586,6 +622,29 @@ def platforms(self, platforms): self._platforms = platforms + @property + def recurrence(self): + """Gets the recurrence of this CalendarEvent. # noqa: E501 + + So far unused, always \"null\" # noqa: E501 + + :return: The recurrence of this CalendarEvent. # noqa: E501 + :rtype: str + """ + return self._recurrence + + @recurrence.setter + def recurrence(self, recurrence): + """Sets the recurrence of this CalendarEvent. + + So far unused, always \"null\" # noqa: E501 + + :param recurrence: The recurrence of this CalendarEvent. # noqa: E501 + :type recurrence: str + """ + + self._recurrence = recurrence + @property def role_ids(self): """Gets the role_ids of this CalendarEvent. # noqa: E501 @@ -609,6 +668,29 @@ def role_ids(self, role_ids): self._role_ids = role_ids + @property + def series_id(self): + """Gets the series_id of this CalendarEvent. # noqa: E501 + + So far unused, always \"null\" # noqa: E501 + + :return: The series_id of this CalendarEvent. # noqa: E501 + :rtype: str + """ + return self._series_id + + @series_id.setter + def series_id(self, series_id): + """Sets the series_id of this CalendarEvent. + + So far unused, always \"null\" # noqa: E501 + + :param series_id: The series_id of this CalendarEvent. # noqa: E501 + :type series_id: str + """ + + self._series_id = series_id + @property def starts_at(self): """Gets the starts_at of this CalendarEvent. # noqa: E501 From 9e56b08293d5188f40176f7cbd77be461fd62831 Mon Sep 17 00:00:00 2001 From: ariesclark Date: Sat, 10 Jan 2026 10:39:55 +0000 Subject: [PATCH 090/102] Upgrade Python SDK to spec 1.20.8.dev3 --- setup.py | 2 +- vrchatapi/models/mime_type.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 15cae70d..dce8cd4b 100644 --- a/setup.py +++ b/setup.py @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.20.8.dev2" +VERSION = "1.20.8.dev3" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/models/mime_type.py b/vrchatapi/models/mime_type.py index 8b1a253a..4357340b 100644 --- a/vrchatapi/models/mime_type.py +++ b/vrchatapi/models/mime_type.py @@ -34,6 +34,7 @@ class MIMEType(object): APPLICATION_GZIP = "application/gzip" APPLICATION_OCTET_STREAM = "application/octet-stream" APPLICATION_X_AVATAR = "application/x-avatar" + APPLICATION_X_PROP = "application/x-prop" APPLICATION_X_RSYNC_DELTA = "application/x-rsync-delta" APPLICATION_X_RSYNC_SIGNATURE = "application/x-rsync-signature" APPLICATION_X_WORLD = "application/x-world" @@ -46,7 +47,7 @@ class MIMEType(object): IMAGE_TIFF = "image/tiff" IMAGE_WEBP = "image/webp" - allowable_values = [APPLICATION_GZIP, APPLICATION_OCTET_STREAM, APPLICATION_X_AVATAR, APPLICATION_X_RSYNC_DELTA, APPLICATION_X_RSYNC_SIGNATURE, APPLICATION_X_WORLD, IMAGE_BMP, IMAGE_GIF, IMAGE_JPEG, IMAGE_JPG, IMAGE_PNG, IMAGE_SVG_XML, IMAGE_TIFF, IMAGE_WEBP] # noqa: E501 + allowable_values = [APPLICATION_GZIP, APPLICATION_OCTET_STREAM, APPLICATION_X_AVATAR, APPLICATION_X_PROP, APPLICATION_X_RSYNC_DELTA, APPLICATION_X_RSYNC_SIGNATURE, APPLICATION_X_WORLD, IMAGE_BMP, IMAGE_GIF, IMAGE_JPEG, IMAGE_JPG, IMAGE_PNG, IMAGE_SVG_XML, IMAGE_TIFF, IMAGE_WEBP] # noqa: E501 """ Attributes: From 9527d71708cb245f3389c1c8d1a0228b8ee09825 Mon Sep 17 00:00:00 2001 From: ariesclark Date: Sat, 10 Jan 2026 11:02:52 +0000 Subject: [PATCH 091/102] Upgrade Python SDK to spec 1.20.8.dev4 --- .openapi-generator/FILES | 2 - docs/GroupLimitedMember.md | 27 -- docs/GroupMember.md | 37 +- docs/GroupsApi.md | 10 +- setup.py | 2 +- vrchatapi/__init__.py | 1 - vrchatapi/api/groups_api.py | 16 +- vrchatapi/models/__init__.py | 1 - vrchatapi/models/group_limited_member.py | 526 ----------------------- vrchatapi/models/group_member.py | 68 +-- 10 files changed, 75 insertions(+), 615 deletions(-) delete mode 100644 docs/GroupLimitedMember.md delete mode 100644 vrchatapi/models/group_limited_member.py diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 2624a571..f07d2100 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -115,7 +115,6 @@ docs/GroupGalleryImage.md docs/GroupInstance.md docs/GroupJoinRequestAction.md docs/GroupJoinState.md -docs/GroupLimitedMember.md docs/GroupMember.md docs/GroupMemberLimitedUser.md docs/GroupMemberStatus.md @@ -450,7 +449,6 @@ vrchatapi/models/group_gallery_image.py vrchatapi/models/group_instance.py vrchatapi/models/group_join_request_action.py vrchatapi/models/group_join_state.py -vrchatapi/models/group_limited_member.py vrchatapi/models/group_member.py vrchatapi/models/group_member_limited_user.py vrchatapi/models/group_member_status.py diff --git a/docs/GroupLimitedMember.md b/docs/GroupLimitedMember.md deleted file mode 100644 index 42c35104..00000000 --- a/docs/GroupLimitedMember.md +++ /dev/null @@ -1,27 +0,0 @@ -# GroupLimitedMember - -May be null when attempting to retrieve group membership for a user who is not part of the group - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**banned_at** | **datetime** | Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. | [optional] -**created_at** | **datetime** | Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. | [optional] -**group_id** | **str** | | [optional] -**has_joined_from_purchase** | **bool** | | [optional] -**id** | **str** | | [optional] -**is_representing** | **bool** | Whether the user is representing the group. This makes the group show up above the name tag in-game. | [optional] [default to False] -**is_subscribed_to_announcements** | **bool** | | [optional] [default to False] -**is_subscribed_to_event_announcements** | **bool** | | [optional] -**joined_at** | **datetime** | | [optional] -**last_post_read_at** | **datetime** | | [optional] -**m_role_ids** | **list[str]** | | [optional] -**manager_notes** | **str** | Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. | [optional] -**membership_status** | [**GroupMemberStatus**](GroupMemberStatus.md) | | [optional] -**role_ids** | **list[str]** | | [optional] -**user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] -**visibility** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/GroupMember.md b/docs/GroupMember.md index d92d19e6..1d3afdda 100644 --- a/docs/GroupMember.md +++ b/docs/GroupMember.md @@ -1,28 +1,29 @@ # GroupMember +May be null when attempting to retrieve group membership for a user who is not part of the group ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**accepted_by_display_name** | **str** | | [optional] -**accepted_by_id** | **str** | | [optional] -**banned_at** | **datetime** | Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. | [optional] -**created_at** | **datetime** | Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. | [optional] -**group_id** | **str** | | [optional] -**has_joined_from_purchase** | **bool** | | [optional] -**id** | **str** | | [optional] -**is_representing** | **bool** | Whether the user is representing the group. This makes the group show up above the name tag in-game. | [optional] [default to False] -**is_subscribed_to_announcements** | **bool** | | [optional] [default to False] -**is_subscribed_to_event_announcements** | **bool** | | [optional] -**joined_at** | **datetime** | | [optional] -**last_post_read_at** | **datetime** | | [optional] -**m_role_ids** | **list[str]** | | [optional] -**manager_notes** | **str** | Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. | [optional] -**membership_status** | [**GroupMemberStatus**](GroupMemberStatus.md) | | [optional] -**role_ids** | **list[str]** | | [optional] +**accepted_by_display_name** | **str** | Only missing when explicitly fetching own user. | [optional] +**accepted_by_id** | **str** | Only missing when explicitly fetching own user. | [optional] +**banned_at** | **datetime** | Only missing when explicitly fetching own user. | [optional] +**created_at** | **datetime** | Only missing when explicitly fetching own user. | [optional] +**group_id** | **str** | | +**has_joined_from_purchase** | **bool** | Missing when explicitly fetching own user, or when group isn't linked to a purchase. | [optional] +**id** | **str** | | +**is_representing** | **bool** | Whether the user is representing the group. This makes the group show up above the name tag in-game. | [default to False] +**is_subscribed_to_announcements** | **bool** | | [default to False] +**is_subscribed_to_event_announcements** | **bool** | Only missing when explicitly fetching own user. | [optional] +**joined_at** | **datetime** | | +**last_post_read_at** | **datetime** | | +**m_role_ids** | **list[str]** | | +**manager_notes** | **str** | Only missing when explicitly fetching own user. | [optional] +**membership_status** | [**GroupMemberStatus**](GroupMemberStatus.md) | | +**role_ids** | **list[str]** | | **user** | [**GroupMemberLimitedUser**](GroupMemberLimitedUser.md) | | [optional] -**user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] -**visibility** | **str** | | [optional] +**user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**visibility** | **str** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GroupsApi.md b/docs/GroupsApi.md index 95a96e85..7d5d0631 100644 --- a/docs/GroupsApi.md +++ b/docs/GroupsApi.md @@ -2232,11 +2232,11 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_group_member** -> GroupLimitedMember get_group_member(group_id, user_id) +> GroupMember get_group_member(group_id, user_id) Get Group Member -Returns a LimitedGroup Member. +Returns a GroupMember. ### Example @@ -2288,7 +2288,7 @@ Name | Type | Description | Notes ### Return type -[**GroupLimitedMember**](GroupLimitedMember.md) +[**GroupMember**](GroupMember.md) ### Authorization @@ -3704,7 +3704,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **update_group_member** -> GroupLimitedMember update_group_member(group_id, user_id, update_group_member_request=update_group_member_request) +> GroupMember update_group_member(group_id, user_id, update_group_member_request=update_group_member_request) Update Group Member @@ -3762,7 +3762,7 @@ Name | Type | Description | Notes ### Return type -[**GroupLimitedMember**](GroupLimitedMember.md) +[**GroupMember**](GroupMember.md) ### Authorization diff --git a/setup.py b/setup.py index dce8cd4b..53401063 100644 --- a/setup.py +++ b/setup.py @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.20.8.dev3" +VERSION = "1.20.8.dev4" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index bf5a8f40..eff5ef5a 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -156,7 +156,6 @@ from vrchatapi.models.group_instance import GroupInstance from vrchatapi.models.group_join_request_action import GroupJoinRequestAction from vrchatapi.models.group_join_state import GroupJoinState -from vrchatapi.models.group_limited_member import GroupLimitedMember from vrchatapi.models.group_member import GroupMember from vrchatapi.models.group_member_limited_user import GroupMemberLimitedUser from vrchatapi.models.group_member_status import GroupMemberStatus diff --git a/vrchatapi/api/groups_api.py b/vrchatapi/api/groups_api.py index 451225d4..a7e0e06a 100644 --- a/vrchatapi/api/groups_api.py +++ b/vrchatapi/api/groups_api.py @@ -4310,7 +4310,7 @@ def get_group_invites_with_http_info(self, group_id, **kwargs): # noqa: E501 def get_group_member(self, group_id, user_id, **kwargs): # noqa: E501 """Get Group Member # noqa: E501 - Returns a LimitedGroup Member. # noqa: E501 + Returns a GroupMember. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -4334,7 +4334,7 @@ def get_group_member(self, group_id, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: GroupLimitedMember + :rtype: GroupMember """ kwargs['_return_http_data_only'] = True return self.get_group_member_with_http_info(group_id, user_id, **kwargs) # noqa: E501 @@ -4342,7 +4342,7 @@ def get_group_member(self, group_id, user_id, **kwargs): # noqa: E501 def get_group_member_with_http_info(self, group_id, user_id, **kwargs): # noqa: E501 """Get Group Member # noqa: E501 - Returns a LimitedGroup Member. # noqa: E501 + Returns a GroupMember. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -4374,7 +4374,7 @@ def get_group_member_with_http_info(self, group_id, user_id, **kwargs): # noqa: :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(GroupLimitedMember, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(GroupMember, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() @@ -4434,7 +4434,7 @@ def get_group_member_with_http_info(self, group_id, user_id, **kwargs): # noqa: auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "GroupLimitedMember", + 200: "GroupMember", 401: "Error", 403: "Error", 404: "Error", @@ -7265,7 +7265,7 @@ def update_group_member(self, group_id, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: GroupLimitedMember + :rtype: GroupMember """ kwargs['_return_http_data_only'] = True return self.update_group_member_with_http_info(group_id, user_id, **kwargs) # noqa: E501 @@ -7307,7 +7307,7 @@ def update_group_member_with_http_info(self, group_id, user_id, **kwargs): # no :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(GroupLimitedMember, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(GroupMember, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() @@ -7378,7 +7378,7 @@ def update_group_member_with_http_info(self, group_id, user_id, **kwargs): # no auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "GroupLimitedMember", + 200: "GroupMember", 401: "Error", 404: "Error", } diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index 81ab89e3..d5bec898 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -123,7 +123,6 @@ from vrchatapi.models.group_instance import GroupInstance from vrchatapi.models.group_join_request_action import GroupJoinRequestAction from vrchatapi.models.group_join_state import GroupJoinState -from vrchatapi.models.group_limited_member import GroupLimitedMember from vrchatapi.models.group_member import GroupMember from vrchatapi.models.group_member_limited_user import GroupMemberLimitedUser from vrchatapi.models.group_member_status import GroupMemberStatus diff --git a/vrchatapi/models/group_limited_member.py b/vrchatapi/models/group_limited_member.py deleted file mode 100644 index 376c6b8b..00000000 --- a/vrchatapi/models/group_limited_member.py +++ /dev/null @@ -1,526 +0,0 @@ -# coding: utf-8 - -""" - VRChat API Documentation - - - The version of the OpenAPI document: 1.20.7 - Contact: vrchatapi.lpv0t@aries.fyi - Generated by: https://openapi-generator.tech -""" - - -try: - from inspect import getfullargspec -except ImportError: - from inspect import getargspec as getfullargspec -import pprint -import re # noqa: F401 -import six - -from vrchatapi.configuration import Configuration - - -class GroupLimitedMember(object): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - openapi_types = { - 'banned_at': 'datetime', - 'created_at': 'datetime', - 'group_id': 'str', - 'has_joined_from_purchase': 'bool', - 'id': 'str', - 'is_representing': 'bool', - 'is_subscribed_to_announcements': 'bool', - 'is_subscribed_to_event_announcements': 'bool', - 'joined_at': 'datetime', - 'last_post_read_at': 'datetime', - 'm_role_ids': 'list[str]', - 'manager_notes': 'str', - 'membership_status': 'GroupMemberStatus', - 'role_ids': 'list[str]', - 'user_id': 'str', - 'visibility': 'str' - } - - attribute_map = { - 'banned_at': 'bannedAt', - 'created_at': 'createdAt', - 'group_id': 'groupId', - 'has_joined_from_purchase': 'hasJoinedFromPurchase', - 'id': 'id', - 'is_representing': 'isRepresenting', - 'is_subscribed_to_announcements': 'isSubscribedToAnnouncements', - 'is_subscribed_to_event_announcements': 'isSubscribedToEventAnnouncements', - 'joined_at': 'joinedAt', - 'last_post_read_at': 'lastPostReadAt', - 'm_role_ids': 'mRoleIds', - 'manager_notes': 'managerNotes', - 'membership_status': 'membershipStatus', - 'role_ids': 'roleIds', - 'user_id': 'userId', - 'visibility': 'visibility' - } - - def __init__(self, banned_at=None, created_at=None, group_id=None, has_joined_from_purchase=None, id=None, is_representing=False, is_subscribed_to_announcements=False, is_subscribed_to_event_announcements=None, joined_at=None, last_post_read_at=None, m_role_ids=None, manager_notes=None, membership_status=None, role_ids=None, user_id=None, visibility=None, local_vars_configuration=None): # noqa: E501 - """GroupLimitedMember - a model defined in OpenAPI""" # noqa: E501 - if local_vars_configuration is None: - local_vars_configuration = Configuration.get_default_copy() - self.local_vars_configuration = local_vars_configuration - - self._banned_at = None - self._created_at = None - self._group_id = None - self._has_joined_from_purchase = None - self._id = None - self._is_representing = None - self._is_subscribed_to_announcements = None - self._is_subscribed_to_event_announcements = None - self._joined_at = None - self._last_post_read_at = None - self._m_role_ids = None - self._manager_notes = None - self._membership_status = None - self._role_ids = None - self._user_id = None - self._visibility = None - self.discriminator = None - - self.banned_at = banned_at - self.created_at = created_at - if group_id is not None: - self.group_id = group_id - if has_joined_from_purchase is not None: - self.has_joined_from_purchase = has_joined_from_purchase - if id is not None: - self.id = id - if is_representing is not None: - self.is_representing = is_representing - if is_subscribed_to_announcements is not None: - self.is_subscribed_to_announcements = is_subscribed_to_announcements - if is_subscribed_to_event_announcements is not None: - self.is_subscribed_to_event_announcements = is_subscribed_to_event_announcements - self.joined_at = joined_at - self.last_post_read_at = last_post_read_at - if m_role_ids is not None: - self.m_role_ids = m_role_ids - self.manager_notes = manager_notes - if membership_status is not None: - self.membership_status = membership_status - if role_ids is not None: - self.role_ids = role_ids - if user_id is not None: - self.user_id = user_id - if visibility is not None: - self.visibility = visibility - - @property - def banned_at(self): - """Gets the banned_at of this GroupLimitedMember. # noqa: E501 - - Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 - - :return: The banned_at of this GroupLimitedMember. # noqa: E501 - :rtype: datetime - """ - return self._banned_at - - @banned_at.setter - def banned_at(self, banned_at): - """Sets the banned_at of this GroupLimitedMember. - - Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 - - :param banned_at: The banned_at of this GroupLimitedMember. # noqa: E501 - :type banned_at: datetime - """ - - self._banned_at = banned_at - - @property - def created_at(self): - """Gets the created_at of this GroupLimitedMember. # noqa: E501 - - Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 - - :return: The created_at of this GroupLimitedMember. # noqa: E501 - :rtype: datetime - """ - return self._created_at - - @created_at.setter - def created_at(self, created_at): - """Sets the created_at of this GroupLimitedMember. - - Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 - - :param created_at: The created_at of this GroupLimitedMember. # noqa: E501 - :type created_at: datetime - """ - - self._created_at = created_at - - @property - def group_id(self): - """Gets the group_id of this GroupLimitedMember. # noqa: E501 - - - :return: The group_id of this GroupLimitedMember. # noqa: E501 - :rtype: str - """ - return self._group_id - - @group_id.setter - def group_id(self, group_id): - """Sets the group_id of this GroupLimitedMember. - - - :param group_id: The group_id of this GroupLimitedMember. # noqa: E501 - :type group_id: str - """ - - self._group_id = group_id - - @property - def has_joined_from_purchase(self): - """Gets the has_joined_from_purchase of this GroupLimitedMember. # noqa: E501 - - - :return: The has_joined_from_purchase of this GroupLimitedMember. # noqa: E501 - :rtype: bool - """ - return self._has_joined_from_purchase - - @has_joined_from_purchase.setter - def has_joined_from_purchase(self, has_joined_from_purchase): - """Sets the has_joined_from_purchase of this GroupLimitedMember. - - - :param has_joined_from_purchase: The has_joined_from_purchase of this GroupLimitedMember. # noqa: E501 - :type has_joined_from_purchase: bool - """ - - self._has_joined_from_purchase = has_joined_from_purchase - - @property - def id(self): - """Gets the id of this GroupLimitedMember. # noqa: E501 - - - :return: The id of this GroupLimitedMember. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this GroupLimitedMember. - - - :param id: The id of this GroupLimitedMember. # noqa: E501 - :type id: str - """ - - self._id = id - - @property - def is_representing(self): - """Gets the is_representing of this GroupLimitedMember. # noqa: E501 - - Whether the user is representing the group. This makes the group show up above the name tag in-game. # noqa: E501 - - :return: The is_representing of this GroupLimitedMember. # noqa: E501 - :rtype: bool - """ - return self._is_representing - - @is_representing.setter - def is_representing(self, is_representing): - """Sets the is_representing of this GroupLimitedMember. - - Whether the user is representing the group. This makes the group show up above the name tag in-game. # noqa: E501 - - :param is_representing: The is_representing of this GroupLimitedMember. # noqa: E501 - :type is_representing: bool - """ - - self._is_representing = is_representing - - @property - def is_subscribed_to_announcements(self): - """Gets the is_subscribed_to_announcements of this GroupLimitedMember. # noqa: E501 - - - :return: The is_subscribed_to_announcements of this GroupLimitedMember. # noqa: E501 - :rtype: bool - """ - return self._is_subscribed_to_announcements - - @is_subscribed_to_announcements.setter - def is_subscribed_to_announcements(self, is_subscribed_to_announcements): - """Sets the is_subscribed_to_announcements of this GroupLimitedMember. - - - :param is_subscribed_to_announcements: The is_subscribed_to_announcements of this GroupLimitedMember. # noqa: E501 - :type is_subscribed_to_announcements: bool - """ - - self._is_subscribed_to_announcements = is_subscribed_to_announcements - - @property - def is_subscribed_to_event_announcements(self): - """Gets the is_subscribed_to_event_announcements of this GroupLimitedMember. # noqa: E501 - - - :return: The is_subscribed_to_event_announcements of this GroupLimitedMember. # noqa: E501 - :rtype: bool - """ - return self._is_subscribed_to_event_announcements - - @is_subscribed_to_event_announcements.setter - def is_subscribed_to_event_announcements(self, is_subscribed_to_event_announcements): - """Sets the is_subscribed_to_event_announcements of this GroupLimitedMember. - - - :param is_subscribed_to_event_announcements: The is_subscribed_to_event_announcements of this GroupLimitedMember. # noqa: E501 - :type is_subscribed_to_event_announcements: bool - """ - - self._is_subscribed_to_event_announcements = is_subscribed_to_event_announcements - - @property - def joined_at(self): - """Gets the joined_at of this GroupLimitedMember. # noqa: E501 - - - :return: The joined_at of this GroupLimitedMember. # noqa: E501 - :rtype: datetime - """ - return self._joined_at - - @joined_at.setter - def joined_at(self, joined_at): - """Sets the joined_at of this GroupLimitedMember. - - - :param joined_at: The joined_at of this GroupLimitedMember. # noqa: E501 - :type joined_at: datetime - """ - - self._joined_at = joined_at - - @property - def last_post_read_at(self): - """Gets the last_post_read_at of this GroupLimitedMember. # noqa: E501 - - - :return: The last_post_read_at of this GroupLimitedMember. # noqa: E501 - :rtype: datetime - """ - return self._last_post_read_at - - @last_post_read_at.setter - def last_post_read_at(self, last_post_read_at): - """Sets the last_post_read_at of this GroupLimitedMember. - - - :param last_post_read_at: The last_post_read_at of this GroupLimitedMember. # noqa: E501 - :type last_post_read_at: datetime - """ - - self._last_post_read_at = last_post_read_at - - @property - def m_role_ids(self): - """Gets the m_role_ids of this GroupLimitedMember. # noqa: E501 - - - :return: The m_role_ids of this GroupLimitedMember. # noqa: E501 - :rtype: list[str] - """ - return self._m_role_ids - - @m_role_ids.setter - def m_role_ids(self, m_role_ids): - """Sets the m_role_ids of this GroupLimitedMember. - - - :param m_role_ids: The m_role_ids of this GroupLimitedMember. # noqa: E501 - :type m_role_ids: list[str] - """ - - self._m_role_ids = m_role_ids - - @property - def manager_notes(self): - """Gets the manager_notes of this GroupLimitedMember. # noqa: E501 - - Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 - - :return: The manager_notes of this GroupLimitedMember. # noqa: E501 - :rtype: str - """ - return self._manager_notes - - @manager_notes.setter - def manager_notes(self, manager_notes): - """Sets the manager_notes of this GroupLimitedMember. - - Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 - - :param manager_notes: The manager_notes of this GroupLimitedMember. # noqa: E501 - :type manager_notes: str - """ - - self._manager_notes = manager_notes - - @property - def membership_status(self): - """Gets the membership_status of this GroupLimitedMember. # noqa: E501 - - - :return: The membership_status of this GroupLimitedMember. # noqa: E501 - :rtype: GroupMemberStatus - """ - return self._membership_status - - @membership_status.setter - def membership_status(self, membership_status): - """Sets the membership_status of this GroupLimitedMember. - - - :param membership_status: The membership_status of this GroupLimitedMember. # noqa: E501 - :type membership_status: GroupMemberStatus - """ - - self._membership_status = membership_status - - @property - def role_ids(self): - """Gets the role_ids of this GroupLimitedMember. # noqa: E501 - - - :return: The role_ids of this GroupLimitedMember. # noqa: E501 - :rtype: list[str] - """ - return self._role_ids - - @role_ids.setter - def role_ids(self, role_ids): - """Sets the role_ids of this GroupLimitedMember. - - - :param role_ids: The role_ids of this GroupLimitedMember. # noqa: E501 - :type role_ids: list[str] - """ - - self._role_ids = role_ids - - @property - def user_id(self): - """Gets the user_id of this GroupLimitedMember. # noqa: E501 - - A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - - :return: The user_id of this GroupLimitedMember. # noqa: E501 - :rtype: str - """ - return self._user_id - - @user_id.setter - def user_id(self, user_id): - """Sets the user_id of this GroupLimitedMember. - - A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - - :param user_id: The user_id of this GroupLimitedMember. # noqa: E501 - :type user_id: str - """ - - self._user_id = user_id - - @property - def visibility(self): - """Gets the visibility of this GroupLimitedMember. # noqa: E501 - - - :return: The visibility of this GroupLimitedMember. # noqa: E501 - :rtype: str - """ - return self._visibility - - @visibility.setter - def visibility(self, visibility): - """Sets the visibility of this GroupLimitedMember. - - - :param visibility: The visibility of this GroupLimitedMember. # noqa: E501 - :type visibility: str - """ - - self._visibility = visibility - - def to_dict(self, serialize=False): - """Returns the model properties as a dict""" - result = {} - - def convert(x): - if hasattr(x, "to_dict"): - args = getfullargspec(x.to_dict).args - if len(args) == 1: - return x.to_dict() - else: - return x.to_dict(serialize) - else: - return x - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - attr = self.attribute_map.get(attr, attr) if serialize else attr - if isinstance(value, list): - result[attr] = list(map( - lambda x: convert(x), - value - )) - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], convert(item[1])), - value.items() - )) - else: - result[attr] = convert(value) - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GroupLimitedMember): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, GroupLimitedMember): - return True - - return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/group_member.py b/vrchatapi/models/group_member.py index 0d437519..6ff04b8d 100644 --- a/vrchatapi/models/group_member.py +++ b/vrchatapi/models/group_member.py @@ -110,38 +110,29 @@ def __init__(self, accepted_by_display_name=None, accepted_by_id=None, banned_at self.accepted_by_id = accepted_by_id self.banned_at = banned_at self.created_at = created_at - if group_id is not None: - self.group_id = group_id + self.group_id = group_id if has_joined_from_purchase is not None: self.has_joined_from_purchase = has_joined_from_purchase - if id is not None: - self.id = id - if is_representing is not None: - self.is_representing = is_representing - if is_subscribed_to_announcements is not None: - self.is_subscribed_to_announcements = is_subscribed_to_announcements + self.id = id + self.is_representing = is_representing + self.is_subscribed_to_announcements = is_subscribed_to_announcements if is_subscribed_to_event_announcements is not None: self.is_subscribed_to_event_announcements = is_subscribed_to_event_announcements self.joined_at = joined_at self.last_post_read_at = last_post_read_at - if m_role_ids is not None: - self.m_role_ids = m_role_ids + self.m_role_ids = m_role_ids self.manager_notes = manager_notes - if membership_status is not None: - self.membership_status = membership_status - if role_ids is not None: - self.role_ids = role_ids - if user is not None: - self.user = user - if user_id is not None: - self.user_id = user_id - if visibility is not None: - self.visibility = visibility + self.membership_status = membership_status + self.role_ids = role_ids + self.user = user + self.user_id = user_id + self.visibility = visibility @property def accepted_by_display_name(self): """Gets the accepted_by_display_name of this GroupMember. # noqa: E501 + Only missing when explicitly fetching own user. # noqa: E501 :return: The accepted_by_display_name of this GroupMember. # noqa: E501 :rtype: str @@ -152,6 +143,7 @@ def accepted_by_display_name(self): def accepted_by_display_name(self, accepted_by_display_name): """Sets the accepted_by_display_name of this GroupMember. + Only missing when explicitly fetching own user. # noqa: E501 :param accepted_by_display_name: The accepted_by_display_name of this GroupMember. # noqa: E501 :type accepted_by_display_name: str @@ -163,6 +155,7 @@ def accepted_by_display_name(self, accepted_by_display_name): def accepted_by_id(self): """Gets the accepted_by_id of this GroupMember. # noqa: E501 + Only missing when explicitly fetching own user. # noqa: E501 :return: The accepted_by_id of this GroupMember. # noqa: E501 :rtype: str @@ -173,6 +166,7 @@ def accepted_by_id(self): def accepted_by_id(self, accepted_by_id): """Sets the accepted_by_id of this GroupMember. + Only missing when explicitly fetching own user. # noqa: E501 :param accepted_by_id: The accepted_by_id of this GroupMember. # noqa: E501 :type accepted_by_id: str @@ -184,7 +178,7 @@ def accepted_by_id(self, accepted_by_id): def banned_at(self): """Gets the banned_at of this GroupMember. # noqa: E501 - Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 + Only missing when explicitly fetching own user. # noqa: E501 :return: The banned_at of this GroupMember. # noqa: E501 :rtype: datetime @@ -195,7 +189,7 @@ def banned_at(self): def banned_at(self, banned_at): """Sets the banned_at of this GroupMember. - Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 + Only missing when explicitly fetching own user. # noqa: E501 :param banned_at: The banned_at of this GroupMember. # noqa: E501 :type banned_at: datetime @@ -207,7 +201,7 @@ def banned_at(self, banned_at): def created_at(self): """Gets the created_at of this GroupMember. # noqa: E501 - Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 + Only missing when explicitly fetching own user. # noqa: E501 :return: The created_at of this GroupMember. # noqa: E501 :rtype: datetime @@ -218,7 +212,7 @@ def created_at(self): def created_at(self, created_at): """Sets the created_at of this GroupMember. - Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 + Only missing when explicitly fetching own user. # noqa: E501 :param created_at: The created_at of this GroupMember. # noqa: E501 :type created_at: datetime @@ -244,6 +238,8 @@ def group_id(self, group_id): :param group_id: The group_id of this GroupMember. # noqa: E501 :type group_id: str """ + if self.local_vars_configuration.client_side_validation and group_id is None: # noqa: E501 + raise ValueError("Invalid value for `group_id`, must not be `None`") # noqa: E501 self._group_id = group_id @@ -251,6 +247,7 @@ def group_id(self, group_id): def has_joined_from_purchase(self): """Gets the has_joined_from_purchase of this GroupMember. # noqa: E501 + Missing when explicitly fetching own user, or when group isn't linked to a purchase. # noqa: E501 :return: The has_joined_from_purchase of this GroupMember. # noqa: E501 :rtype: bool @@ -261,6 +258,7 @@ def has_joined_from_purchase(self): def has_joined_from_purchase(self, has_joined_from_purchase): """Sets the has_joined_from_purchase of this GroupMember. + Missing when explicitly fetching own user, or when group isn't linked to a purchase. # noqa: E501 :param has_joined_from_purchase: The has_joined_from_purchase of this GroupMember. # noqa: E501 :type has_joined_from_purchase: bool @@ -286,6 +284,8 @@ def id(self, id): :param id: The id of this GroupMember. # noqa: E501 :type id: str """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 self._id = id @@ -309,6 +309,8 @@ def is_representing(self, is_representing): :param is_representing: The is_representing of this GroupMember. # noqa: E501 :type is_representing: bool """ + if self.local_vars_configuration.client_side_validation and is_representing is None: # noqa: E501 + raise ValueError("Invalid value for `is_representing`, must not be `None`") # noqa: E501 self._is_representing = is_representing @@ -330,6 +332,8 @@ def is_subscribed_to_announcements(self, is_subscribed_to_announcements): :param is_subscribed_to_announcements: The is_subscribed_to_announcements of this GroupMember. # noqa: E501 :type is_subscribed_to_announcements: bool """ + if self.local_vars_configuration.client_side_validation and is_subscribed_to_announcements is None: # noqa: E501 + raise ValueError("Invalid value for `is_subscribed_to_announcements`, must not be `None`") # noqa: E501 self._is_subscribed_to_announcements = is_subscribed_to_announcements @@ -337,6 +341,7 @@ def is_subscribed_to_announcements(self, is_subscribed_to_announcements): def is_subscribed_to_event_announcements(self): """Gets the is_subscribed_to_event_announcements of this GroupMember. # noqa: E501 + Only missing when explicitly fetching own user. # noqa: E501 :return: The is_subscribed_to_event_announcements of this GroupMember. # noqa: E501 :rtype: bool @@ -347,6 +352,7 @@ def is_subscribed_to_event_announcements(self): def is_subscribed_to_event_announcements(self, is_subscribed_to_event_announcements): """Sets the is_subscribed_to_event_announcements of this GroupMember. + Only missing when explicitly fetching own user. # noqa: E501 :param is_subscribed_to_event_announcements: The is_subscribed_to_event_announcements of this GroupMember. # noqa: E501 :type is_subscribed_to_event_announcements: bool @@ -414,6 +420,8 @@ def m_role_ids(self, m_role_ids): :param m_role_ids: The m_role_ids of this GroupMember. # noqa: E501 :type m_role_ids: list[str] """ + if self.local_vars_configuration.client_side_validation and m_role_ids is None: # noqa: E501 + raise ValueError("Invalid value for `m_role_ids`, must not be `None`") # noqa: E501 self._m_role_ids = m_role_ids @@ -421,7 +429,7 @@ def m_role_ids(self, m_role_ids): def manager_notes(self): """Gets the manager_notes of this GroupMember. # noqa: E501 - Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 + Only missing when explicitly fetching own user. # noqa: E501 :return: The manager_notes of this GroupMember. # noqa: E501 :rtype: str @@ -432,7 +440,7 @@ def manager_notes(self): def manager_notes(self, manager_notes): """Sets the manager_notes of this GroupMember. - Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. # noqa: E501 + Only missing when explicitly fetching own user. # noqa: E501 :param manager_notes: The manager_notes of this GroupMember. # noqa: E501 :type manager_notes: str @@ -458,6 +466,8 @@ def membership_status(self, membership_status): :param membership_status: The membership_status of this GroupMember. # noqa: E501 :type membership_status: GroupMemberStatus """ + if self.local_vars_configuration.client_side_validation and membership_status is None: # noqa: E501 + raise ValueError("Invalid value for `membership_status`, must not be `None`") # noqa: E501 self._membership_status = membership_status @@ -479,6 +489,8 @@ def role_ids(self, role_ids): :param role_ids: The role_ids of this GroupMember. # noqa: E501 :type role_ids: list[str] """ + if self.local_vars_configuration.client_side_validation and role_ids is None: # noqa: E501 + raise ValueError("Invalid value for `role_ids`, must not be `None`") # noqa: E501 self._role_ids = role_ids @@ -523,6 +535,8 @@ def user_id(self, user_id): :param user_id: The user_id of this GroupMember. # noqa: E501 :type user_id: str """ + if self.local_vars_configuration.client_side_validation and user_id is None: # noqa: E501 + raise ValueError("Invalid value for `user_id`, must not be `None`") # noqa: E501 self._user_id = user_id @@ -544,6 +558,8 @@ def visibility(self, visibility): :param visibility: The visibility of this GroupMember. # noqa: E501 :type visibility: str """ + if self.local_vars_configuration.client_side_validation and visibility is None: # noqa: E501 + raise ValueError("Invalid value for `visibility`, must not be `None`") # noqa: E501 self._visibility = visibility From 0e4790f1a37e69a15c2c40021a6335c4f838ebf6 Mon Sep 17 00:00:00 2001 From: JelleJurre <76777936+jellejurre@users.noreply.github.com> Date: Sat, 7 Feb 2026 12:19:51 +0100 Subject: [PATCH 092/102] Update Python version in CI workflow to 3.14 --- .github/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 72d377d8..bc55e953 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -46,10 +46,10 @@ jobs: - name: Set OpenAPI Generator version run: ./node_modules/\@openapitools/openapi-generator-cli/main.js version-manager set 6.2.1 - - name: Set up Python 3.9 + - name: Set up Python 3.14 uses: actions/setup-python@v1 with: - python-version: 3.9 + python-version: 3.14 - name: Download Specification run: wget "${SPEC_URL}" '--output-document' "${ARTIFACT_NAME}" From 92364a571e6307acbde69d77807f63997fa90e39 Mon Sep 17 00:00:00 2001 From: ariesclark Date: Sat, 7 Feb 2026 11:31:13 +0000 Subject: [PATCH 093/102] Upgrade Python SDK to spec 1.20.8.dev7 --- package-lock.json | 138 ++++++++++---------- package.json | 2 +- setup.py | 2 +- vrchatapi/models/age_verification_status.py | 6 +- 4 files changed, 74 insertions(+), 74 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4ae79b12..6b37b994 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.27.0" + "@openapitools/openapi-generator-cli": "^2.28.2" } }, "node_modules/@borewit/text-codec": { @@ -46,9 +46,9 @@ } }, "node_modules/@isaacs/brace-expansion": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@isaacs/brace-expansion/-/brace-expansion-5.0.0.tgz", - "integrity": "sha512-ZT55BDLV0yv0RBm2czMiZ+SqCGO7AvmOM3G/w2xhVPH+te0aKgFjmBvGlL1dH+ql2tgGO3MVrbb3jCKyvpgnxA==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@isaacs/brace-expansion/-/brace-expansion-5.0.1.tgz", + "integrity": "sha512-WMz71T1JS624nWj2n2fnYAuPovhv7EUhk69R6i9dsVyzxt5eM3bjwvgk9L+APE1TRscGysAVMANkB0jh0LQZrQ==", "dependencies": { "@isaacs/balanced-match": "^4.0.1" }, @@ -75,11 +75,11 @@ } }, "node_modules/@nestjs/common": { - "version": "11.1.11", - "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-11.1.11.tgz", - "integrity": "sha512-R/+A8XFqLgN8zNs2twhrOaE7dJbRQhdPX3g46am4RT/x8xGLqDphrXkUIno4cGUZHxbczChBAaAPTdPv73wDZA==", + "version": "11.1.13", + "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-11.1.13.tgz", + "integrity": "sha512-ieqWtipT+VlyDWLz5Rvz0f3E5rXcVAnaAi+D53DEHLjc1kmFxCgZ62qVfTX2vwkywwqNkTNXvBgGR72hYqV//Q==", "dependencies": { - "file-type": "21.2.0", + "file-type": "21.3.0", "iterare": "1.2.1", "load-esm": "1.0.3", "tslib": "2.8.1", @@ -105,9 +105,9 @@ } }, "node_modules/@nestjs/core": { - "version": "11.1.11", - "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-11.1.11.tgz", - "integrity": "sha512-H9i+zT3RvHi7tDc+lCmWHJ3ustXveABCr+Vcpl96dNOxgmrx4elQSTC4W93Mlav2opfLV+p0UTHY6L+bpUA4zA==", + "version": "11.1.13", + "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-11.1.13.tgz", + "integrity": "sha512-Tq9EIKiC30EBL8hLK93tNqaToy0hzbuVGYt29V8NhkVJUsDzlmiVf6c3hSPtzx2krIUVbTgQ2KFeaxr72rEyzQ==", "hasInstallScript": true, "dependencies": { "@nuxt/opencollective": "0.4.1", @@ -182,23 +182,23 @@ "integrity": "sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw==" }, "node_modules/@openapitools/openapi-generator-cli": { - "version": "2.27.0", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.27.0.tgz", - "integrity": "sha512-JJWO9joe6TudGdHuwBi+NhEMIwXcz1B2FawBsJ5SjgTMQxSjArkChq+ro6Ovv6q1zfWavCs/q9uYeNPtRRcQBA==", + "version": "2.28.2", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.28.2.tgz", + "integrity": "sha512-iUBOVBbABSc+ygVJ1/xhdpZrH2Aj5ymGyN0QojoLG8RsQFJ9IUHR/i6bih4H2lOPdqzKeIO2PhPsgCvXYqLJFA==", "hasInstallScript": true, "dependencies": { "@nestjs/axios": "4.0.1", - "@nestjs/common": "11.1.11", - "@nestjs/core": "11.1.11", + "@nestjs/common": "11.1.13", + "@nestjs/core": "11.1.13", "@nuxtjs/opencollective": "0.3.2", - "axios": "1.13.2", + "axios": "1.13.4", "chalk": "4.1.2", "commander": "8.3.0", "compare-versions": "6.1.1", "concurrently": "9.2.1", "console.table": "0.10.0", "fs-extra": "11.3.3", - "glob": "13.0.0", + "glob": "13.0.1", "inquirer": "8.2.7", "proxy-agent": "6.5.0", "reflect-metadata": "0.2.2", @@ -303,9 +303,9 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "node_modules/axios": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.13.2.tgz", - "integrity": "sha512-VPk9ebNqPcy5lRGuSlKx752IlDatOjT9paPlm8A7yOuW2Fbvp4X3JznJtT4f0GzGLLiWE9W8onz51SqLYwzGaA==", + "version": "1.13.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.13.4.tgz", + "integrity": "sha512-1wVkUaAO6WyaYtCkcYCOx12ZgpGf9Zif+qXa4n+oYzK558YryKqiL6UWwd5DqiH3VRW0GYhTZQ/vlgJrCoNQlg==", "dependencies": { "follow-redirects": "^1.15.6", "form-data": "^4.0.4", @@ -771,9 +771,9 @@ } }, "node_modules/file-type": { - "version": "21.2.0", - "resolved": "https://registry.npmjs.org/file-type/-/file-type-21.2.0.tgz", - "integrity": "sha512-vCYBgFOrJQLoTzDyAXAL/RFfKnXXpUYt4+tipVy26nJJhT7ftgGETf2tAQF59EEL61i3MrorV/PG6tf7LJK7eg==", + "version": "21.3.0", + "resolved": "https://registry.npmjs.org/file-type/-/file-type-21.3.0.tgz", + "integrity": "sha512-8kPJMIGz1Yt/aPEwOsrR97ZyZaD1Iqm8PClb1nYFclUCkBi0Ma5IsYNQzvSFS9ib51lWyIw5mIT9rWzI/xjpzA==", "dependencies": { "@tokenizer/inflate": "^0.4.1", "strtok3": "^10.3.4", @@ -899,11 +899,11 @@ } }, "node_modules/glob": { - "version": "13.0.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.0.tgz", - "integrity": "sha512-tvZgpqk6fz4BaNZ66ZsRaZnbHvP/jG3uKJvAZOwEVUL4RTA5nJeeLYfyN9/VA8NX/V3IBG+hkeuGpKjvELkVhA==", + "version": "13.0.1", + "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.1.tgz", + "integrity": "sha512-B7U/vJpE3DkJ5WXTgTpTRN63uV42DseiXXKMwG14LQBXmsdeIoHAPbU/MEo6II0k5ED74uc2ZGTC6MwHFQhF6w==", "dependencies": { - "minimatch": "^10.1.1", + "minimatch": "^10.1.2", "minipass": "^7.1.2", "path-scurry": "^2.0.0" }, @@ -1173,9 +1173,9 @@ } }, "node_modules/lru-cache": { - "version": "11.2.4", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.2.4.tgz", - "integrity": "sha512-B5Y16Jr9LB9dHVkh6ZevG+vAbOsNOYCX+sXvFWFu7B3Iz5mijW3zdbMyhsh8ANd2mSWBYdJgnqi+mL7/LrOPYg==", + "version": "11.2.5", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.2.5.tgz", + "integrity": "sha512-vFrFJkWtJvJnD5hg+hJvVE8Lh/TcMzKnTgCWmtBipwI5yLX/iX+5UB2tfuyODF5E7k9xEzMdYgGqaSb1c0c5Yw==", "engines": { "node": "20 || >=22" } @@ -1216,11 +1216,11 @@ } }, "node_modules/minimatch": { - "version": "10.1.1", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.1.1.tgz", - "integrity": "sha512-enIvLvRAFZYXJzkCYG5RKmPfrFArdLv+R+lbQ53BmIMLIry74bjKzX6iHAm8WYamJkhSSEabrWN5D97XnKObjQ==", + "version": "10.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.1.2.tgz", + "integrity": "sha512-fu656aJ0n2kcXwsnwnv9g24tkU5uSmOlTjd6WyyaKm2Z+h1qmY6bAjrcaIxF/BslFqbZ8UBtbJi7KgQOZD2PTw==", "dependencies": { - "@isaacs/brace-expansion": "^5.0.0" + "@isaacs/brace-expansion": "^5.0.1" }, "engines": { "node": "20 || >=22" @@ -1759,9 +1759,9 @@ "integrity": "sha512-yzMTt9lEb8Gv7zRioUilSglI0c0smZ9k5D65677DLWLtWJaXIS3CqcGyUFByYKlnUj6TkjLVs54fBl6+TiGQDQ==" }, "@isaacs/brace-expansion": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@isaacs/brace-expansion/-/brace-expansion-5.0.0.tgz", - "integrity": "sha512-ZT55BDLV0yv0RBm2czMiZ+SqCGO7AvmOM3G/w2xhVPH+te0aKgFjmBvGlL1dH+ql2tgGO3MVrbb3jCKyvpgnxA==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@isaacs/brace-expansion/-/brace-expansion-5.0.1.tgz", + "integrity": "sha512-WMz71T1JS624nWj2n2fnYAuPovhv7EUhk69R6i9dsVyzxt5eM3bjwvgk9L+APE1TRscGysAVMANkB0jh0LQZrQ==", "requires": { "@isaacs/balanced-match": "^4.0.1" } @@ -1778,11 +1778,11 @@ "requires": {} }, "@nestjs/common": { - "version": "11.1.11", - "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-11.1.11.tgz", - "integrity": "sha512-R/+A8XFqLgN8zNs2twhrOaE7dJbRQhdPX3g46am4RT/x8xGLqDphrXkUIno4cGUZHxbczChBAaAPTdPv73wDZA==", + "version": "11.1.13", + "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-11.1.13.tgz", + "integrity": "sha512-ieqWtipT+VlyDWLz5Rvz0f3E5rXcVAnaAi+D53DEHLjc1kmFxCgZ62qVfTX2vwkywwqNkTNXvBgGR72hYqV//Q==", "requires": { - "file-type": "21.2.0", + "file-type": "21.3.0", "iterare": "1.2.1", "load-esm": "1.0.3", "tslib": "2.8.1", @@ -1790,9 +1790,9 @@ } }, "@nestjs/core": { - "version": "11.1.11", - "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-11.1.11.tgz", - "integrity": "sha512-H9i+zT3RvHi7tDc+lCmWHJ3ustXveABCr+Vcpl96dNOxgmrx4elQSTC4W93Mlav2opfLV+p0UTHY6L+bpUA4zA==", + "version": "11.1.13", + "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-11.1.13.tgz", + "integrity": "sha512-Tq9EIKiC30EBL8hLK93tNqaToy0hzbuVGYt29V8NhkVJUsDzlmiVf6c3hSPtzx2krIUVbTgQ2KFeaxr72rEyzQ==", "requires": { "@nuxt/opencollective": "0.4.1", "fast-safe-stringify": "2.1.1", @@ -1828,22 +1828,22 @@ } }, "@openapitools/openapi-generator-cli": { - "version": "2.27.0", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.27.0.tgz", - "integrity": "sha512-JJWO9joe6TudGdHuwBi+NhEMIwXcz1B2FawBsJ5SjgTMQxSjArkChq+ro6Ovv6q1zfWavCs/q9uYeNPtRRcQBA==", + "version": "2.28.2", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.28.2.tgz", + "integrity": "sha512-iUBOVBbABSc+ygVJ1/xhdpZrH2Aj5ymGyN0QojoLG8RsQFJ9IUHR/i6bih4H2lOPdqzKeIO2PhPsgCvXYqLJFA==", "requires": { "@nestjs/axios": "4.0.1", - "@nestjs/common": "11.1.11", - "@nestjs/core": "11.1.11", + "@nestjs/common": "11.1.13", + "@nestjs/core": "11.1.13", "@nuxtjs/opencollective": "0.3.2", - "axios": "1.13.2", + "axios": "1.13.4", "chalk": "4.1.2", "commander": "8.3.0", "compare-versions": "6.1.1", "concurrently": "9.2.1", "console.table": "0.10.0", "fs-extra": "11.3.3", - "glob": "13.0.0", + "glob": "13.0.1", "inquirer": "8.2.7", "proxy-agent": "6.5.0", "reflect-metadata": "0.2.2", @@ -1910,9 +1910,9 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "axios": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.13.2.tgz", - "integrity": "sha512-VPk9ebNqPcy5lRGuSlKx752IlDatOjT9paPlm8A7yOuW2Fbvp4X3JznJtT4f0GzGLLiWE9W8onz51SqLYwzGaA==", + "version": "1.13.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.13.4.tgz", + "integrity": "sha512-1wVkUaAO6WyaYtCkcYCOx12ZgpGf9Zif+qXa4n+oYzK558YryKqiL6UWwd5DqiH3VRW0GYhTZQ/vlgJrCoNQlg==", "requires": { "follow-redirects": "^1.15.6", "form-data": "^4.0.4", @@ -2221,9 +2221,9 @@ } }, "file-type": { - "version": "21.2.0", - "resolved": "https://registry.npmjs.org/file-type/-/file-type-21.2.0.tgz", - "integrity": "sha512-vCYBgFOrJQLoTzDyAXAL/RFfKnXXpUYt4+tipVy26nJJhT7ftgGETf2tAQF59EEL61i3MrorV/PG6tf7LJK7eg==", + "version": "21.3.0", + "resolved": "https://registry.npmjs.org/file-type/-/file-type-21.3.0.tgz", + "integrity": "sha512-8kPJMIGz1Yt/aPEwOsrR97ZyZaD1Iqm8PClb1nYFclUCkBi0Ma5IsYNQzvSFS9ib51lWyIw5mIT9rWzI/xjpzA==", "requires": { "@tokenizer/inflate": "^0.4.1", "strtok3": "^10.3.4", @@ -2305,11 +2305,11 @@ } }, "glob": { - "version": "13.0.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.0.tgz", - "integrity": "sha512-tvZgpqk6fz4BaNZ66ZsRaZnbHvP/jG3uKJvAZOwEVUL4RTA5nJeeLYfyN9/VA8NX/V3IBG+hkeuGpKjvELkVhA==", + "version": "13.0.1", + "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.1.tgz", + "integrity": "sha512-B7U/vJpE3DkJ5WXTgTpTRN63uV42DseiXXKMwG14LQBXmsdeIoHAPbU/MEo6II0k5ED74uc2ZGTC6MwHFQhF6w==", "requires": { - "minimatch": "^10.1.1", + "minimatch": "^10.1.2", "minipass": "^7.1.2", "path-scurry": "^2.0.0" } @@ -2483,9 +2483,9 @@ } }, "lru-cache": { - "version": "11.2.4", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.2.4.tgz", - "integrity": "sha512-B5Y16Jr9LB9dHVkh6ZevG+vAbOsNOYCX+sXvFWFu7B3Iz5mijW3zdbMyhsh8ANd2mSWBYdJgnqi+mL7/LrOPYg==" + "version": "11.2.5", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.2.5.tgz", + "integrity": "sha512-vFrFJkWtJvJnD5hg+hJvVE8Lh/TcMzKnTgCWmtBipwI5yLX/iX+5UB2tfuyODF5E7k9xEzMdYgGqaSb1c0c5Yw==" }, "math-intrinsics": { "version": "1.1.0", @@ -2511,11 +2511,11 @@ "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==" }, "minimatch": { - "version": "10.1.1", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.1.1.tgz", - "integrity": "sha512-enIvLvRAFZYXJzkCYG5RKmPfrFArdLv+R+lbQ53BmIMLIry74bjKzX6iHAm8WYamJkhSSEabrWN5D97XnKObjQ==", + "version": "10.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.1.2.tgz", + "integrity": "sha512-fu656aJ0n2kcXwsnwnv9g24tkU5uSmOlTjd6WyyaKm2Z+h1qmY6bAjrcaIxF/BslFqbZ8UBtbJi7KgQOZD2PTw==", "requires": { - "@isaacs/brace-expansion": "^5.0.0" + "@isaacs/brace-expansion": "^5.0.1" } }, "minipass": { diff --git a/package.json b/package.json index 43798d11..b9bc7760 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.27.0" + "@openapitools/openapi-generator-cli": "^2.28.2" } } diff --git a/setup.py b/setup.py index 53401063..72d75f30 100644 --- a/setup.py +++ b/setup.py @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.20.8.dev4" +VERSION = "1.20.8.dev7" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/models/age_verification_status.py b/vrchatapi/models/age_verification_status.py index 823081e1..2276da49 100644 --- a/vrchatapi/models/age_verification_status.py +++ b/vrchatapi/models/age_verification_status.py @@ -31,11 +31,11 @@ class AgeVerificationStatus(object): """ allowed enum values """ - hidden = "18+" - plus18 = "hidden" + plus18 = "18+" + hidden = "hidden" verified = "verified" - allowable_values = [hidden, plus18, verified] # noqa: E501 + allowable_values = [plus18, hidden, verified] # noqa: E501 """ Attributes: From 6af0951a2b97f61f8d5b167754a62a8bb5855965 Mon Sep 17 00:00:00 2001 From: ariesclark Date: Sun, 8 Feb 2026 04:54:15 +0000 Subject: [PATCH 094/102] Upgrade Python SDK to spec 1.20.8.dev8 --- setup.py | 2 +- vrchatapi/models/world.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 72d75f30..266003f2 100644 --- a/setup.py +++ b/setup.py @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.20.8.dev7" +VERSION = "1.20.8.dev8" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/models/world.py b/vrchatapi/models/world.py index f9c94adc..51010d50 100644 --- a/vrchatapi/models/world.py +++ b/vrchatapi/models/world.py @@ -531,8 +531,8 @@ def name(self, name): if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 if (self.local_vars_configuration.client_side_validation and - name is not None and len(name) < 1): - raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 + name is not None and len(name) < 0): + raise ValueError("Invalid value for `name`, length must be greater than or equal to `0`") # noqa: E501 self._name = name From 8fc04bc1da7e174bbf9d0bc1abcb526987ec1a8f Mon Sep 17 00:00:00 2001 From: ariesclark Date: Mon, 9 Feb 2026 12:26:45 +0000 Subject: [PATCH 095/102] Upgrade Python SDK to spec 1.20.8.dev9 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 266003f2..d5d69319 100644 --- a/setup.py +++ b/setup.py @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.20.8.dev8" +VERSION = "1.20.8.dev9" # To install the library, run the following # # python setup.py install From 2c766287ac68dc7211c5f326285e7cdff9620a2e Mon Sep 17 00:00:00 2001 From: Katistix <33645731+Katistic@users.noreply.github.com> Date: Tue, 17 Mar 2026 20:15:02 +1100 Subject: [PATCH 096/102] Update error_2fa_verify_readable.patch (#33) Use rb instead of b string for regex bytes --- patches/error_2fa_verify_readable.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patches/error_2fa_verify_readable.patch b/patches/error_2fa_verify_readable.patch index 94c1e6de..1071a4a9 100644 --- a/patches/error_2fa_verify_readable.patch +++ b/patches/error_2fa_verify_readable.patch @@ -6,10 +6,10 @@ index 3702266e..c19c578c 100644 raise ApiException(http_resp=r) -+ if re.match(b'{"\w{21}":\["totp","otp"]}', r.data) is not None: ++ if re.match(rb'{"\w{21}":\["totp","otp"]}', r.data) is not None: + r.reason = "2 Factor Authentication verification is required" + raise UnauthorizedException(http_resp=r) -+ elif re.match(b'{"\w{21}":\["emailOtp"]}', r.data) is not None: ++ elif re.match(rb'{"\w{21}":\["emailOtp"]}', r.data) is not None: + r.reason = "Email 2 Factor Authentication verification is required" + raise UnauthorizedException(http_resp=r) + From b43b6276d0394f5ce87b3adc4de698ed43b9169d Mon Sep 17 00:00:00 2001 From: ariesclark Date: Wed, 1 Apr 2026 08:37:22 +0000 Subject: [PATCH 097/102] Upgrade Python SDK to spec 1.20.8.dev10 --- package-lock.json | 993 +++++++++----------------- package.json | 2 +- setup.py | 2 +- vrchatapi/models/group_permissions.py | 3 +- vrchatapi/rest.py | 4 +- 5 files changed, 355 insertions(+), 649 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6b37b994..4eba58b6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,55 +5,63 @@ "packages": { "": { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.28.2" + "@openapitools/openapi-generator-cli": "^2.31.0" } }, "node_modules/@borewit/text-codec": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/@borewit/text-codec/-/text-codec-0.2.1.tgz", - "integrity": "sha512-k7vvKPbf7J2fZ5klGRD9AeKfUvojuZIQ3BT5u7Jfv+puwXkUBUT5PVyMDfJZpy30CBDXGMgw7fguK/lpOMBvgw==", + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/@borewit/text-codec/-/text-codec-0.2.2.tgz", + "integrity": "sha512-DDaRehssg1aNrH4+2hnj1B7vnUGEjU6OIlyRdkMd0aUdIUvKXrJfXsy8LVtXAy7DRvYVluWbMspsRhz2lcW0mQ==", "funding": { "type": "github", "url": "https://github.com/sponsors/Borewit" } }, - "node_modules/@inquirer/external-editor": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-1.0.1.tgz", - "integrity": "sha512-Oau4yL24d2B5IL4ma4UpbQigkVhzPDXLoqy1ggK4gnHg/stmkffJE4oOXHXF3uz0UEpywG68KcyXsyYpA1Re/Q==", - "dependencies": { - "chardet": "^2.1.0", - "iconv-lite": "^0.6.3" + "node_modules/@inquirer/core": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-6.0.0.tgz", + "integrity": "sha512-fKi63Khkisgda3ohnskNf5uZJj+zXOaBvOllHsOkdsXRA/ubQLJQrZchFFi57NKbZzkTunXiBMdvWOv71alonw==", + "dependencies": { + "@inquirer/type": "^1.1.6", + "@types/mute-stream": "^0.0.4", + "@types/node": "^20.10.7", + "@types/wrap-ansi": "^3.0.0", + "ansi-escapes": "^4.3.2", + "chalk": "^4.1.2", + "cli-spinners": "^2.9.2", + "cli-width": "^4.1.0", + "figures": "^3.2.0", + "mute-stream": "^1.0.0", + "run-async": "^3.0.0", + "signal-exit": "^4.1.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^6.2.0" }, "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@types/node": ">=18" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - } + "node": ">=14.18.0" } }, - "node_modules/@isaacs/balanced-match": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@isaacs/balanced-match/-/balanced-match-4.0.1.tgz", - "integrity": "sha512-yzMTt9lEb8Gv7zRioUilSglI0c0smZ9k5D65677DLWLtWJaXIS3CqcGyUFByYKlnUj6TkjLVs54fBl6+TiGQDQ==", + "node_modules/@inquirer/select": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-1.3.3.tgz", + "integrity": "sha512-RzlRISXWqIKEf83FDC9ZtJ3JvuK1l7aGpretf41BCWYrvla2wU8W8MTRNMiPrPJ+1SIqrRC1nZdZ60hD9hRXLg==", + "dependencies": { + "@inquirer/core": "^6.0.0", + "@inquirer/type": "^1.1.6", + "ansi-escapes": "^4.3.2", + "chalk": "^4.1.2", + "figures": "^3.2.0" + }, "engines": { - "node": "20 || >=22" + "node": ">=14.18.0" } }, - "node_modules/@isaacs/brace-expansion": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/@isaacs/brace-expansion/-/brace-expansion-5.0.1.tgz", - "integrity": "sha512-WMz71T1JS624nWj2n2fnYAuPovhv7EUhk69R6i9dsVyzxt5eM3bjwvgk9L+APE1TRscGysAVMANkB0jh0LQZrQ==", - "dependencies": { - "@isaacs/balanced-match": "^4.0.1" - }, + "node_modules/@inquirer/type": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-1.1.6.tgz", + "integrity": "sha512-OCKOpn0CrFDslR8s3who7hlr823zXTb1iShGCaaWgEJFfkIV0T9aLZV2QGnOuU78IrsPYLkr3oKx9dZwwCH3Rw==", "engines": { - "node": "20 || >=22" + "node": ">=14.18.0" } }, "node_modules/@lukeed/csprng": { @@ -75,11 +83,11 @@ } }, "node_modules/@nestjs/common": { - "version": "11.1.13", - "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-11.1.13.tgz", - "integrity": "sha512-ieqWtipT+VlyDWLz5Rvz0f3E5rXcVAnaAi+D53DEHLjc1kmFxCgZ62qVfTX2vwkywwqNkTNXvBgGR72hYqV//Q==", + "version": "11.1.17", + "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-11.1.17.tgz", + "integrity": "sha512-hLODw5Abp8OQgA+mUO4tHou4krKgDtUcM9j5Ihxncst9XeyxYBTt2bwZm4e4EQr5E352S4Fyy6V3iFx9ggxKAg==", "dependencies": { - "file-type": "21.3.0", + "file-type": "21.3.2", "iterare": "1.2.1", "load-esm": "1.0.3", "tslib": "2.8.1", @@ -105,9 +113,9 @@ } }, "node_modules/@nestjs/core": { - "version": "11.1.13", - "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-11.1.13.tgz", - "integrity": "sha512-Tq9EIKiC30EBL8hLK93tNqaToy0hzbuVGYt29V8NhkVJUsDzlmiVf6c3hSPtzx2krIUVbTgQ2KFeaxr72rEyzQ==", + "version": "11.1.17", + "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-11.1.17.tgz", + "integrity": "sha512-lD5mAYekTTurF3vDaa8C2OKPnjiz4tsfxIc5XlcSUzOhkwWf6Ay3HKvt6FmvuWQam6uIIHX52Clg+e6tAvf/cg==", "hasInstallScript": true, "dependencies": { "@nuxt/opencollective": "0.4.1", @@ -182,24 +190,24 @@ "integrity": "sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw==" }, "node_modules/@openapitools/openapi-generator-cli": { - "version": "2.28.2", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.28.2.tgz", - "integrity": "sha512-iUBOVBbABSc+ygVJ1/xhdpZrH2Aj5ymGyN0QojoLG8RsQFJ9IUHR/i6bih4H2lOPdqzKeIO2PhPsgCvXYqLJFA==", + "version": "2.31.0", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.31.0.tgz", + "integrity": "sha512-sd+VIr5vx4PSknJLzh9thyRC8pw0r8ayCB4xH4G383BRClc3uFxIIz5EkBVndOumRsvPDip4wbszf5RRtxbmGA==", "hasInstallScript": true, "dependencies": { + "@inquirer/select": "1.3.3", "@nestjs/axios": "4.0.1", - "@nestjs/common": "11.1.13", - "@nestjs/core": "11.1.13", + "@nestjs/common": "11.1.17", + "@nestjs/core": "11.1.17", "@nuxtjs/opencollective": "0.3.2", - "axios": "1.13.4", + "axios": "^1.13.6", "chalk": "4.1.2", "commander": "8.3.0", "compare-versions": "6.1.1", "concurrently": "9.2.1", "console.table": "0.10.0", - "fs-extra": "11.3.3", - "glob": "13.0.1", - "inquirer": "8.2.7", + "fs-extra": "11.3.4", + "glob": "13.0.6", "proxy-agent": "6.5.0", "reflect-metadata": "0.2.2", "rxjs": "7.8.2", @@ -209,7 +217,7 @@ "openapi-generator-cli": "main.js" }, "engines": { - "node": ">=16" + "node": ">=20.19.0" }, "funding": { "type": "opencollective", @@ -242,6 +250,27 @@ "resolved": "https://registry.npmjs.org/@tootallnate/quickjs-emscripten/-/quickjs-emscripten-0.23.0.tgz", "integrity": "sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA==" }, + "node_modules/@types/mute-stream": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/@types/mute-stream/-/mute-stream-0.0.4.tgz", + "integrity": "sha512-CPM9nzrCPPJHQNA9keH9CVkVI+WR5kMa+7XEs5jcGQ0VoAGnLv242w8lIVgwAEfmE4oufJRaTc9PNLQl0ioAow==", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/node": { + "version": "20.19.37", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.19.37.tgz", + "integrity": "sha512-8kzdPJ3FsNsVIurqBs7oodNnCEVbni9yUEkaHbgptDACOPW04jimGagZ51E6+lXUwJjgnBw+hyko/lkFWCldqw==", + "dependencies": { + "undici-types": "~6.21.0" + } + }, + "node_modules/@types/wrap-ansi": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@types/wrap-ansi/-/wrap-ansi-3.0.0.tgz", + "integrity": "sha512-ltIpx+kM7g/MLRZfkbL7EsCEjfzCcScLpkg37eXEtx5kmrAKBkTJwd1GIAjDSL8wTpM6Hzn5YO4pSb91BEwu1g==" + }, "node_modules/agent-base": { "version": "7.1.3", "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.3.tgz", @@ -303,33 +332,30 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "node_modules/axios": { - "version": "1.13.4", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.13.4.tgz", - "integrity": "sha512-1wVkUaAO6WyaYtCkcYCOx12ZgpGf9Zif+qXa4n+oYzK558YryKqiL6UWwd5DqiH3VRW0GYhTZQ/vlgJrCoNQlg==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.14.0.tgz", + "integrity": "sha512-3Y8yrqLSwjuzpXuZ0oIYZ/XGgLwUIBU3uLvbcpb0pidD9ctpShJd43KSlEEkVQg6DS0G9NKyzOvBfUtDKEyHvQ==", "dependencies": { - "follow-redirects": "^1.15.6", - "form-data": "^4.0.4", - "proxy-from-env": "^1.1.0" + "follow-redirects": "^1.15.11", + "form-data": "^4.0.5", + "proxy-from-env": "^2.1.0" } }, - "node_modules/base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] + "node_modules/axios/node_modules/proxy-from-env": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-2.1.0.tgz", + "integrity": "sha512-cJ+oHTW1VAEa8cJslgmUZrc+sjRKgAKl3Zyse6+PV38hZe/V6Z14TbCuXcan9F9ghlz4QrFr2c92TNF82UkYHA==", + "engines": { + "node": ">=10" + } + }, + "node_modules/balanced-match": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", + "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", + "engines": { + "node": "18 || 20 || >=22" + } }, "node_modules/basic-ftp": { "version": "5.0.5", @@ -339,37 +365,15 @@ "node": ">=10.0.0" } }, - "node_modules/bl": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", - "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", - "dependencies": { - "buffer": "^5.5.0", - "inherits": "^2.0.4", - "readable-stream": "^3.4.0" - } - }, - "node_modules/buffer": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", - "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], + "node_modules/brace-expansion": { + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.5.tgz", + "integrity": "sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ==", "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.1.13" + "balanced-match": "^4.0.2" + }, + "engines": { + "node": "18 || 20 || >=22" } }, "node_modules/call-bind-apply-helpers": { @@ -399,22 +403,6 @@ "url": "https://github.com/chalk/chalk?sponsor=1" } }, - "node_modules/chardet": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/chardet/-/chardet-2.1.0.tgz", - "integrity": "sha512-bNFETTG/pM5ryzQ9Ad0lJOTa6HWD/YsScAR3EnCPZRPlQh77JocYktSHOUHelyhm8IARL+o4c4F1bP5KVOjiRA==" - }, - "node_modules/cli-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", - "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", - "dependencies": { - "restore-cursor": "^3.1.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/cli-spinners": { "version": "2.9.2", "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.2.tgz", @@ -427,11 +415,11 @@ } }, "node_modules/cli-width": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz", - "integrity": "sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-4.1.0.tgz", + "integrity": "sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==", "engines": { - "node": ">= 10" + "node": ">= 12" } }, "node_modules/cliui": { @@ -467,6 +455,7 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=", + "optional": true, "engines": { "node": ">=0.8" } @@ -595,6 +584,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.3.tgz", "integrity": "sha1-xlYFHpgX2f8I7YgUd/P+QBnz730=", + "optional": true, "dependencies": { "clone": "^1.0.2" } @@ -771,9 +761,9 @@ } }, "node_modules/file-type": { - "version": "21.3.0", - "resolved": "https://registry.npmjs.org/file-type/-/file-type-21.3.0.tgz", - "integrity": "sha512-8kPJMIGz1Yt/aPEwOsrR97ZyZaD1Iqm8PClb1nYFclUCkBi0Ma5IsYNQzvSFS9ib51lWyIw5mIT9rWzI/xjpzA==", + "version": "21.3.2", + "resolved": "https://registry.npmjs.org/file-type/-/file-type-21.3.2.tgz", + "integrity": "sha512-DLkUvGwep3poOV2wpzbHCOnSKGk1LzyXTv+aHFgN2VFl96wnp8YA9YjO2qPzg5PuL8q/SW9Pdi6WTkYOIh995w==", "dependencies": { "@tokenizer/inflate": "^0.4.1", "strtok3": "^10.3.4", @@ -788,9 +778,9 @@ } }, "node_modules/follow-redirects": { - "version": "1.15.9", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz", - "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==", + "version": "1.15.11", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.11.tgz", + "integrity": "sha512-deG2P0JfjrTxl50XGCDyfI97ZGVCxIpfKYmfyrQ54n5FO/0gfIES8C/Psl6kWVDolizcaaxZJnTS0QSMxvnsBQ==", "funding": [ { "type": "individual", @@ -807,9 +797,9 @@ } }, "node_modules/form-data": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.4.tgz", - "integrity": "sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==", + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.5.tgz", + "integrity": "sha512-8RipRLol37bNs2bhoV67fiTEvdTrbMUYcFTiy3+wuuOnUog2QBHCZWXDRijWQfAkhBj2Uf5UnVaiWwA5vdd82w==", "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", @@ -822,9 +812,9 @@ } }, "node_modules/fs-extra": { - "version": "11.3.3", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.3.tgz", - "integrity": "sha512-VWSRii4t0AFm6ixFFmLLx1t7wS1gh+ckoa84aOeapGum0h+EZd1EhEumSB+ZdDLnEPuucsVB9oB7cxJHap6Afg==", + "version": "11.3.4", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.4.tgz", + "integrity": "sha512-CTXd6rk/M3/ULNQj8FBqBWHYBVYybQ3VPBw0xGKFe3tuH7ytT6ACnvzpIQ3UZtB8yvUKC2cXn1a+x+5EVQLovA==", "dependencies": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", @@ -899,16 +889,16 @@ } }, "node_modules/glob": { - "version": "13.0.1", - "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.1.tgz", - "integrity": "sha512-B7U/vJpE3DkJ5WXTgTpTRN63uV42DseiXXKMwG14LQBXmsdeIoHAPbU/MEo6II0k5ED74uc2ZGTC6MwHFQhF6w==", + "version": "13.0.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.6.tgz", + "integrity": "sha512-Wjlyrolmm8uDpm/ogGyXZXb1Z+Ca2B8NbJwqBVg0axK9GbBeoS7yGV6vjXnYdGm6X53iehEuxxbyiKp8QmN4Vw==", "dependencies": { - "minimatch": "^10.1.2", - "minipass": "^7.1.2", - "path-scurry": "^2.0.0" + "minimatch": "^10.2.2", + "minipass": "^7.1.3", + "path-scurry": "^2.0.2" }, "engines": { - "node": "20 || >=22" + "node": "18 || 20 || >=22" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -998,17 +988,6 @@ "node": ">= 14" } }, - "node_modules/iconv-lite": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", - "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/ieee754": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", @@ -1028,49 +1007,6 @@ } ] }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" - }, - "node_modules/inquirer": { - "version": "8.2.7", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.7.tgz", - "integrity": "sha512-UjOaSel/iddGZJ5xP/Eixh6dY1XghiBw4XK13rCCIJcJfyhhoul/7KhLLUGtebEj6GDYM6Vnx/mVsjx2L/mFIA==", - "dependencies": { - "@inquirer/external-editor": "^1.0.0", - "ansi-escapes": "^4.2.1", - "chalk": "^4.1.1", - "cli-cursor": "^3.1.0", - "cli-width": "^3.0.0", - "figures": "^3.0.0", - "lodash": "^4.17.21", - "mute-stream": "0.0.8", - "ora": "^5.4.1", - "run-async": "^2.4.0", - "rxjs": "^7.5.5", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0", - "through": "^2.3.6", - "wrap-ansi": "^6.0.1" - }, - "engines": { - "node": ">=12.0.0" - } - }, - "node_modules/inquirer/node_modules/wrap-ansi": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", - "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/ip-address": { "version": "9.0.5", "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-9.0.5.tgz", @@ -1091,25 +1027,6 @@ "node": ">=8" } }, - "node_modules/is-interactive": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz", - "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==", - "engines": { - "node": ">=8" - } - }, - "node_modules/is-unicode-supported": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", - "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/iterare": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/iterare/-/iterare-1.2.1.tgz", @@ -1152,30 +1069,10 @@ "node": ">=13.2.0" } }, - "node_modules/lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" - }, - "node_modules/log-symbols": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", - "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", - "dependencies": { - "chalk": "^4.1.0", - "is-unicode-supported": "^0.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/lru-cache": { - "version": "11.2.5", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.2.5.tgz", - "integrity": "sha512-vFrFJkWtJvJnD5hg+hJvVE8Lh/TcMzKnTgCWmtBipwI5yLX/iX+5UB2tfuyODF5E7k9xEzMdYgGqaSb1c0c5Yw==", + "version": "11.2.7", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.2.7.tgz", + "integrity": "sha512-aY/R+aEsRelme17KGQa/1ZSIpLpNYYrhcrepKTZgE+W3WM16YMCaPwOHLHsmopZHELU0Ojin1lPVxKR0MihncA==", "engines": { "node": "20 || >=22" } @@ -1207,32 +1104,24 @@ "node": ">= 0.6" } }, - "node_modules/mimic-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", - "engines": { - "node": ">=6" - } - }, "node_modules/minimatch": { - "version": "10.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.1.2.tgz", - "integrity": "sha512-fu656aJ0n2kcXwsnwnv9g24tkU5uSmOlTjd6WyyaKm2Z+h1qmY6bAjrcaIxF/BslFqbZ8UBtbJi7KgQOZD2PTw==", + "version": "10.2.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz", + "integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==", "dependencies": { - "@isaacs/brace-expansion": "^5.0.1" + "brace-expansion": "^5.0.5" }, "engines": { - "node": "20 || >=22" + "node": "18 || 20 || >=22" }, "funding": { "url": "https://github.com/sponsors/isaacs" } }, "node_modules/minipass": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", - "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.3.tgz", + "integrity": "sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==", "engines": { "node": ">=16 || 14 >=14.17" } @@ -1243,9 +1132,12 @@ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" }, "node_modules/mute-stream": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", - "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==" + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-1.0.0.tgz", + "integrity": "sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA==", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } }, "node_modules/netmask": { "version": "2.0.2", @@ -1274,42 +1166,6 @@ } } }, - "node_modules/onetime": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", - "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", - "dependencies": { - "mimic-fn": "^2.1.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/ora": { - "version": "5.4.1", - "resolved": "https://registry.npmjs.org/ora/-/ora-5.4.1.tgz", - "integrity": "sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==", - "dependencies": { - "bl": "^4.1.0", - "chalk": "^4.1.0", - "cli-cursor": "^3.1.0", - "cli-spinners": "^2.5.0", - "is-interactive": "^1.0.0", - "is-unicode-supported": "^0.1.0", - "log-symbols": "^4.1.0", - "strip-ansi": "^6.0.0", - "wcwidth": "^1.0.1" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/pac-proxy-agent": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-7.2.0.tgz", @@ -1341,15 +1197,15 @@ } }, "node_modules/path-scurry": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.1.tgz", - "integrity": "sha512-oWyT4gICAu+kaA7QWk/jvCHWarMKNs6pXOGWKDTr7cw4IGcUbW+PeTfbaQiLGheFRpjo6O9J0PmyMfQPjH71oA==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.2.tgz", + "integrity": "sha512-3O/iVVsJAPsOnpwWIeD+d6z/7PmqApyQePUtCndjatj/9I5LylHvt5qluFaBT3I5h3r1ejfR056c+FCv+NnNXg==", "dependencies": { "lru-cache": "^11.0.0", "minipass": "^7.1.2" }, "engines": { - "node": "20 || >=22" + "node": "18 || 20 || >=22" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -1395,19 +1251,6 @@ "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" }, - "node_modules/readable-stream": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", - "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, "node_modules/reflect-metadata": { "version": "0.2.2", "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.2.2.tgz", @@ -1421,22 +1264,10 @@ "node": ">=0.10.0" } }, - "node_modules/restore-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", - "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", - "dependencies": { - "onetime": "^5.1.0", - "signal-exit": "^3.0.2" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/run-async": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", - "integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/run-async/-/run-async-3.0.0.tgz", + "integrity": "sha512-540WwVDOMxA6dN6We19EcT9sc3hkXPw5mzRNGM3FkdN/vtE9NFvj5lFAPNwUDmJjXidm3v7TC1cTE7t17Ulm1Q==", "engines": { "node": ">=0.12.0" } @@ -1449,30 +1280,6 @@ "tslib": "^2.1.0" } }, - "node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" - }, "node_modules/shell-quote": { "version": "1.8.3", "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.8.3.tgz", @@ -1485,9 +1292,15 @@ } }, "node_modules/signal-exit": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", - "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } }, "node_modules/smart-buffer": { "version": "4.2.0", @@ -1538,14 +1351,6 @@ "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.3.tgz", "integrity": "sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==" }, - "node_modules/string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "dependencies": { - "safe-buffer": "~5.2.0" - } - }, "node_modules/string-width": { "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", @@ -1571,9 +1376,9 @@ } }, "node_modules/strtok3": { - "version": "10.3.4", - "resolved": "https://registry.npmjs.org/strtok3/-/strtok3-10.3.4.tgz", - "integrity": "sha512-KIy5nylvC5le1OdaaoCJ07L+8iQzJHGH6pWDuzS+d07Cu7n1MZ2x26P8ZKIWfbK02+XIL8Mp4RkWeqdUCrDMfg==", + "version": "10.3.5", + "resolved": "https://registry.npmjs.org/strtok3/-/strtok3-10.3.5.tgz", + "integrity": "sha512-ki4hZQfh5rX0QDLLkOCj+h+CVNkqmp/CMf8v8kZpkNVK6jGQooMytqzLZYUVYIZcFZ6yDB70EfD8POcFXiF5oA==", "dependencies": { "@tokenizer/token": "^0.3.0" }, @@ -1596,11 +1401,6 @@ "node": ">=8" } }, - "node_modules/through": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", - "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==" - }, "node_modules/token-types": { "version": "6.1.2", "resolved": "https://registry.npmjs.org/token-types/-/token-types-6.1.2.tgz", @@ -1669,6 +1469,11 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/undici-types": { + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz", + "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==" + }, "node_modules/universalify": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", @@ -1677,15 +1482,11 @@ "node": ">= 10.0.0" } }, - "node_modules/util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" - }, "node_modules/wcwidth": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", "integrity": "sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g=", + "optional": true, "dependencies": { "defaults": "^1.0.3" } @@ -1704,6 +1505,19 @@ "webidl-conversions": "^3.0.0" } }, + "node_modules/wrap-ansi": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", + "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/y18n": { "version": "5.0.8", "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", @@ -1740,32 +1554,48 @@ }, "dependencies": { "@borewit/text-codec": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/@borewit/text-codec/-/text-codec-0.2.1.tgz", - "integrity": "sha512-k7vvKPbf7J2fZ5klGRD9AeKfUvojuZIQ3BT5u7Jfv+puwXkUBUT5PVyMDfJZpy30CBDXGMgw7fguK/lpOMBvgw==" - }, - "@inquirer/external-editor": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-1.0.1.tgz", - "integrity": "sha512-Oau4yL24d2B5IL4ma4UpbQigkVhzPDXLoqy1ggK4gnHg/stmkffJE4oOXHXF3uz0UEpywG68KcyXsyYpA1Re/Q==", - "requires": { - "chardet": "^2.1.0", - "iconv-lite": "^0.6.3" + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/@borewit/text-codec/-/text-codec-0.2.2.tgz", + "integrity": "sha512-DDaRehssg1aNrH4+2hnj1B7vnUGEjU6OIlyRdkMd0aUdIUvKXrJfXsy8LVtXAy7DRvYVluWbMspsRhz2lcW0mQ==" + }, + "@inquirer/core": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-6.0.0.tgz", + "integrity": "sha512-fKi63Khkisgda3ohnskNf5uZJj+zXOaBvOllHsOkdsXRA/ubQLJQrZchFFi57NKbZzkTunXiBMdvWOv71alonw==", + "requires": { + "@inquirer/type": "^1.1.6", + "@types/mute-stream": "^0.0.4", + "@types/node": "^20.10.7", + "@types/wrap-ansi": "^3.0.0", + "ansi-escapes": "^4.3.2", + "chalk": "^4.1.2", + "cli-spinners": "^2.9.2", + "cli-width": "^4.1.0", + "figures": "^3.2.0", + "mute-stream": "^1.0.0", + "run-async": "^3.0.0", + "signal-exit": "^4.1.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^6.2.0" } }, - "@isaacs/balanced-match": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@isaacs/balanced-match/-/balanced-match-4.0.1.tgz", - "integrity": "sha512-yzMTt9lEb8Gv7zRioUilSglI0c0smZ9k5D65677DLWLtWJaXIS3CqcGyUFByYKlnUj6TkjLVs54fBl6+TiGQDQ==" - }, - "@isaacs/brace-expansion": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/@isaacs/brace-expansion/-/brace-expansion-5.0.1.tgz", - "integrity": "sha512-WMz71T1JS624nWj2n2fnYAuPovhv7EUhk69R6i9dsVyzxt5eM3bjwvgk9L+APE1TRscGysAVMANkB0jh0LQZrQ==", + "@inquirer/select": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-1.3.3.tgz", + "integrity": "sha512-RzlRISXWqIKEf83FDC9ZtJ3JvuK1l7aGpretf41BCWYrvla2wU8W8MTRNMiPrPJ+1SIqrRC1nZdZ60hD9hRXLg==", "requires": { - "@isaacs/balanced-match": "^4.0.1" + "@inquirer/core": "^6.0.0", + "@inquirer/type": "^1.1.6", + "ansi-escapes": "^4.3.2", + "chalk": "^4.1.2", + "figures": "^3.2.0" } }, + "@inquirer/type": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-1.1.6.tgz", + "integrity": "sha512-OCKOpn0CrFDslR8s3who7hlr823zXTb1iShGCaaWgEJFfkIV0T9aLZV2QGnOuU78IrsPYLkr3oKx9dZwwCH3Rw==" + }, "@lukeed/csprng": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@lukeed/csprng/-/csprng-1.1.0.tgz", @@ -1778,11 +1608,11 @@ "requires": {} }, "@nestjs/common": { - "version": "11.1.13", - "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-11.1.13.tgz", - "integrity": "sha512-ieqWtipT+VlyDWLz5Rvz0f3E5rXcVAnaAi+D53DEHLjc1kmFxCgZ62qVfTX2vwkywwqNkTNXvBgGR72hYqV//Q==", + "version": "11.1.17", + "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-11.1.17.tgz", + "integrity": "sha512-hLODw5Abp8OQgA+mUO4tHou4krKgDtUcM9j5Ihxncst9XeyxYBTt2bwZm4e4EQr5E352S4Fyy6V3iFx9ggxKAg==", "requires": { - "file-type": "21.3.0", + "file-type": "21.3.2", "iterare": "1.2.1", "load-esm": "1.0.3", "tslib": "2.8.1", @@ -1790,9 +1620,9 @@ } }, "@nestjs/core": { - "version": "11.1.13", - "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-11.1.13.tgz", - "integrity": "sha512-Tq9EIKiC30EBL8hLK93tNqaToy0hzbuVGYt29V8NhkVJUsDzlmiVf6c3hSPtzx2krIUVbTgQ2KFeaxr72rEyzQ==", + "version": "11.1.17", + "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-11.1.17.tgz", + "integrity": "sha512-lD5mAYekTTurF3vDaa8C2OKPnjiz4tsfxIc5XlcSUzOhkwWf6Ay3HKvt6FmvuWQam6uIIHX52Clg+e6tAvf/cg==", "requires": { "@nuxt/opencollective": "0.4.1", "fast-safe-stringify": "2.1.1", @@ -1828,23 +1658,23 @@ } }, "@openapitools/openapi-generator-cli": { - "version": "2.28.2", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.28.2.tgz", - "integrity": "sha512-iUBOVBbABSc+ygVJ1/xhdpZrH2Aj5ymGyN0QojoLG8RsQFJ9IUHR/i6bih4H2lOPdqzKeIO2PhPsgCvXYqLJFA==", + "version": "2.31.0", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.31.0.tgz", + "integrity": "sha512-sd+VIr5vx4PSknJLzh9thyRC8pw0r8ayCB4xH4G383BRClc3uFxIIz5EkBVndOumRsvPDip4wbszf5RRtxbmGA==", "requires": { + "@inquirer/select": "1.3.3", "@nestjs/axios": "4.0.1", - "@nestjs/common": "11.1.13", - "@nestjs/core": "11.1.13", + "@nestjs/common": "11.1.17", + "@nestjs/core": "11.1.17", "@nuxtjs/opencollective": "0.3.2", - "axios": "1.13.4", + "axios": "^1.13.6", "chalk": "4.1.2", "commander": "8.3.0", "compare-versions": "6.1.1", "concurrently": "9.2.1", "console.table": "0.10.0", - "fs-extra": "11.3.3", - "glob": "13.0.1", - "inquirer": "8.2.7", + "fs-extra": "11.3.4", + "glob": "13.0.6", "proxy-agent": "6.5.0", "reflect-metadata": "0.2.2", "rxjs": "7.8.2", @@ -1870,6 +1700,27 @@ "resolved": "https://registry.npmjs.org/@tootallnate/quickjs-emscripten/-/quickjs-emscripten-0.23.0.tgz", "integrity": "sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA==" }, + "@types/mute-stream": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/@types/mute-stream/-/mute-stream-0.0.4.tgz", + "integrity": "sha512-CPM9nzrCPPJHQNA9keH9CVkVI+WR5kMa+7XEs5jcGQ0VoAGnLv242w8lIVgwAEfmE4oufJRaTc9PNLQl0ioAow==", + "requires": { + "@types/node": "*" + } + }, + "@types/node": { + "version": "20.19.37", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.19.37.tgz", + "integrity": "sha512-8kzdPJ3FsNsVIurqBs7oodNnCEVbni9yUEkaHbgptDACOPW04jimGagZ51E6+lXUwJjgnBw+hyko/lkFWCldqw==", + "requires": { + "undici-types": "~6.21.0" + } + }, + "@types/wrap-ansi": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@types/wrap-ansi/-/wrap-ansi-3.0.0.tgz", + "integrity": "sha512-ltIpx+kM7g/MLRZfkbL7EsCEjfzCcScLpkg37eXEtx5kmrAKBkTJwd1GIAjDSL8wTpM6Hzn5YO4pSb91BEwu1g==" + }, "agent-base": { "version": "7.1.3", "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.3.tgz", @@ -1910,42 +1761,38 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "axios": { - "version": "1.13.4", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.13.4.tgz", - "integrity": "sha512-1wVkUaAO6WyaYtCkcYCOx12ZgpGf9Zif+qXa4n+oYzK558YryKqiL6UWwd5DqiH3VRW0GYhTZQ/vlgJrCoNQlg==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.14.0.tgz", + "integrity": "sha512-3Y8yrqLSwjuzpXuZ0oIYZ/XGgLwUIBU3uLvbcpb0pidD9ctpShJd43KSlEEkVQg6DS0G9NKyzOvBfUtDKEyHvQ==", "requires": { - "follow-redirects": "^1.15.6", - "form-data": "^4.0.4", - "proxy-from-env": "^1.1.0" + "follow-redirects": "^1.15.11", + "form-data": "^4.0.5", + "proxy-from-env": "^2.1.0" + }, + "dependencies": { + "proxy-from-env": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-2.1.0.tgz", + "integrity": "sha512-cJ+oHTW1VAEa8cJslgmUZrc+sjRKgAKl3Zyse6+PV38hZe/V6Z14TbCuXcan9F9ghlz4QrFr2c92TNF82UkYHA==" + } } }, - "base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" + "balanced-match": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", + "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==" }, "basic-ftp": { "version": "5.0.5", "resolved": "https://registry.npmjs.org/basic-ftp/-/basic-ftp-5.0.5.tgz", "integrity": "sha512-4Bcg1P8xhUuqcii/S0Z9wiHIrQVPMermM1any+MX5GeGD7faD3/msQUDGLol9wOcz4/jbg/WJnGqoJF6LiBdtg==" }, - "bl": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", - "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", - "requires": { - "buffer": "^5.5.0", - "inherits": "^2.0.4", - "readable-stream": "^3.4.0" - } - }, - "buffer": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", - "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "brace-expansion": { + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.5.tgz", + "integrity": "sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ==", "requires": { - "base64-js": "^1.3.1", - "ieee754": "^1.1.13" + "balanced-match": "^4.0.2" } }, "call-bind-apply-helpers": { @@ -1966,28 +1813,15 @@ "supports-color": "^7.1.0" } }, - "chardet": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/chardet/-/chardet-2.1.0.tgz", - "integrity": "sha512-bNFETTG/pM5ryzQ9Ad0lJOTa6HWD/YsScAR3EnCPZRPlQh77JocYktSHOUHelyhm8IARL+o4c4F1bP5KVOjiRA==" - }, - "cli-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", - "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", - "requires": { - "restore-cursor": "^3.1.0" - } - }, "cli-spinners": { "version": "2.9.2", "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.2.tgz", "integrity": "sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==" }, "cli-width": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz", - "integrity": "sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==" + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-4.1.0.tgz", + "integrity": "sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==" }, "cliui": { "version": "8.0.1", @@ -2014,7 +1848,8 @@ "clone": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", - "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=" + "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=", + "optional": true }, "color-convert": { "version": "2.0.1", @@ -2100,6 +1935,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.3.tgz", "integrity": "sha1-xlYFHpgX2f8I7YgUd/P+QBnz730=", + "optional": true, "requires": { "clone": "^1.0.2" } @@ -2221,9 +2057,9 @@ } }, "file-type": { - "version": "21.3.0", - "resolved": "https://registry.npmjs.org/file-type/-/file-type-21.3.0.tgz", - "integrity": "sha512-8kPJMIGz1Yt/aPEwOsrR97ZyZaD1Iqm8PClb1nYFclUCkBi0Ma5IsYNQzvSFS9ib51lWyIw5mIT9rWzI/xjpzA==", + "version": "21.3.2", + "resolved": "https://registry.npmjs.org/file-type/-/file-type-21.3.2.tgz", + "integrity": "sha512-DLkUvGwep3poOV2wpzbHCOnSKGk1LzyXTv+aHFgN2VFl96wnp8YA9YjO2qPzg5PuL8q/SW9Pdi6WTkYOIh995w==", "requires": { "@tokenizer/inflate": "^0.4.1", "strtok3": "^10.3.4", @@ -2232,14 +2068,14 @@ } }, "follow-redirects": { - "version": "1.15.9", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz", - "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==" + "version": "1.15.11", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.11.tgz", + "integrity": "sha512-deG2P0JfjrTxl50XGCDyfI97ZGVCxIpfKYmfyrQ54n5FO/0gfIES8C/Psl6kWVDolizcaaxZJnTS0QSMxvnsBQ==" }, "form-data": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.4.tgz", - "integrity": "sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==", + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.5.tgz", + "integrity": "sha512-8RipRLol37bNs2bhoV67fiTEvdTrbMUYcFTiy3+wuuOnUog2QBHCZWXDRijWQfAkhBj2Uf5UnVaiWwA5vdd82w==", "requires": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", @@ -2249,9 +2085,9 @@ } }, "fs-extra": { - "version": "11.3.3", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.3.tgz", - "integrity": "sha512-VWSRii4t0AFm6ixFFmLLx1t7wS1gh+ckoa84aOeapGum0h+EZd1EhEumSB+ZdDLnEPuucsVB9oB7cxJHap6Afg==", + "version": "11.3.4", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.4.tgz", + "integrity": "sha512-CTXd6rk/M3/ULNQj8FBqBWHYBVYybQ3VPBw0xGKFe3tuH7ytT6ACnvzpIQ3UZtB8yvUKC2cXn1a+x+5EVQLovA==", "requires": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", @@ -2305,13 +2141,13 @@ } }, "glob": { - "version": "13.0.1", - "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.1.tgz", - "integrity": "sha512-B7U/vJpE3DkJ5WXTgTpTRN63uV42DseiXXKMwG14LQBXmsdeIoHAPbU/MEo6II0k5ED74uc2ZGTC6MwHFQhF6w==", + "version": "13.0.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.6.tgz", + "integrity": "sha512-Wjlyrolmm8uDpm/ogGyXZXb1Z+Ca2B8NbJwqBVg0axK9GbBeoS7yGV6vjXnYdGm6X53iehEuxxbyiKp8QmN4Vw==", "requires": { - "minimatch": "^10.1.2", - "minipass": "^7.1.2", - "path-scurry": "^2.0.0" + "minimatch": "^10.2.2", + "minipass": "^7.1.3", + "path-scurry": "^2.0.2" } }, "gopd": { @@ -2368,58 +2204,11 @@ "debug": "4" } }, - "iconv-lite": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", - "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", - "requires": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - } - }, "ieee754": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==" }, - "inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" - }, - "inquirer": { - "version": "8.2.7", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.7.tgz", - "integrity": "sha512-UjOaSel/iddGZJ5xP/Eixh6dY1XghiBw4XK13rCCIJcJfyhhoul/7KhLLUGtebEj6GDYM6Vnx/mVsjx2L/mFIA==", - "requires": { - "@inquirer/external-editor": "^1.0.0", - "ansi-escapes": "^4.2.1", - "chalk": "^4.1.1", - "cli-cursor": "^3.1.0", - "cli-width": "^3.0.0", - "figures": "^3.0.0", - "lodash": "^4.17.21", - "mute-stream": "0.0.8", - "ora": "^5.4.1", - "run-async": "^2.4.0", - "rxjs": "^7.5.5", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0", - "through": "^2.3.6", - "wrap-ansi": "^6.0.1" - }, - "dependencies": { - "wrap-ansi": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", - "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", - "requires": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - } - } - } - }, "ip-address": { "version": "9.0.5", "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-9.0.5.tgz", @@ -2434,16 +2223,6 @@ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" }, - "is-interactive": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz", - "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==" - }, - "is-unicode-supported": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", - "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==" - }, "iterare": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/iterare/-/iterare-1.2.1.tgz", @@ -2468,24 +2247,10 @@ "resolved": "https://registry.npmjs.org/load-esm/-/load-esm-1.0.3.tgz", "integrity": "sha512-v5xlu8eHD1+6r8EHTg6hfmO97LN8ugKtiXcy5e6oN72iD2r6u0RPfLl6fxM+7Wnh2ZRq15o0russMst44WauPA==" }, - "lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" - }, - "log-symbols": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", - "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", - "requires": { - "chalk": "^4.1.0", - "is-unicode-supported": "^0.1.0" - } - }, "lru-cache": { - "version": "11.2.5", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.2.5.tgz", - "integrity": "sha512-vFrFJkWtJvJnD5hg+hJvVE8Lh/TcMzKnTgCWmtBipwI5yLX/iX+5UB2tfuyODF5E7k9xEzMdYgGqaSb1c0c5Yw==" + "version": "11.2.7", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.2.7.tgz", + "integrity": "sha512-aY/R+aEsRelme17KGQa/1ZSIpLpNYYrhcrepKTZgE+W3WM16YMCaPwOHLHsmopZHELU0Ojin1lPVxKR0MihncA==" }, "math-intrinsics": { "version": "1.1.0", @@ -2505,23 +2270,18 @@ "mime-db": "1.52.0" } }, - "mimic-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==" - }, "minimatch": { - "version": "10.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.1.2.tgz", - "integrity": "sha512-fu656aJ0n2kcXwsnwnv9g24tkU5uSmOlTjd6WyyaKm2Z+h1qmY6bAjrcaIxF/BslFqbZ8UBtbJi7KgQOZD2PTw==", + "version": "10.2.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz", + "integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==", "requires": { - "@isaacs/brace-expansion": "^5.0.1" + "brace-expansion": "^5.0.5" } }, "minipass": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", - "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==" + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.3.tgz", + "integrity": "sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==" }, "ms": { "version": "2.1.3", @@ -2529,9 +2289,9 @@ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" }, "mute-stream": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", - "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==" + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-1.0.0.tgz", + "integrity": "sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA==" }, "netmask": { "version": "2.0.2", @@ -2546,30 +2306,6 @@ "whatwg-url": "^5.0.0" } }, - "onetime": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", - "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", - "requires": { - "mimic-fn": "^2.1.0" - } - }, - "ora": { - "version": "5.4.1", - "resolved": "https://registry.npmjs.org/ora/-/ora-5.4.1.tgz", - "integrity": "sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==", - "requires": { - "bl": "^4.1.0", - "chalk": "^4.1.0", - "cli-cursor": "^3.1.0", - "cli-spinners": "^2.5.0", - "is-interactive": "^1.0.0", - "is-unicode-supported": "^0.1.0", - "log-symbols": "^4.1.0", - "strip-ansi": "^6.0.0", - "wcwidth": "^1.0.1" - } - }, "pac-proxy-agent": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-7.2.0.tgz", @@ -2595,9 +2331,9 @@ } }, "path-scurry": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.1.tgz", - "integrity": "sha512-oWyT4gICAu+kaA7QWk/jvCHWarMKNs6pXOGWKDTr7cw4IGcUbW+PeTfbaQiLGheFRpjo6O9J0PmyMfQPjH71oA==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.2.tgz", + "integrity": "sha512-3O/iVVsJAPsOnpwWIeD+d6z/7PmqApyQePUtCndjatj/9I5LylHvt5qluFaBT3I5h3r1ejfR056c+FCv+NnNXg==", "requires": { "lru-cache": "^11.0.0", "minipass": "^7.1.2" @@ -2635,16 +2371,6 @@ "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" }, - "readable-stream": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", - "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", - "requires": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - } - }, "reflect-metadata": { "version": "0.2.2", "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.2.2.tgz", @@ -2655,19 +2381,10 @@ "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==" }, - "restore-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", - "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", - "requires": { - "onetime": "^5.1.0", - "signal-exit": "^3.0.2" - } - }, "run-async": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", - "integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==" + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/run-async/-/run-async-3.0.0.tgz", + "integrity": "sha512-540WwVDOMxA6dN6We19EcT9sc3hkXPw5mzRNGM3FkdN/vtE9NFvj5lFAPNwUDmJjXidm3v7TC1cTE7t17Ulm1Q==" }, "rxjs": { "version": "7.8.2", @@ -2677,25 +2394,15 @@ "tslib": "^2.1.0" } }, - "safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" - }, - "safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" - }, "shell-quote": { "version": "1.8.3", "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.8.3.tgz", "integrity": "sha512-ObmnIF4hXNg1BqhnHmgbDETF8dLPCggZWBjkQfhZpbszZnYur5DUljTcCHii5LC3J5E0yeO/1LIMyH+UvHQgyw==" }, "signal-exit": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", - "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==" }, "smart-buffer": { "version": "4.2.0", @@ -2732,14 +2439,6 @@ "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.3.tgz", "integrity": "sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==" }, - "string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "requires": { - "safe-buffer": "~5.2.0" - } - }, "string-width": { "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", @@ -2759,9 +2458,9 @@ } }, "strtok3": { - "version": "10.3.4", - "resolved": "https://registry.npmjs.org/strtok3/-/strtok3-10.3.4.tgz", - "integrity": "sha512-KIy5nylvC5le1OdaaoCJ07L+8iQzJHGH6pWDuzS+d07Cu7n1MZ2x26P8ZKIWfbK02+XIL8Mp4RkWeqdUCrDMfg==", + "version": "10.3.5", + "resolved": "https://registry.npmjs.org/strtok3/-/strtok3-10.3.5.tgz", + "integrity": "sha512-ki4hZQfh5rX0QDLLkOCj+h+CVNkqmp/CMf8v8kZpkNVK6jGQooMytqzLZYUVYIZcFZ6yDB70EfD8POcFXiF5oA==", "requires": { "@tokenizer/token": "^0.3.0" } @@ -2774,11 +2473,6 @@ "has-flag": "^4.0.0" } }, - "through": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", - "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==" - }, "token-types": { "version": "6.1.2", "resolved": "https://registry.npmjs.org/token-types/-/token-types-6.1.2.tgz", @@ -2822,20 +2516,21 @@ "resolved": "https://registry.npmjs.org/uint8array-extras/-/uint8array-extras-1.5.0.tgz", "integrity": "sha512-rvKSBiC5zqCCiDZ9kAOszZcDvdAHwwIKJG33Ykj43OKcWsnmcBRL09YTU4nOeHZ8Y2a7l1MgTd08SBe9A8Qj6A==" }, + "undici-types": { + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz", + "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==" + }, "universalify": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==" }, - "util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" - }, "wcwidth": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", "integrity": "sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g=", + "optional": true, "requires": { "defaults": "^1.0.3" } @@ -2854,6 +2549,16 @@ "webidl-conversions": "^3.0.0" } }, + "wrap-ansi": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", + "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + } + }, "y18n": { "version": "5.0.8", "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", diff --git a/package.json b/package.json index b9bc7760..2dc9613e 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.28.2" + "@openapitools/openapi-generator-cli": "^2.31.0" } } diff --git a/setup.py b/setup.py index d5d69319..2f614664 100644 --- a/setup.py +++ b/setup.py @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.20.8.dev9" +VERSION = "1.20.8.dev10" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/models/group_permissions.py b/vrchatapi/models/group_permissions.py index 5c7cb0f1..3ac41348 100644 --- a/vrchatapi/models/group_permissions.py +++ b/vrchatapi/models/group_permissions.py @@ -40,6 +40,7 @@ class GroupPermissions(object): group_default_role_manage = "group-default-role-manage" group_galleries_manage = "group-galleries-manage" group_instance_age_gated_create = "group-instance-age-gated-create" + group_instance_announcement_create = "group-instance-announcement-create" group_instance_calendar_link = "group-instance-calendar-link" group_instance_join = "group-instance-join" group_instance_manage = "group-instance-manage" @@ -58,7 +59,7 @@ class GroupPermissions(object): group_roles_assign = "group-roles-assign" group_roles_manage = "group-roles-manage" - allowable_values = [group_all, group_announcement_manage, group_audit_view, group_bans_manage, group_calendar_manage, group_data_manage, group_default_role_manage, group_galleries_manage, group_instance_age_gated_create, group_instance_calendar_link, group_instance_join, group_instance_manage, group_instance_moderate, group_instance_open_create, group_instance_plus_create, group_instance_plus_portal, group_instance_plus_portal_unlocked, group_instance_public_create, group_instance_queue_priority, group_instance_restricted_create, group_invites_manage, group_members_manage, group_members_remove, group_members_viewall, group_roles_assign, group_roles_manage] # noqa: E501 + allowable_values = [group_all, group_announcement_manage, group_audit_view, group_bans_manage, group_calendar_manage, group_data_manage, group_default_role_manage, group_galleries_manage, group_instance_age_gated_create, group_instance_announcement_create, group_instance_calendar_link, group_instance_join, group_instance_manage, group_instance_moderate, group_instance_open_create, group_instance_plus_create, group_instance_plus_portal, group_instance_plus_portal_unlocked, group_instance_public_create, group_instance_queue_priority, group_instance_restricted_create, group_invites_manage, group_members_manage, group_members_remove, group_members_viewall, group_roles_assign, group_roles_manage] # noqa: E501 """ Attributes: diff --git a/vrchatapi/rest.py b/vrchatapi/rest.py index ff752eba..b7393495 100644 --- a/vrchatapi/rest.py +++ b/vrchatapi/rest.py @@ -245,10 +245,10 @@ def request(self, method, url, query_params=None, headers=None, raise ApiException(http_resp=r) - if re.match(b'{"\w{21}":\["totp","otp"]}', r.data) is not None: + if re.match(rb'{"\w{21}":\["totp","otp"]}', r.data) is not None: r.reason = "2 Factor Authentication verification is required" raise UnauthorizedException(http_resp=r) - elif re.match(b'{"\w{21}":\["emailOtp"]}', r.data) is not None: + elif re.match(rb'{"\w{21}":\["emailOtp"]}', r.data) is not None: r.reason = "Email 2 Factor Authentication verification is required" raise UnauthorizedException(http_resp=r) From 38b73ae506106443db0f5894c213327997f52d91 Mon Sep 17 00:00:00 2001 From: ariesclark Date: Sat, 4 Apr 2026 13:40:19 +0000 Subject: [PATCH 098/102] Upgrade Python SDK to spec 1.20.8.dev11 --- .openapi-generator/FILES | 34 +- docs/AuthenticationApi.md | 2 +- docs/CalendarApi.md | 26 +- docs/ChangeWorldTagsRequest.md | 11 + docs/CreateJamSubmissionRequest.md | 13 + docs/EarningsMetrics.md | 13 + docs/EarningsMetricsTotals.md | 15 + docs/EconomyApi.md | 383 +++++++- docs/FavoritesApi.md | 24 +- docs/FilesApi.md | 22 +- docs/GroupsApi.md | 116 +-- docs/InventoryApi.md | 89 +- docs/{Submission.md => JamSubmission.md} | 2 +- docs/JamsApi.md | 179 +++- docs/PrintsApi.md | 6 +- docs/ProductPurchaseHistory.md | 13 + docs/ProductPurchaseLocationType.md | 10 + docs/ProductPurchaseRecord.md | 22 + docs/PropsApi.md | 12 +- docs/PurchaseContextData.md | 13 + docs/PurchaseProductListingRequest.md | 4 + docs/RewardBadge.md | 22 + docs/RewardRedemption.md | 12 + docs/RewardRedemptionData.md | 12 + docs/RewardRedemptionRequest.md | 11 + docs/RewardRedemptionResult.md | 12 + docs/SellerEligibility.md | 11 + docs/TutorialStatus.md | 14 + docs/UsersApi.md | 81 +- docs/WorldsApi.md | 233 +++++ setup.py | 2 +- vrchatapi/__init__.py | 17 +- vrchatapi/api/economy_api.py | 881 ++++++++++++++++-- vrchatapi/api/favorites_api.py | 12 +- vrchatapi/api/inventory_api.py | 146 +++ vrchatapi/api/jams_api.py | 338 ++++++- vrchatapi/api/users_api.py | 146 ++- vrchatapi/api/worlds_api.py | 459 +++++++++ vrchatapi/models/__init__.py | 17 +- vrchatapi/models/change_world_tags_request.py | 134 +++ .../models/create_jam_submission_request.py | 163 ++++ vrchatapi/models/earnings_metrics.py | 188 ++++ vrchatapi/models/earnings_metrics_totals.py | 255 +++++ vrchatapi/models/favorite_type.py | 3 +- vrchatapi/models/jam.py | 3 - .../{submission.py => jam_submission.py} | 70 +- vrchatapi/models/product_purchase_history.py | 186 ++++ .../models/product_purchase_location_type.py | 120 +++ vrchatapi/models/product_purchase_record.py | 431 +++++++++ vrchatapi/models/purchase_context_data.py | 186 ++++ .../purchase_product_listing_request.py | 108 ++- vrchatapi/models/reward_badge.py | 430 +++++++++ vrchatapi/models/reward_redemption.py | 161 ++++ vrchatapi/models/reward_redemption_data.py | 157 ++++ vrchatapi/models/reward_redemption_request.py | 132 +++ vrchatapi/models/reward_redemption_result.py | 159 ++++ vrchatapi/models/seller_eligibility.py | 132 +++ vrchatapi/models/tutorial_status.py | 215 +++++ 58 files changed, 6396 insertions(+), 272 deletions(-) create mode 100644 docs/ChangeWorldTagsRequest.md create mode 100644 docs/CreateJamSubmissionRequest.md create mode 100644 docs/EarningsMetrics.md create mode 100644 docs/EarningsMetricsTotals.md rename docs/{Submission.md => JamSubmission.md} (97%) create mode 100644 docs/ProductPurchaseHistory.md create mode 100644 docs/ProductPurchaseLocationType.md create mode 100644 docs/ProductPurchaseRecord.md create mode 100644 docs/PurchaseContextData.md create mode 100644 docs/RewardBadge.md create mode 100644 docs/RewardRedemption.md create mode 100644 docs/RewardRedemptionData.md create mode 100644 docs/RewardRedemptionRequest.md create mode 100644 docs/RewardRedemptionResult.md create mode 100644 docs/SellerEligibility.md create mode 100644 docs/TutorialStatus.md create mode 100644 vrchatapi/models/change_world_tags_request.py create mode 100644 vrchatapi/models/create_jam_submission_request.py create mode 100644 vrchatapi/models/earnings_metrics.py create mode 100644 vrchatapi/models/earnings_metrics_totals.py rename vrchatapi/models/{submission.py => jam_submission.py} (76%) create mode 100644 vrchatapi/models/product_purchase_history.py create mode 100644 vrchatapi/models/product_purchase_location_type.py create mode 100644 vrchatapi/models/product_purchase_record.py create mode 100644 vrchatapi/models/purchase_context_data.py create mode 100644 vrchatapi/models/reward_badge.py create mode 100644 vrchatapi/models/reward_redemption.py create mode 100644 vrchatapi/models/reward_redemption_data.py create mode 100644 vrchatapi/models/reward_redemption_request.py create mode 100644 vrchatapi/models/reward_redemption_result.py create mode 100644 vrchatapi/models/seller_eligibility.py create mode 100644 vrchatapi/models/tutorial_status.py diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index f07d2100..15a75924 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -53,6 +53,7 @@ docs/CalendarEventDiscoveryScope.md docs/CalendarEventPlatform.md docs/CalendarEventUserInterest.md docs/ChangeUserTagsRequest.md +docs/ChangeWorldTagsRequest.md docs/ContentFilter.md docs/CreateAvatarModerationRequest.md docs/CreateAvatarRequest.md @@ -66,6 +67,7 @@ docs/CreateGroupPostRequest.md docs/CreateGroupRequest.md docs/CreateGroupRoleRequest.md docs/CreateInstanceRequest.md +docs/CreateJamSubmissionRequest.md docs/CreatePropRequest.md docs/CreateWorldRequest.md docs/CurrentUser.md @@ -76,6 +78,8 @@ docs/DeveloperType.md docs/Disable2FAResult.md docs/DiscordDetails.md docs/DynamicContentRow.md +docs/EarningsMetrics.md +docs/EarningsMetricsTotals.md docs/EconomyAccount.md docs/EconomyApi.md docs/EquipInventoryItemRequest.md @@ -170,6 +174,7 @@ docs/InviteRequest.md docs/InviteResponse.md docs/Jam.md docs/JamStateChangeDates.md +docs/JamSubmission.md docs/JamsApi.md docs/JoinGroupRequest.md docs/License.md @@ -226,12 +231,16 @@ docs/ProductListing.md docs/ProductListingType.md docs/ProductListingVariant.md docs/ProductPurchase.md +docs/ProductPurchaseHistory.md +docs/ProductPurchaseLocationType.md docs/ProductPurchasePurchaseContext.md +docs/ProductPurchaseRecord.md docs/ProductType.md docs/Prop.md docs/PropPublishStatus.md docs/PropUnityPackage.md docs/PropsApi.md +docs/PurchaseContextData.md docs/PurchaseProductListingRequest.md docs/Region.md docs/RegisterUserAccountRequest.md @@ -243,7 +252,13 @@ docs/RequestInviteRequest.md docs/RespondGroupJoinRequest.md docs/RespondNotificationV2Request.md docs/Response.md +docs/RewardBadge.md +docs/RewardRedemption.md +docs/RewardRedemptionData.md +docs/RewardRedemptionRequest.md +docs/RewardRedemptionResult.md docs/SearchGroupMembers200Response.md +docs/SellerEligibility.md docs/SentNotification.md docs/ServiceQueueStats.md docs/ServiceStatus.md @@ -254,7 +269,6 @@ docs/Store.md docs/StoreShelf.md docs/StoreType.md docs/StoreView.md -docs/Submission.md docs/SubmitModerationReportRequest.md docs/SubmitModerationReportRequestDetails.md docs/Subscription.md @@ -270,6 +284,7 @@ docs/TransactionStatus.md docs/TransactionSteamInfo.md docs/TransactionSteamWalletInfo.md docs/TransferGroupRequest.md +docs/TutorialStatus.md docs/TwoFactorAuthCode.md docs/TwoFactorEmailCode.md docs/TwoFactorRecoveryCodes.md @@ -391,6 +406,7 @@ vrchatapi/models/calendar_event_discovery_scope.py vrchatapi/models/calendar_event_platform.py vrchatapi/models/calendar_event_user_interest.py vrchatapi/models/change_user_tags_request.py +vrchatapi/models/change_world_tags_request.py vrchatapi/models/content_filter.py vrchatapi/models/create_avatar_moderation_request.py vrchatapi/models/create_avatar_request.py @@ -404,6 +420,7 @@ vrchatapi/models/create_group_post_request.py vrchatapi/models/create_group_request.py vrchatapi/models/create_group_role_request.py vrchatapi/models/create_instance_request.py +vrchatapi/models/create_jam_submission_request.py vrchatapi/models/create_prop_request.py vrchatapi/models/create_world_request.py vrchatapi/models/current_user.py @@ -414,6 +431,8 @@ vrchatapi/models/developer_type.py vrchatapi/models/disable2_fa_result.py vrchatapi/models/discord_details.py vrchatapi/models/dynamic_content_row.py +vrchatapi/models/earnings_metrics.py +vrchatapi/models/earnings_metrics_totals.py vrchatapi/models/economy_account.py vrchatapi/models/equip_inventory_item_request.py vrchatapi/models/error.py @@ -500,6 +519,7 @@ vrchatapi/models/invite_request.py vrchatapi/models/invite_response.py vrchatapi/models/jam.py vrchatapi/models/jam_state_change_dates.py +vrchatapi/models/jam_submission.py vrchatapi/models/join_group_request.py vrchatapi/models/license.py vrchatapi/models/license_action.py @@ -551,11 +571,15 @@ vrchatapi/models/product_listing.py vrchatapi/models/product_listing_type.py vrchatapi/models/product_listing_variant.py vrchatapi/models/product_purchase.py +vrchatapi/models/product_purchase_history.py +vrchatapi/models/product_purchase_location_type.py vrchatapi/models/product_purchase_purchase_context.py +vrchatapi/models/product_purchase_record.py vrchatapi/models/product_type.py vrchatapi/models/prop.py vrchatapi/models/prop_publish_status.py vrchatapi/models/prop_unity_package.py +vrchatapi/models/purchase_context_data.py vrchatapi/models/purchase_product_listing_request.py vrchatapi/models/region.py vrchatapi/models/register_user_account_request.py @@ -567,7 +591,13 @@ vrchatapi/models/request_invite_request.py vrchatapi/models/respond_group_join_request.py vrchatapi/models/respond_notification_v2_request.py vrchatapi/models/response.py +vrchatapi/models/reward_badge.py +vrchatapi/models/reward_redemption.py +vrchatapi/models/reward_redemption_data.py +vrchatapi/models/reward_redemption_request.py +vrchatapi/models/reward_redemption_result.py vrchatapi/models/search_group_members200_response.py +vrchatapi/models/seller_eligibility.py vrchatapi/models/sent_notification.py vrchatapi/models/service_queue_stats.py vrchatapi/models/service_status.py @@ -578,7 +608,6 @@ vrchatapi/models/store.py vrchatapi/models/store_shelf.py vrchatapi/models/store_type.py vrchatapi/models/store_view.py -vrchatapi/models/submission.py vrchatapi/models/submit_moderation_report_request.py vrchatapi/models/submit_moderation_report_request_details.py vrchatapi/models/subscription.py @@ -594,6 +623,7 @@ vrchatapi/models/transaction_status.py vrchatapi/models/transaction_steam_info.py vrchatapi/models/transaction_steam_wallet_info.py vrchatapi/models/transfer_group_request.py +vrchatapi/models/tutorial_status.py vrchatapi/models/two_factor_auth_code.py vrchatapi/models/two_factor_email_code.py vrchatapi/models/two_factor_recovery_codes.py diff --git a/docs/AuthenticationApi.md b/docs/AuthenticationApi.md index c0a670a7..86712ba5 100644 --- a/docs/AuthenticationApi.md +++ b/docs/AuthenticationApi.md @@ -194,7 +194,7 @@ configuration = vrchatapi.Configuration( with vrchatapi.ApiClient() as api_client: # Create an instance of the API class api_instance = vrchatapi.AuthenticationApi(api_client) - id = 'usr_00000000-0000-0000-0000-000000000000' # str | Target user for which to verify email. + id = 'id_example' # str | Target user for which to verify email. verify_email = 'eml_00000000-0000-0000-0000-000000000000' # str | Token to verify email. try: diff --git a/docs/CalendarApi.md b/docs/CalendarApi.md index 0139c598..3522bf85 100644 --- a/docs/CalendarApi.md +++ b/docs/CalendarApi.md @@ -56,7 +56,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.CalendarApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. create_calendar_event_request = vrchatapi.CreateCalendarEventRequest() # CreateCalendarEventRequest | try: @@ -134,8 +134,8 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.CalendarApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -calendar_id = 'cal_00000000-0000-0000-0000-000000000000' # str | Must be a valid calendar ID. + group_id = 'group_id_example' # str | Must be a valid group ID. +calendar_id = 'calendar_id_example' # str | Must be a valid calendar ID. try: # Delete a calendar event @@ -305,8 +305,8 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.CalendarApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -calendar_id = 'cal_00000000-0000-0000-0000-000000000000' # str | Must be a valid calendar ID. + group_id = 'group_id_example' # str | Must be a valid group ID. +calendar_id = 'calendar_id_example' # str | Must be a valid calendar ID. follow_calendar_event_request = vrchatapi.FollowCalendarEventRequest() # FollowCalendarEventRequest | try: @@ -617,8 +617,8 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.CalendarApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -calendar_id = 'cal_00000000-0000-0000-0000-000000000000' # str | Must be a valid calendar ID. + group_id = 'group_id_example' # str | Must be a valid group ID. +calendar_id = 'calendar_id_example' # str | Must be a valid calendar ID. try: # Get a calendar event @@ -682,8 +682,8 @@ configuration = vrchatapi.Configuration( with vrchatapi.ApiClient() as api_client: # Create an instance of the API class api_instance = vrchatapi.CalendarApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -calendar_id = 'cal_00000000-0000-0000-0000-000000000000' # str | Must be a valid calendar ID. + group_id = 'group_id_example' # str | Must be a valid group ID. +calendar_id = 'calendar_id_example' # str | Must be a valid calendar ID. try: # Download calendar event as ICS @@ -759,7 +759,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.CalendarApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. date = '2013-10-20T19:20:30+01:00' # datetime | The month to search in. (optional) n = 60 # int | The number of objects to return. (optional) (default to 60) offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) @@ -839,7 +839,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.CalendarApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. try: # Get next calendar event @@ -996,8 +996,8 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.CalendarApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -calendar_id = 'cal_00000000-0000-0000-0000-000000000000' # str | Must be a valid calendar ID. + group_id = 'group_id_example' # str | Must be a valid group ID. +calendar_id = 'calendar_id_example' # str | Must be a valid calendar ID. update_calendar_event_request = vrchatapi.UpdateCalendarEventRequest() # UpdateCalendarEventRequest | try: diff --git a/docs/ChangeWorldTagsRequest.md b/docs/ChangeWorldTagsRequest.md new file mode 100644 index 00000000..0e2b7edd --- /dev/null +++ b/docs/ChangeWorldTagsRequest.md @@ -0,0 +1,11 @@ +# ChangeWorldTagsRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**tags** | **list[str]** | The tags being added or removed. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CreateJamSubmissionRequest.md b/docs/CreateJamSubmissionRequest.md new file mode 100644 index 00000000..f914440a --- /dev/null +++ b/docs/CreateJamSubmissionRequest.md @@ -0,0 +1,13 @@ +# CreateJamSubmissionRequest + +Submit content for a Jam. Both content upload by submitter and jam submission itself must be made within the jam's designated times. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**content_id** | **str** | The id of the uploaded content (e.g., avatar, world) being submitted. | +**description** | **str** | A description of the content being submitted. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EarningsMetrics.md b/docs/EarningsMetrics.md new file mode 100644 index 00000000..73c61e9a --- /dev/null +++ b/docs/EarningsMetrics.md @@ -0,0 +1,13 @@ +# EarningsMetrics + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**breakdown** | **list[object]** | | +**seller_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**totals** | [**EarningsMetricsTotals**](EarningsMetricsTotals.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EarningsMetricsTotals.md b/docs/EarningsMetricsTotals.md new file mode 100644 index 00000000..1e1b4e7a --- /dev/null +++ b/docs/EarningsMetricsTotals.md @@ -0,0 +1,15 @@ +# EarningsMetricsTotals + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**otp_earnings** | **int** | | +**otp_purchase_count** | **int** | | +**subscriber_earnings** | **int** | | +**subscriber_months** | **int** | | +**total_earnings** | **int** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EconomyApi.md b/docs/EconomyApi.md index 59dc64b1..bd4e7f2e 100644 --- a/docs/EconomyApi.md +++ b/docs/EconomyApi.md @@ -9,13 +9,18 @@ Method | HTTP request | Description [**get_balance_earnings**](EconomyApi.md#get_balance_earnings) | **GET** /user/{userId}/balance/earnings | Get Balance Earnings [**get_bulk_gift_purchases**](EconomyApi.md#get_bulk_gift_purchases) | **GET** /user/bulk/gift/purchases | Get Bulk Gift Purchases [**get_current_subscriptions**](EconomyApi.md#get_current_subscriptions) | **GET** /auth/user/subscription | Get Current Subscriptions +[**get_earnings_metrics**](EconomyApi.md#get_earnings_metrics) | **GET** /economy/metrics/earnings | Get Earnings Metrics [**get_economy_account**](EconomyApi.md#get_economy_account) | **GET** /user/{userId}/economy/account | Get Economy Account [**get_license_group**](EconomyApi.md#get_license_group) | **GET** /licenseGroups/{licenseGroupId} | Get License Group [**get_product_listing**](EconomyApi.md#get_product_listing) | **GET** /listing/{productId} | Get Product Listing [**get_product_listing_alternate**](EconomyApi.md#get_product_listing_alternate) | **GET** /products/{productId} | Get Product Listing (alternate) [**get_product_listings**](EconomyApi.md#get_product_listings) | **GET** /user/{userId}/listings | Get User Product Listings +[**get_product_purchase**](EconomyApi.md#get_product_purchase) | **GET** /economy/purchases/{productPurchaseId} | Get Product Purchase +[**get_product_purchase_history**](EconomyApi.md#get_product_purchase_history) | **GET** /user/{userId}/economy/transactions | Get Product Purchase History +[**get_product_purchase_stacks**](EconomyApi.md#get_product_purchase_stacks) | **GET** /economy/purchases/{productPurchaseId}/stacks | Get Product Purchase Stacks [**get_product_purchases**](EconomyApi.md#get_product_purchases) | **GET** /economy/purchases | Get Product Purchases [**get_recent_subscription**](EconomyApi.md#get_recent_subscription) | **GET** /user/subscription/recent | Get Recent Subscription +[**get_seller_eligibility**](EconomyApi.md#get_seller_eligibility) | **GET** /economy/seller/eligibility | Get Seller Eligibility [**get_steam_transaction**](EconomyApi.md#get_steam_transaction) | **GET** /Steam/transactions/{transactionId} | Get Steam Transaction [**get_steam_transactions**](EconomyApi.md#get_steam_transactions) | **GET** /Steam/transactions | List Steam Transactions [**get_store**](EconomyApi.md#get_store) | **GET** /economy/store | Get Store @@ -392,6 +397,76 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_earnings_metrics** +> EarningsMetrics get_earnings_metrics() + +Get Earnings Metrics + +Gets earnings totals and breakdown metrics for the currently authenticated user. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.EconomyApi(api_client) + + try: + # Get Earnings Metrics + api_response = api_instance.get_earnings_metrics() + pprint(api_response) + except ApiException as e: + print("Exception when calling EconomyApi->get_earnings_metrics: %s\n" % e) +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**EarningsMetrics**](EarningsMetrics.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single EarningsMetrics object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_economy_account** > EconomyAccount get_economy_account(user_id) @@ -731,7 +806,7 @@ with vrchatapi.ApiClient(configuration) as api_client: n = 60 # int | The number of objects to return. (optional) (default to 60) offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) hydrate = True # bool | Populates some fields and changes types of others for certain objects. (optional) -group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. (optional) +group_id = 'group_id_example' # str | Must be a valid group ID. (optional) active = True # bool | Filter for users' listings and inventory bundles. (optional) try: @@ -774,6 +849,242 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_product_purchase** +> ProductPurchase get_product_purchase(product_purchase_id) + +Get Product Purchase + +Gets a single product purchase + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.EconomyApi(api_client) + product_purchase_id = 'product_purchase_id_example' # str | Must be a valid purchase ID. + + try: + # Get Product Purchase + api_response = api_instance.get_product_purchase(product_purchase_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling EconomyApi->get_product_purchase: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **product_purchase_id** | **str**| Must be a valid purchase ID. | + +### Return type + +[**ProductPurchase**](ProductPurchase.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single ProductPurchase object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_product_purchase_history** +> ProductPurchaseHistory get_product_purchase_history(user_id, n=n, date_min=date_min, date_max=date_max, from_user_id=from_user_id, to_user_id=to_user_id, sort=sort, order=order) + +Get Product Purchase History + +Gets a history of product purchases + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.EconomyApi(api_client) + user_id = 'user_id_example' # str | Must be a valid user ID. +n = 60 # int | The number of objects to return. (optional) (default to 60) +date_min = '2013-10-20T19:20:30+01:00' # datetime | The start date of the search range. (optional) +date_max = '2013-10-20T19:20:30+01:00' # datetime | The end date of the search range. (optional) +from_user_id = 'from_user_id_example' # str | Must be a valid user ID. (optional) +to_user_id = 'to_user_id_example' # str | Must be a valid user ID. (optional) +sort = vrchatapi.SortOptionProductPurchase() # SortOptionProductPurchase | The sort order of the results. (optional) +order = vrchatapi.OrderOptionShort() # OrderOptionShort | Result ordering (optional) + + try: + # Get Product Purchase History + api_response = api_instance.get_product_purchase_history(user_id, n=n, date_min=date_min, date_max=date_max, from_user_id=from_user_id, to_user_id=to_user_id, sort=sort, order=order) + pprint(api_response) + except ApiException as e: + print("Exception when calling EconomyApi->get_product_purchase_history: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **date_min** | **datetime**| The start date of the search range. | [optional] + **date_max** | **datetime**| The end date of the search range. | [optional] + **from_user_id** | **str**| Must be a valid user ID. | [optional] + **to_user_id** | **str**| Must be a valid user ID. | [optional] + **sort** | [**SortOptionProductPurchase**](.md)| The sort order of the results. | [optional] + **order** | [**OrderOptionShort**](.md)| Result ordering | [optional] + +### Return type + +[**ProductPurchaseHistory**](ProductPurchaseHistory.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single ProductPurchaseHistory object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_product_purchase_stacks** +> list[object] get_product_purchase_stacks(product_purchase_id) + +Get Product Purchase Stacks + +Gets stacks for a product purchase + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.EconomyApi(api_client) + product_purchase_id = 'product_purchase_id_example' # str | Must be a valid purchase ID. + + try: + # Get Product Purchase Stacks + api_response = api_instance.get_product_purchase_stacks(product_purchase_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling EconomyApi->get_product_purchase_stacks: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **product_purchase_id** | **str**| Must be a valid purchase ID. | + +### Return type + +**list[object]** + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of stacks for a product purchase. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_product_purchases** > list[ProductPurchase] get_product_purchases(buyer_id, n=n, offset=offset, most_recent=most_recent, sort=sort, order=order) @@ -928,6 +1239,76 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_seller_eligibility** +> SellerEligibility get_seller_eligibility() + +Get Seller Eligibility + +Get the eligibility of the currently authenticated user to become a seller + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.EconomyApi(api_client) + + try: + # Get Seller Eligibility + api_response = api_instance.get_seller_eligibility() + pprint(api_response) + except ApiException as e: + print("Exception when calling EconomyApi->get_seller_eligibility: %s\n" % e) +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**SellerEligibility**](SellerEligibility.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single SellerEligibility object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_steam_transaction** > Transaction get_steam_transaction(transaction_id) diff --git a/docs/FavoritesApi.md b/docs/FavoritesApi.md index 15cf660b..97ce7b22 100644 --- a/docs/FavoritesApi.md +++ b/docs/FavoritesApi.md @@ -126,8 +126,8 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FavoritesApi(api_client) - favorite_group_type = 'favorite_group_type_example' # str | The type of group to fetch, must be a valid FavoriteType. -favorite_group_name = 'favorite_group_name_example' # str | The name of the group to fetch, must be a name of a FavoriteGroup. + favorite_group_type = vrchatapi.FavoriteType() # FavoriteType | The type of group to fetch, must be a valid FavoriteType. +favorite_group_name = 'group_0' # str | The name of the group to fetch, must be a name of a FavoriteGroup. (default to 'group_0') user_id = 'user_id_example' # str | Must be a valid user ID. try: @@ -142,8 +142,8 @@ user_id = 'user_id_example' # str | Must be a valid user ID. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **favorite_group_type** | **str**| The type of group to fetch, must be a valid FavoriteType. | - **favorite_group_name** | **str**| The name of the group to fetch, must be a name of a FavoriteGroup. | + **favorite_group_type** | [**FavoriteType**](.md)| The type of group to fetch, must be a valid FavoriteType. | + **favorite_group_name** | **str**| The name of the group to fetch, must be a name of a FavoriteGroup. | [default to 'group_0'] **user_id** | **str**| Must be a valid user ID. | ### Return type @@ -203,8 +203,8 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FavoritesApi(api_client) - favorite_group_type = 'favorite_group_type_example' # str | The type of group to fetch, must be a valid FavoriteType. -favorite_group_name = 'favorite_group_name_example' # str | The name of the group to fetch, must be a name of a FavoriteGroup. + favorite_group_type = vrchatapi.FavoriteType() # FavoriteType | The type of group to fetch, must be a valid FavoriteType. +favorite_group_name = 'group_0' # str | The name of the group to fetch, must be a name of a FavoriteGroup. (default to 'group_0') user_id = 'user_id_example' # str | Must be a valid user ID. try: @@ -219,8 +219,8 @@ user_id = 'user_id_example' # str | Must be a valid user ID. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **favorite_group_type** | **str**| The type of group to fetch, must be a valid FavoriteType. | - **favorite_group_name** | **str**| The name of the group to fetch, must be a name of a FavoriteGroup. | + **favorite_group_type** | [**FavoriteType**](.md)| The type of group to fetch, must be a valid FavoriteType. | + **favorite_group_name** | **str**| The name of the group to fetch, must be a name of a FavoriteGroup. | [default to 'group_0'] **user_id** | **str**| Must be a valid user ID. | ### Return type @@ -585,8 +585,8 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FavoritesApi(api_client) - favorite_group_type = 'favorite_group_type_example' # str | The type of group to fetch, must be a valid FavoriteType. -favorite_group_name = 'favorite_group_name_example' # str | The name of the group to fetch, must be a name of a FavoriteGroup. + favorite_group_type = vrchatapi.FavoriteType() # FavoriteType | The type of group to fetch, must be a valid FavoriteType. +favorite_group_name = 'group_0' # str | The name of the group to fetch, must be a name of a FavoriteGroup. (default to 'group_0') user_id = 'user_id_example' # str | Must be a valid user ID. update_favorite_group_request = vrchatapi.UpdateFavoriteGroupRequest() # UpdateFavoriteGroupRequest | (optional) @@ -601,8 +601,8 @@ update_favorite_group_request = vrchatapi.UpdateFavoriteGroupRequest() # UpdateF Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **favorite_group_type** | **str**| The type of group to fetch, must be a valid FavoriteType. | - **favorite_group_name** | **str**| The name of the group to fetch, must be a name of a FavoriteGroup. | + **favorite_group_type** | [**FavoriteType**](.md)| The type of group to fetch, must be a valid FavoriteType. | + **favorite_group_name** | **str**| The name of the group to fetch, must be a name of a FavoriteGroup. | [default to 'group_0'] **user_id** | **str**| Must be a valid user ID. | **update_favorite_group_request** | [**UpdateFavoriteGroupRequest**](UpdateFavoriteGroupRequest.md)| | [optional] diff --git a/docs/FilesApi.md b/docs/FilesApi.md index 0ef2ab90..dca0eace 100644 --- a/docs/FilesApi.md +++ b/docs/FilesApi.md @@ -137,7 +137,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FilesApi(api_client) - file_id = 'file_00000000-0000-0000-0000-000000000000' # str | Must be a valid file ID. + file_id = 'file_id_example' # str | Must be a valid file ID. create_file_version_request = vrchatapi.CreateFileVersionRequest() # CreateFileVersionRequest | (optional) try: @@ -212,7 +212,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FilesApi(api_client) - file_id = 'file_00000000-0000-0000-0000-000000000000' # str | Must be a valid file ID. + file_id = 'file_id_example' # str | Must be a valid file ID. try: # Delete File @@ -286,7 +286,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FilesApi(api_client) - file_id = 'file_00000000-0000-0000-0000-000000000000' # str | Must be a valid file ID. + file_id = 'file_id_example' # str | Must be a valid file ID. version_id = 1 # int | Version ID of the asset. try: @@ -363,7 +363,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FilesApi(api_client) - file_id = 'file_00000000-0000-0000-0000-000000000000' # str | Must be a valid file ID. + file_id = 'file_id_example' # str | Must be a valid file ID. version_id = 1 # int | Version ID of the asset. try: @@ -439,7 +439,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FilesApi(api_client) - file_id = 'file_00000000-0000-0000-0000-000000000000' # str | Must be a valid file ID. + file_id = 'file_id_example' # str | Must be a valid file ID. version_id = 1 # int | Version ID of the asset. file_type = 'file' # str | Type of file. finish_file_data_upload_request = {"etags":["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy"],"maxParts":"0","nextPartNumber":"0"} # FinishFileDataUploadRequest | Please see documentation on ETag's: [https://teppen.io/2018/06/23/aws_s3_etags/](https://teppen.io/2018/06/23/aws_s3_etags/) ETag's should NOT be present when uploading a `signature`. (optional) @@ -669,7 +669,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FilesApi(api_client) - file_id = 'file_00000000-0000-0000-0000-000000000000' # str | Must be a valid file ID. + file_id = 'file_id_example' # str | Must be a valid file ID. try: # Show File @@ -743,7 +743,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FilesApi(api_client) - file_id = 'file_00000000-0000-0000-0000-000000000000' # str | Must be a valid file ID. + file_id = 'file_id_example' # str | Must be a valid file ID. version_id = 1 # int | Version ID of the asset. try: @@ -820,7 +820,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FilesApi(api_client) - file_id = 'file_00000000-0000-0000-0000-000000000000' # str | Must be a valid file ID. + file_id = 'file_id_example' # str | Must be a valid file ID. version_id = 1 # int | Version ID of the asset. try: @@ -897,7 +897,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FilesApi(api_client) - file_id = 'file_00000000-0000-0000-0000-000000000000' # str | Must be a valid file ID. + file_id = 'file_id_example' # str | Must be a valid file ID. version_id = 1 # int | Version ID of the asset. try: @@ -974,7 +974,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FilesApi(api_client) - file_id = 'file_00000000-0000-0000-0000-000000000000' # str | Must be a valid file ID. + file_id = 'file_id_example' # str | Must be a valid file ID. version_id = 1 # int | Version ID of the asset. file_type = 'file' # str | Type of file. @@ -1204,7 +1204,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.FilesApi(api_client) - file_id = 'file_00000000-0000-0000-0000-000000000000' # str | Must be a valid file ID. + file_id = 'file_id_example' # str | Must be a valid file ID. version_id = 1 # int | Version ID of the asset. file_type = 'file' # str | Type of file. part_number = 1 # int | The part number to start uploading. If not provided, the first part will be started. (optional) diff --git a/docs/GroupsApi.md b/docs/GroupsApi.md index 7d5d0631..2176701f 100644 --- a/docs/GroupsApi.md +++ b/docs/GroupsApi.md @@ -94,8 +94,8 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -group_gallery_id = 'ggal_00000000-0000-0000-0000-000000000000' # str | Must be a valid group gallery ID. + group_id = 'group_id_example' # str | Must be a valid group ID. +group_gallery_id = 'group_gallery_id_example' # str | Must be a valid group gallery ID. add_group_gallery_image_request = vrchatapi.AddGroupGalleryImageRequest() # AddGroupGalleryImageRequest | try: @@ -173,9 +173,9 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. user_id = 'user_id_example' # str | Must be a valid user ID. -group_role_id = 'grol_00000000-0000-0000-0000-000000000000' # str | Must be a valid group role ID. +group_role_id = 'group_role_id_example' # str | Must be a valid group role ID. try: # Add Role to GroupMember @@ -252,7 +252,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. create_group_post_request = vrchatapi.CreateGroupPostRequest() # CreateGroupPostRequest | try: @@ -328,7 +328,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. ban_group_member_request = vrchatapi.BanGroupMemberRequest() # BanGroupMemberRequest | try: @@ -406,7 +406,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. try: # Block Group @@ -483,7 +483,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. try: # Cancel Group Join Request @@ -558,7 +558,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. try: # Cancel Group Transfer @@ -708,7 +708,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. create_group_announcement_request = vrchatapi.CreateGroupAnnouncementRequest() # CreateGroupAnnouncementRequest | try: @@ -785,7 +785,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. create_group_gallery_request = vrchatapi.CreateGroupGalleryRequest() # CreateGroupGalleryRequest | try: @@ -862,7 +862,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. create_group_invite_request = vrchatapi.CreateGroupInviteRequest() # CreateGroupInviteRequest | try: @@ -940,7 +940,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. create_group_role_request = vrchatapi.CreateGroupRoleRequest() # CreateGroupRoleRequest | try: @@ -1017,7 +1017,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. decline_group_invite_request = vrchatapi.DeclineGroupInviteRequest() # DeclineGroupInviteRequest | (optional) try: @@ -1095,7 +1095,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. hard_delete = True # bool | (optional) try: @@ -1172,7 +1172,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. try: # Delete Group Announcement @@ -1247,8 +1247,8 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -group_gallery_id = 'ggal_00000000-0000-0000-0000-000000000000' # str | Must be a valid group gallery ID. + group_id = 'group_id_example' # str | Must be a valid group ID. +group_gallery_id = 'group_gallery_id_example' # str | Must be a valid group gallery ID. try: # Delete Group Gallery @@ -1324,9 +1324,9 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -group_gallery_id = 'ggal_00000000-0000-0000-0000-000000000000' # str | Must be a valid group gallery ID. -group_gallery_image_id = 'ggim_00000000-0000-0000-0000-000000000000' # str | Must be a valid group gallery image ID. + group_id = 'group_id_example' # str | Must be a valid group ID. +group_gallery_id = 'group_gallery_id_example' # str | Must be a valid group gallery ID. +group_gallery_image_id = 'group_gallery_image_id_example' # str | Must be a valid group gallery image ID. try: # Delete Group Gallery Image @@ -1404,7 +1404,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. user_id = 'user_id_example' # str | Must be a valid user ID. try: @@ -1480,7 +1480,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. notification_id = 'notification_id_example' # str | Must be a valid notification ID. try: @@ -1557,8 +1557,8 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -group_role_id = 'grol_00000000-0000-0000-0000-000000000000' # str | Must be a valid group role ID. + group_id = 'group_id_example' # str | Must be a valid group ID. +group_role_id = 'group_role_id_example' # str | Must be a valid group role ID. try: # Delete Group Role @@ -1634,7 +1634,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. include_roles = True # bool | Include roles for the Group object. Defaults to false. (optional) try: @@ -1711,7 +1711,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. try: # Get Group Announcement @@ -1786,7 +1786,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. try: # Get Group Audit Log Entry Types @@ -1861,7 +1861,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. n = 60 # int | The number of objects to return. (optional) (default to 60) offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) start_date = '2013-10-20T19:20:30+01:00' # datetime | The start date of the search range. (optional) @@ -1950,7 +1950,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. n = 60 # int | The number of objects to return. (optional) (default to 60) offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) @@ -2030,8 +2030,8 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -group_gallery_id = 'ggal_00000000-0000-0000-0000-000000000000' # str | Must be a valid group gallery ID. + group_id = 'group_id_example' # str | Must be a valid group ID. +group_gallery_id = 'group_gallery_id_example' # str | Must be a valid group gallery ID. n = 60 # int | The number of objects to return. (optional) (default to 60) offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) approved = True # bool | If specified, only returns images that have been approved or not approved. (optional) @@ -2113,7 +2113,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. try: # Get Group Instances @@ -2188,7 +2188,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. n = 60 # int | The number of objects to return. (optional) (default to 60) offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) @@ -2268,7 +2268,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. user_id = 'user_id_example' # str | Must be a valid user ID. try: @@ -2346,7 +2346,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. n = 60 # int | The number of objects to return. (optional) (default to 60) offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) sort = vrchatapi.GroupSearchSort() # GroupSearchSort | The sort order of Group Member results (optional) @@ -2430,7 +2430,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. try: # List Group Permissions @@ -2506,7 +2506,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. n = 60 # int | The number of objects to return. (optional) (default to 60) offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) public_only = True # bool | See public posts only. (optional) @@ -2586,7 +2586,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. n = 60 # int | The number of objects to return. (optional) (default to 60) offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) blocked = True # bool | See blocked join requests (optional) @@ -2738,7 +2738,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. try: # Get Group Roles @@ -2813,7 +2813,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. transfer_target_id = 'transfer_target_id_example' # str | The UserID of the prospective transferee. (optional) try: @@ -2891,7 +2891,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. transfer_group_request = vrchatapi.TransferGroupRequest() # TransferGroupRequest | (optional) try: @@ -2969,7 +2969,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. confirm_override_block = True # bool | Manually override the failure that would occur if the user has blocked the group. (optional) join_group_request = vrchatapi.JoinGroupRequest() # JoinGroupRequest | (optional) @@ -3049,7 +3049,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. user_id = 'user_id_example' # str | Must be a valid user ID. try: @@ -3127,7 +3127,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. try: # Leave Group @@ -3201,9 +3201,9 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. user_id = 'user_id_example' # str | Must be a valid user ID. -group_role_id = 'grol_00000000-0000-0000-0000-000000000000' # str | Must be a valid group role ID. +group_role_id = 'group_role_id_example' # str | Must be a valid group role ID. try: # Remove Role from GroupMember @@ -3280,7 +3280,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. user_id = 'user_id_example' # str | Must be a valid user ID. respond_group_join_request = vrchatapi.RespondGroupJoinRequest() # RespondGroupJoinRequest | @@ -3358,7 +3358,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. query = 'query_example' # str | Filter for member displayName. n = 60 # int | The number of objects to return. (optional) (default to 60) offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) @@ -3507,7 +3507,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. user_id = 'user_id_example' # str | Must be a valid user ID. try: @@ -3584,7 +3584,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. update_group_request = vrchatapi.UpdateGroupRequest() # UpdateGroupRequest | (optional) try: @@ -3661,8 +3661,8 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -group_gallery_id = 'ggal_00000000-0000-0000-0000-000000000000' # str | Must be a valid group gallery ID. + group_id = 'group_id_example' # str | Must be a valid group ID. +group_gallery_id = 'group_gallery_id_example' # str | Must be a valid group gallery ID. update_group_gallery_request = vrchatapi.UpdateGroupGalleryRequest() # UpdateGroupGalleryRequest | (optional) try: @@ -3740,7 +3740,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. user_id = 'user_id_example' # str | Must be a valid user ID. update_group_member_request = vrchatapi.UpdateGroupMemberRequest() # UpdateGroupMemberRequest | (optional) @@ -3819,7 +3819,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. notification_id = 'notification_id_example' # str | Must be a valid notification ID. create_group_post_request = vrchatapi.CreateGroupPostRequest() # CreateGroupPostRequest | @@ -3898,7 +3898,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. + group_id = 'group_id_example' # str | Must be a valid group ID. update_group_representation_request = vrchatapi.UpdateGroupRepresentationRequest() # UpdateGroupRepresentationRequest | try: @@ -3975,8 +3975,8 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.GroupsApi(api_client) - group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. -group_role_id = 'grol_00000000-0000-0000-0000-000000000000' # str | Must be a valid group role ID. + group_id = 'group_id_example' # str | Must be a valid group ID. +group_role_id = 'group_role_id_example' # str | Must be a valid group role ID. update_group_role_request = vrchatapi.UpdateGroupRoleRequest() # UpdateGroupRoleRequest | (optional) try: diff --git a/docs/InventoryApi.md b/docs/InventoryApi.md index aea414c3..9b5ab01e 100644 --- a/docs/InventoryApi.md +++ b/docs/InventoryApi.md @@ -13,6 +13,7 @@ Method | HTTP request | Description [**get_inventory_template**](InventoryApi.md#get_inventory_template) | **GET** /inventory/template/{inventoryTemplateId} | Get Inventory Template [**get_own_inventory_item**](InventoryApi.md#get_own_inventory_item) | **GET** /inventory/{inventoryItemId} | Get Own Inventory Item [**get_user_inventory_item**](InventoryApi.md#get_user_inventory_item) | **GET** /user/{userId}/inventory/{inventoryItemId} | Get User Inventory Item +[**redeem_reward**](InventoryApi.md#redeem_reward) | **POST** /reward/redeem | Redeem Reward [**share_inventory_item_direct**](InventoryApi.md#share_inventory_item_direct) | **POST** /inventory/cloning/direct | Share Inventory Item Direct [**share_inventory_item_pedestal**](InventoryApi.md#share_inventory_item_pedestal) | **GET** /inventory/cloning/pedestal | Share Inventory Item by Pedestal [**spawn_inventory_item**](InventoryApi.md#spawn_inventory_item) | **GET** /inventory/spawn | Spawn Inventory Item @@ -57,7 +58,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.InventoryApi(api_client) - inventory_item_id = 'inv_00000000-0000-0000-0000-000000000000' # str | Must be a valid inventory item ID. + inventory_item_id = 'inventory_item_id_example' # str | Must be a valid inventory item ID. try: # Consume Own Inventory Item @@ -132,7 +133,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.InventoryApi(api_client) - inventory_item_id = 'inv_00000000-0000-0000-0000-000000000000' # str | Must be a valid inventory item ID. + inventory_item_id = 'inventory_item_id_example' # str | Must be a valid inventory item ID. try: # Delete Own Inventory Item @@ -206,7 +207,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.InventoryApi(api_client) - inventory_item_id = 'inv_00000000-0000-0000-0000-000000000000' # str | Must be a valid inventory item ID. + inventory_item_id = 'inventory_item_id_example' # str | Must be a valid inventory item ID. equip_inventory_item_request = vrchatapi.EquipInventoryItemRequest() # EquipInventoryItemRequest | (optional) try: @@ -522,7 +523,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.InventoryApi(api_client) - inventory_template_id = 'invt_00000000-0000-0000-0000-000000000000' # str | Must be a valid inventory template ID. + inventory_template_id = 'inventory_template_id_example' # str | Must be a valid inventory template ID. try: # Get Inventory Template @@ -596,7 +597,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.InventoryApi(api_client) - inventory_item_id = 'inv_00000000-0000-0000-0000-000000000000' # str | Must be a valid inventory item ID. + inventory_item_id = 'inventory_item_id_example' # str | Must be a valid inventory item ID. try: # Get Own Inventory Item @@ -671,7 +672,7 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.InventoryApi(api_client) user_id = 'user_id_example' # str | Must be a valid user ID. -inventory_item_id = 'inv_00000000-0000-0000-0000-000000000000' # str | Must be a valid inventory item ID. +inventory_item_id = 'inventory_item_id_example' # str | Must be a valid inventory item ID. try: # Get User Inventory Item @@ -709,6 +710,80 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **redeem_reward** +> list[RewardRedemptionResult] redeem_reward(reward_redemption_request) + +Redeem Reward + +Redeem a reward for the currently logged in user. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.InventoryApi(api_client) + reward_redemption_request = vrchatapi.RewardRedemptionRequest() # RewardRedemptionRequest | + + try: + # Redeem Reward + api_response = api_instance.redeem_reward(reward_redemption_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling InventoryApi->redeem_reward: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **reward_redemption_request** | [**RewardRedemptionRequest**](RewardRedemptionRequest.md)| | + +### Return type + +[**list[RewardRedemptionResult]**](RewardRedemptionResult.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single RewardRedemptionResult object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **share_inventory_item_direct** > OkStatus share_inventory_item_direct(item_id, duration, share_inventory_item_direct_request) @@ -1048,7 +1123,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.InventoryApi(api_client) - inventory_item_id = 'inv_00000000-0000-0000-0000-000000000000' # str | Must be a valid inventory item ID. + inventory_item_id = 'inventory_item_id_example' # str | Must be a valid inventory item ID. update_inventory_item_request = vrchatapi.UpdateInventoryItemRequest() # UpdateInventoryItemRequest | (optional) try: diff --git a/docs/Submission.md b/docs/JamSubmission.md similarity index 97% rename from docs/Submission.md rename to docs/JamSubmission.md index 59d3fef4..278f093a 100644 --- a/docs/Submission.md +++ b/docs/JamSubmission.md @@ -1,4 +1,4 @@ -# Submission +# JamSubmission diff --git a/docs/JamsApi.md b/docs/JamsApi.md index 0ea809d7..3aa1534a 100644 --- a/docs/JamsApi.md +++ b/docs/JamsApi.md @@ -4,11 +4,91 @@ All URIs are relative to *https://api.vrchat.cloud/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- +[**delete_jam_submission**](JamsApi.md#delete_jam_submission) | **DELETE** /jams/{jamId}/submissions/{jamSubmissionId} | Delete Jam Submission [**get_jam**](JamsApi.md#get_jam) | **GET** /jams/{jamId} | Show jam information [**get_jam_submissions**](JamsApi.md#get_jam_submissions) | **GET** /jams/{jamId}/submissions | Show jam submissions [**get_jams**](JamsApi.md#get_jams) | **GET** /jams | Show jams list +[**submit_jam_content**](JamsApi.md#submit_jam_content) | **POST** /jams/{jamId}/submissions | Submit Jam Content +# **delete_jam_submission** +> Success delete_jam_submission(jam_id, jam_submission_id) + +Delete Jam Submission + +Withdraws a content submission from a jam. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.JamsApi(api_client) + jam_id = 'jam_id_example' # str | Must be a valid jam ID. +jam_submission_id = 'jam_submission_id_example' # str | Must be a valid jam submission ID. + + try: + # Delete Jam Submission + api_response = api_instance.delete_jam_submission(jam_id, jam_submission_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling JamsApi->delete_jam_submission: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **jam_id** | **str**| Must be a valid jam ID. | + **jam_submission_id** | **str**| Must be a valid jam submission ID. | + +### Return type + +[**Success**](Success.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns an Success object. | - | +**401** | Error response due to missing auth cookie. | - | +**403** | Error response due to missing permissions. | - | +**404** | Error response when trying to show information about a non-existent jam. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_jam** > Jam get_jam(jam_id) @@ -46,7 +126,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.JamsApi(api_client) - jam_id = 'jam_0b7e3f6d-4647-4648-b2a1-1431e76906d9' # str | Must be a valid query ID. + jam_id = 'jam_id_example' # str | Must be a valid jam ID. try: # Show jam information @@ -60,7 +140,7 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **jam_id** | **str**| Must be a valid query ID. | + **jam_id** | **str**| Must be a valid jam ID. | ### Return type @@ -84,11 +164,11 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_jam_submissions** -> list[Submission] get_jam_submissions(jam_id) +> list[JamSubmission] get_jam_submissions(jam_id, content_id=content_id, submitter_id=submitter_id) Show jam submissions -Returns all submissions of a jam. +Returns all submissions of a jam. Can filter by contentId (for world or avatar jams) or submitterId (for a participant). ### Example @@ -120,11 +200,13 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.JamsApi(api_client) - jam_id = 'jam_0b7e3f6d-4647-4648-b2a1-1431e76906d9' # str | Must be a valid query ID. + jam_id = 'jam_id_example' # str | Must be a valid jam ID. +content_id = 'content_id_example' # str | Filter for particular content submitted, e.g., a groupId, userId, avatarId, etc. (optional) +submitter_id = 'submitter_id_example' # str | Must be a valid user ID. (optional) try: # Show jam submissions - api_response = api_instance.get_jam_submissions(jam_id) + api_response = api_instance.get_jam_submissions(jam_id, content_id=content_id, submitter_id=submitter_id) pprint(api_response) except ApiException as e: print("Exception when calling JamsApi->get_jam_submissions: %s\n" % e) @@ -134,11 +216,13 @@ with vrchatapi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **jam_id** | **str**| Must be a valid query ID. | + **jam_id** | **str**| Must be a valid jam ID. | + **content_id** | **str**| Filter for particular content submitted, e.g., a groupId, userId, avatarId, etc. | [optional] + **submitter_id** | **str**| Must be a valid user ID. | [optional] ### Return type -[**list[Submission]**](Submission.md) +[**list[JamSubmission]**](JamSubmission.md) ### Authorization @@ -152,7 +236,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a list of Submission objects. | - | +**200** | Returns a list of JamSubmission objects. | - | **404** | Error response when trying to show information about a non-existent jam. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -230,3 +314,80 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **submit_jam_content** +> JamSubmission submit_jam_content(jam_id, create_jam_submission_request=create_jam_submission_request) + +Submit Jam Content + +Submits content to a jam. The content must have been uploaded by the submitter, and both the content upload and jam submission must be made within the jam's designated times. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.JamsApi(api_client) + jam_id = 'jam_id_example' # str | Must be a valid jam ID. +create_jam_submission_request = vrchatapi.CreateJamSubmissionRequest() # CreateJamSubmissionRequest | (optional) + + try: + # Submit Jam Content + api_response = api_instance.submit_jam_content(jam_id, create_jam_submission_request=create_jam_submission_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling JamsApi->submit_jam_content: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **jam_id** | **str**| Must be a valid jam ID. | + **create_jam_submission_request** | [**CreateJamSubmissionRequest**](CreateJamSubmissionRequest.md)| | [optional] + +### Return type + +[**JamSubmission**](JamSubmission.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single JamSubmission object. | - | +**401** | Error response due to missing auth cookie. | - | +**404** | Error response when trying to show information about a non-existent jam. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/PrintsApi.md b/docs/PrintsApi.md index ed827dec..d1017fa6 100644 --- a/docs/PrintsApi.md +++ b/docs/PrintsApi.md @@ -48,7 +48,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.PrintsApi(api_client) - print_id = 'prnt_0a0aa0a0-85ea-42eb-b2f7-4840d7f341fa' # str | Print ID. + print_id = 'print_id_example' # str | Print ID. try: # Delete Print @@ -121,7 +121,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.PrintsApi(api_client) - print_id = 'prnt_0a0aa0a0-85ea-42eb-b2f7-4840d7f341fa' # str | Print ID. + print_id = 'print_id_example' # str | Print ID. image = '/path/to/file' # file | The binary blob of the png file. note = 'note_example' # str | The caption for the image. (optional) @@ -199,7 +199,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.PrintsApi(api_client) - print_id = 'prnt_0a0aa0a0-85ea-42eb-b2f7-4840d7f341fa' # str | Print ID. + print_id = 'print_id_example' # str | Print ID. try: # Get Print diff --git a/docs/ProductPurchaseHistory.md b/docs/ProductPurchaseHistory.md new file mode 100644 index 00000000..5a94af22 --- /dev/null +++ b/docs/ProductPurchaseHistory.md @@ -0,0 +1,13 @@ +# ProductPurchaseHistory + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**end_date** | **datetime** | | +**start_date** | **datetime** | | +**transactions** | [**list[ProductPurchaseRecord]**](ProductPurchaseRecord.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ProductPurchaseLocationType.md b/docs/ProductPurchaseLocationType.md new file mode 100644 index 00000000..1adab18f --- /dev/null +++ b/docs/ProductPurchaseLocationType.md @@ -0,0 +1,10 @@ +# ProductPurchaseLocationType + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ProductPurchaseRecord.md b/docs/ProductPurchaseRecord.md new file mode 100644 index 00000000..d85ad380 --- /dev/null +++ b/docs/ProductPurchaseRecord.md @@ -0,0 +1,22 @@ +# ProductPurchaseRecord + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**amount** | **int** | | +**balance** | **int** | | +**date** | **datetime** | | +**from_user_display_name** | **str** | | +**listing_display_name** | **str** | | +**listing_type** | [**ProductListingType**](ProductListingType.md) | | +**platform** | **str** | Where (first- or third-party) the purchase was made | +**purchase_id** | **str** | | +**reason** | **int** | | +**reason_label** | **str** | | +**transaction_id** | **int** | | +**transaction_line_id** | **int** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/PropsApi.md b/docs/PropsApi.md index 1997f300..86953768 100644 --- a/docs/PropsApi.md +++ b/docs/PropsApi.md @@ -126,7 +126,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.PropsApi(api_client) - prop_id = 'prop_829ba6f6-b837-49d9-b9a9-056b82103b58' # str | Prop ID. + prop_id = 'prop_id_example' # str | Prop ID. try: # Delete Prop @@ -201,7 +201,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.PropsApi(api_client) - prop_id = 'prop_829ba6f6-b837-49d9-b9a9-056b82103b58' # str | Prop ID. + prop_id = 'prop_id_example' # str | Prop ID. try: # Get Prop @@ -276,7 +276,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.PropsApi(api_client) - prop_id = 'prop_829ba6f6-b837-49d9-b9a9-056b82103b58' # str | Prop ID. + prop_id = 'prop_id_example' # str | Prop ID. try: # Get Prop Publish Status @@ -431,7 +431,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.PropsApi(api_client) - prop_id = 'prop_829ba6f6-b837-49d9-b9a9-056b82103b58' # str | Prop ID. + prop_id = 'prop_id_example' # str | Prop ID. try: # Publish Prop @@ -507,7 +507,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.PropsApi(api_client) - prop_id = 'prop_829ba6f6-b837-49d9-b9a9-056b82103b58' # str | Prop ID. + prop_id = 'prop_id_example' # str | Prop ID. try: # Unpublish Prop @@ -583,7 +583,7 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.PropsApi(api_client) - prop_id = 'prop_829ba6f6-b837-49d9-b9a9-056b82103b58' # str | Prop ID. + prop_id = 'prop_id_example' # str | Prop ID. update_prop_request = vrchatapi.UpdatePropRequest() # UpdatePropRequest | try: diff --git a/docs/PurchaseContextData.md b/docs/PurchaseContextData.md new file mode 100644 index 00000000..18741cc8 --- /dev/null +++ b/docs/PurchaseContextData.md @@ -0,0 +1,13 @@ +# PurchaseContextData + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**location_type** | [**ProductPurchaseLocationType**](ProductPurchaseLocationType.md) | | +**store_id** | **str** | | [optional] +**world_id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/PurchaseProductListingRequest.md b/docs/PurchaseProductListingRequest.md index a3e744a9..49c45b8a 100644 --- a/docs/PurchaseProductListingRequest.md +++ b/docs/PurchaseProductListingRequest.md @@ -4,8 +4,12 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**context_data** | [**PurchaseContextData**](PurchaseContextData.md) | | [optional] **listing_id** | **str** | | +**listing_variant_id** | **str** | | [optional] **quantity** | **int** | | [default to 1] +**receiver_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] +**stackable** | **bool** | | [optional] **total_price** | **int** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/RewardBadge.md b/docs/RewardBadge.md new file mode 100644 index 00000000..442c5027 --- /dev/null +++ b/docs/RewardBadge.md @@ -0,0 +1,22 @@ +# RewardBadge + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**created_at** | **datetime** | | +**created_by** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**description** | **str** | | +**file_name** | **str** | | +**hidden** | **bool** | | +**id** | **str** | | +**image_url** | **str** | | +**is_localization_enabled** | **bool** | | +**machine_name** | **str** | | [optional] +**name** | **str** | | +**type** | **str** | | +**updated_at** | **datetime** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/RewardRedemption.md b/docs/RewardRedemption.md new file mode 100644 index 00000000..0ef818af --- /dev/null +++ b/docs/RewardRedemption.md @@ -0,0 +1,12 @@ +# RewardRedemption + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**RewardRedemptionData**](RewardRedemptionData.md) | | +**type** | **str** | One of `badge`, `item`, ... | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/RewardRedemptionData.md b/docs/RewardRedemptionData.md new file mode 100644 index 00000000..e9777913 --- /dev/null +++ b/docs/RewardRedemptionData.md @@ -0,0 +1,12 @@ +# RewardRedemptionData + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**badge** | [**RewardBadge**](RewardBadge.md) | | [optional] +**item** | [**InventoryTemplate**](InventoryTemplate.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/RewardRedemptionRequest.md b/docs/RewardRedemptionRequest.md new file mode 100644 index 00000000..3f051859 --- /dev/null +++ b/docs/RewardRedemptionRequest.md @@ -0,0 +1,11 @@ +# RewardRedemptionRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**code** | **str** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/RewardRedemptionResult.md b/docs/RewardRedemptionResult.md new file mode 100644 index 00000000..e5910a90 --- /dev/null +++ b/docs/RewardRedemptionResult.md @@ -0,0 +1,12 @@ +# RewardRedemptionResult + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**redeemed_rewards** | [**list[RewardRedemption]**](RewardRedemption.md) | | +**redemption_code** | **str** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SellerEligibility.md b/docs/SellerEligibility.md new file mode 100644 index 00000000..e08ca06e --- /dev/null +++ b/docs/SellerEligibility.md @@ -0,0 +1,11 @@ +# SellerEligibility + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**eligible** | **bool** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/TutorialStatus.md b/docs/TutorialStatus.md new file mode 100644 index 00000000..5ceb2bbe --- /dev/null +++ b/docs/TutorialStatus.md @@ -0,0 +1,14 @@ +# TutorialStatus + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**completed** | **bool** | | +**completed_any_tutorial** | **bool** | | +**completed_tutorials** | **list[str]** | | +**tutorial_key** | **str** | The ID of a tutorial, in the format `{platform}:{tutorial}:{version}`. `undefined:undefined:v1` is used as a null-ish or sentinel value. | [default to 'undefined:undefined:v1'] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/UsersApi.md b/docs/UsersApi.md index 8e1b6b05..a6cfe408 100644 --- a/docs/UsersApi.md +++ b/docs/UsersApi.md @@ -24,6 +24,7 @@ Method | HTTP request | Description [**get_user_note**](UsersApi.md#get_user_note) | **GET** /userNotes/{userNoteId} | Get User Note [**get_user_notes**](UsersApi.md#get_user_notes) | **GET** /userNotes | Get User Notes [**get_user_represented_group**](UsersApi.md#get_user_represented_group) | **GET** /users/{userId}/groups/represented | Get user's current represented group +[**get_user_tutorial_status**](UsersApi.md#get_user_tutorial_status) | **GET** /users/{userId}/tutorial | Get User Tutorial Status [**remove_tags**](UsersApi.md#remove_tags) | **POST** /users/{userId}/removeTags | Remove User Tags [**search_users**](UsersApi.md#search_users) | **GET** /users | Search All Users [**update_badge**](UsersApi.md#update_badge) | **PUT** /users/{userId}/badges/{badgeId} | Update User Badge @@ -973,7 +974,7 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.UsersApi(api_client) user_id = 'user_id_example' # str | Must be a valid user ID. -content_id = True # bool | Filter for users' previously submitted feedback, e.g., a groupId, userId, avatarId, etc. (optional) +content_id = 'content_id_example' # str | Filter for particular content submitted, e.g., a groupId, userId, avatarId, etc. (optional) n = 60 # int | The number of objects to return. (optional) (default to 60) offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) @@ -990,7 +991,7 @@ offset = 56 # int | A zero-based offset from the default object sorting from whe Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **user_id** | **str**| Must be a valid user ID. | - **content_id** | **bool**| Filter for users' previously submitted feedback, e.g., a groupId, userId, avatarId, etc. | [optional] + **content_id** | **str**| Filter for particular content submitted, e.g., a groupId, userId, avatarId, etc. | [optional] **n** | **int**| The number of objects to return. | [optional] [default to 60] **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] @@ -1128,7 +1129,7 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.UsersApi(api_client) user_id = 'user_id_example' # str | Must be a valid user ID. -group_id = 'grp_00000000-0000-0000-0000-000000000000' # str | Must be a valid group ID. +group_id = 'group_id_example' # str | Must be a valid group ID. try: # Get User Group Instances for a specific Group @@ -1539,6 +1540,80 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_user_tutorial_status** +> TutorialStatus get_user_tutorial_status(user_id) + +Get User Tutorial Status + +Gets the status of completed or outstanding tutorials for the specified user. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.UsersApi(api_client) + user_id = 'user_id_example' # str | Must be a valid user ID. + + try: + # Get User Tutorial Status + api_response = api_instance.get_user_tutorial_status(user_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling UsersApi->get_user_tutorial_status: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | + +### Return type + +[**TutorialStatus**](TutorialStatus.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single TutorialStatus object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **remove_tags** > CurrentUser remove_tags(user_id, change_user_tags_request) diff --git a/docs/WorldsApi.md b/docs/WorldsApi.md index a3b79030..b15dbbc7 100644 --- a/docs/WorldsApi.md +++ b/docs/WorldsApi.md @@ -4,11 +4,13 @@ All URIs are relative to *https://api.vrchat.cloud/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- +[**add_world_tags**](WorldsApi.md#add_world_tags) | **POST** /worlds/{worldId}/addTags | Add World Tags [**check_user_persistence_exists**](WorldsApi.md#check_user_persistence_exists) | **GET** /users/{userId}/{worldId}/persist/exists | Check User Persistence Exists [**create_world**](WorldsApi.md#create_world) | **POST** /worlds | Create World [**delete_all_user_persistence_data**](WorldsApi.md#delete_all_user_persistence_data) | **DELETE** /users/{userId}/persist | Delete All User Persistence Data [**delete_user_persistence**](WorldsApi.md#delete_user_persistence) | **DELETE** /users/{userId}/{worldId}/persist | Delete User Persistence [**delete_world**](WorldsApi.md#delete_world) | **DELETE** /worlds/{worldId} | Delete World +[**delete_world_platform**](WorldsApi.md#delete_world_platform) | **DELETE** /worlds/{worldId}/platform/{publishedPlatform} | Delete World Platform [**get_active_worlds**](WorldsApi.md#get_active_worlds) | **GET** /worlds/active | List Active Worlds [**get_favorited_worlds**](WorldsApi.md#get_favorited_worlds) | **GET** /worlds/favorites | List Favorited Worlds [**get_recent_worlds**](WorldsApi.md#get_recent_worlds) | **GET** /worlds/recent | List Recent Worlds @@ -17,11 +19,89 @@ Method | HTTP request | Description [**get_world_metadata**](WorldsApi.md#get_world_metadata) | **GET** /worlds/{worldId}/metadata | Get World Metadata [**get_world_publish_status**](WorldsApi.md#get_world_publish_status) | **GET** /worlds/{worldId}/publish | Get World Publish Status [**publish_world**](WorldsApi.md#publish_world) | **PUT** /worlds/{worldId}/publish | Publish World +[**remove_world_tags**](WorldsApi.md#remove_world_tags) | **POST** /worlds/{worldId}/removeTags | Remove World Tags [**search_worlds**](WorldsApi.md#search_worlds) | **GET** /worlds | Search All Worlds [**unpublish_world**](WorldsApi.md#unpublish_world) | **DELETE** /worlds/{worldId}/publish | Unpublish World [**update_world**](WorldsApi.md#update_world) | **PUT** /worlds/{worldId} | Update World +# **add_world_tags** +> World add_world_tags(world_id, change_world_tags_request) + +Add World Tags + +Adds tags to the world's profile + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.WorldsApi(api_client) + world_id = 'world_id_example' # str | Must be a valid world ID. +change_world_tags_request = vrchatapi.ChangeWorldTagsRequest() # ChangeWorldTagsRequest | + + try: + # Add World Tags + api_response = api_instance.add_world_tags(world_id, change_world_tags_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling WorldsApi->add_world_tags: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **world_id** | **str**| Must be a valid world ID. | + **change_world_tags_request** | [**ChangeWorldTagsRequest**](ChangeWorldTagsRequest.md)| | + +### Return type + +[**World**](World.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single World object. | - | +**400** | Error response when a world owner attempts to add an invalid, restricted, or duplicate tag to a world's profile, attempts to add tags above the limit for its profile, or attempts to remove invalid, restricted, or absent tag from its profile. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **check_user_persistence_exists** > check_user_persistence_exists(user_id, world_id) @@ -385,6 +465,82 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **delete_world_platform** +> delete_world_platform(world_id, published_platform) + +Delete World Platform + +Deletes a world platform. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.WorldsApi(api_client) + world_id = 'world_id_example' # str | Must be a valid world ID. +published_platform = 'published_platform_example' # str | A platform the world supports. + + try: + # Delete World Platform + api_instance.delete_world_platform(world_id, published_platform) + except ApiException as e: + print("Exception when calling WorldsApi->delete_world_platform: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **world_id** | **str**| Must be a valid world ID. | + **published_platform** | **str**| A platform the world supports. | + +### Return type + +void (empty response body) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Error response due to missing auth cookie. | - | +**404** | Error response when trying to show information about a non-existent world. Sometimes returns with `model <worldId> not found` instead of `World <worldId not found`. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_active_worlds** > list[LimitedWorld] get_active_worlds(featured=featured, sort=sort, n=n, order=order, offset=offset, search=search, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform, noplatform=noplatform) @@ -1032,6 +1188,83 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **remove_world_tags** +> World remove_world_tags(world_id, change_world_tags_request) + +Remove World Tags + +Removes tags from the world's profile + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.WorldsApi(api_client) + world_id = 'world_id_example' # str | Must be a valid world ID. +change_world_tags_request = vrchatapi.ChangeWorldTagsRequest() # ChangeWorldTagsRequest | + + try: + # Remove World Tags + api_response = api_instance.remove_world_tags(world_id, change_world_tags_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling WorldsApi->remove_world_tags: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **world_id** | **str**| Must be a valid world ID. | + **change_world_tags_request** | [**ChangeWorldTagsRequest**](ChangeWorldTagsRequest.md)| | + +### Return type + +[**World**](World.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single World object. | - | +**400** | Error response when a world owner attempts to add an invalid, restricted, or duplicate tag to a world's profile, attempts to add tags above the limit for its profile, or attempts to remove invalid, restricted, or absent tag from its profile. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **search_worlds** > list[LimitedWorld] search_worlds(featured=featured, sort=sort, user=user, user_id=user_id, n=n, order=order, offset=offset, search=search, tag=tag, notag=notag, release_status=release_status, max_unity_version=max_unity_version, min_unity_version=min_unity_version, platform=platform, noplatform=noplatform, fuzzy=fuzzy, avatar_specific=avatar_specific) diff --git a/setup.py b/setup.py index 2f614664..b82a2961 100644 --- a/setup.py +++ b/setup.py @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.20.8.dev10" +VERSION = "1.20.8.dev11" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index eff5ef5a..dcf4d805 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -98,6 +98,7 @@ from vrchatapi.models.calendar_event_platform import CalendarEventPlatform from vrchatapi.models.calendar_event_user_interest import CalendarEventUserInterest from vrchatapi.models.change_user_tags_request import ChangeUserTagsRequest +from vrchatapi.models.change_world_tags_request import ChangeWorldTagsRequest from vrchatapi.models.content_filter import ContentFilter from vrchatapi.models.create_avatar_moderation_request import CreateAvatarModerationRequest from vrchatapi.models.create_avatar_request import CreateAvatarRequest @@ -111,6 +112,7 @@ from vrchatapi.models.create_group_request import CreateGroupRequest from vrchatapi.models.create_group_role_request import CreateGroupRoleRequest from vrchatapi.models.create_instance_request import CreateInstanceRequest +from vrchatapi.models.create_jam_submission_request import CreateJamSubmissionRequest from vrchatapi.models.create_prop_request import CreatePropRequest from vrchatapi.models.create_world_request import CreateWorldRequest from vrchatapi.models.current_user import CurrentUser @@ -121,6 +123,8 @@ from vrchatapi.models.disable2_fa_result import Disable2FAResult from vrchatapi.models.discord_details import DiscordDetails from vrchatapi.models.dynamic_content_row import DynamicContentRow +from vrchatapi.models.earnings_metrics import EarningsMetrics +from vrchatapi.models.earnings_metrics_totals import EarningsMetricsTotals from vrchatapi.models.economy_account import EconomyAccount from vrchatapi.models.equip_inventory_item_request import EquipInventoryItemRequest from vrchatapi.models.error import Error @@ -207,6 +211,7 @@ from vrchatapi.models.invite_response import InviteResponse from vrchatapi.models.jam import Jam from vrchatapi.models.jam_state_change_dates import JamStateChangeDates +from vrchatapi.models.jam_submission import JamSubmission from vrchatapi.models.join_group_request import JoinGroupRequest from vrchatapi.models.license import License from vrchatapi.models.license_action import LicenseAction @@ -258,11 +263,15 @@ from vrchatapi.models.product_listing_type import ProductListingType from vrchatapi.models.product_listing_variant import ProductListingVariant from vrchatapi.models.product_purchase import ProductPurchase +from vrchatapi.models.product_purchase_history import ProductPurchaseHistory +from vrchatapi.models.product_purchase_location_type import ProductPurchaseLocationType from vrchatapi.models.product_purchase_purchase_context import ProductPurchasePurchaseContext +from vrchatapi.models.product_purchase_record import ProductPurchaseRecord from vrchatapi.models.product_type import ProductType from vrchatapi.models.prop import Prop from vrchatapi.models.prop_publish_status import PropPublishStatus from vrchatapi.models.prop_unity_package import PropUnityPackage +from vrchatapi.models.purchase_context_data import PurchaseContextData from vrchatapi.models.purchase_product_listing_request import PurchaseProductListingRequest from vrchatapi.models.region import Region from vrchatapi.models.register_user_account_request import RegisterUserAccountRequest @@ -274,7 +283,13 @@ from vrchatapi.models.respond_group_join_request import RespondGroupJoinRequest from vrchatapi.models.respond_notification_v2_request import RespondNotificationV2Request from vrchatapi.models.response import Response +from vrchatapi.models.reward_badge import RewardBadge +from vrchatapi.models.reward_redemption import RewardRedemption +from vrchatapi.models.reward_redemption_data import RewardRedemptionData +from vrchatapi.models.reward_redemption_request import RewardRedemptionRequest +from vrchatapi.models.reward_redemption_result import RewardRedemptionResult from vrchatapi.models.search_group_members200_response import SearchGroupMembers200Response +from vrchatapi.models.seller_eligibility import SellerEligibility from vrchatapi.models.sent_notification import SentNotification from vrchatapi.models.service_queue_stats import ServiceQueueStats from vrchatapi.models.service_status import ServiceStatus @@ -285,7 +300,6 @@ from vrchatapi.models.store_shelf import StoreShelf from vrchatapi.models.store_type import StoreType from vrchatapi.models.store_view import StoreView -from vrchatapi.models.submission import Submission from vrchatapi.models.submit_moderation_report_request import SubmitModerationReportRequest from vrchatapi.models.submit_moderation_report_request_details import SubmitModerationReportRequestDetails from vrchatapi.models.subscription import Subscription @@ -301,6 +315,7 @@ from vrchatapi.models.transaction_steam_info import TransactionSteamInfo from vrchatapi.models.transaction_steam_wallet_info import TransactionSteamWalletInfo from vrchatapi.models.transfer_group_request import TransferGroupRequest +from vrchatapi.models.tutorial_status import TutorialStatus from vrchatapi.models.two_factor_auth_code import TwoFactorAuthCode from vrchatapi.models.two_factor_email_code import TwoFactorEmailCode from vrchatapi.models.two_factor_recovery_codes import TwoFactorRecoveryCodes diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index 5b737a96..e8d4bc1c 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -703,6 +703,134 @@ def get_current_subscriptions_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def get_earnings_metrics(self, **kwargs): # noqa: E501 + """Get Earnings Metrics # noqa: E501 + + Gets earnings totals and breakdown metrics for the currently authenticated user. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_earnings_metrics(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: EarningsMetrics + """ + kwargs['_return_http_data_only'] = True + return self.get_earnings_metrics_with_http_info(**kwargs) # noqa: E501 + + def get_earnings_metrics_with_http_info(self, **kwargs): # noqa: E501 + """Get Earnings Metrics # noqa: E501 + + Gets earnings totals and breakdown metrics for the currently authenticated user. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_earnings_metrics_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(EarningsMetrics, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_earnings_metrics" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "EarningsMetrics", + 401: "Error", + } + + return self.api_client.call_api( + '/economy/metrics/earnings', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def get_economy_account(self, user_id, **kwargs): # noqa: E501 """Get Economy Account # noqa: E501 @@ -1441,28 +1569,18 @@ def get_product_listings_with_http_info(self, user_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_product_purchases(self, buyer_id, **kwargs): # noqa: E501 - """Get Product Purchases # noqa: E501 + def get_product_purchase(self, product_purchase_id, **kwargs): # noqa: E501 + """Get Product Purchase # noqa: E501 - Gets product purchases # noqa: E501 + Gets a single product purchase # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_product_purchases(buyer_id, async_req=True) + >>> thread = api.get_product_purchase(product_purchase_id, async_req=True) >>> result = thread.get() - :param buyer_id: Must be a valid user ID. (required) - :type buyer_id: str - :param n: The number of objects to return. - :type n: int - :param offset: A zero-based offset from the default object sorting from where search results start. - :type offset: int - :param most_recent: - :type most_recent: bool - :param sort: The sort order of the results. - :type sort: SortOptionProductPurchase - :param order: Result ordering - :type order: OrderOptionShort + :param product_purchase_id: Must be a valid purchase ID. (required) + :type product_purchase_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -1476,33 +1594,23 @@ def get_product_purchases(self, buyer_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[ProductPurchase] + :rtype: ProductPurchase """ kwargs['_return_http_data_only'] = True - return self.get_product_purchases_with_http_info(buyer_id, **kwargs) # noqa: E501 + return self.get_product_purchase_with_http_info(product_purchase_id, **kwargs) # noqa: E501 - def get_product_purchases_with_http_info(self, buyer_id, **kwargs): # noqa: E501 - """Get Product Purchases # noqa: E501 + def get_product_purchase_with_http_info(self, product_purchase_id, **kwargs): # noqa: E501 + """Get Product Purchase # noqa: E501 - Gets product purchases # noqa: E501 + Gets a single product purchase # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_product_purchases_with_http_info(buyer_id, async_req=True) + >>> thread = api.get_product_purchase_with_http_info(product_purchase_id, async_req=True) >>> result = thread.get() - :param buyer_id: Must be a valid user ID. (required) - :type buyer_id: str - :param n: The number of objects to return. - :type n: int - :param offset: A zero-based offset from the default object sorting from where search results start. - :type offset: int - :param most_recent: - :type most_recent: bool - :param sort: The sort order of the results. - :type sort: SortOptionProductPurchase - :param order: Result ordering - :type order: OrderOptionShort + :param product_purchase_id: Must be a valid purchase ID. (required) + :type product_purchase_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -1524,18 +1632,13 @@ def get_product_purchases_with_http_info(self, buyer_id, **kwargs): # noqa: E50 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[ProductPurchase], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(ProductPurchase, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'buyer_id', - 'n', - 'offset', - 'most_recent', - 'sort', - 'order' + 'product_purchase_id' ] all_params.extend( [ @@ -1553,37 +1656,21 @@ def get_product_purchases_with_http_info(self, buyer_id, **kwargs): # noqa: E50 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_product_purchases" % key + " to method get_product_purchase" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'buyer_id' is set - if self.api_client.client_side_validation and local_var_params.get('buyer_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `buyer_id` when calling `get_product_purchases`") # noqa: E501 + # verify the required parameter 'product_purchase_id' is set + if self.api_client.client_side_validation and local_var_params.get('product_purchase_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `product_purchase_id` when calling `get_product_purchase`") # noqa: E501 - if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 - raise ApiValueError("Invalid value for parameter `n` when calling `get_product_purchases`, must be a value less than or equal to `100`") # noqa: E501 - if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 - raise ApiValueError("Invalid value for parameter `n` when calling `get_product_purchases`, must be a value greater than or equal to `1`") # noqa: E501 - if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 - raise ApiValueError("Invalid value for parameter `offset` when calling `get_product_purchases`, must be a value greater than or equal to `0`") # noqa: E501 collection_formats = {} path_params = {} + if 'product_purchase_id' in local_var_params: + path_params['productPurchaseId'] = local_var_params['product_purchase_id'] # noqa: E501 query_params = [] - if local_var_params.get('buyer_id') is not None: # noqa: E501 - query_params.append(('buyerId', local_var_params['buyer_id'])) # noqa: E501 - if local_var_params.get('n') is not None: # noqa: E501 - query_params.append(('n', local_var_params['n'])) # noqa: E501 - if local_var_params.get('offset') is not None: # noqa: E501 - query_params.append(('offset', local_var_params['offset'])) # noqa: E501 - if local_var_params.get('most_recent') is not None: # noqa: E501 - query_params.append(('mostRecent', local_var_params['most_recent'])) # noqa: E501 - if local_var_params.get('sort') is not None: # noqa: E501 - query_params.append(('sort', local_var_params['sort'])) # noqa: E501 - if local_var_params.get('order') is not None: # noqa: E501 - query_params.append(('order', local_var_params['order'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -1599,12 +1686,12 @@ def get_product_purchases_with_http_info(self, buyer_id, **kwargs): # noqa: E50 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "list[ProductPurchase]", + 200: "ProductPurchase", 401: "Error", } return self.api_client.call_api( - '/economy/purchases', 'GET', + '/economy/purchases/{productPurchaseId}', 'GET', path_params, query_params, header_params, @@ -1620,16 +1707,32 @@ def get_product_purchases_with_http_info(self, buyer_id, **kwargs): # noqa: E50 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_recent_subscription(self, **kwargs): # noqa: E501 - """Get Recent Subscription # noqa: E501 + def get_product_purchase_history(self, user_id, **kwargs): # noqa: E501 + """Get Product Purchase History # noqa: E501 - Get the most recent user subscription. # noqa: E501 + Gets a history of product purchases # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_recent_subscription(async_req=True) + >>> thread = api.get_product_purchase_history(user_id, async_req=True) >>> result = thread.get() + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param n: The number of objects to return. + :type n: int + :param date_min: The start date of the search range. + :type date_min: datetime + :param date_max: The end date of the search range. + :type date_max: datetime + :param from_user_id: Must be a valid user ID. + :type from_user_id: str + :param to_user_id: Must be a valid user ID. + :type to_user_id: str + :param sort: The sort order of the results. + :type sort: SortOptionProductPurchase + :param order: Result ordering + :type order: OrderOptionShort :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -1643,21 +1746,37 @@ def get_recent_subscription(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: UserSubscription + :rtype: ProductPurchaseHistory """ kwargs['_return_http_data_only'] = True - return self.get_recent_subscription_with_http_info(**kwargs) # noqa: E501 + return self.get_product_purchase_history_with_http_info(user_id, **kwargs) # noqa: E501 - def get_recent_subscription_with_http_info(self, **kwargs): # noqa: E501 - """Get Recent Subscription # noqa: E501 + def get_product_purchase_history_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get Product Purchase History # noqa: E501 - Get the most recent user subscription. # noqa: E501 + Gets a history of product purchases # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_recent_subscription_with_http_info(async_req=True) + >>> thread = api.get_product_purchase_history_with_http_info(user_id, async_req=True) >>> result = thread.get() + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param n: The number of objects to return. + :type n: int + :param date_min: The start date of the search range. + :type date_min: datetime + :param date_max: The end date of the search range. + :type date_max: datetime + :param from_user_id: Must be a valid user ID. + :type from_user_id: str + :param to_user_id: Must be a valid user ID. + :type to_user_id: str + :param sort: The sort order of the results. + :type sort: SortOptionProductPurchase + :param order: Result ordering + :type order: OrderOptionShort :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -1679,12 +1798,20 @@ def get_recent_subscription_with_http_info(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(UserSubscription, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(ProductPurchaseHistory, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ + 'user_id', + 'n', + 'date_min', + 'date_max', + 'from_user_id', + 'to_user_id', + 'sort', + 'order' ] all_params.extend( [ @@ -1702,16 +1829,39 @@ def get_recent_subscription_with_http_info(self, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_recent_subscription" % key + " to method get_product_purchase_history" % key ) local_var_params[key] = val del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_product_purchase_history`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_product_purchase_history`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_product_purchase_history`, must be a value greater than or equal to `1`") # noqa: E501 collection_formats = {} path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 query_params = [] + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('date_min') is not None: # noqa: E501 + query_params.append(('dateMin', local_var_params['date_min'])) # noqa: E501 + if local_var_params.get('date_max') is not None: # noqa: E501 + query_params.append(('dateMax', local_var_params['date_max'])) # noqa: E501 + if local_var_params.get('from_user_id') is not None: # noqa: E501 + query_params.append(('fromUserId', local_var_params['from_user_id'])) # noqa: E501 + if local_var_params.get('to_user_id') is not None: # noqa: E501 + query_params.append(('toUserId', local_var_params['to_user_id'])) # noqa: E501 + if local_var_params.get('sort') is not None: # noqa: E501 + query_params.append(('sort', local_var_params['sort'])) # noqa: E501 + if local_var_params.get('order') is not None: # noqa: E501 + query_params.append(('order', local_var_params['order'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -1727,12 +1877,585 @@ def get_recent_subscription_with_http_info(self, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "UserSubscription", + 200: "ProductPurchaseHistory", 401: "Error", } return self.api_client.call_api( - '/user/subscription/recent', 'GET', + '/user/{userId}/economy/transactions', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_product_purchase_stacks(self, product_purchase_id, **kwargs): # noqa: E501 + """Get Product Purchase Stacks # noqa: E501 + + Gets stacks for a product purchase # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_product_purchase_stacks(product_purchase_id, async_req=True) + >>> result = thread.get() + + :param product_purchase_id: Must be a valid purchase ID. (required) + :type product_purchase_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[object] + """ + kwargs['_return_http_data_only'] = True + return self.get_product_purchase_stacks_with_http_info(product_purchase_id, **kwargs) # noqa: E501 + + def get_product_purchase_stacks_with_http_info(self, product_purchase_id, **kwargs): # noqa: E501 + """Get Product Purchase Stacks # noqa: E501 + + Gets stacks for a product purchase # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_product_purchase_stacks_with_http_info(product_purchase_id, async_req=True) + >>> result = thread.get() + + :param product_purchase_id: Must be a valid purchase ID. (required) + :type product_purchase_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[object], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'product_purchase_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_product_purchase_stacks" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'product_purchase_id' is set + if self.api_client.client_side_validation and local_var_params.get('product_purchase_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `product_purchase_id` when calling `get_product_purchase_stacks`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'product_purchase_id' in local_var_params: + path_params['productPurchaseId'] = local_var_params['product_purchase_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[object]", + 401: "Error", + } + + return self.api_client.call_api( + '/economy/purchases/{productPurchaseId}/stacks', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_product_purchases(self, buyer_id, **kwargs): # noqa: E501 + """Get Product Purchases # noqa: E501 + + Gets product purchases # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_product_purchases(buyer_id, async_req=True) + >>> result = thread.get() + + :param buyer_id: Must be a valid user ID. (required) + :type buyer_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param most_recent: + :type most_recent: bool + :param sort: The sort order of the results. + :type sort: SortOptionProductPurchase + :param order: Result ordering + :type order: OrderOptionShort + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[ProductPurchase] + """ + kwargs['_return_http_data_only'] = True + return self.get_product_purchases_with_http_info(buyer_id, **kwargs) # noqa: E501 + + def get_product_purchases_with_http_info(self, buyer_id, **kwargs): # noqa: E501 + """Get Product Purchases # noqa: E501 + + Gets product purchases # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_product_purchases_with_http_info(buyer_id, async_req=True) + >>> result = thread.get() + + :param buyer_id: Must be a valid user ID. (required) + :type buyer_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param most_recent: + :type most_recent: bool + :param sort: The sort order of the results. + :type sort: SortOptionProductPurchase + :param order: Result ordering + :type order: OrderOptionShort + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[ProductPurchase], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'buyer_id', + 'n', + 'offset', + 'most_recent', + 'sort', + 'order' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_product_purchases" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'buyer_id' is set + if self.api_client.client_side_validation and local_var_params.get('buyer_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `buyer_id` when calling `get_product_purchases`") # noqa: E501 + + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_product_purchases`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_product_purchases`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_product_purchases`, must be a value greater than or equal to `0`") # noqa: E501 + collection_formats = {} + + path_params = {} + + query_params = [] + if local_var_params.get('buyer_id') is not None: # noqa: E501 + query_params.append(('buyerId', local_var_params['buyer_id'])) # noqa: E501 + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + if local_var_params.get('most_recent') is not None: # noqa: E501 + query_params.append(('mostRecent', local_var_params['most_recent'])) # noqa: E501 + if local_var_params.get('sort') is not None: # noqa: E501 + query_params.append(('sort', local_var_params['sort'])) # noqa: E501 + if local_var_params.get('order') is not None: # noqa: E501 + query_params.append(('order', local_var_params['order'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[ProductPurchase]", + 401: "Error", + } + + return self.api_client.call_api( + '/economy/purchases', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_recent_subscription(self, **kwargs): # noqa: E501 + """Get Recent Subscription # noqa: E501 + + Get the most recent user subscription. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_recent_subscription(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: UserSubscription + """ + kwargs['_return_http_data_only'] = True + return self.get_recent_subscription_with_http_info(**kwargs) # noqa: E501 + + def get_recent_subscription_with_http_info(self, **kwargs): # noqa: E501 + """Get Recent Subscription # noqa: E501 + + Get the most recent user subscription. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_recent_subscription_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(UserSubscription, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_recent_subscription" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "UserSubscription", + 401: "Error", + } + + return self.api_client.call_api( + '/user/subscription/recent', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_seller_eligibility(self, **kwargs): # noqa: E501 + """Get Seller Eligibility # noqa: E501 + + Get the eligibility of the currently authenticated user to become a seller # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_seller_eligibility(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: SellerEligibility + """ + kwargs['_return_http_data_only'] = True + return self.get_seller_eligibility_with_http_info(**kwargs) # noqa: E501 + + def get_seller_eligibility_with_http_info(self, **kwargs): # noqa: E501 + """Get Seller Eligibility # noqa: E501 + + Get the eligibility of the currently authenticated user to become a seller # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_seller_eligibility_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(SellerEligibility, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_seller_eligibility" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "SellerEligibility", + 401: "Error", + } + + return self.api_client.call_api( + '/economy/seller/eligibility', 'GET', path_params, query_params, header_params, diff --git a/vrchatapi/api/favorites_api.py b/vrchatapi/api/favorites_api.py index b1eecb73..67749abe 100644 --- a/vrchatapi/api/favorites_api.py +++ b/vrchatapi/api/favorites_api.py @@ -191,7 +191,7 @@ def clear_favorite_group(self, favorite_group_type, favorite_group_name, user_id >>> result = thread.get() :param favorite_group_type: The type of group to fetch, must be a valid FavoriteType. (required) - :type favorite_group_type: str + :type favorite_group_type: FavoriteType :param favorite_group_name: The name of the group to fetch, must be a name of a FavoriteGroup. (required) :type favorite_group_name: str :param user_id: Must be a valid user ID. (required) @@ -225,7 +225,7 @@ def clear_favorite_group_with_http_info(self, favorite_group_type, favorite_grou >>> result = thread.get() :param favorite_group_type: The type of group to fetch, must be a valid FavoriteType. (required) - :type favorite_group_type: str + :type favorite_group_type: FavoriteType :param favorite_group_name: The name of the group to fetch, must be a name of a FavoriteGroup. (required) :type favorite_group_name: str :param user_id: Must be a valid user ID. (required) @@ -348,7 +348,7 @@ def get_favorite_group(self, favorite_group_type, favorite_group_name, user_id, >>> result = thread.get() :param favorite_group_type: The type of group to fetch, must be a valid FavoriteType. (required) - :type favorite_group_type: str + :type favorite_group_type: FavoriteType :param favorite_group_name: The name of the group to fetch, must be a name of a FavoriteGroup. (required) :type favorite_group_name: str :param user_id: Must be a valid user ID. (required) @@ -382,7 +382,7 @@ def get_favorite_group_with_http_info(self, favorite_group_type, favorite_group_ >>> result = thread.get() :param favorite_group_type: The type of group to fetch, must be a valid FavoriteType. (required) - :type favorite_group_type: str + :type favorite_group_type: FavoriteType :param favorite_group_name: The name of the group to fetch, must be a name of a FavoriteGroup. (required) :type favorite_group_name: str :param user_id: Must be a valid user ID. (required) @@ -1099,7 +1099,7 @@ def update_favorite_group(self, favorite_group_type, favorite_group_name, user_i >>> result = thread.get() :param favorite_group_type: The type of group to fetch, must be a valid FavoriteType. (required) - :type favorite_group_type: str + :type favorite_group_type: FavoriteType :param favorite_group_name: The name of the group to fetch, must be a name of a FavoriteGroup. (required) :type favorite_group_name: str :param user_id: Must be a valid user ID. (required) @@ -1135,7 +1135,7 @@ def update_favorite_group_with_http_info(self, favorite_group_type, favorite_gro >>> result = thread.get() :param favorite_group_type: The type of group to fetch, must be a valid FavoriteType. (required) - :type favorite_group_type: str + :type favorite_group_type: FavoriteType :param favorite_group_name: The name of the group to fetch, must be a name of a FavoriteGroup. (required) :type favorite_group_name: str :param user_id: Must be a valid user ID. (required) diff --git a/vrchatapi/api/inventory_api.py b/vrchatapi/api/inventory_api.py index 832aad91..4d688619 100644 --- a/vrchatapi/api/inventory_api.py +++ b/vrchatapi/api/inventory_api.py @@ -1369,6 +1369,152 @@ def get_user_inventory_item_with_http_info(self, user_id, inventory_item_id, **k collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def redeem_reward(self, reward_redemption_request, **kwargs): # noqa: E501 + """Redeem Reward # noqa: E501 + + Redeem a reward for the currently logged in user. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.redeem_reward(reward_redemption_request, async_req=True) + >>> result = thread.get() + + :param reward_redemption_request: (required) + :type reward_redemption_request: RewardRedemptionRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[RewardRedemptionResult] + """ + kwargs['_return_http_data_only'] = True + return self.redeem_reward_with_http_info(reward_redemption_request, **kwargs) # noqa: E501 + + def redeem_reward_with_http_info(self, reward_redemption_request, **kwargs): # noqa: E501 + """Redeem Reward # noqa: E501 + + Redeem a reward for the currently logged in user. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.redeem_reward_with_http_info(reward_redemption_request, async_req=True) + >>> result = thread.get() + + :param reward_redemption_request: (required) + :type reward_redemption_request: RewardRedemptionRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[RewardRedemptionResult], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'reward_redemption_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method redeem_reward" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'reward_redemption_request' is set + if self.api_client.client_side_validation and local_var_params.get('reward_redemption_request') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `reward_redemption_request` when calling `redeem_reward`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'reward_redemption_request' in local_var_params: + body_params = local_var_params['reward_redemption_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[RewardRedemptionResult]", + 401: "Error", + } + + return self.api_client.call_api( + '/reward/redeem', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def share_inventory_item_direct(self, item_id, duration, share_inventory_item_direct_request, **kwargs): # noqa: E501 """Share Inventory Item Direct # noqa: E501 diff --git a/vrchatapi/api/jams_api.py b/vrchatapi/api/jams_api.py index f93b39ba..787ae4ef 100644 --- a/vrchatapi/api/jams_api.py +++ b/vrchatapi/api/jams_api.py @@ -36,6 +36,156 @@ def __init__(self, api_client=None): api_client = ApiClient() self.api_client = api_client + def delete_jam_submission(self, jam_id, jam_submission_id, **kwargs): # noqa: E501 + """Delete Jam Submission # noqa: E501 + + Withdraws a content submission from a jam. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_jam_submission(jam_id, jam_submission_id, async_req=True) + >>> result = thread.get() + + :param jam_id: Must be a valid jam ID. (required) + :type jam_id: str + :param jam_submission_id: Must be a valid jam submission ID. (required) + :type jam_submission_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Success + """ + kwargs['_return_http_data_only'] = True + return self.delete_jam_submission_with_http_info(jam_id, jam_submission_id, **kwargs) # noqa: E501 + + def delete_jam_submission_with_http_info(self, jam_id, jam_submission_id, **kwargs): # noqa: E501 + """Delete Jam Submission # noqa: E501 + + Withdraws a content submission from a jam. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_jam_submission_with_http_info(jam_id, jam_submission_id, async_req=True) + >>> result = thread.get() + + :param jam_id: Must be a valid jam ID. (required) + :type jam_id: str + :param jam_submission_id: Must be a valid jam submission ID. (required) + :type jam_submission_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Success, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'jam_id', + 'jam_submission_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_jam_submission" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'jam_id' is set + if self.api_client.client_side_validation and local_var_params.get('jam_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `jam_id` when calling `delete_jam_submission`") # noqa: E501 + # verify the required parameter 'jam_submission_id' is set + if self.api_client.client_side_validation and local_var_params.get('jam_submission_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `jam_submission_id` when calling `delete_jam_submission`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'jam_id' in local_var_params: + path_params['jamId'] = local_var_params['jam_id'] # noqa: E501 + if 'jam_submission_id' in local_var_params: + path_params['jamSubmissionId'] = local_var_params['jam_submission_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "Success", + 401: "Error", + 403: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/jams/{jamId}/submissions/{jamSubmissionId}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def get_jam(self, jam_id, **kwargs): # noqa: E501 """Show jam information # noqa: E501 @@ -46,7 +196,7 @@ def get_jam(self, jam_id, **kwargs): # noqa: E501 >>> thread = api.get_jam(jam_id, async_req=True) >>> result = thread.get() - :param jam_id: Must be a valid query ID. (required) + :param jam_id: Must be a valid jam ID. (required) :type jam_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -76,7 +226,7 @@ def get_jam_with_http_info(self, jam_id, **kwargs): # noqa: E501 >>> thread = api.get_jam_with_http_info(jam_id, async_req=True) >>> result = thread.get() - :param jam_id: Must be a valid query ID. (required) + :param jam_id: Must be a valid jam ID. (required) :type jam_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -177,15 +327,19 @@ def get_jam_with_http_info(self, jam_id, **kwargs): # noqa: E501 def get_jam_submissions(self, jam_id, **kwargs): # noqa: E501 """Show jam submissions # noqa: E501 - Returns all submissions of a jam. # noqa: E501 + Returns all submissions of a jam. Can filter by contentId (for world or avatar jams) or submitterId (for a participant). # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_jam_submissions(jam_id, async_req=True) >>> result = thread.get() - :param jam_id: Must be a valid query ID. (required) + :param jam_id: Must be a valid jam ID. (required) :type jam_id: str + :param content_id: Filter for particular content submitted, e.g., a groupId, userId, avatarId, etc. + :type content_id: str + :param submitter_id: Must be a valid user ID. + :type submitter_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -199,7 +353,7 @@ def get_jam_submissions(self, jam_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[Submission] + :rtype: list[JamSubmission] """ kwargs['_return_http_data_only'] = True return self.get_jam_submissions_with_http_info(jam_id, **kwargs) # noqa: E501 @@ -207,15 +361,19 @@ def get_jam_submissions(self, jam_id, **kwargs): # noqa: E501 def get_jam_submissions_with_http_info(self, jam_id, **kwargs): # noqa: E501 """Show jam submissions # noqa: E501 - Returns all submissions of a jam. # noqa: E501 + Returns all submissions of a jam. Can filter by contentId (for world or avatar jams) or submitterId (for a participant). # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_jam_submissions_with_http_info(jam_id, async_req=True) >>> result = thread.get() - :param jam_id: Must be a valid query ID. (required) + :param jam_id: Must be a valid jam ID. (required) :type jam_id: str + :param content_id: Filter for particular content submitted, e.g., a groupId, userId, avatarId, etc. + :type content_id: str + :param submitter_id: Must be a valid user ID. + :type submitter_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -237,13 +395,15 @@ def get_jam_submissions_with_http_info(self, jam_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[Submission], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(list[JamSubmission], status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'jam_id' + 'jam_id', + 'content_id', + 'submitter_id' ] all_params.extend( [ @@ -276,6 +436,10 @@ def get_jam_submissions_with_http_info(self, jam_id, **kwargs): # noqa: E501 path_params['jamId'] = local_var_params['jam_id'] # noqa: E501 query_params = [] + if local_var_params.get('content_id') is not None: # noqa: E501 + query_params.append(('contentId', local_var_params['content_id'])) # noqa: E501 + if local_var_params.get('submitter_id') is not None: # noqa: E501 + query_params.append(('submitterId', local_var_params['submitter_id'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -291,7 +455,7 @@ def get_jam_submissions_with_http_info(self, jam_id, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "list[Submission]", + 200: "list[JamSubmission]", 404: "Error", } @@ -445,3 +609,157 @@ def get_jams_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + + def submit_jam_content(self, jam_id, **kwargs): # noqa: E501 + """Submit Jam Content # noqa: E501 + + Submits content to a jam. The content must have been uploaded by the submitter, and both the content upload and jam submission must be made within the jam's designated times. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.submit_jam_content(jam_id, async_req=True) + >>> result = thread.get() + + :param jam_id: Must be a valid jam ID. (required) + :type jam_id: str + :param create_jam_submission_request: + :type create_jam_submission_request: CreateJamSubmissionRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: JamSubmission + """ + kwargs['_return_http_data_only'] = True + return self.submit_jam_content_with_http_info(jam_id, **kwargs) # noqa: E501 + + def submit_jam_content_with_http_info(self, jam_id, **kwargs): # noqa: E501 + """Submit Jam Content # noqa: E501 + + Submits content to a jam. The content must have been uploaded by the submitter, and both the content upload and jam submission must be made within the jam's designated times. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.submit_jam_content_with_http_info(jam_id, async_req=True) + >>> result = thread.get() + + :param jam_id: Must be a valid jam ID. (required) + :type jam_id: str + :param create_jam_submission_request: + :type create_jam_submission_request: CreateJamSubmissionRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(JamSubmission, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'jam_id', + 'create_jam_submission_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method submit_jam_content" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'jam_id' is set + if self.api_client.client_side_validation and local_var_params.get('jam_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `jam_id` when calling `submit_jam_content`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'jam_id' in local_var_params: + path_params['jamId'] = local_var_params['jam_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'create_jam_submission_request' in local_var_params: + body_params = local_var_params['create_jam_submission_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "JamSubmission", + 401: "Error", + 404: "Error", + } + + return self.api_client.call_api( + '/jams/{jamId}/submissions', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) diff --git a/vrchatapi/api/users_api.py b/vrchatapi/api/users_api.py index fafe5280..433ab128 100644 --- a/vrchatapi/api/users_api.py +++ b/vrchatapi/api/users_api.py @@ -1781,8 +1781,8 @@ def get_user_feedback(self, user_id, **kwargs): # noqa: E501 :param user_id: Must be a valid user ID. (required) :type user_id: str - :param content_id: Filter for users' previously submitted feedback, e.g., a groupId, userId, avatarId, etc. - :type content_id: bool + :param content_id: Filter for particular content submitted, e.g., a groupId, userId, avatarId, etc. + :type content_id: str :param n: The number of objects to return. :type n: int :param offset: A zero-based offset from the default object sorting from where search results start. @@ -1817,8 +1817,8 @@ def get_user_feedback_with_http_info(self, user_id, **kwargs): # noqa: E501 :param user_id: Must be a valid user ID. (required) :type user_id: str - :param content_id: Filter for users' previously submitted feedback, e.g., a groupId, userId, avatarId, etc. - :type content_id: bool + :param content_id: Filter for particular content submitted, e.g., a groupId, userId, avatarId, etc. + :type content_id: str :param n: The number of objects to return. :type n: int :param offset: A zero-based offset from the default object sorting from where search results start. @@ -2922,6 +2922,144 @@ def get_user_represented_group_with_http_info(self, user_id, **kwargs): # noqa: collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def get_user_tutorial_status(self, user_id, **kwargs): # noqa: E501 + """Get User Tutorial Status # noqa: E501 + + Gets the status of completed or outstanding tutorials for the specified user. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_user_tutorial_status(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: TutorialStatus + """ + kwargs['_return_http_data_only'] = True + return self.get_user_tutorial_status_with_http_info(user_id, **kwargs) # noqa: E501 + + def get_user_tutorial_status_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get User Tutorial Status # noqa: E501 + + Gets the status of completed or outstanding tutorials for the specified user. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_user_tutorial_status_with_http_info(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(TutorialStatus, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_user_tutorial_status" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_user_tutorial_status`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "TutorialStatus", + 401: "Error", + } + + return self.api_client.call_api( + '/users/{userId}/tutorial', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def remove_tags(self, user_id, change_user_tags_request, **kwargs): # noqa: E501 """Remove User Tags # noqa: E501 diff --git a/vrchatapi/api/worlds_api.py b/vrchatapi/api/worlds_api.py index 5cdf1abf..ce0a2cda 100644 --- a/vrchatapi/api/worlds_api.py +++ b/vrchatapi/api/worlds_api.py @@ -36,6 +36,163 @@ def __init__(self, api_client=None): api_client = ApiClient() self.api_client = api_client + def add_world_tags(self, world_id, change_world_tags_request, **kwargs): # noqa: E501 + """Add World Tags # noqa: E501 + + Adds tags to the world's profile # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.add_world_tags(world_id, change_world_tags_request, async_req=True) + >>> result = thread.get() + + :param world_id: Must be a valid world ID. (required) + :type world_id: str + :param change_world_tags_request: (required) + :type change_world_tags_request: ChangeWorldTagsRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: World + """ + kwargs['_return_http_data_only'] = True + return self.add_world_tags_with_http_info(world_id, change_world_tags_request, **kwargs) # noqa: E501 + + def add_world_tags_with_http_info(self, world_id, change_world_tags_request, **kwargs): # noqa: E501 + """Add World Tags # noqa: E501 + + Adds tags to the world's profile # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.add_world_tags_with_http_info(world_id, change_world_tags_request, async_req=True) + >>> result = thread.get() + + :param world_id: Must be a valid world ID. (required) + :type world_id: str + :param change_world_tags_request: (required) + :type change_world_tags_request: ChangeWorldTagsRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(World, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'world_id', + 'change_world_tags_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method add_world_tags" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'world_id' is set + if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `world_id` when calling `add_world_tags`") # noqa: E501 + # verify the required parameter 'change_world_tags_request' is set + if self.api_client.client_side_validation and local_var_params.get('change_world_tags_request') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `change_world_tags_request` when calling `add_world_tags`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'world_id' in local_var_params: + path_params['worldId'] = local_var_params['world_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'change_world_tags_request' in local_var_params: + body_params = local_var_params['change_world_tags_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "World", + 400: "Error", + 401: "Error", + } + + return self.api_client.call_api( + '/worlds/{worldId}/addTags', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def check_user_persistence_exists(self, user_id, world_id, **kwargs): # noqa: E501 """Check User Persistence Exists # noqa: E501 @@ -740,6 +897,151 @@ def delete_world_with_http_info(self, world_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def delete_world_platform(self, world_id, published_platform, **kwargs): # noqa: E501 + """Delete World Platform # noqa: E501 + + Deletes a world platform. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_world_platform(world_id, published_platform, async_req=True) + >>> result = thread.get() + + :param world_id: Must be a valid world ID. (required) + :type world_id: str + :param published_platform: A platform the world supports. (required) + :type published_platform: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + kwargs['_return_http_data_only'] = True + return self.delete_world_platform_with_http_info(world_id, published_platform, **kwargs) # noqa: E501 + + def delete_world_platform_with_http_info(self, world_id, published_platform, **kwargs): # noqa: E501 + """Delete World Platform # noqa: E501 + + Deletes a world platform. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_world_platform_with_http_info(world_id, published_platform, async_req=True) + >>> result = thread.get() + + :param world_id: Must be a valid world ID. (required) + :type world_id: str + :param published_platform: A platform the world supports. (required) + :type published_platform: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + + local_var_params = locals() + + all_params = [ + 'world_id', + 'published_platform' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_world_platform" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'world_id' is set + if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `world_id` when calling `delete_world_platform`") # noqa: E501 + # verify the required parameter 'published_platform' is set + if self.api_client.client_side_validation and local_var_params.get('published_platform') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `published_platform` when calling `delete_world_platform`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'world_id' in local_var_params: + path_params['worldId'] = local_var_params['world_id'] # noqa: E501 + if 'published_platform' in local_var_params: + path_params['publishedPlatform'] = local_var_params['published_platform'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = {} + + return self.api_client.call_api( + '/worlds/{worldId}/platform/{publishedPlatform}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def get_active_worlds(self, **kwargs): # noqa: E501 """List Active Worlds # noqa: E501 @@ -2133,6 +2435,163 @@ def publish_world_with_http_info(self, world_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def remove_world_tags(self, world_id, change_world_tags_request, **kwargs): # noqa: E501 + """Remove World Tags # noqa: E501 + + Removes tags from the world's profile # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.remove_world_tags(world_id, change_world_tags_request, async_req=True) + >>> result = thread.get() + + :param world_id: Must be a valid world ID. (required) + :type world_id: str + :param change_world_tags_request: (required) + :type change_world_tags_request: ChangeWorldTagsRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: World + """ + kwargs['_return_http_data_only'] = True + return self.remove_world_tags_with_http_info(world_id, change_world_tags_request, **kwargs) # noqa: E501 + + def remove_world_tags_with_http_info(self, world_id, change_world_tags_request, **kwargs): # noqa: E501 + """Remove World Tags # noqa: E501 + + Removes tags from the world's profile # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.remove_world_tags_with_http_info(world_id, change_world_tags_request, async_req=True) + >>> result = thread.get() + + :param world_id: Must be a valid world ID. (required) + :type world_id: str + :param change_world_tags_request: (required) + :type change_world_tags_request: ChangeWorldTagsRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(World, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'world_id', + 'change_world_tags_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method remove_world_tags" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'world_id' is set + if self.api_client.client_side_validation and local_var_params.get('world_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `world_id` when calling `remove_world_tags`") # noqa: E501 + # verify the required parameter 'change_world_tags_request' is set + if self.api_client.client_side_validation and local_var_params.get('change_world_tags_request') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `change_world_tags_request` when calling `remove_world_tags`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'world_id' in local_var_params: + path_params['worldId'] = local_var_params['world_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'change_world_tags_request' in local_var_params: + body_params = local_var_params['change_world_tags_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "World", + 400: "Error", + 401: "Error", + } + + return self.api_client.call_api( + '/worlds/{worldId}/removeTags', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def search_worlds(self, **kwargs): # noqa: E501 """Search All Worlds # noqa: E501 diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index d5bec898..e9ffed5f 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -65,6 +65,7 @@ from vrchatapi.models.calendar_event_platform import CalendarEventPlatform from vrchatapi.models.calendar_event_user_interest import CalendarEventUserInterest from vrchatapi.models.change_user_tags_request import ChangeUserTagsRequest +from vrchatapi.models.change_world_tags_request import ChangeWorldTagsRequest from vrchatapi.models.content_filter import ContentFilter from vrchatapi.models.create_avatar_moderation_request import CreateAvatarModerationRequest from vrchatapi.models.create_avatar_request import CreateAvatarRequest @@ -78,6 +79,7 @@ from vrchatapi.models.create_group_request import CreateGroupRequest from vrchatapi.models.create_group_role_request import CreateGroupRoleRequest from vrchatapi.models.create_instance_request import CreateInstanceRequest +from vrchatapi.models.create_jam_submission_request import CreateJamSubmissionRequest from vrchatapi.models.create_prop_request import CreatePropRequest from vrchatapi.models.create_world_request import CreateWorldRequest from vrchatapi.models.current_user import CurrentUser @@ -88,6 +90,8 @@ from vrchatapi.models.disable2_fa_result import Disable2FAResult from vrchatapi.models.discord_details import DiscordDetails from vrchatapi.models.dynamic_content_row import DynamicContentRow +from vrchatapi.models.earnings_metrics import EarningsMetrics +from vrchatapi.models.earnings_metrics_totals import EarningsMetricsTotals from vrchatapi.models.economy_account import EconomyAccount from vrchatapi.models.equip_inventory_item_request import EquipInventoryItemRequest from vrchatapi.models.error import Error @@ -174,6 +178,7 @@ from vrchatapi.models.invite_response import InviteResponse from vrchatapi.models.jam import Jam from vrchatapi.models.jam_state_change_dates import JamStateChangeDates +from vrchatapi.models.jam_submission import JamSubmission from vrchatapi.models.join_group_request import JoinGroupRequest from vrchatapi.models.license import License from vrchatapi.models.license_action import LicenseAction @@ -225,11 +230,15 @@ from vrchatapi.models.product_listing_type import ProductListingType from vrchatapi.models.product_listing_variant import ProductListingVariant from vrchatapi.models.product_purchase import ProductPurchase +from vrchatapi.models.product_purchase_history import ProductPurchaseHistory +from vrchatapi.models.product_purchase_location_type import ProductPurchaseLocationType from vrchatapi.models.product_purchase_purchase_context import ProductPurchasePurchaseContext +from vrchatapi.models.product_purchase_record import ProductPurchaseRecord from vrchatapi.models.product_type import ProductType from vrchatapi.models.prop import Prop from vrchatapi.models.prop_publish_status import PropPublishStatus from vrchatapi.models.prop_unity_package import PropUnityPackage +from vrchatapi.models.purchase_context_data import PurchaseContextData from vrchatapi.models.purchase_product_listing_request import PurchaseProductListingRequest from vrchatapi.models.region import Region from vrchatapi.models.register_user_account_request import RegisterUserAccountRequest @@ -241,7 +250,13 @@ from vrchatapi.models.respond_group_join_request import RespondGroupJoinRequest from vrchatapi.models.respond_notification_v2_request import RespondNotificationV2Request from vrchatapi.models.response import Response +from vrchatapi.models.reward_badge import RewardBadge +from vrchatapi.models.reward_redemption import RewardRedemption +from vrchatapi.models.reward_redemption_data import RewardRedemptionData +from vrchatapi.models.reward_redemption_request import RewardRedemptionRequest +from vrchatapi.models.reward_redemption_result import RewardRedemptionResult from vrchatapi.models.search_group_members200_response import SearchGroupMembers200Response +from vrchatapi.models.seller_eligibility import SellerEligibility from vrchatapi.models.sent_notification import SentNotification from vrchatapi.models.service_queue_stats import ServiceQueueStats from vrchatapi.models.service_status import ServiceStatus @@ -252,7 +267,6 @@ from vrchatapi.models.store_shelf import StoreShelf from vrchatapi.models.store_type import StoreType from vrchatapi.models.store_view import StoreView -from vrchatapi.models.submission import Submission from vrchatapi.models.submit_moderation_report_request import SubmitModerationReportRequest from vrchatapi.models.submit_moderation_report_request_details import SubmitModerationReportRequestDetails from vrchatapi.models.subscription import Subscription @@ -268,6 +282,7 @@ from vrchatapi.models.transaction_steam_info import TransactionSteamInfo from vrchatapi.models.transaction_steam_wallet_info import TransactionSteamWalletInfo from vrchatapi.models.transfer_group_request import TransferGroupRequest +from vrchatapi.models.tutorial_status import TutorialStatus from vrchatapi.models.two_factor_auth_code import TwoFactorAuthCode from vrchatapi.models.two_factor_email_code import TwoFactorEmailCode from vrchatapi.models.two_factor_recovery_codes import TwoFactorRecoveryCodes diff --git a/vrchatapi/models/change_world_tags_request.py b/vrchatapi/models/change_world_tags_request.py new file mode 100644 index 00000000..defa15e0 --- /dev/null +++ b/vrchatapi/models/change_world_tags_request.py @@ -0,0 +1,134 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.7 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class ChangeWorldTagsRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'tags': 'list[str]' + } + + attribute_map = { + 'tags': 'tags' + } + + def __init__(self, tags=None, local_vars_configuration=None): # noqa: E501 + """ChangeWorldTagsRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._tags = None + self.discriminator = None + + self.tags = tags + + @property + def tags(self): + """Gets the tags of this ChangeWorldTagsRequest. # noqa: E501 + + The tags being added or removed. # noqa: E501 + + :return: The tags of this ChangeWorldTagsRequest. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this ChangeWorldTagsRequest. + + The tags being added or removed. # noqa: E501 + + :param tags: The tags of this ChangeWorldTagsRequest. # noqa: E501 + :type tags: list[str] + """ + if self.local_vars_configuration.client_side_validation and tags is None: # noqa: E501 + raise ValueError("Invalid value for `tags`, must not be `None`") # noqa: E501 + + self._tags = tags + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ChangeWorldTagsRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ChangeWorldTagsRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/create_jam_submission_request.py b/vrchatapi/models/create_jam_submission_request.py new file mode 100644 index 00000000..88982b10 --- /dev/null +++ b/vrchatapi/models/create_jam_submission_request.py @@ -0,0 +1,163 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.7 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class CreateJamSubmissionRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'content_id': 'str', + 'description': 'str' + } + + attribute_map = { + 'content_id': 'contentId', + 'description': 'description' + } + + def __init__(self, content_id=None, description=None, local_vars_configuration=None): # noqa: E501 + """CreateJamSubmissionRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._content_id = None + self._description = None + self.discriminator = None + + self.content_id = content_id + self.description = description + + @property + def content_id(self): + """Gets the content_id of this CreateJamSubmissionRequest. # noqa: E501 + + The id of the uploaded content (e.g., avatar, world) being submitted. # noqa: E501 + + :return: The content_id of this CreateJamSubmissionRequest. # noqa: E501 + :rtype: str + """ + return self._content_id + + @content_id.setter + def content_id(self, content_id): + """Sets the content_id of this CreateJamSubmissionRequest. + + The id of the uploaded content (e.g., avatar, world) being submitted. # noqa: E501 + + :param content_id: The content_id of this CreateJamSubmissionRequest. # noqa: E501 + :type content_id: str + """ + if self.local_vars_configuration.client_side_validation and content_id is None: # noqa: E501 + raise ValueError("Invalid value for `content_id`, must not be `None`") # noqa: E501 + + self._content_id = content_id + + @property + def description(self): + """Gets the description of this CreateJamSubmissionRequest. # noqa: E501 + + A description of the content being submitted. # noqa: E501 + + :return: The description of this CreateJamSubmissionRequest. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this CreateJamSubmissionRequest. + + A description of the content being submitted. # noqa: E501 + + :param description: The description of this CreateJamSubmissionRequest. # noqa: E501 + :type description: str + """ + if self.local_vars_configuration.client_side_validation and description is None: # noqa: E501 + raise ValueError("Invalid value for `description`, must not be `None`") # noqa: E501 + + self._description = description + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CreateJamSubmissionRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, CreateJamSubmissionRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/earnings_metrics.py b/vrchatapi/models/earnings_metrics.py new file mode 100644 index 00000000..53262c8d --- /dev/null +++ b/vrchatapi/models/earnings_metrics.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.7 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class EarningsMetrics(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'breakdown': 'list[object]', + 'seller_id': 'str', + 'totals': 'EarningsMetricsTotals' + } + + attribute_map = { + 'breakdown': 'breakdown', + 'seller_id': 'sellerId', + 'totals': 'totals' + } + + def __init__(self, breakdown=None, seller_id=None, totals=None, local_vars_configuration=None): # noqa: E501 + """EarningsMetrics - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._breakdown = None + self._seller_id = None + self._totals = None + self.discriminator = None + + self.breakdown = breakdown + self.seller_id = seller_id + self.totals = totals + + @property + def breakdown(self): + """Gets the breakdown of this EarningsMetrics. # noqa: E501 + + + :return: The breakdown of this EarningsMetrics. # noqa: E501 + :rtype: list[object] + """ + return self._breakdown + + @breakdown.setter + def breakdown(self, breakdown): + """Sets the breakdown of this EarningsMetrics. + + + :param breakdown: The breakdown of this EarningsMetrics. # noqa: E501 + :type breakdown: list[object] + """ + if self.local_vars_configuration.client_side_validation and breakdown is None: # noqa: E501 + raise ValueError("Invalid value for `breakdown`, must not be `None`") # noqa: E501 + + self._breakdown = breakdown + + @property + def seller_id(self): + """Gets the seller_id of this EarningsMetrics. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The seller_id of this EarningsMetrics. # noqa: E501 + :rtype: str + """ + return self._seller_id + + @seller_id.setter + def seller_id(self, seller_id): + """Sets the seller_id of this EarningsMetrics. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param seller_id: The seller_id of this EarningsMetrics. # noqa: E501 + :type seller_id: str + """ + if self.local_vars_configuration.client_side_validation and seller_id is None: # noqa: E501 + raise ValueError("Invalid value for `seller_id`, must not be `None`") # noqa: E501 + + self._seller_id = seller_id + + @property + def totals(self): + """Gets the totals of this EarningsMetrics. # noqa: E501 + + + :return: The totals of this EarningsMetrics. # noqa: E501 + :rtype: EarningsMetricsTotals + """ + return self._totals + + @totals.setter + def totals(self, totals): + """Sets the totals of this EarningsMetrics. + + + :param totals: The totals of this EarningsMetrics. # noqa: E501 + :type totals: EarningsMetricsTotals + """ + if self.local_vars_configuration.client_side_validation and totals is None: # noqa: E501 + raise ValueError("Invalid value for `totals`, must not be `None`") # noqa: E501 + + self._totals = totals + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, EarningsMetrics): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, EarningsMetrics): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/earnings_metrics_totals.py b/vrchatapi/models/earnings_metrics_totals.py new file mode 100644 index 00000000..839c22cc --- /dev/null +++ b/vrchatapi/models/earnings_metrics_totals.py @@ -0,0 +1,255 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.7 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class EarningsMetricsTotals(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'otp_earnings': 'int', + 'otp_purchase_count': 'int', + 'subscriber_earnings': 'int', + 'subscriber_months': 'int', + 'total_earnings': 'int' + } + + attribute_map = { + 'otp_earnings': 'otpEarnings', + 'otp_purchase_count': 'otpPurchaseCount', + 'subscriber_earnings': 'subscriberEarnings', + 'subscriber_months': 'subscriberMonths', + 'total_earnings': 'totalEarnings' + } + + def __init__(self, otp_earnings=None, otp_purchase_count=None, subscriber_earnings=None, subscriber_months=None, total_earnings=None, local_vars_configuration=None): # noqa: E501 + """EarningsMetricsTotals - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._otp_earnings = None + self._otp_purchase_count = None + self._subscriber_earnings = None + self._subscriber_months = None + self._total_earnings = None + self.discriminator = None + + self.otp_earnings = otp_earnings + self.otp_purchase_count = otp_purchase_count + self.subscriber_earnings = subscriber_earnings + self.subscriber_months = subscriber_months + self.total_earnings = total_earnings + + @property + def otp_earnings(self): + """Gets the otp_earnings of this EarningsMetricsTotals. # noqa: E501 + + + :return: The otp_earnings of this EarningsMetricsTotals. # noqa: E501 + :rtype: int + """ + return self._otp_earnings + + @otp_earnings.setter + def otp_earnings(self, otp_earnings): + """Sets the otp_earnings of this EarningsMetricsTotals. + + + :param otp_earnings: The otp_earnings of this EarningsMetricsTotals. # noqa: E501 + :type otp_earnings: int + """ + if self.local_vars_configuration.client_side_validation and otp_earnings is None: # noqa: E501 + raise ValueError("Invalid value for `otp_earnings`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + otp_earnings is not None and otp_earnings < 0): # noqa: E501 + raise ValueError("Invalid value for `otp_earnings`, must be a value greater than or equal to `0`") # noqa: E501 + + self._otp_earnings = otp_earnings + + @property + def otp_purchase_count(self): + """Gets the otp_purchase_count of this EarningsMetricsTotals. # noqa: E501 + + + :return: The otp_purchase_count of this EarningsMetricsTotals. # noqa: E501 + :rtype: int + """ + return self._otp_purchase_count + + @otp_purchase_count.setter + def otp_purchase_count(self, otp_purchase_count): + """Sets the otp_purchase_count of this EarningsMetricsTotals. + + + :param otp_purchase_count: The otp_purchase_count of this EarningsMetricsTotals. # noqa: E501 + :type otp_purchase_count: int + """ + if self.local_vars_configuration.client_side_validation and otp_purchase_count is None: # noqa: E501 + raise ValueError("Invalid value for `otp_purchase_count`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + otp_purchase_count is not None and otp_purchase_count < 0): # noqa: E501 + raise ValueError("Invalid value for `otp_purchase_count`, must be a value greater than or equal to `0`") # noqa: E501 + + self._otp_purchase_count = otp_purchase_count + + @property + def subscriber_earnings(self): + """Gets the subscriber_earnings of this EarningsMetricsTotals. # noqa: E501 + + + :return: The subscriber_earnings of this EarningsMetricsTotals. # noqa: E501 + :rtype: int + """ + return self._subscriber_earnings + + @subscriber_earnings.setter + def subscriber_earnings(self, subscriber_earnings): + """Sets the subscriber_earnings of this EarningsMetricsTotals. + + + :param subscriber_earnings: The subscriber_earnings of this EarningsMetricsTotals. # noqa: E501 + :type subscriber_earnings: int + """ + if self.local_vars_configuration.client_side_validation and subscriber_earnings is None: # noqa: E501 + raise ValueError("Invalid value for `subscriber_earnings`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + subscriber_earnings is not None and subscriber_earnings < 0): # noqa: E501 + raise ValueError("Invalid value for `subscriber_earnings`, must be a value greater than or equal to `0`") # noqa: E501 + + self._subscriber_earnings = subscriber_earnings + + @property + def subscriber_months(self): + """Gets the subscriber_months of this EarningsMetricsTotals. # noqa: E501 + + + :return: The subscriber_months of this EarningsMetricsTotals. # noqa: E501 + :rtype: int + """ + return self._subscriber_months + + @subscriber_months.setter + def subscriber_months(self, subscriber_months): + """Sets the subscriber_months of this EarningsMetricsTotals. + + + :param subscriber_months: The subscriber_months of this EarningsMetricsTotals. # noqa: E501 + :type subscriber_months: int + """ + if self.local_vars_configuration.client_side_validation and subscriber_months is None: # noqa: E501 + raise ValueError("Invalid value for `subscriber_months`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + subscriber_months is not None and subscriber_months < 0): # noqa: E501 + raise ValueError("Invalid value for `subscriber_months`, must be a value greater than or equal to `0`") # noqa: E501 + + self._subscriber_months = subscriber_months + + @property + def total_earnings(self): + """Gets the total_earnings of this EarningsMetricsTotals. # noqa: E501 + + + :return: The total_earnings of this EarningsMetricsTotals. # noqa: E501 + :rtype: int + """ + return self._total_earnings + + @total_earnings.setter + def total_earnings(self, total_earnings): + """Sets the total_earnings of this EarningsMetricsTotals. + + + :param total_earnings: The total_earnings of this EarningsMetricsTotals. # noqa: E501 + :type total_earnings: int + """ + if self.local_vars_configuration.client_side_validation and total_earnings is None: # noqa: E501 + raise ValueError("Invalid value for `total_earnings`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + total_earnings is not None and total_earnings < 0): # noqa: E501 + raise ValueError("Invalid value for `total_earnings`, must be a value greater than or equal to `0`") # noqa: E501 + + self._total_earnings = total_earnings + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, EarningsMetricsTotals): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, EarningsMetricsTotals): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/favorite_type.py b/vrchatapi/models/favorite_type.py index aa78869d..4947c7c0 100644 --- a/vrchatapi/models/favorite_type.py +++ b/vrchatapi/models/favorite_type.py @@ -33,9 +33,10 @@ class FavoriteType(object): """ AVATAR = "avatar" FRIEND = "friend" + VRCPLUSWORLD = "vrcPlusWorld" WORLD = "world" - allowable_values = [AVATAR, FRIEND, WORLD] # noqa: E501 + allowable_values = [AVATAR, FRIEND, VRCPLUSWORLD, WORLD] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/jam.py b/vrchatapi/models/jam.py index 2e462274..d2e48408 100644 --- a/vrchatapi/models/jam.py +++ b/vrchatapi/models/jam.py @@ -136,9 +136,6 @@ def id(self, id): """ if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - id is not None and len(id) < 1): - raise ValueError("Invalid value for `id`, length must be greater than or equal to `1`") # noqa: E501 self._id = id diff --git a/vrchatapi/models/submission.py b/vrchatapi/models/jam_submission.py similarity index 76% rename from vrchatapi/models/submission.py rename to vrchatapi/models/jam_submission.py index 490cf6c7..b322acbd 100644 --- a/vrchatapi/models/submission.py +++ b/vrchatapi/models/jam_submission.py @@ -21,7 +21,7 @@ from vrchatapi.configuration import Configuration -class Submission(object): +class JamSubmission(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -56,7 +56,7 @@ class Submission(object): } def __init__(self, content_id=None, created_at=None, description=None, id=None, jam_id=None, rating_score=None, submitter_id=None, local_vars_configuration=None): # noqa: E501 - """Submission - a model defined in OpenAPI""" # noqa: E501 + """JamSubmission - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration @@ -81,22 +81,22 @@ def __init__(self, content_id=None, created_at=None, description=None, id=None, @property def content_id(self): - """Gets the content_id of this Submission. # noqa: E501 + """Gets the content_id of this JamSubmission. # noqa: E501 Either world ID or avatar ID # noqa: E501 - :return: The content_id of this Submission. # noqa: E501 + :return: The content_id of this JamSubmission. # noqa: E501 :rtype: str """ return self._content_id @content_id.setter def content_id(self, content_id): - """Sets the content_id of this Submission. + """Sets the content_id of this JamSubmission. Either world ID or avatar ID # noqa: E501 - :param content_id: The content_id of this Submission. # noqa: E501 + :param content_id: The content_id of this JamSubmission. # noqa: E501 :type content_id: str """ if self.local_vars_configuration.client_side_validation and content_id is None: # noqa: E501 @@ -109,20 +109,20 @@ def content_id(self, content_id): @property def created_at(self): - """Gets the created_at of this Submission. # noqa: E501 + """Gets the created_at of this JamSubmission. # noqa: E501 - :return: The created_at of this Submission. # noqa: E501 + :return: The created_at of this JamSubmission. # noqa: E501 :rtype: datetime """ return self._created_at @created_at.setter def created_at(self, created_at): - """Sets the created_at of this Submission. + """Sets the created_at of this JamSubmission. - :param created_at: The created_at of this Submission. # noqa: E501 + :param created_at: The created_at of this JamSubmission. # noqa: E501 :type created_at: datetime """ if self.local_vars_configuration.client_side_validation and created_at is None: # noqa: E501 @@ -132,20 +132,20 @@ def created_at(self, created_at): @property def description(self): - """Gets the description of this Submission. # noqa: E501 + """Gets the description of this JamSubmission. # noqa: E501 - :return: The description of this Submission. # noqa: E501 + :return: The description of this JamSubmission. # noqa: E501 :rtype: str """ return self._description @description.setter def description(self, description): - """Sets the description of this Submission. + """Sets the description of this JamSubmission. - :param description: The description of this Submission. # noqa: E501 + :param description: The description of this JamSubmission. # noqa: E501 :type description: str """ if self.local_vars_configuration.client_side_validation and description is None: # noqa: E501 @@ -155,72 +155,66 @@ def description(self, description): @property def id(self): - """Gets the id of this Submission. # noqa: E501 + """Gets the id of this JamSubmission. # noqa: E501 - :return: The id of this Submission. # noqa: E501 + :return: The id of this JamSubmission. # noqa: E501 :rtype: str """ return self._id @id.setter def id(self, id): - """Sets the id of this Submission. + """Sets the id of this JamSubmission. - :param id: The id of this Submission. # noqa: E501 + :param id: The id of this JamSubmission. # noqa: E501 :type id: str """ if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - id is not None and len(id) < 1): - raise ValueError("Invalid value for `id`, length must be greater than or equal to `1`") # noqa: E501 self._id = id @property def jam_id(self): - """Gets the jam_id of this Submission. # noqa: E501 + """Gets the jam_id of this JamSubmission. # noqa: E501 - :return: The jam_id of this Submission. # noqa: E501 + :return: The jam_id of this JamSubmission. # noqa: E501 :rtype: str """ return self._jam_id @jam_id.setter def jam_id(self, jam_id): - """Sets the jam_id of this Submission. + """Sets the jam_id of this JamSubmission. - :param jam_id: The jam_id of this Submission. # noqa: E501 + :param jam_id: The jam_id of this JamSubmission. # noqa: E501 :type jam_id: str """ if self.local_vars_configuration.client_side_validation and jam_id is None: # noqa: E501 raise ValueError("Invalid value for `jam_id`, must not be `None`") # noqa: E501 - if (self.local_vars_configuration.client_side_validation and - jam_id is not None and len(jam_id) < 1): - raise ValueError("Invalid value for `jam_id`, length must be greater than or equal to `1`") # noqa: E501 self._jam_id = jam_id @property def rating_score(self): - """Gets the rating_score of this Submission. # noqa: E501 + """Gets the rating_score of this JamSubmission. # noqa: E501 - :return: The rating_score of this Submission. # noqa: E501 + :return: The rating_score of this JamSubmission. # noqa: E501 :rtype: int """ return self._rating_score @rating_score.setter def rating_score(self, rating_score): - """Sets the rating_score of this Submission. + """Sets the rating_score of this JamSubmission. - :param rating_score: The rating_score of this Submission. # noqa: E501 + :param rating_score: The rating_score of this JamSubmission. # noqa: E501 :type rating_score: int """ if (self.local_vars_configuration.client_side_validation and @@ -231,22 +225,22 @@ def rating_score(self, rating_score): @property def submitter_id(self): - """Gets the submitter_id of this Submission. # noqa: E501 + """Gets the submitter_id of this JamSubmission. # noqa: E501 A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :return: The submitter_id of this Submission. # noqa: E501 + :return: The submitter_id of this JamSubmission. # noqa: E501 :rtype: str """ return self._submitter_id @submitter_id.setter def submitter_id(self, submitter_id): - """Sets the submitter_id of this Submission. + """Sets the submitter_id of this JamSubmission. A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 - :param submitter_id: The submitter_id of this Submission. # noqa: E501 + :param submitter_id: The submitter_id of this JamSubmission. # noqa: E501 :type submitter_id: str """ if self.local_vars_configuration.client_side_validation and submitter_id is None: # noqa: E501 @@ -296,14 +290,14 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, Submission): + if not isinstance(other, JamSubmission): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, Submission): + if not isinstance(other, JamSubmission): return True return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/product_purchase_history.py b/vrchatapi/models/product_purchase_history.py new file mode 100644 index 00000000..5a5eb702 --- /dev/null +++ b/vrchatapi/models/product_purchase_history.py @@ -0,0 +1,186 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.7 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class ProductPurchaseHistory(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'end_date': 'datetime', + 'start_date': 'datetime', + 'transactions': 'list[ProductPurchaseRecord]' + } + + attribute_map = { + 'end_date': 'endDate', + 'start_date': 'startDate', + 'transactions': 'transactions' + } + + def __init__(self, end_date=None, start_date=None, transactions=None, local_vars_configuration=None): # noqa: E501 + """ProductPurchaseHistory - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._end_date = None + self._start_date = None + self._transactions = None + self.discriminator = None + + self.end_date = end_date + self.start_date = start_date + self.transactions = transactions + + @property + def end_date(self): + """Gets the end_date of this ProductPurchaseHistory. # noqa: E501 + + + :return: The end_date of this ProductPurchaseHistory. # noqa: E501 + :rtype: datetime + """ + return self._end_date + + @end_date.setter + def end_date(self, end_date): + """Sets the end_date of this ProductPurchaseHistory. + + + :param end_date: The end_date of this ProductPurchaseHistory. # noqa: E501 + :type end_date: datetime + """ + if self.local_vars_configuration.client_side_validation and end_date is None: # noqa: E501 + raise ValueError("Invalid value for `end_date`, must not be `None`") # noqa: E501 + + self._end_date = end_date + + @property + def start_date(self): + """Gets the start_date of this ProductPurchaseHistory. # noqa: E501 + + + :return: The start_date of this ProductPurchaseHistory. # noqa: E501 + :rtype: datetime + """ + return self._start_date + + @start_date.setter + def start_date(self, start_date): + """Sets the start_date of this ProductPurchaseHistory. + + + :param start_date: The start_date of this ProductPurchaseHistory. # noqa: E501 + :type start_date: datetime + """ + if self.local_vars_configuration.client_side_validation and start_date is None: # noqa: E501 + raise ValueError("Invalid value for `start_date`, must not be `None`") # noqa: E501 + + self._start_date = start_date + + @property + def transactions(self): + """Gets the transactions of this ProductPurchaseHistory. # noqa: E501 + + + :return: The transactions of this ProductPurchaseHistory. # noqa: E501 + :rtype: list[ProductPurchaseRecord] + """ + return self._transactions + + @transactions.setter + def transactions(self, transactions): + """Sets the transactions of this ProductPurchaseHistory. + + + :param transactions: The transactions of this ProductPurchaseHistory. # noqa: E501 + :type transactions: list[ProductPurchaseRecord] + """ + if self.local_vars_configuration.client_side_validation and transactions is None: # noqa: E501 + raise ValueError("Invalid value for `transactions`, must not be `None`") # noqa: E501 + + self._transactions = transactions + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ProductPurchaseHistory): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ProductPurchaseHistory): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/product_purchase_location_type.py b/vrchatapi/models/product_purchase_location_type.py new file mode 100644 index 00000000..009ef818 --- /dev/null +++ b/vrchatapi/models/product_purchase_location_type.py @@ -0,0 +1,120 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.7 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class ProductPurchaseLocationType(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + CLIENT_AVATAR_MARKETPLACE = "client_avatar_marketplace" + CLIENT_CREATOR_STORE = "client_creator_store" + CLIENT_GROUP_STORE = "client_group_store" + CLIENT_WORLD_COMPONENT = "client_world_component" + CLIENT_WORLD_STORE = "client_world_store" + UNDEFINED = "undefined" + WEB_ANY = "web_any" + WEB_AVATAR_MARKETPLACE = "web_avatar_marketplace" + WEB_CREATOR_STORE = "web_creator_store" + WEB_GROUP_STORE = "web_group_store" + WEB_WORLD_STORE = "web_world_store" + + allowable_values = [CLIENT_AVATAR_MARKETPLACE, CLIENT_CREATOR_STORE, CLIENT_GROUP_STORE, CLIENT_WORLD_COMPONENT, CLIENT_WORLD_STORE, UNDEFINED, WEB_ANY, WEB_AVATAR_MARKETPLACE, WEB_CREATOR_STORE, WEB_GROUP_STORE, WEB_WORLD_STORE] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """ProductPurchaseLocationType - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ProductPurchaseLocationType): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ProductPurchaseLocationType): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/product_purchase_record.py b/vrchatapi/models/product_purchase_record.py new file mode 100644 index 00000000..2938fb90 --- /dev/null +++ b/vrchatapi/models/product_purchase_record.py @@ -0,0 +1,431 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.7 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class ProductPurchaseRecord(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'amount': 'int', + 'balance': 'int', + 'date': 'datetime', + 'from_user_display_name': 'str', + 'listing_display_name': 'str', + 'listing_type': 'ProductListingType', + 'platform': 'str', + 'purchase_id': 'str', + 'reason': 'int', + 'reason_label': 'str', + 'transaction_id': 'int', + 'transaction_line_id': 'int' + } + + attribute_map = { + 'amount': 'amount', + 'balance': 'balance', + 'date': 'date', + 'from_user_display_name': 'fromUserDisplayName', + 'listing_display_name': 'listingDisplayName', + 'listing_type': 'listingType', + 'platform': 'platform', + 'purchase_id': 'purchaseId', + 'reason': 'reason', + 'reason_label': 'reasonLabel', + 'transaction_id': 'transactionId', + 'transaction_line_id': 'transactionLineId' + } + + def __init__(self, amount=None, balance=None, date=None, from_user_display_name=None, listing_display_name=None, listing_type=None, platform=None, purchase_id=None, reason=None, reason_label=None, transaction_id=None, transaction_line_id=None, local_vars_configuration=None): # noqa: E501 + """ProductPurchaseRecord - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._amount = None + self._balance = None + self._date = None + self._from_user_display_name = None + self._listing_display_name = None + self._listing_type = None + self._platform = None + self._purchase_id = None + self._reason = None + self._reason_label = None + self._transaction_id = None + self._transaction_line_id = None + self.discriminator = None + + self.amount = amount + self.balance = balance + self.date = date + self.from_user_display_name = from_user_display_name + self.listing_display_name = listing_display_name + self.listing_type = listing_type + self.platform = platform + self.purchase_id = purchase_id + self.reason = reason + self.reason_label = reason_label + self.transaction_id = transaction_id + self.transaction_line_id = transaction_line_id + + @property + def amount(self): + """Gets the amount of this ProductPurchaseRecord. # noqa: E501 + + + :return: The amount of this ProductPurchaseRecord. # noqa: E501 + :rtype: int + """ + return self._amount + + @amount.setter + def amount(self, amount): + """Sets the amount of this ProductPurchaseRecord. + + + :param amount: The amount of this ProductPurchaseRecord. # noqa: E501 + :type amount: int + """ + if self.local_vars_configuration.client_side_validation and amount is None: # noqa: E501 + raise ValueError("Invalid value for `amount`, must not be `None`") # noqa: E501 + + self._amount = amount + + @property + def balance(self): + """Gets the balance of this ProductPurchaseRecord. # noqa: E501 + + + :return: The balance of this ProductPurchaseRecord. # noqa: E501 + :rtype: int + """ + return self._balance + + @balance.setter + def balance(self, balance): + """Sets the balance of this ProductPurchaseRecord. + + + :param balance: The balance of this ProductPurchaseRecord. # noqa: E501 + :type balance: int + """ + if self.local_vars_configuration.client_side_validation and balance is None: # noqa: E501 + raise ValueError("Invalid value for `balance`, must not be `None`") # noqa: E501 + + self._balance = balance + + @property + def date(self): + """Gets the date of this ProductPurchaseRecord. # noqa: E501 + + + :return: The date of this ProductPurchaseRecord. # noqa: E501 + :rtype: datetime + """ + return self._date + + @date.setter + def date(self, date): + """Sets the date of this ProductPurchaseRecord. + + + :param date: The date of this ProductPurchaseRecord. # noqa: E501 + :type date: datetime + """ + if self.local_vars_configuration.client_side_validation and date is None: # noqa: E501 + raise ValueError("Invalid value for `date`, must not be `None`") # noqa: E501 + + self._date = date + + @property + def from_user_display_name(self): + """Gets the from_user_display_name of this ProductPurchaseRecord. # noqa: E501 + + + :return: The from_user_display_name of this ProductPurchaseRecord. # noqa: E501 + :rtype: str + """ + return self._from_user_display_name + + @from_user_display_name.setter + def from_user_display_name(self, from_user_display_name): + """Sets the from_user_display_name of this ProductPurchaseRecord. + + + :param from_user_display_name: The from_user_display_name of this ProductPurchaseRecord. # noqa: E501 + :type from_user_display_name: str + """ + if self.local_vars_configuration.client_side_validation and from_user_display_name is None: # noqa: E501 + raise ValueError("Invalid value for `from_user_display_name`, must not be `None`") # noqa: E501 + + self._from_user_display_name = from_user_display_name + + @property + def listing_display_name(self): + """Gets the listing_display_name of this ProductPurchaseRecord. # noqa: E501 + + + :return: The listing_display_name of this ProductPurchaseRecord. # noqa: E501 + :rtype: str + """ + return self._listing_display_name + + @listing_display_name.setter + def listing_display_name(self, listing_display_name): + """Sets the listing_display_name of this ProductPurchaseRecord. + + + :param listing_display_name: The listing_display_name of this ProductPurchaseRecord. # noqa: E501 + :type listing_display_name: str + """ + if self.local_vars_configuration.client_side_validation and listing_display_name is None: # noqa: E501 + raise ValueError("Invalid value for `listing_display_name`, must not be `None`") # noqa: E501 + + self._listing_display_name = listing_display_name + + @property + def listing_type(self): + """Gets the listing_type of this ProductPurchaseRecord. # noqa: E501 + + + :return: The listing_type of this ProductPurchaseRecord. # noqa: E501 + :rtype: ProductListingType + """ + return self._listing_type + + @listing_type.setter + def listing_type(self, listing_type): + """Sets the listing_type of this ProductPurchaseRecord. + + + :param listing_type: The listing_type of this ProductPurchaseRecord. # noqa: E501 + :type listing_type: ProductListingType + """ + if self.local_vars_configuration.client_side_validation and listing_type is None: # noqa: E501 + raise ValueError("Invalid value for `listing_type`, must not be `None`") # noqa: E501 + + self._listing_type = listing_type + + @property + def platform(self): + """Gets the platform of this ProductPurchaseRecord. # noqa: E501 + + Where (first- or third-party) the purchase was made # noqa: E501 + + :return: The platform of this ProductPurchaseRecord. # noqa: E501 + :rtype: str + """ + return self._platform + + @platform.setter + def platform(self, platform): + """Sets the platform of this ProductPurchaseRecord. + + Where (first- or third-party) the purchase was made # noqa: E501 + + :param platform: The platform of this ProductPurchaseRecord. # noqa: E501 + :type platform: str + """ + if self.local_vars_configuration.client_side_validation and platform is None: # noqa: E501 + raise ValueError("Invalid value for `platform`, must not be `None`") # noqa: E501 + + self._platform = platform + + @property + def purchase_id(self): + """Gets the purchase_id of this ProductPurchaseRecord. # noqa: E501 + + + :return: The purchase_id of this ProductPurchaseRecord. # noqa: E501 + :rtype: str + """ + return self._purchase_id + + @purchase_id.setter + def purchase_id(self, purchase_id): + """Sets the purchase_id of this ProductPurchaseRecord. + + + :param purchase_id: The purchase_id of this ProductPurchaseRecord. # noqa: E501 + :type purchase_id: str + """ + if self.local_vars_configuration.client_side_validation and purchase_id is None: # noqa: E501 + raise ValueError("Invalid value for `purchase_id`, must not be `None`") # noqa: E501 + + self._purchase_id = purchase_id + + @property + def reason(self): + """Gets the reason of this ProductPurchaseRecord. # noqa: E501 + + + :return: The reason of this ProductPurchaseRecord. # noqa: E501 + :rtype: int + """ + return self._reason + + @reason.setter + def reason(self, reason): + """Sets the reason of this ProductPurchaseRecord. + + + :param reason: The reason of this ProductPurchaseRecord. # noqa: E501 + :type reason: int + """ + if self.local_vars_configuration.client_side_validation and reason is None: # noqa: E501 + raise ValueError("Invalid value for `reason`, must not be `None`") # noqa: E501 + + self._reason = reason + + @property + def reason_label(self): + """Gets the reason_label of this ProductPurchaseRecord. # noqa: E501 + + + :return: The reason_label of this ProductPurchaseRecord. # noqa: E501 + :rtype: str + """ + return self._reason_label + + @reason_label.setter + def reason_label(self, reason_label): + """Sets the reason_label of this ProductPurchaseRecord. + + + :param reason_label: The reason_label of this ProductPurchaseRecord. # noqa: E501 + :type reason_label: str + """ + if self.local_vars_configuration.client_side_validation and reason_label is None: # noqa: E501 + raise ValueError("Invalid value for `reason_label`, must not be `None`") # noqa: E501 + + self._reason_label = reason_label + + @property + def transaction_id(self): + """Gets the transaction_id of this ProductPurchaseRecord. # noqa: E501 + + + :return: The transaction_id of this ProductPurchaseRecord. # noqa: E501 + :rtype: int + """ + return self._transaction_id + + @transaction_id.setter + def transaction_id(self, transaction_id): + """Sets the transaction_id of this ProductPurchaseRecord. + + + :param transaction_id: The transaction_id of this ProductPurchaseRecord. # noqa: E501 + :type transaction_id: int + """ + if self.local_vars_configuration.client_side_validation and transaction_id is None: # noqa: E501 + raise ValueError("Invalid value for `transaction_id`, must not be `None`") # noqa: E501 + + self._transaction_id = transaction_id + + @property + def transaction_line_id(self): + """Gets the transaction_line_id of this ProductPurchaseRecord. # noqa: E501 + + + :return: The transaction_line_id of this ProductPurchaseRecord. # noqa: E501 + :rtype: int + """ + return self._transaction_line_id + + @transaction_line_id.setter + def transaction_line_id(self, transaction_line_id): + """Sets the transaction_line_id of this ProductPurchaseRecord. + + + :param transaction_line_id: The transaction_line_id of this ProductPurchaseRecord. # noqa: E501 + :type transaction_line_id: int + """ + if self.local_vars_configuration.client_side_validation and transaction_line_id is None: # noqa: E501 + raise ValueError("Invalid value for `transaction_line_id`, must not be `None`") # noqa: E501 + + self._transaction_line_id = transaction_line_id + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ProductPurchaseRecord): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ProductPurchaseRecord): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/purchase_context_data.py b/vrchatapi/models/purchase_context_data.py new file mode 100644 index 00000000..e33f34a1 --- /dev/null +++ b/vrchatapi/models/purchase_context_data.py @@ -0,0 +1,186 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.7 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class PurchaseContextData(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'location_type': 'ProductPurchaseLocationType', + 'store_id': 'str', + 'world_id': 'str' + } + + attribute_map = { + 'location_type': 'locationType', + 'store_id': 'storeId', + 'world_id': 'worldId' + } + + def __init__(self, location_type=None, store_id=None, world_id=None, local_vars_configuration=None): # noqa: E501 + """PurchaseContextData - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._location_type = None + self._store_id = None + self._world_id = None + self.discriminator = None + + self.location_type = location_type + if store_id is not None: + self.store_id = store_id + if world_id is not None: + self.world_id = world_id + + @property + def location_type(self): + """Gets the location_type of this PurchaseContextData. # noqa: E501 + + + :return: The location_type of this PurchaseContextData. # noqa: E501 + :rtype: ProductPurchaseLocationType + """ + return self._location_type + + @location_type.setter + def location_type(self, location_type): + """Sets the location_type of this PurchaseContextData. + + + :param location_type: The location_type of this PurchaseContextData. # noqa: E501 + :type location_type: ProductPurchaseLocationType + """ + if self.local_vars_configuration.client_side_validation and location_type is None: # noqa: E501 + raise ValueError("Invalid value for `location_type`, must not be `None`") # noqa: E501 + + self._location_type = location_type + + @property + def store_id(self): + """Gets the store_id of this PurchaseContextData. # noqa: E501 + + + :return: The store_id of this PurchaseContextData. # noqa: E501 + :rtype: str + """ + return self._store_id + + @store_id.setter + def store_id(self, store_id): + """Sets the store_id of this PurchaseContextData. + + + :param store_id: The store_id of this PurchaseContextData. # noqa: E501 + :type store_id: str + """ + + self._store_id = store_id + + @property + def world_id(self): + """Gets the world_id of this PurchaseContextData. # noqa: E501 + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :return: The world_id of this PurchaseContextData. # noqa: E501 + :rtype: str + """ + return self._world_id + + @world_id.setter + def world_id(self, world_id): + """Sets the world_id of this PurchaseContextData. + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :param world_id: The world_id of this PurchaseContextData. # noqa: E501 + :type world_id: str + """ + + self._world_id = world_id + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, PurchaseContextData): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, PurchaseContextData): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/purchase_product_listing_request.py b/vrchatapi/models/purchase_product_listing_request.py index 7ba22fa8..33ed0354 100644 --- a/vrchatapi/models/purchase_product_listing_request.py +++ b/vrchatapi/models/purchase_product_listing_request.py @@ -36,32 +36,73 @@ class PurchaseProductListingRequest(object): and the value is json key in definition. """ openapi_types = { + 'context_data': 'PurchaseContextData', 'listing_id': 'str', + 'listing_variant_id': 'str', 'quantity': 'int', + 'receiver_id': 'str', + 'stackable': 'bool', 'total_price': 'int' } attribute_map = { + 'context_data': 'contextData', 'listing_id': 'listingId', + 'listing_variant_id': 'listingVariantId', 'quantity': 'quantity', + 'receiver_id': 'receiverId', + 'stackable': 'stackable', 'total_price': 'totalPrice' } - def __init__(self, listing_id=None, quantity=1, total_price=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, context_data=None, listing_id=None, listing_variant_id=None, quantity=1, receiver_id=None, stackable=None, total_price=None, local_vars_configuration=None): # noqa: E501 """PurchaseProductListingRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration + self._context_data = None self._listing_id = None + self._listing_variant_id = None self._quantity = None + self._receiver_id = None + self._stackable = None self._total_price = None self.discriminator = None + if context_data is not None: + self.context_data = context_data self.listing_id = listing_id + if listing_variant_id is not None: + self.listing_variant_id = listing_variant_id self.quantity = quantity + if receiver_id is not None: + self.receiver_id = receiver_id + if stackable is not None: + self.stackable = stackable self.total_price = total_price + @property + def context_data(self): + """Gets the context_data of this PurchaseProductListingRequest. # noqa: E501 + + + :return: The context_data of this PurchaseProductListingRequest. # noqa: E501 + :rtype: PurchaseContextData + """ + return self._context_data + + @context_data.setter + def context_data(self, context_data): + """Sets the context_data of this PurchaseProductListingRequest. + + + :param context_data: The context_data of this PurchaseProductListingRequest. # noqa: E501 + :type context_data: PurchaseContextData + """ + + self._context_data = context_data + @property def listing_id(self): """Gets the listing_id of this PurchaseProductListingRequest. # noqa: E501 @@ -85,6 +126,27 @@ def listing_id(self, listing_id): self._listing_id = listing_id + @property + def listing_variant_id(self): + """Gets the listing_variant_id of this PurchaseProductListingRequest. # noqa: E501 + + + :return: The listing_variant_id of this PurchaseProductListingRequest. # noqa: E501 + :rtype: str + """ + return self._listing_variant_id + + @listing_variant_id.setter + def listing_variant_id(self, listing_variant_id): + """Sets the listing_variant_id of this PurchaseProductListingRequest. + + + :param listing_variant_id: The listing_variant_id of this PurchaseProductListingRequest. # noqa: E501 + :type listing_variant_id: str + """ + + self._listing_variant_id = listing_variant_id + @property def quantity(self): """Gets the quantity of this PurchaseProductListingRequest. # noqa: E501 @@ -114,6 +176,50 @@ def quantity(self, quantity): self._quantity = quantity + @property + def receiver_id(self): + """Gets the receiver_id of this PurchaseProductListingRequest. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The receiver_id of this PurchaseProductListingRequest. # noqa: E501 + :rtype: str + """ + return self._receiver_id + + @receiver_id.setter + def receiver_id(self, receiver_id): + """Sets the receiver_id of this PurchaseProductListingRequest. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param receiver_id: The receiver_id of this PurchaseProductListingRequest. # noqa: E501 + :type receiver_id: str + """ + + self._receiver_id = receiver_id + + @property + def stackable(self): + """Gets the stackable of this PurchaseProductListingRequest. # noqa: E501 + + + :return: The stackable of this PurchaseProductListingRequest. # noqa: E501 + :rtype: bool + """ + return self._stackable + + @stackable.setter + def stackable(self, stackable): + """Sets the stackable of this PurchaseProductListingRequest. + + + :param stackable: The stackable of this PurchaseProductListingRequest. # noqa: E501 + :type stackable: bool + """ + + self._stackable = stackable + @property def total_price(self): """Gets the total_price of this PurchaseProductListingRequest. # noqa: E501 diff --git a/vrchatapi/models/reward_badge.py b/vrchatapi/models/reward_badge.py new file mode 100644 index 00000000..f6c4c2bd --- /dev/null +++ b/vrchatapi/models/reward_badge.py @@ -0,0 +1,430 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.7 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class RewardBadge(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'created_at': 'datetime', + 'created_by': 'str', + 'description': 'str', + 'file_name': 'str', + 'hidden': 'bool', + 'id': 'str', + 'image_url': 'str', + 'is_localization_enabled': 'bool', + 'machine_name': 'str', + 'name': 'str', + 'type': 'str', + 'updated_at': 'datetime' + } + + attribute_map = { + 'created_at': 'createdAt', + 'created_by': 'createdBy', + 'description': 'description', + 'file_name': 'fileName', + 'hidden': 'hidden', + 'id': 'id', + 'image_url': 'imageUrl', + 'is_localization_enabled': 'isLocalizationEnabled', + 'machine_name': 'machineName', + 'name': 'name', + 'type': 'type', + 'updated_at': 'updatedAt' + } + + def __init__(self, created_at=None, created_by=None, description=None, file_name=None, hidden=None, id=None, image_url=None, is_localization_enabled=None, machine_name=None, name=None, type=None, updated_at=None, local_vars_configuration=None): # noqa: E501 + """RewardBadge - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._created_at = None + self._created_by = None + self._description = None + self._file_name = None + self._hidden = None + self._id = None + self._image_url = None + self._is_localization_enabled = None + self._machine_name = None + self._name = None + self._type = None + self._updated_at = None + self.discriminator = None + + self.created_at = created_at + self.created_by = created_by + self.description = description + self.file_name = file_name + self.hidden = hidden + self.id = id + self.image_url = image_url + self.is_localization_enabled = is_localization_enabled + if machine_name is not None: + self.machine_name = machine_name + self.name = name + self.type = type + self.updated_at = updated_at + + @property + def created_at(self): + """Gets the created_at of this RewardBadge. # noqa: E501 + + + :return: The created_at of this RewardBadge. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this RewardBadge. + + + :param created_at: The created_at of this RewardBadge. # noqa: E501 + :type created_at: datetime + """ + if self.local_vars_configuration.client_side_validation and created_at is None: # noqa: E501 + raise ValueError("Invalid value for `created_at`, must not be `None`") # noqa: E501 + + self._created_at = created_at + + @property + def created_by(self): + """Gets the created_by of this RewardBadge. # noqa: E501 + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :return: The created_by of this RewardBadge. # noqa: E501 + :rtype: str + """ + return self._created_by + + @created_by.setter + def created_by(self, created_by): + """Sets the created_by of this RewardBadge. + + A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. # noqa: E501 + + :param created_by: The created_by of this RewardBadge. # noqa: E501 + :type created_by: str + """ + if self.local_vars_configuration.client_side_validation and created_by is None: # noqa: E501 + raise ValueError("Invalid value for `created_by`, must not be `None`") # noqa: E501 + + self._created_by = created_by + + @property + def description(self): + """Gets the description of this RewardBadge. # noqa: E501 + + + :return: The description of this RewardBadge. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this RewardBadge. + + + :param description: The description of this RewardBadge. # noqa: E501 + :type description: str + """ + if self.local_vars_configuration.client_side_validation and description is None: # noqa: E501 + raise ValueError("Invalid value for `description`, must not be `None`") # noqa: E501 + + self._description = description + + @property + def file_name(self): + """Gets the file_name of this RewardBadge. # noqa: E501 + + + :return: The file_name of this RewardBadge. # noqa: E501 + :rtype: str + """ + return self._file_name + + @file_name.setter + def file_name(self, file_name): + """Sets the file_name of this RewardBadge. + + + :param file_name: The file_name of this RewardBadge. # noqa: E501 + :type file_name: str + """ + if self.local_vars_configuration.client_side_validation and file_name is None: # noqa: E501 + raise ValueError("Invalid value for `file_name`, must not be `None`") # noqa: E501 + + self._file_name = file_name + + @property + def hidden(self): + """Gets the hidden of this RewardBadge. # noqa: E501 + + + :return: The hidden of this RewardBadge. # noqa: E501 + :rtype: bool + """ + return self._hidden + + @hidden.setter + def hidden(self, hidden): + """Sets the hidden of this RewardBadge. + + + :param hidden: The hidden of this RewardBadge. # noqa: E501 + :type hidden: bool + """ + if self.local_vars_configuration.client_side_validation and hidden is None: # noqa: E501 + raise ValueError("Invalid value for `hidden`, must not be `None`") # noqa: E501 + + self._hidden = hidden + + @property + def id(self): + """Gets the id of this RewardBadge. # noqa: E501 + + + :return: The id of this RewardBadge. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this RewardBadge. + + + :param id: The id of this RewardBadge. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + + self._id = id + + @property + def image_url(self): + """Gets the image_url of this RewardBadge. # noqa: E501 + + + :return: The image_url of this RewardBadge. # noqa: E501 + :rtype: str + """ + return self._image_url + + @image_url.setter + def image_url(self, image_url): + """Sets the image_url of this RewardBadge. + + + :param image_url: The image_url of this RewardBadge. # noqa: E501 + :type image_url: str + """ + if self.local_vars_configuration.client_side_validation and image_url is None: # noqa: E501 + raise ValueError("Invalid value for `image_url`, must not be `None`") # noqa: E501 + + self._image_url = image_url + + @property + def is_localization_enabled(self): + """Gets the is_localization_enabled of this RewardBadge. # noqa: E501 + + + :return: The is_localization_enabled of this RewardBadge. # noqa: E501 + :rtype: bool + """ + return self._is_localization_enabled + + @is_localization_enabled.setter + def is_localization_enabled(self, is_localization_enabled): + """Sets the is_localization_enabled of this RewardBadge. + + + :param is_localization_enabled: The is_localization_enabled of this RewardBadge. # noqa: E501 + :type is_localization_enabled: bool + """ + if self.local_vars_configuration.client_side_validation and is_localization_enabled is None: # noqa: E501 + raise ValueError("Invalid value for `is_localization_enabled`, must not be `None`") # noqa: E501 + + self._is_localization_enabled = is_localization_enabled + + @property + def machine_name(self): + """Gets the machine_name of this RewardBadge. # noqa: E501 + + + :return: The machine_name of this RewardBadge. # noqa: E501 + :rtype: str + """ + return self._machine_name + + @machine_name.setter + def machine_name(self, machine_name): + """Sets the machine_name of this RewardBadge. + + + :param machine_name: The machine_name of this RewardBadge. # noqa: E501 + :type machine_name: str + """ + + self._machine_name = machine_name + + @property + def name(self): + """Gets the name of this RewardBadge. # noqa: E501 + + + :return: The name of this RewardBadge. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this RewardBadge. + + + :param name: The name of this RewardBadge. # noqa: E501 + :type name: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + + @property + def type(self): + """Gets the type of this RewardBadge. # noqa: E501 + + + :return: The type of this RewardBadge. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this RewardBadge. + + + :param type: The type of this RewardBadge. # noqa: E501 + :type type: str + """ + if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501 + raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 + + self._type = type + + @property + def updated_at(self): + """Gets the updated_at of this RewardBadge. # noqa: E501 + + + :return: The updated_at of this RewardBadge. # noqa: E501 + :rtype: datetime + """ + return self._updated_at + + @updated_at.setter + def updated_at(self, updated_at): + """Sets the updated_at of this RewardBadge. + + + :param updated_at: The updated_at of this RewardBadge. # noqa: E501 + :type updated_at: datetime + """ + if self.local_vars_configuration.client_side_validation and updated_at is None: # noqa: E501 + raise ValueError("Invalid value for `updated_at`, must not be `None`") # noqa: E501 + + self._updated_at = updated_at + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, RewardBadge): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, RewardBadge): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/reward_redemption.py b/vrchatapi/models/reward_redemption.py new file mode 100644 index 00000000..67b10b4d --- /dev/null +++ b/vrchatapi/models/reward_redemption.py @@ -0,0 +1,161 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.7 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class RewardRedemption(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'data': 'RewardRedemptionData', + 'type': 'str' + } + + attribute_map = { + 'data': 'data', + 'type': 'type' + } + + def __init__(self, data=None, type=None, local_vars_configuration=None): # noqa: E501 + """RewardRedemption - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._data = None + self._type = None + self.discriminator = None + + self.data = data + self.type = type + + @property + def data(self): + """Gets the data of this RewardRedemption. # noqa: E501 + + + :return: The data of this RewardRedemption. # noqa: E501 + :rtype: RewardRedemptionData + """ + return self._data + + @data.setter + def data(self, data): + """Sets the data of this RewardRedemption. + + + :param data: The data of this RewardRedemption. # noqa: E501 + :type data: RewardRedemptionData + """ + if self.local_vars_configuration.client_side_validation and data is None: # noqa: E501 + raise ValueError("Invalid value for `data`, must not be `None`") # noqa: E501 + + self._data = data + + @property + def type(self): + """Gets the type of this RewardRedemption. # noqa: E501 + + One of `badge`, `item`, ... # noqa: E501 + + :return: The type of this RewardRedemption. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this RewardRedemption. + + One of `badge`, `item`, ... # noqa: E501 + + :param type: The type of this RewardRedemption. # noqa: E501 + :type type: str + """ + if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501 + raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 + + self._type = type + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, RewardRedemption): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, RewardRedemption): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/reward_redemption_data.py b/vrchatapi/models/reward_redemption_data.py new file mode 100644 index 00000000..92d6b9d4 --- /dev/null +++ b/vrchatapi/models/reward_redemption_data.py @@ -0,0 +1,157 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.7 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class RewardRedemptionData(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'badge': 'RewardBadge', + 'item': 'InventoryTemplate' + } + + attribute_map = { + 'badge': 'badge', + 'item': 'item' + } + + def __init__(self, badge=None, item=None, local_vars_configuration=None): # noqa: E501 + """RewardRedemptionData - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._badge = None + self._item = None + self.discriminator = None + + if badge is not None: + self.badge = badge + if item is not None: + self.item = item + + @property + def badge(self): + """Gets the badge of this RewardRedemptionData. # noqa: E501 + + + :return: The badge of this RewardRedemptionData. # noqa: E501 + :rtype: RewardBadge + """ + return self._badge + + @badge.setter + def badge(self, badge): + """Sets the badge of this RewardRedemptionData. + + + :param badge: The badge of this RewardRedemptionData. # noqa: E501 + :type badge: RewardBadge + """ + + self._badge = badge + + @property + def item(self): + """Gets the item of this RewardRedemptionData. # noqa: E501 + + + :return: The item of this RewardRedemptionData. # noqa: E501 + :rtype: InventoryTemplate + """ + return self._item + + @item.setter + def item(self, item): + """Sets the item of this RewardRedemptionData. + + + :param item: The item of this RewardRedemptionData. # noqa: E501 + :type item: InventoryTemplate + """ + + self._item = item + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, RewardRedemptionData): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, RewardRedemptionData): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/reward_redemption_request.py b/vrchatapi/models/reward_redemption_request.py new file mode 100644 index 00000000..3d57d00a --- /dev/null +++ b/vrchatapi/models/reward_redemption_request.py @@ -0,0 +1,132 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.7 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class RewardRedemptionRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'code': 'str' + } + + attribute_map = { + 'code': 'code' + } + + def __init__(self, code=None, local_vars_configuration=None): # noqa: E501 + """RewardRedemptionRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._code = None + self.discriminator = None + + self.code = code + + @property + def code(self): + """Gets the code of this RewardRedemptionRequest. # noqa: E501 + + + :return: The code of this RewardRedemptionRequest. # noqa: E501 + :rtype: str + """ + return self._code + + @code.setter + def code(self, code): + """Sets the code of this RewardRedemptionRequest. + + + :param code: The code of this RewardRedemptionRequest. # noqa: E501 + :type code: str + """ + if self.local_vars_configuration.client_side_validation and code is None: # noqa: E501 + raise ValueError("Invalid value for `code`, must not be `None`") # noqa: E501 + + self._code = code + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, RewardRedemptionRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, RewardRedemptionRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/reward_redemption_result.py b/vrchatapi/models/reward_redemption_result.py new file mode 100644 index 00000000..6bcba322 --- /dev/null +++ b/vrchatapi/models/reward_redemption_result.py @@ -0,0 +1,159 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.7 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class RewardRedemptionResult(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'redeemed_rewards': 'list[RewardRedemption]', + 'redemption_code': 'str' + } + + attribute_map = { + 'redeemed_rewards': 'redeemedRewards', + 'redemption_code': 'redemptionCode' + } + + def __init__(self, redeemed_rewards=None, redemption_code=None, local_vars_configuration=None): # noqa: E501 + """RewardRedemptionResult - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._redeemed_rewards = None + self._redemption_code = None + self.discriminator = None + + self.redeemed_rewards = redeemed_rewards + self.redemption_code = redemption_code + + @property + def redeemed_rewards(self): + """Gets the redeemed_rewards of this RewardRedemptionResult. # noqa: E501 + + + :return: The redeemed_rewards of this RewardRedemptionResult. # noqa: E501 + :rtype: list[RewardRedemption] + """ + return self._redeemed_rewards + + @redeemed_rewards.setter + def redeemed_rewards(self, redeemed_rewards): + """Sets the redeemed_rewards of this RewardRedemptionResult. + + + :param redeemed_rewards: The redeemed_rewards of this RewardRedemptionResult. # noqa: E501 + :type redeemed_rewards: list[RewardRedemption] + """ + if self.local_vars_configuration.client_side_validation and redeemed_rewards is None: # noqa: E501 + raise ValueError("Invalid value for `redeemed_rewards`, must not be `None`") # noqa: E501 + + self._redeemed_rewards = redeemed_rewards + + @property + def redemption_code(self): + """Gets the redemption_code of this RewardRedemptionResult. # noqa: E501 + + + :return: The redemption_code of this RewardRedemptionResult. # noqa: E501 + :rtype: str + """ + return self._redemption_code + + @redemption_code.setter + def redemption_code(self, redemption_code): + """Sets the redemption_code of this RewardRedemptionResult. + + + :param redemption_code: The redemption_code of this RewardRedemptionResult. # noqa: E501 + :type redemption_code: str + """ + if self.local_vars_configuration.client_side_validation and redemption_code is None: # noqa: E501 + raise ValueError("Invalid value for `redemption_code`, must not be `None`") # noqa: E501 + + self._redemption_code = redemption_code + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, RewardRedemptionResult): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, RewardRedemptionResult): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/seller_eligibility.py b/vrchatapi/models/seller_eligibility.py new file mode 100644 index 00000000..ac057a93 --- /dev/null +++ b/vrchatapi/models/seller_eligibility.py @@ -0,0 +1,132 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.7 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class SellerEligibility(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'eligible': 'bool' + } + + attribute_map = { + 'eligible': 'eligible' + } + + def __init__(self, eligible=None, local_vars_configuration=None): # noqa: E501 + """SellerEligibility - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._eligible = None + self.discriminator = None + + self.eligible = eligible + + @property + def eligible(self): + """Gets the eligible of this SellerEligibility. # noqa: E501 + + + :return: The eligible of this SellerEligibility. # noqa: E501 + :rtype: bool + """ + return self._eligible + + @eligible.setter + def eligible(self, eligible): + """Sets the eligible of this SellerEligibility. + + + :param eligible: The eligible of this SellerEligibility. # noqa: E501 + :type eligible: bool + """ + if self.local_vars_configuration.client_side_validation and eligible is None: # noqa: E501 + raise ValueError("Invalid value for `eligible`, must not be `None`") # noqa: E501 + + self._eligible = eligible + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, SellerEligibility): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, SellerEligibility): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/tutorial_status.py b/vrchatapi/models/tutorial_status.py new file mode 100644 index 00000000..dfc31690 --- /dev/null +++ b/vrchatapi/models/tutorial_status.py @@ -0,0 +1,215 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.7 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class TutorialStatus(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'completed': 'bool', + 'completed_any_tutorial': 'bool', + 'completed_tutorials': 'list[str]', + 'tutorial_key': 'str' + } + + attribute_map = { + 'completed': 'completed', + 'completed_any_tutorial': 'completedAnyTutorial', + 'completed_tutorials': 'completedTutorials', + 'tutorial_key': 'tutorialKey' + } + + def __init__(self, completed=None, completed_any_tutorial=None, completed_tutorials=None, tutorial_key='undefined:undefined:v1', local_vars_configuration=None): # noqa: E501 + """TutorialStatus - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._completed = None + self._completed_any_tutorial = None + self._completed_tutorials = None + self._tutorial_key = None + self.discriminator = None + + self.completed = completed + self.completed_any_tutorial = completed_any_tutorial + self.completed_tutorials = completed_tutorials + self.tutorial_key = tutorial_key + + @property + def completed(self): + """Gets the completed of this TutorialStatus. # noqa: E501 + + + :return: The completed of this TutorialStatus. # noqa: E501 + :rtype: bool + """ + return self._completed + + @completed.setter + def completed(self, completed): + """Sets the completed of this TutorialStatus. + + + :param completed: The completed of this TutorialStatus. # noqa: E501 + :type completed: bool + """ + if self.local_vars_configuration.client_side_validation and completed is None: # noqa: E501 + raise ValueError("Invalid value for `completed`, must not be `None`") # noqa: E501 + + self._completed = completed + + @property + def completed_any_tutorial(self): + """Gets the completed_any_tutorial of this TutorialStatus. # noqa: E501 + + + :return: The completed_any_tutorial of this TutorialStatus. # noqa: E501 + :rtype: bool + """ + return self._completed_any_tutorial + + @completed_any_tutorial.setter + def completed_any_tutorial(self, completed_any_tutorial): + """Sets the completed_any_tutorial of this TutorialStatus. + + + :param completed_any_tutorial: The completed_any_tutorial of this TutorialStatus. # noqa: E501 + :type completed_any_tutorial: bool + """ + if self.local_vars_configuration.client_side_validation and completed_any_tutorial is None: # noqa: E501 + raise ValueError("Invalid value for `completed_any_tutorial`, must not be `None`") # noqa: E501 + + self._completed_any_tutorial = completed_any_tutorial + + @property + def completed_tutorials(self): + """Gets the completed_tutorials of this TutorialStatus. # noqa: E501 + + + :return: The completed_tutorials of this TutorialStatus. # noqa: E501 + :rtype: list[str] + """ + return self._completed_tutorials + + @completed_tutorials.setter + def completed_tutorials(self, completed_tutorials): + """Sets the completed_tutorials of this TutorialStatus. + + + :param completed_tutorials: The completed_tutorials of this TutorialStatus. # noqa: E501 + :type completed_tutorials: list[str] + """ + if self.local_vars_configuration.client_side_validation and completed_tutorials is None: # noqa: E501 + raise ValueError("Invalid value for `completed_tutorials`, must not be `None`") # noqa: E501 + + self._completed_tutorials = completed_tutorials + + @property + def tutorial_key(self): + """Gets the tutorial_key of this TutorialStatus. # noqa: E501 + + The ID of a tutorial, in the format `{platform}:{tutorial}:{version}`. `undefined:undefined:v1` is used as a null-ish or sentinel value. # noqa: E501 + + :return: The tutorial_key of this TutorialStatus. # noqa: E501 + :rtype: str + """ + return self._tutorial_key + + @tutorial_key.setter + def tutorial_key(self, tutorial_key): + """Sets the tutorial_key of this TutorialStatus. + + The ID of a tutorial, in the format `{platform}:{tutorial}:{version}`. `undefined:undefined:v1` is used as a null-ish or sentinel value. # noqa: E501 + + :param tutorial_key: The tutorial_key of this TutorialStatus. # noqa: E501 + :type tutorial_key: str + """ + if self.local_vars_configuration.client_side_validation and tutorial_key is None: # noqa: E501 + raise ValueError("Invalid value for `tutorial_key`, must not be `None`") # noqa: E501 + + self._tutorial_key = tutorial_key + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, TutorialStatus): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, TutorialStatus): + return True + + return self.to_dict() != other.to_dict() From 91915f1f562872bc497905e94e7d9e0f5da9b34d Mon Sep 17 00:00:00 2001 From: ariesclark Date: Sat, 4 Apr 2026 16:48:23 +0000 Subject: [PATCH 099/102] Upgrade Python SDK to spec 1.20.8.dev12 --- .openapi-generator/FILES | 24 + docs/CreateListingRequest.md | 19 + docs/CreateProductRequest.md | 16 + docs/EconomyAccount.md | 7 + docs/EconomyApi.md | 1652 +++++++-- docs/EconomyBalances.md | 13 + docs/EconomyPayout.md | 26 + docs/EconomyPayoutEligibility.md | 15 + docs/EconomyPayoutList.md | 11 + docs/EconomyPayoutStatus.md | 18 + docs/Product.md | 4 + docs/ProductListing.md | 5 + docs/ProductPurchase.md | 6 +- docs/ProductPurchaseProduct.md | 15 + docs/ProductPurchasePurchaseContext.md | 2 + docs/Store.md | 4 + docs/StoreContext.md | 13 + docs/TiliaKyc.md | 18 + docs/UpdateListingRequest.md | 11 + docs/UpdateProductRequest.md | 15 + setup.py | 2 +- vrchatapi/__init__.py | 12 + vrchatapi/api/economy_api.py | 3283 +++++++++++++---- vrchatapi/models/__init__.py | 12 + vrchatapi/models/create_listing_request.py | 320 ++ vrchatapi/models/create_product_request.py | 267 ++ vrchatapi/models/economy_account.py | 179 +- vrchatapi/models/economy_balances.py | 186 + vrchatapi/models/economy_payout.py | 525 +++ .../models/economy_payout_eligibility.py | 240 ++ vrchatapi/models/economy_payout_list.py | 132 + vrchatapi/models/economy_payout_status.py | 320 ++ vrchatapi/models/product.py | 105 +- vrchatapi/models/product_listing.py | 132 +- vrchatapi/models/product_listing_type.py | 3 +- vrchatapi/models/product_purchase.py | 116 +- vrchatapi/models/product_purchase_product.py | 237 ++ .../product_purchase_purchase_context.py | 60 +- vrchatapi/models/store.py | 106 +- vrchatapi/models/store_context.py | 184 + vrchatapi/models/tilia_kyc.py | 337 ++ vrchatapi/models/update_listing_request.py | 132 + vrchatapi/models/update_product_request.py | 235 ++ 43 files changed, 7905 insertions(+), 1114 deletions(-) create mode 100644 docs/CreateListingRequest.md create mode 100644 docs/CreateProductRequest.md create mode 100644 docs/EconomyBalances.md create mode 100644 docs/EconomyPayout.md create mode 100644 docs/EconomyPayoutEligibility.md create mode 100644 docs/EconomyPayoutList.md create mode 100644 docs/EconomyPayoutStatus.md create mode 100644 docs/ProductPurchaseProduct.md create mode 100644 docs/StoreContext.md create mode 100644 docs/TiliaKyc.md create mode 100644 docs/UpdateListingRequest.md create mode 100644 docs/UpdateProductRequest.md create mode 100644 vrchatapi/models/create_listing_request.py create mode 100644 vrchatapi/models/create_product_request.py create mode 100644 vrchatapi/models/economy_balances.py create mode 100644 vrchatapi/models/economy_payout.py create mode 100644 vrchatapi/models/economy_payout_eligibility.py create mode 100644 vrchatapi/models/economy_payout_list.py create mode 100644 vrchatapi/models/economy_payout_status.py create mode 100644 vrchatapi/models/product_purchase_product.py create mode 100644 vrchatapi/models/store_context.py create mode 100644 vrchatapi/models/tilia_kyc.py create mode 100644 vrchatapi/models/update_listing_request.py create mode 100644 vrchatapi/models/update_product_request.py diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 15a75924..850e8749 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -68,6 +68,8 @@ docs/CreateGroupRequest.md docs/CreateGroupRoleRequest.md docs/CreateInstanceRequest.md docs/CreateJamSubmissionRequest.md +docs/CreateListingRequest.md +docs/CreateProductRequest.md docs/CreatePropRequest.md docs/CreateWorldRequest.md docs/CurrentUser.md @@ -82,6 +84,11 @@ docs/EarningsMetrics.md docs/EarningsMetricsTotals.md docs/EconomyAccount.md docs/EconomyApi.md +docs/EconomyBalances.md +docs/EconomyPayout.md +docs/EconomyPayoutEligibility.md +docs/EconomyPayoutList.md +docs/EconomyPayoutStatus.md docs/EquipInventoryItemRequest.md docs/Error.md docs/Favorite.md @@ -233,6 +240,7 @@ docs/ProductListingVariant.md docs/ProductPurchase.md docs/ProductPurchaseHistory.md docs/ProductPurchaseLocationType.md +docs/ProductPurchaseProduct.md docs/ProductPurchasePurchaseContext.md docs/ProductPurchaseRecord.md docs/ProductType.md @@ -266,6 +274,7 @@ docs/ShareInventoryItemDirectRequest.md docs/SortOption.md docs/SortOptionProductPurchase.md docs/Store.md +docs/StoreContext.md docs/StoreShelf.md docs/StoreType.md docs/StoreView.md @@ -275,6 +284,7 @@ docs/Subscription.md docs/SubscriptionPeriod.md docs/Success.md docs/SuccessFlag.md +docs/TiliaKyc.md docs/TiliaStatus.md docs/TiliaTOS.md docs/TokenBundle.md @@ -301,6 +311,8 @@ docs/UpdateGroupRequest.md docs/UpdateGroupRoleRequest.md docs/UpdateInventoryItemRequest.md docs/UpdateInviteMessageRequest.md +docs/UpdateListingRequest.md +docs/UpdateProductRequest.md docs/UpdatePropRequest.md docs/UpdateTiliaTOSRequest.md docs/UpdateUserBadgeRequest.md @@ -421,6 +433,8 @@ vrchatapi/models/create_group_request.py vrchatapi/models/create_group_role_request.py vrchatapi/models/create_instance_request.py vrchatapi/models/create_jam_submission_request.py +vrchatapi/models/create_listing_request.py +vrchatapi/models/create_product_request.py vrchatapi/models/create_prop_request.py vrchatapi/models/create_world_request.py vrchatapi/models/current_user.py @@ -434,6 +448,11 @@ vrchatapi/models/dynamic_content_row.py vrchatapi/models/earnings_metrics.py vrchatapi/models/earnings_metrics_totals.py vrchatapi/models/economy_account.py +vrchatapi/models/economy_balances.py +vrchatapi/models/economy_payout.py +vrchatapi/models/economy_payout_eligibility.py +vrchatapi/models/economy_payout_list.py +vrchatapi/models/economy_payout_status.py vrchatapi/models/equip_inventory_item_request.py vrchatapi/models/error.py vrchatapi/models/favorite.py @@ -573,6 +592,7 @@ vrchatapi/models/product_listing_variant.py vrchatapi/models/product_purchase.py vrchatapi/models/product_purchase_history.py vrchatapi/models/product_purchase_location_type.py +vrchatapi/models/product_purchase_product.py vrchatapi/models/product_purchase_purchase_context.py vrchatapi/models/product_purchase_record.py vrchatapi/models/product_type.py @@ -605,6 +625,7 @@ vrchatapi/models/share_inventory_item_direct_request.py vrchatapi/models/sort_option.py vrchatapi/models/sort_option_product_purchase.py vrchatapi/models/store.py +vrchatapi/models/store_context.py vrchatapi/models/store_shelf.py vrchatapi/models/store_type.py vrchatapi/models/store_view.py @@ -614,6 +635,7 @@ vrchatapi/models/subscription.py vrchatapi/models/subscription_period.py vrchatapi/models/success.py vrchatapi/models/success_flag.py +vrchatapi/models/tilia_kyc.py vrchatapi/models/tilia_status.py vrchatapi/models/tilia_tos.py vrchatapi/models/token_bundle.py @@ -640,6 +662,8 @@ vrchatapi/models/update_group_request.py vrchatapi/models/update_group_role_request.py vrchatapi/models/update_inventory_item_request.py vrchatapi/models/update_invite_message_request.py +vrchatapi/models/update_listing_request.py +vrchatapi/models/update_product_request.py vrchatapi/models/update_prop_request.py vrchatapi/models/update_tilia_tos_request.py vrchatapi/models/update_user_badge_request.py diff --git a/docs/CreateListingRequest.md b/docs/CreateListingRequest.md new file mode 100644 index 00000000..bf6bc89f --- /dev/null +++ b/docs/CreateListingRequest.md @@ -0,0 +1,19 @@ +# CreateListingRequest + +Observed create-listing payload fields. Additional fields may exist. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**active** | **bool** | | [optional] +**description** | **str** | | +**display_name** | **str** | | +**image_id** | **str** | | +**listing_type** | [**ProductListingType**](ProductListingType.md) | | +**price_tokens** | **int** | | +**product_ids** | **list[str]** | | +**store_ids** | **list[str]** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CreateProductRequest.md b/docs/CreateProductRequest.md new file mode 100644 index 00000000..0d17e857 --- /dev/null +++ b/docs/CreateProductRequest.md @@ -0,0 +1,16 @@ +# CreateProductRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**description** | **str** | | +**display_name** | **str** | | +**image_id** | **str** | | +**product_type** | [**ProductType**](ProductType.md) | | +**tags** | **list[str]** | | +**use_for_subscriber_list** | **bool** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EconomyAccount.md b/docs/EconomyAccount.md index c291b46d..ff0fa8f7 100644 --- a/docs/EconomyAccount.md +++ b/docs/EconomyAccount.md @@ -6,9 +6,16 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **account_activated_on** | **datetime** | | **account_id** | **str** | | +**account_seller_registered_on** | **datetime** | | [optional] +**account_seller_status** | **str** | | [optional] **blocked** | **bool** | | +**can_earn** | **bool** | | [optional] +**can_payout** | **bool** | | [optional] **can_spend** | **bool** | | +**skrill_email** | **str** | | [optional] **source** | **str** | | +**tilia_id** | **str** | | [optional] +**tilia_type** | **str** | | [optional] **user_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EconomyApi.md b/docs/EconomyApi.md index bd4e7f2e..a9b20cb4 100644 --- a/docs/EconomyApi.md +++ b/docs/EconomyApi.md @@ -4,6 +4,10 @@ All URIs are relative to *https://api.vrchat.cloud/api/1* Method | HTTP request | Description ------------- | ------------- | ------------- +[**create_product**](EconomyApi.md#create_product) | **POST** /products | Create Product +[**create_product_listing_direct**](EconomyApi.md#create_product_listing_direct) | **POST** /listing | Create Product Listing +[**delete_product**](EconomyApi.md#delete_product) | **DELETE** /products/{productId} | Delete Product +[**delete_product_listing_direct**](EconomyApi.md#delete_product_listing_direct) | **DELETE** /listing/{productId} | Delete Product Listing [**get_active_licenses**](EconomyApi.md#get_active_licenses) | **GET** /economy/licenses/active | Get Active Licenses [**get_balance**](EconomyApi.md#get_balance) | **GET** /user/{userId}/balance | Get Balance [**get_balance_earnings**](EconomyApi.md#get_balance_earnings) | **GET** /user/{userId}/balance/earnings | Get Balance Earnings @@ -11,6 +15,9 @@ Method | HTTP request | Description [**get_current_subscriptions**](EconomyApi.md#get_current_subscriptions) | **GET** /auth/user/subscription | Get Current Subscriptions [**get_earnings_metrics**](EconomyApi.md#get_earnings_metrics) | **GET** /economy/metrics/earnings | Get Earnings Metrics [**get_economy_account**](EconomyApi.md#get_economy_account) | **GET** /user/{userId}/economy/account | Get Economy Account +[**get_economy_balances**](EconomyApi.md#get_economy_balances) | **GET** /user/{userId}/economy/balances | Get Economy Balances +[**get_economy_payout_status**](EconomyApi.md#get_economy_payout_status) | **GET** /user/{userId}/economy/payouts/status | Get Economy Payout Status +[**get_economy_payouts**](EconomyApi.md#get_economy_payouts) | **GET** /user/{userId}/economy/payouts/list | Get Economy Payouts [**get_license_group**](EconomyApi.md#get_license_group) | **GET** /licenseGroups/{licenseGroupId} | Get License Group [**get_product_listing**](EconomyApi.md#get_product_listing) | **GET** /listing/{productId} | Get Product Listing [**get_product_listing_alternate**](EconomyApi.md#get_product_listing_alternate) | **GET** /products/{productId} | Get Product Listing (alternate) @@ -31,16 +38,21 @@ Method | HTTP request | Description [**get_token_bundles**](EconomyApi.md#get_token_bundles) | **GET** /tokenBundles | List Token Bundles [**get_user_credits_eligible**](EconomyApi.md#get_user_credits_eligible) | **GET** /users/{userId}/credits/eligible | Get User Credits Eligiblity [**get_user_subscription_eligible**](EconomyApi.md#get_user_subscription_eligible) | **GET** /users/{userId}/subscription/eligible | Get User Subscription Eligiblity +[**get_user_tilia_kyc**](EconomyApi.md#get_user_tilia_kyc) | **GET** /user/{userId}/tilia/kyc | Get User Tilia KYC +[**list_stores**](EconomyApi.md#list_stores) | **GET** /economy/stores | List Stores +[**list_user_products**](EconomyApi.md#list_user_products) | **GET** /user/{userId}/products | List User Products [**purchase_product_listing**](EconomyApi.md#purchase_product_listing) | **POST** /economy/purchase/listing | Purchase Product Listing +[**update_product**](EconomyApi.md#update_product) | **PUT** /products/{productId} | Update Product +[**update_product_listing_direct**](EconomyApi.md#update_product_listing_direct) | **PUT** /listing/{productId} | Update Product Listing [**update_tilia_tos**](EconomyApi.md#update_tilia_tos) | **PUT** /user/{userId}/tilia/tos | Update Tilia TOS Agreement Status -# **get_active_licenses** -> list[License] get_active_licenses() +# **create_product** +> Product create_product(create_product_request) -Get Active Licenses +Create Product -Gets active licenses +Creates a product and returns the new Product object. ### Example @@ -72,21 +84,25 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.EconomyApi(api_client) - + create_product_request = vrchatapi.CreateProductRequest() # CreateProductRequest | + try: - # Get Active Licenses - api_response = api_instance.get_active_licenses() + # Create Product + api_response = api_instance.create_product(create_product_request) pprint(api_response) except ApiException as e: - print("Exception when calling EconomyApi->get_active_licenses: %s\n" % e) + print("Exception when calling EconomyApi->create_product: %s\n" % e) ``` ### Parameters -This endpoint does not need any parameter. + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **create_product_request** | [**CreateProductRequest**](CreateProductRequest.md)| | ### Return type -[**list[License]**](License.md) +[**Product**](Product.md) ### Authorization @@ -94,23 +110,23 @@ This endpoint does not need any parameter. ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a list of License objects. | - | +**200** | Returns a single Product object. | - | **401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_balance** -> Balance get_balance(user_id) +# **create_product_listing_direct** +> ProductListing create_product_listing_direct(create_listing_request) -Get Balance +Create Product Listing -Gets the balance of a user +Creates a listing and returns the new ProductListing object. The request body is based on observed fields and may be incomplete. ### Example @@ -142,25 +158,25 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.EconomyApi(api_client) - user_id = 'user_id_example' # str | Must be a valid user ID. + create_listing_request = vrchatapi.CreateListingRequest() # CreateListingRequest | try: - # Get Balance - api_response = api_instance.get_balance(user_id) + # Create Product Listing + api_response = api_instance.create_product_listing_direct(create_listing_request) pprint(api_response) except ApiException as e: - print("Exception when calling EconomyApi->get_balance: %s\n" % e) + print("Exception when calling EconomyApi->create_product_listing_direct: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **user_id** | **str**| Must be a valid user ID. | + **create_listing_request** | [**CreateListingRequest**](CreateListingRequest.md)| | ### Return type -[**Balance**](Balance.md) +[**ProductListing**](ProductListing.md) ### Authorization @@ -168,23 +184,23 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a single Balance object. | - | +**200** | Returns a single ProductListing object. | - | **401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_balance_earnings** -> Balance get_balance_earnings(user_id) +# **delete_product** +> SuccessFlag delete_product(product_id) -Get Balance Earnings +Delete Product -Gets the balance of a user from earnings +Deletes a product. ### Example @@ -216,25 +232,25 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.EconomyApi(api_client) - user_id = 'user_id_example' # str | Must be a valid user ID. + product_id = 'product_id_example' # str | Must be a valid product ID. try: - # Get Balance Earnings - api_response = api_instance.get_balance_earnings(user_id) + # Delete Product + api_response = api_instance.delete_product(product_id) pprint(api_response) except ApiException as e: - print("Exception when calling EconomyApi->get_balance_earnings: %s\n" % e) + print("Exception when calling EconomyApi->delete_product: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **user_id** | **str**| Must be a valid user ID. | + **product_id** | **str**| Must be a valid product ID. | ### Return type -[**Balance**](Balance.md) +[**SuccessFlag**](SuccessFlag.md) ### Authorization @@ -248,17 +264,17 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a single Balance object. | - | +**200** | Returns an SuccessFlag object. | - | **401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_bulk_gift_purchases** -> list[object] get_bulk_gift_purchases(most_recent=most_recent) +# **delete_product_listing_direct** +> SuccessFlag delete_product_listing_direct(product_id, hydrate=hydrate) -Get Bulk Gift Purchases +Delete Product Listing -Get bulk gift purchases made by the user. +Deletes a listing. ### Example @@ -290,25 +306,27 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.EconomyApi(api_client) - most_recent = True # bool | (optional) + product_id = 'product_id_example' # str | Must be a valid product ID. +hydrate = True # bool | Populates some fields and changes types of others for certain objects. (optional) try: - # Get Bulk Gift Purchases - api_response = api_instance.get_bulk_gift_purchases(most_recent=most_recent) + # Delete Product Listing + api_response = api_instance.delete_product_listing_direct(product_id, hydrate=hydrate) pprint(api_response) except ApiException as e: - print("Exception when calling EconomyApi->get_bulk_gift_purchases: %s\n" % e) + print("Exception when calling EconomyApi->delete_product_listing_direct: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **most_recent** | **bool**| | [optional] + **product_id** | **str**| Must be a valid product ID. | + **hydrate** | **bool**| Populates some fields and changes types of others for certain objects. | [optional] ### Return type -**list[object]** +[**SuccessFlag**](SuccessFlag.md) ### Authorization @@ -322,17 +340,17 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a list of ??? objects. | - | +**200** | Returns an SuccessFlag object. | - | **401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_current_subscriptions** -> list[UserSubscription] get_current_subscriptions() +# **get_active_licenses** +> list[License] get_active_licenses() -Get Current Subscriptions +Get Active Licenses -Get a list of all current user subscriptions. +Gets active licenses ### Example @@ -366,11 +384,11 @@ with vrchatapi.ApiClient(configuration) as api_client: api_instance = vrchatapi.EconomyApi(api_client) try: - # Get Current Subscriptions - api_response = api_instance.get_current_subscriptions() + # Get Active Licenses + api_response = api_instance.get_active_licenses() pprint(api_response) except ApiException as e: - print("Exception when calling EconomyApi->get_current_subscriptions: %s\n" % e) + print("Exception when calling EconomyApi->get_active_licenses: %s\n" % e) ``` ### Parameters @@ -378,7 +396,7 @@ This endpoint does not need any parameter. ### Return type -[**list[UserSubscription]**](UserSubscription.md) +[**list[License]**](License.md) ### Authorization @@ -392,17 +410,17 @@ This endpoint does not need any parameter. ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a list of UserSubscription objects. | - | +**200** | Returns a list of License objects. | - | **401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_earnings_metrics** -> EarningsMetrics get_earnings_metrics() +# **get_balance** +> Balance get_balance(user_id) -Get Earnings Metrics +Get Balance -Gets earnings totals and breakdown metrics for the currently authenticated user. +Gets the balance of a user ### Example @@ -434,21 +452,25 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.EconomyApi(api_client) - + user_id = 'user_id_example' # str | Must be a valid user ID. + try: - # Get Earnings Metrics - api_response = api_instance.get_earnings_metrics() + # Get Balance + api_response = api_instance.get_balance(user_id) pprint(api_response) except ApiException as e: - print("Exception when calling EconomyApi->get_earnings_metrics: %s\n" % e) + print("Exception when calling EconomyApi->get_balance: %s\n" % e) ``` ### Parameters -This endpoint does not need any parameter. + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | ### Return type -[**EarningsMetrics**](EarningsMetrics.md) +[**Balance**](Balance.md) ### Authorization @@ -462,17 +484,17 @@ This endpoint does not need any parameter. ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a single EarningsMetrics object. | - | +**200** | Returns a single Balance object. | - | **401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_economy_account** -> EconomyAccount get_economy_account(user_id) +# **get_balance_earnings** +> Balance get_balance_earnings(user_id) -Get Economy Account +Get Balance Earnings -Gets the economy account of a user +Gets the balance of a user from earnings ### Example @@ -507,11 +529,11 @@ with vrchatapi.ApiClient(configuration) as api_client: user_id = 'user_id_example' # str | Must be a valid user ID. try: - # Get Economy Account - api_response = api_instance.get_economy_account(user_id) + # Get Balance Earnings + api_response = api_instance.get_balance_earnings(user_id) pprint(api_response) except ApiException as e: - print("Exception when calling EconomyApi->get_economy_account: %s\n" % e) + print("Exception when calling EconomyApi->get_balance_earnings: %s\n" % e) ``` ### Parameters @@ -522,7 +544,7 @@ Name | Type | Description | Notes ### Return type -[**EconomyAccount**](EconomyAccount.md) +[**Balance**](Balance.md) ### Authorization @@ -536,17 +558,17 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a single EconomyAccount object. | - | +**200** | Returns a single Balance object. | - | **401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_license_group** -> LicenseGroup get_license_group(license_group_id) +# **get_bulk_gift_purchases** +> list[object] get_bulk_gift_purchases(most_recent=most_recent) -Get License Group +Get Bulk Gift Purchases -Get a single License Group by given ID. +Get bulk gift purchases made by the user. ### Example @@ -578,25 +600,25 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.EconomyApi(api_client) - license_group_id = 'license_group_id_example' # str | Must be a valid license group ID. + most_recent = True # bool | (optional) try: - # Get License Group - api_response = api_instance.get_license_group(license_group_id) + # Get Bulk Gift Purchases + api_response = api_instance.get_bulk_gift_purchases(most_recent=most_recent) pprint(api_response) except ApiException as e: - print("Exception when calling EconomyApi->get_license_group: %s\n" % e) + print("Exception when calling EconomyApi->get_bulk_gift_purchases: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **license_group_id** | **str**| Must be a valid license group ID. | + **most_recent** | **bool**| | [optional] ### Return type -[**LicenseGroup**](LicenseGroup.md) +**list[object]** ### Authorization @@ -610,17 +632,17 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a single LicenseGroup object. | - | +**200** | Returns a list of ??? objects. | - | **401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_product_listing** -> ProductListing get_product_listing(product_id, hydrate=hydrate) +# **get_current_subscriptions** +> list[UserSubscription] get_current_subscriptions() -Get Product Listing +Get Current Subscriptions -Gets a product listing +Get a list of all current user subscriptions. ### Example @@ -652,27 +674,21 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.EconomyApi(api_client) - product_id = 'product_id_example' # str | Must be a valid product ID. -hydrate = True # bool | Populates some fields and changes types of others for certain objects. (optional) - + try: - # Get Product Listing - api_response = api_instance.get_product_listing(product_id, hydrate=hydrate) + # Get Current Subscriptions + api_response = api_instance.get_current_subscriptions() pprint(api_response) except ApiException as e: - print("Exception when calling EconomyApi->get_product_listing: %s\n" % e) + print("Exception when calling EconomyApi->get_current_subscriptions: %s\n" % e) ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **product_id** | **str**| Must be a valid product ID. | - **hydrate** | **bool**| Populates some fields and changes types of others for certain objects. | [optional] +This endpoint does not need any parameter. ### Return type -[**ProductListing**](ProductListing.md) +[**list[UserSubscription]**](UserSubscription.md) ### Authorization @@ -686,17 +702,17 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a single ProductListing object. | - | +**200** | Returns a list of UserSubscription objects. | - | **401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_product_listing_alternate** -> ProductListing get_product_listing_alternate(product_id) +# **get_earnings_metrics** +> EarningsMetrics get_earnings_metrics(seller_id, metric_date_start=metric_date_start, metric_date_end=metric_date_end, group_by_duration=group_by_duration) -Get Product Listing (alternate) +Get Earnings Metrics -Gets a product listing +Gets earnings totals and breakdown metrics for the currently authenticated user. ### Example @@ -728,25 +744,31 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.EconomyApi(api_client) - product_id = 'product_id_example' # str | Must be a valid product ID. + seller_id = 'seller_id_example' # str | Seller to retrieve economy metrics for. +metric_date_start = '2026-03-28T23:00:00.000Z' # str | Lower bound for economy metrics queries. Observed formats include both date-only and full ISO timestamps. (optional) +metric_date_end = '2026-04-04T21:59:59.999Z' # str | Upper bound for economy metrics queries. Observed formats include both date-only and full ISO timestamps. (optional) +group_by_duration = 'days' # str | Time bucket size for economy metrics. Observed values include `days` and `years`. (optional) try: - # Get Product Listing (alternate) - api_response = api_instance.get_product_listing_alternate(product_id) + # Get Earnings Metrics + api_response = api_instance.get_earnings_metrics(seller_id, metric_date_start=metric_date_start, metric_date_end=metric_date_end, group_by_duration=group_by_duration) pprint(api_response) except ApiException as e: - print("Exception when calling EconomyApi->get_product_listing_alternate: %s\n" % e) + print("Exception when calling EconomyApi->get_earnings_metrics: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **product_id** | **str**| Must be a valid product ID. | + **seller_id** | **str**| Seller to retrieve economy metrics for. | + **metric_date_start** | **str**| Lower bound for economy metrics queries. Observed formats include both date-only and full ISO timestamps. | [optional] + **metric_date_end** | **str**| Upper bound for economy metrics queries. Observed formats include both date-only and full ISO timestamps. | [optional] + **group_by_duration** | **str**| Time bucket size for economy metrics. Observed values include `days` and `years`. | [optional] ### Return type -[**ProductListing**](ProductListing.md) +[**EarningsMetrics**](EarningsMetrics.md) ### Authorization @@ -760,17 +782,17 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a single ProductListing object. | - | +**200** | Returns a single EarningsMetrics object. | - | **401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_product_listings** -> list[ProductListing] get_product_listings(user_id, n=n, offset=offset, hydrate=hydrate, group_id=group_id, active=active) +# **get_economy_account** +> EconomyAccount get_economy_account(user_id) -Get User Product Listings +Get Economy Account -Gets the product listings of a given user +Gets the economy account of a user ### Example @@ -803,18 +825,13 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.EconomyApi(api_client) user_id = 'user_id_example' # str | Must be a valid user ID. -n = 60 # int | The number of objects to return. (optional) (default to 60) -offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) -hydrate = True # bool | Populates some fields and changes types of others for certain objects. (optional) -group_id = 'group_id_example' # str | Must be a valid group ID. (optional) -active = True # bool | Filter for users' listings and inventory bundles. (optional) try: - # Get User Product Listings - api_response = api_instance.get_product_listings(user_id, n=n, offset=offset, hydrate=hydrate, group_id=group_id, active=active) + # Get Economy Account + api_response = api_instance.get_economy_account(user_id) pprint(api_response) except ApiException as e: - print("Exception when calling EconomyApi->get_product_listings: %s\n" % e) + print("Exception when calling EconomyApi->get_economy_account: %s\n" % e) ``` ### Parameters @@ -822,15 +839,10 @@ active = True # bool | Filter for users' listings and inventory bundles. (option Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **user_id** | **str**| Must be a valid user ID. | - **n** | **int**| The number of objects to return. | [optional] [default to 60] - **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] - **hydrate** | **bool**| Populates some fields and changes types of others for certain objects. | [optional] - **group_id** | **str**| Must be a valid group ID. | [optional] - **active** | **bool**| Filter for users' listings and inventory bundles. | [optional] ### Return type -[**list[ProductListing]**](ProductListing.md) +[**EconomyAccount**](EconomyAccount.md) ### Authorization @@ -844,17 +856,17 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a list of ProductListing objects. | - | +**200** | Returns a single EconomyAccount object. | - | **401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_product_purchase** -> ProductPurchase get_product_purchase(product_purchase_id) +# **get_economy_balances** +> EconomyBalances get_economy_balances(user_id) -Get Product Purchase +Get Economy Balances -Gets a single product purchase +Gets the combined balances for a user. ### Example @@ -886,25 +898,25 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.EconomyApi(api_client) - product_purchase_id = 'product_purchase_id_example' # str | Must be a valid purchase ID. + user_id = 'user_id_example' # str | Must be a valid user ID. try: - # Get Product Purchase - api_response = api_instance.get_product_purchase(product_purchase_id) + # Get Economy Balances + api_response = api_instance.get_economy_balances(user_id) pprint(api_response) except ApiException as e: - print("Exception when calling EconomyApi->get_product_purchase: %s\n" % e) + print("Exception when calling EconomyApi->get_economy_balances: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **product_purchase_id** | **str**| Must be a valid purchase ID. | + **user_id** | **str**| Must be a valid user ID. | ### Return type -[**ProductPurchase**](ProductPurchase.md) +[**EconomyBalances**](EconomyBalances.md) ### Authorization @@ -918,17 +930,17 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a single ProductPurchase object. | - | +**200** | Returns an EconomyBalances object. | - | **401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_product_purchase_history** -> ProductPurchaseHistory get_product_purchase_history(user_id, n=n, date_min=date_min, date_max=date_max, from_user_id=from_user_id, to_user_id=to_user_id, sort=sort, order=order) +# **get_economy_payout_status** +> EconomyPayoutStatus get_economy_payout_status(user_id) -Get Product Purchase History +Get Economy Payout Status -Gets a history of product purchases +Gets the current payout status and eligibility information for a user. ### Example @@ -961,20 +973,13 @@ with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.EconomyApi(api_client) user_id = 'user_id_example' # str | Must be a valid user ID. -n = 60 # int | The number of objects to return. (optional) (default to 60) -date_min = '2013-10-20T19:20:30+01:00' # datetime | The start date of the search range. (optional) -date_max = '2013-10-20T19:20:30+01:00' # datetime | The end date of the search range. (optional) -from_user_id = 'from_user_id_example' # str | Must be a valid user ID. (optional) -to_user_id = 'to_user_id_example' # str | Must be a valid user ID. (optional) -sort = vrchatapi.SortOptionProductPurchase() # SortOptionProductPurchase | The sort order of the results. (optional) -order = vrchatapi.OrderOptionShort() # OrderOptionShort | Result ordering (optional) try: - # Get Product Purchase History - api_response = api_instance.get_product_purchase_history(user_id, n=n, date_min=date_min, date_max=date_max, from_user_id=from_user_id, to_user_id=to_user_id, sort=sort, order=order) + # Get Economy Payout Status + api_response = api_instance.get_economy_payout_status(user_id) pprint(api_response) except ApiException as e: - print("Exception when calling EconomyApi->get_product_purchase_history: %s\n" % e) + print("Exception when calling EconomyApi->get_economy_payout_status: %s\n" % e) ``` ### Parameters @@ -982,17 +987,10 @@ order = vrchatapi.OrderOptionShort() # OrderOptionShort | Result ordering (optio Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **user_id** | **str**| Must be a valid user ID. | - **n** | **int**| The number of objects to return. | [optional] [default to 60] - **date_min** | **datetime**| The start date of the search range. | [optional] - **date_max** | **datetime**| The end date of the search range. | [optional] - **from_user_id** | **str**| Must be a valid user ID. | [optional] - **to_user_id** | **str**| Must be a valid user ID. | [optional] - **sort** | [**SortOptionProductPurchase**](.md)| The sort order of the results. | [optional] - **order** | [**OrderOptionShort**](.md)| Result ordering | [optional] ### Return type -[**ProductPurchaseHistory**](ProductPurchaseHistory.md) +[**EconomyPayoutStatus**](EconomyPayoutStatus.md) ### Authorization @@ -1006,17 +1004,17 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a single ProductPurchaseHistory object. | - | +**200** | Returns an EconomyPayoutStatus object. | - | **401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_product_purchase_stacks** -> list[object] get_product_purchase_stacks(product_purchase_id) +# **get_economy_payouts** +> EconomyPayoutList get_economy_payouts(user_id) -Get Product Purchase Stacks +Get Economy Payouts -Gets stacks for a product purchase +Gets the payout history for a user. ### Example @@ -1048,25 +1046,871 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.EconomyApi(api_client) - product_purchase_id = 'product_purchase_id_example' # str | Must be a valid purchase ID. + user_id = 'user_id_example' # str | Must be a valid user ID. + + try: + # Get Economy Payouts + api_response = api_instance.get_economy_payouts(user_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling EconomyApi->get_economy_payouts: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | + +### Return type + +[**EconomyPayoutList**](EconomyPayoutList.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns an EconomyPayoutList object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_license_group** +> LicenseGroup get_license_group(license_group_id) + +Get License Group + +Get a single License Group by given ID. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.EconomyApi(api_client) + license_group_id = 'license_group_id_example' # str | Must be a valid license group ID. + + try: + # Get License Group + api_response = api_instance.get_license_group(license_group_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling EconomyApi->get_license_group: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **license_group_id** | **str**| Must be a valid license group ID. | + +### Return type + +[**LicenseGroup**](LicenseGroup.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single LicenseGroup object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_product_listing** +> ProductListing get_product_listing(product_id, hydrate=hydrate) + +Get Product Listing + +Gets a product listing + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.EconomyApi(api_client) + product_id = 'product_id_example' # str | Must be a valid product ID. +hydrate = True # bool | Populates some fields and changes types of others for certain objects. (optional) + + try: + # Get Product Listing + api_response = api_instance.get_product_listing(product_id, hydrate=hydrate) + pprint(api_response) + except ApiException as e: + print("Exception when calling EconomyApi->get_product_listing: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **product_id** | **str**| Must be a valid product ID. | + **hydrate** | **bool**| Populates some fields and changes types of others for certain objects. | [optional] + +### Return type + +[**ProductListing**](ProductListing.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single ProductListing object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_product_listing_alternate** +> ProductListing get_product_listing_alternate(product_id) + +Get Product Listing (alternate) + +Gets a product listing + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.EconomyApi(api_client) + product_id = 'product_id_example' # str | Must be a valid product ID. + + try: + # Get Product Listing (alternate) + api_response = api_instance.get_product_listing_alternate(product_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling EconomyApi->get_product_listing_alternate: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **product_id** | **str**| Must be a valid product ID. | + +### Return type + +[**ProductListing**](ProductListing.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single ProductListing object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_product_listings** +> list[ProductListing] get_product_listings(user_id, n=n, offset=offset, hydrate=hydrate, listing_type=listing_type, group_id=group_id, active=active) + +Get User Product Listings + +Gets the product listings of a given user + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.EconomyApi(api_client) + user_id = 'user_id_example' # str | Must be a valid user ID. +n = 60 # int | The number of objects to return. (optional) (default to 60) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) +hydrate = True # bool | Populates some fields and changes types of others for certain objects. (optional) +listing_type = 'otp' # str | Filter user listings by category. Observed values include `otp` and `subscription`. (optional) +group_id = 'group_id_example' # str | Must be a valid group ID. (optional) +active = True # bool | Filter for users' listings and inventory bundles. (optional) + + try: + # Get User Product Listings + api_response = api_instance.get_product_listings(user_id, n=n, offset=offset, hydrate=hydrate, listing_type=listing_type, group_id=group_id, active=active) + pprint(api_response) + except ApiException as e: + print("Exception when calling EconomyApi->get_product_listings: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + **hydrate** | **bool**| Populates some fields and changes types of others for certain objects. | [optional] + **listing_type** | **str**| Filter user listings by category. Observed values include `otp` and `subscription`. | [optional] + **group_id** | **str**| Must be a valid group ID. | [optional] + **active** | **bool**| Filter for users' listings and inventory bundles. | [optional] + +### Return type + +[**list[ProductListing]**](ProductListing.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of ProductListing objects. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_product_purchase** +> ProductPurchase get_product_purchase(product_purchase_id) + +Get Product Purchase + +Gets a single product purchase + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.EconomyApi(api_client) + product_purchase_id = 'product_purchase_id_example' # str | Must be a valid purchase ID. + + try: + # Get Product Purchase + api_response = api_instance.get_product_purchase(product_purchase_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling EconomyApi->get_product_purchase: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **product_purchase_id** | **str**| Must be a valid purchase ID. | + +### Return type + +[**ProductPurchase**](ProductPurchase.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single ProductPurchase object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_product_purchase_history** +> ProductPurchaseHistory get_product_purchase_history(user_id, n=n, date_min=date_min, date_max=date_max, from_user_id=from_user_id, to_user_id=to_user_id, sort=sort, order=order) + +Get Product Purchase History + +Gets a history of product purchases + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.EconomyApi(api_client) + user_id = 'user_id_example' # str | Must be a valid user ID. +n = 60 # int | The number of objects to return. (optional) (default to 60) +date_min = '2013-10-20T19:20:30+01:00' # datetime | The start date of the search range. (optional) +date_max = '2013-10-20T19:20:30+01:00' # datetime | The end date of the search range. (optional) +from_user_id = 'from_user_id_example' # str | Must be a valid user ID. (optional) +to_user_id = 'to_user_id_example' # str | Must be a valid user ID. (optional) +sort = vrchatapi.SortOptionProductPurchase() # SortOptionProductPurchase | The sort order of the results. (optional) +order = vrchatapi.OrderOptionShort() # OrderOptionShort | Result ordering (optional) + + try: + # Get Product Purchase History + api_response = api_instance.get_product_purchase_history(user_id, n=n, date_min=date_min, date_max=date_max, from_user_id=from_user_id, to_user_id=to_user_id, sort=sort, order=order) + pprint(api_response) + except ApiException as e: + print("Exception when calling EconomyApi->get_product_purchase_history: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **date_min** | **datetime**| The start date of the search range. | [optional] + **date_max** | **datetime**| The end date of the search range. | [optional] + **from_user_id** | **str**| Must be a valid user ID. | [optional] + **to_user_id** | **str**| Must be a valid user ID. | [optional] + **sort** | [**SortOptionProductPurchase**](.md)| The sort order of the results. | [optional] + **order** | [**OrderOptionShort**](.md)| Result ordering | [optional] + +### Return type + +[**ProductPurchaseHistory**](ProductPurchaseHistory.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single ProductPurchaseHistory object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_product_purchase_stacks** +> list[object] get_product_purchase_stacks(product_purchase_id) + +Get Product Purchase Stacks + +Gets stacks for a product purchase + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.EconomyApi(api_client) + product_purchase_id = 'product_purchase_id_example' # str | Must be a valid purchase ID. try: # Get Product Purchase Stacks api_response = api_instance.get_product_purchase_stacks(product_purchase_id) pprint(api_response) except ApiException as e: - print("Exception when calling EconomyApi->get_product_purchase_stacks: %s\n" % e) + print("Exception when calling EconomyApi->get_product_purchase_stacks: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **product_purchase_id** | **str**| Must be a valid purchase ID. | + +### Return type + +**list[object]** + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of stacks for a product purchase. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_product_purchases** +> list[ProductPurchase] get_product_purchases(buyer_id, seller_id=seller_id, n=n, offset=offset, most_recent=most_recent, sort=sort, order=order) + +Get Product Purchases + +Gets product purchases + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.EconomyApi(api_client) + buyer_id = 'buyer_id_example' # str | Must be a valid user ID. +seller_id = 'seller_id_example' # str | Filter results by seller. (optional) +n = 60 # int | The number of objects to return. (optional) (default to 60) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) +most_recent = True # bool | (optional) +sort = vrchatapi.SortOptionProductPurchase() # SortOptionProductPurchase | The sort order of the results. (optional) +order = vrchatapi.OrderOptionShort() # OrderOptionShort | Result ordering (optional) + + try: + # Get Product Purchases + api_response = api_instance.get_product_purchases(buyer_id, seller_id=seller_id, n=n, offset=offset, most_recent=most_recent, sort=sort, order=order) + pprint(api_response) + except ApiException as e: + print("Exception when calling EconomyApi->get_product_purchases: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **buyer_id** | **str**| Must be a valid user ID. | + **seller_id** | **str**| Filter results by seller. | [optional] + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] + **most_recent** | **bool**| | [optional] + **sort** | [**SortOptionProductPurchase**](.md)| The sort order of the results. | [optional] + **order** | [**OrderOptionShort**](.md)| Result ordering | [optional] + +### Return type + +[**list[ProductPurchase]**](ProductPurchase.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of ProductPurchase objects. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_recent_subscription** +> UserSubscription get_recent_subscription() + +Get Recent Subscription + +Get the most recent user subscription. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.EconomyApi(api_client) + + try: + # Get Recent Subscription + api_response = api_instance.get_recent_subscription() + pprint(api_response) + except ApiException as e: + print("Exception when calling EconomyApi->get_recent_subscription: %s\n" % e) +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**UserSubscription**](UserSubscription.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a UserSubscription object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_seller_eligibility** +> SellerEligibility get_seller_eligibility() + +Get Seller Eligibility + +Get the eligibility of the currently authenticated user to become a seller + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.EconomyApi(api_client) + + try: + # Get Seller Eligibility + api_response = api_instance.get_seller_eligibility() + pprint(api_response) + except ApiException as e: + print("Exception when calling EconomyApi->get_seller_eligibility: %s\n" % e) +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**SellerEligibility**](SellerEligibility.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a single SellerEligibility object. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_steam_transaction** +> Transaction get_steam_transaction(transaction_id) + +Get Steam Transaction + +Get a single Steam transactions by ID. This returns the exact same information as `getSteamTransactions`, so no point in using this endpoint. + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.EconomyApi(api_client) + transaction_id = 'transaction_id_example' # str | Must be a valid transaction ID. + + try: + # Get Steam Transaction + api_response = api_instance.get_steam_transaction(transaction_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling EconomyApi->get_steam_transaction: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **product_purchase_id** | **str**| Must be a valid purchase ID. | + **transaction_id** | **str**| Must be a valid transaction ID. | ### Return type -**list[object]** +[**Transaction**](Transaction.md) ### Authorization @@ -1080,17 +1924,17 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a list of stacks for a product purchase. | - | +**200** | Returns a single Transaction object. | - | **401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_product_purchases** -> list[ProductPurchase] get_product_purchases(buyer_id, n=n, offset=offset, most_recent=most_recent, sort=sort, order=order) +# **get_steam_transactions** +> list[Transaction] get_steam_transactions() -Get Product Purchases +List Steam Transactions -Gets product purchases +Get all own Steam transactions. ### Example @@ -1122,35 +1966,99 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.EconomyApi(api_client) - buyer_id = 'buyer_id_example' # str | Must be a valid user ID. -n = 60 # int | The number of objects to return. (optional) (default to 60) -offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) -most_recent = True # bool | (optional) -sort = vrchatapi.SortOptionProductPurchase() # SortOptionProductPurchase | The sort order of the results. (optional) -order = vrchatapi.OrderOptionShort() # OrderOptionShort | Result ordering (optional) + + try: + # List Steam Transactions + api_response = api_instance.get_steam_transactions() + pprint(api_response) + except ApiException as e: + print("Exception when calling EconomyApi->get_steam_transactions: %s\n" % e) +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**list[Transaction]**](Transaction.md) + +### Authorization + +[authCookie](../README.md#authCookie) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Returns a list of Transaction objects. | - | +**401** | Error response due to missing auth cookie. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_store** +> Store get_store(store_id, hydrate_listings=hydrate_listings, hydrate_products=hydrate_products) + +Get Store + +Gets a store + +### Example + +* Api Key Authentication (authCookie): +```python +from __future__ import print_function +import time +import vrchatapi +from vrchatapi.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1 +# See configuration.py for a list of all supported configuration parameters. +configuration = vrchatapi.Configuration( + host = "https://api.vrchat.cloud/api/1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: authCookie +configuration.api_key['authCookie'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authCookie'] = 'Bearer' + +# Enter a context with an instance of the API client +with vrchatapi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vrchatapi.EconomyApi(api_client) + store_id = 'store_id_example' # str | +hydrate_listings = True # bool | Listings fields will be populated. (optional) +hydrate_products = True # bool | Products fields will be populated. (optional) try: - # Get Product Purchases - api_response = api_instance.get_product_purchases(buyer_id, n=n, offset=offset, most_recent=most_recent, sort=sort, order=order) + # Get Store + api_response = api_instance.get_store(store_id, hydrate_listings=hydrate_listings, hydrate_products=hydrate_products) pprint(api_response) except ApiException as e: - print("Exception when calling EconomyApi->get_product_purchases: %s\n" % e) + print("Exception when calling EconomyApi->get_store: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **buyer_id** | **str**| Must be a valid user ID. | - **n** | **int**| The number of objects to return. | [optional] [default to 60] - **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] - **most_recent** | **bool**| | [optional] - **sort** | [**SortOptionProductPurchase**](.md)| The sort order of the results. | [optional] - **order** | [**OrderOptionShort**](.md)| Result ordering | [optional] + **store_id** | **str**| | + **hydrate_listings** | **bool**| Listings fields will be populated. | [optional] + **hydrate_products** | **bool**| Products fields will be populated. | [optional] ### Return type -[**list[ProductPurchase]**](ProductPurchase.md) +[**Store**](Store.md) ### Authorization @@ -1164,17 +2072,17 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a list of ProductPurchase objects. | - | +**200** | Returns a single Store object. | - | **401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_recent_subscription** -> UserSubscription get_recent_subscription() +# **get_store_shelves** +> list[StoreShelf] get_store_shelves(store_id, hydrate_listings=hydrate_listings, fetch=fetch) -Get Recent Subscription +Get Store Shelves -Get the most recent user subscription. +Gets the shelves for a store ### Example @@ -1206,21 +2114,29 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.EconomyApi(api_client) - + store_id = 'store_id_example' # str | +hydrate_listings = True # bool | Listings fields will be populated. (optional) +fetch = vrchatapi.StoreView() # StoreView | (optional) + try: - # Get Recent Subscription - api_response = api_instance.get_recent_subscription() + # Get Store Shelves + api_response = api_instance.get_store_shelves(store_id, hydrate_listings=hydrate_listings, fetch=fetch) pprint(api_response) except ApiException as e: - print("Exception when calling EconomyApi->get_recent_subscription: %s\n" % e) + print("Exception when calling EconomyApi->get_store_shelves: %s\n" % e) ``` ### Parameters -This endpoint does not need any parameter. + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **store_id** | **str**| | + **hydrate_listings** | **bool**| Listings fields will be populated. | [optional] + **fetch** | [**StoreView**](.md)| | [optional] ### Return type -[**UserSubscription**](UserSubscription.md) +[**list[StoreShelf]**](StoreShelf.md) ### Authorization @@ -1234,17 +2150,17 @@ This endpoint does not need any parameter. ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a UserSubscription object. | - | +**200** | Returns a list of StoreShelf objects. | - | **401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_seller_eligibility** -> SellerEligibility get_seller_eligibility() +# **get_subscriptions** +> list[Subscription] get_subscriptions() -Get Seller Eligibility +List Subscriptions -Get the eligibility of the currently authenticated user to become a seller +List all existing Subscriptions. For example, \"vrchatplus-monthly\" and \"vrchatplus-yearly\". ### Example @@ -1278,11 +2194,11 @@ with vrchatapi.ApiClient(configuration) as api_client: api_instance = vrchatapi.EconomyApi(api_client) try: - # Get Seller Eligibility - api_response = api_instance.get_seller_eligibility() + # List Subscriptions + api_response = api_instance.get_subscriptions() pprint(api_response) except ApiException as e: - print("Exception when calling EconomyApi->get_seller_eligibility: %s\n" % e) + print("Exception when calling EconomyApi->get_subscriptions: %s\n" % e) ``` ### Parameters @@ -1290,7 +2206,7 @@ This endpoint does not need any parameter. ### Return type -[**SellerEligibility**](SellerEligibility.md) +[**list[Subscription]**](Subscription.md) ### Authorization @@ -1304,17 +2220,17 @@ This endpoint does not need any parameter. ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a single SellerEligibility object. | - | +**200** | Returns a list of Subscription objects. | - | **401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_steam_transaction** -> Transaction get_steam_transaction(transaction_id) +# **get_tilia_status** +> TiliaStatus get_tilia_status() -Get Steam Transaction +Get Tilia Status -Get a single Steam transactions by ID. This returns the exact same information as `getSteamTransactions`, so no point in using this endpoint. +Gets the status of Tilia integration ### Example @@ -1346,25 +2262,21 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.EconomyApi(api_client) - transaction_id = 'transaction_id_example' # str | Must be a valid transaction ID. - + try: - # Get Steam Transaction - api_response = api_instance.get_steam_transaction(transaction_id) + # Get Tilia Status + api_response = api_instance.get_tilia_status() pprint(api_response) except ApiException as e: - print("Exception when calling EconomyApi->get_steam_transaction: %s\n" % e) + print("Exception when calling EconomyApi->get_tilia_status: %s\n" % e) ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **transaction_id** | **str**| Must be a valid transaction ID. | +This endpoint does not need any parameter. ### Return type -[**Transaction**](Transaction.md) +[**TiliaStatus**](TiliaStatus.md) ### Authorization @@ -1378,17 +2290,17 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a single Transaction object. | - | +**200** | Returns a single TiliaStatus object. | - | **401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_steam_transactions** -> list[Transaction] get_steam_transactions() +# **get_tilia_tos** +> TiliaTOS get_tilia_tos(user_id) -List Steam Transactions +Get Tilia TOS Agreement Status -Get all own Steam transactions. +Gets the status of the agreement of a user to the Tilia TOS ### Example @@ -1420,21 +2332,25 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.EconomyApi(api_client) - + user_id = 'user_id_example' # str | Must be a valid user ID. + try: - # List Steam Transactions - api_response = api_instance.get_steam_transactions() + # Get Tilia TOS Agreement Status + api_response = api_instance.get_tilia_tos(user_id) pprint(api_response) except ApiException as e: - print("Exception when calling EconomyApi->get_steam_transactions: %s\n" % e) + print("Exception when calling EconomyApi->get_tilia_tos: %s\n" % e) ``` ### Parameters -This endpoint does not need any parameter. + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | ### Return type -[**list[Transaction]**](Transaction.md) +[**TiliaTOS**](TiliaTOS.md) ### Authorization @@ -1448,17 +2364,17 @@ This endpoint does not need any parameter. ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a list of Transaction objects. | - | +**200** | Returns a single TiliaTOS object. | - | **401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_store** -> Store get_store(store_id, hydrate_listings=hydrate_listings, hydrate_products=hydrate_products) +# **get_token_bundles** +> list[TokenBundle] get_token_bundles() -Get Store +List Token Bundles -Gets a store +Gets the list of token bundles ### Example @@ -1490,29 +2406,21 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.EconomyApi(api_client) - store_id = 'store_id_example' # str | -hydrate_listings = True # bool | Listings fields will be populated. (optional) -hydrate_products = True # bool | Products fields will be populated. (optional) - + try: - # Get Store - api_response = api_instance.get_store(store_id, hydrate_listings=hydrate_listings, hydrate_products=hydrate_products) + # List Token Bundles + api_response = api_instance.get_token_bundles() pprint(api_response) except ApiException as e: - print("Exception when calling EconomyApi->get_store: %s\n" % e) + print("Exception when calling EconomyApi->get_token_bundles: %s\n" % e) ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **store_id** | **str**| | - **hydrate_listings** | **bool**| Listings fields will be populated. | [optional] - **hydrate_products** | **bool**| Products fields will be populated. | [optional] +This endpoint does not need any parameter. ### Return type -[**Store**](Store.md) +[**list[TokenBundle]**](TokenBundle.md) ### Authorization @@ -1526,17 +2434,17 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a single Store object. | - | +**200** | Returns a list of TokenBundle objects. | - | **401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_store_shelves** -> list[StoreShelf] get_store_shelves(store_id, hydrate_listings=hydrate_listings, fetch=fetch) +# **get_user_credits_eligible** +> UserCreditsEligible get_user_credits_eligible(user_id, subscription_id) -Get Store Shelves +Get User Credits Eligiblity -Gets the shelves for a store +Get the user's eligibility status for subscriptions based on available credits. ### Example @@ -1568,29 +2476,27 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.EconomyApi(api_client) - store_id = 'store_id_example' # str | -hydrate_listings = True # bool | Listings fields will be populated. (optional) -fetch = vrchatapi.StoreView() # StoreView | (optional) + user_id = 'user_id_example' # str | Must be a valid user ID. +subscription_id = 'subscription_id_example' # str | try: - # Get Store Shelves - api_response = api_instance.get_store_shelves(store_id, hydrate_listings=hydrate_listings, fetch=fetch) + # Get User Credits Eligiblity + api_response = api_instance.get_user_credits_eligible(user_id, subscription_id) pprint(api_response) except ApiException as e: - print("Exception when calling EconomyApi->get_store_shelves: %s\n" % e) + print("Exception when calling EconomyApi->get_user_credits_eligible: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **store_id** | **str**| | - **hydrate_listings** | **bool**| Listings fields will be populated. | [optional] - **fetch** | [**StoreView**](.md)| | [optional] + **user_id** | **str**| Must be a valid user ID. | + **subscription_id** | **str**| | ### Return type -[**list[StoreShelf]**](StoreShelf.md) +[**UserCreditsEligible**](UserCreditsEligible.md) ### Authorization @@ -1604,17 +2510,17 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a list of StoreShelf objects. | - | +**200** | Returns a single UserCreditsEligible object. | - | **401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_subscriptions** -> list[Subscription] get_subscriptions() +# **get_user_subscription_eligible** +> UserSubscriptionEligible get_user_subscription_eligible(user_id, steam_id=steam_id) -List Subscriptions +Get User Subscription Eligiblity -List all existing Subscriptions. For example, \"vrchatplus-monthly\" and \"vrchatplus-yearly\". +Get the user's eligibility status for subscriptions. ### Example @@ -1646,21 +2552,27 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.EconomyApi(api_client) - + user_id = 'user_id_example' # str | Must be a valid user ID. +steam_id = 'game night' # str | The Steam ID of the user. (optional) + try: - # List Subscriptions - api_response = api_instance.get_subscriptions() + # Get User Subscription Eligiblity + api_response = api_instance.get_user_subscription_eligible(user_id, steam_id=steam_id) pprint(api_response) except ApiException as e: - print("Exception when calling EconomyApi->get_subscriptions: %s\n" % e) + print("Exception when calling EconomyApi->get_user_subscription_eligible: %s\n" % e) ``` ### Parameters -This endpoint does not need any parameter. + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | + **steam_id** | **str**| The Steam ID of the user. | [optional] ### Return type -[**list[Subscription]**](Subscription.md) +[**UserSubscriptionEligible**](UserSubscriptionEligible.md) ### Authorization @@ -1674,17 +2586,17 @@ This endpoint does not need any parameter. ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a list of Subscription objects. | - | +**200** | Returns a single UserSubscriptionEligible object. | - | **401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_tilia_status** -> TiliaStatus get_tilia_status() +# **get_user_tilia_kyc** +> TiliaKyc get_user_tilia_kyc(user_id) -Get Tilia Status +Get User Tilia KYC -Gets the status of Tilia integration +Gets KYC status details for a user's Tilia account. ### Example @@ -1716,21 +2628,25 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.EconomyApi(api_client) - + user_id = 'user_id_example' # str | Must be a valid user ID. + try: - # Get Tilia Status - api_response = api_instance.get_tilia_status() + # Get User Tilia KYC + api_response = api_instance.get_user_tilia_kyc(user_id) pprint(api_response) except ApiException as e: - print("Exception when calling EconomyApi->get_tilia_status: %s\n" % e) + print("Exception when calling EconomyApi->get_user_tilia_kyc: %s\n" % e) ``` ### Parameters -This endpoint does not need any parameter. + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | ### Return type -[**TiliaStatus**](TiliaStatus.md) +[**TiliaKyc**](TiliaKyc.md) ### Authorization @@ -1744,17 +2660,17 @@ This endpoint does not need any parameter. ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a single TiliaStatus object. | - | +**200** | Returns a TiliaKyc object. | - | **401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_tilia_tos** -> TiliaTOS get_tilia_tos(user_id) +# **list_stores** +> list[Store] list_stores(seller_id=seller_id, management_pov=management_pov, n=n, offset=offset) -Get Tilia TOS Agreement Status +List Stores -Gets the status of the agreement of a user to the Tilia TOS +Lists stores, optionally filtered to a seller and adjusted for management views. ### Example @@ -1786,25 +2702,31 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.EconomyApi(api_client) - user_id = 'user_id_example' # str | Must be a valid user ID. + seller_id = 'seller_id_example' # str | Filter results by seller. (optional) +management_pov = true # bool | Return stores from the seller management point of view. (optional) +n = 60 # int | The number of objects to return. (optional) (default to 60) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) try: - # Get Tilia TOS Agreement Status - api_response = api_instance.get_tilia_tos(user_id) + # List Stores + api_response = api_instance.list_stores(seller_id=seller_id, management_pov=management_pov, n=n, offset=offset) pprint(api_response) except ApiException as e: - print("Exception when calling EconomyApi->get_tilia_tos: %s\n" % e) + print("Exception when calling EconomyApi->list_stores: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **user_id** | **str**| Must be a valid user ID. | + **seller_id** | **str**| Filter results by seller. | [optional] + **management_pov** | **bool**| Return stores from the seller management point of view. | [optional] + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] ### Return type -[**TiliaTOS**](TiliaTOS.md) +[**list[Store]**](Store.md) ### Authorization @@ -1818,17 +2740,17 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a single TiliaTOS object. | - | +**200** | Returns a list of Store objects. | - | **401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_token_bundles** -> list[TokenBundle] get_token_bundles() +# **list_user_products** +> list[Product] list_user_products(user_id, n=n, offset=offset) -List Token Bundles +List User Products -Gets the list of token bundles +Gets the products of a given user. ### Example @@ -1860,21 +2782,29 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.EconomyApi(api_client) - + user_id = 'user_id_example' # str | Must be a valid user ID. +n = 60 # int | The number of objects to return. (optional) (default to 60) +offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional) + try: - # List Token Bundles - api_response = api_instance.get_token_bundles() + # List User Products + api_response = api_instance.list_user_products(user_id, n=n, offset=offset) pprint(api_response) except ApiException as e: - print("Exception when calling EconomyApi->get_token_bundles: %s\n" % e) + print("Exception when calling EconomyApi->list_user_products: %s\n" % e) ``` ### Parameters -This endpoint does not need any parameter. + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| Must be a valid user ID. | + **n** | **int**| The number of objects to return. | [optional] [default to 60] + **offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional] ### Return type -[**list[TokenBundle]**](TokenBundle.md) +[**list[Product]**](Product.md) ### Authorization @@ -1888,17 +2818,17 @@ This endpoint does not need any parameter. ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a list of TokenBundle objects. | - | +**200** | Returns a list of Product objects. | - | **401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_user_credits_eligible** -> UserCreditsEligible get_user_credits_eligible(user_id, subscription_id) +# **purchase_product_listing** +> ProductPurchase purchase_product_listing(purchase_product_listing_request=purchase_product_listing_request) -Get User Credits Eligiblity +Purchase Product Listing -Get the user's eligibility status for subscriptions based on available credits. +Purchases a product listing ### Example @@ -1930,27 +2860,25 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.EconomyApi(api_client) - user_id = 'user_id_example' # str | Must be a valid user ID. -subscription_id = 'subscription_id_example' # str | + purchase_product_listing_request = vrchatapi.PurchaseProductListingRequest() # PurchaseProductListingRequest | (optional) try: - # Get User Credits Eligiblity - api_response = api_instance.get_user_credits_eligible(user_id, subscription_id) + # Purchase Product Listing + api_response = api_instance.purchase_product_listing(purchase_product_listing_request=purchase_product_listing_request) pprint(api_response) except ApiException as e: - print("Exception when calling EconomyApi->get_user_credits_eligible: %s\n" % e) + print("Exception when calling EconomyApi->purchase_product_listing: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **user_id** | **str**| Must be a valid user ID. | - **subscription_id** | **str**| | + **purchase_product_listing_request** | [**PurchaseProductListingRequest**](PurchaseProductListingRequest.md)| | [optional] ### Return type -[**UserCreditsEligible**](UserCreditsEligible.md) +[**ProductPurchase**](ProductPurchase.md) ### Authorization @@ -1958,23 +2886,23 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a single UserCreditsEligible object. | - | +**200** | Returns a single ProductPurchase object. | - | **401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_user_subscription_eligible** -> UserSubscriptionEligible get_user_subscription_eligible(user_id, steam_id=steam_id) +# **update_product** +> Product update_product(product_id, update_product_request) -Get User Subscription Eligiblity +Update Product -Get the user's eligibility status for subscriptions. +Updates a product and returns the updated Product object. ### Example @@ -2006,27 +2934,27 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.EconomyApi(api_client) - user_id = 'user_id_example' # str | Must be a valid user ID. -steam_id = 'game night' # str | The Steam ID of the user. (optional) + product_id = 'product_id_example' # str | Must be a valid product ID. +update_product_request = vrchatapi.UpdateProductRequest() # UpdateProductRequest | try: - # Get User Subscription Eligiblity - api_response = api_instance.get_user_subscription_eligible(user_id, steam_id=steam_id) + # Update Product + api_response = api_instance.update_product(product_id, update_product_request) pprint(api_response) except ApiException as e: - print("Exception when calling EconomyApi->get_user_subscription_eligible: %s\n" % e) + print("Exception when calling EconomyApi->update_product: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **user_id** | **str**| Must be a valid user ID. | - **steam_id** | **str**| The Steam ID of the user. | [optional] + **product_id** | **str**| Must be a valid product ID. | + **update_product_request** | [**UpdateProductRequest**](UpdateProductRequest.md)| | ### Return type -[**UserSubscriptionEligible**](UserSubscriptionEligible.md) +[**Product**](Product.md) ### Authorization @@ -2034,23 +2962,23 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a single UserSubscriptionEligible object. | - | +**200** | Returns a single Product object. | - | **401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **purchase_product_listing** -> ProductPurchase purchase_product_listing(purchase_product_listing_request=purchase_product_listing_request) +# **update_product_listing_direct** +> ProductListing update_product_listing_direct(product_id, update_listing_request, hydrate=hydrate) -Purchase Product Listing +Update Product Listing -Purchases a product listing +Updates the active state of a listing. Setting `active` to `true` publishes the listing, while `false` unpublishes it. ### Example @@ -2082,25 +3010,29 @@ configuration.api_key['authCookie'] = 'YOUR_API_KEY' with vrchatapi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = vrchatapi.EconomyApi(api_client) - purchase_product_listing_request = vrchatapi.PurchaseProductListingRequest() # PurchaseProductListingRequest | (optional) + product_id = 'product_id_example' # str | Must be a valid product ID. +update_listing_request = vrchatapi.UpdateListingRequest() # UpdateListingRequest | +hydrate = True # bool | Populates some fields and changes types of others for certain objects. (optional) try: - # Purchase Product Listing - api_response = api_instance.purchase_product_listing(purchase_product_listing_request=purchase_product_listing_request) + # Update Product Listing + api_response = api_instance.update_product_listing_direct(product_id, update_listing_request, hydrate=hydrate) pprint(api_response) except ApiException as e: - print("Exception when calling EconomyApi->purchase_product_listing: %s\n" % e) + print("Exception when calling EconomyApi->update_product_listing_direct: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **purchase_product_listing_request** | [**PurchaseProductListingRequest**](PurchaseProductListingRequest.md)| | [optional] + **product_id** | **str**| Must be a valid product ID. | + **update_listing_request** | [**UpdateListingRequest**](UpdateListingRequest.md)| | + **hydrate** | **bool**| Populates some fields and changes types of others for certain objects. | [optional] ### Return type -[**ProductPurchase**](ProductPurchase.md) +[**ProductListing**](ProductListing.md) ### Authorization @@ -2114,7 +3046,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Returns a single ProductPurchase object. | - | +**200** | Returns a single ProductListing object. | - | **401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/EconomyBalances.md b/docs/EconomyBalances.md new file mode 100644 index 00000000..83a04ea2 --- /dev/null +++ b/docs/EconomyBalances.md @@ -0,0 +1,13 @@ +# EconomyBalances + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**balance** | **int** | | +**earnings** | **int** | | +**standard** | **int** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EconomyPayout.md b/docs/EconomyPayout.md new file mode 100644 index 00000000..742a2be1 --- /dev/null +++ b/docs/EconomyPayout.md @@ -0,0 +1,26 @@ +# EconomyPayout + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**payment_amount_tokens** | **int** | | +**payment_amount_usd** | **int** | | +**payment_created** | **datetime** | | +**payment_out_id** | **int** | | +**payment_platform** | **str** | | +**payment_platform_code** | **int** | | +**payment_status** | **str** | | +**payment_status_code** | **int** | | +**payment_updated** | **datetime** | | +**platform_payment_guid** | **str** | | [optional] +**platform_payment_method** | **str** | | [optional] +**reversal_date** | **datetime** | | [optional] +**reversal_reason** | **str** | | [optional] +**reversal_reason_code** | **int** | | [optional] +**reversal_transaction_id** | **int** | | [optional] +**transaction_id** | **int** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EconomyPayoutEligibility.md b/docs/EconomyPayoutEligibility.md new file mode 100644 index 00000000..968045f9 --- /dev/null +++ b/docs/EconomyPayoutEligibility.md @@ -0,0 +1,15 @@ +# EconomyPayoutEligibility + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**issue** | **str** | | +**ok_balance** | **bool** | | +**ok_frequency** | **bool** | | +**ok_not_ongoing** | **bool** | | +**ok_standing** | **bool** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EconomyPayoutList.md b/docs/EconomyPayoutList.md new file mode 100644 index 00000000..7160d714 --- /dev/null +++ b/docs/EconomyPayoutList.md @@ -0,0 +1,11 @@ +# EconomyPayoutList + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**payouts** | [**list[EconomyPayout]**](EconomyPayout.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EconomyPayoutStatus.md b/docs/EconomyPayoutStatus.md new file mode 100644 index 00000000..ed0e7f3b --- /dev/null +++ b/docs/EconomyPayoutStatus.md @@ -0,0 +1,18 @@ +# EconomyPayoutStatus + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**account_id** | **int** | | +**active_payout** | [**EconomyPayout**](EconomyPayout.md) | | [optional] +**active_payout_cancellable** | **bool** | | +**active_payout_tilia_amount** | **int** | | +**earnings_balance** | **int** | | +**eligibility** | [**EconomyPayoutEligibility**](EconomyPayoutEligibility.md) | | +**payout_eligible** | **bool** | | +**tilia_id** | **str** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Product.md b/docs/Product.md index e91aeb01..1dcf0037 100644 --- a/docs/Product.md +++ b/docs/Product.md @@ -14,8 +14,12 @@ Name | Type | Description | Notes **group_role_id** | **str** | | [optional] **id** | **str** | | **image_id** | **str** | | +**image_url** | **str** | | [optional] **parent_listings** | **list[str]** | | **product_type** | [**ProductType**](ProductType.md) | | +**product_type_label** | **str** | | [optional] +**purchase_count** | **int** | | [optional] +**purchase_count_quantity** | **int** | | [optional] **seller_display_name** | **str** | | **seller_id** | **str** | | **tags** | **list[str]** | | diff --git a/docs/ProductListing.md b/docs/ProductListing.md index bd580d04..130169ab 100644 --- a/docs/ProductListing.md +++ b/docs/ProductListing.md @@ -5,7 +5,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **active** | **bool** | | +**archived** | **bool** | | [optional] **buyer_refundable** | **bool** | | +**created** | **datetime** | | [optional] **description** | **str** | | **display_name** | **str** | | **duration** | **int** | | [optional] @@ -26,6 +28,8 @@ Name | Type | Description | Notes **product_ids** | **list[str]** | | **product_type** | [**ProductType**](ProductType.md) | | **products** | **list[object]** | | +**purchase_count** | **int** | | [optional] +**purchase_count_quantity** | **int** | | [optional] **quantifiable** | **bool** | | [optional] **recurrable** | **bool** | | **refundable** | **bool** | | @@ -36,6 +40,7 @@ Name | Type | Description | Notes **store_ids** | **list[str]** | | **subtitle** | **str** | | [optional] **tags** | **list[str]** | | [optional] +**updated** | **datetime** | | [optional] **vrc_plus_discount_price** | **int** | | [optional] **when_to_expire** | **datetime** | | [optional] diff --git a/docs/ProductPurchase.md b/docs/ProductPurchase.md index 9626a458..54236aa1 100644 --- a/docs/ProductPurchase.md +++ b/docs/ProductPurchase.md @@ -11,13 +11,15 @@ Name | Type | Description | Notes **is_gift** | **bool** | | **is_receiver** | **bool** | | **is_seller** | **bool** | | +**ledger_transaction_id** | **int** | | [optional] **listing_currently_available** | **bool** | | +**listing_description** | **str** | | [optional] **listing_display_name** | **str** | | **listing_id** | **str** | | **listing_image_id** | **str** | | **listing_subtitle** | **str** | | **listing_type** | [**ProductListingType**](ProductListingType.md) | | -**products** | **list[object]** | | +**products** | [**list[ProductPurchaseProduct]**](ProductPurchaseProduct.md) | | **purchase_active** | **bool** | | **purchase_context** | [**ProductPurchasePurchaseContext**](ProductPurchasePurchaseContext.md) | | **purchase_current_status** | **str** | | @@ -25,6 +27,7 @@ Name | Type | Description | Notes **purchase_duration** | **int** | | [optional] **purchase_duration_type** | **str** | | [optional] **purchase_end_date** | **datetime** | | +**purchase_fee** | **int** | | [optional] **purchase_id** | **str** | | **purchase_latest** | **bool** | | **purchase_price** | **int** | | @@ -33,6 +36,7 @@ Name | Type | Description | Notes **purchase_token** | **object** | | **purchase_type** | **str** | | **purchase_unit_price** | **int** | | +**purchase_value** | **int** | | [optional] **receiver_display_name** | **str** | | **receiver_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | **recurrable** | **bool** | | diff --git a/docs/ProductPurchaseProduct.md b/docs/ProductPurchaseProduct.md new file mode 100644 index 00000000..22465b4f --- /dev/null +++ b/docs/ProductPurchaseProduct.md @@ -0,0 +1,15 @@ +# ProductPurchaseProduct + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**display_name** | **str** | | +**id** | **str** | | +**image_id** | **str** | | [optional] +**license_id** | **str** | | [optional] +**product_type** | [**ProductType**](ProductType.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ProductPurchasePurchaseContext.md b/docs/ProductPurchasePurchaseContext.md index 8c54b488..51081d8d 100644 --- a/docs/ProductPurchasePurchaseContext.md +++ b/docs/ProductPurchasePurchaseContext.md @@ -5,6 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **location_type** | **str** | | [optional] +**world_id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | [optional] +**world_name** | **str** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Store.md b/docs/Store.md index febb0d99..92ee8a2c 100644 --- a/docs/Store.md +++ b/docs/Store.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**created** | **datetime** | | [optional] **description** | **str** | | **display_name** | **str** | | **group_id** | **str** | | [optional] @@ -14,9 +15,12 @@ Name | Type | Description | Notes **seller_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | **shelf_ids** | **list[str]** | Only for store type house | [optional] **shelves** | [**list[StoreShelf]**](StoreShelf.md) | Only for store type house | [optional] +**store_context** | [**StoreContext**](StoreContext.md) | | [optional] **store_id** | **str** | | +**store_status** | **str** | | [optional] **store_type** | [**StoreType**](StoreType.md) | | **tags** | **list[str]** | | +**updated** | **datetime** | | [optional] **world_id** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/StoreContext.md b/docs/StoreContext.md new file mode 100644 index 00000000..13401180 --- /dev/null +++ b/docs/StoreContext.md @@ -0,0 +1,13 @@ +# StoreContext + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | | +**image_url** | **str** | | +**name** | **str** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/TiliaKyc.md b/docs/TiliaKyc.md new file mode 100644 index 00000000..998de060 --- /dev/null +++ b/docs/TiliaKyc.md @@ -0,0 +1,18 @@ +# TiliaKyc + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**account_id** | **str** | Tilia account identifier. | +**kyc_id** | **str** | KYC verification identifier. | +**kyc_requirements** | **str** | Requirement state reported by Tilia. | +**match_checks** | **list[str]** | Match checks returned by Tilia. | +**pii_level** | **str** | PII verification level. | +**rules** | **list[str]** | Additional rules returned by Tilia. | +**state** | **str** | Overall KYC state. | +**tilia_retry_rule_code** | **str** | Retry rule code returned by Tilia, if any. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/UpdateListingRequest.md b/docs/UpdateListingRequest.md new file mode 100644 index 00000000..ea4d4f16 --- /dev/null +++ b/docs/UpdateListingRequest.md @@ -0,0 +1,11 @@ +# UpdateListingRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**active** | **bool** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/UpdateProductRequest.md b/docs/UpdateProductRequest.md new file mode 100644 index 00000000..484ab239 --- /dev/null +++ b/docs/UpdateProductRequest.md @@ -0,0 +1,15 @@ +# UpdateProductRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**description** | **str** | | [optional] +**display_name** | **str** | | [optional] +**image_id** | **str** | | [optional] +**tags** | **list[str]** | | [optional] +**use_for_subscriber_list** | **bool** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/setup.py b/setup.py index b82a2961..13198fca 100644 --- a/setup.py +++ b/setup.py @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.20.8.dev11" +VERSION = "1.20.8.dev12" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index dcf4d805..0f32b3d0 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -113,6 +113,8 @@ from vrchatapi.models.create_group_role_request import CreateGroupRoleRequest from vrchatapi.models.create_instance_request import CreateInstanceRequest from vrchatapi.models.create_jam_submission_request import CreateJamSubmissionRequest +from vrchatapi.models.create_listing_request import CreateListingRequest +from vrchatapi.models.create_product_request import CreateProductRequest from vrchatapi.models.create_prop_request import CreatePropRequest from vrchatapi.models.create_world_request import CreateWorldRequest from vrchatapi.models.current_user import CurrentUser @@ -126,6 +128,11 @@ from vrchatapi.models.earnings_metrics import EarningsMetrics from vrchatapi.models.earnings_metrics_totals import EarningsMetricsTotals from vrchatapi.models.economy_account import EconomyAccount +from vrchatapi.models.economy_balances import EconomyBalances +from vrchatapi.models.economy_payout import EconomyPayout +from vrchatapi.models.economy_payout_eligibility import EconomyPayoutEligibility +from vrchatapi.models.economy_payout_list import EconomyPayoutList +from vrchatapi.models.economy_payout_status import EconomyPayoutStatus from vrchatapi.models.equip_inventory_item_request import EquipInventoryItemRequest from vrchatapi.models.error import Error from vrchatapi.models.favorite import Favorite @@ -265,6 +272,7 @@ from vrchatapi.models.product_purchase import ProductPurchase from vrchatapi.models.product_purchase_history import ProductPurchaseHistory from vrchatapi.models.product_purchase_location_type import ProductPurchaseLocationType +from vrchatapi.models.product_purchase_product import ProductPurchaseProduct from vrchatapi.models.product_purchase_purchase_context import ProductPurchasePurchaseContext from vrchatapi.models.product_purchase_record import ProductPurchaseRecord from vrchatapi.models.product_type import ProductType @@ -297,6 +305,7 @@ from vrchatapi.models.sort_option import SortOption from vrchatapi.models.sort_option_product_purchase import SortOptionProductPurchase from vrchatapi.models.store import Store +from vrchatapi.models.store_context import StoreContext from vrchatapi.models.store_shelf import StoreShelf from vrchatapi.models.store_type import StoreType from vrchatapi.models.store_view import StoreView @@ -306,6 +315,7 @@ from vrchatapi.models.subscription_period import SubscriptionPeriod from vrchatapi.models.success import Success from vrchatapi.models.success_flag import SuccessFlag +from vrchatapi.models.tilia_kyc import TiliaKyc from vrchatapi.models.tilia_status import TiliaStatus from vrchatapi.models.tilia_tos import TiliaTOS from vrchatapi.models.token_bundle import TokenBundle @@ -332,6 +342,8 @@ from vrchatapi.models.update_group_role_request import UpdateGroupRoleRequest from vrchatapi.models.update_inventory_item_request import UpdateInventoryItemRequest from vrchatapi.models.update_invite_message_request import UpdateInviteMessageRequest +from vrchatapi.models.update_listing_request import UpdateListingRequest +from vrchatapi.models.update_product_request import UpdateProductRequest from vrchatapi.models.update_prop_request import UpdatePropRequest from vrchatapi.models.update_tilia_tos_request import UpdateTiliaTOSRequest from vrchatapi.models.update_user_badge_request import UpdateUserBadgeRequest diff --git a/vrchatapi/api/economy_api.py b/vrchatapi/api/economy_api.py index e8d4bc1c..2bcd28bf 100644 --- a/vrchatapi/api/economy_api.py +++ b/vrchatapi/api/economy_api.py @@ -36,16 +36,18 @@ def __init__(self, api_client=None): api_client = ApiClient() self.api_client = api_client - def get_active_licenses(self, **kwargs): # noqa: E501 - """Get Active Licenses # noqa: E501 + def create_product(self, create_product_request, **kwargs): # noqa: E501 + """Create Product # noqa: E501 - Gets active licenses # noqa: E501 + Creates a product and returns the new Product object. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_active_licenses(async_req=True) + >>> thread = api.create_product(create_product_request, async_req=True) >>> result = thread.get() + :param create_product_request: (required) + :type create_product_request: CreateProductRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -59,21 +61,23 @@ def get_active_licenses(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[License] + :rtype: Product """ kwargs['_return_http_data_only'] = True - return self.get_active_licenses_with_http_info(**kwargs) # noqa: E501 + return self.create_product_with_http_info(create_product_request, **kwargs) # noqa: E501 - def get_active_licenses_with_http_info(self, **kwargs): # noqa: E501 - """Get Active Licenses # noqa: E501 + def create_product_with_http_info(self, create_product_request, **kwargs): # noqa: E501 + """Create Product # noqa: E501 - Gets active licenses # noqa: E501 + Creates a product and returns the new Product object. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_active_licenses_with_http_info(async_req=True) + >>> thread = api.create_product_with_http_info(create_product_request, async_req=True) >>> result = thread.get() + :param create_product_request: (required) + :type create_product_request: CreateProductRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -95,12 +99,13 @@ def get_active_licenses_with_http_info(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[License], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(Product, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ + 'create_product_request' ] all_params.extend( [ @@ -118,10 +123,13 @@ def get_active_licenses_with_http_info(self, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_active_licenses" % key + " to method create_product" % key ) local_var_params[key] = val del local_var_params['kwargs'] + # verify the required parameter 'create_product_request' is set + if self.api_client.client_side_validation and local_var_params.get('create_product_request') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `create_product_request` when calling `create_product`") # noqa: E501 collection_formats = {} @@ -135,20 +143,30 @@ def get_active_licenses_with_http_info(self, **kwargs): # noqa: E501 local_var_files = {} body_params = None + if 'create_product_request' in local_var_params: + body_params = local_var_params['create_product_request'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + # Authentication setting auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "list[License]", + 200: "Product", 401: "Error", } return self.api_client.call_api( - '/economy/licenses/active', 'GET', + '/products', 'POST', path_params, query_params, header_params, @@ -164,18 +182,18 @@ def get_active_licenses_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_balance(self, user_id, **kwargs): # noqa: E501 - """Get Balance # noqa: E501 + def create_product_listing_direct(self, create_listing_request, **kwargs): # noqa: E501 + """Create Product Listing # noqa: E501 - Gets the balance of a user # noqa: E501 + Creates a listing and returns the new ProductListing object. The request body is based on observed fields and may be incomplete. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_balance(user_id, async_req=True) + >>> thread = api.create_product_listing_direct(create_listing_request, async_req=True) >>> result = thread.get() - :param user_id: Must be a valid user ID. (required) - :type user_id: str + :param create_listing_request: (required) + :type create_listing_request: CreateListingRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -189,23 +207,23 @@ def get_balance(self, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: Balance + :rtype: ProductListing """ kwargs['_return_http_data_only'] = True - return self.get_balance_with_http_info(user_id, **kwargs) # noqa: E501 + return self.create_product_listing_direct_with_http_info(create_listing_request, **kwargs) # noqa: E501 - def get_balance_with_http_info(self, user_id, **kwargs): # noqa: E501 - """Get Balance # noqa: E501 + def create_product_listing_direct_with_http_info(self, create_listing_request, **kwargs): # noqa: E501 + """Create Product Listing # noqa: E501 - Gets the balance of a user # noqa: E501 + Creates a listing and returns the new ProductListing object. The request body is based on observed fields and may be incomplete. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_balance_with_http_info(user_id, async_req=True) + >>> thread = api.create_product_listing_direct_with_http_info(create_listing_request, async_req=True) >>> result = thread.get() - :param user_id: Must be a valid user ID. (required) - :type user_id: str + :param create_listing_request: (required) + :type create_listing_request: CreateListingRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -227,13 +245,13 @@ def get_balance_with_http_info(self, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(Balance, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(ProductListing, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'user_id' + 'create_listing_request' ] all_params.extend( [ @@ -251,19 +269,17 @@ def get_balance_with_http_info(self, user_id, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_balance" % key + " to method create_product_listing_direct" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `user_id` when calling `get_balance`") # noqa: E501 + # verify the required parameter 'create_listing_request' is set + if self.api_client.client_side_validation and local_var_params.get('create_listing_request') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `create_listing_request` when calling `create_product_listing_direct`") # noqa: E501 collection_formats = {} path_params = {} - if 'user_id' in local_var_params: - path_params['userId'] = local_var_params['user_id'] # noqa: E501 query_params = [] @@ -273,20 +289,30 @@ def get_balance_with_http_info(self, user_id, **kwargs): # noqa: E501 local_var_files = {} body_params = None + if 'create_listing_request' in local_var_params: + body_params = local_var_params['create_listing_request'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + # Authentication setting auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "Balance", + 200: "ProductListing", 401: "Error", } return self.api_client.call_api( - '/user/{userId}/balance', 'GET', + '/listing', 'POST', path_params, query_params, header_params, @@ -302,18 +328,18 @@ def get_balance_with_http_info(self, user_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_balance_earnings(self, user_id, **kwargs): # noqa: E501 - """Get Balance Earnings # noqa: E501 + def delete_product(self, product_id, **kwargs): # noqa: E501 + """Delete Product # noqa: E501 - Gets the balance of a user from earnings # noqa: E501 + Deletes a product. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_balance_earnings(user_id, async_req=True) + >>> thread = api.delete_product(product_id, async_req=True) >>> result = thread.get() - :param user_id: Must be a valid user ID. (required) - :type user_id: str + :param product_id: Must be a valid product ID. (required) + :type product_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -327,23 +353,23 @@ def get_balance_earnings(self, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: Balance + :rtype: SuccessFlag """ kwargs['_return_http_data_only'] = True - return self.get_balance_earnings_with_http_info(user_id, **kwargs) # noqa: E501 + return self.delete_product_with_http_info(product_id, **kwargs) # noqa: E501 - def get_balance_earnings_with_http_info(self, user_id, **kwargs): # noqa: E501 - """Get Balance Earnings # noqa: E501 + def delete_product_with_http_info(self, product_id, **kwargs): # noqa: E501 + """Delete Product # noqa: E501 - Gets the balance of a user from earnings # noqa: E501 + Deletes a product. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_balance_earnings_with_http_info(user_id, async_req=True) + >>> thread = api.delete_product_with_http_info(product_id, async_req=True) >>> result = thread.get() - :param user_id: Must be a valid user ID. (required) - :type user_id: str + :param product_id: Must be a valid product ID. (required) + :type product_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -365,13 +391,13 @@ def get_balance_earnings_with_http_info(self, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(Balance, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(SuccessFlag, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'user_id' + 'product_id' ] all_params.extend( [ @@ -389,19 +415,19 @@ def get_balance_earnings_with_http_info(self, user_id, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_balance_earnings" % key + " to method delete_product" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `user_id` when calling `get_balance_earnings`") # noqa: E501 + # verify the required parameter 'product_id' is set + if self.api_client.client_side_validation and local_var_params.get('product_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `product_id` when calling `delete_product`") # noqa: E501 collection_formats = {} path_params = {} - if 'user_id' in local_var_params: - path_params['userId'] = local_var_params['user_id'] # noqa: E501 + if 'product_id' in local_var_params: + path_params['productId'] = local_var_params['product_id'] # noqa: E501 query_params = [] @@ -419,12 +445,12 @@ def get_balance_earnings_with_http_info(self, user_id, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "Balance", + 200: "SuccessFlag", 401: "Error", } return self.api_client.call_api( - '/user/{userId}/balance/earnings', 'GET', + '/products/{productId}', 'DELETE', path_params, query_params, header_params, @@ -440,18 +466,20 @@ def get_balance_earnings_with_http_info(self, user_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_bulk_gift_purchases(self, **kwargs): # noqa: E501 - """Get Bulk Gift Purchases # noqa: E501 + def delete_product_listing_direct(self, product_id, **kwargs): # noqa: E501 + """Delete Product Listing # noqa: E501 - Get bulk gift purchases made by the user. # noqa: E501 + Deletes a listing. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_bulk_gift_purchases(async_req=True) + >>> thread = api.delete_product_listing_direct(product_id, async_req=True) >>> result = thread.get() - :param most_recent: - :type most_recent: bool + :param product_id: Must be a valid product ID. (required) + :type product_id: str + :param hydrate: Populates some fields and changes types of others for certain objects. + :type hydrate: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -465,23 +493,25 @@ def get_bulk_gift_purchases(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[object] + :rtype: SuccessFlag """ kwargs['_return_http_data_only'] = True - return self.get_bulk_gift_purchases_with_http_info(**kwargs) # noqa: E501 + return self.delete_product_listing_direct_with_http_info(product_id, **kwargs) # noqa: E501 - def get_bulk_gift_purchases_with_http_info(self, **kwargs): # noqa: E501 - """Get Bulk Gift Purchases # noqa: E501 + def delete_product_listing_direct_with_http_info(self, product_id, **kwargs): # noqa: E501 + """Delete Product Listing # noqa: E501 - Get bulk gift purchases made by the user. # noqa: E501 + Deletes a listing. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_bulk_gift_purchases_with_http_info(async_req=True) + >>> thread = api.delete_product_listing_direct_with_http_info(product_id, async_req=True) >>> result = thread.get() - :param most_recent: - :type most_recent: bool + :param product_id: Must be a valid product ID. (required) + :type product_id: str + :param hydrate: Populates some fields and changes types of others for certain objects. + :type hydrate: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -503,13 +533,14 @@ def get_bulk_gift_purchases_with_http_info(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[object], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(SuccessFlag, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'most_recent' + 'product_id', + 'hydrate' ] all_params.extend( [ @@ -527,18 +558,23 @@ def get_bulk_gift_purchases_with_http_info(self, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_bulk_gift_purchases" % key + " to method delete_product_listing_direct" % key ) local_var_params[key] = val del local_var_params['kwargs'] + # verify the required parameter 'product_id' is set + if self.api_client.client_side_validation and local_var_params.get('product_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `product_id` when calling `delete_product_listing_direct`") # noqa: E501 collection_formats = {} path_params = {} + if 'product_id' in local_var_params: + path_params['productId'] = local_var_params['product_id'] # noqa: E501 query_params = [] - if local_var_params.get('most_recent') is not None: # noqa: E501 - query_params.append(('mostRecent', local_var_params['most_recent'])) # noqa: E501 + if local_var_params.get('hydrate') is not None: # noqa: E501 + query_params.append(('hydrate', local_var_params['hydrate'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -554,12 +590,12 @@ def get_bulk_gift_purchases_with_http_info(self, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "list[object]", + 200: "SuccessFlag", 401: "Error", } return self.api_client.call_api( - '/user/bulk/gift/purchases', 'GET', + '/listing/{productId}', 'DELETE', path_params, query_params, header_params, @@ -575,14 +611,14 @@ def get_bulk_gift_purchases_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_current_subscriptions(self, **kwargs): # noqa: E501 - """Get Current Subscriptions # noqa: E501 + def get_active_licenses(self, **kwargs): # noqa: E501 + """Get Active Licenses # noqa: E501 - Get a list of all current user subscriptions. # noqa: E501 + Gets active licenses # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_current_subscriptions(async_req=True) + >>> thread = api.get_active_licenses(async_req=True) >>> result = thread.get() :param async_req: Whether to execute the request asynchronously. @@ -598,19 +634,19 @@ def get_current_subscriptions(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[UserSubscription] + :rtype: list[License] """ kwargs['_return_http_data_only'] = True - return self.get_current_subscriptions_with_http_info(**kwargs) # noqa: E501 + return self.get_active_licenses_with_http_info(**kwargs) # noqa: E501 - def get_current_subscriptions_with_http_info(self, **kwargs): # noqa: E501 - """Get Current Subscriptions # noqa: E501 + def get_active_licenses_with_http_info(self, **kwargs): # noqa: E501 + """Get Active Licenses # noqa: E501 - Get a list of all current user subscriptions. # noqa: E501 + Gets active licenses # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_current_subscriptions_with_http_info(async_req=True) + >>> thread = api.get_active_licenses_with_http_info(async_req=True) >>> result = thread.get() :param async_req: Whether to execute the request asynchronously. @@ -634,7 +670,7 @@ def get_current_subscriptions_with_http_info(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[UserSubscription], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(list[License], status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() @@ -657,7 +693,7 @@ def get_current_subscriptions_with_http_info(self, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_current_subscriptions" % key + " to method get_active_licenses" % key ) local_var_params[key] = val del local_var_params['kwargs'] @@ -682,12 +718,12 @@ def get_current_subscriptions_with_http_info(self, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "list[UserSubscription]", + 200: "list[License]", 401: "Error", } return self.api_client.call_api( - '/auth/user/subscription', 'GET', + '/economy/licenses/active', 'GET', path_params, query_params, header_params, @@ -703,16 +739,18 @@ def get_current_subscriptions_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_earnings_metrics(self, **kwargs): # noqa: E501 - """Get Earnings Metrics # noqa: E501 + def get_balance(self, user_id, **kwargs): # noqa: E501 + """Get Balance # noqa: E501 - Gets earnings totals and breakdown metrics for the currently authenticated user. # noqa: E501 + Gets the balance of a user # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_earnings_metrics(async_req=True) + >>> thread = api.get_balance(user_id, async_req=True) >>> result = thread.get() + :param user_id: Must be a valid user ID. (required) + :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -726,21 +764,23 @@ def get_earnings_metrics(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: EarningsMetrics + :rtype: Balance """ kwargs['_return_http_data_only'] = True - return self.get_earnings_metrics_with_http_info(**kwargs) # noqa: E501 + return self.get_balance_with_http_info(user_id, **kwargs) # noqa: E501 - def get_earnings_metrics_with_http_info(self, **kwargs): # noqa: E501 - """Get Earnings Metrics # noqa: E501 + def get_balance_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get Balance # noqa: E501 - Gets earnings totals and breakdown metrics for the currently authenticated user. # noqa: E501 + Gets the balance of a user # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_earnings_metrics_with_http_info(async_req=True) + >>> thread = api.get_balance_with_http_info(user_id, async_req=True) >>> result = thread.get() + :param user_id: Must be a valid user ID. (required) + :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -762,12 +802,13 @@ def get_earnings_metrics_with_http_info(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(EarningsMetrics, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(Balance, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ + 'user_id' ] all_params.extend( [ @@ -785,14 +826,19 @@ def get_earnings_metrics_with_http_info(self, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_earnings_metrics" % key + " to method get_balance" % key ) local_var_params[key] = val del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_balance`") # noqa: E501 collection_formats = {} path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 query_params = [] @@ -810,12 +856,12 @@ def get_earnings_metrics_with_http_info(self, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "EarningsMetrics", + 200: "Balance", 401: "Error", } return self.api_client.call_api( - '/economy/metrics/earnings', 'GET', + '/user/{userId}/balance', 'GET', path_params, query_params, header_params, @@ -831,14 +877,14 @@ def get_earnings_metrics_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_economy_account(self, user_id, **kwargs): # noqa: E501 - """Get Economy Account # noqa: E501 + def get_balance_earnings(self, user_id, **kwargs): # noqa: E501 + """Get Balance Earnings # noqa: E501 - Gets the economy account of a user # noqa: E501 + Gets the balance of a user from earnings # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_economy_account(user_id, async_req=True) + >>> thread = api.get_balance_earnings(user_id, async_req=True) >>> result = thread.get() :param user_id: Must be a valid user ID. (required) @@ -856,19 +902,19 @@ def get_economy_account(self, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: EconomyAccount + :rtype: Balance """ kwargs['_return_http_data_only'] = True - return self.get_economy_account_with_http_info(user_id, **kwargs) # noqa: E501 + return self.get_balance_earnings_with_http_info(user_id, **kwargs) # noqa: E501 - def get_economy_account_with_http_info(self, user_id, **kwargs): # noqa: E501 - """Get Economy Account # noqa: E501 + def get_balance_earnings_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get Balance Earnings # noqa: E501 - Gets the economy account of a user # noqa: E501 + Gets the balance of a user from earnings # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_economy_account_with_http_info(user_id, async_req=True) + >>> thread = api.get_balance_earnings_with_http_info(user_id, async_req=True) >>> result = thread.get() :param user_id: Must be a valid user ID. (required) @@ -894,7 +940,7 @@ def get_economy_account_with_http_info(self, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(EconomyAccount, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(Balance, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() @@ -918,13 +964,13 @@ def get_economy_account_with_http_info(self, user_id, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_economy_account" % key + " to method get_balance_earnings" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `user_id` when calling `get_economy_account`") # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_balance_earnings`") # noqa: E501 collection_formats = {} @@ -948,12 +994,12 @@ def get_economy_account_with_http_info(self, user_id, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "EconomyAccount", + 200: "Balance", 401: "Error", } return self.api_client.call_api( - '/user/{userId}/economy/account', 'GET', + '/user/{userId}/balance/earnings', 'GET', path_params, query_params, header_params, @@ -969,18 +1015,18 @@ def get_economy_account_with_http_info(self, user_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_license_group(self, license_group_id, **kwargs): # noqa: E501 - """Get License Group # noqa: E501 + def get_bulk_gift_purchases(self, **kwargs): # noqa: E501 + """Get Bulk Gift Purchases # noqa: E501 - Get a single License Group by given ID. # noqa: E501 + Get bulk gift purchases made by the user. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_license_group(license_group_id, async_req=True) + >>> thread = api.get_bulk_gift_purchases(async_req=True) >>> result = thread.get() - :param license_group_id: Must be a valid license group ID. (required) - :type license_group_id: str + :param most_recent: + :type most_recent: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -994,23 +1040,23 @@ def get_license_group(self, license_group_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: LicenseGroup + :rtype: list[object] """ kwargs['_return_http_data_only'] = True - return self.get_license_group_with_http_info(license_group_id, **kwargs) # noqa: E501 + return self.get_bulk_gift_purchases_with_http_info(**kwargs) # noqa: E501 - def get_license_group_with_http_info(self, license_group_id, **kwargs): # noqa: E501 - """Get License Group # noqa: E501 + def get_bulk_gift_purchases_with_http_info(self, **kwargs): # noqa: E501 + """Get Bulk Gift Purchases # noqa: E501 - Get a single License Group by given ID. # noqa: E501 + Get bulk gift purchases made by the user. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_license_group_with_http_info(license_group_id, async_req=True) + >>> thread = api.get_bulk_gift_purchases_with_http_info(async_req=True) >>> result = thread.get() - :param license_group_id: Must be a valid license group ID. (required) - :type license_group_id: str + :param most_recent: + :type most_recent: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -1032,13 +1078,13 @@ def get_license_group_with_http_info(self, license_group_id, **kwargs): # noqa: :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(LicenseGroup, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(list[object], status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'license_group_id' + 'most_recent' ] all_params.extend( [ @@ -1056,21 +1102,18 @@ def get_license_group_with_http_info(self, license_group_id, **kwargs): # noqa: if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_license_group" % key + " to method get_bulk_gift_purchases" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'license_group_id' is set - if self.api_client.client_side_validation and local_var_params.get('license_group_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `license_group_id` when calling `get_license_group`") # noqa: E501 collection_formats = {} path_params = {} - if 'license_group_id' in local_var_params: - path_params['licenseGroupId'] = local_var_params['license_group_id'] # noqa: E501 query_params = [] + if local_var_params.get('most_recent') is not None: # noqa: E501 + query_params.append(('mostRecent', local_var_params['most_recent'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -1086,12 +1129,12 @@ def get_license_group_with_http_info(self, license_group_id, **kwargs): # noqa: auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "LicenseGroup", + 200: "list[object]", 401: "Error", } return self.api_client.call_api( - '/licenseGroups/{licenseGroupId}', 'GET', + '/user/bulk/gift/purchases', 'GET', path_params, query_params, header_params, @@ -1107,20 +1150,16 @@ def get_license_group_with_http_info(self, license_group_id, **kwargs): # noqa: collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_product_listing(self, product_id, **kwargs): # noqa: E501 - """Get Product Listing # noqa: E501 + def get_current_subscriptions(self, **kwargs): # noqa: E501 + """Get Current Subscriptions # noqa: E501 - Gets a product listing # noqa: E501 + Get a list of all current user subscriptions. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_product_listing(product_id, async_req=True) + >>> thread = api.get_current_subscriptions(async_req=True) >>> result = thread.get() - :param product_id: Must be a valid product ID. (required) - :type product_id: str - :param hydrate: Populates some fields and changes types of others for certain objects. - :type hydrate: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -1134,25 +1173,21 @@ def get_product_listing(self, product_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: ProductListing + :rtype: list[UserSubscription] """ kwargs['_return_http_data_only'] = True - return self.get_product_listing_with_http_info(product_id, **kwargs) # noqa: E501 + return self.get_current_subscriptions_with_http_info(**kwargs) # noqa: E501 - def get_product_listing_with_http_info(self, product_id, **kwargs): # noqa: E501 - """Get Product Listing # noqa: E501 + def get_current_subscriptions_with_http_info(self, **kwargs): # noqa: E501 + """Get Current Subscriptions # noqa: E501 - Gets a product listing # noqa: E501 + Get a list of all current user subscriptions. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_product_listing_with_http_info(product_id, async_req=True) + >>> thread = api.get_current_subscriptions_with_http_info(async_req=True) >>> result = thread.get() - :param product_id: Must be a valid product ID. (required) - :type product_id: str - :param hydrate: Populates some fields and changes types of others for certain objects. - :type hydrate: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -1174,14 +1209,12 @@ def get_product_listing_with_http_info(self, product_id, **kwargs): # noqa: E50 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(ProductListing, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(list[UserSubscription], status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'product_id', - 'hydrate' ] all_params.extend( [ @@ -1199,23 +1232,16 @@ def get_product_listing_with_http_info(self, product_id, **kwargs): # noqa: E50 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_product_listing" % key + " to method get_current_subscriptions" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'product_id' is set - if self.api_client.client_side_validation and local_var_params.get('product_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `product_id` when calling `get_product_listing`") # noqa: E501 collection_formats = {} path_params = {} - if 'product_id' in local_var_params: - path_params['productId'] = local_var_params['product_id'] # noqa: E501 query_params = [] - if local_var_params.get('hydrate') is not None: # noqa: E501 - query_params.append(('hydrate', local_var_params['hydrate'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -1231,12 +1257,12 @@ def get_product_listing_with_http_info(self, product_id, **kwargs): # noqa: E50 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "ProductListing", + 200: "list[UserSubscription]", 401: "Error", } return self.api_client.call_api( - '/listing/{productId}', 'GET', + '/auth/user/subscription', 'GET', path_params, query_params, header_params, @@ -1252,18 +1278,24 @@ def get_product_listing_with_http_info(self, product_id, **kwargs): # noqa: E50 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_product_listing_alternate(self, product_id, **kwargs): # noqa: E501 - """Get Product Listing (alternate) # noqa: E501 + def get_earnings_metrics(self, seller_id, **kwargs): # noqa: E501 + """Get Earnings Metrics # noqa: E501 - Gets a product listing # noqa: E501 + Gets earnings totals and breakdown metrics for the currently authenticated user. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_product_listing_alternate(product_id, async_req=True) + >>> thread = api.get_earnings_metrics(seller_id, async_req=True) >>> result = thread.get() - :param product_id: Must be a valid product ID. (required) - :type product_id: str + :param seller_id: Seller to retrieve economy metrics for. (required) + :type seller_id: str + :param metric_date_start: Lower bound for economy metrics queries. Observed formats include both date-only and full ISO timestamps. + :type metric_date_start: str + :param metric_date_end: Upper bound for economy metrics queries. Observed formats include both date-only and full ISO timestamps. + :type metric_date_end: str + :param group_by_duration: Time bucket size for economy metrics. Observed values include `days` and `years`. + :type group_by_duration: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -1277,23 +1309,29 @@ def get_product_listing_alternate(self, product_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: ProductListing + :rtype: EarningsMetrics """ kwargs['_return_http_data_only'] = True - return self.get_product_listing_alternate_with_http_info(product_id, **kwargs) # noqa: E501 + return self.get_earnings_metrics_with_http_info(seller_id, **kwargs) # noqa: E501 - def get_product_listing_alternate_with_http_info(self, product_id, **kwargs): # noqa: E501 - """Get Product Listing (alternate) # noqa: E501 + def get_earnings_metrics_with_http_info(self, seller_id, **kwargs): # noqa: E501 + """Get Earnings Metrics # noqa: E501 - Gets a product listing # noqa: E501 + Gets earnings totals and breakdown metrics for the currently authenticated user. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_product_listing_alternate_with_http_info(product_id, async_req=True) + >>> thread = api.get_earnings_metrics_with_http_info(seller_id, async_req=True) >>> result = thread.get() - :param product_id: Must be a valid product ID. (required) - :type product_id: str + :param seller_id: Seller to retrieve economy metrics for. (required) + :type seller_id: str + :param metric_date_start: Lower bound for economy metrics queries. Observed formats include both date-only and full ISO timestamps. + :type metric_date_start: str + :param metric_date_end: Upper bound for economy metrics queries. Observed formats include both date-only and full ISO timestamps. + :type metric_date_end: str + :param group_by_duration: Time bucket size for economy metrics. Observed values include `days` and `years`. + :type group_by_duration: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -1315,13 +1353,16 @@ def get_product_listing_alternate_with_http_info(self, product_id, **kwargs): # :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(ProductListing, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(EarningsMetrics, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'product_id' + 'seller_id', + 'metric_date_start', + 'metric_date_end', + 'group_by_duration' ] all_params.extend( [ @@ -1339,21 +1380,27 @@ def get_product_listing_alternate_with_http_info(self, product_id, **kwargs): # if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_product_listing_alternate" % key + " to method get_earnings_metrics" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'product_id' is set - if self.api_client.client_side_validation and local_var_params.get('product_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `product_id` when calling `get_product_listing_alternate`") # noqa: E501 + # verify the required parameter 'seller_id' is set + if self.api_client.client_side_validation and local_var_params.get('seller_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `seller_id` when calling `get_earnings_metrics`") # noqa: E501 collection_formats = {} path_params = {} - if 'product_id' in local_var_params: - path_params['productId'] = local_var_params['product_id'] # noqa: E501 query_params = [] + if local_var_params.get('metric_date_start') is not None: # noqa: E501 + query_params.append(('metricDateStart', local_var_params['metric_date_start'])) # noqa: E501 + if local_var_params.get('metric_date_end') is not None: # noqa: E501 + query_params.append(('metricDateEnd', local_var_params['metric_date_end'])) # noqa: E501 + if local_var_params.get('seller_id') is not None: # noqa: E501 + query_params.append(('sellerId', local_var_params['seller_id'])) # noqa: E501 + if local_var_params.get('group_by_duration') is not None: # noqa: E501 + query_params.append(('groupByDuration', local_var_params['group_by_duration'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -1369,12 +1416,12 @@ def get_product_listing_alternate_with_http_info(self, product_id, **kwargs): # auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "ProductListing", + 200: "EarningsMetrics", 401: "Error", } return self.api_client.call_api( - '/products/{productId}', 'GET', + '/economy/metrics/earnings', 'GET', path_params, query_params, header_params, @@ -1390,28 +1437,18 @@ def get_product_listing_alternate_with_http_info(self, product_id, **kwargs): # collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_product_listings(self, user_id, **kwargs): # noqa: E501 - """Get User Product Listings # noqa: E501 + def get_economy_account(self, user_id, **kwargs): # noqa: E501 + """Get Economy Account # noqa: E501 - Gets the product listings of a given user # noqa: E501 + Gets the economy account of a user # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_product_listings(user_id, async_req=True) + >>> thread = api.get_economy_account(user_id, async_req=True) >>> result = thread.get() :param user_id: Must be a valid user ID. (required) :type user_id: str - :param n: The number of objects to return. - :type n: int - :param offset: A zero-based offset from the default object sorting from where search results start. - :type offset: int - :param hydrate: Populates some fields and changes types of others for certain objects. - :type hydrate: bool - :param group_id: Must be a valid group ID. - :type group_id: str - :param active: Filter for users' listings and inventory bundles. - :type active: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -1425,33 +1462,23 @@ def get_product_listings(self, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[ProductListing] + :rtype: EconomyAccount """ kwargs['_return_http_data_only'] = True - return self.get_product_listings_with_http_info(user_id, **kwargs) # noqa: E501 + return self.get_economy_account_with_http_info(user_id, **kwargs) # noqa: E501 - def get_product_listings_with_http_info(self, user_id, **kwargs): # noqa: E501 - """Get User Product Listings # noqa: E501 + def get_economy_account_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get Economy Account # noqa: E501 - Gets the product listings of a given user # noqa: E501 + Gets the economy account of a user # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_product_listings_with_http_info(user_id, async_req=True) + >>> thread = api.get_economy_account_with_http_info(user_id, async_req=True) >>> result = thread.get() :param user_id: Must be a valid user ID. (required) :type user_id: str - :param n: The number of objects to return. - :type n: int - :param offset: A zero-based offset from the default object sorting from where search results start. - :type offset: int - :param hydrate: Populates some fields and changes types of others for certain objects. - :type hydrate: bool - :param group_id: Must be a valid group ID. - :type group_id: str - :param active: Filter for users' listings and inventory bundles. - :type active: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -1473,18 +1500,13 @@ def get_product_listings_with_http_info(self, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[ProductListing], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(EconomyAccount, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'user_id', - 'n', - 'offset', - 'hydrate', - 'group_id', - 'active' + 'user_id' ] all_params.extend( [ @@ -1502,20 +1524,14 @@ def get_product_listings_with_http_info(self, user_id, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_product_listings" % key + " to method get_economy_account" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `user_id` when calling `get_product_listings`") # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_economy_account`") # noqa: E501 - if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 - raise ApiValueError("Invalid value for parameter `n` when calling `get_product_listings`, must be a value less than or equal to `100`") # noqa: E501 - if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 - raise ApiValueError("Invalid value for parameter `n` when calling `get_product_listings`, must be a value greater than or equal to `1`") # noqa: E501 - if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 - raise ApiValueError("Invalid value for parameter `offset` when calling `get_product_listings`, must be a value greater than or equal to `0`") # noqa: E501 collection_formats = {} path_params = {} @@ -1523,16 +1539,6 @@ def get_product_listings_with_http_info(self, user_id, **kwargs): # noqa: E501 path_params['userId'] = local_var_params['user_id'] # noqa: E501 query_params = [] - if local_var_params.get('n') is not None: # noqa: E501 - query_params.append(('n', local_var_params['n'])) # noqa: E501 - if local_var_params.get('offset') is not None: # noqa: E501 - query_params.append(('offset', local_var_params['offset'])) # noqa: E501 - if local_var_params.get('hydrate') is not None: # noqa: E501 - query_params.append(('hydrate', local_var_params['hydrate'])) # noqa: E501 - if local_var_params.get('group_id') is not None: # noqa: E501 - query_params.append(('groupId', local_var_params['group_id'])) # noqa: E501 - if local_var_params.get('active') is not None: # noqa: E501 - query_params.append(('active', local_var_params['active'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -1548,12 +1554,12 @@ def get_product_listings_with_http_info(self, user_id, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "list[ProductListing]", + 200: "EconomyAccount", 401: "Error", } return self.api_client.call_api( - '/user/{userId}/listings', 'GET', + '/user/{userId}/economy/account', 'GET', path_params, query_params, header_params, @@ -1569,18 +1575,18 @@ def get_product_listings_with_http_info(self, user_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_product_purchase(self, product_purchase_id, **kwargs): # noqa: E501 - """Get Product Purchase # noqa: E501 + def get_economy_balances(self, user_id, **kwargs): # noqa: E501 + """Get Economy Balances # noqa: E501 - Gets a single product purchase # noqa: E501 + Gets the combined balances for a user. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_product_purchase(product_purchase_id, async_req=True) + >>> thread = api.get_economy_balances(user_id, async_req=True) >>> result = thread.get() - :param product_purchase_id: Must be a valid purchase ID. (required) - :type product_purchase_id: str + :param user_id: Must be a valid user ID. (required) + :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -1594,23 +1600,23 @@ def get_product_purchase(self, product_purchase_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: ProductPurchase + :rtype: EconomyBalances """ kwargs['_return_http_data_only'] = True - return self.get_product_purchase_with_http_info(product_purchase_id, **kwargs) # noqa: E501 + return self.get_economy_balances_with_http_info(user_id, **kwargs) # noqa: E501 - def get_product_purchase_with_http_info(self, product_purchase_id, **kwargs): # noqa: E501 - """Get Product Purchase # noqa: E501 + def get_economy_balances_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get Economy Balances # noqa: E501 - Gets a single product purchase # noqa: E501 + Gets the combined balances for a user. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_product_purchase_with_http_info(product_purchase_id, async_req=True) + >>> thread = api.get_economy_balances_with_http_info(user_id, async_req=True) >>> result = thread.get() - :param product_purchase_id: Must be a valid purchase ID. (required) - :type product_purchase_id: str + :param user_id: Must be a valid user ID. (required) + :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -1632,13 +1638,13 @@ def get_product_purchase_with_http_info(self, product_purchase_id, **kwargs): # :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(ProductPurchase, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(EconomyBalances, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'product_purchase_id' + 'user_id' ] all_params.extend( [ @@ -1656,19 +1662,19 @@ def get_product_purchase_with_http_info(self, product_purchase_id, **kwargs): # if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_product_purchase" % key + " to method get_economy_balances" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'product_purchase_id' is set - if self.api_client.client_side_validation and local_var_params.get('product_purchase_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `product_purchase_id` when calling `get_product_purchase`") # noqa: E501 + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_economy_balances`") # noqa: E501 collection_formats = {} path_params = {} - if 'product_purchase_id' in local_var_params: - path_params['productPurchaseId'] = local_var_params['product_purchase_id'] # noqa: E501 + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 query_params = [] @@ -1686,12 +1692,12 @@ def get_product_purchase_with_http_info(self, product_purchase_id, **kwargs): # auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "ProductPurchase", + 200: "EconomyBalances", 401: "Error", } return self.api_client.call_api( - '/economy/purchases/{productPurchaseId}', 'GET', + '/user/{userId}/economy/balances', 'GET', path_params, query_params, header_params, @@ -1707,32 +1713,18 @@ def get_product_purchase_with_http_info(self, product_purchase_id, **kwargs): # collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_product_purchase_history(self, user_id, **kwargs): # noqa: E501 - """Get Product Purchase History # noqa: E501 + def get_economy_payout_status(self, user_id, **kwargs): # noqa: E501 + """Get Economy Payout Status # noqa: E501 - Gets a history of product purchases # noqa: E501 + Gets the current payout status and eligibility information for a user. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_product_purchase_history(user_id, async_req=True) + >>> thread = api.get_economy_payout_status(user_id, async_req=True) >>> result = thread.get() :param user_id: Must be a valid user ID. (required) :type user_id: str - :param n: The number of objects to return. - :type n: int - :param date_min: The start date of the search range. - :type date_min: datetime - :param date_max: The end date of the search range. - :type date_max: datetime - :param from_user_id: Must be a valid user ID. - :type from_user_id: str - :param to_user_id: Must be a valid user ID. - :type to_user_id: str - :param sort: The sort order of the results. - :type sort: SortOptionProductPurchase - :param order: Result ordering - :type order: OrderOptionShort :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -1746,37 +1738,23 @@ def get_product_purchase_history(self, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: ProductPurchaseHistory + :rtype: EconomyPayoutStatus """ kwargs['_return_http_data_only'] = True - return self.get_product_purchase_history_with_http_info(user_id, **kwargs) # noqa: E501 + return self.get_economy_payout_status_with_http_info(user_id, **kwargs) # noqa: E501 - def get_product_purchase_history_with_http_info(self, user_id, **kwargs): # noqa: E501 - """Get Product Purchase History # noqa: E501 + def get_economy_payout_status_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get Economy Payout Status # noqa: E501 - Gets a history of product purchases # noqa: E501 + Gets the current payout status and eligibility information for a user. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_product_purchase_history_with_http_info(user_id, async_req=True) + >>> thread = api.get_economy_payout_status_with_http_info(user_id, async_req=True) >>> result = thread.get() :param user_id: Must be a valid user ID. (required) :type user_id: str - :param n: The number of objects to return. - :type n: int - :param date_min: The start date of the search range. - :type date_min: datetime - :param date_max: The end date of the search range. - :type date_max: datetime - :param from_user_id: Must be a valid user ID. - :type from_user_id: str - :param to_user_id: Must be a valid user ID. - :type to_user_id: str - :param sort: The sort order of the results. - :type sort: SortOptionProductPurchase - :param order: Result ordering - :type order: OrderOptionShort :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -1798,20 +1776,13 @@ def get_product_purchase_history_with_http_info(self, user_id, **kwargs): # noq :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(ProductPurchaseHistory, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(EconomyPayoutStatus, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'user_id', - 'n', - 'date_min', - 'date_max', - 'from_user_id', - 'to_user_id', - 'sort', - 'order' + 'user_id' ] all_params.extend( [ @@ -1829,18 +1800,14 @@ def get_product_purchase_history_with_http_info(self, user_id, **kwargs): # noq if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_product_purchase_history" % key + " to method get_economy_payout_status" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'user_id' is set if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `user_id` when calling `get_product_purchase_history`") # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_economy_payout_status`") # noqa: E501 - if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 - raise ApiValueError("Invalid value for parameter `n` when calling `get_product_purchase_history`, must be a value less than or equal to `100`") # noqa: E501 - if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 - raise ApiValueError("Invalid value for parameter `n` when calling `get_product_purchase_history`, must be a value greater than or equal to `1`") # noqa: E501 collection_formats = {} path_params = {} @@ -1848,17 +1815,1401 @@ def get_product_purchase_history_with_http_info(self, user_id, **kwargs): # noq path_params['userId'] = local_var_params['user_id'] # noqa: E501 query_params = [] - if local_var_params.get('n') is not None: # noqa: E501 - query_params.append(('n', local_var_params['n'])) # noqa: E501 - if local_var_params.get('date_min') is not None: # noqa: E501 - query_params.append(('dateMin', local_var_params['date_min'])) # noqa: E501 - if local_var_params.get('date_max') is not None: # noqa: E501 - query_params.append(('dateMax', local_var_params['date_max'])) # noqa: E501 - if local_var_params.get('from_user_id') is not None: # noqa: E501 - query_params.append(('fromUserId', local_var_params['from_user_id'])) # noqa: E501 - if local_var_params.get('to_user_id') is not None: # noqa: E501 - query_params.append(('toUserId', local_var_params['to_user_id'])) # noqa: E501 - if local_var_params.get('sort') is not None: # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "EconomyPayoutStatus", + 401: "Error", + } + + return self.api_client.call_api( + '/user/{userId}/economy/payouts/status', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_economy_payouts(self, user_id, **kwargs): # noqa: E501 + """Get Economy Payouts # noqa: E501 + + Gets the payout history for a user. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_economy_payouts(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: EconomyPayoutList + """ + kwargs['_return_http_data_only'] = True + return self.get_economy_payouts_with_http_info(user_id, **kwargs) # noqa: E501 + + def get_economy_payouts_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get Economy Payouts # noqa: E501 + + Gets the payout history for a user. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_economy_payouts_with_http_info(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(EconomyPayoutList, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_economy_payouts" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_economy_payouts`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "EconomyPayoutList", + 401: "Error", + } + + return self.api_client.call_api( + '/user/{userId}/economy/payouts/list', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_license_group(self, license_group_id, **kwargs): # noqa: E501 + """Get License Group # noqa: E501 + + Get a single License Group by given ID. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_license_group(license_group_id, async_req=True) + >>> result = thread.get() + + :param license_group_id: Must be a valid license group ID. (required) + :type license_group_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: LicenseGroup + """ + kwargs['_return_http_data_only'] = True + return self.get_license_group_with_http_info(license_group_id, **kwargs) # noqa: E501 + + def get_license_group_with_http_info(self, license_group_id, **kwargs): # noqa: E501 + """Get License Group # noqa: E501 + + Get a single License Group by given ID. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_license_group_with_http_info(license_group_id, async_req=True) + >>> result = thread.get() + + :param license_group_id: Must be a valid license group ID. (required) + :type license_group_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(LicenseGroup, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'license_group_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_license_group" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'license_group_id' is set + if self.api_client.client_side_validation and local_var_params.get('license_group_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `license_group_id` when calling `get_license_group`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'license_group_id' in local_var_params: + path_params['licenseGroupId'] = local_var_params['license_group_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "LicenseGroup", + 401: "Error", + } + + return self.api_client.call_api( + '/licenseGroups/{licenseGroupId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_product_listing(self, product_id, **kwargs): # noqa: E501 + """Get Product Listing # noqa: E501 + + Gets a product listing # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_product_listing(product_id, async_req=True) + >>> result = thread.get() + + :param product_id: Must be a valid product ID. (required) + :type product_id: str + :param hydrate: Populates some fields and changes types of others for certain objects. + :type hydrate: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: ProductListing + """ + kwargs['_return_http_data_only'] = True + return self.get_product_listing_with_http_info(product_id, **kwargs) # noqa: E501 + + def get_product_listing_with_http_info(self, product_id, **kwargs): # noqa: E501 + """Get Product Listing # noqa: E501 + + Gets a product listing # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_product_listing_with_http_info(product_id, async_req=True) + >>> result = thread.get() + + :param product_id: Must be a valid product ID. (required) + :type product_id: str + :param hydrate: Populates some fields and changes types of others for certain objects. + :type hydrate: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(ProductListing, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'product_id', + 'hydrate' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_product_listing" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'product_id' is set + if self.api_client.client_side_validation and local_var_params.get('product_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `product_id` when calling `get_product_listing`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'product_id' in local_var_params: + path_params['productId'] = local_var_params['product_id'] # noqa: E501 + + query_params = [] + if local_var_params.get('hydrate') is not None: # noqa: E501 + query_params.append(('hydrate', local_var_params['hydrate'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "ProductListing", + 401: "Error", + } + + return self.api_client.call_api( + '/listing/{productId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_product_listing_alternate(self, product_id, **kwargs): # noqa: E501 + """Get Product Listing (alternate) # noqa: E501 + + Gets a product listing # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_product_listing_alternate(product_id, async_req=True) + >>> result = thread.get() + + :param product_id: Must be a valid product ID. (required) + :type product_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: ProductListing + """ + kwargs['_return_http_data_only'] = True + return self.get_product_listing_alternate_with_http_info(product_id, **kwargs) # noqa: E501 + + def get_product_listing_alternate_with_http_info(self, product_id, **kwargs): # noqa: E501 + """Get Product Listing (alternate) # noqa: E501 + + Gets a product listing # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_product_listing_alternate_with_http_info(product_id, async_req=True) + >>> result = thread.get() + + :param product_id: Must be a valid product ID. (required) + :type product_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(ProductListing, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'product_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_product_listing_alternate" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'product_id' is set + if self.api_client.client_side_validation and local_var_params.get('product_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `product_id` when calling `get_product_listing_alternate`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'product_id' in local_var_params: + path_params['productId'] = local_var_params['product_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "ProductListing", + 401: "Error", + } + + return self.api_client.call_api( + '/products/{productId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_product_listings(self, user_id, **kwargs): # noqa: E501 + """Get User Product Listings # noqa: E501 + + Gets the product listings of a given user # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_product_listings(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param hydrate: Populates some fields and changes types of others for certain objects. + :type hydrate: bool + :param listing_type: Filter user listings by category. Observed values include `otp` and `subscription`. + :type listing_type: str + :param group_id: Must be a valid group ID. + :type group_id: str + :param active: Filter for users' listings and inventory bundles. + :type active: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[ProductListing] + """ + kwargs['_return_http_data_only'] = True + return self.get_product_listings_with_http_info(user_id, **kwargs) # noqa: E501 + + def get_product_listings_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get User Product Listings # noqa: E501 + + Gets the product listings of a given user # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_product_listings_with_http_info(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param hydrate: Populates some fields and changes types of others for certain objects. + :type hydrate: bool + :param listing_type: Filter user listings by category. Observed values include `otp` and `subscription`. + :type listing_type: str + :param group_id: Must be a valid group ID. + :type group_id: str + :param active: Filter for users' listings and inventory bundles. + :type active: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[ProductListing], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_id', + 'n', + 'offset', + 'hydrate', + 'listing_type', + 'group_id', + 'active' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_product_listings" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_product_listings`") # noqa: E501 + + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_product_listings`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_product_listings`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_product_listings`, must be a value greater than or equal to `0`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + if local_var_params.get('hydrate') is not None: # noqa: E501 + query_params.append(('hydrate', local_var_params['hydrate'])) # noqa: E501 + if local_var_params.get('listing_type') is not None: # noqa: E501 + query_params.append(('listingType', local_var_params['listing_type'])) # noqa: E501 + if local_var_params.get('group_id') is not None: # noqa: E501 + query_params.append(('groupId', local_var_params['group_id'])) # noqa: E501 + if local_var_params.get('active') is not None: # noqa: E501 + query_params.append(('active', local_var_params['active'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[ProductListing]", + 401: "Error", + } + + return self.api_client.call_api( + '/user/{userId}/listings', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_product_purchase(self, product_purchase_id, **kwargs): # noqa: E501 + """Get Product Purchase # noqa: E501 + + Gets a single product purchase # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_product_purchase(product_purchase_id, async_req=True) + >>> result = thread.get() + + :param product_purchase_id: Must be a valid purchase ID. (required) + :type product_purchase_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: ProductPurchase + """ + kwargs['_return_http_data_only'] = True + return self.get_product_purchase_with_http_info(product_purchase_id, **kwargs) # noqa: E501 + + def get_product_purchase_with_http_info(self, product_purchase_id, **kwargs): # noqa: E501 + """Get Product Purchase # noqa: E501 + + Gets a single product purchase # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_product_purchase_with_http_info(product_purchase_id, async_req=True) + >>> result = thread.get() + + :param product_purchase_id: Must be a valid purchase ID. (required) + :type product_purchase_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(ProductPurchase, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'product_purchase_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_product_purchase" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'product_purchase_id' is set + if self.api_client.client_side_validation and local_var_params.get('product_purchase_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `product_purchase_id` when calling `get_product_purchase`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'product_purchase_id' in local_var_params: + path_params['productPurchaseId'] = local_var_params['product_purchase_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "ProductPurchase", + 401: "Error", + } + + return self.api_client.call_api( + '/economy/purchases/{productPurchaseId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_product_purchase_history(self, user_id, **kwargs): # noqa: E501 + """Get Product Purchase History # noqa: E501 + + Gets a history of product purchases # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_product_purchase_history(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param n: The number of objects to return. + :type n: int + :param date_min: The start date of the search range. + :type date_min: datetime + :param date_max: The end date of the search range. + :type date_max: datetime + :param from_user_id: Must be a valid user ID. + :type from_user_id: str + :param to_user_id: Must be a valid user ID. + :type to_user_id: str + :param sort: The sort order of the results. + :type sort: SortOptionProductPurchase + :param order: Result ordering + :type order: OrderOptionShort + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: ProductPurchaseHistory + """ + kwargs['_return_http_data_only'] = True + return self.get_product_purchase_history_with_http_info(user_id, **kwargs) # noqa: E501 + + def get_product_purchase_history_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get Product Purchase History # noqa: E501 + + Gets a history of product purchases # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_product_purchase_history_with_http_info(user_id, async_req=True) + >>> result = thread.get() + + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param n: The number of objects to return. + :type n: int + :param date_min: The start date of the search range. + :type date_min: datetime + :param date_max: The end date of the search range. + :type date_max: datetime + :param from_user_id: Must be a valid user ID. + :type from_user_id: str + :param to_user_id: Must be a valid user ID. + :type to_user_id: str + :param sort: The sort order of the results. + :type sort: SortOptionProductPurchase + :param order: Result ordering + :type order: OrderOptionShort + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(ProductPurchaseHistory, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'user_id', + 'n', + 'date_min', + 'date_max', + 'from_user_id', + 'to_user_id', + 'sort', + 'order' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_product_purchase_history" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_product_purchase_history`") # noqa: E501 + + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_product_purchase_history`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_product_purchase_history`, must be a value greater than or equal to `1`") # noqa: E501 + collection_formats = {} + + path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 + + query_params = [] + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('date_min') is not None: # noqa: E501 + query_params.append(('dateMin', local_var_params['date_min'])) # noqa: E501 + if local_var_params.get('date_max') is not None: # noqa: E501 + query_params.append(('dateMax', local_var_params['date_max'])) # noqa: E501 + if local_var_params.get('from_user_id') is not None: # noqa: E501 + query_params.append(('fromUserId', local_var_params['from_user_id'])) # noqa: E501 + if local_var_params.get('to_user_id') is not None: # noqa: E501 + query_params.append(('toUserId', local_var_params['to_user_id'])) # noqa: E501 + if local_var_params.get('sort') is not None: # noqa: E501 + query_params.append(('sort', local_var_params['sort'])) # noqa: E501 + if local_var_params.get('order') is not None: # noqa: E501 + query_params.append(('order', local_var_params['order'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "ProductPurchaseHistory", + 401: "Error", + } + + return self.api_client.call_api( + '/user/{userId}/economy/transactions', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_product_purchase_stacks(self, product_purchase_id, **kwargs): # noqa: E501 + """Get Product Purchase Stacks # noqa: E501 + + Gets stacks for a product purchase # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_product_purchase_stacks(product_purchase_id, async_req=True) + >>> result = thread.get() + + :param product_purchase_id: Must be a valid purchase ID. (required) + :type product_purchase_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[object] + """ + kwargs['_return_http_data_only'] = True + return self.get_product_purchase_stacks_with_http_info(product_purchase_id, **kwargs) # noqa: E501 + + def get_product_purchase_stacks_with_http_info(self, product_purchase_id, **kwargs): # noqa: E501 + """Get Product Purchase Stacks # noqa: E501 + + Gets stacks for a product purchase # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_product_purchase_stacks_with_http_info(product_purchase_id, async_req=True) + >>> result = thread.get() + + :param product_purchase_id: Must be a valid purchase ID. (required) + :type product_purchase_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[object], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'product_purchase_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_product_purchase_stacks" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'product_purchase_id' is set + if self.api_client.client_side_validation and local_var_params.get('product_purchase_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `product_purchase_id` when calling `get_product_purchase_stacks`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'product_purchase_id' in local_var_params: + path_params['productPurchaseId'] = local_var_params['product_purchase_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "list[object]", + 401: "Error", + } + + return self.api_client.call_api( + '/economy/purchases/{productPurchaseId}/stacks', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_product_purchases(self, buyer_id, **kwargs): # noqa: E501 + """Get Product Purchases # noqa: E501 + + Gets product purchases # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_product_purchases(buyer_id, async_req=True) + >>> result = thread.get() + + :param buyer_id: Must be a valid user ID. (required) + :type buyer_id: str + :param seller_id: Filter results by seller. + :type seller_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param most_recent: + :type most_recent: bool + :param sort: The sort order of the results. + :type sort: SortOptionProductPurchase + :param order: Result ordering + :type order: OrderOptionShort + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[ProductPurchase] + """ + kwargs['_return_http_data_only'] = True + return self.get_product_purchases_with_http_info(buyer_id, **kwargs) # noqa: E501 + + def get_product_purchases_with_http_info(self, buyer_id, **kwargs): # noqa: E501 + """Get Product Purchases # noqa: E501 + + Gets product purchases # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_product_purchases_with_http_info(buyer_id, async_req=True) + >>> result = thread.get() + + :param buyer_id: Must be a valid user ID. (required) + :type buyer_id: str + :param seller_id: Filter results by seller. + :type seller_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int + :param most_recent: + :type most_recent: bool + :param sort: The sort order of the results. + :type sort: SortOptionProductPurchase + :param order: Result ordering + :type order: OrderOptionShort + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[ProductPurchase], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'buyer_id', + 'seller_id', + 'n', + 'offset', + 'most_recent', + 'sort', + 'order' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_product_purchases" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'buyer_id' is set + if self.api_client.client_side_validation and local_var_params.get('buyer_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `buyer_id` when calling `get_product_purchases`") # noqa: E501 + + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_product_purchases`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `get_product_purchases`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `get_product_purchases`, must be a value greater than or equal to `0`") # noqa: E501 + collection_formats = {} + + path_params = {} + + query_params = [] + if local_var_params.get('buyer_id') is not None: # noqa: E501 + query_params.append(('buyerId', local_var_params['buyer_id'])) # noqa: E501 + if local_var_params.get('seller_id') is not None: # noqa: E501 + query_params.append(('sellerId', local_var_params['seller_id'])) # noqa: E501 + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + if local_var_params.get('most_recent') is not None: # noqa: E501 + query_params.append(('mostRecent', local_var_params['most_recent'])) # noqa: E501 + if local_var_params.get('sort') is not None: # noqa: E501 query_params.append(('sort', local_var_params['sort'])) # noqa: E501 if local_var_params.get('order') is not None: # noqa: E501 query_params.append(('order', local_var_params['order'])) # noqa: E501 @@ -1877,12 +3228,406 @@ def get_product_purchase_history_with_http_info(self, user_id, **kwargs): # noq auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "ProductPurchaseHistory", + 200: "list[ProductPurchase]", + 401: "Error", + } + + return self.api_client.call_api( + '/economy/purchases', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_recent_subscription(self, **kwargs): # noqa: E501 + """Get Recent Subscription # noqa: E501 + + Get the most recent user subscription. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_recent_subscription(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: UserSubscription + """ + kwargs['_return_http_data_only'] = True + return self.get_recent_subscription_with_http_info(**kwargs) # noqa: E501 + + def get_recent_subscription_with_http_info(self, **kwargs): # noqa: E501 + """Get Recent Subscription # noqa: E501 + + Get the most recent user subscription. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_recent_subscription_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(UserSubscription, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_recent_subscription" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "UserSubscription", + 401: "Error", + } + + return self.api_client.call_api( + '/user/subscription/recent', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_seller_eligibility(self, **kwargs): # noqa: E501 + """Get Seller Eligibility # noqa: E501 + + Get the eligibility of the currently authenticated user to become a seller # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_seller_eligibility(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: SellerEligibility + """ + kwargs['_return_http_data_only'] = True + return self.get_seller_eligibility_with_http_info(**kwargs) # noqa: E501 + + def get_seller_eligibility_with_http_info(self, **kwargs): # noqa: E501 + """Get Seller Eligibility # noqa: E501 + + Get the eligibility of the currently authenticated user to become a seller # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_seller_eligibility_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(SellerEligibility, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_seller_eligibility" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "SellerEligibility", + 401: "Error", + } + + return self.api_client.call_api( + '/economy/seller/eligibility', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_steam_transaction(self, transaction_id, **kwargs): # noqa: E501 + """Get Steam Transaction # noqa: E501 + + Get a single Steam transactions by ID. This returns the exact same information as `getSteamTransactions`, so no point in using this endpoint. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_steam_transaction(transaction_id, async_req=True) + >>> result = thread.get() + + :param transaction_id: Must be a valid transaction ID. (required) + :type transaction_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: Transaction + """ + kwargs['_return_http_data_only'] = True + return self.get_steam_transaction_with_http_info(transaction_id, **kwargs) # noqa: E501 + + def get_steam_transaction_with_http_info(self, transaction_id, **kwargs): # noqa: E501 + """Get Steam Transaction # noqa: E501 + + Get a single Steam transactions by ID. This returns the exact same information as `getSteamTransactions`, so no point in using this endpoint. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_steam_transaction_with_http_info(transaction_id, async_req=True) + >>> result = thread.get() + + :param transaction_id: Must be a valid transaction ID. (required) + :type transaction_id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(Transaction, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'transaction_id' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_steam_transaction" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'transaction_id' is set + if self.api_client.client_side_validation and local_var_params.get('transaction_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `transaction_id` when calling `get_steam_transaction`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'transaction_id' in local_var_params: + path_params['transactionId'] = local_var_params['transaction_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['authCookie'] # noqa: E501 + + response_types_map = { + 200: "Transaction", 401: "Error", } return self.api_client.call_api( - '/user/{userId}/economy/transactions', 'GET', + '/Steam/transactions/{transactionId}', 'GET', path_params, query_params, header_params, @@ -1898,18 +3643,16 @@ def get_product_purchase_history_with_http_info(self, user_id, **kwargs): # noq collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_product_purchase_stacks(self, product_purchase_id, **kwargs): # noqa: E501 - """Get Product Purchase Stacks # noqa: E501 + def get_steam_transactions(self, **kwargs): # noqa: E501 + """List Steam Transactions # noqa: E501 - Gets stacks for a product purchase # noqa: E501 + Get all own Steam transactions. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_product_purchase_stacks(product_purchase_id, async_req=True) + >>> thread = api.get_steam_transactions(async_req=True) >>> result = thread.get() - :param product_purchase_id: Must be a valid purchase ID. (required) - :type product_purchase_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -1923,23 +3666,21 @@ def get_product_purchase_stacks(self, product_purchase_id, **kwargs): # noqa: E :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[object] + :rtype: list[Transaction] """ kwargs['_return_http_data_only'] = True - return self.get_product_purchase_stacks_with_http_info(product_purchase_id, **kwargs) # noqa: E501 + return self.get_steam_transactions_with_http_info(**kwargs) # noqa: E501 - def get_product_purchase_stacks_with_http_info(self, product_purchase_id, **kwargs): # noqa: E501 - """Get Product Purchase Stacks # noqa: E501 + def get_steam_transactions_with_http_info(self, **kwargs): # noqa: E501 + """List Steam Transactions # noqa: E501 - Gets stacks for a product purchase # noqa: E501 + Get all own Steam transactions. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_product_purchase_stacks_with_http_info(product_purchase_id, async_req=True) + >>> thread = api.get_steam_transactions_with_http_info(async_req=True) >>> result = thread.get() - :param product_purchase_id: Must be a valid purchase ID. (required) - :type product_purchase_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -1961,13 +3702,12 @@ def get_product_purchase_stacks_with_http_info(self, product_purchase_id, **kwar :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[object], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(list[Transaction], status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'product_purchase_id' ] all_params.extend( [ @@ -1985,19 +3725,14 @@ def get_product_purchase_stacks_with_http_info(self, product_purchase_id, **kwar if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_product_purchase_stacks" % key + " to method get_steam_transactions" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'product_purchase_id' is set - if self.api_client.client_side_validation and local_var_params.get('product_purchase_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `product_purchase_id` when calling `get_product_purchase_stacks`") # noqa: E501 collection_formats = {} path_params = {} - if 'product_purchase_id' in local_var_params: - path_params['productPurchaseId'] = local_var_params['product_purchase_id'] # noqa: E501 query_params = [] @@ -2015,12 +3750,12 @@ def get_product_purchase_stacks_with_http_info(self, product_purchase_id, **kwar auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "list[object]", + 200: "list[Transaction]", 401: "Error", } return self.api_client.call_api( - '/economy/purchases/{productPurchaseId}/stacks', 'GET', + '/Steam/transactions', 'GET', path_params, query_params, header_params, @@ -2036,28 +3771,22 @@ def get_product_purchase_stacks_with_http_info(self, product_purchase_id, **kwar collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_product_purchases(self, buyer_id, **kwargs): # noqa: E501 - """Get Product Purchases # noqa: E501 + def get_store(self, store_id, **kwargs): # noqa: E501 + """Get Store # noqa: E501 - Gets product purchases # noqa: E501 + Gets a store # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_product_purchases(buyer_id, async_req=True) + >>> thread = api.get_store(store_id, async_req=True) >>> result = thread.get() - :param buyer_id: Must be a valid user ID. (required) - :type buyer_id: str - :param n: The number of objects to return. - :type n: int - :param offset: A zero-based offset from the default object sorting from where search results start. - :type offset: int - :param most_recent: - :type most_recent: bool - :param sort: The sort order of the results. - :type sort: SortOptionProductPurchase - :param order: Result ordering - :type order: OrderOptionShort + :param store_id: (required) + :type store_id: str + :param hydrate_listings: Listings fields will be populated. + :type hydrate_listings: bool + :param hydrate_products: Products fields will be populated. + :type hydrate_products: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -2071,33 +3800,27 @@ def get_product_purchases(self, buyer_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[ProductPurchase] + :rtype: Store """ kwargs['_return_http_data_only'] = True - return self.get_product_purchases_with_http_info(buyer_id, **kwargs) # noqa: E501 + return self.get_store_with_http_info(store_id, **kwargs) # noqa: E501 - def get_product_purchases_with_http_info(self, buyer_id, **kwargs): # noqa: E501 - """Get Product Purchases # noqa: E501 + def get_store_with_http_info(self, store_id, **kwargs): # noqa: E501 + """Get Store # noqa: E501 - Gets product purchases # noqa: E501 + Gets a store # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_product_purchases_with_http_info(buyer_id, async_req=True) + >>> thread = api.get_store_with_http_info(store_id, async_req=True) >>> result = thread.get() - :param buyer_id: Must be a valid user ID. (required) - :type buyer_id: str - :param n: The number of objects to return. - :type n: int - :param offset: A zero-based offset from the default object sorting from where search results start. - :type offset: int - :param most_recent: - :type most_recent: bool - :param sort: The sort order of the results. - :type sort: SortOptionProductPurchase - :param order: Result ordering - :type order: OrderOptionShort + :param store_id: (required) + :type store_id: str + :param hydrate_listings: Listings fields will be populated. + :type hydrate_listings: bool + :param hydrate_products: Products fields will be populated. + :type hydrate_products: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -2119,18 +3842,15 @@ def get_product_purchases_with_http_info(self, buyer_id, **kwargs): # noqa: E50 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[ProductPurchase], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(Store, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'buyer_id', - 'n', - 'offset', - 'most_recent', - 'sort', - 'order' + 'store_id', + 'hydrate_listings', + 'hydrate_products' ] all_params.extend( [ @@ -2148,37 +3868,25 @@ def get_product_purchases_with_http_info(self, buyer_id, **kwargs): # noqa: E50 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_product_purchases" % key + " to method get_store" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'buyer_id' is set - if self.api_client.client_side_validation and local_var_params.get('buyer_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `buyer_id` when calling `get_product_purchases`") # noqa: E501 + # verify the required parameter 'store_id' is set + if self.api_client.client_side_validation and local_var_params.get('store_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `store_id` when calling `get_store`") # noqa: E501 - if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 - raise ApiValueError("Invalid value for parameter `n` when calling `get_product_purchases`, must be a value less than or equal to `100`") # noqa: E501 - if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 - raise ApiValueError("Invalid value for parameter `n` when calling `get_product_purchases`, must be a value greater than or equal to `1`") # noqa: E501 - if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 - raise ApiValueError("Invalid value for parameter `offset` when calling `get_product_purchases`, must be a value greater than or equal to `0`") # noqa: E501 collection_formats = {} path_params = {} query_params = [] - if local_var_params.get('buyer_id') is not None: # noqa: E501 - query_params.append(('buyerId', local_var_params['buyer_id'])) # noqa: E501 - if local_var_params.get('n') is not None: # noqa: E501 - query_params.append(('n', local_var_params['n'])) # noqa: E501 - if local_var_params.get('offset') is not None: # noqa: E501 - query_params.append(('offset', local_var_params['offset'])) # noqa: E501 - if local_var_params.get('most_recent') is not None: # noqa: E501 - query_params.append(('mostRecent', local_var_params['most_recent'])) # noqa: E501 - if local_var_params.get('sort') is not None: # noqa: E501 - query_params.append(('sort', local_var_params['sort'])) # noqa: E501 - if local_var_params.get('order') is not None: # noqa: E501 - query_params.append(('order', local_var_params['order'])) # noqa: E501 + if local_var_params.get('store_id') is not None: # noqa: E501 + query_params.append(('storeId', local_var_params['store_id'])) # noqa: E501 + if local_var_params.get('hydrate_listings') is not None: # noqa: E501 + query_params.append(('hydrateListings', local_var_params['hydrate_listings'])) # noqa: E501 + if local_var_params.get('hydrate_products') is not None: # noqa: E501 + query_params.append(('hydrateProducts', local_var_params['hydrate_products'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -2194,12 +3902,12 @@ def get_product_purchases_with_http_info(self, buyer_id, **kwargs): # noqa: E50 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "list[ProductPurchase]", + 200: "Store", 401: "Error", } return self.api_client.call_api( - '/economy/purchases', 'GET', + '/economy/store', 'GET', path_params, query_params, header_params, @@ -2215,16 +3923,22 @@ def get_product_purchases_with_http_info(self, buyer_id, **kwargs): # noqa: E50 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_recent_subscription(self, **kwargs): # noqa: E501 - """Get Recent Subscription # noqa: E501 + def get_store_shelves(self, store_id, **kwargs): # noqa: E501 + """Get Store Shelves # noqa: E501 - Get the most recent user subscription. # noqa: E501 + Gets the shelves for a store # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_recent_subscription(async_req=True) + >>> thread = api.get_store_shelves(store_id, async_req=True) >>> result = thread.get() + :param store_id: (required) + :type store_id: str + :param hydrate_listings: Listings fields will be populated. + :type hydrate_listings: bool + :param fetch: + :type fetch: StoreView :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -2238,21 +3952,27 @@ def get_recent_subscription(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: UserSubscription + :rtype: list[StoreShelf] """ kwargs['_return_http_data_only'] = True - return self.get_recent_subscription_with_http_info(**kwargs) # noqa: E501 + return self.get_store_shelves_with_http_info(store_id, **kwargs) # noqa: E501 - def get_recent_subscription_with_http_info(self, **kwargs): # noqa: E501 - """Get Recent Subscription # noqa: E501 + def get_store_shelves_with_http_info(self, store_id, **kwargs): # noqa: E501 + """Get Store Shelves # noqa: E501 - Get the most recent user subscription. # noqa: E501 + Gets the shelves for a store # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_recent_subscription_with_http_info(async_req=True) + >>> thread = api.get_store_shelves_with_http_info(store_id, async_req=True) >>> result = thread.get() + :param store_id: (required) + :type store_id: str + :param hydrate_listings: Listings fields will be populated. + :type hydrate_listings: bool + :param fetch: + :type fetch: StoreView :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -2274,12 +3994,15 @@ def get_recent_subscription_with_http_info(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(UserSubscription, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(list[StoreShelf], status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ + 'store_id', + 'hydrate_listings', + 'fetch' ] all_params.extend( [ @@ -2297,16 +4020,25 @@ def get_recent_subscription_with_http_info(self, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_recent_subscription" % key + " to method get_store_shelves" % key ) local_var_params[key] = val del local_var_params['kwargs'] + # verify the required parameter 'store_id' is set + if self.api_client.client_side_validation and local_var_params.get('store_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `store_id` when calling `get_store_shelves`") # noqa: E501 collection_formats = {} path_params = {} query_params = [] + if local_var_params.get('store_id') is not None: # noqa: E501 + query_params.append(('storeId', local_var_params['store_id'])) # noqa: E501 + if local_var_params.get('hydrate_listings') is not None: # noqa: E501 + query_params.append(('hydrateListings', local_var_params['hydrate_listings'])) # noqa: E501 + if local_var_params.get('fetch') is not None: # noqa: E501 + query_params.append(('fetch', local_var_params['fetch'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -2322,12 +4054,12 @@ def get_recent_subscription_with_http_info(self, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "UserSubscription", + 200: "list[StoreShelf]", 401: "Error", } return self.api_client.call_api( - '/user/subscription/recent', 'GET', + '/economy/store/shelves', 'GET', path_params, query_params, header_params, @@ -2343,14 +4075,14 @@ def get_recent_subscription_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_seller_eligibility(self, **kwargs): # noqa: E501 - """Get Seller Eligibility # noqa: E501 + def get_subscriptions(self, **kwargs): # noqa: E501 + """List Subscriptions # noqa: E501 - Get the eligibility of the currently authenticated user to become a seller # noqa: E501 + List all existing Subscriptions. For example, \"vrchatplus-monthly\" and \"vrchatplus-yearly\". # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_seller_eligibility(async_req=True) + >>> thread = api.get_subscriptions(async_req=True) >>> result = thread.get() :param async_req: Whether to execute the request asynchronously. @@ -2366,19 +4098,19 @@ def get_seller_eligibility(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: SellerEligibility + :rtype: list[Subscription] """ kwargs['_return_http_data_only'] = True - return self.get_seller_eligibility_with_http_info(**kwargs) # noqa: E501 + return self.get_subscriptions_with_http_info(**kwargs) # noqa: E501 - def get_seller_eligibility_with_http_info(self, **kwargs): # noqa: E501 - """Get Seller Eligibility # noqa: E501 + def get_subscriptions_with_http_info(self, **kwargs): # noqa: E501 + """List Subscriptions # noqa: E501 - Get the eligibility of the currently authenticated user to become a seller # noqa: E501 + List all existing Subscriptions. For example, \"vrchatplus-monthly\" and \"vrchatplus-yearly\". # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_seller_eligibility_with_http_info(async_req=True) + >>> thread = api.get_subscriptions_with_http_info(async_req=True) >>> result = thread.get() :param async_req: Whether to execute the request asynchronously. @@ -2402,7 +4134,7 @@ def get_seller_eligibility_with_http_info(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(SellerEligibility, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(list[Subscription], status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() @@ -2425,7 +4157,7 @@ def get_seller_eligibility_with_http_info(self, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_seller_eligibility" % key + " to method get_subscriptions" % key ) local_var_params[key] = val del local_var_params['kwargs'] @@ -2450,12 +4182,12 @@ def get_seller_eligibility_with_http_info(self, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "SellerEligibility", + 200: "list[Subscription]", 401: "Error", } return self.api_client.call_api( - '/economy/seller/eligibility', 'GET', + '/subscriptions', 'GET', path_params, query_params, header_params, @@ -2471,18 +4203,16 @@ def get_seller_eligibility_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_steam_transaction(self, transaction_id, **kwargs): # noqa: E501 - """Get Steam Transaction # noqa: E501 + def get_tilia_status(self, **kwargs): # noqa: E501 + """Get Tilia Status # noqa: E501 - Get a single Steam transactions by ID. This returns the exact same information as `getSteamTransactions`, so no point in using this endpoint. # noqa: E501 + Gets the status of Tilia integration # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_steam_transaction(transaction_id, async_req=True) + >>> thread = api.get_tilia_status(async_req=True) >>> result = thread.get() - :param transaction_id: Must be a valid transaction ID. (required) - :type transaction_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -2496,23 +4226,21 @@ def get_steam_transaction(self, transaction_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: Transaction + :rtype: TiliaStatus """ kwargs['_return_http_data_only'] = True - return self.get_steam_transaction_with_http_info(transaction_id, **kwargs) # noqa: E501 + return self.get_tilia_status_with_http_info(**kwargs) # noqa: E501 - def get_steam_transaction_with_http_info(self, transaction_id, **kwargs): # noqa: E501 - """Get Steam Transaction # noqa: E501 + def get_tilia_status_with_http_info(self, **kwargs): # noqa: E501 + """Get Tilia Status # noqa: E501 - Get a single Steam transactions by ID. This returns the exact same information as `getSteamTransactions`, so no point in using this endpoint. # noqa: E501 + Gets the status of Tilia integration # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_steam_transaction_with_http_info(transaction_id, async_req=True) + >>> thread = api.get_tilia_status_with_http_info(async_req=True) >>> result = thread.get() - :param transaction_id: Must be a valid transaction ID. (required) - :type transaction_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -2534,13 +4262,12 @@ def get_steam_transaction_with_http_info(self, transaction_id, **kwargs): # noq :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(Transaction, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(TiliaStatus, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'transaction_id' ] all_params.extend( [ @@ -2558,19 +4285,14 @@ def get_steam_transaction_with_http_info(self, transaction_id, **kwargs): # noq if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_steam_transaction" % key + " to method get_tilia_status" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'transaction_id' is set - if self.api_client.client_side_validation and local_var_params.get('transaction_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `transaction_id` when calling `get_steam_transaction`") # noqa: E501 collection_formats = {} path_params = {} - if 'transaction_id' in local_var_params: - path_params['transactionId'] = local_var_params['transaction_id'] # noqa: E501 query_params = [] @@ -2588,12 +4310,12 @@ def get_steam_transaction_with_http_info(self, transaction_id, **kwargs): # noq auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "Transaction", + 200: "TiliaStatus", 401: "Error", } return self.api_client.call_api( - '/Steam/transactions/{transactionId}', 'GET', + '/tilia/status', 'GET', path_params, query_params, header_params, @@ -2609,16 +4331,18 @@ def get_steam_transaction_with_http_info(self, transaction_id, **kwargs): # noq collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_steam_transactions(self, **kwargs): # noqa: E501 - """List Steam Transactions # noqa: E501 + def get_tilia_tos(self, user_id, **kwargs): # noqa: E501 + """Get Tilia TOS Agreement Status # noqa: E501 - Get all own Steam transactions. # noqa: E501 + Gets the status of the agreement of a user to the Tilia TOS # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_steam_transactions(async_req=True) + >>> thread = api.get_tilia_tos(user_id, async_req=True) >>> result = thread.get() + :param user_id: Must be a valid user ID. (required) + :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -2632,21 +4356,23 @@ def get_steam_transactions(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[Transaction] + :rtype: TiliaTOS """ kwargs['_return_http_data_only'] = True - return self.get_steam_transactions_with_http_info(**kwargs) # noqa: E501 + return self.get_tilia_tos_with_http_info(user_id, **kwargs) # noqa: E501 - def get_steam_transactions_with_http_info(self, **kwargs): # noqa: E501 - """List Steam Transactions # noqa: E501 + def get_tilia_tos_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get Tilia TOS Agreement Status # noqa: E501 - Get all own Steam transactions. # noqa: E501 + Gets the status of the agreement of a user to the Tilia TOS # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_steam_transactions_with_http_info(async_req=True) + >>> thread = api.get_tilia_tos_with_http_info(user_id, async_req=True) >>> result = thread.get() + :param user_id: Must be a valid user ID. (required) + :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -2668,12 +4394,13 @@ def get_steam_transactions_with_http_info(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[Transaction], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(TiliaTOS, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ + 'user_id' ] all_params.extend( [ @@ -2691,14 +4418,19 @@ def get_steam_transactions_with_http_info(self, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_steam_transactions" % key + " to method get_tilia_tos" % key ) local_var_params[key] = val del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_tilia_tos`") # noqa: E501 collection_formats = {} path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 query_params = [] @@ -2716,12 +4448,12 @@ def get_steam_transactions_with_http_info(self, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "list[Transaction]", + 200: "TiliaTOS", 401: "Error", } return self.api_client.call_api( - '/Steam/transactions', 'GET', + '/user/{userId}/tilia/tos', 'GET', path_params, query_params, header_params, @@ -2737,22 +4469,16 @@ def get_steam_transactions_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_store(self, store_id, **kwargs): # noqa: E501 - """Get Store # noqa: E501 + def get_token_bundles(self, **kwargs): # noqa: E501 + """List Token Bundles # noqa: E501 - Gets a store # noqa: E501 + Gets the list of token bundles # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_store(store_id, async_req=True) + >>> thread = api.get_token_bundles(async_req=True) >>> result = thread.get() - :param store_id: (required) - :type store_id: str - :param hydrate_listings: Listings fields will be populated. - :type hydrate_listings: bool - :param hydrate_products: Products fields will be populated. - :type hydrate_products: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -2766,27 +4492,21 @@ def get_store(self, store_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: Store + :rtype: list[TokenBundle] """ kwargs['_return_http_data_only'] = True - return self.get_store_with_http_info(store_id, **kwargs) # noqa: E501 + return self.get_token_bundles_with_http_info(**kwargs) # noqa: E501 - def get_store_with_http_info(self, store_id, **kwargs): # noqa: E501 - """Get Store # noqa: E501 + def get_token_bundles_with_http_info(self, **kwargs): # noqa: E501 + """List Token Bundles # noqa: E501 - Gets a store # noqa: E501 + Gets the list of token bundles # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_store_with_http_info(store_id, async_req=True) + >>> thread = api.get_token_bundles_with_http_info(async_req=True) >>> result = thread.get() - :param store_id: (required) - :type store_id: str - :param hydrate_listings: Listings fields will be populated. - :type hydrate_listings: bool - :param hydrate_products: Products fields will be populated. - :type hydrate_products: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -2808,15 +4528,12 @@ def get_store_with_http_info(self, store_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(Store, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(list[TokenBundle], status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'store_id', - 'hydrate_listings', - 'hydrate_products' ] all_params.extend( [ @@ -2834,25 +4551,16 @@ def get_store_with_http_info(self, store_id, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_store" % key + " to method get_token_bundles" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'store_id' is set - if self.api_client.client_side_validation and local_var_params.get('store_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `store_id` when calling `get_store`") # noqa: E501 collection_formats = {} path_params = {} query_params = [] - if local_var_params.get('store_id') is not None: # noqa: E501 - query_params.append(('storeId', local_var_params['store_id'])) # noqa: E501 - if local_var_params.get('hydrate_listings') is not None: # noqa: E501 - query_params.append(('hydrateListings', local_var_params['hydrate_listings'])) # noqa: E501 - if local_var_params.get('hydrate_products') is not None: # noqa: E501 - query_params.append(('hydrateProducts', local_var_params['hydrate_products'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -2868,12 +4576,12 @@ def get_store_with_http_info(self, store_id, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "Store", + 200: "list[TokenBundle]", 401: "Error", } return self.api_client.call_api( - '/economy/store', 'GET', + '/tokenBundles', 'GET', path_params, query_params, header_params, @@ -2889,22 +4597,20 @@ def get_store_with_http_info(self, store_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_store_shelves(self, store_id, **kwargs): # noqa: E501 - """Get Store Shelves # noqa: E501 + def get_user_credits_eligible(self, user_id, subscription_id, **kwargs): # noqa: E501 + """Get User Credits Eligiblity # noqa: E501 - Gets the shelves for a store # noqa: E501 + Get the user's eligibility status for subscriptions based on available credits. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_store_shelves(store_id, async_req=True) + >>> thread = api.get_user_credits_eligible(user_id, subscription_id, async_req=True) >>> result = thread.get() - :param store_id: (required) - :type store_id: str - :param hydrate_listings: Listings fields will be populated. - :type hydrate_listings: bool - :param fetch: - :type fetch: StoreView + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param subscription_id: (required) + :type subscription_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -2918,27 +4624,25 @@ def get_store_shelves(self, store_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[StoreShelf] + :rtype: UserCreditsEligible """ kwargs['_return_http_data_only'] = True - return self.get_store_shelves_with_http_info(store_id, **kwargs) # noqa: E501 + return self.get_user_credits_eligible_with_http_info(user_id, subscription_id, **kwargs) # noqa: E501 - def get_store_shelves_with_http_info(self, store_id, **kwargs): # noqa: E501 - """Get Store Shelves # noqa: E501 + def get_user_credits_eligible_with_http_info(self, user_id, subscription_id, **kwargs): # noqa: E501 + """Get User Credits Eligiblity # noqa: E501 - Gets the shelves for a store # noqa: E501 + Get the user's eligibility status for subscriptions based on available credits. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_store_shelves_with_http_info(store_id, async_req=True) + >>> thread = api.get_user_credits_eligible_with_http_info(user_id, subscription_id, async_req=True) >>> result = thread.get() - :param store_id: (required) - :type store_id: str - :param hydrate_listings: Listings fields will be populated. - :type hydrate_listings: bool - :param fetch: - :type fetch: StoreView + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param subscription_id: (required) + :type subscription_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -2960,15 +4664,14 @@ def get_store_shelves_with_http_info(self, store_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[StoreShelf], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(UserCreditsEligible, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'store_id', - 'hydrate_listings', - 'fetch' + 'user_id', + 'subscription_id' ] all_params.extend( [ @@ -2986,25 +4689,26 @@ def get_store_shelves_with_http_info(self, store_id, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_store_shelves" % key + " to method get_user_credits_eligible" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'store_id' is set - if self.api_client.client_side_validation and local_var_params.get('store_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `store_id` when calling `get_store_shelves`") # noqa: E501 + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_user_credits_eligible`") # noqa: E501 + # verify the required parameter 'subscription_id' is set + if self.api_client.client_side_validation and local_var_params.get('subscription_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `subscription_id` when calling `get_user_credits_eligible`") # noqa: E501 collection_formats = {} path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 query_params = [] - if local_var_params.get('store_id') is not None: # noqa: E501 - query_params.append(('storeId', local_var_params['store_id'])) # noqa: E501 - if local_var_params.get('hydrate_listings') is not None: # noqa: E501 - query_params.append(('hydrateListings', local_var_params['hydrate_listings'])) # noqa: E501 - if local_var_params.get('fetch') is not None: # noqa: E501 - query_params.append(('fetch', local_var_params['fetch'])) # noqa: E501 + if local_var_params.get('subscription_id') is not None: # noqa: E501 + query_params.append(('subscriptionId', local_var_params['subscription_id'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -3020,12 +4724,12 @@ def get_store_shelves_with_http_info(self, store_id, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "list[StoreShelf]", + 200: "UserCreditsEligible", 401: "Error", } return self.api_client.call_api( - '/economy/store/shelves', 'GET', + '/users/{userId}/credits/eligible', 'GET', path_params, query_params, header_params, @@ -3041,16 +4745,20 @@ def get_store_shelves_with_http_info(self, store_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_subscriptions(self, **kwargs): # noqa: E501 - """List Subscriptions # noqa: E501 + def get_user_subscription_eligible(self, user_id, **kwargs): # noqa: E501 + """Get User Subscription Eligiblity # noqa: E501 - List all existing Subscriptions. For example, \"vrchatplus-monthly\" and \"vrchatplus-yearly\". # noqa: E501 + Get the user's eligibility status for subscriptions. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_subscriptions(async_req=True) + >>> thread = api.get_user_subscription_eligible(user_id, async_req=True) >>> result = thread.get() + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param steam_id: The Steam ID of the user. + :type steam_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -3064,21 +4772,25 @@ def get_subscriptions(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[Subscription] + :rtype: UserSubscriptionEligible """ kwargs['_return_http_data_only'] = True - return self.get_subscriptions_with_http_info(**kwargs) # noqa: E501 + return self.get_user_subscription_eligible_with_http_info(user_id, **kwargs) # noqa: E501 - def get_subscriptions_with_http_info(self, **kwargs): # noqa: E501 - """List Subscriptions # noqa: E501 + def get_user_subscription_eligible_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get User Subscription Eligiblity # noqa: E501 - List all existing Subscriptions. For example, \"vrchatplus-monthly\" and \"vrchatplus-yearly\". # noqa: E501 + Get the user's eligibility status for subscriptions. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_subscriptions_with_http_info(async_req=True) + >>> thread = api.get_user_subscription_eligible_with_http_info(user_id, async_req=True) >>> result = thread.get() + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param steam_id: The Steam ID of the user. + :type steam_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -3100,12 +4812,14 @@ def get_subscriptions_with_http_info(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[Subscription], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(UserSubscriptionEligible, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ + 'user_id', + 'steam_id' ] all_params.extend( [ @@ -3123,16 +4837,23 @@ def get_subscriptions_with_http_info(self, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_subscriptions" % key + " to method get_user_subscription_eligible" % key ) local_var_params[key] = val del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_user_subscription_eligible`") # noqa: E501 collection_formats = {} path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 query_params = [] + if local_var_params.get('steam_id') is not None: # noqa: E501 + query_params.append(('steamId', local_var_params['steam_id'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -3148,12 +4869,12 @@ def get_subscriptions_with_http_info(self, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "list[Subscription]", + 200: "UserSubscriptionEligible", 401: "Error", } return self.api_client.call_api( - '/subscriptions', 'GET', + '/users/{userId}/subscription/eligible', 'GET', path_params, query_params, header_params, @@ -3169,16 +4890,18 @@ def get_subscriptions_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_tilia_status(self, **kwargs): # noqa: E501 - """Get Tilia Status # noqa: E501 + def get_user_tilia_kyc(self, user_id, **kwargs): # noqa: E501 + """Get User Tilia KYC # noqa: E501 - Gets the status of Tilia integration # noqa: E501 + Gets KYC status details for a user's Tilia account. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_tilia_status(async_req=True) + >>> thread = api.get_user_tilia_kyc(user_id, async_req=True) >>> result = thread.get() + :param user_id: Must be a valid user ID. (required) + :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -3192,21 +4915,23 @@ def get_tilia_status(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: TiliaStatus + :rtype: TiliaKyc """ kwargs['_return_http_data_only'] = True - return self.get_tilia_status_with_http_info(**kwargs) # noqa: E501 + return self.get_user_tilia_kyc_with_http_info(user_id, **kwargs) # noqa: E501 - def get_tilia_status_with_http_info(self, **kwargs): # noqa: E501 - """Get Tilia Status # noqa: E501 + def get_user_tilia_kyc_with_http_info(self, user_id, **kwargs): # noqa: E501 + """Get User Tilia KYC # noqa: E501 - Gets the status of Tilia integration # noqa: E501 + Gets KYC status details for a user's Tilia account. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_tilia_status_with_http_info(async_req=True) + >>> thread = api.get_user_tilia_kyc_with_http_info(user_id, async_req=True) >>> result = thread.get() + :param user_id: Must be a valid user ID. (required) + :type user_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -3228,12 +4953,13 @@ def get_tilia_status_with_http_info(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(TiliaStatus, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(TiliaKyc, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ + 'user_id' ] all_params.extend( [ @@ -3251,14 +4977,19 @@ def get_tilia_status_with_http_info(self, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_tilia_status" % key + " to method get_user_tilia_kyc" % key ) local_var_params[key] = val del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `get_user_tilia_kyc`") # noqa: E501 collection_formats = {} path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 query_params = [] @@ -3276,12 +5007,12 @@ def get_tilia_status_with_http_info(self, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "TiliaStatus", + 200: "TiliaKyc", 401: "Error", } return self.api_client.call_api( - '/tilia/status', 'GET', + '/user/{userId}/tilia/kyc', 'GET', path_params, query_params, header_params, @@ -3297,18 +5028,24 @@ def get_tilia_status_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_tilia_tos(self, user_id, **kwargs): # noqa: E501 - """Get Tilia TOS Agreement Status # noqa: E501 + def list_stores(self, **kwargs): # noqa: E501 + """List Stores # noqa: E501 - Gets the status of the agreement of a user to the Tilia TOS # noqa: E501 + Lists stores, optionally filtered to a seller and adjusted for management views. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_tilia_tos(user_id, async_req=True) + >>> thread = api.list_stores(async_req=True) >>> result = thread.get() - :param user_id: Must be a valid user ID. (required) - :type user_id: str + :param seller_id: Filter results by seller. + :type seller_id: str + :param management_pov: Return stores from the seller management point of view. + :type management_pov: bool + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -3322,23 +5059,29 @@ def get_tilia_tos(self, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: TiliaTOS + :rtype: list[Store] """ kwargs['_return_http_data_only'] = True - return self.get_tilia_tos_with_http_info(user_id, **kwargs) # noqa: E501 + return self.list_stores_with_http_info(**kwargs) # noqa: E501 - def get_tilia_tos_with_http_info(self, user_id, **kwargs): # noqa: E501 - """Get Tilia TOS Agreement Status # noqa: E501 + def list_stores_with_http_info(self, **kwargs): # noqa: E501 + """List Stores # noqa: E501 - Gets the status of the agreement of a user to the Tilia TOS # noqa: E501 + Lists stores, optionally filtered to a seller and adjusted for management views. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_tilia_tos_with_http_info(user_id, async_req=True) + >>> thread = api.list_stores_with_http_info(async_req=True) >>> result = thread.get() - :param user_id: Must be a valid user ID. (required) - :type user_id: str + :param seller_id: Filter results by seller. + :type seller_id: str + :param management_pov: Return stores from the seller management point of view. + :type management_pov: bool + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -3360,13 +5103,16 @@ def get_tilia_tos_with_http_info(self, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(TiliaTOS, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(list[Store], status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'user_id' + 'seller_id', + 'management_pov', + 'n', + 'offset' ] all_params.extend( [ @@ -3384,21 +5130,30 @@ def get_tilia_tos_with_http_info(self, user_id, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_tilia_tos" % key + " to method list_stores" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `user_id` when calling `get_tilia_tos`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `list_stores`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `list_stores`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `list_stores`, must be a value greater than or equal to `0`") # noqa: E501 collection_formats = {} path_params = {} - if 'user_id' in local_var_params: - path_params['userId'] = local_var_params['user_id'] # noqa: E501 query_params = [] + if local_var_params.get('seller_id') is not None: # noqa: E501 + query_params.append(('sellerId', local_var_params['seller_id'])) # noqa: E501 + if local_var_params.get('management_pov') is not None: # noqa: E501 + query_params.append(('managementPov', local_var_params['management_pov'])) # noqa: E501 + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -3414,12 +5169,12 @@ def get_tilia_tos_with_http_info(self, user_id, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "TiliaTOS", + 200: "list[Store]", 401: "Error", } return self.api_client.call_api( - '/user/{userId}/tilia/tos', 'GET', + '/economy/stores', 'GET', path_params, query_params, header_params, @@ -3435,16 +5190,22 @@ def get_tilia_tos_with_http_info(self, user_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_token_bundles(self, **kwargs): # noqa: E501 - """List Token Bundles # noqa: E501 + def list_user_products(self, user_id, **kwargs): # noqa: E501 + """List User Products # noqa: E501 - Gets the list of token bundles # noqa: E501 + Gets the products of a given user. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_token_bundles(async_req=True) + >>> thread = api.list_user_products(user_id, async_req=True) >>> result = thread.get() + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -3458,21 +5219,27 @@ def get_token_bundles(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[TokenBundle] + :rtype: list[Product] """ kwargs['_return_http_data_only'] = True - return self.get_token_bundles_with_http_info(**kwargs) # noqa: E501 + return self.list_user_products_with_http_info(user_id, **kwargs) # noqa: E501 - def get_token_bundles_with_http_info(self, **kwargs): # noqa: E501 - """List Token Bundles # noqa: E501 + def list_user_products_with_http_info(self, user_id, **kwargs): # noqa: E501 + """List User Products # noqa: E501 - Gets the list of token bundles # noqa: E501 + Gets the products of a given user. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_token_bundles_with_http_info(async_req=True) + >>> thread = api.list_user_products_with_http_info(user_id, async_req=True) >>> result = thread.get() + :param user_id: Must be a valid user ID. (required) + :type user_id: str + :param n: The number of objects to return. + :type n: int + :param offset: A zero-based offset from the default object sorting from where search results start. + :type offset: int :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -3494,12 +5261,15 @@ def get_token_bundles_with_http_info(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[TokenBundle], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(list[Product], status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ + 'user_id', + 'n', + 'offset' ] all_params.extend( [ @@ -3517,16 +5287,31 @@ def get_token_bundles_with_http_info(self, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_token_bundles" % key + " to method list_user_products" % key ) local_var_params[key] = val del local_var_params['kwargs'] + # verify the required parameter 'user_id' is set + if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `user_id` when calling `list_user_products`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `list_user_products`, must be a value less than or equal to `100`") # noqa: E501 + if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 + raise ApiValueError("Invalid value for parameter `n` when calling `list_user_products`, must be a value greater than or equal to `1`") # noqa: E501 + if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 + raise ApiValueError("Invalid value for parameter `offset` when calling `list_user_products`, must be a value greater than or equal to `0`") # noqa: E501 collection_formats = {} path_params = {} + if 'user_id' in local_var_params: + path_params['userId'] = local_var_params['user_id'] # noqa: E501 query_params = [] + if local_var_params.get('n') is not None: # noqa: E501 + query_params.append(('n', local_var_params['n'])) # noqa: E501 + if local_var_params.get('offset') is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -3542,12 +5327,12 @@ def get_token_bundles_with_http_info(self, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "list[TokenBundle]", + 200: "list[Product]", 401: "Error", } return self.api_client.call_api( - '/tokenBundles', 'GET', + '/user/{userId}/products', 'GET', path_params, query_params, header_params, @@ -3563,20 +5348,18 @@ def get_token_bundles_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_user_credits_eligible(self, user_id, subscription_id, **kwargs): # noqa: E501 - """Get User Credits Eligiblity # noqa: E501 + def purchase_product_listing(self, **kwargs): # noqa: E501 + """Purchase Product Listing # noqa: E501 - Get the user's eligibility status for subscriptions based on available credits. # noqa: E501 + Purchases a product listing # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_user_credits_eligible(user_id, subscription_id, async_req=True) + >>> thread = api.purchase_product_listing(async_req=True) >>> result = thread.get() - :param user_id: Must be a valid user ID. (required) - :type user_id: str - :param subscription_id: (required) - :type subscription_id: str + :param purchase_product_listing_request: + :type purchase_product_listing_request: PurchaseProductListingRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -3590,25 +5373,23 @@ def get_user_credits_eligible(self, user_id, subscription_id, **kwargs): # noqa :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: UserCreditsEligible + :rtype: ProductPurchase """ kwargs['_return_http_data_only'] = True - return self.get_user_credits_eligible_with_http_info(user_id, subscription_id, **kwargs) # noqa: E501 + return self.purchase_product_listing_with_http_info(**kwargs) # noqa: E501 - def get_user_credits_eligible_with_http_info(self, user_id, subscription_id, **kwargs): # noqa: E501 - """Get User Credits Eligiblity # noqa: E501 + def purchase_product_listing_with_http_info(self, **kwargs): # noqa: E501 + """Purchase Product Listing # noqa: E501 - Get the user's eligibility status for subscriptions based on available credits. # noqa: E501 + Purchases a product listing # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_user_credits_eligible_with_http_info(user_id, subscription_id, async_req=True) + >>> thread = api.purchase_product_listing_with_http_info(async_req=True) >>> result = thread.get() - :param user_id: Must be a valid user ID. (required) - :type user_id: str - :param subscription_id: (required) - :type subscription_id: str + :param purchase_product_listing_request: + :type purchase_product_listing_request: PurchaseProductListingRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -3630,14 +5411,13 @@ def get_user_credits_eligible_with_http_info(self, user_id, subscription_id, **k :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(UserCreditsEligible, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(ProductPurchase, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'user_id', - 'subscription_id' + 'purchase_product_listing_request' ] all_params.extend( [ @@ -3655,26 +5435,16 @@ def get_user_credits_eligible_with_http_info(self, user_id, subscription_id, **k if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_user_credits_eligible" % key + " to method purchase_product_listing" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `user_id` when calling `get_user_credits_eligible`") # noqa: E501 - # verify the required parameter 'subscription_id' is set - if self.api_client.client_side_validation and local_var_params.get('subscription_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `subscription_id` when calling `get_user_credits_eligible`") # noqa: E501 collection_formats = {} path_params = {} - if 'user_id' in local_var_params: - path_params['userId'] = local_var_params['user_id'] # noqa: E501 query_params = [] - if local_var_params.get('subscription_id') is not None: # noqa: E501 - query_params.append(('subscriptionId', local_var_params['subscription_id'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -3682,20 +5452,30 @@ def get_user_credits_eligible_with_http_info(self, user_id, subscription_id, **k local_var_files = {} body_params = None + if 'purchase_product_listing_request' in local_var_params: + body_params = local_var_params['purchase_product_listing_request'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + # Authentication setting auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "UserCreditsEligible", + 200: "ProductPurchase", 401: "Error", } return self.api_client.call_api( - '/users/{userId}/credits/eligible', 'GET', + '/economy/purchase/listing', 'POST', path_params, query_params, header_params, @@ -3711,20 +5491,20 @@ def get_user_credits_eligible_with_http_info(self, user_id, subscription_id, **k collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_user_subscription_eligible(self, user_id, **kwargs): # noqa: E501 - """Get User Subscription Eligiblity # noqa: E501 + def update_product(self, product_id, update_product_request, **kwargs): # noqa: E501 + """Update Product # noqa: E501 - Get the user's eligibility status for subscriptions. # noqa: E501 + Updates a product and returns the updated Product object. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_user_subscription_eligible(user_id, async_req=True) + >>> thread = api.update_product(product_id, update_product_request, async_req=True) >>> result = thread.get() - :param user_id: Must be a valid user ID. (required) - :type user_id: str - :param steam_id: The Steam ID of the user. - :type steam_id: str + :param product_id: Must be a valid product ID. (required) + :type product_id: str + :param update_product_request: (required) + :type update_product_request: UpdateProductRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -3738,25 +5518,25 @@ def get_user_subscription_eligible(self, user_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: UserSubscriptionEligible + :rtype: Product """ kwargs['_return_http_data_only'] = True - return self.get_user_subscription_eligible_with_http_info(user_id, **kwargs) # noqa: E501 + return self.update_product_with_http_info(product_id, update_product_request, **kwargs) # noqa: E501 - def get_user_subscription_eligible_with_http_info(self, user_id, **kwargs): # noqa: E501 - """Get User Subscription Eligiblity # noqa: E501 + def update_product_with_http_info(self, product_id, update_product_request, **kwargs): # noqa: E501 + """Update Product # noqa: E501 - Get the user's eligibility status for subscriptions. # noqa: E501 + Updates a product and returns the updated Product object. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_user_subscription_eligible_with_http_info(user_id, async_req=True) + >>> thread = api.update_product_with_http_info(product_id, update_product_request, async_req=True) >>> result = thread.get() - :param user_id: Must be a valid user ID. (required) - :type user_id: str - :param steam_id: The Steam ID of the user. - :type steam_id: str + :param product_id: Must be a valid product ID. (required) + :type product_id: str + :param update_product_request: (required) + :type update_product_request: UpdateProductRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -3778,14 +5558,14 @@ def get_user_subscription_eligible_with_http_info(self, user_id, **kwargs): # n :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(UserSubscriptionEligible, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(Product, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'user_id', - 'steam_id' + 'product_id', + 'update_product_request' ] all_params.extend( [ @@ -3803,23 +5583,24 @@ def get_user_subscription_eligible_with_http_info(self, user_id, **kwargs): # n if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_user_subscription_eligible" % key + " to method update_product" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'user_id' is set - if self.api_client.client_side_validation and local_var_params.get('user_id') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `user_id` when calling `get_user_subscription_eligible`") # noqa: E501 + # verify the required parameter 'product_id' is set + if self.api_client.client_side_validation and local_var_params.get('product_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `product_id` when calling `update_product`") # noqa: E501 + # verify the required parameter 'update_product_request' is set + if self.api_client.client_side_validation and local_var_params.get('update_product_request') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `update_product_request` when calling `update_product`") # noqa: E501 collection_formats = {} path_params = {} - if 'user_id' in local_var_params: - path_params['userId'] = local_var_params['user_id'] # noqa: E501 + if 'product_id' in local_var_params: + path_params['productId'] = local_var_params['product_id'] # noqa: E501 query_params = [] - if local_var_params.get('steam_id') is not None: # noqa: E501 - query_params.append(('steamId', local_var_params['steam_id'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -3827,20 +5608,30 @@ def get_user_subscription_eligible_with_http_info(self, user_id, **kwargs): # n local_var_files = {} body_params = None + if 'update_product_request' in local_var_params: + body_params = local_var_params['update_product_request'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 + # HTTP header `Content-Type` + content_types_list = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'PUT', body_params)) # noqa: E501 + if content_types_list: + header_params['Content-Type'] = content_types_list + # Authentication setting auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "UserSubscriptionEligible", + 200: "Product", 401: "Error", } return self.api_client.call_api( - '/users/{userId}/subscription/eligible', 'GET', + '/products/{productId}', 'PUT', path_params, query_params, header_params, @@ -3856,18 +5647,22 @@ def get_user_subscription_eligible_with_http_info(self, user_id, **kwargs): # n collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def purchase_product_listing(self, **kwargs): # noqa: E501 - """Purchase Product Listing # noqa: E501 + def update_product_listing_direct(self, product_id, update_listing_request, **kwargs): # noqa: E501 + """Update Product Listing # noqa: E501 - Purchases a product listing # noqa: E501 + Updates the active state of a listing. Setting `active` to `true` publishes the listing, while `false` unpublishes it. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.purchase_product_listing(async_req=True) + >>> thread = api.update_product_listing_direct(product_id, update_listing_request, async_req=True) >>> result = thread.get() - :param purchase_product_listing_request: - :type purchase_product_listing_request: PurchaseProductListingRequest + :param product_id: Must be a valid product ID. (required) + :type product_id: str + :param update_listing_request: (required) + :type update_listing_request: UpdateListingRequest + :param hydrate: Populates some fields and changes types of others for certain objects. + :type hydrate: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -3881,23 +5676,27 @@ def purchase_product_listing(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: ProductPurchase + :rtype: ProductListing """ kwargs['_return_http_data_only'] = True - return self.purchase_product_listing_with_http_info(**kwargs) # noqa: E501 + return self.update_product_listing_direct_with_http_info(product_id, update_listing_request, **kwargs) # noqa: E501 - def purchase_product_listing_with_http_info(self, **kwargs): # noqa: E501 - """Purchase Product Listing # noqa: E501 + def update_product_listing_direct_with_http_info(self, product_id, update_listing_request, **kwargs): # noqa: E501 + """Update Product Listing # noqa: E501 - Purchases a product listing # noqa: E501 + Updates the active state of a listing. Setting `active` to `true` publishes the listing, while `false` unpublishes it. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.purchase_product_listing_with_http_info(async_req=True) + >>> thread = api.update_product_listing_direct_with_http_info(product_id, update_listing_request, async_req=True) >>> result = thread.get() - :param purchase_product_listing_request: - :type purchase_product_listing_request: PurchaseProductListingRequest + :param product_id: Must be a valid product ID. (required) + :type product_id: str + :param update_listing_request: (required) + :type update_listing_request: UpdateListingRequest + :param hydrate: Populates some fields and changes types of others for certain objects. + :type hydrate: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -3919,13 +5718,15 @@ def purchase_product_listing_with_http_info(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(ProductPurchase, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(ProductListing, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'purchase_product_listing_request' + 'product_id', + 'update_listing_request', + 'hydrate' ] all_params.extend( [ @@ -3943,16 +5744,26 @@ def purchase_product_listing_with_http_info(self, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method purchase_product_listing" % key + " to method update_product_listing_direct" % key ) local_var_params[key] = val del local_var_params['kwargs'] + # verify the required parameter 'product_id' is set + if self.api_client.client_side_validation and local_var_params.get('product_id') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `product_id` when calling `update_product_listing_direct`") # noqa: E501 + # verify the required parameter 'update_listing_request' is set + if self.api_client.client_side_validation and local_var_params.get('update_listing_request') is None: # noqa: E501 + raise ApiValueError("Missing the required parameter `update_listing_request` when calling `update_product_listing_direct`") # noqa: E501 collection_formats = {} path_params = {} + if 'product_id' in local_var_params: + path_params['productId'] = local_var_params['product_id'] # noqa: E501 query_params = [] + if local_var_params.get('hydrate') is not None: # noqa: E501 + query_params.append(('hydrate', local_var_params['hydrate'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -3960,8 +5771,8 @@ def purchase_product_listing_with_http_info(self, **kwargs): # noqa: E501 local_var_files = {} body_params = None - if 'purchase_product_listing_request' in local_var_params: - body_params = local_var_params['purchase_product_listing_request'] + if 'update_listing_request' in local_var_params: + body_params = local_var_params['update_listing_request'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 @@ -3970,7 +5781,7 @@ def purchase_product_listing_with_http_info(self, **kwargs): # noqa: E501 content_types_list = local_var_params.get('_content_type', self.api_client.select_header_content_type( ['application/json'], - 'POST', body_params)) # noqa: E501 + 'PUT', body_params)) # noqa: E501 if content_types_list: header_params['Content-Type'] = content_types_list @@ -3978,12 +5789,12 @@ def purchase_product_listing_with_http_info(self, **kwargs): # noqa: E501 auth_settings = ['authCookie'] # noqa: E501 response_types_map = { - 200: "ProductPurchase", + 200: "ProductListing", 401: "Error", } return self.api_client.call_api( - '/economy/purchase/listing', 'POST', + '/listing/{productId}', 'PUT', path_params, query_params, header_params, diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index e9ffed5f..007a7659 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -80,6 +80,8 @@ from vrchatapi.models.create_group_role_request import CreateGroupRoleRequest from vrchatapi.models.create_instance_request import CreateInstanceRequest from vrchatapi.models.create_jam_submission_request import CreateJamSubmissionRequest +from vrchatapi.models.create_listing_request import CreateListingRequest +from vrchatapi.models.create_product_request import CreateProductRequest from vrchatapi.models.create_prop_request import CreatePropRequest from vrchatapi.models.create_world_request import CreateWorldRequest from vrchatapi.models.current_user import CurrentUser @@ -93,6 +95,11 @@ from vrchatapi.models.earnings_metrics import EarningsMetrics from vrchatapi.models.earnings_metrics_totals import EarningsMetricsTotals from vrchatapi.models.economy_account import EconomyAccount +from vrchatapi.models.economy_balances import EconomyBalances +from vrchatapi.models.economy_payout import EconomyPayout +from vrchatapi.models.economy_payout_eligibility import EconomyPayoutEligibility +from vrchatapi.models.economy_payout_list import EconomyPayoutList +from vrchatapi.models.economy_payout_status import EconomyPayoutStatus from vrchatapi.models.equip_inventory_item_request import EquipInventoryItemRequest from vrchatapi.models.error import Error from vrchatapi.models.favorite import Favorite @@ -232,6 +239,7 @@ from vrchatapi.models.product_purchase import ProductPurchase from vrchatapi.models.product_purchase_history import ProductPurchaseHistory from vrchatapi.models.product_purchase_location_type import ProductPurchaseLocationType +from vrchatapi.models.product_purchase_product import ProductPurchaseProduct from vrchatapi.models.product_purchase_purchase_context import ProductPurchasePurchaseContext from vrchatapi.models.product_purchase_record import ProductPurchaseRecord from vrchatapi.models.product_type import ProductType @@ -264,6 +272,7 @@ from vrchatapi.models.sort_option import SortOption from vrchatapi.models.sort_option_product_purchase import SortOptionProductPurchase from vrchatapi.models.store import Store +from vrchatapi.models.store_context import StoreContext from vrchatapi.models.store_shelf import StoreShelf from vrchatapi.models.store_type import StoreType from vrchatapi.models.store_view import StoreView @@ -273,6 +282,7 @@ from vrchatapi.models.subscription_period import SubscriptionPeriod from vrchatapi.models.success import Success from vrchatapi.models.success_flag import SuccessFlag +from vrchatapi.models.tilia_kyc import TiliaKyc from vrchatapi.models.tilia_status import TiliaStatus from vrchatapi.models.tilia_tos import TiliaTOS from vrchatapi.models.token_bundle import TokenBundle @@ -299,6 +309,8 @@ from vrchatapi.models.update_group_role_request import UpdateGroupRoleRequest from vrchatapi.models.update_inventory_item_request import UpdateInventoryItemRequest from vrchatapi.models.update_invite_message_request import UpdateInviteMessageRequest +from vrchatapi.models.update_listing_request import UpdateListingRequest +from vrchatapi.models.update_product_request import UpdateProductRequest from vrchatapi.models.update_prop_request import UpdatePropRequest from vrchatapi.models.update_tilia_tos_request import UpdateTiliaTOSRequest from vrchatapi.models.update_user_badge_request import UpdateUserBadgeRequest diff --git a/vrchatapi/models/create_listing_request.py b/vrchatapi/models/create_listing_request.py new file mode 100644 index 00000000..0f1ebc00 --- /dev/null +++ b/vrchatapi/models/create_listing_request.py @@ -0,0 +1,320 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.7 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class CreateListingRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'active': 'bool', + 'description': 'str', + 'display_name': 'str', + 'image_id': 'str', + 'listing_type': 'ProductListingType', + 'price_tokens': 'int', + 'product_ids': 'list[str]', + 'store_ids': 'list[str]' + } + + attribute_map = { + 'active': 'active', + 'description': 'description', + 'display_name': 'displayName', + 'image_id': 'imageId', + 'listing_type': 'listingType', + 'price_tokens': 'priceTokens', + 'product_ids': 'productIds', + 'store_ids': 'storeIds' + } + + def __init__(self, active=None, description=None, display_name=None, image_id=None, listing_type=None, price_tokens=None, product_ids=None, store_ids=None, local_vars_configuration=None): # noqa: E501 + """CreateListingRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._active = None + self._description = None + self._display_name = None + self._image_id = None + self._listing_type = None + self._price_tokens = None + self._product_ids = None + self._store_ids = None + self.discriminator = None + + if active is not None: + self.active = active + self.description = description + self.display_name = display_name + self.image_id = image_id + self.listing_type = listing_type + self.price_tokens = price_tokens + self.product_ids = product_ids + self.store_ids = store_ids + + @property + def active(self): + """Gets the active of this CreateListingRequest. # noqa: E501 + + + :return: The active of this CreateListingRequest. # noqa: E501 + :rtype: bool + """ + return self._active + + @active.setter + def active(self, active): + """Sets the active of this CreateListingRequest. + + + :param active: The active of this CreateListingRequest. # noqa: E501 + :type active: bool + """ + + self._active = active + + @property + def description(self): + """Gets the description of this CreateListingRequest. # noqa: E501 + + + :return: The description of this CreateListingRequest. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this CreateListingRequest. + + + :param description: The description of this CreateListingRequest. # noqa: E501 + :type description: str + """ + if self.local_vars_configuration.client_side_validation and description is None: # noqa: E501 + raise ValueError("Invalid value for `description`, must not be `None`") # noqa: E501 + + self._description = description + + @property + def display_name(self): + """Gets the display_name of this CreateListingRequest. # noqa: E501 + + + :return: The display_name of this CreateListingRequest. # noqa: E501 + :rtype: str + """ + return self._display_name + + @display_name.setter + def display_name(self, display_name): + """Sets the display_name of this CreateListingRequest. + + + :param display_name: The display_name of this CreateListingRequest. # noqa: E501 + :type display_name: str + """ + if self.local_vars_configuration.client_side_validation and display_name is None: # noqa: E501 + raise ValueError("Invalid value for `display_name`, must not be `None`") # noqa: E501 + + self._display_name = display_name + + @property + def image_id(self): + """Gets the image_id of this CreateListingRequest. # noqa: E501 + + + :return: The image_id of this CreateListingRequest. # noqa: E501 + :rtype: str + """ + return self._image_id + + @image_id.setter + def image_id(self, image_id): + """Sets the image_id of this CreateListingRequest. + + + :param image_id: The image_id of this CreateListingRequest. # noqa: E501 + :type image_id: str + """ + if self.local_vars_configuration.client_side_validation and image_id is None: # noqa: E501 + raise ValueError("Invalid value for `image_id`, must not be `None`") # noqa: E501 + + self._image_id = image_id + + @property + def listing_type(self): + """Gets the listing_type of this CreateListingRequest. # noqa: E501 + + + :return: The listing_type of this CreateListingRequest. # noqa: E501 + :rtype: ProductListingType + """ + return self._listing_type + + @listing_type.setter + def listing_type(self, listing_type): + """Sets the listing_type of this CreateListingRequest. + + + :param listing_type: The listing_type of this CreateListingRequest. # noqa: E501 + :type listing_type: ProductListingType + """ + if self.local_vars_configuration.client_side_validation and listing_type is None: # noqa: E501 + raise ValueError("Invalid value for `listing_type`, must not be `None`") # noqa: E501 + + self._listing_type = listing_type + + @property + def price_tokens(self): + """Gets the price_tokens of this CreateListingRequest. # noqa: E501 + + + :return: The price_tokens of this CreateListingRequest. # noqa: E501 + :rtype: int + """ + return self._price_tokens + + @price_tokens.setter + def price_tokens(self, price_tokens): + """Sets the price_tokens of this CreateListingRequest. + + + :param price_tokens: The price_tokens of this CreateListingRequest. # noqa: E501 + :type price_tokens: int + """ + if self.local_vars_configuration.client_side_validation and price_tokens is None: # noqa: E501 + raise ValueError("Invalid value for `price_tokens`, must not be `None`") # noqa: E501 + + self._price_tokens = price_tokens + + @property + def product_ids(self): + """Gets the product_ids of this CreateListingRequest. # noqa: E501 + + + :return: The product_ids of this CreateListingRequest. # noqa: E501 + :rtype: list[str] + """ + return self._product_ids + + @product_ids.setter + def product_ids(self, product_ids): + """Sets the product_ids of this CreateListingRequest. + + + :param product_ids: The product_ids of this CreateListingRequest. # noqa: E501 + :type product_ids: list[str] + """ + if self.local_vars_configuration.client_side_validation and product_ids is None: # noqa: E501 + raise ValueError("Invalid value for `product_ids`, must not be `None`") # noqa: E501 + + self._product_ids = product_ids + + @property + def store_ids(self): + """Gets the store_ids of this CreateListingRequest. # noqa: E501 + + + :return: The store_ids of this CreateListingRequest. # noqa: E501 + :rtype: list[str] + """ + return self._store_ids + + @store_ids.setter + def store_ids(self, store_ids): + """Sets the store_ids of this CreateListingRequest. + + + :param store_ids: The store_ids of this CreateListingRequest. # noqa: E501 + :type store_ids: list[str] + """ + if self.local_vars_configuration.client_side_validation and store_ids is None: # noqa: E501 + raise ValueError("Invalid value for `store_ids`, must not be `None`") # noqa: E501 + + self._store_ids = store_ids + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CreateListingRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, CreateListingRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/create_product_request.py b/vrchatapi/models/create_product_request.py new file mode 100644 index 00000000..3fda4d5e --- /dev/null +++ b/vrchatapi/models/create_product_request.py @@ -0,0 +1,267 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.7 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class CreateProductRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'description': 'str', + 'display_name': 'str', + 'image_id': 'str', + 'product_type': 'ProductType', + 'tags': 'list[str]', + 'use_for_subscriber_list': 'bool' + } + + attribute_map = { + 'description': 'description', + 'display_name': 'displayName', + 'image_id': 'imageId', + 'product_type': 'productType', + 'tags': 'tags', + 'use_for_subscriber_list': 'useForSubscriberList' + } + + def __init__(self, description=None, display_name=None, image_id=None, product_type=None, tags=None, use_for_subscriber_list=None, local_vars_configuration=None): # noqa: E501 + """CreateProductRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._description = None + self._display_name = None + self._image_id = None + self._product_type = None + self._tags = None + self._use_for_subscriber_list = None + self.discriminator = None + + self.description = description + self.display_name = display_name + self.image_id = image_id + self.product_type = product_type + self.tags = tags + self.use_for_subscriber_list = use_for_subscriber_list + + @property + def description(self): + """Gets the description of this CreateProductRequest. # noqa: E501 + + + :return: The description of this CreateProductRequest. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this CreateProductRequest. + + + :param description: The description of this CreateProductRequest. # noqa: E501 + :type description: str + """ + if self.local_vars_configuration.client_side_validation and description is None: # noqa: E501 + raise ValueError("Invalid value for `description`, must not be `None`") # noqa: E501 + + self._description = description + + @property + def display_name(self): + """Gets the display_name of this CreateProductRequest. # noqa: E501 + + + :return: The display_name of this CreateProductRequest. # noqa: E501 + :rtype: str + """ + return self._display_name + + @display_name.setter + def display_name(self, display_name): + """Sets the display_name of this CreateProductRequest. + + + :param display_name: The display_name of this CreateProductRequest. # noqa: E501 + :type display_name: str + """ + if self.local_vars_configuration.client_side_validation and display_name is None: # noqa: E501 + raise ValueError("Invalid value for `display_name`, must not be `None`") # noqa: E501 + + self._display_name = display_name + + @property + def image_id(self): + """Gets the image_id of this CreateProductRequest. # noqa: E501 + + + :return: The image_id of this CreateProductRequest. # noqa: E501 + :rtype: str + """ + return self._image_id + + @image_id.setter + def image_id(self, image_id): + """Sets the image_id of this CreateProductRequest. + + + :param image_id: The image_id of this CreateProductRequest. # noqa: E501 + :type image_id: str + """ + if self.local_vars_configuration.client_side_validation and image_id is None: # noqa: E501 + raise ValueError("Invalid value for `image_id`, must not be `None`") # noqa: E501 + + self._image_id = image_id + + @property + def product_type(self): + """Gets the product_type of this CreateProductRequest. # noqa: E501 + + + :return: The product_type of this CreateProductRequest. # noqa: E501 + :rtype: ProductType + """ + return self._product_type + + @product_type.setter + def product_type(self, product_type): + """Sets the product_type of this CreateProductRequest. + + + :param product_type: The product_type of this CreateProductRequest. # noqa: E501 + :type product_type: ProductType + """ + if self.local_vars_configuration.client_side_validation and product_type is None: # noqa: E501 + raise ValueError("Invalid value for `product_type`, must not be `None`") # noqa: E501 + + self._product_type = product_type + + @property + def tags(self): + """Gets the tags of this CreateProductRequest. # noqa: E501 + + + :return: The tags of this CreateProductRequest. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this CreateProductRequest. + + + :param tags: The tags of this CreateProductRequest. # noqa: E501 + :type tags: list[str] + """ + if self.local_vars_configuration.client_side_validation and tags is None: # noqa: E501 + raise ValueError("Invalid value for `tags`, must not be `None`") # noqa: E501 + + self._tags = tags + + @property + def use_for_subscriber_list(self): + """Gets the use_for_subscriber_list of this CreateProductRequest. # noqa: E501 + + + :return: The use_for_subscriber_list of this CreateProductRequest. # noqa: E501 + :rtype: bool + """ + return self._use_for_subscriber_list + + @use_for_subscriber_list.setter + def use_for_subscriber_list(self, use_for_subscriber_list): + """Sets the use_for_subscriber_list of this CreateProductRequest. + + + :param use_for_subscriber_list: The use_for_subscriber_list of this CreateProductRequest. # noqa: E501 + :type use_for_subscriber_list: bool + """ + if self.local_vars_configuration.client_side_validation and use_for_subscriber_list is None: # noqa: E501 + raise ValueError("Invalid value for `use_for_subscriber_list`, must not be `None`") # noqa: E501 + + self._use_for_subscriber_list = use_for_subscriber_list + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CreateProductRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, CreateProductRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/economy_account.py b/vrchatapi/models/economy_account.py index 0fe53e16..12a9dac4 100644 --- a/vrchatapi/models/economy_account.py +++ b/vrchatapi/models/economy_account.py @@ -38,22 +38,36 @@ class EconomyAccount(object): openapi_types = { 'account_activated_on': 'datetime', 'account_id': 'str', + 'account_seller_registered_on': 'datetime', + 'account_seller_status': 'str', 'blocked': 'bool', + 'can_earn': 'bool', + 'can_payout': 'bool', 'can_spend': 'bool', + 'skrill_email': 'str', 'source': 'str', + 'tilia_id': 'str', + 'tilia_type': 'str', 'user_id': 'str' } attribute_map = { 'account_activated_on': 'accountActivatedOn', 'account_id': 'accountId', + 'account_seller_registered_on': 'accountSellerRegisteredOn', + 'account_seller_status': 'accountSellerStatus', 'blocked': 'blocked', + 'can_earn': 'canEarn', + 'can_payout': 'canPayout', 'can_spend': 'canSpend', + 'skrill_email': 'skrillEmail', 'source': 'source', + 'tilia_id': 'tiliaId', + 'tilia_type': 'tiliaType', 'user_id': 'userId' } - def __init__(self, account_activated_on=None, account_id=None, blocked=None, can_spend=None, source=None, user_id=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, account_activated_on=None, account_id=None, account_seller_registered_on=None, account_seller_status=None, blocked=None, can_earn=None, can_payout=None, can_spend=None, skrill_email=None, source=None, tilia_id=None, tilia_type=None, user_id=None, local_vars_configuration=None): # noqa: E501 """EconomyAccount - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -61,17 +75,33 @@ def __init__(self, account_activated_on=None, account_id=None, blocked=None, can self._account_activated_on = None self._account_id = None + self._account_seller_registered_on = None + self._account_seller_status = None self._blocked = None + self._can_earn = None + self._can_payout = None self._can_spend = None + self._skrill_email = None self._source = None + self._tilia_id = None + self._tilia_type = None self._user_id = None self.discriminator = None self.account_activated_on = account_activated_on self.account_id = account_id + self.account_seller_registered_on = account_seller_registered_on + self.account_seller_status = account_seller_status self.blocked = blocked + if can_earn is not None: + self.can_earn = can_earn + if can_payout is not None: + self.can_payout = can_payout self.can_spend = can_spend + self.skrill_email = skrill_email self.source = source + self.tilia_id = tilia_id + self.tilia_type = tilia_type self.user_id = user_id @property @@ -116,6 +146,48 @@ def account_id(self, account_id): self._account_id = account_id + @property + def account_seller_registered_on(self): + """Gets the account_seller_registered_on of this EconomyAccount. # noqa: E501 + + + :return: The account_seller_registered_on of this EconomyAccount. # noqa: E501 + :rtype: datetime + """ + return self._account_seller_registered_on + + @account_seller_registered_on.setter + def account_seller_registered_on(self, account_seller_registered_on): + """Sets the account_seller_registered_on of this EconomyAccount. + + + :param account_seller_registered_on: The account_seller_registered_on of this EconomyAccount. # noqa: E501 + :type account_seller_registered_on: datetime + """ + + self._account_seller_registered_on = account_seller_registered_on + + @property + def account_seller_status(self): + """Gets the account_seller_status of this EconomyAccount. # noqa: E501 + + + :return: The account_seller_status of this EconomyAccount. # noqa: E501 + :rtype: str + """ + return self._account_seller_status + + @account_seller_status.setter + def account_seller_status(self, account_seller_status): + """Sets the account_seller_status of this EconomyAccount. + + + :param account_seller_status: The account_seller_status of this EconomyAccount. # noqa: E501 + :type account_seller_status: str + """ + + self._account_seller_status = account_seller_status + @property def blocked(self): """Gets the blocked of this EconomyAccount. # noqa: E501 @@ -139,6 +211,48 @@ def blocked(self, blocked): self._blocked = blocked + @property + def can_earn(self): + """Gets the can_earn of this EconomyAccount. # noqa: E501 + + + :return: The can_earn of this EconomyAccount. # noqa: E501 + :rtype: bool + """ + return self._can_earn + + @can_earn.setter + def can_earn(self, can_earn): + """Sets the can_earn of this EconomyAccount. + + + :param can_earn: The can_earn of this EconomyAccount. # noqa: E501 + :type can_earn: bool + """ + + self._can_earn = can_earn + + @property + def can_payout(self): + """Gets the can_payout of this EconomyAccount. # noqa: E501 + + + :return: The can_payout of this EconomyAccount. # noqa: E501 + :rtype: bool + """ + return self._can_payout + + @can_payout.setter + def can_payout(self, can_payout): + """Sets the can_payout of this EconomyAccount. + + + :param can_payout: The can_payout of this EconomyAccount. # noqa: E501 + :type can_payout: bool + """ + + self._can_payout = can_payout + @property def can_spend(self): """Gets the can_spend of this EconomyAccount. # noqa: E501 @@ -162,6 +276,27 @@ def can_spend(self, can_spend): self._can_spend = can_spend + @property + def skrill_email(self): + """Gets the skrill_email of this EconomyAccount. # noqa: E501 + + + :return: The skrill_email of this EconomyAccount. # noqa: E501 + :rtype: str + """ + return self._skrill_email + + @skrill_email.setter + def skrill_email(self, skrill_email): + """Sets the skrill_email of this EconomyAccount. + + + :param skrill_email: The skrill_email of this EconomyAccount. # noqa: E501 + :type skrill_email: str + """ + + self._skrill_email = skrill_email + @property def source(self): """Gets the source of this EconomyAccount. # noqa: E501 @@ -185,6 +320,48 @@ def source(self, source): self._source = source + @property + def tilia_id(self): + """Gets the tilia_id of this EconomyAccount. # noqa: E501 + + + :return: The tilia_id of this EconomyAccount. # noqa: E501 + :rtype: str + """ + return self._tilia_id + + @tilia_id.setter + def tilia_id(self, tilia_id): + """Sets the tilia_id of this EconomyAccount. + + + :param tilia_id: The tilia_id of this EconomyAccount. # noqa: E501 + :type tilia_id: str + """ + + self._tilia_id = tilia_id + + @property + def tilia_type(self): + """Gets the tilia_type of this EconomyAccount. # noqa: E501 + + + :return: The tilia_type of this EconomyAccount. # noqa: E501 + :rtype: str + """ + return self._tilia_type + + @tilia_type.setter + def tilia_type(self, tilia_type): + """Sets the tilia_type of this EconomyAccount. + + + :param tilia_type: The tilia_type of this EconomyAccount. # noqa: E501 + :type tilia_type: str + """ + + self._tilia_type = tilia_type + @property def user_id(self): """Gets the user_id of this EconomyAccount. # noqa: E501 diff --git a/vrchatapi/models/economy_balances.py b/vrchatapi/models/economy_balances.py new file mode 100644 index 00000000..ae6b5fd8 --- /dev/null +++ b/vrchatapi/models/economy_balances.py @@ -0,0 +1,186 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.7 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class EconomyBalances(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'balance': 'int', + 'earnings': 'int', + 'standard': 'int' + } + + attribute_map = { + 'balance': 'balance', + 'earnings': 'earnings', + 'standard': 'standard' + } + + def __init__(self, balance=None, earnings=None, standard=None, local_vars_configuration=None): # noqa: E501 + """EconomyBalances - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._balance = None + self._earnings = None + self._standard = None + self.discriminator = None + + self.balance = balance + self.earnings = earnings + self.standard = standard + + @property + def balance(self): + """Gets the balance of this EconomyBalances. # noqa: E501 + + + :return: The balance of this EconomyBalances. # noqa: E501 + :rtype: int + """ + return self._balance + + @balance.setter + def balance(self, balance): + """Sets the balance of this EconomyBalances. + + + :param balance: The balance of this EconomyBalances. # noqa: E501 + :type balance: int + """ + if self.local_vars_configuration.client_side_validation and balance is None: # noqa: E501 + raise ValueError("Invalid value for `balance`, must not be `None`") # noqa: E501 + + self._balance = balance + + @property + def earnings(self): + """Gets the earnings of this EconomyBalances. # noqa: E501 + + + :return: The earnings of this EconomyBalances. # noqa: E501 + :rtype: int + """ + return self._earnings + + @earnings.setter + def earnings(self, earnings): + """Sets the earnings of this EconomyBalances. + + + :param earnings: The earnings of this EconomyBalances. # noqa: E501 + :type earnings: int + """ + if self.local_vars_configuration.client_side_validation and earnings is None: # noqa: E501 + raise ValueError("Invalid value for `earnings`, must not be `None`") # noqa: E501 + + self._earnings = earnings + + @property + def standard(self): + """Gets the standard of this EconomyBalances. # noqa: E501 + + + :return: The standard of this EconomyBalances. # noqa: E501 + :rtype: int + """ + return self._standard + + @standard.setter + def standard(self, standard): + """Sets the standard of this EconomyBalances. + + + :param standard: The standard of this EconomyBalances. # noqa: E501 + :type standard: int + """ + if self.local_vars_configuration.client_side_validation and standard is None: # noqa: E501 + raise ValueError("Invalid value for `standard`, must not be `None`") # noqa: E501 + + self._standard = standard + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, EconomyBalances): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, EconomyBalances): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/economy_payout.py b/vrchatapi/models/economy_payout.py new file mode 100644 index 00000000..048015a1 --- /dev/null +++ b/vrchatapi/models/economy_payout.py @@ -0,0 +1,525 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.7 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class EconomyPayout(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'payment_amount_tokens': 'int', + 'payment_amount_usd': 'int', + 'payment_created': 'datetime', + 'payment_out_id': 'int', + 'payment_platform': 'str', + 'payment_platform_code': 'int', + 'payment_status': 'str', + 'payment_status_code': 'int', + 'payment_updated': 'datetime', + 'platform_payment_guid': 'str', + 'platform_payment_method': 'str', + 'reversal_date': 'datetime', + 'reversal_reason': 'str', + 'reversal_reason_code': 'int', + 'reversal_transaction_id': 'int', + 'transaction_id': 'int' + } + + attribute_map = { + 'payment_amount_tokens': 'paymentAmountTokens', + 'payment_amount_usd': 'paymentAmountUsd', + 'payment_created': 'paymentCreated', + 'payment_out_id': 'paymentOutId', + 'payment_platform': 'paymentPlatform', + 'payment_platform_code': 'paymentPlatformCode', + 'payment_status': 'paymentStatus', + 'payment_status_code': 'paymentStatusCode', + 'payment_updated': 'paymentUpdated', + 'platform_payment_guid': 'platformPaymentGuid', + 'platform_payment_method': 'platformPaymentMethod', + 'reversal_date': 'reversalDate', + 'reversal_reason': 'reversalReason', + 'reversal_reason_code': 'reversalReasonCode', + 'reversal_transaction_id': 'reversalTransactionId', + 'transaction_id': 'transactionId' + } + + def __init__(self, payment_amount_tokens=None, payment_amount_usd=None, payment_created=None, payment_out_id=None, payment_platform=None, payment_platform_code=None, payment_status=None, payment_status_code=None, payment_updated=None, platform_payment_guid=None, platform_payment_method=None, reversal_date=None, reversal_reason=None, reversal_reason_code=None, reversal_transaction_id=None, transaction_id=None, local_vars_configuration=None): # noqa: E501 + """EconomyPayout - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._payment_amount_tokens = None + self._payment_amount_usd = None + self._payment_created = None + self._payment_out_id = None + self._payment_platform = None + self._payment_platform_code = None + self._payment_status = None + self._payment_status_code = None + self._payment_updated = None + self._platform_payment_guid = None + self._platform_payment_method = None + self._reversal_date = None + self._reversal_reason = None + self._reversal_reason_code = None + self._reversal_transaction_id = None + self._transaction_id = None + self.discriminator = None + + self.payment_amount_tokens = payment_amount_tokens + self.payment_amount_usd = payment_amount_usd + self.payment_created = payment_created + self.payment_out_id = payment_out_id + self.payment_platform = payment_platform + self.payment_platform_code = payment_platform_code + self.payment_status = payment_status + self.payment_status_code = payment_status_code + self.payment_updated = payment_updated + self.platform_payment_guid = platform_payment_guid + self.platform_payment_method = platform_payment_method + self.reversal_date = reversal_date + self.reversal_reason = reversal_reason + self.reversal_reason_code = reversal_reason_code + self.reversal_transaction_id = reversal_transaction_id + self.transaction_id = transaction_id + + @property + def payment_amount_tokens(self): + """Gets the payment_amount_tokens of this EconomyPayout. # noqa: E501 + + + :return: The payment_amount_tokens of this EconomyPayout. # noqa: E501 + :rtype: int + """ + return self._payment_amount_tokens + + @payment_amount_tokens.setter + def payment_amount_tokens(self, payment_amount_tokens): + """Sets the payment_amount_tokens of this EconomyPayout. + + + :param payment_amount_tokens: The payment_amount_tokens of this EconomyPayout. # noqa: E501 + :type payment_amount_tokens: int + """ + if self.local_vars_configuration.client_side_validation and payment_amount_tokens is None: # noqa: E501 + raise ValueError("Invalid value for `payment_amount_tokens`, must not be `None`") # noqa: E501 + + self._payment_amount_tokens = payment_amount_tokens + + @property + def payment_amount_usd(self): + """Gets the payment_amount_usd of this EconomyPayout. # noqa: E501 + + + :return: The payment_amount_usd of this EconomyPayout. # noqa: E501 + :rtype: int + """ + return self._payment_amount_usd + + @payment_amount_usd.setter + def payment_amount_usd(self, payment_amount_usd): + """Sets the payment_amount_usd of this EconomyPayout. + + + :param payment_amount_usd: The payment_amount_usd of this EconomyPayout. # noqa: E501 + :type payment_amount_usd: int + """ + if self.local_vars_configuration.client_side_validation and payment_amount_usd is None: # noqa: E501 + raise ValueError("Invalid value for `payment_amount_usd`, must not be `None`") # noqa: E501 + + self._payment_amount_usd = payment_amount_usd + + @property + def payment_created(self): + """Gets the payment_created of this EconomyPayout. # noqa: E501 + + + :return: The payment_created of this EconomyPayout. # noqa: E501 + :rtype: datetime + """ + return self._payment_created + + @payment_created.setter + def payment_created(self, payment_created): + """Sets the payment_created of this EconomyPayout. + + + :param payment_created: The payment_created of this EconomyPayout. # noqa: E501 + :type payment_created: datetime + """ + if self.local_vars_configuration.client_side_validation and payment_created is None: # noqa: E501 + raise ValueError("Invalid value for `payment_created`, must not be `None`") # noqa: E501 + + self._payment_created = payment_created + + @property + def payment_out_id(self): + """Gets the payment_out_id of this EconomyPayout. # noqa: E501 + + + :return: The payment_out_id of this EconomyPayout. # noqa: E501 + :rtype: int + """ + return self._payment_out_id + + @payment_out_id.setter + def payment_out_id(self, payment_out_id): + """Sets the payment_out_id of this EconomyPayout. + + + :param payment_out_id: The payment_out_id of this EconomyPayout. # noqa: E501 + :type payment_out_id: int + """ + if self.local_vars_configuration.client_side_validation and payment_out_id is None: # noqa: E501 + raise ValueError("Invalid value for `payment_out_id`, must not be `None`") # noqa: E501 + + self._payment_out_id = payment_out_id + + @property + def payment_platform(self): + """Gets the payment_platform of this EconomyPayout. # noqa: E501 + + + :return: The payment_platform of this EconomyPayout. # noqa: E501 + :rtype: str + """ + return self._payment_platform + + @payment_platform.setter + def payment_platform(self, payment_platform): + """Sets the payment_platform of this EconomyPayout. + + + :param payment_platform: The payment_platform of this EconomyPayout. # noqa: E501 + :type payment_platform: str + """ + if self.local_vars_configuration.client_side_validation and payment_platform is None: # noqa: E501 + raise ValueError("Invalid value for `payment_platform`, must not be `None`") # noqa: E501 + + self._payment_platform = payment_platform + + @property + def payment_platform_code(self): + """Gets the payment_platform_code of this EconomyPayout. # noqa: E501 + + + :return: The payment_platform_code of this EconomyPayout. # noqa: E501 + :rtype: int + """ + return self._payment_platform_code + + @payment_platform_code.setter + def payment_platform_code(self, payment_platform_code): + """Sets the payment_platform_code of this EconomyPayout. + + + :param payment_platform_code: The payment_platform_code of this EconomyPayout. # noqa: E501 + :type payment_platform_code: int + """ + if self.local_vars_configuration.client_side_validation and payment_platform_code is None: # noqa: E501 + raise ValueError("Invalid value for `payment_platform_code`, must not be `None`") # noqa: E501 + + self._payment_platform_code = payment_platform_code + + @property + def payment_status(self): + """Gets the payment_status of this EconomyPayout. # noqa: E501 + + + :return: The payment_status of this EconomyPayout. # noqa: E501 + :rtype: str + """ + return self._payment_status + + @payment_status.setter + def payment_status(self, payment_status): + """Sets the payment_status of this EconomyPayout. + + + :param payment_status: The payment_status of this EconomyPayout. # noqa: E501 + :type payment_status: str + """ + if self.local_vars_configuration.client_side_validation and payment_status is None: # noqa: E501 + raise ValueError("Invalid value for `payment_status`, must not be `None`") # noqa: E501 + + self._payment_status = payment_status + + @property + def payment_status_code(self): + """Gets the payment_status_code of this EconomyPayout. # noqa: E501 + + + :return: The payment_status_code of this EconomyPayout. # noqa: E501 + :rtype: int + """ + return self._payment_status_code + + @payment_status_code.setter + def payment_status_code(self, payment_status_code): + """Sets the payment_status_code of this EconomyPayout. + + + :param payment_status_code: The payment_status_code of this EconomyPayout. # noqa: E501 + :type payment_status_code: int + """ + if self.local_vars_configuration.client_side_validation and payment_status_code is None: # noqa: E501 + raise ValueError("Invalid value for `payment_status_code`, must not be `None`") # noqa: E501 + + self._payment_status_code = payment_status_code + + @property + def payment_updated(self): + """Gets the payment_updated of this EconomyPayout. # noqa: E501 + + + :return: The payment_updated of this EconomyPayout. # noqa: E501 + :rtype: datetime + """ + return self._payment_updated + + @payment_updated.setter + def payment_updated(self, payment_updated): + """Sets the payment_updated of this EconomyPayout. + + + :param payment_updated: The payment_updated of this EconomyPayout. # noqa: E501 + :type payment_updated: datetime + """ + if self.local_vars_configuration.client_side_validation and payment_updated is None: # noqa: E501 + raise ValueError("Invalid value for `payment_updated`, must not be `None`") # noqa: E501 + + self._payment_updated = payment_updated + + @property + def platform_payment_guid(self): + """Gets the platform_payment_guid of this EconomyPayout. # noqa: E501 + + + :return: The platform_payment_guid of this EconomyPayout. # noqa: E501 + :rtype: str + """ + return self._platform_payment_guid + + @platform_payment_guid.setter + def platform_payment_guid(self, platform_payment_guid): + """Sets the platform_payment_guid of this EconomyPayout. + + + :param platform_payment_guid: The platform_payment_guid of this EconomyPayout. # noqa: E501 + :type platform_payment_guid: str + """ + + self._platform_payment_guid = platform_payment_guid + + @property + def platform_payment_method(self): + """Gets the platform_payment_method of this EconomyPayout. # noqa: E501 + + + :return: The platform_payment_method of this EconomyPayout. # noqa: E501 + :rtype: str + """ + return self._platform_payment_method + + @platform_payment_method.setter + def platform_payment_method(self, platform_payment_method): + """Sets the platform_payment_method of this EconomyPayout. + + + :param platform_payment_method: The platform_payment_method of this EconomyPayout. # noqa: E501 + :type platform_payment_method: str + """ + + self._platform_payment_method = platform_payment_method + + @property + def reversal_date(self): + """Gets the reversal_date of this EconomyPayout. # noqa: E501 + + + :return: The reversal_date of this EconomyPayout. # noqa: E501 + :rtype: datetime + """ + return self._reversal_date + + @reversal_date.setter + def reversal_date(self, reversal_date): + """Sets the reversal_date of this EconomyPayout. + + + :param reversal_date: The reversal_date of this EconomyPayout. # noqa: E501 + :type reversal_date: datetime + """ + + self._reversal_date = reversal_date + + @property + def reversal_reason(self): + """Gets the reversal_reason of this EconomyPayout. # noqa: E501 + + + :return: The reversal_reason of this EconomyPayout. # noqa: E501 + :rtype: str + """ + return self._reversal_reason + + @reversal_reason.setter + def reversal_reason(self, reversal_reason): + """Sets the reversal_reason of this EconomyPayout. + + + :param reversal_reason: The reversal_reason of this EconomyPayout. # noqa: E501 + :type reversal_reason: str + """ + + self._reversal_reason = reversal_reason + + @property + def reversal_reason_code(self): + """Gets the reversal_reason_code of this EconomyPayout. # noqa: E501 + + + :return: The reversal_reason_code of this EconomyPayout. # noqa: E501 + :rtype: int + """ + return self._reversal_reason_code + + @reversal_reason_code.setter + def reversal_reason_code(self, reversal_reason_code): + """Sets the reversal_reason_code of this EconomyPayout. + + + :param reversal_reason_code: The reversal_reason_code of this EconomyPayout. # noqa: E501 + :type reversal_reason_code: int + """ + + self._reversal_reason_code = reversal_reason_code + + @property + def reversal_transaction_id(self): + """Gets the reversal_transaction_id of this EconomyPayout. # noqa: E501 + + + :return: The reversal_transaction_id of this EconomyPayout. # noqa: E501 + :rtype: int + """ + return self._reversal_transaction_id + + @reversal_transaction_id.setter + def reversal_transaction_id(self, reversal_transaction_id): + """Sets the reversal_transaction_id of this EconomyPayout. + + + :param reversal_transaction_id: The reversal_transaction_id of this EconomyPayout. # noqa: E501 + :type reversal_transaction_id: int + """ + + self._reversal_transaction_id = reversal_transaction_id + + @property + def transaction_id(self): + """Gets the transaction_id of this EconomyPayout. # noqa: E501 + + + :return: The transaction_id of this EconomyPayout. # noqa: E501 + :rtype: int + """ + return self._transaction_id + + @transaction_id.setter + def transaction_id(self, transaction_id): + """Sets the transaction_id of this EconomyPayout. + + + :param transaction_id: The transaction_id of this EconomyPayout. # noqa: E501 + :type transaction_id: int + """ + if self.local_vars_configuration.client_side_validation and transaction_id is None: # noqa: E501 + raise ValueError("Invalid value for `transaction_id`, must not be `None`") # noqa: E501 + + self._transaction_id = transaction_id + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, EconomyPayout): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, EconomyPayout): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/economy_payout_eligibility.py b/vrchatapi/models/economy_payout_eligibility.py new file mode 100644 index 00000000..2bf6e271 --- /dev/null +++ b/vrchatapi/models/economy_payout_eligibility.py @@ -0,0 +1,240 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.7 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class EconomyPayoutEligibility(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'issue': 'str', + 'ok_balance': 'bool', + 'ok_frequency': 'bool', + 'ok_not_ongoing': 'bool', + 'ok_standing': 'bool' + } + + attribute_map = { + 'issue': 'issue', + 'ok_balance': 'okBalance', + 'ok_frequency': 'okFrequency', + 'ok_not_ongoing': 'okNotOngoing', + 'ok_standing': 'okStanding' + } + + def __init__(self, issue=None, ok_balance=None, ok_frequency=None, ok_not_ongoing=None, ok_standing=None, local_vars_configuration=None): # noqa: E501 + """EconomyPayoutEligibility - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._issue = None + self._ok_balance = None + self._ok_frequency = None + self._ok_not_ongoing = None + self._ok_standing = None + self.discriminator = None + + self.issue = issue + self.ok_balance = ok_balance + self.ok_frequency = ok_frequency + self.ok_not_ongoing = ok_not_ongoing + self.ok_standing = ok_standing + + @property + def issue(self): + """Gets the issue of this EconomyPayoutEligibility. # noqa: E501 + + + :return: The issue of this EconomyPayoutEligibility. # noqa: E501 + :rtype: str + """ + return self._issue + + @issue.setter + def issue(self, issue): + """Sets the issue of this EconomyPayoutEligibility. + + + :param issue: The issue of this EconomyPayoutEligibility. # noqa: E501 + :type issue: str + """ + if self.local_vars_configuration.client_side_validation and issue is None: # noqa: E501 + raise ValueError("Invalid value for `issue`, must not be `None`") # noqa: E501 + + self._issue = issue + + @property + def ok_balance(self): + """Gets the ok_balance of this EconomyPayoutEligibility. # noqa: E501 + + + :return: The ok_balance of this EconomyPayoutEligibility. # noqa: E501 + :rtype: bool + """ + return self._ok_balance + + @ok_balance.setter + def ok_balance(self, ok_balance): + """Sets the ok_balance of this EconomyPayoutEligibility. + + + :param ok_balance: The ok_balance of this EconomyPayoutEligibility. # noqa: E501 + :type ok_balance: bool + """ + if self.local_vars_configuration.client_side_validation and ok_balance is None: # noqa: E501 + raise ValueError("Invalid value for `ok_balance`, must not be `None`") # noqa: E501 + + self._ok_balance = ok_balance + + @property + def ok_frequency(self): + """Gets the ok_frequency of this EconomyPayoutEligibility. # noqa: E501 + + + :return: The ok_frequency of this EconomyPayoutEligibility. # noqa: E501 + :rtype: bool + """ + return self._ok_frequency + + @ok_frequency.setter + def ok_frequency(self, ok_frequency): + """Sets the ok_frequency of this EconomyPayoutEligibility. + + + :param ok_frequency: The ok_frequency of this EconomyPayoutEligibility. # noqa: E501 + :type ok_frequency: bool + """ + if self.local_vars_configuration.client_side_validation and ok_frequency is None: # noqa: E501 + raise ValueError("Invalid value for `ok_frequency`, must not be `None`") # noqa: E501 + + self._ok_frequency = ok_frequency + + @property + def ok_not_ongoing(self): + """Gets the ok_not_ongoing of this EconomyPayoutEligibility. # noqa: E501 + + + :return: The ok_not_ongoing of this EconomyPayoutEligibility. # noqa: E501 + :rtype: bool + """ + return self._ok_not_ongoing + + @ok_not_ongoing.setter + def ok_not_ongoing(self, ok_not_ongoing): + """Sets the ok_not_ongoing of this EconomyPayoutEligibility. + + + :param ok_not_ongoing: The ok_not_ongoing of this EconomyPayoutEligibility. # noqa: E501 + :type ok_not_ongoing: bool + """ + if self.local_vars_configuration.client_side_validation and ok_not_ongoing is None: # noqa: E501 + raise ValueError("Invalid value for `ok_not_ongoing`, must not be `None`") # noqa: E501 + + self._ok_not_ongoing = ok_not_ongoing + + @property + def ok_standing(self): + """Gets the ok_standing of this EconomyPayoutEligibility. # noqa: E501 + + + :return: The ok_standing of this EconomyPayoutEligibility. # noqa: E501 + :rtype: bool + """ + return self._ok_standing + + @ok_standing.setter + def ok_standing(self, ok_standing): + """Sets the ok_standing of this EconomyPayoutEligibility. + + + :param ok_standing: The ok_standing of this EconomyPayoutEligibility. # noqa: E501 + :type ok_standing: bool + """ + if self.local_vars_configuration.client_side_validation and ok_standing is None: # noqa: E501 + raise ValueError("Invalid value for `ok_standing`, must not be `None`") # noqa: E501 + + self._ok_standing = ok_standing + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, EconomyPayoutEligibility): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, EconomyPayoutEligibility): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/economy_payout_list.py b/vrchatapi/models/economy_payout_list.py new file mode 100644 index 00000000..88f7821a --- /dev/null +++ b/vrchatapi/models/economy_payout_list.py @@ -0,0 +1,132 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.7 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class EconomyPayoutList(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'payouts': 'list[EconomyPayout]' + } + + attribute_map = { + 'payouts': 'payouts' + } + + def __init__(self, payouts=None, local_vars_configuration=None): # noqa: E501 + """EconomyPayoutList - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._payouts = None + self.discriminator = None + + self.payouts = payouts + + @property + def payouts(self): + """Gets the payouts of this EconomyPayoutList. # noqa: E501 + + + :return: The payouts of this EconomyPayoutList. # noqa: E501 + :rtype: list[EconomyPayout] + """ + return self._payouts + + @payouts.setter + def payouts(self, payouts): + """Sets the payouts of this EconomyPayoutList. + + + :param payouts: The payouts of this EconomyPayoutList. # noqa: E501 + :type payouts: list[EconomyPayout] + """ + if self.local_vars_configuration.client_side_validation and payouts is None: # noqa: E501 + raise ValueError("Invalid value for `payouts`, must not be `None`") # noqa: E501 + + self._payouts = payouts + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, EconomyPayoutList): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, EconomyPayoutList): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/economy_payout_status.py b/vrchatapi/models/economy_payout_status.py new file mode 100644 index 00000000..d315ab85 --- /dev/null +++ b/vrchatapi/models/economy_payout_status.py @@ -0,0 +1,320 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.7 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class EconomyPayoutStatus(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'account_id': 'int', + 'active_payout': 'EconomyPayout', + 'active_payout_cancellable': 'bool', + 'active_payout_tilia_amount': 'int', + 'earnings_balance': 'int', + 'eligibility': 'EconomyPayoutEligibility', + 'payout_eligible': 'bool', + 'tilia_id': 'str' + } + + attribute_map = { + 'account_id': 'accountId', + 'active_payout': 'activePayout', + 'active_payout_cancellable': 'activePayoutCancellable', + 'active_payout_tilia_amount': 'activePayoutTiliaAmount', + 'earnings_balance': 'earningsBalance', + 'eligibility': 'eligibility', + 'payout_eligible': 'payoutEligible', + 'tilia_id': 'tiliaId' + } + + def __init__(self, account_id=None, active_payout=None, active_payout_cancellable=None, active_payout_tilia_amount=None, earnings_balance=None, eligibility=None, payout_eligible=None, tilia_id=None, local_vars_configuration=None): # noqa: E501 + """EconomyPayoutStatus - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._account_id = None + self._active_payout = None + self._active_payout_cancellable = None + self._active_payout_tilia_amount = None + self._earnings_balance = None + self._eligibility = None + self._payout_eligible = None + self._tilia_id = None + self.discriminator = None + + self.account_id = account_id + if active_payout is not None: + self.active_payout = active_payout + self.active_payout_cancellable = active_payout_cancellable + self.active_payout_tilia_amount = active_payout_tilia_amount + self.earnings_balance = earnings_balance + self.eligibility = eligibility + self.payout_eligible = payout_eligible + self.tilia_id = tilia_id + + @property + def account_id(self): + """Gets the account_id of this EconomyPayoutStatus. # noqa: E501 + + + :return: The account_id of this EconomyPayoutStatus. # noqa: E501 + :rtype: int + """ + return self._account_id + + @account_id.setter + def account_id(self, account_id): + """Sets the account_id of this EconomyPayoutStatus. + + + :param account_id: The account_id of this EconomyPayoutStatus. # noqa: E501 + :type account_id: int + """ + if self.local_vars_configuration.client_side_validation and account_id is None: # noqa: E501 + raise ValueError("Invalid value for `account_id`, must not be `None`") # noqa: E501 + + self._account_id = account_id + + @property + def active_payout(self): + """Gets the active_payout of this EconomyPayoutStatus. # noqa: E501 + + + :return: The active_payout of this EconomyPayoutStatus. # noqa: E501 + :rtype: EconomyPayout + """ + return self._active_payout + + @active_payout.setter + def active_payout(self, active_payout): + """Sets the active_payout of this EconomyPayoutStatus. + + + :param active_payout: The active_payout of this EconomyPayoutStatus. # noqa: E501 + :type active_payout: EconomyPayout + """ + + self._active_payout = active_payout + + @property + def active_payout_cancellable(self): + """Gets the active_payout_cancellable of this EconomyPayoutStatus. # noqa: E501 + + + :return: The active_payout_cancellable of this EconomyPayoutStatus. # noqa: E501 + :rtype: bool + """ + return self._active_payout_cancellable + + @active_payout_cancellable.setter + def active_payout_cancellable(self, active_payout_cancellable): + """Sets the active_payout_cancellable of this EconomyPayoutStatus. + + + :param active_payout_cancellable: The active_payout_cancellable of this EconomyPayoutStatus. # noqa: E501 + :type active_payout_cancellable: bool + """ + if self.local_vars_configuration.client_side_validation and active_payout_cancellable is None: # noqa: E501 + raise ValueError("Invalid value for `active_payout_cancellable`, must not be `None`") # noqa: E501 + + self._active_payout_cancellable = active_payout_cancellable + + @property + def active_payout_tilia_amount(self): + """Gets the active_payout_tilia_amount of this EconomyPayoutStatus. # noqa: E501 + + + :return: The active_payout_tilia_amount of this EconomyPayoutStatus. # noqa: E501 + :rtype: int + """ + return self._active_payout_tilia_amount + + @active_payout_tilia_amount.setter + def active_payout_tilia_amount(self, active_payout_tilia_amount): + """Sets the active_payout_tilia_amount of this EconomyPayoutStatus. + + + :param active_payout_tilia_amount: The active_payout_tilia_amount of this EconomyPayoutStatus. # noqa: E501 + :type active_payout_tilia_amount: int + """ + if self.local_vars_configuration.client_side_validation and active_payout_tilia_amount is None: # noqa: E501 + raise ValueError("Invalid value for `active_payout_tilia_amount`, must not be `None`") # noqa: E501 + + self._active_payout_tilia_amount = active_payout_tilia_amount + + @property + def earnings_balance(self): + """Gets the earnings_balance of this EconomyPayoutStatus. # noqa: E501 + + + :return: The earnings_balance of this EconomyPayoutStatus. # noqa: E501 + :rtype: int + """ + return self._earnings_balance + + @earnings_balance.setter + def earnings_balance(self, earnings_balance): + """Sets the earnings_balance of this EconomyPayoutStatus. + + + :param earnings_balance: The earnings_balance of this EconomyPayoutStatus. # noqa: E501 + :type earnings_balance: int + """ + if self.local_vars_configuration.client_side_validation and earnings_balance is None: # noqa: E501 + raise ValueError("Invalid value for `earnings_balance`, must not be `None`") # noqa: E501 + + self._earnings_balance = earnings_balance + + @property + def eligibility(self): + """Gets the eligibility of this EconomyPayoutStatus. # noqa: E501 + + + :return: The eligibility of this EconomyPayoutStatus. # noqa: E501 + :rtype: EconomyPayoutEligibility + """ + return self._eligibility + + @eligibility.setter + def eligibility(self, eligibility): + """Sets the eligibility of this EconomyPayoutStatus. + + + :param eligibility: The eligibility of this EconomyPayoutStatus. # noqa: E501 + :type eligibility: EconomyPayoutEligibility + """ + if self.local_vars_configuration.client_side_validation and eligibility is None: # noqa: E501 + raise ValueError("Invalid value for `eligibility`, must not be `None`") # noqa: E501 + + self._eligibility = eligibility + + @property + def payout_eligible(self): + """Gets the payout_eligible of this EconomyPayoutStatus. # noqa: E501 + + + :return: The payout_eligible of this EconomyPayoutStatus. # noqa: E501 + :rtype: bool + """ + return self._payout_eligible + + @payout_eligible.setter + def payout_eligible(self, payout_eligible): + """Sets the payout_eligible of this EconomyPayoutStatus. + + + :param payout_eligible: The payout_eligible of this EconomyPayoutStatus. # noqa: E501 + :type payout_eligible: bool + """ + if self.local_vars_configuration.client_side_validation and payout_eligible is None: # noqa: E501 + raise ValueError("Invalid value for `payout_eligible`, must not be `None`") # noqa: E501 + + self._payout_eligible = payout_eligible + + @property + def tilia_id(self): + """Gets the tilia_id of this EconomyPayoutStatus. # noqa: E501 + + + :return: The tilia_id of this EconomyPayoutStatus. # noqa: E501 + :rtype: str + """ + return self._tilia_id + + @tilia_id.setter + def tilia_id(self, tilia_id): + """Sets the tilia_id of this EconomyPayoutStatus. + + + :param tilia_id: The tilia_id of this EconomyPayoutStatus. # noqa: E501 + :type tilia_id: str + """ + if self.local_vars_configuration.client_side_validation and tilia_id is None: # noqa: E501 + raise ValueError("Invalid value for `tilia_id`, must not be `None`") # noqa: E501 + + self._tilia_id = tilia_id + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, EconomyPayoutStatus): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, EconomyPayoutStatus): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/product.py b/vrchatapi/models/product.py index 8c9c6682..dc96907c 100644 --- a/vrchatapi/models/product.py +++ b/vrchatapi/models/product.py @@ -46,8 +46,12 @@ class Product(object): 'group_role_id': 'str', 'id': 'str', 'image_id': 'str', + 'image_url': 'str', 'parent_listings': 'list[str]', 'product_type': 'ProductType', + 'product_type_label': 'str', + 'purchase_count': 'int', + 'purchase_count_quantity': 'int', 'seller_display_name': 'str', 'seller_id': 'str', 'tags': 'list[str]', @@ -66,8 +70,12 @@ class Product(object): 'group_role_id': 'groupRoleId', 'id': 'id', 'image_id': 'imageId', + 'image_url': 'imageUrl', 'parent_listings': 'parentListings', 'product_type': 'productType', + 'product_type_label': 'productTypeLabel', + 'purchase_count': 'purchaseCount', + 'purchase_count_quantity': 'purchaseCountQuantity', 'seller_display_name': 'sellerDisplayName', 'seller_id': 'sellerId', 'tags': 'tags', @@ -75,7 +83,7 @@ class Product(object): 'use_for_subscriber_list': 'useForSubscriberList' } - def __init__(self, archived=None, created=None, description=None, display_name=None, group_access=False, group_access_remove=False, group_id=None, group_role_id=None, id=None, image_id=None, parent_listings=None, product_type=None, seller_display_name=None, seller_id=None, tags=None, updated=None, use_for_subscriber_list=False, local_vars_configuration=None): # noqa: E501 + def __init__(self, archived=None, created=None, description=None, display_name=None, group_access=False, group_access_remove=False, group_id=None, group_role_id=None, id=None, image_id=None, image_url=None, parent_listings=None, product_type=None, product_type_label=None, purchase_count=None, purchase_count_quantity=None, seller_display_name=None, seller_id=None, tags=None, updated=None, use_for_subscriber_list=False, local_vars_configuration=None): # noqa: E501 """Product - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -91,8 +99,12 @@ def __init__(self, archived=None, created=None, description=None, display_name=N self._group_role_id = None self._id = None self._image_id = None + self._image_url = None self._parent_listings = None self._product_type = None + self._product_type_label = None + self._purchase_count = None + self._purchase_count_quantity = None self._seller_display_name = None self._seller_id = None self._tags = None @@ -116,8 +128,15 @@ def __init__(self, archived=None, created=None, description=None, display_name=N self.group_role_id = group_role_id self.id = id self.image_id = image_id + self.image_url = image_url self.parent_listings = parent_listings self.product_type = product_type + if product_type_label is not None: + self.product_type_label = product_type_label + if purchase_count is not None: + self.purchase_count = purchase_count + if purchase_count_quantity is not None: + self.purchase_count_quantity = purchase_count_quantity self.seller_display_name = seller_display_name self.seller_id = seller_id self.tags = tags @@ -343,6 +362,27 @@ def image_id(self, image_id): self._image_id = image_id + @property + def image_url(self): + """Gets the image_url of this Product. # noqa: E501 + + + :return: The image_url of this Product. # noqa: E501 + :rtype: str + """ + return self._image_url + + @image_url.setter + def image_url(self, image_url): + """Sets the image_url of this Product. + + + :param image_url: The image_url of this Product. # noqa: E501 + :type image_url: str + """ + + self._image_url = image_url + @property def parent_listings(self): """Gets the parent_listings of this Product. # noqa: E501 @@ -389,6 +429,69 @@ def product_type(self, product_type): self._product_type = product_type + @property + def product_type_label(self): + """Gets the product_type_label of this Product. # noqa: E501 + + + :return: The product_type_label of this Product. # noqa: E501 + :rtype: str + """ + return self._product_type_label + + @product_type_label.setter + def product_type_label(self, product_type_label): + """Sets the product_type_label of this Product. + + + :param product_type_label: The product_type_label of this Product. # noqa: E501 + :type product_type_label: str + """ + + self._product_type_label = product_type_label + + @property + def purchase_count(self): + """Gets the purchase_count of this Product. # noqa: E501 + + + :return: The purchase_count of this Product. # noqa: E501 + :rtype: int + """ + return self._purchase_count + + @purchase_count.setter + def purchase_count(self, purchase_count): + """Sets the purchase_count of this Product. + + + :param purchase_count: The purchase_count of this Product. # noqa: E501 + :type purchase_count: int + """ + + self._purchase_count = purchase_count + + @property + def purchase_count_quantity(self): + """Gets the purchase_count_quantity of this Product. # noqa: E501 + + + :return: The purchase_count_quantity of this Product. # noqa: E501 + :rtype: int + """ + return self._purchase_count_quantity + + @purchase_count_quantity.setter + def purchase_count_quantity(self, purchase_count_quantity): + """Sets the purchase_count_quantity of this Product. + + + :param purchase_count_quantity: The purchase_count_quantity of this Product. # noqa: E501 + :type purchase_count_quantity: int + """ + + self._purchase_count_quantity = purchase_count_quantity + @property def seller_display_name(self): """Gets the seller_display_name of this Product. # noqa: E501 diff --git a/vrchatapi/models/product_listing.py b/vrchatapi/models/product_listing.py index b5ac154d..8e64866d 100644 --- a/vrchatapi/models/product_listing.py +++ b/vrchatapi/models/product_listing.py @@ -37,7 +37,9 @@ class ProductListing(object): """ openapi_types = { 'active': 'bool', + 'archived': 'bool', 'buyer_refundable': 'bool', + 'created': 'datetime', 'description': 'str', 'display_name': 'str', 'duration': 'int', @@ -58,6 +60,8 @@ class ProductListing(object): 'product_ids': 'list[str]', 'product_type': 'ProductType', 'products': 'list[object]', + 'purchase_count': 'int', + 'purchase_count_quantity': 'int', 'quantifiable': 'bool', 'recurrable': 'bool', 'refundable': 'bool', @@ -68,13 +72,16 @@ class ProductListing(object): 'store_ids': 'list[str]', 'subtitle': 'str', 'tags': 'list[str]', + 'updated': 'datetime', 'vrc_plus_discount_price': 'int', 'when_to_expire': 'datetime' } attribute_map = { 'active': 'active', + 'archived': 'archived', 'buyer_refundable': 'buyerRefundable', + 'created': 'created', 'description': 'description', 'display_name': 'displayName', 'duration': 'duration', @@ -95,6 +102,8 @@ class ProductListing(object): 'product_ids': 'productIds', 'product_type': 'productType', 'products': 'products', + 'purchase_count': 'purchaseCount', + 'purchase_count_quantity': 'purchaseCountQuantity', 'quantifiable': 'quantifiable', 'recurrable': 'recurrable', 'refundable': 'refundable', @@ -105,18 +114,21 @@ class ProductListing(object): 'store_ids': 'storeIds', 'subtitle': 'subtitle', 'tags': 'tags', + 'updated': 'updated', 'vrc_plus_discount_price': 'vrcPlusDiscountPrice', 'when_to_expire': 'whenToExpire' } - def __init__(self, active=None, buyer_refundable=None, description=None, display_name=None, duration=None, duration_type=None, group_icon=None, group_id=None, group_name=None, has_avatar=None, has_udon=None, hydrated_products=None, id=None, image_id=None, image_url=None, listing_type=None, listing_variants=None, permanent=None, price_tokens=None, product_ids=None, product_type=None, products=None, quantifiable=None, recurrable=None, refundable=None, seller_display_name=None, seller_id=None, sold_by_vrc=None, stackable=None, store_ids=None, subtitle=None, tags=None, vrc_plus_discount_price=None, when_to_expire=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, active=None, archived=None, buyer_refundable=None, created=None, description=None, display_name=None, duration=None, duration_type=None, group_icon=None, group_id=None, group_name=None, has_avatar=None, has_udon=None, hydrated_products=None, id=None, image_id=None, image_url=None, listing_type=None, listing_variants=None, permanent=None, price_tokens=None, product_ids=None, product_type=None, products=None, purchase_count=None, purchase_count_quantity=None, quantifiable=None, recurrable=None, refundable=None, seller_display_name=None, seller_id=None, sold_by_vrc=None, stackable=None, store_ids=None, subtitle=None, tags=None, updated=None, vrc_plus_discount_price=None, when_to_expire=None, local_vars_configuration=None): # noqa: E501 """ProductListing - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._active = None + self._archived = None self._buyer_refundable = None + self._created = None self._description = None self._display_name = None self._duration = None @@ -137,6 +149,8 @@ def __init__(self, active=None, buyer_refundable=None, description=None, display self._product_ids = None self._product_type = None self._products = None + self._purchase_count = None + self._purchase_count_quantity = None self._quantifiable = None self._recurrable = None self._refundable = None @@ -147,12 +161,17 @@ def __init__(self, active=None, buyer_refundable=None, description=None, display self._store_ids = None self._subtitle = None self._tags = None + self._updated = None self._vrc_plus_discount_price = None self._when_to_expire = None self.discriminator = None self.active = active + if archived is not None: + self.archived = archived self.buyer_refundable = buyer_refundable + if created is not None: + self.created = created self.description = description self.display_name = display_name self.duration = duration @@ -179,6 +198,10 @@ def __init__(self, active=None, buyer_refundable=None, description=None, display self.product_ids = product_ids self.product_type = product_type self.products = products + if purchase_count is not None: + self.purchase_count = purchase_count + if purchase_count_quantity is not None: + self.purchase_count_quantity = purchase_count_quantity if quantifiable is not None: self.quantifiable = quantifiable self.recurrable = recurrable @@ -193,6 +216,8 @@ def __init__(self, active=None, buyer_refundable=None, description=None, display self.subtitle = subtitle if tags is not None: self.tags = tags + if updated is not None: + self.updated = updated if vrc_plus_discount_price is not None: self.vrc_plus_discount_price = vrc_plus_discount_price self.when_to_expire = when_to_expire @@ -220,6 +245,27 @@ def active(self, active): self._active = active + @property + def archived(self): + """Gets the archived of this ProductListing. # noqa: E501 + + + :return: The archived of this ProductListing. # noqa: E501 + :rtype: bool + """ + return self._archived + + @archived.setter + def archived(self, archived): + """Sets the archived of this ProductListing. + + + :param archived: The archived of this ProductListing. # noqa: E501 + :type archived: bool + """ + + self._archived = archived + @property def buyer_refundable(self): """Gets the buyer_refundable of this ProductListing. # noqa: E501 @@ -243,6 +289,27 @@ def buyer_refundable(self, buyer_refundable): self._buyer_refundable = buyer_refundable + @property + def created(self): + """Gets the created of this ProductListing. # noqa: E501 + + + :return: The created of this ProductListing. # noqa: E501 + :rtype: datetime + """ + return self._created + + @created.setter + def created(self, created): + """Sets the created of this ProductListing. + + + :param created: The created of this ProductListing. # noqa: E501 + :type created: datetime + """ + + self._created = created + @property def description(self): """Gets the description of this ProductListing. # noqa: E501 @@ -683,6 +750,48 @@ def products(self, products): self._products = products + @property + def purchase_count(self): + """Gets the purchase_count of this ProductListing. # noqa: E501 + + + :return: The purchase_count of this ProductListing. # noqa: E501 + :rtype: int + """ + return self._purchase_count + + @purchase_count.setter + def purchase_count(self, purchase_count): + """Sets the purchase_count of this ProductListing. + + + :param purchase_count: The purchase_count of this ProductListing. # noqa: E501 + :type purchase_count: int + """ + + self._purchase_count = purchase_count + + @property + def purchase_count_quantity(self): + """Gets the purchase_count_quantity of this ProductListing. # noqa: E501 + + + :return: The purchase_count_quantity of this ProductListing. # noqa: E501 + :rtype: int + """ + return self._purchase_count_quantity + + @purchase_count_quantity.setter + def purchase_count_quantity(self, purchase_count_quantity): + """Sets the purchase_count_quantity of this ProductListing. + + + :param purchase_count_quantity: The purchase_count_quantity of this ProductListing. # noqa: E501 + :type purchase_count_quantity: int + """ + + self._purchase_count_quantity = purchase_count_quantity + @property def quantifiable(self): """Gets the quantifiable of this ProductListing. # noqa: E501 @@ -905,6 +1014,27 @@ def tags(self, tags): self._tags = tags + @property + def updated(self): + """Gets the updated of this ProductListing. # noqa: E501 + + + :return: The updated of this ProductListing. # noqa: E501 + :rtype: datetime + """ + return self._updated + + @updated.setter + def updated(self, updated): + """Sets the updated of this ProductListing. + + + :param updated: The updated of this ProductListing. # noqa: E501 + :type updated: datetime + """ + + self._updated = updated + @property def vrc_plus_discount_price(self): """Gets the vrc_plus_discount_price of this ProductListing. # noqa: E501 diff --git a/vrchatapi/models/product_listing_type.py b/vrchatapi/models/product_listing_type.py index 28975deb..b6383e7b 100644 --- a/vrchatapi/models/product_listing_type.py +++ b/vrchatapi/models/product_listing_type.py @@ -32,10 +32,11 @@ class ProductListingType(object): allowed enum values """ DURATION = "duration" + INSTANT = "instant" PERMANENT = "permanent" SUBSCRIPTION = "subscription" - allowable_values = [DURATION, PERMANENT, SUBSCRIPTION] # noqa: E501 + allowable_values = [DURATION, INSTANT, PERMANENT, SUBSCRIPTION] # noqa: E501 """ Attributes: diff --git a/vrchatapi/models/product_purchase.py b/vrchatapi/models/product_purchase.py index 8e5bb252..d804858d 100644 --- a/vrchatapi/models/product_purchase.py +++ b/vrchatapi/models/product_purchase.py @@ -43,13 +43,15 @@ class ProductPurchase(object): 'is_gift': 'bool', 'is_receiver': 'bool', 'is_seller': 'bool', + 'ledger_transaction_id': 'int', 'listing_currently_available': 'bool', + 'listing_description': 'str', 'listing_display_name': 'str', 'listing_id': 'str', 'listing_image_id': 'str', 'listing_subtitle': 'str', 'listing_type': 'ProductListingType', - 'products': 'list[object]', + 'products': 'list[ProductPurchaseProduct]', 'purchase_active': 'bool', 'purchase_context': 'ProductPurchasePurchaseContext', 'purchase_current_status': 'str', @@ -57,6 +59,7 @@ class ProductPurchase(object): 'purchase_duration': 'int', 'purchase_duration_type': 'str', 'purchase_end_date': 'datetime', + 'purchase_fee': 'int', 'purchase_id': 'str', 'purchase_latest': 'bool', 'purchase_price': 'int', @@ -65,6 +68,7 @@ class ProductPurchase(object): 'purchase_token': 'object', 'purchase_type': 'str', 'purchase_unit_price': 'int', + 'purchase_value': 'int', 'receiver_display_name': 'str', 'receiver_id': 'str', 'recurrable': 'bool', @@ -83,7 +87,9 @@ class ProductPurchase(object): 'is_gift': 'isGift', 'is_receiver': 'isReceiver', 'is_seller': 'isSeller', + 'ledger_transaction_id': 'ledgerTransactionId', 'listing_currently_available': 'listingCurrentlyAvailable', + 'listing_description': 'listingDescription', 'listing_display_name': 'listingDisplayName', 'listing_id': 'listingId', 'listing_image_id': 'listingImageId', @@ -97,6 +103,7 @@ class ProductPurchase(object): 'purchase_duration': 'purchaseDuration', 'purchase_duration_type': 'purchaseDurationType', 'purchase_end_date': 'purchaseEndDate', + 'purchase_fee': 'purchaseFee', 'purchase_id': 'purchaseId', 'purchase_latest': 'purchaseLatest', 'purchase_price': 'purchasePrice', @@ -105,6 +112,7 @@ class ProductPurchase(object): 'purchase_token': 'purchaseToken', 'purchase_type': 'purchaseType', 'purchase_unit_price': 'purchaseUnitPrice', + 'purchase_value': 'purchaseValue', 'receiver_display_name': 'receiverDisplayName', 'receiver_id': 'receiverId', 'recurrable': 'recurrable', @@ -115,7 +123,7 @@ class ProductPurchase(object): 'will_recur': 'willRecur' } - def __init__(self, buyer_display_name=None, buyer_id=None, first_party=None, is_buyer=None, is_gift=None, is_receiver=None, is_seller=None, listing_currently_available=None, listing_display_name=None, listing_id=None, listing_image_id=None, listing_subtitle=None, listing_type=None, products=None, purchase_active=None, purchase_context=None, purchase_current_status=None, purchase_date=None, purchase_duration=None, purchase_duration_type=None, purchase_end_date=None, purchase_id=None, purchase_latest=None, purchase_price=None, purchase_quantity=None, purchase_start_date=None, purchase_token=None, purchase_type=None, purchase_unit_price=None, receiver_display_name=None, receiver_id=None, recurrable=None, refundable=None, seller_display_name=None, seller_id=None, stackable=None, will_recur=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, buyer_display_name=None, buyer_id=None, first_party=None, is_buyer=None, is_gift=None, is_receiver=None, is_seller=None, ledger_transaction_id=None, listing_currently_available=None, listing_description=None, listing_display_name=None, listing_id=None, listing_image_id=None, listing_subtitle=None, listing_type=None, products=None, purchase_active=None, purchase_context=None, purchase_current_status=None, purchase_date=None, purchase_duration=None, purchase_duration_type=None, purchase_end_date=None, purchase_fee=None, purchase_id=None, purchase_latest=None, purchase_price=None, purchase_quantity=None, purchase_start_date=None, purchase_token=None, purchase_type=None, purchase_unit_price=None, purchase_value=None, receiver_display_name=None, receiver_id=None, recurrable=None, refundable=None, seller_display_name=None, seller_id=None, stackable=None, will_recur=None, local_vars_configuration=None): # noqa: E501 """ProductPurchase - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -128,7 +136,9 @@ def __init__(self, buyer_display_name=None, buyer_id=None, first_party=None, is_ self._is_gift = None self._is_receiver = None self._is_seller = None + self._ledger_transaction_id = None self._listing_currently_available = None + self._listing_description = None self._listing_display_name = None self._listing_id = None self._listing_image_id = None @@ -142,6 +152,7 @@ def __init__(self, buyer_display_name=None, buyer_id=None, first_party=None, is_ self._purchase_duration = None self._purchase_duration_type = None self._purchase_end_date = None + self._purchase_fee = None self._purchase_id = None self._purchase_latest = None self._purchase_price = None @@ -150,6 +161,7 @@ def __init__(self, buyer_display_name=None, buyer_id=None, first_party=None, is_ self._purchase_token = None self._purchase_type = None self._purchase_unit_price = None + self._purchase_value = None self._receiver_display_name = None self._receiver_id = None self._recurrable = None @@ -168,7 +180,11 @@ def __init__(self, buyer_display_name=None, buyer_id=None, first_party=None, is_ self.is_gift = is_gift self.is_receiver = is_receiver self.is_seller = is_seller + if ledger_transaction_id is not None: + self.ledger_transaction_id = ledger_transaction_id self.listing_currently_available = listing_currently_available + if listing_description is not None: + self.listing_description = listing_description self.listing_display_name = listing_display_name self.listing_id = listing_id self.listing_image_id = listing_image_id @@ -184,6 +200,8 @@ def __init__(self, buyer_display_name=None, buyer_id=None, first_party=None, is_ if purchase_duration_type is not None: self.purchase_duration_type = purchase_duration_type self.purchase_end_date = purchase_end_date + if purchase_fee is not None: + self.purchase_fee = purchase_fee self.purchase_id = purchase_id self.purchase_latest = purchase_latest self.purchase_price = purchase_price @@ -192,6 +210,8 @@ def __init__(self, buyer_display_name=None, buyer_id=None, first_party=None, is_ self.purchase_token = purchase_token self.purchase_type = purchase_type self.purchase_unit_price = purchase_unit_price + if purchase_value is not None: + self.purchase_value = purchase_value self.receiver_display_name = receiver_display_name self.receiver_id = receiver_id self.recurrable = recurrable @@ -362,6 +382,27 @@ def is_seller(self, is_seller): self._is_seller = is_seller + @property + def ledger_transaction_id(self): + """Gets the ledger_transaction_id of this ProductPurchase. # noqa: E501 + + + :return: The ledger_transaction_id of this ProductPurchase. # noqa: E501 + :rtype: int + """ + return self._ledger_transaction_id + + @ledger_transaction_id.setter + def ledger_transaction_id(self, ledger_transaction_id): + """Sets the ledger_transaction_id of this ProductPurchase. + + + :param ledger_transaction_id: The ledger_transaction_id of this ProductPurchase. # noqa: E501 + :type ledger_transaction_id: int + """ + + self._ledger_transaction_id = ledger_transaction_id + @property def listing_currently_available(self): """Gets the listing_currently_available of this ProductPurchase. # noqa: E501 @@ -385,6 +426,27 @@ def listing_currently_available(self, listing_currently_available): self._listing_currently_available = listing_currently_available + @property + def listing_description(self): + """Gets the listing_description of this ProductPurchase. # noqa: E501 + + + :return: The listing_description of this ProductPurchase. # noqa: E501 + :rtype: str + """ + return self._listing_description + + @listing_description.setter + def listing_description(self, listing_description): + """Sets the listing_description of this ProductPurchase. + + + :param listing_description: The listing_description of this ProductPurchase. # noqa: E501 + :type listing_description: str + """ + + self._listing_description = listing_description + @property def listing_display_name(self): """Gets the listing_display_name of this ProductPurchase. # noqa: E501 @@ -506,7 +568,7 @@ def products(self): :return: The products of this ProductPurchase. # noqa: E501 - :rtype: list[object] + :rtype: list[ProductPurchaseProduct] """ return self._products @@ -516,7 +578,7 @@ def products(self, products): :param products: The products of this ProductPurchase. # noqa: E501 - :type products: list[object] + :type products: list[ProductPurchaseProduct] """ if self.local_vars_configuration.client_side_validation and products is None: # noqa: E501 raise ValueError("Invalid value for `products`, must not be `None`") # noqa: E501 @@ -675,11 +737,30 @@ def purchase_end_date(self, purchase_end_date): :param purchase_end_date: The purchase_end_date of this ProductPurchase. # noqa: E501 :type purchase_end_date: datetime """ - if self.local_vars_configuration.client_side_validation and purchase_end_date is None: # noqa: E501 - raise ValueError("Invalid value for `purchase_end_date`, must not be `None`") # noqa: E501 self._purchase_end_date = purchase_end_date + @property + def purchase_fee(self): + """Gets the purchase_fee of this ProductPurchase. # noqa: E501 + + + :return: The purchase_fee of this ProductPurchase. # noqa: E501 + :rtype: int + """ + return self._purchase_fee + + @purchase_fee.setter + def purchase_fee(self, purchase_fee): + """Sets the purchase_fee of this ProductPurchase. + + + :param purchase_fee: The purchase_fee of this ProductPurchase. # noqa: E501 + :type purchase_fee: int + """ + + self._purchase_fee = purchase_fee + @property def purchase_id(self): """Gets the purchase_id of this ProductPurchase. # noqa: E501 @@ -790,8 +871,6 @@ def purchase_start_date(self, purchase_start_date): :param purchase_start_date: The purchase_start_date of this ProductPurchase. # noqa: E501 :type purchase_start_date: datetime """ - if self.local_vars_configuration.client_side_validation and purchase_start_date is None: # noqa: E501 - raise ValueError("Invalid value for `purchase_start_date`, must not be `None`") # noqa: E501 self._purchase_start_date = purchase_start_date @@ -862,6 +941,27 @@ def purchase_unit_price(self, purchase_unit_price): self._purchase_unit_price = purchase_unit_price + @property + def purchase_value(self): + """Gets the purchase_value of this ProductPurchase. # noqa: E501 + + + :return: The purchase_value of this ProductPurchase. # noqa: E501 + :rtype: int + """ + return self._purchase_value + + @purchase_value.setter + def purchase_value(self, purchase_value): + """Sets the purchase_value of this ProductPurchase. + + + :param purchase_value: The purchase_value of this ProductPurchase. # noqa: E501 + :type purchase_value: int + """ + + self._purchase_value = purchase_value + @property def receiver_display_name(self): """Gets the receiver_display_name of this ProductPurchase. # noqa: E501 diff --git a/vrchatapi/models/product_purchase_product.py b/vrchatapi/models/product_purchase_product.py new file mode 100644 index 00000000..dc6e3609 --- /dev/null +++ b/vrchatapi/models/product_purchase_product.py @@ -0,0 +1,237 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.7 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class ProductPurchaseProduct(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'display_name': 'str', + 'id': 'str', + 'image_id': 'str', + 'license_id': 'str', + 'product_type': 'ProductType' + } + + attribute_map = { + 'display_name': 'displayName', + 'id': 'id', + 'image_id': 'imageId', + 'license_id': 'licenseId', + 'product_type': 'productType' + } + + def __init__(self, display_name=None, id=None, image_id=None, license_id=None, product_type=None, local_vars_configuration=None): # noqa: E501 + """ProductPurchaseProduct - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._display_name = None + self._id = None + self._image_id = None + self._license_id = None + self._product_type = None + self.discriminator = None + + self.display_name = display_name + self.id = id + if image_id is not None: + self.image_id = image_id + self.license_id = license_id + self.product_type = product_type + + @property + def display_name(self): + """Gets the display_name of this ProductPurchaseProduct. # noqa: E501 + + + :return: The display_name of this ProductPurchaseProduct. # noqa: E501 + :rtype: str + """ + return self._display_name + + @display_name.setter + def display_name(self, display_name): + """Sets the display_name of this ProductPurchaseProduct. + + + :param display_name: The display_name of this ProductPurchaseProduct. # noqa: E501 + :type display_name: str + """ + if self.local_vars_configuration.client_side_validation and display_name is None: # noqa: E501 + raise ValueError("Invalid value for `display_name`, must not be `None`") # noqa: E501 + + self._display_name = display_name + + @property + def id(self): + """Gets the id of this ProductPurchaseProduct. # noqa: E501 + + + :return: The id of this ProductPurchaseProduct. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this ProductPurchaseProduct. + + + :param id: The id of this ProductPurchaseProduct. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + + self._id = id + + @property + def image_id(self): + """Gets the image_id of this ProductPurchaseProduct. # noqa: E501 + + + :return: The image_id of this ProductPurchaseProduct. # noqa: E501 + :rtype: str + """ + return self._image_id + + @image_id.setter + def image_id(self, image_id): + """Sets the image_id of this ProductPurchaseProduct. + + + :param image_id: The image_id of this ProductPurchaseProduct. # noqa: E501 + :type image_id: str + """ + + self._image_id = image_id + + @property + def license_id(self): + """Gets the license_id of this ProductPurchaseProduct. # noqa: E501 + + + :return: The license_id of this ProductPurchaseProduct. # noqa: E501 + :rtype: str + """ + return self._license_id + + @license_id.setter + def license_id(self, license_id): + """Sets the license_id of this ProductPurchaseProduct. + + + :param license_id: The license_id of this ProductPurchaseProduct. # noqa: E501 + :type license_id: str + """ + + self._license_id = license_id + + @property + def product_type(self): + """Gets the product_type of this ProductPurchaseProduct. # noqa: E501 + + + :return: The product_type of this ProductPurchaseProduct. # noqa: E501 + :rtype: ProductType + """ + return self._product_type + + @product_type.setter + def product_type(self, product_type): + """Sets the product_type of this ProductPurchaseProduct. + + + :param product_type: The product_type of this ProductPurchaseProduct. # noqa: E501 + :type product_type: ProductType + """ + if self.local_vars_configuration.client_side_validation and product_type is None: # noqa: E501 + raise ValueError("Invalid value for `product_type`, must not be `None`") # noqa: E501 + + self._product_type = product_type + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ProductPurchaseProduct): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ProductPurchaseProduct): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/product_purchase_purchase_context.py b/vrchatapi/models/product_purchase_purchase_context.py index 3d6faae8..55ff4b9c 100644 --- a/vrchatapi/models/product_purchase_purchase_context.py +++ b/vrchatapi/models/product_purchase_purchase_context.py @@ -36,24 +36,34 @@ class ProductPurchasePurchaseContext(object): and the value is json key in definition. """ openapi_types = { - 'location_type': 'str' + 'location_type': 'str', + 'world_id': 'str', + 'world_name': 'str' } attribute_map = { - 'location_type': 'locationType' + 'location_type': 'locationType', + 'world_id': 'worldId', + 'world_name': 'worldName' } - def __init__(self, location_type=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, location_type=None, world_id=None, world_name=None, local_vars_configuration=None): # noqa: E501 """ProductPurchasePurchaseContext - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._location_type = None + self._world_id = None + self._world_name = None self.discriminator = None if location_type is not None: self.location_type = location_type + if world_id is not None: + self.world_id = world_id + if world_name is not None: + self.world_name = world_name @property def location_type(self): @@ -76,6 +86,50 @@ def location_type(self, location_type): self._location_type = location_type + @property + def world_id(self): + """Gets the world_id of this ProductPurchasePurchaseContext. # noqa: E501 + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :return: The world_id of this ProductPurchasePurchaseContext. # noqa: E501 + :rtype: str + """ + return self._world_id + + @world_id.setter + def world_id(self, world_id): + """Sets the world_id of this ProductPurchasePurchaseContext. + + WorldID be \"offline\" on User profiles if you are not friends with that user. # noqa: E501 + + :param world_id: The world_id of this ProductPurchasePurchaseContext. # noqa: E501 + :type world_id: str + """ + + self._world_id = world_id + + @property + def world_name(self): + """Gets the world_name of this ProductPurchasePurchaseContext. # noqa: E501 + + + :return: The world_name of this ProductPurchasePurchaseContext. # noqa: E501 + :rtype: str + """ + return self._world_name + + @world_name.setter + def world_name(self, world_name): + """Sets the world_name of this ProductPurchasePurchaseContext. + + + :param world_name: The world_name of this ProductPurchasePurchaseContext. # noqa: E501 + :type world_name: str + """ + + self._world_name = world_name + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/vrchatapi/models/store.py b/vrchatapi/models/store.py index df43cf3d..e5c5335f 100644 --- a/vrchatapi/models/store.py +++ b/vrchatapi/models/store.py @@ -36,6 +36,7 @@ class Store(object): and the value is json key in definition. """ openapi_types = { + 'created': 'datetime', 'description': 'str', 'display_name': 'str', 'group_id': 'str', @@ -46,13 +47,17 @@ class Store(object): 'seller_id': 'str', 'shelf_ids': 'list[str]', 'shelves': 'list[StoreShelf]', + 'store_context': 'StoreContext', 'store_id': 'str', + 'store_status': 'str', 'store_type': 'StoreType', 'tags': 'list[str]', + 'updated': 'datetime', 'world_id': 'str' } attribute_map = { + 'created': 'created', 'description': 'description', 'display_name': 'displayName', 'group_id': 'groupId', @@ -63,18 +68,22 @@ class Store(object): 'seller_id': 'sellerId', 'shelf_ids': 'shelfIds', 'shelves': 'shelves', + 'store_context': 'storeContext', 'store_id': 'storeId', + 'store_status': 'storeStatus', 'store_type': 'storeType', 'tags': 'tags', + 'updated': 'updated', 'world_id': 'worldId' } - def __init__(self, description=None, display_name=None, group_id=None, id=None, listing_ids=None, listings=None, seller_display_name=None, seller_id=None, shelf_ids=None, shelves=None, store_id=None, store_type=None, tags=None, world_id=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, created=None, description=None, display_name=None, group_id=None, id=None, listing_ids=None, listings=None, seller_display_name=None, seller_id=None, shelf_ids=None, shelves=None, store_context=None, store_id=None, store_status=None, store_type=None, tags=None, updated=None, world_id=None, local_vars_configuration=None): # noqa: E501 """Store - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration + self._created = None self._description = None self._display_name = None self._group_id = None @@ -85,12 +94,17 @@ def __init__(self, description=None, display_name=None, group_id=None, id=None, self._seller_id = None self._shelf_ids = None self._shelves = None + self._store_context = None self._store_id = None + self._store_status = None self._store_type = None self._tags = None + self._updated = None self._world_id = None self.discriminator = None + if created is not None: + self.created = created self.description = description self.display_name = display_name if group_id is not None: @@ -106,12 +120,39 @@ def __init__(self, description=None, display_name=None, group_id=None, id=None, self.shelf_ids = shelf_ids if shelves is not None: self.shelves = shelves + if store_context is not None: + self.store_context = store_context self.store_id = store_id + if store_status is not None: + self.store_status = store_status self.store_type = store_type self.tags = tags + if updated is not None: + self.updated = updated if world_id is not None: self.world_id = world_id + @property + def created(self): + """Gets the created of this Store. # noqa: E501 + + + :return: The created of this Store. # noqa: E501 + :rtype: datetime + """ + return self._created + + @created.setter + def created(self, created): + """Sets the created of this Store. + + + :param created: The created of this Store. # noqa: E501 + :type created: datetime + """ + + self._created = created + @property def description(self): """Gets the description of this Store. # noqa: E501 @@ -342,6 +383,27 @@ def shelves(self, shelves): self._shelves = shelves + @property + def store_context(self): + """Gets the store_context of this Store. # noqa: E501 + + + :return: The store_context of this Store. # noqa: E501 + :rtype: StoreContext + """ + return self._store_context + + @store_context.setter + def store_context(self, store_context): + """Sets the store_context of this Store. + + + :param store_context: The store_context of this Store. # noqa: E501 + :type store_context: StoreContext + """ + + self._store_context = store_context + @property def store_id(self): """Gets the store_id of this Store. # noqa: E501 @@ -365,6 +427,27 @@ def store_id(self, store_id): self._store_id = store_id + @property + def store_status(self): + """Gets the store_status of this Store. # noqa: E501 + + + :return: The store_status of this Store. # noqa: E501 + :rtype: str + """ + return self._store_status + + @store_status.setter + def store_status(self, store_status): + """Sets the store_status of this Store. + + + :param store_status: The store_status of this Store. # noqa: E501 + :type store_status: str + """ + + self._store_status = store_status + @property def store_type(self): """Gets the store_type of this Store. # noqa: E501 @@ -411,6 +494,27 @@ def tags(self, tags): self._tags = tags + @property + def updated(self): + """Gets the updated of this Store. # noqa: E501 + + + :return: The updated of this Store. # noqa: E501 + :rtype: datetime + """ + return self._updated + + @updated.setter + def updated(self, updated): + """Sets the updated of this Store. + + + :param updated: The updated of this Store. # noqa: E501 + :type updated: datetime + """ + + self._updated = updated + @property def world_id(self): """Gets the world_id of this Store. # noqa: E501 diff --git a/vrchatapi/models/store_context.py b/vrchatapi/models/store_context.py new file mode 100644 index 00000000..26635289 --- /dev/null +++ b/vrchatapi/models/store_context.py @@ -0,0 +1,184 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.7 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class StoreContext(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'id': 'str', + 'image_url': 'str', + 'name': 'str' + } + + attribute_map = { + 'id': 'id', + 'image_url': 'imageUrl', + 'name': 'name' + } + + def __init__(self, id=None, image_url=None, name=None, local_vars_configuration=None): # noqa: E501 + """StoreContext - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._id = None + self._image_url = None + self._name = None + self.discriminator = None + + self.id = id + self.image_url = image_url + self.name = name + + @property + def id(self): + """Gets the id of this StoreContext. # noqa: E501 + + + :return: The id of this StoreContext. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this StoreContext. + + + :param id: The id of this StoreContext. # noqa: E501 + :type id: str + """ + if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501 + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + + self._id = id + + @property + def image_url(self): + """Gets the image_url of this StoreContext. # noqa: E501 + + + :return: The image_url of this StoreContext. # noqa: E501 + :rtype: str + """ + return self._image_url + + @image_url.setter + def image_url(self, image_url): + """Sets the image_url of this StoreContext. + + + :param image_url: The image_url of this StoreContext. # noqa: E501 + :type image_url: str + """ + + self._image_url = image_url + + @property + def name(self): + """Gets the name of this StoreContext. # noqa: E501 + + + :return: The name of this StoreContext. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this StoreContext. + + + :param name: The name of this StoreContext. # noqa: E501 + :type name: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, StoreContext): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, StoreContext): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/tilia_kyc.py b/vrchatapi/models/tilia_kyc.py new file mode 100644 index 00000000..c39be3f2 --- /dev/null +++ b/vrchatapi/models/tilia_kyc.py @@ -0,0 +1,337 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.7 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class TiliaKyc(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'account_id': 'str', + 'kyc_id': 'str', + 'kyc_requirements': 'str', + 'match_checks': 'list[str]', + 'pii_level': 'str', + 'rules': 'list[str]', + 'state': 'str', + 'tilia_retry_rule_code': 'str' + } + + attribute_map = { + 'account_id': 'account_id', + 'kyc_id': 'kyc_id', + 'kyc_requirements': 'kyc_requirements', + 'match_checks': 'match_checks', + 'pii_level': 'pii_level', + 'rules': 'rules', + 'state': 'state', + 'tilia_retry_rule_code': 'tilia_retry_rule_code' + } + + def __init__(self, account_id=None, kyc_id=None, kyc_requirements=None, match_checks=None, pii_level=None, rules=None, state=None, tilia_retry_rule_code=None, local_vars_configuration=None): # noqa: E501 + """TiliaKyc - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._account_id = None + self._kyc_id = None + self._kyc_requirements = None + self._match_checks = None + self._pii_level = None + self._rules = None + self._state = None + self._tilia_retry_rule_code = None + self.discriminator = None + + self.account_id = account_id + self.kyc_id = kyc_id + self.kyc_requirements = kyc_requirements + self.match_checks = match_checks + self.pii_level = pii_level + self.rules = rules + self.state = state + self.tilia_retry_rule_code = tilia_retry_rule_code + + @property + def account_id(self): + """Gets the account_id of this TiliaKyc. # noqa: E501 + + Tilia account identifier. # noqa: E501 + + :return: The account_id of this TiliaKyc. # noqa: E501 + :rtype: str + """ + return self._account_id + + @account_id.setter + def account_id(self, account_id): + """Sets the account_id of this TiliaKyc. + + Tilia account identifier. # noqa: E501 + + :param account_id: The account_id of this TiliaKyc. # noqa: E501 + :type account_id: str + """ + if self.local_vars_configuration.client_side_validation and account_id is None: # noqa: E501 + raise ValueError("Invalid value for `account_id`, must not be `None`") # noqa: E501 + + self._account_id = account_id + + @property + def kyc_id(self): + """Gets the kyc_id of this TiliaKyc. # noqa: E501 + + KYC verification identifier. # noqa: E501 + + :return: The kyc_id of this TiliaKyc. # noqa: E501 + :rtype: str + """ + return self._kyc_id + + @kyc_id.setter + def kyc_id(self, kyc_id): + """Sets the kyc_id of this TiliaKyc. + + KYC verification identifier. # noqa: E501 + + :param kyc_id: The kyc_id of this TiliaKyc. # noqa: E501 + :type kyc_id: str + """ + if self.local_vars_configuration.client_side_validation and kyc_id is None: # noqa: E501 + raise ValueError("Invalid value for `kyc_id`, must not be `None`") # noqa: E501 + + self._kyc_id = kyc_id + + @property + def kyc_requirements(self): + """Gets the kyc_requirements of this TiliaKyc. # noqa: E501 + + Requirement state reported by Tilia. # noqa: E501 + + :return: The kyc_requirements of this TiliaKyc. # noqa: E501 + :rtype: str + """ + return self._kyc_requirements + + @kyc_requirements.setter + def kyc_requirements(self, kyc_requirements): + """Sets the kyc_requirements of this TiliaKyc. + + Requirement state reported by Tilia. # noqa: E501 + + :param kyc_requirements: The kyc_requirements of this TiliaKyc. # noqa: E501 + :type kyc_requirements: str + """ + if self.local_vars_configuration.client_side_validation and kyc_requirements is None: # noqa: E501 + raise ValueError("Invalid value for `kyc_requirements`, must not be `None`") # noqa: E501 + + self._kyc_requirements = kyc_requirements + + @property + def match_checks(self): + """Gets the match_checks of this TiliaKyc. # noqa: E501 + + Match checks returned by Tilia. # noqa: E501 + + :return: The match_checks of this TiliaKyc. # noqa: E501 + :rtype: list[str] + """ + return self._match_checks + + @match_checks.setter + def match_checks(self, match_checks): + """Sets the match_checks of this TiliaKyc. + + Match checks returned by Tilia. # noqa: E501 + + :param match_checks: The match_checks of this TiliaKyc. # noqa: E501 + :type match_checks: list[str] + """ + if self.local_vars_configuration.client_side_validation and match_checks is None: # noqa: E501 + raise ValueError("Invalid value for `match_checks`, must not be `None`") # noqa: E501 + + self._match_checks = match_checks + + @property + def pii_level(self): + """Gets the pii_level of this TiliaKyc. # noqa: E501 + + PII verification level. # noqa: E501 + + :return: The pii_level of this TiliaKyc. # noqa: E501 + :rtype: str + """ + return self._pii_level + + @pii_level.setter + def pii_level(self, pii_level): + """Sets the pii_level of this TiliaKyc. + + PII verification level. # noqa: E501 + + :param pii_level: The pii_level of this TiliaKyc. # noqa: E501 + :type pii_level: str + """ + if self.local_vars_configuration.client_side_validation and pii_level is None: # noqa: E501 + raise ValueError("Invalid value for `pii_level`, must not be `None`") # noqa: E501 + + self._pii_level = pii_level + + @property + def rules(self): + """Gets the rules of this TiliaKyc. # noqa: E501 + + Additional rules returned by Tilia. # noqa: E501 + + :return: The rules of this TiliaKyc. # noqa: E501 + :rtype: list[str] + """ + return self._rules + + @rules.setter + def rules(self, rules): + """Sets the rules of this TiliaKyc. + + Additional rules returned by Tilia. # noqa: E501 + + :param rules: The rules of this TiliaKyc. # noqa: E501 + :type rules: list[str] + """ + if self.local_vars_configuration.client_side_validation and rules is None: # noqa: E501 + raise ValueError("Invalid value for `rules`, must not be `None`") # noqa: E501 + + self._rules = rules + + @property + def state(self): + """Gets the state of this TiliaKyc. # noqa: E501 + + Overall KYC state. # noqa: E501 + + :return: The state of this TiliaKyc. # noqa: E501 + :rtype: str + """ + return self._state + + @state.setter + def state(self, state): + """Sets the state of this TiliaKyc. + + Overall KYC state. # noqa: E501 + + :param state: The state of this TiliaKyc. # noqa: E501 + :type state: str + """ + if self.local_vars_configuration.client_side_validation and state is None: # noqa: E501 + raise ValueError("Invalid value for `state`, must not be `None`") # noqa: E501 + + self._state = state + + @property + def tilia_retry_rule_code(self): + """Gets the tilia_retry_rule_code of this TiliaKyc. # noqa: E501 + + Retry rule code returned by Tilia, if any. # noqa: E501 + + :return: The tilia_retry_rule_code of this TiliaKyc. # noqa: E501 + :rtype: str + """ + return self._tilia_retry_rule_code + + @tilia_retry_rule_code.setter + def tilia_retry_rule_code(self, tilia_retry_rule_code): + """Sets the tilia_retry_rule_code of this TiliaKyc. + + Retry rule code returned by Tilia, if any. # noqa: E501 + + :param tilia_retry_rule_code: The tilia_retry_rule_code of this TiliaKyc. # noqa: E501 + :type tilia_retry_rule_code: str + """ + if self.local_vars_configuration.client_side_validation and tilia_retry_rule_code is None: # noqa: E501 + raise ValueError("Invalid value for `tilia_retry_rule_code`, must not be `None`") # noqa: E501 + + self._tilia_retry_rule_code = tilia_retry_rule_code + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, TiliaKyc): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, TiliaKyc): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/update_listing_request.py b/vrchatapi/models/update_listing_request.py new file mode 100644 index 00000000..ad94ef72 --- /dev/null +++ b/vrchatapi/models/update_listing_request.py @@ -0,0 +1,132 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.7 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class UpdateListingRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'active': 'bool' + } + + attribute_map = { + 'active': 'active' + } + + def __init__(self, active=None, local_vars_configuration=None): # noqa: E501 + """UpdateListingRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._active = None + self.discriminator = None + + self.active = active + + @property + def active(self): + """Gets the active of this UpdateListingRequest. # noqa: E501 + + + :return: The active of this UpdateListingRequest. # noqa: E501 + :rtype: bool + """ + return self._active + + @active.setter + def active(self, active): + """Sets the active of this UpdateListingRequest. + + + :param active: The active of this UpdateListingRequest. # noqa: E501 + :type active: bool + """ + if self.local_vars_configuration.client_side_validation and active is None: # noqa: E501 + raise ValueError("Invalid value for `active`, must not be `None`") # noqa: E501 + + self._active = active + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, UpdateListingRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, UpdateListingRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/update_product_request.py b/vrchatapi/models/update_product_request.py new file mode 100644 index 00000000..364250a2 --- /dev/null +++ b/vrchatapi/models/update_product_request.py @@ -0,0 +1,235 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.7 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class UpdateProductRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'description': 'str', + 'display_name': 'str', + 'image_id': 'str', + 'tags': 'list[str]', + 'use_for_subscriber_list': 'bool' + } + + attribute_map = { + 'description': 'description', + 'display_name': 'displayName', + 'image_id': 'imageId', + 'tags': 'tags', + 'use_for_subscriber_list': 'useForSubscriberList' + } + + def __init__(self, description=None, display_name=None, image_id=None, tags=None, use_for_subscriber_list=None, local_vars_configuration=None): # noqa: E501 + """UpdateProductRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._description = None + self._display_name = None + self._image_id = None + self._tags = None + self._use_for_subscriber_list = None + self.discriminator = None + + if description is not None: + self.description = description + if display_name is not None: + self.display_name = display_name + if image_id is not None: + self.image_id = image_id + if tags is not None: + self.tags = tags + if use_for_subscriber_list is not None: + self.use_for_subscriber_list = use_for_subscriber_list + + @property + def description(self): + """Gets the description of this UpdateProductRequest. # noqa: E501 + + + :return: The description of this UpdateProductRequest. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this UpdateProductRequest. + + + :param description: The description of this UpdateProductRequest. # noqa: E501 + :type description: str + """ + + self._description = description + + @property + def display_name(self): + """Gets the display_name of this UpdateProductRequest. # noqa: E501 + + + :return: The display_name of this UpdateProductRequest. # noqa: E501 + :rtype: str + """ + return self._display_name + + @display_name.setter + def display_name(self, display_name): + """Sets the display_name of this UpdateProductRequest. + + + :param display_name: The display_name of this UpdateProductRequest. # noqa: E501 + :type display_name: str + """ + + self._display_name = display_name + + @property + def image_id(self): + """Gets the image_id of this UpdateProductRequest. # noqa: E501 + + + :return: The image_id of this UpdateProductRequest. # noqa: E501 + :rtype: str + """ + return self._image_id + + @image_id.setter + def image_id(self, image_id): + """Sets the image_id of this UpdateProductRequest. + + + :param image_id: The image_id of this UpdateProductRequest. # noqa: E501 + :type image_id: str + """ + + self._image_id = image_id + + @property + def tags(self): + """Gets the tags of this UpdateProductRequest. # noqa: E501 + + + :return: The tags of this UpdateProductRequest. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this UpdateProductRequest. + + + :param tags: The tags of this UpdateProductRequest. # noqa: E501 + :type tags: list[str] + """ + + self._tags = tags + + @property + def use_for_subscriber_list(self): + """Gets the use_for_subscriber_list of this UpdateProductRequest. # noqa: E501 + + + :return: The use_for_subscriber_list of this UpdateProductRequest. # noqa: E501 + :rtype: bool + """ + return self._use_for_subscriber_list + + @use_for_subscriber_list.setter + def use_for_subscriber_list(self, use_for_subscriber_list): + """Sets the use_for_subscriber_list of this UpdateProductRequest. + + + :param use_for_subscriber_list: The use_for_subscriber_list of this UpdateProductRequest. # noqa: E501 + :type use_for_subscriber_list: bool + """ + + self._use_for_subscriber_list = use_for_subscriber_list + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, UpdateProductRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, UpdateProductRequest): + return True + + return self.to_dict() != other.to_dict() From 8cd562e7caeff7731069ebfe7bd5d92c24e2385a Mon Sep 17 00:00:00 2001 From: ariesclark Date: Mon, 6 Apr 2026 09:35:05 +0000 Subject: [PATCH 100/102] Upgrade Python SDK to spec 1.20.8.dev13 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 13198fca..b09a328b 100644 --- a/setup.py +++ b/setup.py @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.20.8.dev12" +VERSION = "1.20.8.dev13" # To install the library, run the following # # python setup.py install From 1b0e98e6fa1d5724fdff1ebdca4e9c978dd79112 Mon Sep 17 00:00:00 2001 From: ariesclark Date: Sat, 18 Apr 2026 08:40:58 +0000 Subject: [PATCH 101/102] Upgrade Python SDK to spec 1.20.8.dev14 --- package-lock.json | 50 +++++++++++++-------------- package.json | 2 +- setup.py | 2 +- vrchatapi/models/group_permissions.py | 3 +- 4 files changed, 29 insertions(+), 28 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4eba58b6..cb4996a0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.31.0" + "@openapitools/openapi-generator-cli": "^2.31.1" } }, "node_modules/@borewit/text-codec": { @@ -113,15 +113,15 @@ } }, "node_modules/@nestjs/core": { - "version": "11.1.17", - "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-11.1.17.tgz", - "integrity": "sha512-lD5mAYekTTurF3vDaa8C2OKPnjiz4tsfxIc5XlcSUzOhkwWf6Ay3HKvt6FmvuWQam6uIIHX52Clg+e6tAvf/cg==", + "version": "11.1.18", + "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-11.1.18.tgz", + "integrity": "sha512-wR3DtGyk/LUAiPtbXDuWJJwVkWElKBY0sqnTzf9d4uM3+X18FRZhK7WFc47czsIGOdWuRsMeLYV+1Z9dO4zDEQ==", "hasInstallScript": true, "dependencies": { "@nuxt/opencollective": "0.4.1", "fast-safe-stringify": "2.1.1", "iterare": "1.2.1", - "path-to-regexp": "8.3.0", + "path-to-regexp": "8.4.2", "tslib": "2.8.1", "uid": "2.0.2" }, @@ -190,17 +190,17 @@ "integrity": "sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw==" }, "node_modules/@openapitools/openapi-generator-cli": { - "version": "2.31.0", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.31.0.tgz", - "integrity": "sha512-sd+VIr5vx4PSknJLzh9thyRC8pw0r8ayCB4xH4G383BRClc3uFxIIz5EkBVndOumRsvPDip4wbszf5RRtxbmGA==", + "version": "2.31.1", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.31.1.tgz", + "integrity": "sha512-dPE+COjNLLTHFQ1lddUvpo+J8YQB1RD3/NVRJ3K+1hPZnyuxCURgOCmr7mXgHEyHmzWH8dKXWm/pD170iVR0vw==", "hasInstallScript": true, "dependencies": { "@inquirer/select": "1.3.3", "@nestjs/axios": "4.0.1", "@nestjs/common": "11.1.17", - "@nestjs/core": "11.1.17", + "@nestjs/core": "11.1.18", "@nuxtjs/opencollective": "0.3.2", - "axios": "^1.13.6", + "axios": "^1.14.0", "chalk": "4.1.2", "commander": "8.3.0", "compare-versions": "6.1.1", @@ -1212,9 +1212,9 @@ } }, "node_modules/path-to-regexp": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.3.0.tgz", - "integrity": "sha512-7jdwVIRtsP8MYpdXSwOS0YdD0Du+qOoF/AEPIt88PcCFrZCzx41oxku1jD88hZBwbNUIEfpqvuhjFaMAqMTWnA==", + "version": "8.4.2", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.4.2.tgz", + "integrity": "sha512-qRcuIdP69NPm4qbACK+aDogI5CBDMi1jKe0ry5rSQJz8JVLsC7jV8XpiJjGRLLol3N+R5ihGYcrPLTno6pAdBA==", "funding": { "type": "opencollective", "url": "https://opencollective.com/express" @@ -1620,14 +1620,14 @@ } }, "@nestjs/core": { - "version": "11.1.17", - "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-11.1.17.tgz", - "integrity": "sha512-lD5mAYekTTurF3vDaa8C2OKPnjiz4tsfxIc5XlcSUzOhkwWf6Ay3HKvt6FmvuWQam6uIIHX52Clg+e6tAvf/cg==", + "version": "11.1.18", + "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-11.1.18.tgz", + "integrity": "sha512-wR3DtGyk/LUAiPtbXDuWJJwVkWElKBY0sqnTzf9d4uM3+X18FRZhK7WFc47czsIGOdWuRsMeLYV+1Z9dO4zDEQ==", "requires": { "@nuxt/opencollective": "0.4.1", "fast-safe-stringify": "2.1.1", "iterare": "1.2.1", - "path-to-regexp": "8.3.0", + "path-to-regexp": "8.4.2", "tslib": "2.8.1", "uid": "2.0.2" } @@ -1658,16 +1658,16 @@ } }, "@openapitools/openapi-generator-cli": { - "version": "2.31.0", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.31.0.tgz", - "integrity": "sha512-sd+VIr5vx4PSknJLzh9thyRC8pw0r8ayCB4xH4G383BRClc3uFxIIz5EkBVndOumRsvPDip4wbszf5RRtxbmGA==", + "version": "2.31.1", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.31.1.tgz", + "integrity": "sha512-dPE+COjNLLTHFQ1lddUvpo+J8YQB1RD3/NVRJ3K+1hPZnyuxCURgOCmr7mXgHEyHmzWH8dKXWm/pD170iVR0vw==", "requires": { "@inquirer/select": "1.3.3", "@nestjs/axios": "4.0.1", "@nestjs/common": "11.1.17", - "@nestjs/core": "11.1.17", + "@nestjs/core": "11.1.18", "@nuxtjs/opencollective": "0.3.2", - "axios": "^1.13.6", + "axios": "^1.14.0", "chalk": "4.1.2", "commander": "8.3.0", "compare-versions": "6.1.1", @@ -2340,9 +2340,9 @@ } }, "path-to-regexp": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.3.0.tgz", - "integrity": "sha512-7jdwVIRtsP8MYpdXSwOS0YdD0Du+qOoF/AEPIt88PcCFrZCzx41oxku1jD88hZBwbNUIEfpqvuhjFaMAqMTWnA==" + "version": "8.4.2", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.4.2.tgz", + "integrity": "sha512-qRcuIdP69NPm4qbACK+aDogI5CBDMi1jKe0ry5rSQJz8JVLsC7jV8XpiJjGRLLol3N+R5ihGYcrPLTno6pAdBA==" }, "proxy-agent": { "version": "6.5.0", diff --git a/package.json b/package.json index 2dc9613e..65c74ad8 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.31.0" + "@openapitools/openapi-generator-cli": "^2.31.1" } } diff --git a/setup.py b/setup.py index b09a328b..327ce918 100644 --- a/setup.py +++ b/setup.py @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.20.8.dev13" +VERSION = "1.20.8.dev14" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/models/group_permissions.py b/vrchatapi/models/group_permissions.py index 3ac41348..16dffbb8 100644 --- a/vrchatapi/models/group_permissions.py +++ b/vrchatapi/models/group_permissions.py @@ -41,6 +41,7 @@ class GroupPermissions(object): group_galleries_manage = "group-galleries-manage" group_instance_age_gated_create = "group-instance-age-gated-create" group_instance_announcement_create = "group-instance-announcement-create" + group_instance_bypass_avatar_performance = "group-instance-bypass-avatar-performance" group_instance_calendar_link = "group-instance-calendar-link" group_instance_join = "group-instance-join" group_instance_manage = "group-instance-manage" @@ -59,7 +60,7 @@ class GroupPermissions(object): group_roles_assign = "group-roles-assign" group_roles_manage = "group-roles-manage" - allowable_values = [group_all, group_announcement_manage, group_audit_view, group_bans_manage, group_calendar_manage, group_data_manage, group_default_role_manage, group_galleries_manage, group_instance_age_gated_create, group_instance_announcement_create, group_instance_calendar_link, group_instance_join, group_instance_manage, group_instance_moderate, group_instance_open_create, group_instance_plus_create, group_instance_plus_portal, group_instance_plus_portal_unlocked, group_instance_public_create, group_instance_queue_priority, group_instance_restricted_create, group_invites_manage, group_members_manage, group_members_remove, group_members_viewall, group_roles_assign, group_roles_manage] # noqa: E501 + allowable_values = [group_all, group_announcement_manage, group_audit_view, group_bans_manage, group_calendar_manage, group_data_manage, group_default_role_manage, group_galleries_manage, group_instance_age_gated_create, group_instance_announcement_create, group_instance_bypass_avatar_performance, group_instance_calendar_link, group_instance_join, group_instance_manage, group_instance_moderate, group_instance_open_create, group_instance_plus_create, group_instance_plus_portal, group_instance_plus_portal_unlocked, group_instance_public_create, group_instance_queue_priority, group_instance_restricted_create, group_invites_manage, group_members_manage, group_members_remove, group_members_viewall, group_roles_assign, group_roles_manage] # noqa: E501 """ Attributes: From 96969b9ba7a9a928fc47bbfabdcfd50a5431b30d Mon Sep 17 00:00:00 2001 From: ariesclark Date: Wed, 29 Apr 2026 06:56:00 +0000 Subject: [PATCH 102/102] Upgrade Python SDK to spec 1.20.8.dev15 --- .openapi-generator/FILES | 12 + docs/CalendarDayOfWeek.md | 11 + docs/CalendarEvent.md | 4 +- docs/CalendarEventFrequency.md | 11 + docs/CalendarEventOccurrenceKind.md | 11 + docs/CalendarEventRecurrence.md | 16 ++ docs/CalendarEventRecurrenceEnd.md | 14 + docs/CalendarEventRecurrenceEndType.md | 11 + docs/CreateCalendarEventRequest.md | 2 + docs/UpdateCalendarEventRequest.md | 1 + package-lock.json | 30 +-- package.json | 2 +- setup.py | 2 +- vrchatapi/__init__.py | 6 + vrchatapi/models/__init__.py | 6 + vrchatapi/models/calendar_day_of_week.py | 116 ++++++++ vrchatapi/models/calendar_event.py | 16 +- vrchatapi/models/calendar_event_frequency.py | 113 ++++++++ .../models/calendar_event_occurrence_kind.py | 112 ++++++++ vrchatapi/models/calendar_event_recurrence.py | 247 ++++++++++++++++++ .../models/calendar_event_recurrence_end.py | 191 ++++++++++++++ .../calendar_event_recurrence_end_type.py | 111 ++++++++ .../models/create_calendar_event_request.py | 53 +++- .../models/update_calendar_event_request.py | 27 +- 24 files changed, 1094 insertions(+), 31 deletions(-) create mode 100644 docs/CalendarDayOfWeek.md create mode 100644 docs/CalendarEventFrequency.md create mode 100644 docs/CalendarEventOccurrenceKind.md create mode 100644 docs/CalendarEventRecurrence.md create mode 100644 docs/CalendarEventRecurrenceEnd.md create mode 100644 docs/CalendarEventRecurrenceEndType.md create mode 100644 vrchatapi/models/calendar_day_of_week.py create mode 100644 vrchatapi/models/calendar_event_frequency.py create mode 100644 vrchatapi/models/calendar_event_occurrence_kind.py create mode 100644 vrchatapi/models/calendar_event_recurrence.py create mode 100644 vrchatapi/models/calendar_event_recurrence_end.py create mode 100644 vrchatapi/models/calendar_event_recurrence_end_type.py diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 850e8749..3733abb5 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -44,13 +44,19 @@ docs/Balance.md docs/BanGroupMemberRequest.md docs/BoopRequest.md docs/CalendarApi.md +docs/CalendarDayOfWeek.md docs/CalendarEvent.md docs/CalendarEventAccess.md docs/CalendarEventCategory.md docs/CalendarEventDiscovery.md docs/CalendarEventDiscoveryInclusion.md docs/CalendarEventDiscoveryScope.md +docs/CalendarEventFrequency.md +docs/CalendarEventOccurrenceKind.md docs/CalendarEventPlatform.md +docs/CalendarEventRecurrence.md +docs/CalendarEventRecurrenceEnd.md +docs/CalendarEventRecurrenceEndType.md docs/CalendarEventUserInterest.md docs/ChangeUserTagsRequest.md docs/ChangeWorldTagsRequest.md @@ -409,13 +415,19 @@ vrchatapi/models/badge.py vrchatapi/models/balance.py vrchatapi/models/ban_group_member_request.py vrchatapi/models/boop_request.py +vrchatapi/models/calendar_day_of_week.py vrchatapi/models/calendar_event.py vrchatapi/models/calendar_event_access.py vrchatapi/models/calendar_event_category.py vrchatapi/models/calendar_event_discovery.py vrchatapi/models/calendar_event_discovery_inclusion.py vrchatapi/models/calendar_event_discovery_scope.py +vrchatapi/models/calendar_event_frequency.py +vrchatapi/models/calendar_event_occurrence_kind.py vrchatapi/models/calendar_event_platform.py +vrchatapi/models/calendar_event_recurrence.py +vrchatapi/models/calendar_event_recurrence_end.py +vrchatapi/models/calendar_event_recurrence_end_type.py vrchatapi/models/calendar_event_user_interest.py vrchatapi/models/change_user_tags_request.py vrchatapi/models/change_world_tags_request.py diff --git a/docs/CalendarDayOfWeek.md b/docs/CalendarDayOfWeek.md new file mode 100644 index 00000000..e600394a --- /dev/null +++ b/docs/CalendarDayOfWeek.md @@ -0,0 +1,11 @@ +# CalendarDayOfWeek + +The day of the week, used for recurring events. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CalendarEvent.md b/docs/CalendarEvent.md index 76e84173..ded0d962 100644 --- a/docs/CalendarEvent.md +++ b/docs/CalendarEvent.md @@ -22,10 +22,10 @@ Name | Type | Description | Notes **interested_user_count** | **int** | | [optional] **is_draft** | **bool** | | [optional] **languages** | **list[str]** | Languages that might be spoken at this event | [optional] -**occurrence_kind** | **str** | So far if it exists, always the string \"single\" | [optional] +**occurrence_kind** | [**CalendarEventOccurrenceKind**](CalendarEventOccurrenceKind.md) | | [optional] **owner_id** | **str** | | [optional] **platforms** | [**list[CalendarEventPlatform]**](CalendarEventPlatform.md) | | [optional] -**recurrence** | **str** | So far unused, always \"null\" | [optional] +**recurrence** | [**CalendarEventRecurrence**](CalendarEventRecurrence.md) | | [optional] **role_ids** | **list[str]** | Group roles that may join this event | [optional] **series_id** | **str** | So far unused, always \"null\" | [optional] **starts_at** | **datetime** | | diff --git a/docs/CalendarEventFrequency.md b/docs/CalendarEventFrequency.md new file mode 100644 index 00000000..42f78c89 --- /dev/null +++ b/docs/CalendarEventFrequency.md @@ -0,0 +1,11 @@ +# CalendarEventFrequency + +The time unit used to specify how often a recurring event occurs. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CalendarEventOccurrenceKind.md b/docs/CalendarEventOccurrenceKind.md new file mode 100644 index 00000000..e5b2878a --- /dev/null +++ b/docs/CalendarEventOccurrenceKind.md @@ -0,0 +1,11 @@ +# CalendarEventOccurrenceKind + +How an event occurs or recurs. \"single\" is a standalone event, \"series\" is a parent specification of a recurring series, and \"occurrence\" is an individual event in a series. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CalendarEventRecurrence.md b/docs/CalendarEventRecurrence.md new file mode 100644 index 00000000..1cf323bf --- /dev/null +++ b/docs/CalendarEventRecurrence.md @@ -0,0 +1,16 @@ +# CalendarEventRecurrence + +Details about how a recurring event will be scheduled. If the event is to be scheduled indefinitely, this will lack an \"end\" property. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**days_of_week** | [**list[CalendarDayOfWeek]**](CalendarDayOfWeek.md) | Which days of the week the event will be scheduled, only valid/present for \"weekly\" recurring events | [optional] +**end** | [**CalendarEventRecurrenceEnd**](CalendarEventRecurrenceEnd.md) | | [optional] +**frequency** | [**CalendarEventFrequency**](CalendarEventFrequency.md) | | +**interval** | **int** | How often the event will be scheduled, in units of \"frequency\" | +**timezone** | **str** | The timezone the event will be scheduled in, in Area/Location format | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CalendarEventRecurrenceEnd.md b/docs/CalendarEventRecurrenceEnd.md new file mode 100644 index 00000000..74c3e756 --- /dev/null +++ b/docs/CalendarEventRecurrenceEnd.md @@ -0,0 +1,14 @@ +# CalendarEventRecurrenceEnd + +Details about how a recurring event stops being scheduled + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**count** | **int** | Required for \"afterOccurrences\" - The number of times the event will be scheduled before it stops being scheduled | [optional] +**date** | **str** | Required for \"afterDate\" - The date and time after which the event will stop being scheduled, **without timezone or offset** | [optional] +**type** | [**CalendarEventRecurrenceEndType**](CalendarEventRecurrenceEndType.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CalendarEventRecurrenceEndType.md b/docs/CalendarEventRecurrenceEndType.md new file mode 100644 index 00000000..b81b27f6 --- /dev/null +++ b/docs/CalendarEventRecurrenceEndType.md @@ -0,0 +1,11 @@ +# CalendarEventRecurrenceEndType + +How a recurring event stops being scheduled + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CreateCalendarEventRequest.md b/docs/CreateCalendarEventRequest.md index 39ba73d2..e79167cf 100644 --- a/docs/CreateCalendarEventRequest.md +++ b/docs/CreateCalendarEventRequest.md @@ -15,8 +15,10 @@ Name | Type | Description | Notes **image_id** | **str** | | [optional] **is_draft** | **bool** | | [optional] **languages** | **list[str]** | | [optional] +**occurrence_kind** | [**CalendarEventOccurrenceKind**](CalendarEventOccurrenceKind.md) | | [optional] **parent_id** | **str** | | [optional] **platforms** | [**list[CalendarEventPlatform]**](CalendarEventPlatform.md) | | [optional] +**recurrence** | [**CalendarEventRecurrence**](CalendarEventRecurrence.md) | | [optional] **role_ids** | **list[str]** | | [optional] **send_creation_notification** | **bool** | Send notification to group members. | **starts_at** | **datetime** | Time the event starts at | diff --git a/docs/UpdateCalendarEventRequest.md b/docs/UpdateCalendarEventRequest.md index 0da224c5..073cf701 100644 --- a/docs/UpdateCalendarEventRequest.md +++ b/docs/UpdateCalendarEventRequest.md @@ -16,6 +16,7 @@ Name | Type | Description | Notes **languages** | **list[str]** | | [optional] **parent_id** | **str** | | [optional] **platforms** | **list[str]** | | [optional] +**recurrence** | [**CalendarEventRecurrence**](CalendarEventRecurrence.md) | | [optional] **role_ids** | **list[str]** | | [optional] **send_creation_notification** | **bool** | Send notification to group members. | [optional] [default to False] **starts_at** | **datetime** | Time the vent starts at | [optional] diff --git a/package-lock.json b/package-lock.json index cb4996a0..ac150d82 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.31.1" + "@openapitools/openapi-generator-cli": "^2.32.0" } }, "node_modules/@borewit/text-codec": { @@ -190,9 +190,9 @@ "integrity": "sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw==" }, "node_modules/@openapitools/openapi-generator-cli": { - "version": "2.31.1", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.31.1.tgz", - "integrity": "sha512-dPE+COjNLLTHFQ1lddUvpo+J8YQB1RD3/NVRJ3K+1hPZnyuxCURgOCmr7mXgHEyHmzWH8dKXWm/pD170iVR0vw==", + "version": "2.32.0", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.32.0.tgz", + "integrity": "sha512-9HZ3fp3cankdUC89UNsnW+HZFmRUadjjtqOvIIo6/D+bAVs+VJRqyhDy4rT4/cxqcLhXw40njs/vJLj21r60JA==", "hasInstallScript": true, "dependencies": { "@inquirer/select": "1.3.3", @@ -200,7 +200,7 @@ "@nestjs/common": "11.1.17", "@nestjs/core": "11.1.18", "@nuxtjs/opencollective": "0.3.2", - "axios": "^1.14.0", + "axios": "^1.15.0", "chalk": "4.1.2", "commander": "8.3.0", "compare-versions": "6.1.1", @@ -332,9 +332,9 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "node_modules/axios": { - "version": "1.14.0", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.14.0.tgz", - "integrity": "sha512-3Y8yrqLSwjuzpXuZ0oIYZ/XGgLwUIBU3uLvbcpb0pidD9ctpShJd43KSlEEkVQg6DS0G9NKyzOvBfUtDKEyHvQ==", + "version": "1.15.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.15.2.tgz", + "integrity": "sha512-wLrXxPtcrPTsNlJmKjkPnNPK2Ihe0hn0wGSaTEiHRPxwjvJwT3hKmXF4dpqxmPO9SoNb2FsYXj/xEo0gHN+D5A==", "dependencies": { "follow-redirects": "^1.15.11", "form-data": "^4.0.5", @@ -1658,16 +1658,16 @@ } }, "@openapitools/openapi-generator-cli": { - "version": "2.31.1", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.31.1.tgz", - "integrity": "sha512-dPE+COjNLLTHFQ1lddUvpo+J8YQB1RD3/NVRJ3K+1hPZnyuxCURgOCmr7mXgHEyHmzWH8dKXWm/pD170iVR0vw==", + "version": "2.32.0", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.32.0.tgz", + "integrity": "sha512-9HZ3fp3cankdUC89UNsnW+HZFmRUadjjtqOvIIo6/D+bAVs+VJRqyhDy4rT4/cxqcLhXw40njs/vJLj21r60JA==", "requires": { "@inquirer/select": "1.3.3", "@nestjs/axios": "4.0.1", "@nestjs/common": "11.1.17", "@nestjs/core": "11.1.18", "@nuxtjs/opencollective": "0.3.2", - "axios": "^1.14.0", + "axios": "^1.15.0", "chalk": "4.1.2", "commander": "8.3.0", "compare-versions": "6.1.1", @@ -1761,9 +1761,9 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "axios": { - "version": "1.14.0", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.14.0.tgz", - "integrity": "sha512-3Y8yrqLSwjuzpXuZ0oIYZ/XGgLwUIBU3uLvbcpb0pidD9ctpShJd43KSlEEkVQg6DS0G9NKyzOvBfUtDKEyHvQ==", + "version": "1.15.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.15.2.tgz", + "integrity": "sha512-wLrXxPtcrPTsNlJmKjkPnNPK2Ihe0hn0wGSaTEiHRPxwjvJwT3hKmXF4dpqxmPO9SoNb2FsYXj/xEo0gHN+D5A==", "requires": { "follow-redirects": "^1.15.11", "form-data": "^4.0.5", diff --git a/package.json b/package.json index 65c74ad8..cc432e00 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.31.1" + "@openapitools/openapi-generator-cli": "^2.32.0" } } diff --git a/setup.py b/setup.py index 327ce918..d88be410 100644 --- a/setup.py +++ b/setup.py @@ -92,7 +92,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "vrchatapi" -VERSION = "1.20.8.dev14" +VERSION = "1.20.8.dev15" # To install the library, run the following # # python setup.py install diff --git a/vrchatapi/__init__.py b/vrchatapi/__init__.py index 0f32b3d0..561070f8 100644 --- a/vrchatapi/__init__.py +++ b/vrchatapi/__init__.py @@ -89,13 +89,19 @@ from vrchatapi.models.balance import Balance from vrchatapi.models.ban_group_member_request import BanGroupMemberRequest from vrchatapi.models.boop_request import BoopRequest +from vrchatapi.models.calendar_day_of_week import CalendarDayOfWeek from vrchatapi.models.calendar_event import CalendarEvent from vrchatapi.models.calendar_event_access import CalendarEventAccess from vrchatapi.models.calendar_event_category import CalendarEventCategory from vrchatapi.models.calendar_event_discovery import CalendarEventDiscovery from vrchatapi.models.calendar_event_discovery_inclusion import CalendarEventDiscoveryInclusion from vrchatapi.models.calendar_event_discovery_scope import CalendarEventDiscoveryScope +from vrchatapi.models.calendar_event_frequency import CalendarEventFrequency +from vrchatapi.models.calendar_event_occurrence_kind import CalendarEventOccurrenceKind from vrchatapi.models.calendar_event_platform import CalendarEventPlatform +from vrchatapi.models.calendar_event_recurrence import CalendarEventRecurrence +from vrchatapi.models.calendar_event_recurrence_end import CalendarEventRecurrenceEnd +from vrchatapi.models.calendar_event_recurrence_end_type import CalendarEventRecurrenceEndType from vrchatapi.models.calendar_event_user_interest import CalendarEventUserInterest from vrchatapi.models.change_user_tags_request import ChangeUserTagsRequest from vrchatapi.models.change_world_tags_request import ChangeWorldTagsRequest diff --git a/vrchatapi/models/__init__.py b/vrchatapi/models/__init__.py index 007a7659..eab03d0c 100644 --- a/vrchatapi/models/__init__.py +++ b/vrchatapi/models/__init__.py @@ -56,13 +56,19 @@ from vrchatapi.models.balance import Balance from vrchatapi.models.ban_group_member_request import BanGroupMemberRequest from vrchatapi.models.boop_request import BoopRequest +from vrchatapi.models.calendar_day_of_week import CalendarDayOfWeek from vrchatapi.models.calendar_event import CalendarEvent from vrchatapi.models.calendar_event_access import CalendarEventAccess from vrchatapi.models.calendar_event_category import CalendarEventCategory from vrchatapi.models.calendar_event_discovery import CalendarEventDiscovery from vrchatapi.models.calendar_event_discovery_inclusion import CalendarEventDiscoveryInclusion from vrchatapi.models.calendar_event_discovery_scope import CalendarEventDiscoveryScope +from vrchatapi.models.calendar_event_frequency import CalendarEventFrequency +from vrchatapi.models.calendar_event_occurrence_kind import CalendarEventOccurrenceKind from vrchatapi.models.calendar_event_platform import CalendarEventPlatform +from vrchatapi.models.calendar_event_recurrence import CalendarEventRecurrence +from vrchatapi.models.calendar_event_recurrence_end import CalendarEventRecurrenceEnd +from vrchatapi.models.calendar_event_recurrence_end_type import CalendarEventRecurrenceEndType from vrchatapi.models.calendar_event_user_interest import CalendarEventUserInterest from vrchatapi.models.change_user_tags_request import ChangeUserTagsRequest from vrchatapi.models.change_world_tags_request import ChangeWorldTagsRequest diff --git a/vrchatapi/models/calendar_day_of_week.py b/vrchatapi/models/calendar_day_of_week.py new file mode 100644 index 00000000..e86ef7fb --- /dev/null +++ b/vrchatapi/models/calendar_day_of_week.py @@ -0,0 +1,116 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.7 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class CalendarDayOfWeek(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + FR = "FR" + MO = "MO" + SA = "SA" + SU = "SU" + TH = "TH" + TU = "TU" + WE = "WE" + + allowable_values = [FR, MO, SA, SU, TH, TU, WE] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """CalendarDayOfWeek - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CalendarDayOfWeek): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, CalendarDayOfWeek): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/calendar_event.py b/vrchatapi/models/calendar_event.py index c26ae43c..d5d03f3b 100644 --- a/vrchatapi/models/calendar_event.py +++ b/vrchatapi/models/calendar_event.py @@ -53,10 +53,10 @@ class CalendarEvent(object): 'interested_user_count': 'int', 'is_draft': 'bool', 'languages': 'list[str]', - 'occurrence_kind': 'str', + 'occurrence_kind': 'CalendarEventOccurrenceKind', 'owner_id': 'str', 'platforms': 'list[CalendarEventPlatform]', - 'recurrence': 'str', + 'recurrence': 'CalendarEventRecurrence', 'role_ids': 'list[str]', 'series_id': 'str', 'starts_at': 'datetime', @@ -561,10 +561,9 @@ def languages(self, languages): def occurrence_kind(self): """Gets the occurrence_kind of this CalendarEvent. # noqa: E501 - So far if it exists, always the string \"single\" # noqa: E501 :return: The occurrence_kind of this CalendarEvent. # noqa: E501 - :rtype: str + :rtype: CalendarEventOccurrenceKind """ return self._occurrence_kind @@ -572,10 +571,9 @@ def occurrence_kind(self): def occurrence_kind(self, occurrence_kind): """Sets the occurrence_kind of this CalendarEvent. - So far if it exists, always the string \"single\" # noqa: E501 :param occurrence_kind: The occurrence_kind of this CalendarEvent. # noqa: E501 - :type occurrence_kind: str + :type occurrence_kind: CalendarEventOccurrenceKind """ self._occurrence_kind = occurrence_kind @@ -626,10 +624,9 @@ def platforms(self, platforms): def recurrence(self): """Gets the recurrence of this CalendarEvent. # noqa: E501 - So far unused, always \"null\" # noqa: E501 :return: The recurrence of this CalendarEvent. # noqa: E501 - :rtype: str + :rtype: CalendarEventRecurrence """ return self._recurrence @@ -637,10 +634,9 @@ def recurrence(self): def recurrence(self, recurrence): """Sets the recurrence of this CalendarEvent. - So far unused, always \"null\" # noqa: E501 :param recurrence: The recurrence of this CalendarEvent. # noqa: E501 - :type recurrence: str + :type recurrence: CalendarEventRecurrence """ self._recurrence = recurrence diff --git a/vrchatapi/models/calendar_event_frequency.py b/vrchatapi/models/calendar_event_frequency.py new file mode 100644 index 00000000..93163cc8 --- /dev/null +++ b/vrchatapi/models/calendar_event_frequency.py @@ -0,0 +1,113 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.7 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class CalendarEventFrequency(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + DAILY = "daily" + MONTHLY = "monthly" + WEEKLY = "weekly" + YEARLY = "yearly" + + allowable_values = [DAILY, MONTHLY, WEEKLY, YEARLY] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """CalendarEventFrequency - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CalendarEventFrequency): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, CalendarEventFrequency): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/calendar_event_occurrence_kind.py b/vrchatapi/models/calendar_event_occurrence_kind.py new file mode 100644 index 00000000..01591ddd --- /dev/null +++ b/vrchatapi/models/calendar_event_occurrence_kind.py @@ -0,0 +1,112 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.7 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class CalendarEventOccurrenceKind(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + OCCURRENCE = "occurrence" + SERIES = "series" + SINGLE = "single" + + allowable_values = [OCCURRENCE, SERIES, SINGLE] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """CalendarEventOccurrenceKind - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CalendarEventOccurrenceKind): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, CalendarEventOccurrenceKind): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/calendar_event_recurrence.py b/vrchatapi/models/calendar_event_recurrence.py new file mode 100644 index 00000000..4db57178 --- /dev/null +++ b/vrchatapi/models/calendar_event_recurrence.py @@ -0,0 +1,247 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.7 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class CalendarEventRecurrence(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'days_of_week': 'list[CalendarDayOfWeek]', + 'end': 'CalendarEventRecurrenceEnd', + 'frequency': 'CalendarEventFrequency', + 'interval': 'int', + 'timezone': 'str' + } + + attribute_map = { + 'days_of_week': 'daysOfWeek', + 'end': 'end', + 'frequency': 'frequency', + 'interval': 'interval', + 'timezone': 'timezone' + } + + def __init__(self, days_of_week=None, end=None, frequency=None, interval=None, timezone=None, local_vars_configuration=None): # noqa: E501 + """CalendarEventRecurrence - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._days_of_week = None + self._end = None + self._frequency = None + self._interval = None + self._timezone = None + self.discriminator = None + + if days_of_week is not None: + self.days_of_week = days_of_week + if end is not None: + self.end = end + self.frequency = frequency + self.interval = interval + self.timezone = timezone + + @property + def days_of_week(self): + """Gets the days_of_week of this CalendarEventRecurrence. # noqa: E501 + + Which days of the week the event will be scheduled, only valid/present for \"weekly\" recurring events # noqa: E501 + + :return: The days_of_week of this CalendarEventRecurrence. # noqa: E501 + :rtype: list[CalendarDayOfWeek] + """ + return self._days_of_week + + @days_of_week.setter + def days_of_week(self, days_of_week): + """Sets the days_of_week of this CalendarEventRecurrence. + + Which days of the week the event will be scheduled, only valid/present for \"weekly\" recurring events # noqa: E501 + + :param days_of_week: The days_of_week of this CalendarEventRecurrence. # noqa: E501 + :type days_of_week: list[CalendarDayOfWeek] + """ + + self._days_of_week = days_of_week + + @property + def end(self): + """Gets the end of this CalendarEventRecurrence. # noqa: E501 + + + :return: The end of this CalendarEventRecurrence. # noqa: E501 + :rtype: CalendarEventRecurrenceEnd + """ + return self._end + + @end.setter + def end(self, end): + """Sets the end of this CalendarEventRecurrence. + + + :param end: The end of this CalendarEventRecurrence. # noqa: E501 + :type end: CalendarEventRecurrenceEnd + """ + + self._end = end + + @property + def frequency(self): + """Gets the frequency of this CalendarEventRecurrence. # noqa: E501 + + + :return: The frequency of this CalendarEventRecurrence. # noqa: E501 + :rtype: CalendarEventFrequency + """ + return self._frequency + + @frequency.setter + def frequency(self, frequency): + """Sets the frequency of this CalendarEventRecurrence. + + + :param frequency: The frequency of this CalendarEventRecurrence. # noqa: E501 + :type frequency: CalendarEventFrequency + """ + if self.local_vars_configuration.client_side_validation and frequency is None: # noqa: E501 + raise ValueError("Invalid value for `frequency`, must not be `None`") # noqa: E501 + + self._frequency = frequency + + @property + def interval(self): + """Gets the interval of this CalendarEventRecurrence. # noqa: E501 + + How often the event will be scheduled, in units of \"frequency\" # noqa: E501 + + :return: The interval of this CalendarEventRecurrence. # noqa: E501 + :rtype: int + """ + return self._interval + + @interval.setter + def interval(self, interval): + """Sets the interval of this CalendarEventRecurrence. + + How often the event will be scheduled, in units of \"frequency\" # noqa: E501 + + :param interval: The interval of this CalendarEventRecurrence. # noqa: E501 + :type interval: int + """ + if self.local_vars_configuration.client_side_validation and interval is None: # noqa: E501 + raise ValueError("Invalid value for `interval`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + interval is not None and interval < 1): # noqa: E501 + raise ValueError("Invalid value for `interval`, must be a value greater than or equal to `1`") # noqa: E501 + + self._interval = interval + + @property + def timezone(self): + """Gets the timezone of this CalendarEventRecurrence. # noqa: E501 + + The timezone the event will be scheduled in, in Area/Location format # noqa: E501 + + :return: The timezone of this CalendarEventRecurrence. # noqa: E501 + :rtype: str + """ + return self._timezone + + @timezone.setter + def timezone(self, timezone): + """Sets the timezone of this CalendarEventRecurrence. + + The timezone the event will be scheduled in, in Area/Location format # noqa: E501 + + :param timezone: The timezone of this CalendarEventRecurrence. # noqa: E501 + :type timezone: str + """ + if self.local_vars_configuration.client_side_validation and timezone is None: # noqa: E501 + raise ValueError("Invalid value for `timezone`, must not be `None`") # noqa: E501 + + self._timezone = timezone + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CalendarEventRecurrence): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, CalendarEventRecurrence): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/calendar_event_recurrence_end.py b/vrchatapi/models/calendar_event_recurrence_end.py new file mode 100644 index 00000000..c6fa34c5 --- /dev/null +++ b/vrchatapi/models/calendar_event_recurrence_end.py @@ -0,0 +1,191 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.7 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class CalendarEventRecurrenceEnd(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'count': 'int', + 'date': 'str', + 'type': 'CalendarEventRecurrenceEndType' + } + + attribute_map = { + 'count': 'count', + 'date': 'date', + 'type': 'type' + } + + def __init__(self, count=None, date=None, type=None, local_vars_configuration=None): # noqa: E501 + """CalendarEventRecurrenceEnd - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._count = None + self._date = None + self._type = None + self.discriminator = None + + if count is not None: + self.count = count + if date is not None: + self.date = date + self.type = type + + @property + def count(self): + """Gets the count of this CalendarEventRecurrenceEnd. # noqa: E501 + + Required for \"afterOccurrences\" - The number of times the event will be scheduled before it stops being scheduled # noqa: E501 + + :return: The count of this CalendarEventRecurrenceEnd. # noqa: E501 + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """Sets the count of this CalendarEventRecurrenceEnd. + + Required for \"afterOccurrences\" - The number of times the event will be scheduled before it stops being scheduled # noqa: E501 + + :param count: The count of this CalendarEventRecurrenceEnd. # noqa: E501 + :type count: int + """ + if (self.local_vars_configuration.client_side_validation and + count is not None and count < 1): # noqa: E501 + raise ValueError("Invalid value for `count`, must be a value greater than or equal to `1`") # noqa: E501 + + self._count = count + + @property + def date(self): + """Gets the date of this CalendarEventRecurrenceEnd. # noqa: E501 + + Required for \"afterDate\" - The date and time after which the event will stop being scheduled, **without timezone or offset** # noqa: E501 + + :return: The date of this CalendarEventRecurrenceEnd. # noqa: E501 + :rtype: str + """ + return self._date + + @date.setter + def date(self, date): + """Sets the date of this CalendarEventRecurrenceEnd. + + Required for \"afterDate\" - The date and time after which the event will stop being scheduled, **without timezone or offset** # noqa: E501 + + :param date: The date of this CalendarEventRecurrenceEnd. # noqa: E501 + :type date: str + """ + + self._date = date + + @property + def type(self): + """Gets the type of this CalendarEventRecurrenceEnd. # noqa: E501 + + + :return: The type of this CalendarEventRecurrenceEnd. # noqa: E501 + :rtype: CalendarEventRecurrenceEndType + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this CalendarEventRecurrenceEnd. + + + :param type: The type of this CalendarEventRecurrenceEnd. # noqa: E501 + :type type: CalendarEventRecurrenceEndType + """ + if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501 + raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 + + self._type = type + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CalendarEventRecurrenceEnd): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, CalendarEventRecurrenceEnd): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/calendar_event_recurrence_end_type.py b/vrchatapi/models/calendar_event_recurrence_end_type.py new file mode 100644 index 00000000..26402a85 --- /dev/null +++ b/vrchatapi/models/calendar_event_recurrence_end_type.py @@ -0,0 +1,111 @@ +# coding: utf-8 + +""" + VRChat API Documentation + + + The version of the OpenAPI document: 1.20.7 + Contact: vrchatapi.lpv0t@aries.fyi + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from vrchatapi.configuration import Configuration + + +class CalendarEventRecurrenceEndType(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + AFTERDATE = "afterDate" + AFTEROCCURRENCES = "afterOccurrences" + + allowable_values = [AFTERDATE, AFTEROCCURRENCES] # noqa: E501 + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self, local_vars_configuration=None): # noqa: E501 + """CalendarEventRecurrenceEndType - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + self.discriminator = None + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CalendarEventRecurrenceEndType): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, CalendarEventRecurrenceEndType): + return True + + return self.to_dict() != other.to_dict() diff --git a/vrchatapi/models/create_calendar_event_request.py b/vrchatapi/models/create_calendar_event_request.py index 32416280..77b811be 100644 --- a/vrchatapi/models/create_calendar_event_request.py +++ b/vrchatapi/models/create_calendar_event_request.py @@ -47,8 +47,10 @@ class CreateCalendarEventRequest(object): 'image_id': 'str', 'is_draft': 'bool', 'languages': 'list[str]', + 'occurrence_kind': 'CalendarEventOccurrenceKind', 'parent_id': 'str', 'platforms': 'list[CalendarEventPlatform]', + 'recurrence': 'CalendarEventRecurrence', 'role_ids': 'list[str]', 'send_creation_notification': 'bool', 'starts_at': 'datetime', @@ -69,8 +71,10 @@ class CreateCalendarEventRequest(object): 'image_id': 'imageId', 'is_draft': 'isDraft', 'languages': 'languages', + 'occurrence_kind': 'occurrenceKind', 'parent_id': 'parentId', 'platforms': 'platforms', + 'recurrence': 'recurrence', 'role_ids': 'roleIds', 'send_creation_notification': 'sendCreationNotification', 'starts_at': 'startsAt', @@ -79,7 +83,7 @@ class CreateCalendarEventRequest(object): 'uses_instance_overflow': 'usesInstanceOverflow' } - def __init__(self, access_type=None, category=None, close_instance_after_end_minutes=None, description=None, ends_at=None, featured=None, guest_early_join_minutes=None, host_early_join_minutes=None, image_id=None, is_draft=None, languages=None, parent_id=None, platforms=None, role_ids=None, send_creation_notification=None, starts_at=None, tags=None, title=None, uses_instance_overflow=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, access_type=None, category=None, close_instance_after_end_minutes=None, description=None, ends_at=None, featured=None, guest_early_join_minutes=None, host_early_join_minutes=None, image_id=None, is_draft=None, languages=None, occurrence_kind=None, parent_id=None, platforms=None, recurrence=None, role_ids=None, send_creation_notification=None, starts_at=None, tags=None, title=None, uses_instance_overflow=None, local_vars_configuration=None): # noqa: E501 """CreateCalendarEventRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -96,8 +100,10 @@ def __init__(self, access_type=None, category=None, close_instance_after_end_min self._image_id = None self._is_draft = None self._languages = None + self._occurrence_kind = None self._parent_id = None self._platforms = None + self._recurrence = None self._role_ids = None self._send_creation_notification = None self._starts_at = None @@ -124,10 +130,13 @@ def __init__(self, access_type=None, category=None, close_instance_after_end_min self.is_draft = is_draft if languages is not None: self.languages = languages + if occurrence_kind is not None: + self.occurrence_kind = occurrence_kind if parent_id is not None: self.parent_id = parent_id if platforms is not None: self.platforms = platforms + self.recurrence = recurrence if role_ids is not None: self.role_ids = role_ids self.send_creation_notification = send_creation_notification @@ -388,6 +397,27 @@ def languages(self, languages): self._languages = languages + @property + def occurrence_kind(self): + """Gets the occurrence_kind of this CreateCalendarEventRequest. # noqa: E501 + + + :return: The occurrence_kind of this CreateCalendarEventRequest. # noqa: E501 + :rtype: CalendarEventOccurrenceKind + """ + return self._occurrence_kind + + @occurrence_kind.setter + def occurrence_kind(self, occurrence_kind): + """Sets the occurrence_kind of this CreateCalendarEventRequest. + + + :param occurrence_kind: The occurrence_kind of this CreateCalendarEventRequest. # noqa: E501 + :type occurrence_kind: CalendarEventOccurrenceKind + """ + + self._occurrence_kind = occurrence_kind + @property def parent_id(self): """Gets the parent_id of this CreateCalendarEventRequest. # noqa: E501 @@ -430,6 +460,27 @@ def platforms(self, platforms): self._platforms = platforms + @property + def recurrence(self): + """Gets the recurrence of this CreateCalendarEventRequest. # noqa: E501 + + + :return: The recurrence of this CreateCalendarEventRequest. # noqa: E501 + :rtype: CalendarEventRecurrence + """ + return self._recurrence + + @recurrence.setter + def recurrence(self, recurrence): + """Sets the recurrence of this CreateCalendarEventRequest. + + + :param recurrence: The recurrence of this CreateCalendarEventRequest. # noqa: E501 + :type recurrence: CalendarEventRecurrence + """ + + self._recurrence = recurrence + @property def role_ids(self): """Gets the role_ids of this CreateCalendarEventRequest. # noqa: E501 diff --git a/vrchatapi/models/update_calendar_event_request.py b/vrchatapi/models/update_calendar_event_request.py index 8ffa7b60..a8c02bb0 100644 --- a/vrchatapi/models/update_calendar_event_request.py +++ b/vrchatapi/models/update_calendar_event_request.py @@ -48,6 +48,7 @@ class UpdateCalendarEventRequest(object): 'languages': 'list[str]', 'parent_id': 'str', 'platforms': 'list[str]', + 'recurrence': 'CalendarEventRecurrence', 'role_ids': 'list[str]', 'send_creation_notification': 'bool', 'starts_at': 'datetime', @@ -69,6 +70,7 @@ class UpdateCalendarEventRequest(object): 'languages': 'languages', 'parent_id': 'parentId', 'platforms': 'platforms', + 'recurrence': 'recurrence', 'role_ids': 'roleIds', 'send_creation_notification': 'sendCreationNotification', 'starts_at': 'startsAt', @@ -77,7 +79,7 @@ class UpdateCalendarEventRequest(object): 'uses_instance_overflow': 'usesInstanceOverflow' } - def __init__(self, category=None, close_instance_after_end_minutes=None, description=None, ends_at=None, featured=None, guest_early_join_minutes=None, host_early_join_minutes=None, image_id=None, is_draft=None, languages=None, parent_id=None, platforms=None, role_ids=None, send_creation_notification=False, starts_at=None, tags=None, title=None, uses_instance_overflow=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, category=None, close_instance_after_end_minutes=None, description=None, ends_at=None, featured=None, guest_early_join_minutes=None, host_early_join_minutes=None, image_id=None, is_draft=None, languages=None, parent_id=None, platforms=None, recurrence=None, role_ids=None, send_creation_notification=False, starts_at=None, tags=None, title=None, uses_instance_overflow=None, local_vars_configuration=None): # noqa: E501 """UpdateCalendarEventRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -95,6 +97,7 @@ def __init__(self, category=None, close_instance_after_end_minutes=None, descrip self._languages = None self._parent_id = None self._platforms = None + self._recurrence = None self._role_ids = None self._send_creation_notification = None self._starts_at = None @@ -127,6 +130,7 @@ def __init__(self, category=None, close_instance_after_end_minutes=None, descrip self.parent_id = parent_id if platforms is not None: self.platforms = platforms + self.recurrence = recurrence if role_ids is not None: self.role_ids = role_ids if send_creation_notification is not None: @@ -397,6 +401,27 @@ def platforms(self, platforms): self._platforms = platforms + @property + def recurrence(self): + """Gets the recurrence of this UpdateCalendarEventRequest. # noqa: E501 + + + :return: The recurrence of this UpdateCalendarEventRequest. # noqa: E501 + :rtype: CalendarEventRecurrence + """ + return self._recurrence + + @recurrence.setter + def recurrence(self, recurrence): + """Sets the recurrence of this UpdateCalendarEventRequest. + + + :param recurrence: The recurrence of this UpdateCalendarEventRequest. # noqa: E501 + :type recurrence: CalendarEventRecurrence + """ + + self._recurrence = recurrence + @property def role_ids(self): """Gets the role_ids of this UpdateCalendarEventRequest. # noqa: E501